@salt-ds/core 1.37.0 → 1.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1753 -0
- package/css/salt-core.css +75 -37
- package/dist-cjs/accordion/Accordion.js +31 -123
- package/dist-cjs/accordion/Accordion.js.map +1 -1
- package/dist-cjs/accordion/AccordionContext.js +0 -101
- package/dist-cjs/accordion/AccordionContext.js.map +1 -1
- package/dist-cjs/accordion/AccordionGroup.js +1 -103
- package/dist-cjs/accordion/AccordionGroup.js.map +1 -1
- package/dist-cjs/accordion/AccordionHeader.js +33 -136
- package/dist-cjs/accordion/AccordionHeader.js.map +1 -1
- package/dist-cjs/accordion/AccordionPanel.js +22 -117
- package/dist-cjs/accordion/AccordionPanel.js.map +1 -1
- package/dist-cjs/aria-announcer/AriaAnnounce.js +0 -2
- package/dist-cjs/aria-announcer/AriaAnnounce.js.map +1 -1
- package/dist-cjs/aria-announcer/AriaAnnouncerContext.js +0 -2
- package/dist-cjs/aria-announcer/AriaAnnouncerContext.js.map +1 -1
- package/dist-cjs/aria-announcer/AriaAnnouncerProvider.js +8 -10
- package/dist-cjs/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
- package/dist-cjs/aria-announcer/useAriaAnnouncer.js +0 -106
- package/dist-cjs/aria-announcer/useAriaAnnouncer.js.map +1 -1
- package/dist-cjs/avatar/Avatar.js +18 -117
- package/dist-cjs/avatar/Avatar.js.map +1 -1
- package/dist-cjs/avatar/useAvatarImage.js +0 -101
- package/dist-cjs/avatar/useAvatarImage.js.map +1 -1
- package/dist-cjs/badge/Badge.js +8 -108
- package/dist-cjs/badge/Badge.js.map +1 -1
- package/dist-cjs/banner/Banner.js +18 -115
- package/dist-cjs/banner/Banner.js.map +1 -1
- package/dist-cjs/banner/BannerActions.js +1 -103
- package/dist-cjs/banner/BannerActions.js.map +1 -1
- package/dist-cjs/banner/BannerContent.js +1 -103
- package/dist-cjs/banner/BannerContent.js.map +1 -1
- package/dist-cjs/border-item/BorderItem.js +17 -111
- package/dist-cjs/border-item/BorderItem.js.map +1 -1
- package/dist-cjs/border-layout/BorderLayout.js +12 -108
- package/dist-cjs/border-layout/BorderLayout.js.map +1 -1
- package/dist-cjs/breakpoints/BreakpointProvider.js +2 -111
- package/dist-cjs/breakpoints/BreakpointProvider.js.map +1 -1
- package/dist-cjs/breakpoints/Breakpoints.js +0 -2
- package/dist-cjs/breakpoints/Breakpoints.js.map +1 -1
- package/dist-cjs/button/Button.js +24 -120
- package/dist-cjs/button/Button.js.map +1 -1
- package/dist-cjs/button/useButton.js +0 -2
- package/dist-cjs/button/useButton.js.map +1 -1
- package/dist-cjs/card/Card.js +21 -115
- package/dist-cjs/card/Card.js.map +1 -1
- package/dist-cjs/checkbox/Checkbox.css.js +1 -1
- package/dist-cjs/checkbox/Checkbox.js +62 -150
- package/dist-cjs/checkbox/Checkbox.js.map +1 -1
- package/dist-cjs/checkbox/CheckboxGroup.js +32 -123
- package/dist-cjs/checkbox/CheckboxGroup.js.map +1 -1
- package/dist-cjs/checkbox/CheckboxIcon.js +24 -131
- package/dist-cjs/checkbox/CheckboxIcon.js.map +1 -1
- package/dist-cjs/checkbox/internal/CheckboxGroupContext.js +0 -101
- package/dist-cjs/checkbox/internal/CheckboxGroupContext.js.map +1 -1
- package/dist-cjs/checkbox/internal/useCheckboxGroup.js +0 -2
- package/dist-cjs/checkbox/internal/useCheckboxGroup.js.map +1 -1
- package/dist-cjs/combo-box/ComboBox.js +30 -124
- package/dist-cjs/combo-box/ComboBox.js.map +1 -1
- package/dist-cjs/combo-box/useComboBox.js +1 -102
- package/dist-cjs/combo-box/useComboBox.js.map +1 -1
- package/dist-cjs/dialog/Dialog.js +38 -143
- package/dist-cjs/dialog/Dialog.js.map +1 -1
- package/dist-cjs/dialog/DialogActions.js +1 -104
- package/dist-cjs/dialog/DialogActions.js.map +1 -1
- package/dist-cjs/dialog/DialogCloseButton.js +11 -110
- package/dist-cjs/dialog/DialogCloseButton.js.map +1 -1
- package/dist-cjs/dialog/DialogContent.css.js +1 -1
- package/dist-cjs/dialog/DialogContent.js +39 -113
- package/dist-cjs/dialog/DialogContent.js.map +1 -1
- package/dist-cjs/dialog/DialogContext.js +0 -2
- package/dist-cjs/dialog/DialogContext.js.map +1 -1
- package/dist-cjs/dialog/DialogHeader.js +24 -125
- package/dist-cjs/dialog/DialogHeader.js.map +1 -1
- package/dist-cjs/divider/Divider.js +15 -110
- package/dist-cjs/divider/Divider.js.map +1 -1
- package/dist-cjs/drawer/Drawer.js +13 -114
- package/dist-cjs/drawer/Drawer.js.map +1 -1
- package/dist-cjs/drawer/DrawerCloseButton.js +8 -110
- package/dist-cjs/drawer/DrawerCloseButton.js.map +1 -1
- package/dist-cjs/dropdown/Dropdown.js +35 -134
- package/dist-cjs/dropdown/Dropdown.js.map +1 -1
- package/dist-cjs/file-drop-zone/FileDropZone.js +21 -116
- package/dist-cjs/file-drop-zone/FileDropZone.js.map +1 -1
- package/dist-cjs/file-drop-zone/FileDropZoneIcon.js +2 -9
- package/dist-cjs/file-drop-zone/FileDropZoneIcon.js.map +1 -1
- package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js +14 -110
- package/dist-cjs/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
- package/dist-cjs/file-drop-zone/internal/utils.js +1 -4
- package/dist-cjs/file-drop-zone/internal/utils.js.map +1 -1
- package/dist-cjs/flex-item/FlexItem.js +10 -106
- package/dist-cjs/flex-item/FlexItem.js.map +1 -1
- package/dist-cjs/flex-layout/FlexLayout.js +21 -117
- package/dist-cjs/flex-layout/FlexLayout.js.map +1 -1
- package/dist-cjs/flow-layout/FlowLayout.js +1 -9
- package/dist-cjs/flow-layout/FlowLayout.js.map +1 -1
- package/dist-cjs/form-field/FormField.js +30 -121
- package/dist-cjs/form-field/FormField.js.map +1 -1
- package/dist-cjs/form-field/FormFieldHelperText.js +24 -114
- package/dist-cjs/form-field/FormFieldHelperText.js.map +1 -1
- package/dist-cjs/form-field/FormFieldLabel.js +15 -106
- package/dist-cjs/form-field/FormFieldLabel.js.map +1 -1
- package/dist-cjs/form-field-context/FormFieldContext.js +0 -100
- package/dist-cjs/form-field-context/FormFieldContext.js.map +1 -1
- package/dist-cjs/form-field-context/useFormFieldProps.js +0 -2
- package/dist-cjs/form-field-context/useFormFieldProps.js.map +1 -1
- package/dist-cjs/grid-item/GridItem.js +10 -106
- package/dist-cjs/grid-item/GridItem.js.map +1 -1
- package/dist-cjs/grid-layout/GridLayout.js +13 -109
- package/dist-cjs/grid-layout/GridLayout.js.map +1 -1
- package/dist-cjs/index.js +0 -2
- package/dist-cjs/index.js.map +1 -1
- package/dist-cjs/input/Input.js +49 -149
- package/dist-cjs/input/Input.js.map +1 -1
- package/dist-cjs/interactable-card/InteractableCard.js +28 -122
- package/dist-cjs/interactable-card/InteractableCard.js.map +1 -1
- package/dist-cjs/interactable-card/InteractableCardGroup.js +9 -106
- package/dist-cjs/interactable-card/InteractableCardGroup.js.map +1 -1
- package/dist-cjs/interactable-card/InteractableCardGroupContext.js +0 -100
- package/dist-cjs/interactable-card/InteractableCardGroupContext.js.map +1 -1
- package/dist-cjs/interactable-card/useInteractableCard.js +0 -2
- package/dist-cjs/interactable-card/useInteractableCard.js.map +1 -1
- package/dist-cjs/link/Link.js +22 -117
- package/dist-cjs/link/Link.js.map +1 -1
- package/dist-cjs/link-card/LinkCard.js +18 -113
- package/dist-cjs/link-card/LinkCard.js.map +1 -1
- package/dist-cjs/list-box/ListBox.js +8 -106
- package/dist-cjs/list-box/ListBox.js.map +1 -1
- package/dist-cjs/list-control/ListControlContext.js +0 -100
- package/dist-cjs/list-control/ListControlContext.js.map +1 -1
- package/dist-cjs/list-control/ListControlState.js +3 -104
- package/dist-cjs/list-control/ListControlState.js.map +1 -1
- package/dist-cjs/menu/Menu.js +2 -10
- package/dist-cjs/menu/Menu.js.map +1 -1
- package/dist-cjs/menu/MenuBase.js +10 -109
- package/dist-cjs/menu/MenuBase.js.map +1 -1
- package/dist-cjs/menu/MenuContext.js +0 -100
- package/dist-cjs/menu/MenuContext.js.map +1 -1
- package/dist-cjs/menu/MenuGroup.js +14 -114
- package/dist-cjs/menu/MenuGroup.js.map +1 -1
- package/dist-cjs/menu/MenuItem.js +51 -143
- package/dist-cjs/menu/MenuItem.js.map +1 -1
- package/dist-cjs/menu/MenuPanel.js +27 -123
- package/dist-cjs/menu/MenuPanel.js.map +1 -1
- package/dist-cjs/menu/MenuPanelBase.js +1 -7
- package/dist-cjs/menu/MenuPanelBase.js.map +1 -1
- package/dist-cjs/menu/MenuPanelContext.js +0 -100
- package/dist-cjs/menu/MenuPanelContext.js.map +1 -1
- package/dist-cjs/menu/MenuTrigger.js +20 -118
- package/dist-cjs/menu/MenuTrigger.js.map +1 -1
- package/dist-cjs/menu/MenuTriggerContext.js +0 -100
- package/dist-cjs/menu/MenuTriggerContext.js.map +1 -1
- package/dist-cjs/multiline-input/MultilineInput.js +54 -161
- package/dist-cjs/multiline-input/MultilineInput.js.map +1 -1
- package/dist-cjs/navigation-item/ExpansionIcon.js +1 -5
- package/dist-cjs/navigation-item/ExpansionIcon.js.map +1 -1
- package/dist-cjs/navigation-item/NavigationItem.js +32 -132
- package/dist-cjs/navigation-item/NavigationItem.js.map +1 -1
- package/dist-cjs/navigation-item/NavigationItemAction.js +0 -102
- package/dist-cjs/navigation-item/NavigationItemAction.js.map +1 -1
- package/dist-cjs/option/Option.js +32 -120
- package/dist-cjs/option/Option.js.map +1 -1
- package/dist-cjs/option/OptionGroup.js +14 -114
- package/dist-cjs/option/OptionGroup.js.map +1 -1
- package/dist-cjs/option/OptionList.js +17 -117
- package/dist-cjs/option/OptionList.js.map +1 -1
- package/dist-cjs/option/OptionListBase.js +9 -105
- package/dist-cjs/option/OptionListBase.js.map +1 -1
- package/dist-cjs/overlay/Overlay.js +18 -114
- package/dist-cjs/overlay/Overlay.js.map +1 -1
- package/dist-cjs/overlay/OverlayContext.js +0 -100
- package/dist-cjs/overlay/OverlayContext.js.map +1 -1
- package/dist-cjs/overlay/OverlayPanel.js +34 -127
- package/dist-cjs/overlay/OverlayPanel.js.map +1 -1
- package/dist-cjs/overlay/OverlayPanelCloseButton.js +7 -109
- package/dist-cjs/overlay/OverlayPanelCloseButton.js.map +1 -1
- package/dist-cjs/overlay/OverlayPanelContent.css.js +1 -1
- package/dist-cjs/overlay/OverlayPanelContent.js +41 -107
- package/dist-cjs/overlay/OverlayPanelContent.js.map +1 -1
- package/dist-cjs/overlay/OverlayTrigger.js +6 -111
- package/dist-cjs/overlay/OverlayTrigger.js.map +1 -1
- package/dist-cjs/pagination/CompactInput.js +20 -114
- package/dist-cjs/pagination/CompactInput.js.map +1 -1
- package/dist-cjs/pagination/CompactPaginator.js +21 -123
- package/dist-cjs/pagination/CompactPaginator.js.map +1 -1
- package/dist-cjs/pagination/GoToInput.js +31 -114
- package/dist-cjs/pagination/GoToInput.js.map +1 -1
- package/dist-cjs/pagination/PageButton.js +17 -112
- package/dist-cjs/pagination/PageButton.js.map +1 -1
- package/dist-cjs/pagination/PageRanges.js +15 -126
- package/dist-cjs/pagination/PageRanges.js.map +1 -1
- package/dist-cjs/pagination/Pagination.js +6 -103
- package/dist-cjs/pagination/Pagination.js.map +1 -1
- package/dist-cjs/pagination/PaginationContext.js +0 -2
- package/dist-cjs/pagination/PaginationContext.js.map +1 -1
- package/dist-cjs/pagination/Paginator.js +19 -121
- package/dist-cjs/pagination/Paginator.js.map +1 -1
- package/dist-cjs/pagination/usePagination.js +0 -2
- package/dist-cjs/pagination/usePagination.js.map +1 -1
- package/dist-cjs/pagination/usePaginationContext.js +0 -2
- package/dist-cjs/pagination/usePaginationContext.js.map +1 -1
- package/dist-cjs/panel/Panel.js +9 -104
- package/dist-cjs/panel/Panel.js.map +1 -1
- package/dist-cjs/parent-child-layout/ParentChildLayout.js +24 -123
- package/dist-cjs/parent-child-layout/ParentChildLayout.js.map +1 -1
- package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js +0 -103
- package/dist-cjs/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
- package/dist-cjs/pill/Pill.js +17 -115
- package/dist-cjs/pill/Pill.js.map +1 -1
- package/dist-cjs/pill-input/PillInput.js +97 -204
- package/dist-cjs/pill-input/PillInput.js.map +1 -1
- package/dist-cjs/pill-input/useTruncatePills.js +0 -2
- package/dist-cjs/pill-input/useTruncatePills.js.map +1 -1
- package/dist-cjs/progress/CircularProgress/CircularProgress.js +44 -153
- package/dist-cjs/progress/CircularProgress/CircularProgress.js.map +1 -1
- package/dist-cjs/progress/LinearProgress/LinearProgress.js +28 -125
- package/dist-cjs/progress/LinearProgress/LinearProgress.js.map +1 -1
- package/dist-cjs/radio-button/RadioButton.css.js +1 -1
- package/dist-cjs/radio-button/RadioButton.js +60 -150
- package/dist-cjs/radio-button/RadioButton.js.map +1 -1
- package/dist-cjs/radio-button/RadioButtonGroup.js +36 -127
- package/dist-cjs/radio-button/RadioButtonGroup.js.map +1 -1
- package/dist-cjs/radio-button/RadioButtonIcon.js +45 -134
- package/dist-cjs/radio-button/RadioButtonIcon.js.map +1 -1
- package/dist-cjs/radio-button/internal/RadioGroupContext.js +0 -101
- package/dist-cjs/radio-button/internal/RadioGroupContext.js.map +1 -1
- package/dist-cjs/radio-button/internal/useRadioGroup.js +0 -2
- package/dist-cjs/radio-button/internal/useRadioGroup.js.map +1 -1
- package/dist-cjs/salt-provider/SaltProvider.js +32 -155
- package/dist-cjs/salt-provider/SaltProvider.js.map +1 -1
- package/dist-cjs/scrim/Scrim.js +16 -111
- package/dist-cjs/scrim/Scrim.js.map +1 -1
- package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js +1 -104
- package/dist-cjs/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
- package/dist-cjs/semantic-icon-provider/SemanticIconProvider.js +1 -6
- package/dist-cjs/semantic-icon-provider/SemanticIconProvider.js.map +1 -1
- package/dist-cjs/spinner/Spinner.js +16 -116
- package/dist-cjs/spinner/Spinner.js.map +1 -1
- package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js +43 -141
- package/dist-cjs/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
- package/dist-cjs/split-layout/SplitLayout.js +13 -107
- package/dist-cjs/split-layout/SplitLayout.js.map +1 -1
- package/dist-cjs/stack-layout/StackLayout.js +21 -116
- package/dist-cjs/stack-layout/StackLayout.js.map +1 -1
- package/dist-cjs/status-adornment/ErrorAdornment.js +5 -11
- package/dist-cjs/status-adornment/ErrorAdornment.js.map +1 -1
- package/dist-cjs/status-adornment/StatusAdornment.js +9 -104
- package/dist-cjs/status-adornment/StatusAdornment.js.map +1 -1
- package/dist-cjs/status-adornment/SuccessAdornment.js +18 -14
- package/dist-cjs/status-adornment/SuccessAdornment.js.map +1 -1
- package/dist-cjs/status-adornment/WarningAdornment.js +1 -12
- package/dist-cjs/status-adornment/WarningAdornment.js.map +1 -1
- package/dist-cjs/status-indicator/StatusIndicator.js +10 -103
- package/dist-cjs/status-indicator/StatusIndicator.js.map +1 -1
- package/dist-cjs/status-indicator/ValidationStatus.js +0 -2
- package/dist-cjs/status-indicator/ValidationStatus.js.map +1 -1
- package/dist-cjs/switch/Switch.js +44 -150
- package/dist-cjs/switch/Switch.js.map +1 -1
- package/dist-cjs/tag/Tag.js +17 -112
- package/dist-cjs/tag/Tag.js.map +1 -1
- package/dist-cjs/text/Code.js +1 -8
- package/dist-cjs/text/Code.js.map +1 -1
- package/dist-cjs/text/Display.js +4 -30
- package/dist-cjs/text/Display.js.map +1 -1
- package/dist-cjs/text/Headings.js +4 -26
- package/dist-cjs/text/Headings.js.map +1 -1
- package/dist-cjs/text/Label.js +1 -8
- package/dist-cjs/text/Label.js.map +1 -1
- package/dist-cjs/text/Text.js +21 -117
- package/dist-cjs/text/Text.js.map +1 -1
- package/dist-cjs/text/TextAction.js +1 -9
- package/dist-cjs/text/TextAction.js.map +1 -1
- package/dist-cjs/text/TextNotation.js +1 -9
- package/dist-cjs/text/TextNotation.js.map +1 -1
- package/dist-cjs/theme/Accent.js +0 -2
- package/dist-cjs/theme/Accent.js.map +1 -1
- package/dist-cjs/theme/ActionFont.js +0 -2
- package/dist-cjs/theme/ActionFont.js.map +1 -1
- package/dist-cjs/theme/Corner.js +0 -2
- package/dist-cjs/theme/Corner.js.map +1 -1
- package/dist-cjs/theme/Density.js +0 -2
- package/dist-cjs/theme/Density.js.map +1 -1
- package/dist-cjs/theme/HeadingFont.js +0 -2
- package/dist-cjs/theme/HeadingFont.js.map +1 -1
- package/dist-cjs/theme/Mode.js +0 -2
- package/dist-cjs/theme/Mode.js.map +1 -1
- package/dist-cjs/theme/Theme.js +0 -2
- package/dist-cjs/theme/Theme.js.map +1 -1
- package/dist-cjs/toast/Toast.js +17 -116
- package/dist-cjs/toast/Toast.js.map +1 -1
- package/dist-cjs/toast/ToastContent.js +1 -104
- package/dist-cjs/toast/ToastContent.js.map +1 -1
- package/dist-cjs/toggle-button/ToggleButton.css.js +1 -1
- package/dist-cjs/toggle-button/ToggleButton.js +18 -111
- package/dist-cjs/toggle-button/ToggleButton.js.map +1 -1
- package/dist-cjs/toggle-button-group/ToggleButtonGroup.js +10 -107
- package/dist-cjs/toggle-button-group/ToggleButtonGroup.js.map +1 -1
- package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js +0 -100
- package/dist-cjs/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
- package/dist-cjs/tooltip/Tooltip.js +25 -119
- package/dist-cjs/tooltip/Tooltip.js.map +1 -1
- package/dist-cjs/tooltip/TooltipBase.js +25 -117
- package/dist-cjs/tooltip/TooltipBase.js.map +1 -1
- package/dist-cjs/tooltip/useAriaAnnounce.js +2 -104
- package/dist-cjs/tooltip/useAriaAnnounce.js.map +1 -1
- package/dist-cjs/tooltip/useTooltip.js +4 -103
- package/dist-cjs/tooltip/useTooltip.js.map +1 -1
- package/dist-cjs/utils/capitalize.js +0 -2
- package/dist-cjs/utils/capitalize.js.map +1 -1
- package/dist-cjs/utils/createChainedFunction.js +0 -2
- package/dist-cjs/utils/createChainedFunction.js.map +1 -1
- package/dist-cjs/utils/createContext.js +0 -2
- package/dist-cjs/utils/createContext.js.map +1 -1
- package/dist-cjs/utils/debounce.js +0 -2
- package/dist-cjs/utils/debounce.js.map +1 -1
- package/dist-cjs/utils/getRefFromChildren.js +4 -3
- package/dist-cjs/utils/getRefFromChildren.js.map +1 -1
- package/dist-cjs/utils/makePrefixer.js +0 -2
- package/dist-cjs/utils/makePrefixer.js.map +1 -1
- package/dist-cjs/utils/marginMiddleware.js +0 -2
- package/dist-cjs/utils/marginMiddleware.js.map +1 -1
- package/dist-cjs/utils/mergeProps.js +0 -2
- package/dist-cjs/utils/mergeProps.js.map +1 -1
- package/dist-cjs/utils/ownerDocument.js +0 -2
- package/dist-cjs/utils/ownerDocument.js.map +1 -1
- package/dist-cjs/utils/ownerWindow.js +0 -2
- package/dist-cjs/utils/ownerWindow.js.map +1 -1
- package/dist-cjs/utils/renderProps.js +1 -5
- package/dist-cjs/utils/renderProps.js.map +1 -1
- package/dist-cjs/utils/setRef.js +0 -2
- package/dist-cjs/utils/setRef.js.map +1 -1
- package/dist-cjs/utils/useControlled.js +0 -2
- package/dist-cjs/utils/useControlled.js.map +1 -1
- package/dist-cjs/utils/useEventCallback.js +4 -3
- package/dist-cjs/utils/useEventCallback.js.map +1 -1
- package/dist-cjs/utils/useFloatingUI/useFloatingUI.js +6 -33
- package/dist-cjs/utils/useFloatingUI/useFloatingUI.js.map +1 -1
- package/dist-cjs/utils/useForkRef.js +0 -2
- package/dist-cjs/utils/useForkRef.js.map +1 -1
- package/dist-cjs/utils/useId.js +5 -8
- package/dist-cjs/utils/useId.js.map +1 -1
- package/dist-cjs/utils/useIsFocusVisible.js +0 -2
- package/dist-cjs/utils/useIsFocusVisible.js.map +1 -1
- package/dist-cjs/utils/useIsomorphicLayoutEffect.js +0 -2
- package/dist-cjs/utils/useIsomorphicLayoutEffect.js.map +1 -1
- package/dist-cjs/utils/usePrevious.js +0 -2
- package/dist-cjs/utils/usePrevious.js.map +1 -1
- package/dist-cjs/utils/useResizeObserver.js +5 -7
- package/dist-cjs/utils/useResizeObserver.js.map +1 -1
- package/dist-cjs/utils/useResponsiveProp.js +2 -5
- package/dist-cjs/utils/useResponsiveProp.js.map +1 -1
- package/dist-cjs/utils/useValueEffect.js +1 -108
- package/dist-cjs/utils/useValueEffect.js.map +1 -1
- package/dist-cjs/viewport/ViewportProvider.js +1 -109
- package/dist-cjs/viewport/ViewportProvider.js.map +1 -1
- package/dist-es/accordion/Accordion.js +31 -121
- package/dist-es/accordion/Accordion.js.map +1 -1
- package/dist-es/accordion/AccordionContext.js +0 -99
- package/dist-es/accordion/AccordionContext.js.map +1 -1
- package/dist-es/accordion/AccordionGroup.js +1 -101
- package/dist-es/accordion/AccordionGroup.js.map +1 -1
- package/dist-es/accordion/AccordionHeader.js +33 -134
- package/dist-es/accordion/AccordionHeader.js.map +1 -1
- package/dist-es/accordion/AccordionPanel.js +22 -115
- package/dist-es/accordion/AccordionPanel.js.map +1 -1
- package/dist-es/aria-announcer/AriaAnnounce.js.map +1 -1
- package/dist-es/aria-announcer/AriaAnnouncerContext.js.map +1 -1
- package/dist-es/aria-announcer/AriaAnnouncerProvider.js +8 -8
- package/dist-es/aria-announcer/AriaAnnouncerProvider.js.map +1 -1
- package/dist-es/aria-announcer/useAriaAnnouncer.js +0 -104
- package/dist-es/aria-announcer/useAriaAnnouncer.js.map +1 -1
- package/dist-es/avatar/Avatar.js +18 -115
- package/dist-es/avatar/Avatar.js.map +1 -1
- package/dist-es/avatar/useAvatarImage.js +0 -99
- package/dist-es/avatar/useAvatarImage.js.map +1 -1
- package/dist-es/badge/Badge.js +8 -106
- package/dist-es/badge/Badge.js.map +1 -1
- package/dist-es/banner/Banner.js +18 -113
- package/dist-es/banner/Banner.js.map +1 -1
- package/dist-es/banner/BannerActions.js +1 -101
- package/dist-es/banner/BannerActions.js.map +1 -1
- package/dist-es/banner/BannerContent.js +1 -101
- package/dist-es/banner/BannerContent.js.map +1 -1
- package/dist-es/border-item/BorderItem.js +17 -109
- package/dist-es/border-item/BorderItem.js.map +1 -1
- package/dist-es/border-layout/BorderLayout.js +12 -106
- package/dist-es/border-layout/BorderLayout.js.map +1 -1
- package/dist-es/breakpoints/BreakpointProvider.js +2 -109
- package/dist-es/breakpoints/BreakpointProvider.js.map +1 -1
- package/dist-es/breakpoints/Breakpoints.js.map +1 -1
- package/dist-es/button/Button.js +24 -118
- package/dist-es/button/Button.js.map +1 -1
- package/dist-es/button/useButton.js.map +1 -1
- package/dist-es/card/Card.js +21 -113
- package/dist-es/card/Card.js.map +1 -1
- package/dist-es/checkbox/Checkbox.css.js +1 -1
- package/dist-es/checkbox/Checkbox.js +62 -148
- package/dist-es/checkbox/Checkbox.js.map +1 -1
- package/dist-es/checkbox/CheckboxGroup.js +32 -121
- package/dist-es/checkbox/CheckboxGroup.js.map +1 -1
- package/dist-es/checkbox/CheckboxIcon.js +24 -129
- package/dist-es/checkbox/CheckboxIcon.js.map +1 -1
- package/dist-es/checkbox/internal/CheckboxGroupContext.js +0 -99
- package/dist-es/checkbox/internal/CheckboxGroupContext.js.map +1 -1
- package/dist-es/checkbox/internal/useCheckboxGroup.js.map +1 -1
- package/dist-es/combo-box/ComboBox.js +30 -122
- package/dist-es/combo-box/ComboBox.js.map +1 -1
- package/dist-es/combo-box/useComboBox.js +1 -100
- package/dist-es/combo-box/useComboBox.js.map +1 -1
- package/dist-es/dialog/Dialog.js +38 -141
- package/dist-es/dialog/Dialog.js.map +1 -1
- package/dist-es/dialog/DialogActions.js +1 -102
- package/dist-es/dialog/DialogActions.js.map +1 -1
- package/dist-es/dialog/DialogCloseButton.js +11 -104
- package/dist-es/dialog/DialogCloseButton.js.map +1 -1
- package/dist-es/dialog/DialogContent.css.js +1 -1
- package/dist-es/dialog/DialogContent.js +40 -112
- package/dist-es/dialog/DialogContent.js.map +1 -1
- package/dist-es/dialog/DialogContext.js.map +1 -1
- package/dist-es/dialog/DialogHeader.js +24 -119
- package/dist-es/dialog/DialogHeader.js.map +1 -1
- package/dist-es/divider/Divider.js +15 -108
- package/dist-es/divider/Divider.js.map +1 -1
- package/dist-es/drawer/Drawer.js +13 -112
- package/dist-es/drawer/Drawer.js.map +1 -1
- package/dist-es/drawer/DrawerCloseButton.js +7 -103
- package/dist-es/drawer/DrawerCloseButton.js.map +1 -1
- package/dist-es/dropdown/Dropdown.js +35 -132
- package/dist-es/dropdown/Dropdown.js.map +1 -1
- package/dist-es/file-drop-zone/FileDropZone.js +21 -114
- package/dist-es/file-drop-zone/FileDropZone.js.map +1 -1
- package/dist-es/file-drop-zone/FileDropZoneIcon.js +2 -7
- package/dist-es/file-drop-zone/FileDropZoneIcon.js.map +1 -1
- package/dist-es/file-drop-zone/FileDropZoneTrigger.js +14 -108
- package/dist-es/file-drop-zone/FileDropZoneTrigger.js.map +1 -1
- package/dist-es/file-drop-zone/internal/utils.js +1 -2
- package/dist-es/file-drop-zone/internal/utils.js.map +1 -1
- package/dist-es/flex-item/FlexItem.js +10 -104
- package/dist-es/flex-item/FlexItem.js.map +1 -1
- package/dist-es/flex-layout/FlexLayout.js +21 -115
- package/dist-es/flex-layout/FlexLayout.js.map +1 -1
- package/dist-es/flow-layout/FlowLayout.js +1 -7
- package/dist-es/flow-layout/FlowLayout.js.map +1 -1
- package/dist-es/form-field/FormField.js +30 -119
- package/dist-es/form-field/FormField.js.map +1 -1
- package/dist-es/form-field/FormFieldHelperText.js +24 -108
- package/dist-es/form-field/FormFieldHelperText.js.map +1 -1
- package/dist-es/form-field/FormFieldLabel.js +15 -104
- package/dist-es/form-field/FormFieldLabel.js.map +1 -1
- package/dist-es/form-field-context/FormFieldContext.js +0 -98
- package/dist-es/form-field-context/FormFieldContext.js.map +1 -1
- package/dist-es/form-field-context/useFormFieldProps.js.map +1 -1
- package/dist-es/grid-item/GridItem.js +10 -104
- package/dist-es/grid-item/GridItem.js.map +1 -1
- package/dist-es/grid-layout/GridLayout.js +13 -107
- package/dist-es/grid-layout/GridLayout.js.map +1 -1
- package/dist-es/input/Input.js +49 -147
- package/dist-es/input/Input.js.map +1 -1
- package/dist-es/interactable-card/InteractableCard.js +28 -120
- package/dist-es/interactable-card/InteractableCard.js.map +1 -1
- package/dist-es/interactable-card/InteractableCardGroup.js +9 -104
- package/dist-es/interactable-card/InteractableCardGroup.js.map +1 -1
- package/dist-es/interactable-card/InteractableCardGroupContext.js +0 -98
- package/dist-es/interactable-card/InteractableCardGroupContext.js.map +1 -1
- package/dist-es/interactable-card/useInteractableCard.js.map +1 -1
- package/dist-es/link/Link.js +22 -115
- package/dist-es/link/Link.js.map +1 -1
- package/dist-es/link-card/LinkCard.js +18 -111
- package/dist-es/link-card/LinkCard.js.map +1 -1
- package/dist-es/list-box/ListBox.js +8 -104
- package/dist-es/list-box/ListBox.js.map +1 -1
- package/dist-es/list-control/ListControlContext.js +0 -98
- package/dist-es/list-control/ListControlContext.js.map +1 -1
- package/dist-es/list-control/ListControlState.js +3 -102
- package/dist-es/list-control/ListControlState.js.map +1 -1
- package/dist-es/menu/Menu.js +2 -8
- package/dist-es/menu/Menu.js.map +1 -1
- package/dist-es/menu/MenuBase.js +10 -107
- package/dist-es/menu/MenuBase.js.map +1 -1
- package/dist-es/menu/MenuContext.js +0 -98
- package/dist-es/menu/MenuContext.js.map +1 -1
- package/dist-es/menu/MenuGroup.js +14 -112
- package/dist-es/menu/MenuGroup.js.map +1 -1
- package/dist-es/menu/MenuItem.js +51 -141
- package/dist-es/menu/MenuItem.js.map +1 -1
- package/dist-es/menu/MenuPanel.js +27 -121
- package/dist-es/menu/MenuPanel.js.map +1 -1
- package/dist-es/menu/MenuPanelBase.js +1 -5
- package/dist-es/menu/MenuPanelBase.js.map +1 -1
- package/dist-es/menu/MenuPanelContext.js +0 -98
- package/dist-es/menu/MenuPanelContext.js.map +1 -1
- package/dist-es/menu/MenuTrigger.js +20 -116
- package/dist-es/menu/MenuTrigger.js.map +1 -1
- package/dist-es/menu/MenuTriggerContext.js +0 -98
- package/dist-es/menu/MenuTriggerContext.js.map +1 -1
- package/dist-es/multiline-input/MultilineInput.js +54 -159
- package/dist-es/multiline-input/MultilineInput.js.map +1 -1
- package/dist-es/navigation-item/ExpansionIcon.js +1 -3
- package/dist-es/navigation-item/ExpansionIcon.js.map +1 -1
- package/dist-es/navigation-item/NavigationItem.js +32 -130
- package/dist-es/navigation-item/NavigationItem.js.map +1 -1
- package/dist-es/navigation-item/NavigationItemAction.js +0 -100
- package/dist-es/navigation-item/NavigationItemAction.js.map +1 -1
- package/dist-es/option/Option.js +32 -118
- package/dist-es/option/Option.js.map +1 -1
- package/dist-es/option/OptionGroup.js +14 -112
- package/dist-es/option/OptionGroup.js.map +1 -1
- package/dist-es/option/OptionList.js +17 -115
- package/dist-es/option/OptionList.js.map +1 -1
- package/dist-es/option/OptionListBase.js +9 -103
- package/dist-es/option/OptionListBase.js.map +1 -1
- package/dist-es/overlay/Overlay.js +18 -112
- package/dist-es/overlay/Overlay.js.map +1 -1
- package/dist-es/overlay/OverlayContext.js +0 -98
- package/dist-es/overlay/OverlayContext.js.map +1 -1
- package/dist-es/overlay/OverlayPanel.js +34 -125
- package/dist-es/overlay/OverlayPanel.js.map +1 -1
- package/dist-es/overlay/OverlayPanelCloseButton.js +7 -103
- package/dist-es/overlay/OverlayPanelCloseButton.js.map +1 -1
- package/dist-es/overlay/OverlayPanelContent.css.js +1 -1
- package/dist-es/overlay/OverlayPanelContent.js +43 -103
- package/dist-es/overlay/OverlayPanelContent.js.map +1 -1
- package/dist-es/overlay/OverlayTrigger.js +6 -109
- package/dist-es/overlay/OverlayTrigger.js.map +1 -1
- package/dist-es/pagination/CompactInput.js +20 -112
- package/dist-es/pagination/CompactInput.js.map +1 -1
- package/dist-es/pagination/CompactPaginator.js +21 -121
- package/dist-es/pagination/CompactPaginator.js.map +1 -1
- package/dist-es/pagination/GoToInput.js +31 -112
- package/dist-es/pagination/GoToInput.js.map +1 -1
- package/dist-es/pagination/PageButton.js +17 -110
- package/dist-es/pagination/PageButton.js.map +1 -1
- package/dist-es/pagination/PageRanges.js +15 -124
- package/dist-es/pagination/PageRanges.js.map +1 -1
- package/dist-es/pagination/Pagination.js +6 -101
- package/dist-es/pagination/Pagination.js.map +1 -1
- package/dist-es/pagination/PaginationContext.js.map +1 -1
- package/dist-es/pagination/Paginator.js +19 -119
- package/dist-es/pagination/Paginator.js.map +1 -1
- package/dist-es/pagination/usePagination.js.map +1 -1
- package/dist-es/pagination/usePaginationContext.js.map +1 -1
- package/dist-es/panel/Panel.js +9 -102
- package/dist-es/panel/Panel.js.map +1 -1
- package/dist-es/parent-child-layout/ParentChildLayout.js +24 -121
- package/dist-es/parent-child-layout/ParentChildLayout.js.map +1 -1
- package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js +0 -101
- package/dist-es/parent-child-layout/useIsViewportLargerThanBreakpoint.js.map +1 -1
- package/dist-es/pill/Pill.js +17 -109
- package/dist-es/pill/Pill.js.map +1 -1
- package/dist-es/pill-input/PillInput.js +97 -202
- package/dist-es/pill-input/PillInput.js.map +1 -1
- package/dist-es/pill-input/useTruncatePills.js.map +1 -1
- package/dist-es/progress/CircularProgress/CircularProgress.js +44 -151
- package/dist-es/progress/CircularProgress/CircularProgress.js.map +1 -1
- package/dist-es/progress/LinearProgress/LinearProgress.js +28 -123
- package/dist-es/progress/LinearProgress/LinearProgress.js.map +1 -1
- package/dist-es/radio-button/RadioButton.css.js +1 -1
- package/dist-es/radio-button/RadioButton.js +60 -148
- package/dist-es/radio-button/RadioButton.js.map +1 -1
- package/dist-es/radio-button/RadioButtonGroup.js +36 -125
- package/dist-es/radio-button/RadioButtonGroup.js.map +1 -1
- package/dist-es/radio-button/RadioButtonIcon.js +45 -132
- package/dist-es/radio-button/RadioButtonIcon.js.map +1 -1
- package/dist-es/radio-button/internal/RadioGroupContext.js +0 -99
- package/dist-es/radio-button/internal/RadioGroupContext.js.map +1 -1
- package/dist-es/radio-button/internal/useRadioGroup.js.map +1 -1
- package/dist-es/salt-provider/SaltProvider.js +32 -153
- package/dist-es/salt-provider/SaltProvider.js.map +1 -1
- package/dist-es/scrim/Scrim.js +16 -109
- package/dist-es/scrim/Scrim.js.map +1 -1
- package/dist-es/segmented-button-group/SegmentedButtonGroup.js +1 -102
- package/dist-es/segmented-button-group/SegmentedButtonGroup.js.map +1 -1
- package/dist-es/semantic-icon-provider/SemanticIconProvider.js +1 -4
- package/dist-es/semantic-icon-provider/SemanticIconProvider.js.map +1 -1
- package/dist-es/spinner/Spinner.js +16 -114
- package/dist-es/spinner/Spinner.js.map +1 -1
- package/dist-es/spinner/svgSpinners/SpinnerSVG.js +43 -139
- package/dist-es/spinner/svgSpinners/SpinnerSVG.js.map +1 -1
- package/dist-es/split-layout/SplitLayout.js +13 -105
- package/dist-es/split-layout/SplitLayout.js.map +1 -1
- package/dist-es/stack-layout/StackLayout.js +21 -114
- package/dist-es/stack-layout/StackLayout.js.map +1 -1
- package/dist-es/status-adornment/ErrorAdornment.js +5 -9
- package/dist-es/status-adornment/ErrorAdornment.js.map +1 -1
- package/dist-es/status-adornment/StatusAdornment.js +9 -102
- package/dist-es/status-adornment/StatusAdornment.js.map +1 -1
- package/dist-es/status-adornment/SuccessAdornment.js +18 -12
- package/dist-es/status-adornment/SuccessAdornment.js.map +1 -1
- package/dist-es/status-adornment/WarningAdornment.js +1 -10
- package/dist-es/status-adornment/WarningAdornment.js.map +1 -1
- package/dist-es/status-indicator/StatusIndicator.js +10 -101
- package/dist-es/status-indicator/StatusIndicator.js.map +1 -1
- package/dist-es/status-indicator/ValidationStatus.js.map +1 -1
- package/dist-es/switch/Switch.js +44 -148
- package/dist-es/switch/Switch.js.map +1 -1
- package/dist-es/tag/Tag.js +17 -110
- package/dist-es/tag/Tag.js.map +1 -1
- package/dist-es/text/Code.js +1 -6
- package/dist-es/text/Code.js.map +1 -1
- package/dist-es/text/Display.js +4 -28
- package/dist-es/text/Display.js.map +1 -1
- package/dist-es/text/Headings.js +4 -24
- package/dist-es/text/Headings.js.map +1 -1
- package/dist-es/text/Label.js +1 -6
- package/dist-es/text/Label.js.map +1 -1
- package/dist-es/text/Text.js +21 -115
- package/dist-es/text/Text.js.map +1 -1
- package/dist-es/text/TextAction.js +1 -7
- package/dist-es/text/TextAction.js.map +1 -1
- package/dist-es/text/TextNotation.js +1 -7
- package/dist-es/text/TextNotation.js.map +1 -1
- package/dist-es/theme/Accent.js.map +1 -1
- package/dist-es/theme/ActionFont.js.map +1 -1
- package/dist-es/theme/Corner.js.map +1 -1
- package/dist-es/theme/HeadingFont.js.map +1 -1
- package/dist-es/theme/Theme.js.map +1 -1
- package/dist-es/toast/Toast.js +17 -114
- package/dist-es/toast/Toast.js.map +1 -1
- package/dist-es/toast/ToastContent.js +1 -102
- package/dist-es/toast/ToastContent.js.map +1 -1
- package/dist-es/toggle-button/ToggleButton.css.js +1 -1
- package/dist-es/toggle-button/ToggleButton.js +18 -109
- package/dist-es/toggle-button/ToggleButton.js.map +1 -1
- package/dist-es/toggle-button-group/ToggleButtonGroup.js +10 -105
- package/dist-es/toggle-button-group/ToggleButtonGroup.js.map +1 -1
- package/dist-es/toggle-button-group/ToggleButtonGroupContext.js +0 -98
- package/dist-es/toggle-button-group/ToggleButtonGroupContext.js.map +1 -1
- package/dist-es/tooltip/Tooltip.js +25 -117
- package/dist-es/tooltip/Tooltip.js.map +1 -1
- package/dist-es/tooltip/TooltipBase.js +25 -115
- package/dist-es/tooltip/TooltipBase.js.map +1 -1
- package/dist-es/tooltip/useAriaAnnounce.js +2 -102
- package/dist-es/tooltip/useAriaAnnounce.js.map +1 -1
- package/dist-es/tooltip/useTooltip.js +4 -101
- package/dist-es/tooltip/useTooltip.js.map +1 -1
- package/dist-es/utils/capitalize.js.map +1 -1
- package/dist-es/utils/createChainedFunction.js.map +1 -1
- package/dist-es/utils/createContext.js.map +1 -1
- package/dist-es/utils/debounce.js.map +1 -1
- package/dist-es/utils/getRefFromChildren.js +4 -1
- package/dist-es/utils/getRefFromChildren.js.map +1 -1
- package/dist-es/utils/marginMiddleware.js.map +1 -1
- package/dist-es/utils/mergeProps.js.map +1 -1
- package/dist-es/utils/ownerDocument.js.map +1 -1
- package/dist-es/utils/ownerWindow.js.map +1 -1
- package/dist-es/utils/renderProps.js +1 -3
- package/dist-es/utils/renderProps.js.map +1 -1
- package/dist-es/utils/setRef.js.map +1 -1
- package/dist-es/utils/useControlled.js.map +1 -1
- package/dist-es/utils/useEventCallback.js +4 -1
- package/dist-es/utils/useEventCallback.js.map +1 -1
- package/dist-es/utils/useFloatingUI/useFloatingUI.js +6 -31
- package/dist-es/utils/useFloatingUI/useFloatingUI.js.map +1 -1
- package/dist-es/utils/useForkRef.js.map +1 -1
- package/dist-es/utils/useId.js +2 -2
- package/dist-es/utils/useId.js.map +1 -1
- package/dist-es/utils/useIsFocusVisible.js.map +1 -1
- package/dist-es/utils/usePrevious.js.map +1 -1
- package/dist-es/utils/useResizeObserver.js +5 -5
- package/dist-es/utils/useResizeObserver.js.map +1 -1
- package/dist-es/utils/useResponsiveProp.js +2 -3
- package/dist-es/utils/useResponsiveProp.js.map +1 -1
- package/dist-es/utils/useValueEffect.js +1 -106
- package/dist-es/utils/useValueEffect.js.map +1 -1
- package/dist-es/viewport/ViewportProvider.js +1 -107
- package/dist-es/viewport/ViewportProvider.js.map +1 -1
- package/dist-types/file-drop-zone/FileDropZoneIcon.d.ts +1 -1
- package/package.json +8 -7
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,1753 @@
|
|
|
1
|
+
# @salt-ds/core
|
|
2
|
+
|
|
3
|
+
## 1.37.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ae6e5c9: Updated ToggleButton's styling to align to Button's new styling.
|
|
8
|
+
- b395246: Fixed `color="secondary"` not working for the Link component.
|
|
9
|
+
- aced985: Replaced Button's deprecated `variant` prop with `sentiment` and `appearance` in:
|
|
10
|
+
|
|
11
|
+
- ComboBox
|
|
12
|
+
- DialogCloseButton
|
|
13
|
+
- DrawerCloseButton
|
|
14
|
+
- OverlayPanelCloseButton
|
|
15
|
+
- CompactPaginator
|
|
16
|
+
- Paginator
|
|
17
|
+
- Pagination
|
|
18
|
+
|
|
19
|
+
- 7432f62: Fixed useResponsiveProp not being inclusive when calculating breakpoints e.g. not recognising `600px` as `sm`.
|
|
20
|
+
- 0730eb0: Fixed focus rings not appearing on Checkbox or Radio Button.
|
|
21
|
+
- 1a29b4e: Fixed disabled MenuItems triggering onClick.
|
|
22
|
+
- 6b1f109: Added padding between the content and scrollbar when `OverlayPanelContent` is scrollable.
|
|
23
|
+
- 26bf747: Fixed Tooltip to prioritize its `status` prop over the status inherited from a parent FormField.
|
|
24
|
+
- 6a08b82: Fixed circular dependencies in code.
|
|
25
|
+
- Updated dependencies [dc5b3b3]
|
|
26
|
+
- @salt-ds/icons@1.13.0
|
|
27
|
+
|
|
28
|
+
## 1.37.1
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- 62300f3: Fixed aria-multiselectable being incorrectly applied in the ComboBox and Dropdown.
|
|
33
|
+
|
|
34
|
+
## 1.37.0
|
|
35
|
+
|
|
36
|
+
### Minor Changes
|
|
37
|
+
|
|
38
|
+
- 4ccc245: Updated Card, LinkCard and InteractableCard accent bar color, which now stays the same across states.
|
|
39
|
+
- 97215f7: Added SemanticIconProvider to provide a mechanism to swap out built-in component icons to custom icons.
|
|
40
|
+
|
|
41
|
+
```tsx
|
|
42
|
+
<SemanticIconProvider iconMap={iconMap}>
|
|
43
|
+
<App />
|
|
44
|
+
</SemanticIconProvider>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
- 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.
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- dc9e1bd: Updated Pill's styling to align to Button's new styling.
|
|
52
|
+
- 7eac3b2: Fixed text contrast issues in Menu, Dropdown, ComboBox and ListBox.
|
|
53
|
+
- b2af86a: Updated MultilineInput so that it is easier to set a max-height.
|
|
54
|
+
- 9edf6c4: Added letter-spacing to `Text` for consistency.
|
|
55
|
+
- 65bfefb: Improved list based control's performance when lots of items are displayed.
|
|
56
|
+
|
|
57
|
+
## 1.36.0
|
|
58
|
+
|
|
59
|
+
### Minor Changes
|
|
60
|
+
|
|
61
|
+
- 1098fc1: Added `sentiment` (accented, neutral, positive, negative, caution) and `appearance` (solid, bordered, transparent) props for Button.
|
|
62
|
+
|
|
63
|
+
_Note:_ Button's `variant` prop is now deprecated and will be removed in the next major version.
|
|
64
|
+
|
|
65
|
+
| `variant` | `appearance` | `sentiment` |
|
|
66
|
+
| ----------- | ------------- | ----------- |
|
|
67
|
+
| `cta` | `solid` | `accented` |
|
|
68
|
+
| `primary` | `solid` | `neutral` |
|
|
69
|
+
| `secondary` | `transparent` | `neutral` |
|
|
70
|
+
|
|
71
|
+
### Patch Changes
|
|
72
|
+
|
|
73
|
+
- 7a5215a: Fixed data-\* attributes not allowed on pass through props. Closes #3797.
|
|
74
|
+
|
|
75
|
+
- `Checkbox.inputProps`
|
|
76
|
+
- `Input.inputProps`
|
|
77
|
+
- `MultilineInput.textAreaProps`
|
|
78
|
+
- `PillInput.inputProps`
|
|
79
|
+
- `RadioButton.inputProps`
|
|
80
|
+
- `Switch.inputProps`
|
|
81
|
+
|
|
82
|
+
- dccd349: - Fixed bordered form controls' activation indicator and border combining to 3px instead of 2px in:
|
|
83
|
+
|
|
84
|
+
- Dropdown
|
|
85
|
+
- ComboBox
|
|
86
|
+
- Input
|
|
87
|
+
- MultilineInput
|
|
88
|
+
- Fixed form controls' activation indicator changing color when an active field is hovered in:
|
|
89
|
+
|
|
90
|
+
- Input
|
|
91
|
+
- MultilineInput
|
|
92
|
+
|
|
93
|
+
- Updated the token applied to form controls' activation indicator to use `--salt-size-border-strong` instead of ` --salt-editable-borderWidth-active`.
|
|
94
|
+
|
|
95
|
+
- 7ed6d4d: Fixed Tag's height being incorrect when box-sizing isn't set
|
|
96
|
+
- 3e49154: Updated Checkbox and Radio Button to have more robust styling.
|
|
97
|
+
- 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.
|
|
98
|
+
- f277c02: Updated controlled uncontrolled warning link
|
|
99
|
+
- 92299b6: Fixed the alignment of Checkbox and Radio Button when they don't have a label.
|
|
100
|
+
- 61e8502: Fixed Dialog's content being collapsed on Safari.
|
|
101
|
+
|
|
102
|
+
## 1.35.0
|
|
103
|
+
|
|
104
|
+
### Minor Changes
|
|
105
|
+
|
|
106
|
+
- 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.
|
|
107
|
+
|
|
108
|
+
```tsx
|
|
109
|
+
<Badge>
|
|
110
|
+
<Button aria-label="Notifications">
|
|
111
|
+
<NotificationIcon aria-hidden />
|
|
112
|
+
</Button>
|
|
113
|
+
</Badge>
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Patch Changes
|
|
117
|
+
|
|
118
|
+
- 222c47a: Fixed the icon inside Navigation Item having the incorrect color when a parent item is also a link.
|
|
119
|
+
- 4a1bd04: Fixed the status adornment position in ComboBox where it would always be vertically centered when the field grows.
|
|
120
|
+
- 7acd0ed: Fixed multiselect combobox having incorrect pill styles in theme next.
|
|
121
|
+
- 16717fc: Fixed focusable when disabled button's having incorrect styling when in a disabled active state.
|
|
122
|
+
- c2972a1: - Fixed Checkbox and RadioButton shifting when selected outside of a flex layout.
|
|
123
|
+
- Fixed Checkbox and RadioButton, sometimes having a gap between the border and the selected icon.
|
|
124
|
+
- 065d0ca: Fixed Dialog to have correct `z-index` variable assigned (1300).
|
|
125
|
+
- 3ff4448: - Fixed ComboBox calling onBlur when an option in the list is clicked.
|
|
126
|
+
- Fixed Dropdown calling onBlur when an option in the list is clicked.
|
|
127
|
+
- 77dc32e: Fixed Accordion having status styling when disabled and status is set.
|
|
128
|
+
- 3045c38: - Fixed ComboBox breaking when `inputRef` is used.
|
|
129
|
+
- Fixed ComboBox having an incorrect focus ring color when validation is applied.
|
|
130
|
+
- Fixed ComboBox having incorrect active styling.
|
|
131
|
+
|
|
132
|
+
## 1.34.0
|
|
133
|
+
|
|
134
|
+
### Minor Changes
|
|
135
|
+
|
|
136
|
+
- 64be665: Update FormFieldHelperText to have status colors applied when `validationStatus` is applied to FormField.
|
|
137
|
+
- fc66238: Added `tertiary` variant to the `variant` prop for Card, LinkCard, InteractableCard and Panel.
|
|
138
|
+
|
|
139
|
+
```tsx
|
|
140
|
+
<Card variant="tertiary">Example of a Tertiary Card</Card>
|
|
141
|
+
<LinkCard variant="tertiary">Example of a Link Card</LinkCard>
|
|
142
|
+
<InteractableCard variant="tertiary">Example of a Interactable Card</InteractableCard>
|
|
143
|
+
<Panel variant="tertiary">Example of a Tertiary Panel</Panel>
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Patch Changes
|
|
147
|
+
|
|
148
|
+
- 4823df6: - Fixed the default NavigationItem being considered a parent.
|
|
149
|
+
- Fixed NavigationItem not calling `onClick`.
|
|
150
|
+
- 1a0ca7f: Fixed read-only checked radio buttons having the incorrect icon color.
|
|
151
|
+
- 9837998: Fixed Pagination button having an incorrect color on hover when theme next is enabled.
|
|
152
|
+
- 3913dbb: Fixed list scroll when there is only one item in `ComboBox` and `Dropdown`.
|
|
153
|
+
- 5b735d9: Fixed ComboBox having a button when it has nothing to show.
|
|
154
|
+
- 31c3702: Fixed ListBox not scrolling to the active item in some circumstances
|
|
155
|
+
- 85997dc: Updated AccordionPanel to have less padding.
|
|
156
|
+
- e9c1287: Update gap to `--salt-spacing-75` for top aligned labels in `FormField`.
|
|
157
|
+
- 0eb21ae: Fixed `Accordion` becoming inaccessible when an id is passed to `AccordionPanel` or `AccordionHeader`.
|
|
158
|
+
|
|
159
|
+
## 1.33.0
|
|
160
|
+
|
|
161
|
+
### Minor Changes
|
|
162
|
+
|
|
163
|
+
- 533b590: - Updated `Listbox`, `Menu`, `ComboBox` and `Dropdown` to use `--salt-palette-corner` when their corners are rounded.
|
|
164
|
+
- Updated `Menu`, `Dropdown` and `ComboBox` to have a 1px visual offset on floating panels.
|
|
165
|
+
- 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.
|
|
166
|
+
|
|
167
|
+
### Patch Changes
|
|
168
|
+
|
|
169
|
+
- bfe0f84: Cleaned up TypeScript types in multiple components.
|
|
170
|
+
- 0927a2d: Fixed the `initialFocus` prop not working on Dialog.
|
|
171
|
+
- b6070e7: Added JSDoc description to `SaltProviderNext` props.
|
|
172
|
+
|
|
173
|
+
## 1.32.0
|
|
174
|
+
|
|
175
|
+
### Minor Changes
|
|
176
|
+
|
|
177
|
+
- da92421: Added `getRefFromChildren`. This allows reading ref from a child component.
|
|
178
|
+
- 8b43adf: Updated `LinearProgress` to display a moving line to represent an unspecified wait time, when `value` is `undefined`.
|
|
179
|
+
|
|
180
|
+
`<LinearProgress />`
|
|
181
|
+
|
|
182
|
+
_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}`.
|
|
183
|
+
|
|
184
|
+
- ce319ee: Added support for multiple themes to be passed to `SaltProvider`, e.g.,
|
|
185
|
+
|
|
186
|
+
```
|
|
187
|
+
<SaltProvider theme="theme-1 theme-2">
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
- 9abf267: Marked `SaltProviderNext` being stable.
|
|
191
|
+
|
|
192
|
+
If you're using existing type or variable with `UNSTABLE_` prefix, they are now deprecated but will still work.
|
|
193
|
+
|
|
194
|
+
### Patch Changes
|
|
195
|
+
|
|
196
|
+
- da92421: Fix warning logged when access a child ref on React 19.
|
|
197
|
+
- 7fa6e22: Fixed `Tooltip` not having correct height.
|
|
198
|
+
|
|
199
|
+
## 1.31.0
|
|
200
|
+
|
|
201
|
+
### Minor Changes
|
|
202
|
+
|
|
203
|
+
- 1d4d209: Added `bordered` prop to Dropdown. When set, a full border will be applied.
|
|
204
|
+
|
|
205
|
+
```tsx
|
|
206
|
+
<Dropdown bordered />
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
Dropdown is updated to be an inline element, aligning with other form controls like Input.
|
|
210
|
+
|
|
211
|
+
- ad6f7b4: - Added `indicatorSide` to `accordion` to allow right alignment.
|
|
212
|
+
- Removed arrow animation in accordion.
|
|
213
|
+
- Changed direction of accordion's arrow to be consistent with salt's expandable components.
|
|
214
|
+
- Changed direction when `expanded=false` from right to down.
|
|
215
|
+
- Changed direction when `expanded=true` from down to up.
|
|
216
|
+
- b199888: Added `bordered` prop for `ComboBox`. When set, a full border will be applied.
|
|
217
|
+
|
|
218
|
+
```tsx
|
|
219
|
+
<ComboBox bordered>
|
|
220
|
+
<Option value="Red" />
|
|
221
|
+
<Option value="Blue" />
|
|
222
|
+
</ComboBox>
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
Added corner support for theme next.
|
|
226
|
+
|
|
227
|
+
### Patch Changes
|
|
228
|
+
|
|
229
|
+
- b199888: Updated `ComboBox` to show validation status when it's in a read-only state.
|
|
230
|
+
- 1d4d209: Updated outline color & background when in focus/active state for validation status `Dropdown` to match the color of the status.
|
|
231
|
+
|
|
232
|
+
Updated border color when in hover state for validation status `Dropdown` to match the color of the status.
|
|
233
|
+
|
|
234
|
+
Added corner support for theme next for `Dropdown`.
|
|
235
|
+
|
|
236
|
+
Updates focus styling for `Dropdown`. Focus ring is shown on focus instead of focus-visible.
|
|
237
|
+
|
|
238
|
+
- 59da3f3: Fixed invalid HTML structure in AccordionHeader.
|
|
239
|
+
- 904ffa1: Fixed file drop zone not allowing the same file to be selected via `onChange` of `FileDropZoneTrigger`.
|
|
240
|
+
Updated first argument event type of `onChange` to `ChangeEvent`, to better align with underlying event.
|
|
241
|
+
|
|
242
|
+
Closes #3591.
|
|
243
|
+
|
|
244
|
+
- db527bc: Fixed Menu showing behind Drawer (#3636).
|
|
245
|
+
|
|
246
|
+
## 1.30.0
|
|
247
|
+
|
|
248
|
+
### Minor Changes
|
|
249
|
+
|
|
250
|
+
- 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.
|
|
251
|
+
|
|
252
|
+
```typescript
|
|
253
|
+
<Tag>Tag</Tag>
|
|
254
|
+
<Tag bordered>Tag</Tag>
|
|
255
|
+
<Tag variant="secondary">Tag</Tag>
|
|
256
|
+
<Tag category={2}>Tag</Tag>
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
- f89189d: Added a new `actionFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use
|
|
260
|
+
|
|
261
|
+
```
|
|
262
|
+
<UNSTABLE_SaltProviderNext actionFont="Amplitude">
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
|
|
266
|
+
|
|
267
|
+
- 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.
|
|
268
|
+
|
|
269
|
+
```tsx
|
|
270
|
+
<ListBox>
|
|
271
|
+
<Option value="red" />
|
|
272
|
+
<Option value="orange" />
|
|
273
|
+
<Option value="yellow" />
|
|
274
|
+
<Option value="green" />
|
|
275
|
+
<Option value="blue" />
|
|
276
|
+
<Option value="indigo" />
|
|
277
|
+
<Option value="violet" />
|
|
278
|
+
</ListBox>
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
- 6cde7ea: Added `Divider`.
|
|
282
|
+
|
|
283
|
+
```tsx
|
|
284
|
+
<Divider />
|
|
285
|
+
<Divider variant={variant} orientation={orientation} />
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
### Patch Changes
|
|
289
|
+
|
|
290
|
+
- 4697c25: Fixed content alignment of Option, OptionGroup, MenuItem and MenuGroup.
|
|
291
|
+
- 0486cbc: Added line-height, letter-spacing and font-family to Dropdown, MenuItem, Option and OptionGroup.
|
|
292
|
+
- f125982: Fixed Combo Box not picking `defaultValue` when `defaultSelected` is not set. Closes #3579.
|
|
293
|
+
- 55e7ced: Fixed combo box can be focused when disabled. Fixes #3369
|
|
294
|
+
|
|
295
|
+
## 1.29.0
|
|
296
|
+
|
|
297
|
+
### Minor Changes
|
|
298
|
+
|
|
299
|
+
- d0b6912: Added `Display4` text.
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
<Display4>text</Display>
|
|
303
|
+
<Text styleAs="display4">text</Text>
|
|
304
|
+
```
|
|
305
|
+
|
|
306
|
+
It will be using different size when used in `SaltProvider` and `UNSTABLE_SaltProviderNext`.
|
|
307
|
+
|
|
308
|
+
- c36e8a4: Added `icon` prop to Toast to allow for a custom icon
|
|
309
|
+
|
|
310
|
+
```tsx
|
|
311
|
+
<Toast icon={<InfoIcon />} status={"info"}>
|
|
312
|
+
<ToastContent>
|
|
313
|
+
<Text>
|
|
314
|
+
<strong>Info with Custom Icon</strong>
|
|
315
|
+
</Text>
|
|
316
|
+
<div>Filters have been cleared</div>
|
|
317
|
+
</ToastContent>
|
|
318
|
+
</Toast>
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
- a0fff18: - Updated Input readonly state so that status adornment will be shown when `validationStatus` is set.
|
|
322
|
+
|
|
323
|
+
- Added `bordered` prop for Input. When set, a full border will be applied.
|
|
324
|
+
|
|
325
|
+
```tsx
|
|
326
|
+
<Input bordered />
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
- Updated MultilineInput readonly state so that status adornment will be shown and background color to match status color when `validationStatus` is set.
|
|
330
|
+
- Added rounded corner support for MultilineInput, when used in theme next.
|
|
331
|
+
|
|
332
|
+
### Patch Changes
|
|
333
|
+
|
|
334
|
+
- 72debf5: Fixed empty Switch label span being rendered. Closes #3505.
|
|
335
|
+
- 3b854ed: Fixed SegmentedButtonGroup incorrectly rounding when theme next is used and `corner="rounded"`.
|
|
336
|
+
|
|
337
|
+
## 1.28.1
|
|
338
|
+
|
|
339
|
+
### Patch Changes
|
|
340
|
+
|
|
341
|
+
- f8de151c: Fixed the chevron alignment for multi-line accordions.
|
|
342
|
+
- a5556028: Fixed Text components not applying `className` correctly, including `Code`, `Display1`, `Display2`, `Display3`, `TextAction`, `TextNotation`.
|
|
343
|
+
|
|
344
|
+
## 1.28.0
|
|
345
|
+
|
|
346
|
+
### Minor Changes
|
|
347
|
+
|
|
348
|
+
- 25e38e48: Added status color support to Text.
|
|
349
|
+
|
|
350
|
+
```tsx
|
|
351
|
+
<Text color="info">This is error color of Text</Text>
|
|
352
|
+
<Text color="error">This is error color of Text</Text>
|
|
353
|
+
<Text color="warning">This is warning color of Text</Text>
|
|
354
|
+
<Text color="success">This is success color of Text</Text>
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
- Checkbox will now have the correct border color on focus when it is in an error or warning state.
|
|
358
|
+
- 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`.
|
|
359
|
+
- RadioButton will now have the correct border color on focus when it is in an error or warning state.
|
|
360
|
+
- 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`.
|
|
361
|
+
- 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`.
|
|
362
|
+
- 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`.
|
|
363
|
+
|
|
364
|
+
- 5ef28178: Added a new `accent` prop to `UNSTABLE_SaltProviderNext` with `"blue"` or `"teal"` option. To try it out, use
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
<UNSTABLE_SaltProviderNext accent="teal">
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
|
|
371
|
+
|
|
372
|
+
- e1d4aab8: Added a new `headingFont` prop to `UNSTABLE_SaltProviderNext` with `"Open Sans"` or `"Amplitude"` option. To try it out, use
|
|
373
|
+
|
|
374
|
+
```
|
|
375
|
+
<UNSTABLE_SaltProviderNext headingFont="Amplitude">
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
Refer to [documentation](https://storybook.saltdesignsystem.com/?path=/docs/experimental-theme-next--docs) for more information.
|
|
379
|
+
|
|
380
|
+
### Patch Changes
|
|
381
|
+
|
|
382
|
+
- 33ffe0ef: Remove padding bottom and padding right from `DialogContent`
|
|
383
|
+
- 88711e3b: Fixed `onBlur` and `onFocus` not working with FormField.
|
|
384
|
+
- 1cfefb63: Added flex 1 to `DialogContent` so the dialog actions stick to the bottom
|
|
385
|
+
- d5b968fd: Fixed dialog border styling was not set correctly
|
|
386
|
+
- b266a075: Made `status` prop optional in Toast, allowing for Toast to have no status.
|
|
387
|
+
The default for the `status` prop changed from `"info"` to `undefined`. Toasts intended to have "info" status must refactor as beflow.
|
|
388
|
+
|
|
389
|
+
**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.
|
|
390
|
+
|
|
391
|
+
Before:
|
|
392
|
+
|
|
393
|
+
```tsx
|
|
394
|
+
<Toast>
|
|
395
|
+
<ToastContent>
|
|
396
|
+
A new version of this file is available with 37 updates.
|
|
397
|
+
</ToastContent>
|
|
398
|
+
</Toast>
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
After:
|
|
402
|
+
|
|
403
|
+
```tsx
|
|
404
|
+
<Toast status="info">
|
|
405
|
+
<ToastContent>
|
|
406
|
+
A new version of this file is available with 37 updates.
|
|
407
|
+
</ToastContent>
|
|
408
|
+
</Toast>
|
|
409
|
+
```
|
|
410
|
+
|
|
411
|
+
## 1.27.1
|
|
412
|
+
|
|
413
|
+
### Patch Changes
|
|
414
|
+
|
|
415
|
+
- 067bc00f: Make `SegmentedButtonGroup` CSS selectors apply divider styles only to `.saltButton`, preventing dividers appearing when using floating-ui components like `Menu`.
|
|
416
|
+
- 5ff98b54: Fixed ComboBox logging event errors in React 16.
|
|
417
|
+
- 88961433: Changed RadioButton's display to `inline-flex` so the hit area only covers the label.
|
|
418
|
+
- d972d206: Fixed `Tooltip` not displaying when the `content` prop value is falsy e.g. 0
|
|
419
|
+
- 88961433: Changed Checkbox's display to `inline-flex` so the hit area only covers the label.
|
|
420
|
+
|
|
421
|
+
## 1.27.0
|
|
422
|
+
|
|
423
|
+
### Minor Changes
|
|
424
|
+
|
|
425
|
+
- 542b6228: Added `Menu`, `MenuItem`, `MenuTrigger`, `MenuPanel` and `MenuGroup`.
|
|
426
|
+
|
|
427
|
+
```tsx
|
|
428
|
+
<Menu>
|
|
429
|
+
<MenuTrigger>
|
|
430
|
+
<Button variant="secondary" aria-label="Open Menu">
|
|
431
|
+
<MicroMenuIcon aria-hidden />
|
|
432
|
+
</Button>
|
|
433
|
+
</MenuTrigger>
|
|
434
|
+
<MenuPanel>
|
|
435
|
+
<MenuItem>Copy</MenuItem>
|
|
436
|
+
<MenuItem>Paste</MenuItem>
|
|
437
|
+
<MenuItem>Export</MenuItem>
|
|
438
|
+
<MenuItem>Settings</MenuItem>
|
|
439
|
+
</MenuPanel>
|
|
440
|
+
</Menu>
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
### Patch Changes
|
|
444
|
+
|
|
445
|
+
- 3f9febe3: Fix pills not being removed when they are not in the displayed list in a combo box.
|
|
446
|
+
- 04b5e51b: Fixed Tooltip not being fully disabled when `disabled=true`.
|
|
447
|
+
|
|
448
|
+
## 1.26.0
|
|
449
|
+
|
|
450
|
+
### Minor Changes
|
|
451
|
+
|
|
452
|
+
- d885e02d: Added `useBreakpoint` which returns on object containing matchedBreakpoints and `breakpoint`.
|
|
453
|
+
|
|
454
|
+
- `matchedBreakpoints` - is an array of all matched breakpoints e.g. when the viewport matches the M breakpoint this array contains M, SM and XS.
|
|
455
|
+
- `breakpoint` - is the current matched breakpoint.
|
|
456
|
+
|
|
457
|
+
- d885e02d: Added support for passing a string gap values to FlexLayout and GridLayout.
|
|
458
|
+
|
|
459
|
+
```tsx
|
|
460
|
+
<FlexLayout gap="spacing-100" />
|
|
461
|
+
<GridLayout gap="spacing-100" rowGap="spacing-100" columnGap="spacing-100" />
|
|
462
|
+
```
|
|
463
|
+
|
|
464
|
+
Added support for passing a string column and row template to GridLayout.
|
|
465
|
+
|
|
466
|
+
```tsx
|
|
467
|
+
<GridLayout columns="1fr 1fr 2fr" rows="1fr 2fr" />
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
### Patch Changes
|
|
471
|
+
|
|
472
|
+
- 51e164e3: Fixed Combo box and Dropdown options not growing in height with their content.
|
|
473
|
+
- f2f88a0d: Fixed Switch's alignment when it's used with a left/right aligned FormFieldLabel.
|
|
474
|
+
- 8ebd9138: Fixed deprecated `--salt-size-accent` references to `--salt-size-bar`. Fixed deprecated `--salt-size-unit` references to `--salt-spacing-100`.
|
|
475
|
+
|
|
476
|
+
## 1.25.0
|
|
477
|
+
|
|
478
|
+
### Minor Changes
|
|
479
|
+
|
|
480
|
+
- 884ce037: Promoted `ParentChildLayout` from labs to core.
|
|
481
|
+
|
|
482
|
+
```tsx
|
|
483
|
+
const parent = <div>Parent</div>;
|
|
484
|
+
|
|
485
|
+
const child = <di>Child</div>;
|
|
486
|
+
|
|
487
|
+
export const Default = (): ReactElement => (
|
|
488
|
+
<ParentChildLayout parent={parent} child={child} />
|
|
489
|
+
);
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
### Patch Changes
|
|
493
|
+
|
|
494
|
+
- afe3d590: Updated Button to use active styles, when a menu or overlay is open.
|
|
495
|
+
- bb3b682f: Fixed ComboBox's nested button going into an active state when ComboBox is open.
|
|
496
|
+
|
|
497
|
+
## 1.24.0
|
|
498
|
+
|
|
499
|
+
### Minor Changes
|
|
500
|
+
|
|
501
|
+
- ae971d21: Add `Overlay`, `OverlayTrigger`, `OverlayPanel`, `OverlayPanelCloseButton`, and `OverlayPanelContent` to core.
|
|
502
|
+
|
|
503
|
+
```tsx
|
|
504
|
+
export const DefaultOverlay = (): ReactElement => {
|
|
505
|
+
return (
|
|
506
|
+
<Overlay>
|
|
507
|
+
<OverlayTrigger>
|
|
508
|
+
<Button>Show Overlay</Button>
|
|
509
|
+
</OverlayTrigger>
|
|
510
|
+
<OverlayPanel>
|
|
511
|
+
<OverlayPanelContent>Content of Overlay</OverlayPanelContent>
|
|
512
|
+
</OverlayPanel>
|
|
513
|
+
</Overlay>
|
|
514
|
+
);
|
|
515
|
+
};
|
|
516
|
+
```
|
|
517
|
+
|
|
518
|
+
### Patch Changes
|
|
519
|
+
|
|
520
|
+
- 6a9f8a9f: Fixed LinearProgress rendering unwanted 0 in DOM.
|
|
521
|
+
- 27536263: - Fixed uncontrolled `CheckboxGroup` throwing an uncontrolled to controlled error.
|
|
522
|
+
- Fixed uncontrolled `RadioButtonGroup` throwing an uncontrolled to controlled error.
|
|
523
|
+
- 2b44227a: Updated `InteractableCard` to prevent hover effects from being applied while in a disabled state.
|
|
524
|
+
- 2bbdb790: Made `status` prop optional in Tooltip, allowing for Tooltip to have no status.
|
|
525
|
+
The default for the `status` prop changed from `"info"` to `undefined`. Tooltips intended to have "info" status must refactor as below.
|
|
526
|
+
|
|
527
|
+
**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.
|
|
528
|
+
|
|
529
|
+
Before:
|
|
530
|
+
|
|
531
|
+
```tsx
|
|
532
|
+
<Tooltip>Information</Tooltip>
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
After:
|
|
536
|
+
|
|
537
|
+
```tsx
|
|
538
|
+
<Tooltip status="info">Information</Tooltip>
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
- ca48936b: Fixed the gap between Tooltip's label and status icon not being affected by density.
|
|
542
|
+
- d3a7a753: Updated InteractableCard and LinkCard to support the new corner palette
|
|
543
|
+
- 0fe48b4f: Added `type="button"` to button elements to prevent some components submitting forms.
|
|
544
|
+
|
|
545
|
+
## 1.23.0
|
|
546
|
+
|
|
547
|
+
### Minor Changes
|
|
548
|
+
|
|
549
|
+
- ada5af31: Updates to `InteractableCard`:
|
|
550
|
+
|
|
551
|
+
- Added `accent` prop for border positioning, deprecating `accentPlacement`.
|
|
552
|
+
- Added `selected` prop for selected styling.
|
|
553
|
+
- Added `value` prop for selectable use cases.
|
|
554
|
+
|
|
555
|
+
- 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.
|
|
556
|
+
|
|
557
|
+
```tsx
|
|
558
|
+
<InteractableCardGroup multiSelect>
|
|
559
|
+
<InteractableCard value="one">One</InteractableCard>
|
|
560
|
+
<InteractableCard value="two">Two</InteractableCard>
|
|
561
|
+
<InteractableCard value="three">Three</InteractableCard>
|
|
562
|
+
</InteractableCardGroup>
|
|
563
|
+
```
|
|
564
|
+
|
|
565
|
+
- 96c2ca62: Added `SegmentedButtonGroup` to core.
|
|
566
|
+
`SegmentedButtonGroup` shows a list of actionable buttons, flush with separators between them.
|
|
567
|
+
|
|
568
|
+
```tsx
|
|
569
|
+
return (
|
|
570
|
+
<SegmentedButtonGroup>
|
|
571
|
+
<Button variant={variant}>Button</Button>
|
|
572
|
+
<Button variant={variant}>Button</Button>
|
|
573
|
+
<Button variant={variant}>Button</Button>
|
|
574
|
+
</SegmentedButtonGroup>
|
|
575
|
+
);
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
### Patch Changes
|
|
579
|
+
|
|
580
|
+
- 3e4e819c: `Card`, `LinkCard` and `InteractableCard` updated to only apply hover effects on non-touch devices.
|
|
581
|
+
- f6202615: Visual updates to Navigation item's active indicator due to `--salt-size-indicator` being updated.
|
|
582
|
+
- 8ffdfae1: Fixed Dialog children being unmounted twice unexpectedly when closing
|
|
583
|
+
- a726afcf: Improved the accessibility of Switch by applying `role="switch"`.
|
|
584
|
+
|
|
585
|
+
**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:
|
|
586
|
+
|
|
587
|
+
```diff
|
|
588
|
+
- getByRole("checkbox")
|
|
589
|
+
+ getByRole("switch")
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
## 1.22.0
|
|
593
|
+
|
|
594
|
+
### Minor Changes
|
|
595
|
+
|
|
596
|
+
- 04743a73: `Text` has a new variant: `Code`. See [Text component](/salt/components/text) for more information.
|
|
597
|
+
|
|
598
|
+
```tsx
|
|
599
|
+
<>
|
|
600
|
+
<Code>Code text</Code>
|
|
601
|
+
<Text as="code">Text styled as code</Text>
|
|
602
|
+
<Text styleAs="code">Text styled as code</Text>
|
|
603
|
+
</>
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
### Patch Changes
|
|
607
|
+
|
|
608
|
+
- 871585ac: Fixed `DialogHeader` not forwarding refs.
|
|
609
|
+
- 1b3e393a: Fixed Drawer children being unmounted twice unexpectedly when closing
|
|
610
|
+
|
|
611
|
+
## 1.21.0
|
|
612
|
+
|
|
613
|
+
### Minor Changes
|
|
614
|
+
|
|
615
|
+
- 53a7f22c: Added `Dropdown`, `Option`, `OptionGroup` and `ComboBox`.
|
|
616
|
+
|
|
617
|
+
**Note:** These were `DropdownNext` and `ComboBoxNext` in lab.
|
|
618
|
+
|
|
619
|
+
```tsx
|
|
620
|
+
<Dropdown aria-label="Colors">
|
|
621
|
+
<OptionGroup label="Primary">
|
|
622
|
+
<Option value="Red" />
|
|
623
|
+
<Option value="Blue" />
|
|
624
|
+
</OptionGroup>
|
|
625
|
+
<OptionGroup label="Other">
|
|
626
|
+
<Option value="Pink" />
|
|
627
|
+
</OptionGroup>
|
|
628
|
+
</Dropdown>
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
```tsx
|
|
632
|
+
<ComboBox aria-label="Colors">
|
|
633
|
+
<OptionGroup label="Primary">
|
|
634
|
+
<Option value="Red" />
|
|
635
|
+
<Option value="Blue" />
|
|
636
|
+
</OptionGroup>
|
|
637
|
+
<OptionGroup label="Other">
|
|
638
|
+
<Option value="Pink" />
|
|
639
|
+
</OptionGroup>
|
|
640
|
+
</ComboBox>
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
- 9960fe8a: Added `bufferValue` to linear and circular progress.
|
|
644
|
+
Updated linear and circular progress track token to use `--salt-size-bar` in order to improve density scale.
|
|
645
|
+
|
|
646
|
+
### Patch Changes
|
|
647
|
+
|
|
648
|
+
- d1e4f78a: Added export for DialogHeaderProps
|
|
649
|
+
|
|
650
|
+
```ts
|
|
651
|
+
import { DialogHeaderProps } from "@salt-ds/core";
|
|
652
|
+
```
|
|
653
|
+
|
|
654
|
+
- 53a7f22c: Fix ComboBox and Dropdown's list appearing below other elements.
|
|
655
|
+
|
|
656
|
+
## 1.20.0
|
|
657
|
+
|
|
658
|
+
### Minor Changes
|
|
659
|
+
|
|
660
|
+
- ff69de19: Add `Dialog`, `DialogHeader`, `DialogContent`, `DialogActions`, and `DialogCloseButton` to core
|
|
661
|
+
|
|
662
|
+
```tsx
|
|
663
|
+
export const Dialog = (): ReactElement => {
|
|
664
|
+
const [open, setOpen] = useState(false);
|
|
665
|
+
const id = useId();
|
|
666
|
+
|
|
667
|
+
const handleRequestOpen = () => {
|
|
668
|
+
setOpen(true);
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
const onOpenChange = (value: boolean) => {
|
|
672
|
+
setOpen(value);
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
const handleClose = () => {
|
|
676
|
+
setOpen(false);
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
return (
|
|
680
|
+
<>
|
|
681
|
+
<Button data-testid="dialog-button" onClick={handleRequestOpen}>
|
|
682
|
+
Open default dialog
|
|
683
|
+
</Button>
|
|
684
|
+
<Dialog open={open} onOpenChange={onOpenChange} id={id}>
|
|
685
|
+
<DialogHeader header="Terms and conditions" />
|
|
686
|
+
<DialogContent>Dialog Content</DialogContent>
|
|
687
|
+
<DialogActions>
|
|
688
|
+
<Button onClick={handleClose}>Cancel</Button>
|
|
689
|
+
<Button variant="cta" onClick={handleClose}>
|
|
690
|
+
Accept
|
|
691
|
+
</Button>
|
|
692
|
+
</DialogActions>
|
|
693
|
+
<DialogCloseButton onClick={handleClose} />
|
|
694
|
+
</Dialog>
|
|
695
|
+
</>
|
|
696
|
+
);
|
|
697
|
+
};
|
|
698
|
+
```
|
|
699
|
+
|
|
700
|
+
### Patch Changes
|
|
701
|
+
|
|
702
|
+
- 6c414eae: Allowed Tooltip to flip to any axis when space is limited. Previously, it was limited to flipping horizontally.
|
|
703
|
+
- 2d3fb09e: Add `box-sizing: border-box` to:
|
|
704
|
+
|
|
705
|
+
- Multiline input
|
|
706
|
+
- Navigation item
|
|
707
|
+
- Panel
|
|
708
|
+
|
|
709
|
+
## 1.19.0
|
|
710
|
+
|
|
711
|
+
### Minor Changes
|
|
712
|
+
|
|
713
|
+
- 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.
|
|
714
|
+
Implemented corner radius for relevant components when used with theme next.
|
|
715
|
+
- cbe6c522: Added `LinkCard` to core.
|
|
716
|
+
|
|
717
|
+
Use a Link card when the entire card should be clickable and navigate the user.
|
|
718
|
+
|
|
719
|
+
```tsx
|
|
720
|
+
<LinkCard href="https://www.saltdesignsystem.com" target="_blank" />
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
- 8610999f: Add `Drawer` and `DrawerCloseButton` to core
|
|
724
|
+
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.
|
|
725
|
+
|
|
726
|
+
```tsx
|
|
727
|
+
export const Default = (): ReactElement => {
|
|
728
|
+
const [openPrimary, setOpenPrimary] = useState(false);
|
|
729
|
+
|
|
730
|
+
return (
|
|
731
|
+
<>
|
|
732
|
+
<Button onClick={() => setOpenPrimary(true)}>
|
|
733
|
+
Open Primary Drawer
|
|
734
|
+
</Button>
|
|
735
|
+
<Drawer
|
|
736
|
+
open={openPrimary}
|
|
737
|
+
onOpenChange={(newOpen) => setOpenPrimary(newOpen)}
|
|
738
|
+
style={{ width: 200 }}
|
|
739
|
+
>
|
|
740
|
+
Drawer Content
|
|
741
|
+
<DrawerCloseButton onClick={() => setOpenPrimary(false)} />
|
|
742
|
+
</Drawer>
|
|
743
|
+
</>
|
|
744
|
+
);
|
|
745
|
+
};
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
### Patch Changes
|
|
749
|
+
|
|
750
|
+
- 76351938: Fixed the external icon shown in Links with `target="_blank"` sometimes being misaligned.
|
|
751
|
+
|
|
752
|
+
## 1.18.1
|
|
753
|
+
|
|
754
|
+
### Patch Changes
|
|
755
|
+
|
|
756
|
+
- 9d23fdce: Added `box-sizing: border-box` to:
|
|
757
|
+
|
|
758
|
+
- `Badge`
|
|
759
|
+
- `Card`
|
|
760
|
+
- `Checkbox`
|
|
761
|
+
- `FileDropZone`
|
|
762
|
+
- `FlexLayout`
|
|
763
|
+
- `Input`
|
|
764
|
+
- `CircularProgress`
|
|
765
|
+
- `LinearProgress`
|
|
766
|
+
- `RadioButton`
|
|
767
|
+
- `Switch`
|
|
768
|
+
|
|
769
|
+
## 1.18.0
|
|
770
|
+
|
|
771
|
+
### Minor Changes
|
|
772
|
+
|
|
773
|
+
- fb4a0ce7: Updates default padding for Card to `--salt-spacing-200`.
|
|
774
|
+
|
|
775
|
+
Added `accent` and `hoverable` props to Card.
|
|
776
|
+
|
|
777
|
+
`accent` prop enables positioning of an optional accent.
|
|
778
|
+
`hoverable` prop enables hover styling.
|
|
779
|
+
|
|
780
|
+
```tsx
|
|
781
|
+
<Card accent="top" hoverable>
|
|
782
|
+
{children}
|
|
783
|
+
</Card>
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
### Patch Changes
|
|
787
|
+
|
|
788
|
+
- 55749302: Fixed multiline input not collapsing when the input value resets.
|
|
789
|
+
- 511a921e: Fix false positive error when a Salt Provider tries to stop multiple providers being root providers in different windows
|
|
790
|
+
- 92d5ebac: Removed auto scrolIntoView from Toast which caused issues for some users.
|
|
791
|
+
|
|
792
|
+
If this is a feature you need, pass a ref to Toast like below
|
|
793
|
+
|
|
794
|
+
```
|
|
795
|
+
const toastRef = useRef<HTMLDivElement>();
|
|
796
|
+
|
|
797
|
+
useLayoutEffect(() => {
|
|
798
|
+
toastRef.current?.scrollIntoView();
|
|
799
|
+
}, []);
|
|
800
|
+
|
|
801
|
+
return (
|
|
802
|
+
<Toast ref={toastRef}>
|
|
803
|
+
// ...
|
|
804
|
+
)
|
|
805
|
+
```
|
|
806
|
+
|
|
807
|
+
- b769f3e9: Added CSS API variable `--saltFormField-label-width`, replacing deprecated `--formField-label-width`
|
|
808
|
+
|
|
809
|
+
Usage should be changed:
|
|
810
|
+
|
|
811
|
+
```diff
|
|
812
|
+
- style={{ "--formField-label-width": "100px" } as CSSProperties}
|
|
813
|
+
+ style={{ "--saltFormField-label-width": "100px" } as CSSProperties}
|
|
814
|
+
```
|
|
815
|
+
|
|
816
|
+
## 1.17.0
|
|
817
|
+
|
|
818
|
+
### Minor Changes
|
|
819
|
+
|
|
820
|
+
- 0e031a5c: A progress indicator gives the user an understanding of how long a system
|
|
821
|
+
operation will take. You should use it when the operation will take more
|
|
822
|
+
than a second to complete. Two components are available to accommodate
|
|
823
|
+
different layout constraints: `CircularProgress` and `LinearProgress`.
|
|
824
|
+
|
|
825
|
+
```tsx
|
|
826
|
+
<LinearProgress aria-label="Download" value={50}/>
|
|
827
|
+
<CircularProgress aria-label="Download" value={50} />
|
|
828
|
+
```
|
|
829
|
+
|
|
830
|
+
- f266b3c5: Added resizing support to `MutilineInput`. `MultilineInput`s will now resize when typing and can be resized manually.
|
|
831
|
+
|
|
832
|
+
## 1.16.1
|
|
833
|
+
|
|
834
|
+
### Patch Changes
|
|
835
|
+
|
|
836
|
+
- 181afaf3: - Updated indeterminate `Checkbox` and `RadioButton` to use the native indeterminate attribute. This ensures screen readers correctly announce the control.
|
|
837
|
+
- Fixed `Checkbox` as `RadioButtonGroup` not being announced as read-only by setting `aria-readonly`.
|
|
838
|
+
- Updated external `Link`'s accessible text to remove the redundant text ("Link").
|
|
839
|
+
- Fixed `Switch`'s thumb being announced when the switch receives focus.
|
|
840
|
+
- Changed standalone `ToggleButton`'s role from checkbox to button and updated the necessary aria attributes.
|
|
841
|
+
- Fixed `Tooltip` being announced as clickable and focusable.
|
|
842
|
+
|
|
843
|
+
## 1.16.0
|
|
844
|
+
|
|
845
|
+
### Minor Changes
|
|
846
|
+
|
|
847
|
+
- 8f0012b7: Added `FileDropZone`, `FileDropZoneIcon` and `FileDropZoneTrigger` to core.
|
|
848
|
+
|
|
849
|
+
`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.
|
|
850
|
+
|
|
851
|
+
```tsx
|
|
852
|
+
<FileDropZone>
|
|
853
|
+
<FileDropZoneIcon />
|
|
854
|
+
<strong>Drop files here or</strong>
|
|
855
|
+
<FileDropZoneTrigger />
|
|
856
|
+
</FileDropZone>
|
|
857
|
+
```
|
|
858
|
+
|
|
859
|
+
### Patch Changes
|
|
860
|
+
|
|
861
|
+
- 455c31dd: Fixed disabled Accordions not showing a disabled cursor.
|
|
862
|
+
- 10ea2ca2: Fixed Card and Panel setting text properties by mistake, impacting content within inheriting wrong values.
|
|
863
|
+
- cfeeb51d: Fixed Tooltips showing without any content.
|
|
864
|
+
|
|
865
|
+
## 1.15.0
|
|
866
|
+
|
|
867
|
+
### Minor Changes
|
|
868
|
+
|
|
869
|
+
- b2dd61d7: Added Pagination
|
|
870
|
+
|
|
871
|
+
Pagination helps users navigate easily between content separated into multiple pages.
|
|
872
|
+
|
|
873
|
+
```tsx
|
|
874
|
+
<Pagination count={5}>
|
|
875
|
+
<Paginator />
|
|
876
|
+
</Pagination>
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
- 69549229: Added `Scrim`.
|
|
880
|
+
|
|
881
|
+
`Scrim` is a temporary, semi-transparent layer that makes underlying content less prominent.
|
|
882
|
+
|
|
883
|
+
```tsx
|
|
884
|
+
<Scrim open={open} />
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
- 907397e2: Added NavigationItem
|
|
888
|
+
|
|
889
|
+
NavigationItem allows users to navigate between distinct applications and website pages.
|
|
890
|
+
|
|
891
|
+
```tsx
|
|
892
|
+
<NavigationItem href="#">Label</NavigationItem>
|
|
893
|
+
```
|
|
894
|
+
|
|
895
|
+
- 340ff478: Updated `useToggleButtonGroup` to return the orientation of the group.
|
|
896
|
+
|
|
897
|
+
## 1.14.0
|
|
898
|
+
|
|
899
|
+
### Minor Changes
|
|
900
|
+
|
|
901
|
+
- 91d22148: Added `Pill` to Core
|
|
902
|
+
|
|
903
|
+
`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.
|
|
904
|
+
|
|
905
|
+
```tsx
|
|
906
|
+
<Pill onClick={handleClick}>Clickable Pill</Pill>
|
|
907
|
+
```
|
|
908
|
+
|
|
909
|
+
### Patch Changes
|
|
910
|
+
|
|
911
|
+
- 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.
|
|
912
|
+
- d9ce0737: Replaced incorrect usage of nullish operators.
|
|
913
|
+
- 32dbea7e: Update `ToggleButton` props to use `ComponentPropsWithoutRef`.
|
|
914
|
+
- 48f6c20c: Fixed Tooltip not honoring `disabled` prop when used in Form Field
|
|
915
|
+
|
|
916
|
+
## 1.13.4
|
|
917
|
+
|
|
918
|
+
### Patch Changes
|
|
919
|
+
|
|
920
|
+
- 70fad5a1: Updated @floating-ui/react to 0.26.5.
|
|
921
|
+
- c49c246e: Removed redundant Icon color overrides.
|
|
922
|
+
- b4d72c16: Fixed FloatingComponent types
|
|
923
|
+
- dbe8571b: Fixed Input placeholder color.
|
|
924
|
+
|
|
925
|
+
## 1.13.3
|
|
926
|
+
|
|
927
|
+
### Patch Changes
|
|
928
|
+
|
|
929
|
+
- f7fcbd11: Fixed issue where components are not injecting their styles.
|
|
930
|
+
- bb250947: Fixed `Badge` appearing over `Dialogs` due to an incorrect z-index.
|
|
931
|
+
|
|
932
|
+
## 1.13.2
|
|
933
|
+
|
|
934
|
+
### Patch Changes
|
|
935
|
+
|
|
936
|
+
- 2ca80cb7: Fixed Input and Multiline Input button adornments being clipped if they contain text.
|
|
937
|
+
Fixed nested buttons being affected by overrides applied to Input and Multiline Input button adornments.
|
|
938
|
+
Fixed Multiline Input button adornments being an incorrect size.
|
|
939
|
+
- d6e2e2c1: Fixed nested Salt Providers not inheriting a parent provider's `enableStyleInjection` value.
|
|
940
|
+
|
|
941
|
+
## 1.13.1
|
|
942
|
+
|
|
943
|
+
### Patch Changes
|
|
944
|
+
|
|
945
|
+
- 7f58c773: Fixed Tooltip breaking when used inside a Form Field with an invalid value passed to the `validationStatus` prop.
|
|
946
|
+
|
|
947
|
+
## 1.13.0
|
|
948
|
+
|
|
949
|
+
### Minor Changes
|
|
950
|
+
|
|
951
|
+
- c85334b5: `Text` component has two new variants: `TextAction` and `TextNotation`. See [Text component](/salt/components/text) for more information.
|
|
952
|
+
|
|
953
|
+
```tsx
|
|
954
|
+
<Text styleAs="notation" as="span">Lorem ipsum</Text>
|
|
955
|
+
<Text styleAs="action" as="span">Lorem ipsum</Text>
|
|
956
|
+
```
|
|
957
|
+
|
|
958
|
+
```tsx
|
|
959
|
+
<TextNotation>Lorem ipsum</TextNotation>
|
|
960
|
+
<TextAction>Lorem ipsum</TextAction>
|
|
961
|
+
```
|
|
962
|
+
|
|
963
|
+
## 1.12.0
|
|
964
|
+
|
|
965
|
+
### Minor Changes
|
|
966
|
+
|
|
967
|
+
- 966c362f: Supports turning off style injection via `SaltProvider`.
|
|
968
|
+
|
|
969
|
+
```tsx
|
|
970
|
+
<SaltProvider enableStyleInjection={false} >
|
|
971
|
+
```
|
|
972
|
+
|
|
973
|
+
Expose a CSS file that allows Salt to be used without runtime CSS injection.
|
|
974
|
+
|
|
975
|
+
```tsx
|
|
976
|
+
import "@salt-ds/core/css/salt-core.css";
|
|
977
|
+
```
|
|
978
|
+
|
|
979
|
+
- feb80146: **_Theming and CSS updates_** with visual changes to Salt components:
|
|
980
|
+
|
|
981
|
+
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.
|
|
982
|
+
|
|
983
|
+
```diff
|
|
984
|
+
- --salt-actionable-cta-fontWeight
|
|
985
|
+
- --salt-actionable-primary-fontWeight
|
|
986
|
+
- --salt-actionable-secondary-fontWeight
|
|
987
|
+
+ --salt-text-action-fontWeight
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+

