@servicetitan/json-render-react 0.0.0-anvil2-kits-poc-20260717210733

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 (126) hide show
  1. package/README.md +335 -0
  2. package/dist/catalog/context/catalog-prompt.md +229 -0
  3. package/dist/catalog/context/schema.json +56 -0
  4. package/dist/catalog/core/catalog-prompt.md +306 -0
  5. package/dist/catalog/core/schema.json +64 -0
  6. package/dist/catalog/marketing/catalog-prompt.md +307 -0
  7. package/dist/catalog/marketing/schema.json +65 -0
  8. package/dist/index.d.ts +1 -0
  9. package/dist/index.js +2126 -0
  10. package/dist/index.js.map +1 -0
  11. package/dist/src/context/catalog/catalog-def.d.ts +50 -0
  12. package/dist/src/context/catalog/context-card.catalog.d.ts +19 -0
  13. package/dist/src/context/catalog/context-card.d.ts +8 -0
  14. package/dist/src/context/catalog/context-data-table.catalog.d.ts +34 -0
  15. package/dist/src/context/catalog/context-data-table.css.d.ts +2 -0
  16. package/dist/src/context/catalog/context-data-table.d.ts +6 -0
  17. package/dist/src/context/catalog/context-file-list.catalog.d.ts +11 -0
  18. package/dist/src/context/catalog/context-file-list.css.d.ts +16 -0
  19. package/dist/src/context/catalog/context-file-list.d.ts +6 -0
  20. package/dist/src/context/catalog/context-list.catalog.d.ts +48 -0
  21. package/dist/src/context/catalog/context-list.css.d.ts +16 -0
  22. package/dist/src/context/catalog/context-list.d.ts +6 -0
  23. package/dist/src/context/catalog/context-metric-grid.catalog.d.ts +22 -0
  24. package/dist/src/context/catalog/context-metric-grid.css.d.ts +13 -0
  25. package/dist/src/context/catalog/context-metric-grid.d.ts +6 -0
  26. package/dist/src/context/catalog/context-note-list.catalog.d.ts +15 -0
  27. package/dist/src/context/catalog/context-note-list.d.ts +6 -0
  28. package/dist/src/context/catalog/context-overview.catalog.d.ts +8 -0
  29. package/dist/src/context/catalog/context-overview.css.d.ts +2 -0
  30. package/dist/src/context/catalog/context-overview.d.ts +6 -0
  31. package/dist/src/context/catalog/context-panel.catalog.d.ts +6 -0
  32. package/dist/src/context/catalog/context-panel.css.d.ts +1 -0
  33. package/dist/src/context/catalog/context-panel.d.ts +6 -0
  34. package/dist/src/context/catalog/context-tabular-list.catalog.d.ts +19 -0
  35. package/dist/src/context/catalog/context-tabular-list.css.d.ts +17 -0
  36. package/dist/src/context/catalog/context-tabular-list.d.ts +6 -0
  37. package/dist/src/context/catalog/index.d.ts +10 -0
  38. package/dist/src/context/catalog/schemas.d.ts +151 -0
  39. package/dist/src/context/components/collapsible-card.css.d.ts +41 -0
  40. package/dist/src/context/components/collapsible-card.d.ts +14 -0
  41. package/dist/src/context/components/context-ai-summary.css.d.ts +7 -0
  42. package/dist/src/context/components/context-ai-summary.d.ts +4 -0
  43. package/dist/src/context/components/context-chip-tone.d.ts +10 -0
  44. package/dist/src/context/components/context-note-list.css.d.ts +10 -0
  45. package/dist/src/context/components/context-render-error-boundary.d.ts +21 -0
  46. package/dist/src/context/constants.d.ts +6 -0
  47. package/dist/src/context/index.d.ts +4 -0
  48. package/dist/src/context/validate-context-spec-deep.d.ts +9 -0
  49. package/dist/src/context/validate-context-spec.d.ts +11 -0
  50. package/dist/src/core/actions.d.ts +28 -0
  51. package/dist/src/core/catalog/alert.catalog.d.ts +17 -0
  52. package/dist/src/core/catalog/alert.d.ts +9 -0
  53. package/dist/src/core/catalog/bar-chart.catalog.d.ts +22 -0
  54. package/dist/src/core/catalog/bar-chart.d.ts +6 -0
  55. package/dist/src/core/catalog/button.catalog.d.ts +24 -0
  56. package/dist/src/core/catalog/button.d.ts +7 -0
  57. package/dist/src/core/catalog/card.catalog.d.ts +20 -0
  58. package/dist/src/core/catalog/card.d.ts +8 -0
  59. package/dist/src/core/catalog/catalog-def.d.ts +484 -0
  60. package/dist/src/core/catalog/chart-utils.d.ts +2 -0
  61. package/dist/src/core/catalog/chart.css.d.ts +1 -0
  62. package/dist/src/core/catalog/checkbox.catalog.d.ts +11 -0
  63. package/dist/src/core/catalog/checkbox.d.ts +8 -0
  64. package/dist/src/core/catalog/chip.catalog.d.ts +20 -0
  65. package/dist/src/core/catalog/chip.d.ts +7 -0
  66. package/dist/src/core/catalog/divider.catalog.d.ts +25 -0
  67. package/dist/src/core/catalog/divider.d.ts +6 -0
  68. package/dist/src/core/catalog/donut-chart.catalog.d.ts +19 -0
  69. package/dist/src/core/catalog/donut-chart.d.ts +6 -0
  70. package/dist/src/core/catalog/flex.catalog.d.ts +55 -0
  71. package/dist/src/core/catalog/flex.d.ts +8 -0
  72. package/dist/src/core/catalog/grid.catalog.d.ts +21 -0
  73. package/dist/src/core/catalog/grid.css.d.ts +4 -0
  74. package/dist/src/core/catalog/grid.d.ts +8 -0
  75. package/dist/src/core/catalog/guidance-card-column-width.d.ts +12 -0
  76. package/dist/src/core/catalog/guidance-card.catalog.d.ts +58 -0
  77. package/dist/src/core/catalog/guidance-card.d.ts +9 -0
  78. package/dist/src/core/catalog/icon.catalog.d.ts +19 -0
  79. package/dist/src/core/catalog/icon.d.ts +6 -0
  80. package/dist/src/core/catalog/index.d.ts +7 -0
  81. package/dist/src/core/catalog/input.catalog.d.ts +20 -0
  82. package/dist/src/core/catalog/input.d.ts +8 -0
  83. package/dist/src/core/catalog/line-chart.catalog.d.ts +18 -0
  84. package/dist/src/core/catalog/line-chart.d.ts +6 -0
  85. package/dist/src/core/catalog/link.catalog.d.ts +20 -0
  86. package/dist/src/core/catalog/link.d.ts +7 -0
  87. package/dist/src/core/catalog/listbox.catalog.d.ts +15 -0
  88. package/dist/src/core/catalog/listbox.css.d.ts +9 -0
  89. package/dist/src/core/catalog/listbox.d.ts +8 -0
  90. package/dist/src/core/catalog/progress-bar.catalog.d.ts +11 -0
  91. package/dist/src/core/catalog/progress-bar.d.ts +6 -0
  92. package/dist/src/core/catalog/radio-group.catalog.d.ts +15 -0
  93. package/dist/src/core/catalog/radio-group.d.ts +8 -0
  94. package/dist/src/core/catalog/schemas.d.ts +436 -0
  95. package/dist/src/core/catalog/switch.catalog.d.ts +11 -0
  96. package/dist/src/core/catalog/switch.d.ts +8 -0
  97. package/dist/src/core/catalog/text.catalog.d.ts +20 -0
  98. package/dist/src/core/catalog/text.d.ts +6 -0
  99. package/dist/src/core/catalog/textarea.catalog.d.ts +15 -0
  100. package/dist/src/core/catalog/textarea.d.ts +8 -0
  101. package/dist/src/generate.d.ts +9 -0
  102. package/dist/src/index.d.ts +9 -0
  103. package/dist/src/marketing/catalog/catalog.d.ts +1 -0
  104. package/dist/src/marketing/catalog/components/index.d.ts +14 -0
  105. package/dist/src/marketing/catalog/components/revenue-card.catalog.d.ts +15 -0
  106. package/dist/src/marketing/catalog/components/revenue-card.css.d.ts +15 -0
  107. package/dist/src/marketing/catalog/components/revenue-card.d.ts +6 -0
  108. package/dist/src/marketing/catalog/index.d.ts +6 -0
  109. package/dist/src/marketing/catalog/scoped-catalogs.d.ts +4 -0
  110. package/dist/src/registry-utils.d.ts +6 -0
  111. package/dist/src/registry.d.ts +9 -0
  112. package/dist/src/renderers/context-spec-renderer.d.ts +6 -0
  113. package/dist/src/renderers/internal/enrichments/button-actions.d.ts +7 -0
  114. package/dist/src/renderers/internal/enrichments/useEnrichedSpec.d.ts +3 -0
  115. package/dist/src/renderers/sectioned-context-renderer.css.d.ts +1 -0
  116. package/dist/src/renderers/sectioned-context-renderer.d.ts +36 -0
  117. package/dist/src/renderers/spec-renderer.d.ts +30 -0
  118. package/dist/src/renderers/types.d.ts +4 -0
  119. package/dist/src/renderers/wrap-context-registry.d.ts +3 -0
  120. package/dist/src/scoped-catalog.d.ts +64 -0
  121. package/dist/src/test/setup-dom.d.ts +1 -0
  122. package/dist/src/types.d.ts +17 -0
  123. package/dist/src/utils/cx.d.ts +2 -0
  124. package/dist/src/utils/defined-props.d.ts +6 -0
  125. package/dist/styles.css +1 -0
  126. package/package.json +92 -0
