@norges-domstoler/dds-components 0.0.0-dev-20240916102541 → 0.0.0-dev-20240917132627
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 +26 -17
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +14 -10
- package/dist/index.d.ts +14 -10
- package/dist/index.js +730 -668
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +610 -548
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.css
CHANGED
|
@@ -116,19 +116,24 @@
|
|
|
116
116
|
/* src/components/Typography/typographyStyles.module.css */
|
|
117
117
|
:root {
|
|
118
118
|
--dds-color-text-body: var(--dds-color-text-default);
|
|
119
|
+
--dds-color-text-body-subtle: var(--dds-color-text-subtle);
|
|
119
120
|
--dds-color-text-link: var(--dds-color-text-action-resting);
|
|
120
121
|
--dds-color-text-link-visited: var(--dds-color-text-action-visited);
|
|
121
122
|
--dds-color-text-label: var(--dds-color-text-medium);
|
|
122
123
|
--dds-color-text-placeholder: var(--dds-color-text-subtle);
|
|
123
124
|
--dds-color-text-helper: var(--dds-color-text-subtle);
|
|
125
|
+
--dds-color-icon-link: var(--dds-color-text-action-resting);
|
|
124
126
|
}
|
|
125
127
|
.typographyStyles_contrast {
|
|
126
128
|
--dds-color-text-body: var(--dds-color-text-on-inverse);
|
|
129
|
+
--dds-color-text-body-subtle: var(--dds-color-text-on-inverse);
|
|
127
130
|
--dds-color-text-link: var(--dds-color-text-on-inverse);
|
|
128
131
|
--dds-color-text-link-visited: var( --dds-color-text-action-visited-on-inverse );
|
|
129
132
|
--dds-color-text-label: var(--dds-color-text-on-inverse);
|
|
130
133
|
--dds-color-text-helper: var(--dds-color-text-on-inverse);
|
|
131
134
|
--dds-color-text-placeholder: var(--dds-color-text-subtle);
|
|
135
|
+
--dds-color-icon-link: var(--dds-color-text-on-inverse);
|
|
136
|
+
color: var(--dds-color-text-on-inverse);
|
|
132
137
|
}
|
|
133
138
|
:where(.typographyStyles_a) {
|
|
134
139
|
font: inherit;
|
|
@@ -981,7 +986,7 @@
|
|
|
981
986
|
padding: var(--dds-spacing-x0-125) 0;
|
|
982
987
|
}
|
|
983
988
|
.Breadcrumbs_icon {
|
|
984
|
-
color: var(--dds-color-icon-
|
|
989
|
+
color: var(--dds-color-icon-link);
|
|
985
990
|
}
|
|
986
991
|
|
|
987
992
|
/* src/components/Button/Button.module.css */
|
|
@@ -1394,6 +1399,11 @@
|
|
|
1394
1399
|
gap: var(--dds-spacing-x0-75);
|
|
1395
1400
|
}
|
|
1396
1401
|
|
|
1402
|
+
/* src/components/Contrast/Contrast.module.css */
|
|
1403
|
+
:where(.Contrast_container) {
|
|
1404
|
+
background-color: var(--dds-color-surface-inverse-default);
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1397
1407
|
/* src/components/date-inputs/common/DateInput.module.css */
|
|
1398
1408
|
.DateInput_date-input {
|
|
1399
1409
|
display: inline-flex;
|
|
@@ -1599,13 +1609,13 @@
|
|
|
1599
1609
|
}
|
|
1600
1610
|
.DescriptionList_list--default {
|
|
1601
1611
|
dt {
|
|
1602
|
-
color: var(--dds-color-text-
|
|
1612
|
+
color: var(--dds-color-text-body);
|
|
1603
1613
|
font-weight: 600;
|
|
1604
1614
|
}
|
|
1605
1615
|
}
|
|
1606
1616
|
.DescriptionList_list--subtle {
|
|
1607
1617
|
dt {
|
|
1608
|
-
color: var(--dds-color-text-subtle);
|
|
1618
|
+
color: var(--dds-color-text-body-subtle);
|
|
1609
1619
|
}
|
|
1610
1620
|
}
|
|
1611
1621
|
.DescriptionList_list--row {
|
|
@@ -1623,7 +1633,7 @@
|
|
|
1623
1633
|
align-items: center;
|
|
1624
1634
|
display: flex;
|
|
1625
1635
|
gap: var(--dds-spacing-x0-25);
|
|
1626
|
-
color: var(--dds-color-text-
|
|
1636
|
+
color: var(--dds-color-text-body);
|
|
1627
1637
|
}
|
|
1628
1638
|
.DescriptionList_group {
|
|
1629
1639
|
margin: var(--dds-spacing-x2);
|
|
@@ -2038,7 +2048,6 @@
|
|
|
2038
2048
|
|
|
2039
2049
|
/* src/components/Footer/Footer.module.css */
|
|
2040
2050
|
.Footer_container {
|
|
2041
|
-
background-color: var(--dds-color-brand-primary-default);
|
|
2042
2051
|
padding-block-start: var(--dds-spacing-x3);
|
|
2043
2052
|
padding-block-end: var(--dds-spacing-x6);
|
|
2044
2053
|
@media only screen and (min-width: 960px) {
|
|
@@ -2441,7 +2450,7 @@
|
|
|
2441
2450
|
|
|
2442
2451
|
/* src/components/List/List.module.css */
|
|
2443
2452
|
.List_list {
|
|
2444
|
-
color: var(--dds-color-text-
|
|
2453
|
+
color: var(--dds-color-text-body);
|
|
2445
2454
|
margin: var(--dds-spacing-x1) 0;
|
|
2446
2455
|
ul,
|
|
2447
2456
|
ol {
|
|
@@ -2466,15 +2475,21 @@
|
|
|
2466
2475
|
position: absolute;
|
|
2467
2476
|
top: calc((2.5em / 2) - 0.5em);
|
|
2468
2477
|
left: 0;
|
|
2469
|
-
background
|
|
2470
|
-
|
|
2471
|
-
|
|
2478
|
+
background: var(--dds-color-text-body);
|
|
2479
|
+
-webkit-mask-size: 100%;
|
|
2480
|
+
mask-size: 100%;
|
|
2481
|
+
-webkit-mask-repeat: no-repeat;
|
|
2482
|
+
mask-repeat: no-repeat;
|
|
2483
|
+
-webkit-mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="6.7085" cy="6.7085" r="2.625" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2484
|
+
mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<circle cx="6.7085" cy="6.7085" r="2.625" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2472
2485
|
}
|
|
2473
2486
|
ul > li:before {
|
|
2474
|
-
|
|
2487
|
+
-webkit-mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="3.04346" y="6.08691" width="7.30435" height="1.82609" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2488
|
+
mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<rect x="3.04346" y="6.08691" width="7.30435" height="1.82609" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2475
2489
|
}
|
|
2476
2490
|
ul > li > ul > li:before {
|
|
2477
|
-
|
|
2491
|
+
-webkit-mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.70817 9.33333C8.80225 9.33333 10.4998 7.50516 10.4998 5.25H2.9165C2.9165 7.50516 4.61409 9.33333 6.70817 9.33333Z" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2492
|
+
mask-image: url('data:image/svg+xml,<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">%0A<path d="M6.70817 9.33333C8.80225 9.33333 10.4998 7.50516 10.4998 5.25H2.9165C2.9165 7.50516 4.61409 9.33333 6.70817 9.33333Z" fill="%230B0D0E"/>%0A</svg>%0A');
|
|
2478
2493
|
}
|
|
2479
2494
|
}
|
|
2480
2495
|
}
|
|
@@ -3221,7 +3236,6 @@
|
|
|
3221
3236
|
|
|
3222
3237
|
/* src/components/SkipToContent/SkipToContent.module.css */
|
|
3223
3238
|
.SkipToContent_wrapper {
|
|
3224
|
-
background-color: var(--dds-color-surface-inverse-default);
|
|
3225
3239
|
padding: var(--dds-spacing-x0-25);
|
|
3226
3240
|
box-sizing: border-box;
|
|
3227
3241
|
position: absolute;
|
|
@@ -3244,11 +3258,6 @@
|
|
|
3244
3258
|
z-index: 250;
|
|
3245
3259
|
opacity: 1;
|
|
3246
3260
|
}
|
|
3247
|
-
.SkipToContent_link,
|
|
3248
|
-
.SkipToContent_link:hover {
|
|
3249
|
-
text-decoration: none;
|
|
3250
|
-
color: var(--dds-color-text-on-inverse);
|
|
3251
|
-
}
|
|
3252
3261
|
|
|
3253
3262
|
/* src/components/SplitButton/SplitButton.module.css */
|
|
3254
3263
|
.SplitButton_container {
|