@plurix/ecom-components 1.18.1-commerce → 1.18.5-commerce

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/CHANGELOG.md ADDED
@@ -0,0 +1,553 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.17.1-commerce] - 2026-04-16
11
+
12
+ - [COM-3559](https://dev.azure.com/Plurix/Digital/_workitems/edit/3559) - Change postal code variables are saved.
13
+ - [COM-374](https://dev.azure.com/Plurix/Digital/_workitems/edit/374) - Added prop for the "add" button in the product cart.
14
+
15
+ ## [1.16.5-commerce] - 2026-03-25
16
+
17
+ - [COM-3393](https://dev.azure.com/Plurix/Digital/_workitems/edit/3393) - Updated product card; add buttons and unavailable buttons.only for Dom.
18
+
19
+ ## [1.16.4-commerce] - 2026-02-23
20
+
21
+ - [COM-3076](https://dev.azure.com/Plurix/Digital/_workitems/edit/3076) - Added background color to the description and changed the colors of the +friend badge to only for Dom.
22
+
23
+ ## [1.16.2-commerce] - 2026-01-09
24
+
25
+ - [COM-2434](https://dev.azure.com/Plurix/Digital/_workitems/edit/2434) - Repair tag discount and weigth in product card
26
+ - [COM-2384](https://dev.azure.com/Plurix/Digital/_workitems/edit/2384) - Added white border as a variable in the product cart see more
27
+ - [COM-2346](https://dev.azure.com/Plurix/Digital/_workitems/edit/2346) - Remove margin right on card for regionalization in store selection.
28
+
29
+ ## [1.16.0-commerce] - 2025-12-11
30
+
31
+ ### Added
32
+
33
+ - [COM-2034](https://dev.azure.com/Plurix/Digital/_workitems/edit/2034) - Change order button has been fixed.
34
+
35
+ ## [1.15.0-loyalty] - 2025-12-10
36
+
37
+ ### Changed
38
+
39
+ - [FIN-1524](https://dev.azure.com/Plurix/Digital/_workitems/edit/1524) - Requests are not defined by platform anymore
40
+ - [FIN-1555](https://dev.azure.com/Plurix/Digital/_workitems/edit/1555) - Coupons UI
41
+ - [FIN-1445](https://dev.azure.com/Plurix/Digital/_workitems/edit/1445) - Changed component vouchers redeemed to use in modal cart IO
42
+
43
+ ### Added
44
+
45
+ - [FIN-1447](https://dev.azure.com/Plurix/Digital/_workitems/edit/1447) - Migrated adaptive carousel and created component vouchers redeemed
46
+ - [COM-1249](https://dev.azure.com/Plurix/Digital/_workitems/edit/1249) - Adjusting ChangeOrderModal component for accept graphql
47
+ - [COM-2098](https://dev.azure.com/Plurix/Digital/_workitems/edit/2098) - Update api in coupons component
48
+ - [COM-1249](https://dev.azure.com/Plurix/Digital/_workitems/edit/1249) - Adjusting ChangeOrderModal component for accept graphql
49
+ - [COM-1332](https://dev.azure.com/Plurix/Digital/_workitems/edit/1332) - Adjusting Coupons component for accept graphql
50
+
51
+ ### Added
52
+
53
+ - [COM-1311](https://dev.azure.com/Plurix/Digital/_workitems/edit/1311) - Adjusting ProductCardPrice for new product API
54
+
55
+ ## [1.14.2-commerce] - 2025-08-29
56
+
57
+ ### Fixed
58
+
59
+ - [COM-797](https://dev.azure.com/Plurix/Digital/_workitems/edit/797) - Adjusting ProductCardBadgeKg visibility
60
+
61
+ ## [1.14.0-loyalty] - 2025-07-02
62
+
63
+ ### Changed
64
+
65
+ - [SHLO-465](https://dev.azure.com/Plurix/Digital/_workitems/edit/465) - Added product cards to intelligent and adjust general in card
66
+
67
+ ### Fixed
68
+
69
+ - [SHLO-497](https://dev.azure.com/Plurix/Digital/_workitems/edit/497) - Quantity selector width
70
+ - [SHLO-524](https://dev.azure.com/Plurix/Digital/_workitems/edit/524) - Modal and onboarding css
71
+
72
+ ## [1.13.0-club] - 2025-06-09
73
+
74
+ ### Changed
75
+
76
+ - [SL-2649](https://plurix.atlassian.net/browse/SL-2649) - Added ProductCardSeeMore horizontal Variant
77
+
78
+ ### Added
79
+
80
+ - [SL-2680](https://plurix.atlassian.net/browse/SL-2680) - Added new function in ProductCardSeeMore
81
+ - [SL-2569](https://plurix.atlassian.net/browse/SL-2569) - New product card UI Horizontal
82
+ - [SL-2529](https://plurix.atlassian.net/browse/SL-2529) - New product card UI Vertical
83
+
84
+ ## [1.12.0-commerce] - 2025-06-04
85
+
86
+ ## Added
87
+
88
+ - [COM-138](https://dev.azure.com/Plurix/Digital/_workitems/edit/138) - Added Skeleton component to ecom-components
89
+ - [COM-137](https://dev.azure.com/Plurix/Digital/_workitems/edit/137) - Added search suggestions component from acct repo to ecom-components
90
+ - [COM-136](https://dev.azure.com/Plurix/Digital/_workitems/edit/136) - Adding ContactCard component
91
+
92
+ ## [1.10.0-loyalty] - 2025-03-26
93
+
94
+ - [SL-2446](https://plurix.atlassian.net/browse/SL-2446) - Added text '+ amigo' in cartClubAlert
95
+
96
+ ## [1.9.0-commerce] - 2025-03-13
97
+
98
+ - [SCS-2173](https://plurix.atlassian.net/browse/SCS-2173) - Added validation for low stock products without similar products
99
+
100
+ ## [1.8.1-commerce] - 2025-02-11
101
+
102
+ ### Added
103
+
104
+ - [SL-2446](https://plurix.atlassian.net/browse/SL-2446) - [Coupons] - Added button in mobile version of coupons
105
+
106
+ ## [1.7.0-loyalty] - 2024-02-10
107
+
108
+ ### Added
109
+
110
+ - [SHLO-242](https://plurix.atlassian.net/browse/SHLO-242) - [Coupons] - POST method in getCoupons api
111
+
112
+ ## [1.6.0-commerce] - 2024-12-18
113
+
114
+ ### Changed
115
+
116
+ - [SCS-2154](https://plurix.atlassian.net/browse/SCS-2154) - Correcting prices and discount percentage in change order modal
117
+
118
+ ## [1.5.0-club] - 2024-12-12
119
+
120
+ ### Changed
121
+
122
+ - [SL-2063](https://plurix.atlassian.net/browse/SL-2063) - Change tag p from (H1, H2, H3 e H4) for SEO in components coupons
123
+
124
+ ## [1.4.0-commerce] - 2024-11-21
125
+
126
+ ### Added
127
+
128
+ - [SCS-1825](https://plurix.atlassian.net/browse/SCS-1825) - Change Order Modal
129
+
130
+ ## [1.3.0-loyalty] - 2024-11-19
131
+
132
+ ### Added
133
+
134
+ - [SL-2399](https://plurix.atlassian.net/browse/SL-2399) - Bullet active status in carousel component
135
+
136
+ ## [1.2.0-loyalty] - 2024-10-24
137
+
138
+ ### Added
139
+
140
+ - [SL-2078](https://plurix.atlassian.net/browse/SL-2078) - Adding props to carousel component
141
+
142
+ ## [1.1.3-loyalty] - 2024-08-26
143
+
144
+ ### Removed
145
+
146
+ - Removed "div" reference from modal global css
147
+ - Removed avenida validation to coupons
148
+
149
+ ## [1.1.2-loyalty] - 2024-07-25
150
+
151
+ ### Changed
152
+
153
+ - [SL-1694](https://plurix.atlassian.net/browse/SL-1694) - Cupons modal changes
154
+ - [SL-1715](https://plurix.atlassian.net/browse/SL-1715) - Onboarding modal padronization
155
+ - [SL-1823](https://plurix.atlassian.net/browse/SL-1823) - Adding variable to hide header on Modal component
156
+
157
+ ## [1.1.1-loyalty] - 2024-06-26
158
+
159
+ - [SL-1698](https://plurix.atlassian.net/browse/SL-1698) - [Web] NoCoupons components changed
160
+ - [SL-1856](https://plurix.atlassian.net/browse/SL-1856) - added window.reload in handler remove coupon in coupons component
161
+
162
+ ## [1.1.0-loyalty] - 2024-06-13
163
+
164
+ ### Changed
165
+
166
+ - [SL-1700](https://plurix.atlassian.net/browse/SL-1700) - Coupons badge variables
167
+
168
+ ## [1.0.0] - 2024-06-05
169
+
170
+ ### Refactored
171
+
172
+ - [SL-1720](https://plurix.atlassian.net/browse/SL-1720) - Restructured repository, uniting all packages into one called @plurix/ecom-components
173
+
174
+ <!-- All records below are from when this repository contained several NPM packages, we are saving these registers -->
175
+ <!-- Regionalization -->
176
+
177
+ ## [16.0.0] - 2023-11-03
178
+
179
+ ### Added
180
+
181
+ - [SCS-641](https://plurix.atlassian.net/browse/SCS-911) - [Regionalization] - Initial Flow
182
+ - [SCS-970](https://plurix.atlassian.net/browse/SCS-970) - [Regionalization] - Invalid shipping pickup option
183
+
184
+ ### Changed
185
+
186
+ - [SCS-980](https://plurix.atlassian.net/browse/SCS-980) - [Regionalization] - More infos view
187
+ - [SCS-917](https://plurix.atlassian.net/browse/SCS-917) - [Regionalization] Region | Delivery Modall
188
+
189
+ ## [0.15.1] - 2023-10-11
190
+
191
+ ### Fixed
192
+
193
+ - [SCS-1000](https://plurix.atlassian.net/browse/SCS-1000) - Correction in the regionalization modal scroll
194
+
195
+ ## [0.15.0] - 2023-08-11
196
+
197
+ ### Added
198
+
199
+ - [SCS-641](https://plurix.atlassian.net/browse/SCS-449) - Custom cms pickup point text prop
200
+
201
+ ## [0.14.0] - 2023-07-24
202
+
203
+ ### Added
204
+
205
+ - [SCS-449](https://plurix.atlassian.net/browse/SCS-449)
206
+
207
+ ## [0.13.9] - 2022-11-01
208
+
209
+ ### Changed
210
+
211
+ - More times infos button style
212
+
213
+ ## [0.13.8] - 2022-10-31
214
+
215
+ ### Added
216
+
217
+ - Pickup point validation
218
+
219
+ ## [0.13.7] - 2022-10-31
220
+
221
+ ### Changed
222
+
223
+ - Optional chaining in filteredStores
224
+
225
+ ## [0.13.6] - 2022-10-31
226
+
227
+ ### Changed
228
+
229
+ - Icons default color
230
+
231
+ ## [0.13.4] - 2022-10-31
232
+
233
+ ### Changed
234
+
235
+ - Icons colors to variables
236
+
237
+ ## [0.13.3] - 2022-10-25
238
+
239
+ ### Added
240
+
241
+ - Important in bagde text color
242
+
243
+ ## [0.13.2] - 2022-10-20
244
+
245
+ ### Change
246
+
247
+ - New style to back button and title in all stores screen
248
+
249
+ ## [0.13.1] - 2022-10-20
250
+
251
+ ### Added
252
+
253
+ - New price data
254
+
255
+ ## [0.13.0] - 2022-10-17
256
+
257
+ ### Change
258
+
259
+ - Replace session storage to LocalStorage
260
+
261
+ ## [0.12.1] - 2022-10-11
262
+
263
+ ### Change
264
+
265
+ - Replace Estimate and Pickup point set method
266
+
267
+ ## [0.12.0] - 2022-10-10
268
+
269
+ ### Change
270
+
271
+ - Change cookies to sessions
272
+
273
+ ## [0.11.2] - 2022-10-05
274
+
275
+ ### Change
276
+
277
+ - Validate condition
278
+
279
+ ## [0.11.1] - 2022-09-23
280
+
281
+ ### Change
282
+
283
+ - Pickup name to pickup-in-point
284
+
285
+ ## [0.11.0] - 2022-09-22
286
+
287
+ ### Added
288
+
289
+ - useEffect for pickuppoints state
290
+
291
+ ## [0.10.1] - 2022-09-13
292
+
293
+ ### Fixed
294
+
295
+ - Align button on store-container
296
+
297
+ ## [0.10.0] - 2022-09-12
298
+
299
+ ### Added
300
+
301
+ - [SHC-1130](https://smrholding.atlassian.net/browse/SHC-1130) - Variable colors
302
+
303
+ ## [0.9.3] - 2022-09-08
304
+
305
+ ### Added
306
+
307
+ - Set postal code in pickup
308
+
309
+ ## [0.9.2] - 2022-09-08
310
+
311
+ ### Added
312
+
313
+ - Pickup cookies and states
314
+
315
+ ## [0.9.1] - 2022-09-08
316
+
317
+ ### Fixed
318
+
319
+ - types and setStates
320
+
321
+ ## [0.9.0] - 2022-09-06
322
+
323
+ ### Added
324
+
325
+ - [SHC-1080](https://smrholding.atlassian.net/browse/SHC-1080) - Regionalize catalog
326
+
327
+ ## [0.8.3] - 2022-08-31
328
+
329
+ ### Added
330
+
331
+ - Pickup Point name state
332
+
333
+ ## [0.8.2] - 2022-08-31
334
+
335
+ ### Change
336
+
337
+ -Change the set method function
338
+
339
+ ## [0.8.1] - 2022-08-26
340
+
341
+ ### Change
342
+
343
+ -Moved the "method" state to external receive.
344
+ -Change badge css.
345
+
346
+ ## [0.8.0] - 2022-08-26
347
+
348
+ ### Added
349
+
350
+ - [SHC-1062](https://smrholding.atlassian.net/browse/SHC-1062) - Pickup Point infos
351
+
352
+ ## [0.7.0] - 2022-08-26
353
+
354
+ ### Added
355
+
356
+ - [SHC-1088](https://smrholding.atlassian.net/browse/SHC-1088) - Cart simulator context
357
+
358
+ ## [0.6.2] - 2022-08-26
359
+
360
+ ### Fixed
361
+
362
+ - edit address button text
363
+
364
+ ## [0.6.1] - 2022-08-26
365
+
366
+ ### Fixed
367
+
368
+ - close modal in navigation
369
+
370
+ ## [0.6.0] - 2022-08-26
371
+
372
+ ### Added
373
+
374
+ - [SHC-1008](https://smrholding.atlassian.net/browse/SHC-1008) - Store choosed view
375
+
376
+ ## [0.5.0] - 2022-08-25
377
+
378
+ ### Added
379
+
380
+ - Delivery props
381
+
382
+ ## [0.4.0] - 2022-08-25
383
+
384
+ ### Added
385
+
386
+ - [SHC-906](https://smrholding.atlassian.net/browse/SHC-906) - Stores list
387
+
388
+ ## [0.3.0] - 2022-08-24
389
+
390
+ ### Added
391
+
392
+ - [SHC-819](https://smrholding.atlassian.net/browse/SHC-819) - Pickup modal
393
+
394
+ ### Changed
395
+
396
+ - props
397
+
398
+ ## [0.2.3] - 2022-08-19
399
+
400
+ ### Changed
401
+
402
+ - Fix Status import in context
403
+
404
+ ## [0.2.2] - 2022-08-19
405
+
406
+ ### Changed
407
+
408
+ - Status in RegionalizationProps
409
+
410
+ ## [0.2.1] - 2022-08-19
411
+
412
+ ### Fixed
413
+
414
+ - Export in index.ts
415
+
416
+ ## [0.2.0] - 2022-08-19
417
+
418
+ ### Changed
419
+
420
+ - refactored and componentized
421
+
422
+ ## [0.1.21] - 2022-06-27
423
+
424
+ ### Changed
425
+
426
+ - update start price function
427
+
428
+ ### Fixed
429
+
430
+ - Update input and button in initial view
431
+
432
+ ## [0.1.20] - 2022-06-27
433
+
434
+ ### Fixed
435
+
436
+ - Update input and button in initial view
437
+
438
+ ## [0.1.19] - 2022-06-27
439
+
440
+ ### Fixed
441
+
442
+ -Add mask in postal code input and minWidth
443
+
444
+ ## [0.1.18] - 2022-06-20
445
+
446
+ ### Fixed
447
+
448
+ - style defaultStyleContainerSections renamed
449
+
450
+ ## [0.1.17] - 2022-06-20
451
+
452
+ ### Fixed
453
+
454
+ - default styles in times section
455
+
456
+ ## [0.1.15] - 2022-06-20
457
+
458
+ ### Added
459
+
460
+ - added validation in cep input
461
+
462
+ ## [0.1.14] - 2022-06-15
463
+
464
+ ### Removed
465
+
466
+ - Import React in useWindowsDimensions hook
467
+
468
+ ## [0.1.13] - 2022-06-15
469
+
470
+ ### Added
471
+
472
+ - Created button disabled style
473
+
474
+ ## [0.1.12] - 2022-06-15
475
+
476
+ ### Added
477
+
478
+ - Changed to clean package
479
+
480
+ <!-- Coupons -->
481
+
482
+ ## [2.1.0] 2024-01-22
483
+
484
+ ### Added
485
+
486
+ - [SL-1323](https://plurix.atlassian.net/browse/SL-1323) - Prop to disable first empty modal
487
+
488
+ ## [2.0.0] 2023-09-21
489
+
490
+ ### Added
491
+
492
+ - [SL-802](https://plurix.atlassian.net/browse/SL-802) - All custom coupons logic in the package
493
+
494
+ ## [0.2.13] 2023-09-11
495
+
496
+ ### Added
497
+
498
+ - [SL-803](https://plurix.atlassian.net/browse/SL-803) - [PLP-COUPONS] - changed plp of coupons added some alert message and coupon notification
499
+ - [SL-561](https://plurix.atlassian.net/browse/SL-561) - [PLP-COUPONS] - added tagging plp of coupons
500
+
501
+ <!-- Carousel -->
502
+
503
+ ## [1.4.4]
504
+
505
+ - [SL-1227](https://plurix.atlassian.net/browse/SL-1227) - changed css to improve carousel layout
506
+
507
+ <!-- Tour -->
508
+
509
+ ## [1.0.0] - 2024-02-14
510
+
511
+ ### Added
512
+
513
+ - [SL-1328](https://plurix.atlassian.net/browse/SL-1328) - Tour package
514
+
515
+ <!-- Onboarding -->
516
+
517
+ ## [1.0.0] 2024-01-22
518
+
519
+ ### Added
520
+
521
+ - [SL-1318](https://plurix.atlassian.net/browse/SL-1318) - Onboarding package
522
+
523
+ <!-- Club Cart Alert -->
524
+
525
+ ## [0.4.0]
526
+
527
+ ### Added
528
+
529
+ - Update style and remove title
530
+
531
+ ## [0.2.0] - 2022-11-17
532
+
533
+ ### Added
534
+
535
+ - Redirect links
536
+
537
+ ## [0.1.2] - 2022-10-25
538
+
539
+ ### Added
540
+
541
+ - Scss returned and export a specific css file to Vtex IO
542
+
543
+ ## [0.1.1] - 2022-10-24
544
+
545
+ ### Changed
546
+
547
+ - Scss to css and removed mocked text
548
+
549
+ ## [0.1.0] - 2022-10-24
550
+
551
+ ### Added
552
+
553
+ - Component created
@@ -4,6 +4,8 @@ interface ClubCollectsProps {
4
4
  nextSealProgress?: number;
5
5
  missingValue?: number;
6
6
  sealGoalValue?: number;
7
+ subtotalValue?: number;
8
+ sealQuantityText?: string;
7
9
  }
8
- export declare const ClubCollects: ({ currentSeals, nextSealProgress, missingValue, sealGoalValue }: ClubCollectsProps) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const ClubCollects: ({ currentSeals, nextSealProgress, missingValue, sealGoalValue, subtotalValue, sealQuantityText }: ClubCollectsProps) => import("react/jsx-runtime").JSX.Element;
9
11
  export {};
@@ -1,12 +1,21 @@
1
1
  import { jsxs as l, jsx as C } from "react/jsx-runtime";
2
2
  /* empty css */const t = ({
3
- currentSeals: s = 2,
4
- nextSealProgress: e = 80,
5
- missingValue: c = 8,
6
- sealGoalValue: a = 20
7
- }) => (console.log("sbs", a), /* @__PURE__ */ l("div", { className: "clubCollects", children: [
3
+ currentSeals: s = 0,
4
+ nextSealProgress: e = 0,
5
+ missingValue: i = 0,
6
+ sealGoalValue: o = 20,
7
+ subtotalValue: r = 0,
8
+ sealQuantityText: c = "1 selo"
9
+ }) => (console.log("ClubCollects props", {
10
+ currentSeals: s,
11
+ nextSealProgress: e,
12
+ missingValue: i,
13
+ sealGoalValue: o,
14
+ subtotalValue: r,
15
+ sealQuantityText: c
16
+ }), /* @__PURE__ */ l("div", { className: "clubCollects", children: [
8
17
  /* @__PURE__ */ l("div", { className: "clubCollects__header", children: [
9
- /* @__PURE__ */ l(
18
+ /* @__PURE__ */ C(
10
19
  "svg",
11
20
  {
12
21
  width: "64",
@@ -14,82 +23,94 @@ import { jsxs as l, jsx as C } from "react/jsx-runtime";
14
23
  viewBox: "0 0 64 18",
15
24
  fill: "none",
16
25
  xmlns: "http://www.w3.org/2000/svg",
17
- children: [
18
- /* @__PURE__ */ C(
19
- "path",
20
- {
21
- d: "M19.8826 14.0657C19.4148 14.3201 18.9144 14.405 18.5435 14.405C17.6881 14.405 17.0426 13.9639 16.7526 13.1496C16.1071 13.896 15.2195 14.405 14.0736 14.405C11.7341 14.405 10.04 12.454 10.04 9.94332C10.04 7.43259 11.7182 5.48169 14.0736 5.48169C15.1063 5.48169 15.994 5.88883 16.688 6.51652V6.27902C16.688 5.82098 16.9462 5.54955 17.398 5.54955H18.1239C18.5757 5.54955 18.8339 5.82098 18.8339 6.27902V11.7755C18.8339 11.9621 18.8499 12.0978 19.0116 12.0978C19.1407 12.0978 19.2535 12.0299 19.4148 12.013C19.657 11.979 19.8021 12.1317 19.8989 12.471L20.1407 13.2853C20.2862 13.7773 20.1407 13.9299 19.8826 14.0657ZM16.349 9.94332C16.349 8.63706 15.5262 7.83974 14.4935 7.83974C13.3637 7.83974 12.6055 8.75582 12.6055 9.94332C12.6055 11.1308 13.3637 12.0469 14.4935 12.0469C15.5099 12.0469 16.349 11.2326 16.349 9.94332Z",
22
- fill: "#EBE0CF"
23
- }
24
- ),
25
- /* @__PURE__ */ C(
26
- "path",
27
- {
28
- d: "M35.6206 14.0487C35.1365 14.3371 34.6687 14.405 34.2488 14.405C32.7161 14.405 31.9093 13.5567 31.9093 11.8773V9.36653C31.9093 8.41653 31.4252 7.82277 30.5862 7.82277C29.7634 7.82277 29.1985 8.41653 29.1985 9.36653V13.438C29.1985 13.913 28.9403 14.1844 28.5044 14.1844H27.2781C26.8263 14.1844 26.5845 13.913 26.5845 13.438V9.36653C26.5845 8.41653 26.0844 7.82277 25.2454 7.82277C24.4222 7.82277 23.8573 8.41653 23.8573 9.36653V13.438C23.8573 13.913 23.6155 14.1844 23.1636 14.1844H21.9373C21.5018 14.1844 21.2437 13.913 21.2437 13.438V8.1451C21.2437 7.97545 21.1791 7.89063 21.066 7.89063C20.9046 7.89063 20.711 8.02635 20.5496 8.04331C20.4046 8.07724 20.211 7.99242 20.1138 7.58527L19.9042 6.58437C19.8074 6.16026 19.8719 5.95669 20.211 5.77008C20.5496 5.56651 21.0337 5.48169 21.4046 5.48169C22.2764 5.48169 23.0828 5.87187 23.3573 6.88973C23.8899 6.07544 24.745 5.48169 25.939 5.48169C27.0363 5.48169 27.9076 5.92276 28.4725 6.68616C29.1017 5.97366 30.0053 5.48169 31.1671 5.48169C33.1679 5.48169 34.5233 6.94063 34.5233 9.16296V11.6737C34.5233 11.8603 34.5556 11.996 34.7333 11.996C34.7978 11.996 34.9429 11.9621 35.056 11.9282C35.3301 11.8433 35.4915 11.9621 35.6206 12.3692L35.8787 13.2853C36.0241 13.7433 35.8951 13.896 35.6206 14.0487Z",
29
- fill: "#EBE0CF"
30
- }
31
- ),
32
- /* @__PURE__ */ C(
33
- "path",
34
- {
35
- d: "M36.5781 2.68253C36.5781 1.74948 37.2881 1.00305 38.1594 1.00305C39.0467 1.00305 39.7567 1.74948 39.7567 2.68253C39.7567 3.61557 39.0467 4.362 38.1594 4.362C37.2881 4.362 36.5781 3.61557 36.5781 2.68253ZM36.8522 11.8772V6.3638C36.8522 5.88879 37.1104 5.61736 37.5463 5.61736H38.7726C39.2244 5.61736 39.4666 5.88879 39.4666 6.3638V11.6736C39.4666 11.8603 39.4985 11.996 39.6762 11.996C39.7408 11.996 39.8858 11.962 39.9989 11.9281C40.2571 11.8433 40.4348 11.962 40.5639 12.3692L40.8221 13.2853C40.9511 13.7433 40.838 13.896 40.5639 14.0487C40.0635 14.3371 39.6117 14.4049 39.1921 14.4049C37.6594 14.4049 36.8522 13.5567 36.8522 11.8772Z",
36
- fill: "#EBE0CF"
37
- }
38
- ),
39
- /* @__PURE__ */ C(
40
- "path",
41
- {
42
- d: "M50.8848 6.58437L50.6752 7.58527C50.578 7.99242 50.4007 8.07724 50.2394 8.04331C50.078 8.02635 49.8844 7.89063 49.739 7.89063C49.6262 7.89063 49.5617 7.97545 49.5617 8.1451V13.2005C49.5617 16.0844 47.5771 17.4585 45.0759 17.4585C43.3818 17.4585 42.1555 16.7969 41.3483 15.9657C41.0742 15.7112 40.9937 15.355 41.3323 14.9817L41.8001 14.371C42.0423 14.0996 42.3491 14.0148 42.72 14.3541C43.2201 14.846 44.0432 15.355 45.0918 15.355C46.1731 15.355 47.1572 14.8121 47.1572 13.5907V12.7424C46.5444 13.2005 45.7859 13.4719 44.9308 13.4719C42.7523 13.4719 41.1064 11.7755 41.1064 9.48528C41.1064 7.17813 42.7523 5.48169 44.9308 5.48169C45.9795 5.48169 46.8831 5.88883 47.5445 6.53348C47.8998 5.78705 48.6417 5.48169 49.4003 5.48169C49.7716 5.48169 50.2553 5.56651 50.5944 5.77008C50.9171 5.95669 50.9979 6.16026 50.8848 6.58437ZM47.3349 9.48528C47.3349 8.33171 46.5763 7.51742 45.5117 7.51742C44.4304 7.51742 43.6882 8.33171 43.6882 9.48528C43.6882 10.6219 44.4304 11.4362 45.5117 11.4362C46.5926 11.4362 47.3349 10.6219 47.3349 9.48528Z",
43
- fill: "#EBE0CF"
44
- }
45
- ),
46
- /* @__PURE__ */ C(
47
- "path",
48
- {
49
- d: "M51.2188 9.94332C51.2188 7.3817 53.1065 5.48169 55.7042 5.48169C58.3022 5.48169 60.174 7.3817 60.174 9.94332C60.174 12.5049 58.3022 14.405 55.7042 14.405C53.1065 14.405 51.2188 12.5049 51.2188 9.94332ZM57.5922 9.94332C57.5922 8.72189 56.8014 7.83974 55.7042 7.83974C54.6069 7.83974 53.8005 8.72189 53.8005 9.94332C53.8005 11.1648 54.591 12.0469 55.7042 12.0469C56.8014 12.0469 57.5922 11.1648 57.5922 9.94332Z",
50
- fill: "#EBE0CF"
51
- }
52
- ),
53
- /* @__PURE__ */ C(
54
- "path",
55
- {
56
- opacity: "0.7",
57
- d: "M0 10.1523V9.58108C0 9.07935 0.263355 8.81995 0.724324 8.81995H5.33292V13.4054C5.33292 13.89 5.06957 14.1669 4.60858 14.1669H3.8355C3.37453 14.1669 3.11116 13.9071 3.11116 13.4054V10.9134H0.724324C0.263355 10.9134 0 10.654 0 10.1523Z",
58
- fill: "#EBE0CF"
59
- }
60
- ),
61
- /* @__PURE__ */ C(
62
- "path",
63
- {
64
- d: "M8.44425 9.58123V10.1525C8.44425 10.6542 8.18089 10.9136 7.71992 10.9136H3.11133V6.32817C3.11133 5.84353 3.37468 5.56665 3.83567 5.56665H4.60874C5.06971 5.56665 5.33309 5.82644 5.33309 6.32817V8.82009H7.71992C8.18089 8.82009 8.44425 9.0795 8.44425 9.58123Z",
65
- fill: "#EBE0CF"
66
- }
67
- ),
68
- /* @__PURE__ */ C(
69
- "path",
70
- {
71
- d: "M63.5074 1.78841C63.5074 3.76384 62.0089 5.36523 60.1604 5.36523C58.312 5.36523 56.8135 3.76384 56.8135 1.78841C56.8135 0.800694 57.5627 0 58.487 0C59.4111 0 60.1604 0.800694 60.1604 1.78841C60.1604 2.77609 60.9096 3.57682 61.8339 3.57682C62.7581 3.57682 63.5074 2.77609 63.5074 1.78841Z",
72
- fill: "#F4AF25"
73
- }
74
- ),
75
- /* @__PURE__ */ C(
76
- "path",
77
- {
78
- d: "M63.535 1.78876C63.535 2.77628 62.7734 3.57702 61.8341 3.57702C60.8944 3.57702 60.1328 2.77628 60.1328 1.78876C60.1328 0.801229 60.8944 0.000488281 61.8341 0.000488281C62.7734 0.000488281 63.535 0.801229 63.535 1.78876Z",
79
- fill: "#F6BF51"
80
- }
81
- )
82
- ]
26
+ children: /* @__PURE__ */ l(
27
+ "svg",
28
+ {
29
+ width: "64",
30
+ height: "18",
31
+ viewBox: "0 0 64 18",
32
+ fill: "none",
33
+ xmlns: "http://www.w3.org/2000/svg",
34
+ children: [
35
+ /* @__PURE__ */ C(
36
+ "path",
37
+ {
38
+ d: "M19.8826 14.0657C19.4148 14.3201 18.9144 14.405 18.5435 14.405C17.6881 14.405 17.0426 13.9639 16.7526 13.1496C16.1071 13.896 15.2195 14.405 14.0736 14.405C11.7341 14.405 10.04 12.454 10.04 9.94332C10.04 7.43259 11.7182 5.48169 14.0736 5.48169C15.1063 5.48169 15.994 5.88883 16.688 6.51652V6.27902C16.688 5.82098 16.9462 5.54955 17.398 5.54955H18.1239C18.5757 5.54955 18.8339 5.82098 18.8339 6.27902V11.7755C18.8339 11.9621 18.8499 12.0978 19.0116 12.0978C19.1407 12.0978 19.2535 12.0299 19.4148 12.013C19.657 11.979 19.8021 12.1317 19.8989 12.471L20.1407 13.2853C20.2862 13.7773 20.1407 13.9299 19.8826 14.0657ZM16.349 9.94332C16.349 8.63706 15.5262 7.83974 14.4935 7.83974C13.3637 7.83974 12.6055 8.75582 12.6055 9.94332C12.6055 11.1308 13.3637 12.0469 14.4935 12.0469C15.5099 12.0469 16.349 11.2326 16.349 9.94332Z",
39
+ fill: "#EBE0CF"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ C(
43
+ "path",
44
+ {
45
+ d: "M35.6206 14.0487C35.1365 14.3371 34.6687 14.405 34.2488 14.405C32.7161 14.405 31.9093 13.5567 31.9093 11.8773V9.36653C31.9093 8.41653 31.4252 7.82277 30.5862 7.82277C29.7634 7.82277 29.1985 8.41653 29.1985 9.36653V13.438C29.1985 13.913 28.9403 14.1844 28.5044 14.1844H27.2781C26.8263 14.1844 26.5845 13.913 26.5845 13.438V9.36653C26.5845 8.41653 26.0844 7.82277 25.2454 7.82277C24.4222 7.82277 23.8573 8.41653 23.8573 9.36653V13.438C23.8573 13.913 23.6155 14.1844 23.1636 14.1844H21.9373C21.5018 14.1844 21.2437 13.913 21.2437 13.438V8.1451C21.2437 7.97545 21.1791 7.89063 21.066 7.89063C20.9046 7.89063 20.711 8.02635 20.5496 8.04331C20.4046 8.07724 20.211 7.99242 20.1138 7.58527L19.9042 6.58437C19.8074 6.16026 19.8719 5.95669 20.211 5.77008C20.5496 5.56651 21.0337 5.48169 21.4046 5.48169C22.2764 5.48169 23.0828 5.87187 23.3573 6.88973C23.8899 6.07544 24.745 5.48169 25.939 5.48169C27.0363 5.48169 27.9076 5.92276 28.4725 6.68616C29.1017 5.97366 30.0053 5.48169 31.1671 5.48169C33.1679 5.48169 34.5233 6.94063 34.5233 9.16296V11.6737C34.5233 11.8603 34.5556 11.996 34.7333 11.996C34.7978 11.996 34.9429 11.9621 35.056 11.9282C35.3301 11.8433 35.4915 11.9621 35.6206 12.3692L35.8787 13.2853C36.0241 13.7433 35.8951 13.896 35.6206 14.0487Z",
46
+ fill: "#EBE0CF"
47
+ }
48
+ ),
49
+ /* @__PURE__ */ C(
50
+ "path",
51
+ {
52
+ d: "M36.5781 2.68253C36.5781 1.74948 37.2881 1.00305 38.1594 1.00305C39.0467 1.00305 39.7567 1.74948 39.7567 2.68253C39.7567 3.61557 39.0467 4.362 38.1594 4.362C37.2881 4.362 36.5781 3.61557 36.5781 2.68253ZM36.8522 11.8772V6.3638C36.8522 5.88879 37.1104 5.61736 37.5463 5.61736H38.7726C39.2244 5.61736 39.4666 5.88879 39.4666 6.3638V11.6736C39.4666 11.8603 39.4985 11.996 39.6762 11.996C39.7408 11.996 39.8858 11.962 39.9989 11.9281C40.2571 11.8433 40.4348 11.962 40.5639 12.3692L40.8221 13.2853C40.9511 13.7433 40.838 13.896 40.5639 14.0487C40.0635 14.3371 39.6117 14.4049 39.1921 14.4049C37.6594 14.4049 36.8522 13.5567 36.8522 11.8772Z",
53
+ fill: "#EBE0CF"
54
+ }
55
+ ),
56
+ /* @__PURE__ */ C(
57
+ "path",
58
+ {
59
+ d: "M50.8848 6.58437L50.6752 7.58527C50.578 7.99242 50.4007 8.07724 50.2394 8.04331C50.078 8.02635 49.8844 7.89063 49.739 7.89063C49.6262 7.89063 49.5617 7.97545 49.5617 8.1451V13.2005C49.5617 16.0844 47.5771 17.4585 45.0759 17.4585C43.3818 17.4585 42.1555 16.7969 41.3483 15.9657C41.0742 15.7112 40.9937 15.355 41.3323 14.9817L41.8001 14.371C42.0423 14.0996 42.3491 14.0148 42.72 14.3541C43.2201 14.846 44.0432 15.355 45.0918 15.355C46.1731 15.355 47.1572 14.8121 47.1572 13.5907V12.7424C46.5444 13.2005 45.7859 13.4719 44.9308 13.4719C42.7523 13.4719 41.1064 11.7755 41.1064 9.48528C41.1064 7.17813 42.7523 5.48169 44.9308 5.48169C45.9795 5.48169 46.8831 5.88883 47.5445 6.53348C47.8998 5.78705 48.6417 5.48169 49.4003 5.48169C49.7716 5.48169 50.2553 5.56651 50.5944 5.77008C50.9171 5.95669 50.9979 6.16026 50.8848 6.58437ZM47.3349 9.48528C47.3349 8.33171 46.5763 7.51742 45.5117 7.51742C44.4304 7.51742 43.6882 8.33171 43.6882 9.48528C43.6882 10.6219 44.4304 11.4362 45.5117 11.4362C46.5926 11.4362 47.3349 10.6219 47.3349 9.48528Z",
60
+ fill: "#EBE0CF"
61
+ }
62
+ ),
63
+ /* @__PURE__ */ C(
64
+ "path",
65
+ {
66
+ d: "M51.2188 9.94332C51.2188 7.3817 53.1065 5.48169 55.7042 5.48169C58.3022 5.48169 60.174 7.3817 60.174 9.94332C60.174 12.5049 58.3022 14.405 55.7042 14.405C53.1065 14.405 51.2188 12.5049 51.2188 9.94332ZM57.5922 9.94332C57.5922 8.72189 56.8014 7.83974 55.7042 7.83974C54.6069 7.83974 53.8005 8.72189 53.8005 9.94332C53.8005 11.1648 54.591 12.0469 55.7042 12.0469C56.8014 12.0469 57.5922 11.1648 57.5922 9.94332Z",
67
+ fill: "#EBE0CF"
68
+ }
69
+ ),
70
+ /* @__PURE__ */ C(
71
+ "path",
72
+ {
73
+ opacity: "0.7",
74
+ d: "M0 10.1523V9.58108C0 9.07935 0.263355 8.81995 0.724324 8.81995H5.33292V13.4054C5.33292 13.89 5.06957 14.1669 4.60858 14.1669H3.8355C3.37453 14.1669 3.11116 13.9071 3.11116 13.4054V10.9134H0.724324C0.263355 10.9134 0 10.654 0 10.1523Z",
75
+ fill: "#EBE0CF"
76
+ }
77
+ ),
78
+ /* @__PURE__ */ C(
79
+ "path",
80
+ {
81
+ d: "M8.44425 9.58123V10.1525C8.44425 10.6542 8.18089 10.9136 7.71992 10.9136H3.11133V6.32817C3.11133 5.84353 3.37468 5.56665 3.83567 5.56665H4.60874C5.06971 5.56665 5.33309 5.82644 5.33309 6.32817V8.82009H7.71992C8.18089 8.82009 8.44425 9.0795 8.44425 9.58123Z",
82
+ fill: "#EBE0CF"
83
+ }
84
+ ),
85
+ /* @__PURE__ */ C(
86
+ "path",
87
+ {
88
+ d: "M63.5074 1.78841C63.5074 3.76384 62.0089 5.36523 60.1604 5.36523C58.312 5.36523 56.8135 3.76384 56.8135 1.78841C56.8135 0.800694 57.5627 0 58.487 0C59.4111 0 60.1604 0.800694 60.1604 1.78841C60.1604 2.77609 60.9096 3.57682 61.8339 3.57682C62.7581 3.57682 63.5074 2.77609 63.5074 1.78841Z",
89
+ fill: "#F4AF25"
90
+ }
91
+ ),
92
+ /* @__PURE__ */ C(
93
+ "path",
94
+ {
95
+ d: "M63.535 1.78876C63.535 2.77628 62.7734 3.57702 61.8341 3.57702C60.8944 3.57702 60.1328 2.77628 60.1328 1.78876C60.1328 0.801229 60.8944 0.000488281 61.8341 0.000488281C62.7734 0.000488281 63.535 0.801229 63.535 1.78876Z",
96
+ fill: "#F6BF51"
97
+ }
98
+ )
99
+ ]
100
+ }
101
+ )
83
102
  }
84
103
  ),
85
104
  /* @__PURE__ */ C("span", { className: "clubCollects__logo", children: "Coleciona" })
86
105
  ] }),
87
106
  /* @__PURE__ */ l("div", { className: "clubCollects__content", children: [
88
107
  /* @__PURE__ */ l("p", { className: "clubCollects__current", children: [
89
- "garantidos no carrinho atual: ",
108
+ "garantidos no carrinho atual:",
109
+ " ",
90
110
  /* @__PURE__ */ l("span", { children: [
91
111
  s,
92
- " selos"
112
+ " ",
113
+ s === 1 ? "selo" : "selos"
93
114
  ] })
94
115
  ] }),
95
116
  /* @__PURE__ */ l("div", { className: "clubCollects__progressWrapper", children: [
@@ -97,24 +118,39 @@ import { jsxs as l, jsx as C } from "react/jsx-runtime";
97
118
  "div",
98
119
  {
99
120
  className: "clubCollects__progressFill",
100
- style: { width: `${e}%` }
121
+ style: {
122
+ width: `${e}%`
123
+ }
101
124
  }
102
125
  ) }),
103
- /* @__PURE__ */ C("span", { className: "clubCollects__next", children: "+1 selo" })
126
+ /* @__PURE__ */ l("span", { className: "clubCollects__next", children: [
127
+ "+",
128
+ c
129
+ ] })
104
130
  ] }),
105
131
  /* @__PURE__ */ l("p", { className: "clubCollects__missing", children: [
106
- "Faltam ",
132
+ "Subtotal ",
133
+ /* @__PURE__ */ l("span", { children: [
134
+ "R$ ",
135
+ Number(r).toFixed(2)
136
+ ] }),
137
+ " faltam",
138
+ " ",
107
139
  /* @__PURE__ */ l("span", { children: [
108
140
  "R$ ",
109
- c.toFixed(2)
141
+ Number(i).toFixed(2)
110
142
  ] }),
111
- " para o próximo selo de desconto!"
143
+ " para o próximo selo"
112
144
  ] }),
113
145
  /* @__PURE__ */ l("p", { className: "clubCollects__rule", children: [
114
146
  "A cada ",
115
- /* @__PURE__ */ C("strong", { children: "R$20" }),
116
- " em compras = ",
117
- /* @__PURE__ */ C("strong", { children: "1 selo" })
147
+ /* @__PURE__ */ l("strong", { children: [
148
+ "R$ ",
149
+ o
150
+ ] }),
151
+ " em compras =",
152
+ " ",
153
+ /* @__PURE__ */ C("strong", { children: c })
118
154
  ] })
119
155
  ] })
120
156
  ] }));
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@plurix/ecom-components",
3
3
  "author": "Plurix",
4
4
  "private": false,
5
- "version": "1.18.1-commerce",
5
+ "version": "1.18.5-commerce",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",