@navikt/aksel-stylelint 7.12.2 → 7.14.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 +12 -22
  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.12.2";
8
+ --ax-version: "7.14.0";
9
9
  --a-spacing-1-alt: 0.375rem;
10
10
  --a-spacing-05: 0.125rem;
11
11
  --a-spacing-32: 8rem;
@@ -6399,30 +6399,13 @@ button.navds-internalheader__title:active,
6399
6399
  font-size: var(--a-font-size-small);
6400
6400
  }
6401
6401
 
6402
- .navds-date .rdp-weeknumber {
6403
- font-size: var(--a-font-size-small);
6404
- display: flex;
6405
- align-items: center;
6406
- justify-content: center;
6407
- width: 2rem;
6408
- height: 2rem;
6409
- border-radius: var(--a-border-radius-medium);
6410
- margin: var(--a-spacing-2);
6402
+ .navds-date__weeknumber-number {
6403
+ font-size: 0.875rem;
6411
6404
  color: var(--a-text-subtle);
6412
6405
  }
6413
6406
 
6414
- .navds-date .rdp-weeknumber.rdp-button {
6415
- width: 2rem;
6416
- height: 2rem;
6417
- box-shadow: 0 0 0 1px var(--a-border-default);
6418
- color: var(--a-text-subtle);
6419
- font-size: var(--a-font-size-small);
6420
- }
6421
-
6422
- .navds-date .rdp-weeknumber.rdp-button:active {
6423
- background-color: var(--a-surface-action-active);
6424
- color: var(--a-text-on-action);
6425
- box-shadow: none;
6407
+ .navds-date__weeknumber:active .navds-date__weeknumber-number {
6408
+ color: var(--a-text-on-neutral);
6426
6409
  }
6427
6410
 
6428
6411
  .navds-date__caption__month .navds-select__container select {
@@ -6683,6 +6666,13 @@ button.navds-internalheader__title:active,
6683
6666
  margin: 0;
6684
6667
  }
6685
6668
 
6669
+ span.rdp-weeknumber {
6670
+ display: grid;
6671
+ place-content: center;
6672
+ width: 2rem;
6673
+ height: 2rem;
6674
+ }
6675
+
6686
6676
  .navds-date__modal.navds-date {
6687
6677
  padding: 0;
6688
6678
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navikt/aksel-stylelint",
3
- "version": "7.12.2",
3
+ "version": "7.14.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.12.2",
39
- "@navikt/ds-tokens": "^7.12.2",
38
+ "@navikt/ds-css": "^7.14.0",
39
+ "@navikt/ds-tokens": "^7.14.0",
40
40
  "concurrently": "9.0.1",
41
41
  "postcss-selector-parser": "^6.0.13",
42
42
  "postcss-value-parser": "^4.2.0",