@lanaco/lnc-react-ui 4.0.169 → 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-CxiFuUOT.js +0 -653
- package/dist/suspense-product-card-detailed-IR4sh-l4.cjs +0 -330
- package/dist/suspense-product-card-simple-DJ8UYolb.cjs +0 -1
- package/dist/suspense-product-card-simple-ziy0XcLp.js +0 -26
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),E=require("./consts-goSZX3xP.cjs"),l=require("./utils-Dl9xPH4c.cjs"),fe=require("./index-BueKsXT8.cjs"),P=require("./Badge.cjs"),be=require("./Popover.cjs"),we=require("./PopoverTrigger.cjs"),ve=require("./PopoverContent.cjs"),je=require("./useDetectMobile-zkbzoOGV.cjs"),r=require("./style-BAcV7F53.cjs"),ke=k.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 0.5rem;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
& .seller {
|
|
10
|
+
text-transform: uppercase;
|
|
11
|
+
${l.truncateText()}
|
|
12
|
+
color: var(--gray-500);
|
|
13
|
+
font-size: 0.625rem;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .wrapper-card-1 {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
gap: 0.12rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& .wrapper-card-2 {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .wrapper-card-3 {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-wrap: wrap;
|
|
32
|
+
gap: 0.25rem;
|
|
33
|
+
|
|
34
|
+
& > div {
|
|
35
|
+
& > div {
|
|
36
|
+
width: 100% !important;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .tag {
|
|
42
|
+
height: 1.5rem;
|
|
43
|
+
gap: 0.25rem;
|
|
44
|
+
padding: 0.25rem 0.375rem;
|
|
45
|
+
border-radius: 0.375rem;
|
|
46
|
+
background: #f9fafb;
|
|
47
|
+
border: 1px solid var(--gray-95012, #14161a1f);
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
font-size: 0.75rem;
|
|
50
|
+
line-height: 1rem;
|
|
51
|
+
letter-spacing: 0.025rem;
|
|
52
|
+
color: var(--gray-950, #14161a);
|
|
53
|
+
white-space: nowrap;
|
|
54
|
+
flex: 0 0 auto;
|
|
55
|
+
|
|
56
|
+
& i {
|
|
57
|
+
color: var(--yellow-500, #f59e0b);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
& .card-title {
|
|
62
|
+
font-size: 0.875rem;
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
${l.truncateTextInRows(2)}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
& .price-text {
|
|
68
|
+
font-size: 1rem;
|
|
69
|
+
font-weight: 600;
|
|
70
|
+
${l.truncateText()}
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: end;
|
|
73
|
+
gap: 0.5rem;
|
|
74
|
+
color: var(--gray-950, #14161a);
|
|
75
|
+
|
|
76
|
+
&.new-price {
|
|
77
|
+
color: var(--danger-600, #e11d48);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
& .full-price {
|
|
81
|
+
text-decoration: line-through;
|
|
82
|
+
font-size: 0.75rem;
|
|
83
|
+
font-weight: 400;
|
|
84
|
+
padding-bottom: 0.125rem;
|
|
85
|
+
color: var(--gray-600, #676e79);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
& .location-text {
|
|
90
|
+
font-size: 0.75rem;
|
|
91
|
+
font-weight: 400;
|
|
92
|
+
color: var(--gray-600, #676e79);
|
|
93
|
+
${l.truncateText()}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
& .tags-wrapper {
|
|
97
|
+
display: flex;
|
|
98
|
+
gap: 0.5rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
& .tags-popover__trigger {
|
|
102
|
+
display: flex;
|
|
103
|
+
gap: 0.25rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@media (max-width: ${E.MOBILE_SIZE_PX+"px"}) {
|
|
107
|
+
overflow: visible;
|
|
108
|
+
|
|
109
|
+
& .wrapper-card-3 {
|
|
110
|
+
flex-wrap: nowrap;
|
|
111
|
+
justify-content: flex-start;
|
|
112
|
+
overflow-x: scroll;
|
|
113
|
+
width: 8.875rem !important;
|
|
114
|
+
|
|
115
|
+
-webkit-overflow-scrolling: touch;
|
|
116
|
+
::-webkit-scrollbar {
|
|
117
|
+
-webkit-appearance: none;
|
|
118
|
+
}
|
|
119
|
+
-ms-overflow-style: none;
|
|
120
|
+
/* Internet Explorer 10+ */
|
|
121
|
+
scrollbar-width: none;
|
|
122
|
+
/* Firefox */
|
|
123
|
+
|
|
124
|
+
&::-webkit-scrollbar {
|
|
125
|
+
display: none;
|
|
126
|
+
/* Safari and Chrome */
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
& > div {
|
|
130
|
+
& > div {
|
|
131
|
+
width: 8.875rem !important;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
& .tags-popover__trigger {
|
|
137
|
+
overflow-x: scroll;
|
|
138
|
+
justify-content: flex-start;
|
|
139
|
+
width: 100%;
|
|
140
|
+
|
|
141
|
+
-webkit-overflow-scrolling: touch;
|
|
142
|
+
::-webkit-scrollbar {
|
|
143
|
+
-webkit-appearance: none;
|
|
144
|
+
}
|
|
145
|
+
-ms-overflow-style: none;
|
|
146
|
+
/* Internet Explorer 10+ */
|
|
147
|
+
scrollbar-width: none;
|
|
148
|
+
/* Firefox */
|
|
149
|
+
|
|
150
|
+
&::-webkit-scrollbar {
|
|
151
|
+
display: none;
|
|
152
|
+
/* Safari and Chrome */
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
& .price-text {
|
|
157
|
+
font-size: 0.875rem;
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
|
|
160
|
+
& .full-price {
|
|
161
|
+
display: none;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
&:hover .product-image-wrapper img {
|
|
167
|
+
transform: scale(1.1);
|
|
168
|
+
}
|
|
169
|
+
`,xe=k.styled.div`
|
|
170
|
+
position: relative;
|
|
171
|
+
overflow: hidden;
|
|
172
|
+
border-radius: 0.75rem;
|
|
173
|
+
width: 100%;
|
|
174
|
+
aspect-ratio: 1 / 1;
|
|
175
|
+
border: 1px solid #0c15201f;
|
|
176
|
+
|
|
177
|
+
& .bookmarking-btn {
|
|
178
|
+
position: absolute;
|
|
179
|
+
right: 0.5rem;
|
|
180
|
+
top: 0.5rem;
|
|
181
|
+
z-index: 1;
|
|
182
|
+
|
|
183
|
+
display: none;
|
|
184
|
+
|
|
185
|
+
align-items: center;
|
|
186
|
+
justify-content: center;
|
|
187
|
+
|
|
188
|
+
width: 2.25rem;
|
|
189
|
+
height: 2.25rem;
|
|
190
|
+
border-radius: ${i=>l.getBorderRadiusValueWithUnits(i.theme,"curved")};
|
|
191
|
+
border: 1px solid var(--gray-95008);
|
|
192
|
+
background-color: white;
|
|
193
|
+
color: var(--gray-950);
|
|
194
|
+
transition: transform 0.2s ease;
|
|
195
|
+
|
|
196
|
+
&:hover {
|
|
197
|
+
transform: scale(1.05);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
i {
|
|
201
|
+
color: #14161a;
|
|
202
|
+
font-size: 1.1rem;
|
|
203
|
+
line-height: 1;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
&:hover {
|
|
208
|
+
& .bookmarking-btn {
|
|
209
|
+
display: flex;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
& img {
|
|
214
|
+
display: block;
|
|
215
|
+
width: 100%;
|
|
216
|
+
height: 100%;
|
|
217
|
+
object-fit: cover;
|
|
218
|
+
border-radius: 0.75rem;
|
|
219
|
+
transition: var(--transition, all 0.3s ease);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (max-width: ${E.MOBILE_SIZE_PX+"px"}) {
|
|
223
|
+
& img {
|
|
224
|
+
width: 8.875rem;
|
|
225
|
+
height: 8.875rem;
|
|
226
|
+
min-width: 8.875rem;
|
|
227
|
+
min-height: 8.875rem;
|
|
228
|
+
object-fit: cover;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
& .bookmarking-btn {
|
|
232
|
+
display: flex;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
`,Se=k.styled.div`
|
|
236
|
+
background: var(--white, #fff);
|
|
237
|
+
z-index: 1;
|
|
238
|
+
|
|
239
|
+
border: 1px solid var(--gray-200, #dddfe4);
|
|
240
|
+
border-radius: 0.5rem;
|
|
241
|
+
line-height: 1rem;
|
|
242
|
+
position: absolute;
|
|
243
|
+
padding: 0.5rem 0.75rem;
|
|
244
|
+
top: 0.5rem;
|
|
245
|
+
left: 25%;
|
|
246
|
+
transform: translateX(-50%);
|
|
247
|
+
min-width: 13rem;
|
|
248
|
+
|
|
249
|
+
&::before,
|
|
250
|
+
&::after {
|
|
251
|
+
content: "";
|
|
252
|
+
position: absolute;
|
|
253
|
+
left: 50%;
|
|
254
|
+
transform: translateX(-50%);
|
|
255
|
+
border-style: solid;
|
|
256
|
+
border-width: 0.625rem;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&::after {
|
|
260
|
+
top: -1.1875rem;
|
|
261
|
+
border-color: transparent transparent var(--white, #fff) transparent;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&::before {
|
|
265
|
+
top: -1.25rem;
|
|
266
|
+
border-color: transparent transparent var(--gray-200, #dddfe4) transparent;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
& .tags-popover__content {
|
|
270
|
+
display: flex;
|
|
271
|
+
flex-wrap: wrap;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
gap: 0.375rem;
|
|
274
|
+
font-size: 0.75rem;
|
|
275
|
+
font-weight: 400;
|
|
276
|
+
|
|
277
|
+
& .tags-popover__name {
|
|
278
|
+
color: var(--gray-600, #676e79);
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
& .tags-popover__value {
|
|
282
|
+
color: var(--gray-950, #14161a);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
`,ye=k.styled.div`
|
|
286
|
+
display: flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
gap: 0.25rem;
|
|
289
|
+
color: var(--gray-500);
|
|
290
|
+
font-size: 0.75rem;
|
|
291
|
+
font-weight: 500;
|
|
292
|
+
|
|
293
|
+
& i {
|
|
294
|
+
font-size: 1rem;
|
|
295
|
+
color: var(--warning-500, #F59E0B);
|
|
296
|
+
}
|
|
297
|
+
`,Pe=c.forwardRef(({sponsoredText:i="Sponsored"},x)=>e.jsxs(ye,{ref:x,className:"sponsored-line",children:[e.jsx("i",{className:"mng-lnc-paw2"}),e.jsx("span",{children:i})]})),_e="Vehicles_Cars",Ce="Vehicles_Motorcycles",Re="Vehicles_Trucks",Le="Vehicles_AgriculturalMachines_Tractors",Ne="Vehicles_ConstructionMachines",We="Vehicles_Bus",$e="Vehicles_Campers",Ee="RealEstates_",a={Mileage:{icon:"mng-lnc-road",measure:"km"},YearOfProduction:{icon:"mng-lnc-calendar",measure:""},Fuel:{icon:"mng-lnc-gas-station",measure:""},EnginePowerKW:{icon:"mng-lnc-engine",measure:"kW"},Transmission:{icon:"mng-lnc-transmission",measure:""},Model:{icon:"mng-lnc-application",measure:""},Brand:{icon:"mng-lnc-car--front",measure:""},SurfaceArea:{icon:"mng-lnc-right-angle",measure:""},Floor:{icon:"mng-lnc-elevator",measure:""},FurnishedCondition:{icon:"mng-lnc-sofa-01",measure:""},AdType:{icon:"mng-lnc-notes",measure:""},NumberOfRooms:{icon:"mng-lnc-meeting-room",measure:""},HeatingType:{icon:"mng-lnc-heat",measure:""},AirConditioning:{icon:"mng-lnc-air-conditioner",measure:""},Type:{icon:"mng-lnc-house-building",measure:""},Parking:{icon:"mng-lnc-parking-area-circle",measure:""},Internet:{icon:"mng-lnc-wifi-02",measure:""},State:{icon:"mng-lnc-settings-1",measure:""},NumberOfPremises:{icon:"mng-lnc-meeting-room",measure:""},Pool:{icon:"mng-lnc-pool",measure:""},Approach:{icon:"mng-lnc-driveway",measure:""},NumberOfBeds:{icon:"mng-lnc-bed",measure:""},Kitchen:{icon:"mng-lnc-fridge",measure:""},BathroomToilet:{icon:"mng-lnc-bath",measure:""},default:{icon:" mng-lnc-clock--filled",measure:""}},Te=c.forwardRef((i,x)=>{const{uuid:w,sellerUuid:_,name:Y,price:C=0,sellingPrice:S,currency:y,isNegotiable:R,isFree:L,imageUrl:Z,location:K,sponsored:A,imageComponent:T,onSelectCard:H=()=>{},freeText:J="Free",negotiableText:Q="Negotiable",tags:t=[],categoryCode:N,condition:q,quantity:O,trade:V,sponsoredText:ee,forCart:re,forOrder:oe,contactSeller:ne,hasVariants:te,onBookmark:W=()=>{},bookmarkComponent:v,bookmarked:B,bookmarkLists:ie,metadata:f,sellerName:z}=i,$=je.useDetectMobile(),ae=()=>{var m;if(!l.isDefined(v))return e.jsx(e.Fragment,{});const o=v,n=(m=v==null?void 0:v.props)==null?void 0:m.children,d=c.cloneElement(n,{key:`bookmark_pr__${B}`,bookmarked:B,productUuid:w,onAddToBookmark:()=>W(!0,w),onRemoveFromBookmark:()=>W(!1,w),bookmarkedUuidList:ie,sellerUuid:_,handleBookmarking:W,forCart:re,forOrder:oe,contactSeller:ne,hasVariants:te});return c.cloneElement(o,void 0,d)},M=[_e,Ce,Re,Le,Ne,We,$e,Ee].some(o=>N==null?void 0:N.includes(o)),[se,F]=c.useState(!1),le=()=>{F(!0)},ce=()=>{F(!1)},s=c.useRef(null),u=c.useRef([]),[de,G]=c.useState(t==null?void 0:t.length),me=()=>{var m,b,j;if(!(s!=null&&s.current)||((m=u==null?void 0:u.current)==null?void 0:m.length)===0)return;if($){G(t==null?void 0:t.length);return}const o=(b=s==null?void 0:s.current)==null?void 0:b.offsetWidth;let n=0,d=0;for(let h=0;h<(t==null?void 0:t.length);h++){const g=((j=u==null?void 0:u.current[h])==null?void 0:j.offsetWidth)||0,p=n+g+4;if(p<=o)n+=p,d++;else break}G(d)};c.useEffect(()=>{const o=s==null?void 0:s.current;if(!o)return;const n=new ResizeObserver(()=>{me()});return n.observe(o),()=>{n.disconnect()}},[t,$]);const he=()=>{var o;return e.jsx("div",{className:"tags-popover__trigger",children:(o=t==null?void 0:t.slice(0,de))==null?void 0:o.map((n,d)=>{var g,p,D,U,X;const m=((g=a==null?void 0:a[n==null?void 0:n.code])==null?void 0:g.icon)??((p=a==null?void 0:a.default)==null?void 0:p.icon)??"",b=((D=n==null?void 0:n.measurementUnit)==null?void 0:D.symbol)??((U=a==null?void 0:a[n==null?void 0:n.code])==null?void 0:U.measure)??"",h=[(n==null?void 0:n.value)??((X=n==null?void 0:n.multiOptions)==null?void 0:X[0])??"",b].filter(Boolean).join(" ");return e.jsxs(P,{ref:ge=>u.current[d]=ge,className:"tag",children:[e.jsx("i",{className:m}),h]},`detailed-products-section-tag__${d+1}`)})})},pe=()=>e.jsx("div",{className:"tags-popover__content",children:t==null?void 0:t.map((o,n)=>{var h,g,p;const d=((h=o==null?void 0:o.measurementUnit)==null?void 0:h.symbol)??((g=a==null?void 0:a[o==null?void 0:o.code])==null?void 0:g.measure)??"",b=[(o==null?void 0:o.value)??((p=o==null?void 0:o.multiOptions)==null?void 0:p[0])??"",d].filter(Boolean).join(" "),j=o==null?void 0:o.name;return e.jsxs("div",{children:[e.jsx("span",{className:"tags-popover__name",children:`${j}: `}),e.jsx("span",{className:"tags-popover__value",children:b})]},`detailed-products-section-tag-dropdown__${n+1}`)})}),ue=()=>e.jsxs(e.Fragment,{children:[q&&e.jsx(P,{className:"tag",children:q},"detailed-products-section-tag__condition"),O&&e.jsx(P,{className:"tag",children:O},"detailed-products-section-tag__quantity"),V&&e.jsx(P,{className:"tag",children:V},"detailed-products-section-tag__trade")]}),I=C>0&&y&&R!==!0&&L!==!0&&C!==S;return e.jsxs(ke,{ref:s,className:"product-card","data-accessor":f==null?void 0:f.accessor,name:f==null?void 0:f.name,onClick:o=>H(o,s),children:[e.jsxs(xe,{className:"product-image-wrapper",children:[e.jsx(ae,{}),l.isDefined(T)?T:e.jsx(fe.ProductImageWrapper,{src:Z})]}),e.jsxs("div",{className:"wrapper-card-1",children:[e.jsx("div",{className:"seller",title:z,children:z}),e.jsx("div",{className:"card-title",children:Y})]}),e.jsxs("div",{className:"wrapper-card-3",children:[M&&e.jsx("div",{...$?{}:{onMouseEnter:le,onMouseLeave:ce},children:e.jsxs(be,{placement:"bottom",open:se,children:[e.jsx(we,{children:he()}),e.jsx(ve,{style:{all:"unset"},children:e.jsx(Se,{children:pe()})})]})}),!M&&ue()]}),e.jsxs("div",{className:"wrapper-card-2",children:[e.jsxs("div",{className:`price-text ${I?"new-price":""}`,children:[S>0&&y&&R!==!0&&L!==!0&&e.jsx("div",{children:`${l.formatPrice(S)} ${l.GetCurrencySymbol(y)}`}),I&&e.jsx("div",{className:`${S>0?"full-price":""}`,children:`${l.formatPrice(C)} ${l.GetCurrencySymbol(y)}`}),R&&Q,L&&J]}),e.jsx("div",{className:"location-text",children:K})]}),A===!0&&e.jsx(Pe,{sponsoredText:ee})]})}),qe=k.styled(r.SkeletonRowWrapper)`
|
|
298
|
+
@media (max-width: ${E.MOBILE_SIZE_PX+"px"}) {
|
|
299
|
+
& > div {
|
|
300
|
+
&:nth-of-type(even) {
|
|
301
|
+
display: none;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
`,Oe=({keyPrefix:i})=>e.jsxs(qe,{children:[e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonColumnWrapper,{height:"1rem",children:e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"})}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonColumnWrapper,{height:"2rem",children:e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})})]},`${i}-1`),e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-2`),e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-3`),e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-4`),e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-5`),e.jsxs(r.SkeletonColumnWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonSquarePlaceholder,{height:"100%",width:"100%",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1rem",borderRadius:"0.75rem"}),e.jsxs(r.SkeletonRowWrapper,{gap:"0.5rem",noGradient:!0,children:[e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"}),e.jsx(r.SkeletonLinePlaceholder,{height:"1.5rem",borderRadius:"0.75rem"})]}),e.jsx(r.SkeletonLinePlaceholder,{height:"2rem",borderRadius:"0.75rem"})]},`${i}-6`)]}),Ve=({keyPrefix:i,isLoading:x=!1,fallbackComponent:w=e.jsx(e.Fragment,{}),children:_})=>e.jsx(c.Suspense,{fallbackComponent:w,children:x===!0?e.jsx(Oe,{keyPrefix:i}):_});exports.DetailedProductCard=Te;exports.SuspenseDetailedProductCard=Ve;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { jsxs as m, jsx as e, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { Suspense as l } from "react";
|
|
3
|
+
import { a as d, b as r, S as n } from "./style-CXMUA6cI.js";
|
|
4
|
+
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { M as c } from "./consts-BuFChS64.js";
|
|
6
|
+
const o = g(d)`
|
|
7
|
+
&.skeleton__tags {
|
|
8
|
+
max-width: 50rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media (max-width: ${c + "px"}) {
|
|
12
|
+
&.skeleton__tags {
|
|
13
|
+
overflow-x: hidden;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`, p = ({ keyPrefix: t }) => /* @__PURE__ */ m(o, { className: "skeleton__cards", children: [
|
|
17
|
+
/* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-1`),
|
|
18
|
+
/* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-2`),
|
|
19
|
+
/* @__PURE__ */ e(r, { height: "13.75rem" }, `${t}-3`)
|
|
20
|
+
] }), f = ({
|
|
21
|
+
keyPrefix: t,
|
|
22
|
+
isLoading: s = !1,
|
|
23
|
+
fallbackComponent: a = /* @__PURE__ */ e(h, {}),
|
|
24
|
+
children: i
|
|
25
|
+
}) => /* @__PURE__ */ e(l, { fallbackComponent: a, children: s === !0 ? /* @__PURE__ */ e(p, { keyPrefix: t }) : i }), u = ({ keyPrefix: t }) => /* @__PURE__ */ m(o, { className: "skeleton__tags", children: [
|
|
26
|
+
/* @__PURE__ */ e(
|
|
27
|
+
n,
|
|
28
|
+
{
|
|
29
|
+
alignItems: "center",
|
|
30
|
+
gap: "0.5rem",
|
|
31
|
+
children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
|
|
32
|
+
},
|
|
33
|
+
`${t}-1`
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ e(
|
|
36
|
+
n,
|
|
37
|
+
{
|
|
38
|
+
alignItems: "center",
|
|
39
|
+
gap: "0.5rem",
|
|
40
|
+
noGradient: !0,
|
|
41
|
+
children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
|
|
42
|
+
},
|
|
43
|
+
`${t}-2`
|
|
44
|
+
),
|
|
45
|
+
/* @__PURE__ */ e(
|
|
46
|
+
n,
|
|
47
|
+
{
|
|
48
|
+
alignItems: "center",
|
|
49
|
+
gap: "0.5rem",
|
|
50
|
+
noGradient: !0,
|
|
51
|
+
children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
|
|
52
|
+
},
|
|
53
|
+
`${t}-3`
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ e(
|
|
56
|
+
n,
|
|
57
|
+
{
|
|
58
|
+
alignItems: "center",
|
|
59
|
+
gap: "0.5rem",
|
|
60
|
+
noGradient: !0,
|
|
61
|
+
children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
|
|
62
|
+
},
|
|
63
|
+
`${t}-4`
|
|
64
|
+
),
|
|
65
|
+
/* @__PURE__ */ e(
|
|
66
|
+
n,
|
|
67
|
+
{
|
|
68
|
+
alignItems: "center",
|
|
69
|
+
gap: "0.5rem",
|
|
70
|
+
noGradient: !0,
|
|
71
|
+
children: /* @__PURE__ */ e(r, { height: "1.5rem", width: "8rem" })
|
|
72
|
+
},
|
|
73
|
+
`${t}-5`
|
|
74
|
+
)
|
|
75
|
+
] }), T = ({
|
|
76
|
+
keyPrefix: t,
|
|
77
|
+
isLoading: s = !1,
|
|
78
|
+
fallbackComponent: a = /* @__PURE__ */ e(h, {}),
|
|
79
|
+
children: i
|
|
80
|
+
}) => /* @__PURE__ */ e(l, { fallbackComponent: a, children: s === !0 ? /* @__PURE__ */ e(u, { keyPrefix: t }) : i });
|
|
81
|
+
export {
|
|
82
|
+
T as S,
|
|
83
|
+
f as a
|
|
84
|
+
};
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as b, useRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import { o as
|
|
5
|
-
import { P as
|
|
6
|
-
const
|
|
7
|
-
background-color: var(--gray-200, #dddfe4);
|
|
8
|
-
border-radius: 0.75rem;
|
|
9
|
-
min-width: 11.625rem;
|
|
10
|
-
min-height: 11.625rem;
|
|
11
|
-
max-width: 11.625rem;
|
|
12
|
-
max-height: 11.625rem;
|
|
13
|
-
${v("-90deg")}
|
|
14
|
-
`, N = c.div`
|
|
2
|
+
import { forwardRef as b, useRef as h } from "react";
|
|
3
|
+
import { s as x } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { o as y, l as v, p as w, G as k } from "./utils-DHfRApMf.js";
|
|
5
|
+
import { P as z } from "./index-BbltNcou.js";
|
|
6
|
+
const C = x.div`
|
|
15
7
|
display: flex;
|
|
16
8
|
flex-direction: column;
|
|
17
9
|
justify-content: end;
|
|
@@ -90,39 +82,39 @@ const F = c.div`
|
|
|
90
82
|
z-index: 1;
|
|
91
83
|
}
|
|
92
84
|
}
|
|
93
|
-
`,
|
|
85
|
+
`, G = b((c, N) => {
|
|
94
86
|
const {
|
|
95
|
-
uuid:
|
|
96
|
-
title:
|
|
87
|
+
uuid: j,
|
|
88
|
+
title: l,
|
|
97
89
|
price: i = 0,
|
|
98
90
|
currency: t,
|
|
99
91
|
isNegotiable: o,
|
|
100
92
|
isFree: a,
|
|
101
|
-
image:
|
|
93
|
+
image: m,
|
|
102
94
|
sellerUuid: P,
|
|
103
|
-
onSelectCard:
|
|
95
|
+
onSelectCard: p = () => {
|
|
104
96
|
},
|
|
105
97
|
imageComponent: n,
|
|
106
|
-
negotiableText:
|
|
107
|
-
freeText:
|
|
98
|
+
negotiableText: f = "Negotiable",
|
|
99
|
+
freeText: g = "Free",
|
|
108
100
|
metadata: e
|
|
109
|
-
} =
|
|
101
|
+
} = c, d = h();
|
|
110
102
|
return /* @__PURE__ */ r(
|
|
111
|
-
|
|
103
|
+
C,
|
|
112
104
|
{
|
|
113
105
|
ref: d,
|
|
114
106
|
className: "simple-product-card",
|
|
115
107
|
"data-accessor": e == null ? void 0 : e.accessor,
|
|
116
108
|
name: e == null ? void 0 : e.name,
|
|
117
|
-
onClick: (
|
|
109
|
+
onClick: (u) => p(u, d),
|
|
118
110
|
children: [
|
|
119
|
-
|
|
111
|
+
v(n) ? n : /* @__PURE__ */ s(z, { src: m }),
|
|
120
112
|
/* @__PURE__ */ r("div", { className: "text-block", children: [
|
|
121
|
-
/* @__PURE__ */ s("div", { className: "title-simple-product-card", children:
|
|
113
|
+
/* @__PURE__ */ s("div", { className: "title-simple-product-card", children: l }),
|
|
122
114
|
/* @__PURE__ */ r("div", { className: "price-chip", children: [
|
|
123
|
-
i > 0 && t && o !== !0 && a !== !0 && `${
|
|
124
|
-
o &&
|
|
125
|
-
a &&
|
|
115
|
+
i > 0 && t && o !== !0 && a !== !0 && `${w(i)} ${k(t)}`,
|
|
116
|
+
o && f,
|
|
117
|
+
a && g
|
|
126
118
|
] })
|
|
127
119
|
] })
|
|
128
120
|
]
|
|
@@ -130,6 +122,5 @@ const F = c.div`
|
|
|
130
122
|
);
|
|
131
123
|
});
|
|
132
124
|
export {
|
|
133
|
-
|
|
134
|
-
F as a
|
|
125
|
+
G as S
|
|
135
126
|
};
|
package/dist/index.js
CHANGED
|
@@ -124,7 +124,7 @@ import { default as Lr } from "./StatsSection.js";
|
|
|
124
124
|
import { default as Nr } from "./ToggleSection.js";
|
|
125
125
|
import { default as Wr } from "./BlogExploreSection.js";
|
|
126
126
|
import { default as yr, useTheme as Hr } from "./ThemeProvider.js";
|
|
127
|
-
import { c as Or } from "./CustomStyles-
|
|
127
|
+
import { c as Or } from "./CustomStyles-ArAVZsIj.js";
|
|
128
128
|
export {
|
|
129
129
|
wo as Accordion,
|
|
130
130
|
vo as AccordionDetails,
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";const t=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./emotion-react.browser.esm-Cvnp-zmB.cjs"),o=i.css`
|
|
2
|
+
background: #f4f6fb;
|
|
3
|
+
|
|
4
|
+
/* drop-shadow-sm */
|
|
5
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
6
|
+
`,r=i.css`
|
|
7
|
+
${o}
|
|
8
|
+
|
|
9
|
+
&:first-of-type {
|
|
10
|
+
background: linear-gradient(
|
|
11
|
+
to right,
|
|
12
|
+
transparent 0%,
|
|
13
|
+
#f4f6fb 40%,
|
|
14
|
+
#f4f6fb 100%
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
box-shadow: none;
|
|
18
|
+
}
|
|
19
|
+
`,n=t.styled.div`
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: ${e=>(e==null?void 0:e.gap)||"1.25rem"};
|
|
22
|
+
width: ${e=>(e==null?void 0:e.width)||"100%"};
|
|
23
|
+
align-items: ${e=>(e==null?void 0:e.alignItems)||"normal"};
|
|
24
|
+
justify-content: ${e=>(e==null?void 0:e.justifyContent)||"normal"};
|
|
25
|
+
|
|
26
|
+
& > div {
|
|
27
|
+
&:first-of-type {
|
|
28
|
+
${e=>(e==null?void 0:e.noGradient)&&o}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`,d=t.styled.div`
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-direction: column;
|
|
34
|
+
gap: ${e=>(e==null?void 0:e.gap)||"1.25rem"};
|
|
35
|
+
width: ${e=>(e==null?void 0:e.width)||"100%"};
|
|
36
|
+
align-items: ${e=>(e==null?void 0:e.alignItems)||"normal"};
|
|
37
|
+
justify-content: ${e=>(e==null?void 0:e.justifyContent)||"normal"};
|
|
38
|
+
height: ${e=>(e==null?void 0:e.height)||"100%"};
|
|
39
|
+
|
|
40
|
+
& > div {
|
|
41
|
+
&:first-of-type {
|
|
42
|
+
${e=>(e==null?void 0:e.noGradient)&&o}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`,a=t.styled.div`
|
|
46
|
+
border-radius: ${e=>(e==null?void 0:e.borderRadius)||"0.5rem"};
|
|
47
|
+
height: ${e=>(e==null?void 0:e.height)||"11rem"};
|
|
48
|
+
width: ${e=>(e==null?void 0:e.width)||"11rem"};
|
|
49
|
+
aspect-ratio: 1 / 1;
|
|
50
|
+
|
|
51
|
+
${r}
|
|
52
|
+
`,l=t.styled.div`
|
|
53
|
+
border-radius: 999px;
|
|
54
|
+
height: ${e=>(e==null?void 0:e.height)||"11rem"};
|
|
55
|
+
width: ${e=>(e==null?void 0:e.width)||"11rem"};
|
|
56
|
+
|
|
57
|
+
${r}
|
|
58
|
+
`,s=t.styled.div`
|
|
59
|
+
border-radius: ${e=>(e==null?void 0:e.borderRadius)||"0.5rem"};
|
|
60
|
+
width: ${e=>(e==null?void 0:e.width)||"100%"};
|
|
61
|
+
height: ${e=>(e==null?void 0:e.height)||"2rem"};
|
|
62
|
+
|
|
63
|
+
${r}
|
|
64
|
+
`;exports.SkeletonCirclePlaceholder=l;exports.SkeletonColumnWrapper=d;exports.SkeletonLinePlaceholder=s;exports.SkeletonRowWrapper=n;exports.SkeletonSquarePlaceholder=a;exports.skeletonGradientBackground=r;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { s as t } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
2
|
+
import { c as o } from "./emotion-react.browser.esm-DUVZ5oEL.js";
|
|
3
|
+
const i = o`
|
|
4
|
+
background: #f4f6fb;
|
|
5
|
+
|
|
6
|
+
/* drop-shadow-sm */
|
|
7
|
+
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
8
|
+
`, r = o`
|
|
9
|
+
${i}
|
|
10
|
+
|
|
11
|
+
&:first-of-type {
|
|
12
|
+
background: linear-gradient(
|
|
13
|
+
to right,
|
|
14
|
+
transparent 0%,
|
|
15
|
+
#f4f6fb 40%,
|
|
16
|
+
#f4f6fb 100%
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
}
|
|
21
|
+
`, d = t.div`
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: ${(e) => (e == null ? void 0 : e.gap) || "1.25rem"};
|
|
24
|
+
width: ${(e) => (e == null ? void 0 : e.width) || "100%"};
|
|
25
|
+
align-items: ${(e) => (e == null ? void 0 : e.alignItems) || "normal"};
|
|
26
|
+
justify-content: ${(e) => (e == null ? void 0 : e.justifyContent) || "normal"};
|
|
27
|
+
|
|
28
|
+
& > div {
|
|
29
|
+
&:first-of-type {
|
|
30
|
+
${(e) => (e == null ? void 0 : e.noGradient) && i}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`, s = t.div`
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: ${(e) => (e == null ? void 0 : e.gap) || "1.25rem"};
|
|
37
|
+
width: ${(e) => (e == null ? void 0 : e.width) || "100%"};
|
|
38
|
+
align-items: ${(e) => (e == null ? void 0 : e.alignItems) || "normal"};
|
|
39
|
+
justify-content: ${(e) => (e == null ? void 0 : e.justifyContent) || "normal"};
|
|
40
|
+
height: ${(e) => (e == null ? void 0 : e.height) || "100%"};
|
|
41
|
+
|
|
42
|
+
& > div {
|
|
43
|
+
&:first-of-type {
|
|
44
|
+
${(e) => (e == null ? void 0 : e.noGradient) && i}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`, h = t.div`
|
|
48
|
+
border-radius: ${(e) => (e == null ? void 0 : e.borderRadius) || "0.5rem"};
|
|
49
|
+
height: ${(e) => (e == null ? void 0 : e.height) || "11rem"};
|
|
50
|
+
width: ${(e) => (e == null ? void 0 : e.width) || "11rem"};
|
|
51
|
+
aspect-ratio: 1 / 1;
|
|
52
|
+
|
|
53
|
+
${r}
|
|
54
|
+
`, l = t.div`
|
|
55
|
+
border-radius: 999px;
|
|
56
|
+
height: ${(e) => (e == null ? void 0 : e.height) || "11rem"};
|
|
57
|
+
width: ${(e) => (e == null ? void 0 : e.width) || "11rem"};
|
|
58
|
+
|
|
59
|
+
${r}
|
|
60
|
+
`, f = t.div`
|
|
61
|
+
border-radius: ${(e) => (e == null ? void 0 : e.borderRadius) || "0.5rem"};
|
|
62
|
+
width: ${(e) => (e == null ? void 0 : e.width) || "100%"};
|
|
63
|
+
height: ${(e) => (e == null ? void 0 : e.height) || "2rem"};
|
|
64
|
+
|
|
65
|
+
${r}
|
|
66
|
+
`;
|
|
67
|
+
export {
|
|
68
|
+
s as S,
|
|
69
|
+
d as a,
|
|
70
|
+
f as b,
|
|
71
|
+
h as c,
|
|
72
|
+
l as d,
|
|
73
|
+
r as s
|
|
74
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as a } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
2
2
|
import { M as t } from "./consts-BuFChS64.js";
|
|
3
|
-
import { t as r } from "./utils-
|
|
3
|
+
import { t as r } from "./utils-DHfRApMf.js";
|
|
4
4
|
const o = a.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
@@ -10544,15 +10544,15 @@ export {
|
|
|
10544
10544
|
n0 as l,
|
|
10545
10545
|
p as m,
|
|
10546
10546
|
N as n,
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10547
|
+
t0 as o,
|
|
10548
|
+
r0 as p,
|
|
10549
|
+
u0 as q,
|
|
10550
10550
|
G as r,
|
|
10551
|
-
|
|
10551
|
+
g0 as s,
|
|
10552
10552
|
z as t,
|
|
10553
10553
|
_ as u,
|
|
10554
|
-
|
|
10555
|
-
|
|
10554
|
+
i0 as v,
|
|
10555
|
+
a0 as w,
|
|
10556
10556
|
b0 as x,
|
|
10557
10557
|
c0 as y,
|
|
10558
10558
|
U as z
|