@lanaco/lnc-react-ui 4.0.170 → 4.0.171
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.js +1 -1
- package/dist/AccordionSummary.js +1 -1
- package/dist/ActionsToolbar.js +1 -1
- package/dist/Alert.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/Badge.js +1 -1
- package/dist/BannerSectionCarousel.cjs +9 -48
- package/dist/BannerSectionCarousel.js +208 -249
- package/dist/BannerSectionSimple.js +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogCardsSponsoredSection.cjs +8 -8
- package/dist/BlogCardsSponsoredSection.js +67 -68
- package/dist/BlogCategoryCardsSection.cjs +1 -1
- package/dist/BlogCategoryCardsSection.js +22 -30
- package/dist/BlogExploreSection.js +9 -9
- package/dist/BlogListSection.cjs +11 -5
- package/dist/BlogListSection.js +187 -123
- package/dist/BlogProductCardsSection.cjs +1 -1
- package/dist/BlogProductCardsSection.js +28 -37
- package/dist/BlogShopCardsSection.cjs +1 -1
- package/dist/BlogShopCardsSection.js +40 -67
- package/dist/BlogSingleSection.cjs +16 -1
- package/dist/BlogSingleSection.js +47 -45
- package/dist/BlogsSectionDetailed.cjs +8 -27
- package/dist/BlogsSectionDetailed.js +111 -159
- package/dist/BlogsSectionLarge.cjs +19 -4
- package/dist/BlogsSectionLarge.js +73 -37
- package/dist/BlogsSectionSimple.cjs +9 -9
- package/dist/BlogsSectionSimple.js +81 -107
- package/dist/BlogsSectionSimpleCentered.cjs +25 -23
- package/dist/BlogsSectionSimpleCentered.js +103 -96
- package/dist/BlogsSectionWithFilters.cjs +31 -29
- package/dist/BlogsSectionWithFilters.js +173 -134
- package/dist/BrandHitsSection.cjs +10 -14
- package/dist/BrandHitsSection.js +93 -45
- package/dist/Breadcrumbs.js +1 -1
- package/dist/Button.js +1 -1
- package/dist/ButtonGroup.js +1 -1
- package/dist/CalorieCalculatorSection.js +1 -1
- package/dist/CategorySimpleCard-Qe5QStrs.cjs +47 -0
- package/dist/CategorySimpleCard-laAY-RUT.js +70 -0
- package/dist/CheckBoxInput.js +1 -1
- package/dist/Chip.js +1 -1
- package/dist/ColorInput.js +1 -1
- package/dist/ConfirmationForm.js +1 -1
- package/dist/CustomLoanMapSection.js +1 -1
- package/dist/{CustomStyles-SyQRnjuy.js → CustomStyles-ArAVZsIj.js} +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +3 -3
- package/dist/DetailedProductsInfinitiveSection.js +35 -36
- package/dist/DetailedProductsSection.cjs +4 -4
- package/dist/DetailedProductsSection.js +62 -63
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FeedbackSection.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +20 -25
- package/dist/FieldOfInterestsMasonrySection.js +228 -154
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +33 -24
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +178 -113
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +6 -16
- package/dist/FieldOfInterestsWithTagsCardsSection.js +89 -93
- package/dist/FileInput.js +1 -1
- package/dist/FlexGridItem.js +1 -1
- package/dist/FormField.js +1 -1
- package/dist/FormView.js +1 -1
- package/dist/GeneralWithTagsCardsSection.cjs +11 -27
- package/dist/GeneralWithTagsCardsSection.js +87 -99
- package/dist/GiftCardsSection.cjs +18 -23
- package/dist/GiftCardsSection.js +146 -77
- package/dist/Icon.js +1 -1
- package/dist/IconButton.js +1 -1
- package/dist/Kanban.js +1 -1
- package/dist/KanbanActionsToolbar.js +1 -1
- package/dist/KanbanView.js +1 -1
- package/dist/Link.js +1 -1
- package/dist/LoanCalculatorSection.js +1 -1
- package/dist/LocationFinderSection.js +1 -1
- package/dist/LocationSearchSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +33 -19
- package/dist/MasonryGeneralCardsSection.js +114 -68
- package/dist/MenuItem.js +1 -1
- package/dist/Modal.js +1 -1
- package/dist/MultiSelectDropdown.js +1 -1
- package/dist/MultiSelectDropdownLookup.js +1 -1
- package/dist/NestedDropdownItem.js +1 -1
- package/dist/NestedMenuItem.js +1 -1
- package/dist/NotificationContainer.js +1 -1
- package/dist/NotificationMessage.js +1 -1
- package/dist/NumberInput.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +5 -5
- package/dist/OverlayGeneralCardsSection.js +54 -40
- package/dist/PasswordInput.js +1 -1
- package/dist/PopoverContent.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +15 -20
- package/dist/ProductsWithBannerSection.js +176 -104
- package/dist/ProgressBar.js +1 -1
- package/dist/QuattroCardsSection.cjs +6 -6
- package/dist/QuattroCardsSection.js +42 -34
- package/dist/QuizSection.js +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/ReviewsSection.cjs +24 -30
- package/dist/ReviewsSection.js +170 -137
- package/dist/SalesCampaignsSection.cjs +46 -130
- package/dist/SalesCampaignsSection.js +354 -433
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +18 -5
- package/dist/ShopCardsSection.js +145 -88
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +10 -4
- package/dist/SimpleCategoriesSection.js +79 -51
- package/dist/SimpleProductsSection.cjs +16 -3
- package/dist/SimpleProductsSection.js +172 -70
- package/dist/Spinner.js +1 -1
- package/dist/StatsSection.js +4 -4
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +2 -2
- package/dist/UrgentSaleProductsSection.js +62 -61
- package/dist/index-BAJkosVg.cjs +11 -0
- package/dist/{index-dXWRbvgi.js → index-BMOLVn8O.js} +1 -1
- package/dist/{skeleton-5mO22c5S.js → index-BPntOicE.js} +55 -107
- package/dist/index-BSpdEGFd.js +42 -0
- package/dist/{index-CF3HhgvN.js → index-BbltNcou.js} +1 -1
- package/dist/index-BhBRZf4M.js +742 -0
- package/dist/index-BovNbKxB.js +54 -0
- package/dist/{skeleton-Ccd6EDeB.cjs → index-C5r__0lD.cjs} +4 -47
- package/dist/{index-DicTpiG0.cjs → index-CfT9e5O9.cjs} +2 -10
- package/dist/index-D-3I_Ppj.cjs +16 -0
- package/dist/index-D0IYt1s3.cjs +20 -0
- package/dist/{skeleton-CQPwIEP0.js → index-D69SKc-n.cjs} +7 -37
- package/dist/{index-C0SKNFzP.js → index-D8KPbcUf.js} +1 -1
- package/dist/index-DFdPWO4O.js +133 -0
- package/dist/index-DFyV_EK2.cjs +305 -0
- package/dist/index-DxwIu0Wn.js +84 -0
- package/dist/{index-y6sKgrZC.js → index-XYs5Cuh5.js} +21 -30
- package/dist/index.js +1 -1
- package/dist/style-BAcV7F53.cjs +64 -0
- package/dist/style-CXMUA6cI.js +74 -0
- package/dist/{style-DKAOBWn3.js → style-D3pIrH3v.js} +1 -1
- package/dist/{utils-BdsZgOUE.js → utils-DHfRApMf.js} +6 -6
- package/package.json +1 -1
- package/dist/index-1Dm1i6WK.js +0 -52
- package/dist/index-BGTtoLxz.cjs +0 -1
- package/dist/skeleton-BdbB-LdT.cjs +0 -97
- package/dist/suspense-categories-card-simple-BGj475Ca.js +0 -101
- package/dist/suspense-categories-card-simple-CjGtzfzp.cjs +0 -55
- package/dist/suspense-large-BMO7JH52.js +0 -26
- package/dist/suspense-large-CFmcSzX-.cjs +0 -1
- package/dist/suspense-product-card-detailed-BU6DPCvJ.js +0 -652
- package/dist/suspense-product-card-detailed-BbvQuPOP.cjs +0 -329
- package/dist/suspense-product-card-simple-DJ8UYolb.cjs +0 -1
- package/dist/suspense-product-card-simple-ziy0XcLp.js +0 -26
|
@@ -3,14 +3,14 @@ import { memo as B, forwardRef as q, useMemo as E } from "react";
|
|
|
3
3
|
import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as O } from "./consts-BuFChS64.js";
|
|
5
5
|
import R from "./Button.js";
|
|
6
|
-
import { k as
|
|
6
|
+
import { k as m } from "./utils-DHfRApMf.js";
|
|
7
7
|
import { u as W } from "./useDetectMobile-Bkvj0VMa.js";
|
|
8
|
-
import { T as $ } from "./style-
|
|
9
|
-
import { D as j, S as z } from "./
|
|
10
|
-
import { S as A } from "./index-
|
|
8
|
+
import { T as $ } from "./style-D3pIrH3v.js";
|
|
9
|
+
import { D as j, S as z } from "./index-BhBRZf4M.js";
|
|
10
|
+
import { S as A } from "./index-BMOLVn8O.js";
|
|
11
11
|
const K = I.div`
|
|
12
12
|
display: grid;
|
|
13
|
-
grid-template-columns: ${(
|
|
13
|
+
grid-template-columns: ${(a) => `repeat(${a.limit}, minmax(0, 1fr))`};
|
|
14
14
|
gap: 1.25rem;
|
|
15
15
|
|
|
16
16
|
& .button-link {
|
|
@@ -36,34 +36,34 @@ const K = I.div`
|
|
|
36
36
|
/* Safari and Chrome */
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
`,
|
|
39
|
+
`, P = B(j), ee = q((a, v) => {
|
|
40
40
|
const {
|
|
41
|
-
icon:
|
|
42
|
-
title:
|
|
43
|
-
buttonLink:
|
|
41
|
+
icon: d,
|
|
42
|
+
title: T,
|
|
43
|
+
buttonLink: c,
|
|
44
44
|
items: r,
|
|
45
|
-
buttonText:
|
|
46
|
-
limit:
|
|
47
|
-
onSelectCard:
|
|
45
|
+
buttonText: u,
|
|
46
|
+
limit: n = 4,
|
|
47
|
+
onSelectCard: p = () => {
|
|
48
48
|
},
|
|
49
|
-
onButtonAction:
|
|
49
|
+
onButtonAction: U = () => {
|
|
50
50
|
},
|
|
51
|
-
isLoading:
|
|
52
|
-
getImage:
|
|
51
|
+
isLoading: g = !1,
|
|
52
|
+
getImage: b = () => {
|
|
53
53
|
},
|
|
54
|
-
negotiableText:
|
|
55
|
-
freeText:
|
|
56
|
-
options:
|
|
57
|
-
onSelectOption:
|
|
54
|
+
negotiableText: k,
|
|
55
|
+
freeText: f,
|
|
56
|
+
options: i,
|
|
57
|
+
onSelectOption: y = () => {
|
|
58
58
|
},
|
|
59
59
|
productsToolbarName: L = "All",
|
|
60
|
-
sponsoredText:
|
|
61
|
-
onBookmark:
|
|
60
|
+
sponsoredText: S,
|
|
61
|
+
onBookmark: C = () => {
|
|
62
62
|
},
|
|
63
|
-
bookmarkComponent:
|
|
64
|
-
componentName:
|
|
65
|
-
} =
|
|
66
|
-
|
|
63
|
+
bookmarkComponent: h,
|
|
64
|
+
componentName: N
|
|
65
|
+
} = a, w = W(), M = E(() => /* @__PURE__ */ o(F, { children: w === !0 ? r == null ? void 0 : r.map((e, t) => /* @__PURE__ */ o(
|
|
66
|
+
P,
|
|
67
67
|
{
|
|
68
68
|
name: e == null ? void 0 : e.name,
|
|
69
69
|
price: e == null ? void 0 : e.price,
|
|
@@ -74,32 +74,32 @@ const K = I.div`
|
|
|
74
74
|
uuid: e == null ? void 0 : e.uuid,
|
|
75
75
|
sponsored: e == null ? void 0 : e.sponsored,
|
|
76
76
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
77
|
-
onSelectCard: (D, l) =>
|
|
77
|
+
onSelectCard: (D, l) => p({
|
|
78
78
|
uuid: e == null ? void 0 : e.uuid,
|
|
79
79
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
80
80
|
cardRef: l
|
|
81
81
|
}),
|
|
82
82
|
sellerName: e == null ? void 0 : e.sellerName,
|
|
83
|
-
imageUrl:
|
|
83
|
+
imageUrl: b(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
84
84
|
isFree: e == null ? void 0 : e.isFree,
|
|
85
85
|
isNegotiable: e == null ? void 0 : e.isNegotiable,
|
|
86
|
-
negotiableText:
|
|
87
|
-
freeText:
|
|
86
|
+
negotiableText: k,
|
|
87
|
+
freeText: f,
|
|
88
88
|
tags: e == null ? void 0 : e.tags,
|
|
89
89
|
categoryCode: e == null ? void 0 : e.categoryCode,
|
|
90
90
|
condition: e == null ? void 0 : e.condition,
|
|
91
91
|
quantity: e == null ? void 0 : e.quantity,
|
|
92
92
|
trade: e == null ? void 0 : e.trade,
|
|
93
|
-
sponsoredText:
|
|
94
|
-
onBookmark:
|
|
95
|
-
bookmarkComponent:
|
|
93
|
+
sponsoredText: S,
|
|
94
|
+
onBookmark: C,
|
|
95
|
+
bookmarkComponent: h,
|
|
96
96
|
bookmarked: e == null ? void 0 : e.bookmarked,
|
|
97
97
|
bookmarkLists: e == null ? void 0 : e.bookmarkLists,
|
|
98
|
-
metadata: { accessor: e == null ? void 0 : e.accessor, name:
|
|
98
|
+
metadata: { accessor: e == null ? void 0 : e.accessor, name: N }
|
|
99
99
|
},
|
|
100
|
-
|
|
101
|
-
)) : r == null ? void 0 : r.slice(0,
|
|
102
|
-
|
|
100
|
+
t
|
|
101
|
+
)) : r == null ? void 0 : r.slice(0, n).map((e, t) => /* @__PURE__ */ o(
|
|
102
|
+
P,
|
|
103
103
|
{
|
|
104
104
|
name: e == null ? void 0 : e.name,
|
|
105
105
|
price: e == null ? void 0 : e.price,
|
|
@@ -111,62 +111,62 @@ const K = I.div`
|
|
|
111
111
|
location: e == null ? void 0 : e.location,
|
|
112
112
|
sponsored: e == null ? void 0 : e.sponsored,
|
|
113
113
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
114
|
-
onSelectCard: (D, l) =>
|
|
114
|
+
onSelectCard: (D, l) => p({
|
|
115
115
|
uuid: e == null ? void 0 : e.uuid,
|
|
116
116
|
nameSlug: e == null ? void 0 : e.nameSlug,
|
|
117
117
|
cardRef: l
|
|
118
118
|
}),
|
|
119
|
-
imageUrl:
|
|
119
|
+
imageUrl: b(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
|
|
120
120
|
isFree: e == null ? void 0 : e.isFree,
|
|
121
121
|
isNegotiable: e == null ? void 0 : e.isNegotiable,
|
|
122
|
-
negotiableText:
|
|
123
|
-
freeText:
|
|
122
|
+
negotiableText: k,
|
|
123
|
+
freeText: f,
|
|
124
124
|
tags: e == null ? void 0 : e.tags,
|
|
125
125
|
categoryCode: e == null ? void 0 : e.categoryCode,
|
|
126
126
|
condition: e == null ? void 0 : e.condition,
|
|
127
127
|
quantity: e == null ? void 0 : e.quantity,
|
|
128
128
|
trade: e == null ? void 0 : e.trade,
|
|
129
|
-
sponsoredText:
|
|
130
|
-
onBookmark:
|
|
131
|
-
bookmarkComponent:
|
|
129
|
+
sponsoredText: S,
|
|
130
|
+
onBookmark: C,
|
|
131
|
+
bookmarkComponent: h,
|
|
132
132
|
bookmarked: e == null ? void 0 : e.bookmarked,
|
|
133
133
|
bookmarkLists: e == null ? void 0 : e.bookmarkLists,
|
|
134
|
-
metadata: { accessor: e == null ? void 0 : e.accessor, name:
|
|
134
|
+
metadata: { accessor: e == null ? void 0 : e.accessor, name: N },
|
|
135
135
|
sellerName: e == null ? void 0 : e.sellerName
|
|
136
136
|
},
|
|
137
|
-
|
|
138
|
-
)) }), [r,
|
|
139
|
-
return /* @__PURE__ */ s($, { ref:
|
|
137
|
+
t
|
|
138
|
+
)) }), [r, w, n]);
|
|
139
|
+
return /* @__PURE__ */ s($, { ref: v, children: [
|
|
140
140
|
/* @__PURE__ */ s("div", { className: "regular-title", children: [
|
|
141
141
|
/* @__PURE__ */ s("div", { className: "regular-title-text", children: [
|
|
142
|
-
|
|
143
|
-
/* @__PURE__ */ o("span", { children:
|
|
142
|
+
m(d) && /* @__PURE__ */ o("i", { className: d }),
|
|
143
|
+
/* @__PURE__ */ o("span", { children: T })
|
|
144
144
|
] }),
|
|
145
|
-
|
|
145
|
+
m(c) && m(u) && !g && /* @__PURE__ */ o(
|
|
146
146
|
R,
|
|
147
147
|
{
|
|
148
148
|
type: "button",
|
|
149
149
|
btnType: "tinted",
|
|
150
150
|
color: "neutral",
|
|
151
151
|
onClick: (e) => {
|
|
152
|
-
var
|
|
153
|
-
(
|
|
152
|
+
var t;
|
|
153
|
+
(t = e == null ? void 0 : e.target) == null || t.blur(), U(c);
|
|
154
154
|
},
|
|
155
155
|
borderRadius: "curved",
|
|
156
156
|
className: "button-link",
|
|
157
|
-
children:
|
|
157
|
+
children: u
|
|
158
158
|
}
|
|
159
159
|
)
|
|
160
160
|
] }),
|
|
161
|
-
(
|
|
161
|
+
(i == null ? void 0 : i.length) > 0 && /* @__PURE__ */ o(
|
|
162
162
|
A,
|
|
163
163
|
{
|
|
164
|
-
items:
|
|
164
|
+
items: i,
|
|
165
165
|
onRemove: (e) => {
|
|
166
|
-
|
|
166
|
+
y(e);
|
|
167
167
|
},
|
|
168
168
|
onSelect: (e) => {
|
|
169
|
-
|
|
169
|
+
y(e);
|
|
170
170
|
},
|
|
171
171
|
labelKey: "name",
|
|
172
172
|
valueKey: "code",
|
|
@@ -174,15 +174,14 @@ const K = I.div`
|
|
|
174
174
|
productsToolbarName: L
|
|
175
175
|
}
|
|
176
176
|
),
|
|
177
|
-
/* @__PURE__ */ o(
|
|
177
|
+
/* @__PURE__ */ o(
|
|
178
178
|
z,
|
|
179
179
|
{
|
|
180
|
-
isLoading:
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
children: M
|
|
180
|
+
isLoading: g,
|
|
181
|
+
keyPrefix: "detailed-products-skeleton",
|
|
182
|
+
children: /* @__PURE__ */ o(K, { limit: n, children: M })
|
|
184
183
|
}
|
|
185
|
-
)
|
|
184
|
+
)
|
|
186
185
|
] });
|
|
187
186
|
});
|
|
188
187
|
export {
|
package/dist/DetailsView.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as e } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import W from "./FlexGrid.js";
|
|
6
6
|
import A from "./FlexGridItem.js";
|
|
7
|
-
import { c as Y, b as B, g as U, a as q } from "./utils-
|
|
7
|
+
import { c as Y, b as B, g as U, a as q } from "./utils-DHfRApMf.js";
|
|
8
8
|
import { u as E } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
9
9
|
import H from "./Button.js";
|
|
10
10
|
import c from "./IconButton.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as f, jsx as r, Fragment as V } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as F, useState as w, useEffect as x, useRef as T, useCallback as j } from "react";
|
|
3
3
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { P as i } from "./index-CblbdqjE.js";
|
|
5
|
-
import { b as u, a as R, c as E, d as O } from "./utils-
|
|
5
|
+
import { b as u, a as R, c as E, d as O } from "./utils-DHfRApMf.js";
|
|
6
6
|
import { u as D } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
const L = ({ theme: e, size: k }) => {
|
|
8
8
|
var s = O(e, k);
|
package/dist/DragAndDropFile.js
CHANGED
|
@@ -5,7 +5,7 @@ import { s as Ia } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
5
5
|
import Na from "./Icon.js";
|
|
6
6
|
import { b as R } from "./tslib.es6-DQ-SzcmG.js";
|
|
7
7
|
import Ei from "./Button.js";
|
|
8
|
-
import { b as Ua } from "./utils-
|
|
8
|
+
import { b as Ua } from "./utils-DHfRApMf.js";
|
|
9
9
|
import { u as Fi } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
10
10
|
const Ai = /* @__PURE__ */ new Map([
|
|
11
11
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
package/dist/DragDropFiles.js
CHANGED
|
@@ -4,7 +4,7 @@ import { P as e } from "./index-CblbdqjE.js";
|
|
|
4
4
|
import { s as V } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import E from "./DragAndDropFile.js";
|
|
6
6
|
import W from "./UploadedFile.js";
|
|
7
|
-
import { b as q, a as H } from "./utils-
|
|
7
|
+
import { b as q, a as H } from "./utils-DHfRApMf.js";
|
|
8
8
|
import J from "./FlexGrid.js";
|
|
9
9
|
import h from "./FlexGridItem.js";
|
|
10
10
|
import { u as K } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
package/dist/Drawer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as I } from "react/jsx-runtime";
|
|
|
2
2
|
import b, { useRef as T, useEffect as j, useMemo as B, forwardRef as M, useState as q, useImperativeHandle as F } from "react";
|
|
3
3
|
import { P as r } from "./index-CblbdqjE.js";
|
|
4
4
|
import { C as H } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
5
|
-
import { b as Z, c as V } from "./utils-
|
|
5
|
+
import { b as Z, c as V } from "./utils-DHfRApMf.js";
|
|
6
6
|
import { u as A } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
7
7
|
function $() {
|
|
8
8
|
return $ = Object.assign || function(n) {
|
package/dist/Dropdown.js
CHANGED
|
@@ -2,8 +2,8 @@ import { jsx as g } from "react/jsx-runtime";
|
|
|
2
2
|
import { P as e } from "./index-CblbdqjE.js";
|
|
3
3
|
import * as O from "react";
|
|
4
4
|
import { forwardRef as t, useCallback as y } from "react";
|
|
5
|
-
import { u as S, S as M, a as h } from "./CustomStyles-
|
|
6
|
-
import { c as H } from "./CustomStyles-
|
|
5
|
+
import { u as S, S as M, a as h } from "./CustomStyles-ArAVZsIj.js";
|
|
6
|
+
import { c as H } from "./CustomStyles-ArAVZsIj.js";
|
|
7
7
|
import { _ as C, u as x } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import "./index-B1vKwsDE.js";
|
|
9
9
|
import { d as I } from "./index-Dt62UGku.js";
|
package/dist/DropdownItem.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 l } from "./index-CblbdqjE.js";
|
|
4
4
|
import { s as Z } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
5
|
import M from "./Icon.js";
|
|
6
|
-
import { b as t, c as I, h as N } from "./utils-
|
|
6
|
+
import { b as t, c as I, h as N } from "./utils-DHfRApMf.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/DropdownLookup.js
CHANGED
|
@@ -3,7 +3,7 @@ import { P as e } from "./index-CblbdqjE.js";
|
|
|
3
3
|
import * as Oe from "react";
|
|
4
4
|
import { useRef as G, useState as a, useEffect as W, useCallback as j, forwardRef as J } from "react";
|
|
5
5
|
import { _ as me, u as be } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
6
|
-
import { _ as Se, b as s, h as ge, d as C, u as he, S as ve, a as ye } from "./CustomStyles-
|
|
6
|
+
import { _ as Se, b as s, h as ge, d as C, u as he, S as ve, a as ye } from "./CustomStyles-ArAVZsIj.js";
|
|
7
7
|
import { _ as _e } from "./defineProperty-DF3p0mVo.js";
|
|
8
8
|
import "./index-B1vKwsDE.js";
|
|
9
9
|
import { d as Ie } from "./index-Dt62UGku.js";
|
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-CblbdqjE.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-DHfRApMf.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.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-CblbdqjE.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-DHfRApMf.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.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as d } from "react";
|
|
3
|
-
import { k as t } from "./utils-
|
|
3
|
+
import { k as t } from "./utils-DHfRApMf.js";
|
|
4
4
|
import m from "./Button.js";
|
|
5
5
|
import { q as f } from "./styled-components.browser.esm-D-n22PJk.js";
|
|
6
6
|
import { M as g } from "./consts-BuFChS64.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),w=require("./utils-Dl9xPH4c.cjs"),F=require("./Icon.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),N=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-BAcV7F53.cjs"),P=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: fit-content;
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
font-style: normal;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
line-height: 1.5rem;
|
|
40
|
-
${
|
|
40
|
+
${w.truncateTextInRows(2)}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
& .wrapper__description {
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
font-weight: 400;
|
|
48
48
|
line-height: 1rem;
|
|
49
49
|
letter-spacing: 0.025rem;
|
|
50
|
-
${
|
|
50
|
+
${w.truncateTextInRows(2)}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
@media (max-width: ${
|
|
54
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
55
55
|
& .wrapper__content {
|
|
56
56
|
& .wrapper__title {
|
|
57
57
|
font-size: 0.875rem;
|
|
@@ -63,12 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
`,
|
|
67
|
-
width: 100%;
|
|
68
|
-
height: 11.625rem;
|
|
69
|
-
border-radius: 0.75rem;
|
|
70
|
-
background: ${s.linearGradientAnimation("-90deg")};
|
|
71
|
-
`,C=_.styled.div`
|
|
66
|
+
`,q=f.styled.div`
|
|
72
67
|
display: flex;
|
|
73
68
|
flex-direction: column;
|
|
74
69
|
align-items: center;
|
|
@@ -109,7 +104,7 @@
|
|
|
109
104
|
font-weight: 400;
|
|
110
105
|
line-height: 1.5rem;
|
|
111
106
|
max-width: 8rem;
|
|
112
|
-
${
|
|
107
|
+
${w.truncateTextInRows(2)}
|
|
113
108
|
}
|
|
114
109
|
|
|
115
110
|
&.active {
|
|
@@ -119,7 +114,7 @@
|
|
|
119
114
|
}
|
|
120
115
|
}
|
|
121
116
|
|
|
122
|
-
@media (max-width: ${
|
|
117
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
123
118
|
max-width: unset;
|
|
124
119
|
min-width: unset;
|
|
125
120
|
flex-direction: row;
|
|
@@ -159,17 +154,7 @@
|
|
|
159
154
|
max-width: unset;
|
|
160
155
|
}
|
|
161
156
|
}
|
|
162
|
-
`,
|
|
163
|
-
width: 7.5rem;
|
|
164
|
-
width: 7.5rem;
|
|
165
|
-
border-radius: 999px;
|
|
166
|
-
background: ${s.linearGradientAnimation("-90deg")};
|
|
167
|
-
|
|
168
|
-
@media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
|
|
169
|
-
width: 7.5rem;
|
|
170
|
-
height: 2.5rem;
|
|
171
|
-
}
|
|
172
|
-
`,O=l.forwardRef(({},t)=>r.jsx(L,{})),F=l.forwardRef(({text:t,isActive:o=!1,icon:i,onSelectCard:n=()=>{}},d)=>r.jsxs(C,{ref:d,className:o?"active":"",onClick:n,children:[r.jsx(R,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=l.forwardRef(({image:t,imageComponent:o,title:i,description:n,className:d,onSelectCard:g=()=>{}},u)=>{const{theme:y}=q.useTheme();return r.jsxs(z,{ref:u,theme:y,className:d,onClick:g,children:[s.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),T=l.forwardRef(({},t)=>r.jsxs(S,{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"})]})]})),W=_.styled.div`
|
|
157
|
+
`,O=p.forwardRef(({text:t,isActive:o=!1,icon:i,onSelectCard:a=()=>{}},h)=>e.jsxs(q,{ref:h,className:o?"active":"",onClick:a,children:[e.jsx(F,{icon:i,className:"wrapper__icon"}),e.jsx("div",{className:"wrapper__text",children:t})]})),z=p.forwardRef(({image:t,imageComponent:o,title:i,description:a,className:h,onSelectCard:u=()=>{}},y)=>{const{theme:j}=N.useTheme();return e.jsxs(P,{ref:y,theme:j,className:h,onClick:u,children:[w.isDefined(o)?o:e.jsx("img",{src:t,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__content",children:[i&&e.jsx("div",{className:"wrapper__title",children:i}),a&&e.jsx("div",{className:"wrapper__description",children:a})]})]})}),R=f.styled.div`
|
|
173
158
|
display: flex;
|
|
174
159
|
flex-direction: column;
|
|
175
160
|
align-items: center;
|
|
@@ -224,7 +209,7 @@
|
|
|
224
209
|
}
|
|
225
210
|
}
|
|
226
211
|
|
|
227
|
-
@media (max-width: ${
|
|
212
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
228
213
|
gap: 1rem;
|
|
229
214
|
|
|
230
215
|
& .wrapper__tags {
|
|
@@ -251,4 +236,14 @@
|
|
|
251
236
|
grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
252
237
|
}
|
|
253
238
|
}
|
|
254
|
-
`,
|
|
239
|
+
`,I=f.styled(n.SkeletonRowWrapper)`
|
|
240
|
+
&.skeleton__tags {
|
|
241
|
+
max-width: 50rem;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
245
|
+
&.skeleton__tags {
|
|
246
|
+
overflow-x: hidden;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
`,W=({keyPrefix:t})=>e.jsxs(I,{className:"skeleton__tags",children:[e.jsxs(n.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",children:[e.jsx(n.SkeletonCirclePlaceholder,{width:"2.75rem",height:"2.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})]},`${t}-1`),e.jsxs(n.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonCirclePlaceholder,{width:"2.75rem",height:"2.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})]},`${t}-2`),e.jsxs(n.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonCirclePlaceholder,{width:"2.75rem",height:"2.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})]},`${t}-3`),e.jsxs(n.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonCirclePlaceholder,{width:"2.75rem",height:"2.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})]},`${t}-4`),e.jsxs(n.SkeletonColumnWrapper,{alignItems:"center",gap:"0.5rem",noGradient:!0,children:[e.jsx(n.SkeletonCirclePlaceholder,{width:"2.75rem",height:"2.75rem"}),e.jsx(n.SkeletonLinePlaceholder,{height:"1.5rem",width:"8rem"})]},`${t}-5`)]}),T=({keyPrefix:t,isLoading:o=!1,fallbackComponent:i=e.jsx(e.Fragment,{}),children:a})=>e.jsx(p.Suspense,{fallbackComponent:i,children:o===!0?e.jsx(W,{keyPrefix:t}):a}),B=({keyPrefix:t})=>e.jsxs(I,{className:"skeleton__cards",children:[e.jsx(n.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-1`),e.jsx(n.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"13.75rem"},`${t}-3`)]}),G=({keyPrefix:t,isLoading:o=!1,fallbackComponent:i=e.jsx(e.Fragment,{}),children:a})=>e.jsx(p.Suspense,{fallbackComponent:i,children:o===!0?e.jsx(B,{keyPrefix:t}):a}),X=p.forwardRef(({title:t,subtitle:o,tags:i=[],items:a=[],limitTags:h=5,limitTagsForMobile:u=5,limit:y=3,limitForMobile:j=2,selectedTag:$,onSelectTag:v=()=>{},onSelectCard:k=()=>{},className:m,isLoadingTags:C=!1,isLoadingCards:S=!1},L)=>(p.useLayoutEffect(()=>{if(!w.isDefinedNotEmptyString(m))return;const r=()=>{const c=document==null?void 0:document.querySelector(`.${m} .wrapper__cards`),l=c==null?void 0:c.querySelectorAll(".wrapper__card");l==null||l.forEach(x=>{const E=x.getBoundingClientRect().height,M=Math.ceil((E+10)/20);x.style.gridRowEnd=`span ${M}`});const b=l==null?void 0:l[(l==null?void 0:l.length)-1];if(b){const x=b.offsetTop+b.offsetHeight;c.style.height=`${x}px`}},d=document==null?void 0:document.querySelector(`.${m} .wrapper__cards`),s=d==null?void 0:d.querySelectorAll(".wrapper__image");let _=0;return(s==null?void 0:s.length)===0?r():(s==null||s.forEach(c=>{c.complete?_++:c.addEventListener("load",()=>{_++,_===(s==null?void 0:s.length)&&r()})}),_===(s==null?void 0:s.length)&&r()),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[m,a,S]),e.jsxs(R,{ref:L,limitTags:h,limitTagsForMobile:u,limitCards:y,limitCardsForMobile:j,className:m,numberOfTags:i==null?void 0:i.length,children:[e.jsxs("div",{className:"wrapper__heading",children:[t&&e.jsx("div",{className:"wrapper__title",children:t}),o&&e.jsx("div",{className:"wrapper__subtitle",children:o})]}),e.jsx(T,{isLoading:C,keyPrefix:"field-of-interests-masonry-tag",children:e.jsx("div",{className:"wrapper__tags__external",children:e.jsx("div",{className:"wrapper__tags",children:i==null?void 0:i.map((r,d)=>e.jsx(O,{icon:r==null?void 0:r.icon,text:r==null?void 0:r.title,isActive:(r==null?void 0:r.code)===$,onSelectCard:()=>v==null?void 0:v(r)},`field-of-interests-masonry-tag__${d+1}`))})})}),e.jsx(G,{isLoading:S,keyPrefix:"field-of-interests-masonry-card",children:e.jsx("div",{className:"wrapper__cards",children:a==null?void 0:a.map((r,d)=>e.jsx(z,{image:r==null?void 0:r.image,imageComponent:r==null?void 0:r.imageComponent,title:r==null?void 0:r.title,description:r==null?void 0:r.description,onSelectCard:()=>k==null?void 0:k(r),className:"wrapper__card"},`field-of-interests-with-tags-card__${d+1}`))})})]})));module.exports=X;
|