|
1 | 1 | # Change Log
|
2 | 2 |
|
| 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 | + |
3 | 69 | ## 1.0.0-next.34
|
4 | 70 |
|
5 | 71 | ### Patch Changes
|
|
0 commit comments