Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: new release candidate (next) #3067

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"chilled-badgers-jog",
"chilled-icons-chew",
"chilled-pumas-march",
"chilly-walls-hunt",
"clean-insects-move",
"clean-lizards-chew",
"clever-cobras-rescue",
Expand All @@ -39,10 +40,13 @@
"cool-lamps-drive",
"curvy-oranges-notice",
"cyan-adults-roll",
"cyan-bears-brush",
"dull-buttons-argue",
"eight-dancers-deliver",
"eight-grapes-flash",
"eighty-cougars-relax",
"eighty-cougars-think",
"eleven-apples-clean",
"eleven-bags-shop",
"eleven-experts-raise",
"eleven-peaches-agree",
Expand All @@ -51,6 +55,7 @@
"empty-singers-yell",
"fair-beds-destroy",
"fair-gorillas-pay",
"famous-coins-fly",
"famous-pillows-cheat",
"fast-cows-impress",
"fast-cows-march",
Expand All @@ -67,23 +72,31 @@
"five-turkeys-confess",
"flat-experts-drop",
"fluffy-coins-run",
"fluffy-moose-swim",
"four-crabs-chew",
"four-jokes-lick",
"four-pears-tie",
"four-schools-wait",
"fresh-planes-complain",
"friendly-cups-kiss",
"friendly-goats-fix",
"friendly-hotels-behave",
"friendly-islands-punch",
"funny-boxes-remember",
"funny-peaches-lie",
"fuzzy-needles-explode",
"fuzzy-shrimps-hang",
"fuzzy-snails-arrive",
"gold-chairs-jog",
"gorgeous-geese-boil",
"gorgeous-lizards-begin",
"gorgeous-readers-burn",
"gorgeous-rockets-jam",
"gorgeous-shrimps-crash",
"great-cameras-check",
"green-plums-scream",
"grumpy-pianos-lick",
"happy-clocks-promise",
"happy-hounds-tie",
"happy-worms-applaud",
"healthy-apples-explode",
Expand All @@ -95,6 +108,7 @@
"hip-schools-greet",
"hip-weeks-fetch",
"honest-roses-hunt",
"hot-chairs-drop",
"hot-crews-perform",
"hot-ligers-rush",
"hot-weeks-tease",
Expand All @@ -103,16 +117,19 @@
"kind-eyes-cheat",
"lazy-wolves-provide",
"lemon-countries-smoke",
"light-avocados-flow",
"little-berries-divide",
"long-boxes-sniff",
"long-countries-check",
"long-stingrays-repeat",
"long-taxis-tease",
"loud-bobcats-look",
"loud-dragons-build",
"loud-tips-return",
"lovely-turtles-cheer",
"many-cherries-look",
"mean-ducks-argue",
"mean-jokes-jog",
"mean-penguins-sing",
"mean-snails-visit",
"mean-starfishes-hear",
Expand Down Expand Up @@ -143,25 +160,34 @@
"plenty-singers-matter",
"plenty-vans-sneeze",
"poor-roses-film",
"poor-toes-return",
"poor-tools-brush",
"popular-bugs-shout",
"popular-jeans-happen",
"popular-parrots-begin",
"popular-tools-impress",
"pretty-dancers-taste",
"proud-dogs-ring",
"proud-walls-flash",
"purple-berries-repeat",
"purple-pianos-melt",
"quick-ladybugs-marry",
"quiet-mangos-cry",
"quiet-rings-heal",
"rare-bats-laugh",
"real-zoos-fail",
"red-chefs-refuse",
"red-eagles-give",
"red-gorillas-argue",
"red-queens-love",
"rich-carrots-deny",
"rich-lizards-whisper",
"rotten-badgers-jump",
"rotten-tomatoes-run",
"rotten-zoos-live",
"rude-lies-smile",
"selfish-meals-pump",
"serious-ears-tan",
"serious-frogs-rescue",
"seven-ladybugs-admire",
"seven-tips-rest",
Expand All @@ -173,21 +199,27 @@
"shiny-kiwis-switch",
"shiny-pans-film",
"short-kiwis-turn",
"short-ravens-pretend",
"short-walls-judge",
"shy-cameras-approve",
"silly-flowers-decide",
"silver-penguins-occur",
"six-carrots-guess",
"six-sheep-hunt",
"six-trees-tie",
"slimy-bees-arrive",
"slimy-buttons-train",
"slow-impalas-vanish",
"slow-maps-teach",
"slow-news-act",
"small-houses-stare",
"small-queens-breathe",
"small-seahorses-add",
"smooth-hats-swim",
"smooth-radios-leave",
"smooth-wombats-grab",
"sour-frogs-arrive",
"spotty-ants-tickle",
"spotty-oranges-guess",
"spotty-pumas-cross",
"stale-tables-eat",
Expand All @@ -199,6 +231,7 @@
"strong-ghosts-marry",
"stupid-tables-applaud",
"sweet-dolphins-hang",
"sweet-zebras-learn",
"swift-forks-drop",
"tall-guests-arrive",
"tame-rats-mix",
Expand All @@ -219,18 +252,22 @@
"twelve-onions-laugh",
"twelve-paws-jog",
"twenty-cheetahs-leave",
"two-spoons-glow",
"unlucky-hairs-sit",
"violet-paws-begin",
"violet-steaks-repeat",
"weak-keys-tap",
"wet-scissors-tickle",
"wet-spies-tan",
"wicked-balloons-juggle",
"wicked-plants-eat",
"wicked-pots-allow",
"wise-cooks-compare",
"wise-countries-double",
"witty-clouds-judge",
"witty-moons-sleep",
"witty-moose-scream",
"yellow-days-talk",
"yellow-zoos-camp",
"young-bikes-try"
]
Expand Down
36 changes: 36 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# Change Log