|
|
991
|
+
|
|
992
|
+
2. Disabled `InteractableCard` component has default border color updated from blue to grey.
|
|
993
|
+
|
|
994
|
+
```diff
|
|
995
|
+
- --salt-accent-borderColor-disabled
|
|
996
|
+
+ --salt-container-primary-borderColor-disabled
|
|
997
|
+
```
|
|
998
|
+
|
|
999
|
+

|
|
1000
|
+
|
|
1001
|
+
3. `Avatar` component line height in HD updated from `11px` to `10px`.
|
|
1002
|
+
|
|
1003
|
+
4. Small `Spinner` component size in HD updated from `12px` to `10px`.
|
|
1004
|
+
|
|
1005
|
+
**_Theming and CSS updates_** with no visual change to Salt components, useful for teams overriding theme locally:
|
|
1006
|
+
|
|
1007
|
+
- `Avatar` component CSS token name updated
|
|
1008
|
+
|
|
1009
|
+
```diff
|
|
1010
|
+
- --salt-icon-size-base
|
|
1011
|
+
+ --salt-size-icon
|
|
1012
|
+
```
|
|
1013
|
+
|
|
1014
|
+
- 01fa27ad: Added Badge.
|
|
1015
|
+
|
|
1016
|
+
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.
|
|
1017
|
+
|
|
1018
|
+
```
|
|
1019
|
+
<Badge value={9}>
|
|
1020
|
+
<Button>
|
|
1021
|
+
<NotificationSolidIcon />
|
|
1022
|
+
</Button>
|
|
1023
|
+
</Badge>
|
|
1024
|
+
```
|
|
1025
|
+
|
|
1026
|
+
- c6f5feeb: Added a secondary variant to `Card` and `InteractableCard` via their `variant` prop.
|
|
1027
|
+
|
|
1028
|
+
```tsx
|
|
1029
|
+
<Card variant="secondary" />
|
|
1030
|
+
<InteractableCard variant="secondary" />
|
|
1031
|
+
```
|
|
1032
|
+
|
|
1033
|
+
### Patch Changes
|
|
1034
|
+
|
|
1035
|
+
- 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.
|
|
1036
|
+
|
|
1037
|
+
- Avatar
|
|
1038
|
+
- Badge
|
|
1039
|
+
- Banner
|
|
1040
|
+
- Card
|
|
1041
|
+
- Form Field
|
|
1042
|
+
- Panel
|
|
1043
|
+
- Switch
|
|
1044
|
+
- Text
|
|
1045
|
+
- Toast
|
|
1046
|
+
- Tooltip
|
|
1047
|
+
|
|
1048
|
+
- bb41157b: Fixed alignment for Checkbox and Radio Button. They are now correctly aligned to their labels.
|
|
1049
|
+
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.
|
|
1050
|
+
|
|
1051
|
+
## 1.11.1
|
|
1052
|
+
|
|
1053
|
+
### Patch Changes
|
|
1054
|
+
|
|
1055
|
+
- 1ae74f49: Fix Tooltip status icon alignment
|
|
1056
|
+
|
|
1057
|
+
## 1.11.0
|
|
1058
|
+
|
|
1059
|
+
### Minor Changes
|
|
1060
|
+
|
|
1061
|
+
- 90fa68a1: Added Switch.
|
|
1062
|
+
|
|
1063
|
+
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.
|
|
1064
|
+
|
|
1065
|
+
```tsx
|
|
1066
|
+
const [checked, setChecked] = useState(false);
|
|
1067
|
+
|
|
1068
|
+
const handleChange = (event: ChangeEvent<HTMLInputElement>) => {
|
|
1069
|
+
setChecked(event.target.checked);
|
|
1070
|
+
onChange?.(event);
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
return <Switch checked={checked} onChange={handleChange} />;
|
|
1074
|
+
```
|
|
1075
|
+
|
|
1076
|
+
- 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.
|
|
1077
|
+
|
|
1078
|
+
### Patch Changes
|
|
1079
|
+
|
|
1080
|
+
- 4f95aa96: Fixed the Viewport Provider not setting initial viewport measurements.
|
|
1081
|
+
- e7cdafa4: Fixed Radio Button and Checkbox incorrectly inheriting text styles.
|
|
1082
|
+
|
|
1083
|
+
## 1.10.0
|
|
1084
|
+
|
|
1085
|
+
### Minor Changes
|
|
1086
|
+
|
|
1087
|
+
- 319140a6: Add `small` size to Spinner
|
|
1088
|
+
|
|
1089
|
+
### Patch Changes
|
|
1090
|
+
|
|
1091
|
+
- 7b8a169a: Added flex-grow to splitLayout so it takes 100% of the container's direction
|
|
1092
|
+
- 7d846f2f: fix gap multiplier for StackLayout and FlexLayout touch
|
|
1093
|
+
|
|
1094
|
+
## 1.9.1
|
|
1095
|
+
|
|
1096
|
+
### Patch Changes
|
|
1097
|
+
|
|
1098
|
+
- 45eaeeb5: Fix `useId` not found error bundled by Webpack
|
|
1099
|
+
|
|
1100
|
+
## 1.9.0
|
|
1101
|
+
|
|
1102
|
+
### Minor Changes
|
|
1103
|
+
|
|
1104
|
+
- d972ead6: ## Added desktop support for Tooltips
|
|
1105
|
+
|
|
1106
|
+
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.
|
|
1107
|
+
|
|
1108
|
+
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.
|
|
1109
|
+
|
|
1110
|
+
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
|
|
1111
|
+
s lifecycle e.g. to activate external windows.
|
|
1112
|
+
|
|
1113
|
+
### Patch Changes
|
|
1114
|
+
|
|
1115
|
+
- 49614c3a: Remove Button's min-height
|
|
1116
|
+
- d8470fee: Fixes extra padding below a control in Form Field when no helper text provided
|
|
1117
|
+
|
|
1118
|
+
## 1.8.2
|
|
1119
|
+
|
|
1120
|
+
### Patch Changes
|
|
1121
|
+
|
|
1122
|
+
- dfdf4c26: Checkbox and RadioButton readonly states made focusable by default
|
|
1123
|
+
- 6c2d10d7: Added new internal --statusIndicator-Color css variable for StatusIndicator. Additionally StatusIndicator will now set `color` as well as the `saltIcon-color` css variable
|
|
1124
|
+
- c7ce7642: Remove extra styling from `Card` and `InteractableCard`. This should make them more generic and easier to use.
|
|
1125
|
+
- 2b34c155: Fixed bug in GridLayout where `columnGap` and `rowGap` couldn't be set to zero
|
|
1126
|
+
- 402e13f7: Browser compatibility CSS changes.
|
|
1127
|
+
|
|
1128
|
+
Added missing prefix to `appearance` and revert `padding-inline`, `padding-block` and `margin-block` to improve browser compatibility with Chrome 79
|
|
1129
|
+
|
|
1130
|
+
## 1.8.1
|
|
1131
|
+
|
|
1132
|
+
### Patch Changes
|
|
1133
|
+
|
|
1134
|
+
- fa77a894: Input and MultilineInput readonly states made focusable by default
|
|
1135
|
+
- 83c537a5: Fix svg centering when used as icon in `Checkbox` and `RadioButton`.
|
|
1136
|
+
|
|
1137
|
+
## 1.8.0
|
|
1138
|
+
|
|
1139
|
+
### Minor Changes
|
|
1140
|
+
|
|
1141
|
+
- b2ca1f11: Add MultilineInput.
|
|
1142
|
+
|
|
1143
|
+
Multiline Input provides an editable text area in which users can enter multiple lines of text and numeric values.
|
|
1144
|
+
|
|
1145
|
+
```tsx
|
|
1146
|
+
<MultilineInput defaultValue="Value" />
|
|
1147
|
+
```
|
|
1148
|
+
|
|
1149
|
+
### Patch Changes
|
|
1150
|
+
|
|
1151
|
+
- ce0c73b7: Remove selected hover styles from Checkbox and Radio Button.
|
|
1152
|
+
- 90e4604b: Add scrollIntoView on Toast mount
|
|
1153
|
+
- 73bb60df: Add margin bottom on Toast
|
|
1154
|
+
- a1c95484: Fixed spacing between status icon and helper text in Form Field
|
|
1155
|
+
- e070e76d: Fix alignment of label in Form Field when positioned left or right
|
|
1156
|
+
- a6f83794: Fix Radio Button read-only icon
|
|
1157
|
+
- 1f10586c: Fixed spacing between necessity asterisk and label in Form Field
|
|
1158
|
+
- 8f99ee39: Updated font-weight of strong Label to use --salt-text-label-fontWeight-strong
|
|
1159
|
+
- 6fcf20a3: Fixed control size in Radio Button to match the shown icon size.
|
|
1160
|
+
- ecb9893c: Fixed interactable card styles clashing with card styles in the production build
|
|
1161
|
+
- 4c5fe903: Updated the Accordion styling.
|
|
1162
|
+
|
|
1163
|
+
- Added `status` to the `Accordion` component.
|
|
1164
|
+
- Removed the hover styling from the `Accordion` component.
|
|
1165
|
+
- Moved the border from the bottom of the accordion to the top.
|
|
1166
|
+
- Added a fade animation to the accordion contents.
|
|
1167
|
+
- Updated the arrow rotation animation.
|
|
1168
|
+
|
|
1169
|
+
## 1.8.0-rc.5
|
|
1170
|
+
|
|
1171
|
+
### Minor Changes
|
|
1172
|
+
|
|
1173
|
+
- 6c86e078: Add Toast and ToastContent.
|
|
1174
|
+
|
|
1175
|
+
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.
|
|
1176
|
+
|
|
1177
|
+
```tsx
|
|
1178
|
+
<Toast>
|
|
1179
|
+
<ToastContent>Toast content</ToastContent>
|
|
1180
|
+
<Button variant="secondary">
|
|
1181
|
+
<CloseIcon />
|
|
1182
|
+
</Button>
|
|
1183
|
+
</Toast>
|
|
1184
|
+
```
|
|
1185
|
+
|
|
1186
|
+
### Patch Changes
|
|
1187
|
+
|
|
1188
|
+
- 6099c82a: Removed "user-select:none" from Button
|
|
1189
|
+
- 087496e3: Fixed placeholder styling in Input
|
|
1190
|
+
Fixed activation indicator width on readonly variant in Input when active
|
|
1191
|
+
Fixed spacing between multiple adornment buttons
|
|
1192
|
+
Fixed adornment button height and width
|
|
1193
|
+
- b5e70f08: Fixed Checkbox Group crashing when a Checkbox was toggled in React 16
|
|
1194
|
+
- 58a6de9a: The `pronounced` prop has been replaced with the `intent` prop.
|
|
1195
|
+
|
|
1196
|
+
```diff
|
|
1197
|
+
- <FormLabel pronounced />
|
|
1198
|
+
+ <FormLabel intent="sentence" />
|
|
1199
|
+
```
|
|
1200
|
+
|
|
1201
|
+
- 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)
|
|
1202
|
+
|
|
1203
|
+
## 1.8.0-rc.4
|
|
1204
|
+
|
|
1205
|
+
### Minor Changes
|
|
1206
|
+
|
|
1207
|
+
- 00f04b17: Add ToggleButton and ToggleButtonGroup.
|
|
1208
|
+
|
|
1209
|
+
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.
|
|
1210
|
+
This Toggle Button allows users to enable or disable a single command.
|
|
1211
|
+
|
|
1212
|
+
```tsx
|
|
1213
|
+
<ToggleButtonGroup>
|
|
1214
|
+
<ToggleButton value="all">
|
|
1215
|
+
<AppSwitcherIcon aria-hidden />
|
|
1216
|
+
All
|
|
1217
|
+
</ToggleButton>
|
|
1218
|
+
<ToggleButton value="active">
|
|
1219
|
+
<VisibleIcon aria-hidden />
|
|
1220
|
+
Active
|
|
1221
|
+
</ToggleButton>
|
|
1222
|
+
<ToggleButton disabled value="search">
|
|
1223
|
+
<FolderClosedIcon aria-hidden />
|
|
1224
|
+
Archived
|
|
1225
|
+
</ToggleButton>
|
|
1226
|
+
</ToggleButtonGroup>
|
|
1227
|
+
```
|
|
1228
|
+
|
|
1229
|
+
- 58cf03cf: Add AccordionGroup, AccordionPanel, Accordion, AccordionHeader.
|
|
1230
|
+
|
|
1231
|
+
A pane containing summary content, which can then be expanded or collapsed to allow the user to show or hide content.
|
|
1232
|
+
|
|
1233
|
+
```tsx
|
|
1234
|
+
<AccordionGroup>
|
|
1235
|
+
<Accordion
|
|
1236
|
+
expanded={expanded === "accordion-0"}
|
|
1237
|
+
value="accordion-0"
|
|
1238
|
+
onToggle={onChange}
|
|
1239
|
+
>
|
|
1240
|
+
<AccordionHeader>AccordionHeader0</AccordionHeader>
|
|
1241
|
+
<AccordionPanel>AccordionPanel0</AccordionPanel>
|
|
1242
|
+
</Accordion>
|
|
1243
|
+
<Accordion
|
|
1244
|
+
expanded={expanded === "accordion-1"}
|
|
1245
|
+
value="accordion-1"
|
|
1246
|
+
onToggle={onChange}
|
|
1247
|
+
>
|
|
1248
|
+
<AccordionHeader>AccordionHeader1</AccordionHeader>
|
|
1249
|
+
<AccordionPanel>AccordionPanel1</AccordionPanel>
|
|
1250
|
+
</Accordion>
|
|
1251
|
+
</AccordionGroup>
|
|
1252
|
+
```
|
|
1253
|
+
|
|
1254
|
+
### Patch Changes
|
|
1255
|
+
|
|
1256
|
+
- 89a3da4c: Fixed Checkbox and Radio Button border style incorrectly using `--salt-container-borderStyle`.
|
|
1257
|
+
|
|
1258
|
+
## 1.8.0-rc.3
|
|
1259
|
+
|
|
1260
|
+
### Minor Changes
|
|
1261
|
+
|
|
1262
|
+
- 0a1c9d9d: Refactored Checkbox to align styling.
|
|
1263
|
+
Add readOnly support to Checkbox.
|
|
1264
|
+
|
|
1265
|
+
```tsx
|
|
1266
|
+
<CheckboxGroup>
|
|
1267
|
+
<Checkbox readOnly label="readonly checkbox" />
|
|
1268
|
+
<Checkbox readOnly indeterminate label="readonly indeterminate checkbox" />
|
|
1269
|
+
<Checkbox readOnly checked label="readonly checked checkbox" />
|
|
1270
|
+
</CheckboxGroup>
|
|
1271
|
+
```
|
|
1272
|
+
|
|
1273
|
+
- 21a76576: Refactored Radio Button to align styling.
|
|
1274
|
+
Added readOnly support to Radio Button.
|
|
1275
|
+
|
|
1276
|
+
```tsx
|
|
1277
|
+
<RadioButtonGroup readOnly>
|
|
1278
|
+
<RadioButton label="Readonly" value="Readonly" />
|
|
1279
|
+
<RadioButton label="Checked Readonly" value="Readonly-checked" checked />
|
|
1280
|
+
</RadioButtonGroup>
|
|
1281
|
+
```
|
|
1282
|
+
|
|
1283
|
+
### Patch Changes
|
|
1284
|
+
|
|
1285
|
+
- 4329d8c7: Update Button and Toggle Button to have a fixed gap between icons and text.
|
|
1286
|
+
- 0a1c9d9d: Fix inputProps overwriting internal Checkbox props
|
|
1287
|
+
- 21a76576: Fixed inputProps overwriting internal Radio Button props
|
|
1288
|
+
- 95188004: Alignment of StatusAdornment has been fixed
|
|
1289
|
+
|
|
1290
|
+
## 1.8.0-rc.2
|
|
1291
|
+
|
|
1292
|
+
### Major Changes
|
|
1293
|
+
|
|
1294
|
+
- 67199b0b: Removed `AdornmentButton`. Replace usages with the `Button` component.
|
|
1295
|
+
|
|
1296
|
+
```diff
|
|
1297
|
+
- <Input
|
|
1298
|
+
- defaultValue="Value"
|
|
1299
|
+
- startAdornment={<AdornmentButton>Test</AdornmentButton>}
|
|
1300
|
+
- data-testid="test-id-3"
|
|
1301
|
+
- />
|
|
1302
|
+
+ <Input
|
|
1303
|
+
+ defaultValue="Value"
|
|
1304
|
+
+ startAdornment={<Button>Test</Button>}
|
|
1305
|
+
+ data-testid="test-id-3"
|
|
1306
|
+
+ />
|
|
1307
|
+
```
|
|
1308
|
+
|
|
1309
|
+
```diff
|
|
1310
|
+
- <Input
|
|
1311
|
+
- disabled
|
|
1312
|
+
- defaultValue="Value"
|
|
1313
|
+
- startAdornment={<AdornmentButton>Test</AdornmentButton>}
|
|
1314
|
+
- data-testid="test-id-3"
|
|
1315
|
+
- />
|
|
1316
|
+
+ <Input
|
|
1317
|
+
+ disabled
|
|
1318
|
+
+ defaultValue="Value"
|
|
1319
|
+
+ startAdornment={<Button disabled>Test</Button>}
|
|
1320
|
+
+ data-testid="test-id-3"
|
|
1321
|
+
+ />
|
|
1322
|
+
```
|
|
1323
|
+
|
|
1324
|
+
**Note:** You will need to pass `disabled` to the `Button` component if the `Input` is disabled.
|
|
1325
|
+
|
|
1326
|
+
### Minor Changes
|
|
1327
|
+
|
|
1328
|
+
- 9668b500: Fixed invalid ARIA attribute console errors when using Input
|
|
1329
|
+
- cdec98d2: Added `validationStatus` prop to RadioButton and Checkbox allowing for error and warning status
|
|
1330
|
+
Deprecated `error` prop in RadioButton and Checkbox: Use `validationStatus="error"` instead
|
|
1331
|
+
|
|
1332
|
+
Added `validationStatus` prop to RadioButtonGroupContext and CheckboxGroupContext allowing for error and warning status on the group as a whole
|
|
1333
|
+
|
|
1334
|
+
- 598be79d: Added `necessity` prop to FormFieldLabel
|
|
1335
|
+
- b3e511e9: Add support for Checkbox/RadioButton used alone (not in group context) within a Form Field with status
|
|
1336
|
+
|
|
1337
|
+
Disables Checkbox/RadioButton focus ring when parent Form Field is disabled
|
|
1338
|
+
|
|
1339
|
+
`AdornmentValidationStatus` type exposed for status adornments. Type of `validationStatus` changed in Checkbox and RadioButton to `AdornmentValidationStatus`.
|
|
1340
|
+
|
|
1341
|
+
- feda4061: **_Significant styling change_**
|
|
1342
|
+
|
|
1343
|
+
Removed disabled error style variant from Checkbox. Error styling will now only show if component is not disabled.
|
|
1344
|
+
|
|
1345
|
+
- 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
|
|
1346
|
+
|
|
1347
|
+
Added "right" as an option to `FormFieldLabelPlacement` type used in FormField `labelPlacement` prop
|
|
1348
|
+
|
|
1349
|
+
- e851d2ba: Removed the `FormFieldControlWrapper` component and `useControlWrapper` hook.
|
|
1350
|
+
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.
|
|
1351
|
+
- 52c2e1ce: Fixed Form Field label incorrectly inheriting text alignment.
|
|
1352
|
+
- 82b162d3: `Checkbox` and `RadioButton` updated to use FormFieldContext
|
|
1353
|
+
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
|
|
1354
|
+
- 3425ea96: **_Significant styling change_**
|
|
1355
|
+
|
|
1356
|
+
Removed disabled error style variant from Radio Button. Error styling will now only show if component is not disabled.
|
|
1357
|
+
|
|
1358
|
+
### Patch Changes
|
|
1359
|
+
|
|
1360
|
+
- 5b60aa72: Increased spacing between Checkbox/Radio Button and value, and spacing between each when horizontally grouped
|
|
1361
|
+
- 7ca8c510: Design fix on Form Field
|
|
1362
|
+
|
|
1363
|
+
- Left aligned label on wrapped text: Ensures label stays in line with Input text.
|
|
1364
|
+
- Success status adornment color corrected.
|
|
1365
|
+
- Spacing changes between adornments.
|
|
1366
|
+
|
|
1367
|
+
- 62bb0f8d: - Sort breakpoints in `useResponsiveProps` so it can handle unordered props.
|
|
1368
|
+
- Fix flickering bug on breakpoint change when values passed to `useResponsiveProps` are the same.
|
|
1369
|
+
|
|
1370
|
+
## 1.8.0-rc.1
|
|
1371
|
+
|
|
1372
|
+
### Minor Changes
|
|
1373
|
+
|
|
1374
|
+
- 287cb5fa: Form Field supports helper text within a nested Tooltip
|
|
1375
|
+
|
|
1376
|
+
Tooltip uses FormFieldContext which has precedence over any disabled and status given to Tooltip when wrapped within a FormField component
|
|
1377
|
+
|
|
1378
|
+
- 2da87f0b: Added `placeholder` prop to Input: Placeholder can be used when no default value is given to promopt user input
|
|
1379
|
+
- 49fa6ad5: Added `AdornmentButton` component as an interactive adornment to be used within Input
|
|
1380
|
+
- 8d5a8c9f: Added `startAdornment` and `endAdornment` props to Input: Allows for custom adornments to be used within the Input component
|
|
1381
|
+
|
|
1382
|
+
### Patch Changes
|
|
1383
|
+
|
|
1384
|
+
- c4df0491: The default Card design has been changed to include a border to enhance visual accessibility.
|
|
1385
|
+
|
|
1386
|
+
## 1.8.0-rc.0
|
|
1387
|
+
|
|
1388
|
+
### Minor Changes
|
|
1389
|
+
|
|
1390
|
+
- 58c6699f: Input: `aria-describedby` is now merged between the value from Form Field context if present and the value from inputProps
|
|
1391
|
+
- bf5a9441: Updated `RadioButtonGroup` to use renamed token from `FormFieldLegacy`
|
|
1392
|
+
- 9d68637a: Moved form-field-next and form-field-context-next to core as form-field and form-field-context
|
|
1393
|
+
|
|
1394
|
+
`FormField`: First version of Form Field built with a compositional API by providing the following components alongside:
|
|
1395
|
+
`FormFieldHelperText`: Helper text component
|
|
1396
|
+
`FormFieldLabel`: Form label component (compatible with left and top placement)
|
|
1397
|
+
`FormFieldControlWrapper`: Styling container for controls used within Form Field
|
|
1398
|
+
|
|
1399
|
+
`FormFieldContext`, `useFormFieldProps`: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field
|
|
1400
|
+
|
|
1401
|
+
- eb3db91c: Removed `startAdornment` and `endAdornment` props from `InputNext`. Props will be added back once adornments come in v2
|
|
1402
|
+
|
|
1403
|
+
Moved input-next to core as input
|
|
1404
|
+
|
|
1405
|
+
`Input`: First version of `InputNext` renamed to Input
|
|
1406
|
+
|
|
1407
|
+
- All tokens prefixed `--saltInputNext-` changed to prefix `--saltInput-`
|
|
1408
|
+
|
|
1409
|
+
Moved status-adornment to core
|
|
1410
|
+
|
|
1411
|
+
`StatusAdornment`: Component to be used for validation status indication
|
|
1412
|
+
|
|
1413
|
+
- d78ff537: Refactored all components to use new style injection mechanism provided by `@salt-ds/styles`
|
|
1414
|
+
|
|
1415
|
+
### Patch Changes
|
|
1416
|
+
|
|
1417
|
+
- 46af9f8c: Move Banner to core
|
|
1418
|
+
|
|
1419
|
+
## 1.7.1
|
|
1420
|
+
|
|
1421
|
+
### Patch Changes
|
|
1422
|
+
|
|
1423
|
+
- 1e9ef1a2: Fix duplicate Salt libraries being installed when multiple libraries are installed
|
|
1424
|
+
|
|
1425
|
+
## 1.7.0
|
|
1426
|
+
|
|
1427
|
+
### Minor Changes
|
|
1428
|
+
|
|
1429
|
+
- d7ed50d5: Remove text decoration of inner text in Card when wrapped in a link
|
|
1430
|
+
|
|
1431
|
+
### Patch Changes
|
|
1432
|
+
|
|
1433
|
+
- 9f3800d2: Update Tooltip props to account for the new content attribute introduced in @types/react@18.2.4
|
|
1434
|
+
- 528aa923: Fix Checkbox having incorrect icon style when in the disabled state and hovered over
|
|
1435
|
+
- 7f83323a: Fix mergeProps not respecting null values
|
|
1436
|
+
|
|
1437
|
+
## 1.6.0
|
|
1438
|
+
|
|
1439
|
+
### Minor Changes
|
|
1440
|
+
|
|
1441
|
+
- bf66b578: Deprecated -emphasize tokens in status and palette; replaced with default tokens
|
|
1442
|
+
|
|
1443
|
+
`--salt-status-error-background-emphasize` replaced with `--salt-status-error-background`
|
|
1444
|
+
`--salt-status-info-background-emphasize` replaced with `--salt-status-info-background`
|
|
1445
|
+
`--salt-status-success-background-emphasize` replaced with `--salt-status-success-background`
|
|
1446
|
+
`--salt-status-warning-background-emphasize` replaced with `--salt-status-warning-background`
|
|
1447
|
+
|
|
1448
|
+
`--salt-palette-error-background-emphasize` replaced with `--salt-palette-error-background`
|
|
1449
|
+
`--salt-palette-info-background-emphasize` replaced with `--salt-palette-info-background`
|
|
1450
|
+
`--salt-palette-success-background-emphasize` replaced with `--salt-palette-success-background`
|
|
1451
|
+
`--salt-palette-warning-background-emphasize` replaced with `--salt-palette-warning-background`
|
|
1452
|
+
|
|
1453
|
+
- ea857f24: Deprecated `--salt-size-icon-base`, replaced with `--salt-icon-size-base`
|
|
1454
|
+
Added `--salt-icon-size-status-adornment`
|
|
1455
|
+
- 47132c22: Added `FormFieldNext` component with associated `FormFieldLabel` and `FormFieldHelperText` components
|
|
1456
|
+
Added `FormFieldContextNext`, `useFormFieldPropsNext`
|
|
1457
|
+
Added `InputNext` component
|
|
1458
|
+
- a6ede40d: Render Tooltip in a portal to avoid it being cut off
|
|
1459
|
+
|
|
1460
|
+
Add mergeProps to utils.
|
|
1461
|
+
|
|
1462
|
+
Upgraded @floating-ui//react to v0.23.0
|
|
1463
|
+
|
|
1464
|
+
### Patch Changes
|
|
1465
|
+
|
|
1466
|
+
- fe818c66: Fix Tooltip having incorrect text styles when being nested in elements with custom text styles.
|
|
1467
|
+
|
|
1468
|
+
## 1.5.0
|
|
1469
|
+
|
|
1470
|
+
### Minor Changes
|
|
1471
|
+
|
|
1472
|
+
- 9bee69f4: Move `Checkbox` from lab to core
|
|
1473
|
+
- ea010ffa: New `--salt-size-container-spacing` and `--salt-size-adornmentGap` tokens
|
|
1474
|
+
|
|
1475
|
+
```diff
|
|
1476
|
+
+ --salt-size-container-spacing: calc(3 * var(--salt-size-unit));
|
|
1477
|
+
+ --salt-size-adornmentGap: calc(0.75 * var(--salt-size-unit));
|
|
1478
|
+
```
|
|
1479
|
+
|
|
1480
|
+
- 4a51e4c6: Add Radio Button and Radio Button Group
|
|
1481
|
+
- 9edfa980: Panel color css attribute changed from `inherit` to `initial`
|
|
1482
|
+
- 85647494: Move capitalize util from lab to core
|
|
1483
|
+
- f301f43c: Deprecated `interactable` and `disabled` props in Card
|
|
1484
|
+
Created `InteractableCard` component for Cards which can perform an action, e.g. linking to a different page or content
|
|
1485
|
+
|
|
1486
|
+
To migrate from the previous to new implementation:
|
|
1487
|
+
|
|
1488
|
+
```diff
|
|
1489
|
+
- import { Card } from "@salt-ds/core";
|
|
1490
|
+
-
|
|
1491
|
+
- const MyInteractableCard = () => (
|
|
1492
|
+
- <Card interactable />
|
|
1493
|
+
- );
|
|
1494
|
+
|
|
1495
|
+
- const MyInteractableDisabledCard = () => (
|
|
1496
|
+
- <Card interactable disabled />
|
|
1497
|
+
- );
|
|
1498
|
+
|
|
1499
|
+
+ import { InteractableCard } from "@salt-ds/core";
|
|
1500
|
+
+
|
|
1501
|
+
+ const MyInteractableCard = () => (
|
|
1502
|
+
+ <InteractableCard />
|
|
1503
|
+
+ );
|
|
1504
|
+
+
|
|
1505
|
+
+ const MyInteractableDisabledCard = () => (
|
|
1506
|
+
+ <InteractableCard disabled />
|
|
1507
|
+
+ );
|
|
1508
|
+
```
|
|
1509
|
+
|
|
1510
|
+
- 8d54ce2a: Make hiding icons in external links easier
|
|
1511
|
+
|
|
1512
|
+
```tsx
|
|
1513
|
+
<Link IconComponent={null} href="#root" target="_blank">
|
|
1514
|
+
This has no icon
|
|
1515
|
+
</Link>
|
|
1516
|
+
```
|
|
1517
|
+
|
|
1518
|
+
### Patch Changes
|
|
1519
|
+
|
|
1520
|
+
- 0c33a60c: Fix Avatar fallback not working
|
|
1521
|
+
- 8d29c01f: - Fix Text components missing a font family.
|
|
1522
|
+
- Apply new font family variables from `@salt-ds/theme` to Text components
|
|
1523
|
+
|
|
1524
|
+
## 1.4.0
|
|
1525
|
+
|
|
1526
|
+
### Minor Changes
|
|
1527
|
+
|
|
1528
|
+
- 974c92da: - New characteristics introduced in `accent`, new palette token
|
|
1529
|
+
|
|
1530
|
+
```diff
|
|
1531
|
+
+ --salt-accent-background-disabled: var(--salt-palette-accent-background-disabled);
|
|
1532
|
+
+ --salt-palette-accent-background-disabled
|
|
1533
|
+
```
|
|
1534
|
+
|
|
1535
|
+
- New characteristics introduced in `selectable`, new palette tokens
|
|
1536
|
+
|
|
1537
|
+
```diff
|
|
1538
|
+
+ --salt-selectable-foreground: var(--salt-palette-interact-foreground);
|
|
1539
|
+
+ --salt-selectable-foreground-disabled: var(--salt-palette-interact-foreground-disabled);
|
|
1540
|
+
+ --salt-selectable-foreground-hover: var(--salt-palette-interact-foreground-hover);
|
|
1541
|
+
+ --salt-selectable-foreground-selected: var(--salt-palette-interact-foreground-active);
|
|
1542
|
+
+ --salt-selectable-foreground-selectedDisabled: var(--salt-palette-interact-foreground-activeDisabled);
|
|
1543
|
+
+ --salt-palette-interact-foreground-active
|
|
1544
|
+
+ --salt-palette-interact-foreground-activeDisabled
|
|
1545
|
+
+ --salt-palette-interact-foreground-hover
|
|
1546
|
+
```
|
|
1547
|
+
|
|
1548
|
+
Updated values in light mode
|
|
1549
|
+
|
|
1550
|
+
```diff
|
|
1551
|
+
- --salt-palette-interact-foreground: var(--salt-color-gray-900);
|
|
1552
|
+
+ --salt-palette-interact-foreground: var(--salt-color-gray-200);
|
|
1553
|
+
- --salt-palette-interact-foreground-disabled: var(--salt-color-gray-900-fade-foreground);
|
|
1554
|
+
+ --salt-palette-interact-foreground-disabled: var(--salt-color-gray-200-fade-foreground);
|
|
1555
|
+
- --salt-palette-interact-foreground-hover: var(--salt-color-gray-500);
|
|
1556
|
+
+ --salt-palette-interact-foreground-hover: var(--salt-color-blue-500);
|
|
1557
|
+
```
|
|
1558
|
+
|
|
1559
|
+
Updated values in dark mode
|
|
1560
|
+
|
|
1561
|
+
```diff
|
|
1562
|
+
- --salt-palette-interact-foreground: var(--salt-color-white);
|
|
1563
|
+
+ --salt-palette-interact-foreground: var(--salt-color-gray-90);
|
|
1564
|
+
- --salt-palette-interact-foreground-disabled: var(--salt-color-white-fade-foreground);
|
|
1565
|
+
+ --salt-palette-interact-foreground-disabled: var(--salt-color-gray-90-fade-foreground);
|
|
1566
|
+
- --salt-palette-interact-foreground-hover: var(--salt-color-gray-500);
|
|
1567
|
+
+ --salt-palette-interact-foreground-hover: var(--salt-color-blue-500);
|
|
1568
|
+
```
|
|
1569
|
+
|
|
1570
|
+
- Deprecated the following `selectable` tokens, use `--salt-text-primary-foreground` and `--salt-text-primary-foreground-disabled` as replacements
|
|
1571
|
+
|
|
1572
|
+
```diff
|
|
1573
|
+
- --salt-selectable-cta-foreground
|
|
1574
|
+
- --salt-selectable-cta-foreground-disabled
|
|
1575
|
+
- --salt-selectable-primary-foreground
|
|
1576
|
+
- --salt-selectable-primary-foreground-disabled
|
|
1577
|
+
- --salt-selectable-secondary-foreground
|
|
1578
|
+
- --salt-selectable-secondary-foreground-disabled
|
|
1579
|
+
- --salt-selectable-foreground-partial
|
|
1580
|
+
- --salt-selectable-foreground-partialDisabled
|
|
1581
|
+
```
|
|
1582
|
+
|
|
1583
|
+
- `Measured` characteristic replaced with `Track`
|
|
1584
|
+
|
|
1585
|
+
Deprecated tokens prefixed by `--salt-measured-` and corresponding palette tokens
|
|
1586
|
+
New `--salt-track-` tokens and corresponding palette tokens
|
|
1587
|
+
|
|
1588
|
+
The following are a direct replacement mapping:
|
|
1589
|
+
|
|
1590
|
+
```diff
|
|
1591
|
+
- --salt-measured-borderStyle
|
|
1592
|
+
- --salt-measured-borderStyle-active
|
|
1593
|
+
- --salt-measured-borderStyle-complete
|
|
1594
|
+
- --salt-measured-borderStyle-incomplete
|
|
1595
|
+
+ --salt-track-borderStyle
|
|
1596
|
+
+ --salt-track-borderStyle-active
|
|
1597
|
+
+ --salt-track-borderStyle-complete
|
|
1598
|
+
+ --salt-track-borderStyle-incomplete
|
|
1599
|
+
- --salt-measured-borderWidth
|
|
1600
|
+
- --salt-measured-borderWidth-active
|
|
1601
|
+
- --salt-measured-borderWidth-complete
|
|
1602
|
+
- --salt-measured-borderWidth-incomplete
|
|
1603
|
+
+ --salt-track-borderWidth
|
|
1604
|
+
+ --salt-track-borderWidth-active
|
|
1605
|
+
+ --salt-track-borderWidth-complete
|
|
1606
|
+
+ --salt-track-borderWidth-incomplete
|
|
1607
|
+
- --salt-measured-fontWeight
|
|
1608
|
+
- --salt-measured-textAlign
|
|
1609
|
+
+ --salt-track-fontWeight
|
|
1610
|
+
+ --salt-track-textAlign
|
|
1611
|
+
- --salt-measured-background: var(--salt-palette-measured-background);
|
|
1612
|
+
- --salt-measured-background-disabled: var(--salt-palette-measured-background-disabled);
|
|
1613
|
+
- --salt-measured-borderColor: var(--salt-palette-measured-border);
|
|
1614
|
+
+ --salt-track-background: var(--salt-palette-track-background);
|
|
1615
|
+
+ --salt-track-background-disabled: var(--salt-palette-track-background-disabled);
|
|
1616
|
+
+ --salt-track-borderColor: var(--salt-palette-track-border);
|
|
1617
|
+
+ --salt-track-borderColor-disabled: var(--salt-palette-track-border-disabled);
|
|
1618
|
+
- --salt-palette-measured-background
|
|
1619
|
+
- --salt-palette-measured-background-disabled
|
|
1620
|
+
- --salt-palette-measured-border
|
|
1621
|
+
- --salt-palette-measured-border-disabled
|
|
1622
|
+
+ --salt-palette-track-background
|
|
1623
|
+
+ --salt-palette-track-background-disabled
|
|
1624
|
+
+ --salt-palette-track-border
|
|
1625
|
+
+ --salt-palette-track-border-disabled
|
|
1626
|
+
```
|
|
1627
|
+
|
|
1628
|
+
The following should be replaced with the corresponding `selectable` tokens:
|
|
1629
|
+
|
|
1630
|
+
```diff
|
|
1631
|
+
- --salt-measured-foreground: var(--salt-palette-measured-foreground);
|
|
1632
|
+
- --salt-measured-foreground-disabled: var(--salt-palette-measured-foreground-disabled);
|
|
1633
|
+
- --salt-measured-foreground-hover: var(--salt-palette-measured-foreground-active);
|
|
1634
|
+
- --salt-measured-foreground-active: var(--salt-palette-measured-foreground-active);
|
|
1635
|
+
- --salt-measured-foreground-activeDisabled: var(--salt-palette-measured-foreground-activeDisabled);
|
|
1636
|
+
- --salt-measured-borderColor-disabled: var(--salt-palette-measured-border-disabled);
|
|
1637
|
+
```
|
|
1638
|
+
|
|
1639
|
+
The following should be replaced with the corresponding `accent` background tokens:
|
|
1640
|
+
|
|
1641
|
+
```diff
|
|
1642
|
+
- --salt-measured-fill: var(--salt-palette-measured-fill);
|
|
1643
|
+
- --salt-measured-fill-disabled: var(--salt-palette-measured-fill-disabled);
|
|
1644
|
+
```
|
|
1645
|
+
|
|
1646
|
+
- Usages of `measured` tokens in core and labs components updated to use appropriate characteristic replacement
|
|
1647
|
+
|
|
1648
|
+
- Deprecated the following tokens, use hex value as replacement if needed:
|
|
1649
|
+
|
|
1650
|
+
```diff
|
|
1651
|
+
- --salt-measured-foreground-undo: #2670a9
|
|
1652
|
+
- --salt-palette-measured-fill: #2670A9
|
|
1653
|
+
- --salt-palette-measured-fill-disabled: #2670A966
|
|
1654
|
+
- --salt-palette-measured-foreground-active: #2670A9
|
|
1655
|
+
- --salt-palette-measured-foreground-activeDisabled: #2670A966
|
|
1656
|
+
- --salt-palette-interact-foreground-partial: #155C93
|
|
1657
|
+
- --salt-palette-interact-foreground-partialDisabled: #155C93B3
|
|
1658
|
+
```
|
|
1659
|
+
|
|
1660
|
+
- a483ca9b: Added new `basis` prop to FlexItem to control flex-basis
|
|
1661
|
+
|
|
1662
|
+
## 1.3.0
|
|
1663
|
+
|
|
1664
|
+
### Minor Changes
|
|
1665
|
+
|
|
1666
|
+
- 242941c9: Move `Avatar` from lab to core
|
|
1667
|
+
- 9cae606a: Deprecated differential characteristic; replaced tokens with below
|
|
1668
|
+
Moved differential tokens to status characteristic
|
|
1669
|
+
Added 'static' status variant
|
|
1670
|
+
|
|
1671
|
+
```diff
|
|
1672
|
+
- --salt-differential-positive-foreground
|
|
1673
|
+
- --salt-differential-negative-foreground
|
|
1674
|
+
+ --salt-status-positive-foreground
|
|
1675
|
+
+ --salt-status-negative-foreground
|
|
1676
|
+
+ --salt-status-static-foreground
|
|
1677
|
+
```
|
|
1678
|
+
|
|
1679
|
+
### Patch Changes
|
|
1680
|
+
|
|
1681
|
+
- 8b58e28b: Fix AriaAnnouncer not removing announced text from the DOM
|
|
1682
|
+
|
|
1683
|
+
## 1.2.0
|
|
1684
|
+
|
|
1685
|
+
### Minor Changes
|
|
1686
|
+
|
|
1687
|
+
- afe57829: Add text background color for highlighted text globally and on Text component
|
|
1688
|
+
- 1e69cf3b: Move `Tooltip` from lab to core
|
|
1689
|
+
Move `useFloatingUI` from lab to core
|
|
1690
|
+
- b1c5c32e: Move Spinner from lab to core
|
|
1691
|
+
- 88673e4a: Add `disabled` prop to Text component
|
|
1692
|
+
- 598991f8: Move `SplitLayout` from lab to core
|
|
1693
|
+
Changes in `SplitLayout`
|
|
1694
|
+
|
|
1695
|
+
- Removed `FlexItem` wraps around `SplitLayout` children.
|
|
1696
|
+
- `SplitLayout` uses `startItem` and `endItem` props as children to allow for direction.
|
|
1697
|
+
- Added `direction` prop to `SplitLayout`.
|
|
1698
|
+
- Remove `wrap` since `SplitLayout` has `direction` to control wrap by breakpoints.
|
|
1699
|
+
- End Aligned `endItem` so the element is always at the end of the layout.
|
|
1700
|
+
|
|
1701
|
+
## 1.1.0
|
|
1702
|
+
|
|
1703
|
+
### Minor Changes
|
|
1704
|
+
|
|
1705
|
+
- dfecfc12: extending `as` property from `FlexLayout` to `StackLayout` and `FlowLayout` so they can use polymorphic behaviour
|
|
1706
|
+
- 380bbb91: Remove foundations from 'characteristic' type and add missing characteristic 'differential'
|
|
1707
|
+
|
|
1708
|
+
```diff
|
|
1709
|
+
- "delay"
|
|
1710
|
+
- "disabled"
|
|
1711
|
+
- "icon"
|
|
1712
|
+
- "shadow"
|
|
1713
|
+
- "size"
|
|
1714
|
+
- "spacing"
|
|
1715
|
+
+ "differential"
|
|
1716
|
+
```
|
|
1717
|
+
|
|
1718
|
+
- 7e660a8d: More Card from lab to core
|
|
1719
|
+
- 4a282d10: - Removed `div` wrapper with `display:content` from `FlexLayout` childrens with separators. This allows styles like `.classname > div` to be passed.
|
|
1720
|
+
- Add separators to `StackLayout`.
|
|
1721
|
+
- Add direction to `StackLayout` to allow horizontal stacks.
|
|
1722
|
+
- b39e51b3: Move `Panel` from lab to core
|
|
1723
|
+
|
|
1724
|
+
### Patch Changes
|
|
1725
|
+
|
|
1726
|
+
- 7a0effdb: Fix Link not removing underline on hover or focus.
|
|
1727
|
+
- a0724642: Fix SSR support
|
|
1728
|
+
- ed76bb21: Fixed an issue where Text styles would leak into nested text.
|
|
1729
|
+
|
|
1730
|
+
## 1.0.0
|
|
1731
|
+
|
|
1732
|
+
### Major Changes
|
|
1733
|
+
|
|
1734
|
+
- 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.
|
|
1735
|
+
|
|
1736
|
+
With this initial release we're providing:
|
|
1737
|
+
|
|
1738
|
+
- AG Grid Theme
|
|
1739
|
+
- Border Layout
|
|
1740
|
+
- Button
|
|
1741
|
+
- Data Grid
|
|
1742
|
+
- Flex Layout
|
|
1743
|
+
- Flow Layout
|
|
1744
|
+
- Grid Layout
|
|
1745
|
+
- Icon
|
|
1746
|
+
- Link
|
|
1747
|
+
- Salt Provider
|
|
1748
|
+
- Stack Layout
|
|
1749
|
+
- Status Indicator
|
|
1750
|
+
- Text
|
|
1751
|
+
- Theme
|
|
1752
|
+
|
|
1753
|
+
And a number of other lab components.
|