Skip to content

fix(popover): load polyfill in correct order#5027

Draft
mimarz wants to merge 8 commits into
mainfrom
fix-popover-polyfill
Draft

fix(popover): load polyfill in correct order#5027
mimarz wants to merge 8 commits into
mainfrom
fix-popover-polyfill

Conversation

@mimarz

@mimarz mimarz commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Ensure the css layer for popover-polyfill is declared and ordered correctly.

@changeset-bot

changeset-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e732802

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@digdir/designsystemet-css Patch
@digdir/designsystemet-web Patch
@digdir/designsystemet Patch
@digdir/designsystemet-types Patch
@digdir/designsystemet-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Preview deployments for this pull request:

storybook - 24. Jun 2026 - 13:02

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

📦 Snapshot release published

Published at 23.06.2026 10:40:00 to npm with tag test:

Install with:

npm install @digdir/designsystemet-css@test
npm install @digdir/designsystemet-react@test
npm install @digdir/designsystemet-types@test
npm install @digdir/designsystemet-web@test
npm install @digdir/designsystemet@test

@mimarz mimarz changed the title fix(popover): polyfill compatible with ds layers fix(popover): load polyfill in correct order Jun 23, 2026
@digdir digdir deleted a comment from github-actions Bot Jun 23, 2026
@digdir digdir deleted a comment from github-actions Bot Jun 23, 2026
Comment thread packages/web/src/popover/popover.ts
@charset "UTF-8";

@layer ds.theme, ds.base, ds.components;
@layer popover-polyfill, ds.theme, ds.base, ds.components;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be documented for those who sort their own layers as well

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.

3 participants