forstok-ui-lib 8.8.0 → 8.8.1
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 +24 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +52 -41
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/radio/styles.ts +42 -29
package/dist/index.js
CHANGED
|
@@ -4796,19 +4796,19 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
|
|
|
4796
4796
|
cursor: pointer;
|
|
4797
4797
|
display: inline-block;
|
|
4798
4798
|
height: 16px;
|
|
4799
|
-
transition: .28s ease;
|
|
4799
|
+
transition: 0.28s ease;
|
|
4800
4800
|
user-select: none;
|
|
4801
4801
|
padding-left: 22px;
|
|
4802
|
-
&:before,
|
|
4802
|
+
&:before,
|
|
4803
4803
|
&:after {
|
|
4804
|
-
content:
|
|
4804
|
+
content: "";
|
|
4805
4805
|
position: absolute;
|
|
4806
4806
|
left: 0;
|
|
4807
4807
|
top: 0;
|
|
4808
4808
|
width: 10px;
|
|
4809
4809
|
height: 10px;
|
|
4810
4810
|
z-index: 0;
|
|
4811
|
-
transition: .28s ease;
|
|
4811
|
+
transition: 0.28s ease;
|
|
4812
4812
|
border: 2px solid #5a5a5a;
|
|
4813
4813
|
border-radius: 50%;
|
|
4814
4814
|
}
|
|
@@ -4820,18 +4820,18 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
|
|
|
4820
4820
|
font-size: 90%;
|
|
4821
4821
|
color: #2d3c48;
|
|
4822
4822
|
}
|
|
4823
|
-
${({$mode:e})=>"check"===e?t.css`
|
|
4824
|
-
&:before,
|
|
4823
|
+
${({$mode:e})=>"check"===e?t.css`
|
|
4824
|
+
&:before,
|
|
4825
4825
|
&:after {
|
|
4826
4826
|
border: none;
|
|
4827
4827
|
}
|
|
4828
|
-
`:"sort"===e?t.css`
|
|
4828
|
+
`:"sort"===e?t.css`
|
|
4829
4829
|
padding-left: 0;
|
|
4830
|
-
&:before,
|
|
4830
|
+
&:before,
|
|
4831
4831
|
&:after {
|
|
4832
4832
|
border: none;
|
|
4833
4833
|
}
|
|
4834
|
-
`:void 0}
|
|
4834
|
+
`:void 0}
|
|
4835
4835
|
`,Ka=m.default.input`
|
|
4836
4836
|
position: absolute;
|
|
4837
4837
|
opacity: 0;
|
|
@@ -4847,9 +4847,9 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
|
|
|
4847
4847
|
border: 2px solid transparent;
|
|
4848
4848
|
}
|
|
4849
4849
|
}
|
|
4850
|
-
${({$mode:e})=>"check"===e?t.css`
|
|
4850
|
+
${({$mode:e})=>"check"===e?t.css`
|
|
4851
4851
|
&:checked + ${Za} {
|
|
4852
|
-
&:before,
|
|
4852
|
+
&:before,
|
|
4853
4853
|
&:after {
|
|
4854
4854
|
border: none;
|
|
4855
4855
|
transform: none;
|
|
@@ -4860,9 +4860,9 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
|
|
|
4860
4860
|
width: 14px;
|
|
4861
4861
|
}
|
|
4862
4862
|
}
|
|
4863
|
-
`:"sort"===e?t.css`
|
|
4863
|
+
`:"sort"===e?t.css`
|
|
4864
4864
|
&:checked + ${Za} {
|
|
4865
|
-
&:before,
|
|
4865
|
+
&:before,
|
|
4866
4866
|
&:after {
|
|
4867
4867
|
border: none;
|
|
4868
4868
|
transform: none;
|
|
@@ -4872,6 +4872,17 @@ function L(e,t){if(!1===e||null==e)throw new Error(t)}function O(e,t){if(!e){"un
|
|
|
4872
4872
|
width: 14px;
|
|
4873
4873
|
}
|
|
4874
4874
|
}
|
|
4875
|
+
`:"blue"===e?t.css`
|
|
4876
|
+
&:checked + ${Za} {
|
|
4877
|
+
&:before {
|
|
4878
|
+
border: 2px solid var(--pri-clr-ln__fc);
|
|
4879
|
+
}
|
|
4880
|
+
&:after {
|
|
4881
|
+
transform: scale(0.6);
|
|
4882
|
+
background-color: var(--pri-clr-ln__fc);
|
|
4883
|
+
border: 2px solid transparent;
|
|
4884
|
+
}
|
|
4885
|
+
}
|
|
4875
4886
|
`:void 0}
|
|
4876
4887
|
`,Ja=m.default.div`
|
|
4877
4888
|
> input:checked + label::after {
|