@snmt-react-ui/country-select 2.0.0 → 2.1.0

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.
@@ -6805,7 +6805,8 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6805
6805
  const E = v.filter((W) => W !== f);
6806
6806
  S(E), j(E);
6807
6807
  }, t1 = (f) => (v == null ? void 0 : v.indexOf(f)) === 0 ? (
6808
- // if the search input is empty then display the placeholder, else do not display it
6808
+ // if the search input is empty
6809
+ // then display the placeholder, else do not display it
6809
6810
  /* @__PURE__ */ n("span", { className: "custom-placeholder", children: y ? t : "" })
6810
6811
  ) : /* @__PURE__ */ n($, {}), V = (f) => {
6811
6812
  f.preventDefault(), f.stopPropagation();
@@ -6819,7 +6820,8 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6819
6820
  return /* @__PURE__ */ u(
6820
6821
  "div",
6821
6822
  {
6822
- className: `snmt-select ${_ ? "snmt-select-focused" : ""} ${s ? "" : "snmt-select-single"}`,
6823
+ className: `snmt-select ${_ ? "snmt-select-focused" : ""}
6824
+ ${s ? "" : "snmt-select-single"}`,
6823
6825
  ref: X,
6824
6826
  style: { width: c },
6825
6827
  children: [
@@ -6917,7 +6919,10 @@ const G1 = ({ children: i, width: e, size: t = "small", onClose: s, closable: o
6917
6919
  /* @__PURE__ */ n(
6918
6920
  "fieldset",
6919
6921
  {
6920
- className: `${_ ? "fieldset-focused" : ""} ${r ? "fieldset-disabled" : ""} ${typeof i == "string" && i ? "fieldset-filled" : ""} ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
6922
+ className: `${_ ? "fieldset-focused" : ""}
6923
+ ${r ? "fieldset-disabled" : ""}
6924
+ ${typeof i == "string" && i ? "fieldset-filled" : ""}
6925
+ ${typeof i == "object" && i != null && i.length ? "fieldset-filled" : ""}`,
6921
6926
  children: /* @__PURE__ */ n("legend", { children: t ? /* @__PURE__ */ n("span", { children: d ? `${t}*` : t }) : "" })
6922
6927
  }
6923
6928
  )
@@ -8591,7 +8596,8 @@ const k5 = h1(
8591
8596
  const [d, g] = I([]), [l, h] = I([]), { locale: C, axiosPeople: p } = q(Q1);
8592
8597
  if (!p)
8593
8598
  throw new Error(
8594
- 'CountrySelect requires "axiosPeople" to fetch counties. Please provide it via SNMTUiContext.'
8599
+ `CountrySelect requires "axiosPeople" to fetch counties.
8600
+ Please provide it via SNMTUiContext.`
8595
8601
  );
8596
8602
  const { t: w } = l5("common", { lng: C }), x = W1(async () => {
8597
8603
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snmt-react-ui/country-select",
3
3
  "private": false,
4
- "version": "2.0.0",
4
+ "version": "2.1.0",
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": "^2.0.0",
21
+ "@snmt-react-ui/city-select": "^2.1.0",
22
22
  "@snmt-react-ui/core": "^2.0.0",
23
23
  "@snmt-react-ui/flex": "^1.4.1",
24
24
  "i18next": "^23.11.5",
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "antd": "^5.18.3"
29
29
  },
30
- "gitHead": "cfc85f08d1cda25e6b2600d656cb36d74f12ff6b"
30
+ "gitHead": "2085ff191c8bdb8b8884120fd50ea0a210258cdf"
31
31
  }