@lanaco/lnc-react-ui 4.0.84 → 4.0.86
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/BannerSectionWithListImage.cjs +1 -1
- package/dist/BannerSectionWithListImage.js +9 -9
- 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 +6 -6
- package/dist/BlogsSectionSimple.js +46 -43
- package/dist/BlogsSectionSimpleCentered.cjs +1 -1
- package/dist/BlogsSectionSimpleCentered.js +2 -2
- package/dist/BlogsSectionWithFilters.cjs +6 -2
- package/dist/BlogsSectionWithFilters.js +43 -36
- 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-DSaRbYZg.js} +1 -1
- package/dist/{CustomStyles-ChA_393q.cjs → CustomStyles-DzChCA5c.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 +7 -3
- package/dist/DetailedProductsSection.js +17 -12
- 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 +6 -6
- package/dist/LocationSearchSection.js +16 -13
- 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 +35 -31
- package/dist/SalesCampaignsSection.js +183 -177
- 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 +2 -2
- package/dist/UrgentSaleProductsSection.js +2 -2
- package/dist/{index-baEuidT3.js → index-B5bRol0l.js} +1 -1
- package/dist/{index-D0Cl3mpJ.js → index-B69VVFyo.js} +1 -1
- package/dist/{index-CfA579i2.cjs → index-B9HSHvhH.cjs} +4 -3
- package/dist/{index-m9SN4CZC.js → index-BBPnKoi6.js} +13 -12
- package/dist/{index-CAqPGuiA.cjs → index-BVaZWq6y.cjs} +1 -1
- package/dist/{index-bTSzxSNK.js → index-BpS5mEUu.js} +2 -2
- package/dist/{index-Q6GmUkJx.cjs → index-C7iutNsj.cjs} +1 -1
- package/dist/{index-ZbylnHR8.cjs → index-CWAifrDS.cjs} +1 -1
- package/dist/{index-BLxkXrqU.js → index-Ca38iPjf.js} +1 -1
- package/dist/{index-DXmajb7F.js → index-DmuZIVnC.js} +1 -1
- package/dist/{index-Dy-o153l.cjs → index-ZR5ws_qw.cjs} +1 -1
- package/dist/{index-ryadTWiS.cjs → index-rYeYJwuL.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{skeleton-D0bLAwfj.cjs → skeleton-BRWiMY6b.cjs} +7 -3
- package/dist/{skeleton-CtJG0_SN.cjs → skeleton-C_Jypl8r.cjs} +1 -1
- package/dist/{skeleton-CfSTJ_9L.js → skeleton-DhXNRCfI.js} +8 -4
- package/dist/{skeleton-iQWpOw9K.js → skeleton-wfDIalr3.js} +2 -2
- package/dist/{suspense-categories-card-simple-Tiure3NX.js → suspense-categories-card-simple-BmmCOsc0.js} +1 -1
- package/dist/{suspense-categories-card-simple-o7JK0fA4.cjs → suspense-categories-card-simple-D-tE8xV6.cjs} +1 -1
- package/dist/{suspense-large-v60EOiID.cjs → suspense-large-Buu1428e.cjs} +1 -1
- package/dist/{suspense-large-CQpNiB26.js → suspense-large-iKRJJlJv.js} +1 -1
- package/dist/{suspense-product-card-detailed-D490oqXC.cjs → suspense-product-card-detailed-CwUN6A-L.cjs} +1 -1
- package/dist/{suspense-product-card-detailed-DDXuOKib.js → suspense-product-card-detailed-J2a9wi6Z.js} +2 -2
- package/dist/{suspense-product-card-simple-fSvde3aM.js → suspense-product-card-simple--ExcEpD-.js} +1 -1
- package/dist/{suspense-product-card-simple-CQxB1MF4.cjs → suspense-product-card-simple-0x5sc47a.cjs} +1 -1
- package/dist/{utils-DCs-SbIv.js → utils-BE-UlkKf.js} +8 -8
- package/dist/{utils-BXPz9bck.cjs → utils-DhRHf5Ed.cjs} +3 -3
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as t, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import { s
|
|
5
|
-
import { m as
|
|
6
|
-
import { u as
|
|
7
|
-
import { M as
|
|
8
|
-
const
|
|
1
|
+
import { jsx as t, Fragment as w, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import b from "./Button.js";
|
|
4
|
+
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { m as n, t as g, k as p } from "./utils-BE-UlkKf.js";
|
|
6
|
+
import { u as v } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
|
+
import { M as f } from "./consts-C1uHV4xc.js";
|
|
8
|
+
const y = s.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
flex-direction: column;
|
|
11
11
|
align-items: flex-start;
|
|
@@ -50,7 +50,7 @@ const k = c.div`
|
|
|
50
50
|
width: 24.5rem;
|
|
51
51
|
height: 30rem;
|
|
52
52
|
border-radius: 0.75rem;
|
|
53
|
-
background-color: ${
|
|
53
|
+
background-color: ${n("-90deg")};
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
& .wrapper__text {
|
|
@@ -70,7 +70,7 @@ const k = c.div`
|
|
|
70
70
|
font-style: normal;
|
|
71
71
|
font-weight: 500;
|
|
72
72
|
line-height: 1.5rem;
|
|
73
|
-
${
|
|
73
|
+
${g(2)}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
& .text__tag {
|
|
@@ -92,7 +92,7 @@ const k = c.div`
|
|
|
92
92
|
font-style: normal;
|
|
93
93
|
font-weight: 400;
|
|
94
94
|
line-height: 1.25rem;
|
|
95
|
-
${
|
|
95
|
+
${g(2)}
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
& .text__action {
|
|
@@ -106,19 +106,19 @@ const k = c.div`
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
& .text__title--skeleton {
|
|
109
|
-
background-color: ${
|
|
109
|
+
background-color: ${n("-90deg")};
|
|
110
110
|
height: 1rem;
|
|
111
111
|
width: 9rem;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
& .text__description--skeleton {
|
|
115
|
-
background-color: ${
|
|
115
|
+
background-color: ${n("-90deg")};
|
|
116
116
|
height: 1rem;
|
|
117
117
|
width: 12rem;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
& .text__action--skeleton {
|
|
121
|
-
background-color: ${
|
|
121
|
+
background-color: ${n("-90deg")};
|
|
122
122
|
height: 2rem;
|
|
123
123
|
width: 9rem;
|
|
124
124
|
}
|
|
@@ -133,41 +133,39 @@ const k = c.div`
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
`,
|
|
136
|
+
`, k = h(
|
|
137
137
|
({
|
|
138
138
|
title: r,
|
|
139
139
|
imageUrl: e,
|
|
140
140
|
description: i,
|
|
141
141
|
buttonText: a,
|
|
142
|
-
onSelectCard:
|
|
142
|
+
onSelectCard: l = () => {
|
|
143
143
|
},
|
|
144
|
-
className:
|
|
144
|
+
className: o,
|
|
145
145
|
position: d,
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
k,
|
|
146
|
+
tag: c,
|
|
147
|
+
backgroundColor: x
|
|
148
|
+
}, u) => {
|
|
149
|
+
const _ = v();
|
|
150
|
+
return /* @__PURE__ */ t(w, { children: /* @__PURE__ */ m(
|
|
151
|
+
y,
|
|
153
152
|
{
|
|
154
|
-
ref:
|
|
155
|
-
theme:
|
|
156
|
-
className:
|
|
157
|
-
onClick: o,
|
|
153
|
+
ref: u,
|
|
154
|
+
theme: _,
|
|
155
|
+
className: o,
|
|
158
156
|
position: d,
|
|
159
|
-
backgroundColor:
|
|
157
|
+
backgroundColor: x,
|
|
160
158
|
children: [
|
|
161
159
|
/* @__PURE__ */ t("img", { src: e, className: "wrapper__image" }),
|
|
162
|
-
/* @__PURE__ */
|
|
163
|
-
|
|
160
|
+
/* @__PURE__ */ m("div", { className: "wrapper__text", children: [
|
|
161
|
+
c && /* @__PURE__ */ t("div", { className: "text__tag", children: c }),
|
|
164
162
|
/* @__PURE__ */ t("div", { className: "text__title", children: r }),
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
163
|
+
p(i) && /* @__PURE__ */ t("div", { className: "text__description", children: i }),
|
|
164
|
+
p(a) && /* @__PURE__ */ t(
|
|
165
|
+
b,
|
|
168
166
|
{
|
|
169
167
|
text: a,
|
|
170
|
-
onClick:
|
|
168
|
+
onClick: l,
|
|
171
169
|
className: "text__action"
|
|
172
170
|
}
|
|
173
171
|
)
|
|
@@ -176,7 +174,7 @@ const k = c.div`
|
|
|
176
174
|
}
|
|
177
175
|
) });
|
|
178
176
|
}
|
|
179
|
-
),
|
|
177
|
+
), $ = s.div`
|
|
180
178
|
display: flex;
|
|
181
179
|
flex-direction: column;
|
|
182
180
|
gap: 1.5rem;
|
|
@@ -200,7 +198,7 @@ const k = c.div`
|
|
|
200
198
|
}
|
|
201
199
|
}
|
|
202
200
|
|
|
203
|
-
@media (max-width: ${
|
|
201
|
+
@media (max-width: ${f + "px"}) {
|
|
204
202
|
gap: 1.25rem;
|
|
205
203
|
|
|
206
204
|
& .regular-title {
|
|
@@ -211,7 +209,7 @@ const k = c.div`
|
|
|
211
209
|
}
|
|
212
210
|
}
|
|
213
211
|
}
|
|
214
|
-
`,
|
|
212
|
+
`, N = s.div`
|
|
215
213
|
display: grid;
|
|
216
214
|
grid-template-columns: ${(r) => "repeat(12, minmax(0, 1fr))"};
|
|
217
215
|
|
|
@@ -221,7 +219,7 @@ const k = c.div`
|
|
|
221
219
|
height: 30rem;
|
|
222
220
|
max-height: 30rem;
|
|
223
221
|
|
|
224
|
-
@media (max-width: ${
|
|
222
|
+
@media (max-width: ${f + "px"}) {
|
|
225
223
|
display: flex;
|
|
226
224
|
flex-direction: column;
|
|
227
225
|
gap: 1rem;
|
|
@@ -230,20 +228,20 @@ const k = c.div`
|
|
|
230
228
|
max-height: 100%;
|
|
231
229
|
padding: 0 1rem;
|
|
232
230
|
}
|
|
233
|
-
`,
|
|
231
|
+
`, I = h(
|
|
234
232
|
({ title: r, items: e, limit: i = 3, onSelectCard: a = () => {
|
|
235
|
-
} },
|
|
233
|
+
} }, l) => /* @__PURE__ */ m($, { ref: l, children: [
|
|
236
234
|
/* @__PURE__ */ t("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: /* @__PURE__ */ t("span", { children: r }) }) }),
|
|
237
|
-
/* @__PURE__ */ t(
|
|
238
|
-
|
|
235
|
+
/* @__PURE__ */ t(N, { limit: i, children: e && (e == null ? void 0 : e.map((o, d) => /* @__PURE__ */ t(
|
|
236
|
+
k,
|
|
239
237
|
{
|
|
240
|
-
...
|
|
241
|
-
onSelectCard: (
|
|
238
|
+
...o,
|
|
239
|
+
onSelectCard: () => a(o)
|
|
242
240
|
},
|
|
243
241
|
`landing-page-masonry-general-card__${d + 1}`
|
|
244
242
|
))) })
|
|
245
243
|
] })
|
|
246
244
|
);
|
|
247
245
|
export {
|
|
248
|
-
|
|
246
|
+
I as default
|
|
249
247
|
};
|
package/dist/MenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./Icon.cjs"),l=require("./utils-
|
|
1
|
+
"use strict";const c=require("react/jsx-runtime"),f=require("react"),s=require("./index-BPVoEhTF.cjs"),G=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./Icon.cjs"),l=require("./utils-DhRHf5Ed.cjs"),H=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),J=G.styled.div`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
cursor: ${n=>n.disabled==!1?"pointer":"context-menu"};
|
|
4
4
|
width: 100%;
|
package/dist/MenuItem.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as J, useRef as Q, useState as W, useEffect as X } from "rea
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import v from "./Icon.js";
|
|
6
|
-
import { b as i, c as I, h as w } from "./utils-
|
|
6
|
+
import { b as i, c as I, h as w } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { u as ee } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const ne = Z.div`
|
|
9
9
|
box-sizing: border-box;
|
package/dist/Modal.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./Icon.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),y=require("react"),o=require("./index-BPVoEhTF.cjs"),C=require("./emotion-styled.browser.esm-BtEseadx.cjs"),D=require("./Icon.cjs"),w=require("./utils-DhRHf5Ed.cjs"),V=require("./index-EeoArxOx.cjs"),L=require("./motion-B_VPZaJq.cjs"),G=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),N=require("./index-DZoWlChs.cjs"),x="5rem",h="3.8rem",i="1.5rem",W=(e,r,n)=>r&&n?e=="FULL"?`calc(100dvh - ${h} - ${x})`:`calc(100dvh - ${h} - ${x} - ${i})`:r?e=="FULL"?`calc(100dvh - ${h})`:`calc(100dvh - ${h} - ${i})`:n?e=="FULL"?`calc(100dvh - ${x})`:`calc(100dvh - ${x} - ${i})`:e=="FULL"?"100dvh":`calc(100dvh - ${i})`,X=e=>e=="FULL"?"100vw":`calc(100vw - ${i})`,J=(e,r,n)=>e=="FULL"?"0":`${r?"0":"16px"} 0 ${n?"0":"16px"} 0`,K=C.styled(L.motion.div)`
|
|
2
2
|
position: ${e=>e.scrollOverlay==!0?"absolute":"fixed"};
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
package/dist/Modal.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as z, useRef as X, useState as V, useImperativeHandle as q,
|
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import K from "./Icon.js";
|
|
6
|
-
import { b as w } from "./utils-
|
|
6
|
+
import { b as w } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { r as Q } from "./index-64mXPFBC.js";
|
|
8
8
|
import { m as M } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-
|
|
1
|
+
"use strict";const g=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),O=require("./CustomStyles-DzChCA5c.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./Dropdown.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:a="primary",className:c="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return g.jsx(M.default,{isMulti:!0,ref:t,styles:p||O.customStyles,size:i,color:a,theme:b,isSearchable:u,isClearable:y,className:c,style:T,...P,onInputChange:m})});r.propTypes={options:e.PropTypes.array,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { forwardRef as y, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DSaRbYZg.js";
|
|
5
5
|
import { d as S } from "./index-CkWvbrVT.js";
|
|
6
6
|
import C from "./Dropdown.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const O=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),g=require("./CustomStyles-
|
|
1
|
+
"use strict";const O=require("react/jsx-runtime"),e=require("./index-BPVoEhTF.cjs"),s=require("react"),g=require("./CustomStyles-DzChCA5c.cjs"),h=require("./index-DaiUAQVF.cjs"),M=require("./DropdownLookup.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),r=s.forwardRef((n,t)=>{const{styles:p,debounceTime:l=0,isSearchable:u=!0,isClearable:y=!0,onInputChange:o,size:i="small",color:a="primary",className:c="",style:T={},...P}=n,b=S.useTheme(),m=s.useCallback(h.debounce((d,f)=>{o==null||o(d,f)},l));return O.jsx(M,{isMulti:!0,ref:t,styles:p||g.customStyles,size:i,color:a,theme:b,isSearchable:u,isClearable:y,onInputChange:m,className:c,style:T,...P})});r.propTypes={defaultOptions:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.array]),cacheOptions:e.PropTypes.any,loadOptions:e.PropTypes.func,styles:e.PropTypes.object,debounceTime:e.PropTypes.number,name:e.PropTypes.string,value:e.PropTypes.any,tabIndex:e.PropTypes.number,isSearchable:e.PropTypes.bool,isClearable:e.PropTypes.bool,isLoading:e.PropTypes.bool,isRtl:e.PropTypes.bool,isDisabled:e.PropTypes.bool,readOnly:e.PropTypes.bool,closeMenuOnSelect:e.PropTypes.bool,closeMenuOnScroll:e.PropTypes.oneOfType([e.PropTypes.bool,e.PropTypes.func]),escapeClearsValue:e.PropTypes.bool,filterOption:e.PropTypes.func,formatGroupLabel:e.PropTypes.func,formatOptionLabel:e.PropTypes.func,getOptionLabel:e.PropTypes.func,getOptionValue:e.PropTypes.func,hideSelectedOptions:e.PropTypes.bool,id:e.PropTypes.string,inputId:e.PropTypes.string,isOptionDisabled:e.PropTypes.func,isOptionSelected:e.PropTypes.func,loadingMessage:e.PropTypes.func,minMenuHeight:e.PropTypes.number,maxMenuHeight:e.PropTypes.number,menuPlacement:e.PropTypes.oneOf(["bottom","auto","top"]),menuPosition:e.PropTypes.oneOf(["absolute","fixed"]),menuShouldBlockScroll:e.PropTypes.bool,menuShouldScrollIntoView:e.PropTypes.bool,openMenuOnFocus:e.PropTypes.bool,openMenuOnClick:e.PropTypes.bool,autoFocus:e.PropTypes.bool,placeholder:e.PropTypes.any,noOptionsMessage:e.PropTypes.string,menuIsOpen:e.PropTypes.bool,components:e.PropTypes.object,defaultValue:e.PropTypes.string,defaultInputValue:e.PropTypes.string,defaultMenuIsOpen:e.PropTypes.bool,delimiter:e.PropTypes.string,onChange:e.PropTypes.func,onInputChange:e.PropTypes.func,onMenuOpen:e.PropTypes.func,onMenuClose:e.PropTypes.func,onFocus:e.PropTypes.func,onBlur:e.PropTypes.func,onKeyDown:e.PropTypes.func,className:e.PropTypes.string,style:e.PropTypes.object,color:e.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:e.PropTypes.oneOf(["small","medium","large"])};module.exports=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as g } from "react/jsx-runtime";
|
|
2
2
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
3
3
|
import { forwardRef as y, useCallback as h } from "react";
|
|
4
|
-
import { a as M } from "./CustomStyles-
|
|
4
|
+
import { a as M } from "./CustomStyles-DSaRbYZg.js";
|
|
5
5
|
import { d as S } from "./index-CkWvbrVT.js";
|
|
6
6
|
import C from "./DropdownLookup.js";
|
|
7
7
|
import { u as I } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),w=require("./utils-DhRHf5Ed.cjs"),M=require("./motion-B_VPZaJq.cjs"),S=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),q=require("./index-DZoWlChs.cjs"),j=b.styled(M.motion.div)`
|
|
2
2
|
margin-left: 0.3rem;
|
|
3
3
|
padding-left: 0.3rem;
|
|
4
4
|
border-left: ${s=>`2px solid ${w.getColorRgbaValue(s.theme,"MenuItem",s.color,"focus","background")}`};
|
|
@@ -2,7 +2,7 @@ import { jsxs as S, Fragment as p, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as w, useState as x, cloneElement as l, Children as P, isValidElement as O } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as D } from "./utils-
|
|
5
|
+
import { b as D } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { m as j } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
package/dist/NestedMenuItem.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),M=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),r=require("react"),t=require("./index-BPVoEhTF.cjs"),M=require("./emotion-styled.browser.esm-BtEseadx.cjs"),q=require("./utils-DhRHf5Ed.cjs"),w=require("./motion-B_VPZaJq.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),O=require("./index-DZoWlChs.cjs"),$=M.styled(w.motion.div)`
|
|
2
2
|
${o=>o.tuckIn==!0&&`margin-left: ${o.tuckInSize};`}
|
|
3
3
|
${o=>o.tuckIn==!0&&`padding-left: ${o.tuckInSize};`}
|
|
4
4
|
${o=>o.tuckIn==!0&&`border-left: 2px solid ${q.getColorRgbaValue(o.theme,"MenuItem",o.color,"focus","background","backgroundOpacity")};`}
|
package/dist/NestedMenuItem.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as O, Fragment as l, jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useState as h, cloneElement as u, Children as w, isValidElement as z } from "react";
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as j } from "./utils-
|
|
5
|
+
import { b as j } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { m as D } from "./motion-Ckekul_K.js";
|
|
7
7
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { A as C } from "./index-D-c5IxDk.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),N=require("react"),e=require("./index-BPVoEhTF.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-Dq1k28O7.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),N=require("react"),e=require("./index-BPVoEhTF.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./react-toastify.esm-Dq1k28O7.cjs"),t=require("./utils-DhRHf5Ed.cjs"),v=require("./ThemeProvider.cjs"),O=_.styled.div`
|
|
2
2
|
& .lnc-notification {
|
|
3
3
|
& > div {
|
|
4
4
|
background-color: ${o=>t.getColorRgbaValue(o.theme,"Notification",o.color,"enabled","background","backgroundOpacity")};
|
|
@@ -3,7 +3,7 @@ import { forwardRef as O } from "react";
|
|
|
3
3
|
import { P as t } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import { T as v } from "./react-toastify.esm--2awuizG.js";
|
|
6
|
-
import { b as e, a as C } from "./utils-
|
|
6
|
+
import { b as e, a as C } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { useTheme as $ } from "./ThemeProvider.js";
|
|
8
8
|
const P = _.div`
|
|
9
9
|
& .lnc-notification {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),P=require("react"),t=require("./index-BPVoEhTF.cjs"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./Icon.cjs"),i=require("./utils-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),P=require("react"),t=require("./index-BPVoEhTF.cjs"),N=require("./emotion-styled.browser.esm-BtEseadx.cjs"),T=require("./Icon.cjs"),i=require("./utils-DhRHf5Ed.cjs"),w=require("./Avatar.cjs"),j=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),v=N.styled.div`
|
|
2
2
|
${e=>i.getComponentTypographyCss(e.theme,"Notification","small","enabled")};
|
|
3
3
|
|
|
4
4
|
word-wrap: break-word;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as N } from "react";
|
|
|
3
3
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import w from "./Icon.js";
|
|
6
|
-
import { c as $, b as s, g as B } from "./utils-
|
|
6
|
+
import { c as $, b as s, g as B } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import P from "./Avatar.js";
|
|
8
8
|
import { u as z } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const T = v.div`
|
package/dist/NumberInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),l=require("react"),U=require("./index-DaiUAQVF.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),t=require("./index-BPVoEhTF.cjs"),l=require("react"),U=require("./index-DaiUAQVF.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-DhRHf5Ed.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),B=d.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/NumberInput.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as n } from "./index-S5Cd7WrG.js";
|
|
|
3
3
|
import { forwardRef as P, useState as C, useEffect as W, useCallback as G } from "react";
|
|
4
4
|
import { d as M } from "./index-CkWvbrVT.js";
|
|
5
5
|
import { s as i } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
-
import { d, b as a, a as U, e as D, h as N, c as X } from "./utils-
|
|
6
|
+
import { d, b as a, a as U, e as D, h as N, c as X } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import { u as q } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
const H = i.div`
|
|
9
9
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-CtNoHdBj.cjs"),p=require("./style-C571ywKV.cjs"),u=require("./utils-DhRHf5Ed.cjs"),f=require("./Button.cjs"),v=require("./ThemeProvider.cjs"),j=x.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${n=>`repeat(${n.limit}, 1fr)`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
gap: 1rem;
|
|
11
11
|
}
|
|
12
|
-
`,h=
|
|
12
|
+
`,h=x.styled.div`
|
|
13
13
|
width: 100%;
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
position: relative;
|
|
@@ -34,9 +34,11 @@
|
|
|
34
34
|
& button {
|
|
35
35
|
width: fit-content;
|
|
36
36
|
color: var(--gray-950, #14161a);
|
|
37
|
+
background: var(--white, #fff);
|
|
37
38
|
|
|
38
39
|
&:hover {
|
|
39
40
|
color: var(--gray-700, #4e555f);
|
|
41
|
+
background: var(--white, #fff);
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -50,7 +52,7 @@
|
|
|
50
52
|
|
|
51
53
|
& .content-text-title {
|
|
52
54
|
font-weight: 600;
|
|
53
|
-
${
|
|
55
|
+
${u.truncateTextInRows(2)}
|
|
54
56
|
}
|
|
55
57
|
}
|
|
56
58
|
|
|
@@ -62,7 +64,7 @@
|
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
& .img-skeleton {
|
|
65
|
-
background-color: ${
|
|
67
|
+
background-color: ${u.linearGradientAnimation("-90deg")};
|
|
66
68
|
min-height: 28.75rem;
|
|
67
69
|
}
|
|
68
70
|
|
|
@@ -80,4 +82,4 @@
|
|
|
80
82
|
max-height: 28.75rem;
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
|
-
`,y=l.forwardRef(({},n)=>r.jsx(h,{ref:n,children:r.jsx("div",{className:"img-skeleton"})})),w=({limit:n=2,isLoading:t=!1,keyPrefix:o})=>r.jsx(r.Fragment,{children:Array.from({length:n},(s,a)=>r.jsx(y,{isLoading:t},`${o}-skeleton-product-card-${a}`))}),
|
|
85
|
+
`,y=l.forwardRef(({},n)=>r.jsx(h,{ref:n,children:r.jsx("div",{className:"img-skeleton"})})),w=({limit:n=2,isLoading:t=!1,keyPrefix:o})=>r.jsx(r.Fragment,{children:Array.from({length:n},(s,a)=>r.jsx(y,{isLoading:t},`${o}-skeleton-product-card-${a}`))}),k=({children:n,fallbackComponent:t=r.jsx(r.Fragment,{}),isLoading:o=!1,limit:s,keyPrefix:a})=>r.jsx(l.Suspense,{fallbackComponent:t,children:o===!0?r.jsx(w,{isLoading:o,limit:s,keyPrefix:a}):n}),m=l.forwardRef(({title:n,image:t,backgroundColor:o,description:s,buttonText:a,handleClick:c=()=>{},onButtonAction:i=()=>{}},e)=>{const{theme:d}=v.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(h,{ref:e,theme:d,overlay:o,onClick:c,children:[r.jsx("img",{src:t}),r.jsxs("div",{className:"content-wrapper",children:[r.jsxs("div",{className:"content-text",children:[r.jsx("div",{children:n}),r.jsx("div",{className:"content-text-title",children:s})]}),u.isDefinedNotEmptyString(a)&&r.jsx(f,{text:a,onClick:i,className:"text__action",size:"medium",color:"gray"})]})]})})}),b=l.forwardRef(({title:n,items:t,limit:o=2,onSelectCard:s=()=>{},isLoading:a=!1,onButtonAction:c=()=>{}},i)=>r.jsxs(p.RegulatTitleSectionWrapper,{ref:i,children:[r.jsx("div",{className:"regular-title center",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:n})})}),r.jsx(j,{limit:o,children:r.jsx(k,{isLoading:a,limit:o,keyPrefix:"explore-landing",children:t==null?void 0:t.map((e,d)=>r.jsx(m,{title:e==null?void 0:e.title,image:e==null?void 0:e.imageUrl,description:e==null?void 0:e.description,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleClick:()=>s(e==null?void 0:e.selectAction,e),onButtonAction:()=>c(e==null?void 0:e.buttonLink,e)},`landing-page-overlay-general-card__${d+1}`))})})]}));module.exports=b;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as r, Fragment as p, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as g, Suspense as m } from "react";
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
5
|
-
import { R as
|
|
6
|
-
import { t as
|
|
3
|
+
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as h } from "./consts-C1uHV4xc.js";
|
|
5
|
+
import { R as v } from "./style-CsMpu4iC.js";
|
|
6
|
+
import { t as x, m as y, k } from "./utils-BE-UlkKf.js";
|
|
7
7
|
import w from "./Button.js";
|
|
8
8
|
import { useTheme as b } from "./ThemeProvider.js";
|
|
9
|
-
const $ =
|
|
9
|
+
const $ = f.div`
|
|
10
10
|
display: grid;
|
|
11
11
|
grid-template-columns: ${(n) => `repeat(${n.limit}, 1fr)`};
|
|
12
12
|
gap: 1.25rem;
|
|
13
13
|
justify-items: center;
|
|
14
14
|
|
|
15
|
-
@media (max-width: ${
|
|
15
|
+
@media (max-width: ${h + "px"}) {
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
gap: 1rem;
|
|
19
19
|
}
|
|
20
|
-
`, u =
|
|
20
|
+
`, u = f.div`
|
|
21
21
|
width: 100%;
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
position: relative;
|
|
@@ -42,9 +42,11 @@ const $ = h.div`
|
|
|
42
42
|
& button {
|
|
43
43
|
width: fit-content;
|
|
44
44
|
color: var(--gray-950, #14161a);
|
|
45
|
+
background: var(--white, #fff);
|
|
45
46
|
|
|
46
47
|
&:hover {
|
|
47
48
|
color: var(--gray-700, #4e555f);
|
|
49
|
+
background: var(--white, #fff);
|
|
48
50
|
}
|
|
49
51
|
}
|
|
50
52
|
|
|
@@ -58,7 +60,7 @@ const $ = h.div`
|
|
|
58
60
|
|
|
59
61
|
& .content-text-title {
|
|
60
62
|
font-weight: 600;
|
|
61
|
-
${
|
|
63
|
+
${x(2)}
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -80,7 +82,7 @@ const $ = h.div`
|
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
@media (max-width: ${
|
|
85
|
+
@media (max-width: ${h + "px"}) {
|
|
84
86
|
& img,
|
|
85
87
|
.img.skeleton {
|
|
86
88
|
aspect-ratio: unset;
|
|
@@ -159,7 +161,7 @@ const $ = h.div`
|
|
|
159
161
|
isLoading: a = !1,
|
|
160
162
|
onButtonAction: c = () => {
|
|
161
163
|
}
|
|
162
|
-
}, d) => /* @__PURE__ */ i(
|
|
164
|
+
}, d) => /* @__PURE__ */ i(v, { ref: d, children: [
|
|
163
165
|
/* @__PURE__ */ r("div", { className: "regular-title center", children: /* @__PURE__ */ r("div", { className: "regular-title-text", children: /* @__PURE__ */ r("span", { children: n }) }) }),
|
|
164
166
|
/* @__PURE__ */ r($, { limit: o, children: /* @__PURE__ */ r(
|
|
165
167
|
S,
|
package/dist/PasswordInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),s=require("react"),n=require("./index-BPVoEhTF.cjs"),L=require("./index-DaiUAQVF.cjs"),D=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),s=require("react"),n=require("./index-BPVoEhTF.cjs"),L=require("./index-DaiUAQVF.cjs"),D=require("./Icon.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./utils-DhRHf5Ed.cjs"),A=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),G=h.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
|
package/dist/PasswordInput.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as n } from "./index-S5Cd7WrG.js";
|
|
|
4
4
|
import { d as J } from "./index-CkWvbrVT.js";
|
|
5
5
|
import K from "./Icon.js";
|
|
6
6
|
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { d as g, b as a, a as M, e as Q, h as w, c as X } from "./utils-
|
|
7
|
+
import { d as g, b as a, a as M, e as Q, h as w, c as X } from "./utils-BE-UlkKf.js";
|
|
8
8
|
import { u as Y } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
const Z = m.div`
|
|
10
10
|
display: flex;
|
package/dist/PopoverContent.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),c=require("react"),s=require("./floating-ui.react.esm-Bb1ww976.cjs"),i=require("./index-BPVoEhTF.cjs"),x=require("./PopoverContext.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),c=require("react"),s=require("./floating-ui.react.esm-Bb1ww976.cjs"),i=require("./index-BPVoEhTF.cjs"),x=require("./PopoverContext.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./utils-DhRHf5Ed.cjs"),y=require("./motion-B_VPZaJq.cjs"),f=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),P=h.styled(y.motion.div)`
|
|
2
2
|
font-family: ${e=>{var t,r;return(r=(t=e.theme)==null?void 0:t.typography)==null?void 0:r.fontFamily}};
|
|
3
3
|
animation: fadeIn 0.4s;
|
|
4
4
|
box-shadow: ${e=>a.getComponentPropValue(e.theme,"Popover",e.color,"enabled","boxShadow")};
|
package/dist/PopoverContent.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as f, F as u, b as g } from "./floating-ui.react.esm-h3qa3pb9.js";
|
|
|
4
4
|
import { P as n } from "./index-S5Cd7WrG.js";
|
|
5
5
|
import h from "./PopoverContext.js";
|
|
6
6
|
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
7
|
-
import { g as y, a as P, b as v } from "./utils-
|
|
7
|
+
import { g as y, a as P, b as v } from "./utils-BE-UlkKf.js";
|
|
8
8
|
import { m as w } from "./motion-Ckekul_K.js";
|
|
9
9
|
import { u as C } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
const F = x(w.div)`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-CtNoHdBj.cjs"),k=require("./useDetectMobile-D6d5LpdL.cjs"),y=require("./style-C571ywKV.cjs"),d=require("./utils-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),l=require("react"),u=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-CtNoHdBj.cjs"),k=require("./useDetectMobile-D6d5LpdL.cjs"),y=require("./style-C571ywKV.cjs"),d=require("./utils-DhRHf5Ed.cjs"),P=require("./index-BVaZWq6y.cjs"),S=u.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 22.5rem;
|
|
4
4
|
min-height: 22.5rem;
|
|
@@ -4,8 +4,8 @@ import { s as p } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as k } from "./consts-C1uHV4xc.js";
|
|
5
5
|
import { u as $ } from "./useDetectMobile-BC6EGaBc.js";
|
|
6
6
|
import { R as U } from "./style-CsMpu4iC.js";
|
|
7
|
-
import { t as I, m as b, l as M, k as W } from "./utils-
|
|
8
|
-
import { P as j } from "./index-
|
|
7
|
+
import { t as I, m as b, l as M, k as W } from "./utils-BE-UlkKf.js";
|
|
8
|
+
import { P as j } from "./index-Ca38iPjf.js";
|
|
9
9
|
const E = p.div`
|
|
10
10
|
width: 100%;
|
|
11
11
|
height: 22.5rem;
|
package/dist/ProgressBar.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),i=require("react"),r=require("./index-BPVoEhTF.cjs"),l=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./utils-DhRHf5Ed.cjs"),P=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),f=l.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
position: relative;
|
|
4
4
|
background-color: ${e=>o.getColorRgbaValue(e.theme,"Progress",e.color,"enabled","unfilled")};
|
package/dist/ProgressBar.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as f, isValidElement as P, cloneElement as y } from "react";
|
|
3
3
|
import { P as r } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
-
import { b as n, c as x } from "./utils-
|
|
5
|
+
import { b as n, c as x } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { u as $ } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const w = t.div`
|
|
8
8
|
width: 100%;
|
package/dist/QuizSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),i=require("react"),N=require("./utils-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),i=require("react"),N=require("./utils-DhRHf5Ed.cjs"),k=require("./Button.cjs"),T=require("./emotion-styled.browser.esm-BtEseadx.cjs"),_=require("./consts-CtNoHdBj.cjs"),M=require("./Icon.cjs"),K=require("./ProgressBar.cjs"),V=T.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: center;
|
package/dist/QuizSection.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as t, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as I, useState as w, useRef as B, useEffect as re } from "react";
|
|
3
|
-
import { v as ae, k as te, l as G, q as ie } from "./utils-
|
|
3
|
+
import { v as ae, k as te, l as G, q as ie } from "./utils-BE-UlkKf.js";
|
|
4
4
|
import z from "./Button.js";
|
|
5
5
|
import { s as E } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
6
|
import { M as U, C as H, a as P } from "./consts-C1uHV4xc.js";
|
package/dist/RadioInput.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),h=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-BPVoEhTF.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),h=require("react"),m=require("./emotion-styled.browser.esm-BtEseadx.cjs"),r=require("./index-BPVoEhTF.cjs"),o=require("./utils-DhRHf5Ed.cjs"),O=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),j=e=>e=="left"?"row-reverse":"row",q=m.styled.label`
|
|
2
2
|
min-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
|
|
3
3
|
max-height: ${e=>o.getSizeValueWithUnits(e.theme,e.size)};
|
|
4
4
|
width: 100%;
|
package/dist/RadioInput.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsxs as b, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as P, useState as j } from "react";
|
|
3
3
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as i } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { d as f, c as N, e as T, b as t } from "./utils-
|
|
5
|
+
import { d as f, c as N, e as T, b as t } from "./utils-BE-UlkKf.js";
|
|
6
6
|
import { u as F } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const I = (e) => e == "left" ? "row-reverse" : "row", D = g.label`
|
|
8
8
|
min-height: ${(e) => f(e.theme, e.size)};
|
package/dist/RangeSlider.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./index-BPVoEhTF.cjs"),o=require("react"),a=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),y=require("./emotion-styled.browser.esm-BtEseadx.cjs"),n=require("./index-BPVoEhTF.cjs"),o=require("react"),a=require("./utils-DhRHf5Ed.cjs"),U=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),_=require("./useUpdateEffect-BtMgpgIV.cjs"),L=({theme:e,size:i})=>{var c=a.getSizeValueWithUnits(e,i);return`
|
|
2
2
|
min-height: ${c};
|
|
3
3
|
max-height: ${c};
|
|
4
4
|
`},b={small:"0.875rem",medium:"1.125rem",large:"1.375rem"},W=y.styled.div`
|