@salt-ds/core 1.37.1 → 1.37.3

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 (670) hide show
  1. package/CHANGELOG.md +1760 -0
  2. package/css/salt-core.css +76 -37
  3. package/dist-cjs/accordion/Accordion.js +31 -123
  4. package/dist-cjs/accordion/Accordion.js.map +1 -1
  5. package/dist-cjs/accordion/AccordionContext.js +0 -101
  6. package/dist-cjs/accordion/AccordionContext.js.map +1 -1
  7. package/dist-cjs/accordion/AccordionGroup.js +1 -103
  8. package/dist-cjs/accordion/AccordionGroup.js.map +1 -1
  9. package/dist-cjs/accordion/AccordionHeader.js +33 -136
  10. package/dist-cjs/accordion/AccordionHeader.js.map +1 -1
  11. package/dist-cjs/accordion/AccordionPanel.js +22 -117
  12. package/dist-cjs/accordion/AccordionPanel.js.map +1 -1
  13. package/dist-cjs/aria-announcer/AriaAnnounce.js +0 -2
  14. package/dist-cjs/aria-announcer/AriaAnnounce.js.map +1 -1
  15. package/dist-cjs/aria-announcer/AriaAnnouncerContext.js +0 -2
  16. package/dist-cjs/aria-announcer/AriaAnnouncerContext.js.map +1 -1
  17. package/dist-cjs/aria-announcer/AriaAnnouncerProvider.js +8 -10
  18. package/dist-cjs/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
  19. package/dist-cjs/aria-announcer/useAriaAnnouncer.js +0 -106
  20. package/dist-cjs/aria-announcer/useAriaAnnouncer.js.map +1 -1
  21. package/dist-cjs/avatar/Avatar.js +18 -117
  22. package/dist-cjs/avatar/Avatar.js.map +1 -1
  23. package/dist-cjs/avatar/useAvatarImage.js +0 -101
  24. package/dist-cjs/avatar/useAvatarImage.js.map +1 -1
  25. package/dist-cjs/badge/Badge.js +8 -108
  26. package/dist-cjs/badge/Badge.js.map +1 -1
  27. package/dist-cjs/banner/Banner.js +18 -115
  28. package/dist-cjs/banner/Banner.js.map +1 -1
  29. package/dist-cjs/banner/BannerActions.js +1 -103
  30. package/dist-cjs/banner/BannerActions.js.map +1 -1
  31. package/dist-cjs/banner/BannerContent.js +1 -103
  32. package/dist-cjs/banner/BannerContent.js.map +1 -1
  33. package/dist-cjs/border-item/BorderItem.js +17 -111
  34. package/dist-cjs/border-item/BorderItem.js.map +1 -1
  35. package/dist-cjs/border-layout/BorderLayout.js +12 -108
  36. package/dist-cjs/border-layout/BorderLayout.js.map +1 -1
  37. package/dist-cjs/breakpoints/BreakpointProvider.js +2 -111
  38. package/dist-cjs/breakpoints/BreakpointProvider.js.map +1 -1
  39. package/dist-cjs/breakpoints/Breakpoints.js +0 -2
  40. package/dist-cjs/breakpoints/Breakpoints.js.map +1 -1
  41. package/dist-cjs/button/Button.js +24 -120
  42. package/dist-cjs/button/Button.js.map +1 -1
  43. package/dist-cjs/button/useButton.js +0 -2
  44. package/dist-cjs/button/useButton.js.map +1 -1
  45. package/dist-cjs/card/Card.js +21 -115
  46. package/dist-cjs/card/Card.js.map +1 -1
  47. package/dist-cjs/checkbox/Checkbox.css.js +1 -1
  48. package/dist-cjs/checkbox/Checkbox.js +62 -150
  49. package/dist-cjs/checkbox/Checkbox.js.map +1 -1
  50. package/dist-cjs/checkbox/CheckboxGroup.js +32 -123
  51. package/dist-cjs/checkbox/CheckboxGroup.js.map +1 -1
  52. package/dist-cjs/checkbox/CheckboxIcon.js +24 -131
  53. package/dist-cjs/checkbox/CheckboxIcon.js.map +1 -1
  54. package/dist-cjs/checkbox/internal/CheckboxGroupContext.js +0 -101
  55. package/dist-cjs/checkbox/internal/CheckboxGroupContext.js.map +1 -1
  56. package/dist-cjs/checkbox/internal/useCheckboxGroup.js +0 -2
  57. package/dist-cjs/checkbox/internal/useCheckboxGroup.js.map +1 -1
  58. package/dist-cjs/combo-box/ComboBox.js +33 -127
  59. package/dist-cjs/combo-box/ComboBox.js.map +1 -1
  60. package/dist-cjs/combo-box/useComboBox.js +1 -102
  61. package/dist-cjs/combo-box/useComboBox.js.map +1 -1
  62. package/dist-cjs/dialog/Dialog.js +38 -143
  63. package/dist-cjs/dialog/Dialog.js.map +1 -1
  64. package/dist-cjs/dialog/DialogActions.js +1 -104
  65. package/dist-cjs/dialog/DialogActions.js.map +1 -1
  66. package/dist-cjs/dialog/DialogCloseButton.js +11 -110
  67. package/dist-cjs/dialog/DialogCloseButton.js.map +1 -1
  68. package/dist-cjs/dialog/DialogContent.css.js +1 -1
  69. package/dist-cjs/dialog/DialogContent.js +39 -113
  70. package/dist-cjs/dialog/DialogContent.js.map +1 -1
  71. package/dist-cjs/dialog/DialogContext.js +0 -2
  72. package/dist-cjs/dialog/DialogContext.js.map +1 -1
  73. package/dist-cjs/dialog/DialogHeader.js +24 -125
  74. package/dist-cjs/dialog/DialogHeader.js.map +1 -1
  75. package/dist-cjs/divider/Divider.js +15 -110
  76. package/dist-cjs/divider/Divider.js.map +1 -1
  77. package/dist-cjs/drawer/Drawer.js +13 -114
  78. package/dist-cjs/drawer/Drawer.js.map +1 -1
  79. package/dist-cjs/drawer/DrawerCloseButton.js +8 -110
  80. package/dist-cjs/drawer/DrawerCloseButton.js.map +1 -1
  81. package/dist-cjs/dropdown/Dropdown.js +38 -137
  82. package/dist-cjs/dropdown/Dropdown.js.map +1 -1
  83. package/dist-cjs/file-drop-zone/FileDropZone.js +21 -116
  84. package/dist-cjs/file-drop-zone/FileDropZone.js.map +1 -1
  85. package/dist-cjs/file-drop-zone/FileDropZoneIcon.js +2 -9
  86. package/dist-cjs/file-drop-zone/FileDropZoneIcon.js.map +1 -1
  87. package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js +14 -110
  88. package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
  89. package/dist-cjs/file-drop-zone/internal/utils.js +1 -4
  90. package/dist-cjs/file-drop-zone/internal/utils.js.map +1 -1
  91. package/dist-cjs/flex-item/FlexItem.js +10 -106
  92. package/dist-cjs/flex-item/FlexItem.js.map +1 -1
  93. package/dist-cjs/flex-layout/FlexLayout.js +21 -117
  94. package/dist-cjs/flex-layout/FlexLayout.js.map +1 -1
  95. package/dist-cjs/flow-layout/FlowLayout.js +1 -9
  96. package/dist-cjs/flow-layout/FlowLayout.js.map +1 -1
  97. package/dist-cjs/form-field/FormField.css.js +1 -1
  98. package/dist-cjs/form-field/FormField.js +30 -121
  99. package/dist-cjs/form-field/FormField.js.map +1 -1
  100. package/dist-cjs/form-field/FormFieldHelperText.js +24 -114
  101. package/dist-cjs/form-field/FormFieldHelperText.js.map +1 -1
  102. package/dist-cjs/form-field/FormFieldLabel.js +15 -106
  103. package/dist-cjs/form-field/FormFieldLabel.js.map +1 -1
  104. package/dist-cjs/form-field-context/FormFieldContext.js +0 -100
  105. package/dist-cjs/form-field-context/FormFieldContext.js.map +1 -1
  106. package/dist-cjs/form-field-context/useFormFieldProps.js +0 -2
  107. package/dist-cjs/form-field-context/useFormFieldProps.js.map +1 -1
  108. package/dist-cjs/grid-item/GridItem.js +10 -106
  109. package/dist-cjs/grid-item/GridItem.js.map +1 -1
  110. package/dist-cjs/grid-layout/GridLayout.js +13 -109
  111. package/dist-cjs/grid-layout/GridLayout.js.map +1 -1
  112. package/dist-cjs/index.js +0 -2
  113. package/dist-cjs/index.js.map +1 -1
  114. package/dist-cjs/input/Input.js +49 -149
  115. package/dist-cjs/input/Input.js.map +1 -1
  116. package/dist-cjs/interactable-card/InteractableCard.js +28 -122
  117. package/dist-cjs/interactable-card/InteractableCard.js.map +1 -1
  118. package/dist-cjs/interactable-card/InteractableCardGroup.js +9 -106
  119. package/dist-cjs/interactable-card/InteractableCardGroup.js.map +1 -1
  120. package/dist-cjs/interactable-card/InteractableCardGroupContext.js +0 -100
  121. package/dist-cjs/interactable-card/InteractableCardGroupContext.js.map +1 -1
  122. package/dist-cjs/interactable-card/useInteractableCard.js +0 -2
  123. package/dist-cjs/interactable-card/useInteractableCard.js.map +1 -1
  124. package/dist-cjs/link/Link.js +22 -117
  125. package/dist-cjs/link/Link.js.map +1 -1
  126. package/dist-cjs/link-card/LinkCard.js +18 -113
  127. package/dist-cjs/link-card/LinkCard.js.map +1 -1
  128. package/dist-cjs/list-box/ListBox.js +8 -106
  129. package/dist-cjs/list-box/ListBox.js.map +1 -1
  130. package/dist-cjs/list-control/ListControlContext.js +0 -100
  131. package/dist-cjs/list-control/ListControlContext.js.map +1 -1
  132. package/dist-cjs/list-control/ListControlState.js +3 -104
  133. package/dist-cjs/list-control/ListControlState.js.map +1 -1
  134. package/dist-cjs/menu/Menu.js +2 -10
  135. package/dist-cjs/menu/Menu.js.map +1 -1
  136. package/dist-cjs/menu/MenuBase.js +10 -109
  137. package/dist-cjs/menu/MenuBase.js.map +1 -1
  138. package/dist-cjs/menu/MenuContext.js +0 -100
  139. package/dist-cjs/menu/MenuContext.js.map +1 -1
  140. package/dist-cjs/menu/MenuGroup.js +14 -114
  141. package/dist-cjs/menu/MenuGroup.js.map +1 -1
  142. package/dist-cjs/menu/MenuItem.js +51 -143
  143. package/dist-cjs/menu/MenuItem.js.map +1 -1
  144. package/dist-cjs/menu/MenuPanel.js +27 -123
  145. package/dist-cjs/menu/MenuPanel.js.map +1 -1
  146. package/dist-cjs/menu/MenuPanelBase.js +1 -7
  147. package/dist-cjs/menu/MenuPanelBase.js.map +1 -1
  148. package/dist-cjs/menu/MenuPanelContext.js +0 -100
  149. package/dist-cjs/menu/MenuPanelContext.js.map +1 -1
  150. package/dist-cjs/menu/MenuTrigger.js +20 -118
  151. package/dist-cjs/menu/MenuTrigger.js.map +1 -1
  152. package/dist-cjs/menu/MenuTriggerContext.js +0 -100
  153. package/dist-cjs/menu/MenuTriggerContext.js.map +1 -1
  154. package/dist-cjs/multiline-input/MultilineInput.js +54 -161
  155. package/dist-cjs/multiline-input/MultilineInput.js.map +1 -1
  156. package/dist-cjs/navigation-item/ExpansionIcon.js +1 -5
  157. package/dist-cjs/navigation-item/ExpansionIcon.js.map +1 -1
  158. package/dist-cjs/navigation-item/NavigationItem.js +32 -132
  159. package/dist-cjs/navigation-item/NavigationItem.js.map +1 -1
  160. package/dist-cjs/navigation-item/NavigationItemAction.js +0 -102
  161. package/dist-cjs/navigation-item/NavigationItemAction.js.map +1 -1
  162. package/dist-cjs/option/Option.js +32 -120
  163. package/dist-cjs/option/Option.js.map +1 -1
  164. package/dist-cjs/option/OptionGroup.js +14 -114
  165. package/dist-cjs/option/OptionGroup.js.map +1 -1
  166. package/dist-cjs/option/OptionList.js +17 -117
  167. package/dist-cjs/option/OptionList.js.map +1 -1
  168. package/dist-cjs/option/OptionListBase.js +9 -105
  169. package/dist-cjs/option/OptionListBase.js.map +1 -1
  170. package/dist-cjs/overlay/Overlay.js +18 -114
  171. package/dist-cjs/overlay/Overlay.js.map +1 -1
  172. package/dist-cjs/overlay/OverlayContext.js +0 -100
  173. package/dist-cjs/overlay/OverlayContext.js.map +1 -1
  174. package/dist-cjs/overlay/OverlayPanel.js +34 -127
  175. package/dist-cjs/overlay/OverlayPanel.js.map +1 -1
  176. package/dist-cjs/overlay/OverlayPanelCloseButton.js +7 -109
  177. package/dist-cjs/overlay/OverlayPanelCloseButton.js.map +1 -1
  178. package/dist-cjs/overlay/OverlayPanelContent.css.js +1 -1
  179. package/dist-cjs/overlay/OverlayPanelContent.js +41 -107
  180. package/dist-cjs/overlay/OverlayPanelContent.js.map +1 -1
  181. package/dist-cjs/overlay/OverlayTrigger.js +6 -111
  182. package/dist-cjs/overlay/OverlayTrigger.js.map +1 -1
  183. package/dist-cjs/pagination/CompactInput.js +20 -114
  184. package/dist-cjs/pagination/CompactInput.js.map +1 -1
  185. package/dist-cjs/pagination/CompactPaginator.js +21 -123
  186. package/dist-cjs/pagination/CompactPaginator.js.map +1 -1
  187. package/dist-cjs/pagination/GoToInput.js +31 -114
  188. package/dist-cjs/pagination/GoToInput.js.map +1 -1
  189. package/dist-cjs/pagination/PageButton.js +17 -112
  190. package/dist-cjs/pagination/PageButton.js.map +1 -1
  191. package/dist-cjs/pagination/PageRanges.js +15 -126
  192. package/dist-cjs/pagination/PageRanges.js.map +1 -1
  193. package/dist-cjs/pagination/Pagination.js +6 -103
  194. package/dist-cjs/pagination/Pagination.js.map +1 -1
  195. package/dist-cjs/pagination/PaginationContext.js +0 -2
  196. package/dist-cjs/pagination/PaginationContext.js.map +1 -1
  197. package/dist-cjs/pagination/Paginator.js +19 -121
  198. package/dist-cjs/pagination/Paginator.js.map +1 -1
  199. package/dist-cjs/pagination/usePagination.js +0 -2
  200. package/dist-cjs/pagination/usePagination.js.map +1 -1
  201. package/dist-cjs/pagination/usePaginationContext.js +0 -2
  202. package/dist-cjs/pagination/usePaginationContext.js.map +1 -1
  203. package/dist-cjs/panel/Panel.js +9 -104
  204. package/dist-cjs/panel/Panel.js.map +1 -1
  205. package/dist-cjs/parent-child-layout/ParentChildLayout.js +24 -123
  206. package/dist-cjs/parent-child-layout/ParentChildLayout.js.map +1 -1
  207. package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js +0 -103
  208. package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
  209. package/dist-cjs/pill/Pill.js +17 -115
  210. package/dist-cjs/pill/Pill.js.map +1 -1
  211. package/dist-cjs/pill-input/PillInput.js +97 -204
  212. package/dist-cjs/pill-input/PillInput.js.map +1 -1
  213. package/dist-cjs/pill-input/useTruncatePills.js +0 -2
  214. package/dist-cjs/pill-input/useTruncatePills.js.map +1 -1
  215. package/dist-cjs/progress/CircularProgress/CircularProgress.js +44 -153
  216. package/dist-cjs/progress/CircularProgress/CircularProgress.js.map +1 -1
  217. package/dist-cjs/progress/LinearProgress/LinearProgress.js +28 -125
  218. package/dist-cjs/progress/LinearProgress/LinearProgress.js.map +1 -1
  219. package/dist-cjs/radio-button/RadioButton.css.js +1 -1
  220. package/dist-cjs/radio-button/RadioButton.js +60 -150
  221. package/dist-cjs/radio-button/RadioButton.js.map +1 -1
  222. package/dist-cjs/radio-button/RadioButtonGroup.js +36 -127
  223. package/dist-cjs/radio-button/RadioButtonGroup.js.map +1 -1
  224. package/dist-cjs/radio-button/RadioButtonIcon.js +45 -134
  225. package/dist-cjs/radio-button/RadioButtonIcon.js.map +1 -1
  226. package/dist-cjs/radio-button/internal/RadioGroupContext.js +0 -101
  227. package/dist-cjs/radio-button/internal/RadioGroupContext.js.map +1 -1
  228. package/dist-cjs/radio-button/internal/useRadioGroup.js +0 -2
  229. package/dist-cjs/radio-button/internal/useRadioGroup.js.map +1 -1
  230. package/dist-cjs/salt-provider/SaltProvider.js +32 -155
  231. package/dist-cjs/salt-provider/SaltProvider.js.map +1 -1
  232. package/dist-cjs/scrim/Scrim.js +16 -111
  233. package/dist-cjs/scrim/Scrim.js.map +1 -1
  234. package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js +1 -104
  235. package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
  236. package/dist-cjs/semantic-icon-provider/SemanticIconProvider.js +1 -6
  237. package/dist-cjs/semantic-icon-provider/SemanticIconProvider.js.map +1 -1
  238. package/dist-cjs/spinner/Spinner.js +16 -116
  239. package/dist-cjs/spinner/Spinner.js.map +1 -1
  240. package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js +43 -141
  241. package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
  242. package/dist-cjs/split-layout/SplitLayout.js +13 -107
  243. package/dist-cjs/split-layout/SplitLayout.js.map +1 -1
  244. package/dist-cjs/stack-layout/StackLayout.js +21 -116
  245. package/dist-cjs/stack-layout/StackLayout.js.map +1 -1
  246. package/dist-cjs/status-adornment/ErrorAdornment.js +5 -11
  247. package/dist-cjs/status-adornment/ErrorAdornment.js.map +1 -1
  248. package/dist-cjs/status-adornment/StatusAdornment.js +9 -104
  249. package/dist-cjs/status-adornment/StatusAdornment.js.map +1 -1
  250. package/dist-cjs/status-adornment/SuccessAdornment.js +18 -14
  251. package/dist-cjs/status-adornment/SuccessAdornment.js.map +1 -1
  252. package/dist-cjs/status-adornment/WarningAdornment.js +1 -12
  253. package/dist-cjs/status-adornment/WarningAdornment.js.map +1 -1
  254. package/dist-cjs/status-indicator/StatusIndicator.js +10 -103
  255. package/dist-cjs/status-indicator/StatusIndicator.js.map +1 -1
  256. package/dist-cjs/status-indicator/ValidationStatus.js +0 -2
  257. package/dist-cjs/status-indicator/ValidationStatus.js.map +1 -1
  258. package/dist-cjs/switch/Switch.js +44 -150
  259. package/dist-cjs/switch/Switch.js.map +1 -1
  260. package/dist-cjs/tag/Tag.js +17 -112
  261. package/dist-cjs/tag/Tag.js.map +1 -1
  262. package/dist-cjs/text/Code.js +1 -8
  263. package/dist-cjs/text/Code.js.map +1 -1
  264. package/dist-cjs/text/Display.js +4 -30
  265. package/dist-cjs/text/Display.js.map +1 -1
  266. package/dist-cjs/text/Headings.js +4 -26
  267. package/dist-cjs/text/Headings.js.map +1 -1
  268. package/dist-cjs/text/Label.js +1 -8
  269. package/dist-cjs/text/Label.js.map +1 -1
  270. package/dist-cjs/text/Text.js +21 -117
  271. package/dist-cjs/text/Text.js.map +1 -1
  272. package/dist-cjs/text/TextAction.js +1 -9
  273. package/dist-cjs/text/TextAction.js.map +1 -1
  274. package/dist-cjs/text/TextNotation.js +1 -9
  275. package/dist-cjs/text/TextNotation.js.map +1 -1
  276. package/dist-cjs/theme/Accent.js +0 -2
  277. package/dist-cjs/theme/Accent.js.map +1 -1
  278. package/dist-cjs/theme/ActionFont.js +0 -2
  279. package/dist-cjs/theme/ActionFont.js.map +1 -1
  280. package/dist-cjs/theme/Corner.js +0 -2
  281. package/dist-cjs/theme/Corner.js.map +1 -1
  282. package/dist-cjs/theme/Density.js +0 -2
  283. package/dist-cjs/theme/Density.js.map +1 -1
  284. package/dist-cjs/theme/HeadingFont.js +0 -2
  285. package/dist-cjs/theme/HeadingFont.js.map +1 -1
  286. package/dist-cjs/theme/Mode.js +0 -2
  287. package/dist-cjs/theme/Mode.js.map +1 -1
  288. package/dist-cjs/theme/Theme.js +0 -2
  289. package/dist-cjs/theme/Theme.js.map +1 -1
  290. package/dist-cjs/toast/Toast.js +17 -116
  291. package/dist-cjs/toast/Toast.js.map +1 -1
  292. package/dist-cjs/toast/ToastContent.js +1 -104
  293. package/dist-cjs/toast/ToastContent.js.map +1 -1
  294. package/dist-cjs/toggle-button/ToggleButton.css.js +1 -1
  295. package/dist-cjs/toggle-button/ToggleButton.js +18 -111
  296. package/dist-cjs/toggle-button/ToggleButton.js.map +1 -1
  297. package/dist-cjs/toggle-button-group/ToggleButtonGroup.js +10 -107
  298. package/dist-cjs/toggle-button-group/ToggleButtonGroup.js.map +1 -1
  299. package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js +0 -100
  300. package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
  301. package/dist-cjs/tooltip/Tooltip.js +25 -119
  302. package/dist-cjs/tooltip/Tooltip.js.map +1 -1
  303. package/dist-cjs/tooltip/TooltipBase.js +25 -117
  304. package/dist-cjs/tooltip/TooltipBase.js.map +1 -1
  305. package/dist-cjs/tooltip/useAriaAnnounce.js +2 -104
  306. package/dist-cjs/tooltip/useAriaAnnounce.js.map +1 -1
  307. package/dist-cjs/tooltip/useTooltip.js +4 -103
  308. package/dist-cjs/tooltip/useTooltip.js.map +1 -1
  309. package/dist-cjs/utils/capitalize.js +0 -2
  310. package/dist-cjs/utils/capitalize.js.map +1 -1
  311. package/dist-cjs/utils/createChainedFunction.js +0 -2
  312. package/dist-cjs/utils/createChainedFunction.js.map +1 -1
  313. package/dist-cjs/utils/createContext.js +0 -2
  314. package/dist-cjs/utils/createContext.js.map +1 -1
  315. package/dist-cjs/utils/debounce.js +0 -2
  316. package/dist-cjs/utils/debounce.js.map +1 -1
  317. package/dist-cjs/utils/getRefFromChildren.js +4 -3
  318. package/dist-cjs/utils/getRefFromChildren.js.map +1 -1
  319. package/dist-cjs/utils/makePrefixer.js +0 -2
  320. package/dist-cjs/utils/makePrefixer.js.map +1 -1
  321. package/dist-cjs/utils/marginMiddleware.js +0 -2
  322. package/dist-cjs/utils/marginMiddleware.js.map +1 -1
  323. package/dist-cjs/utils/mergeProps.js +0 -2
  324. package/dist-cjs/utils/mergeProps.js.map +1 -1
  325. package/dist-cjs/utils/ownerDocument.js +0 -2
  326. package/dist-cjs/utils/ownerDocument.js.map +1 -1
  327. package/dist-cjs/utils/ownerWindow.js +0 -2
  328. package/dist-cjs/utils/ownerWindow.js.map +1 -1
  329. package/dist-cjs/utils/renderProps.js +1 -5
  330. package/dist-cjs/utils/renderProps.js.map +1 -1
  331. package/dist-cjs/utils/setRef.js +0 -2
  332. package/dist-cjs/utils/setRef.js.map +1 -1
  333. package/dist-cjs/utils/useControlled.js +0 -2
  334. package/dist-cjs/utils/useControlled.js.map +1 -1
  335. package/dist-cjs/utils/useEventCallback.js +4 -3
  336. package/dist-cjs/utils/useEventCallback.js.map +1 -1
  337. package/dist-cjs/utils/useFloatingUI/useFloatingUI.js +6 -33
  338. package/dist-cjs/utils/useFloatingUI/useFloatingUI.js.map +1 -1
  339. package/dist-cjs/utils/useForkRef.js +0 -2
  340. package/dist-cjs/utils/useForkRef.js.map +1 -1
  341. package/dist-cjs/utils/useId.js +5 -8
  342. package/dist-cjs/utils/useId.js.map +1 -1
  343. package/dist-cjs/utils/useIsFocusVisible.js +0 -2
  344. package/dist-cjs/utils/useIsFocusVisible.js.map +1 -1
  345. package/dist-cjs/utils/useIsomorphicLayoutEffect.js +0 -2
  346. package/dist-cjs/utils/useIsomorphicLayoutEffect.js.map +1 -1
  347. package/dist-cjs/utils/usePrevious.js +0 -2
  348. package/dist-cjs/utils/usePrevious.js.map +1 -1
  349. package/dist-cjs/utils/useResizeObserver.js +5 -7
  350. package/dist-cjs/utils/useResizeObserver.js.map +1 -1
  351. package/dist-cjs/utils/useResponsiveProp.js +2 -5
  352. package/dist-cjs/utils/useResponsiveProp.js.map +1 -1
  353. package/dist-cjs/utils/useValueEffect.js +1 -108
  354. package/dist-cjs/utils/useValueEffect.js.map +1 -1
  355. package/dist-cjs/viewport/ViewportProvider.js +1 -109
  356. package/dist-cjs/viewport/ViewportProvider.js.map +1 -1
  357. package/dist-es/accordion/Accordion.js +31 -121
  358. package/dist-es/accordion/Accordion.js.map +1 -1
  359. package/dist-es/accordion/AccordionContext.js +0 -99
  360. package/dist-es/accordion/AccordionContext.js.map +1 -1
  361. package/dist-es/accordion/AccordionGroup.js +1 -101
  362. package/dist-es/accordion/AccordionGroup.js.map +1 -1
  363. package/dist-es/accordion/AccordionHeader.js +33 -134
  364. package/dist-es/accordion/AccordionHeader.js.map +1 -1
  365. package/dist-es/accordion/AccordionPanel.js +22 -115
  366. package/dist-es/accordion/AccordionPanel.js.map +1 -1
  367. package/dist-es/aria-announcer/AriaAnnounce.js.map +1 -1
  368. package/dist-es/aria-announcer/AriaAnnouncerContext.js.map +1 -1
  369. package/dist-es/aria-announcer/AriaAnnouncerProvider.js +8 -8
  370. package/dist-es/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
  371. package/dist-es/aria-announcer/useAriaAnnouncer.js +0 -104
  372. package/dist-es/aria-announcer/useAriaAnnouncer.js.map +1 -1
  373. package/dist-es/avatar/Avatar.js +18 -115
  374. package/dist-es/avatar/Avatar.js.map +1 -1
  375. package/dist-es/avatar/useAvatarImage.js +0 -99
  376. package/dist-es/avatar/useAvatarImage.js.map +1 -1
  377. package/dist-es/badge/Badge.js +8 -106
  378. package/dist-es/badge/Badge.js.map +1 -1
  379. package/dist-es/banner/Banner.js +18 -113
  380. package/dist-es/banner/Banner.js.map +1 -1
  381. package/dist-es/banner/BannerActions.js +1 -101
  382. package/dist-es/banner/BannerActions.js.map +1 -1
  383. package/dist-es/banner/BannerContent.js +1 -101
  384. package/dist-es/banner/BannerContent.js.map +1 -1
  385. package/dist-es/border-item/BorderItem.js +17 -109
  386. package/dist-es/border-item/BorderItem.js.map +1 -1
  387. package/dist-es/border-layout/BorderLayout.js +12 -106
  388. package/dist-es/border-layout/BorderLayout.js.map +1 -1
  389. package/dist-es/breakpoints/BreakpointProvider.js +2 -109
  390. package/dist-es/breakpoints/BreakpointProvider.js.map +1 -1
  391. package/dist-es/breakpoints/Breakpoints.js.map +1 -1
  392. package/dist-es/button/Button.js +24 -118
  393. package/dist-es/button/Button.js.map +1 -1
  394. package/dist-es/button/useButton.js.map +1 -1
  395. package/dist-es/card/Card.js +21 -113
  396. package/dist-es/card/Card.js.map +1 -1
  397. package/dist-es/checkbox/Checkbox.css.js +1 -1
  398. package/dist-es/checkbox/Checkbox.js +62 -148
  399. package/dist-es/checkbox/Checkbox.js.map +1 -1
  400. package/dist-es/checkbox/CheckboxGroup.js +32 -121
  401. package/dist-es/checkbox/CheckboxGroup.js.map +1 -1
  402. package/dist-es/checkbox/CheckboxIcon.js +24 -129
  403. package/dist-es/checkbox/CheckboxIcon.js.map +1 -1
  404. package/dist-es/checkbox/internal/CheckboxGroupContext.js +0 -99
  405. package/dist-es/checkbox/internal/CheckboxGroupContext.js.map +1 -1
  406. package/dist-es/checkbox/internal/useCheckboxGroup.js.map +1 -1
  407. package/dist-es/combo-box/ComboBox.js +33 -125
  408. package/dist-es/combo-box/ComboBox.js.map +1 -1
  409. package/dist-es/combo-box/useComboBox.js +1 -100
  410. package/dist-es/combo-box/useComboBox.js.map +1 -1
  411. package/dist-es/dialog/Dialog.js +38 -141
  412. package/dist-es/dialog/Dialog.js.map +1 -1
  413. package/dist-es/dialog/DialogActions.js +1 -102
  414. package/dist-es/dialog/DialogActions.js.map +1 -1
  415. package/dist-es/dialog/DialogCloseButton.js +11 -104
  416. package/dist-es/dialog/DialogCloseButton.js.map +1 -1
  417. package/dist-es/dialog/DialogContent.css.js +1 -1
  418. package/dist-es/dialog/DialogContent.js +40 -112
  419. package/dist-es/dialog/DialogContent.js.map +1 -1
  420. package/dist-es/dialog/DialogContext.js.map +1 -1
  421. package/dist-es/dialog/DialogHeader.js +24 -119
  422. package/dist-es/dialog/DialogHeader.js.map +1 -1
  423. package/dist-es/divider/Divider.js +15 -108
  424. package/dist-es/divider/Divider.js.map +1 -1
  425. package/dist-es/drawer/Drawer.js +13 -112
  426. package/dist-es/drawer/Drawer.js.map +1 -1
  427. package/dist-es/drawer/DrawerCloseButton.js +7 -103
  428. package/dist-es/drawer/DrawerCloseButton.js.map +1 -1
  429. package/dist-es/dropdown/Dropdown.js +38 -135
  430. package/dist-es/dropdown/Dropdown.js.map +1 -1
  431. package/dist-es/file-drop-zone/FileDropZone.js +21 -114
  432. package/dist-es/file-drop-zone/FileDropZone.js.map +1 -1
  433. package/dist-es/file-drop-zone/FileDropZoneIcon.js +2 -7
  434. package/dist-es/file-drop-zone/FileDropZoneIcon.js.map +1 -1
  435. package/dist-es/file-drop-zone/FileDropZoneTrigger.js +14 -108
  436. package/dist-es/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
  437. package/dist-es/file-drop-zone/internal/utils.js +1 -2
  438. package/dist-es/file-drop-zone/internal/utils.js.map +1 -1
  439. package/dist-es/flex-item/FlexItem.js +10 -104
  440. package/dist-es/flex-item/FlexItem.js.map +1 -1
  441. package/dist-es/flex-layout/FlexLayout.js +21 -115
  442. package/dist-es/flex-layout/FlexLayout.js.map +1 -1
  443. package/dist-es/flow-layout/FlowLayout.js +1 -7
  444. package/dist-es/flow-layout/FlowLayout.js.map +1 -1
  445. package/dist-es/form-field/FormField.css.js +1 -1
  446. package/dist-es/form-field/FormField.js +30 -119
  447. package/dist-es/form-field/FormField.js.map +1 -1
  448. package/dist-es/form-field/FormFieldHelperText.js +24 -108
  449. package/dist-es/form-field/FormFieldHelperText.js.map +1 -1
  450. package/dist-es/form-field/FormFieldLabel.js +15 -104
  451. package/dist-es/form-field/FormFieldLabel.js.map +1 -1
  452. package/dist-es/form-field-context/FormFieldContext.js +0 -98
  453. package/dist-es/form-field-context/FormFieldContext.js.map +1 -1
  454. package/dist-es/form-field-context/useFormFieldProps.js.map +1 -1
  455. package/dist-es/grid-item/GridItem.js +10 -104
  456. package/dist-es/grid-item/GridItem.js.map +1 -1
  457. package/dist-es/grid-layout/GridLayout.js +13 -107
  458. package/dist-es/grid-layout/GridLayout.js.map +1 -1
  459. package/dist-es/input/Input.js +49 -147
  460. package/dist-es/input/Input.js.map +1 -1
  461. package/dist-es/interactable-card/InteractableCard.js +28 -120
  462. package/dist-es/interactable-card/InteractableCard.js.map +1 -1
  463. package/dist-es/interactable-card/InteractableCardGroup.js +9 -104
  464. package/dist-es/interactable-card/InteractableCardGroup.js.map +1 -1
  465. package/dist-es/interactable-card/InteractableCardGroupContext.js +0 -98
  466. package/dist-es/interactable-card/InteractableCardGroupContext.js.map +1 -1
  467. package/dist-es/interactable-card/useInteractableCard.js.map +1 -1
  468. package/dist-es/link/Link.js +22 -115
  469. package/dist-es/link/Link.js.map +1 -1
  470. package/dist-es/link-card/LinkCard.js +18 -111
  471. package/dist-es/link-card/LinkCard.js.map +1 -1
  472. package/dist-es/list-box/ListBox.js +8 -104
  473. package/dist-es/list-box/ListBox.js.map +1 -1
  474. package/dist-es/list-control/ListControlContext.js +0 -98
  475. package/dist-es/list-control/ListControlContext.js.map +1 -1
  476. package/dist-es/list-control/ListControlState.js +3 -102
  477. package/dist-es/list-control/ListControlState.js.map +1 -1
  478. package/dist-es/menu/Menu.js +2 -8
  479. package/dist-es/menu/Menu.js.map +1 -1
  480. package/dist-es/menu/MenuBase.js +10 -107
  481. package/dist-es/menu/MenuBase.js.map +1 -1
  482. package/dist-es/menu/MenuContext.js +0 -98
  483. package/dist-es/menu/MenuContext.js.map +1 -1
  484. package/dist-es/menu/MenuGroup.js +14 -112
  485. package/dist-es/menu/MenuGroup.js.map +1 -1
  486. package/dist-es/menu/MenuItem.js +51 -141
  487. package/dist-es/menu/MenuItem.js.map +1 -1
  488. package/dist-es/menu/MenuPanel.js +27 -121
  489. package/dist-es/menu/MenuPanel.js.map +1 -1
  490. package/dist-es/menu/MenuPanelBase.js +1 -5
  491. package/dist-es/menu/MenuPanelBase.js.map +1 -1
  492. package/dist-es/menu/MenuPanelContext.js +0 -98
  493. package/dist-es/menu/MenuPanelContext.js.map +1 -1
  494. package/dist-es/menu/MenuTrigger.js +20 -116
  495. package/dist-es/menu/MenuTrigger.js.map +1 -1
  496. package/dist-es/menu/MenuTriggerContext.js +0 -98
  497. package/dist-es/menu/MenuTriggerContext.js.map +1 -1
  498. package/dist-es/multiline-input/MultilineInput.js +54 -159
  499. package/dist-es/multiline-input/MultilineInput.js.map +1 -1
  500. package/dist-es/navigation-item/ExpansionIcon.js +1 -3
  501. package/dist-es/navigation-item/ExpansionIcon.js.map +1 -1
  502. package/dist-es/navigation-item/NavigationItem.js +32 -130
  503. package/dist-es/navigation-item/NavigationItem.js.map +1 -1
  504. package/dist-es/navigation-item/NavigationItemAction.js +0 -100
  505. package/dist-es/navigation-item/NavigationItemAction.js.map +1 -1
  506. package/dist-es/option/Option.js +32 -118
  507. package/dist-es/option/Option.js.map +1 -1
  508. package/dist-es/option/OptionGroup.js +14 -112
  509. package/dist-es/option/OptionGroup.js.map +1 -1
  510. package/dist-es/option/OptionList.js +17 -115
  511. package/dist-es/option/OptionList.js.map +1 -1
  512. package/dist-es/option/OptionListBase.js +9 -103
  513. package/dist-es/option/OptionListBase.js.map +1 -1
  514. package/dist-es/overlay/Overlay.js +18 -112
  515. package/dist-es/overlay/Overlay.js.map +1 -1
  516. package/dist-es/overlay/OverlayContext.js +0 -98
  517. package/dist-es/overlay/OverlayContext.js.map +1 -1
  518. package/dist-es/overlay/OverlayPanel.js +34 -125
  519. package/dist-es/overlay/OverlayPanel.js.map +1 -1
  520. package/dist-es/overlay/OverlayPanelCloseButton.js +7 -103
  521. package/dist-es/overlay/OverlayPanelCloseButton.js.map +1 -1
  522. package/dist-es/overlay/OverlayPanelContent.css.js +1 -1
  523. package/dist-es/overlay/OverlayPanelContent.js +43 -103
  524. package/dist-es/overlay/OverlayPanelContent.js.map +1 -1
  525. package/dist-es/overlay/OverlayTrigger.js +6 -109
  526. package/dist-es/overlay/OverlayTrigger.js.map +1 -1
  527. package/dist-es/pagination/CompactInput.js +20 -112
  528. package/dist-es/pagination/CompactInput.js.map +1 -1
  529. package/dist-es/pagination/CompactPaginator.js +21 -121
  530. package/dist-es/pagination/CompactPaginator.js.map +1 -1
  531. package/dist-es/pagination/GoToInput.js +31 -112
  532. package/dist-es/pagination/GoToInput.js.map +1 -1
  533. package/dist-es/pagination/PageButton.js +17 -110
  534. package/dist-es/pagination/PageButton.js.map +1 -1
  535. package/dist-es/pagination/PageRanges.js +15 -124
  536. package/dist-es/pagination/PageRanges.js.map +1 -1
  537. package/dist-es/pagination/Pagination.js +6 -101
  538. package/dist-es/pagination/Pagination.js.map +1 -1
  539. package/dist-es/pagination/PaginationContext.js.map +1 -1
  540. package/dist-es/pagination/Paginator.js +19 -119
  541. package/dist-es/pagination/Paginator.js.map +1 -1
  542. package/dist-es/pagination/usePagination.js.map +1 -1
  543. package/dist-es/pagination/usePaginationContext.js.map +1 -1
  544. package/dist-es/panel/Panel.js +9 -102
  545. package/dist-es/panel/Panel.js.map +1 -1
  546. package/dist-es/parent-child-layout/ParentChildLayout.js +24 -121
  547. package/dist-es/parent-child-layout/ParentChildLayout.js.map +1 -1
  548. package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js +0 -101
  549. package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
  550. package/dist-es/pill/Pill.js +17 -109
  551. package/dist-es/pill/Pill.js.map +1 -1
  552. package/dist-es/pill-input/PillInput.js +97 -202
  553. package/dist-es/pill-input/PillInput.js.map +1 -1
  554. package/dist-es/pill-input/useTruncatePills.js.map +1 -1
  555. package/dist-es/progress/CircularProgress/CircularProgress.js +44 -151
  556. package/dist-es/progress/CircularProgress/CircularProgress.js.map +1 -1
  557. package/dist-es/progress/LinearProgress/LinearProgress.js +28 -123
  558. package/dist-es/progress/LinearProgress/LinearProgress.js.map +1 -1
  559. package/dist-es/radio-button/RadioButton.css.js +1 -1
  560. package/dist-es/radio-button/RadioButton.js +60 -148
  561. package/dist-es/radio-button/RadioButton.js.map +1 -1
  562. package/dist-es/radio-button/RadioButtonGroup.js +36 -125
  563. package/dist-es/radio-button/RadioButtonGroup.js.map +1 -1
  564. package/dist-es/radio-button/RadioButtonIcon.js +45 -132
  565. package/dist-es/radio-button/RadioButtonIcon.js.map +1 -1
  566. package/dist-es/radio-button/internal/RadioGroupContext.js +0 -99
  567. package/dist-es/radio-button/internal/RadioGroupContext.js.map +1 -1
  568. package/dist-es/radio-button/internal/useRadioGroup.js.map +1 -1
  569. package/dist-es/salt-provider/SaltProvider.js +32 -153
  570. package/dist-es/salt-provider/SaltProvider.js.map +1 -1
  571. package/dist-es/scrim/Scrim.js +16 -109
  572. package/dist-es/scrim/Scrim.js.map +1 -1
  573. package/dist-es/segmented-button-group/SegmentedButtonGroup.js +1 -102
  574. package/dist-es/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
  575. package/dist-es/semantic-icon-provider/SemanticIconProvider.js +1 -4
  576. package/dist-es/semantic-icon-provider/SemanticIconProvider.js.map +1 -1
  577. package/dist-es/spinner/Spinner.js +16 -114
  578. package/dist-es/spinner/Spinner.js.map +1 -1
  579. package/dist-es/spinner/svgSpinners/SpinnerSVG.js +43 -139
  580. package/dist-es/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
  581. package/dist-es/split-layout/SplitLayout.js +13 -105
  582. package/dist-es/split-layout/SplitLayout.js.map +1 -1
  583. package/dist-es/stack-layout/StackLayout.js +21 -114
  584. package/dist-es/stack-layout/StackLayout.js.map +1 -1
  585. package/dist-es/status-adornment/ErrorAdornment.js +5 -9
  586. package/dist-es/status-adornment/ErrorAdornment.js.map +1 -1
  587. package/dist-es/status-adornment/StatusAdornment.js +9 -102
  588. package/dist-es/status-adornment/StatusAdornment.js.map +1 -1
  589. package/dist-es/status-adornment/SuccessAdornment.js +18 -12
  590. package/dist-es/status-adornment/SuccessAdornment.js.map +1 -1
  591. package/dist-es/status-adornment/WarningAdornment.js +1 -10
  592. package/dist-es/status-adornment/WarningAdornment.js.map +1 -1
  593. package/dist-es/status-indicator/StatusIndicator.js +10 -101
  594. package/dist-es/status-indicator/StatusIndicator.js.map +1 -1
  595. package/dist-es/status-indicator/ValidationStatus.js.map +1 -1
  596. package/dist-es/switch/Switch.js +44 -148
  597. package/dist-es/switch/Switch.js.map +1 -1
  598. package/dist-es/tag/Tag.js +17 -110
  599. package/dist-es/tag/Tag.js.map +1 -1
  600. package/dist-es/text/Code.js +1 -6
  601. package/dist-es/text/Code.js.map +1 -1
  602. package/dist-es/text/Display.js +4 -28
  603. package/dist-es/text/Display.js.map +1 -1
  604. package/dist-es/text/Headings.js +4 -24
  605. package/dist-es/text/Headings.js.map +1 -1
  606. package/dist-es/text/Label.js +1 -6
  607. package/dist-es/text/Label.js.map +1 -1
  608. package/dist-es/text/Text.js +21 -115
  609. package/dist-es/text/Text.js.map +1 -1
  610. package/dist-es/text/TextAction.js +1 -7
  611. package/dist-es/text/TextAction.js.map +1 -1
  612. package/dist-es/text/TextNotation.js +1 -7
  613. package/dist-es/text/TextNotation.js.map +1 -1
  614. package/dist-es/theme/Accent.js.map +1 -1
  615. package/dist-es/theme/ActionFont.js.map +1 -1
  616. package/dist-es/theme/Corner.js.map +1 -1
  617. package/dist-es/theme/HeadingFont.js.map +1 -1
  618. package/dist-es/theme/Theme.js.map +1 -1
  619. package/dist-es/toast/Toast.js +17 -114
  620. package/dist-es/toast/Toast.js.map +1 -1
  621. package/dist-es/toast/ToastContent.js +1 -102
  622. package/dist-es/toast/ToastContent.js.map +1 -1
  623. package/dist-es/toggle-button/ToggleButton.css.js +1 -1
  624. package/dist-es/toggle-button/ToggleButton.js +18 -109
  625. package/dist-es/toggle-button/ToggleButton.js.map +1 -1
  626. package/dist-es/toggle-button-group/ToggleButtonGroup.js +10 -105
  627. package/dist-es/toggle-button-group/ToggleButtonGroup.js.map +1 -1
  628. package/dist-es/toggle-button-group/ToggleButtonGroupContext.js +0 -98
  629. package/dist-es/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
  630. package/dist-es/tooltip/Tooltip.js +25 -117
  631. package/dist-es/tooltip/Tooltip.js.map +1 -1
  632. package/dist-es/tooltip/TooltipBase.js +25 -115
  633. package/dist-es/tooltip/TooltipBase.js.map +1 -1
  634. package/dist-es/tooltip/useAriaAnnounce.js +2 -102
  635. package/dist-es/tooltip/useAriaAnnounce.js.map +1 -1
  636. package/dist-es/tooltip/useTooltip.js +4 -101
  637. package/dist-es/tooltip/useTooltip.js.map +1 -1
  638. package/dist-es/utils/capitalize.js.map +1 -1
  639. package/dist-es/utils/createChainedFunction.js.map +1 -1
  640. package/dist-es/utils/createContext.js.map +1 -1
  641. package/dist-es/utils/debounce.js.map +1 -1
  642. package/dist-es/utils/getRefFromChildren.js +4 -1
  643. package/dist-es/utils/getRefFromChildren.js.map +1 -1
  644. package/dist-es/utils/marginMiddleware.js.map +1 -1
  645. package/dist-es/utils/mergeProps.js.map +1 -1
  646. package/dist-es/utils/ownerDocument.js.map +1 -1
  647. package/dist-es/utils/ownerWindow.js.map +1 -1
  648. package/dist-es/utils/renderProps.js +1 -3
  649. package/dist-es/utils/renderProps.js.map +1 -1
  650. package/dist-es/utils/setRef.js.map +1 -1
  651. package/dist-es/utils/useControlled.js.map +1 -1
  652. package/dist-es/utils/useEventCallback.js +4 -1
  653. package/dist-es/utils/useEventCallback.js.map +1 -1
  654. package/dist-es/utils/useFloatingUI/useFloatingUI.js +6 -31
  655. package/dist-es/utils/useFloatingUI/useFloatingUI.js.map +1 -1
  656. package/dist-es/utils/useForkRef.js.map +1 -1
  657. package/dist-es/utils/useId.js +2 -2
  658. package/dist-es/utils/useId.js.map +1 -1
  659. package/dist-es/utils/useIsFocusVisible.js.map +1 -1
  660. package/dist-es/utils/usePrevious.js.map +1 -1
  661. package/dist-es/utils/useResizeObserver.js +5 -5
  662. package/dist-es/utils/useResizeObserver.js.map +1 -1
  663. package/dist-es/utils/useResponsiveProp.js +2 -3
  664. package/dist-es/utils/useResponsiveProp.js.map +1 -1
  665. package/dist-es/utils/useValueEffect.js +1 -106
  666. package/dist-es/utils/useValueEffect.js.map +1 -1
  667. package/dist-es/viewport/ViewportProvider.js +1 -107
  668. package/dist-es/viewport/ViewportProvider.js.map +1 -1
  669. package/dist-types/file-drop-zone/FileDropZoneIcon.d.ts +1 -1
  670. package/package.json +8 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,1760 @@
