@copilotkit/shared 1.87.0 → 1.88.0
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/chart.d.cts +4 -4
- package/dist/generative-ui/standard/chart.d.mts +4 -4
- package/dist/generative-ui/standard/composites.d.cts +18 -18
- package/dist/generative-ui/standard/composites.d.mts +18 -18
- package/dist/generative-ui/standard/data.d.cts +42 -42
- package/dist/generative-ui/standard/data.d.mts +42 -42
- package/dist/generative-ui/standard/declarations.d.cts +284 -284
- package/dist/generative-ui/standard/declarations.d.mts +284 -284
- package/dist/generative-ui/standard/feedback.d.cts +8 -8
- package/dist/generative-ui/standard/feedback.d.mts +8 -8
- package/dist/generative-ui/standard/inputs.d.cts +188 -188
- package/dist/generative-ui/standard/inputs.d.mts +188 -188
- package/dist/generative-ui/standard/layout.d.cts +224 -224
- package/dist/generative-ui/standard/layout.d.mts +224 -224
- package/dist/generative-ui/standard/map.d.cts +6 -6
- package/dist/generative-ui/standard/map.d.mts +6 -6
- package/dist/generative-ui/standard/media.d.cts +36 -36
- package/dist/generative-ui/standard/media.d.mts +36 -36
- package/dist/generative-ui/standard/text.d.cts +28 -28
- package/dist/generative-ui/standard/text.d.mts +28 -28
- package/dist/index.umd.js +1 -1
- package/dist/package.cjs +1 -1
- package/dist/package.mjs +1 -1
- package/package.json +2 -2
- package/src/utils/__tests__/conditions.test.ts +2 -2
|
@@ -11,14 +11,14 @@ declare const mapMarker: z.ZodObject<{
|
|
|
11
11
|
label: string;
|
|
12
12
|
lat: number;
|
|
13
13
|
lng: number;
|
|
14
|
-
icon?: string | undefined;
|
|
15
14
|
category?: string | undefined;
|
|
15
|
+
icon?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
label: string;
|
|
18
18
|
lat: number;
|
|
19
19
|
lng: number;
|
|
20
|
-
icon?: string | undefined;
|
|
21
20
|
category?: string | undefined;
|
|
21
|
+
icon?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
type MapMarker = z.output<typeof mapMarker>;
|
|
24
24
|
declare const mapSchema: z.ZodObject<{
|
|
@@ -32,14 +32,14 @@ declare const mapSchema: z.ZodObject<{
|
|
|
32
32
|
label: string;
|
|
33
33
|
lat: number;
|
|
34
34
|
lng: number;
|
|
35
|
-
icon?: string | undefined;
|
|
36
35
|
category?: string | undefined;
|
|
36
|
+
icon?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
label: string;
|
|
39
39
|
lat: number;
|
|
40
40
|
lng: number;
|
|
41
|
-
icon?: string | undefined;
|
|
42
41
|
category?: string | undefined;
|
|
42
|
+
icon?: string | undefined;
|
|
43
43
|
}>, "many">>;
|
|
44
44
|
route: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
selected: z.ZodOptional<z.ZodString>;
|
|
@@ -64,8 +64,8 @@ declare const mapSchema: z.ZodObject<{
|
|
|
64
64
|
label: string;
|
|
65
65
|
lat: number;
|
|
66
66
|
lng: number;
|
|
67
|
-
icon?: string | undefined;
|
|
68
67
|
category?: string | undefined;
|
|
68
|
+
icon?: string | undefined;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
selected?: string | undefined;
|
|
71
71
|
route?: boolean | undefined;
|
|
@@ -80,8 +80,8 @@ declare const mapSchema: z.ZodObject<{
|
|
|
80
80
|
label: string;
|
|
81
81
|
lat: number;
|
|
82
82
|
lng: number;
|
|
83
|
-
icon?: string | undefined;
|
|
84
83
|
category?: string | undefined;
|
|
84
|
+
icon?: string | undefined;
|
|
85
85
|
}[] | undefined;
|
|
86
86
|
selected?: string | undefined;
|
|
87
87
|
route?: boolean | undefined;
|
|
@@ -11,14 +11,14 @@ declare const mapMarker: z.ZodObject<{
|
|
|
11
11
|
label: string;
|
|
12
12
|
lat: number;
|
|
13
13
|
lng: number;
|
|
14
|
-
icon?: string | undefined;
|
|
15
14
|
category?: string | undefined;
|
|
15
|
+
icon?: string | undefined;
|
|
16
16
|
}, {
|
|
17
17
|
label: string;
|
|
18
18
|
lat: number;
|
|
19
19
|
lng: number;
|
|
20
|
-
icon?: string | undefined;
|
|
21
20
|
category?: string | undefined;
|
|
21
|
+
icon?: string | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
type MapMarker = z.output<typeof mapMarker>;
|
|
24
24
|
declare const mapSchema: z.ZodObject<{
|
|
@@ -32,14 +32,14 @@ declare const mapSchema: z.ZodObject<{
|
|
|
32
32
|
label: string;
|
|
33
33
|
lat: number;
|
|
34
34
|
lng: number;
|
|
35
|
-
icon?: string | undefined;
|
|
36
35
|
category?: string | undefined;
|
|
36
|
+
icon?: string | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
label: string;
|
|
39
39
|
lat: number;
|
|
40
40
|
lng: number;
|
|
41
|
-
icon?: string | undefined;
|
|
42
41
|
category?: string | undefined;
|
|
42
|
+
icon?: string | undefined;
|
|
43
43
|
}>, "many">>;
|
|
44
44
|
route: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
selected: z.ZodOptional<z.ZodString>;
|
|
@@ -64,8 +64,8 @@ declare const mapSchema: z.ZodObject<{
|
|
|
64
64
|
label: string;
|
|
65
65
|
lat: number;
|
|
66
66
|
lng: number;
|
|
67
|
-
icon?: string | undefined;
|
|
68
67
|
category?: string | undefined;
|
|
68
|
+
icon?: string | undefined;
|
|
69
69
|
}[] | undefined;
|
|
70
70
|
selected?: string | undefined;
|
|
71
71
|
route?: boolean | undefined;
|
|
@@ -80,8 +80,8 @@ declare const mapSchema: z.ZodObject<{
|
|
|
80
80
|
label: string;
|
|
81
81
|
lat: number;
|
|
82
82
|
lng: number;
|
|
83
|
-
icon?: string | undefined;
|
|
84
83
|
category?: string | undefined;
|
|
84
|
+
icon?: string | undefined;
|
|
85
85
|
}[] | undefined;
|
|
86
86
|
selected?: string | undefined;
|
|
87
87
|
route?: boolean | undefined;
|
|
@@ -46,19 +46,16 @@ declare const imageSchema: z.ZodObject<{
|
|
|
46
46
|
href: z.ZodOptional<z.ZodString>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
label: string;
|
|
49
|
-
href?: string | undefined;
|
|
50
49
|
icon?: string | undefined;
|
|
50
|
+
href?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
label: string;
|
|
53
|
-
href?: string | undefined;
|
|
54
53
|
icon?: string | undefined;
|
|
54
|
+
href?: string | undefined;
|
|
55
55
|
}>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
url: string;
|
|
58
58
|
description?: string | undefined;
|
|
59
|
-
width?: string | number | undefined;
|
|
60
|
-
weight?: number | undefined;
|
|
61
|
-
height?: string | number | undefined;
|
|
62
59
|
background?: string | undefined;
|
|
63
60
|
radius?: string | number | {
|
|
64
61
|
topLeft?: string | undefined;
|
|
@@ -66,12 +63,15 @@ declare const imageSchema: z.ZodObject<{
|
|
|
66
63
|
bottomLeft?: string | undefined;
|
|
67
64
|
bottomRight?: string | undefined;
|
|
68
65
|
} | undefined;
|
|
66
|
+
width?: string | number | undefined;
|
|
67
|
+
height?: string | number | undefined;
|
|
69
68
|
minWidth?: string | number | undefined;
|
|
70
69
|
maxWidth?: string | number | undefined;
|
|
71
70
|
minHeight?: string | number | undefined;
|
|
72
71
|
maxHeight?: string | number | undefined;
|
|
72
|
+
weight?: number | undefined;
|
|
73
73
|
aspectRatio?: string | undefined;
|
|
74
|
-
variant?: "
|
|
74
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
75
75
|
lightbox?: boolean | undefined;
|
|
76
76
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
77
77
|
frame?: boolean | undefined;
|
|
@@ -81,15 +81,12 @@ declare const imageSchema: z.ZodObject<{
|
|
|
81
81
|
hoverZoom?: boolean | undefined;
|
|
82
82
|
actionOverlay?: {
|
|
83
83
|
label: string;
|
|
84
|
-
href?: string | undefined;
|
|
85
84
|
icon?: string | undefined;
|
|
85
|
+
href?: string | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
url: string;
|
|
89
89
|
description?: string | undefined;
|
|
90
|
-
width?: string | number | undefined;
|
|
91
|
-
weight?: number | undefined;
|
|
92
|
-
height?: string | number | undefined;
|
|
93
90
|
background?: string | undefined;
|
|
94
91
|
radius?: string | number | {
|
|
95
92
|
topLeft?: string | undefined;
|
|
@@ -97,12 +94,15 @@ declare const imageSchema: z.ZodObject<{
|
|
|
97
94
|
bottomLeft?: string | undefined;
|
|
98
95
|
bottomRight?: string | undefined;
|
|
99
96
|
} | undefined;
|
|
97
|
+
width?: string | number | undefined;
|
|
98
|
+
height?: string | number | undefined;
|
|
100
99
|
minWidth?: string | number | undefined;
|
|
101
100
|
maxWidth?: string | number | undefined;
|
|
102
101
|
minHeight?: string | number | undefined;
|
|
103
102
|
maxHeight?: string | number | undefined;
|
|
103
|
+
weight?: number | undefined;
|
|
104
104
|
aspectRatio?: string | undefined;
|
|
105
|
-
variant?: "
|
|
105
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
106
106
|
lightbox?: boolean | undefined;
|
|
107
107
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
108
108
|
frame?: boolean | undefined;
|
|
@@ -112,8 +112,8 @@ declare const imageSchema: z.ZodObject<{
|
|
|
112
112
|
hoverZoom?: boolean | undefined;
|
|
113
113
|
actionOverlay?: {
|
|
114
114
|
label: string;
|
|
115
|
-
href?: string | undefined;
|
|
116
115
|
icon?: string | undefined;
|
|
116
|
+
href?: string | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
declare const iconSchema: z.ZodObject<{
|
|
@@ -137,8 +137,8 @@ declare const iconSchema: z.ZodObject<{
|
|
|
137
137
|
label?: string | undefined;
|
|
138
138
|
inline?: boolean | undefined;
|
|
139
139
|
weight?: number | undefined;
|
|
140
|
-
color?: string | undefined;
|
|
141
140
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
141
|
+
color?: string | undefined;
|
|
142
142
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
143
143
|
}, {
|
|
144
144
|
name: string | {
|
|
@@ -147,8 +147,8 @@ declare const iconSchema: z.ZodObject<{
|
|
|
147
147
|
label?: string | undefined;
|
|
148
148
|
inline?: boolean | undefined;
|
|
149
149
|
weight?: number | undefined;
|
|
150
|
-
color?: string | undefined;
|
|
151
150
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
151
|
+
color?: string | undefined;
|
|
152
152
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
declare const faviconSchema: z.ZodObject<{
|
|
@@ -295,9 +295,9 @@ declare const svgSchema: z.ZodObject<{
|
|
|
295
295
|
}[] | undefined;
|
|
296
296
|
viewBox?: string | undefined;
|
|
297
297
|
width?: string | number | undefined;
|
|
298
|
-
color?: string | undefined;
|
|
299
298
|
height?: string | number | undefined;
|
|
300
299
|
size?: string | number | undefined;
|
|
300
|
+
color?: string | undefined;
|
|
301
301
|
stroke?: string | undefined;
|
|
302
302
|
strokeWidth?: number | undefined;
|
|
303
303
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -345,9 +345,9 @@ declare const svgSchema: z.ZodObject<{
|
|
|
345
345
|
}[] | undefined;
|
|
346
346
|
viewBox?: string | undefined;
|
|
347
347
|
width?: string | number | undefined;
|
|
348
|
-
color?: string | undefined;
|
|
349
348
|
height?: string | number | undefined;
|
|
350
349
|
size?: string | number | undefined;
|
|
350
|
+
color?: string | undefined;
|
|
351
351
|
stroke?: string | undefined;
|
|
352
352
|
strokeWidth?: number | undefined;
|
|
353
353
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -419,8 +419,8 @@ declare const videoSchema: z.ZodObject<{
|
|
|
419
419
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
420
420
|
}[] | undefined;
|
|
421
421
|
width?: string | number | undefined;
|
|
422
|
-
weight?: number | undefined;
|
|
423
422
|
maxWidth?: string | number | undefined;
|
|
423
|
+
weight?: number | undefined;
|
|
424
424
|
aspectRatio?: string | undefined;
|
|
425
425
|
posterUrl?: string | undefined;
|
|
426
426
|
}, {
|
|
@@ -433,8 +433,8 @@ declare const videoSchema: z.ZodObject<{
|
|
|
433
433
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
434
434
|
}[] | undefined;
|
|
435
435
|
width?: string | number | undefined;
|
|
436
|
-
weight?: number | undefined;
|
|
437
436
|
maxWidth?: string | number | undefined;
|
|
437
|
+
weight?: number | undefined;
|
|
438
438
|
aspectRatio?: string | undefined;
|
|
439
439
|
posterUrl?: string | undefined;
|
|
440
440
|
}>;
|
|
@@ -516,19 +516,16 @@ declare const mediaDeclarations: {
|
|
|
516
516
|
href: z.ZodOptional<z.ZodString>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
label: string;
|
|
519
|
-
href?: string | undefined;
|
|
520
519
|
icon?: string | undefined;
|
|
520
|
+
href?: string | undefined;
|
|
521
521
|
}, {
|
|
522
522
|
label: string;
|
|
523
|
-
href?: string | undefined;
|
|
524
523
|
icon?: string | undefined;
|
|
524
|
+
href?: string | undefined;
|
|
525
525
|
}>>;
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
527
|
url: string;
|
|
528
528
|
description?: string | undefined;
|
|
529
|
-
width?: string | number | undefined;
|
|
530
|
-
weight?: number | undefined;
|
|
531
|
-
height?: string | number | undefined;
|
|
532
529
|
background?: string | undefined;
|
|
533
530
|
radius?: string | number | {
|
|
534
531
|
topLeft?: string | undefined;
|
|
@@ -536,12 +533,15 @@ declare const mediaDeclarations: {
|
|
|
536
533
|
bottomLeft?: string | undefined;
|
|
537
534
|
bottomRight?: string | undefined;
|
|
538
535
|
} | undefined;
|
|
536
|
+
width?: string | number | undefined;
|
|
537
|
+
height?: string | number | undefined;
|
|
539
538
|
minWidth?: string | number | undefined;
|
|
540
539
|
maxWidth?: string | number | undefined;
|
|
541
540
|
minHeight?: string | number | undefined;
|
|
542
541
|
maxHeight?: string | number | undefined;
|
|
542
|
+
weight?: number | undefined;
|
|
543
543
|
aspectRatio?: string | undefined;
|
|
544
|
-
variant?: "
|
|
544
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
545
545
|
lightbox?: boolean | undefined;
|
|
546
546
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
547
547
|
frame?: boolean | undefined;
|
|
@@ -551,15 +551,12 @@ declare const mediaDeclarations: {
|
|
|
551
551
|
hoverZoom?: boolean | undefined;
|
|
552
552
|
actionOverlay?: {
|
|
553
553
|
label: string;
|
|
554
|
-
href?: string | undefined;
|
|
555
554
|
icon?: string | undefined;
|
|
555
|
+
href?: string | undefined;
|
|
556
556
|
} | undefined;
|
|
557
557
|
}, {
|
|
558
558
|
url: string;
|
|
559
559
|
description?: string | undefined;
|
|
560
|
-
width?: string | number | undefined;
|
|
561
|
-
weight?: number | undefined;
|
|
562
|
-
height?: string | number | undefined;
|
|
563
560
|
background?: string | undefined;
|
|
564
561
|
radius?: string | number | {
|
|
565
562
|
topLeft?: string | undefined;
|
|
@@ -567,12 +564,15 @@ declare const mediaDeclarations: {
|
|
|
567
564
|
bottomLeft?: string | undefined;
|
|
568
565
|
bottomRight?: string | undefined;
|
|
569
566
|
} | undefined;
|
|
567
|
+
width?: string | number | undefined;
|
|
568
|
+
height?: string | number | undefined;
|
|
570
569
|
minWidth?: string | number | undefined;
|
|
571
570
|
maxWidth?: string | number | undefined;
|
|
572
571
|
minHeight?: string | number | undefined;
|
|
573
572
|
maxHeight?: string | number | undefined;
|
|
573
|
+
weight?: number | undefined;
|
|
574
574
|
aspectRatio?: string | undefined;
|
|
575
|
-
variant?: "
|
|
575
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
576
576
|
lightbox?: boolean | undefined;
|
|
577
577
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
578
578
|
frame?: boolean | undefined;
|
|
@@ -582,8 +582,8 @@ declare const mediaDeclarations: {
|
|
|
582
582
|
hoverZoom?: boolean | undefined;
|
|
583
583
|
actionOverlay?: {
|
|
584
584
|
label: string;
|
|
585
|
-
href?: string | undefined;
|
|
586
585
|
icon?: string | undefined;
|
|
586
|
+
href?: string | undefined;
|
|
587
587
|
} | undefined;
|
|
588
588
|
}>;
|
|
589
589
|
events: {
|
|
@@ -616,8 +616,8 @@ declare const mediaDeclarations: {
|
|
|
616
616
|
label?: string | undefined;
|
|
617
617
|
inline?: boolean | undefined;
|
|
618
618
|
weight?: number | undefined;
|
|
619
|
-
color?: string | undefined;
|
|
620
619
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
620
|
+
color?: string | undefined;
|
|
621
621
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
622
622
|
}, {
|
|
623
623
|
name: string | {
|
|
@@ -626,8 +626,8 @@ declare const mediaDeclarations: {
|
|
|
626
626
|
label?: string | undefined;
|
|
627
627
|
inline?: boolean | undefined;
|
|
628
628
|
weight?: number | undefined;
|
|
629
|
-
color?: string | undefined;
|
|
630
629
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
630
|
+
color?: string | undefined;
|
|
631
631
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
632
632
|
}>;
|
|
633
633
|
};
|
|
@@ -780,9 +780,9 @@ declare const mediaDeclarations: {
|
|
|
780
780
|
}[] | undefined;
|
|
781
781
|
viewBox?: string | undefined;
|
|
782
782
|
width?: string | number | undefined;
|
|
783
|
-
color?: string | undefined;
|
|
784
783
|
height?: string | number | undefined;
|
|
785
784
|
size?: string | number | undefined;
|
|
785
|
+
color?: string | undefined;
|
|
786
786
|
stroke?: string | undefined;
|
|
787
787
|
strokeWidth?: number | undefined;
|
|
788
788
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -830,9 +830,9 @@ declare const mediaDeclarations: {
|
|
|
830
830
|
}[] | undefined;
|
|
831
831
|
viewBox?: string | undefined;
|
|
832
832
|
width?: string | number | undefined;
|
|
833
|
-
color?: string | undefined;
|
|
834
833
|
height?: string | number | undefined;
|
|
835
834
|
size?: string | number | undefined;
|
|
835
|
+
color?: string | undefined;
|
|
836
836
|
stroke?: string | undefined;
|
|
837
837
|
strokeWidth?: number | undefined;
|
|
838
838
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -907,8 +907,8 @@ declare const mediaDeclarations: {
|
|
|
907
907
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
908
908
|
}[] | undefined;
|
|
909
909
|
width?: string | number | undefined;
|
|
910
|
-
weight?: number | undefined;
|
|
911
910
|
maxWidth?: string | number | undefined;
|
|
911
|
+
weight?: number | undefined;
|
|
912
912
|
aspectRatio?: string | undefined;
|
|
913
913
|
posterUrl?: string | undefined;
|
|
914
914
|
}, {
|
|
@@ -921,8 +921,8 @@ declare const mediaDeclarations: {
|
|
|
921
921
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
922
922
|
}[] | undefined;
|
|
923
923
|
width?: string | number | undefined;
|
|
924
|
-
weight?: number | undefined;
|
|
925
924
|
maxWidth?: string | number | undefined;
|
|
925
|
+
weight?: number | undefined;
|
|
926
926
|
aspectRatio?: string | undefined;
|
|
927
927
|
posterUrl?: string | undefined;
|
|
928
928
|
}>;
|
|
@@ -46,19 +46,16 @@ declare const imageSchema: z.ZodObject<{
|
|
|
46
46
|
href: z.ZodOptional<z.ZodString>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
label: string;
|
|
49
|
-
href?: string | undefined;
|
|
50
49
|
icon?: string | undefined;
|
|
50
|
+
href?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
label: string;
|
|
53
|
-
href?: string | undefined;
|
|
54
53
|
icon?: string | undefined;
|
|
54
|
+
href?: string | undefined;
|
|
55
55
|
}>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
url: string;
|
|
58
58
|
description?: string | undefined;
|
|
59
|
-
width?: string | number | undefined;
|
|
60
|
-
weight?: number | undefined;
|
|
61
|
-
height?: string | number | undefined;
|
|
62
59
|
background?: string | undefined;
|
|
63
60
|
radius?: string | number | {
|
|
64
61
|
topLeft?: string | undefined;
|
|
@@ -66,12 +63,15 @@ declare const imageSchema: z.ZodObject<{
|
|
|
66
63
|
bottomLeft?: string | undefined;
|
|
67
64
|
bottomRight?: string | undefined;
|
|
68
65
|
} | undefined;
|
|
66
|
+
width?: string | number | undefined;
|
|
67
|
+
height?: string | number | undefined;
|
|
69
68
|
minWidth?: string | number | undefined;
|
|
70
69
|
maxWidth?: string | number | undefined;
|
|
71
70
|
minHeight?: string | number | undefined;
|
|
72
71
|
maxHeight?: string | number | undefined;
|
|
72
|
+
weight?: number | undefined;
|
|
73
73
|
aspectRatio?: string | undefined;
|
|
74
|
-
variant?: "
|
|
74
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
75
75
|
lightbox?: boolean | undefined;
|
|
76
76
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
77
77
|
frame?: boolean | undefined;
|
|
@@ -81,15 +81,12 @@ declare const imageSchema: z.ZodObject<{
|
|
|
81
81
|
hoverZoom?: boolean | undefined;
|
|
82
82
|
actionOverlay?: {
|
|
83
83
|
label: string;
|
|
84
|
-
href?: string | undefined;
|
|
85
84
|
icon?: string | undefined;
|
|
85
|
+
href?: string | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
url: string;
|
|
89
89
|
description?: string | undefined;
|
|
90
|
-
width?: string | number | undefined;
|
|
91
|
-
weight?: number | undefined;
|
|
92
|
-
height?: string | number | undefined;
|
|
93
90
|
background?: string | undefined;
|
|
94
91
|
radius?: string | number | {
|
|
95
92
|
topLeft?: string | undefined;
|
|
@@ -97,12 +94,15 @@ declare const imageSchema: z.ZodObject<{
|
|
|
97
94
|
bottomLeft?: string | undefined;
|
|
98
95
|
bottomRight?: string | undefined;
|
|
99
96
|
} | undefined;
|
|
97
|
+
width?: string | number | undefined;
|
|
98
|
+
height?: string | number | undefined;
|
|
100
99
|
minWidth?: string | number | undefined;
|
|
101
100
|
maxWidth?: string | number | undefined;
|
|
102
101
|
minHeight?: string | number | undefined;
|
|
103
102
|
maxHeight?: string | number | undefined;
|
|
103
|
+
weight?: number | undefined;
|
|
104
104
|
aspectRatio?: string | undefined;
|
|
105
|
-
variant?: "
|
|
105
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
106
106
|
lightbox?: boolean | undefined;
|
|
107
107
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
108
108
|
frame?: boolean | undefined;
|
|
@@ -112,8 +112,8 @@ declare const imageSchema: z.ZodObject<{
|
|
|
112
112
|
hoverZoom?: boolean | undefined;
|
|
113
113
|
actionOverlay?: {
|
|
114
114
|
label: string;
|
|
115
|
-
href?: string | undefined;
|
|
116
115
|
icon?: string | undefined;
|
|
116
|
+
href?: string | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
declare const iconSchema: z.ZodObject<{
|
|
@@ -137,8 +137,8 @@ declare const iconSchema: z.ZodObject<{
|
|
|
137
137
|
label?: string | undefined;
|
|
138
138
|
inline?: boolean | undefined;
|
|
139
139
|
weight?: number | undefined;
|
|
140
|
-
color?: string | undefined;
|
|
141
140
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
141
|
+
color?: string | undefined;
|
|
142
142
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
143
143
|
}, {
|
|
144
144
|
name: string | {
|
|
@@ -147,8 +147,8 @@ declare const iconSchema: z.ZodObject<{
|
|
|
147
147
|
label?: string | undefined;
|
|
148
148
|
inline?: boolean | undefined;
|
|
149
149
|
weight?: number | undefined;
|
|
150
|
-
color?: string | undefined;
|
|
151
150
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
151
|
+
color?: string | undefined;
|
|
152
152
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
153
153
|
}>;
|
|
154
154
|
declare const faviconSchema: z.ZodObject<{
|
|
@@ -295,9 +295,9 @@ declare const svgSchema: z.ZodObject<{
|
|
|
295
295
|
}[] | undefined;
|
|
296
296
|
viewBox?: string | undefined;
|
|
297
297
|
width?: string | number | undefined;
|
|
298
|
-
color?: string | undefined;
|
|
299
298
|
height?: string | number | undefined;
|
|
300
299
|
size?: string | number | undefined;
|
|
300
|
+
color?: string | undefined;
|
|
301
301
|
stroke?: string | undefined;
|
|
302
302
|
strokeWidth?: number | undefined;
|
|
303
303
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -345,9 +345,9 @@ declare const svgSchema: z.ZodObject<{
|
|
|
345
345
|
}[] | undefined;
|
|
346
346
|
viewBox?: string | undefined;
|
|
347
347
|
width?: string | number | undefined;
|
|
348
|
-
color?: string | undefined;
|
|
349
348
|
height?: string | number | undefined;
|
|
350
349
|
size?: string | number | undefined;
|
|
350
|
+
color?: string | undefined;
|
|
351
351
|
stroke?: string | undefined;
|
|
352
352
|
strokeWidth?: number | undefined;
|
|
353
353
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -419,8 +419,8 @@ declare const videoSchema: z.ZodObject<{
|
|
|
419
419
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
420
420
|
}[] | undefined;
|
|
421
421
|
width?: string | number | undefined;
|
|
422
|
-
weight?: number | undefined;
|
|
423
422
|
maxWidth?: string | number | undefined;
|
|
423
|
+
weight?: number | undefined;
|
|
424
424
|
aspectRatio?: string | undefined;
|
|
425
425
|
posterUrl?: string | undefined;
|
|
426
426
|
}, {
|
|
@@ -433,8 +433,8 @@ declare const videoSchema: z.ZodObject<{
|
|
|
433
433
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
434
434
|
}[] | undefined;
|
|
435
435
|
width?: string | number | undefined;
|
|
436
|
-
weight?: number | undefined;
|
|
437
436
|
maxWidth?: string | number | undefined;
|
|
437
|
+
weight?: number | undefined;
|
|
438
438
|
aspectRatio?: string | undefined;
|
|
439
439
|
posterUrl?: string | undefined;
|
|
440
440
|
}>;
|
|
@@ -516,19 +516,16 @@ declare const mediaDeclarations: {
|
|
|
516
516
|
href: z.ZodOptional<z.ZodString>;
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
label: string;
|
|
519
|
-
href?: string | undefined;
|
|
520
519
|
icon?: string | undefined;
|
|
520
|
+
href?: string | undefined;
|
|
521
521
|
}, {
|
|
522
522
|
label: string;
|
|
523
|
-
href?: string | undefined;
|
|
524
523
|
icon?: string | undefined;
|
|
524
|
+
href?: string | undefined;
|
|
525
525
|
}>>;
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
527
|
url: string;
|
|
528
528
|
description?: string | undefined;
|
|
529
|
-
width?: string | number | undefined;
|
|
530
|
-
weight?: number | undefined;
|
|
531
|
-
height?: string | number | undefined;
|
|
532
529
|
background?: string | undefined;
|
|
533
530
|
radius?: string | number | {
|
|
534
531
|
topLeft?: string | undefined;
|
|
@@ -536,12 +533,15 @@ declare const mediaDeclarations: {
|
|
|
536
533
|
bottomLeft?: string | undefined;
|
|
537
534
|
bottomRight?: string | undefined;
|
|
538
535
|
} | undefined;
|
|
536
|
+
width?: string | number | undefined;
|
|
537
|
+
height?: string | number | undefined;
|
|
539
538
|
minWidth?: string | number | undefined;
|
|
540
539
|
maxWidth?: string | number | undefined;
|
|
541
540
|
minHeight?: string | number | undefined;
|
|
542
541
|
maxHeight?: string | number | undefined;
|
|
542
|
+
weight?: number | undefined;
|
|
543
543
|
aspectRatio?: string | undefined;
|
|
544
|
-
variant?: "
|
|
544
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
545
545
|
lightbox?: boolean | undefined;
|
|
546
546
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
547
547
|
frame?: boolean | undefined;
|
|
@@ -551,15 +551,12 @@ declare const mediaDeclarations: {
|
|
|
551
551
|
hoverZoom?: boolean | undefined;
|
|
552
552
|
actionOverlay?: {
|
|
553
553
|
label: string;
|
|
554
|
-
href?: string | undefined;
|
|
555
554
|
icon?: string | undefined;
|
|
555
|
+
href?: string | undefined;
|
|
556
556
|
} | undefined;
|
|
557
557
|
}, {
|
|
558
558
|
url: string;
|
|
559
559
|
description?: string | undefined;
|
|
560
|
-
width?: string | number | undefined;
|
|
561
|
-
weight?: number | undefined;
|
|
562
|
-
height?: string | number | undefined;
|
|
563
560
|
background?: string | undefined;
|
|
564
561
|
radius?: string | number | {
|
|
565
562
|
topLeft?: string | undefined;
|
|
@@ -567,12 +564,15 @@ declare const mediaDeclarations: {
|
|
|
567
564
|
bottomLeft?: string | undefined;
|
|
568
565
|
bottomRight?: string | undefined;
|
|
569
566
|
} | undefined;
|
|
567
|
+
width?: string | number | undefined;
|
|
568
|
+
height?: string | number | undefined;
|
|
570
569
|
minWidth?: string | number | undefined;
|
|
571
570
|
maxWidth?: string | number | undefined;
|
|
572
571
|
minHeight?: string | number | undefined;
|
|
573
572
|
maxHeight?: string | number | undefined;
|
|
573
|
+
weight?: number | undefined;
|
|
574
574
|
aspectRatio?: string | undefined;
|
|
575
|
-
variant?: "
|
|
575
|
+
variant?: "icon" | "header" | "avatar" | "smallFeature" | "mediumFeature" | "largeFeature" | undefined;
|
|
576
576
|
lightbox?: boolean | undefined;
|
|
577
577
|
fit?: "fill" | "none" | "cover" | "contain" | "scaleDown" | undefined;
|
|
578
578
|
frame?: boolean | undefined;
|
|
@@ -582,8 +582,8 @@ declare const mediaDeclarations: {
|
|
|
582
582
|
hoverZoom?: boolean | undefined;
|
|
583
583
|
actionOverlay?: {
|
|
584
584
|
label: string;
|
|
585
|
-
href?: string | undefined;
|
|
586
585
|
icon?: string | undefined;
|
|
586
|
+
href?: string | undefined;
|
|
587
587
|
} | undefined;
|
|
588
588
|
}>;
|
|
589
589
|
events: {
|
|
@@ -616,8 +616,8 @@ declare const mediaDeclarations: {
|
|
|
616
616
|
label?: string | undefined;
|
|
617
617
|
inline?: boolean | undefined;
|
|
618
618
|
weight?: number | undefined;
|
|
619
|
-
color?: string | undefined;
|
|
620
619
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
620
|
+
color?: string | undefined;
|
|
621
621
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
622
622
|
}, {
|
|
623
623
|
name: string | {
|
|
@@ -626,8 +626,8 @@ declare const mediaDeclarations: {
|
|
|
626
626
|
label?: string | undefined;
|
|
627
627
|
inline?: boolean | undefined;
|
|
628
628
|
weight?: number | undefined;
|
|
629
|
-
color?: string | undefined;
|
|
630
629
|
size?: number | "sm" | "md" | "lg" | "xl" | undefined;
|
|
630
|
+
color?: string | undefined;
|
|
631
631
|
strokeWeight?: "normal" | "medium" | "semibold" | "bold" | undefined;
|
|
632
632
|
}>;
|
|
633
633
|
};
|
|
@@ -780,9 +780,9 @@ declare const mediaDeclarations: {
|
|
|
780
780
|
}[] | undefined;
|
|
781
781
|
viewBox?: string | undefined;
|
|
782
782
|
width?: string | number | undefined;
|
|
783
|
-
color?: string | undefined;
|
|
784
783
|
height?: string | number | undefined;
|
|
785
784
|
size?: string | number | undefined;
|
|
785
|
+
color?: string | undefined;
|
|
786
786
|
stroke?: string | undefined;
|
|
787
787
|
strokeWidth?: number | undefined;
|
|
788
788
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -830,9 +830,9 @@ declare const mediaDeclarations: {
|
|
|
830
830
|
}[] | undefined;
|
|
831
831
|
viewBox?: string | undefined;
|
|
832
832
|
width?: string | number | undefined;
|
|
833
|
-
color?: string | undefined;
|
|
834
833
|
height?: string | number | undefined;
|
|
835
834
|
size?: string | number | undefined;
|
|
835
|
+
color?: string | undefined;
|
|
836
836
|
stroke?: string | undefined;
|
|
837
837
|
strokeWidth?: number | undefined;
|
|
838
838
|
strokeLinecap?: "round" | "square" | "butt" | undefined;
|
|
@@ -907,8 +907,8 @@ declare const mediaDeclarations: {
|
|
|
907
907
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
908
908
|
}[] | undefined;
|
|
909
909
|
width?: string | number | undefined;
|
|
910
|
-
weight?: number | undefined;
|
|
911
910
|
maxWidth?: string | number | undefined;
|
|
911
|
+
weight?: number | undefined;
|
|
912
912
|
aspectRatio?: string | undefined;
|
|
913
913
|
posterUrl?: string | undefined;
|
|
914
914
|
}, {
|
|
@@ -921,8 +921,8 @@ declare const mediaDeclarations: {
|
|
|
921
921
|
kind?: "captions" | "subtitles" | "descriptions" | undefined;
|
|
922
922
|
}[] | undefined;
|
|
923
923
|
width?: string | number | undefined;
|
|
924
|
-
weight?: number | undefined;
|
|
925
924
|
maxWidth?: string | number | undefined;
|
|
925
|
+
weight?: number | undefined;
|
|
926
926
|
aspectRatio?: string | undefined;
|
|
927
927
|
posterUrl?: string | undefined;
|
|
928
928
|
}>;
|