forstok-ui-lib 8.9.7 → 8.9.8
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/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/checkbox/styles.ts +44 -24
- package/src/components/radio/styles.ts +6 -6
package/dist/index.js
CHANGED
|
@@ -430,22 +430,22 @@ function O(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
430
430
|
user-select: none;
|
|
431
431
|
align-items: center;
|
|
432
432
|
padding-left: 24px;
|
|
433
|
-
> input {
|
|
434
|
-
${Pt}
|
|
433
|
+
> input {
|
|
434
|
+
${Pt}
|
|
435
435
|
}
|
|
436
|
-
input:checked ~ span,
|
|
436
|
+
input:checked ~ span,
|
|
437
437
|
input.checked ~ span {
|
|
438
438
|
background-color: var(--ck-clr-bg__act);
|
|
439
439
|
border: 0;
|
|
440
440
|
}
|
|
441
|
-
input:checked ~ span:after,
|
|
441
|
+
input:checked ~ span:after,
|
|
442
442
|
input.checked ~ span:after {
|
|
443
443
|
display: grid;
|
|
444
444
|
}
|
|
445
445
|
@media (min-width: 425px) {
|
|
446
446
|
padding-left: 24px;
|
|
447
447
|
}
|
|
448
|
-
${({$flow:e,$iconRight:t,disabled:r})=>{let i="";if(r&&(i+="\n cursor: default; \n "),"column"===e)i+="\n display: inline-grid; \n grid-auto-flow: column;\n ";else i+="\n display: grid; \n grid-auto-flow: row;\n ";return t&&(i+=St),i}}
|
|
448
|
+
${({$flow:e,$iconRight:t,disabled:r})=>{let i="";if(r&&(i+="\n cursor: default; \n > span {\n border: 1px solid transparent !important;\n background-color: var(--mt-clr-bg__fc) !important;\n }\n "),"column"===e)i+="\n display: inline-grid; \n grid-auto-flow: column;\n ";else i+="\n display: grid; \n grid-auto-flow: row;\n ";return t&&(i+=St),i}}
|
|
449
449
|
`;m.default.input`
|
|
450
450
|
&:disabled {
|
|
451
451
|
cursor: default;
|
|
@@ -4815,7 +4815,7 @@ function O(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
4815
4815
|
height: 10px;
|
|
4816
4816
|
z-index: 0;
|
|
4817
4817
|
transition: 0.28s ease;
|
|
4818
|
-
border:
|
|
4818
|
+
border: 1px solid var(--ck-clr-ln);
|
|
4819
4819
|
border-radius: 50%;
|
|
4820
4820
|
}
|
|
4821
4821
|
b {
|
|
@@ -4845,12 +4845,12 @@ function O(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
4845
4845
|
width: auto;
|
|
4846
4846
|
&:checked + ${Ka} {
|
|
4847
4847
|
&:before {
|
|
4848
|
-
border:
|
|
4848
|
+
border: 1px solid var(--err-clr-ln);
|
|
4849
4849
|
}
|
|
4850
4850
|
&:after {
|
|
4851
4851
|
transform: scale(0.6);
|
|
4852
4852
|
background-color: var(--err-clr-ln);
|
|
4853
|
-
border:
|
|
4853
|
+
border: 1px solid transparent;
|
|
4854
4854
|
}
|
|
4855
4855
|
}
|
|
4856
4856
|
${({$mode:e})=>"check"===e?t.css`
|
|
@@ -4881,12 +4881,12 @@ function O(e,t){if(!1===e||null==e)throw new Error(t)}function M(e,t){if(!e){"un
|
|
|
4881
4881
|
`:"blue"===e?t.css`
|
|
4882
4882
|
&:checked + ${Ka} {
|
|
4883
4883
|
&:before {
|
|
4884
|
-
border:
|
|
4884
|
+
border: 1px solid var(--ck-clr-bg__act);
|
|
4885
4885
|
}
|
|
4886
4886
|
&:after {
|
|
4887
4887
|
transform: scale(0.6);
|
|
4888
|
-
background-color: var(--
|
|
4889
|
-
border:
|
|
4888
|
+
background-color: var(--ck-clr-bg__act);
|
|
4889
|
+
border: 1px solid transparent;
|
|
4890
4890
|
}
|
|
4891
4891
|
}
|
|
4892
4892
|
`:void 0}
|