@janiscommerce/ui-web 1.4.0 → 1.5.0-beta.2

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