@fluentui/react-shared-contexts 9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +5 -5
  2. package/lib/AnnounceContext/AnnounceContext.js.map +1 -1
  3. package/lib/AnnounceContext/index.js.map +1 -1
  4. package/lib/BackgroundAppearanceContext/BackgroundAppearanceContext.js.map +1 -1
  5. package/lib/BackgroundAppearanceContext/index.js.map +1 -1
  6. package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js +2 -2
  7. package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -1
  8. package/lib/CustomStyleHooksContext/index.js.map +1 -1
  9. package/lib/OverridesContext/OverridesContext.js.map +1 -1
  10. package/lib/OverridesContext/index.js.map +1 -1
  11. package/lib/ProviderContext/ProviderContext.js.map +1 -1
  12. package/lib/ProviderContext/index.js.map +1 -1
  13. package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
  14. package/lib/ThemeClassNameContext/index.js.map +1 -1
  15. package/lib/ThemeContext/ThemeContext.js.map +1 -1
  16. package/lib/ThemeContext/index.js.map +1 -1
  17. package/lib/TooltipVisibilityContext/TooltipContext.js.map +1 -1
  18. package/lib/TooltipVisibilityContext/index.js.map +1 -1
  19. package/lib-commonjs/AnnounceContext/AnnounceContext.cjs +3 -3
  20. package/lib-commonjs/AnnounceContext/AnnounceContext.cjs.map +1 -1
  21. package/lib-commonjs/AnnounceContext/index.cjs +3 -3
  22. package/lib-commonjs/AnnounceContext/index.cjs.map +1 -1
  23. package/lib-commonjs/BackgroundAppearanceContext/BackgroundAppearanceContext.cjs +4 -4
  24. package/lib-commonjs/BackgroundAppearanceContext/BackgroundAppearanceContext.cjs.map +1 -1
  25. package/lib-commonjs/BackgroundAppearanceContext/index.cjs +4 -4
  26. package/lib-commonjs/BackgroundAppearanceContext/index.cjs.map +1 -1
  27. package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.cjs +6 -6
  28. package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.cjs.map +1 -1
  29. package/lib-commonjs/CustomStyleHooksContext/index.cjs +4 -4
  30. package/lib-commonjs/CustomStyleHooksContext/index.cjs.map +1 -1
  31. package/lib-commonjs/CustomStyleHooksContext.cjs +4 -4
  32. package/lib-commonjs/CustomStyleHooksContext.cjs.map +1 -1
  33. package/lib-commonjs/OverridesContext/OverridesContext.cjs +4 -4
  34. package/lib-commonjs/OverridesContext/OverridesContext.cjs.map +1 -1
  35. package/lib-commonjs/OverridesContext/index.cjs +4 -4
  36. package/lib-commonjs/OverridesContext/index.cjs.map +1 -1
  37. package/lib-commonjs/PortalMountNodeContext.cjs +3 -3
  38. package/lib-commonjs/PortalMountNodeContext.cjs.map +1 -1
  39. package/lib-commonjs/ProviderContext/ProviderContext.cjs +3 -3
  40. package/lib-commonjs/ProviderContext/ProviderContext.cjs.map +1 -1
  41. package/lib-commonjs/ProviderContext/index.cjs +3 -3
  42. package/lib-commonjs/ProviderContext/index.cjs.map +1 -1
  43. package/lib-commonjs/ProviderContext.cjs +3 -3
  44. package/lib-commonjs/ProviderContext.cjs.map +1 -1
  45. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.cjs +3 -3
  46. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.cjs.map +1 -1
  47. package/lib-commonjs/ThemeClassNameContext/index.cjs +3 -3
  48. package/lib-commonjs/ThemeClassNameContext/index.cjs.map +1 -1
  49. package/lib-commonjs/ThemeClassNameContext.cjs +3 -3
  50. package/lib-commonjs/ThemeClassNameContext.cjs.map +1 -1
  51. package/lib-commonjs/ThemeContext/ThemeContext.cjs +3 -3
  52. package/lib-commonjs/ThemeContext/ThemeContext.cjs.map +1 -1
  53. package/lib-commonjs/ThemeContext/index.cjs +3 -3
  54. package/lib-commonjs/ThemeContext/index.cjs.map +1 -1
  55. package/lib-commonjs/ThemeContext.cjs +3 -3
  56. package/lib-commonjs/ThemeContext.cjs.map +1 -1
  57. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.cjs +3 -3
  58. package/lib-commonjs/TooltipVisibilityContext/TooltipContext.cjs.map +1 -1
  59. package/lib-commonjs/TooltipVisibilityContext/index.cjs +3 -3
  60. package/lib-commonjs/TooltipVisibilityContext/index.cjs.map +1 -1
  61. package/lib-commonjs/TooltipVisibilityContext.cjs +3 -3
  62. package/lib-commonjs/TooltipVisibilityContext.cjs.map +1 -1
  63. package/lib-commonjs/index.cjs +22 -22
  64. package/lib-commonjs/index.cjs.map +1 -1
  65. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,17 +1,17 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- <!-- This log was last generated on Thu, 08 Oct 2026 09:40:03 GMT and should not be manually modified. -->
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.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0)
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
- Thu, 08 Oct 2026 09:40:03 GMT
9
+ Sat, 31 Oct 2026 11:08:54 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - Release 9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6 ([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.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
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
15
 
16
16
  ## [9.26.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.26.4)
17
17
 
@@ -1 +1 @@
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,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,8BAAjBD,+BAAAA,oBAAqC;QAAEQ,UAAU,IAAML;IAAU;AAC1E"}
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":["../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
+ {"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":["../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
+ {"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":["../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"}
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
- var _React_useContext_hook;
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":["../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
+ {"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":["../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,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,+BAAjBD,+BAAAA,oBAAsC,CAAC;AAChD"}
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":["../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
+ {"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":["../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,OAAOA,CAAAA,oBAAAA,MAAMU,UAAU,CAACT,8BAAjBD,+BAAAA,oBAAqCI;AAC9C"}
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":["../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
+ {"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":["../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,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,oCAAjBD,+BAAAA,oBAA2CI;AACpD"}
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":["../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
+ {"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":["../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
+ {"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":["../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
+ {"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":["../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,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,uCAAjBD,+BAAAA,oBAA8CI;AACvD"}
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":["../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"}
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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- AnnounceProvider: function() {
13
+ get AnnounceProvider () {
14
14
  return AnnounceProvider;
15
15
  },
16
- useAnnounce: function() {
16
+ get useAnnounce () {
17
17
  return useAnnounce;
18
18
  }
19
19
  });
@@ -1 +1 @@
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;;;;;;;;;;;;IAkCaA,gBAAgB;eAAhBA;;IAKGC,WAAW;eAAXA;;;;iEArCO;AA2BvB;;CAEC,GACD,MAAMC,kBAAkBC,OAAMC,aAAa,CAAmCC;AAEvE,MAAML,mBAAmBE,gBAAgBI,QAAQ;AAKjD,SAASL;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMI,UAAU,CAACL,8BAAjBC,+BAAAA,oBAAqC;QAAEK,UAAU,IAAMH;IAAU;AAC1E"}
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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- AnnounceProvider: function() {
12
+ get AnnounceProvider () {
13
13
  return _AnnounceContext.AnnounceProvider;
14
14
  },
15
- useAnnounce: function() {
15
+ get useAnnounce () {
16
16
  return _AnnounceContext.useAnnounce;
17
17
  }
18
18
  });
@@ -1 +1 @@
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":";;;;;;;;;;;IACSA,gBAAgB;eAAhBA,iCAAgB;;IAAEC,WAAW;eAAXA,4BAAW;;;iCAAQ"}
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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- BackgroundAppearanceContext: function() {
13
+ get BackgroundAppearanceContext () {
14
14
  return BackgroundAppearanceContext;
15
15
  },
16
- BackgroundAppearanceProvider: function() {
16
+ get BackgroundAppearanceProvider () {
17
17
  return BackgroundAppearanceProvider;
18
18
  },
19
- useBackgroundAppearance: function() {
19
+ get useBackgroundAppearance () {
20
20
  return useBackgroundAppearance;
21
21
  }
22
22
  });
@@ -1 +1 @@
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;;;;;;;;;;;;IAYaA,2BAA2B;eAA3BA;;IAKAC,4BAA4B;eAA5BA;;IAEGC,uBAAuB;eAAvBA;;;;iEAjBO;AAUhB,MAAMF,8BAA8BG,OAAMC,aAAa,CAA+CC;AAKtG,MAAMJ,+BAA+BD,4BAA4BM,QAAQ;AAEzE,SAASJ;IACd,OAAOC,OAAMI,UAAU,CAACP;AAC1B"}
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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- BackgroundAppearanceContext: function() {
12
+ get BackgroundAppearanceContext () {
13
13
  return _BackgroundAppearanceContext.BackgroundAppearanceContext;
14
14
  },
15
- BackgroundAppearanceProvider: function() {
15
+ get BackgroundAppearanceProvider () {
16
16
  return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
17
17
  },
18
- useBackgroundAppearance: function() {
18
+ get useBackgroundAppearance () {
19
19
  return _BackgroundAppearanceContext.useBackgroundAppearance;
20
20
  }
21
21
  });
@@ -1 +1 @@
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":";;;;;;;;;;;IAEEA,2BAA2B;eAA3BA,wDAA2B;;IAC3BC,4BAA4B;eAA5BA,yDAA4B;;IAC5BC,uBAAuB;eAAvBA,oDAAuB;;;6CAClB"}
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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- CustomStyleHooksContext: function() {
13
+ get CustomStyleHooksContext () {
14
14
  return CustomStyleHooksContext;
15
15
  },
16
- CustomStyleHooksProvider: function() {
16
+ get CustomStyleHooksProvider () {
17
17
  return CustomStyleHooksProvider;
18
18
  },
19
- useCustomStyleHook: function() {
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
- var _React_useContext_hook;
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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- CustomStyleHooksContext: function() {
12
+ get CustomStyleHooksContext () {
13
13
  return _CustomStyleHooksContext.CustomStyleHooksContext;
14
14
  },
15
- CustomStyleHooksProvider: function() {
15
+ get CustomStyleHooksProvider () {
16
16
  return _CustomStyleHooksContext.CustomStyleHooksProvider;
17
17
  },
18
- useCustomStyleHook: function() {
18
+ get useCustomStyleHook () {
19
19
  return _CustomStyleHooksContext.useCustomStyleHook;
20
20
  }
21
21
  });
@@ -1 +1 @@
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":";;;;;;;;;;;IACSA,uBAAuB;eAAvBA,gDAAuB;;IAAEC,wBAAwB;eAAxBA,iDAAwB;;IAAEC,kBAAkB;eAAlBA,2CAAkB;;;yCAAQ"}
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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- CustomStyleHooksContext: function() {
12
+ get CustomStyleHooksContext () {
13
13
  return _index.CustomStyleHooksContext;
14
14
  },
15
- CustomStyleHooksProvider: function() {
15
+ get CustomStyleHooksProvider () {
16
16
  return _index.CustomStyleHooksProvider;
17
17
  },
18
- useCustomStyleHook: function() {
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":";;;;;;;;;;;IACSA,uBAAuB;eAAvBA,8BAAuB;;IAAEC,wBAAwB;eAAxBA,+BAAwB;;IAAEC,kBAAkB;eAAlBA,yBAAkB;;;uBAAQ"}
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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- OverridesContext: function() {
13
+ get OverridesContext () {
14
14
  return OverridesContext;
15
15
  },
16
- OverridesProvider: function() {
16
+ get OverridesProvider () {
17
17
  return OverridesProvider;
18
18
  },
19
- useOverrides: function() {
19
+ get useOverrides () {
20
20
  return useOverrides;
21
21
  }
22
22
  });
@@ -1 +1 @@
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;;;;;;;;;;;;IAeaA,gBAAgB;eAAhBA;;IAKAC,iBAAiB;eAAjBA;;IAEGC,YAAY;eAAZA;;;;iEApBO;AAahB,MAAMF,mBAAmBG,OAAMC,aAAa,CAAoCC;AAKhF,MAAMJ,oBAAoBD,iBAAiBM,QAAQ;AAEnD,SAASJ;QACPC;IAAP,OAAOA,CAAAA,oBAAAA,OAAMI,UAAU,CAACP,+BAAjBG,+BAAAA,oBAAsC,CAAC;AAChD"}
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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- OverridesContext: function() {
12
+ get OverridesContext () {
13
13
  return _OverridesContext.OverridesContext;
14
14
  },
15
- OverridesProvider: function() {
15
+ get OverridesProvider () {
16
16
  return _OverridesContext.OverridesProvider;
17
17
  },
18
- useOverrides: function() {
18
+ get useOverrides () {
19
19
  return _OverridesContext.useOverrides;
20
20
  }
21
21
  });
@@ -1 +1 @@
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":";;;;;;;;;;;IACSA,gBAAgB;eAAhBA,kCAAgB;;IAAEC,iBAAiB;eAAjBA,mCAAiB;;IAAEC,YAAY;eAAZA,8BAAY;;;kCAAQ"}
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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- PortalMountNodeProvider: function() {
13
+ get PortalMountNodeProvider () {
14
14
  return PortalMountNodeProvider;
15
15
  },
16
- usePortalMountNode: function() {
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;;;;;;;;;;;;IAgBaA,uBAAuB;eAAvBA;;IAEGC,kBAAkB;eAAlBA;;;;iEAhBO;AAIvB;;;;CAIC,GACD,MAAMC,yBAAyBC,OAAMC,aAAa,CAA8BC;AAKzE,MAAML,0BAA0BE,uBAAuBI,QAAQ;AAE/D,SAASL;IACd,OAAOE,OAAMI,UAAU,CAACL;AAC1B"}
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"}
@@ -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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- Provider: function() {
13
+ get Provider () {
14
14
  return Provider;
15
15
  },
16
- useFluent: function() {
16
+ get useFluent () {
17
17
  return useFluent;
18
18
  }
19
19
  });
@@ -1 +1 @@
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":["Provider","useFluent","ProviderContext","React","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","useContext"],"mappings":"AAAA;;;;;;;;;;;;IA4BaA,QAAQ;eAARA;;IAEGC,SAAS;eAATA;;;;iEA5BO;AAUvB;;CAEC,GACD,MAAMC,kBAAkBC,OAAMC,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,0HAA0H;IAC1HC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAKO,MAAMT,WAAWE,gBAAgBF,QAAQ;AAEzC,SAASC;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMO,UAAU,CAACR,8BAAjBC,+BAAAA,oBAAqCG;AAC9C"}
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":["Provider","useFluent","ProviderContext","React","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","useContext"],"mappings":"AAAA;;;;;;;;;;;;QA4BaA;eAAAA;;QAEGC;eAAAA;;;;iEA5BO;AAUvB;;CAEC,GACD,MAAMC,kBAAkBC,OAAMC,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,0HAA0H;IAC1HC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAKO,MAAMT,WAAWE,gBAAgBF,QAAQ;AAEzC,SAASC;QACPE;IAAP,QAAOA,oBAAAA,OAAMO,UAAU,CAACR,8BAAjBC,+BAAAA,oBAAqCG;AAC9C"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- Provider: function() {
12
+ get Provider () {
13
13
  return _ProviderContext.Provider;
14
14
  },
15
- useFluent: function() {
15
+ get useFluent () {
16
16
  return _ProviderContext.useFluent;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ProviderContext/index.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext';\nexport { Provider, useFluent } from './ProviderContext';\n"],"names":["Provider","useFluent"],"mappings":";;;;;;;;;;;IACSA,QAAQ;eAARA,yBAAQ;;IAAEC,SAAS;eAATA,0BAAS;;;iCAAQ"}
1
+ {"version":3,"sources":["../../src/ProviderContext/index.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext';\nexport { Provider, useFluent } from './ProviderContext';\n"],"names":["Provider","useFluent"],"mappings":";;;;;;;;;;;QACSA;eAAAA,yBAAQ;;QAAEC;eAAAA,0BAAS;;;iCAAQ"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- Provider: function() {
12
+ get Provider () {
13
13
  return _index.Provider;
14
14
  },
15
- useFluent: function() {
15
+ get useFluent () {
16
16
  return _index.useFluent;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ProviderContext.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext/index';\nexport { Provider, useFluent } from './ProviderContext/index';\n"],"names":["Provider","useFluent"],"mappings":";;;;;;;;;;;IACSA,QAAQ;eAARA,eAAQ;;IAAEC,SAAS;eAATA,gBAAS;;;uBAAQ"}
1
+ {"version":3,"sources":["../src/ProviderContext.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext/index';\nexport { Provider, useFluent } from './ProviderContext/index';\n"],"names":["Provider","useFluent"],"mappings":";;;;;;;;;;;QACSA;eAAAA,eAAQ;;QAAEC;eAAAA,gBAAS;;;uBAAQ"}
@@ -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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- ThemeClassNameProvider: function() {
13
+ get ThemeClassNameProvider () {
14
14
  return ThemeClassNameProvider;
15
15
  },
16
- useThemeClassName: function() {
16
+ get useThemeClassName () {
17
17
  return useThemeClassName;
18
18
  }
19
19
  });
@@ -1 +1 @@
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":["ThemeClassNameProvider","useThemeClassName","ThemeClassNameContext","React","createContext","undefined","themeClassNameContextDefaultVaue","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;IAmBaA,sBAAsB;eAAtBA;;IAKGC,iBAAiB;eAAjBA;;;;iEAtBO;AAIvB;;;;;;CAMC,GACD,MAAMC,wBAAwBC,OAAMC,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAElC,MAAMN,yBAAyBE,sBAAsBK,QAAQ;AAK7D,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,oCAAjBC,+BAAAA,oBAA2CG;AACpD"}
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":["ThemeClassNameProvider","useThemeClassName","ThemeClassNameContext","React","createContext","undefined","themeClassNameContextDefaultVaue","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;QAmBaA;eAAAA;;QAKGC;eAAAA;;;;iEAtBO;AAIvB;;;;;;CAMC,GACD,MAAMC,wBAAwBC,OAAMC,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAElC,MAAMN,yBAAyBE,sBAAsBK,QAAQ;AAK7D,SAASN;QACPE;IAAP,QAAOA,oBAAAA,OAAMK,UAAU,CAACN,oCAAjBC,+BAAAA,oBAA2CG;AACpD"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ThemeClassNameProvider: function() {
12
+ get ThemeClassNameProvider () {
13
13
  return _ThemeClassNameContext.ThemeClassNameProvider;
14
14
  },
15
- useThemeClassName: function() {
15
+ get useThemeClassName () {
16
16
  return _ThemeClassNameContext.useThemeClassName;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ThemeClassNameContext/index.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,6CAAsB;;IAAEC,iBAAiB;eAAjBA,wCAAiB;;;uCAAQ"}
1
+ {"version":3,"sources":["../../src/ThemeClassNameContext/index.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"mappings":";;;;;;;;;;;QACSA;eAAAA,6CAAsB;;QAAEC;eAAAA,wCAAiB;;;uCAAQ"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ThemeClassNameProvider: function() {
12
+ get ThemeClassNameProvider () {
13
13
  return _index.ThemeClassNameProvider;
14
14
  },
15
- useThemeClassName: function() {
15
+ get useThemeClassName () {
16
16
  return _index.useThemeClassName;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ThemeClassNameContext.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext/index';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,6BAAsB;;IAAEC,iBAAiB;eAAjBA,wBAAiB;;;uBAAQ"}
1
+ {"version":3,"sources":["../src/ThemeClassNameContext.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext/index';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"mappings":";;;;;;;;;;;QACSA;eAAAA,6BAAsB;;QAAEC;eAAAA,wBAAiB;;;uBAAQ"}
@@ -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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- ThemeContext: function() {
13
+ get ThemeContext () {
14
14
  return ThemeContext;
15
15
  },
16
- ThemeProvider: function() {
16
+ get ThemeProvider () {
17
17
  return ThemeProvider;
18
18
  }
19
19
  });
@@ -1 +1 @@
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":["ThemeContext","ThemeProvider","React","createContext","undefined","Provider"],"mappings":"AAAA;;;;;;;;;;;;IAUaA,YAAY;eAAZA;;IAKAC,aAAa;eAAbA;;;;iEAbU;AAQhB,MAAMD,eAAeE,OAAMC,aAAa,CAAoBC;AAK5D,MAAMH,gBAAgBD,aAAaK,QAAQ"}
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":["ThemeContext","ThemeProvider","React","createContext","undefined","Provider"],"mappings":"AAAA;;;;;;;;;;;;QAUaA;eAAAA;;QAKAC;eAAAA;;;;iEAbU;AAQhB,MAAMD,eAAeE,OAAMC,aAAa,CAAoBC;AAK5D,MAAMH,gBAAgBD,aAAaK,QAAQ"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ThemeContext: function() {
12
+ get ThemeContext () {
13
13
  return _ThemeContext.ThemeContext;
14
14
  },
15
- ThemeProvider: function() {
15
+ get ThemeProvider () {
16
16
  return _ThemeContext.ThemeProvider;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ThemeContext/index.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext';\nexport { ThemeContext, ThemeProvider } from './ThemeContext';\n"],"names":["ThemeContext","ThemeProvider"],"mappings":";;;;;;;;;;;IACSA,YAAY;eAAZA,0BAAY;;IAAEC,aAAa;eAAbA,2BAAa;;;8BAAQ"}
1
+ {"version":3,"sources":["../../src/ThemeContext/index.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext';\nexport { ThemeContext, ThemeProvider } from './ThemeContext';\n"],"names":["ThemeContext","ThemeProvider"],"mappings":";;;;;;;;;;;QACSA;eAAAA,0BAAY;;QAAEC;eAAAA,2BAAa;;;8BAAQ"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- ThemeContext: function() {
12
+ get ThemeContext () {
13
13
  return _index.ThemeContext;
14
14
  },
15
- ThemeProvider: function() {
15
+ get ThemeProvider () {
16
16
  return _index.ThemeProvider;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/ThemeContext.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext/index';\nexport { ThemeContext, ThemeProvider } from './ThemeContext/index';\n"],"names":["ThemeContext","ThemeProvider"],"mappings":";;;;;;;;;;;IACSA,YAAY;eAAZA,mBAAY;;IAAEC,aAAa;eAAbA,oBAAa;;;uBAAQ"}
1
+ {"version":3,"sources":["../src/ThemeContext.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext/index';\nexport { ThemeContext, ThemeProvider } from './ThemeContext/index';\n"],"names":["ThemeContext","ThemeProvider"],"mappings":";;;;;;;;;;;QACSA;eAAAA,mBAAY;;QAAEC;eAAAA,oBAAa;;;uBAAQ"}
@@ -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[name]
9
+ get: Object.getOwnPropertyDescriptor(all, name).get
10
10
  });
11
11
  }
12
12
  _export(exports, {
13
- TooltipVisibilityProvider: function() {
13
+ get TooltipVisibilityProvider () {
14
14
  return TooltipVisibilityProvider;
15
15
  },
16
- useTooltipVisibility: function() {
16
+ get useTooltipVisibility () {
17
17
  return useTooltipVisibility;
18
18
  }
19
19
  });
@@ -1 +1 @@
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":["TooltipVisibilityProvider","useTooltipVisibility","TooltipVisibilityContext","React","createContext","undefined","tooltipVisibilityContextDefaultValue","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;IA+BaA,yBAAyB;eAAzBA;;IAEGC,oBAAoB;eAApBA;;;;iEA/BO;AAevB;;;;CAIC,GACD,MAAMC,2BAA2BC,OAAMC,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAKtE,MAAMN,4BAA4BE,yBAAyBK,QAAQ;AAEnE,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,uCAAjBC,+BAAAA,oBAA8CG;AACvD"}
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":["TooltipVisibilityProvider","useTooltipVisibility","TooltipVisibilityContext","React","createContext","undefined","tooltipVisibilityContextDefaultValue","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;QA+BaA;eAAAA;;QAEGC;eAAAA;;;;iEA/BO;AAevB;;;;CAIC,GACD,MAAMC,2BAA2BC,OAAMC,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAKtE,MAAMN,4BAA4BE,yBAAyBK,QAAQ;AAEnE,SAASN;QACPE;IAAP,QAAOA,oBAAAA,OAAMK,UAAU,CAACN,uCAAjBC,+BAAAA,oBAA8CG;AACvD"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- TooltipVisibilityProvider: function() {
12
+ get TooltipVisibilityProvider () {
13
13
  return _TooltipContext.TooltipVisibilityProvider;
14
14
  },
15
- useTooltipVisibility: function() {
15
+ get useTooltipVisibility () {
16
16
  return _TooltipContext.useTooltipVisibility;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/TooltipVisibilityContext/index.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipContext';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"mappings":";;;;;;;;;;;IACSA,yBAAyB;eAAzBA,yCAAyB;;IAAEC,oBAAoB;eAApBA,oCAAoB;;;gCAAQ"}
1
+ {"version":3,"sources":["../../src/TooltipVisibilityContext/index.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipContext';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"mappings":";;;;;;;;;;;QACSA;eAAAA,yCAAyB;;QAAEC;eAAAA,oCAAoB;;;gCAAQ"}
@@ -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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- TooltipVisibilityProvider: function() {
12
+ get TooltipVisibilityProvider () {
13
13
  return _index.TooltipVisibilityProvider;
14
14
  },
15
- useTooltipVisibility: function() {
15
+ get useTooltipVisibility () {
16
16
  return _index.useTooltipVisibility;
17
17
  }
18
18
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/TooltipVisibilityContext.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipVisibilityContext/index';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"mappings":";;;;;;;;;;;IACSA,yBAAyB;eAAzBA,gCAAyB;;IAAEC,oBAAoB;eAApBA,2BAAoB;;;uBAAQ"}
1
+ {"version":3,"sources":["../src/TooltipVisibilityContext.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipVisibilityContext/index';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"mappings":";;;;;;;;;;;QACSA;eAAAA,gCAAyB;;QAAEC;eAAAA,2BAAoB;;;uBAAQ"}
@@ -5,71 +5,71 @@ 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[name]
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- AnnounceProvider: function() {
12
+ get AnnounceProvider () {
13
13
  return _AnnounceContext.AnnounceProvider;
14
14
  },
15
- AnnounceProvider_unstable: function() {
15
+ get AnnounceProvider_unstable () {
16
16
  return /** @deprecated Use AnnounceProvider instead. */ _AnnounceContext.AnnounceProvider;
17
17
  },
18
- BackgroundAppearanceProvider: function() {
18
+ get BackgroundAppearanceProvider () {
19
19
  return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
20
20
  },
21
- CustomStyleHooksContext_unstable: function() {
21
+ get CustomStyleHooksContext_unstable () {
22
22
  return _CustomStyleHooksContext.CustomStyleHooksContext;
23
23
  },
24
- CustomStyleHooksProvider_unstable: function() {
24
+ get CustomStyleHooksProvider_unstable () {
25
25
  return _CustomStyleHooksContext.CustomStyleHooksProvider;
26
26
  },
27
- OverridesProvider_unstable: function() {
27
+ get OverridesProvider_unstable () {
28
28
  return _OverridesContext.OverridesProvider;
29
29
  },
30
- PortalMountNodeProvider: function() {
30
+ get PortalMountNodeProvider () {
31
31
  return _PortalMountNodeContext.PortalMountNodeProvider;
32
32
  },
33
- Provider_unstable: function() {
33
+ get Provider_unstable () {
34
34
  return _ProviderContext.Provider;
35
35
  },
36
- ThemeClassNameProvider_unstable: function() {
36
+ get ThemeClassNameProvider_unstable () {
37
37
  return _ThemeClassNameContext.ThemeClassNameProvider;
38
38
  },
39
- ThemeContext_unstable: function() {
39
+ get ThemeContext_unstable () {
40
40
  return _ThemeContext.ThemeContext;
41
41
  },
42
- ThemeProvider_unstable: function() {
42
+ get ThemeProvider_unstable () {
43
43
  return _ThemeContext.ThemeProvider;
44
44
  },
45
- TooltipVisibilityProvider_unstable: function() {
45
+ get TooltipVisibilityProvider_unstable () {
46
46
  return _TooltipVisibilityContext.TooltipVisibilityProvider;
47
47
  },
48
- useAnnounce: function() {
48
+ get useAnnounce () {
49
49
  return _AnnounceContext.useAnnounce;
50
50
  },
51
- useAnnounce_unstable: function() {
51
+ get useAnnounce_unstable () {
52
52
  return /** @deprecated Use useAnnounce instead. */ _AnnounceContext.useAnnounce;
53
53
  },
54
- useBackgroundAppearance: function() {
54
+ get useBackgroundAppearance () {
55
55
  return _BackgroundAppearanceContext.useBackgroundAppearance;
56
56
  },
57
- useCustomStyleHook_unstable: function() {
57
+ get useCustomStyleHook_unstable () {
58
58
  return _CustomStyleHooksContext.useCustomStyleHook;
59
59
  },
60
- useFluent_unstable: function() {
60
+ get useFluent_unstable () {
61
61
  return _ProviderContext.useFluent;
62
62
  },
63
- useOverrides_unstable: function() {
63
+ get useOverrides_unstable () {
64
64
  return _OverridesContext.useOverrides;
65
65
  },
66
- usePortalMountNode: function() {
66
+ get usePortalMountNode () {
67
67
  return _PortalMountNodeContext.usePortalMountNode;
68
68
  },
69
- useThemeClassName_unstable: function() {
69
+ get useThemeClassName_unstable () {
70
70
  return _ThemeClassNameContext.useThemeClassName;
71
71
  },
72
- useTooltipVisibility_unstable: function() {
72
+ get useTooltipVisibility_unstable () {
73
73
  return _TooltipVisibilityContext.useTooltipVisibility;
74
74
  }
75
75
  });
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';\nexport type { ThemeContextValue as ThemeContextValue_unstable } from './ThemeContext';\n\nexport {\n ThemeClassNameProvider as ThemeClassNameProvider_unstable,\n useThemeClassName as useThemeClassName_unstable,\n} from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue as ThemeClassNameContextValue_unstable } from './ThemeClassNameContext';\n\nexport {\n TooltipVisibilityProvider as TooltipVisibilityProvider_unstable,\n useTooltipVisibility as useTooltipVisibility_unstable,\n} from './TooltipVisibilityContext';\nexport type { TooltipVisibilityContextValue as TooltipVisibilityContextValue_unstable } from './TooltipVisibilityContext';\n\nexport { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';\nexport type { ProviderContextValue as ProviderContextValue_unstable } from './ProviderContext';\n\nexport {\n OverridesProvider as OverridesProvider_unstable,\n useOverrides as useOverrides_unstable,\n} from './OverridesContext';\nexport type { OverridesContextValue as OverridesContextValue_unstable } from './OverridesContext';\n\nexport {\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHook as useCustomStyleHook_unstable,\n} from './CustomStyleHooksContext';\nexport type { CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable } from './CustomStyleHooksContext';\n\nexport { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';\nexport type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\n\nexport { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';\n\nexport {\n AnnounceProvider,\n /** @deprecated Use AnnounceProvider instead. */\n AnnounceProvider as AnnounceProvider_unstable,\n useAnnounce,\n /** @deprecated Use useAnnounce instead. */\n useAnnounce as useAnnounce_unstable,\n} from './AnnounceContext';\nexport type {\n AnnounceContextValue,\n /** @deprecated Use AnnounceContextValue instead. */\n AnnounceContextValue as AnnounceContextValue_unstable,\n AnnounceOptions,\n} from './AnnounceContext';\n"],"names":["AnnounceProvider","AnnounceProvider_unstable","BackgroundAppearanceProvider","CustomStyleHooksContext_unstable","CustomStyleHooksContext","CustomStyleHooksProvider_unstable","CustomStyleHooksProvider","OverridesProvider_unstable","OverridesProvider","PortalMountNodeProvider","Provider_unstable","Provider","ThemeClassNameProvider_unstable","ThemeClassNameProvider","ThemeContext_unstable","ThemeContext","ThemeProvider_unstable","ThemeProvider","TooltipVisibilityProvider_unstable","TooltipVisibilityProvider","useAnnounce","useAnnounce_unstable","useBackgroundAppearance","useCustomStyleHook_unstable","useCustomStyleHook","useFluent_unstable","useFluent","useOverrides_unstable","useOverrides","usePortalMountNode","useThemeClassName_unstable","useThemeClassName","useTooltipVisibility_unstable","useTooltipVisibility"],"mappings":";;;;;;;;;;;IAqCEA,gBAAgB;eAAhBA,iCAAgB;;IAEIC,yBAAyB;eAD7C,8CAA8C,GAC9CD,iCAAgB;;IARTE,4BAA4B;eAA5BA,yDAA4B;;IANRC,gCAAgC;eAA3DC,gDAAuB;;IACKC,iCAAiC;eAA7DC,iDAAwB;;IAPHC,0BAA0B;eAA/CC,mCAAiB;;IAeVC,uBAAuB;eAAvBA,+CAAuB;;IAnBXC,iBAAiB;eAA7BC,yBAAQ;;IAXWC,+BAA+B;eAAzDC,6CAAsB;;IAJCC,qBAAqB;eAArCC,0BAAY;;IAA4CC,sBAAsB;eAAvCC,2BAAa;;IAU9BC,kCAAkC;eAA/DC,mDAAyB;;IA8BzBC,WAAW;eAAXA,4BAAW;;IAEIC,oBAAoB;eADnC,yCAAyC,GACzCD,4BAAW;;IAX0BE,uBAAuB;eAAvBA,oDAAuB;;IAJtCC,2BAA2B;eAAjDC,2CAAkB;;IAZiCC,kBAAkB;eAA/BC,0BAAS;;IAK/BC,qBAAqB;eAArCC,8BAAY;;IAcoBC,kBAAkB;eAAlBA,0CAAkB;;IA7B7BC,0BAA0B;eAA/CC,wCAAiB;;IAMOC,6BAA6B;eAArDC,8CAAoB;;;8BAXyE;uCAMxF;0CAMA;iCAGwE;kCAMxE;yCAOA;6CAG+D;wCAGV;iCASrD"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';\nexport type { ThemeContextValue as ThemeContextValue_unstable } from './ThemeContext';\n\nexport {\n ThemeClassNameProvider as ThemeClassNameProvider_unstable,\n useThemeClassName as useThemeClassName_unstable,\n} from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue as ThemeClassNameContextValue_unstable } from './ThemeClassNameContext';\n\nexport {\n TooltipVisibilityProvider as TooltipVisibilityProvider_unstable,\n useTooltipVisibility as useTooltipVisibility_unstable,\n} from './TooltipVisibilityContext';\nexport type { TooltipVisibilityContextValue as TooltipVisibilityContextValue_unstable } from './TooltipVisibilityContext';\n\nexport { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';\nexport type { ProviderContextValue as ProviderContextValue_unstable } from './ProviderContext';\n\nexport {\n OverridesProvider as OverridesProvider_unstable,\n useOverrides as useOverrides_unstable,\n} from './OverridesContext';\nexport type { OverridesContextValue as OverridesContextValue_unstable } from './OverridesContext';\n\nexport {\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHook as useCustomStyleHook_unstable,\n} from './CustomStyleHooksContext';\nexport type { CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable } from './CustomStyleHooksContext';\n\nexport { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';\nexport type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\n\nexport { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';\n\nexport {\n AnnounceProvider,\n /** @deprecated Use AnnounceProvider instead. */\n AnnounceProvider as AnnounceProvider_unstable,\n useAnnounce,\n /** @deprecated Use useAnnounce instead. */\n useAnnounce as useAnnounce_unstable,\n} from './AnnounceContext';\nexport type {\n AnnounceContextValue,\n /** @deprecated Use AnnounceContextValue instead. */\n AnnounceContextValue as AnnounceContextValue_unstable,\n AnnounceOptions,\n} from './AnnounceContext';\n"],"names":["AnnounceProvider","AnnounceProvider_unstable","BackgroundAppearanceProvider","CustomStyleHooksContext_unstable","CustomStyleHooksContext","CustomStyleHooksProvider_unstable","CustomStyleHooksProvider","OverridesProvider_unstable","OverridesProvider","PortalMountNodeProvider","Provider_unstable","Provider","ThemeClassNameProvider_unstable","ThemeClassNameProvider","ThemeContext_unstable","ThemeContext","ThemeProvider_unstable","ThemeProvider","TooltipVisibilityProvider_unstable","TooltipVisibilityProvider","useAnnounce","useAnnounce_unstable","useBackgroundAppearance","useCustomStyleHook_unstable","useCustomStyleHook","useFluent_unstable","useFluent","useOverrides_unstable","useOverrides","usePortalMountNode","useThemeClassName_unstable","useThemeClassName","useTooltipVisibility_unstable","useTooltipVisibility"],"mappings":";;;;;;;;;;;QAqCEA;eAAAA,iCAAgB;;QAEIC;eADpB,8CAA8C,GAC9CD,iCAAgB;;QARTE;eAAAA,yDAA4B;;QANRC;eAA3BC,gDAAuB;;QACKC;eAA5BC,iDAAwB;;QAPHC;eAArBC,mCAAiB;;QAeVC;eAAAA,+CAAuB;;QAnBXC;eAAZC,yBAAQ;;QAXWC;eAA1BC,6CAAsB;;QAJCC;eAAhBC,0BAAY;;QAA4CC;eAAjBC,2BAAa;;QAU9BC;eAA7BC,mDAAyB;;QA8BzBC;eAAAA,4BAAW;;QAEIC;eADf,yCAAyC,GACzCD,4BAAW;;QAX0BE;eAAAA,oDAAuB;;QAJtCC;eAAtBC,2CAAkB;;QAZiCC;eAAbC,0BAAS;;QAK/BC;eAAhBC,8BAAY;;QAcoBC;eAAAA,0CAAkB;;QA7B7BC;eAArBC,wCAAiB;;QAMOC;eAAxBC,8CAAoB;;;8BAXyE;uCAMxF;0CAMA;iCAGwE;kCAMxE;yCAOA;6CAG+D;wCAGV;iCASrD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-shared-contexts",
3
- "version": "9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0",
3
+ "version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
4
4
  "description": "Fluent UI React Contexts shared by multiple components.",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui/react-theme": "9.74.9-experimental.menu-disable-autofocus.20261008-e9914a95c6.0",
15
+ "@fluentui/react-theme": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
16
16
  "@swc/helpers": "^0.5.1"
17
17
  },
18
18
  "peerDependencies": {