@oslokommune/punkt-css 9.2.4 → 9.2.5
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.
- package/CHANGELOG.md +18 -0
- package/dist/css/components/inputwrapper.css +1 -1
- package/dist/css/components/inputwrapper.min.css +1 -1
- package/dist/css/components/textinput.css +8 -3
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-components.css +9 -4
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +8 -3
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +9 -4
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_inputwrapper.scss +1 -1
- package/dist/scss/elements/_input.scss +8 -3
- package/package.json +2 -2
|
@@ -70,7 +70,9 @@
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
&:focus {
|
|
73
|
-
outline:
|
|
73
|
+
outline: none;
|
|
74
|
+
--focus-outline: var(--color-active);
|
|
75
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
74
76
|
border-color: var(--color-active);
|
|
75
77
|
}
|
|
76
78
|
|
|
@@ -147,7 +149,8 @@
|
|
|
147
149
|
}
|
|
148
150
|
|
|
149
151
|
&--counter-error:focus {
|
|
150
|
-
outline:
|
|
152
|
+
--focus-outline: var(--color-red);
|
|
153
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
151
154
|
}
|
|
152
155
|
|
|
153
156
|
&__container {
|
|
@@ -180,6 +183,7 @@
|
|
|
180
183
|
//states
|
|
181
184
|
& input:focus {
|
|
182
185
|
outline: none;
|
|
186
|
+
box-shadow: none;
|
|
183
187
|
}
|
|
184
188
|
|
|
185
189
|
&:hover .pkt-input,
|
|
@@ -190,7 +194,8 @@
|
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
&:focus-within {
|
|
193
|
-
outline:
|
|
197
|
+
--focus-outline: var(--color-active);
|
|
198
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
194
199
|
|
|
195
200
|
.pkt-input,
|
|
196
201
|
.pkt-input-prefix,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.5",
|
|
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": "
|
|
58
|
+
"gitHead": "5c986a43a0147d105240810ad902cfaec75bdcd9"
|
|
59
59
|
}
|