@norges-domstoler/dds-components 17.5.4 → 17.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +13 -8
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +24 -6
- package/dist/index.d.ts +24 -6
- package/dist/index.js +961 -905
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +532 -476
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.css
CHANGED
|
@@ -891,6 +891,9 @@
|
|
|
891
891
|
.Accordion_header-container {
|
|
892
892
|
padding: var(--dds-spacing-x1) var(--dds-spacing-x1-5) var(--dds-spacing-x1) var(--dds-spacing-x1);
|
|
893
893
|
}
|
|
894
|
+
.Accordion_header-container__chevron {
|
|
895
|
+
margin-right: var(--dds-spacing-x0-5);
|
|
896
|
+
}
|
|
894
897
|
.Accordion_body {
|
|
895
898
|
height: var(--dds-card-accordion-body-height);
|
|
896
899
|
}
|
|
@@ -911,7 +914,6 @@
|
|
|
911
914
|
}
|
|
912
915
|
.AccordionBase_header-container {
|
|
913
916
|
display: flex;
|
|
914
|
-
justify-content: space-between;
|
|
915
917
|
align-items: center;
|
|
916
918
|
}
|
|
917
919
|
.AccordionBase_header__content {
|
|
@@ -923,7 +925,6 @@
|
|
|
923
925
|
justify-content: center;
|
|
924
926
|
height: var(--dds-icon-size-medium);
|
|
925
927
|
width: var(--dds-icon-size-medium);
|
|
926
|
-
margin-left: var(--dds-spacing-x0-5);
|
|
927
928
|
}
|
|
928
929
|
.AccordionBase_body {
|
|
929
930
|
overflow: hidden;
|
|
@@ -1015,7 +1016,7 @@
|
|
|
1015
1016
|
}
|
|
1016
1017
|
|
|
1017
1018
|
/* src/components/Button/Button.module.css */
|
|
1018
|
-
.Button_button {
|
|
1019
|
+
:where(.Button_button) {
|
|
1019
1020
|
-webkit-user-select: text;
|
|
1020
1021
|
-moz-user-select: text;
|
|
1021
1022
|
user-select: text;
|
|
@@ -1034,7 +1035,7 @@
|
|
|
1034
1035
|
@media (prefers-reduced-motion: no-preference) {
|
|
1035
1036
|
transition: all 0.2s;
|
|
1036
1037
|
}
|
|
1037
|
-
&:active:not(
|
|
1038
|
+
&:active:not([aria-disabled=true]) {
|
|
1038
1039
|
scale: 0.95;
|
|
1039
1040
|
}
|
|
1040
1041
|
}
|
|
@@ -1345,7 +1346,7 @@
|
|
|
1345
1346
|
}
|
|
1346
1347
|
.Card_container--border {
|
|
1347
1348
|
background-color: var(--dds-color-surface-default);
|
|
1348
|
-
border-color: var(--dds-color-border-
|
|
1349
|
+
border-color: var(--dds-color-border-subtle);
|
|
1349
1350
|
}
|
|
1350
1351
|
.Card_container--navigation {
|
|
1351
1352
|
text-decoration: none;
|
|
@@ -1377,10 +1378,14 @@
|
|
|
1377
1378
|
}
|
|
1378
1379
|
.CardAccordion_header-container {
|
|
1379
1380
|
padding: var(--dds-card-accordion-header-container-padding);
|
|
1381
|
+
justify-content: space-between;
|
|
1380
1382
|
@media (prefers-reduced-motion: no-preference) {
|
|
1381
1383
|
transition: box-shadow 0.2s;
|
|
1382
1384
|
}
|
|
1383
1385
|
}
|
|
1386
|
+
.CardAccordion_header-container__chevron {
|
|
1387
|
+
margin-left: var(--dds-spacing-x0-5);
|
|
1388
|
+
}
|
|
1384
1389
|
.CardAccordion_body {
|
|
1385
1390
|
height: var(--dds-card-accordion-body-height);
|
|
1386
1391
|
}
|
|
@@ -1833,11 +1838,11 @@
|
|
|
1833
1838
|
display: flex;
|
|
1834
1839
|
gap: var(--dds-spacing-x1);
|
|
1835
1840
|
}
|
|
1836
|
-
.Feedback_rating-container--
|
|
1841
|
+
.Feedback_rating-container--horizontal {
|
|
1837
1842
|
flex-direction: row;
|
|
1838
1843
|
align-items: center;
|
|
1839
1844
|
}
|
|
1840
|
-
.Feedback_rating-container--
|
|
1845
|
+
.Feedback_rating-container--vertical {
|
|
1841
1846
|
flex-direction: column;
|
|
1842
1847
|
align-items: start;
|
|
1843
1848
|
}
|
|
@@ -3415,7 +3420,7 @@
|
|
|
3415
3420
|
.SplitButton_main {
|
|
3416
3421
|
border-top-right-radius: 0;
|
|
3417
3422
|
border-bottom-right-radius: 0;
|
|
3418
|
-
|
|
3423
|
+
margin-inline-end: -1px;
|
|
3419
3424
|
}
|
|
3420
3425
|
.SplitButton_main:focus {
|
|
3421
3426
|
position: relative;
|