@salt-ds/core 1.30.0 → 1.32.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 (750) hide show
  1. package/css/salt-core.css +143 -30
  2. package/dist-cjs/accordion/Accordion.js +9 -7
  3. package/dist-cjs/accordion/Accordion.js.map +1 -1
  4. package/dist-cjs/accordion/AccordionContext.js +5 -4
  5. package/dist-cjs/accordion/AccordionContext.js.map +1 -1
  6. package/dist-cjs/accordion/AccordionGroup.js +6 -6
  7. package/dist-cjs/accordion/AccordionGroup.js.map +1 -1
  8. package/dist-cjs/accordion/AccordionHeader.css.js +1 -1
  9. package/dist-cjs/accordion/AccordionHeader.js +26 -12
  10. package/dist-cjs/accordion/AccordionHeader.js.map +1 -1
  11. package/dist-cjs/accordion/AccordionPanel.css.js +1 -1
  12. package/dist-cjs/accordion/AccordionPanel.js +9 -7
  13. package/dist-cjs/accordion/AccordionPanel.js.map +1 -1
  14. package/dist-cjs/aria-announcer/AriaAnnounce.js.map +1 -1
  15. package/dist-cjs/aria-announcer/AriaAnnouncerContext.js.map +1 -1
  16. package/dist-cjs/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
  17. package/dist-cjs/aria-announcer/useAriaAnnouncer.js +5 -5
  18. package/dist-cjs/aria-announcer/useAriaAnnouncer.js.map +1 -1
  19. package/dist-cjs/avatar/Avatar.js +4 -4
  20. package/dist-cjs/avatar/Avatar.js.map +1 -1
  21. package/dist-cjs/avatar/useAvatarImage.js +4 -4
  22. package/dist-cjs/avatar/useAvatarImage.js.map +1 -1
  23. package/dist-cjs/badge/Badge.js +5 -5
  24. package/dist-cjs/badge/Badge.js.map +1 -1
  25. package/dist-cjs/banner/Banner.js +6 -6
  26. package/dist-cjs/banner/Banner.js.map +1 -1
  27. package/dist-cjs/banner/BannerActions.js +5 -5
  28. package/dist-cjs/banner/BannerActions.js.map +1 -1
  29. package/dist-cjs/banner/BannerContent.js +5 -5
  30. package/dist-cjs/banner/BannerContent.js.map +1 -1
  31. package/dist-cjs/border-item/BorderItem.js +7 -7
  32. package/dist-cjs/border-item/BorderItem.js.map +1 -1
  33. package/dist-cjs/border-layout/BorderLayout.js +5 -5
  34. package/dist-cjs/border-layout/BorderLayout.js.map +1 -1
  35. package/dist-cjs/breakpoints/BreakpointProvider.js +5 -5
  36. package/dist-cjs/breakpoints/BreakpointProvider.js.map +1 -1
  37. package/dist-cjs/button/Button.css.js +1 -1
  38. package/dist-cjs/button/Button.js +5 -5
  39. package/dist-cjs/button/Button.js.map +1 -1
  40. package/dist-cjs/button/useButton.js.map +1 -1
  41. package/dist-cjs/card/Card.js +42 -40
  42. package/dist-cjs/card/Card.js.map +1 -1
  43. package/dist-cjs/checkbox/Checkbox.js +6 -6
  44. package/dist-cjs/checkbox/Checkbox.js.map +1 -1
  45. package/dist-cjs/checkbox/CheckboxGroup.js +5 -5
  46. package/dist-cjs/checkbox/CheckboxGroup.js.map +1 -1
  47. package/dist-cjs/checkbox/CheckboxIcon.js +5 -5
  48. package/dist-cjs/checkbox/CheckboxIcon.js.map +1 -1
  49. package/dist-cjs/checkbox/internal/CheckboxGroupContext.js +4 -4
  50. package/dist-cjs/checkbox/internal/CheckboxGroupContext.js.map +1 -1
  51. package/dist-cjs/combo-box/ComboBox.js +22 -20
  52. package/dist-cjs/combo-box/ComboBox.js.map +1 -1
  53. package/dist-cjs/combo-box/useComboBox.js +4 -4
  54. package/dist-cjs/combo-box/useComboBox.js.map +1 -1
  55. package/dist-cjs/dialog/Dialog.js +90 -88
  56. package/dist-cjs/dialog/Dialog.js.map +1 -1
  57. package/dist-cjs/dialog/DialogActions.js +6 -6
  58. package/dist-cjs/dialog/DialogActions.js.map +1 -1
  59. package/dist-cjs/dialog/DialogCloseButton.js +7 -7
  60. package/dist-cjs/dialog/DialogCloseButton.js.map +1 -1
  61. package/dist-cjs/dialog/DialogContent.js +6 -6
  62. package/dist-cjs/dialog/DialogContent.js.map +1 -1
  63. package/dist-cjs/dialog/DialogContext.js.map +1 -1
  64. package/dist-cjs/dialog/DialogHeader.js +5 -5
  65. package/dist-cjs/dialog/DialogHeader.js.map +1 -1
  66. package/dist-cjs/divider/Divider.js +6 -6
  67. package/dist-cjs/divider/Divider.js.map +1 -1
  68. package/dist-cjs/drawer/Drawer.js +76 -74
  69. package/dist-cjs/drawer/Drawer.js.map +1 -1
  70. package/dist-cjs/drawer/DrawerCloseButton.js +7 -7
  71. package/dist-cjs/drawer/DrawerCloseButton.js.map +1 -1
  72. package/dist-cjs/dropdown/Dropdown.css.js +1 -1
  73. package/dist-cjs/dropdown/Dropdown.js +22 -17
  74. package/dist-cjs/dropdown/Dropdown.js.map +1 -1
  75. package/dist-cjs/file-drop-zone/FileDropZone.js +5 -5
  76. package/dist-cjs/file-drop-zone/FileDropZone.js.map +1 -1
  77. package/dist-cjs/file-drop-zone/FileDropZoneIcon.js +1 -1
  78. package/dist-cjs/file-drop-zone/FileDropZoneIcon.js.map +1 -1
  79. package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js +6 -5
  80. package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
  81. package/dist-cjs/file-drop-zone/internal/utils.js.map +1 -1
  82. package/dist-cjs/flex-item/FlexItem.js +8 -8
  83. package/dist-cjs/flex-item/FlexItem.js.map +1 -1
  84. package/dist-cjs/flex-layout/FlexLayout.js +5 -5
  85. package/dist-cjs/flex-layout/FlexLayout.js.map +1 -1
  86. package/dist-cjs/flow-layout/FlowLayout.js.map +1 -1
  87. package/dist-cjs/form-field/FormField.js +4 -4
  88. package/dist-cjs/form-field/FormField.js.map +1 -1
  89. package/dist-cjs/form-field/FormFieldHelperText.js +5 -5
  90. package/dist-cjs/form-field/FormFieldHelperText.js.map +1 -1
  91. package/dist-cjs/form-field/FormFieldLabel.js +3 -3
  92. package/dist-cjs/form-field/FormFieldLabel.js.map +1 -1
  93. package/dist-cjs/form-field-context/FormFieldContext.js +3 -3
  94. package/dist-cjs/form-field-context/FormFieldContext.js.map +1 -1
  95. package/dist-cjs/form-field-context/useFormFieldProps.js.map +1 -1
  96. package/dist-cjs/grid-item/GridItem.js +8 -8
  97. package/dist-cjs/grid-item/GridItem.js.map +1 -1
  98. package/dist-cjs/grid-layout/GridLayout.js +5 -5
  99. package/dist-cjs/grid-layout/GridLayout.js.map +1 -1
  100. package/dist-cjs/index.js +7 -0
  101. package/dist-cjs/index.js.map +1 -1
  102. package/dist-cjs/input/Input.js +5 -5
  103. package/dist-cjs/input/Input.js.map +1 -1
  104. package/dist-cjs/interactable-card/InteractableCard.js +9 -9
  105. package/dist-cjs/interactable-card/InteractableCard.js.map +1 -1
  106. package/dist-cjs/interactable-card/InteractableCardGroup.js +18 -14
  107. package/dist-cjs/interactable-card/InteractableCardGroup.js.map +1 -1
  108. package/dist-cjs/interactable-card/InteractableCardGroupContext.js +4 -4
  109. package/dist-cjs/interactable-card/InteractableCardGroupContext.js.map +1 -1
  110. package/dist-cjs/interactable-card/useInteractableCard.js +1 -1
  111. package/dist-cjs/interactable-card/useInteractableCard.js.map +1 -1
  112. package/dist-cjs/link/Link.js +12 -12
  113. package/dist-cjs/link/Link.js.map +1 -1
  114. package/dist-cjs/link-card/LinkCard.js +5 -5
  115. package/dist-cjs/link-card/LinkCard.js.map +1 -1
  116. package/dist-cjs/list-box/ListBox.js +10 -10
  117. package/dist-cjs/list-box/ListBox.js.map +1 -1
  118. package/dist-cjs/list-control/ListControlContext.js +4 -4
  119. package/dist-cjs/list-control/ListControlContext.js.map +1 -1
  120. package/dist-cjs/list-control/ListControlState.js +9 -9
  121. package/dist-cjs/list-control/ListControlState.js.map +1 -1
  122. package/dist-cjs/menu/Menu.js +1 -1
  123. package/dist-cjs/menu/Menu.js.map +1 -1
  124. package/dist-cjs/menu/MenuBase.js +7 -7
  125. package/dist-cjs/menu/MenuBase.js.map +1 -1
  126. package/dist-cjs/menu/MenuContext.js +3 -3
  127. package/dist-cjs/menu/MenuContext.js.map +1 -1
  128. package/dist-cjs/menu/MenuGroup.js +6 -6
  129. package/dist-cjs/menu/MenuGroup.js.map +1 -1
  130. package/dist-cjs/menu/MenuItem.js +8 -8
  131. package/dist-cjs/menu/MenuItem.js.map +1 -1
  132. package/dist-cjs/menu/MenuPanel.css.js +1 -1
  133. package/dist-cjs/menu/MenuPanel.js +7 -7
  134. package/dist-cjs/menu/MenuPanel.js.map +1 -1
  135. package/dist-cjs/menu/MenuPanelBase.js +2 -2
  136. package/dist-cjs/menu/MenuPanelBase.js.map +1 -1
  137. package/dist-cjs/menu/MenuPanelContext.js +3 -3
  138. package/dist-cjs/menu/MenuPanelContext.js.map +1 -1
  139. package/dist-cjs/menu/MenuTrigger.js +8 -7
  140. package/dist-cjs/menu/MenuTrigger.js.map +1 -1
  141. package/dist-cjs/menu/MenuTriggerContext.js +3 -3
  142. package/dist-cjs/menu/MenuTriggerContext.js.map +1 -1
  143. package/dist-cjs/multiline-input/MultilineInput.js +4 -4
  144. package/dist-cjs/multiline-input/MultilineInput.js.map +1 -1
  145. package/dist-cjs/navigation-item/ConditionalWrapper.js +1 -0
  146. package/dist-cjs/navigation-item/ConditionalWrapper.js.map +1 -1
  147. package/dist-cjs/navigation-item/ExpansionIcon.js.map +1 -1
  148. package/dist-cjs/navigation-item/NavigationItem.js +6 -6
  149. package/dist-cjs/navigation-item/NavigationItem.js.map +1 -1
  150. package/dist-cjs/option/Option.js +95 -93
  151. package/dist-cjs/option/Option.js.map +1 -1
  152. package/dist-cjs/option/OptionGroup.js +6 -6
  153. package/dist-cjs/option/OptionGroup.js.map +1 -1
  154. package/dist-cjs/option/OptionList.css.js +1 -1
  155. package/dist-cjs/option/OptionList.js +5 -5
  156. package/dist-cjs/option/OptionList.js.map +1 -1
  157. package/dist-cjs/option/OptionListBase.js +6 -6
  158. package/dist-cjs/option/OptionListBase.js.map +1 -1
  159. package/dist-cjs/overlay/Overlay.js +5 -5
  160. package/dist-cjs/overlay/Overlay.js.map +1 -1
  161. package/dist-cjs/overlay/OverlayContext.js +5 -5
  162. package/dist-cjs/overlay/OverlayContext.js.map +1 -1
  163. package/dist-cjs/overlay/OverlayPanel.js +7 -7
  164. package/dist-cjs/overlay/OverlayPanel.js.map +1 -1
  165. package/dist-cjs/overlay/OverlayPanelCloseButton.js +8 -8
  166. package/dist-cjs/overlay/OverlayPanelCloseButton.js.map +1 -1
  167. package/dist-cjs/overlay/OverlayPanelContent.js +5 -5
  168. package/dist-cjs/overlay/OverlayPanelContent.js.map +1 -1
  169. package/dist-cjs/overlay/OverlayTrigger.js +7 -9
  170. package/dist-cjs/overlay/OverlayTrigger.js.map +1 -1
  171. package/dist-cjs/pagination/CompactInput.js +5 -5
  172. package/dist-cjs/pagination/CompactInput.js.map +1 -1
  173. package/dist-cjs/pagination/CompactPaginator.js +5 -5
  174. package/dist-cjs/pagination/CompactPaginator.js.map +1 -1
  175. package/dist-cjs/pagination/GoToInput.js +5 -5
  176. package/dist-cjs/pagination/GoToInput.js.map +1 -1
  177. package/dist-cjs/pagination/PageButton.js +5 -5
  178. package/dist-cjs/pagination/PageButton.js.map +1 -1
  179. package/dist-cjs/pagination/PageRanges.js +5 -5
  180. package/dist-cjs/pagination/PageRanges.js.map +1 -1
  181. package/dist-cjs/pagination/Pagination.js +7 -7
  182. package/dist-cjs/pagination/Pagination.js.map +1 -1
  183. package/dist-cjs/pagination/PaginationContext.js.map +1 -1
  184. package/dist-cjs/pagination/Paginator.js +4 -4
  185. package/dist-cjs/pagination/Paginator.js.map +1 -1
  186. package/dist-cjs/pagination/usePagination.js.map +1 -1
  187. package/dist-cjs/pagination/usePaginationContext.js +1 -1
  188. package/dist-cjs/pagination/usePaginationContext.js.map +1 -1
  189. package/dist-cjs/panel/Panel.js +4 -4
  190. package/dist-cjs/panel/Panel.js.map +1 -1
  191. package/dist-cjs/parent-child-layout/ParentChildLayout.js +5 -5
  192. package/dist-cjs/parent-child-layout/ParentChildLayout.js.map +1 -1
  193. package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js +4 -4
  194. package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
  195. package/dist-cjs/pill/Pill.js +9 -9
  196. package/dist-cjs/pill/Pill.js.map +1 -1
  197. package/dist-cjs/pill-input/PillInput.css.js +1 -1
  198. package/dist-cjs/pill-input/PillInput.js +16 -14
  199. package/dist-cjs/pill-input/PillInput.js.map +1 -1
  200. package/dist-cjs/pill-input/useTruncatePills.js +7 -3
  201. package/dist-cjs/pill-input/useTruncatePills.js.map +1 -1
  202. package/dist-cjs/progress/CircularProgress/CircularProgress.js +13 -13
  203. package/dist-cjs/progress/CircularProgress/CircularProgress.js.map +1 -1
  204. package/dist-cjs/progress/LinearProgress/LinearProgress.css.js +1 -1
  205. package/dist-cjs/progress/LinearProgress/LinearProgress.js +30 -25
  206. package/dist-cjs/progress/LinearProgress/LinearProgress.js.map +1 -1
  207. package/dist-cjs/radio-button/RadioButton.js +7 -7
  208. package/dist-cjs/radio-button/RadioButton.js.map +1 -1
  209. package/dist-cjs/radio-button/RadioButtonGroup.js +5 -5
  210. package/dist-cjs/radio-button/RadioButtonGroup.js.map +1 -1
  211. package/dist-cjs/radio-button/RadioButtonIcon.js +6 -6
  212. package/dist-cjs/radio-button/RadioButtonIcon.js.map +1 -1
  213. package/dist-cjs/radio-button/internal/RadioGroupContext.js +4 -4
  214. package/dist-cjs/radio-button/internal/RadioGroupContext.js.map +1 -1
  215. package/dist-cjs/salt-provider/SaltProvider.js +46 -40
  216. package/dist-cjs/salt-provider/SaltProvider.js.map +1 -1
  217. package/dist-cjs/scrim/Scrim.js +4 -4
  218. package/dist-cjs/scrim/Scrim.js.map +1 -1
  219. package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js +6 -6
  220. package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
  221. package/dist-cjs/spinner/Spinner.js +4 -4
  222. package/dist-cjs/spinner/Spinner.js.map +1 -1
  223. package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js +4 -4
  224. package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
  225. package/dist-cjs/split-layout/SplitLayout.js +6 -6
  226. package/dist-cjs/split-layout/SplitLayout.js.map +1 -1
  227. package/dist-cjs/stack-layout/StackLayout.js +8 -8
  228. package/dist-cjs/stack-layout/StackLayout.js.map +1 -1
  229. package/dist-cjs/status-adornment/ErrorAdornment.js.map +1 -1
  230. package/dist-cjs/status-adornment/StatusAdornment.js +5 -5
  231. package/dist-cjs/status-adornment/StatusAdornment.js.map +1 -1
  232. package/dist-cjs/status-adornment/SuccessAdornment.js.map +1 -1
  233. package/dist-cjs/status-adornment/WarningAdornment.js.map +1 -1
  234. package/dist-cjs/status-indicator/StatusIndicator.js +3 -3
  235. package/dist-cjs/status-indicator/StatusIndicator.js.map +1 -1
  236. package/dist-cjs/switch/Switch.js +101 -99
  237. package/dist-cjs/switch/Switch.js.map +1 -1
  238. package/dist-cjs/tag/Tag.js +5 -5
  239. package/dist-cjs/tag/Tag.js.map +1 -1
  240. package/dist-cjs/text/Code.js.map +1 -1
  241. package/dist-cjs/text/Display.js.map +1 -1
  242. package/dist-cjs/text/Headings.js.map +1 -1
  243. package/dist-cjs/text/Label.js.map +1 -1
  244. package/dist-cjs/text/Text.js +5 -5
  245. package/dist-cjs/text/Text.js.map +1 -1
  246. package/dist-cjs/text/TextAction.js.map +1 -1
  247. package/dist-cjs/text/TextNotation.js.map +1 -1
  248. package/dist-cjs/theme/Accent.js +3 -1
  249. package/dist-cjs/theme/Accent.js.map +1 -1
  250. package/dist-cjs/theme/ActionFont.js +3 -1
  251. package/dist-cjs/theme/ActionFont.js.map +1 -1
  252. package/dist-cjs/theme/Corner.js +3 -1
  253. package/dist-cjs/theme/Corner.js.map +1 -1
  254. package/dist-cjs/theme/HeadingFont.js +3 -1
  255. package/dist-cjs/theme/HeadingFont.js.map +1 -1
  256. package/dist-cjs/theme/Theme.js.map +1 -1
  257. package/dist-cjs/toast/Toast.js +33 -31
  258. package/dist-cjs/toast/Toast.js.map +1 -1
  259. package/dist-cjs/toast/ToastContent.js +5 -5
  260. package/dist-cjs/toast/ToastContent.js.map +1 -1
  261. package/dist-cjs/toggle-button/ToggleButton.js +6 -6
  262. package/dist-cjs/toggle-button/ToggleButton.js.map +1 -1
  263. package/dist-cjs/toggle-button-group/ToggleButtonGroup.js +10 -10
  264. package/dist-cjs/toggle-button-group/ToggleButtonGroup.js.map +1 -1
  265. package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js +4 -4
  266. package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
  267. package/dist-cjs/tooltip/Tooltip.css.js +1 -1
  268. package/dist-cjs/tooltip/Tooltip.js +8 -10
  269. package/dist-cjs/tooltip/Tooltip.js.map +1 -1
  270. package/dist-cjs/tooltip/TooltipBase.js +5 -5
  271. package/dist-cjs/tooltip/TooltipBase.js.map +1 -1
  272. package/dist-cjs/tooltip/useAriaAnnounce.js +10 -7
  273. package/dist-cjs/tooltip/useAriaAnnounce.js.map +1 -1
  274. package/dist-cjs/tooltip/useTooltip.js +3 -3
  275. package/dist-cjs/tooltip/useTooltip.js.map +1 -1
  276. package/dist-cjs/utils/createChainedFunction.js.map +1 -1
  277. package/dist-cjs/utils/createContext.js.map +1 -1
  278. package/dist-cjs/utils/debounce.js.map +1 -1
  279. package/dist-cjs/utils/getRefFromChildren.js +15 -0
  280. package/dist-cjs/utils/getRefFromChildren.js.map +1 -0
  281. package/dist-cjs/utils/marginMiddleware.js.map +1 -1
  282. package/dist-cjs/utils/mergeProps.js.map +1 -1
  283. package/dist-cjs/utils/setRef.js.map +1 -1
  284. package/dist-cjs/utils/useControlled.js +1 -1
  285. package/dist-cjs/utils/useControlled.js.map +1 -1
  286. package/dist-cjs/utils/useEventCallback.js.map +1 -1
  287. package/dist-cjs/utils/useFloatingUI/useFloatingUI.js +1 -1
  288. package/dist-cjs/utils/useFloatingUI/useFloatingUI.js.map +1 -1
  289. package/dist-cjs/utils/useForkRef.js.map +1 -1
  290. package/dist-cjs/utils/useId.js +1 -2
  291. package/dist-cjs/utils/useId.js.map +1 -1
  292. package/dist-cjs/utils/useIsFocusVisible.js.map +1 -1
  293. package/dist-cjs/utils/useIsomorphicLayoutEffect.js.map +1 -1
  294. package/dist-cjs/utils/usePrevious.js.map +1 -1
  295. package/dist-cjs/utils/useResizeObserver.js.map +1 -1
  296. package/dist-cjs/utils/useResponsiveProp.js +11 -8
  297. package/dist-cjs/utils/useResponsiveProp.js.map +1 -1
  298. package/dist-cjs/utils/useValueEffect.js +4 -4
  299. package/dist-cjs/utils/useValueEffect.js.map +1 -1
  300. package/dist-cjs/viewport/ViewportProvider.js +4 -4
  301. package/dist-cjs/viewport/ViewportProvider.js.map +1 -1
  302. package/dist-es/accordion/Accordion.js +9 -7
  303. package/dist-es/accordion/Accordion.js.map +1 -1
  304. package/dist-es/accordion/AccordionContext.js +5 -4
  305. package/dist-es/accordion/AccordionContext.js.map +1 -1
  306. package/dist-es/accordion/AccordionGroup.js +6 -6
  307. package/dist-es/accordion/AccordionGroup.js.map +1 -1
  308. package/dist-es/accordion/AccordionHeader.css.js +1 -1
  309. package/dist-es/accordion/AccordionHeader.js +26 -12
  310. package/dist-es/accordion/AccordionHeader.js.map +1 -1
  311. package/dist-es/accordion/AccordionPanel.css.js +1 -1
  312. package/dist-es/accordion/AccordionPanel.js +9 -7
  313. package/dist-es/accordion/AccordionPanel.js.map +1 -1
  314. package/dist-es/aria-announcer/AriaAnnounce.js.map +1 -1
  315. package/dist-es/aria-announcer/AriaAnnouncerContext.js.map +1 -1
  316. package/dist-es/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
  317. package/dist-es/aria-announcer/useAriaAnnouncer.js +5 -5
  318. package/dist-es/aria-announcer/useAriaAnnouncer.js.map +1 -1
  319. package/dist-es/avatar/Avatar.js +4 -4
  320. package/dist-es/avatar/Avatar.js.map +1 -1
  321. package/dist-es/avatar/useAvatarImage.js +4 -4
  322. package/dist-es/avatar/useAvatarImage.js.map +1 -1
  323. package/dist-es/badge/Badge.js +5 -5
  324. package/dist-es/badge/Badge.js.map +1 -1
  325. package/dist-es/banner/Banner.js +6 -6
  326. package/dist-es/banner/Banner.js.map +1 -1
  327. package/dist-es/banner/BannerActions.js +5 -5
  328. package/dist-es/banner/BannerActions.js.map +1 -1
  329. package/dist-es/banner/BannerContent.js +5 -5
  330. package/dist-es/banner/BannerContent.js.map +1 -1
  331. package/dist-es/border-item/BorderItem.js +7 -7
  332. package/dist-es/border-item/BorderItem.js.map +1 -1
  333. package/dist-es/border-layout/BorderLayout.js +5 -5
  334. package/dist-es/border-layout/BorderLayout.js.map +1 -1
  335. package/dist-es/breakpoints/BreakpointProvider.js +5 -5
  336. package/dist-es/breakpoints/BreakpointProvider.js.map +1 -1
  337. package/dist-es/button/Button.css.js +1 -1
  338. package/dist-es/button/Button.js +5 -5
  339. package/dist-es/button/Button.js.map +1 -1
  340. package/dist-es/button/useButton.js.map +1 -1
  341. package/dist-es/card/Card.js +42 -40
  342. package/dist-es/card/Card.js.map +1 -1
  343. package/dist-es/checkbox/Checkbox.js +6 -6
  344. package/dist-es/checkbox/Checkbox.js.map +1 -1
  345. package/dist-es/checkbox/CheckboxGroup.js +5 -5
  346. package/dist-es/checkbox/CheckboxGroup.js.map +1 -1
  347. package/dist-es/checkbox/CheckboxIcon.js +5 -5
  348. package/dist-es/checkbox/CheckboxIcon.js.map +1 -1
  349. package/dist-es/checkbox/internal/CheckboxGroupContext.js +4 -4
  350. package/dist-es/checkbox/internal/CheckboxGroupContext.js.map +1 -1
  351. package/dist-es/combo-box/ComboBox.js +22 -20
  352. package/dist-es/combo-box/ComboBox.js.map +1 -1
  353. package/dist-es/combo-box/useComboBox.js +4 -4
  354. package/dist-es/combo-box/useComboBox.js.map +1 -1
  355. package/dist-es/dialog/Dialog.js +90 -88
  356. package/dist-es/dialog/Dialog.js.map +1 -1
  357. package/dist-es/dialog/DialogActions.js +6 -6
  358. package/dist-es/dialog/DialogActions.js.map +1 -1
  359. package/dist-es/dialog/DialogCloseButton.js +7 -7
  360. package/dist-es/dialog/DialogCloseButton.js.map +1 -1
  361. package/dist-es/dialog/DialogContent.js +6 -6
  362. package/dist-es/dialog/DialogContent.js.map +1 -1
  363. package/dist-es/dialog/DialogContext.js.map +1 -1
  364. package/dist-es/dialog/DialogHeader.js +5 -5
  365. package/dist-es/dialog/DialogHeader.js.map +1 -1
  366. package/dist-es/divider/Divider.js +6 -6
  367. package/dist-es/divider/Divider.js.map +1 -1
  368. package/dist-es/drawer/Drawer.js +76 -74
  369. package/dist-es/drawer/Drawer.js.map +1 -1
  370. package/dist-es/drawer/DrawerCloseButton.js +7 -7
  371. package/dist-es/drawer/DrawerCloseButton.js.map +1 -1
  372. package/dist-es/dropdown/Dropdown.css.js +1 -1
  373. package/dist-es/dropdown/Dropdown.js +22 -17
  374. package/dist-es/dropdown/Dropdown.js.map +1 -1
  375. package/dist-es/file-drop-zone/FileDropZone.js +5 -5
  376. package/dist-es/file-drop-zone/FileDropZone.js.map +1 -1
  377. package/dist-es/file-drop-zone/FileDropZoneIcon.js +1 -1
  378. package/dist-es/file-drop-zone/FileDropZoneIcon.js.map +1 -1
  379. package/dist-es/file-drop-zone/FileDropZoneTrigger.js +6 -5
  380. package/dist-es/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
  381. package/dist-es/file-drop-zone/internal/utils.js.map +1 -1
  382. package/dist-es/flex-item/FlexItem.js +8 -8
  383. package/dist-es/flex-item/FlexItem.js.map +1 -1
  384. package/dist-es/flex-layout/FlexLayout.js +5 -5
  385. package/dist-es/flex-layout/FlexLayout.js.map +1 -1
  386. package/dist-es/flow-layout/FlowLayout.js.map +1 -1
  387. package/dist-es/form-field/FormField.js +4 -4
  388. package/dist-es/form-field/FormField.js.map +1 -1
  389. package/dist-es/form-field/FormFieldHelperText.js +5 -5
  390. package/dist-es/form-field/FormFieldHelperText.js.map +1 -1
  391. package/dist-es/form-field/FormFieldLabel.js +3 -3
  392. package/dist-es/form-field/FormFieldLabel.js.map +1 -1
  393. package/dist-es/form-field-context/FormFieldContext.js +3 -3
  394. package/dist-es/form-field-context/FormFieldContext.js.map +1 -1
  395. package/dist-es/form-field-context/useFormFieldProps.js.map +1 -1
  396. package/dist-es/grid-item/GridItem.js +8 -8
  397. package/dist-es/grid-item/GridItem.js.map +1 -1
  398. package/dist-es/grid-layout/GridLayout.js +5 -5
  399. package/dist-es/grid-layout/GridLayout.js.map +1 -1
  400. package/dist-es/index.js +6 -5
  401. package/dist-es/index.js.map +1 -1
  402. package/dist-es/input/Input.js +5 -5
  403. package/dist-es/input/Input.js.map +1 -1
  404. package/dist-es/interactable-card/InteractableCard.js +9 -9
  405. package/dist-es/interactable-card/InteractableCard.js.map +1 -1
  406. package/dist-es/interactable-card/InteractableCardGroup.js +18 -14
  407. package/dist-es/interactable-card/InteractableCardGroup.js.map +1 -1
  408. package/dist-es/interactable-card/InteractableCardGroupContext.js +4 -4
  409. package/dist-es/interactable-card/InteractableCardGroupContext.js.map +1 -1
  410. package/dist-es/interactable-card/useInteractableCard.js +1 -1
  411. package/dist-es/interactable-card/useInteractableCard.js.map +1 -1
  412. package/dist-es/link/Link.js +12 -12
  413. package/dist-es/link/Link.js.map +1 -1
  414. package/dist-es/link-card/LinkCard.js +5 -5
  415. package/dist-es/link-card/LinkCard.js.map +1 -1
  416. package/dist-es/list-box/ListBox.js +10 -10
  417. package/dist-es/list-box/ListBox.js.map +1 -1
  418. package/dist-es/list-control/ListControlContext.js +4 -4
  419. package/dist-es/list-control/ListControlContext.js.map +1 -1
  420. package/dist-es/list-control/ListControlState.js +9 -9
  421. package/dist-es/list-control/ListControlState.js.map +1 -1
  422. package/dist-es/menu/Menu.js +1 -1
  423. package/dist-es/menu/Menu.js.map +1 -1
  424. package/dist-es/menu/MenuBase.js +7 -7
  425. package/dist-es/menu/MenuBase.js.map +1 -1
  426. package/dist-es/menu/MenuContext.js +3 -3
  427. package/dist-es/menu/MenuContext.js.map +1 -1
  428. package/dist-es/menu/MenuGroup.js +6 -6
  429. package/dist-es/menu/MenuGroup.js.map +1 -1
  430. package/dist-es/menu/MenuItem.js +8 -8
  431. package/dist-es/menu/MenuItem.js.map +1 -1
  432. package/dist-es/menu/MenuPanel.css.js +1 -1
  433. package/dist-es/menu/MenuPanel.js +7 -7
  434. package/dist-es/menu/MenuPanel.js.map +1 -1
  435. package/dist-es/menu/MenuPanelBase.js +2 -2
  436. package/dist-es/menu/MenuPanelBase.js.map +1 -1
  437. package/dist-es/menu/MenuPanelContext.js +3 -3
  438. package/dist-es/menu/MenuPanelContext.js.map +1 -1
  439. package/dist-es/menu/MenuTrigger.js +8 -7
  440. package/dist-es/menu/MenuTrigger.js.map +1 -1
  441. package/dist-es/menu/MenuTriggerContext.js +3 -3
  442. package/dist-es/menu/MenuTriggerContext.js.map +1 -1
  443. package/dist-es/multiline-input/MultilineInput.js +4 -4
  444. package/dist-es/multiline-input/MultilineInput.js.map +1 -1
  445. package/dist-es/navigation-item/ConditionalWrapper.js +1 -0
  446. package/dist-es/navigation-item/ConditionalWrapper.js.map +1 -1
  447. package/dist-es/navigation-item/ExpansionIcon.js.map +1 -1
  448. package/dist-es/navigation-item/NavigationItem.js +6 -6
  449. package/dist-es/navigation-item/NavigationItem.js.map +1 -1
  450. package/dist-es/option/Option.js +95 -93
  451. package/dist-es/option/Option.js.map +1 -1
  452. package/dist-es/option/OptionGroup.js +6 -6
  453. package/dist-es/option/OptionGroup.js.map +1 -1
  454. package/dist-es/option/OptionList.css.js +1 -1
  455. package/dist-es/option/OptionList.js +5 -5
  456. package/dist-es/option/OptionList.js.map +1 -1
  457. package/dist-es/option/OptionListBase.js +6 -6
  458. package/dist-es/option/OptionListBase.js.map +1 -1
  459. package/dist-es/overlay/Overlay.js +5 -5
  460. package/dist-es/overlay/Overlay.js.map +1 -1
  461. package/dist-es/overlay/OverlayContext.js +5 -5
  462. package/dist-es/overlay/OverlayContext.js.map +1 -1
  463. package/dist-es/overlay/OverlayPanel.js +7 -7
  464. package/dist-es/overlay/OverlayPanel.js.map +1 -1
  465. package/dist-es/overlay/OverlayPanelCloseButton.js +8 -8
  466. package/dist-es/overlay/OverlayPanelCloseButton.js.map +1 -1
  467. package/dist-es/overlay/OverlayPanelContent.js +5 -5
  468. package/dist-es/overlay/OverlayPanelContent.js.map +1 -1
  469. package/dist-es/overlay/OverlayTrigger.js +7 -9
  470. package/dist-es/overlay/OverlayTrigger.js.map +1 -1
  471. package/dist-es/pagination/CompactInput.js +5 -5
  472. package/dist-es/pagination/CompactInput.js.map +1 -1
  473. package/dist-es/pagination/CompactPaginator.js +5 -5
  474. package/dist-es/pagination/CompactPaginator.js.map +1 -1
  475. package/dist-es/pagination/GoToInput.js +5 -5
  476. package/dist-es/pagination/GoToInput.js.map +1 -1
  477. package/dist-es/pagination/PageButton.js +5 -5
  478. package/dist-es/pagination/PageButton.js.map +1 -1
  479. package/dist-es/pagination/PageRanges.js +5 -5
  480. package/dist-es/pagination/PageRanges.js.map +1 -1
  481. package/dist-es/pagination/Pagination.js +7 -7
  482. package/dist-es/pagination/Pagination.js.map +1 -1
  483. package/dist-es/pagination/PaginationContext.js.map +1 -1
  484. package/dist-es/pagination/Paginator.js +4 -4
  485. package/dist-es/pagination/Paginator.js.map +1 -1
  486. package/dist-es/pagination/usePagination.js.map +1 -1
  487. package/dist-es/pagination/usePaginationContext.js +1 -1
  488. package/dist-es/pagination/usePaginationContext.js.map +1 -1
  489. package/dist-es/panel/Panel.js +4 -4
  490. package/dist-es/panel/Panel.js.map +1 -1
  491. package/dist-es/parent-child-layout/ParentChildLayout.js +5 -5
  492. package/dist-es/parent-child-layout/ParentChildLayout.js.map +1 -1
  493. package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js +4 -4
  494. package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
  495. package/dist-es/pill/Pill.js +9 -9
  496. package/dist-es/pill/Pill.js.map +1 -1
  497. package/dist-es/pill-input/PillInput.css.js +1 -1
  498. package/dist-es/pill-input/PillInput.js +16 -14
  499. package/dist-es/pill-input/PillInput.js.map +1 -1
  500. package/dist-es/pill-input/useTruncatePills.js +7 -3
  501. package/dist-es/pill-input/useTruncatePills.js.map +1 -1
  502. package/dist-es/progress/CircularProgress/CircularProgress.js +13 -13
  503. package/dist-es/progress/CircularProgress/CircularProgress.js.map +1 -1
  504. package/dist-es/progress/LinearProgress/LinearProgress.css.js +1 -1
  505. package/dist-es/progress/LinearProgress/LinearProgress.js +30 -25
  506. package/dist-es/progress/LinearProgress/LinearProgress.js.map +1 -1
  507. package/dist-es/radio-button/RadioButton.js +7 -7
  508. package/dist-es/radio-button/RadioButton.js.map +1 -1
  509. package/dist-es/radio-button/RadioButtonGroup.js +5 -5
  510. package/dist-es/radio-button/RadioButtonGroup.js.map +1 -1
  511. package/dist-es/radio-button/RadioButtonIcon.js +6 -6
  512. package/dist-es/radio-button/RadioButtonIcon.js.map +1 -1
  513. package/dist-es/radio-button/internal/RadioGroupContext.js +4 -4
  514. package/dist-es/radio-button/internal/RadioGroupContext.js.map +1 -1
  515. package/dist-es/salt-provider/SaltProvider.js +46 -41
  516. package/dist-es/salt-provider/SaltProvider.js.map +1 -1
  517. package/dist-es/scrim/Scrim.js +4 -4
  518. package/dist-es/scrim/Scrim.js.map +1 -1
  519. package/dist-es/segmented-button-group/SegmentedButtonGroup.js +6 -6
  520. package/dist-es/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
  521. package/dist-es/spinner/Spinner.js +4 -4
  522. package/dist-es/spinner/Spinner.js.map +1 -1
  523. package/dist-es/spinner/svgSpinners/SpinnerSVG.js +4 -4
  524. package/dist-es/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
  525. package/dist-es/split-layout/SplitLayout.js +6 -6
  526. package/dist-es/split-layout/SplitLayout.js.map +1 -1
  527. package/dist-es/stack-layout/StackLayout.js +8 -8
  528. package/dist-es/stack-layout/StackLayout.js.map +1 -1
  529. package/dist-es/status-adornment/ErrorAdornment.js.map +1 -1
  530. package/dist-es/status-adornment/StatusAdornment.js +5 -5
  531. package/dist-es/status-adornment/StatusAdornment.js.map +1 -1
  532. package/dist-es/status-adornment/SuccessAdornment.js.map +1 -1
  533. package/dist-es/status-adornment/WarningAdornment.js.map +1 -1
  534. package/dist-es/status-indicator/StatusIndicator.js +3 -3
  535. package/dist-es/status-indicator/StatusIndicator.js.map +1 -1
  536. package/dist-es/switch/Switch.js +101 -99
  537. package/dist-es/switch/Switch.js.map +1 -1
  538. package/dist-es/tag/Tag.js +5 -5
  539. package/dist-es/tag/Tag.js.map +1 -1
  540. package/dist-es/text/Code.js.map +1 -1
  541. package/dist-es/text/Display.js.map +1 -1
  542. package/dist-es/text/Headings.js.map +1 -1
  543. package/dist-es/text/Label.js.map +1 -1
  544. package/dist-es/text/Text.js +5 -5
  545. package/dist-es/text/Text.js.map +1 -1
  546. package/dist-es/text/TextAction.js.map +1 -1
  547. package/dist-es/text/TextNotation.js.map +1 -1
  548. package/dist-es/theme/Accent.js +3 -2
  549. package/dist-es/theme/Accent.js.map +1 -1
  550. package/dist-es/theme/ActionFont.js +3 -2
  551. package/dist-es/theme/ActionFont.js.map +1 -1
  552. package/dist-es/theme/Corner.js +3 -2
  553. package/dist-es/theme/Corner.js.map +1 -1
  554. package/dist-es/theme/HeadingFont.js +3 -2
  555. package/dist-es/theme/HeadingFont.js.map +1 -1
  556. package/dist-es/theme/Theme.js.map +1 -1
  557. package/dist-es/toast/Toast.js +33 -31
  558. package/dist-es/toast/Toast.js.map +1 -1
  559. package/dist-es/toast/ToastContent.js +5 -5
  560. package/dist-es/toast/ToastContent.js.map +1 -1
  561. package/dist-es/toggle-button/ToggleButton.js +6 -6
  562. package/dist-es/toggle-button/ToggleButton.js.map +1 -1
  563. package/dist-es/toggle-button-group/ToggleButtonGroup.js +10 -10
  564. package/dist-es/toggle-button-group/ToggleButtonGroup.js.map +1 -1
  565. package/dist-es/toggle-button-group/ToggleButtonGroupContext.js +4 -4
  566. package/dist-es/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
  567. package/dist-es/tooltip/Tooltip.css.js +1 -1
  568. package/dist-es/tooltip/Tooltip.js +8 -10
  569. package/dist-es/tooltip/Tooltip.js.map +1 -1
  570. package/dist-es/tooltip/TooltipBase.js +5 -5
  571. package/dist-es/tooltip/TooltipBase.js.map +1 -1
  572. package/dist-es/tooltip/useAriaAnnounce.js +10 -7
  573. package/dist-es/tooltip/useAriaAnnounce.js.map +1 -1
  574. package/dist-es/tooltip/useTooltip.js +3 -3
  575. package/dist-es/tooltip/useTooltip.js.map +1 -1
  576. package/dist-es/utils/createChainedFunction.js.map +1 -1
  577. package/dist-es/utils/createContext.js.map +1 -1
  578. package/dist-es/utils/debounce.js.map +1 -1
  579. package/dist-es/utils/getRefFromChildren.js +11 -0
  580. package/dist-es/utils/getRefFromChildren.js.map +1 -0
  581. package/dist-es/utils/marginMiddleware.js.map +1 -1
  582. package/dist-es/utils/mergeProps.js.map +1 -1
  583. package/dist-es/utils/setRef.js.map +1 -1
  584. package/dist-es/utils/useControlled.js +1 -1
  585. package/dist-es/utils/useControlled.js.map +1 -1
  586. package/dist-es/utils/useEventCallback.js.map +1 -1
  587. package/dist-es/utils/useFloatingUI/useFloatingUI.js +2 -2
  588. package/dist-es/utils/useFloatingUI/useFloatingUI.js.map +1 -1
  589. package/dist-es/utils/useForkRef.js.map +1 -1
  590. package/dist-es/utils/useId.js +1 -2
  591. package/dist-es/utils/useId.js.map +1 -1
  592. package/dist-es/utils/useIsFocusVisible.js.map +1 -1
  593. package/dist-es/utils/useIsomorphicLayoutEffect.js.map +1 -1
  594. package/dist-es/utils/usePrevious.js.map +1 -1
  595. package/dist-es/utils/useResizeObserver.js.map +1 -1
  596. package/dist-es/utils/useResponsiveProp.js +11 -8
  597. package/dist-es/utils/useResponsiveProp.js.map +1 -1
  598. package/dist-es/utils/useValueEffect.js +4 -4
  599. package/dist-es/utils/useValueEffect.js.map +1 -1
  600. package/dist-es/viewport/ViewportProvider.js +4 -4
  601. package/dist-es/viewport/ViewportProvider.js.map +1 -1
  602. package/dist-types/accordion/Accordion.d.ts +6 -2
  603. package/dist-types/accordion/AccordionContext.d.ts +2 -1
  604. package/dist-types/accordion/AccordionGroup.d.ts +1 -1
  605. package/dist-types/accordion/AccordionHeader.d.ts +1 -1
  606. package/dist-types/accordion/AccordionPanel.d.ts +1 -1
  607. package/dist-types/aria-announcer/AriaAnnounce.d.ts +1 -1
  608. package/dist-types/aria-announcer/AriaAnnouncerProvider.d.ts +2 -2
  609. package/dist-types/aria-announcer/useAriaAnnouncer.d.ts +1 -1
  610. package/dist-types/avatar/Avatar.d.ts +1 -1
  611. package/dist-types/avatar/useAvatarImage.d.ts +1 -1
  612. package/dist-types/badge/Badge.d.ts +1 -1
  613. package/dist-types/banner/Banner.d.ts +2 -2
  614. package/dist-types/banner/BannerActions.d.ts +1 -1
  615. package/dist-types/banner/BannerContent.d.ts +1 -1
  616. package/dist-types/border-item/BorderItem.d.ts +3 -3
  617. package/dist-types/border-layout/BorderLayout.d.ts +4 -4
  618. package/dist-types/breakpoints/BreakpointProvider.d.ts +3 -3
  619. package/dist-types/button/Button.d.ts +1 -1
  620. package/dist-types/button/useButton.d.ts +1 -1
  621. package/dist-types/card/Card.d.ts +1 -1
  622. package/dist-types/checkbox/Checkbox.d.ts +2 -2
  623. package/dist-types/checkbox/CheckboxGroup.d.ts +2 -2
  624. package/dist-types/checkbox/CheckboxIcon.d.ts +1 -1
  625. package/dist-types/checkbox/internal/CheckboxGroupContext.d.ts +2 -2
  626. package/dist-types/combo-box/ComboBox.d.ts +4 -4
  627. package/dist-types/combo-box/useComboBox.d.ts +3 -3
  628. package/dist-types/dialog/Dialog.d.ts +4 -4
  629. package/dist-types/dialog/DialogActions.d.ts +1 -1
  630. package/dist-types/dialog/DialogCloseButton.d.ts +1 -1
  631. package/dist-types/dialog/DialogContent.d.ts +1 -1
  632. package/dist-types/dialog/DialogHeader.d.ts +2 -2
  633. package/dist-types/divider/Divider.d.ts +1 -1
  634. package/dist-types/drawer/Drawer.d.ts +1 -1
  635. package/dist-types/drawer/DrawerCloseButton.d.ts +1 -1
  636. package/dist-types/dropdown/Dropdown.d.ts +10 -4
  637. package/dist-types/file-drop-zone/FileDropZone.d.ts +2 -2
  638. package/dist-types/file-drop-zone/FileDropZoneIcon.d.ts +2 -2
  639. package/dist-types/file-drop-zone/FileDropZoneTrigger.d.ts +2 -2
  640. package/dist-types/file-drop-zone/internal/utils.d.ts +1 -1
  641. package/dist-types/flex-item/FlexItem.d.ts +2 -2
  642. package/dist-types/flex-layout/FlexLayout.d.ts +2 -2
  643. package/dist-types/flow-layout/FlowLayout.d.ts +3 -3
  644. package/dist-types/form-field/FormField.d.ts +2 -2
  645. package/dist-types/form-field/FormFieldHelperText.d.ts +2 -2
  646. package/dist-types/form-field/FormFieldLabel.d.ts +2 -2
  647. package/dist-types/form-field-context/useFormFieldProps.d.ts +1 -1
  648. package/dist-types/grid-item/GridItem.d.ts +2 -2
  649. package/dist-types/grid-layout/GridLayout.d.ts +2 -2
  650. package/dist-types/input/Input.d.ts +1 -1
  651. package/dist-types/interactable-card/InteractableCard.d.ts +2 -2
  652. package/dist-types/interactable-card/InteractableCardGroup.d.ts +2 -2
  653. package/dist-types/interactable-card/InteractableCardGroupContext.d.ts +1 -1
  654. package/dist-types/interactable-card/useInteractableCard.d.ts +1 -1
  655. package/dist-types/link/Link.d.ts +3 -3
  656. package/dist-types/link-card/LinkCard.d.ts +1 -1
  657. package/dist-types/list-box/ListBox.d.ts +2 -2
  658. package/dist-types/list-control/ListControlContext.d.ts +1 -1
  659. package/dist-types/list-control/ListControlState.d.ts +2 -2
  660. package/dist-types/menu/Menu.d.ts +2 -2
  661. package/dist-types/menu/MenuBase.d.ts +4 -4
  662. package/dist-types/menu/MenuContext.d.ts +3 -3
  663. package/dist-types/menu/MenuGroup.d.ts +1 -1
  664. package/dist-types/menu/MenuItem.d.ts +1 -1
  665. package/dist-types/menu/MenuPanel.d.ts +1 -1
  666. package/dist-types/menu/MenuPanelBase.d.ts +1 -1
  667. package/dist-types/menu/MenuPanelContext.d.ts +1 -1
  668. package/dist-types/menu/MenuTrigger.d.ts +2 -2
  669. package/dist-types/multiline-input/MultilineInput.d.ts +1 -1
  670. package/dist-types/navigation-item/ConditionalWrapper.d.ts +3 -3
  671. package/dist-types/navigation-item/ExpansionIcon.d.ts +2 -2
  672. package/dist-types/navigation-item/NavigationItem.d.ts +1 -1
  673. package/dist-types/option/Option.d.ts +1 -1
  674. package/dist-types/option/OptionGroup.d.ts +1 -1
  675. package/dist-types/option/OptionList.d.ts +1 -1
  676. package/dist-types/option/OptionListBase.d.ts +1 -1
  677. package/dist-types/overlay/Overlay.d.ts +2 -2
  678. package/dist-types/overlay/OverlayContext.d.ts +1 -1
  679. package/dist-types/overlay/OverlayPanel.d.ts +1 -1
  680. package/dist-types/overlay/OverlayPanelCloseButton.d.ts +1 -1
  681. package/dist-types/overlay/OverlayPanelContent.d.ts +1 -1
  682. package/dist-types/overlay/OverlayTrigger.d.ts +2 -2
  683. package/dist-types/pagination/CompactInput.d.ts +1 -1
  684. package/dist-types/pagination/GoToInput.d.ts +1 -1
  685. package/dist-types/pagination/PageRanges.d.ts +1 -1
  686. package/dist-types/pagination/Pagination.d.ts +1 -1
  687. package/dist-types/pagination/PaginationContext.d.ts +1 -1
  688. package/dist-types/pagination/Paginator.d.ts +1 -1
  689. package/dist-types/panel/Panel.d.ts +1 -1
  690. package/dist-types/parent-child-layout/ParentChildLayout.d.ts +2 -2
  691. package/dist-types/parent-child-layout/useIsViewportLargerThanBreakpoint.d.ts +1 -1
  692. package/dist-types/pill/Pill.d.ts +1 -1
  693. package/dist-types/pill-input/PillInput.d.ts +4 -1
  694. package/dist-types/progress/CircularProgress/CircularProgress.d.ts +1 -1
  695. package/dist-types/progress/LinearProgress/LinearProgress.d.ts +5 -3
  696. package/dist-types/radio-button/RadioButton.d.ts +2 -2
  697. package/dist-types/radio-button/RadioButtonGroup.d.ts +1 -1
  698. package/dist-types/radio-button/RadioButtonIcon.d.ts +3 -3
  699. package/dist-types/radio-button/internal/RadioGroupContext.d.ts +2 -2
  700. package/dist-types/salt-provider/SaltProvider.d.ts +61 -19
  701. package/dist-types/scrim/Scrim.d.ts +1 -1
  702. package/dist-types/segmented-button-group/SegmentedButtonGroup.d.ts +1 -1
  703. package/dist-types/spinner/Spinner.d.ts +1 -1
  704. package/dist-types/spinner/svgSpinners/SpinnerSVG.d.ts +4 -4
  705. package/dist-types/split-layout/SplitLayout.d.ts +3 -3
  706. package/dist-types/stack-layout/StackLayout.d.ts +3 -3
  707. package/dist-types/status-adornment/ErrorAdornment.d.ts +1 -1
  708. package/dist-types/status-adornment/StatusAdornment.d.ts +2 -2
  709. package/dist-types/status-adornment/SuccessAdornment.d.ts +1 -1
  710. package/dist-types/status-adornment/WarningAdornment.d.ts +1 -1
  711. package/dist-types/status-indicator/StatusIndicator.d.ts +2 -2
  712. package/dist-types/switch/Switch.d.ts +1 -1
  713. package/dist-types/tag/Tag.d.ts +1 -1
  714. package/dist-types/text/Code.d.ts +1 -1
  715. package/dist-types/text/Display.d.ts +1 -1
  716. package/dist-types/text/Headings.d.ts +1 -1
  717. package/dist-types/text/Label.d.ts +1 -1
  718. package/dist-types/text/Text.d.ts +3 -3
  719. package/dist-types/text/TextAction.d.ts +1 -1
  720. package/dist-types/text/TextNotation.d.ts +1 -1
  721. package/dist-types/theme/Accent.d.ts +5 -1
  722. package/dist-types/theme/ActionFont.d.ts +5 -1
  723. package/dist-types/theme/Corner.d.ts +5 -1
  724. package/dist-types/theme/HeadingFont.d.ts +5 -1
  725. package/dist-types/toast/Toast.d.ts +3 -3
  726. package/dist-types/toast/ToastContent.d.ts +1 -1
  727. package/dist-types/toggle-button/ToggleButton.d.ts +1 -1
  728. package/dist-types/toggle-button-group/ToggleButtonGroup.d.ts +2 -2
  729. package/dist-types/toggle-button-group/ToggleButtonGroupContext.d.ts +1 -1
  730. package/dist-types/tooltip/Tooltip.d.ts +3 -3
  731. package/dist-types/tooltip/TooltipBase.d.ts +4 -4
  732. package/dist-types/tooltip/useTooltip.d.ts +2 -2
  733. package/dist-types/utils/createContext.d.ts +1 -1
  734. package/dist-types/utils/getRefFromChildren.d.ts +2 -0
  735. package/dist-types/utils/index.d.ts +1 -0
  736. package/dist-types/utils/inferElementType.d.ts +1 -1
  737. package/dist-types/utils/marginMiddleware.d.ts +1 -1
  738. package/dist-types/utils/polymorphicTypes.d.ts +1 -1
  739. package/dist-types/utils/setRef.d.ts +1 -1
  740. package/dist-types/utils/useControlled.d.ts +1 -1
  741. package/dist-types/utils/useFloatingUI/useFloatingUI.d.ts +4 -4
  742. package/dist-types/utils/useForkRef.d.ts +1 -1
  743. package/dist-types/utils/useIsFocusVisible.d.ts +1 -1
  744. package/dist-types/utils/useIsomorphicLayoutEffect.d.ts +2 -2
  745. package/dist-types/utils/usePrevious.d.ts +1 -1
  746. package/dist-types/utils/useResizeObserver.d.ts +1 -1
  747. package/dist-types/utils/useResponsiveProp.d.ts +1 -1
  748. package/dist-types/utils/useValueEffect.d.ts +1 -1
  749. package/dist-types/viewport/ViewportProvider.d.ts +2 -2
  750. package/package.json +2 -2
