@copilotkit/shared 2.0.0-rc.49 → 2.0.0-rc.50

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.
@@ -18,9 +18,9 @@ declare const buttonSchema: z.ZodObject<{
18
18
  message: z.ZodOptional<z.ZodString>;
19
19
  code: z.ZodOptional<z.ZodString>;
20
20
  severity: z.ZodOptional<z.ZodEnum<{
21
- error: "error";
22
- warning: "warning";
23
21
  info: "info";
22
+ warning: "warning";
23
+ error: "error";
24
24
  }>>;
25
25
  }, z.core.$loose>]>>;
26
26
  message: z.ZodOptional<z.ZodString>;
@@ -33,9 +33,9 @@ declare const buttonSchema: z.ZodObject<{
33
33
  borderless: "borderless";
34
34
  }>>;
35
35
  color: z.ZodOptional<z.ZodEnum<{
36
- danger: "danger";
37
- secondary: "secondary";
38
36
  primary: "primary";
37
+ secondary: "secondary";
38
+ danger: "danger";
39
39
  }>>;
40
40
  size: z.ZodOptional<z.ZodEnum<{
41
41
  sm: "sm";
@@ -90,17 +90,15 @@ declare const pressableSchema: z.ZodObject<{
90
90
  borderColor: z.ZodOptional<z.ZodEnum<{
91
91
  default: "default";
92
92
  success: "success";
93
- warning: "warning";
94
93
  info: "info";
95
- danger: "danger";
94
+ warning: "warning";
96
95
  caution: "caution";
96
+ danger: "danger";
97
97
  discovery: "discovery";
98
98
  subtle: "subtle";
99
99
  strong: "strong";
100
100
  }>>;
101
101
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
102
- "2xs": "2xs";
103
- xs: "xs";
104
102
  sm: "sm";
105
103
  md: "md";
106
104
  lg: "lg";
@@ -108,6 +106,8 @@ declare const pressableSchema: z.ZodObject<{
108
106
  "2xl": "2xl";
109
107
  "3xl": "3xl";
110
108
  "4xl": "4xl";
109
+ "2xs": "2xs";
110
+ xs: "xs";
111
111
  full: "full";
112
112
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
113
113
  topLeft: z.ZodOptional<z.ZodString>;
@@ -166,17 +166,15 @@ declare const formSchema: z.ZodObject<{
166
166
  borderColor: z.ZodOptional<z.ZodEnum<{
167
167
  default: "default";
168
168
  success: "success";
169
- warning: "warning";
170
169
  info: "info";
171
- danger: "danger";
170
+ warning: "warning";
172
171
  caution: "caution";
172
+ danger: "danger";
173
173
  discovery: "discovery";
174
174
  subtle: "subtle";
175
175
  strong: "strong";
176
176
  }>>;
177
177
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
178
- "2xs": "2xs";
179
- xs: "xs";
180
178
  sm: "sm";
181
179
  md: "md";
182
180
  lg: "lg";
@@ -184,6 +182,8 @@ declare const formSchema: z.ZodObject<{
184
182
  "2xl": "2xl";
185
183
  "3xl": "3xl";
186
184
  "4xl": "4xl";
185
+ "2xs": "2xs";
186
+ xs: "xs";
187
187
  full: "full";
188
188
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
189
189
  topLeft: z.ZodOptional<z.ZodString>;
@@ -217,9 +217,9 @@ declare const textFieldSchema: z.ZodObject<{
217
217
  message: z.ZodOptional<z.ZodString>;
218
218
  code: z.ZodOptional<z.ZodString>;
219
219
  severity: z.ZodOptional<z.ZodEnum<{
220
- error: "error";
221
- warning: "warning";
222
220
  info: "info";
221
+ warning: "warning";
222
+ error: "error";
223
223
  }>>;
224
224
  }, z.core.$loose>]>>;
225
225
  message: z.ZodOptional<z.ZodString>;
@@ -258,9 +258,9 @@ declare const textAreaSchema: z.ZodObject<{
258
258
  message: z.ZodOptional<z.ZodString>;
259
259
  code: z.ZodOptional<z.ZodString>;
260
260
  severity: z.ZodOptional<z.ZodEnum<{
261
- error: "error";
262
- warning: "warning";
263
261
  info: "info";
262
+ warning: "warning";
263
+ error: "error";
264
264
  }>>;
265
265
  }, z.core.$loose>]>>;
266
266
  message: z.ZodOptional<z.ZodString>;
@@ -290,9 +290,9 @@ declare const selectSchema: z.ZodObject<{
290
290
  message: z.ZodOptional<z.ZodString>;
291
291
  code: z.ZodOptional<z.ZodString>;
292
292
  severity: z.ZodOptional<z.ZodEnum<{
293
- error: "error";
294
- warning: "warning";
295
293
  info: "info";
294
+ warning: "warning";
295
+ error: "error";
296
296
  }>>;
297
297
  }, z.core.$loose>]>>;
298
298
  message: z.ZodOptional<z.ZodString>;
@@ -328,9 +328,9 @@ declare const checkBoxSchema: z.ZodObject<{
328
328
  message: z.ZodOptional<z.ZodString>;
329
329
  code: z.ZodOptional<z.ZodString>;
330
330
  severity: z.ZodOptional<z.ZodEnum<{
331
- error: "error";
332
- warning: "warning";
333
331
  info: "info";
332
+ warning: "warning";
333
+ error: "error";
334
334
  }>>;
335
335
  }, z.core.$loose>]>>;
336
336
  message: z.ZodOptional<z.ZodString>;
@@ -360,9 +360,9 @@ declare const radioGroupSchema: z.ZodObject<{
360
360
  message: z.ZodOptional<z.ZodString>;
361
361
  code: z.ZodOptional<z.ZodString>;
362
362
  severity: z.ZodOptional<z.ZodEnum<{
363
- error: "error";
364
- warning: "warning";
365
363
  info: "info";
364
+ warning: "warning";
365
+ error: "error";
366
366
  }>>;
367
367
  }, z.core.$loose>]>>;
