@norges-domstoler/dds-components 17.0.0 → 17.1.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 +40 -18
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +17 -6
- package/dist/index.d.ts +17 -6
- package/dist/index.js +287 -217
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +211 -142
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -16
package/dist/index.css
CHANGED
|
@@ -717,6 +717,13 @@
|
|
|
717
717
|
:where(.Input_char-counter) {
|
|
718
718
|
margin-left: auto;
|
|
719
719
|
}
|
|
720
|
+
:where(.Input_icon) {
|
|
721
|
+
position: absolute;
|
|
722
|
+
top: 50%;
|
|
723
|
+
transform: translate(0, -50%);
|
|
724
|
+
z-index: 1;
|
|
725
|
+
color: var(--dds-color-icon-default);
|
|
726
|
+
}
|
|
720
727
|
|
|
721
728
|
/* src/components/Typography/Typography/TextOverflowEllipsis/TextOverflowEllipsis.module.css */
|
|
722
729
|
.TextOverflowEllipsis_wrapper {
|
|
@@ -2654,9 +2661,14 @@
|
|
|
2654
2661
|
box-sizing: border-box;
|
|
2655
2662
|
max-width: 100%;
|
|
2656
2663
|
}
|
|
2657
|
-
.Select_icon {
|
|
2658
|
-
|
|
2659
|
-
|
|
2664
|
+
.Select_icon--medium {
|
|
2665
|
+
left: var(--dds-spacing-x0-75);
|
|
2666
|
+
}
|
|
2667
|
+
.Select_icon--small {
|
|
2668
|
+
left: var(--dds-spacing-x0-75);
|
|
2669
|
+
}
|
|
2670
|
+
.Select_icon--tiny {
|
|
2671
|
+
left: var(--dds-spacing-x0-5);
|
|
2660
2672
|
}
|
|
2661
2673
|
.Select_control {
|
|
2662
2674
|
&:hover:not(.Select_control--readonly) .Select_dropdown-indicator,
|
|
@@ -2932,12 +2944,7 @@
|
|
|
2932
2944
|
padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-5));
|
|
2933
2945
|
}
|
|
2934
2946
|
.Search_search-icon {
|
|
2935
|
-
position: absolute;
|
|
2936
2947
|
left: var(--dds-spacing-x0-75);
|
|
2937
|
-
top: 50%;
|
|
2938
|
-
transform: translate(0, -50%);
|
|
2939
|
-
z-index: 1;
|
|
2940
|
-
color: var(--dds-color-icon-default);
|
|
2941
2948
|
}
|
|
2942
2949
|
.Search_clear-button {
|
|
2943
2950
|
position: absolute;
|
|
@@ -3112,6 +3119,20 @@
|
|
|
3112
3119
|
border-radius: var(--dds-border-radius-rounded);
|
|
3113
3120
|
}
|
|
3114
3121
|
|
|
3122
|
+
/* src/components/Skeleton/Skeleton.module.css */
|
|
3123
|
+
@keyframes Skeleton_ddsSkeletonAnimation {
|
|
3124
|
+
0% {
|
|
3125
|
+
opacity: 1;
|
|
3126
|
+
}
|
|
3127
|
+
to {
|
|
3128
|
+
opacity: 0.5;
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
.Skeleton_container {
|
|
3132
|
+
animation: Skeleton_ddsSkeletonAnimation 0.75s ease-out infinite alternate;
|
|
3133
|
+
background-color: var(--dds-color-surface-skeleton);
|
|
3134
|
+
}
|
|
3135
|
+
|
|
3115
3136
|
/* src/components/SkipToContent/SkipToContent.module.css */
|
|
3116
3137
|
.SkipToContent_wrapper {
|
|
3117
3138
|
background-color: var(--dds-color-surface-inverse-default);
|
|
@@ -3218,6 +3239,14 @@
|
|
|
3218
3239
|
font: var(--dds-font-body-sans-01);
|
|
3219
3240
|
font-weight: var(--dds-font-weight-bold);
|
|
3220
3241
|
}
|
|
3242
|
+
.Table_row--body {
|
|
3243
|
+
&:nth-of-type(odd) {
|
|
3244
|
+
background-color: var(--dds-color-surface-subtle);
|
|
3245
|
+
}
|
|
3246
|
+
&:nth-of-type(even) {
|
|
3247
|
+
background-color: var(--dds-color-surface-default);
|
|
3248
|
+
}
|
|
3249
|
+
}
|
|
3221
3250
|
}
|
|
3222
3251
|
.Table_row {
|
|
3223
3252
|
@media (prefers-reduced-motion: no-preference) {
|
|
@@ -3246,9 +3275,9 @@
|
|
|
3246
3275
|
&.Table_row--selected:nth-of-type(odd) {
|
|
3247
3276
|
background-color: var(--dds-color-surface-selected-default);
|
|
3248
3277
|
}
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3278
|
+
&.Table_row--hoverable:hover {
|
|
3279
|
+
background-color: var(--dds-color-surface-hover-default);
|
|
3280
|
+
}
|
|
3252
3281
|
}
|
|
3253
3282
|
.Table_cell--head {
|
|
3254
3283
|
background-color: var(--dds-color-brand-primary-subtle);
|
|
@@ -3480,21 +3509,14 @@
|
|
|
3480
3509
|
.TextInput_input--extended {
|
|
3481
3510
|
width: 100%;
|
|
3482
3511
|
}
|
|
3483
|
-
.TextInput_icon {
|
|
3484
|
-
position: absolute;
|
|
3485
|
-
z-index: 1;
|
|
3486
|
-
}
|
|
3487
3512
|
.TextInput_icon--medium {
|
|
3488
3513
|
left: var(--dds-spacing-x0-75);
|
|
3489
|
-
top: calc(50% - (var(--dds-icon-size-medium) / 2));
|
|
3490
3514
|
}
|
|
3491
3515
|
.TextInput_icon--small {
|
|
3492
3516
|
left: var(--dds-spacing-x0-75);
|
|
3493
|
-
top: calc(50% - (var(--dds-icon-size-medium) / 2));
|
|
3494
3517
|
}
|
|
3495
3518
|
.TextInput_icon--tiny {
|
|
3496
3519
|
left: var(--dds-spacing-x0-5);
|
|
3497
|
-
top: calc(50% - (var(--dds-icon-size-small) / 2));
|
|
3498
3520
|
}
|
|
3499
3521
|
.TextInput_label {
|
|
3500
3522
|
display: block;
|