@oslokommune/punkt-css 18.3.0 → 18.3.2

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.
@@ -21,6 +21,7 @@ pkt-calendar {
21
21
  @include typography.get-text('pkt-txt-16-medium');
22
22
  &:is(select) {
23
23
  text-align: right;
24
+ width: auto;
24
25
  }
25
26
  }
26
27
  > .pkt-cal-input-year {
@@ -21,7 +21,10 @@ pkt-select {
21
21
  }
22
22
  }
23
23
 
24
- :where(.pkt-textinput:has(.pkt-input:not(.pkt-input--fullwidth):not([size]):not([cols]))) {
24
+ :where(
25
+ .pkt-textinput:has(.pkt-input:not(.pkt-input--fullwidth):not([size]):not([cols])),
26
+ .pkt-select:has(.pkt-input:not(.pkt-input--fullwidth):not([size]):not([cols]))
27
+ ) {
25
28
  width: min(31rem, 100%);
26
29
  }
27
30
 
@@ -93,10 +96,6 @@ pkt-select {
93
96
  width: auto;
94
97
  }
95
98
 
96
- &:where(select):not(.pkt-input--fullwidth) {
97
- width: auto;
98
- }
99
-
100
99
  &__container:where(:has(> :is(input[size], textarea[cols]))) {
101
100
  width: fit-content;
102
101
  align-self: flex-start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "18.3.0",
3
+ "version": "18.3.2",
4
4
  "description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
5
5
  "homepage": "https://punkt.oslo.kommune.no",
6
6
  "author": "Team Designsystem, Oslo Origo",
@@ -62,5 +62,5 @@
62
62
  "dependencies": {
63
63
  "astro": "^7.2.0"
64
64
  },
65
- "gitHead": "72a1389ecb1c277a463dfe5d2c020d96dd4c7ded"
65
+ "gitHead": "8ad9db4f1ecb76423707a9441055ddb36ca914a8"
66
66
  }