mimir-ui-kit 1.61.1 → 1.63.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.
Files changed (59) hide show
  1. package/dist/Input-CqNPT8os.js +243 -0
  2. package/dist/components/Accordion/Accordion.d.ts +5 -0
  3. package/dist/components/Accordion/Accordion.js +242 -220
  4. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +6 -1
  5. package/dist/components/Accordion/AccordionItem/AccordionItem.js +19 -8
  6. package/dist/components/Button/Button.d.ts +37 -0
  7. package/dist/components/Button/Button.js +77 -61
  8. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +9 -0
  9. package/dist/components/CheckboxMimir/CheckboxMimir.js +90 -59
  10. package/dist/components/DatePicker/DatePicker.js +1 -1
  11. package/dist/components/Drawer/Drawer.d.ts +5 -0
  12. package/dist/components/Drawer/Drawer.js +141 -135
  13. package/dist/components/DropdownSelect/DropdownSelect.js +25 -23
  14. package/dist/components/DropdownSelect/types.d.ts +4 -0
  15. package/dist/components/GosZnak/GosZnak.d.ts +1 -1
  16. package/dist/components/GosZnak/GosZnak.js +88 -67
  17. package/dist/components/GosZnak/types.d.ts +5 -0
  18. package/dist/components/Image/Image.d.ts +5 -0
  19. package/dist/components/Image/Image.js +55 -50
  20. package/dist/components/Input/Input.d.ts +5 -0
  21. package/dist/components/Input/Input.js +1 -1
  22. package/dist/components/Input/index.js +1 -1
  23. package/dist/components/InputPassword/InputPassword.d.ts +5 -0
  24. package/dist/components/InputPassword/InputPassword.js +80 -69
  25. package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +5 -1
  26. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +39 -32
  27. package/dist/components/Loader/Loader.d.ts +6 -1
  28. package/dist/components/Loader/Loader.js +37 -14
  29. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
  30. package/dist/components/MultiSelectSearch/hooks/useRenderVirtualizedList.d.ts +2 -1
  31. package/dist/components/MultiSelectSearch/hooks/useRenderVirtualizedList.js +50 -48
  32. package/dist/components/MultiSelectSearch/utils.js +1 -1
  33. package/dist/components/OtpInput/OtpInput.js +1 -1
  34. package/dist/components/RadioGroup/RadioGroup.d.ts +9 -0
  35. package/dist/components/RadioGroup/RadioGroup.js +142 -129
  36. package/dist/components/SelectSearch/SelectSearch.d.ts +2 -0
  37. package/dist/components/SelectSearch/SelectSearch.js +299 -275
  38. package/dist/components/SelectSearch/types.d.ts +9 -0
  39. package/dist/components/SelectSearch/utils.js +1 -1
  40. package/dist/components/TextArea/TextArea.d.ts +1 -1
  41. package/dist/components/TextArea/TextArea.js +1 -1
  42. package/dist/components/TextAreaV2/TextArea.js +155 -142
  43. package/dist/components/TextAreaV2/types.d.ts +5 -0
  44. package/dist/components/UniversalUploader/UniversalUploader.d.ts +1 -0
  45. package/dist/components/UniversalUploader/UniversalUploader.js +89 -86
  46. package/dist/components/UniversalUploader/types.d.ts +5 -0
  47. package/dist/components/Uploader/Uploader.d.ts +5 -0
  48. package/dist/components/Uploader/Uploader.js +116 -87
  49. package/dist/components/UploaderFiles/UploaderFiles.js +88 -79
  50. package/dist/components/UploaderFiles/types.d.ts +5 -0
  51. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +5 -0
  52. package/dist/components/UploaderPhotos/UploaderPhotos.js +60 -57
  53. package/dist/components/index.js +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/types/dataTestId.d.ts +1 -0
  56. package/dist/types/dataTestId.js +1 -0
  57. package/dist/types/index.d.ts +1 -0
  58. package/package.json +1 -1
  59. package/dist/Input-DPnH8pKc.js +0 -227
@@ -1,42 +1,42 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
- import { c as t } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as se, useState as z, useRef as L, useEffect as M, useCallback as C } from "react";
4
- import { EDrawerPosition as R } from "./constants.js";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ import { c as r } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as se, useState as C, useRef as x, useEffect as D, useCallback as w } from "react";
4
+ import { EDrawerPosition as A } from "./constants.js";
5
5
  import { useContainer as ne } from "./hooks.js";
