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

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
- info: "info";
22
- warning: "warning";
23
21
  error: "error";
22
+ warning: "warning";
23
+ info: "info";
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
- primary: "primary";
37
- secondary: "secondary";
38
36
  danger: "danger";
37
+ secondary: "secondary";
38
+ primary: "primary";
39
39
  }>>;
40
40
  size: z.ZodOptional<z.ZodEnum<{
41
41
  sm: "sm";
@@ -90,15 +90,17 @@ declare const pressableSchema: z.ZodObject<{
90
90
  borderColor: z.ZodOptional<z.ZodEnum<{
91
91
  default: "default";
92
92
  success: "success";
93
- info: "info";
94
93
  warning: "warning";
95
- caution: "caution";
94
+ info: "info";
96
95
  danger: "danger";
96
+ caution: "caution";
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";
102
104
  sm: "sm";
103
105
  md: "md";
104
106
  lg: "lg";
@@ -106,8 +108,6 @@ declare const pressableSchema: z.ZodObject<{
106
108
  "2xl": "2xl";
107
109
  "3xl": "3xl";
108
110
  "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,15 +166,17 @@ declare const formSchema: z.ZodObject<{
166
166
  borderColor: z.ZodOptional<z.ZodEnum<{
167
167
  default: "default";
168
168
  success: "success";
169
- info: "info";
170
169
  warning: "warning";
171
- caution: "caution";
170
+ info: "info";
172
171
  danger: "danger";
172
+ caution: "caution";
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";
178
180
  sm: "sm";
179
181
  md: "md";
180
182
  lg: "lg";
@@ -182,8 +184,6 @@ declare const formSchema: z.ZodObject<{
182
184
  "2xl": "2xl";
183
185
  "3xl": "3xl";
184
186
  "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
- info: "info";
221
- warning: "warning";
222
220
  error: "error";
221
+ warning: "warning";
222
+ info: "info";
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
- info: "info";
262
- warning: "warning";
263
261
  error: "error";
262
+ warning: "warning";
263
+ info: "info";
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
- info: "info";
294
- warning: "warning";
295
293
  error: "error";
294
+ warning: "warning";
295
+ info: "info";
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
- info: "info";
332
- warning: "warning";
333
331
  error: "error";
332
+ warning: "warning";
333
+ info: "info";
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
- info: "info";
364
- warning: "warning";
365
363
  error: "error";
364
+ warning: "warning";
365
+ info: "info";
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
- info: "info";
398
- warning: "warning";
399
397
  error: "error";
398
+ warning: "warning";
399
+ info: "info";
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
- info: "info";
431
- warning: "warning";
432
430
  error: "error";
431
+ warning: "warning";
432
+ info: "info";
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
- info: "info";
468
- warning: "warning";
469
467
  error: "error";
468
+ warning: "warning";
469
+ info: "info";
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
- info: "info";
502
- warning: "warning";
503
501
  error: "error";
502
+ warning: "warning";
503
+ info: "info";
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
- info: "info";
547
- warning: "warning";
548
546
  error: "error";
547
+ warning: "warning";
548
+ info: "info";
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
- primary: "primary";
562
- secondary: "secondary";
563
561
  danger: "danger";
562
+ secondary: "secondary";
563
+ primary: "primary";
564
564
  }>>;
565
565
  size: z.ZodOptional<z.ZodEnum<{
566
566
  sm: "sm";
@@ -628,15 +628,17 @@ declare const inputDeclarations: {
628
628
  borderColor: z.ZodOptional<z.ZodEnum<{
629
629
  default: "default";
630
630
  success: "success";
631
- info: "info";
632
631
  warning: "warning";
633
- caution: "caution";
632
+ info: "info";
634
633
  danger: "danger";
634
+ caution: "caution";
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";
640
642
  sm: "sm";
641
643
  md: "md";
642
644
  lg: "lg";
@@ -644,8 +646,6 @@ declare const inputDeclarations: {
644
646
  "2xl": "2xl";
645
647
  "3xl": "3xl";
646
648
  "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,15 +720,17 @@ declare const inputDeclarations: {
720
720
  borderColor: z.ZodOptional<z.ZodEnum<{
721
721
  default: "default";
722
722
  success: "success";
723
- info: "info";
724
723
  warning: "warning";
725
- caution: "caution";
724
+ info: "info";
726
725
  danger: "danger";
726
+ caution: "caution";
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";
732
734
  sm: "sm";
733
735
  md: "md";
734
736
  lg: "lg";
@@ -736,8 +738,6 @@ declare const inputDeclarations: {
736
738
  "2xl": "2xl";
737
739
  "3xl": "3xl";
738
740
  "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
- info: "info";
787
- warning: "warning";
788
786
  error: "error";
787
+ warning: "warning";
788
+ info: "info";
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
- info: "info";
832
- warning: "warning";
833
831
  error: "error";
832
+ warning: "warning";
833
+ info: "info";
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
- info: "info";
868
- warning: "warning";
869
867
  error: "error";
868
+ warning: "warning";
869
+ info: "info";
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
- info: "info";
910
- warning: "warning";
911
909
  error: "error";
910
+ warning: "warning";
911
+ info: "info";
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
- info: "info";
949
- warning: "warning";
950
948
  error: "error";
949
+ warning: "warning";
950
+ info: "info";
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
- info: "info";
987
- warning: "warning";
988
986
  error: "error";
987
+ warning: "warning";
988
+ info: "info";
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
- info: "info";
1024
- warning: "warning";
1025
1023
  error: "error";
1024
+ warning: "warning";
1025
+ info: "info";
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
- info: "info";
1065
- warning: "warning";
1066
1064
  error: "error";
1065
+ warning: "warning";
1066
+ info: "info";
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
- info: "info";
1103
- warning: "warning";
1104
1102
  error: "error";
1103
+ warning: "warning";
1104
+ info: "info";
1105
1105
  }>>;
1106
1106
  }, z.core.$loose>]>>;
1107
1107
  message: z.ZodOptional<z.ZodString>;