## 1.0.0-next.49

### Minor Changes

- Added token `border-width-focus` ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Renamed background, surface and contrast color tokens and CSS variables ([#3053](https://github.com/digdir/designsystemet/pull/3053))

- Increased lightness of global `orange` color ([#3094](https://github.com/digdir/designsystemet/pull/3094))

- Removed token `border-width-highlight` ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Renamed color step `contrast-1` to `16` ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Reduced `font-size` scale by one, from 11 to 10. All sizes above and including `font-size-2` have shifted down size by one ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Added new step to color scale, now with a total of 16 ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Changed order for semantic color tokens in design-tokens ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Changed `warning` colors to use global `orange` ([#3094](https://github.com/digdir/designsystemet/pull/3094))

- Renamed color step `contrast-2` to `15` ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Removed global `yellow` color. ([#3094](https://github.com/digdir/designsystemet/pull/3094))

### Patch Changes

- `clean` should only run once during `tokens create` when multiple themes are defined using config file ([#3104](https://github.com/digdir/designsystemet/pull/3104))

- Added migration for color tokens renaming. Run `designsystemet migrate css-renames-next48-to-next49 --glob "./**/*.css"` ([#3053](https://github.com/digdir/designsystemet/pull/3053))

- `typography` and `borderRadius` are now optional in config file ([#3104](https://github.com/digdir/designsystemet/pull/3104))

- Increased the luminance of the Surface Tinted color in light mode and made Surface Tinted stand out more against Surface Default in dark mode. ([#3116](https://github.com/digdir/designsystemet/pull/3116))

## 1.0.0-next.48

### Minor Changes
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.48",
"version": "1.0.0-next.49",
"description": "CLI for Designsystemet",
"author": "Designsystemet team",
"engines": {
Expand Down
49 changes: 49 additions & 0 deletions packages/css/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,54 @@
# Change Log

## 1.0.0-next.49

### Minor Changes

- Added token `border-width-focus` ([#3138](https://github.com/digdir/designsystemet/pull/3138))

### Patch Changes

- **Table**: New colors on zebra (`--ds-color-surface-tinted`) and hover (`--ds-color-surface-hover`) ([#3147](https://github.com/digdir/designsystemet/pull/3147))

- **Dialog**: Add border around dialog element ([#3106](https://github.com/digdir/designsystemet/pull/3106))

- **Card**: Add `data-variant="default/tinted"`, `default` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- \*_Table_: Background is now transparent by default ([#3147](https://github.com/digdir/designsystemet/pull/3147))

- **Details**: Add `data-variant="default/tinted"`, `default` is default. ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- This can also be controlled from `Card`

- **Details**: Change default variant colors for open and hover ([#3159](https://github.com/digdir/designsystemet/pull/3159))

- **Dialog**: ([#3148](https://github.com/digdir/designsystemet/pull/3148))

- Correctly centers position also when placed in `display: flex`
- Only prevents scroll if opened with `.showModal()`

- **Button**: Make loading spinner scale accordion to button size ([#3074](https://github.com/digdir/designsystemet/pull/3074))

- **Table**: Add margin-bottom to `caption` element ([#3137](https://github.com/digdir/designsystemet/pull/3137))

- **Table**: Now inherits `data-color` by default ([#3136](https://github.com/digdir/designsystemet/pull/3136))

- **Breadcrumbs:** Prevent shrinking chevron ([#3103](https://github.com/digdir/designsystemet/pull/3103))

- **Table**: Added component token `--dsc-table-divider-border-color` ([#3081](https://github.com/digdir/designsystemet/pull/3081))

- **Popover**: Add `data-variant="default/tinted"`, `default` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- **Suggestion**: Add chevron to empty input ([#3154](https://github.com/digdir/designsystemet/pull/3154))

- **Badge**: Add `data-variant="base/tinted"`, `base` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- Use `var(--ds-border-width-default)` for border widths ([#3125](https://github.com/digdir/designsystemet/pull/3125))

- Rename `ds-modal` to `ds-dialog` ([#3106](https://github.com/digdir/designsystemet/pull/3106))

- **Card**: Add css properties for `Card.Block` border (`--dsc-card-block-border-*`) ([#3093](https://github.com/digdir/designsystemet/pull/3093))

## 1.0.0-next.48

### Minor 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.48",
"version": "1.0.0-next.49",
"description": "CSS for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down
26 changes: 26 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Change Log

## 1.0.0-next.49

### Minor Changes

- Disallow arbitrary strings for data-size, and only allow arbitrary strings for data-color if generated color types haven't been added to the downstream TypeScript environment. This fixes missing controls for data-size and data-color in the Storybook docs. ([#3042](https://github.com/digdir/designsystemet/pull/3042))

### Patch Changes

- **Card**: Add `data-variant="default/tinted"`, `default` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- **Details**: Add `data-variant="default/tinted"`, `default` is default. ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- This can also be controlled from `Card`

- **Button**: `loading` type now correctly accepts a `ReactNode` ([#3074](https://github.com/digdir/designsystemet/pull/3074))

- **Button**: Make loading spinner scale accordion to button size ([#3074](https://github.com/digdir/designsystemet/pull/3074))

- Fix `ref` type on `useCheckboxGroup` and `useRadioGroup` ([#3111](https://github.com/digdir/designsystemet/pull/3111))

- Rename to `Modal` to `Dialog` ([#3106](https://github.com/digdir/designsystemet/pull/3106))

- **Popover**: Add `data-variant="default/tinted"`, `default` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

- **Badge**: Add `data-variant="base/tinted"`, `base` is default ([#3131](https://github.com/digdir/designsystemet/pull/3131))

## 1.0.0-next.48

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

## 1.0.0-next.49

### Minor Changes

- Added token `border-width-focus` ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Renamed background, surface and contrast color tokens and CSS variables ([#3053](https://github.com/digdir/designsystemet/pull/3053))

- Increased lightness of global `orange` color ([#3094](https://github.com/digdir/designsystemet/pull/3094))

- Removed token `border-width-highlight` ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Renamed color step `contrast-1` to `16` ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Reduced `font-size` scale by one, from 11 to 10. All sizes above and including `font-size-2` have shifted down size by one ([#3138](https://github.com/digdir/designsystemet/pull/3138))

- Added new step to color scale, now with a total of 16 ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Changed order for semantic color tokens in design-tokens ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Changed `warning` colors to use global `orange` ([#3094](https://github.com/digdir/designsystemet/pull/3094))

- Renamed color step `contrast-2` to `15` ([#2911](https://github.com/digdir/designsystemet/pull/2911))

- Removed global `yellow` color. ([#3094](https://github.com/digdir/designsystemet/pull/3094))

### Patch Changes

- Increased the luminance of the Surface Tinted color in light mode and made Surface Tinted stand out more against Surface Default in dark mode. ([#3116](https://github.com/digdir/designsystemet/pull/3116))

## 1.0.0-next.48

## 1.0.0-next.47
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.48",
"version": "1.0.0-next.49",
"description": "Predefined themes for Designsystemet",
"author": "Designsystemet team",
"repository": {
Expand Down
Loading