@navikt/aksel-stylelint 7.35.1 → 7.35.3

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 +34 -2
  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.35.1";
8
+ --ax-version: "7.35.3";
9
9
  --a-breakpoint-xs: 0;
10
10
  --a-breakpoint-sm: 480px;
11
11
  --a-breakpoint-sm-down: 479px;
@@ -4350,7 +4350,7 @@ li.navds-file-item {
4350
4350
  background-color: var(--a-icon-subtle);
4351
4351
  }
4352
4352
 
4353
- @media (forced-colors: active) {
4353
+ @media screen and (forced-colors: active) {
4354
4354
  .navds-checkbox__input:focus + .navds-checkbox__label::before,
4355
4355
  .navds-radio__input:focus + .navds-radio__label::before {
4356
4356
  outline-color: highlight;
@@ -4428,6 +4428,38 @@ li.navds-file-item {
4428
4428
  }
4429
4429
  }
4430
4430
 
4431
+ @media print {
4432
+ .navds-checkbox__label::before,
4433
+ .navds-radio__label::before {
4434
+ border: 1px solid black;
4435
+ }
4436
+
4437
+ .navds-radio__input:checked + .navds-radio__label::before {
4438
+ border: 1px solid black;
4439
+ outline: 4px solid black;
4440
+ outline-offset: -5px;
4441
+ }
4442
+
4443
+ .navds-checkbox__label::before {
4444
+ outline: 2px solid black;
4445
+ }
4446
+
4447
+ .navds-checkbox__icon {
4448
+ height: calc(1.5rem - 4px) !important;
4449
+ margin-top: 2px;
4450
+ }
4451
+
4452
+ .navds-checkbox--small .navds-checkbox__icon {
4453
+ height: calc(1.5rem - 9px) !important;
4454
+ margin-top: 4px;
4455
+ }
4456
+
4457
+ .navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
4458
+ outline: 2px solid black;
4459
+ outline-offset: -2px;
4460
+ }
4461
+ }
4462
+
4431
4463
  .navds-select__input {
4432
4464
  appearance: none;
4433
4465
  background-color: var(--ac-select-bg, var(--a-surface-default));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-stylelint",
3
- "version": "7.35.1",
3
+ "version": "7.35.3",
4
4
  "author": "Aksel | Nav",
5
5
  "homepage": "https://aksel.nav.no/grunnleggende/kode/stylelint",
6
6
  "repository": {
@@ -38,8 +38,8 @@
38
38
  "dev": "yarn watch:lint"
39
39
  },
40
40
  "devDependencies": {
41
- "@navikt/ds-css": "^7.35.1",
42
- "@navikt/ds-tokens": "^7.35.1",
41
+ "@navikt/ds-css": "^7.35.3",
42
+ "@navikt/ds-tokens": "^7.35.3",
43
43
  "concurrently": "9.2.1",
44
44
  "postcss-selector-parser": "^7.1.0",
45
45
  "postcss-value-parser": "^4.2.0",