@lanaco/lnc-react-ui 4.0.84 → 4.0.85
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 +1 -1
- package/dist/BlogCardsSponsoredSection.js +3 -3
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +3 -3
- 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 +6 -6
- package/dist/BlogsSectionDetailed.js +65 -62
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +2 -2
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +2 -2
- package/dist/BlogsSectionWithFilters.js +37 -34
- 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 +2 -2
- package/dist/CalorieCalculatorSection.js +2 -2
- 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 +2 -2
- package/dist/{CustomStyles-ZBxlReAi.js → CustomStyles-BEn7PPUw.js} +1 -1
- package/dist/{CustomStyles-ChA_393q.cjs → CustomStyles-CraIxsuq.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 +1 -1
- package/dist/DetailedProductsSection.js +3 -3
- 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 +1 -1
- package/dist/FieldOfInterestsMasonrySection.js +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +1 -1
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +2 -2
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +12 -7
- package/dist/FieldOfInterestsWithTagsCardsSection.js +41 -36
- 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 +17 -12
- package/dist/GeneralWithTagsCardsSection.js +32 -27
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- 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 +1 -1
- package/dist/Kanban.js +1 -1
- 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 +6 -6
- package/dist/MasonryGeneralCardsSection.js +44 -46
- 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 +7 -5
- package/dist/OverlayGeneralCardsSection.js +12 -10
- 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 +2 -2
- 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 +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 +2 -2
- 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-m9SN4CZC.js → index-0gMMorgT.js} +2 -2
- package/dist/{index-DXmajb7F.js → index-B-rMBqRZ.js} +1 -1
- package/dist/{index-CfA579i2.cjs → index-BAcDCJ__.cjs} +1 -1
- package/dist/{index-baEuidT3.js → index-BH4xYvWX.js} +1 -1
- package/dist/{index-D0Cl3mpJ.js → index-BmmUDFl9.js} +1 -1
- package/dist/{index-BLxkXrqU.js → index-CAUvgabx.js} +1 -1
- package/dist/{index-Dy-o153l.cjs → index-CLi5dmE8.cjs} +1 -1
- package/dist/{index-CAqPGuiA.cjs → index-CrQCfnN4.cjs} +1 -1
- package/dist/{index-bTSzxSNK.js → index-CsE-jpuG.js} +2 -2
- package/dist/{index-ryadTWiS.cjs → index-Dh4_OKr4.cjs} +1 -1
- package/dist/{index-ZbylnHR8.cjs → index-NPoFvaOb.cjs} +1 -1
- package/dist/{index-Q6GmUkJx.cjs → index-qJdP9Qj_.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-CfSTJ_9L.js → skeleton-BAFYFLzF.js} +1 -1
- package/dist/{skeleton-iQWpOw9K.js → skeleton-Cwiuzfm-.js} +2 -2
- package/dist/{skeleton-CtJG0_SN.cjs → skeleton-UZpd11NH.cjs} +1 -1
- package/dist/{skeleton-D0bLAwfj.cjs → skeleton-h_BqlhwR.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-o7JK0fA4.cjs → suspense-categories-card-simple-CHf0Facw.cjs} +1 -1
- package/dist/{suspense-categories-card-simple-Tiure3NX.js → suspense-categories-card-simple-Dur5FfBL.js} +1 -1
- package/dist/{suspense-large-v60EOiID.cjs → suspense-large-BuLLKfkY.cjs} +1 -1
- package/dist/{suspense-large-CQpNiB26.js → suspense-large-CzEWIMbY.js} +1 -1
- package/dist/{suspense-product-card-detailed-DDXuOKib.js → suspense-product-card-detailed-BeCtuxgb.js} +2 -2
- package/dist/{suspense-product-card-detailed-D490oqXC.cjs → suspense-product-card-detailed-DMGdY--Y.cjs} +1 -1
- package/dist/{suspense-product-card-simple-CQxB1MF4.cjs → suspense-product-card-simple-D0rKjnJ9.cjs} +1 -1
- package/dist/{suspense-product-card-simple-fSvde3aM.js → suspense-product-card-simple-Rm_eNQQM.js} +1 -1
- package/dist/{utils-DCs-SbIv.js → utils-ChqiSgoC.js} +7 -7
- package/dist/{utils-BXPz9bck.cjs → utils-Cz7P2Zok.cjs} +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),p=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),l=require("./utils-Cz7P2Zok.cjs"),b=require("./Icon.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),k=require("./consts-CtNoHdBj.cjs"),$=m.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -65,11 +65,13 @@
|
|
|
65
65
|
background: ${l.linearGradientAnimation("-90deg")};
|
|
66
66
|
`,I=m.styled.div`
|
|
67
67
|
display: flex;
|
|
68
|
-
padding: 0 0.
|
|
68
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
69
69
|
align-items: center;
|
|
70
70
|
justify-content: center;
|
|
71
|
-
background: var(--neutral-
|
|
71
|
+
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
72
72
|
border-radius: 999px;
|
|
73
|
+
min-width: 2.75rem;
|
|
74
|
+
min-height: 2.75rem;
|
|
73
75
|
|
|
74
76
|
&:hover {
|
|
75
77
|
cursor: pointer;
|
|
@@ -79,11 +81,14 @@
|
|
|
79
81
|
font-size: 1.75rem;
|
|
80
82
|
color: var(--gray-950, #14161a);
|
|
81
83
|
border-radius: 999px;
|
|
82
|
-
|
|
83
|
-
height: 2.75rem;
|
|
84
|
+
margin-left: -0.5rem;
|
|
84
85
|
|
|
85
86
|
& i {
|
|
86
87
|
width: auto;
|
|
88
|
+
|
|
89
|
+
&::after {
|
|
90
|
+
margin-left: 0;
|
|
91
|
+
}
|
|
87
92
|
}
|
|
88
93
|
}
|
|
89
94
|
|
|
@@ -112,7 +117,7 @@
|
|
|
112
117
|
height: 3rem;
|
|
113
118
|
border-radius: 999px;
|
|
114
119
|
background: ${l.linearGradientAnimation("-90deg")};
|
|
115
|
-
`,W=p.forwardRef(({},i)=>r.jsx(C,{})),F=p.forwardRef(({name:i,isActive:n,icon:t,onSelectCard:a=()=>{}},
|
|
120
|
+
`,W=p.forwardRef(({},i)=>r.jsx(C,{})),F=p.forwardRef(({name:i,isActive:n,icon:t,onSelectCard:a=()=>{}},f)=>r.jsxs(I,{className:n?"active":"",onClick:a,children:[l.isDefinedNotEmptyString(t)&&r.jsx(b,{icon:t,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:i})]})),R=p.forwardRef(({image:i,imageComponent:n,name:t,description:a,onSelectCard:f=()=>{}},u)=>{const{theme:d}=j.useTheme();return r.jsxs($,{theme:d,onClick:f,children:[l.isDefined(n)?n: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})]})]})}),q=p.forwardRef(({},i)=>r.jsx(N,{})),z=m.styled.div`
|
|
116
121
|
display: flex;
|
|
117
122
|
flex-direction: column;
|
|
118
123
|
align-items: center;
|
|
@@ -186,4 +191,4 @@
|
|
|
186
191
|
gap: 1rem;
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
|
-
`,O=p.forwardRef(({title:i,subtitle:n,tags:t=[],limitTags:a=7,limitTagsForMobile:
|
|
194
|
+
`,O=p.forwardRef(({title:i,subtitle:n,tags:t=[],limitTags:a=7,limitTagsForMobile:f=7,limit:u=3,limitForMobile:d=2,items:s=[],selectedTag:c,onSelectTag:_=()=>{},onSelectCard:h=()=>{},getImage:y=()=>{}},A)=>{var g,v;const w=e=>{_==null||_(e)},x=e=>{h==null||h(e)};return r.jsxs(z,{limitTags:a,limitTagsForMobile:f,limitCards:u,limitCardsForMobile:d,children:[r.jsxs("div",{className:"wrapper__heading",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__subtitle",children:n})]}),r.jsx("div",{className:"wrapper__tags",children:t&&(t==null?void 0:t.length)>0?t==null?void 0:t.map((e,o)=>r.jsx(F,{icon:e==null?void 0:e.icon,name:e==null?void 0:e.name,isActive:(e==null?void 0:e.uuid)===(c==null?void 0:c.uuid),onSelectCard:()=>w==null?void 0:w(e)},`field-of-interests-with-tags-card-tag__${o+1}`)):(g=Array.from("123"))==null?void 0:g.map((e,o)=>r.jsx(W,{},`field-of-interests-with-tags-card-tag-skeleton__${o+1}`))}),r.jsx("div",{className:"wrapper__cards",children:s&&(s==null?void 0:s.length)>0?s==null?void 0:s.map((e,o)=>r.jsx(R,{image:y(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid),imageComponent:e==null?void 0:e.imageComponent,name:e==null?void 0:e.name,description:(e==null?void 0:e.shortDescription)||(e==null?void 0:e.description),onSelectCard:()=>x==null?void 0:x(e)},`field-of-interests-with-tags-card__${o+1}`)):(v=Array.from("123"))==null?void 0:v.map((e,o)=>r.jsx(q,{},`field-of-interests-with-tags-card-skeleton__${o+1}`))})]})});module.exports=O;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as p } from "react";
|
|
3
3
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
-
import { t as y, m as b, l as
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { M as
|
|
8
|
-
const
|
|
4
|
+
import { t as y, m as b, k as $, l as N } from "./utils-ChqiSgoC.js";
|
|
5
|
+
import C from "./Icon.js";
|
|
6
|
+
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
import { M as W } from "./consts-C1uHV4xc.js";
|
|
8
|
+
const F = m.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -65,18 +65,20 @@ const W = m.div`
|
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
`,
|
|
68
|
+
`, j = m.div`
|
|
69
69
|
width: 100%;
|
|
70
70
|
height: 11.625rem;
|
|
71
71
|
border-radius: 0.75rem;
|
|
72
72
|
background: ${b("-90deg")};
|
|
73
|
-
`,
|
|
73
|
+
`, z = m.div`
|
|
74
74
|
display: flex;
|
|
75
|
-
padding: 0 0.
|
|
75
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
76
76
|
align-items: center;
|
|
77
77
|
justify-content: center;
|
|
78
|
-
background: var(--neutral-
|
|
78
|
+
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
79
79
|
border-radius: 999px;
|
|
80
|
+
min-width: 2.75rem;
|
|
81
|
+
min-height: 2.75rem;
|
|
80
82
|
|
|
81
83
|
&:hover {
|
|
82
84
|
cursor: pointer;
|
|
@@ -86,11 +88,14 @@ const W = m.div`
|
|
|
86
88
|
font-size: 1.75rem;
|
|
87
89
|
color: var(--gray-950, #14161a);
|
|
88
90
|
border-radius: 999px;
|
|
89
|
-
|
|
90
|
-
height: 2.75rem;
|
|
91
|
+
margin-left: -0.5rem;
|
|
91
92
|
|
|
92
93
|
& i {
|
|
93
94
|
width: auto;
|
|
95
|
+
|
|
96
|
+
&::after {
|
|
97
|
+
margin-left: 0;
|
|
98
|
+
}
|
|
94
99
|
}
|
|
95
100
|
}
|
|
96
101
|
|
|
@@ -114,30 +119,30 @@ const W = m.div`
|
|
|
114
119
|
color: var(--white, #fff);
|
|
115
120
|
}
|
|
116
121
|
}
|
|
117
|
-
`,
|
|
122
|
+
`, O = m.div`
|
|
118
123
|
width: 7rem;
|
|
119
124
|
height: 3rem;
|
|
120
125
|
border-radius: 999px;
|
|
121
126
|
background: ${b("-90deg")};
|
|
122
|
-
`,
|
|
127
|
+
`, A = p(({}, r) => /* @__PURE__ */ i(O, {})), E = p(
|
|
123
128
|
({ name: r, isActive: n, icon: t, onSelectCard: s = () => {
|
|
124
|
-
} }, f) => /* @__PURE__ */ l(
|
|
125
|
-
/* @__PURE__ */ i(
|
|
129
|
+
} }, f) => /* @__PURE__ */ l(z, { className: n ? "active" : "", onClick: s, children: [
|
|
130
|
+
$(t) && /* @__PURE__ */ i(C, { icon: t, className: "wrapper__icon" }),
|
|
126
131
|
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
127
132
|
] })
|
|
128
133
|
), M = p(
|
|
129
134
|
({ image: r, imageComponent: n, name: t, description: s, onSelectCard: f = () => {
|
|
130
135
|
} }, u) => {
|
|
131
|
-
const { theme: d } =
|
|
132
|
-
return /* @__PURE__ */ l(
|
|
133
|
-
|
|
136
|
+
const { theme: d } = I();
|
|
137
|
+
return /* @__PURE__ */ l(F, { theme: d, onClick: f, children: [
|
|
138
|
+
N(n) ? n : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
134
139
|
/* @__PURE__ */ l("div", { className: "wrapper__content", children: [
|
|
135
140
|
t && /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }),
|
|
136
141
|
s && /* @__PURE__ */ i("div", { className: "wrapper__description", children: s })
|
|
137
142
|
] })
|
|
138
143
|
] });
|
|
139
144
|
}
|
|
140
|
-
),
|
|
145
|
+
), D = p(({}, r) => /* @__PURE__ */ i(j, {})), G = m.div`
|
|
141
146
|
display: flex;
|
|
142
147
|
flex-direction: column;
|
|
143
148
|
align-items: center;
|
|
@@ -185,7 +190,7 @@ const W = m.div`
|
|
|
185
190
|
width: 100%;
|
|
186
191
|
}
|
|
187
192
|
|
|
188
|
-
@media (max-width: ${
|
|
193
|
+
@media (max-width: ${W + "px"}) {
|
|
189
194
|
& .wrapper__tags {
|
|
190
195
|
overflow-x: scroll;
|
|
191
196
|
justify-content: flex-start;
|
|
@@ -211,7 +216,7 @@ const W = m.div`
|
|
|
211
216
|
gap: 1rem;
|
|
212
217
|
}
|
|
213
218
|
}
|
|
214
|
-
`,
|
|
219
|
+
`, q = p(
|
|
215
220
|
({
|
|
216
221
|
title: r,
|
|
217
222
|
subtitle: n,
|
|
@@ -220,7 +225,7 @@ const W = m.div`
|
|
|
220
225
|
limitTagsForMobile: f = 7,
|
|
221
226
|
limit: u = 3,
|
|
222
227
|
limitForMobile: d = 2,
|
|
223
|
-
items:
|
|
228
|
+
items: a = [],
|
|
224
229
|
selectedTag: c,
|
|
225
230
|
onSelectTag: h = () => {
|
|
226
231
|
},
|
|
@@ -228,7 +233,7 @@ const W = m.div`
|
|
|
228
233
|
},
|
|
229
234
|
getImage: k = () => {
|
|
230
235
|
}
|
|
231
|
-
},
|
|
236
|
+
}, L) => {
|
|
232
237
|
var x, v;
|
|
233
238
|
const w = (e) => {
|
|
234
239
|
h == null || h(e);
|
|
@@ -236,7 +241,7 @@ const W = m.div`
|
|
|
236
241
|
_ == null || _(e);
|
|
237
242
|
};
|
|
238
243
|
return /* @__PURE__ */ l(
|
|
239
|
-
|
|
244
|
+
G,
|
|
240
245
|
{
|
|
241
246
|
limitTags: s,
|
|
242
247
|
limitTagsForMobile: f,
|
|
@@ -247,21 +252,21 @@ const W = m.div`
|
|
|
247
252
|
r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
|
|
248
253
|
n && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: n })
|
|
249
254
|
] }),
|
|
250
|
-
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e,
|
|
251
|
-
|
|
255
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, o) => /* @__PURE__ */ i(
|
|
256
|
+
E,
|
|
252
257
|
{
|
|
253
258
|
icon: e == null ? void 0 : e.icon,
|
|
254
259
|
name: e == null ? void 0 : e.name,
|
|
255
260
|
isActive: (e == null ? void 0 : e.uuid) === (c == null ? void 0 : c.uuid),
|
|
256
261
|
onSelectCard: () => w == null ? void 0 : w(e)
|
|
257
262
|
},
|
|
258
|
-
`field-of-interests-with-tags-card-tag__${
|
|
259
|
-
)) : (x = Array.from("123")) == null ? void 0 : x.map((e,
|
|
260
|
-
|
|
263
|
+
`field-of-interests-with-tags-card-tag__${o + 1}`
|
|
264
|
+
)) : (x = Array.from("123")) == null ? void 0 : x.map((e, o) => /* @__PURE__ */ i(
|
|
265
|
+
A,
|
|
261
266
|
{},
|
|
262
|
-
`field-of-interests-with-tags-card-tag-skeleton__${
|
|
267
|
+
`field-of-interests-with-tags-card-tag-skeleton__${o + 1}`
|
|
263
268
|
)) }),
|
|
264
|
-
/* @__PURE__ */ i("div", { className: "wrapper__cards", children:
|
|
269
|
+
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: a && (a == null ? void 0 : a.length) > 0 ? a == null ? void 0 : a.map((e, o) => /* @__PURE__ */ i(
|
|
265
270
|
M,
|
|
266
271
|
{
|
|
267
272
|
image: k(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid),
|
|
@@ -270,11 +275,11 @@ const W = m.div`
|
|
|
270
275
|
description: (e == null ? void 0 : e.shortDescription) || (e == null ? void 0 : e.description),
|
|
271
276
|
onSelectCard: () => g == null ? void 0 : g(e)
|
|
272
277
|
},
|
|
273
|
-
`field-of-interests-with-tags-card__${
|
|
274
|
-
)) : (v = Array.from("123")) == null ? void 0 : v.map((e,
|
|
275
|
-
|
|
278
|
+
`field-of-interests-with-tags-card__${o + 1}`
|
|
279
|
+
)) : (v = Array.from("123")) == null ? void 0 : v.map((e, o) => /* @__PURE__ */ i(
|
|
280
|
+
D,
|
|
276
281
|
{},
|
|
277
|
-
`field-of-interests-with-tags-card-skeleton__${
|
|
282
|
+
`field-of-interests-with-tags-card-skeleton__${o + 1}`
|
|
278
283
|
)) })
|
|
279
284
|
]
|
|
280
285
|
}
|
|
@@ -282,5 +287,5 @@ const W = m.div`
|
|
|
282
287
|
}
|
|
283
288
|
);
|
|
284
289
|
export {
|
|
285
|
-
|
|
290
|
+
q as default
|
|
286
291
|
};
|
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-Cz7P2Zok.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-ChqiSgoC.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-Cz7P2Zok.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-ChqiSgoC.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-Cz7P2Zok.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-ChqiSgoC.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-Cz7P2Zok.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-ChqiSgoC.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),m=require("./consts-CtNoHdBj.cjs"),d=require("./utils-Cz7P2Zok.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;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
font-style: normal;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
line-height: 1.5rem;
|
|
40
|
-
${
|
|
40
|
+
${d.truncateTextInRows(2)}
|
|
41
41
|
transition: var(--transition, all 0.2s ease);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
@media (max-width: ${
|
|
55
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
56
56
|
background: transparent;
|
|
57
57
|
border: none;
|
|
58
58
|
box-shadow: none;
|
|
@@ -78,16 +78,16 @@
|
|
|
78
78
|
width: 100%;
|
|
79
79
|
height: 11.625rem;
|
|
80
80
|
border-radius: 0.75rem;
|
|
81
|
-
background: ${
|
|
81
|
+
background: ${d.linearGradientAnimation("-90deg")};
|
|
82
82
|
|
|
83
|
-
@media (max-width: ${
|
|
83
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
84
84
|
width: 5rem;
|
|
85
85
|
height: 5rem;
|
|
86
86
|
border-radius: 999px;
|
|
87
87
|
}
|
|
88
88
|
`,$=o.styled.div`
|
|
89
89
|
display: flex;
|
|
90
|
-
padding: 0 0.5rem 0 0;
|
|
90
|
+
padding: 0 0.5rem 0 0.5rem;
|
|
91
91
|
align-items: center;
|
|
92
92
|
justify-content: center;
|
|
93
93
|
background: var(--white, #fff);
|
|
@@ -105,9 +105,14 @@
|
|
|
105
105
|
border-radius: 999px;
|
|
106
106
|
width: 2.5rem;
|
|
107
107
|
height: 2.5rem;
|
|
108
|
+
margin-left: -0.5rem;
|
|
108
109
|
|
|
109
110
|
& i {
|
|
110
111
|
width: auto;
|
|
112
|
+
|
|
113
|
+
&::after {
|
|
114
|
+
margin-left: 0;
|
|
115
|
+
}
|
|
111
116
|
}
|
|
112
117
|
}
|
|
113
118
|
|
|
@@ -120,17 +125,17 @@
|
|
|
120
125
|
letter-spacing: -0.09px;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
|
-
@media (max-width: ${
|
|
128
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
124
129
|
& .wrapper__text {
|
|
125
130
|
white-space: nowrap;
|
|
126
131
|
}
|
|
127
132
|
}
|
|
128
|
-
`,
|
|
133
|
+
`,N=o.styled.div`
|
|
129
134
|
width: 7rem;
|
|
130
135
|
height: 3rem;
|
|
131
136
|
border-radius: 999px;
|
|
132
|
-
background: ${
|
|
133
|
-
`,
|
|
137
|
+
background: ${d.linearGradientAnimation("-90deg")};
|
|
138
|
+
`,C=l.forwardRef(({},a)=>r.jsx(N,{})),E=l.forwardRef(({title:a,icon:i,onSelectCard:t=()=>{}},p)=>r.jsxs($,{onClick:t,children:[d.isDefinedNotEmptyString(i)&&r.jsx(y,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:a})]})),I=l.forwardRef(({imageUrl:a,imageComponent:i,title:t,onSelectCard:p=()=>{}},c)=>{const{theme:g}=v.useTheme();return r.jsxs(j,{ref:c,theme:g,onClick:p,children:[d.isDefined(i)?i:r.jsx("img",{src:a,className:"wrapper__image"}),r.jsx("div",{className:"wrapper__content",children:r.jsx("div",{className:"wrapper__title",children:t})})]})}),W=l.forwardRef(({},a)=>r.jsx(k,{})),G=o.styled.div`
|
|
134
139
|
display: flex;
|
|
135
140
|
flex-direction: column;
|
|
136
141
|
align-items: center;
|
|
@@ -179,7 +184,7 @@
|
|
|
179
184
|
width: 100%;
|
|
180
185
|
}
|
|
181
186
|
|
|
182
|
-
@media (max-width: ${
|
|
187
|
+
@media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
|
|
183
188
|
& .wrapper__tags {
|
|
184
189
|
display: flex;
|
|
185
190
|
flex-wrap: nowrap;
|
|
@@ -207,4 +212,4 @@
|
|
|
207
212
|
gap: 1rem;
|
|
208
213
|
}
|
|
209
214
|
}
|
|
210
|
-
`,R=l.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:
|
|
215
|
+
`,R=l.forwardRef(({title:a,subtitle:i,options:t=[],limitTags:p=7,limitTagsForMobile:c=2,limit:g=3,limitForMobile:f=3,items:n=[],onSelectTag:h=()=>{},onSelectCard:_=()=>{},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,s)=>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:()=>{_==null||_(e)}},`general-with-tags-card__${s+1}`)):(w=Array.from("123"))==null?void 0:w.map((e,s)=>r.jsx(W,{},`general-with-tags-card-skeleton__${s+1}`))}),(t==null?void 0:t.length)>0&&r.jsx("div",{className:"wrapper__tags",children:t==null?void 0:t.map((e,s)=>r.jsx(E,{icon:e==null?void 0:e.icon,title:e==null?void 0:e.title,onSelectCard:()=>h==null?void 0:h(e)},`general-with-tags-card-tag__${s+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,s)=>r.jsx(C,{},`general-with-tags-card-tag-skeleton__${s+1}`))})]})});module.exports=R;
|
|
@@ -2,10 +2,10 @@ 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-C1uHV4xc.js";
|
|
5
|
-
import { t as y, m as x, l as
|
|
6
|
-
import
|
|
5
|
+
import { t as y, m as x, k, l as $ } from "./utils-ChqiSgoC.js";
|
|
6
|
+
import N from "./Icon.js";
|
|
7
7
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const
|
|
8
|
+
const W = s.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -81,7 +81,7 @@ const N = s.div`
|
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
`,
|
|
84
|
+
`, j = s.div`
|
|
85
85
|
width: 100%;
|
|
86
86
|
height: 11.625rem;
|
|
87
87
|
border-radius: 0.75rem;
|
|
@@ -92,9 +92,9 @@ const N = s.div`
|
|
|
92
92
|
height: 5rem;
|
|
93
93
|
border-radius: 999px;
|
|
94
94
|
}
|
|
95
|
-
`,
|
|
95
|
+
`, G = s.div`
|
|
96
96
|
display: flex;
|
|
97
|
-
padding: 0 0.5rem 0 0;
|
|
97
|
+
padding: 0 0.5rem 0 0.5rem;
|
|
98
98
|
align-items: center;
|
|
99
99
|
justify-content: center;
|
|
100
100
|
background: var(--white, #fff);
|
|
@@ -112,9 +112,14 @@ const N = s.div`
|
|
|
112
112
|
border-radius: 999px;
|
|
113
113
|
width: 2.5rem;
|
|
114
114
|
height: 2.5rem;
|
|
115
|
+
margin-left: -0.5rem;
|
|
115
116
|
|
|
116
117
|
& i {
|
|
117
118
|
width: auto;
|
|
119
|
+
|
|
120
|
+
&::after {
|
|
121
|
+
margin-left: 0;
|
|
122
|
+
}
|
|
118
123
|
}
|
|
119
124
|
}
|
|
120
125
|
|
|
@@ -132,28 +137,28 @@ const N = s.div`
|
|
|
132
137
|
white-space: nowrap;
|
|
133
138
|
}
|
|
134
139
|
}
|
|
135
|
-
`,
|
|
140
|
+
`, T = s.div`
|
|
136
141
|
width: 7rem;
|
|
137
142
|
height: 3rem;
|
|
138
143
|
border-radius: 999px;
|
|
139
144
|
background: ${x("-90deg")};
|
|
140
|
-
`,
|
|
145
|
+
`, z = o(({}, r) => /* @__PURE__ */ a(T, {})), I = o(
|
|
141
146
|
({ title: r, icon: i, onSelectCard: t = () => {
|
|
142
|
-
} }, p) => /* @__PURE__ */ m(
|
|
143
|
-
/* @__PURE__ */ a(
|
|
147
|
+
} }, p) => /* @__PURE__ */ m(G, { onClick: t, children: [
|
|
148
|
+
k(i) && /* @__PURE__ */ a(N, { icon: i, className: "wrapper__icon" }),
|
|
144
149
|
/* @__PURE__ */ a("div", { className: "wrapper__text", children: r })
|
|
145
150
|
] })
|
|
146
|
-
),
|
|
151
|
+
), E = o(
|
|
147
152
|
// eslint-disable-next-line react/prop-types
|
|
148
153
|
({ imageUrl: r, imageComponent: i, title: t, onSelectCard: p = () => {
|
|
149
154
|
} }, c) => {
|
|
150
|
-
const { theme:
|
|
151
|
-
return /* @__PURE__ */ m(
|
|
152
|
-
|
|
155
|
+
const { theme: g } = C();
|
|
156
|
+
return /* @__PURE__ */ m(W, { ref: c, theme: g, onClick: p, children: [
|
|
157
|
+
$(i) ? i : /* @__PURE__ */ a("img", { src: r, className: "wrapper__image" }),
|
|
153
158
|
/* @__PURE__ */ a("div", { className: "wrapper__content", children: /* @__PURE__ */ a("div", { className: "wrapper__title", children: t }) })
|
|
154
159
|
] });
|
|
155
160
|
}
|
|
156
|
-
), M = o(({}, r) => /* @__PURE__ */ a(
|
|
161
|
+
), M = o(({}, r) => /* @__PURE__ */ a(j, {})), A = s.div`
|
|
157
162
|
display: flex;
|
|
158
163
|
flex-direction: column;
|
|
159
164
|
align-items: center;
|
|
@@ -237,23 +242,23 @@ const N = s.div`
|
|
|
237
242
|
options: t = [],
|
|
238
243
|
limitTags: p = 7,
|
|
239
244
|
limitTagsForMobile: c = 2,
|
|
240
|
-
limit:
|
|
245
|
+
limit: g = 3,
|
|
241
246
|
limitForMobile: u = 3,
|
|
242
247
|
items: n = [],
|
|
243
|
-
onSelectTag:
|
|
248
|
+
onSelectTag: h = () => {
|
|
244
249
|
},
|
|
245
|
-
onSelectCard:
|
|
250
|
+
onSelectCard: f = () => {
|
|
246
251
|
},
|
|
247
252
|
isLoading: b
|
|
248
253
|
}, v) => {
|
|
249
|
-
var
|
|
254
|
+
var w, _;
|
|
250
255
|
return /* @__PURE__ */ m(
|
|
251
256
|
A,
|
|
252
257
|
{
|
|
253
258
|
ref: v,
|
|
254
259
|
limitTags: p,
|
|
255
260
|
limitTagsForMobile: c,
|
|
256
|
-
limitCards:
|
|
261
|
+
limitCards: g,
|
|
257
262
|
limitCardsForMobile: u,
|
|
258
263
|
children: [
|
|
259
264
|
/* @__PURE__ */ m("div", { className: "wrapper__heading", children: [
|
|
@@ -261,32 +266,32 @@ const N = s.div`
|
|
|
261
266
|
i && /* @__PURE__ */ a("div", { className: "wrapper__subtitle", children: i })
|
|
262
267
|
] }),
|
|
263
268
|
/* @__PURE__ */ a("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, l) => /* @__PURE__ */ a(
|
|
264
|
-
|
|
269
|
+
E,
|
|
265
270
|
{
|
|
266
271
|
imageUrl: e == null ? void 0 : e.imageUrl,
|
|
267
272
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
268
273
|
title: e == null ? void 0 : e.title,
|
|
269
274
|
onSelectCard: () => {
|
|
270
|
-
|
|
275
|
+
f == null || f(e);
|
|
271
276
|
}
|
|
272
277
|
},
|
|
273
278
|
`general-with-tags-card__${l + 1}`
|
|
274
|
-
)) : (
|
|
279
|
+
)) : (w = Array.from("123")) == null ? void 0 : w.map((e, l) => /* @__PURE__ */ a(
|
|
275
280
|
M,
|
|
276
281
|
{},
|
|
277
282
|
`general-with-tags-card-skeleton__${l + 1}`
|
|
278
283
|
)) }),
|
|
279
284
|
(t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: t == null ? void 0 : t.map((e, l) => /* @__PURE__ */ a(
|
|
280
|
-
|
|
285
|
+
I,
|
|
281
286
|
{
|
|
282
287
|
icon: e == null ? void 0 : e.icon,
|
|
283
288
|
title: e == null ? void 0 : e.title,
|
|
284
|
-
onSelectCard: () =>
|
|
289
|
+
onSelectCard: () => h == null ? void 0 : h(e)
|
|
285
290
|
},
|
|
286
291
|
`general-with-tags-card-tag__${l + 1}`
|
|
287
292
|
)) }),
|
|
288
|
-
b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (
|
|
289
|
-
|
|
293
|
+
b === !0 && !((t == null ? void 0 : t.length) > 0) && /* @__PURE__ */ a("div", { className: "wrapper__tags", children: (_ = Array.from("123")) == null ? void 0 : _.map((e, l) => /* @__PURE__ */ a(
|
|
294
|
+
z,
|
|
290
295
|
{},
|
|
291
296
|
`general-with-tags-card-tag-skeleton__${l + 1}`
|
|
292
297
|
)) })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-D6d5LpdL.cjs"),v=require("./style-C571ywKV.cjs"),n=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-D6d5LpdL.cjs"),v=require("./style-C571ywKV.cjs"),n=require("./utils-Cz7P2Zok.cjs"),j=require("./Button.cjs"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-CtNoHdBj.cjs"),S=s.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
package/dist/GiftCardsSection.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { u as C } from "./useDetectMobile-BC6EGaBc.js";
|
|
4
4
|
import { R as k } from "./style-CsMpu4iC.js";
|
|
5
|
-
import { m as b, n as G, G as S, k as u } from "./utils-
|
|
5
|
+
import { m as b, n as G, G as S, k as u } from "./utils-ChqiSgoC.js";
|
|
6
6
|
import N from "./Button.js";
|
|
7
7
|
import { s as d } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { M as $ } from "./consts-C1uHV4xc.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-Cz7P2Zok.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-ChqiSgoC.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-Cz7P2Zok.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-ChqiSgoC.js";
|
|
6
6
|
import { u as j } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const k = (e) => `
|
|
8
8
|
outline: none;
|