Skip to content

@salt-ds/[email protected]

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jan 14:27
· 29 commits to main since this release
b8fbcfa

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]