Skip to content

Releases: jpmorganchase/salt-ds

@salt-ds/[email protected]

22 Jul 17:01
f385230
Compare
Choose a tag to compare

Patch Changes

  • bfe0f84: Cleaned up TypeScript types in multiple components.

@salt-ds/[email protected]

22 Jul 17:01
f385230
Compare
Choose a tag to compare

Minor Changes

  • 533b590: - Updated Listbox, Menu, ComboBox and Dropdown to use --salt-palette-corner when their corners are rounded.
    • Updated Menu, Dropdown and ComboBox to have a 1px visual offset on floating panels.
  • 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.

Patch Changes

  • bfe0f84: Cleaned up TypeScript types in multiple components.
  • 0927a2d: Fixed the initialFocus prop not working on Dialog.
  • b6070e7: Added JSDoc description to SaltProviderNext props.

@salt-ds/[email protected]

22 Jul 17:01
f385230
Compare
Choose a tag to compare

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]

22 Jul 17:01
f385230
Compare
Choose a tag to compare
Pre-release

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]

10 Jul 16:25
2b1afa5
Compare
Choose a tag to compare

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, when value is undefined.

    <LinearProgress />

    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}.

  • 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

  • da92421: Fix warning logged when access a child ref on React 19.
  • 7fa6e22: Fixed Tooltip not having correct height.

@salt-ds/[email protected]

10 Jul 16:25
2b1afa5
Compare
Choose a tag to compare
Pre-release

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]

03 Jul 08:30
888d615
Compare
Choose a tag to compare

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

  • baa5aaa: Added --salt-overlayable-rangeSelection variable in theme next, pointing to the same underlying value as before.

    Closes #3517.

@salt-ds/[email protected]

03 Jul 08:30
888d615
Compare
Choose a tag to compare

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 to accordion 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.
  • b199888: Added bordered prop for ComboBox. 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 of FileDropZoneTrigger.
    Updated first argument event type of onChange to ChangeEvent, to better align with underlying event.

    Closes #3591.

  • db527bc: Fixed Menu showing behind Drawer (#3636).

@salt-ds/[email protected]

24 Jun 17:05
dde7f26
Compare
Choose a tag to compare

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 use var(--salt-palette-text-action-fontWeight).

    In theme next, palette layer tokens can be switched between Open Sans and Amplitude.

    Closes #3528.

@salt-ds/[email protected]

24 Jun 17:05
dde7f26
Compare
Choose a tag to compare

Patch Changes

  • 89c26bc: Fixed Icon as CSS background not working when another className is in front. Closes #3583.