mimir-ui-kit 1.37.13 → 1.37.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- ._select-search_1f5f7_2{position:relative}._select-search_1f5f7_2._disabled_1f5f7_5{cursor:not-allowed}._container_1f5f7_9{position:relative;z-index:1;display:block;gap:var(--mimir-select-search-gap);align-items:center;justify-content:space-between;height:var(--mimir-select-search-height);background-color:var(--black-5);border-radius:var(--mimir-select-search-radius)}._container-open_1f5f7_20{border-bottom:1px solid var(--citrine-100)}._full_1f5f7_24{width:100%}._selected-icon_1f5f7_28 path{fill:var(--sapphire-100)}._selector-icon-open_1f5f7_32{transform:rotate(180deg)}._button_1f5f7_36{display:flex;align-items:center;background:none;border:none;cursor:pointer}._button_1f5f7_36._disabled_1f5f7_5{cursor:not-allowed}._button_1f5f7_36._disabled_1f5f7_5 ._selector-icon_1f5f7_32 path{fill:var(--white)}._options_1f5f7_50{position:absolute;z-index:0;width:100%;min-height:100%;max-height:var(--mimir-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_1f5f7_50._top_1f5f7_61{bottom:90%;margin-bottom:1px;padding-bottom:5px;border-radius:var(--mimir-select-search-radius) var(--mimir-select-search-radius) 0 0}._options_1f5f7_50._bottom_1f5f7_67{top:90%;margin-top:1px;padding-top:5px;border-radius:0 0 var(--mimir-select-search-radius) var(--mimir-select-search-radius)}._options_1f5f7_50::-webkit-scrollbar{width:3px}._options_1f5f7_50::-webkit-scrollbar-thumb{background-color:var(--black-80);border-radius:var(--mimir-control-radius-xs2)}._options_1f5f7_50::-webkit-scrollbar-track{background-color:var(--white)}@media (max-width: 600px){._options_1f5f7_50{max-height:var(--mimir-select-search-options-height-mobile)}}._no-options_1f5f7_89{height:100%;padding:var(--mimir-select-search-option-space);color:var(--black-80)}._m_1f5f7_95{--mimir-select-search-height: var(--mimir-select-search-height-l);--mimir-select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--mimir-select-search-radius: var(--mimir-control-radius);--mimir-select-search-gap: var(--mimir-space-2xs);--mimir-select-search-btn-space: var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-xs);--mimir-select-search-option-space: var(--mimir-space-2s) var(--mimir-space-m);--mimir-select-search-options-height: var( --mimir-select-search-options-height-mobile );--clear-right: var(--mimir-space-2xxl);--select-input-disabled-margin-right: var(--mimir-space-l)}._l_1f5f7_110{--mimir-select-search-height: var(--mimir-select-search-height-xxl);--mimir-select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--mimir-select-search-radius: var(--mimir-control-radius-s);--mimir-select-search-gap: var(--mimir-space-xs);--mimir-select-search-btn-space: var(--mimir-space-l) var(--mimir-space-m) var(--mimir-space-l) var(--mimir-space-xs);--mimir-select-search-option-space: var(--mimir-space-2l) var(--mimir-space-m);--mimir-select-search-options-height: var( --mimir-select-search-options-height-desktop );--clear-right: var(--mimir-space-4xl);--select-input-disabled-margin-right: var(--mimir-space-1xl)}._select-input_1f5f7_125{width:100%!important}._select-input-disabled_1f5f7_128{margin-right:var(--select-input-disabled-margin-right)}._select-input_1f5f7_125:last-child{padding-right:var(--mimir-space-4xl)}._option_1f5f7_50{display:flex;gap:var(--mimir-space-m);align-items:center;width:100%;padding:var(--mimir-select-search-option-space);cursor:pointer;transition:background-color .2s ease-in-out}._option-active_1f5f7_144{background-color:var(--black-5)}._option-inner_1f5f7_147{display:flex;flex-direction:column;gap:var(--mimir-space-xs);width:100%}._right-slot_1f5f7_154{order:2;padding-top:0!important}._required-mark_1f5f7_159{order:1;margin-right:var(--mimir-space-xs)}._clear_1f5f7_164{position:absolute;top:50%;right:var(--clear-right);transform:translateY(-50%)}._clear_1f5f7_164._disabled_1f5f7_5{cursor:not-allowed}._clear_1f5f7_164._disabled_1f5f7_5 ._icon-button_1f5f7_173 path{fill:var(--white)}
1
+ ._select-search_1y27d_2{position:relative}._select-search_1y27d_2._disabled_1y27d_5{cursor:not-allowed}._container_1y27d_9{position:relative;z-index:1;display:block;gap:var(--mimir-select-search-gap);align-items:center;justify-content:space-between;height:var(--mimir-select-search-height);background-color:var(--black-5);border-radius:var(--mimir-select-search-radius)}._container-open_1y27d_20{border-bottom:1px solid var(--citrine-100)}._full_1y27d_24{width:100%}._selected-icon_1y27d_28 path{fill:var(--sapphire-100)}._selector-icon-open_1y27d_32{transform:rotate(180deg)}._button_1y27d_36{display:flex;align-items:center;background:none;border:none;cursor:pointer}._button_1y27d_36._disabled_1y27d_5{cursor:not-allowed}._button_1y27d_36._disabled_1y27d_5 ._selector-icon_1y27d_32 path{fill:var(--white)}._options_1y27d_50{position:absolute;z-index:0;width:100%;min-height:100%;max-height:var(--mimir-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_1y27d_50._top_1y27d_61{bottom:90%;margin-bottom:1px;padding-bottom:5px;border-radius:var(--mimir-select-search-radius) var(--mimir-select-search-radius) 0 0}._options_1y27d_50._bottom_1y27d_67{top:90%;margin-top:1px;padding-top:5px;border-radius:0 0 var(--mimir-select-search-radius) var(--mimir-select-search-radius)}._options_1y27d_50._no-options_1y27d_73{height:100%;padding:var(--mimir-select-search-option-space);color:var(--black-80)}._options_1y27d_50::-webkit-scrollbar{width:3px}._options_1y27d_50::-webkit-scrollbar-thumb{background-color:var(--black-80);border-radius:var(--mimir-control-radius-xs2)}._options_1y27d_50::-webkit-scrollbar-track{background-color:var(--white)}@media (max-width: 600px){._options_1y27d_50{max-height:var(--mimir-select-search-options-height-mobile)}}._m_1y27d_94{--mimir-select-search-height: var(--mimir-select-search-height-l);--mimir-select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--mimir-select-search-radius: var(--mimir-control-radius);--mimir-select-search-gap: var(--mimir-space-2xs);--mimir-select-search-btn-space: var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-m) var(--mimir-space-xs);--mimir-select-search-option-space: var(--mimir-space-2s) var(--mimir-space-m);--mimir-select-search-options-height: var( --mimir-select-search-options-height-mobile );--clear-right: var(--mimir-space-2xxl);--select-input-disabled-margin-right: var(--mimir-space-l)}._l_1y27d_109{--mimir-select-search-height: var(--mimir-select-search-height-xxl);--mimir-select-search-space: var(--mimir-space-xss) var(--mimir-space-m);--mimir-select-search-radius: var(--mimir-control-radius-s);--mimir-select-search-gap: var(--mimir-space-xs);--mimir-select-search-btn-space: var(--mimir-space-l) var(--mimir-space-m) var(--mimir-space-l) var(--mimir-space-xs);--mimir-select-search-option-space: var(--mimir-space-2l) var(--mimir-space-m);--mimir-select-search-options-height: var( --mimir-select-search-options-height-desktop );--clear-right: var(--mimir-space-4xl);--select-input-disabled-margin-right: var(--mimir-space-1xl)}._select-input_1y27d_124{width:100%!important}._select-input-disabled_1y27d_127{margin-right:var(--select-input-disabled-margin-right)}._select-input_1y27d_124:last-child{padding-right:var(--mimir-space-4xl)}._option_1y27d_50{display:flex;gap:var(--mimir-space-m);align-items:center;width:100%;padding:var(--mimir-select-search-option-space);cursor:pointer;transition:background-color .2s ease-in-out}._option-active_1y27d_143{background-color:var(--black-5)}._option-inner_1y27d_146{display:flex;flex-direction:column;gap:var(--mimir-space-xs);width:100%}._right-slot_1y27d_153{order:2;padding-top:0!important}._required-mark_1y27d_158{order:1;margin-right:var(--mimir-space-xs)}._clear_1y27d_163{position:absolute;top:50%;right:var(--clear-right);transform:translateY(-50%)}._clear_1y27d_163._disabled_1y27d_5{cursor:not-allowed}._clear_1y27d_163._disabled_1y27d_5 ._icon-button_1y27d_172 path{fill:var(--white)}
@@ -1,64 +1,60 @@
1
- import { jsxs as O, jsx as x } from "react/jsx-runtime";
2
- import { W as V, p as W, o as m, $ as X, b as q, D as z, H as J, c as y } from "../../keyboard-mgWkd2Vh.js";
3
- import $, { useId as Q, useState as F, useMemo as Y, useCallback as Z, forwardRef as ee, useEffect as ae } from "react";
1
+ import { jsxs as L, jsx as p } from "react/jsx-runtime";
2
+ import { W as O, p as V, o as d, $ as W, b as X, D as q, H as z, c as D } from "../../keyboard-mgWkd2Vh.js";
3
+ import h, { useId as J, useState as Q, useMemo as Y, useCallback as Z, forwardRef as ee } from "react";
4
4
  import { w as re } from "../../use-active-press-CqLGIFz7.js";
5
- import { u as oe, a as te, b as ce, T as se, I as ne, G as ie, j as de, p as le, K as be } from "../../label-D4GFpe5F.js";
6
- import { r as ue } from "../../bugs-diTMAGNw.js";
7
- import { H as fe } from "../../field-C1kt7aNM.js";
5
+ import { u as ae, a as oe, b as te, T as ce, I as ne, G as se, j as ie, p as le, K as de } from "../../label-D4GFpe5F.js";
6
+ import { r as be } from "../../bugs-diTMAGNw.js";
7
+ import { H as ue } from "../../field-C1kt7aNM.js";
8
8
  import { c as me } from "../../index-DIxK0V-G.js";
9
- import { Icon as pe } from "../../icons/Icon.js";
10
- import '../../assets/CheckboxMimir.css';let he = "span";
11
- function ke(h, k) {
12
- let r = Q(), o = oe(), d = te(), { id: l = o || `headlessui-checkbox-${r}`, disabled: e = d || !1, autoFocus: t = !1, checked: b, defaultChecked: u, onChange: v, name: c, value: E, form: I, indeterminate: f = !1, ...H } = h, s = ce(u), [n, i] = se(b, v, s ?? !1), N = ne(), R = ie(), K = W(), [_, g] = F(!1), C = m(() => {
13
- g(!0), i == null || i(!n), K.nextFrame(() => {
14
- g(!1);
9
+ import { Icon as fe } from "../../icons/Icon.js";
10
+ import '../../assets/CheckboxMimir.css';let pe = "span";
11
+ function he(u, m) {
12
+ let n = J(), f = ae(), s = oe(), { id: i = f || `headlessui-checkbox-${n}`, disabled: e = s || !1, autoFocus: a = !1, checked: P, defaultChecked: j, onChange: y, name: v, value: F, form: I, indeterminate: l = !1, ...H } = u, o = te(j), [t, c] = ce(P, y, o ?? !1), N = ne(), R = se(), E = V(), [k, x] = Q(!1), $ = d(() => {
13
+ x(!0), c == null || c(!t), E.nextFrame(() => {
14
+ x(!1);
15
15
  });
16
- }), T = m((a) => {
17
- if (ue(a.currentTarget)) return a.preventDefault();
18
- a.preventDefault(), C();
19
- }), M = m((a) => {
20
- a.key === y.Space ? (a.preventDefault(), C()) : a.key === y.Enter && le(a.currentTarget);
21
- }), w = m((a) => a.preventDefault()), { isFocusVisible: D, focusProps: G } = X({ autoFocus: t }), { isHovered: P, hoverProps: S } = q({ isDisabled: e }), { pressed: j, pressProps: U } = re({ disabled: e }), A = z({ ref: k, id: l, role: "checkbox", "aria-checked": f ? "mixed" : n ? "true" : "false", "aria-labelledby": N, "aria-describedby": R, "aria-disabled": e ? !0 : void 0, indeterminate: f ? "true" : void 0, tabIndex: e ? void 0 : 0, onKeyUp: e ? void 0 : M, onKeyPress: e ? void 0 : w, onClick: e ? void 0 : T }, G, S, U), B = Y(() => ({ checked: n, disabled: e, hover: P, focus: D, active: j, indeterminate: f, changing: _, autofocus: t }), [n, f, e, P, D, j, _, t]), L = Z(() => {
22
- if (s !== void 0) return i == null ? void 0 : i(s);
23
- }, [i, s]);
24
- return $.createElement($.Fragment, null, c != null && $.createElement(de, { disabled: e, data: { [c]: E || "on" }, overrides: { type: "checkbox", checked: n }, form: I, onReset: L }), J({ ourProps: A, theirProps: H, slot: B, defaultTag: he, name: "Checkbox" }));
16
+ }), K = d((r) => {
17
+ if (be(r.currentTarget)) return r.preventDefault();
18
+ r.preventDefault(), $();
19
+ }), T = d((r) => {
20
+ r.key === D.Space ? (r.preventDefault(), $()) : r.key === D.Enter && le(r.currentTarget);
21
+ }), M = d((r) => r.preventDefault()), { isFocusVisible: _, focusProps: w } = W({ autoFocus: a }), { isHovered: g, hoverProps: G } = X({ isDisabled: e }), { pressed: C, pressProps: S } = re({ disabled: e }), U = q({ ref: m, id: i, role: "checkbox", "aria-checked": l ? "mixed" : t ? "true" : "false", "aria-labelledby": N, "aria-describedby": R, "aria-disabled": e ? !0 : void 0, indeterminate: l ? "true" : void 0, tabIndex: e ? void 0 : 0, onKeyUp: e ? void 0 : T, onKeyPress: e ? void 0 : M, onClick: e ? void 0 : K }, w, G, S), A = Y(() => ({ checked: t, disabled: e, hover: g, focus: _, active: C, indeterminate: l, changing: k, autofocus: a }), [t, l, e, g, _, C, k, a]), B = Z(() => {
22
+ if (o !== void 0) return c == null ? void 0 : c(o);
23
+ }, [c, o]);
24
+ return h.createElement(h.Fragment, null, v != null && h.createElement(ie, { disabled: e, data: { [v]: F || "on" }, overrides: { type: "checkbox", checked: t }, form: I, onReset: B }), z({ ourProps: U, theirProps: H, slot: A, defaultTag: pe, name: "Checkbox" }));
25
25
  }
26
- let ve = V(ke);
27
- const xe = "_container_13bjb_2", $e = "_checkbox_13bjb_8", _e = "_label_13bjb_27", ge = "_enabled_13bjb_31", p = {
28
- container: xe,
29
- checkbox: $e,
30
- label: _e,
31
- enabled: ge
26
+ let ve = O(he);
27
+ const ke = "_container_13bjb_2", xe = "_checkbox_13bjb_8", $e = "_label_13bjb_27", _e = "_enabled_13bjb_31", b = {
28
+ container: ke,
29
+ checkbox: xe,
30
+ label: $e,
31
+ enabled: _e
32
32
  }, Ne = ee(
33
- (h, k) => {
33
+ (u, m) => {
34
34
  const {
35
- checked: r,
36
- onChange: o,
37
- children: d,
38
- id: l,
35
+ checked: n,
36
+ onChange: f,
37
+ children: s,
38
+ id: i,
39
39
  isInteractive: e = !0,
40
- ...t
41
- } = h, [b, u] = F(r), v = (c) => {
42
- e && (u(c), o == null || o(c));
43
- };
44
- return ae(() => {
45
- r !== void 0 && u(r);
46
- }, [r]), /* @__PURE__ */ O(fe, { className: p.container, children: [
47
- /* @__PURE__ */ x(
40
+ ...a
41
+ } = u;
42
+ return /* @__PURE__ */ L(ue, { className: b.container, children: [
43
+ /* @__PURE__ */ p(
48
44
  ve,
49
45
  {
50
- id: l,
51
- ref: k,
52
- checked: b,
53
- onChange: v,
54
- className: me(p.checkbox, {
55
- [p.enabled]: b
46
+ id: i,
47
+ ref: m,
48
+ checked: n,
49
+ onChange: e ? f : void 0,
50
+ className: me(b.checkbox, {
51
+ [b.enabled]: n
56
52
  }),
57
- ...t,
58
- children: /* @__PURE__ */ x(pe, { iconName: "Done16px" })
53
+ ...a,
54
+ children: /* @__PURE__ */ p(fe, { iconName: "Done16px" })
59
55
  }
60
56
  ),
61
- d && /* @__PURE__ */ x(be, { htmlFor: l, className: p.label, children: d })
57
+ s && /* @__PURE__ */ p(de, { htmlFor: i, className: b.label, children: s })
62
58
  ] });
63
59
  }
64
60
  );
@@ -1,82 +1,82 @@
1
- import { jsx as a, jsxs as m, Fragment as D } from "react/jsx-runtime";
1
+ import { jsx as a, jsxs as u, Fragment as D } from "react/jsx-runtime";
2
2
  import { c as l } from "../../index-DIxK0V-G.js";
3
3
  import { forwardRef as U, useState as j, useMemo as R, useCallback as $, useEffect as J } from "react";
4
- import { ESelectSearchSize as g } from "./constants.js";
4
+ import { ESelectSearchSize as v } from "./constants.js";
5
5
  import { mapSizeToInputSize as q, getDropdownArrowIcon as Q } from "./utils.js";
6
6
  import { Icon as A } from "../../icons/Icon.js";
7
7
  import { Button as W } from "../Button/Button.js";
8
8
  import { I as O } from "../../Input-BYrIS5GU.js";
9
9
  import { EInputVariant as X } from "../Input/constants.js";
10
10
  import { H as Y, U as B, G as M, K as Z, j as ee } from "../../combobox-BpYucpxz.js";
11
- import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_container_1f5f7_9", ne = "_full_1f5f7_24", se = "_button_1f5f7_36", ae = "_options_1f5f7_50", ie = "_top_1f5f7_61", le = "_bottom_1f5f7_67", re = "_m_1f5f7_95", ce = "_l_1f5f7_110", de = "_option_1f5f7_50", fe = "_clear_1f5f7_164", e = {
12
- "select-search": "_select-search_1f5f7_2",
11
+ import '../../assets/SelectSearch.css';const te = "_disabled_1y27d_5", oe = "_container_1y27d_9", ne = "_full_1y27d_24", se = "_button_1y27d_36", ae = "_options_1y27d_50", ie = "_top_1y27d_61", le = "_bottom_1y27d_67", re = "_m_1y27d_94", ce = "_l_1y27d_109", de = "_option_1y27d_50", pe = "_clear_1y27d_163", e = {
12
+ "select-search": "_select-search_1y27d_2",
13
13
  disabled: te,
14
14
  container: oe,
15
- "container-open": "_container-open_1f5f7_20",
15
+ "container-open": "_container-open_1y27d_20",
16
16
  full: ne,
17
- "selected-icon": "_selected-icon_1f5f7_28",
18
- "selector-icon-open": "_selector-icon-open_1f5f7_32",
17
+ "selected-icon": "_selected-icon_1y27d_28",
18
+ "selector-icon-open": "_selector-icon-open_1y27d_32",
19
19
  button: se,
20
- "selector-icon": "_selector-icon_1f5f7_32",
20
+ "selector-icon": "_selector-icon_1y27d_32",
21
21
  options: ae,
22
22
  top: ie,
23
23
  bottom: le,
24
- "no-options": "_no-options_1f5f7_89",
24
+ "no-options": "_no-options_1y27d_73",
25
25
  m: re,
26
26
  l: ce,
27
- "select-input": "_select-input_1f5f7_125",
28
- "select-input-disabled": "_select-input-disabled_1f5f7_128",
27
+ "select-input": "_select-input_1y27d_124",
28
+ "select-input-disabled": "_select-input-disabled_1y27d_127",
29
29
  option: de,
30
- "option-active": "_option-active_1f5f7_144",
31
- "option-inner": "_option-inner_1f5f7_147",
32
- "right-slot": "_right-slot_1f5f7_154",
33
- "required-mark": "_required-mark_1f5f7_159",
34
- clear: fe,
35
- "icon-button": "_icon-button_1f5f7_173"
36
- }, Ce = U(
30
+ "option-active": "_option-active_1y27d_143",
31
+ "option-inner": "_option-inner_1y27d_146",
32
+ "right-slot": "_right-slot_1y27d_153",
33
+ "required-mark": "_required-mark_1y27d_158",
34
+ clear: pe,
35
+ "icon-button": "_icon-button_1y27d_172"
36
+ }, we = U(
37
37
  (E, L) => {
38
38
  const {
39
- placeholder: w,
40
- size: i = g.L,
39
+ placeholder: g,
40
+ size: i = v.L,
41
41
  value: n,
42
42
  onChange: s,
43
43
  full: V,
44
- showArrow: C = !0,
45
- items: f = [],
44
+ showArrow: w = !0,
45
+ items: p = [],
46
46
  classNameOption: F,
47
47
  displayValue: G = "name",
48
- filterOnSearch: I = !0,
49
- onSearch: u,
50
- variant: S = X.DefaultGray,
51
- menuPlacement: h = "bottom",
48
+ filterOnSearch: C = !0,
49
+ onSearch: _,
50
+ variant: I = X.DefaultGray,
51
+ menuPlacement: y = "bottom",
52
52
  disabled: r = !1,
53
- searchProps: y,
54
- withClearButton: b = !1,
53
+ searchProps: S,
54
+ withClearButton: f = !1,
55
55
  disableInput: c = !1,
56
56
  autocomplete: k = "on",
57
57
  immediate: P = !1
58
- } = E, N = String((n == null ? void 0 : n[G]) || ""), [d, p] = j(N), [v, _] = j(n), x = R(() => !I || n && (n.id || n.name) ? f : d.trim().toLowerCase() ? f.filter(
58
+ } = E, b = String((n == null ? void 0 : n[G]) || ""), [d, m] = j(b), [N, h] = j(n), x = R(() => !C || n && (n.id || n.name) ? p : d.trim().toLowerCase() ? p.filter(
59
59
  (o) => o.name.toLowerCase().includes(d.toLowerCase())
60
- ) : f, [d, f, n, I]), T = (o) => {
61
- o ? (p(o.name), _(o), s == null || s(o)) : (p(""), _(null), s == null || s({ id: "", name: "" }));
60
+ ) : p, [d, p, n, C]), T = (o) => {
61
+ o ? (m(o.name), h(o), s == null || s(o)) : (m(""), h(null), s == null || s({ id: "", name: "" }));
62
62
  }, z = $(
63
63
  (o) => {
64
64
  if (c) return;
65
65
  const t = o.target.value;
66
- p(t), u == null || u(t), !t && n && (s == null || s({ id: "", name: "" }));
66
+ m(t), _ == null || _(t), !t && n && (s == null || s({ id: "", name: "" }));
67
67
  },
68
- [c, s, u, n]
68
+ [c, s, _, n]
69
69
  ), H = () => {
70
- p(""), _(null), s == null || s({ id: "", name: "" });
70
+ m(""), h(null), s == null || s({ id: "", name: "" });
71
71
  };
72
72
  return J(() => {
73
73
  const o = !n || typeof n == "object" && !Object.keys(n).length;
74
- p(o ? "" : N), _(o ? null : n);
75
- }, [n, N]), /* @__PURE__ */ a(
74
+ m(o ? "" : b), h(o ? null : n);
75
+ }, [n, b]), /* @__PURE__ */ a(
76
76
  Y,
77
77
  {
78
78
  as: "div",
79
- value: v,
79
+ value: N,
80
80
  className: l(e["select-search"], {
81
81
  [e.full]: V,
82
82
  [e.disabled]: r
@@ -86,28 +86,28 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
86
86
  disabled: r,
87
87
  virtual: { options: x },
88
88
  immediate: P,
89
- children: ({ open: o }) => /* @__PURE__ */ m(D, { children: [
90
- /* @__PURE__ */ m(
89
+ children: ({ open: o }) => /* @__PURE__ */ u(D, { children: [
90
+ /* @__PURE__ */ u(
91
91
  "div",
92
92
  {
93
93
  className: l(e.container, e[i], {
94
94
  [e["container-open"]]: o
95
95
  }),
96
96
  children: [
97
- c && /* @__PURE__ */ m("div", { style: { position: "relative", width: "100%" }, children: [
97
+ c && /* @__PURE__ */ u("div", { style: { position: "relative", width: "100%" }, children: [
98
98
  /* @__PURE__ */ a(B, { disabled: r, style: { width: "100%" }, children: /* @__PURE__ */ a(
99
99
  M,
100
100
  {
101
101
  as: O,
102
- label: w,
102
+ label: g,
103
103
  size: q(i),
104
104
  className: l(e["select-input"], {
105
- [e["select-input-disabled"]]: c && b
105
+ [e["select-input-disabled"]]: c && f
106
106
  }),
107
107
  onChange: z,
108
108
  value: d,
109
109
  disabled: r,
110
- variant: S,
110
+ variant: I,
111
111
  rightSlotClassName: e["right-slot"],
112
112
  requiredMarkClassName: e["required-mark"],
113
113
  "data-testid": "select-search-input",
@@ -119,10 +119,10 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
119
119
  addonContent: Q(o, i)
120
120
  },
121
121
  autocomplete: k,
122
- ...y
122
+ ...S
123
123
  }
124
124
  ) }),
125
- b && d && /* @__PURE__ */ a(
125
+ f && d && /* @__PURE__ */ a(
126
126
  W,
127
127
  {
128
128
  tabIndex: -1,
@@ -147,20 +147,20 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
147
147
  M,
148
148
  {
149
149
  as: O,
150
- label: w,
150
+ label: g,
151
151
  size: q(i),
152
152
  className: e["select-input"],
153
153
  onChange: z,
154
154
  value: d,
155
155
  disabled: r,
156
- variant: S,
157
- withClearButton: b,
156
+ variant: I,
157
+ withClearButton: f,
158
158
  rightSlotClassName: e["right-slot"],
159
159
  requiredMarkClassName: e["required-mark"],
160
160
  "data-testid": "select-search-input",
161
- rightAddon: C ? {
161
+ rightAddon: w ? {
162
162
  addonType: "react-node",
163
- addonContent: C && /* @__PURE__ */ a(
163
+ addonContent: w && /* @__PURE__ */ a(
164
164
  B,
165
165
  {
166
166
  className: l(e.button, {
@@ -170,7 +170,7 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
170
170
  children: /* @__PURE__ */ a(
171
171
  A,
172
172
  {
173
- iconName: i == g.M ? "DropdownArrowBottom16px" : "DropdownArrowDown24px",
173
+ iconName: i == v.M ? "DropdownArrowBottom16px" : "DropdownArrowDown24px",
174
174
  className: l(e["selector-icon"], {
175
175
  [e["selector-icon-open"]]: o
176
176
  })
@@ -183,22 +183,22 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
183
183
  c && t.target.blur();
184
184
  },
185
185
  autocomplete: k,
186
- ...y
186
+ ...S
187
187
  }
188
188
  )
189
189
  ]
190
190
  }
191
191
  ),
192
- o && /* @__PURE__ */ a(D, { children: f.length ? x.length ? /* @__PURE__ */ a(
192
+ o && /* @__PURE__ */ a(D, { children: p.length ? x.length ? /* @__PURE__ */ a(
193
193
  Z,
194
194
  {
195
195
  "data-testid": "select-search-options",
196
196
  className: l(
197
197
  e.options,
198
198
  e[i],
199
- e[h]
199
+ e[y]
200
200
  ),
201
- children: ({ option: t }) => /* @__PURE__ */ m(
201
+ children: ({ option: t }) => /* @__PURE__ */ u(
202
202
  ee,
203
203
  {
204
204
  value: t,
@@ -212,14 +212,14 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
212
212
  ),
213
213
  "data-testid": `select-search-option-${t.id}`,
214
214
  children: [
215
- /* @__PURE__ */ m("div", { className: e["option-inner"], children: [
215
+ /* @__PURE__ */ u("div", { className: e["option-inner"], children: [
216
216
  t.name,
217
217
  t.bottom && /* @__PURE__ */ a("div", { children: t.bottom })
218
218
  ] }),
219
- v && v.id === t.id && /* @__PURE__ */ a(
219
+ N && N.id === t.id && /* @__PURE__ */ a(
220
220
  A,
221
221
  {
222
- iconName: i === g.M ? "Done16px" : "Done24px",
222
+ iconName: i === v.M ? "Done16px" : "Done24px",
223
223
  className: e["selected-icon"]
224
224
  }
225
225
  )
@@ -235,7 +235,7 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
235
235
  e.options,
236
236
  e[i],
237
237
  e["no-options"],
238
- e[h]
238
+ e[y]
239
239
  ),
240
240
  children: "Ничего не найдено"
241
241
  }
@@ -246,7 +246,7 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
246
246
  e.options,
247
247
  e[i],
248
248
  e["no-options"],
249
- e[h]
249
+ e[y]
250
250
  ),
251
251
  children: "Нет данных"
252
252
  }
@@ -257,5 +257,5 @@ import '../../assets/SelectSearch.css';const te = "_disabled_1f5f7_5", oe = "_co
257
257
  }
258
258
  );
259
259
  export {
260
- Ce as SelectSearch
260
+ we as SelectSearch
261
261
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.37.13",
4
+ "version": "1.37.15",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {