@norges-domstoler/dds-components 0.0.0-dev-20260622093525 → 0.0.0-dev-20260625095900
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 -52
- package/dist/index.css.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -63,10 +63,6 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
/* src/styles/selection.css */
|
|
66
|
-
*::-moz-selection {
|
|
67
|
-
background-color: var(--dds-color-surface-highlighted-default);
|
|
68
|
-
color: var(--dds-color-text-default);
|
|
69
|
-
}
|
|
70
66
|
*::selection {
|
|
71
67
|
background-color: var(--dds-color-surface-highlighted-default);
|
|
72
68
|
color: var(--dds-color-text-default);
|
|
@@ -121,7 +117,6 @@
|
|
|
121
117
|
:where(.typographyStyles_a--nested__parent .typographyStyles_a--nested__child) {
|
|
122
118
|
font: inherit;
|
|
123
119
|
color: var(--dds-color-text-link);
|
|
124
|
-
width: -moz-fit-content;
|
|
125
120
|
width: fit-content;
|
|
126
121
|
text-decoration: underline;
|
|
127
122
|
text-decoration-thickness: max(1px, 0.0625rem);
|
|
@@ -586,7 +581,6 @@
|
|
|
586
581
|
/* src/components/helpers/AccordionBase/AccordionBase.module.css */
|
|
587
582
|
:where(.AccordionBase_header-button) {
|
|
588
583
|
-webkit-user-select: text;
|
|
589
|
-
-moz-user-select: text;
|
|
590
584
|
user-select: text;
|
|
591
585
|
position: relative;
|
|
592
586
|
cursor: pointer;
|
|
@@ -660,7 +654,6 @@
|
|
|
660
654
|
.DropdownItem_item--interactive {
|
|
661
655
|
text-align: left;
|
|
662
656
|
-webkit-user-select: text;
|
|
663
|
-
-moz-user-select: text;
|
|
664
657
|
user-select: text;
|
|
665
658
|
border: none;
|
|
666
659
|
cursor: pointer;
|
|
@@ -790,7 +783,6 @@
|
|
|
790
783
|
}
|
|
791
784
|
.layout_dds-c-gap {
|
|
792
785
|
--dds-r-c-gap: var(--dds-r-xs-c-gap);
|
|
793
|
-
-moz-column-gap: var(--dds-r-c-gap, initial);
|
|
794
786
|
column-gap: var(--dds-r-c-gap, initial);
|
|
795
787
|
}
|
|
796
788
|
.layout_dds-r-gap {
|
|
@@ -1972,7 +1964,6 @@
|
|
|
1972
1964
|
/* src/components/Typography/Typography/Typography.module.css */
|
|
1973
1965
|
.Typography_container {
|
|
1974
1966
|
-webkit-user-select: text;
|
|
1975
|
-
-moz-user-select: text;
|
|
1976
1967
|
user-select: text;
|
|
1977
1968
|
}
|
|
1978
1969
|
|
|
@@ -2001,12 +1992,10 @@
|
|
|
2001
1992
|
/* src/components/Button/Button.module.css */
|
|
2002
1993
|
:where(.Button_button) {
|
|
2003
1994
|
-webkit-user-select: text;
|
|
2004
|
-
-moz-user-select: text;
|
|
2005
1995
|
user-select: text;
|
|
2006
1996
|
display: inline-flex;
|
|
2007
1997
|
align-items: center;
|
|
2008
1998
|
justify-content: center;
|
|
2009
|
-
width: -moz-fit-content;
|
|
2010
1999
|
width: fit-content;
|
|
2011
2000
|
cursor: pointer;
|
|
2012
2001
|
box-shadow: none;
|
|
@@ -2055,6 +2044,7 @@
|
|
|
2055
2044
|
padding-inline: var(--dds-spacing-x0-25);
|
|
2056
2045
|
}
|
|
2057
2046
|
&.Button_clear {
|
|
2047
|
+
min-height: fit-content;
|
|
2058
2048
|
padding: var(--dds-spacing-x0-125);
|
|
2059
2049
|
}
|
|
2060
2050
|
}
|
|
@@ -2078,6 +2068,7 @@
|
|
|
2078
2068
|
padding-inline: var(--dds-spacing-x0-5);
|
|
2079
2069
|
}
|
|
2080
2070
|
&.Button_clear {
|
|
2071
|
+
min-height: var(--dds-size-height-input-xsmall);
|
|
2081
2072
|
padding: var(--dds-spacing-x0-25);
|
|
2082
2073
|
}
|
|
2083
2074
|
}
|
|
@@ -2101,6 +2092,7 @@
|
|
|
2101
2092
|
padding-inline: var(--dds-spacing-x0-75);
|
|
2102
2093
|
}
|
|
2103
2094
|
&.Button_clear {
|
|
2095
|
+
min-height: var(--dds-size-height-input-small);
|
|
2104
2096
|
padding: var(--dds-spacing-x0-5);
|
|
2105
2097
|
}
|
|
2106
2098
|
}
|
|
@@ -2124,6 +2116,7 @@
|
|
|
2124
2116
|
padding-inline: var(--dds-spacing-x1);
|
|
2125
2117
|
}
|
|
2126
2118
|
&.Button_clear {
|
|
2119
|
+
min-height: var(--dds-size-height-input-medium);
|
|
2127
2120
|
padding: var(--dds-spacing-x0-75);
|
|
2128
2121
|
}
|
|
2129
2122
|
}
|
|
@@ -2191,7 +2184,6 @@
|
|
|
2191
2184
|
cursor: pointer;
|
|
2192
2185
|
display: flex;
|
|
2193
2186
|
align-items: center;
|
|
2194
|
-
width: -moz-fit-content;
|
|
2195
2187
|
width: fit-content;
|
|
2196
2188
|
gap: var(--dds-spacing-x0-25);
|
|
2197
2189
|
--dds-toggle-medium-thumb-spacing-inline: var(--dds-spacing-x0-125);
|
|
@@ -2564,7 +2556,6 @@
|
|
|
2564
2556
|
.SelectionControl_label {
|
|
2565
2557
|
cursor: pointer;
|
|
2566
2558
|
-webkit-user-select: none;
|
|
2567
|
-
-moz-user-select: none;
|
|
2568
2559
|
user-select: none;
|
|
2569
2560
|
&:not(:hover) input[aria-invalid]:enabled:not([aria-readonly=true]):not(:focus-visible):not(:checked) ~ .SelectionControl_selection-control {
|
|
2570
2561
|
background-color: var(--dds-color-surface-danger-default);
|
|
@@ -2702,10 +2693,19 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
2702
2693
|
}
|
|
2703
2694
|
|
|
2704
2695
|
/* src/components/date-inputs/common/DateInput.module.css */
|
|
2696
|
+
.DateInput_date-group {
|
|
2697
|
+
pointer-events: none;
|
|
2698
|
+
label,
|
|
2699
|
+
.DateInput_input-group {
|
|
2700
|
+
pointer-events: auto;
|
|
2701
|
+
}
|
|
2702
|
+
}
|
|
2705
2703
|
.DateInput_date-segment-container {
|
|
2706
2704
|
display: flex;
|
|
2707
2705
|
flex-direction: row;
|
|
2708
2706
|
font-family: var(--dds-font-family-monospace);
|
|
2707
|
+
-webkit-user-select: none;
|
|
2708
|
+
user-select: none;
|
|
2709
2709
|
}
|
|
2710
2710
|
.DateInput_segment {
|
|
2711
2711
|
font-variant-numeric: tabular-nums;
|
|
@@ -2760,7 +2760,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
2760
2760
|
}
|
|
2761
2761
|
.DateInput_calendar__month-button {
|
|
2762
2762
|
-webkit-user-select: none;
|
|
2763
|
-
-moz-user-select: none;
|
|
2764
2763
|
user-select: none;
|
|
2765
2764
|
}
|
|
2766
2765
|
.DateInput_calendar__grid-element {
|
|
@@ -2892,10 +2891,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
2892
2891
|
&[type=datetime-local] {
|
|
2893
2892
|
-webkit-appearance: none;
|
|
2894
2893
|
}
|
|
2895
|
-
&:hover:enabled:-moz-read-write:not(:focus-visible):not(.Input_disabled):not(.Input_read-only) {
|
|
2896
|
-
border-color: var(--dds-color-border-action-hover);
|
|
2897
|
-
box-shadow: 0 0 0 1px var(--dds-color-border-action-hover);
|
|
2898
|
-
}
|
|
2899
2894
|
&:hover:enabled:read-write:not(:focus-visible):not(.Input_disabled):not(.Input_read-only) {
|
|
2900
2895
|
border-color: var(--dds-color-border-action-hover);
|
|
2901
2896
|
box-shadow: 0 0 0 1px var(--dds-color-border-action-hover);
|
|
@@ -2903,13 +2898,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
2903
2898
|
}
|
|
2904
2899
|
:where(.Input_input--stateful) {
|
|
2905
2900
|
-webkit-appearance: textfield;
|
|
2906
|
-
&:enabled:-moz-read-only {
|
|
2907
|
-
box-shadow: none;
|
|
2908
|
-
border: 1px solid var(--dds-color-border-default);
|
|
2909
|
-
background-color: var(--dds-color-surface-field-disabled);
|
|
2910
|
-
color: var(--dds-color-text-medium);
|
|
2911
|
-
cursor: default;
|
|
2912
|
-
}
|
|
2913
2901
|
&:not(.Input_disabled).Input_read-only,
|
|
2914
2902
|
&:enabled:read-only {
|
|
2915
2903
|
box-shadow: none;
|
|
@@ -2934,20 +2922,11 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
2934
2922
|
:where(.Input_input--stateful-danger) {
|
|
2935
2923
|
border-color: var(--dds-color-border-danger);
|
|
2936
2924
|
box-shadow: 0 0 0 1px var(--dds-color-border-danger);
|
|
2937
|
-
&:hover:enabled:-moz-read-write:not(:focus-within) {
|
|
2938
|
-
border-color: var(--dds-color-border-danger);
|
|
2939
|
-
box-shadow: 0 0 0 1px var(--dds-color-border-danger);
|
|
2940
|
-
}
|
|
2941
2925
|
&:not(.Input_disabled):hover:not(:focus-within),
|
|
2942
2926
|
&:hover:enabled:read-write:not(:focus-within) {
|
|
2943
2927
|
border-color: var(--dds-color-border-danger);
|
|
2944
2928
|
box-shadow: 0 0 0 1px var(--dds-color-border-danger);
|
|
2945
2929
|
}
|
|
2946
|
-
&:focus-within:enabled:-moz-read-write,
|
|
2947
|
-
&:hover:focus-within:enabled:-moz-read-write,
|
|
2948
|
-
&:active:enabled:-moz-read-write {
|
|
2949
|
-
border-color: 1px solid var(--dds-color-border-default);
|
|
2950
|
-
}
|
|
2951
2930
|
&:not(.Input_disabled):focus-within,
|
|
2952
2931
|
&:focus-within:enabled:read-write,
|
|
2953
2932
|
&:hover:focus-within:enabled:read-write,
|
|
@@ -3296,7 +3275,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
3296
3275
|
.Table_sort-button {
|
|
3297
3276
|
gap: var(--dds-spacing-x0-5);
|
|
3298
3277
|
-webkit-user-select: text;
|
|
3299
|
-
-moz-user-select: text;
|
|
3300
3278
|
user-select: text;
|
|
3301
3279
|
display: flex;
|
|
3302
3280
|
align-items: center;
|
|
@@ -3394,19 +3372,14 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
3394
3372
|
top: calc((var(--dds-font-lineheight-x1) * 1em) / 2 - var(--dds-list-bullet-size) / 2);
|
|
3395
3373
|
left: 0;
|
|
3396
3374
|
background: var(--dds-color-text-body);
|
|
3397
|
-
-webkit-mask-size: 100%;
|
|
3398
3375
|
mask-size: 100%;
|
|
3399
|
-
-webkit-mask-repeat: no-repeat;
|
|
3400
3376
|
mask-repeat: no-repeat;
|
|
3401
|
-
-webkit-mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="12" cy="12" r="6" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3402
3377
|
mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="12" cy="12" r="6" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3403
3378
|
}
|
|
3404
3379
|
ul > li:before {
|
|
3405
|
-
-webkit-mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="4" y="10" width="15.65" height="3.9125" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3406
3380
|
mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="4" y="10" width="15.65" height="3.9125" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3407
3381
|
}
|
|
3408
3382
|
ul > li > ul > li:before {
|
|
3409
|
-
-webkit-mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M12 16.6154C16.4183 16.6154 20 12.7581 20 8H4C4 12.7581 7.58172 16.6154 12 16.6154Z" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3410
3383
|
mask-image: url('data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M12 16.6154C16.4183 16.6154 20 12.7581 20 8H4C4 12.7581 7.58172 16.6154 12 16.6154Z" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
3411
3384
|
}
|
|
3412
3385
|
}
|
|
@@ -3702,17 +3675,10 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
3702
3675
|
}
|
|
3703
3676
|
}
|
|
3704
3677
|
.InlineEdit_inline-select {
|
|
3705
|
-
-webkit-appearance: none;
|
|
3706
|
-
-moz-appearance: none;
|
|
3707
3678
|
appearance: none;
|
|
3708
3679
|
text-overflow: ellipsis;
|
|
3709
3680
|
cursor: pointer;
|
|
3710
3681
|
}
|
|
3711
|
-
.InlineEdit_inline-input:hover:enabled:-moz-read-write:not(:focus) {
|
|
3712
|
-
border-color: transparent;
|
|
3713
|
-
box-shadow: none;
|
|
3714
|
-
background-color: var(--dds-color-surface-hover-default);
|
|
3715
|
-
}
|
|
3716
3682
|
.InlineEdit_inline-input:hover:enabled:read-write:not(:focus),
|
|
3717
3683
|
.InlineEdit_inline-select:hover:enabled:not(:focus) {
|
|
3718
3684
|
border-color: transparent;
|
|
@@ -3856,7 +3822,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
3856
3822
|
.NewsPopover_img-wrapper img {
|
|
3857
3823
|
width: 100%;
|
|
3858
3824
|
height: 100%;
|
|
3859
|
-
-o-object-fit: contain;
|
|
3860
3825
|
object-fit: contain;
|
|
3861
3826
|
}
|
|
3862
3827
|
|
|
@@ -3895,8 +3860,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
3895
3860
|
|
|
3896
3861
|
/* src/components/Select/NativeSelect/NativeSelect.module.css */
|
|
3897
3862
|
.NativeSelect_select {
|
|
3898
|
-
-webkit-appearance: none;
|
|
3899
|
-
-moz-appearance: none;
|
|
3900
3863
|
appearance: none;
|
|
3901
3864
|
text-overflow: ellipsis;
|
|
3902
3865
|
font: inherit;
|
|
@@ -4038,7 +4001,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
4038
4001
|
/* src/components/Popover/Popover.module.css */
|
|
4039
4002
|
.Popover_container {
|
|
4040
4003
|
position: absolute;
|
|
4041
|
-
width: -moz-fit-content;
|
|
4042
4004
|
width: fit-content;
|
|
4043
4005
|
z-index: var(--dds-zindex-popover);
|
|
4044
4006
|
padding: var(--dds-spacing-x0-75) var(--dds-spacing-x1) var(--dds-spacing-x1-5) var(--dds-spacing-x1);
|
|
@@ -4274,7 +4236,6 @@ input[data-indeterminate=true] ~ .SelectionControl_selection-control:after {
|
|
|
4274
4236
|
.Tabs_tab {
|
|
4275
4237
|
border: none;
|
|
4276
4238
|
-webkit-user-select: text;
|
|
4277
|
-
-moz-user-select: text;
|
|
4278
4239
|
user-select: text;
|
|
4279
4240
|
display: flex;
|
|
4280
4241
|
align-items: center;
|