@navikt/aksel-stylelint 7.30.1 → 7.32.0

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.
Files changed (2) hide show
  1. package/dist/index.css +28 -12
  2. package/package.json +5 -5
package/dist/index.css CHANGED
@@ -5,7 +5,7 @@
5
5
  */
6
6
 
7
7
  :root, :host {
8
- --ax-version: "7.30.1";
8
+ --ax-version: "7.32.0";
9
9
  --a-breakpoint-xs: 0;
10
10
  --a-breakpoint-sm: 480px;
11
11
  --a-breakpoint-sm-down: 479px;
@@ -5067,6 +5067,8 @@ li.navds-file-item {
5067
5067
  }
5068
5068
  }
5069
5069
 
5070
+ /* stylelint-disable csstools/value-no-unknown-custom-properties */
5071
+
5070
5072
  .navds-combobox__wrapper {
5071
5073
  --__ac-combobox-icon-size: 1.5rem;
5072
5074
  --__ac-combobox-wrapper-inner-padding: var(--a-spacing-2);
@@ -5308,13 +5310,9 @@ li.navds-file-item {
5308
5310
  /* dropdown & non selectable dropdown items */
5309
5311
 
5310
5312
  .navds-combobox__list {
5311
- max-height: 290px;
5313
+ /* stylelint-disable-next-line aksel/design-token-exists */
5314
+ width: var(--ac-floating-anchor-width);
5312
5315
  overflow-y: auto;
5313
- position: absolute;
5314
- left: 0;
5315
- right: 0;
5316
- z-index: var(--a-z-index-popover);
5317
- top: calc(100% + var(--a-spacing-2));
5318
5316
  border: 1px solid var(--ac-combobox-list-border-color, var(--a-border-divider));
5319
5317
  display: flex;
5320
5318
  flex-direction: column;
@@ -5322,7 +5320,6 @@ li.navds-file-item {
5322
5320
  border-radius: var(--a-border-radius-medium);
5323
5321
  background-color: var(--ac-combobox-list-bg, var(--a-surface-default));
5324
5322
  color: var(--ac-combobox-list-text, var(--a-text-default));
5325
- overscroll-behavior: contain;
5326
5323
  }
5327
5324
 
5328
5325
  .navds-combobox__list--closed {
@@ -5455,6 +5452,10 @@ li.navds-file-item {
5455
5452
  .navds-combobox__selected-options {
5456
5453
  gap: var(--a-spacing-1);
5457
5454
  }
5455
+
5456
+ .navds-combobox__list {
5457
+ overscroll-behavior: contain;
5458
+ }
5458
5459
  }
5459
5460
 
5460
5461
  @media (forced-colors: active) {
@@ -7944,7 +7945,8 @@ span.rdp-weeknumber {
7944
7945
  color: ButtonText;
7945
7946
  }
7946
7947
 
7947
- .navds-read-more__button.navds-read-more__button:focus-visible {
7948
+ .navds-read-more__button.navds-read-more__button:focus-visible,
7949
+ .navds-read-more__content.navds-read-more__content:focus-visible {
7948
7950
  box-shadow: none;
7949
7951
  outline: 2px solid highlight;
7950
7952
  outline-offset: 2px;
@@ -7960,13 +7962,15 @@ span.rdp-weeknumber {
7960
7962
  background-color: var(--ac-read-more-active-bg, var(--a-surface-active));
7961
7963
  }
7962
7964
 
7963
- .navds-read-more__button:focus-visible {
7965
+ .navds-read-more__button:focus-visible,
7966
+ .navds-read-more__content:focus-visible {
7964
7967
  outline: none;
7965
7968
  box-shadow: var(--a-shadow-focus);
7966
7969
  }
7967
7970
 
7968
7971
  @supports not selector(:focus-visible) {
7969
- .navds-read-more__button:focus {
7972
+ .navds-read-more__button:focus,
7973
+ .navds-read-more__content:focus {
7970
7974
  outline: none;
7971
7975
  box-shadow: var(--a-shadow-focus);
7972
7976
  }
@@ -8121,7 +8125,10 @@ span.rdp-weeknumber {
8121
8125
  }
8122
8126
 
8123
8127
  .navds-process__event[data-status="active"] .navds-process__bullet {
8124
- outline: 4px solid var(--a-surface-alt-3-subtle);
8128
+ z-index: 1;
8129
+ box-shadow: 0 0 0 2px var(--a-surface-default);
8130
+ outline: 2px solid var(--a-surface-alt-3);
8131
+ outline-offset: 2px;
8125
8132
  }
8126
8133
 
8127
8134
  .navds-process__event[data-status="uncompleted"] .navds-process__bullet {
@@ -8158,6 +8165,11 @@ span.rdp-weeknumber {
8158
8165
  outline-color: ButtonText;
8159
8166
  background-color: ButtonText;
8160
8167
  color: ButtonFace;
8168
+ forced-color-adjust: none;
8169
+ }
8170
+
8171
+ .navds-process__event[data-status="active"] .navds-process__bullet {
8172
+ box-shadow: 0 0 0 2px Canvas;
8161
8173
  }
8162
8174
 
8163
8175
  .navds-process__event:is([data-status="active"]) .navds-process__line {
@@ -8690,6 +8702,10 @@ button.navds-stepper__step {
8690
8702
  display: table-row;
8691
8703
  }
8692
8704
 
8705
+ .navds-table__row[data-interactive="true"]:hover {
8706
+ cursor: pointer;
8707
+ }
8708
+
8693
8709
  .navds-table__body .navds-table__row--shade-on-hover:hover {
8694
8710
  background-color: var(--ac-table-row-hover, var(--a-bg-subtle));
8695
8711
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-stylelint",
3
- "version": "7.30.1",
3
+ "version": "7.32.0",
4
4
  "author": "Aksel | Nav",
5
5
  "homepage": "https://aksel.nav.no/grunnleggende/kode/stylelint",
6
6
  "repository": {
@@ -35,14 +35,14 @@
35
35
  "dev": "yarn watch:lint"
36
36
  },
37
37
  "devDependencies": {
38
- "@navikt/ds-css": "^7.30.1",
39
- "@navikt/ds-tokens": "^7.30.1",
38
+ "@navikt/ds-css": "^7.32.0",
39
+ "@navikt/ds-tokens": "^7.32.0",
40
40
  "concurrently": "9.0.1",
41
41
  "postcss-selector-parser": "^7.1.0",
42
42
  "postcss-value-parser": "^4.2.0",
43
- "stylelint": "^16.19.1",
43
+ "stylelint": "^16.24.0",
44
44
  "stylelint-test-rule-node": "^0.4.0",
45
- "tsx": "^4.19.1",
45
+ "tsx": "^4.20.6",
46
46
  "typescript": "5.8.3"
47
47
  }
48
48
  }