Skip to content

Releases: jpmorganchase/salt-ds

@salt-ds/[email protected]

07 Jun 11:48
c4df049
Compare
Choose a tag to compare

Minor Changes

  • d78ff53: Added @salt-ds/styles and @salt-ds/window packages

    These packages are introduced to support uses of Salt in a desktop application where pop-out elements such as tooltips are rendered into separate windows with no previously added CSS.

    The insertion point where useComponentCssInjection inserts styles can be controlled via InsertionPointContext

@salt-ds/[email protected]

07 Jun 11:47
8fba632
Compare
Choose a tag to compare

Minor Changes

  • 9d68637: Moved form-field-next and form-field-context-next to core as form-field and form-field-context

    FormField: First version of Form Field built with a compositional API by providing the following components alongside:
    FormFieldHelperText: Helper text component
    FormFieldLabel: Form label component (compatible with left and top placement)
    FormFieldControlWrapper: Styling container for controls used within Form Field

    FormFieldContext, useFormFieldProps: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field

  • 22c626e: Breaking change

    Rename Input to InputLegacy
    All API tokens with --saltInput- prefix changed to --saltInputLegacy- prefix

  • bf5a944: Breaking change

    Rename FormField to FormFieldLegacy
    All API tokens with --saltFormField- prefix changed to --saltFormFieldLegacy- prefix

  • eb3db91: Removed startAdornment and endAdornment props from InputNext. Props will be added back once adornments come in v2

    Moved input-next to core as input

    Input: First version of InputNext renamed to Input

    • All tokens prefixed --saltInputNext- changed to prefix --saltInput-

    Moved status-adornment to core

    StatusAdornment: Component to be used for validation status indication

  • 24f44d8: Add docs for InputNext

  • 3e6441d: Nav Item

    Nav Item allows you to compose Navigation patterns.

    <NavItem active parent expanded href="#" onExpand={(event) => {}}>
      Nav Item
    </NavItem>
  • c82a39a: FormFieldNext tests
    Added back a11yValueAriaProps type for a11yProps in FormFieldContextNextValue
    Added id={a11yProps?.["aria-describedby"]} to helper text
    Added id={a11yProps?.["aria-labelledby"]} to label

  • 95a360b: InputNext: InputProps interface changed to extend Omit<ComponentPropsWithoutRef<"div">,"defaultValue">, Pick<ComponentPropsWithoutRef<"input">, "disabled" | "value" | "defaultValue">

    ref prop moved to target container div: for direct ref on input component, use new inputRef prop

  • d78ff53: Refactored all components to use new style injection mechanism provided by @salt-ds/styles

Patch Changes

  • fef8ef5: Banner changes:

    • Remove emphasize, announcement and disableAnnouncer props
    • Add variant prop
    • Replace BannerCloseButton component with BannerActions
  • 46af9f8: Move Banner to core

@salt-ds/[email protected]

07 Jun 11:46
8fba632
Compare
Choose a tag to compare

Minor Changes

  • f166e77: Added:

    • CollapseAll
    • ExpandAll
  • d78ff53: Refactored all components to use new style injection mechanism provided by @salt-ds/styles

@salt-ds/[email protected]

07 Jun 11:45
8fba632
Compare
Choose a tag to compare

Minor Changes

  • af22b75: DropdownCellEditor accepts read-only array

@salt-ds/[email protected]

07 Jun 11:33
8fba632
Compare
Choose a tag to compare

Patch Changes

  • cc1f2d4: Bump countries version to fix package publishing

@salt-ds/[email protected]

07 Jun 11:42
8fba632
Compare
Choose a tag to compare

Minor Changes

  • 58c6699: Input: aria-describedby is now merged between the value from Form Field context if present and the value from inputProps

  • bf5a944: Updated RadioButtonGroup to use renamed token from FormFieldLegacy

  • 9d68637: Moved form-field-next and form-field-context-next to core as form-field and form-field-context

    FormField: First version of Form Field built with a compositional API by providing the following components alongside:
    FormFieldHelperText: Helper text component
    FormFieldLabel: Form label component (compatible with left and top placement)
    FormFieldControlWrapper: Styling container for controls used within Form Field

    FormFieldContext, useFormFieldProps: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field

  • eb3db91: Removed startAdornment and endAdornment props from InputNext. Props will be added back once adornments come in v2

    Moved input-next to core as input

    Input: First version of InputNext renamed to Input

    • All tokens prefixed --saltInputNext- changed to prefix --saltInput-

    Moved status-adornment to core

    StatusAdornment: Component to be used for validation status indication

  • d78ff53: Refactored all components to use new style injection mechanism provided by @salt-ds/styles

Patch Changes

@salt-ds/[email protected]

07 Jun 11:41
8fba632
Compare
Choose a tag to compare

Patch Changes

  • 123daf6: Fix inconsistent uitk ag-grid theme menu padding across densities

@salt-ds/[email protected]

22 May 13:53
0ca1702
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • 4bd407b: Fix Tabstrip crashing when activeTabIndex is set to null

  • 3aba7cc: Fixed id in FormFieldNext, and ids in FormFieldLabel and FormFieldHelperText from useFormFieldPropsNext
    Deleted a11yValueAriaProps, replaced a11yProps type with A11yValueProps in FormFieldContextNext

  • e7230ad: Added textAlign prop to InputNext with possible configurations: "left" (default), "right", "center"

  • 2d63d30: Changes to Form Field and Input CSS:

    • fixes background color when disabled
    • fixes cursor on helper text
    • fixes activation indicator width on active state
    • usage of grid-template-areas

    Removes CSS API variables:

    - --saltInputNext-borderColor-active
    - --saltInputNext-borderColor-hover
    - --saltInputNext-borderColor-focused
    - --saltInputNext-borderWidth
    - --saltInputNext-borderStyle
    - --saltInputNext-borderRadius
    - --saltInputNext-cursor

Patch Changes

  • 922b1fb: Updated Banner to use the new spacing foundation

@salt-ds/[email protected]

16 May 14:38
487c5f8
Compare
Choose a tag to compare

Minor Changes

  • b6f304f: Added size tokens

    + --salt-size-adornment
    + --salt-size-bar
    + --salt-size-selectable
    + --salt-size-icon

    --salt-size-base changed from a calculation on the basis unit to hardcoded values per density
    --salt-size-border defined as 1px per density rather than set globally

  • e8b146a: Add new spacing tokens and a spacing foundation.

    --salt-spacing-25
    --salt-spacing-50
    --salt-spacing-75
    --salt-spacing-100
    --salt-spacing-150
    --salt-spacing-200
    --salt-spacing-250
    --salt-spacing-300
    --salt-spacing-350
    --salt-spacing-400

Patch Changes

  • 1e9ef1a: Fix duplicate Salt libraries being installed when multiple libraries are installed

@salt-ds/[email protected]

16 May 14:38
487c5f8
Compare
Choose a tag to compare

Patch Changes

  • 1e9ef1a: Fix duplicate Salt libraries being installed when multiple libraries are installed