Skip to content
Open
Show file tree
Hide file tree
Changes from 45 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
8340f0e
chore(docs): fix spelling in v4.10 release info (#10979)
langz Nov 20, 2026
b7599e0
chore(VisualRegression): remove outdated --bail handling and docs (#1…
langz Nov 20, 2026
91e446b
fix(DatePicker): close calendar when disabled (#10779)
Xapollon430 Nov 20, 2026
6834644
fix(FormStatus): give the error icon a rounded diamond shape, so it d…
langz Nov 20, 2026
07fd0d7
docs: include font license terms (#10982)
tujoworker Nov 20, 2026
0942b53
fix(List): keep rows hidden by visibleCount from taking space (#10984)
ahmetacer5 Nov 20, 2026
77ae2b5
feat(PaymentCard): export the Visa, Mastercard and BankAxept logos (#…
langz Nov 20, 2026
30079f4
chore(Portal): don't give the brand selector's legend and selected ch…
langz Nov 23, 2026
0ec9c53
chore(Portal): give the List open-on-find visual test page a heading …
langz Nov 23, 2026
a324acd
chore(portal): align the Table in Card header and keep menu focus vis…
tujoworker Nov 23, 2026
115874a
chore(analytics): cap Athena scan size per query and stop caching API…
joakbjerk Nov 23, 2026
9a34894
chore: update stale and missing screenshots (#10987)
snorrekim Nov 23, 2026
4c313b1
chore(MCP): count hosted MCP usage only for accepted requests (#10988)
joakbjerk Nov 23, 2026
c5455f4
chore(MCP): check the auth token before parsing the request body in t…
joakbjerk Nov 23, 2026
88fb736
chore(assets): publish text files to the asset CDN as UTF-8 (#10993)
langz Nov 23, 2026
99ee15c
chore(Portal): open linked static files, such as font notices, instea…
langz Nov 23, 2026
73eb7c1
chore(Coconut): new coconut heading font (#10926)
snorrekim Nov 23, 2026
ba791ce
chore(Theme): declare the Carnegie bold heading font at the Eufemia b…
langz Nov 23, 2026
b3f359e
chore(portal): stop nesting documentation sections under Relevant lin…
langz Nov 23, 2026
82c9ce9
chore(portal): keep only accessibility notes under Accessibility (#11…
langz Nov 23, 2026
f154b4c
chore(portal): show the description before the import on Info pages (…
langz Nov 23, 2026
31d842b
chore(Portal): let motion demo scenes follow brand radius tokens (#10…
langz Nov 23, 2026
db4c7f7
refactor: share one outside click handler between Popover, DrawerList…
langz Nov 23, 2026
b39dd84
fix(Tooltip): describe the trigger when it gets focus, instead of ann…
langz Nov 23, 2026
e399002
chore(analytics): count agent skill starts in MCP usage (#11021)
joakbjerk Nov 23, 2026
df77c2a
fix(Table): keep sticky headers in place after CSS minification (#11000)
tujoworker Nov 23, 2026
20f2f96
chore(portal): name documentation headings with inline code by their …
langz Nov 23, 2026
571146f
chore: keep Popover open on scrollbar presses, and close Dropdown on …
langz Nov 24, 2026
18ed823
chore: count an Apple Pencil press outside once in the shared outside…
langz Nov 24, 2026
0eb2f49
chore: add Birdhouse preview theme (#10938)
tujoworker Nov 24, 2026
65698f9
chore: add display typography to Birdhouse (#10942)
tujoworker Nov 24, 2026
331cf7e
chore(service-monitoring): keep the weekly report scheduled-time plac…
joakbjerk Nov 24, 2026
59d630c
chore(analytics): turn off the default execute-api endpoint on the in…
joakbjerk Nov 24, 2026
8f068b7
chore(mcp): turn off the default execute-api endpoint (#11036)
joakbjerk Nov 24, 2026
9365a68
chore(MCP): count hosted MCP usage from tools that ran (#11026)
joakbjerk Nov 24, 2026
f328033
chore(portal): keep heading anchor link hoverable on the icons page (…
langz Nov 24, 2026
85e5da9
chore(MCP): send the agent skill name with docs_meta usage (#11045)
joakbjerk Nov 24, 2026
0a3fc83
chore(analytics): document the narrowed Lambda S3 grants (#11041)
joakbjerk Nov 24, 2026
52b2941
chore(portal): fit inline code in headings to the heading text (#11012)
langz Nov 24, 2026
9ea9010
chore(analytics): add Permissions-Policy and Cross-Origin-Opener-Poli…
joakbjerk Nov 24, 2026
20f47da
fix(FieldBlock): leave the help button out of the fieldset name (#11017)
langz Nov 24, 2026
a9b458d
fix(StepIndicator): include the visible step title in the trigger but…
langz Nov 24, 2026
4e63f4c
fix(Field.Selection, Field.Toggle): avoid a nested radiogroup in the …
langz Nov 24, 2026
53fa3bd
fix(Flex): read layout engine from Provider (#11056)
tujoworker Nov 24, 2026
ecaa2f5
feat(Card): support custom playback in MediaButton (#10972)
tujoworker Nov 24, 2026
4feb441
fix: restore mouse hover after touchscreen use (#11052)
tujoworker Nov 24, 2026
541b379
chore(AI): let the portal content skill report its use (#11054)
joakbjerk Nov 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"scripts": {
"start": "yarn workspace dnb-design-system-portal start",
"clean": "yarn workspace dnb-design-system-portal clean && yarn workspace @dnb/eufemia clean && find . -name .vite -type d -exec rm -rf {} +",
"clean": "yarn workspace dnb-design-system-portal clean && yarn workspace @dnb/eufemia clean && find . -path '*/node_modules/.vite' -type d -prune -exec rm -rf {} +",
"reset": "yarn workspace dnb-design-system-portal reset && yarn workspace @dnb/eufemia reset && rm -rf ./node_modules && yarn install",
"build": "yarn workspace @dnb/eufemia build",
"test": "yarn workspace @dnb/eufemia test",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,13 @@
* .eufemia-scope--portal .eufemia-theme__sbanken
*/
// @deprecated The "coconut" entry is for a transitional brand, removed later
const nonDefaultThemes = ['sbanken', 'eiendom', 'carnegie', 'coconut']
const nonDefaultThemes = [
'sbanken',
'eiendom',
'carnegie',
'coconut',
'birdhouse',
]

const plugin = () => {
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import useTheme from '@dnb/eufemia/src/shared/useTheme'
import { getThemes, setTheme } from '../../vite/client/shims/theme-handler'
import { Field } from '@dnb/eufemia/src/extensions/forms'

export default function ChangeStyleTheme(props) {
// The id goes to the selected brand's chip, so it can be focused
export default function ChangeStyleTheme({ id = undefined, ...props }) {
const themes = getThemes()
const brand = useTheme()?.brand
const { update } = useContext(Context)
Expand All @@ -17,7 +18,7 @@ export default function ChangeStyleTheme(props) {
? brand
: visibleThemes[0]?.[0]
const data = visibleThemes.map(([key, value]) => ({
id: key === focusKey ? 'change-theme' : undefined,
id: key === focusKey ? id : undefined,
value: key,
title: capitalizeFirstLetter(value.name),
}))
Expand All @@ -27,7 +28,6 @@ export default function ChangeStyleTheme(props) {
<Field.Selection
variant="button"
optionsLayout="horizontal"
id="change-theme"
value={brand}
data={data}
label="Change Brand"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ vi.mock('../../../vite/client/shims/theme-handler', () => ({
it('shows brand chips and switches the selected brand', () => {
const { getByRole } = render(
<Provider theme={{ brand: 'ui' }}>
<ChangeStyleTheme labelDescription="Read more about theming" />
<ChangeStyleTheme
id="change-theme"
labelDescription="Read more about theming"
/>
</Provider>
)

Expand Down Expand Up @@ -49,3 +52,31 @@ it('shows brand chips and switches the selected brand', () => {
(getByRole('radio', { name: 'Sbanken' }) as HTMLInputElement).checked
).toBe(true)
})

it('gives the legend and the selected chip different ids', () => {
const { getByRole } = render(
<Provider theme={{ brand: 'sbanken' }}>
<ChangeStyleTheme id="change-theme" />
</Provider>
)

const ids = Array.from(document.querySelectorAll('[id]'), ({ id }) => id)
expect(ids).toEqual([...new Set(ids)])
expect(getByRole('radiogroup', { name: 'Change Brand' })).toBeTruthy()
expect(document.querySelector('#change-theme')).toBe(
getByRole('radio', { name: 'Sbanken' })
)
})

it('keeps the ids unique when the drawer and a page show the selector', () => {
render(
<Provider theme={{ brand: 'sbanken' }}>
<ChangeStyleTheme />
<ChangeStyleTheme id="change-theme" />
</Provider>
)

const ids = Array.from(document.querySelectorAll('[id]'), ({ id }) => id)
expect(ids).toEqual([...new Set(ids)])
expect(document.querySelectorAll('#change-theme')).toHaveLength(1)
})
12 changes: 12 additions & 0 deletions packages/dnb-design-system-portal/src/docs/about/license.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ Third-party materials keep their own licenses. The Eufemia license does not repl

For confirmation of approved font use in a DNB Group project, contact the Eufemia team in [#eufemia-web](https://dnb-it.slack.com/archives/CMXABCHEY) or through the [contact page](/about/contact/). This includes DNB Sans, which Eufemia loads by default, and fonts bundled with individual themes. The team can help identify the applicable agreement and rights holder.

### Font notices

Font notices are included beside the files in `@dnb/eufemia/assets/fonts/` and hosted in the Portal's `/fonts/` directory. Preserve the applicable notices and license texts when copying or redistributing fonts.

| Font | Terms and notice |
| --------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| DNB fonts (including DNB Eiendom) | [DNB project terms, to the extent DNB holds the rights](/fonts/dnb/LICENSE.txt). |
| Sbanken Display | [ANTI license for Sbanken use](/fonts/coconut/LICENSE.txt), including suppliers acting on its behalf. |
| ABC Arizona Flare (Carnegie) | [Separate Dinamo terms](/fonts/carnegie/LICENSE.txt). |
| Maison Neue (Sbanken) | [Separate Milieu Grotesque terms](/fonts/sbanken/LICENSE.txt). |
| Roboto (Sbanken) | [Apache License 2.0](/fonts/sbanken/Roboto-LICENSE.txt), with the [font copyright notice](/fonts/sbanken/LICENSE.txt). |

## Credits

- Search is made possible by [Algolia](https://www.algolia.com/)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,6 @@ The collection includes:

For the DNB brand logo in a Web application, use the [Logo component](/web/components/logo/).

For the SVG versions of the Visa, Mastercard and BankAxept logos used on the PaymentCard, use the [card brand logo components](/web/patterns-and-extensions/payment-card/helpers/#card-brand-logos).

For company and partner logos, use the standalone catalog or public manifest above. React applications use the `@eufemia/logos` package. The manifest points to immutable, versioned PNG assets. See the [Asset CDN documentation](/web/ai-tools-and-resources/asset-cdn/#company-logos) for public URLs and versioning.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ raicode mcp add --transport stdio eufemia -- node node_modules/@dnb/eufemia/mcp/

### Telemetry

The local MCP server sends **anonymous, aggregate usage statistics** so we can see which tools, components and documentation areas are most used and improve the docs accordingly. It is **on by default** and **opt-out**.
The local MCP server sends **anonymous, aggregate usage statistics** so we can see which tools, components, documentation areas and agent skills are most used and improve the docs accordingly. It is **on by default** and **opt-out**.

What is collected is a closed, public vocabulary only: the tool name, the component name for a component lookup (e.g. `Button`, `Field.Address`), a miss flag when that name is not in the docs (but never the name itself), the leading documentation area for a doc read or list (e.g. `/web/components/overview/`, gated against the areas actually present in the docs — a path outside the docs is dropped, not narrowed), and the `@dnb/eufemia` version you have installed. No machine identifier, user, session or correlation id, and no free text are in that payload — in particular a `docs_search` query is never collected (a search is recorded as a tool count only). The request's source IP is visible to the network layer like any HTTP call, but it is not part of this payload and is not stored on the ingest side.
What is collected is a closed, public vocabulary only: the tool name, the component name for a component lookup (e.g. `Button`, `Field.Address`), a miss flag when that name is not in the docs (but never the name itself), the leading documentation area for a doc read or list (e.g. `/web/components/overview/`, gated against the areas actually present in the docs — a path outside the docs is dropped, not narrowed), the name of the Eufemia agent skill making a `docs_meta` call (only one of the fixed skill names, e.g. `eufemia-review`), and the `@dnb/eufemia` version you have installed. No machine identifier, user, session or correlation id, and no free text are in that payload — in particular a `docs_search` query is never collected (a search is recorded as a tool count only). The request's source IP is visible to the network layer like any HTTP call, but it is not part of this payload and is not stored on the ingest side.

Each event is a fire-and-forget request with a short timeout, so it never blocks or affects a tool call, and the server holds no credentials.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ redirect_from:
- /uilib/components/accordion/info
---

## Description

The Accordion component is a combination of an accessible button (header area) and a content container.

## Import

```tsx
import { Accordion } from '@dnb/eufemia'
```

## Description

The Accordion component is a combination of an accessible button (header area) and a content container.

## Relevant links

- [Figma](https://www.figma.com/design/cdtwQD8IJ7pTeE45U148r1/%F0%9F%92%BB-Eufemia---Web?node-id=4314-722)
Expand All @@ -24,12 +24,14 @@ The Accordion component is a combination of an accessible button (header area) a

The Accordion follows the [WAI-ARIA Accordion Pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/). The header uses a semantic button with `aria-expanded` to communicate the expanded/collapsed state. The content panel is associated with its header using `aria-controls` and `aria-labelledby`.

When `openOnFind` is enabled, find-in-page support is powered by [HeightAnimation](/web/components/height-animation/#accessibility); see its accessibility notes for behavior details and browser support.

## Usage

The component is designed to let you compose different parts according to your technical needs.

By default, the Accordion component animates user events, resulting in a final height of `auto`. This keeps the content responsive after the animation ends.

When `openOnFind` is enabled, find-in-page support is powered by [HeightAnimation](/web/components/height-animation/#accessibility); see its accessibility notes for behavior details and browser support.

### Accordion provider

Use the `Accordion.Provider` to pass accordion properties to all nested accordions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,30 @@ legacyFragments:
anchor-text-link: /web/components/anchor/#text-link
---

## Description

The Anchor, also known as `Link`, is used to navigate from one page to the next HTML page.

## Import

```tsx
import { Anchor } from '@dnb/eufemia'
```

## Description

The Anchor, also known as `Link`, is used to navigate from one page to the next HTML page.

## Relevant links

- [Figma](https://www.figma.com/design/cdtwQD8IJ7pTeE45U148r1/%F0%9F%92%BB-Eufemia---Web?node-id=4243-1500&p=f&t=hDnIGm5ME8DL6NoN-0)
- [Source code](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/src/components/anchor)
- [Docs code](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-design-system-portal/src/docs/web/components/anchor)

## Usage

```jsx
import { Link, Anchor } from '@dnb/eufemia'
render(<Anchor href="/web/components/anchor">Accessible text</Anchor>)
```

### Combine a Link with an Anchor
## Combine a Link with an Anchor

You can combine a meta framework link with the Anchor. This way, all the framework-provided features will still work, as well as the behavior of the Eufemia Anchor.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@ legacyFragments:
arialive: /web/components/aria-live/#aria-live
---

## Import

```tsx
import { AriaLive } from '@dnb/eufemia'
```

## Description

AriaLive is a React component and hook that helps make your web app more accessible by adding or defining an ARIA live region that announces dynamic changes to screen readers.
Expand All @@ -20,6 +14,12 @@ Use it to manually inform users using a screen reader about changes on the scree

By default, the `AriaLive` component will announce changes to the screen reader in a polite manner. This means that the announcement will wait until the screen reader is idle. This is the recommended way to use the component.

## Import

```tsx
import { AriaLive } from '@dnb/eufemia'
```

## Relevant links

- [Source code](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/src/components/aria-live)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import {
} from 'Docs/web/components/autocomplete/Examples'
import WhenToUseForms from 'Docs/web/forms/when-to-use-forms.mdx'

## Description

The Autocomplete component is a combination of an [Input](/web/components/input) and a [Dropdown](/web/components/dropdown), also called **ComboBox**. During typing, matching data items get suggested in an option menu (listbox).

## Import

```tsx
import { Autocomplete } from '@dnb/eufemia'
```

## Description

The Autocomplete component is a combination of an [Input](/web/components/input) and a [Dropdown](/web/components/dropdown), also called **ComboBox**. During typing, matching data items get suggested in an option menu (listbox).

## When to use Autocomplete vs Eufemia Forms

<WhenToUseForms />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ redirect_from:
- /uilib/components/avatar/info
---

## Description

Avatars are identifiers that make people and companies more scannable for payments, spending overviews, and social functionality. The fallback for a person is the letter version that uses the first letter of a person's name. A company has the icon version as its default/fallback. The badge is used to mark country/currency if needed.

## Import

```tsx
import { Avatar } from '@dnb/eufemia'
```

## Description

Avatars are identifiers that make people and companies more scannable for payments, spending overviews, and social functionality. The fallback for a person is the letter version that uses the first letter of a person's name. A company has the icon version as its default/fallback. The badge is used to mark country/currency if needed.

## Relevant links

- [Figma](https://www.figma.com/design/cdtwQD8IJ7pTeE45U148r1/%F0%9F%92%BB-Eufemia---Web?node-id=17869-0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ redirect_from:
- /uilib/components/badge/info
---

## Description

Badge can be overlaid on another element by wrapping it, or can be a standalone badge.

## Import

```tsx
import { Badge } from '@dnb/eufemia'
```

## Description

Badge can be overlaid on another element by wrapping it, or can be a standalone badge.

## Relevant links

- [Figma](https://www.figma.com/design/cdtwQD8IJ7pTeE45U148r1/%F0%9F%92%BB-Eufemia---Web?node-id=26322-25223)
- [Source code](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/src/components/badge)
- [Docs code](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-design-system-portal/src/docs/web/components/badge)

### Badge variants
## Badge variants

#### Notification Badge
### Notification Badge

The notification badge has a very limited use. The area of use is currently limited to a counter of messages in the message center.

#### Information Badge
### Information Badge

Can be used to describe or inform about new activity or features in our applications. The label can be placed on top of element backgrounds or inline with text within cells.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ redirect_from:
- /uilib/components/breadcrumb/info
---

## Description

The Breadcrumb is a component for navigation and for showing the current website path or tree.

## Import

```tsx
import { Breadcrumb } from '@dnb/eufemia'
```

## Description

The Breadcrumb is a component for navigation and for showing the current website path or tree.

## Accessibility

When `openOnFind` is enabled, find-in-page support is powered by [HeightAnimation](/web/components/height-animation/#accessibility); see its accessibility notes for behavior details and browser support.
Expand Down
Loading
Loading