@navikt/aksel-stylelint 7.1.0 → 7.1.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/deprecations.js +4 -0
- package/dist/index.css +69 -53
- package/package.json +3 -3
package/dist/deprecations.js
CHANGED
package/dist/index.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Do not edit directly, this file was auto-generated.
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
|
-
--a-version: "7.1.
|
|
6
|
+
--a-version: "7.1.2";
|
|
7
7
|
--a-spacing-1-alt: 0.375rem;
|
|
8
8
|
--a-spacing-05: 0.125rem;
|
|
9
9
|
--a-spacing-32: 8rem;
|
|
@@ -3471,6 +3471,9 @@ body,
|
|
|
3471
3471
|
border-color: var(--a-border-subtle);
|
|
3472
3472
|
cursor: default;
|
|
3473
3473
|
}
|
|
3474
|
+
.navds-select--readonly .navds-select__chevron {
|
|
3475
|
+
color: var(--a-gray-500);
|
|
3476
|
+
}
|
|
3474
3477
|
.navds-switch {
|
|
3475
3478
|
position: relative;
|
|
3476
3479
|
min-height: 3rem;
|
|
@@ -4089,6 +4092,29 @@ body,
|
|
|
4089
4092
|
--__ac-combobox-list-item-padding-inline: var(--a-spacing-2);
|
|
4090
4093
|
--__ac-combobox-input-height: 1.5rem;
|
|
4091
4094
|
}
|
|
4095
|
+
.navds-combobox--disabled {
|
|
4096
|
+
opacity: 0.3;
|
|
4097
|
+
}
|
|
4098
|
+
.navds-combobox--disabled .navds-combobox__wrapper *:hover {
|
|
4099
|
+
cursor: not-allowed;
|
|
4100
|
+
}
|
|
4101
|
+
.navds-combobox--disabled .navds-text-field__input {
|
|
4102
|
+
border: 1px solid var(--a-border-default);
|
|
4103
|
+
}
|
|
4104
|
+
.navds-combobox--disabled .navds-combobox__selected-options {
|
|
4105
|
+
pointer-events: none;
|
|
4106
|
+
}
|
|
4107
|
+
.navds-combobox--readonly {
|
|
4108
|
+
pointer-events: none;
|
|
4109
|
+
}
|
|
4110
|
+
.navds-combobox--readonly .navds-combobox__button-toggle-list {
|
|
4111
|
+
color: var(--a-gray-500);
|
|
4112
|
+
}
|
|
4113
|
+
.navds-combobox--readonly .navds-text-field__input,
|
|
4114
|
+
.navds-combobox--readonly .navds-combobox__input {
|
|
4115
|
+
background-color: var(--a-surface-subtle);
|
|
4116
|
+
border-color: var(--a-border-subtle);
|
|
4117
|
+
}
|
|
4092
4118
|
.navds-combobox__button-clear svg,
|
|
4093
4119
|
.navds-combobox__button-toggle-list svg,
|
|
4094
4120
|
.navds-combobox__list svg {
|
|
@@ -5424,6 +5450,7 @@ button.navds-internalheader__title:active,
|
|
|
5424
5450
|
/* Readonly */
|
|
5425
5451
|
.navds-date__field--readonly .navds-date__field-button {
|
|
5426
5452
|
cursor: default;
|
|
5453
|
+
color: var(--a-gray-500);
|
|
5427
5454
|
}
|
|
5428
5455
|
.navds-date__caption-button {
|
|
5429
5456
|
width: 2rem;
|
|
@@ -7179,78 +7206,67 @@ button.navds-stepper__step {
|
|
|
7179
7206
|
padding: 0;
|
|
7180
7207
|
margin-block: var(--a-spacing-4);
|
|
7181
7208
|
}
|
|
7182
|
-
.navds-list--nested ul,
|
|
7183
|
-
.navds-list--nested ol {
|
|
7184
|
-
margin-block: var(--a-spacing-2);
|
|
7185
|
-
}
|
|
7186
7209
|
.navds-list--small ul,
|
|
7187
7210
|
.navds-list--small ol {
|
|
7188
7211
|
margin-block: var(--a-spacing-3);
|
|
7189
7212
|
}
|
|
7190
|
-
.navds-list
|
|
7213
|
+
.navds-list .navds-list :where(ul, ol) {
|
|
7214
|
+
margin-block: var(--a-spacing-2) 0;
|
|
7215
|
+
}
|
|
7216
|
+
.navds-list ol {
|
|
7217
|
+
list-style: decimal; /* This is the default value, but some frameworks have `ol,ul { list-style:none }` */
|
|
7218
|
+
padding-left: 1.7rem;
|
|
7219
|
+
}
|
|
7220
|
+
.navds-list ol > .navds-list__item {
|
|
7221
|
+
padding-left: 0.3rem;
|
|
7222
|
+
}
|
|
7223
|
+
/* SAFARI HACK START */
|
|
7224
|
+
/* stylelint-disable selector-type-no-unknown */
|
|
7225
|
+
_::-webkit-full-page-media,
|
|
7226
|
+
_:future,
|
|
7227
|
+
:root .navds-list ol {
|
|
7228
|
+
padding-left: 2.1rem;
|
|
7229
|
+
}
|
|
7230
|
+
_::-webkit-full-page-media,
|
|
7231
|
+
_:future,
|
|
7232
|
+
:root .navds-list ol .navds-list__item {
|
|
7233
|
+
padding-left: 0;
|
|
7234
|
+
}
|
|
7235
|
+
/* SAFARI HACK END */
|
|
7236
|
+
/* stylelint-enable selector-type-no-unknown */
|
|
7237
|
+
.navds-list__item {
|
|
7191
7238
|
margin-block-end: var(--a-spacing-2);
|
|
7192
7239
|
}
|
|
7193
|
-
.navds-
|
|
7194
|
-
|
|
7195
|
-
margin-bottom: 0;
|
|
7240
|
+
.navds-list__item:last-child {
|
|
7241
|
+
margin-block-end: 0;
|
|
7196
7242
|
}
|
|
7197
|
-
.navds-list ul .navds-list__item {
|
|
7243
|
+
.navds-list ul > .navds-list__item {
|
|
7198
7244
|
display: grid;
|
|
7199
7245
|
grid-template-columns: auto 1fr;
|
|
7200
|
-
gap: var(--a-spacing-
|
|
7201
|
-
padding-left: 0;
|
|
7246
|
+
gap: var(--a-spacing-2);
|
|
7202
7247
|
}
|
|
7203
|
-
.navds-list
|
|
7204
|
-
|
|
7248
|
+
.navds-list ol li::marker {
|
|
7249
|
+
font-weight: var(--a-font-weight-bold);
|
|
7250
|
+
color: var(--ac-list-marker-ol-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7205
7251
|
}
|
|
7206
|
-
.navds-
|
|
7207
|
-
|
|
7208
|
-
display: flex;
|
|
7252
|
+
.navds-list__item-marker {
|
|
7253
|
+
width: 1.5rem;
|
|
7209
7254
|
}
|
|
7210
|
-
.navds-list .navds-list__item-marker
|
|
7255
|
+
.navds-list ul > li > .navds-list__item-marker {
|
|
7211
7256
|
display: flex;
|
|
7212
7257
|
align-items: center;
|
|
7213
7258
|
height: var(--a-font-line-height-xlarge);
|
|
7214
|
-
grid-column: 1 / 2;
|
|
7215
|
-
color: var(--ac-list-marker-ul-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7216
7259
|
}
|
|
7217
|
-
.navds-list--small .navds-list__item-marker
|
|
7260
|
+
.navds-list--small ul > li > .navds-list__item-marker {
|
|
7218
7261
|
height: var(--a-font-line-height-large);
|
|
7219
7262
|
}
|
|
7263
|
+
.navds-list__item-marker--bullet {
|
|
7264
|
+
padding-left: 0.8rem;
|
|
7265
|
+
color: var(--ac-list-marker-ul-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7266
|
+
}
|
|
7220
7267
|
.navds-list__item-marker--icon {
|
|
7221
|
-
color: var(--ac-list-marker-icon-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7222
|
-
display: flex;
|
|
7223
|
-
align-items: center;
|
|
7224
|
-
height: var(--a-font-line-height-xlarge);
|
|
7225
|
-
padding-block-end: 1px;
|
|
7226
7268
|
font-size: 1.5rem;
|
|
7227
|
-
|
|
7228
|
-
.navds-list--small .navds-list__item-marker--icon {
|
|
7229
|
-
height: var(--a-font-line-height-large);
|
|
7230
|
-
}
|
|
7231
|
-
.navds-list__item-marker--icon svg {
|
|
7232
|
-
flex-shrink: 0;
|
|
7233
|
-
}
|
|
7234
|
-
.navds-list ul .navds-list__item-content {
|
|
7235
|
-
grid-column: 2 / 3;
|
|
7236
|
-
}
|
|
7237
|
-
.navds-list ol {
|
|
7238
|
-
padding-left: var(--a-spacing-2);
|
|
7239
|
-
list-style: decimal;
|
|
7240
|
-
}
|
|
7241
|
-
.navds-list ol li {
|
|
7242
|
-
padding-left: var(--a-spacing-1);
|
|
7243
|
-
margin-left: var(--a-spacing-2);
|
|
7244
|
-
}
|
|
7245
|
-
.navds-list ol li::marker {
|
|
7246
|
-
font-weight: var(--a-font-weight-bold);
|
|
7247
|
-
font-size: var(--a-font-size-large);
|
|
7248
|
-
color: var(--ac-list-marker-ol-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7249
|
-
line-height: var(--a-font-line-height-xlarge);
|
|
7250
|
-
}
|
|
7251
|
-
.navds-list--small ol li::marker {
|
|
7252
|
-
font-size: var(--a-font-size-small);
|
|
7253
|
-
line-height: var(--a-font-line-height-large);
|
|
7269
|
+
color: var(--ac-list-marker-icon-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7254
7270
|
}
|
|
7255
7271
|
.navds-box-bg {
|
|
7256
7272
|
--__ac-box-background: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.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": "^7.1.
|
|
39
|
-
"@navikt/ds-tokens": "^7.1.
|
|
38
|
+
"@navikt/ds-css": "^7.1.2",
|
|
39
|
+
"@navikt/ds-tokens": "^7.1.2",
|
|
40
40
|
"concurrently": "7.2.1",
|
|
41
41
|
"postcss-selector-parser": "^6.0.13",
|
|
42
42
|
"postcss-value-parser": "^4.2.0",
|