@oslokommune/punkt-css 16.17.0 → 16.17.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.
@@ -149,6 +149,7 @@
149
149
  right: 0.5rem;
150
150
  z-index: 1;
151
151
  }
152
+ &__prop-group,
152
153
  &__array-item,
153
154
  &__object-editor {
154
155
  position: relative;
@@ -156,13 +157,22 @@
156
157
  flex-direction: column;
157
158
  gap: 1rem;
158
159
  }
160
+
161
+ // Spec descriptions with <code> (same as docs content / SpecList)
162
+ .pkt-inputwrapper__helptext code {
163
+ background: var(--pkt-color-background-subtle);
164
+ border: 1px solid var(--pkt-color-border-gray);
165
+ border-radius: 3px;
166
+ padding: 0.11em 0.33em;
167
+ font-size: 0.8em;
168
+ }
159
169
  &__add-object {
160
170
  text-align: right;
161
171
  margin-top: 0.5rem;
162
172
  }
163
173
  &__remove-object {
164
174
  position: absolute;
165
- top: -2rem;
175
+ top: -1.75rem;
166
176
  right: -0.25rem;
167
177
  }
168
178
  &__specs {
@@ -73,29 +73,34 @@
73
73
  &__suggestion {
74
74
  display: block;
75
75
  padding: 1rem;
76
- text-decoration: none;
77
76
  background-color: transparent;
78
77
  color: var(--pkt-color-text-action-normal);
79
78
  border: none;
80
79
  font: inherit;
81
80
  outline: inherit;
82
81
  text-align: inherit;
83
- &:hover,
84
- &:focus,
85
- &:active {
82
+ width: 100%;
83
+
84
+ &:is(a, button) {
85
+ cursor: pointer;
86
86
  text-decoration: none;
87
- background-color: var(--pkt-color-background-subtle);
88
- color: var(--pkt-color-text-action-active);
89
- .pkt-searchinput__suggestion-title {
90
- text-decoration: underline;
91
- }
92
- > * {
93
- color: inherit;
87
+
88
+ &:hover,
89
+ &:focus,
90
+ &:active {
91
+ text-decoration: none;
92
+ background-color: var(--pkt-color-background-subtle);
93
+ color: var(--pkt-color-text-action-active);
94
+
95
+ .pkt-searchinput__suggestion-title {
96
+ text-decoration: underline;
97
+ }
98
+
99
+ > * {
100
+ color: inherit;
101
+ }
94
102
  }
95
103
  }
96
- &--has-hover {
97
- cursor: pointer;
98
- }
99
104
  }
100
105
  &__suggestion-title {
101
106
  @include typography.get-text('pkt-txt-18-medium');
@@ -316,6 +316,7 @@ $-module-name: 'pkt-input-check';
316
316
  &--tile {
317
317
  border: 2px solid var(--pkt-color-border-subtle);
318
318
  width: 21.875rem;
319
+ max-width: 100%;
319
320
  position: relative;
320
321
 
321
322
  & .pkt-input-check__input-label:before {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "16.17.0",
3
+ "version": "16.17.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",
@@ -60,5 +60,5 @@
60
60
  "url": "https://github.com/oslokommune/punkt/issues"
61
61
  },
62
62
  "license": "MIT",
63
- "gitHead": "b9024738acca3ed6dd938238ff2a2d4219cd3c0c"
63
+ "gitHead": "3eda56e8d6942a8f8aba63b79a469ac12b375e2d"
64
64
  }