@fluentui/react-shared-contexts 9.74.7-experimental.cli-api.20261006-ccaa611d58.0 → 9.75.0-experimental.css-modules.20261031-810ab07afb.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -6
- package/lib/AnnounceContext/AnnounceContext.js.map +1 -1
- package/lib/AnnounceContext/index.js.map +1 -1
- package/lib/BackgroundAppearanceContext/BackgroundAppearanceContext.js.map +1 -1
- package/lib/BackgroundAppearanceContext/index.js.map +1 -1
- package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js +2 -2
- package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -1
- package/lib/CustomStyleHooksContext/index.js.map +1 -1
- package/lib/OverridesContext/OverridesContext.js.map +1 -1
- package/lib/OverridesContext/index.js.map +1 -1
- package/lib/ProviderContext/ProviderContext.js.map +1 -1
- package/lib/ProviderContext/index.js.map +1 -1
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
- package/lib/ThemeClassNameContext/index.js.map +1 -1
- package/lib/ThemeContext/ThemeContext.js.map +1 -1
- package/lib/ThemeContext/index.js.map +1 -1
- package/lib/TooltipVisibilityContext/TooltipContext.js.map +1 -1
- package/lib/TooltipVisibilityContext/index.js.map +1 -1
- package/lib-commonjs/AnnounceContext/AnnounceContext.cjs +3 -3
- package/lib-commonjs/AnnounceContext/AnnounceContext.cjs.map +1 -1
- package/lib-commonjs/AnnounceContext/index.cjs +3 -3
- package/lib-commonjs/AnnounceContext/index.cjs.map +1 -1
- package/lib-commonjs/BackgroundAppearanceContext/BackgroundAppearanceContext.cjs +4 -4
- package/lib-commonjs/BackgroundAppearanceContext/BackgroundAppearanceContext.cjs.map +1 -1
- package/lib-commonjs/BackgroundAppearanceContext/index.cjs +4 -4
- package/lib-commonjs/BackgroundAppearanceContext/index.cjs.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.cjs +6 -6
- package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.cjs.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext/index.cjs +4 -4
- package/lib-commonjs/CustomStyleHooksContext/index.cjs.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext.cjs +4 -4
- package/lib-commonjs/CustomStyleHooksContext.cjs.map +1 -1
- package/lib-commonjs/OverridesContext/OverridesContext.cjs +4 -4
- package/lib-commonjs/OverridesContext/OverridesContext.cjs.map +1 -1
- package/lib-commonjs/OverridesContext/index.cjs +4 -4
- package/lib-commonjs/OverridesContext/index.cjs.map +1 -1
- package/lib-commonjs/PortalMountNodeContext.cjs +3 -3
- package/lib-commonjs/PortalMountNodeContext.cjs.map +1 -1
- package/lib-commonjs/ProviderContext/ProviderContext.cjs +3 -3
- package/lib-commonjs/ProviderContext/ProviderContext.cjs.map +1 -1
- package/lib-commonjs/ProviderContext/index.cjs +3 -3
- package/lib-commonjs/ProviderContext/index.cjs.map +1 -1
- package/lib-commonjs/ProviderContext.cjs +3 -3
- package/lib-commonjs/ProviderContext.cjs.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.cjs +3 -3
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.cjs.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/index.cjs +3 -3
- package/lib-commonjs/ThemeClassNameContext/index.cjs.map +1 -1
- package/lib-commonjs/ThemeClassNameContext.cjs +3 -3
- package/lib-commonjs/ThemeClassNameContext.cjs.map +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.cjs +3 -3
- package/lib-commonjs/ThemeContext/ThemeContext.cjs.map +1 -1
- package/lib-commonjs/ThemeContext/index.cjs +3 -3
- package/lib-commonjs/ThemeContext/index.cjs.map +1 -1
- package/lib-commonjs/ThemeContext.cjs +3 -3
- package/lib-commonjs/ThemeContext.cjs.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext/TooltipContext.cjs +3 -3
- package/lib-commonjs/TooltipVisibilityContext/TooltipContext.cjs.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext/index.cjs +3 -3
- package/lib-commonjs/TooltipVisibilityContext/index.cjs.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext.cjs +3 -3
- package/lib-commonjs/TooltipVisibilityContext.cjs.map +1 -1
- package/lib-commonjs/index.cjs +22 -22
- package/lib-commonjs/index.cjs.map +1 -1
- package/package.json +4 -7
- package/dist/metadata/api/api-root.json +0 -1
- package/dist/metadata/index.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-shared-contexts
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Sat, 31 Oct 2026 11:08:54 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.26.3..@fluentui/react-shared-contexts_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
9
|
+
Sat, 31 Oct 2026 11:08:54 GMT
|
|
11
10
|
|
|
12
11
|
### Changes
|
|
13
12
|
|
|
14
|
-
- Release 9.
|
|
15
|
-
- Bump @fluentui/react-theme to v9.
|
|
13
|
+
- Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
14
|
+
- Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
15
|
+
|
|
16
|
+
## [9.26.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.26.4)
|
|
17
|
+
|
|
18
|
+
Tue, 22 Sep 2026 11:25:39 GMT
|
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.26.3..@fluentui/react-shared-contexts_v9.26.4)
|
|
20
|
+
|
|
21
|
+
### Patches
|
|
22
|
+
|
|
23
|
+
- chore: mark @types/react peer dependency as optional ([PR #36559](https://github.com/microsoft/fluentui/pull/36559) by martinhochel@microsoft.com)
|
|
16
24
|
|
|
17
25
|
## [9.26.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.26.3)
|
|
18
26
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/AnnounceContext/AnnounceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["React","AnnounceContext","createContext","undefined","AnnounceProvider","Provider","useAnnounce","useContext","announce"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AA2B/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CAAmCC;AAE9E,OAAO,MAAMC,mBAAmBH,gBAAgBI,QAAQ,CAAC;AAEzD;;CAEC,GACD,OAAO,SAASC;QACPN;IAAP,QAAOA,oBAAAA,MAAMO,UAAU,CAACN,8BAAjBD,+BAAAA,oBAAqC;QAAEQ,UAAU,IAAML;IAAU;AAC1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/AnnounceContext/index.ts"],"sourcesContent":["export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext';\nexport { AnnounceProvider, useAnnounce } from './AnnounceContext';\n"],"names":["AnnounceProvider","useAnnounce"],"mappings":"AACA,SAASA,gBAAgB,EAAEC,WAAW,QAAQ,uBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 'brand' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["React","BackgroundAppearanceContext","createContext","undefined","BackgroundAppearanceProvider","Provider","useBackgroundAppearance","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAO/B;;CAEC,GACD,OAAO,MAAMC,8BAA8BD,MAAME,aAAa,CAA+CC,WAAW;AAExH;;CAEC,GACD,OAAO,MAAMC,+BAA+BH,4BAA4BI,QAAQ,CAAC;AAEjF,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/BackgroundAppearanceContext/index.ts"],"sourcesContent":["export type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\nexport {\n BackgroundAppearanceContext,\n BackgroundAppearanceProvider,\n useBackgroundAppearance,\n} from './BackgroundAppearanceContext';\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance"],"mappings":"AACA,SACEA,2BAA2B,EAC3BC,4BAA4B,EAC5BC,uBAAuB,QAClB,mCAAgC"}
|
|
@@ -13,7 +13,7 @@ const noop = ()=>{};
|
|
|
13
13
|
* @param hook - One of the hook properties in CustomStyleHooksContextValue
|
|
14
14
|
* @returns The corresponding hook when defined, otherwise a no-op function.
|
|
15
15
|
*/ export const useCustomStyleHook = (hook)=>{
|
|
16
|
+
var _ref;
|
|
16
17
|
var _React_useContext;
|
|
17
|
-
|
|
18
|
-
return (_React_useContext_hook = (_React_useContext = React.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _React_useContext_hook !== void 0 ? _React_useContext_hook : noop;
|
|
18
|
+
return (_ref = (_React_useContext = React.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _ref !== void 0 ? _ref : noop;
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n/* eslint-disable @typescript-eslint/naming-convention */\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAlphaSliderStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;\n useCarouselButtonStyles_unstable: CustomStyleHook;\n useCarouselCardStyles_unstable: CustomStyleHook;\n useCarouselNavButtonStyles_unstable: CustomStyleHook;\n useCarouselNavContainerStyles_unstable: CustomStyleHook;\n useCarouselNavImageButtonStyles_unstable: CustomStyleHook;\n useCarouselNavStyles_unstable: CustomStyleHook;\n useCarouselSliderStyles_unstable: CustomStyleHook;\n useCarouselStyles_unstable: CustomStyleHook;\n useCarouselViewportStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useColorAreaStyles_unstable: CustomStyleHook;\n useColorPickerStyles_unstable: CustomStyleHook;\n useColorSliderStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useOverlayDrawerSurfaceStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useFieldStyles_unstable: CustomStyleHook;\n useFlatTreeStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useInfoButtonStyles_unstable: CustomStyleHook;\n useInfoLabelStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n /** @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useAppItemStyles_unstable: CustomStyleHook;\n useAppItemStaticStyles_unstable: CustomStyleHook;\n useHamburgerStyles_unstable: CustomStyleHook;\n useNavCategoryItemStyles: CustomStyleHook;\n useNavDividerStyles_unstable: CustomStyleHook;\n useNavDrawerStyles_unstable: CustomStyleHook;\n useNavDrawerBodyStyles_unstable: CustomStyleHook;\n useNavDrawerFooterStyles_unstable: CustomStyleHook;\n useNavDrawerHeaderStyles_unstable: CustomStyleHook;\n useNavItemStyles_unstable: CustomStyleHook;\n useNavSectionHeaderStyles_unstable: CustomStyleHook;\n useNavSubItemStyles_unstable: CustomStyleHook;\n useNavSubItemGroupStyles_unstable: CustomStyleHook;\n useSplitNavItemStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useRatingDisplayStyles_unstable: CustomStyleHook;\n useRatingItemStyles_unstable: CustomStyleHook;\n useRatingStyles_unstable: CustomStyleHook;\n useSearchBoxStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSkeletonItemStyles_unstable: CustomStyleHook;\n useSkeletonStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselCardStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useToastBodyStyles_unstable: CustomStyleHook;\n useToastContainerStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n useToastFooterStyles_unstable: CustomStyleHook;\n useToastStyles_unstable: CustomStyleHook;\n useToastTitleStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useTreeItemLayoutStyles_unstable: CustomStyleHook;\n useTreeItemPersonaLayoutStyles_unstable: CustomStyleHook;\n useTreeItemStyles_unstable: CustomStyleHook;\n useTreeStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewDynamicStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewStyles_unstable: CustomStyleHook;\n useVirtualizerStyles_unstable: CustomStyleHook;\n}>;\n/* eslint-enable */\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["React","CustomStyleHooksContext","createContext","undefined","noop","CustomStyleHooksProvider","Provider","useCustomStyleHook","hook","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAgN/B,iBAAiB,GAEjB;;CAEC,GACD,OAAO,MAAMC,0BAA0BD,MAAME,aAAa,CAA2CC,WAAW;AAEhH,gEAAgE;AAChE,MAAMC,OAAO,KAAO;AAEpB;;CAEC,GACD,OAAO,MAAMC,2BAA2BJ,wBAAwBK,QAAQ,CAAC;AAEzE;;;;CAIC,GACD,OAAO,MAAMC,qBAAqB,CAACC;QAC1BR;QAAAA;IAAP,OAAOA,CAAAA,0BAAAA,oBAAAA,MAAMS,UAAU,CAACR,sCAAjBD,wCAAAA,iBAA2C,CAACQ,KAAK,cAAjDR,oCAAAA,yBAAqDI;AAC9D,EAAE"}
|
|
1
|
+
{"version":3,"sources":["../../src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n/* eslint-disable @typescript-eslint/naming-convention */\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAlphaSliderStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;\n useCarouselButtonStyles_unstable: CustomStyleHook;\n useCarouselCardStyles_unstable: CustomStyleHook;\n useCarouselNavButtonStyles_unstable: CustomStyleHook;\n useCarouselNavContainerStyles_unstable: CustomStyleHook;\n useCarouselNavImageButtonStyles_unstable: CustomStyleHook;\n useCarouselNavStyles_unstable: CustomStyleHook;\n useCarouselSliderStyles_unstable: CustomStyleHook;\n useCarouselStyles_unstable: CustomStyleHook;\n useCarouselViewportStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useColorAreaStyles_unstable: CustomStyleHook;\n useColorPickerStyles_unstable: CustomStyleHook;\n useColorSliderStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useOverlayDrawerSurfaceStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useFieldStyles_unstable: CustomStyleHook;\n useFlatTreeStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useInfoButtonStyles_unstable: CustomStyleHook;\n useInfoLabelStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n /** @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useAppItemStyles_unstable: CustomStyleHook;\n useAppItemStaticStyles_unstable: CustomStyleHook;\n useHamburgerStyles_unstable: CustomStyleHook;\n useNavCategoryItemStyles: CustomStyleHook;\n useNavDividerStyles_unstable: CustomStyleHook;\n useNavDrawerStyles_unstable: CustomStyleHook;\n useNavDrawerBodyStyles_unstable: CustomStyleHook;\n useNavDrawerFooterStyles_unstable: CustomStyleHook;\n useNavDrawerHeaderStyles_unstable: CustomStyleHook;\n useNavItemStyles_unstable: CustomStyleHook;\n useNavSectionHeaderStyles_unstable: CustomStyleHook;\n useNavSubItemStyles_unstable: CustomStyleHook;\n useNavSubItemGroupStyles_unstable: CustomStyleHook;\n useSplitNavItemStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useRatingDisplayStyles_unstable: CustomStyleHook;\n useRatingItemStyles_unstable: CustomStyleHook;\n useRatingStyles_unstable: CustomStyleHook;\n useSearchBoxStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSkeletonItemStyles_unstable: CustomStyleHook;\n useSkeletonStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselCardStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useToastBodyStyles_unstable: CustomStyleHook;\n useToastContainerStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n useToastFooterStyles_unstable: CustomStyleHook;\n useToastStyles_unstable: CustomStyleHook;\n useToastTitleStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useTreeItemLayoutStyles_unstable: CustomStyleHook;\n useTreeItemPersonaLayoutStyles_unstable: CustomStyleHook;\n useTreeItemStyles_unstable: CustomStyleHook;\n useTreeStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewDynamicStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewStyles_unstable: CustomStyleHook;\n useVirtualizerStyles_unstable: CustomStyleHook;\n}>;\n/* eslint-enable */\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["React","CustomStyleHooksContext","createContext","undefined","noop","CustomStyleHooksProvider","Provider","useCustomStyleHook","hook","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAgN/B,iBAAiB,GAEjB;;CAEC,GACD,OAAO,MAAMC,0BAA0BD,MAAME,aAAa,CAA2CC,WAAW;AAEhH,gEAAgE;AAChE,MAAMC,OAAO,KAAO;AAEpB;;CAEC,GACD,OAAO,MAAMC,2BAA2BJ,wBAAwBK,QAAQ,CAAC;AAEzE;;;;CAIC,GACD,OAAO,MAAMC,qBAAqB,CAACC;;QAC1BR;IAAP,gBAAOA,oBAAAA,MAAMS,UAAU,CAACR,sCAAjBD,wCAAAA,iBAA2C,CAACQ,KAAK,uCAAIJ;AAC9D,EAAE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/CustomStyleHooksContext/index.ts"],"sourcesContent":["export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext';\nexport { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext';\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook"],"mappings":"AACA,SAASA,uBAAuB,EAAEC,wBAAwB,EAAEC,kBAAkB,QAAQ,+BAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/OverridesContext/OverridesContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type OverridesContextValue = {\n // No 'underline' as it is not supported by TextArea\n inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';\n};\n\n/**\n * @internal\n */\nexport const OverridesContext = React.createContext<OverridesContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const OverridesProvider = OverridesContext.Provider;\n\nexport function useOverrides(): OverridesContextValue {\n return React.useContext(OverridesContext) ?? {};\n}\n"],"names":["React","OverridesContext","createContext","undefined","OverridesProvider","Provider","useOverrides","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,OAAO,MAAMC,mBAAmBD,MAAME,aAAa,CAAoCC,WAAW;AAElG;;CAEC,GACD,OAAO,MAAMC,oBAAoBH,iBAAiBI,QAAQ,CAAC;AAE3D,OAAO,SAASC;QACPN;IAAP,QAAOA,oBAAAA,MAAMO,UAAU,CAACN,+BAAjBD,+BAAAA,oBAAsC,CAAC;AAChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/OverridesContext/index.ts"],"sourcesContent":["export type { OverridesContextValue } from './OverridesContext';\nexport { OverridesContext, OverridesProvider, useOverrides } from './OverridesContext';\n"],"names":["OverridesContext","OverridesProvider","useOverrides"],"mappings":"AACA,SAASA,gBAAgB,EAAEC,iBAAiB,EAAEC,YAAY,QAAQ,wBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ProviderContext/ProviderContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nexport type ProviderContextValue = {\n /** Sets the direction of text & generated styles. */\n dir: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n};\n\n/**\n * @internal\n */\nconst ProviderContext = React.createContext<ProviderContextValue | undefined>(\n undefined,\n) as React.Context<ProviderContextValue>;\n\nconst providerContextDefaultValue: ProviderContextValue = {\n // eslint-disable-next-line @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr' as const,\n};\n\n/**\n * @internal\n */\nexport const Provider = ProviderContext.Provider;\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext) ?? providerContextDefaultValue;\n}\n"],"names":["React","ProviderContext","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","Provider","useFluent","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,0HAA0H;IAC1HC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAEA;;CAEC,GACD,OAAO,MAAMC,WAAWP,gBAAgBO,QAAQ,CAAC;AAEjD,OAAO,SAASC;QACPT;IAAP,QAAOA,oBAAAA,MAAMU,UAAU,CAACT,8BAAjBD,+BAAAA,oBAAqCI;AAC9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ProviderContext/index.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext';\nexport { Provider, useFluent } from './ProviderContext';\n"],"names":["Provider","useFluent"],"mappings":"AACA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,uBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ThemeClassNameContext/ThemeClassNameContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n *\n * @internal\n */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue | undefined>(\n undefined,\n) as React.Context<ThemeClassNameContextValue>;\n\nconst themeClassNameContextDefaultVaue = '';\n\nexport const ThemeClassNameProvider = ThemeClassNameContext.Provider;\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext) ?? themeClassNameContextDefaultVaue;\n}\n"],"names":["React","ThemeClassNameContext","createContext","undefined","themeClassNameContextDefaultVaue","ThemeClassNameProvider","Provider","useThemeClassName","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAI/B;;;;;;CAMC,GACD,MAAMC,wBAAwBD,MAAME,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAEzC,OAAO,MAAMC,yBAAyBJ,sBAAsBK,QAAQ,CAAC;AAErE;;CAEC,GACD,OAAO,SAASC;QACPP;IAAP,QAAOA,oBAAAA,MAAMQ,UAAU,CAACP,oCAAjBD,+BAAAA,oBAA2CI;AACpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ThemeClassNameContext/index.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"mappings":"AACA,SAASA,sBAAsB,EAAEC,iBAAiB,QAAQ,6BAA0B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ThemeContext/ThemeContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\n/**\n * @internal\n */\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const ThemeProvider = ThemeContext.Provider;\n"],"names":["React","ThemeContext","createContext","undefined","ThemeProvider","Provider"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAK/B;;CAEC,GACD,OAAO,MAAMC,eAAeD,MAAME,aAAa,CAAoBC,WAAW;AAE9E;;CAEC,GACD,OAAO,MAAMC,gBAAgBH,aAAaI,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/ThemeContext/index.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext';\nexport { ThemeContext, ThemeProvider } from './ThemeContext';\n"],"names":["ThemeContext","ThemeProvider"],"mappings":"AACA,SAASA,YAAY,EAAEC,aAAa,QAAQ,oBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/TooltipVisibilityContext/TooltipContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * The context provided by TooltipProvider\n */\nexport type TooltipVisibilityContextValue = {\n /**\n * When a tooltip is shown, it sets itself as the visibleTooltip.\n * The next tooltip to become visible can use it to hide the previous tooltip immediately.\n */\n visibleTooltip?: {\n hide: () => void;\n };\n};\n\n/**\n * Context shared by all of the tooltips in the app\n *\n * @internal\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue | undefined>(\n undefined,\n) as React.Context<TooltipVisibilityContextValue>;\n\nconst tooltipVisibilityContextDefaultValue: TooltipVisibilityContextValue = {};\n\n/**\n * @internal\n */\nexport const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;\n\nexport function useTooltipVisibility(): TooltipVisibilityContextValue {\n return React.useContext(TooltipVisibilityContext) ?? tooltipVisibilityContextDefaultValue;\n}\n"],"names":["React","TooltipVisibilityContext","createContext","undefined","tooltipVisibilityContextDefaultValue","TooltipVisibilityProvider","Provider","useTooltipVisibility","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAe/B;;;;CAIC,GACD,MAAMC,2BAA2BD,MAAME,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAE7E;;CAEC,GACD,OAAO,MAAMC,4BAA4BJ,yBAAyBK,QAAQ,CAAC;AAE3E,OAAO,SAASC;QACPP;IAAP,QAAOA,oBAAAA,MAAMQ,UAAU,CAACP,uCAAjBD,+BAAAA,oBAA8CI;AACvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/TooltipVisibilityContext/index.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipContext';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"mappings":"AACA,SAASA,yBAAyB,EAAEC,oBAAoB,QAAQ,sBAAmB"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
AnnounceProvider
|
|
13
|
+
get AnnounceProvider () {
|
|
14
14
|
return AnnounceProvider;
|
|
15
15
|
},
|
|
16
|
-
useAnnounce
|
|
16
|
+
get useAnnounce () {
|
|
17
17
|
return useAnnounce;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/AnnounceContext/AnnounceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["AnnounceProvider","useAnnounce","AnnounceContext","React","createContext","undefined","Provider","useContext","announce"],"mappings":"AAAA;;;;;;;;;;;;QAkCaA;eAAAA;;QAKGC;eAAAA;;;;iEArCO;AA2BvB;;CAEC,GACD,MAAMC,kBAAkBC,OAAMC,aAAa,CAAmCC;AAEvE,MAAML,mBAAmBE,gBAAgBI,QAAQ;AAKjD,SAASL;QACPE;IAAP,QAAOA,oBAAAA,OAAMI,UAAU,CAACL,8BAAjBC,+BAAAA,oBAAqC;QAAEK,UAAU,IAAMH;IAAU;AAC1E"}
|
|
@@ -5,14 +5,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
AnnounceProvider
|
|
12
|
+
get AnnounceProvider () {
|
|
13
13
|
return _AnnounceContext.AnnounceProvider;
|
|
14
14
|
},
|
|
15
|
-
useAnnounce
|
|
15
|
+
get useAnnounce () {
|
|
16
16
|
return _AnnounceContext.useAnnounce;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/AnnounceContext/index.ts"],"sourcesContent":["export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext';\nexport { AnnounceProvider, useAnnounce } from './AnnounceContext';\n"],"names":["AnnounceProvider","useAnnounce"],"mappings":";;;;;;;;;;;QACSA;eAAAA,iCAAgB;;QAAEC;eAAAA,4BAAW;;;iCAAQ"}
|
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
BackgroundAppearanceContext
|
|
13
|
+
get BackgroundAppearanceContext () {
|
|
14
14
|
return BackgroundAppearanceContext;
|
|
15
15
|
},
|
|
16
|
-
BackgroundAppearanceProvider
|
|
16
|
+
get BackgroundAppearanceProvider () {
|
|
17
17
|
return BackgroundAppearanceProvider;
|
|
18
18
|
},
|
|
19
|
-
useBackgroundAppearance
|
|
19
|
+
get useBackgroundAppearance () {
|
|
20
20
|
return useBackgroundAppearance;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 'brand' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;QAYaA;eAAAA;;QAKAC;eAAAA;;QAEGC;eAAAA;;;;iEAjBO;AAUhB,MAAMF,8BAA8BG,OAAMC,aAAa,CAA+CC;AAKtG,MAAMJ,+BAA+BD,4BAA4BM,QAAQ;AAEzE,SAASJ;IACd,OAAOC,OAAMI,UAAU,CAACP;AAC1B"}
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
BackgroundAppearanceContext
|
|
12
|
+
get BackgroundAppearanceContext () {
|
|
13
13
|
return _BackgroundAppearanceContext.BackgroundAppearanceContext;
|
|
14
14
|
},
|
|
15
|
-
BackgroundAppearanceProvider
|
|
15
|
+
get BackgroundAppearanceProvider () {
|
|
16
16
|
return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
|
|
17
17
|
},
|
|
18
|
-
useBackgroundAppearance
|
|
18
|
+
get useBackgroundAppearance () {
|
|
19
19
|
return _BackgroundAppearanceContext.useBackgroundAppearance;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/BackgroundAppearanceContext/index.ts"],"sourcesContent":["export type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\nexport {\n BackgroundAppearanceContext,\n BackgroundAppearanceProvider,\n useBackgroundAppearance,\n} from './BackgroundAppearanceContext';\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance"],"mappings":";;;;;;;;;;;QAEEA;eAAAA,wDAA2B;;QAC3BC;eAAAA,yDAA4B;;QAC5BC;eAAAA,oDAAuB;;;6CAClB"}
|
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
CustomStyleHooksContext
|
|
13
|
+
get CustomStyleHooksContext () {
|
|
14
14
|
return CustomStyleHooksContext;
|
|
15
15
|
},
|
|
16
|
-
CustomStyleHooksProvider
|
|
16
|
+
get CustomStyleHooksProvider () {
|
|
17
17
|
return CustomStyleHooksProvider;
|
|
18
18
|
},
|
|
19
|
-
useCustomStyleHook
|
|
19
|
+
get useCustomStyleHook () {
|
|
20
20
|
return useCustomStyleHook;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -27,7 +27,7 @@ const CustomStyleHooksContext = _react.createContext(undefined);
|
|
|
27
27
|
const noop = ()=>{};
|
|
28
28
|
const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
|
|
29
29
|
const useCustomStyleHook = (hook)=>{
|
|
30
|
+
var _ref;
|
|
30
31
|
var _React_useContext;
|
|
31
|
-
|
|
32
|
-
return (_React_useContext_hook = (_React_useContext = _react.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _React_useContext_hook !== void 0 ? _React_useContext_hook : noop;
|
|
32
|
+
return (_ref = (_React_useContext = _react.useContext(CustomStyleHooksContext)) === null || _React_useContext === void 0 ? void 0 : _React_useContext[hook]) !== null && _ref !== void 0 ? _ref : noop;
|
|
33
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n/* eslint-disable @typescript-eslint/naming-convention */\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAlphaSliderStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;\n useCarouselButtonStyles_unstable: CustomStyleHook;\n useCarouselCardStyles_unstable: CustomStyleHook;\n useCarouselNavButtonStyles_unstable: CustomStyleHook;\n useCarouselNavContainerStyles_unstable: CustomStyleHook;\n useCarouselNavImageButtonStyles_unstable: CustomStyleHook;\n useCarouselNavStyles_unstable: CustomStyleHook;\n useCarouselSliderStyles_unstable: CustomStyleHook;\n useCarouselStyles_unstable: CustomStyleHook;\n useCarouselViewportStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useColorAreaStyles_unstable: CustomStyleHook;\n useColorPickerStyles_unstable: CustomStyleHook;\n useColorSliderStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useOverlayDrawerSurfaceStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useFieldStyles_unstable: CustomStyleHook;\n useFlatTreeStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useInfoButtonStyles_unstable: CustomStyleHook;\n useInfoLabelStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n /** @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useAppItemStyles_unstable: CustomStyleHook;\n useAppItemStaticStyles_unstable: CustomStyleHook;\n useHamburgerStyles_unstable: CustomStyleHook;\n useNavCategoryItemStyles: CustomStyleHook;\n useNavDividerStyles_unstable: CustomStyleHook;\n useNavDrawerStyles_unstable: CustomStyleHook;\n useNavDrawerBodyStyles_unstable: CustomStyleHook;\n useNavDrawerFooterStyles_unstable: CustomStyleHook;\n useNavDrawerHeaderStyles_unstable: CustomStyleHook;\n useNavItemStyles_unstable: CustomStyleHook;\n useNavSectionHeaderStyles_unstable: CustomStyleHook;\n useNavSubItemStyles_unstable: CustomStyleHook;\n useNavSubItemGroupStyles_unstable: CustomStyleHook;\n useSplitNavItemStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useRatingDisplayStyles_unstable: CustomStyleHook;\n useRatingItemStyles_unstable: CustomStyleHook;\n useRatingStyles_unstable: CustomStyleHook;\n useSearchBoxStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSkeletonItemStyles_unstable: CustomStyleHook;\n useSkeletonStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselCardStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useToastBodyStyles_unstable: CustomStyleHook;\n useToastContainerStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n useToastFooterStyles_unstable: CustomStyleHook;\n useToastStyles_unstable: CustomStyleHook;\n useToastTitleStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useTreeItemLayoutStyles_unstable: CustomStyleHook;\n useTreeItemPersonaLayoutStyles_unstable: CustomStyleHook;\n useTreeItemStyles_unstable: CustomStyleHook;\n useTreeStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewDynamicStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewStyles_unstable: CustomStyleHook;\n useVirtualizerStyles_unstable: CustomStyleHook;\n}>;\n/* eslint-enable */\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook","React","createContext","undefined","noop","Provider","hook","useContext"],"mappings":"AAAA;;;;;;;;;;;;IAuNaA,uBAAuB;eAAvBA;;IAQAC,wBAAwB;eAAxBA;;IAOAC,kBAAkB;eAAlBA;;;;iEApOU;AAqNhB,MAAMF,0BAA0BG,OAAMC,aAAa,CAA2CC;AAErG,gEAAgE;AAChE,MAAMC,OAAO,KAAO;AAKb,MAAML,2BAA2BD,wBAAwBO,QAAQ;AAOjE,MAAML,qBAAqB,CAACM;QAC1BL;QAAAA;IAAP,OAAOA,CAAAA,0BAAAA,oBAAAA,OAAMM,UAAU,CAACT,sCAAjBG,wCAAAA,iBAA2C,CAACK,KAAK,cAAjDL,oCAAAA,yBAAqDG;AAC9D"}
|
|
1
|
+
{"version":3,"sources":["../../src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n/* eslint-disable @typescript-eslint/naming-convention */\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAlphaSliderStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;\n useCarouselButtonStyles_unstable: CustomStyleHook;\n useCarouselCardStyles_unstable: CustomStyleHook;\n useCarouselNavButtonStyles_unstable: CustomStyleHook;\n useCarouselNavContainerStyles_unstable: CustomStyleHook;\n useCarouselNavImageButtonStyles_unstable: CustomStyleHook;\n useCarouselNavStyles_unstable: CustomStyleHook;\n useCarouselSliderStyles_unstable: CustomStyleHook;\n useCarouselStyles_unstable: CustomStyleHook;\n useCarouselViewportStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useColorAreaStyles_unstable: CustomStyleHook;\n useColorPickerStyles_unstable: CustomStyleHook;\n useColorSliderStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useOverlayDrawerSurfaceStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useFieldStyles_unstable: CustomStyleHook;\n useFlatTreeStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useInfoButtonStyles_unstable: CustomStyleHook;\n useInfoLabelStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n /** @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useAppItemStyles_unstable: CustomStyleHook;\n useAppItemStaticStyles_unstable: CustomStyleHook;\n useHamburgerStyles_unstable: CustomStyleHook;\n useNavCategoryItemStyles: CustomStyleHook;\n useNavDividerStyles_unstable: CustomStyleHook;\n useNavDrawerStyles_unstable: CustomStyleHook;\n useNavDrawerBodyStyles_unstable: CustomStyleHook;\n useNavDrawerFooterStyles_unstable: CustomStyleHook;\n useNavDrawerHeaderStyles_unstable: CustomStyleHook;\n useNavItemStyles_unstable: CustomStyleHook;\n useNavSectionHeaderStyles_unstable: CustomStyleHook;\n useNavSubItemStyles_unstable: CustomStyleHook;\n useNavSubItemGroupStyles_unstable: CustomStyleHook;\n useSplitNavItemStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useRatingDisplayStyles_unstable: CustomStyleHook;\n useRatingItemStyles_unstable: CustomStyleHook;\n useRatingStyles_unstable: CustomStyleHook;\n useSearchBoxStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSkeletonItemStyles_unstable: CustomStyleHook;\n useSkeletonStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselCardStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselNavStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverFooterStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useToastBodyStyles_unstable: CustomStyleHook;\n useToastContainerStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n useToastFooterStyles_unstable: CustomStyleHook;\n useToastStyles_unstable: CustomStyleHook;\n useToastTitleStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useTreeItemLayoutStyles_unstable: CustomStyleHook;\n useTreeItemPersonaLayoutStyles_unstable: CustomStyleHook;\n useTreeItemStyles_unstable: CustomStyleHook;\n useTreeStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewDynamicStyles_unstable: CustomStyleHook;\n useVirtualizerScrollViewStyles_unstable: CustomStyleHook;\n useVirtualizerStyles_unstable: CustomStyleHook;\n}>;\n/* eslint-enable */\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\n// eslint-disable-next-line @typescript-eslint/no-empty-function\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook","React","createContext","undefined","noop","Provider","hook","useContext"],"mappings":"AAAA;;;;;;;;;;;;QAuNaA;eAAAA;;QAQAC;eAAAA;;QAOAC;eAAAA;;;;iEApOU;AAqNhB,MAAMF,0BAA0BG,OAAMC,aAAa,CAA2CC;AAErG,gEAAgE;AAChE,MAAMC,OAAO,KAAO;AAKb,MAAML,2BAA2BD,wBAAwBO,QAAQ;AAOjE,MAAML,qBAAqB,CAACM;;QAC1BL;IAAP,gBAAOA,oBAAAA,OAAMM,UAAU,CAACT,sCAAjBG,wCAAAA,iBAA2C,CAACK,KAAK,uCAAIF;AAC9D"}
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
CustomStyleHooksContext
|
|
12
|
+
get CustomStyleHooksContext () {
|
|
13
13
|
return _CustomStyleHooksContext.CustomStyleHooksContext;
|
|
14
14
|
},
|
|
15
|
-
CustomStyleHooksProvider
|
|
15
|
+
get CustomStyleHooksProvider () {
|
|
16
16
|
return _CustomStyleHooksContext.CustomStyleHooksProvider;
|
|
17
17
|
},
|
|
18
|
-
useCustomStyleHook
|
|
18
|
+
get useCustomStyleHook () {
|
|
19
19
|
return _CustomStyleHooksContext.useCustomStyleHook;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/CustomStyleHooksContext/index.ts"],"sourcesContent":["export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext';\nexport { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext';\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook"],"mappings":";;;;;;;;;;;QACSA;eAAAA,gDAAuB;;QAAEC;eAAAA,iDAAwB;;QAAEC;eAAAA,2CAAkB;;;yCAAQ"}
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
CustomStyleHooksContext
|
|
12
|
+
get CustomStyleHooksContext () {
|
|
13
13
|
return _index.CustomStyleHooksContext;
|
|
14
14
|
},
|
|
15
|
-
CustomStyleHooksProvider
|
|
15
|
+
get CustomStyleHooksProvider () {
|
|
16
16
|
return _index.CustomStyleHooksProvider;
|
|
17
17
|
},
|
|
18
|
-
useCustomStyleHook
|
|
18
|
+
get useCustomStyleHook () {
|
|
19
19
|
return _index.useCustomStyleHook;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/CustomStyleHooksContext.ts"],"sourcesContent":["export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext/index';\nexport { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext/index';\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook"],"mappings":";;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/CustomStyleHooksContext.ts"],"sourcesContent":["export type { CustomStyleHooksContextValue } from './CustomStyleHooksContext/index';\nexport { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext/index';\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook"],"mappings":";;;;;;;;;;;QACSA;eAAAA,8BAAuB;;QAAEC;eAAAA,+BAAwB;;QAAEC;eAAAA,yBAAkB;;;uBAAQ"}
|
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
OverridesContext
|
|
13
|
+
get OverridesContext () {
|
|
14
14
|
return OverridesContext;
|
|
15
15
|
},
|
|
16
|
-
OverridesProvider
|
|
16
|
+
get OverridesProvider () {
|
|
17
17
|
return OverridesProvider;
|
|
18
18
|
},
|
|
19
|
-
useOverrides
|
|
19
|
+
get useOverrides () {
|
|
20
20
|
return useOverrides;
|
|
21
21
|
}
|
|
22
22
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/OverridesContext/OverridesContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\n/**\n * @internal\n */\nexport type OverridesContextValue = {\n // No 'underline' as it is not supported by TextArea\n inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';\n};\n\n/**\n * @internal\n */\nexport const OverridesContext = React.createContext<OverridesContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const OverridesProvider = OverridesContext.Provider;\n\nexport function useOverrides(): OverridesContextValue {\n return React.useContext(OverridesContext) ?? {};\n}\n"],"names":["OverridesContext","OverridesProvider","useOverrides","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;QAeaA;eAAAA;;QAKAC;eAAAA;;QAEGC;eAAAA;;;;iEApBO;AAahB,MAAMF,mBAAmBG,OAAMC,aAAa,CAAoCC;AAKhF,MAAMJ,oBAAoBD,iBAAiBM,QAAQ;AAEnD,SAASJ;QACPC;IAAP,QAAOA,oBAAAA,OAAMI,UAAU,CAACP,+BAAjBG,+BAAAA,oBAAsC,CAAC;AAChD"}
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
function _export(target, all) {
|
|
6
6
|
for(var name in all)Object.defineProperty(target, name, {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: all
|
|
8
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
_export(exports, {
|
|
12
|
-
OverridesContext
|
|
12
|
+
get OverridesContext () {
|
|
13
13
|
return _OverridesContext.OverridesContext;
|
|
14
14
|
},
|
|
15
|
-
OverridesProvider
|
|
15
|
+
get OverridesProvider () {
|
|
16
16
|
return _OverridesContext.OverridesProvider;
|
|
17
17
|
},
|
|
18
|
-
useOverrides
|
|
18
|
+
get useOverrides () {
|
|
19
19
|
return _OverridesContext.useOverrides;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["
|
|
1
|
+
{"version":3,"sources":["../../src/OverridesContext/index.ts"],"sourcesContent":["export type { OverridesContextValue } from './OverridesContext';\nexport { OverridesContext, OverridesProvider, useOverrides } from './OverridesContext';\n"],"names":["OverridesContext","OverridesProvider","useOverrides"],"mappings":";;;;;;;;;;;QACSA;eAAAA,kCAAgB;;QAAEC;eAAAA,mCAAiB;;QAAEC;eAAAA,8BAAY;;;kCAAQ"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
function _export(target, all) {
|
|
7
7
|
for(var name in all)Object.defineProperty(target, name, {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: all
|
|
9
|
+
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
12
|
_export(exports, {
|
|
13
|
-
PortalMountNodeProvider
|
|
13
|
+
get PortalMountNodeProvider () {
|
|
14
14
|
return PortalMountNodeProvider;
|
|
15
15
|
},
|
|
16
|
-
usePortalMountNode
|
|
16
|
+
get usePortalMountNode () {
|
|
17
17
|
return usePortalMountNode;
|
|
18
18
|
}
|
|
19
19
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/PortalMountNodeContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nexport type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;\n\n/**\n * Provides a mount node for portals to render into.\n *\n * @internal\n */\nconst PortalMountNodeContext = React.createContext<PortalMountNodeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const PortalMountNodeProvider = PortalMountNodeContext.Provider;\n\nexport function usePortalMountNode(): PortalMountNodeContextValue {\n return React.useContext(PortalMountNodeContext);\n}\n"],"names":["PortalMountNodeProvider","usePortalMountNode","PortalMountNodeContext","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"sources":["../src/PortalMountNodeContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\n\nexport type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;\n\n/**\n * Provides a mount node for portals to render into.\n *\n * @internal\n */\nconst PortalMountNodeContext = React.createContext<PortalMountNodeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const PortalMountNodeProvider = PortalMountNodeContext.Provider;\n\nexport function usePortalMountNode(): PortalMountNodeContextValue {\n return React.useContext(PortalMountNodeContext);\n}\n"],"names":["PortalMountNodeProvider","usePortalMountNode","PortalMountNodeContext","React","createContext","undefined","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;QAgBaA;eAAAA;;QAEGC;eAAAA;;;;iEAhBO;AAIvB;;;;CAIC,GACD,MAAMC,yBAAyBC,OAAMC,aAAa,CAA8BC;AAKzE,MAAML,0BAA0BE,uBAAuBI,QAAQ;AAE/D,SAASL;IACd,OAAOE,OAAMI,UAAU,CAACL;AAC1B"}
|