mimir-ui-kit 1.35.4 → 1.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. package/dist/{Input-B-gKQ9FT.js → Input-DlGNMuUD.js} +67 -64
  2. package/dist/assets/Input.css +1 -1
  3. package/dist/assets/ListPhotos.css +1 -1
  4. package/dist/assets/MultiSelectSearch.css +1 -0
  5. package/dist/assets/SelectSearch.css +1 -1
  6. package/dist/combobox-CDU06zJj.js +2855 -0
  7. package/dist/components/Accordion/Accordion.js +168 -166
  8. package/dist/components/Button/Button.d.ts +36 -0
  9. package/dist/components/Button/Button.js +44 -43
  10. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +2 -0
  11. package/dist/components/CheckboxMimir/CheckboxMimir.js +37 -30
  12. package/dist/components/Chip/Chip.d.ts +5 -1
  13. package/dist/components/Chip/Chip.js +23 -22
  14. package/dist/components/DatePicker/DatePicker.js +1 -1
  15. package/dist/components/Input/Input.js +1 -1
  16. package/dist/components/Input/index.js +1 -1
  17. package/dist/components/InputPassword/InputPassword.js +1 -1
  18. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +1 -1
  19. package/dist/components/ListPhotos/ListPhotos.js +4 -4
  20. package/dist/components/MultiSelectSearch/MultiSelectSearch.d.ts +22 -0
  21. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +318 -0
  22. package/dist/components/MultiSelectSearch/constants.d.ts +4 -0
  23. package/dist/components/MultiSelectSearch/constants.js +4 -0
  24. package/dist/components/MultiSelectSearch/index.d.ts +3 -0
  25. package/dist/components/MultiSelectSearch/index.js +6 -0
  26. package/dist/components/MultiSelectSearch/types.d.ts +60 -0
  27. package/dist/components/MultiSelectSearch/utils.d.ts +8 -0
  28. package/dist/components/MultiSelectSearch/utils.js +19 -0
  29. package/dist/components/OtpInput/OtpInput.js +1 -1
  30. package/dist/components/SelectSearch/SelectSearch.js +172 -3017
  31. package/dist/components/SelectSearch/utils.d.ts +5 -0
  32. package/dist/components/SelectSearch/utils.js +17 -0
  33. package/dist/components/Switcher/Switcher.js +48 -48
  34. package/dist/components/TabTrail/TabTrail.js +171 -171
  35. package/dist/components/TextArea/TextArea.js +1 -1
  36. package/dist/components/index.js +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/open-closed-CdldUPoq.js +86 -0
  39. package/dist/use-resolve-button-type-DhFdPxnv.js +12 -0
  40. package/package.json +3 -2
  41. package/dist/open-closed-Cy6VDfYc.js +0 -93
  42. package/dist/use-resolve-button-type-BAxjHhds.js +0 -19
@@ -1,12 +1,12 @@
1
- import { jsxs as N, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as B, jsx as l } from "react/jsx-runtime";
2
2
  import { c } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as B } from "react";
4
- import { EButtonVariantDefault as I, EButtonForm as k } from "./constants.js";
3
+ import { forwardRef as I } from "react";
4
+ import { EButtonVariantDefault as k, EButtonForm as C } from "./constants.js";
5
5
  import { Icon as j } from "../../icons/Icon.js";
