@navikt/aksel-stylelint 7.29.0 → 7.30.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 +41 -6
  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.29.0";
8
+ --ax-version: "7.30.0";
9
9
  --a-breakpoint-xs: 0;
10
10
  --a-breakpoint-sm: 480px;
11
11
  --a-breakpoint-sm-down: 479px;
@@ -3931,7 +3931,7 @@ li.navds-file-item {
3931
3931
  .navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
3932
3932
  content: "";
3933
3933
  position: absolute;
3934
- top: 50%;
3934
+ top: var(--a-spacing-6);
3935
3935
  transform: translate(var(--a-spacing-1-alt), -50%);
3936
3936
  background-color: var(--ac-radio-checkbox-bg, var(--a-surface-default));
3937
3937
  width: 0.75rem;
@@ -3942,6 +3942,7 @@ li.navds-file-item {
3942
3942
 
3943
3943
  .navds-checkbox--small .navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
3944
3944
  transform: translate(0.25rem, -50%);
3945
+ top: var(--a-spacing-4);
3945
3946
  }
3946
3947
 
3947
3948
  .navds-checkbox__input:where(:checked, :indeterminate) + .navds-checkbox__label::before {
@@ -3977,8 +3978,11 @@ li.navds-file-item {
3977
3978
  /* Tailwind sets all svg to block */
3978
3979
 
3979
3980
  .navds-checkbox__icon > svg {
3980
- display: inline;
3981
- vertical-align: initial;
3981
+ display: block;
3982
+
3983
+ /* Safari does not support inline rem-values in SVG */
3984
+ width: 0.8125rem;
3985
+ height: 0.625rem;
3982
3986
  }
3983
3987
 
3984
3988
  .navds-checkbox--small > .navds-checkbox__input:checked + .navds-checkbox__label::before {
@@ -5517,9 +5521,8 @@ li.navds-file-item {
5517
5521
  }
5518
5522
  }
5519
5523
 
5520
- .navds-form-summary__edit {
5524
+ .navds-form-summary__header .navds-form-summary__edit {
5521
5525
  flex-shrink: 0;
5522
- margin-top: var(--a-spacing-1);
5523
5526
  align-self: flex-start;
5524
5527
  }
5525
5528
 
@@ -5574,6 +5577,19 @@ li.navds-file-item {
5574
5577
  border-radius: var(--a-border-radius-large);
5575
5578
  }
5576
5579
 
5580
+ .navds-form-summary__footer {
5581
+ display: flex;
5582
+ padding: var(--a-spacing-5) var(--a-spacing-6);
5583
+ background: var(--a-surface-default);
5584
+ border-top: 1px solid var(--a-border-subtle);
5585
+ }
5586
+
5587
+ @media (max-width: 479px) {
5588
+ .navds-form-summary__footer {
5589
+ padding: var(--a-spacing-3) var(--a-spacing-4);
5590
+ }
5591
+ }
5592
+
5577
5593
  .navds-form-progress__bar {
5578
5594
  margin-bottom: var(--a-spacing-2);
5579
5595
  }
@@ -8786,6 +8802,18 @@ button.navds-stepper__step {
8786
8802
  padding: 0;
8787
8803
  }
8788
8804
 
8805
+ .navds-table :not(.navds-checkboxes) > .navds-checkbox .navds-checkbox__input:indeterminate + .navds-checkbox__label::after {
8806
+ top: var(--a-spacing-3);
8807
+ }
8808
+
8809
+ .navds-table
8810
+ :not(.navds-checkboxes)
8811
+ > .navds-checkbox--small
8812
+ .navds-checkbox__input:indeterminate
8813
+ + .navds-checkbox__label::after {
8814
+ top: 0.6rem;
8815
+ }
8816
+
8789
8817
  .navds-table__header-cell[aria-sort] {
8790
8818
  padding: 0;
8791
8819
  }
@@ -9227,6 +9255,13 @@ button.navds-stepper__step {
9227
9255
  color: var(--ac-list-marker-ul-color, var(--ac-list-marker-color, var(--a-icon-default)));
9228
9256
  }
9229
9257
 
9258
+ /* Safari does not support inline rem-values in SVG */
9259
+
9260
+ .navds-list__item-marker--bullet > svg {
9261
+ width: 0.375rem;
9262
+ height: 0.375rem;
9263
+ }
9264
+
9230
9265
  .navds-list__item-marker--icon {
9231
9266
  font-size: 1.5rem;
9232
9267
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-stylelint",
3
- "version": "7.29.0",
3
+ "version": "7.30.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.29.0",
39
- "@navikt/ds-tokens": "^7.29.0",
38
+ "@navikt/ds-css": "^7.30.0",
39
+ "@navikt/ds-tokens": "^7.30.0",
40
40
  "concurrently": "9.0.1",
41
41
  "postcss-selector-parser": "^7.1.0",
42
42
  "postcss-value-parser": "^4.2.0",