@norges-domstoler/dds-components 0.0.0-dev-20250128123702 → 0.0.0-dev-20250129110020
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/README.md +2 -2
- package/dist/index.css +21 -16
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @norges-domstoler/dds-components
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+
[](https://www.npmjs.com/package/@norges-domstoler/dds-components) 
|
|
4
4
|
|
|
5
5
|
React UI komponenter til bruk i domstolenes tjenester.
|
|
6
6
|
|
|
7
|
-
Sjekk ut [Elsa - domstolenes designsystem](https://design.domstol.no/) og [Elsa Storybook](https://domstolene.github.io/designsystem) for
|
|
7
|
+
Sjekk ut [Elsa - domstolenes designsystem](https://design.domstol.no/) og [Elsa Storybook](https://domstolene.github.io/designsystem) for dokumentasjon og demoer.
|
|
8
8
|
|
|
9
9
|
## 📦 Installasjon
|
|
10
10
|
|
package/dist/index.css
CHANGED
|
@@ -434,12 +434,17 @@
|
|
|
434
434
|
right: 0;
|
|
435
435
|
bottom: 0;
|
|
436
436
|
left: 0;
|
|
437
|
-
z-index: 200;
|
|
438
437
|
background-color: var(--dds-color-surface-backdrop-default);
|
|
439
438
|
@media (prefers-reduced-motion: no-preference) {
|
|
440
439
|
transition: opacity 0.2s;
|
|
441
440
|
}
|
|
442
441
|
}
|
|
442
|
+
.Backdrop_drawer {
|
|
443
|
+
z-index: var(--dds-zindex-drawer-backdrop);
|
|
444
|
+
}
|
|
445
|
+
.Backdrop_modal {
|
|
446
|
+
z-index: var(--dds-zindex-modal-backdrop);
|
|
447
|
+
}
|
|
443
448
|
.Backdrop_backdrop--visible {
|
|
444
449
|
opacity: 1;
|
|
445
450
|
}
|
|
@@ -611,7 +616,7 @@
|
|
|
611
616
|
position: absolute;
|
|
612
617
|
top: 50%;
|
|
613
618
|
transform: translate(0, -50%);
|
|
614
|
-
z-index:
|
|
619
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
615
620
|
color: var(--dds-color-icon-default);
|
|
616
621
|
}
|
|
617
622
|
|
|
@@ -1049,7 +1054,7 @@
|
|
|
1049
1054
|
/* src/components/OverflowMenu/OverflowMenu.module.css */
|
|
1050
1055
|
.OverflowMenu_container {
|
|
1051
1056
|
box-sizing: border-box;
|
|
1052
|
-
z-index:
|
|
1057
|
+
z-index: var(--dds-zindex-overflowmenu);
|
|
1053
1058
|
overflow-y: auto;
|
|
1054
1059
|
min-width: 180px;
|
|
1055
1060
|
max-width: 300px;
|
|
@@ -1120,7 +1125,7 @@
|
|
|
1120
1125
|
/* src/components/ButtonGroup/ButtonGroup.module.css */
|
|
1121
1126
|
.ButtonGroup_group > *:focus-visible {
|
|
1122
1127
|
position: relative;
|
|
1123
|
-
z-index:
|
|
1128
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
1124
1129
|
}
|
|
1125
1130
|
.ButtonGroup_group--column {
|
|
1126
1131
|
display: flex;
|
|
@@ -1330,7 +1335,7 @@
|
|
|
1330
1335
|
color: var(--dds-color-text-medium);
|
|
1331
1336
|
}
|
|
1332
1337
|
.DateInput_popover {
|
|
1333
|
-
z-index:
|
|
1338
|
+
z-index: var(--dds-zindex-popover);
|
|
1334
1339
|
border-radius: var(--dds-border-radius-surface);
|
|
1335
1340
|
background-color: var(--dds-color-surface-default);
|
|
1336
1341
|
border: 1px solid var(--dds-color-border-default);
|
|
@@ -1544,7 +1549,7 @@
|
|
|
1544
1549
|
flex-direction: column-reverse;
|
|
1545
1550
|
justify-content: flex-end;
|
|
1546
1551
|
min-width: 300px;
|
|
1547
|
-
z-index:
|
|
1552
|
+
z-index: var(--dds-zindex-drawer);
|
|
1548
1553
|
border-radius: 0;
|
|
1549
1554
|
padding: var(--dds-drawer-container-padding);
|
|
1550
1555
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -1849,7 +1854,7 @@
|
|
|
1849
1854
|
width: -moz-fit-content;
|
|
1850
1855
|
width: fit-content;
|
|
1851
1856
|
position: absolute;
|
|
1852
|
-
z-index:
|
|
1857
|
+
z-index: var(--dds-zindex-tooltip);
|
|
1853
1858
|
text-align: center;
|
|
1854
1859
|
padding: var(--dds-spacing-x0-75);
|
|
1855
1860
|
}
|
|
@@ -2140,7 +2145,7 @@
|
|
|
2140
2145
|
position: absolute;
|
|
2141
2146
|
top: var(--dds-spacing-x0-5);
|
|
2142
2147
|
left: var(--dds-spacing-x0-5);
|
|
2143
|
-
z-index:
|
|
2148
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
2144
2149
|
&:hover {
|
|
2145
2150
|
cursor: text;
|
|
2146
2151
|
}
|
|
@@ -2816,9 +2821,9 @@
|
|
|
2816
2821
|
}
|
|
2817
2822
|
.PhoneInput_select:focus-visible,
|
|
2818
2823
|
.PhoneInput_select:hover {
|
|
2819
|
-
z-index:
|
|
2824
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
2820
2825
|
& ~ svg {
|
|
2821
|
-
z-index:
|
|
2826
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
2822
2827
|
}
|
|
2823
2828
|
}
|
|
2824
2829
|
.PhoneInput_calling-code {
|
|
@@ -2830,7 +2835,7 @@
|
|
|
2830
2835
|
position: absolute;
|
|
2831
2836
|
width: -moz-fit-content;
|
|
2832
2837
|
width: fit-content;
|
|
2833
|
-
z-index:
|
|
2838
|
+
z-index: var(--dds-zindex-popover);
|
|
2834
2839
|
padding: var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x1-5) var(--dds-spacing-x1);
|
|
2835
2840
|
}
|
|
2836
2841
|
.Popover_content--closable--no-title {
|
|
@@ -2921,7 +2926,7 @@
|
|
|
2921
2926
|
display: flex;
|
|
2922
2927
|
align-items: center;
|
|
2923
2928
|
justify-content: center;
|
|
2924
|
-
z-index:
|
|
2929
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
2925
2930
|
font-weight: 600;
|
|
2926
2931
|
border: 2px solid;
|
|
2927
2932
|
height: var(--dds-progress-tracker-item-number-size);
|
|
@@ -3070,7 +3075,7 @@
|
|
|
3070
3075
|
top: 100%;
|
|
3071
3076
|
width: 100%;
|
|
3072
3077
|
max-height: 300px;
|
|
3073
|
-
z-index:
|
|
3078
|
+
z-index: var(--dds-zindex-dropdown);
|
|
3074
3079
|
overflow-y: scroll;
|
|
3075
3080
|
margin-top: var(--dds-spacing-x0-25);
|
|
3076
3081
|
}
|
|
@@ -3265,7 +3270,7 @@
|
|
|
3265
3270
|
height: auto;
|
|
3266
3271
|
overflow: auto;
|
|
3267
3272
|
width: 100%;
|
|
3268
|
-
z-index:
|
|
3273
|
+
z-index: var(--dds-zindex-skiptocontent);
|
|
3269
3274
|
opacity: 1;
|
|
3270
3275
|
}
|
|
3271
3276
|
|
|
@@ -3319,7 +3324,7 @@
|
|
|
3319
3324
|
tr th {
|
|
3320
3325
|
position: sticky;
|
|
3321
3326
|
top: 0;
|
|
3322
|
-
z-index:
|
|
3327
|
+
z-index: var(--dds-zindex-sticky);
|
|
3323
3328
|
}
|
|
3324
3329
|
}
|
|
3325
3330
|
.Table_table--small {
|
|
@@ -3640,7 +3645,7 @@
|
|
|
3640
3645
|
display: flex;
|
|
3641
3646
|
align-items: center;
|
|
3642
3647
|
pointer-events: none;
|
|
3643
|
-
z-index:
|
|
3648
|
+
z-index: var(--dds-zindex-absolute-element);
|
|
3644
3649
|
}
|
|
3645
3650
|
.TextInput_prefix {
|
|
3646
3651
|
left: 0;
|