@norges-domstoler/dds-components 0.0.0-dev-20241128132546 → 0.0.0-dev-20241203113149
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 +12 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +51 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +51 -22
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
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;
|
|
@@ -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
|
}
|
|
@@ -2594,10 +2599,14 @@
|
|
|
2594
2599
|
--dds-modal-content-padding: var(--dds-spacing-x0-25);
|
|
2595
2600
|
--dds-modal-container-padding: calc( var(--dds-spacing-x1) - var(--dds-modal-content-padding) ) calc(var(--dds-spacing-x1) - var(--dds-modal-content-padding)) calc(var(--dds-spacing-x1-5) - var(--dds-modal-content-padding)) calc(var(--dds-spacing-x1-5) - var(--dds-modal-content-padding));
|
|
2596
2601
|
display: flex;
|
|
2597
|
-
flex-direction: column
|
|
2602
|
+
flex-direction: column;
|
|
2598
2603
|
min-width: 200px;
|
|
2599
2604
|
padding: var(--dds-modal-container-padding);
|
|
2600
2605
|
}
|
|
2606
|
+
.Modal_container-scrollable {
|
|
2607
|
+
max-height: calc(100vh - var(--dds-spacing-x1));
|
|
2608
|
+
overflow: auto;
|
|
2609
|
+
}
|
|
2601
2610
|
.Modal_content {
|
|
2602
2611
|
display: grid;
|
|
2603
2612
|
padding-right: calc(var(--dds-spacing-x1) - var(--dds-modal-content-padding));
|