6
- import '../../assets/Button.css';const C = "_button_1qnsv_2", D = "_clear_1qnsv_42", E = "_count_1qnsv_53", P = "_black_1qnsv_132", z = "_gray_1qnsv_141", F = "_white_1qnsv_150", R = "_xs_1qnsv_250", S = "_s_1qnsv_83", V = "_m_1qnsv_259", A = "_l_1qnsv_283", G = "_xl_1qnsv_291", H = "_xxl_1qnsv_299", J = "_full_1qnsv_314", K = "_disabled_1qnsv_320", s = {
7
- button: C,
8
- clear: D,
9
- count: E,
6
+ import '../../assets/Button.css';const D = "_button_1qnsv_2", E = "_clear_1qnsv_42", P = "_count_1qnsv_53", z = "_black_1qnsv_132", F = "_gray_1qnsv_141", R = "_white_1qnsv_150", S = "_xs_1qnsv_250", V = "_s_1qnsv_83", A = "_m_1qnsv_259", G = "_l_1qnsv_283", H = "_xl_1qnsv_291", J = "_xxl_1qnsv_299", K = "_full_1qnsv_314", L = "_disabled_1qnsv_320", s = {
7
+ button: D,
8
+ clear: E,
9
+ count: P,
10
10
  "default-button": "_default-button_1qnsv_61",
11
11
  "primary-sapphire": "_primary-sapphire_1qnsv_64",
12
12
  "primary-citrine": "_primary-citrine_1qnsv_73",
@@ -15,9 +15,9 @@ import '../../assets/Button.css';const C = "_button_1qnsv_2", D = "_clear_1qnsv_
15
15
  "secondary-white": "_secondary-white_1qnsv_101",
16
16
  "secondary-red": "_secondary-red_1qnsv_110",
17
17
  "round-button": "_round-button_1qnsv_120",
18
- black: P,
19
- gray: z,
20
- white: F,
18
+ black: z,
19
+ gray: F,
20
+ white: R,
21
21
  "outline-button": "_outline-button_1qnsv_160",
22
22
  "outline-asphalt": "_outline-asphalt_1qnsv_168",
23
23
  "outline-gray": "_outline-gray_1qnsv_176",
@@ -28,72 +28,73 @@ import '../../assets/Button.css';const C = "_button_1qnsv_2", D = "_clear_1qnsv_
28
28
  "borderless-gray": "_borderless-gray_1qnsv_216",
29
29
  "borderless-white": "_borderless-white_1qnsv_221",
30
30
  "borderless-red": "_borderless-red_1qnsv_226",
31
- xs: R,
31
+ xs: S,
32
32
  "m-s": "_m-s_1qnsv_259",
33
- s: S,
34
- m: V,
35
- l: A,
36
- xl: G,
37
- xxl: H,
38
- full: J,
39
- disabled: K,
33
+ s: V,
34
+ m: A,
35
+ l: G,
36
+ xl: H,
37
+ xxl: J,
38
+ full: K,
39
+ disabled: L,
40
40
  "icon-button": "_icon-button_1qnsv_341"
41
- }, L = B(
41
+ }, M = I(
42
42
  (i, u) => {
43
43
  const {
44
44
  size: o = "m",
45
- variant: d = I.PrimarySapphire,
46
- form: _ = k.DefaultButton,
45
+ variant: d = k.PrimarySapphire,
46
+ form: _ = C.DefaultButton,
47
47
  full: b,
48
48
  clear: n,
49
- isIconButton: r = !1,
50
- iconName: v,
51
- children: m,
49
+ isIconButton: e = !1,
50
+ iconName: m,
51
+ children: v,
52
52
  className: q,
53
- formId: p,
54
- type: y = "button",
55
- rightIcon: h,
56
- count: e,
57
- leftIcon: f,
53
+ iconButtonClassName: p,
54
+ formId: y,
55
+ type: h = "button",
56
+ rightIcon: f,
57
+ count: r,
58
+ leftIcon: x,
58
59
  disabled: t,
59
- ...x
60
+ ...g
60
61
  } = i, a = {
61
62
  [s.full]: b && !n,
62
63
  [s.disabled]: t && !n,
63
64
  [s.clear]: n,
64
65
  [s[d ?? ""]]: !t || n,
65
- [s["icon-button"]]: r
66
- }, g = c(
66
+ [s["icon-button"]]: e
67
+ }, w = c(
67
68
  q,
68
69
  s.button,
69
70
  a,
70
71
  n ? [] : [s[_ ?? ""], s[o]]
71
- ), w = c(
72
+ ), N = c(
72
73
  s.count,
73
74
  a,
74
75
  s[o],
75
76
  s[_ ?? ""]
76
77
  );
77
- return /* @__PURE__ */ N(
78
+ return /* @__PURE__ */ B(
78
79
  "button",
79
80
  {
80
- type: y,
81
- form: p,
82
- ...x,
81
+ type: h,
82
+ form: y,
83
+ ...g,
83
84
  disabled: t,
84
85
  ref: u,
85
- className: g,
86
+ className: w,
86
87
  children: [
88
+ x,
89
+ e ? /* @__PURE__ */ l(j, { iconName: m, className: p }) : v,
87
90
  f,
88
- r ? /* @__PURE__ */ l(j, { iconName: v }) : m,
89
- h,
90
- !!e && /* @__PURE__ */ l("span", { className: w, children: e })
91
+ !!r && /* @__PURE__ */ l("span", { className: N, children: r })
91
92
  ]
92
93
  }
93
94
  );
94
95
  }
95
96
  );
96
- L.displayName = "Button";
97
+ M.displayName = "Button";
97
98
  export {
98
- L as Button
99
+ M as Button
99
100
  };
@@ -3,6 +3,7 @@ import { ReactNode } from 'react';
3
3
 
4
4
  export type TCheckboxMimirProps = CheckboxProps & {
5
5
  children?: ReactNode;
6
+ isInteractive?: boolean;
6
7
  };
7
8
  export declare const CheckboxMimir: import('react').ForwardRefExoticComponent<{
8
9
  suppressHydrationWarning?: boolean | undefined;
@@ -296,4 +297,5 @@ export declare const CheckboxMimir: import('react').ForwardRefExoticComponent<{
296
297
  onChange?: (checked: boolean) => void;
297
298
  } & {
298
299
  children?: ReactNode;
300
+ isInteractive?: boolean;
299
301
  } & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,57 +1,64 @@
1
- import { jsxs as O, jsx as v } from "react/jsx-runtime";
1
+ import { jsxs as O, jsx as x } from "react/jsx-runtime";
2
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-B0lm_zyn.js";
3
- import x, { useId as Q, useState as F, useMemo as Y, useCallback as Z, forwardRef as ee, useEffect as ae } from "react";
3
+ import $, { useId as Q, useState as F, useMemo as Y, useCallback as Z, forwardRef as ee, useEffect as ae } from "react";
4
4
  import { w as re } from "../../use-active-press-86hajhdd.js";
5
- import { u as oe, a as te, b as ce, T as se, I as ne, G as ie, j as le, p as de, K as be } from "../../label-y3ANLTNC.js";
6
- import { r as fe } from "../../bugs-diTMAGNw.js";
7
- import { H as me } from "../../field-FJ34aSs4.js";
8
- import { c as ue } from "../../index-DIxK0V-G.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-y3ANLTNC.js";
6
+ import { r as ue } from "../../bugs-diTMAGNw.js";
7
+ import { H as fe } from "../../field-FJ34aSs4.js";
8
+ import { c as me } from "../../index-DIxK0V-G.js";
9
9
  import { Icon as pe } from "../../icons/Icon.js";
10
10
  import '../../assets/CheckboxMimir.css';let he = "span";
11
- function ke(p, h) {
12
- let r = Q(), t = oe(), i = te(), { id: l = t || `headlessui-checkbox-${r}`, disabled: e = i || !1, autoFocus: o = !1, checked: d, defaultChecked: k, onChange: b, name: $, value: E, form: H, indeterminate: f = !1, ...I } = p, c = ce(k), [s, n] = se(d, b, c ?? !1), N = ne(), R = ie(), K = W(), [_, g] = F(!1), C = m(() => {
13
- g(!0), n == null || n(!s), K.nextFrame(() => {
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
14
  g(!1);
15
15
  });
16
16
  }), T = m((a) => {
17
- if (fe(a.currentTarget)) return a.preventDefault();
17
+ if (ue(a.currentTarget)) return a.preventDefault();
18
18
  a.preventDefault(), C();
19
19
  }), M = m((a) => {
20
- a.key === y.Space ? (a.preventDefault(), C()) : a.key === y.Enter && de(a.currentTarget);
21
- }), w = m((a) => a.preventDefault()), { isFocusVisible: D, focusProps: G } = X({ autoFocus: o }), { isHovered: P, hoverProps: S } = q({ isDisabled: e }), { pressed: j, pressProps: U } = re({ disabled: e }), A = z({ ref: h, id: l, role: "checkbox", "aria-checked": f ? "mixed" : s ? "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: s, disabled: e, hover: P, focus: D, active: j, indeterminate: f, changing: _, autofocus: o }), [s, f, e, P, D, j, _, o]), L = Z(() => {
22
- if (c !== void 0) return n == null ? void 0 : n(c);
23
- }, [n, c]);
24
- return x.createElement(x.Fragment, null, $ != null && x.createElement(le, { disabled: e, data: { [$]: E || "on" }, overrides: { type: "checkbox", checked: s }, form: H, onReset: L }), J({ ourProps: A, theirProps: I, slot: B, defaultTag: he, name: "Checkbox" }));
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" }));
25
25
  }
26
26
  let ve = V(ke);
27
- const xe = "_container_13bjb_2", $e = "_checkbox_13bjb_8", _e = "_label_13bjb_27", ge = "_enabled_13bjb_31", u = {
27
+ const xe = "_container_13bjb_2", $e = "_checkbox_13bjb_8", _e = "_label_13bjb_27", ge = "_enabled_13bjb_31", p = {
28
28
  container: xe,
29
29
  checkbox: $e,
30
30
  label: _e,
31
31
  enabled: ge
32
32
  }, Ne = ee(
33
- (p, h) => {
34
- const { checked: r, onChange: t, children: i, id: l, ...e } = p, [o, d] = F(r ?? !1), k = (b) => {
35
- d(b), t == null || t(b);
33
+ (h, k) => {
34
+ const {
35
+ checked: r,
36
+ onChange: o,
37
+ children: d,
38
+ id: l,
39
+ isInteractive: e = !0,
40
+ ...t
41
+ } = h, [b, u] = F(r), v = (c) => {
42
+ e && (u(c), o == null || o(c));
36
43
  };
37
44
  return ae(() => {
38
- r !== void 0 && d(r);
39
- }, [r]), /* @__PURE__ */ O(me, { className: u.container, children: [
40
- /* @__PURE__ */ v(
45
+ r !== void 0 && u(r);
46
+ }, [r]), /* @__PURE__ */ O(fe, { className: p.container, children: [
47
+ /* @__PURE__ */ x(
41
48
  ve,
42
49
  {
43
50
  id: l,
44
- ref: h,
45
- checked: o,
46
- onChange: k,
47
- className: ue(u.checkbox, {
48
- [u.enabled]: o
51
+ ref: k,
52
+ checked: b,
53
+ onChange: v,
54
+ className: me(p.checkbox, {
55
+ [p.enabled]: b
49
56
  }),
50
- ...e,
51
- children: /* @__PURE__ */ v(pe, { iconName: "Done16px" })
57
+ ...t,
58
+ children: /* @__PURE__ */ x(pe, { iconName: "Done16px" })
52
59
  }
53
60
  ),
54
- i && /* @__PURE__ */ v(be, { htmlFor: l, className: u.label, children: i })
61
+ d && /* @__PURE__ */ x(be, { htmlFor: l, className: p.label, children: d })
55
62
  ] });
56
63
  }
57
64
  );
@@ -26,5 +26,9 @@ export type TProps = {
26
26
  * Имеет ли чип действие (например, кнопку закрытия).
27
27
  */
28
28
  withAction?: boolean;
29
+ /**
30
+ * Обработчик для кнопки закрытия
31
+ */
32
+ onClose?: VoidFunction;
29
33
  };
30
- export declare const Chip: ({ size, variant, className, onClick, disabled, withAction, children }: PropsWithChildren<TProps>) => import("react/jsx-runtime").JSX.Element;
34
+ export declare const Chip: ({ size, variant, className, onClick, disabled, withAction, children, onClose }: PropsWithChildren<TProps>) => import("react/jsx-runtime").JSX.Element;
@@ -1,30 +1,31 @@
1
- import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
- import { c as p } from "../../index-DIxK0V-G.js";
3
- import { EChipSize as h, EChipVariant as b } from "./constants.js";
4
- import { Icon as l } from "../../icons/Icon.js";
5
- import '../../assets/Chip.css';const v = "_chip_19bvm_2", d = "_disabled_19bvm_40", x = "_xs_19bvm_51", g = "_s_19bvm_59", w = "_m_19bvm_67", f = "_sapphire_19bvm_75", y = "_citrine_19bvm_84", C = "_asphalt_19bvm_93", u = "_gray_19bvm_102", N = "_white_19bvm_111", j = "_green_19bvm_120", s = {
6
- chip: v,
1
+ import { jsxs as m, jsx as p } from "react/jsx-runtime";
2
+ import { c as h } from "../../index-DIxK0V-G.js";
3
+ import { EChipSize as b, EChipVariant as l } from "./constants.js";
4
+ import { Button as v } from "../Button/Button.js";
5
+ import '../../assets/Chip.css';const d = "_chip_19bvm_2", u = "_disabled_19bvm_40", x = "_xs_19bvm_51", g = "_s_19bvm_59", w = "_m_19bvm_67", C = "_sapphire_19bvm_75", f = "_citrine_19bvm_84", y = "_asphalt_19bvm_93", N = "_gray_19bvm_102", j = "_white_19bvm_111", B = "_green_19bvm_120", s = {
6
+ chip: d,
7
7
  "with-action": "_with-action_19bvm_18",
8
- disabled: d,
8
+ disabled: u,
9
9
  xs: x,
10
10
  s: g,
11
11
  m: w,
12
- sapphire: f,
13
- citrine: y,
14
- asphalt: C,
15
- gray: u,
16
- white: N,
17
- green: j
18
- }, M = ({
19
- size: i = h.M,
20
- variant: _ = b.Sapphire,
12
+ sapphire: C,
13
+ citrine: f,
14
+ asphalt: y,
15
+ gray: N,
16
+ white: j,
17
+ green: B
18
+ }, I = ({
19
+ size: i = b.M,
20
+ variant: _ = l.Sapphire,
21
21
  className: c,
22
22
  onClick: e,
23
23
  disabled: o,
24
24
  withAction: t,
25
- children: a
25
+ children: n,
26
+ onClose: a
26
27
  }) => {
27
- const n = p(
28
+ const r = h(
28
29
  s.chip,
29
30
  c,
30
31
  {
@@ -34,11 +35,11 @@ import '../../assets/Chip.css';const v = "_chip_19bvm_2", d = "_disabled_19bvm_4
34
35
  s[_],
35
36
  s[i]
36
37
  );
37
- return /* @__PURE__ */ m("button", { type: "button", onClick: e, className: n, children: [
38
- a,
39
- t && /* @__PURE__ */ r(l, { iconName: "Close16px" })
38
+ return /* @__PURE__ */ m("button", { type: "button", onClick: e, className: r, children: [
39
+ n,
40
+ t && /* @__PURE__ */ p(v, { isIconButton: !0, iconName: "Close16px", onClick: a, clear: !0 })
40
41
  ] });
41
42
  };
42
43
  export {
43
- M as Chip
44
+ I as Chip
44
45
  };
@@ -9,7 +9,7 @@ import { formatDatePart as j } from "./utils.js";
9
9
  import { YearPickerModal as st } from "./YearPickerModal.js";
10
10
  import { useClickOutside as et } from "../../hooks/useClickOutside/useClickOutside.js";
11
11
  import { formating as it } from "../../utils/index.js";
12
- import { I as at } from "../../Input-B-gKQ9FT.js";
12
+ import { I as at } from "../../Input-DlGNMuUD.js";
13
13
  import { EInputStatus as rt } from "../Input/constants.js";
14
14
  const ot = {
15
15
  days: V,
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../../index-DIxK0V-G.js";
3
3
  import "react";
4
4
  import "./constants.js";
5
- import { I as f } from "../../Input-B-gKQ9FT.js";
5
+ import { I as f } from "../../Input-DlGNMuUD.js";
6
6
  import "../../hooks/useMergeRefs/useMergeRefs.js";
7
7
  import "../../icons/Icon.js";
8
8
  import "../Button/Button.js";
@@ -1,4 +1,4 @@
1
- import { I as n } from "../../Input-B-gKQ9FT.js";
1
+ import { I as n } from "../../Input-DlGNMuUD.js";
2
2
  import { EInputSize as u, EInputStatus as I, EInputVariant as a } from "./constants.js";
3
3
  export {
4
4
  u as EInputSize,
@@ -3,7 +3,7 @@ import { c } from "../../index-DIxK0V-G.js";
3
3
  import { memo as w, forwardRef as u, useState as m } from "react";
4
4
  import { Icon as d } from "../../icons/Icon.js";
5
5
  import { Button as _ } from "../Button/Button.js";
6
- import { I as l } from "../../Input-B-gKQ9FT.js";
6
+ import { I as l } from "../../Input-DlGNMuUD.js";
7
7
  import '../../assets/InputPassword.css';const b = "_input_7b9x2_2", x = "_wrapper_7b9x2_6", h = "_button_7b9x2_17", f = "_icon_7b9x2_33", N = "_show_7b9x2_38", t = {
8
8
  input: b,
9
9
  wrapper: x,
@@ -1,7 +1,7 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import { memo as I, forwardRef as i, useState as c, useCallback as f, useImperativeHandle as P } from "react";
3
3
  import { getMaskedInputPhoneValue as m, getUnmaskedInputValue as o } from "./utils.js";
4
- import { I as b } from "../../Input-B-gKQ9FT.js";
4
+ import { I as b } from "../../Input-DlGNMuUD.js";
5
5
  const h = I(
6
6
  i(
7
7
  ({ value: s = "", onChange: e, ...p }, a) => {
@@ -2,10 +2,10 @@ import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
2
  import { useState as n, useEffect as _ } from "react";
3
3
  import { Button as d } from "../Button/Button.js";
4
4
  import '../../assets/ListPhotos.css';const i = {
5
- "list-photos": "_list-photos_167sp_2",
6
- "list-photos-item": "_list-photos-item_167sp_11",
7
- "list-photos-image": "_list-photos-image_167sp_20",
8
- "delete-button": "_delete-button_167sp_25"
5
+ "list-photos": "_list-photos_1tpc1_2",
6
+ "list-photos-item": "_list-photos-item_1tpc1_11",
7
+ "list-photos-image": "_list-photos-image_1tpc1_20",
8
+ "delete-button": "_delete-button_1tpc1_25"
9
9
  };
10
10
  function L({ value: o, onChange: s }) {
11
11
  const [l, c] = n(o);
@@ -0,0 +1,22 @@
1
+ import { EMultiSelectSearchSize } from './constants';
2
+ import { TMultiSelectOption } from './types';
3
+
4
+ export declare const MultiSelectSearch: import('react').ForwardRefExoticComponent<Pick<import('../Input').TInputProps, "variant" | "withClearButton"> & {
5
+ value?: TMultiSelectOption[] | null;
6
+ onChange?: (value: TMultiSelectOption[]) => void;
7
+ placeholder?: string;
8
+ size?: EMultiSelectSearchSize;
9
+ full?: boolean;
10
+ displayValue?: string;
11
+ showArrow?: boolean;
12
+ onSearch?: (value: string) => void;
13
+ filterOnSearch?: boolean;
14
+ items: TMultiSelectOption[];
15
+ classNameOption?: string;
16
+ menuPlacement?: import('./types').TMenuPlacement;
17
+ disabled?: boolean;
18
+ searchProps?: Pick<import('../Input').TInputProps, "numbersOnly" | "maxLength" | "required">;
19
+ withChip?: boolean;
20
+ chipVariant?: import('../Chip').EChipVariant | `${import('../Chip').EChipVariant}`;
21
+ disableInput?: boolean;
22
+ } & import('react').RefAttributes<HTMLElement>>;