Skip to content

release of v11.19.0 - #10980

Open
langz wants to merge 47 commits into
releasefrom
main
Open

langz wants to merge 47 commits into
releasefrom
main

Conversation

@langz

@langz langz commented Nov 20, 2026

Copy link
Copy Markdown
Member

No description provided.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
langz and others added 3 commits November 20, 2026 10:17
…0967)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Vehbi Karaagac <vehbikaraagac@Vehbis-MacBook-Air.local>
…ip the same id (#10985)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…11022)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
langz and others added 2 commits November 24, 2026 13:02
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ton's accessible name (#11003)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…radio variant (#11005)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@langz langz left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Review of ecaa2f5: Changes needed

This release takes the 45 commits on main since v11.18.1 to release. semantic-release will publish 11.19.0: two feat, nine fix, no ! and no unflagged major. One blocker is still open from my earlier release check: the Tooltip change in #10994 ships in 11.19.0, but its migration note is only in the draft v13 guide. A real trial merge of ecaa2f5 into release (6ca4742) has no conflicts. The result equals the head, apart from build/CHANGELOG.md.

Must fix

  1. The Tooltip change ships in 11.19.0, but its migration note is only in the v13 guide. #10994 (b39dd847464, typed fix) makes every Tooltip trigger permanently aria-describedby a hidden copy of the content. It also removes the AriaLive region that announced the content when the Tooltip opened. The commit adds a migration step for apps that use Tooltip for a status message, such as "Copied". That step is only in versions/eufemia/v13-info.mdx:98-113. That page has draft: true and navigation.hidden: true (:5-7). v11-info.mdx still has no Tooltip behavior note on ecaa2f5, and the generated 11.19.0 notes list the change as a plain bug fix. An app on ^11 gets the change with npm update, but the release it comes in has no note.
    • What breaks for apps. I used the documented pattern <Tooltip open={copied} targetElement={ref}>Copied</Tooltip>. On v11.18.1 the button has no description at rest, and "Copied" is announced through a live region when the Tooltip opens. On the head, the button is described as "Copied" before anything was copied, and nothing is announced. Tests that assert aria-describedby or toHaveAccessibleDescription, or that find the tooltip via #${aria-describedby}, also break.
    • How I verified it. My repro test gives {"beforeClick":{"describedby":null,"description":""},"afterClick":{"liveRegionAnnounced":["Copied"]}} on v11.18.1. On the head it gives {"beforeClick":{"describedby":"id-r0-description","description":"Copied"},"afterClick":{"liveRegionAnnounced":[]}}. The tag run is the control: there the observer catches "Copied", so it can detect an announcement. In real Chromium (accessibility tree) and Firefox, the closed "Top" trigger on the Tooltip demo page has no description on eufemia.dnb.no (11.18.1). On the main preview it is described as "Tooltip 1" at rest. Also, 24 tests from v11.18.1 fail on the head because of this change (see the table below), and all of them pass on the tag.
    • Suggested fix (docs only, before this PR merges). Add a "Tooltip in v11.19" section to v11-info.mdx, next to "Forms selection variants in v11.18" (v11-info.mdx:66). #10854 (e335e3b2f96) moved the Chip note from v13 to v11 for the same reason. Include the omitDescribedBy plus AriaLive step and the new aria-describedby target for tests. Then add the same lines to the 11.19.0 GitHub release notes. The other option is to keep #10994 out of 11.x until v13.
Results of the v11.18.1 tests on the head, sorted by cause

I put the v11.18.1 versions of the 38 test files (and 3 snapshots) that changed since the tag on top of the head. Then I ran them and compared the result with the same files run on v11.18.1. Baseline on the tag: 0 failures. On the head: 54 failures in 17 files. Every failure maps to one of the commits below, and I matched each one by hand from its assertion text.

Cause Failing old tests on the head Intended?
Tooltip description and live region (#10994) 24 (Tooltip 8, Anchor 8, Chip 3, useCopyToClipboard 2, DateFormat 2, Button 1) Yes. Not documented for 11.x (must fix 1)
StepIndicator trigger name (#11003) 4 (StepIndicator 2, Wizard.Container 2). Old tests expect aria-label="Steg 2 av 4:" and an empty trigger text. Yes. In the release notes.
Birdhouse preview theme (#10938, #10942) 5 (useTheme 3, because of the new isBirdhouse key; capabilities 1; the Elements CSS snapshot 1, because of --font-weight-display) Yes
Outside click: scrollable targets now count (#11030) 1 (component-helper detectOutsideClick). Presses on an overflow: scroll element, and on <html> within 40 px of the edge, were ignored before. Now they close. Yes, but typed chore (suggestion 2)
Outside touch closes on touchend (#10347) 1 (SidebarMenuResponsive "closes a toggled compact menu on outside touch". The old test fires only pointerdown.) Yes
Table sticky CSS longhands (#11000) 1 (Table CSS snapshot) Yes
Build scripts only (#10926, #10938, #10942) 18 (tokenReview 13, tokensExtractor 1, makePropertiesFile 4) Yes. Tooling, not in the package.

The other 21 files pass, including the old Card, CardMediaButton and Flex Container tests on ecaa2f5.

Suggestions (non-blocking)

  1. Say in the 11.19.0 release notes that CardMediaButtonProps is now a union (#10972). This change was accepted as non-blocking in the earlier review of #10972. I only add a number here. I type-checked a small consumer file (with strictNullChecks) against both trees. On v11.18.1 it gives 0 errors. On the head, 3 of 4 wrapper patterns fail: reading props.videoRef.current (TS18048), destructuring videoRef and passing it on (TS18048 and TS2322), and an Omit<CardMediaButtonProps, 'title'> wrapper (TS2322 on playing). Plain <Card.MediaButton videoRef={ref} /> still compiles. The component has been public since 11.16.0, so few apps wrap it. This is true but rare. One line in the notes would save those apps a surprise.
  2. Three visible changes ship without a release note, because their type is chore. #11030 changes when Popover, Dropdown and the public detectOutsideClick helper close: presses on a scrollable element or near the page edge now close them, and only presses on a real scrollbar are ignored. #10926 replaces the Coconut heading font (--sb-font-family-heading is now 'Sbanken Display', …). #10938 changes the ui code-block colors in dnb-prism-theme.ts (color-mix(... 40%, ...)). Apps that test outside-click behavior, or that use Coconut, would benefit from a line in the GitHub release notes.
  3. The package no longer contains style/themes/figma/brand/dnbeiendom-{light,dark}.tokens.json (in style/, es/ and cjs/, 6 files). #10938 renamed them to birdhouse-*.tokens.json. The Eiendom theme does not use them (it uses the ui tokens), and the package has no exports map, so only an app that imports the raw Figma JSON is affected. No other file is removed.
  4. Merge this PR with a merge commit, as for 11.18.1. With a squash, the commit analyzer only sees release of v11.19.0 (#10980). I ran that case, and it returns no release.

Risky changes for consumers (after the blocker)

  • StepIndicator (#11003): the trigger button's accessible name changes from "Steg 2 av 3:" to "Steg 2 av 3: ", in Chromium and Firefox (checked on eufemia.dnb.no and the main preview). Its text content now also includes the hidden label. App tests that find the button by name or text break.
  • FieldBlock (#11017): a fieldset with a help button in its legend is now named by the label and description elements. In jsdom the name changes only in spacing, from LegendDescription to Legend Description. An exact-name app test would break. The Toggle demos place the help button outside the legend, so the docs pages show no change in Chromium or Firefox.
  • Field.Selection and Field.Toggle radio variants (#11005): the inner Radio.Group now has role="presentation" inside the fieldset. A role passed to Radio.Group moves from the inner shell span to the group element.
  • Flex (#11056): Provider can set Flex={{ layoutEngine: "css" }}. Card no longer defaults layoutEngine to legacy itself, but Flex still falls back to legacy, so nothing changes without the Provider setting.
  • Outside click (#10347, #11023, #11030): Popover, DrawerList (Dropdown, Autocomplete), NumberFormat and SidebarMenu share one handler (shared/helpers/useOutsideClick.ts). A tap closes on touchend, and a touch that moves more than 10 px (a scroll) does not close.
  • DatePicker (#10779): disabled now closes an open calendar and blocks open. FormStatus (#10844): new error icon shape in every theme, so app screenshots will differ. List (#10984): rows hidden by visibleCount now take no space.
  • Birdhouse (#10938, #10942): a new preview theme. useTheme() returns isEiendom: true for it, and themeNames gains 'birdhouse'. A consumer Record<ThemeName, …> or an exhaustive switch over theme names stops compiling. The docs mark it as a transitional preview.

What I checked

  • Range: git log v11.18.1..ecaa2f5 has 45 commits (32 chore, 9 fix, 2 feat, 1 docs, 1 refactor). v11.18.1 is the latest v11.* tag on origin/release. Its tree equals the merge-base 95bfb047b, apart from build/CHANGELOG.md.
  • Version: the real @semantic-release/commit-analyzer with the package.json config returns minor. Controls: an added feat(Foo)!: gives major, and a BREAKING CHANGE: footer is ignored. There is no ! in any title, and "breaking" appears in no commit body. 11.19.0 is not on npm yet. The generated notes have 2 features, 9 fixes, 1 docs entry and 1 refactor, and no breaking section.
  • Public API: I compared pkg.pr.new/@dnb/eufemia@53fa3bd (BuildInfo 53fa3bdce6) with the npm 11.18.1 tarball. 6 files removed (suggestion 3) and 203 added (mostly Birdhouse theme files, fonts and license texts). 23 public .d.ts files changed. Apart from the theme-name union, they only add or reorder members (for example Provider Flex, useTheme().isBirdhouse, the PaymentCard logos, and checkOutsideClick now returns boolean). CardMediaButtonProps (ecaa2f5, no package preview yet) is from source.
  • Old tests on the head: 38 test files and 3 snapshots, method and results above. Two files did not start under machine load (Popover on the tag, SidebarMenuResponsive on the head). I reran each one alone.
  • Real browsers: Chromium (CDP accessibility tree) and Firefox, on eufemia.dnb.no and the main preview, for the StepIndicator trigger and a closed Tooltip trigger.
  • Type check: yarn workspace @dnb/eufemia test:types on ecaa2f5 passes (exit 0). CI has not run it on this SHA yet.
  • CI: all checks passed on 4e63f4c, the head before #11056 and #10972. The logs show it ran 530 unit files, all screenshot tests ("branch main always runs all") and 718 + 457 e2e tests. The two newer commits change only Card and Flex. I ran their tests on ecaa2f5: 117 head tests and the 106 old tests pass.

CI on ecaa2f594e when I posted this: 25 checks passed; 2 still running (Run e2e tests, Run visual-regression tests). CI on ecaa2f5 was still running when I posted. On 4e63f4c, two commits earlier, every check passed.

@langz langz left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Delta review of 541b379: Changes needed (no change to the verdict)

Two commits landed on main after my release review of ecaa2f5:

  • #11052 fix: restore mouse hover after touchscreen use (4feb441). It changes shared/helpers/whatInput.ts and its test. I reviewed it today: a held tap no longer switches the intent back to mouse, and mouse use after a tap brings hover back after about 200 ms. It gives the release one more fix entry.
  • #11054 chore(AI): let the portal content skill report its use (541b379). It changes only agent-skills/eufemia-portal-content/SKILL.md and its test. It sends only the fixed skill name, and as a chore it gets no release note.

So semantic-release still publishes 11.19.0 as a minor, now with 2 features and 10 fixes. No commit has a !.

The must-fix from my review of ecaa2f5 is still open: v11-info.mdx on 541b379 still has no note for the Tooltip aria-describedby change from #10994. The other findings and suggestions in that review are unchanged.


CI on 541b37945d when I posted this: 25 checks passed; 2 still running (Run e2e tests, Run visual-regression tests).

This branch was successfully deployed

2 active (1 outdated) deployments
Portal preview — 541b3794 Deployed Nov 24, 2026 by github-actions[bot]
ghe-deploy — ecaa2f59 Deployed Nov 24, 2026 by joakbjerk via check #29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

6 participants