stone-kit 0.0.1009 → 0.0.1011

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 (53) hide show
  1. package/README.md +89 -59
  2. package/dist/components/Button/ui/Button.js +49 -47
  3. package/dist/components/CheckBoxNew/CheckBoxNew.js +7 -7
  4. package/dist/components/ModalSuccess/index.d.ts +1 -0
  5. package/dist/components/ModalSuccess/index.js +4 -0
  6. package/dist/components/NewIcon/index.d.ts +1 -1
  7. package/dist/components/NewIcon/index.js +3 -2
  8. package/dist/components/Switcher/ui/Switcher.d.ts +1 -1
  9. package/dist/components/Switcher/ui/Switcher.js +21 -20
  10. package/dist/components/Switcher/ui/Switcher.types.d.ts +1 -0
  11. package/dist/components/ZoomControls/ui/ZoomControls.js +9 -7
  12. package/dist/{index-DQgqDqGf.js → index-DvCs2JPX.js} +2927 -3002
  13. package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +166 -0
  14. package/dist/stories/entities/index.js +4 -0
  15. package/dist/stories/shared/ui/Button/Button.stories.js +118 -0
  16. package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +71 -0
  17. package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +45 -0
  18. package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +114 -0
  19. package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +89 -0
  20. package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +31 -0
  21. package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +44 -0
  22. package/dist/stories/shared/ui/Flex/Flex.stories.js +74 -0
  23. package/dist/stories/shared/ui/FormModal/FormModal.stories.js +65 -0
  24. package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +68 -0
  25. package/dist/stories/shared/ui/Input/Input.stories.js +82 -0
  26. package/dist/stories/shared/ui/Logo/Logo.stories.js +75 -0
  27. package/dist/stories/shared/ui/MetroLabel/MetroLabel.stories.js +91 -0
  28. package/dist/stories/shared/ui/MetroTag/MetroTag.stories.js +96 -0
  29. package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +77 -0
  30. package/dist/stories/shared/ui/Modal/Modal.stories.js +77 -0
  31. package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +34 -0
  32. package/dist/stories/shared/ui/NewIcon/NewIcon.stories.js +38 -0
  33. package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +83 -0
  34. package/dist/stories/shared/ui/Select/Select.stories.js +81 -0
  35. package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +82 -0
  36. package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +87 -0
  37. package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +85 -0
  38. package/dist/stories/shared/ui/Switcher/Switcher.stories.js +77 -0
  39. package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +76 -0
  40. package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +76 -0
  41. package/dist/stories/shared/ui/Tag/Tag.stories.js +51 -0
  42. package/dist/stories/shared/ui/Text/Text.stories.js +22 -0
  43. package/dist/stories/shared/ui/TextArea/TextArea.stories.js +37 -0
  44. package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +91 -0
  45. package/dist/stories/shared/ui/index.js +62 -0
  46. package/dist/style.css +1 -1
  47. package/package.json +4 -4
  48. package/dist/stories/Button.js +0 -23
  49. package/dist/stories/Button.stories.js +0 -50
  50. package/dist/stories/Header.js +0 -44
  51. package/dist/stories/Header.stories.js +0 -28
  52. package/dist/stories/Page.js +0 -58
  53. package/dist/stories/Page.stories.js +0 -22
