Releases: jpmorganchase/salt-ds
@salt-ds/[email protected]
Patch Changes
- Updated dependencies [e6c54b7]
- Updated dependencies [373717d]
- Updated dependencies [373717d]
- Updated dependencies [eed82f8]
- Updated dependencies [225a61b]
- Updated dependencies [df7760d]
- Updated dependencies [c5d61e2]
- @salt-ds/[email protected]
- @salt-ds/[email protected]
@salt-ds/[email protected]
Patch Changes
- Updated dependencies [373717d]
- Updated dependencies [225a61b]
- Updated dependencies [c5d61e2]
- @salt-ds/[email protected]
@salt-ds/[email protected]
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 toLink
. 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
- c5d61e2: Fixed Toast icon alignment.
@salt-ds/[email protected]
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 simplerDateDetailError
of typeDateDetailErrorType
.- import { DateDetailErrorEnum } from "@salt-ds/date-adapters"; + import { DateDetailError } from "@salt-ds/date-adapters/moment";
Instructions
-
Modify your import statements to use the specific sub-package for the date adapter you require.
-
Ensure your
package.json
includes the necessary date framework as a dependency. For example, if usingdate-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]
- @salt-ds/[email protected]
@salt-ds/[email protected]
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 simplerDateDetailError
of typeDateDetailErrorType
.- import { DateDetailErrorEnum } from "@salt-ds/date-adapters"; + import { DateDetailError } from "@salt-ds/date-adapters/moment";
Instructions
-
Modify your import statements to use the specific sub-package for the date adapter you require.
-
Ensure your
package.json
includes the necessary date framework as a dependency. For example, if usingdate-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]
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]
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]
Patch Changes
- Updated dependencies [0302830]
- Updated dependencies [86d2a28]
- Updated dependencies [dedbade]
- Updated dependencies [0a5b68b]
- Updated dependencies [cd98ba5]
- Updated dependencies [bfea9b3]
- Updated dependencies [a9edf03]
- Updated dependencies [86d2a28]
- @salt-ds/[email protected]
- @salt-ds/[email protected]
- @salt-ds/[email protected]
@salt-ds/[email protected]
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]
@salt-ds/[email protected]
Minor Changes
- 86d2a28: Added
LockedIcon
andInProgressIcon
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 totransparent
to align with Figma. Closes #4544. - Updated dependencies [0a5b68b]
- @salt-ds/[email protected]