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]