@lanaco/lnc-react-ui 4.0.93 → 4.0.95
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 +16 -2
- package/dist/BannerSectionCarousel.js +16 -1
- package/dist/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +4 -3
- package/dist/BlogCardsSponsoredSection.js +4 -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 +2 -2
- package/dist/BlogsSectionDetailed.js +4 -3
- package/dist/BlogsSectionLarge.cjs +1 -1
- package/dist/BlogsSectionLarge.js +2 -2
- package/dist/BlogsSectionSimple.cjs +5 -5
- package/dist/BlogsSectionSimple.js +22 -21
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +4 -4
- 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-DYULk9y7.js → CustomStyles-9CHBrzIM.js} +1 -1
- package/dist/{CustomStyles-Uqkz9jDo.cjs → CustomStyles-BoYYyJVV.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 +4 -4
- 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 +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +32 -8
- package/dist/FieldOfInterestsMasonrySection.js +83 -59
- 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 +3 -3
- package/dist/GeneralWithTagsCardsSection.js +3 -3
- package/dist/GiftCardsSection.cjs +4 -4
- package/dist/GiftCardsSection.js +30 -29
- 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 +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 +4 -4
- package/dist/NumberInput.js +79 -79
- package/dist/OverlayGeneralCardsSection.cjs +2 -2
- package/dist/OverlayGeneralCardsSection.js +3 -3
- 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 +18 -18
- package/dist/QuattroCardsSection.js +35 -35
- 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 +43 -39
- package/dist/SalesCampaignsSection.js +436 -387
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +3 -2
- package/dist/ShopCardsSection.js +3 -2
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +2 -2
- package/dist/SimpleCategoriesSection.js +19 -18
- 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 +67 -67
- 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 +19 -19
- package/dist/TextInput.js +70 -70
- 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-Kx8irvHH.js → index-4fcFA8kU.js} +1 -1
- package/dist/{index-DpdPtPbo.js → index-BKeVVABC.js} +1 -1
- package/dist/{index-DZDz9qZP.cjs → index-C1a0CtEE.cjs} +1 -1
- package/dist/{index-66FyQgVV.cjs → index-Ce6e4efi.cjs} +1 -1
- package/dist/{index-D86vS9UF.js → index-DQyZFR-C.js} +1 -1
- package/dist/{index-DMysapsB.cjs → index-DkzN10w_.cjs} +1 -1
- package/dist/{index-DfHm_Mv1.js → index-DtlD7gBK.js} +4 -4
- package/dist/{index-D8lR_JKg.cjs → index-DyMv0g-E.cjs} +2 -2
- package/dist/{index-BRgZcjpI.cjs → index-XrPpEvxt.cjs} +1 -1
- package/dist/{index-Cru8Sd2q.js → index-yrKiIPH4.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-TrselJrj.js → skeleton-BSnQLxpv.js} +1 -1
- package/dist/{skeleton-DwZzdFei.cjs → skeleton-C2HxO51q.cjs} +1 -1
- package/dist/{skeleton-BrUEdt6Z.js → skeleton-DLOaT8ip.js} +2 -2
- package/dist/{skeleton-BcaMeKFQ.cjs → skeleton-DdxUz868.cjs} +1 -1
- package/dist/{style-B8wrlDzY.cjs → style-Ce-JyTaX.cjs} +5 -1
- package/dist/{style-C3-67TPD.js → style-DU0BlP5D.js} +5 -1
- package/dist/{suspense-categories-card-simple-BCn3U1cz.js → suspense-categories-card-simple-BKWKpuwr.js} +1 -1
- package/dist/{suspense-categories-card-simple-B2swGa6t.cjs → suspense-categories-card-simple-CkULM0Bi.cjs} +1 -1
- package/dist/{suspense-large-DgzTM-qh.js → suspense-large-C-YSgzDe.js} +1 -1
- package/dist/{suspense-large-DMhn-lIG.cjs → suspense-large-ZUb9b6MG.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-CuExvgd_.cjs → suspense-product-card-detailed-EXZJLtNh.cjs} +2 -2
- package/dist/{suspense-product-card-detailed-D7hKisw1.js → suspense-product-card-detailed-Z0emIstD.js} +4 -4
- package/dist/{suspense-product-card-simple-zYdZVLRz.cjs → suspense-product-card-simple-CVbhvQWo.cjs} +1 -1
- package/dist/{suspense-product-card-simple-BIVIVybi.js → suspense-product-card-simple-DF6bMLDk.js} +1 -1
- package/dist/utils-BOtq2mcF.cjs +51 -0
- package/dist/{utils-BXCGNjIy.js → utils-WHYrEnYF.js} +65 -52
- package/package.json +1 -1
- package/dist/utils-BWzf4vLl.cjs +0 -51
package/dist/DropdownMenu.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as K, useRef as l, useState as L, Children as U, isValidElem
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import $ from "./Button.js";
|
|
6
|
-
import { b as q } from "./utils-
|
|
6
|
+
import { b as q } from "./utils-WHYrEnYF.js";
|
|
7
7
|
import { useTheme as A } from "./ThemeProvider.js";
|
|
8
8
|
import G from "./Popover.js";
|
|
9
9
|
import H from "./PopoverTrigger.js";
|
package/dist/EditableTable.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),w=require("./utils-BOtq2mcF.cjs"),H=require("./Table.cjs"),$=require("./emotion-styled.browser.esm-BtEseadx.cjs"),B=require("./TextInput.cjs"),W=require("./NumberInput.cjs"),J=require("./DecimalInput.cjs"),Q=require("./CheckBoxInput.cjs"),U=require("./Dropdown.cjs"),X=require("./DecimalInputV2.cjs"),Z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),C={BOOLEAN:"BOOLEAN",STRING:"STRING",INTEGER:"INTEGER",DECIMAL:"DECIMAL",DECIMAL2:"DECIMAL2",DATE:"DATE",SELECT:"SELECT"},ee=$.styled.td`
|
|
2
2
|
white-space: nowrap;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
text-overflow: ellipsis;
|
package/dist/EditableTable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l, Fragment as $, jsxs as U } from "react/jsx-runtime";
|
|
2
2
|
import { useState as X, useRef as A, useEffect as F, createElement as Z, forwardRef as ee, useImperativeHandle as re } from "react";
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
|
-
import { c as z, r as G, i as V } from "./utils-
|
|
4
|
+
import { c as z, r as G, i as V } from "./utils-WHYrEnYF.js";
|
|
5
5
|
import te from "./Table.js";
|
|
6
6
|
import { s as Y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
7
|
import N from "./TextInput.js";
|
package/dist/FeedbackSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),n=require("./utils-BOtq2mcF.cjs"),o=require("./Button.cjs"),d=require("./styled-components.browser.esm-CMTEDJ_5.cjs"),f=require("./consts-goSZX3xP.cjs"),m=d.qe.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
package/dist/FeedbackSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
|
-
import { k as t } from "./utils-
|
|
3
|
+
import { k as t } from "./utils-WHYrEnYF.js";
|
|
4
4
|
import d from "./Button.js";
|
|
5
5
|
import { q as f } from "./styled-components.browser.esm-C9FYANiy.js";
|
|
6
6
|
import { M as m } from "./consts-BuFChS64.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),s=require("react"),l=require("./utils-BOtq2mcF.cjs"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),b=require("./consts-goSZX3xP.cjs"),M=require("./Icon.cjs"),R=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=m.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: fit-content;
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
height: 11.625rem;
|
|
56
56
|
border-radius: 0.75rem;
|
|
57
57
|
background: ${l.linearGradientAnimation("-90deg")};
|
|
58
|
-
`,
|
|
58
|
+
`,S=m.styled.div`
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
align-items: center;
|
|
@@ -110,6 +110,18 @@
|
|
|
110
110
|
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
111
111
|
padding: 0 0.75rem;
|
|
112
112
|
|
|
113
|
+
&.active {
|
|
114
|
+
background: var(--gray-950, #14161a);
|
|
115
|
+
|
|
116
|
+
& .wrapper__icon {
|
|
117
|
+
background: transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
& .wrapper__text {
|
|
121
|
+
color: var(--white, #fff);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
113
125
|
& .wrapper__icon {
|
|
114
126
|
display: flex;
|
|
115
127
|
width: 1.25rem;
|
|
@@ -128,7 +140,7 @@
|
|
|
128
140
|
white-space: nowrap;
|
|
129
141
|
}
|
|
130
142
|
}
|
|
131
|
-
`,
|
|
143
|
+
`,F=m.styled.div`
|
|
132
144
|
width: 7.5rem;
|
|
133
145
|
width: 7.5rem;
|
|
134
146
|
border-radius: 999px;
|
|
@@ -138,7 +150,7 @@
|
|
|
138
150
|
width: 7.5rem;
|
|
139
151
|
height: 2.5rem;
|
|
140
152
|
}
|
|
141
|
-
`,
|
|
153
|
+
`,L=s.forwardRef(({},t)=>r.jsx(F,{})),O=s.forwardRef(({text:t,isActive:o=!1,icon:n,onSelectCard:i=()=>{}},f)=>r.jsxs(S,{className:o?"active":"",onClick:i,children:[r.jsx(M,{icon:n,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=s.forwardRef(({image:t,imageComponent:o,title:n,description:i,className:f,onSelectCard:g=()=>{}},j)=>{const{theme:x}=R.useTheme();return r.jsxs(z,{theme:x,className:f,onClick:g,children:[l.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[n&&r.jsx("div",{className:"wrapper__title",children:n}),i&&r.jsx("div",{className:"wrapper__description",children:i})]})]})}),W=s.forwardRef(({},t)=>r.jsxs(C,{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"})]})]})),T=m.styled.div`
|
|
142
154
|
display: flex;
|
|
143
155
|
flex-direction: column;
|
|
144
156
|
align-items: center;
|
|
@@ -171,8 +183,7 @@
|
|
|
171
183
|
}
|
|
172
184
|
|
|
173
185
|
& .wrapper__tags {
|
|
174
|
-
display:
|
|
175
|
-
grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitTags}, minmax(0, 1fr))`};
|
|
186
|
+
display: flex;
|
|
176
187
|
justify-content: center;
|
|
177
188
|
align-items: center;
|
|
178
189
|
gap: 0.75rem;
|
|
@@ -193,14 +204,27 @@
|
|
|
193
204
|
|
|
194
205
|
@media (max-width: ${b.MOBILE_SIZE_PX+"px"}) {
|
|
195
206
|
& .wrapper__tags {
|
|
196
|
-
display: flex;
|
|
197
207
|
overflow-x: scroll;
|
|
198
208
|
justify-content: flex-start;
|
|
199
209
|
width: 100%;
|
|
210
|
+
|
|
211
|
+
-webkit-overflow-scrolling: touch;
|
|
212
|
+
::-webkit-scrollbar {
|
|
213
|
+
-webkit-appearance: none;
|
|
214
|
+
}
|
|
215
|
+
-ms-overflow-style: none;
|
|
216
|
+
/* Internet Explorer 10+ */
|
|
217
|
+
scrollbar-width: none;
|
|
218
|
+
/* Firefox */
|
|
219
|
+
|
|
220
|
+
&::-webkit-scrollbar {
|
|
221
|
+
display: none;
|
|
222
|
+
/* Safari and Chrome */
|
|
223
|
+
}
|
|
200
224
|
}
|
|
201
225
|
|
|
202
226
|
& .wrapper__cards {
|
|
203
227
|
grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
204
228
|
}
|
|
205
229
|
}
|
|
206
|
-
`,B=
|
|
230
|
+
`,B=s.forwardRef(({title:t,subtitle:o,tags:n=[],items:i=[],limitTags:f=5,limitTagsForMobile:g=5,limit:j=3,limitForMobile:x=2,selectedTag:E,onSelectTag:u=()=>{},onSelectCard:y=()=>{},className:d},I)=>{var k,$;return s.useLayoutEffect(()=>{if(!l.isDefinedNotEmptyString(d))return;const e=()=>{const p=document.querySelector(`.${d} .wrapper__cards`),c=p.querySelectorAll(".wrapper__card");c.forEach(w=>{const N=w.getBoundingClientRect().height,q=Math.ceil((N+10)/20);w.style.gridRowEnd=`span ${q}`});const v=c==null?void 0:c[c.length-1];if(v){const w=v.offsetTop+v.offsetHeight;p.style.height=`${w}px`}},_=document.querySelector(`.${d} .wrapper__cards`).querySelectorAll(".wrapper__image");let h=0;return _.length===0?e():(_.forEach(p=>{p.complete?h++:p.addEventListener("load",()=>{h++,h===_.length&&e()})}),h===_.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[d,i]),r.jsxs(T,{ref:I,limitTags:f,limitTagsForMobile:g,limitCards:j,limitCardsForMobile:x,className:d,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__tags",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,a)=>r.jsx(O,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===E,onSelectCard:()=>u==null?void 0:u(e)},`field-of-interests-masonry-tag__${a+1}`)):(k=Array.from("12345"))==null?void 0:k.map((e,a)=>r.jsx(L,{},`field-of-interests-masonry-tag-skeleton__${a+1}`))}),r.jsx("div",{className:"wrapper__cards",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,a)=>r.jsx(A,{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:()=>y==null?void 0:y(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${a+1}`)):($=Array.from("12345"))==null?void 0:$.map((e,a)=>r.jsx(W,{},`field-of-interests-with-tags-card-skeleton__${a+1}`))})]})});module.exports=B;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { p as
|
|
4
|
-
import { s as
|
|
1
|
+
import { jsx as r, jsxs as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c, useLayoutEffect as L } from "react";
|
|
3
|
+
import { p as E, o as I, l as S, k as A } from "./utils-WHYrEnYF.js";
|
|
4
|
+
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { M as b } from "./consts-BuFChS64.js";
|
|
6
|
-
import
|
|
6
|
+
import O from "./Icon.js";
|
|
7
7
|
import { u as W } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
|
-
const
|
|
8
|
+
const j = m.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: fit-content;
|
|
@@ -44,7 +44,7 @@ const T = c.div`
|
|
|
44
44
|
font-style: normal;
|
|
45
45
|
font-weight: 500;
|
|
46
46
|
line-height: 1.5rem;
|
|
47
|
-
${
|
|
47
|
+
${E(2)}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
& .wrapper__description {
|
|
@@ -54,15 +54,15 @@ const T = c.div`
|
|
|
54
54
|
font-weight: 400;
|
|
55
55
|
line-height: 1rem;
|
|
56
56
|
letter-spacing: 0.025rem;
|
|
57
|
-
${
|
|
57
|
+
${E(2)}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
60
|
+
`, q = m.div`
|
|
61
61
|
width: 100%;
|
|
62
62
|
height: 11.625rem;
|
|
63
63
|
border-radius: 0.75rem;
|
|
64
|
-
background: ${
|
|
65
|
-
`,
|
|
64
|
+
background: ${I("-90deg")};
|
|
65
|
+
`, R = m.div`
|
|
66
66
|
display: flex;
|
|
67
67
|
flex-direction: column;
|
|
68
68
|
align-items: center;
|
|
@@ -117,6 +117,18 @@ const T = c.div`
|
|
|
117
117
|
background: var(--neutral-95004, rgba(20, 22, 26, 0.04));
|
|
118
118
|
padding: 0 0.75rem;
|
|
119
119
|
|
|
120
|
+
&.active {
|
|
121
|
+
background: var(--gray-950, #14161a);
|
|
122
|
+
|
|
123
|
+
& .wrapper__icon {
|
|
124
|
+
background: transparent;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
& .wrapper__text {
|
|
128
|
+
color: var(--white, #fff);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
120
132
|
& .wrapper__icon {
|
|
121
133
|
display: flex;
|
|
122
134
|
width: 1.25rem;
|
|
@@ -135,48 +147,48 @@ const T = c.div`
|
|
|
135
147
|
white-space: nowrap;
|
|
136
148
|
}
|
|
137
149
|
}
|
|
138
|
-
`,
|
|
150
|
+
`, T = m.div`
|
|
139
151
|
width: 7.5rem;
|
|
140
152
|
width: 7.5rem;
|
|
141
153
|
border-radius: 999px;
|
|
142
|
-
background: ${
|
|
154
|
+
background: ${I("-90deg")};
|
|
143
155
|
|
|
144
156
|
@media (max-width: ${b + "px"}) {
|
|
145
157
|
width: 7.5rem;
|
|
146
158
|
height: 2.5rem;
|
|
147
159
|
}
|
|
148
|
-
`, B =
|
|
149
|
-
({ text:
|
|
150
|
-
} }, f) => /* @__PURE__ */ l(
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
160
|
+
`, B = c(({}, i) => /* @__PURE__ */ r(T, {})), D = c(
|
|
161
|
+
({ text: i, isActive: o = !1, icon: a, onSelectCard: t = () => {
|
|
162
|
+
} }, f) => /* @__PURE__ */ l(R, { className: o ? "active" : "", onClick: t, children: [
|
|
163
|
+
/* @__PURE__ */ r(O, { icon: a, className: "wrapper__icon" }),
|
|
164
|
+
/* @__PURE__ */ r("div", { className: "wrapper__text", children: i })
|
|
153
165
|
] })
|
|
154
|
-
), G =
|
|
166
|
+
), G = c(
|
|
155
167
|
({
|
|
156
|
-
image:
|
|
168
|
+
image: i,
|
|
157
169
|
imageComponent: o,
|
|
158
170
|
title: a,
|
|
159
171
|
description: t,
|
|
160
172
|
className: f,
|
|
161
|
-
onSelectCard:
|
|
173
|
+
onSelectCard: g = () => {
|
|
162
174
|
}
|
|
163
|
-
},
|
|
175
|
+
}, k) => {
|
|
164
176
|
const { theme: u } = W();
|
|
165
|
-
return /* @__PURE__ */ l(
|
|
166
|
-
|
|
177
|
+
return /* @__PURE__ */ l(j, { theme: u, className: f, onClick: g, children: [
|
|
178
|
+
S(o) ? o : /* @__PURE__ */ r("img", { src: i, className: "wrapper__image" }),
|
|
167
179
|
/* @__PURE__ */ l("div", { className: "wrapper__content", children: [
|
|
168
|
-
a && /* @__PURE__ */
|
|
169
|
-
t && /* @__PURE__ */
|
|
180
|
+
a && /* @__PURE__ */ r("div", { className: "wrapper__title", children: a }),
|
|
181
|
+
t && /* @__PURE__ */ r("div", { className: "wrapper__description", children: t })
|
|
170
182
|
] })
|
|
171
183
|
] });
|
|
172
184
|
}
|
|
173
|
-
), H =
|
|
174
|
-
/* @__PURE__ */
|
|
185
|
+
), H = c(({}, i) => /* @__PURE__ */ l(q, { children: [
|
|
186
|
+
/* @__PURE__ */ r("div", { className: "wrapper__image" }),
|
|
175
187
|
/* @__PURE__ */ l("div", { className: "wrapper__content", children: [
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
188
|
+
/* @__PURE__ */ r("div", { className: "wrapper__title" }),
|
|
189
|
+
/* @__PURE__ */ r("div", { className: "wrapper__description" })
|
|
178
190
|
] })
|
|
179
|
-
] })), P =
|
|
191
|
+
] })), P = m.div`
|
|
180
192
|
display: flex;
|
|
181
193
|
flex-direction: column;
|
|
182
194
|
align-items: center;
|
|
@@ -209,8 +221,7 @@ const T = c.div`
|
|
|
209
221
|
}
|
|
210
222
|
|
|
211
223
|
& .wrapper__tags {
|
|
212
|
-
display:
|
|
213
|
-
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitTags}, minmax(0, 1fr))`};
|
|
224
|
+
display: flex;
|
|
214
225
|
justify-content: center;
|
|
215
226
|
align-items: center;
|
|
216
227
|
gap: 0.75rem;
|
|
@@ -218,7 +229,7 @@ const T = c.div`
|
|
|
218
229
|
|
|
219
230
|
& .wrapper__cards {
|
|
220
231
|
display: grid;
|
|
221
|
-
grid-template-columns: ${(
|
|
232
|
+
grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitCards}, minmax(12.5rem, 1fr))`};
|
|
222
233
|
grid-auto-rows: 0.625rem;
|
|
223
234
|
gap: 0.625rem;
|
|
224
235
|
width: 100%;
|
|
@@ -231,47 +242,60 @@ const T = c.div`
|
|
|
231
242
|
|
|
232
243
|
@media (max-width: ${b + "px"}) {
|
|
233
244
|
& .wrapper__tags {
|
|
234
|
-
display: flex;
|
|
235
245
|
overflow-x: scroll;
|
|
236
246
|
justify-content: flex-start;
|
|
237
247
|
width: 100%;
|
|
248
|
+
|
|
249
|
+
-webkit-overflow-scrolling: touch;
|
|
250
|
+
::-webkit-scrollbar {
|
|
251
|
+
-webkit-appearance: none;
|
|
252
|
+
}
|
|
253
|
+
-ms-overflow-style: none;
|
|
254
|
+
/* Internet Explorer 10+ */
|
|
255
|
+
scrollbar-width: none;
|
|
256
|
+
/* Firefox */
|
|
257
|
+
|
|
258
|
+
&::-webkit-scrollbar {
|
|
259
|
+
display: none;
|
|
260
|
+
/* Safari and Chrome */
|
|
261
|
+
}
|
|
238
262
|
}
|
|
239
263
|
|
|
240
264
|
& .wrapper__cards {
|
|
241
|
-
grid-template-columns: ${(
|
|
265
|
+
grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
242
266
|
}
|
|
243
267
|
}
|
|
244
|
-
`, Y =
|
|
268
|
+
`, Y = c(
|
|
245
269
|
({
|
|
246
|
-
title:
|
|
270
|
+
title: i,
|
|
247
271
|
subtitle: o,
|
|
248
272
|
tags: a = [],
|
|
249
273
|
items: t = [],
|
|
250
274
|
limitTags: f = 5,
|
|
251
|
-
limitTagsForMobile:
|
|
252
|
-
limit:
|
|
275
|
+
limitTagsForMobile: g = 5,
|
|
276
|
+
limit: k = 3,
|
|
253
277
|
limitForMobile: u = 2,
|
|
254
|
-
selectedTag:
|
|
278
|
+
selectedTag: z,
|
|
255
279
|
onSelectTag: x = () => {
|
|
256
280
|
},
|
|
257
281
|
onSelectCard: v = () => {
|
|
258
282
|
},
|
|
259
283
|
className: s
|
|
260
|
-
},
|
|
261
|
-
var
|
|
284
|
+
}, C) => {
|
|
285
|
+
var $, N;
|
|
262
286
|
return L(() => {
|
|
263
|
-
if (!
|
|
287
|
+
if (!A(s))
|
|
264
288
|
return;
|
|
265
289
|
const e = () => {
|
|
266
290
|
const p = document.querySelector(`.${s} .wrapper__cards`), d = p.querySelectorAll(".wrapper__card");
|
|
267
|
-
d.forEach((
|
|
268
|
-
const
|
|
269
|
-
|
|
291
|
+
d.forEach((w) => {
|
|
292
|
+
const M = w.getBoundingClientRect().height, F = Math.ceil((M + 10) / 20);
|
|
293
|
+
w.style.gridRowEnd = `span ${F}`;
|
|
270
294
|
});
|
|
271
295
|
const y = d == null ? void 0 : d[d.length - 1];
|
|
272
296
|
if (y) {
|
|
273
|
-
const
|
|
274
|
-
p.style.height = `${
|
|
297
|
+
const w = y.offsetTop + y.offsetHeight;
|
|
298
|
+
p.style.height = `${w}px`;
|
|
275
299
|
}
|
|
276
300
|
}, h = document.querySelector(`.${s} .wrapper__cards`).querySelectorAll(".wrapper__image");
|
|
277
301
|
let _ = 0;
|
|
@@ -285,32 +309,32 @@ const T = c.div`
|
|
|
285
309
|
}, [s, t]), /* @__PURE__ */ l(
|
|
286
310
|
P,
|
|
287
311
|
{
|
|
288
|
-
ref:
|
|
312
|
+
ref: C,
|
|
289
313
|
limitTags: f,
|
|
290
|
-
limitTagsForMobile:
|
|
291
|
-
limitCards:
|
|
314
|
+
limitTagsForMobile: g,
|
|
315
|
+
limitCards: k,
|
|
292
316
|
limitCardsForMobile: u,
|
|
293
317
|
className: s,
|
|
294
318
|
children: [
|
|
295
319
|
/* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
|
|
296
|
-
|
|
297
|
-
o && /* @__PURE__ */
|
|
320
|
+
i && /* @__PURE__ */ r("div", { className: "wrapper__title", children: i }),
|
|
321
|
+
o && /* @__PURE__ */ r("div", { className: "wrapper__subtitle", children: o })
|
|
298
322
|
] }),
|
|
299
|
-
/* @__PURE__ */
|
|
323
|
+
/* @__PURE__ */ r("div", { className: "wrapper__tags", children: a && (a == null ? void 0 : a.length) > 0 ? a == null ? void 0 : a.map((e, n) => /* @__PURE__ */ r(
|
|
300
324
|
D,
|
|
301
325
|
{
|
|
302
326
|
icon: e == null ? void 0 : e.icon,
|
|
303
327
|
text: e == null ? void 0 : e.title,
|
|
304
|
-
isActive: (e == null ? void 0 : e.code) ===
|
|
328
|
+
isActive: (e == null ? void 0 : e.code) === z,
|
|
305
329
|
onSelectCard: () => x == null ? void 0 : x(e)
|
|
306
330
|
},
|
|
307
331
|
`field-of-interests-masonry-tag__${n + 1}`
|
|
308
|
-
)) : (
|
|
332
|
+
)) : ($ = Array.from("12345")) == null ? void 0 : $.map((e, n) => /* @__PURE__ */ r(
|
|
309
333
|
B,
|
|
310
334
|
{},
|
|
311
335
|
`field-of-interests-masonry-tag-skeleton__${n + 1}`
|
|
312
336
|
)) }),
|
|
313
|
-
/* @__PURE__ */
|
|
337
|
+
/* @__PURE__ */ r("div", { className: "wrapper__cards", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, n) => /* @__PURE__ */ r(
|
|
314
338
|
G,
|
|
315
339
|
{
|
|
316
340
|
image: e == null ? void 0 : e.image,
|
|
@@ -321,7 +345,7 @@ const T = c.div`
|
|
|
321
345
|
className: "wrapper__card"
|
|
322
346
|
},
|
|
323
347
|
`field-of-interests-with-tags-card__${n + 1}`
|
|
324
|
-
)) : (N = Array.from("12345")) == null ? void 0 : N.map((e, n) => /* @__PURE__ */
|
|
348
|
+
)) : (N = Array.from("12345")) == null ? void 0 : N.map((e, n) => /* @__PURE__ */ r(
|
|
325
349
|
H,
|
|
326
350
|
{},
|
|
327
351
|
`field-of-interests-with-tags-card-skeleton__${n + 1}`
|
|
@@ -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-BOtq2mcF.cjs"),$=require("./index-DyMv0g-E.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 { o as v, l as C } from "./utils-
|
|
6
|
-
import { S as F } from "./index-
|
|
5
|
+
import { o as v, l as C } from "./utils-WHYrEnYF.js";
|
|
6
|
+
import { S as F } from "./index-DtlD7gBK.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-BOtq2mcF.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 { p as y, o as b, k as C, l as I } from "./utils-
|
|
4
|
+
import { p as y, o as b, k as C, l as I } from "./utils-WHYrEnYF.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-BOtq2mcF.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-WHYrEnYF.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-BOtq2mcF.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-WHYrEnYF.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-BOtq2mcF.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-WHYrEnYF.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-BOtq2mcF.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-WHYrEnYF.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"),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-BOtq2mcF.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;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
}
|
|
86
86
|
`,$=o.styled.div`
|
|
87
87
|
display: flex;
|
|
88
|
-
padding: 0 0.
|
|
88
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
91
91
|
background: var(--white, #fff);
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
border-radius: 999px;
|
|
105
105
|
width: 2.5rem;
|
|
106
106
|
height: 2.5rem;
|
|
107
|
-
margin-left: -0.
|
|
107
|
+
margin-left: -0.75rem;
|
|
108
108
|
|
|
109
109
|
& i {
|
|
110
110
|
width: auto;
|
|
@@ -2,7 +2,7 @@ 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 { p as y, o as x, k, l as $ } from "./utils-
|
|
5
|
+
import { p as y, o as x, k, l as $ } from "./utils-WHYrEnYF.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`
|
|
@@ -92,7 +92,7 @@ const W = s.div`
|
|
|
92
92
|
}
|
|
93
93
|
`, G = s.div`
|
|
94
94
|
display: flex;
|
|
95
|
-
padding: 0 0.
|
|
95
|
+
padding: 0 0.75rem 0 0.75rem;
|
|
96
96
|
align-items: center;
|
|
97
97
|
justify-content: center;
|
|
98
98
|
background: var(--white, #fff);
|
|
@@ -111,7 +111,7 @@ const W = s.div`
|
|
|
111
111
|
border-radius: 999px;
|
|
112
112
|
width: 2.5rem;
|
|
113
113
|
height: 2.5rem;
|
|
114
|
-
margin-left: -0.
|
|
114
|
+
margin-left: -0.75rem;
|
|
115
115
|
|
|
116
116
|
& i {
|
|
117
117
|
width: auto;
|
|
@@ -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-Ce-JyTaX.cjs"),o=require("./utils-BOtq2mcF.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;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@media (max-width: ${C.MOBILE_SIZE_PX+"px"}) {
|
|
7
7
|
grid-template-columns: repeat(1, 1fr);
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,k=c.styled.div`
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
12
|
gap: 0.75rem;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
& .text-wrap {
|
|
22
22
|
text-align: center;
|
|
23
23
|
}
|
|
24
|
-
`,
|
|
24
|
+
`,G=c.styled.div`
|
|
25
25
|
width: 100%;
|
|
26
26
|
min-height: 11rem;
|
|
27
27
|
max-height: 11rem;
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
height: 11.5rem;
|
|
75
75
|
border-radius: 0.75rem;
|
|
76
76
|
background: ${o.linearGradientAnimation("-90deg")};
|
|
77
|
-
`;const p=f.forwardRef((a,d)=>{const{image:s,text:l,price:i,currency:t,onSelectGiftCard:m=()=>{}}=a;return r.jsxs(
|
|
77
|
+
`;const p=f.forwardRef((a,d)=>{const{image:s,text:l,price:i,currency:t,onSelectGiftCard:m=()=>{}}=a;return r.jsxs(k,{ref:d,className:"simple-gift-card",onClick:()=>m(i),children:[r.jsxs(G,{children:[r.jsx("div",{className:"price-tag",children:i&&t&&`${o.formatPrice(i)} ${o.GetCurrencySymbol(t)}`}),r.jsx("img",{src:s})]}),r.jsx("div",{className:"text-wrap",children:l})]})}),N=f.forwardRef((a,d)=>{const{icon:s,title:l,buttonLink:i,items:t,buttonText:m,limit:u=4,onSelectCard:g=()=>{},onButtonAction:h=()=>{}}=a,b=w.useDetectMobile();return r.jsxs(v.RegulatTitleSectionWrapper,{ref:d,children:[r.jsxs("div",{className:"regular-title",children:[r.jsxs("div",{className:"regular-title-text",children:[o.isDefinedNotEmptyString(s)&&r.jsx("i",{className:s}),r.jsx("span",{children:l})]}),o.isDefinedNotEmptyString(i)&&r.jsx(j,{type:"button",btnType:"tinted",color:"gray",onClick:e=>{var n;(n=e==null?void 0:e.target)==null||n.blur(),h(i)},borderRadius:"curved",className:"button-link",children:m})]}),r.jsx(S,{limit:u,children:b===!0?t==null?void 0:t.map((e,n)=>r.jsx(p,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,onSelectGiftCard:y=>g(e)},n)):t==null?void 0:t.slice(0,u).map((e,n)=>r.jsx(p,{text:e==null?void 0:e.text,price:e==null?void 0:e.priceTo,currency:e==null?void 0:e.currencyIsoCode,image:e==null?void 0:e.imageUrl,uuid:e==null?void 0:e.uuid,onSelectGiftCard:y=>g(e)},n))})]})});module.exports=N;
|