@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,6 +1,6 @@
|
|
|
1
1
|
import { g as y } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import f from "react";
|
|
3
|
-
import { u as m, p as g } from "./SearchSection-
|
|
3
|
+
import { u as m, p as g } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function v(t, e) {
|
|
5
5
|
for (var r = 0; r < e.length; r++) {
|
|
6
6
|
const s = e[r];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const f=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("react"),c=require("./SearchSection-
|
|
1
|
+
"use strict";const f=require("./_commonjsHelpers-DwTZ_eVU.cjs"),m=require("react"),c=require("./SearchSection-DUY61r3k.cjs");function g(t,e){for(var r=0;r<e.length;r++){const s=e[r];if(typeof s!="string"&&!Array.isArray(s)){for(const o in s)if(o!=="default"&&!(o in t)){const i=Object.getOwnPropertyDescriptor(s,o);i&&Object.defineProperty(t,o,i.get?i:{enumerable:!0,get:()=>s[o]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var v=Object.create,a=Object.defineProperty,P=Object.getOwnPropertyDescriptor,O=Object.getOwnPropertyNames,b=Object.getPrototypeOf,M=Object.prototype.hasOwnProperty,x=(t,e,r)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},d=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of O(e))!M.call(t,o)&&o!==r&&a(t,o,{get:()=>e[o],enumerable:!(s=P(e,o))||s.enumerable});return t},j=(t,e,r)=>(r=t!=null?v(b(t)):{},d(!t||!t.__esModule?a(r,"default",{value:t,enumerable:!0}):r,t)),S=t=>d(a({},"__esModule",{value:!0}),t),n=(t,e,r)=>(x(t,typeof e!="symbol"?e+"":e,r),r),h={};w(h,{default:()=>l});var y=S(h),p=j(m),u=c.utils,_=c.patterns;const D="https://widget.mixcloud.com/media/js/widgetApi.js",L="Mixcloud";class l extends p.Component{constructor(){super(...arguments),n(this,"callPlayer",u.callPlayer),n(this,"duration",null),n(this,"currentTime",null),n(this,"secondsLoaded",null),n(this,"mute",()=>{}),n(this,"unmute",()=>{}),n(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e){(0,u.getSDK)(D,L).then(r=>{this.player=r.PlayerWidget(this.iframe),this.player.ready.then(()=>{this.player.events.play.on(this.props.onPlay),this.player.events.pause.on(this.props.onPause),this.player.events.ended.on(this.props.onEnded),this.player.events.error.on(this.props.error),this.player.events.progress.on((s,o)=>{this.currentTime=s,this.duration=o}),this.props.onReady()})},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,r=!0){this.callPlayer("seek",e),r||this.pause()}setVolume(e){}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return null}render(){const{url:e,config:r}=this.props,s=e.match(_.MATCH_URL_MIXCLOUD)[1],o={width:"100%",height:"100%"},i=(0,u.queryString)({...r.options,feed:`/${s}/`});return p.default.createElement("iframe",{key:s,ref:this.ref,style:o,src:`https://player-widget.mixcloud.com/widget/iframe/?${i}`,frameBorder:"0",allow:"autoplay"})}}n(l,"displayName","Mixcloud");n(l,"canPlay",_.canPlay.mixcloud);n(l,"loopOnEnded",!0);const T=f.getDefaultExportFromCjs(y),C=g({__proto__:null,default:T},[y]);exports.Mixcloud=C;
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),x=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),A=require("./Icon.cjs"),L=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),x=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),A=require("./Icon.cjs"),L=require("./utils-CITgSxXe.cjs"),V=require("./index-41nUb2kP.cjs"),F=require("./motion-B_VPZaJq.cjs"),G=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./index-DZoWlChs.cjs"),p="5rem",f="3.8rem",a="1.5rem",W=(e,r,n)=>r&&n?e=="FULL"?`calc(100dvh - ${f} - ${p})`:`calc(100dvh - ${f} - ${p} - ${a})`:r?e=="FULL"?`calc(100dvh - ${f})`:`calc(100dvh - ${f} - ${a})`:n?e=="FULL"?`calc(100dvh - ${p})`:`calc(100dvh - ${p} - ${a})`:e=="FULL"?"100dvh":`calc(100dvh - ${a})`,X=e=>e=="FULL"?"100vw":`calc(100vw - ${a})`,J=(e,r,n)=>e=="FULL"?"0":`${r?"0":"16px"} 0 ${n?"0":"16px"} 0`,K=j.styled(F.motion.div)`
|
|
2
2
|
position: ${e=>e.scrollOverlay==!0?"absolute":"fixed"};
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
package/dist/Modal.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as t, Fragment as L, jsxs as T } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as U, useRef as X, useState as V, useImperativeHandle as q, useEffect as J } from "react";
|
|
3
3
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import K from "./Icon.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as w } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import { r as Q } from "./index-B1vKwsDE.js";
|
|
7
7
|
import { m as M } from "./motion-Ckekul_K.js";
|
|
8
8
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const h=require("react/jsx-runtime"),t=require("react"),w=require("./CustomStyles-
|
|
1
|
+
"use strict";const h=require("react/jsx-runtime"),t=require("react"),w=require("./CustomStyles-2TQQSwtU.cjs"),x=require("./index-Cp66dWMi.cjs"),S=require("./Dropdown.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C=t.forwardRef((r,o)=>{const{styles:s,debounceTime:n=0,isSearchable:u=!0,isClearable:c=!0,onInputChange:e,size:l="small",color:i="primary",className:a="",style:m={},...d}=r,b=f.useTheme(),q=t.useCallback(x.debounce((y,p)=>{e==null||e(y,p)},n));return h.jsx(S.default,{isMulti:!0,ref:o,styles:s||w.customStyles,size:l,color:i,theme:b,isSearchable:u,isClearable:c,className:a,style:m,...d,onInputChange:q})});module.exports=C;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h, useCallback as w } from "react";
|
|
3
|
-
import { a as S } from "./CustomStyles-
|
|
3
|
+
import { a as S } from "./CustomStyles-DR4WuDUN.js";
|
|
4
4
|
import { d as x } from "./index-Dt62UGku.js";
|
|
5
5
|
import C from "./Dropdown.js";
|
|
6
6
|
import { u as D } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const h=require("react/jsx-runtime"),t=require("react"),w=require("./CustomStyles-
|
|
1
|
+
"use strict";const h=require("react/jsx-runtime"),t=require("react"),w=require("./CustomStyles-2TQQSwtU.cjs"),x=require("./index-Cp66dWMi.cjs"),S=require("./DropdownLookup.cjs"),k=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C=t.forwardRef((r,o)=>{const{styles:s,debounceTime:u=0,isSearchable:n=!0,isClearable:c=!0,onInputChange:e,size:l="small",color:i="primary",className:a="",style:m={},...d}=r,p=k.useTheme(),b=t.useCallback(x.debounce((q,y)=>{e==null||e(q,y)},u));return h.jsx(S,{isMulti:!0,ref:o,styles:s||w.customStyles,size:l,color:i,theme:p,isSearchable:n,isClearable:c,onInputChange:b,className:a,style:m,...d})});module.exports=C;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as y } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h, useCallback as k } from "react";
|
|
3
|
-
import { a as w } from "./CustomStyles-
|
|
3
|
+
import { a as w } from "./CustomStyles-DR4WuDUN.js";
|
|
4
4
|
import { d as S } from "./index-Dt62UGku.js";
|
|
5
5
|
import x from "./DropdownLookup.js";
|
|
6
6
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const P=require("./_commonjsHelpers-DwTZ_eVU.cjs"),g=require("react"),E=require("./SearchSection-
|
|
1
|
+
"use strict";const P=require("./_commonjsHelpers-DwTZ_eVU.cjs"),g=require("react"),E=require("./SearchSection-DUY61r3k.cjs");function b(r,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in r)){const o=Object.getOwnPropertyDescriptor(i,s);o&&Object.defineProperty(r,s,o.get?o:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var _=Object.create,a=Object.defineProperty,L=Object.getOwnPropertyDescriptor,k=Object.getOwnPropertyNames,I=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,M=(r,e,t)=>e in r?a(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,x=(r,e)=>{for(var t in e)a(r,t,{get:e[t],enumerable:!0})},f=(r,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of k(e))!O.call(r,s)&&s!==t&&a(r,s,{get:()=>e[s],enumerable:!(i=L(e,s))||i.enumerable});return r},R=(r,e,t)=>(t=r!=null?_(I(r)):{},f(!r||!r.__esModule?a(t,"default",{value:r,enumerable:!0}):t,r)),w=r=>f(a({},"__esModule",{value:!0}),r),n=(r,e,t)=>(M(r,typeof e!="symbol"?e+"":e,t),t),y={};x(y,{default:()=>l});var m=w(y),v=R(g),p=E.patterns;const S="https://cdn.jsdelivr.net/npm/@mux/mux-player@VERSION/dist/mux-player.mjs";class l extends v.Component{constructor(){super(...arguments),n(this,"onReady",(...e)=>this.props.onReady(...e)),n(this,"onPlay",(...e)=>this.props.onPlay(...e)),n(this,"onBuffer",(...e)=>this.props.onBuffer(...e)),n(this,"onBufferEnd",(...e)=>this.props.onBufferEnd(...e)),n(this,"onPause",(...e)=>this.props.onPause(...e)),n(this,"onEnded",(...e)=>this.props.onEnded(...e)),n(this,"onError",(...e)=>this.props.onError(...e)),n(this,"onPlayBackRateChange",e=>this.props.onPlaybackRateChange(e.target.playbackRate)),n(this,"onEnablePIP",(...e)=>this.props.onEnablePIP(...e)),n(this,"onSeek",e=>{this.props.onSeek(e.target.currentTime)}),n(this,"onDurationChange",()=>{const e=this.getDuration();this.props.onDuration(e)}),n(this,"mute",()=>{this.player.muted=!0}),n(this,"unmute",()=>{this.player.muted=!1}),n(this,"ref",e=>{this.player=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);const e=this.getPlaybackId(this.props.url);e&&(this.player.playbackId=e)}componentWillUnmount(){this.player.playbackId=null,this.removeListeners(this.player)}addListeners(e){const{playsinline:t}=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),e.addEventListener("canplay",this.onReady),t&&e.setAttribute("playsinline","")}removeListeners(e){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("canplay",this.onReady)}async load(e){var t;const{onError:i,config:s}=this.props;if(!((t=globalThis.customElements)!=null&&t.get("mux-player")))try{await import(`${S.replace("VERSION",s.version)}`),this.props.onLoaded()}catch(u){i(u)}const[,o]=e.match(p.MATCH_URL_MUX);this.player.playbackId=o}play(){const e=this.player.play();e&&e.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.playbackId=null}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()}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player&&document.exitPictureInPicture()}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}getPlaybackId(e){const[,t]=e.match(p.MATCH_URL_MUX);return t}render(){const{url:e,playing:t,loop:i,controls:s,muted:o,config:u,width:c,height:h}=this.props,d={width:c==="auto"?c:"100%",height:h==="auto"?h:"100%"};return s===!1&&(d["--controls"]="none"),v.default.createElement("mux-player",{ref:this.ref,"playback-id":this.getPlaybackId(e),style:d,preload:"auto",autoPlay:t||void 0,muted:o?"":void 0,loop:i?"":void 0,...u.attributes})}}n(l,"displayName","Mux");n(l,"canPlay",p.canPlay.mux);const j=P.getDefaultExportFromCjs(m),D=b({__proto__:null,default:j},[m]);exports.Mux=D;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as P } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
2
2
|
import g from "react";
|
|
3
|
-
import { p as E } from "./SearchSection-
|
|
3
|
+
import { p as E } from "./SearchSection-BEYnWPSr.js";
|
|
4
4
|
function b(r, e) {
|
|
5
5
|
for (var t = 0; t < e.length; t++) {
|
|
6
6
|
const i = e[t];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),o=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),o=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./utils-CITgSxXe.cjs"),S=require("./motion-B_VPZaJq.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),b=require("./index-DZoWlChs.cjs"),h=w.styled(S.motion.div)`
|
|
2
2
|
margin-left: 0.3rem;
|
|
3
3
|
padding-left: 0.3rem;
|
|
4
4
|
border-left: ${r=>`2px solid ${M.getColorRgbaValue(r.theme,"MenuItem",r.color,"focus","background")}`};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as M, Fragment as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as x, useState as S, cloneElement as p, Children as w, isValidElement as
|
|
3
|
-
import { s as
|
|
4
|
-
import {
|
|
2
|
+
import { forwardRef as x, useState as S, cloneElement as p, Children as w, isValidElement as h } from "react";
|
|
3
|
+
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { c as D } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { m as C } from "./motion-Ckekul_K.js";
|
|
6
6
|
import { u as P } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { A as j } from "./index-D-c5IxDk.js";
|
|
8
|
-
const A =
|
|
8
|
+
const A = b(C.div)`
|
|
9
9
|
margin-left: 0.3rem;
|
|
10
10
|
padding-left: 0.3rem;
|
|
11
11
|
border-left: ${(t) => `2px solid ${D(
|
|
@@ -35,8 +35,8 @@ const A = h(C.div)`
|
|
|
35
35
|
height: { duration: 0.15 }
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
className:
|
|
39
|
-
style:
|
|
38
|
+
className: c = "",
|
|
39
|
+
style: E = {},
|
|
40
40
|
color: o = "primary",
|
|
41
41
|
size: r = "small",
|
|
42
42
|
children: N,
|
|
@@ -51,7 +51,7 @@ const A = h(C.div)`
|
|
|
51
51
|
size: r
|
|
52
52
|
}), I = w.map(N, (e, V) => {
|
|
53
53
|
var n, m;
|
|
54
|
-
return
|
|
54
|
+
return h(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((n = e == null ? void 0 : e.type) == null ? void 0 : n.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((m = e == null ? void 0 : e.type) == null ? void 0 : m.displayName) === "NESTED_ITEM") ? p(e, {
|
|
55
55
|
color: e.props.color ? e.props.color : o,
|
|
56
56
|
size: r,
|
|
57
57
|
onItemSelected: d
|
|
@@ -66,8 +66,8 @@ const A = h(C.div)`
|
|
|
66
66
|
theme: y,
|
|
67
67
|
color: o,
|
|
68
68
|
size: r,
|
|
69
|
-
className: "nested-item-lnc " +
|
|
70
|
-
style:
|
|
69
|
+
className: "nested-item-lnc " + c,
|
|
70
|
+
style: E,
|
|
71
71
|
...g,
|
|
72
72
|
children: I
|
|
73
73
|
}
|
package/dist/NestedMenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),o=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),o=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-CITgSxXe.cjs"),w=require("./motion-B_VPZaJq.cjs"),h=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),$=require("./index-DZoWlChs.cjs"),j=b.styled(w.motion.div)`
|
|
2
2
|
${t=>t.tuckIn==!0&&`margin-left: ${t.tuckInSize};`}
|
|
3
3
|
${t=>t.tuckIn==!0&&`padding-left: ${t.tuckInSize};`}
|
|
4
4
|
${t=>t.tuckIn==!0&&`border-left: 2px solid ${q.getColorRgbaValue(t.theme,"MenuItem",t.color,"focus","background","backgroundOpacity")};`}
|
package/dist/NestedMenuItem.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as x, Fragment as m, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as h, useState as $, cloneElement as u, Children as b, isValidElement as w } from "react";
|
|
3
3
|
import { s as z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { c as C } from "./utils-B2fsQ6PS.js";
|
|
5
5
|
import { m as D } from "./motion-Ckekul_K.js";
|
|
6
6
|
import { u as O } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { A as P } from "./index-D-c5IxDk.js";
|
|
@@ -17,9 +17,9 @@ const j = z(D.div)`
|
|
|
17
17
|
"backgroundOpacity"
|
|
18
18
|
)};`}
|
|
19
19
|
border-radius: 2px;
|
|
20
|
-
`, A =
|
|
20
|
+
`, A = h((t, c) => {
|
|
21
21
|
const {
|
|
22
|
-
item:
|
|
22
|
+
item: l,
|
|
23
23
|
//------------------
|
|
24
24
|
onItemSelected: p = () => {
|
|
25
25
|
},
|
|
@@ -44,7 +44,7 @@ const j = z(D.div)`
|
|
|
44
44
|
size: n = "small",
|
|
45
45
|
children: y,
|
|
46
46
|
..._
|
|
47
|
-
} = t, T = O(), [o, S] =
|
|
47
|
+
} = t, T = O(), [o, S] = $(d), k = u(l, {
|
|
48
48
|
isNested: !0,
|
|
49
49
|
showNested: o,
|
|
50
50
|
toggleNested: () => {
|
|
@@ -52,7 +52,7 @@ const j = z(D.div)`
|
|
|
52
52
|
},
|
|
53
53
|
color: r,
|
|
54
54
|
size: n
|
|
55
|
-
}), M =
|
|
55
|
+
}), M = b.map(y, (e, U) => {
|
|
56
56
|
var a, i;
|
|
57
57
|
if (w(e) && (e.props.__TYPE__ == "MENU_ITEM" || ((a = e == null ? void 0 : e.type) == null ? void 0 : a.displayName) === "MENU_ITEM" || e.props.__TYPE__ == "NESTED_ITEM" || ((i = e == null ? void 0 : e.type) == null ? void 0 : i.displayName) === "NESTED_ITEM"))
|
|
58
58
|
return u(e, {
|
|
@@ -73,7 +73,7 @@ const j = z(D.div)`
|
|
|
73
73
|
size: n,
|
|
74
74
|
className: "nested-item-lnc " + N,
|
|
75
75
|
style: g,
|
|
76
|
-
ref:
|
|
76
|
+
ref: c,
|
|
77
77
|
show: o,
|
|
78
78
|
...I,
|
|
79
79
|
..._,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),N=require("react"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-BoMuFZcq.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),N=require("react"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-BoMuFZcq.cjs"),o=require("./utils-CITgSxXe.cjs"),T=require("./ThemeProvider.cjs"),v=y.styled.div`
|
|
2
2
|
& .lnc-notification {
|
|
3
3
|
& > div {
|
|
4
4
|
background-color: ${e=>o.getColorRgbaValue(e.theme,"Notification",e.color,"enabled","background","backgroundOpacity")};
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { T as $ } from "./react-toastify.esm-BLQznunb.js";
|
|
5
|
-
import {
|
|
5
|
+
import { c as t, b as v } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import { useTheme as C } from "./ThemeProvider.js";
|
|
7
7
|
const O = T.div`
|
|
8
8
|
& .lnc-notification {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),p=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./Icon.cjs"),i=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),p=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./Icon.cjs"),i=require("./utils-CITgSxXe.cjs"),y=require("./Avatar.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=w.styled.div`
|
|
2
2
|
${e=>i.getComponentTypographyCss(e.theme,"Notification","small","enabled")};
|
|
3
3
|
|
|
4
4
|
word-wrap: break-word;
|
|
@@ -2,7 +2,7 @@ import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as N } from "react";
|
|
3
3
|
import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import $ from "./Icon.js";
|
|
5
|
-
import {
|
|
5
|
+
import { d as y, c as a, g as v } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import B from "./Avatar.js";
|
|
7
7
|
import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const C = w.div`
|
|
@@ -80,8 +80,8 @@ const C = w.div`
|
|
|
80
80
|
title: r,
|
|
81
81
|
icon: s,
|
|
82
82
|
className: m,
|
|
83
|
-
style:
|
|
84
|
-
size:
|
|
83
|
+
style: d = {},
|
|
84
|
+
size: f = "small",
|
|
85
85
|
avatar: g = !1,
|
|
86
86
|
actions: l,
|
|
87
87
|
inlineActions: e = !1,
|
|
@@ -93,8 +93,8 @@ const C = w.div`
|
|
|
93
93
|
} = i, b = {
|
|
94
94
|
theme: z(),
|
|
95
95
|
className: m,
|
|
96
|
-
style:
|
|
97
|
-
size:
|
|
96
|
+
style: d,
|
|
97
|
+
size: f,
|
|
98
98
|
inlineActions: e,
|
|
99
99
|
sideButtons: o
|
|
100
100
|
};
|
package/dist/NumberInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),o=require("react"),H=require("./index-Cp66dWMi.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),o=require("react"),H=require("./index-Cp66dWMi.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-CITgSxXe.cjs"),J=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),L=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/NumberInput.js
CHANGED
|
@@ -2,14 +2,14 @@ import { jsxs as X, jsx as x } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as q, useRef as H, useState as O, useEffect as J, useCallback as L } from "react";
|
|
3
3
|
import { d as Q } from "./index-Dt62UGku.js";
|
|
4
4
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import {
|
|
5
|
+
import { e as c, c as t, b as Y, f as Z, i as F, d as v } from "./utils-B2fsQ6PS.js";
|
|
6
6
|
import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const ae = s.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
align-items: center;
|
|
10
10
|
|
|
11
|
-
min-height: ${(e) =>
|
|
12
|
-
max-height: ${(e) =>
|
|
11
|
+
min-height: ${(e) => c(e.theme, e.size)};
|
|
12
|
+
max-height: ${(e) => c(e.theme, e.size)};
|
|
13
13
|
background-color: ${(e) => t(
|
|
14
14
|
e.theme,
|
|
15
15
|
"Input",
|
|
@@ -62,8 +62,8 @@ const ae = s.div`
|
|
|
62
62
|
width: 100%;
|
|
63
63
|
|
|
64
64
|
${(e) => v(e.theme, "Input", e.size, "enabled")}
|
|
65
|
-
min-height: ${(e) =>
|
|
66
|
-
max-height: ${(e) =>
|
|
65
|
+
min-height: ${(e) => c(e.theme, e.size)};
|
|
66
|
+
max-height: ${(e) => c(e.theme, e.size)};
|
|
67
67
|
color: ${(e) => t(
|
|
68
68
|
e.theme,
|
|
69
69
|
"Input",
|
|
@@ -133,9 +133,9 @@ const ae = s.div`
|
|
|
133
133
|
size: S = "small",
|
|
134
134
|
color: d = "primary",
|
|
135
135
|
...K
|
|
136
|
-
} = e, n = ee(),
|
|
136
|
+
} = e, n = ee(), i = H(r || p || ""), [M, N] = O(r || p || ""), [y, V] = O(!1);
|
|
137
137
|
J(() => {
|
|
138
|
-
r != null && (
|
|
138
|
+
r != null && (i.current = r, N(i.current));
|
|
139
139
|
}, [r]);
|
|
140
140
|
const P = L(
|
|
141
141
|
Q((a, u) => U(a, u), w),
|
|
@@ -189,7 +189,7 @@ const ae = s.div`
|
|
|
189
189
|
V(!1), f == null || f(a);
|
|
190
190
|
},
|
|
191
191
|
onChange: (a) => {
|
|
192
|
-
|
|
192
|
+
i.current = a.target.value, N(i.current), P(a, a.target.value);
|
|
193
193
|
},
|
|
194
194
|
onKeyDown: (a) => {
|
|
195
195
|
var u, z, E, R, D;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),f=require("react"),x=require("./Button.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./breakpoints-CcVm-gVm.cjs"),m=require("./index-B_ilx3wM.cjs"),p=h.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -8,17 +8,18 @@
|
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
justify-content: space-between;
|
|
10
10
|
cursor: pointer;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
width: 100%;
|
|
12
|
+
min-width: 0;
|
|
13
13
|
background: ${r=>r==null?void 0:r.backgroundColor}, url("${r=>r==null?void 0:r.backgroundImage}");
|
|
14
14
|
background-size: cover;
|
|
15
15
|
background-repeat: no-repeat;
|
|
16
16
|
background-position: center;
|
|
17
17
|
border-radius: 0.75rem;
|
|
18
|
-
transition:
|
|
18
|
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
19
19
|
|
|
20
20
|
&:hover {
|
|
21
|
-
|
|
21
|
+
transform: scale(1.02);
|
|
22
|
+
box-shadow: 0 4px 24px rgba(20, 22, 26, 0.12);
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
& .section__text {
|
|
@@ -62,14 +63,10 @@
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
@media
|
|
66
|
+
@media ${a.down("S")} {
|
|
66
67
|
padding: 2rem;
|
|
67
68
|
min-height: 17.5rem;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
&:hover {
|
|
71
|
-
flex: 1;
|
|
72
|
-
}
|
|
69
|
+
height: auto;
|
|
73
70
|
|
|
74
71
|
& .section__text {
|
|
75
72
|
gap: 0.5rem;
|
|
@@ -85,7 +82,7 @@
|
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
84
|
}
|
|
88
|
-
`,
|
|
85
|
+
`,y=f.forwardRef(({title:r,description:n,buttonText:i,imageUrl:l,backgroundColor:c="none",handleSelectCard:d=()=>{},handleButtonAction:g=()=>{},selectAction:e,LinkComponent:s},u)=>{const _=s||"a";return o.jsxs(p,{ref:u,backgroundImage:l,backgroundColor:c,onClick:d,as:_,...s?{to:`/${e}`}:{href:`/${e}`},children:[o.jsxs("div",{className:"section__text",children:[r&&o.jsx("div",{className:"section__title",children:r}),n&&o.jsx("div",{className:"section__description",children:n})]}),o.jsx(x,{text:i,onClick:t=>{t==null||t.preventDefault(),t==null||t.stopPropagation(),g()},borderRadius:"regular",color:"gray",className:"section__action"})]})}),v=h.styled.div`
|
|
89
86
|
display: flex;
|
|
90
87
|
flex-direction: column;
|
|
91
88
|
align-items: flex-start;
|
|
@@ -101,37 +98,28 @@
|
|
|
101
98
|
}
|
|
102
99
|
|
|
103
100
|
& .section__items {
|
|
104
|
-
display:
|
|
105
|
-
|
|
101
|
+
display: grid;
|
|
102
|
+
grid-template-columns: repeat(4, 1fr);
|
|
106
103
|
gap: 1rem;
|
|
107
104
|
width: 100%;
|
|
108
105
|
}
|
|
109
106
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
transition: width 0.5s ease;
|
|
114
|
-
flex-shrink: 0;
|
|
115
|
-
display: flex;
|
|
116
|
-
justify-content: center;
|
|
117
|
-
align-items: center;
|
|
118
|
-
cursor: pointer;
|
|
119
|
-
flex: 1;
|
|
120
|
-
|
|
121
|
-
&:hover {
|
|
122
|
-
flex: 2;
|
|
123
|
-
transition: width 0.5s ease;
|
|
107
|
+
@media ${a.down("M")} {
|
|
108
|
+
& .section__items {
|
|
109
|
+
grid-template-columns: repeat(2, 1fr);
|
|
124
110
|
}
|
|
125
111
|
}
|
|
126
112
|
|
|
127
|
-
@media
|
|
113
|
+
@media ${a.down("S")} {
|
|
128
114
|
& .section__title {
|
|
129
115
|
font-size: 1.375rem;
|
|
130
116
|
line-height: 1.75rem;
|
|
131
117
|
}
|
|
118
|
+
}
|
|
132
119
|
|
|
120
|
+
@media ${a.down("XS")} {
|
|
133
121
|
& .section__items {
|
|
134
|
-
|
|
122
|
+
grid-template-columns: 1fr;
|
|
135
123
|
}
|
|
136
124
|
}
|
|
137
|
-
`,b=f.forwardRef(({title:r,items:
|
|
125
|
+
`,b=f.forwardRef(({title:r,items:n,isLoading:i=!1,onSelectCard:l=()=>{},onButtonAction:c=()=>{},LinkComponent:d},g)=>o.jsxs(v,{ref:g,children:[o.jsx("div",{className:"section__title",children:r}),o.jsx(m.SuspenseBlogsSectionDetailed,{isLoading:i,keyPrefix:"overlay-general-cards-skeleton",children:o.jsx("div",{className:"section__items",children:n==null?void 0:n.map((e,s)=>o.jsx(y,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleSelectCard:()=>l(e),handleButtonAction:()=>c(e),selectAction:e==null?void 0:e.selectAction,LinkComponent:d},`overlay-general-card__${s+1}`))})})]}));module.exports=b;
|