@lanaco/lnc-react-ui 4.0.206 → 4.0.207
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BREAKPOINTS.md +148 -0
- package/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +6 -6
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +8 -8
- package/dist/ActionsToolbar.cjs +15 -4
- package/dist/ActionsToolbar.js +58 -46
- package/dist/AdBannerSection.cjs +4 -4
- package/dist/AdBannerSection.js +5 -5
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +12 -12
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +5 -5
- package/dist/BannerNextSection.cjs +2 -2
- package/dist/BannerNextSection.js +13 -13
- package/dist/BannerSectionBasic.cjs +4 -4
- package/dist/BannerSectionBasic.js +22 -22
- package/dist/BannerSectionCarousel.cjs +27 -6
- package/dist/BannerSectionCarousel.js +71 -50
- package/dist/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +13 -13
- package/dist/BannerSectionSimple.cjs +15 -15
- package/dist/BannerSectionSimple.js +40 -40
- package/dist/BannerSectionWithList.cjs +7 -7
- package/dist/BannerSectionWithList.js +20 -20
- package/dist/BannerSectionWithListImage.cjs +6 -9
- package/dist/BannerSectionWithListImage.js +17 -20
- package/dist/BlogCardsSponsoredSection.cjs +7 -5
- package/dist/BlogCardsSponsoredSection.js +32 -30
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +2 -2
- package/dist/BlogExploreSection.cjs +4 -4
- package/dist/BlogExploreSection.js +60 -60
- package/dist/BlogImagePathSection.cjs +3 -14
- package/dist/BlogImagePathSection.js +27 -39
- package/dist/BlogListSection.cjs +6 -6
- package/dist/BlogListSection.js +32 -32
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +3 -3
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +3 -3
- package/dist/BlogSingleSection.cjs +3 -3
- package/dist/BlogSingleSection.js +12 -12
- package/dist/BlogsSectionDetailed.cjs +14 -6
- package/dist/BlogsSectionDetailed.js +53 -45
- package/dist/BlogsSectionLarge.cjs +13 -5
- package/dist/BlogsSectionLarge.js +48 -40
- package/dist/BlogsSectionSimple.cjs +14 -9
- package/dist/BlogsSectionSimple.js +43 -38
- package/dist/BlogsSectionSimpleCentered.cjs +17 -8
- package/dist/BlogsSectionSimpleCentered.js +68 -59
- package/dist/BlogsSectionWithFilters.cjs +16 -11
- package/dist/BlogsSectionWithFilters.js +43 -38
- package/dist/BrandHitsSection.cjs +7 -7
- package/dist/BrandHitsSection.js +13 -13
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +16 -16
- package/dist/Button.cjs +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.cjs +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.cjs +15 -15
- package/dist/CalorieCalculatorSection.js +84 -84
- package/dist/{CategorySimpleCard-COGlTj06.cjs → CategorySimpleCard-CIBvknos.cjs} +3 -3
- package/dist/{CategorySimpleCard-Em84kZzQ.js → CategorySimpleCard-CkSwvJRw.js} +8 -8
- package/dist/CheckBoxInput.cjs +1 -1
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.cjs +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.cjs +1 -1
- package/dist/ColorInput.js +14 -14
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +5 -5
- package/dist/ContactSection.cjs +4 -4
- package/dist/ContactSection.js +72 -72
- package/dist/CustomLoanMapSection.cjs +3 -3
- package/dist/CustomLoanMapSection.js +67 -67
- package/dist/{CustomStyles-C86XQqBE.cjs → CustomStyles-2TQQSwtU.cjs} +1 -1
- package/dist/{CustomStyles-DtWxboEM.js → CustomStyles-DR4WuDUN.js} +1 -1
- package/dist/{DailyMotion-CpZExcrg.cjs → DailyMotion-BPdBW5Yv.cjs} +1 -1
- package/dist/{DailyMotion-BBcJkMo_.js → DailyMotion-P9S-WhTX.js} +1 -1
- package/dist/DateInput.cjs +6 -6
- package/dist/DateInput.js +646 -645
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +10 -4
- package/dist/DetailedProductsInfinitiveSection.js +71 -65
- package/dist/DetailedProductsSection.cjs +7 -3
- package/dist/DetailedProductsSection.js +55 -51
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +13 -13
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +7 -7
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +8 -8
- package/dist/{Facebook-DoKw-XxT.cjs → Facebook-C8L2KR4O.cjs} +1 -1
- package/dist/{Facebook-BSWPEXjA.js → Facebook-vhbBr0rd.js} +1 -1
- package/dist/FaqSection.cjs +3 -3
- package/dist/FaqSection.js +52 -52
- package/dist/FeedbackSection.cjs +3 -3
- package/dist/FeedbackSection.js +15 -15
- package/dist/FieldOfInterestsMasonrySection.cjs +18 -12
- package/dist/FieldOfInterestsMasonrySection.js +73 -67
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +13 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +64 -58
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +15 -9
- package/dist/FieldOfInterestsWithTagsCardsSection.js +42 -36
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.js +1 -1
- package/dist/{FilePlayer-D9az_lc_.cjs → FilePlayer-BVFgHY_f.cjs} +1 -1
- package/dist/{FilePlayer-BtGpIWnK.js → FilePlayer-CXTLAokk.js} +1 -1
- package/dist/FlexGridItem.cjs +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.cjs +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.cjs +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +14 -8
- package/dist/GeneralWithTagsCardsSection.js +31 -25
- package/dist/GiftCardsSection.cjs +15 -7
- package/dist/GiftCardsSection.js +44 -36
- package/dist/HelpBannerSection.cjs +3 -3
- package/dist/HelpBannerSection.js +4 -4
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +4 -4
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/{Kaltura-CK6JHUZC.cjs → Kaltura-C2fRoaEg.cjs} +1 -1
- package/dist/{Kaltura-BDqlEQpd.js → Kaltura-CRGK2EP7.js} +1 -1
- package/dist/Kanban.cjs +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +5 -5
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +9 -9
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +3 -3
- package/dist/LoanCalculatorSection.js +17 -17
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +13 -6
- package/dist/LocationSearchSection.js +34 -27
- package/dist/MasonryGeneralCardsSection.cjs +13 -9
- package/dist/MasonryGeneralCardsSection.js +34 -30
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +14 -14
- package/dist/{Mixcloud-zAh6j7Ha.js → Mixcloud-Cn5M-EIT.js} +1 -1
- package/dist/{Mixcloud-C1Boh2Bm.cjs → Mixcloud-D09BQNOt.cjs} +1 -1
- package/dist/Modal.cjs +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.cjs +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.cjs +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/{Mux-C6TwZeaq.cjs → Mux-C-xD7crc.cjs} +1 -1
- package/dist/{Mux-BGTG_Tvc.js → Mux-C6szci3w.js} +1 -1
- package/dist/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +9 -9
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +7 -7
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +5 -5
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +8 -8
- package/dist/OverlayGeneralCardsSection.cjs +19 -31
- package/dist/OverlayGeneralCardsSection.js +51 -63
- package/dist/PartnerBannerSection.cjs +2 -2
- package/dist/PartnerBannerSection.js +2 -2
- package/dist/PartnerBrandsSection.cjs +2 -2
- package/dist/PartnerBrandsSection.js +24 -17
- package/dist/PartnerCardsSection.cjs +3 -3
- package/dist/PartnerCardsSection.js +18 -18
- package/dist/PartnerStatsSection.cjs +2 -2
- package/dist/PartnerStatsSection.js +3 -3
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +19 -19
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +20 -10
- package/dist/ProductsWithBannerSection.js +79 -69
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +5 -5
- package/dist/QuattroCardsSection.cjs +8 -6
- package/dist/QuattroCardsSection.js +19 -17
- package/dist/QuizSection.cjs +9 -9
- package/dist/QuizSection.js +56 -56
- package/dist/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -16
- package/dist/ReviewsSection.js +56 -48
- package/dist/SalesCampaignsSection.cjs +25 -21
- package/dist/SalesCampaignsSection.js +248 -241
- package/dist/{SearchSection-DAaMecR4.js → SearchSection-BEYnWPSr.js} +69 -69
- package/dist/{SearchSection-B94YN_6P.cjs → SearchSection-DUY61r3k.cjs} +6 -6
- package/dist/SearchSection.cjs +1 -1
- package/dist/SearchSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +3 -3
- package/dist/SeparatorSection.cjs +3 -3
- package/dist/SeparatorSection.js +4 -4
- package/dist/ShopCardsSection.cjs +11 -5
- package/dist/ShopCardsSection.js +40 -34
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +9 -5
- package/dist/SimpleCategoriesSection.js +61 -57
- package/dist/SimpleProductsSection.cjs +44 -11
- package/dist/SimpleProductsSection.js +100 -67
- package/dist/{SoundCloud-C6R6E6Zc.cjs → SoundCloud-BsL6Onq6.cjs} +1 -1
- package/dist/{SoundCloud-lO8wg_0s.js → SoundCloud-Cfaj1Ze1.js} +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.cjs +3 -3
- package/dist/StatsSection.js +11 -11
- package/dist/{Streamable-Dwa5ZEK4.js → Streamable-CG8_-_w7.js} +1 -1
- package/dist/{Streamable-DZO95CiT.cjs → Streamable-DFtyk9Dt.cjs} +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +54 -49
- package/dist/Table.js +417 -401
- package/dist/TableView.cjs +10 -2
- package/dist/TableView.js +84 -75
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +4 -4
- package/dist/ThemeProvider.js +11 -10
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/ToggleSection.cjs +7 -7
- package/dist/ToggleSection.js +38 -38
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +3 -3
- package/dist/{Twitch-B17oKtD0.cjs → Twitch-BIUEEDiE.cjs} +1 -1
- package/dist/{Twitch-C73-dwWo.js → Twitch-CbU_0Tx9.js} +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +7 -7
- package/dist/UrgentSaleProductsSection.cjs +10 -4
- package/dist/UrgentSaleProductsSection.js +67 -61
- package/dist/{Vidyard-s1MMcaRm.cjs → Vidyard-QkjVIros.cjs} +1 -1
- package/dist/{Vidyard-B6GdBHsM.js → Vidyard-S6Fl_F78.js} +1 -1
- package/dist/{Vimeo-kzHz4Gco.js → Vimeo-5bkeYCV4.js} +1 -1
- package/dist/{Vimeo-J1l_SU2E.cjs → Vimeo-B5jsifNT.cjs} +1 -1
- package/dist/{Wistia-CudQyDHM.cjs → Wistia-dpbMmx23.cjs} +1 -1
- package/dist/{Wistia-w4jnqd7y.js → Wistia-gOZBV0XZ.js} +1 -1
- package/dist/{YouTube-BAYKouHS.cjs → YouTube-BfZRCB6O.cjs} +1 -1
- package/dist/{YouTube-BKyipPZx.js → YouTube-XoIB4ATQ.js} +1 -1
- package/dist/breakpoints-CcVm-gVm.cjs +1 -0
- package/dist/breakpoints-ff0SIcV3.js +91 -0
- package/dist/{index-u_XFwsvc.js → index-9KyU46J0.js} +11 -9
- package/dist/{index-CSgGox95.cjs → index-B9c6y2J5.cjs} +3 -3
- package/dist/{index-CS4w87SW.cjs → index-BEgD9vNo.cjs} +9 -9
- package/dist/{index-BC2PHcI1.js → index-BWeXujWl.js} +10 -10
- package/dist/index-B_ilx3wM.cjs +16 -0
- package/dist/{index-B22BZVBG.js → index-BvMY2TbK.js} +1 -1
- package/dist/{index-CwMCk9wV.js → index-BzSWu-7v.js} +67 -67
- package/dist/{index-TIqKd2Dv.js → index-C-uOIDDa.js} +2 -2
- package/dist/{index-bihqNqQk.js → index-C4HycAPS.js} +6 -6
- package/dist/{index-BWE-RCPy.cjs → index-CBZ-jNah.cjs} +4 -4
- package/dist/{index-D_5jNP-o.cjs → index-CUaeb_TU.cjs} +5 -5
- package/dist/{index-DK8dqEUQ.js → index-CoQ9APCD.js} +11 -11
- package/dist/{index-BAJkosVg.cjs → index-CsTfXxpp.cjs} +2 -2
- package/dist/{index-D0JDnm9b.cjs → index-Dc0EEBRW.cjs} +4 -4
- package/dist/{index-uwl7BjRF.cjs → index-DsINTjQk.cjs} +1 -1
- package/dist/{index-Cm414y95.js → index-L_Va5-wK.js} +13 -13
- package/dist/{index-CBMsUFkS.js → index-hC-E71GE.js} +11 -11
- package/dist/{index-BFc3nxYZ.cjs → index-of6WydGq.cjs} +4 -2
- package/dist/{index-BASX-BjS.js → index-rYUwBlpp.js} +63 -63
- package/dist/{index-D0IYt1s3.cjs → index-uCWKRzoS.cjs} +2 -2
- package/dist/{index-CRk3vcd4.cjs → index-vQOR22Py.cjs} +4 -4
- package/dist/{index-D-86mDtn.js → index-yARaIaLj.js} +29 -29
- package/dist/index.cjs +1 -1
- package/dist/index.js +213 -194
- package/dist/{style-BTTXJFJN.cjs → style-AYc9hnFj.cjs} +14 -2
- package/dist/{style-neMbLWE6.js → style-BUyFad_y.js} +4 -4
- package/dist/{style-tw6KjI2J.js → style-Bq3rMbnN.js} +16 -4
- package/dist/{style-B4kAj6YU.cjs → style-DC05rdyx.cjs} +5 -5
- package/dist/{tag-Dm8CW4TM.js → tag-Bi8gg6hJ.js} +12 -12
- package/dist/{tag-UQjq2_Ba.cjs → tag-DSnhWWHE.cjs} +5 -5
- package/dist/{utils-DtEfC-TX.js → theme-Befg4g_L.js} +19 -378
- package/dist/theme-Q3WOGKWQ.cjs +1 -0
- package/dist/{useDetectMobile-Bkvj0VMa.js → useDetectMobile-CcVo3PNi.js} +1 -1
- package/dist/useDetectMobile-DYV6V1yw.cjs +1 -0
- package/dist/utils-B2fsQ6PS.js +334 -0
- package/dist/utils-CITgSxXe.cjs +51 -0
- package/package.json +1 -1
- package/dist/consts-BuFChS64.js +0 -7
- package/dist/consts-goSZX3xP.cjs +0 -1
- package/dist/index-D-3I_Ppj.cjs +0 -16
- package/dist/useDetectMobile-zkbzoOGV.cjs +0 -1
- package/dist/utils-RnrgDDZP.cjs +0 -51
package/dist/Badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as h } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
3
|
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as y, c as t, b as z } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B = b.div`
|
|
7
7
|
${(e) => y(e.theme, "Badge", e.size, "enabled")};
|
|
@@ -26,9 +26,9 @@ const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B
|
|
|
26
26
|
& i {
|
|
27
27
|
font-size: ${(e) => e.size == "small" ? "0.75rem" : e.size == "medium" ? "0.875rem" : "1rem"};
|
|
28
28
|
}
|
|
29
|
-
`, j = f((e,
|
|
29
|
+
`, j = f((e, i) => {
|
|
30
30
|
const {
|
|
31
|
-
borderRadius:
|
|
31
|
+
borderRadius: a = "curved",
|
|
32
32
|
onClick: o = () => {
|
|
33
33
|
},
|
|
34
34
|
className: m = "",
|
|
@@ -38,14 +38,14 @@ const r = (e) => e == "large" ? "2rem" : e == "medium" ? "1.75rem" : "1.5rem", B
|
|
|
38
38
|
children: l,
|
|
39
39
|
...c
|
|
40
40
|
} = e, u = $(), g = {
|
|
41
|
-
borderRadius:
|
|
41
|
+
borderRadius: a,
|
|
42
42
|
theme: u,
|
|
43
43
|
size: n,
|
|
44
44
|
color: d,
|
|
45
45
|
className: "lnc-ui-badge " + m,
|
|
46
46
|
style: s
|
|
47
47
|
};
|
|
48
|
-
return /* @__PURE__ */ h(B, { ref:
|
|
48
|
+
return /* @__PURE__ */ h(B, { ref: i, ...g, onClick: o, ...c, children: l });
|
|
49
49
|
});
|
|
50
50
|
export {
|
|
51
51
|
j as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),g=require("react"),h=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),g=require("react"),h=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-CITgSxXe.cjs"),x=require("./breakpoints-CcVm-gVm.cjs"),u=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=_.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
@media
|
|
85
|
+
@media ${x.down("S")} {
|
|
86
86
|
flex-direction: column;
|
|
87
87
|
|
|
88
88
|
& .section__left {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
|
-
import
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import f from "./Button.js";
|
|
4
|
+
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { n as c } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import { d as p } from "./breakpoints-ff0SIcV3.js";
|
|
7
7
|
import { u as x } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const u =
|
|
8
|
+
const u = _.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
|
|
@@ -46,7 +46,7 @@ const u = f.div`
|
|
|
46
46
|
gap: 0.5rem;
|
|
47
47
|
|
|
48
48
|
& .section__title {
|
|
49
|
-
${
|
|
49
|
+
${c(3)}
|
|
50
50
|
color: #000;
|
|
51
51
|
font-weight: 600;
|
|
52
52
|
font-size: 1.75rem;
|
|
@@ -57,7 +57,7 @@ const u = f.div`
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
& .section__description {
|
|
60
|
-
${
|
|
60
|
+
${c(2)}
|
|
61
61
|
color: var(--gray-600, #676e79);
|
|
62
62
|
font-weight: 500;
|
|
63
63
|
font-size: 0.875rem;
|
|
@@ -89,7 +89,7 @@ const u = f.div`
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
@media
|
|
92
|
+
@media ${p("S")} {
|
|
93
93
|
flex-direction: column;
|
|
94
94
|
|
|
95
95
|
& .section__left {
|
|
@@ -108,19 +108,19 @@ const u = f.div`
|
|
|
108
108
|
flex-direction: column;
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
111
|
+
`, $ = h(
|
|
112
112
|
({
|
|
113
113
|
title: e,
|
|
114
114
|
description: o,
|
|
115
115
|
imageUrl: n,
|
|
116
|
-
backgroundColor:
|
|
116
|
+
backgroundColor: m = "white",
|
|
117
117
|
buttonText: a,
|
|
118
118
|
buttonLink: s,
|
|
119
119
|
onButtonAction: d = () => {
|
|
120
120
|
}
|
|
121
121
|
}, l) => {
|
|
122
122
|
const g = x();
|
|
123
|
-
return /* @__PURE__ */ r(u, { ref: l, theme: g, backgroundColor:
|
|
123
|
+
return /* @__PURE__ */ r(u, { ref: l, theme: g, backgroundColor: m, children: [
|
|
124
124
|
/* @__PURE__ */ i("div", { className: "section__left", children: n && /* @__PURE__ */ i("div", { className: "section__image", children: /* @__PURE__ */ i("img", { src: n, alt: "Banner next image", loading: "lazy" }) }) }),
|
|
125
125
|
/* @__PURE__ */ r("div", { className: "section__right", children: [
|
|
126
126
|
/* @__PURE__ */ r("div", { className: "section__text", children: [
|
|
@@ -128,7 +128,7 @@ const u = f.div`
|
|
|
128
128
|
o && /* @__PURE__ */ i("div", { className: "section__description", children: o })
|
|
129
129
|
] }),
|
|
130
130
|
a && s && /* @__PURE__ */ i(
|
|
131
|
-
|
|
131
|
+
f,
|
|
132
132
|
{
|
|
133
133
|
text: a,
|
|
134
134
|
borderRadius: "curved",
|
|
@@ -144,5 +144,5 @@ const u = f.div`
|
|
|
144
144
|
}
|
|
145
145
|
);
|
|
146
146
|
export {
|
|
147
|
-
|
|
147
|
+
$ as default
|
|
148
148
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),x=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),x=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./breakpoints-CcVm-gVm.cjs"),b=require("./Button.cjs"),p=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
border-radius: 0.75rem;
|
|
4
4
|
background-color: ${e=>e.bgcolor||"transparent"};
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
color: var(--gray-950, #14161a);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
@media
|
|
15
|
+
@media ${i.down("S")} {
|
|
16
16
|
gap: 1.5rem;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
min-height: unset;
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
${e=>e.isHorizontalContent===!0&&"justify-content: space-between;"}
|
|
34
34
|
|
|
35
|
-
@media
|
|
35
|
+
@media ${i.down("S")} {
|
|
36
36
|
padding: 0;
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
}
|
|
@@ -53,4 +53,4 @@
|
|
|
53
53
|
font-size: 1rem;
|
|
54
54
|
font-weight: 500;
|
|
55
55
|
}
|
|
56
|
-
`,w=x.forwardRef((e,n)=>{const{title:o,subtitle:a,buttonText:s,onClick:l,height:d,imageWidth:c,imageHeightMob:m,smallPadding:
|
|
56
|
+
`,w=x.forwardRef((e,n)=>{const{title:o,subtitle:a,buttonText:s,onClick:l,height:d,imageWidth:c,imageHeightMob:m,smallPadding:u=!1,isHorizontalContent:g=!1,backgroundColor:h,hasBorder:f=!1}=e;return t.jsx(p,{ref:n,bgcolor:h,height:d,imgW:c,imgHMob:m,hasBorder:f,children:t.jsxs(y,{isHorizontalContent:g,smallPadding:u,children:[t.jsxs(v,{children:[t.jsx("div",{className:"header-title",children:o}),t.jsx("div",{className:"header-subitle",children:a})]}),t.jsx(b,{size:"medium",color:"neutral",type:"button",borderRadius:"curved",onClick:l,children:s})]})})});module.exports=w;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as b } from "react";
|
|
3
3
|
import { s as r } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
4
|
+
import { d as o } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import x from "./Button.js";
|
|
6
6
|
const v = r.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
border-radius: 0.75rem;
|
|
@@ -17,7 +17,7 @@ const v = r.div`
|
|
|
17
17
|
color: var(--gray-950, #14161a);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
@media
|
|
20
|
+
@media ${o("S")} {
|
|
21
21
|
gap: 1.5rem;
|
|
22
22
|
flex-direction: column;
|
|
23
23
|
min-height: unset;
|
|
@@ -27,7 +27,7 @@ const v = r.div`
|
|
|
27
27
|
width: fit-content;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`, y = r.div`
|
|
31
31
|
padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
|
|
32
32
|
display: flex;
|
|
33
33
|
gap: 2rem;
|
|
@@ -37,11 +37,11 @@ const v = r.div`
|
|
|
37
37
|
|
|
38
38
|
${(e) => e.isHorizontalContent === !0 && "justify-content: space-between;"}
|
|
39
39
|
|
|
40
|
-
@media
|
|
40
|
+
@media ${o("S")} {
|
|
41
41
|
padding: 0;
|
|
42
42
|
flex-direction: column;
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`, w = r.div`
|
|
45
45
|
display: flex;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
gap: 0.25rem;
|
|
@@ -58,16 +58,16 @@ const v = r.div`
|
|
|
58
58
|
font-size: 1rem;
|
|
59
59
|
font-weight: 500;
|
|
60
60
|
}
|
|
61
|
-
`,
|
|
61
|
+
`, B = b((e, n) => {
|
|
62
62
|
const {
|
|
63
63
|
title: a,
|
|
64
64
|
subtitle: l,
|
|
65
65
|
buttonText: d,
|
|
66
|
-
onClick:
|
|
67
|
-
height:
|
|
68
|
-
imageWidth:
|
|
69
|
-
imageHeightMob:
|
|
70
|
-
smallPadding:
|
|
66
|
+
onClick: s,
|
|
67
|
+
height: c,
|
|
68
|
+
imageWidth: m,
|
|
69
|
+
imageHeightMob: g,
|
|
70
|
+
smallPadding: h = !1,
|
|
71
71
|
isHorizontalContent: f = !1,
|
|
72
72
|
backgroundColor: u,
|
|
73
73
|
hasBorder: p = !1
|
|
@@ -77,28 +77,28 @@ const v = r.div`
|
|
|
77
77
|
{
|
|
78
78
|
ref: n,
|
|
79
79
|
bgcolor: u,
|
|
80
|
-
height:
|
|
81
|
-
imgW:
|
|
82
|
-
imgHMob:
|
|
80
|
+
height: c,
|
|
81
|
+
imgW: m,
|
|
82
|
+
imgHMob: g,
|
|
83
83
|
hasBorder: p,
|
|
84
84
|
children: /* @__PURE__ */ i(
|
|
85
|
-
|
|
85
|
+
y,
|
|
86
86
|
{
|
|
87
87
|
isHorizontalContent: f,
|
|
88
|
-
smallPadding:
|
|
88
|
+
smallPadding: h,
|
|
89
89
|
children: [
|
|
90
|
-
/* @__PURE__ */ i(
|
|
90
|
+
/* @__PURE__ */ i(w, { children: [
|
|
91
91
|
/* @__PURE__ */ t("div", { className: "header-title", children: a }),
|
|
92
92
|
/* @__PURE__ */ t("div", { className: "header-subitle", children: l })
|
|
93
93
|
] }),
|
|
94
94
|
/* @__PURE__ */ t(
|
|
95
|
-
|
|
95
|
+
x,
|
|
96
96
|
{
|
|
97
97
|
size: "medium",
|
|
98
98
|
color: "neutral",
|
|
99
99
|
type: "button",
|
|
100
100
|
borderRadius: "curved",
|
|
101
|
-
onClick:
|
|
101
|
+
onClick: s,
|
|
102
102
|
children: d
|
|
103
103
|
}
|
|
104
104
|
)
|
|
@@ -109,5 +109,5 @@ const v = r.div`
|
|
|
109
109
|
);
|
|
110
110
|
});
|
|
111
111
|
export {
|
|
112
|
-
|
|
112
|
+
B as default
|
|
113
113
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),d=require("react"),x=require("./index-DeS-oqJB.cjs"),v=require("./Button.cjs"),w=require("./useDetectMobile-DYV6V1yw.cjs"),t=require("./breakpoints-CcVm-gVm.cjs"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./style-BAcV7F53.cjs"),y=u.styled.div`
|
|
2
2
|
&:hover {
|
|
3
3
|
cursor: pointer;
|
|
4
4
|
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
width: 100%;
|
|
38
38
|
height: 100%;
|
|
39
39
|
object-fit: cover;
|
|
40
|
+
object-position: center;
|
|
40
41
|
display: block;
|
|
42
|
+
border-radius: inherit;
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
& .card__content {
|
|
@@ -114,7 +116,25 @@
|
|
|
114
116
|
right: 1rem;
|
|
115
117
|
}
|
|
116
118
|
|
|
117
|
-
@media (
|
|
119
|
+
@media ${t.down("M")} {
|
|
120
|
+
& .carousel-item .section__card,
|
|
121
|
+
& .carousel-item:not(.react-multi-carousel-item--active) .section__card {
|
|
122
|
+
height: 26rem;
|
|
123
|
+
}
|
|
124
|
+
& .carousel-item .section__card .section__image {
|
|
125
|
+
object-fit: cover;
|
|
126
|
+
object-position: center;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media ${t.down("S")} {
|
|
131
|
+
& .carousel-item .section__card .section__image {
|
|
132
|
+
object-fit: cover;
|
|
133
|
+
object-position: center;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@media ${t.down("XS")} {
|
|
118
138
|
& .carousel-container {
|
|
119
139
|
min-height: 23.4375rem;
|
|
120
140
|
}
|
|
@@ -148,7 +168,8 @@
|
|
|
148
168
|
border-radius: 0.5rem;
|
|
149
169
|
|
|
150
170
|
& .section__image {
|
|
151
|
-
object-fit:
|
|
171
|
+
object-fit: cover;
|
|
172
|
+
object-position: center;
|
|
152
173
|
}
|
|
153
174
|
|
|
154
175
|
& .card__content {
|
|
@@ -167,11 +188,11 @@
|
|
|
167
188
|
}
|
|
168
189
|
}
|
|
169
190
|
}
|
|
170
|
-
`,j=
|
|
171
|
-
@media
|
|
191
|
+
`,j=u.styled(m.SkeletonColumnWrapper)`
|
|
192
|
+
@media ${t.down("S")} {
|
|
172
193
|
& > div {
|
|
173
194
|
height: 100%;
|
|
174
195
|
aspect-ratio: 1 / 1;
|
|
175
196
|
}
|
|
176
197
|
}
|
|
177
|
-
`,k=({keyPrefix:
|
|
198
|
+
`,k=({keyPrefix:i})=>r.jsx(j,{noGradient:!0,children:r.jsx(m.SkeletonLinePlaceholder,{keyPrefix:`${i}-1`,height:"22.5rem"})}),S=({keyPrefix:i,isLoading:o=!1,fallbackComponent:a=r.jsx(r.Fragment,{}),children:n})=>r.jsx(d.Suspense,{fallbackComponent:a,children:o===!0?r.jsx(k,{keyPrefix:i}):n}),C=d.forwardRef(({items:i=[],isLoading:o=!1,deviceType:a,partialVisible:n=!0,fallbackComponent:h=r.jsx(r.Fragment,{}),onSelectItem:_=()=>{},onButtonAction:p=()=>{},carouselProps:g},f)=>{const b={desktop:{breakpoint:{max:3e3,min:t.screenSizes.M.max},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:t.screenSizes.M.max,min:t.screenSizes.S.min},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:t.screenSizes.XS.max,min:0},items:1,partialVisibilityGutter:64}},c=w.useDetectMobile();return r.jsx(y,{ref:f,children:r.jsx(S,{fallbackComponent:h,keyPrefix:"banner-carousel-skeleton",isLoading:o,children:r.jsx(x.Carousel,{responsive:b,deviceType:a,removeArrowOnDeviceType:["tablet","mobile"],infinite:!c,keyBoardControl:!0,autoPlay:!0,partialVisible:n,customTransition:"transform 500ms ease-in-out",sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",rewind:!0,rewindWithAnimation:!0,...g,children:i==null?void 0:i.map((e,l)=>r.jsxs("div",{className:"section__card",onClick:()=>_(e),children:[r.jsx("img",{src:e==null?void 0:e.imageUrl,alt:`Slide ${l+1}`,className:"section__image"}),r.jsxs("div",{className:"card__content",children:[r.jsxs("div",{className:"card__text",children:[(e==null?void 0:e.title)&&r.jsx("div",{className:"card__title",children:e==null?void 0:e.title}),(e==null?void 0:e.title)&&r.jsx("div",{className:"card__description",children:e==null?void 0:e.description})]}),(e==null?void 0:e.buttonText)&&r.jsx(v,{text:e==null?void 0:e.buttonText,className:"card__action",size:"medium",onClick:s=>{s==null||s.stopPropagation(),p(e)}})]})]},`banner-section-carousel-item__${l+1}`))})})},`banner-section-carousel__${c}`)});module.exports=C;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as r, Fragment as
|
|
2
|
-
import { Suspense as
|
|
3
|
-
import { C as
|
|
4
|
-
import
|
|
5
|
-
import { u as
|
|
6
|
-
import { s as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
1
|
+
import { jsx as r, Fragment as u, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as v, forwardRef as y } from "react";
|
|
3
|
+
import { C as w } from "./index-BppfjY8h.js";
|
|
4
|
+
import k from "./Button.js";
|
|
5
|
+
import { u as C } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
+
import { d as a, s as i } from "./breakpoints-ff0SIcV3.js";
|
|
7
|
+
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
+
import { b as S, a as j } from "./style-BwQ4djFC.js";
|
|
9
|
+
const $ = h.div`
|
|
10
10
|
&:hover {
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
|
|
@@ -45,7 +45,9 @@ const N = m.div`
|
|
|
45
45
|
width: 100%;
|
|
46
46
|
height: 100%;
|
|
47
47
|
object-fit: cover;
|
|
48
|
+
object-position: center;
|
|
48
49
|
display: block;
|
|
50
|
+
border-radius: inherit;
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
& .card__content {
|
|
@@ -122,7 +124,25 @@ const N = m.div`
|
|
|
122
124
|
right: 1rem;
|
|
123
125
|
}
|
|
124
126
|
|
|
125
|
-
@media (
|
|
127
|
+
@media ${a("M")} {
|
|
128
|
+
& .carousel-item .section__card,
|
|
129
|
+
& .carousel-item:not(.react-multi-carousel-item--active) .section__card {
|
|
130
|
+
height: 26rem;
|
|
131
|
+
}
|
|
132
|
+
& .carousel-item .section__card .section__image {
|
|
133
|
+
object-fit: cover;
|
|
134
|
+
object-position: center;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@media ${a("S")} {
|
|
139
|
+
& .carousel-item .section__card .section__image {
|
|
140
|
+
object-fit: cover;
|
|
141
|
+
object-position: center;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@media ${a("XS")} {
|
|
126
146
|
& .carousel-container {
|
|
127
147
|
min-height: 23.4375rem;
|
|
128
148
|
}
|
|
@@ -156,7 +176,8 @@ const N = m.div`
|
|
|
156
176
|
border-radius: 0.5rem;
|
|
157
177
|
|
|
158
178
|
& .section__image {
|
|
159
|
-
object-fit:
|
|
179
|
+
object-fit: cover;
|
|
180
|
+
object-position: center;
|
|
160
181
|
}
|
|
161
182
|
|
|
162
183
|
& .card__content {
|
|
@@ -175,82 +196,82 @@ const N = m.div`
|
|
|
175
196
|
}
|
|
176
197
|
}
|
|
177
198
|
}
|
|
178
|
-
`,
|
|
179
|
-
@media
|
|
199
|
+
`, N = h(S)`
|
|
200
|
+
@media ${a("S")} {
|
|
180
201
|
& > div {
|
|
181
202
|
height: 100%;
|
|
182
203
|
aspect-ratio: 1 / 1;
|
|
183
204
|
}
|
|
184
205
|
}
|
|
185
|
-
`,
|
|
206
|
+
`, z = ({ keyPrefix: t }) => /* @__PURE__ */ r(N, { noGradient: !0, children: /* @__PURE__ */ r(j, { keyPrefix: `${t}-1`, height: "22.5rem" }) }), B = ({
|
|
186
207
|
keyPrefix: t,
|
|
187
|
-
isLoading:
|
|
188
|
-
fallbackComponent:
|
|
189
|
-
children:
|
|
190
|
-
}) => /* @__PURE__ */ r(
|
|
208
|
+
isLoading: o = !1,
|
|
209
|
+
fallbackComponent: n = /* @__PURE__ */ r(u, {}),
|
|
210
|
+
children: c
|
|
211
|
+
}) => /* @__PURE__ */ r(v, { fallbackComponent: n, children: o === !0 ? /* @__PURE__ */ r(z, { keyPrefix: t }) : c }), W = y(
|
|
191
212
|
({
|
|
192
213
|
items: t = [],
|
|
193
|
-
isLoading:
|
|
194
|
-
deviceType:
|
|
195
|
-
partialVisible:
|
|
196
|
-
fallbackComponent:
|
|
197
|
-
onSelectItem:
|
|
214
|
+
isLoading: o = !1,
|
|
215
|
+
deviceType: n,
|
|
216
|
+
partialVisible: c = !0,
|
|
217
|
+
fallbackComponent: p = /* @__PURE__ */ r(u, {}),
|
|
218
|
+
onSelectItem: _ = () => {
|
|
198
219
|
},
|
|
199
|
-
onButtonAction:
|
|
220
|
+
onButtonAction: f = () => {
|
|
200
221
|
},
|
|
201
|
-
carouselProps:
|
|
202
|
-
},
|
|
203
|
-
const
|
|
222
|
+
carouselProps: g
|
|
223
|
+
}, b) => {
|
|
224
|
+
const x = {
|
|
204
225
|
desktop: {
|
|
205
|
-
breakpoint: { max: 3e3, min:
|
|
226
|
+
breakpoint: { max: 3e3, min: i.M.max },
|
|
206
227
|
items: 1,
|
|
207
228
|
partialVisibilityGutter: 0
|
|
208
229
|
},
|
|
209
230
|
tablet: {
|
|
210
|
-
breakpoint: { max:
|
|
231
|
+
breakpoint: { max: i.M.max, min: i.S.min },
|
|
211
232
|
items: 1,
|
|
212
233
|
partialVisibilityGutter: 0
|
|
213
234
|
},
|
|
214
235
|
mobile: {
|
|
215
|
-
breakpoint: { max:
|
|
236
|
+
breakpoint: { max: i.XS.max, min: 0 },
|
|
216
237
|
items: 1,
|
|
217
238
|
partialVisibilityGutter: 64
|
|
218
239
|
}
|
|
219
|
-
},
|
|
220
|
-
return /* @__PURE__ */ r(
|
|
221
|
-
|
|
240
|
+
}, d = C();
|
|
241
|
+
return /* @__PURE__ */ r($, { ref: b, children: /* @__PURE__ */ r(
|
|
242
|
+
B,
|
|
222
243
|
{
|
|
223
|
-
fallbackComponent:
|
|
244
|
+
fallbackComponent: p,
|
|
224
245
|
keyPrefix: "banner-carousel-skeleton",
|
|
225
|
-
isLoading:
|
|
246
|
+
isLoading: o,
|
|
226
247
|
children: /* @__PURE__ */ r(
|
|
227
|
-
|
|
248
|
+
w,
|
|
228
249
|
{
|
|
229
|
-
responsive:
|
|
230
|
-
deviceType:
|
|
250
|
+
responsive: x,
|
|
251
|
+
deviceType: n,
|
|
231
252
|
removeArrowOnDeviceType: ["tablet", "mobile"],
|
|
232
|
-
infinite: !
|
|
253
|
+
infinite: !d,
|
|
233
254
|
keyBoardControl: !0,
|
|
234
255
|
autoPlay: !0,
|
|
235
|
-
partialVisible:
|
|
256
|
+
partialVisible: c,
|
|
236
257
|
customTransition: "transform 500ms ease-in-out",
|
|
237
258
|
sliderClass: "carousel-slider",
|
|
238
259
|
itemClass: "carousel-item",
|
|
239
260
|
containerClass: "carousel-container",
|
|
240
261
|
rewind: !0,
|
|
241
262
|
rewindWithAnimation: !0,
|
|
242
|
-
...
|
|
243
|
-
children: t == null ? void 0 : t.map((e,
|
|
263
|
+
...g,
|
|
264
|
+
children: t == null ? void 0 : t.map((e, m) => /* @__PURE__ */ l(
|
|
244
265
|
"div",
|
|
245
266
|
{
|
|
246
267
|
className: "section__card",
|
|
247
|
-
onClick: () =>
|
|
268
|
+
onClick: () => _(e),
|
|
248
269
|
children: [
|
|
249
270
|
/* @__PURE__ */ r(
|
|
250
271
|
"img",
|
|
251
272
|
{
|
|
252
273
|
src: e == null ? void 0 : e.imageUrl,
|
|
253
|
-
alt: `Slide ${
|
|
274
|
+
alt: `Slide ${m + 1}`,
|
|
254
275
|
className: "section__image"
|
|
255
276
|
}
|
|
256
277
|
),
|
|
@@ -260,27 +281,27 @@ const N = m.div`
|
|
|
260
281
|
(e == null ? void 0 : e.title) && /* @__PURE__ */ r("div", { className: "card__description", children: e == null ? void 0 : e.description })
|
|
261
282
|
] }),
|
|
262
283
|
(e == null ? void 0 : e.buttonText) && /* @__PURE__ */ r(
|
|
263
|
-
|
|
284
|
+
k,
|
|
264
285
|
{
|
|
265
286
|
text: e == null ? void 0 : e.buttonText,
|
|
266
287
|
className: "card__action",
|
|
267
288
|
size: "medium",
|
|
268
|
-
onClick: (
|
|
269
|
-
|
|
289
|
+
onClick: (s) => {
|
|
290
|
+
s == null || s.stopPropagation(), f(e);
|
|
270
291
|
}
|
|
271
292
|
}
|
|
272
293
|
)
|
|
273
294
|
] })
|
|
274
295
|
]
|
|
275
296
|
},
|
|
276
|
-
`banner-section-carousel-item__${
|
|
297
|
+
`banner-section-carousel-item__${m + 1}`
|
|
277
298
|
))
|
|
278
299
|
}
|
|
279
300
|
)
|
|
280
301
|
}
|
|
281
|
-
) }, `banner-section-carousel__${
|
|
302
|
+
) }, `banner-section-carousel__${d}`);
|
|
282
303
|
}
|
|
283
304
|
);
|
|
284
305
|
export {
|
|
285
|
-
|
|
306
|
+
W as default
|
|
286
307
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),k=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./breakpoints-CcVm-gVm.cjs"),T=require("./useDetectMobile-DYV6V1yw.cjs"),s=require("./index-B9c6y2J5.cjs"),f=w.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: repeat(2, 1fr);
|
|
4
4
|
gap: 0;
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
border-radius: 0.75rem 0rem 0.75rem 0.75rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
@media
|
|
28
|
+
@media ${q.down("S")} {
|
|
29
29
|
grid-template-columns: repeat(1, 1fr);
|
|
30
30
|
gap: 1.5rem;
|
|
31
31
|
|
|
@@ -45,4 +45,4 @@
|
|
|
45
45
|
max-height: unset;
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
`,
|
|
48
|
+
`,N=k.forwardRef((e,n)=>{const{image1Url:o,image2Url:i,title1:g,title2:a,text1:u,text2:c,subtitle1:h,subtitle2:l,buttonText1:x,buttonText2:d,buttonLink1:b,buttonLink2:p,rowHeight:j="12.65625rem",onButtonAction:r=()=>{}}=e,m=T.useDetectMobile();return t.jsxs(f,{ref:n,height:j,children:[t.jsx(s.TextBlockV1,{className:"text-item",title:g,subtitle:h,description:u,buttonText:x,buttonLink:b,onButtonAction:r}),t.jsx("img",{className:"img-item img-1",src:o}),m!==!0&&t.jsx("img",{className:"img-item img-2",src:i}),t.jsx(s.TextBlockV1,{className:"text-item",title:a,subtitle:l,description:c,buttonText:d,buttonLink:p,onButtonAction:r}),m===!0&&t.jsx("img",{className:"img-item img-2",src:i})]})});module.exports=N;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as w, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as T } from "react";
|
|
3
3
|
import { s as k } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { T as o } from "./index-
|
|
7
|
-
const
|
|
4
|
+
import { d as N } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { u as $ } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
+
import { T as o } from "./index-CoQ9APCD.js";
|
|
7
|
+
const L = k.div`
|
|
8
8
|
display: grid;
|
|
9
9
|
grid-template-columns: repeat(2, 1fr);
|
|
10
10
|
gap: 0;
|
|
@@ -31,7 +31,7 @@ const $ = k.div`
|
|
|
31
31
|
border-radius: 0.75rem 0rem 0.75rem 0.75rem;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@media
|
|
34
|
+
@media ${N("S")} {
|
|
35
35
|
grid-template-columns: repeat(1, 1fr);
|
|
36
36
|
gap: 1.5rem;
|
|
37
37
|
|
|
@@ -51,7 +51,7 @@ const $ = k.div`
|
|
|
51
51
|
max-height: unset;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
`,
|
|
54
|
+
`, S = T((t, s) => {
|
|
55
55
|
const {
|
|
56
56
|
image1Url: a,
|
|
57
57
|
image2Url: i,
|
|
@@ -63,13 +63,13 @@ const $ = k.div`
|
|
|
63
63
|
subtitle2: d,
|
|
64
64
|
buttonText1: c,
|
|
65
65
|
buttonText2: x,
|
|
66
|
-
buttonLink1:
|
|
67
|
-
buttonLink2:
|
|
66
|
+
buttonLink1: b,
|
|
67
|
+
buttonLink2: p,
|
|
68
68
|
rowHeight: f = "12.65625rem",
|
|
69
69
|
onButtonAction: m = () => {
|
|
70
70
|
}
|
|
71
|
-
} = t, r =
|
|
72
|
-
return /* @__PURE__ */ w(
|
|
71
|
+
} = t, r = $();
|
|
72
|
+
return /* @__PURE__ */ w(L, { ref: s, height: f, children: [
|
|
73
73
|
/* @__PURE__ */ e(
|
|
74
74
|
o,
|
|
75
75
|
{
|
|
@@ -78,7 +78,7 @@ const $ = k.div`
|
|
|
78
78
|
subtitle: l,
|
|
79
79
|
description: h,
|
|
80
80
|
buttonText: c,
|
|
81
|
-
buttonLink:
|
|
81
|
+
buttonLink: b,
|
|
82
82
|
onButtonAction: m
|
|
83
83
|
}
|
|
84
84
|
),
|
|
@@ -92,7 +92,7 @@ const $ = k.div`
|
|
|
92
92
|
subtitle: d,
|
|
93
93
|
description: u,
|
|
94
94
|
buttonText: x,
|
|
95
|
-
buttonLink:
|
|
95
|
+
buttonLink: p,
|
|
96
96
|
onButtonAction: m
|
|
97
97
|
}
|
|
98
98
|
),
|
|
@@ -100,5 +100,5 @@ const $ = k.div`
|
|
|
100
100
|
] });
|
|
101
101
|
});
|
|
102
102
|
export {
|
|
103
|
-
|
|
103
|
+
S as default
|
|
104
104
|
};
|