@servicetitan/json-render-react 0.1.1

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.
Files changed (69) hide show
  1. package/dist/catalog/core/catalog-prompt.md +281 -0
  2. package/dist/catalog/core/schema.json +63 -0
  3. package/dist/catalog/marketing/catalog-prompt.md +282 -0
  4. package/dist/catalog/marketing/schema.json +64 -0
  5. package/dist/core/actions.d.ts +20 -0
  6. package/dist/core/catalog/alert.catalog.d.ts +15 -0
  7. package/dist/core/catalog/alert.d.ts +9 -0
  8. package/dist/core/catalog/badge.catalog.d.ts +12 -0
  9. package/dist/core/catalog/badge.d.ts +8 -0
  10. package/dist/core/catalog/bar-chart.catalog.d.ts +22 -0
  11. package/dist/core/catalog/bar-chart.d.ts +6 -0
  12. package/dist/core/catalog/button.catalog.d.ts +21 -0
  13. package/dist/core/catalog/button.d.ts +7 -0
  14. package/dist/core/catalog/card.catalog.d.ts +18 -0
  15. package/dist/core/catalog/card.d.ts +8 -0
  16. package/dist/core/catalog/catalog-def.d.ts +394 -0
  17. package/dist/core/catalog/chart-utils.d.ts +2 -0
  18. package/dist/core/catalog/checkbox.catalog.d.ts +10 -0
  19. package/dist/core/catalog/checkbox.d.ts +8 -0
  20. package/dist/core/catalog/chip.catalog.d.ts +19 -0
  21. package/dist/core/catalog/chip.d.ts +7 -0
  22. package/dist/core/catalog/divider.catalog.d.ts +25 -0
  23. package/dist/core/catalog/divider.d.ts +6 -0
  24. package/dist/core/catalog/donut-chart.catalog.d.ts +19 -0
  25. package/dist/core/catalog/donut-chart.d.ts +6 -0
  26. package/dist/core/catalog/flex.catalog.d.ts +42 -0
  27. package/dist/core/catalog/flex.d.ts +8 -0
  28. package/dist/core/catalog/grid.catalog.d.ts +17 -0
  29. package/dist/core/catalog/grid.d.ts +8 -0
  30. package/dist/core/catalog/icon.catalog.d.ts +19 -0
  31. package/dist/core/catalog/icon.d.ts +6 -0
  32. package/dist/core/catalog/index.d.ts +7 -0
  33. package/dist/core/catalog/input.catalog.d.ts +19 -0
  34. package/dist/core/catalog/input.d.ts +8 -0
  35. package/dist/core/catalog/line-chart.catalog.d.ts +18 -0
  36. package/dist/core/catalog/line-chart.d.ts +6 -0
  37. package/dist/core/catalog/link.catalog.d.ts +18 -0
  38. package/dist/core/catalog/link.d.ts +7 -0
  39. package/dist/core/catalog/listbox.catalog.d.ts +14 -0
  40. package/dist/core/catalog/listbox.d.ts +8 -0
  41. package/dist/core/catalog/progress-bar.catalog.d.ts +11 -0
  42. package/dist/core/catalog/progress-bar.d.ts +6 -0
  43. package/dist/core/catalog/radio-group.catalog.d.ts +14 -0
  44. package/dist/core/catalog/radio-group.d.ts +8 -0
  45. package/dist/core/catalog/schemas.d.ts +353 -0
  46. package/dist/core/catalog/switch.catalog.d.ts +10 -0
  47. package/dist/core/catalog/switch.d.ts +8 -0
  48. package/dist/core/catalog/text.catalog.d.ts +28 -0
  49. package/dist/core/catalog/text.d.ts +6 -0
  50. package/dist/generate.d.ts +9 -0
  51. package/dist/index.d.ts +6 -0
  52. package/dist/json-render-react.js +11132 -0
  53. package/dist/json-render-react.js.map +1 -0
  54. package/dist/marketing/catalog/catalog.d.ts +1 -0
  55. package/dist/marketing/catalog/components/index.d.ts +14 -0
  56. package/dist/marketing/catalog/components/revenue-card.catalog.d.ts +15 -0
  57. package/dist/marketing/catalog/components/revenue-card.d.ts +6 -0
  58. package/dist/marketing/catalog/index.d.ts +6 -0
  59. package/dist/marketing/catalog/teams.d.ts +4 -0
  60. package/dist/registry-utils.d.ts +6 -0
  61. package/dist/registry.d.ts +8 -0
  62. package/dist/renderers/internal/enrichments/button-actions.d.ts +7 -0
  63. package/dist/renderers/internal/enrichments/useEnrichedSpec.d.ts +3 -0
  64. package/dist/renderers/spec-renderer.d.ts +15 -0
  65. package/dist/renderers/types.d.ts +3 -0
  66. package/dist/team-catalog.d.ts +26 -0
  67. package/dist/types.d.ts +14 -0
  68. package/dist/utils/defined-props.d.ts +6 -0
  69. package/package.json +80 -0
