@navikt/aksel-stylelint 4.8.0 → 4.9.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 +23 -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 Wed, 09 Aug 2023 12:42:07 GMT
|
|
5
5
|
*/
|
|
6
6
|
:root, :host {
|
|
7
7
|
--a-spacing-05: 0.125rem;
|
|
@@ -3317,9 +3317,10 @@ body,
|
|
|
3317
3317
|
position: relative;
|
|
3318
3318
|
display: flex;
|
|
3319
3319
|
flex-direction: row;
|
|
3320
|
+
align-items: center;
|
|
3320
3321
|
justify-content: space-between;
|
|
3321
3322
|
width: 100%;
|
|
3322
|
-
|
|
3323
|
+
padding: calc(var(--a-spacing-2) - 2px) var(--a-spacing-2);
|
|
3323
3324
|
}
|
|
3324
3325
|
.navds-combobox__wrapper-inner > :first-child {
|
|
3325
3326
|
flex: 2;
|
|
@@ -3336,6 +3337,7 @@ body,
|
|
|
3336
3337
|
}
|
|
3337
3338
|
.navds-combobox__selected-options {
|
|
3338
3339
|
gap: var(--a-spacing-2);
|
|
3340
|
+
align-items: center;
|
|
3339
3341
|
}
|
|
3340
3342
|
.navds-combobox__selected-options > li {
|
|
3341
3343
|
margin: auto 0;
|
|
@@ -3365,6 +3367,7 @@ body,
|
|
|
3365
3367
|
margin: 0;
|
|
3366
3368
|
min-width: 10ch;
|
|
3367
3369
|
width: 100%;
|
|
3370
|
+
height: 2rem;
|
|
3368
3371
|
}
|
|
3369
3372
|
.navds-combobox__input:focus-visible {
|
|
3370
3373
|
outline: none;
|
|
@@ -3379,7 +3382,7 @@ body,
|
|
|
3379
3382
|
box-shadow: none;
|
|
3380
3383
|
}
|
|
3381
3384
|
@supports not selector(:focus-visible) {
|
|
3382
|
-
.navds-combobox__input:focus
|
|
3385
|
+
.navds-combobox__input:focus {
|
|
3383
3386
|
outline: none;
|
|
3384
3387
|
border: none;
|
|
3385
3388
|
box-shadow: none;
|
|
@@ -3394,6 +3397,16 @@ body,
|
|
|
3394
3397
|
box-shadow: none;
|
|
3395
3398
|
}
|
|
3396
3399
|
}
|
|
3400
|
+
@supports not selector(:has) {
|
|
3401
|
+
.navds-combobox--focused .navds-combobox__wrapper-inner {
|
|
3402
|
+
box-shadow: 0 0 0 1px var(--a-surface-default) inset, var(--a-shadow-focus);
|
|
3403
|
+
box-shadow: var(--a-shadow-focus);
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3406
|
+
.navds-combobox--focused .navds-combobox__wrapper-inner.navds-combobox__wrapper-inner--virtually-unfocused {
|
|
3407
|
+
box-shadow: none;
|
|
3408
|
+
}
|
|
3409
|
+
}
|
|
3397
3410
|
.navds-combobox__button-clear {
|
|
3398
3411
|
border-radius: var(--a-border-radius-medium);
|
|
3399
3412
|
color: var(--ac-combobox-clear-icon, var(--a-text-subtle));
|
|
@@ -3517,6 +3530,9 @@ body,
|
|
|
3517
3530
|
.navds-combobox__list-item--selected {
|
|
3518
3531
|
background-color: var(--ac-combobox-list-item-selected-bg, var(--a-surface-selected));
|
|
3519
3532
|
}
|
|
3533
|
+
.navds-combobox__list-item--selected p {
|
|
3534
|
+
font-weight: var(--a-font-weight-bold);
|
|
3535
|
+
}
|
|
3520
3536
|
.navds-combobox__list-item--selected.navds-combobox__list-item--focus,
|
|
3521
3537
|
.navds-combobox__list-item--selected:hover {
|
|
3522
3538
|
background-color: var(--ac-combobox-list-item-selected-hover-bg, var(--a-surface-action-subtle-hover));
|
|
@@ -5301,7 +5317,7 @@ button.navds-stepper__step {
|
|
|
5301
5317
|
.navds-table__row {
|
|
5302
5318
|
display: table-row;
|
|
5303
5319
|
}
|
|
5304
|
-
.navds-table__body .navds-table__row--shade-on-hover:hover {
|
|
5320
|
+
.navds-table__body .navds-table__row--shade-on-hover:not(.navds-table__expandable-row--expansion-disabled):hover {
|
|
5305
5321
|
background-color: var(--ac-table-row-hover, var(--a-bg-subtle));
|
|
5306
5322
|
}
|
|
5307
5323
|
.navds-table__row--selected {
|
|
@@ -5412,6 +5428,9 @@ button.navds-stepper__step {
|
|
|
5412
5428
|
.navds-table__expandable-row:not(.navds-table__expandable-row--open) .navds-table__data-cell {
|
|
5413
5429
|
transition: border-bottom-color 190ms cubic-bezier(0.6, 0.04, 0.98, 0.335);
|
|
5414
5430
|
}
|
|
5431
|
+
.navds-table__expandable-row:not(.navds-table__expandable-row--expansion-disabled):hover {
|
|
5432
|
+
cursor: pointer;
|
|
5433
|
+
}
|
|
5415
5434
|
.navds-table__expandable-row--open .navds-table__data-cell {
|
|
5416
5435
|
border-bottom-color: transparent;
|
|
5417
5436
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@navikt/aksel-stylelint",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.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.
|
|
39
|
-
"@navikt/ds-tokens": "^4.
|
|
38
|
+
"@navikt/ds-css": "^4.9.1",
|
|
39
|
+
"@navikt/ds-tokens": "^4.9.1",
|
|
40
40
|
"@types/jest": "^29.0.0",
|
|
41
41
|
"concurrently": "7.2.1",
|
|
42
42
|
"copyfiles": "2.4.1",
|