368
368
  message: z.ZodOptional<z.ZodString>;
@@ -394,9 +394,9 @@ declare const sliderSchema: z.ZodObject<{
394
394
  message: z.ZodOptional<z.ZodString>;
395
395
  code: z.ZodOptional<z.ZodString>;
396
396
  severity: z.ZodOptional<z.ZodEnum<{
397
- error: "error";
398
- warning: "warning";
399
397
  info: "info";
398
+ warning: "warning";
399
+ error: "error";
400
400
  }>>;
401
401
  }, z.core.$loose>]>>;
402
402
  message: z.ZodOptional<z.ZodString>;
@@ -427,9 +427,9 @@ declare const segmentedControlSchema: z.ZodObject<{
427
427
  message: z.ZodOptional<z.ZodString>;
428
428
  code: z.ZodOptional<z.ZodString>;
429
429
  severity: z.ZodOptional<z.ZodEnum<{
430
- error: "error";
431
- warning: "warning";
432
430
  info: "info";
431
+ warning: "warning";
432
+ error: "error";
433
433
  }>>;
434
434
  }, z.core.$loose>]>>;
435
435
  message: z.ZodOptional<z.ZodString>;
@@ -464,9 +464,9 @@ declare const choicePickerSchema: z.ZodObject<{
464
464
  message: z.ZodOptional<z.ZodString>;
465
465
  code: z.ZodOptional<z.ZodString>;
466
466
  severity: z.ZodOptional<z.ZodEnum<{
467
- error: "error";
468
- warning: "warning";
469
467
  info: "info";
468
+ warning: "warning";
469
+ error: "error";
470
470
  }>>;
471
471
  }, z.core.$loose>]>>;
472
472
  message: z.ZodOptional<z.ZodString>;
@@ -498,9 +498,9 @@ declare const dateTimeInputSchema: z.ZodObject<{
498
498
  message: z.ZodOptional<z.ZodString>;
499
499
  code: z.ZodOptional<z.ZodString>;
500
500
  severity: z.ZodOptional<z.ZodEnum<{
501
- error: "error";
502
- warning: "warning";
503
501
  info: "info";
502
+ warning: "warning";
503
+ error: "error";
504
504
  }>>;
505
505
  }, z.core.$loose>]>>;
