@fluentui/react-button 9.74.3-experimental.esm.20260709-49ee7a20cf.0 → 9.74.7-experimental.cli-api.20261006-ccaa611d58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +33 -12
  2. package/dist/index.d.cts +54 -5
  3. package/dist/index.d.ts +54 -5
  4. package/dist/metadata/api/api-root.json +1 -0
  5. package/dist/metadata/index.json +1 -0
  6. package/lib/CompoundButton.js +1 -1
  7. package/lib/CompoundButton.js.map +1 -1
  8. package/lib/SplitButton.js +1 -1
  9. package/lib/SplitButton.js.map +1 -1
  10. package/lib/components/CompoundButton/CompoundButton.types.js.map +1 -1
  11. package/lib/components/CompoundButton/index.js +1 -1
  12. package/lib/components/CompoundButton/index.js.map +1 -1
  13. package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
  14. package/lib/components/CompoundButton/useCompoundButton.js +21 -7
  15. package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
  16. package/lib/components/SplitButton/SplitButton.js.map +1 -1
  17. package/lib/components/SplitButton/SplitButton.types.js +3 -1
  18. package/lib/components/SplitButton/SplitButton.types.js.map +1 -1
  19. package/lib/components/SplitButton/index.js +1 -1
  20. package/lib/components/SplitButton/index.js.map +1 -1
  21. package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
  22. package/lib/components/SplitButton/useSplitButton.js +58 -18
  23. package/lib/components/SplitButton/useSplitButton.js.map +1 -1
  24. package/lib/index.js +2 -2
  25. package/lib/index.js.map +1 -1
  26. package/lib-commonjs/CompoundButton.cjs +3 -0
  27. package/lib-commonjs/CompoundButton.cjs.map +1 -1
  28. package/lib-commonjs/SplitButton.cjs +3 -0
  29. package/lib-commonjs/SplitButton.cjs.map +1 -1
  30. package/lib-commonjs/components/CompoundButton/CompoundButton.types.cjs.map +1 -1
  31. package/lib-commonjs/components/CompoundButton/index.cjs +3 -0
  32. package/lib-commonjs/components/CompoundButton/index.cjs.map +1 -1
  33. package/lib-commonjs/components/CompoundButton/renderCompoundButton.cjs.map +1 -1
  34. package/lib-commonjs/components/CompoundButton/useCompoundButton.cjs +25 -8
  35. package/lib-commonjs/components/CompoundButton/useCompoundButton.cjs.map +1 -1
  36. package/lib-commonjs/components/SplitButton/SplitButton.cjs.map +1 -1
  37. package/lib-commonjs/components/SplitButton/SplitButton.types.cjs +3 -1
  38. package/lib-commonjs/components/SplitButton/SplitButton.types.cjs.map +1 -1
  39. package/lib-commonjs/components/SplitButton/index.cjs +3 -0
  40. package/lib-commonjs/components/SplitButton/index.cjs.map +1 -1
  41. package/lib-commonjs/components/SplitButton/renderSplitButton.cjs.map +1 -1
  42. package/lib-commonjs/components/SplitButton/useSplitButton.cjs +60 -21
  43. package/lib-commonjs/components/SplitButton/useSplitButton.cjs.map +1 -1
  44. package/lib-commonjs/index.cjs +6 -0
  45. package/lib-commonjs/index.cjs.map +1 -1
  46. package/package.json +19 -13
package/CHANGELOG.md CHANGED
@@ -1,24 +1,45 @@
1
1
  # Change Log - @fluentui/react-button
2
2
 
3
- This log was last generated on Thu, 09 Jul 2026 17:34:01 GMT and should not be manually modified.
3
+ <!-- This log was last generated on Tue, 06 Oct 2026 11:40:38 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.74.3-experimental.esm.20260709-49ee7a20cf.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
7
+ ## [9.74.7-experimental.cli-api.20261006-ccaa611d58.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
8
8
 
