@copilotkit/shared 2.0.0-rc.32 → 2.0.0-rc.34

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>;
@@ -160,8 +160,8 @@ declare const videoSchema: z.ZodObject<{
160
160
  language: z.ZodOptional<z.ZodString>;
161
161
  label: z.ZodOptional<z.ZodString>;
162
162
  kind: z.ZodOptional<z.ZodEnum<{
163
- captions: "captions";
164
163
  subtitles: "subtitles";
164
+ captions: "captions";
165
165
  descriptions: "descriptions";
166
166
  }>>;
167
167
  }, z.core.$strip>>>;
@@ -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>;
@@ -362,8 +362,8 @@ declare const mediaDeclarations: {
362
362
  language: z.ZodOptional<z.ZodString>;
363
363
  label: z.ZodOptional<z.ZodString>;
364
364
  kind: z.ZodOptional<z.ZodEnum<{
365
- captions: "captions";
366
365
  subtitles: "subtitles";
366
+ captions: "captions";
367
367
  descriptions: "descriptions";
368
368
  }>>;
369
369
  }, z.core.$strip>>>;
@@ -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
+ "2xs": "2xs";
59
+ xs: "xs";
58
60
  sm: "sm";
59
61
  md: "md";
60
62
  lg: "lg";
61
63
  "3xs": "3xs";
62
- "2xs": "2xs";
63
- xs: "xs";
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
+ "2xs": "2xs";
125
+ xs: "xs";
124
126
  sm: "sm";
125
127
  md: "md";
126
128
  lg: "lg";
127
129
  "3xs": "3xs";
128
- "2xs": "2xs";
129
- xs: "xs";
130
130
  }>>;
131
131
  fontWeight: z.ZodOptional<z.ZodEnum<{
132
132
  normal: "normal";
@@ -161,12 +161,12 @@ 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
165
  info: "info";
167
166
  warning: "warning";
168
167
  danger: "danger";
169
168
  discovery: "discovery";
169
+ secondary: "secondary";
170
170
  }>>;
171
171
  size: z.ZodOptional<z.ZodEnum<{
172
172
  sm: "sm";
@@ -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
+ "2xs": "2xs";
207
+ xs: "xs";
206
208
  sm: "sm";
207
209
  md: "md";
208
210
  lg: "lg";
209
211
  "3xs": "3xs";
210
- "2xs": "2xs";
211
- xs: "xs";
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
+ "2xs": "2xs";
287
+ xs: "xs";
286
288
  sm: "sm";
287
289
  md: "md";
288
290
  lg: "lg";
289
291
  "3xs": "3xs";
290
- "2xs": "2xs";
291
- xs: "xs";
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
+ "2xs": "2xs";
361
+ xs: "xs";
360
362
  sm: "sm";
361
363
  md: "md";
362
364
  lg: "lg";
363
365
  "3xs": "3xs";
364
- "2xs": "2xs";
365
- xs: "xs";
366
366
  }>>;
367
367
  fontWeight: z.ZodOptional<z.ZodEnum<{
368
368
  normal: "normal";
@@ -414,12 +414,12 @@ 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
418
  info: "info";
420
419
  warning: "warning";
421
420
  danger: "danger";
422
421
  discovery: "discovery";
422
+ secondary: "secondary";
423
423
  }>>;
424
424
  size: z.ZodOptional<z.ZodEnum<{
425
425
  sm: "sm";
@@ -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
+ "2xs": "2xs";
478
+ xs: "xs";
477
479
  sm: "sm";
478
480
  md: "md";
479
481
  lg: "lg";
480
482
  "3xs": "3xs";
481
- "2xs": "2xs";
482
- xs: "xs";
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
+ "2xs": "2xs";
59
+ xs: "xs";
58
60
  sm: "sm";
59
61
  md: "md";
60
62
  lg: "lg";
61
63
  "3xs": "3xs";
62
- "2xs": "2xs";
63
- xs: "xs";
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
+ "2xs": "2xs";
125
+ xs: "xs";
124
126
  sm: "sm";
125
127
  md: "md";
126
128
  lg: "lg";
127
129
  "3xs": "3xs";
128
- "2xs": "2xs";
129
- xs: "xs";
130
130
  }>>;
131
131
  fontWeight: z.ZodOptional<z.ZodEnum<{
132
132
  normal: "normal";
@@ -161,12 +161,12 @@ 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
165
  info: "info";
167
166
  warning: "warning";
168
167
  danger: "danger";
169
168
  discovery: "discovery";
169
+ secondary: "secondary";
170
170
  }>>;
171
171
  size: z.ZodOptional<z.ZodEnum<{
172
172
  sm: "sm";
@@ -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
+ "2xs": "2xs";
207
+ xs: "xs";
206
208
  sm: "sm";
207
209
  md: "md";
208
210
  lg: "lg";
209
211
  "3xs": "3xs";
210
- "2xs": "2xs";
211
- xs: "xs";
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
+ "2xs": "2xs";
287
+ xs: "xs";
286
288
  sm: "sm";
287
289
  md: "md";
288
290
  lg: "lg";
289
291
  "3xs": "3xs";
290
- "2xs": "2xs";
291
- xs: "xs";
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
+ "2xs": "2xs";
361
+ xs: "xs";
360
362
  sm: "sm";
361
363
  md: "md";
362
364
  lg: "lg";
363
365
  "3xs": "3xs";
364
- "2xs": "2xs";
365
- xs: "xs";
366
366
  }>>;
367
367
  fontWeight: z.ZodOptional<z.ZodEnum<{
368
368
  normal: "normal";
@@ -414,12 +414,12 @@ 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
418
  info: "info";
420
419
  warning: "warning";
421
420
  danger: "danger";
422
421
  discovery: "discovery";
422
+ secondary: "secondary";
423
423
  }>>;
424
424
  size: z.ZodOptional<z.ZodEnum<{
425
425
  sm: "sm";
@@ -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
+ "2xs": "2xs";
478
+ xs: "xs";
477
479
  sm: "sm";
478
480
  md: "md";
479
481
  lg: "lg";
480
482
  "3xs": "3xs";
481
- "2xs": "2xs";
482
- xs: "xs";
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.32";
2169
+ var version = "2.0.0-rc.34";
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.32";
3
+ var version = "2.0.0-rc.34";
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.32";
2
+ var version = "2.0.0-rc.34";
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.32",
3
+ "version": "2.0.0-rc.34",
4
4
  "private": false,
5
5
  "keywords": [
6
6
  "ai",