@lanaco/lnc-react-ui 4.0.225 → 4.0.227
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/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +2 -2
- package/dist/AccordionDetails.cjs +1 -1
- package/dist/AccordionDetails.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +2 -2
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +3 -3
- package/dist/AdBannerSection.cjs +1 -1
- package/dist/AdBannerSection.js +3 -3
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +2 -2
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +2 -2
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +2 -2
- package/dist/BannerNextSection.cjs +1 -1
- package/dist/BannerNextSection.js +3 -3
- package/dist/BannerSectionBasic.cjs +1 -1
- package/dist/BannerSectionBasic.js +2 -2
- package/dist/BannerSectionCarousel.cjs +3 -3
- package/dist/BannerSectionCarousel.js +21 -14
- package/dist/BannerSectionGrid.cjs +2 -2
- package/dist/BannerSectionGrid.js +5 -5
- package/dist/BannerSectionSimple.cjs +1 -1
- package/dist/BannerSectionSimple.js +4 -4
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +3 -3
- package/dist/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +2 -2
- package/dist/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +6 -6
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +1 -1
- package/dist/BlogExploreSection.js +6 -6
- package/dist/BlogImagePathSection.cjs +1 -1
- package/dist/BlogImagePathSection.js +2 -2
- package/dist/BlogListSection.cjs +7 -7
- package/dist/BlogListSection.js +158 -208
- 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 +2 -11
- package/dist/BlogSingleSection.js +20 -36
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +9 -9
- package/dist/BlogsSectionLarge.cjs +8 -16
- package/dist/BlogsSectionLarge.js +41 -59
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +7 -7
- package/dist/BlogsSectionSimpleCentered.cjs +12 -25
- package/dist/BlogsSectionSimpleCentered.js +64 -98
- package/dist/BlogsSectionWithFilters.cjs +10 -21
- package/dist/BlogsSectionWithFilters.js +106 -154
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +42 -88
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +2 -2
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +3 -3
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +2 -2
- package/dist/CalorieCalculatorSection.cjs +1 -1
- package/dist/CalorieCalculatorSection.js +3 -3
- package/dist/{CategorySimpleCard-CkSwvJRw.js → CategorySimpleCard-TJRJ_2Sb.js} +3 -3
- package/dist/{CategorySimpleCard-CIBvknos.cjs → CategorySimpleCard-lIdzBNDa.cjs} +1 -1
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +2 -2
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +2 -2
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +2 -2
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +2 -2
- package/dist/ContactSection.cjs +5 -5
- package/dist/ContactSection.js +1765 -1712
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +3 -3
- package/dist/{CustomStyles-DR4WuDUN.js → CustomStyles-B6uutenq.js} +58 -55
- package/dist/{CustomStyles-2TQQSwtU.cjs → CustomStyles-dJQPJ4s4.cjs} +4 -4
- package/dist/{DailyMotion-BPdBW5Yv.cjs → DailyMotion-BLODEbGN.cjs} +1 -1
- package/dist/{DailyMotion-P9S-WhTX.js → DailyMotion-BcKTajo7.js} +1 -1
- package/dist/DataView.cjs +1 -1
- package/dist/DataView.js +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +4 -4
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +2 -2
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +2 -2
- package/dist/DetailedProductsInfinitiveSection.cjs +1 -1
- package/dist/DetailedProductsInfinitiveSection.js +7 -7
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +8 -8
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +2 -2
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +2 -2
- package/dist/DragAndDropFile.cjs +10 -10
- package/dist/DragAndDropFile.js +444 -408
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +2 -2
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +3 -3
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +2 -2
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +2 -2
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +2 -2
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +2 -2
- package/dist/{Facebook-C8L2KR4O.cjs → Facebook-Cxy7fSgc.cjs} +1 -1
- package/dist/{Facebook-vhbBr0rd.js → Facebook-o0wYiIu4.js} +25 -25
- package/dist/FaqSection.cjs +1 -1
- package/dist/FaqSection.js +4 -4
- package/dist/FeedbackSection.cjs +1 -1
- package/dist/FeedbackSection.js +3 -3
- package/dist/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +105 -159
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +8 -8
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +93 -124
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +4 -4
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +2 -2
- package/dist/{FilePlayer-BVFgHY_f.cjs → FilePlayer-DyIgZGf2.cjs} +1 -1
- package/dist/{FilePlayer-CXTLAokk.js → FilePlayer-Evom9jRl.js} +1 -1
- package/dist/FlexBox.cjs +1 -1
- package/dist/FlexBox.js +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +2 -2
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +2 -2
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +2 -2
- package/dist/GeneralWithTagsCardsSection.cjs +1 -1
- package/dist/GeneralWithTagsCardsSection.js +4 -4
- package/dist/GiftCardsSection.cjs +10 -14
- package/dist/GiftCardsSection.js +79 -149
- package/dist/Grid.cjs +1 -1
- package/dist/Grid.js +1 -1
- package/dist/GridItem.cjs +1 -1
- package/dist/GridItem.js +1 -1
- package/dist/HelpBannerSection.cjs +1 -1
- package/dist/HelpBannerSection.js +2 -2
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +2 -2
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +2 -2
- package/dist/{Kaltura-CRGK2EP7.js → Kaltura-CA_8jdJe.js} +1 -1
- package/dist/{Kaltura-C2fRoaEg.cjs → Kaltura-l-2u1Tm7.cjs} +1 -1
- package/dist/Kanban.cjs +5 -5
- package/dist/Kanban.js +5 -5
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +2 -2
- package/dist/{KanbanCard-DihrKn-I.cjs → KanbanCard-9Pe_tjMt.cjs} +1 -1
- package/dist/{KanbanCard-B9V9EjVE.js → KanbanCard-ffmclwO4.js} +1 -1
- package/dist/KanbanCard.cjs +1 -1
- package/dist/KanbanCard.js +2 -2
- package/dist/KanbanFooter.cjs +1 -1
- package/dist/KanbanFooter.js +1 -1
- package/dist/KanbanHeader.cjs +1 -1
- package/dist/KanbanHeader.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +3 -3
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +2 -2
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +4 -4
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +3 -3
- package/dist/MasonryGeneralCardsSection.cjs +10 -10
- package/dist/MasonryGeneralCardsSection.js +47 -46
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +2 -2
- package/dist/{Mixcloud-D09BQNOt.cjs → Mixcloud-BwTRg6SF.cjs} +1 -1
- package/dist/{Mixcloud-Cn5M-EIT.js → Mixcloud-D2JZtlPe.js} +10 -10
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +3 -3
- 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-C6szci3w.js → Mux-CBMcNvuK.js} +1 -1
- package/dist/{Mux-C-xD7crc.cjs → Mux-tp04uiAm.cjs} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +2 -2
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +2 -2
- package/dist/Notification.cjs +1 -1
- package/dist/Notification.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +3 -3
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +2 -2
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +2 -2
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +3 -3
- package/dist/PageLayout.cjs +1 -1
- package/dist/PageLayout.js +1 -1
- package/dist/Pagination.cjs +1 -1
- package/dist/Pagination.js +1 -1
- package/dist/PartnerBannerSection.cjs +1 -1
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +1 -1
- package/dist/PartnerBrandsSection.js +4 -4
- package/dist/PartnerCardsSection.cjs +1 -1
- package/dist/PartnerCardsSection.js +4 -4
- package/dist/PartnerStatsSection.cjs +1 -1
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +2 -2
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +3 -3
- package/dist/PopoverDescription.cjs +1 -1
- package/dist/PopoverDescription.js +1 -1
- package/dist/PopoverHeading.cjs +1 -1
- package/dist/PopoverHeading.js +1 -1
- package/dist/PopoverTrigger.cjs +1 -1
- package/dist/PopoverTrigger.js +1 -1
- package/dist/{Preview-B8HyPnfR.cjs → Preview-2LWO1jPt.cjs} +1 -1
- package/dist/{Preview-CO6WSP5f.js → Preview-CEZQvDLk.js} +6 -6
- package/dist/ProductsWithBannerSection.cjs +13 -13
- package/dist/ProductsWithBannerSection.js +87 -168
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +2 -2
- package/dist/QuattroCardsSection.cjs +1 -1
- package/dist/QuattroCardsSection.js +5 -5
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +3 -3
- package/dist/RadioGroup.cjs +1 -1
- package/dist/RadioGroup.js +1 -1
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +2 -2
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +2 -2
- package/dist/ReviewsSection.cjs +18 -22
- package/dist/ReviewsSection.js +101 -163
- package/dist/SalesCampaignsSection.cjs +14 -14
- package/dist/SalesCampaignsSection.js +299 -330
- package/dist/SearchBar.cjs +1 -1
- package/dist/SearchBar.js +2 -2
- package/dist/{SearchSection-BEYnWPSr.js → SearchSection-BQkugcbp.js} +17 -17
- package/dist/{SearchSection-DUY61r3k.cjs → SearchSection-CgbZsVg2.cjs} +2 -2
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +2 -2
- package/dist/SeparatorSection.cjs +1 -1
- package/dist/SeparatorSection.js +2 -2
- package/dist/ShopCardsSection.cjs +6 -19
- package/dist/ShopCardsSection.js +57 -103
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +2 -2
- package/dist/SimpleCategoriesSection.cjs +3 -3
- package/dist/SimpleCategoriesSection.js +66 -69
- package/dist/SimpleProductsSection.cjs +7 -7
- package/dist/SimpleProductsSection.js +66 -139
- package/dist/{SoundCloud-Cfaj1Ze1.js → SoundCloud-CK7NvImk.js} +13 -13
- package/dist/{SoundCloud-BsL6Onq6.cjs → SoundCloud-DVmlWv2g.cjs} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +2 -2
- package/dist/StatsSection.cjs +1 -1
- package/dist/StatsSection.js +3 -3
- package/dist/{Streamable-DFtyk9Dt.cjs → Streamable-BBV7DQsj.cjs} +1 -1
- package/dist/{Streamable-CG8_-_w7.js → Streamable-D5oxy9aa.js} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +2 -2
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +2 -2
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +2 -2
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +5 -5
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +3 -3
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +2 -2
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +2 -2
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +3 -3
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +2 -2
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/ToggleSection.cjs +1 -1
- package/dist/ToggleSection.js +3 -3
- package/dist/TreeMenu.cjs +1 -1
- package/dist/TreeMenu.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +2 -2
- package/dist/{Twitch-BIUEEDiE.cjs → Twitch-CH7rLHNj.cjs} +1 -1
- package/dist/{Twitch-CbU_0Tx9.js → Twitch-DtrfG3Wo.js} +5 -5
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +2 -2
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +4 -4
- package/dist/{Vidyard-S6Fl_F78.js → Vidyard-C66crgMN.js} +1 -1
- package/dist/{Vidyard-QkjVIros.cjs → Vidyard-DGbMnWlF.cjs} +1 -1
- package/dist/{Vimeo-5bkeYCV4.js → Vimeo-BjGe7JPl.js} +1 -1
- package/dist/{Vimeo-B5jsifNT.cjs → Vimeo-DdFP5z1P.cjs} +1 -1
- package/dist/{Wistia-dpbMmx23.cjs → Wistia-CTuM5tqn.cjs} +1 -1
- package/dist/{Wistia-gOZBV0XZ.js → Wistia-Cnd0mYar.js} +3 -3
- package/dist/{YouTube-BfZRCB6O.cjs → YouTube-Chpmigf-.cjs} +1 -1
- package/dist/{YouTube-XoIB4ATQ.js → YouTube-D2wx0EoX.js} +3 -3
- package/dist/{breakpoints-ff0SIcV3.js → breakpoints-BubDitvo.js} +3 -3
- package/dist/emotion-is-prop-valid.esm-DqkrfvDp.js +10 -0
- package/dist/emotion-is-prop-valid.esm-eyvxYx3u.cjs +1 -0
- package/dist/{emotion-styled.browser.esm-BNN1dTl3.js → emotion-styled.browser.esm-DfbrHHed.js} +4 -4
- package/dist/{emotion-styled.browser.esm-BtEseadx.cjs → emotion-styled.browser.esm-DwHBgTPn.cjs} +1 -1
- package/dist/floating-ui.dom-Bvf9G8UM.cjs +1 -0
- package/dist/floating-ui.dom-C16Oktn3.js +959 -0
- package/dist/{floating-ui.react.esm-CfpRzwmn.js → floating-ui.react.esm-B-RMCmpu.js} +477 -460
- package/dist/floating-ui.react.esm-CsrI9PVk.cjs +4 -0
- package/dist/{index-vQOR22Py.cjs → index-3GKF_7BJ.cjs} +1 -1
- package/dist/{index-41nUb2kP.cjs → index-7Jsjuf-Q.cjs} +29 -29
- package/dist/{index-B1vKwsDE.js → index-B2yaYXE2.js} +651 -651
- package/dist/index-B7fBsitY.js +45 -0
- package/dist/index-BMAvJQBG.cjs +9 -0
- package/dist/index-BUdvfHpp.cjs +5 -0
- package/dist/index-BXT1eY2D.js +753 -0
- package/dist/{index-Cav6G7wx.cjs → index-BkztbBWe.cjs} +1 -1
- package/dist/index-C6amCwRZ.js +25 -0
- package/dist/index-C8R9lsWG.cjs +1 -0
- package/dist/{index-C4HycAPS.js → index-CM6vzQBx.js} +4 -4
- package/dist/index-CeQvy566.cjs +11 -0
- package/dist/{index-DA7SIHV1.cjs → index-CxWXiOMf.cjs} +1 -1
- package/dist/index-Cyt4EUZ6.js +20 -0
- package/dist/index-D3QZziO_.cjs +368 -0
- package/dist/{index-B1-PjbTA.cjs → index-D4-_TrSn.cjs} +1 -1
- package/dist/{index-CBZ-jNah.cjs → index-D4OKsSqi.cjs} +1 -1
- package/dist/{index-BvMY2TbK.js → index-DEypPQRI.js} +1 -1
- package/dist/{index-CX2A-q39.cjs → index-DMbNpyIV.cjs} +1 -1
- package/dist/{index-BdKi2ogu.js → index-DMmw5Ad5.js} +1 -1
- package/dist/{index-CoQ9APCD.js → index-DdfMcHz0.js} +2 -2
- package/dist/{index-B9c6y2J5.cjs → index-DgUNsgfF.cjs} +1 -1
- package/dist/{index-BzSWu-7v.js → index-Djo0ZcRE.js} +5 -5
- package/dist/{index-BEUk0FDk.js → index-Dx2hfxCG.js} +4 -4
- package/dist/index-VTkAaA-n.js +18 -0
- package/dist/{index-D9fI5BvI.js → index-jGcy-5M_.js} +3 -3
- package/dist/{index-L_Va5-wK.js → index-rhYVjszT.js} +5 -5
- package/dist/{index-Dc0EEBRW.cjs → index-tdg_Vmed.cjs} +1 -1
- package/dist/{index-6RFrSPs_.js → index-vz5mtWGo.js} +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/{react-toastify.esm-BoMuFZcq.cjs → react-toastify.esm-C6GBR4r3.cjs} +1 -1
- package/dist/{react-toastify.esm-BLQznunb.js → react-toastify.esm-CUXbGoqt.js} +1 -1
- package/dist/style-BFPpppS9.js +73 -0
- package/dist/{style-DC05rdyx.cjs → style-Boz6dk5s.cjs} +1 -1
- package/dist/{style-Bq3rMbnN.js → style-BzaX45du.js} +2 -2
- package/dist/style-CQdEALKR.cjs +59 -0
- package/dist/{style-BUyFad_y.js → style-D54KOzZj.js} +3 -3
- package/dist/{style-AYc9hnFj.cjs → style-DIWAdlai.cjs} +1 -1
- package/dist/{styled-components.browser.esm-CvykQBGY.cjs → styled-components.browser.esm-BaNxtZgB.cjs} +1 -1
- package/dist/{styled-components.browser.esm-D-n22PJk.js → styled-components.browser.esm-Cfeh8eHg.js} +1 -1
- package/dist/{tag-Bi8gg6hJ.js → tag-CHNc7DhI.js} +2 -2
- package/dist/{tag-DSnhWWHE.cjs → tag-CWcvCQcz.cjs} +1 -1
- package/dist/{theme-Befg4g_L.js → theme-mUflS4q4.js} +1 -1
- package/dist/{useDetectMobile-CcVo3PNi.js → useDetectMobile-B0Jog4jQ.js} +1 -1
- package/dist/usePopover.cjs +1 -1
- package/dist/usePopover.js +6 -6
- package/dist/{utils-B2fsQ6PS.js → utils-MoGhNMmj.js} +3 -3
- package/package.json +1 -1
- package/dist/emotion-is-prop-valid.esm-BNsx9k19.cjs +0 -1
- package/dist/emotion-is-prop-valid.esm-CbWxtx4i.js +0 -10
- package/dist/floating-ui.dom-B931An3C.js +0 -954
- package/dist/floating-ui.dom-CN4MB7mG.cjs +0 -1
- package/dist/floating-ui.react.esm-CiYofNnh.cjs +0 -4
- package/dist/index-4wvppFLx.js +0 -38
- package/dist/index-BWeXujWl.js +0 -42
- package/dist/index-B_ilx3wM.cjs +0 -16
- package/dist/index-C-uOIDDa.js +0 -84
- package/dist/index-CsTfXxpp.cjs +0 -11
- package/dist/index-DDShXLaW.js +0 -882
- package/dist/index-DZFKpq77.cjs +0 -368
- package/dist/index-hC-E71GE.js +0 -54
- package/dist/index-oYE1Pl7q.cjs +0 -1
- package/dist/index-uCWKRzoS.cjs +0 -20
- package/dist/style-BAcV7F53.cjs +0 -64
- package/dist/style-BwQ4djFC.js +0 -74
package/dist/BlogListSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),a=require("react"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),a=require("react"),I=require("./Icon.cjs"),b=require("./IconButton.cjs"),d=require("./utils-CITgSxXe.cjs"),x=require("./index-DsINTjQk.cjs"),L=require("./style-Boz6dk5s.cjs"),$=require("./emotion-styled.browser.esm-DwHBgTPn.cjs"),T=require("./breakpoints-CcVm-gVm.cjs"),o=require("./style-CQdEALKR.cjs"),F=$.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
font-weight: 600;
|
|
68
68
|
line-height: 1.5rem;
|
|
69
69
|
letter-spacing: 0.1px;
|
|
70
|
-
${
|
|
70
|
+
${d.truncateTextInRows(3)}
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
& .wrapper__tags {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
@media ${
|
|
120
|
+
@media ${T.down("S")} {
|
|
121
121
|
flex-direction: column;
|
|
122
122
|
padding: 0;
|
|
123
123
|
background: transparent;
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
|
-
`,
|
|
171
|
+
`,O=a.forwardRef(({blogUuid:s,title:t,imageUrl:m,options:i,publishedAt:p,timeToReadText:w="{0} min read",timeToRead:j=0,numberOfLikes:y=0,numberOfComments:k=0,isBookmarked:u=!1,onSelectCard:v=()=>{},onBookmark:C=()=>{},onShare:f=()=>{},bookmarkComponent:c=e.jsx(e.Fragment,{}),metadata:l,titleSlug:h,LinkComponent:r,hasShare:_=!0,hasDelete:g=!1,onDelete:N=()=>{}},R)=>{const z=r||"a",B=()=>d.isDefined(c)?a.cloneElement(c,{key:`bookmark_blog__${s}__${u}`,isBookmarked:u,blogUuid:s,onBookmark:(S,P)=>C(S,P),ref:R,componentName:"ExploreBlogSectionCard"}):e.jsx(e.Fragment,{}),q=a.useRef();return e.jsxs(F,{ref:q,name:l==null?void 0:l.name,"data-accessor":l==null?void 0:l.accessor,onClick:n=>v(n,q),className:"blog-card-item",as:z,...r?{to:`/blog/${h}`}:{href:`/blog/${h}`},children:[e.jsxs("div",{className:"image-container",children:[g&&e.jsx("div",{className:"action mobile-only",onClick:n=>{n==null||n.preventDefault(),n==null||n.stopPropagation()},children:e.jsx(b,{icon:" mng-lnc-close",borderRadius:"curved",type:"button",btnType:"filled",color:"neutral",size:"medium",onClick:()=>{N()}})}),e.jsx(x.ProductImageWrapper,{src:m,className:"wrapper__image"})]}),e.jsxs("div",{className:"wrapper__content",children:[e.jsxs("div",{className:"wrapper__subcontent",children:[e.jsxs("div",{className:"wrapper__info",children:[e.jsx("div",{className:"wrapper__title",children:t}),g&&e.jsx("div",{className:"action desktop-only",onClick:n=>{n==null||n.preventDefault(),n==null||n.stopPropagation()},children:e.jsx(b,{icon:" mng-lnc-close",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{N()}})})]}),e.jsxs("div",{className:"wrapper__tags-action",children:[e.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.map((n,S)=>e.jsx(L.BlogTag,{color:n==null?void 0:n.color,children:n==null?void 0:n.name},`blog-card-sponsored-option__${S+1}`)))}),e.jsxs("div",{className:"info__content mobile-only",onClick:n=>{n.stopPropagation(),n.preventDefault()},children:[e.jsx(B,{}),_&&e.jsx(b,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{f()}})]})]})]}),e.jsxs("div",{className:"wrapper__info",children:[e.jsxs("div",{className:"info__content",children:[e.jsx("div",{className:"info__text",children:`${d.formatLocaleDateString(p)} • ${d.formatString(w,j)}`}),e.jsxs("div",{className:"info__text",children:[e.jsxs("div",{children:[e.jsx(I,{icon:" mng-lnc-thumbs-up--filled",sizeInUnits:"1rem"}),d.getRoundedNumber(y)]}),e.jsxs("div",{children:[e.jsx(I,{icon:" mng-lnc-messages-filled",sizeInUnits:"1rem"}),d.getRoundedNumber(k)]})]})]}),e.jsxs("div",{className:"info__content desktop-only",onClick:n=>{n==null||n.preventDefault(),n==null||n.stopPropagation()},children:[e.jsx(B,{}),_&&e.jsx(b,{icon:" mng-lnc-share",borderRadius:"curved",btnType:"basic",color:"neutral",onClick:()=>{f()}})]})]})]})]})}),U=$.styled.div`
|
|
172
172
|
display: flex;
|
|
173
173
|
flex-direction: column;
|
|
174
174
|
align-items: flex-start;
|
|
@@ -192,10 +192,10 @@
|
|
|
192
192
|
bottom: -1.25rem;
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
196
|
-
@media ${
|
|
195
|
+
`,A=$.styled(o.SkeletonAnimationColumnContainer)`
|
|
196
|
+
@media ${T.down("S")} {
|
|
197
197
|
& > div {
|
|
198
198
|
flex-direction: column;
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
`,
|
|
201
|
+
`,W=({keyPrefix:s})=>e.jsx(A,{children:[1,2,3,4,5].map(t=>e.jsxs(o.SkeletonContainer,{children:[e.jsx(o.SkeletonRect,{height:"9.5rem",width:"17.75rem"}),e.jsxs(o.SkeletonColumnContainer,{children:[e.jsx(o.SkeletonRect,{height:"1.5rem",width:"100%"}),e.jsxs(o.SkeletonContainer,{children:[e.jsx(o.SkeletonRect,{width:"5rem",height:"1.25rem"}),e.jsx(o.SkeletonRect,{width:"5rem",height:"1.25rem"}),e.jsx(o.SkeletonRect,{width:"5rem",height:"1.25rem"}),e.jsx(o.SkeletonRect,{width:"5rem",height:"1.25rem"})]})]})]},`${s}-${t}`))}),E=({keyPrefix:s,isLoading:t=!1,fallbackComponent:m=e.jsx(e.Fragment,{}),children:i})=>e.jsx(a.Suspense,{fallbackComponent:m,children:t===!0?e.jsx(W,{keyPrefix:s}):i}),M=a.memo(O),D=a.forwardRef(({timeToReadText:s="{0} min read",items:t,isLoading:m=!1,onSelectCard:i=()=>{},onShare:p=()=>{},onBookmark:w=()=>{},getImage:j=()=>{},isSeparated:y=!0,bookmarkComponent:k=e.jsx(e.Fragment,{}),componentName:u,LinkComponent:v,hasShare:C=!0,hasDelete:f=!1,onDelete:c=()=>{}},l)=>{const h=a.useMemo(()=>t==null?void 0:t.map((r,_)=>{var g;return e.jsx(M,{blogUuid:r==null?void 0:r.uuid,title:r==null?void 0:r.title,titleSlug:r==null?void 0:r.titleSlug,options:r==null?void 0:r.options,publishedAt:r==null?void 0:r.publishedAt,timeToReadText:s,timeToRead:r==null?void 0:r.timeToRead,numberOfLikes:r==null?void 0:r.numberOfLikes,numberOfComments:r==null?void 0:r.numberOfComments,isSponsored:r==null?void 0:r.isSponsored,isBookmarked:r==null?void 0:r.isBookmarked,onSelectCard:(N,R)=>i==null?void 0:i(r,R),hasShare:C,hasDelete:f,onDelete:()=>c==null?void 0:c(r),onShare:()=>p==null?void 0:p(r),onBookmark:w,imageUrl:j(r==null?void 0:r.imageUrl,r==null?void 0:r.uuid)||null,bookmarkComponent:k,metadata:{name:u,accessor:r==null?void 0:r.accessor},LinkComponent:v},`blog-card-item__${_+1}__${(g=r==null?void 0:r.isBookmarked)==null?void 0:g.toString()}`)}),[t]);return e.jsx(E,{isLoading:m,keyPrefix:"blog-list-skeleton",children:e.jsx(U,{ref:l,className:y?"separated":"",children:h})})});module.exports=D;
|
package/dist/BlogListSection.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { n as
|
|
6
|
-
import { P as
|
|
7
|
-
import { B as
|
|
8
|
-
import { s as
|
|
9
|
-
import { d as O } from "./breakpoints-
|
|
10
|
-
import { b as
|
|
11
|
-
const Y =
|
|
1
|
+
import { jsxs as n, jsx as i, Fragment as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as L, useRef as W, cloneElement as E, Suspense as M, memo as q, useMemo as D } from "react";
|
|
3
|
+
import z from "./Icon.js";
|
|
4
|
+
import _ from "./IconButton.js";
|
|
5
|
+
import { n as F, q as G, s as H, v as I, m as J } from "./utils-MoGhNMmj.js";
|
|
6
|
+
import { P as K } from "./index-DEypPQRI.js";
|
|
7
|
+
import { B as Q } from "./style-D54KOzZj.js";
|
|
8
|
+
import { s as S } from "./emotion-styled.browser.esm-DfbrHHed.js";
|
|
9
|
+
import { d as O } from "./breakpoints-BubDitvo.js";
|
|
10
|
+
import { b as V, c as P, a as c, e as X } from "./style-BFPpppS9.js";
|
|
11
|
+
const Y = S.a`
|
|
12
12
|
text-decoration: none;
|
|
13
13
|
color: var(--gray-950);
|
|
14
14
|
display: flex;
|
|
@@ -77,7 +77,7 @@ const Y = T.a`
|
|
|
77
77
|
font-weight: 600;
|
|
78
78
|
line-height: 1.5rem;
|
|
79
79
|
letter-spacing: 0.1px;
|
|
80
|
-
${
|
|
80
|
+
${F(3)}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
& .wrapper__tags {
|
|
@@ -178,62 +178,62 @@ const Y = T.a`
|
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
`, Z =
|
|
181
|
+
`, Z = L(
|
|
182
182
|
({
|
|
183
|
-
blogUuid:
|
|
184
|
-
title:
|
|
185
|
-
imageUrl:
|
|
186
|
-
options:
|
|
187
|
-
publishedAt:
|
|
188
|
-
timeToReadText:
|
|
189
|
-
timeToRead:
|
|
190
|
-
numberOfLikes:
|
|
191
|
-
numberOfComments:
|
|
192
|
-
isBookmarked:
|
|
193
|
-
onSelectCard:
|
|
183
|
+
blogUuid: a,
|
|
184
|
+
title: t,
|
|
185
|
+
imageUrl: m,
|
|
186
|
+
options: o,
|
|
187
|
+
publishedAt: d,
|
|
188
|
+
timeToReadText: w = "{0} min read",
|
|
189
|
+
timeToRead: y = 0,
|
|
190
|
+
numberOfLikes: v = 0,
|
|
191
|
+
numberOfComments: k = 0,
|
|
192
|
+
isBookmarked: g = !1,
|
|
193
|
+
onSelectCard: C = () => {
|
|
194
194
|
},
|
|
195
|
-
onBookmark:
|
|
195
|
+
onBookmark: N = () => {
|
|
196
196
|
},
|
|
197
|
-
onShare:
|
|
197
|
+
onShare: f = () => {
|
|
198
198
|
},
|
|
199
|
-
bookmarkComponent: s = /* @__PURE__ */
|
|
200
|
-
metadata:
|
|
201
|
-
titleSlug:
|
|
202
|
-
LinkComponent:
|
|
203
|
-
hasShare:
|
|
204
|
-
hasDelete:
|
|
205
|
-
onDelete:
|
|
199
|
+
bookmarkComponent: s = /* @__PURE__ */ i(b, {}),
|
|
200
|
+
metadata: l,
|
|
201
|
+
titleSlug: h,
|
|
202
|
+
LinkComponent: e,
|
|
203
|
+
hasShare: u = !0,
|
|
204
|
+
hasDelete: p = !1,
|
|
205
|
+
onDelete: $ = () => {
|
|
206
206
|
}
|
|
207
|
-
},
|
|
208
|
-
const U =
|
|
209
|
-
key: `bookmark_blog__${
|
|
210
|
-
isBookmarked:
|
|
211
|
-
blogUuid:
|
|
212
|
-
onBookmark: (
|
|
213
|
-
ref:
|
|
207
|
+
}, B) => {
|
|
208
|
+
const U = e || "a", j = () => J(s) ? E(s, {
|
|
209
|
+
key: `bookmark_blog__${a}__${g}`,
|
|
210
|
+
isBookmarked: g,
|
|
211
|
+
blogUuid: a,
|
|
212
|
+
onBookmark: (R, A) => N(R, A),
|
|
213
|
+
ref: B,
|
|
214
214
|
componentName: "ExploreBlogSectionCard"
|
|
215
|
-
}) : /* @__PURE__ */
|
|
216
|
-
return /* @__PURE__ */
|
|
215
|
+
}) : /* @__PURE__ */ i(b, {}), T = W();
|
|
216
|
+
return /* @__PURE__ */ n(
|
|
217
217
|
Y,
|
|
218
218
|
{
|
|
219
|
-
ref:
|
|
220
|
-
name:
|
|
221
|
-
"data-accessor":
|
|
222
|
-
onClick: (
|
|
219
|
+
ref: T,
|
|
220
|
+
name: l == null ? void 0 : l.name,
|
|
221
|
+
"data-accessor": l == null ? void 0 : l.accessor,
|
|
222
|
+
onClick: (r) => C(r, T),
|
|
223
223
|
className: "blog-card-item",
|
|
224
224
|
as: U,
|
|
225
|
-
...
|
|
225
|
+
...e ? { to: `/blog/${h}` } : { href: `/blog/${h}` },
|
|
226
226
|
children: [
|
|
227
|
-
/* @__PURE__ */
|
|
228
|
-
|
|
227
|
+
/* @__PURE__ */ n("div", { className: "image-container", children: [
|
|
228
|
+
p && /* @__PURE__ */ i(
|
|
229
229
|
"div",
|
|
230
230
|
{
|
|
231
231
|
className: "action mobile-only",
|
|
232
|
-
onClick: (
|
|
233
|
-
|
|
232
|
+
onClick: (r) => {
|
|
233
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
234
234
|
},
|
|
235
|
-
children: /* @__PURE__ */
|
|
236
|
-
|
|
235
|
+
children: /* @__PURE__ */ i(
|
|
236
|
+
_,
|
|
237
237
|
{
|
|
238
238
|
icon: " mng-lnc-close",
|
|
239
239
|
borderRadius: "curved",
|
|
@@ -242,67 +242,67 @@ const Y = T.a`
|
|
|
242
242
|
color: "neutral",
|
|
243
243
|
size: "medium",
|
|
244
244
|
onClick: () => {
|
|
245
|
-
|
|
245
|
+
$();
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
)
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
|
-
/* @__PURE__ */
|
|
251
|
+
/* @__PURE__ */ i(K, { src: m, className: "wrapper__image" })
|
|
252
252
|
] }),
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
253
|
+
/* @__PURE__ */ n("div", { className: "wrapper__content", children: [
|
|
254
|
+
/* @__PURE__ */ n("div", { className: "wrapper__subcontent", children: [
|
|
255
|
+
/* @__PURE__ */ n("div", { className: "wrapper__info", children: [
|
|
256
|
+
/* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
257
|
+
p && /* @__PURE__ */ i(
|
|
258
258
|
"div",
|
|
259
259
|
{
|
|
260
260
|
className: "action desktop-only",
|
|
261
|
-
onClick: (
|
|
262
|
-
|
|
261
|
+
onClick: (r) => {
|
|
262
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
263
263
|
},
|
|
264
|
-
children: /* @__PURE__ */
|
|
265
|
-
|
|
264
|
+
children: /* @__PURE__ */ i(
|
|
265
|
+
_,
|
|
266
266
|
{
|
|
267
267
|
icon: " mng-lnc-close",
|
|
268
268
|
borderRadius: "curved",
|
|
269
269
|
btnType: "basic",
|
|
270
270
|
color: "neutral",
|
|
271
271
|
onClick: () => {
|
|
272
|
-
|
|
272
|
+
$();
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
)
|
|
276
276
|
}
|
|
277
277
|
)
|
|
278
278
|
] }),
|
|
279
|
-
/* @__PURE__ */
|
|
280
|
-
/* @__PURE__ */
|
|
281
|
-
|
|
279
|
+
/* @__PURE__ */ n("div", { className: "wrapper__tags-action", children: [
|
|
280
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: o && (o == null ? void 0 : o.map((r, R) => /* @__PURE__ */ i(
|
|
281
|
+
Q,
|
|
282
282
|
{
|
|
283
|
-
color:
|
|
284
|
-
children:
|
|
283
|
+
color: r == null ? void 0 : r.color,
|
|
284
|
+
children: r == null ? void 0 : r.name
|
|
285
285
|
},
|
|
286
|
-
`blog-card-sponsored-option__${
|
|
286
|
+
`blog-card-sponsored-option__${R + 1}`
|
|
287
287
|
))) }),
|
|
288
|
-
/* @__PURE__ */
|
|
288
|
+
/* @__PURE__ */ n(
|
|
289
289
|
"div",
|
|
290
290
|
{
|
|
291
291
|
className: "info__content mobile-only",
|
|
292
|
-
onClick: (
|
|
293
|
-
|
|
292
|
+
onClick: (r) => {
|
|
293
|
+
r.stopPropagation(), r.preventDefault();
|
|
294
294
|
},
|
|
295
295
|
children: [
|
|
296
|
-
/* @__PURE__ */
|
|
297
|
-
|
|
298
|
-
|
|
296
|
+
/* @__PURE__ */ i(j, {}),
|
|
297
|
+
u && /* @__PURE__ */ i(
|
|
298
|
+
_,
|
|
299
299
|
{
|
|
300
300
|
icon: " mng-lnc-share",
|
|
301
301
|
borderRadius: "curved",
|
|
302
302
|
btnType: "basic",
|
|
303
303
|
color: "neutral",
|
|
304
304
|
onClick: () => {
|
|
305
|
-
|
|
305
|
+
f();
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
)
|
|
@@ -311,40 +311,40 @@ const Y = T.a`
|
|
|
311
311
|
)
|
|
312
312
|
] })
|
|
313
313
|
] }),
|
|
314
|
-
/* @__PURE__ */
|
|
315
|
-
/* @__PURE__ */
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
|
|
318
|
-
)} • ${
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
321
|
-
/* @__PURE__ */
|
|
322
|
-
|
|
314
|
+
/* @__PURE__ */ n("div", { className: "wrapper__info", children: [
|
|
315
|
+
/* @__PURE__ */ n("div", { className: "info__content", children: [
|
|
316
|
+
/* @__PURE__ */ i("div", { className: "info__text", children: `${G(
|
|
317
|
+
d
|
|
318
|
+
)} • ${H(w, y)}` }),
|
|
319
|
+
/* @__PURE__ */ n("div", { className: "info__text", children: [
|
|
320
|
+
/* @__PURE__ */ n("div", { children: [
|
|
321
|
+
/* @__PURE__ */ i(z, { icon: " mng-lnc-thumbs-up--filled", sizeInUnits: "1rem" }),
|
|
322
|
+
I(v)
|
|
323
323
|
] }),
|
|
324
|
-
/* @__PURE__ */
|
|
325
|
-
/* @__PURE__ */
|
|
326
|
-
|
|
324
|
+
/* @__PURE__ */ n("div", { children: [
|
|
325
|
+
/* @__PURE__ */ i(z, { icon: " mng-lnc-messages-filled", sizeInUnits: "1rem" }),
|
|
326
|
+
I(k)
|
|
327
327
|
] })
|
|
328
328
|
] })
|
|
329
329
|
] }),
|
|
330
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ n(
|
|
331
331
|
"div",
|
|
332
332
|
{
|
|
333
333
|
className: "info__content desktop-only",
|
|
334
|
-
onClick: (
|
|
335
|
-
|
|
334
|
+
onClick: (r) => {
|
|
335
|
+
r == null || r.preventDefault(), r == null || r.stopPropagation();
|
|
336
336
|
},
|
|
337
337
|
children: [
|
|
338
|
-
/* @__PURE__ */
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
/* @__PURE__ */ i(j, {}),
|
|
339
|
+
u && /* @__PURE__ */ i(
|
|
340
|
+
_,
|
|
341
341
|
{
|
|
342
342
|
icon: " mng-lnc-share",
|
|
343
343
|
borderRadius: "curved",
|
|
344
344
|
btnType: "basic",
|
|
345
345
|
color: "neutral",
|
|
346
346
|
onClick: () => {
|
|
347
|
-
|
|
347
|
+
f();
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
)
|
|
@@ -357,7 +357,7 @@ const Y = T.a`
|
|
|
357
357
|
}
|
|
358
358
|
);
|
|
359
359
|
}
|
|
360
|
-
), x =
|
|
360
|
+
), x = S.div`
|
|
361
361
|
display: flex;
|
|
362
362
|
flex-direction: column;
|
|
363
363
|
align-items: flex-start;
|
|
@@ -381,133 +381,83 @@ const Y = T.a`
|
|
|
381
381
|
bottom: -1.25rem;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
`, ee =
|
|
384
|
+
`, ee = S(V)`
|
|
385
385
|
@media ${O("S")} {
|
|
386
386
|
& > div {
|
|
387
387
|
flex-direction: column;
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
-
`, re = ({ keyPrefix:
|
|
391
|
-
/* @__PURE__ */
|
|
392
|
-
|
|
393
|
-
/* @__PURE__ */
|
|
394
|
-
|
|
395
|
-
/* @__PURE__ */
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
400
|
-
] })
|
|
390
|
+
`, re = ({ keyPrefix: a }) => /* @__PURE__ */ i(ee, { children: [1, 2, 3, 4, 5].map((t) => /* @__PURE__ */ n(P, { children: [
|
|
391
|
+
/* @__PURE__ */ i(c, { height: "9.5rem", width: "17.75rem" }),
|
|
392
|
+
/* @__PURE__ */ n(X, { children: [
|
|
393
|
+
/* @__PURE__ */ i(c, { height: "1.5rem", width: "100%" }),
|
|
394
|
+
/* @__PURE__ */ n(P, { children: [
|
|
395
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
396
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
397
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" }),
|
|
398
|
+
/* @__PURE__ */ i(c, { width: "5rem", height: "1.25rem" })
|
|
401
399
|
] })
|
|
402
|
-
] }
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
410
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
411
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
412
|
-
] })
|
|
413
|
-
] })
|
|
414
|
-
] }, `${o}-2`),
|
|
415
|
-
/* @__PURE__ */ t(l, { children: [
|
|
416
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
417
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
418
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
419
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
420
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
421
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
422
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
423
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
424
|
-
] })
|
|
425
|
-
] })
|
|
426
|
-
] }, `${o}-3`),
|
|
427
|
-
/* @__PURE__ */ t(l, { children: [
|
|
428
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
429
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
430
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
431
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
432
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
433
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
434
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
435
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
436
|
-
] })
|
|
437
|
-
] })
|
|
438
|
-
] }, `${o}-4`),
|
|
439
|
-
/* @__PURE__ */ t(l, { children: [
|
|
440
|
-
/* @__PURE__ */ e(f, { height: "9.5rem", width: "17.75rem" }),
|
|
441
|
-
/* @__PURE__ */ t(c, { noGradient: !0, children: [
|
|
442
|
-
/* @__PURE__ */ e(n, { height: "1.5rem" }),
|
|
443
|
-
/* @__PURE__ */ t(l, { noGradient: !0, children: [
|
|
444
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
445
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
446
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" }),
|
|
447
|
-
/* @__PURE__ */ e(n, { width: "5rem", height: "1.25rem" })
|
|
448
|
-
] })
|
|
449
|
-
] })
|
|
450
|
-
] }, `${o}-5`)
|
|
451
|
-
] }), ie = ({
|
|
452
|
-
keyPrefix: o,
|
|
453
|
-
isLoading: m = !1,
|
|
454
|
-
fallbackComponent: h = /* @__PURE__ */ e(y, {}),
|
|
455
|
-
children: a
|
|
456
|
-
}) => /* @__PURE__ */ e(M, { fallbackComponent: h, children: m === !0 ? /* @__PURE__ */ e(re, { keyPrefix: o }) : a }), te = D(Z), ge = W(
|
|
400
|
+
] })
|
|
401
|
+
] }, `${a}-${t}`)) }), ie = ({
|
|
402
|
+
keyPrefix: a,
|
|
403
|
+
isLoading: t = !1,
|
|
404
|
+
fallbackComponent: m = /* @__PURE__ */ i(b, {}),
|
|
405
|
+
children: o
|
|
406
|
+
}) => /* @__PURE__ */ i(M, { fallbackComponent: m, children: t === !0 ? /* @__PURE__ */ i(re, { keyPrefix: a }) : o }), ne = q(Z), fe = L(
|
|
457
407
|
({
|
|
458
|
-
timeToReadText:
|
|
459
|
-
items:
|
|
460
|
-
isLoading:
|
|
461
|
-
onSelectCard:
|
|
408
|
+
timeToReadText: a = "{0} min read",
|
|
409
|
+
items: t,
|
|
410
|
+
isLoading: m = !1,
|
|
411
|
+
onSelectCard: o = () => {
|
|
462
412
|
},
|
|
463
|
-
onShare:
|
|
413
|
+
onShare: d = () => {
|
|
464
414
|
},
|
|
465
|
-
onBookmark:
|
|
415
|
+
onBookmark: w = () => {
|
|
466
416
|
},
|
|
467
|
-
getImage:
|
|
417
|
+
getImage: y = () => {
|
|
468
418
|
},
|
|
469
|
-
isSeparated:
|
|
470
|
-
bookmarkComponent:
|
|
471
|
-
componentName:
|
|
472
|
-
LinkComponent:
|
|
473
|
-
hasShare:
|
|
474
|
-
hasDelete:
|
|
419
|
+
isSeparated: v = !0,
|
|
420
|
+
bookmarkComponent: k = /* @__PURE__ */ i(b, {}),
|
|
421
|
+
componentName: g,
|
|
422
|
+
LinkComponent: C,
|
|
423
|
+
hasShare: N = !0,
|
|
424
|
+
hasDelete: f = !1,
|
|
475
425
|
onDelete: s = () => {
|
|
476
426
|
}
|
|
477
|
-
},
|
|
478
|
-
const
|
|
479
|
-
var
|
|
480
|
-
return /* @__PURE__ */
|
|
481
|
-
|
|
427
|
+
}, l) => {
|
|
428
|
+
const h = D(() => t == null ? void 0 : t.map((e, u) => {
|
|
429
|
+
var p;
|
|
430
|
+
return /* @__PURE__ */ i(
|
|
431
|
+
ne,
|
|
482
432
|
{
|
|
483
|
-
blogUuid:
|
|
484
|
-
title:
|
|
485
|
-
titleSlug:
|
|
486
|
-
options:
|
|
487
|
-
publishedAt:
|
|
488
|
-
timeToReadText:
|
|
489
|
-
timeToRead:
|
|
490
|
-
numberOfLikes:
|
|
491
|
-
numberOfComments:
|
|
492
|
-
isSponsored:
|
|
493
|
-
isBookmarked:
|
|
494
|
-
onSelectCard: (
|
|
495
|
-
hasShare:
|
|
496
|
-
hasDelete:
|
|
497
|
-
onDelete: () => s == null ? void 0 : s(
|
|
498
|
-
onShare: () =>
|
|
499
|
-
onBookmark:
|
|
500
|
-
imageUrl:
|
|
501
|
-
bookmarkComponent:
|
|
502
|
-
metadata: { name:
|
|
503
|
-
LinkComponent:
|
|
433
|
+
blogUuid: e == null ? void 0 : e.uuid,
|
|
434
|
+
title: e == null ? void 0 : e.title,
|
|
435
|
+
titleSlug: e == null ? void 0 : e.titleSlug,
|
|
436
|
+
options: e == null ? void 0 : e.options,
|
|
437
|
+
publishedAt: e == null ? void 0 : e.publishedAt,
|
|
438
|
+
timeToReadText: a,
|
|
439
|
+
timeToRead: e == null ? void 0 : e.timeToRead,
|
|
440
|
+
numberOfLikes: e == null ? void 0 : e.numberOfLikes,
|
|
441
|
+
numberOfComments: e == null ? void 0 : e.numberOfComments,
|
|
442
|
+
isSponsored: e == null ? void 0 : e.isSponsored,
|
|
443
|
+
isBookmarked: e == null ? void 0 : e.isBookmarked,
|
|
444
|
+
onSelectCard: ($, B) => o == null ? void 0 : o(e, B),
|
|
445
|
+
hasShare: N,
|
|
446
|
+
hasDelete: f,
|
|
447
|
+
onDelete: () => s == null ? void 0 : s(e),
|
|
448
|
+
onShare: () => d == null ? void 0 : d(e),
|
|
449
|
+
onBookmark: w,
|
|
450
|
+
imageUrl: y(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null,
|
|
451
|
+
bookmarkComponent: k,
|
|
452
|
+
metadata: { name: g, accessor: e == null ? void 0 : e.accessor },
|
|
453
|
+
LinkComponent: C
|
|
504
454
|
},
|
|
505
|
-
`blog-card-item__${
|
|
455
|
+
`blog-card-item__${u + 1}__${(p = e == null ? void 0 : e.isBookmarked) == null ? void 0 : p.toString()}`
|
|
506
456
|
);
|
|
507
|
-
}), [
|
|
508
|
-
return /* @__PURE__ */
|
|
457
|
+
}), [t]);
|
|
458
|
+
return /* @__PURE__ */ i(ie, { isLoading: m, keyPrefix: "blog-list-skeleton", children: /* @__PURE__ */ i(x, { ref: l, className: v ? "separated" : "", children: h }) });
|
|
509
459
|
}
|
|
510
460
|
);
|
|
511
461
|
export {
|
|
512
|
-
|
|
462
|
+
fe as default
|
|
513
463
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),c=require("react"),j=require("./useDetectMobile-DYV6V1yw.cjs"),M=require("./index-BkztbBWe.cjs"),N=require("./Button.cjs"),y=require("./style-DIWAdlai.cjs"),P=c.memo(M.SimpleProductCard),R=c.forwardRef(({buttonText:o,buttonLink:t,items:r,onButtonAction:a=()=>{},onSelectCard:s=()=>{},getImage:l=()=>{},isHighlight:n=!1,componentName:d,LinkComponent:p},m)=>{const b=j.useDetectMobile(),g=c.useMemo(()=>{var u;return(u=r==null?void 0:r.slice(0,4))==null?void 0:u.map((e,q)=>i.jsx(P,{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,onSelectCard:(_,h)=>s==null?void 0:s(e==null?void 0:e.uuid,h),image:l(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:d,accessor:e==null?void 0:e.accessor},LinkComponent:p},q))},[r]);return i.jsxs(y.Wrapper,{ref:m,className:`blog-product-cards-section ${n?"highlight":""}`,children:[i.jsx("div",{className:"wrapper__grid",children:g}),i.jsx(N,{text:o,borderRadius:"curved",btnType:b?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>a(t)})]})});module.exports=R;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { memo as N, forwardRef as M, useMemo as P } from "react";
|
|
3
|
-
import { u as _ } from "./useDetectMobile-
|
|
4
|
-
import { S as w } from "./index-
|
|
3
|
+
import { u as _ } from "./useDetectMobile-B0Jog4jQ.js";
|
|
4
|
+
import { S as w } from "./index-jGcy-5M_.js";
|
|
5
5
|
import y from "./Button.js";
|
|
6
|
-
import { W as U } from "./style-
|
|
6
|
+
import { W as U } from "./style-BzaX45du.js";
|
|
7
7
|
const j = N(w), C = M(
|
|
8
8
|
({
|
|
9
9
|
buttonText: a,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),o=require("react"),q=require("./useDetectMobile-DYV6V1yw.cjs"),_=require("./index-D4-_TrSn.cjs"),f=require("./Button.cjs"),j=require("./style-DIWAdlai.cjs"),w=o.memo(_.ShopCard),M=o.forwardRef(({buttonText:u,buttonLink:a,items:r,onButtonAction:c=()=>{},onSelectCard:s=()=>{},isLoading:v=!1,limit:R=4,getImage:n=()=>{},isHighlight:l=!1,componentName:d},p)=>{const h=q.useDetectMobile(),m=o.useMemo(()=>{var t;return(t=r==null?void 0:r.slice(0,4))==null?void 0:t.map((e,g)=>i.jsx(w,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.rating,reviewCount:e==null?void 0:e.reviewCount,onSelectCard:(C,b)=>s==null?void 0:s(e==null?void 0:e.uuid,b),image:n(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,hideProducts:!0,metadata:{name:d,accessor:e==null?void 0:e.accessor}},`shop-card__${g+1}`))},[r]);return i.jsxs(j.Wrapper,{ref:p,className:l?"highlight":"",children:[i.jsx("div",{className:"wrapper__grid",children:m}),i.jsx(f,{text:u,borderRadius:"curved",btnType:h?"basic":"outline",color:"neutral",className:"wrapper__action",onClick:()=>c(a)})]})});module.exports=M;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as i, jsxs as g } from "react/jsx-runtime";
|
|
2
2
|
import { memo as b, forwardRef as _, useMemo as w } from "react";
|
|
3
|
-
import { u as v } from "./useDetectMobile-
|
|
4
|
-
import { S as M } from "./index-
|
|
3
|
+
import { u as v } from "./useDetectMobile-B0Jog4jQ.js";
|
|
4
|
+
import { S as M } from "./index-Dx2hfxCG.js";
|
|
5
5
|
import C from "./Button.js";
|
|
6
|
-
import { W as N } from "./style-
|
|
6
|
+
import { W as N } from "./style-BzaX45du.js";
|
|
7
7
|
const S = b(M), L = _(
|
|
8
8
|
({
|
|
9
9
|
buttonText: t,
|