@snmt-react-ui/city-select 2.8.10 → 2.8.11
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 -17
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
|
@@ -250,33 +250,32 @@ const { Title: z2, Text: J2 } = D1, q2 = {
|
|
|
250
250
|
), X2 = ({
|
|
251
251
|
checked: i = !0,
|
|
252
252
|
indeterminate: e = !1,
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
disableUncheck: c = !1
|
|
253
|
+
label: t,
|
|
254
|
+
onChange: s,
|
|
255
|
+
disabled: n = !1,
|
|
256
|
+
disableUncheck: o = !1
|
|
258
257
|
}) => {
|
|
259
|
-
const [
|
|
258
|
+
const [c, a] = I(i), [C, d] = I(e);
|
|
260
259
|
S(() => {
|
|
261
|
-
|
|
260
|
+
a(i), d(e);
|
|
262
261
|
}, [i, e]);
|
|
263
|
-
const { theme:
|
|
262
|
+
const { theme: l } = r1(G1);
|
|
264
263
|
return /* @__PURE__ */ r(
|
|
265
264
|
x2,
|
|
266
265
|
{
|
|
267
|
-
className: `snmt-checkbox snmt-checkbox-${
|
|
268
|
-
checked:
|
|
269
|
-
indeterminate:
|
|
270
|
-
onChange: (
|
|
271
|
-
|
|
266
|
+
className: `snmt-checkbox snmt-checkbox-${l}`,
|
|
267
|
+
checked: c,
|
|
268
|
+
indeterminate: C,
|
|
269
|
+
onChange: (h) => {
|
|
270
|
+
o && c || (d(!1), a(h.target.checked), s && s(h));
|
|
272
271
|
},
|
|
273
|
-
disabled:
|
|
274
|
-
children: t
|
|
272
|
+
disabled: n,
|
|
273
|
+
children: t && /* @__PURE__ */ r(
|
|
275
274
|
Q2,
|
|
276
275
|
{
|
|
277
276
|
variant: "body2",
|
|
278
|
-
color:
|
|
279
|
-
children:
|
|
277
|
+
color: n ? U.GREY_DARK_2 : U.GREY_DARK_5,
|
|
278
|
+
children: t
|
|
280
279
|
}
|
|
281
280
|
)
|
|
282
281
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snmt-react-ui/city-select",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.11",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/city-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/async-select": "^1.10.
|
|
21
|
+
"@snmt-react-ui/async-select": "^1.10.11",
|
|
22
22
|
"@snmt-react-ui/core": "^2.6.0",
|
|
23
23
|
"i18next": "^23.11.5",
|
|
24
24
|
"react-i18next": "^14.1.1",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"antd": "^5.22.0"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "6a520eeb9a6b6584af8d6348968a7e0c886c9a94"
|
|
31
31
|
}
|