Skip to content

Commit c348043

Browse files
github-actions[bot]unekinn
authored andcommitted
chore: new release candidate (next) (#2486)
This PR was opened by the [Changesets release](https://github.com/changesets/action) 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 next, this PR will be updated. ⚠️⚠️⚠️⚠️⚠️⚠️ `next` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run `changeset pre exit` on `next`. ⚠️⚠️⚠️⚠️⚠️⚠️ # Releases ## @digdir/designsystemet@1.0.0-next.35 ### Minor Changes - Fix crash when running CLI command `tokens build`: ([#2549](#2549)) - add --verbose option to `tokens build` for easier debugging - `tokens build` crashed when run on result of `tokens create` Update tokens template used by CLI command `tokens create` - removes `ingress`, renames `paragraph` to `body`, and adds `xl` size ### Patch Changes - Make sure the internal order of sections in the CSS generated by the CLI is deterministic, to avoid unnecessary git diffs ([#2560](#2560)) ## @digdir/designsystemet-css@1.0.0-next.35 ### Patch Changes - Pagination: ([#2460](#2460)) - Remove attributes `currentPage` and `totalPages` on `Pagination` - Replace `Pagination.Root` with `Paginaton` - Replace `Pagination.Next`, `Pagination.Previous` and `Pagination.Ellipsis` with `Paginaton.Button` - Make `usePagination` return spreadable props for subcomponents - Add support for `showPages` and `onChange` in `usePagination` - Skiplink: ([#2577](#2577)) - Simplify DOM - Add support for `forwardRef` - Accordion: Animate open/close with CSS ([#2527](#2527)) - Replace onFound with onToggle - Heading: ([#2525](#2525)) - Classes with data attributes - Move base style to utility classes - Modal: ([#2440](#2440)) - Rename `Modal.Dialog` to `Modal` - Rename `Modal.Root` to `Modal.Context` - Replace `onInteractOutside` event with `backdropClose` boolean - Replace `closeButton` and `closeButtonTitle` on `Modal.Header` with `closeButton` on `Modal` - Add border to `Modal.Header` and `Modal.Footer` - Remove `Modal.Content` - Remove `onBeforeClose` - Remove `subtitle` from `Modal.Header` - Body/Paragraph ([#2529](#2529)) - Add body-xl token - Add xl paragraph - Remove ingress tokens - Ingress: Remove component ([#2515](#2515)) - Use `Paragraph variant='long'` instead - Heading: Fix `md` heading size ([#2485](#2485)) - Card: ([#2509](#2509)) - Allow `Card` with content placed directly inside - Replace `Card.Header`, `Card.Content` and `Card.Footer` with `Card.Block` - Replace `isLink` with anchor-in-heading + `click` handler for better accessibility - Modal: Remove `Modal.Header` and `Modal.Footer`, replace with `Modal.Block` ([#2583](#2583)) - SkipLink: Remove ds-sr-only class ([#2546](#2546)) - Paragraph: Add css classes and style with data attributes ([#2523](#2523)) - Chip: ([#2493](#2493)) - Add `Chip.Button` - Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox` - Remove `Chip.Group` ## @digdir/designsystemet-react@1.0.0-next.35 ### Patch Changes - Pagination: ([#2460](#2460)) - Remove attributes `currentPage` and `totalPages` on `Pagination` - Replace `Pagination.Root` with `Paginaton` - Replace `Pagination.Next`, `Pagination.Previous` and `Pagination.Ellipsis` with `Paginaton.Button` - Make `usePagination` return spreadable props for subcomponents - Add support for `showPages` and `onChange` in `usePagination` - Skiplink: ([#2577](#2577)) - Simplify DOM - Add support for `forwardRef` - Accordion: Animate open/close with CSS ([#2527](#2527)) - Replace onFound with onToggle - Heading: ([#2525](#2525)) - Classes with data attributes - Move base style to utility classes - Modal: ([#2440](#2440)) - Rename `Modal.Dialog` to `Modal` - Rename `Modal.Root` to `Modal.Context` - Replace `onInteractOutside` event with `backdropClose` boolean - Replace `closeButton` and `closeButtonTitle` on `Modal.Header` with `closeButton` on `Modal` - Add border to `Modal.Header` and `Modal.Footer` - Remove `Modal.Content` - Remove `onBeforeClose` - Remove `subtitle` from `Modal.Header` - Body/Paragraph ([#2529](#2529)) - Add body-xl token - Add xl paragraph - Remove ingress tokens - Ingress: Remove component ([#2515](#2515)) - Use `Paragraph variant='long'` instead - Card: ([#2509](#2509)) - Allow `Card` with content placed directly inside - Replace `Card.Header`, `Card.Content` and `Card.Footer` with `Card.Block` - Replace `isLink` with anchor-in-heading + `click` handler for better accessibility - Modal: Remove `Modal.Header` and `Modal.Footer`, replace with `Modal.Block` ([#2583](#2583)) - SkipLink: Remove ds-sr-only class ([#2546](#2546)) - Paragraph: Add css classes and style with data attributes ([#2523](#2523)) - Chip: ([#2493](#2493)) - Add `Chip.Button` - Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox` - Remove `Chip.Group` ## @digdir/designsystemet-theme@1.0.0-next.35 ### Patch Changes - Body/Paragraph ([#2529](#2529)) - Add body-xl token - Add xl paragraph - Remove ingress tokens Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ba2207e commit c348043

File tree

9 files changed

+176
-5
lines changed

9 files changed

+176
-5
lines changed

.changeset/pre.json

+16-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@designsystemet/storybook": "0.1.0"
1616
},
1717
"changesets": [
18+
"angry-planes-thank",
1819
"beige-grapes-report",
1920
"blue-rocks-pull",
2021
"blue-singers-switch",
@@ -27,30 +28,39 @@
2728
"clever-cobras-rescue",
2829
"cool-lamps-drive",
2930
"curvy-oranges-notice",
31+
"cyan-adults-roll",
3032
"eighty-cougars-think",
3133
"eleven-bags-shop",
3234
"eleven-peaches-agree",
3335
"empty-singers-yell",
3436
"famous-pillows-cheat",
3537
"few-brooms-confess",
38+
"few-plums-drum",
3639
"fifty-buses-beam",
3740
"five-apricots-scream",
3841
"flat-experts-drop",
3942
"four-pears-tie",
4043
"friendly-islands-punch",
4144
"gold-chairs-jog",
4245
"gorgeous-readers-burn",
46+
"gorgeous-shrimps-crash",
4347
"happy-hounds-tie",
4448
"happy-worms-applaud",
4549
"healthy-apples-explode",
4650
"heavy-rabbits-boil",
4751
"hip-masks-greet",
52+
"hip-schools-greet",
4853
"honest-roses-hunt",
54+
"hot-ligers-rush",
55+
"hot-weeks-tease",
56+
"lemon-countries-smoke",
4957
"long-boxes-sniff",
5058
"loud-tips-return",
5159
"mean-ducks-argue",
5260
"metal-bananas-notice",
61+
"metal-tomatoes-compete",
5362
"mighty-days-eat",
63+
"nine-cameras-peel",
5464
"odd-hornets-sleep",
5565
"plenty-parents-rest",
5666
"plenty-vans-sneeze",
@@ -66,13 +76,17 @@
6676
"shaggy-rockets-repair",
6777
"shiny-kiwis-switch",
6878
"short-walls-judge",
79+
"six-carrots-guess",
6980
"six-trees-tie",
7081
"slimy-bees-arrive",
7182
"small-queens-breathe",
7283
"spotty-oranges-guess",
7384
"spotty-pumas-cross",
85+
"strong-flowers-ring",
86+
"strong-ghosts-marry",
7487
"stupid-tables-applaud",
7588
"swift-forks-drop",
89+
"tall-guests-arrive",
7690
"tame-rats-mix",
7791
"tender-grapes-refuse",
7892
"tender-ties-swim",
@@ -82,6 +96,7 @@
8296
"three-ducks-chew",
8397
"wise-countries-double",
8498
"witty-clouds-judge",
85-
"witty-moons-sleep"
99+
"witty-moons-sleep",
100+
"yellow-zoos-camp"
86101
]
87102
}

