Skip to content

Releases: jpmorganchase/salt-ds

@salt-ds/[email protected]

22 Jan 14:26
b8fbcfa
Compare
Choose a tag to compare

Patch Changes

@salt-ds/[email protected]

22 Jan 14:27
b8fbcfa
Compare
Choose a tag to compare

Patch Changes

@salt-ds/[email protected]

22 Jan 14:26
b8fbcfa
Compare
Choose a tag to compare

Minor Changes

  • 373717d: Added SkipLink.

    <body>
    <header>
      <SkipLink targetId="main">Skip to main content</SkipLink>
      <nav>
        {{...}}
      </nav>
    </header>
    <main>
      <h1 id="main">Main Content</h1>
    </main>
    </body>
  • 225a61b: Added render prop to Link. 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

  • c5d61e2: Fixed Toast icon alignment.

@salt-ds/[email protected]

22 Jan 14:27
b8fbcfa
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • 373717d: Removed SkipLink from labs and promoted to core.

Patch Changes

  • e6c54b7: Refine peer dependency management for DatePicker adapters by splitting them into sub-packages. You now import only the specific date framework adapter you need, simplifying dependency handling.

    • For date-fns:

      - import { AdapterDateFns } from "@salt-ds/date-adapters";
      + import { AdapterDateFns } from "@salt-ds/date-adapters/date-fns";
    • For dayjs:

      - import { AdapterDayjs } from "@salt-ds/date-adapters";
      + import { AdapterDayjs } from "@salt-ds/date-adapters/dayjs";
    • For luxon:

      - import { AdapterLuxon } from "@salt-ds/date-adapters";
      + import { AdapterLuxon } from "@salt-ds/date-adapters/luxon";
    • For moment:

      - import { AdapterMoment } from "@salt-ds/date-adapters";
      + import { AdapterMoment } from "@salt-ds/date-adapters/moment";

    Additionally, DateDetailErrorEnum is now a simpler DateDetailError of type DateDetailErrorType.

    - import { DateDetailErrorEnum } from "@salt-ds/date-adapters";
    + import { DateDetailError } from "@salt-ds/date-adapters/moment";

    Instructions

    1. Modify your import statements to use the specific sub-package for the date adapter you require.

    2. Ensure your package.json includes the necessary date framework as a dependency. For example, if using date-fns:

      {
        "dependencies": {
          "date-fns": "^x.x.x"
        }
      }

    This change helps streamline the integration of date frameworks with the DatePicker component by ensuring only the necessary adapters and dependencies are included.

  • eed82f8: Overlay and Dialog headers fix alignment for titles spanning into multiple lines, wrap preheader and headers in H2.

  • df7760d: Add border box to skip link container to ensure height is correctly measured.

  • Updated dependencies [e6c54b7]

  • Updated dependencies [373717d]

  • Updated dependencies [225a61b]

  • Updated dependencies [c5d61e2]

@salt-ds/[email protected]

22 Jan 14:27
b8fbcfa
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • e6c54b7: Refine peer dependency management for DatePicker adapters by splitting them into sub-packages. You now import only the specific date framework adapter you need, simplifying dependency handling.

    • For date-fns:

      - import { AdapterDateFns } from "@salt-ds/date-adapters";
      + import { AdapterDateFns } from "@salt-ds/date-adapters/date-fns";
    • For dayjs:

      - import { AdapterDayjs } from "@salt-ds/date-adapters";
      + import { AdapterDayjs } from "@salt-ds/date-adapters/dayjs";
    • For luxon:

      - import { AdapterLuxon } from "@salt-ds/date-adapters";
      + import { AdapterLuxon } from "@salt-ds/date-adapters/luxon";
    • For moment:

      - import { AdapterMoment } from "@salt-ds/date-adapters";
      + import { AdapterMoment } from "@salt-ds/date-adapters/moment";

    Additionally, DateDetailErrorEnum is now a simpler DateDetailError of type DateDetailErrorType.

    - import { DateDetailErrorEnum } from "@salt-ds/date-adapters";
    + import { DateDetailError } from "@salt-ds/date-adapters/moment";

    Instructions

    1. Modify your import statements to use the specific sub-package for the date adapter you require.

    2. Ensure your package.json includes the necessary date framework as a dependency. For example, if using date-fns:

      {
        "dependencies": {
          "date-fns": "^x.x.x"
        }
      }

    This change helps streamline the integration of date frameworks with the DatePicker component by ensuring only the necessary adapters and dependencies are included.

@salt-ds/[email protected]

14 Jan 10:58
ffaffc2
Compare
Choose a tag to compare

Minor Changes

  • 06ad53b: Deprecated foreground hover and active palette tokens.

    Deprecated token Replacement token
    --salt-palette-foreground-active --salt-palette-accent-stronger
    --salt-palette-foreground-hover --salt-palette-accent-strong

Patch Changes

  • a2fc9cf: Fixed --salt-color-autumn-500, --salt-color-indigo-500, --salt-color-rose-500 not meeting colour contrast requirements in certain scenarios.

  • 0a5b68b: Marked CSS files as having side effects. This fixes Webpack tree-shaking CSS files when sideEffects: true is not set on style-loader rules.

  • 06ad53b: Updated content hover and active tokens so that they switch to Teal when using the Next theme.

    -  --salt-content-foreground-hover: var(--salt-palette-foreground-hover);
    -  --salt-content-foreground-active: var(--salt-palette-foreground-active);
    +  --salt-content-foreground-hover: var(--salt-palette-accent-strong);
    +  --salt-content-foreground-active: var(--salt-palette-accent-stronger);

@salt-ds/[email protected]

14 Jan 10:58
ffaffc2
Compare
Choose a tag to compare

Patch Changes

  • 0a5b68b: Marked CSS files as having side effects. This fixes Webpack tree-shaking CSS files when sideEffects: true is not set on style-loader rules.

@salt-ds/[email protected]

14 Jan 10:58
ffaffc2
Compare
Choose a tag to compare

Patch Changes

@salt-ds/[email protected]

14 Jan 10:58
ffaffc2
Compare
Choose a tag to compare

Patch Changes

  • 0a5b68b: Marked CSS files as having side effects. This fixes Webpack tree-shaking CSS files when sideEffects: true is not set on style-loader rules.
  • Updated dependencies [86d2a28]
  • Updated dependencies [dedbade]
  • Updated dependencies [0a5b68b]
  • Updated dependencies [cd98ba5]
  • Updated dependencies [bfea9b3]

@salt-ds/[email protected]

14 Jan 10:58
ffaffc2
Compare
Choose a tag to compare

Minor Changes

  • 86d2a28: Added LockedIcon and InProgressIcon to the default icon map in SemanticIconProvider.

Patch Changes

  • dedbade: Fixed Salt Provider in floating ui adding extra attributes to root when mixing styling options.
  • 0a5b68b: Marked CSS files as having side effects. This fixes Webpack tree-shaking CSS files when sideEffects: true is not set on style-loader rules.
  • cd98ba5: Removed the validation status that was showing on the Dropdown when it is disabled. Closes #4548.
  • bfea9b3: Updated AccordionHeader's background color to transparent to align with Figma. Closes #4544.
  • Updated dependencies [0a5b68b]