Skip to content

Commit

Permalink
Merge branch 'next' into chore-neutral-default
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunear committed Jan 9, 2025
2 parents c63b33b + 3109699 commit 1fec9e7
Show file tree
Hide file tree
Showing 328 changed files with 15,863 additions and 14,831 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-eyes-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Button: add `height: fit-content`
5 changes: 5 additions & 0 deletions .changeset/calm-hairs-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet": minor
---

Fix wrong base default color beeing set by the themebuilder
6 changes: 6 additions & 0 deletions .changeset/cold-seals-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Pagination: Use empty `li` for ellipsis
5 changes: 5 additions & 0 deletions .changeset/fair-gorillas-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Link: Fix missing underline when using Tailwind
5 changes: 5 additions & 0 deletions .changeset/fast-cows-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Add missing `data-size` and `data-color` props to Details
8 changes: 8 additions & 0 deletions .changeset/five-mails-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Table:
- Correct footer styling
- Automatic focus styling for sorting buttons
5 changes: 5 additions & 0 deletions .changeset/fresh-planes-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Remove `neutral` color on `ValidationMessage`
5 changes: 5 additions & 0 deletions .changeset/fuzzy-snails-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet": patch
---

Add json config file support for `tokens create`
5 changes: 5 additions & 0 deletions .changeset/great-cameras-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Switch: Adjust design to better align with radio and checkbox
5 changes: 5 additions & 0 deletions .changeset/green-plums-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Field.Counter: Run on mount to support initial `defaultValue`
5 changes: 5 additions & 0 deletions .changeset/long-stingrays-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Loosen default types for `data-color` and `data-size` to support accept `string`
6 changes: 6 additions & 0 deletions .changeset/many-cherries-look.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-theme": minor
"@digdir/designsystemet-css": minor
---

Removed CSS variables `--ds-spacing-*` & `--ds-sizing-*`, use `--ds-size-*`.
5 changes: 5 additions & 0 deletions .changeset/old-jeans-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Export all utilities
6 changes: 6 additions & 0 deletions .changeset/olive-windows-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet": patch
"@digdir/designsystemet-theme": patch
---

