@janiscommerce/ui-web 1.5.0-beta.6 → 1.5.0-beta.8

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,621 @@
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](http://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [1.5.0-beta.8] - 2025-11-26
11
+
12
+ ### Changed
13
+
14
+ - Node version reverted from 20 to 14 to maintain compatibility with projects not yet migrated
15
+
16
+ ## [1.5.0-beta.7] - 2025-11-26
17
+
18
+ ### Fixed
19
+
20
+ - Package structure: removed duplicate package.json generation in dist folder to avoid conflicts when publishing
21
+
22
+ ## [1.5.0-beta.6] - 2025-11-26
23
+
24
+ ### Fixed
25
+
26
+ - react-collapsed dependency: restored as regular dependency to ensure consuming projects have access to the library
27
+
28
+ ## [1.5.0-beta.5] - 2025-11-20
29
+
30
+ ### Changed
31
+
32
+ - Node version from 14 to 20
33
+
34
+ ## [1.5.0-beta.4] - 2025-11-20
35
+
36
+ ### Fixed
37
+
38
+ - Add mjs extension in plugins
39
+
40
+ ## [1.5.0-beta.3] - 2025-11-20
41
+
42
+ ### Fixed
43
+
44
+ - Error optional chain with plugins
45
+
46
+ ## [1.5.0-beta.2] - 2025-11-14
47
+
48
+ ### Fixed
49
+
50
+ - react-collapsed dependency conflict: moved from peerDependencies to dependencies and bundled to avoid version conflicts with consuming projects
51
+
52
+ ### Changed
53
+
54
+ - react-collapsed: now bundled within ui-web to prevent conflicts with projects using different versions (v3.x vs v4.x)
55
+ - rollup config: excludes bundled dependencies (react-collapsed) from dist/package.json
56
+
57
+ ## [1.5.0-beta.1] - 2025-11-14
58
+
59
+ ### Fixed
60
+
61
+ - Webpack 5 compatibility: added explicit `require` mapping in package.json exports field
62
+ - Peer dependencies version conflicts: updated React/React-DOM to support `^16.8.0 || ^17.0.0 || ^18.0.0` (previously `>= 17.x` syntax was invalid)
63
+
64
+ ### Changed
65
+
66
+ - package.json: added `module` field for better tree-shaking support
67
+ - package.json exports: now provides both `import` (ESM) and `require` (CommonJS) mappings
68
+ - rollup config: dist/package.json now includes `module` and `exports` fields for consistency
69
+ - GitHub Actions workflows: updated Node.js versions from 12.x/14.x (EOL) to 18.x/20.x (LTS)
70
+ - GitHub Actions: updated all action versions from v1/v2 to v4
71
+ - GitHub Actions: added yarn cache to improve CI/CD performance
72
+
73
+ ### Added
74
+
75
+ - npm-publish-beta workflow for pre-release tags (_-beta_, _-alpha_, _-rc_)
76
+
77
+ ## [1.4.0] - 2025-11-12
78
+
79
+ ### Added
80
+
81
+ - Collapser component and associated styles and stories
82
+ - react-collapsed dependency
83
+ - isFunction utility exported from utils
84
+
85
+ ### Changed
86
+
87
+ - Storybook config updated to support .mjs files
88
+ - components index updated to export Collapser
89
+
90
+ ## [1.3.0] - 2025-10-29
91
+
92
+ ### Added
93
+
94
+ - Map/InfoWindow: support `markerOptions.infoWindowOptions.position { x, y }` to set pixelOffset
95
+
96
+ ## [1.2.0] - 2025-10-16
97
+
98
+ ### Changed
99
+
100
+ - Validations for valid values in Progress bar
101
+
102
+ ## [1.1.0] - 2025-10-08
103
+
104
+ ### Added
105
+
106
+ - markerData variable passed as argument to infoWindowContent function
107
+
108
+ ## [1.0.0] - 2025-10-07
109
+
110
+ ### Added
111
+
112
+ - Story data `MarkersWithInfoWindow` example in Map stories
113
+ - `infoWindowOpen` support in `Marker` via `markerData`
114
+ - `markerOptions.onInfoWindowChange` and InfoWindow mouse enter/leave handlers
115
+
116
+ ### Changed
117
+
118
+ - Moved InfoWindow open/close logic from `Marker` to `Markers` with debounced hover behavior **BREAKING CHANGE** 🚨
119
+ - Updated `Map.stories.js` to include `WithInfoWindowTemplate` and control example
120
+
121
+ ## [0.45.0] - 2025-09-30
122
+
123
+ ### Added
124
+
125
+ - ProgressBar component with animated fill and accessibility attributes
126
+ - Storybook stories for ProgressBar
127
+
128
+ ### Removed
129
+
130
+ - maxWidth in Chip component
131
+
132
+ ## [0.44.0] - 2025-08-18
133
+
134
+ ### Changed
135
+
136
+ - Round closeButton at Drawer
137
+
138
+ ## [0.43.0] - 2025-07-28
139
+
140
+ ### Added
141
+
142
+ - icon verified
143
+
144
+ ## [0.42.0] - 2025-06-03
145
+
146
+ ### Changed
147
+
148
+ - New logos of Janis Commerce
149
+
150
+ ## [0.41.2] - 2025-05-23
151
+
152
+ ### Fixed
153
+
154
+ - main key in rollback config
155
+
156
+ ## [0.41.1] - 2025-05-23
157
+
158
+ ### Changed
159
+
160
+ - Rollback export
161
+
162
+ ### Removed
163
+
164
+ - axios library
165
+
166
+ ## [0.41.0] - 2025-05-23
167
+
168
+ ### Changed
169
+
170
+ - Updated build configuration and export setup
171
+ - Fixed dist folder configuration in rollup build
172
+ - Improved build command configuration
173
+
174
+ ### Removed
175
+
176
+ - Removed axios dependency from package.json
177
+ - Removed preinstall script functionality
178
+
179
+ ### Fixed
180
+
181
+ - Fixed export configuration in rollup build setup
182
+ - Fixed build process for better package distribution
183
+
184
+ ## [0.40.1] - 2025-05-21
185
+
186
+ ### Fixed
187
+
188
+ - stop animation fn on hover marker
189
+
190
+ ## [0.40.0] - 2025-05-13
191
+
192
+ ### Added
193
+
194
+ - startAnimation and stopAnimation functions
195
+ - zIndex prop
196
+
197
+ ### CHANGED
198
+
199
+ - onDragEnd, onMouseOver and onMouseOut event functions
200
+
201
+ ## [0.39.0] - 2025-05-13
202
+
203
+ ### Added
204
+
205
+ - Enhanced map markers with animation support, including the ability to specify animation duration for each marker. Markers now animate automatically when added to the map.
206
+
207
+ ## [0.38.0] - 2025-05-08
208
+
209
+ ### ADDED
210
+
211
+ - forwardRef, useImperativeHandle and useEffect for set bounds and zoom in Map component
212
+
213
+ ### REMOVED
214
+
215
+ - getCenterByGeolocationOrCenter, getGeolocationCoordinates map utils
216
+
217
+ ## [0.37.0] - 2025-05-02
218
+
219
+ ### Removed
220
+
221
+ - Prop iconSize to chip and format styles
222
+
223
+ ## [0.36.0] - 2025-04-30
224
+
225
+ ### Added
226
+
227
+ - Prop iconSize to chip and format styles
228
+
229
+ ## [0.35.0] - 2025-04-24
230
+
231
+ ### Added
232
+
233
+ - function to update marker in Map component
234
+
235
+ ## [0.34.0] - 2025-04-15
236
+
237
+ ### Added
238
+
239
+ - callback onDrag on Marker component
240
+
241
+ ## [0.33.0] - 2025-04-10
242
+
243
+ ### Added
244
+
245
+ - Memo for markers
246
+ - OnLoad cb on markers
247
+
248
+ ## [0.32.0] - 2025-04-03
249
+
250
+ ### Added
251
+
252
+ - markerOptions in map component
253
+
254
+ ## [0.31.0] - 2025-03-14
255
+
256
+ ### Added
257
+
258
+ - Full loader component
259
+ - Spinner loader component
260
+
261
+ ## [0.30.0] - 2025-03-06
262
+
263
+ ### Added
264
+
265
+ - Options prop to map
266
+
267
+ ## [0.29.1] - 2025-02-26
268
+
269
+ ### Fixed
270
+
271
+ - Center of map component
272
+
273
+ ## [0.29.0] - 2025-02-21
274
+
275
+ ### Removed
276
+
277
+ - Api direction from map Components
278
+
279
+ ## [0.28.7] - 2025-02-18
280
+
281
+ ### Changed
282
+
283
+ - Downgrade react version to 17
284
+
285
+ ## [0.28.6] - 2025-02-18
286
+
287
+ ### Fixed
288
+
289
+ - version of react-google-map/api to 2.7.0 to avoid error of jsx-runtime
290
+
291
+ ### Changed
292
+
293
+ - Downgrade react version to 16
294
+
295
+ ## [0.28.5] - 2025-02-13
296
+
297
+ ### Removed
298
+
299
+ - script preinstall
300
+
301
+ ## [0.28.4] - 2025-02-13
302
+
303
+ ### Fixed
304
+
305
+ - script preinstall
306
+
307
+ ## [0.28.3] - 2025-02-13
308
+
309
+ ### Fixed
310
+
311
+ - deploy storybooks
312
+ - script preinstall
313
+
314
+ ## [0.28.2] - 2025-02-13
315
+
316
+ ### Fixed
317
+
318
+ - Script preinstall copy
319
+
320
+ ## [0.28.1] - 2025-02-13
321
+
322
+ ### Fixed
323
+
324
+ - Import map component
325
+ - Script preinstall
326
+
327
+ ## [0.28.0] - 2025-02-12
328
+
329
+ ### Added
330
+
331
+ - nvm file
332
+ - script to check installation command to avoid npm install
333
+ - Map component
334
+
335
+ ## [0.27.1] - 2024-12-04
336
+
337
+ ### Fixed
338
+
339
+ - Path export for icons.json
340
+
341
+ ## [0.27.0] - 2024-12-04
342
+
343
+ ### Added
344
+
345
+ - New icon
346
+ - Export all icons
347
+
348
+ ## [0.26.0] - 2024-11-12
349
+
350
+ ### Added
351
+
352
+ - New icon for filters
353
+
354
+ ## [0.25.0] - 2024-10-14
355
+
356
+ ### Changed
357
+
358
+ - rollup config to avoid errors with new version of react
359
+
360
+ ## [0.24.0] - 2024-10-10
361
+
362
+ ### Fixed
363
+
364
+ - export skeleton component
365
+
366
+ ### Changed
367
+
368
+ - revert new docs to avoid publish error
369
+ - switch styles in components utils
370
+
371
+ ## [0.23.0] - 2024-10-04
372
+
373
+ ### Changed
374
+
375
+ - peer dependencies version of packages
376
+
377
+ ## [0.22.0] - 2024-09-25
378
+
379
+ ### Changed
380
+
381
+ - minor version of react and react dom in peer dependencies
382
+
383
+ ## [0.21.0] - 2024-09-24
384
+
385
+ ### Added
386
+
387
+ - export palette colors
388
+
389
+ ### Changed
390
+
391
+ - viewPalette to palette name
392
+
393
+ ## [0.20.0] - 2024-08-27
394
+
395
+ ### Added
396
+
397
+ - Color darkblue and magenta
398
+
399
+ ### Changed
400
+
401
+ - Styles of documentation
402
+
403
+ ## [0.19.0] - 2024-07-10
404
+
405
+ ### Added
406
+
407
+ - color lightTurquoise to palette
408
+
409
+ ## [0.18.0] - 2024-05-31
410
+
411
+ ### Added
412
+
413
+ - new color in palette
414
+
415
+ ## [0.17.0] - 2024-05-27
416
+
417
+ ### Added
418
+
419
+ - Component AvatarGroup
420
+
421
+ ## [0.16.0] - 2024-04-26
422
+
423
+ ### Added
424
+
425
+ - action to deploy storybooks
426
+ - Icon drag and drop
427
+
428
+ ## [0.15.0] - 2024-04-22
429
+
430
+ ### Added
431
+
432
+ - New colors in theme
433
+
434
+ ## [0.14.0] - 2024-04-22
435
+
436
+ ### Added
437
+
438
+ - New colors in theme
439
+
440
+ ## [0.13.0] - 2024-03-09
441
+
442
+ ### Removed
443
+
444
+ - util to get color in InitialAvatar
445
+
446
+ ### Changed
447
+
448
+ - MainColor prop, now accept hex color
449
+
450
+ ## [0.12.0] - 2024-03-08
451
+
452
+ ### Added
453
+
454
+ - Component Avatar
455
+
456
+ ## [0.11.0] - 2024-03-21
457
+
458
+ ### Added
459
+
460
+ - Props component documentation
461
+
462
+ ## [0.10.0] - 2024-03-12
463
+
464
+ ### Added
465
+
466
+ - Added Drawer component
467
+
468
+ ## [0.9.1] - 2024-02-29
469
+
470
+ ### Fixed
471
+
472
+ - Fixed fontcolor of buttons
473
+
474
+ ## [0.9.0] - 2024-02-19
475
+
476
+ ### Changed
477
+
478
+ - Changed icon in storybooks
479
+ - Changed button theme
480
+ - Changed Unified themes
481
+ - Changed Button and Icon Test
482
+
483
+ ### Removed
484
+
485
+ - Removed unused theme in favor to views actual theme
486
+
487
+ ### Added
488
+
489
+ - Added controls in storybooks
490
+
491
+ ## [0.8.0] - 2024-01-23
492
+
493
+ ### Changed
494
+
495
+ - Changed Button to use Icon component
496
+
497
+ ## [0.7.3] - 2022-12-04
498
+
499
+ ### Fixed
500
+
501
+ - Fixed postpublish script permission
502
+
503
+ ## [0.7.2] - 2022-12-04
504
+
505
+ ### Fixed
506
+
507
+ - Fixed postpublish script
508
+
509
+ ## [0.7.1] - 2022-12-04
510
+
511
+ ### Fixed
512
+
513
+ - Fixed path postpublish script
514
+
515
+ ## [0.7.0] - 2022-12-04
516
+
517
+ ### Added
518
+
519
+ - Added slack notification
520
+
521
+ ## [0.6.2] - 2022-12-04
522
+
523
+ ### Fixed
524
+
525
+ - Fixed height of component Chip
526
+
527
+ ## [0.6.1] - 2022-11-29
528
+
529
+ ### Fixed
530
+
531
+ - Fixed validation chip when has icon and not children
532
+
533
+ ## [0.6.0] - 2022-11-27
534
+
535
+ ### Removed
536
+
537
+ - Removed repeated styles in Color component
538
+
539
+ ## [0.5.0] - 2022-10-24
540
+
541
+ ### Added
542
+
543
+ - Added peer dependencies to add styled components
544
+
545
+ ### Removed
546
+
547
+ - Removed script post-install
548
+ - Removed hasText prop from Chip component
549
+
550
+ ## [0.4.0] - 2022-03-14
551
+
552
+ ### Removed
553
+
554
+ - Removed prop styles for chip component
555
+
556
+ ## [0.3.0] - 2022-09-29
557
+
558
+ ### Changed
559
+
560
+ - Remove validation for internal link
561
+
562
+ ## [0.2.1] - 2022-09-29
563
+
564
+ ### Fixed
565
+
566
+ - add export for Link component
567
+
568
+ ## [0.2.0] - 2022-09-29
569
+
570
+ ### Changed
571
+
572
+ - revert button removing link props
573
+ - revert Link removing react router link
574
+
575
+ ## [0.1.0] - 2022-09-16
576
+
577
+ ### Added
578
+
579
+ - Add link prop in chip component
580
+
581
+ ## [0.0.15] - 2022-07-26
582
+
583
+ ### Added
584
+
585
+ - Add Input and Textarea components
586
+ - Add Image component
587
+ - Add QRCode component
588
+ - Add ColorPicker component
589
+ - Add HTML component
590
+ - Add tests for global utils
591
+
592
+ ### Changed
593
+
594
+ - Changes in Chip component properties
595
+
596
+ ### Fixed
597
+
598
+ - Fix textarea error height
599
+
600
+ ## [0.0.14] - 2022-06-11
601
+
602
+ - Fix publish package to npm bugs. From 0.0.3 to 0.0.14
603
+
604
+ ## [0.0.2] - 2022-06-11
605
+
606
+ ### Fixed
607
+
608
+ - Fix github action error with storybook
609
+
610
+ ## [0.0.1] - 2022-06-11
611
+
612
+ ### Added
613
+
614
+ - Add Checkbox component
615
+ - Add Switch component
616
+ - Add Button component
617
+ - Add Icon component
618
+ - Add Color component
619
+ - Add Chip component
620
+ - Add base config for make, test and document a react components
621
+ - Add base config rollup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@janiscommerce/ui-web",
3
- "version": "1.5.0-beta.6",
3
+ "version": "1.5.0-beta.8",
4
4
  "description": "",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.esm.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "homepage": "https://github.com/janis-commerce/ui-web#readme",
37
37
  "engines": {
38
- "node": ">=20.0.0",
38
+ "node": ">=14.0.0",
39
39
  "yarn": ">=1.22.0"
40
40
  },
41
41
  "devDependencies": {
package/dist/package.json DELETED
@@ -1,35 +0,0 @@
1
- {
2
- "main": "index.umd.js",
3
- "module": "index.esm.js",
4
- "exports": {
5
- ".": {
6
- "import": "./index.esm.js",
7
- "require": "./index.umd.js"
8
- }
9
- },
10
- "name": "@janiscommerce/ui-web",
11
- "homepage": "https://github.com/janis-commerce/ui-web#readme",
12
- "bugs": {
13
- "url": "https://github.com/janis-commerce/ui-web/issues"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/janis-commerce/ui-web.git"
18
- },
19
- "version": "1.5.0-beta.6",
20
- "dependencies": {
21
- "@mapbox/polyline": "^1.1.1",
22
- "@react-google-maps/api": "2.7.0",
23
- "prop-types": "^15.7.2",
24
- "qrcode.react": "^3.0.2",
25
- "react-collapsed": "^4.2.0",
26
- "react-colorful": "^5.5.1",
27
- "react-frame-component": "^5.2.3",
28
- "svgpath": "^2.5.0"
29
- },
30
- "peerDependencies": {
31
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
32
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
33
- "styled-components": ">= 5.3.0"
34
- }
35
- }