9
- Thu, 09 Jul 2026 17:34:01 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.10.1..@fluentui/react-button_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
9
+ Tue, 06 Oct 2026 11:40:38 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.11.0..@fluentui/react-button_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release 9.74.3-experimental.esm.20260709-49ee7a20cf ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/keyboard-keys to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
16
- - Bump @fluentui/react-aria to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
17
- - Bump @fluentui/react-jsx-runtime to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
18
- - Bump @fluentui/react-shared-contexts to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
19
- - Bump @fluentui/react-tabster to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
20
- - Bump @fluentui/react-theme to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
21
- - Bump @fluentui/react-utilities to v9.74.3-experimental.esm.20260709-49ee7a20cf.0 ([commit](https://github.com/microsoft/fluentui/commit/175a26e0c520dd90a54578d1185a3b0b6c446e15) by beachball)
14
+ - Release 9.74.7-experimental.cli-api.20261006-ccaa611d58 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
15
+ - Bump @fluentui/keyboard-keys to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-aria to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-jsx-runtime to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+ - Bump @fluentui/react-shared-contexts to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
+ - Bump @fluentui/react-tabster to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
+ - Bump @fluentui/react-theme to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
21
+ - Bump @fluentui/react-utilities to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
22
+
23
+ ## [9.11.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.11.0)
24
+
25
+ Tue, 11 Aug 2026 17:20:14 GMT
26
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-button_v9.10.1..@fluentui/react-button_v9.11.0)
27
+
28
+ ### Minor changes
29
+
30
+ - feat: expose useSplitButtonBase_unstable hook ([PR #36524](https://github.com/microsoft/fluentui/pull/36524) by vgenaev@gmail.com)
31
+ - feat: expose CompoundButton base hook ([PR #36530](https://github.com/microsoft/fluentui/pull/36530) by vgenaev@gmail.com)
32
+ - Bump @fluentui/keyboard-keys to v9.0.9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
33
+ - Bump @fluentui/react-aria to v9.17.14 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
34
+ - Bump @fluentui/react-jsx-runtime to v9.4.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
35
+ - Bump @fluentui/react-shared-contexts to v9.26.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
36
+ - Bump @fluentui/react-tabster to v9.26.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
37
+ - Bump @fluentui/react-theme to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
38
+ - Bump @fluentui/react-utilities to v9.26.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
39
+
40
+ ### Patches
41
+
42
+ - Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
22
43
 
23
44
  ## [9.10.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-button_v9.10.1)
24
45
 
package/dist/index.d.cts CHANGED
@@ -111,9 +111,13 @@ export declare type ButtonState = ComponentState<ButtonSlots> & Required<Pick<Bu
111
111
  */
112
112
  export declare const CompoundButton: ForwardRefComponent<CompoundButtonProps>;
113
113
 
114
+ export declare type CompoundButtonBaseProps = ComponentProps<Partial<CompoundButtonSlots>> & Pick<ButtonBaseProps, 'disabledFocusable' | 'disabled' | 'iconPosition'>;
115
+
116
+ export declare type CompoundButtonBaseState = ComponentState<CompoundButtonSlots> & Omit<ButtonBaseState, keyof ButtonSlots | 'components'>;
117
+
114
118
  export declare const compoundButtonClassNames: SlotClassNames<CompoundButtonSlots>;
115
119
 
116
- export declare type CompoundButtonProps = ComponentProps<Partial<CompoundButtonSlots>> & Pick<ButtonProps, 'appearance' | 'disabledFocusable' | 'disabled' | 'iconPosition' | 'shape' | 'size'>;
120
+ export declare type CompoundButtonProps = CompoundButtonBaseProps & Pick<ButtonProps, 'appearance' | 'shape' | 'size'>;
117
121
 
118
122
  export declare type CompoundButtonSlots = ButtonSlots & {
119
123
  /**
@@ -126,7 +130,7 @@ export declare type CompoundButtonSlots = ButtonSlots & {
126
130
  contentContainer: NonNullable<Slot<'span'>>;
127
131
  };
128
132
 
129
- export declare type CompoundButtonState = ComponentState<CompoundButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components'>;
133
+ export declare type CompoundButtonState = CompoundButtonBaseState & Pick<ButtonState, 'appearance' | 'shape' | 'size'>;
130
134
 
131
135
  /**
132
136
  * MenuButtons are buttons that have a chevron icon after the button contents and are usually clicked to open/close
@@ -167,7 +171,7 @@ export { renderButton_unstable as renderToggleButton_unstable }
167
171
  /**
168
172
  * Renders a CompoundButton component by passing the state defined props to the appropriate slots.
169
173
  */
170
- export declare const renderCompoundButton_unstable: (state: CompoundButtonState) => JSXElement;
174
+ export declare const renderCompoundButton_unstable: (state: CompoundButtonBaseState) => JSXElement;
171
175
 
172
176
  /**
173
177
  * Renders a MenuButton component by passing the state defined props to the appropriate slots.
@@ -177,7 +181,7 @@ export declare const renderMenuButton_unstable: (state: MenuButtonBaseState) =>
177
181
  /**
178
182
  * Renders a SplitButton component by passing the state defined props to the appropriate slots.
179
183
  */
180
- export declare const renderSplitButton_unstable: (state: SplitButtonState) => JSXElement;
184
+ export declare const renderSplitButton_unstable: (state: Pick<ComponentState<SplitButtonBaseSlots>, "root" | "menuButton" | "primaryActionButton">) => JSXElement;
181
185
 
182
186
  /**
183
187
  * SplitButtons are a grouping of two interactive surfaces where interacting with the first one triggers a primary
@@ -185,6 +189,31 @@ export declare const renderSplitButton_unstable: (state: SplitButtonState) => JS
185
189
  */
186
190
  export declare const SplitButton: ForwardRefComponent<SplitButtonProps>;
187
191
 
192
+ /**
193
+ * SplitButton props without the `appearance`/`size`/`shape` styling props, for headless usage.
194
+ */
195
+ export declare type SplitButtonBaseProps = ComponentProps<SplitButtonBaseSlots> & Pick<ButtonBaseProps, 'disabled' | 'disabledFocusable' | 'icon' | 'iconPosition'> & Pick<MenuButtonBaseProps, 'menuIcon'>;
196
+
197
+ export declare type SplitButtonBaseSlots = {
198
+ /**
199
+ * Root of the component that wraps the primary action button and menu button.
200
+ */
201
+ root: NonNullable<Slot<'div'>>;
202
+ /**
203
+ * Button that opens menu with secondary actions in SplitButton.
204
+ */
205
+ menuButton?: Slot<MenuButtonBaseProps>;
206
+ /**
207
+ * Button to perform primary action in SplitButton.
208
+ */
209
+ primaryActionButton?: Slot<ButtonBaseProps>;
210
+ };
211
+
212
+ /**
213
+ * SplitButton state without the `appearance`/`size`/`shape` styling props, for headless usage.
214
+ */
215
+ export declare type SplitButtonBaseState = ComponentState<SplitButtonBaseSlots> & Required<Pick<SplitButtonBaseProps, 'disabled' | 'disabledFocusable' | 'iconPosition'>>;
216
+
188
217
  export declare const splitButtonClassNames: SlotClassNames<SplitButtonSlots>;
189
218
 
190
219
  export declare type SplitButtonProps = ComponentProps<SplitButtonSlots> & Omit<ButtonProps, 'root' | 'as'> & Omit<MenuButtonProps, 'root' | 'as'>;
@@ -274,6 +303,14 @@ export declare const useButtonStyles_unstable: (state: ButtonState) => ButtonSta
274
303
  */
275
304
  export declare const useCompoundButton_unstable: (props: CompoundButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => CompoundButtonState;
276
305
 
306
+ /**
307
+ * Base hook for CompoundButton, which manages state related to slots structure and ARIA attributes.
308
+ *
309
+ * @param props - User provided props to the CompoundButton component.
310
+ * @param ref - User provided ref to be passed to the CompoundButton component.
311
+ */
312
+ export declare const useCompoundButtonBase_unstable: (props: CompoundButtonBaseProps, ref?: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => CompoundButtonBaseState;
313
+
277
314
  export declare const useCompoundButtonStyles_unstable: (state: CompoundButtonState) => CompoundButtonState;
278
315
 
279
316
  /**
@@ -304,7 +341,19 @@ export declare const useMenuButtonStyles_unstable: (state: MenuButtonState) => M
304
341
  * @param props - User provided props to the SplitButton component.
305
342
  * @param ref - User provided ref to be passed to the SplitButton component.
306
343
  */
307
- export declare const useSplitButton_unstable: (props: SplitButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => SplitButtonState;
344
+ export declare const useSplitButton_unstable: (props: SplitButtonProps, ref: React_2.Ref<HTMLDivElement>) => SplitButtonState;
345
+
346
+ /**
347
+ * Base hook for SplitButton component, which manages design-agnostic state related to slots
348
+ * structure and ARIA attributes, without design-specific props such as `appearance`, `shape`, or
349
+ * `size`.
350
+ *
351
+ * Concrete wrappers recreate child slots from these base prop defaults before rendering.
352
+ *
353
+ * @param props - User provided props to the SplitButton component.
354
+ * @param ref - User provided ref to be passed to the SplitButton component.
355
+ */
356
+ export declare const useSplitButtonBase_unstable: (props: SplitButtonBaseProps, ref: React_2.Ref<HTMLDivElement>) => SplitButtonBaseState;
308
357
 
309
358
  export declare const useSplitButtonStyles_unstable: (state: SplitButtonState) => SplitButtonState;
310
359
 
package/dist/index.d.ts CHANGED
@@ -111,9 +111,13 @@ export declare type ButtonState = ComponentState<ButtonSlots> & Required<Pick<Bu
111
111
  */
112
112
  export declare const CompoundButton: ForwardRefComponent<CompoundButtonProps>;
113
113
 
114
+ export declare type CompoundButtonBaseProps = ComponentProps<Partial<CompoundButtonSlots>> & Pick<ButtonBaseProps, 'disabledFocusable' | 'disabled' | 'iconPosition'>;
115
+
116
+ export declare type CompoundButtonBaseState = ComponentState<CompoundButtonSlots> & Omit<ButtonBaseState, keyof ButtonSlots | 'components'>;
117
+
114
118
  export declare const compoundButtonClassNames: SlotClassNames<CompoundButtonSlots>;
115
119
 
116
- export declare type CompoundButtonProps = ComponentProps<Partial<CompoundButtonSlots>> & Pick<ButtonProps, 'appearance' | 'disabledFocusable' | 'disabled' | 'iconPosition' | 'shape' | 'size'>;
120
+ export declare type CompoundButtonProps = CompoundButtonBaseProps & Pick<ButtonProps, 'appearance' | 'shape' | 'size'>;
117
121
 
118
122
  export declare type CompoundButtonSlots = ButtonSlots & {
119
123
  /**
@@ -126,7 +130,7 @@ export declare type CompoundButtonSlots = ButtonSlots & {
126
130
  contentContainer: NonNullable<Slot<'span'>>;
127
131
  };
128
132
 
129
- export declare type CompoundButtonState = ComponentState<CompoundButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components'>;
133
+ export declare type CompoundButtonState = CompoundButtonBaseState & Pick<ButtonState, 'appearance' | 'shape' | 'size'>;
130
134
 
131
135
  /**
132
136
  * MenuButtons are buttons that have a chevron icon after the button contents and are usually clicked to open/close
@@ -167,7 +171,7 @@ export { renderButton_unstable as renderToggleButton_unstable }
167
171
  /**
168
172
  * Renders a CompoundButton component by passing the state defined props to the appropriate slots.
169
173
  */
170
- export declare const renderCompoundButton_unstable: (state: CompoundButtonState) => JSXElement;
174
+ export declare const renderCompoundButton_unstable: (state: CompoundButtonBaseState) => JSXElement;
171
175
 
172
176
  /**
173
177
  * Renders a MenuButton component by passing the state defined props to the appropriate slots.
@@ -177,7 +181,7 @@ export declare const renderMenuButton_unstable: (state: MenuButtonBaseState) =>
177
181
  /**
178
182
  * Renders a SplitButton component by passing the state defined props to the appropriate slots.
179
183
  */
180
- export declare const renderSplitButton_unstable: (state: SplitButtonState) => JSXElement;
184
+ export declare const renderSplitButton_unstable: (state: Pick<ComponentState<SplitButtonBaseSlots>, "root" | "menuButton" | "primaryActionButton">) => JSXElement;
181
185
 
182
186
  /**
183
187
  * SplitButtons are a grouping of two interactive surfaces where interacting with the first one triggers a primary
@@ -185,6 +189,31 @@ export declare const renderSplitButton_unstable: (state: SplitButtonState) => JS
185
189
  */
186
190
  export declare const SplitButton: ForwardRefComponent<SplitButtonProps>;
187
191
 
192
+ /**
193
+ * SplitButton props without the `appearance`/`size`/`shape` styling props, for headless usage.
194
+ */
195
+ export declare type SplitButtonBaseProps = ComponentProps<SplitButtonBaseSlots> & Pick<ButtonBaseProps, 'disabled' | 'disabledFocusable' | 'icon' | 'iconPosition'> & Pick<MenuButtonBaseProps, 'menuIcon'>;
196
+
197
+ export declare type SplitButtonBaseSlots = {
198
+ /**
199
+ * Root of the component that wraps the primary action button and menu button.
200
+ */
201
+ root: NonNullable<Slot<'div'>>;
202
+ /**
203
+ * Button that opens menu with secondary actions in SplitButton.
204
+ */
205
+ menuButton?: Slot<MenuButtonBaseProps>;
206
+ /**
207
+ * Button to perform primary action in SplitButton.
208
+ */
209
+ primaryActionButton?: Slot<ButtonBaseProps>;
210
+ };
211
+
212
+ /**
213
+ * SplitButton state without the `appearance`/`size`/`shape` styling props, for headless usage.
214
+ */
215
+ export declare type SplitButtonBaseState = ComponentState<SplitButtonBaseSlots> & Required<Pick<SplitButtonBaseProps, 'disabled' | 'disabledFocusable' | 'iconPosition'>>;
216
+
188
217
  export declare const splitButtonClassNames: SlotClassNames<SplitButtonSlots>;
189
218
 
190
219
  export declare type SplitButtonProps = ComponentProps<SplitButtonSlots> & Omit<ButtonProps, 'root' | 'as'> & Omit<MenuButtonProps, 'root' | 'as'>;
@@ -274,6 +303,14 @@ export declare const useButtonStyles_unstable: (state: ButtonState) => ButtonSta
274
303
  */
275
304
  export declare const useCompoundButton_unstable: (props: CompoundButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => CompoundButtonState;
276
305
 
306
+ /**
307
+ * Base hook for CompoundButton, which manages state related to slots structure and ARIA attributes.
308
+ *
309
+ * @param props - User provided props to the CompoundButton component.
310
+ * @param ref - User provided ref to be passed to the CompoundButton component.
311
+ */
312
+ export declare const useCompoundButtonBase_unstable: (props: CompoundButtonBaseProps, ref?: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => CompoundButtonBaseState;
313
+
277
314
  export declare const useCompoundButtonStyles_unstable: (state: CompoundButtonState) => CompoundButtonState;
278
315
 
279
316
  /**
@@ -304,7 +341,19 @@ export declare const useMenuButtonStyles_unstable: (state: MenuButtonState) => M
304
341
  * @param props - User provided props to the SplitButton component.
305
342
  * @param ref - User provided ref to be passed to the SplitButton component.
306
343
  */
307
- export declare const useSplitButton_unstable: (props: SplitButtonProps, ref: React_2.Ref<HTMLButtonElement | HTMLAnchorElement>) => SplitButtonState;
344
+ export declare const useSplitButton_unstable: (props: SplitButtonProps, ref: React_2.Ref<HTMLDivElement>) => SplitButtonState;
345
+
346
+ /**
347
+ * Base hook for SplitButton component, which manages design-agnostic state related to slots
348
+ * structure and ARIA attributes, without design-specific props such as `appearance`, `shape`, or
349
+ * `size`.
350
+ *
351
+ * Concrete wrappers recreate child slots from these base prop defaults before rendering.
352
+ *
353
+ * @param props - User provided props to the SplitButton component.
354
+ * @param ref - User provided ref to be passed to the SplitButton component.
355
+ */
356
+ export declare const useSplitButtonBase_unstable: (props: SplitButtonBaseProps, ref: React_2.Ref<HTMLDivElement>) => SplitButtonBaseState;
308
357
 
309
358
  export declare const useSplitButtonStyles_unstable: (state: SplitButtonState) => SplitButtonState;
310
359