@lanaco/lnc-react-ui 4.0.206 → 4.0.207
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/BREAKPOINTS.md +148 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +6 -6
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +8 -8
- package/dist/ActionsToolbar.cjs +15 -4
- package/dist/ActionsToolbar.js +58 -46
- package/dist/AdBannerSection.cjs +4 -4
- package/dist/AdBannerSection.js +5 -5
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +12 -12
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +5 -5
- package/dist/BannerNextSection.cjs +2 -2
- package/dist/BannerNextSection.js +13 -13
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +22 -22
- package/dist/BannerSectionCarousel.cjs +27 -6
- package/dist/BannerSectionCarousel.js +71 -50
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +13 -13
- package/dist/BannerSectionSimple.cjs +15 -15
- package/dist/BannerSectionSimple.js +40 -40
- package/dist/BannerSectionWithList.cjs +7 -7
- package/dist/BannerSectionWithList.js +20 -20
- package/dist/BannerSectionWithListImage.cjs +6 -9
- package/dist/BannerSectionWithListImage.js +17 -20
- package/dist/BlogCardsSponsoredSection.cjs +7 -5
- package/dist/BlogCardsSponsoredSection.js +32 -30
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +60 -60
- package/dist/BlogImagePathSection.cjs +3 -14
- package/dist/BlogImagePathSection.js +27 -39
- package/dist/BlogListSection.cjs +6 -6
- package/dist/BlogListSection.js +32 -32
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +3 -3
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +3 -3
- package/dist/BlogSingleSection.js +12 -12
- package/dist/BlogsSectionDetailed.cjs +14 -6
- package/dist/BlogsSectionDetailed.js +53 -45
- package/dist/BlogsSectionLarge.cjs +13 -5
- package/dist/BlogsSectionLarge.js +48 -40
- package/dist/BlogsSectionSimple.cjs +14 -9
- package/dist/BlogsSectionSimple.js +43 -38
- package/dist/BlogsSectionSimpleCentered.cjs +17 -8
- package/dist/BlogsSectionSimpleCentered.js +68 -59
- package/dist/BlogsSectionWithFilters.cjs +16 -11
- package/dist/BlogsSectionWithFilters.js +43 -38
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +13 -13
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +16 -16
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +15 -15
- package/dist/CalorieCalculatorSection.js +84 -84
- package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
- package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +14 -14
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +5 -5
- package/dist/ContactSection.cjs +4 -4
- package/dist/ContactSection.js +72 -72
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +67 -67
- package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
- package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
- package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
- package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
- package/dist/DateInput.cjs +6 -6
- package/dist/DateInput.js +646 -645
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
- package/dist/DetailedProductsInfinitiveSection.js +71 -65
- package/dist/DetailedProductsSection.cjs +7 -3
- package/dist/DetailedProductsSection.js +55 -51
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +13 -13
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +7 -7
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +8 -8
- package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
- package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +52 -52
- package/dist/FeedbackSection.cjs +3 -3
- package/dist/FeedbackSection.js +15 -15
- package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
- package/dist/FieldOfInterestsMasonrySection.js +73 -67
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
- package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +14 -8
- package/dist/GeneralWithTagsCardsSection.js +31 -25
- package/dist/GiftCardsSection.cjs +15 -7
- package/dist/GiftCardsSection.js +44 -36
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +4 -4
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +4 -4
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
- package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +5 -5
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +9 -9
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +3 -3
- package/dist/LoanCalculatorSection.js +17 -17
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +13 -6
- package/dist/LocationSearchSection.js +34 -27
- package/dist/MasonryGeneralCardsSection.cjs +13 -9
- package/dist/MasonryGeneralCardsSection.js +34 -30
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +14 -14
- package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
- package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
- package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +9 -9
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +7 -7
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +5 -5
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +8 -8
- package/dist/OverlayGeneralCardsSection.cjs +19 -31
- package/dist/OverlayGeneralCardsSection.js +51 -63
- package/dist/PartnerBannerSection.cjs +2 -2
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +2 -2
- package/dist/PartnerBrandsSection.js +24 -17
- package/dist/PartnerCardsSection.cjs +3 -3
- package/dist/PartnerCardsSection.js +18 -18
- package/dist/PartnerStatsSection.cjs +2 -2
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +19 -19
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +20 -10
- package/dist/ProductsWithBannerSection.js +79 -69
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +5 -5
- package/dist/QuattroCardsSection.cjs +8 -6
- package/dist/QuattroCardsSection.js +19 -17
- package/dist/QuizSection.cjs +9 -9
- package/dist/QuizSection.js +56 -56
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -16
- package/dist/ReviewsSection.js +56 -48
- package/dist/SalesCampaignsSection.cjs +25 -21
- package/dist/SalesCampaignsSection.js +248 -241
- package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
- package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +3 -3
- package/dist/SeparatorSection.cjs +3 -3
- package/dist/SeparatorSection.js +4 -4
- package/dist/ShopCardsSection.cjs +11 -5
- package/dist/ShopCardsSection.js +40 -34
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +9 -5
- package/dist/SimpleCategoriesSection.js +61 -57
- package/dist/SimpleProductsSection.cjs +44 -11
- package/dist/SimpleProductsSection.js +100 -67
- package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
- package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +3 -3
- package/dist/StatsSection.js +11 -11
- package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
- package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +54 -49
- package/dist/Table.js +417 -401
- package/dist/TableView.cjs +10 -2
- package/dist/TableView.js +84 -75
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +4 -4
- package/dist/ThemeProvider.js +11 -10
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/ToggleSection.cjs +7 -7
- package/dist/ToggleSection.js +38 -38
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
- package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +7 -7
- package/dist/UrgentSaleProductsSection.cjs +10 -4
- package/dist/UrgentSaleProductsSection.js +67 -61
- package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
- package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
- package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
- package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
- package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
- package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
- package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
- package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
- package/dist/breakpoints-CcVm-gVm.cjs +1 -0
- package/dist/breakpoints-ff0SIcV3.js +91 -0
- package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
- package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
- package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
- package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
- package/dist/index-B_ilx3wM.cjs +16 -0
- package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
- package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
- package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
- package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
- package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
- package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
- package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
- package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
- package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
- package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
- package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
- package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
- package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
- package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
- package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
- package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
- package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
- package/dist/index.cjs +1 -1
- package/dist/index.js +213 -194
- package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
- package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
- package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
- package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
- package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
- package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
- package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
- package/dist/theme-Q3WOGKWQ.cjs +1 -0
- package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
- package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
- package/dist/utils-B2fsQ6PS.js +334 -0
- package/dist/utils-CITgSxXe.cjs +51 -0
- package/package.json +1 -1
- package/dist/consts-BuFChS64.js +0 -7
- package/dist/consts-goSZX3xP.cjs +0 -1
- package/dist/index-D-3I_Ppj.cjs +0 -16
- package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
- package/dist/utils-RnrgDDZP.cjs +0 -51
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs as i, jsx as a, Fragment as z } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
2
|
+
import { forwardRef as y, useState as N, useRef as E } from "react";
|
|
3
|
+
import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as T } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import R from "./Button.js";
|
|
6
6
|
import G from "./RangeSlider.js";
|
|
7
7
|
import Y from "./DropdownItem.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
const
|
|
8
|
+
import K from "./DropdownMenu.js";
|
|
9
|
+
import P from "./IconButton.js";
|
|
10
|
+
import q from "./BannerSectionWithList.js";
|
|
11
|
+
import { x as J } from "./utils-B2fsQ6PS.js";
|
|
12
|
+
const Q = w.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
width: 100%;
|
|
16
16
|
gap: 2.25rem;
|
|
17
17
|
|
|
18
|
-
@media
|
|
18
|
+
@media ${T("S")} {
|
|
19
19
|
gap: 2rem;
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`, U = w.div`
|
|
22
22
|
text-align: center;
|
|
23
23
|
display: flex;
|
|
24
24
|
justify-content: center;
|
|
@@ -36,10 +36,10 @@ const Z = y.div`
|
|
|
36
36
|
font-weight: 500;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
@media
|
|
39
|
+
@media ${T("S")} {
|
|
40
40
|
}
|
|
41
41
|
`;
|
|
42
|
-
|
|
42
|
+
w.div`
|
|
43
43
|
display: flex;
|
|
44
44
|
flex-direction: column;
|
|
45
45
|
gap: 0.25rem;
|
|
@@ -54,7 +54,7 @@ y.div`
|
|
|
54
54
|
color: var(--gray-600, #676e79);
|
|
55
55
|
}
|
|
56
56
|
`;
|
|
57
|
-
const
|
|
57
|
+
const X = w.div`
|
|
58
58
|
display: flex;
|
|
59
59
|
flex-direction: column;
|
|
60
60
|
gap: 2.25rem;
|
|
@@ -70,7 +70,7 @@ const J = y.div`
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
@media
|
|
73
|
+
@media ${T("S")} {
|
|
74
74
|
gap: 2rem;
|
|
75
75
|
& .btns-footer {
|
|
76
76
|
width: 100%;
|
|
@@ -81,7 +81,7 @@ const J = y.div`
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
`,
|
|
84
|
+
`, Z = w.div`
|
|
85
85
|
display: grid;
|
|
86
86
|
grid-template-columns: auto auto;
|
|
87
87
|
width: fit-content;
|
|
@@ -146,7 +146,7 @@ const J = y.div`
|
|
|
146
146
|
padding-top: 0 !important;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
@media
|
|
149
|
+
@media ${T("S")} {
|
|
150
150
|
gap: 0.25rem;
|
|
151
151
|
grid-template-columns: auto;
|
|
152
152
|
|
|
@@ -172,7 +172,7 @@ const J = y.div`
|
|
|
172
172
|
min-width: unset;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
175
|
+
`, _ = w.div`
|
|
176
176
|
border-radius: 0.75rem;
|
|
177
177
|
border: 1px solid var(--neutral-95008);
|
|
178
178
|
background: var(--white);
|
|
@@ -199,7 +199,7 @@ const J = y.div`
|
|
|
199
199
|
margin: 0 0.62rem;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
@media
|
|
202
|
+
@media ${T("S")} {
|
|
203
203
|
padding: 0.75rem;
|
|
204
204
|
gap: 0.75rem;
|
|
205
205
|
|
|
@@ -213,17 +213,17 @@ const J = y.div`
|
|
|
213
213
|
align-items: start;
|
|
214
214
|
}
|
|
215
215
|
}
|
|
216
|
-
`, ee =
|
|
216
|
+
`, ee = w.div`
|
|
217
217
|
display: grid;
|
|
218
218
|
grid-template-columns: repeat(4, 1fr);
|
|
219
219
|
gap: 1rem;
|
|
220
220
|
flex: 1;
|
|
221
221
|
|
|
222
|
-
@media
|
|
222
|
+
@media ${T("S")} {
|
|
223
223
|
grid-template-columns: repeat(2, 1fr);
|
|
224
224
|
gap: 0.75rem;
|
|
225
225
|
}
|
|
226
|
-
`,
|
|
226
|
+
`, $ = w.div`
|
|
227
227
|
display: flex;
|
|
228
228
|
flex-direction: column;
|
|
229
229
|
gap: 0.75rem;
|
|
@@ -249,7 +249,7 @@ const J = y.div`
|
|
|
249
249
|
font-size: 3rem;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
@media
|
|
252
|
+
@media ${T("S")} {
|
|
253
253
|
flex-direction: row;
|
|
254
254
|
gap: 0.25rem;
|
|
255
255
|
font-size: 0.875rem;
|
|
@@ -268,7 +268,7 @@ const J = y.div`
|
|
|
268
268
|
gap: 0;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
`, te =
|
|
271
|
+
`, te = w.label`
|
|
272
272
|
position: relative;
|
|
273
273
|
display: inline-flex;
|
|
274
274
|
align-items: center;
|
|
@@ -351,8 +351,8 @@ const J = y.div`
|
|
|
351
351
|
align-items: center;
|
|
352
352
|
gap: 0.38rem;
|
|
353
353
|
}
|
|
354
|
-
`, ae =
|
|
355
|
-
var g, u, v,
|
|
354
|
+
`, ae = y((s, x) => {
|
|
355
|
+
var g, u, v, f, p, d, k, C;
|
|
356
356
|
const {
|
|
357
357
|
onChange: m = () => {
|
|
358
358
|
},
|
|
@@ -366,13 +366,13 @@ const J = y.div`
|
|
|
366
366
|
/* @__PURE__ */ a("span", { children: (u = t == null ? void 0 : t.at(0)) == null ? void 0 : u.name })
|
|
367
367
|
] }), n = /* @__PURE__ */ i("div", { className: "cont", children: [
|
|
368
368
|
/* @__PURE__ */ a("span", { children: (v = t == null ? void 0 : t.at(1)) == null ? void 0 : v.name }),
|
|
369
|
-
/* @__PURE__ */ a("i", { className: (
|
|
369
|
+
/* @__PURE__ */ a("i", { className: (f = t == null ? void 0 : t.at(1)) == null ? void 0 : f.icon })
|
|
370
370
|
] }), [e, r] = N(!1);
|
|
371
|
-
return /* @__PURE__ */ i(te, { ref:
|
|
371
|
+
return /* @__PURE__ */ i(te, { ref: x, checked: e, ...l, children: [
|
|
372
372
|
/* @__PURE__ */ a("input", { type: "checkbox", checked: e, onChange: (h) => {
|
|
373
|
-
var
|
|
373
|
+
var S, j;
|
|
374
374
|
r(h.target.checked), m && m(
|
|
375
|
-
h.target.checked === !0 ? (
|
|
375
|
+
h.target.checked === !0 ? (S = t == null ? void 0 : t.at(1)) == null ? void 0 : S.value : (j = t == null ? void 0 : t.at(0)) == null ? void 0 : j.value
|
|
376
376
|
);
|
|
377
377
|
} }),
|
|
378
378
|
/* @__PURE__ */ a("span", { className: "knob", children: e ? n : c }),
|
|
@@ -387,7 +387,7 @@ const J = y.div`
|
|
|
387
387
|
] })
|
|
388
388
|
] })
|
|
389
389
|
] });
|
|
390
|
-
}), ne =
|
|
390
|
+
}), ne = y((s, x) => {
|
|
391
391
|
var C;
|
|
392
392
|
const {
|
|
393
393
|
yearsText: m,
|
|
@@ -409,14 +409,14 @@ const J = y.div`
|
|
|
409
409
|
],
|
|
410
410
|
activityLevelText: u,
|
|
411
411
|
goalText: v,
|
|
412
|
-
goals:
|
|
412
|
+
goals: f = [
|
|
413
413
|
{ name: "Lose weight", code: "loseWeight", icon: "mng-lnc-weight-scale" },
|
|
414
414
|
{ name: "Maintaining", code: "maintaining", icon: "mng-lnc-move" },
|
|
415
415
|
{ name: "Gain muscle", code: "gainMuscle", icon: "mng-lnc-muscule" }
|
|
416
416
|
],
|
|
417
417
|
onCalculate: p = () => {
|
|
418
418
|
}
|
|
419
|
-
} = s, d =
|
|
419
|
+
} = s, d = E({
|
|
420
420
|
year: null,
|
|
421
421
|
height: null,
|
|
422
422
|
weight: null,
|
|
@@ -426,8 +426,8 @@ const J = y.div`
|
|
|
426
426
|
}), k = () => {
|
|
427
427
|
p == null || p(d == null ? void 0 : d.current);
|
|
428
428
|
};
|
|
429
|
-
return /* @__PURE__ */ i(
|
|
430
|
-
/* @__PURE__ */ i(
|
|
429
|
+
return /* @__PURE__ */ i(X, { children: [
|
|
430
|
+
/* @__PURE__ */ i(Z, { className: "calorie-calculating", children: [
|
|
431
431
|
/* @__PURE__ */ a("div", { className: "grid-label", children: c }),
|
|
432
432
|
/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
|
|
433
433
|
ae,
|
|
@@ -469,14 +469,14 @@ const J = y.div`
|
|
|
469
469
|
oe,
|
|
470
470
|
{
|
|
471
471
|
text: v,
|
|
472
|
-
goals:
|
|
472
|
+
goals: f,
|
|
473
473
|
onChange: (h) => d.current.goal = h
|
|
474
474
|
}
|
|
475
475
|
)
|
|
476
476
|
] }),
|
|
477
477
|
/* @__PURE__ */ i("div", { className: "btns-footer", children: [
|
|
478
478
|
/* @__PURE__ */ a(
|
|
479
|
-
|
|
479
|
+
R,
|
|
480
480
|
{
|
|
481
481
|
type: "button",
|
|
482
482
|
color: "neutral",
|
|
@@ -488,7 +488,7 @@ const J = y.div`
|
|
|
488
488
|
}
|
|
489
489
|
),
|
|
490
490
|
/* @__PURE__ */ a(
|
|
491
|
-
|
|
491
|
+
R,
|
|
492
492
|
{
|
|
493
493
|
type: "button",
|
|
494
494
|
btnType: "basic",
|
|
@@ -500,7 +500,7 @@ const J = y.div`
|
|
|
500
500
|
)
|
|
501
501
|
] })
|
|
502
502
|
] });
|
|
503
|
-
}), ie =
|
|
503
|
+
}), ie = y((s, x) => {
|
|
504
504
|
const { text: m = "Years", onChange: t = () => {
|
|
505
505
|
} } = s, [l, c] = N(1);
|
|
506
506
|
return /* @__PURE__ */ i(z, { children: [
|
|
@@ -529,9 +529,9 @@ const J = y.div`
|
|
|
529
529
|
type: "text",
|
|
530
530
|
className: "calculating-input",
|
|
531
531
|
onChange: (n) => {
|
|
532
|
-
var e, r, o, g, u, v,
|
|
532
|
+
var e, r, o, g, u, v, f, p;
|
|
533
533
|
!isNaN((e = n == null ? void 0 : n.target) == null ? void 0 : e.value) && +((r = n == null ? void 0 : n.target) == null ? void 0 : r.value) >= 0 && (c(
|
|
534
|
-
((g = (o = n == null ? void 0 : n.target) == null ? void 0 : o.value) == null ? void 0 : g.length) > 1 ? (v = (u = n == null ? void 0 : n.target) == null ? void 0 : u.value) == null ? void 0 : v.replace(/^0+/, "") : (
|
|
534
|
+
((g = (o = n == null ? void 0 : n.target) == null ? void 0 : o.value) == null ? void 0 : g.length) > 1 ? (v = (u = n == null ? void 0 : n.target) == null ? void 0 : u.value) == null ? void 0 : v.replace(/^0+/, "") : (f = n == null ? void 0 : n.target) == null ? void 0 : f.value
|
|
535
535
|
), t == null || t((p = n == null ? void 0 : n.target) == null ? void 0 : p.value));
|
|
536
536
|
},
|
|
537
537
|
value: l == null ? void 0 : l.toString()
|
|
@@ -539,7 +539,7 @@ const J = y.div`
|
|
|
539
539
|
)
|
|
540
540
|
] })
|
|
541
541
|
] });
|
|
542
|
-
}), re =
|
|
542
|
+
}), re = y((s, x) => {
|
|
543
543
|
const { text: m = "Height", unitText: t = "cm", onChange: l = () => {
|
|
544
544
|
} } = s, [c, n] = N(1);
|
|
545
545
|
return /* @__PURE__ */ i(z, { children: [
|
|
@@ -572,9 +572,9 @@ const J = y.div`
|
|
|
572
572
|
tabIndex: 2,
|
|
573
573
|
className: "calculating-input",
|
|
574
574
|
onChange: (e) => {
|
|
575
|
-
var r, o, g, u, v,
|
|
575
|
+
var r, o, g, u, v, f, p, d;
|
|
576
576
|
!isNaN((r = e == null ? void 0 : e.target) == null ? void 0 : r.value) && +((o = e == null ? void 0 : e.target) == null ? void 0 : o.value) >= 0 && (n(
|
|
577
|
-
((u = (g = e == null ? void 0 : e.target) == null ? void 0 : g.value) == null ? void 0 : u.length) > 1 ? (
|
|
577
|
+
((u = (g = e == null ? void 0 : e.target) == null ? void 0 : g.value) == null ? void 0 : u.length) > 1 ? (f = (v = e == null ? void 0 : e.target) == null ? void 0 : v.value) == null ? void 0 : f.replace(/^0+/, "") : (p = e == null ? void 0 : e.target) == null ? void 0 : p.value
|
|
578
578
|
), l == null || l((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
|
|
579
579
|
},
|
|
580
580
|
value: c == null ? void 0 : c.toString()
|
|
@@ -582,7 +582,7 @@ const J = y.div`
|
|
|
582
582
|
)
|
|
583
583
|
] })
|
|
584
584
|
] });
|
|
585
|
-
}), le =
|
|
585
|
+
}), le = y((s, x) => {
|
|
586
586
|
const { text: m = "Weight", unitText: t = "kg", onChange: l = () => {
|
|
587
587
|
} } = s, [c, n] = N(1);
|
|
588
588
|
return /* @__PURE__ */ i(z, { children: [
|
|
@@ -615,9 +615,9 @@ const J = y.div`
|
|
|
615
615
|
type: "text",
|
|
616
616
|
className: "calculating-input",
|
|
617
617
|
onChange: (e) => {
|
|
618
|
-
var r, o, g, u, v,
|
|
618
|
+
var r, o, g, u, v, f, p, d;
|
|
619
619
|
!isNaN((r = e == null ? void 0 : e.target) == null ? void 0 : r.value) && +((o = e == null ? void 0 : e.target) == null ? void 0 : o.value) >= 0 && (n(
|
|
620
|
-
((u = (g = e == null ? void 0 : e.target) == null ? void 0 : g.value) == null ? void 0 : u.length) > 1 ? (
|
|
620
|
+
((u = (g = e == null ? void 0 : e.target) == null ? void 0 : g.value) == null ? void 0 : u.length) > 1 ? (f = (v = e == null ? void 0 : e.target) == null ? void 0 : v.value) == null ? void 0 : f.replace(/^0+/, "") : (p = e == null ? void 0 : e.target) == null ? void 0 : p.value
|
|
621
621
|
), l == null || l((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
|
|
622
622
|
},
|
|
623
623
|
value: c == null ? void 0 : c.toString()
|
|
@@ -625,7 +625,7 @@ const J = y.div`
|
|
|
625
625
|
)
|
|
626
626
|
] })
|
|
627
627
|
] });
|
|
628
|
-
}), ce =
|
|
628
|
+
}), ce = y((s, x) => {
|
|
629
629
|
const {
|
|
630
630
|
text: m = "Activity level",
|
|
631
631
|
activityLevels: t,
|
|
@@ -635,7 +635,7 @@ const J = y.div`
|
|
|
635
635
|
return /* @__PURE__ */ i(z, { children: [
|
|
636
636
|
/* @__PURE__ */ a("div", { className: "grid-label", children: m }),
|
|
637
637
|
/* @__PURE__ */ a("div", { className: "caluclating-group", children: t == null ? void 0 : t.map((e, r) => /* @__PURE__ */ a(
|
|
638
|
-
|
|
638
|
+
R,
|
|
639
639
|
{
|
|
640
640
|
type: "button",
|
|
641
641
|
btnType: c === (e == null ? void 0 : e.code) ? "filled" : "tinted",
|
|
@@ -649,13 +649,13 @@ const J = y.div`
|
|
|
649
649
|
r
|
|
650
650
|
)) })
|
|
651
651
|
] });
|
|
652
|
-
}), oe =
|
|
652
|
+
}), oe = y((s, x) => {
|
|
653
653
|
const { text: m = "Goal", goals: t, onChange: l = () => {
|
|
654
654
|
} } = s, [c, n] = N(null);
|
|
655
655
|
return /* @__PURE__ */ i(z, { children: [
|
|
656
656
|
/* @__PURE__ */ a("div", { className: "grid-label", children: m }),
|
|
657
657
|
/* @__PURE__ */ a("div", { className: "caluclating-group group-activity", children: t == null ? void 0 : t.map((e, r) => /* @__PURE__ */ a(
|
|
658
|
-
|
|
658
|
+
R,
|
|
659
659
|
{
|
|
660
660
|
type: "button",
|
|
661
661
|
btnType: c === (e == null ? void 0 : e.code) ? "filled" : "tinted",
|
|
@@ -672,7 +672,7 @@ const J = y.div`
|
|
|
672
672
|
r
|
|
673
673
|
)) })
|
|
674
674
|
] });
|
|
675
|
-
}), se =
|
|
675
|
+
}), se = y((s, x) => {
|
|
676
676
|
const {
|
|
677
677
|
caloriesText: m = "Calories",
|
|
678
678
|
carbsText: t = "Carbs",
|
|
@@ -686,9 +686,9 @@ const J = y.div`
|
|
|
686
686
|
onGoBack: u = () => {
|
|
687
687
|
}
|
|
688
688
|
} = s;
|
|
689
|
-
return /* @__PURE__ */ i(
|
|
689
|
+
return /* @__PURE__ */ i(_, { children: [
|
|
690
690
|
/* @__PURE__ */ i(ee, { children: [
|
|
691
|
-
/* @__PURE__ */ i(
|
|
691
|
+
/* @__PURE__ */ i($, { color: "var(--warning-600)", children: [
|
|
692
692
|
/* @__PURE__ */ a("i", { className: "mng-lnc-fire" }),
|
|
693
693
|
/* @__PURE__ */ i("div", { className: "subgroup", children: [
|
|
694
694
|
/* @__PURE__ */ i("div", { children: [
|
|
@@ -698,7 +698,7 @@ const J = y.div`
|
|
|
698
698
|
/* @__PURE__ */ a("div", { className: "subtext", children: m })
|
|
699
699
|
] })
|
|
700
700
|
] }),
|
|
701
|
-
/* @__PURE__ */ i(
|
|
701
|
+
/* @__PURE__ */ i($, { color: "var(--secondary-400)", children: [
|
|
702
702
|
/* @__PURE__ */ a("i", { className: "mng-lnc-leaf" }),
|
|
703
703
|
/* @__PURE__ */ i("div", { className: "subgroup", children: [
|
|
704
704
|
/* @__PURE__ */ i("div", { children: [
|
|
@@ -708,7 +708,7 @@ const J = y.div`
|
|
|
708
708
|
/* @__PURE__ */ a("div", { className: "subtext", children: t })
|
|
709
709
|
] })
|
|
710
710
|
] }),
|
|
711
|
-
/* @__PURE__ */ i(
|
|
711
|
+
/* @__PURE__ */ i($, { color: "var(--info-500)", children: [
|
|
712
712
|
/* @__PURE__ */ a("i", { className: "mng-lnc-meat" }),
|
|
713
713
|
/* @__PURE__ */ i("div", { className: "subgroup", children: [
|
|
714
714
|
/* @__PURE__ */ i("div", { children: [
|
|
@@ -718,7 +718,7 @@ const J = y.div`
|
|
|
718
718
|
/* @__PURE__ */ a("div", { className: "subtext", children: l })
|
|
719
719
|
] })
|
|
720
720
|
] }),
|
|
721
|
-
/* @__PURE__ */ i(
|
|
721
|
+
/* @__PURE__ */ i($, { color: "var(--warning-300)", children: [
|
|
722
722
|
/* @__PURE__ */ a("i", { className: "mng-lnc-meat" }),
|
|
723
723
|
/* @__PURE__ */ i("div", { className: "subgroup", children: [
|
|
724
724
|
/* @__PURE__ */ i("div", { children: [
|
|
@@ -732,11 +732,11 @@ const J = y.div`
|
|
|
732
732
|
/* @__PURE__ */ i("div", { className: "dropdown-group", children: [
|
|
733
733
|
/* @__PURE__ */ a("div", { className: "vertical-line" }),
|
|
734
734
|
/* @__PURE__ */ a(
|
|
735
|
-
|
|
735
|
+
K,
|
|
736
736
|
{
|
|
737
737
|
color: "neutral",
|
|
738
738
|
control: /* @__PURE__ */ a(
|
|
739
|
-
|
|
739
|
+
P,
|
|
740
740
|
{
|
|
741
741
|
borderRadius: "curved",
|
|
742
742
|
btnType: "basic",
|
|
@@ -753,7 +753,7 @@ const J = y.div`
|
|
|
753
753
|
)
|
|
754
754
|
] })
|
|
755
755
|
] });
|
|
756
|
-
}), de =
|
|
756
|
+
}), de = y((s, x) => {
|
|
757
757
|
const {
|
|
758
758
|
caloriesText: m,
|
|
759
759
|
carbsText: t,
|
|
@@ -766,33 +766,33 @@ const J = y.div`
|
|
|
766
766
|
genderText: g,
|
|
767
767
|
calculateText: u,
|
|
768
768
|
closeText: v,
|
|
769
|
-
genders:
|
|
769
|
+
genders: f,
|
|
770
770
|
activityLevels: p,
|
|
771
771
|
activityLevelText: d,
|
|
772
772
|
goalText: k,
|
|
773
773
|
goals: C,
|
|
774
774
|
title: h = "Daily calorie calculator",
|
|
775
|
-
subtitle:
|
|
776
|
-
list:
|
|
775
|
+
subtitle: S = "Lorem ipsum dolor sit amet",
|
|
776
|
+
list: j = [
|
|
777
777
|
"Ovdje može pisati zašto je bitno da znamo kolika nam je dnevna kalorijska potreba.",
|
|
778
778
|
"Ovdje može pisati zašto je bitno da znamo kolikanam je dnevna kalorijska potreba.",
|
|
779
779
|
"From certified dealers from all over Europe"
|
|
780
780
|
],
|
|
781
781
|
buttonText: A = "Calculate calorie needs"
|
|
782
|
-
} = s, [W,
|
|
783
|
-
return /* @__PURE__ */ i(
|
|
784
|
-
/* @__PURE__ */ i(
|
|
782
|
+
} = s, [W, L] = N(1), [b, B] = N(0);
|
|
783
|
+
return /* @__PURE__ */ i(Q, { ref: x, children: [
|
|
784
|
+
/* @__PURE__ */ i(U, { children: [
|
|
785
785
|
/* @__PURE__ */ a("div", { className: "header-title", children: h }),
|
|
786
|
-
/* @__PURE__ */ a("div", { className: "header-subtitle", children:
|
|
786
|
+
/* @__PURE__ */ a("div", { className: "header-subtitle", children: S })
|
|
787
787
|
] }),
|
|
788
788
|
W === 1 && /* @__PURE__ */ a(
|
|
789
|
-
|
|
789
|
+
q,
|
|
790
790
|
{
|
|
791
791
|
buttonText: A,
|
|
792
792
|
onButtonAction: () => {
|
|
793
|
-
|
|
793
|
+
L(2);
|
|
794
794
|
},
|
|
795
|
-
list:
|
|
795
|
+
list: j
|
|
796
796
|
}
|
|
797
797
|
),
|
|
798
798
|
W === 2 && /* @__PURE__ */ a(
|
|
@@ -804,29 +804,29 @@ const J = y.div`
|
|
|
804
804
|
genderText: g,
|
|
805
805
|
calculateText: u,
|
|
806
806
|
closeText: v,
|
|
807
|
-
onClose: () =>
|
|
808
|
-
genders:
|
|
807
|
+
onClose: () => L(1),
|
|
808
|
+
genders: f,
|
|
809
809
|
activityLevels: p,
|
|
810
810
|
activityLevelText: d,
|
|
811
811
|
goalText: k,
|
|
812
812
|
goals: C,
|
|
813
813
|
onCalculate: ({
|
|
814
|
-
gender:
|
|
815
|
-
year:
|
|
814
|
+
gender: I,
|
|
815
|
+
year: M,
|
|
816
816
|
height: V,
|
|
817
|
-
weight:
|
|
818
|
-
activityLevel:
|
|
817
|
+
weight: F,
|
|
818
|
+
activityLevel: H,
|
|
819
819
|
goal: O
|
|
820
820
|
}) => {
|
|
821
|
-
const
|
|
822
|
-
gender:
|
|
823
|
-
age:
|
|
821
|
+
const D = J({
|
|
822
|
+
gender: I,
|
|
823
|
+
age: M,
|
|
824
824
|
heightCm: V,
|
|
825
|
-
weightKg:
|
|
826
|
-
activityLevel:
|
|
825
|
+
weightKg: F,
|
|
826
|
+
activityLevel: H,
|
|
827
827
|
goal: O
|
|
828
828
|
});
|
|
829
|
-
|
|
829
|
+
B(D), L(3);
|
|
830
830
|
}
|
|
831
831
|
}
|
|
832
832
|
),
|
|
@@ -838,7 +838,7 @@ const J = y.div`
|
|
|
838
838
|
proteinText: l,
|
|
839
839
|
fatsText: c,
|
|
840
840
|
calculateAgainText: n,
|
|
841
|
-
onGoBack: () =>
|
|
841
|
+
onGoBack: () => L(2),
|
|
842
842
|
calories: b == null ? void 0 : b.calories,
|
|
843
843
|
fats: b == null ? void 0 : b.fat,
|
|
844
844
|
carbs: b == null ? void 0 : b.carbs,
|
|
@@ -846,7 +846,7 @@ const J = y.div`
|
|
|
846
846
|
}
|
|
847
847
|
)
|
|
848
848
|
] });
|
|
849
|
-
}), Ce =
|
|
849
|
+
}), Ce = y((s, x) => /* @__PURE__ */ a(de, { ref: x, ...s }));
|
|
850
850
|
export {
|
|
851
851
|
Ce as default
|
|
852
852
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),g=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-CITgSxXe.cjs"),u=require("./breakpoints-CcVm-gVm.cjs"),p=x.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
max-height: 8.25rem;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@media
|
|
38
|
+
@media ${u.down("S")} {
|
|
39
39
|
min-width: 8.75rem;
|
|
40
40
|
max-width: 8.75rem;
|
|
41
41
|
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
max-height: 5.375rem;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
`,f=
|
|
48
|
+
`,f=g.forwardRef((a,s)=>{const{image:c,name:d,urlPrefix:r,urlSufix:t,code:i,uuid:m,onSelectCard:h=()=>{},LinkComponent:o}=a,l=o||"a";return e.jsxs(p,{ref:s,className:"simple-category-card",onClick:()=>h(m),as:l,...o?{to:`${r}${i}${t}`}:{href:`${r}${i}${t}`},children:[e.jsx("img",{src:c}),e.jsx("div",{className:"card-content",children:e.jsx("div",{className:"card-content-2",children:d})})]})});exports.CategorySimpleCard=f;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as p, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
4
|
+
import { n as a } from "./utils-B2fsQ6PS.js";
|
|
5
|
+
import { d as f } from "./breakpoints-ff0SIcV3.js";
|
|
6
|
+
const x = l.a`
|
|
7
7
|
text-decoration: none;
|
|
8
8
|
display: flex;
|
|
9
9
|
flex-direction: column;
|
|
@@ -40,7 +40,7 @@ const f = l.a`
|
|
|
40
40
|
max-height: 8.25rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
@media
|
|
43
|
+
@media ${f("S")} {
|
|
44
44
|
min-width: 8.75rem;
|
|
45
45
|
max-width: 8.75rem;
|
|
46
46
|
|
|
@@ -50,13 +50,13 @@ const f = l.a`
|
|
|
50
50
|
max-height: 5.375rem;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
`, y = g((
|
|
53
|
+
`, y = g((n, m) => {
|
|
54
54
|
const { image: d, name: s, urlPrefix: e, urlSufix: o, code: t, uuid: c, onSelectCard: h = () => {
|
|
55
|
-
}, LinkComponent: i } =
|
|
55
|
+
}, LinkComponent: i } = n;
|
|
56
56
|
return /* @__PURE__ */ p(
|
|
57
|
-
|
|
57
|
+
x,
|
|
58
58
|
{
|
|
59
|
-
ref:
|
|
59
|
+
ref: m,
|
|
60
60
|
className: "simple-category-card",
|
|
61
61
|
onClick: () => h(c),
|
|
62
62
|
as: i || "a",
|
package/dist/CheckBoxInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),R=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),R=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),V=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=e=>e=="left"?"row-reverse":"row",o=(e,l)=>`calc(${e.components.Checkbox.default.enabled.sizes[l]} / 2)`,I=j.styled.label`
|
|
2
2
|
-webkit-user-select: none;
|
|
3
3
|
-moz-user-select: none;
|
|
4
4
|
-ms-user-select: none;
|
package/dist/CheckBoxInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as i, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I } from "react";
|
|
3
3
|
import { s as j } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as k, d as L, c as t, b as N, f as x } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as R } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const W = (e) => e == "left" ? "row-reverse" : "row", n = (e, h) => `calc(${e.components.Checkbox.default.enabled.sizes[h]} / 2)`, F = j.label`
|
|
7
7
|
-webkit-user-select: none;
|
package/dist/Chip.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),q=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),q=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-CITgSxXe.cjs"),S=require("./Avatar.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u=e=>{var r="fas";return`${r} fa-${e} fa-fw`},F=(e,r,n,t)=>e?`padding-right: ${t=="small"?"0.75rem":"0.625rem"}; padding-left: ${t=="small"?"0.25rem":"0.125rem"};`:r?`padding-right: ${t=="small"?"0.5rem":"0.375rem"}; padding-left: ${t=="small"?"0.5rem":"0.375rem"};`:n?`padding-right: ${t=="small"?"0.5rem":"0.375rem"}; padding-left: ${t=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${t=="small"?"1rem":"0.75rem"}; padding-left: ${t=="small"?"1rem":"0.75rem"};`,N=w.styled.span`
|
|
2
2
|
cursor: pointer;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
height: ${e=>a.getSizeValueWithUnits(e.theme,e.size)};
|
package/dist/Chip.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as g, jsx as o, Fragment as P } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as S } from "react";
|
|
3
3
|
import { s as V } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as h, i as j, c as r, b as B, d as D, g as F, f as T } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import U from "./Avatar.js";
|
|
6
6
|
import { u as W } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const u = (e) => {
|
package/dist/ColorInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),b=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),b=require("react"),V=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),H=require("./index-Cp66dWMi.cjs"),K=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),L=require("./useUpdateEffect-BtMgpgIV.cjs"),F=(e,n)=>`calc(${t.getSizeValueWithUnits(e,n)} - 1rem)`,N=V.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
gap: 0.5rem;
|