Releases: jpmorganchase/salt-ds
@salt-ds/[email protected]
Patch Changes
- bfe0f84: Cleaned up TypeScript types in multiple components.
@salt-ds/[email protected]
Minor Changes
- 533b590: - Updated
Listbox
,Menu
,ComboBox
andDropdown
to use--salt-palette-corner
when their corners are rounded.- Updated
Menu
,Dropdown
andComboBox
to have a 1px visual offset on floating panels.
- Updated
- 34e8c9c: Added
render
prop toNavigationItem
. Therender
prop enables the substitution of the default anchor tag with an alternate link, such as React Router, facilitating integration with routing libraries.
Patch Changes
@salt-ds/[email protected]
Patch Changes
-
d92fe9e: - Fixed background color for custom editor component.
- Fixed header text being cropped in HD compact. Closes #3675.
- Fixed Country Symbol taller than expected in HD compact. This alters
--salt-size-base
token so Salt Button, form controls (Input, Dropdown, Combo Box) will be impacted as well. Closes #3775. - Fixed group value not center aligned vertically.
- Updated ag grid menu styling to match closer to Salt Menu component.
- Updated floating filter column chooser item styles. Closes #3671.
Note: We previously made a mistake on
rowHeight
recommendation when configurating AG Grid, which should be 1px more to account for border between row.
useAgGridHelpers
example hook is updated to reflect this.Density Row height ( rowHeight
)Header height ( headerHeight
)HD (Compact) 21 20 HD 25 24 MD 37 36 LD 49 48 TD 61 60
@salt-ds/[email protected]
Minor Changes
-
0008528: Added
SystemStatus
,SystemStatusContent
,SystemStatusActions
component to lab.<SystemStatus> <SystemStatusContent> <Text color="inherit">New feature updates are available</Text> </SystemStatusContent> </SystemStatus>
Patch Changes
- bfe0f84: Cleaned up TypeScript types in multiple components.
@salt-ds/[email protected]
Minor Changes
-
da92421: Added
getRefFromChildren
. This allows reading ref from a child component. -
8b43adf: Updated
LinearProgress
to display a moving line to represent an unspecified wait time, whenvalue
isundefined
.<LinearProgress />
Note:
value
andbufferValue
are no longer default to0
. Previously above code would render a 0% progress bar, which was not a good reflection of intent. You can still achieve it by passing invalue={0}
. -
ce319ee: Added support for multiple themes to be passed to
SaltProvider
, e.g.,<SaltProvider theme="theme-1 theme-2">
-
9abf267: Marked
SaltProviderNext
being stable.If you're using existing type or variable with
UNSTABLE_
prefix, they are now deprecated but will still work.
Patch Changes
@salt-ds/[email protected]
Minor Changes
-
62d917d: Updated styling of date picker and calendar
- Corner radius support for date picker panel in theme next
- Corner radius support for calendar selected days in theme next
- Use accent color for today indicator and highlight color in calendar
Closes #3530.
Patch Changes
- da92421: Fix warning logged when access a child ref on React 19.
@salt-ds/[email protected]
Minor Changes
-
fc60301: Added status bold background and content bold foreground tokens
--salt-status-info-bold-background --salt-status-error-bold-background --salt-status-warning-bold-background --salt-status-success-bold-background --salt-content-bold-foreground --salt-content-bold-foreground-disabled
Patch Changes
@salt-ds/[email protected]
Minor Changes
-
1d4d209: Added
bordered
prop to Dropdown. When set, a full border will be applied.<Dropdown bordered />
Dropdown is updated to be an inline element, aligning with other form controls like Input.
-
ad6f7b4: - Added
indicatorSide
toaccordion
to allow right alignment.- Removed arrow animation in accordion.
- Changed direction of accordion's arrow to be consistent with salt's expandable components.
- Changed direction when
expanded=false
from right to down. - Changed direction when
expanded=true
from down to up.
- Changed direction when
-
b199888: Added
bordered
prop forComboBox
. When set, a full border will be applied.<ComboBox bordered> <Option value="Red" /> <Option value="Blue" /> </ComboBox>
Added corner support for theme next.
Patch Changes
-
b199888: Updated
ComboBox
to show validation status when it's in a read-only state. -
1d4d209: Updated outline color & background when in focus/active state for validation status
Dropdown
to match the color of the status.Updated border color when in hover state for validation status
Dropdown
to match the color of the status.Added corner support for theme next for
Dropdown
.Updates focus styling for
Dropdown
. Focus ring is shown on focus instead of focus-visible. -
59da3f3: Fixed invalid HTML structure in AccordionHeader.
-
904ffa1: Fixed file drop zone not allowing the same file to be selected via
onChange
ofFileDropZoneTrigger
.
Updated first argument event type ofonChange
toChangeEvent
, to better align with underlying event.Closes #3591.
@salt-ds/[email protected]
Minor Changes
-
f89189d: Added theme tokens supporting action font switch.
--salt-text-action-fontFamily: var(--salt-palette-text-fontFamily-action); --salt-palette-text-fontFamily-action: var( --salt-typography-fontFamily-openSans ); --salt-palette-text-action-fontWeight: var( --salt-typography-fontWeight-semiBold );
Updated
--salt-text-action-fontWeight
to usevar(--salt-palette-text-action-fontWeight)
.In theme next, palette layer tokens can be switched between Open Sans and Amplitude.
Closes #3528.