mimir-ui-kit 1.36.3 → 1.36.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- ._multi-select-search_mkspj_2{position:relative}._multi-select-search_mkspj_2._disabled_mkspj_5{cursor:not-allowed}._container_mkspj_9{display:block;gap:var(--select-search-gap);align-items:center;justify-content:space-between;height:var(--select-search-height);background-color:var(--black-5);border-radius:var(--select-search-radius)}._container-open_mkspj_18{border-bottom:1px solid var(--citrine-100)}._input-container_mkspj_22{position:relative;width:100%}._full_mkspj_27{width:100%}._selected-icon_mkspj_31 path{fill:var(--sapphire-100)}._selector-icon-open_mkspj_35{transform:rotate(180deg)}._button_mkspj_39{display:flex;align-items:center;background:none;border:none;cursor:pointer}._button_mkspj_39._disabled_mkspj_5{cursor:not-allowed}._button_mkspj_39._disabled_mkspj_5 ._selector-icon_mkspj_35 path{fill:var(--white)}._options_mkspj_53{position:absolute;z-index:10;width:100%;min-height:50%;max-height:var(--select-search-options-height);overflow-y:auto;font-size:var(--mimir-size-text-l);background:var(--white);box-shadow:var(--mimir-box-shadow-select-search)}._options_mkspj_53._top_mkspj_64{bottom:100%;margin-bottom:1px;border-radius:var(--select-search-radius) var(--select-search-radius) 0 0}._options_mkspj_53._bottom_mkspj_69{top:100%;margin-top:1px;border-radius:0 0 var(--select-search-radius) var(--select-search-radius)}._options_mkspj_53::-webkit-scrollbar{width:3px}._options_mkspj_53::-webkit-scrollbar-thumb{background-color:var(--black-80);border-radius:var(--mimir-control-radius-xs2)}._options_mkspj_53::-webkit-scrollbar-track{background-color:var(--white)}@media (max-width: 600px){._options_mkspj_53{max-height:var(--mimir-select-search-options-height-mobile)}}._no-options_mkspj_90{height:100%;padding:var(--select-search-option-space);color:var(--black-80)}._m_mkspj_2{--select-search-height: var(--mimir-select-search-height-l);--select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--select-search-radius: var(--mimir-control-radius);--select-search-gap: var(--mimir-space-2xs);--select-search-btn-space: var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-xs);--select-search-option-space: var(--mimir-space-2s) var(--mimir-space-m);--select-search-options-height: var( --mimir-select-search-options-height-mobile );--clear-right: var(--mimir-space-2xxl);--multi-select-input-disabled-margin-right: var(--mimir-space-l)}._l_mkspj_111{--select-search-height: var(--mimir-select-search-height-xxl);--select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--select-search-radius: var(--mimir-control-radius-s);--select-search-gap: var(--mimir-space-xs);--select-search-btn-space: var(--mimir-space-l) var(--mimir-space-m) var(--mimir-space-l) var(--mimir-space-xs);--select-search-option-space: var(--mimir-space-2l) var(--mimir-space-m);--select-search-options-height: var( --mimir-select-search-options-height-desktop );--clear-right: var(--mimir-space-4xl);--multi-select-input-disabled-margin-right: var(--mimir-space-1xl)}._multi-select-input-disabled_mkspj_126{margin-right:var(--multi-select-input-disabled-margin-right)}._multi-select-input_mkspj_126._focused_mkspj_129{height:auto;min-height:var(--input-height);overflow:hidden;resize:vertical}._multi-select-input_mkspj_126:last-child{padding-right:var(--mimir-space-4xl)}._option_mkspj_53{display:flex;gap:var(--mimir-space-m);align-items:center;width:100%;padding:var(--select-search-option-space);cursor:pointer;transition:background-color .2s ease-in-out}._option-active_mkspj_148{background-color:var(--black-5)}._option-inner_mkspj_151{display:flex;flex-direction:column;gap:var(--mimir-space-xs);width:100%}._chip-container_mkspj_158{display:flex;flex-wrap:wrap;gap:var(--mimir-space-2xs);margin-top:var(--mimir-space-xs)}._right-slot_mkspj_165{order:2;padding-top:0!important}._required-mark_mkspj_170{order:1;margin-right:var(--mimir-space-xs)}._clear_mkspj_175{position:absolute;top:50%;right:var(--clear-right);transform:translateY(-50%)}._clear_mkspj_175._disabled_mkspj_5{cursor:not-allowed}._clear_mkspj_175._disabled_mkspj_5 ._icon-button_mkspj_184 path{fill:var(--white)}
1
+ ._multi-select-search_17kql_2{position:relative}._multi-select-search_17kql_2._disabled_17kql_5{cursor:not-allowed}._container_17kql_9{display:block;gap:var(--select-search-gap);align-items:center;justify-content:space-between;height:var(--select-search-height);background-color:var(--black-5);border-radius:var(--select-search-radius)}._container-open_17kql_18{border-bottom:1px solid var(--citrine-100)}._input-container_17kql_22{position:relative;width:100%}._full_17kql_27{width:100%}._selected-icon_17kql_31 path{fill:var(--sapphire-100)}._selector-icon-open_17kql_35{transform:rotate(180deg)}._button_17kql_39{display:flex;align-items:center;background:none;border:none;cursor:pointer}._button_17kql_39._disabled_17kql_5{cursor:not-allowed}._button_17kql_39._disabled_17kql_5 ._selector-icon_17kql_35 path{fill:var(--white)}._options_17kql_53{position:absolute;z-index:10;width:100%;min-height:50%;max-height:var(--select-search-options-height);overflow-y:auto;font-size:var(--mimir-size-text-l);background:var(--white);box-shadow:var(--mimir-box-shadow-select-search)}._options_17kql_53._top_17kql_64{bottom:100%;margin-bottom:1px;border-radius:var(--select-search-radius) var(--select-search-radius) 0 0}._options_17kql_53._bottom_17kql_69{top:100%;margin-top:1px;border-radius:0 0 var(--select-search-radius) var(--select-search-radius)}._options_17kql_53::-webkit-scrollbar{width:3px}._options_17kql_53::-webkit-scrollbar-thumb{background-color:var(--black-80);border-radius:var(--mimir-control-radius-xs2)}._options_17kql_53::-webkit-scrollbar-track{background-color:var(--white)}@media (max-width: 600px){._options_17kql_53{max-height:var(--mimir-select-search-options-height-mobile)}}._no-options_17kql_90{height:100%;padding:var(--select-search-option-space);color:var(--black-80)}._m_17kql_2{--select-search-height: var(--mimir-select-search-height-l);--select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--select-search-radius: var(--mimir-control-radius);--select-search-gap: var(--mimir-space-2xs);--select-search-btn-space: var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-xs);--select-search-option-space: var(--mimir-space-2s) var(--mimir-space-m);--select-search-options-height: var( --mimir-select-search-options-height-mobile );--clear-right: var(--mimir-space-2xxl);--multi-select-input-disabled-margin-right: var(--mimir-space-l)}._l_17kql_111{--select-search-height: var(--mimir-select-search-height-xxl);--select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--select-search-radius: var(--mimir-control-radius-s);--select-search-gap: var(--mimir-space-xs);--select-search-btn-space: var(--mimir-space-l) var(--mimir-space-m) var(--mimir-space-l) var(--mimir-space-xs);--select-search-option-space: var(--mimir-space-2l) var(--mimir-space-m);--select-search-options-height: var( --mimir-select-search-options-height-desktop );--clear-right: var(--mimir-space-4xl);--multi-select-input-disabled-margin-right: var(--mimir-space-1xl)}._multi-select-input-disabled_17kql_126{margin-right:var(--multi-select-input-disabled-margin-right)}._multi-select-input_17kql_126._focused_17kql_129{height:auto;min-height:var(--input-height);overflow:hidden;resize:vertical}._multi-select-input_17kql_126:last-child{padding-right:var(--mimir-space-4xl)}._option_17kql_53{display:flex;gap:var(--mimir-space-m);align-items:center;width:100%;padding:var(--select-search-option-space);cursor:pointer;transition:background-color .2s ease-in-out}._option-active_17kql_148{background-color:var(--black-5)}._option-inner_17kql_151{display:flex;flex-direction:column;gap:var(--mimir-space-xs);width:100%}._chip_17kql_158{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._chip-container_17kql_163{display:flex;flex-wrap:wrap;gap:var(--mimir-space-2xs);margin-top:var(--mimir-space-xs)}._chip-root_17kql_169{max-width:100%}._right-slot_17kql_173{order:2;padding-top:0!important}._required-mark_17kql_178{order:1;margin-right:var(--mimir-space-xs)}._clear_17kql_183{position:absolute;top:50%;right:var(--clear-right);transform:translateY(-50%)}._clear_17kql_183._disabled_17kql_5{cursor:not-allowed}._clear_17kql_183._disabled_17kql_5 ._icon-button_17kql_192 path{fill:var(--white)}
@@ -1,228 +1,230 @@
1
- import { jsxs as j, jsx as o, Fragment as q } from "react/jsx-runtime";
2
- import { c as r } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as se, useRef as B, useState as S, useEffect as O, useMemo as ie } from "react";
1
+ import { jsxs as g, jsx as o, Fragment as V } from "react/jsx-runtime";
2
+ import { c as l } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as se, useRef as B, useState as S, useEffect as R, useMemo as ie } from "react";
4
4
  import { EMultiSelectSearchSize as M } from "./constants.js";