package/README.md CHANGED
@@ -1,59 +1,89 @@
1
- # Stone-kit
2
-
3
- Uikit for stone redesign 2.0
4
-
5
- ## Installation
6
-
7
- Package installation:
8
-
9
- ```bash
10
- npm i stone-kit@latest
11
- ```
12
-
13
- ## Usage
14
-
15
- For Next.js page router in App.tsx:
16
-
17
- ```bash
18
- import 'stone-kit/dist/style.css'
19
- ```
20
-
21
- and then:
22
-
23
- ```bash
24
- import {Button} from 'stone-kit'
25
- ```
26
-
27
- For other projects u can immediately:
28
-
29
- ```bash
30
- import {Button} from 'stone-kit'
31
- ```
32
-
33
- ## Docs
34
-
35
- ### ButtonProps
36
-
37
- size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
-
39
- pre: optional, insert icon/text before button text. type: ReactNode
40
-
41
- post: optional, insert icon/text after button text. type: ReactNode
42
-
43
- variant: optional, color variants of button. type:
44
- 'blue',
45
- 'gray',
46
- 'whiteStroke',
47
- 'sokolniki',
48
- 'black',
49
- 'whiteFilled'
50
-
51
- width: optional, width of button. type: 'auto' | 'full'
52
-
53
- additionalClass: optional, add your custom class to button. type: 'string'
54
-
55
- as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
-
57
- ### MobileButtonProps
58
-
59
- ### Tag
1
+ # Stone-kit
2
+
3
+ Uikit for stone redesign 2.0
4
+
5
+ ## Installation
6
+
7
+ Package installation:
8
+
9
+ ```bash
10
+ npm i stone-kit@latest
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ For Next.js page router in App.tsx:
16
+
17
+ ```bash
18
+ import 'stone-kit/dist/style.css'
19
+ ```
20
+
21
+ and then:
22
+
23
+ ```bash
24
+ import {Button} from 'stone-kit'
25
+ ```
26
+
27
+ For other projects u can immediately:
28
+
29
+ ```bash
30
+ import {Button} from 'stone-kit'
31
+ ```
32
+
33
+ ## Docs
34
+
35
+ ### ButtonProps
36
+
37
+ size: optional, size of button. types : 'large' | 'medium' | 'small' | 'tiny'
38
+
39
+ pre: optional, insert icon/text before button text. type: ReactNode
40
+
41
+ post: optional, insert icon/text after button text. type: ReactNode
42
+
43
+ variant: optional, color variants of button. type:
44
+ 'blue',
45
+ 'gray',
46
+ 'whiteStroke',
47
+ 'sokolniki',
48
+ 'black',
49
+ 'whiteFilled'
50
+
51
+ width: optional, width of button. type: 'auto' | 'full'
52
+
53
+ additionalClass: optional, add your custom class to button. type: 'string'
54
+
55
+ as: optional, u can convert button to link. type: 'button' | 'link'. 'button' by default.
56
+
57
+ ### MobileButtonProps
58
+
59
+ ### Tag
60
+
61
+ ## Storybook в Docker
62
+
63
+ ### Запуск production-сборки
64
+
65
+ Чтобы запустить готовую статическую сборку Storybook с помощью Docker и Nginx:
66
+
67
+ 1. Убедитесь, что в корне проекта есть файлы `Dockerfile.prod` и `docker-compose.prod.yml`.
68
+ 2. Выполните команду:docker system prune
69
+ ```sh
70
+ docker compose -f docker-compose.prod.yml up -d --force-recreate
71
+ ```
72
+ 3. После завершения сборки и запуска, Storybook будет доступен по адресу `http://localhost:8080`.
73
+
74
+
75
+ ```
76
+ openssl req -x509 -nodes -days 365 \
77
+ -newkey rsa:2048 \
78
+ -keyout certs/privkey.key \
79
+ -out certs/fullchain.crt \
80
+ -subj "/CN=storybook.stone.ru"
81
+
82
+
83
+
84
+ openssl req -x509 -nodes -newkey rsa:2048 \
85
+ -days 365 -subj "/CN=storybook.stone.ru" \
86
+ -keyout certs/privkey.key \
87
+ -out certs/fullchain.crt
88
+
89
+ ```
@@ -1,16 +1,18 @@
1
- import { jsx as _, jsxs as d, Fragment as r } from "react/jsx-runtime";
1
+ import { jsx as n, jsxs as m, Fragment as r } from "react/jsx-runtime";
2
2
  import { c as k } from "../../../index-rKuIKazb.js";
3
3
  import { NewIcon as y } from "../../NewIcon/ui/NewIcon.js";
