@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.
- package/dist/generative-ui/standard/checks.d.cts +4 -4
- package/dist/generative-ui/standard/checks.d.mts +4 -4
- package/dist/generative-ui/standard/composites.d.cts +4 -4
- package/dist/generative-ui/standard/composites.d.mts +4 -4
- package/dist/generative-ui/standard/declarations.d.cts +91 -91
- package/dist/generative-ui/standard/declarations.d.mts +91 -91
- package/dist/generative-ui/standard/inputs.d.cts +60 -60
- package/dist/generative-ui/standard/inputs.d.mts +60 -60
- package/dist/generative-ui/standard/layout.d.cts +90 -90
- package/dist/generative-ui/standard/layout.d.mts +90 -90
- package/dist/generative-ui/standard/media.d.cts +4 -4
- package/dist/generative-ui/standard/media.d.mts +4 -4
- package/dist/generative-ui/standard/text.d.cts +22 -22
- package/dist/generative-ui/standard/text.d.mts +22 -22
- package/dist/index.umd.js +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +1 -1
|
@@ -25,8 +25,6 @@ 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";
|
|
30
28
|
sm: "sm";
|
|
31
29
|
md: "md";
|
|
32
30
|
lg: "lg";
|
|
@@ -34,6 +32,8 @@ declare const imageSchema: z.ZodObject<{
|
|
|
34
32
|
"2xl": "2xl";
|
|
35
33
|
"3xl": "3xl";
|
|
36
34
|
"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,8 +209,6 @@ 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";
|
|
214
212
|
sm: "sm";
|
|
215
213
|
md: "md";
|
|
216
214
|
lg: "lg";
|
|
@@ -218,6 +216,8 @@ declare const mediaDeclarations: {
|
|
|
218
216
|
"2xl": "2xl";
|
|
219
217
|
"3xl": "3xl";
|
|
220
218
|
"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
|
-
"3xs": "3xs";
|
|
59
|
-
"2xs": "2xs";
|
|
60
|
-
xs: "xs";
|
|
61
58
|
sm: "sm";
|
|
62
59
|
md: "md";
|
|
63
60
|
lg: "lg";
|
|
61
|
+
"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
|
-
"3xs": "3xs";
|
|
125
|
-
"2xs": "2xs";
|
|
126
|
-
xs: "xs";
|
|
127
124
|
sm: "sm";
|
|
128
125
|
md: "md";
|
|
129
126
|
lg: "lg";
|
|
127
|
+
"3xs": "3xs";
|
|
128
|
+
"2xs": "2xs";
|
|
129
|
+
xs: "xs";
|
|
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";
|
|
164
165
|
success: "success";
|
|
165
|
-
warning: "warning";
|
|
166
166
|
info: "info";
|
|
167
|
+
warning: "warning";
|
|
167
168
|
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
|
-
"3xs": "3xs";
|
|
207
|
-
"2xs": "2xs";
|
|
208
|
-
xs: "xs";
|
|
209
206
|
sm: "sm";
|
|
210
207
|
md: "md";
|
|
211
208
|
lg: "lg";
|
|
209
|
+
"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
|
-
"3xs": "3xs";
|
|
287
|
-
"2xs": "2xs";
|
|
288
|
-
xs: "xs";
|
|
289
286
|
sm: "sm";
|
|
290
287
|
md: "md";
|
|
291
288
|
lg: "lg";
|
|
289
|
+
"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
|
-
"3xs": "3xs";
|
|
361
|
-
"2xs": "2xs";
|
|
362
|
-
xs: "xs";
|
|
363
360
|
sm: "sm";
|
|
364
361
|
md: "md";
|
|
365
362
|
lg: "lg";
|
|
363
|
+
"3xs": "3xs";
|
|
364
|
+
"2xs": "2xs";
|
|
365
|
+
xs: "xs";
|
|
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";
|
|
417
418
|
success: "success";
|
|
418
|
-
warning: "warning";
|
|
419
419
|
info: "info";
|
|
420
|
+
warning: "warning";
|
|
420
421
|
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
|
-
"3xs": "3xs";
|
|
478
|
-
"2xs": "2xs";
|
|
479
|
-
xs: "xs";
|
|
480
477
|
sm: "sm";
|
|
481
478
|
md: "md";
|
|
482
479
|
lg: "lg";
|
|
480
|
+
"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
|
-
"3xs": "3xs";
|
|
59
|
-
"2xs": "2xs";
|
|
60
|
-
xs: "xs";
|
|
61
58
|
sm: "sm";
|
|
62
59
|
md: "md";
|
|
63
60
|
lg: "lg";
|
|
61
|
+
"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
|
-
"3xs": "3xs";
|
|
125
|
-
"2xs": "2xs";
|
|
126
|
-
xs: "xs";
|
|
127
124
|
sm: "sm";
|
|
128
125
|
md: "md";
|
|
129
126
|
lg: "lg";
|
|
127
|
+
"3xs": "3xs";
|
|
128
|
+
"2xs": "2xs";
|
|
129
|
+
xs: "xs";
|
|
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";
|
|
164
165
|
success: "success";
|
|
165
|
-
warning: "warning";
|
|
166
166
|
info: "info";
|
|
167
|
+
warning: "warning";
|
|
167
168
|
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
|
-
"3xs": "3xs";
|
|
207
|
-
"2xs": "2xs";
|
|
208
|
-
xs: "xs";
|
|
209
206
|
sm: "sm";
|
|
210
207
|
md: "md";
|
|
211
208
|
lg: "lg";
|
|
209
|
+
"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
|
-
"3xs": "3xs";
|
|
287
|
-
"2xs": "2xs";
|
|
288
|
-
xs: "xs";
|
|
289
286
|
sm: "sm";
|
|
290
287
|
md: "md";
|
|
291
288
|
lg: "lg";
|
|
289
|
+
"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
|
-
"3xs": "3xs";
|
|
361
|
-
"2xs": "2xs";
|
|
362
|
-
xs: "xs";
|
|
363
360
|
sm: "sm";
|
|
364
361
|
md: "md";
|
|
365
362
|
lg: "lg";
|
|
363
|
+
"3xs": "3xs";
|
|
364
|
+
"2xs": "2xs";
|
|
365
|
+
xs: "xs";
|
|
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";
|
|
417
418
|
success: "success";
|
|
418
|
-
warning: "warning";
|
|
419
419
|
info: "info";
|
|
420
|
+
warning: "warning";
|
|
420
421
|
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
|
-
"3xs": "3xs";
|
|
478
|
-
"2xs": "2xs";
|
|
479
|
-
xs: "xs";
|
|
480
477
|
sm: "sm";
|
|
481
478
|
md: "md";
|
|
482
479
|
lg: "lg";
|
|
480
|
+
"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
package/dist/package.cjs
CHANGED
package/dist/package.mjs
CHANGED