Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+949
View File
@@ -0,0 +1,949 @@
# Change Log - @fluentui/react-shared-contexts
This log was last generated on Mon, 16 Dec 2024 16:22:08 GMT and should not be manually modified.
<!-- Start content -->
## [9.21.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.21.2)
Mon, 16 Dec 2024 16:22:08 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.21.1..@fluentui/react-shared-contexts_v9.21.2)
### Patches
- Bump @fluentui/react-theme to v9.1.24 ([PR #33468](https://github.com/microsoft/fluentui/pull/33468) by beachball)
## [9.21.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.21.1)
Fri, 06 Dec 2024 12:53:42 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.21.0..@fluentui/react-shared-contexts_v9.21.1)
### Patches
- chore: remove usage of "export *" ([PR #33380](https://github.com/microsoft/fluentui/pull/33380) by olfedias@microsoft.com)
- Bump @fluentui/react-theme to v9.1.23 ([PR #33372](https://github.com/microsoft/fluentui/pull/33372) by beachball)
## [9.21.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.21.0)
Mon, 11 Nov 2024 10:00:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.20.2..@fluentui/react-shared-contexts_v9.21.0)
### Minor changes
- feat: Add custom style hooks for Carousel components ([PR #33155](https://github.com/microsoft/fluentui/pull/33155) by mifraser@microsoft.com)
- Bump @fluentui/react-theme to v9.1.22 ([PR #33238](https://github.com/microsoft/fluentui/pull/33238) by beachball)
### Patches
- chore: replace npm-scripts and just-scrtips with nx inferred tasks ([PR #33074](https://github.com/microsoft/fluentui/pull/33074) by martinhochel@microsoft.com)
## [9.20.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.20.2)
Tue, 15 Oct 2024 17:17:50 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.20.1..@fluentui/react-shared-contexts_v9.20.2)
### Patches
- Bump @fluentui/react-theme to v9.1.21 ([PR #32999](https://github.com/microsoft/fluentui/pull/32999) by beachball)
## [9.20.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.20.1)
Mon, 23 Sep 2024 12:40:17 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.20.0..@fluentui/react-shared-contexts_v9.20.1)
### Patches
- Bump @fluentui/react-theme to v9.1.20 ([PR #32840](https://github.com/microsoft/fluentui/pull/32840) by beachball)
## [9.20.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.20.0)
Tue, 23 Jul 2024 20:13:13 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.19.1..@fluentui/react-shared-contexts_v9.20.0)
### Minor changes
- chore: adds custom style hook for MenuItemLink ([PR #32045](https://github.com/microsoft/fluentui/pull/32045) by bernardo.sunderhus@gmail.com)
## [9.19.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.19.1)
Mon, 15 Jul 2024 17:25:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.19.0..@fluentui/react-shared-contexts_v9.19.1)
### Patches
- fix: revert incorectly set npm versions in all packages ([PR #31937](https://github.com/microsoft/fluentui/pull/31937) by martinhochel@microsoft.com)
## [9.19.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.19.0)
Mon, 20 May 2024 12:45:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.18.0..@fluentui/react-shared-contexts_v9.19.0)
### Minor changes
- feat(react-swatch-picker): added CustomStyleHooks ([PR #31389](https://github.com/microsoft/fluentui/pull/31389) by vkozlova@microsoft.com)
## [9.18.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.18.0)
Mon, 06 May 2024 12:55:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.17.0..@fluentui/react-shared-contexts_v9.18.0)
### Minor changes
- feat: adds TagPicker to custom style hooks ([PR #31272](https://github.com/microsoft/fluentui/pull/31272) by bernardo.sunderhus@gmail.com)
## [9.17.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.17.0)
Tue, 23 Apr 2024 08:17:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.16.0..@fluentui/react-shared-contexts_v9.17.0)
### Minor changes
- feat: Implement MenuItemSwitch component ([PR #31099](https://github.com/microsoft/fluentui/pull/31099) by lingfangao@hotmail.com)
## [9.16.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.16.0)
Tue, 02 Apr 2024 09:48:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.2..@fluentui/react-shared-contexts_v9.16.0)
### Minor changes
- deprecate unused ListItemButton exports ([PR #29760](https://github.com/microsoft/fluentui/pull/29760) by jirivyhnalek@microsoft.com)
## [9.15.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.2)
Mon, 18 Mar 2024 19:50:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.1..@fluentui/react-shared-contexts_v9.15.2)
### Patches
- Bump @fluentui/react-theme to v9.1.19 ([PR #30600](https://github.com/microsoft/fluentui/pull/30600) by beachball)
## [9.15.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.1)
Fri, 15 Mar 2024 21:43:49 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.0..@fluentui/react-shared-contexts_v9.15.1)
### Patches
- Bump @fluentui/react-theme to v9.1.18 ([PR #30740](https://github.com/microsoft/fluentui/pull/30740) by beachball)
## [9.15.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.0)
Thu, 07 Mar 2024 19:33:25 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.14.1..@fluentui/react-shared-contexts_v9.15.0)
### Minor changes
- feat: Deprecate legacy TeachingPopoverCarousel style hooks ([PR #30423](https://github.com/microsoft/fluentui/pull/30423) by mifraser@microsoft.com)
- Bump @fluentui/react-theme to v9.1.17 ([PR #30687](https://github.com/microsoft/fluentui/pull/30687) by beachball)
## [9.14.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.14.1)
Wed, 28 Feb 2024 02:34:18 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.14.0..@fluentui/react-shared-contexts_v9.14.1)
### Patches
- feat(swatch-picker): Added plain ColorSwatch sub component. ([PR #30544](https://github.com/microsoft/fluentui/pull/30544) by vkozlova@microsoft.com)
## [9.14.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.14.0)
Thu, 18 Jan 2024 14:25:02 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.2..@fluentui/react-shared-contexts_v9.14.0)
### Minor changes
- feat: export AnnounceProvider & useAnnounce() ([PR #30328](https://github.com/microsoft/fluentui/pull/30328) by olfedias@microsoft.com)
## [9.13.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.2)
Mon, 18 Dec 2023 14:40:46 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.1..@fluentui/react-shared-contexts_v9.13.2)
### Patches
- fix: add custom style hook for TimePicker compat. ([PR #30058](https://github.com/microsoft/fluentui/pull/30058) by yuanboxue@microsoft.com)
## [9.13.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.1)
Thu, 14 Dec 2023 09:58:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.0..@fluentui/react-shared-contexts_v9.13.1)
### Patches
- chore: disallow `window` and `document` access ([PR #29962](https://github.com/microsoft/fluentui/pull/29962) by seanmonahan@microsoft.com)
## [9.13.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.0)
Mon, 20 Nov 2023 09:55:09 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.12.0..@fluentui/react-shared-contexts_v9.13.0)
### Minor changes
- feat: TeachingPopover style hooks added ([PR #29782](https://github.com/microsoft/fluentui/pull/29782) by mifraser@microsoft.com)
## [9.12.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.12.0)
Thu, 09 Nov 2023 17:29:42 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.11.1..@fluentui/react-shared-contexts_v9.12.0)
### Minor changes
- feat: Add custom style hook types for List ([PR #29771](https://github.com/microsoft/fluentui/pull/29771) by jirivyhnalek@microsoft.com)
- Bump @fluentui/react-theme to v9.1.16 ([PR #29800](https://github.com/microsoft/fluentui/pull/29800) by beachball)
### Patches
- chore: use package.json#files setup instead of npmignore for all v9 libraries ([PR #29734](https://github.com/microsoft/fluentui/pull/29734) by martinhochel@microsoft.com)
## [9.11.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.11.1)
Wed, 01 Nov 2023 12:55:59 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.11.0..@fluentui/react-shared-contexts_v9.11.1)
### Patches
- Bump @fluentui/react-theme to v9.1.15 ([PR #29663](https://github.com/microsoft/fluentui/pull/29663) by beachball)
## [9.11.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.11.0)
Sat, 28 Oct 2023 23:35:58 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.10.0..@fluentui/react-shared-contexts_v9.11.0)
### Minor changes
- refactor: rename main DrawerOverlay/DrawerInline components ([PR #29523](https://github.com/microsoft/fluentui/pull/29523) by marcosvmmoura@gmail.com)
### Patches
- fix: invoke useCustomStyleHook_unstable() ([PR #29632](https://github.com/microsoft/fluentui/pull/29632) by olfedias@microsoft.com)
## [9.10.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.10.0)
Mon, 09 Oct 2023 20:45:43 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.2..@fluentui/react-shared-contexts_v9.10.0)
### Minor changes
- feat: Add MessageBar types to custom style hook context ([PR #29431](https://github.com/microsoft/fluentui/pull/29431) by lingfangao@hotmail.com)
## [9.9.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.2)
Mon, 02 Oct 2023 08:56:04 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.1..@fluentui/react-shared-contexts_v9.9.2)
### Patches
- feat: add custom styling hooks for Breadcrumb component and its sub-components ([PR #29318](https://github.com/microsoft/fluentui/pull/29318) by vkozlova@microsoft.com)
## [9.9.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.1)
Tue, 26 Sep 2023 17:49:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.0..@fluentui/react-shared-contexts_v9.9.1)
### Patches
- chore: trigger manual version bump after broken release ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by yuanboxue@microsoft.com)
- Bump @fluentui/react-theme to v9.1.14 ([PR #29303](https://github.com/microsoft/fluentui/pull/29303) by beachball)
## [9.9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.0)
Tue, 26 Sep 2023 15:31:49 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.8.1..@fluentui/react-shared-contexts_v9.9.0)
### Minor changes
- feat: add custom style hooks for tag components ([PR #29237](https://github.com/microsoft/fluentui/pull/29237) by yuanboxue@microsoft.com)
- Bump @fluentui/react-theme to v9.1.13 ([PR #29300](https://github.com/microsoft/fluentui/pull/29300) by beachball)
### Patches
- fix: bump swc core to mitigate transpilation memory leaks ([PR #29253](https://github.com/microsoft/fluentui/pull/29253) by martinhochel@microsoft.com)
## [9.8.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.8.1)
Wed, 20 Sep 2023 17:47:42 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.8.0..@fluentui/react-shared-contexts_v9.8.1)
### Patches
- chore: trigger manual version bump after broken release ([PR #29197](https://github.com/microsoft/fluentui/pull/29197) by martinhochel@microsoft.com)
## [9.8.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.8.0)
Wed, 20 Sep 2023 14:59:52 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.3..@fluentui/react-shared-contexts_v9.8.0)
### Minor changes
- feat: add custom styling hooks for Drawer subcomponents ([PR #29041](https://github.com/microsoft/fluentui/pull/29041) by marcosvmmoura@gmail.com)
## [9.7.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.3)
Tue, 05 Sep 2023 13:29:02 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.2..@fluentui/react-shared-contexts_v9.7.3)
### Patches
- bumps @swc/helpers version to 0.5.1 ([PR #28989](https://github.com/microsoft/fluentui/pull/28989) by bernardo.sunderhus@gmail.com)
- bumps react peer dependencies to v16.14.0 ([PR #28959](https://github.com/microsoft/fluentui/pull/28959) by bernardo.sunderhus@gmail.com)
- Bump @fluentui/react-theme to v9.1.12 ([PR #29056](https://github.com/microsoft/fluentui/pull/29056) by beachball)
## [9.7.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.2)
Wed, 09 Aug 2023 13:17:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.1..@fluentui/react-shared-contexts_v9.7.2)
### Patches
- Bump @fluentui/react-theme to v9.1.11 ([PR #28775](https://github.com/microsoft/fluentui/pull/28775) by beachball)
## [9.7.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.1)
Fri, 04 Aug 2023 08:52:58 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.0..@fluentui/react-shared-contexts_v9.7.1)
### Patches
- Bump @fluentui/react-theme to v9.1.10 ([commit](https://github.com/microsoft/fluentui/commit/0bf7d9438c1d0ff90cd2b28bc4cceb4f807afbca) by beachball)
## [9.7.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.0)
Tue, 01 Aug 2023 10:17:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.6.0..@fluentui/react-shared-contexts_v9.7.0)
### Minor changes
- adds Announce context ([PR #28654](https://github.com/microsoft/fluentui/pull/28654) by eysjiang@gmail.com)
## [9.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.6.0)
Mon, 03 Jul 2023 11:57:13 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.5.1..@fluentui/react-shared-contexts_v9.6.0)
### Minor changes
- feat: Background appearance context ([PR #28341](https://github.com/microsoft/fluentui/pull/28341) by lingfan.gao@microsoft.com)
- feat: export PortalMountNodeProvider & usePortalMountNode ([PR #28395](https://github.com/microsoft/fluentui/pull/28395) by olfedias@microsoft.com)
## [9.5.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.5.1)
Tue, 20 Jun 2023 12:39:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.5.0..@fluentui/react-shared-contexts_v9.5.1)
### Patches
- Bump @fluentui/react-theme to v9.1.9 ([PR #28229](https://github.com/microsoft/fluentui/pull/28229) by beachball)
## [9.5.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.5.0)
Wed, 24 May 2023 20:45:32 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.4.0..@fluentui/react-shared-contexts_v9.5.0)
### Minor changes
- feat: add style overrides for drawer components ([PR #27582](https://github.com/microsoft/fluentui/pull/27582) by marcosvmmoura@gmail.com)
## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.4.0)
Fri, 12 May 2023 20:27:41 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.2..@fluentui/react-shared-contexts_v9.4.0)
### Minor changes
- feat: add style overrides for drawer components ([PR #27581](https://github.com/microsoft/fluentui/pull/27581) by marcosvmmoura@gmail.com)
- Updated to provide single hook for noop tree-shaking ([PR #27491](https://github.com/microsoft/fluentui/pull/27491) by gcox@microsoft.com)
- Bump @fluentui/react-theme to v9.1.8 ([PR #27827](https://github.com/microsoft/fluentui/pull/27827) by beachball)
### Patches
- chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
## [9.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.2)
Tue, 21 Mar 2023 21:23:01 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.1..@fluentui/react-shared-contexts_v9.3.2)
### Patches
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
## [9.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.1)
Wed, 15 Mar 2023 10:19:53 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.0..@fluentui/react-shared-contexts_v9.3.1)
### Patches
- Bump @fluentui/react-theme to v9.1.6 ([PR #27213](https://github.com/microsoft/fluentui/pull/27213) by beachball)
## [9.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.0)
Wed, 08 Mar 2023 17:42:42 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.2.0..@fluentui/react-shared-contexts_v9.3.0)
### Minor changes
- fix: Removing internal checkmark custom styles hook ([PR #27085](https://github.com/microsoft/fluentui/pull/27085) by gcox@microsoft.com)
- feat: Added CustomStyleHooks types and context ([PR #26943](https://github.com/microsoft/fluentui/pull/26943) by gcox@microsoft.com)
## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.2.0)
Thu, 26 Jan 2023 13:31:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.5..@fluentui/react-shared-contexts_v9.2.0)
### Minor changes
- feat: Overrides context ([PR #25262](https://github.com/microsoft/fluentui/pull/25262) by miroslav.stastny@microsoft.com)
## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.4)
Wed, 21 Dec 2022 10:20:33 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.3..@fluentui/react-shared-contexts_v9.1.4)
### Patches
- Bump @fluentui/react-theme to v9.1.5 ([commit](https://github.com/microsoft/fluentui/commit/66bf89f634cad4a275e957d7a2214c7e73ff8c2e) by beachball)
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.3)
Tue, 20 Dec 2022 14:59:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.2..@fluentui/react-shared-contexts_v9.1.3)
### Patches
- Bump @fluentui/react-theme to v9.1.4 ([PR #26047](https://github.com/microsoft/fluentui/pull/26047) by beachball)
## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.2)
Mon, 05 Dec 2022 18:29:29 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.1..@fluentui/react-shared-contexts_v9.1.2)
### Patches
- Bump @fluentui/react-theme to v9.1.3 ([PR #25798](https://github.com/microsoft/fluentui/pull/25798) by beachball)
## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.1)
Fri, 11 Nov 2022 14:57:36 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.0..@fluentui/react-shared-contexts_v9.1.1)
### Patches
- fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
- Bump @fluentui/react-theme to v9.1.2 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.0)
Wed, 02 Nov 2022 11:58:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.2..@fluentui/react-shared-contexts_v9.1.0)
### Minor changes
- exposes internal methods and types that are used in the API surface ([PR #25405](https://github.com/microsoft/fluentui/pull/25405) by bernardo.sunderhus@gmail.com)
## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.2)
Thu, 20 Oct 2022 08:39:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.1..@fluentui/react-shared-contexts_v9.0.2)
### Patches
- chore: Bump react peer dependency to react 18. ([PR #25278](https://github.com/microsoft/fluentui/pull/25278) by mgodbolt@microsoft.com)
- Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.1)
Thu, 15 Sep 2022 09:49:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0..@fluentui/react-shared-contexts_v9.0.1)
### Patches
- chore: fix no-context-default-value lint violations ([PR #24276](https://github.com/microsoft/fluentui/pull/24276) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0)
Tue, 28 Jun 2022 15:13:58 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.11..@fluentui/react-shared-contexts_v9.0.0)
### Patches
- feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0 ([commit](https://github.com/microsoft/fluentui/commit/ba6c5d651559b91c815429c9a9357c4d5a390f3e) by beachball)
### Changes
- chore: Mark teams-prg owned APIs with @internal ([PR #23689](https://github.com/microsoft/fluentui/pull/23689) by lingfangao@hotmail.com)
- Update 9.0.0-rc dependencies to use caret range ([PR #23732](https://github.com/microsoft/fluentui/pull/23732) by lingfangao@hotmail.com)
## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.11)
Thu, 23 Jun 2022 14:25:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.10..@fluentui/react-shared-contexts_v9.0.0-rc.11)
### Changes
- Bump @fluentui/react-theme to v9.0.0-rc.10 ([PR #23608](https://github.com/microsoft/fluentui/pull/23608) by beachball)
## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.10)
Tue, 31 May 2022 21:28:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.9..@fluentui/react-shared-contexts_v9.0.0-rc.10)
### Changes
- remove unused MenuContext ([PR #23277](https://github.com/microsoft/fluentui/pull/23277) by olfedias@microsoft.com)
- remove useTheme from exports ([PR #23335](https://github.com/microsoft/fluentui/pull/23335) by me@levithomason.com)
- mark context hooks and providers to unstable ([PR #23325](https://github.com/microsoft/fluentui/pull/23325) by bernardo.sunderhus@gmail.com)
## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.9)
Mon, 23 May 2022 18:56:51 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.8..@fluentui/react-shared-contexts_v9.0.0-rc.9)
### Changes
- Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
Mon, 23 May 2022 12:13:38 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.7..@fluentui/react-shared-contexts_v9.0.0-rc.8)
### Changes
- feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
- Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
Thu, 05 May 2022 18:26:26 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.6..@fluentui/react-shared-contexts_v9.0.0-rc.7)
### Changes
- Removing star exports. ([PR #22808](https://github.com/microsoft/fluentui/pull/22808) by humberto_makoto@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.6)
Wed, 04 May 2022 13:26:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.5..@fluentui/react-shared-contexts_v9.0.0-rc.6)
### Changes
- Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.5)
Tue, 19 Apr 2022 19:16:52 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.4..@fluentui/react-shared-contexts_v9.0.0-rc.5)
### Changes
- Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.4)
Fri, 04 Mar 2022 05:17:29 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.3..@fluentui/react-shared-contexts_v9.0.0-rc.4)
### Changes
- Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com)
- Bump @fluentui/react-theme to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.3)
Fri, 18 Feb 2022 13:35:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.1..@fluentui/react-shared-contexts_v9.0.0-rc.3)
### Changes
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
Thu, 10 Feb 2022 08:50:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v9.0.0-rc.1)
### Changes
- make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
- Rename component hooks add the suffix \_unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
Thu, 25 Nov 2021 08:34:16 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.3..@fluentui/react-shared-contexts_v9.0.0-beta.4)
### Changes
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
Fri, 12 Nov 2021 13:25:32 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.2..@fluentui/react-shared-contexts_v9.0.0-beta.3)
### Changes
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
Wed, 27 Oct 2021 12:14:24 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.1..@fluentui/react-shared-contexts_v9.0.0-beta.2)
### Changes
- Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
Wed, 06 Oct 2021 10:37:22 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.28..@fluentui/react-shared-contexts_v9.0.0-beta.1)
### Changes
- Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
Fri, 01 Oct 2021 14:13:08 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.26..@fluentui/react-shared-contexts_v9.0.0-alpha.28)
### Changes
- Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
- Bump @fluentui/react-theme to v9.0.0-alpha.26 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
Wed, 29 Sep 2021 08:06:11 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.25..@fluentui/react-shared-contexts_v9.0.0-alpha.26)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.24 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
Tue, 21 Sep 2021 07:42:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.24..@fluentui/react-shared-contexts_v9.0.0-alpha.25)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.23 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
Fri, 10 Sep 2021 16:31:53 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.23..@fluentui/react-shared-contexts_v9.0.0-alpha.24)
### Changes
- chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
Tue, 24 Aug 2021 07:34:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.22..@fluentui/react-shared-contexts_v9.0.0-alpha.23)
### Changes
- Updating TypeScript type-only imports/exports to use import/export syntax. ([PR #19473](https://github.com/microsoft/fluentui/pull/19473) by dzearing@hotmail.com)
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
Fri, 20 Aug 2021 07:37:28 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.21..@fluentui/react-shared-contexts_v9.0.0-alpha.22)
### Changes
- Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
Fri, 13 Aug 2021 07:36:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.20..@fluentui/react-shared-contexts_v9.0.0-alpha.21)
### Changes
- create type for ThemeClassNameContext value and export it ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
Tue, 03 Aug 2021 07:39:30 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.19..@fluentui/react-shared-contexts_v9.0.0-alpha.20)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.8 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
Mon, 26 Jul 2021 07:37:30 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.18..@fluentui/react-shared-contexts_v9.0.0-alpha.19)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.19 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
Fri, 23 Jul 2021 07:38:19 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.17..@fluentui/react-shared-contexts_v9.0.0-alpha.18)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.18 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
Fri, 09 Jul 2021 07:39:31 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.16..@fluentui/react-shared-contexts_v9.0.0-alpha.17)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.7 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
Fri, 02 Jul 2021 07:37:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.15..@fluentui/react-shared-contexts_v9.0.0-alpha.16)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.16 ([PR #18655](https://github.com/microsoft/fluentui/pull/18655) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
Mon, 07 Jun 2021 07:38:15 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.14..@fluentui/react-shared-contexts_v9.0.0-alpha.15)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.1 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.6 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
Fri, 04 Jun 2021 07:37:23 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.13..@fluentui/react-shared-contexts_v9.0.0-alpha.14)
### Changes
- Modifying MinimalMenuProps target prop to only be React.Ref<HTMLElement> instead of React.Ref<HTMLElement | undefined>. ([PR #18168](https://github.com/microsoft/fluentui/pull/18168) by Humberto.Morimoto@microsoft.com)
## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
Thu, 03 Jun 2021 07:36:03 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.12..@fluentui/react-shared-contexts_v9.0.0-alpha.13)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.14 ([PR #18321](https://github.com/microsoft/fluentui/pull/18321) by miroslav.stastny@microsoft.com)
## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
Thu, 20 May 2021 07:41:54 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.11..@fluentui/react-shared-contexts_v9.0.0-alpha.12)
### Patches
- Bump @fluentui/eslint-plugin to v1.3.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.5 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
Wed, 19 May 2021 07:34:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.10..@fluentui/react-shared-contexts_v9.0.0-alpha.11)
### Changes
- chore: add more Babel plugins ([PR #18037](https://github.com/microsoft/fluentui/pull/18037) by olfedias@microsoft.com)
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
Thu, 13 May 2021 07:36:55 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.9..@fluentui/react-shared-contexts_v9.0.0-alpha.10)
### Changes
- set null as default value for ThemeContext ([PR #18156](https://github.com/microsoft/fluentui/pull/18156) by olfedias@microsoft.com)
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
Wed, 12 May 2021 07:36:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.8..@fluentui/react-shared-contexts_v9.0.0-alpha.9)
### Changes
- Add TooltipContext and TooltipManager interface ([PR #18043](https://github.com/microsoft/fluentui/pull/18043) by behowell@microsoft.com)
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
Fri, 30 Apr 2021 07:42:23 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.7..@fluentui/react-shared-contexts_v9.0.0-alpha.8)
### Patches
- Bump @fluentui/eslint-plugin to v1.2.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.4 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
### Changes
- Upgrade to ts 4.0 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
Fri, 23 Apr 2021 07:37:10 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.6..@fluentui/react-shared-contexts_v9.0.0-alpha.7)
### Patches
- Bump @fluentui/eslint-plugin to v1.1.1 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.3 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
Tue, 20 Apr 2021 07:31:35 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.5..@fluentui/react-shared-contexts_v9.0.0-alpha.6)
### Changes
- Rename internal document to targetDocument ([PR #17827](https://github.com/microsoft/fluentui/pull/17827) by lingfan.gao@microsoft.com)
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
Fri, 16 Apr 2021 18:08:21 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.4..@fluentui/react-shared-contexts_v9.0.0-alpha.5)
### Changes
- Add ThemeClassNameContext for CSS variable class ([PR #17794](https://github.com/microsoft/fluentui/pull/17794) by lingfan.gao@microsoft.com)
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
Thu, 08 Apr 2021 07:33:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.3..@fluentui/react-shared-contexts_v9.0.0-alpha.4)
### Changes
- Bump @fluentui/react-theme to v9.0.0-alpha.8 ([PR #17676](https://github.com/microsoft/fluentui/pull/17676) by Humberto.Morimoto@microsoft.com)
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
Wed, 31 Mar 2021 00:53:43 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.2..@fluentui/react-shared-contexts_v9.0.0-alpha.3)
### Patches
- Bump @fluentui/eslint-plugin to v1.1.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.2 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
Tue, 30 Mar 2021 07:34:45 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.11..@fluentui/react-shared-contexts_v9.0.0-alpha.2)
### Changes
- chore: restore "sideEffects" to enable treeshaking ([PR #17584](https://github.com/microsoft/fluentui/pull/17584) by olfedias@microsoft.com)
- Lifts ThemeContext and FluentProviderContext to react-shared-contexts ([PR #17586](https://github.com/microsoft/fluentui/pull/17586) by bsunderhus@microsoft.com)
## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
Mon, 15 Mar 2021 07:36:20 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.10..@fluentui/react-shared-contexts_v1.0.0-beta.11)
### Changes
- Remove set-version references ([PR #17381](https://github.com/microsoft/fluentui/pull/17381) by elcraig@microsoft.com)
## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
Fri, 26 Feb 2021 01:16:27 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.9..@fluentui/react-shared-contexts_v1.0.0-beta.10)
### Patches
- Bump @fluentui/eslint-plugin to v1.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/scripts to v1.0.0 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/set-version to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
- Bump @fluentui/test-utilities to v8.0.1 ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
### Changes
- Update references to major-bumped packages ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
Mon, 22 Feb 2021 12:26:22 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.8..@fluentui/react-shared-contexts_v1.0.0-beta.9)
### Changes
- Bump @fluentui/test-utilities to v8.0.0-beta.9 ([PR #17061](https://github.com/microsoft/fluentui/pull/17061) by elcraig@microsoft.com)
## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
Thu, 18 Feb 2021 19:38:50 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.7..@fluentui/react-shared-contexts_v1.0.0-beta.8)
### Changes
- Allow React 17 in peerDependencies ([PR #17048](https://github.com/microsoft/fluentui/pull/17048) by elcraig@microsoft.com)
## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
Thu, 18 Feb 2021 12:27:34 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.6..@fluentui/react-shared-contexts_v1.0.0-beta.7)
### Changes
- Bump @fluentui/test-utilities to v8.0.0-beta.7 ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
Mon, 15 Feb 2021 12:22:00 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.5..@fluentui/react-shared-contexts_v1.0.0-beta.6)
### Changes
- Bump @fluentui/test-utilities to v8.0.0-beta.6 ([PR #16880](https://github.com/microsoft/fluentui/pull/16880) by xgao@microsoft.com)
## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
Thu, 21 Jan 2021 12:36:12 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.1..@fluentui/react-shared-contexts_v1.0.0-beta.4)
### Changes
- Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
Fri, 06 Nov 2020 12:34:34 GMT
### Changes
- Creating @fluentui/react-shared-contexts package and moving MenuContext from @fluentui/react-button into it. ([PR #15826](https://github.com/microsoft/fluentui/pull/15826) by humbertomakotomorimoto@gmail.com)
+15
View File
@@ -0,0 +1,15 @@
Fluent UI React - react-shared-contexts
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Note: Usage of the fonts and icons referenced in Fluent UI React is subject to the terms listed at https://aka.ms/fluentui-assets-license
+7
View File
@@ -0,0 +1,7 @@
# @fluentui/react-shared-contexts
**Shared contexts for [Fluent UI React](https://react.fluentui.dev)**
This package includes a number of exported React Contexts that are shared by Fluent UI components.
See [GitHub](https://github.com/microsoft/fluentui) for more details on the Fluent UI React project and packages within.
+606
View File
@@ -0,0 +1,606 @@
import * as React_2 from 'react';
import type { Theme } from '@fluentui/react-theme';
declare type AnnounceContextValue = {
announce: (message: string, options?: AnnounceOptions) => void;
};
export { AnnounceContextValue }
export { AnnounceContextValue as AnnounceContextValue_unstable }
/**
* Defines options for a message to be announced.
*/
export declare type AnnounceOptions = {
alert?: boolean;
/**
* A unique identifier for the message. If a message with the same id is already announced, it will be replaced.
*/
batchId?: string;
/**
* Indicates that the message announcement can be interrupted by another message and will be announced only
* user is idle.
*/
polite?: boolean;
/** Defines the priority of the message. Higher priority messages will be announced first. */
priority?: number;
};
declare const AnnounceProvider: React_2.Provider<AnnounceContextValue | undefined>;
export { AnnounceProvider }
export { AnnounceProvider as AnnounceProvider_unstable }
/**
* @internal
*/
export declare type BackgroundAppearanceContextValue = 'inverted' | undefined;
/**
* @internal
*/
export declare const BackgroundAppearanceProvider: React_2.Provider<BackgroundAppearanceContextValue>;
declare type CustomStyleHook = (state: unknown) => void;
/**
* @internal
*/
export declare const CustomStyleHooksContext_unstable: React_2.Context<Partial<{
useAccordionHeaderStyles_unstable: CustomStyleHook;
useAccordionItemStyles_unstable: CustomStyleHook;
useAccordionPanelStyles_unstable: CustomStyleHook;
useAccordionStyles_unstable: CustomStyleHook;
useAvatarStyles_unstable: CustomStyleHook;
useAvatarGroupStyles_unstable: CustomStyleHook;
useAvatarGroupItemStyles_unstable: CustomStyleHook;
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
useBadgeStyles_unstable: CustomStyleHook;
useCounterBadgeStyles_unstable: CustomStyleHook;
useCardHeaderStyles_unstable: CustomStyleHook;
useCardStyles_unstable: CustomStyleHook;
useCardFooterStyles_unstable: CustomStyleHook;
useCardPreviewStyles_unstable: CustomStyleHook;
usePresenceBadgeStyles_unstable: CustomStyleHook;
useButtonStyles_unstable: CustomStyleHook;
useCompoundButtonStyles_unstable: CustomStyleHook;
useMenuButtonStyles_unstable: CustomStyleHook;
useSplitButtonStyles_unstable: CustomStyleHook;
useToggleButtonStyles_unstable: CustomStyleHook;
useCheckboxStyles_unstable: CustomStyleHook;
useComboboxStyles_unstable: CustomStyleHook;
useDropdownStyles_unstable: CustomStyleHook;
useListboxStyles_unstable: CustomStyleHook;
useListStyles_unstable: CustomStyleHook;
useListItemStyles_unstable: CustomStyleHook;
useListItemButtonStyles_unstable: CustomStyleHook;
useOptionStyles_unstable: CustomStyleHook;
useOptionGroupStyles_unstable: CustomStyleHook;
useDividerStyles_unstable: CustomStyleHook;
useInputStyles_unstable: CustomStyleHook;
useImageStyles_unstable: CustomStyleHook;
useLabelStyles_unstable: CustomStyleHook;
useLinkStyles_unstable: CustomStyleHook;
useMenuDividerStyles_unstable: CustomStyleHook;
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
useMenuGroupStyles_unstable: CustomStyleHook;
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
useMenuItemSwitchStyles_unstable: CustomStyleHook;
useMenuItemRadioStyles_unstable: CustomStyleHook;
useMenuItemStyles_unstable: CustomStyleHook;
useMenuItemLinkStyles_unstable: CustomStyleHook;
useMenuListStyles_unstable: CustomStyleHook;
useMenuPopoverStyles_unstable: CustomStyleHook;
useMenuSplitGroupStyles_unstable: CustomStyleHook;
usePersonaStyles_unstable: CustomStyleHook;
usePopoverSurfaceStyles_unstable: CustomStyleHook;
useRadioGroupStyles_unstable: CustomStyleHook;
useRadioStyles_unstable: CustomStyleHook;
useSelectStyles_unstable: CustomStyleHook;
useSliderStyles_unstable: CustomStyleHook;
useSpinButtonStyles_unstable: CustomStyleHook;
useSpinnerStyles_unstable: CustomStyleHook;
useSwitchStyles_unstable: CustomStyleHook;
useTabStyles_unstable: CustomStyleHook;
useTabListStyles_unstable: CustomStyleHook;
useTextStyles_unstable: CustomStyleHook;
useTextareaStyles_unstable: CustomStyleHook;
useTooltipStyles_unstable: CustomStyleHook;
useDialogTitleStyles_unstable: CustomStyleHook;
useDialogBodyStyles_unstable: CustomStyleHook;
useDialogActionsStyles_unstable: CustomStyleHook;
useDialogSurfaceStyles_unstable: CustomStyleHook;
useDialogContentStyles_unstable: CustomStyleHook;
useProgressBarStyles_unstable: CustomStyleHook;
useToolbarButtonStyles_unstable: CustomStyleHook;
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
useToolbarGroupStyles_unstable: CustomStyleHook;
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
useToolbarDividerStyles_unstable: CustomStyleHook;
useToolbarStyles_unstable: CustomStyleHook;
useTableCellStyles_unstable: CustomStyleHook;
useTableRowStyles_unstable: CustomStyleHook;
useTableBodyStyles_unstable: CustomStyleHook;
useTableStyles_unstable: CustomStyleHook;
useTableHeaderStyles_unstable: CustomStyleHook;
useTableHeaderCellStyles_unstable: CustomStyleHook;
useTableResizeHandleStyles_unstable: CustomStyleHook;
useTableSelectionCellStyles_unstable: CustomStyleHook;
useTableCellActionsStyles_unstable: CustomStyleHook;
useTableCellLayoutStyles_unstable: CustomStyleHook;
useDataGridCellStyles_unstable: CustomStyleHook;
useDataGridRowStyles_unstable: CustomStyleHook;
useDataGridBodyStyles_unstable: CustomStyleHook;
useDataGridStyles_unstable: CustomStyleHook;
useDataGridHeaderStyles_unstable: CustomStyleHook;
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
useDrawerStyles_unstable: CustomStyleHook;
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
useDrawerInlineStyles_unstable: CustomStyleHook;
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
useDrawerOverlayStyles_unstable: CustomStyleHook;
useInlineDrawerStyles_unstable: CustomStyleHook;
useOverlayDrawerStyles_unstable: CustomStyleHook;
useDrawerHeaderStyles_unstable: CustomStyleHook;
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
useDrawerBodyStyles_unstable: CustomStyleHook;
useDrawerFooterStyles_unstable: CustomStyleHook;
useInteractionTagStyles_unstable: CustomStyleHook;
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
useTagStyles_unstable: CustomStyleHook;
useTagGroupStyles_unstable: CustomStyleHook;
useBreadcrumbStyles_unstable: CustomStyleHook;
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
useBreadcrumbItemStyles_unstable: CustomStyleHook;
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
useMessageBarStyles_unstable: CustomStyleHook;
useMessageBarBodyStyles_unstable: CustomStyleHook;
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
useTeachingPopoverStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
useTimePickerCompatStyles_unstable: CustomStyleHook;
useTagPickerInputStyles_unstable: CustomStyleHook;
useTagPickerButtonStyles_unstable: CustomStyleHook;
useTagPickerControlStyles_unstable: CustomStyleHook;
useTagPickerGroupStyles_unstable: CustomStyleHook;
useTagPickerListStyles_unstable: CustomStyleHook;
useTagPickerOptionStyles_unstable: CustomStyleHook;
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
useColorSwatchStyles_unstable: CustomStyleHook;
useImageSwatchStyles_unstable: CustomStyleHook;
useEmptySwatchStyles_unstable: CustomStyleHook;
useSwatchPickerRowStyles_unstable: CustomStyleHook;
useSwatchPickerStyles_unstable: CustomStyleHook;
useCarouselViewportStyles_unstable: CustomStyleHook;
useCarouselSliderStyles_unstable: CustomStyleHook;
useCarouselStyles_unstable: CustomStyleHook;
useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;
useCarouselButtonStyles_unstable: CustomStyleHook;
useCarouselCardStyles_unstable: CustomStyleHook;
useCarouselNavStyles_unstable: CustomStyleHook;
useCarouselNavButtonStyles_unstable: CustomStyleHook;
useCarouselNavContainerStyles_unstable: CustomStyleHook;
useCarouselNavImageButtonStyles_unstable: CustomStyleHook;
}> | undefined>;
export declare type CustomStyleHooksContextValue_unstable = Partial<{
useAccordionHeaderStyles_unstable: CustomStyleHook;
useAccordionItemStyles_unstable: CustomStyleHook;
useAccordionPanelStyles_unstable: CustomStyleHook;
useAccordionStyles_unstable: CustomStyleHook;
useAvatarStyles_unstable: CustomStyleHook;
useAvatarGroupStyles_unstable: CustomStyleHook;
useAvatarGroupItemStyles_unstable: CustomStyleHook;
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
useBadgeStyles_unstable: CustomStyleHook;
useCounterBadgeStyles_unstable: CustomStyleHook;
useCardHeaderStyles_unstable: CustomStyleHook;
useCardStyles_unstable: CustomStyleHook;
useCardFooterStyles_unstable: CustomStyleHook;
useCardPreviewStyles_unstable: CustomStyleHook;
usePresenceBadgeStyles_unstable: CustomStyleHook;
useButtonStyles_unstable: CustomStyleHook;
useCompoundButtonStyles_unstable: CustomStyleHook;
useMenuButtonStyles_unstable: CustomStyleHook;
useSplitButtonStyles_unstable: CustomStyleHook;
useToggleButtonStyles_unstable: CustomStyleHook;
useCheckboxStyles_unstable: CustomStyleHook;
useComboboxStyles_unstable: CustomStyleHook;
useDropdownStyles_unstable: CustomStyleHook;
useListboxStyles_unstable: CustomStyleHook;
useListStyles_unstable: CustomStyleHook;
useListItemStyles_unstable: CustomStyleHook;
useListItemButtonStyles_unstable: CustomStyleHook;
useOptionStyles_unstable: CustomStyleHook;
useOptionGroupStyles_unstable: CustomStyleHook;
useDividerStyles_unstable: CustomStyleHook;
useInputStyles_unstable: CustomStyleHook;
useImageStyles_unstable: CustomStyleHook;
useLabelStyles_unstable: CustomStyleHook;
useLinkStyles_unstable: CustomStyleHook;
useMenuDividerStyles_unstable: CustomStyleHook;
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
useMenuGroupStyles_unstable: CustomStyleHook;
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
useMenuItemSwitchStyles_unstable: CustomStyleHook;
useMenuItemRadioStyles_unstable: CustomStyleHook;
useMenuItemStyles_unstable: CustomStyleHook;
useMenuItemLinkStyles_unstable: CustomStyleHook;
useMenuListStyles_unstable: CustomStyleHook;
useMenuPopoverStyles_unstable: CustomStyleHook;
useMenuSplitGroupStyles_unstable: CustomStyleHook;
usePersonaStyles_unstable: CustomStyleHook;
usePopoverSurfaceStyles_unstable: CustomStyleHook;
useRadioGroupStyles_unstable: CustomStyleHook;
useRadioStyles_unstable: CustomStyleHook;
useSelectStyles_unstable: CustomStyleHook;
useSliderStyles_unstable: CustomStyleHook;
useSpinButtonStyles_unstable: CustomStyleHook;
useSpinnerStyles_unstable: CustomStyleHook;
useSwitchStyles_unstable: CustomStyleHook;
useTabStyles_unstable: CustomStyleHook;
useTabListStyles_unstable: CustomStyleHook;
useTextStyles_unstable: CustomStyleHook;
useTextareaStyles_unstable: CustomStyleHook;
useTooltipStyles_unstable: CustomStyleHook;
useDialogTitleStyles_unstable: CustomStyleHook;
useDialogBodyStyles_unstable: CustomStyleHook;
useDialogActionsStyles_unstable: CustomStyleHook;
useDialogSurfaceStyles_unstable: CustomStyleHook;
useDialogContentStyles_unstable: CustomStyleHook;
useProgressBarStyles_unstable: CustomStyleHook;
useToolbarButtonStyles_unstable: CustomStyleHook;
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
useToolbarGroupStyles_unstable: CustomStyleHook;
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
useToolbarDividerStyles_unstable: CustomStyleHook;
useToolbarStyles_unstable: CustomStyleHook;
useTableCellStyles_unstable: CustomStyleHook;
useTableRowStyles_unstable: CustomStyleHook;
useTableBodyStyles_unstable: CustomStyleHook;
useTableStyles_unstable: CustomStyleHook;
useTableHeaderStyles_unstable: CustomStyleHook;
useTableHeaderCellStyles_unstable: CustomStyleHook;
useTableResizeHandleStyles_unstable: CustomStyleHook;
useTableSelectionCellStyles_unstable: CustomStyleHook;
useTableCellActionsStyles_unstable: CustomStyleHook;
useTableCellLayoutStyles_unstable: CustomStyleHook;
useDataGridCellStyles_unstable: CustomStyleHook;
useDataGridRowStyles_unstable: CustomStyleHook;
useDataGridBodyStyles_unstable: CustomStyleHook;
useDataGridStyles_unstable: CustomStyleHook;
useDataGridHeaderStyles_unstable: CustomStyleHook;
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
useDrawerStyles_unstable: CustomStyleHook;
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
useDrawerInlineStyles_unstable: CustomStyleHook;
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
useDrawerOverlayStyles_unstable: CustomStyleHook;
useInlineDrawerStyles_unstable: CustomStyleHook;
useOverlayDrawerStyles_unstable: CustomStyleHook;
useDrawerHeaderStyles_unstable: CustomStyleHook;
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
useDrawerBodyStyles_unstable: CustomStyleHook;
useDrawerFooterStyles_unstable: CustomStyleHook;
useInteractionTagStyles_unstable: CustomStyleHook;
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
useTagStyles_unstable: CustomStyleHook;
useTagGroupStyles_unstable: CustomStyleHook;
useBreadcrumbStyles_unstable: CustomStyleHook;
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
useBreadcrumbItemStyles_unstable: CustomStyleHook;
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
useMessageBarStyles_unstable: CustomStyleHook;
useMessageBarBodyStyles_unstable: CustomStyleHook;
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
useTeachingPopoverStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
useTimePickerCompatStyles_unstable: CustomStyleHook;
useTagPickerInputStyles_unstable: CustomStyleHook;
useTagPickerButtonStyles_unstable: CustomStyleHook;
useTagPickerControlStyles_unstable: CustomStyleHook;
useTagPickerGroupStyles_unstable: CustomStyleHook;
useTagPickerListStyles_unstable: CustomStyleHook;
useTagPickerOptionStyles_unstable: CustomStyleHook;
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
useColorSwatchStyles_unstable: CustomStyleHook;
useImageSwatchStyles_unstable: CustomStyleHook;
useEmptySwatchStyles_unstable: CustomStyleHook;
useSwatchPickerRowStyles_unstable: CustomStyleHook;
useSwatchPickerStyles_unstable: CustomStyleHook;
useCarouselViewportStyles_unstable: CustomStyleHook;
useCarouselSliderStyles_unstable: CustomStyleHook;
useCarouselStyles_unstable: CustomStyleHook;
useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;
useCarouselButtonStyles_unstable: CustomStyleHook;
useCarouselCardStyles_unstable: CustomStyleHook;
useCarouselNavStyles_unstable: CustomStyleHook;
useCarouselNavButtonStyles_unstable: CustomStyleHook;
useCarouselNavContainerStyles_unstable: CustomStyleHook;
useCarouselNavImageButtonStyles_unstable: CustomStyleHook;
}>;
/**
* @internal
*/
export declare const CustomStyleHooksProvider_unstable: React_2.Provider<Partial<{
useAccordionHeaderStyles_unstable: CustomStyleHook;
useAccordionItemStyles_unstable: CustomStyleHook;
useAccordionPanelStyles_unstable: CustomStyleHook;
useAccordionStyles_unstable: CustomStyleHook;
useAvatarStyles_unstable: CustomStyleHook;
useAvatarGroupStyles_unstable: CustomStyleHook;
useAvatarGroupItemStyles_unstable: CustomStyleHook;
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
useBadgeStyles_unstable: CustomStyleHook;
useCounterBadgeStyles_unstable: CustomStyleHook;
useCardHeaderStyles_unstable: CustomStyleHook;
useCardStyles_unstable: CustomStyleHook;
useCardFooterStyles_unstable: CustomStyleHook;
useCardPreviewStyles_unstable: CustomStyleHook;
usePresenceBadgeStyles_unstable: CustomStyleHook;
useButtonStyles_unstable: CustomStyleHook;
useCompoundButtonStyles_unstable: CustomStyleHook;
useMenuButtonStyles_unstable: CustomStyleHook;
useSplitButtonStyles_unstable: CustomStyleHook;
useToggleButtonStyles_unstable: CustomStyleHook;
useCheckboxStyles_unstable: CustomStyleHook;
useComboboxStyles_unstable: CustomStyleHook;
useDropdownStyles_unstable: CustomStyleHook;
useListboxStyles_unstable: CustomStyleHook;
useListStyles_unstable: CustomStyleHook;
useListItemStyles_unstable: CustomStyleHook;
useListItemButtonStyles_unstable: CustomStyleHook;
useOptionStyles_unstable: CustomStyleHook;
useOptionGroupStyles_unstable: CustomStyleHook;
useDividerStyles_unstable: CustomStyleHook;
useInputStyles_unstable: CustomStyleHook;
useImageStyles_unstable: CustomStyleHook;
useLabelStyles_unstable: CustomStyleHook;
useLinkStyles_unstable: CustomStyleHook;
useMenuDividerStyles_unstable: CustomStyleHook;
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
useMenuGroupStyles_unstable: CustomStyleHook;
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
useMenuItemSwitchStyles_unstable: CustomStyleHook;
useMenuItemRadioStyles_unstable: CustomStyleHook;
useMenuItemStyles_unstable: CustomStyleHook;
useMenuItemLinkStyles_unstable: CustomStyleHook;
useMenuListStyles_unstable: CustomStyleHook;
useMenuPopoverStyles_unstable: CustomStyleHook;
useMenuSplitGroupStyles_unstable: CustomStyleHook;
usePersonaStyles_unstable: CustomStyleHook;
usePopoverSurfaceStyles_unstable: CustomStyleHook;
useRadioGroupStyles_unstable: CustomStyleHook;
useRadioStyles_unstable: CustomStyleHook;
useSelectStyles_unstable: CustomStyleHook;
useSliderStyles_unstable: CustomStyleHook;
useSpinButtonStyles_unstable: CustomStyleHook;
useSpinnerStyles_unstable: CustomStyleHook;
useSwitchStyles_unstable: CustomStyleHook;
useTabStyles_unstable: CustomStyleHook;
useTabListStyles_unstable: CustomStyleHook;
useTextStyles_unstable: CustomStyleHook;
useTextareaStyles_unstable: CustomStyleHook;
useTooltipStyles_unstable: CustomStyleHook;
useDialogTitleStyles_unstable: CustomStyleHook;
useDialogBodyStyles_unstable: CustomStyleHook;
useDialogActionsStyles_unstable: CustomStyleHook;
useDialogSurfaceStyles_unstable: CustomStyleHook;
useDialogContentStyles_unstable: CustomStyleHook;
useProgressBarStyles_unstable: CustomStyleHook;
useToolbarButtonStyles_unstable: CustomStyleHook;
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
useToolbarGroupStyles_unstable: CustomStyleHook;
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
useToolbarDividerStyles_unstable: CustomStyleHook;
useToolbarStyles_unstable: CustomStyleHook;
useTableCellStyles_unstable: CustomStyleHook;
useTableRowStyles_unstable: CustomStyleHook;
useTableBodyStyles_unstable: CustomStyleHook;
useTableStyles_unstable: CustomStyleHook;
useTableHeaderStyles_unstable: CustomStyleHook;
useTableHeaderCellStyles_unstable: CustomStyleHook;
useTableResizeHandleStyles_unstable: CustomStyleHook;
useTableSelectionCellStyles_unstable: CustomStyleHook;
useTableCellActionsStyles_unstable: CustomStyleHook;
useTableCellLayoutStyles_unstable: CustomStyleHook;
useDataGridCellStyles_unstable: CustomStyleHook;
useDataGridRowStyles_unstable: CustomStyleHook;
useDataGridBodyStyles_unstable: CustomStyleHook;
useDataGridStyles_unstable: CustomStyleHook;
useDataGridHeaderStyles_unstable: CustomStyleHook;
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
useDrawerStyles_unstable: CustomStyleHook;
/** @deprecated Use useInlineDrawerStyles_unstable instead. */
useDrawerInlineStyles_unstable: CustomStyleHook;
/** @deprecated Use useOverlayDrawerStyles_unstable instead. */
useDrawerOverlayStyles_unstable: CustomStyleHook;
useInlineDrawerStyles_unstable: CustomStyleHook;
useOverlayDrawerStyles_unstable: CustomStyleHook;
useDrawerHeaderStyles_unstable: CustomStyleHook;
useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;
useDrawerHeaderTitleStyles_unstable: CustomStyleHook;
useDrawerBodyStyles_unstable: CustomStyleHook;
useDrawerFooterStyles_unstable: CustomStyleHook;
useInteractionTagStyles_unstable: CustomStyleHook;
useInteractionTagPrimaryStyles_unstable: CustomStyleHook;
useInteractionTagSecondaryStyles_unstable: CustomStyleHook;
useTagStyles_unstable: CustomStyleHook;
useTagGroupStyles_unstable: CustomStyleHook;
useBreadcrumbStyles_unstable: CustomStyleHook;
useBreadcrumbButtonStyles_unstable: CustomStyleHook;
useBreadcrumbItemStyles_unstable: CustomStyleHook;
useBreadcrumbDividerStyles_unstable: CustomStyleHook;
useMessageBarStyles_unstable: CustomStyleHook;
useMessageBarBodyStyles_unstable: CustomStyleHook;
useMessageBarTitleStyles_unstable: CustomStyleHook;
useMessageBarActionsStyles_unstable: CustomStyleHook;
useMessageBarGroupStyles_unstable: CustomStyleHook;
useToasterStyles_unstable: CustomStyleHook;
/** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */
useTeachingPopoverStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */
useTeachingPopoverActionsStyles_unstable: CustomStyleHook;
useTeachingPopoverBodyStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */
useTeachingPopoverButtonStyles_unstable: CustomStyleHook;
useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;
useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;
/** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */
useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;
useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;
useTeachingPopoverTitleStyles_unstable: CustomStyleHook;
useTimePickerCompatStyles_unstable: CustomStyleHook;
useTagPickerInputStyles_unstable: CustomStyleHook;
useTagPickerButtonStyles_unstable: CustomStyleHook;
useTagPickerControlStyles_unstable: CustomStyleHook;
useTagPickerGroupStyles_unstable: CustomStyleHook;
useTagPickerListStyles_unstable: CustomStyleHook;
useTagPickerOptionStyles_unstable: CustomStyleHook;
useTagPickerOptionGroupStyles_unstable: CustomStyleHook;
useColorSwatchStyles_unstable: CustomStyleHook;
useImageSwatchStyles_unstable: CustomStyleHook;
useEmptySwatchStyles_unstable: CustomStyleHook;
useSwatchPickerRowStyles_unstable: CustomStyleHook;
useSwatchPickerStyles_unstable: CustomStyleHook;
useCarouselViewportStyles_unstable: CustomStyleHook;
useCarouselSliderStyles_unstable: CustomStyleHook;
useCarouselStyles_unstable: CustomStyleHook;
useCarouselAutoplayButtonStyles_unstable: CustomStyleHook;
useCarouselButtonStyles_unstable: CustomStyleHook;
useCarouselCardStyles_unstable: CustomStyleHook;
useCarouselNavStyles_unstable: CustomStyleHook;
useCarouselNavButtonStyles_unstable: CustomStyleHook;
useCarouselNavContainerStyles_unstable: CustomStyleHook;
useCarouselNavImageButtonStyles_unstable: CustomStyleHook;
}> | undefined>;
/**
* @internal
*/
export declare type OverridesContextValue_unstable = {
inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';
};
/**
* @internal
*/
export declare const OverridesProvider_unstable: React_2.Provider<OverridesContextValue_unstable | undefined>;
declare type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;
/**
* @internal
*/
export declare const PortalMountNodeProvider: React_2.Provider<PortalMountNodeContextValue>;
/**
* @internal
*/
export declare const Provider_unstable: React_2.Provider<ProviderContextValue_unstable>;
export declare type ProviderContextValue_unstable = {
/** Sets the direction of text & generated styles. */
dir: 'ltr' | 'rtl';
/** Provides the document, can be undefined during SSR render. */
targetDocument?: Document;
};
export declare type ThemeClassNameContextValue_unstable = string;
export declare const ThemeClassNameProvider_unstable: React_2.Provider<string>;
/**
* @internal
*/
export declare const ThemeContext_unstable: React_2.Context<ThemeContextValue_unstable>;
export declare type ThemeContextValue_unstable = Theme | Partial<Theme> | undefined;
/**
* @internal
*/
export declare const ThemeProvider_unstable: React_2.Provider<ThemeContextValue_unstable>;
/**
* The context provided by TooltipProvider
*/
export declare type TooltipVisibilityContextValue_unstable = {
/**
* When a tooltip is shown, it sets itself as the visibleTooltip.
* The next tooltip to become visible can use it to hide the previous tooltip immediately.
*/
visibleTooltip?: {
hide: () => void;
};
};
/**
* @internal
*/
export declare const TooltipVisibilityProvider_unstable: React_2.Provider<TooltipVisibilityContextValue_unstable>;
/**
* Returns a function that can be used to announce messages to screen readers.
*/
declare function useAnnounce(): AnnounceContextValue;
export { useAnnounce }
export { useAnnounce as useAnnounce_unstable }
export declare function useBackgroundAppearance(): BackgroundAppearanceContextValue;
/**
* Gets a custom style hook
* @param hook - One of the hook properties in CustomStyleHooksContextValue
* @returns The corresponding hook when defined, otherwise a no-op function.
*/
export declare const useCustomStyleHook_unstable: (hook: keyof CustomStyleHooksContextValue_unstable) => CustomStyleHook;
export declare function useFluent_unstable(): ProviderContextValue_unstable;
export declare function useOverrides_unstable(): OverridesContextValue_unstable;
export declare function usePortalMountNode(): PortalMountNodeContextValue;
/**
* @returns CSS class that applies css variables
*/
export declare function useThemeClassName_unstable(): ThemeClassNameContextValue_unstable;
export declare function useTooltipVisibility_unstable(): TooltipVisibilityContextValue_unstable;
export { }
@@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AnnounceProvider: function() {
return AnnounceProvider;
},
useAnnounce: function() {
return useAnnounce;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* @internal
*/ const AnnounceContext = _react.createContext(undefined);
const AnnounceProvider = AnnounceContext.Provider;
function useAnnounce() {
var _React_useContext;
return (_React_useContext = _react.useContext(AnnounceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {
announce: ()=>undefined
};
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/AnnounceContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAgCaA,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"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AnnounceProvider: function() {
return _AnnounceContext.AnnounceProvider;
},
useAnnounce: function() {
return _AnnounceContext.useAnnounce;
}
});
const _AnnounceContext = require("./AnnounceContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/index.ts"],"sourcesContent":["export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext';\nexport { AnnounceProvider, useAnnounce } from './AnnounceContext';\n"],"names":["AnnounceProvider","useAnnounce"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,gBAAgB;eAAhBA,iCAAgB;;IAAEC,WAAW;eAAXA,4BAAW;;;iCAAQ"}
@@ -0,0 +1,28 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
BackgroundAppearanceContext: function() {
return BackgroundAppearanceContext;
},
BackgroundAppearanceProvider: function() {
return BackgroundAppearanceProvider;
},
useBackgroundAppearance: function() {
return useBackgroundAppearance;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const BackgroundAppearanceContext = _react.createContext(undefined);
const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;
function useBackgroundAppearance() {
return _react.useContext(BackgroundAppearanceContext);
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAUaA,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"}
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
BackgroundAppearanceContext: function() {
return _BackgroundAppearanceContext.BackgroundAppearanceContext;
},
BackgroundAppearanceProvider: function() {
return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
},
useBackgroundAppearance: function() {
return _BackgroundAppearanceContext.useBackgroundAppearance;
}
});
const _BackgroundAppearanceContext = require("./BackgroundAppearanceContext");
@@ -0,0 +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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEEA,2BAA2B;eAA3BA,wDAA2B;;IAC3BC,4BAA4B;eAA5BA,yDAA4B;;IAC5BC,uBAAuB;eAAvBA,oDAAuB;;;6CAClB"}
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
CustomStyleHooksContext: function() {
return _index.CustomStyleHooksContext;
},
CustomStyleHooksProvider: function() {
return _index.CustomStyleHooksProvider;
},
useCustomStyleHook: function() {
return _index.useCustomStyleHook;
}
});
const _index = require("./CustomStyleHooksContext/index");
@@ -0,0 +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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,uBAAuB;eAAvBA,8BAAuB;;IAAEC,wBAAwB;eAAxBA,+BAAwB;;IAAEC,kBAAkB;eAAlBA,yBAAkB;;;uBAAQ"}
@@ -0,0 +1,31 @@
/* eslint-disable */ "use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
CustomStyleHooksContext: function() {
return CustomStyleHooksContext;
},
CustomStyleHooksProvider: function() {
return CustomStyleHooksProvider;
},
useCustomStyleHook: function() {
return useCustomStyleHook;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const CustomStyleHooksContext = _react.createContext(undefined);
const noop = ()=>{};
const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
const useCustomStyleHook = (hook)=>{
var _React_useContext;
var _React_useContext_hook;
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;
};
File diff suppressed because one or more lines are too long
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
CustomStyleHooksContext: function() {
return _CustomStyleHooksContext.CustomStyleHooksContext;
},
CustomStyleHooksProvider: function() {
return _CustomStyleHooksContext.CustomStyleHooksProvider;
},
useCustomStyleHook: function() {
return _CustomStyleHooksContext.useCustomStyleHook;
}
});
const _CustomStyleHooksContext = require("./CustomStyleHooksContext");
@@ -0,0 +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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,uBAAuB;eAAvBA,gDAAuB;;IAAEC,wBAAwB;eAAxBA,iDAAwB;;IAAEC,kBAAkB;eAAlBA,2CAAkB;;;yCAAQ"}
@@ -0,0 +1,29 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
OverridesContext: function() {
return OverridesContext;
},
OverridesProvider: function() {
return OverridesProvider;
},
useOverrides: function() {
return useOverrides;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const OverridesContext = _react.createContext(undefined);
const OverridesProvider = OverridesContext.Provider;
function useOverrides() {
var _React_useContext;
return (_React_useContext = _react.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {};
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/OverridesContext/OverridesContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAaaA,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"}
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
OverridesContext: function() {
return _OverridesContext.OverridesContext;
},
OverridesProvider: function() {
return _OverridesContext.OverridesProvider;
},
useOverrides: function() {
return _OverridesContext.useOverrides;
}
});
const _OverridesContext = require("./OverridesContext");
@@ -0,0 +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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,gBAAgB;eAAhBA,kCAAgB;;IAAEC,iBAAiB;eAAjBA,mCAAiB;;IAAEC,YAAY;eAAZA,8BAAY;;;kCAAQ"}
@@ -0,0 +1,29 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
PortalMountNodeProvider: function() {
return PortalMountNodeProvider;
},
usePortalMountNode: function() {
return usePortalMountNode;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* Provides a mount node for portals to render into.
*
* @internal
*/ const PortalMountNodeContext = _react.createContext(undefined);
const PortalMountNodeProvider = PortalMountNodeContext.Provider;
function usePortalMountNode() {
return _react.useContext(PortalMountNodeContext);
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/PortalMountNodeContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAcaA,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"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Provider: function() {
return _index.Provider;
},
useFluent: function() {
return _index.useFluent;
}
});
const _index = require("./ProviderContext/index");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext/index';\nexport { Provider, useFluent } from './ProviderContext/index';\n"],"names":["Provider","useFluent"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,QAAQ;eAARA,eAAQ;;IAAEC,SAAS;eAATA,gBAAS;;;uBAAQ"}
@@ -0,0 +1,33 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Provider: function() {
return Provider;
},
useFluent: function() {
return useFluent;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* @internal
*/ const ProviderContext = _react.createContext(undefined);
const providerContextDefaultValue = {
// eslint-disable-next-line @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )
targetDocument: typeof document === 'object' ? document : undefined,
dir: 'ltr'
};
const Provider = ProviderContext.Provider;
function useFluent() {
var _React_useContext;
return (_React_useContext = _react.useContext(ProviderContext)) !== null && _React_useContext !== void 0 ? _React_useContext : providerContextDefaultValue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext/ProviderContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA0BaA,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"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
Provider: function() {
return _ProviderContext.Provider;
},
useFluent: function() {
return _ProviderContext.useFluent;
}
});
const _ProviderContext = require("./ProviderContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext/index.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext';\nexport { Provider, useFluent } from './ProviderContext';\n"],"names":["Provider","useFluent"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,QAAQ;eAARA,yBAAQ;;IAAEC,SAAS;eAATA,0BAAS;;;iCAAQ"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeClassNameProvider: function() {
return _index.ThemeClassNameProvider;
},
useThemeClassName: function() {
return _index.useThemeClassName;
}
});
const _index = require("./ThemeClassNameContext/index");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext/index';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,6BAAsB;;IAAEC,iBAAiB;eAAjBA,wBAAiB;;;uBAAQ"}
@@ -0,0 +1,32 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeClassNameProvider: function() {
return ThemeClassNameProvider;
},
useThemeClassName: function() {
return useThemeClassName;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* @internal
* Used to provide a CSS class that applies theme css variables
*
* Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
*/ const ThemeClassNameContext = _react.createContext(undefined);
const themeClassNameContextDefaultVaue = '';
const ThemeClassNameProvider = ThemeClassNameContext.Provider;
function useThemeClassName() {
var _React_useContext;
return (_React_useContext = _react.useContext(ThemeClassNameContext)) !== null && _React_useContext !== void 0 ? _React_useContext : themeClassNameContextDefaultVaue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext/ThemeClassNameContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\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 */\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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAgBaA,sBAAsB;eAAtBA;;IAKGC,iBAAiB;eAAjBA;;;;iEArBO;AAIvB;;;;;CAKC,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"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeClassNameProvider: function() {
return _ThemeClassNameContext.ThemeClassNameProvider;
},
useThemeClassName: function() {
return _ThemeClassNameContext.useThemeClassName;
}
});
const _ThemeClassNameContext = require("./ThemeClassNameContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext/index.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,sBAAsB;eAAtBA,6CAAsB;;IAAEC,iBAAiB;eAAjBA,wCAAiB;;;uCAAQ"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeContext: function() {
return _index.ThemeContext;
},
ThemeProvider: function() {
return _index.ThemeProvider;
}
});
const _index = require("./ThemeContext/index");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext/index';\nexport { ThemeContext, ThemeProvider } from './ThemeContext/index';\n"],"names":["ThemeContext","ThemeProvider"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,YAAY;eAAZA,mBAAY;;IAAEC,aAAa;eAAbA,oBAAa;;;uBAAQ"}
@@ -0,0 +1,22 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeContext: function() {
return ThemeContext;
},
ThemeProvider: function() {
return ThemeProvider;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
const ThemeContext = _react.createContext(undefined);
const ThemeProvider = ThemeContext.Provider;
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext/ThemeContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,YAAY;eAAZA;;IAKAC,aAAa;eAAbA;;;;iEAbU;AAQhB,MAAMD,eAAeE,OAAMC,aAAa,CAAoBC;AAK5D,MAAMH,gBAAgBD,aAAaK,QAAQ"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
ThemeContext: function() {
return _ThemeContext.ThemeContext;
},
ThemeProvider: function() {
return _ThemeContext.ThemeProvider;
}
});
const _ThemeContext = require("./ThemeContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext/index.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext';\nexport { ThemeContext, ThemeProvider } from './ThemeContext';\n"],"names":["ThemeContext","ThemeProvider"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,YAAY;eAAZA,0BAAY;;IAAEC,aAAa;eAAbA,2BAAa;;;8BAAQ"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
TooltipVisibilityProvider: function() {
return _index.TooltipVisibilityProvider;
},
useTooltipVisibility: function() {
return _index.useTooltipVisibility;
}
});
const _index = require("./TooltipVisibilityContext/index");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipVisibilityContext/index';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,yBAAyB;eAAzBA,gCAAyB;;IAAEC,oBAAoB;eAApBA,2BAAoB;;;uBAAQ"}
@@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
TooltipVisibilityProvider: function() {
return TooltipVisibilityProvider;
},
useTooltipVisibility: function() {
return useTooltipVisibility;
}
});
const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
/**
* @internal
* Context shared by all of the tooltips in the app
*/ const TooltipVisibilityContext = _react.createContext(undefined);
const tooltipVisibilityContextDefaultValue = {};
const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;
function useTooltipVisibility() {
var _React_useContext;
return (_React_useContext = _react.useContext(TooltipVisibilityContext)) !== null && _React_useContext !== void 0 ? _React_useContext : tooltipVisibilityContextDefaultValue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext/TooltipContext.ts"],"sourcesContent":["import * 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 * @internal\n * Context shared by all of the tooltips in the app\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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA4BaA,yBAAyB;eAAzBA;;IAEGC,oBAAoB;eAApBA;;;;iEA9BO;AAevB;;;CAGC,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"}
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
TooltipVisibilityProvider: function() {
return _TooltipContext.TooltipVisibilityProvider;
},
useTooltipVisibility: function() {
return _TooltipContext.useTooltipVisibility;
}
});
const _TooltipContext = require("./TooltipContext");
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext/index.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipContext';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"rangeMappings":";;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACSA,yBAAyB;eAAzBA,yCAAyB;;IAAEC,oBAAoB;eAApBA,oCAAoB;;;gCAAQ"}
+84
View File
@@ -0,0 +1,84 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
AnnounceProvider: function() {
return _AnnounceContext.AnnounceProvider;
},
AnnounceProvider_unstable: function() {
return /** @deprecated Use AnnounceProvider instead. */ _AnnounceContext.AnnounceProvider;
},
BackgroundAppearanceProvider: function() {
return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
},
CustomStyleHooksContext_unstable: function() {
return _CustomStyleHooksContext.CustomStyleHooksContext;
},
CustomStyleHooksProvider_unstable: function() {
return _CustomStyleHooksContext.CustomStyleHooksProvider;
},
OverridesProvider_unstable: function() {
return _OverridesContext.OverridesProvider;
},
PortalMountNodeProvider: function() {
return _PortalMountNodeContext.PortalMountNodeProvider;
},
Provider_unstable: function() {
return _ProviderContext.Provider;
},
ThemeClassNameProvider_unstable: function() {
return _ThemeClassNameContext.ThemeClassNameProvider;
},
ThemeContext_unstable: function() {
return _ThemeContext.ThemeContext;
},
ThemeProvider_unstable: function() {
return _ThemeContext.ThemeProvider;
},
TooltipVisibilityProvider_unstable: function() {
return _TooltipVisibilityContext.TooltipVisibilityProvider;
},
useAnnounce: function() {
return _AnnounceContext.useAnnounce;
},
useAnnounce_unstable: function() {
return /** @deprecated Use useAnnounce instead. */ _AnnounceContext.useAnnounce;
},
useBackgroundAppearance: function() {
return _BackgroundAppearanceContext.useBackgroundAppearance;
},
useCustomStyleHook_unstable: function() {
return _CustomStyleHooksContext.useCustomStyleHook;
},
useFluent_unstable: function() {
return _ProviderContext.useFluent;
},
useOverrides_unstable: function() {
return _OverridesContext.useOverrides;
},
usePortalMountNode: function() {
return _PortalMountNodeContext.usePortalMountNode;
},
useThemeClassName_unstable: function() {
return _ThemeClassNameContext.useThemeClassName;
},
useTooltipVisibility_unstable: function() {
return _TooltipVisibilityContext.useTooltipVisibility;
}
});
const _ThemeContext = require("./ThemeContext");
const _ThemeClassNameContext = require("./ThemeClassNameContext");
const _TooltipVisibilityContext = require("./TooltipVisibilityContext");
const _ProviderContext = require("./ProviderContext");
const _OverridesContext = require("./OverridesContext");
const _CustomStyleHooksContext = require("./CustomStyleHooksContext");
const _BackgroundAppearanceContext = require("./BackgroundAppearanceContext");
const _PortalMountNodeContext = require("./PortalMountNodeContext");
const _AnnounceContext = require("./AnnounceContext");
@@ -0,0 +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"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","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"}
@@ -0,0 +1,13 @@
import * as React from 'react';
/**
* @internal
*/ const AnnounceContext = React.createContext(undefined);
export const AnnounceProvider = AnnounceContext.Provider;
/**
* Returns a function that can be used to announce messages to screen readers.
*/ export function useAnnounce() {
var _React_useContext;
return (_React_useContext = React.useContext(AnnounceContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {
announce: ()=>undefined
};
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/AnnounceContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,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"}
@@ -0,0 +1 @@
export { AnnounceProvider, useAnnounce } from './AnnounceContext';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/AnnounceContext/index.ts"],"sourcesContent":["export type { AnnounceContextValue, AnnounceOptions } from './AnnounceContext';\nexport { AnnounceProvider, useAnnounce } from './AnnounceContext';\n"],"names":["AnnounceProvider","useAnnounce"],"rangeMappings":"","mappings":"AACA,SAASA,gBAAgB,EAAEC,WAAW,QAAQ,oBAAoB"}
@@ -0,0 +1,10 @@
import * as React from 'react';
/**
* @internal
*/ export const BackgroundAppearanceContext = React.createContext(undefined);
/**
* @internal
*/ export const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;
export function useBackgroundAppearance() {
return React.useContext(BackgroundAppearanceContext);
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/BackgroundAppearanceContext/BackgroundAppearanceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | 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"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,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"}
@@ -0,0 +1 @@
export { BackgroundAppearanceContext, BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';
@@ -0,0 +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"],"rangeMappings":"","mappings":"AACA,SACEA,2BAA2B,EAC3BC,4BAA4B,EAC5BC,uBAAuB,QAClB,gCAAgC"}
@@ -0,0 +1 @@
export { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext/index';
@@ -0,0 +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"],"rangeMappings":"","mappings":"AACA,SAASA,uBAAuB,EAAEC,wBAAwB,EAAEC,kBAAkB,QAAQ,kCAAkC"}
@@ -0,0 +1,17 @@
/* eslint-disable */ import * as React from 'react';
/**
* @internal
*/ export const CustomStyleHooksContext = React.createContext(undefined);
const noop = ()=>{};
/**
* @internal
*/ export const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
/**
* Gets a custom style hook
* @param hook - One of the hook properties in CustomStyleHooksContextValue
* @returns The corresponding hook when defined, otherwise a no-op function.
*/ export const useCustomStyleHook = (hook)=>{
var _React_useContext;
var _React_useContext_hook;
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;
};
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
export { CustomStyleHooksContext, CustomStyleHooksProvider, useCustomStyleHook } from './CustomStyleHooksContext';
@@ -0,0 +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"],"rangeMappings":"","mappings":"AACA,SAASA,uBAAuB,EAAEC,wBAAwB,EAAEC,kBAAkB,QAAQ,4BAA4B"}
@@ -0,0 +1,11 @@
import * as React from 'react';
/**
* @internal
*/ export const OverridesContext = React.createContext(undefined);
/**
* @internal
*/ export const OverridesProvider = OverridesContext.Provider;
export function useOverrides() {
var _React_useContext;
return (_React_useContext = React.useContext(OverridesContext)) !== null && _React_useContext !== void 0 ? _React_useContext : {};
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/OverridesContext/OverridesContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;","mappings":"AAAA,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"}
@@ -0,0 +1 @@
export { OverridesContext, OverridesProvider, useOverrides } from './OverridesContext';
@@ -0,0 +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"],"rangeMappings":"","mappings":"AACA,SAASA,gBAAgB,EAAEC,iBAAiB,EAAEC,YAAY,QAAQ,qBAAqB"}
@@ -0,0 +1,12 @@
import * as React from 'react';
/**
* Provides a mount node for portals to render into.
*
* @internal
*/ const PortalMountNodeContext = React.createContext(undefined);
/**
* @internal
*/ export const PortalMountNodeProvider = PortalMountNodeContext.Provider;
export function usePortalMountNode() {
return React.useContext(PortalMountNodeContext);
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/PortalMountNodeContext.ts"],"sourcesContent":["import * 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":["React","PortalMountNodeContext","createContext","undefined","PortalMountNodeProvider","Provider","usePortalMountNode","useContext"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;CAIC,GACD,MAAMC,yBAAyBD,MAAME,aAAa,CAA8BC;AAEhF;;CAEC,GACD,OAAO,MAAMC,0BAA0BH,uBAAuBI,QAAQ,CAAC;AAEvE,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
+1
View File
@@ -0,0 +1 @@
export { Provider, useFluent } from './ProviderContext/index';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext/index';\nexport { Provider, useFluent } from './ProviderContext/index';\n"],"names":["Provider","useFluent"],"rangeMappings":"","mappings":"AACA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,0BAA0B"}
@@ -0,0 +1,16 @@
import * as React from 'react';
/**
* @internal
*/ const ProviderContext = React.createContext(undefined);
const providerContextDefaultValue = {
// eslint-disable-next-line @nx/workspace-no-restricted-globals -- expected ignore ( SSR friendly acquisition of globals )
targetDocument: typeof document === 'object' ? document : undefined,
dir: 'ltr'
};
/**
* @internal
*/ export const Provider = ProviderContext.Provider;
export function useFluent() {
var _React_useContext;
return (_React_useContext = React.useContext(ProviderContext)) !== null && _React_useContext !== void 0 ? _React_useContext : providerContextDefaultValue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext/ProviderContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,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"}
@@ -0,0 +1 @@
export { Provider, useFluent } from './ProviderContext';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ProviderContext/index.ts"],"sourcesContent":["export type { ProviderContextValue } from './ProviderContext';\nexport { Provider, useFluent } from './ProviderContext';\n"],"names":["Provider","useFluent"],"rangeMappings":"","mappings":"AACA,SAASA,QAAQ,EAAEC,SAAS,QAAQ,oBAAoB"}
@@ -0,0 +1 @@
export { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext/index';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext/index';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"rangeMappings":"","mappings":"AACA,SAASA,sBAAsB,EAAEC,iBAAiB,QAAQ,gCAAgC"}
@@ -0,0 +1,15 @@
import * as React from 'react';
/**
* @internal
* Used to provide a CSS class that applies theme css variables
*
* Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
*/ const ThemeClassNameContext = React.createContext(undefined);
const themeClassNameContextDefaultVaue = '';
export const ThemeClassNameProvider = ThemeClassNameContext.Provider;
/**
* @returns CSS class that applies css variables
*/ export function useThemeClassName() {
var _React_useContext;
return (_React_useContext = React.useContext(ThemeClassNameContext)) !== null && _React_useContext !== void 0 ? _React_useContext : themeClassNameContextDefaultVaue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext/ThemeClassNameContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\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 */\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"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;;CAKC,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"}
@@ -0,0 +1 @@
export { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeClassNameContext/index.ts"],"sourcesContent":["export type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { ThemeClassNameProvider, useThemeClassName } from './ThemeClassNameContext';\n"],"names":["ThemeClassNameProvider","useThemeClassName"],"rangeMappings":"","mappings":"AACA,SAASA,sBAAsB,EAAEC,iBAAiB,QAAQ,0BAA0B"}
+1
View File
@@ -0,0 +1 @@
export { ThemeContext, ThemeProvider } from './ThemeContext/index';
+1
View File
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext/index';\nexport { ThemeContext, ThemeProvider } from './ThemeContext/index';\n"],"names":["ThemeContext","ThemeProvider"],"rangeMappings":"","mappings":"AACA,SAASA,YAAY,EAAEC,aAAa,QAAQ,uBAAuB"}
@@ -0,0 +1,7 @@
import * as React from 'react';
/**
* @internal
*/ export const ThemeContext = React.createContext(undefined);
/**
* @internal
*/ export const ThemeProvider = ThemeContext.Provider;
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext/ThemeContext.ts"],"sourcesContent":["import * 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"],"rangeMappings":";;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAK/B;;CAEC,GACD,OAAO,MAAMC,eAAeD,MAAME,aAAa,CAAoBC,WAAW;AAE9E;;CAEC,GACD,OAAO,MAAMC,gBAAgBH,aAAaI,QAAQ,CAAC"}
@@ -0,0 +1 @@
export { ThemeContext, ThemeProvider } from './ThemeContext';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/ThemeContext/index.ts"],"sourcesContent":["export type { ThemeContextValue } from './ThemeContext';\nexport { ThemeContext, ThemeProvider } from './ThemeContext';\n"],"names":["ThemeContext","ThemeProvider"],"rangeMappings":"","mappings":"AACA,SAASA,YAAY,EAAEC,aAAa,QAAQ,iBAAiB"}
@@ -0,0 +1 @@
export { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipVisibilityContext/index';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipVisibilityContext/index';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"rangeMappings":"","mappings":"AACA,SAASA,yBAAyB,EAAEC,oBAAoB,QAAQ,mCAAmC"}
@@ -0,0 +1,13 @@
import * as React from 'react';
/**
* @internal
* Context shared by all of the tooltips in the app
*/ const TooltipVisibilityContext = React.createContext(undefined);
const tooltipVisibilityContextDefaultValue = {};
/**
* @internal
*/ export const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;
export function useTooltipVisibility() {
var _React_useContext;
return (_React_useContext = React.useContext(TooltipVisibilityContext)) !== null && _React_useContext !== void 0 ? _React_useContext : tooltipVisibilityContextDefaultValue;
}
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext/TooltipContext.ts"],"sourcesContent":["import * 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 * @internal\n * Context shared by all of the tooltips in the app\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"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAe/B;;;CAGC,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"}
@@ -0,0 +1 @@
export { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';
@@ -0,0 +1 @@
{"version":3,"sources":["../src/TooltipVisibilityContext/index.ts"],"sourcesContent":["export type { TooltipVisibilityContextValue } from './TooltipContext';\nexport { TooltipVisibilityProvider, useTooltipVisibility } from './TooltipContext';\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility"],"rangeMappings":"","mappings":"AACA,SAASA,yBAAyB,EAAEC,oBAAoB,QAAQ,mBAAmB"}
+9
View File
@@ -0,0 +1,9 @@
export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';
export { ThemeClassNameProvider as ThemeClassNameProvider_unstable, useThemeClassName as useThemeClassName_unstable } from './ThemeClassNameContext';
export { TooltipVisibilityProvider as TooltipVisibilityProvider_unstable, useTooltipVisibility as useTooltipVisibility_unstable } from './TooltipVisibilityContext';
export { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';
export { OverridesProvider as OverridesProvider_unstable, useOverrides as useOverrides_unstable } from './OverridesContext';
export { CustomStyleHooksContext as CustomStyleHooksContext_unstable, CustomStyleHooksProvider as CustomStyleHooksProvider_unstable, useCustomStyleHook as useCustomStyleHook_unstable } from './CustomStyleHooksContext';
export { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';
export { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';
export { AnnounceProvider, /** @deprecated Use AnnounceProvider instead. */ AnnounceProvider as AnnounceProvider_unstable, useAnnounce, /** @deprecated Use useAnnounce instead. */ useAnnounce as useAnnounce_unstable } from './AnnounceContext';
+1
View File
@@ -0,0 +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":["ThemeContext","ThemeContext_unstable","ThemeProvider","ThemeProvider_unstable","ThemeClassNameProvider","ThemeClassNameProvider_unstable","useThemeClassName","useThemeClassName_unstable","TooltipVisibilityProvider","TooltipVisibilityProvider_unstable","useTooltipVisibility","useTooltipVisibility_unstable","Provider","Provider_unstable","useFluent","useFluent_unstable","OverridesProvider","OverridesProvider_unstable","useOverrides","useOverrides_unstable","CustomStyleHooksContext","CustomStyleHooksContext_unstable","CustomStyleHooksProvider","CustomStyleHooksProvider_unstable","useCustomStyleHook","useCustomStyleHook_unstable","BackgroundAppearanceProvider","useBackgroundAppearance","PortalMountNodeProvider","usePortalMountNode","AnnounceProvider","AnnounceProvider_unstable","useAnnounce","useAnnounce_unstable"],"rangeMappings":";;;;;;;;","mappings":"AAAA,SAASA,gBAAgBC,qBAAqB,EAAEC,iBAAiBC,sBAAsB,QAAQ,iBAAiB;AAGhH,SACEC,0BAA0BC,+BAA+B,EACzDC,qBAAqBC,0BAA0B,QAC1C,0BAA0B;AAGjC,SACEC,6BAA6BC,kCAAkC,EAC/DC,wBAAwBC,6BAA6B,QAChD,6BAA6B;AAGpC,SAASC,YAAYC,iBAAiB,EAAEC,aAAaC,kBAAkB,QAAQ,oBAAoB;AAGnG,SACEC,qBAAqBC,0BAA0B,EAC/CC,gBAAgBC,qBAAqB,QAChC,qBAAqB;AAG5B,SACEC,2BAA2BC,gCAAgC,EAC3DC,4BAA4BC,iCAAiC,EAC7DC,sBAAsBC,2BAA2B,QAC5C,4BAA4B;AAGnC,SAASC,4BAA4B,EAAEC,uBAAuB,QAAQ,gCAAgC;AAGtG,SAASC,uBAAuB,EAAEC,kBAAkB,QAAQ,2BAA2B;AAEvF,SACEC,gBAAgB,EAChB,8CAA8C,GAC9CA,oBAAoBC,yBAAyB,EAC7CC,WAAW,EACX,yCAAyC,GACzCA,eAAeC,oBAAoB,QAC9B,oBAAoB"}
+47
View File
@@ -0,0 +1,47 @@
{
"name": "@fluentui/react-shared-contexts",
"version": "9.21.2",
"description": "Fluent UI React Contexts shared by multiple components.",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"typings": "./dist/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/microsoft/fluentui"
},
"license": "MIT",
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-api-extractor": "*"
},
"dependencies": {
"@fluentui/react-theme": "^9.1.24",
"@swc/helpers": "^0.5.1"
},
"peerDependencies": {
"@types/react": ">=16.14.0 <19.0.0",
"react": ">=16.14.0 <19.0.0"
},
"beachball": {
"disallowedChangeTypes": [
"major",
"prerelease"
]
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./lib-commonjs/index.js",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
"./package.json": "./package.json"
},
"files": [
"*.md",
"dist/*.d.ts",
"lib",
"lib-commonjs"
]
}