Rename `data-ds-typography` to `data-typography`
5 changes: 5 additions & 0 deletions .changeset/poor-roses-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Field: Fix `position` not working
5 changes: 5 additions & 0 deletions .changeset/popular-parrots-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Fixes issue where all React prop types were inlined instead of referenced
31 changes: 31 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@
"blue-stingrays-heal",
"brave-months-shop",
"brave-months-sleep",
"bright-eyes-beam",
"bright-knives-remain",
"brown-walls-smell",
"calm-hairs-pull",
"chatty-cheetahs-fetch",
"chilled-icons-chew",
"chilled-pumas-march",
"clean-insects-move",
"clean-lizards-chew",
"clever-cobras-rescue",
"cold-seals-draw",
"cool-lamps-drive",
"curvy-oranges-notice",
"cyan-adults-roll",
Expand All @@ -42,30 +45,38 @@
"empty-pears-hide",
"empty-singers-yell",
"fair-beds-destroy",
"fair-gorillas-pay",
"famous-pillows-cheat",
"fast-cows-march",
"few-brooms-confess",
"few-plums-drum",
"few-squids-speak",
"fifty-buses-beam",
"fifty-hornets-hang",
"five-apricots-scream",
"five-mails-pull",
"five-pens-accept",
"five-turkeys-confess",
"flat-experts-drop",
"fluffy-coins-run",
"four-pears-tie",
"four-schools-wait",
"fresh-planes-complain",
"friendly-cups-kiss",
"friendly-islands-punch",
"funny-boxes-remember",
"fuzzy-needles-explode",
"gold-chairs-jog",
"gorgeous-geese-boil",
"gorgeous-readers-burn",
"gorgeous-shrimps-crash",
"great-cameras-check",
"green-plums-scream",
"grumpy-pianos-lick",
"happy-hounds-tie",
"happy-worms-applaud",
"healthy-apples-explode",
"healthy-monkeys-repair",
"heavy-rabbits-boil",
"hip-brooms-brush",
"hip-masks-greet",
Expand All @@ -76,12 +87,15 @@
"hot-weeks-tease",
"hungry-moles-repeat",
"kind-eyes-cheat",
"lazy-wolves-provide",
"lemon-countries-smoke",
"long-boxes-sniff",
"long-countries-check",
"long-stingrays-repeat",
"loud-bobcats-look",
"loud-dragons-build",
"loud-tips-return",
"many-cherries-look",
"mean-ducks-argue",
"mean-penguins-sing",
"mean-snails-visit",
Expand All @@ -96,23 +110,29 @@
"ninety-jeans-punch",
"odd-hornets-sleep",
"odd-oranges-yell",
"old-jeans-ring",
"old-melons-stare",
"old-sheep-dress",
"olive-tools-cry",
"olive-waves-build",
"olive-windows-share",
"orange-months-listen",
"plenty-parents-rest",
"plenty-singers-matter",
"plenty-vans-sneeze",
"poor-roses-film",
"popular-jeans-happen",
"popular-parrots-begin",
"pretty-dancers-taste",
"proud-walls-flash",
"purple-berries-repeat",
"quiet-mangos-cry",
"quiet-rings-heal",
"real-zoos-fail",
"red-chefs-refuse",
"red-queens-love",
"rich-carrots-deny",
"rotten-tomatoes-run",
"rotten-zoos-live",
"rude-lies-smile",
"selfish-meals-pump",
Expand All @@ -124,6 +144,7 @@
"sharp-humans-itch",
"shiny-dryers-count",
"shiny-kiwis-switch",
"shiny-pans-film",
"short-kiwis-turn",
"short-walls-judge",
"shy-cameras-approve",
Expand All @@ -136,19 +157,23 @@
"slow-news-act",
"small-houses-stare",
"small-queens-breathe",
"small-seahorses-add",
"smooth-radios-leave",
"smooth-wombats-grab",
"spotty-oranges-guess",
"spotty-pumas-cross",
"stale-tables-eat",
"strange-feet-check",
"strange-jars-compete",
"strange-ligers-search",
"strong-flowers-ring",
"strong-ghosts-marry",
"stupid-tables-applaud",
"sweet-dolphins-hang",
"swift-forks-drop",
"tall-guests-arrive",
"tame-rats-mix",
"tasty-phones-invite",
"ten-wolves-yawn",
"tender-grapes-refuse",
"tender-ties-swim",
Expand All @@ -157,11 +182,17 @@
"three-dingos-unite",
"three-ducks-chew",
"three-moles-attack",
"tidy-balloons-rule",
"tidy-cheetahs-cry",
"tricky-islands-jam",
"twelve-onions-laugh",
"twenty-cheetahs-leave",
"violet-paws-begin",
"violet-steaks-repeat",
"weak-keys-tap",
"wet-scissors-tickle",
"wicked-plants-eat",
"wicked-pots-allow",
"wise-cooks-compare",
"wise-countries-double",
"witty-clouds-judge",
Expand Down
10 changes: 10 additions & 0 deletions .changeset/red-chefs-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Tooltip: Use popover API
- Removes `delay`, this is now `--dsc-tooltip-transition-delay`
- Removes `defaultOpen`
- Removes `portal`
- Removes ability to hover to keep open
5 changes: 5 additions & 0 deletions .changeset/rotten-tomatoes-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": minor
---

New CSS variables for sizes, `--ds-size-*`
6 changes: 6 additions & 0 deletions .changeset/shiny-pans-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

PopoverTrigger: New prop `inline` for use when inline elements (such as text) need a `Popover`
7 changes: 7 additions & 0 deletions .changeset/strange-feet-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@digdir/designsystemet-theme": minor
"@digdir/designsystemet": minor
"@digdir/designsystemet-css": minor
---

Moved typography based sizing formula to design-tokens
5 changes: 5 additions & 0 deletions .changeset/tasty-phones-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet": patch
---

Fix crash when running @digdir/designsystemet CLI due to differences in module resolution when used as a package
6 changes: 6 additions & 0 deletions .changeset/tidy-balloons-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-theme": minor
"@digdir/designsystemet": minor
---

Removed design-tokens `sizing` & `spacing`, use `size`.
5 changes: 5 additions & 0 deletions .changeset/tricky-islands-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet": minor
---

Support for building typography based sizing design-tokens
5 changes: 5 additions & 0 deletions .changeset/weak-keys-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

`ValidationMessage` now uses the `p`-element
6 changes: 6 additions & 0 deletions .changeset/wicked-plants-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Select: Add `width="auto"` option and default to full width
2 changes: 1 addition & 1 deletion .github/workflows/deploy-storefront.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Set default environment value if push event is triggered
id: defaultenvironment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Set default environment value if push event is triggered
id: defaultenvironment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Set default environment value if push event is triggered
id: defaultenvironment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-storefront.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: yarn build

- name: Install Vercel CLI
run: yarn add vercel@latest
run: npm install --global vercel@latest

- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @mimarz @Barsnes @eirikbacker @unekinn
* @mimarz @Barsnes @eirikbacker
Loading

0 comments on commit 1fec9e7

Please sign in to comment.