@navikt/aksel-stylelint 4.6.0 → 4.6.1
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 +16 -3
- 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 Mon, 03 Jul 2023
|
|
4
|
+
* Generated on Mon, 03 Jul 2023 12:42:49 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -2384,6 +2384,9 @@ body,
|
|
|
2384
2384
|
.navds-fieldset__legend {
|
|
2385
2385
|
padding: 0;
|
|
2386
2386
|
}
|
|
2387
|
+
.navds-fieldset--readonly > :where(.navds-fieldset__legend) {
|
|
2388
|
+
display: inline-flex;
|
|
2389
|
+
}
|
|
2387
2390
|
.navds-fieldset:disabled > .navds-fieldset__legend,
|
|
2388
2391
|
.navds-fieldset:disabled > .navds-fieldset__description {
|
|
2389
2392
|
opacity: 0.3;
|
|
@@ -2416,10 +2419,14 @@ body,
|
|
|
2416
2419
|
.navds-form-field__subdescription {
|
|
2417
2420
|
color: var(--ac-form-subdescription, var(--a-text-subtle));
|
|
2418
2421
|
}
|
|
2422
|
+
.navds-form-field--readonly > :where(.navds-form-field__label) {
|
|
2423
|
+
display: inline-flex;
|
|
2424
|
+
}
|
|
2419
2425
|
.navds-form-field__readonly-icon {
|
|
2426
|
+
margin-top: var(--a-spacing-05);
|
|
2420
2427
|
margin-right: var(--a-spacing-2);
|
|
2421
|
-
|
|
2422
|
-
|
|
2428
|
+
flex-shrink: 0;
|
|
2429
|
+
align-self: flex-start;
|
|
2423
2430
|
}
|
|
2424
2431
|
.navds-error-summary {
|
|
2425
2432
|
background-color: var(--ac-error-summary-bg, var(--a-surface-default));
|
|
@@ -2697,6 +2704,9 @@ body,
|
|
|
2697
2704
|
.navds-radio--readonly > :where(.navds-radio__input, .navds-radio__label) {
|
|
2698
2705
|
cursor: default;
|
|
2699
2706
|
}
|
|
2707
|
+
.navds-checkbox--readonly .navds-checkbox__label-text {
|
|
2708
|
+
display: inline-flex;
|
|
2709
|
+
}
|
|
2700
2710
|
.navds-checkbox--readonly > .navds-checkbox__input:hover + .navds-checkbox__label,
|
|
2701
2711
|
.navds-radio--readonly > .navds-radio__input:hover + .navds-radio__label {
|
|
2702
2712
|
color: var(--a-text-default);
|
|
@@ -2974,6 +2984,9 @@ body,
|
|
|
2974
2984
|
.navds-switch--readonly .navds-switch__label-wrapper:hover {
|
|
2975
2985
|
color: var(--a-text-default);
|
|
2976
2986
|
}
|
|
2987
|
+
.navds-switch--readonly .navds-switch__label {
|
|
2988
|
+
display: inline-flex;
|
|
2989
|
+
}
|
|
2977
2990
|
.navds-switch--readonly .navds-switch__thumb {
|
|
2978
2991
|
background-color: var(--a-surface-subtle);
|
|
2979
2992
|
box-shadow: 0 0 0 2px var(--a-border-default);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.1",
|
|
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": "^4.6.
|
|
39
|
-
"@navikt/ds-tokens": "^4.6.
|
|
38
|
+
"@navikt/ds-css": "^4.6.1",
|
|
39
|
+
"@navikt/ds-tokens": "^4.6.1",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|