5
- import { getInitialInputValue as R, mapSizeToInputSize as E, getDropdownArrowIcon as re, joinSelectedItems as F } from "./utils.js";
6
- import { Icon as le } from "../../icons/Icon.js";
7
- import { Button as ae } from "../Button/Button.js";
8
- import { CheckboxMimir as ce } from "../CheckboxMimir/CheckboxMimir.js";
9
- import { Chip as pe } from "../Chip/Chip.js";
10
- import { I as P } from "../../Input-DlGNMuUD.js";
11
- import { EInputVariant as ue } from "../Input/constants.js";
12
- import { H as me, U as G, G as W, K as de, W as _e } from "../../combobox-CDU06zJj.js";
13
- import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe = "_container_mkspj_9", ke = "_full_mkspj_27", be = "_button_mkspj_39", je = "_options_mkspj_53", ge = "_top_mkspj_64", ve = "_bottom_mkspj_69", Ie = "_m_mkspj_2", Ne = "_l_mkspj_111", we = "_focused_mkspj_129", Ce = "_option_mkspj_53", Se = "_clear_mkspj_175", e = {
14
- "multi-select-search": "_multi-select-search_mkspj_2",
5
+ import { getInitialInputValue as E, mapSizeToInputSize as F, getDropdownArrowIcon as le, joinSelectedItems as P } from "./utils.js";
6
+ import { Icon as re } from "../../icons/Icon.js";
7
+ import { Button as ce } from "../Button/Button.js";
8
+ import { CheckboxMimir as ae } from "../CheckboxMimir/CheckboxMimir.js";
9
+ import { Chip as ue } from "../Chip/Chip.js";
10
+ import { I as j } from "../../Input-DlGNMuUD.js";
11
+ import { EInputVariant as de } from "../Input/constants.js";
12
+ import { H as pe, U as G, G as W, K as me, W as _e } from "../../combobox-CDU06zJj.js";
13
+ import '../../assets/MultiSelectSearch.css';const he = "_disabled_17kql_5", fe = "_container_17kql_9", ke = "_full_17kql_27", qe = "_button_17kql_39", ge = "_options_17kql_53", be = "_top_17kql_64", ve = "_bottom_17kql_69", Ne = "_m_17kql_2", Ie = "_l_17kql_111", we = "_focused_17kql_129", Ce = "_option_17kql_53", Se = "_chip_17kql_158", Me = "_clear_17kql_183", e = {
14
+ "multi-select-search": "_multi-select-search_17kql_2",
15
15
  disabled: he,
16
16
  container: fe,
17
- "container-open": "_container-open_mkspj_18",
18
- "input-container": "_input-container_mkspj_22",
17
+ "container-open": "_container-open_17kql_18",
18
+ "input-container": "_input-container_17kql_22",
19
19
  full: ke,
20
- "selected-icon": "_selected-icon_mkspj_31",
21
- "selector-icon-open": "_selector-icon-open_mkspj_35",
22
- button: be,
23
- "selector-icon": "_selector-icon_mkspj_35",
24
- options: je,
25
- top: ge,
20
+ "selected-icon": "_selected-icon_17kql_31",
21
+ "selector-icon-open": "_selector-icon-open_17kql_35",
22
+ button: qe,
23
+ "selector-icon": "_selector-icon_17kql_35",
24
+ options: ge,
25
+ top: be,
26
26
  bottom: ve,
27
- "no-options": "_no-options_mkspj_90",
28
- m: Ie,
29
- l: Ne,
30
- "multi-select-input-disabled": "_multi-select-input-disabled_mkspj_126",
31
- "multi-select-input": "_multi-select-input_mkspj_126",
27
+ "no-options": "_no-options_17kql_90",
28
+ m: Ne,
29
+ l: Ie,
30
+ "multi-select-input-disabled": "_multi-select-input-disabled_17kql_126",
31
+ "multi-select-input": "_multi-select-input_17kql_126",
32
32
  focused: we,
33
33
  option: Ce,
34
- "option-active": "_option-active_mkspj_148",
35
- "option-inner": "_option-inner_mkspj_151",
36
- "chip-container": "_chip-container_mkspj_158",
37
- "right-slot": "_right-slot_mkspj_165",
38
- "required-mark": "_required-mark_mkspj_170",
39
- clear: Se,
40
- "icon-button": "_icon-button_mkspj_184"
41
- }, Re = se(
42
- (H, K) => {
34
+ "option-active": "_option-active_17kql_148",
35
+ "option-inner": "_option-inner_17kql_151",
36
+ chip: Se,
37
+ "chip-container": "_chip-container_17kql_163",
38
+ "chip-root": "_chip-root_17kql_169",
39
+ "right-slot": "_right-slot_17kql_173",
40
+ "required-mark": "_required-mark_17kql_178",
41
+ clear: Me,
42
+ "icon-button": "_icon-button_17kql_192"
43
+ }, Fe = se(
44
+ (H, J) => {
43
45
  const {
44
46
  placeholder: x,
45
47
  size: i = M.L,
46
- value: c,
48
+ value: a,
47
49
  onChange: s,
48
- full: U,
49
- showArrow: J = !0,
50
+ full: K,
51
+ showArrow: U = !0,
50
52
  items: m = [],
51
53
  classNameOption: Q,
52
- displayValue: p = "name",
53
- filterOnSearch: D = !0,
54
+ displayValue: d = "name",
55
+ filterOnSearch: y = !0,
54
56
  onSearch: v,
55
- variant: z = ue.DefaultGray,
56
- menuPlacement: I = "bottom",
57
- disabled: l = !1,
58
- searchProps: y,
59
- withClearButton: N = !1,
57
+ variant: D = de.DefaultGray,
58
+ menuPlacement: N = "bottom",
59
+ disabled: r = !1,
60
+ searchProps: z,
61
+ withClearButton: I = !1,
60
62
  withChip: X = !1,
61
63
  chipVariant: Y = "sapphire",
62
- disableInput: d = !1
63
- } = H, w = B(null), u = B(null), [g, _] = S(!1), [h, f] = S(
64
- () => R(c, p)
65
- ), [k, b] = S(
66
- c || []
64
+ disableInput: _ = !1
65
+ } = H, w = B(null), p = B(null), [b, h] = S(!1), [f, k] = S(
66
+ () => E(a, d)
67
+ ), [u, q] = S(
68
+ a || []
67
69
  );
68
- O(() => {
69
- c && (b(c), f(R(c, p)));
70
- }, [c, p]);
71
- const A = ie(() => {
70
+ R(() => {
71
+ a && (q(a), JSON.stringify(a) !== JSON.stringify(u) && k(E(a, d)));
72
+ }, [a, d, u]);
73
+ const O = ie(() => {
72
74
  var n;
73
- if (!D) return m;
74
- const t = ((n = h.split(",").pop()) == null ? void 0 : n.trim().toLowerCase()) ?? "";
75
+ if (!y) return m;
76
+ const t = ((n = f.split(",").pop()) == null ? void 0 : n.trim().toLowerCase()) ?? "";
75
77
  return m.filter(
76
- (a) => a.name.toLowerCase().includes(t)
78
+ (c) => c.name.toLowerCase().includes(t)
77
79
  );
78
- }, [D, m, h]), Z = (t) => {
79
- b(t), s == null || s(t);
80
- const n = F(t, p);
81
- f(n), _(!0), setTimeout(() => {
82
- if (u.current) {
83
- u.current.focus(), u.current.scrollLeft = u.current.scrollWidth;
84
- const a = n.length;
85
- u.current.setSelectionRange(a, a);
80
+ }, [y, m, f]), Z = (t) => {
81
+ q(t), s == null || s(t);
82
+ const n = P(t, d);
83
+ k(n), h(!0), setTimeout(() => {
84
+ if (p.current) {
85
+ p.current.focus(), p.current.scrollLeft = p.current.scrollWidth;
86
+ const c = n.length;
87
+ p.current.setSelectionRange(c, c);
86
88
  }
87
89
  }, 0);
88
- }, L = (t) => {
89
- if (d) return;
90
+ }, A = (t) => {
91
+ if (_) return;
90
92
  const n = t.target.value;
91
- f(n), v == null || v(n);
92
- const a = n.split(",").map((C) => C.trim()).filter(Boolean), V = m.filter(
93
- (C) => a.includes(C[p])
93
+ k(n), v == null || v(n);
94
+ const c = n.split(",").map((C) => C.trim()).filter(Boolean), T = m.filter(
95
+ (C) => c.includes(C[d])
94
96
  );
95
- b(V), s == null || s(V), _(!0);
97
+ q(T), s == null || s(T), h(!0);
96
98
  }, $ = (t) => {
97
- const n = k.filter(
98
- (a) => a.id !== t.id
99
+ const n = u.filter(
100
+ (c) => c.id !== t.id
99
101
  );
100
- b(n), s == null || s(n), f(F(n, p));
101
- }, T = () => _((t) => !t), ee = (t) => {
102
+ q(n), s == null || s(n), k(P(n, d));
103
+ }, L = () => h((t) => !t), ee = (t) => {
102
104
  t.preventDefault(), t.currentTarget.focus();
103
105
  const n = t.currentTarget.value.length;
104
106
  t.currentTarget.setSelectionRange(n, n);
105
107
  }, te = () => {
106
- f(""), b([]), s == null || s([]);
108
+ k(""), q([]), s == null || s([]);
107
109
  }, ne = (t) => {
108
110
  t.stopPropagation(), te();
109
111
  }, oe = (t) => {
110
- d && t.target.blur();
112
+ _ && t.target.blur();
111
113
  };
112
- return O(() => {
114
+ return R(() => {
113
115
  const t = (n) => {
114
- w.current && !w.current.contains(n.target) && !n.defaultPrevented && _(!1);
116
+ w.current && !w.current.contains(n.target) && !n.defaultPrevented && h(!1);
115
117
  };
116
118
  return document.addEventListener("mousedown", t), () => {
117
119
  document.removeEventListener("mousedown", t);
118
120
  };
119
- }, []), /* @__PURE__ */ j("div", { ref: w, children: [
121
+ }, []), /* @__PURE__ */ g("div", { ref: w, children: [
120
122
  /* @__PURE__ */ o(
121
- me,
123
+ pe,
122
124
  {
123
125
  multiple: !0,
124
126
  as: "div",
125
- value: k,
126
- className: r(e["multi-select-search"], {
127
- [e.full]: U,
128
- [e.disabled]: l
127
+ value: u,
128
+ className: l(e["multi-select-search"], {
129
+ [e.full]: K,
130
+ [e.disabled]: r
129
131
  }),
130
132
  onChange: Z,
131
- ref: K,
132
- disabled: l,
133
- virtual: { options: A },
134
- children: /* @__PURE__ */ j(
133
+ ref: J,
134
+ disabled: r,
135
+ virtual: { options: O },
136
+ children: /* @__PURE__ */ g(
135
137
  "div",
136
138
  {
137
- className: r(e.container, e[i], {
138
- [e["container-open"]]: g
139
+ className: l(e.container, e[i], {
140
+ [e["container-open"]]: b
139
141
  }),
140
142
  children: [
141
- d && /* @__PURE__ */ j("div", { className: e["input-container"], children: [
143
+ _ && /* @__PURE__ */ g("div", { className: e["input-container"], children: [
142
144
  /* @__PURE__ */ o(
143
145
  G,
144
146
  {
145
- disabled: l,
147
+ disabled: r,
146
148
  style: { width: "100%" },
147
- onClick: T,
149
+ onClick: L,
148
150
  children: /* @__PURE__ */ o(
149
151
  W,
150
152
  {
151
- as: P,
153
+ as: j,
152
154
  label: x,
153
- size: E(i),
154
- className: r(e["multi-select-input"], {
155
- [e["multi-select-input-disabled"]]: d && N
155
+ size: F(i),
156
+ className: l(e["multi-select-input"], {
157
+ [e["multi-select-input-disabled"]]: _ && I
156
158
  }),
157
- onChange: L,
158
- value: h,
159
- disabled: l,
160
- variant: z,
159
+ onChange: A,
160
+ value: f,
161
+ disabled: r,
162
+ variant: D,
161
163
  rightSlotClassName: e["right-slot"],
162
164
  requiredMarkClassName: e["required-mark"],
163
165
  "data-testid": "select-search-input",
164
166
  onFocus: oe,
165
167
  rightAddon: {
166
168
  addonType: "icon",
167
- addonContent: re(g, i)
169
+ addonContent: le(b, i)
168
170
  },
169
- ...y
171
+ ...z
170
172
  }
171
173
  )
172
174
  }
173
175
  ),
174
- N && h && /* @__PURE__ */ o(
175
- ae,
176
+ I && f && /* @__PURE__ */ o(
177
+ ce,
176
178
  {
177
179
  tabIndex: -1,
178
- className: r(e.clear, {
179
- [e.disabled]: l
180
+ className: l(e.clear, {
181
+ [e.disabled]: r
180
182
  }),
181
183
  iconButtonClassName: e["icon-button"],
182
184
  isIconButton: !0,
183
185
  iconName: "Close16px",
184
186
  size: "m-s",
185
187
  clear: !0,
186
- disabled: l,
188
+ disabled: r,
187
189
  variant: "secondary-gray",
188
190
  onClick: ne,
189
191
  "data-testid": "clear-button"
190
192
  }
191
193
  )
192
194
  ] }),
193
- !d && /* @__PURE__ */ o(
195
+ !_ && /* @__PURE__ */ o(
194
196
  W,
195
197
  {
196
- as: P,
198
+ as: j,
197
199
  label: x,
198
- size: E(i),
200
+ size: F(i),
199
201
  className: e["multi-select-input"],
200
202
  rightSlotClassName: e["right-slot"],
201
203
  requiredMarkClassName: e["required-mark"],
202
- value: h,
203
- disabled: l,
204
- variant: z,
205
- withClearButton: N,
206
- onFocus: () => _(!0),
204
+ value: f,
205
+ disabled: r,
206
+ variant: D,
207
+ withClearButton: I,
208
+ onFocus: () => h(!0),
207
209
  onMouseDown: ee,
208
- onChange: L,
209
- ref: u,
210
+ onChange: A,
211
+ ref: p,
210
212
  rightAddon: {
211
213
  addonType: "react-node",
212
- addonContent: J && /* @__PURE__ */ o(
214
+ addonContent: U && /* @__PURE__ */ o(
213
215
  G,
214
216
  {
215
- className: r(e.button, {
216
- [e.disabled]: l
217
+ className: l(e.button, {
218
+ [e.disabled]: r
217
219
  }),
218
- disabled: l,
219
- onMouseDown: T,
220
+ disabled: r,
221
+ onMouseDown: L,
220
222
  children: /* @__PURE__ */ o(
221
- le,
223
+ re,
222
224
  {
223
225
  iconName: i == M.M ? "DropdownArrowBottom16px" : "DropdownArrowDown24px",
224
- className: r(e["selector-icon"], {
225
- [e["selector-icon-open"]]: g
226
+ className: l(e["selector-icon"], {
227
+ [e["selector-icon-open"]]: b
226
228
  })
227
229
  }
228
230
  )
@@ -230,16 +232,16 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
230
232
  )
231
233
  },
232
234
  "data-testid": "select-search-input",
233
- ...y
235
+ ...z
234
236
  }
235
237
  ),
236
- g && /* @__PURE__ */ o(q, { children: m.length ? A.length ? /* @__PURE__ */ o(
237
- de,
238
+ b && /* @__PURE__ */ o(V, { children: m.length ? O.length ? /* @__PURE__ */ o(
239
+ me,
238
240
  {
239
- className: r(
241
+ className: l(
240
242
  e.options,
241
243
  e[i],
242
- e[I]
244
+ e[N]
243
245
  ),
244
246
  modal: !1,
245
247
  static: !0,
@@ -247,7 +249,7 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
247
249
  _e,
248
250
  {
249
251
  value: t,
250
- className: ({ focus: n }) => r(
252
+ className: ({ focus: n }) => l(
251
253
  e.option,
252
254
  Q,
253
255
  i && e[i],
@@ -255,16 +257,16 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
255
257
  [e["option-active"]]: n
256
258
  }
257
259
  ),
258
- children: /* @__PURE__ */ j(q, { children: [
259
- /* @__PURE__ */ j("div", { className: e["option-inner"], children: [
260
+ children: /* @__PURE__ */ g(V, { children: [
261
+ /* @__PURE__ */ g("div", { className: e["option-inner"], children: [
260
262
  t.name,
261
263
  t.bottom && /* @__PURE__ */ o("div", { children: t.bottom })
262
264
  ] }),
263
265
  /* @__PURE__ */ o(
264
- ce,
266
+ ae,
265
267
  {
266
268
  isInteractive: !1,
267
- checked: k.some(
269
+ checked: u.some(
268
270
  (n) => n.id === t.id
269
271
  )
270
272
  }
@@ -277,22 +279,22 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
277
279
  ) : /* @__PURE__ */ o(
278
280
  "div",
279
281
  {
280
- className: r(
282
+ className: l(
281
283
  e.options,
282
284
  e[i],
283
285
  e["no-options"],
284
- e[I]
286
+ e[N]
285
287
  ),
286
288
  children: "Ничего не найдено"
287
289
  }
288
290
  ) : /* @__PURE__ */ o(
289
291
  "div",
290
292
  {
291
- className: r(
293
+ className: l(
292
294
  e.options,
293
295
  e[i],
294
296
  e["no-options"],
295
- e[I]
297
+ e[N]
296
298
  ),
297
299
  children: "Нет данных"
298
300
  }
@@ -302,15 +304,15 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
302
304
  )
303
305
  }
304
306
  ),
305
- X && k.length > 0 && /* @__PURE__ */ o("div", { className: e["chip-container"], children: k.map((t) => /* @__PURE__ */ o(
306
- pe,
307
+ X && u.length > 0 && /* @__PURE__ */ o("div", { className: e["chip-container"], children: u.map((t) => /* @__PURE__ */ o(
308
+ ue,
307
309
  {
308
310
  size: i === M.L ? "s" : "xs",
309
311
  variant: Y,
310
- className: e.chip,
312
+ className: e["chip-root"],
311
313
  withAction: !0,
312
314
  onClose: () => $(t),
313
- children: t.name
315
+ children: /* @__PURE__ */ o("span", { className: e.chip, children: t.name })
314
316
  },
315
317
  t.id
316
318
  )) })
@@ -318,5 +320,5 @@ import '../../assets/MultiSelectSearch.css';const he = "_disabled_mkspj_5", fe =
318
320
  }
319
321
  );
320
322
  export {
321
- Re as MultiSelectSearch
323
+ Fe as MultiSelectSearch
322
324
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.36.3",
4
+ "version": "1.36.4",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {