@fluentui/react-toolbar 9.7.0 → 9.72.9-experimental.component-base-hooks.20260122-49fc330360.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -15
- package/dist/index.d.ts +71 -0
- package/lib/index.js +5 -11
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +15 -11
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +11 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-toolbar
|
|
2
2
|
|
|
3
|
-
This log was last generated on Thu, 22 Jan 2026
|
|
3
|
+
This log was last generated on Thu, 22 Jan 2026 16:12:51 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.
|
|
7
|
+
## [9.72.9-experimental.component-base-hooks.20260122-49fc330360.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0)
|
|
8
8
|
|
|
9
|
-
Thu, 22 Jan 2026
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toolbar_v9.6.14..@fluentui/react-toolbar_v9.
|
|
9
|
+
Thu, 22 Jan 2026 16:12:51 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-toolbar_v9.6.14..@fluentui/react-toolbar_v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0)
|
|
11
11
|
|
|
12
|
-
###
|
|
12
|
+
### Changes
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
- Bump @fluentui/react-button to v9.
|
|
16
|
-
- Bump @fluentui/react-divider to v9.
|
|
17
|
-
- Bump @fluentui/react-theme to v9.
|
|
18
|
-
- Bump @fluentui/react-utilities to v9.
|
|
19
|
-
- Bump @fluentui/react-jsx-runtime to v9.
|
|
20
|
-
- Bump @fluentui/react-context-selector to v9.
|
|
21
|
-
- Bump @fluentui/react-radio to v9.
|
|
22
|
-
- Bump @fluentui/react-shared-contexts to v9.
|
|
23
|
-
- Bump @fluentui/react-tabster to v9.
|
|
14
|
+
- Release 9.72.9-experimental.component-base-hooks.20260122-49fc330360 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
|
|
15
|
+
- Bump @fluentui/react-button to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
16
|
+
- Bump @fluentui/react-divider to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
17
|
+
- Bump @fluentui/react-theme to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
18
|
+
- Bump @fluentui/react-utilities to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
19
|
+
- Bump @fluentui/react-jsx-runtime to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
20
|
+
- Bump @fluentui/react-context-selector to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
21
|
+
- Bump @fluentui/react-radio to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
22
|
+
- Bump @fluentui/react-shared-contexts to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
23
|
+
- Bump @fluentui/react-tabster to v9.72.9-experimental.component-base-hooks.20260122-49fc330360.0 ([commit](https://github.com/microsoft/fluentui/commit/373001c3e19d022ef1fcf745ea96375cf4f3aff1) by beachball)
|
|
24
24
|
|
|
25
25
|
## [9.6.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-toolbar_v9.6.14)
|
|
26
26
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ButtonState } from '@fluentui/react-button';
|
|
|
4
4
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
|
5
5
|
import type { ComponentState } from '@fluentui/react-utilities';
|
|
6
6
|
import { ContextSelector } from '@fluentui/react-context-selector';
|
|
7
|
+
import type { DistributiveOmit } from '@fluentui/react-utilities';
|
|
7
8
|
import type { DividerSlots } from '@fluentui/react-divider';
|
|
8
9
|
import type { DividerState } from '@fluentui/react-divider';
|
|
9
10
|
import type { ForwardRefComponent } from '@fluentui/react-utilities';
|
|
@@ -31,12 +32,20 @@ declare type ToggableHandler = (e: React_2.MouseEvent | React_2.KeyboardEvent, n
|
|
|
31
32
|
*/
|
|
32
33
|
export declare const Toolbar: ForwardRefComponent<ToolbarProps>;
|
|
33
34
|
|
|
35
|
+
export declare type ToolbarBaseProps = Omit<ToolbarProps, 'size'>;
|
|
36
|
+
|
|
37
|
+
export declare type ToolbarBaseState = Omit<ToolbarState, 'size'>;
|
|
38
|
+
|
|
34
39
|
/**
|
|
35
40
|
* ToolbarButton component is a Button to be used inside Toolbar
|
|
36
41
|
* which will respect toolbar props such as `size`
|
|
37
42
|
*/
|
|
38
43
|
export declare const ToolbarButton: ForwardRefComponent<ToolbarButtonProps>;
|
|
39
44
|
|
|
45
|
+
export declare type ToolbarButtonBaseProps = DistributiveOmit<ToolbarButtonProps, 'appearance'>;
|
|
46
|
+
|
|
47
|
+
export declare type ToolbarButtonBaseState = DistributiveOmit<ToolbarButtonState, 'appearance' | 'size' | 'shape'>;
|
|
48
|
+
|
|
40
49
|
/**
|
|
41
50
|
* ToolbarButton Props
|
|
42
51
|
*/
|
|
@@ -76,6 +85,10 @@ export declare type ToolbarContextValues = {
|
|
|
76
85
|
*/
|
|
77
86
|
export declare const ToolbarDivider: ForwardRefComponent<ToolbarDividerProps>;
|
|
78
87
|
|
|
88
|
+
export declare type ToolbarDividerBaseProps = ToolbarDividerProps;
|
|
89
|
+
|
|
90
|
+
export declare type ToolbarDividerBaseState = Omit<ToolbarDividerState, 'appearance'>;
|
|
91
|
+
|
|
79
92
|
/**
|
|
80
93
|
* ToolbarDivider Props
|
|
81
94
|
*/
|
|
@@ -154,6 +167,10 @@ export declare type ToolbarProps = ComponentProps<ToolbarSlots> & {
|
|
|
154
167
|
*/
|
|
155
168
|
export declare const ToolbarRadioButton: ForwardRefComponent<ToolbarRadioButtonProps>;
|
|
156
169
|
|
|
170
|
+
export declare type ToolbarRadioButtonBaseProps = DistributiveOmit<ToolbarRadioButtonProps, 'appearance'>;
|
|
171
|
+
|
|
172
|
+
export declare type ToolbarRadioButtonBaseState = DistributiveOmit<ToolbarRadioButtonState, 'appearance'>;
|
|
173
|
+
|
|
157
174
|
/**
|
|
158
175
|
* ToolbarRadioButton Props
|
|
159
176
|
*/
|
|
@@ -205,6 +222,10 @@ export declare type ToolbarState = ComponentState<ToolbarSlots> & Required<Pick<
|
|
|
205
222
|
*/
|
|
206
223
|
export declare const ToolbarToggleButton: ForwardRefComponent<ToolbarToggleButtonProps>;
|
|
207
224
|
|
|
225
|
+
export declare type ToolbarToggleButtonBaseProps = DistributiveOmit<ToolbarToggleButtonProps, 'appearance'>;
|
|
226
|
+
|
|
227
|
+
export declare type ToolbarToggleButtonBaseState = DistributiveOmit<ToolbarToggleButtonState, 'appearance'>;
|
|
228
|
+
|
|
208
229
|
/**
|
|
209
230
|
* ToolbarToggleButton Props
|
|
210
231
|
*/
|
|
@@ -230,6 +251,16 @@ export declare type ToolbarToggleButtonState = ComponentState<Partial<ButtonSlot
|
|
|
230
251
|
*/
|
|
231
252
|
export declare const useToolbar_unstable: (props: ToolbarProps, ref: React_2.Ref<HTMLElement>) => ToolbarState;
|
|
232
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Base hook that builds Toolbar state for behavior and structure only.
|
|
256
|
+
* It does not add arrow key navigation, which is handled by `useToolbar_unstable`.
|
|
257
|
+
*
|
|
258
|
+
* @internal
|
|
259
|
+
* @param props - Props for this Toolbar instance.
|
|
260
|
+
* @param ref - Ref to the root HTMLElement.
|
|
261
|
+
*/
|
|
262
|
+
export declare const useToolbarBase_unstable: (props: ToolbarBaseProps, ref: React_2.Ref<HTMLElement>) => ToolbarBaseState;
|
|
263
|
+
|
|
233
264
|
/**
|
|
234
265
|
* Given user props, defines default props for the Button, calls useButtonState and useChecked, and returns
|
|
235
266
|
* processed state.
|
|
@@ -238,6 +269,16 @@ export declare const useToolbar_unstable: (props: ToolbarProps, ref: React_2.Ref
|
|
|
238
269
|
*/
|
|
239
270
|
export declare const useToolbarButton_unstable: (props: ToolbarButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarButtonState;
|
|
240
271
|
|
|
272
|
+
/**
|
|
273
|
+
* Base hook that builds Toolbar Button state for behavior and structure only.
|
|
274
|
+
* It does not provide any design-related defaults.
|
|
275
|
+
*
|
|
276
|
+
* @internal
|
|
277
|
+
* @param props - User provided props to the Button component.
|
|
278
|
+
* @param ref - User provided ref to be passed to the Button component.
|
|
279
|
+
*/
|
|
280
|
+
export declare const useToolbarButtonBase_unstable: (props: ToolbarButtonBaseProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarButtonBaseState;
|
|
281
|
+
|
|
241
282
|
/**
|
|
242
283
|
* Apply styling to the ToolbarButton slots based on the state
|
|
243
284
|
*/
|
|
@@ -258,6 +299,16 @@ export declare function useToolbarContextValues_unstable(state: ToolbarState): T
|
|
|
258
299
|
*/
|
|
259
300
|
export declare const useToolbarDivider_unstable: (props: ToolbarDividerProps, ref: React_2.Ref<HTMLElement>) => ToolbarDividerState;
|
|
260
301
|
|
|
302
|
+
/**
|
|
303
|
+
* Base hook that builds ToolbarDivider state for behavior and structure only.
|
|
304
|
+
* It does not provide any design-related defaults.
|
|
305
|
+
*
|
|
306
|
+
* @internal
|
|
307
|
+
* @param props - props from this instance of ToolbarDivider
|
|
308
|
+
* @param ref - reference to root HTMLElement of ToolbarDivider
|
|
309
|
+
*/
|
|
310
|
+
export declare const useToolbarDividerBase_unstable: (props: ToolbarDividerBaseProps, ref: React_2.Ref<HTMLElement>) => ToolbarDividerBaseState;
|
|
311
|
+
|
|
261
312
|
/**
|
|
262
313
|
* Apply styling to the ToolbarDivider slots based on the state
|
|
263
314
|
*/
|
|
@@ -283,6 +334,16 @@ export declare const useToolbarGroupStyles_unstable: (state: ToolbarGroupState)
|
|
|
283
334
|
*/
|
|
284
335
|
export declare const useToolbarRadioButton_unstable: (props: ToolbarRadioButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarRadioButtonState;
|
|
285
336
|
|
|
337
|
+
/**
|
|
338
|
+
* Base hook that builds Toolbar RadioButton state for behavior and structure only.
|
|
339
|
+
* It does not provide any design-related defaults.
|
|
340
|
+
*
|
|
341
|
+
* @internal
|
|
342
|
+
* @param props - User provided props to the RadioButton component.
|
|
343
|
+
* @param ref - User provided ref to be passed to the RadioButton component.
|
|
344
|
+
*/
|
|
345
|
+
export declare const useToolbarRadioButtonBase_unstable: (props: ToolbarRadioButtonBaseProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarRadioButtonBaseState;
|
|
346
|
+
|
|
286
347
|
/**
|
|
287
348
|
* Apply styling to the ToolbarRadioButton slots based on the state
|
|
288
349
|
*/
|
|
@@ -301,6 +362,16 @@ export declare const useToolbarStyles_unstable: (state: ToolbarState) => Toolbar
|
|
|
301
362
|
*/
|
|
302
363
|
export declare const useToolbarToggleButton_unstable: (props: ToolbarToggleButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarToggleButtonState;
|
|
303
364
|
|
|
365
|
+
/**
|
|
366
|
+
* Base hook that builds Toolbar ToggleButton state for behavior and structure only.
|
|
367
|
+
* It does not provide any design-related defaults.
|
|
368
|
+
*
|
|
369
|
+
* @internal
|
|
370
|
+
* @param props - User provided props to the ToggleButton component.
|
|
371
|
+
* @param ref - User provided ref to be passed to the ToggleButton component.
|
|
372
|
+
*/
|
|
373
|
+
export declare const useToolbarToggleButtonBase_unstable: (props: ToolbarToggleButtonBaseProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => ToolbarToggleButtonBaseState;
|
|
374
|
+
|
|
304
375
|
/**
|
|
305
376
|
* Apply styling to the ToolbarToggleButton slots based on the state
|
|
306
377
|
*/
|
package/lib/index.js
CHANGED
|
@@ -5,14 +5,8 @@ export { ToolbarToggleButton, useToolbarToggleButtonStyles_unstable, useToolbarT
|
|
|
5
5
|
export { ToolbarRadioButton, useToolbarRadioButtonStyles_unstable, useToolbarRadioButton_unstable } from './ToolbarRadioButton';
|
|
6
6
|
export { ToolbarGroup, useToolbarGroupStyles_unstable, useToolbarGroup_unstable, renderToolbarGroup_unstable, toolbarGroupClassNames } from './ToolbarGroup';
|
|
7
7
|
export { ToolbarRadioGroup } from './ToolbarRadioGroup';
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// export type { ToolbarDividerBaseState, ToolbarDividerBaseProps } from './ToolbarDivider';
|
|
14
|
-
// export { useToolbarDividerBase_unstable } from './ToolbarDivider';
|
|
15
|
-
// export type { ToolbarRadioButtonBaseState, ToolbarRadioButtonBaseProps } from './ToolbarRadioButton';
|
|
16
|
-
// export { useToolbarRadioButtonBase_unstable } from './ToolbarRadioButton';
|
|
17
|
-
// export type { ToolbarToggleButtonBaseState, ToolbarToggleButtonBaseProps } from './ToolbarToggleButton';
|
|
18
|
-
// export { useToolbarToggleButtonBase_unstable } from './ToolbarToggleButton';
|
|
8
|
+
export { useToolbarBase_unstable } from './Toolbar';
|
|
9
|
+
export { useToolbarButtonBase_unstable } from './ToolbarButton';
|
|
10
|
+
export { useToolbarDividerBase_unstable } from './ToolbarDivider';
|
|
11
|
+
export { useToolbarRadioButtonBase_unstable } from './ToolbarRadioButton';
|
|
12
|
+
export { useToolbarToggleButtonBase_unstable } from './ToolbarToggleButton';
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Toolbar,\n renderToolbar_unstable,\n toolbarClassNames,\n useToolbarStyles_unstable,\n useToolbar_unstable,\n useToolbarContextValues_unstable,\n useToolbarContext_unstable,\n} from './Toolbar';\nexport type { ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState } from './Toolbar';\nexport { ToolbarButton, useToolbarButtonStyles_unstable, useToolbarButton_unstable } from './ToolbarButton';\nexport type { ToolbarButtonProps, ToolbarButtonState } from './ToolbarButton';\nexport { ToolbarDivider, useToolbarDividerStyles_unstable, useToolbarDivider_unstable } from './ToolbarDivider';\nexport type { ToolbarDividerProps, ToolbarDividerState } from './ToolbarDivider';\nexport {\n ToolbarToggleButton,\n useToolbarToggleButtonStyles_unstable,\n useToolbarToggleButton_unstable,\n} from './ToolbarToggleButton';\nexport type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './ToolbarToggleButton';\nexport {\n ToolbarRadioButton,\n useToolbarRadioButtonStyles_unstable,\n useToolbarRadioButton_unstable,\n} from './ToolbarRadioButton';\nexport type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './ToolbarRadioButton';\nexport {\n ToolbarGroup,\n useToolbarGroupStyles_unstable,\n useToolbarGroup_unstable,\n renderToolbarGroup_unstable,\n toolbarGroupClassNames,\n} from './ToolbarGroup';\nexport type { ToolbarGroupProps, ToolbarGroupState } from './ToolbarGroup';\nexport { ToolbarRadioGroup } from './ToolbarRadioGroup';\nexport type { ToolbarRadioGroupProps, ToolbarRadioGroupState } from './ToolbarRadioGroup';\n\n// Experimental APIs\
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Toolbar,\n renderToolbar_unstable,\n toolbarClassNames,\n useToolbarStyles_unstable,\n useToolbar_unstable,\n useToolbarContextValues_unstable,\n useToolbarContext_unstable,\n} from './Toolbar';\nexport type { ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState } from './Toolbar';\nexport { ToolbarButton, useToolbarButtonStyles_unstable, useToolbarButton_unstable } from './ToolbarButton';\nexport type { ToolbarButtonProps, ToolbarButtonState } from './ToolbarButton';\nexport { ToolbarDivider, useToolbarDividerStyles_unstable, useToolbarDivider_unstable } from './ToolbarDivider';\nexport type { ToolbarDividerProps, ToolbarDividerState } from './ToolbarDivider';\nexport {\n ToolbarToggleButton,\n useToolbarToggleButtonStyles_unstable,\n useToolbarToggleButton_unstable,\n} from './ToolbarToggleButton';\nexport type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './ToolbarToggleButton';\nexport {\n ToolbarRadioButton,\n useToolbarRadioButtonStyles_unstable,\n useToolbarRadioButton_unstable,\n} from './ToolbarRadioButton';\nexport type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './ToolbarRadioButton';\nexport {\n ToolbarGroup,\n useToolbarGroupStyles_unstable,\n useToolbarGroup_unstable,\n renderToolbarGroup_unstable,\n toolbarGroupClassNames,\n} from './ToolbarGroup';\nexport type { ToolbarGroupProps, ToolbarGroupState } from './ToolbarGroup';\nexport { ToolbarRadioGroup } from './ToolbarRadioGroup';\nexport type { ToolbarRadioGroupProps, ToolbarRadioGroupState } from './ToolbarRadioGroup';\n\n// Experimental APIs\nexport type { ToolbarBaseState, ToolbarBaseProps } from './Toolbar';\nexport { useToolbarBase_unstable } from './Toolbar';\nexport type { ToolbarButtonBaseState, ToolbarButtonBaseProps } from './ToolbarButton';\nexport { useToolbarButtonBase_unstable } from './ToolbarButton';\nexport type { ToolbarDividerBaseState, ToolbarDividerBaseProps } from './ToolbarDivider';\nexport { useToolbarDividerBase_unstable } from './ToolbarDivider';\nexport type { ToolbarRadioButtonBaseState, ToolbarRadioButtonBaseProps } from './ToolbarRadioButton';\nexport { useToolbarRadioButtonBase_unstable } from './ToolbarRadioButton';\nexport type { ToolbarToggleButtonBaseState, ToolbarToggleButtonBaseProps } from './ToolbarToggleButton';\nexport { useToolbarToggleButtonBase_unstable } from './ToolbarToggleButton';\n"],"names":["Toolbar","renderToolbar_unstable","toolbarClassNames","useToolbarStyles_unstable","useToolbar_unstable","useToolbarContextValues_unstable","useToolbarContext_unstable","ToolbarButton","useToolbarButtonStyles_unstable","useToolbarButton_unstable","ToolbarDivider","useToolbarDividerStyles_unstable","useToolbarDivider_unstable","ToolbarToggleButton","useToolbarToggleButtonStyles_unstable","useToolbarToggleButton_unstable","ToolbarRadioButton","useToolbarRadioButtonStyles_unstable","useToolbarRadioButton_unstable","ToolbarGroup","useToolbarGroupStyles_unstable","useToolbarGroup_unstable","renderToolbarGroup_unstable","toolbarGroupClassNames","ToolbarRadioGroup","useToolbarBase_unstable","useToolbarButtonBase_unstable","useToolbarDividerBase_unstable","useToolbarRadioButtonBase_unstable","useToolbarToggleButtonBase_unstable"],"mappings":"AAAA,SACEA,OAAO,EACPC,sBAAsB,EACtBC,iBAAiB,EACjBC,yBAAyB,EACzBC,mBAAmB,EACnBC,gCAAgC,EAChCC,0BAA0B,QACrB,YAAY;AAEnB,SAASC,aAAa,EAAEC,+BAA+B,EAAEC,yBAAyB,QAAQ,kBAAkB;AAE5G,SAASC,cAAc,EAAEC,gCAAgC,EAAEC,0BAA0B,QAAQ,mBAAmB;AAEhH,SACEC,mBAAmB,EACnBC,qCAAqC,EACrCC,+BAA+B,QAC1B,wBAAwB;AAE/B,SACEC,kBAAkB,EAClBC,oCAAoC,EACpCC,8BAA8B,QACzB,uBAAuB;AAE9B,SACEC,YAAY,EACZC,8BAA8B,EAC9BC,wBAAwB,EACxBC,2BAA2B,EAC3BC,sBAAsB,QACjB,iBAAiB;AAExB,SAASC,iBAAiB,QAAQ,sBAAsB;AAKxD,SAASC,uBAAuB,QAAQ,YAAY;AAEpD,SAASC,6BAA6B,QAAQ,kBAAkB;AAEhE,SAASC,8BAA8B,QAAQ,mBAAmB;AAElE,SAASC,kCAAkC,QAAQ,uBAAuB;AAE1E,SAASC,mCAAmC,QAAQ,wBAAwB"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -42,6 +42,12 @@ _export(exports, {
|
|
|
42
42
|
toolbarGroupClassNames: function() {
|
|
43
43
|
return _ToolbarGroup.toolbarGroupClassNames;
|
|
44
44
|
},
|
|
45
|
+
useToolbarBase_unstable: function() {
|
|
46
|
+
return _Toolbar.useToolbarBase_unstable;
|
|
47
|
+
},
|
|
48
|
+
useToolbarButtonBase_unstable: function() {
|
|
49
|
+
return _ToolbarButton.useToolbarButtonBase_unstable;
|
|
50
|
+
},
|
|
45
51
|
useToolbarButtonStyles_unstable: function() {
|
|
46
52
|
return _ToolbarButton.useToolbarButtonStyles_unstable;
|
|
47
53
|
},
|
|
@@ -54,6 +60,9 @@ _export(exports, {
|
|
|
54
60
|
useToolbarContext_unstable: function() {
|
|
55
61
|
return _Toolbar.useToolbarContext_unstable;
|
|
56
62
|
},
|
|
63
|
+
useToolbarDividerBase_unstable: function() {
|
|
64
|
+
return _ToolbarDivider.useToolbarDividerBase_unstable;
|
|
65
|
+
},
|
|
57
66
|
useToolbarDividerStyles_unstable: function() {
|
|
58
67
|
return _ToolbarDivider.useToolbarDividerStyles_unstable;
|
|
59
68
|
},
|
|
@@ -66,6 +75,9 @@ _export(exports, {
|
|
|
66
75
|
useToolbarGroup_unstable: function() {
|
|
67
76
|
return _ToolbarGroup.useToolbarGroup_unstable;
|
|
68
77
|
},
|
|
78
|
+
useToolbarRadioButtonBase_unstable: function() {
|
|
79
|
+
return _ToolbarRadioButton.useToolbarRadioButtonBase_unstable;
|
|
80
|
+
},
|
|
69
81
|
useToolbarRadioButtonStyles_unstable: function() {
|
|
70
82
|
return _ToolbarRadioButton.useToolbarRadioButtonStyles_unstable;
|
|
71
83
|
},
|
|
@@ -75,6 +87,9 @@ _export(exports, {
|
|
|
75
87
|
useToolbarStyles_unstable: function() {
|
|
76
88
|
return _Toolbar.useToolbarStyles_unstable;
|
|
77
89
|
},
|
|
90
|
+
useToolbarToggleButtonBase_unstable: function() {
|
|
91
|
+
return _ToolbarToggleButton.useToolbarToggleButtonBase_unstable;
|
|
92
|
+
},
|
|
78
93
|
useToolbarToggleButtonStyles_unstable: function() {
|
|
79
94
|
return _ToolbarToggleButton.useToolbarToggleButtonStyles_unstable;
|
|
80
95
|
},
|
|
@@ -92,14 +107,3 @@ const _ToolbarToggleButton = require("./ToolbarToggleButton");
|
|
|
92
107
|
const _ToolbarRadioButton = require("./ToolbarRadioButton");
|
|
93
108
|
const _ToolbarGroup = require("./ToolbarGroup");
|
|
94
109
|
const _ToolbarRadioGroup = require("./ToolbarRadioGroup");
|
|
95
|
-
// Experimental APIs
|
|
96
|
-
// export type { ToolbarBaseState, ToolbarBaseProps } from './Toolbar';
|
|
97
|
-
// export { useToolbarBase_unstable } from './Toolbar';
|
|
98
|
-
// export type { ToolbarButtonBaseState, ToolbarButtonBaseProps } from './ToolbarButton';
|
|
99
|
-
// export { useToolbarButtonBase_unstable } from './ToolbarButton';
|
|
100
|
-
// export type { ToolbarDividerBaseState, ToolbarDividerBaseProps } from './ToolbarDivider';
|
|
101
|
-
// export { useToolbarDividerBase_unstable } from './ToolbarDivider';
|
|
102
|
-
// export type { ToolbarRadioButtonBaseState, ToolbarRadioButtonBaseProps } from './ToolbarRadioButton';
|
|
103
|
-
// export { useToolbarRadioButtonBase_unstable } from './ToolbarRadioButton';
|
|
104
|
-
// export type { ToolbarToggleButtonBaseState, ToolbarToggleButtonBaseProps } from './ToolbarToggleButton';
|
|
105
|
-
// export { useToolbarToggleButtonBase_unstable } from './ToolbarToggleButton';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Toolbar,\n renderToolbar_unstable,\n toolbarClassNames,\n useToolbarStyles_unstable,\n useToolbar_unstable,\n useToolbarContextValues_unstable,\n useToolbarContext_unstable,\n} from './Toolbar';\nexport type { ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState } from './Toolbar';\nexport { ToolbarButton, useToolbarButtonStyles_unstable, useToolbarButton_unstable } from './ToolbarButton';\nexport type { ToolbarButtonProps, ToolbarButtonState } from './ToolbarButton';\nexport { ToolbarDivider, useToolbarDividerStyles_unstable, useToolbarDivider_unstable } from './ToolbarDivider';\nexport type { ToolbarDividerProps, ToolbarDividerState } from './ToolbarDivider';\nexport {\n ToolbarToggleButton,\n useToolbarToggleButtonStyles_unstable,\n useToolbarToggleButton_unstable,\n} from './ToolbarToggleButton';\nexport type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './ToolbarToggleButton';\nexport {\n ToolbarRadioButton,\n useToolbarRadioButtonStyles_unstable,\n useToolbarRadioButton_unstable,\n} from './ToolbarRadioButton';\nexport type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './ToolbarRadioButton';\nexport {\n ToolbarGroup,\n useToolbarGroupStyles_unstable,\n useToolbarGroup_unstable,\n renderToolbarGroup_unstable,\n toolbarGroupClassNames,\n} from './ToolbarGroup';\nexport type { ToolbarGroupProps, ToolbarGroupState } from './ToolbarGroup';\nexport { ToolbarRadioGroup } from './ToolbarRadioGroup';\nexport type { ToolbarRadioGroupProps, ToolbarRadioGroupState } from './ToolbarRadioGroup';\n\n// Experimental APIs\
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n Toolbar,\n renderToolbar_unstable,\n toolbarClassNames,\n useToolbarStyles_unstable,\n useToolbar_unstable,\n useToolbarContextValues_unstable,\n useToolbarContext_unstable,\n} from './Toolbar';\nexport type { ToolbarContextValue, ToolbarContextValues, ToolbarProps, ToolbarSlots, ToolbarState } from './Toolbar';\nexport { ToolbarButton, useToolbarButtonStyles_unstable, useToolbarButton_unstable } from './ToolbarButton';\nexport type { ToolbarButtonProps, ToolbarButtonState } from './ToolbarButton';\nexport { ToolbarDivider, useToolbarDividerStyles_unstable, useToolbarDivider_unstable } from './ToolbarDivider';\nexport type { ToolbarDividerProps, ToolbarDividerState } from './ToolbarDivider';\nexport {\n ToolbarToggleButton,\n useToolbarToggleButtonStyles_unstable,\n useToolbarToggleButton_unstable,\n} from './ToolbarToggleButton';\nexport type { ToolbarToggleButtonProps, ToolbarToggleButtonState } from './ToolbarToggleButton';\nexport {\n ToolbarRadioButton,\n useToolbarRadioButtonStyles_unstable,\n useToolbarRadioButton_unstable,\n} from './ToolbarRadioButton';\nexport type { ToolbarRadioButtonProps, ToolbarRadioButtonState } from './ToolbarRadioButton';\nexport {\n ToolbarGroup,\n useToolbarGroupStyles_unstable,\n useToolbarGroup_unstable,\n renderToolbarGroup_unstable,\n toolbarGroupClassNames,\n} from './ToolbarGroup';\nexport type { ToolbarGroupProps, ToolbarGroupState } from './ToolbarGroup';\nexport { ToolbarRadioGroup } from './ToolbarRadioGroup';\nexport type { ToolbarRadioGroupProps, ToolbarRadioGroupState } from './ToolbarRadioGroup';\n\n// Experimental APIs\nexport type { ToolbarBaseState, ToolbarBaseProps } from './Toolbar';\nexport { useToolbarBase_unstable } from './Toolbar';\nexport type { ToolbarButtonBaseState, ToolbarButtonBaseProps } from './ToolbarButton';\nexport { useToolbarButtonBase_unstable } from './ToolbarButton';\nexport type { ToolbarDividerBaseState, ToolbarDividerBaseProps } from './ToolbarDivider';\nexport { useToolbarDividerBase_unstable } from './ToolbarDivider';\nexport type { ToolbarRadioButtonBaseState, ToolbarRadioButtonBaseProps } from './ToolbarRadioButton';\nexport { useToolbarRadioButtonBase_unstable } from './ToolbarRadioButton';\nexport type { ToolbarToggleButtonBaseState, ToolbarToggleButtonBaseProps } from './ToolbarToggleButton';\nexport { useToolbarToggleButtonBase_unstable } from './ToolbarToggleButton';\n"],"names":["Toolbar","renderToolbar_unstable","toolbarClassNames","useToolbarStyles_unstable","useToolbar_unstable","useToolbarContextValues_unstable","useToolbarContext_unstable","ToolbarButton","useToolbarButtonStyles_unstable","useToolbarButton_unstable","ToolbarDivider","useToolbarDividerStyles_unstable","useToolbarDivider_unstable","ToolbarToggleButton","useToolbarToggleButtonStyles_unstable","useToolbarToggleButton_unstable","ToolbarRadioButton","useToolbarRadioButtonStyles_unstable","useToolbarRadioButton_unstable","ToolbarGroup","useToolbarGroupStyles_unstable","useToolbarGroup_unstable","renderToolbarGroup_unstable","toolbarGroupClassNames","ToolbarRadioGroup","useToolbarBase_unstable","useToolbarButtonBase_unstable","useToolbarDividerBase_unstable","useToolbarRadioButtonBase_unstable","useToolbarToggleButtonBase_unstable"],"mappings":";;;;;;;;;;;IACEA;+BAAO;;;eASAO,4BAAa;;;eAEbG,8BAAc;;IAerBS,YAAY;;;;eANZH,sCAAkB;;;eAaXQ,oCAAiB;;uBAnBL;eAAnBX;;IAeAS,2BAA2B;;;;eA5B3BrB,+BAAsB;;;eACtBC,0BAAiB;;IA4BjBqB;mDAAsB;;IAQfE,uBAAuB,QAAQ,YAAY;;;IAE3CC;2DAA6B,QAAQ,kBAAkB;;;eA/BxClB,8CAA+B;;;eAAEC,wCAAyB;;;eAJhFJ,yCAAgC;;;eAChCC,mCAA0B;;;eAoCnBqB,8CAA8B,QAAQ,mBAAmB;;;eA/BzChB,gDAAgC;;;eAAEC,0CAA0B;;;eAgBnFQ,4CAA8B;;IAC9BC;qDAAwB;;IAgBjBO,kCAAkC,QAAQ,uBAAuB;;;;eAvBxEX,wDAAoC;;;eACpCC,kDAA8B;;;eAnB9Bf,kCAAyB;;;eA2ClB0B,wDAAmC,QAAQ,wBAAwB;;;eA/B1Ef,0DAAqC;;;eACrCC,oDAA+B;;;eAZ/BX,4BAAmB;;;yBAGd,YAAY;+BAEuE,kBAAkB;gCAEf,mBAAmB;qCAMzG,wBAAwB;oCAMxB,uBAAuB;8BAQvB,iBAAiB;mCAEU,sBAAsB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-toolbar",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
4
4
|
"description": "React components for building web experiences",
|
|
5
5
|
"main": "lib-commonjs/index.js",
|
|
6
6
|
"module": "lib/index.js",
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@fluentui/react-button": "
|
|
16
|
-
"@fluentui/react-divider": "
|
|
17
|
-
"@fluentui/react-theme": "
|
|
18
|
-
"@fluentui/react-utilities": "
|
|
19
|
-
"@fluentui/react-jsx-runtime": "
|
|
20
|
-
"@fluentui/react-context-selector": "
|
|
21
|
-
"@fluentui/react-radio": "
|
|
22
|
-
"@fluentui/react-shared-contexts": "
|
|
23
|
-
"@fluentui/react-tabster": "
|
|
15
|
+
"@fluentui/react-button": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
16
|
+
"@fluentui/react-divider": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
17
|
+
"@fluentui/react-theme": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
18
|
+
"@fluentui/react-utilities": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
19
|
+
"@fluentui/react-jsx-runtime": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
20
|
+
"@fluentui/react-context-selector": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
21
|
+
"@fluentui/react-radio": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
22
|
+
"@fluentui/react-shared-contexts": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
23
|
+
"@fluentui/react-tabster": "9.72.9-experimental.component-base-hooks.20260122-49fc330360.0",
|
|
24
24
|
"@griffel/react": "^1.5.32",
|
|
25
25
|
"@swc/helpers": "^0.5.1"
|
|
26
26
|
},
|
|
@@ -30,12 +30,7 @@
|
|
|
30
30
|
"react": ">=16.14.0 <20.0.0",
|
|
31
31
|
"react-dom": ">=16.14.0 <20.0.0"
|
|
32
32
|
},
|
|
33
|
-
"beachball": {
|
|
34
|
-
"disallowedChangeTypes": [
|
|
35
|
-
"prerelease",
|
|
36
|
-
"major"
|
|
37
|
-
]
|
|
38
|
-
},
|
|
33
|
+
"beachball": {},
|
|
39
34
|
"exports": {
|
|
40
35
|
".": {
|
|
41
36
|
"types": "./dist/index.d.ts",
|