@navikt/ds-css 7.8.0 → 7.9.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/CHANGELOG.md +23 -0
- package/button.css +9 -1
- package/config/bundle.darkside.ts +270 -0
- package/config/tests/bundle.test.ts +46 -0
- package/darkside/baseline/{utilities.darkside.css → baseline.darkside.css} +9 -0
- package/darkside/baseline/tokens.darkside.css +1 -0
- package/darkside/button.darkside.css +10 -2
- package/darkside/copybutton.darkside.css +1 -1
- package/darkside/dropdown.darkside.css +1 -1
- package/darkside/form/combobox.darkside.css +1 -1
- package/darkside/form/fieldset.darkside.css +1 -1
- package/darkside/form/form.darkside.css +2 -15
- package/darkside/form/radio-checkbox.darkside.css +1 -1
- package/darkside/form/search.darkside.css +2 -2
- package/darkside/form/switch.darkside.css +1 -1
- package/darkside/index.css +9 -11
- package/darkside/link.darkside.css +2 -2
- package/darkside/tag.darkside.css +85 -147
- package/darkside/timeline.darkside.css +118 -211
- package/darkside/toggle-group.darkside.css +19 -9
- package/darkside/tooltip.darkside.css +82 -57
- package/darkside/typography.darkside.css +12 -12
- package/dist/component/button.css +9 -1
- package/dist/component/button.min.css +2 -2
- package/dist/component/form.css +37 -37
- package/dist/component/form.min.css +1 -1
- package/dist/component/link.css +1 -1
- package/dist/component/link.min.css +1 -1
- package/dist/component/table.css +1 -1
- package/dist/component/table.min.css +1 -1
- package/dist/component/tag.css +12 -6
- package/dist/component/tag.min.css +1 -1
- package/dist/component/typography.css +12 -0
- package/dist/component/typography.min.css +1 -1
- package/dist/components.css +73 -48
- package/dist/components.min.css +3 -3
- package/dist/darkside/component/accordion.css +174 -0
- package/dist/darkside/component/accordion.min.css +1 -0
- package/dist/darkside/component/actionmenu.css +182 -0
- package/dist/darkside/component/actionmenu.min.css +1 -0
- package/dist/darkside/component/alert.css +105 -0
- package/dist/darkside/component/alert.min.css +1 -0
- package/dist/darkside/component/button.css +279 -0
- package/dist/darkside/component/button.min.css +1 -0
- package/dist/darkside/component/chat.css +103 -0
- package/dist/darkside/component/chat.min.css +1 -0
- package/dist/darkside/component/chips.css +176 -0
- package/dist/darkside/component/chips.min.css +1 -0
- package/dist/darkside/component/copybutton.css +176 -0
- package/dist/darkside/component/copybutton.min.css +1 -0
- package/dist/darkside/component/date.css +262 -0
- package/dist/darkside/component/date.min.css +1 -0
- package/dist/darkside/component/dropdown.css +92 -0
- package/dist/darkside/component/dropdown.min.css +1 -0
- package/dist/darkside/component/expansioncard.css +167 -0
- package/dist/darkside/component/expansioncard.min.css +1 -0
- package/dist/darkside/component/form.css +1862 -0
- package/dist/darkside/component/form.min.css +1 -0
- package/dist/darkside/component/guidepanel.css +113 -0
- package/dist/darkside/component/guidepanel.min.css +1 -0
- package/dist/darkside/component/helptext.css +53 -0
- package/dist/darkside/component/helptext.min.css +1 -0
- package/dist/darkside/component/internalheader.css +100 -0
- package/dist/darkside/component/internalheader.min.css +1 -0
- package/dist/darkside/component/link.css +60 -0
- package/dist/darkside/component/link.min.css +1 -0
- package/dist/darkside/component/linkpanel.css +48 -0
- package/dist/darkside/component/linkpanel.min.css +1 -0
- package/dist/darkside/component/list.css +88 -0
- package/dist/darkside/component/list.min.css +1 -0
- package/dist/darkside/component/loader.css +119 -0
- package/dist/darkside/component/loader.min.css +1 -0
- package/dist/darkside/component/modal.css +175 -0
- package/dist/darkside/component/modal.min.css +1 -0
- package/dist/darkside/component/pagination.css +43 -0
- package/dist/darkside/component/pagination.min.css +1 -0
- package/dist/darkside/component/panel.css +12 -0
- package/dist/darkside/component/panel.min.css +1 -0
- package/dist/darkside/component/popover.css +18 -0
- package/dist/darkside/component/popover.min.css +1 -0
- package/dist/darkside/component/primitives.css +1291 -0
- package/dist/darkside/component/primitives.min.css +1 -0
- package/dist/darkside/component/progressbar.css +106 -0
- package/dist/darkside/component/progressbar.min.css +1 -0
- package/dist/darkside/component/readmore.css +95 -0
- package/dist/darkside/component/readmore.min.css +1 -0
- package/dist/darkside/component/skeleton.css +66 -0
- package/dist/darkside/component/skeleton.min.css +1 -0
- package/dist/darkside/component/stepper.css +234 -0
- package/dist/darkside/component/stepper.min.css +1 -0
- package/dist/darkside/component/table.css +225 -0
- package/dist/darkside/component/table.min.css +1 -0
- package/dist/darkside/component/tabs.css +138 -0
- package/dist/darkside/component/tabs.min.css +1 -0
- package/dist/darkside/component/tag.css +128 -0
- package/dist/darkside/component/tag.min.css +1 -0
- package/dist/darkside/component/theme.css +17 -0
- package/dist/darkside/component/theme.min.css +1 -0
- package/dist/darkside/component/timeline.css +338 -0
- package/dist/darkside/component/timeline.min.css +1 -0
- package/dist/darkside/component/togglegroup.css +116 -0
- package/dist/darkside/component/togglegroup.min.css +1 -0
- package/dist/darkside/component/tooltip.css +108 -0
- package/dist/darkside/component/tooltip.min.css +1 -0
- package/dist/darkside/component/typography.css +254 -0
- package/dist/darkside/component/typography.min.css +1 -0
- package/dist/darkside/components.css +7493 -0
- package/dist/darkside/components.min.css +1 -0
- package/dist/darkside/global/baseline.css +47 -0
- package/dist/darkside/global/baseline.min.css +1 -0
- package/dist/darkside/global/fonts.css +109 -0
- package/dist/darkside/global/fonts.min.css +1 -0
- package/dist/darkside/global/print.css +52 -0
- package/dist/darkside/global/print.min.css +1 -0
- package/dist/darkside/global/reset.css +93 -0
- package/dist/darkside/global/reset.min.css +1 -0
- package/dist/darkside/global/tokens.css +896 -0
- package/dist/darkside/global/tokens.min.css +1 -0
- package/dist/darkside/index.css +8693 -0
- package/dist/darkside/index.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/accordion.css +174 -0
- package/dist/darkside/version/7.9.0/component/accordion.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/actionmenu.css +182 -0
- package/dist/darkside/version/7.9.0/component/actionmenu.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/alert.css +105 -0
- package/dist/darkside/version/7.9.0/component/alert.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/button.css +279 -0
- package/dist/darkside/version/7.9.0/component/button.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/chat.css +103 -0
- package/dist/darkside/version/7.9.0/component/chat.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/chips.css +176 -0
- package/dist/darkside/version/7.9.0/component/chips.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/copybutton.css +176 -0
- package/dist/darkside/version/7.9.0/component/copybutton.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/date.css +262 -0
- package/dist/darkside/version/7.9.0/component/date.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/dropdown.css +92 -0
- package/dist/darkside/version/7.9.0/component/dropdown.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/expansioncard.css +167 -0
- package/dist/darkside/version/7.9.0/component/expansioncard.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/form.css +1862 -0
- package/dist/darkside/version/7.9.0/component/form.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/guidepanel.css +113 -0
- package/dist/darkside/version/7.9.0/component/guidepanel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/helptext.css +53 -0
- package/dist/darkside/version/7.9.0/component/helptext.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/internalheader.css +100 -0
- package/dist/darkside/version/7.9.0/component/internalheader.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/link.css +60 -0
- package/dist/darkside/version/7.9.0/component/link.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/linkpanel.css +48 -0
- package/dist/darkside/version/7.9.0/component/linkpanel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/list.css +88 -0
- package/dist/darkside/version/7.9.0/component/list.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/loader.css +119 -0
- package/dist/darkside/version/7.9.0/component/loader.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/modal.css +175 -0
- package/dist/darkside/version/7.9.0/component/modal.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/pagination.css +43 -0
- package/dist/darkside/version/7.9.0/component/pagination.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/panel.css +12 -0
- package/dist/darkside/version/7.9.0/component/panel.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/popover.css +18 -0
- package/dist/darkside/version/7.9.0/component/popover.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/primitives.css +1291 -0
- package/dist/darkside/version/7.9.0/component/primitives.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/progressbar.css +106 -0
- package/dist/darkside/version/7.9.0/component/progressbar.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/readmore.css +95 -0
- package/dist/darkside/version/7.9.0/component/readmore.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/skeleton.css +66 -0
- package/dist/darkside/version/7.9.0/component/skeleton.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/stepper.css +234 -0
- package/dist/darkside/version/7.9.0/component/stepper.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/table.css +225 -0
- package/dist/darkside/version/7.9.0/component/table.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tabs.css +138 -0
- package/dist/darkside/version/7.9.0/component/tabs.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tag.css +128 -0
- package/dist/darkside/version/7.9.0/component/tag.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/theme.css +17 -0
- package/dist/darkside/version/7.9.0/component/theme.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/timeline.css +338 -0
- package/dist/darkside/version/7.9.0/component/timeline.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/togglegroup.css +116 -0
- package/dist/darkside/version/7.9.0/component/togglegroup.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/tooltip.css +108 -0
- package/dist/darkside/version/7.9.0/component/tooltip.min.css +1 -0
- package/dist/darkside/version/7.9.0/component/typography.css +254 -0
- package/dist/darkside/version/7.9.0/component/typography.min.css +1 -0
- package/dist/darkside/version/7.9.0/components.css +7493 -0
- package/dist/darkside/version/7.9.0/components.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/baseline.css +47 -0
- package/dist/darkside/version/7.9.0/global/baseline.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/fonts.css +109 -0
- package/dist/darkside/version/7.9.0/global/fonts.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/print.css +52 -0
- package/dist/darkside/version/7.9.0/global/print.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/reset.css +93 -0
- package/dist/darkside/version/7.9.0/global/reset.min.css +1 -0
- package/dist/darkside/version/7.9.0/global/tokens.css +896 -0
- package/dist/darkside/version/7.9.0/global/tokens.min.css +1 -0
- package/dist/darkside/version/7.9.0/index.css +8693 -0
- package/dist/darkside/version/7.9.0/index.min.css +1 -0
- package/dist/global/tokens.css +1 -1
- package/dist/global/tokens.min.css +1 -1
- package/dist/index.css +74 -49
- package/dist/index.min.css +4 -4
- package/form/form.css +0 -13
- package/form/select.css +5 -1
- package/form/switch.css +30 -19
- package/form/textarea.css +3 -6
- package/link.css +1 -1
- package/package.json +23 -9
- package/table.css +1 -1
- package/tag.css +12 -6
- package/tokens.json +3 -3
- package/typography.css +12 -0
- package/darkside/index copy.css +0 -37
- package/dist/component/index.css +0 -10103
- package/dist/component/index.min.css +0 -9
- /package/darkside/{baseline/theme.darkside.css → theme.darkside.css} +0 -0
package/dist/components.css
CHANGED
|
@@ -302,6 +302,18 @@
|
|
|
302
302
|
color: var(--ac-typo-error-text, var(--__ac-typo-error-text, var(--a-text-danger)));
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
+
.navds-error-message.navds-error-message--show-icon {
|
|
306
|
+
display: flex;
|
|
307
|
+
gap: var(--a-spacing-1);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.navds-error-message.navds-error-message--show-icon svg {
|
|
311
|
+
margin-top: 0.15em;
|
|
312
|
+
flex: 0 0 auto;
|
|
313
|
+
width: 1em;
|
|
314
|
+
height: 1em;
|
|
315
|
+
}
|
|
316
|
+
|
|
305
317
|
.navds-typo--truncate {
|
|
306
318
|
overflow: hidden;
|
|
307
319
|
white-space: nowrap;
|
|
@@ -735,7 +747,7 @@
|
|
|
735
747
|
margin-right: var(--ac-button-icon-margin);
|
|
736
748
|
}
|
|
737
749
|
|
|
738
|
-
.navds-
|
|
750
|
+
.navds-button--icon-only .navds-button__icon {
|
|
739
751
|
margin: 0;
|
|
740
752
|
}
|
|
741
753
|
|
|
@@ -1124,6 +1136,10 @@
|
|
|
1124
1136
|
|
|
1125
1137
|
/* Loader overrides */
|
|
1126
1138
|
|
|
1139
|
+
.navds-button .navds-loader {
|
|
1140
|
+
position: absolute;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1127
1143
|
.navds-button .navds-loader .navds-loader__foreground {
|
|
1128
1144
|
stroke: var(--ac-button-loader-stroke, currentColor);
|
|
1129
1145
|
}
|
|
@@ -1133,6 +1149,10 @@
|
|
|
1133
1149
|
stroke: var(--ac-button-primary-loader-stroke-bg, rgb(255 255 255 / 0.3));
|
|
1134
1150
|
}
|
|
1135
1151
|
|
|
1152
|
+
.navds-button--loading > :not(.navds-loader) {
|
|
1153
|
+
visibility: hidden;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1136
1156
|
@media (forced-colors: active) {
|
|
1137
1157
|
.navds-button:not(.navds-button--loading):where(:disabled, .navds-button--disabled) {
|
|
1138
1158
|
opacity: 1;
|
|
@@ -2684,19 +2704,6 @@ li.navds-file-item {
|
|
|
2684
2704
|
color: var(--ac-form-description, var(--__ac-form-description, var(--a-text-subtle)));
|
|
2685
2705
|
}
|
|
2686
2706
|
|
|
2687
|
-
.navds-form-field .navds-error-message,
|
|
2688
|
-
.navds-fieldset .navds-error-message,
|
|
2689
|
-
.navds-file-item .navds-error-message {
|
|
2690
|
-
display: flex;
|
|
2691
|
-
gap: var(--a-spacing-2);
|
|
2692
|
-
}
|
|
2693
|
-
|
|
2694
|
-
.navds-form-field .navds-error-message::before,
|
|
2695
|
-
.navds-fieldset .navds-error-message::before,
|
|
2696
|
-
.navds-file-item .navds-error-message::before {
|
|
2697
|
-
content: "•";
|
|
2698
|
-
}
|
|
2699
|
-
|
|
2700
2707
|
.navds-form-field--disabled {
|
|
2701
2708
|
opacity: 0.3;
|
|
2702
2709
|
cursor: not-allowed;
|
|
@@ -3272,11 +3279,15 @@ li.navds-file-item {
|
|
|
3272
3279
|
Error handling
|
|
3273
3280
|
*/
|
|
3274
3281
|
|
|
3275
|
-
.navds-select--error > *
|
|
3282
|
+
.navds-select--error > * .navds-select__input:not(:hover, :disabled) {
|
|
3276
3283
|
box-shadow: 0 0 0 1px var(--ac-select-error-border, var(--a-surface-danger));
|
|
3277
3284
|
border-color: var(--ac-select-error-border, var(--a-surface-danger));
|
|
3278
3285
|
}
|
|
3279
3286
|
|
|
3287
|
+
.navds-select--error .navds-select__input:focus {
|
|
3288
|
+
box-shadow: var(--a-shadow-focus);
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3280
3291
|
/**
|
|
3281
3292
|
Disabled
|
|
3282
3293
|
*/
|
|
@@ -3385,12 +3396,15 @@ li.navds-file-item {
|
|
|
3385
3396
|
.navds-switch__track {
|
|
3386
3397
|
width: 2.75rem;
|
|
3387
3398
|
height: 1.5rem;
|
|
3388
|
-
background-color: var(--ac-switch-bg, var(--a-surface-
|
|
3399
|
+
background-color: var(--ac-switch-bg, var(--a-surface-default));
|
|
3400
|
+
border: 2px solid var(--a-border-default);
|
|
3389
3401
|
position: absolute;
|
|
3390
3402
|
top: var(--a-spacing-3);
|
|
3391
3403
|
left: 0;
|
|
3392
3404
|
border-radius: var(--a-border-radius-full);
|
|
3393
|
-
transition: background-color
|
|
3405
|
+
transition-property: background-color, border-color;
|
|
3406
|
+
transition-duration: 100ms;
|
|
3407
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
3394
3408
|
}
|
|
3395
3409
|
|
|
3396
3410
|
.navds-switch--small > .navds-switch__track {
|
|
@@ -3405,18 +3419,20 @@ li.navds-file-item {
|
|
|
3405
3419
|
|
|
3406
3420
|
.navds-switch__input:checked ~ .navds-switch__track {
|
|
3407
3421
|
background-color: var(--ac-switch-checked-bg, var(--a-surface-action-selected));
|
|
3422
|
+
border-color: var(--ac-switch-checked-bg, var(--a-surface-action-selected));
|
|
3408
3423
|
}
|
|
3409
3424
|
|
|
3410
3425
|
.navds-switch__input:hover ~ .navds-switch__track {
|
|
3411
|
-
background-color: var(--ac-switch-hover-bg, var(--a-surface-
|
|
3426
|
+
background-color: var(--ac-switch-hover-bg, var(--a-surface-subtle));
|
|
3412
3427
|
}
|
|
3413
3428
|
|
|
3414
|
-
.navds-switch__input:hover:checked ~ .navds-switch__track {
|
|
3429
|
+
.navds-switch__input:hover:checked:not(:disabled) ~ .navds-switch__track {
|
|
3415
3430
|
background-color: var(--ac-switch-checked-hover-bg, var(--a-surface-action-selected-hover));
|
|
3431
|
+
border-color: var(--ac-switch-checked-hover-bg, var(--a-surface-action-selected-hover));
|
|
3416
3432
|
}
|
|
3417
3433
|
|
|
3418
3434
|
.navds-switch__input:disabled ~ .navds-switch__track {
|
|
3419
|
-
background-color: var(--ac-switch-bg, var(--a-surface-
|
|
3435
|
+
background-color: var(--ac-switch-bg, var(--a-surface-default));
|
|
3420
3436
|
}
|
|
3421
3437
|
|
|
3422
3438
|
.navds-switch__input:checked:disabled ~ .navds-switch__track {
|
|
@@ -3443,15 +3459,15 @@ li.navds-file-item {
|
|
|
3443
3459
|
/* Thumb */
|
|
3444
3460
|
|
|
3445
3461
|
.navds-switch__thumb {
|
|
3446
|
-
background-color: var(--ac-switch-thumb-bg, var(--a-surface-
|
|
3462
|
+
background-color: var(--ac-switch-thumb-bg, var(--a-surface-neutral));
|
|
3447
3463
|
color: var(--ac-switch-thumb-icon, var(--a-icon-subtle));
|
|
3448
3464
|
border-radius: var(--a-border-radius-full);
|
|
3449
|
-
width: 1.
|
|
3450
|
-
height: 1.
|
|
3465
|
+
width: 1.125rem;
|
|
3466
|
+
height: 1.125rem;
|
|
3451
3467
|
position: absolute;
|
|
3452
3468
|
transform: translateX(0);
|
|
3453
|
-
left:
|
|
3454
|
-
top:
|
|
3469
|
+
left: 0.0625rem;
|
|
3470
|
+
top: 0.0625rem;
|
|
3455
3471
|
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
3456
3472
|
display: flex;
|
|
3457
3473
|
align-items: center;
|
|
@@ -3461,6 +3477,11 @@ li.navds-file-item {
|
|
|
3461
3477
|
.navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
3462
3478
|
transform: translateX(1.25rem);
|
|
3463
3479
|
color: var(--ac-switch-thumb-icon-checked, var(--a-icon-action-selected));
|
|
3480
|
+
background-color: var(--a-surface-default);
|
|
3481
|
+
width: 1.25rem;
|
|
3482
|
+
height: 1.25rem;
|
|
3483
|
+
left: 0;
|
|
3484
|
+
top: 0;
|
|
3464
3485
|
}
|
|
3465
3486
|
|
|
3466
3487
|
.navds-switch__input:checked ~ .navds-switch__track .navds-switch__checkmark {
|
|
@@ -3511,6 +3532,7 @@ li.navds-file-item {
|
|
|
3511
3532
|
.navds-switch--readonly > .navds-switch__input:checked ~ .navds-switch__track,
|
|
3512
3533
|
.navds-switch--readonly > .navds-switch__input:checked:hover ~ .navds-switch__track {
|
|
3513
3534
|
background-color: var(--a-surface-neutral-moderate);
|
|
3535
|
+
border-color: var(--a-border-subtle);
|
|
3514
3536
|
}
|
|
3515
3537
|
|
|
3516
3538
|
.navds-switch--readonly > .navds-switch__label-wrapper,
|
|
@@ -3528,12 +3550,12 @@ li.navds-file-item {
|
|
|
3528
3550
|
}
|
|
3529
3551
|
|
|
3530
3552
|
.navds-switch--readonly .navds-switch__thumb {
|
|
3531
|
-
background-color: var(--a-surface-
|
|
3532
|
-
box-shadow: 0 0 0 2px var(--a-border-default);
|
|
3553
|
+
background-color: var(--a-surface-neutral);
|
|
3533
3554
|
}
|
|
3534
3555
|
|
|
3535
3556
|
.navds-switch--readonly > .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
3536
|
-
color: var(--a-icon-
|
|
3557
|
+
color: var(--a-icon-on-neutral);
|
|
3558
|
+
background-color: var(--a-surface-neutral);
|
|
3537
3559
|
}
|
|
3538
3560
|
|
|
3539
3561
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -3553,7 +3575,9 @@ li.navds-file-item {
|
|
|
3553
3575
|
}
|
|
3554
3576
|
|
|
3555
3577
|
.navds-switch__thumb,
|
|
3556
|
-
.navds-switch--readonly .navds-switch__thumb
|
|
3578
|
+
.navds-switch--readonly .navds-switch__thumb,
|
|
3579
|
+
.navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb,
|
|
3580
|
+
.navds-switch--readonly .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
3557
3581
|
background-color: fieldtext;
|
|
3558
3582
|
}
|
|
3559
3583
|
|
|
@@ -3562,11 +3586,8 @@ li.navds-file-item {
|
|
|
3562
3586
|
color: field;
|
|
3563
3587
|
}
|
|
3564
3588
|
|
|
3565
|
-
.navds-switch__track {
|
|
3566
|
-
|
|
3567
|
-
height: calc(1.5rem + 4px);
|
|
3568
|
-
top: var(--a-spacing-3);
|
|
3569
|
-
border: 2px solid fieldtext;
|
|
3589
|
+
.navds-switch--disabled:not(.navds-switch--loading) .navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
3590
|
+
background-color: graytext;
|
|
3570
3591
|
}
|
|
3571
3592
|
|
|
3572
3593
|
.navds-switch__input:focus-visible ~ .navds-switch__track {
|
|
@@ -3580,6 +3601,7 @@ li.navds-file-item {
|
|
|
3580
3601
|
|
|
3581
3602
|
.navds-switch--disabled:not(.navds-switch--loading) .navds-switch__thumb {
|
|
3582
3603
|
background-color: graytext;
|
|
3604
|
+
border-color: graytext;
|
|
3583
3605
|
}
|
|
3584
3606
|
|
|
3585
3607
|
.navds-switch--disabled:not(.navds-switch--loading) .navds-switch__track {
|
|
@@ -3782,16 +3804,13 @@ li.navds-file-item {
|
|
|
3782
3804
|
Error handling
|
|
3783
3805
|
*/
|
|
3784
3806
|
|
|
3785
|
-
.navds-textarea--error .navds-textarea__input:not(:hover, :
|
|
3807
|
+
.navds-textarea--error .navds-textarea__input:not(:hover, :disabled) {
|
|
3786
3808
|
box-shadow: 0 0 0 1px var(--ac-textarea-error-border, var(--__ac-textarea-error-border, var(--a-border-danger)));
|
|
3787
3809
|
border-color: var(--ac-textarea-error-border, var(--__ac-textarea-error-border, var(--a-border-danger)));
|
|
3788
3810
|
}
|
|
3789
3811
|
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
box-shadow: 0 0 0 1px var(--ac-textarea-error-border, var(--__ac-textarea-error-border, var(--a-border-danger)));
|
|
3793
|
-
border-color: var(--ac-textarea-error-border, var(--__ac-textarea-error-border, var(--a-border-danger)));
|
|
3794
|
-
}
|
|
3812
|
+
.navds-textarea--error .navds-textarea__input:focus-visible {
|
|
3813
|
+
box-shadow: var(--a-shadow-focus);
|
|
3795
3814
|
}
|
|
3796
3815
|
|
|
3797
3816
|
.navds-textarea__input:disabled {
|
|
@@ -4820,7 +4839,7 @@ button.navds-internalheader__title:active,
|
|
|
4820
4839
|
text-decoration: underline;
|
|
4821
4840
|
}
|
|
4822
4841
|
|
|
4823
|
-
.navds-alert .navds-link,
|
|
4842
|
+
.navds-alert:not(.navds-alert--inline) .navds-link,
|
|
4824
4843
|
.navds-confirmation-panel .navds-link {
|
|
4825
4844
|
color: var(--a-text-default);
|
|
4826
4845
|
}
|
|
@@ -5842,37 +5861,43 @@ button.navds-internalheader__title:active,
|
|
|
5842
5861
|
color: var(--ac-tag-neutral-moderate-text, var(--a-text-default));
|
|
5843
5862
|
}
|
|
5844
5863
|
|
|
5845
|
-
.navds-tag--alt1
|
|
5864
|
+
.navds-tag--alt1,
|
|
5865
|
+
.navds-tag--outline.navds-tag--meta-purple {
|
|
5846
5866
|
border-color: var(--ac-tag-alt-1-border, var(--a-border-alt-1));
|
|
5847
5867
|
background-color: var(--ac-tag-alt-1-bg, var(--a-surface-alt-1-subtle));
|
|
5848
5868
|
color: var(--ac-tag-alt-1-text, var(--a-text-default));
|
|
5849
5869
|
}
|
|
5850
5870
|
|
|
5851
|
-
.navds-tag--alt1-filled
|
|
5871
|
+
.navds-tag--alt1-filled,
|
|
5872
|
+
.navds-tag--strong.navds-tag--meta-purple {
|
|
5852
5873
|
border-color: transparent;
|
|
5853
5874
|
background-color: var(--ac-tag-alt-1-filled-bg, var(--a-surface-alt-1));
|
|
5854
5875
|
color: var(--ac-tag-alt-1-filled-text, var(--a-text-on-alt-1));
|
|
5855
5876
|
}
|
|
5856
5877
|
|
|
5857
|
-
.navds-tag--alt1-moderate
|
|
5878
|
+
.navds-tag--alt1-moderate,
|
|
5879
|
+
.navds-tag--moderate.navds-tag--meta-purple {
|
|
5858
5880
|
border-color: transparent;
|
|
5859
5881
|
background-color: var(--ac-tag-alt-1-moderate-bg, var(--a-surface-alt-1-moderate));
|
|
5860
5882
|
color: var(--ac-tag-alt-1-moderate-text, var(--a-text-default));
|
|
5861
5883
|
}
|
|
5862
5884
|
|
|
5863
|
-
.navds-tag--alt2
|
|
5885
|
+
.navds-tag--alt2,
|
|
5886
|
+
.navds-tag--outline.navds-tag--meta-lime {
|
|
5864
5887
|
border-color: var(--ac-tag-alt-2-border, var(--a-border-alt-2));
|
|
5865
5888
|
background-color: var(--ac-tag-alt-2-bg, var(--a-surface-alt-2-subtle));
|
|
5866
5889
|
color: var(--ac-tag-alt-2-text, var(--a-text-default));
|
|
5867
5890
|
}
|
|
5868
5891
|
|
|
5869
|
-
.navds-tag--alt2-filled
|
|
5892
|
+
.navds-tag--alt2-filled,
|
|
5893
|
+
.navds-tag--strong.navds-tag--meta-lime {
|
|
5870
5894
|
border-color: transparent;
|
|
5871
5895
|
background-color: var(--ac-tag-alt-2-filled-bg, var(--a-surface-alt-2));
|
|
5872
5896
|
color: var(--ac-tag-alt-2-filled-text, var(--a-text-on-alt-2));
|
|
5873
5897
|
}
|
|
5874
5898
|
|
|
5875
|
-
.navds-tag--alt2-moderate
|
|
5899
|
+
.navds-tag--alt2-moderate,
|
|
5900
|
+
.navds-tag--moderate.navds-tag--meta-lime {
|
|
5876
5901
|
border-color: transparent;
|
|
5877
5902
|
background-color: var(--ac-tag-alt-2-moderate-bg, var(--a-surface-alt-2-moderate));
|
|
5878
5903
|
color: var(--ac-tag-alt-2-moderate-text, var(--a-text-default));
|
|
@@ -7475,7 +7500,7 @@ button.navds-stepper__step {
|
|
|
7475
7500
|
transition: transform 150ms ease-in-out;
|
|
7476
7501
|
}
|
|
7477
7502
|
|
|
7478
|
-
.navds-table__toggle-expand-cell:hover {
|
|
7503
|
+
.navds-table__expandable-row:not(.navds-table__expandable-row--expansion-disabled) .navds-table__toggle-expand-cell:hover {
|
|
7479
7504
|
cursor: pointer;
|
|
7480
7505
|
}
|
|
7481
7506
|
|