packages/cli/CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Change Log
22

3+
## 1.0.0-next.35
4+
5+
### Minor Changes
6+
7+
- Fix crash when running CLI command `tokens build`: ([#2549](https://github.com/digdir/designsystemet/pull/2549))
8+
9+
- add --verbose option to `tokens build` for easier debugging
10+
- `tokens build` crashed when run on result of `tokens create`
11+
12+
Update tokens template used by CLI command `tokens create`
13+
14+
- removes `ingress`, renames `paragraph` to `body`, and adds `xl` size
15+
16+
### Patch Changes
17+
18+
- Make sure the internal order of sections in the CSS generated by the CLI is deterministic, to avoid unnecessary git diffs ([#2560](https://github.com/digdir/designsystemet/pull/2560))
19+
320
## 1.0.0-next.34
421

522
## 1.0.0-next.33

packages/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@digdir/designsystemet",
3-
"version": "1.0.0-next.34",
3+
"version": "1.0.0-next.35",
44
"description": "CLI for Designsystemet",
55
"author": "Designsystemet team",
66
"repository": {

packages/css/CHANGELOG.md

+66
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,71 @@
11
# Change Log
22

3+
## 1.0.0-next.35
4+
5+
### Patch Changes
6+
7+
- Pagination: ([#2460](https://github.com/digdir/designsystemet/pull/2460))
8+
9+
- Remove attributes `currentPage` and `totalPages` on `Pagination`
10+
- Replace `Pagination.Root` with `Paginaton`
11+
- Replace `Pagination.Next`, `Pagination.Previous` and `Pagination.Ellipsis` with `Paginaton.Button`
12+
- Make `usePagination` return spreadable props for subcomponents
13+
- Add support for `showPages` and `onChange` in `usePagination`
14+
15+
- Skiplink: ([#2577](https://github.com/digdir/designsystemet/pull/2577))
16+
17+
- Simplify DOM
18+
- Add support for `forwardRef`
19+
20+
- Accordion: Animate open/close with CSS ([#2527](https://github.com/digdir/designsystemet/pull/2527))
21+
22+
- Replace onFound with onToggle
23+
24+
- Heading: ([#2525](https://github.com/digdir/designsystemet/pull/2525))
25+
26+
- Classes with data attributes
27+
- Move base style to utility classes
28+
29+
- Modal: ([#2440](https://github.com/digdir/designsystemet/pull/2440))
30+
31+
- Rename `Modal.Dialog` to `Modal`
32+
- Rename `Modal.Root` to `Modal.Context`
33+
- Replace `onInteractOutside` event with `backdropClose` boolean
34+
- Replace `closeButton` and `closeButtonTitle` on `Modal.Header` with `closeButton` on `Modal`
35+
- Add border to `Modal.Header` and `Modal.Footer`
36+
- Remove `Modal.Content`
37+
- Remove `onBeforeClose`
38+
- Remove `subtitle` from `Modal.Header`
39+
40+
- Body/Paragraph ([#2529](https://github.com/digdir/designsystemet/pull/2529))
41+
42+
- Add body-xl token
43+
- Add xl paragraph
44+
- Remove ingress tokens
45+
46+
- Ingress: Remove component ([#2515](https://github.com/digdir/designsystemet/pull/2515))
47+
48+
- Use `Paragraph variant='long'` instead
49+
50+
- Heading: Fix `md` heading size ([#2485](https://github.com/digdir/designsystemet/pull/2485))
51+
52+
- Card: ([#2509](https://github.com/digdir/designsystemet/pull/2509))
53+
54+
- Allow `Card` with content placed directly inside
55+
- Replace `Card.Header`, `Card.Content` and `Card.Footer` with `Card.Block`
56+
- Replace `isLink` with anchor-in-heading + `click` handler for better accessibility
57+
58+
- Modal: Remove `Modal.Header` and `Modal.Footer`, replace with `Modal.Block` ([#2583](https://github.com/digdir/designsystemet/pull/2583))
59+
60+
- SkipLink: Remove ds-sr-only class ([#2546](https://github.com/digdir/designsystemet/pull/2546))
61+
62+
- Paragraph: Add css classes and style with data attributes ([#2523](https://github.com/digdir/designsystemet/pull/2523))
63+
64+
- Chip: ([#2493](https://github.com/digdir/designsystemet/pull/2493))
65+
- Add `Chip.Button`
66+
- Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox`
67+
- Remove `Chip.Group`
68+
369
## 1.0.0-next.34
470

571
### Patch Changes

packages/css/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@digdir/designsystemet-css",
3-
"version": "1.0.0-next.34",
3+
"version": "1.0.0-next.35",
44
"description": "CSS for Designsystemet",
55
"author": "Designsystemet team",
66
"repository": {

packages/react/CHANGELOG.md

+64
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# Change Log
22

3+
## 1.0.0-next.35
4+
5+
### Patch Changes
6+
7+
- Pagination: ([#2460](https://github.com/digdir/designsystemet/pull/2460))
8+
9+
- Remove attributes `currentPage` and `totalPages` on `Pagination`
10+
- Replace `Pagination.Root` with `Paginaton`
11+
- Replace `Pagination.Next`, `Pagination.Previous` and `Pagination.Ellipsis` with `Paginaton.Button`
12+
- Make `usePagination` return spreadable props for subcomponents
13+
- Add support for `showPages` and `onChange` in `usePagination`
14+
15+
- Skiplink: ([#2577](https://github.com/digdir/designsystemet/pull/2577))
16+
17+
- Simplify DOM
18+
- Add support for `forwardRef`
19+
20+
- Accordion: Animate open/close with CSS ([#2527](https://github.com/digdir/designsystemet/pull/2527))
21+
22+
- Replace onFound with onToggle
23+
24+
- Heading: ([#2525](https://github.com/digdir/designsystemet/pull/2525))
25+
26+
- Classes with data attributes
27+
- Move base style to utility classes
28+
29+
- Modal: ([#2440](https://github.com/digdir/designsystemet/pull/2440))
30+
31+
- Rename `Modal.Dialog` to `Modal`
32+
- Rename `Modal.Root` to `Modal.Context`
33+
- Replace `onInteractOutside` event with `backdropClose` boolean
34+
- Replace `closeButton` and `closeButtonTitle` on `Modal.Header` with `closeButton` on `Modal`
35+
- Add border to `Modal.Header` and `Modal.Footer`
36+
- Remove `Modal.Content`
37+
- Remove `onBeforeClose`
38+
- Remove `subtitle` from `Modal.Header`
39+
40+
- Body/Paragraph ([#2529](https://github.com/digdir/designsystemet/pull/2529))
41+
42+
- Add body-xl token
43+
- Add xl paragraph
44+
- Remove ingress tokens
45+
46+
- Ingress: Remove component ([#2515](https://github.com/digdir/designsystemet/pull/2515))
47+
48+
- Use `Paragraph variant='long'` instead
49+
50+
- Card: ([#2509](https://github.com/digdir/designsystemet/pull/2509))
51+
52+
- Allow `Card` with content placed directly inside
53+
- Replace `Card.Header`, `Card.Content` and `Card.Footer` with `Card.Block`
54+
- Replace `isLink` with anchor-in-heading + `click` handler for better accessibility
55+
56+
- Modal: Remove `Modal.Header` and `Modal.Footer`, replace with `Modal.Block` ([#2583](https://github.com/digdir/designsystemet/pull/2583))
57+
58+
- SkipLink: Remove ds-sr-only class ([#2546](https://github.com/digdir/designsystemet/pull/2546))
59+
60+
- Paragraph: Add css classes and style with data attributes ([#2523](https://github.com/digdir/designsystemet/pull/2523))
61+
62+
- Chip: ([#2493](https://github.com/digdir/designsystemet/pull/2493))
63+
- Add `Chip.Button`
64+
- Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox`
65+
- Remove `Chip.Group`
66+
367
## 1.0.0-next.34
468

569
### Patch Changes

packages/react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@digdir/designsystemet-react",
3-
"version": "1.0.0-next.34",
3+
"version": "1.0.0-next.35",
44
"description": "React components for Designsystemet",
55
"author": "Designsystemet team",
66
"repository": {

packages/theme/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## 1.0.0-next.35
4+
5+
### Patch Changes
6+
7+
- Body/Paragraph ([#2529](https://github.com/digdir/designsystemet/pull/2529))
8+
- Add body-xl token
9+
- Add xl paragraph
10+
- Remove ingress tokens
11+
312
## 1.0.0-next.34
413

514
## 1.0.0-next.33

packages/theme/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@digdir/designsystemet-theme",
3-
"version": "1.0.0-next.34",
3+
"version": "1.0.0-next.35",
44
"description": "Predefined themes for Designsystemet",
55
"author": "Designsystemet team",
66
"repository": {

0 commit comments

Comments
 (0)