@@ -22,9 +22,9 @@ import '../button/Button.js';
22
22
  import '../card/Card.js';
23
23
  import '../checkbox/Checkbox.js';
24
24
  import '../checkbox/CheckboxGroup.js';
25
+ import '@salt-ds/icons';
25
26
  import '@salt-ds/styles';
26
27
  import '@salt-ds/window';
27
- import '@salt-ds/icons';
28
28
  import '../combo-box/ComboBox.js';
29
29
  import '../dialog/Dialog.js';
30
30
  import '../dialog/DialogHeader.js';
@@ -43,6 +43,7 @@ import '../flex-item/FlexItem.js';
43
43
  import '../flex-layout/FlexLayout.js';
44
44
  import '../flow-layout/FlowLayout.js';
45
45
  import '../form-field/FormField.js';
46
+ import '../form-field-context/FormFieldContext.js';
46
47
  import '../status-indicator/StatusIndicator.js';
47
48
  import '../text/Text.js';
48
49
  import '../text/Code.js';
@@ -51,7 +52,6 @@ import '../text/Headings.js';
51
52
  import '../text/Label.js';
52
53
  import '../text/TextAction.js';
53
54
  import '../text/TextNotation.js';
54
- import '../form-field-context/FormFieldContext.js';
55
55
  import '../grid-item/GridItem.js';
