@oslokommune/punkt-css 9.2.2 → 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 +36 -0
- package/dist/css/components/inputwrapper.css +5 -7
- package/dist/css/components/inputwrapper.min.css +1 -1
- package/dist/css/components/textinput.css +11 -6
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-components.css +16 -13
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +12 -7
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +17 -14
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_inputwrapper.scss +9 -13
- package/dist/scss/elements/_input.scss +11 -7
- package/package.json +2 -2
package/dist/css/pkt.css
CHANGED
|
@@ -13681,7 +13681,8 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13681
13681
|
}
|
|
13682
13682
|
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
13683
13683
|
.pkt-select:is(select):not([multiple]) {
|
|
13684
|
-
|
|
13684
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/9.2/icons/chevron-thin-down.svg);
|
|
13685
|
+
background-image: var(--svg);
|
|
13685
13686
|
background-repeat: no-repeat;
|
|
13686
13687
|
background-position: right 0.7rem top 50%;
|
|
13687
13688
|
background-size: 1.5rem auto, 100%;
|
|
@@ -13702,16 +13703,16 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13702
13703
|
.pkt-input--hover.pkt-select:is(select) {
|
|
13703
13704
|
border-color: var(--color-hover);
|
|
13704
13705
|
}
|
|
13705
|
-
.pkt-input:focus-visible
|
|
13706
|
-
.pkt-select:focus-visible:is(select)
|
|
13706
|
+
.pkt-input:focus-visible, .pkt-textinput__input:focus-visible, .pkt-select select:focus-visible,
|
|
13707
|
+
.pkt-select:focus-visible:is(select), .pkt-input.pkt-input__textinput--focus, .pkt-input__textinput--focus.pkt-textinput__input, .pkt-select select.pkt-input__textinput--focus,
|
|
13707
13708
|
.pkt-input__textinput--focus.pkt-select:is(select) {
|
|
13708
|
-
box-shadow: 0 0 0 2px var(--color-active);
|
|
13709
13709
|
border-color: var(--color-active);
|
|
13710
13710
|
}
|
|
13711
13711
|
.pkt-input:focus, .pkt-textinput__input:focus, .pkt-select select:focus,
|
|
13712
13712
|
.pkt-select:focus:is(select) {
|
|
13713
13713
|
outline: none;
|
|
13714
|
-
|
|
13714
|
+
--focus-outline: var(--color-active);
|
|
13715
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
13715
13716
|
border-color: var(--color-active);
|
|
13716
13717
|
}
|
|
13717
13718
|
.pkt-input:disabled, .pkt-textinput__input:disabled, .pkt-select select:disabled,
|
|
@@ -13778,7 +13779,8 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13778
13779
|
background-color: var(--color-red-30);
|
|
13779
13780
|
}
|
|
13780
13781
|
.pkt-input--counter-error:focus {
|
|
13781
|
-
|
|
13782
|
+
--focus-outline: var(--color-red);
|
|
13783
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
13782
13784
|
}
|
|
13783
13785
|
.pkt-input__container {
|
|
13784
13786
|
display: flex;
|
|
@@ -13802,6 +13804,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13802
13804
|
margin: 0;
|
|
13803
13805
|
}
|
|
13804
13806
|
.pkt-input__container input:focus {
|
|
13807
|
+
outline: none;
|
|
13805
13808
|
box-shadow: none;
|
|
13806
13809
|
}
|
|
13807
13810
|
.pkt-input__container:hover .pkt-input, .pkt-input__container:hover .pkt-textinput__input, .pkt-input__container:hover .pkt-select select, .pkt-select .pkt-input__container:hover select,
|
|
@@ -13809,13 +13812,15 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13809
13812
|
border-color: var(--color-hover);
|
|
13810
13813
|
}
|
|
13811
13814
|
.pkt-input__container:focus-within {
|
|
13812
|
-
outline:
|
|
13815
|
+
--focus-outline: var(--color-active);
|
|
13816
|
+
box-shadow: 0 0 0 2px var(--focus-outline);
|
|
13813
13817
|
}
|
|
13814
13818
|
.pkt-input__container:focus-within .pkt-input, .pkt-input__container:focus-within .pkt-textinput__input, .pkt-input__container:focus-within .pkt-select select, .pkt-select .pkt-input__container:focus-within select,
|
|
13815
13819
|
.pkt-input__container:focus-within .pkt-select:is(select),
|
|
13816
13820
|
.pkt-input__container:focus-within .pkt-input-prefix,
|
|
13817
13821
|
.pkt-input__container:focus-within .pkt-input-suffix,
|
|
13818
13822
|
.pkt-input__container:focus-within .pkt-input-icon {
|
|
13823
|
+
outline: 0;
|
|
13819
13824
|
border-color: var(--color-active);
|
|
13820
13825
|
}
|
|
13821
13826
|
.pkt-input__counter {
|
|
@@ -15214,22 +15219,20 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
15214
15219
|
.pkt-inputwrapper--error .pkt-input,
|
|
15215
15220
|
.pkt-inputwrapper--error .pkt-input-prefix,
|
|
15216
15221
|
.pkt-inputwrapper--error .pkt-input-suffix,
|
|
15217
|
-
.pkt-inputwrapper--error .pkt-input-icon
|
|
15218
|
-
border-color: var(--color-red);
|
|
15219
|
-
}
|
|
15222
|
+
.pkt-inputwrapper--error .pkt-input-icon,
|
|
15220
15223
|
.pkt-inputwrapper--error .pkt-input:hover,
|
|
15224
|
+
.pkt-inputwrapper--error .pkt-input__container:hover,
|
|
15221
15225
|
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input,
|
|
15222
15226
|
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-prefix,
|
|
15223
15227
|
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-suffix,
|
|
15224
|
-
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-icon
|
|
15225
|
-
|
|
15226
|
-
}
|
|
15227
|
-
.pkt-inputwrapper--error .pkt-input:focus-within,
|
|
15228
|
+
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-icon,
|
|
15229
|
+
.pkt-inputwrapper--error .pkt-input__container:focus-within,
|
|
15228
15230
|
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input,
|
|
15229
15231
|
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-prefix,
|
|
15230
15232
|
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-suffix,
|
|
15231
15233
|
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-icon {
|
|
15232
15234
|
border-color: var(--color-red);
|
|
15235
|
+
--focus-outline: var(--color-red);
|
|
15233
15236
|
}
|
|
15234
15237
|
.pkt-inputwrapper--disabled {
|
|
15235
15238
|
color: var(--color-disabled);
|