@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,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./breakpoints-CcVm-gVm.cjs"),y=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-of6WydGq.cjs"),F=require("./index-B9c6y2J5.cjs"),i=require("./style-BAcV7F53.cjs"),U=q.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: repeat(6, 1fr);
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -9,27 +9,60 @@
|
|
|
9
9
|
margin: auto;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
/* Tablet (768–1024px) – text 3/4 left, 1 card top-right, 4 equal product cols below */
|
|
13
|
+
@media ${l.down("M")} {
|
|
14
|
+
grid-template-columns: repeat(4, 1fr);
|
|
15
|
+
grid-template-rows: auto;
|
|
16
|
+
|
|
17
|
+
& .text-block-v1 {
|
|
18
|
+
grid-column: 1 / 4;
|
|
19
|
+
grid-row: 1;
|
|
20
|
+
max-width: unset;
|
|
21
|
+
margin: 0;
|
|
22
|
+
align-self: start;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .simple-product-card:nth-of-type(1) {
|
|
26
|
+
grid-column: 4;
|
|
27
|
+
grid-row: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .simple-product-card:nth-of-type(n + 2) {
|
|
31
|
+
grid-column: span 1;
|
|
32
|
+
grid-row: auto;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Mobile (≤767px) – title full width above, 2-col product grid below */
|
|
37
|
+
@media ${l.down("S")} {
|
|
13
38
|
grid-template-columns: repeat(2, 1fr);
|
|
39
|
+
gap: 1rem;
|
|
14
40
|
|
|
15
41
|
& .text-block-v1 {
|
|
16
|
-
grid-column: 1 /
|
|
42
|
+
grid-column: 1 / -1;
|
|
43
|
+
grid-row: 1;
|
|
17
44
|
max-width: unset;
|
|
18
|
-
margin:
|
|
45
|
+
margin: 0 0 1rem 0;
|
|
46
|
+
align-self: stretch;
|
|
19
47
|
}
|
|
20
48
|
|
|
21
|
-
& .simple-product-card
|
|
49
|
+
& .simple-product-card:nth-of-type(1),
|
|
50
|
+
& .simple-product-card:nth-of-type(n + 2) {
|
|
51
|
+
grid-column: auto;
|
|
52
|
+
grid-row: auto;
|
|
22
53
|
max-width: unset;
|
|
23
54
|
min-width: unset;
|
|
24
55
|
width: unset;
|
|
25
56
|
}
|
|
57
|
+
}
|
|
26
58
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
59
|
+
/* Small phones (≤480px) – single column */
|
|
60
|
+
@media ${l.down("XS")} {
|
|
61
|
+
grid-template-columns: 1fr;
|
|
62
|
+
gap: 0.75rem;
|
|
30
63
|
}
|
|
31
|
-
`,
|
|
32
|
-
@media
|
|
64
|
+
`,C=q.styled(i.SkeletonColumnWrapper)`
|
|
65
|
+
@media ${l.down("S")} {
|
|
33
66
|
& .skeleton__cards {
|
|
34
67
|
& > div {
|
|
35
68
|
width: 100%;
|
|
@@ -41,4 +74,4 @@
|
|
|
41
74
|
}
|
|
42
75
|
}
|
|
43
76
|
}
|
|
44
|
-
`,R=({keyPrefix:r})=>t.jsxs(
|
|
77
|
+
`,R=({keyPrefix:r})=>t.jsxs(C,{children:[t.jsxs(i.SkeletonRowWrapper,{className:"skeleton__cards",children:[t.jsx(i.SkeletonLinePlaceholder,{width:"100%",height:"11.125rem"},`${r}-1`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-2`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-3`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-4`)]}),t.jsxs(i.SkeletonRowWrapper,{className:"skeleton__cards",children:[t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-5`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-6`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-7`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-8`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-9`),t.jsx(i.SkeletonSquarePlaceholder,{height:"11.125rem",width:"11.125rem"},`${r}-10`)]})]}),T=({keyPrefix:r,isLoading:n=!1,fallbackComponent:a=t.jsx(t.Fragment,{}),children:d})=>t.jsx(s.Suspense,{fallbackComponent:a,children:n===!0?t.jsx(R,{keyPrefix:r}):d}),k=s.memo(M.SimpleProductCard),L=s.forwardRef((r,n)=>{const{title:a,subtitle:d,description:$,buttonText:f,buttonLink:v,items:o,onButtonAction:N=()=>{},isLoading:P=!1,limit:u=6,getImage:m=()=>{},negotiableText:h,freeText:p,componentName:g,LinkComponent:S}=r,w=y.useDetectMobile(),_=s.useMemo(()=>{var j,b;return t.jsx(t.Fragment,{children:w===!0?(j=o==null?void 0:o.slice(0,4))==null?void 0:j.map((e,c)=>t.jsx(k,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,image:m(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:h,freeText:p,metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:S},c)):(b=o==null?void 0:o.slice(0,9))==null?void 0:b.map((e,c)=>t.jsx(k,{title:e==null?void 0:e.name,price:e==null?void 0:e.price,isFree:e==null?void 0:e.isFree,isNegotiable:e==null?void 0:e.isNegotiable,currency:e==null?void 0:e.currency,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,image:m(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,negotiableText:h,freeText:p,metadata:{name:g,accessor:e==null?void 0:e.accessor},LinkComponent:S},c))})},[o,w,u]);return t.jsx(T,{isLoading:P,keyPrefix:"simple-products-skeleton",children:t.jsxs(U,{ref:n,limit:u,children:[t.jsx(F.TextBlockV1,{subtitle:d,title:a,description:$,buttonText:f,buttonLink:v,onButtonAction:N,className:"text-block-v1"}),_]})})});module.exports=L;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as z } from "./index-
|
|
7
|
-
import { T as
|
|
8
|
-
import { b as R, S as $, a as
|
|
9
|
-
const
|
|
1
|
+
import { jsxs as l, jsx as t, Fragment as v } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as y, memo as L, forwardRef as W, useMemo as j } from "react";
|
|
3
|
+
import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { d as a } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { u as q } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
+
import { S as z } from "./index-9KyU46J0.js";
|
|
7
|
+
import { T as B } from "./index-CoQ9APCD.js";
|
|
8
|
+
import { b as R, S as $, a as A, c as i } from "./style-BwQ4djFC.js";
|
|
9
|
+
const D = N.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: repeat(6, 1fr);
|
|
12
12
|
gap: 1.25rem;
|
|
@@ -17,27 +17,60 @@ const A = _.div`
|
|
|
17
17
|
margin: auto;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
/* Tablet (768–1024px) – text 3/4 left, 1 card top-right, 4 equal product cols below */
|
|
21
|
+
@media ${a("M")} {
|
|
22
|
+
grid-template-columns: repeat(4, 1fr);
|
|
23
|
+
grid-template-rows: auto;
|
|
24
|
+
|
|
25
|
+
& .text-block-v1 {
|
|
26
|
+
grid-column: 1 / 4;
|
|
27
|
+
grid-row: 1;
|
|
28
|
+
max-width: unset;
|
|
29
|
+
margin: 0;
|
|
30
|
+
align-self: start;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .simple-product-card:nth-of-type(1) {
|
|
34
|
+
grid-column: 4;
|
|
35
|
+
grid-row: 1;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
& .simple-product-card:nth-of-type(n + 2) {
|
|
39
|
+
grid-column: span 1;
|
|
40
|
+
grid-row: auto;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/* Mobile (≤767px) – title full width above, 2-col product grid below */
|
|
45
|
+
@media ${a("S")} {
|
|
21
46
|
grid-template-columns: repeat(2, 1fr);
|
|
47
|
+
gap: 1rem;
|
|
22
48
|
|
|
23
49
|
& .text-block-v1 {
|
|
24
|
-
grid-column: 1 /
|
|
50
|
+
grid-column: 1 / -1;
|
|
51
|
+
grid-row: 1;
|
|
25
52
|
max-width: unset;
|
|
26
|
-
margin:
|
|
53
|
+
margin: 0 0 1rem 0;
|
|
54
|
+
align-self: stretch;
|
|
27
55
|
}
|
|
28
56
|
|
|
29
|
-
& .simple-product-card
|
|
57
|
+
& .simple-product-card:nth-of-type(1),
|
|
58
|
+
& .simple-product-card:nth-of-type(n + 2) {
|
|
59
|
+
grid-column: auto;
|
|
60
|
+
grid-row: auto;
|
|
30
61
|
max-width: unset;
|
|
31
62
|
min-width: unset;
|
|
32
63
|
width: unset;
|
|
33
64
|
}
|
|
65
|
+
}
|
|
34
66
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
67
|
+
/* Small phones (≤480px) – single column */
|
|
68
|
+
@media ${a("XS")} {
|
|
69
|
+
grid-template-columns: 1fr;
|
|
70
|
+
gap: 0.75rem;
|
|
38
71
|
}
|
|
39
|
-
`,
|
|
40
|
-
@media
|
|
72
|
+
`, G = N(R)`
|
|
73
|
+
@media ${a("S")} {
|
|
41
74
|
& .skeleton__cards {
|
|
42
75
|
& > div {
|
|
43
76
|
width: 100%;
|
|
@@ -49,10 +82,10 @@ const A = _.div`
|
|
|
49
82
|
}
|
|
50
83
|
}
|
|
51
84
|
}
|
|
52
|
-
`,
|
|
53
|
-
/* @__PURE__ */
|
|
85
|
+
`, I = ({ keyPrefix: r }) => /* @__PURE__ */ l(G, { children: [
|
|
86
|
+
/* @__PURE__ */ l($, { className: "skeleton__cards", children: [
|
|
54
87
|
/* @__PURE__ */ t(
|
|
55
|
-
|
|
88
|
+
A,
|
|
56
89
|
{
|
|
57
90
|
width: "100%",
|
|
58
91
|
height: "11.125rem"
|
|
@@ -84,7 +117,7 @@ const A = _.div`
|
|
|
84
117
|
`${r}-4`
|
|
85
118
|
)
|
|
86
119
|
] }),
|
|
87
|
-
/* @__PURE__ */
|
|
120
|
+
/* @__PURE__ */ l($, { className: "skeleton__cards", children: [
|
|
88
121
|
/* @__PURE__ */ t(
|
|
89
122
|
i,
|
|
90
123
|
{
|
|
@@ -134,33 +167,33 @@ const A = _.div`
|
|
|
134
167
|
`${r}-10`
|
|
135
168
|
)
|
|
136
169
|
] })
|
|
137
|
-
] }),
|
|
170
|
+
] }), V = ({
|
|
138
171
|
keyPrefix: r,
|
|
139
|
-
isLoading:
|
|
140
|
-
fallbackComponent:
|
|
141
|
-
children:
|
|
142
|
-
}) => /* @__PURE__ */ t(
|
|
172
|
+
isLoading: m = !1,
|
|
173
|
+
fallbackComponent: n = /* @__PURE__ */ t(v, {}),
|
|
174
|
+
children: d
|
|
175
|
+
}) => /* @__PURE__ */ t(y, { fallbackComponent: n, children: m === !0 ? /* @__PURE__ */ t(I, { keyPrefix: r }) : d }), k = L(z), Y = W((r, m) => {
|
|
143
176
|
const {
|
|
144
|
-
title:
|
|
145
|
-
subtitle:
|
|
146
|
-
description:
|
|
147
|
-
buttonText:
|
|
177
|
+
title: n,
|
|
178
|
+
subtitle: d,
|
|
179
|
+
description: M,
|
|
180
|
+
buttonText: T,
|
|
148
181
|
buttonLink: U,
|
|
149
|
-
items:
|
|
150
|
-
onButtonAction:
|
|
182
|
+
items: o,
|
|
183
|
+
onButtonAction: _ = () => {
|
|
151
184
|
},
|
|
152
|
-
isLoading:
|
|
153
|
-
limit:
|
|
154
|
-
getImage:
|
|
185
|
+
isLoading: C = !1,
|
|
186
|
+
limit: c = 6,
|
|
187
|
+
getImage: u = () => {
|
|
155
188
|
},
|
|
156
|
-
negotiableText:
|
|
189
|
+
negotiableText: p,
|
|
157
190
|
freeText: h,
|
|
158
|
-
componentName:
|
|
159
|
-
LinkComponent:
|
|
160
|
-
} = r,
|
|
161
|
-
var
|
|
162
|
-
return /* @__PURE__ */ t(
|
|
163
|
-
|
|
191
|
+
componentName: g,
|
|
192
|
+
LinkComponent: w
|
|
193
|
+
} = r, S = q(), F = j(() => {
|
|
194
|
+
var b, f;
|
|
195
|
+
return /* @__PURE__ */ t(v, { children: S === !0 ? (b = o == null ? void 0 : o.slice(0, 4)) == null ? void 0 : b.map((e, s) => /* @__PURE__ */ t(
|
|
196
|
+
k,
|
|
164
197
|
{
|
|
165
198
|
title: e == null ? void 0 : e.name,
|
|
166
199
|
price: e == null ? void 0 : e.price,
|
|
@@ -170,15 +203,15 @@ const A = _.div`
|
|
|
170
203
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
171
204
|
uuid: e == null ? void 0 : e.uuid,
|
|
172
205
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
173
|
-
image:
|
|
174
|
-
negotiableText:
|
|
206
|
+
image: u(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
207
|
+
negotiableText: p,
|
|
175
208
|
freeText: h,
|
|
176
|
-
metadata: { name:
|
|
177
|
-
LinkComponent:
|
|
209
|
+
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
210
|
+
LinkComponent: w
|
|
178
211
|
},
|
|
179
|
-
|
|
180
|
-
)) : (
|
|
181
|
-
|
|
212
|
+
s
|
|
213
|
+
)) : (f = o == null ? void 0 : o.slice(0, 9)) == null ? void 0 : f.map((e, s) => /* @__PURE__ */ t(
|
|
214
|
+
k,
|
|
182
215
|
{
|
|
183
216
|
title: e == null ? void 0 : e.name,
|
|
184
217
|
price: e == null ? void 0 : e.price,
|
|
@@ -188,38 +221,38 @@ const A = _.div`
|
|
|
188
221
|
sellerUuid: e == null ? void 0 : e.sellerUuid,
|
|
189
222
|
uuid: e == null ? void 0 : e.uuid,
|
|
190
223
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
191
|
-
image:
|
|
192
|
-
negotiableText:
|
|
224
|
+
image: u(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
225
|
+
negotiableText: p,
|
|
193
226
|
freeText: h,
|
|
194
|
-
metadata: { name:
|
|
195
|
-
LinkComponent:
|
|
227
|
+
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
228
|
+
LinkComponent: w
|
|
196
229
|
},
|
|
197
|
-
|
|
230
|
+
s
|
|
198
231
|
)) });
|
|
199
|
-
}, [
|
|
232
|
+
}, [o, S, c]);
|
|
200
233
|
return /* @__PURE__ */ t(
|
|
201
|
-
|
|
234
|
+
V,
|
|
202
235
|
{
|
|
203
|
-
isLoading:
|
|
236
|
+
isLoading: C,
|
|
204
237
|
keyPrefix: "simple-products-skeleton",
|
|
205
|
-
children: /* @__PURE__ */
|
|
238
|
+
children: /* @__PURE__ */ l(D, { ref: m, limit: c, children: [
|
|
206
239
|
/* @__PURE__ */ t(
|
|
207
|
-
|
|
240
|
+
B,
|
|
208
241
|
{
|
|
209
|
-
subtitle:
|
|
210
|
-
title:
|
|
211
|
-
description:
|
|
212
|
-
buttonText:
|
|
242
|
+
subtitle: d,
|
|
243
|
+
title: n,
|
|
244
|
+
description: M,
|
|
245
|
+
buttonText: T,
|
|
213
246
|
buttonLink: U,
|
|
214
|
-
onButtonAction:
|
|
247
|
+
onButtonAction: _,
|
|
215
248
|
className: "text-block-v1"
|
|
216
249
|
}
|
|
217
250
|
),
|
|
218
|
-
|
|
251
|
+
F
|
|
219
252
|
] })
|
|
220
253
|
}
|
|
221
254
|
);
|
|
222
255
|
});
|
|
223
256
|
export {
|
|
224
|
-
|
|
257
|
+
Y as default
|
|
225
258
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-
|
|
1
|
+
"use strict";const g=require("./_commonjsHelpers-DwTZ_eVU.cjs"),b=require("react"),d=require("./SearchSection-DUY61r3k.cjs");function v(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const a=Object.getOwnPropertyDescriptor(s,o);a&&Object.defineProperty(t,o,a.get?a:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var O=Object.create,l=Object.defineProperty,S=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,w=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty,D=(t,e,r)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,E=(t,e)=>{for(var r in e)l(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of j(e))!C.call(t,o)&&o!==r&&l(t,o,{get:()=>e[o],enumerable:!(s=S(e,o))||s.enumerable});return t},L=(t,e,r)=>(r=t!=null?O(w(t)):{},h(!t||!t.__esModule?l(r,"default",{value:t,enumerable:!0}):r,t)),R=t=>h(l({},"__esModule",{value:!0}),t),n=(t,e,r)=>(D(t,typeof e!="symbol"?e+"":e,r),r),f={};E(f,{default:()=>u});var _=R(f),p=L(b),c=d.utils,M=d.patterns;const T="https://w.soundcloud.com/player/api.js",N="SC";class u extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",c.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"fractionLoaded",null),n(this,"mute",()=>{this.setVolume(0)}),n(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,r){(0,c.getSDK)(T,N).then(s=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:a,PAUSE:y,FINISH:m,ERROR:P}=s.Widget.Events;r||(this.player=s.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(y,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(a,i=>{this.currentTime=i.currentPosition/1e3,this.fractionLoaded=i.loadedProgress}),this.player.bind(m,()=>this.props.onEnded()),this.player.bind(P,i=>this.props.onError(i))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(i=>{this.duration=i/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seekTo",e*1e3),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:e}=this.props,r={width:"100%",height:"100%",display:e};return p.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:r,frameBorder:0,allow:"autoplay"})}}n(u,"displayName","SoundCloud");n(u,"canPlay",M.canPlay.soundcloud);n(u,"loopOnEnded",!0);const A=g.getDefaultExportFromCjs(_),x=v({__proto__:null,default:A},[_]);exports.SoundCloud=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { u as b, p as v } from "./SearchSection-
|
|
3
|
+
import { u as b, p as v } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function O(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
package/dist/Spinner.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),r=require("./utils-CITgSxXe.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),u={small:"0.6rem",medium:"0.7rem",large:"0.8rem"},b=(e,t)=>{if(e==="small")return`
|
|
2
2
|
width: ${t.sizes.small};
|
|
3
3
|
height: ${t.sizes.small};
|
|
4
4
|
`;if(e==="medium")return`
|
package/dist/Spinner.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
3
|
import { k as c } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as h, c as i } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const b = {
|
|
7
7
|
small: "0.6rem",
|
package/dist/StatsSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),c=require("./utils-CITgSxXe.cjs"),l=o.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: center;
|
|
4
4
|
align-items: center;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
@media
|
|
49
|
+
@media ${a.down("S")} {
|
|
50
50
|
display: grid;
|
|
51
51
|
grid-template-columns: repeat(2, 1fr);
|
|
52
52
|
gap: 0.75rem;
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
@media
|
|
100
|
+
@media ${a.down("S")} {
|
|
101
101
|
text-align: center;
|
|
102
102
|
|
|
103
103
|
& .section__heading {
|
package/dist/StatsSection.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
3
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { d as c } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { n as l } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
const d = s.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: center;
|
|
@@ -51,7 +51,7 @@ const d = s.div`
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
@media
|
|
54
|
+
@media ${c("S")} {
|
|
55
55
|
display: grid;
|
|
56
56
|
grid-template-columns: repeat(2, 1fr);
|
|
57
57
|
gap: 0.75rem;
|
|
@@ -72,7 +72,7 @@ const d = s.div`
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
`, m =
|
|
75
|
+
`, m = a(({ items: i = [] }, n) => /* @__PURE__ */ t(d, { ref: n, children: i == null ? void 0 : i.map((e, r) => /* @__PURE__ */ o("div", { className: "section__card", children: [
|
|
76
76
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t(
|
|
77
77
|
"img",
|
|
78
78
|
{
|
|
@@ -81,7 +81,7 @@ const d = s.div`
|
|
|
81
81
|
className: "section__image"
|
|
82
82
|
}
|
|
83
83
|
) }),
|
|
84
|
-
/* @__PURE__ */
|
|
84
|
+
/* @__PURE__ */ o("div", { children: [
|
|
85
85
|
/* @__PURE__ */ t("div", { className: "section__title", children: e == null ? void 0 : e.title }),
|
|
86
86
|
/* @__PURE__ */ t("div", { className: "section__description", children: e == null ? void 0 : e.description })
|
|
87
87
|
] })
|
|
@@ -115,7 +115,7 @@ const d = s.div`
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
@media
|
|
118
|
+
@media ${c("S")} {
|
|
119
119
|
text-align: center;
|
|
120
120
|
|
|
121
121
|
& .section__heading {
|
|
@@ -132,13 +132,13 @@ const d = s.div`
|
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
|
-
`,
|
|
136
|
-
/* @__PURE__ */
|
|
135
|
+
`, y = a(({ title: i, description: n, items: e = [] }, r) => /* @__PURE__ */ o(g, { ref: r, children: [
|
|
136
|
+
/* @__PURE__ */ o("div", { className: "section__heading", children: [
|
|
137
137
|
i && /* @__PURE__ */ t("div", { className: "section__title", children: i }),
|
|
138
138
|
n && /* @__PURE__ */ t("div", { className: "section__description", children: n })
|
|
139
139
|
] }),
|
|
140
140
|
/* @__PURE__ */ t(m, { items: e })
|
|
141
141
|
] }));
|
|
142
142
|
export {
|
|
143
|
-
|
|
143
|
+
y as default
|
|
144
144
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as m } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as _, p as b } from "./SearchSection-
|
|
3
|
+
import { u as _, p as b } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function P(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-DUY61r3k.cjs");function b(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const a in s)if(a!=="default"&&!(a in t)){const l=Object.getOwnPropertyDescriptor(s,a);l&&Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>s[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,O=Object.getPrototypeOf,S=Object.prototype.hasOwnProperty,j=(t,e,r)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,L=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})},h=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of v(e))!S.call(t,a)&&a!==r&&n(t,a,{get:()=>e[a],enumerable:!(s=g(e,a))||s.enumerable});return t},w=(t,e,r)=>(r=t!=null?P(O(t)):{},h(!t||!t.__esModule?n(r,"default",{value:t,enumerable:!0}):r,t)),M=t=>h(n({},"__esModule",{value:!0}),t),o=(t,e,r)=>(j(t,typeof e!="symbol"?e+"":e,r),r),y={};L(y,{default:()=>i});var d=M(y),p=w(f),u=c.utils,m=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",T="playerjs";class i extends p.Component{constructor(){super(...arguments),o(this,"callPlayer",u.callPlayer),o(this,"duration",null),o(this,"currentTime",null),o(this,"secondsLoaded",null),o(this,"mute",()=>{this.callPlayer("mute")}),o(this,"unmute",()=>{this.callPlayer("unmute")}),o(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,u.getSDK)(D,T).then(r=>{this.iframe&&(this.player=new r.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:s,seconds:a})=>{this.duration=s,this.currentTime=a}),this.player.on("buffered",({percent:s})=>{this.duration&&(this.secondsLoaded=this.duration*s)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("setCurrentTime",e),r||this.pause()}setVolume(e){this.callPlayer("setVolume",e*100)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e=this.props.url.match(m.MATCH_URL_STREAMABLE)[1],r={width:"100%",height:"100%"};return p.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${e}`,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;"})}}o(i,"displayName","Streamable");o(i,"canPlay",m.canPlay.streamable);const E=_.getDefaultExportFromCjs(d),A=b({__proto__:null,default:E},[d]);exports.Streamable=A;
|
package/dist/Surface.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const m=require("react/jsx-runtime"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const m=require("react/jsx-runtime"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-CITgSxXe.cjs"),c=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),x=l.styled.div`
|
|
2
2
|
padding: ${e=>e.padding};
|
|
3
3
|
box-shadow: ${e=>r.getBoxShadowValue(e.theme,e.boxShadow)};
|
|
4
4
|
border-radius: ${e=>r.getBorderRadiusValueWithUnits(e.theme,e.borderRadius)};
|
package/dist/Surface.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
|
-
import {
|
|
3
|
+
import { k as u, b as f } from "./utils-B2fsQ6PS.js";
|
|
4
4
|
import { u as h } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
5
5
|
const x = l.div`
|
|
6
6
|
padding: ${(e) => e.padding};
|
package/dist/SwipeableDrawer.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const f=require("react/jsx-runtime"),a=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-
|
|
1
|
+
"use strict";const f=require("react/jsx-runtime"),a=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./utils-CITgSxXe.cjs"),U=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),V=(e,n,r,s,u)=>{if(e==="right"||e==="left"||n&&r)return"height: 100%;";if(!(n&&u===!0))return n?"height: "+s+";":"height: 0;"},X=(e,n,r,s,u)=>{if(e==="top"||e==="bottom"||n&&r)return"width: 100%;";if(!(n&&u===!0))return n?"width: "+s+";":"width: 0;"},Y=x.styled.div`
|
|
2
2
|
touch-action: none;
|
|
3
3
|
overflow: auto;
|
|
4
4
|
max-height: ${e=>e.isOpen||e.unsetHeight===!1?"100dvh":0};
|
package/dist/SwipeableDrawer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as f, Fragment as j } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as N, useRef as V, useState as q, useImperativeHandle as A, useEffect as B } from "react";
|
|
3
3
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as w, d as G } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as J } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const K = (e, n, r, l, u) => {
|
|
7
7
|
if (e === "right" || e === "left" || n && r) return "height: 100%;";
|
package/dist/TabItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const _=require("react/jsx-runtime"),m=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const _=require("react/jsx-runtime"),m=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=require("./useUpdateEffect-BtMgpgIV.cjs"),H=e=>e=="small"?"3.125rem":e=="medium"?"3.375rem":"3.625rem",I=j.styled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
${e=>e.disabled===!0&&t.getDisabledStateCss(e.theme)};
|
|
4
4
|
min-width: 5.25rem;
|
package/dist/TabItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as W, useState as j } from "react";
|
|
3
3
|
import { s as A } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { i as D, d as P, c as l, b as n } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as S } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
import { u as f } from "./useUpdateEffect-CuYWz7EA.js";
|
|
7
7
|
const V = (e) => e == "small" ? "3.125rem" : e == "medium" ? "3.375rem" : "3.625rem", E = A.div`
|