@norges-domstoler/dds-components 21.0.0 → 21.2.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 +22 -48
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +155 -98
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +154 -98
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.css
CHANGED
|
@@ -180,10 +180,8 @@
|
|
|
180
180
|
vertical-align: baseline;
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
color: var(--dds-color-text-action-visited);
|
|
186
|
-
}
|
|
183
|
+
.typographyStyles_a--visited:visited {
|
|
184
|
+
color: var(--dds-color-text-action-visited);
|
|
187
185
|
}
|
|
188
186
|
:where(.typographyStyles_body-xsmall) {
|
|
189
187
|
margin: 0;
|
|
@@ -2433,6 +2431,16 @@
|
|
|
2433
2431
|
}
|
|
2434
2432
|
}
|
|
2435
2433
|
.DetailList_list--striped {
|
|
2434
|
+
.DetailList_row {
|
|
2435
|
+
&:nth-of-type(even) {
|
|
2436
|
+
background-color: var(--dds-color-surface-default);
|
|
2437
|
+
}
|
|
2438
|
+
&:nth-of-type(odd) {
|
|
2439
|
+
background-color: var(--dds-color-surface-subtle);
|
|
2440
|
+
}
|
|
2441
|
+
}
|
|
2442
|
+
}
|
|
2443
|
+
.DetailList_list--striped-with-bp {
|
|
2436
2444
|
.DetailList_row {
|
|
2437
2445
|
&:nth-of-type(4n-1),
|
|
2438
2446
|
&:nth-of-type(4n) {
|
|
@@ -2994,14 +3002,12 @@
|
|
|
2994
3002
|
}
|
|
2995
3003
|
.LocalMessage_container__text {
|
|
2996
3004
|
grid-area: text;
|
|
2997
|
-
padding-right: var(--dds-spacing-x0-75);
|
|
2998
3005
|
}
|
|
2999
3006
|
.LocalMessage_container__icon {
|
|
3000
3007
|
grid-area: icon;
|
|
3001
3008
|
}
|
|
3002
3009
|
.LocalMessage_container__button {
|
|
3003
3010
|
grid-area: closeButton;
|
|
3004
|
-
margin: calc(0px - var(--dds-spacing-x0-75)) 0;
|
|
3005
3011
|
}
|
|
3006
3012
|
|
|
3007
3013
|
/* src/components/Modal/Modal.module.css */
|
|
@@ -3269,21 +3275,22 @@ select:hover {
|
|
|
3269
3275
|
.ProgressTracker_list {
|
|
3270
3276
|
--dds-progress-tracker-connector-width: 1px;
|
|
3271
3277
|
--dds-progress-tracker-item-number-size: 1.75rem;
|
|
3272
|
-
display: flex;
|
|
3273
|
-
flex-direction: column;
|
|
3274
|
-
align-items: flex-start;
|
|
3275
|
-
gap: var(--dds-spacing-x0-125);
|
|
3276
|
-
margin: 0;
|
|
3277
|
-
padding: 0;
|
|
3278
3278
|
}
|
|
3279
|
-
.ProgressTracker_connector {
|
|
3279
|
+
.ProgressTracker_connector--column {
|
|
3280
3280
|
border-right: var(--dds-progress-tracker-connector-width) solid var(--dds-color-border-default);
|
|
3281
3281
|
width: 1px;
|
|
3282
|
-
height:
|
|
3282
|
+
height: 1.125rem;
|
|
3283
3283
|
margin-left: calc((var(--dds-progress-tracker-item-number-size) / 2) - (var(--dds-progress-tracker-connector-width) / 2));
|
|
3284
3284
|
}
|
|
3285
|
+
.ProgressTracker_connector--row {
|
|
3286
|
+
flex: 0 0 auto;
|
|
3287
|
+
border-top: var(--dds-progress-tracker-connector-width) solid var(--dds-color-border-default);
|
|
3288
|
+
height: 1px;
|
|
3289
|
+
width: 1.875rem;
|
|
3290
|
+
margin-top: calc((var(--dds-progress-tracker-item-number-size) / 2) - (var(--dds-progress-tracker-connector-width) / 2));
|
|
3291
|
+
}
|
|
3285
3292
|
.ProgressTracker_item {
|
|
3286
|
-
flex:
|
|
3293
|
+
flex: 0 0 auto;
|
|
3287
3294
|
position: relative;
|
|
3288
3295
|
display: flex;
|
|
3289
3296
|
justify-content: center;
|
|
@@ -3424,23 +3431,11 @@ select:hover {
|
|
|
3424
3431
|
}
|
|
3425
3432
|
|
|
3426
3433
|
/* src/components/Search/Search.module.css */
|
|
3427
|
-
.Search_container {
|
|
3428
|
-
display: flex;
|
|
3429
|
-
flex-direction: column;
|
|
3430
|
-
gap: var(--dds-spacing-x0-125);
|
|
3431
|
-
}
|
|
3432
|
-
.Search_input-group {
|
|
3433
|
-
position: relative;
|
|
3434
|
-
display: flex;
|
|
3435
|
-
}
|
|
3436
3434
|
.Search_with-button-container {
|
|
3437
3435
|
display: grid;
|
|
3438
3436
|
grid-template-columns: 1fr auto;
|
|
3439
|
-
gap: var(--dds-spacing-x0-5);
|
|
3440
3437
|
}
|
|
3441
3438
|
.Search_input {
|
|
3442
|
-
width: 100%;
|
|
3443
|
-
padding-right: calc(var(--dds-spacing-x1) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-25));
|
|
3444
3439
|
&[type=search]::-webkit-search-decoration,
|
|
3445
3440
|
&[type=search]::-webkit-search-cancel-button,
|
|
3446
3441
|
&[type=search]::-webkit-search-results-button,
|
|
@@ -3448,18 +3443,6 @@ select:hover {
|
|
|
3448
3443
|
-webkit-appearance: none;
|
|
3449
3444
|
}
|
|
3450
3445
|
}
|
|
3451
|
-
.Search_input--small {
|
|
3452
|
-
padding-block: var(--dds-spacing-x0-5);
|
|
3453
|
-
padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-small) + var(--dds-spacing-x0-5));
|
|
3454
|
-
}
|
|
3455
|
-
.Search_input--medium {
|
|
3456
|
-
padding-block: var(--dds-spacing-x0-75);
|
|
3457
|
-
padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-5));
|
|
3458
|
-
}
|
|
3459
|
-
.Search_input--large {
|
|
3460
|
-
padding-block: var(--dds-spacing-x1);
|
|
3461
|
-
padding-left: calc(var(--dds-spacing-x0-75) + var(--dds-icon-size-medium) + var(--dds-spacing-x0-5));
|
|
3462
|
-
}
|
|
3463
3446
|
.Search_search-icon {
|
|
3464
3447
|
left: var(--dds-spacing-x0-75);
|
|
3465
3448
|
}
|
|
@@ -3472,16 +3455,7 @@ select:hover {
|
|
|
3472
3455
|
height: var(--dds-icon-size-medium);
|
|
3473
3456
|
}
|
|
3474
3457
|
.Search_suggestions {
|
|
3475
|
-
position: absolute;
|
|
3476
|
-
top: 100%;
|
|
3477
|
-
width: 100%;
|
|
3478
|
-
max-height: 300px;
|
|
3479
3458
|
z-index: var(--dds-zindex-dropdown);
|
|
3480
|
-
overflow-y: scroll;
|
|
3481
|
-
margin-top: var(--dds-spacing-x0-25);
|
|
3482
|
-
}
|
|
3483
|
-
.Search_suggestions__header {
|
|
3484
|
-
padding-left: var(--dds-spacing-x1);
|
|
3485
3459
|
}
|
|
3486
3460
|
|
|
3487
3461
|
/* src/components/Skeleton/Skeleton.module.css */
|