@lanaco/lnc-react-ui 4.0.88 → 4.0.90
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/dist/Accordion.cjs +1 -1
- package/dist/Accordion.js +1 -1
- package/dist/AccordionSummary.cjs +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.cjs +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/AdBannerSection.cjs +37 -0
- package/dist/AdBannerSection.js +68 -0
- package/dist/Alert.cjs +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.cjs +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.cjs +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +1 -1
- package/dist/BannerSectionCarousel.js +1 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +4 -4
- package/dist/BlogCardsSponsoredSection.js +15 -15
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +3 -3
- package/dist/BlogListSection.js +16 -16
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +2 -2
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +1 -1
- package/dist/BlogSingleSection.cjs +1 -1
- package/dist/BlogSingleSection.js +2 -2
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +7 -7
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +16 -16
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +6 -6
- package/dist/BlogsSectionWithFilters.js +102 -97
- package/dist/BrandHitsSection.cjs +1 -1
- package/dist/BrandHitsSection.js +7 -7
- package/dist/Breadcrumbs.cjs +1 -1
- package/dist/Breadcrumbs.js +1 -1
- 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 +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- 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 +1 -1
- package/dist/ConfirmationForm.cjs +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.cjs +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-DSaRbYZg.js → CustomStyles-DYULk9y7.js} +1 -1
- package/dist/{CustomStyles-DzChCA5c.cjs → CustomStyles-Uqkz9jDo.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- 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/DetailedProductsSection.cjs +2 -2
- package/dist/DetailedProductsSection.js +5 -5
- 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 +1 -1
- 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 +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.cjs +51 -0
- package/dist/FeedbackSection.js +82 -0
- package/dist/FieldOfInterestsMasonrySection.cjs +17 -16
- package/dist/FieldOfInterestsMasonrySection.js +75 -64
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithTagsCardsSection.js +1 -1
- package/dist/FileInput.cjs +1 -1
- package/dist/FileInput.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 +2 -3
- package/dist/GeneralWithTagsCardsSection.js +4 -5
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +2 -2
- package/dist/Icon.cjs +1 -1
- package/dist/Icon.js +1 -1
- package/dist/IconButton.cjs +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.cjs +2 -2
- package/dist/Kanban.js +84 -82
- package/dist/KanbanActionsToolbar.cjs +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.cjs +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.cjs +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.cjs +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.cjs +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.cjs +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +1 -1
- package/dist/MasonryGeneralCardsSection.js +1 -1
- package/dist/MenuItem.cjs +1 -1
- package/dist/MenuItem.js +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/NestedDropdownItem.cjs +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.cjs +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.cjs +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.cjs +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.cjs +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +1 -1
- package/dist/OverlayGeneralCardsSection.js +2 -2
- package/dist/PasswordInput.cjs +1 -1
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.cjs +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +3 -3
- package/dist/ProgressBar.cjs +1 -1
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +163 -0
- package/dist/QuattroCardsSection.js +203 -0
- package/dist/QuizSection.cjs +1 -1
- package/dist/QuizSection.js +1 -1
- 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 +1 -1
- package/dist/ReviewsSection.js +2 -2
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +1 -1
- package/dist/ShopCardsSection.js +2 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +3 -3
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +2 -2
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +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 +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- 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 +16 -91
- package/dist/ThemeProvider.js +48 -1233
- 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/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-DG7qQq8L.cjs → index-66FyQgVV.cjs} +1 -1
- package/dist/{index-BVaZWq6y.cjs → index-BRgZcjpI.cjs} +1 -1
- package/dist/{index-Yh18uk_f.js → index-Cru8Sd2q.js} +2 -2
- package/dist/{index-Ca38iPjf.js → index-D86vS9UF.js} +1 -1
- package/dist/{index-B9HSHvhH.cjs → index-D8lR_JKg.cjs} +1 -1
- package/dist/{index-Ccw8sLnK.cjs → index-DMysapsB.cjs} +1 -1
- package/dist/{index-Cx4KvZ9L.cjs → index-DZDz9qZP.cjs} +47 -9
- package/dist/{index-BBPnKoi6.js → index-DfHm_Mv1.js} +2 -2
- package/dist/{index-Db8wvLXS.js → index-DpdPtPbo.js} +1 -1
- package/dist/{index-iSD5jNBk.js → index-Kx8irvHH.js} +98 -46
- package/dist/index.cjs +1 -1
- package/dist/index.js +59 -53
- package/dist/{skeleton-BBSBZ4JV.cjs → skeleton-BcaMeKFQ.cjs} +1 -1
- package/dist/{skeleton-wfDIalr3.js → skeleton-BrUEdt6Z.js} +6 -6
- package/dist/{skeleton-C_Jypl8r.cjs → skeleton-DwZzdFei.cjs} +5 -5
- package/dist/{skeleton-DALCB1S7.js → skeleton-TrselJrj.js} +1 -1
- package/dist/{style-xvwWn3Zv.cjs → style-B8wrlDzY.cjs} +13 -7
- package/dist/{style-sLF37aOA.js → style-C3-67TPD.js} +17 -10
- package/dist/styled-components.browser.esm-C9FYANiy.js +1190 -0
- package/dist/styled-components.browser.esm-CMTEDJ_5.cjs +76 -0
- package/dist/{suspense-categories-card-simple-5JZtz7wj.cjs → suspense-categories-card-simple-B2swGa6t.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-BTFqzXyn.js → suspense-categories-card-simple-BCn3U1cz.js} +1 -1
- package/dist/{suspense-large-BtfvnzWh.cjs → suspense-large-DMhn-lIG.cjs} +1 -1
- package/dist/{suspense-large-DFlSJhGG.js → suspense-large-DgzTM-qh.js} +1 -1
- package/dist/{suspense-product-card-detailed-DBNlkFiP.cjs → suspense-product-card-detailed-CuExvgd_.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-CwdbxJrY.js → suspense-product-card-detailed-D7hKisw1.js} +2 -2
- package/dist/{suspense-product-card-simple--ExcEpD-.js → suspense-product-card-simple-BIVIVybi.js} +1 -1
- package/dist/{suspense-product-card-simple-0x5sc47a.cjs → suspense-product-card-simple-zYdZVLRz.cjs} +1 -1
- package/dist/{utils-DhRHf5Ed.cjs → utils-BWzf4vLl.cjs} +1 -1
- package/dist/{utils-BE-UlkKf.js → utils-BXCGNjIy.js} +12 -12
- package/package.json +5 -2
- package/vite.config.js +12 -0
- package/dist/useEffectOnce-DFrzfNzT.cjs +0 -1
- package/dist/useEffectOnce-guOKBPuL.js +0 -7
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, Fragment as S } from "react";
|
|
3
3
|
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as p } from "./consts-BuFChS64.js";
|
|
5
|
-
import { S as N } from "./index-
|
|
5
|
+
import { S as N } from "./index-DpdPtPbo.js";
|
|
6
6
|
const C = l.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),m=require("react"),f=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("react"),f=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-BWzf4vLl.cjs"),u=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=require("./consts-goSZX3xP.cjs"),_=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -2,7 +2,7 @@ import { jsx as t, Fragment as w, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import b from "./Button.js";
|
|
4
4
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import {
|
|
5
|
+
import { o as n, p as g, k as p } from "./utils-BXCGNjIy.js";
|
|
6
6
|
import { u as v } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { M as f } from "./consts-BuFChS64.js";
|
|
8
8
|
const y = s.div`
|
package/dist/MenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./Icon.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./Icon.cjs"),l=require("./utils-BWzf4vLl.cjs"),H=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),J=G.styled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${n=>n.disabled==!1?"pointer":"context-menu"};
|
|
4
4
|
width: 100%;
|
package/dist/MenuItem.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "rea
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import v from "./Icon.js";
|
|
6
|
-
import { b as i, c as I, h as w } from "./utils-
|
|
6
|
+
import { b as i, c as I, h as w } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./Icon.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./Icon.cjs"),w=require("./utils-BWzf4vLl.cjs"),V=require("./index-EeoArxOx.cjs"),L=require("./motion-B_VPZaJq.cjs"),G=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./index-DZoWlChs.cjs"),x="5rem",h="3.8rem",i="1.5rem",W=(e,r,n)=>r&&n?e=="FULL"?`calc(100dvh - ${h} - ${x})`:`calc(100dvh - ${h} - ${x} - ${i})`:r?e=="FULL"?`calc(100dvh - ${h})`:`calc(100dvh - ${h} - ${i})`:n?e=="FULL"?`calc(100dvh - ${x})`:`calc(100dvh - ${x} - ${i})`:e=="FULL"?"100dvh":`calc(100dvh - ${i})`,X=e=>e=="FULL"?"100vw":`calc(100vw - ${i})`,J=(e,r,n)=>e=="FULL"?"0":`${r?"0":"16px"} 0 ${n?"0":"16px"} 0`,K=C.styled(L.motion.div)`
|
|
2
2
|
position: ${e=>e.scrollOverlay==!0?"absolute":"fixed"};
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
package/dist/Modal.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as z, useRef as X, useState as V, useImperativeHandle as q,
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import K from "./Icon.js";
|
|
6
|
-
import { b as w } from "./utils-
|
|
6
|
+
import { b as w } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import { r as Q } from "./index-64mXPFBC.js";
|
|
8
8
|
import { m as M } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-Uqkz9jDo.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./Dropdown.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:a="primary",className:c="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return g.jsx(M.default,{isMulti:!0,ref:t,styles:p||O.customStyles,size:i,color:a,theme:b,isSearchable:u,isClearable:y,className:c,style:T,...P,onInputChange:m})});r.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { forwardRef as y, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DYULk9y7.js";
|
|
5
5
|
import { d as S } from "./index-CkWvbrVT.js";
|
|
6
6
|
import C from "./Dropdown.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const O=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),g=require("./CustomStyles-
|
|
1
|
+
"use strict";const O=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),g=require("./CustomStyles-Uqkz9jDo.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./DropdownLookup.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:a="primary",className:c="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return O.jsx(M,{isMulti:!0,ref:t,styles:p||g.customStyles,size:i,color:a,theme:b,isSearchable:u,isClearable:y,onInputChange:m,className:c,style:T,...P})});r.propTypes={defaultOptions:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.array]),cacheOptions:e.PropTypes.any,loadOptions:e.PropTypes.func,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { forwardRef as y, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DYULk9y7.js";
|
|
5
5
|
import { d as S } from "./index-CkWvbrVT.js";
|
|
6
6
|
import C from "./DropdownLookup.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./utils-BWzf4vLl.cjs"),M=require("./motion-B_VPZaJq.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=require("./index-DZoWlChs.cjs"),j=b.styled(M.motion.div)`
|
|
2
2
|
margin-left: 0.3rem;
|
|
3
3
|
padding-left: 0.3rem;
|
|
4
4
|
border-left: ${s=>`2px solid ${w.getColorRgbaValue(s.theme,"MenuItem",s.color,"focus","background")}`};
|
|
@@ -2,7 +2,7 @@ import { jsxs as S, Fragment as p, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, useState as x, cloneElement as l, Children as P, isValidElement as O } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as D } from "./utils-
|
|
5
|
+
import { b as D } from "./utils-BXCGNjIy.js";
|
|
6
6
|
import { m as j } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
package/dist/NestedMenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),M=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),M=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-BWzf4vLl.cjs"),w=require("./motion-B_VPZaJq.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=require("./index-DZoWlChs.cjs"),$=M.styled(w.motion.div)`
|
|
2
2
|
${o=>o.tuckIn==!0&&`margin-left: ${o.tuckInSize};`}
|
|
3
3
|
${o=>o.tuckIn==!0&&`padding-left: ${o.tuckInSize};`}
|
|
4
4
|
${o=>o.tuckIn==!0&&`border-left: 2px solid ${q.getColorRgbaValue(o.theme,"MenuItem",o.color,"focus","background","backgroundOpacity")};`}
|
package/dist/NestedMenuItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as O, Fragment as l, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useState as h, cloneElement as u, Children as w, isValidElement as z } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as j } from "./utils-
|
|
5
|
+
import { b as j } from "./utils-BXCGNjIy.js";
|
|
6
6
|
import { m as D } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),N=require("react"),e=require("./index-BPVoEhTF.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-Dq1k28O7.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),N=require("react"),e=require("./index-BPVoEhTF.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-Dq1k28O7.cjs"),t=require("./utils-BWzf4vLl.cjs"),v=require("./ThemeProvider.cjs"),O=_.styled.div`
|
|
2
2
|
& .lnc-notification {
|
|
3
3
|
& > div {
|
|
4
4
|
background-color: ${o=>t.getColorRgbaValue(o.theme,"Notification",o.color,"enabled","background","backgroundOpacity")};
|
|
@@ -3,7 +3,7 @@ import { forwardRef as O } from "react";
|
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { T as v } from "./react-toastify.esm--2awuizG.js";
|
|
6
|
-
import { b as e, a as C } from "./utils-
|
|
6
|
+
import { b as e, a as C } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import { useTheme as $ } from "./ThemeProvider.js";
|
|
8
8
|
const P = _.div`
|
|
9
9
|
& .lnc-notification {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),P=require("react"),t=require("./index-BPVoEhTF.cjs"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./Icon.cjs"),i=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),P=require("react"),t=require("./index-BPVoEhTF.cjs"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./Icon.cjs"),i=require("./utils-BWzf4vLl.cjs"),w=require("./Avatar.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),v=N.styled.div`
|
|
2
2
|
${e=>i.getComponentTypographyCss(e.theme,"Notification","small","enabled")};
|
|
3
3
|
|
|
4
4
|
word-wrap: break-word;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as N } from "react";
|
|
|
3
3
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import w from "./Icon.js";
|
|
6
|
-
import { c as $, b as s, g as B } from "./utils-
|
|
6
|
+
import { c as $, b as s, g as B } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import P from "./Avatar.js";
|
|
8
8
|
import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const T = v.div`
|
package/dist/NumberInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),l=require("react"),U=require("./index-DaiUAQVF.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),l=require("react"),U=require("./index-DaiUAQVF.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-BWzf4vLl.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/NumberInput.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as n } from "./index-S5Cd7WrG.js";
|
|
|
3
3
|
import { forwardRef as P, useState as C, useEffect as W, useCallback as G } from "react";
|
|
4
4
|
import { d as M } from "./index-CkWvbrVT.js";
|
|
5
5
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { d, b as a, a as U, e as D, h as N, c as X } from "./utils-
|
|
6
|
+
import { d, b as a, a as U, e as D, h as N, c as X } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import { u as q } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const H = i.div`
|
|
9
9
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),p=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),p=require("./style-B8wrlDzY.cjs"),u=require("./utils-BWzf4vLl.cjs"),f=require("./Button.cjs"),v=require("./ThemeProvider.cjs"),j=x.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${n=>`repeat(${n.limit}, 1fr)`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -2,8 +2,8 @@ import { jsx as r, Fragment as p, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as g, Suspense as m } from "react";
|
|
3
3
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as h } from "./consts-BuFChS64.js";
|
|
5
|
-
import { R as v } from "./style-
|
|
6
|
-
import {
|
|
5
|
+
import { R as v } from "./style-C3-67TPD.js";
|
|
6
|
+
import { p as x, o as y, k } from "./utils-BXCGNjIy.js";
|
|
7
7
|
import w from "./Button.js";
|
|
8
8
|
import { useTheme as b } from "./ThemeProvider.js";
|
|
9
9
|
const $ = f.div`
|
package/dist/PasswordInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),s=require("react"),n=require("./index-BPVoEhTF.cjs"),L=require("./index-DaiUAQVF.cjs"),D=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),s=require("react"),n=require("./index-BPVoEhTF.cjs"),L=require("./index-DaiUAQVF.cjs"),D=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-BWzf4vLl.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),G=h.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/PasswordInput.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as n } from "./index-S5Cd7WrG.js";
|
|
|
4
4
|
import { d as J } from "./index-CkWvbrVT.js";
|
|
5
5
|
import K from "./Icon.js";
|
|
6
6
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { d as g, b as a, a as M, e as Q, h as w, c as X } from "./utils-
|
|
7
|
+
import { d as g, b as a, a as M, e as Q, h as w, c as X } from "./utils-BXCGNjIy.js";
|
|
8
8
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const Z = m.div`
|
|
10
10
|
display: flex;
|
package/dist/PopoverContent.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),c=require("react"),s=require("./floating-ui.react.esm-Bb1ww976.cjs"),i=require("./index-BPVoEhTF.cjs"),x=require("./PopoverContext.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("react"),s=require("./floating-ui.react.esm-Bb1ww976.cjs"),i=require("./index-BPVoEhTF.cjs"),x=require("./PopoverContext.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-BWzf4vLl.cjs"),y=require("./motion-B_VPZaJq.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P=h.styled(y.motion.div)`
|
|
2
2
|
font-family: ${e=>{var t,r;return(r=(t=e.theme)==null?void 0:t.typography)==null?void 0:r.fontFamily}};
|
|
3
3
|
animation: fadeIn 0.4s;
|
|
4
4
|
box-shadow: ${e=>a.getComponentPropValue(e.theme,"Popover",e.color,"enabled","boxShadow")};
|
package/dist/PopoverContent.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as f, F as u, b as g } from "./floating-ui.react.esm-h3qa3pb9.js";
|
|
|
4
4
|
import { P as n } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import h from "./PopoverContext.js";
|
|
6
6
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { g as y, a as P, b as v } from "./utils-
|
|
7
|
+
import { g as y, a as P, b as v } from "./utils-BXCGNjIy.js";
|
|
8
8
|
import { m as w } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
const F = x(w.div)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),y=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),y=require("./style-B8wrlDzY.cjs"),d=require("./utils-BWzf4vLl.cjs"),P=require("./index-BRgZcjpI.cjs"),S=u.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 22.5rem;
|
|
4
4
|
min-height: 22.5rem;
|
|
@@ -3,9 +3,9 @@ import { forwardRef as u, Suspense as C, memo as N, useMemo as S } from "react";
|
|
|
3
3
|
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as k } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as $ } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { R as U } from "./style-
|
|
7
|
-
import {
|
|
8
|
-
import { P as j } from "./index-
|
|
6
|
+
import { R as U } from "./style-C3-67TPD.js";
|
|
7
|
+
import { p as I, o as b, l as M, k as W } from "./utils-BXCGNjIy.js";
|
|
8
|
+
import { P as j } from "./index-D86vS9UF.js";
|
|
9
9
|
const E = p.div`
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 22.5rem;
|
package/dist/ProgressBar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BWzf4vLl.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=l.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: ${e=>o.getColorRgbaValue(e.theme,"Progress",e.color,"enabled","unfilled")};
|
package/dist/ProgressBar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as f, isValidElement as P, cloneElement as y } from "react";
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as n, c as x } from "./utils-
|
|
5
|
+
import { b as n, c as x } from "./utils-BXCGNjIy.js";
|
|
6
6
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const w = t.div`
|
|
8
8
|
width: 100%;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),s=require("./utils-BWzf4vLl.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),p=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=require("./styled-components.browser.esm-CMTEDJ_5.cjs"),_=c.styled.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
top: 0;
|
|
4
|
+
left: 0;
|
|
5
|
+
height: 100%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
opacity: 1;
|
|
8
|
+
|
|
9
|
+
background: -moz-linear-gradient(
|
|
10
|
+
top,
|
|
11
|
+
rgba(35, 42, 33, 0.45) 0%,
|
|
12
|
+
rgba(35, 42, 33, 0.45) 100%
|
|
13
|
+
);
|
|
14
|
+
background: -webkit-gradient(
|
|
15
|
+
linear,
|
|
16
|
+
left top,
|
|
17
|
+
left bottom,
|
|
18
|
+
color-stop(0%, rgba(35, 42, 33, 0.45)),
|
|
19
|
+
color-stop(100%, rgba(35, 42, 33, 0.45))
|
|
20
|
+
);
|
|
21
|
+
background: -webkit-linear-gradient(
|
|
22
|
+
top,
|
|
23
|
+
rgba(35, 42, 33, 0.45) 0%,
|
|
24
|
+
rgba(35, 42, 33, 0.45) 100%
|
|
25
|
+
);
|
|
26
|
+
background: -o-linear-gradient(
|
|
27
|
+
top,
|
|
28
|
+
rgba(35, 42, 33, 0.45) 0%,
|
|
29
|
+
rgba(35, 42, 33, 0.45) 100%
|
|
30
|
+
);
|
|
31
|
+
background: -ms-linear-gradient(
|
|
32
|
+
top,
|
|
33
|
+
rgba(35, 42, 33, 0.45) 0%,
|
|
34
|
+
rgba(35, 42, 33, 0.45) 100%
|
|
35
|
+
);
|
|
36
|
+
background: linear-gradient(
|
|
37
|
+
to bottom,
|
|
38
|
+
rgba(35, 42, 33, 0.45) 0%,
|
|
39
|
+
rgba(35, 42, 33, 0.45) 100%
|
|
40
|
+
);
|
|
41
|
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=0 );
|
|
42
|
+
border-radius: 0.75rem;
|
|
43
|
+
z-index: 2;
|
|
44
|
+
`,u=c.styled.div`
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
position: relative;
|
|
47
|
+
border-radius: 0.75rem;
|
|
48
|
+
position: relative;
|
|
49
|
+
width: 100%;
|
|
50
|
+
min-width: 10rem;
|
|
51
|
+
height: 11.875rem;
|
|
52
|
+
|
|
53
|
+
&:hover .quattro-card__gradient {
|
|
54
|
+
opacity: 0;
|
|
55
|
+
transition: opacity 0.3s ease-in-out;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
& img {
|
|
59
|
+
width: 100%;
|
|
60
|
+
height: 100%;
|
|
61
|
+
border-radius: 0.75rem;
|
|
62
|
+
object-fit: cover;
|
|
63
|
+
}
|
|
64
|
+
& .quattro-card__text {
|
|
65
|
+
z-index: 3;
|
|
66
|
+
position: absolute;
|
|
67
|
+
transform: translate(-50%, -50%);
|
|
68
|
+
top: 50%;
|
|
69
|
+
left: 50%;
|
|
70
|
+
color: var(--white, #fff);
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
gap: 0.25rem;
|
|
74
|
+
align-items: center;
|
|
75
|
+
text-align: center;
|
|
76
|
+
|
|
77
|
+
& .quattro-card__title {
|
|
78
|
+
font-size: 1.25rem;
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 600;
|
|
81
|
+
line-height: 1.75rem;
|
|
82
|
+
${s.truncateText()}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
& .quattro-card__description {
|
|
86
|
+
font-size: 0.875rem;
|
|
87
|
+
font-style: normal;
|
|
88
|
+
font-weight: 500;
|
|
89
|
+
line-height: 1.25rem;
|
|
90
|
+
${s.truncateTextInRows(2)}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
94
|
+
width: 100%;
|
|
95
|
+
|
|
96
|
+
& .quattro-card__title {
|
|
97
|
+
font-size: 1rem;
|
|
98
|
+
font-weight: 700;
|
|
99
|
+
width: 100%;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
& .quattro-card__description {
|
|
103
|
+
display: block;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
109
|
+
width: 100%;
|
|
110
|
+
}
|
|
111
|
+
`,f=a.forwardRef(({title:i,description:r,imageUrl:l,onSelectCard:o=()=>{}},n)=>{const{theme:e}=p.useTheme();return t.jsxs(u,{theme:e,onClick:o,children:[t.jsx("img",{loading:"lazy",src:l}),t.jsx(_,{theme:e,className:"quattro-card__gradient",children:t.jsxs("div",{className:"quattro-card__text",children:[t.jsx("div",{className:"quattro-card__title",children:i}),t.jsx("div",{className:"quattro-card__description",children:r})]})})]})}),h=g.qe.div`
|
|
112
|
+
display: flex;
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
align-items: flex-start;
|
|
115
|
+
gap: 1.5rem;
|
|
116
|
+
|
|
117
|
+
& .wrapper__heading {
|
|
118
|
+
display: flex;
|
|
119
|
+
flex-direction: column;
|
|
120
|
+
gap: 1rem;
|
|
121
|
+
width: 100%;
|
|
122
|
+
|
|
123
|
+
& .wrapper__title {
|
|
124
|
+
display: flex;
|
|
125
|
+
justify-content: space-between;
|
|
126
|
+
|
|
127
|
+
& .title__text {
|
|
128
|
+
color: var(--gray-950, #14161a);
|
|
129
|
+
text-align: center;
|
|
130
|
+
font-size: 1.5rem;
|
|
131
|
+
font-style: normal;
|
|
132
|
+
font-weight: 600;
|
|
133
|
+
line-height: 2rem;
|
|
134
|
+
letter-spacing: -0.47px;
|
|
135
|
+
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
gap: 0.5rem;
|
|
139
|
+
|
|
140
|
+
& i {
|
|
141
|
+
font-size: 1.5rem;
|
|
142
|
+
color: var(--primary-500, #f59e0b);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
& .wrapper__cards {
|
|
149
|
+
display: grid;
|
|
150
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
151
|
+
gap: 1.25rem;
|
|
152
|
+
justify-items: center;
|
|
153
|
+
align-items: center;
|
|
154
|
+
width: 100%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media (max-width: ${d.MOBILE_SIZE_PX+"px"}) {
|
|
158
|
+
& .wrapper__cards {
|
|
159
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
160
|
+
gap: 1rem;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
`,b=a.memo(f),w=a.forwardRef(({title:i,items:r},l)=>{const o=a.useMemo(()=>{var n;return(n=r==null?void 0:r.slice(0,4))==null?void 0:n.map((e,m)=>t.jsx(b,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,onSelectCard:()=>onSelectCard==null?void 0:onSelectCard(e)},`quattro-card__${m+1}`))},[r]);return t.jsxs(h,{children:[t.jsx("div",{className:"wrapper__heading",children:t.jsx("div",{className:"wrapper__title",children:s.isDefinedNotEmptyString(i)&&t.jsx("div",{className:"title__text",children:t.jsx("span",{children:i})})})}),t.jsx("div",{className:"wrapper__cards",children:o})]})});module.exports=w;
|