@saas-ui/forms 3.0.0-next.4 → 3.0.0-next.40

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 DELETED
@@ -1,1722 +0,0 @@
1
- # @saas-ui/forms
2
-
3
- ## 3.0.0-next.4
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [e86d242]
8
- - @saas-ui/react@3.0.0-next.4
9
-
10
- ## 3.0.0-next.3
11
-
12
- ### Patch Changes
13
-
14
- - Updated dependencies [860649d]
15
- - @saas-ui/react@3.0.0-next.3
16
- - @saas-ui/core@3.0.0-next.1
17
-
18
- ## 3.0.0-next.2
19
-
20
- ### Patch Changes
21
-
22
- - Updated dependencies [ec22a57]
23
- - Updated dependencies [928abff]
24
- - Updated dependencies [26f5452]
25
- - @saas-ui/react@3.0.0-next.2
26
-
27
- ## 3.0.0-next.1
28
-
29
- ### Patch Changes
30
-
31
- - Updated dependencies [f13c1ce]
32
- - @saas-ui/react@3.0.0-next.1
33
-
34
- ## 3.0.0-next.0
35
-
36
- ### Major Changes
37
-
38
- - 78e70fb: New useForm hook that returns typed form components
39
- - 550e5a6: Upgrade to Chakra v3
40
- - b51aff9: BREAKING: getBaseField should now return props and Component
41
-
42
- ### Minor Changes
43
-
44
- - 95c8652: Update to Chakra UI 3.2.1
45
- - 6459de4: Removed src exports and files from packages
46
-
47
- ### Patch Changes
48
-
49
- - 38082d4: Improved horizontal field styles
50
- - b51aff9: Improved prop handling of base field
51
- - cee2e9c: Removed chakra ui dependency of core package
52
- - 56b0623: Update with upstream changes
53
- - Updated dependencies [ba3b566]
54
- - Updated dependencies [e9fec88]
55
- - Updated dependencies [2285040]
56
- - Updated dependencies [64e680e]
57
- - Updated dependencies [53716c5]
58
- - Updated dependencies [5115e8f]
59
- - Updated dependencies [212a7e6]
60
- - Updated dependencies [38082d4]
61
- - Updated dependencies [8d8ffaa]
62
- - Updated dependencies [c680574]
63
- - Updated dependencies [c680574]
64
- - Updated dependencies [f62c3d6]
65
- - Updated dependencies [942e9a0]
66
- - Updated dependencies [f85d493]
67
- - Updated dependencies [8d8ffaa]
68
- - Updated dependencies [a2ef175]
69
- - Updated dependencies [eb02362]
70
- - Updated dependencies [53716c5]
71
- - Updated dependencies [205580d]
72
- - Updated dependencies [7808a76]
73
- - Updated dependencies [e7fe684]
74
- - Updated dependencies [f85d493]
75
- - Updated dependencies [c680574]
76
- - Updated dependencies [c680574]
77
- - Updated dependencies [b51aff9]
78
- - Updated dependencies [212a7e6]
79
- - Updated dependencies [550e5a6]
80
- - Updated dependencies [ce8c247]
81
- - Updated dependencies [19309d4]
82
- - Updated dependencies [ce8c247]
83
- - Updated dependencies [ce8c247]
84
- - Updated dependencies [c680574]
85
- - Updated dependencies [ba3b566]
86
- - Updated dependencies [95c8652]
87
- - Updated dependencies [6a8bf46]
88
- - Updated dependencies [eb02362]
89
- - Updated dependencies [ac2d80d]
90
- - Updated dependencies [0067207]
91
- - Updated dependencies [b51aff9]
92
- - Updated dependencies [cee2e9c]
93
- - Updated dependencies [205580d]
94
- - Updated dependencies [ba3b566]
95
- - Updated dependencies [8e760c5]
96
- - Updated dependencies [56b0623]
97
- - Updated dependencies [6a8bf46]
98
- - Updated dependencies [15e093e]
99
- - Updated dependencies [8d8ffaa]
100
- - Updated dependencies [c680574]
101
- - Updated dependencies [8ac704a]
102
- - Updated dependencies [6f9f04d]
103
- - Updated dependencies [eb02362]
104
- - Updated dependencies [6459de4]
105
- - Updated dependencies [56b0623]
106
- - Updated dependencies [c51e12c]
107
- - Updated dependencies [0067207]
108
- - Updated dependencies [0f49a18]
109
- - Updated dependencies [8d8ffaa]
110
- - Updated dependencies [65fac53]
111
- - Updated dependencies [61ce1b5]
112
- - Updated dependencies [3a73bc8]
113
- - Updated dependencies [9d47676]
114
- - Updated dependencies [64e680e]
115
- - Updated dependencies [2285040]
116
- - Updated dependencies [ba3b566]
117
- - Updated dependencies [8d8ffaa]
118
- - Updated dependencies [f0f5ab0]
119
- - Updated dependencies [19309d4]
120
- - Updated dependencies [727b902]
121
- - @saas-ui/react@3.0.0-next.0
122
- - @saas-ui/core@3.0.0-next.0
123
-
124
- ## 2.11.0
125
-
126
- ### Minor Changes
127
-
128
- - 091fd38: Exported additional types from `index.ts` to make them accessible for external use, improving type coverage and usability.
129
-
130
- ## 2.10.0
131
-
132
- ### Minor Changes
133
-
134
- - eb53116: Added support for ZodEffects schema to Form
135
-
136
- ## 2.9.1
137
-
138
- ### Patch Changes
139
-
140
- - 862937a: Bump chakra version
141
- - Updated dependencies [862937a]
142
- - @saas-ui/core@2.8.1
143
-
144
- ## 2.9.0
145
-
146
- ### Minor Changes
147
-
148
- - 803ede7: Updated Chakra UI version range to >=2.9.0 <3
149
-
150
- ### Patch Changes
151
-
152
- - Updated dependencies [803ede7]
153
- - @saas-ui/core@2.8.0
154
-
155
- ## 2.8.2
156
-
157
- ### Patch Changes
158
-
159
- - Updated dependencies [c9daf50]
160
- - @saas-ui/core@2.7.2
161
-
162
- ## 2.8.1
163
-
164
- ### Patch Changes
165
-
166
- - Updated dependencies [5e24ec4]
167
- - @saas-ui/core@2.7.1
168
-
169
- ## 2.8.0
170
-
171
- ### Minor Changes
172
-
173
- - fc799df: Removed deprecated Chakra UI dependency
174
-
175
- ### Patch Changes
176
-
177
- - Updated dependencies [fc799df]
178
- - @saas-ui/core@2.7.0
179
-
180
- ## 2.7.1
181
-
182
- ### Patch Changes
183
-
184
- - f0ee3db: Updated to Chakra 2.10
185
- - Updated dependencies [f0ee3db]
186
- - @saas-ui/core@2.6.1
187
-
188
- ## 2.7.0
189
-
190
- ### Minor Changes
191
-
192
- - 2ac496a: Upgraded to Chakra UI v2.9.3
193
-
194
- ### Patch Changes
195
-
196
- - Updated dependencies [2ac496a]
197
- - @saas-ui/core@2.6.0
198
-
199
- ## 2.6.11
200
-
201
- ### Patch Changes
202
-
203
- - @saas-ui/core@2.5.6
204
-
205
- ## 2.6.10
206
-
207
- ### Patch Changes
208
-
209
- - fc2203a: Fixed issue where custom base field would trigger additional re-render and loose field focus
210
-
211
- ## 2.6.9
212
-
213
- ### Patch Changes
214
-
215
- - df5d37f: feat(forms): get types for optional, map options for NativeEnum, map …
216
-
217
- ## 2.6.8
218
-
219
- ### Patch Changes
220
-
221
- - fc62212: Fixed type of formRef to accept ref function handler
222
-
223
- ## 2.6.7
224
-
225
- ### Patch Changes
226
-
227
- - 02cac87: Updated dependencies
228
- - Updated dependencies [02cac87]
229
- - @saas-ui/core@2.5.5
230
-
231
- ## 2.6.6
232
-
233
- ### Patch Changes
234
-
235
- - Updated dependencies [12c35ea]
236
- - Updated dependencies [b61ff73]
237
- - @saas-ui/core@2.5.4
238
-
239
- ## 2.6.5
240
-
241
- ### Patch Changes
242
-
243
- - 29c6fea: Fixed issue where hideLabel would not be passed to base field
244
- - b6ce1bf: Fixed return type of useFormContext
245
-
246
- ## 2.6.4
247
-
248
- ### Patch Changes
249
-
250
- - 4c03ddb: Added support for horizontal form fields
251
- - @saas-ui/core@2.5.3
252
-
253
- ## 2.6.3
254
-
255
- ### Patch Changes
256
-
257
- - 5a334e2: Fixed issue where hideLabel prop would be passed to input
258
- - 1cc3e3b: FormLayout now supports theming
259
- - Updated dependencies [69f5e66]
260
- - @saas-ui/core@2.5.2
261
-
262
- ## 2.6.2
263
-
264
- ### Patch Changes
265
-
266
- - 5fb8082: Fixed issue where isInvalid would not be passed down to form control
267
- - Updated dependencies [5fb8082]
268
- - Updated dependencies [d94ccec]
269
- - Updated dependencies [d94ccec]
270
- - Updated dependencies [06ec4b6]
271
- - Updated dependencies [1ff54a2]
272
- - @saas-ui/core@2.5.1
273
-
274
- ## 2.6.1
275
-
276
- ### Patch Changes
277
-
278
- - b110d4a: Fixed select field not accepting multiple prop
279
-
280
- ## 2.6.0
281
-
282
- ### Minor Changes
283
-
284
- - 9fe1899: Improved Select types, value type is now string or string[] depending on the multiple prop
285
-
286
- ### Patch Changes
287
-
288
- - Updated dependencies [e75e99b]
289
- - Updated dependencies [e75e99b]
290
- - @saas-ui/core@2.5.0
291
-
292
- ## 2.5.4
293
-
294
- ### Patch Changes
295
-
296
- - Bump version
297
-
298
- ## 2.5.3
299
-
300
- ### Patch Changes
301
-
302
- - ca911e4: Removed lost console.log
303
- - 0a218fd: Added time Field type
304
- - 0a218fd: Fixed issue where Field types would not be inferred
305
- - Updated dependencies [20c7175]
306
- - Updated dependencies [ca911e4]
307
- - @saas-ui/core@2.4.4
308
-
309
- ## 2.5.2
310
-
311
- ### Patch Changes
312
-
313
- - d77a5b3: Fixed circular dependency issue
314
- - Updated dependencies [d77a5b3]
315
- - @saas-ui/core@2.4.3
316
-
317
- ## 2.5.1
318
-
319
- ### Patch Changes
320
-
321
- - Updated dependencies
322
- - @saas-ui/core@2.4.2
323
-
324
- ## 2.5.0
325
-
326
- ### Minor Changes
327
-
328
- - Improved forms to support a global base field override
329
-
330
- ## 2.4.1
331
-
332
- ### Patch Changes
333
-
334
- - Updated dependencies [0778d23]
335
- - Updated dependencies [7db4aee]
336
- - @saas-ui/core@2.4.1
337
-
338
- ## 2.4.0
339
-
340
- ### Minor Changes
341
-
342
- - 73d09d9: Added support for leftAddon and rightAddon on number input types
343
- - efca417: Improved ObjectSchema type definitions to be more strict and inherit correct field type props
344
-
345
- ### Patch Changes
346
-
347
- - Updated dependencies [4a95712]
348
- - Updated dependencies [4a95712]
349
- - @saas-ui/core@2.4.0
350
-
351
- ## 2.3.12
352
-
353
- ### Patch Changes
354
-
355
- - 2e7da38: Updated dependencies
356
- - da5167a: Fixed issue where submit field props were not passed down correctly
357
- - Updated dependencies [2e7da38]
358
- - @saas-ui/core@2.3.6
359
-
360
- ## 2.3.11
361
-
362
- ### Patch Changes
363
-
364
- - 29e5c317: Fixed issue where submit label could not be overwritten using the fields prop
365
-
366
- ## 2.3.10
367
-
368
- ### Patch Changes
369
-
370
- - 52e7490c: Fixed issue where theming props would be forwarded to form layout element
371
- - Updated dependencies [afb87d86]
372
- - @saas-ui/core@2.3.5
373
-
374
- ## 2.3.9
375
-
376
- ### Patch Changes
377
-
378
- - 2f170bf7: Fixed issue where SubmitButton theming props could not be overwritten with AutoForm
379
- - Updated dependencies [aa3c97a0]
380
- - @saas-ui/core@2.3.4
381
-
382
- ## 2.3.8
383
-
384
- ### Patch Changes
385
-
386
- - bc176848: Fixed issue where Select button and input would have the same id
387
- - bc176848: Fixed issue where Form context would not be available
388
- - 90ee13c3: Refactored exports
389
- - Updated dependencies [90ee13c3]
390
- - @saas-ui/core@2.3.3
391
-
392
- ## 2.3.7
393
-
394
- ### Patch Changes
395
-
396
- - Updated dependencies [bbd692d4]
397
- - Updated dependencies [781a1c26]
398
- - @saas-ui/core@2.3.2
399
-
400
- ## 2.3.6
401
-
402
- ### Patch Changes
403
-
404
- - Updated dependencies [c0f203bf]
405
- - @saas-ui/core@2.3.1
406
-
407
- ## 2.3.5
408
-
409
- ### Patch Changes
410
-
411
- - Updated dependencies [8782a76b]
412
- - Updated dependencies [8782a76b]
413
- - Updated dependencies [8782a76b]
414
- - Updated dependencies [8782a76b]
415
- - Updated dependencies [8782a76b]
416
- - Updated dependencies [8782a76b]
417
- - Updated dependencies [78bc41d0]
418
- - Updated dependencies [8782a76b]
419
- - Updated dependencies [8782a76b]
420
- - @saas-ui/core@2.3.0
421
-
422
- ## 2.3.4
423
-
424
- ### Patch Changes
425
-
426
- - @saas-ui/core@2.2.4
427
-
428
- ## 2.3.3
429
-
430
- ### Patch Changes
431
-
432
- - d5ca55e4: Fixed issue where SubmitButton would not properties from form fields prop
433
- - Updated dependencies [d5ca55e4]
434
- - @saas-ui/core@2.2.3
435
-
436
- ## 2.3.2
437
-
438
- ### Patch Changes
439
-
440
- - Updated dependencies [491315aa]
441
- - @saas-ui/core@2.2.2
442
-
443
- ## 2.3.1
444
-
445
- ### Patch Changes
446
-
447
- - Updated dependencies [3ddca73d]
448
- - @saas-ui/core@2.2.1
449
-
450
- ## 2.3.0
451
-
452
- ### Minor Changes
453
-
454
- - 68995558: Added new onToggle prop to DisplayIf
455
- - a3180b02: Removed all Component.defaultProps definitions
456
-
457
- ### Patch Changes
458
-
459
- - Updated dependencies [31d05ed5]
460
- - Updated dependencies [dddb3d1a]
461
- - Updated dependencies [ebba8404]
462
- - Updated dependencies [91412d77]
463
- - Updated dependencies [a3180b02]
464
- - Updated dependencies [91412d77]
465
- - @saas-ui/core@2.2.0
466
-
467
- ## 2.2.1
468
-
469
- ### Patch Changes
470
-
471
- - 1c64bfaf: Fixed issue where Zod or Yup schemas would not validate in FormDialog
472
- - Updated dependencies [4a3c9dc7]
473
- - @saas-ui/core@2.1.3
474
-
475
- ## 2.2.0
476
-
477
- ### Minor Changes
478
-
479
- - 87fcdc2c: FormLayout no longer renders each child in a wrapper div
480
-
481
- ### Patch Changes
482
-
483
- - 9ad407a7: Zod schema enum types now render a Select by default
484
- - 654ad186: Fixed issue where Field would not infer correct onChange handler
485
- - 87fcdc2c: Fixed issue where not all StepForm data would be passed to onSubmit
486
- - 9ad407a7: ZodForm now infers defaultValues from the schema
487
- - be52e785: Fixed issue where placeholder would not be passed to the NumberInputField
488
-
489
- ## 2.1.3
490
-
491
- ### Patch Changes
492
-
493
- - Updated dependencies [e13ae4cd]
494
- - @saas-ui/core@2.1.2
495
-
496
- ## 2.1.2
497
-
498
- ### Patch Changes
499
-
500
- - Fixed all packages index to use named exports
501
- - @saas-ui/core@2.1.1
502
-
503
- ## 2.1.1
504
-
505
- ### Patch Changes
506
-
507
- - 96b0a058: Fixed select button sizes
508
-
509
- ## 2.1.0
510
-
511
- ### Minor Changes
512
-
513
- - 5a384c28: Updated to Chakra UI 2.8.0
514
-
515
- ### Patch Changes
516
-
517
- - Updated dependencies [5a384c28]
518
- - @saas-ui/core@2.1.0
519
-
520
- ## 2.0.5
521
-
522
- ### Patch Changes
523
-
524
- - Updated dependencies [493a548a]
525
- - Updated dependencies [9e848077]
526
- - @saas-ui/core@2.0.3
527
-
528
- ## 2.0.4
529
-
530
- ### Patch Changes
531
-
532
- - 3b5567c6: Fixed issue where StepForm would not render custom fields
533
-
534
- ## 2.0.3
535
-
536
- ### Patch Changes
537
-
538
- - 8c7ee0be: Fixed issue where custom StepForm field types would not propagate.
539
-
540
- ## 2.0.2
541
-
542
- ### Patch Changes
543
-
544
- - 93736bed: Export createZodStepForm from form package
545
- - Updated dependencies [268fa240]
546
- - @saas-ui/core@2.0.2
547
-
548
- ## 2.0.1
549
-
550
- ### Patch Changes
551
-
552
- - Updated dependencies [9b609119]
553
- - @saas-ui/core@2.0.1
554
-
555
- ## 2.0.0
556
-
557
- ### Major Changes
558
-
559
- - d7c87a31: Moved form resolvers into a separate package.
560
- - 532011d6: Restructured the Select component to make it atomic, the new composition is Select, SelectButton, SelectList and SelectOption.
561
- - 8b82d945: Removed button package.
562
- - f1e99198: Restructured packages.
563
- - 39e778d8: Form will now render AutoField by default when no children are passed.
564
-
565
- ### Minor Changes
566
-
567
- - 532011d6: Select can now supports theming using the SuiSelect theme config.
568
- - a8ea24da: PasswordInput now accepts leftAddon property.
569
- - 046e42b8: Updated to Chakra UI 2.7
570
- - 2d18cdc2: New createFormDialog function to create Zod or Yup specific FormDialogs
571
- - a9ca90dd: Updated to Chakra UI 2.6.x
572
- - 6dd737ce: Select field now renders invalid state.
573
- - c85541cb: AutoForm field props can now be overridden using the fields prop on Form
574
-
575
- ### Patch Changes
576
-
577
- - 84e59fec: Form render prop Field now supports ref
578
- - d725a5da: Fix esm bundle import
579
- - 6d3f5717: Fix React import
580
- - d725a5da: Bump version
581
- - f1e99198: Migrated from microbundle to tsup for builds
582
- - 01ac442f: Fixed modal form handler type inference
583
- - a7ef6dd9: Fixed issue where types for exports were not detected
584
- - 6c63217c: object and array field props can now be overridden using the fields prop
585
- - d6e9a39d: Form fields overries types now support array and object type props
586
- - b5912297: Fix Select button overflow.
587
- - 0319aa57: Bump version
588
- - 166978bd: Fix esm bundle filename.
589
- - 5ac0e9ba: Fix issue where StepForm would not submit when subsequent fields are required.
590
- - Updated dependencies [189190c6]
591
- - Updated dependencies [1177329d]
592
- - Updated dependencies [e23790a8]
593
- - Updated dependencies [83f54180]
594
- - Updated dependencies [ba61612f]
595
- - Updated dependencies [e94ca3c0]
596
- - Updated dependencies [b8be6d41]
597
- - Updated dependencies [d725a5da]
598
- - Updated dependencies [70af3ead]
599
- - Updated dependencies [d725a5da]
600
- - Updated dependencies [e9258592]
601
- - Updated dependencies [a5898c44]
602
- - Updated dependencies [6193c47c]
603
- - Updated dependencies [83f54180]
604
- - Updated dependencies [046e42b8]
605
- - Updated dependencies [83f54180]
606
- - Updated dependencies [7052dad3]
607
- - Updated dependencies [e52f63fa]
608
- - Updated dependencies [61b27fa6]
609
- - Updated dependencies [7027d7c1]
610
- - Updated dependencies [0fda9fee]
611
- - Updated dependencies [a7ef6dd9]
612
- - Updated dependencies [83f54180]
613
- - Updated dependencies [0a11d7b6]
614
- - Updated dependencies [83f54180]
615
- - Updated dependencies [2b639656]
616
- - Updated dependencies [b895e5bd]
617
- - Updated dependencies [3a15e8c8]
618
- - Updated dependencies [76887bda]
619
- - Updated dependencies [76887bda]
620
- - Updated dependencies [27a68bca]
621
- - Updated dependencies [6236e117]
622
- - Updated dependencies [0319aa57]
623
- - Updated dependencies [76887bda]
624
- - Updated dependencies [826c561a]
625
- - Updated dependencies [166978bd]
626
- - @saas-ui/core@2.0.0
627
-
628
- ## 2.0.0-rc.32
629
-
630
- ### Patch Changes
631
-
632
- - b5912297: Fix Select button overflow.
633
- - Updated dependencies [70af3ead]
634
- - @saas-ui/core@2.0.0-rc.29
635
-
636
- ## 2.0.0-rc.31
637
-
638
- ### Patch Changes
639
-
640
- - Updated dependencies [e9258592]
641
- - @saas-ui/core@2.0.0-rc.28
642
-
643
- ## 2.0.0-rc.30
644
-
645
- ### Patch Changes
646
-
647
- - @saas-ui/core@2.0.0-rc.27
648
-
649
- ## 2.0.0-rc.29
650
-
651
- ### Patch Changes
652
-
653
- - Updated dependencies [0fda9fee]
654
- - @saas-ui/core@2.0.0-rc.26
655
-
656
- ## 2.0.0-rc.28
657
-
658
- ### Minor Changes
659
-
660
- - 046e42b8: Updated to Chakra UI 2.7
661
-
662
- ### Patch Changes
663
-
664
- - Updated dependencies [6193c47c]
665
- - Updated dependencies [046e42b8]
666
- - Updated dependencies [6236e117]
667
- - @saas-ui/core@2.0.0-rc.25
668
-
669
- ## 2.0.0-rc.27
670
-
671
- ### Patch Changes
672
-
673
- - d6e9a39d: Form fields overries types now support array and object type props
674
- - Updated dependencies [b895e5bd]
675
- - @saas-ui/core@2.0.0-rc.24
676
-
677
- ## 2.0.0-rc.26
678
-
679
- ### Patch Changes
680
-
681
- - Updated dependencies [e52f63fa]
682
- - @saas-ui/core@2.0.0-rc.23
683
-
684
- ## 2.0.0-rc.25
685
-
686
- ### Patch Changes
687
-
688
- - Updated dependencies [e23790a8]
689
- - @saas-ui/core@2.0.0-rc.22
690
-
691
- ## 2.0.0-rc.24
692
-
693
- ### Patch Changes
694
-
695
- - 5ac0e9ba: Fix issue where StepForm would not submit when subsequent fields are required.
696
- - @saas-ui/core@2.0.0-rc.21
697
-
698
- ## 2.0.0-rc.23
699
-
700
- ### Patch Changes
701
-
702
- - Bump version
703
- - Updated dependencies [7027d7c1]
704
- - Updated dependencies
705
- - @saas-ui/core@2.0.0-rc.20
706
-
707
- ## 2.0.0-rc.22
708
-
709
- ### Patch Changes
710
-
711
- - Updated dependencies [7027d7c1]
712
- - @saas-ui/core@2.0.0-rc.19
713
-
714
- ## 2.0.0-next.21
715
-
716
- ### Patch Changes
717
-
718
- - @saas-ui/core@2.0.0-next.18
719
-
720
- ## 2.0.0-next.20
721
-
722
- ### Minor Changes
723
-
724
- - a9ca90dd: Updated to Chakra UI 2.6.x
725
-
726
- ### Patch Changes
727
-
728
- - Updated dependencies [2b639656]
729
- - @saas-ui/core@2.0.0-next.17
730
-
731
- ## 2.0.0-next.19
732
-
733
- ### Patch Changes
734
-
735
- - @saas-ui/core@2.0.0-next.16
736
-
737
- ## 2.0.0-next.18
738
-
739
- ### Patch Changes
740
-
741
- - 01ac442f: Fixed modal form handler type inference
742
-
743
- ## 2.0.0-next.17
744
-
745
- ### Patch Changes
746
-
747
- - Updated dependencies [a5898c44]
748
- - @saas-ui/core@2.0.0-next.15
749
-
750
- ## 2.0.0-next.16
751
-
752
- ### Patch Changes
753
-
754
- - Updated dependencies [b8be6d41]
755
- - @saas-ui/core@2.0.0-next.14
756
-
757
- ## 2.0.0-next.15
758
-
759
- ### Minor Changes
760
-
761
- - 2d18cdc2: New createFormDialog function to create Zod or Yup specific FormDialogs
762
-
763
- ### Patch Changes
764
-
765
- - Updated dependencies [826c561a]
766
- - @saas-ui/core@2.0.0-next.13
767
-
768
- ## 2.0.0-next.14
769
-
770
- ### Patch Changes
771
-
772
- - Fix esm bundle import
773
- - Updated dependencies
774
- - @saas-ui/core@2.0.0-next.12
775
-
776
- ## 2.0.0-next.13
777
-
778
- ### Patch Changes
779
-
780
- - Bump version
781
- - 6c63217c: object and array field props can now be overridden using the fields prop
782
- - Updated dependencies
783
- - @saas-ui/core@2.0.0-next.11
784
-
785
- ## 2.0.0-next.12
786
-
787
- ### Patch Changes
788
-
789
- - a7ef6dd9: Fixed issue where types for exports were not detected
790
- - Updated dependencies [a7ef6dd9]
791
- - @saas-ui/core@2.0.0-next.10
792
-
793
- ## 2.0.0-next.11
794
-
795
- ### Patch Changes
796
-
797
- - @saas-ui/core@2.0.0-next.9
798
-
799
- ## 2.0.0-next.10
800
-
801
- ### Patch Changes
802
-
803
- - @saas-ui/core@2.0.0-next.8
804
-
805
- ## 2.0.0-next.9
806
-
807
- ### Patch Changes
808
-
809
- - 84e59fec: Form render prop Field now supports ref
810
- - Updated dependencies [189190c6]
811
- - Updated dependencies [1177329d]
812
- - @saas-ui/core@2.0.0-next.7
813
-
814
- ## 2.0.0-next.8
815
-
816
- ### Patch Changes
817
-
818
- - 6d3f5717: Fix React import
819
-
820
- ## 2.0.0-next.7
821
-
822
- ### Patch Changes
823
-
824
- - Updated dependencies [7052dad3]
825
- - @saas-ui/core@2.0.0-next.6
826
-
827
- ## 2.0.0-next.6
828
-
829
- ### Major Changes
830
-
831
- - 532011d6: Restructured the Select component to make it atomic, the new composition is Select, SelectButton, SelectList and SelectOption.
832
- - 39e778d8: Form will now render AutoField by default when no children are passed.
833
-
834
- ### Minor Changes
835
-
836
- - 532011d6: Select can now supports theming using the SuiSelect theme config.
837
- - 6dd737ce: Select field now renders invalid state.
838
- - c85541cb: AutoForm field props can now be overridden using the fields prop on Form
839
-
840
- ## 2.0.0-next.5
841
-
842
- ### Minor Changes
843
-
844
- - a8ea24da: PasswordInput now accepts leftAddon property.
845
-
846
- ### Patch Changes
847
-
848
- - Updated dependencies [61b27fa6]
849
- - @saas-ui/core@2.0.0-next.5
850
-
851
- ## 2.0.0-next.4
852
-
853
- ### Patch Changes
854
-
855
- - Updated dependencies [83f54180]
856
- - Updated dependencies [ba61612f]
857
- - Updated dependencies [83f54180]
858
- - Updated dependencies [83f54180]
859
- - Updated dependencies [83f54180]
860
- - Updated dependencies [83f54180]
861
- - Updated dependencies [27a68bca]
862
- - @saas-ui/core@2.0.0-next.4
863
-
864
- ## 2.0.0-next.3
865
-
866
- ### Patch Changes
867
-
868
- - @saas-ui/core@2.0.0-next.3
869
-
870
- ## 2.0.0-next.2
871
-
872
- ### Patch Changes
873
-
874
- - Updated dependencies [0a11d7b6]
875
- - Updated dependencies [76887bda]
876
- - Updated dependencies [76887bda]
877
- - Updated dependencies [76887bda]
878
- - @saas-ui/core@2.0.0-next.2
879
-
880
- ## 2.0.0-next.1
881
-
882
- ### Patch Changes
883
-
884
- - 166978bd: Fix esm bundle filename.
885
- - Updated dependencies [166978bd]
886
- - @saas-ui/core@2.0.0-next.1
887
-
888
- ## 2.0.0-next.0
889
-
890
- ### Major Changes
891
-
892
- - d7c87a31: Moved form resolvers into a separate package.
893
- - 8b82d945: Removed button package.
894
- - f1e99198: Restructured packages.
895
-
896
- ### Patch Changes
897
-
898
- - f1e99198: Migrated from microbundle to tsup for builds
899
- - Updated dependencies [e94ca3c0]
900
- - Updated dependencies [3a15e8c8]
901
- - @saas-ui/core@2.0.0-next.0
902
-
903
- ## 1.5.5
904
-
905
- ### Patch Changes
906
-
907
- - Fix types path
908
- - Updated dependencies
909
- - @saas-ui/button@1.4.2
910
- - @saas-ui/input-right-button@1.4.2
911
- - @saas-ui/number-input@1.4.2
912
- - @saas-ui/password-input@1.4.2
913
- - @saas-ui/pin-input@1.4.2
914
- - @saas-ui/radio@1.4.3
915
- - @saas-ui/react-utils@1.2.2
916
- - @saas-ui/select@1.4.2
917
- - @saas-ui/stepper@1.4.2
918
-
919
- ## 1.5.4
920
-
921
- ### Patch Changes
922
-
923
- - b2302a3: Add types to package.json exports
924
- - Updated dependencies [b2302a3]
925
- - @saas-ui/button@1.4.1
926
- - @saas-ui/input-right-button@1.4.1
927
- - @saas-ui/number-input@1.4.1
928
- - @saas-ui/password-input@1.4.1
929
- - @saas-ui/pin-input@1.4.1
930
- - @saas-ui/radio@1.4.2
931
- - @saas-ui/react-utils@1.2.1
932
- - @saas-ui/select@1.4.1
933
- - @saas-ui/stepper@1.4.1
934
-
935
- ## 1.5.3
936
-
937
- ### Patch Changes
938
-
939
- - 382e095: InputRightButton no longer exported from forms package to prevent conflicts.
940
-
941
- ## 1.5.2
942
-
943
- ### Patch Changes
944
-
945
- - 335acba: Allow SubmitButton variant to be overwritten.
946
- - Updated dependencies [335acba]
947
- - @saas-ui/radio@1.4.1
948
-
949
- ## 1.5.1
950
-
951
- ### Patch Changes
952
-
953
- - bff22b0: Removed deprecated type
954
-
955
- ## 1.5.0
956
-
957
- ### Minor Changes
958
-
959
- - 1f074c98: Upgrade to Chakra 2.4.8. Using .mjs for esm bundles.
960
-
961
- ### Patch Changes
962
-
963
- - Updated dependencies [1f074c98]
964
- - @saas-ui/button@1.4.0
965
- - @saas-ui/input-right-button@1.4.0
966
- - @saas-ui/number-input@1.4.0
967
- - @saas-ui/password-input@1.4.0
968
- - @saas-ui/pin-input@1.4.0
969
- - @saas-ui/radio@1.4.0
970
- - @saas-ui/react-utils@1.2.0
971
- - @saas-ui/select@1.4.0
972
- - @saas-ui/stepper@1.4.0
973
-
974
- ## 1.4.2
975
-
976
- ### Patch Changes
977
-
978
- - 523b5ca: Fixed default value for Switch fields.
979
-
980
- ## 1.4.1
981
-
982
- ### Patch Changes
983
-
984
- - Updated dependencies [7cf5223]
985
- - @saas-ui/react-utils@1.1.2
986
- - @saas-ui/stepper@1.3.1
987
-
988
- ## 1.4.0
989
-
990
- ### Minor Changes
991
-
992
- - d92f516: Updated to Chakra UI 2.4.1
993
-
994
- ### Patch Changes
995
-
996
- - Updated dependencies [d92f516]
997
- - @saas-ui/button@1.3.0
998
- - @saas-ui/input-right-button@1.3.0
999
- - @saas-ui/number-input@1.3.0
1000
- - @saas-ui/password-input@1.3.0
1001
- - @saas-ui/pin-input@1.3.0
1002
- - @saas-ui/radio@1.3.0
1003
- - @saas-ui/select@1.3.0
1004
- - @saas-ui/stepper@1.3.0
1005
-
1006
- ## 1.3.1
1007
-
1008
- ### Patch Changes
1009
-
1010
- - Updated dependencies [92f3e73]
1011
- - @saas-ui/react-utils@1.1.1
1012
- - @saas-ui/stepper@1.2.1
1013
-
1014
- ## 1.3.0
1015
-
1016
- ### Minor Changes
1017
-
1018
- - 466b3ca: Updated to Chakra UI 2.3.6
1019
-
1020
- ### Patch Changes
1021
-
1022
- - Updated dependencies [466b3ca]
1023
- - @saas-ui/button@1.2.0
1024
- - @saas-ui/input-right-button@1.2.0
1025
- - @saas-ui/number-input@1.2.0
1026
- - @saas-ui/password-input@1.2.0
1027
- - @saas-ui/pin-input@1.2.0
1028
- - @saas-ui/radio@1.2.0
1029
- - @saas-ui/select@1.2.0
1030
- - @saas-ui/stepper@1.2.0
1031
-
1032
- ## 1.2.2
1033
-
1034
- ### Patch Changes
1035
-
1036
- - ad47180: FormStepper now supports theming props.
1037
-
1038
- ## 1.2.1
1039
-
1040
- ### Patch Changes
1041
-
1042
- - dfd61ed: Custom Field onChange and onBlur handlers will no longer override the internal HookForm handlers.
1043
- - @saas-ui/stepper@1.1.2
1044
-
1045
- ## 1.2.0
1046
-
1047
- ### Minor Changes
1048
-
1049
- - d003608: Form now accepts a render function with form state props.
1050
- - d003608: Re-export all React Hook Form types and hooks
1051
- - d003608: New onChange prop for Form that triggers when the form state is changed.
1052
-
1053
- ## 1.1.2
1054
-
1055
- ### Patch Changes
1056
-
1057
- - bef671d: Field variant now passed down to the internal Input.
1058
-
1059
- ## 1.1.1
1060
-
1061
- ### Patch Changes
1062
-
1063
- - @saas-ui/stepper@1.1.1
1064
-
1065
- ## 1.1.0
1066
-
1067
- ### Minor Changes
1068
-
1069
- - f6ec7dc: Fixed issue where Next.js would not resolve Chakra UI components correctly.
1070
-
1071
- ### Patch Changes
1072
-
1073
- - Updated dependencies [f6ec7dc]
1074
- - @saas-ui/button@1.1.0
1075
- - @saas-ui/input-right-button@1.1.0
1076
- - @saas-ui/number-input@1.1.0
1077
- - @saas-ui/password-input@1.1.0
1078
- - @saas-ui/pin-input@1.1.0
1079
- - @saas-ui/radio@1.1.0
1080
- - @saas-ui/react-utils@1.1.0
1081
- - @saas-ui/select@1.1.0
1082
- - @saas-ui/stepper@1.1.0
1083
-
1084
- ## 1.0.3
1085
-
1086
- ### Patch Changes
1087
-
1088
- - e14c2e1: Make sure FormStep onSubmit does not throw an error when no promise is returned.
1089
- - Updated dependencies [8d03628]
1090
- - @saas-ui/password-input@1.0.2
1091
-
1092
- ## 1.0.2
1093
-
1094
- ### Patch Changes
1095
-
1096
- - fe754e6: Fixed Hook Form 7.33 compatibility.
1097
- - Updated dependencies [fe1e333]
1098
- - @saas-ui/input-right-button@1.0.1
1099
- - @saas-ui/password-input@1.0.1
1100
-
1101
- ## 1.0.1
1102
-
1103
- ### Patch Changes
1104
-
1105
- - 3ce1dee: Support JSONSchema title in field resolvers
1106
- - 150efb2: Select field focus styles now consistent with Input fields.
1107
- - 3f928c2: FormDialog with AutoForm now sets focus on first field by default.
1108
-
1109
- ## 1.0.0
1110
-
1111
- ### Major Changes
1112
-
1113
- - 1db5bf9: Initial release candidate
1114
-
1115
- ### Minor Changes
1116
-
1117
- - 3ae6be1: breaking: Updated to Chakra UI 2.1
1118
- - 532a7d4: Updated to Chakra UI 2.2.1
1119
- - 7a16ef7: Updated to Chakra UI 2.2.1
1120
- - 3ae6be1: breaking: React 18 support.
1121
-
1122
- ### Patch Changes
1123
-
1124
- - fca06e4: Added Json Schema (ajv) support for AutoForm.
1125
- - 6cc9343: Add exports entry for ajv
1126
- - 15c3960: Re-publish.
1127
- - 1744543: Updated dependencies.
1128
- - bd3438d: FormStep now supports an onSubmit handler.
1129
- - 6133901: No longer passing down label to input fields.
1130
- - dc6376f: Updated all readme files, added better descriptions and links to docs and source code.
1131
- - 43dff99: Option labels are now optional.
1132
- - d4afda3: ArrayFieldRowFields now accepts all FormLayout props (#48).
1133
- - ddec417: ArrayField no longer passing down items to the container element.
1134
- - 43dff99: Field is now correctly typed based on the field type.
1135
- - 5a1b92b: Fix vertical orientation for FormStepper.
1136
- - 1fdf52a: Modern bundles now use .mjs extension.
1137
- - 38f7171: #50 - Fixed StepForm render prop types.
1138
- - 5f80cea: AutoForm now renders children.
1139
- - 532a7d4: Fixed all theme onconsistencies.
1140
- - 1c247cb: InputField now has type="text" by default.
1141
- - d1fb472: Select now renders a hidden input with the current value.
1142
- - 68f5d3b: Removed isPrimary and isSecondary Button properties, use colorScheme="primary" instead.
1143
- - Updated dependencies [3ae6be1]
1144
- - Updated dependencies [c8621b8]
1145
- - Updated dependencies [15c3960]
1146
- - Updated dependencies [532a7d4]
1147
- - Updated dependencies [1744543]
1148
- - Updated dependencies [dc6376f]
1149
- - Updated dependencies [9e9c601]
1150
- - Updated dependencies [1db5bf9]
1151
- - Updated dependencies [1fdf52a]
1152
- - Updated dependencies [7a16ef7]
1153
- - Updated dependencies [532a7d4]
1154
- - Updated dependencies [3dee538]
1155
- - Updated dependencies [870db1f]
1156
- - Updated dependencies [3ae6be1]
1157
- - Updated dependencies [68f5d3b]
1158
- - @saas-ui/button@1.0.0
1159
- - @saas-ui/input-right-button@1.0.0
1160
- - @saas-ui/number-input@1.0.0
1161
- - @saas-ui/password-input@1.0.0
1162
- - @saas-ui/pin-input@1.0.0
1163
- - @saas-ui/radio@1.0.0
1164
- - @saas-ui/react-utils@1.0.0
1165
- - @saas-ui/select@1.0.0
1166
- - @saas-ui/stepper@1.0.0
1167
-
1168
- ## 1.0.0-rc.12
1169
-
1170
- ### Patch Changes
1171
-
1172
- - @saas-ui/stepper@1.0.0-rc.6
1173
-
1174
- ## 1.0.0-rc.11
1175
-
1176
- ### Patch Changes
1177
-
1178
- - 1744543: Updated dependencies.
1179
- - Updated dependencies [1744543]
1180
- - @saas-ui/button@1.0.0-rc.5
1181
- - @saas-ui/input-right-button@1.0.0-rc.5
1182
- - @saas-ui/number-input@1.0.0-rc.4
1183
- - @saas-ui/password-input@1.0.0-rc.5
1184
- - @saas-ui/pin-input@1.0.0-rc.5
1185
- - @saas-ui/radio@1.0.0-rc.4
1186
- - @saas-ui/react-utils@1.0.0-rc.4
1187
- - @saas-ui/select@1.0.0-rc.4
1188
- - @saas-ui/stepper@1.0.0-rc.5
1189
-
1190
- ## 1.0.0-rc.10
1191
-
1192
- ### Patch Changes
1193
-
1194
- - bd3438d: FormStep now supports an onSubmit handler.
1195
-
1196
- ## 1.0.0-rc.9
1197
-
1198
- ### Patch Changes
1199
-
1200
- - 43dff99: Option labels are now optional.
1201
- - d4afda3: ArrayFieldRowFields now accepts all FormLayout props (#48).
1202
- - 43dff99: Field is now correctly typed based on the field type.
1203
- - 38f7171: #50 - Fixed StepForm render prop types.
1204
- - Updated dependencies [870db1f]
1205
- - @saas-ui/button@1.0.0-rc.4
1206
- - @saas-ui/input-right-button@1.0.0-rc.4
1207
- - @saas-ui/password-input@1.0.0-rc.4
1208
-
1209
- ## 1.0.0-rc.8
1210
-
1211
- ### Patch Changes
1212
-
1213
- - dc6376f: Updated all readme files, added better descriptions and links to docs and source code.
1214
- - 68f5d3b: Removed isPrimary and isSecondary Button properties, use colorScheme="primary" instead.
1215
- - Updated dependencies [dc6376f]
1216
- - Updated dependencies [68f5d3b]
1217
- - @saas-ui/button@1.0.0-rc.3
1218
- - @saas-ui/input-right-button@1.0.0-rc.3
1219
- - @saas-ui/number-input@1.0.0-rc.3
1220
- - @saas-ui/password-input@1.0.0-rc.3
1221
- - @saas-ui/pin-input@1.0.0-rc.4
1222
- - @saas-ui/radio@1.0.0-rc.3
1223
- - @saas-ui/react-utils@1.0.0-rc.3
1224
- - @saas-ui/select@1.0.0-rc.3
1225
- - @saas-ui/stepper@1.0.0-rc.4
1226
-
1227
- ## 1.0.0-rc.7
1228
-
1229
- ### Patch Changes
1230
-
1231
- - Fix vertical orientation for FormStepper.
1232
-
1233
- ## 1.0.0-rc.6
1234
-
1235
- ### Patch Changes
1236
-
1237
- - Add exports entry for ajv
1238
-
1239
- ## 1.0.0-rc.5
1240
-
1241
- ### Patch Changes
1242
-
1243
- - fca06e4: Added Json Schema (ajv) support for AutoForm.
1244
-
1245
- ## 1.0.0-rc.4
1246
-
1247
- ### Patch Changes
1248
-
1249
- - Updated dependencies [9e9c601]
1250
- - @saas-ui/stepper@1.0.0-rc.3
1251
-
1252
- ## 1.0.0-rc.3
1253
-
1254
- ### Minor Changes
1255
-
1256
- - 532a7d4: Updated to Chakra UI 2.2.1
1257
- - 7a16ef7: Updated to Chakra UI 2.2.1
1258
-
1259
- ### Patch Changes
1260
-
1261
- - 6133901: No longer passing down label to input fields.
1262
- - ddec417: ArrayField no longer passing down items to the container element.
1263
- - 5f80cea: AutoForm now renders children.
1264
- - 532a7d4: Fixed all theme onconsistencies.
1265
- - 1c247cb: InputField now has type="text" by default.
1266
- - d1fb472: Select now renders a hidden input with the current value.
1267
- - Updated dependencies [c8621b8]
1268
- - Updated dependencies [532a7d4]
1269
- - Updated dependencies [7a16ef7]
1270
- - Updated dependencies [532a7d4]
1271
- - @saas-ui/select@1.0.0-rc.2
1272
- - @saas-ui/button@1.0.0-rc.2
1273
- - @saas-ui/input-right-button@1.0.0-rc.2
1274
- - @saas-ui/number-input@1.0.0-rc.2
1275
- - @saas-ui/password-input@1.0.0-rc.2
1276
- - @saas-ui/pin-input@1.0.0-rc.3
1277
- - @saas-ui/radio@1.0.0-rc.2
1278
- - @saas-ui/react-utils@1.0.0-rc.2
1279
- - @saas-ui/stepper@1.0.0-rc.2
1280
-
1281
- ## 1.0.0-rc.2
1282
-
1283
- ### Patch Changes
1284
-
1285
- - Re-publish.
1286
- - Updated dependencies
1287
- - @saas-ui/button@1.0.0-rc.1
1288
- - @saas-ui/input-right-button@1.0.0-rc.1
1289
- - @saas-ui/number-input@1.0.0-rc.1
1290
- - @saas-ui/password-input@1.0.0-rc.1
1291
- - @saas-ui/pin-input@1.0.0-rc.2
1292
- - @saas-ui/radio@1.0.0-rc.1
1293
- - @saas-ui/react-utils@1.0.0-rc.1
1294
- - @saas-ui/select@1.0.0-rc.1
1295
- - @saas-ui/stepper@1.0.0-rc.1
1296
-
1297
- ## 1.0.0-rc.1
1298
-
1299
- ### Patch Changes
1300
-
1301
- - Updated dependencies [3dee538]
1302
- - @saas-ui/pin-input@1.0.0-rc.1
1303
-
1304
- ## 1.0.0-rc.0
1305
-
1306
- ### Major Changes
1307
-
1308
- - 1db5bf9: Initial release candidate
1309
-
1310
- ### Minor Changes
1311
-
1312
- - 3ae6be1: breaking: Updated to Chakra UI 2.1
1313
- - 3ae6be1: breaking: React 18 support.
1314
-
1315
- ### Patch Changes
1316
-
1317
- - 1fdf52a: Modern bundles now use .mjs extension.
1318
- - Updated dependencies [3ae6be1]
1319
- - Updated dependencies [1db5bf9]
1320
- - Updated dependencies [1fdf52a]
1321
- - Updated dependencies [3ae6be1]
1322
- - @saas-ui/button@1.0.0-rc.0
1323
- - @saas-ui/input-right-button@1.0.0-rc.0
1324
- - @saas-ui/number-input@1.0.0-rc.0
1325
- - @saas-ui/password-input@1.0.0-rc.0
1326
- - @saas-ui/pin-input@1.0.0-rc.0
1327
- - @saas-ui/radio@1.0.0-rc.0
1328
- - @saas-ui/react-utils@1.0.0-rc.0
1329
- - @saas-ui/select@1.0.0-rc.0
1330
- - @saas-ui/stepper@1.0.0-rc.0
1331
-
1332
- ## 0.7.10
1333
-
1334
- ### Patch Changes
1335
-
1336
- - Updated Chakra UI version range not to include 2.x
1337
- - Updated dependencies
1338
- - @saas-ui/button@0.4.2
1339
- - @saas-ui/input-right-button@0.3.3
1340
- - @saas-ui/number-input@0.3.1
1341
- - @saas-ui/password-input@0.3.4
1342
- - @saas-ui/pin-input@0.3.1
1343
- - @saas-ui/radio@0.3.1
1344
- - @saas-ui/select@0.4.1
1345
- - @saas-ui/stepper@0.2.3
1346
-
1347
- ## 0.7.9
1348
-
1349
- ### Patch Changes
1350
-
1351
- - Updated dependencies [0dbec1a]
1352
- - @saas-ui/button@0.4.1
1353
- - @saas-ui/input-right-button@0.3.2
1354
- - @saas-ui/password-input@0.3.3
1355
-
1356
- ## 0.7.8
1357
-
1358
- ### Patch Changes
1359
-
1360
- - 391e21a: Field id now passed down to the internal FormControl for better a11y.
1361
-
1362
- ## 0.7.7
1363
-
1364
- ### Patch Changes
1365
-
1366
- - c0b3dc9: Improved StepForm typings
1367
-
1368
- ## 0.7.6
1369
-
1370
- ### Patch Changes
1371
-
1372
- - Fix zod resolver build
1373
-
1374
- ## 0.7.5
1375
-
1376
- ### Patch Changes
1377
-
1378
- - 22a30dc: Added displayName to form components
1379
- - a76c184: Fixed FormStepper default styles.
1380
-
1381
- ## 0.7.4
1382
-
1383
- ### Patch Changes
1384
-
1385
- - Fixed npm publish
1386
-
1387
- ## 0.7.2
1388
-
1389
- ### Patch Changes
1390
-
1391
- - Publish resolver files to npm
1392
-
1393
- ## 0.7.2
1394
-
1395
- ### Patch Changes
1396
-
1397
- - Fixed typings
1398
-
1399
- ## 0.7.1
1400
-
1401
- ### Patch Changes
1402
-
1403
- - Added Zod field resolver for AutoForm
1404
-
1405
- ## 0.7.0
1406
-
1407
- ### Minor Changes
1408
-
1409
- - bab579f: Added Zod resolver for AutoForm
1410
-
1411
- ### Patch Changes
1412
-
1413
- - Updated dependencies [f6269cb]
1414
- - @saas-ui/password-input@0.3.2
1415
-
1416
- ## 0.6.2
1417
-
1418
- ### Patch Changes
1419
-
1420
- - 6696203: Fixed Yup resolver types
1421
-
1422
- ## 0.6.1
1423
-
1424
- ### Patch Changes
1425
-
1426
- - Release an updated build
1427
-
1428
- ## 0.6.0
1429
-
1430
- ### Minor Changes
1431
-
1432
- - 0e81abd: BREAKING: Removed Yup dependency, you now need to configure default Form resolvers
1433
-
1434
- <Form> no longer accepts a Yup `schema` by default.
1435
-
1436
- Use a schema resolver to use schema support. All hookform resolvers are supported.
1437
-
1438
- ```ts
1439
- import { yupResolver } from '@hookform/resolvers/yup'
1440
-
1441
- const form = <Form resolver={yupResolver(schema)} />
1442
- ```
1443
-
1444
- AutoForm only supports Yup for now and has a new API.
1445
-
1446
- ```ts
1447
- import { yupForm } from '@saas-ui/forms/yup'
1448
-
1449
- const form = <AutoForm {...yupForm(schema)} />
1450
- ```
1451
-
1452
- Alternatively you can configure a default resolver for all forms.
1453
- Add this somewhere in the root of your project.
1454
-
1455
- ```ts
1456
- import { yupFieldResolver, yupResolver } from '@saas-ui/forms/yup'
1457
- import { Form } from '@saas-ui/react'
1458
- // yupResolver is exported from here as well for convenience.
1459
- import { AnyObjectSchema } from 'yup'
1460
-
1461
- Form.getResolver = (schema: AnyObjectSchema) => yupResolver(schema) // @hookform/resolvers
1462
- Form.getFieldResolver = (schema: AnyObjectSchema) => yupFieldResolver(schema) // AutoForm field resolver
1463
- ```
1464
-
1465
- - 9391c44: Fixed peer dependency issues.
1466
-
1467
- ### Patch Changes
1468
-
1469
- - Updated dependencies [9391c44]
1470
- - @saas-ui/button@0.4.0
1471
- - @saas-ui/select@0.4.0
1472
- - @saas-ui/input-right-button@0.3.1
1473
- - @saas-ui/password-input@0.3.1
1474
-
1475
- ## 0.5.3
1476
-
1477
- ### Patch Changes
1478
-
1479
- - 9245460: Make sure Field ref is focusable
1480
-
1481
- ## 0.5.2
1482
-
1483
- ### Patch Changes
1484
-
1485
- - 0f67f76: Fixed circular dependency
1486
-
1487
- ## 0.5.1
1488
-
1489
- ### Patch Changes
1490
-
1491
- - c610881: Fixed a type error
1492
- - a26aa7c: ArrayField context can now be accessed using ref.
1493
-
1494
- ## 0.5.0
1495
-
1496
- ### Minor Changes
1497
-
1498
- - 9d11ba5: Added StepForm and Stepper components
1499
-
1500
- ### Patch Changes
1501
-
1502
- - Updated dependencies [9d11ba5]
1503
- - @saas-ui/react-utils@0.1.0
1504
-
1505
- ## 0.4.0
1506
-
1507
- ### Minor Changes
1508
-
1509
- - e511ffd: Added a11y testing to all packages
1510
-
1511
- ### Patch Changes
1512
-
1513
- - Updated dependencies [e511ffd]
1514
- - @saas-ui/button@0.3.0
1515
- - @saas-ui/number-input@0.3.0
1516
- - @saas-ui/pin-input@0.3.0
1517
- - @saas-ui/radio@0.3.0
1518
- - @saas-ui/select@0.3.0
1519
- - @saas-ui/input-right-button@0.3.0
1520
- - @saas-ui/password-input@0.3.0
1521
-
1522
- ## 0.3.4
1523
-
1524
- ### Patch Changes
1525
-
1526
- - Updated dependencies [16c82e6]
1527
- - @saas-ui/password-input@0.2.2
1528
-
1529
- ## 0.3.3
1530
-
1531
- ### Patch Changes
1532
-
1533
- - a6842fd: Re-export UseFormReturn
1534
- - d3da8ef: Don't set isRequired when required is true
1535
- - 1ce9ba9: Improved ObjectField semantics and styles
1536
-
1537
- ## 0.3.2
1538
-
1539
- ### Patch Changes
1540
-
1541
- - Updated dependencies [676eefa]
1542
- - @saas-ui/select@0.2.2
1543
-
1544
- ## 0.3.1
1545
-
1546
- ### Patch Changes
1547
-
1548
- - e691413: DisplayIf now check if value is set by default, set isRequired on fields when required = true
1549
-
1550
- ## 0.3.0
1551
-
1552
- ### Minor Changes
1553
-
1554
- - 385b760: Improved Typescript support for forms, conditionally render form fields with DisplayIf
1555
-
1556
- ## 0.2.5
1557
-
1558
- ### Patch Changes
1559
-
1560
- - Updated dependencies [46dd92b]
1561
- - @saas-ui/number-input@0.2.2
1562
-
1563
- ## 0.2.4
1564
-
1565
- ### Patch Changes
1566
-
1567
- - b3159a7: Only publish dist and src files
1568
- - Updated dependencies [b3159a7]
1569
- - @saas-ui/button@0.2.1
1570
- - @saas-ui/input-right-button@0.2.1
1571
- - @saas-ui/number-input@0.2.1
1572
- - @saas-ui/password-input@0.2.1
1573
- - @saas-ui/pin-input@0.2.1
1574
- - @saas-ui/radio@0.2.1
1575
- - @saas-ui/select@0.2.1
1576
-
1577
- ## 0.2.3
1578
-
1579
- ### Patch Changes
1580
-
1581
- - Bump version
1582
-
1583
- ## 0.2.2
1584
-
1585
- ### Patch Changes
1586
-
1587
- - Set default value on FormProps generic type
1588
-
1589
- ## 0.2.1
1590
-
1591
- ### Patch Changes
1592
-
1593
- - 9673005: Improved typescript support and fixed issue with invalid states
1594
-
1595
- ## 0.2.0
1596
-
1597
- ### Minor Changes
1598
-
1599
- - Upgrade to Chakra UI 1.8.1
1600
-
1601
- ### Patch Changes
1602
-
1603
- - Updated dependencies
1604
- - @saas-ui/input-right-button@0.2.0
1605
- - @saas-ui/number-input@0.2.0
1606
- - @saas-ui/pin-input@0.2.0
1607
- - @saas-ui/radio@0.2.0
1608
- - @saas-ui/select@0.2.0
1609
- - @saas-ui/button@0.2.0
1610
- - @saas-ui/password-input@0.2.0
1611
-
1612
- ## 0.1.9
1613
-
1614
- ### Patch Changes
1615
-
1616
- - Removed unused isOptional option
1617
-
1618
- ## 0.1.8
1619
-
1620
- ### Patch Changes
1621
-
1622
- - Update radio dependencies
1623
- - Updated dependencies
1624
- - @saas-ui/radio@0.1.5
1625
-
1626
- ## 0.1.7
1627
-
1628
- ### Patch Changes
1629
-
1630
- - Update dependencies
1631
- - Updated dependencies
1632
- - @saas-ui/number-input@0.1.4
1633
- - @saas-ui/password-input@0.1.7
1634
- - @saas-ui/pin-input@0.1.4
1635
- - @saas-ui/radio@0.1.4
1636
- - @saas-ui/select@0.1.5
1637
-
1638
- ## 0.1.6
1639
-
1640
- ### Patch Changes
1641
-
1642
- - @saas-ui/button@0.1.6
1643
- - @saas-ui/input-right-button@0.1.6
1644
- - @saas-ui/password-input@0.1.6
1645
-
1646
- ## 0.1.5
1647
-
1648
- ### Patch Changes
1649
-
1650
- - Updated dependencies
1651
- - @saas-ui/select@0.1.4
1652
- - @saas-ui/button@0.1.5
1653
- - @saas-ui/input-right-button@0.1.5
1654
- - @saas-ui/password-input@0.1.5
1655
-
1656
- ## 0.1.4
1657
-
1658
- ### Patch Changes
1659
-
1660
- - Updated dependencies
1661
- - @saas-ui/button@0.1.4
1662
- - @saas-ui/input-right-button@0.1.4
1663
- - @saas-ui/password-input@0.1.4
1664
-
1665
- ## 0.1.3
1666
-
1667
- ### Patch Changes
1668
-
1669
- - Improved exports configuration
1670
- - Updated dependencies
1671
- - @saas-ui/button@0.1.3
1672
- - @saas-ui/input-right-button@0.1.3
1673
- - @saas-ui/number-input@0.1.3
1674
- - @saas-ui/password-input@0.1.3
1675
- - @saas-ui/pin-input@0.1.3
1676
- - @saas-ui/radio@0.1.3
1677
- - @saas-ui/select@0.1.3
1678
-
1679
- ## 0.1.2
1680
-
1681
- ### Patch Changes
1682
-
1683
- - Republish with correct deps
1684
- - Updated dependencies
1685
- - @saas-ui/button@0.1.2
1686
- - @saas-ui/input-right-button@0.1.2
1687
- - @saas-ui/number-input@0.1.2
1688
- - @saas-ui/password-input@0.1.2
1689
- - @saas-ui/pin-input@0.1.2
1690
- - @saas-ui/radio@0.1.2
1691
- - @saas-ui/select@0.1.2
1692
-
1693
- ## 0.1.1
1694
-
1695
- ### Patch Changes
1696
-
1697
- - Fix version mismatch
1698
- - Updated dependencies
1699
- - @saas-ui/button@0.1.1
1700
- - @saas-ui/input-right-button@0.1.1
1701
- - @saas-ui/number-input@0.1.1
1702
- - @saas-ui/password-input@0.1.1
1703
- - @saas-ui/pin-input@0.1.1
1704
- - @saas-ui/radio@0.1.1
1705
- - @saas-ui/select@0.1.1
1706
-
1707
- ## 0.1.0
1708
-
1709
- ### Minor Changes
1710
-
1711
- - Initial release of Saas UI Core
1712
-
1713
- ### Patch Changes
1714
-
1715
- - Updated dependencies
1716
- - @saas-ui/button@0.1.0
1717
- - @saas-ui/input-right-button@0.1.0
1718
- - @saas-ui/number-input@0.1.0
1719
- - @saas-ui/password-input@0.1.0
1720
- - @saas-ui/pin-input@0.1.0
1721
- - @saas-ui/radio@0.1.0
1722
- - @saas-ui/select@0.1.0