Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #4584

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Version Packages #4584

merged 1 commit into from
Jan 22, 2025

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jan 17, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@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 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]

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]

Patch Changes

@salt-ds/[email protected]

Patch Changes

@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 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.

Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
saltdesignsystem ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 22, 2025 9:34am

@joshwooding joshwooding added the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 22, 2025
@github-actions github-actions bot removed the chromatic Run chromatic on the current PR. Will be removed by the CI once submitted. label Jan 22, 2025
@joshwooding joshwooding merged commit b8fbcfa into main Jan 22, 2025
13 of 14 checks passed
@joshwooding joshwooding deleted the changeset-release/main branch January 22, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants