577 lines
27 KiB
TypeScript
577 lines
27 KiB
TypeScript
|
import * as React_2 from 'react';
|
||
|
import type { Theme } from '@fluentui/react-theme';
|
||
|
|
||
|
declare type AnnounceContextValue = {
|
||
|
announce: (message: string, options?: AnnounceOptions) => void;
|
||
|
};
|
||
|
export { AnnounceContextValue }
|
||
|
export { AnnounceContextValue as AnnounceContextValue_unstable }
|
||
|
|
||
|
/**
|
||
|
* Defines options for a message to be announced.
|
||
|
*/
|
||
|
export declare type AnnounceOptions = {
|
||
|
alert?: boolean;
|
||
|
/**
|
||
|
* A unique identifier for the message. If a message with the same id is already announced, it will be replaced.
|
||
|
*/
|
||
|
batchId?: string;
|
||
|
/**
|
||
|
* Indicates that the message announcement can be interrupted by another message and will be announced only
|
||
|
* user is idle.
|
||
|
*/
|
||
|
polite?: boolean;
|
||
|
/** Defines the priority of the message. Higher priority messages will be announced first. */
|
||
|
priority?: number;
|
||
|
};
|
||
|
|
||
|
declare const AnnounceProvider: React_2.Provider<AnnounceContextValue | undefined>;
|
||
|
export { AnnounceProvider }
|
||
|
export { AnnounceProvider as AnnounceProvider_unstable }
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare type BackgroundAppearanceContextValue = 'inverted' | undefined;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const BackgroundAppearanceProvider: React_2.Provider<BackgroundAppearanceContextValue>;
|
||
|
|
||
|
declare type CustomStyleHook = (state: unknown) => void;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const CustomStyleHooksContext_unstable: React_2.Context<Partial<{
|
||
|
useAccordionHeaderStyles_unstable: CustomStyleHook;
|
||
|
useAccordionItemStyles_unstable: CustomStyleHook;
|
||
|
useAccordionPanelStyles_unstable: CustomStyleHook;
|
||
|
useAccordionStyles_unstable: CustomStyleHook;
|
||
|
useAvatarStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupItemStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
|
||
|
useBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCounterBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCardHeaderStyles_unstable: CustomStyleHook;
|
||
|
useCardStyles_unstable: CustomStyleHook;
|
||
|
useCardFooterStyles_unstable: CustomStyleHook;
|
||
|
useCardPreviewStyles_unstable: CustomStyleHook;
|
||
|
usePresenceBadgeStyles_unstable: CustomStyleHook;
|
||
|
useButtonStyles_unstable: CustomStyleHook;
|
||
|
useCompoundButtonStyles_unstable: CustomStyleHook;
|
||
|
useMenuButtonStyles_unstable: CustomStyleHook;
|
||
|
useSplitButtonStyles_unstable: CustomStyleHook;
|
||
|
useToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useComboboxStyles_unstable: CustomStyleHook;
|
||
|
useDropdownStyles_unstable: CustomStyleHook;
|
||
|
useListboxStyles_unstable: CustomStyleHook;
|
||
|
useListStyles_unstable: CustomStyleHook;
|
||
|
useListItemStyles_unstable: CustomStyleHook;
|
||
|
useListItemButtonStyles_unstable: CustomStyleHook;
|
||
|
useOptionStyles_unstable: CustomStyleHook;
|
||
|
useOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useDividerStyles_unstable: CustomStyleHook;
|
||
|
useInputStyles_unstable: CustomStyleHook;
|
||
|
useImageStyles_unstable: CustomStyleHook;
|
||
|
useLabelStyles_unstable: CustomStyleHook;
|
||
|
useLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuDividerStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuListStyles_unstable: CustomStyleHook;
|
||
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
||
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
||
|
usePersonaStyles_unstable: CustomStyleHook;
|
||
|
usePopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useRadioGroupStyles_unstable: CustomStyleHook;
|
||
|
useRadioStyles_unstable: CustomStyleHook;
|
||
|
useSelectStyles_unstable: CustomStyleHook;
|
||
|
useSliderStyles_unstable: CustomStyleHook;
|
||
|
useSpinButtonStyles_unstable: CustomStyleHook;
|
||
|
useSpinnerStyles_unstable: CustomStyleHook;
|
||
|
useSwitchStyles_unstable: CustomStyleHook;
|
||
|
useTabStyles_unstable: CustomStyleHook;
|
||
|
useTabListStyles_unstable: CustomStyleHook;
|
||
|
useTextStyles_unstable: CustomStyleHook;
|
||
|
useTextareaStyles_unstable: CustomStyleHook;
|
||
|
useTooltipStyles_unstable: CustomStyleHook;
|
||
|
useDialogTitleStyles_unstable: CustomStyleHook;
|
||
|
useDialogBodyStyles_unstable: CustomStyleHook;
|
||
|
useDialogActionsStyles_unstable: CustomStyleHook;
|
||
|
useDialogSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useDialogContentStyles_unstable: CustomStyleHook;
|
||
|
useProgressBarStyles_unstable: CustomStyleHook;
|
||
|
useToolbarButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarDividerStyles_unstable: CustomStyleHook;
|
||
|
useToolbarStyles_unstable: CustomStyleHook;
|
||
|
useTableCellStyles_unstable: CustomStyleHook;
|
||
|
useTableRowStyles_unstable: CustomStyleHook;
|
||
|
useTableBodyStyles_unstable: CustomStyleHook;
|
||
|
useTableStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useTableResizeHandleStyles_unstable: CustomStyleHook;
|
||
|
useTableSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useTableCellActionsStyles_unstable: CustomStyleHook;
|
||
|
useTableCellLayoutStyles_unstable: CustomStyleHook;
|
||
|
useDataGridCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridRowStyles_unstable: CustomStyleHook;
|
||
|
useDataGridBodyStyles_unstable: CustomStyleHook;
|
||
|
useDataGridStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useDrawerStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
|
||
|
useDrawerInlineStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
|
||
|
useDrawerOverlayStyles_unstable: CustomStyleHook;
|
||
|
useInlineDrawerStyles_unstable: CustomStyleHook;
|
||
|
useOverlayDrawerStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
|
||
|
useDrawerBodyStyles_unstable: CustomStyleHook;
|
||
|
useDrawerFooterStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
|
||
|
useTagStyles_unstable: CustomStyleHook;
|
||
|
useTagGroupStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbItemStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarBodyStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarTitleStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarActionsStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToasterStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
|
||
|
useTeachingPopoverStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
|
||
|
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
|
||
|
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
|
||
|
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
|
||
|
useTimePickerCompatStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerInputStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerButtonStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerControlStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerGroupStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerListStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useColorSwatchStyles_unstable: CustomStyleHook;
|
||
|
useImageSwatchStyles_unstable: CustomStyleHook;
|
||
|
useEmptySwatchStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerRowStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerStyles_unstable: CustomStyleHook;
|
||
|
}> | undefined>;
|
||
|
|
||
|
export declare type CustomStyleHooksContextValue_unstable = Partial<{
|
||
|
useAccordionHeaderStyles_unstable: CustomStyleHook;
|
||
|
useAccordionItemStyles_unstable: CustomStyleHook;
|
||
|
useAccordionPanelStyles_unstable: CustomStyleHook;
|
||
|
useAccordionStyles_unstable: CustomStyleHook;
|
||
|
useAvatarStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupItemStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
|
||
|
useBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCounterBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCardHeaderStyles_unstable: CustomStyleHook;
|
||
|
useCardStyles_unstable: CustomStyleHook;
|
||
|
useCardFooterStyles_unstable: CustomStyleHook;
|
||
|
useCardPreviewStyles_unstable: CustomStyleHook;
|
||
|
usePresenceBadgeStyles_unstable: CustomStyleHook;
|
||
|
useButtonStyles_unstable: CustomStyleHook;
|
||
|
useCompoundButtonStyles_unstable: CustomStyleHook;
|
||
|
useMenuButtonStyles_unstable: CustomStyleHook;
|
||
|
useSplitButtonStyles_unstable: CustomStyleHook;
|
||
|
useToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useComboboxStyles_unstable: CustomStyleHook;
|
||
|
useDropdownStyles_unstable: CustomStyleHook;
|
||
|
useListboxStyles_unstable: CustomStyleHook;
|
||
|
useListStyles_unstable: CustomStyleHook;
|
||
|
useListItemStyles_unstable: CustomStyleHook;
|
||
|
useListItemButtonStyles_unstable: CustomStyleHook;
|
||
|
useOptionStyles_unstable: CustomStyleHook;
|
||
|
useOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useDividerStyles_unstable: CustomStyleHook;
|
||
|
useInputStyles_unstable: CustomStyleHook;
|
||
|
useImageStyles_unstable: CustomStyleHook;
|
||
|
useLabelStyles_unstable: CustomStyleHook;
|
||
|
useLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuDividerStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuListStyles_unstable: CustomStyleHook;
|
||
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
||
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
||
|
usePersonaStyles_unstable: CustomStyleHook;
|
||
|
usePopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useRadioGroupStyles_unstable: CustomStyleHook;
|
||
|
useRadioStyles_unstable: CustomStyleHook;
|
||
|
useSelectStyles_unstable: CustomStyleHook;
|
||
|
useSliderStyles_unstable: CustomStyleHook;
|
||
|
useSpinButtonStyles_unstable: CustomStyleHook;
|
||
|
useSpinnerStyles_unstable: CustomStyleHook;
|
||
|
useSwitchStyles_unstable: CustomStyleHook;
|
||
|
useTabStyles_unstable: CustomStyleHook;
|
||
|
useTabListStyles_unstable: CustomStyleHook;
|
||
|
useTextStyles_unstable: CustomStyleHook;
|
||
|
useTextareaStyles_unstable: CustomStyleHook;
|
||
|
useTooltipStyles_unstable: CustomStyleHook;
|
||
|
useDialogTitleStyles_unstable: CustomStyleHook;
|
||
|
useDialogBodyStyles_unstable: CustomStyleHook;
|
||
|
useDialogActionsStyles_unstable: CustomStyleHook;
|
||
|
useDialogSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useDialogContentStyles_unstable: CustomStyleHook;
|
||
|
useProgressBarStyles_unstable: CustomStyleHook;
|
||
|
useToolbarButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarDividerStyles_unstable: CustomStyleHook;
|
||
|
useToolbarStyles_unstable: CustomStyleHook;
|
||
|
useTableCellStyles_unstable: CustomStyleHook;
|
||
|
useTableRowStyles_unstable: CustomStyleHook;
|
||
|
useTableBodyStyles_unstable: CustomStyleHook;
|
||
|
useTableStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useTableResizeHandleStyles_unstable: CustomStyleHook;
|
||
|
useTableSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useTableCellActionsStyles_unstable: CustomStyleHook;
|
||
|
useTableCellLayoutStyles_unstable: CustomStyleHook;
|
||
|
useDataGridCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridRowStyles_unstable: CustomStyleHook;
|
||
|
useDataGridBodyStyles_unstable: CustomStyleHook;
|
||
|
useDataGridStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useDrawerStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
|
||
|
useDrawerInlineStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
|
||
|
useDrawerOverlayStyles_unstable: CustomStyleHook;
|
||
|
useInlineDrawerStyles_unstable: CustomStyleHook;
|
||
|
useOverlayDrawerStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
|
||
|
useDrawerBodyStyles_unstable: CustomStyleHook;
|
||
|
useDrawerFooterStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
|
||
|
useTagStyles_unstable: CustomStyleHook;
|
||
|
useTagGroupStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbItemStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarBodyStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarTitleStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarActionsStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToasterStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
|
||
|
useTeachingPopoverStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
|
||
|
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
|
||
|
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
|
||
|
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
|
||
|
useTimePickerCompatStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerInputStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerButtonStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerControlStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerGroupStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerListStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useColorSwatchStyles_unstable: CustomStyleHook;
|
||
|
useImageSwatchStyles_unstable: CustomStyleHook;
|
||
|
useEmptySwatchStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerRowStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerStyles_unstable: CustomStyleHook;
|
||
|
}>;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const CustomStyleHooksProvider_unstable: React_2.Provider<Partial<{
|
||
|
useAccordionHeaderStyles_unstable: CustomStyleHook;
|
||
|
useAccordionItemStyles_unstable: CustomStyleHook;
|
||
|
useAccordionPanelStyles_unstable: CustomStyleHook;
|
||
|
useAccordionStyles_unstable: CustomStyleHook;
|
||
|
useAvatarStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupItemStyles_unstable: CustomStyleHook;
|
||
|
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
|
||
|
useBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCounterBadgeStyles_unstable: CustomStyleHook;
|
||
|
useCardHeaderStyles_unstable: CustomStyleHook;
|
||
|
useCardStyles_unstable: CustomStyleHook;
|
||
|
useCardFooterStyles_unstable: CustomStyleHook;
|
||
|
useCardPreviewStyles_unstable: CustomStyleHook;
|
||
|
usePresenceBadgeStyles_unstable: CustomStyleHook;
|
||
|
useButtonStyles_unstable: CustomStyleHook;
|
||
|
useCompoundButtonStyles_unstable: CustomStyleHook;
|
||
|
useMenuButtonStyles_unstable: CustomStyleHook;
|
||
|
useSplitButtonStyles_unstable: CustomStyleHook;
|
||
|
useToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useComboboxStyles_unstable: CustomStyleHook;
|
||
|
useDropdownStyles_unstable: CustomStyleHook;
|
||
|
useListboxStyles_unstable: CustomStyleHook;
|
||
|
useListStyles_unstable: CustomStyleHook;
|
||
|
useListItemStyles_unstable: CustomStyleHook;
|
||
|
useListItemButtonStyles_unstable: CustomStyleHook;
|
||
|
useOptionStyles_unstable: CustomStyleHook;
|
||
|
useOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useDividerStyles_unstable: CustomStyleHook;
|
||
|
useInputStyles_unstable: CustomStyleHook;
|
||
|
useImageStyles_unstable: CustomStyleHook;
|
||
|
useLabelStyles_unstable: CustomStyleHook;
|
||
|
useLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuDividerStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
|
||
|
useMenuGroupStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemStyles_unstable: CustomStyleHook;
|
||
|
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
||
|
useMenuListStyles_unstable: CustomStyleHook;
|
||
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
||
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
||
|
usePersonaStyles_unstable: CustomStyleHook;
|
||
|
usePopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useRadioGroupStyles_unstable: CustomStyleHook;
|
||
|
useRadioStyles_unstable: CustomStyleHook;
|
||
|
useSelectStyles_unstable: CustomStyleHook;
|
||
|
useSliderStyles_unstable: CustomStyleHook;
|
||
|
useSpinButtonStyles_unstable: CustomStyleHook;
|
||
|
useSpinnerStyles_unstable: CustomStyleHook;
|
||
|
useSwitchStyles_unstable: CustomStyleHook;
|
||
|
useTabStyles_unstable: CustomStyleHook;
|
||
|
useTabListStyles_unstable: CustomStyleHook;
|
||
|
useTextStyles_unstable: CustomStyleHook;
|
||
|
useTextareaStyles_unstable: CustomStyleHook;
|
||
|
useTooltipStyles_unstable: CustomStyleHook;
|
||
|
useDialogTitleStyles_unstable: CustomStyleHook;
|
||
|
useDialogBodyStyles_unstable: CustomStyleHook;
|
||
|
useDialogActionsStyles_unstable: CustomStyleHook;
|
||
|
useDialogSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useDialogContentStyles_unstable: CustomStyleHook;
|
||
|
useProgressBarStyles_unstable: CustomStyleHook;
|
||
|
useToolbarButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
|
||
|
useToolbarDividerStyles_unstable: CustomStyleHook;
|
||
|
useToolbarStyles_unstable: CustomStyleHook;
|
||
|
useTableCellStyles_unstable: CustomStyleHook;
|
||
|
useTableRowStyles_unstable: CustomStyleHook;
|
||
|
useTableBodyStyles_unstable: CustomStyleHook;
|
||
|
useTableStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderStyles_unstable: CustomStyleHook;
|
||
|
useTableHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useTableResizeHandleStyles_unstable: CustomStyleHook;
|
||
|
useTableSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useTableCellActionsStyles_unstable: CustomStyleHook;
|
||
|
useTableCellLayoutStyles_unstable: CustomStyleHook;
|
||
|
useDataGridCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridRowStyles_unstable: CustomStyleHook;
|
||
|
useDataGridBodyStyles_unstable: CustomStyleHook;
|
||
|
useDataGridStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
|
||
|
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
|
||
|
useDrawerStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
|
||
|
useDrawerInlineStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
|
||
|
useDrawerOverlayStyles_unstable: CustomStyleHook;
|
||
|
useInlineDrawerStyles_unstable: CustomStyleHook;
|
||
|
useOverlayDrawerStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
|
||
|
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
|
||
|
useDrawerBodyStyles_unstable: CustomStyleHook;
|
||
|
useDrawerFooterStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
|
||
|
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
|
||
|
useTagStyles_unstable: CustomStyleHook;
|
||
|
useTagGroupStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbItemStyles_unstable: CustomStyleHook;
|
||
|
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarBodyStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarTitleStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarActionsStyles_unstable: CustomStyleHook;
|
||
|
useMessageBarGroupStyles_unstable: CustomStyleHook;
|
||
|
useToasterStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
|
||
|
useTeachingPopoverStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
|
||
|
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
|
||
|
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
|
||
|
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
|
||
|
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
|
||
|
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
|
||
|
useTimePickerCompatStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerInputStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerButtonStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerControlStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerGroupStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerListStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionStyles_unstable: CustomStyleHook;
|
||
|
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
|
||
|
useColorSwatchStyles_unstable: CustomStyleHook;
|
||
|
useImageSwatchStyles_unstable: CustomStyleHook;
|
||
|
useEmptySwatchStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerRowStyles_unstable: CustomStyleHook;
|
||
|
useSwatchPickerStyles_unstable: CustomStyleHook;
|
||
|
}> | undefined>;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare type OverridesContextValue_unstable = {
|
||
|
inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const OverridesProvider_unstable: React_2.Provider<OverridesContextValue_unstable | undefined>;
|
||
|
|
||
|
declare type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const PortalMountNodeProvider: React_2.Provider<PortalMountNodeContextValue>;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const Provider_unstable: React_2.Provider<ProviderContextValue_unstable>;
|
||
|
|
||
|
export declare type ProviderContextValue_unstable = {
|
||
|
/** Sets the direction of text & generated styles. */
|
||
|
dir: 'ltr' | 'rtl';
|
||
|
/** Provides the document, can be undefined during SSR render. */
|
||
|
targetDocument?: Document;
|
||
|
};
|
||
|
|
||
|
export declare type ThemeClassNameContextValue_unstable = string;
|
||
|
|
||
|
export declare const ThemeClassNameProvider_unstable: React_2.Provider<string>;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const ThemeContext_unstable: React_2.Context<ThemeContextValue_unstable>;
|
||
|
|
||
|
export declare type ThemeContextValue_unstable = Theme | Partial<Theme> | undefined;
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const ThemeProvider_unstable: React_2.Provider<ThemeContextValue_unstable>;
|
||
|
|
||
|
/**
|
||
|
* The context provided by TooltipProvider
|
||
|
*/
|
||
|
export declare type TooltipVisibilityContextValue_unstable = {
|
||
|
/**
|
||
|
* When a tooltip is shown, it sets itself as the visibleTooltip.
|
||
|
* The next tooltip to become visible can use it to hide the previous tooltip immediately.
|
||
|
*/
|
||
|
visibleTooltip?: {
|
||
|
hide: () => void;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
/**
|
||
|
* @internal
|
||
|
*/
|
||
|
export declare const TooltipVisibilityProvider_unstable: React_2.Provider<TooltipVisibilityContextValue_unstable>;
|
||
|
|
||
|
/**
|
||
|
* Returns a function that can be used to announce messages to screen readers.
|
||
|
*/
|
||
|
declare function useAnnounce(): AnnounceContextValue;
|
||
|
export { useAnnounce }
|
||
|
export { useAnnounce as useAnnounce_unstable }
|
||
|
|
||
|
export declare function useBackgroundAppearance(): BackgroundAppearanceContextValue;
|
||
|
|
||
|
/**
|
||
|
* Gets a custom style hook
|
||
|
* @param hook - One of the hook properties in CustomStyleHooksContextValue
|
||
|
* @returns The corresponding hook when defined, otherwise a no-op function.
|
||
|
*/
|
||
|
export declare const useCustomStyleHook_unstable: (hook: keyof CustomStyleHooksContextValue_unstable) => CustomStyleHook;
|
||
|
|
||
|
export declare function useFluent_unstable(): ProviderContextValue_unstable;
|
||
|
|
||
|
export declare function useOverrides_unstable(): OverridesContextValue_unstable;
|
||
|
|
||
|
export declare function usePortalMountNode(): PortalMountNodeContextValue;
|
||
|
|
||
|
/**
|
||
|
* @returns CSS class that applies css variables
|
||
|
*/
|
||
|
export declare function useThemeClassName_unstable(): ThemeClassNameContextValue_unstable;
|
||
|
|
||
|
export declare function useTooltipVisibility_unstable(): TooltipVisibilityContextValue_unstable;
|
||
|
|
||
|
export { }
|