@@ -0,0 +1,394 @@
1
+ import { baseComponents } from './schemas';
2
+ export { baseComponents };
3
+ export declare const catalog: import('@json-render/core').Catalog<{
4
+ spec: import('@json-render/core').SchemaType<"object", {
5
+ root: import('@json-render/core').SchemaType<"string", unknown>;
6
+ elements: import('@json-render/core').SchemaType<"record", import('@json-render/core').SchemaType<"object", {
7
+ type: import('@json-render/core').SchemaType<"ref", string>;
8
+ props: import('@json-render/core').SchemaType<"propsOf", string>;
9
+ children: import('@json-render/core').SchemaType<"array", import('@json-render/core').SchemaType<"string", unknown>>;
10
+ visible: import('@json-render/core').SchemaType<"any", unknown>;
11
+ }>>;
12
+ }>;
13
+ catalog: import('@json-render/core').SchemaType<"object", {
14
+ components: import('@json-render/core').SchemaType<"map", {
15
+ props: import('@json-render/core').SchemaType<"zod", unknown>;
16
+ slots: import('@json-render/core').SchemaType<"array", import('@json-render/core').SchemaType<"string", unknown>>;
17
+ description: import('@json-render/core').SchemaType<"string", unknown>;
18
+ example: import('@json-render/core').SchemaType<"any", unknown>;
19
+ }>;
20
+ actions: import('@json-render/core').SchemaType<"map", {
21
+ params: import('@json-render/core').SchemaType<"zod", unknown>;
22
+ description: import('@json-render/core').SchemaType<"string", unknown>;
23
+ }>;
24
+ }>;
25
+ }, {
26
+ components: {
27
+ Text: {
28
+ props: import('zod').ZodObject<{
29
+ content: import('zod').ZodString;
30
+ variant: import('zod').ZodOptional<import('zod').ZodEnum<{
31
+ headline: "headline";
32
+ body: "body";
33
+ eyebrow: "eyebrow";
34
+ }>>;
35
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
36
+ small: "small";
37
+ medium: "medium";
38
+ large: "large";
39
+ xlarge: "xlarge";
40
+ }>>;
41
+ subdued: import('zod').ZodOptional<import('zod').ZodBoolean>;
42
+ el: import('zod').ZodOptional<import('zod').ZodEnum<{
43
+ h1: "h1";
44
+ h2: "h2";
45
+ h3: "h3";
46
+ h4: "h4";
47
+ h5: "h5";
48
+ h6: "h6";
49
+ }>>;
50
+ }, import('zod/v4/core').$strip>;
51
+ slots: never[];
52
+ description: string;
53
+ };
54
+ Card: {
55
+ props: import('zod').ZodObject<{
56
+ background: import('zod').ZodOptional<import('zod').ZodEnum<{
57
+ strong: "strong";
58
+ stronger: "stronger";
59
+ }>>;
60
+ padding: import('zod').ZodOptional<import('zod').ZodEnum<{
61
+ 0: "0";
62
+ xsmall: "xsmall";
63
+ small: "small";
64
+ medium: "medium";
65
+ large: "large";
66
+ }>>;
67
+ }, import('zod/v4/core').$strip>;
68
+ slots: string[];
69
+ description: string;
70
+ };
71
+ Flex: {
72
+ props: import('zod').ZodObject<{
73
+ direction: import('zod').ZodOptional<import('zod').ZodEnum<{
74
+ row: "row";
75
+ column: "column";
76
+ }>>;
77
+ gap: import('zod').ZodOptional<import('zod').ZodEnum<{
78
+ 1: "1";
79
+ 2: "2";
80
+ 3: "3";
81
+ 4: "4";
82
+ 5: "5";
83
+ 6: "6";
84
+ }>>;
85
+ alignItems: import('zod').ZodOptional<import('zod').ZodEnum<{
86
+ center: "center";
87
+ "flex-start": "flex-start";
88
+ "flex-end": "flex-end";
89
+ stretch: "stretch";
90
+ baseline: "baseline";
91
+ }>>;
92
+ justifyContent: import('zod').ZodOptional<import('zod').ZodEnum<{
93
+ center: "center";
94
+ "flex-start": "flex-start";
95
+ "flex-end": "flex-end";
96
+ "space-between": "space-between";
97
+ "space-around": "space-around";
98
+ "space-evenly": "space-evenly";
99
+ }>>;
100
+ wrap: import('zod').ZodOptional<import('zod').ZodEnum<{
101
+ wrap: "wrap";
102
+ nowrap: "nowrap";
103
+ "wrap-reverse": "wrap-reverse";
104
+ }>>;
105
+ grow: import('zod').ZodOptional<import('zod').ZodNumber>;
106
+ shrink: import('zod').ZodOptional<import('zod').ZodNumber>;
107
+ inline: import('zod').ZodOptional<import('zod').ZodBoolean>;
108
+ }, import('zod/v4/core').$strip>;
109
+ slots: string[];
110
+ description: string;
111
+ };
112
+ Grid: {
113
+ props: import('zod').ZodObject<{
114
+ templateColumns: import('zod').ZodOptional<import('zod').ZodString>;
115
+ gap: import('zod').ZodOptional<import('zod').ZodEnum<{
116
+ 1: "1";
117
+ 2: "2";
118
+ 3: "3";
119
+ 4: "4";
120
+ 5: "5";
121
+ 6: "6";
122
+ }>>;
123
+ bordered: import('zod').ZodOptional<import('zod').ZodBoolean>;
124
+ }, import('zod/v4/core').$strip>;
125
+ slots: string[];
126
+ description: string;
127
+ };
128
+ Alert: {
129
+ props: import('zod').ZodObject<{
130
+ title: import('zod').ZodString;
131
+ status: import('zod').ZodOptional<import('zod').ZodEnum<{
132
+ success: "success";
133
+ info: "info";
134
+ warning: "warning";
135
+ danger: "danger";
136
+ }>>;
137
+ dismissible: import('zod').ZodOptional<import('zod').ZodBoolean>;
138
+ }, import('zod/v4/core').$strip>;
139
+ slots: string[];
140
+ description: string;
141
+ };
142
+ Divider: {
143
+ props: import('zod').ZodObject<{
144
+ vertical: import('zod').ZodOptional<import('zod').ZodBoolean>;
145
+ spacing: import('zod').ZodOptional<import('zod').ZodEnum<{
146
+ 0: "0";
147
+ 1: "1";
148
+ 2: "2";
149
+ 3: "3";
150
+ 4: "4";
151
+ half: "half";
152
+ 5: "5";
153
+ 6: "6";
154
+ 8: "8";
155
+ 12: "12";
156
+ }>>;
157
+ alignContent: import('zod').ZodOptional<import('zod').ZodEnum<{
158
+ start: "start";
159
+ center: "center";
160
+ end: "end";
161
+ }>>;
162
+ }, import('zod/v4/core').$strip>;
163
+ slots: never[];
164
+ description: string;
165
+ };
166
+ Icon: {
167
+ props: import('zod').ZodObject<{
168
+ name: import('zod').ZodEnum<{
169
+ "check-circle": "check-circle";
170
+ "in-progress": "in-progress";
171
+ "radio-button-unchecked": "radio-button-unchecked";
172
+ }>;
173
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
174
+ small: "small";
175
+ medium: "medium";
176
+ large: "large";
177
+ xlarge: "xlarge";
178
+ }>>;
179
+ color: import('zod').ZodOptional<import('zod').ZodString>;
180
+ }, import('zod/v4/core').$strip>;
181
+ slots: never[];
182
+ description: string;
183
+ };
184
+ Badge: {
185
+ props: import('zod').ZodObject<{
186
+ content: import('zod').ZodOptional<import('zod').ZodString>;
187
+ offset: import('zod').ZodOptional<import('zod').ZodObject<{
188
+ x: import('zod').ZodOptional<import('zod').ZodString>;
189
+ y: import('zod').ZodOptional<import('zod').ZodString>;
190
+ }, import('zod/v4/core').$strip>>;
191
+ }, import('zod/v4/core').$strip>;
192
+ slots: string[];
193
+ description: string;
194
+ };
195
+ Chip: {
196
+ props: import('zod').ZodObject<{
197
+ label: import('zod').ZodString;
198
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
199
+ small: "small";
200
+ medium: "medium";
201
+ }>>;
202
+ color: import('zod').ZodOptional<import('zod').ZodString>;
203
+ icon: import('zod').ZodOptional<import('zod').ZodEnum<{
204
+ "check-circle": "check-circle";
205
+ "in-progress": "in-progress";
206
+ "radio-button-unchecked": "radio-button-unchecked";
207
+ }>>;
208
+ removable: import('zod').ZodOptional<import('zod').ZodBoolean>;
209
+ }, import('zod/v4/core').$strip>;
210
+ slots: never[];
211
+ description: string;
212
+ };
213
+ Link: {
214
+ props: import('zod').ZodObject<{
215
+ label: import('zod').ZodString;
216
+ href: import('zod').ZodString;
217
+ appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
218
+ primary: "primary";
219
+ secondary: "secondary";
220
+ }>>;
221
+ target: import('zod').ZodOptional<import('zod').ZodEnum<{
222
+ _blank: "_blank";
223
+ _self: "_self";
224
+ }>>;
225
+ ghost: import('zod').ZodOptional<import('zod').ZodBoolean>;
226
+ }, import('zod/v4/core').$strip>;
227
+ slots: never[];
228
+ description: string;
229
+ };
230
+ ProgressBar: {
231
+ props: import('zod').ZodObject<{
232
+ label: import('zod').ZodString;
233
+ value: import('zod').ZodOptional<import('zod').ZodNumber>;
234
+ description: import('zod').ZodOptional<import('zod').ZodString>;
235
+ indeterminate: import('zod').ZodOptional<import('zod').ZodBoolean>;
236
+ }, import('zod/v4/core').$strip>;
237
+ slots: never[];
238
+ description: string;
239
+ };
240
+ BarChart: {
241
+ props: import('zod').ZodObject<{
242
+ data: import('zod').ZodArray<import('zod').ZodObject<{
243
+ category: import('zod').ZodString;
244
+ value: import('zod').ZodNumber;
245
+ }, import('zod/v4/core').$strip>>;
246
+ orientation: import('zod').ZodOptional<import('zod').ZodEnum<{
247
+ vertical: "vertical";
248
+ horizontal: "horizontal";
249
+ }>>;
250
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
251
+ monochrome: "monochrome";
252
+ categorical: "categorical";
253
+ semantic: "semantic";
254
+ }>>;
255
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
256
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
257
+ }, import('zod/v4/core').$strip>;
258
+ slots: never[];
259
+ description: string;
260
+ };
261
+ DonutChart: {
262
+ props: import('zod').ZodObject<{
263
+ data: import('zod').ZodArray<import('zod').ZodObject<{
264
+ category: import('zod').ZodString;
265
+ value: import('zod').ZodNumber;
266
+ }, import('zod/v4/core').$strip>>;
267
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
268
+ monochrome: "monochrome";
269
+ categorical: "categorical";
270
+ semantic: "semantic";
271
+ }>>;
272
+ showLegend: import('zod').ZodOptional<import('zod').ZodBoolean>;
273
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
274
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
275
+ }, import('zod/v4/core').$strip>;
276
+ slots: never[];
277
+ description: string;
278
+ };
279
+ LineChart: {
280
+ props: import('zod').ZodObject<{
281
+ data: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodNumber]>>>;
282
+ series: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
283
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
284
+ monochrome: "monochrome";
285
+ categorical: "categorical";
286
+ semantic: "semantic";
287
+ }>>;
288
+ showLegend: import('zod').ZodOptional<import('zod').ZodBoolean>;
289
+ showDots: import('zod').ZodOptional<import('zod').ZodBoolean>;
290
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
291
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
292
+ }, import('zod/v4/core').$strip>;
293
+ slots: never[];
294
+ description: string;
295
+ };
296
+ Button: {
297
+ props: import('zod').ZodObject<{
298
+ label: import('zod').ZodString;
299
+ appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
300
+ primary: "primary";
301
+ secondary: "secondary";
302
+ ghost: "ghost";
303
+ }>>;
304
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
305
+ xsmall: "xsmall";
306
+ small: "small";
307
+ medium: "medium";
308
+ large: "large";
309
+ }>>;
310
+ loading: import('zod').ZodOptional<import('zod').ZodBoolean>;
311
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
312
+ }, import('zod/v4/core').$strip>;
313
+ slots: never[];
314
+ description: string;
315
+ };
316
+ Checkbox: {
317
+ props: import('zod').ZodObject<{
318
+ label: import('zod').ZodString;
319
+ checked: import('zod').ZodOptional<import('zod').ZodBoolean>;
320
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
321
+ }, import('zod/v4/core').$strip>;
322
+ slots: never[];
323
+ description: string;
324
+ };
325
+ Input: {
326
+ props: import('zod').ZodObject<{
327
+ label: import('zod').ZodString;
328
+ placeholder: import('zod').ZodOptional<import('zod').ZodString>;
329
+ type: import('zod').ZodOptional<import('zod').ZodEnum<{
330
+ number: "number";
331
+ url: "url";
332
+ text: "text";
333
+ password: "password";
334
+ email: "email";
335
+ tel: "tel";
336
+ }>>;
337
+ value: import('zod').ZodOptional<import('zod').ZodString>;
338
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
339
+ }, import('zod/v4/core').$strip>;
340
+ slots: never[];
341
+ description: string;
342
+ };
343
+ Listbox: {
344
+ props: import('zod').ZodObject<{
345
+ label: import('zod').ZodString;
346
+ options: import('zod').ZodArray<import('zod').ZodObject<{
347
+ value: import('zod').ZodString;
348
+ label: import('zod').ZodString;
349
+ }, import('zod/v4/core').$strip>>;
350
+ value: import('zod').ZodOptional<import('zod').ZodString>;
351
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
352
+ }, import('zod/v4/core').$strip>;
353
+ slots: never[];
354
+ description: string;
355
+ };
356
+ RadioGroup: {
357
+ props: import('zod').ZodObject<{
358
+ label: import('zod').ZodString;
359
+ options: import('zod').ZodArray<import('zod').ZodObject<{
360
+ value: import('zod').ZodString;
361
+ label: import('zod').ZodString;
362
+ }, import('zod/v4/core').$strip>>;
363
+ value: import('zod').ZodOptional<import('zod').ZodString>;
364
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
365
+ }, import('zod/v4/core').$strip>;
366
+ slots: never[];
367
+ description: string;
368
+ };
369
+ Switch: {
370
+ props: import('zod').ZodObject<{
371
+ label: import('zod').ZodString;
372
+ checked: import('zod').ZodOptional<import('zod').ZodBoolean>;
373
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
374
+ }, import('zod/v4/core').$strip>;
375
+ slots: never[];
376
+ description: string;
377
+ };
378
+ };
379
+ actions: {
380
+ "atlas.submitUserAction": {
381
+ params: import('zod').ZodObject<{
382
+ data: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
383
+ actionId: import('zod').ZodOptional<import('zod').ZodString>;
384
+ }, import('zod/v4/core').$strip>;
385
+ description: string;
386
+ };
387
+ "atlas.navigate": {
388
+ params: import('zod').ZodObject<{
389
+ url: import('zod').ZodString;
390
+ }, import('zod/v4/core').$strip>;
391
+ description: string;
392
+ };
393
+ };
394
+ }>;
@@ -0,0 +1,2 @@
1
+ import type * as am5 from "@amcharts/amcharts5";
2
+ export declare function applyChartTheme(root: am5.Root, theme?: string): void;
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const checkboxCatalog: {
3
+ props: z.ZodObject<{
4
+ label: z.ZodString;
5
+ checked: z.ZodOptional<z.ZodBoolean>;
6
+ disabled: z.ZodOptional<z.ZodBoolean>;
7
+ }, z.core.$strip>;
8
+ slots: never[];
9
+ description: string;
10
+ };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { checkboxCatalog } from './checkbox.catalog';
3
+ export { checkboxCatalog };
4
+ export declare const CheckboxRenderer: ({ props, bindings, emit, }: {
5
+ props: z.infer<typeof checkboxCatalog.props>;
6
+ bindings?: Record<string, string>;
7
+ emit: (event: string) => void;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ export declare const chipCatalog: {
3
+ props: z.ZodObject<{
4
+ label: z.ZodString;
5
+ size: z.ZodOptional<z.ZodEnum<{
6
+ small: "small";
7
+ medium: "medium";
8
+ }>>;
9
+ color: z.ZodOptional<z.ZodString>;
10
+ icon: z.ZodOptional<z.ZodEnum<{
11
+ "check-circle": "check-circle";
12
+ "in-progress": "in-progress";
13
+ "radio-button-unchecked": "radio-button-unchecked";
14
+ }>>;
15
+ removable: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strip>;
17
+ slots: never[];
18
+ description: string;
19
+ };
@@ -0,0 +1,7 @@
1
+ import { z } from 'zod';
2
+ import { chipCatalog } from './chip.catalog';
3
+ export { chipCatalog };
4
+ export declare const ChipRenderer: ({ props, emit, }: {
5
+ props: z.infer<typeof chipCatalog.props>;
6
+ emit: (event: string) => void;
7
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ export declare const dividerCatalog: {
3
+ props: z.ZodObject<{
4
+ vertical: z.ZodOptional<z.ZodBoolean>;
5
+ spacing: z.ZodOptional<z.ZodEnum<{
6
+ 0: "0";
7
+ 1: "1";
8
+ 2: "2";
9
+ 3: "3";
10
+ 4: "4";
11
+ half: "half";
12
+ 5: "5";
13
+ 6: "6";
14
+ 8: "8";
15
+ 12: "12";
16
+ }>>;
17
+ alignContent: z.ZodOptional<z.ZodEnum<{
18
+ start: "start";
19
+ center: "center";
20
+ end: "end";
21
+ }>>;
22
+ }, z.core.$strip>;
23
+ slots: never[];
24
+ description: string;
25
+ };
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { dividerCatalog } from './divider.catalog';
3
+ export { dividerCatalog };
4
+ export declare const DividerRenderer: ({ props }: {
5
+ props: z.infer<typeof dividerCatalog.props>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ export declare const donutChartCatalog: {
3
+ props: z.ZodObject<{
4
+ data: z.ZodArray<z.ZodObject<{
5
+ category: z.ZodString;
6
+ value: z.ZodNumber;
7
+ }, z.core.$strip>>;
8
+ theme: z.ZodOptional<z.ZodEnum<{
9
+ monochrome: "monochrome";
10
+ categorical: "categorical";
11
+ semantic: "semantic";
12
+ }>>;
13
+ showLegend: z.ZodOptional<z.ZodBoolean>;
14
+ height: z.ZodOptional<z.ZodNumber>;
15
+ unit: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ slots: never[];
18
+ description: string;
19
+ };
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { donutChartCatalog } from './donut-chart.catalog';
3
+ export { donutChartCatalog };
4
+ export declare const DonutChartRenderer: ({ props, }: {
5
+ props: z.infer<typeof donutChartCatalog.props>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ export declare const flexCatalog: {
3
+ props: z.ZodObject<{
4
+ direction: z.ZodOptional<z.ZodEnum<{
5
+ row: "row";
6
+ column: "column";
7
+ }>>;
8
+ gap: z.ZodOptional<z.ZodEnum<{
9
+ 1: "1";
10
+ 2: "2";
11
+ 3: "3";
12
+ 4: "4";
13
+ 5: "5";
14
+ 6: "6";
15
+ }>>;
16
+ alignItems: z.ZodOptional<z.ZodEnum<{
17
+ center: "center";
18
+ "flex-start": "flex-start";
19
+ "flex-end": "flex-end";
20
+ stretch: "stretch";
21
+ baseline: "baseline";
22
+ }>>;
23
+ justifyContent: z.ZodOptional<z.ZodEnum<{
24
+ center: "center";
25
+ "flex-start": "flex-start";
26
+ "flex-end": "flex-end";
27
+ "space-between": "space-between";
28
+ "space-around": "space-around";
29
+ "space-evenly": "space-evenly";
30
+ }>>;
31
+ wrap: z.ZodOptional<z.ZodEnum<{
32
+ wrap: "wrap";
33
+ nowrap: "nowrap";
34
+ "wrap-reverse": "wrap-reverse";
35
+ }>>;
36
+ grow: z.ZodOptional<z.ZodNumber>;
37
+ shrink: z.ZodOptional<z.ZodNumber>;
38
+ inline: z.ZodOptional<z.ZodBoolean>;
39
+ }, z.core.$strip>;
40
+ slots: string[];
41
+ description: string;
42
+ };
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { z } from 'zod';
3
+ import { flexCatalog } from './flex.catalog';
4
+ export { flexCatalog };
5
+ export declare const FlexRenderer: ({ props, children, }: {
6
+ props: z.infer<typeof flexCatalog.props>;
7
+ children?: ReactNode;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ export declare const gridCatalog: {
3
+ props: z.ZodObject<{
4
+ templateColumns: z.ZodOptional<z.ZodString>;
5
+ gap: z.ZodOptional<z.ZodEnum<{
6
+ 1: "1";
7
+ 2: "2";
8
+ 3: "3";
9
+ 4: "4";
10
+ 5: "5";
11
+ 6: "6";
12
+ }>>;
13
+ bordered: z.ZodOptional<z.ZodBoolean>;
14
+ }, z.core.$strip>;
15
+ slots: string[];
16
+ description: string;
17
+ };
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { z } from 'zod';
3
+ import { gridCatalog } from './grid.catalog';
4
+ export { gridCatalog };
5
+ export declare const GridRenderer: ({ props, children, }: {
6
+ props: z.infer<typeof gridCatalog.props>;
7
+ children?: ReactNode;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ export declare const iconCatalog: {
3
+ props: z.ZodObject<{
4
+ name: z.ZodEnum<{
5
+ "check-circle": "check-circle";
6
+ "in-progress": "in-progress";
7
+ "radio-button-unchecked": "radio-button-unchecked";
8
+ }>;
9
+ size: z.ZodOptional<z.ZodEnum<{
10
+ small: "small";
11
+ medium: "medium";
12
+ large: "large";
13
+ xlarge: "xlarge";
14
+ }>>;
15
+ color: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ slots: never[];
18
+ description: string;
19
+ };
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { iconCatalog } from './icon.catalog';
3
+ export { iconCatalog };
4
+ export declare const IconRenderer: ({ props }: {
5
+ props: z.infer<typeof iconCatalog.props>;
6
+ }) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import { CatalogEntry } from '../../types';
2
+ import { baseComponents, catalog } from './catalog-def';
3
+ export { baseComponents, catalog };
4
+ export declare const coreCatalogEntries: CatalogEntry[];
5
+ export declare const baseRenderers: {
6
+ [k: string]: unknown;
7
+ };
@@ -0,0 +1,19 @@
1
+ import { z } from 'zod';
2
+ export declare const inputCatalog: {
3
+ props: z.ZodObject<{
4
+ label: z.ZodString;
5
+ placeholder: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodOptional<z.ZodEnum<{
7
+ number: "number";
8
+ url: "url";
9
+ text: "text";
10
+ password: "password";
11
+ email: "email";
12
+ tel: "tel";
13
+ }>>;
14
+ value: z.ZodOptional<z.ZodString>;
15
+ disabled: z.ZodOptional<z.ZodBoolean>;
16
+ }, z.core.$strip>;
17
+ slots: never[];
18
+ description: string;
19
+ };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { inputCatalog } from './input.catalog';
3
+ export { inputCatalog };
4
+ export declare const InputRenderer: ({ props, bindings, emit, }: {
5
+ props: z.infer<typeof inputCatalog.props>;
6
+ bindings?: Record<string, string>;
7
+ emit: (event: string) => void;
8
+ }) => import("react/jsx-runtime").JSX.Element;