1
+ # @salt-ds/core
2
+
3
+ ## 1.37.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 5cf214c: Fixed input alignment issue in form field when more than one item is in a row and some do not have helper text.
8
+ - bae6882: Fixed aria-activedescendant not being removed when Dropdown or ComboBox is closed.
9
+
10
+ ## 1.37.2
11
+
12
+ ### Patch Changes
13
+
14
+ - ae6e5c9: Updated ToggleButton's styling to align to Button's new styling.
15
+ - b395246: Fixed `color="secondary"` not working for the Link component.
16
+ - aced985: Replaced Button's deprecated `variant` prop with `sentiment` and `appearance` in:
17
+
18
+ - ComboBox
19
+ - DialogCloseButton
20
+ - DrawerCloseButton
21
+ - OverlayPanelCloseButton
22
+ - CompactPaginator
23
+ - Paginator
24
+ - Pagination
25
+
26
+ - 7432f62: Fixed useResponsiveProp not being inclusive when calculating breakpoints e.g. not recognising `600px` as `sm`.
27
+ - 0730eb0: Fixed focus rings not appearing on Checkbox or Radio Button.
28
+ - 1a29b4e: Fixed disabled MenuItems triggering onClick.
29
+ - 6b1f109: Added padding between the content and scrollbar when `OverlayPanelContent` is scrollable.
30
+ - 26bf747: Fixed Tooltip to prioritize its `status` prop over the status inherited from a parent FormField.
31
+ - 6a08b82: Fixed circular dependencies in code.
32
+ - Updated dependencies [dc5b3b3]
33
+ - @salt-ds/icons@1.13.0
34
+
35
+ ## 1.37.1
36
+
37
+ ### Patch Changes
38
+
39
+ - 62300f3: Fixed aria-multiselectable being incorrectly applied in the ComboBox and Dropdown.
40
+
41
+ ## 1.37.0
42
+
43
+ ### Minor Changes
44
+
45
+ - 4ccc245: Updated Card, LinkCard and InteractableCard accent bar color, which now stays the same across states.
46
+ - 97215f7: Added SemanticIconProvider to provide a mechanism to swap out built-in component icons to custom icons.
47
+
48
+ ```tsx
49
+ <SemanticIconProvider iconMap={iconMap}>
50
+ <App />
51
+ </SemanticIconProvider>
52
+ ```
53
+
54
+ - 60a8d6a: Pill will now go into an active state when it's a menu trigger and has the menu is open. This aligns Pill with Button.
55
+
56
+ ### Patch Changes
57
+
58
+ - dc9e1bd: Updated Pill's styling to align to Button's new styling.
59
+ - 7eac3b2: Fixed text contrast issues in Menu, Dropdown, ComboBox and ListBox.
60
+ - b2af86a: Updated MultilineInput so that it is easier to set a max-height.
61
+ - 9edf6c4: Added letter-spacing to `Text` for consistency.
62
+ - 65bfefb: Improved list based control's performance when lots of items are displayed.
63
+
64
+ ## 1.36.0
65
+
66
+ ### Minor Changes
67
+
68
+ - 1098fc1: Added `sentiment` (accented, neutral, positive, negative, caution) and `appearance` (solid, bordered, transparent) props for Button.
69
+
70
+ _Note:_ Button's `variant` prop is now deprecated and will be removed in the next major version.
71
+
72
+ | `variant` | `appearance` | `sentiment` |
73
+ | ----------- | ------------- | ----------- |
74
+ | `cta` | `solid` | `accented` |
75
+ | `primary` | `solid` | `neutral` |
76
+ | `secondary` | `transparent` | `neutral` |
77
+
78
+ ### Patch Changes
79
+
80
+ - 7a5215a: Fixed data-\* attributes not allowed on pass through props. Closes #3797.
81
+
82
+ - `Checkbox.inputProps`
83
+ - `Input.inputProps`
84
+ - `MultilineInput.textAreaProps`
85
+ - `PillInput.inputProps`
86
+ - `RadioButton.inputProps`
87
+ - `Switch.inputProps`
88
+
89
+ - dccd349: - Fixed bordered form controls' activation indicator and border combining to 3px instead of 2px in:
90
+
91
+ - Dropdown
92
+ - ComboBox
93
+ - Input
94
+ - MultilineInput
95
+ - Fixed form controls' activation indicator changing color when an active field is hovered in:
96
+
97
+ - Input
98
+ - MultilineInput
99
+
100
+ - Updated the token applied to form controls' activation indicator to use `--salt-size-border-strong` instead of ` --salt-editable-borderWidth-active`.
101
+
102
+ - 7ed6d4d: Fixed Tag's height being incorrect when box-sizing isn't set
103
+ - 3e49154: Updated Checkbox and Radio Button to have more robust styling.
104
+ - cee2b63: Fixed text inside Panel having the incorrect color when color-scheme is not set or doesn't change the default text color e.g. in Safari.
105
+ - f277c02: Updated controlled uncontrolled warning link
106
+ - 92299b6: Fixed the alignment of Checkbox and Radio Button when they don't have a label.
107
+ - 61e8502: Fixed Dialog's content being collapsed on Safari.
108
+
109
+ ## 1.35.0
110
+
111
+ ### Minor Changes
112
+
113
+ - b51bdb5: Added dot badge. A dot badge notifies users of changes in state e.g. new messages, notifications, or updates. Also the position of the badge will be at top right center of the Button/Icon.
114
+
115
+ ```tsx
116
+ <Badge>
117
+ <Button aria-label="Notifications">
118
+ <NotificationIcon aria-hidden />
119
+ </Button>
120
+ </Badge>
121
+ ```
122
+
123
+ ### Patch Changes
124
+
125
+ - 222c47a: Fixed the icon inside Navigation Item having the incorrect color when a parent item is also a link.
126
+ - 4a1bd04: Fixed the status adornment position in ComboBox where it would always be vertically centered when the field grows.
127
+ - 7acd0ed: Fixed multiselect combobox having incorrect pill styles in theme next.
128
+ - 16717fc: Fixed focusable when disabled button's having incorrect styling when in a disabled active state.
129
+ - c2972a1: - Fixed Checkbox and RadioButton shifting when selected outside of a flex layout.
130
+ - Fixed Checkbox and RadioButton, sometimes having a gap between the border and the selected icon.
131
+ - 065d0ca: Fixed Dialog to have correct `z-index` variable assigned (1300).
132
+ - 3ff4448: - Fixed ComboBox calling onBlur when an option in the list is clicked.
133
+ - Fixed Dropdown calling onBlur when an option in the list is clicked.
134
+ - 77dc32e: Fixed Accordion having status styling when disabled and status is set.
135
+ - 3045c38: - Fixed ComboBox breaking when `inputRef` is used.
136
+ - Fixed ComboBox having an incorrect focus ring color when validation is applied.
137
+ - Fixed ComboBox having incorrect active styling.
138
+
139
+ ## 1.34.0
140
+
141
+ ### Minor Changes
142
+
143
+ - 64be665: Update FormFieldHelperText to have status colors applied when `validationStatus` is applied to FormField.
144
+ - fc66238: Added `tertiary` variant to the `variant` prop for Card, LinkCard, InteractableCard and Panel.
145
+
146
+ ```tsx
147
+ <Card variant="tertiary">Example of a Tertiary Card</Card>
148
+ <LinkCard variant="tertiary">Example of a Link Card</LinkCard>
149
+ <InteractableCard variant="tertiary">Example of a Interactable Card</InteractableCard>
150
+ <Panel variant="tertiary">Example of a Tertiary Panel</Panel>
151
+ ```
152
+
153
+ ### Patch Changes
154
+
155
+ - 4823df6: - Fixed the default NavigationItem being considered a parent.
156
+ - Fixed NavigationItem not calling `onClick`.
157
+ - 1a0ca7f: Fixed read-only checked radio buttons having the incorrect icon color.
158
+ - 9837998: Fixed Pagination button having an incorrect color on hover when theme next is enabled.
159
+ - 3913dbb: Fixed list scroll when there is only one item in `ComboBox` and `Dropdown`.
160
+ - 5b735d9: Fixed ComboBox having a button when it has nothing to show.
161
+ - 31c3702: Fixed ListBox not scrolling to the active item in some circumstances
162
+ - 85997dc: Updated AccordionPanel to have less padding.
163
+ - e9c1287: Update gap to `--salt-spacing-75` for top aligned labels in `FormField`.
164
+ - 0eb21ae: Fixed `Accordion` becoming inaccessible when an id is passed to `AccordionPanel` or `AccordionHeader`.
165
+
166
+ ## 1.33.0
167
+
168
+ ### Minor Changes
169
+
170
+ - 533b590: - Updated `Listbox`, `Menu`, `ComboBox` and `Dropdown` to use `--salt-palette-corner` when their corners are rounded.
171
+ - Updated `Menu`, `Dropdown` and `ComboBox` to have a 1px visual offset on floating panels.
172
+ - 34e8c9c: Added `render` prop to `NavigationItem`. The `render` prop enables the substitution of the default anchor tag with an alternate link, such as React Router, facilitating integration with routing libraries.
173
+
174
+ ### Patch Changes
175
+
176
+ - bfe0f84: Cleaned up TypeScript types in multiple components.
177
+ - 0927a2d: Fixed the `initialFocus` prop not working on Dialog.
178
+ - b6070e7: Added JSDoc description to `SaltProviderNext` props.
179
+
180
+ ## 1.32.0
181
+
182
+ ### Minor Changes
183
+
184
+ - da92421: Added `getRefFromChildren`. This allows reading ref from a child component.
185
+ - 8b43adf: Updated `LinearProgress` to display a moving line to represent an unspecified wait time, when `value` is `undefined`.
186
+
187
+ `<LinearProgress />`
188
+
189
+ _Note_: `value` and `bufferValue` are no longer default to `0`. Previously above code would render a 0% progress bar, which was not a good reflection of intent. You can still achieve it by passing in `value={0}`.
190
+
191
+ - ce319ee: Added support for multiple themes to be passed to `SaltProvider`, e.g.,
192
+
193
+ ```
194
+ <SaltProvider theme="theme-1 theme-2">
195
+ ```
196
+
197
+ - 9abf267: Marked `SaltProviderNext` being stable.
198
+
199
+ If you're using existing type or variable with `UNSTABLE_` prefix, they are now deprecated but will still work.
200
+
201
+ ### Patch Changes
202
+
203
+ - da92421: Fix warning logged when access a child ref on React 19.
204
+ - 7fa6e22: Fixed `Tooltip` not having correct height.
205
+
206
+ ## 1.31.0
207
+
208
+ ### Minor Changes
209
+
210
+ - 1d4d209: Added `bordered` prop to Dropdown. When set, a full border will be applied.
211
+
212
+ ```tsx
213
+ <Dropdown bordered />
214
+ ```
215
+
216
+ Dropdown is updated to be an inline element, aligning with other form controls like Input.
217
+
218
+ - ad6f7b4: - Added `indicatorSide` to `accordion` to allow right alignment.
219
+ - Removed arrow animation in accordion.
220
+ - Changed direction of accordion's arrow to be consistent with salt's expandable components.
221
+ - Changed direction when `expanded=false` from right to down.
222
+ - Changed direction when `expanded=true` from down to up.
223
+ - b199888: Added `bordered` prop for `ComboBox`. When set, a full border will be applied.
224
+
225
+ ```tsx
226
+ <ComboBox bordered>
227
+ <Option value="Red" />
228
+ <Option value="Blue" />
229
+ </ComboBox>
230
+ ```
231
+
232
+ Added corner support for theme next.
233
+
234
+ ### Patch Changes
235
+
236
+ - b199888: Updated `ComboBox` to show validation status when it's in a read-only state.
237
+ - 1d4d209: Updated outline color & background when in focus/active state for validation status `Dropdown` to match the color of the status.
238
+
239
+ Updated border color when in hover state for validation status `Dropdown` to match the color of the status.
240
+
241
+ Added corner support for theme next for `Dropdown`.
242
+
243
+ Updates focus styling for `Dropdown`. Focus ring is shown on focus instead of focus-visible.
244
+
245
+ - 59da3f3: Fixed invalid HTML structure in AccordionHeader.
246
+ - 904ffa1: Fixed file drop zone not allowing the same file to be selected via `onChange` of `FileDropZoneTrigger`.
247
+ Updated first argument event type of `onChange` to `ChangeEvent`, to better align with underlying event.
248
+
249
+ Closes #3591.
250
+
251
+ - db527bc: Fixed Menu showing behind Drawer (#3636).
252
+
253
+ ## 1.30.0
254
+
255
+ ### Minor Changes
256
+
257
+ - e35a976: Added `Tag` component to core. Tags are non-interactive visual adornments that represent metadata or keywords associated with content, drawing the user's attention to categories without requiring interaction.
258
+
259
+ ```typescript
260
+ <Tag>Tag</Tag>
261
+ <Tag bordered>Tag</Tag>
262
+ <Tag variant="secondary">Tag</Tag>
263
+ <Tag category={2}>Tag</Tag>
264
+ ```
265
+
266
+ - f89189d: Added a new `actionFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use
267
+
268
+ ```
269
+ <UNSTABLE_SaltProviderNext actionFont="Amplitude">
270
+ ```
271
+
272
+ Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
273
+
274
+ - 0715454: Added `ListBox` component to core. `ListBox` allows the user to select an item from an array of options. Selected items are visually distinct from nonselected items. To ensure efficient space usage, long lists of items are in a scrolling pane that can provide access to options not immediately visible to the user.
275
+
276
+ ```tsx
277
+ <ListBox>
278
+ <Option value="red" />
279
+ <Option value="orange" />
280
+ <Option value="yellow" />
281
+ <Option value="green" />
282
+ <Option value="blue" />
283
+ <Option value="indigo" />
284
+ <Option value="violet" />
285
+ </ListBox>
286
+ ```
287
+
288
+ - 6cde7ea: Added `Divider`.
289
+
290
+ ```tsx
291
+ <Divider />
292
+ <Divider variant={variant} orientation={orientation} />
293
+ ```
294
+
295
+ ### Patch Changes
296
+
297
+ - 4697c25: Fixed content alignment of Option, OptionGroup, MenuItem and MenuGroup.
298
+ - 0486cbc: Added line-height, letter-spacing and font-family to Dropdown, MenuItem, Option and OptionGroup.
299
+ - f125982: Fixed Combo Box not picking `defaultValue` when `defaultSelected` is not set. Closes #3579.
300
+ - 55e7ced: Fixed combo box can be focused when disabled. Fixes #3369
301
+
302
+ ## 1.29.0
303
+
304
+ ### Minor Changes
305
+
306
+ - d0b6912: Added `Display4` text.
307
+
308
+ ```
309
+ <Display4>text</Display>
310
+ <Text styleAs="display4">text</Text>
311
+ ```
312
+
313
+ It will be using different size when used in `SaltProvider` and `UNSTABLE_SaltProviderNext`.
314
+
315
+ - c36e8a4: Added `icon` prop to Toast to allow for a custom icon
316
+
317
+ ```tsx
318
+ <Toast icon={<InfoIcon />} status={"info"}>
319
+ <ToastContent>
320
+ <Text>
321
+ <strong>Info with Custom Icon</strong>
322
+ </Text>
323
+ <div>Filters have been cleared</div>
324
+ </ToastContent>
325
+ </Toast>
326
+ ```
327
+
328
+ - a0fff18: - Updated Input readonly state so that status adornment will be shown when `validationStatus` is set.
329
+
330
+ - Added `bordered` prop for Input. When set, a full border will be applied.
331
+
332
+ ```tsx
333
+ <Input bordered />
334
+ ```
335
+
336
+ - Updated MultilineInput readonly state so that status adornment will be shown and background color to match status color when `validationStatus` is set.
337
+ - Added rounded corner support for MultilineInput, when used in theme next.
338
+
339
+ ### Patch Changes
340
+
341
+ - 72debf5: Fixed empty Switch label span being rendered. Closes #3505.
342
+ - 3b854ed: Fixed SegmentedButtonGroup incorrectly rounding when theme next is used and `corner="rounded"`.
343
+
344
+ ## 1.28.1
345
+
346
+ ### Patch Changes
347
+
348
+ - f8de151c: Fixed the chevron alignment for multi-line accordions.
349
+ - a5556028: Fixed Text components not applying `className` correctly, including `Code`, `Display1`, `Display2`, `Display3`, `TextAction`, `TextNotation`.
350
+
351
+ ## 1.28.0
352
+
353
+ ### Minor Changes
354
+
355
+ - 25e38e48: Added status color support to Text.
356
+
357
+ ```tsx
358
+ <Text color="info">This is error color of Text</Text>
359
+ <Text color="error">This is error color of Text</Text>
360
+ <Text color="warning">This is warning color of Text</Text>
361
+ <Text color="success">This is success color of Text</Text>
362
+ ```
363
+
364
+ - Checkbox will now have the correct border color on focus when it is in an error or warning state.
365
+ - Checkbox now uses `--salt-status-error-foreground-decorative` and `--salt-status-warning-foreground-decorative` instead of `--salt-status-error-foreground` and `--salt-status-warning-foreground`.
366
+ - RadioButton will now have the correct border color on focus when it is in an error or warning state.
367
+ - RadioButton now uses `--salt-status-error-foreground-decorative` and `--salt-status-warning-foreground-decorative` instead of `--salt-status-error-foreground` and `--salt-status-warning-foreground`.
368
+ - StatusAdornment now uses `--salt-status-error-foreground-decorative`, `--salt-status-warning-foreground-decorative` and `--salt-status-success-foreground-decorative` instead of `--salt-status-error-foreground`, `--salt-status-warning-foreground` and `--salt-status-success-foreground`.
369
+ - StatusIndicator now uses `--salt-status-info-foreground-decorative`, `--salt-status-error-foreground-decorative`, `--salt-status-warning-foreground-decorative` and `--salt-status-success-foreground-decorative` instead of `--salt-status-info-foreground`, `--salt-status-error-foreground`, `--salt-status-warning-foreground`, `--salt-status-success-foreground`.
370
+
371
+ - 5ef28178: Added a new `accent` prop to `UNSTABLE_SaltProviderNext` with `"blue"` or `"teal"` option. To try it out, use
372
+
373
+ ```
374
+ <UNSTABLE_SaltProviderNext accent="teal">
375
+ ```
376
+
377
+ Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
378
+
379
+ - e1d4aab8: Added a new `headingFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use
380
+
381
+ ```
382
+ <UNSTABLE_SaltProviderNext headingFont="Amplitude">
383
+ ```
384
+
385
+ Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
386
+
387
+ ### Patch Changes
388
+
389
+ - 33ffe0ef: Remove padding bottom and padding right from `DialogContent`
390
+ - 88711e3b: Fixed `onBlur` and `onFocus` not working with FormField.
391
+ - 1cfefb63: Added flex 1 to `DialogContent` so the dialog actions stick to the bottom
392
+ - d5b968fd: Fixed dialog border styling was not set correctly
393
+ - b266a075: Made `status` prop optional in Toast, allowing for Toast to have no status.
394
+ The default for the `status` prop changed from `"info"` to `undefined`. Toasts intended to have "info" status must refactor as beflow.
395
+
396
+ **Note:** This change is a bug fix but a breaking change for Toasts that were intended to have "info" status, but did not explicitly set the `status` prop.
397
+
398
+ Before:
399
+
400
+ ```tsx
401
+ <Toast>
402
+ <ToastContent>
403
+ A new version of this file is available with 37 updates.
404
+ </ToastContent>
405
+ </Toast>
406
+ ```
407
+
408
+ After:
409
+
410
+ ```tsx
411
+ <Toast status="info">
412
+ <ToastContent>
413
+ A new version of this file is available with 37 updates.
414
+ </ToastContent>
415
+ </Toast>
416
+ ```
417
+
418
+ ## 1.27.1
419
+
420
+ ### Patch Changes
421
+
422
+ - 067bc00f: Make `SegmentedButtonGroup` CSS selectors apply divider styles only to `.saltButton`, preventing dividers appearing when using floating-ui components like `Menu`.
423
+ - 5ff98b54: Fixed ComboBox logging event errors in React 16.
424
+ - 88961433: Changed RadioButton's display to `inline-flex` so the hit area only covers the label.
425
+ - d972d206: Fixed `Tooltip` not displaying when the `content` prop value is falsy e.g. 0
426
+ - 88961433: Changed Checkbox's display to `inline-flex` so the hit area only covers the label.
427
+
428
+ ## 1.27.0
429
+
430
+ ### Minor Changes
431
+
432
+ - 542b6228: Added `Menu`, `MenuItem`, `MenuTrigger`, `MenuPanel` and `MenuGroup`.
433
+
434
+ ```tsx
435
+ <Menu>
436
+ <MenuTrigger>
437
+ <Button variant="secondary" aria-label="Open Menu">
438
+ <MicroMenuIcon aria-hidden />
439
+ </Button>
440
+ </MenuTrigger>
441
+ <MenuPanel>
442
+ <MenuItem>Copy</MenuItem>
443
+ <MenuItem>Paste</MenuItem>
444
+ <MenuItem>Export</MenuItem>
445
+ <MenuItem>Settings</MenuItem>
446
+ </MenuPanel>
447
+ </Menu>
448
+ ```
449
+
450
+ ### Patch Changes
451
+
452
+ - 3f9febe3: Fix pills not being removed when they are not in the displayed list in a combo box.
453
+ - 04b5e51b: Fixed Tooltip not being fully disabled when `disabled=true`.
454
+
455
+ ## 1.26.0
456
+
457
+ ### Minor Changes
458
+
459
+ - d885e02d: Added `useBreakpoint` which returns on object containing matchedBreakpoints and `breakpoint`.
460
+
461
+ - `matchedBreakpoints` - is an array of all matched breakpoints e.g. when the viewport matches the M breakpoint this array contains M, SM and XS.
462
+ - `breakpoint` - is the current matched breakpoint.
463
+
464
+ - d885e02d: Added support for passing a string gap values to FlexLayout and GridLayout.
465
+
466
+ ```tsx
467
+ <FlexLayout gap="spacing-100" />
468
+ <GridLayout gap="spacing-100" rowGap="spacing-100" columnGap="spacing-100" />
469
+ ```
470
+
471
+ Added support for passing a string column and row template to GridLayout.
472
+
473
+ ```tsx
474
+ <GridLayout columns="1fr 1fr 2fr" rows="1fr 2fr" />
475
+ ```
476
+
477
+ ### Patch Changes
478
+
479
+ - 51e164e3: Fixed Combo box and Dropdown options not growing in height with their content.
480
+ - f2f88a0d: Fixed Switch's alignment when it's used with a left/right aligned FormFieldLabel.
481
+ - 8ebd9138: Fixed deprecated `--salt-size-accent` references to `--salt-size-bar`. Fixed deprecated `--salt-size-unit` references to `--salt-spacing-100`.
482
+
483
+ ## 1.25.0
484
+
485
+ ### Minor Changes
486
+
487
+ - 884ce037: Promoted `ParentChildLayout` from labs to core.
488
+
489
+ ```tsx
490
+ const parent = <div>Parent</div>;
491
+
492
+ const child = <di>Child</div>;
493
+
494
+ export const Default = (): ReactElement => (
495
+ <ParentChildLayout parent={parent} child={child} />
496
+ );
497
+ ```
498
+
499
+ ### Patch Changes
500
+
501
+ - afe3d590: Updated Button to use active styles, when a menu or overlay is open.
502
+ - bb3b682f: Fixed ComboBox's nested button going into an active state when ComboBox is open.
503
+
504
+ ## 1.24.0
505
+
506
+ ### Minor Changes
507
+
508
+ - ae971d21: Add `Overlay`, `OverlayTrigger`, `OverlayPanel`, `OverlayPanelCloseButton`, and `OverlayPanelContent` to core.
509
+
510
+ ```tsx
511
+ export const DefaultOverlay = (): ReactElement => {
512
+ return (
513
+ <Overlay>
514
+ <OverlayTrigger>
515
+ <Button>Show Overlay</Button>
516
+ </OverlayTrigger>
517
+ <OverlayPanel>
518
+ <OverlayPanelContent>Content of Overlay</OverlayPanelContent>
519
+ </OverlayPanel>
520
+ </Overlay>
521
+ );
522
+ };
523
+ ```
524
+
525
+ ### Patch Changes
526
+
527
+ - 6a9f8a9f: Fixed LinearProgress rendering unwanted 0 in DOM.
528
+ - 27536263: - Fixed uncontrolled `CheckboxGroup` throwing an uncontrolled to controlled error.
529
+ - Fixed uncontrolled `RadioButtonGroup` throwing an uncontrolled to controlled error.
530
+ - 2b44227a: Updated `InteractableCard` to prevent hover effects from being applied while in a disabled state.
531
+ - 2bbdb790: Made `status` prop optional in Tooltip, allowing for Tooltip to have no status.
532
+ The default for the `status` prop changed from `"info"` to `undefined`. Tooltips intended to have "info" status must refactor as below.
533
+
534
+ **Note:** This change is a bug fix but a breaking change for Tooltips that were intended to have "info" status, but did not explicitly set the `status` prop.
535
+
536
+ Before:
537
+
538
+ ```tsx
539
+ <Tooltip>Information</Tooltip>
540
+ ```
541
+
542
+ After:
543
+
544
+ ```tsx
545
+ <Tooltip status="info">Information</Tooltip>
546
+ ```
547
+
548
+ - ca48936b: Fixed the gap between Tooltip's label and status icon not being affected by density.
549
+ - d3a7a753: Updated InteractableCard and LinkCard to support the new corner palette
550
+ - 0fe48b4f: Added `type="button"` to button elements to prevent some components submitting forms.
551
+
552
+ ## 1.23.0
553
+
554
+ ### Minor Changes
555
+
556
+ - ada5af31: Updates to `InteractableCard`:
557
+
558
+ - Added `accent` prop for border positioning, deprecating `accentPlacement`.
559
+ - Added `selected` prop for selected styling.
560
+ - Added `value` prop for selectable use cases.
561
+
562
+ - ada5af31: Added `InteractableCardGroup` component to support selectable cards in a group. It allows users to select one or multiple values from a set of interactable cards.
563
+
564
+ ```tsx
565
+ <InteractableCardGroup multiSelect>
566
+ <InteractableCard value="one">One</InteractableCard>
567
+ <InteractableCard value="two">Two</InteractableCard>
568
+ <InteractableCard value="three">Three</InteractableCard>
569
+ </InteractableCardGroup>
570
+ ```
571
+
572
+ - 96c2ca62: Added `SegmentedButtonGroup` to core.
573
+ `SegmentedButtonGroup` shows a list of actionable buttons, flush with separators between them.
574
+
575
+ ```tsx
576
+ return (
577
+ <SegmentedButtonGroup>
578
+ <Button variant={variant}>Button</Button>
579
+ <Button variant={variant}>Button</Button>
580
+ <Button variant={variant}>Button</Button>
581
+ </SegmentedButtonGroup>
582
+ );
583
+ ```
584
+
585
+ ### Patch Changes
586
+
587
+ - 3e4e819c: `Card`, `LinkCard` and `InteractableCard` updated to only apply hover effects on non-touch devices.
588
+ - f6202615: Visual updates to Navigation item's active indicator due to `--salt-size-indicator` being updated.
589
+ - 8ffdfae1: Fixed Dialog children being unmounted twice unexpectedly when closing
590
+ - a726afcf: Improved the accessibility of Switch by applying `role="switch"`.
591
+
592
+ **Note:** This might affect tests where you are targeting Switch by its role. For example, using React Testing Library-based selectors, tests will have to be updated like the following:
593
+
594
+ ```diff
595
+ - getByRole("checkbox")
596
+ + getByRole("switch")
597
+ ```
598
+
599
+ ## 1.22.0
600
+
601
+ ### Minor Changes
602
+
603
+ - 04743a73: `Text` has a new variant: `Code`. See [Text component](/salt/components/text) for more information.
604
+
605
+ ```tsx
606
+ <>
607
+ <Code>Code text</Code>
608
+ <Text as="code">Text styled as code</Text>
609
+ <Text styleAs="code">Text styled as code</Text>
610
+ </>
611
+ ```
612
+
613
+ ### Patch Changes
614
+
615
+ - 871585ac: Fixed `DialogHeader` not forwarding refs.
616
+ - 1b3e393a: Fixed Drawer children being unmounted twice unexpectedly when closing
617
+
618
+ ## 1.21.0
619
+
620
+ ### Minor Changes
621
+
622
+ - 53a7f22c: Added `Dropdown`, `Option`, `OptionGroup` and `ComboBox`.
623
+
624
+ **Note:** These were `DropdownNext` and `ComboBoxNext` in lab.
625
+
626
+ ```tsx
627
+ <Dropdown aria-label="Colors">
628
+ <OptionGroup label="Primary">
629
+ <Option value="Red" />
630
+ <Option value="Blue" />
631
+ </OptionGroup>
632
+ <OptionGroup label="Other">
633
+ <Option value="Pink" />
634
+ </OptionGroup>
635
+ </Dropdown>
636
+ ```
637
+
638
+ ```tsx
639
+ <ComboBox aria-label="Colors">
640
+ <OptionGroup label="Primary">
641
+ <Option value="Red" />
642
+ <Option value="Blue" />
643
+ </OptionGroup>
644
+ <OptionGroup label="Other">
645
+ <Option value="Pink" />
646
+ </OptionGroup>
647
+ </ComboBox>
648
+ ```
649
+
650
+ - 9960fe8a: Added `bufferValue` to linear and circular progress.
651
+ Updated linear and circular progress track token to use `--salt-size-bar` in order to improve density scale.
652
+
653
+ ### Patch Changes
654
+
655
+ - d1e4f78a: Added export for DialogHeaderProps
656
+
657
+ ```ts
658
+ import { DialogHeaderProps } from "@salt-ds/core";
659
+ ```
660
+
661
+ - 53a7f22c: Fix ComboBox and Dropdown's list appearing below other elements.
662
+
663
+ ## 1.20.0
664
+
665
+ ### Minor Changes
666
+
667
+ - ff69de19: Add `Dialog`, `DialogHeader`, `DialogContent`, `DialogActions`, and `DialogCloseButton` to core
668
+
669
+ ```tsx
670
+ export const Dialog = (): ReactElement => {
671
+ const [open, setOpen] = useState(false);
672
+ const id = useId();
673
+
674
+ const handleRequestOpen = () => {
675
+ setOpen(true);
676
+ };
677
+
678
+ const onOpenChange = (value: boolean) => {
679
+ setOpen(value);
680
+ };
681
+
682
+ const handleClose = () => {
683
+ setOpen(false);
684
+ };
685
+
686
+ return (
687
+ <>
688
+ <Button data-testid="dialog-button" onClick={handleRequestOpen}>
689
+ Open default dialog
690
+ </Button>
691
+ <Dialog open={open} onOpenChange={onOpenChange} id={id}>
692
+ <DialogHeader header="Terms and conditions" />
693
+ <DialogContent>Dialog Content</DialogContent>
694
+ <DialogActions>
695
+ <Button onClick={handleClose}>Cancel</Button>
696
+ <Button variant="cta" onClick={handleClose}>
697
+ Accept
698
+ </Button>
699
+ </DialogActions>
700
+ <DialogCloseButton onClick={handleClose} />
701
+ </Dialog>
702
+ </>
703
+ );
704
+ };
705
+ ```
706
+
707
+ ### Patch Changes
708
+
709
+ - 6c414eae: Allowed Tooltip to flip to any axis when space is limited. Previously, it was limited to flipping horizontally.
710
+ - 2d3fb09e: Add `box-sizing: border-box` to:
711
+
712
+ - Multiline input
713
+ - Navigation item
714
+ - Panel
715
+
716
+ ## 1.19.0
717
+
718
+ ### Minor Changes
719
+
720
+ - f27ecfa7: Added `UNSTABLE_SaltProviderNext` for early adopters to test incoming theme next features. Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
721
+ Implemented corner radius for relevant components when used with theme next.
722
+ - cbe6c522: Added `LinkCard` to core.
723
+
724
+ Use a Link card when the entire card should be clickable and navigate the user.
725
+
726
+ ```tsx
727
+ <LinkCard href="https://www.saltdesignsystem.com" target="_blank" />
728
+ ```
729
+
730
+ - 8610999f: Add `Drawer` and `DrawerCloseButton` to core
731
+ Drawer is an expandable panel that displays content and controls over the application content. It provides temporary access to additional or related content without navigating away from the current screen.
732
+
733
+ ```tsx
734
+ export const Default = (): ReactElement => {
735
+ const [openPrimary, setOpenPrimary] = useState(false);
736
+
737
+ return (
738
+ <>
739
+ <Button onClick={() => setOpenPrimary(true)}>
740
+ Open Primary Drawer
741
+ </Button>
742
+ <Drawer
743
+ open={openPrimary}
744
+ onOpenChange={(newOpen) => setOpenPrimary(newOpen)}
745
+ style={{ width: 200 }}
746
+ >
747
+ Drawer Content
748
+ <DrawerCloseButton onClick={() => setOpenPrimary(false)} />
749
+ </Drawer>
750
+ </>
751
+ );
752
+ };
753
+ ```
754
+
755
+ ### Patch Changes
756
+
757
+ - 76351938: Fixed the external icon shown in Links with `target="_blank"` sometimes being misaligned.
758
+
759
+ ## 1.18.1
760
+
761
+ ### Patch Changes
762
+
763
+ - 9d23fdce: Added `box-sizing: border-box` to:
764
+
765
+ - `Badge`
766
+ - `Card`
767
+ - `Checkbox`
768
+ - `FileDropZone`
769
+ - `FlexLayout`
770
+ - `Input`
771
+ - `CircularProgress`
772
+ - `LinearProgress`
773
+ - `RadioButton`
774
+ - `Switch`
775
+
776
+ ## 1.18.0
777
+
778
+ ### Minor Changes
779
+
780
+ - fb4a0ce7: Updates default padding for Card to `--salt-spacing-200`.
781
+
782
+ Added `accent` and `hoverable` props to Card.
783
+
784
+ `accent` prop enables positioning of an optional accent.
785
+ `hoverable` prop enables hover styling.
786
+
787
+ ```tsx
788
+ <Card accent="top" hoverable>
789
+ {children}
790
+ </Card>
791
+ ```
792
+
793
+ ### Patch Changes
794
+
795
+ - 55749302: Fixed multiline input not collapsing when the input value resets.
796
+ - 511a921e: Fix false positive error when a Salt Provider tries to stop multiple providers being root providers in different windows
797
+ - 92d5ebac: Removed auto scrolIntoView from Toast which caused issues for some users.
798
+
799
+ If this is a feature you need, pass a ref to Toast like below
800
+
801
+ ```
802
+ const toastRef = useRef<HTMLDivElement>();
803
+
804
+ useLayoutEffect(() => {
805
+ toastRef.current?.scrollIntoView();
806
+ }, []);
807
+
808
+ return (
809
+ <Toast ref={toastRef}>
810
+ // ...
811
+ )
812
+ ```
813
+
814
+ - b769f3e9: Added CSS API variable `--saltFormField-label-width`, replacing deprecated `--formField-label-width`
815
+
816
+ Usage should be changed:
817
+
818
+ ```diff
819
+ - style={{ "--formField-label-width": "100px" } as CSSProperties}
820
+ + style={{ "--saltFormField-label-width": "100px" } as CSSProperties}
821
+ ```
822
+
823
+ ## 1.17.0
824
+
825
+ ### Minor Changes
826
+
827
+ - 0e031a5c: A progress indicator gives the user an understanding of how long a system
828
+ operation will take. You should use it when the operation will take more
829
+ than a second to complete. Two components are available to accommodate
830
+ different layout constraints: `CircularProgress` and `LinearProgress`.
831
+
832
+ ```tsx
833
+ <LinearProgress aria-label="Download" value={50}/>
834
+ <CircularProgress aria-label="Download" value={50} />
835
+ ```
836
+
837
+ - f266b3c5: Added resizing support to `MutilineInput`. `MultilineInput`s will now resize when typing and can be resized manually.
838
+
839
+ ## 1.16.1
840
+
841
+ ### Patch Changes
842
+
843
+ - 181afaf3: - Updated indeterminate `Checkbox` and `RadioButton` to use the native indeterminate attribute. This ensures screen readers correctly announce the control.
844
+ - Fixed `Checkbox` as `RadioButtonGroup` not being announced as read-only by setting `aria-readonly`.
845
+ - Updated external `Link`'s accessible text to remove the redundant text ("Link").
846
+ - Fixed `Switch`'s thumb being announced when the switch receives focus.
847
+ - Changed standalone `ToggleButton`'s role from checkbox to button and updated the necessary aria attributes.
848
+ - Fixed `Tooltip` being announced as clickable and focusable.
849
+
850
+ ## 1.16.0
851
+
852
+ ### Minor Changes
853
+
854
+ - 8f0012b7: Added `FileDropZone`, `FileDropZoneIcon` and `FileDropZoneTrigger` to core.
855
+
856
+ `FileDropZone` provides a target area for users to drag and drop files, such as documents or images, and automatically uploads them to the web application.
857
+
858
+ ```tsx
859
+ <FileDropZone>
860
+ <FileDropZoneIcon />
861
+ <strong>Drop files here or</strong>
862
+ <FileDropZoneTrigger />
863
+ </FileDropZone>
864
+ ```
865
+
866
+ ### Patch Changes
867
+
868
+ - 455c31dd: Fixed disabled Accordions not showing a disabled cursor.
869
+ - 10ea2ca2: Fixed Card and Panel setting text properties by mistake, impacting content within inheriting wrong values.
870
+ - cfeeb51d: Fixed Tooltips showing without any content.
871
+
872
+ ## 1.15.0
873
+
874
+ ### Minor Changes
875
+
876
+ - b2dd61d7: Added Pagination
877
+
878
+ Pagination helps users navigate easily between content separated into multiple pages.
879
+
880
+ ```tsx
881
+ <Pagination count={5}>
882
+ <Paginator />
883
+ </Pagination>
884
+ ```
885
+
886
+ - 69549229: Added `Scrim`.
887
+
888
+ `Scrim` is a temporary, semi-transparent layer that makes underlying content less prominent.
889
+
890
+ ```tsx
891
+ <Scrim open={open} />
892
+ ```
893
+
894
+ - 907397e2: Added NavigationItem
895
+
896
+ NavigationItem allows users to navigate between distinct applications and website pages.
897
+
898
+ ```tsx
899
+ <NavigationItem href="#">Label</NavigationItem>
900
+ ```
901
+
902
+ - 340ff478: Updated `useToggleButtonGroup` to return the orientation of the group.
903
+
904
+ ## 1.14.0
905
+
906
+ ### Minor Changes
907
+
908
+ - 91d22148: Added `Pill` to Core
909
+
910
+ `PillNext` is a small visual element that can contain descriptive text and an icon. You can use pills to label, tag or categorize content. With pills, users can trigger actions, make selections or filter results.
911
+
912
+ ```tsx
913
+ <Pill onClick={handleClick}>Clickable Pill</Pill>
914
+ ```
915
+
916
+ ### Patch Changes
917
+
918
+ - 5f449172: Fixed incorrect aria attributes on `RadioButtonGroup` and `CheckboxGroup`, which caused Screen Readers to incorrectly report the group's label as the radio button or checkbox's accessible name.
919
+ - d9ce0737: Replaced incorrect usage of nullish operators.
920
+ - 32dbea7e: Update `ToggleButton` props to use `ComponentPropsWithoutRef`.
921
+ - 48f6c20c: Fixed Tooltip not honoring `disabled` prop when used in Form Field
922
+
923
+ ## 1.13.4
924
+
925
+ ### Patch Changes
926
+
927
+ - 70fad5a1: Updated @floating-ui/react to 0.26.5.
928
+ - c49c246e: Removed redundant Icon color overrides.
929
+ - b4d72c16: Fixed FloatingComponent types
930
+ - dbe8571b: Fixed Input placeholder color.
931
+
932
+ ## 1.13.3
933
+
934
+ ### Patch Changes
935
+
936
+ - f7fcbd11: Fixed issue where components are not injecting their styles.
937
+ - bb250947: Fixed `Badge` appearing over `Dialogs` due to an incorrect z-index.
938
+
939
+ ## 1.13.2
940
+
941
+ ### Patch Changes
942
+
943
+ - 2ca80cb7: Fixed Input and Multiline Input button adornments being clipped if they contain text.
944
+ Fixed nested buttons being affected by overrides applied to Input and Multiline Input button adornments.
945
+ Fixed Multiline Input button adornments being an incorrect size.
946
+ - d6e2e2c1: Fixed nested Salt Providers not inheriting a parent provider's `enableStyleInjection` value.
947
+
948
+ ## 1.13.1
949
+
950
+ ### Patch Changes
951
+
952
+ - 7f58c773: Fixed Tooltip breaking when used inside a Form Field with an invalid value passed to the `validationStatus` prop.
953
+
954
+ ## 1.13.0
955
+
956
+ ### Minor Changes
957
+
958
+ - c85334b5: `Text` component has two new variants: `TextAction` and `TextNotation`. See [Text component](/salt/components/text) for more information.
959
+
960
+ ```tsx
961
+ <Text styleAs="notation" as="span">Lorem ipsum</Text>
962
+ <Text styleAs="action" as="span">Lorem ipsum</Text>
963
+ ```
964
+
965
+ ```tsx
966
+ <TextNotation>Lorem ipsum</TextNotation>
967
+ <TextAction>Lorem ipsum</TextAction>
968
+ ```
969
+
970
+ ## 1.12.0
971
+
972
+ ### Minor Changes
973
+
974
+ - 966c362f: Supports turning off style injection via `SaltProvider`.
975
+
976
+ ```tsx
977
+ <SaltProvider enableStyleInjection={false} >
978
+ ```
979
+
980
+ Expose a CSS file that allows Salt to be used without runtime CSS injection.
981
+
982
+ ```tsx
983
+ import "@salt-ds/core/css/salt-core.css";
984
+ ```
985
+
986
+ - feb80146: **_Theming and CSS updates_** with visual changes to Salt components:
987
+
988
+ 1. Minor changes in `Button` component width as font weight gets updated. Font weight for two button variants,`CTA` and `Primary` changed from bold to semi-bold. Expect components containing Salt `Button` to have similar change.
989
+
990
+ ```diff
991
+ - --salt-actionable-cta-fontWeight
992
+ - --salt-actionable-primary-fontWeight
993
+ - --salt-actionable-secondary-fontWeight
994
+ + --salt-text-action-fontWeight
995
+ ```
996
+
997
+ ![Button before and after](/packages/core/images/buttons-old-and-new.png)
998
+
999
+ 2. Disabled `InteractableCard` component has default border color updated from blue to grey.
1000
+
1001
+ ```diff
1002
+ - --salt-accent-borderColor-disabled
1003
+ + --salt-container-primary-borderColor-disabled
1004
+ ```
1005
+
1006
+ ![Interactable Card before and after](/packages/core/images/card-old-and-new.png)
1007
+
1008
+ 3. `Avatar` component line height in HD updated from `11px` to `10px`.
1009
+
1010
+ 4. Small `Spinner` component size in HD updated from `12px` to `10px`.
1011
+
1012
+ **_Theming and CSS updates_** with no visual change to Salt components, useful for teams overriding theme locally:
1013
+
1014
+ - `Avatar` component CSS token name updated
1015
+
1016
+ ```diff
1017
+ - --salt-icon-size-base
1018
+ + --salt-size-icon
1019
+ ```
1020
+
1021
+ - 01fa27ad: Added Badge.
1022
+
1023
+ Badge is a numeric or alpha character annotation that represents a number of items. It appears either on the top-right of an element, or inline.
1024
+
1025
+ ```
1026
+ <Badge value={9}>
1027
+ <Button>
1028
+ <NotificationSolidIcon />
1029
+ </Button>
1030
+ </Badge>
1031
+ ```
1032
+
1033
+ - c6f5feeb: Added a secondary variant to `Card` and `InteractableCard` via their `variant` prop.
1034
+
1035
+ ```tsx
1036
+ <Card variant="secondary" />
1037
+ <InteractableCard variant="secondary" />
1038
+ ```
1039
+
1040
+ ### Patch Changes
1041
+
1042
+ - 9dbe7f4c: Fixed component text properties (`font-weight`, `font-family`, `font-size`, `line-height`) incorrectly inheriting external global styles, which should follow the text characteristic from the Salt theme.
1043
+
1044
+ - Avatar
1045
+ - Badge
1046
+ - Banner
1047
+ - Card
1048
+ - Form Field
1049
+ - Panel
1050
+ - Switch
1051
+ - Text
1052
+ - Toast
1053
+ - Tooltip
1054
+
1055
+ - bb41157b: Fixed alignment for Checkbox and Radio Button. They are now correctly aligned to their labels.
1056
+ Fixed alignment for Checkbox Group and Radio Button Group when in a Form Field with label left. The Form Field label is now inline with the groups.
1057
+
1058
+ ## 1.11.1
1059
+
1060
+ ### Patch Changes
1061
+
1062
+ - 1ae74f49: Fix Tooltip status icon alignment
1063
+
1064
+ ## 1.11.0
1065
+
1066
+ ### Minor Changes
1067
+
1068
+ - 90fa68a1: Added Switch.
1069
+
1070
+ Switch is a binary control used to toggle between two different states. When interacted with, the thumb of the switch travels along the track to indicate state. Switch is used to control settings, preferences, or actions within an application or system.
1071
+
1072
+ ```tsx
1073
+ const [checked, setChecked] = useState(false);
1074
+
1075
+ const handleChange = (event: ChangeEvent<HTMLInputElement>) => {
1076
+ setChecked(event.target.checked);
1077
+ onChange?.(event);
1078
+ };
1079
+
1080
+ return <Switch checked={checked} onChange={handleChange} />;
1081
+ ```
1082
+
1083
+ - 90abd261: Added `medium` size as an alias for `default` to Spinner component to make it more consistent with other components. `default` will be deprecated and removed in the future.
1084
+
1085
+ ### Patch Changes
1086
+
1087
+ - 4f95aa96: Fixed the Viewport Provider not setting initial viewport measurements.
1088
+ - e7cdafa4: Fixed Radio Button and Checkbox incorrectly inheriting text styles.
1089
+
1090
+ ## 1.10.0
1091
+
1092
+ ### Minor Changes
1093
+
1094
+ - 319140a6: Add `small` size to Spinner
1095
+
1096
+ ### Patch Changes
1097
+
1098
+ - 7b8a169a: Added flex-grow to splitLayout so it takes 100% of the container's direction
1099
+ - 7d846f2f: fix gap multiplier for StackLayout and FlexLayout touch
1100
+
1101
+ ## 1.9.1
1102
+
1103
+ ### Patch Changes
1104
+
1105
+ - 45eaeeb5: Fix `useId` not found error bundled by Webpack
1106
+
1107
+ ## 1.9.0
1108
+
1109
+ ### Minor Changes
1110
+
1111
+ - d972ead6: ## Added desktop support for Tooltips
1112
+
1113
+ Advanced Desktop support can now be achieved for floating components such as `<Tooltip>`, `<Dropdown>` and `<Combobox>` by passing a [Floating UI Platform](https://floating-ui.com/docs/platform) via a new `<FloatingPlatformProvider>` component.
1114
+
1115
+ This enables advanced use-cases e.g. on multi-window desktop applications for example where you may want to render a `Tooltip` in an external window, and position it relative to a global coordinate space such as a user's desktop.
1116
+
1117
+ To support this use-case you can also pass a component to be used as the root for floating components such as `<Tooltip>`, overriding the default. This is done using the `<FloatingComponentProvider>`. The component used as the FloatingComponent will receive the Floating UI props used for positioning, as well as `open`, so you can hook into the Tooltip
1118
+ s lifecycle e.g. to activate external windows.
1119
+
1120
+ ### Patch Changes
1121
+
1122
+ - 49614c3a: Remove Button's min-height
1123
+ - d8470fee: Fixes extra padding below a control in Form Field when no helper text provided
1124
+
1125
+ ## 1.8.2
1126
+
1127
+ ### Patch Changes
1128
+
1129
+ - dfdf4c26: Checkbox and RadioButton readonly states made focusable by default
1130
+ - 6c2d10d7: Added new internal --statusIndicator-Color css variable for StatusIndicator. Additionally StatusIndicator will now set `color` as well as the `saltIcon-color` css variable
1131
+ - c7ce7642: Remove extra styling from `Card` and `InteractableCard`. This should make them more generic and easier to use.
1132
+ - 2b34c155: Fixed bug in GridLayout where `columnGap` and `rowGap` couldn't be set to zero
1133
+ - 402e13f7: Browser compatibility CSS changes.
1134
+
1135
+ Added missing prefix to `appearance` and revert `padding-inline`, `padding-block` and `margin-block` to improve browser compatibility with Chrome 79
1136
+
1137
+ ## 1.8.1
1138
+
1139
+ ### Patch Changes
1140
+
1141
+ - fa77a894: Input and MultilineInput readonly states made focusable by default
1142
+ - 83c537a5: Fix svg centering when used as icon in `Checkbox` and `RadioButton`.
1143
+
1144
+ ## 1.8.0
1145
+
1146
+ ### Minor Changes
1147
+
1148
+ - b2ca1f11: Add MultilineInput.
1149
+
1150
+ Multiline Input provides an editable text area in which users can enter multiple lines of text and numeric values.
1151
+
1152
+ ```tsx
1153
+ <MultilineInput defaultValue="Value" />
1154
+ ```
1155
+
1156
+ ### Patch Changes
1157
+
1158
+ - ce0c73b7: Remove selected hover styles from Checkbox and Radio Button.
1159
+ - 90e4604b: Add scrollIntoView on Toast mount
1160
+ - 73bb60df: Add margin bottom on Toast
1161
+ - a1c95484: Fixed spacing between status icon and helper text in Form Field
1162
+ - e070e76d: Fix alignment of label in Form Field when positioned left or right
1163
+ - a6f83794: Fix Radio Button read-only icon
1164
+ - 1f10586c: Fixed spacing between necessity asterisk and label in Form Field
1165
+ - 8f99ee39: Updated font-weight of strong Label to use --salt-text-label-fontWeight-strong
1166
+ - 6fcf20a3: Fixed control size in Radio Button to match the shown icon size.
1167
+ - ecb9893c: Fixed interactable card styles clashing with card styles in the production build
1168
+ - 4c5fe903: Updated the Accordion styling.
1169
+
1170
+ - Added `status` to the `Accordion` component.
1171
+ - Removed the hover styling from the `Accordion` component.
1172
+ - Moved the border from the bottom of the accordion to the top.
1173
+ - Added a fade animation to the accordion contents.
1174
+ - Updated the arrow rotation animation.
1175
+
1176
+ ## 1.8.0-rc.5
1177
+
1178
+ ### Minor Changes
1179
+
1180
+ - 6c86e078: Add Toast and ToastContent.
1181
+
1182
+ Displays a small pop-up notification that’s usually short-lived and shown in response to a user action or system event unrelated to the user’s current focus.
1183
+
1184
+ ```tsx
1185
+ <Toast>
1186
+ <ToastContent>Toast content</ToastContent>
1187
+ <Button variant="secondary">
1188
+ <CloseIcon />
1189
+ </Button>
1190
+ </Toast>
1191
+ ```
1192
+
1193
+ ### Patch Changes
1194
+
1195
+ - 6099c82a: Removed "user-select:none" from Button
1196
+ - 087496e3: Fixed placeholder styling in Input
1197
+ Fixed activation indicator width on readonly variant in Input when active
1198
+ Fixed spacing between multiple adornment buttons
1199
+ Fixed adornment button height and width
1200
+ - b5e70f08: Fixed Checkbox Group crashing when a Checkbox was toggled in React 16
1201
+ - 58a6de9a: The `pronounced` prop has been replaced with the `intent` prop.
1202
+
1203
+ ```diff
1204
+ - <FormLabel pronounced />
1205
+ + <FormLabel intent="sentence" />
1206
+ ```
1207
+
1208
+ - abfc4364: Corrected the minimum supported version of React. It has been updated to 16.14.0 due to the support for the new [JSX transform](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html)
1209
+
1210
+ ## 1.8.0-rc.4
1211
+
1212
+ ### Minor Changes
1213
+
1214
+ - 00f04b17: Add ToggleButton and ToggleButtonGroup.
1215
+
1216
+ The Toggle Button Group allows users to make a mutually exclusive selection from a set of related commands—with only one option selected at a time.
1217
+ This Toggle Button allows users to enable or disable a single command.
1218
+
1219
+ ```tsx
1220
+ <ToggleButtonGroup>
1221
+ <ToggleButton value="all">
1222
+ <AppSwitcherIcon aria-hidden />
1223
+ All
1224
+ </ToggleButton>
1225
+ <ToggleButton value="active">
1226
+ <VisibleIcon aria-hidden />
1227
+ Active
1228
+ </ToggleButton>
1229
+ <ToggleButton disabled value="search">
1230
+ <FolderClosedIcon aria-hidden />
1231
+ Archived
1232
+ </ToggleButton>
1233
+ </ToggleButtonGroup>
1234
+ ```
1235
+
1236
+ - 58cf03cf: Add AccordionGroup, AccordionPanel, Accordion, AccordionHeader.
1237
+
1238
+ A pane containing summary content, which can then be expanded or collapsed to allow the user to show or hide content.
1239
+
1240
+ ```tsx
1241
+ <AccordionGroup>
1242
+ <Accordion
1243
+ expanded={expanded === "accordion-0"}
1244
+ value="accordion-0"
1245
+ onToggle={onChange}
1246
+ >
1247
+ <AccordionHeader>AccordionHeader0</AccordionHeader>
1248
+ <AccordionPanel>AccordionPanel0</AccordionPanel>
1249
+ </Accordion>
1250
+ <Accordion
1251
+ expanded={expanded === "accordion-1"}
1252
+ value="accordion-1"
1253
+ onToggle={onChange}
1254
+ >
1255
+ <AccordionHeader>AccordionHeader1</AccordionHeader>
1256
+ <AccordionPanel>AccordionPanel1</AccordionPanel>
1257
+ </Accordion>
1258
+ </AccordionGroup>
1259
+ ```
1260
+
1261
+ ### Patch Changes
1262
+
1263
+ - 89a3da4c: Fixed Checkbox and Radio Button border style incorrectly using `--salt-container-borderStyle`.
1264
+
1265
+ ## 1.8.0-rc.3
1266
+
1267
+ ### Minor Changes
1268
+
1269
+ - 0a1c9d9d: Refactored Checkbox to align styling.
1270
+ Add readOnly support to Checkbox.
1271
+
1272
+ ```tsx
1273
+ <CheckboxGroup>
1274
+ <Checkbox readOnly label="readonly checkbox" />
1275
+ <Checkbox readOnly indeterminate label="readonly indeterminate checkbox" />
1276
+ <Checkbox readOnly checked label="readonly checked checkbox" />
1277
+ </CheckboxGroup>
1278
+ ```
1279
+
1280
+ - 21a76576: Refactored Radio Button to align styling.
1281
+ Added readOnly support to Radio Button.
1282
+
1283
+ ```tsx
1284
+ <RadioButtonGroup readOnly>
1285
+ <RadioButton label="Readonly" value="Readonly" />
1286
+ <RadioButton label="Checked Readonly" value="Readonly-checked" checked />
1287
+ </RadioButtonGroup>
1288
+ ```
1289
+
1290
+ ### Patch Changes
1291
+
1292
+ - 4329d8c7: Update Button and Toggle Button to have a fixed gap between icons and text.
1293
+ - 0a1c9d9d: Fix inputProps overwriting internal Checkbox props
1294
+ - 21a76576: Fixed inputProps overwriting internal Radio Button props
1295
+ - 95188004: Alignment of StatusAdornment has been fixed
1296
+
1297
+ ## 1.8.0-rc.2
1298
+
1299
+ ### Major Changes
1300
+
1301
+ - 67199b0b: Removed `AdornmentButton`. Replace usages with the `Button` component.
1302
+
1303
+ ```diff
1304
+ - <Input
1305
+ - defaultValue="Value"
1306
+ - startAdornment={<AdornmentButton>Test</AdornmentButton>}
1307
+ - data-testid="test-id-3"
1308
+ - />
1309
+ + <Input
1310
+ + defaultValue="Value"
1311
+ + startAdornment={<Button>Test</Button>}
1312
+ + data-testid="test-id-3"
1313
+ + />
1314
+ ```
1315
+
1316
+ ```diff
1317
+ - <Input
1318
+ - disabled
1319
+ - defaultValue="Value"
1320
+ - startAdornment={<AdornmentButton>Test</AdornmentButton>}
1321
+ - data-testid="test-id-3"
1322
+ - />
1323
+ + <Input
1324
+ + disabled
1325
+ + defaultValue="Value"
1326
+ + startAdornment={<Button disabled>Test</Button>}
1327
+ + data-testid="test-id-3"
1328
+ + />
1329
+ ```
1330
+
1331
+ **Note:** You will need to pass `disabled` to the `Button` component if the `Input` is disabled.
1332
+
1333
+ ### Minor Changes
1334
+
1335
+ - 9668b500: Fixed invalid ARIA attribute console errors when using Input
1336
+ - cdec98d2: Added `validationStatus` prop to RadioButton and Checkbox allowing for error and warning status
1337
+ Deprecated `error` prop in RadioButton and Checkbox: Use `validationStatus="error"` instead
1338
+
1339
+ Added `validationStatus` prop to RadioButtonGroupContext and CheckboxGroupContext allowing for error and warning status on the group as a whole
1340
+
1341
+ - 598be79d: Added `necessity` prop to FormFieldLabel
1342
+ - b3e511e9: Add support for Checkbox/RadioButton used alone (not in group context) within a Form Field with status
1343
+
1344
+ Disables Checkbox/RadioButton focus ring when parent Form Field is disabled
1345
+
1346
+ `AdornmentValidationStatus` type exposed for status adornments. Type of `validationStatus` changed in Checkbox and RadioButton to `AdornmentValidationStatus`.
1347
+
1348
+ - feda4061: **_Significant styling change_**
1349
+
1350
+ Removed disabled error style variant from Checkbox. Error styling will now only show if component is not disabled.
1351
+
1352
+ - 3de30c35: Added stories to show Form Field Group as a pattern, with usage of Stack and Grid Layout components and shared props across Form Fields and controls
1353
+
1354
+ Added "right" as an option to `FormFieldLabelPlacement` type used in FormField `labelPlacement` prop
1355
+
1356
+ - e851d2ba: Removed the `FormFieldControlWrapper` component and `useControlWrapper` hook.
1357
+ To replace usages of the wrapper for Form Fields with multiple children, use the `StackLayout` component with a `gap` of `1` to get the recommended layout and set the `role` to `"group"` or `as` to `"fieldset"` for accessibility. The `variant` on each child should be set directly or with shared props.
1358
+ - 52c2e1ce: Fixed Form Field label incorrectly inheriting text alignment.
1359
+ - 82b162d3: `Checkbox` and `RadioButton` updated to use FormFieldContext
1360
+ When wrapped within a FormField component, values from Form Field now have precedence in these controls over any directly applied disabled and error validation status
1361
+ - 3425ea96: **_Significant styling change_**
1362
+
1363
+ Removed disabled error style variant from Radio Button. Error styling will now only show if component is not disabled.
1364
+
1365
+ ### Patch Changes
1366
+
1367
+ - 5b60aa72: Increased spacing between Checkbox/Radio Button and value, and spacing between each when horizontally grouped
1368
+ - 7ca8c510: Design fix on Form Field
1369
+
1370
+ - Left aligned label on wrapped text: Ensures label stays in line with Input text.
1371
+ - Success status adornment color corrected.
1372
+ - Spacing changes between adornments.
1373
+
1374
+ - 62bb0f8d: - Sort breakpoints in `useResponsiveProps` so it can handle unordered props.
1375
+ - Fix flickering bug on breakpoint change when values passed to `useResponsiveProps` are the same.
1376
+
1377
+ ## 1.8.0-rc.1
1378
+
1379
+ ### Minor Changes
1380
+
1381
+ - 287cb5fa: Form Field supports helper text within a nested Tooltip
1382
+
1383
+ Tooltip uses FormFieldContext which has precedence over any disabled and status given to Tooltip when wrapped within a FormField component
1384
+
1385
+ - 2da87f0b: Added `placeholder` prop to Input: Placeholder can be used when no default value is given to promopt user input
1386
+ - 49fa6ad5: Added `AdornmentButton` component as an interactive adornment to be used within Input
1387
+ - 8d5a8c9f: Added `startAdornment` and `endAdornment` props to Input: Allows for custom adornments to be used within the Input component
1388
+
1389
+ ### Patch Changes
1390
+
1391
+ - c4df0491: The default Card design has been changed to include a border to enhance visual accessibility.
1392
+
1393
+ ## 1.8.0-rc.0
1394
+
1395
+ ### Minor Changes
1396
+
1397
+ - 58c6699f: Input: `aria-describedby` is now merged between the value from Form Field context if present and the value from inputProps
1398
+ - bf5a9441: Updated `RadioButtonGroup` to use renamed token from `FormFieldLegacy`
1399
+ - 9d68637a: Moved form-field-next and form-field-context-next to core as form-field and form-field-context
1400
+
1401
+ `FormField`: First version of Form Field built with a compositional API by providing the following components alongside:
1402
+ `FormFieldHelperText`: Helper text component
1403
+ `FormFieldLabel`: Form label component (compatible with left and top placement)
1404
+ `FormFieldControlWrapper`: Styling container for controls used within Form Field
1405
+
1406
+ `FormFieldContext`, `useFormFieldProps`: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field
1407
+
1408
+ - eb3db91c: Removed `startAdornment` and `endAdornment` props from `InputNext`. Props will be added back once adornments come in v2
1409
+
1410
+ Moved input-next to core as input
1411
+
1412
+ `Input`: First version of `InputNext` renamed to Input
1413
+
1414
+ - All tokens prefixed `--saltInputNext-` changed to prefix `--saltInput-`
1415
+
1416
+ Moved status-adornment to core
1417
+
1418
+ `StatusAdornment`: Component to be used for validation status indication
1419
+
1420
+ - d78ff537: Refactored all components to use new style injection mechanism provided by `@salt-ds/styles`
1421
+
1422
+ ### Patch Changes
1423
+
1424
+ - 46af9f8c: Move Banner to core
1425
+
1426
+ ## 1.7.1
1427
+
1428
+ ### Patch Changes
1429
+
1430
+ - 1e9ef1a2: Fix duplicate Salt libraries being installed when multiple libraries are installed
1431
+
1432
+ ## 1.7.0
1433
+
1434
+ ### Minor Changes
1435
+
1436
+ - d7ed50d5: Remove text decoration of inner text in Card when wrapped in a link
1437
+
1438
+ ### Patch Changes
1439
+
1440
+ - 9f3800d2: Update Tooltip props to account for the new content attribute introduced in @types/react@18.2.4
1441
+ - 528aa923: Fix Checkbox having incorrect icon style when in the disabled state and hovered over
1442
+ - 7f83323a: Fix mergeProps not respecting null values
1443
+
1444
+ ## 1.6.0
1445
+
1446
+ ### Minor Changes
1447
+
1448
+ - bf66b578: Deprecated -emphasize tokens in status and palette; replaced with default tokens
1449
+
1450
+ `--salt-status-error-background-emphasize` replaced with `--salt-status-error-background`
1451
+ `--salt-status-info-background-emphasize` replaced with `--salt-status-info-background`
1452
+ `--salt-status-success-background-emphasize` replaced with `--salt-status-success-background`
1453
+ `--salt-status-warning-background-emphasize` replaced with `--salt-status-warning-background`
1454
+
1455
+ `--salt-palette-error-background-emphasize` replaced with `--salt-palette-error-background`
1456
+ `--salt-palette-info-background-emphasize` replaced with `--salt-palette-info-background`
1457
+ `--salt-palette-success-background-emphasize` replaced with `--salt-palette-success-background`
1458
+ `--salt-palette-warning-background-emphasize` replaced with `--salt-palette-warning-background`
1459
+
1460
+ - ea857f24: Deprecated `--salt-size-icon-base`, replaced with `--salt-icon-size-base`
1461
+ Added `--salt-icon-size-status-adornment`
1462
+ - 47132c22: Added `FormFieldNext` component with associated `FormFieldLabel` and `FormFieldHelperText` components
1463
+ Added `FormFieldContextNext`, `useFormFieldPropsNext`
1464
+ Added `InputNext` component
1465
+ - a6ede40d: Render Tooltip in a portal to avoid it being cut off
1466
+
1467
+ Add mergeProps to utils.
1468
+
1469
+ Upgraded @floating-ui//react to v0.23.0
1470
+
1471
+ ### Patch Changes
1472
+
1473
+ - fe818c66: Fix Tooltip having incorrect text styles when being nested in elements with custom text styles.
1474
+
1475
+ ## 1.5.0
1476
+
1477
+ ### Minor Changes
1478
+
1479
+ - 9bee69f4: Move `Checkbox` from lab to core
1480
+ - ea010ffa: New `--salt-size-container-spacing` and `--salt-size-adornmentGap` tokens
1481
+
1482
+ ```diff
1483
+ + --salt-size-container-spacing: calc(3 * var(--salt-size-unit));
1484
+ + --salt-size-adornmentGap: calc(0.75 * var(--salt-size-unit));
1485
+ ```
1486
+
1487
+ - 4a51e4c6: Add Radio Button and Radio Button Group
1488
+ - 9edfa980: Panel color css attribute changed from `inherit` to `initial`
1489
+ - 85647494: Move capitalize util from lab to core
1490
+ - f301f43c: Deprecated `interactable` and `disabled` props in Card
1491
+ Created `InteractableCard` component for Cards which can perform an action, e.g. linking to a different page or content
1492
+
1493
+ To migrate from the previous to new implementation:
1494
+
1495
+ ```diff
1496
+ - import { Card } from "@salt-ds/core";
1497
+ -
1498
+ - const MyInteractableCard = () => (
1499
+ - <Card interactable />
1500
+ - );
1501
+
1502
+ - const MyInteractableDisabledCard = () => (
1503
+ - <Card interactable disabled />
1504
+ - );
1505
+
1506
+ + import { InteractableCard } from "@salt-ds/core";
1507
+ +
1508
+ + const MyInteractableCard = () => (
1509
+ + <InteractableCard />
1510
+ + );
1511
+ +
1512
+ + const MyInteractableDisabledCard = () => (
1513
+ + <InteractableCard disabled />
1514
+ + );
1515
+ ```
1516
+
1517
+ - 8d54ce2a: Make hiding icons in external links easier
1518
+
1519
+ ```tsx
1520
+ <Link IconComponent={null} href="#root" target="_blank">
1521
+ This has no icon
1522
+ </Link>
1523
+ ```
1524
+
1525
+ ### Patch Changes
1526
+
1527
+ - 0c33a60c: Fix Avatar fallback not working
1528
+ - 8d29c01f: - Fix Text components missing a font family.
1529
+ - Apply new font family variables from `@salt-ds/theme` to Text components
1530
+
1531
+ ## 1.4.0
1532
+
1533
+ ### Minor Changes
1534
+
1535
+ - 974c92da: - New characteristics introduced in `accent`, new palette token
1536
+
1537
+ ```diff
1538
+ + --salt-accent-background-disabled: var(--salt-palette-accent-background-disabled);
1539
+ + --salt-palette-accent-background-disabled
1540
+ ```
1541
+
1542
+ - New characteristics introduced in `selectable`, new palette tokens
1543
+
1544
+ ```diff
1545
+ + --salt-selectable-foreground: var(--salt-palette-interact-foreground);
1546
+ + --salt-selectable-foreground-disabled: var(--salt-palette-interact-foreground-disabled);
1547
+ + --salt-selectable-foreground-hover: var(--salt-palette-interact-foreground-hover);
1548
+ + --salt-selectable-foreground-selected: var(--salt-palette-interact-foreground-active);
1549
+ + --salt-selectable-foreground-selectedDisabled: var(--salt-palette-interact-foreground-activeDisabled);
1550
+ + --salt-palette-interact-foreground-active
1551
+ + --salt-palette-interact-foreground-activeDisabled
1552
+ + --salt-palette-interact-foreground-hover
1553
+ ```
1554
+
1555
+ Updated values in light mode
1556
+
1557
+ ```diff
1558
+ - --salt-palette-interact-foreground: var(--salt-color-gray-900);
1559
+ + --salt-palette-interact-foreground: var(--salt-color-gray-200);
1560
+ - --salt-palette-interact-foreground-disabled: var(--salt-color-gray-900-fade-foreground);
1561
+ + --salt-palette-interact-foreground-disabled: var(--salt-color-gray-200-fade-foreground);
1562
+ - --salt-palette-interact-foreground-hover: var(--salt-color-gray-500);
1563
+ + --salt-palette-interact-foreground-hover: var(--salt-color-blue-500);
1564
+ ```
1565
+
1566
+ Updated values in dark mode
1567
+
1568
+ ```diff
1569
+ - --salt-palette-interact-foreground: var(--salt-color-white);
1570
+ + --salt-palette-interact-foreground: var(--salt-color-gray-90);
1571
+ - --salt-palette-interact-foreground-disabled: var(--salt-color-white-fade-foreground);
1572
+ + --salt-palette-interact-foreground-disabled: var(--salt-color-gray-90-fade-foreground);
1573
+ - --salt-palette-interact-foreground-hover: var(--salt-color-gray-500);
1574
+ + --salt-palette-interact-foreground-hover: var(--salt-color-blue-500);
1575
+ ```
1576
+
1577
+ - Deprecated the following `selectable` tokens, use `--salt-text-primary-foreground` and `--salt-text-primary-foreground-disabled` as replacements
1578
+
1579
+ ```diff
1580
+ - --salt-selectable-cta-foreground
1581
+ - --salt-selectable-cta-foreground-disabled
1582
+ - --salt-selectable-primary-foreground
1583
+ - --salt-selectable-primary-foreground-disabled
1584
+ - --salt-selectable-secondary-foreground
1585
+ - --salt-selectable-secondary-foreground-disabled
1586
+ - --salt-selectable-foreground-partial
1587
+ - --salt-selectable-foreground-partialDisabled
1588
+ ```
1589
+
1590
+ - `Measured` characteristic replaced with `Track`
1591
+
1592
+ Deprecated tokens prefixed by `--salt-measured-` and corresponding palette tokens
1593
+ New `--salt-track-` tokens and corresponding palette tokens
1594
+
1595
+ The following are a direct replacement mapping:
1596
+
1597
+ ```diff
1598
+ - --salt-measured-borderStyle
1599
+ - --salt-measured-borderStyle-active
1600
+ - --salt-measured-borderStyle-complete
1601
+ - --salt-measured-borderStyle-incomplete
1602
+ + --salt-track-borderStyle
1603
+ + --salt-track-borderStyle-active
1604
+ + --salt-track-borderStyle-complete
1605
+ + --salt-track-borderStyle-incomplete
1606
+ - --salt-measured-borderWidth
1607
+ - --salt-measured-borderWidth-active
1608
+ - --salt-measured-borderWidth-complete
1609
+ - --salt-measured-borderWidth-incomplete
1610
+ + --salt-track-borderWidth
1611
+ + --salt-track-borderWidth-active
1612
+ + --salt-track-borderWidth-complete
1613
+ + --salt-track-borderWidth-incomplete
1614
+ - --salt-measured-fontWeight
1615
+ - --salt-measured-textAlign
1616
+ + --salt-track-fontWeight
1617
+ + --salt-track-textAlign
1618
+ - --salt-measured-background: var(--salt-palette-measured-background);
1619
+ - --salt-measured-background-disabled: var(--salt-palette-measured-background-disabled);
1620
+ - --salt-measured-borderColor: var(--salt-palette-measured-border);
1621
+ + --salt-track-background: var(--salt-palette-track-background);
1622
+ + --salt-track-background-disabled: var(--salt-palette-track-background-disabled);
1623
+ + --salt-track-borderColor: var(--salt-palette-track-border);
1624
+ + --salt-track-borderColor-disabled: var(--salt-palette-track-border-disabled);
1625
+ - --salt-palette-measured-background
1626
+ - --salt-palette-measured-background-disabled
1627
+ - --salt-palette-measured-border
1628
+ - --salt-palette-measured-border-disabled
1629
+ + --salt-palette-track-background
1630
+ + --salt-palette-track-background-disabled
1631
+ + --salt-palette-track-border
1632
+ + --salt-palette-track-border-disabled
1633
+ ```
1634
+
1635
+ The following should be replaced with the corresponding `selectable` tokens:
1636
+
1637
+ ```diff
1638
+ - --salt-measured-foreground: var(--salt-palette-measured-foreground);
1639
+ - --salt-measured-foreground-disabled: var(--salt-palette-measured-foreground-disabled);
1640
+ - --salt-measured-foreground-hover: var(--salt-palette-measured-foreground-active);
1641
+ - --salt-measured-foreground-active: var(--salt-palette-measured-foreground-active);
1642
+ - --salt-measured-foreground-activeDisabled: var(--salt-palette-measured-foreground-activeDisabled);
1643
+ - --salt-measured-borderColor-disabled: var(--salt-palette-measured-border-disabled);
1644
+ ```
1645
+
1646
+ The following should be replaced with the corresponding `accent` background tokens:
1647
+
1648
+ ```diff
1649
+ - --salt-measured-fill: var(--salt-palette-measured-fill);
1650
+ - --salt-measured-fill-disabled: var(--salt-palette-measured-fill-disabled);
1651
+ ```
1652
+
1653
+ - Usages of `measured` tokens in core and labs components updated to use appropriate characteristic replacement
1654
+
1655
+ - Deprecated the following tokens, use hex value as replacement if needed:
1656
+
1657
+ ```diff
1658
+ - --salt-measured-foreground-undo: #2670a9
1659
+ - --salt-palette-measured-fill: #2670A9
1660
+ - --salt-palette-measured-fill-disabled: #2670A966
1661
+ - --salt-palette-measured-foreground-active: #2670A9
1662
+ - --salt-palette-measured-foreground-activeDisabled: #2670A966
1663
+ - --salt-palette-interact-foreground-partial: #155C93
1664
+ - --salt-palette-interact-foreground-partialDisabled: #155C93B3
1665
+ ```
1666
+
1667
+ - a483ca9b: Added new `basis` prop to FlexItem to control flex-basis
1668
+
1669
+ ## 1.3.0
1670
+
1671
+ ### Minor Changes
1672
+
1673
+ - 242941c9: Move `Avatar` from lab to core
1674
+ - 9cae606a: Deprecated differential characteristic; replaced tokens with below
1675
+ Moved differential tokens to status characteristic
1676
+ Added 'static' status variant
1677
+
1678
+ ```diff
1679
+ - --salt-differential-positive-foreground
1680
+ - --salt-differential-negative-foreground
1681
+ + --salt-status-positive-foreground
1682
+ + --salt-status-negative-foreground
1683
+ + --salt-status-static-foreground
1684
+ ```
1685
+
1686
+ ### Patch Changes
1687
+
1688
+ - 8b58e28b: Fix AriaAnnouncer not removing announced text from the DOM
1689
+
1690
+ ## 1.2.0
1691
+
1692
+ ### Minor Changes
1693
+
1694
+ - afe57829: Add text background color for highlighted text globally and on Text component
1695
+ - 1e69cf3b: Move `Tooltip` from lab to core
1696
+ Move `useFloatingUI` from lab to core
1697
+ - b1c5c32e: Move Spinner from lab to core
1698
+ - 88673e4a: Add `disabled` prop to Text component
1699
+ - 598991f8: Move `SplitLayout` from lab to core
1700
+ Changes in `SplitLayout`
1701
+
1702
+ - Removed `FlexItem` wraps around `SplitLayout` children.
1703
+ - `SplitLayout` uses `startItem` and `endItem` props as children to allow for direction.
1704
+ - Added `direction` prop to `SplitLayout`.
1705
+ - Remove `wrap` since `SplitLayout` has `direction` to control wrap by breakpoints.
1706
+ - End Aligned `endItem` so the element is always at the end of the layout.
1707
+
1708
+ ## 1.1.0
1709
+
1710
+ ### Minor Changes
1711
+
1712
+ - dfecfc12: extending `as` property from `FlexLayout` to `StackLayout` and `FlowLayout` so they can use polymorphic behaviour
1713
+ - 380bbb91: Remove foundations from 'characteristic' type and add missing characteristic 'differential'
1714
+
1715
+ ```diff
1716
+ - "delay"
1717
+ - "disabled"
1718
+ - "icon"
1719
+ - "shadow"
1720
+ - "size"
1721
+ - "spacing"
1722
+ + "differential"
1723
+ ```
1724
+
1725
+ - 7e660a8d: More Card from lab to core
1726
+ - 4a282d10: - Removed `div` wrapper with `display:content` from `FlexLayout` childrens with separators. This allows styles like `.classname > div` to be passed.
1727
+ - Add separators to `StackLayout`.
1728
+ - Add direction to `StackLayout` to allow horizontal stacks.
1729
+ - b39e51b3: Move `Panel` from lab to core
1730
+
1731
+ ### Patch Changes
1732
+
1733
+ - 7a0effdb: Fix Link not removing underline on hover or focus.
1734
+ - a0724642: Fix SSR support
1735
+ - ed76bb21: Fixed an issue where Text styles would leak into nested text.
1736
+
1737
+ ## 1.0.0
1738
+
1739
+ ### Major Changes
1740
+
1741
+ - c1bc7479: Salt is the J.P. Morgan design system, an open-source solution for building exceptional products and digital experiences in financial services and other industries. It offers you well-documented, accessible components as well as comprehensive design templates, style libraries and assets.
1742
+
1743
+ With this initial release we're providing:
1744
+
1745
+ - AG Grid Theme
1746
+ - Border Layout
1747
+ - Button
1748
+ - Data Grid
1749
+ - Flex Layout
1750
+ - Flow Layout
1751
+ - Grid Layout
1752
+ - Icon
1753
+ - Link
1754
+ - Salt Provider
1755
+ - Stack Layout
1756
+ - Status Indicator
1757
+ - Text
1758
+ - Theme
1759
+
1760
+ And a number of other lab components.