@snmt-react-ui/city-select 1.7.3 → 1.7.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/dist/city-select.js +16 -13
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
@@ -1751,22 +1751,24 @@ const Ba = ({
|
|
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] = G(e), [d, c] = G(t);
|
1757
1758
|
le(() => {
|
1758
|
-
|
1759
|
+
a(e), c(t);
|
1759
1760
|
}, [e, t]);
|
1760
|
-
const { theme:
|
1761
|
+
const { theme: l } = lt(yi);
|
1761
1762
|
return /* @__PURE__ */ h(
|
1762
1763
|
n1,
|
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
|
);
|
@@ -13224,8 +13226,8 @@ const ku = st({
|
|
13224
13226
|
axios: V.create()
|
13225
13227
|
});
|
13226
13228
|
ku.Provider;
|
13227
|
-
const Ws = ({ children: e, width: t, size: n = "small", onClose: r }) => {
|
13228
|
-
const
|
13229
|
+
const Ws = ({ children: e, width: t, size: n = "small", onClose: r, closable: o = !0 }) => {
|
13230
|
+
const i = n === "small" ? 10 : 12.5;
|
13229
13231
|
return /* @__PURE__ */ h(
|
13230
13232
|
$o,
|
13231
13233
|
{
|
@@ -13235,13 +13237,14 @@ const Ws = ({ children: e, width: t, size: n = "small", onClose: r }) => {
|
|
13235
13237
|
{
|
13236
13238
|
name: "errorSmall",
|
13237
13239
|
color: Cs.GREY_DARK_2,
|
13238
|
-
width:
|
13239
|
-
height:
|
13240
|
+
width: i,
|
13241
|
+
height: i,
|
13240
13242
|
onClick: r
|
13241
13243
|
}
|
13242
13244
|
),
|
13243
13245
|
bordered: !1,
|
13244
13246
|
style: { width: t ?? "fit-content" },
|
13247
|
+
closable: o,
|
13245
13248
|
children: typeof e == "string" ? /* @__PURE__ */ h(U2, { variant: n === "small" ? "body4" : "body2", children: e }) : e
|
13246
13249
|
}
|
13247
13250
|
);
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@snmt-react-ui/city-select",
|
3
3
|
"private": false,
|
4
|
-
"version": "1.7.
|
4
|
+
"version": "1.7.5",
|
5
5
|
"type": "module",
|
6
6
|
"main": "dist/city-select.js",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -19,7 +19,7 @@
|
|
19
19
|
},
|
20
20
|
"dependencies": {
|
21
21
|
"@snmt-react-ui/core": "^1.6.0",
|
22
|
-
"@snmt-react-ui/select": "^1.7.
|
22
|
+
"@snmt-react-ui/select": "^1.7.5",
|
23
23
|
"i18next": "^23.11.5",
|
24
24
|
"react-i18next": "^14.1.1",
|
25
25
|
"uuid": "^10.0.0"
|
@@ -27,5 +27,5 @@
|
|
27
27
|
"peerDependencies": {
|
28
28
|
"antd": "^5.22.0"
|
29
29
|
},
|
30
|
-
"gitHead": "
|
30
|
+
"gitHead": "8068cb319e7dd0e7cf04e492205916c8efd31f3e"
|
31
31
|
}
|