@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.
Files changed (2) hide show
  1. package/dist/city-select.js +16 -17
  2. package/package.json +3 -3
@@ -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
- children: t,
254
- label: s,
255
- onChange: n,
256
- disabled: o = !1,
257
- disableUncheck: c = !1
253
+ label: t,
254
+ onChange: s,
255
+ disabled: n = !1,
256
+ disableUncheck: o = !1
258
257
  }) => {
259
- const [a, C] = I(i), [d, l] = I(e);
258
+ const [c, a] = I(i), [C, d] = I(e);
260
259
  S(() => {
261
- C(i), l(e);
260
+ a(i), d(e);
262
261
  }, [i, e]);
263
- const { theme: h } = r1(G1);
262
+ const { theme: l } = r1(G1);
264
263
  return /* @__PURE__ */ r(
265
264
  x2,
266
265
  {
267
- className: `snmt-checkbox snmt-checkbox-${h}`,
268
- checked: a,
269
- indeterminate: d,
270
- onChange: (g) => {
271
- c && a || (l(!1), C(g.target.checked), n && n(g));
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: o,
274
- children: t || s && /* @__PURE__ */ r(
272
+ disabled: n,
273
+ children: t && /* @__PURE__ */ r(
275
274
  Q2,
276
275
  {
277
276
  variant: "body2",
278
- color: o ? U.GREY_DARK_2 : U.GREY_DARK_5,
279
- children: s
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.10",
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.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": "06d54160ed5c94c7e7fe4da5659186a474952a1f"
30
+ "gitHead": "6a520eeb9a6b6584af8d6348968a7e0c886c9a94"
31
31
  }