@janiscommerce/ui-web 1.3.0 → 1.5.0-beta.1

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