@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,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),g=require("react"),p=require("./utils-CITgSxXe.cjs"),$=require("./Icon.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),c=require("./breakpoints-CcVm-gVm.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),v=require("./index-CsTfXxpp.cjs"),k=_.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
cursor: pointer;
|
|
55
|
-
`,
|
|
55
|
+
`,C=_.styled.div`
|
|
56
56
|
display: flex;
|
|
57
57
|
padding: 0 0.75rem 0 0.75rem;
|
|
58
58
|
align-items: center;
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
@media
|
|
106
|
+
@media ${c.down("S")} {
|
|
107
107
|
min-width: fit-content;
|
|
108
108
|
}
|
|
109
|
-
`,
|
|
109
|
+
`,I=g.forwardRef(({name:i,isActive:s,activeColor:t,icon:n,onSelectCard:m=()=>{}},a)=>r.jsxs(C,{ref:a,className:s?"active":"",activeColor:t,onClick:m,children:[p.isDefinedNotEmptyString(n)&&r.jsx($,{icon:n,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),q=g.forwardRef(({image:i,imageComponent:s,name:t,description:n,onSelectCard:m=()=>{},uuid:a,nameSlug:o,LinkComponent:l},d)=>{const u=l||"a",{theme:f}=N.useTheme();return r.jsxs(k,{ref:d,theme:f,onClick:m,as:u,...l?{to:`/product/${p.isDefinedNotEmptyString(o)?`${o}-`:""}${a}`}:{href:`/product/${p.isDefinedNotEmptyString(o)?`${o}-`:""}${a}`},children:[p.isDefined(s)?s:r.jsx("img",{src:i,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),F=_.styled.div`
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
112
112
|
align-items: center;
|
|
@@ -154,7 +154,13 @@
|
|
|
154
154
|
width: 100%;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
@media
|
|
157
|
+
@media ${c.down("M")} {
|
|
158
|
+
& .wrapper__cards {
|
|
159
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@media ${c.down("S")} {
|
|
158
164
|
gap: 1rem;
|
|
159
165
|
|
|
160
166
|
& .wrapper__tags {
|
|
@@ -176,11 +182,11 @@
|
|
|
176
182
|
/* Safari and Chrome */
|
|
177
183
|
}
|
|
178
184
|
}
|
|
185
|
+
}
|
|
179
186
|
|
|
187
|
+
@media ${c.down("XS")} {
|
|
180
188
|
& .wrapper__cards {
|
|
181
|
-
|
|
182
|
-
flex-direction: column;
|
|
183
|
-
gap: 1rem;
|
|
189
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
184
190
|
}
|
|
185
191
|
}
|
|
186
|
-
`,
|
|
192
|
+
`,W=g.forwardRef(({title:i,subtitle:s,tags:t=[],limitTags:n=7,limitTagsForMobile:m=7,limit:a=3,limitForMobile:o=2,items:l=[],isLoadingTags:d=!1,isLoadingCards:u=!1,selectedTag:f,activeColor:y,onSelectTag:h=()=>{},onSelectCard:w=()=>{},LinkComponent:b},j)=>r.jsxs(F,{ref:j,limitTags:n,limitTagsForMobile:m,limitCards:a,limitCardsForMobile:o,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),s&&r.jsx("div",{className:"wrapper__subtitle",children:s})]}),r.jsx(v.SuspenseFieldOfInterestsWithTagsTag,{isLoading:d,keyPrefix:"field-of-interests-with-tags-tag",children:r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,x)=>r.jsx(I,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===f,activeColor:y,onSelectCard:()=>h==null?void 0:h(e)},`field-of-interests-with-tags-card-tag__${x+1}`))})}),r.jsx(v.SuspenseFieldOfInterestsWithTagsCard,{isLoading:d,keyPrefix:"field-of-interests-with-tags-card",children:r.jsx("div",{className:"wrapper__cards",children:l==null?void 0:l.map((e,x)=>r.jsx(q,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>w==null?void 0:w(e),uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,LinkComponent:b},`field-of-interests-with-tags-card__${x+1}`))})})]}));module.exports=W;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as m, jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import {
|
|
2
|
+
import { forwardRef as x } from "react";
|
|
3
|
+
import { n as y, l as _, m as k } from "./utils-B2fsQ6PS.js";
|
|
4
4
|
import C from "./Icon.js";
|
|
5
|
-
import { s as
|
|
6
|
-
import {
|
|
5
|
+
import { s as u } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
+
import { d } from "./breakpoints-ff0SIcV3.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
import { S as W, a as j } from "./index-
|
|
9
|
-
const F =
|
|
8
|
+
import { S as W, a as j } from "./index-C-uOIDDa.js";
|
|
9
|
+
const F = u.a`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
color: var(--gray-950);
|
|
12
12
|
display: flex;
|
|
@@ -46,7 +46,7 @@ const F = x.a`
|
|
|
46
46
|
font-style: normal;
|
|
47
47
|
font-weight: 500;
|
|
48
48
|
line-height: 1.5rem;
|
|
49
|
-
${
|
|
49
|
+
${y(2)}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
& .wrapper__description {
|
|
@@ -56,11 +56,11 @@ const F = x.a`
|
|
|
56
56
|
font-weight: 400;
|
|
57
57
|
line-height: 1rem;
|
|
58
58
|
letter-spacing: 0.025rem;
|
|
59
|
-
${
|
|
59
|
+
${y(2)}
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
cursor: pointer;
|
|
63
|
-
`, z =
|
|
63
|
+
`, z = u.div`
|
|
64
64
|
display: flex;
|
|
65
65
|
padding: 0 0.75rem 0 0.75rem;
|
|
66
66
|
align-items: center;
|
|
@@ -111,10 +111,10 @@ const F = x.a`
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
@media
|
|
114
|
+
@media ${d("S")} {
|
|
115
115
|
min-width: fit-content;
|
|
116
116
|
}
|
|
117
|
-
`, O =
|
|
117
|
+
`, O = x(
|
|
118
118
|
({ name: r, isActive: a, activeColor: t, icon: n, onSelectCard: p = () => {
|
|
119
119
|
} }, s) => /* @__PURE__ */ m(
|
|
120
120
|
z,
|
|
@@ -124,12 +124,12 @@ const F = x.a`
|
|
|
124
124
|
activeColor: t,
|
|
125
125
|
onClick: p,
|
|
126
126
|
children: [
|
|
127
|
-
|
|
127
|
+
_(n) && /* @__PURE__ */ i(C, { icon: n, className: "wrapper__icon" }),
|
|
128
128
|
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
129
129
|
]
|
|
130
130
|
}
|
|
131
131
|
)
|
|
132
|
-
), T =
|
|
132
|
+
), T = x(
|
|
133
133
|
({
|
|
134
134
|
image: r,
|
|
135
135
|
imageComponent: a,
|
|
@@ -141,21 +141,21 @@ const F = x.a`
|
|
|
141
141
|
nameSlug: o,
|
|
142
142
|
LinkComponent: l
|
|
143
143
|
}, f) => {
|
|
144
|
-
const
|
|
144
|
+
const v = l || "a", { theme: c } = I();
|
|
145
145
|
return /* @__PURE__ */ m(
|
|
146
146
|
F,
|
|
147
147
|
{
|
|
148
148
|
ref: f,
|
|
149
149
|
theme: c,
|
|
150
150
|
onClick: p,
|
|
151
|
-
as:
|
|
151
|
+
as: v,
|
|
152
152
|
...l ? {
|
|
153
|
-
to: `/product/${
|
|
153
|
+
to: `/product/${_(o) ? `${o}-` : ""}${s}`
|
|
154
154
|
} : {
|
|
155
|
-
href: `/product/${
|
|
155
|
+
href: `/product/${_(o) ? `${o}-` : ""}${s}`
|
|
156
156
|
},
|
|
157
157
|
children: [
|
|
158
|
-
|
|
158
|
+
k(a) ? a : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
159
159
|
/* @__PURE__ */ m("div", { className: "wrapper__content", children: [
|
|
160
160
|
t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
161
161
|
n && /* @__PURE__ */ i("div", { className: "wrapper__description", children: n })
|
|
@@ -164,7 +164,7 @@ const F = x.a`
|
|
|
164
164
|
}
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
|
-
),
|
|
167
|
+
), D = u.div`
|
|
168
168
|
display: flex;
|
|
169
169
|
flex-direction: column;
|
|
170
170
|
align-items: center;
|
|
@@ -212,7 +212,13 @@ const F = x.a`
|
|
|
212
212
|
width: 100%;
|
|
213
213
|
}
|
|
214
214
|
|
|
215
|
-
@media
|
|
215
|
+
@media ${d("M")} {
|
|
216
|
+
& .wrapper__cards {
|
|
217
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
@media ${d("S")} {
|
|
216
222
|
gap: 1rem;
|
|
217
223
|
|
|
218
224
|
& .wrapper__tags {
|
|
@@ -234,14 +240,14 @@ const F = x.a`
|
|
|
234
240
|
/* Safari and Chrome */
|
|
235
241
|
}
|
|
236
242
|
}
|
|
243
|
+
}
|
|
237
244
|
|
|
245
|
+
@media ${d("XS")} {
|
|
238
246
|
& .wrapper__cards {
|
|
239
|
-
|
|
240
|
-
flex-direction: column;
|
|
241
|
-
gap: 1rem;
|
|
247
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
242
248
|
}
|
|
243
249
|
}
|
|
244
|
-
`, X =
|
|
250
|
+
`, X = x(
|
|
245
251
|
({
|
|
246
252
|
title: r,
|
|
247
253
|
subtitle: a,
|
|
@@ -252,18 +258,18 @@ const F = x.a`
|
|
|
252
258
|
limitForMobile: o = 2,
|
|
253
259
|
items: l = [],
|
|
254
260
|
isLoadingTags: f = !1,
|
|
255
|
-
isLoadingCards:
|
|
261
|
+
isLoadingCards: v = !1,
|
|
256
262
|
selectedTag: c,
|
|
257
263
|
activeColor: b,
|
|
258
|
-
onSelectTag:
|
|
264
|
+
onSelectTag: h = () => {
|
|
259
265
|
},
|
|
260
|
-
onSelectCard:
|
|
266
|
+
onSelectCard: g = () => {
|
|
261
267
|
},
|
|
262
268
|
LinkComponent: $
|
|
263
|
-
},
|
|
264
|
-
|
|
269
|
+
}, N) => /* @__PURE__ */ m(
|
|
270
|
+
D,
|
|
265
271
|
{
|
|
266
|
-
ref:
|
|
272
|
+
ref: N,
|
|
267
273
|
limitTags: n,
|
|
268
274
|
limitTagsForMobile: p,
|
|
269
275
|
limitCards: s,
|
|
@@ -278,16 +284,16 @@ const F = x.a`
|
|
|
278
284
|
{
|
|
279
285
|
isLoading: f,
|
|
280
286
|
keyPrefix: "field-of-interests-with-tags-tag",
|
|
281
|
-
children: /* @__PURE__ */ i("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e,
|
|
287
|
+
children: /* @__PURE__ */ i("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, w) => /* @__PURE__ */ i(
|
|
282
288
|
O,
|
|
283
289
|
{
|
|
284
290
|
icon: e == null ? void 0 : e.icon,
|
|
285
291
|
name: e == null ? void 0 : e.title,
|
|
286
292
|
isActive: (e == null ? void 0 : e.code) === c,
|
|
287
293
|
activeColor: b,
|
|
288
|
-
onSelectCard: () =>
|
|
294
|
+
onSelectCard: () => h == null ? void 0 : h(e)
|
|
289
295
|
},
|
|
290
|
-
`field-of-interests-with-tags-card-tag__${
|
|
296
|
+
`field-of-interests-with-tags-card-tag__${w + 1}`
|
|
291
297
|
)) })
|
|
292
298
|
}
|
|
293
299
|
),
|
|
@@ -296,19 +302,19 @@ const F = x.a`
|
|
|
296
302
|
{
|
|
297
303
|
isLoading: f,
|
|
298
304
|
keyPrefix: "field-of-interests-with-tags-card",
|
|
299
|
-
children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l == null ? void 0 : l.map((e,
|
|
305
|
+
children: /* @__PURE__ */ i("div", { className: "wrapper__cards", children: l == null ? void 0 : l.map((e, w) => /* @__PURE__ */ i(
|
|
300
306
|
T,
|
|
301
307
|
{
|
|
302
308
|
image: e == null ? void 0 : e.image,
|
|
303
309
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
304
310
|
name: e == null ? void 0 : e.title,
|
|
305
311
|
description: e == null ? void 0 : e.description,
|
|
306
|
-
onSelectCard: () =>
|
|
312
|
+
onSelectCard: () => g == null ? void 0 : g(e),
|
|
307
313
|
uuid: e == null ? void 0 : e.uuid,
|
|
308
314
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
309
315
|
LinkComponent: $
|
|
310
316
|
},
|
|
311
|
-
`field-of-interests-with-tags-card__${
|
|
317
|
+
`field-of-interests-with-tags-card__${w + 1}`
|
|
312
318
|
)) })
|
|
313
319
|
}
|
|
314
320
|
)
|
package/dist/FileInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-CITgSxXe.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=b.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: 100%;
|
package/dist/FileInput.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as S, jsx as b } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as T, useState as g } from "react";
|
|
3
3
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { e as x, c as t, f as V, d as $, i as y } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { u as D } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const L = s.label`
|
|
7
7
|
display: inline-flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),O=require("react"),E=require("./SearchSection-
|
|
1
|
+
"use strict";const _=require("./_commonjsHelpers-DwTZ_eVU.cjs"),O=require("react"),E=require("./SearchSection-DUY61r3k.cjs");function A(s,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const n in i)if(n!=="default"&&!(n in s)){const l=Object.getOwnPropertyDescriptor(i,n);l&&Object.defineProperty(s,n,l.get?l:{enumerable:!0,get:()=>i[n]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var R=Object.create,u=Object.defineProperty,I=Object.getOwnPropertyDescriptor,D=Object.getOwnPropertyNames,w=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,k=(s,e,t)=>e in s?u(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,U=(s,e)=>{for(var t in e)u(s,t,{get:e[t],enumerable:!0})},m=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of D(e))!M.call(s,n)&&n!==t&&u(s,n,{get:()=>e[n],enumerable:!(i=I(e,n))||i.enumerable});return s},N=(s,e,t)=>(t=s!=null?R(w(s)):{},m(!s||!s.__esModule?u(t,"default",{value:s,enumerable:!0}):t,s)),j=s=>m(u({},"__esModule",{value:!0}),s),r=(s,e,t)=>(k(s,typeof e!="symbol"?e+"":e,t),t),g={};U(g,{default:()=>P});var S=j(g),p=N(O),a=E.utils,d=E.patterns;const y=typeof navigator<"u",H=y&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,v=y&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||H)&&!window.MSStream,F=y&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,V="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",T="Hls",C="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",B="dashjs",x="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",K="flvjs",q=/www\.dropbox\.com\/.+/,f=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,G="https://videodelivery.net/{id}/manifest/video.m3u8";class P extends p.Component{constructor(){super(...arguments),r(this,"onReady",(...e)=>this.props.onReady(...e)),r(this,"onPlay",(...e)=>this.props.onPlay(...e)),r(this,"onBuffer",(...e)=>this.props.onBuffer(...e)),r(this,"onBufferEnd",(...e)=>this.props.onBufferEnd(...e)),r(this,"onPause",(...e)=>this.props.onPause(...e)),r(this,"onEnded",(...e)=>this.props.onEnded(...e)),r(this,"onError",(...e)=>this.props.onError(...e)),r(this,"onPlayBackRateChange",e=>this.props.onPlaybackRateChange(e.target.playbackRate)),r(this,"onEnablePIP",(...e)=>this.props.onEnablePIP(...e)),r(this,"onDisablePIP",e=>{const{onDisablePIP:t,playing:i}=this.props;t(e),i&&this.play()}),r(this,"onPresentationModeChange",e=>{if(this.player&&(0,a.supportsWebKitPresentationMode)(this.player)){const{webkitPresentationMode:t}=this.player;t==="picture-in-picture"?this.onEnablePIP(e):t==="inline"&&this.onDisablePIP(e)}}),r(this,"onSeek",e=>{this.props.onSeek(e.target.currentTime)}),r(this,"mute",()=>{this.player.muted=!0}),r(this,"unmute",()=>{this.player.muted=!1}),r(this,"renderSourceElement",(e,t)=>typeof e=="string"?p.default.createElement("source",{key:t,src:e}):p.default.createElement("source",{key:t,...e})),r(this,"renderTrack",(e,t)=>p.default.createElement("track",{key:t,...e})),r(this,"ref",e=>{this.player&&(this.prevPlayer=this.player),this.player=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);const e=this.getSource(this.props.url);e&&(this.player.src=e),(v||this.props.config.forceDisableHls)&&this.player.load()}componentDidUpdate(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url!==e.url&&!(0,a.isMediaStream)(this.props.url)&&!(this.props.url instanceof Array)&&(this.player.srcObject=null)}componentWillUnmount(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}addListeners(e){const{url:t,playsinline:i}=this.props;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.addEventListener("canplay",this.onReady),i&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}removeListeners(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}shouldUseAudio(e){return e.config.forceVideo||e.config.attributes.poster?!1:d.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio}shouldUseHLS(e){return F&&this.props.config.forceSafariHLS||this.props.config.forceHLS?!0:v||this.props.config.forceDisableHls?!1:d.HLS_EXTENSIONS.test(e)||f.test(e)}shouldUseDASH(e){return d.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}shouldUseFLV(e){return d.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}load(e){const{hlsVersion:t,hlsOptions:i,dashVersion:n,flvVersion:l}=this.props.config;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,a.getSDK)(V.replace("VERSION",t),T).then(o=>{if(this.hls=new o(i),this.hls.on(o.Events.MANIFEST_PARSED,()=>{this.props.onReady()}),this.hls.on(o.Events.ERROR,(h,c)=>{this.props.onError(h,c,this.hls,o)}),f.test(e)){const h=e.match(f)[1];this.hls.loadSource(G.replace("{id}",h))}else this.hls.loadSource(e);this.hls.attachMedia(this.player),this.props.onLoaded()}),this.shouldUseDASH(e)&&(0,a.getSDK)(C.replace("VERSION",n),B).then(o=>{this.dash=o.MediaPlayer().create(),this.dash.initialize(this.player,e,this.props.playing),this.dash.on("error",this.props.onError),parseInt(n)<3?this.dash.getDebug().setLogToBrowserConsole(!1):this.dash.updateSettings({debug:{logLevel:o.Debug.LOG_LEVEL_NONE}}),this.props.onLoaded()}),this.shouldUseFLV(e)&&(0,a.getSDK)(x.replace("VERSION",l),K).then(o=>{this.flv=o.createPlayer({type:"flv",url:e}),this.flv.attachMediaElement(this.player),this.flv.on(o.Events.ERROR,(h,c)=>{this.props.onError(h,c,this.flv,o)}),this.flv.load(),this.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,a.isMediaStream)(e))try{this.player.srcObject=e}catch{this.player.src=window.URL.createObjectURL(e)}}play(){const e=this.player.play();e&&e.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}seekTo(e,t=!0){this.player.currentTime=e,t||this.pause()}setVolume(e){this.player.volume=e}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,a.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="picture-in-picture"&&this.player.webkitSetPresentationMode("picture-in-picture")}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,a.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="inline"&&this.player.webkitSetPresentationMode("inline")}setPlaybackRate(e){try{this.player.playbackRate=e}catch(t){this.props.onError(t)}}getDuration(){if(!this.player)return null;const{duration:e,seekable:t}=this.player;return e===1/0&&t.length>0?t.end(t.length-1):e}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;const{buffered:e}=this.player;if(e.length===0)return 0;const t=e.end(e.length-1),i=this.getDuration();return t>i?i:t}getSource(e){const t=this.shouldUseHLS(e),i=this.shouldUseDASH(e),n=this.shouldUseFLV(e);if(!(e instanceof Array||(0,a.isMediaStream)(e)||t||i||n))return q.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}render(){const{url:e,playing:t,loop:i,controls:n,muted:l,config:o,width:h,height:c}=this.props,L=this.shouldUseAudio(this.props)?"audio":"video",b={width:h==="auto"?h:"100%",height:c==="auto"?c:"100%"};return p.default.createElement(L,{ref:this.ref,src:this.getSource(e),style:b,preload:"auto",autoPlay:t||void 0,controls:n,muted:l,loop:i,...o.attributes},e instanceof Array&&e.map(this.renderSourceElement),o.tracks.map(this.renderTrack))}}r(P,"displayName","FilePlayer");r(P,"canPlay",d.canPlay.file);const X=_.getDefaultExportFromCjs(S),W=A({__proto__:null,default:X},[S]);exports.FilePlayer=W;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as b } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import _ from "react";
|
|
3
|
-
import { u as O, p as A } from "./SearchSection-
|
|
3
|
+
import { u as O, p as A } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function R(s, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
package/dist/FlexGridItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const q=require("react/jsx-runtime"),r=require("react"),L=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./utils-
|
|
1
|
+
"use strict";const q=require("react/jsx-runtime"),r=require("react"),L=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./utils-CITgSxXe.cjs"),R=L.styled.div`
|
|
2
2
|
${t=>t.width>0?"":"flex: 1;"}
|
|
3
3
|
min-width: ${t=>100/t.columns}%;
|
|
4
4
|
width: ${t=>t.width}%;
|
package/dist/FlexGridItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as N } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as X, useState as u, useEffect as S } from "react";
|
|
3
3
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { u as W } from "./utils-
|
|
4
|
+
import { u as W } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
const j = I.div`
|
|
6
6
|
${(t) => t.width > 0 ? "" : "flex: 1;"}
|
|
7
7
|
min-width: ${(t) => 100 / t.columns}%;
|
package/dist/FormField.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-CITgSxXe.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),y=n.styled.label`
|
|
2
2
|
display: block;
|
|
3
3
|
margin-bottom: 4px;
|
|
4
4
|
${e=>l.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
|
package/dist/FormField.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as h, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as s, c as i } from "./utils-B2fsQ6PS.js";
|
|
4
4
|
import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
5
5
|
const y = m.label`
|
|
6
6
|
display: block;
|
package/dist/FormView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),E=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),W=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),x=require("./Button.cjs"),f=require("./IconButton.cjs"),O=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),P=require("./TextAreaInput.cjs"),Q=require("./TimeInput.cjs"),X=require("./ColorInput.cjs"),Y=require("./FileInput.cjs"),Z=require("./RangeSlider.cjs"),b=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),E=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),W=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),x=require("./Button.cjs"),f=require("./IconButton.cjs"),O=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),P=require("./TextAreaInput.cjs"),Q=require("./TimeInput.cjs"),X=require("./ColorInput.cjs"),Y=require("./FileInput.cjs"),Z=require("./RangeSlider.cjs"),b=require("./utils-CITgSxXe.cjs"),z=require("./FormField.cjs"),ee=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),te=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,re=g.styled.form`
|
package/dist/FormView.js
CHANGED
|
@@ -16,7 +16,7 @@ import P from "./TimeInput.js";
|
|
|
16
16
|
import Q from "./ColorInput.js";
|
|
17
17
|
import X from "./FileInput.js";
|
|
18
18
|
import Y from "./RangeSlider.js";
|
|
19
|
-
import { g as Z,
|
|
19
|
+
import { g as Z, b as z, c as ee } from "./utils-B2fsQ6PS.js";
|
|
20
20
|
import re from "./FormField.js";
|
|
21
21
|
import { u as te } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
22
22
|
const ae = x.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),f=require("react"),v=require("./Icon.cjs"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),x=require("./utils-CITgSxXe.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./index-CsTfXxpp.cjs"),$=w.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
font-style: normal;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
line-height: 1.5rem;
|
|
40
|
-
${
|
|
40
|
+
${x.truncateTextInRows(2)}
|
|
41
41
|
transition: var(--transition, all 0.2s ease);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
cursor: pointer;
|
|
45
45
|
|
|
46
|
-
@media
|
|
46
|
+
@media ${d.down("S")} {
|
|
47
47
|
background: transparent;
|
|
48
48
|
border: none;
|
|
49
49
|
box-shadow: none;
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`,N=w.styled.a`
|
|
69
69
|
text-decoration: none;
|
|
70
70
|
color: var(--gray-950);
|
|
71
71
|
display: flex;
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
letter-spacing: -0.09px;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
@media
|
|
111
|
+
@media ${d.down("S")} {
|
|
112
112
|
& .wrapper__text {
|
|
113
113
|
white-space: nowrap;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,k=f.forwardRef(({title:t,icon:a,onSelectCard:i=()=>{},selectAction:s,LinkComponent:n},o)=>{const l=n||"a";return r.jsxs(N,{ref:o,onClick:i,as:l,...n?{to:`/${s}`}:{href:`/${s}`},children:[x.isDefinedNotEmptyString(a)&&r.jsx(v,{icon:a,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})}),C=f.forwardRef(({imageUrl:t,imageComponent:a,title:i,onSelectCard:s=()=>{},selectAction:n,LinkComponent:o},l)=>{const{theme:p}=j.useTheme(),c=o||"a";return r.jsxs($,{ref:l,theme:p,onClick:s,as:c,...o?{to:`/${n}`}:{href:`/${n}`},children:[x.isDefined(a)?a:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:i})})]})}),q=w.styled.div`
|
|
117
117
|
display: flex;
|
|
118
118
|
flex-direction: column;
|
|
119
119
|
align-items: center;
|
|
@@ -161,7 +161,13 @@
|
|
|
161
161
|
gap: 1.5rem;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
@media
|
|
164
|
+
@media ${d.down("M")} {
|
|
165
|
+
& .wrapper__cards {
|
|
166
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
@media ${d.down("S")} {
|
|
165
171
|
& .wrapper__tags {
|
|
166
172
|
display: flex;
|
|
167
173
|
flex-wrap: nowrap;
|
|
@@ -189,4 +195,4 @@
|
|
|
189
195
|
gap: 1rem;
|
|
190
196
|
}
|
|
191
197
|
}
|
|
192
|
-
`,
|
|
198
|
+
`,W=f.forwardRef(({title:t,subtitle:a,options:i=[],limitTags:s=7,limitTagsForMobile:n=2,limit:o=3,limitForMobile:l=3,items:p=[],onSelectTag:c=()=>{},onSelectCard:m=()=>{},isLoadingTags:u=!1,isLoadingCards:y=!1,LinkComponent:h},b)=>r.jsxs(q,{ref:b,limitTags:s,limitTagsForMobile:n,limitCards:o,limitCardsForMobile:l,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),a&&r.jsx("div",{className:"wrapper__subtitle",children:a})]}),r.jsx(_.SuspenseFieldOfInterestsWithTagsCard,{isLoading:y,keyPrefix:"general-with-tags-cards-card",children:r.jsx("div",{className:"wrapper__cards",children:p==null?void 0:p.map((e,g)=>r.jsx(C,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,selectAction:e==null?void 0:e.selectAction,onSelectCard:()=>{m==null||m(e)},LinkComponent:h},`general-with-tags-card__${g+1}`))})}),r.jsx(_.SuspenseFieldOfInterestsWithTagsTag,{isLoading:u,keyPrefix:"general-with-tags-cards-tag",children:r.jsx("div",{className:"wrapper__tags",children:i==null?void 0:i.map((e,g)=>r.jsx(k,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>c==null?void 0:c(e),selectAction:e==null?void 0:e.selectAction,LinkComponent:h},`general-with-tags-card-tag__${g+1}`))})})]}));module.exports=W;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
3
|
import b from "./Icon.js";
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { d } from "./breakpoints-ff0SIcV3.js";
|
|
6
|
+
import { n as v, l as $, m as C } from "./utils-B2fsQ6PS.js";
|
|
7
7
|
import { u as N } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
import { a as k, S as W } from "./index-
|
|
9
|
-
const j =
|
|
8
|
+
import { a as k, S as W } from "./index-C-uOIDDa.js";
|
|
9
|
+
const j = w.a`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
color: var(--gray-950);
|
|
12
12
|
display: flex;
|
|
@@ -51,7 +51,7 @@ const j = h.a`
|
|
|
51
51
|
}
|
|
52
52
|
cursor: pointer;
|
|
53
53
|
|
|
54
|
-
@media
|
|
54
|
+
@media ${d("S")} {
|
|
55
55
|
background: transparent;
|
|
56
56
|
border: none;
|
|
57
57
|
box-shadow: none;
|
|
@@ -73,7 +73,7 @@ const j = h.a`
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
`,
|
|
76
|
+
`, z = w.a`
|
|
77
77
|
text-decoration: none;
|
|
78
78
|
color: var(--gray-950);
|
|
79
79
|
display: flex;
|
|
@@ -116,15 +116,15 @@ const j = h.a`
|
|
|
116
116
|
letter-spacing: -0.09px;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
@media
|
|
119
|
+
@media ${d("S")} {
|
|
120
120
|
& .wrapper__text {
|
|
121
121
|
white-space: nowrap;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
`,
|
|
124
|
+
`, T = h(
|
|
125
125
|
({ title: r, icon: t, onSelectCard: i = () => {
|
|
126
126
|
}, selectAction: o, LinkComponent: n }, s) => /* @__PURE__ */ c(
|
|
127
|
-
|
|
127
|
+
z,
|
|
128
128
|
{
|
|
129
129
|
ref: s,
|
|
130
130
|
onClick: i,
|
|
@@ -140,7 +140,7 @@ const j = h.a`
|
|
|
140
140
|
]
|
|
141
141
|
}
|
|
142
142
|
)
|
|
143
|
-
),
|
|
143
|
+
), F = h(
|
|
144
144
|
// eslint-disable-next-line react/prop-types
|
|
145
145
|
({
|
|
146
146
|
imageUrl: r,
|
|
@@ -171,7 +171,7 @@ const j = h.a`
|
|
|
171
171
|
}
|
|
172
172
|
);
|
|
173
173
|
}
|
|
174
|
-
),
|
|
174
|
+
), I = w.div`
|
|
175
175
|
display: flex;
|
|
176
176
|
flex-direction: column;
|
|
177
177
|
align-items: center;
|
|
@@ -219,7 +219,13 @@ const j = h.a`
|
|
|
219
219
|
gap: 1.5rem;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
@media
|
|
222
|
+
@media ${d("M")} {
|
|
223
|
+
& .wrapper__cards {
|
|
224
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media ${d("S")} {
|
|
223
229
|
& .wrapper__tags {
|
|
224
230
|
display: flex;
|
|
225
231
|
flex-wrap: nowrap;
|
|
@@ -247,7 +253,7 @@ const j = h.a`
|
|
|
247
253
|
gap: 1rem;
|
|
248
254
|
}
|
|
249
255
|
}
|
|
250
|
-
`,
|
|
256
|
+
`, R = h(
|
|
251
257
|
({
|
|
252
258
|
title: r,
|
|
253
259
|
subtitle: t,
|
|
@@ -259,13 +265,13 @@ const j = h.a`
|
|
|
259
265
|
items: l = [],
|
|
260
266
|
onSelectTag: m = () => {
|
|
261
267
|
},
|
|
262
|
-
onSelectCard:
|
|
268
|
+
onSelectCard: f = () => {
|
|
263
269
|
},
|
|
264
270
|
isLoadingTags: x = !1,
|
|
265
271
|
isLoadingCards: u = !1,
|
|
266
272
|
LinkComponent: _
|
|
267
273
|
}, y) => /* @__PURE__ */ c(
|
|
268
|
-
|
|
274
|
+
I,
|
|
269
275
|
{
|
|
270
276
|
ref: y,
|
|
271
277
|
limitTags: o,
|
|
@@ -282,19 +288,19 @@ const j = h.a`
|
|
|
282
288
|
{
|
|
283
289
|
isLoading: u,
|
|
284
290
|
keyPrefix: "general-with-tags-cards-card",
|
|
285
|
-
children: /* @__PURE__ */ a("div", { className: "wrapper__cards", children: l == null ? void 0 : l.map((e,
|
|
286
|
-
|
|
291
|
+
children: /* @__PURE__ */ a("div", { className: "wrapper__cards", children: l == null ? void 0 : l.map((e, g) => /* @__PURE__ */ a(
|
|
292
|
+
F,
|
|
287
293
|
{
|
|
288
294
|
imageUrl: e == null ? void 0 : e.imageUrl,
|
|
289
295
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
290
296
|
title: e == null ? void 0 : e.title,
|
|
291
297
|
selectAction: e == null ? void 0 : e.selectAction,
|
|
292
298
|
onSelectCard: () => {
|
|
293
|
-
|
|
299
|
+
f == null || f(e);
|
|
294
300
|
},
|
|
295
301
|
LinkComponent: _
|
|
296
302
|
},
|
|
297
|
-
`general-with-tags-card__${
|
|
303
|
+
`general-with-tags-card__${g + 1}`
|
|
298
304
|
)) })
|
|
299
305
|
}
|
|
300
306
|
),
|
|
@@ -303,8 +309,8 @@ const j = h.a`
|
|
|
303
309
|
{
|
|
304
310
|
isLoading: x,
|
|
305
311
|
keyPrefix: "general-with-tags-cards-tag",
|
|
306
|
-
children: /* @__PURE__ */ a("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e,
|
|
307
|
-
|
|
312
|
+
children: /* @__PURE__ */ a("div", { className: "wrapper__tags", children: i == null ? void 0 : i.map((e, g) => /* @__PURE__ */ a(
|
|
313
|
+
T,
|
|
308
314
|
{
|
|
309
315
|
icon: e == null ? void 0 : e.icon,
|
|
310
316
|
title: e == null ? void 0 : e.title,
|
|
@@ -312,7 +318,7 @@ const j = h.a`
|
|
|
312
318
|
selectAction: e == null ? void 0 : e.selectAction,
|
|
313
319
|
LinkComponent: _
|
|
314
320
|
},
|
|
315
|
-
`general-with-tags-card-tag__${
|
|
321
|
+
`general-with-tags-card-tag__${g + 1}`
|
|
316
322
|
)) })
|
|
317
323
|
}
|
|
318
324
|
)
|
|
@@ -321,5 +327,5 @@ const j = h.a`
|
|
|
321
327
|
)
|
|
322
328
|
);
|
|
323
329
|
export {
|
|
324
|
-
|
|
330
|
+
R as default
|
|
325
331
|
};
|