@lanaco/lnc-react-ui 4.0.205 → 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 +107 -117
- 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,16 +1,16 @@
|
|
|
1
|
-
import { jsx as o, jsxs as c, Fragment as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as o, jsxs as c, Fragment as V } from "react/jsx-runtime";
|
|
2
|
+
import j, { useState as w, useRef as F, useEffect as G, useImperativeHandle as M, forwardRef as _ } from "react";
|
|
3
3
|
import q from "./FlexBox.js";
|
|
4
|
-
import
|
|
5
|
-
import { useTheme as
|
|
6
|
-
import { s as
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { I as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
const
|
|
4
|
+
import E from "./IconButton.js";
|
|
5
|
+
import { useTheme as U } from "./ThemeProvider.js";
|
|
6
|
+
import { s as J } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
+
import { d as H } from "./breakpoints-ff0SIcV3.js";
|
|
8
|
+
import { u as P } from "./useDetectMobile-CcVo3PNi.js";
|
|
9
|
+
import { I as K } from "./index-BdKi2ogu.js";
|
|
10
|
+
import O from "./Button.js";
|
|
11
|
+
import Q from "./Icon.js";
|
|
12
|
+
import { m as X } from "./utils-B2fsQ6PS.js";
|
|
13
|
+
const Y = J.div`
|
|
14
14
|
position: relative;
|
|
15
15
|
padding: ${(e) => e.padding};
|
|
16
16
|
|
|
@@ -58,7 +58,7 @@ const Q = U.div`
|
|
|
58
58
|
/* Safari and Chrome */
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
@media
|
|
61
|
+
@media ${H("S")} {
|
|
62
62
|
margin-right: 0;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -87,7 +87,7 @@ const Q = U.div`
|
|
|
87
87
|
visibility: ${(e) => e.hasOverflow ? "visible" : "hidden"};
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
@media
|
|
90
|
+
@media ${H("S")} {
|
|
91
91
|
& .scrollable-container {
|
|
92
92
|
overflow: auto;
|
|
93
93
|
}
|
|
@@ -104,7 +104,7 @@ const Q = U.div`
|
|
|
104
104
|
${(e) => e.noMargin !== !0 && "margin-left: 1rem"};
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
107
|
+
`, Z = j.forwardRef(
|
|
108
108
|
({
|
|
109
109
|
columnGap: e = "2rem",
|
|
110
110
|
rowGap: p = "1.25rem",
|
|
@@ -116,52 +116,52 @@ const Q = U.div`
|
|
|
116
116
|
arrowsVisibleOnHover: y = !0,
|
|
117
117
|
rightAlignArrows: k = !1,
|
|
118
118
|
padding: b = "0",
|
|
119
|
-
showTimesBtn:
|
|
119
|
+
showTimesBtn: m,
|
|
120
120
|
noArrows: a,
|
|
121
|
-
noGradient:
|
|
121
|
+
noGradient: N = !1,
|
|
122
122
|
hideDisabledArrows: n = !1,
|
|
123
|
-
noMargin:
|
|
124
|
-
...
|
|
125
|
-
},
|
|
126
|
-
const
|
|
123
|
+
noMargin: h = !1,
|
|
124
|
+
...S
|
|
125
|
+
}, $) => {
|
|
126
|
+
const x = P(), { theme: r } = U(), [t, A] = w(!1), [g, R] = w(!1), [z, T] = w(!0), l = F(), I = () => {
|
|
127
127
|
var i;
|
|
128
128
|
(i = l.current) == null || i.scrollBy(d, 0);
|
|
129
129
|
}, B = () => {
|
|
130
130
|
var i;
|
|
131
131
|
(i = l.current) == null || i.scrollBy(-d, 0);
|
|
132
|
-
}, [
|
|
133
|
-
|
|
134
|
-
var i,
|
|
135
|
-
|
|
136
|
-
((i = l == null ? void 0 : l.current) == null ? void 0 : i.scrollWidth) > ((
|
|
132
|
+
}, [W, D] = w(!1);
|
|
133
|
+
G(() => {
|
|
134
|
+
var i, C;
|
|
135
|
+
D(
|
|
136
|
+
((i = l == null ? void 0 : l.current) == null ? void 0 : i.scrollWidth) > ((C = l == null ? void 0 : l.current) == null ? void 0 : C.clientWidth)
|
|
137
137
|
);
|
|
138
|
-
}, [f]),
|
|
138
|
+
}, [f]), M(u, () => ({
|
|
139
139
|
scrollToEnd() {
|
|
140
|
-
|
|
140
|
+
L();
|
|
141
141
|
},
|
|
142
142
|
scrollLeft() {
|
|
143
143
|
B();
|
|
144
144
|
},
|
|
145
145
|
scrollRight() {
|
|
146
|
-
|
|
146
|
+
I();
|
|
147
147
|
}
|
|
148
148
|
}));
|
|
149
|
-
const
|
|
149
|
+
const L = () => {
|
|
150
150
|
l.current.scrollLeft = l.current.scrollWidth;
|
|
151
151
|
};
|
|
152
152
|
return /* @__PURE__ */ o(
|
|
153
|
-
|
|
153
|
+
Y,
|
|
154
154
|
{
|
|
155
|
-
ref:
|
|
155
|
+
ref: $,
|
|
156
156
|
arrowsVisibleOnHover: y,
|
|
157
|
-
hasOverflow:
|
|
157
|
+
hasOverflow: W,
|
|
158
158
|
noArrows: a,
|
|
159
159
|
padding: b,
|
|
160
160
|
rightAlignArrows: k,
|
|
161
|
-
showTimesBtn:
|
|
161
|
+
showTimesBtn: m,
|
|
162
162
|
theme: r,
|
|
163
|
-
noMargin:
|
|
164
|
-
...
|
|
163
|
+
noMargin: h,
|
|
164
|
+
...S,
|
|
165
165
|
children: /* @__PURE__ */ c(
|
|
166
166
|
q,
|
|
167
167
|
{
|
|
@@ -169,11 +169,11 @@ const Q = U.div`
|
|
|
169
169
|
className: "scrollable-container",
|
|
170
170
|
columnGap: e,
|
|
171
171
|
rowGap: p,
|
|
172
|
-
wrap: s || v &&
|
|
172
|
+
wrap: s || v && x ? "Wrap" : "NoWrap",
|
|
173
173
|
children: [
|
|
174
|
-
a !== !0 && /* @__PURE__ */ c(
|
|
174
|
+
a !== !0 && /* @__PURE__ */ c(V, { children: [
|
|
175
175
|
!(n === !0 && g === !0) && /* @__PURE__ */ o(
|
|
176
|
-
|
|
176
|
+
E,
|
|
177
177
|
{
|
|
178
178
|
borderRadius: "curved",
|
|
179
179
|
btnType: "tinted",
|
|
@@ -185,7 +185,7 @@ const Q = U.div`
|
|
|
185
185
|
}
|
|
186
186
|
),
|
|
187
187
|
!(n === !0 && t === !0) && /* @__PURE__ */ o(
|
|
188
|
-
|
|
188
|
+
E,
|
|
189
189
|
{
|
|
190
190
|
borderRadius: "curved",
|
|
191
191
|
btnType: "tinted",
|
|
@@ -193,44 +193,44 @@ const Q = U.div`
|
|
|
193
193
|
color: "neutral",
|
|
194
194
|
disabled: t,
|
|
195
195
|
icon: "angle-right",
|
|
196
|
-
onClick:
|
|
196
|
+
onClick: I
|
|
197
197
|
}
|
|
198
198
|
)
|
|
199
199
|
] }),
|
|
200
200
|
/* @__PURE__ */ o(
|
|
201
|
-
|
|
201
|
+
K,
|
|
202
202
|
{
|
|
203
203
|
isHorizontal: !0,
|
|
204
204
|
onIsNotVisible: () => {
|
|
205
|
-
g === !0 &&
|
|
205
|
+
g === !0 && R(!1);
|
|
206
206
|
},
|
|
207
207
|
onIsVisible: () => {
|
|
208
|
-
g === !1 &&
|
|
208
|
+
g === !1 && R(!0);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
),
|
|
212
212
|
f,
|
|
213
213
|
/* @__PURE__ */ o(
|
|
214
|
-
|
|
214
|
+
K,
|
|
215
215
|
{
|
|
216
216
|
className: "right-scroller",
|
|
217
217
|
isHorizontal: !0,
|
|
218
218
|
onIsNotVisible: () => {
|
|
219
|
-
t === !0 &&
|
|
219
|
+
t === !0 && A(!1), T(!0);
|
|
220
220
|
},
|
|
221
221
|
onIsVisible: () => {
|
|
222
|
-
t === !1 &&
|
|
222
|
+
t === !1 && A(!0), T(!1);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
),
|
|
226
|
-
|
|
226
|
+
z && W && N !== !0 && /* @__PURE__ */ o("div", { className: "gradient" })
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
)
|
|
230
230
|
}
|
|
231
231
|
);
|
|
232
232
|
}
|
|
233
|
-
), ue =
|
|
233
|
+
), ue = _((e, p) => {
|
|
234
234
|
const {
|
|
235
235
|
allButton: d = !0,
|
|
236
236
|
items: v = [],
|
|
@@ -243,18 +243,18 @@ const Q = U.div`
|
|
|
243
243
|
},
|
|
244
244
|
className: k,
|
|
245
245
|
showTimesBtn: b = !1,
|
|
246
|
-
labelKey:
|
|
246
|
+
labelKey: m = "label",
|
|
247
247
|
valueKey: a = "value",
|
|
248
|
-
codeKey:
|
|
248
|
+
codeKey: N = "code",
|
|
249
249
|
uniqueKey: n,
|
|
250
|
-
typeKey:
|
|
251
|
-
productsToolbarName:
|
|
252
|
-
|
|
253
|
-
} = e,
|
|
250
|
+
typeKey: h,
|
|
251
|
+
productsToolbarName: S = "All",
|
|
252
|
+
...$
|
|
253
|
+
} = e, x = (r, t) => {
|
|
254
254
|
s != null && s.includes(t) ? u(r, t) : f(r, t);
|
|
255
255
|
};
|
|
256
256
|
return /* @__PURE__ */ c(
|
|
257
|
-
|
|
257
|
+
Z,
|
|
258
258
|
{
|
|
259
259
|
ref: p,
|
|
260
260
|
arrowsVisibleOnHover: !1,
|
|
@@ -263,45 +263,45 @@ const Q = U.div`
|
|
|
263
263
|
padding: "0.25rem 0",
|
|
264
264
|
rightAlignArrows: !0,
|
|
265
265
|
showTimesBtn: b,
|
|
266
|
-
|
|
266
|
+
...$,
|
|
267
267
|
children: [
|
|
268
268
|
d && /* @__PURE__ */ o(
|
|
269
|
-
|
|
269
|
+
O,
|
|
270
270
|
{
|
|
271
271
|
borderRadius: "curved",
|
|
272
272
|
btnType: s.length === 0 ? "filled" : "tinted",
|
|
273
273
|
className: "badge-button",
|
|
274
274
|
color: "neutral",
|
|
275
275
|
onClick: y,
|
|
276
|
-
children:
|
|
276
|
+
children: S
|
|
277
277
|
}
|
|
278
278
|
),
|
|
279
279
|
v.map((r, t) => /* @__PURE__ */ c(
|
|
280
|
-
|
|
280
|
+
O,
|
|
281
281
|
{
|
|
282
282
|
borderRadius: "curved",
|
|
283
283
|
btnType: s.includes(r.uuid) ? "filled" : "tinted",
|
|
284
284
|
className: "badge-button",
|
|
285
285
|
color: "neutral",
|
|
286
|
-
onClick: () =>
|
|
286
|
+
onClick: () => x(r, r[a]),
|
|
287
287
|
children: [
|
|
288
|
-
|
|
288
|
+
X(r == null ? void 0 : r.icon) && /* @__PURE__ */ c(V, { children: [
|
|
289
289
|
/* @__PURE__ */ o("i", { className: r == null ? void 0 : r.icon }),
|
|
290
290
|
" "
|
|
291
291
|
] }),
|
|
292
|
-
r[
|
|
292
|
+
r[m],
|
|
293
293
|
b === !0 && /* @__PURE__ */ o(
|
|
294
|
-
|
|
294
|
+
Q,
|
|
295
295
|
{
|
|
296
296
|
className: "times-btn",
|
|
297
297
|
icon: "times",
|
|
298
298
|
sizeInUnits: "0.75rem",
|
|
299
299
|
onClick: () => u(
|
|
300
300
|
r[a],
|
|
301
|
-
r[
|
|
302
|
-
r[
|
|
301
|
+
r[m],
|
|
302
|
+
r[N],
|
|
303
303
|
n ? r[n] : null,
|
|
304
|
-
|
|
304
|
+
h ? r[h] : null
|
|
305
305
|
)
|
|
306
306
|
}
|
|
307
307
|
)
|
|
@@ -2,13 +2,13 @@ import { jsxs as m, jsx as e, Fragment as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { Suspense as l } from "react";
|
|
3
3
|
import { S as d, a as r, b as n } from "./style-BwQ4djFC.js";
|
|
4
4
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as c } from "./breakpoints-ff0SIcV3.js";
|
|
6
6
|
const o = g(d)`
|
|
7
7
|
&.skeleton__tags {
|
|
8
8
|
max-width: 50rem;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
@media
|
|
11
|
+
@media ${c("S")} {
|
|
12
12
|
&.skeleton__tags {
|
|
13
13
|
overflow-x: hidden;
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as u, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as C, useState as h } from "react";
|
|
3
3
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as D,
|
|
6
|
-
import { u as E } from "./useDetectMobile-
|
|
4
|
+
import { d as w } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { t as D, m as V } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import { u as E } from "./useDetectMobile-CcVo3PNi.js";
|
|
7
7
|
import I from "./Button.js";
|
|
8
8
|
const M = d.div`
|
|
9
9
|
display: flex;
|
|
@@ -48,7 +48,7 @@ const M = d.div`
|
|
|
48
48
|
overflow: hidden;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
@media
|
|
51
|
+
@media ${w("S")} {
|
|
52
52
|
gap: 1rem;
|
|
53
53
|
flex-direction: column;
|
|
54
54
|
padding: 1rem;
|
|
@@ -131,7 +131,7 @@ const M = d.div`
|
|
|
131
131
|
opacity: 1;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
@media
|
|
134
|
+
@media ${w("S")} {
|
|
135
135
|
gap: 1.25rem;
|
|
136
136
|
flex-direction: row;
|
|
137
137
|
|
|
@@ -148,7 +148,7 @@ const M = d.div`
|
|
|
148
148
|
display: flex;
|
|
149
149
|
gap: 0.75rem;
|
|
150
150
|
padding-top: 0.75rem;
|
|
151
|
-
@media
|
|
151
|
+
@media ${w("S")} {
|
|
152
152
|
padding-top: 0;
|
|
153
153
|
}
|
|
154
154
|
`, j = d.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),c=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),w=require("./utils-CITgSxXe.cjs"),f=require("./useDetectMobile-DYV6V1yw.cjs"),m=require("./Button.cjs"),y=require("./index-DsINTjQk.cjs"),v=d.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
border-radius: 0.75rem 0 0 0.75rem;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
@media
|
|
30
|
+
@media ${l.down("S")} {
|
|
31
31
|
padding: 1rem;
|
|
32
32
|
column-gap: 1.5rem;
|
|
33
33
|
row-gap: 1rem;
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
margin-top: auto;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
@media
|
|
79
|
+
@media ${l.down("S")} {
|
|
80
80
|
padding: 0;
|
|
81
81
|
}
|
|
82
|
-
`,C=c.forwardRef((g,q)=>{const{title:u,imageUrl:
|
|
82
|
+
`,C=c.forwardRef((g,q)=>{const{title:u,imageUrl:h,text:p,onCardClick:t,buttonText:o,metadata:r,titleSlug:i,LinkComponent:n}=g,x=n||"a",a=f.useDetectMobile(),s=c.useRef();return e.jsxs(v,{ref:s,className:"blog-card","data-accessor":r==null?void 0:r.accessor,name:r==null?void 0:r.name,onClick:b=>t(b,s),as:x,...n?{to:`/blog/${i}`}:{href:`/blog/${i}`},children:[e.jsx(y.ProductImageWrapper,{src:h}),e.jsxs(j,{children:[e.jsx("div",{className:"text-wr-title",children:u}),e.jsx("div",{className:"text-wr",children:p}),a!==!0&&e.jsx(m,{type:"button",btnType:"outline",size:"medium",color:"gray",onClick:t,children:o})]}),a===!0&&e.jsx(m,{className:"action",type:"button",btnType:"outline",size:"medium",color:"gray",onClick:t,children:o})]})});exports.BlogCardLarge=C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),t=require("react"),x=require("./Icon.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),t=require("react"),x=require("./Icon.cjs"),o=require("./utils-CITgSxXe.cjs"),$=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./breakpoints-CcVm-gVm.cjs"),f=require("./ShopAvatar-CV3lj34D.cjs"),k=require("./index-DsINTjQk.cjs"),D=$.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
font-weight: 500;
|
|
54
54
|
line-height: 1.5rem;
|
|
55
55
|
letter-spacing: -0.0112rem;
|
|
56
|
-
${
|
|
56
|
+
${o.truncateTextInRows(2)}
|
|
57
57
|
text-align: center;
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
font-weight: 400;
|
|
66
66
|
line-height: 1.25rem;
|
|
67
67
|
letter-spacing: -0.0056rem;
|
|
68
|
-
${
|
|
68
|
+
${o.truncateTextInRows(2)}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
& .wrapper__badges {
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
@media
|
|
132
|
+
@media ${R.down("S")} {
|
|
133
133
|
max-width: 10rem;
|
|
134
134
|
min-width: 10rem;
|
|
135
135
|
|
|
@@ -139,4 +139,4 @@
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
|
-
`,
|
|
142
|
+
`,E=t.forwardRef(({uuid:c,image:p,imageComponent:g,title:w,subtitle:d,badges:v,rating:y,reviewCount:m,products:l,onSelectCard:j=()=>{},getProductImage:b=()=>{},canAcceptPayments:N,hideProducts:S=!1,showRating:q=!0,metadata:i={},LinkComponent:_},I)=>{const u=_||"a",s=t.useRef(),h=t.useRef();return t.useEffect(()=>{var n;const e=a=>{a.target.src=f.DefaultShopImage,a.onerror=null};return(n=s==null?void 0:s.current)==null||n.addEventListener("error",e),()=>{var a;(a=s==null?void 0:s.current)==null||a.removeEventListener("error",e)}},[]),r.jsxs(D,{ref:h,name:i==null?void 0:i.name,"data-accessor":i==null?void 0:i.accessor,onClick:e=>j(e,h),as:u,..._?{to:`/shop/${c}`}:{href:`/shop/${c}`},children:[r.jsxs("div",{className:"wrapper__content",children:[o.isDefined(g)?g:p?r.jsx("img",{ref:s,src:p,className:"wrapper__image"}):r.jsx("img",{src:f.DefaultShopImage,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__info",children:[r.jsxs("div",{className:"wrapper__title",children:[w," ",N&&r.jsx(x,{color:"secondary",icon:"credit-card",className:"card"})]}),r.jsx("div",{className:"wrapper__subtitle",children:d}),v&&r.jsx("div",{className:"wrapper__badges"}),q&&r.jsxs("div",{className:"wrapper__rating",children:[r.jsx("div",{className:"wrapper_stars",children:[...Array(5).keys()].map((e,n)=>r.jsx(x,{icon:" mng-lnc-star--filled",className:`wrapper__star ${e>=y?"gold-star":""}`},`shop-card-rating-star__${n+1}`))}),r.jsxs("div",{className:"wrapper__review-count",children:["(",m==null?void 0:m.toLocaleString(),")"]})]})]})]}),S!==!0&&r.jsx("div",{className:"wrapper__products",children:l&&(l==null?void 0:l.map((e,n)=>r.jsx(t.Fragment,{children:r.jsx("div",{className:"wrapper__product",onClick:()=>{var a;return(a=e==null?void 0:e.onSelectProduct)==null?void 0:a.call(e,e==null?void 0:e.uuid)},children:o.isDefined(e==null?void 0:e.imageComponent)?e==null?void 0:e.imageComponent:r.jsx(k.ProductImageWrapper,{src:b(e==null?void 0:e.image,e==null?void 0:e.uuid,c),className:"product__image"})})},n)))})]})});exports.ShopCard=E;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
const
|
|
3
|
+
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as m } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import u from "./Button.js";
|
|
6
|
+
const b = f.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
gap: 1.25rem;
|
|
@@ -35,31 +35,31 @@ const u = m.div`
|
|
|
35
35
|
color: var(--gray-700, #4e555f);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@media
|
|
38
|
+
@media ${m("S")} {
|
|
39
39
|
align-items: start;
|
|
40
40
|
justify-content: start;
|
|
41
41
|
& .txt-block-title {
|
|
42
42
|
font-size: 1.375rem;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
`, v = d((e,
|
|
46
|
-
const { title: r, subtitle: i, description:
|
|
45
|
+
`, v = d((e, p) => {
|
|
46
|
+
const { title: r, subtitle: i, description: n, buttonText: l, buttonLink: c, onButtonAction: s = () => {
|
|
47
47
|
}, ...a } = e;
|
|
48
|
-
return /* @__PURE__ */ o(
|
|
48
|
+
return /* @__PURE__ */ o(b, { ...a, children: [
|
|
49
49
|
/* @__PURE__ */ o("div", { className: "block-group", children: [
|
|
50
50
|
/* @__PURE__ */ t("div", { className: "txt-block-subtitle", children: i }),
|
|
51
51
|
/* @__PURE__ */ t("div", { className: "txt-block-title", children: r }),
|
|
52
|
-
/* @__PURE__ */ t("div", { className: "txt-block-description", children:
|
|
52
|
+
/* @__PURE__ */ t("div", { className: "txt-block-description", children: n })
|
|
53
53
|
] }),
|
|
54
54
|
/* @__PURE__ */ t(
|
|
55
|
-
|
|
55
|
+
u,
|
|
56
56
|
{
|
|
57
57
|
type: "button",
|
|
58
58
|
btnType: "outline",
|
|
59
59
|
borderRadius: "curved",
|
|
60
60
|
onClick: () => s(c),
|
|
61
61
|
color: "gray",
|
|
62
|
-
children:
|
|
62
|
+
children: l
|
|
63
63
|
}
|
|
64
64
|
)
|
|
65
65
|
] });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),i=require("react"),t=require("./style-BAcV7F53.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),i=require("react"),t=require("./style-BAcV7F53.cjs"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),h=require("./breakpoints-CcVm-gVm.cjs"),a=o.styled(t.SkeletonRowWrapper)`
|
|
2
2
|
&.skeleton__tags {
|
|
3
3
|
max-width: 50rem;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
@media
|
|
6
|
+
@media ${h.down("S")} {
|
|
7
7
|
&.skeleton__tags {
|
|
8
8
|
overflow-x: hidden;
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),A=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),A=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./breakpoints-CcVm-gVm.cjs"),j=require("./utils-CITgSxXe.cjs"),C=require("./useDetectMobile-DYV6V1yw.cjs"),D=require("./Button.cjs"),V=P.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1.25rem;
|
|
4
4
|
padding: 1.5rem;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
@media
|
|
44
|
+
@media ${w.down("S")} {
|
|
45
45
|
gap: 1rem;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
padding: 1rem;
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
opacity: 1;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
@media
|
|
127
|
+
@media ${w.down("S")} {
|
|
128
128
|
gap: 1.25rem;
|
|
129
129
|
flex-direction: row;
|
|
130
130
|
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
display: flex;
|
|
142
142
|
gap: 0.75rem;
|
|
143
143
|
padding-top: 0.75rem;
|
|
144
|
-
@media
|
|
144
|
+
@media ${w.down("S")} {
|
|
145
145
|
padding-top: 0;
|
|
146
146
|
}
|
|
147
147
|
`,L=P.styled.div`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const C=require("react/jsx-runtime"),t=require("react"),u=require("./utils-
|
|
1
|
+
"use strict";const C=require("react/jsx-runtime"),t=require("react"),u=require("./utils-CITgSxXe.cjs"),l="data:image/svg+xml,%3csvg%20width='240'%20height='240'%20viewBox='0%200%20240%20240'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='240'%20height='240'%20rx='12'%20fill='%2314161A'%20fill-opacity='0.04'/%3e%3crect%20x='88'%20y='88'%20width='64'%20height='64'%20rx='32'%20fill='%2314161A'%20fill-opacity='0.08'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M110%20108H130C130.53%20108%20131.039%20108.211%20131.414%20108.586C131.789%20108.961%20132%20109.47%20132%20110V130C132%20130.53%20131.789%20131.039%20131.414%20131.414C131.039%20131.789%20130.53%20132%20130%20132H110C109.47%20132%20108.961%20131.789%20108.586%20131.414C108.211%20131.039%20108%20130.53%20108%20130V110C108%20109.47%20108.211%20108.961%20108.586%20108.586C108.961%20108.211%20109.47%20108%20110%20108ZM110%20124V130H130V128L125%20123L123.41%20124.59C123.035%20124.963%20122.528%20125.172%20122%20125.172C121.472%20125.172%20120.965%20124.963%20120.59%20124.59L115%20119L110%20124ZM126.41%20121.58L130%20125.17V110H110V121.17L113.59%20117.58C113.965%20117.207%20114.472%20116.998%20115%20116.998C115.528%20116.998%20116.035%20117.207%20116.41%20117.58L122%20123.17L123.59%20121.58C123.965%20121.207%20124.472%20120.998%20125%20120.998C125.528%20120.998%20126.035%20121.207%20126.41%20121.58ZM124.667%20117.494C124.173%20117.824%20123.593%20118%20123%20118C122.204%20118%20121.441%20117.684%20120.879%20117.121C120.316%20116.559%20120%20115.796%20120%20115C120%20114.407%20120.176%20113.827%20120.506%20113.333C120.835%20112.84%20121.304%20112.455%20121.852%20112.228C122.4%20112.001%20123.003%20111.942%20123.585%20112.058C124.167%20112.173%20124.702%20112.459%20125.121%20112.879C125.541%20113.298%20125.827%20113.833%20125.942%20114.415C126.058%20114.997%20125.999%20115.6%20125.772%20116.148C125.545%20116.696%20125.16%20117.165%20124.667%20117.494ZM123.556%20114.169C123.391%20114.059%20123.198%20114%20123%20114C122.735%20114%20122.48%20114.105%20122.293%20114.293C122.105%20114.48%20122%20114.735%20122%20115C122%20115.198%20122.059%20115.391%20122.169%20115.556C122.278%20115.72%20122.435%20115.848%20122.617%20115.924C122.8%20116%20123.001%20116.019%20123.195%20115.981C123.389%20115.942%20123.567%20115.847%20123.707%20115.707C123.847%20115.567%20123.942%20115.389%20123.981%20115.195C124.019%20115.001%20124%20114.8%20123.924%20114.617C123.848%20114.435%20123.72%20114.278%20123.556%20114.169Z'%20fill='%23868C98'/%3e%3c/svg%3e",a=t.forwardRef(({src:i,...c},s)=>{const e=t.useRef();return t.useEffect(()=>{var o;const n=r=>{r.target.src=l,r.onerror=null};return(o=e==null?void 0:e.current)==null||o.addEventListener("error",n),()=>{var r;(r=e==null?void 0:e.current)==null||r.removeEventListener("error",n)}},[]),C.jsx(t.Fragment,{ref:s,children:u.isDefinedNotEmptyString(i)?C.jsx("img",{ref:e,src:i,...c}):C.jsx("img",{src:l,...c})})});exports.ProductImageWrapper=a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as b, useRef as w } from "react";
|
|
3
3
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as v } from "./useDetectMobile-
|
|
4
|
+
import { d as l } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { n as y } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import { u as v } from "./useDetectMobile-CcVo3PNi.js";
|
|
7
7
|
import c from "./Button.js";
|
|
8
|
-
import { P as C } from "./index-
|
|
8
|
+
import { P as C } from "./index-BvMY2TbK.js";
|
|
9
9
|
const k = s.a`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
color: var(--gray-950);
|
|
@@ -35,7 +35,7 @@ const k = s.a`
|
|
|
35
35
|
border-radius: 0.75rem 0 0 0.75rem;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@media
|
|
38
|
+
@media ${l("S")} {
|
|
39
39
|
padding: 1rem;
|
|
40
40
|
column-gap: 1.5rem;
|
|
41
41
|
row-gap: 1rem;
|
|
@@ -84,20 +84,20 @@ const k = s.a`
|
|
|
84
84
|
margin-top: auto;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
@media
|
|
87
|
+
@media ${l("S")} {
|
|
88
88
|
padding: 0;
|
|
89
89
|
}
|
|
90
|
-
`,
|
|
90
|
+
`, L = b((p, $) => {
|
|
91
91
|
const {
|
|
92
92
|
title: g,
|
|
93
93
|
imageUrl: h,
|
|
94
|
-
text:
|
|
94
|
+
text: u,
|
|
95
95
|
onCardClick: t,
|
|
96
96
|
buttonText: o,
|
|
97
97
|
metadata: r,
|
|
98
98
|
titleSlug: i,
|
|
99
99
|
LinkComponent: a
|
|
100
|
-
} = p,
|
|
100
|
+
} = p, x = a || "a", m = v(), n = w();
|
|
101
101
|
return /* @__PURE__ */ d(
|
|
102
102
|
k,
|
|
103
103
|
{
|
|
@@ -106,13 +106,13 @@ const k = s.a`
|
|
|
106
106
|
"data-accessor": r == null ? void 0 : r.accessor,
|
|
107
107
|
name: r == null ? void 0 : r.name,
|
|
108
108
|
onClick: (f) => t(f, n),
|
|
109
|
-
as:
|
|
109
|
+
as: x,
|
|
110
110
|
...a ? { to: `/blog/${i}` } : { href: `/blog/${i}` },
|
|
111
111
|
children: [
|
|
112
112
|
/* @__PURE__ */ e(C, { src: h }),
|
|
113
113
|
/* @__PURE__ */ d(T, { children: [
|
|
114
114
|
/* @__PURE__ */ e("div", { className: "text-wr-title", children: g }),
|
|
115
|
-
/* @__PURE__ */ e("div", { className: "text-wr", children:
|
|
115
|
+
/* @__PURE__ */ e("div", { className: "text-wr", children: u }),
|
|
116
116
|
m !== !0 && /* @__PURE__ */ e(
|
|
117
117
|
c,
|
|
118
118
|
{
|
|
@@ -142,5 +142,5 @@ const k = s.a`
|
|
|
142
142
|
);
|
|
143
143
|
});
|
|
144
144
|
export {
|
|
145
|
-
|
|
145
|
+
L as B
|
|
146
146
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { S as
|
|
1
|
+
import { jsxs as i, jsx as e, Fragment as a } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as d } from "react";
|
|
3
|
+
import { S as m, a as o } from "./style-BwQ4djFC.js";
|
|
4
4
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
7
|
-
@media
|
|
5
|
+
import { d as c } from "./breakpoints-ff0SIcV3.js";
|
|
6
|
+
const f = l(m)`
|
|
7
|
+
@media ${c("S")} {
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
|
|
10
10
|
& > div {
|
|
@@ -18,7 +18,7 @@ const p = l(d)`
|
|
|
18
18
|
box-shadow: none;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
`,
|
|
21
|
+
`, h = ({ keyPrefix: r }) => /* @__PURE__ */ i(f, { children: [
|
|
22
22
|
/* @__PURE__ */ e(
|
|
23
23
|
o,
|
|
24
24
|
{
|
|
@@ -43,12 +43,12 @@ const p = l(d)`
|
|
|
43
43
|
},
|
|
44
44
|
`${r}-3`
|
|
45
45
|
)
|
|
46
|
-
] }),
|
|
46
|
+
] }), R = ({
|
|
47
47
|
keyPrefix: r,
|
|
48
48
|
isLoading: t = !1,
|
|
49
49
|
fallbackComponent: n = /* @__PURE__ */ e(a, {}),
|
|
50
|
-
children:
|
|
51
|
-
}) => /* @__PURE__ */ e(
|
|
50
|
+
children: s
|
|
51
|
+
}) => /* @__PURE__ */ e(d, { fallbackComponent: n, children: t === !0 ? /* @__PURE__ */ e(h, { keyPrefix: r }) : s });
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
R as S
|
|
54
54
|
};
|