@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
package/dist/PasswordInput.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsxs as D, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as A, useState as x, useEffect as k, useCallback as G } from "react";
|
|
3
3
|
import { d as H } from "./index-Dt62UGku.js";
|
|
4
4
|
import J from "./Icon.js";
|
|
5
|
-
import { s as
|
|
6
|
-
import {
|
|
5
|
+
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
+
import { e as f, c as o, b as K, f as M, i as O, d as Q } from "./utils-B2fsQ6PS.js";
|
|
7
7
|
import { u as X } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const Y =
|
|
8
|
+
const Y = m.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
|
|
12
|
-
min-height: ${(e) =>
|
|
13
|
-
max-height: ${(e) =>
|
|
12
|
+
min-height: ${(e) => f(e.theme, e.size)};
|
|
13
|
+
max-height: ${(e) => f(e.theme, e.size)};
|
|
14
14
|
background-color: ${(e) => o(
|
|
15
15
|
e.theme,
|
|
16
16
|
"Input",
|
|
@@ -45,7 +45,7 @@ const Y = h.div`
|
|
|
45
45
|
"disabled",
|
|
46
46
|
"text"
|
|
47
47
|
)};`}
|
|
48
|
-
`, I =
|
|
48
|
+
`, I = m.span`
|
|
49
49
|
padding: 0 12px;
|
|
50
50
|
color: ${(e) => o(
|
|
51
51
|
e.theme,
|
|
@@ -54,9 +54,9 @@ const Y = h.div`
|
|
|
54
54
|
"enabled",
|
|
55
55
|
"prefix"
|
|
56
56
|
)};
|
|
57
|
-
`, Z =
|
|
57
|
+
`, Z = m(I)``, _ = m(I)`
|
|
58
58
|
cursor: pointer;
|
|
59
|
-
`, ee =
|
|
59
|
+
`, ee = m.input`
|
|
60
60
|
background: none;
|
|
61
61
|
border: none;
|
|
62
62
|
outline: none;
|
|
@@ -65,8 +65,8 @@ const Y = h.div`
|
|
|
65
65
|
width: 100%;
|
|
66
66
|
|
|
67
67
|
${(e) => Q(e.theme, "Input", e.size, "enabled")}
|
|
68
|
-
min-height: ${(e) =>
|
|
69
|
-
max-height: ${(e) =>
|
|
68
|
+
min-height: ${(e) => f(e.theme, e.size)};
|
|
69
|
+
max-height: ${(e) => f(e.theme, e.size)};
|
|
70
70
|
color: ${(e) => o(
|
|
71
71
|
e.theme,
|
|
72
72
|
"Input",
|
|
@@ -118,7 +118,7 @@ const Y = h.div`
|
|
|
118
118
|
readOnly: S,
|
|
119
119
|
debounceTime: R = 0,
|
|
120
120
|
placeholder: V,
|
|
121
|
-
prefix:
|
|
121
|
+
prefix: g,
|
|
122
122
|
suffix: b,
|
|
123
123
|
value: r,
|
|
124
124
|
defaultValue: B,
|
|
@@ -136,12 +136,12 @@ const Y = h.div`
|
|
|
136
136
|
k(() => {
|
|
137
137
|
r != null && v(r);
|
|
138
138
|
}, [r]);
|
|
139
|
-
const [
|
|
139
|
+
const [h, W] = x(!0), [s, z] = x(!1);
|
|
140
140
|
k(() => {
|
|
141
141
|
var a;
|
|
142
142
|
const t = ((a = l == null ? void 0 : l.current) == null ? void 0 : a.value) || "";
|
|
143
143
|
l.current.selectionStart = t != null && t.length ? t.length : 0, l.current.selectionEnd = t != null && t.length ? t.length : 0;
|
|
144
|
-
}, [
|
|
144
|
+
}, [h]), k(() => {
|
|
145
145
|
n != null && (n.current = l.current);
|
|
146
146
|
}, [n, l]);
|
|
147
147
|
const j = G(
|
|
@@ -152,7 +152,7 @@ const Y = h.div`
|
|
|
152
152
|
}, P = (t) => {
|
|
153
153
|
v(t.target.value), j(t, t.target.value);
|
|
154
154
|
}, U = () => {
|
|
155
|
-
W(!
|
|
155
|
+
W(!h), l.current.focus();
|
|
156
156
|
};
|
|
157
157
|
return /* @__PURE__ */ D(
|
|
158
158
|
Y,
|
|
@@ -167,26 +167,26 @@ const Y = h.div`
|
|
|
167
167
|
disabled: C,
|
|
168
168
|
readOnly: S,
|
|
169
169
|
children: [
|
|
170
|
-
|
|
170
|
+
g && /* @__PURE__ */ i(
|
|
171
171
|
I,
|
|
172
172
|
{
|
|
173
173
|
theme: u,
|
|
174
174
|
color: c,
|
|
175
175
|
focused: s,
|
|
176
176
|
className: "lnc-input-prefix",
|
|
177
|
-
children:
|
|
177
|
+
children: g
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
180
|
/* @__PURE__ */ i(
|
|
181
181
|
ee,
|
|
182
182
|
{
|
|
183
183
|
ref: l,
|
|
184
|
-
type:
|
|
184
|
+
type: h ? "password" : "text",
|
|
185
185
|
theme: u,
|
|
186
186
|
color: c,
|
|
187
187
|
size: p,
|
|
188
188
|
placeholder: V,
|
|
189
|
-
prefix:
|
|
189
|
+
prefix: g,
|
|
190
190
|
suffix: b,
|
|
191
191
|
disabled: C,
|
|
192
192
|
readOnly: S,
|
|
@@ -209,7 +209,7 @@ const Y = h.div`
|
|
|
209
209
|
color: c,
|
|
210
210
|
focused: s,
|
|
211
211
|
onClick: U,
|
|
212
|
-
children: /* @__PURE__ */ i(J, { icon:
|
|
212
|
+
children: /* @__PURE__ */ i(J, { icon: h ? "eye-slash" : "eye" })
|
|
213
213
|
}
|
|
214
214
|
),
|
|
215
215
|
b && /* @__PURE__ */ i(
|
package/dist/PopoverContent.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),l=require("react"),i=require("./floating-ui.react.esm-CiYofNnh.cjs"),g=require("./PopoverContext.cjs"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),l=require("react"),i=require("./floating-ui.react.esm-CiYofNnh.cjs"),g=require("./PopoverContext.cjs"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-CITgSxXe.cjs"),x=require("./motion-B_VPZaJq.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=p.styled(x.motion.div)`
|
|
2
2
|
font-family: ${e=>{var t,r;return(r=(t=e.theme)==null?void 0:t.typography)==null?void 0:r.fontFamily}};
|
|
3
3
|
animation: fadeIn 0.4s;
|
|
4
4
|
box-shadow: ${e=>s.getComponentPropValue(e.theme,"Popover",e.color,"enabled","boxShadow")};
|
package/dist/PopoverContent.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as c, useContext as p } from "react";
|
|
|
3
3
|
import { a as f, F as u, b } from "./floating-ui.react.esm-CfpRzwmn.js";
|
|
4
4
|
import g from "./PopoverContext.js";
|
|
5
5
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { g as x,
|
|
6
|
+
import { g as x, b as v, c as y } from "./utils-B2fsQ6PS.js";
|
|
7
7
|
import { m as P } from "./motion-Ckekul_K.js";
|
|
8
8
|
import { u as w } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const C = h(P.div)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),P=require("./useDetectMobile-DYV6V1yw.cjs"),f=require("./style-DC05rdyx.cjs"),u=require("./utils-CITgSxXe.cjs"),L=require("./index-DsINTjQk.cjs"),i=require("./style-BAcV7F53.cjs"),W=S.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 22.5rem;
|
|
4
4
|
min-height: 22.5rem;
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
object-fit: cover;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
@media
|
|
19
|
+
@media ${d.down("S")} {
|
|
20
20
|
height: 100%;
|
|
21
21
|
min-height: 100%;
|
|
22
22
|
max-height: 100%;
|
|
@@ -31,15 +31,25 @@
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
|
|
34
|
+
`,$=S.styled.div`
|
|
35
35
|
display: grid;
|
|
36
36
|
grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
|
|
37
37
|
gap: 1.25rem;
|
|
38
38
|
|
|
39
|
-
@media
|
|
39
|
+
@media ${d.down("M")} {
|
|
40
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media ${d.down("S")} {
|
|
40
44
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
45
|
+
gap: 1rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@media ${d.down("XS")} {
|
|
49
|
+
grid-template-columns: 1fr;
|
|
50
|
+
gap: 0.75rem;
|
|
41
51
|
}
|
|
42
|
-
|
|
52
|
+
`,C=S.styled.a`
|
|
43
53
|
display: flex;
|
|
44
54
|
flex-direction: column;
|
|
45
55
|
gap: 0.5rem;
|
|
@@ -57,10 +67,10 @@
|
|
|
57
67
|
& .card-title {
|
|
58
68
|
font-size: 0.875rem;
|
|
59
69
|
font-weight: 600;
|
|
60
|
-
${
|
|
70
|
+
${u.truncateTextInRows(2)}
|
|
61
71
|
}
|
|
62
72
|
|
|
63
|
-
@media
|
|
73
|
+
@media ${d.down("S")} {
|
|
64
74
|
& img {
|
|
65
75
|
width: 8.875rem;
|
|
66
76
|
height: 8.875rem;
|
|
@@ -71,11 +81,11 @@
|
|
|
71
81
|
object-fit: cover;
|
|
72
82
|
}
|
|
73
83
|
}
|
|
74
|
-
`,
|
|
75
|
-
@media
|
|
84
|
+
`,q=l.forwardRef((t,m)=>{const{uuid:s,title:n,image:c,sellerUuid:R,onSelectCard:j=()=>{},imageComponent:g,metadata:o,nameSlug:a,LinkComponent:h}=t,p=h||"a",k=l.useRef(null);return e.jsxs(C,{ref:k,className:"product-card",name:o==null?void 0:o.name,"data-accessor":o==null?void 0:o.accessor,onClick:r=>j(r,m),as:p,...h?{to:`/product/${u.isDefinedNotEmptyString(a)?`${a}-`:""}${s}`}:{href:`/product/${u.isDefinedNotEmptyString(a)?`${a}-`:""}${s}`},children:[u.isDefined(g)?g:e.jsx(L.ProductImageWrapper,{src:c}),e.jsx("div",{className:"card-title",children:n})]})}),y=S.styled(i.SkeletonColumnWrapper)`
|
|
85
|
+
@media ${d.down("S")} {
|
|
76
86
|
& .skeleton__banner {
|
|
77
87
|
height: 100%;
|
|
78
88
|
aspect-ratio: 1 / 1;
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
|
-
`,
|
|
91
|
+
`,v=({keyPrefix:t})=>e.jsxs(y,{children:[e.jsx(i.SkeletonLinePlaceholder,{height:"22.5rem",className:"skeleton__banner"}),e.jsxs(i.SkeletonRowWrapper,{children:[e.jsxs(i.SkeletonColumnWrapper,{gap:"0.5rem",children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(i.SkeletonColumnWrapper,{height:"1rem",children:e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"})}),e.jsxs(i.SkeletonRowWrapper,{gap:"0.5rem",children:[e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(i.SkeletonColumnWrapper,{height:"2rem",children:e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})})]},`${t}-1`),e.jsxs(i.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(i.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${t}-2`),e.jsxs(i.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(i.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${t}-3`),e.jsxs(i.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(i.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(i.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(i.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${t}-4`)]})]}),N=({keyPrefix:t,isLoading:m=!1,fallbackComponent:s=e.jsx(e.Fragment,{}),children:n})=>e.jsx(l.Suspense,{fallbackComponent:s,children:m===!0?e.jsx(v,{keyPrefix:t}):n}),w=l.memo(q),U=l.forwardRef((t,m)=>{const{icon:s,items:n,limit:c=4,imageUrl:R,title:j="Season inspiration",isLoading:g=!1,getImage:o=()=>{},componentName:a,LinkComponent:h}=t,p=P.useDetectMobile(),k=l.useMemo(()=>e.jsx(e.Fragment,{children:p===!0?n==null?void 0:n.map((r,b)=>e.jsx(w,{title:r==null?void 0:r.name,sellerUuid:r==null?void 0:r.sellerUuid,uuid:r==null?void 0:r.uuid,nameSlug:r==null?void 0:r.nameSlug,image:o(r==null?void 0:r.image,r==null?void 0:r.uuid,r==null?void 0:r.sellerUuid)||null,metadata:{name:a,accessor:r==null?void 0:r.accessor},LinkComponent:h},b)):n==null?void 0:n.slice(0,c).map((r,b)=>e.jsx(w,{title:r==null?void 0:r.name,sellerUuid:r==null?void 0:r.sellerUuid,uuid:r==null?void 0:r.uuid,nameSlug:r==null?void 0:r.nameSlug,image:o(r==null?void 0:r.image,r==null?void 0:r.uuid,r==null?void 0:r.sellerUuid)||null,metadata:{name:a,accessor:r==null?void 0:r.accessor},LinkComponent:h},b))}),[n,p,c]);return e.jsxs(f.RegulatTitleSectionWrapper,{ref:m,children:[e.jsx("div",{className:"regular-title",children:e.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(s)&&e.jsx("i",{className:s}),e.jsx("span",{children:j})]})}),e.jsxs(N,{isLoading:g,keyPrefix:"products-with-banner-skeleton",children:[e.jsx(W,{className:"products-banner",children:e.jsx("img",{src:R})}),e.jsx($,{limit:c,children:k})]})]})});module.exports=U;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { jsxs as t, jsx as r, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { R as
|
|
7
|
-
import {
|
|
8
|
-
import { P as
|
|
9
|
-
import { b as s, a as i, S as
|
|
10
|
-
const
|
|
1
|
+
import { jsxs as t, jsx as r, Fragment as W } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as N, useRef as P, Suspense as U, memo as G, useMemo as j } from "react";
|
|
3
|
+
import { s as R } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as h } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { u as M } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
+
import { R as y } from "./style-BUyFad_y.js";
|
|
7
|
+
import { n as B, m as L, l as C } from "./utils-B2fsQ6PS.js";
|
|
8
|
+
import { P as _ } from "./index-BvMY2TbK.js";
|
|
9
|
+
import { b as s, a as i, S as g, c as f } from "./style-BwQ4djFC.js";
|
|
10
|
+
const z = R.div`
|
|
11
11
|
width: 100%;
|
|
12
12
|
height: 22.5rem;
|
|
13
13
|
min-height: 22.5rem;
|
|
@@ -25,7 +25,7 @@ const y = f.div`
|
|
|
25
25
|
object-fit: cover;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
@media
|
|
28
|
+
@media ${h("S")} {
|
|
29
29
|
height: 100%;
|
|
30
30
|
min-height: 100%;
|
|
31
31
|
max-height: 100%;
|
|
@@ -40,15 +40,25 @@ const y = f.div`
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
`,
|
|
43
|
+
`, D = R.div`
|
|
44
44
|
display: grid;
|
|
45
45
|
grid-template-columns: ${(a) => `repeat(${a.limit}, minmax(0, 1fr))`};
|
|
46
46
|
gap: 1.25rem;
|
|
47
47
|
|
|
48
|
-
@media
|
|
48
|
+
@media ${h("M")} {
|
|
49
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media ${h("S")} {
|
|
49
53
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
54
|
+
gap: 1rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@media ${h("XS")} {
|
|
58
|
+
grid-template-columns: 1fr;
|
|
59
|
+
gap: 0.75rem;
|
|
50
60
|
}
|
|
51
|
-
`,
|
|
61
|
+
`, I = R.a`
|
|
52
62
|
display: flex;
|
|
53
63
|
flex-direction: column;
|
|
54
64
|
gap: 0.5rem;
|
|
@@ -69,7 +79,7 @@ const y = f.div`
|
|
|
69
79
|
${B(2)}
|
|
70
80
|
}
|
|
71
81
|
|
|
72
|
-
@media
|
|
82
|
+
@media ${h("S")} {
|
|
73
83
|
& img {
|
|
74
84
|
width: 8.875rem;
|
|
75
85
|
height: 8.875rem;
|
|
@@ -80,52 +90,52 @@ const y = f.div`
|
|
|
80
90
|
object-fit: cover;
|
|
81
91
|
}
|
|
82
92
|
}
|
|
83
|
-
`,
|
|
93
|
+
`, T = N((a, l) => {
|
|
84
94
|
const {
|
|
85
95
|
uuid: o,
|
|
86
|
-
title:
|
|
96
|
+
title: m,
|
|
87
97
|
image: c,
|
|
88
|
-
sellerUuid:
|
|
89
|
-
onSelectCard:
|
|
98
|
+
sellerUuid: v,
|
|
99
|
+
onSelectCard: S = () => {
|
|
90
100
|
},
|
|
91
|
-
imageComponent:
|
|
92
|
-
metadata:
|
|
101
|
+
imageComponent: p,
|
|
102
|
+
metadata: d,
|
|
93
103
|
nameSlug: n,
|
|
94
|
-
LinkComponent:
|
|
95
|
-
} = a,
|
|
104
|
+
LinkComponent: u
|
|
105
|
+
} = a, b = u || "a", w = P(null);
|
|
96
106
|
return /* @__PURE__ */ t(
|
|
97
|
-
|
|
107
|
+
I,
|
|
98
108
|
{
|
|
99
|
-
ref:
|
|
109
|
+
ref: w,
|
|
100
110
|
className: "product-card",
|
|
101
|
-
name:
|
|
102
|
-
"data-accessor":
|
|
103
|
-
onClick: (e) =>
|
|
104
|
-
as:
|
|
105
|
-
...
|
|
111
|
+
name: d == null ? void 0 : d.name,
|
|
112
|
+
"data-accessor": d == null ? void 0 : d.accessor,
|
|
113
|
+
onClick: (e) => S(e, l),
|
|
114
|
+
as: b,
|
|
115
|
+
...u ? {
|
|
106
116
|
to: `/product/${C(n) ? `${n}-` : ""}${o}`
|
|
107
117
|
} : {
|
|
108
118
|
href: `/product/${C(n) ? `${n}-` : ""}${o}`
|
|
109
119
|
},
|
|
110
120
|
children: [
|
|
111
|
-
|
|
112
|
-
/* @__PURE__ */ r("div", { className: "card-title", children:
|
|
121
|
+
L(p) ? p : /* @__PURE__ */ r(_, { src: c }),
|
|
122
|
+
/* @__PURE__ */ r("div", { className: "card-title", children: m })
|
|
113
123
|
]
|
|
114
124
|
}
|
|
115
125
|
);
|
|
116
|
-
}),
|
|
117
|
-
@media
|
|
126
|
+
}), q = R(s)`
|
|
127
|
+
@media ${h("S")} {
|
|
118
128
|
& .skeleton__banner {
|
|
119
129
|
height: 100%;
|
|
120
130
|
aspect-ratio: 1 / 1;
|
|
121
131
|
}
|
|
122
132
|
}
|
|
123
|
-
`,
|
|
133
|
+
`, E = ({ keyPrefix: a }) => /* @__PURE__ */ t(q, { children: [
|
|
124
134
|
/* @__PURE__ */ r(i, { height: "22.5rem", className: "skeleton__banner" }),
|
|
125
|
-
/* @__PURE__ */ t(
|
|
135
|
+
/* @__PURE__ */ t(g, { children: [
|
|
126
136
|
/* @__PURE__ */ t(s, { gap: "0.5rem", children: [
|
|
127
137
|
/* @__PURE__ */ r(
|
|
128
|
-
|
|
138
|
+
f,
|
|
129
139
|
{
|
|
130
140
|
height: "100%",
|
|
131
141
|
width: "100%",
|
|
@@ -133,7 +143,7 @@ const y = f.div`
|
|
|
133
143
|
}
|
|
134
144
|
),
|
|
135
145
|
/* @__PURE__ */ r(s, { height: "1rem", children: /* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }) }),
|
|
136
|
-
/* @__PURE__ */ t(
|
|
146
|
+
/* @__PURE__ */ t(g, { gap: "0.5rem", children: [
|
|
137
147
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
138
148
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
139
149
|
] }),
|
|
@@ -146,7 +156,7 @@ const y = f.div`
|
|
|
146
156
|
noGradient: !0,
|
|
147
157
|
children: [
|
|
148
158
|
/* @__PURE__ */ r(
|
|
149
|
-
|
|
159
|
+
f,
|
|
150
160
|
{
|
|
151
161
|
height: "100%",
|
|
152
162
|
width: "100%",
|
|
@@ -154,7 +164,7 @@ const y = f.div`
|
|
|
154
164
|
}
|
|
155
165
|
),
|
|
156
166
|
/* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
157
|
-
/* @__PURE__ */ t(
|
|
167
|
+
/* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
|
|
158
168
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
159
169
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
160
170
|
] }),
|
|
@@ -170,7 +180,7 @@ const y = f.div`
|
|
|
170
180
|
noGradient: !0,
|
|
171
181
|
children: [
|
|
172
182
|
/* @__PURE__ */ r(
|
|
173
|
-
|
|
183
|
+
f,
|
|
174
184
|
{
|
|
175
185
|
height: "100%",
|
|
176
186
|
width: "100%",
|
|
@@ -178,7 +188,7 @@ const y = f.div`
|
|
|
178
188
|
}
|
|
179
189
|
),
|
|
180
190
|
/* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
181
|
-
/* @__PURE__ */ t(
|
|
191
|
+
/* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
|
|
182
192
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
183
193
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
184
194
|
] }),
|
|
@@ -194,7 +204,7 @@ const y = f.div`
|
|
|
194
204
|
noGradient: !0,
|
|
195
205
|
children: [
|
|
196
206
|
/* @__PURE__ */ r(
|
|
197
|
-
|
|
207
|
+
f,
|
|
198
208
|
{
|
|
199
209
|
height: "100%",
|
|
200
210
|
width: "100%",
|
|
@@ -202,7 +212,7 @@ const y = f.div`
|
|
|
202
212
|
}
|
|
203
213
|
),
|
|
204
214
|
/* @__PURE__ */ r(i, { height: "1rem", borderRadius: "0.75rem" }),
|
|
205
|
-
/* @__PURE__ */ t(
|
|
215
|
+
/* @__PURE__ */ t(g, { gap: "0.5rem", noGradient: !0, children: [
|
|
206
216
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" }),
|
|
207
217
|
/* @__PURE__ */ r(i, { height: "1.5rem", borderRadius: "0.75rem" })
|
|
208
218
|
] }),
|
|
@@ -214,64 +224,64 @@ const y = f.div`
|
|
|
214
224
|
] })
|
|
215
225
|
] }), F = ({
|
|
216
226
|
keyPrefix: a,
|
|
217
|
-
isLoading:
|
|
218
|
-
fallbackComponent: o = /* @__PURE__ */ r(
|
|
219
|
-
children:
|
|
220
|
-
}) => /* @__PURE__ */ r(U, { fallbackComponent: o, children:
|
|
227
|
+
isLoading: l = !1,
|
|
228
|
+
fallbackComponent: o = /* @__PURE__ */ r(W, {}),
|
|
229
|
+
children: m
|
|
230
|
+
}) => /* @__PURE__ */ r(U, { fallbackComponent: o, children: l === !0 ? /* @__PURE__ */ r(E, { keyPrefix: a }) : m }), k = G(T), Z = N((a, l) => {
|
|
221
231
|
const {
|
|
222
232
|
icon: o,
|
|
223
|
-
items:
|
|
233
|
+
items: m,
|
|
224
234
|
limit: c = 4,
|
|
225
|
-
imageUrl:
|
|
226
|
-
title:
|
|
227
|
-
isLoading:
|
|
228
|
-
getImage:
|
|
235
|
+
imageUrl: v,
|
|
236
|
+
title: S = "Season inspiration",
|
|
237
|
+
isLoading: p = !1,
|
|
238
|
+
getImage: d = () => {
|
|
229
239
|
},
|
|
230
240
|
componentName: n,
|
|
231
|
-
LinkComponent:
|
|
232
|
-
} = a,
|
|
233
|
-
|
|
241
|
+
LinkComponent: u
|
|
242
|
+
} = a, b = M(), w = j(() => /* @__PURE__ */ r(W, { children: b === !0 ? m == null ? void 0 : m.map((e, $) => /* @__PURE__ */ r(
|
|
243
|
+
k,
|
|
234
244
|
{
|
|
235
245
|
title: e == null ? void 0 : e.name,
|
|
236
246
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
237
247
|
uuid: e == null ? void 0 : e.uuid,
|
|
238
248
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
239
|
-
image:
|
|
249
|
+
image: d(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
240
250
|
metadata: { name: n, accessor: e == null ? void 0 : e.accessor },
|
|
241
|
-
LinkComponent:
|
|
251
|
+
LinkComponent: u
|
|
242
252
|
},
|
|
243
253
|
$
|
|
244
|
-
)) :
|
|
245
|
-
|
|
254
|
+
)) : m == null ? void 0 : m.slice(0, c).map((e, $) => /* @__PURE__ */ r(
|
|
255
|
+
k,
|
|
246
256
|
{
|
|
247
257
|
title: e == null ? void 0 : e.name,
|
|
248
258
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
249
259
|
uuid: e == null ? void 0 : e.uuid,
|
|
250
260
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
251
|
-
image:
|
|
261
|
+
image: d(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
252
262
|
metadata: { name: n, accessor: e == null ? void 0 : e.accessor },
|
|
253
|
-
LinkComponent:
|
|
263
|
+
LinkComponent: u
|
|
254
264
|
},
|
|
255
265
|
$
|
|
256
|
-
)) }), [
|
|
257
|
-
return /* @__PURE__ */ t(
|
|
266
|
+
)) }), [m, b, c]);
|
|
267
|
+
return /* @__PURE__ */ t(y, { ref: l, children: [
|
|
258
268
|
/* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: [
|
|
259
269
|
C(o) && /* @__PURE__ */ r("i", { className: o }),
|
|
260
|
-
/* @__PURE__ */ r("span", { children:
|
|
270
|
+
/* @__PURE__ */ r("span", { children: S })
|
|
261
271
|
] }) }),
|
|
262
272
|
/* @__PURE__ */ t(
|
|
263
273
|
F,
|
|
264
274
|
{
|
|
265
|
-
isLoading:
|
|
275
|
+
isLoading: p,
|
|
266
276
|
keyPrefix: "products-with-banner-skeleton",
|
|
267
277
|
children: [
|
|
268
|
-
/* @__PURE__ */ r(
|
|
269
|
-
/* @__PURE__ */ r(
|
|
278
|
+
/* @__PURE__ */ r(z, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: v }) }),
|
|
279
|
+
/* @__PURE__ */ r(D, { limit: c, children: w })
|
|
270
280
|
]
|
|
271
281
|
}
|
|
272
282
|
)
|
|
273
283
|
] });
|
|
274
284
|
});
|
|
275
285
|
export {
|
|
276
|
-
|
|
286
|
+
Z as default
|
|
277
287
|
};
|
package/dist/ProgressBar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const l=require("react/jsx-runtime"),n=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const l=require("react/jsx-runtime"),n=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-CITgSxXe.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=i.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: ${e=>r.getColorRgbaValue(e.theme,"Progress",e.color,"enabled","unfilled")};
|
package/dist/ProgressBar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as c, jsx as
|
|
1
|
+
import { jsxs as c, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as u, isValidElement as f, cloneElement as P } from "react";
|
|
3
3
|
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as a, d as x } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const w = t.div`
|
|
7
7
|
width: 100%;
|
|
@@ -54,7 +54,7 @@ const w = t.div`
|
|
|
54
54
|
color: g = "primary",
|
|
55
55
|
progressBarEndComponent: r,
|
|
56
56
|
...p
|
|
57
|
-
} = e, o = $(),
|
|
57
|
+
} = e, o = $(), h = () => {
|
|
58
58
|
var n;
|
|
59
59
|
if (f(r))
|
|
60
60
|
return P(r, {
|
|
@@ -72,13 +72,13 @@ const w = t.div`
|
|
|
72
72
|
progressPercentage: s,
|
|
73
73
|
...p,
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ b(
|
|
76
76
|
y,
|
|
77
77
|
{
|
|
78
78
|
progressPercentage: s,
|
|
79
79
|
theme: o,
|
|
80
80
|
color: g,
|
|
81
|
-
children: r !== null &&
|
|
81
|
+
children: r !== null && h()
|
|
82
82
|
}
|
|
83
83
|
),
|
|
84
84
|
i && /* @__PURE__ */ c(z, { theme: o, size: l, children: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),d=require("react"),m=require("./utils-CITgSxXe.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),p=require("./breakpoints-CcVm-gVm.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./styled-components.browser.esm-CvykQBGY.cjs"),h=require("./index-uCWKRzoS.cjs"),b=g.styled.div`
|
|
2
2
|
position: absolute;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
|
|
42
42
|
border-radius: 0.75rem;
|
|
43
43
|
z-index: 2;
|
|
44
|
-
`,w=
|
|
44
|
+
`,w=g.styled.a`
|
|
45
45
|
text-decoration: none;
|
|
46
46
|
color: var(--gray-950);
|
|
47
47
|
cursor: pointer;
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
@media
|
|
96
|
+
@media ${p.down("S")} {
|
|
97
97
|
width: 100%;
|
|
98
98
|
|
|
99
99
|
img {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
display: block;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
`,y=d.forwardRef(({title:o,description:
|
|
113
|
+
`,y=d.forwardRef(({title:o,description:t,imageUrl:l,onSelectCard:i=()=>{},link:n,LinkComponent:s},c)=>{const{theme:a}=f.useTheme(),e=s||"a";return r.jsxs(w,{ref:c,theme:a,onClick:i,as:e,...s?{to:`/${n}`}:{href:`/${n}`},children:[r.jsx("img",{loading:"lazy",src:l}),r.jsx(b,{theme:a,className:"quattro-card__gradient",children:r.jsxs("div",{className:"quattro-card__text",children:[r.jsx("div",{className:"quattro-card__title",children:o}),r.jsx("div",{className:"quattro-card__description",children:t})]})})]})}),q=_.qe.div`
|
|
114
114
|
display: flex;
|
|
115
115
|
flex-direction: column;
|
|
116
116
|
align-items: flex-start;
|
|
@@ -156,12 +156,14 @@
|
|
|
156
156
|
width: 100%;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
@media
|
|
159
|
+
@media ${p.down("S")} {
|
|
160
160
|
gap: 1.25rem;
|
|
161
|
+
}
|
|
161
162
|
|
|
163
|
+
@media ${p.down("XS")} {
|
|
162
164
|
& .wrapper__cards {
|
|
163
165
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
164
166
|
gap: 1rem;
|
|
165
167
|
}
|
|
166
168
|
}
|
|
167
|
-
`,
|
|
169
|
+
`,x=d.memo(y),j=d.forwardRef(({title:o,items:t,isLoading:l=!1,onSelectCard:i=()=>{},LinkComponent:n},s)=>{const c=d.useMemo(()=>{var a;return(a=t==null?void 0:t.slice(0,4))==null?void 0:a.map((e,u)=>r.jsx(x,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,onSelectCard:()=>i==null?void 0:i(e),link:e==null?void 0:e.link,LinkComponent:n},`quattro-card__${u+1}`))},[t]);return r.jsxs(q,{ref:s,children:[r.jsx("div",{className:"wrapper__heading",children:r.jsx("div",{className:"wrapper__title",children:m.isDefinedNotEmptyString(o)&&r.jsx("div",{className:"title__text",children:r.jsx("span",{children:o})})})}),r.jsx(h.SuspenseBlogCardsSponsored,{isLoading:l,keyPrefix:"quattro-cards-skeleton",children:r.jsx("div",{className:"wrapper__cards",children:c})})]})});module.exports=j;
|