@lanaco/lnc-react-ui 4.0.88 → 4.0.89
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/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 +8 -8
- 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 +3 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +3 -3
- 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 +1 -1
- 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-CQawr7oF.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/FieldOfInterestsMasonrySection.cjs +13 -13
- package/dist/FieldOfInterestsMasonrySection.js +67 -63
- 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/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 +23 -23
- 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 +1 -1
- package/dist/ThemeProvider.js +1 -1
- 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-Yh18uk_f.js → index-B68jh2kW.js} +2 -2
- package/dist/{index-BVaZWq6y.cjs → index-BRgZcjpI.cjs} +1 -1
- package/dist/{index-BBPnKoi6.js → index-BT4FT6f0.js} +2 -2
- package/dist/{index-Db8wvLXS.js → index-Chju-CHz.js} +1 -1
- package/dist/{index-Ca38iPjf.js → index-Cpd68IKh.js} +1 -1
- package/dist/{index-B9HSHvhH.cjs → index-D8lR_JKg.cjs} +1 -1
- package/dist/{index-iSD5jNBk.js → index-DHQc2df3.js} +98 -46
- package/dist/{index-Ccw8sLnK.cjs → index-DMysapsB.cjs} +1 -1
- package/dist/{index-Cx4KvZ9L.cjs → index-DZDz9qZP.cjs} +47 -9
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-DALCB1S7.js → skeleton-BbYMdJpz.js} +1 -1
- package/dist/{skeleton-BBSBZ4JV.cjs → skeleton-BcaMeKFQ.cjs} +1 -1
- package/dist/{skeleton-C_Jypl8r.cjs → skeleton-DwZzdFei.cjs} +5 -5
- package/dist/{skeleton-wfDIalr3.js → skeleton-oa1ux_Zp.js} +6 -6
- package/dist/{style-xvwWn3Zv.cjs → style-B8wrlDzY.cjs} +13 -7
- package/dist/{style-sLF37aOA.js → style-R2KgPcrd.js} +17 -10
- 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-Dkm0oojD.js} +1 -1
- package/dist/{suspense-large-DFlSJhGG.js → suspense-large-B2lY_x-y.js} +1 -1
- package/dist/{suspense-large-BtfvnzWh.cjs → suspense-large-DMhn-lIG.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-CwdbxJrY.js → suspense-product-card-detailed-5A3zYKqj.js} +2 -2
- package/dist/{suspense-product-card-detailed-DBNlkFiP.cjs → suspense-product-card-detailed-CuExvgd_.cjs} +1 -1
- package/dist/{suspense-product-card-simple--ExcEpD-.js → suspense-product-card-simple-C4qtjWg_.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-BhG1dImS.js} +4 -4
- package/package.json +1 -1
- package/dist/useEffectOnce-DFrzfNzT.cjs +0 -1
- package/dist/useEffectOnce-guOKBPuL.js +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),o=require("react"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./consts-goSZX3xP.cjs"),l=require("./utils-BWzf4vLl.cjs"),E=require("./Icon.cjs"),I=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: fit-content;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
font-style: normal;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
line-height: 1.5rem;
|
|
40
|
-
${
|
|
40
|
+
${l.truncateTextInRows(2)}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
& .wrapper__description {
|
|
@@ -47,15 +47,15 @@
|
|
|
47
47
|
font-weight: 400;
|
|
48
48
|
line-height: 1rem;
|
|
49
49
|
letter-spacing: 0.025rem;
|
|
50
|
-
${
|
|
50
|
+
${l.truncateTextInRows(2)}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
`,
|
|
53
|
+
`,M=d.styled.div`
|
|
54
54
|
width: 100%;
|
|
55
55
|
height: 11.625rem;
|
|
56
56
|
border-radius: 0.75rem;
|
|
57
|
-
background: ${
|
|
58
|
-
`,
|
|
57
|
+
background: ${l.linearGradientAnimation("-90deg")};
|
|
58
|
+
`,R=d.styled.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
align-items: center;
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
@media (max-width: ${
|
|
104
|
+
@media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
|
|
105
105
|
flex-direction: row;
|
|
106
106
|
align-items: center;
|
|
107
107
|
gap: 0.25rem;
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
white-space: nowrap;
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
`,
|
|
131
|
+
`,z=d.styled.div`
|
|
132
132
|
width: 7.5rem;
|
|
133
133
|
width: 7.5rem;
|
|
134
134
|
border-radius: 999px;
|
|
135
|
-
background: ${
|
|
135
|
+
background: ${l.linearGradientAnimation("-90deg")};
|
|
136
136
|
|
|
137
|
-
@media (max-width: ${
|
|
137
|
+
@media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
|
|
138
138
|
width: 7.5rem;
|
|
139
139
|
height: 2.5rem;
|
|
140
140
|
}
|
|
141
|
-
`,
|
|
141
|
+
`,C=o.forwardRef(({},i)=>r.jsx(z,{})),L=o.forwardRef(({text:i,isActive:s=!1,icon:t,onSelectCard:a=()=>{}},p)=>r.jsxs(R,{className:s?"active":"",onClick:a,children:[r.jsx(E,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),F=o.forwardRef(({image:i,imageComponent:s,title:t,description:a,className:p,onSelectCard:_=()=>{}},u)=>{const{theme:f}=I.useTheme();return r.jsxs(q,{theme:f,className:p,onClick:_,children:[l.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}),a&&r.jsx("div",{className:"wrapper__description",children:a})]})]})}),O=o.forwardRef(({},i)=>r.jsxs(M,{children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__title"}),r.jsx("div",{className:"wrapper__description"})]})]})),S=d.styled.div`
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
align-items: center;
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
@media (max-width: ${
|
|
193
|
+
@media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
|
|
194
194
|
& .wrapper__tags {
|
|
195
195
|
display: flex;
|
|
196
196
|
overflow-x: scroll;
|
|
@@ -202,4 +202,4 @@
|
|
|
202
202
|
grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
`,A=
|
|
205
|
+
`,A=o.forwardRef(({title:i,subtitle:s,tags:t=[],items:a=[],limitTags:p=5,limitTagsForMobile:_=5,limit:u=3,limitForMobile:f=2,selectedTag:j,onSelectTag:h=()=>{},onSelectCard:w=()=>{}},$)=>{var y,v;return o.useLayoutEffect(()=>{const e=()=>{document.querySelector(".wrapper__cards").querySelectorAll(".wrapper__card").forEach(b=>{const k=b.getBoundingClientRect().height,N=Math.ceil((k+10)/20);b.style.gridRowEnd=`span ${N}`})},c=document.querySelector(".wrapper__cards").querySelectorAll(".wrapper__image");let m=0;return c.length===0?e():(c.forEach(g=>{g.complete?m++:g.addEventListener("load",()=>{m++,m===c.length&&e()})}),m===c.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),r.jsxs(S,{ref:$,limitTags:p,limitTagsForMobile:_,limitCards:u,limitCardsForMobile:f,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("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,n)=>r.jsx(L,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===j,onSelectCard:()=>h==null?void 0:h(e)},`field-of-interests-masonry-tag__${n+1}`)):(y=Array.from("12345"))==null?void 0:y.map((e,n)=>r.jsx(C,{},`field-of-interests-masonry-tag-skeleton__${n+1}`))}),r.jsx("div",{className:"wrapper__cards",children:a&&(a==null?void 0:a.length)>0?a==null?void 0:a.map((e,n)=>r.jsx(F,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>w==null?void 0:w(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${n+1}`)):(v=Array.from("12345"))==null?void 0:v.map((e,n)=>r.jsx(O,{},`field-of-interests-with-tags-card-skeleton__${n+1}`))})]})});module.exports=A;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as l } from "react";
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import { u as
|
|
8
|
-
|
|
9
|
-
const E = p.div`
|
|
2
|
+
import { forwardRef as l, useLayoutEffect as E } from "react";
|
|
3
|
+
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as u } from "./consts-BuFChS64.js";
|
|
5
|
+
import { n as $, m as k, l as I } from "./utils-BhG1dImS.js";
|
|
6
|
+
import F from "./Icon.js";
|
|
7
|
+
import { u as L } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
+
const A = d.div`
|
|
10
9
|
display: flex;
|
|
11
10
|
width: 100%;
|
|
12
11
|
height: fit-content;
|
|
@@ -45,7 +44,7 @@ const E = p.div`
|
|
|
45
44
|
font-style: normal;
|
|
46
45
|
font-weight: 500;
|
|
47
46
|
line-height: 1.5rem;
|
|
48
|
-
${
|
|
47
|
+
${$(2)}
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
& .wrapper__description {
|
|
@@ -55,15 +54,15 @@ const E = p.div`
|
|
|
55
54
|
font-weight: 400;
|
|
56
55
|
line-height: 1rem;
|
|
57
56
|
letter-spacing: 0.025rem;
|
|
58
|
-
${
|
|
57
|
+
${$(2)}
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
|
-
`,
|
|
60
|
+
`, O = d.div`
|
|
62
61
|
width: 100%;
|
|
63
62
|
height: 11.625rem;
|
|
64
63
|
border-radius: 0.75rem;
|
|
65
|
-
background: ${
|
|
66
|
-
`,
|
|
64
|
+
background: ${k("-90deg")};
|
|
65
|
+
`, W = d.div`
|
|
67
66
|
display: flex;
|
|
68
67
|
flex-direction: column;
|
|
69
68
|
align-items: center;
|
|
@@ -109,7 +108,7 @@ const E = p.div`
|
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
|
|
112
|
-
@media (max-width: ${
|
|
111
|
+
@media (max-width: ${u + "px"}) {
|
|
113
112
|
flex-direction: row;
|
|
114
113
|
align-items: center;
|
|
115
114
|
gap: 0.25rem;
|
|
@@ -136,48 +135,48 @@ const E = p.div`
|
|
|
136
135
|
white-space: nowrap;
|
|
137
136
|
}
|
|
138
137
|
}
|
|
139
|
-
`,
|
|
138
|
+
`, S = d.div`
|
|
140
139
|
width: 7.5rem;
|
|
141
140
|
width: 7.5rem;
|
|
142
141
|
border-radius: 999px;
|
|
143
|
-
background: ${
|
|
142
|
+
background: ${k("-90deg")};
|
|
144
143
|
|
|
145
|
-
@media (max-width: ${
|
|
144
|
+
@media (max-width: ${u + "px"}) {
|
|
146
145
|
width: 7.5rem;
|
|
147
146
|
height: 2.5rem;
|
|
148
147
|
}
|
|
149
|
-
`,
|
|
148
|
+
`, j = l(({}, r) => /* @__PURE__ */ i(S, {})), q = l(
|
|
150
149
|
({ text: r, isActive: o = !1, icon: t, onSelectCard: a = () => {
|
|
151
|
-
} },
|
|
152
|
-
/* @__PURE__ */ i(
|
|
150
|
+
} }, p) => /* @__PURE__ */ s(W, { className: o ? "active" : "", onClick: a, children: [
|
|
151
|
+
/* @__PURE__ */ i(F, { icon: t, className: "wrapper__icon" }),
|
|
153
152
|
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
154
153
|
] })
|
|
155
|
-
),
|
|
154
|
+
), R = l(
|
|
156
155
|
({
|
|
157
156
|
image: r,
|
|
158
157
|
imageComponent: o,
|
|
159
158
|
title: t,
|
|
160
159
|
description: a,
|
|
161
|
-
className:
|
|
162
|
-
onSelectCard:
|
|
160
|
+
className: p,
|
|
161
|
+
onSelectCard: f = () => {
|
|
163
162
|
}
|
|
164
|
-
},
|
|
165
|
-
const { theme:
|
|
166
|
-
return /* @__PURE__ */ s(
|
|
167
|
-
|
|
163
|
+
}, x) => {
|
|
164
|
+
const { theme: h } = L();
|
|
165
|
+
return /* @__PURE__ */ s(A, { theme: h, className: p, onClick: f, children: [
|
|
166
|
+
I(o) ? o : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
168
167
|
/* @__PURE__ */ s("div", { className: "wrapper__content", children: [
|
|
169
168
|
t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
170
169
|
a && /* @__PURE__ */ i("div", { className: "wrapper__description", children: a })
|
|
171
170
|
] })
|
|
172
171
|
] });
|
|
173
172
|
}
|
|
174
|
-
),
|
|
173
|
+
), T = l(({}, r) => /* @__PURE__ */ s(O, { children: [
|
|
175
174
|
/* @__PURE__ */ i("div", { className: "wrapper__image" }),
|
|
176
175
|
/* @__PURE__ */ s("div", { className: "wrapper__content", children: [
|
|
177
176
|
/* @__PURE__ */ i("div", { className: "wrapper__title" }),
|
|
178
177
|
/* @__PURE__ */ i("div", { className: "wrapper__description" })
|
|
179
178
|
] })
|
|
180
|
-
] })),
|
|
179
|
+
] })), B = d.div`
|
|
181
180
|
display: flex;
|
|
182
181
|
flex-direction: column;
|
|
183
182
|
align-items: center;
|
|
@@ -229,7 +228,7 @@ const E = p.div`
|
|
|
229
228
|
}
|
|
230
229
|
}
|
|
231
230
|
|
|
232
|
-
@media (max-width: ${
|
|
231
|
+
@media (max-width: ${u + "px"}) {
|
|
233
232
|
& .wrapper__tags {
|
|
234
233
|
display: flex;
|
|
235
234
|
overflow-x: scroll;
|
|
@@ -241,73 +240,78 @@ const E = p.div`
|
|
|
241
240
|
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
242
241
|
}
|
|
243
242
|
}
|
|
244
|
-
`,
|
|
243
|
+
`, Q = l(
|
|
245
244
|
({
|
|
246
245
|
title: r,
|
|
247
246
|
subtitle: o,
|
|
248
247
|
tags: t = [],
|
|
249
248
|
items: a = [],
|
|
250
|
-
limitTags:
|
|
251
|
-
limitTagsForMobile:
|
|
252
|
-
limit:
|
|
253
|
-
limitForMobile:
|
|
254
|
-
selectedTag:
|
|
255
|
-
onSelectTag:
|
|
249
|
+
limitTags: p = 5,
|
|
250
|
+
limitTagsForMobile: f = 5,
|
|
251
|
+
limit: x = 3,
|
|
252
|
+
limitForMobile: h = 2,
|
|
253
|
+
selectedTag: N,
|
|
254
|
+
onSelectTag: _ = () => {
|
|
256
255
|
},
|
|
257
|
-
onSelectCard:
|
|
256
|
+
onSelectCard: g = () => {
|
|
258
257
|
}
|
|
259
|
-
},
|
|
260
|
-
var
|
|
261
|
-
return
|
|
258
|
+
}, z) => {
|
|
259
|
+
var v, y;
|
|
260
|
+
return E(() => {
|
|
262
261
|
const e = () => {
|
|
263
|
-
document.querySelector(".wrapper__cards").querySelectorAll(".wrapper__card").forEach((
|
|
264
|
-
const
|
|
265
|
-
|
|
262
|
+
document.querySelector(".wrapper__cards").querySelectorAll(".wrapper__card").forEach((b) => {
|
|
263
|
+
const M = b.getBoundingClientRect().height, C = Math.ceil((M + 10) / 20);
|
|
264
|
+
b.style.gridRowEnd = `span ${C}`;
|
|
266
265
|
});
|
|
267
|
-
};
|
|
268
|
-
|
|
266
|
+
}, m = document.querySelector(".wrapper__cards").querySelectorAll(".wrapper__image");
|
|
267
|
+
let c = 0;
|
|
268
|
+
return m.length === 0 ? e() : (m.forEach((w) => {
|
|
269
|
+
w.complete ? c++ : w.addEventListener("load", () => {
|
|
270
|
+
c++, c === m.length && e();
|
|
271
|
+
});
|
|
272
|
+
}), c === m.length && e()), window.addEventListener("resize", e), () => {
|
|
269
273
|
window.removeEventListener("resize", e);
|
|
270
274
|
};
|
|
271
|
-
}), /* @__PURE__ */ s(
|
|
272
|
-
|
|
275
|
+
}, []), /* @__PURE__ */ s(
|
|
276
|
+
B,
|
|
273
277
|
{
|
|
274
|
-
ref:
|
|
275
|
-
limitTags:
|
|
276
|
-
limitTagsForMobile:
|
|
277
|
-
limitCards:
|
|
278
|
-
limitCardsForMobile:
|
|
278
|
+
ref: z,
|
|
279
|
+
limitTags: p,
|
|
280
|
+
limitTagsForMobile: f,
|
|
281
|
+
limitCards: x,
|
|
282
|
+
limitCardsForMobile: h,
|
|
279
283
|
children: [
|
|
280
284
|
/* @__PURE__ */ s("div", { className: "wrapper__heading", children: [
|
|
281
285
|
r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
|
|
282
286
|
o && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: o })
|
|
283
287
|
] }),
|
|
284
288
|
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, n) => /* @__PURE__ */ i(
|
|
285
|
-
|
|
289
|
+
q,
|
|
286
290
|
{
|
|
287
291
|
icon: e == null ? void 0 : e.icon,
|
|
288
292
|
text: e == null ? void 0 : e.title,
|
|
289
|
-
isActive: (e == null ? void 0 : e.code) ===
|
|
290
|
-
onSelectCard: () =>
|
|
293
|
+
isActive: (e == null ? void 0 : e.code) === N,
|
|
294
|
+
onSelectCard: () => _ == null ? void 0 : _(e)
|
|
291
295
|
},
|
|
292
296
|
`field-of-interests-masonry-tag__${n + 1}`
|
|
293
|
-
)) : (
|
|
294
|
-
|
|
297
|
+
)) : (v = Array.from("12345")) == null ? void 0 : v.map((e, n) => /* @__PURE__ */ i(
|
|
298
|
+
j,
|
|
295
299
|
{},
|
|
296
300
|
`field-of-interests-masonry-tag-skeleton__${n + 1}`
|
|
297
301
|
)) }),
|
|
298
302
|
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: a && (a == null ? void 0 : a.length) > 0 ? a == null ? void 0 : a.map((e, n) => /* @__PURE__ */ i(
|
|
299
|
-
|
|
303
|
+
R,
|
|
300
304
|
{
|
|
301
305
|
image: e == null ? void 0 : e.image,
|
|
302
306
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
303
307
|
title: e == null ? void 0 : e.title,
|
|
304
308
|
description: e == null ? void 0 : e.description,
|
|
305
|
-
onSelectCard: () =>
|
|
309
|
+
onSelectCard: () => g == null ? void 0 : g(e),
|
|
306
310
|
className: "wrapper__card"
|
|
307
311
|
},
|
|
308
312
|
`field-of-interests-with-tags-card__${n + 1}`
|
|
309
|
-
)) : (
|
|
310
|
-
|
|
313
|
+
)) : (y = Array.from("12345")) == null ? void 0 : y.map((e, n) => /* @__PURE__ */ i(
|
|
314
|
+
T,
|
|
311
315
|
{},
|
|
312
316
|
`field-of-interests-with-tags-card-skeleton__${n + 1}`
|
|
313
317
|
)) })
|
|
@@ -317,5 +321,5 @@ const E = p.div`
|
|
|
317
321
|
}
|
|
318
322
|
);
|
|
319
323
|
export {
|
|
320
|
-
|
|
324
|
+
Q as default
|
|
321
325
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),y=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./consts-goSZX3xP.cjs"),y=require("./utils-BWzf4vLl.cjs"),$=require("./index-D8lR_JKg.cjs"),c=h.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 11.625rem;
|
|
4
4
|
border-radius: 0.75rem;
|
|
@@ -2,8 +2,8 @@ import { jsx as t, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as g } from "react";
|
|
3
3
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as x } from "./consts-BuFChS64.js";
|
|
5
|
-
import { m as v, l as C } from "./utils-
|
|
6
|
-
import { S as F } from "./index-
|
|
5
|
+
import { m as v, l as C } from "./utils-BhG1dImS.js";
|
|
6
|
+
import { S as F } from "./index-BT4FT6f0.js";
|
|
7
7
|
const N = _.div`
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: 11.625rem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),p=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BWzf4vLl.cjs"),k=require("./Icon.cjs"),$=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./consts-goSZX3xP.cjs"),I=p.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as l } from "react";
|
|
3
3
|
import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import {
|
|
4
|
+
import { n as y, m as b, k as C, l as I } from "./utils-BhG1dImS.js";
|
|
5
5
|
import W from "./Icon.js";
|
|
6
6
|
import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
import { M as j } from "./consts-BuFChS64.js";
|
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("./index-BPVoEhTF.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),g=require("react"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./index-BPVoEhTF.cjs"),r=require("./utils-BWzf4vLl.cjs"),k=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=b.styled.label`
|
|
2
2
|
display: inline-flex;
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
width: 100%;
|
package/dist/FileInput.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as R, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as S, useState as g } from "react";
|
|
3
3
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { d as y, b as r, e as V, c as x, h as p } from "./utils-
|
|
5
|
+
import { d as y, b as r, e as V, c as x, h as p } from "./utils-BhG1dImS.js";
|
|
6
6
|
import { u as B } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const D = c.label`
|
|
8
8
|
display: inline-flex;
|
package/dist/FlexGridItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-
|
|
1
|
+
"use strict";const X=require("react/jsx-runtime"),i=require("react"),n=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-BWzf4vLl.cjs"),$=g.styled.div`
|
|
2
2
|
${s=>s.width>0?"":"flex: 1;"}
|
|
3
3
|
min-width: ${s=>100/s.columns}%;
|
|
4
4
|
width: ${s=>s.width}%;
|
package/dist/FlexGridItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as y } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as N, useState as S, useEffect as b } from "react";
|
|
3
3
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { u as M } from "./utils-
|
|
5
|
+
import { u as M } from "./utils-BhG1dImS.js";
|
|
6
6
|
const W = I.div`
|
|
7
7
|
${(t) => t.width > 0 ? "" : "flex: 1;"}
|
|
8
8
|
min-width: ${(t) => 100 / t.columns}%;
|
package/dist/FormField.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("./index-BPVoEhTF.cjs"),a=require("./emotion-styled.browser.esm-BtEseadx.cjs"),s=require("./utils-BWzf4vLl.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),g=a.styled.label`
|
|
2
2
|
display: block;
|
|
3
3
|
margin-bottom: 4px;
|
|
4
4
|
${e=>s.getComponentTypographyCss(e.theme,"FormField",e.size,"enabled")}
|
package/dist/FormField.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as b, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { P as l } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { c as i, b as n } from "./utils-
|
|
4
|
+
import { c as i, b as n } from "./utils-BhG1dImS.js";
|
|
5
5
|
import { u as g } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
6
|
const f = m.label`
|
|
7
7
|
display: block;
|
package/dist/FormView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),W=require("react"),r=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./FlexGrid.cjs"),M=require("./FlexGridItem.cjs"),b=require("./Button.cjs"),m=require("./IconButton.cjs"),Y=require("./TextInput.cjs"),U=require("./CheckBoxInput.cjs"),H=require("./RadioGroup.cjs"),J=require("./NumberInput.cjs"),K=require("./DecimalInput.cjs"),L=require("./PasswordInput.cjs"),Q=require("./TextAreaInput.cjs"),X=require("./TimeInput.cjs"),Z=require("./ColorInput.cjs"),z=require("./FileInput.cjs"),ee=require("./RangeSlider.cjs"),x=require("./utils-BWzf4vLl.cjs"),re=require("./FormField.cjs"),te=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),oe=g.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
`,se=g.styled.form`
|
package/dist/FormView.js
CHANGED
|
@@ -17,7 +17,7 @@ import X from "./TimeInput.js";
|
|
|
17
17
|
import Z from "./ColorInput.js";
|
|
18
18
|
import z from "./FileInput.js";
|
|
19
19
|
import ee from "./RangeSlider.js";
|
|
20
|
-
import { g as re, a as te, b as oe } from "./utils-
|
|
20
|
+
import { g as re, a as te, b as oe } from "./utils-BhG1dImS.js";
|
|
21
21
|
import ae from "./FormField.js";
|
|
22
22
|
import { u as ne } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
23
23
|
const ie = y.div`
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),d=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-goSZX3xP.cjs"),d=require("./utils-BWzf4vLl.cjs"),y=require("./Icon.cjs"),v=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=o.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
5
|
-
width: fit-content;
|
|
6
5
|
border-radius: 0.75rem;
|
|
7
6
|
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
8
7
|
background: var(--Lanaco-Gray-white, #fff);
|
|
@@ -211,4 +210,4 @@
|
|
|
211
210
|
gap: 1rem;
|
|
212
211
|
}
|
|
213
212
|
}
|
|
214
|
-
`,R=s.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:p=7,limitTagsForMobile:c=2,limit:g=3,limitForMobile:f=3,items:n=[],onSelectTag:
|
|
213
|
+
`,R=s.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:p=7,limitTagsForMobile:c=2,limit:g=3,limitForMobile:f=3,items:n=[],onSelectTag:_=()=>{},onSelectCard:h=()=>{},isLoading:u},b)=>{var w,x;return r.jsxs(G,{ref:b,limitTags:p,limitTagsForMobile:c,limitCards:g,limitCardsForMobile:f,children:[r.jsxs("div",{className:"wrapper__heading",children:[a&&r.jsx("div",{className:"wrapper__title",children:a}),i&&r.jsx("div",{className:"wrapper__subtitle",children:i})]}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,l)=>r.jsx(I,{imageUrl:e==null?void 0:e.imageUrl,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,onSelectCard:()=>{h==null||h(e)}},`general-with-tags-card__${l+1}`)):(w=Array.from("123"))==null?void 0:w.map((e,l)=>r.jsx(W,{},`general-with-tags-card-skeleton__${l+1}`))}),(t==null?void 0:t.length)>0&&r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,l)=>r.jsx(E,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>_==null?void 0:_(e)},`general-with-tags-card-tag__${l+1}`))}),u===!0&&!((t==null?void 0:t.length)>0)&&r.jsx("div",{className:"wrapper__tags",children:(x=Array.from("123"))==null?void 0:x.map((e,l)=>r.jsx(C,{},`general-with-tags-card-tag-skeleton__${l+1}`))})]})});module.exports=R;
|
|
@@ -2,14 +2,13 @@ import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as o } from "react";
|
|
3
3
|
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as d } from "./consts-BuFChS64.js";
|
|
5
|
-
import {
|
|
5
|
+
import { n as y, m as x, k, l as $ } from "./utils-BhG1dImS.js";
|
|
6
6
|
import N from "./Icon.js";
|
|
7
7
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const W = s.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
12
|
-
width: fit-content;
|
|
13
12
|
border-radius: 0.75rem;
|
|
14
13
|
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
15
14
|
background: var(--Lanaco-Gray-white, #fff);
|
|
@@ -250,7 +249,7 @@ const W = s.div`
|
|
|
250
249
|
},
|
|
251
250
|
isLoading: b
|
|
252
251
|
}, v) => {
|
|
253
|
-
var
|
|
252
|
+
var _, f;
|
|
254
253
|
return /* @__PURE__ */ m(
|
|
255
254
|
A,
|
|
256
255
|
{
|
|
@@ -275,7 +274,7 @@ const W = s.div`
|
|
|
275
274
|
}
|
|
276
275
|
},
|
|
277
276
|
`general-with-tags-card__${l + 1}`
|
|
278
|
-
)) : (
|
|
277
|
+
)) : (_ = Array.from("123")) == null ? void 0 : _.map((e, l) => /* @__PURE__ */ a(
|
|
279
278
|
M,
|
|
280
279
|
{},
|
|
281
280
|
`general-with-tags-card-skeleton__${l + 1}`
|
|
@@ -289,7 +288,7 @@ const W = s.div`
|
|
|
289
288
|
},
|
|
290
289
|
`general-with-tags-card-tag__${l + 1}`
|
|
291
290
|
)) }),
|
|
292
|
-
b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (
|
|
291
|
+
b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (f = Array.from("123")) == null ? void 0 : f.map((e, l) => /* @__PURE__ */ a(
|
|
293
292
|
z,
|
|
294
293
|
{},
|
|
295
294
|
`general-with-tags-card-tag-skeleton__${l + 1}`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-B8wrlDzY.cjs"),o=require("./utils-BWzf4vLl.cjs"),j=require("./Button.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),S=c.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
package/dist/GiftCardsSection.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
|
|
4
|
-
import { R as k } from "./style-
|
|
5
|
-
import { m as b,
|
|
4
|
+
import { R as k } from "./style-R2KgPcrd.js";
|
|
5
|
+
import { m as b, o as G, G as S, k as u } from "./utils-BhG1dImS.js";
|
|
6
6
|
import N from "./Button.js";
|
|
7
7
|
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { M as $ } from "./consts-BuFChS64.js";
|
package/dist/Icon.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-BWzf4vLl.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),I=P.styled.span`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
${e=>e.sizeInUnits&&e.sizeInUnits!=""?`font-size: ${e.sizeInUnits}`:o.getComponentTypographyCss(e.theme,"Icon",e.size,"enabled")};
|
|
4
4
|
${e=>e.color&&`color: ${o.getColorRgbaValue(e.theme,"Icon",e.color,"enabled","icon")}`};
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as z } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as b, b as h } from "./utils-
|
|
5
|
+
import { c as b, b as h } from "./utils-BhG1dImS.js";
|
|
6
6
|
import { u as p } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const $ = I.span`
|
|
8
8
|
box-sizing: border-box;
|
package/dist/IconButton.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./utils-BWzf4vLl.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),m=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
package/dist/IconButton.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as S, isValidElement as N } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { c as $, b as t, d as n, e as B, h as f, a as V } from "./utils-
|
|
5
|
+
import { c as $, b as t, d as n, e as B, h as f, a as V } from "./utils-BhG1dImS.js";
|
|
6
6
|
import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const k = (e) => `
|
|
8
8
|
outline: none;
|