Skip to content

Commit 802959a

Browse files
authored
release of v10.91.0 (#5990)
2 parents c0071d8 + 1089136 commit 802959a

278 files changed

Lines changed: 11767 additions & 5129 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

packages/dnb-design-system-portal/src/docs/EUFEMIA_CHANGELOG.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## November, 28. 2025
2+
3+
- New component: [TermDefinition](/uilib/components/term-definition).
4+
15
## August, 15. 2025
26

37
- [DateFormat](/uilib/components/date-format) now supports relative time (auto updates).

packages/dnb-design-system-portal/src/docs/contribute.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Note that the [license](/license) states `@dnb/eufemia` is for internal DNB deve
2323

2424
## How can I contribute?
2525

26-
There are more ways to contribute than submitting code. Other contributions are just as valuable:
26+
There are more ways to contribute than submitting code. Other contributions are equally valuable:
2727

2828
- Report bugs
2929
- Suggest new features

packages/dnb-design-system-portal/src/docs/design-system/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Access to the code and documentation is absolutely essential to being able to bu
5252

5353
To ensure this transparency, the code on [GitHub](http://github.com/dnbexperience/eufemia) and the [Eufemia Portal](/) are made available without restrictions.
5454

55-
In summary – we experience that it;
55+
In summary – we experience that it:
5656

5757
- makes it possible for others and anyone who wants to - to contribute.
5858
- strengthens the identity of design and development processes in DNB.

packages/dnb-design-system-portal/src/docs/icons.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import ListAllIcons from 'dnb-design-system-portal/src/shared/parts/icons/ListAl
88

99
# Icons Library
1010

11-
This is a list of all icons available sorted in categories. It's a list where primary and secondary icons are combined. You may be interested to [read more](/icons/details) about what [the difference](/icons/primary) is and [how to import](/icons/secondary#react-example-usage).
11+
This is a list of all icons available, sorted by categories. It's a combined list where primary and secondary icons are shown together. You may be interested to [read more](/icons/details) about [the differences](/icons/primary) and [how to import](/icons/secondary#react-example-usage) them.
1212

1313
- for Web there are both [icons as SVG](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/assets/icons) and ready to use [React Components](/icons/secondary#react-example-usage).
1414
- for Android there is a [custom XML (drawable) package](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/assets/icons/dnb/eufemia-icons-xml.tgz) and a [categorized XML (drawable) package](https://github.com/dnbexperience/eufemia/tree/main/packages/dnb-eufemia/assets/icons/dnb/eufemia-icons-xml-categorized.tgz).

packages/dnb-design-system-portal/src/docs/quickguide-designer/accessibility.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ It helps people using keyboard navigation, skipping header areas with many focus
110110

111111
### Is a Skip Link required?
112112

113-
It depends on content, context, and user needs. If your page has blocks of content, which are identical throughout many pages, then you should give the user the ability to skip these blocks.
114-
It is not a requirement to have a Skip-Link but a needed consideration.
113+
It depends on content, context, and user needs. If your page has blocks of content that are identical throughout many pages, then you should give the user the ability to skip these blocks.
114+
It is not a requirement to have a Skip-Link, but it is a necessary consideration.
115115

116116
## Accessibility checklist for designers
117117

packages/dnb-design-system-portal/src/docs/quickguide-designer/spatial-system.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Padding = 1em - 0.125em = 0.875em
7171

7272
The bordered element will now sit nicely on the baseline grid.
7373

74-
In typography, a similar effect is seen when the line-height of a text style is not evenly divisible by 8. For example, body text (paragraph), is set at 16px and it's line-height is set at 24px.
74+
In typography, a similar effect is seen when the line-height of a text style is not evenly divisible by 8. For example, body text (paragraph) is set at 16px and its line-height is set at 24px.
7575

7676
In this case **line-height / 8** is equal to 3 (24 / 8 = 3)
7777

packages/dnb-design-system-portal/src/docs/uilib/about-the-lib.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import WatchingReleases from 'Docs/uilib/info/about-watching-releases.mdx'
1111

1212
**Why does this UI Library exist?**
1313

14-
Simply to unify and to maintain consistency of the most commonly used HTML Elements, custom components and extensions at DNB and to provide a platform for collaborative constant improvement. It's a part of the whole Design System.
14+
Simply to unify and maintain consistency of the most commonly used HTML Elements, custom components and extensions at DNB, and to provide a platform for collaborative constant improvement. It's part of the whole Design System.
1515

1616
This part of the Design System is dedicated to **application development**.
1717

@@ -67,7 +67,7 @@ All code examples are shown as ES6 ([ECMAScript 2015](https://en.wikipedia.org/w
6767
The HTML Elements UI Library comes with two different parts. The first and most common is the [Components Library](/uilib/components/).
6868
These are standard, out-of-the box, ready to use components.
6969

70-
However, there are many cases whereby the standard component needs to be customized or adjusted to suit the needs of the user. This results in a new component. We call these _extensions_.
70+
However, there are many cases where the standard component needs to be customized or adjusted to suit the needs of the user. This results in a new component. We call these _extensions_.
7171

7272
Eufemia extensions are reusable parts that do not fit naturally in to a component or element, but rather has the nature of being an extended solution of Eufemia.
7373

packages/dnb-design-system-portal/src/docs/uilib/components/aria-live/info.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AriaLive } from '@dnb/eufemia'
1212

1313
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.
1414

15-
Use it to manually inform users using a screen reader, about changes on the screen that isn't normally covered by screen readers.
15+
Use it to manually inform users using a screen reader about changes on the screen that aren't normally covered by screen readers.
1616

1717
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.
1818

packages/dnb-design-system-portal/src/docs/uilib/components/date-format/info.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ The following formats are supported as date values for conversion:
4848
- `dd/MM/yyyy`
4949
- `Date` object
5050

51+
### Relative time reference
52+
53+
When using `relativeTime`, you can provide a `now` prop (as a function) to define the reference point for relative time calculations. This is useful for testing or when you need a specific reference time. If not provided, the current time is used.
54+
5155
### `formatDate` helper function
5256

5357
If you really need a formatted date string without rendering the component, you can import the utility directly:
@@ -57,6 +61,17 @@ import { formatDate } from '@dnb/eufemia/components/date-format/DateFormatUtils'
5761
formatDate('2023-01-01')
5862
```
5963

64+
### `getOsloDate` helper
65+
66+
When you need a UTC Date object with midnight that always reflects the current day in `Europe/Oslo`, pull in the helper directly:
67+
68+
```ts
69+
import { getOsloDate } from '@dnb/eufemia/components/date-format/DateFormatUtils'
70+
getOsloDate() // -> e.g. Date object representing "2025-11-24T00:00:00.000Z" regardless of the runtime timezone
71+
```
72+
73+
This is helpful when you are comparing "today" against backend data or applying Oslo-specific highlighting in the [DatePicker](/uilib/components/date-picker/).
74+
6075
#### Parameters
6176

6277
| Name | Type | Default | Description |

0 commit comments

Comments
 (0)