@oslokommune/punkt-css 13.3.1 → 13.5.11

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/13.3/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/13.5/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -57,6 +57,7 @@ pkt-calendar {
57
57
  td {
58
58
  padding: 0;
59
59
  }
60
+ button,
60
61
  div {
61
62
  aspect-ratio: 1 / 1;
62
63
  justify-content: center;
@@ -29,7 +29,7 @@ pkt-combobox {
29
29
 
30
30
  &__arrow.pkt-btn {
31
31
  position: absolute;
32
- right: 0;
32
+ right: 0.25rem;
33
33
  height: 100%;
34
34
  min-width: 1.125rem;
35
35
  min-height: 1.125rem;
@@ -40,8 +40,8 @@ pkt-combobox {
40
40
  // legg til liten bevgelse på pilen på hover
41
41
  svg {
42
42
  transition: transform 0.1s ease-in-out;
43
- width: 1.125rem;
44
- height: 1.125rem;
43
+ width: 1.5rem;
44
+ height: 1.5rem;
45
45
  }
46
46
 
47
47
  &-icon {
@@ -62,19 +62,30 @@ pkt-combobox {
62
62
  }
63
63
  }
64
64
 
65
+ &__value {
66
+ padding-left: 0.5rem;
67
+ }
68
+
65
69
  &__input {
66
70
  display: flex;
67
71
  align-items: center;
68
72
  position: relative;
69
73
  margin: 0;
70
- padding: 0.375rem 2rem 0.375rem 0.375rem;
74
+ padding: 0.5rem 2rem 0.5rem 0.5rem;
71
75
  border: 2px solid var(--pkt-color-border-default);
72
- min-height: 2.75rem;
76
+ min-height: 3rem;
73
77
  gap: 0.375rem;
74
78
  flex-wrap: wrap;
75
79
  @include typography.get-text('pkt-txt-18-light');
76
80
  line-height: 1.25;
77
81
 
82
+ &-div {
83
+ display: contents;
84
+ &:first-child input {
85
+ padding-left: 0.5rem;
86
+ }
87
+ }
88
+
78
89
  &--fullwidth {
79
90
  width: 100%;
80
91
  }
@@ -116,13 +127,13 @@ pkt-combobox {
116
127
  color: inherit;
117
128
  background: transparent;
118
129
  letter-spacing: inherit;
119
- line-height: inherit;
130
+ line-height: 1.4rem;
120
131
  padding: 0;
121
132
  margin: 0;
122
133
  width: 0;
123
134
  &:focus,
124
135
  &:active {
125
- width: auto;
136
+ width: 100%;
126
137
  outline: none;
127
138
  }
128
139
  }
@@ -142,6 +153,7 @@ pkt-combobox {
142
153
  &__placeholder {
143
154
  color: var(--pkt-color-text-placeholder);
144
155
  opacity: 1;
156
+ padding-left: 0.5rem;
145
157
  }
146
158
  }
147
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "13.3.1",
3
+ "version": "13.5.11",
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": "7b997c2cc58b531ccbf06cce080b0dd8556a46be"
58
+ "gitHead": "09ba8de9047136b06b520d7208b31a1743bcf1d7"
59
59
  }