56
56
  import '../grid-layout/GridLayout.js';
57
57
  import '../input/Input.js';
@@ -62,12 +62,12 @@ import '../link/Link.js';
62
62
  import '../link-card/LinkCard.js';
63
63
  import '../list-box/ListBox.js';
64
64
  import '../list-control/ListControlContext.js';
65
- import '../menu/MenuContext.js';
66
65
  import '@floating-ui/react';
66
+ import '../menu/MenuContext.js';
67
67
  import '../menu/MenuItem.js';
68
68
  import '../menu/MenuPanel.js';
69
- import '../menu/MenuTriggerContext.js';
70
69
  import '../menu/MenuPanelContext.js';
70
+ import '../menu/MenuTriggerContext.js';
71
71
  import '../menu/MenuGroup.js';
72
72
  import '../multiline-input/MultilineInput.js';
73
73
  import '../navigation-item/NavigationItem.js';
@@ -1 +1 @@
1
- {"version":3,"file":"ViewportProvider.js","sources":["../src/viewport/ViewportProvider.tsx"],"sourcesContent":["import { createContext, useState, useContext, ReactNode } from \"react\";\nimport { useIsomorphicLayoutEffect } from \"../utils\";\n\nconst ViewportContext = createContext<number | null>(null);\n\ntype ViewportProviderProps = {\n children?: ReactNode;\n};\n\nconst ViewportProvider = ({ children }: ViewportProviderProps) => {\n // Get value directly from the ViewportContext so we can detect if the value is null (no inherited ViewportProvider)\n const existingViewport = useContext(ViewportContext);\n const [viewport, setViewport] = useState(existingViewport);\n\n const noExistingViewport = existingViewport === null;\n const viewportValue = existingViewport || viewport || 0;\n\n useIsomorphicLayoutEffect(() => {\n let observer: ResizeObserver | null = null;\n\n if (noExistingViewport) {\n observer = new ResizeObserver(\n (observerEntries: ResizeObserverEntry[]) => {\n setViewport(observerEntries[0].contentRect.width);\n }\n );\n\n observer.observe(document.body);\n setViewport(document.body.getBoundingClientRect().width);\n }\n\n return () => {\n if (observer) {\n observer.disconnect();\n }\n };\n }, [noExistingViewport]);\n\n return (\n <ViewportContext.Provider value={viewportValue}>\n {children}\n </ViewportContext.Provider>\n );\n};\n\nconst useViewport = (): number => {\n const value = useContext(ViewportContext);\n return value === null ? 0 : value;\n};\n\nexport { ViewportProvider, ViewportContext, useViewport };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,MAAA,eAAA,GAAkB,cAA6B,IAAI,EAAA;AAMzD,MAAM,gBAAmB,GAAA,CAAC,EAAE,QAAA,EAAsC,KAAA;AAEhE,EAAM,MAAA,gBAAA,GAAmB,WAAW,eAAe,CAAA,CAAA;AACnD,EAAA,MAAM,CAAC,QAAA,EAAU,WAAW,CAAA,GAAI,SAAS,gBAAgB,CAAA,CAAA;AAEzD,EAAA,MAAM,qBAAqB,gBAAqB,KAAA,IAAA,CAAA;AAChD,EAAM,MAAA,aAAA,GAAgB,oBAAoB,QAAY,IAAA,CAAA,CAAA;AAEtD,EAAA,yBAAA,CAA0B,MAAM;AAC9B,IAAA,IAAI,QAAkC,GAAA,IAAA,CAAA;AAEtC,IAAA,IAAI,kBAAoB,EAAA;AACtB,MAAA,QAAA,GAAW,IAAI,cAAA;AAAA,QACb,CAAC,eAA2C,KAAA;AAC1C,UAAY,WAAA,CAAA,eAAA,CAAgB,CAAG,CAAA,CAAA,WAAA,CAAY,KAAK,CAAA,CAAA;AAAA,SAClD;AAAA,OACF,CAAA;AAEA,MAAS,QAAA,CAAA,OAAA,CAAQ,SAAS,IAAI,CAAA,CAAA;AAC9B,MAAA,WAAA,CAAY,QAAS,CAAA,IAAA,CAAK,qBAAsB,EAAA,CAAE,KAAK,CAAA,CAAA;AAAA,KACzD;AAEA,IAAA,OAAO,MAAM;AACX,MAAA,IAAI,QAAU,EAAA;AACZ,QAAA,QAAA,CAAS,UAAW,EAAA,CAAA;AAAA,OACtB;AAAA,KACF,CAAA;AAAA,GACF,EAAG,CAAC,kBAAkB,CAAC,CAAA,CAAA;AAEvB,EACE,uBAAA,GAAA,CAAC,gBAAgB,QAAhB,EAAA;AAAA,IAAyB,KAAO,EAAA,aAAA;AAAA,IAC9B,QAAA;AAAA,GACH,CAAA,CAAA;AAEJ,EAAA;AAEA,MAAM,cAAc,MAAc;AAChC,EAAM,MAAA,KAAA,GAAQ,WAAW,eAAe,CAAA,CAAA;AACxC,EAAO,OAAA,KAAA,KAAU,OAAO,CAAI,GAAA,KAAA,CAAA;AAC9B;;;;"}
1
+ {"version":3,"file":"ViewportProvider.js","sources":["../src/viewport/ViewportProvider.tsx"],"sourcesContent":["import { type ReactNode, createContext, useContext, useState } from \"react\";\nimport { useIsomorphicLayoutEffect } from \"../utils\";\n\nconst ViewportContext = createContext<number | null>(null);\n\ntype ViewportProviderProps = {\n children?: ReactNode;\n};\n\nconst ViewportProvider = ({ children }: ViewportProviderProps) => {\n // Get value directly from the ViewportContext so we can detect if the value is null (no inherited ViewportProvider)\n const existingViewport = useContext(ViewportContext);\n const [viewport, setViewport] = useState(existingViewport);\n\n const noExistingViewport = existingViewport === null;\n const viewportValue = existingViewport || viewport || 0;\n\n useIsomorphicLayoutEffect(() => {\n let observer: ResizeObserver | null = null;\n\n if (noExistingViewport) {\n observer = new ResizeObserver(\n (observerEntries: ResizeObserverEntry[]) => {\n setViewport(observerEntries[0].contentRect.width);\n },\n );\n\n observer.observe(document.body);\n setViewport(document.body.getBoundingClientRect().width);\n }\n\n return () => {\n if (observer) {\n observer.disconnect();\n }\n };\n }, [noExistingViewport]);\n\n return (\n <ViewportContext.Provider value={viewportValue}>\n {children}\n </ViewportContext.Provider>\n );\n};\n\nconst useViewport = (): number => {\n const value = useContext(ViewportContext);\n return value === null ? 0 : value;\n};\n\nexport { ViewportProvider, ViewportContext, useViewport };\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGM,MAAA,eAAA,GAAkB,cAA6B,IAAI,EAAA;AAMzD,MAAM,gBAAmB,GAAA,CAAC,EAAE,QAAA,EAAsC,KAAA;AAEhE,EAAM,MAAA,gBAAA,GAAmB,WAAW,eAAe,CAAA,CAAA;AACnD,EAAA,MAAM,CAAC,QAAA,EAAU,WAAW,CAAA,GAAI,SAAS,gBAAgB,CAAA,CAAA;AAEzD,EAAA,MAAM,qBAAqB,gBAAqB,KAAA,IAAA,CAAA;AAChD,EAAM,MAAA,aAAA,GAAgB,oBAAoB,QAAY,IAAA,CAAA,CAAA;AAEtD,EAAA,yBAAA,CAA0B,MAAM;AAC9B,IAAA,IAAI,QAAkC,GAAA,IAAA,CAAA;AAEtC,IAAA,IAAI,kBAAoB,EAAA;AACtB,MAAA,QAAA,GAAW,IAAI,cAAA;AAAA,QACb,CAAC,eAA2C,KAAA;AAC1C,UAAY,WAAA,CAAA,eAAA,CAAgB,CAAG,CAAA,CAAA,WAAA,CAAY,KAAK,CAAA,CAAA;AAAA,SAClD;AAAA,OACF,CAAA;AAEA,MAAS,QAAA,CAAA,OAAA,CAAQ,SAAS,IAAI,CAAA,CAAA;AAC9B,MAAA,WAAA,CAAY,QAAS,CAAA,IAAA,CAAK,qBAAsB,EAAA,CAAE,KAAK,CAAA,CAAA;AAAA,KACzD;AAEA,IAAA,OAAO,MAAM;AACX,MAAA,IAAI,QAAU,EAAA;AACZ,QAAA,QAAA,CAAS,UAAW,EAAA,CAAA;AAAA,OACtB;AAAA,KACF,CAAA;AAAA,GACF,EAAG,CAAC,kBAAkB,CAAC,CAAA,CAAA;AAEvB,EACE,uBAAA,GAAA,CAAC,gBAAgB,QAAhB,EAAA;AAAA,IAAyB,KAAO,EAAA,aAAA;AAAA,IAC9B,QAAA;AAAA,GACH,CAAA,CAAA;AAEJ,EAAA;AAEA,MAAM,cAAc,MAAc;AAChC,EAAM,MAAA,KAAA,GAAQ,WAAW,eAAe,CAAA,CAAA;AACxC,EAAO,OAAA,KAAA,KAAU,OAAO,CAAI,GAAA,KAAA,CAAA;AAC9B;;;;"}
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef, SyntheticEvent } from "react";
2
- export interface AccordionProps extends ComponentPropsWithoutRef<"div"> {
1
+ import { type ComponentPropsWithoutRef, type SyntheticEvent } from "react";
2
+ export interface AccordionProps extends Omit<ComponentPropsWithoutRef<"div">, "onToggle"> {
3
3
  /**
4
4
  * AccordionGroup value.
5
5
  */
@@ -12,6 +12,10 @@ export interface AccordionProps extends ComponentPropsWithoutRef<"div"> {
12
12
  * Whether the accordion is expanded by default.
13
13
  */
14
14
  defaultExpanded?: boolean;
15
+ /**
16
+ * Side to align the Accordion's indicator. Defaults to `left`.
17
+ */
18
+ indicatorSide?: "left" | "right";
15
19
  /**
16
20
  * Callback fired when the accordion is toggled.
17
21
  */
@@ -1,9 +1,10 @@
1
- import { SyntheticEvent } from "react";
1
+ import { type SyntheticEvent } from "react";
2
2
  export interface AccordionContextValue {
3
3
  value: string;
4
4
  expanded: boolean;
5
5
  toggle: (event: SyntheticEvent<HTMLButtonElement>) => void;
6
6
  disabled: boolean;
7
+ indicatorSide: "left" | "right";
7
8
  id: string;
8
9
  status?: "error" | "warning" | "success";
9
10
  }
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
2
  export interface AccordionGroupProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * The child Accordions to be rendered
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
2
  export interface AccordionHeaderProps extends ComponentPropsWithoutRef<"button"> {
3
3
  /**
4
4
  * The content of the Accordion Header
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
2
  export interface AccordionPanelProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * The content of the Accordion Panel
@@ -1,4 +1,4 @@
1
- import { ComponentType } from "react";
1
+ import { type ComponentType } from "react";
2
2
  export interface AriaAnnounceProps {
3
3
  /**
4
4
  * String which will be announced by screen readers on change
@@ -1,4 +1,4 @@
1
- import { CSSProperties, ReactNode } from "react";
1
+ import { type CSSProperties, type ReactNode } from "react";
2
2
  export declare const ARIA_ANNOUNCE_DELAY = 150;
3
3
  export interface AriaAnnouncerProviderProps {
4
4
  children?: ReactNode;
@@ -7,4 +7,4 @@ export interface AriaAnnouncerProviderProps {
7
7
  */
8
8
  style?: CSSProperties;
9
9
  }
10
- export declare function AriaAnnouncerProvider({ children, style, }: AriaAnnouncerProviderProps): JSX.Element;
10
+ export declare function AriaAnnouncerProvider({ children, style, }: AriaAnnouncerProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { AriaAnnouncer } from "./AriaAnnouncerContext";
1
+ import { type AriaAnnouncer } from "./AriaAnnouncerContext";
2
2
  export declare type useAnnouncerOptions = {
3
3
  debounce?: number;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from "react";
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export declare type NameToInitials = (name?: string) => string;
3
3
  export interface AvatarProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
@@ -1,2 +1,2 @@
1
- import { ImgHTMLAttributes } from "react";
1
+ import { type ImgHTMLAttributes } from "react";
2
2
  export declare function useAvatarImage({ src }: ImgHTMLAttributes<HTMLImageElement>): "loading" | "error" | "pending" | "loaded";
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from "react";
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
3
3
  /**
4
4
  * The number to display on the badge
@@ -1,5 +1,5 @@
1
- import { HTMLAttributes } from "react";
2
- import { ValidationStatus } from "../status-indicator";
1
+ import { type HTMLAttributes } from "react";
2
+ import { type ValidationStatus } from "../status-indicator";
3
3
  export interface BannerProps extends HTMLAttributes<HTMLDivElement> {
4
4
  /**
5
5
  * Emphasize the styling by applying a background color: defaults to false
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
2
  interface BannerActionsProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * The content of BannerActions
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, ReactNode } from "react";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
2
  interface BannerContentProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * The content of BannerContent
@@ -1,6 +1,6 @@
1
- import { ElementType, ReactElement } from "react";
2
- import { GridItemProps } from "../grid-item";
3
- import { PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import { type GridItemProps } from "../grid-item";
3
+ import { type PolymorphicComponentPropWithRef } from "../utils";
4
4
  export declare const BORDER_POSITION: readonly ["north", "west", "center", "east", "south"];
5
5
  export declare type BorderPosition = (typeof BORDER_POSITION)[number];
6
6
  export declare type BorderItemProps<T extends ElementType> = PolymorphicComponentPropWithRef<T, {
@@ -1,7 +1,7 @@
1
- import { ReactElement, ElementType } from "react";
2
- import { GridLayoutProps } from "../grid-layout";
3
- import { PolymorphicComponentPropWithRef } from "../utils";
4
- import { BorderItemProps } from "../border-item";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import type { BorderItemProps } from "../border-item";
3
+ import { type GridLayoutProps } from "../grid-layout";
4
+ import { type PolymorphicComponentPropWithRef } from "../utils";
5
5
  export declare type BorderLayoutProps<T extends ElementType> = PolymorphicComponentPropWithRef<T, {
6
6
  /**
7
7
  * Defines the size of the gutter between the columns and the rows by setting a density multiplier. Defaults to 0
@@ -1,5 +1,5 @@
1
- import { ReactNode } from "react";
2
- import { Breakpoints } from "./Breakpoints";
1
+ import { type ReactNode } from "react";
2
+ import type { Breakpoints } from "./Breakpoints";
3
3
  declare type Breakpoint = keyof Breakpoints;
4
4
  interface BreakpointContext {
5
5
  matchedBreakpoints: Breakpoint[];
@@ -8,7 +8,7 @@ interface BreakpointProviderProps {
8
8
  children?: ReactNode;
9
9
  matchedBreakpoints: Breakpoint[];
10
10
  }
11
- export declare function BreakpointProvider(props: BreakpointProviderProps): JSX.Element;
11
+ export declare function BreakpointProvider(props: BreakpointProviderProps): import("react/jsx-runtime").JSX.Element;
12
12
  export declare function useMatchedBreakpoints(breakpoints: Breakpoints): Breakpoint[];
13
13
  export declare function useBreakpoint(): BreakpointContext & {
14
14
  breakpoint: Breakpoint | null;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  export declare const ButtonVariantValues: readonly ["primary", "secondary", "cta"];
3
3
  export declare type ButtonVariant = (typeof ButtonVariantValues)[number];
4
4
  export interface ButtonProps extends ComponentPropsWithoutRef<"button"> {
@@ -1,4 +1,4 @@
1
- import { FocusEvent, KeyboardEvent, MouseEvent } from "react";
1
+ import { type FocusEvent, type KeyboardEvent, type MouseEvent } from "react";
2
2
  export interface ButtonHookProps<T extends Element> {
3
3
  disabled?: boolean;
4
4
  focusableWhenDisabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  export interface CardProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * If provided an accent is shown in the specified position.
@@ -1,5 +1,5 @@
1
- import { ChangeEventHandler, FocusEventHandler, InputHTMLAttributes, ReactNode } from "react";
2
- import { AdornmentValidationStatus } from "../status-adornment";
1
+ import { type ChangeEventHandler, type FocusEventHandler, type InputHTMLAttributes, type ReactNode } from "react";
2
+ import type { AdornmentValidationStatus } from "../status-adornment";
3
3
  export interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLLabelElement>, "onChange" | "onBlur" | "onFocus"> {
4
4
  /**
5
5
  * If `true`, the checkbox will be checked.
@@ -1,5 +1,5 @@
1
- import { ChangeEventHandler, ComponentPropsWithoutRef } from "react";
2
- import { AdornmentValidationStatus } from "../status-adornment";
1
+ import { type ChangeEventHandler, type ComponentPropsWithoutRef } from "react";
2
+ import type { AdornmentValidationStatus } from "../status-adornment";
3
3
  export interface CheckboxGroupProps extends Omit<ComponentPropsWithoutRef<"fieldset">, "onChange"> {
4
4
  /**
5
5
  * The current checked options.
@@ -1,4 +1,4 @@
1
- import { AdornmentValidationStatus } from "../status-adornment";
1
+ import type { AdornmentValidationStatus } from "../status-adornment";
2
2
  export interface CheckboxIconProps {
3
3
  checked?: boolean;
4
4
  className?: string;
@@ -1,5 +1,5 @@
1
- import { AdornmentValidationStatus } from "../../status-adornment";
2
- import { CheckboxGroupProps } from "../CheckboxGroup";
1
+ import type { AdornmentValidationStatus } from "../../status-adornment";
2
+ import type { CheckboxGroupProps } from "../CheckboxGroup";
3
3
  export interface CheckboxGroupState {
4
4
  disabled?: boolean;
5
5
  name?: CheckboxGroupProps["name"];
@@ -1,6 +1,6 @@
1
- import { ReactNode, Ref } from "react";
2
- import { UseComboBoxProps } from "./useComboBox";
3
- import { PillInputProps } from "../pill-input";
1
+ import { type ReactNode, type Ref } from "react";
2
+ import { type PillInputProps } from "../pill-input";
3
+ import { type UseComboBoxProps } from "./useComboBox";
4
4
  export declare type ComboBoxProps<Item = string> = {
5
5
  /**
6
6
  * The options to display in the combo box.
@@ -20,6 +20,6 @@ export declare const ComboBox: <Item = string>(props: {
20
20
  * If true, options will be selected on tab key press.
21
21
  */
22
22
  selectOnTab?: boolean | undefined;
23
- } & import("../list-control/ListControlState").ListControlProps<Item> & Pick<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "defaultValue" | "value"> & PillInputProps & {
23
+ } & import("../list-control/ListControlState").ListControlProps<Item> & Pick<Omit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "value" | "defaultValue"> & PillInputProps & {
24
24
  ref?: Ref<HTMLDivElement> | undefined;
25
25
  }) => JSX.Element;
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef, SyntheticEvent } from "react";
2
- import { ListControlProps } from "../list-control/ListControlState";
3
- import { OptionValue } from "../list-control/ListControlContext";
1
+ import type { ComponentPropsWithoutRef, SyntheticEvent } from "react";
2
+ import type { OptionValue } from "../list-control/ListControlContext";
3
+ import { type ListControlProps } from "../list-control/ListControlState";
4
4
  export declare type UseComboBoxProps<Item> = ListControlProps<Item> & Pick<ComponentPropsWithoutRef<"input">, "value" | "defaultValue">;
5
5
  export declare function useComboBox<Item>(props: UseComboBoxProps<Item>): {
6
6
  select: (event: SyntheticEvent, option: OptionValue<Item>) => void;
@@ -1,11 +1,11 @@
1
- import { HTMLAttributes, ComponentProps, ReactNode } from "react";
2
- import { FloatingFocusManager } from "@floating-ui/react";
3
- import { ValidationStatus } from "../status-indicator";
1
+ import { type FloatingFocusManager } from "@floating-ui/react";
2
+ import { type ComponentProps, type HTMLAttributes, type ReactNode } from "react";
3
+ import type { ValidationStatus } from "../status-indicator";
4
4
  interface ConditionalScrimWrapperProps {
5
5
  children?: ReactNode;
6
6
  condition: boolean;
7
7
  }
8
- export declare const ConditionalScrimWrapper: ({ condition, children, }: ConditionalScrimWrapperProps) => JSX.Element;
8
+ export declare const ConditionalScrimWrapper: ({ condition, children, }: ConditionalScrimWrapperProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export interface DialogProps extends HTMLAttributes<HTMLDivElement> {
10
10
  /**
11
11
  * Display or hide the component.
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from "react";
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export interface DialogActionsProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * The content of Dialog Actions
@@ -1,2 +1,2 @@
1
- import { ButtonProps } from "../button";
1
+ import { type ButtonProps } from "../button";
2
2
  export declare const DialogCloseButton: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, ReactNode } from "react";
1
+ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export interface DialogContentProps extends HTMLAttributes<HTMLDivElement> {
3
3
  /**
4
4
  * The content of Dialog Content
@@ -1,5 +1,5 @@
1
- import { ReactNode, ComponentPropsWithoutRef } from "react";
2
- import { ValidationStatus } from "../status-indicator";
1
+ import { type ComponentPropsWithoutRef, type ReactNode } from "react";
2
+ import { type ValidationStatus } from "../status-indicator";
3
3
  export interface DialogHeaderProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
5
5
  * The status of the Dialog
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  export interface DividerProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * The orientation of the divider. Defaults to `"horizontal"`.
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  export interface DrawerProps extends ComponentPropsWithoutRef<"div"> {
3
3
  /**
4
4
  * Defines the drawer position within the screen. Defaults to `left`.
@@ -1,2 +1,2 @@
1
- import { ButtonProps } from "../button";
1
+ import { type ButtonProps } from "../button";
2
2
  export declare const DrawerCloseButton: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef, ReactNode, Ref } from "react";
2
- import { ListControlProps } from "../list-control/ListControlState";
3
- import { ValidationStatus } from "../status-indicator";
1
+ import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from "react";
2
+ import { type ListControlProps } from "../list-control/ListControlState";
3
+ import type { ValidationStatus } from "../status-indicator";
4
4
  export declare type DropdownProps<Item = string> = {
5
5
  /**
6
6
  * If `true`, the dropdown will be disabled.
@@ -47,6 +47,9 @@ export declare type DropdownProps<Item = string> = {
47
47
  * Validation status, one of "error" | "warning" | "success".
48
48
  */
49
49
  validationStatus?: Exclude<ValidationStatus, "info">;
50
+ /** Styling variant with full border. Defaults to false
51
+ */
52
+ bordered?: boolean;
50
53
  } & Omit<ComponentPropsWithoutRef<"button">, "value" | "defaultValue"> & ListControlProps<Item>;
51
54
  export declare const Dropdown: <Item = string>(props: {
52
55
  /**
@@ -94,6 +97,9 @@ export declare const Dropdown: <Item = string>(props: {
94
97
  * Validation status, one of "error" | "warning" | "success".
95
98
  */
96
99
  validationStatus?: "error" | "warning" | "success" | undefined;
97
- } & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "defaultValue" | "value"> & ListControlProps<Item> & {
100
+ /** Styling variant with full border. Defaults to false
101
+ */
102
+ bordered?: boolean | undefined;
103
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "value" | "defaultValue"> & ListControlProps<Item> & {
98
104
  ref?: Ref<HTMLButtonElement> | undefined;
99
105
  }) => JSX.Element;
@@ -1,5 +1,5 @@
1
- import { DragEvent, ComponentPropsWithoutRef } from "react";
2
- import { ValidationStatus } from "../status-indicator";
1
+ import { type ComponentPropsWithoutRef, type DragEvent } from "react";
2
+ import type { ValidationStatus } from "../status-indicator";
3
3
  export interface FileDropZoneProps extends Omit<ComponentPropsWithoutRef<"div">, "onDrop"> {
4
4
  /**
5
5
  * If `true`, the file drop zone will be disabled.
@@ -1,5 +1,5 @@
1
- import { IconProps } from "@salt-ds/icons";
2
- import { ValidationStatus } from "../status-indicator";
1
+ import { type IconProps } from "@salt-ds/icons";
2
+ import { type ValidationStatus } from "../status-indicator";
3
3
  export interface FileDropZoneIconProps extends IconProps {
4
4
  /**
5
5
  * Status indicator to be displayed.
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, SyntheticEvent } from "react";
1
+ import { type ChangeEvent, type HTMLAttributes } from "react";
2
2
  export interface FileDropZoneTriggerProps extends Omit<HTMLAttributes<HTMLButtonElement>, "onChange"> {
3
3
  /**
4
4
  * `accept` attribute for HTML <input>.
@@ -17,6 +17,6 @@ export interface FileDropZoneTriggerProps extends Omit<HTMLAttributes<HTMLButton
17
17
  /**
18
18
  * Callback for input change event
19
19
  */
20
- onChange?: (event: SyntheticEvent<HTMLInputElement>, files: File[]) => void;
20
+ onChange?: (event: ChangeEvent<HTMLInputElement>, files: File[]) => void;
21
21
  }
22
22
  export declare const FileDropZoneTrigger: import("react").ForwardRefExoticComponent<FileDropZoneTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,3 @@
1
- import { DragEvent } from "react";
1
+ import type { DragEvent } from "react";
2
2
  export declare const containsFiles: (e: DragEvent) => boolean | FileList | null;
3
3
  export declare const extractFiles: (e: DragEvent) => File[];
@@ -1,5 +1,5 @@
1
- import { ElementType, ReactElement, CSSProperties } from "react";
2
- import { ResponsiveProp, PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type CSSProperties, type ElementType, type ReactElement } from "react";
2
+ import { type PolymorphicComponentPropWithRef, type ResponsiveProp } from "../utils";
3
3
  export declare const FLEX_ITEM_ALIGNMENTS: readonly ["start", "end", "center", "stretch"];
4
4
  export declare type flexItemAlignment = (typeof FLEX_ITEM_ALIGNMENTS)[number];
5
5
  export declare type FlexItemProps<T extends ElementType> = PolymorphicComponentPropWithRef<T, {
@@ -1,5 +1,5 @@
1
- import { ElementType, ReactElement } from "react";
2
- import { ResponsiveProp, PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import { type PolymorphicComponentPropWithRef, type ResponsiveProp } from "../utils";
3
3
  export declare type LayoutSeparator = "start" | "center" | "end";
4
4
  export declare type LayoutDirection = "row" | "column";
5
5
  export declare const FLEX_ALIGNMENT_BASE: readonly ["start", "end", "center"];
@@ -1,6 +1,6 @@
1
- import { ElementType, ReactElement } from "react";
2
- import { FlexLayoutProps } from "../flex-layout";
3
- import { PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import { type FlexLayoutProps } from "../flex-layout";
3
+ import type { PolymorphicComponentPropWithRef } from "../utils";
4
4
  export declare type FlowLayoutProps<T extends ElementType> = PolymorphicComponentPropWithRef<T, {
5
5
  /**
6
6
  * Defines the default behavior for how flex items are laid out along the cross axis on the current line, default is "stretch".
@@ -1,5 +1,5 @@
1
- import { HTMLAttributes } from "react";
2
- import { A11yValueProps } from "../form-field-context";
1
+ import { type HTMLAttributes } from "react";
2
+ import { type A11yValueProps } from "../form-field-context";
3
3
  export declare type FormFieldLabelPlacement = "top" | "left" | "right";
4
4
  export interface FormFieldProps extends HTMLAttributes<HTMLDivElement>, A11yValueProps {
5
5
  /**
@@ -1,2 +1,2 @@
1
- import { TextProps } from "../text";
2
- export declare const FormFieldHelperText: ({ className, children, ...restProps }: Omit<TextProps<"label">, "variant" | "styleAs">) => JSX.Element;
1
+ import { type TextProps } from "../text";
2
+ export declare const FormFieldHelperText: ({ className, children, ...restProps }: Omit<TextProps<"label">, "variant" | "styleAs">) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { TextProps } from "../text";
1
+ import { type TextProps } from "../text";
2
2
  export interface FormFieldLabelProps extends Omit<TextProps<"label">, "variant" | "styleAs"> {
3
3
  /**
4
4
  * Intent for the label.
@@ -8,4 +8,4 @@ export interface FormFieldLabelProps extends Omit<TextProps<"label">, "variant"
8
8
  */
9
9
  intent?: "label" | "sentence";
10
10
  }
11
- export declare const FormFieldLabel: ({ className, children, intent, ...restProps }: FormFieldLabelProps) => JSX.Element;
11
+ export declare const FormFieldLabel: ({ className, children, intent, ...restProps }: FormFieldLabelProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { FormFieldContextValue } from "./FormFieldContext";
1
+ import { type FormFieldContextValue } from "./FormFieldContext";
2
2
  export declare function useFormFieldProps(): Partial<FormFieldContextValue>;
@@ -1,5 +1,5 @@
1
- import { ElementType, ReactElement } from "react";
2
- import { ResponsiveProp, PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import { type PolymorphicComponentPropWithRef, type ResponsiveProp } from "../utils";
3
3
  export declare const GRID_ALIGNMENT_BASE: readonly ["start", "end", "center", "stretch"];
4
4
  declare type GridAlignment = (typeof GRID_ALIGNMENT_BASE)[number];
5
5
  declare type GridProperty = number | "auto";
@@ -1,5 +1,5 @@
1
- import { ReactElement, ElementType } from "react";
2
- import { ResponsiveProp, PolymorphicComponentPropWithRef } from "../utils";
1
+ import { type ElementType, type ReactElement } from "react";
2
+ import { type PolymorphicComponentPropWithRef, type ResponsiveProp } from "../utils";
3
3
  export declare type GridLayoutProps<T extends ElementType> = PolymorphicComponentPropWithRef<T, {
4
4
  /**
5
5
  * Number of columns to be displayed. Defaults to 12
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef, InputHTMLAttributes, ReactNode, Ref } from "react";
1
+ import { type ComponentPropsWithoutRef, type InputHTMLAttributes, type ReactNode, type Ref } from "react";
2
2
  export interface InputProps extends Omit<ComponentPropsWithoutRef<"div">, "defaultValue">, Pick<ComponentPropsWithoutRef<"input">, "disabled" | "value" | "defaultValue" | "placeholder"> {
3
3
  /**
4
4
  * The marker to use in an empty read only Input.
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef, SyntheticEvent } from "react";
2
- import { InteractableCardValue } from "./InteractableCardGroupContext";
1
+ import { type ComponentPropsWithoutRef, type SyntheticEvent } from "react";
2
+ import { type InteractableCardValue } from "./InteractableCardGroupContext";
3
3
  export interface InteractableCardProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
5
5
  * Accent border position: defaults to "bottom"
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef, SyntheticEvent } from "react";
2
- import { InteractableCardValue } from "./InteractableCardGroupContext";
1
+ import { type ComponentPropsWithoutRef, type SyntheticEvent } from "react";
2
+ import { type InteractableCardValue } from "./InteractableCardGroupContext";
3
3
  export interface InteractableCardGroupProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> {
4
4
  /**
5
5
  * The default value. Use when the component is not controlled. Should be an array when `multiSelect` is true.
@@ -1,4 +1,4 @@
1
- import { SyntheticEvent } from "react";
1
+ import { type SyntheticEvent } from "react";
2
2
  export declare type InteractableCardValue = string | readonly string[] | undefined;
3
3
  export interface InteractableCardGroupContextValue {
4
4
  disabled?: boolean;
@@ -1,4 +1,4 @@
1
- import { FocusEvent, KeyboardEvent, MouseEvent } from "react";
1
+ import { type FocusEvent, type KeyboardEvent, type MouseEvent } from "react";
2
2
  export interface CardHookProps<T extends Element> {
3
3
  disabled?: boolean;
4
4
  onKeyUp?: (event: KeyboardEvent<T>) => void;
@@ -1,6 +1,6 @@
1
- import { ComponentType } from "react";
2
- import { IconProps } from "@salt-ds/icons";
3
- import { TextProps } from "../text";
1
+ import { type IconProps } from "@salt-ds/icons";
2
+ import { type ComponentType } from "react";
3
+ import { type TextProps } from "../text";
4
4
  /**
5
5
  * Links are a fundamental navigation element. When clicked, they take the user to an entirely different page.
6
6
  *
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from "react";
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  export interface LinkCardProps extends ComponentPropsWithoutRef<"a"> {
3
3
  /**
4
4
  * If provided an accent is shown in the specified position.
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef, ReactNode, Ref } from "react";
2
- import { ListControlProps } from "../list-control/ListControlState";
1
+ import { type ComponentPropsWithoutRef, type ReactNode, type Ref } from "react";
2
+ import { type ListControlProps } from "../list-control/ListControlState";
3
3
  export declare type ListBoxProps<Item = string> = {
4
4
  /**
5
5
  * If `true`, the list box will be disabled.