@navikt/aksel-stylelint 7.30.1 → 7.31.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 +13 -8
  2. package/package.json +3 -3
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.31.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) {
@@ -8690,6 +8691,10 @@ button.navds-stepper__step {
8690
8691
  display: table-row;
8691
8692
  }
8692
8693
 
8694
+ .navds-table__row[data-interactive="true"]:hover {
8695
+ cursor: pointer;
8696
+ }
8697
+
8693
8698
  .navds-table__body .navds-table__row--shade-on-hover:hover {
8694
8699
  background-color: var(--ac-table-row-hover, var(--a-bg-subtle));
8695
8700
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-stylelint",
3
- "version": "7.30.1",
3
+ "version": "7.31.0",
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.30.1",
39
- "@navikt/ds-tokens": "^7.30.1",
38
+ "@navikt/ds-css": "^7.31.0",
39
+ "@navikt/ds-tokens": "^7.31.0",
40
40
  "concurrently": "9.0.1",
41
41
  "postcss-selector-parser": "^7.1.0",
42
42
  "postcss-value-parser": "^4.2.0",