@snmt-react-ui/city-select 1.7.4 → 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 +5 -4
- package/package.json +3 -3
package/dist/city-select.js
CHANGED
@@ -13226,8 +13226,8 @@ const ku = st({
|
|
13226
13226
|
axios: V.create()
|
13227
13227
|
});
|
13228
13228
|
ku.Provider;
|
13229
|
-
const Ws = ({ children: e, width: t, size: n = "small", onClose: r }) => {
|
13230
|
-
const
|
13229
|
+
const Ws = ({ children: e, width: t, size: n = "small", onClose: r, closable: o = !0 }) => {
|
13230
|
+
const i = n === "small" ? 10 : 12.5;
|
13231
13231
|
return /* @__PURE__ */ h(
|
13232
13232
|
$o,
|
13233
13233
|
{
|
@@ -13237,13 +13237,14 @@ const Ws = ({ children: e, width: t, size: n = "small", onClose: r }) => {
|
|
13237
13237
|
{
|
13238
13238
|
name: "errorSmall",
|
13239
13239
|
color: Cs.GREY_DARK_2,
|
13240
|
-
width:
|
13241
|
-
height:
|
13240
|
+
width: i,
|
13241
|
+
height: i,
|
13242
13242
|
onClick: r
|
13243
13243
|
}
|
13244
13244
|
),
|
13245
13245
|
bordered: !1,
|
13246
13246
|
style: { width: t ?? "fit-content" },
|
13247
|
+
closable: o,
|
13247
13248
|
children: typeof e == "string" ? /* @__PURE__ */ h(U2, { variant: n === "small" ? "body4" : "body2", children: e }) : e
|
13248
13249
|
}
|
13249
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
|
}
|