@navikt/aksel-stylelint 7.1.0 → 7.1.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/deprecations.js +4 -0
- package/dist/index.css +68 -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.1";
|
|
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,66 @@ 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
|
+
padding-left: 1.7rem;
|
|
7218
|
+
}
|
|
7219
|
+
.navds-list ol > .navds-list__item {
|
|
7220
|
+
padding-left: 0.3rem;
|
|
7221
|
+
}
|
|
7222
|
+
/* SAFARI HACK START */
|
|
7223
|
+
/* stylelint-disable selector-type-no-unknown */
|
|
7224
|
+
_::-webkit-full-page-media,
|
|
7225
|
+
_:future,
|
|
7226
|
+
:root .navds-list ol {
|
|
7227
|
+
padding-left: 2.1rem;
|
|
7228
|
+
}
|
|
7229
|
+
_::-webkit-full-page-media,
|
|
7230
|
+
_:future,
|
|
7231
|
+
:root .navds-list ol .navds-list__item {
|
|
7232
|
+
padding-left: 0;
|
|
7233
|
+
}
|
|
7234
|
+
/* SAFARI HACK END */
|
|
7235
|
+
/* stylelint-enable selector-type-no-unknown */
|
|
7236
|
+
.navds-list__item {
|
|
7191
7237
|
margin-block-end: var(--a-spacing-2);
|
|
7192
7238
|
}
|
|
7193
|
-
.navds-
|
|
7194
|
-
|
|
7195
|
-
margin-bottom: 0;
|
|
7239
|
+
.navds-list__item:last-child {
|
|
7240
|
+
margin-block-end: 0;
|
|
7196
7241
|
}
|
|
7197
|
-
.navds-list ul .navds-list__item {
|
|
7242
|
+
.navds-list ul > .navds-list__item {
|
|
7198
7243
|
display: grid;
|
|
7199
7244
|
grid-template-columns: auto 1fr;
|
|
7200
|
-
gap: var(--a-spacing-
|
|
7201
|
-
padding-left: 0;
|
|
7245
|
+
gap: var(--a-spacing-2);
|
|
7202
7246
|
}
|
|
7203
|
-
.navds-list
|
|
7204
|
-
|
|
7247
|
+
.navds-list ol li::marker {
|
|
7248
|
+
font-weight: var(--a-font-weight-bold);
|
|
7249
|
+
color: var(--ac-list-marker-ol-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7205
7250
|
}
|
|
7206
|
-
.navds-
|
|
7207
|
-
|
|
7208
|
-
display: flex;
|
|
7251
|
+
.navds-list__item-marker {
|
|
7252
|
+
width: 1.5rem;
|
|
7209
7253
|
}
|
|
7210
|
-
.navds-list .navds-list__item-marker
|
|
7254
|
+
.navds-list ul > li > .navds-list__item-marker {
|
|
7211
7255
|
display: flex;
|
|
7212
7256
|
align-items: center;
|
|
7213
7257
|
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
7258
|
}
|
|
7217
|
-
.navds-list--small .navds-list__item-marker
|
|
7259
|
+
.navds-list--small ul > li > .navds-list__item-marker {
|
|
7218
7260
|
height: var(--a-font-line-height-large);
|
|
7219
7261
|
}
|
|
7262
|
+
.navds-list__item-marker--bullet {
|
|
7263
|
+
padding-left: 0.8rem;
|
|
7264
|
+
color: var(--ac-list-marker-ul-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7265
|
+
}
|
|
7220
7266
|
.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
7267
|
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);
|
|
7268
|
+
color: var(--ac-list-marker-icon-color, var(--ac-list-marker-color, var(--a-icon-default)));
|
|
7254
7269
|
}
|
|
7255
7270
|
.navds-box-bg {
|
|
7256
7271
|
--__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.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": "^7.1.
|
|
39
|
-
"@navikt/ds-tokens": "^7.1.
|
|
38
|
+
"@navikt/ds-css": "^7.1.1",
|
|
39
|
+
"@navikt/ds-tokens": "^7.1.1",
|
|
40
40
|
"concurrently": "7.2.1",
|
|
41
41
|
"postcss-selector-parser": "^6.0.13",
|
|
42
42
|
"postcss-value-parser": "^4.2.0",
|