506
506
  message: z.ZodOptional<z.ZodString>;
@@ -543,9 +543,9 @@ declare const inputDeclarations: {
543
543
  message: z.ZodOptional<z.ZodString>;
544
544
  code: z.ZodOptional<z.ZodString>;
545
545
  severity: z.ZodOptional<z.ZodEnum<{
546
- error: "error";
547
- warning: "warning";
548
546
  info: "info";
547
+ warning: "warning";
548
+ error: "error";
549
549
  }>>;
550
550
  }, z.core.$loose>]>>;
551
551
  message: z.ZodOptional<z.ZodString>;
@@ -558,9 +558,9 @@ declare const inputDeclarations: {
558
558
  borderless: "borderless";
559
559
  }>>;
560
560
  color: z.ZodOptional<z.ZodEnum<{
561
- danger: "danger";
562
- secondary: "secondary";
563
561
  primary: "primary";
562
+ secondary: "secondary";
563
+ danger: "danger";
564
564
  }>>;
565
565
  size: z.ZodOptional<z.ZodEnum<{
566
566
  sm: "sm";
@@ -628,17 +628,15 @@ declare const inputDeclarations: {
628
628
  borderColor: z.ZodOptional<z.ZodEnum<{
629
629
  default: "default";
630
630
  success: "success";
631
- warning: "warning";
632
631
  info: "info";
633
- danger: "danger";
632
+ warning: "warning";
634
633
  caution: "caution";
634
+ danger: "danger";
635
635
  discovery: "discovery";
636
636
  subtle: "subtle";
637
637
  strong: "strong";
638
638
  }>>;
639
639
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
640
- "2xs": "2xs";
641
- xs: "xs";
642
640
  sm: "sm";
643
641
  md: "md";
644
642
  lg: "lg";
@@ -646,6 +644,8 @@ declare const inputDeclarations: {
646
644
  "2xl": "2xl";
647
645
  "3xl": "3xl";
648
646
  "4xl": "4xl";
647
+ "2xs": "2xs";
648
+ xs: "xs";
649
649
  full: "full";
650
650
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
651
651
  topLeft: z.ZodOptional<z.ZodString>;
@@ -720,17 +720,15 @@ declare const inputDeclarations: {
720
720
  borderColor: z.ZodOptional<z.ZodEnum<{
721
721
  default: "default";
722
722
  success: "success";
723
- warning: "warning";
724
723
  info: "info";
725
- danger: "danger";
724
+ warning: "warning";
726
725
  caution: "caution";
726
+ danger: "danger";
727
727
  discovery: "discovery";
728
728
  subtle: "subtle";
729
729
  strong: "strong";
730
730
  }>>;
731
731
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
732
- "2xs": "2xs";
733
- xs: "xs";
734
732
  sm: "sm";
735
733
  md: "md";
736
734
  lg: "lg";
@@ -738,6 +736,8 @@ declare const inputDeclarations: {
738
736
  "2xl": "2xl";
739
737
  "3xl": "3xl";
740
738
  "4xl": "4xl";
739
+ "2xs": "2xs";
740
+ xs: "xs";
741
741
  full: "full";
742
742
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
743
743
  topLeft: z.ZodOptional<z.ZodString>;
@@ -783,9 +783,9 @@ declare const inputDeclarations: {
783
783
  message: z.ZodOptional<z.ZodString>;
784
784
  code: z.ZodOptional<z.ZodString>;
785
785
  severity: z.ZodOptional<z.ZodEnum<{
786
- error: "error";
787
- warning: "warning";
788
786
  info: "info";
787
+ warning: "warning";
788
+ error: "error";
789
789
  }>>;
790
790
  }, z.core.$loose>]>>;
791
791
  message: z.ZodOptional<z.ZodString>;
@@ -828,9 +828,9 @@ declare const inputDeclarations: {
828
828
  message: z.ZodOptional<z.ZodString>;
829
829
  code: z.ZodOptional<z.ZodString>;
830
830
  severity: z.ZodOptional<z.ZodEnum<{
831
- error: "error";
832
- warning: "warning";
833
831
  info: "info";
832
+ warning: "warning";
833
+ error: "error";
834
834
  }>>;
835
835
  }, z.core.$loose>]>>;
836
836
  message: z.ZodOptional<z.ZodString>;
@@ -864,9 +864,9 @@ declare const inputDeclarations: {
864
864
  message: z.ZodOptional<z.ZodString>;
865
865
  code: z.ZodOptional<z.ZodString>;
866
866
  severity: z.ZodOptional<z.ZodEnum<{
867
- error: "error";
868
- warning: "warning";
869
867
  info: "info";
868
+ warning: "warning";
869
+ error: "error";
870
870
  }>>;
871
871
  }, z.core.$loose>]>>;
872
872
  message: z.ZodOptional<z.ZodString>;
@@ -906,9 +906,9 @@ declare const inputDeclarations: {
906
906
  message: z.ZodOptional<z.ZodString>;
907
907
  code: z.ZodOptional<z.ZodString>;
908
908
  severity: z.ZodOptional<z.ZodEnum<{
909
- error: "error";
910
- warning: "warning";
911
909
  info: "info";
910
+ warning: "warning";
911
+ error: "error";
912
912
  }>>;
913
913
  }, z.core.$loose>]>>;
914
914
  message: z.ZodOptional<z.ZodString>;
@@ -945,9 +945,9 @@ declare const inputDeclarations: {
945
945
  message: z.ZodOptional<z.ZodString>;
946
946
  code: z.ZodOptional<z.ZodString>;
947
947
  severity: z.ZodOptional<z.ZodEnum<{
948
- error: "error";
949
- warning: "warning";
950
948
  info: "info";
949
+ warning: "warning";
950
+ error: "error";
951
951
  }>>;
952
952
  }, z.core.$loose>]>>;
