@oslokommune/punkt-css 16.3.0 → 16.5.1

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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.3/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/16.5/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -8,6 +8,10 @@
8
8
  @use '../abstracts/mixins/typography';
9
9
 
10
10
  .pkt-back-link {
11
+ .pkt-link {
12
+ display: inline-flex;
13
+ align-items: center;
14
+ }
11
15
  &__icon {
12
16
  flex-basis: 1rem;
13
17
  }
@@ -125,18 +125,23 @@ pkt-datepicker-multiple {
125
125
 
126
126
  // Firefox specific styles :(
127
127
  @-moz-document url-prefix() {
128
- .pkt-datepicker__input:not(.pkt-datepicker--multiple) {
129
- width: 10.5rem;
130
- }
131
- .pkt-datepicker__input.pkt-input--fullwidth:not(.pkt-datepicker--multiple) {
132
- width: auto;
133
- flex: 1;
134
- }
135
- .pkt-datepicker__inputs button.pkt-input-icon {
136
- display: none;
137
- }
138
- .pkt-datepicker__inputs
128
+ .pkt-datepicker__inputs {
129
+ .pkt-datepicker__input {
130
+ padding-right: 0.5rem;
131
+ }
132
+ .pkt-datepicker__input:not(.pkt-datepicker--multiple) {
133
+ width: 10.5rem;
134
+ max-width: calc(100%);
135
+ }
136
+ .pkt-datepicker__input.pkt-input--fullwidth:not(.pkt-datepicker--multiple) {
137
+ width: auto;
138
+ flex: 1;
139
+ }
140
+ button.pkt-input-icon {
141
+ display: none;
142
+ }
139
143
  input.pkt-datepicker__input:has(~ button):not(:has(~ .pkt-input-separator)):not(:has(~ .pkt-input-prefix)) {
140
- border-right-width: 2px !important;
144
+ border-right-width: 2px !important;
145
+ }
141
146
  }
142
147
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "16.3.0",
3
+ "version": "16.5.1",
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",
@@ -55,5 +55,5 @@
55
55
  "url": "https://github.com/oslokommune/punkt/issues"
56
56
  },
57
57
  "license": "MIT",
58
- "gitHead": "3561a39e6329e3fc85d558d89cf20b58aa410d24"
58
+ "gitHead": "a54204cf22e40c2db4a5e8d4f30be50d57be8250"
59
59
  }