@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.
@@ -25,6 +25,8 @@ declare const imageSchema: z.ZodObject<{
25
25
  scaleDown: "scaleDown";
26
26
  }>>;
27
27
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
28
+ "2xs": "2xs";
29
+ xs: "xs";
28
30
  sm: "sm";
29
31
  md: "md";
30
32
  lg: "lg";
@@ -32,8 +34,6 @@ declare const imageSchema: z.ZodObject<{
32
34
  "2xl": "2xl";
33
35
  "3xl": "3xl";
34
36
  "4xl": "4xl";
35
- "2xs": "2xs";
36
- xs: "xs";
37
37
  full: "full";
38
38
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
39
39
  topLeft: z.ZodOptional<z.ZodString>;
@@ -209,6 +209,8 @@ declare const mediaDeclarations: {
209
209
  scaleDown: "scaleDown";
210
210
  }>>;
211
211
  radius: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
212
+ "2xs": "2xs";
213
+ xs: "xs";
212
214
  sm: "sm";
213
215
  md: "md";
214
216
  lg: "lg";
@@ -216,8 +218,6 @@ declare const mediaDeclarations: {
216
218
  "2xl": "2xl";
217
219
  "3xl": "3xl";
218
220
  "4xl": "4xl";
219
- "2xs": "2xs";
220
- xs: "xs";
221
221
  full: "full";
222
222
  }>, z.ZodNumber, z.ZodString, z.ZodObject<{
223
223
  topLeft: z.ZodOptional<z.ZodString>;
@@ -55,12 +55,12 @@ declare const textSchema: z.ZodObject<{
55
55
  weight: z.ZodOptional<z.ZodNumber>;
56
56
  text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
57
57
  size: z.ZodOptional<z.ZodEnum<{
58
- sm: "sm";
59
- md: "md";
60
- lg: "lg";
61
58
  "3xs": "3xs";
62
59
  "2xs": "2xs";
63
60
  xs: "xs";
61
+ sm: "sm";
62
+ md: "md";
63
+ lg: "lg";
64
64
  }>>;
65
65
  fontSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
66
66
  lineHeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -121,12 +121,12 @@ declare const labelSchema: z.ZodObject<{
121
121
  htmlFor: z.ZodOptional<z.ZodString>;
122
122
  color: z.ZodOptional<z.ZodString>;
123
123
  size: z.ZodOptional<z.ZodEnum<{
124
- sm: "sm";
125
- md: "md";
126
- lg: "lg";
127
124
  "3xs": "3xs";
128
125
  "2xs": "2xs";
129
126
  xs: "xs";
127
+ sm: "sm";
128
+ md: "md";
129
+ lg: "lg";
130
130
  }>>;
131
131
  fontWeight: z.ZodOptional<z.ZodEnum<{
132
132
  normal: "normal";
@@ -161,11 +161,11 @@ declare const BADGE_SIZES: readonly ["sm", "md", "lg"];
161
161
  declare const badgeSchema: z.ZodObject<{
162
162
  label: z.ZodString;
163
163
  color: z.ZodOptional<z.ZodEnum<{
164
- secondary: "secondary";
165
164
  success: "success";
166
- info: "info";
167
165
  warning: "warning";
166
+ info: "info";
168
167
  danger: "danger";
168
+ secondary: "secondary";
169
169
  discovery: "discovery";
170
170
  }>>;
171
171
  size: z.ZodOptional<z.ZodEnum<{
@@ -203,12 +203,12 @@ declare const mathSchema: z.ZodObject<{
203
203
  declare const shimmerSchema: z.ZodObject<{
204
204
  text: z.ZodString;
205
205
  size: z.ZodOptional<z.ZodEnum<{
206
- sm: "sm";
207
- md: "md";
208
- lg: "lg";
209
206
  "3xs": "3xs";
210
207
  "2xs": "2xs";
211
208
  xs: "xs";
209
+ sm: "sm";
210
+ md: "md";
211
+ lg: "lg";
212
212
  }>>;
213
213
  lineThrough: z.ZodOptional<z.ZodBoolean>;
214
214
  color: z.ZodOptional<z.ZodString>;
@@ -283,12 +283,12 @@ declare const textDeclarations: {
283
283
  weight: z.ZodOptional<z.ZodNumber>;
284
284
  text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
285
285
  size: z.ZodOptional<z.ZodEnum<{
286
- sm: "sm";
287
- md: "md";
288
- lg: "lg";
289
286
  "3xs": "3xs";
290
287
  "2xs": "2xs";
291
288
  xs: "xs";
289
+ sm: "sm";
290
+ md: "md";
291
+ lg: "lg";
292
292
  }>>;
293
293
  fontSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
294
294
  lineHeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -357,12 +357,12 @@ declare const textDeclarations: {
357
357
  htmlFor: z.ZodOptional<z.ZodString>;
358
358
  color: z.ZodOptional<z.ZodString>;
359
359
  size: z.ZodOptional<z.ZodEnum<{
360
- sm: "sm";
361
- md: "md";
362
- lg: "lg";
363
360
  "3xs": "3xs";
364
361
  "2xs": "2xs";
365
362
  xs: "xs";
363
+ sm: "sm";
364
+ md: "md";
365
+ lg: "lg";
366
366
  }>>;
367
367
  fontWeight: z.ZodOptional<z.ZodEnum<{
368
368
  normal: "normal";
@@ -414,11 +414,11 @@ declare const textDeclarations: {
414
414
  props: z.ZodObject<{
415
415
  label: z.ZodString;
416
416
  color: z.ZodOptional<z.ZodEnum<{
417
- secondary: "secondary";
418
417
  success: "success";
419
- info: "info";
420
418
  warning: "warning";
419
+ info: "info";
421
420
  danger: "danger";
421
+ secondary: "secondary";
422
422
  discovery: "discovery";
423
423
  }>>;
424
424
  size: z.ZodOptional<z.ZodEnum<{
@@ -474,12 +474,12 @@ declare const textDeclarations: {
474
474
  props: z.ZodObject<{
475
475
  text: z.ZodString;
476
476
  size: z.ZodOptional<z.ZodEnum<{
477
- sm: "sm";
478
- md: "md";
479
- lg: "lg";
480
477
  "3xs": "3xs";
481
478
  "2xs": "2xs";
482
479
  xs: "xs";
480
+ sm: "sm";
481
+ md: "md";
482
+ lg: "lg";
483
483
  }>>;
484
484
  lineThrough: z.ZodOptional<z.ZodBoolean>;
485
485
  color: z.ZodOptional<z.ZodString>;
@@ -55,12 +55,12 @@ declare const textSchema: z.ZodObject<{
55
55
  weight: z.ZodOptional<z.ZodNumber>;
56
56
  text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
57
57
  size: z.ZodOptional<z.ZodEnum<{
58
- sm: "sm";
59
- md: "md";
60
- lg: "lg";
61
58
  "3xs": "3xs";
62
59
  "2xs": "2xs";
63
60
  xs: "xs";
61
+ sm: "sm";
62
+ md: "md";
63
+ lg: "lg";
64
64
  }>>;
65
65
  fontSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
66
66
  lineHeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -121,12 +121,12 @@ declare const labelSchema: z.ZodObject<{
121
121
  htmlFor: z.ZodOptional<z.ZodString>;
122
122
  color: z.ZodOptional<z.ZodString>;
123
123
  size: z.ZodOptional<z.ZodEnum<{
124
- sm: "sm";
125
- md: "md";
126
- lg: "lg";
127
124
  "3xs": "3xs";
128
125
  "2xs": "2xs";
129
126
  xs: "xs";
127
+ sm: "sm";
128
+ md: "md";
129
+ lg: "lg";
130
130
  }>>;
131
131
  fontWeight: z.ZodOptional<z.ZodEnum<{
132
132
  normal: "normal";
@@ -161,11 +161,11 @@ declare const BADGE_SIZES: readonly ["sm", "md", "lg"];
161
161
  declare const badgeSchema: z.ZodObject<{
162
162
  label: z.ZodString;
163
163
  color: z.ZodOptional<z.ZodEnum<{
164
- secondary: "secondary";
165
164
  success: "success";
166
- info: "info";
167
165
  warning: "warning";
166
+ info: "info";
168
167
  danger: "danger";
168
+ secondary: "secondary";
169
169
  discovery: "discovery";
170
170
  }>>;
171
171
  size: z.ZodOptional<z.ZodEnum<{
@@ -203,12 +203,12 @@ declare const mathSchema: z.ZodObject<{
203
203
  declare const shimmerSchema: z.ZodObject<{
204
204
  text: z.ZodString;
205
205
  size: z.ZodOptional<z.ZodEnum<{
206
- sm: "sm";
207
- md: "md";
208
- lg: "lg";
209
206
  "3xs": "3xs";
210
207
  "2xs": "2xs";
211
208
  xs: "xs";
209
+ sm: "sm";
210
+ md: "md";
211
+ lg: "lg";
212
212
  }>>;
213
213
  lineThrough: z.ZodOptional<z.ZodBoolean>;
214
214
  color: z.ZodOptional<z.ZodString>;
@@ -283,12 +283,12 @@ declare const textDeclarations: {
283
283
  weight: z.ZodOptional<z.ZodNumber>;
284
284
  text: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
285
285
  size: z.ZodOptional<z.ZodEnum<{
286
- sm: "sm";
287
- md: "md";
288
- lg: "lg";
289
286
  "3xs": "3xs";
290
287
  "2xs": "2xs";
291
288
  xs: "xs";
289
+ sm: "sm";
290
+ md: "md";
291
+ lg: "lg";
292
292
  }>>;
293
293
  fontSize: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
294
294
  lineHeight: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -357,12 +357,12 @@ declare const textDeclarations: {
357
357
  htmlFor: z.ZodOptional<z.ZodString>;
358
358
  color: z.ZodOptional<z.ZodString>;
359
359
  size: z.ZodOptional<z.ZodEnum<{
360
- sm: "sm";
361
- md: "md";
362
- lg: "lg";
363
360
  "3xs": "3xs";
364
361
  "2xs": "2xs";
365
362
  xs: "xs";
363
+ sm: "sm";
364
+ md: "md";
365
+ lg: "lg";
366
366
  }>>;
367
367
  fontWeight: z.ZodOptional<z.ZodEnum<{
368
368
  normal: "normal";
@@ -414,11 +414,11 @@ declare const textDeclarations: {
414
414
  props: z.ZodObject<{
415
415
  label: z.ZodString;
416
416
  color: z.ZodOptional<z.ZodEnum<{
417
- secondary: "secondary";
418
417
  success: "success";
419
- info: "info";
420
418
  warning: "warning";
419
+ info: "info";
421
420
  danger: "danger";
421
+ secondary: "secondary";
422
422
  discovery: "discovery";
423
423
  }>>;
424
424
  size: z.ZodOptional<z.ZodEnum<{
@@ -474,12 +474,12 @@ declare const textDeclarations: {
474
474
  props: z.ZodObject<{
475
475
  text: z.ZodString;
476
476
  size: z.ZodOptional<z.ZodEnum<{
477
- sm: "sm";
478
- md: "md";
479
- lg: "lg";
480
477
  "3xs": "3xs";
481
478
  "2xs": "2xs";
482
479
  xs: "xs";
480
+ sm: "sm";
481
+ md: "md";
482
+ lg: "lg";
483
483
  }>>;
484
484
  lineThrough: z.ZodOptional<z.ZodBoolean>;
485
485
  color: z.ZodOptional<z.ZodString>;
package/dist/index.umd.js CHANGED
@@ -2166,7 +2166,7 @@ ${getSeeMoreMarkdown(troubleshootingLink)}`;
2166
2166
 
2167
2167
  //#endregion
2168
2168
  //#region package.json
2169
- var version = "2.0.0-rc.48";
2169
+ var version = "2.0.0-rc.49";
2170
2170
 
2171
2171
  //#endregion
2172
2172
  //#region src/generative-ui/basic-functions.ts
package/dist/package.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  //#region package.json
3
- var version = "2.0.0-rc.48";
3
+ var version = "2.0.0-rc.49";
4
4
 
5
5
  //#endregion
6
6
  Object.defineProperty(exports, 'version', {
package/dist/package.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "2.0.0-rc.48";
2
+ var version = "2.0.0-rc.49";
3
3
 
4
4
  //#endregion
5
5
  export { version };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/shared",
3
- "version": "2.0.0-rc.48",
3
+ "version": "2.0.0-rc.49",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "ai",