953
953
  message: z.ZodOptional<z.ZodString>;
@@ -983,9 +983,9 @@ declare const inputDeclarations: {
983
983
  message: z.ZodOptional<z.ZodString>;
984
984
  code: z.ZodOptional<z.ZodString>;
985
985
  severity: z.ZodOptional<z.ZodEnum<{
986
- error: "error";
987
- warning: "warning";
988
986
  info: "info";
987
+ warning: "warning";
988
+ error: "error";
989
989
  }>>;
990
990
  }, z.core.$loose>]>>;
991
991
  message: z.ZodOptional<z.ZodString>;
@@ -1020,9 +1020,9 @@ declare const inputDeclarations: {
1020
1020
  message: z.ZodOptional<z.ZodString>;
1021
1021
  code: z.ZodOptional<z.ZodString>;
1022
1022
  severity: z.ZodOptional<z.ZodEnum<{
1023
- error: "error";
1024
- warning: "warning";
1025
1023
  info: "info";
1024
+ warning: "warning";
1025
+ error: "error";
1026
1026
  }>>;
1027
1027
  }, z.core.$loose>]>>;
1028
1028
  message: z.ZodOptional<z.ZodString>;
@@ -1061,9 +1061,9 @@ declare const inputDeclarations: {
1061
1061
  message: z.ZodOptional<z.ZodString>;
1062
1062
  code: z.ZodOptional<z.ZodString>;
1063
1063
  severity: z.ZodOptional<z.ZodEnum<{
1064
- error: "error";
1065
- warning: "warning";
1066
1064
  info: "info";
1065
+ warning: "warning";
1066
+ error: "error";
1067
1067
  }>>;
1068
1068
  }, z.core.$loose>]>>;
1069
1069
  message: z.ZodOptional<z.ZodString>;
@@ -1099,9 +1099,9 @@ declare const inputDeclarations: {
1099
1099
  message: z.ZodOptional<z.ZodString>;
1100
1100
  code: z.ZodOptional<z.ZodString>;
1101
1101
  severity: z.ZodOptional<z.ZodEnum<{
1102
- error: "error";
1103
- warning: "warning";
1104
1102
  info: "info";
1103
+ warning: "warning";
1104
+ error: "error";
1105
1105
  }>>;
1106
1106
  }, z.core.$loose>]>>;
1107
1107
  message: z.ZodOptional<z.ZodString>;