@ostack.tech/ui 1.2.0-beta.0 → 1.2.0-beta.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.
Files changed (256) hide show
  1. package/dist/chunks/en-DGLb7rrz.js.map +1 -1
  2. package/dist/locales/fr-FR.js.map +1 -1
  3. package/dist/locales/pt-PT.js.map +1 -1
  4. package/dist/ostack-ui.css +8 -16
  5. package/dist/ostack-ui.js +26831 -7981
  6. package/dist/ostack-ui.js.map +1 -1
  7. package/package.json +15 -13
  8. package/scss/components/Button/_Button.scss +4 -18
  9. package/scss/components/ButtonGroup/_ButtonGroup.scss +2 -6
  10. package/scss/components/Calendar/_Calendar-variables.scss +4 -12
  11. package/scss/components/Calendar/_Calendar.scss +19 -38
  12. package/scss/components/Card/_Card-variables.scss +4 -12
  13. package/scss/components/Card/_Card.scss +8 -28
  14. package/scss/components/Collapsible/_Collapsible.scss +2 -8
  15. package/scss/components/CommandMenu/_CommandMenu-variables.scss +2 -6
  16. package/scss/components/CommandMenu/_CommandMenu.scss +5 -13
  17. package/scss/components/ControlAddon/_ControlAddon-variables.scss +4 -12
  18. package/scss/components/ControlAddon/_ControlAddon.scss +16 -52
  19. package/scss/components/DataTable/_DataTable.scss +1 -2
  20. package/scss/components/DateRangeInput/_DateRangeInput-variables.scss +1 -3
  21. package/scss/components/DateRangeInput/_DateRangeInput.scss +7 -21
  22. package/scss/components/Dialog/_Dialog.scss +6 -19
  23. package/scss/components/DropdownMenu/_DropdownMenu.scss +1 -2
  24. package/scss/components/Feedback/_Feedback-variables.scss +1 -6
  25. package/scss/components/Feedback/_Feedback.scss +8 -33
  26. package/scss/components/FieldGroup/_FieldGroup.scss +1 -4
  27. package/scss/components/Grid/_Grid.scss +4 -12
  28. package/scss/components/HelperText/_HelperText.scss +1 -4
  29. package/scss/components/Input/_Input.scss +11 -32
  30. package/scss/components/Label/_Label.scss +2 -6
  31. package/scss/components/Link/_Link.scss +1 -2
  32. package/scss/components/MenuList/_MenuList.scss +2 -6
  33. package/scss/components/Overlay/_Overlay-variables.scss +1 -3
  34. package/scss/components/Overlay/_Overlay.scss +2 -4
  35. package/scss/components/Root/_Root.scss +4 -16
  36. package/scss/components/Select/_Select-variables.scss +4 -12
  37. package/scss/components/Select/_Select.scss +1 -2
  38. package/scss/components/Separator/_Separator.scss +2 -8
  39. package/scss/components/Spinner/_Spinner.scss +2 -8
  40. package/scss/components/Stepper/_Stepper-variables.scss +5 -15
  41. package/scss/components/Stepper/_Stepper.scss +2 -5
  42. package/scss/components/Table/_Table-variables.scss +16 -47
  43. package/scss/components/Table/_Table.scss +30 -112
  44. package/scss/components/Tabs/_Tabs-variables.scss +15 -43
  45. package/scss/components/Tabs/_Tabs.scss +13 -46
  46. package/scss/components/Tag/_Tag-variables.scss +1 -4
  47. package/scss/components/Tag/_Tag.scss +5 -14
  48. package/scss/components/Toast/_Toast.scss +3 -8
  49. package/scss/components/Tooltip/_Tooltip-variables.scss +1 -3
  50. package/scss/components/Tooltip/_Tooltip.scss +4 -12
  51. package/scss/scss/_base-variables.scss +6 -7
  52. package/scss/scss/placeholders/button/_button.scss +2 -8
  53. package/scss/scss/placeholders/checkable/_checkable.scss +15 -60
  54. package/scss/scss/placeholders/control/_control-variables.scss +3 -10
  55. package/scss/scss/placeholders/control/_control.scss +10 -38
  56. package/scss/scss/placeholders/menu/_menu-variables.scss +14 -42
  57. package/scss/scss/placeholders/menu/_menu.scss +22 -82
  58. package/scss/scss/placeholders/notification/_notification.scss +2 -4
  59. package/scss/scss/placeholders/popover/_popover-variables.scss +1 -3
  60. package/scss/scss/placeholders/popover/_popover.scss +4 -11
  61. package/scss/scss/utils/_breakpoints.scss +1 -4
  62. package/scss/scss/utils/_responsive-values.scss +2 -5
  63. package/scss/scss/utils/_spinner.scss +1 -2
  64. package/types/components/Actions/Action.d.ts +6 -6
  65. package/types/components/Actions/ActionGroup.d.ts +10 -14
  66. package/types/components/Actions/ActionMenu.d.ts +13 -17
  67. package/types/components/Actions/ActionSplit.d.ts +4 -4
  68. package/types/components/Actions/Actions.d.ts +20 -25
  69. package/types/components/Actions/ActionsSecondary.d.ts +1 -1
  70. package/types/components/Alert/Alert.d.ts +8 -9
  71. package/types/components/Alert/AlertTitle.d.ts +3 -3
  72. package/types/components/AlertDialog/AlertDialog.d.ts +16 -20
  73. package/types/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  74. package/types/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  75. package/types/components/AlertDialog/AlertDialogContent.d.ts +2 -3
  76. package/types/components/AlertDialog/AlertDialogDescription.d.ts +4 -5
  77. package/types/components/Button/Button.d.ts +32 -39
  78. package/types/components/ButtonGroup/ButtonGroup.d.ts +3 -3
  79. package/types/components/Calendar/Calendar.d.ts +2 -3
  80. package/types/components/Calendar/CalendarDay.d.ts +3 -4
  81. package/types/components/Calendar/CalendarHeader.d.ts +2 -2
  82. package/types/components/Card/Card.d.ts +6 -13
  83. package/types/components/Card/CardBody.d.ts +3 -3
  84. package/types/components/Card/CardFooter.d.ts +3 -3
  85. package/types/components/Card/CardHeader.d.ts +3 -3
  86. package/types/components/Card/CardTitle.d.ts +3 -3
  87. package/types/components/Checkbox/Checkbox.d.ts +17 -29
  88. package/types/components/CheckboxGroup/CheckboxGroup.d.ts +24 -38
  89. package/types/components/CheckboxGroup/CheckboxGroupContext.d.ts +5 -6
  90. package/types/components/CloseButton/CloseButton.d.ts +1 -1
  91. package/types/components/Code/Code.d.ts +4 -5
  92. package/types/components/Collapsible/Collapsible.d.ts +3 -9
  93. package/types/components/Collapsible/CollapsibleTrigger.d.ts +1 -4
  94. package/types/components/CommandMenu/CommandMenu.d.ts +6 -7
  95. package/types/components/CommandMenu/CommandMenuDialog.d.ts +6 -10
  96. package/types/components/CommandMenu/CommandMenuItem.d.ts +3 -3
  97. package/types/components/CommandMenu/cmdk/index.d.ts +73 -112
  98. package/types/components/Container/Container.d.ts +17 -21
  99. package/types/components/Control/Control.d.ts +21 -27
  100. package/types/components/Control/ControlWithContainerRef.d.ts +5 -6
  101. package/types/components/ControlAddon/ControlAddon.d.ts +9 -13
  102. package/types/components/ControlCode/ControlCode.d.ts +5 -8
  103. package/types/components/DataTable/DataTable.d.ts +59 -90
  104. package/types/components/DataTable/DataTableApi.d.ts +11 -12
  105. package/types/components/DataTable/DataTableColumn.d.ts +18 -21
  106. package/types/components/DataTable/DataTableColumnGroup.d.ts +3 -4
  107. package/types/components/DataTable/DataTableColumns.d.ts +4 -4
  108. package/types/components/DataTable/DataTableContent.d.ts +2 -5
  109. package/types/components/DataTable/DataTableEmptyOrLoadingRows.d.ts +1 -4
  110. package/types/components/DataTable/DataTableFilter.d.ts +3 -3
  111. package/types/components/DataTable/DataTablePagination.d.ts +5 -9
  112. package/types/components/DataTable/DataTableRowsPerPage.d.ts +4 -5
  113. package/types/components/DataTable/DataTableSelectionTrigger.d.ts +5 -11
  114. package/types/components/DataTable/PagedDataTablePagination.d.ts +1 -1
  115. package/types/components/DataTable/PagedDataTableRows.d.ts +1 -1
  116. package/types/components/DataTable/ScrolledDataTableRows.d.ts +1 -1
  117. package/types/components/DataTable/index.d.ts +1 -1
  118. package/types/components/DataTable/{getRowKey.d.ts → keyUtils.d.ts} +2 -0
  119. package/types/components/DataTable/spliceWindow.d.ts +3 -4
  120. package/types/components/DateInput/DateInput.d.ts +21 -34
  121. package/types/components/DateRangeInput/DateRangeInput.d.ts +41 -70
  122. package/types/components/DescriptionList/DescriptionList.d.ts +5 -10
  123. package/types/components/Dialog/Dialog.d.ts +9 -11
  124. package/types/components/Dialog/DialogContent.d.ts +3 -4
  125. package/types/components/Dialog/DialogDescription.d.ts +2 -3
  126. package/types/components/DropdownMenu/DropdownMenu.d.ts +10 -21
  127. package/types/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +1 -1
  128. package/types/components/DropdownMenu/DropdownMenuItem.d.ts +3 -3
  129. package/types/components/DropdownMenu/DropdownMenuRadioItem.d.ts +1 -1
  130. package/types/components/DropdownMenu/DropdownMenuSubContent.d.ts +1 -4
  131. package/types/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +1 -4
  132. package/types/components/ErrorBoundary/ErrorBoundary.d.ts +21 -27
  133. package/types/components/Feedback/Feedback.d.ts +6 -6
  134. package/types/components/Feedback/FeedbackPopover.d.ts +3 -3
  135. package/types/components/Feedback/FeedbackProvider.d.ts +3 -4
  136. package/types/components/Feedback/feedbackUtils.d.ts +5 -8
  137. package/types/components/Field/Field.d.ts +9 -11
  138. package/types/components/Field/fieldUtils.d.ts +2 -2
  139. package/types/components/FieldGroup/FieldGroup.d.ts +4 -5
  140. package/types/components/FieldGroup/FieldGroupBody.d.ts +3 -3
  141. package/types/components/FieldGroup/FieldGroupHeader.d.ts +4 -4
  142. package/types/components/FieldGroup/FieldGroupTitle.d.ts +3 -3
  143. package/types/components/Form/Form.d.ts +25 -40
  144. package/types/components/Form/FormContext.d.ts +2 -2
  145. package/types/components/Form/FormError.d.ts +6 -11
  146. package/types/components/Form/FormState.d.ts +2 -2
  147. package/types/components/Form/formUtils.d.ts +1 -1
  148. package/types/components/Form/useRegisterFormControl.d.ts +1 -1
  149. package/types/components/Grid/Grid.d.ts +19 -24
  150. package/types/components/Heading/Heading.d.ts +9 -10
  151. package/types/components/HelperText/HelperText.d.ts +3 -3
  152. package/types/components/HelperText/HelperTextProvider.d.ts +3 -4
  153. package/types/components/Icon/Icon.d.ts +9 -16
  154. package/types/components/IconButton/IconButton.d.ts +35 -53
  155. package/types/components/Input/Input.d.ts +5 -12
  156. package/types/components/Keybinds/KeyPress.d.ts +1 -1
  157. package/types/components/Keybinds/Keybind.d.ts +1 -1
  158. package/types/components/Keybinds/Keybinds.d.ts +3 -9
  159. package/types/components/Keyboard/Keyboard.d.ts +7 -8
  160. package/types/components/Label/Label.d.ts +5 -6
  161. package/types/components/Label/LabelProvider.d.ts +3 -4
  162. package/types/components/Label/labelUtils.d.ts +2 -2
  163. package/types/components/Layer/Layer.d.ts +4 -4
  164. package/types/components/Link/Link.d.ts +13 -13
  165. package/types/components/Mark/Mark.d.ts +6 -7
  166. package/types/components/MenuList/MenuList.d.ts +6 -7
  167. package/types/components/MenuList/MenuListGroup.d.ts +5 -6
  168. package/types/components/MenuList/MenuListItem.d.ts +21 -25
  169. package/types/components/NumericInput/NumericInput.d.ts +20 -34
  170. package/types/components/NumericInput/numericInputUtils.d.ts +4 -5
  171. package/types/components/Output/Output.d.ts +12 -13
  172. package/types/components/Popover/Popover.d.ts +6 -13
  173. package/types/components/Popover/PopoverAnchor.d.ts +2 -2
  174. package/types/components/Popover/PopoverTrigger.d.ts +2 -2
  175. package/types/components/Portal/Portal.d.ts +3 -4
  176. package/types/components/Printer/Printer.d.ts +40 -54
  177. package/types/components/Printer/PrinterContent.d.ts +6 -6
  178. package/types/components/Printer/PrinterContentContext.d.ts +4 -5
  179. package/types/components/Printer/PrinterContext.d.ts +4 -4
  180. package/types/components/Printer/PrinterTrigger.d.ts +5 -6
  181. package/types/components/Printer/index.d.ts +1 -1
  182. package/types/components/RadioGroup/Radio.d.ts +10 -13
  183. package/types/components/RadioGroup/RadioGroup.d.ts +21 -34
  184. package/types/components/Root/Root.d.ts +21 -27
  185. package/types/components/Root/RootContext.d.ts +1 -4
  186. package/types/components/Select/Option.d.ts +3 -3
  187. package/types/components/Select/Select.d.ts +14 -26
  188. package/types/components/Select/SelectNative.d.ts +1 -1
  189. package/types/components/Separator/Separator.d.ts +3 -4
  190. package/types/components/Slot/Slottable.d.ts +1 -4
  191. package/types/components/Spinner/Spinner.d.ts +5 -12
  192. package/types/components/Stack/Stack.d.ts +9 -13
  193. package/types/components/Stepper/Step.d.ts +6 -6
  194. package/types/components/Stepper/StepContent.d.ts +3 -3
  195. package/types/components/Stepper/StepList.d.ts +4 -5
  196. package/types/components/Stepper/Stepper.d.ts +4 -5
  197. package/types/components/Stepper/StepperFinishTrigger.d.ts +3 -9
  198. package/types/components/Stepper/StepperNextTrigger.d.ts +3 -6
  199. package/types/components/Stepper/StepperPreviousTrigger.d.ts +4 -10
  200. package/types/components/Table/Table.d.ts +42 -58
  201. package/types/components/Table/TableCell.d.ts +15 -19
  202. package/types/components/Table/TableColumn.d.ts +15 -27
  203. package/types/components/Table/TableColumnGroup.d.ts +2 -3
  204. package/types/components/Table/TableHead.d.ts +5 -5
  205. package/types/components/Tabs/TabContent.d.ts +2 -2
  206. package/types/components/Tabs/TabList.d.ts +1 -1
  207. package/types/components/Tabs/Tabs.d.ts +4 -8
  208. package/types/components/Tag/Tag.d.ts +8 -8
  209. package/types/components/TextArea/TextArea.d.ts +7 -13
  210. package/types/components/Toast/Toast.d.ts +25 -38
  211. package/types/components/Toast/ToastProvider.d.ts +2 -5
  212. package/types/components/Toast/ToastViewport.d.ts +2 -5
  213. package/types/components/Tooltip/Tooltip.d.ts +11 -11
  214. package/types/components/VisuallyHidden/VisuallyHidden.d.ts +7 -11
  215. package/types/index.d.ts +2 -1
  216. package/types/providers/AlertDialogProvider/AlertDialogProviderContext.d.ts +17 -19
  217. package/types/providers/AlertDialogProvider/useAlertDialog.d.ts +50 -58
  218. package/types/providers/DocumentTitleProvider/DocumentTitle.d.ts +1 -4
  219. package/types/providers/ErrorReportingProvider/ErrorReport.d.ts +4 -7
  220. package/types/providers/ErrorReportingProvider/ErrorReportingProvider.d.ts +12 -17
  221. package/types/providers/LocalizationProvider/useLocale.d.ts +1 -4
  222. package/types/providers/PrefixProvider/defaultPrefix.d.ts +2 -3
  223. package/types/providers/PrefixProvider/usePrefix.d.ts +3 -6
  224. package/types/providers/ToastManagerProvider/ToastManagerContext.d.ts +3 -3
  225. package/types/providers/ToastManagerProvider/useToastManager.d.ts +11 -14
  226. package/types/utils/__tests__/useCombinedRef.test.d.ts +1 -0
  227. package/types/utils/breakpoints.d.ts +5 -6
  228. package/types/utils/combineAriaIds.d.ts +1 -1
  229. package/types/utils/cx.d.ts +2 -5
  230. package/types/utils/filtering.d.ts +2 -2
  231. package/types/utils/keyboardShortcut.d.ts +18 -25
  232. package/types/utils/navigate.d.ts +2 -2
  233. package/types/utils/numericStringUtils.d.ts +6 -13
  234. package/types/utils/parseChildren.d.ts +5 -9
  235. package/types/utils/reactCompilerUtils.d.ts +7 -0
  236. package/types/utils/setNativeProperty.d.ts +2 -3
  237. package/types/utils/sorting.d.ts +2 -2
  238. package/types/utils/useCombinedEventHandler.d.ts +30 -0
  239. package/types/utils/useCombinedRef.d.ts +6 -4
  240. package/types/utils/useCssVars.d.ts +9 -20
  241. package/types/utils/useDateTransformer.d.ts +4 -8
  242. package/types/utils/useIntersectionObserver.d.ts +2 -5
  243. package/types/utils/useLatestRef.d.ts +1 -2
  244. package/types/utils/useLocation.d.ts +5 -8
  245. package/types/utils/useMeasure.d.ts +2 -5
  246. package/types/utils/useMediaQuery.d.ts +1 -4
  247. package/types/utils/useNumericTransformer.d.ts +12 -19
  248. package/types/utils/usePrevious.d.ts +3 -4
  249. package/types/utils/useResponsiveValues.d.ts +7 -10
  250. package/types/utils/useScrollPosition.d.ts +1 -6
  251. package/types/utils/useSearchParam.d.ts +2 -6
  252. package/types/utils/useSearchParams.d.ts +1 -4
  253. package/types/utils/useSpacing.d.ts +1 -4
  254. package/types/utils/zustandUtils.d.ts +3 -2
  255. package/types/utils/combineEventHandlers.d.ts +0 -24
  256. /package/types/utils/__tests__/{combineEventHandlers.test.d.ts → useCombinedEventHandler.test.d.ts} +0 -0
