stone-kit 0.0.1105 → 0.0.1107
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.
- package/README.md +30 -0
- package/dist/App.d.ts +2 -0
- package/dist/App.js +10 -0
- package/dist/Option-DmDx_xOt.js +99 -0
- package/dist/PinTrans-D6OZq76b.js +10 -0
- package/dist/Router.d.ts +2 -0
- package/dist/Router.js +103 -0
- package/dist/SmallFilter-C-VKnbkP.js +10 -0
- package/dist/chunk-4WY6JWTD-BeveLKf_.js +1582 -0
- package/dist/components/Button/ui/Button.d.ts +1 -2
- package/dist/components/Button/ui/Button.js +74 -67
- package/dist/components/Button/ui/Button.types.d.ts +7 -5
- package/dist/components/Button/ui/Button.types.js +5 -3
- package/dist/components/CheckBox/CheckBox.d.ts +2 -0
- package/dist/components/CheckBox/CheckBox.js +84 -0
- package/dist/components/CheckBox/CheckBox.types.d.ts +17 -0
- package/dist/components/CheckBox/CheckBox.types.js +1 -0
- package/dist/components/CheckBox/index.d.ts +2 -0
- package/dist/components/CheckBox/index.js +4 -0
- package/dist/components/CheckBoxNew/CheckBox.types.d.ts +16 -0
- package/dist/components/CheckBoxNew/CheckBox.types.js +6 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.d.ts +11 -0
- package/dist/components/CheckBoxNew/CheckBoxNew.js +45 -0
- package/dist/components/CheckboxSelect/index.d.ts +1 -0
- package/dist/components/CheckboxSelect/index.js +4 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.d.ts +18 -0
- package/dist/components/CheckboxSelect/ui/CheckboxSelect.js +57 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.d.ts +2 -0
- package/dist/components/CommercialLotCard/CommercialLotCard.js +81 -0
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.d.ts +6 -0
- package/dist/components/CommercialLotCard/components/PaymentLink/PaymentLink.js +21 -0
- package/dist/components/CommercialLotCard/components/Price/Price.d.ts +9 -0
- package/dist/components/CommercialLotCard/components/Price/Price.js +39 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.d.ts +6 -0
- package/dist/components/CommercialLotCard/components/Snippets/Snippets.js +100 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.d.ts +7 -0
- package/dist/components/CommercialLotCard/components/Tags/Tags.js +37 -0
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.d.ts +10 -0
- package/dist/components/CommercialLotCard/types/CommercialLotCard.types.js +1 -0
- package/dist/components/CommercialLotCard/types/LotCard.d.ts +386 -0
- package/dist/components/CommercialLotCard/types/LotCard.js +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.d.ts +1 -0
- package/dist/components/CommercialLotCard/utils/formatPrice.js +8 -0
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.d.ts +4 -0
- package/dist/components/CommercialLotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/DestinationTab/ui/DestinationTab.d.ts +0 -1
- package/dist/components/DestinationTab/ui/DestinationTab.js +41 -41
- package/dist/components/DestinationTab/ui/DestinationTab.types.d.ts +0 -1
- package/dist/components/FavoriteIcon/FavoriteIcon.d.ts +7 -0
- package/dist/components/FavoriteIcon/FavoriteIcon.js +66 -0
- package/dist/components/FavoriteIcon/Heart.d.ts +3 -0
- package/dist/components/FavoriteIcon/Heart.js +24 -0
- package/dist/components/FavoriteIcon/HeartFilled.d.ts +5 -0
- package/dist/components/FavoriteIcon/HeartFilled.js +27 -0
- package/dist/components/FieldInput/ui/FieldInput.d.ts +1 -2
- package/dist/components/FieldInput/ui/FieldInput.js +28 -7
- package/dist/components/FieldInput/ui/FieldInput.types.d.ts +3 -1
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.d.ts +43 -0
- package/dist/components/FilterWithSave/hooks/useFilterWithSave.js +56 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.d.ts +29 -0
- package/dist/components/FilterWithSave/ui/FilterWithSave.js +325 -0
- package/dist/components/Flex/ui/Flex.d.ts +0 -1
- package/dist/components/Flex/ui/Flex.js +1 -1
- package/dist/components/Flex/ui/Flex.types.d.ts +0 -1
- package/dist/components/FormModal/ui/ModalForm.d.ts +60 -0
- package/dist/components/FormModal/ui/ModalForm.js +1518 -0
- package/dist/components/FormModal/utils/reg.d.ts +4 -0
- package/dist/components/FormModal/utils/reg.js +6 -0
- package/dist/components/GroupedInput/ui/GroupedInputs.d.ts +0 -1
- package/dist/components/GroupedInput/ui/GroupedInputs.js +5 -5
- package/dist/components/GroupedInput/ui/GroupedInputs.types.d.ts +0 -1
- package/dist/components/Input/ui/Input.d.ts +28 -0
- package/dist/components/Input/ui/Input.js +3247 -49
- package/dist/components/Input/ui/Input.types.d.ts +0 -23
- package/dist/components/Input/ui/Input.types.js +1 -7
- package/dist/components/Logo/ui/Logo.d.ts +1 -2
- package/dist/components/Logo/ui/Logo.js +58 -33
- package/dist/components/Logo/ui/Logo.types.d.ts +13 -1
- package/dist/components/Logo/ui/Logo.types.js +14 -1
- package/dist/components/LotCard/hooks/useLotCard.d.ts +25 -0
- package/dist/components/LotCard/hooks/useLotCard.js +13 -0
- package/dist/components/LotCard/ui/LotCard.d.ts +1 -2
- package/dist/components/LotCard/ui/LotCard.js +203 -104
- package/dist/components/LotCard/ui/LotCard.types.d.ts +234 -75
- package/dist/components/LotCard/utils/checkBedroomsCount.js +2 -2
- package/dist/components/LotCard/utils/const.d.ts +8 -0
- package/dist/components/LotCard/utils/const.js +11 -0
- package/dist/components/LotCard/utils/formatPrice.d.ts +1 -1
- package/dist/components/LotCard/utils/formatPrice.js +5 -6
- package/dist/components/LotCard/utils/getTagsFeatures.d.ts +4 -0
- package/dist/components/LotCard/utils/getTagsFeatures.js +13 -0
- package/dist/components/LotCard/utils/monthlyPayment.d.ts +1 -0
- package/dist/components/LotCard/utils/monthlyPayment.js +4 -0
- package/dist/components/LotCardSkeleton/index.d.ts +1 -0
- package/dist/components/LotCardSkeleton/index.js +4 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.d.ts +5 -0
- package/dist/components/LotCardSkeleton/ui/LotCardSkeleton.js +83 -0
- package/dist/components/MetroLabel/ui/MetroLabel.d.ts +0 -1
- package/dist/components/MetroLabel/ui/MetroLabel.js +19 -19
- package/dist/components/MetroLabel/ui/MetroLabel.types.d.ts +0 -1
- package/dist/components/MetroTag/ui/MetroTag.d.ts +1 -2
- package/dist/components/MetroTag/ui/MetroTag.js +121 -25
- package/dist/components/MetroTag/ui/MetroTag.types.d.ts +21 -6
- package/dist/components/Modal/ui/Modal.d.ts +2 -17
- package/dist/components/Modal/ui/Modal.js +63 -19594
- package/dist/components/Modal/ui/Modal.types.d.ts +21 -0
- package/dist/components/ModalSuccess/ModalSuccess.d.ts +2 -0
- package/dist/components/ModalSuccess/ModalSuccess.js +60 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.d.ts +8 -0
- package/dist/components/ModalSuccess/ModalSuccess.types.js +1 -0
- package/dist/components/ModalSuccess/index.d.ts +1 -0
- package/dist/components/ModalSuccess/index.js +4 -0
- package/dist/components/NewIcon/icons/PinTrans.d.ts +3 -0
- package/dist/components/NewIcon/icons/PinTrans.js +6 -0
- package/dist/components/NewIcon/icons/SmallFilter.d.ts +3 -0
- package/dist/components/NewIcon/icons/SmallFilter.js +6 -0
- package/dist/components/NewIcon/index.d.ts +1 -1
- package/dist/components/NewIcon/index.js +3 -2
- package/dist/components/NewIcon/ui/NewIcon.d.ts +2 -2
- package/dist/components/NewIcon/ui/NewIcon.js +204 -99
- package/dist/components/NewIcon/ui/NewIcon.types.d.ts +0 -1
- package/dist/components/NewIcon/ui/iconTypes.d.ts +3 -0
- package/dist/components/NewIcon/ui/iconTypes.js +60 -0
- package/dist/components/ProjectCardSkeleton/index.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/index.js +4 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.d.ts +1 -0
- package/dist/components/ProjectCardSkeleton/ui/ProjectCardSkeleton.js +32 -0
- package/dist/components/RoundButton/ui/RoundButton.d.ts +1 -2
- package/dist/components/RoundButton/ui/RoundButton.js +56 -45
- package/dist/components/RoundButton/ui/RoundButton.types.d.ts +10 -2
- package/dist/components/RoundButton/ui/RoundButton.types.js +13 -6
- package/dist/components/Select/model/selectMode.d.ts +16 -0
- package/dist/components/Select/model/selectMode.js +64 -0
- package/dist/components/Select/ui/Category.d.ts +13 -0
- package/dist/components/Select/ui/Category.js +79 -0
- package/dist/components/Select/ui/Option.d.ts +15 -0
- package/dist/components/Select/ui/Option.js +7 -0
- package/dist/components/Select/ui/Select.d.ts +1 -3
- package/dist/components/Select/ui/Select.js +196 -79
- package/dist/components/Select/ui/Select.types.d.ts +62 -6
- package/dist/components/SliderNavigation/index.d.ts +0 -1
- package/dist/components/SliderNavigation/ui/SliderNavigation.d.ts +1 -2
- package/dist/components/SliderNavigation/ui/SliderNavigation.js +45 -32
- package/dist/components/SliderNavigation/ui/SliderNavigation.types.d.ts +7 -0
- package/dist/components/SortSelect/hooks/useSortSelect.d.ts +5 -4
- package/dist/components/SortSelect/hooks/useSortSelect.js +2 -2
- package/dist/components/SortSelect/ui/SortSelect.d.ts +0 -1
- package/dist/components/SortSelect/ui/SortSelect.js +67 -56
- package/dist/components/SortSelect/ui/SortSelect.types.d.ts +9 -2
- package/dist/components/SummarySelect/index.d.ts +1 -0
- package/dist/components/SummarySelect/index.js +4 -0
- package/dist/components/SummarySelect/ui/SummarySelect.d.ts +15 -0
- package/dist/components/SummarySelect/ui/SummarySelect.js +172 -0
- package/dist/components/Switcher/ui/Switcher.d.ts +1 -2
- package/dist/components/Switcher/ui/Switcher.js +45 -30
- package/dist/components/Switcher/ui/Switcher.types.d.ts +3 -1
- package/dist/components/TabSelect/index.d.ts +1 -0
- package/dist/components/TabSelect/index.js +4 -0
- package/dist/components/TabSelect/ui/TabSelect.d.ts +32 -0
- package/dist/components/TabSelect/ui/TabSelect.js +64 -0
- package/dist/components/TabSelect/ui/TabSelect.types.d.ts +0 -0
- package/dist/components/TabSelect/ui/TabSelect.types.js +1 -0
- package/dist/components/TabSwitcher/ui/TabSwitcher.d.ts +4 -4
- package/dist/components/TabSwitcher/ui/TabSwitcher.js +114 -34
- package/dist/components/TabSwitcher/ui/TabSwitcher.types.d.ts +23 -4
- package/dist/components/Tag/ui/Tag.d.ts +1 -2
- package/dist/components/Tag/ui/Tag.js +96 -44
- package/dist/components/Tag/ui/Tag.types.d.ts +22 -2
- package/dist/components/Tag/ui/Tag.types.js +20 -3
- package/dist/components/Text/ui/Text.d.ts +1 -2
- package/dist/components/Text/ui/Text.js +20 -27
- package/dist/components/Text/ui/Text.types.d.ts +0 -1
- package/dist/components/TextArea/TextArea.d.ts +8 -0
- package/dist/components/TextArea/TextArea.js +25 -0
- package/dist/components/ZoomControls/index.d.ts +1 -0
- package/dist/components/ZoomControls/index.js +4 -0
- package/dist/components/ZoomControls/ui/ZoomControls.d.ts +2 -0
- package/dist/components/ZoomControls/ui/ZoomControls.js +33 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.d.ts +6 -0
- package/dist/components/ZoomControls/ui/ZoomControls.types.js +1 -0
- package/dist/components/mobileButton/ui/MobileButton.d.ts +0 -1
- package/dist/components/mobileButton/ui/MobileButton.js +38 -38
- package/dist/components/mobileButton/ui/MobileButton.types.d.ts +0 -1
- package/dist/index-BJwl9stn.js +33872 -0
- package/dist/index-YnD2EP-S.js +43 -0
- package/dist/layout/Layout.d.ts +5 -0
- package/dist/layout/Layout.js +11 -0
- package/dist/layout/components/Header/Header.d.ts +1 -0
- package/dist/layout/components/Header/Header.js +141 -0
- package/dist/layout/components/Menu.d.ts +1 -0
- package/dist/layout/components/Menu.js +109 -0
- package/dist/main.d.ts +14 -0
- package/dist/main.js +70 -42
- package/dist/pages/ButtonsPage/Buttons.d.ts +1 -0
- package/dist/pages/ButtonsPage/Buttons.js +106 -0
- package/dist/pages/CheckboxPage/CheckboxPage.d.ts +1 -0
- package/dist/pages/CheckboxPage/CheckboxPage.js +224 -0
- package/dist/pages/FormsPage/FormsPage.d.ts +2 -0
- package/dist/pages/FormsPage/FormsPage.js +58 -0
- package/dist/pages/HomePage/HomePage.d.ts +2 -0
- package/dist/pages/HomePage/HomePage.js +7 -0
- package/dist/pages/IconsPage/IconsPage.d.ts +1 -0
- package/dist/pages/IconsPage/IconsPage.js +19 -0
- package/dist/pages/InputPage/InputPage.d.ts +1 -0
- package/dist/pages/InputPage/InputPage.js +13 -0
- package/dist/pages/LogoPage/LogoPage.d.ts +1 -0
- package/dist/pages/LogoPage/LogoPage.js +16 -0
- package/dist/pages/LotsPage/LotsPage.d.ts +1 -0
- package/dist/pages/LotsPage/LotsPage.js +74 -0
- package/dist/pages/LotsPage/const.d.ts +4 -0
- package/dist/pages/LotsPage/const.js +678 -0
- package/dist/pages/ModalsPage/ModalPage.d.ts +2 -0
- package/dist/pages/ModalsPage/ModalPage.js +110 -0
- package/dist/pages/SelectPage/SelectPage.d.ts +1 -0
- package/dist/pages/SelectPage/SelectPage.js +211 -0
- package/dist/pages/SelectPage/const.d.ts +13 -0
- package/dist/pages/SelectPage/const.js +35 -0
- package/dist/pages/TabsPage/TabsPage.d.ts +2 -0
- package/dist/pages/TabsPage/TabsPage.js +168 -0
- package/dist/pages/TagsPage/TagsPage.d.ts +1 -0
- package/dist/pages/TagsPage/TagsPage.js +64 -0
- package/dist/shared/checkLargeOffice.d.ts +2 -0
- package/dist/shared/checkLargeOffice.js +4 -0
- package/dist/shared/deepEqual.d.ts +1 -0
- package/dist/shared/deepEqual.js +16 -0
- package/dist/shared/fmtNumber.d.ts +1 -0
- package/dist/shared/fmtNumber.js +4 -0
- package/dist/shared/mlnRound.d.ts +1 -0
- package/dist/shared/mlnRound.js +8 -0
- package/dist/shared/useClientWidth.d.ts +2 -0
- package/dist/shared/useClientWidth.js +6 -6
- package/dist/stone-kit.css +1 -0
- package/dist/stories/entities/CommercialLotCard/CommercialLotCard.stories.js +166 -0
- package/dist/stories/entities/index.js +4 -0
- package/dist/stories/shared/ui/Button/Button.stories.js +118 -0
- package/dist/stories/shared/ui/CheckBox/CheckBox.stories.js +71 -0
- package/dist/stories/shared/ui/CheckBox/CheckBoxNew.stories.js +45 -0
- package/dist/stories/shared/ui/CheckboxSelect/CheckboxSelect.stories.js +114 -0
- package/dist/stories/shared/ui/DestinationTab/DestinationTab.stories.js +89 -0
- package/dist/stories/shared/ui/FieldInput/FieldInput.stories.js +31 -0
- package/dist/stories/shared/ui/FilterWithSave/FilterWithSave.stories.js +44 -0
- package/dist/stories/shared/ui/Flex/Flex.stories.js +74 -0
- package/dist/stories/shared/ui/FormModal/FormModal.stories.js +65 -0
- package/dist/stories/shared/ui/GroupedInput/GroupedInput.stories.js +68 -0
- package/dist/stories/shared/ui/Input/Input.stories.js +82 -0
- package/dist/stories/shared/ui/Logo/Logo.stories.js +75 -0
- package/dist/stories/shared/ui/MetroLabel/MetroLabel.stories.js +91 -0
- package/dist/stories/shared/ui/MetroTag/MetroTag.stories.js +96 -0
- package/dist/stories/shared/ui/MobileButton/MobileButton.stories.js +77 -0
- package/dist/stories/shared/ui/Modal/Modal.stories.js +77 -0
- package/dist/stories/shared/ui/ModalSuccess/ModalSuccess.stories.js +34 -0
- package/dist/stories/shared/ui/NewIcon/NewIcon.stories.js +38 -0
- package/dist/stories/shared/ui/RoundButton/RoundButton.stories.js +83 -0
- package/dist/stories/shared/ui/Select/Select.stories.js +81 -0
- package/dist/stories/shared/ui/SliderNavigation/SliderNavigation.stories.js +82 -0
- package/dist/stories/shared/ui/SortSelect/SortSelect.stories.js +87 -0
- package/dist/stories/shared/ui/SummarySelect/SummarySelect.stories.js +85 -0
- package/dist/stories/shared/ui/Switcher/Switcher.stories.js +77 -0
- package/dist/stories/shared/ui/TabSelect/TabSelect.stories.js +76 -0
- package/dist/stories/shared/ui/TabSwitcher/TabSwitcher.stories.js +76 -0
- package/dist/stories/shared/ui/Tag/Tag.stories.js +51 -0
- package/dist/stories/shared/ui/Text/Text.stories.js +22 -0
- package/dist/stories/shared/ui/TextArea/TextArea.stories.js +37 -0
- package/dist/stories/shared/ui/ZoomControls/ZoomControls.stories.js +91 -0
- package/dist/stories/shared/ui/index.js +62 -0
- package/dist/useLotCard-D-gK4J_o.js +186 -0
- package/dist/useSortSelect-IeonkD5d.js +79 -0
- package/package.json +39 -30
- package/dist/index-DIxK0V-G.js +0 -44
- package/dist/style.css +0 -1
- package/dist/useSortSelect-A7A_pNcU.js +0 -76
|
@@ -1,43 +1,123 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
root:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
import { jsx as s, jsxs as S } from "react/jsx-runtime";
|
|
2
|
+
import { c as W } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
import { useClientWidth as $ } from "../../../shared/useClientWidth.js";
|
|
4
|
+
import { Text as D } from "../../Text/ui/Text.js";
|
|
5
|
+
const M = "_root_1qhai_1", j = "_text_1qhai_18", G = "_textMini_1qhai_26", k = "_rootCol_1qhai_32", v = "_item_1qhai_38", O = "_whiteRow_1qhai_57", A = "_firstItem_1qhai_68", B = "_lastItem_1qhai_72", E = "_whiteRowGrayLabel_1qhai_103", F = "_labelItem_1qhai_118", H = "_outlined_1qhai_147", J = "_apart_1qhai_204", K = "_isLong_1qhai_204", P = "_autoWidth_1qhai_219", Q = "_mini_1qhai_233", U = "_isDisabled_1qhai_241", V = "_grayRow_1qhai_265", e = {
|
|
6
|
+
root: M,
|
|
7
|
+
text: j,
|
|
8
|
+
textMini: G,
|
|
9
|
+
rootCol: k,
|
|
10
|
+
item: v,
|
|
11
|
+
whiteRow: O,
|
|
12
|
+
firstItem: A,
|
|
13
|
+
lastItem: B,
|
|
14
|
+
whiteRowGrayLabel: E,
|
|
15
|
+
labelItem: F,
|
|
16
|
+
outlined: H,
|
|
17
|
+
apart: J,
|
|
18
|
+
isLong: K,
|
|
19
|
+
autoWidth: P,
|
|
20
|
+
mini: Q,
|
|
21
|
+
isDisabled: U,
|
|
22
|
+
grayRow: V,
|
|
23
|
+
"tiny-size": "_tiny-size_1qhai_293",
|
|
24
|
+
"small-size": "_small-size_1qhai_298",
|
|
25
|
+
"medium-size": "_medium-size_1qhai_303",
|
|
26
|
+
"large-size": "_large-size_1qhai_308",
|
|
27
|
+
"text-tiny-size": "_text-tiny-size_1qhai_313",
|
|
28
|
+
"text-small-size": "_text-small-size_1qhai_319",
|
|
29
|
+
"text-medium-size": "_text-medium-size_1qhai_324",
|
|
30
|
+
"text-large-size": "_text-large-size_1qhai_329",
|
|
31
|
+
"small-size_m": "_small-size_m_1qhai_335",
|
|
32
|
+
"medium-size_m": "_medium-size_m_1qhai_339",
|
|
33
|
+
"large-size_m": "_large-size_m_1qhai_343",
|
|
34
|
+
"text-small-size_m": "_text-small-size_m_1qhai_347",
|
|
35
|
+
"text-medium-size_m": "_text-medium-size_m_1qhai_351",
|
|
36
|
+
"text-large-size_m": "_text-large-size_m_1qhai_355",
|
|
37
|
+
"small-size_l": "_small-size_l_1qhai_370",
|
|
38
|
+
"medium-size_l": "_medium-size_l_1qhai_374",
|
|
39
|
+
"large-size_l": "_large-size_l_1qhai_378",
|
|
40
|
+
"text-small-size_l": "_text-small-size_l_1qhai_382",
|
|
41
|
+
"text-medium-size_l": "_text-medium-size_l_1qhai_386",
|
|
42
|
+
"text-large-size_l": "_text-large-size_l_1qhai_390"
|
|
43
|
+
}, _ = W.bind(e), X = ({
|
|
44
|
+
children: a,
|
|
45
|
+
variant: l = "whiteRow",
|
|
46
|
+
isApart: m = !1,
|
|
47
|
+
addClassName: i = "",
|
|
48
|
+
col: t = !1
|
|
49
|
+
}) => /* @__PURE__ */ s("div", { className: _(e.root, e[l], { [e.rootCol]: t, [e.apart]: m }, i), children: a }), g = (a) => {
|
|
50
|
+
const { isTablet: l, isDesktop: m } = $(), {
|
|
51
|
+
index: i,
|
|
52
|
+
children: t,
|
|
53
|
+
addItemClassName: u,
|
|
54
|
+
addLabelClassname: w,
|
|
55
|
+
addTextClass: b,
|
|
56
|
+
size_s: h = "large",
|
|
57
|
+
size_m: r,
|
|
58
|
+
size_l: d,
|
|
59
|
+
disabled: z = !1,
|
|
60
|
+
itemsLength: I = 0,
|
|
61
|
+
isLongOn: f = !0,
|
|
62
|
+
width: c,
|
|
63
|
+
width_m: o,
|
|
64
|
+
width_l: n,
|
|
65
|
+
mini: x = !1,
|
|
66
|
+
dataTestId: p,
|
|
67
|
+
ref: y,
|
|
68
|
+
...L
|
|
69
|
+
} = a, q = (t?.toString().length ? t?.toString().length > 2 : !1) && f, R = (C, N) => C && o ? o : N && n ? n : c, T = !c && !o && !n && q;
|
|
70
|
+
return /* @__PURE__ */ S("label", { className: _(e.labelItem, { [e.isLong]: q }, w), children: [
|
|
71
|
+
/* @__PURE__ */ s(
|
|
29
72
|
"input",
|
|
30
73
|
{
|
|
31
|
-
ref:
|
|
74
|
+
ref: y,
|
|
32
75
|
type: "checkbox",
|
|
33
|
-
...
|
|
76
|
+
...L,
|
|
77
|
+
disabled: z
|
|
34
78
|
}
|
|
35
79
|
),
|
|
36
|
-
/* @__PURE__ */
|
|
80
|
+
/* @__PURE__ */ s(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
style: { width: R(l, m) },
|
|
84
|
+
"data-testid": p,
|
|
85
|
+
className: _(
|
|
86
|
+
e.item,
|
|
87
|
+
{
|
|
88
|
+
[e.firstItem]: i === 0,
|
|
89
|
+
[e.lastItem]: i === I - 1,
|
|
90
|
+
[e.isDisabled]: z,
|
|
91
|
+
[e.autoWidth]: T,
|
|
92
|
+
[e.mini]: x
|
|
93
|
+
},
|
|
94
|
+
e[`${h}-size`],
|
|
95
|
+
e[`${r}-size_m`],
|
|
96
|
+
e[`${d}-size_l`],
|
|
97
|
+
u
|
|
98
|
+
),
|
|
99
|
+
children: /* @__PURE__ */ s(
|
|
100
|
+
D,
|
|
101
|
+
{
|
|
102
|
+
className: _(
|
|
103
|
+
e.text,
|
|
104
|
+
e[`text-${h}-size`],
|
|
105
|
+
e[`text-${r}-size_m`],
|
|
106
|
+
e[`text-${d}-size_l`],
|
|
107
|
+
{ [e.textMini]: x },
|
|
108
|
+
b
|
|
109
|
+
),
|
|
110
|
+
children: t
|
|
111
|
+
}
|
|
112
|
+
)
|
|
113
|
+
}
|
|
114
|
+
)
|
|
37
115
|
] });
|
|
116
|
+
};
|
|
117
|
+
g.displayName = "TabSwitcherItem";
|
|
118
|
+
const ie = Object.assign(X, {
|
|
119
|
+
Item: g
|
|
38
120
|
});
|
|
39
|
-
l.displayName = "TabSwitcherItem";
|
|
40
|
-
const v = Object.assign(R, { Item: l });
|
|
41
121
|
export {
|
|
42
|
-
|
|
122
|
+
ie as TabSwitcher
|
|
43
123
|
};
|
|
@@ -1,16 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
declare const TAB_SWITCHER_VARIANTS: {
|
|
3
3
|
whiteRow: string;
|
|
4
|
+
grayRow: string;
|
|
5
|
+
whiteRowGrayLabel: string;
|
|
6
|
+
outlined: string;
|
|
4
7
|
};
|
|
5
|
-
type
|
|
6
|
-
export interface ITabSwitcherItem extends
|
|
8
|
+
type TabSizes = 'medium' | 'small' | 'large' | 'tiny';
|
|
9
|
+
export interface ITabSwitcherItem extends React.ComponentPropsWithRef<'input'> {
|
|
7
10
|
addItemClassName?: string;
|
|
11
|
+
addTextClass?: string;
|
|
12
|
+
addLabelClassname?: string;
|
|
13
|
+
index: number;
|
|
14
|
+
isDisabled?: boolean;
|
|
15
|
+
itemsLength: number;
|
|
16
|
+
width?: string;
|
|
17
|
+
width_m?: string;
|
|
18
|
+
mini?: boolean;
|
|
19
|
+
width_l?: string;
|
|
20
|
+
dataTestId?: string;
|
|
21
|
+
children?: ReactNode;
|
|
22
|
+
isLongOn?: boolean;
|
|
23
|
+
size_s?: TabSizes;
|
|
24
|
+
size_m?: TabSizes;
|
|
25
|
+
size_l?: TabSizes;
|
|
8
26
|
}
|
|
9
27
|
export interface TabSwitcherProps {
|
|
10
|
-
children?: React.ReactElement<HTMLButtonElement> | React.ReactElement<HTMLButtonElement>[];
|
|
11
28
|
variant?: TABS_VARIANTS;
|
|
12
29
|
addClassName?: string;
|
|
30
|
+
isApart?: boolean;
|
|
13
31
|
col?: boolean;
|
|
32
|
+
children: React.ReactElement[];
|
|
14
33
|
}
|
|
15
34
|
export type TABS_VARIANTS = keyof typeof TAB_SWITCHER_VARIANTS;
|
|
16
35
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './Tag.types';
|
|
3
|
-
|
|
4
|
-
export declare const Tag: ({ size, size_m, size_l, children, variant, width, additionalClass, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Tag: ({ size, size_m, size_l, children, variant, width, additionalClass, fontWeight, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,55 +1,107 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
const o = "
|
|
1
|
+
import { jsx as z } from "react/jsx-runtime";
|
|
2
|
+
import { c as h } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
const o = "_tagCommon_18las_1", y = "_red_18las_149", p = "_gray_18las_155", g = "_shade_18las_161", x = "_blackGrey_18las_167", c = "_blackWhite_18las_173", d = "_gray5_18las_179", u = "_gray8_18las_185", k = "_chineseBlack_18las_191", G = "_white_18las_198", f = "_fullWhite_18las_205", W = "_shadeWhite_18las_212", w = "_transparent_18las_222", b = "_transWhite_18las_229", L = "_neutralGray6_18las_239", T = "_whiteGrayStroke_18las_245", B = "_whiteGray_18las_245", S = "_lightGray_18las_259", $ = "_black_18las_167", C = "_blackStroke_18las_271", N = "_darkGray_18las_278", j = "_lightBlue_18las_283", v = "_lightGrayTrans_18las_289", q = "_whiteGrayTrans_18las_295", A = "_preLarge_size_m_18las_342", _ = {
|
|
4
4
|
tagCommon: o,
|
|
5
|
-
"auto-width": "_auto-
|
|
6
|
-
"full-width": "_full-
|
|
7
|
-
"medium-size": "_medium-
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"small-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
5
|
+
"auto-width": "_auto-width_18las_21",
|
|
6
|
+
"full-width": "_full-width_18las_25",
|
|
7
|
+
"medium-size": "_medium-size_18las_29",
|
|
8
|
+
"mini-size": "_mini-size_18las_37",
|
|
9
|
+
"mini-12px-size": "_mini-12px-size_18las_45",
|
|
10
|
+
"tiny-size": "_tiny-size_18las_53",
|
|
11
|
+
"small-size": "_small-size_18las_61",
|
|
12
|
+
"preLarge-size": "_preLarge-size_18las_69",
|
|
13
|
+
"large-size": "_large-size_18las_77",
|
|
14
|
+
"tiny-7px-size": "_tiny-7px-size_18las_85",
|
|
15
|
+
"tiny-10px-size": "_tiny-10px-size_18las_93",
|
|
16
|
+
"tiny-12px-size": "_tiny-12px-size_18las_101",
|
|
17
|
+
"small-10px-size": "_small-10px-size_18las_109",
|
|
18
|
+
"small-13px-size": "_small-13px-size_18las_117",
|
|
19
|
+
"small-font-14-size": "_small-font-14-size_18las_125",
|
|
20
|
+
"extra-small-size": "_extra-small-size_18las_133",
|
|
21
|
+
"small-height-28px-size": "_small-height-28px-size_18las_141",
|
|
22
|
+
red: y,
|
|
23
|
+
gray: p,
|
|
24
|
+
shade: g,
|
|
25
|
+
blackGrey: x,
|
|
26
|
+
blackWhite: c,
|
|
27
|
+
gray5: d,
|
|
28
|
+
gray8: u,
|
|
29
|
+
chineseBlack: k,
|
|
30
|
+
white: G,
|
|
31
|
+
fullWhite: f,
|
|
32
|
+
shadeWhite: W,
|
|
33
|
+
transparent: w,
|
|
34
|
+
transWhite: b,
|
|
35
|
+
neutralGray6: L,
|
|
36
|
+
whiteGrayStroke: T,
|
|
37
|
+
whiteGray: B,
|
|
38
|
+
lightGray: S,
|
|
39
|
+
black: $,
|
|
40
|
+
blackStroke: C,
|
|
41
|
+
darkGray: N,
|
|
42
|
+
lightBlue: j,
|
|
43
|
+
lightGrayTrans: v,
|
|
44
|
+
whiteGrayTrans: q,
|
|
45
|
+
"tiny-fontWeight": "_tiny-fontWeight_18las_301",
|
|
46
|
+
"medium-fontWeight": "_medium-fontWeight_18las_305",
|
|
47
|
+
"large-fontWeight": "_large-fontWeight_18las_309",
|
|
48
|
+
"mini-size_m": "_mini-size_m_18las_314",
|
|
49
|
+
"tiny-size_m": "_tiny-size_m_18las_321",
|
|
50
|
+
"medium-size_m": "_medium-size_m_18las_328",
|
|
51
|
+
"small-size_m": "_small-size_m_18las_335",
|
|
52
|
+
preLarge_size_m: A,
|
|
53
|
+
"large-size_m": "_large-size_m_18las_349",
|
|
54
|
+
"tiny-7px-size_m": "_tiny-7px-size_m_18las_356",
|
|
55
|
+
"tiny-10px-size_m": "_tiny-10px-size_m_18las_363",
|
|
56
|
+
"tiny-12px-size_m": "_tiny-12px-size_m_18las_370",
|
|
57
|
+
"small-10px-size_m": "_small-10px-size_m_18las_377",
|
|
58
|
+
"small-13px-size_m": "_small-13px-size_m_18las_384",
|
|
59
|
+
"small-font-14-size_m": "_small-font-14-size_m_18las_391",
|
|
60
|
+
"mini-12px-size_m": "_mini-12px-size_m_18las_398",
|
|
61
|
+
"extra-small-size_m": "_extra-small-size_m_18las_405",
|
|
62
|
+
"small-height-28px-size_m": "_small-height-28px-size_m_18las_412",
|
|
63
|
+
"mini-size_l": "_mini-size_l_18las_421",
|
|
64
|
+
"tiny-size_l": "_tiny-size_l_18las_428",
|
|
65
|
+
"medium-size_l": "_medium-size_l_18las_435",
|
|
66
|
+
"small-size_l": "_small-size_l_18las_442",
|
|
67
|
+
"preLarge-size_l": "_preLarge-size_l_18las_449",
|
|
68
|
+
"large-size_l": "_large-size_l_18las_456",
|
|
69
|
+
"tiny-7px-size_l": "_tiny-7px-size_l_18las_463",
|
|
70
|
+
"tiny-10px-size_l": "_tiny-10px-size_l_18las_470",
|
|
71
|
+
"tiny-12px-size_l": "_tiny-12px-size_l_18las_477",
|
|
72
|
+
"small-10px-size_l": "_small-10px-size_l_18las_484",
|
|
73
|
+
"small-13px-size_l": "_small-13px-size_l_18las_491",
|
|
74
|
+
"small-font-14-size_l": "_small-font-14-size_l_18las_498",
|
|
75
|
+
"mini-12px-size_l": "_mini-12px-size_l_18las_505",
|
|
76
|
+
"extra-small-size_l": "_extra-small-size_l_18las_512",
|
|
77
|
+
"small-height-28px-size_l": "_small-height-28px-size_l_18las_519"
|
|
78
|
+
}, D = h.bind(_), H = ({
|
|
79
|
+
size: s = "medium",
|
|
80
|
+
size_m: l,
|
|
81
|
+
size_l: a,
|
|
82
|
+
children: i = "",
|
|
83
|
+
variant: e = "gray",
|
|
84
|
+
width: t = "auto",
|
|
85
|
+
additionalClass: m = "",
|
|
86
|
+
fontWeight: n = "medium",
|
|
36
87
|
...r
|
|
37
|
-
}) => /* @__PURE__ */
|
|
88
|
+
}) => /* @__PURE__ */ z(
|
|
38
89
|
"div",
|
|
39
90
|
{
|
|
40
|
-
className:
|
|
91
|
+
className: D(
|
|
41
92
|
_.tagCommon,
|
|
42
|
-
_[`${
|
|
43
|
-
_[`${
|
|
44
|
-
_[`${
|
|
45
|
-
_[`${
|
|
46
|
-
_[`${
|
|
47
|
-
|
|
93
|
+
_[`${s}-size`],
|
|
94
|
+
_[`${l}-size_m`],
|
|
95
|
+
_[`${a}-size_l`],
|
|
96
|
+
_[`${e}`],
|
|
97
|
+
_[`${t}-width`],
|
|
98
|
+
_[`${n}-fontWeight`],
|
|
99
|
+
m
|
|
48
100
|
),
|
|
49
101
|
...r,
|
|
50
|
-
children:
|
|
102
|
+
children: i
|
|
51
103
|
}
|
|
52
104
|
);
|
|
53
105
|
export {
|
|
54
|
-
|
|
106
|
+
H as Tag
|
|
55
107
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
|
|
3
2
|
type tagWidth = 'auto' | 'full';
|
|
4
3
|
export declare const TAG_VARIANTS: {
|
|
5
4
|
red: string;
|
|
@@ -8,9 +7,26 @@ export declare const TAG_VARIANTS: {
|
|
|
8
7
|
shade: string;
|
|
9
8
|
blackGrey: string;
|
|
10
9
|
chineseBlack: string;
|
|
10
|
+
fullWhite: string;
|
|
11
|
+
transparent: string;
|
|
12
|
+
shadeWhite: string;
|
|
13
|
+
transWhite: string;
|
|
14
|
+
whiteGrayStroke: string;
|
|
15
|
+
blackStroke: string;
|
|
16
|
+
lightBlue: string;
|
|
17
|
+
lightGray: string;
|
|
18
|
+
whiteGray: string;
|
|
19
|
+
darkGray: string;
|
|
20
|
+
lightGrayTrans: string;
|
|
21
|
+
whiteGrayTrans: string;
|
|
22
|
+
neutralGray6: string;
|
|
23
|
+
gray5: string;
|
|
24
|
+
gray8: string;
|
|
25
|
+
black: string;
|
|
26
|
+
blackWhite: string;
|
|
11
27
|
};
|
|
12
28
|
export type tagVariant = keyof typeof TAG_VARIANTS;
|
|
13
|
-
type tagSizes = 'medium' | 'tiny' | 'large' | 'small' | 'preLarge';
|
|
29
|
+
type tagSizes = 'medium' | 'tiny' | 'large' | 'small' | 'preLarge' | 'mini' | 'mini-12px' | 'tiny-7px' | 'tiny-10px' | 'tiny-12px' | 'small-10px' | 'small-13px' | 'small-font-14' | 'extra-small' | 'small-height-28px';
|
|
14
30
|
interface TagProps {
|
|
15
31
|
size?: tagSizes;
|
|
16
32
|
size_m?: tagSizes;
|
|
@@ -19,6 +35,10 @@ interface TagProps {
|
|
|
19
35
|
variant?: tagVariant;
|
|
20
36
|
width?: tagWidth;
|
|
21
37
|
additionalClass?: string;
|
|
38
|
+
/**
|
|
39
|
+
* tiny = 300, medium = 400, large = 500
|
|
40
|
+
*/
|
|
41
|
+
fontWeight?: 'medium' | 'tiny' | 'large';
|
|
22
42
|
}
|
|
23
43
|
export type ComponentProps = TagProps & React.HTMLAttributes<HTMLDivElement>;
|
|
24
44
|
export {};
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a = {
|
|
2
2
|
red: "red",
|
|
3
3
|
gray: "gray",
|
|
4
4
|
white: "white",
|
|
5
5
|
shade: "shade",
|
|
6
6
|
blackGrey: "blackGrey",
|
|
7
|
-
chineseBlack: "chineseBlack"
|
|
7
|
+
chineseBlack: "chineseBlack",
|
|
8
|
+
fullWhite: "fullWhite",
|
|
9
|
+
transparent: "transparent",
|
|
10
|
+
shadeWhite: "shadeWhite",
|
|
11
|
+
transWhite: "transWhite",
|
|
12
|
+
whiteGrayStroke: "whiteGrayStroke",
|
|
13
|
+
blackStroke: "blackStroke",
|
|
14
|
+
lightBlue: "lightBlue",
|
|
15
|
+
lightGray: "lightGray",
|
|
16
|
+
whiteGray: "whiteGray",
|
|
17
|
+
darkGray: "darkGray",
|
|
18
|
+
lightGrayTrans: "lightGrayTrans",
|
|
19
|
+
whiteGrayTrans: "whiteGrayTrans",
|
|
20
|
+
neutralGray6: "neutralGray6",
|
|
21
|
+
gray5: "gray5",
|
|
22
|
+
gray8: "gray8",
|
|
23
|
+
black: "black",
|
|
24
|
+
blackWhite: "blackWhite"
|
|
8
25
|
};
|
|
9
26
|
export {
|
|
10
|
-
|
|
27
|
+
a as TAG_VARIANTS
|
|
11
28
|
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ITextProps } from './Text.types';
|
|
2
|
-
|
|
3
|
-
export declare const Text: ({ children, className, additionalClass, html, html_l, html_m, html_s, ...rest }: ITextProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Text: ({ children, className, additionalClass, html, ...rest }: ITextProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +1,22 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
{
|
|
21
|
-
className: f(r.root, o, t),
|
|
22
|
-
...c,
|
|
23
|
-
dangerouslySetInnerHTML: { __html: b() }
|
|
24
|
-
}
|
|
25
|
-
);
|
|
26
|
-
};
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { c as _ } from "../../../index-YnD2EP-S.js";
|
|
3
|
+
const i = "_root_wkh0k_1", o = {
|
|
4
|
+
root: i
|
|
5
|
+
}, e = _.bind(o), f = ({ children: m, className: r, additionalClass: t = "", html: s, ...n }) => s ? /* @__PURE__ */ c(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
className: e(o.root, r, t),
|
|
9
|
+
...n,
|
|
10
|
+
dangerouslySetInnerHTML: { __html: s }
|
|
11
|
+
}
|
|
12
|
+
) : /* @__PURE__ */ c(
|
|
13
|
+
"div",
|
|
14
|
+
{
|
|
15
|
+
className: e(o.root, r, t),
|
|
16
|
+
...n,
|
|
17
|
+
children: m
|
|
18
|
+
}
|
|
19
|
+
);
|
|
27
20
|
export {
|
|
28
|
-
|
|
21
|
+
f as Text
|
|
29
22
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
type textAreaWidth = 'auto' | 'full';
|
|
3
|
+
interface ITextArea extends React.ComponentPropsWithRef<'textarea'> {
|
|
4
|
+
width?: textAreaWidth;
|
|
5
|
+
additionalClass?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const TextArea: ({ width, additionalClass, children, ref, ...props }: ITextArea) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { c as _ } from "../../index-YnD2EP-S.js";
|
|
3
|
+
const c = "_root_v6f19_12", t = {
|
|
4
|
+
"auto-width": "_auto-width_v6f19_1",
|
|
5
|
+
"full-width": "_full-width_v6f19_6",
|
|
6
|
+
root: c
|
|
7
|
+
}, n = _.bind(t), d = ({
|
|
8
|
+
width: o = "auto",
|
|
9
|
+
additionalClass: r = "",
|
|
10
|
+
children: s = "",
|
|
11
|
+
ref: e,
|
|
12
|
+
...a
|
|
13
|
+
}) => /* @__PURE__ */ i(
|
|
14
|
+
"textarea",
|
|
15
|
+
{
|
|
16
|
+
className: n(t.root, t[`${o}-width`], r),
|
|
17
|
+
ref: e,
|
|
18
|
+
style: { resize: "none" },
|
|
19
|
+
...a,
|
|
20
|
+
children: s
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
d as TextArea
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ZoomControls } from './ui/ZoomControls';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { jsxs as l, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { RoundButton as s } from "../../RoundButton/ui/RoundButton.js";
|
|
3
|
+
const r = "_root_1gn8f_1", u = "_plusBtn_1gn8f_6", a = "_minusBtn_1gn8f_11", o = {
|
|
4
|
+
root: r,
|
|
5
|
+
plusBtn: u,
|
|
6
|
+
minusBtn: a
|
|
7
|
+
}, B = ({ size: n = "medium", zoomIn: i, zoomOut: m }) => /* @__PURE__ */ l("div", { className: o.root, children: [
|
|
8
|
+
/* @__PURE__ */ t(
|
|
9
|
+
s,
|
|
10
|
+
{
|
|
11
|
+
iconName: "plus",
|
|
12
|
+
size: n,
|
|
13
|
+
color: "#141416",
|
|
14
|
+
additionalClass: o.plusBtn,
|
|
15
|
+
onClick: i,
|
|
16
|
+
"data-testid": "zoom-in"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
/* @__PURE__ */ t(
|
|
20
|
+
s,
|
|
21
|
+
{
|
|
22
|
+
iconName: "minus",
|
|
23
|
+
size: n,
|
|
24
|
+
color: "#141416",
|
|
25
|
+
additionalClass: o.minusBtn,
|
|
26
|
+
onClick: m,
|
|
27
|
+
"data-testid": "zoom-out"
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
] });
|
|
31
|
+
export {
|
|
32
|
+
B as ZoomControls
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { ComponentProps } from './MobileButton.types';
|
|
3
|
-
|
|
4
3
|
export declare const MobileButton: ({ size, pre, children, post, variant, width, additionalClass, ...props }: React.PropsWithChildren<ComponentProps>) => import("react/jsx-runtime").JSX.Element;
|