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

feat: version 1 #2130

Closed
wants to merge 784 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
784 commits
Select commit Hold shift + click to select a range
ee931c4
chore: new release candidate (next) (#2254)
github-actions[bot] Aug 21, 2024
9dabafa
chore: Change to fixed packages for changesets
mimarz Aug 21, 2024
d2cf408
chore: fix padding on header in theme (#2301)
Barsnes Aug 22, 2024
c25b798
fix(Chip): chip group wrap (#2324)
eirikbacker Aug 26, 2024
2384c36
chore(storefront): metadata and blog image fixes (#2332)
Barsnes Aug 27, 2024
f661ba1
docs: researchops - Nøkkelen til effektiv brukerinnsikt artikkel (#2231)
mrosvik Aug 27, 2024
cd1c607
feat: support colors as args for create tokens (#2290)
mimarz Aug 27, 2024
ca4c1b3
chore: add new orange and green base colors (#2335)
Thunear Aug 27, 2024
b9c5deb
chore: added new global colors and fixed a wrong token reference (#2339)
mimarz Aug 28, 2024
37371ca
build(deps): bump micromatch from 4.0.7 to 4.0.8 (#2336)
dependabot[bot] Aug 28, 2024
5d4f3ba
build(deps): bump tar from 6.1.13 to 6.2.1 (#2337)
dependabot[bot] Aug 28, 2024
22b7eb9
chore: new release candidate (next) (#2327)
github-actions[bot] Aug 28, 2024
a5e292e
build(deps): bump webpack from 5.93.0 to 5.94.0 (#2340)
dependabot[bot] Aug 28, 2024
f8ca15a
docs: added blog post about V1 (#2328)
mrosvik Aug 28, 2024
e0bf1be
chore: Run pkg fix on packages
mimarz Aug 28, 2024
a7c8fd3
docs: update Checkbox sin link til story for checkbox.group (#2167)
elaffen Aug 29, 2024
49af0ef
chore: built new tokens
mimarz Aug 29, 2024
803744e
chore(storefront): add banner about version on next site (#2346)
Barsnes Aug 29, 2024
dbdf38f
fix: correct css var in color modal (#2349)
Barsnes Aug 29, 2024
1caae92
chore: add test coverage (#2317)
eirikbacker Aug 30, 2024
fdd17e6
chore(cli): give yarn the lockfile it wants
Barsnes Aug 30, 2024
c1dccb3
docs(ErrorSummary): write documentation and guidelines (#2345)
Barsnes Aug 30, 2024
d7f1caa
docs(Breadcrumbs): write documentation and guidelines (#2292)
Barsnes Aug 30, 2024
b884fda
feat(Avatar): new component (#2312)
Barsnes Sep 2, 2024
07d8fa7
docs: fix link and typo (#2359)
mrosvik Sep 2, 2024
336b060
docs: add info about mattilsynet and udir (#2360)
mrosvik Sep 2, 2024
7f04d18
chore(chip): text color should be accent (#2371)
Barsnes Sep 4, 2024
1301bcb
feat: reintroduce color json snippet in theme-builder (#2354)
mimarz Sep 4, 2024
fdc1386
docs: added missing link to ui-kit
mimarz Sep 4, 2024
9baa98d
docs: swapped link order in theme tokens modal
mimarz Sep 4, 2024
cc3e45f
docs: theme tokens modal wording
mimarz Sep 4, 2024
0703262
fixed comment concatinating in theme workflow
mimarz Sep 4, 2024
bdd9881
feat(Box): remove component (#2372)
Barsnes Sep 5, 2024
fce0810
fix(Combobox): fix virtual items having big gap (#2376)
Barsnes Sep 5, 2024
93d636a
chore: add move issue action
Barsnes Sep 6, 2024
3b5f9c9
try other github token
Barsnes Sep 6, 2024
473558d
chore: try again
Barsnes Sep 6, 2024
3729ad5
try with view
Barsnes Sep 6, 2024
e0981e2
without view
Barsnes Sep 6, 2024
d554306
url update on action
Barsnes Sep 6, 2024
2a5f764
new action token
Barsnes Sep 6, 2024
f45d853
fix: start implementing css principles (#2313)
eirikbacker Sep 6, 2024
d87b070
chore: fix faulty changeset
mimarz Sep 6, 2024
4abf5e6
fix(Switch): don't show check when not checked in readonly (#2377)
Barsnes Sep 6, 2024
5efdf2e
docs(Textfield): better prefix and suffix story (#2375)
Barsnes Sep 6, 2024
0dbcee5
feat(tooltip): remove css variables (#2389)
Barsnes Sep 6, 2024
8cdd5c5
feat(Heading): default level is now 2 (#2378)
Barsnes Sep 10, 2024
0e2cdb5
fix(Tag): css adjustments (#2397)
eirikbacker Sep 10, 2024
7fd6882
docs(Link): write documentation and guidelines (#2298)
Barsnes Sep 10, 2024
1afa5c5
feat(spinner): css changes and data attrs (#2390)
Barsnes Sep 11, 2024
6ae7cc4
docs(Loaders): write documentation and guidelines (#2302)
Barsnes Sep 11, 2024
48f5713
fix(Popover): use native Popover API and CSS refinements (#2369)
eirikbacker Sep 11, 2024
dda5b21
fix(Table): use css conventions (#2393)
eirikbacker Sep 11, 2024
b03692a
fix(Table): set sort type button to prevent form submit (#2402)
eirikbacker Sep 12, 2024
5a46662
fix: react type import (#2408)
eirikbacker Sep 12, 2024
f3abcda
fix(List): css principles (#2348)
eirikbacker Sep 12, 2024
9220945
fix(Select): rename from nativeselect (#2404)
eirikbacker Sep 13, 2024
a0b119d
feat(badge): css changes and data attrs (#2391)
Barsnes Sep 13, 2024
876eccc
build(deps): bump express from 4.19.2 to 4.20.0 (#2401)
dependabot[bot] Sep 13, 2024
037255c
fix(Pagination): start converting to new css principles (#2395)
eirikbacker Sep 13, 2024
20f8b9d
fix(Tag): corret color prop to data-color
mimarz Sep 13, 2024
4c152fd
chore: :sparkles: export all css files in css package (#2413)
mimarz Sep 13, 2024
ab65142
fix: postcss composes directive (#2410)
eirikbacker Sep 13, 2024
273c7e6
chore: :fire: Remove `dev.designsystemet.no` app (#2416)
mimarz Sep 16, 2024
c2f0f07
chore: only run theme preview on changes in theme folder (#2417)
Barsnes Sep 16, 2024
722fbe4
feat(dropdownmenu): css changes and data attrs (#2387)
Barsnes Sep 16, 2024
7f0cc0d
fix(Select): option and optgroup compond components (#2415)
eirikbacker Sep 16, 2024
54d3037
feat(card): css changes and data attrs (#2398)
Barsnes Sep 16, 2024
dc8ecf9
fix: syncronized animation bug (#2420)
eirikbacker Sep 16, 2024
6385e55
fix(Popover): popovertarget react-docgen (#2414)
eirikbacker Sep 16, 2024
b201787
build(postcss): fix composes plugin folder check (#2421)
Barsnes Sep 16, 2024
4fb70d1
feat(cli): :sparkles: Add option for defining theme name (#2374)
mimarz Sep 16, 2024
ec741bc
fix: better proptype generator (#2423)
eirikbacker Sep 16, 2024
595a75b
fix(Accordion): implement css adjustments and native details (#2363)
eirikbacker Sep 16, 2024
612c41a
ci: add a "Test reports" workflow (#2427)
unekinn Sep 16, 2024
5d1c506
chore: add changeset for Accordion changes
mimarz Sep 17, 2024
a0b5be1
chore: update theme regex (#2425)
Barsnes Sep 17, 2024
5bf8c21
chore: new release candidate (next) (#2361)
github-actions[bot] Sep 17, 2024
f71185c
feat(modal): css changes (#2418)
Barsnes Sep 17, 2024
c2b78ed
fix(ToggleGroup): align with new css and api principles (#2424)
eirikbacker Sep 17, 2024
3451704
feat(tabs): css changes (#2431)
Barsnes Sep 17, 2024
fdc61bd
chore: fix urls in preview workflows (#2430)
mimarz Sep 17, 2024
b8f3153
fix(ErrorSummary): css and api alignments (#2437)
eirikbacker Sep 17, 2024
03d776b
fix(Skeleton): css alignment (#2435)
eirikbacker Sep 17, 2024
32fdbd4
fix(Breadcrumbs): css and api alignment (#2428)
eirikbacker Sep 18, 2024
4b3b1bc
docs: card-update (#2171)
Ildest Sep 18, 2024
7dceadd
feat(dropdownmenu): streamline API (#2432)
Barsnes Sep 18, 2024
ed179a1
fix(Tabs): api alignment (#2448)
eirikbacker Sep 18, 2024
d3229a0
fix(Fieldset): css alignments (#2447)
eirikbacker Sep 18, 2024
c3f9e92
chore: :fire: Remove autogenerated typography classes (#2429)
mimarz Sep 19, 2024
a4e8845
fix(Badge): without wrapper (#2422)
eirikbacker Sep 19, 2024
8c3b10c
docs(Avatar): Fix typo in story name
mimarz Sep 19, 2024
d2b7a4d
chore: add siteimprove to storefront (#2462)
Thunear Sep 19, 2024
1c67d53
style(textarea): use new field-sizing: content (#2463)
Barsnes Sep 19, 2024
7214dc2
docs: fix broken links (#2467)
mrosvik Sep 19, 2024
69e7988
docs: fix wrong backurl and link (#2470)
mrosvik Sep 20, 2024
0e4faee
fix(HelpText): css alignments (#2438)
eirikbacker Sep 20, 2024
f794c60
feat: rename `ErrorMessage` to `ValidationMessage` (#2473)
Barsnes Sep 20, 2024
44582c8
fix(Link): align img icon (#2482)
eirikbacker Sep 20, 2024
f89091d
chore: resolve circular dependencies (#2478)
Barsnes Sep 20, 2024
a0fe525
chore: add udir logo (#2481)
Barsnes Sep 20, 2024
dacf6f0
feat(Button): remove default `type="button"` (#2472)
Barsnes Sep 20, 2024
047c9c1
fix(react): correctly mark dependencies as external (#2479)
unekinn Sep 20, 2024
95ba93c
chore: new release candidate (next) (#2434)
github-actions[bot] Sep 20, 2024
5e89cdc
chore: temp no Udir logo (#2483)
Barsnes Sep 20, 2024
b0c3122
build(deps-dev): bump vite from 5.3.5 to 5.3.6 (#2442)
dependabot[bot] Sep 20, 2024
40f8dc8
fix(heading): make md heading work (#2485)
Barsnes Sep 23, 2024
9a14b6a
fix: errormessage, heading, ingress, label css (#2433)
eirikbacker Sep 23, 2024
e676d6c
chore: add udir logo (#2500)
Barsnes Sep 24, 2024
6f07d0c
test: run axe-playwright a11y tests using test-storybook (#2400)
unekinn Sep 25, 2024
1002d87
fix(Modal): api alignment (#2440)
eirikbacker Sep 25, 2024
aa53b02
feat(typography): use classes for typography styles (#2514)
Barsnes Sep 25, 2024
d0fad1d
fix(Chip): implement new design and css alignment (#2493)
eirikbacker Sep 26, 2024
e9ca9b7
fix(Pagination): api alignment (#2460)
eirikbacker Sep 26, 2024
221f379
build(deps): bump vite from 5.2.8 to 5.4.6 (#2484)
dependabot[bot] Sep 26, 2024
2d9fe0e
docs: update card guidelines (#2499)
mrosvik Sep 26, 2024
79aa4d4
chore: update lockfile
Barsnes Sep 26, 2024
89cfe48
build(deps-dev): bump rollup from 4.20.0 to 4.22.4 (#2495)
dependabot[bot] Sep 26, 2024
3d2b88f
fix(Skeleton): size of variant text (#2510)
eirikbacker Sep 26, 2024
88634e2
feat: compose paragraph (#2517)
Barsnes Sep 26, 2024
96e656f
chore: remove redundant story code (#2520)
eirikbacker Sep 26, 2024
07cd594
chore: update storybook and enable react-docgen-typescript (#2521)
Barsnes Sep 26, 2024
d0288e2
feat: paragraph classes, body-text in utilities (#2523)
Barsnes Sep 26, 2024
ba2f79f
feat: heading classes with data attributes and utility classes (#2525)
Barsnes Sep 27, 2024
183f074
chore: change env check to production (#2519)
Barsnes Sep 27, 2024
adcaece
feat(Ingress): remove component (#2515)
Barsnes Sep 27, 2024
8277775
feat: add body-xl token and xl paragraph (#2529)
Febakke Sep 27, 2024
663d736
fix: move box-sizing (#2530)
eirikbacker Sep 30, 2024
a11b2b7
feat: remove spacing on typography (#2531)
Barsnes Sep 30, 2024
2b74b0f
chore: add version number to bug issue template (#2536)
Barsnes Sep 30, 2024
28deb68
fix(Accordion): animate with css (#2527)
eirikbacker Sep 30, 2024
a3164e0
fix(storybook): only theme on stories (#2539)
Barsnes Oct 1, 2024
40503e5
chore: move typography to root of src (#2537)
Barsnes Oct 1, 2024
791dabc
docs: added article (#2532)
mrosvik Oct 1, 2024
f08ec98
feat: set color and background on `:root` and color modes (#2544)
Barsnes Oct 1, 2024
5a77def
feat(skiplink): compose sr-only class (#2546)
Barsnes Oct 1, 2024
bf31bfc
fix(Card): api and a11y (#2509)
eirikbacker Oct 1, 2024
276be9e
chore: remove theme decorator, update storybook (#2551)
Barsnes Oct 2, 2024
9d7b50f
feat: `ds-focus` use both `outline` and `box-shadow` (#2548)
Barsnes Oct 2, 2024
6feed7d
chore: fix focus on card by composing (#2554)
Barsnes Oct 2, 2024
48bd80e
fix(cli): tokens build crashed when run on result of tokens create (#…
unekinn Oct 2, 2024
09e1444
fix: focus changing color when changing mode (#2557)
Barsnes Oct 2, 2024
c2fed0e
fix(card): add `display: block` (#2559)
Barsnes Oct 2, 2024
5fe5050
fix(cli): the internal order of the parts of the built css files was …
unekinn Oct 3, 2024
bc191e4
chore: add Une to codeowners
Barsnes Oct 7, 2024
fe20145
chore(skiplink): simplify DOM (#2577)
Barsnes Oct 7, 2024
7ad1485
fix(Breadcrumbs): back only bug (#2564)
eirikbacker Oct 8, 2024
9db9fd4
fix(skiplink): add missing ref prop (#2581)
Barsnes Oct 8, 2024
bad8f49
docs(Accordion): fix typo (#2582)
eirikbacker Oct 8, 2024
ef73ac3
chore(combobox): sync with main changes (#2576)
Barsnes Oct 8, 2024
12e10e6
fix(Modal): block (#2583)
eirikbacker Oct 8, 2024
735eb88
feat(Skeleton): text wrapping (#2569)
eirikbacker Oct 8, 2024
8d3a3c5
chore: new release candidate (next) (#2486)
github-actions[bot] Oct 8, 2024
1898de7
chore: updated design for themebuilder modal (#2558)
Thunear Oct 8, 2024
a1a3afd
chore: fix typography attrs and layering (#2588)
Barsnes Oct 9, 2024
2238293
test(storybook): support running visual tests in Chromatic (#2570)
unekinn Oct 10, 2024
3ff6c5e
ci: move Chromatic to separate workflow and also run it after PR is m…
unekinn Oct 10, 2024
51a74b7
ci: add `--stats-json` to storybook build
Barsnes Oct 10, 2024
78cb359
chore: update biome, remove prettier and stylelint (#2594)
Barsnes Oct 10, 2024
f9d651e
fix(chip): font size (#2595)
Barsnes Oct 10, 2024
6853353
ci: only run Chromatic on PRs ready for review (#2602)
unekinn Oct 10, 2024
9f28f87
ci: fix flaky Chromatic test by ignoring video iframe (#2603)
unekinn Oct 10, 2024
5765d89
ci: add css which components depend on to Chromatic externals (#2601)
unekinn Oct 10, 2024
9099c6c
feat: input (#2550)
eirikbacker Oct 11, 2024
0efd598
feat(ValidationMessage): icon when error (#2596)
Barsnes Oct 11, 2024
20cc30d
fix(Skeleton): text firefox (#2600)
eirikbacker Oct 11, 2024
181ea10
feat: input with select and textbox (#2571)
eirikbacker Oct 11, 2024
b1fe777
fix(Theme): select styling (#2606)
eirikbacker Oct 11, 2024
208cd81
chore(storefront): fix issues (#2545)
Barsnes Oct 15, 2024
6c35bb3
chore(button): add `flex-shrink` to SVG and images (#2612)
Barsnes Oct 15, 2024
69291ad
docs: how to use Designsystemet with your own theme (#2608)
mrosvik Oct 15, 2024
db678d4
chore: :fire: Remove `init` CLI command (#2616)
mimarz Oct 15, 2024
220c105
style(button): use weight 500 (#2618)
Barsnes Oct 15, 2024
f6eb237
fix: modal backdrop was invisible in some browser versions (#2615)
unekinn Oct 16, 2024
05d164c
chore: preload font css file (#2619)
Barsnes Oct 16, 2024
8a6ff15
docs: update controlled stories (#2614)
Barsnes Oct 16, 2024
31c036d
fix(Input): readonly color contrast (#2621)
eirikbacker Oct 16, 2024
41d5d23
chore: fix max-width on content (#2620)
Barsnes Oct 16, 2024
16b2988
fix(Modal): call `onClose` on close (#2622)
Barsnes Oct 16, 2024
4bbdc93
docs: update Radio guidelines for vertical placement (#2623)
mrosvik Oct 16, 2024
add215d
chore: update reeadme with chromatic (#2629)
Barsnes Oct 17, 2024
2a51c04
chore: add css variable component to storybook (#2626)
Barsnes Oct 17, 2024
cee5ae5
chore: add Avatar to components overview (#2635)
Barsnes Oct 18, 2024
9bbbe98
chore: simplify color warnings and other fixes for themebuilder (#2333)
Thunear Oct 18, 2024
50efed2
feat(Field): start implementing field api (#2502)
eirikbacker Oct 18, 2024
630f0af
fix(ValidationMessage): add `position: relative` (#2646)
Barsnes Oct 21, 2024
ce5b845
fix(alert): add `position: relative` (#2648)
Barsnes Oct 21, 2024
5f51c95
feat: new border-radius tokens (#2497)
Febakke Oct 22, 2024
f1edfac
fix(Popover): place arrow correctly (#2652)
Barsnes Oct 22, 2024
71efc07
feat(popover): adhere to arrow size in gap (#2661)
Barsnes Oct 23, 2024
78dd991
style(alert): use border default on info color (#2654)
Barsnes Oct 23, 2024
7d1400b
feat(popover): add `autoPlacement` prop (#2659)
Barsnes Oct 23, 2024
829ec13
chore: update global colors (#2662)
Thunear Oct 23, 2024
35ecfaf
feat(Tooltip): render arrow with pseudo element (#2656)
Barsnes Oct 23, 2024
e0c8bc4
docs: fix mistake in guide for theme (#2639)
mrosvik Oct 23, 2024
ac6463f
refactor(cli): declarative build configuration (#2633)
unekinn Oct 23, 2024
7494557
chore: do arrow placing in code, not css (#2667)
Barsnes Oct 24, 2024
5336659
refactor: rename `error_message` (#2670)
Febakke Oct 24, 2024
df0da9a
feat: relative sizing (#2541)
eirikbacker Oct 24, 2024
a452813
feat(cli,theme): don't output underlying primitives for semantic colo…
unekinn Oct 24, 2024
f96289a
chore: enable `noUnusedImports` biome rule (#2675)
Barsnes Oct 24, 2024
7520547
fix(Radio+Checkbox): use input component (#2607)
eirikbacker Oct 24, 2024
326671a
feat(tokens): add modes for semantic color categories main & support …
unekinn Oct 25, 2024
d3c58b0
fix(Spinner): use forwardRef and aria-label for consistency (#2682)
eirikbacker Oct 25, 2024
acef771
fix(Input): inherit line-height (#2685)
eirikbacker Oct 25, 2024
d2fc6b9
feat: rename `size` prop to `data-size` (#2680)
Barsnes Oct 25, 2024
f4f76d3
fix(Heading+Label+ValidationMessage): clean up css styles (#2677)
eirikbacker Oct 25, 2024
6c1f99d
chore: remove tmp field styling in testing story (#2687)
eirikbacker Oct 25, 2024
d5e0ba1
refactor(tokens): changed spacing and sizing type to dimension (#2688)
Febakke Oct 25, 2024
ce23f32
fix(Chip): use input component (#2683)
eirikbacker Oct 28, 2024
d51732c
chore: update CLI tokens create template (#2691)
mimarz Oct 28, 2024
519fe18
fix(Dropdown): extend Heading component and introduce Dropdown.Button…
eirikbacker Oct 28, 2024
ec5216c
docs: guidelines for spacing in typography (#2679)
mrosvik Oct 30, 2024
157bb86
fix(Input+Select): remove htmlSize (#2697)
eirikbacker Oct 30, 2024
42fc24c
fix: adjustments after relative scaling (#2695)
eirikbacker Oct 30, 2024
35049eb
docs: :memo: Add Designsystemet data attr controls to Showcase in Sto…
mimarz Oct 30, 2024
bbcd95e
chore(tokens): remove validationmessage and label typography tokens (…
Febakke Oct 30, 2024
e9b6ec1
fix(Fieldset): move to compound components (#2705)
eirikbacker Oct 30, 2024
d0c0259
fix(Input): checkbox rendering (#2711)
eirikbacker Oct 31, 2024
b5d615c
feat(cli,theme): add color category variables using data-color attrib…
unekinn Oct 31, 2024
2a896b1
refactor: move `Input.Affix` to `Field` (#2714)
mimarz Oct 31, 2024
7058b69
fix(Select): use field (#2709)
eirikbacker Oct 31, 2024
c43a438
fix: icon abandoning parent (#2699)
Barsnes Oct 31, 2024
f71573f
fix(css): breadcrumbs media query (#2719)
elaffen Nov 1, 2024
af03291
refactor(Field): :recycle: merge `CharacterCounter` into `Field` (#2717)
mimarz Nov 1, 2024
9bb2fa6
fix(Popover): controlled with svg bug (#2707)
eirikbacker Nov 1, 2024
b3fa7a1
fix(Input): focus alignment (#2718)
eirikbacker Nov 1, 2024
b16971c
fix(cli): creation of entry css files was skipped when run without --…
unekinn Nov 4, 2024
47f7e1c
chore: refactor figma plugin (#2275)
Thunear Nov 4, 2024
7e4ef2d
chore(field): use `data-size` properly (#2735)
Barsnes Nov 5, 2024
487d10a
fix(cli): type declarations in build output were incorrectly placed (…
unekinn Nov 5, 2024
bbf2994
feat(Search): api changes (#2708)
Barsnes Nov 5, 2024
de81922
chore(figma-plugin): use `data-size` (#2734)
Barsnes Nov 5, 2024
16d82d7
fix(Input): use border-strong for invalid (#2737)
eirikbacker Nov 5, 2024
a0c6744
fix(Modal): expose event in onClose (#2738)
eirikbacker Nov 6, 2024
ac56cc7
chore(Field.Affix): fix styling with single (#2741)
Barsnes Nov 6, 2024
631e3c8
fix: 💚 Update theme preview with new `Search` component api (#2746)
mimarz Nov 7, 2024
c3a0765
fix(cli): limit the exports from ./tokens and export a barrel file at…
unekinn Nov 7, 2024
6b56db2
feat(Table): new `Table.Foot` and style caption (#2744)
Barsnes Nov 7, 2024
5601aad
refactor: ♻️ `Textfield` to use `Field` (#2710)
mimarz Nov 8, 2024
d75ffad
fix: move default background to body element (#2754)
eirikbacker Nov 8, 2024
f304115
feat(cli): support custom colors (#2733)
unekinn Nov 8, 2024
780256b
chore(table): add z-index to header when sticky (#2761)
Barsnes Nov 11, 2024
fe86376
chore: update readmes (#2764)
mimarz Nov 11, 2024
b214bac
feat: remove `ds-reset` (#2755)
Barsnes Nov 11, 2024
6c59fc5
chore: fix storybook cache vite error (#2768)
mimarz Nov 11, 2024
918af79
fix: improve blog design on smaller screens (#2774)
AnInternetTroll Nov 13, 2024
7eebe0a
feat(useRadioGroup + useCheckboxGroup): add hooks (#2739)
Barsnes Nov 13, 2024
1f1271d
feat(storefront): dark mode support (#2743)
Barsnes Nov 13, 2024
70fea86
chore: fix typo in viteconfig exclude
mimarz Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/angry-planes-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Pagination:
- 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`
6 changes: 6 additions & 0 deletions .changeset/beige-grapes-report.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 data attrs instead of class names
8 changes: 8 additions & 0 deletions .changeset/blue-rocks-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@digdir/designsystemet-react': patch
'@digdir/designsystemet-theme': patch
'@digdir/designsystemet': patch
'@digdir/designsystemet-css': patch
---

Testing snapshot release
5 changes: 5 additions & 0 deletions .changeset/blue-singers-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Chip: Support wrapping in group
5 changes: 5 additions & 0 deletions .changeset/blue-stingrays-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Accordion: Fix chevron abandoning parent in scroll container
5 changes: 5 additions & 0 deletions .changeset/brave-months-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@digdir/designsystemet-react': patch
---

Correctly mark dependencies as external. This ensures Accordion works when consumers have enabled tree-shaking.
5 changes: 5 additions & 0 deletions .changeset/brave-months-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Modal: add missing ModalRoot export
8 changes: 8 additions & 0 deletions .changeset/bright-knives-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@digdir/designsystemet-react": patch
---

RovingFocus: add `orientation` to support for different arrow directions, and add support home/end buttons
- Affects `ToggleGroup`, where up and down arrows can now be used
- Affects `ToggleGroup`, where home and end can now be used
- Affects `Tabs`, where home and end can now be used
5 changes: 5 additions & 0 deletions .changeset/brown-walls-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-theme": patch
---

tokens: Removed validationmessage and label typography styles
5 changes: 5 additions & 0 deletions .changeset/chatty-cheetahs-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": minor
---

SkipLink: New style
5 changes: 5 additions & 0 deletions .changeset/chilled-icons-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Accordion: Fix `defaultOpen` flicker on first render
6 changes: 6 additions & 0 deletions .changeset/chilled-pumas-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Badge: Style using css attributes
5 changes: 5 additions & 0 deletions .changeset/clean-insects-move.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

SkipLink: Add css variables
5 changes: 5 additions & 0 deletions .changeset/clean-lizards-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

ValidationMessage: Add icon when `error={true}`
5 changes: 5 additions & 0 deletions .changeset/clever-cobras-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Textarea: Use `field-sizing: content`
27 changes: 27 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
"changelog": [
"@svitejs/changesets-changelog-github-compact",
{ "repo": "digdir/designsystemet" }
],
"commit": false,
"fixed": [
[
"@digdir/designsystemet",
"@digdir/designsystemet-css",
"@digdir/designsystemet-theme",
"@digdir/designsystemet-react"
]
],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"theme",
"storefront",
"@repo/components",
"@designsystemet/storybook",
"figma-plugin"
]
}
6 changes: 6 additions & 0 deletions .changeset/cool-lamps-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@digdir/designsystemet': patch
'@digdir/designsystemet-react': patch
---

chore: Fix rollup build warnings for react package
5 changes: 5 additions & 0 deletions .changeset/curvy-oranges-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Button: Remove `type` when `asChild={true}`
8 changes: 8 additions & 0 deletions .changeset/cyan-adults-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Skiplink:
- Simplify DOM
- Add support for `forwardRef`
5 changes: 5 additions & 0 deletions .changeset/eight-dancers-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

ValidationMessage: fix icon abandoning the component when scrolling
5 changes: 5 additions & 0 deletions .changeset/eighty-cougars-think.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Tabs: Make arrow keys work in any direction
6 changes: 6 additions & 0 deletions .changeset/eleven-bags-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

TableHeaderCell: Remove `sortable` prop, `sort` now handles this
5 changes: 5 additions & 0 deletions .changeset/eleven-experts-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Textfield: Removed `htmlSize`, you can now use native `size`
6 changes: 6 additions & 0 deletions .changeset/eleven-peaches-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

dropdownmenu: Style using data attributes
5 changes: 5 additions & 0 deletions .changeset/empty-pears-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Accordion: Add css variable for chevron
5 changes: 5 additions & 0 deletions .changeset/empty-singers-yell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Chip: Text color is now `accent`
6 changes: 6 additions & 0 deletions .changeset/fair-beds-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

CSS: base sizing on font-size so all components can have all sizes, and naturally inherits size from context
5 changes: 5 additions & 0 deletions .changeset/famous-pillows-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@digdir/designsystemet': minor
---

Fix design-token warning contrast color reference
6 changes: 6 additions & 0 deletions .changeset/few-brooms-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-react": patch
"@digdir/designsystemet-css": patch
---

Table: New hover prop and class for toggling hover on rows
7 changes: 7 additions & 0 deletions .changeset/few-plums-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Accordion: Animate open/close with CSS
- Replace onFound with onToggle
6 changes: 6 additions & 0 deletions .changeset/few-squids-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": major
"@digdir/designsystemet-react": major
---

Search: New compound API
6 changes: 6 additions & 0 deletions .changeset/fifty-buses-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
---

Table: Width is now by default `100%`

5 changes: 5 additions & 0 deletions .changeset/fifty-hornets-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

CSS: Move default background-color to `<body>` element
6 changes: 6 additions & 0 deletions .changeset/five-apricots-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@digdir/designsystemet-theme': patch
'@digdir/designsystemet': patch
---

refactor: single CSS file for theme
5 changes: 5 additions & 0 deletions .changeset/five-pens-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Popover+Dropdown: Fix issue when combining controlled state with changing child elements
6 changes: 6 additions & 0 deletions .changeset/five-turkeys-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": major
---

Dropdown: Add `Dropdown.Button` for more explicit API
6 changes: 6 additions & 0 deletions .changeset/flat-experts-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

ErrorSummary: Rename ErrorSummary.Root to ErrorSummary
6 changes: 6 additions & 0 deletions .changeset/four-pears-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Fixes so spacing is the same in checkbox and radio groups
5 changes: 5 additions & 0 deletions .changeset/four-schools-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Breadcrumbs: Add css variable for chevron
6 changes: 6 additions & 0 deletions .changeset/friendly-cups-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Input: Sufficient color contrast for readonly
5 changes: 5 additions & 0 deletions .changeset/friendly-islands-punch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

fix(Combobox): :bug: Button for toggling open/close should now close when open
8 changes: 8 additions & 0 deletions .changeset/gold-chairs-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Tabs:
- Renames `Tabs.Root` to `Tabs`
- Renames `Tabs.Content` to `Tabs.Panel`
5 changes: 5 additions & 0 deletions .changeset/gorgeous-readers-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@digdir/designsystemet': minor
---

Update init script to new design-tokens format
8 changes: 8 additions & 0 deletions .changeset/gorgeous-shrimps-crash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Heading:
- Classes with data attributes
- Move base style to utility classes
6 changes: 6 additions & 0 deletions .changeset/happy-hounds-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

List: Remove `List.Root` and `List.Heading`, which changes API
5 changes: 5 additions & 0 deletions .changeset/happy-worms-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Rename classes from `ds-error-message*` to `ds-validation-message*`
6 changes: 6 additions & 0 deletions .changeset/healthy-apples-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Alert, Avatar, Button, Divider, Link: Use data-attributes for variant, size and color and move icons to CSS
6 changes: 6 additions & 0 deletions .changeset/heavy-rabbits-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Modal: css changes
5 changes: 5 additions & 0 deletions .changeset/hip-brooms-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Alert: fix icon abandoning the component when scrolling
5 changes: 5 additions & 0 deletions .changeset/hip-masks-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-css": patch
---

Button: `text-align: inherit` when not in full width
14 changes: 14 additions & 0 deletions .changeset/hip-schools-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Modal:
- 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`
6 changes: 6 additions & 0 deletions .changeset/honest-roses-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@digdir/designsystemet-css": patch
"@digdir/designsystemet-react": patch
---

Box: Remove component
5 changes: 5 additions & 0 deletions .changeset/hot-crews-perform.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@digdir/designsystemet-react": patch
---

Popover: Make sure arrow does not leave the popover
Loading