@@ -53,33 +53,23 @@ $menu-item-focus-accent-outline-color: var(--#{$prefix}accent-8) !default;
53
53
  $menu-item-solid-accent-color: var(--#{$prefix}accent-a11) !default;
54
54
 
55
55
  // Item - Solid variant - Highlighted
56
- $menu-item-solid-highlighted-background-color: var(
57
- --#{$prefix}primary-a4
58
- ) !default;
56
+ $menu-item-solid-highlighted-background-color: var(--#{$prefix}primary-a4) !default;
59
57
  $menu-item-solid-highlighted-color: null !default;
60
58
 
61
59
  // Item - Solid variant - Highlighted + Accent
62
- $menu-item-solid-highlighted-accent-background-color: var(
63
- --#{$prefix}accent-a4
64
- ) !default;
60
+ $menu-item-solid-highlighted-accent-background-color: var(--#{$prefix}accent-a4) !default;
65
61
  $menu-item-solid-highlighted-accent-color: null !default;
66
62
 
67
63
  // Item - Solid variant - Selected
68
- $menu-item-solid-selected-background-color: var(
69
- --#{$prefix}primary-a9
70
- ) !default;
64
+ $menu-item-solid-selected-background-color: var(--#{$prefix}primary-a9) !default;
71
65
  $menu-item-solid-selected-color: var(--#{$prefix}primary-contrast) !default;
72
66
 
73
67
  // Item - Solid variant - Selected + Focus
74
68
  $menu-item-solid-selected-focus-outline-offset: 2px !default;
75
69
 
76
70
  // Item - Solid variant - Selected + Accent
77
- $menu-item-solid-selected-accent-background-color: var(
78
- --#{$prefix}accent-a9
79
- ) !default;
80
- $menu-item-solid-selected-accent-color: var(
81
- --#{$prefix}accent-contrast
82
- ) !default;
71
+ $menu-item-solid-selected-accent-background-color: var(--#{$prefix}accent-a9) !default;
72
+ $menu-item-solid-selected-accent-color: var(--#{$prefix}accent-contrast) !default;
83
73
 
84
74
  // Item - Solid variant - Highlighted + Selected
85
75
  $menu-item-solid-highlighted-selected-background-color: $menu-item-solid-selected-background-color !default;
@@ -91,30 +81,22 @@ $menu-item-solid-highlighted-selected-accent-background-color: $menu-item-solid-
91
81
  $menu-item-subtle-accent-color: var(--#{$prefix}accent-a11) !default;
92
82
 
93
83
  // Item - Subtle variant - Highlighted
94
- $menu-item-subtle-highlighted-background-color: var(
95
- --#{$prefix}primary-a4
96
- ) !default;
84
+ $menu-item-subtle-highlighted-background-color: var(--#{$prefix}primary-a4) !default;
97
85
  $menu-item-subtle-highlighted-color: null !default;
98
86
 
99
87
  // Item - Subtle variant - Highlighted + Accent
100
- $menu-item-subtle-highlighted-accent-background-color: var(
101
- --#{$prefix}accent-a4
102
- ) !default;
88
+ $menu-item-subtle-highlighted-accent-background-color: var(--#{$prefix}accent-a4) !default;
103
89
  $menu-item-subtle-highlighted-accent-color: null !default;
104
90
 
105
91
  // Item - Subtle variant - Selected
106
- $menu-item-subtle-selected-background-color: var(
107
- --#{$prefix}primary-a5
108
- ) !default;
92
+ $menu-item-subtle-selected-background-color: var(--#{$prefix}primary-a5) !default;
109
93
  $menu-item-subtle-selected-color: null !default;
110
94
 
111
95
  // Item - Subtle variant - Selected + Focus
112
96
  $menu-item-subtle-selected-focus-outline-offset: null !default;
113
97
 
114
98
  // Item - Subtle variant - Selected + Accent
115
- $menu-item-subtle-selected-accent-background-color: var(
116
- --#{$prefix}accent-a5
117
- ) !default;
99
+ $menu-item-subtle-selected-accent-background-color: var(--#{$prefix}accent-a5) !default;
118
100
  $menu-item-subtle-selected-accent-color: null !default;
119
101
 
120
102
  // Item - Subtle variant - Highlighted + Selected
@@ -139,14 +121,10 @@ $menu-item-icon-solid-highlighted-color: $menu-item-solid-highlighted-color !def
139
121
  $menu-item-icon-solid-highlighted-accent-color: $menu-item-solid-highlighted-accent-color !default;
140
122
 
141
123
  // Item icon - Solid variant - Selected
142
- $menu-item-icon-solid-selected-color: var(
143
- --#{$prefix}primary-contrast
144
- ) !default;
124
+ $menu-item-icon-solid-selected-color: var(--#{$prefix}primary-contrast) !default;
145
125
 
146
126
  // Item icon - Solid variant - Selected + Accent
147
- $menu-item-icon-solid-selected-accent-color: var(
148
- --#{$prefix}accent-contrast
149
- ) !default;
127
+ $menu-item-icon-solid-selected-accent-color: var(--#{$prefix}accent-contrast) !default;
150
128
 
151
129
  // Item icon - Solid variant - Highlighted + Selected
152
130
  $menu-item-icon-solid-highlighted-selected-color: null !default;
@@ -167,9 +145,7 @@ $menu-item-icon-subtle-highlighted-accent-color: null !default;
167
145
  $menu-item-icon-subtle-selected-color: var(--#{$prefix}neutral-a11) !default;
168
146
 
169
147
  // Item icon - Subtle variant - Selected + Accent
170
- $menu-item-icon-subtle-selected-accent-color: var(
171
- --#{$prefix}accent-a11
172
- ) !default;
148
+ $menu-item-icon-subtle-selected-accent-color: var(--#{$prefix}accent-a11) !default;
173
149
 
174
150
  // Item icon - Subtle variant - Highlighted + Selected
175
151
  $menu-item-icon-subtle-highlighted-selected-color: null !default;
@@ -187,9 +163,7 @@ $menu-item-keybinds-color: var(--#{$prefix}neutral-9) !default;
187
163
  $menu-item-keybinds-solid-accent-color: null !default;
188
164
 
189
165
  // Item shortcut - Solid variant - Highlighted
190
- $menu-item-keybinds-solid-highlighted-color: var(
191
- --#{$prefix}neutral-10
192
- ) !default;
166
+ $menu-item-keybinds-solid-highlighted-color: var(--#{$prefix}neutral-10) !default;
193
167
 
194
168
  // Item shortcut - Solid variant - Highlighted + Accent
195
169
  $menu-item-keybinds-solid-highlighted-accent-color: null !default;
@@ -216,9 +190,7 @@ $menu-item-keybinds-solid-highlighted-selected-accent-color: $menu-item-keybinds
216
190
  $menu-item-keybinds-subtle-accent-color: null !default;
217
191
 
218
192
  // Item shortcut - Subtle variant - Highlighted
219
- $menu-item-keybinds-subtle-highlighted-color: var(
220
- --#{$prefix}neutral-10
221
- ) !default;
193
+ $menu-item-keybinds-subtle-highlighted-color: var(--#{$prefix}neutral-10) !default;
222
194
 
223
195
  // Item shortcut - Subtle variant - Highlighted + Accent
224
196
  $menu-item-keybinds-subtle-highlighted-accent-color: null !default;
@@ -40,8 +40,7 @@
40
40
  &:not(:nth-last-child(1 of :not([hidden], span))) {
41
41
  margin-bottom: $menu-group-margin-y;
42
42
  padding-bottom: $menu-group-margin-y;
43
- border-bottom: $menu-group-separator-width solid
44
- $menu-group-separator-color;
43
+ border-bottom: $menu-group-separator-width solid $menu-group-separator-color;
45
44
  }
46
45
  & + &:not([hidden]) {
47
46
  margin-top: 0;
@@ -104,8 +103,7 @@
104
103
  }
105
104
 
106
105
  &:focus-visible {
107
- outline: $menu-item-focus-outline-width solid
108
- $menu-item-focus-outline-color;
106
+ outline: $menu-item-focus-outline-width solid $menu-item-focus-outline-color;
109
107
  outline-offset: var(
110
108
  --#{$prefix}menu-item-focus-outline-offset,
111
109
  $menu-item-focus-outline-offset
@@ -142,10 +140,7 @@
142
140
  &--highlighted:not(:disabled) {
143
141
  @include declare-var(
144
142
  --#{$prefix}menu-item-background-color,
145
- map.get(
146
- $menu-item-highlighted-background-color-by-variant,
147
- $variant
148
- )
143
+ map.get($menu-item-highlighted-background-color-by-variant, $variant)
149
144
  );
150
145
  @include declare-var(
151
146
  --#{$prefix}menu-item-color,
@@ -167,20 +162,14 @@
167
162
  // Checkable indicator - Highlighted
168
163
  @include declare-var(
169
164
  --#{$prefix}menu-checkable-indicator-color,
170
- map.get(
171
- $menu-checkable-indicator-highlighted-color-by-variant,
172
- $variant
173
- )
165
+ map.get($menu-checkable-indicator-highlighted-color-by-variant, $variant)
174
166
  );
175
167
 
176
168
  // Item - Highlighted + Accent
177
169
  &[data-accent] {
178
170
  @include declare-var(
179
171
  --#{$prefix}menu-item-background-color,
180
- map.get(
181
- $menu-item-highlighted-accent-background-color-by-variant,
182
- $variant
183
- )
172
+ map.get($menu-item-highlighted-accent-background-color-by-variant, $variant)
184
173
  );
185
174
  @include declare-var(
186
175
  --#{$prefix}menu-item-color,
@@ -190,28 +179,19 @@
190
179
  // Item icon - Highlighted + Accent
191
180
  @include declare-var(
192
181
  --#{$prefix}menu-item-icon-color,
193
- map.get(
194
- $menu-item-icon-highlighted-accent-color-by-variant,
195
- $variant
196
- )
182
+ map.get($menu-item-icon-highlighted-accent-color-by-variant, $variant)
197
183
  );
198
184
 
199
185
  // Item shortcut - Highlighted + Accent
200
186
  @include declare-var(
201
187
  --#{$prefix}menu-item-keybinds-color,
202
- map.get(
203
- $menu-item-keybinds-highlighted-accent-color-by-variant,
204
- $variant
205
- )
188
+ map.get($menu-item-keybinds-highlighted-accent-color-by-variant, $variant)
206
189
  );
207
190
 
208
191
  // Checkable indicator - Highlighted + Accent
209
192
  @include declare-var(
210
193
  --#{$prefix}menu-checkable-indicator-color,
211
- map.get(
212
- $menu-checkable-indicator-highlighted-accent-color-by-variant,
213
- $variant
214
- )
194
+ map.get($menu-checkable-indicator-highlighted-accent-color-by-variant, $variant)
215
195
  );
216
196
  }
217
197
  }
@@ -230,10 +210,7 @@
230
210
  // Item - Selected + Focus
231
211
  @include declare-var(
232
212
  --#{$prefix}menu-item-focus-outline-offset,
233
- map.get(
234
- $menu-item-selected-focus-outline-offset-by-variant,
235
- $variant
236
- )
213
+ map.get($menu-item-selected-focus-outline-offset-by-variant, $variant)
237
214
  );
238
215
 
239
216
  // Item icon - Selected
@@ -252,10 +229,7 @@
252
229
  &[data-accent] {
253
230
  @include declare-var(
254
231
  --#{$prefix}menu-item-background-color,
255
- map.get(
256
- $menu-item-selected-accent-background-color-by-variant,
257
- $variant
258
- )
232
+ map.get($menu-item-selected-accent-background-color-by-variant, $variant)
259
233
  );
260
234
  @include declare-var(
261
235
  --#{$prefix}menu-item-color,
@@ -265,19 +239,13 @@
265
239
  // Item icon - Selected + Accent
266
240
  @include declare-var(
267
241
  --#{$prefix}menu-item-icon-color,
268
- map.get(
269
- $menu-item-icon-selected-accent-color-by-variant,
270
- $variant
271
- )
242
+ map.get($menu-item-icon-selected-accent-color-by-variant, $variant)
272
243
  );
273
244
 
274
245
  // Item shortcut - Selected + Accent
275
246
  @include declare-var(
276
247
  --#{$prefix}menu-item-keybinds-color,
277
- map.get(
278
- $menu-item-keybinds-selected-accent-color-by-variant,
279
- $variant
280
- )
248
+ map.get($menu-item-keybinds-selected-accent-color-by-variant, $variant)
281
249
  );
282
250
  }
283
251
  }
@@ -286,56 +254,38 @@
286
254
  &--highlighted:not(:disabled):is(&--selected) {
287
255
  @include declare-var(
288
256
  --#{$prefix}menu-item-background-color,
289
- map.get(
290
- $menu-item-highlighted-selected-background-color-by-variant,
291
- $variant
292
- )
257
+ map.get($menu-item-highlighted-selected-background-color-by-variant, $variant)
293
258
  );
294
259
 
295
260
  // Item icon - Highlighted + Selected
296
261
  @include declare-var(
297
262
  --#{$prefix}menu-item-icon-color,
298
- map.get(
299
- $menu-item-icon-highlighted-selected-color-by-variant,
300
- $variant
301
- )
263
+ map.get($menu-item-icon-highlighted-selected-color-by-variant, $variant)
302
264
  );
303
265
 
304
266
  // Item shortcut - Highlighted + Selected
305
267
  @include declare-var(
306
268
  --#{$prefix}menu-item-keybinds-color,
307
- map.get(
308
- $menu-item-keybinds-highlighted-selected-color-by-variant,
309
- $variant
310
- )
269
+ map.get($menu-item-keybinds-highlighted-selected-color-by-variant, $variant)
311
270
  );
312
271
 
313
272
  // Item - Highlighted + Selected + Accent
314
273
  &[data-accent] {
315
274
  @include declare-var(
316
275
  --#{$prefix}menu-item-background-color,
317
- map.get(
318
- $menu-item-highlighted-selected-accent-background-color-by-variant,
319
- $variant
320
- )
276
+ map.get($menu-item-highlighted-selected-accent-background-color-by-variant, $variant)
321
277
  );
322
278
 
323
279
  // Item icon - Highlighted + Selected + Accent
324
280
  @include declare-var(
325
281
  --#{$prefix}menu-item-icon-color,
326
- map.get(
327
- $menu-item-icon-highlighted-selected-accent-color-by-variant,
328
- $variant
329
- )
282
+ map.get($menu-item-icon-highlighted-selected-accent-color-by-variant, $variant)
330
283
  );
331
284
 
332
285
  // Item shortcut - Highlighted + Selected + Accent
333
286
  @include declare-var(
334
287
  --#{$prefix}menu-item-keybinds-color,
335
- map.get(
336
- $menu-item-keybinds-highlighted-selected-accent-color-by-variant,
337
- $variant
338
- )
288
+ map.get($menu-item-keybinds-highlighted-selected-accent-color-by-variant, $variant)
339
289
  );
340
290
  }
341
291
  }
@@ -369,15 +319,11 @@
369
319
  &__item-spinner {
370
320
  &--start {
371
321
  margin-left: calc(($menu-item-icon-width - $spinner-size) / 2);
372
- margin-right: calc(
373
- $menu-item-icon-margin-x + ($menu-item-icon-width - $spinner-size) / 2
374
- );
322
+ margin-right: calc($menu-item-icon-margin-x + ($menu-item-icon-width - $spinner-size) / 2);
375
323
  }
376
324
 
377
325
  &--end {
378
- margin-left: calc(
379
- $menu-item-icon-margin-x + ($menu-item-icon-width - $spinner-size) / 2
380
- );
326
+ margin-left: calc($menu-item-icon-margin-x + ($menu-item-icon-width - $spinner-size) / 2);
381
327
  margin-right: calc(($menu-item-icon-width - $spinner-size) / 2);
382
328
  }
383
329
  }
@@ -409,14 +355,8 @@
409
355
 
410
356
  &--checked {
411
357
  border: 0;
412
- background-color: var(
413
- --#{$prefix}menu-item-icon-color,
414
- $menu-item-icon-color
415
- );
416
- color: var(
417
- --#{$prefix}menu-checkable-indicator-color,
418
- var(--#{$prefix}background-color)
419
- );
358
+ background-color: var(--#{$prefix}menu-item-icon-color, $menu-item-icon-color);
359
+ color: var(--#{$prefix}menu-checkable-indicator-color, var(--#{$prefix}background-color));
420
360
  }
421
361
  }
422
362
 
@@ -42,8 +42,7 @@
42
42
 
43
43
  &:not(:first-child) {
44
44
  margin-left: calc(
45
- $notification-action-container-padding-x -
46
- $notification-close-button-inset-x
45
+ $notification-action-container-padding-x - $notification-close-button-inset-x
47
46
  ) !important;
48
47
  }
49
48
  }
@@ -53,8 +52,7 @@
53
52
  display: flex;
54
53
  align-items: center;
55
54
  flex-shrink: 0;
56
- margin: $notification-action-container-margin-y 0
57
- $notification-action-container-margin-y auto;
55
+ margin: $notification-action-container-margin-y 0 $notification-action-container-margin-y auto;
58
56
  padding-left: $notification-action-container-padding-x;
59
57
  }
60
58
 
@@ -11,9 +11,7 @@ $popover-box-shadow: var(--#{$prefix}box-shadow-md) !default;
11
11
  $popover-scrollbar-width: thin !default;
12
12
 
13
13
  $popover-animation-duration: var(--#{$prefix}animation-fade-duration) !default;
14
- $popover-animation-timing-function: var(
15
- --#{$prefix}animation-fade-timing-function
16
- ) !default;
14
+ $popover-animation-timing-function: var(--#{$prefix}animation-fade-timing-function) !default;
17
15
 
18
16
  // Arrow
19
17
  $popover-arrow-color: $popover-background-color !default;
@@ -24,15 +24,13 @@
24
24
 
25
25
  &[data-state="open"] {
26
26
  @include accessible-animation(
27
- $animation-fade-in $popover-animation-duration
28
- $popover-animation-timing-function
27
+ $animation-fade-in $popover-animation-duration $popover-animation-timing-function
29
28
  );
30
29
  }
31
30
 
32
31
  &[data-state="closed"] {
33
32
  @include accessible-animation(
34
- $animation-fade-out $popover-animation-duration
35
- $popover-animation-timing-function
33
+ $animation-fade-out $popover-animation-duration $popover-animation-timing-function
36
34
  );
37
35
  }
38
36
 
@@ -47,11 +45,7 @@
47
45
  0 $popover-arrow-border-width 0 $popover-arrow-border-color
48
46
  )
49
47
  );
50
- margin-top: if(
51
- sass($popover-arrow-border-width > 0): calc(
52
- $popover-arrow-border-width * -1
53
- )
54
- );
48
+ margin-top: if(sass($popover-arrow-border-width > 0): calc($popover-arrow-border-width * -1));
55
49
 
56
50
  // XXX: Firefox doesn't seem to properly rotate the shadow at 180º
57
51
  // FIXME: Sass is outputting repeated selectors for this rule
@@ -59,8 +53,7 @@
59
53
  #{$popover}[data-side="bottom"] & {
60
54
  filter: if(
61
55
  sass($popover-arrow-border-width > 0): drop-shadow(
62
- 0 calc($popover-arrow-border-width * -1) 0
63
- $popover-arrow-border-color
56
+ 0 calc($popover-arrow-border-width * -1) 0 $popover-arrow-border-color
64
57
  )
65
58
  );
66
59
  }
@@ -21,10 +21,7 @@
21
21
  // Returns a blank string if smallest breakpoint, otherwise returns the name
22
22
  // with a dash in front.
23
23
  @function breakpoint-infix($size, $breakpoint-by-size: $breakpoint-by-size) {
24
- @return if(
25
- sass(breakpoint-min($size, $breakpoint-by-size) == null): "";
26
- else: "-#{$size}"
27
- );
24
+ @return if(sass(breakpoint-min($size, $breakpoint-by-size) == null): ""; else: "-#{$size}");
28
25
  }
29
26
 
30
27
  // Media of at least the minimum breakpoint width. No query for the smallest
@@ -15,13 +15,10 @@
15
15
  @include declare-var(#{$var-prefix}-#{$prop}, $default-value);
16
16
  }
17
17
 
18
- @include each-breakpoint-up using($size) {
18
+ @include each-breakpoint-up using ($size) {
19
19
  @each $prop in map.keys($props) {
20
20
  &[data-has-#{$prop}-#{$size}] {
21
- @include declare-var(
22
- #{$var-prefix}-#{$prop},
23
- var(#{$var-prefix}-#{$prop}-#{$size})
24
- );
21
+ @include declare-var(#{$var-prefix}-#{$prop}, var(#{$var-prefix}-#{$prop}-#{$size}));
25
22
  }
26
23
  }
27
24
  }
@@ -18,8 +18,7 @@ $spinner-reduced-animation-speed: $spinner-animation-speed * 2 !default;
18
18
  width: $spinner-size;
19
19
  height: $spinner-size;
20
20
  border-radius: 50%;
21
- border: $spinner-border-width solid
22
- var(--#{$prefix}spinner-track-color, $spinner-track-color);
21
+ border: $spinner-border-width solid var(--#{$prefix}spinner-track-color, $spinner-track-color);
23
22
  border-#{$spinner-indicator-side}-color: var(
24
23
  --#{$prefix}spinner-indicator-color,
25
24
  $spinner-indicator-color
@@ -11,8 +11,8 @@ export interface ActionOwnProps extends Pick<IconButtonProps, "circle"> {
11
11
  /** Whether to render the action as a link. */
12
12
  asLink?: boolean;
13
13
  /**
14
- * Layout of the action. This property overrides the layout specified via
15
- * `Actions`'s `primaryLayout`/`secondaryLayout`.
14
+ * Layout of the action. This property overrides the layout specified via `Actions`'s
15
+ * `primaryLayout`/`secondaryLayout`.
16
16
  */
17
17
  layout?: Responsive<ActionLayout>;
18
18
  /** Label of the action. */
@@ -31,8 +31,8 @@ export interface ActionButtonProps extends ActionOwnProps, Omit<ButtonProps, "ch
31
31
  /**
32
32
  * Single action which can be rendered inline or within a menu of actions.
33
33
  *
34
- * Renders distinct components depending on the context and layout: within a
35
- * dropdown menu, it always renders as a `DropdownMenuItem`, otherwise it
36
- * renders as a `Button` or `IconButton` depending on the specified layout.
34
+ * Renders distinct components depending on the context and layout: within a dropdown menu, it
35
+ * always renders as a `DropdownMenuItem`, otherwise it renders as a `Button` or `IconButton`
36
+ * depending on the specified layout.
37
37
  */
38
- export declare function Action({ asLink, layout, label, icon, iconPlacement, circle, variant, color, className, ref, ...otherProps }: ActionProps): import("react").JSX.Element | null;
38
+ export declare function Action({ asLink, layout, label, icon, iconPlacement, circle, variant: variantProp, color, className, ref, ...otherProps }: ActionProps): import("react").JSX.Element | null;
@@ -3,34 +3,30 @@ import { type DropdownMenuGroupProps } from "../DropdownMenu";
3
3
  /** Properties of the action group component. */
4
4
  export interface ActionGroupProps extends ButtonGroupProps, Omit<DropdownMenuGroupProps, keyof ButtonGroupProps> {
5
5
  /**
6
- * Whether the actions should be grouped when rendered inline. When set, all
7
- * actions will be rendered within a `ButtonGroup` component, unless they are
8
- * already in one.
6
+ * Whether the actions should be grouped when rendered inline. When set, all actions will be
7
+ * rendered within a `ButtonGroup` component, unless they are already in one.
9
8
  *
10
9
  * @default true
11
10
  */
12
11
  groupInline?: boolean;
13
12
  /**
14
- * Whether the actions should be grouped when rendered within a dropdown menu.
15
- * When set, all actions will be rendered within a `DropdownMenuGroup`
16
- * component, unless they are already in one.
13
+ * Whether the actions should be grouped when rendered within a dropdown menu. When set, all
14
+ * actions will be rendered within a `DropdownMenuGroup` component, unless they are already in
15
+ * one.
17
16
  *
18
17
  * @default true
19
18
  */
20
19
  groupCollapsed?: boolean;
21
20
  /**
22
- * Properties to pass to the `ButtonGroup` component, when rendering the group
23
- * inline and `groupInline` is set.
21
+ * Properties to pass to the `ButtonGroup` component, when rendering the group inline and
22
+ * `groupInline` is set.
24
23
  */
25
24
  buttonGroupProps?: Omit<ButtonGroupProps, "children">;
26
25
  /**
27
- * Properties to pass to the `DropdownMenuGroup` component, when rendering the
28
- * group in a dropdown menu and `groupCollapsed` is set.
26
+ * Properties to pass to the `DropdownMenuGroup` component, when rendering the group in a dropdown
27
+ * menu and `groupCollapsed` is set.
29
28
  */
30
29
  dropdownMenuGroupProps?: Omit<DropdownMenuGroupProps, "children" | "label">;
31
30
  }
32
- /**
33
- * Component used to group actions together, both inline or within a dropdown
34
- * menu.
35
- */
31
+ /** Component used to group actions together, both inline or within a dropdown menu. */
36
32
  export declare function ActionGroup({ groupInline, groupCollapsed, buttonGroupProps, dropdownMenuGroupProps, children, ...otherProps }: ActionGroupProps): string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
@@ -6,43 +6,39 @@ export type ActionMenuDropdownMenuLayout = "group" | "sub";
6
6
  /** Properties of the action menu component. */
7
7
  export interface ActionMenuProps extends ActionButtonProps, Pick<DropdownMenuProps, "defaultOpen" | "open" | "onOpenChange" | "modal"> {
8
8
  /**
9
- * Layout of the menu when rendering within a dropdown. Whether to render the
10
- * menu as a group or a sub-menu within the dropdown.
9
+ * Layout of the menu when rendering within a dropdown. Whether to render the menu as a group or a
10
+ * sub-menu within the dropdown.
11
11
  *
12
12
  * @default "sub"
13
13
  */
14
14
  collapsedLayout?: ActionMenuDropdownMenuLayout;
15
- /**
16
- * Properties to pass to the `DropdownMenuContent` component when rendering
17
- * outside a dropdown.
18
- */
15
+ /** Properties to pass to the `DropdownMenuContent` component when rendering outside a dropdown. */
19
16
  dropdownMenuContentProps?: DropdownMenuContentProps;
20
17
  /**
21
- * Properties to pass to the `DropdownMenuGroup` component when rendering
22
- * within a dropdown and `dropdownMenuLayout` is `"group"`.
18
+ * Properties to pass to the `DropdownMenuGroup` component when rendering within a dropdown and
19
+ * `dropdownMenuLayout` is `"group"`.
23
20
  */
24
21
  dropdownMenuGroupProps?: Omit<DropdownMenuGroupProps, "label">;
25
22
  /**
26
- * Properties to pass to the `DropdownMenuSub` component when rendering within
27
- * a dropdown and `dropdownMenuLayout` is `"sub"`.
23
+ * Properties to pass to the `DropdownMenuSub` component when rendering within a dropdown and
24
+ * `dropdownMenuLayout` is `"sub"`.
28
25
  */
29
26
  dropdownMenuSubProps?: Omit<DropdownMenuSubProps, "defaultOpen" | "open" | "onOpenChange">;
30
27
  /**
31
- * Properties to pass to the `DropdownMenuSubTrigger` component when rendering
32
- * within a dropdown and `dropdownMenuLayout` is `"sub"`.
28
+ * Properties to pass to the `DropdownMenuSubTrigger` component when rendering within a dropdown
29
+ * and `dropdownMenuLayout` is `"sub"`.
33
30
  */
34
31
  dropdownMenuSubTriggerProps?: Omit<DropdownMenuSubTriggerProps, "children">;
35
32
  /**
36
- * Properties to pass to the `DropdownMenuSubContent` component when rendering
37
- * within a dropdown and `dropdownMenuLayout` is `"sub"`.
33
+ * Properties to pass to the `DropdownMenuSubContent` component when rendering within a dropdown
34
+ * and `dropdownMenuLayout` is `"sub"`.
38
35
  */
39
36
  dropdownMenuSubContentProps?: Omit<DropdownMenuSubContentProps, "children">;
40
37
  /** Children menu items. */
41
38
  children?: ReactNode;
42
39
  }
43
40
  /**
44
- * Action displaying a dropdown menu in uncollapsed mode. In collapsed mode, it
45
- * is rendered as either a dropdown menu item group or submenu depending on
46
- * `collapsedLayout`.
41
+ * Action displaying a dropdown menu in uncollapsed mode. In collapsed mode, it is rendered as
42
+ * either a dropdown menu item group or submenu depending on `collapsedLayout`.
47
43
  */
48
44
  export declare function ActionMenu({ label, color, collapsedLayout, defaultOpen, open: controlledOpen, onOpenChange, modal, dropdownMenuContentProps, dropdownMenuGroupProps, dropdownMenuSubProps, dropdownMenuSubTriggerProps, dropdownMenuSubContentProps, children, ...otherProps }: ActionMenuProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
@@ -15,14 +15,14 @@ export interface ActionSplitProps extends ActionButtonProps, Pick<ActionGroupPro
15
15
  *
16
16
  * @default "end"
17
17
  */
18
- splitPlacement?: "start" | "end";
18
+ splitPlacement?: ActionSplitPlacement;
19
19
  /** Properties to pass to the `ActionMenu` split trigger component. */
20
20
  splitProps?: Omit<ActionButtonProps, "label">;
21
21
  /** Split actions. */
22
22
  children?: ReactNode;
23
23
  }
24
24
  /**
25
- * Split action component. Actions in provided as `children` as displayed in a
26
- * dropdown menu triggered via a dedicated split button.
25
+ * Split action component. Actions in provided as `children` as displayed in a dropdown menu
26
+ * triggered via a dedicated split button.
27
27
  */
28
- export declare function ActionSplit({ variant, color, className, groupCollapsed, groupLabel, splitLabel, splitPlacement, defaultOpen, open, onOpenChange, modal, buttonGroupProps, dropdownMenuGroupProps, dropdownMenuContentProps, splitProps, children, ...otherProps }: ActionSplitProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
28
+ export declare function ActionSplit({ variant, color, className, groupCollapsed, groupLabel, splitLabel: splitLabelProp, splitPlacement, defaultOpen, open, onOpenChange, modal, buttonGroupProps, dropdownMenuGroupProps, dropdownMenuContentProps, splitProps, children, ...otherProps }: ActionSplitProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;