6
- import { ScrollWrapper as re } from "./ScrollWrapper/index.js";
7
- import { useMediaQuery as ie } from "../../hooks/useMediaQuery/useMediaQuery.js";
8
- import { EMediaQuery as ae } from "../../hooks/useMediaQuery/constants.js";
9
- import { useLockBodyScroll as ce } from "../../hooks/useLockBodyScroll/useLockBodyScroll.js";
10
- import { useResizeObserver as le } from "../../hooks/useResizeObserver/useResizeObserver.js";
11
- import { Button as H } from "../Button/Button.js";
12
- import { EButtonVariantDefault as de, EButtonSize as l } from "../Button/constants.js";
13
- import { Loader as ue } from "../Loader/Loader.js";
14
- import { Portal as me } from "../Portal/Portal.js";
15
- import { EScrollBarVariant as fe, EScrollBarSize as _e } from "../ScrollBar/constants.js";
16
- import '../../assets/Drawer.css';const pe = "_drawerContainer_zs4pc_2", he = "_drawer_zs4pc_2", ze = "_content_zs4pc_31", Ce = "_header_zs4pc_46", ge = "_title_zs4pc_60", we = "_space_zs4pc_74", ye = "_inner_zs4pc_85", ve = "_button_zs4pc_101", be = "_footer_zs4pc_106", Ne = "_left_zs4pc_122", ke = "_right_zs4pc_126", Se = "_full_zs4pc_130", Be = "_bottom_zs4pc_140", Ee = "_opened_zs4pc_157", Ie = "_overlay_zs4pc_213", Oe = "_unmount_zs4pc_231", e = {
17
- drawerContainer: pe,
18
- drawer: he,
19
- content: ze,
20
- header: Ce,
6
+ import { ScrollWrapper as ie } from "./ScrollWrapper/index.js";
7
+ import { useMediaQuery as ce } from "../../hooks/useMediaQuery/useMediaQuery.js";
8
+ import { EMediaQuery as le } from "../../hooks/useMediaQuery/constants.js";
9
+ import { useLockBodyScroll as ae } from "../../hooks/useLockBodyScroll/useLockBodyScroll.js";
10
+ import { useResizeObserver as ue } from "../../hooks/useResizeObserver/useResizeObserver.js";
11
+ import { Button as P } from "../Button/Button.js";
12
+ import { EButtonVariantDefault as de, EButtonSize as u } from "../Button/constants.js";
13
+ import { Loader as me } from "../Loader/Loader.js";
14
+ import { Portal as fe } from "../Portal/Portal.js";
15
+ import { EScrollBarVariant as _e, EScrollBarSize as pe } from "../ScrollBar/constants.js";
16
+ import '../../assets/Drawer.css';const he = "_drawerContainer_zs4pc_2", ze = "_drawer_zs4pc_2", Ce = "_content_zs4pc_31", we = "_header_zs4pc_46", ye = "_title_zs4pc_60", ge = "_space_zs4pc_74", ve = "_inner_zs4pc_85", be = "_button_zs4pc_101", Ne = "_footer_zs4pc_106", ke = "_left_zs4pc_122", Se = "_right_zs4pc_126", Be = "_full_zs4pc_130", Ee = "_bottom_zs4pc_140", Oe = "_opened_zs4pc_157", Le = "_overlay_zs4pc_213", He = "_unmount_zs4pc_231", e = {
17
+ drawerContainer: he,
18
+ drawer: ze,
19
+ content: Ce,
20
+ header: we,
21
21
  "sticky-header": "_sticky-header_zs4pc_54",
22
- title: ge,
23
- space: we,
24
- inner: ye,
22
+ title: ye,
23
+ space: ge,
24
+ inner: ve,
25
25
  "is-loading": "_is-loading_zs4pc_90",
26
- button: ve,
27
- footer: be,
26
+ button: be,
27
+ footer: Ne,
28
28
  "has-scroll": "_has-scroll_zs4pc_115",
29
29
  "footer-button": "_footer-button_zs4pc_118",
30
- left: Ne,
31
- right: ke,
32
- full: Se,
33
- bottom: Be,
30
+ left: ke,
31
+ right: Se,
32
+ full: Be,
33
+ bottom: Ee,
34
34
  "full-bottom-height": "_full-bottom-height_zs4pc_151",
35
- opened: Ee,
35
+ opened: Oe,
36
36
  "is-closing": "_is-closing_zs4pc_176",
37
- overlay: Ie,
38
- unmount: Oe
39
- }, Le = 300, Me = (d) => d ? {
37
+ overlay: Le,
38
+ unmount: He
39
+ }, xe = 300, De = (d) => d ? {
40
40
  drawer: {
41
41
  position: "absolute",
42
42
  zIndex: 100
@@ -45,116 +45,119 @@ import '../../assets/Drawer.css';const pe = "_drawerContainer_zs4pc_2", he = "_d
45
45
  position: "absolute",
46
46
  zIndex: 90
47
47
  }
48
- } : {}, qe = se(
49
- (d, T) => {
48
+ } : {}, Ue = se(
49
+ (d, X) => {
50
50
  const {
51
- as: x = "div",
51
+ as: j = "div",
52
52
  isOpen: n,
53
- onClose: u,
54
- title: D,
55
- className: A,
56
- unmount: g = !0,
57
- isLoading: r = !1,
58
- stickyHeader: P,
59
- fullBottomHeight: X = !1,
60
- position: m = R.RIGHT,
61
- paddingRight: j = 8,
62
- footer: f,
63
- children: G,
64
- classNameTitle: Q,
65
- classNameHeader: V,
66
- classNameInner: W,
67
- classNameDrawerContainer: F,
68
- classNameContent: K,
69
- classNameFooter: Y,
70
- closeOnClickOutside: w = !0,
71
- showCloseButton: y = !0,
72
- getContainer: _,
73
- ...q
74
- } = d, [v, b] = z(!1), [J, N] = z(!1), k = L(), p = ie(ae.XS1), { ref: U } = le({
75
- enabled: m === R.BOTTOM
76
- }), S = ne(_), i = L(null), [Z, $] = z(!1);
77
- M(() => {
78
- const a = () => {
79
- if (i.current) {
80
- const { scrollHeight: oe, clientHeight: te } = i.current;
81
- $(oe > te);
53
+ onClose: m,
54
+ title: G,
55
+ className: Q,
56
+ unmount: y = !0,
57
+ isLoading: i = !1,
58
+ stickyHeader: V,
59
+ fullBottomHeight: W = !1,
60
+ position: f = A.RIGHT,
61
+ paddingRight: F = 8,
62
+ footer: _,
63
+ children: I,
64
+ classNameTitle: K,
65
+ classNameHeader: Y,
66
+ classNameInner: q,
67
+ classNameDrawerContainer: J,
68
+ classNameContent: M,
69
+ classNameFooter: R,
70
+ closeOnClickOutside: g = !0,
71
+ showCloseButton: v = !0,
72
+ getContainer: p,
73
+ dataTestIdReactMap: o,
74
+ ...U
75
+ } = d, [b, N] = C(!1), [Z, k] = C(!1), S = x(), h = ce(le.XS1), { ref: $ } = ue({
76
+ enabled: f === A.BOTTOM
77
+ }), B = ne(p), c = x(null), [T, ee] = C(!1);
78
+ D(() => {
79
+ const l = () => {
80
+ if (c.current) {
81
+ const { scrollHeight: te, clientHeight: re } = c.current;
82
+ ee(te > re);
82
83
  }
83
84
  };
84
- a();
85
- const O = new ResizeObserver(a);
86
- return i.current && O.observe(i.current), () => {
87
- O.disconnect();
85
+ l();
86
+ const H = new ResizeObserver(l);
87
+ return c.current && H.observe(c.current), () => {
88
+ H.disconnect();
88
89
  };
89
- }, [n, r]), ce({
90
- on: n && !v,
91
- paddingRight: j
90
+ }, [n, i]), ae({
91
+ on: n && !b,
92
+ paddingRight: F
92
93
  });
93
- const s = C(() => {
94
- u && (b(!0), k.current = setTimeout(() => {
95
- u(), b(!1);
96
- }, Le));
97
- }, [u]), ee = C(() => {
98
- w && s();
99
- }, [w, s]), h = C(
100
- (a) => {
101
- a.key === "Escape" && s();
94
+ const s = w(() => {
95
+ m && (N(!0), S.current = setTimeout(() => {
96
+ m(), N(!1);
97
+ }, xe));
98
+ }, [m]), oe = w(() => {
99
+ g && s();
100
+ }, [g, s]), z = w(
101
+ (l) => {
102
+ l.key === "Escape" && s();
102
103
  },
103
104
  [s]
104
105
  );
105
- M(() => (n && (N(!0), window.addEventListener("keydown", h)), () => {
106
- N(!1), clearTimeout(k.current), window.removeEventListener("keydown", h);
107
- }), [n, h]);
108
- const B = {
109
- [e.opened]: J,
110
- [e["is-closing"]]: v,
111
- [e["full-bottom-height"]]: X,
112
- [e["is-loading"]]: r
106
+ D(() => (n && (k(!0), window.addEventListener("keydown", z)), () => {
107
+ k(!1), clearTimeout(S.current), window.removeEventListener("keydown", z);
108
+ }), [n, z]);
109
+ const E = {
110
+ [e.opened]: Z,
111
+ [e["is-closing"]]: b,
112
+ [e["full-bottom-height"]]: W,
113
+ [e["is-loading"]]: i
113
114
  };
114
- if (!n && g)
115
+ if (!n && y)
115
116
  return null;
116
- const E = Me(_ !== void 0 && _ !== !1), I = /* @__PURE__ */ c(
117
+ const O = De(p !== void 0 && p !== !1), L = /* @__PURE__ */ a(
117
118
  "div",
118
119
  {
119
- className: t(e.drawerContainer, F),
120
+ "data-testid-react": o == null ? void 0 : o.drawer,
121
+ className: r(e.drawerContainer, J),
120
122
  children: [
121
- /* @__PURE__ */ c(
122
- x,
123
+ /* @__PURE__ */ a(
124
+ j,
123
125
  {
124
- ref: T,
126
+ ref: X,
125
127
  "aria-hidden": !n,
126
128
  role: "dialog",
127
- style: E.drawer,
128
- className: t(e.drawer, e[m], B, A),
129
- ...q,
129
+ style: O.drawer,
130
+ className: r(e.drawer, e[f], E, Q),
131
+ ...U,
130
132
  children: [
131
- /* @__PURE__ */ c(
133
+ /* @__PURE__ */ a(
132
134
  "section",
133
135
  {
134
- ref: U,
135
- className: t(
136
+ ref: $,
137
+ className: r(
136
138
  e.content,
137
- K,
138
- e[m],
139
+ M,
140
+ e[f],
139
141
  {
140
- [e["is-loading"]]: !!r
142
+ [e["is-loading"]]: !!i
141
143
  }
142
144
  ),
143
145
  children: [
144
- /* @__PURE__ */ c(
146
+ /* @__PURE__ */ a(
145
147
  "header",
146
148
  {
147
- className: t(e.header, V, {
148
- [e["sticky-header"]]: P
149
+ className: r(e.header, Y, {
150
+ [e["sticky-header"]]: V
149
151
  }),
150
152
  children: [
151
- /* @__PURE__ */ o("h2", { className: t(e.title, Q), children: D }),
152
- /* @__PURE__ */ o("div", { className: e.space, children: y && /* @__PURE__ */ o(
153
- H,
153
+ /* @__PURE__ */ t("h2", { className: r(e.title, K), children: G }),
154
+ /* @__PURE__ */ t("div", { className: e.space, children: v && /* @__PURE__ */ t(
155
+ P,
154
156
  {
157
+ "data-testid-react": o == null ? void 0 : o.closeButton,
155
158
  variant: de.SecondaryWhite,
156
159
  isIconButton: !0,
157
- size: p ? l.S : l.M,
160
+ size: h ? u.S : u.M,
158
161
  iconName: "Close16px",
159
162
  onClick: s,
160
163
  className: e.button
@@ -163,36 +166,38 @@ import '../../assets/Drawer.css';const pe = "_drawerContainer_zs4pc_2", he = "_d
163
166
  ]
164
167
  }
165
168
  ),
166
- /* @__PURE__ */ o(
167
- re,
169
+ /* @__PURE__ */ t(
170
+ ie,
168
171
  {
169
- ref: i,
170
- className: t(
172
+ ref: c,
173
+ className: r(
171
174
  e.inner,
172
175
  {
173
- [e["is-loading"]]: !!r
176
+ [e["is-loading"]]: !!i
174
177
  },
175
- W
178
+ q
176
179
  ),
177
- variant: fe.LIGHT,
178
- size: _e.M,
179
- children: r ? /* @__PURE__ */ o(ue, {}) : G
180
+ variant: _e.LIGHT,
181
+ size: pe.M,
182
+ children: i ? /* @__PURE__ */ t(me, {}) : I
180
183
  }
181
184
  )
182
185
  ]
183
186
  }
184
187
  ),
185
- /* @__PURE__ */ o(
188
+ /* @__PURE__ */ t(
186
189
  "footer",
187
190
  {
188
- className: t(e.footer, Y, {
189
- [e["has-scroll"]]: Z
191
+ "data-testid-react": o == null ? void 0 : o.footer,
192
+ className: r(e.footer, R, {
193
+ [e["has-scroll"]]: T
190
194
  }),
191
- children: typeof f == "function" ? f({ handleClose: s }) : f || y && /* @__PURE__ */ o(
192
- H,
195
+ children: typeof _ == "function" ? _({ handleClose: s }) : _ || v && /* @__PURE__ */ t(
196
+ P,
193
197
  {
194
- size: p ? l.L : l.XXL,
195
- full: p,
198
+ "data-testid-react": o == null ? void 0 : o.footerCloseButton,
199
+ size: h ? u.L : u.XXL,
200
+ full: h,
196
201
  onClick: s,
197
202
  className: e["footer-button"],
198
203
  children: "Закрыть"
@@ -203,28 +208,29 @@ import '../../assets/Drawer.css';const pe = "_drawerContainer_zs4pc_2", he = "_d
203
208
  ]
204
209
  }
205
210
  ),
206
- /* @__PURE__ */ o(
211
+ /* @__PURE__ */ t(
207
212
  "div",
208
213
  {
209
- className: t(
214
+ "data-testid-react": o == null ? void 0 : o.overlay,
215
+ className: r(
210
216
  e.overlay,
211
217
  {
212
- [e.unmount]: !g
218
+ [e.unmount]: !y
213
219
  },
214
- B
220
+ E
215
221
  ),
216
- style: E.overlay,
222
+ style: O.overlay,
217
223
  "data-testid": "drawer-overlay",
218
- onClick: ee
224
+ onClick: oe
219
225
  }
220
226
  )
221
227
  ]
222
228
  }
223
229
  );
224
- return S === !1 ? I : /* @__PURE__ */ o(me, { element: S, children: I });
230
+ return B === !1 ? L : /* @__PURE__ */ t(fe, { element: B, children: L });
225
231
  }
226
232
  );
227
233
  export {
228
- Le as ANIMATION_DELAY,
229
- qe as Drawer
234
+ xe as ANIMATION_DELAY,
235
+ Ue as Drawer
230
236
  };
@@ -1,24 +1,24 @@
1
- import { jsx as s, jsxs as d, Fragment as D } from "react/jsx-runtime";
1
+ import { jsx as s, jsxs as d, Fragment as b } from "react/jsx-runtime";
2
2
  import { c as a } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as b } from "react";
4
- import { EDropdownSelectSize as y } from "./constants.js";
3
+ import { forwardRef as y } from "react";
4
+ import { EDropdownSelectSize as S } from "./constants.js";
5
5
  import { Icon as f } from "../../icons/Icon.js";
6
- import { H as S, U as C, K as k, W as U } from "../../combobox-fIVOzEhl.js";
7
- import '../../assets/DropdownSelect.css';const V = "_full_ow9jf_265", z = "_disabled_ow9jf_268", A = "_trigger_ow9jf_273", H = "_options_ow9jf_313", K = "_option_ow9jf_313", W = "_focused_ow9jf_356", B = "_s_ow9jf_381", E = "_m_ow9jf_390", F = "_l_ow9jf_399", e = {
6
+ import { H as C, U as k, K as U, W as V } from "../../combobox-fIVOzEhl.js";
7
+ import '../../assets/DropdownSelect.css';const z = "_full_ow9jf_265", A = "_disabled_ow9jf_268", H = "_trigger_ow9jf_273", K = "_options_ow9jf_313", M = "_option_ow9jf_313", W = "_focused_ow9jf_356", B = "_s_ow9jf_381", E = "_m_ow9jf_390", F = "_l_ow9jf_399", e = {
8
8
  "dropdown-select": "_dropdown-select_ow9jf_261",
9
- full: V,
10
- disabled: z,
11
- trigger: A,
9
+ full: z,
10
+ disabled: A,
11
+ trigger: H,
12
12
  "trigger-text": "_trigger-text_ow9jf_302",
13
- options: H,
14
- option: K,
13
+ options: K,
14
+ option: M,
15
15
  focused: W,
16
16
  "option-content": "_option-content_ow9jf_360",
17
17
  "option-check": "_option-check_ow9jf_372",
18
18
  s: B,
19
19
  m: E,
20
20
  l: F
21
- }, I = b(
21
+ }, I = y(
22
22
  (p, _) => {
23
23
  const {
24
24
  value: t,
@@ -31,17 +31,18 @@ import '../../assets/DropdownSelect.css';const V = "_full_ow9jf_265", z = "_disa
31
31
  optionsClassName: j,
32
32
  optionClassName: N,
33
33
  full: c = !1,
34
- size: l = y.M
35
- } = p, h = (o) => {
34
+ isModal: h = !0,
35
+ size: l = S.M
36
+ } = p, x = (o) => {
36
37
  n == null || n(o);
37
- }, x = (o) => o ? o.displayValue ? o.displayValue : typeof o.name == "string" ? o.name : typeof o.value == "string" ? o.value : String(o.id) : "";
38
+ }, v = (o) => o ? o.displayValue ? o.displayValue : typeof o.name == "string" ? o.name : typeof o.value == "string" ? o.value : String(o.id) : "";
38
39
  return /* @__PURE__ */ s(
39
- S,
40
+ C,
40
41
  {
41
42
  as: "div",
42
43
  ref: _,
43
44
  value: t,
44
- onChange: h,
45
+ onChange: x,
45
46
  disabled: i,
46
47
  className: a(
47
48
  e["dropdown-select"],
@@ -52,9 +53,9 @@ import '../../assets/DropdownSelect.css';const V = "_full_ow9jf_265", z = "_disa
52
53
  },
53
54
  g
54
55
  ),
55
- children: ({ open: o }) => /* @__PURE__ */ d(D, { children: [
56
+ children: ({ open: o }) => /* @__PURE__ */ d(b, { children: [
56
57
  /* @__PURE__ */ d(
57
- C,
58
+ k,
58
59
  {
59
60
  className: a(
60
61
  e.trigger,
@@ -67,7 +68,7 @@ import '../../assets/DropdownSelect.css';const V = "_full_ow9jf_265", z = "_disa
67
68
  ),
68
69
  "data-testid": "dropdown-select-trigger",
69
70
  children: [
70
- /* @__PURE__ */ s("span", { className: a(e["trigger-text"]), children: t ? x(t) : w }),
71
+ /* @__PURE__ */ s("span", { className: a(e["trigger-text"]), children: t ? v(t) : w }),
71
72
  /* @__PURE__ */ s(
72
73
  f,
73
74
  {
@@ -78,19 +79,20 @@ import '../../assets/DropdownSelect.css';const V = "_full_ow9jf_265", z = "_disa
78
79
  }
79
80
  ),
80
81
  /* @__PURE__ */ s(
81
- k,
82
+ U,
82
83
  {
84
+ modal: h,
83
85
  className: a(e.options, e[l], j),
84
86
  "data-testid": "dropdown-select-options",
85
87
  children: m.map((r) => /* @__PURE__ */ d(
86
- U,
88
+ V,
87
89
  {
88
90
  value: r,
89
- className: ({ focus: v }) => a(
91
+ className: ({ focus: D }) => a(
90
92
  e.option,
91
93
  e[l],
92
94
  {
93
- [e.focused]: v
95
+ [e.focused]: D
94
96
  },
95
97
  N
96
98
  ),
@@ -53,4 +53,8 @@ export type TDropdownSelectProps = {
53
53
  * Полная ширина компонента
54
54
  */
55
55
  full?: boolean;
56
+ /**
57
+ * Если `false`, разрешает прокрутку страницы и клики по внешним элементам при открытом списке, иначе блокирует скролл.
58
+ */
59
+ isModal?: boolean;
56
60
  };
@@ -1,3 +1,3 @@
1
1
  import { TGosZnakProps } from './types';
2
2
 
3
- export declare const GosZnak: ({ number, region, country, size, type, className, numberClassName, regionClassName, countryClassName, numberContainerClassName, regionContainerClassName, simplified, copyable, onCopy }: TGosZnakProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const GosZnak: ({ number, region, country, size, type, className, numberClassName, regionClassName, countryClassName, numberContainerClassName, regionContainerClassName, simplified, copyable, onCopy, dataTestIdReactMap }: TGosZnakProps) => import("react/jsx-runtime").JSX.Element;