@navikt/aksel-stylelint 5.11.0 → 5.11.2
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 +6 -10
- package/dist/tokens.json +4 -4
- package/package.json +3 -3
package/dist/index.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
/**
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 24 Nov 2023 18:42:00 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-1-alt: 0.375rem;
|
|
@@ -3091,7 +3091,7 @@ body,
|
|
|
3091
3091
|
}
|
|
3092
3092
|
.navds-switch__input:hover ~ .navds-switch__label-wrapper,
|
|
3093
3093
|
.navds-switch__label-wrapper:hover {
|
|
3094
|
-
color: var(--ac-switch-action, var(--a-surface-action));
|
|
3094
|
+
color: var(--ac-switch-action, var(--a-surface-action-selected));
|
|
3095
3095
|
}
|
|
3096
3096
|
.navds-switch__input:disabled:hover ~ .navds-switch__label-wrapper {
|
|
3097
3097
|
color: inherit;
|
|
@@ -3116,19 +3116,19 @@ body,
|
|
|
3116
3116
|
left: auto;
|
|
3117
3117
|
}
|
|
3118
3118
|
.navds-switch__input:checked ~ .navds-switch__track {
|
|
3119
|
-
background-color: var(--ac-switch-checked-bg, var(--a-surface-
|
|
3119
|
+
background-color: var(--ac-switch-checked-bg, var(--a-surface-action-selected));
|
|
3120
3120
|
}
|
|
3121
3121
|
.navds-switch__input:hover ~ .navds-switch__track {
|
|
3122
3122
|
background-color: var(--ac-switch-hover-bg, var(--a-surface-neutral-hover));
|
|
3123
3123
|
}
|
|
3124
3124
|
.navds-switch__input:hover:checked ~ .navds-switch__track {
|
|
3125
|
-
background-color: var(--ac-switch-checked-hover-bg, var(--a-surface-
|
|
3125
|
+
background-color: var(--ac-switch-checked-hover-bg, var(--a-surface-action-selected-hover));
|
|
3126
3126
|
}
|
|
3127
3127
|
.navds-switch__input:disabled ~ .navds-switch__track {
|
|
3128
3128
|
background-color: var(--ac-switch-bg, var(--a-surface-neutral));
|
|
3129
3129
|
}
|
|
3130
3130
|
.navds-switch__input:checked:disabled ~ .navds-switch__track {
|
|
3131
|
-
background-color: var(--ac-switch-checked-bg, var(--a-border-
|
|
3131
|
+
background-color: var(--ac-switch-checked-bg, var(--a-border-action-selected));
|
|
3132
3132
|
}
|
|
3133
3133
|
.navds-switch__input:focus-visible ~ .navds-switch__track {
|
|
3134
3134
|
box-shadow: 0 0 0 1px var(--a-surface-default), var(--a-shadow-focus);
|
|
@@ -3156,7 +3156,7 @@ body,
|
|
|
3156
3156
|
}
|
|
3157
3157
|
.navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb {
|
|
3158
3158
|
transform: translateX(1.25rem);
|
|
3159
|
-
color: var(--ac-switch-thumb-icon-checked, var(--a-icon-
|
|
3159
|
+
color: var(--ac-switch-thumb-icon-checked, var(--a-icon-action-selected));
|
|
3160
3160
|
}
|
|
3161
3161
|
@media (hover: hover) and (pointer: fine) {
|
|
3162
3162
|
.navds-switch__input:hover ~ .navds-switch__track > .navds-switch__thumb {
|
|
@@ -3173,10 +3173,6 @@ body,
|
|
|
3173
3173
|
.navds-switch__input:checked:disabled:hover ~ .navds-switch__track > .navds-switch__thumb {
|
|
3174
3174
|
transform: translateX(1.25rem);
|
|
3175
3175
|
}
|
|
3176
|
-
/* Loader */
|
|
3177
|
-
.navds-switch__input:checked ~ .navds-switch__track > .navds-switch__thumb .navds-loader__foreground {
|
|
3178
|
-
stroke: var(--ac-switch-thumb-icon-checked, var(--a-icon-success));
|
|
3179
|
-
}
|
|
3180
3176
|
/* Disabled */
|
|
3181
3177
|
.navds-switch__input:disabled {
|
|
3182
3178
|
appearance: none;
|
package/dist/tokens.json
CHANGED
|
@@ -401,14 +401,14 @@
|
|
|
401
401
|
"--ac-select-error-border": "--a-surface-danger"
|
|
402
402
|
},
|
|
403
403
|
"switch": {
|
|
404
|
-
"--ac-switch-action": "--a-surface-action",
|
|
404
|
+
"--ac-switch-action": "--a-surface-action-selected",
|
|
405
405
|
"--ac-switch-bg": "--a-surface-neutral",
|
|
406
|
-
"--ac-switch-checked-bg": "--a-surface-
|
|
406
|
+
"--ac-switch-checked-bg": "--a-surface-action-selected",
|
|
407
407
|
"--ac-switch-hover-bg": "--a-surface-neutral-hover",
|
|
408
|
-
"--ac-switch-checked-hover-bg": "--a-surface-
|
|
408
|
+
"--ac-switch-checked-hover-bg": "--a-surface-action-selected-hover",
|
|
409
409
|
"--ac-switch-thumb-bg": "--a-surface-default",
|
|
410
410
|
"--ac-switch-thumb-icon": "--a-icon-subtle",
|
|
411
|
-
"--ac-switch-thumb-icon-checked": "--a-icon-
|
|
411
|
+
"--ac-switch-thumb-icon-checked": "--a-icon-action-selected"
|
|
412
412
|
},
|
|
413
413
|
"textfield": {
|
|
414
414
|
"--ac-textfield-bg": "--a-surface-default",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.2",
|
|
4
4
|
"author": "Aksel | NAV",
|
|
5
5
|
"homepage": "https://aksel.nav.no/grunnleggende/kode/stylelint",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"dev": "yarn watch:lint"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@navikt/ds-css": "^5.11.
|
|
39
|
-
"@navikt/ds-tokens": "^5.11.
|
|
38
|
+
"@navikt/ds-css": "^5.11.2",
|
|
39
|
+
"@navikt/ds-tokens": "^5.11.2",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|