4
- const w = "_btnCommon_f868m_1", C = "_btnLoading_f868m_20", N = "_isHidden_f868m_24", v = "_blue_f868m_68", H = "_lightBlue_f868m_82", S = "_sokolniki_f868m_97", B = "_black_f868m_111", L = "_gray_f868m_125", $ = "_whiteStroke_f868m_139", x = "_whiteFilled_f868m_151", F = "_shade_f868m_165", j = "_transparent_f868m_171", I = "_volodiyaLight_f868m_192", q = "_loader_f868m_198", A = "_LoaderSpin_f868m_1", e = {
4
+ const w = "_btnCommon_1n16j_1", f = "_btnLoading_1n16j_20", C = "_pre_1n16j_24", N = "_post_1n16j_25", p = "_isHidden_1n16j_29", v = "_blue_1n16j_73", H = "_lightBlue_1n16j_87", S = "_sokolniki_1n16j_102", B = "_black_1n16j_116", L = "_gray_1n16j_130", $ = "_whiteStroke_1n16j_144", x = "_whiteFilled_1n16j_156", F = "_shade_1n16j_170", I = "_transparent_1n16j_176", q = "_volodiyaLight_1n16j_197", A = "_loader_1n16j_203", D = "_LoaderSpin_1n16j_1", e = {
5
5
  btnCommon: w,
6
- btnLoading: C,
7
- isHidden: N,
8
- "auto-width": "_auto-width_f868m_28",
9
- "full-width": "_full-width_f868m_32",
10
- "tiny-size": "_tiny-size_f868m_36",
11
- "small-size": "_small-size_f868m_44",
12
- "medium-size": "_medium-size_f868m_52",
13
- "large-size": "_large-size_f868m_60",
6
+ btnLoading: f,
7
+ pre: C,
8
+ post: N,
9
+ isHidden: p,
10
+ "auto-width": "_auto-width_1n16j_33",
11
+ "full-width": "_full-width_1n16j_37",
12
+ "tiny-size": "_tiny-size_1n16j_41",
13
+ "small-size": "_small-size_1n16j_49",
14
+ "medium-size": "_medium-size_1n16j_57",
15
+ "large-size": "_large-size_1n16j_65",
14
16
  blue: v,
15
17
  lightBlue: H,
16
18
  sokolniki: S,
@@ -19,44 +21,44 @@ const w = "_btnCommon_f868m_1", C = "_btnLoading_f868m_20", N = "_isHidden_f868m
19
21
  whiteStroke: $,
20
22
  whiteFilled: x,
21
23
  shade: F,
22
- transparent: j,
23
- volodiyaLight: I,
24
- loader: q,
25
- LoaderSpin: A,
26
- "tiny-size_m": "_tiny-size_m_f868m_204",
27
- "small-size_m": "_small-size_m_f868m_211",
28
- "medium-size_m": "_medium-size_m_f868m_218",
29
- "large-size_m": "_large-size_m_f868m_225",
30
- "tiny-size_l": "_tiny-size_l_f868m_234",
31
- "small-size_l": "_small-size_l_f868m_241",
32
- "medium-size_l": "_medium-size_l_f868m_248",
33
- "large-size_l": "_large-size_l_f868m_255"
34
- }, s = k.bind(e), J = ({
24
+ transparent: I,
25
+ volodiyaLight: q,
26
+ loader: A,
27
+ LoaderSpin: D,
28
+ "tiny-size_m": "_tiny-size_m_1n16j_209",
29
+ "small-size_m": "_small-size_m_1n16j_216",
30
+ "medium-size_m": "_medium-size_m_1n16j_223",
31
+ "large-size_m": "_large-size_m_1n16j_230",
32
+ "tiny-size_l": "_tiny-size_l_1n16j_239",
33
+ "small-size_l": "_small-size_l_1n16j_246",
34
+ "medium-size_l": "_medium-size_l_1n16j_253",
35
+ "large-size_l": "_large-size_l_1n16j_260"
36
+ }, s = k.bind(e), K = ({
35
37
  size: c = "medium",
36
- size_m: f,
38
+ size_m: j,
37
39
  size_l: z,
38
- onCLick: t,
39
- pre: m = !1,
40
+ onCLick: o,
41
+ pre: l = !1,
40
42
  children: h = "",
41
- post: n = !1,
43
+ post: t = !1,
42
44
  variant: u = "blue",
43
45
  width: b = "auto",
44
46
  additionalClass: g = "",
45
- isLoading: i = !1,
46
- ...l
47
+ isLoading: _ = !1,
48
+ ...i
47
49
  }) => {
48
50
  const a = s(
49
51
  e.btnCommon,
50
52
  e[`${c}-size`],
51
- e[`${f}-size_m`],
53
+ e[`${j}-size_m`],
52
54
  e[`${z}-size_l`],
53
55
  e[`${u}`],
54
- { [e.btnLoading]: i },
55
- { [e.btnCommonInline]: m || n },
56
+ { [e.btnLoading]: _ },
57
+ { [e.btnCommonInline]: l || t },
56
58
  e[`${b}-width`],
57
59
  g
58
- ), o = () => /* @__PURE__ */ d(r, { children: [
59
- i && /* @__PURE__ */ _(
60
+ ), d = () => /* @__PURE__ */ m(r, { children: [
61
+ _ && /* @__PURE__ */ n(
60
62
  y,
61
63
  {
62
64
  name: "loader",
@@ -65,30 +67,30 @@ const w = "_btnCommon_f868m_1", C = "_btnLoading_f868m_20", N = "_isHidden_f868m
65
67
  additionalClass: e.loader
66
68
  }
67
69
  ),
68
- /* @__PURE__ */ d(r, { children: [
69
- m && /* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: m }),
70
- /* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: h }),
71
- n && /* @__PURE__ */ _("div", { className: s({ [e.isHidden]: i }), children: n })
70
+ /* @__PURE__ */ m(r, { children: [
71
+ l && /* @__PURE__ */ n("div", { className: s(e.pre, { [e.isHidden]: _ }), children: l }),
72
+ /* @__PURE__ */ n("div", { className: s({ [e.isHidden]: _ }), children: h }),
73
+ t && /* @__PURE__ */ n("div", { className: s(e.post, { [e.isHidden]: _ }), children: t })
72
74
  ] })
73
75
  ] });
74
- return l.as === "link" ? (delete l.as, /* @__PURE__ */ _(
76
+ return i.as === "link" ? (delete i.as, /* @__PURE__ */ n(
75
77
  "a",
76
78
  {
77
79
  className: a,
78
- onClick: t,
79
- ...l,
80
- children: o()
80
+ onClick: o,
81
+ ...i,
82
+ children: d()
81
83
  }
82
- )) : (delete l.as, /* @__PURE__ */ _(
84
+ )) : (delete i.as, /* @__PURE__ */ n(
83
85
  "button",
84
86
  {
85
87
  className: a,
86
- onClick: t,
87
- ...l,
88
- children: o()
88
+ onClick: o,
89
+ ...i,
90
+ children: d()
89
91
  }
90
92
  ));
91
93
  };
92
94
  export {
93
- J as Button
95
+ K as Button
94
96
  };
@@ -3,24 +3,24 @@ import { Input as m } from "../Input/ui/Input.js";
3
3
  import { c as h } from "../../index-rKuIKazb.js";
4
4
  import { forwardRef as d } from "react";
5
5
  import { NewIcon as i } from "../NewIcon/ui/NewIcon.js";
6
- const k = "_checkboxLabel_8850s_1", T = "_labelText_8850s_36", p = "_labelTextModal_8850s_44", f = "_error_8850s_49", I = "_checkIcon_8850s_58", e = {
6
+ const k = "_checkboxLabel_115at_1", T = "_labelText_115at_36", p = "_labelTextModal_115at_44", f = "_error_115at_49", I = "_checkIcon_115at_58", e = {
7
7
  checkboxLabel: k,
8
8
  labelText: T,
9
9
  labelTextModal: p,
10
10
  error: f,
11
11
  checkIcon: I
12
- }, s = h.bind(e), B = d(
13
- ({ text: c, isChecked: l, error: r, children: t, emitIsChecked: a, modalFontSize: n, ...b }, x) => /* @__PURE__ */ _("label", { className: s(e.checkboxLabel, { [e.error]: r }), children: [
12
+ }, t = h.bind(e), B = d(
13
+ ({ text: c, isChecked: a, error: l, children: n, emitIsChecked: r, modalFontSize: s, ...b }, x) => /* @__PURE__ */ _("label", { className: t(e.checkboxLabel, { [e.error]: l }), children: [
14
14
  /* @__PURE__ */ o(
15
15
  m,
16
16
  {
17
17
  type: "checkbox",
18
18
  ...b,
19
- onChange: () => a && a(!l),
19
+ onChange: () => r && r(!a),
20
20
  ref: x
21
21
  }
22
22
  ),
23
- l && /* @__PURE__ */ o(
23
+ a && /* @__PURE__ */ o(
24
24
  i,
25
25
  {
26
26
  additionalClass: e.checkIcon,
@@ -33,9 +33,9 @@ const k = "_checkboxLabel_8850s_1", T = "_labelText_8850s_36", p = "_labelTextMo
33
33
  /* @__PURE__ */ o(
34
34
  "div",
35
35
  {
36
- className: s(e.labelText, { [e.labelTextModal]: n }, { [e.error]: r }),
36
+ className: t(e.labelText, { [e.labelTextModal]: s }, { [e.error]: l }),
37
37
  dangerouslySetInnerHTML: c ? { __html: c } : void 0,
38
- children: t
38
+ children: n
39
39
  }
40
40
  )
41
41
  ] })
@@ -0,0 +1 @@
1
+ export * from './ModalSuccess';
@@ -0,0 +1,4 @@
1
+ import { ModalSuccess as e } from "./ModalSuccess.js";
2
+ export {
3
+ e as ModalSuccess
4
+ };
@@ -1 +1 @@
1
- export { NewIcon } from './ui/NewIcon';
1
+ export { NewIcon, iconTypes } from './ui/NewIcon';
@@ -1,4 +1,5 @@
1
- import { NewIcon as r } from "./ui/NewIcon.js";
1
+ import { NewIcon as c, iconTypes as n } from "./ui/NewIcon.js";
2
2
  export {
3
- r as NewIcon
3
+ c as NewIcon,
4
+ n as iconTypes
4
5
  };
@@ -1,3 +1,3 @@
1
1
  import { ISwitcherProps } from './Switcher.types';
2
2
 
3
- export declare const Switcher: ({ children, isActive, onClick, isReverse, isBetween }: ISwitcherProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const Switcher: ({ children, isActive, onClick, isReverse, isBetween, dataTestId }: ISwitcherProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,23 +1,23 @@
1
- import { jsxs as a, jsx as p } from "react/jsx-runtime";
2
- import { useRef as o, useEffect as _ } from "react";
3
- import { c as d } from "../../../index-rKuIKazb.js";
4
- const v = "_switcherWrapper_1b1pd_29", h = "_switcherWrapperReverse_1b1pd_40", b = "_switcherWrapperBetween_1b1pd_44", W = "_swiper_1b1pd_48", l = "_swiperBackward_1b1pd_1", m = "_swiperActive_1b1pd_63", f = "_swiperForward_1b1pd_1", u = "_swiperInactive_1b1pd_68", I = "_swiperInitialize_1b1pd_73", P = "_swiperPoint_1b1pd_77", B = "_swiperPointActive_1b1pd_89", e = {
5
- switcherWrapper: v,
6
- switcherWrapperReverse: h,
7
- switcherWrapperBetween: b,
8
- swiper: W,
9
- swiperBackward: l,
10
- swiperActive: m,
11
- swiperForward: f,
12
- swiperInactive: u,
13
- swiperInitialize: I,
14
- swiperPoint: P,
15
- swiperPointActive: B
16
- }, s = d.bind(e), z = ({ children: t, isActive: i, onClick: c, isReverse: w, isBetween: n }) => {
17
- const r = o(!0);
18
- return _(() => {
1
+ import { jsxs as o, jsx as p } from "react/jsx-runtime";
2
+ import { useRef as _, useEffect as d } from "react";
3
+ import { c as v } from "../../../index-rKuIKazb.js";
4
+ const h = "_switcherWrapper_1b1pd_29", b = "_switcherWrapperReverse_1b1pd_40", W = "_switcherWrapperBetween_1b1pd_44", l = "_swiper_1b1pd_48", m = "_swiperBackward_1b1pd_1", f = "_swiperActive_1b1pd_63", u = "_swiperForward_1b1pd_1", I = "_swiperInactive_1b1pd_68", P = "_swiperInitialize_1b1pd_73", B = "_swiperPoint_1b1pd_77", A = "_swiperPointActive_1b1pd_89", e = {
5
+ switcherWrapper: h,
6
+ switcherWrapperReverse: b,
7
+ switcherWrapperBetween: W,
8
+ swiper: l,
9
+ swiperBackward: m,
10
+ swiperActive: f,
11
+ swiperForward: u,
12
+ swiperInactive: I,
13
+ swiperInitialize: P,
14
+ swiperPoint: B,
15
+ swiperPointActive: A
16
+ }, s = v.bind(e), F = ({ children: t, isActive: i, onClick: c, isReverse: w, isBetween: n, dataTestId: a }) => {
17
+ const r = _(!0);
18
+ return d(() => {
19
19
  r.current && (r.current = !1);
20
- }, []), /* @__PURE__ */ a(
20
+ }, []), /* @__PURE__ */ o(
21
21
  "div",
22
22
  {
23
23
  className: s(
@@ -36,6 +36,7 @@ const v = "_switcherWrapper_1b1pd_29", h = "_switcherWrapperReverse_1b1pd_40", b
36
36
  { [e.swiperInactive]: !i && !r.current }
37
37
  ),
38
38
  onClick: c,
39
+ "data-testid": a,
39
40
  children: /* @__PURE__ */ p("div", { className: s(e.swiperPoint, { [e.swiperPointActive]: i }) })
40
41
  }
41
42
  ),
@@ -45,5 +46,5 @@ const v = "_switcherWrapper_1b1pd_29", h = "_switcherWrapperReverse_1b1pd_40", b
45
46
  );
46
47
  };
47
48
  export {
48
- z as Switcher
49
+ F as Switcher
49
50
  };
@@ -5,4 +5,5 @@ export interface ISwitcherProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  onClick?: () => void;
6
6
  isReverse?: boolean;
7
7
  isBetween?: boolean;
8
+ dataTestId?: string;
8
9
  }
@@ -1,10 +1,10 @@
1
- import { jsxs as m, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as l, jsx as t } from "react/jsx-runtime";
2
2
  import { RoundButton as s } from "../../RoundButton/ui/RoundButton.js";
3
- const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", c = "_minusBtn_1gn8f_11", o = {
3
+ const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", a = "_minusBtn_1gn8f_11", o = {
4
4
  root: r,
5
5
  plusBtn: u,
6
- minusBtn: c
7
- }, _ = ({ size: n = "medium", zoomIn: i, zoomOut: l }) => /* @__PURE__ */ m("div", { className: o.root, children: [
6
+ minusBtn: a
7
+ }, B = ({ size: n = "medium", zoomIn: i, zoomOut: m }) => /* @__PURE__ */ l("div", { className: o.root, children: [
8
8
  /* @__PURE__ */ t(
9
9
  s,
10
10
  {
@@ -12,7 +12,8 @@ const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", c = "_minusBtn_1gn8f_11", o =
12
12
  size: n,
13
13
  color: "#141416",
14
14
  additionalClass: o.plusBtn,
15
- onClick: i
15
+ onClick: i,
16
+ "data-testid": "zoom-in"
16
17
  }
17
18
  ),
18
19
  /* @__PURE__ */ t(
@@ -22,10 +23,11 @@ const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", c = "_minusBtn_1gn8f_11", o =
22
23
  size: n,
23
24
  color: "#141416",
24
25
  additionalClass: o.minusBtn,
25
- onClick: l
26
+ onClick: m,
27
+ "data-testid": "zoom-out"
26
28
  }
27
29
  )
28
30
  ] });
29
31
  export {
30
- _ as ZoomControls
32
+ B as ZoomControls
31
33
  };