Skip to content

Commit

Permalink
chore: new release candidate (next) (#2486)
Browse files Browse the repository at this point in the history
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/[email protected]

### 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/[email protected]

### 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/[email protected]

### 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>
  • Loading branch information
2 people authored and unekinn committed Oct 11, 2024
1 parent ba2207e commit c348043
Show file tree
Hide file tree
Showing 9 changed files with 176 additions and 5 deletions.
17 changes: 16 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@designsystemet/storybook": "0.1.0"
},
"changesets": [
"angry-planes-thank",
"beige-grapes-report",
"blue-rocks-pull",
"blue-singers-switch",
Expand All @@ -27,30 +28,39 @@
"clever-cobras-rescue",
"cool-lamps-drive",
"curvy-oranges-notice",
"cyan-adults-roll",
"eighty-cougars-think",
"eleven-bags-shop",
"eleven-peaches-agree",
"empty-singers-yell",
"famous-pillows-cheat",
"few-brooms-confess",
"few-plums-drum",
"fifty-buses-beam",
"five-apricots-scream",
"flat-experts-drop",
"four-pears-tie",
"friendly-islands-punch",
"gold-chairs-jog",
"gorgeous-readers-burn",
"gorgeous-shrimps-crash",
"happy-hounds-tie",
"happy-worms-applaud",
"healthy-apples-explode",
"heavy-rabbits-boil",
"hip-masks-greet",
"hip-schools-greet",
"honest-roses-hunt",
"hot-ligers-rush",
"hot-weeks-tease",
"lemon-countries-smoke",
"long-boxes-sniff",
"loud-tips-return",
"mean-ducks-argue",
"metal-bananas-notice",
"metal-tomatoes-compete",
"mighty-days-eat",
"nine-cameras-peel",
"odd-hornets-sleep",
"plenty-parents-rest",
"plenty-vans-sneeze",
Expand All @@ -66,13 +76,17 @@
"shaggy-rockets-repair",
"shiny-kiwis-switch",
"short-walls-judge",
"six-carrots-guess",
"six-trees-tie",
"slimy-bees-arrive",
"small-queens-breathe",
"spotty-oranges-guess",
"spotty-pumas-cross",
"strong-flowers-ring",
"strong-ghosts-marry",
"stupid-tables-applaud",
"swift-forks-drop",
"tall-guests-arrive",
"tame-rats-mix",
"tender-grapes-refuse",
"tender-ties-swim",
Expand All @@ -82,6 +96,7 @@
"three-ducks-chew",
"wise-countries-double",
"witty-clouds-judge",
"witty-moons-sleep"
"witty-moons-sleep",
"yellow-zoos-camp"
]
}
17 changes: 17 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## 1.0.0-next.35

### Minor Changes

- Fix crash when running CLI command `tokens build`: ([#2549](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2560))

## 1.0.0-next.34

## 1.0.0-next.33
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet",
"version": "1.0.0-next.34",
"version": "1.0.0-next.35",
"description": "CLI for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down
66 changes: 66 additions & 0 deletions packages/css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
# Change Log

## 1.0.0-next.35

### Patch Changes

- Pagination: ([#2460](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2577))

- Simplify DOM
- Add support for `forwardRef`

- Accordion: Animate open/close with CSS ([#2527](https://github.com/digdir/designsystemet/pull/2527))

- Replace onFound with onToggle

- Heading: ([#2525](https://github.com/digdir/designsystemet/pull/2525))

- Classes with data attributes
- Move base style to utility classes

- Modal: ([#2440](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2529))

- Add body-xl token
- Add xl paragraph
- Remove ingress tokens

- Ingress: Remove component ([#2515](https://github.com/digdir/designsystemet/pull/2515))

- Use `Paragraph variant='long'` instead

- Heading: Fix `md` heading size ([#2485](https://github.com/digdir/designsystemet/pull/2485))

- Card: ([#2509](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2583))

- SkipLink: Remove ds-sr-only class ([#2546](https://github.com/digdir/designsystemet/pull/2546))

- Paragraph: Add css classes and style with data attributes ([#2523](https://github.com/digdir/designsystemet/pull/2523))

- Chip: ([#2493](https://github.com/digdir/designsystemet/pull/2493))
- Add `Chip.Button`
- Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox`
- Remove `Chip.Group`

## 1.0.0-next.34

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/css/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-css",
"version": "1.0.0-next.34",
"version": "1.0.0-next.35",
"description": "CSS for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down
64 changes: 64 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
# Change Log

## 1.0.0-next.35

### Patch Changes

- Pagination: ([#2460](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2577))

- Simplify DOM
- Add support for `forwardRef`

- Accordion: Animate open/close with CSS ([#2527](https://github.com/digdir/designsystemet/pull/2527))

- Replace onFound with onToggle

- Heading: ([#2525](https://github.com/digdir/designsystemet/pull/2525))

- Classes with data attributes
- Move base style to utility classes

- Modal: ([#2440](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2529))

- Add body-xl token
- Add xl paragraph
- Remove ingress tokens

- Ingress: Remove component ([#2515](https://github.com/digdir/designsystemet/pull/2515))

- Use `Paragraph variant='long'` instead

- Card: ([#2509](https://github.com/digdir/designsystemet/pull/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](https://github.com/digdir/designsystemet/pull/2583))

- SkipLink: Remove ds-sr-only class ([#2546](https://github.com/digdir/designsystemet/pull/2546))

- Paragraph: Add css classes and style with data attributes ([#2523](https://github.com/digdir/designsystemet/pull/2523))

- Chip: ([#2493](https://github.com/digdir/designsystemet/pull/2493))
- Add `Chip.Button`
- Rename `Chip.Toggle` to `Chip.Radio` and `Chip.Checkbox`
- Remove `Chip.Group`

## 1.0.0-next.34

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-react",
"version": "1.0.0-next.34",
"version": "1.0.0-next.35",
"description": "React components for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down
9 changes: 9 additions & 0 deletions packages/theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0-next.35

### Patch Changes

- Body/Paragraph ([#2529](https://github.com/digdir/designsystemet/pull/2529))
- Add body-xl token
- Add xl paragraph
- Remove ingress tokens

## 1.0.0-next.34

## 1.0.0-next.33
Expand Down
2 changes: 1 addition & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digdir/designsystemet-theme",
"version": "1.0.0-next.34",
"version": "1.0.0-next.35",
"description": "Predefined themes for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down

0 comments on commit c348043

Please sign in to comment.