@snmt-react-ui/country-select 1.4.3 → 1.4.4
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/country-select.js +11 -9
- package/package.json +3 -3
package/dist/country-select.js
CHANGED
@@ -1751,22 +1751,24 @@ const Sa = ({
|
|
1751
1751
|
indeterminate: t = !1,
|
1752
1752
|
children: n,
|
1753
1753
|
onChange: r,
|
1754
|
-
|
1754
|
+
disabled: o = !1,
|
1755
|
+
disableUncheck: i = !1
|
1755
1756
|
}) => {
|
1756
|
-
const [
|
1757
|
+
const [s, a] = ee(e), [d, c] = ee(t);
|
1757
1758
|
ie(() => {
|
1758
|
-
|
1759
|
+
a(e), c(t);
|
1759
1760
|
}, [e, t]);
|
1760
|
-
const { theme:
|
1761
|
+
const { theme: l } = ot(pi);
|
1761
1762
|
return /* @__PURE__ */ h(
|
1762
1763
|
Ys,
|
1763
1764
|
{
|
1764
|
-
className: `snmt-checkbox snmt-checkbox-${
|
1765
|
-
checked:
|
1766
|
-
indeterminate:
|
1767
|
-
onChange: (
|
1768
|
-
|
1765
|
+
className: `snmt-checkbox snmt-checkbox-${l}`,
|
1766
|
+
checked: s,
|
1767
|
+
indeterminate: d,
|
1768
|
+
onChange: (u) => {
|
1769
|
+
i && s || (c(!1), a(u.target.checked), r && r(u));
|
1769
1770
|
},
|
1771
|
+
disabled: o,
|
1770
1772
|
children: n
|
1771
1773
|
}
|
1772
1774
|
);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snmt-react-ui/country-select",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.4.
|
4
|
+
"version": "1.4.4",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/country-select.js",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"build": "tsc && vite build"
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
|
-
"@snmt-react-ui/city-select": "^1.7.
|
21
|
+
"@snmt-react-ui/city-select": "^1.7.4",
|
22
22
|
"@snmt-react-ui/core": "^1.6.0",
|
23
23
|
"@snmt-react-ui/flex": "^1.4.0",
|
24
24
|
"i18next": "^23.11.5",
|
@@ -27,5 +27,5 @@
|
|
27
27
|
"peerDependencies": {
|
28
28
|
"antd": "^5.18.3"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "4e28bb3761aff068d7e74654c048827fffcfddaf"
|
31
31
|
}
|