@snmt-react-ui/async-select 1.9.7 → 1.9.8

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.
@@ -1,8 +1,8 @@
1
1
  import "./index.css";
2
- import { jsx as l, Fragment as U, jsxs as c } from "react/jsx-runtime";
3
- import { forwardRef as g1, useState as R, useRef as O, useEffect as A, useCallback as y, useContext as n1, createContext as r1, useImperativeHandle as p1, useMemo as I1 } from "react";
4
- import { Select as A1, Tag as G1, Flex as B1, Checkbox as y1, Avatar as D1, Typography as _1, Popover as W1 } from "antd";
5
- var T1 = Object.defineProperty, b1 = (o, i, e) => i in o ? T1(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, K1 = (o, i, e) => b1(o, i + "", e), Y1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ import { jsx as l, Fragment as F, jsxs as c } from "react/jsx-runtime";
3
+ import { forwardRef as g1, useState as _, useRef as O, useEffect as A, useCallback as y, useContext as n1, createContext as r1, useImperativeHandle as p1, useMemo as I1 } from "react";
4
+ import { Select as A1, Tag as G1, Flex as B1, Checkbox as y1, Avatar as D1, Typography as R1, Popover as T1 } from "antd";
5
+ var W1 = Object.defineProperty, b1 = (o, i, e) => i in o ? W1(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, Y1 = (o, i, e) => b1(o, i + "", e), K1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
6
  function O1() {
7
7
  if (console && console.warn) {
8
8
  for (var o = arguments.length, i = new Array(o), e = 0; e < o; e++)
@@ -50,7 +50,7 @@ const x1 = (o, i) => () => {
50
50
  if (e.bindI18n && e.bindI18n.indexOf("languageChanging") > -1 && t.services.backendConnector.backend && t.isLanguageChangingTo && !n(t.isLanguageChangingTo, o)) return !1;
51
51
  }
52
52
  }) : j1(o, i, e);
53
- }, P = (o) => typeof o == "string", F1 = (o) => typeof o == "object" && o !== null, U1 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, P1 = {
53
+ }, P = (o) => typeof o == "string", U1 = (o) => typeof o == "object" && o !== null, F1 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, P1 = {
54
54
  "&amp;": "&",
55
55
  "&#38;": "&",
56
56
  "&lt;": "<",
@@ -71,7 +71,7 @@ const x1 = (o, i) => () => {
71
71
  "&#8230;": "…",
72
72
  "&#x2F;": "/",
73
73
  "&#47;": "/"
74
- }, $1 = (o) => P1[o], z1 = (o) => o.replace(U1, $1);
74
+ }, $1 = (o) => P1[o], z1 = (o) => o.replace(F1, $1);
75
75
  let J1 = {
76
76
  bindI18n: "languageChanged",
77
77
  bindI18nStore: "",
@@ -87,7 +87,7 @@ let Q1;
87
87
  const X1 = () => Q1, e2 = r1();
88
88
  class i2 {
89
89
  constructor() {
90
- K1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
90
+ Y1(this, "getUsedNamespaces", () => Object.keys(this.usedNamespaces)), this.usedNamespaces = {};
91
91
  }
92
92
  addUsedNamespaces(i) {
93
93
  i.forEach((e) => {
@@ -110,7 +110,7 @@ const o2 = (o, i) => {
110
110
  } = n1(e2) || {}, a = e || t || X1();
111
111
  if (a && !a.reportNamespaces && (a.reportNamespaces = new i2()), !a) {
112
112
  L1("You will need to pass in an i18next instance by using initReactI18next");
113
- const p = (_, x) => P(x) ? x : F1(x) && P(x.defaultValue) ? x.defaultValue : Array.isArray(_) ? _[_.length - 1] : _, H = [p, {}, !1];
113
+ const p = (R, x) => P(x) ? x : U1(x) && P(x.defaultValue) ? x.defaultValue : Array.isArray(R) ? R[R.length - 1] : R, H = [p, {}, !1];
114
114
  return H.t = p, H.i18n = {}, H.ready = !1, H;
115
115
  }
116
116
  a.options.react && a.options.react.wait !== void 0 && L1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
@@ -124,7 +124,7 @@ const o2 = (o, i) => {
124
124
  } = L;
125
125
  let C = o;
126
126
  C = P(C) ? [C] : C || ["translation"], a.reportNamespaces.addUsedNamespaces && a.reportNamespaces.addUsedNamespaces(C);
127
- const h = (a.isInitialized || a.initializedStoreOnce) && C.every((p) => S1(p, a, L)), s = l2(a, i.lng || null, L.nsMode === "fallback" ? C : C[0], u), f = () => s, N = () => H1(a, i.lng || null, L.nsMode === "fallback" ? C : C[0], u), [E, Z] = R(f);
127
+ const h = (a.isInitialized || a.initializedStoreOnce) && C.every((p) => S1(p, a, L)), s = l2(a, i.lng || null, L.nsMode === "fallback" ? C : C[0], u), f = () => s, N = () => H1(a, i.lng || null, L.nsMode === "fallback" ? C : C[0], u), [E, Z] = _(f);
128
128
  let m = C.join();
129
129
  i.lng && (m = `${i.lng}${m}`);
130
130
  const I = o2(m), B = O(!0);
@@ -138,11 +138,11 @@ const o2 = (o, i) => {
138
138
  }) : v1(a, C, () => {
139
139
  B.current && Z(N);
140
140
  })), h && I && I !== m && B.current && Z(N);
141
- const _ = () => {
141
+ const R = () => {
142
142
  B.current && Z(N);
143
143
  };
144
- return p && a && a.on(p, _), H && a && a.store.on(H, _), () => {
145
- B.current = !1, p && a && p.split(" ").forEach((x) => a.off(x, _)), H && a && H.split(" ").forEach((x) => a.store.off(x, _));
144
+ return p && a && a.on(p, R), H && a && a.store.on(H, R), () => {
145
+ B.current = !1, p && a && p.split(" ").forEach((x) => a.off(x, R)), H && a && H.split(" ").forEach((x) => a.store.off(x, R));
146
146
  };
147
147
  }, [a, m]), A(() => {
148
148
  B.current && h && Z(f);
@@ -188,7 +188,7 @@ const o2 = (o, i) => {
188
188
  }
189
189
  );
190
190
  };
191
- var b = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o))(b || {});
191
+ var b = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_LIGHT_2 = "var(--purple-light-2)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o.CYAN_LIGHT = "var(--cyan-light)", o.GOLD_LIGHT = "var(--gold-light)", o))(b || {});
192
192
  const u1 = r1({
193
193
  locale: "en",
194
194
  theme: "light"
@@ -202,7 +202,7 @@ const r2 = ({
202
202
  disabled: n = !1,
203
203
  disableUncheck: a = !1
204
204
  }) => {
205
- const [L, r] = R(o), [u, C] = R(i);
205
+ const [L, r] = _(o), [u, C] = _(i);
206
206
  A(() => {
207
207
  r(o), C(i);
208
208
  }, [o, i]);
@@ -221,7 +221,7 @@ const r2 = ({
221
221
  }
222
222
  );
223
223
  };
224
- var w = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o))(w || {});
224
+ var w = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_LIGHT_2 = "var(--purple-light-2)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o.CYAN_LIGHT = "var(--cyan-light)", o.GOLD_LIGHT = "var(--gold-light)", o))(w || {});
225
225
  const V1 = r1({
226
226
  locale: "en",
227
227
  theme: "light"
@@ -876,7 +876,7 @@ const s2 = ({
876
876
  )
877
877
  ]
878
878
  }
879
- ), R2 = ({
879
+ ), _2 = ({
880
880
  width: o = 20,
881
881
  height: i = 20,
882
882
  color: e = w.GREY_DARK_5,
@@ -909,7 +909,7 @@ const s2 = ({
909
909
  )
910
910
  ]
911
911
  }
912
- ), _2 = ({
912
+ ), R2 = ({
913
913
  width: o = 20,
914
914
  height: i = 20,
915
915
  color: e = w.GREY_DARK_5,
@@ -1310,7 +1310,7 @@ const s2 = ({
1310
1310
  )
1311
1311
  ]
1312
1312
  }
1313
- ), W2 = ({
1313
+ ), T2 = ({
1314
1314
  width: o = 20,
1315
1315
  height: i = 20,
1316
1316
  color: e = "#004ED7",
@@ -1339,7 +1339,7 @@ const s2 = ({
1339
1339
  )
1340
1340
  ]
1341
1341
  }
1342
- ), T2 = ({
1342
+ ), W2 = ({
1343
1343
  width: o = 10,
1344
1344
  height: i = 10,
1345
1345
  color: e = "#001E52",
@@ -1405,7 +1405,7 @@ const s2 = ({
1405
1405
  )
1406
1406
  ]
1407
1407
  }
1408
- ), K2 = ({
1408
+ ), Y2 = ({
1409
1409
  className: o,
1410
1410
  color: i = w.GREY_DARK_5,
1411
1411
  height: e = 20,
@@ -1438,7 +1438,7 @@ const s2 = ({
1438
1438
  )
1439
1439
  ]
1440
1440
  }
1441
- ), Y2 = ({
1441
+ ), K2 = ({
1442
1442
  className: o,
1443
1443
  color: i = w.GREY_DARK_5,
1444
1444
  height: e = 20,
@@ -1541,7 +1541,7 @@ const s2 = ({
1541
1541
  }
1542
1542
  )
1543
1543
  }
1544
- ), F2 = ({
1544
+ ), U2 = ({
1545
1545
  className: o,
1546
1546
  color: i = w.GREY_DARK_5,
1547
1547
  height: e = 20,
@@ -1574,7 +1574,7 @@ const s2 = ({
1574
1574
  )
1575
1575
  ]
1576
1576
  }
1577
- ), U2 = ({
1577
+ ), F2 = ({
1578
1578
  className: o,
1579
1579
  color: i = w.GREY_DARK_5,
1580
1580
  height: e = 24,
@@ -2633,17 +2633,17 @@ const s2 = ({
2633
2633
  disabled: a = !1,
2634
2634
  onClick: L
2635
2635
  }) => {
2636
- const [r, u] = R(n), { theme: C } = n1(V1), h = a ? C && C === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : t, s = a ? void 0 : L;
2636
+ const [r, u] = _(n), { theme: C } = n1(V1), h = a ? C && C === "dark" ? w.GREY_LIGHT_4 : w.GREY_DARK_1 : t, s = a ? void 0 : L;
2637
2637
  return A(() => {
2638
2638
  if (n) {
2639
2639
  s && !a && u(`${n} clickable`);
2640
2640
  return;
2641
2641
  }
2642
2642
  s && !a && u("clickable");
2643
- }, [s, n, a]), /* @__PURE__ */ l(U, { children: (() => {
2643
+ }, [s, n, a]), /* @__PURE__ */ l(F, { children: (() => {
2644
2644
  switch (o) {
2645
2645
  case "nextIcon":
2646
- return Y2({ width: i, height: e, color: h, className: r, onClick: s });
2646
+ return K2({ width: i, height: e, color: h, className: r, onClick: s });
2647
2647
  case "prevIcon":
2648
2648
  return O2({ width: i, height: e, color: h, className: r, onClick: s });
2649
2649
  case "arrowDown":
@@ -2693,9 +2693,9 @@ const s2 = ({
2693
2693
  case "logOut":
2694
2694
  return M2({ width: i, height: e, color: h, className: r, onClick: s });
2695
2695
  case "settings":
2696
- return R2({ width: i, height: e, color: h, className: r, onClick: s });
2697
- case "trash":
2698
2696
  return _2({ width: i, height: e, color: h, className: r, onClick: s });
2697
+ case "trash":
2698
+ return R2({ width: i, height: e, color: h, className: r, onClick: s });
2699
2699
  case "settings2":
2700
2700
  return x2({ width: i, height: e, color: h, className: r, onClick: s });
2701
2701
  case "success":
@@ -2749,7 +2749,7 @@ const s2 = ({
2749
2749
  onClick: s
2750
2750
  });
2751
2751
  case "expandActiveArrowIcon":
2752
- return W2({
2752
+ return T2({
2753
2753
  width: i,
2754
2754
  height: e,
2755
2755
  color: h,
@@ -2757,23 +2757,23 @@ const s2 = ({
2757
2757
  onClick: s
2758
2758
  });
2759
2759
  case "sortUp":
2760
- return T2({ width: i, height: e, color: h, className: r, onClick: s });
2760
+ return W2({ width: i, height: e, color: h, className: r, onClick: s });
2761
2761
  case "sortDown":
2762
2762
  return b2({ width: i, height: e, color: h, className: r, onClick: s });
2763
2763
  case "search":
2764
- return K2({ width: i, height: e, color: h, className: r, onClick: s });
2764
+ return Y2({ width: i, height: e, color: h, className: r, onClick: s });
2765
2765
  case "arrowUpFilled":
2766
2766
  return S2({ width: i, height: e, color: h, className: r, onClick: s });
2767
2767
  case "arrowDownFilled":
2768
2768
  return j2({ width: i, height: e, color: h, className: r, onClick: s });
2769
2769
  case "link":
2770
- return F2({ width: i, height: e, color: h, className: r, onClick: s });
2770
+ return U2({ width: i, height: e, color: h, className: r, onClick: s });
2771
2771
  case "telegram":
2772
2772
  return P2({ width: i, height: e, color: h, className: r, onClick: s });
2773
2773
  case "mail":
2774
2774
  return z2({ width: i, height: e, color: h, className: r, onClick: s });
2775
2775
  case "github":
2776
- return U2({ width: i, height: e, color: h, className: r, onClick: s });
2776
+ return F2({ width: i, height: e, color: h, className: r, onClick: s });
2777
2777
  case "linkedIn":
2778
2778
  return $2({ width: i, height: e, color: h, className: r, onClick: s });
2779
2779
  case "emptyStateIcon":
@@ -2825,10 +2825,10 @@ const s2 = ({
2825
2825
  case "docs":
2826
2826
  return u5({ width: i, height: e, color: h, className: r, onClick: s });
2827
2827
  default:
2828
- return /* @__PURE__ */ l(U, { children: "No Icon provided" });
2828
+ return /* @__PURE__ */ l(F, { children: "No Icon provided" });
2829
2829
  }
2830
2830
  })() });
2831
- }, { Title: v5, Text: f5 } = _1, N5 = {
2831
+ }, { Title: v5, Text: f5 } = R1, N5 = {
2832
2832
  h1: 1,
2833
2833
  h2: 2,
2834
2834
  h3: 3,
@@ -2847,7 +2847,7 @@ const s2 = ({
2847
2847
  }, u) => {
2848
2848
  const C = O(null);
2849
2849
  p1(u, () => C.current);
2850
- const [h, s] = R(!1);
2850
+ const [h, s] = _(!1);
2851
2851
  A(() => {
2852
2852
  var Z;
2853
2853
  if (!r) return;
@@ -2878,13 +2878,13 @@ const s2 = ({
2878
2878
  return f ? /* @__PURE__ */ l(v5, { level: N5[i], ...E, children: t }) : /* @__PURE__ */ l(f5, { ...E, children: t });
2879
2879
  }
2880
2880
  );
2881
- var g = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o))(g || {});
2881
+ var g = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_LIGHT_2 = "var(--purple-light-2)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o.CYAN_LIGHT = "var(--cyan-light)", o.GOLD_LIGHT = "var(--gold-light)", o))(g || {});
2882
2882
  const E1 = r1({
2883
2883
  locale: "en",
2884
2884
  theme: "light"
2885
2885
  });
2886
2886
  E1.Provider;
2887
- const R5 = ({
2887
+ const _5 = ({
2888
2888
  width: o = 20,
2889
2889
  height: i = 20,
2890
2890
  color: e = "#001E52",
@@ -2911,7 +2911,7 @@ const R5 = ({
2911
2911
  }
2912
2912
  )
2913
2913
  }
2914
- ), _5 = ({
2914
+ ), R5 = ({
2915
2915
  width: o = 20,
2916
2916
  height: i = 20,
2917
2917
  color: e = g.GREY_DARK_5,
@@ -3380,7 +3380,7 @@ const R5 = ({
3380
3380
  )
3381
3381
  ]
3382
3382
  }
3383
- ), W5 = ({
3383
+ ), T5 = ({
3384
3384
  width: o = 20,
3385
3385
  height: i = 20,
3386
3386
  color: e = g.GREY_DARK_5,
@@ -3427,7 +3427,7 @@ const R5 = ({
3427
3427
  )
3428
3428
  ]
3429
3429
  }
3430
- ), T5 = ({
3430
+ ), W5 = ({
3431
3431
  width: o = 20,
3432
3432
  height: i = 20,
3433
3433
  color: e = g.GREY_DARK_5,
@@ -3500,7 +3500,7 @@ const R5 = ({
3500
3500
  )
3501
3501
  ]
3502
3502
  }
3503
- ), K5 = ({
3503
+ ), Y5 = ({
3504
3504
  width: o = 20,
3505
3505
  height: i = 20,
3506
3506
  color: e = "#001E52",
@@ -3533,7 +3533,7 @@ const R5 = ({
3533
3533
  )
3534
3534
  ]
3535
3535
  }
3536
- ), Y5 = ({
3536
+ ), K5 = ({
3537
3537
  width: o = 20,
3538
3538
  height: i = 20,
3539
3539
  color: e = g.GREY_DARK_5,
@@ -3668,7 +3668,7 @@ const R5 = ({
3668
3668
  )
3669
3669
  ]
3670
3670
  }
3671
- ), F5 = ({
3671
+ ), U5 = ({
3672
3672
  width: o = 20,
3673
3673
  height: i = 20,
3674
3674
  color: e = g.GREY_DARK_5,
@@ -3701,7 +3701,7 @@ const R5 = ({
3701
3701
  )
3702
3702
  ]
3703
3703
  }
3704
- ), U5 = ({
3704
+ ), F5 = ({
3705
3705
  width: o = 20,
3706
3706
  height: i = 20,
3707
3707
  color: e = g.GREY_DARK_5,
@@ -4858,7 +4858,7 @@ const R5 = ({
4858
4858
  )
4859
4859
  ]
4860
4860
  }
4861
- ), R7 = ({
4861
+ ), _7 = ({
4862
4862
  className: o,
4863
4863
  color: i = g.GREY_DARK_5,
4864
4864
  height: e = 24,
@@ -4885,7 +4885,7 @@ const R5 = ({
4885
4885
  }
4886
4886
  )
4887
4887
  }
4888
- ), _7 = ({
4888
+ ), R7 = ({
4889
4889
  className: o,
4890
4890
  color: i = g.GREY_DARK_5,
4891
4891
  height: e = 20,
@@ -5281,7 +5281,7 @@ const R5 = ({
5281
5281
  }
5282
5282
  )
5283
5283
  }
5284
- ), W7 = ({
5284
+ ), T7 = ({
5285
5285
  name: o,
5286
5286
  width: i,
5287
5287
  height: e,
@@ -5290,23 +5290,23 @@ const R5 = ({
5290
5290
  disabled: a = !1,
5291
5291
  onClick: L
5292
5292
  }) => {
5293
- const [r, u] = R(n), { theme: C } = n1(E1), h = a ? C && C === "dark" ? g.GREY_LIGHT_4 : g.GREY_DARK_1 : t, s = a ? void 0 : L;
5293
+ const [r, u] = _(n), { theme: C } = n1(E1), h = a ? C && C === "dark" ? g.GREY_LIGHT_4 : g.GREY_DARK_1 : t, s = a ? void 0 : L;
5294
5294
  return A(() => {
5295
5295
  if (n) {
5296
5296
  s && !a && u(`${n} clickable`);
5297
5297
  return;
5298
5298
  }
5299
5299
  s && !a && u("clickable");
5300
- }, [s, n, a]), /* @__PURE__ */ l(U, { children: (() => {
5300
+ }, [s, n, a]), /* @__PURE__ */ l(F, { children: (() => {
5301
5301
  switch (o) {
5302
5302
  case "nextIcon":
5303
5303
  return t7({ width: i, height: e, color: h, className: r, onClick: s });
5304
5304
  case "prevIcon":
5305
5305
  return n7({ width: i, height: e, color: h, className: r, onClick: s });
5306
5306
  case "arrowDown":
5307
- return R5({ width: i, height: e, color: h, className: r, onClick: s });
5308
- case "info":
5309
5307
  return _5({ width: i, height: e, color: h, className: r, onClick: s });
5308
+ case "info":
5309
+ return R5({ width: i, height: e, color: h, className: r, onClick: s });
5310
5310
  case "arrowRight":
5311
5311
  return x5({ width: i, height: e, color: h, className: r, onClick: s });
5312
5312
  case "calendar":
@@ -5336,9 +5336,9 @@ const R5 = ({
5336
5336
  onClick: s
5337
5337
  });
5338
5338
  case "skills":
5339
- return W5({ width: i, height: e, color: h, className: r, onClick: s });
5339
+ return T5({ width: i, height: e, color: h, className: r, onClick: s });
5340
5340
  case "skillsMatrices":
5341
- return T5({
5341
+ return W5({
5342
5342
  width: i,
5343
5343
  height: e,
5344
5344
  color: h,
@@ -5348,9 +5348,9 @@ const R5 = ({
5348
5348
  case "history":
5349
5349
  return b5({ width: i, height: e, color: h, className: r, onClick: s });
5350
5350
  case "logOut":
5351
- return K5({ width: i, height: e, color: h, className: r, onClick: s });
5352
- case "settings":
5353
5351
  return Y5({ width: i, height: e, color: h, className: r, onClick: s });
5352
+ case "settings":
5353
+ return K5({ width: i, height: e, color: h, className: r, onClick: s });
5354
5354
  case "trash":
5355
5355
  return O5({ width: i, height: e, color: h, className: r, onClick: s });
5356
5356
  case "settings2":
@@ -5358,9 +5358,9 @@ const R5 = ({
5358
5358
  case "success":
5359
5359
  return S5({ width: i, height: e, color: h, className: r, onClick: s });
5360
5360
  case "checkCircle":
5361
- return F5({ width: i, height: e, color: h, className: r, onClick: s });
5362
- case "cancelCircle":
5363
5361
  return U5({ width: i, height: e, color: h, className: r, onClick: s });
5362
+ case "cancelCircle":
5363
+ return F5({ width: i, height: e, color: h, className: r, onClick: s });
5364
5364
  case "infoMedium":
5365
5365
  return P5({ width: i, height: e, color: h, className: r, onClick: s });
5366
5366
  case "attentionMedium":
@@ -5456,9 +5456,9 @@ const R5 = ({
5456
5456
  case "image":
5457
5457
  return M7({ width: i, height: e, color: h, className: r, onClick: s });
5458
5458
  case "edit":
5459
- return R7({ width: i, height: e, color: h, className: r, onClick: s });
5460
- case "filledArrowRight":
5461
5459
  return _7({ width: i, height: e, color: h, className: r, onClick: s });
5460
+ case "filledArrowRight":
5461
+ return R7({ width: i, height: e, color: h, className: r, onClick: s });
5462
5462
  case "burgerMenu":
5463
5463
  return x7({ width: i, height: e, color: h, className: r, onClick: s });
5464
5464
  case "signOut":
@@ -5482,16 +5482,16 @@ const R5 = ({
5482
5482
  case "docs":
5483
5483
  return y7({ width: i, height: e, color: h, className: r, onClick: s });
5484
5484
  default:
5485
- return /* @__PURE__ */ l(U, { children: "No Icon provided" });
5485
+ return /* @__PURE__ */ l(F, { children: "No Icon provided" });
5486
5486
  }
5487
5487
  })() });
5488
5488
  };
5489
- var t1 = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o))(t1 || {});
5490
- const T7 = r1({
5489
+ var t1 = /* @__PURE__ */ ((o) => (o.GREY_LIGHT_0 = "var(--grey-light-0)", o.GREY_LIGHT_1 = "var(--grey-light-1)", o.GREY_LIGHT_2 = "var(--grey-light-2)", o.GREY_LIGHT_3 = "var(--grey-light-3)", o.GREY_LIGHT_4 = "var(--grey-light-4)", o.GREY_DARK_1 = "var(--grey-dark-1)", o.GREY_DARK_2 = "var(--grey-dark-2)", o.GREY_DARK_3 = "var(--grey-dark-3)", o.GREY_DARK_4 = "var(--grey-dark-4)", o.GREY_DARK_5 = "var(--grey-dark-5)", o.BLUE_PRIMARY = "var(--blue-primary)", o.BLUE_HOVER = "var(--blue-hover)", o.BLUE_LIGHT_1 = "var(--blue-light-1)", o.BLUE_LIGHT_2 = "var(--blue-light-2)", o.BLUE_LIGHT_3 = "var(--blue-light-3)", o.BLUE_LIGHT_4 = "var(--blue-light-4)", o.BLUE_DARK_1 = "var(--blue-dark-1)", o.BLUE_DARK_3 = "var(--blue-dark-3)", o.PURPLE_LIGHT = "var(--purple-light)", o.PURPLE_LIGHT_2 = "var(--purple-light-2)", o.PURPLE_DARK = "var(--purple-dark)", o.NOTIFICATION_WARNING_LIGHT = "var(--notification-warning-light)", o.NOTIFICATION_WARNING_DARK = "var(--notification-warning-dark)", o.NOTIFICATION_SUCCESS_LIGHT = "var(--notification-success-light)", o.NOTIFICATION_SUCCESS_DARK = "var(--notification-success-dark)", o.NOTIFICATION_ERROR_LIGHT = "var(--notification-error-light)", o.NOTIFICATION_ERROR_DARK = "var(--notification-error-dark)", o.NOTIFICATION_ERROR_DARK_MODE = "var(--notification-error-dark-mode)", o.CYAN_LIGHT = "var(--cyan-light)", o.GOLD_LIGHT = "var(--gold-light)", o))(t1 || {});
5490
+ const W7 = r1({
5491
5491
  locale: "en",
5492
5492
  theme: "light"
5493
5493
  });
5494
- T7.Provider;
5494
+ W7.Provider;
5495
5495
  const Z1 = ({
5496
5496
  children: o,
5497
5497
  width: i,
@@ -5508,7 +5508,7 @@ const Z1 = ({
5508
5508
  {
5509
5509
  className: `snmt-tag ${e} ${a ? "disabled" : ""}`,
5510
5510
  closeIcon: /* @__PURE__ */ l(
5511
- W7,
5511
+ T7,
5512
5512
  {
5513
5513
  name: "cancelCircle",
5514
5514
  color: a ? t1.GREY_DARK_1 : t1.GREY_DARK_2,
@@ -5530,7 +5530,7 @@ const Z1 = ({
5530
5530
  ) : o
5531
5531
  }
5532
5532
  );
5533
- }, { Title: b7, Text: K7 } = _1, Y7 = {
5533
+ }, { Title: b7, Text: Y7 } = R1, K7 = {
5534
5534
  h1: 1,
5535
5535
  h2: 2,
5536
5536
  h3: 3,
@@ -5549,7 +5549,7 @@ const Z1 = ({
5549
5549
  }, u) => {
5550
5550
  const C = O(null);
5551
5551
  p1(u, () => C.current);
5552
- const [h, s] = R(!1);
5552
+ const [h, s] = _(!1);
5553
5553
  A(() => {
5554
5554
  var Z;
5555
5555
  if (!r) return;
@@ -5577,7 +5577,7 @@ const Z1 = ({
5577
5577
  }
5578
5578
  } : void 0
5579
5579
  };
5580
- return f ? /* @__PURE__ */ l(b7, { level: Y7[i], ...E, children: t }) : /* @__PURE__ */ l(K7, { ...E, children: t });
5580
+ return f ? /* @__PURE__ */ l(b7, { level: K7[i], ...E, children: t }) : /* @__PURE__ */ l(Y7, { ...E, children: t });
5581
5581
  }
5582
5582
  ), j7 = ({
5583
5583
  children: o,
@@ -5587,9 +5587,9 @@ const Z1 = ({
5587
5587
  placement: n = "topRight",
5588
5588
  noPadding: a = !1
5589
5589
  }) => {
5590
- const [L, r] = R(!1);
5590
+ const [L, r] = _(!1);
5591
5591
  return /* @__PURE__ */ l(
5592
- W1,
5592
+ T1,
5593
5593
  {
5594
5594
  content: i,
5595
5595
  arrow: !1,
@@ -5608,14 +5608,14 @@ var S7 = { exports: {} };
5608
5608
  (function(o, i) {
5609
5609
  (function(e, t) {
5610
5610
  o.exports = t();
5611
- })(Y1, function() {
5611
+ })(K1, function() {
5612
5612
  return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(e) {
5613
5613
  var t = ["th", "st", "nd", "rd"], n = e % 100;
5614
5614
  return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
5615
5615
  } };
5616
5616
  });
5617
5617
  })(S7);
5618
- const F7 = ({
5618
+ const U7 = ({
5619
5619
  values: o,
5620
5620
  onTagClose: i,
5621
5621
  maxWidth: e,
@@ -5624,7 +5624,7 @@ const F7 = ({
5624
5624
  options: a,
5625
5625
  extraOptions: L
5626
5626
  }) => {
5627
- const { locale: r } = n1(u1), { t: u } = t2("common", { lng: r }), [C, h] = R(!1);
5627
+ const { locale: r } = n1(u1), { t: u } = t2("common", { lng: r }), [C, h] = _(!1);
5628
5628
  if (A(() => {
5629
5629
  o.length || h(!1);
5630
5630
  }, [o]), !o.length)
@@ -5659,12 +5659,12 @@ const F7 = ({
5659
5659
  ]
5660
5660
  }
5661
5661
  );
5662
- }, U7 = {
5662
+ }, F7 = {
5663
5663
  small: 20,
5664
5664
  medium: 28,
5665
5665
  large: 48
5666
5666
  }, N1 = ({ size: o = "medium", color: i = "#004ed7" }) => {
5667
- const e = U7[o], t = `no-repeat linear-gradient(${i}
5667
+ const e = F7[o], t = `no-repeat linear-gradient(${i}
5668
5668
  calc(50% - 10px), #0000 0 calc(50% + 10px), ${i} 0)`, n = {
5669
5669
  width: e,
5670
5670
  background: `${t} 0% 100%, ${t} 50% 100%, ${t} 100% 100%`,
@@ -5695,23 +5695,23 @@ const F7 = ({
5695
5695
  isLoading: D,
5696
5696
  readOnly: p,
5697
5697
  error: H
5698
- }, _) => {
5699
- const [x, K] = R(!1), [j, W] = R(!1), [S, $] = R(!0), [V, T] = R(o), Q = O(null);
5698
+ }, R) => {
5699
+ const [x, Y] = _(!1), [j, T] = _(!1), [S, $] = _(!0), [V, W] = _(o), Q = O(null);
5700
5700
  A(() => {
5701
- T(o);
5701
+ W(o);
5702
5702
  }, [o]);
5703
5703
  const s1 = (d) => {
5704
- K(d), f && f(d);
5704
+ Y(d), f && f(d);
5705
5705
  }, h1 = (d, k) => {
5706
5706
  var M;
5707
5707
  return !!((M = k == null ? void 0 : k.label) != null && M.toString().toLowerCase().includes(d.toLowerCase()));
5708
5708
  }, X = () => {
5709
- W(!0);
5709
+ T(!0);
5710
5710
  }, z = () => {
5711
- W(!1);
5712
- }, Y = y(
5711
+ T(!1);
5712
+ }, K = y(
5713
5713
  (d) => {
5714
- if (T(d), t) {
5714
+ if (W(d), t) {
5715
5715
  const M = d;
5716
5716
  i == null || i(M);
5717
5717
  return;
@@ -5723,23 +5723,23 @@ const F7 = ({
5723
5723
  ), c1 = y(() => {
5724
5724
  if (!(p || r)) {
5725
5725
  if (t) {
5726
- Y([]);
5726
+ K([]);
5727
5727
  return;
5728
5728
  }
5729
- Y("");
5729
+ K("");
5730
5730
  }
5731
- }, [r, Y, t, p]), F = y(
5731
+ }, [r, K, t, p]), U = y(
5732
5732
  (d) => {
5733
5733
  const k = V.filter((M) => M !== d);
5734
- Y(k), T(k);
5734
+ K(k), W(k);
5735
5735
  },
5736
- [Y, V]
5736
+ [K, V]
5737
5737
  ), e1 = y(
5738
5738
  (d) => (V == null ? void 0 : V.indexOf(d)) === 0 ? (
5739
5739
  // if the search input is empty
5740
5740
  // then display the placeholder, else do not display it
5741
5741
  /* @__PURE__ */ l("span", { className: "custom-placeholder", children: S ? e : "" })
5742
- ) : /* @__PURE__ */ l(U, {}),
5742
+ ) : /* @__PURE__ */ l(F, {}),
5743
5743
  [S, V, e]
5744
5744
  ), a1 = (d) => {
5745
5745
  d.preventDefault(), d.stopPropagation();
@@ -5758,10 +5758,10 @@ const F7 = ({
5758
5758
  (d) => {
5759
5759
  var k;
5760
5760
  return /* @__PURE__ */ l(
5761
- F7,
5761
+ U7,
5762
5762
  {
5763
5763
  values: d,
5764
- onTagClose: F,
5764
+ onTagClose: U,
5765
5765
  maxWidth: ((k = Q.current) == null ? void 0 : k.clientWidth) || 0,
5766
5766
  disabled: r,
5767
5767
  closable: !p,
@@ -5770,10 +5770,10 @@ const F7 = ({
5770
5770
  }
5771
5771
  );
5772
5772
  },
5773
- [r, m, F, a, p]
5773
+ [r, m, U, a, p]
5774
5774
  ), v = y(
5775
- ({ label: d, value: k, mode: M }) => M === "filter" ? e1(k) : /* @__PURE__ */ l("div", { onMouseDown: a1, className: "tag-wrapper", children: /* @__PURE__ */ l(Z1, { onClose: () => F(k), disabled: r, children: typeof d == "object" ? d : J(k) }) }),
5776
- [r, J, F, e1]
5775
+ ({ label: d, value: k, mode: M }) => M === "filter" ? e1(k) : /* @__PURE__ */ l("div", { onMouseDown: a1, className: "tag-wrapper", children: /* @__PURE__ */ l(Z1, { onClose: () => U(k), disabled: r, children: typeof d == "object" ? d : J(k) }) }),
5776
+ [r, J, U, e1]
5777
5777
  ), G = Array.isArray(V) && V.length > 0 || !!V && typeof V == "string" && V.trim() !== "";
5778
5778
  return /* @__PURE__ */ c("div", { className: "snmt-select-container", children: [
5779
5779
  /* @__PURE__ */ c(
@@ -5790,7 +5790,7 @@ const F7 = ({
5790
5790
  className: "snmt-select-blank",
5791
5791
  popupClassName: p ? "dropdown-read-only" : "",
5792
5792
  id: Z,
5793
- ref: _,
5793
+ ref: R,
5794
5794
  showSearch: !!n,
5795
5795
  filterOption: n && h1,
5796
5796
  onDropdownVisibleChange: s1,
@@ -5801,7 +5801,7 @@ const F7 = ({
5801
5801
  return r ? /* @__PURE__ */ l("span", { style: { color: b.GREY_DARK_1 }, children: k }) : k;
5802
5802
  },
5803
5803
  mode: t === "filter" ? "multiple" : t,
5804
- onChange: Y,
5804
+ onChange: K,
5805
5805
  onFocus: X,
5806
5806
  onBlur: z,
5807
5807
  onSearch: (d) => {
@@ -5814,7 +5814,7 @@ const F7 = ({
5814
5814
  maxTagPlaceholder: d1,
5815
5815
  onPopupScroll: C1,
5816
5816
  prefix: D && /* @__PURE__ */ l(N1, { size: "small" }),
5817
- suffixIcon: /* @__PURE__ */ l("div", { className: "wrapper-suffix-icon", children: t !== "filter" && /* @__PURE__ */ c(U, { children: [
5817
+ suffixIcon: /* @__PURE__ */ l("div", { className: "wrapper-suffix-icon", children: t !== "filter" && /* @__PURE__ */ c(F, { children: [
5818
5818
  V && !!V.length && (t || C) && /* @__PURE__ */ l(
5819
5819
  "div",
5820
5820
  {
@@ -5837,7 +5837,7 @@ const F7 = ({
5837
5837
  name: "selectArrowIcon",
5838
5838
  color: r ? b.GREY_DARK_1 : b.GREY_DARK_5,
5839
5839
  className: x ? "select-arrow-rotated" : "select-arrow",
5840
- onClick: () => K(!x)
5840
+ onClick: () => Y(!x)
5841
5841
  }
5842
5842
  )
5843
5843
  ] }) }),
@@ -5872,7 +5872,7 @@ const F7 = ({
5872
5872
  ] })
5873
5873
  }
5874
5874
  ),
5875
- e && /* @__PURE__ */ c(U, { children: [
5875
+ e && /* @__PURE__ */ c(F, { children: [
5876
5876
  /* @__PURE__ */ l(
5877
5877
  "label",
5878
5878
  {
@@ -5917,7 +5917,7 @@ function P7(o, i = 500) {
5917
5917
  clearTimeout(e.current), e.current = a;
5918
5918
  };
5919
5919
  }
5920
- function R1(o) {
5920
+ function _1(o) {
5921
5921
  const i = O(o);
5922
5922
  return A(() => {
5923
5923
  i.current = o;
@@ -5947,9 +5947,9 @@ const k1 = 100, q = {
5947
5947
  required: I = !1,
5948
5948
  error: B
5949
5949
  }, D) => {
5950
- const [p, H] = R(), [_, x] = R(q), [K, j] = R(!1), [W, S] = R(), [$, V] = R(!1), [T, Q] = R(
5950
+ const [p, H] = _(), [R, x] = _(q), [Y, j] = _(!1), [T, S] = _(), [$, V] = _(!1), [W, Q] = _(
5951
5951
  s ?? []
5952
- ), s1 = R1(_.offset), h1 = R1(W), [X, z] = R(!1), Y = O(!1), c1 = y(
5952
+ ), s1 = _1(R.offset), h1 = _1(T), [X, z] = _(!1), K = O(!1), c1 = y(
5953
5953
  async ({
5954
5954
  limit: v = k1,
5955
5955
  offset: G,
@@ -5975,30 +5975,30 @@ const k1 = 100, q = {
5975
5975
  }
5976
5976
  },
5977
5977
  [o]
5978
- ), F = P7((v) => {
5978
+ ), U = P7((v) => {
5979
5979
  S(v), v || x(q);
5980
5980
  }), e1 = y(
5981
- (v) => F(v),
5982
- [F]
5981
+ (v) => U(v),
5982
+ [U]
5983
5983
  ), a1 = y(
5984
5984
  async (v) => {
5985
- K || v && _.count && _.count > ((p == null ? void 0 : p.length) ?? 0) && x((G) => ({
5985
+ Y || v && R.count && R.count > ((p == null ? void 0 : p.length) ?? 0) && x((G) => ({
5986
5986
  ...G,
5987
5987
  offset: G.offset + k1
5988
5988
  }));
5989
5989
  },
5990
- [K, p == null ? void 0 : p.length, _.count]
5990
+ [Y, p == null ? void 0 : p.length, R.count]
5991
5991
  ), C1 = y(
5992
5992
  (v) => {
5993
- V(v), !v && W && (S(void 0), x(q), z(!0)), f == null || f(v);
5993
+ V(v), !v && T && (S(void 0), x(q), z(!0)), f == null || f(v);
5994
5994
  },
5995
- [f, W]
5995
+ [f, T]
5996
5996
  );
5997
5997
  A(() => {
5998
- if (!Y.current || K) return;
5999
- (X || $ && (s1 !== _.offset || h1 !== W || !p)) && (c1({ offset: _.offset, limit: k1, search: W }), X && z(!1));
6000
- }, [X, $, _.offset, W, s1, h1, p, K]), A(() => {
6001
- (C || h) && c1(q), Y.current = !0;
5998
+ if (!K.current || Y) return;
5999
+ (X || $ && (s1 !== R.offset || h1 !== T || !p)) && (c1({ offset: R.offset, limit: k1, search: T }), X && z(!1));
6000
+ }, [X, $, R.offset, T, s1, h1, p, Y]), A(() => {
6001
+ (C || h) && c1(q), K.current = !0;
6002
6002
  }, []), A(() => {
6003
6003
  s && Q((v) => {
6004
6004
  const G = s.filter(
@@ -6011,9 +6011,9 @@ const k1 = 100, q = {
6011
6011
  (v) => {
6012
6012
  e && e(v);
6013
6013
  let G = [];
6014
- if (u ? G = Array.isArray(v) ? v : [] : G = v ? [v] : [], W) {
6014
+ if (u ? G = Array.isArray(v) ? v : [] : G = v ? [v] : [], T) {
6015
6015
  const d = G.filter(
6016
- (k) => !(T != null && T.some((M) => M.value === k))
6016
+ (k) => !(W != null && W.some((M) => M.value === k))
6017
6017
  );
6018
6018
  d.length > 0 && Q((k = []) => [
6019
6019
  ...k,
@@ -6027,7 +6027,7 @@ const k1 = 100, q = {
6027
6027
  ]), S(void 0), x(q), z(!0);
6028
6028
  }
6029
6029
  },
6030
- [e, W, u, p, T]
6030
+ [e, T, u, p, W]
6031
6031
  ), d1 = I1(
6032
6032
  () => ({
6033
6033
  id: n,
@@ -6043,8 +6043,8 @@ const k1 = 100, q = {
6043
6043
  scrollThresholdValue: L,
6044
6044
  onScrollToEnd: a1,
6045
6045
  disabled: a,
6046
- extraOptions: T,
6047
- isLoading: K,
6046
+ extraOptions: W,
6047
+ isLoading: Y,
6048
6048
  optionRender: N,
6049
6049
  dropdownRender: E,
6050
6050
  readOnly: Z,
@@ -6065,8 +6065,8 @@ const k1 = 100, q = {
6065
6065
  L,
6066
6066
  a1,
6067
6067
  a,
6068
- T,
6069
- K,
6068
+ W,
6069
+ Y,
6070
6070
  N,
6071
6071
  E,
6072
6072
  Z,
package/dist/index.css CHANGED
@@ -1 +1 @@
1
- .snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-wrapper.delete .ant-checkbox-checked .ant-checkbox-inner:after{transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled+span{color:var(--grey-light-4)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--grey-dark-2)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-dark-1)!important;border-color:var(--blue-dark-1)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1px solid var(--grey-light-0);transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{border:1px solid var(--blue-dark-1)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-hover);border:1px solid var(--blue-hover)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border:1px solid var(--blue-hover)!important}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-2)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-dark: #6900d1;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00}.snmt-typography.ant-typography{color:var(--blue-dark-3);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:29px;font-weight:700;line-height:110%}.snmt-typography.snmt-typography-h2{font-size:25px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-h3{font-size:21px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-h4{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
1
+ .snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{border:0;background-color:var(--grey-dark-5);color:var(--grey-light-0);font-family:Montserrat,sans-serif}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px;padding-inline-end:unset;font-family:Montserrat,sans-serif;font-size:14px;font-weight:500;line-height:20px;letter-spacing:0;text-align:left}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-wrapper.delete .ant-checkbox-checked .ant-checkbox-inner:after{transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled+span{color:var(--grey-light-4)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-disabled .ant-checkbox-inner:after{border-color:var(--grey-dark-2)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-dark-1)!important;border-color:var(--blue-dark-1)!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1px solid var(--grey-light-0);transform:none;content:"";position:absolute;left:50%;top:50%;width:9px;height:1px;transform:translate(-50%,-50%)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{border:1px solid var(--blue-dark-1)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-hover);border:1px solid var(--blue-hover)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox-disabled:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-light-3);border-color:var(--grey-light-3)}.snmt-checkbox-light.ant-checkbox-wrapper:hover .ant-checkbox.ant-checkbox-checked.ant-checkbox-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border:1px solid var(--blue-hover)!important}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked) .ant-checkbox-inner{background-color:var(--grey-dark-4);border:1px solid var(--grey-dark-4)}.snmt-checkbox-dark .ant-checkbox:not(.ant-checkbox-checked):hover .ant-checkbox-inner{background-color:var(--grey-dark-3);border:1px solid var(--grey-dark-3)}.snmt-checkbox-dark .ant-checkbox+span{color:var(--grey-light-2)}.snmt-tag{display:flex;align-items:center;justify-content:center;border-radius:4px;border:none;margin-inline-end:0;padding:2px 6px;height:20px;background:var(--grey-light-2)}.snmt-tag .ant-tag-close-icon{display:flex;align-items:center;margin-inline-start:6px}.snmt-tag:not(.disabled) .ant-tag-close-icon:hover>path{fill:var(--blue-primary);transition:fill .2s ease-in-out}.snmt-tag.medium{padding:4px 8px;height:28px}.snmt-tag.medium .ant-tag-close-icon{margin-inline-start:7.75px}.snmt-tag.disabled{background:var(--grey-light-3)}.clickable{cursor:pointer}:root{--grey-light-0: #ffffff;--grey-light-1: #fbfbfb;--grey-light-2: #f4f4f5;--grey-light-3: #e6e6e9;--grey-light-4: #d0d0d7;--grey-light-5: #bebec2;--grey-dark-1: #babac4;--grey-dark-2: #8b8b9d;--grey-dark-3: #6f6f83;--grey-dark-4: #35353f;--grey-dark-5: #131314;--blue-primary: #004ed7;--blue-hover: #003899;--blue-light-1: #ebf2ff;--blue-light-2: #deeaff;--blue-light-3: #c3d9ff;--blue-light-4: #a5c6ff;--blue-dark-1: #498bff;--blue-dark-3: #070739;--purple-light: #f2e5ff;--purple-light-2: #f9f0ff;--purple-dark: #6900d1;--notification-warning-light: #fff4e8;--notification-warning-dark: #d17100;--notification-success-light: #e0ffdb;--notification-success-dark: #0f6e00;--notification-error-light: #ffecec;--notification-error-dark: #d20000;--notification-error-dark-mode: #e50f00;--cyan-light: #e6fffb;--gold-light: #fefed2}.snmt-typography.ant-typography{color:var(--blue-dark-3);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.snmt-typography-h1{font-size:29px;font-weight:700;line-height:110%}.snmt-typography.snmt-typography-h2{font-size:25px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-h3{font-size:21px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-h4{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.snmt-typography-align-center{text-align:center}.snmt-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.snmt-typography-align-left{text-align:left}.snmt-typography.snmt-typography-align-right{text-align:right}.snmt-typography.collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.snmt-tooltip.ant-tooltip>.ant-tooltip-arrow:before{background-color:var(--grey-dark-4);bottom:-1px}.snmt-tooltip.ant-tooltip>.ant-tooltip-content>.ant-tooltip-inner{background-color:var(--grey-dark-4);padding:12.5px 12px;border-radius:8px;color:var(--grey-light-0);font-family:Montserrat,sans-serif;font-size:10px;font-weight:500;line-height:12px}.snmt-popover:has(.snmt-popover-from-select){z-index:1050!important}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag{font-family:Montserrat,sans-serif}.ant-select-selection-overflow>:nth-last-child(2):hover .snmt-tag{background:var(--blue-light-1)}.ant-select-selection-overflow>:nth-last-child(2) .snmt-tag:has(.ant-popover-open){color:var(--blue-primary);background:var(--blue-light-2)}.snmt-popover .ant-popover-inner{padding:0}.snmt-popover.padding .ant-popover-inner{padding:16px}.wrapper{cursor:pointer}.snmt-select-1-15-6{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select-1-15-6 .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select-1-15-6 .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select-1-15-6 .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select-1-15-6 .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select-1-15-6 .ant-select-selector{pointer-events:all;border:1px solid var(--grey-light-4)!important;border-radius:8px!important;height:100%!important;padding:8px 16px!important}.snmt-select-1-15-6 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select-1-15-6 .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select-1-15-6 .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select-1-15-6 .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select-1-15-6 .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select-1-15-6 .ant-select-disabled .snmt-select-1-15-6 .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);font-size:16px}.snmt-select-1-15-6.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selector{padding:9px 48px 9px 16px!important}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500;font-size:12px;margin-inline-end:6px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin:0 3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item{margin-inline-start:3px;margin-inline-end:0;margin-block:0;padding-inline-start:0;padding-inline-end:0;height:22px;background:transparent}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow-item:first-of-type .tag-wrapper{margin-left:0;margin-right:3px}.snmt-select-1-15-6 .ant-select-multiple .ant-select-selection-overflow .custom-placeholder{position:absolute;top:50%;transform:translateY(-50%);transition:all .3s;font-size:16px;font-weight:500;color:var(--grey-dark-2);font-family:Montserrat,sans-serif;text-align:left}.snmt-select-1-15-6 .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select-1-15-6 .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select-1-15-6 .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select-1-15-6>label{position:absolute;top:calc(50% - 10px);left:18px;width:calc(100% - 32px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:16px;font-style:normal;font-weight:500;line-height:normal;-webkit-user-select:none;user-select:none;pointer-events:none;color:var(--grey-dark-2);transition:top .2s cubic-bezier(0,0,.2,1) 0ms,font-size .2s cubic-bezier(0,0,.2,1) 0ms}.snmt-select-1-15-6>label.label-floating{top:-7px;font-size:12px}.snmt-select-1-15-6>label.label-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6>label.label-loading{padding-left:30px}.snmt-select-1-15-6>label.label-loading.label-floating{padding-left:0}.snmt-select-1-15-6 fieldset{position:absolute;min-width:0;margin:0;padding:0 11px;top:-6px;right:0;bottom:0;left:0;border:1px solid var(--grey-light-4);border-radius:8px;text-align:left;pointer-events:none}.snmt-select-1-15-6 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select-1-15-6 fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select-1-15-6 fieldset.fieldset-focused>legend,.snmt-select-1-15-6 fieldset.fieldset-filled>legend,.snmt-select-1-15-6 fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select-1-15-6 fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select-1-15-6 fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select-1-15-6 fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select-1-15-6 fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select-1-15-6 fieldset.fieldset-error,.snmt-select-1-15-6 fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select-1-15-6:hover:not(.snmt-select-read-only)>label.label-floating:not(.label-disabled):not(.label-focused):not(.label-error){color:var(--blue-dark-1)}.snmt-select-1-15-6.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select-1-15-6.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select-1-15-6.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select-1-15-6.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select-1-15-6.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select-1-15-6>label.label-floating.label-error:not(.label-disabled){color:var(--notification-error-dark)}.ant-select-dropdown{padding:0}.ant-select-dropdown .ant-select-item{border-radius:0}.ant-select-dropdown .ant-select-item-option{padding:14px 16px}.ant-select-dropdown .ant-select-item-option-state{display:none}.ant-select-dropdown .ant-select-item-option-active{background-color:var(--blue-light-1)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content span{color:var(--grey-light-4)!important}.ant-select-dropdown .ant-select-item-option-disabled .ant-select-item-option-content img{filter:opacity(.5)}.ant-select-dropdown .ant-select-item-option-content span{font-family:Montserrat,sans-serif;color:var(--grey-dark-5);font-weight:500}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled){background-color:transparent}.ant-select-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-content span{font-weight:500!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector{background:var(--grey-light-2);border:none!important}.ant-select-dropdown .ant-select-outlined.ant-select-disabled:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item{color:var(--grey-dark-1)!important}.ant-select-dropdown .rc-virtual-list-holder{overflow-y:auto!important}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar{width:6px}.ant-select-dropdown .rc-virtual-list-holder::-webkit-scrollbar-thumb{background:var(--grey-light-4);border-radius:10px}.ant-select-dropdown .rc-virtual-list-scrollbar-vertical{visibility:hidden!important}.dropdown-read-only .rc-virtual-list{pointer-events:none}.dropdown-container{position:relative;display:block}.dropdown-container .dropdown-menu{position:relative;z-index:0}.dropdown-container .loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:10;background:var(--grey-light-1);opacity:.9;display:flex;align-items:center;justify-content:center;pointer-events:none}.snmt-select-container .snmt-flex{margin-top:6px}.snmt-loader{display:inline-block;aspect-ratio:1;animation:loader 1s infinite linear}@keyframes loader{33%{background-position:0% 50%,50% 100%,100% 100%}50%{background-position:0% 0%,50% 50%,100% 100%}66%{background-position:0% 0%,50% 0%,100% 50%}to{background-position:0% 0%,50% 0%,100% 0%}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@snmt-react-ui/async-select",
3
3
  "private": false,
4
- "version": "1.9.7",
4
+ "version": "1.9.8",
5
5
  "type": "module",
6
6
  "main": "dist/async-select.js",
7
7
  "types": "dist/index.d.ts",
@@ -18,10 +18,10 @@
18
18
  "build": "tsc && vite build"
19
19
  },
20
20
  "dependencies": {
21
- "@snmt-react-ui/select": "^1.21.1"
21
+ "@snmt-react-ui/select": "^1.21.2"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "antd": "^5.18.3"
25
25
  },
26
- "gitHead": "a79be877d1e36023729e331b6c927105ce123f0c"
26
+ "gitHead": "e1ad621d368ec939bb008b45f95baaa44417da37"
27
27
  }