@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,12 +1,20 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),j=require("react"),C=require("./useDetectMobile-DYV6V1yw.cjs"),v=require("./style-DC05rdyx.cjs"),u=require("./utils-CITgSxXe.cjs"),$=require("./Button.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./breakpoints-CcVm-gVm.cjs"),t=require("./style-BAcV7F53.cjs"),R=f.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
5
5
|
|
|
6
|
-
@media
|
|
6
|
+
@media ${g.down("M")} {
|
|
7
|
+
grid-template-columns: repeat(2, 1fr);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media ${g.down("S")} {
|
|
11
|
+
grid-template-columns: repeat(2, 1fr);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media ${g.down("XS")} {
|
|
7
15
|
grid-template-columns: repeat(1, 1fr);
|
|
8
16
|
}
|
|
9
|
-
|
|
17
|
+
`,G=f.styled.a`
|
|
10
18
|
text-decoration: none;
|
|
11
19
|
color: var(--gray-950);
|
|
12
20
|
display: flex;
|
|
@@ -29,7 +37,7 @@
|
|
|
29
37
|
transform: scale(1.1);
|
|
30
38
|
}
|
|
31
39
|
}
|
|
32
|
-
`,
|
|
40
|
+
`,L=f.styled.div`
|
|
33
41
|
width: 100%;
|
|
34
42
|
min-height: 11rem;
|
|
35
43
|
max-height: 11rem;
|
|
@@ -66,8 +74,8 @@
|
|
|
66
74
|
-webkit-transform: rotate(315deg);
|
|
67
75
|
transform: rotate(315deg);
|
|
68
76
|
}
|
|
69
|
-
`,
|
|
70
|
-
@media
|
|
77
|
+
`,S=j.forwardRef((i,l)=>{const{image:o,text:d,price:s,currency:n,onSelectGiftCard:h=()=>{},selectAction:c,LinkComponent:m}=i,p=m||"a";return r.jsxs(G,{ref:l,className:"simple-gift-card",onClick:()=>h(s),as:p,...m?{to:`${c}`}:{href:`${c}`},children:[r.jsxs(L,{children:[r.jsx("div",{className:"price-tag",children:s&&n&&`${u.formatPrice(s)} ${u.GetCurrencySymbol(n)}`}),r.jsx("img",{src:o})]}),r.jsx("div",{className:"text-wrap",children:d})]})}),N=f.styled(t.SkeletonRowWrapper)`
|
|
78
|
+
@media ${g.down("S")} {
|
|
71
79
|
flex-direction: column;
|
|
72
80
|
|
|
73
81
|
& > div {
|
|
@@ -78,4 +86,4 @@
|
|
|
78
86
|
}
|
|
79
87
|
}
|
|
80
88
|
}
|
|
81
|
-
`,
|
|
89
|
+
`,q=({keyPrefix:i})=>r.jsxs(N,{children:[r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-1`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-2`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-3`),r.jsxs(t.SkeletonColumnWrapper,{alignItems:"center",noGradient:!0,children:[r.jsx(t.SkeletonLinePlaceholder,{height:"11rem",borderRadius:"0.75rem"}),r.jsx(t.SkeletonLinePlaceholder,{height:"1.25rem",borderRadius:"0.75rem",width:"5rem"})]},`${i}-4`)]}),W=({keyPrefix:i,isLoading:l=!1,fallbackComponent:o=r.jsx(r.Fragment,{}),children:d})=>r.jsx(j.Suspense,{fallbackComponent:o,children:l===!0?r.jsx(q,{keyPrefix:i}):d}),P=j.forwardRef((i,l)=>{const{icon:o,title:d,buttonLink:s,items:n,isLoading:h=!1,buttonText:c,limit:m=4,onSelectCard:p=()=>{},onButtonAction:w=()=>{},LinkComponent:b}=i,k=C.useDetectMobile();return r.jsxs(v.RegulatTitleSectionWrapper,{ref:l,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[u.isDefinedNotEmptyString(o)&&r.jsx("i",{className:o}),r.jsx("span",{children:d})]}),u.isDefinedNotEmptyString(c)&&u.isDefinedNotEmptyString(s)&&!h&&r.jsx($,{type:"button",btnType:"tinted",color:"neutral",onClick:e=>{var a;(a=e==null?void 0:e.target)==null||a.blur(),w(s)},borderRadius:"curved",className:"button-link",children:c})]}),r.jsx(W,{isLoading:h,keyPrefix:"gift-cards-skeleton",children:r.jsx(R,{limit:m,children:k===!0?n==null?void 0:n.map((e,a)=>r.jsx(S,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,selectAction:e==null?void 0:e.selectAction,onSelectGiftCard:y=>p(e),LinkComponent:b},a)):n==null?void 0:n.slice(0,m).map((e,a)=>r.jsx(S,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,selectAction:e==null?void 0:e.selectAction,onSelectGiftCard:y=>p(e),LinkComponent:b},a))})})]})});module.exports=P;
|
package/dist/GiftCardsSection.js
CHANGED
|
@@ -1,21 +1,29 @@
|
|
|
1
|
-
import { jsxs as i, jsx as r, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { u as
|
|
4
|
-
import { R as
|
|
5
|
-
import { p as
|
|
6
|
-
import
|
|
7
|
-
import { s as
|
|
8
|
-
import {
|
|
1
|
+
import { jsxs as i, jsx as r, Fragment as k } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as S, Suspense as R } from "react";
|
|
3
|
+
import { u as N } from "./useDetectMobile-CcVo3PNi.js";
|
|
4
|
+
import { R as A } from "./style-BUyFad_y.js";
|
|
5
|
+
import { p as I, G as W, l as w } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import L from "./Button.js";
|
|
7
|
+
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
+
import { d as g } from "./breakpoints-ff0SIcV3.js";
|
|
9
9
|
import { s as T, S as j, b as h, a as o } from "./style-BwQ4djFC.js";
|
|
10
|
-
const z =
|
|
10
|
+
const z = f.div`
|
|
11
11
|
display: grid;
|
|
12
12
|
grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
|
|
13
13
|
gap: 1.25rem;
|
|
14
14
|
|
|
15
|
-
@media
|
|
15
|
+
@media ${g("M")} {
|
|
16
|
+
grid-template-columns: repeat(2, 1fr);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media ${g("S")} {
|
|
20
|
+
grid-template-columns: repeat(2, 1fr);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media ${g("XS")} {
|
|
16
24
|
grid-template-columns: repeat(1, 1fr);
|
|
17
25
|
}
|
|
18
|
-
`, B =
|
|
26
|
+
`, B = f.a`
|
|
19
27
|
text-decoration: none;
|
|
20
28
|
color: var(--gray-950);
|
|
21
29
|
display: flex;
|
|
@@ -38,7 +46,7 @@ const z = g.div`
|
|
|
38
46
|
transform: scale(1.1);
|
|
39
47
|
}
|
|
40
48
|
}
|
|
41
|
-
`,
|
|
49
|
+
`, M = f.div`
|
|
42
50
|
width: 100%;
|
|
43
51
|
min-height: 11rem;
|
|
44
52
|
max-height: 11rem;
|
|
@@ -75,7 +83,7 @@ const z = g.div`
|
|
|
75
83
|
-webkit-transform: rotate(315deg);
|
|
76
84
|
transform: rotate(315deg);
|
|
77
85
|
}
|
|
78
|
-
`,
|
|
86
|
+
`, C = S((t, c) => {
|
|
79
87
|
const {
|
|
80
88
|
image: a,
|
|
81
89
|
text: m,
|
|
@@ -99,16 +107,16 @@ const z = g.div`
|
|
|
99
107
|
href: `${l}`
|
|
100
108
|
},
|
|
101
109
|
children: [
|
|
102
|
-
/* @__PURE__ */ i(
|
|
103
|
-
/* @__PURE__ */ r("div", { className: "price-tag", children: d && n && `${
|
|
110
|
+
/* @__PURE__ */ i(M, { children: [
|
|
111
|
+
/* @__PURE__ */ r("div", { className: "price-tag", children: d && n && `${I(d)} ${W(n)}` }),
|
|
104
112
|
/* @__PURE__ */ r("img", { src: a })
|
|
105
113
|
] }),
|
|
106
114
|
/* @__PURE__ */ r("div", { className: "text-wrap", children: m })
|
|
107
115
|
]
|
|
108
116
|
}
|
|
109
117
|
);
|
|
110
|
-
}),
|
|
111
|
-
@media
|
|
118
|
+
}), D = f(j)`
|
|
119
|
+
@media ${g("S")} {
|
|
112
120
|
flex-direction: column;
|
|
113
121
|
|
|
114
122
|
& > div {
|
|
@@ -119,7 +127,7 @@ const z = g.div`
|
|
|
119
127
|
}
|
|
120
128
|
}
|
|
121
129
|
}
|
|
122
|
-
`,
|
|
130
|
+
`, E = ({ keyPrefix: t }) => /* @__PURE__ */ i(D, { children: [
|
|
123
131
|
/* @__PURE__ */ i(h, { alignItems: "center", children: [
|
|
124
132
|
/* @__PURE__ */ r(o, { height: "11rem", borderRadius: "0.75rem" }),
|
|
125
133
|
/* @__PURE__ */ r(
|
|
@@ -191,9 +199,9 @@ const z = g.div`
|
|
|
191
199
|
] }), U = ({
|
|
192
200
|
keyPrefix: t,
|
|
193
201
|
isLoading: c = !1,
|
|
194
|
-
fallbackComponent: a = /* @__PURE__ */ r(
|
|
202
|
+
fallbackComponent: a = /* @__PURE__ */ r(k, {}),
|
|
195
203
|
children: m
|
|
196
|
-
}) => /* @__PURE__ */ r(
|
|
204
|
+
}) => /* @__PURE__ */ r(R, { fallbackComponent: a, children: c === !0 ? /* @__PURE__ */ r(E, { keyPrefix: t }) : m }), V = S((t, c) => {
|
|
197
205
|
const {
|
|
198
206
|
icon: a,
|
|
199
207
|
title: m,
|
|
@@ -202,27 +210,27 @@ const z = g.div`
|
|
|
202
210
|
isLoading: u = !1,
|
|
203
211
|
buttonText: l,
|
|
204
212
|
limit: p = 4,
|
|
205
|
-
onSelectCard:
|
|
213
|
+
onSelectCard: b = () => {
|
|
206
214
|
},
|
|
207
|
-
onButtonAction:
|
|
215
|
+
onButtonAction: $ = () => {
|
|
208
216
|
},
|
|
209
|
-
LinkComponent:
|
|
210
|
-
} = t, y =
|
|
211
|
-
return /* @__PURE__ */ i(
|
|
217
|
+
LinkComponent: v
|
|
218
|
+
} = t, y = N();
|
|
219
|
+
return /* @__PURE__ */ i(A, { ref: c, children: [
|
|
212
220
|
/* @__PURE__ */ i("div", { className: "regular-title", children: [
|
|
213
221
|
/* @__PURE__ */ i("div", { className: "regular-title-text", children: [
|
|
214
|
-
|
|
222
|
+
w(a) && /* @__PURE__ */ r("i", { className: a }),
|
|
215
223
|
/* @__PURE__ */ r("span", { children: m })
|
|
216
224
|
] }),
|
|
217
|
-
|
|
218
|
-
|
|
225
|
+
w(l) && w(d) && !u && /* @__PURE__ */ r(
|
|
226
|
+
L,
|
|
219
227
|
{
|
|
220
228
|
type: "button",
|
|
221
229
|
btnType: "tinted",
|
|
222
230
|
color: "neutral",
|
|
223
231
|
onClick: (e) => {
|
|
224
232
|
var s;
|
|
225
|
-
(s = e == null ? void 0 : e.target) == null || s.blur(),
|
|
233
|
+
(s = e == null ? void 0 : e.target) == null || s.blur(), $(d);
|
|
226
234
|
},
|
|
227
235
|
borderRadius: "curved",
|
|
228
236
|
className: "button-link",
|
|
@@ -231,7 +239,7 @@ const z = g.div`
|
|
|
231
239
|
)
|
|
232
240
|
] }),
|
|
233
241
|
/* @__PURE__ */ r(U, { isLoading: u, keyPrefix: "gift-cards-skeleton", children: /* @__PURE__ */ r(z, { limit: p, children: y === !0 ? n == null ? void 0 : n.map((e, s) => /* @__PURE__ */ r(
|
|
234
|
-
|
|
242
|
+
C,
|
|
235
243
|
{
|
|
236
244
|
text: e == null ? void 0 : e.text,
|
|
237
245
|
price: e == null ? void 0 : e.priceTo,
|
|
@@ -239,12 +247,12 @@ const z = g.div`
|
|
|
239
247
|
image: e == null ? void 0 : e.imageUrl,
|
|
240
248
|
uuid: e == null ? void 0 : e.uuid,
|
|
241
249
|
selectAction: e == null ? void 0 : e.selectAction,
|
|
242
|
-
onSelectGiftCard: (G) =>
|
|
243
|
-
LinkComponent:
|
|
250
|
+
onSelectGiftCard: (G) => b(e),
|
|
251
|
+
LinkComponent: v
|
|
244
252
|
},
|
|
245
253
|
s
|
|
246
254
|
)) : n == null ? void 0 : n.slice(0, p).map((e, s) => /* @__PURE__ */ r(
|
|
247
|
-
|
|
255
|
+
C,
|
|
248
256
|
{
|
|
249
257
|
text: e == null ? void 0 : e.text,
|
|
250
258
|
price: e == null ? void 0 : e.priceTo,
|
|
@@ -252,13 +260,13 @@ const z = g.div`
|
|
|
252
260
|
image: e == null ? void 0 : e.imageUrl,
|
|
253
261
|
uuid: e == null ? void 0 : e.uuid,
|
|
254
262
|
selectAction: e == null ? void 0 : e.selectAction,
|
|
255
|
-
onSelectGiftCard: (G) =>
|
|
256
|
-
LinkComponent:
|
|
263
|
+
onSelectGiftCard: (G) => b(e),
|
|
264
|
+
LinkComponent: v
|
|
257
265
|
},
|
|
258
266
|
s
|
|
259
267
|
)) }) })
|
|
260
268
|
] });
|
|
261
269
|
});
|
|
262
270
|
export {
|
|
263
|
-
|
|
271
|
+
V as default
|
|
264
272
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("react"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./breakpoints-CcVm-gVm.cjs"),l=s.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
@media
|
|
31
|
+
@media ${c.down("S")} {
|
|
32
32
|
& .section__heading {
|
|
33
33
|
display: flex;
|
|
34
34
|
flex-direction: column;
|
|
@@ -59,4 +59,4 @@
|
|
|
59
59
|
height: auto;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
`,a=
|
|
62
|
+
`,a=o.forwardRef(({title:t,description:i,image:n},r)=>e.jsxs(l,{ref:r,children:[e.jsxs("div",{className:"section__heading",children:[t&&e.jsx("div",{className:"section__title",children:t}),i&&e.jsx("div",{className:"section__description",children:i})]}),n&&e.jsx("img",{src:n,alt:"Banner",className:"section__image"})]}));module.exports=a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as a } from "react";
|
|
3
3
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as s } from "./breakpoints-ff0SIcV3.js";
|
|
5
5
|
const c = l.div`
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
@@ -32,7 +32,7 @@ const c = l.div`
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
@media
|
|
35
|
+
@media ${s("S")} {
|
|
36
36
|
& .section__heading {
|
|
37
37
|
display: flex;
|
|
38
38
|
flex-direction: column;
|
|
@@ -63,7 +63,7 @@ const c = l.div`
|
|
|
63
63
|
height: auto;
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
`,
|
|
66
|
+
`, h = a(({ title: t, description: i, image: n }, o) => /* @__PURE__ */ r(c, { ref: o, children: [
|
|
67
67
|
/* @__PURE__ */ r("div", { className: "section__heading", children: [
|
|
68
68
|
t && /* @__PURE__ */ e("div", { className: "section__title", children: t }),
|
|
69
69
|
i && /* @__PURE__ */ e("div", { className: "section__description", children: i })
|
|
@@ -71,5 +71,5 @@ const c = l.div`
|
|
|
71
71
|
n && /* @__PURE__ */ e("img", { src: n, alt: "Banner", className: "section__image" })
|
|
72
72
|
] }));
|
|
73
73
|
export {
|
|
74
|
-
|
|
74
|
+
h as default
|
|
75
75
|
};
|
package/dist/Icon.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),h=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),h=require("react"),z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./utils-CITgSxXe.cjs"),I=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=z.styled.span`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
${e=>e.sizeInUnits&&e.sizeInUnits!=""?`font-size: ${e.sizeInUnits}`:n.getComponentTypographyCss(e.theme,"Icon",e.size,"enabled")};
|
|
4
4
|
${e=>e.color&&`color: ${n.getColorRgbaValue(e.theme,"Icon",e.color,"enabled","icon")}`};
|
package/dist/Icon.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
4
|
+
import { d as I, c as g } from "./utils-B2fsQ6PS.js";
|
|
5
|
+
import { u as b } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const $ = z.span`
|
|
7
7
|
box-sizing: border-box;
|
|
8
8
|
${(e) => e.sizeInUnits && e.sizeInUnits != "" ? `font-size: ${e.sizeInUnits}` : I(e.theme, "Icon", e.size, "enabled")};
|
|
9
|
-
${(e) => e.color && `color: ${
|
|
9
|
+
${(e) => e.color && `color: ${g(
|
|
10
10
|
e.theme,
|
|
11
11
|
"Icon",
|
|
12
12
|
e.color,
|
|
@@ -27,7 +27,7 @@ const $ = z.span`
|
|
|
27
27
|
className: c = "",
|
|
28
28
|
style: m = {},
|
|
29
29
|
...f
|
|
30
|
-
} = e, d = { theme:
|
|
30
|
+
} = e, d = { theme: b(), size: l, color: r, sizeInUnits: i }, h = () => {
|
|
31
31
|
var u = s === "solid" ? "fas" : "far";
|
|
32
32
|
return `${u} fa-${n} fa-fw`;
|
|
33
33
|
};
|
package/dist/IconButton.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),C=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),C=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),T=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),$=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
package/dist/IconButton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as R, isValidElement as S } from "react";
|
|
3
3
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as B, c as t, e as l, f as k, i as f, b as V } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const y = (e) => `
|
|
7
7
|
outline: none;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),f=require("react"),c=require("./SearchSection-DUY61r3k.cjs");function m(r,e){for(var t=0;t<e.length;t++){const o=e[t];if(typeof o!="string"&&!Array.isArray(o)){for(const a in o)if(a!=="default"&&!(a in r)){const l=Object.getOwnPropertyDescriptor(o,a);l&&Object.defineProperty(r,a,l.get?l:{enumerable:!0,get:()=>o[a]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var P=Object.create,n=Object.defineProperty,g=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,v=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,j=(r,e,t)=>e in r?n(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,w=(r,e)=>{for(var t in e)n(r,t,{get:e[t],enumerable:!0})},h=(r,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!O.call(r,a)&&a!==t&&n(r,a,{get:()=>e[a],enumerable:!(o=g(e,a))||o.enumerable});return r},L=(r,e,t)=>(t=r!=null?P(v(r)):{},h(!r||!r.__esModule?n(t,"default",{value:r,enumerable:!0}):t,r)),K=r=>h(n({},"__esModule",{value:!0}),r),s=(r,e,t)=>(j(r,typeof e!="symbol"?e+"":e,t),t),d={};w(d,{default:()=>i});var y=K(d),u=L(f),p=c.utils,S=c.patterns;const D="https://cdn.embed.ly/player-0.1.0.min.js",M="playerjs";class i extends u.Component{constructor(){super(...arguments),s(this,"callPlayer",p.callPlayer),s(this,"duration",null),s(this,"currentTime",null),s(this,"secondsLoaded",null),s(this,"mute",()=>{this.callPlayer("mute")}),s(this,"unmute",()=>{this.callPlayer("unmute")}),s(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,p.getSDK)(D,M).then(t=>{this.iframe&&(this.player=new t.Player(this.iframe),this.player.on("ready",()=>{setTimeout(()=>{this.player.isReady=!0,this.player.setLoop(this.props.loop),this.props.muted&&this.player.mute(),this.addListeners(this.player,this.props),this.props.onReady()},500)}))},this.props.onError)}addListeners(e,t){e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",({duration:o,seconds:a})=>{this.duration=o,this.currentTime=a})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("setCurrentTime",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){const e={width:"100%",height:"100%"};return u.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:e,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}s(i,"displayName","Kaltura");s(i,"canPlay",S.canPlay.kaltura);const T=_.getDefaultExportFromCjs(y),E=m({__proto__:null,default:T},[y]);exports.Kaltura=E;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as f } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import y from "react";
|
|
3
|
-
import { u as _, p as m } from "./SearchSection-
|
|
3
|
+
import { u as _, p as m } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function P(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const o = e[t];
|
package/dist/Kanban.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-41nUb2kP.cjs"),we=require("./utils-
|
|
1
|
+
"use strict";const ie=require("react/jsx-runtime"),d=require("react"),Jt=require("./index-41nUb2kP.cjs"),we=require("./utils-CITgSxXe.cjs"),Vr=require("./index-Bg5OOQN0.cjs"),Qt=require("./emotion-styled.browser.esm-BtEseadx.cjs"),Fr=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),vo=require("./KanbanCard-DihrKn-I.cjs"),_t=require("./_commonjsHelpers-DwTZ_eVU.cjs"),ri=require("./KanbanHeader.cjs"),oi=require("./useUpdateEffect-BtMgpgIV.cjs");var ii=function(e){d.useEffect(e,[])};function si(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Gn=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function en(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function zr(e){return"nodeType"in e}function Ge(e){var t,n;return e?en(e)?e:zr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Hr(e){const{Document:t}=Ge(e);return e instanceof t}function gn(e){return en(e)?!1:e instanceof Ge(e).HTMLElement}function bo(e){return e instanceof Ge(e).SVGElement}function tn(e){return e?en(e)?e.document:zr(e)?Hr(e)?e:gn(e)||bo(e)?e.ownerDocument:document:document:document}const gt=Gn?d.useLayoutEffect:d.useEffect;function Un(e){const t=d.useRef(e);return gt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function ai(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function fn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return gt(()=>{n.current!==e&&(n.current=e)},t),n}function hn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function Pn(e){const t=Un(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function jn(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Ar={};function pn(e,t){return d.useMemo(()=>{if(t)return t;const n=Ar[e]==null?0:Ar[e]+1;return Ar[e]=n,e+"-"+n},[e,t])}function yo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const v=c[h];v!=null&&(c[h]=v+e*f)}return c},{...t})}}const Vt=yo(1),$n=yo(-1);function ci(e){return"clientX"in e&&"clientY"in e}function kn(e){if(!e)return!1;const{KeyboardEvent:t}=Ge(e.target);return t&&e instanceof t}function li(e){if(!e)return!1;const{TouchEvent:t}=Ge(e.target);return t&&e instanceof t}function Bn(e){if(li(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ci(e)?{x:e.clientX,y:e.clientY}:null}const Kt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Kt.Translate.toString(e),Kt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Zr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ui(e){return e.matches(Zr)?e:e.querySelector(Zr)}const di={display:"none"};function fi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:di},n)}function gi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function hi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const mo=d.createContext(null);function pi(e){const t=d.useContext(mo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function vi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const bi={draggable:`
|
|
2
2
|
To pick up a draggable item, press the space bar.
|
|
3
3
|
While dragging, use the arrow keys to move the item.
|
|
4
4
|
Press space again to drop the item in its new position, or press escape to cancel.
|
package/dist/Kanban.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as we, jsxs as Gn } from "react/jsx-runtime";
|
|
2
2
|
import se, { useEffect as W, useLayoutEffect as pi, useRef as Q, useMemo as ee, useCallback as Ne, useState as he, createContext as xn, memo as Ro, useReducer as vi, useContext as Yt, forwardRef as Qn, cloneElement as bi } from "react";
|
|
3
3
|
import { r as rn } from "./index-B1vKwsDE.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as an, r as tn, D as nn } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { c as co } from "./index-fN7hCOo3.js";
|
|
6
6
|
import { s as cn } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import { u as Jr } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),w=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),i=require("./Button.cjs"),a=require("./utils-CITgSxXe.cjs"),q=require("./ThemeProvider.cjs"),A=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -4,7 +4,7 @@ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import C from "./DropdownMenu.js";
|
|
5
5
|
import A from "./DropdownItem.js";
|
|
6
6
|
import i from "./Button.js";
|
|
7
|
-
import {
|
|
7
|
+
import { c as d } from "./utils-B2fsQ6PS.js";
|
|
8
8
|
import { useTheme as N } from "./ThemeProvider.js";
|
|
9
9
|
const k = w.div`
|
|
10
10
|
display: flex;
|
|
@@ -42,10 +42,10 @@ const k = w.div`
|
|
|
42
42
|
showCreate: s = !0,
|
|
43
43
|
enableCreate: p = !0,
|
|
44
44
|
createText: a = "Create New item",
|
|
45
|
-
actionsText:
|
|
45
|
+
actionsText: c = "Actions",
|
|
46
46
|
actions: o = [],
|
|
47
47
|
//----------------
|
|
48
|
-
onCreate:
|
|
48
|
+
onCreate: b = () => {
|
|
49
49
|
},
|
|
50
50
|
//-------------------
|
|
51
51
|
className: f = "",
|
|
@@ -73,7 +73,7 @@ const k = w.div`
|
|
|
73
73
|
size: n,
|
|
74
74
|
title: a,
|
|
75
75
|
disabled: !p,
|
|
76
|
-
onClick:
|
|
76
|
+
onClick: b,
|
|
77
77
|
text: a
|
|
78
78
|
}
|
|
79
79
|
) }),
|
|
@@ -85,7 +85,7 @@ const k = w.div`
|
|
|
85
85
|
control: /* @__PURE__ */ t(
|
|
86
86
|
i,
|
|
87
87
|
{
|
|
88
|
-
text:
|
|
88
|
+
text: c,
|
|
89
89
|
btnType: "outline",
|
|
90
90
|
trailingIcon: "angle-down",
|
|
91
91
|
color: l,
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),Y=require("react"),Z=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./KanbanActionsToolbar.cjs"),a=require("./utils-CITgSxXe.cjs"),k=require("./Kanban.cjs"),p=require("./KanbanCard-DihrKn-I.cjs"),P=require("./KanbanHeader.cjs"),ee=require("./KanbanFooter.cjs"),ne=Z.styled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Z } from "react";
|
|
3
3
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import k from "./KanbanActionsToolbar.js";
|
|
5
|
-
import { r,
|
|
5
|
+
import { r, j as s } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import p from "./Kanban.js";
|
|
7
7
|
import { K as P } from "./KanbanCard-B9V9EjVE.js";
|
|
8
8
|
import ee from "./KanbanHeader.js";
|
|
@@ -45,13 +45,13 @@ const oe = $.div`
|
|
|
45
45
|
},
|
|
46
46
|
onDeleteCard: g = () => {
|
|
47
47
|
},
|
|
48
|
-
onEditColumn:
|
|
48
|
+
onEditColumn: j = () => {
|
|
49
49
|
},
|
|
50
|
-
onDeleteColumn:
|
|
50
|
+
onDeleteColumn: F = () => {
|
|
51
51
|
},
|
|
52
|
-
onCardDetails:
|
|
52
|
+
onCardDetails: I = () => {
|
|
53
53
|
},
|
|
54
|
-
onColumnDetails:
|
|
54
|
+
onColumnDetails: L = () => {
|
|
55
55
|
},
|
|
56
56
|
onAddNewCard: S = () => {
|
|
57
57
|
},
|
|
@@ -109,21 +109,21 @@ const oe = $.div`
|
|
|
109
109
|
/* @__PURE__ */ i(
|
|
110
110
|
ee,
|
|
111
111
|
{
|
|
112
|
-
onDetails:
|
|
112
|
+
onDetails: L,
|
|
113
113
|
actionsMenu: !0,
|
|
114
114
|
actions: [
|
|
115
115
|
{
|
|
116
116
|
name: x,
|
|
117
117
|
enable: v,
|
|
118
118
|
show: y,
|
|
119
|
-
onAction:
|
|
119
|
+
onAction: j,
|
|
120
120
|
icon: "pen"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
name: O,
|
|
124
124
|
enable: V,
|
|
125
125
|
show: _,
|
|
126
|
-
onAction:
|
|
126
|
+
onAction: F,
|
|
127
127
|
icon: "trash"
|
|
128
128
|
},
|
|
129
129
|
...z
|
|
@@ -133,7 +133,7 @@ const oe = $.div`
|
|
|
133
133
|
/* @__PURE__ */ i(
|
|
134
134
|
P,
|
|
135
135
|
{
|
|
136
|
-
onDetails:
|
|
136
|
+
onDetails: I,
|
|
137
137
|
actionsMenu: !0,
|
|
138
138
|
actions: [
|
|
139
139
|
{
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const m=require("react/jsx-runtime"),u=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),d=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=h.styled.a`
|
|
2
2
|
${e=>t.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>t.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
package/dist/Link.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as f, c as t } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as k } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const u = d.a`
|
|
7
7
|
${(e) => f(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const A=require("react/jsx-runtime"),D=require("react"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./
|
|
1
|
+
"use strict";const A=require("react/jsx-runtime"),D=require("react"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./breakpoints-CcVm-gVm.cjs"),Z=require("./utils-CITgSxXe.cjs"),L=require("./useDetectMobile-DYV6V1yw.cjs"),q=require("./Button.cjs"),k=require("./Modal.cjs"),U=require("./TextInput.cjs"),G=require("./RangeSlider.cjs"),T=require("./IconButton.cjs"),J=N.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
gap: 1.25rem;
|
|
4
4
|
padding: 1.5rem;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
overflow: hidden;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
@media
|
|
44
|
+
@media ${m.down("S")} {
|
|
45
45
|
gap: 1rem;
|
|
46
46
|
flex-direction: column;
|
|
47
47
|
padding: 1rem;
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
white-space: nowrap;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
@media
|
|
90
|
+
@media ${m.down("S")} {
|
|
91
91
|
gap: 1.25rem;
|
|
92
92
|
flex-direction: row;
|
|
93
93
|
|