@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
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as g, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
3
|
import u from "./Button.js";
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import { S as
|
|
7
|
-
const
|
|
4
|
+
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { d as i } from "./breakpoints-ff0SIcV3.js";
|
|
6
|
+
import { S as p } from "./index-hC-E71GE.js";
|
|
7
|
+
const x = m.a`
|
|
8
8
|
text-decoration: none;
|
|
9
9
|
color: var(--gray-950);
|
|
10
10
|
display: flex;
|
|
@@ -14,17 +14,18 @@ const p = h.a`
|
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
justify-content: space-between;
|
|
16
16
|
cursor: pointer;
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
width: 100%;
|
|
18
|
+
min-width: 0;
|
|
19
19
|
background: ${(r) => r == null ? void 0 : r.backgroundColor}, url("${(r) => r == null ? void 0 : r.backgroundImage}");
|
|
20
20
|
background-size: cover;
|
|
21
21
|
background-repeat: no-repeat;
|
|
22
22
|
background-position: center;
|
|
23
23
|
border-radius: 0.75rem;
|
|
24
|
-
transition:
|
|
24
|
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
25
25
|
|
|
26
26
|
&:hover {
|
|
27
|
-
|
|
27
|
+
transform: scale(1.02);
|
|
28
|
+
box-shadow: 0 4px 24px rgba(20, 22, 26, 0.12);
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
& .section__text {
|
|
@@ -68,14 +69,10 @@ const p = h.a`
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
|
|
71
|
-
@media
|
|
72
|
+
@media ${i("S")} {
|
|
72
73
|
padding: 2rem;
|
|
73
74
|
min-height: 17.5rem;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
&:hover {
|
|
77
|
-
flex: 1;
|
|
78
|
-
}
|
|
75
|
+
height: auto;
|
|
79
76
|
|
|
80
77
|
& .section__text {
|
|
81
78
|
gap: 0.5rem;
|
|
@@ -91,43 +88,43 @@ const p = h.a`
|
|
|
91
88
|
}
|
|
92
89
|
}
|
|
93
90
|
}
|
|
94
|
-
`, v =
|
|
91
|
+
`, v = h(
|
|
95
92
|
({
|
|
96
93
|
title: r,
|
|
97
94
|
description: n,
|
|
98
|
-
buttonText:
|
|
95
|
+
buttonText: s,
|
|
99
96
|
imageUrl: l,
|
|
100
|
-
backgroundColor:
|
|
101
|
-
handleSelectCard:
|
|
97
|
+
backgroundColor: c = "none",
|
|
98
|
+
handleSelectCard: d = () => {
|
|
102
99
|
},
|
|
103
|
-
handleButtonAction:
|
|
100
|
+
handleButtonAction: f = () => {
|
|
104
101
|
},
|
|
105
102
|
selectAction: e,
|
|
106
|
-
LinkComponent:
|
|
107
|
-
},
|
|
108
|
-
|
|
103
|
+
LinkComponent: a
|
|
104
|
+
}, _) => /* @__PURE__ */ g(
|
|
105
|
+
x,
|
|
109
106
|
{
|
|
110
|
-
ref:
|
|
107
|
+
ref: _,
|
|
111
108
|
backgroundImage: l,
|
|
112
|
-
backgroundColor:
|
|
113
|
-
onClick:
|
|
114
|
-
as:
|
|
115
|
-
...
|
|
109
|
+
backgroundColor: c,
|
|
110
|
+
onClick: d,
|
|
111
|
+
as: a || "a",
|
|
112
|
+
...a ? {
|
|
116
113
|
to: `/${e}`
|
|
117
114
|
} : {
|
|
118
115
|
href: `/${e}`
|
|
119
116
|
},
|
|
120
117
|
children: [
|
|
121
|
-
/* @__PURE__ */
|
|
118
|
+
/* @__PURE__ */ g("div", { className: "section__text", children: [
|
|
122
119
|
r && /* @__PURE__ */ o("div", { className: "section__title", children: r }),
|
|
123
120
|
n && /* @__PURE__ */ o("div", { className: "section__description", children: n })
|
|
124
121
|
] }),
|
|
125
122
|
/* @__PURE__ */ o(
|
|
126
123
|
u,
|
|
127
124
|
{
|
|
128
|
-
text:
|
|
125
|
+
text: s,
|
|
129
126
|
onClick: (t) => {
|
|
130
|
-
t == null || t.preventDefault(), t == null || t.stopPropagation(),
|
|
127
|
+
t == null || t.preventDefault(), t == null || t.stopPropagation(), f();
|
|
131
128
|
},
|
|
132
129
|
borderRadius: "regular",
|
|
133
130
|
color: "gray",
|
|
@@ -137,7 +134,7 @@ const p = h.a`
|
|
|
137
134
|
]
|
|
138
135
|
}
|
|
139
136
|
)
|
|
140
|
-
), y =
|
|
137
|
+
), y = m.div`
|
|
141
138
|
display: flex;
|
|
142
139
|
flex-direction: column;
|
|
143
140
|
align-items: flex-start;
|
|
@@ -153,57 +150,48 @@ const p = h.a`
|
|
|
153
150
|
}
|
|
154
151
|
|
|
155
152
|
& .section__items {
|
|
156
|
-
display:
|
|
157
|
-
|
|
153
|
+
display: grid;
|
|
154
|
+
grid-template-columns: repeat(4, 1fr);
|
|
158
155
|
gap: 1rem;
|
|
159
156
|
width: 100%;
|
|
160
157
|
}
|
|
161
158
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
transition: width 0.5s ease;
|
|
166
|
-
flex-shrink: 0;
|
|
167
|
-
display: flex;
|
|
168
|
-
justify-content: center;
|
|
169
|
-
align-items: center;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
flex: 1;
|
|
172
|
-
|
|
173
|
-
&:hover {
|
|
174
|
-
flex: 2;
|
|
175
|
-
transition: width 0.5s ease;
|
|
159
|
+
@media ${i("M")} {
|
|
160
|
+
& .section__items {
|
|
161
|
+
grid-template-columns: repeat(2, 1fr);
|
|
176
162
|
}
|
|
177
163
|
}
|
|
178
164
|
|
|
179
|
-
@media
|
|
165
|
+
@media ${i("S")} {
|
|
180
166
|
& .section__title {
|
|
181
167
|
font-size: 1.375rem;
|
|
182
168
|
line-height: 1.75rem;
|
|
183
169
|
}
|
|
170
|
+
}
|
|
184
171
|
|
|
172
|
+
@media ${i("XS")} {
|
|
185
173
|
& .section__items {
|
|
186
|
-
|
|
174
|
+
grid-template-columns: 1fr;
|
|
187
175
|
}
|
|
188
176
|
}
|
|
189
|
-
`,
|
|
177
|
+
`, N = h(
|
|
190
178
|
({
|
|
191
179
|
title: r,
|
|
192
180
|
items: n,
|
|
193
|
-
isLoading:
|
|
181
|
+
isLoading: s = !1,
|
|
194
182
|
onSelectCard: l = () => {
|
|
195
183
|
},
|
|
196
|
-
onButtonAction:
|
|
184
|
+
onButtonAction: c = () => {
|
|
197
185
|
},
|
|
198
|
-
LinkComponent:
|
|
199
|
-
},
|
|
186
|
+
LinkComponent: d
|
|
187
|
+
}, f) => /* @__PURE__ */ g(y, { ref: f, children: [
|
|
200
188
|
/* @__PURE__ */ o("div", { className: "section__title", children: r }),
|
|
201
189
|
/* @__PURE__ */ o(
|
|
202
|
-
|
|
190
|
+
p,
|
|
203
191
|
{
|
|
204
|
-
isLoading:
|
|
192
|
+
isLoading: s,
|
|
205
193
|
keyPrefix: "overlay-general-cards-skeleton",
|
|
206
|
-
children: /* @__PURE__ */ o("div", { className: "section__items", children: n == null ? void 0 : n.map((e,
|
|
194
|
+
children: /* @__PURE__ */ o("div", { className: "section__items", children: n == null ? void 0 : n.map((e, a) => /* @__PURE__ */ o(
|
|
207
195
|
v,
|
|
208
196
|
{
|
|
209
197
|
title: e == null ? void 0 : e.title,
|
|
@@ -212,16 +200,16 @@ const p = h.a`
|
|
|
212
200
|
buttonText: e == null ? void 0 : e.buttonText,
|
|
213
201
|
backgroundColor: e == null ? void 0 : e.backgroundColor,
|
|
214
202
|
handleSelectCard: () => l(e),
|
|
215
|
-
handleButtonAction: () =>
|
|
203
|
+
handleButtonAction: () => c(e),
|
|
216
204
|
selectAction: e == null ? void 0 : e.selectAction,
|
|
217
|
-
LinkComponent:
|
|
205
|
+
LinkComponent: d
|
|
218
206
|
},
|
|
219
|
-
`overlay-general-card__${
|
|
207
|
+
`overlay-general-card__${a + 1}`
|
|
220
208
|
)) })
|
|
221
209
|
}
|
|
222
210
|
)
|
|
223
211
|
] })
|
|
224
212
|
);
|
|
225
213
|
export {
|
|
226
|
-
|
|
214
|
+
N as default
|
|
227
215
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),m=require("react"),d=require("./Icon.cjs"),g=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),m=require("react"),d=require("./Icon.cjs"),g=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./breakpoints-CcVm-gVm.cjs"),h=_.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 100%;
|
|
4
4
|
max-height: 19rem;
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
@media
|
|
81
|
+
@media ${f.down("S")} {
|
|
82
82
|
max-height: 100%;
|
|
83
83
|
padding: 1.5rem;
|
|
84
84
|
|
|
@@ -3,7 +3,7 @@ import { forwardRef as d } from "react";
|
|
|
3
3
|
import f from "./Icon.js";
|
|
4
4
|
import g from "./Button.js";
|
|
5
5
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import {
|
|
6
|
+
import { d as h } from "./breakpoints-ff0SIcV3.js";
|
|
7
7
|
const p = _.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
height: 100%;
|
|
@@ -84,7 +84,7 @@ const p = _.div`
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
@media
|
|
87
|
+
@media ${h("S")} {
|
|
88
88
|
max-height: 100%;
|
|
89
89
|
padding: 1.5rem;
|
|
90
90
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),g=require("react"),_=require("./index-DeS-oqJB.cjs"),p=require("./Button.cjs"),u=require("./useDetectMobile-DYV6V1yw.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),b=require("./style-DC05rdyx.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 1.5rem;
|
|
@@ -59,4 +59,4 @@
|
|
|
59
59
|
cursor: pointer;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
`,
|
|
62
|
+
`,m=g.forwardRef(({title:n,buttonText:l,buttonLink:o,items:e,onSelectCard:c=()=>{},onButtonAction:t=()=>{}},v)=>{const h=u.useDetectMobile()?2:7,s=(e==null?void 0:e.length)>h;return r.jsxs(x,{children:[r.jsxs(b.SectionHeadingContainer,{children:[n&&r.jsx("div",{className:"heading__title",children:n}),l&&o&&r.jsx(p,{text:l,borderRadius:"curved",btnType:"tinted",className:"heading__action",color:"neutral",onClick:i=>{var a;(a=i==null?void 0:i.target)==null||a.blur(),t==null||t(o)}})]}),e&&(e==null?void 0:e.length)>0&&r.jsxs("div",{className:"section__slider",children:[s&&r.jsx("div",{className:"slider__gradient left"}),r.jsx(_.Carousel,{responsive:{desktop:{breakpoint:{max:9999,min:d.screenSizes.M.min},items:7,slidesToSlide:1,partialVisibilityGutter:10},mobile:{breakpoint:{max:d.screenSizes.S.max,min:0},items:2,slidesToSlide:1,partialVisibilityGutter:20}},draggable:!1,swipeable:!1,arrows:!1,infinite:s,autoPlay:s,autoPlaySpeed:2e3,partialVisible:s,customTransition:"transform 500ms linear",transitionDuration:500,containerClass:"slider__container",itemClass:"slider__item",children:e==null?void 0:e.map((i,a)=>r.jsx("div",{className:"section__item",onClick:()=>c(i),children:r.jsx("img",{src:i==null?void 0:i.imageUrl,alt:`Partner brand image ${a+1}`,loading:"lazy"})},`partner-brands-section-item__${a+1}`))}),s&&r.jsx("div",{className:"slider__gradient right"})]})]})});module.exports=m;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { C as
|
|
2
|
+
import { forwardRef as p } from "react";
|
|
3
|
+
import { C as m } from "./index-BppfjY8h.js";
|
|
4
4
|
import f from "./Button.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
5
|
+
import { u as _ } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
+
import { s as c } from "./breakpoints-ff0SIcV3.js";
|
|
7
|
+
import { S as b } from "./style-BUyFad_y.js";
|
|
8
|
+
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
9
|
+
const v = u.div`
|
|
9
10
|
display: flex;
|
|
10
11
|
flex-direction: column;
|
|
11
12
|
gap: 1.5rem;
|
|
@@ -66,20 +67,20 @@ const u = b.div`
|
|
|
66
67
|
cursor: pointer;
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
|
-
`,
|
|
70
|
+
`, z = p(
|
|
70
71
|
({
|
|
71
72
|
title: o,
|
|
72
73
|
buttonText: n,
|
|
73
74
|
buttonLink: d,
|
|
74
75
|
items: e,
|
|
75
|
-
onSelectCard:
|
|
76
|
+
onSelectCard: h = () => {
|
|
76
77
|
},
|
|
77
78
|
onButtonAction: l = () => {
|
|
78
79
|
}
|
|
79
|
-
},
|
|
80
|
-
const
|
|
81
|
-
return /* @__PURE__ */ s(
|
|
82
|
-
/* @__PURE__ */ s(
|
|
80
|
+
}, y) => {
|
|
81
|
+
const g = _() ? 2 : 7, a = (e == null ? void 0 : e.length) > g;
|
|
82
|
+
return /* @__PURE__ */ s(v, { children: [
|
|
83
|
+
/* @__PURE__ */ s(b, { children: [
|
|
83
84
|
o && /* @__PURE__ */ i("div", { className: "heading__title", children: o }),
|
|
84
85
|
n && d && /* @__PURE__ */ i(
|
|
85
86
|
f,
|
|
@@ -99,17 +100,23 @@ const u = b.div`
|
|
|
99
100
|
e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ s("div", { className: "section__slider", children: [
|
|
100
101
|
a && /* @__PURE__ */ i("div", { className: "slider__gradient left" }),
|
|
101
102
|
/* @__PURE__ */ i(
|
|
102
|
-
|
|
103
|
+
m,
|
|
103
104
|
{
|
|
104
105
|
responsive: {
|
|
105
106
|
desktop: {
|
|
106
|
-
breakpoint: {
|
|
107
|
+
breakpoint: {
|
|
108
|
+
max: 9999,
|
|
109
|
+
min: c.M.min
|
|
110
|
+
},
|
|
107
111
|
items: 7,
|
|
108
112
|
slidesToSlide: 1,
|
|
109
113
|
partialVisibilityGutter: 10
|
|
110
114
|
},
|
|
111
115
|
mobile: {
|
|
112
|
-
breakpoint: {
|
|
116
|
+
breakpoint: {
|
|
117
|
+
max: c.S.max,
|
|
118
|
+
min: 0
|
|
119
|
+
},
|
|
113
120
|
items: 2,
|
|
114
121
|
slidesToSlide: 1,
|
|
115
122
|
partialVisibilityGutter: 20
|
|
@@ -130,7 +137,7 @@ const u = b.div`
|
|
|
130
137
|
"div",
|
|
131
138
|
{
|
|
132
139
|
className: "section__item",
|
|
133
|
-
onClick: () =>
|
|
140
|
+
onClick: () => h(r),
|
|
134
141
|
children: /* @__PURE__ */ i(
|
|
135
142
|
"img",
|
|
136
143
|
{
|
|
@@ -150,5 +157,5 @@ const u = b.div`
|
|
|
150
157
|
}
|
|
151
158
|
);
|
|
152
159
|
export {
|
|
153
|
-
|
|
160
|
+
z as default
|
|
154
161
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),c=require("react"),u=require("./Icon.cjs"),f=require("./Popover.cjs"),v=require("./PopoverTrigger.cjs"),y=require("./PopoverContent.cjs"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),u=require("./Icon.cjs"),f=require("./Popover.cjs"),v=require("./PopoverTrigger.cjs"),y=require("./PopoverContent.cjs"),b=require("./useDetectMobile-DYV6V1yw.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./breakpoints-CcVm-gVm.cjs"),l=require("./utils-CITgSxXe.cjs"),w=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 3rem;
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
@media
|
|
92
|
+
@media ${j.down("S")} {
|
|
93
93
|
padding: 1rem;
|
|
94
94
|
|
|
95
95
|
& .section__text {
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
line-height: 1rem;
|
|
132
132
|
letter-spacing: 0.025rem;
|
|
133
133
|
color: var(--gray-900, #0c1520);
|
|
134
|
-
`,P=c.forwardRef(({icon:i,title:o,description:
|
|
134
|
+
`,P=c.forwardRef(({icon:i,title:o,description:a,items:n,onSelectCard:g=()=>{},onTapCard:h=()=>{}})=>{const p=b.useDetectMobile(),[m,s]=c.useState(null),x=r=>{s(r)},_=()=>{s(null)};return e.jsxs(w,{children:[e.jsxs("div",{className:"section__text",children:[i&&e.jsx(u,{icon:i,sizeInUnits:"2.5rem",color:"warning",className:"section__icon"}),o&&e.jsx("div",{className:"section__title",children:e.jsx("span",{children:o})}),a&&e.jsx("div",{className:"section__description",children:a})]}),n&&(n==null?void 0:n.length)>0&&e.jsx("div",{className:"section__items",children:p?n==null?void 0:n.map((r,t)=>e.jsx("div",{className:"section__item",onClick:()=>h(r),children:e.jsx("img",{src:r==null?void 0:r.imageUrl,alt:`Partner card image ${t+1}`,loading:"lazy"})},`partner-cards-section-item__${t+1}`)):n==null?void 0:n.map((r,t)=>e.jsxs(f,{open:t===m,placement:"top-end",offsetValue:4,children:[e.jsx(v,{className:"section__trigger",children:e.jsx("div",{className:"section__item",onMouseEnter:()=>x(t),onMouseLeave:_,onClick:()=>g(r),children:e.jsx("img",{src:r==null?void 0:r.imageUrl,alt:`Partner card image ${t+1}`,loading:"lazy"})})}),e.jsx(y,{style:{padding:0,borderRadius:12},children:e.jsx(q,{children:r==null?void 0:r.description})})]},`partner-cards-section-item__${t+1}`))})]})});module.exports=P;
|
|
@@ -4,10 +4,10 @@ import u from "./Icon.js";
|
|
|
4
4
|
import v from "./Popover.js";
|
|
5
5
|
import y from "./PopoverTrigger.js";
|
|
6
6
|
import w from "./PopoverContent.js";
|
|
7
|
-
import { u as b } from "./useDetectMobile-
|
|
7
|
+
import { u as b } from "./useDetectMobile-CcVo3PNi.js";
|
|
8
8
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
9
|
-
import {
|
|
10
|
-
import { t as N,
|
|
9
|
+
import { d as P } from "./breakpoints-ff0SIcV3.js";
|
|
10
|
+
import { t as N, n as $ } from "./utils-B2fsQ6PS.js";
|
|
11
11
|
const z = l.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
@@ -99,7 +99,7 @@ const z = l.div`
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
@media
|
|
102
|
+
@media ${P("S")} {
|
|
103
103
|
padding: 1rem;
|
|
104
104
|
|
|
105
105
|
& .section__text {
|
|
@@ -141,18 +141,18 @@ const z = l.div`
|
|
|
141
141
|
line-height: 1rem;
|
|
142
142
|
letter-spacing: 0.025rem;
|
|
143
143
|
color: var(--gray-900, #0c1520);
|
|
144
|
-
`,
|
|
144
|
+
`, E = _(
|
|
145
145
|
({
|
|
146
146
|
icon: i,
|
|
147
147
|
title: a,
|
|
148
148
|
description: c,
|
|
149
|
-
items:
|
|
149
|
+
items: n,
|
|
150
150
|
onSelectCard: d = () => {
|
|
151
151
|
},
|
|
152
|
-
onTapCard:
|
|
152
|
+
onTapCard: g = () => {
|
|
153
153
|
}
|
|
154
154
|
}) => {
|
|
155
|
-
const
|
|
155
|
+
const m = b(), [p, s] = x(null), h = (e) => {
|
|
156
156
|
s(e);
|
|
157
157
|
}, f = () => {
|
|
158
158
|
s(null);
|
|
@@ -171,25 +171,25 @@ const z = l.div`
|
|
|
171
171
|
a && /* @__PURE__ */ r("div", { className: "section__title", children: /* @__PURE__ */ r("span", { children: a }) }),
|
|
172
172
|
c && /* @__PURE__ */ r("div", { className: "section__description", children: c })
|
|
173
173
|
] }),
|
|
174
|
-
|
|
174
|
+
n && (n == null ? void 0 : n.length) > 0 && /* @__PURE__ */ r("div", { className: "section__items", children: m ? n == null ? void 0 : n.map((e, t) => /* @__PURE__ */ r(
|
|
175
175
|
"div",
|
|
176
176
|
{
|
|
177
177
|
className: "section__item",
|
|
178
|
-
onClick: () =>
|
|
178
|
+
onClick: () => g(e),
|
|
179
179
|
children: /* @__PURE__ */ r(
|
|
180
180
|
"img",
|
|
181
181
|
{
|
|
182
182
|
src: e == null ? void 0 : e.imageUrl,
|
|
183
|
-
alt: `Partner card image ${
|
|
183
|
+
alt: `Partner card image ${t + 1}`,
|
|
184
184
|
loading: "lazy"
|
|
185
185
|
}
|
|
186
186
|
)
|
|
187
187
|
},
|
|
188
|
-
`partner-cards-section-item__${
|
|
189
|
-
)) :
|
|
188
|
+
`partner-cards-section-item__${t + 1}`
|
|
189
|
+
)) : n == null ? void 0 : n.map((e, t) => /* @__PURE__ */ o(
|
|
190
190
|
v,
|
|
191
191
|
{
|
|
192
|
-
open:
|
|
192
|
+
open: t === p,
|
|
193
193
|
placement: "top-end",
|
|
194
194
|
offsetValue: 4,
|
|
195
195
|
children: [
|
|
@@ -197,14 +197,14 @@ const z = l.div`
|
|
|
197
197
|
"div",
|
|
198
198
|
{
|
|
199
199
|
className: "section__item",
|
|
200
|
-
onMouseEnter: () => h(
|
|
200
|
+
onMouseEnter: () => h(t),
|
|
201
201
|
onMouseLeave: f,
|
|
202
202
|
onClick: () => d(e),
|
|
203
203
|
children: /* @__PURE__ */ r(
|
|
204
204
|
"img",
|
|
205
205
|
{
|
|
206
206
|
src: e == null ? void 0 : e.imageUrl,
|
|
207
|
-
alt: `Partner card image ${
|
|
207
|
+
alt: `Partner card image ${t + 1}`,
|
|
208
208
|
loading: "lazy"
|
|
209
209
|
}
|
|
210
210
|
)
|
|
@@ -213,11 +213,11 @@ const z = l.div`
|
|
|
213
213
|
/* @__PURE__ */ r(w, { style: { padding: 0, borderRadius: 12 }, children: /* @__PURE__ */ r(C, { children: e == null ? void 0 : e.description }) })
|
|
214
214
|
]
|
|
215
215
|
},
|
|
216
|
-
`partner-cards-section-item__${
|
|
216
|
+
`partner-cards-section-item__${t + 1}`
|
|
217
217
|
)) })
|
|
218
218
|
] });
|
|
219
219
|
}
|
|
220
220
|
);
|
|
221
221
|
export {
|
|
222
|
-
|
|
222
|
+
E as default
|
|
223
223
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),l=require("react"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),n=require("./utils-CITgSxXe.cjs"),_=c.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
@media
|
|
67
|
+
@media ${a.down("S")} {
|
|
68
68
|
gap: 1.25rem;
|
|
69
69
|
|
|
70
70
|
& .section__text {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as a } from "react";
|
|
3
3
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { d as m } from "./breakpoints-ff0SIcV3.js";
|
|
5
|
+
import { n } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
const _ = c.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -69,7 +69,7 @@ const _ = c.div`
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
@media
|
|
72
|
+
@media ${m("S")} {
|
|
73
73
|
gap: 1.25rem;
|
|
74
74
|
|
|
75
75
|
& .section__text {
|
package/dist/PasswordInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),a=require("react"),p=require("./index-Cp66dWMi.cjs"),B=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),a=require("react"),p=require("./index-Cp66dWMi.cjs"),B=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-CITgSxXe.cjs"),D=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P=h.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/PasswordInput.js
CHANGED
|
@@ -2,15 +2,15 @@ import { jsxs as D, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as A, useState as x, useEffect as k, useCallback as G } from "react";
|
|
3
3
|
import { d as H } from "./index-Dt62UGku.js";
|
|
4
4
|
import J from "./Icon.js";
|
|
5
|
-
import { s as
|
|
6
|
-
import {
|
|
5
|
+
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
+
import { e as f, c as o, b as K, f as M, i as O, d as Q } from "./utils-B2fsQ6PS.js";
|
|
7
7
|
import { u as X } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const Y =
|
|
8
|
+
const Y = m.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
|
|
12
|
-
min-height: ${(e) =>
|
|
13
|
-
max-height: ${(e) =>
|
|
12
|
+
min-height: ${(e) => f(e.theme, e.size)};
|
|
13
|
+
max-height: ${(e) => f(e.theme, e.size)};
|
|
14
14
|
background-color: ${(e) => o(
|
|
15
15
|
e.theme,
|
|
16
16
|
"Input",
|
|
@@ -45,7 +45,7 @@ const Y = h.div`
|
|
|
45
45
|
"disabled",
|
|
46
46
|
"text"
|
|
47
47
|
)};`}
|
|
48
|
-
`, I =
|
|
48
|
+
`, I = m.span`
|
|
49
49
|
padding: 0 12px;
|
|
50
50
|
color: ${(e) => o(
|
|
51
51
|
e.theme,
|
|
@@ -54,9 +54,9 @@ const Y = h.div`
|
|
|
54
54
|
"enabled",
|
|
55
55
|
"prefix"
|
|
56
56
|
)};
|
|
57
|
-
`, Z =
|
|
57
|
+
`, Z = m(I)``, _ = m(I)`
|
|
58
58
|
cursor: pointer;
|
|
59
|
-
`, ee =
|
|
59
|
+
`, ee = m.input`
|
|
60
60
|
background: none;
|
|
61
61
|
border: none;
|
|
62
62
|
outline: none;
|
|
@@ -65,8 +65,8 @@ const Y = h.div`
|
|
|
65
65
|
width: 100%;
|
|
66
66
|
|
|
67
67
|
${(e) => Q(e.theme, "Input", e.size, "enabled")}
|
|
68
|
-
min-height: ${(e) =>
|
|
69
|
-
max-height: ${(e) =>
|
|
68
|
+
min-height: ${(e) => f(e.theme, e.size)};
|
|
69
|
+
max-height: ${(e) => f(e.theme, e.size)};
|
|
70
70
|
color: ${(e) => o(
|
|
71
71
|
e.theme,
|
|
72
72
|
"Input",
|
|
@@ -118,7 +118,7 @@ const Y = h.div`
|
|
|
118
118
|
readOnly: S,
|
|
119
119
|
debounceTime: R = 0,
|
|
120
120
|
placeholder: V,
|
|
121
|
-
prefix:
|
|
121
|
+
prefix: g,
|
|
122
122
|
suffix: b,
|
|
123
123
|
value: r,
|
|
124
124
|
defaultValue: B,
|
|
@@ -136,12 +136,12 @@ const Y = h.div`
|
|
|
136
136
|
k(() => {
|
|
137
137
|
r != null && v(r);
|
|
138
138
|
}, [r]);
|
|
139
|
-
const [
|
|
139
|
+
const [h, W] = x(!0), [s, z] = x(!1);
|
|
140
140
|
k(() => {
|
|
141
141
|
var a;
|
|
142
142
|
const t = ((a = l == null ? void 0 : l.current) == null ? void 0 : a.value) || "";
|
|
143
143
|
l.current.selectionStart = t != null && t.length ? t.length : 0, l.current.selectionEnd = t != null && t.length ? t.length : 0;
|
|
144
|
-
}, [
|
|
144
|
+
}, [h]), k(() => {
|
|
145
145
|
n != null && (n.current = l.current);
|
|
146
146
|
}, [n, l]);
|
|
147
147
|
const j = G(
|
|
@@ -152,7 +152,7 @@ const Y = h.div`
|
|
|
152
152
|
}, P = (t) => {
|
|
153
153
|
v(t.target.value), j(t, t.target.value);
|
|
154
154
|
}, U = () => {
|
|
155
|
-
W(!
|
|
155
|
+
W(!h), l.current.focus();
|
|
156
156
|
};
|
|
157
157
|
return /* @__PURE__ */ D(
|
|
158
158
|
Y,
|
|
@@ -167,26 +167,26 @@ const Y = h.div`
|
|
|
167
167
|
disabled: C,
|
|
168
168
|
readOnly: S,
|
|
169
169
|
children: [
|
|
170
|
-
|
|
170
|
+
g && /* @__PURE__ */ i(
|
|
171
171
|
I,
|
|
172
172
|
{
|
|
173
173
|
theme: u,
|
|
174
174
|
color: c,
|
|
175
175
|
focused: s,
|
|
176
176
|
className: "lnc-input-prefix",
|
|
177
|
-
children:
|
|
177
|
+
children: g
|
|
178
178
|
}
|
|
179
179
|
),
|
|
180
180
|
/* @__PURE__ */ i(
|
|
181
181
|
ee,
|
|
182
182
|
{
|
|
183
183
|
ref: l,
|
|
184
|
-
type:
|
|
184
|
+
type: h ? "password" : "text",
|
|
185
185
|
theme: u,
|
|
186
186
|
color: c,
|
|
187
187
|
size: p,
|
|
188
188
|
placeholder: V,
|
|
189
|
-
prefix:
|
|
189
|
+
prefix: g,
|
|
190
190
|
suffix: b,
|
|
191
191
|
disabled: C,
|
|
192
192
|
readOnly: S,
|
|
@@ -209,7 +209,7 @@ const Y = h.div`
|
|
|
209
209
|
color: c,
|
|
210
210
|
focused: s,
|
|
211
211
|
onClick: U,
|
|
212
|
-
children: /* @__PURE__ */ i(J, { icon:
|
|
212
|
+
children: /* @__PURE__ */ i(J, { icon: h ? "eye-slash" : "eye" })
|
|
213
213
|
}
|
|
214
214
|
),
|
|
215
215
|
b && /* @__PURE__ */ i(
|