@fluentui/react-shared-contexts 0.0.0-nightly-20230301-0419.1 → 0.0.0-nightly-20230303-0424.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +5 -5
- package/CHANGELOG.md +5 -5
- package/dist/index.d.ts +97 -0
- package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js +98 -0
- package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -0
- package/lib/CustomStyleHooksContext/index.js +2 -0
- package/lib/CustomStyleHooksContext/index.js.map +1 -0
- package/lib/CustomStyleHooksContext.js +2 -0
- package/lib/CustomStyleHooksContext.js.map +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.js +105 -0
- package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -0
- package/lib-commonjs/CustomStyleHooksContext/index.js +8 -0
- package/lib-commonjs/CustomStyleHooksContext/index.js.map +1 -0
- package/lib-commonjs/CustomStyleHooksContext.js +8 -0
- package/lib-commonjs/CustomStyleHooksContext.js.map +1 -0
- package/lib-commonjs/index.js +14 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.json
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
"name": "@fluentui/react-shared-contexts",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly-
|
7
|
-
"version": "0.0.0-nightly-
|
5
|
+
"date": "Fri, 03 Mar 2023 04:31:42 GMT",
|
6
|
+
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly-20230303-0424.1",
|
7
|
+
"version": "0.0.0-nightly-20230303-0424.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
@@ -16,8 +16,8 @@
|
|
16
16
|
{
|
17
17
|
"author": "beachball",
|
18
18
|
"package": "@fluentui/react-shared-contexts",
|
19
|
-
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-
|
20
|
-
"commit": "
|
19
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly-20230303-0424.1",
|
20
|
+
"commit": "783241676856edc0293dfa47dc8785b6f87749e1"
|
21
21
|
}
|
22
22
|
]
|
23
23
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# Change Log - @fluentui/react-shared-contexts
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Fri, 03 Mar 2023 04:31:42 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-nightly-
|
7
|
+
## [0.0.0-nightly-20230303-0424.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly-20230303-0424.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.2.0..@fluentui/react-shared-contexts_v0.0.0-nightly-
|
9
|
+
Fri, 03 Mar 2023 04:31:42 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.2.0..@fluentui/react-shared-contexts_v0.0.0-nightly-20230303-0424.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
14
|
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
15
|
-
- Bump @fluentui/react-theme to v0.0.0-nightly-
|
15
|
+
- Bump @fluentui/react-theme to v0.0.0-nightly-20230303-0424.1 ([commit](https://github.com/microsoft/fluentui/commit/783241676856edc0293dfa47dc8785b6f87749e1) by beachball)
|
16
16
|
|
17
17
|
## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.2.0)
|
18
18
|
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,101 @@
|
|
1
1
|
import * as React_2 from 'react';
|
2
2
|
import type { Theme } from '@fluentui/react-theme';
|
3
3
|
|
4
|
+
declare type CustomStyleHook = (state: unknown) => void;
|
5
|
+
|
6
|
+
/**
|
7
|
+
* @internal
|
8
|
+
*/
|
9
|
+
export declare const CustomStyleHooksContext_unstable: React_2.Context<CustomStyleHooksContextValue_unstable | undefined>;
|
10
|
+
|
11
|
+
export declare type CustomStyleHooksContextValue_unstable = {
|
12
|
+
useAccordionHeaderStyles_unstable: CustomStyleHook;
|
13
|
+
useAccordionItemStyles_unstable: CustomStyleHook;
|
14
|
+
useAccordionPanelStyles_unstable: CustomStyleHook;
|
15
|
+
useAccordionStyles_unstable: CustomStyleHook;
|
16
|
+
useAvatarStyles_unstable: CustomStyleHook;
|
17
|
+
useAvatarGroupStyles_unstable: CustomStyleHook;
|
18
|
+
useAvatarGroupItemStyles_unstable: CustomStyleHook;
|
19
|
+
useAvatarGroupPopoverStyles_unstable: CustomStyleHook;
|
20
|
+
useBadgeStyles_unstable: CustomStyleHook;
|
21
|
+
useCounterBadgeStyles_unstable: CustomStyleHook;
|
22
|
+
usePresenceBadgeStyles_unstable: CustomStyleHook;
|
23
|
+
useButtonStyles_unstable: CustomStyleHook;
|
24
|
+
useCompoundButtonStyles_unstable: CustomStyleHook;
|
25
|
+
useMenuButtonStyles_unstable: CustomStyleHook;
|
26
|
+
useSplitButtonStyles_unstable: CustomStyleHook;
|
27
|
+
useToggleButtonStyles_unstable: CustomStyleHook;
|
28
|
+
useCheckboxStyles_unstable: CustomStyleHook;
|
29
|
+
useComboboxStyles_unstable: CustomStyleHook;
|
30
|
+
useDropdownStyles_unstable: CustomStyleHook;
|
31
|
+
useListboxStyles_unstable: CustomStyleHook;
|
32
|
+
useOptionStyles_unstable: CustomStyleHook;
|
33
|
+
useOptionGroupStyles_unstable: CustomStyleHook;
|
34
|
+
useDividerStyles_unstable: CustomStyleHook;
|
35
|
+
useInputStyles_unstable: CustomStyleHook;
|
36
|
+
useImageStyles_unstable: CustomStyleHook;
|
37
|
+
useLabelStyles_unstable: CustomStyleHook;
|
38
|
+
useLinkStyles_unstable: CustomStyleHook;
|
39
|
+
useCheckmarkStyles_unstable: CustomStyleHook;
|
40
|
+
useMenuDividerStyles_unstable: CustomStyleHook;
|
41
|
+
useMenuGroupHeaderStyles_unstable: CustomStyleHook;
|
42
|
+
useMenuGroupStyles_unstable: CustomStyleHook;
|
43
|
+
useMenuItemCheckboxStyles_unstable: CustomStyleHook;
|
44
|
+
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
45
|
+
useMenuItemStyles_unstable: CustomStyleHook;
|
46
|
+
useMenuListStyles_unstable: CustomStyleHook;
|
47
|
+
useMenuPopoverStyles_unstable: CustomStyleHook;
|
48
|
+
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
49
|
+
usePersonaStyles_unstable: CustomStyleHook;
|
50
|
+
usePopoverSurfaceStyles_unstable: CustomStyleHook;
|
51
|
+
useRadioGroupStyles_unstable: CustomStyleHook;
|
52
|
+
useRadioStyles_unstable: CustomStyleHook;
|
53
|
+
useSelectStyles_unstable: CustomStyleHook;
|
54
|
+
useSliderStyles_unstable: CustomStyleHook;
|
55
|
+
useSpinButtonStyles_unstable: CustomStyleHook;
|
56
|
+
useSpinnerStyles_unstable: CustomStyleHook;
|
57
|
+
useSwitchStyles_unstable: CustomStyleHook;
|
58
|
+
useTabStyles_unstable: CustomStyleHook;
|
59
|
+
useTabListStyles_unstable: CustomStyleHook;
|
60
|
+
useTextStyles_unstable: CustomStyleHook;
|
61
|
+
useTextareaStyles_unstable: CustomStyleHook;
|
62
|
+
useTooltipStyles_unstable: CustomStyleHook;
|
63
|
+
useDialogTitleStyles_unstable: CustomStyleHook;
|
64
|
+
useDialogBodyStyles_unstable: CustomStyleHook;
|
65
|
+
useDialogActionsStyles_unstable: CustomStyleHook;
|
66
|
+
useDialogSurfaceStyles_unstable: CustomStyleHook;
|
67
|
+
useDialogContentStyles_unstable: CustomStyleHook;
|
68
|
+
useProgressBarStyles_unstable: CustomStyleHook;
|
69
|
+
useToolbarButtonStyles_unstable: CustomStyleHook;
|
70
|
+
useToolbarRadioButtonStyles_unstable: CustomStyleHook;
|
71
|
+
useToolbarGroupStyles_unstable: CustomStyleHook;
|
72
|
+
useToolbarToggleButtonStyles_unstable: CustomStyleHook;
|
73
|
+
useToolbarDividerStyles_unstable: CustomStyleHook;
|
74
|
+
useToolbarStyles_unstable: CustomStyleHook;
|
75
|
+
useTableCellStyles_unstable: CustomStyleHook;
|
76
|
+
useTableRowStyles_unstable: CustomStyleHook;
|
77
|
+
useTableBodyStyles_unstable: CustomStyleHook;
|
78
|
+
useTableStyles_unstable: CustomStyleHook;
|
79
|
+
useTableHeaderStyles_unstable: CustomStyleHook;
|
80
|
+
useTableHeaderCellStyles_unstable: CustomStyleHook;
|
81
|
+
useTableResizeHandleStyles_unstable: CustomStyleHook;
|
82
|
+
useTableSelectionCellStyles_unstable: CustomStyleHook;
|
83
|
+
useTableCellActionsStyles_unstable: CustomStyleHook;
|
84
|
+
useTableCellLayoutStyles_unstable: CustomStyleHook;
|
85
|
+
useDataGridCellStyles_unstable: CustomStyleHook;
|
86
|
+
useDataGridRowStyles_unstable: CustomStyleHook;
|
87
|
+
useDataGridBodyStyles_unstable: CustomStyleHook;
|
88
|
+
useDataGridStyles_unstable: CustomStyleHook;
|
89
|
+
useDataGridHeaderStyles_unstable: CustomStyleHook;
|
90
|
+
useDataGridHeaderCellStyles_unstable: CustomStyleHook;
|
91
|
+
useDataGridSelectionCellStyles_unstable: CustomStyleHook;
|
92
|
+
};
|
93
|
+
|
94
|
+
/**
|
95
|
+
* @internal
|
96
|
+
*/
|
97
|
+
export declare const CustomStyleHooksProvider_unstable: React_2.Provider<CustomStyleHooksContextValue_unstable | undefined>;
|
98
|
+
|
4
99
|
/**
|
5
100
|
* @internal
|
6
101
|
*/
|
@@ -59,6 +154,8 @@ export declare type TooltipVisibilityContextValue_unstable = {
|
|
59
154
|
*/
|
60
155
|
export declare const TooltipVisibilityProvider_unstable: React_2.Provider<TooltipVisibilityContextValue_unstable>;
|
61
156
|
|
157
|
+
export declare function useCustomStyleHooks_unstable(): CustomStyleHooksContextValue_unstable;
|
158
|
+
|
62
159
|
export declare function useFluent_unstable(): ProviderContextValue_unstable;
|
63
160
|
|
64
161
|
export declare function useOverrides_unstable(): OverridesContextValue_unstable;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
/* eslint-disable */
|
2
|
+
import * as React from 'react';
|
3
|
+
/**
|
4
|
+
* @internal
|
5
|
+
*/
|
6
|
+
export const CustomStyleHooksContext = /*#__PURE__*/React.createContext(undefined);
|
7
|
+
const noop = () => {};
|
8
|
+
const customStyleHooksContextDefaultValue = {
|
9
|
+
useAccordionHeaderStyles_unstable: noop,
|
10
|
+
useAccordionItemStyles_unstable: noop,
|
11
|
+
useAccordionPanelStyles_unstable: noop,
|
12
|
+
useAccordionStyles_unstable: noop,
|
13
|
+
useAvatarStyles_unstable: noop,
|
14
|
+
useAvatarGroupStyles_unstable: noop,
|
15
|
+
useAvatarGroupItemStyles_unstable: noop,
|
16
|
+
useAvatarGroupPopoverStyles_unstable: noop,
|
17
|
+
useBadgeStyles_unstable: noop,
|
18
|
+
useCounterBadgeStyles_unstable: noop,
|
19
|
+
usePresenceBadgeStyles_unstable: noop,
|
20
|
+
useButtonStyles_unstable: noop,
|
21
|
+
useCompoundButtonStyles_unstable: noop,
|
22
|
+
useMenuButtonStyles_unstable: noop,
|
23
|
+
useSplitButtonStyles_unstable: noop,
|
24
|
+
useToggleButtonStyles_unstable: noop,
|
25
|
+
useCheckboxStyles_unstable: noop,
|
26
|
+
useComboboxStyles_unstable: noop,
|
27
|
+
useDropdownStyles_unstable: noop,
|
28
|
+
useListboxStyles_unstable: noop,
|
29
|
+
useOptionStyles_unstable: noop,
|
30
|
+
useOptionGroupStyles_unstable: noop,
|
31
|
+
useDividerStyles_unstable: noop,
|
32
|
+
useInputStyles_unstable: noop,
|
33
|
+
useImageStyles_unstable: noop,
|
34
|
+
useLabelStyles_unstable: noop,
|
35
|
+
useLinkStyles_unstable: noop,
|
36
|
+
useCheckmarkStyles_unstable: noop,
|
37
|
+
useMenuDividerStyles_unstable: noop,
|
38
|
+
useMenuGroupHeaderStyles_unstable: noop,
|
39
|
+
useMenuGroupStyles_unstable: noop,
|
40
|
+
useMenuItemCheckboxStyles_unstable: noop,
|
41
|
+
useMenuItemRadioStyles_unstable: noop,
|
42
|
+
useMenuItemStyles_unstable: noop,
|
43
|
+
useMenuListStyles_unstable: noop,
|
44
|
+
useMenuPopoverStyles_unstable: noop,
|
45
|
+
useMenuSplitGroupStyles_unstable: noop,
|
46
|
+
usePersonaStyles_unstable: noop,
|
47
|
+
usePopoverSurfaceStyles_unstable: noop,
|
48
|
+
useRadioGroupStyles_unstable: noop,
|
49
|
+
useRadioStyles_unstable: noop,
|
50
|
+
useSelectStyles_unstable: noop,
|
51
|
+
useSliderStyles_unstable: noop,
|
52
|
+
useSpinButtonStyles_unstable: noop,
|
53
|
+
useSpinnerStyles_unstable: noop,
|
54
|
+
useSwitchStyles_unstable: noop,
|
55
|
+
useTabStyles_unstable: noop,
|
56
|
+
useTabListStyles_unstable: noop,
|
57
|
+
useTextStyles_unstable: noop,
|
58
|
+
useTextareaStyles_unstable: noop,
|
59
|
+
useTooltipStyles_unstable: noop,
|
60
|
+
useDialogTitleStyles_unstable: noop,
|
61
|
+
useDialogBodyStyles_unstable: noop,
|
62
|
+
useDialogActionsStyles_unstable: noop,
|
63
|
+
useDialogSurfaceStyles_unstable: noop,
|
64
|
+
useDialogContentStyles_unstable: noop,
|
65
|
+
useProgressBarStyles_unstable: noop,
|
66
|
+
useToolbarButtonStyles_unstable: noop,
|
67
|
+
useToolbarRadioButtonStyles_unstable: noop,
|
68
|
+
useToolbarGroupStyles_unstable: noop,
|
69
|
+
useToolbarToggleButtonStyles_unstable: noop,
|
70
|
+
useToolbarDividerStyles_unstable: noop,
|
71
|
+
useToolbarStyles_unstable: noop,
|
72
|
+
useTableCellStyles_unstable: noop,
|
73
|
+
useTableRowStyles_unstable: noop,
|
74
|
+
useTableBodyStyles_unstable: noop,
|
75
|
+
useTableStyles_unstable: noop,
|
76
|
+
useTableHeaderStyles_unstable: noop,
|
77
|
+
useTableHeaderCellStyles_unstable: noop,
|
78
|
+
useTableResizeHandleStyles_unstable: noop,
|
79
|
+
useTableSelectionCellStyles_unstable: noop,
|
80
|
+
useTableCellActionsStyles_unstable: noop,
|
81
|
+
useTableCellLayoutStyles_unstable: noop,
|
82
|
+
useDataGridCellStyles_unstable: noop,
|
83
|
+
useDataGridRowStyles_unstable: noop,
|
84
|
+
useDataGridBodyStyles_unstable: noop,
|
85
|
+
useDataGridStyles_unstable: noop,
|
86
|
+
useDataGridHeaderStyles_unstable: noop,
|
87
|
+
useDataGridHeaderCellStyles_unstable: noop,
|
88
|
+
useDataGridSelectionCellStyles_unstable: noop
|
89
|
+
};
|
90
|
+
/**
|
91
|
+
* @internal
|
92
|
+
*/
|
93
|
+
export const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;
|
94
|
+
export function useCustomStyleHooks() {
|
95
|
+
var _a;
|
96
|
+
return (_a = React.useContext(CustomStyleHooksContext)) !== null && _a !== void 0 ? _a : customStyleHooksContextDefaultValue;
|
97
|
+
}
|
98
|
+
//# sourceMappingURL=CustomStyleHooksContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","CustomStyleHooksContext","createContext","undefined","noop","customStyleHooksContextDefaultValue","useAccordionHeaderStyles_unstable","useAccordionItemStyles_unstable","useAccordionPanelStyles_unstable","useAccordionStyles_unstable","useAvatarStyles_unstable","useAvatarGroupStyles_unstable","useAvatarGroupItemStyles_unstable","useAvatarGroupPopoverStyles_unstable","useBadgeStyles_unstable","useCounterBadgeStyles_unstable","usePresenceBadgeStyles_unstable","useButtonStyles_unstable","useCompoundButtonStyles_unstable","useMenuButtonStyles_unstable","useSplitButtonStyles_unstable","useToggleButtonStyles_unstable","useCheckboxStyles_unstable","useComboboxStyles_unstable","useDropdownStyles_unstable","useListboxStyles_unstable","useOptionStyles_unstable","useOptionGroupStyles_unstable","useDividerStyles_unstable","useInputStyles_unstable","useImageStyles_unstable","useLabelStyles_unstable","useLinkStyles_unstable","useCheckmarkStyles_unstable","useMenuDividerStyles_unstable","useMenuGroupHeaderStyles_unstable","useMenuGroupStyles_unstable","useMenuItemCheckboxStyles_unstable","useMenuItemRadioStyles_unstable","useMenuItemStyles_unstable","useMenuListStyles_unstable","useMenuPopoverStyles_unstable","useMenuSplitGroupStyles_unstable","usePersonaStyles_unstable","usePopoverSurfaceStyles_unstable","useRadioGroupStyles_unstable","useRadioStyles_unstable","useSelectStyles_unstable","useSliderStyles_unstable","useSpinButtonStyles_unstable","useSpinnerStyles_unstable","useSwitchStyles_unstable","useTabStyles_unstable","useTabListStyles_unstable","useTextStyles_unstable","useTextareaStyles_unstable","useTooltipStyles_unstable","useDialogTitleStyles_unstable","useDialogBodyStyles_unstable","useDialogActionsStyles_unstable","useDialogSurfaceStyles_unstable","useDialogContentStyles_unstable","useProgressBarStyles_unstable","useToolbarButtonStyles_unstable","useToolbarRadioButtonStyles_unstable","useToolbarGroupStyles_unstable","useToolbarToggleButtonStyles_unstable","useToolbarDividerStyles_unstable","useToolbarStyles_unstable","useTableCellStyles_unstable","useTableRowStyles_unstable","useTableBodyStyles_unstable","useTableStyles_unstable","useTableHeaderStyles_unstable","useTableHeaderCellStyles_unstable","useTableResizeHandleStyles_unstable","useTableSelectionCellStyles_unstable","useTableCellActionsStyles_unstable","useTableCellLayoutStyles_unstable","useDataGridCellStyles_unstable","useDataGridRowStyles_unstable","useDataGridBodyStyles_unstable","useDataGridStyles_unstable","useDataGridHeaderStyles_unstable","useDataGridHeaderCellStyles_unstable","useDataGridSelectionCellStyles_unstable","CustomStyleHooksProvider","Provider","useCustomStyleHooks","_a","useContext"],"sources":["../../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["/* eslint-disable */\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = {\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n useCheckmarkStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\nconst noop = () => {};\nconst customStyleHooksContextDefaultValue: CustomStyleHooksContextValue = {\n useAccordionHeaderStyles_unstable: noop,\n useAccordionItemStyles_unstable: noop,\n useAccordionPanelStyles_unstable: noop,\n useAccordionStyles_unstable: noop,\n useAvatarStyles_unstable: noop,\n useAvatarGroupStyles_unstable: noop,\n useAvatarGroupItemStyles_unstable: noop,\n useAvatarGroupPopoverStyles_unstable: noop,\n useBadgeStyles_unstable: noop,\n useCounterBadgeStyles_unstable: noop,\n usePresenceBadgeStyles_unstable: noop,\n useButtonStyles_unstable: noop,\n useCompoundButtonStyles_unstable: noop,\n useMenuButtonStyles_unstable: noop,\n useSplitButtonStyles_unstable: noop,\n useToggleButtonStyles_unstable: noop,\n useCheckboxStyles_unstable: noop,\n useComboboxStyles_unstable: noop,\n useDropdownStyles_unstable: noop,\n useListboxStyles_unstable: noop,\n useOptionStyles_unstable: noop,\n useOptionGroupStyles_unstable: noop,\n useDividerStyles_unstable: noop,\n useInputStyles_unstable: noop,\n useImageStyles_unstable: noop,\n useLabelStyles_unstable: noop,\n useLinkStyles_unstable: noop,\n useCheckmarkStyles_unstable: noop,\n useMenuDividerStyles_unstable: noop,\n useMenuGroupHeaderStyles_unstable: noop,\n useMenuGroupStyles_unstable: noop,\n useMenuItemCheckboxStyles_unstable: noop,\n useMenuItemRadioStyles_unstable: noop,\n useMenuItemStyles_unstable: noop,\n useMenuListStyles_unstable: noop,\n useMenuPopoverStyles_unstable: noop,\n useMenuSplitGroupStyles_unstable: noop,\n usePersonaStyles_unstable: noop,\n usePopoverSurfaceStyles_unstable: noop,\n useRadioGroupStyles_unstable: noop,\n useRadioStyles_unstable: noop,\n useSelectStyles_unstable: noop,\n useSliderStyles_unstable: noop,\n useSpinButtonStyles_unstable: noop,\n useSpinnerStyles_unstable: noop,\n useSwitchStyles_unstable: noop,\n useTabStyles_unstable: noop,\n useTabListStyles_unstable: noop,\n useTextStyles_unstable: noop,\n useTextareaStyles_unstable: noop,\n useTooltipStyles_unstable: noop,\n useDialogTitleStyles_unstable: noop,\n useDialogBodyStyles_unstable: noop,\n useDialogActionsStyles_unstable: noop,\n useDialogSurfaceStyles_unstable: noop,\n useDialogContentStyles_unstable: noop,\n useProgressBarStyles_unstable: noop,\n useToolbarButtonStyles_unstable: noop,\n useToolbarRadioButtonStyles_unstable: noop,\n useToolbarGroupStyles_unstable: noop,\n useToolbarToggleButtonStyles_unstable: noop,\n useToolbarDividerStyles_unstable: noop,\n useToolbarStyles_unstable: noop,\n useTableCellStyles_unstable: noop,\n useTableRowStyles_unstable: noop,\n useTableBodyStyles_unstable: noop,\n useTableStyles_unstable: noop,\n useTableHeaderStyles_unstable: noop,\n useTableHeaderCellStyles_unstable: noop,\n useTableResizeHandleStyles_unstable: noop,\n useTableSelectionCellStyles_unstable: noop,\n useTableCellActionsStyles_unstable: noop,\n useTableCellLayoutStyles_unstable: noop,\n useDataGridCellStyles_unstable: noop,\n useDataGridRowStyles_unstable: noop,\n useDataGridBodyStyles_unstable: noop,\n useDataGridStyles_unstable: noop,\n useDataGridHeaderStyles_unstable: noop,\n useDataGridHeaderCellStyles_unstable: noop,\n useDataGridSelectionCellStyles_unstable: noop,\n};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\nexport function useCustomStyleHooks(): CustomStyleHooksContextValue {\n return React.useContext(CustomStyleHooksContext) ?? customStyleHooksContextDefaultValue;\n}\n"],"mappings":"AAAA;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAwF9B;;;AAGA,OAAO,MAAMC,uBAAuB,gBAAGD,KAAK,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AE7E,IAAI;EACpC8E,0BAA0B,EAAE9E,IAAI;EAChC+E,gCAAgC,EAAE/E,IAAI;EACtCgF,oCAAoC,EAAEhF,IAAI;EAC1CiF,uCAAuC,EAAEjF;CAC1C;AAED;;;AAGA,OAAO,MAAMkF,wBAAwB,GAAGrF,uBAAuB,CAACsF,QAAQ;AAExE,OAAM,SAAUC,mBAAmBA,CAAA;;EACjC,OAAO,CAAAC,EAAA,GAAAzF,KAAK,CAAC0F,UAAU,CAACzF,uBAAuB,CAAC,cAAAwF,EAAA,cAAAA,EAAA,GAAIpF,mCAAmC;AACzF"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC","sourcesContent":["export * from './CustomStyleHooksContext';\n"]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"CustomStyleHooksContext.js","sourceRoot":"","sources":["../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC","sourcesContent":["export * from './CustomStyleHooksContext/index';\n"]}
|
package/lib/index.js
CHANGED
@@ -3,4 +3,5 @@ export { ThemeClassNameProvider as ThemeClassNameProvider_unstable, useThemeClas
|
|
3
3
|
export { TooltipVisibilityProvider as TooltipVisibilityProvider_unstable, useTooltipVisibility as useTooltipVisibility_unstable } from './TooltipVisibilityContext';
|
4
4
|
export { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';
|
5
5
|
export { OverridesProvider as OverridesProvider_unstable, useOverrides as useOverrides_unstable } from './OverridesContext';
|
6
|
+
export { CustomStyleHooksProvider as CustomStyleHooksProvider_unstable, useCustomStyleHooks as useCustomStyleHooks_unstable } from './CustomStyleHooksContext';
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"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"],"sources":["../../../../../../../packages/react-components/react-shared-contexts/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"],"mappings":"AAAA,SAASA,YAAY,IAAIC,qBAAqB,EAAEC,aAAa,IAAIC,sBAAsB,QAAQ,gBAAgB;AAG/G,SACEC,sBAAsB,IAAIC,+BAA+B,EACzDC,iBAAiB,IAAIC,0BAA0B,QAC1C,yBAAyB;AAGhC,SACEC,yBAAyB,IAAIC,kCAAkC,EAC/DC,oBAAoB,IAAIC,6BAA6B,QAChD,4BAA4B;AAGnC,SAASC,QAAQ,IAAIC,iBAAiB,EAAEC,SAAS,IAAIC,kBAAkB,QAAQ,mBAAmB;AAGlG,SACEC,iBAAiB,IAAIC,0BAA0B,EAC/CC,YAAY,IAAIC,qBAAqB,QAChC,oBAAoB"}
|
1
|
+
{"version":3,"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","CustomStyleHooksProvider","CustomStyleHooksProvider_unstable","useCustomStyleHooks","useCustomStyleHooks_unstable"],"sources":["../../../../../../../packages/react-components/react-shared-contexts/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 CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHooks as useCustomStyleHooks_unstable,\n} from './CustomStyleHooksContext';\nexport type {\n CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable,\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n} from './CustomStyleHooksContext';\n"],"mappings":"AAAA,SAASA,YAAY,IAAIC,qBAAqB,EAAEC,aAAa,IAAIC,sBAAsB,QAAQ,gBAAgB;AAG/G,SACEC,sBAAsB,IAAIC,+BAA+B,EACzDC,iBAAiB,IAAIC,0BAA0B,QAC1C,yBAAyB;AAGhC,SACEC,yBAAyB,IAAIC,kCAAkC,EAC/DC,oBAAoB,IAAIC,6BAA6B,QAChD,4BAA4B;AAGnC,SAASC,QAAQ,IAAIC,iBAAiB,EAAEC,SAAS,IAAIC,kBAAkB,QAAQ,mBAAmB;AAGlG,SACEC,iBAAiB,IAAIC,0BAA0B,EAC/CC,YAAY,IAAIC,qBAAqB,QAChC,oBAAoB;AAG3B,SACEC,wBAAwB,IAAIC,iCAAiC,EAC7DC,mBAAmB,IAAIC,4BAA4B,QAC9C,2BAA2B"}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
/* eslint-disable */
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.useCustomStyleHooks = exports.CustomStyleHooksProvider = exports.CustomStyleHooksContext = void 0;
|
8
|
+
const React = /*#__PURE__*/require("react");
|
9
|
+
/**
|
10
|
+
* @internal
|
11
|
+
*/
|
12
|
+
exports.CustomStyleHooksContext = /*#__PURE__*/React.createContext(undefined);
|
13
|
+
const noop = () => {};
|
14
|
+
const customStyleHooksContextDefaultValue = {
|
15
|
+
useAccordionHeaderStyles_unstable: noop,
|
16
|
+
useAccordionItemStyles_unstable: noop,
|
17
|
+
useAccordionPanelStyles_unstable: noop,
|
18
|
+
useAccordionStyles_unstable: noop,
|
19
|
+
useAvatarStyles_unstable: noop,
|
20
|
+
useAvatarGroupStyles_unstable: noop,
|
21
|
+
useAvatarGroupItemStyles_unstable: noop,
|
22
|
+
useAvatarGroupPopoverStyles_unstable: noop,
|
23
|
+
useBadgeStyles_unstable: noop,
|
24
|
+
useCounterBadgeStyles_unstable: noop,
|
25
|
+
usePresenceBadgeStyles_unstable: noop,
|
26
|
+
useButtonStyles_unstable: noop,
|
27
|
+
useCompoundButtonStyles_unstable: noop,
|
28
|
+
useMenuButtonStyles_unstable: noop,
|
29
|
+
useSplitButtonStyles_unstable: noop,
|
30
|
+
useToggleButtonStyles_unstable: noop,
|
31
|
+
useCheckboxStyles_unstable: noop,
|
32
|
+
useComboboxStyles_unstable: noop,
|
33
|
+
useDropdownStyles_unstable: noop,
|
34
|
+
useListboxStyles_unstable: noop,
|
35
|
+
useOptionStyles_unstable: noop,
|
36
|
+
useOptionGroupStyles_unstable: noop,
|
37
|
+
useDividerStyles_unstable: noop,
|
38
|
+
useInputStyles_unstable: noop,
|
39
|
+
useImageStyles_unstable: noop,
|
40
|
+
useLabelStyles_unstable: noop,
|
41
|
+
useLinkStyles_unstable: noop,
|
42
|
+
useCheckmarkStyles_unstable: noop,
|
43
|
+
useMenuDividerStyles_unstable: noop,
|
44
|
+
useMenuGroupHeaderStyles_unstable: noop,
|
45
|
+
useMenuGroupStyles_unstable: noop,
|
46
|
+
useMenuItemCheckboxStyles_unstable: noop,
|
47
|
+
useMenuItemRadioStyles_unstable: noop,
|
48
|
+
useMenuItemStyles_unstable: noop,
|
49
|
+
useMenuListStyles_unstable: noop,
|
50
|
+
useMenuPopoverStyles_unstable: noop,
|
51
|
+
useMenuSplitGroupStyles_unstable: noop,
|
52
|
+
usePersonaStyles_unstable: noop,
|
53
|
+
usePopoverSurfaceStyles_unstable: noop,
|
54
|
+
useRadioGroupStyles_unstable: noop,
|
55
|
+
useRadioStyles_unstable: noop,
|
56
|
+
useSelectStyles_unstable: noop,
|
57
|
+
useSliderStyles_unstable: noop,
|
58
|
+
useSpinButtonStyles_unstable: noop,
|
59
|
+
useSpinnerStyles_unstable: noop,
|
60
|
+
useSwitchStyles_unstable: noop,
|
61
|
+
useTabStyles_unstable: noop,
|
62
|
+
useTabListStyles_unstable: noop,
|
63
|
+
useTextStyles_unstable: noop,
|
64
|
+
useTextareaStyles_unstable: noop,
|
65
|
+
useTooltipStyles_unstable: noop,
|
66
|
+
useDialogTitleStyles_unstable: noop,
|
67
|
+
useDialogBodyStyles_unstable: noop,
|
68
|
+
useDialogActionsStyles_unstable: noop,
|
69
|
+
useDialogSurfaceStyles_unstable: noop,
|
70
|
+
useDialogContentStyles_unstable: noop,
|
71
|
+
useProgressBarStyles_unstable: noop,
|
72
|
+
useToolbarButtonStyles_unstable: noop,
|
73
|
+
useToolbarRadioButtonStyles_unstable: noop,
|
74
|
+
useToolbarGroupStyles_unstable: noop,
|
75
|
+
useToolbarToggleButtonStyles_unstable: noop,
|
76
|
+
useToolbarDividerStyles_unstable: noop,
|
77
|
+
useToolbarStyles_unstable: noop,
|
78
|
+
useTableCellStyles_unstable: noop,
|
79
|
+
useTableRowStyles_unstable: noop,
|
80
|
+
useTableBodyStyles_unstable: noop,
|
81
|
+
useTableStyles_unstable: noop,
|
82
|
+
useTableHeaderStyles_unstable: noop,
|
83
|
+
useTableHeaderCellStyles_unstable: noop,
|
84
|
+
useTableResizeHandleStyles_unstable: noop,
|
85
|
+
useTableSelectionCellStyles_unstable: noop,
|
86
|
+
useTableCellActionsStyles_unstable: noop,
|
87
|
+
useTableCellLayoutStyles_unstable: noop,
|
88
|
+
useDataGridCellStyles_unstable: noop,
|
89
|
+
useDataGridRowStyles_unstable: noop,
|
90
|
+
useDataGridBodyStyles_unstable: noop,
|
91
|
+
useDataGridStyles_unstable: noop,
|
92
|
+
useDataGridHeaderStyles_unstable: noop,
|
93
|
+
useDataGridHeaderCellStyles_unstable: noop,
|
94
|
+
useDataGridSelectionCellStyles_unstable: noop
|
95
|
+
};
|
96
|
+
/**
|
97
|
+
* @internal
|
98
|
+
*/
|
99
|
+
exports.CustomStyleHooksProvider = exports.CustomStyleHooksContext.Provider;
|
100
|
+
function useCustomStyleHooks() {
|
101
|
+
var _a;
|
102
|
+
return (_a = React.useContext(exports.CustomStyleHooksContext)) !== null && _a !== void 0 ? _a : customStyleHooksContextDefaultValue;
|
103
|
+
}
|
104
|
+
exports.useCustomStyleHooks = useCustomStyleHooks;
|
105
|
+
//# sourceMappingURL=CustomStyleHooksContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["React","require","exports","CustomStyleHooksContext","createContext","undefined","noop","customStyleHooksContextDefaultValue","useAccordionHeaderStyles_unstable","useAccordionItemStyles_unstable","useAccordionPanelStyles_unstable","useAccordionStyles_unstable","useAvatarStyles_unstable","useAvatarGroupStyles_unstable","useAvatarGroupItemStyles_unstable","useAvatarGroupPopoverStyles_unstable","useBadgeStyles_unstable","useCounterBadgeStyles_unstable","usePresenceBadgeStyles_unstable","useButtonStyles_unstable","useCompoundButtonStyles_unstable","useMenuButtonStyles_unstable","useSplitButtonStyles_unstable","useToggleButtonStyles_unstable","useCheckboxStyles_unstable","useComboboxStyles_unstable","useDropdownStyles_unstable","useListboxStyles_unstable","useOptionStyles_unstable","useOptionGroupStyles_unstable","useDividerStyles_unstable","useInputStyles_unstable","useImageStyles_unstable","useLabelStyles_unstable","useLinkStyles_unstable","useCheckmarkStyles_unstable","useMenuDividerStyles_unstable","useMenuGroupHeaderStyles_unstable","useMenuGroupStyles_unstable","useMenuItemCheckboxStyles_unstable","useMenuItemRadioStyles_unstable","useMenuItemStyles_unstable","useMenuListStyles_unstable","useMenuPopoverStyles_unstable","useMenuSplitGroupStyles_unstable","usePersonaStyles_unstable","usePopoverSurfaceStyles_unstable","useRadioGroupStyles_unstable","useRadioStyles_unstable","useSelectStyles_unstable","useSliderStyles_unstable","useSpinButtonStyles_unstable","useSpinnerStyles_unstable","useSwitchStyles_unstable","useTabStyles_unstable","useTabListStyles_unstable","useTextStyles_unstable","useTextareaStyles_unstable","useTooltipStyles_unstable","useDialogTitleStyles_unstable","useDialogBodyStyles_unstable","useDialogActionsStyles_unstable","useDialogSurfaceStyles_unstable","useDialogContentStyles_unstable","useProgressBarStyles_unstable","useToolbarButtonStyles_unstable","useToolbarRadioButtonStyles_unstable","useToolbarGroupStyles_unstable","useToolbarToggleButtonStyles_unstable","useToolbarDividerStyles_unstable","useToolbarStyles_unstable","useTableCellStyles_unstable","useTableRowStyles_unstable","useTableBodyStyles_unstable","useTableStyles_unstable","useTableHeaderStyles_unstable","useTableHeaderCellStyles_unstable","useTableResizeHandleStyles_unstable","useTableSelectionCellStyles_unstable","useTableCellActionsStyles_unstable","useTableCellLayoutStyles_unstable","useDataGridCellStyles_unstable","useDataGridRowStyles_unstable","useDataGridBodyStyles_unstable","useDataGridStyles_unstable","useDataGridHeaderStyles_unstable","useDataGridHeaderCellStyles_unstable","useDataGridSelectionCellStyles_unstable","CustomStyleHooksProvider","Provider","useCustomStyleHooks","_a","useContext"],"sources":["../../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext/CustomStyleHooksContext.ts"],"sourcesContent":["/* eslint-disable */\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = {\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n useCheckmarkStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\nconst noop = () => {};\nconst customStyleHooksContextDefaultValue: CustomStyleHooksContextValue = {\n useAccordionHeaderStyles_unstable: noop,\n useAccordionItemStyles_unstable: noop,\n useAccordionPanelStyles_unstable: noop,\n useAccordionStyles_unstable: noop,\n useAvatarStyles_unstable: noop,\n useAvatarGroupStyles_unstable: noop,\n useAvatarGroupItemStyles_unstable: noop,\n useAvatarGroupPopoverStyles_unstable: noop,\n useBadgeStyles_unstable: noop,\n useCounterBadgeStyles_unstable: noop,\n usePresenceBadgeStyles_unstable: noop,\n useButtonStyles_unstable: noop,\n useCompoundButtonStyles_unstable: noop,\n useMenuButtonStyles_unstable: noop,\n useSplitButtonStyles_unstable: noop,\n useToggleButtonStyles_unstable: noop,\n useCheckboxStyles_unstable: noop,\n useComboboxStyles_unstable: noop,\n useDropdownStyles_unstable: noop,\n useListboxStyles_unstable: noop,\n useOptionStyles_unstable: noop,\n useOptionGroupStyles_unstable: noop,\n useDividerStyles_unstable: noop,\n useInputStyles_unstable: noop,\n useImageStyles_unstable: noop,\n useLabelStyles_unstable: noop,\n useLinkStyles_unstable: noop,\n useCheckmarkStyles_unstable: noop,\n useMenuDividerStyles_unstable: noop,\n useMenuGroupHeaderStyles_unstable: noop,\n useMenuGroupStyles_unstable: noop,\n useMenuItemCheckboxStyles_unstable: noop,\n useMenuItemRadioStyles_unstable: noop,\n useMenuItemStyles_unstable: noop,\n useMenuListStyles_unstable: noop,\n useMenuPopoverStyles_unstable: noop,\n useMenuSplitGroupStyles_unstable: noop,\n usePersonaStyles_unstable: noop,\n usePopoverSurfaceStyles_unstable: noop,\n useRadioGroupStyles_unstable: noop,\n useRadioStyles_unstable: noop,\n useSelectStyles_unstable: noop,\n useSliderStyles_unstable: noop,\n useSpinButtonStyles_unstable: noop,\n useSpinnerStyles_unstable: noop,\n useSwitchStyles_unstable: noop,\n useTabStyles_unstable: noop,\n useTabListStyles_unstable: noop,\n useTextStyles_unstable: noop,\n useTextareaStyles_unstable: noop,\n useTooltipStyles_unstable: noop,\n useDialogTitleStyles_unstable: noop,\n useDialogBodyStyles_unstable: noop,\n useDialogActionsStyles_unstable: noop,\n useDialogSurfaceStyles_unstable: noop,\n useDialogContentStyles_unstable: noop,\n useProgressBarStyles_unstable: noop,\n useToolbarButtonStyles_unstable: noop,\n useToolbarRadioButtonStyles_unstable: noop,\n useToolbarGroupStyles_unstable: noop,\n useToolbarToggleButtonStyles_unstable: noop,\n useToolbarDividerStyles_unstable: noop,\n useToolbarStyles_unstable: noop,\n useTableCellStyles_unstable: noop,\n useTableRowStyles_unstable: noop,\n useTableBodyStyles_unstable: noop,\n useTableStyles_unstable: noop,\n useTableHeaderStyles_unstable: noop,\n useTableHeaderCellStyles_unstable: noop,\n useTableResizeHandleStyles_unstable: noop,\n useTableSelectionCellStyles_unstable: noop,\n useTableCellActionsStyles_unstable: noop,\n useTableCellLayoutStyles_unstable: noop,\n useDataGridCellStyles_unstable: noop,\n useDataGridRowStyles_unstable: noop,\n useDataGridBodyStyles_unstable: noop,\n useDataGridStyles_unstable: noop,\n useDataGridHeaderStyles_unstable: noop,\n useDataGridHeaderCellStyles_unstable: noop,\n useDataGridSelectionCellStyles_unstable: noop,\n};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\nexport function useCustomStyleHooks(): CustomStyleHooksContextValue {\n return React.useContext(CustomStyleHooksContext) ?? customStyleHooksContextDefaultValue;\n}\n"],"mappings":";;AAAA;;;;;AAEA,MAAAA,KAAA,gBAAAC,OAAA;AAwFA;;;AAGaC,OAAA,CAAAC,uBAAuB,gBAAGH,KAAK,CAACI,aAAa,CAA2CC,SAAS,CAAC;AAE/G,MAAMC,IAAI,GAAGA,CAAA,KAAK,CAAE,CAAC;AACrB,MAAMC,mCAAmC,GAAiC;EACxEC,iCAAiC,EAAEF,IAAI;EACvCG,+BAA+B,EAAEH,IAAI;EACrCI,gCAAgC,EAAEJ,IAAI;EACtCK,2BAA2B,EAAEL,IAAI;EACjCM,wBAAwB,EAAEN,IAAI;EAC9BO,6BAA6B,EAAEP,IAAI;EACnCQ,iCAAiC,EAAER,IAAI;EACvCS,oCAAoC,EAAET,IAAI;EAC1CU,uBAAuB,EAAEV,IAAI;EAC7BW,8BAA8B,EAAEX,IAAI;EACpCY,+BAA+B,EAAEZ,IAAI;EACrCa,wBAAwB,EAAEb,IAAI;EAC9Bc,gCAAgC,EAAEd,IAAI;EACtCe,4BAA4B,EAAEf,IAAI;EAClCgB,6BAA6B,EAAEhB,IAAI;EACnCiB,8BAA8B,EAAEjB,IAAI;EACpCkB,0BAA0B,EAAElB,IAAI;EAChCmB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6BAA6B,EAAE1D,IAAI;EACnC2D,+BAA+B,EAAE3D,IAAI;EACrC4D,oCAAoC,EAAE5D,IAAI;EAC1C6D,8BAA8B,EAAE7D,IAAI;EACpC8D,qCAAqC,EAAE9D,IAAI;EAC3C+D,gCAAgC,EAAE/D,IAAI;EACtCgE,yBAAyB,EAAEhE,IAAI;EAC/BiE,2BAA2B,EAAEjE,IAAI;EACjCkE,0BAA0B,EAAElE,IAAI;EAChCmE,2BAA2B,EAAEnE,IAAI;EACjCoE,uBAAuB,EAAEpE,IAAI;EAC7BqE,6BAA6B,EAAErE,IAAI;EACnCsE,iCAAiC,EAAEtE,IAAI;EACvCuE,mCAAmC,EAAEvE,IAAI;EACzCwE,oCAAoC,EAAExE,IAAI;EAC1CyE,kCAAkC,EAAEzE,IAAI;EACxC0E,iCAAiC,EAAE1E,IAAI;EACvC2E,8BAA8B,EAAE3E,IAAI;EACpC4E,6BAA6B,EAAE5E,IAAI;EACnC6E,8BAA8B,EAAE7E,IAAI;EACpC8E,0BAA0B,EAAE9E,IAAI;EAChC+E,gCAAgC,EAAE/E,IAAI;EACtCgF,oCAAoC,EAAEhF,IAAI;EAC1CiF,uCAAuC,EAAEjF;CAC1C;AAED;;;AAGaJ,OAAA,CAAAsF,wBAAwB,GAAGtF,OAAA,CAAAC,uBAAuB,CAACsF,QAAQ;AAExE,SAAgBC,mBAAmBA,CAAA;;EACjC,OAAO,CAAAC,EAAA,GAAA3F,KAAK,CAAC4F,UAAU,CAAC1F,OAAA,CAAAC,uBAAuB,CAAC,cAAAwF,EAAA,cAAAA,EAAA,GAAIpF,mCAAmC;AACzF;AAFAL,OAAA,CAAAwF,mBAAA,GAAAA,mBAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext/index.ts"],"sourcesContent":["export * from './CustomStyleHooksContext';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,+BAAAC,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["tslib_1","__exportStar","require","exports"],"sources":["../../../../../../../packages/react-components/react-shared-contexts/src/CustomStyleHooksContext.ts"],"sourcesContent":["export * from './CustomStyleHooksContext/index';\n"],"mappings":";;;;;;AAAAA,OAAA,CAAAC,YAAA,CAAAC,OAAA,qCAAAC,OAAA"}
|
package/lib-commonjs/index.js
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.useOverrides_unstable = exports.OverridesProvider_unstable = exports.useFluent_unstable = exports.Provider_unstable = exports.useTooltipVisibility_unstable = exports.TooltipVisibilityProvider_unstable = exports.useThemeClassName_unstable = exports.ThemeClassNameProvider_unstable = exports.ThemeProvider_unstable = exports.ThemeContext_unstable = void 0;
|
6
|
+
exports.useCustomStyleHooks_unstable = exports.CustomStyleHooksProvider_unstable = exports.useOverrides_unstable = exports.OverridesProvider_unstable = exports.useFluent_unstable = exports.Provider_unstable = exports.useTooltipVisibility_unstable = exports.TooltipVisibilityProvider_unstable = exports.useThemeClassName_unstable = exports.ThemeClassNameProvider_unstable = exports.ThemeProvider_unstable = exports.ThemeContext_unstable = void 0;
|
7
7
|
var ThemeContext_1 = /*#__PURE__*/require("./ThemeContext");
|
8
8
|
Object.defineProperty(exports, "ThemeContext_unstable", {
|
9
9
|
enumerable: true,
|
@@ -69,4 +69,17 @@ Object.defineProperty(exports, "useOverrides_unstable", {
|
|
69
69
|
return OverridesContext_1.useOverrides;
|
70
70
|
}
|
71
71
|
});
|
72
|
+
var CustomStyleHooksContext_1 = /*#__PURE__*/require("./CustomStyleHooksContext");
|
73
|
+
Object.defineProperty(exports, "CustomStyleHooksProvider_unstable", {
|
74
|
+
enumerable: true,
|
75
|
+
get: function () {
|
76
|
+
return CustomStyleHooksContext_1.CustomStyleHooksProvider;
|
77
|
+
}
|
78
|
+
});
|
79
|
+
Object.defineProperty(exports, "useCustomStyleHooks_unstable", {
|
80
|
+
enumerable: true,
|
81
|
+
get: function () {
|
82
|
+
return CustomStyleHooksContext_1.useCustomStyleHooks;
|
83
|
+
}
|
84
|
+
});
|
72
85
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["ThemeContext_1","require","Object","defineProperty","exports","enumerable","get","ThemeContext","ThemeProvider","ThemeClassNameContext_1","ThemeClassNameProvider","useThemeClassName","TooltipVisibilityContext_1","TooltipVisibilityProvider","useTooltipVisibility","ProviderContext_1","Provider","useFluent","OverridesContext_1","OverridesProvider","useOverrides"],"sources":["../../../../../../../packages/react-components/react-shared-contexts/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"],"mappings":";;;;;;AAAA,IAAAA,cAAA,gBAAAC,OAAA;AAASC,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAA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AAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAY,kBAAA,CAAAE,YAAY;EAAA;AAAA"}
|
1
|
+
{"version":3,"names":["ThemeContext_1","require","Object","defineProperty","exports","enumerable","get","ThemeContext","ThemeProvider","ThemeClassNameContext_1","ThemeClassNameProvider","useThemeClassName","TooltipVisibilityContext_1","TooltipVisibilityProvider","useTooltipVisibility","ProviderContext_1","Provider","useFluent","OverridesContext_1","OverridesProvider","useOverrides","CustomStyleHooksContext_1","CustomStyleHooksProvider","useCustomStyleHooks"],"sources":["../../../../../../../packages/react-components/react-shared-contexts/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 CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHooks as useCustomStyleHooks_unstable,\n} from './CustomStyleHooksContext';\nexport type {\n CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable,\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n} from './CustomStyle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AA,CAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAY,kBAAA,CAAAC,iBAAiB;EAAA;AAAA;AACjBjB,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAY,kBAAA,CAAAE,YAAY;EAAA;AAAA;AAId,IAAAC,yBAAA,gBAAApB,OAAA;AACEC,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAe,yBAAA,CAAAC,wBAAwB;EAAA;AAAA;AACxBpB,MAAA,CAAAC,cAAA,CAAAC,OAAA;EAAAC,UAAA;EAAAC,GAAA,WAAAA,CAAA;IAAA,OAAAe,yBAAA,CAAAE,mBAAmB;EAAA;AAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-shared-contexts",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20230303-0424.1",
|
4
4
|
"description": "Fluent UI React Contexts shared by multiple components.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@fluentui/scripts-tasks": "*"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"@fluentui/react-theme": "0.0.0-nightly-
|
30
|
+
"@fluentui/react-theme": "0.0.0-nightly-20230303-0424.1",
|
31
31
|
"tslib": "^2.1.0"
|
32
32
|
},
|
33
33
|
"peerDependencies": {
|