@@ -0,0 +1,436 @@
1
+ export declare const baseComponents: {
2
+ Text: {
3
+ props: import('zod').ZodObject<{
4
+ content: import('zod').ZodString;
5
+ variant: import('zod').ZodOptional<import('zod').ZodEnum<{
6
+ headline: "headline";
7
+ body: "body";
8
+ eyebrow: "eyebrow";
9
+ }>>;
10
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
11
+ small: "small";
12
+ medium: "medium";
13
+ large: "large";
14
+ xlarge: "xlarge";
15
+ }>>;
16
+ subdued: import('zod').ZodOptional<import('zod').ZodBoolean>;
17
+ }, import('zod/v4/core').$strip>;
18
+ slots: never[];
19
+ description: string;
20
+ };
21
+ Card: {
22
+ props: import('zod').ZodObject<{
23
+ title: import('zod').ZodOptional<import('zod').ZodString>;
24
+ description: import('zod').ZodOptional<import('zod').ZodString>;
25
+ background: import('zod').ZodOptional<import('zod').ZodEnum<{
26
+ strong: "strong";
27
+ stronger: "stronger";
28
+ }>>;
29
+ padding: import('zod').ZodOptional<import('zod').ZodEnum<{
30
+ 0: "0";
31
+ xsmall: "xsmall";
32
+ small: "small";
33
+ medium: "medium";
34
+ large: "large";
35
+ }>>;
36
+ }, import('zod/v4/core').$strip>;
37
+ slots: string[];
38
+ description: string;
39
+ };
40
+ Flex: {
41
+ props: import('zod').ZodObject<{
42
+ direction: import('zod').ZodOptional<import('zod').ZodEnum<{
43
+ row: "row";
44
+ column: "column";
45
+ }>>;
46
+ gap: import('zod').ZodOptional<import('zod').ZodEnum<{
47
+ 0: "0";
48
+ 1: "1";
49
+ 2: "2";
50
+ 3: "3";
51
+ 4: "4";
52
+ half: "half";
53
+ 5: "5";
54
+ 6: "6";
55
+ 8: "8";
56
+ 12: "12";
57
+ }>>;
58
+ alignItems: import('zod').ZodOptional<import('zod').ZodEnum<{
59
+ center: "center";
60
+ "flex-start": "flex-start";
61
+ "flex-end": "flex-end";
62
+ stretch: "stretch";
63
+ baseline: "baseline";
64
+ }>>;
65
+ justifyContent: import('zod').ZodOptional<import('zod').ZodEnum<{
66
+ center: "center";
67
+ "flex-start": "flex-start";
68
+ "flex-end": "flex-end";
69
+ "space-between": "space-between";
70
+ "space-around": "space-around";
71
+ "space-evenly": "space-evenly";
72
+ }>>;
73
+ alignSelf: import('zod').ZodOptional<import('zod').ZodEnum<{
74
+ center: "center";
75
+ "flex-start": "flex-start";
76
+ "flex-end": "flex-end";
77
+ stretch: "stretch";
78
+ baseline: "baseline";
79
+ auto: "auto";
80
+ }>>;
81
+ wrap: import('zod').ZodOptional<import('zod').ZodEnum<{
82
+ wrap: "wrap";
83
+ nowrap: "nowrap";
84
+ "wrap-reverse": "wrap-reverse";
85
+ }>>;
86
+ grow: import('zod').ZodOptional<import('zod').ZodNumber>;
87
+ shrink: import('zod').ZodOptional<import('zod').ZodNumber>;
88
+ basis: import('zod').ZodOptional<import('zod').ZodString>;
89
+ inline: import('zod').ZodOptional<import('zod').ZodBoolean>;
90
+ }, import('zod/v4/core').$strip>;
91
+ slots: string[];
92
+ description: string;
93
+ };
94
+ Grid: {
95
+ props: import('zod').ZodObject<{
96
+ templateColumns: import('zod').ZodOptional<import('zod').ZodString>;
97
+ gap: import('zod').ZodOptional<import('zod').ZodEnum<{
98
+ 0: "0";
99
+ 1: "1";
100
+ 2: "2";
101
+ 3: "3";
102
+ 4: "4";
103
+ half: "half";
104
+ 5: "5";
105
+ 6: "6";
106
+ 8: "8";
107
+ 12: "12";
108
+ }>>;
109
+ bordered: import('zod').ZodOptional<import('zod').ZodBoolean>;
110
+ }, import('zod/v4/core').$strip>;
111
+ slots: string[];
112
+ description: string;
113
+ };
114
+ Alert: {
115
+ props: import('zod').ZodObject<{
116
+ title: import('zod').ZodString;
117
+ status: import('zod').ZodOptional<import('zod').ZodEnum<{
118
+ success: "success";
119
+ info: "info";
120
+ warning: "warning";
121
+ danger: "danger";
122
+ }>>;
123
+ dismissible: import('zod').ZodOptional<import('zod').ZodBoolean>;
124
+ aiMark: import('zod').ZodOptional<import('zod').ZodBoolean>;
125
+ }, import('zod/v4/core').$strip>;
126
+ slots: string[];
127
+ events: string[];
128
+ description: string;
129
+ };
130
+ Divider: {
131
+ props: import('zod').ZodObject<{
132
+ vertical: import('zod').ZodOptional<import('zod').ZodBoolean>;
133
+ spacing: import('zod').ZodOptional<import('zod').ZodEnum<{
134
+ 0: "0";
135
+ 1: "1";
136
+ 2: "2";
137
+ 3: "3";
138
+ 4: "4";
139
+ half: "half";
140
+ 5: "5";
141
+ 6: "6";
142
+ 8: "8";
143
+ 12: "12";
144
+ }>>;
145
+ alignContent: import('zod').ZodOptional<import('zod').ZodEnum<{
146
+ start: "start";
147
+ center: "center";
148
+ end: "end";
149
+ }>>;
150
+ }, import('zod/v4/core').$strip>;
151
+ slots: never[];
152
+ description: string;
153
+ };
154
+ Icon: {
155
+ props: import('zod').ZodObject<{
156
+ name: import('zod').ZodEnum<{
157
+ "check-circle": "check-circle";
158
+ "in-progress": "in-progress";
159
+ "radio-button-unchecked": "radio-button-unchecked";
160
+ }>;
161
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
162
+ small: "small";
163
+ medium: "medium";
164
+ large: "large";
165
+ xlarge: "xlarge";
166
+ }>>;
167
+ color: import('zod').ZodOptional<import('zod').ZodString>;
168
+ }, import('zod/v4/core').$strip>;
169
+ slots: never[];
170
+ description: string;
171
+ };
172
+ Chip: {
173
+ props: import('zod').ZodObject<{
174
+ label: import('zod').ZodString;
175
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
176
+ small: "small";
177
+ medium: "medium";
178
+ }>>;
179
+ color: import('zod').ZodOptional<import('zod').ZodString>;
180
+ icon: import('zod').ZodOptional<import('zod').ZodEnum<{
181
+ "check-circle": "check-circle";
182
+ "in-progress": "in-progress";
183
+ "radio-button-unchecked": "radio-button-unchecked";
184
+ }>>;
185
+ removable: import('zod').ZodOptional<import('zod').ZodBoolean>;
186
+ }, import('zod/v4/core').$strip>;
187
+ slots: never[];
188
+ events: string[];
189
+ description: string;
190
+ };
191
+ Link: {
192
+ props: import('zod').ZodObject<{
193
+ label: import('zod').ZodString;
194
+ href: import('zod').ZodString;
195
+ appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
196
+ primary: "primary";
197
+ secondary: "secondary";
198
+ }>>;
199
+ target: import('zod').ZodOptional<import('zod').ZodEnum<{
200
+ _blank: "_blank";
201
+ _self: "_self";
202
+ }>>;
203
+ ghost: import('zod').ZodOptional<import('zod').ZodBoolean>;
204
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
205
+ }, import('zod/v4/core').$strip>;
206
+ slots: never[];
207
+ events: string[];
208
+ description: string;
209
+ };
210
+ ProgressBar: {
211
+ props: import('zod').ZodObject<{
212
+ label: import('zod').ZodString;
213
+ value: import('zod').ZodOptional<import('zod').ZodNumber>;
214
+ description: import('zod').ZodOptional<import('zod').ZodString>;
215
+ indeterminate: import('zod').ZodOptional<import('zod').ZodBoolean>;
216
+ }, import('zod/v4/core').$strip>;
217
+ slots: never[];
218
+ description: string;
219
+ };
220
+ BarChart: {
221
+ props: import('zod').ZodObject<{
222
+ data: import('zod').ZodArray<import('zod').ZodObject<{
223
+ category: import('zod').ZodString;
224
+ value: import('zod').ZodNumber;
225
+ }, import('zod/v4/core').$strip>>;
226
+ orientation: import('zod').ZodOptional<import('zod').ZodEnum<{
227
+ vertical: "vertical";
228
+ horizontal: "horizontal";
229
+ }>>;
230
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
231
+ monochrome: "monochrome";
232
+ categorical: "categorical";
233
+ semantic: "semantic";
234
+ }>>;
235
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
236
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
237
+ }, import('zod/v4/core').$strip>;
238
+ slots: never[];
239
+ description: string;
240
+ };
241
+ DonutChart: {
242
+ props: import('zod').ZodObject<{
243
+ data: import('zod').ZodArray<import('zod').ZodObject<{
244
+ category: import('zod').ZodString;
245
+ value: import('zod').ZodNumber;
246
+ }, import('zod/v4/core').$strip>>;
247
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
248
+ monochrome: "monochrome";
249
+ categorical: "categorical";
250
+ semantic: "semantic";
251
+ }>>;
252
+ showLegend: import('zod').ZodOptional<import('zod').ZodBoolean>;
253
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
254
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
255
+ }, import('zod/v4/core').$strip>;
256
+ slots: never[];
257
+ description: string;
258
+ };
259
+ LineChart: {
260
+ props: import('zod').ZodObject<{
261
+ data: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodNumber]>>>;
262
+ series: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
263
+ theme: import('zod').ZodOptional<import('zod').ZodEnum<{
264
+ monochrome: "monochrome";
265
+ categorical: "categorical";
266
+ semantic: "semantic";
267
+ }>>;
268
+ showLegend: import('zod').ZodOptional<import('zod').ZodBoolean>;
269
+ showDots: import('zod').ZodOptional<import('zod').ZodBoolean>;
270
+ height: import('zod').ZodOptional<import('zod').ZodNumber>;
271
+ unit: import('zod').ZodOptional<import('zod').ZodString>;
272
+ }, import('zod/v4/core').$strip>;
273
+ slots: never[];
274
+ description: string;
275
+ };
276
+ Button: {
277
+ props: import('zod').ZodObject<{
278
+ label: import('zod').ZodString;
279
+ appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
280
+ danger: "danger";
281
+ primary: "primary";
282
+ secondary: "secondary";
283
+ ghost: "ghost";
284
+ }>>;
285
+ size: import('zod').ZodOptional<import('zod').ZodEnum<{
286
+ xsmall: "xsmall";
287
+ small: "small";
288
+ medium: "medium";
289
+ large: "large";
290
+ }>>;
291
+ loading: import('zod').ZodOptional<import('zod').ZodBoolean>;
292
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
293
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
294
+ }, import('zod/v4/core').$strip>;
295
+ slots: never[];
296
+ events: string[];
297
+ description: string;
298
+ };
299
+ Checkbox: {
300
+ props: import('zod').ZodObject<{
301
+ label: import('zod').ZodString;
302
+ checked: import('zod').ZodOptional<import('zod').ZodBoolean>;
303
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
304
+ }, import('zod/v4/core').$strip>;
305
+ slots: never[];
306
+ events: string[];
307
+ description: string;
308
+ };
309
+ Input: {
310
+ props: import('zod').ZodObject<{
311
+ label: import('zod').ZodString;
312
+ placeholder: import('zod').ZodOptional<import('zod').ZodString>;
313
+ type: import('zod').ZodOptional<import('zod').ZodEnum<{
314
+ number: "number";
315
+ url: "url";
316
+ text: "text";
317
+ password: "password";
318
+ email: "email";
319
+ tel: "tel";
320
+ }>>;
321
+ value: import('zod').ZodOptional<import('zod').ZodString>;
322
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
323
+ }, import('zod/v4/core').$strip>;
324
+ slots: never[];
325
+ events: string[];
326
+ description: string;
327
+ };
328
+ Textarea: {
329
+ props: import('zod').ZodObject<{
330
+ label: import('zod').ZodString;
331
+ placeholder: import('zod').ZodOptional<import('zod').ZodString>;
332
+ description: import('zod').ZodOptional<import('zod').ZodString>;
333
+ moreInfo: import('zod').ZodOptional<import('zod').ZodString>;
334
+ value: import('zod').ZodOptional<import('zod').ZodString>;
335
+ rows: import('zod').ZodOptional<import('zod').ZodNumber>;
336
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
337
+ }, import('zod/v4/core').$strip>;
338
+ slots: never[];
339
+ events: string[];
340
+ description: string;
341
+ };
342
+ Listbox: {
343
+ props: import('zod').ZodObject<{
344
+ label: import('zod').ZodString;
345
+ options: import('zod').ZodArray<import('zod').ZodObject<{
346
+ value: import('zod').ZodString;
347
+ label: import('zod').ZodString;
348
+ }, import('zod/v4/core').$strip>>;
349
+ value: import('zod').ZodOptional<import('zod').ZodString>;
350
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
351
+ }, import('zod/v4/core').$strip>;
352
+ slots: never[];
353
+ events: string[];
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
+ events: string[];
368
+ description: string;
369
+ };
370
+ Switch: {
371
+ props: import('zod').ZodObject<{
372
+ label: import('zod').ZodString;
373
+ checked: import('zod').ZodOptional<import('zod').ZodBoolean>;
374
+ disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
375
+ }, import('zod/v4/core').$strip>;
376
+ slots: never[];
377
+ events: string[];
378
+ description: string;
379
+ };
380
+ GuidanceCard: {
381
+ props: import('zod').ZodObject<{
382
+ state: import('zod').ZodOptional<import('zod').ZodEnum<{
383
+ default: "default";
384
+ accepted: "accepted";
385
+ rejected: "rejected";
386
+ skipped: "skipped";
387
+ }>>;
388
+ referenceLabel: import('zod').ZodString;
389
+ referenceHref: import('zod').ZodOptional<import('zod').ZodString>;
390
+ changeSections: import('zod').ZodArray<import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
391
+ type: import('zod').ZodLiteral<"single">;
392
+ changes: import('zod').ZodArray<import('zod').ZodObject<{
393
+ id: import('zod').ZodString;
394
+ label: import('zod').ZodString;
395
+ from: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
396
+ to: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
397
+ reason: import('zod').ZodOptional<import('zod').ZodString>;
398
+ }, import('zod/v4/core').$strip>>;
399
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
400
+ type: import('zod').ZodLiteral<"table">;
401
+ label: import('zod').ZodString;
402
+ changeTables: import('zod').ZodArray<import('zod').ZodObject<{
403
+ label: import('zod').ZodString;
404
+ columns: import('zod').ZodArray<import('zod').ZodObject<{
405
+ key: import('zod').ZodString;
406
+ header: import('zod').ZodString;
407
+ minWidth: import('zod').ZodOptional<import('zod').ZodEnum<{
408
+ compact: "compact";
409
+ standard: "standard";
410
+ wide: "wide";
411
+ }>>;
412
+ }, import('zod/v4/core').$strip>>;
413
+ data: import('zod').ZodArray<import('zod').ZodIntersection<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnion<readonly [import('zod').ZodString, import('zod').ZodDiscriminatedUnion<[import('zod').ZodObject<{
414
+ type: import('zod').ZodLiteral<"text">;
415
+ value: import('zod').ZodString;
416
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
417
+ type: import('zod').ZodLiteral<"diff">;
418
+ from: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
419
+ to: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
420
+ }, import('zod/v4/core').$strip>, import('zod').ZodObject<{
421
+ type: import('zod').ZodLiteral<"addition">;
422
+ value: import('zod').ZodString;
423
+ }, import('zod/v4/core').$strip>], "type">]>>, import('zod').ZodObject<{
424
+ id: import('zod').ZodString;
425
+ }, import('zod/v4/core').$strip>>>;
426
+ reason: import('zod').ZodOptional<import('zod').ZodString>;
427
+ }, import('zod/v4/core').$strip>>;
428
+ }, import('zod/v4/core').$strip>], "type">>;
429
+ appliedChangeIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
430
+ defaultExpanded: import('zod').ZodOptional<import('zod').ZodBoolean>;
431
+ }, import('zod/v4/core').$strip>;
432
+ slots: never[];
433
+ events: string[];
434
+ description: string;
435
+ };
436
+ };
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ export declare const switchCatalog: {
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
+ events: string[];
10
+ description: string;
11
+ };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { switchCatalog } from './switch.catalog';
3
+ export { switchCatalog };
4
+ export declare const SwitchRenderer: ({ props, bindings, emit, }: {
5
+ props: z.infer<typeof switchCatalog.props>;
6
+ bindings?: Record<string, string>;
7
+ emit: (event: string) => void;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { z } from 'zod';
2
+ export declare const textCatalog: {
3
+ props: z.ZodObject<{
4
+ content: z.ZodString;
5
+ variant: z.ZodOptional<z.ZodEnum<{
6
+ headline: "headline";
7
+ body: "body";
8
+ eyebrow: "eyebrow";
9
+ }>>;
10
+ size: z.ZodOptional<z.ZodEnum<{
11
+ small: "small";
12
+ medium: "medium";
13
+ large: "large";
14
+ xlarge: "xlarge";
15
+ }>>;
16
+ subdued: z.ZodOptional<z.ZodBoolean>;
17
+ }, z.core.$strip>;
18
+ slots: never[];
19
+ description: string;
20
+ };
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { textCatalog } from './text.catalog';
3
+ export { textCatalog };
4
+ export declare const TextRenderer: ({ props }: {
5
+ props: z.infer<typeof textCatalog.props>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const textareaCatalog: {
3
+ props: z.ZodObject<{
4
+ label: z.ZodString;
5
+ placeholder: z.ZodOptional<z.ZodString>;
6
+ description: z.ZodOptional<z.ZodString>;
7
+ moreInfo: z.ZodOptional<z.ZodString>;
8
+ value: z.ZodOptional<z.ZodString>;
9
+ rows: z.ZodOptional<z.ZodNumber>;
10
+ disabled: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$strip>;
12
+ slots: never[];
13
+ events: string[];
14
+ description: string;
15
+ };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ import { textareaCatalog } from './textarea.catalog';
3
+ export { textareaCatalog };
4
+ export declare const TextareaRenderer: ({ props, bindings, emit, }: {
5
+ props: z.infer<typeof textareaCatalog.props>;
6
+ bindings?: Record<string, string>;
7
+ emit: (event: string) => void;
8
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { MergedCatalog } from './scoped-catalog';
2
+ export { mergeCatalogs } from './scoped-catalog';
3
+ export interface GenerateArtifactsOptions {
4
+ scopedName: string;
5
+ catalog: MergedCatalog;
6
+ baseRules: string;
7
+ outDir: string;
8
+ }
9
+ export declare function generateArtifacts({ scopedName, catalog, baseRules, outDir, }: GenerateArtifactsOptions): void;
@@ -0,0 +1,9 @@
1
+ export type { Catalog, Spec } from '@json-render/core';
2
+ export { type ContextSpecIssue, type ContextSpecIssueSeverity, contextCatalog, formatContextRenderReport, formatContextSpecIssues, hasContextSpecErrors, postProcessContextSpec, validateContextSpec, validateContextSpecDeep, } from './context';
3
+ export { catalog, executeAction, getContextRegistry, getRegistry, handlers, registry, } from './registry';
4
+ export { ContextSpecRenderer, type ContextSpecRendererProps, } from './renderers/context-spec-renderer';
5
+ export { type ContextSection, type ContextSectionStatus, extractSectionSpec, SectionedContextRenderer, type SectionedContextRendererProps, } from './renderers/sectioned-context-renderer';
6
+ export { type SpecActionHandler, type SpecActionHelpers, type SpecActionsFactory, SpecRenderer, type SpecRendererProps, } from './renderers/spec-renderer';
7
+ export type { ActionCatalogDef, ComponentCatalogDef, ComposeCatalogComponentsOptions, CoreComponentName, DescriptionOverride, MergedCatalog, ScopedCatalogDef, } from './scoped-catalog';
8
+ export { composeCatalogComponents, createScopedCatalog, mergeCatalogs } from './scoped-catalog';
9
+ export type { RendererContext } from './types';
@@ -0,0 +1 @@
1
+ export declare const marketingCatalog: import('../..').ScopedCatalogDef;
@@ -0,0 +1,14 @@
1
+ export declare const marketingRenderers: {
2
+ RevenueCard: ({ props, }: {
3
+ props: import('zod').infer<import('zod').ZodObject<{
4
+ title: import('zod').ZodString;
5
+ value: import('zod').ZodString;
6
+ trend: import('zod').ZodOptional<import('zod').ZodEnum<{
7
+ flat: "flat";
8
+ up: "up";
9
+ down: "down";
10
+ }>>;
11
+ delta: import('zod').ZodOptional<import('zod').ZodString>;
12
+ }, import('zod/v4/core').$strip>>;
13
+ }) => import("react/jsx-runtime").JSX.Element;
14
+ };
@@ -0,0 +1,15 @@
1
+ import { z } from 'zod';
2
+ export declare const revenueCardCatalog: {
3
+ props: z.ZodObject<{
4
+ title: z.ZodString;
5
+ value: z.ZodString;
6
+ trend: z.ZodOptional<z.ZodEnum<{
7
+ flat: "flat";
8
+ up: "up";
9
+ down: "down";
10
+ }>>;
11
+ delta: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ slots: string[];
14
+ description: string;
15
+ };
@@ -0,0 +1,15 @@
1
+ import { RecipeVariants } from '@vanilla-extract/recipes';
2
+ export declare const trendText: import('@vanilla-extract/recipes').RuntimeFn<{
3
+ trend: {
4
+ up: {
5
+ color: `var(--${string})`;
6
+ };
7
+ down: {
8
+ color: `var(--${string})`;
9
+ };
10
+ flat: {
11
+ color: `var(--${string})`;
12
+ };
13
+ };
14
+ }>;
15
+ export type TrendTextVariants = RecipeVariants<typeof trendText>;
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ import { revenueCardCatalog } from './revenue-card.catalog';
3
+ export { revenueCardCatalog };
4
+ export declare const RevenueCardRenderer: ({ props, }: {
5
+ props: z.infer<typeof revenueCardCatalog.props>;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { CatalogEntry } from '../../types';
2
+ import { marketingCatalog } from './catalog';
3
+ export { marketingRenderers } from './components';
4
+ export { marketingCatalog };
5
+ export declare const marketingCatalogEntries: CatalogEntry[];
6
+ export { scopedCatalogs } from './scoped-catalogs';
@@ -0,0 +1,4 @@
1
+ export declare const scopedCatalogs: readonly [{
2
+ readonly name: "marketing";
3
+ readonly catalog: import('../..').ScopedCatalogDef;
4
+ }];
@@ -0,0 +1,6 @@
1
+ import { AllComponentRenderers } from './renderers/types';
2
+ import { ComponentCatalogDef } from './scoped-catalog';
3
+ import { CatalogEntry, RendererContext } from './types';
4
+ export declare function filterCatalogEntries(entries: CatalogEntry[], renderer: RendererContext): CatalogEntry[];
5
+ export declare function toComponentCatalogMap(entries: CatalogEntry[]): Record<string, ComponentCatalogDef>;
6
+ export declare function toComponentRendererMap(entries: CatalogEntry[]): AllComponentRenderers;
@@ -0,0 +1,9 @@
1
+ import { catalog as coreCatalog } from './core/catalog/catalog-def';
2
+ import { RendererContext } from './types';
3
+ export declare function getRegistry(renderer?: RendererContext): import('@json-render/react').DefineRegistryResult;
4
+ export declare const registry: import('@json-render/react').ComponentRegistry;
5
+ export declare const handlers: (getSetState: () => import('@json-render/react').SetState | undefined, getState: () => import('@json-render/core').StateModel) => Record<string, (params: Record<string, unknown>) => Promise<void>>;
6
+ export declare const executeAction: (actionName: string, params: Record<string, unknown> | undefined, setState: import('@json-render/react').SetState, state?: import('@json-render/core').StateModel) => Promise<void>;
7
+ export declare function getContextRegistry(): import('@json-render/react').DefineRegistryResult;
8
+ /** Core catalog used for schema generation and prompt artifacts. */
9
+ export { coreCatalog as catalog };
@@ -0,0 +1,6 @@
1
+ import { ContextRenderErrorInfo } from '../context/components/context-render-error-boundary';
2
+ import { SpecRendererProps } from './spec-renderer';
3
+ export type ContextSpecRendererProps = Omit<SpecRendererProps, "registry" | "handlers"> & Partial<Pick<SpecRendererProps, "registry" | "handlers">> & {
4
+ onRenderError?: (info: ContextRenderErrorInfo) => void;
5
+ };
6
+ export declare const ContextSpecRenderer: ({ spec, registry, handlers, actions, onRenderError, loading, }: ContextSpecRendererProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Spec } from '@json-render/core';
2
+ /**
3
+ * Enrich the spec so every Button element automatically gets
4
+ * on.press → submitUserAction wired up, using the button's element key
5
+ * as actionId. Buttons that already have on.press are left untouched.
6
+ */
7
+ export declare function enrichButtonActions(spec: Spec): Spec;
@@ -0,0 +1,3 @@
1
+ import { Spec } from '@json-render/core';
2
+ export type SpecEnrichment = (spec: Spec) => Spec;
3
+ export declare function useEnrichedSpec(spec: Spec, enrichments: SpecEnrichment[]): Spec;
@@ -0,0 +1 @@
1
+ export declare const sectionLoadingTail: string;