@snmt-react-ui/async-select 1.13.14 → 1.13.15
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/async-select.js +101 -103
- package/dist/index.css +1 -1
- package/package.json +3 -3
package/dist/async-select.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
2
|
import { jsx as e, Fragment as F, jsxs as n } from "react/jsx-runtime";
|
|
3
|
-
import { forwardRef as J, useState as Z, useRef as T, useEffect as O, useCallback as N, useContext as X, useImperativeHandle as o1, createContext as I1, useLayoutEffect as L1, useMemo as
|
|
4
|
-
import { Select as O1, Tag as V1, Flex as T1, Checkbox as S1, Avatar as W1, Typography as g1, Popover as
|
|
3
|
+
import { forwardRef as J, useState as Z, useRef as T, useEffect as O, useCallback as N, useContext as X, useImperativeHandle as o1, createContext as I1, useLayoutEffect as L1, useMemo as _1 } from "react";
|
|
4
|
+
import { Select as O1, Tag as V1, Flex as T1, Checkbox as S1, Avatar as W1, Typography as g1, Popover as j1 } from "antd";
|
|
5
5
|
import { COLORS as a, SNMTUiContext as s1 } from "@snmt-react-ui/core";
|
|
6
|
-
var
|
|
6
|
+
var $1 = Object.defineProperty, F1 = (i, l, C) => l in i ? $1(i, l, { enumerable: !0, configurable: !0, writable: !0, value: C }) : i[l] = C, P1 = (i, l, C) => F1(i, l + "", C), U1 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function z1() {
|
|
8
8
|
if (console && console.warn) {
|
|
9
9
|
for (var i = arguments.length, l = new Array(i), C = 0; C < i; C++)
|
|
@@ -11,11 +11,11 @@ function z1() {
|
|
|
11
11
|
q(l[0]) && (l[0] = `react-i18next:: ${l[0]}`), console.warn(...l);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const H1 = {};
|
|
15
15
|
function u1() {
|
|
16
16
|
for (var i = arguments.length, l = new Array(i), C = 0; C < i; C++)
|
|
17
17
|
l[C] = arguments[C];
|
|
18
|
-
q(l[0]) &&
|
|
18
|
+
q(l[0]) && H1[l[0]] || (q(l[0]) && (H1[l[0]] = /* @__PURE__ */ new Date()), z1(...l));
|
|
19
19
|
}
|
|
20
20
|
const G1 = (i, l) => () => {
|
|
21
21
|
if (i.isInitialized)
|
|
@@ -111,8 +111,8 @@ const c2 = (i, l) => {
|
|
|
111
111
|
} = X(s2) || {}, d = C || t || o2();
|
|
112
112
|
if (d && !d.reportNamespaces && (d.reportNamespaces = new a2()), !d) {
|
|
113
113
|
u1("You will need to pass in an i18next instance by using initReactI18next");
|
|
114
|
-
const
|
|
115
|
-
return g.t =
|
|
114
|
+
const _ = (H, k) => q(k) ? k : X1(k) && q(k.defaultValue) ? k.defaultValue : Array.isArray(H) ? H[H.length - 1] : H, g = [_, {}, !1];
|
|
115
|
+
return g.t = _, g.i18n = {}, g.ready = !1, g;
|
|
116
116
|
}
|
|
117
117
|
d.options.react && d.options.react.wait !== void 0 && u1("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
118
118
|
const r = {
|
|
@@ -125,13 +125,13 @@ const c2 = (i, l) => {
|
|
|
125
125
|
} = r;
|
|
126
126
|
let o = i;
|
|
127
127
|
o = q(o) ? [o] : o || ["translation"], d.reportNamespaces.addUsedNamespaces && d.reportNamespaces.addUsedNamespaces(o);
|
|
128
|
-
const c = (d.isInitialized || d.initializedStoreOnce) && o.every((
|
|
128
|
+
const c = (d.isInitialized || d.initializedStoreOnce) && o.every((_) => J1(_, d, r)), v = n2(d, l.lng || null, r.nsMode === "fallback" ? o : o[0], s), p = () => v, M = () => K1(d, l.lng || null, r.nsMode === "fallback" ? o : o[0], s), [E, x] = Z(p);
|
|
129
129
|
let B = o.join();
|
|
130
130
|
l.lng && (B = `${l.lng}${B}`);
|
|
131
131
|
const I = c2(B), A = T(!0);
|
|
132
132
|
O(() => {
|
|
133
133
|
const {
|
|
134
|
-
bindI18n:
|
|
134
|
+
bindI18n: _,
|
|
135
135
|
bindI18nStore: g
|
|
136
136
|
} = r;
|
|
137
137
|
A.current = !0, !c && !w && (l.lng ? x1(d, l.lng, o, () => {
|
|
@@ -139,19 +139,19 @@ const c2 = (i, l) => {
|
|
|
139
139
|
}) : R1(d, o, () => {
|
|
140
140
|
A.current && x(M);
|
|
141
141
|
})), c && I && I !== B && A.current && x(M);
|
|
142
|
-
const
|
|
142
|
+
const H = () => {
|
|
143
143
|
A.current && x(M);
|
|
144
144
|
};
|
|
145
|
-
return
|
|
146
|
-
A.current = !1,
|
|
145
|
+
return _ && d && d.on(_, H), g && d && d.store.on(g, H), () => {
|
|
146
|
+
A.current = !1, _ && d && _.split(" ").forEach((k) => d.off(k, H)), g && d && g.split(" ").forEach((k) => d.store.off(k, H));
|
|
147
147
|
};
|
|
148
148
|
}, [d, B]), O(() => {
|
|
149
149
|
A.current && c && x(p);
|
|
150
150
|
}, [d, s, c]);
|
|
151
151
|
const S = [E, d, c];
|
|
152
152
|
if (S.t = E, S.i18n = d, S.ready = c, c || !c && !w) return S;
|
|
153
|
-
throw new Promise((
|
|
154
|
-
l.lng ? x1(d, l.lng, o, () =>
|
|
153
|
+
throw new Promise((_) => {
|
|
154
|
+
l.lng ? x1(d, l.lng, o, () => _()) : R1(d, o, () => _());
|
|
155
155
|
});
|
|
156
156
|
}, w1 = ({
|
|
157
157
|
children: i,
|
|
@@ -459,7 +459,7 @@ const c2 = (i, l) => {
|
|
|
459
459
|
}
|
|
460
460
|
)
|
|
461
461
|
}
|
|
462
|
-
),
|
|
462
|
+
), _2 = ({
|
|
463
463
|
width: i = 20,
|
|
464
464
|
height: l = 20,
|
|
465
465
|
color: C = a.GREY_DARK_5,
|
|
@@ -484,7 +484,7 @@ const c2 = (i, l) => {
|
|
|
484
484
|
}
|
|
485
485
|
)
|
|
486
486
|
}
|
|
487
|
-
),
|
|
487
|
+
), H2 = ({
|
|
488
488
|
width: i = 20,
|
|
489
489
|
height: l = 20,
|
|
490
490
|
color: C = a.GREY_DARK_5,
|
|
@@ -1113,7 +1113,7 @@ const c2 = (i, l) => {
|
|
|
1113
1113
|
)
|
|
1114
1114
|
]
|
|
1115
1115
|
}
|
|
1116
|
-
),
|
|
1116
|
+
), j2 = ({
|
|
1117
1117
|
width: i = 20,
|
|
1118
1118
|
height: l = 20,
|
|
1119
1119
|
color: C = a.GREY_DARK_5,
|
|
@@ -1160,7 +1160,7 @@ const c2 = (i, l) => {
|
|
|
1160
1160
|
)
|
|
1161
1161
|
]
|
|
1162
1162
|
}
|
|
1163
|
-
),
|
|
1163
|
+
), $2 = ({
|
|
1164
1164
|
width: i = 20,
|
|
1165
1165
|
height: l = 20,
|
|
1166
1166
|
color: C = a.GREY_DARK_5,
|
|
@@ -2411,7 +2411,7 @@ const c2 = (i, l) => {
|
|
|
2411
2411
|
}
|
|
2412
2412
|
)
|
|
2413
2413
|
}
|
|
2414
|
-
),
|
|
2414
|
+
), _5 = ({
|
|
2415
2415
|
width: i = 24,
|
|
2416
2416
|
height: l = 24,
|
|
2417
2417
|
color: C = "#131314",
|
|
@@ -2444,7 +2444,7 @@ const c2 = (i, l) => {
|
|
|
2444
2444
|
)
|
|
2445
2445
|
]
|
|
2446
2446
|
}
|
|
2447
|
-
),
|
|
2447
|
+
), H5 = ({
|
|
2448
2448
|
width: i = 20,
|
|
2449
2449
|
height: l = 20,
|
|
2450
2450
|
color: C = a.GREY_DARK_5,
|
|
@@ -2661,9 +2661,9 @@ const c2 = (i, l) => {
|
|
|
2661
2661
|
case "arrow1Right":
|
|
2662
2662
|
return V2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2663
2663
|
case "arrow1Left":
|
|
2664
|
-
return H2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2665
|
-
case "info":
|
|
2666
2664
|
return _2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2665
|
+
case "info":
|
|
2666
|
+
return H2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2667
2667
|
case "archive":
|
|
2668
2668
|
return E2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2669
2669
|
case "unarchive":
|
|
@@ -2697,9 +2697,9 @@ const c2 = (i, l) => {
|
|
|
2697
2697
|
onClick: o
|
|
2698
2698
|
});
|
|
2699
2699
|
case "skills":
|
|
2700
|
-
return
|
|
2700
|
+
return j2({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2701
2701
|
case "skillsMatrices":
|
|
2702
|
-
return
|
|
2702
|
+
return $2({
|
|
2703
2703
|
width: l,
|
|
2704
2704
|
height: C,
|
|
2705
2705
|
color: s,
|
|
@@ -2793,9 +2793,9 @@ const c2 = (i, l) => {
|
|
|
2793
2793
|
case "projects":
|
|
2794
2794
|
return V5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2795
2795
|
case "user":
|
|
2796
|
-
return _5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2797
|
-
case "exit":
|
|
2798
2796
|
return H5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2797
|
+
case "exit":
|
|
2798
|
+
return _5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2799
2799
|
case "status":
|
|
2800
2800
|
return R5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
2801
2801
|
case "community":
|
|
@@ -3064,7 +3064,7 @@ const c2 = (i, l) => {
|
|
|
3064
3064
|
}
|
|
3065
3065
|
)
|
|
3066
3066
|
}
|
|
3067
|
-
),
|
|
3067
|
+
), j5 = ({
|
|
3068
3068
|
width: i = 20,
|
|
3069
3069
|
height: l = 20,
|
|
3070
3070
|
color: C = a.GREY_DARK_5,
|
|
@@ -3091,7 +3091,7 @@ const c2 = (i, l) => {
|
|
|
3091
3091
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e("clipPath", { id: "clip0_1_2039", children: /* @__PURE__ */ e("rect", { width: "24", height: "24", fill: "white", transform: "translate(0.5 0.5)" }) }) })
|
|
3092
3092
|
]
|
|
3093
3093
|
}
|
|
3094
|
-
),
|
|
3094
|
+
), $5 = ({
|
|
3095
3095
|
width: i = 20,
|
|
3096
3096
|
height: l = 20,
|
|
3097
3097
|
color: C = a.GREY_DARK_5,
|
|
@@ -4366,7 +4366,7 @@ const c2 = (i, l) => {
|
|
|
4366
4366
|
)
|
|
4367
4367
|
]
|
|
4368
4368
|
}
|
|
4369
|
-
),
|
|
4369
|
+
), _7 = ({
|
|
4370
4370
|
className: i,
|
|
4371
4371
|
color: l = a.GREY_DARK_5,
|
|
4372
4372
|
height: C = 20,
|
|
@@ -4403,7 +4403,7 @@ const c2 = (i, l) => {
|
|
|
4403
4403
|
)
|
|
4404
4404
|
]
|
|
4405
4405
|
}
|
|
4406
|
-
),
|
|
4406
|
+
), H7 = ({
|
|
4407
4407
|
className: i,
|
|
4408
4408
|
color: l = a.GREY_DARK_5,
|
|
4409
4409
|
height: C = 20,
|
|
@@ -5067,7 +5067,7 @@ const c2 = (i, l) => {
|
|
|
5067
5067
|
)
|
|
5068
5068
|
]
|
|
5069
5069
|
}
|
|
5070
|
-
),
|
|
5070
|
+
), j7 = ({
|
|
5071
5071
|
width: i = 20,
|
|
5072
5072
|
height: l = 20,
|
|
5073
5073
|
color: C = a.GREY_DARK_5,
|
|
@@ -5107,7 +5107,7 @@ const c2 = (i, l) => {
|
|
|
5107
5107
|
)
|
|
5108
5108
|
]
|
|
5109
5109
|
}
|
|
5110
|
-
),
|
|
5110
|
+
), $7 = ({
|
|
5111
5111
|
width: i = 20,
|
|
5112
5112
|
height: l = 20,
|
|
5113
5113
|
color: C = a.GREY_DARK_5,
|
|
@@ -5172,7 +5172,7 @@ const c2 = (i, l) => {
|
|
|
5172
5172
|
case "filter1":
|
|
5173
5173
|
return C7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5174
5174
|
case "filter2":
|
|
5175
|
-
return
|
|
5175
|
+
return H7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5176
5176
|
case "attention":
|
|
5177
5177
|
return l7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5178
5178
|
case "users":
|
|
@@ -5242,9 +5242,9 @@ const c2 = (i, l) => {
|
|
|
5242
5242
|
case "arrow2Right":
|
|
5243
5243
|
return W5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5244
5244
|
case "arrow2Down":
|
|
5245
|
-
return $5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5246
|
-
case "arrow2Left":
|
|
5247
5245
|
return j5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5246
|
+
case "arrow2Left":
|
|
5247
|
+
return $5({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5248
5248
|
case "link":
|
|
5249
5249
|
return M7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5250
5250
|
case "telegram":
|
|
@@ -5256,7 +5256,7 @@ const c2 = (i, l) => {
|
|
|
5256
5256
|
case "linkedIn":
|
|
5257
5257
|
return u7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5258
5258
|
case "emptyStateIcon":
|
|
5259
|
-
return
|
|
5259
|
+
return _7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5260
5260
|
case "dotMenuIcon":
|
|
5261
5261
|
return R7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5262
5262
|
case "plusCircle":
|
|
@@ -5290,9 +5290,9 @@ const c2 = (i, l) => {
|
|
|
5290
5290
|
case "community":
|
|
5291
5291
|
return W7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5292
5292
|
case "docs":
|
|
5293
|
-
return $7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5294
|
-
case "unpaidLeave":
|
|
5295
5293
|
return j7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5294
|
+
case "unpaidLeave":
|
|
5295
|
+
return $7({ width: l, height: C, color: s, className: c, onClick: o });
|
|
5296
5296
|
default:
|
|
5297
5297
|
return /* @__PURE__ */ e(F, { children: "No Icon provided" });
|
|
5298
5298
|
}
|
|
@@ -5414,7 +5414,7 @@ const c2 = (i, l) => {
|
|
|
5414
5414
|
}) => {
|
|
5415
5415
|
const [w, s] = Z(!1);
|
|
5416
5416
|
return /* @__PURE__ */ e(
|
|
5417
|
-
|
|
5417
|
+
j1,
|
|
5418
5418
|
{
|
|
5419
5419
|
content: l,
|
|
5420
5420
|
arrow: !1,
|
|
@@ -6309,7 +6309,7 @@ const c2 = (i, l) => {
|
|
|
6309
6309
|
)
|
|
6310
6310
|
]
|
|
6311
6311
|
}
|
|
6312
|
-
),
|
|
6312
|
+
), _9 = ({
|
|
6313
6313
|
width: i = 20,
|
|
6314
6314
|
height: l = 20,
|
|
6315
6315
|
color: C = a.GREY_DARK_5,
|
|
@@ -6342,7 +6342,7 @@ const c2 = (i, l) => {
|
|
|
6342
6342
|
)
|
|
6343
6343
|
]
|
|
6344
6344
|
}
|
|
6345
|
-
),
|
|
6345
|
+
), H9 = ({
|
|
6346
6346
|
width: i = 20,
|
|
6347
6347
|
height: l = 20,
|
|
6348
6348
|
color: C = a.GREY_DARK_5,
|
|
@@ -6906,7 +6906,7 @@ const c2 = (i, l) => {
|
|
|
6906
6906
|
}
|
|
6907
6907
|
)
|
|
6908
6908
|
}
|
|
6909
|
-
),
|
|
6909
|
+
), j9 = ({
|
|
6910
6910
|
className: i,
|
|
6911
6911
|
color: l = a.GREY_DARK_5,
|
|
6912
6912
|
height: C = 20,
|
|
@@ -6953,7 +6953,7 @@ const c2 = (i, l) => {
|
|
|
6953
6953
|
)
|
|
6954
6954
|
]
|
|
6955
6955
|
}
|
|
6956
|
-
),
|
|
6956
|
+
), $9 = ({
|
|
6957
6957
|
className: i,
|
|
6958
6958
|
color: l = a.GREY_DARK_5,
|
|
6959
6959
|
height: C = 20,
|
|
@@ -7816,9 +7816,9 @@ const c2 = (i, l) => {
|
|
|
7816
7816
|
onClick: o
|
|
7817
7817
|
});
|
|
7818
7818
|
case "history":
|
|
7819
|
-
return H9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7820
|
-
case "logOut":
|
|
7821
7819
|
return _9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7820
|
+
case "logOut":
|
|
7821
|
+
return H9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7822
7822
|
case "settings":
|
|
7823
7823
|
return R9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7824
7824
|
case "trash":
|
|
@@ -7870,11 +7870,11 @@ const c2 = (i, l) => {
|
|
|
7870
7870
|
case "telegram":
|
|
7871
7871
|
return W9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7872
7872
|
case "mail":
|
|
7873
|
-
return
|
|
7873
|
+
return $9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7874
7874
|
case "github":
|
|
7875
7875
|
return S9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7876
7876
|
case "linkedIn":
|
|
7877
|
-
return
|
|
7877
|
+
return j9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7878
7878
|
case "emptyStateIcon":
|
|
7879
7879
|
return F9({ width: l, height: C, color: s, className: c, onClick: o });
|
|
7880
7880
|
case "dotMenuIcon":
|
|
@@ -8067,14 +8067,12 @@ const g4 = ({
|
|
|
8067
8067
|
small: 20,
|
|
8068
8068
|
medium: 28,
|
|
8069
8069
|
large: 48
|
|
8070
|
-
}, D1 = ({ size: i = "medium", color: l =
|
|
8071
|
-
const C =
|
|
8072
|
-
|
|
8073
|
-
|
|
8074
|
-
background: `${t} 0% 100%, ${t} 50% 100%, ${t} 100% 100%`,
|
|
8075
|
-
backgroundSize: "20% calc(200% + 20px)"
|
|
8070
|
+
}, D1 = ({ size: i = "medium", color: l = a.BLUE_PRIMARY }) => {
|
|
8071
|
+
const C = {
|
|
8072
|
+
width: m4[i],
|
|
8073
|
+
"--loader-color": l
|
|
8076
8074
|
};
|
|
8077
|
-
return /* @__PURE__ */ e("span", { className: "snmt-loader", style:
|
|
8075
|
+
return /* @__PURE__ */ e("span", { className: "snmt-loader", style: C });
|
|
8078
8076
|
}, p4 = ({
|
|
8079
8077
|
width: i = 20,
|
|
8080
8078
|
height: l = 20,
|
|
@@ -8314,7 +8312,7 @@ const g4 = ({
|
|
|
8314
8312
|
}
|
|
8315
8313
|
)
|
|
8316
8314
|
}
|
|
8317
|
-
),
|
|
8315
|
+
), _4 = ({
|
|
8318
8316
|
width: i = 20,
|
|
8319
8317
|
height: l = 20,
|
|
8320
8318
|
color: C = a.GREY_DARK_5,
|
|
@@ -8354,7 +8352,7 @@ const g4 = ({
|
|
|
8354
8352
|
)
|
|
8355
8353
|
]
|
|
8356
8354
|
}
|
|
8357
|
-
),
|
|
8355
|
+
), H4 = ({
|
|
8358
8356
|
width: i = 20,
|
|
8359
8357
|
height: l = 20,
|
|
8360
8358
|
color: C = a.GREY_DARK_5,
|
|
@@ -9020,7 +9018,7 @@ const g4 = ({
|
|
|
9020
9018
|
)
|
|
9021
9019
|
]
|
|
9022
9020
|
}
|
|
9023
|
-
),
|
|
9021
|
+
), j4 = ({
|
|
9024
9022
|
width: i = 20,
|
|
9025
9023
|
height: l = 20,
|
|
9026
9024
|
color: C = a.GREY_DARK_5,
|
|
@@ -9060,7 +9058,7 @@ const g4 = ({
|
|
|
9060
9058
|
)
|
|
9061
9059
|
]
|
|
9062
9060
|
}
|
|
9063
|
-
),
|
|
9061
|
+
), $4 = ({
|
|
9064
9062
|
width: i = 20,
|
|
9065
9063
|
height: l = 20,
|
|
9066
9064
|
color: C = a.GREY_DARK_5,
|
|
@@ -10330,7 +10328,7 @@ const g4 = ({
|
|
|
10330
10328
|
}
|
|
10331
10329
|
)
|
|
10332
10330
|
}
|
|
10333
|
-
),
|
|
10331
|
+
), _0 = ({
|
|
10334
10332
|
name: i,
|
|
10335
10333
|
width: l,
|
|
10336
10334
|
height: C,
|
|
@@ -10353,9 +10351,9 @@ const g4 = ({
|
|
|
10353
10351
|
case "info":
|
|
10354
10352
|
return M4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10355
10353
|
case "archive":
|
|
10356
|
-
return H4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10357
|
-
case "unarchive":
|
|
10358
10354
|
return _4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10355
|
+
case "unarchive":
|
|
10356
|
+
return H4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10359
10357
|
case "calendar":
|
|
10360
10358
|
return R4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10361
10359
|
case "check":
|
|
@@ -10403,9 +10401,9 @@ const g4 = ({
|
|
|
10403
10401
|
case "trash":
|
|
10404
10402
|
return W4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10405
10403
|
case "settings2":
|
|
10406
|
-
return $4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10407
|
-
case "checkCircle":
|
|
10408
10404
|
return j4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10405
|
+
case "checkCircle":
|
|
10406
|
+
return $4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10409
10407
|
case "cancelCircle":
|
|
10410
10408
|
return F4({ width: l, height: C, color: s, className: c, onClick: o });
|
|
10411
10409
|
case "visibilityIcon":
|
|
@@ -10496,7 +10494,7 @@ const g4 = ({
|
|
|
10496
10494
|
return /* @__PURE__ */ e(F, { children: "No Icon provided" });
|
|
10497
10495
|
}
|
|
10498
10496
|
})() });
|
|
10499
|
-
},
|
|
10497
|
+
}, H0 = ({
|
|
10500
10498
|
iconName: i = "arrow2Down",
|
|
10501
10499
|
isActive: l,
|
|
10502
10500
|
rotationDirection: C = "cw",
|
|
@@ -10511,7 +10509,7 @@ const g4 = ({
|
|
|
10511
10509
|
onClick: h,
|
|
10512
10510
|
disabled: t,
|
|
10513
10511
|
children: /* @__PURE__ */ e(
|
|
10514
|
-
|
|
10512
|
+
_0,
|
|
10515
10513
|
{
|
|
10516
10514
|
name: i,
|
|
10517
10515
|
className: "snmt-arrow-button-icon-rotation" + (l && !t ? `-${C}` : "-initial"),
|
|
@@ -10547,18 +10545,18 @@ const A0 = J((i, l) => {
|
|
|
10547
10545
|
id: I,
|
|
10548
10546
|
extraOptions: A,
|
|
10549
10547
|
dropdownRender: S,
|
|
10550
|
-
optionRender:
|
|
10548
|
+
optionRender: _,
|
|
10551
10549
|
isLoading: g,
|
|
10552
|
-
readOnly:
|
|
10550
|
+
readOnly: H,
|
|
10553
10551
|
error: k,
|
|
10554
10552
|
selectedItemVariant: b = "default",
|
|
10555
10553
|
variant: G = "outlined"
|
|
10556
10554
|
} = i;
|
|
10557
10555
|
let Q;
|
|
10558
10556
|
d && d !== "single" && (Q = i.overflowBehaviour ?? "responsive");
|
|
10559
|
-
const [Y, U] = Z(!1), [z, m1] = Z(!1), [W, a1] = Z(!1), [c1, C1] = Z(!0), [u,
|
|
10557
|
+
const [Y, U] = Z(!1), [z, m1] = Z(!1), [W, a1] = Z(!1), [c1, C1] = Z(!0), [u, j] = Z(C), n1 = T(null), l1 = d === "single" && b === "badge";
|
|
10560
10558
|
O(() => {
|
|
10561
|
-
|
|
10559
|
+
j(C);
|
|
10562
10560
|
}, [C]);
|
|
10563
10561
|
const p1 = (L) => {
|
|
10564
10562
|
U(L), E && E(L);
|
|
@@ -10576,29 +10574,29 @@ const A0 = J((i, l) => {
|
|
|
10576
10574
|
const V = Array.isArray(L) ? L : [];
|
|
10577
10575
|
m = V.length > 1 ? [V[V.length - 1]] : V;
|
|
10578
10576
|
const r1 = m.length > 0 ? m[0] : null;
|
|
10579
|
-
t == null || t(r1),
|
|
10577
|
+
t == null || t(r1), j(m);
|
|
10580
10578
|
return;
|
|
10581
10579
|
}
|
|
10582
10580
|
if (d && d !== "single") {
|
|
10583
10581
|
const V = L;
|
|
10584
|
-
t == null || t(V),
|
|
10582
|
+
t == null || t(V), j(V);
|
|
10585
10583
|
return;
|
|
10586
10584
|
}
|
|
10587
|
-
m = Array.isArray(L) ? null : L || null, t == null || t(m),
|
|
10585
|
+
m = Array.isArray(L) ? null : L || null, t == null || t(m), j(m);
|
|
10588
10586
|
},
|
|
10589
10587
|
[d, t, l1]
|
|
10590
10588
|
), M1 = N(() => {
|
|
10591
|
-
if (!(
|
|
10589
|
+
if (!(H || o)) {
|
|
10592
10590
|
if (d) {
|
|
10593
10591
|
P([]);
|
|
10594
10592
|
return;
|
|
10595
10593
|
}
|
|
10596
10594
|
P("");
|
|
10597
10595
|
}
|
|
10598
|
-
}, [o, P, d,
|
|
10596
|
+
}, [o, P, d, H]), e1 = N(
|
|
10599
10597
|
(L) => {
|
|
10600
10598
|
const m = u.filter((V) => V !== L);
|
|
10601
|
-
P(m),
|
|
10599
|
+
P(m), j(m);
|
|
10602
10600
|
},
|
|
10603
10601
|
[P, u]
|
|
10604
10602
|
), f = N(
|
|
@@ -10610,7 +10608,7 @@ const A0 = J((i, l) => {
|
|
|
10610
10608
|
[c1, u, h]
|
|
10611
10609
|
), D = (L) => {
|
|
10612
10610
|
L.preventDefault(), L.stopPropagation();
|
|
10613
|
-
},
|
|
10611
|
+
}, $ = async (L) => {
|
|
10614
10612
|
const { target: m } = L;
|
|
10615
10613
|
m.scrollTop + m.offsetHeight >= m.scrollHeight - p && (x == null || x(!0)), B && await B(L);
|
|
10616
10614
|
}, R = N(
|
|
@@ -10629,14 +10627,14 @@ const A0 = J((i, l) => {
|
|
|
10629
10627
|
onTagClose: e1,
|
|
10630
10628
|
maxWidth: ((V = n1.current) == null ? void 0 : V.clientWidth) || 0,
|
|
10631
10629
|
disabled: o,
|
|
10632
|
-
closable: !
|
|
10630
|
+
closable: !H,
|
|
10633
10631
|
options: w,
|
|
10634
10632
|
extraOptions: A,
|
|
10635
10633
|
selectedItemVariant: m
|
|
10636
10634
|
}
|
|
10637
10635
|
);
|
|
10638
10636
|
},
|
|
10639
|
-
[o, A, e1, w,
|
|
10637
|
+
[o, A, e1, w, H]
|
|
10640
10638
|
), y = N(
|
|
10641
10639
|
({ label: L, value: m, mode: V }) => {
|
|
10642
10640
|
if (V === "filter")
|
|
@@ -10666,7 +10664,7 @@ const A0 = J((i, l) => {
|
|
|
10666
10664
|
{
|
|
10667
10665
|
className: `snmt-select ${z ? "snmt-select-focused" : ""}
|
|
10668
10666
|
${d ? "" : "snmt-select-single"}
|
|
10669
|
-
${
|
|
10667
|
+
${H ? "snmt-select-read-only" : ""}
|
|
10670
10668
|
${Q === "static" ? "snmt-select-static" : ""}
|
|
10671
10669
|
${G === "borderless" ? "snmt-select-borderless" : ""}`,
|
|
10672
10670
|
ref: n1,
|
|
@@ -10676,7 +10674,7 @@ const A0 = J((i, l) => {
|
|
|
10676
10674
|
O1,
|
|
10677
10675
|
{
|
|
10678
10676
|
className: "snmt-select-blank",
|
|
10679
|
-
popupClassName:
|
|
10677
|
+
popupClassName: H ? "dropdown-read-only" : "",
|
|
10680
10678
|
id: I,
|
|
10681
10679
|
ref: l,
|
|
10682
10680
|
showSearch: !!r,
|
|
@@ -10703,7 +10701,7 @@ const A0 = J((i, l) => {
|
|
|
10703
10701
|
tagRender: (L) => y({ ...L, mode: d }),
|
|
10704
10702
|
maxTagCount: Q === "responsive" ? "responsive" : void 0,
|
|
10705
10703
|
maxTagPlaceholder: (L) => K(L, b),
|
|
10706
|
-
onPopupScroll:
|
|
10704
|
+
onPopupScroll: $,
|
|
10707
10705
|
prefix: g && /* @__PURE__ */ e(D1, { size: "small" }),
|
|
10708
10706
|
suffixIcon: /* @__PURE__ */ e("div", { className: "wrapper-suffix-icon", children: d !== "filter" && /* @__PURE__ */ n(F, { children: [
|
|
10709
10707
|
u && !!u.length && v && /* @__PURE__ */ e(
|
|
@@ -10723,7 +10721,7 @@ const A0 = J((i, l) => {
|
|
|
10723
10721
|
}
|
|
10724
10722
|
),
|
|
10725
10723
|
G === "borderless" && (W || z) && /* @__PURE__ */ e(
|
|
10726
|
-
|
|
10724
|
+
H0,
|
|
10727
10725
|
{
|
|
10728
10726
|
isActive: Y,
|
|
10729
10727
|
onClick: () => U(!Y)
|
|
@@ -10741,7 +10739,7 @@ const A0 = J((i, l) => {
|
|
|
10741
10739
|
] }) }),
|
|
10742
10740
|
removeIcon: /* @__PURE__ */ e(d1, { name: "cancelCircle", color: a.GREY_DARK_1 }),
|
|
10743
10741
|
options: w,
|
|
10744
|
-
optionRender: (L) =>
|
|
10742
|
+
optionRender: (L) => _ ? _(L.data) : /* @__PURE__ */ n(w1, { justifyContent: "space-between", alignItems: "center", flex: "1", children: [
|
|
10745
10743
|
/* @__PURE__ */ n(w1, { alignItems: "center", gap: 12, children: [
|
|
10746
10744
|
d && /* @__PURE__ */ e(
|
|
10747
10745
|
N2,
|
|
@@ -10845,23 +10843,23 @@ const Z1 = 100, h1 = {
|
|
|
10845
10843
|
clearable: I = !0,
|
|
10846
10844
|
required: A = !1,
|
|
10847
10845
|
error: S,
|
|
10848
|
-
variant:
|
|
10849
|
-
} = i, [g,
|
|
10846
|
+
variant: _ = "outlined"
|
|
10847
|
+
} = i, [g, H] = Z(), [k, b] = Z(h1), [G, Q] = Z(!1), [Y, U] = Z(), [z, m1] = Z(!1), [W, a1] = Z(
|
|
10850
10848
|
p ?? []
|
|
10851
|
-
), c1 = E1(k.offset), C1 = E1(Y), [u,
|
|
10849
|
+
), c1 = E1(k.offset), C1 = E1(Y), [u, j] = Z(!1), n1 = T(!1), l1 = N(
|
|
10852
10850
|
async ({
|
|
10853
10851
|
limit: f = Z1,
|
|
10854
10852
|
offset: D,
|
|
10855
|
-
search:
|
|
10853
|
+
search: $
|
|
10856
10854
|
}) => {
|
|
10857
10855
|
Q(!0);
|
|
10858
10856
|
try {
|
|
10859
10857
|
const R = await C({
|
|
10860
10858
|
limit: f,
|
|
10861
10859
|
offset: D,
|
|
10862
|
-
search:
|
|
10860
|
+
search: $
|
|
10863
10861
|
});
|
|
10864
|
-
|
|
10862
|
+
H(
|
|
10865
10863
|
(K) => D === 0 ? R.options : [...K ?? [], ...R.options]
|
|
10866
10864
|
), b((K) => ({
|
|
10867
10865
|
...K,
|
|
@@ -10889,19 +10887,19 @@ const Z1 = 100, h1 = {
|
|
|
10889
10887
|
[G, g == null ? void 0 : g.length, k.count]
|
|
10890
10888
|
), k1 = N(
|
|
10891
10889
|
(f) => {
|
|
10892
|
-
m1(f), !f && Y && (U(void 0), b(h1),
|
|
10890
|
+
m1(f), !f && Y && (U(void 0), b(h1), j(!0)), M == null || M(f);
|
|
10893
10891
|
},
|
|
10894
10892
|
[M, Y]
|
|
10895
10893
|
);
|
|
10896
10894
|
O(() => {
|
|
10897
10895
|
if (!n1.current || G) return;
|
|
10898
|
-
(u || z && (c1 !== k.offset || C1 !== Y || !g)) && (l1({ offset: k.offset, limit: Z1, search: Y }), u &&
|
|
10896
|
+
(u || z && (c1 !== k.offset || C1 !== Y || !g)) && (l1({ offset: k.offset, limit: Z1, search: Y }), u && j(!1));
|
|
10899
10897
|
}, [u, z, k.offset, Y, c1, C1, g, G]), O(() => {
|
|
10900
10898
|
(c || v) && l1(h1), n1.current = !0;
|
|
10901
10899
|
}, []), O(() => {
|
|
10902
10900
|
p && a1((f) => {
|
|
10903
10901
|
const D = p.filter(
|
|
10904
|
-
(
|
|
10902
|
+
($) => !f.some((R) => R.value === $.value)
|
|
10905
10903
|
);
|
|
10906
10904
|
return [...f, ...D];
|
|
10907
10905
|
});
|
|
@@ -10911,12 +10909,12 @@ const Z1 = 100, h1 = {
|
|
|
10911
10909
|
h && h(f);
|
|
10912
10910
|
let D = [];
|
|
10913
10911
|
if (o ? D = Array.isArray(f) ? f : [] : D = f ? [f] : [], Y) {
|
|
10914
|
-
const
|
|
10912
|
+
const $ = D.filter(
|
|
10915
10913
|
(R) => !(W != null && W.some((K) => K.value === R))
|
|
10916
10914
|
);
|
|
10917
|
-
|
|
10915
|
+
$.length > 0 && a1((R = []) => [
|
|
10918
10916
|
...R,
|
|
10919
|
-
|
|
10917
|
+
...$.map((K) => {
|
|
10920
10918
|
const y = g == null ? void 0 : g.find((i1) => i1.value === K);
|
|
10921
10919
|
return {
|
|
10922
10920
|
value: K,
|
|
@@ -10925,11 +10923,11 @@ const Z1 = 100, h1 = {
|
|
|
10925
10923
|
image: (y == null ? void 0 : y.image) ?? void 0
|
|
10926
10924
|
};
|
|
10927
10925
|
})
|
|
10928
|
-
]), U(void 0), b(h1),
|
|
10926
|
+
]), U(void 0), b(h1), j(!0);
|
|
10929
10927
|
}
|
|
10930
10928
|
},
|
|
10931
10929
|
[h, Y, o, g, W]
|
|
10932
|
-
), M1 =
|
|
10930
|
+
), M1 = _1(
|
|
10933
10931
|
() => ({
|
|
10934
10932
|
id: d,
|
|
10935
10933
|
width: t,
|
|
@@ -10949,7 +10947,7 @@ const Z1 = 100, h1 = {
|
|
|
10949
10947
|
clearable: I,
|
|
10950
10948
|
required: A,
|
|
10951
10949
|
error: S,
|
|
10952
|
-
variant:
|
|
10950
|
+
variant: _
|
|
10953
10951
|
}),
|
|
10954
10952
|
[
|
|
10955
10953
|
d,
|
|
@@ -10969,16 +10967,16 @@ const Z1 = 100, h1 = {
|
|
|
10969
10967
|
I,
|
|
10970
10968
|
A,
|
|
10971
10969
|
S,
|
|
10972
|
-
|
|
10970
|
+
_
|
|
10973
10971
|
]
|
|
10974
10972
|
);
|
|
10975
10973
|
o1(l, () => ({
|
|
10976
10974
|
refetchOptions: async () => {
|
|
10977
|
-
b(h1), U(void 0),
|
|
10975
|
+
b(h1), U(void 0), j(!0);
|
|
10978
10976
|
}
|
|
10979
10977
|
}));
|
|
10980
|
-
const e1 =
|
|
10981
|
-
const f = o && o !== "single", D = i.selectedItemVariant === "badge",
|
|
10978
|
+
const e1 = _1(() => {
|
|
10979
|
+
const f = o && o !== "single", D = i.selectedItemVariant === "badge", $ = D ? g || [] : g || [], R = W, K = i, i1 = f ? {
|
|
10982
10980
|
mode: o,
|
|
10983
10981
|
overflowBehaviour: K.overflowBehaviour,
|
|
10984
10982
|
value: K.value
|
|
@@ -10990,7 +10988,7 @@ const Z1 = 100, h1 = {
|
|
|
10990
10988
|
...M1,
|
|
10991
10989
|
...i1,
|
|
10992
10990
|
selectedItemVariant: i.selectedItemVariant,
|
|
10993
|
-
options:
|
|
10991
|
+
options: $,
|
|
10994
10992
|
extraOptions: R
|
|
10995
10993
|
};
|
|
10996
10994
|
}, [o, i, M1, W, g]);
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{display:grid;border:none;background-color:var(--grey-dark-4);place-items:center;color:var(--grey-light-0)}.snmt-avatar.ant-avatar .ant-avatar-string{position:static;display:grid;place-items:center}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-avatar-with-label-wrapper{display:grid;grid-template-columns:auto auto;place-items:center}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{border-color:var(--grey-light-4);border-radius:5px}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-primary);border-color:var(--blue-primary)}.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-primary);border-color:var(--blue-primary)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1.5px 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-color: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-color: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-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border-color: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)}.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-typography.ant-typography{color:var(--grey-dark-5);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.ant-typography.snmt-typography-h1{font-size:25px;font-weight:700;line-height:128%}.snmt-typography.ant-typography.snmt-typography-h2{font-size:21px;font-weight:600;line-height:132%}.snmt-typography.ant-typography.snmt-typography-h3{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.ant-typography.snmt-typography-h4,.snmt-typography.ant-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.ant-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:150%}.snmt-typography.ant-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.ant-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.ant-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.ant-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.ant-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.ant-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.ant-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-link1{font-size:16px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-link2{font-size:14px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-align-center{text-align:center}.snmt-typography.ant-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.ant-typography.snmt-typography-align-left{text-align:left}.snmt-typography.ant-typography.snmt-typography-align-right{text-align:right}.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-regular-badge{display:grid;border:none;place-items:center;margin-inline-end:0}.snmt-regular-badge--medium{padding:4px 8px;border-radius:4px;height:28px}.snmt-regular-badge--small{padding:3px 6px;border-radius:4px;height:20px}.snmt-regular-badge--xsmall{padding:0 4px;border-radius:3px;height:16px}.snmt-status-badge{display:grid;border:none;place-items:center;border-radius:20px;height:24px}.snmt-status-badge--without-icon{padding:5px 8px}.snmt-status-badge--with-icon{display:grid;grid-template-columns:repeat(2,auto);justify-content:start;column-gap:4px;padding:5px 8px 5px 6px}.snmt-select{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select .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 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select .ant-select-disabled .snmt-select .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);max-width:none;font-size:16px}.snmt-select.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select .ant-select-multiple .ant-select-selector{padding:10px 48px 10px 16px!important}.snmt-select .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select .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 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select .ant-select-multiple .ant-select-selection-overflow-item{max-width:none}.snmt-select .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin-right:4px}.snmt-select .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 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select .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.snmt-select-static{height:auto}.snmt-select.snmt-select-static .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin-top:2px;margin-bottom:2px}.snmt-select.snmt-select-static .ant-select-multiple .ant-select-selection-overflow-item-suffix{width:0}.snmt-select .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select>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>label.label-floating{top:-7px;font-size:12px}.snmt-select>label.label-disabled{color:var(--grey-dark-1)}.snmt-select>label.label-loading{padding-left:30px}.snmt-select>label.label-loading.label-floating{padding-left:0}.snmt-select 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 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select fieldset.fieldset-focused>legend,.snmt-select fieldset.fieldset-filled>legend,.snmt-select fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select fieldset.fieldset-error,.snmt-select fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select: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.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select.snmt-select.snmt-select-borderless fieldset{border:none;border-radius:0}.snmt-select.snmt-select.snmt-select-borderless fieldset.fieldset-focused{border:1.5px solid var(--blue-primary)}.snmt-select.snmt-select.snmt-select-borderless fieldset.fieldset-hovered{border:1.5px solid var(--blue-dark-1)}.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%}}.clickable{cursor:pointer}.snmt-arrow-button{box-sizing:border-box;height:20px;width:20px;padding:0;margin:0;border:none;border-radius:4px;background-color:var(--grey-light-2);cursor:pointer}.snmt-arrow-button:hover{background-color:var(--grey-light-3)}.snmt-arrow-button-active{background-color:var(--blue-primary)}.snmt-arrow-button-active:hover{background-color:var(--blue-hover)}.snmt-arrow-button-disabled{cursor:default;background-color:var(--grey-light-3)}.snmt-arrow-button-disabled:hover{background-color:var(--grey-light-3)}.snmt-arrow-button-icon-rotation-initial{transition:transform .3s ease;position:relative;z-index:2}.snmt-arrow-button-icon-rotation-cw{transition:transform .3s ease;transform:rotate(180deg)}.snmt-arrow-button-icon-rotation-ccw{transition:transform .3s ease;transform:rotate(-180deg)}
|
|
1
|
+
.snmt-flex.inherit{flex-wrap:inherit}.snmt-avatar.ant-avatar{display:grid;border:none;background-color:var(--grey-dark-4);place-items:center;color:var(--grey-light-0)}.snmt-avatar.ant-avatar .ant-avatar-string{position:static;display:grid;place-items:center}.snmt-avatar.image.ant-avatar{background-color:transparent}.snmt-avatar-with-label-wrapper{display:grid;grid-template-columns:auto auto;place-items:center}.snmt-checkbox .ant-checkbox+span{padding-inline-start:12px}.ant-checkbox-checked .ant-checkbox-inner:after{transform:rotate(45deg) scale(1) translate(-40%,-60%)}.ant-checkbox-inner{width:20px!important;height:20px!important}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox .ant-checkbox-inner{border-color:var(--grey-light-4);border-radius:5px}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-checked .ant-checkbox-inner{background-color:var(--blue-primary);border-color:var(--blue-primary)}.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-primary);border-color:var(--blue-primary)}.snmt-checkbox-light.ant-checkbox-wrapper .ant-checkbox.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:var(--grey-light-0);border:1.5px 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-color: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-color: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-indeterminate .ant-checkbox-inner{background-color:var(--blue-hover)!important;border-color: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)}.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-typography.ant-typography{color:var(--grey-dark-5);font-family:Montserrat,sans-serif;font-style:normal;font-feature-settings:"clig" off,"liga" off;line-height:normal;margin:0!important}.snmt-typography.ant-typography.snmt-typography-h1{font-size:25px;font-weight:700;line-height:128%}.snmt-typography.ant-typography.snmt-typography-h2{font-size:21px;font-weight:600;line-height:132%}.snmt-typography.ant-typography.snmt-typography-h3{font-size:19px;font-weight:600;line-height:124%}.snmt-typography.ant-typography.snmt-typography-h4,.snmt-typography.ant-typography.snmt-typography-h5{font-size:16px;font-weight:600;line-height:124%}.snmt-typography.ant-typography.snmt-typography-body1{font-size:16px;font-weight:500;line-height:150%}.snmt-typography.ant-typography.snmt-typography-body2{font-size:14px;font-weight:500;line-height:144%}.snmt-typography.ant-typography.snmt-typography-body3{font-size:12px;font-weight:600;line-height:120%}.snmt-typography.ant-typography.snmt-typography-body4{font-size:12px;font-weight:500;line-height:120%}.snmt-typography.ant-typography.snmt-typography-button{font-size:14px;font-weight:600;line-height:116%}.snmt-typography.ant-typography.snmt-typography-caption{font-size:10px;font-weight:500;line-height:120%}.snmt-typography.ant-typography.snmt-typography-tag{font-size:9px;font-weight:500;line-height:116%}.snmt-typography.ant-typography.snmt-typography-link{font-size:16px;font-weight:500;line-height:120%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-link1{font-size:16px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-link2{font-size:14px;font-weight:500;line-height:124%;text-decoration:underline;cursor:pointer}.snmt-typography.ant-typography.snmt-typography-align-center{text-align:center}.snmt-typography.ant-typography.snmt-typography-align-justify{text-align:justify}.snmt-typography.ant-typography.snmt-typography-align-left{text-align:left}.snmt-typography.ant-typography.snmt-typography-align-right{text-align:right}.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-regular-badge{display:grid;border:none;place-items:center;margin-inline-end:0}.snmt-regular-badge--medium{padding:4px 8px;border-radius:4px;height:28px}.snmt-regular-badge--small{padding:3px 6px;border-radius:4px;height:20px}.snmt-regular-badge--xsmall{padding:0 4px;border-radius:3px;height:16px}.snmt-status-badge{display:grid;border:none;place-items:center;border-radius:20px;height:24px}.snmt-status-badge--without-icon{padding:5px 8px}.snmt-status-badge--with-icon{display:grid;grid-template-columns:repeat(2,auto);justify-content:start;column-gap:4px;padding:5px 8px 5px 6px}.snmt-select{width:100%;position:relative;height:48px;font-family:Montserrat,sans-serif;font-weight:500}.snmt-select .snmt-select-blank .ant-select-selector{border:none!important}.snmt-select .ant-select{height:100%;pointer-events:none;width:100%;border-radius:8px}.snmt-select .ant-select .wrapper-suffix-icon{pointer-events:none;display:flex;align-items:center;gap:10px}.snmt-select .ant-select-focused .ant-select-selector{box-shadow:none!important}.snmt-select .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 .ant-select-selector:hover{border-color:var(--blue-dark-1)!important}.snmt-select .ant-select-selection-search{margin-inline-start:0px!important;font-size:16px;font-weight:500}.snmt-select .ant-select-selection-search input{font-size:16px!important;font-weight:500!important;color:var(--grey-dark-5)!important}.snmt-select .ant-select-arrow div{pointer-events:all;position:relative;z-index:10}.snmt-select .ant-select-selection-overflow-item-rest .ant-tag-close-icon{display:none}.snmt-select .ant-select-disabled .snmt-select .ant-select-arrow div{pointer-events:none!important;cursor:not-allowed!important}.snmt-select.snmt-select-single .ant-select-selection-item{font-family:Montserrat,sans-serif;font-weight:500;color:var(--grey-dark-5);max-width:none;font-size:16px}.snmt-select.snmt-select-single .ant-select-selection-item img{display:none}.snmt-select .ant-select-multiple .ant-select-selector{padding:10px 48px 10px 16px!important}.snmt-select .ant-select-multiple .ant-select-selection-item{background-color:var(--grey-light-2)}.snmt-select .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 .ant-select-multiple .ant-select-selection-item-content img{display:none}.snmt-select .ant-select-multiple .ant-select-selection-overflow-item{max-width:none}.snmt-select .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin-right:4px}.snmt-select .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 .ant-select-multiple .ant-select-selection-overflow-item-rest .ant-select-selection-item-content{margin:0}.snmt-select .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.snmt-select-static{height:auto}.snmt-select.snmt-select-static .ant-select-multiple .ant-select-selection-overflow-item .tag-wrapper{margin-top:2px;margin-bottom:2px}.snmt-select.snmt-select-static .ant-select-multiple .ant-select-selection-overflow-item-suffix{width:0}.snmt-select .ant-select-open .ant-select-selector{box-shadow:none!important;border-color:var(--blue-primary)!important}.snmt-select .select-arrow{transition:transform .3s ease;position:relative;z-index:2}.snmt-select .select-arrow-rotated{transition:transform .3s ease;transform:rotate(180deg)}.snmt-select>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>label.label-floating{top:-7px;font-size:12px}.snmt-select>label.label-disabled{color:var(--grey-dark-1)}.snmt-select>label.label-loading{padding-left:30px}.snmt-select>label.label-loading.label-floating{padding-left:0}.snmt-select 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 fieldset>legend{max-width:0;height:14px;padding:0;font-size:12px}.snmt-select fieldset>legend>span{opacity:0!important;padding:0 5px;pointer-events:none;-webkit-user-select:none;user-select:none}.snmt-select fieldset.fieldset-focused>legend,.snmt-select fieldset.fieldset-filled>legend,.snmt-select fieldset.fieldset-disabled>legend{max-width:100%}.snmt-select fieldset.fieldset-focused{border-color:var(--blue-primary);border-width:2px;color:var(--blue-primary)}.snmt-select fieldset.fieldset-disabled{border:none;color:var(--grey-dark-1)}.snmt-select fieldset.fieldset-disabled:not(.fieldset-filled){display:none}.snmt-select fieldset.fieldset-filled{border-color:var(--grey-light-4);color:var(--grey-dark-2)}.snmt-select fieldset.fieldset-filled.fieldset-disabled{color:var(--grey-dark-1)}.snmt-select fieldset.fieldset-error,.snmt-select fieldset.fieldset-focused.fieldset-error{border-color:var(--notification-error-dark)}.snmt-select:hover:not(.snmt-select-read-only) fieldset:not(.fieldset-disabled):not(.fieldset-error):not(.fieldset-focused){border-color:var(--blue-dark-1)}.snmt-select: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.snmt-select-read-only .ant-select-selector{background-color:var(--grey-light-2);cursor:not-allowed;pointer-events:none!important}.snmt-select.snmt-select-read-only .ant-select-arrow{pointer-events:all!important;cursor:pointer}.snmt-select.snmt-select-read-only .ant-select{pointer-events:auto!important}.snmt-select.snmt-select-focused fieldset.fieldset-focused:not(.fieldset-disabled):not(.fieldset-error){border-color:var(--blue-primary);border-width:2px}.snmt-select.snmt-select-focused>label.label-floating:not(.label-disabled){color:var(--blue-primary)}.snmt-select.snmt-select.snmt-select-borderless fieldset{border:none;border-radius:0}.snmt-select.snmt-select.snmt-select-borderless fieldset.fieldset-focused{border:1.5px solid var(--blue-primary)}.snmt-select.snmt-select.snmt-select-borderless fieldset.fieldset-hovered{border:1.5px solid var(--blue-dark-1)}.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;--loader-color: var(--blue-primary);background:linear-gradient(var(--loader-color) 0,var(--loader-color) calc(50% - 10px),transparent calc(50% - 10px),transparent calc(50% + 10px),var(--loader-color) calc(50% + 10px),var(--loader-color) 100%) 0% 100%/20% calc(200% + 20px) no-repeat,linear-gradient(var(--loader-color) 0,var(--loader-color) calc(50% - 10px),transparent calc(50% - 10px),transparent calc(50% + 10px),var(--loader-color) calc(50% + 10px),var(--loader-color) 100%) 50% 100%/20% calc(200% + 20px) no-repeat,linear-gradient(var(--loader-color) 0,var(--loader-color) calc(50% - 10px),transparent calc(50% - 10px),transparent calc(50% + 10px),var(--loader-color) calc(50% + 10px),var(--loader-color) 100%) 100% 100%/20% calc(200% + 20px) no-repeat}@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%}}.clickable{cursor:pointer}.snmt-arrow-button{box-sizing:border-box;height:20px;width:20px;padding:0;margin:0;border:none;border-radius:4px;background-color:var(--grey-light-2);cursor:pointer}.snmt-arrow-button:hover{background-color:var(--grey-light-3)}.snmt-arrow-button-active{background-color:var(--blue-primary)}.snmt-arrow-button-active:hover{background-color:var(--blue-hover)}.snmt-arrow-button-disabled{cursor:default;background-color:var(--grey-light-3)}.snmt-arrow-button-disabled:hover{background-color:var(--grey-light-3)}.snmt-arrow-button-icon-rotation-initial{transition:transform .3s ease;position:relative;z-index:2}.snmt-arrow-button-icon-rotation-cw{transition:transform .3s ease;transform:rotate(180deg)}.snmt-arrow-button-icon-rotation-ccw{transition:transform .3s ease;transform:rotate(-180deg)}
|
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.13.
|
|
4
|
+
"version": "1.13.15",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/async-select.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"build": "tsc && vite build"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@snmt-react-ui/select": "^1.29.
|
|
21
|
+
"@snmt-react-ui/select": "^1.29.8"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"antd": "^5.18.3",
|
|
25
25
|
"react": ">=18.2.0"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "6b48ea129a731a02640d6c00646baa5fb9116128"
|
|
28
28
|
}
|