@lanaco/lnc-react-ui 4.0.32 → 4.0.33
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/BannerSectionWithList.cjs +1 -1
- package/dist/BannerSectionWithList.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +111 -0
- package/dist/BlogsSectionDetailed.js +224 -0
- package/dist/BlogsSectionLarge.cjs +101 -0
- package/dist/BlogsSectionLarge.js +177 -0
- package/dist/BlogsSectionSimple.cjs +71 -0
- package/dist/BlogsSectionSimple.js +158 -0
- package/dist/BlogsSectionSimpleCentered.cjs +78 -0
- package/dist/BlogsSectionSimpleCentered.js +149 -0
- package/dist/BlogsSectionWithFilters.cjs +173 -0
- package/dist/BlogsSectionWithFilters.js +559 -0
- package/dist/BrandHitsSection.cjs +11 -7
- package/dist/BrandHitsSection.js +9 -5
- 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/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 +240 -0
- package/dist/CustomLoanMapSection.js +410 -0
- package/dist/{CustomStyles-DuADCM-0.js → CustomStyles-C45a_Y92.js} +1 -1
- package/dist/{CustomStyles-CBON9fD-.cjs → CustomStyles-jdvxQvK1.cjs} +1 -1
- package/dist/DateInput.cjs +1 -1
- package/dist/DateInput.js +1 -1
- package/dist/DecimalInput.cjs +1 -1
- package/dist/DecimalInput.js +1 -1
- package/dist/DecimalInputV2.cjs +1 -1
- package/dist/DecimalInputV2.js +1 -1
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +3 -3
- package/dist/DetailsView.cjs +1 -1
- package/dist/DetailsView.js +1 -1
- package/dist/DoubleRangeSlider.cjs +1 -1
- package/dist/DoubleRangeSlider.js +1 -1
- package/dist/DragAndDropFile.cjs +1 -1
- package/dist/DragAndDropFile.js +1 -1
- package/dist/DragDropFiles.cjs +1 -1
- package/dist/DragDropFiles.js +1 -1
- package/dist/Drawer.cjs +1 -1
- package/dist/Drawer.js +1 -1
- package/dist/Dropdown.cjs +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/DropdownItem.cjs +1 -1
- package/dist/DropdownItem.js +1 -1
- package/dist/DropdownLookup.cjs +1 -1
- package/dist/DropdownLookup.js +1 -1
- package/dist/DropdownMenu.cjs +1 -1
- package/dist/DropdownMenu.js +1 -1
- package/dist/EditableTable.cjs +1 -1
- package/dist/EditableTable.js +1 -1
- package/dist/FieldOfInterestsMasonrySection.cjs +7 -7
- package/dist/FieldOfInterestsMasonrySection.js +23 -23
- package/dist/FieldOfInterestsWithAvatarsCardsSection.cjs +11 -7
- package/dist/FieldOfInterestsWithAvatarsCardsSection.js +62 -58
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +37 -17
- package/dist/FieldOfInterestsWithTagsCardsSection.js +68 -48
- 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 +198 -0
- package/dist/GeneralWithTagsCardsSection.js +287 -0
- package/dist/GiftCardsSection.cjs +11 -7
- package/dist/GiftCardsSection.js +34 -30
- 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/MasonryGeneralCardsSection.cjs +6 -6
- package/dist/MasonryGeneralCardsSection.js +38 -36
- 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 +127 -0
- package/dist/OverlayGeneralCardsSection.js +183 -0
- 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/RadioInput.cjs +1 -1
- package/dist/RadioInput.js +1 -1
- package/dist/RangeSlider.cjs +1 -1
- package/dist/RangeSlider.js +1 -1
- package/dist/Separator.cjs +1 -1
- package/dist/Separator.js +1 -1
- package/dist/ShopCardsSection.cjs +8 -8
- package/dist/ShopCardsSection.js +49 -49
- package/dist/Sidebar.cjs +1 -1
- package/dist/Sidebar.js +1 -1
- package/dist/SimpleCategoriesSection.cjs +81 -0
- package/dist/SimpleCategoriesSection.js +153 -0
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +1 -1
- package/dist/Spinner.cjs +1 -1
- package/dist/Spinner.js +1 -1
- package/dist/Surface.cjs +1 -1
- package/dist/Surface.js +1 -1
- package/dist/SwipeableDrawer.cjs +1 -1
- package/dist/SwipeableDrawer.js +1 -1
- package/dist/TabItem.cjs +1 -1
- package/dist/TabItem.js +1 -1
- package/dist/Table.cjs +1 -1
- package/dist/Table.js +1 -1
- package/dist/TableView.cjs +1 -1
- package/dist/TableView.js +1 -1
- package/dist/TextAreaInput.cjs +1 -1
- package/dist/TextAreaInput.js +1 -1
- package/dist/TextInput.cjs +1 -1
- package/dist/TextInput.js +1 -1
- package/dist/ThemeProvider.cjs +1 -1
- package/dist/ThemeProvider.js +1 -1
- package/dist/TimeInput.cjs +1 -1
- package/dist/TimeInput.js +1 -1
- package/dist/Toggle.cjs +1 -1
- package/dist/Toggle.js +1 -1
- package/dist/TreeMenuSeparator.cjs +1 -1
- package/dist/TreeMenuSeparator.js +1 -1
- package/dist/UploadedFile.cjs +1 -1
- package/dist/UploadedFile.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{index-jVpIwR2G.js → index-BfOdDcQF.js} +1 -1
- package/dist/{index-BlV3tdJ8.cjs → index-CC_hdGKn.cjs} +1 -1
- package/dist/{index-DGl-lSfF.js → index-DZxSlQJQ.js} +1 -1
- package/dist/{index-LdP7U1Yl.cjs → index-Dld_cRbm.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +25 -23
- package/dist/{style-C3OB0uad.cjs → style-CeMnBJ6v.cjs} +4 -4
- package/dist/{style-Ch-xOasu.js → style-D6sNCRwG.js} +6 -7
- package/dist/{utils-CE6bljYe.cjs → utils-UJt-R-G3.cjs} +7 -7
- package/dist/{utils-DtEdJZWa.js → utils-xpQsPsCa.js} +33 -33
- package/package.json +13 -3
- package/vite.config.js +36 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { jsx as i, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as l } from "react";
|
|
3
|
+
import { n as p } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
4
|
+
import { M as d } from "./consts-DNVz1x1I.js";
|
|
5
|
+
import { t as y, m as b, l as k } from "./utils-xpQsPsCa.js";
|
|
6
|
+
import $ from "./Icon.js";
|
|
7
|
+
import { u as C } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
8
|
+
const N = p.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
align-self: stretch;
|
|
14
|
+
border-radius: 0.75rem;
|
|
15
|
+
border: 1px solid var(--neutral-9508, rgba(20, 22, 26, 0.08));
|
|
16
|
+
background: var(--Lanaco-Gray-white, #fff);
|
|
17
|
+
|
|
18
|
+
&:hover {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* drop-shadow-sm */
|
|
23
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
24
|
+
|
|
25
|
+
& .wrapper__image {
|
|
26
|
+
width: 100%;
|
|
27
|
+
object-fit: cover;
|
|
28
|
+
height: auto;
|
|
29
|
+
max-height: 19.5rem;
|
|
30
|
+
border-radius: 0.75rem 0.75rem 0 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .wrapper__content {
|
|
34
|
+
display: flex;
|
|
35
|
+
padding: 1rem;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
gap: 1.25rem;
|
|
39
|
+
align-self: stretch;
|
|
40
|
+
|
|
41
|
+
& .wrapper__title {
|
|
42
|
+
color: var(--gray-950, #14161a);
|
|
43
|
+
font-size: 1rem;
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 500;
|
|
46
|
+
line-height: 1.5rem;
|
|
47
|
+
${y(2)}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
@media (max-width: ${d + "px"}) {
|
|
51
|
+
background: transparent;
|
|
52
|
+
border: none;
|
|
53
|
+
box-shadow: none;
|
|
54
|
+
gap: 0.75rem;
|
|
55
|
+
|
|
56
|
+
& .wrapper__image {
|
|
57
|
+
border-radius: 999px;
|
|
58
|
+
aspect-ratio: 1 / 1;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .wrapper__content {
|
|
62
|
+
align-items: center;
|
|
63
|
+
padding: 0;
|
|
64
|
+
text-align: center;
|
|
65
|
+
|
|
66
|
+
& .wrapper__title {
|
|
67
|
+
font-size: 0.875rem;
|
|
68
|
+
line-height: 1.25rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`, W = p.div`
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: 11.625rem;
|
|
75
|
+
border-radius: 0.75rem;
|
|
76
|
+
background: ${b("-90deg")};
|
|
77
|
+
|
|
78
|
+
@media (max-width: ${d + "px"}) {
|
|
79
|
+
width: 5rem;
|
|
80
|
+
height: 5rem;
|
|
81
|
+
border-radius: 999px;
|
|
82
|
+
}
|
|
83
|
+
`, j = p.div`
|
|
84
|
+
display: flex;
|
|
85
|
+
padding: 0 0.5rem 0 0;
|
|
86
|
+
align-items: center;
|
|
87
|
+
justify-content: center;
|
|
88
|
+
background: var(--white, #fff);
|
|
89
|
+
border: 1px solid var(--neutral-95012, rgba(20, 22, 26, 0.12));
|
|
90
|
+
border-radius: 999px;
|
|
91
|
+
height: 2.5rem;
|
|
92
|
+
|
|
93
|
+
&:hover {
|
|
94
|
+
cursor: pointer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .wrapper__icon {
|
|
98
|
+
font-size: 1.5rem;
|
|
99
|
+
color: var(--gray-950, #14161a);
|
|
100
|
+
border-radius: 999px;
|
|
101
|
+
width: 2.5rem;
|
|
102
|
+
height: 2.5rem;
|
|
103
|
+
|
|
104
|
+
& i {
|
|
105
|
+
width: auto;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& .wrapper__text {
|
|
110
|
+
color: var(--gray-950, #14161a);
|
|
111
|
+
font-size: 0.875rem;
|
|
112
|
+
font-style: normal;
|
|
113
|
+
font-weight: 500;
|
|
114
|
+
line-height: 1.25rem;
|
|
115
|
+
letter-spacing: -0.09px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@media (max-width: ${d + "px"}) {
|
|
119
|
+
& .wrapper__text {
|
|
120
|
+
white-space: nowrap;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
`, G = p.div`
|
|
124
|
+
width: 7rem;
|
|
125
|
+
height: 3rem;
|
|
126
|
+
border-radius: 999px;
|
|
127
|
+
background: ${b("-90deg")};
|
|
128
|
+
`, z = l(({}, r) => /* @__PURE__ */ i(G, {})), T = l(
|
|
129
|
+
({ text: r, icon: a, onSelectCard: t = () => {
|
|
130
|
+
} }, s) => /* @__PURE__ */ m(j, { onClick: t, children: [
|
|
131
|
+
/* @__PURE__ */ i($, { icon: ` ${a}`, className: "wrapper__icon" }),
|
|
132
|
+
/* @__PURE__ */ i("div", { className: "wrapper__text", children: r })
|
|
133
|
+
] })
|
|
134
|
+
), I = l(
|
|
135
|
+
({ image: r, imageComponent: a, title: t, onSelectCard: s = () => {
|
|
136
|
+
} }, _) => {
|
|
137
|
+
const { theme: c } = C();
|
|
138
|
+
return /* @__PURE__ */ m(N, { theme: c, onClick: s, children: [
|
|
139
|
+
k(a) ? a : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
140
|
+
/* @__PURE__ */ i("div", { className: "wrapper__content", children: /* @__PURE__ */ i("div", { className: "wrapper__title", children: t }) })
|
|
141
|
+
] });
|
|
142
|
+
}
|
|
143
|
+
), M = l(({}, r) => /* @__PURE__ */ i(W, {})), A = p.div`
|
|
144
|
+
display: flex;
|
|
145
|
+
flex-direction: column;
|
|
146
|
+
align-items: center;
|
|
147
|
+
gap: 1.5rem;
|
|
148
|
+
|
|
149
|
+
& .wrapper__heading {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
gap: 1rem;
|
|
153
|
+
text-align: center;
|
|
154
|
+
|
|
155
|
+
& .wrapper__title {
|
|
156
|
+
color: var(--gray-950, #14161a);
|
|
157
|
+
text-align: center;
|
|
158
|
+
font-size: 1.5rem;
|
|
159
|
+
font-style: normal;
|
|
160
|
+
font-weight: 600;
|
|
161
|
+
line-height: 2rem;
|
|
162
|
+
letter-spacing: -0.47px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
& .wrapper__subtitle {
|
|
166
|
+
color: var(---gray-600, #676e79);
|
|
167
|
+
font-size: 0.875rem;
|
|
168
|
+
font-style: normal;
|
|
169
|
+
font-weight: 400;
|
|
170
|
+
line-height: 1.25rem;
|
|
171
|
+
letter-spacing: 0.25px;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
& .wrapper__tags {
|
|
176
|
+
display: flex;
|
|
177
|
+
flex-wrap: wrap;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
align-items: center;
|
|
180
|
+
gap: 0.75rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
& .wrapper__cards {
|
|
184
|
+
display: grid;
|
|
185
|
+
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitCards}, minmax(0, 1fr))`};
|
|
186
|
+
justify-content: center;
|
|
187
|
+
align-items: center;
|
|
188
|
+
gap: 1.5rem;
|
|
189
|
+
width: 100%;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@media (max-width: ${d + "px"}) {
|
|
193
|
+
& .wrapper__tags {
|
|
194
|
+
display: flex;
|
|
195
|
+
flex-wrap: nowrap;
|
|
196
|
+
overflow-x: scroll;
|
|
197
|
+
justify-content: flex-start;
|
|
198
|
+
width: 100%;
|
|
199
|
+
|
|
200
|
+
-webkit-overflow-scrolling: touch;
|
|
201
|
+
::-webkit-scrollbar {
|
|
202
|
+
-webkit-appearance: none;
|
|
203
|
+
}
|
|
204
|
+
-ms-overflow-style: none;
|
|
205
|
+
/* Internet Explorer 10+ */
|
|
206
|
+
scrollbar-width: none;
|
|
207
|
+
/* Firefox */
|
|
208
|
+
|
|
209
|
+
&::-webkit-scrollbar {
|
|
210
|
+
display: none;
|
|
211
|
+
/* Safari and Chrome */
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
& .wrapper__cards {
|
|
216
|
+
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
217
|
+
gap: 1rem;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
`, X = l(
|
|
221
|
+
({
|
|
222
|
+
title: r,
|
|
223
|
+
subtitle: a,
|
|
224
|
+
tags: t = [],
|
|
225
|
+
limitTags: s = 7,
|
|
226
|
+
limitTagsForMobile: _ = 2,
|
|
227
|
+
limit: c = 3,
|
|
228
|
+
limitForMobile: v = 3,
|
|
229
|
+
items: n = [],
|
|
230
|
+
onSelectTag: h = () => {
|
|
231
|
+
},
|
|
232
|
+
onSelectCard: f = () => {
|
|
233
|
+
}
|
|
234
|
+
}, E) => {
|
|
235
|
+
var x, u;
|
|
236
|
+
const w = (e) => {
|
|
237
|
+
h == null || h(e == null ? void 0 : e.uuid);
|
|
238
|
+
}, g = (e) => {
|
|
239
|
+
f == null || f(e == null ? void 0 : e.uuid);
|
|
240
|
+
};
|
|
241
|
+
return /* @__PURE__ */ m(
|
|
242
|
+
A,
|
|
243
|
+
{
|
|
244
|
+
limitTags: s,
|
|
245
|
+
limitTagsForMobile: _,
|
|
246
|
+
limitCards: c,
|
|
247
|
+
limitCardsForMobile: v,
|
|
248
|
+
children: [
|
|
249
|
+
/* @__PURE__ */ m("div", { className: "wrapper__heading", children: [
|
|
250
|
+
r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
|
|
251
|
+
a && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: a })
|
|
252
|
+
] }),
|
|
253
|
+
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: n && (n == null ? void 0 : n.length) > 0 ? n == null ? void 0 : n.map((e, o) => /* @__PURE__ */ i(
|
|
254
|
+
I,
|
|
255
|
+
{
|
|
256
|
+
image: e == null ? void 0 : e.image,
|
|
257
|
+
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
258
|
+
title: e == null ? void 0 : e.title,
|
|
259
|
+
onSelectCard: () => g == null ? void 0 : g(e == null ? void 0 : e.uuid)
|
|
260
|
+
},
|
|
261
|
+
`general-with-tags-card__${o + 1}`
|
|
262
|
+
)) : (x = Array.from("123")) == null ? void 0 : x.map((e, o) => /* @__PURE__ */ i(
|
|
263
|
+
M,
|
|
264
|
+
{},
|
|
265
|
+
`general-with-tags-card-skeleton__${o + 1}`
|
|
266
|
+
)) }),
|
|
267
|
+
/* @__PURE__ */ i("div", { className: "wrapper__tags", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, o) => /* @__PURE__ */ i(
|
|
268
|
+
T,
|
|
269
|
+
{
|
|
270
|
+
icon: e == null ? void 0 : e.icon,
|
|
271
|
+
text: e == null ? void 0 : e.text,
|
|
272
|
+
onSelectCard: () => w == null ? void 0 : w(e)
|
|
273
|
+
},
|
|
274
|
+
`general-with-tags-card-tag__${o + 1}`
|
|
275
|
+
)) : (u = Array.from("123")) == null ? void 0 : u.map((e, o) => /* @__PURE__ */ i(
|
|
276
|
+
z,
|
|
277
|
+
{},
|
|
278
|
+
`general-with-tags-card-tag-skeleton__${o + 1}`
|
|
279
|
+
)) })
|
|
280
|
+
]
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
);
|
|
285
|
+
export {
|
|
286
|
+
X as default
|
|
287
|
+
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("react"),s=require("./utils-UJt-R-G3.cjs"),f=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),x=require("./consts-dNz9tpt4.cjs"),w=f.newStyled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
5
5
|
gap: 0.75rem;
|
|
6
6
|
|
|
7
|
+
&:hover {
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
}
|
|
10
|
+
|
|
7
11
|
& .wrapper__card {
|
|
8
12
|
width: 100%;
|
|
9
13
|
height: auto;
|
|
@@ -54,12 +58,12 @@
|
|
|
54
58
|
width: 100%;
|
|
55
59
|
${s.truncateTextInRows(2)}
|
|
56
60
|
}
|
|
57
|
-
`,
|
|
61
|
+
`,_=f.newStyled.div`
|
|
58
62
|
width: 100%;
|
|
59
63
|
height: 11.5rem;
|
|
60
64
|
border-radius: 0.75rem;
|
|
61
65
|
background: ${s.linearGradientAnimation("-90deg")};
|
|
62
|
-
`,d
|
|
66
|
+
`,h=d.forwardRef(({image:r,imageComponent:o,text:i,price:l,currency:p,onSelectCard:n=()=>{}},a)=>t.jsxs(w,{onClick:n,children:[t.jsxs("div",{className:"wrapper__card",children:[s.isDefined(o)?o:t.jsx("img",{src:r,className:"wrapper__image"}),t.jsx("div",{className:"wrapper__tag",children:`${s.formatPrice(l)} ${s.GetCurrencySymbol(p)}`})]}),t.jsx("div",{className:"wrapper__text",children:i})]})),c=d.forwardRef(({},r)=>t.jsx(_,{})),u=f.newStyled.div`
|
|
63
67
|
display: flex;
|
|
64
68
|
flex-direction: column;
|
|
65
69
|
align-items: center;
|
|
@@ -92,17 +96,17 @@
|
|
|
92
96
|
|
|
93
97
|
& .wrapper__cards {
|
|
94
98
|
display: grid;
|
|
95
|
-
grid-template-columns: ${
|
|
99
|
+
grid-template-columns: ${r=>`repeat(${r==null?void 0:r.limitCards}, minmax(0, 1fr))`};
|
|
96
100
|
gap: 1.25rem;
|
|
97
101
|
justify-items: center;
|
|
98
102
|
align-items: center;
|
|
99
103
|
width: 100%;
|
|
100
104
|
}
|
|
101
105
|
|
|
102
|
-
@media (max-width: ${
|
|
106
|
+
@media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
|
|
103
107
|
& .wrapper__cards {
|
|
104
|
-
grid-template-columns: ${
|
|
108
|
+
grid-template-columns: ${r=>`repeat(${r==null?void 0:r.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
105
109
|
gap: 1rem;
|
|
106
110
|
}
|
|
107
111
|
}
|
|
108
|
-
`,y=
|
|
112
|
+
`,y=d.forwardRef(({title:r,subtitle:o,items:i,limit:l=4,limitForMobile:p=1,onSelectCard:n=()=>{}})=>{var g;const a=e=>{n==null||n(e==null?void 0:e.uuid)};return t.jsxs(u,{limitCards:l,limitCardsForMobile:p,children:[t.jsxs("div",{className:"wrapper__heading",children:[r&&t.jsx("div",{className:"wrapper__title",children:r}),o&&t.jsx("div",{className:"wrapper__subtitle",children:o})]}),t.jsx("div",{className:"wrapper__cards",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,m)=>t.jsx(h,{uuid:e==null?void 0:e.uuid,text:e==null?void 0:e.text,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>a==null?void 0:a(e)},`gift-card__${m+1}`)):(g=Array.from("1234"))==null?void 0:g.map((e,m)=>t.jsx(c,{},`gift-card-skeleton__${m+1}`))})]})});module.exports=y;
|
package/dist/GiftCardsSection.js
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { jsxs as l, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as f } from "react";
|
|
3
|
-
import { t as
|
|
3
|
+
import { t as h, m as _, l as w, n as x, G as c } from "./utils-xpQsPsCa.js";
|
|
4
4
|
import { n as g } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
-
import { M as
|
|
5
|
+
import { M as u } from "./consts-DNVz1x1I.js";
|
|
6
6
|
const y = g.div`
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
align-items: flex-start;
|
|
10
10
|
gap: 0.75rem;
|
|
11
11
|
|
|
12
|
+
&:hover {
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
|
|
12
16
|
& .wrapper__card {
|
|
13
17
|
width: 100%;
|
|
14
18
|
height: auto;
|
|
@@ -57,25 +61,25 @@ const y = g.div`
|
|
|
57
61
|
font-weight: 500;
|
|
58
62
|
line-height: 1.5rem;
|
|
59
63
|
width: 100%;
|
|
60
|
-
${
|
|
64
|
+
${h(2)}
|
|
61
65
|
}
|
|
62
66
|
`, v = g.div`
|
|
63
67
|
width: 100%;
|
|
64
68
|
height: 11.5rem;
|
|
65
69
|
border-radius: 0.75rem;
|
|
66
|
-
background: ${
|
|
70
|
+
background: ${_("-90deg")};
|
|
67
71
|
`, b = f(
|
|
68
|
-
({ image:
|
|
69
|
-
} },
|
|
72
|
+
({ image: r, imageComponent: o, text: t, price: s, currency: p, onSelectCard: a = () => {
|
|
73
|
+
} }, n) => /* @__PURE__ */ l(y, { onClick: a, children: [
|
|
70
74
|
/* @__PURE__ */ l("div", { className: "wrapper__card", children: [
|
|
71
|
-
|
|
75
|
+
w(o) ? o : /* @__PURE__ */ i("img", { src: r, className: "wrapper__image" }),
|
|
72
76
|
/* @__PURE__ */ i("div", { className: "wrapper__tag", children: `${x(
|
|
73
|
-
|
|
74
|
-
)} ${
|
|
77
|
+
s
|
|
78
|
+
)} ${c(p)}` })
|
|
75
79
|
] }),
|
|
76
|
-
/* @__PURE__ */ i("div", { className: "wrapper__text", children:
|
|
80
|
+
/* @__PURE__ */ i("div", { className: "wrapper__text", children: t })
|
|
77
81
|
] })
|
|
78
|
-
), $ = f(({},
|
|
82
|
+
), $ = f(({}, r) => /* @__PURE__ */ i(v, {})), N = g.div`
|
|
79
83
|
display: flex;
|
|
80
84
|
flex-direction: column;
|
|
81
85
|
align-items: center;
|
|
@@ -108,44 +112,44 @@ const y = g.div`
|
|
|
108
112
|
|
|
109
113
|
& .wrapper__cards {
|
|
110
114
|
display: grid;
|
|
111
|
-
grid-template-columns: ${(
|
|
115
|
+
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitCards}, minmax(0, 1fr))`};
|
|
112
116
|
gap: 1.25rem;
|
|
113
117
|
justify-items: center;
|
|
114
118
|
align-items: center;
|
|
115
119
|
width: 100%;
|
|
116
120
|
}
|
|
117
121
|
|
|
118
|
-
@media (max-width: ${
|
|
122
|
+
@media (max-width: ${u + "px"}) {
|
|
119
123
|
& .wrapper__cards {
|
|
120
|
-
grid-template-columns: ${(
|
|
124
|
+
grid-template-columns: ${(r) => `repeat(${r == null ? void 0 : r.limitCardsForMobile}, minmax(0, 1fr))`};
|
|
121
125
|
gap: 1rem;
|
|
122
126
|
}
|
|
123
127
|
}
|
|
124
|
-
`,
|
|
128
|
+
`, M = f(
|
|
125
129
|
({
|
|
126
|
-
title:
|
|
130
|
+
title: r,
|
|
127
131
|
subtitle: o,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
onSelectCard:
|
|
132
|
+
items: t,
|
|
133
|
+
limit: s = 4,
|
|
134
|
+
limitForMobile: p = 1,
|
|
135
|
+
onSelectCard: a = () => {
|
|
132
136
|
}
|
|
133
137
|
}) => {
|
|
134
|
-
var
|
|
135
|
-
const
|
|
136
|
-
|
|
138
|
+
var d;
|
|
139
|
+
const n = (e) => {
|
|
140
|
+
a == null || a(e == null ? void 0 : e.uuid);
|
|
137
141
|
};
|
|
138
142
|
return /* @__PURE__ */ l(
|
|
139
143
|
N,
|
|
140
144
|
{
|
|
141
|
-
limitCards:
|
|
145
|
+
limitCards: s,
|
|
142
146
|
limitCardsForMobile: p,
|
|
143
147
|
children: [
|
|
144
148
|
/* @__PURE__ */ l("div", { className: "wrapper__heading", children: [
|
|
145
|
-
|
|
149
|
+
r && /* @__PURE__ */ i("div", { className: "wrapper__title", children: r }),
|
|
146
150
|
o && /* @__PURE__ */ i("div", { className: "wrapper__subtitle", children: o })
|
|
147
151
|
] }),
|
|
148
|
-
/* @__PURE__ */ i("div", { className: "wrapper__cards", children:
|
|
152
|
+
/* @__PURE__ */ i("div", { className: "wrapper__cards", children: t && (t == null ? void 0 : t.length) > 0 ? t == null ? void 0 : t.map((e, m) => /* @__PURE__ */ i(
|
|
149
153
|
b,
|
|
150
154
|
{
|
|
151
155
|
uuid: e == null ? void 0 : e.uuid,
|
|
@@ -154,15 +158,15 @@ const y = g.div`
|
|
|
154
158
|
currency: e == null ? void 0 : e.currency,
|
|
155
159
|
image: e == null ? void 0 : e.image,
|
|
156
160
|
imageComponent: e == null ? void 0 : e.imageComponent,
|
|
157
|
-
onSelectCard: () =>
|
|
161
|
+
onSelectCard: () => n == null ? void 0 : n(e)
|
|
158
162
|
},
|
|
159
|
-
`gift-card__${
|
|
160
|
-
)) : (
|
|
163
|
+
`gift-card__${m + 1}`
|
|
164
|
+
)) : (d = Array.from("1234")) == null ? void 0 : d.map((e, m) => /* @__PURE__ */ i($, {}, `gift-card-skeleton__${m + 1}`)) })
|
|
161
165
|
]
|
|
162
166
|
}
|
|
163
167
|
);
|
|
164
168
|
}
|
|
165
169
|
);
|
|
166
170
|
export {
|
|
167
|
-
|
|
171
|
+
M as default
|
|
168
172
|
};
|
package/dist/Icon.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),z=require("react"),s=require("./index-BPVoEhTF.cjs"),P=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-UJt-R-G3.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),I=P.newStyled.span`
|
|
2
2
|
box-sizing: border-box;
|
|
3
3
|
${e=>e.sizeInUnits&&e.sizeInUnits!=""?`font-size: ${e.sizeInUnits}`:o.getComponentTypographyCss(e.theme,"Icon",e.size,"enabled")};
|
|
4
4
|
${e=>e.color&&`color: ${o.getColorRgbaValue(e.theme,"Icon",e.color,"enabled","icon")}`};
|
package/dist/Icon.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as z } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
-
import { g as h, a as p } from "./utils-
|
|
5
|
+
import { g as h, a as p } from "./utils-xpQsPsCa.js";
|
|
6
6
|
import { u as b } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
7
|
const $ = I.span`
|
|
8
8
|
box-sizing: border-box;
|
package/dist/IconButton.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-
|
|
1
|
+
"use strict";const a=require("react/jsx-runtime"),$=require("react"),o=require("./index-BPVoEhTF.cjs"),b=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-UJt-R-G3.cjs"),S=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=e=>`
|
|
2
2
|
outline: none;
|
|
3
3
|
display: inline-flex;
|
|
4
4
|
flex-direction: row;
|
package/dist/IconButton.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as a } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as I, isValidElement as N } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as h } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
-
import { g as $, a as t, d as n, e as B, h as f, b as V } from "./utils-
|
|
5
|
+
import { g as $, a as t, d as n, e as B, h as f, b as V } from "./utils-xpQsPsCa.js";
|
|
6
6
|
import { u as j } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
7
|
const k = (e) => `
|
|
8
8
|
outline: none;
|
package/dist/Kanban.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-Ct1N7fF4.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-
|
|
1
|
+
"use strict";const oe=require("react/jsx-runtime"),d=require("react"),Vt=require("./index-Ct1N7fF4.cjs"),Q=require("./index-BPVoEhTF.cjs"),we=require("./utils-UJt-R-G3.cjs"),Zr=require("./index-gY9e_8LL.cjs"),en=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),zr=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),bo=require("./KanbanCard-CofqdTrO.cjs"),Dt=require("./_commonjsHelpers-DKOUU3wS.cjs"),ii=require("./KanbanHeader.cjs"),si=require("./useEffectOnce-DFrzfNzT.cjs"),ai=require("./useUpdateEffect-BtMgpgIV.cjs");function ci(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.useMemo(()=>o=>{t.forEach(s=>s(o))},t)}const Un=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function tn(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function Hr(e){return"nodeType"in e}function Ke(e){var t,n;return e?tn(e)?e:Hr(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function Kr(e){const{Document:t}=Ke(e);return e instanceof t}function hn(e){return tn(e)?!1:e instanceof Ke(e).HTMLElement}function yo(e){return e instanceof Ke(e).SVGElement}function nn(e){return e?tn(e)?e.document:Hr(e)?Kr(e)?e:hn(e)||yo(e)?e.ownerDocument:document:document:document}const bt=Un?d.useLayoutEffect:d.useEffect;function kn(e){const t=d.useRef(e);return bt(()=>{t.current=e}),d.useCallback(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return t.current==null?void 0:t.current(...o)},[])}function li(){const e=d.useRef(null),t=d.useCallback((o,s)=>{e.current=setInterval(o,s)},[]),n=d.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function gn(e,t){t===void 0&&(t=[e]);const n=d.useRef(e);return bt(()=>{n.current!==e&&(n.current=e)},t),n}function pn(e,t){const n=d.useRef();return d.useMemo(()=>{const o=e(n.current);return n.current=o,o},[...t])}function jn(e){const t=kn(e),n=d.useRef(null),o=d.useCallback(s=>{s!==n.current&&(t==null||t(s,n.current)),n.current=s},[]);return[n,o]}function $n(e){const t=d.useRef();return d.useEffect(()=>{t.current=e},[e]),t.current}let Tr={};function vn(e,t){return d.useMemo(()=>{if(t)return t;const n=Tr[e]==null?0:Tr[e]+1;return Tr[e]=n,e+"-"+n},[e,t])}function mo(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];return o.reduce((c,l)=>{const u=Object.entries(l);for(const[h,f]of u){const b=c[h];b!=null&&(c[h]=b+e*f)}return c},{...t})}}const Zt=mo(1),Bn=mo(-1);function ui(e){return"clientX"in e&&"clientY"in e}function Xn(e){if(!e)return!1;const{KeyboardEvent:t}=Ke(e.target);return t&&e instanceof t}function di(e){if(!e)return!1;const{TouchEvent:t}=Ke(e.target);return t&&e instanceof t}function Fn(e){if(di(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return ui(e)?{x:e.clientX,y:e.clientY}:null}const Gt=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Gt.Translate.toString(e),Gt.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:o}=e;return t+" "+n+"ms "+o}}}),Qr="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function fi(e){return e.matches(Qr)?e:e.querySelector(Qr)}const gi={display:"none"};function hi(e){let{id:t,value:n}=e;return d.createElement("div",{id:t,style:gi},n)}function pi(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;const s={position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return d.createElement("div",{id:t,style:s,role:"status","aria-live":o,"aria-atomic":!0},n)}function vi(){const[e,t]=d.useState("");return{announce:d.useCallback(o=>{o!=null&&t(o)},[]),announcement:e}}const xo=d.createContext(null);function bi(e){const t=d.useContext(xo);d.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}function yi(){const[e]=d.useState(()=>new Set),t=d.useCallback(o=>(e.add(o),()=>e.delete(o)),[e]);return[d.useCallback(o=>{let{type:s,event:c}=o;e.forEach(l=>{var u;return(u=l[s])==null?void 0:u.call(l,c)})},[e]),t]}const mi={draggable:`
|
|
2
2
|
To pick up a draggable item, press the space bar.
|
|
3
3
|
While dragging, use the arrow keys to move the item.
|
|
4
4
|
Press space again to drop the item in its new position, or press escape to cancel.
|
package/dist/Kanban.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as xe, jsxs as Xn } from "react/jsx-runtime";
|
|
|
2
2
|
import ae, { useLayoutEffect as vi, useEffect as J, useRef as V, useMemo as Q, useCallback as Ne, useState as be, createContext as Cn, memo as Oo, useReducer as bi, useContext as Wt, cloneElement as yi, forwardRef as er } from "react";
|
|
3
3
|
import { r as on } from "./index--Kmch3aI.js";
|
|
4
4
|
import { P as te } from "./index-S5Cd7WrG.js";
|
|
5
|
-
import { a as sn, r as nn, s as rn } from "./utils-
|
|
5
|
+
import { a as sn, r as nn, s as rn } from "./utils-xpQsPsCa.js";
|
|
6
6
|
import { c as lo } from "./index-Bq3leL2e.js";
|
|
7
7
|
import { n as ln } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
8
8
|
import { u as Vr } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),P=require("react"),e=require("./index-BPVoEhTF.cjs"),f=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),w=require("./DropdownMenu.cjs"),C=require("./DropdownItem.cjs"),c=require("./Button.cjs"),p=require("./utils-UJt-R-G3.cjs"),A=require("./ThemeProvider.cjs"),j=f.newStyled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
border-radius: 8px;
|
|
@@ -5,7 +5,7 @@ import { n as C } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
|
5
5
|
import A from "./DropdownMenu.js";
|
|
6
6
|
import N from "./DropdownItem.js";
|
|
7
7
|
import s from "./Button.js";
|
|
8
|
-
import { a as m } from "./utils-
|
|
8
|
+
import { a as m } from "./utils-xpQsPsCa.js";
|
|
9
9
|
import { useTheme as O } from "./ThemeProvider.js";
|
|
10
10
|
const I = C.div`
|
|
11
11
|
display: flex;
|
package/dist/KanbanView.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),U=require("react"),e=require("./index-BPVoEhTF.cjs"),X=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),Z=require("./KanbanActionsToolbar.cjs"),a=require("./utils-UJt-R-G3.cjs"),$=require("./Kanban.cjs"),k=require("./KanbanCard-CofqdTrO.cjs"),ee=require("./KanbanHeader.cjs"),oe=require("./KanbanFooter.cjs"),ne=X.newStyled.div`
|
|
2
2
|
& .kanban-view-footer-lnc {
|
|
3
3
|
padding: 0 0.625rem;
|
|
4
4
|
}
|
package/dist/KanbanView.js
CHANGED
|
@@ -3,7 +3,7 @@ import { forwardRef as $ } from "react";
|
|
|
3
3
|
import { P as e } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as k } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
5
|
import P from "./KanbanActionsToolbar.js";
|
|
6
|
-
import { r as s, i as d } from "./utils-
|
|
6
|
+
import { r as s, i as d } from "./utils-xpQsPsCa.js";
|
|
7
7
|
import ee from "./Kanban.js";
|
|
8
8
|
import { K as oe } from "./KanbanCard-BDyFaKYd.js";
|
|
9
9
|
import ne from "./KanbanHeader.js";
|
package/dist/Link.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-
|
|
1
|
+
"use strict";const y=require("react/jsx-runtime"),d=require("react"),t=require("./index-BPVoEhTF.cjs"),g=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-UJt-R-G3.cjs"),h=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),b=g.newStyled.a`
|
|
2
2
|
${e=>o.getComponentTypographyCss(e.theme,"Breadcrumbs",e.size,"enabled")};
|
|
3
3
|
color: ${e=>o.getColorRgbaValue(e.theme,"Link",e.color,"enabled","text")};
|
|
4
4
|
text-decoration: none;
|
package/dist/Link.js
CHANGED
|
@@ -2,7 +2,7 @@ import { jsx as d } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as h } from "react";
|
|
3
3
|
import { P as o } from "./index-S5Cd7WrG.js";
|
|
4
4
|
import { n as f } from "./emotion-styled.browser.esm-BiK8DcgW.js";
|
|
5
|
-
import { g as y, a as t } from "./utils-
|
|
5
|
+
import { g as y, a as t } from "./utils-xpQsPsCa.js";
|
|
6
6
|
import { u as g } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
|
|
7
7
|
const u = f.a`
|
|
8
8
|
${(e) => y(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("react"),x=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),i=require("./utils-UJt-R-G3.cjs"),h=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),g=require("./consts-dNz9tpt4.cjs"),f=d.newStyled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: flex-start;
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
width: 9rem;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,u=
|
|
97
|
+
`,u=m.forwardRef(({title:t,image:e,description:a,actionText:o,onSelectCard:l=()=>{},className:n,position:s,tag:c},y)=>{const p=h.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(f,{theme:p,className:n,onClick:l,position:s,children:[r.jsx("img",{src:e,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__text",children:[c&&r.jsx("div",{className:"text__tag",children:c}),r.jsx("div",{className:"text__title",children:t}),i.isDefinedNotEmptyString(a)&&r.jsx("div",{className:"text__description",children:a}),i.isDefinedNotEmptyString(o)&&r.jsx(x,{text:o,onClick:l,className:"text__action"})]})]})})}),_=d.newStyled.div`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: column;
|
|
100
100
|
gap: 1.5rem;
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
@media (max-width: ${
|
|
121
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
122
122
|
gap: 1.25rem;
|
|
123
123
|
|
|
124
124
|
& .regular-title {
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
`,w=
|
|
132
|
+
`,w=d.newStyled.div`
|
|
133
133
|
display: grid;
|
|
134
134
|
grid-template-columns: repeat(12, 1fr);
|
|
135
135
|
grid-template-rows: 15rem 15rem;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
height: 30rem;
|
|
139
139
|
max-height: 30rem;
|
|
140
140
|
|
|
141
|
-
@media (max-width: ${
|
|
141
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
142
142
|
display: flex;
|
|
143
143
|
flex-direction: column;
|
|
144
144
|
gap: 1rem;
|
|
@@ -147,4 +147,4 @@
|
|
|
147
147
|
max-height: 100%;
|
|
148
148
|
padding: 0 1rem;
|
|
149
149
|
}
|
|
150
|
-
`,b=
|
|
150
|
+
`,b=m.forwardRef(({title:t,items:e,limit:a=3,onSelectCard:o=()=>{}},l)=>r.jsxs(_,{children:[r.jsx("div",{className:"regular-title",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:t})})}),r.jsx(w,{limit:a,children:e&&(e==null?void 0:e.map((n,s)=>r.jsx(u,{...n,onSelectCard:()=>o(n==null?void 0:n.uuid)},`landing-page-masonry-general-card__${s+1}`)))})]}));module.exports=b;
|