@snmt-react-ui/country-select 1.2.0 → 1.2.2

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.
@@ -6637,21 +6637,31 @@ const sc = ({
6637
6637
  color: n,
6638
6638
  children: r,
6639
6639
  onClick: o,
6640
- collapsed: i
6641
- }, s) => {
6642
- const a = t === "h1" || t === "h2" || t === "h3" || t === "h4";
6643
- let d = `snmt-typography snmt-typography-${t}`;
6644
- return e && e !== "inherit" && (d += ` snmt-typography-align-${e}`), i && (d += " collapsed"), a ? /* @__PURE__ */ h(
6640
+ collapsed: i,
6641
+ whiteSpace: s = "normal"
6642
+ }, a) => {
6643
+ const d = t === "h1" || t === "h2" || t === "h3" || t === "h4";
6644
+ let c = `snmt-typography snmt-typography-${t}`;
6645
+ return e && e !== "inherit" && (c += ` snmt-typography-align-${e}`), i && (c += " collapsed"), d ? /* @__PURE__ */ h(
6645
6646
  _2,
6646
6647
  {
6647
- className: d,
6648
- style: { color: n },
6648
+ className: c,
6649
+ style: { color: n, whiteSpace: s },
6649
6650
  onClick: o,
6650
6651
  level: j2[t],
6651
- ref: s,
6652
+ ref: a,
6653
+ children: r
6654
+ }
6655
+ ) : /* @__PURE__ */ h(
6656
+ M2,
6657
+ {
6658
+ className: c,
6659
+ style: { color: n, whiteSpace: s },
6660
+ onClick: o,
6661
+ ref: a,
6652
6662
  children: r
6653
6663
  }
6654
- ) : /* @__PURE__ */ h(M2, { className: d, style: { color: n }, onClick: o, ref: s, children: r });
6664
+ );
6655
6665
  }
6656
6666
  );
6657
6667
  var B = /* @__PURE__ */ ((e) => (e.GREY_LIGHT_0 = "var(--grey-light-0)", e.GREY_LIGHT_1 = "var(--grey-light-1)", e.GREY_LIGHT_2 = "var(--grey-light-2)", e.GREY_LIGHT_3 = "var(--grey-light-3)", e.GREY_LIGHT_4 = "var(--grey-light-4)", e.GREY_DARK_1 = "var(--grey-dark-1)", e.GREY_DARK_2 = "var(--grey-dark-2)", e.GREY_DARK_3 = "var(--grey-dark-3)", e.GREY_DARK_4 = "var(--grey-dark-4)", e.GREY_DARK_5 = "var(--grey-dark-5)", e.BLUE_PRIMARY = "var(--blue-primary)", e.BLUE_HOVER = "var(--blue-hover)", e.BLUE_LIGHT_1 = "var(--blue-light-1)", e.BLUE_LIGHT_2 = "var(--blue-light-2)", e.BLUE_LIGHT_3 = "var(--blue-light-3)", e.BLUE_LIGHT_4 = "var(--blue-light-4)", e.BLUE_DARK_1 = "var(--blue-dark-1)", e.PURPLE_LIGHT = "var(--purple-light)", e.PURPLE_DARK = "var(--purple-dark)", e.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", e.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", e.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", e.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", e.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", e.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", e.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", e))(B || {});
@@ -13247,21 +13257,31 @@ const Ds = ({ children: e, width: t, size: n = "small", onClose: r }) => {
13247
13257
  color: n,
13248
13258
  children: r,
13249
13259
  onClick: o,
13250
- collapsed: i
13251
- }, s) => {
13252
- const a = t === "h1" || t === "h2" || t === "h3" || t === "h4";
13253
- let d = `snmt-typography snmt-typography-${t}`;
13254
- return e && e !== "inherit" && (d += ` snmt-typography-align-${e}`), i && (d += " collapsed"), a ? /* @__PURE__ */ h(
13260
+ collapsed: i,
13261
+ whiteSpace: s = "normal"
13262
+ }, a) => {
13263
+ const d = t === "h1" || t === "h2" || t === "h3" || t === "h4";
13264
+ let c = `snmt-typography snmt-typography-${t}`;
13265
+ return e && e !== "inherit" && (c += ` snmt-typography-align-${e}`), i && (c += " collapsed"), d ? /* @__PURE__ */ h(
13255
13266
  pu,
13256
13267
  {
13257
- className: d,
13258
- style: { color: n },
13268
+ className: c,
13269
+ style: { color: n, whiteSpace: s },
13259
13270
  onClick: o,
13260
13271
  level: mu[t],
13261
- ref: s,
13272
+ ref: a,
13273
+ children: r
13274
+ }
13275
+ ) : /* @__PURE__ */ h(
13276
+ gu,
13277
+ {
13278
+ className: c,
13279
+ style: { color: n, whiteSpace: s },
13280
+ onClick: o,
13281
+ ref: a,
13262
13282
  children: r
13263
13283
  }
13264
- ) : /* @__PURE__ */ h(gu, { className: d, style: { color: n }, onClick: o, ref: s, children: r });
13284
+ );
13265
13285
  }
13266
13286
  ), wu = ({
13267
13287
  children: e,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snmt-react-ui/country-select",
3
3
  "private": false,
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
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": "^1.4.0",
21
+ "@snmt-react-ui/city-select": "^1.4.2",
22
22
  "@snmt-react-ui/core": "^1.5.0",
23
23
  "@snmt-react-ui/flex": "^1.3.6",
24
24
  "i18next": "^23.11.5",
@@ -27,5 +27,5 @@
27
27
  "peerDependencies": {
28
28
  "antd": "^5.18.3"
29
29
  },
30
- "gitHead": "1a211a4f41bb2e0991724b55237c09dd6c556055"
30
+ "gitHead": "5b33180bf714425add018062f0a6298c18bcc385"
31
31
  }