@arthurzakharov/ui-kit 3.15.0 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/dropdown-CsBIRizY.css +1 -0
- package/dist/controls/interactives/dropdown/dropdown.component.d.ts +5 -1
- package/dist/controls/interactives/dropdown/dropdown.component.js +143 -124
- package/dist/controls/interactives/text-field/text-field.component.js +1 -1
- package/package.json +1 -1
- package/dist/assets/dropdown-DLhCAHEx.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._Dropdown_1facm_1{--transition-time: .2s;--under-chevron: linear-gradient(90deg, rgba(255, 255, 255, 0) -10%, rgba(255, 255, 255, .5411764706) 25%, #fff 50%);--border-radius: 3px;position:relative;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-primary);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._Border_1facm_17{position:relative;min-height:60px;flex-grow:1;display:flex;align-items:center;justify-content:flex-start;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);overflow:hidden}._Content_1facm_28{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}._Border_1facm_17:hover{cursor:pointer}._Chevron_1facm_39{width:24px;height:24px;transition:transform var(--transition-time) ease-out}._Chevron_1facm_39[data-open=false]{transform:rotate(0)}._Chevron_1facm_39[data-open=true]{transform:rotate(180deg)}._ChevronWrap_1facm_53{position:absolute;z-index:1;right:0;top:50%;transform:translateY(-50%);background:var(--under-chevron);border-radius:10px;width:80px;height:100%;padding-right:var(--rm-ui-padding-sm);display:flex;justify-content:flex-end;align-items:center}._Box_1facm_69{flex-grow:1;border-radius:10px;background-color:var(--rm-ui-grey-50)}._BoxVisible_1facm_75{display:block}._BoxHidden_1facm_79{display:none}._Search_1facm_83{position:relative;border-bottom:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm)}._SearchVisible_1facm_89{display:block}._SearchHidden_1facm_93{display:none}._Close_1facm_97{border-top:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm);display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._Input_1facm_106{width:100%;border-radius:10px;padding:var(--rm-ui-padding-xs) calc(var(--rm-ui-padding-sm) * 2 + 12px) var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);border:1px var(--rm-ui-grey-300) solid;box-sizing:border-box;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary);outline-color:var(--rm-ui-color-accent-primary)}._Glass_1facm_120{position:absolute;z-index:1;right:calc(var(--rm-ui-padding-sm) * 2);top:50%;transform:translateY(-50%);width:24px;height:24px;color:var(--rm-ui-grey-300)}._Choices_1facm_131{max-height:228px;overflow-y:scroll;border-radius:10px}._Choice_1facm_131{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-sm);padding:6px var(--rm-ui-padding-sm)}._Choice_1facm_131:hover{cursor:pointer;background-color:#fff}._ChoiceNoResult_1facm_151{color:var(--rm-ui-grey-600);text-align:center}html[dir=rtl] ._Glass_1facm_120{left:31px;right:initial}html[dir=rtl] ._ChevronWrap_1facm_53{left:19px;right:initial}._FieldGroup_1facm_166{display:flex;flex-direction:column;gap:var(--rm-ui-padding-xs);width:100%;align-items:stretch}._LabelRow_1facm_174{display:flex;align-items:center;justify-content:space-between;gap:var(--rm-ui-padding-xs);width:100%}._InfoButton_1facm_182{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;background:none;border:0;cursor:pointer;color:var(--rm-ui-color-text-primary);transition:opacity .12s ease}._InfoButton_1facm_182:hover:not(:disabled){opacity:.6}._InfoButton_1facm_182:focus-visible{outline:2px solid var(--rm-ui-color-focus);outline-offset:2px}._InfoIcon_1facm_204{width:24px;height:24px}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { QuestionChoice } from '../../utils';
|
|
2
2
|
import { Base } from '../../../utils/types';
|
|
3
|
+
type DropdownLabelPosition = 'inside' | 'outside';
|
|
3
4
|
export interface DropdownProps extends Base {
|
|
4
5
|
choices: QuestionChoice[];
|
|
5
6
|
value: QuestionChoice[];
|
|
6
7
|
label?: string;
|
|
8
|
+
labelPosition?: DropdownLabelPosition;
|
|
7
9
|
placeholder?: string;
|
|
8
10
|
noResult?: string;
|
|
9
11
|
isSearchHidden?: boolean;
|
|
@@ -12,5 +14,7 @@ export interface DropdownProps extends Base {
|
|
|
12
14
|
onChange: (values: QuestionChoice[]) => void;
|
|
13
15
|
onOpen?: (height: number, width: number) => void;
|
|
14
16
|
onClose?: () => void;
|
|
17
|
+
onInfoClick?: () => void;
|
|
15
18
|
}
|
|
16
|
-
export declare const Dropdown: ({ choices, value, label, placeholder, noResult, isSearchHidden, multiple, closeButton, onChange, onOpen, onClose, ...base }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const Dropdown: ({ choices, value, label, labelPosition, placeholder, noResult, isSearchHidden, multiple, closeButton, onChange, onOpen, onClose, onInfoClick, ...base }: DropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -1,136 +1,155 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { useBoolean as
|
|
4
|
-
import { ChevronDown as
|
|
5
|
-
import {
|
|
6
|
-
import { Button as
|
|
7
|
-
import { Box as
|
|
8
|
-
import { Caption as
|
|
9
|
-
import { Choice as
|
|
1
|
+
import { jsx as s, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as x, useState as v, useEffect as H, useMemo as J } from "react";
|
|
3
|
+
import { useBoolean as Q, useResizeObserver as U, useOnClickOutside as X } from "usehooks-ts";
|
|
4
|
+
import { ChevronDown as Y, Info as Z, Search as ee } from "lucide-react";
|
|
5
|
+
import { baseProps as G, clsx as B } from "../../../utils/functions/functions.util.js";
|
|
6
|
+
import { Button as oe } from "../../buttons/button/button.component.js";
|
|
7
|
+
import { Box as V } from "../../primitives/box/box.component.js";
|
|
8
|
+
import { Caption as N } from "../../primitives/caption/caption.component.js";
|
|
9
|
+
import { Choice as se } from "../../primitives/choice/choice.component.js";
|
|
10
10
|
import "../../../utils/content/content.component.js";
|
|
11
|
-
import { Label as
|
|
12
|
-
import { clickHasNode as
|
|
13
|
-
import { Converter as
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
import { Label as te } from "../../primitives/label/label.component.js";
|
|
12
|
+
import { clickHasNode as ie } from "../../utils/functions/functions.util.js";
|
|
13
|
+
import { Converter as ne } from "../../../utils/converter/converter.util.js";
|
|
14
|
+
import { Text as ce } from "../../../components/text/text.component.js";
|
|
15
|
+
import '../../../assets/dropdown-CsBIRizY.css';const re = "_Dropdown_1facm_1", ae = "_Border_1facm_17", le = "_Content_1facm_28", de = "_Chevron_1facm_39", he = "_ChevronWrap_1facm_53", me = "_Box_1facm_69", fe = "_BoxVisible_1facm_75", _e = "_BoxHidden_1facm_79", ue = "_Search_1facm_83", pe = "_SearchVisible_1facm_89", Ce = "_SearchHidden_1facm_93", be = "_Close_1facm_97", xe = "_Input_1facm_106", ve = "_Glass_1facm_120", Be = "_Choices_1facm_131", Ne = "_Choice_1facm_131", we = "_ChoiceNoResult_1facm_151", Se = "_FieldGroup_1facm_166", Ie = "_LabelRow_1facm_174", ge = "_InfoButton_1facm_182", ye = "_InfoIcon_1facm_204", e = {
|
|
16
|
+
Dropdown: re,
|
|
17
|
+
Border: ae,
|
|
18
|
+
Content: le,
|
|
19
|
+
Chevron: de,
|
|
20
|
+
ChevronWrap: he,
|
|
21
|
+
Box: me,
|
|
22
|
+
BoxVisible: fe,
|
|
23
|
+
BoxHidden: _e,
|
|
24
|
+
Search: ue,
|
|
25
|
+
SearchVisible: pe,
|
|
26
|
+
SearchHidden: Ce,
|
|
27
|
+
Close: be,
|
|
28
|
+
Input: xe,
|
|
29
|
+
Glass: ve,
|
|
30
|
+
Choices: Be,
|
|
31
|
+
Choice: Ne,
|
|
32
|
+
ChoiceNoResult: we,
|
|
33
|
+
FieldGroup: Se,
|
|
34
|
+
LabelRow: Ie,
|
|
35
|
+
InfoButton: ge,
|
|
36
|
+
InfoIcon: ye
|
|
37
|
+
}, je = ({
|
|
38
|
+
choices: w = [],
|
|
39
|
+
value: h = [],
|
|
40
|
+
label: r = "",
|
|
41
|
+
labelPosition: S = "inside",
|
|
42
|
+
placeholder: $ = "Wählen Sie Ihre private Krankenversicherung...",
|
|
43
|
+
noResult: F = "Keine Versicherung gefunden.",
|
|
44
|
+
isSearchHidden: O = !1,
|
|
45
|
+
multiple: a = !1,
|
|
40
46
|
closeButton: W = "Schließen",
|
|
41
|
-
onChange:
|
|
47
|
+
onChange: m,
|
|
42
48
|
onOpen: A,
|
|
43
|
-
onClose:
|
|
49
|
+
onClose: T,
|
|
50
|
+
onInfoClick: f,
|
|
44
51
|
// Base props
|
|
45
|
-
...
|
|
52
|
+
...I
|
|
46
53
|
}) => {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
ref: _,
|
|
50
|
-
onResize: (e) => $({ width: e.width || 0, height: e.height || 0 })
|
|
51
|
-
}), P(_, (e) => {
|
|
52
|
-
X(e, b) || (c && h(a), m());
|
|
53
|
-
}), y(() => N(Array.isArray(d) ? d : []), [d]), y(() => {
|
|
54
|
-
l && n.width && n.height ? (B.current?.focus(), A?.call(null, n.height, n.width)) : G?.call(null);
|
|
55
|
-
}, [l, n]);
|
|
56
|
-
const j = (e, t) => {
|
|
57
|
-
N((r) => r.some(({ value: p }) => p === e) ? r.filter(({ value: p }) => p !== e) : [...r, { value: e, label: t }]);
|
|
58
|
-
}, F = () => {
|
|
59
|
-
m(), h(a);
|
|
60
|
-
}, w = K(
|
|
61
|
-
() => v.filter(({ label: e }) => e.toLowerCase().includes(C.toLowerCase())),
|
|
62
|
-
[C, v]
|
|
54
|
+
f && S === "inside" && console.warn(
|
|
55
|
+
'Dropdown: `onInfoClick` is set but `labelPosition` is "inside". The info button is only rendered alongside the outside label and will be ignored. Set `labelPosition="outside"` to enable it.'
|
|
63
56
|
);
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
57
|
+
const g = x(null), _ = x(null), y = x(null), { value: l, setFalse: u, toggle: j } = Q(!1), [p, K] = v(""), [i, M] = v({ width: 0, height: 0 }), [d, R] = v([]);
|
|
58
|
+
U({
|
|
59
|
+
ref: _,
|
|
60
|
+
onResize: (o) => M({ width: o.width || 0, height: o.height || 0 })
|
|
61
|
+
}), X(_, (o) => {
|
|
62
|
+
ie(o, g) || (a && m(d), u());
|
|
63
|
+
}), H(() => R(Array.isArray(h) ? h : []), [h]), H(() => {
|
|
64
|
+
l && i.width && i.height ? (y.current?.focus(), A?.call(null, i.height, i.width)) : T?.call(null);
|
|
65
|
+
}, [l, i]);
|
|
66
|
+
const P = (o, n) => {
|
|
67
|
+
R((c) => c.some(({ value: b }) => b === o) ? c.filter(({ value: b }) => b !== o) : [...c, { value: o, label: n }]);
|
|
68
|
+
}, E = () => {
|
|
69
|
+
u(), m(d);
|
|
70
|
+
}, k = J(
|
|
71
|
+
() => w.filter(({ label: o }) => o.toLowerCase().includes(p.toLowerCase())),
|
|
72
|
+
[p, w]
|
|
73
|
+
), C = G(I, "data-testid", "dropdown"), L = S === "outside", q = L && !!r, z = /* @__PURE__ */ s(V, { ref: g, onClick: j, children: /* @__PURE__ */ t("div", { className: e.Border, children: [
|
|
74
|
+
/* @__PURE__ */ t("div", { className: e.Content, children: [
|
|
75
|
+
!L && /* @__PURE__ */ s(te, { text: r, position: "active" }),
|
|
76
|
+
/* @__PURE__ */ s(
|
|
77
|
+
N,
|
|
78
|
+
{
|
|
79
|
+
text: ne.Answer.FromArrayToMultiple(d.map(({ label: o }) => o)) || $,
|
|
80
|
+
size: "body",
|
|
81
|
+
checked: !0,
|
|
82
|
+
oneLine: !0
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ s("div", { className: e.ChevronWrap, children: /* @__PURE__ */ s(Y, { "data-open": l, className: e.Chevron }) })
|
|
87
|
+
] }) });
|
|
88
|
+
return /* @__PURE__ */ t("div", { "data-testid": C, className: B(e.Dropdown, G(I, "className")), children: [
|
|
89
|
+
q ? /* @__PURE__ */ t("div", { className: e.FieldGroup, children: [
|
|
90
|
+
/* @__PURE__ */ t("div", { className: e.LabelRow, children: [
|
|
91
|
+
/* @__PURE__ */ s(ce, { tag: "div", weight: "medium", size: "body", color: "text-primary", "data-testid": `${C}-label`, children: r }),
|
|
92
|
+
f && /* @__PURE__ */ s(
|
|
93
|
+
"button",
|
|
94
|
+
{
|
|
95
|
+
type: "button",
|
|
96
|
+
className: e.InfoButton,
|
|
97
|
+
onClick: f,
|
|
98
|
+
"aria-label": `${r} – Weitere Informationen`,
|
|
99
|
+
"data-testid": `${C}-info`,
|
|
100
|
+
children: /* @__PURE__ */ s(Z, { className: e.InfoIcon, "aria-hidden": !0 })
|
|
101
|
+
}
|
|
102
|
+
)
|
|
103
|
+
] }),
|
|
104
|
+
z
|
|
105
|
+
] }) : z,
|
|
106
|
+
/* @__PURE__ */ s(V, { ref: _, className: l ? e.BoxVisible : e.BoxHidden, children: /* @__PURE__ */ t("div", { className: e.Box, children: [
|
|
107
|
+
/* @__PURE__ */ t("div", { className: B(e.Search, O ? e.SearchHidden : e.SearchVisible), children: [
|
|
108
|
+
/* @__PURE__ */ s(
|
|
109
|
+
"input",
|
|
110
|
+
{
|
|
111
|
+
ref: y,
|
|
112
|
+
value: p,
|
|
113
|
+
type: "text",
|
|
114
|
+
className: e.Input,
|
|
115
|
+
onChange: (o) => K(o.target.value)
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
/* @__PURE__ */ s(ee, { className: e.Glass })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ s("ul", { className: e.Choices, children: k.length ? k.map(({ value: o, label: n }, c) => /* @__PURE__ */ t(
|
|
121
|
+
"li",
|
|
122
|
+
{
|
|
123
|
+
className: e.Choice,
|
|
124
|
+
onClick: () => {
|
|
125
|
+
a ? P(o, n) : (u(), m([{ value: o, label: n }]));
|
|
126
|
+
},
|
|
127
|
+
children: [
|
|
128
|
+
a && /* @__PURE__ */ s(
|
|
129
|
+
se,
|
|
89
130
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
type: "text",
|
|
93
|
-
className: o.Input,
|
|
94
|
-
onChange: (e) => O(e.target.value)
|
|
131
|
+
type: "checkbox",
|
|
132
|
+
checked: d.some((D) => D.value === o)
|
|
95
133
|
}
|
|
96
134
|
),
|
|
97
|
-
/* @__PURE__ */ s(
|
|
98
|
-
]
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
/* @__PURE__ */ s(x, { text: t, size: "body", checked: !1 })
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
e + r
|
|
118
|
-
)) : /* @__PURE__ */ s("li", { className: k(o.Choice, o.ChoiceNoResult), children: /* @__PURE__ */ s(x, { text: V, size: "body", checked: !1 }) }) }),
|
|
119
|
-
c && /* @__PURE__ */ s("div", { className: o.Close, children: /* @__PURE__ */ s(
|
|
120
|
-
J,
|
|
121
|
-
{
|
|
122
|
-
color: "primary",
|
|
123
|
-
textSize: "sm",
|
|
124
|
-
type: "button",
|
|
125
|
-
text: W,
|
|
126
|
-
onClick: () => F()
|
|
127
|
-
}
|
|
128
|
-
) })
|
|
129
|
-
] }) })
|
|
130
|
-
]
|
|
131
|
-
}
|
|
132
|
-
);
|
|
135
|
+
/* @__PURE__ */ s(N, { text: n, size: "body", checked: !1 })
|
|
136
|
+
]
|
|
137
|
+
},
|
|
138
|
+
o + c
|
|
139
|
+
)) : /* @__PURE__ */ s("li", { className: B(e.Choice, e.ChoiceNoResult), children: /* @__PURE__ */ s(N, { text: F, size: "body", checked: !1 }) }) }),
|
|
140
|
+
a && /* @__PURE__ */ s("div", { className: e.Close, children: /* @__PURE__ */ s(
|
|
141
|
+
oe,
|
|
142
|
+
{
|
|
143
|
+
color: "primary",
|
|
144
|
+
textSize: "sm",
|
|
145
|
+
type: "button",
|
|
146
|
+
text: W,
|
|
147
|
+
onClick: () => E()
|
|
148
|
+
}
|
|
149
|
+
) })
|
|
150
|
+
] }) })
|
|
151
|
+
] });
|
|
133
152
|
};
|
|
134
153
|
export {
|
|
135
|
-
|
|
154
|
+
je as Dropdown
|
|
136
155
|
};
|
|
@@ -9,8 +9,8 @@ import "lucide-react";
|
|
|
9
9
|
import { ErrorMessage as k } from "../../primitives/error-message/error-message.component.js";
|
|
10
10
|
import { Label as C } from "../../primitives/label/label.component.js";
|
|
11
11
|
import "react";
|
|
12
|
-
import { Input as j } from "../input/input.component.js";
|
|
13
12
|
import "../../../components/text/text.component.js";
|
|
13
|
+
import { Input as j } from "../input/input.component.js";
|
|
14
14
|
import '../../../assets/text-field-ycFvAkxr.css';const D = "_TextField_diews_1", O = "_Box_diews_10", q = "_Content_diews_14", y = "_Label_diews_30", z = "_Idle_diews_40", G = "_Active_diews_45", H = "_Placeholder_diews_50", J = "_PlaceholderText_diews_57", K = "_ErrorMessage_diews_65", Q = "_Input_diews_69", R = "_MaskStart_diews_73", e = {
|
|
15
15
|
TextField: D,
|
|
16
16
|
Box: O,
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
._Dropdown_1kidn_1{--transition-time: .2s;--under-chevron: linear-gradient(90deg, rgba(255, 255, 255, 0) -10%, rgba(255, 255, 255, .5411764706) 25%, #fff 50%);--border-radius: 3px;position:relative;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body-small);line-height:var(--rm-ui-line-height-body-small);color:var(--rm-ui-color-text-primary);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-xxs)}._Border_1kidn_17{position:relative;min-height:60px;flex-grow:1;display:flex;align-items:center;justify-content:flex-start;padding:var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);overflow:hidden}._Content_1kidn_28{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}._Border_1kidn_17:hover{cursor:pointer}._Chevron_1kidn_39{width:24px;height:24px;transition:transform var(--transition-time) ease-out}._Chevron_1kidn_39[data-open=false]{transform:rotate(0)}._Chevron_1kidn_39[data-open=true]{transform:rotate(180deg)}._ChevronWrap_1kidn_53{position:absolute;z-index:1;right:0;top:50%;transform:translateY(-50%);background:var(--under-chevron);border-radius:10px;width:80px;height:100%;padding-right:var(--rm-ui-padding-sm);display:flex;justify-content:flex-end;align-items:center}._Box_1kidn_69{flex-grow:1;border-radius:10px;background-color:var(--rm-ui-grey-50)}._BoxVisible_1kidn_75{display:block}._BoxHidden_1kidn_79{display:none}._Search_1kidn_83{position:relative;border-bottom:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm)}._SearchVisible_1kidn_89{display:block}._SearchHidden_1kidn_93{display:none}._Close_1kidn_97{border-top:1px var(--rm-ui-grey-300) solid;padding:var(--rm-ui-padding-sm);display:flex;flex-direction:row;align-items:center;justify-content:flex-end}._Input_1kidn_106{width:100%;border-radius:10px;padding:var(--rm-ui-padding-xs) calc(var(--rm-ui-padding-sm) * 2 + 12px) var(--rm-ui-padding-xs) var(--rm-ui-padding-sm);border:1px var(--rm-ui-grey-300) solid;box-sizing:border-box;font-weight:var(--rm-ui-font-weight-regular);font-size:var(--rm-ui-font-size-body);line-height:var(--rm-ui-line-height-body);color:var(--rm-ui-color-text-primary);outline-color:var(--rm-ui-color-accent-primary)}._Glass_1kidn_120{position:absolute;z-index:1;right:calc(var(--rm-ui-padding-sm) * 2);top:50%;transform:translateY(-50%);width:24px;height:24px;color:var(--rm-ui-grey-300)}._Choices_1kidn_131{max-height:228px;overflow-y:scroll;border-radius:10px}._Choice_1kidn_131{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:var(--rm-ui-padding-sm);padding:6px var(--rm-ui-padding-sm)}._Choice_1kidn_131:hover{cursor:pointer;background-color:#fff}._ChoiceNoResult_1kidn_151{color:var(--rm-ui-grey-600);text-align:center}html[dir=rtl] ._Glass_1kidn_120{left:31px;right:initial}html[dir=rtl] ._ChevronWrap_1kidn_53{left:19px;right:initial}
|