@servicetitan/json-render-react 0.2.0 → 0.3.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 (88) hide show
  1. package/dist/catalog/context/catalog-prompt.md +229 -0
  2. package/dist/catalog/context/schema.json +56 -0
  3. package/dist/catalog/core/catalog-prompt.md +104 -90
  4. package/dist/catalog/core/schema.json +0 -1
  5. package/dist/catalog/marketing/catalog-prompt.md +104 -90
  6. package/dist/catalog/marketing/schema.json +0 -1
  7. package/dist/context/catalog/catalog-def.d.ts +50 -0
  8. package/dist/context/catalog/context-card.catalog.d.ts +19 -0
  9. package/dist/context/catalog/context-card.d.ts +8 -0
  10. package/dist/context/catalog/context-data-table.catalog.d.ts +34 -0
  11. package/dist/context/catalog/context-data-table.css.d.ts +2 -0
  12. package/dist/context/catalog/context-data-table.d.ts +6 -0
  13. package/dist/context/catalog/context-file-list.catalog.d.ts +11 -0
  14. package/dist/context/catalog/context-file-list.css.d.ts +16 -0
  15. package/dist/context/catalog/context-file-list.d.ts +6 -0
  16. package/dist/context/catalog/context-list.catalog.d.ts +48 -0
  17. package/dist/context/catalog/context-list.css.d.ts +16 -0
  18. package/dist/context/catalog/context-list.d.ts +6 -0
  19. package/dist/context/catalog/context-metric-grid.catalog.d.ts +22 -0
  20. package/dist/context/catalog/context-metric-grid.css.d.ts +13 -0
  21. package/dist/context/catalog/context-metric-grid.d.ts +6 -0
  22. package/dist/context/catalog/context-note-list.catalog.d.ts +15 -0
  23. package/dist/context/catalog/context-note-list.d.ts +6 -0
  24. package/dist/context/catalog/context-overview.catalog.d.ts +8 -0
  25. package/dist/context/catalog/context-overview.css.d.ts +2 -0
  26. package/dist/context/catalog/context-overview.d.ts +6 -0
  27. package/dist/context/catalog/context-panel.catalog.d.ts +6 -0
  28. package/dist/context/catalog/context-panel.css.d.ts +1 -0
  29. package/dist/context/catalog/context-panel.d.ts +6 -0
  30. package/dist/context/catalog/context-tabular-list.catalog.d.ts +19 -0
  31. package/dist/context/catalog/context-tabular-list.css.d.ts +17 -0
  32. package/dist/context/catalog/context-tabular-list.d.ts +6 -0
  33. package/dist/context/catalog/index.d.ts +10 -0
  34. package/dist/context/catalog/schemas.d.ts +151 -0
  35. package/dist/context/components/collapsible-card.css.d.ts +41 -0
  36. package/dist/context/components/collapsible-card.d.ts +14 -0
  37. package/dist/context/components/context-ai-summary.css.d.ts +5 -0
  38. package/dist/context/components/context-ai-summary.d.ts +4 -0
  39. package/dist/context/components/context-chip-tone.d.ts +10 -0
  40. package/dist/context/components/context-note-list.css.d.ts +10 -0
  41. package/dist/context/components/context-render-error-boundary.d.ts +21 -0
  42. package/dist/context/constants.d.ts +6 -0
  43. package/dist/context/index.d.ts +4 -0
  44. package/dist/context/validate-context-spec-deep.d.ts +9 -0
  45. package/dist/context/validate-context-spec.d.ts +11 -0
  46. package/dist/core/catalog/alert.catalog.d.ts +2 -0
  47. package/dist/core/catalog/button.catalog.d.ts +3 -0
  48. package/dist/core/catalog/card.catalog.d.ts +2 -0
  49. package/dist/core/catalog/catalog-def.d.ts +33 -19
  50. package/dist/core/catalog/checkbox.catalog.d.ts +1 -0
  51. package/dist/core/catalog/chip.catalog.d.ts +1 -0
  52. package/dist/core/catalog/flex.catalog.d.ts +13 -0
  53. package/dist/core/catalog/grid.catalog.d.ts +4 -0
  54. package/dist/core/catalog/input.catalog.d.ts +1 -0
  55. package/dist/core/catalog/link.catalog.d.ts +2 -0
  56. package/dist/core/catalog/listbox.catalog.d.ts +1 -0
  57. package/dist/core/catalog/radio-group.catalog.d.ts +1 -0
  58. package/dist/core/catalog/schemas.d.ts +33 -19
  59. package/dist/core/catalog/switch.catalog.d.ts +1 -0
  60. package/dist/core/catalog/text.catalog.d.ts +0 -8
  61. package/dist/core/catalog/textarea.catalog.d.ts +1 -0
  62. package/dist/generate.d.ts +4 -4
  63. package/dist/index.d.ts +6 -3
  64. package/dist/index.js +2298 -0
  65. package/dist/index.js.map +1 -0
  66. package/dist/marketing/catalog/catalog.d.ts +1 -1
  67. package/dist/marketing/catalog/index.d.ts +1 -1
  68. package/dist/marketing/catalog/scoped-catalogs.d.ts +4 -0
  69. package/dist/registry-utils.d.ts +1 -1
  70. package/dist/registry.d.ts +1 -0
  71. package/dist/renderers/context-spec-renderer.d.ts +6 -0
  72. package/dist/renderers/sectioned-context-renderer.css.d.ts +1 -0
  73. package/dist/renderers/sectioned-context-renderer.d.ts +36 -0
  74. package/dist/renderers/spec-renderer.d.ts +6 -1
  75. package/dist/renderers/types.d.ts +2 -1
  76. package/dist/renderers/wrap-context-registry.d.ts +3 -0
  77. package/dist/scoped-catalog.d.ts +64 -0
  78. package/dist/styles.css +1 -1
  79. package/dist/test/setup-dom.d.ts +1 -0
  80. package/dist/types.d.ts +6 -3
  81. package/package.json +7 -4
  82. package/dist/core/catalog/badge.catalog.d.ts +0 -12
  83. package/dist/core/catalog/badge.css.d.ts +0 -1
  84. package/dist/core/catalog/badge.d.ts +0 -8
  85. package/dist/json-render-react.js +0 -1183
  86. package/dist/json-render-react.js.map +0 -1
  87. package/dist/marketing/catalog/teams.d.ts +0 -4
  88. package/dist/team-catalog.d.ts +0 -26
@@ -39,20 +39,14 @@ export declare const catalog: import('@json-render/core').Catalog<{
39
39
  xlarge: "xlarge";
40
40
  }>>;
41
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
42
  }, import('zod/v4/core').$strip>;
51
43
  slots: never[];
52
44
  description: string;
53
45
  };
54
46
  Card: {
55
47
  props: import('zod').ZodObject<{
48
+ title: import('zod').ZodOptional<import('zod').ZodString>;
49
+ description: import('zod').ZodOptional<import('zod').ZodString>;
56
50
  background: import('zod').ZodOptional<import('zod').ZodEnum<{
57
51
  strong: "strong";
58
52
  stronger: "stronger";
@@ -75,12 +69,16 @@ export declare const catalog: import('@json-render/core').Catalog<{
75
69
  column: "column";
76
70
  }>>;
77
71
  gap: import('zod').ZodOptional<import('zod').ZodEnum<{
72
+ 0: "0";
78
73
  1: "1";
79
74
  2: "2";
80
75
  3: "3";
81
76
  4: "4";
77
+ half: "half";
82
78
  5: "5";
83
79
  6: "6";
80
+ 8: "8";
81
+ 12: "12";
84
82
  }>>;
85
83
  alignItems: import('zod').ZodOptional<import('zod').ZodEnum<{
86
84
  center: "center";
@@ -97,6 +95,14 @@ export declare const catalog: import('@json-render/core').Catalog<{
97
95
  "space-around": "space-around";
98
96
  "space-evenly": "space-evenly";
99
97
  }>>;
98
+ alignSelf: import('zod').ZodOptional<import('zod').ZodEnum<{
99
+ center: "center";
100
+ "flex-start": "flex-start";
101
+ "flex-end": "flex-end";
102
+ stretch: "stretch";
103
+ baseline: "baseline";
104
+ auto: "auto";
105
+ }>>;
100
106
  wrap: import('zod').ZodOptional<import('zod').ZodEnum<{
101
107
  wrap: "wrap";
102
108
  nowrap: "nowrap";
@@ -104,6 +110,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
104
110
  }>>;
105
111
  grow: import('zod').ZodOptional<import('zod').ZodNumber>;
106
112
  shrink: import('zod').ZodOptional<import('zod').ZodNumber>;
113
+ basis: import('zod').ZodOptional<import('zod').ZodString>;
107
114
  inline: import('zod').ZodOptional<import('zod').ZodBoolean>;
108
115
  }, import('zod/v4/core').$strip>;
109
116
  slots: string[];
@@ -113,12 +120,16 @@ export declare const catalog: import('@json-render/core').Catalog<{
113
120
  props: import('zod').ZodObject<{
114
121
  templateColumns: import('zod').ZodOptional<import('zod').ZodString>;
115
122
  gap: import('zod').ZodOptional<import('zod').ZodEnum<{
123
+ 0: "0";
116
124
  1: "1";
117
125
  2: "2";
118
126
  3: "3";
119
127
  4: "4";
128
+ half: "half";
120
129
  5: "5";
121
130
  6: "6";
131
+ 8: "8";
132
+ 12: "12";
122
133
  }>>;
123
134
  bordered: import('zod').ZodOptional<import('zod').ZodBoolean>;
124
135
  }, import('zod/v4/core').$strip>;
@@ -135,8 +146,10 @@ export declare const catalog: import('@json-render/core').Catalog<{
135
146
  danger: "danger";
136
147
  }>>;
137
148
  dismissible: import('zod').ZodOptional<import('zod').ZodBoolean>;
149
+ aiMark: import('zod').ZodOptional<import('zod').ZodBoolean>;
138
150
  }, import('zod/v4/core').$strip>;
139
151
  slots: string[];
152
+ events: string[];
140
153
  description: string;
141
154
  };
142
155
  Divider: {
@@ -181,17 +194,6 @@ export declare const catalog: import('@json-render/core').Catalog<{
181
194
  slots: never[];
182
195
  description: string;
183
196
  };
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
197
  Chip: {
196
198
  props: import('zod').ZodObject<{
197
199
  label: import('zod').ZodString;
@@ -208,6 +210,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
208
210
  removable: import('zod').ZodOptional<import('zod').ZodBoolean>;
209
211
  }, import('zod/v4/core').$strip>;
210
212
  slots: never[];
213
+ events: string[];
211
214
  description: string;
212
215
  };
213
216
  Link: {
@@ -223,8 +226,10 @@ export declare const catalog: import('@json-render/core').Catalog<{
223
226
  _self: "_self";
224
227
  }>>;
225
228
  ghost: import('zod').ZodOptional<import('zod').ZodBoolean>;
229
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
226
230
  }, import('zod/v4/core').$strip>;
227
231
  slots: never[];
232
+ events: string[];
228
233
  description: string;
229
234
  };
230
235
  ProgressBar: {
@@ -297,6 +302,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
297
302
  props: import('zod').ZodObject<{
298
303
  label: import('zod').ZodString;
299
304
  appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
305
+ danger: "danger";
300
306
  primary: "primary";
301
307
  secondary: "secondary";
302
308
  ghost: "ghost";
@@ -309,8 +315,10 @@ export declare const catalog: import('@json-render/core').Catalog<{
309
315
  }>>;
310
316
  loading: import('zod').ZodOptional<import('zod').ZodBoolean>;
311
317
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
318
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
312
319
  }, import('zod/v4/core').$strip>;
313
320
  slots: never[];
321
+ events: string[];
314
322
  description: string;
315
323
  };
316
324
  Checkbox: {
@@ -320,6 +328,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
320
328
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
321
329
  }, import('zod/v4/core').$strip>;
322
330
  slots: never[];
331
+ events: string[];
323
332
  description: string;
324
333
  };
325
334
  Input: {
@@ -338,6 +347,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
338
347
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
339
348
  }, import('zod/v4/core').$strip>;
340
349
  slots: never[];
350
+ events: string[];
341
351
  description: string;
342
352
  };
343
353
  Textarea: {
@@ -351,6 +361,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
351
361
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
352
362
  }, import('zod/v4/core').$strip>;
353
363
  slots: never[];
364
+ events: string[];
354
365
  description: string;
355
366
  };
356
367
  Listbox: {
@@ -364,6 +375,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
364
375
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
365
376
  }, import('zod/v4/core').$strip>;
366
377
  slots: never[];
378
+ events: string[];
367
379
  description: string;
368
380
  };
369
381
  RadioGroup: {
@@ -377,6 +389,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
377
389
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
378
390
  }, import('zod/v4/core').$strip>;
379
391
  slots: never[];
392
+ events: string[];
380
393
  description: string;
381
394
  };
382
395
  Switch: {
@@ -386,6 +399,7 @@ export declare const catalog: import('@json-render/core').Catalog<{
386
399
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
387
400
  }, import('zod/v4/core').$strip>;
388
401
  slots: never[];
402
+ events: string[];
389
403
  description: string;
390
404
  };
391
405
  };
@@ -6,5 +6,6 @@ export declare const checkboxCatalog: {
6
6
  disabled: z.ZodOptional<z.ZodBoolean>;
7
7
  }, z.core.$strip>;
8
8
  slots: never[];
9
+ events: string[];
9
10
  description: string;
10
11
  };
@@ -15,5 +15,6 @@ export declare const chipCatalog: {
15
15
  removable: z.ZodOptional<z.ZodBoolean>;
16
16
  }, z.core.$strip>;
17
17
  slots: never[];
18
+ events: string[];
18
19
  description: string;
19
20
  };
@@ -6,12 +6,16 @@ export declare const flexCatalog: {
6
6
  column: "column";
7
7
  }>>;
8
8
  gap: z.ZodOptional<z.ZodEnum<{
9
+ 0: "0";
9
10
  1: "1";
10
11
  2: "2";
11
12
  3: "3";
12
13
  4: "4";
14
+ half: "half";
13
15
  5: "5";
14
16
  6: "6";
17
+ 8: "8";
18
+ 12: "12";
15
19
  }>>;
16
20
  alignItems: z.ZodOptional<z.ZodEnum<{
17
21
  center: "center";
@@ -28,6 +32,14 @@ export declare const flexCatalog: {
28
32
  "space-around": "space-around";
29
33
  "space-evenly": "space-evenly";
30
34
  }>>;
35
+ alignSelf: z.ZodOptional<z.ZodEnum<{
36
+ center: "center";
37
+ "flex-start": "flex-start";
38
+ "flex-end": "flex-end";
39
+ stretch: "stretch";
40
+ baseline: "baseline";
41
+ auto: "auto";
42
+ }>>;
31
43
  wrap: z.ZodOptional<z.ZodEnum<{
32
44
  wrap: "wrap";
33
45
  nowrap: "nowrap";
@@ -35,6 +47,7 @@ export declare const flexCatalog: {
35
47
  }>>;
36
48
  grow: z.ZodOptional<z.ZodNumber>;
37
49
  shrink: z.ZodOptional<z.ZodNumber>;
50
+ basis: z.ZodOptional<z.ZodString>;
38
51
  inline: z.ZodOptional<z.ZodBoolean>;
39
52
  }, z.core.$strip>;
40
53
  slots: string[];
@@ -3,12 +3,16 @@ export declare const gridCatalog: {
3
3
  props: z.ZodObject<{
4
4
  templateColumns: z.ZodOptional<z.ZodString>;
5
5
  gap: z.ZodOptional<z.ZodEnum<{
6
+ 0: "0";
6
7
  1: "1";
7
8
  2: "2";
8
9
  3: "3";
9
10
  4: "4";
11
+ half: "half";
10
12
  5: "5";
11
13
  6: "6";
14
+ 8: "8";
15
+ 12: "12";
12
16
  }>>;
13
17
  bordered: z.ZodOptional<z.ZodBoolean>;
14
18
  }, z.core.$strip>;
@@ -15,5 +15,6 @@ export declare const inputCatalog: {
15
15
  disabled: z.ZodOptional<z.ZodBoolean>;
16
16
  }, z.core.$strip>;
17
17
  slots: never[];
18
+ events: string[];
18
19
  description: string;
19
20
  };
@@ -12,7 +12,9 @@ export declare const linkCatalog: {
12
12
  _self: "_self";
13
13
  }>>;
14
14
  ghost: z.ZodOptional<z.ZodBoolean>;
15
+ badge: z.ZodOptional<z.ZodString>;
15
16
  }, z.core.$strip>;
16
17
  slots: never[];
18
+ events: string[];
17
19
  description: string;
18
20
  };
@@ -10,5 +10,6 @@ export declare const listboxCatalog: {
10
10
  disabled: z.ZodOptional<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  slots: never[];
13
+ events: string[];
13
14
  description: string;
14
15
  };
@@ -10,5 +10,6 @@ export declare const radioGroupCatalog: {
10
10
  disabled: z.ZodOptional<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  slots: never[];
13
+ events: string[];
13
14
  description: string;
14
15
  };
@@ -14,20 +14,14 @@ export declare const baseComponents: {
14
14
  xlarge: "xlarge";
15
15
  }>>;
16
16
  subdued: import('zod').ZodOptional<import('zod').ZodBoolean>;
17
- el: import('zod').ZodOptional<import('zod').ZodEnum<{
18
- h1: "h1";
19
- h2: "h2";
20
- h3: "h3";
21
- h4: "h4";
22
- h5: "h5";
23
- h6: "h6";
24
- }>>;
25
17
  }, import('zod/v4/core').$strip>;
26
18
  slots: never[];
27
19
  description: string;
28
20
  };
29
21
  Card: {
30
22
  props: import('zod').ZodObject<{
23
+ title: import('zod').ZodOptional<import('zod').ZodString>;
24
+ description: import('zod').ZodOptional<import('zod').ZodString>;
31
25
  background: import('zod').ZodOptional<import('zod').ZodEnum<{
32
26
  strong: "strong";
33
27
  stronger: "stronger";
@@ -50,12 +44,16 @@ export declare const baseComponents: {
50
44
  column: "column";
51
45
  }>>;
52
46
  gap: import('zod').ZodOptional<import('zod').ZodEnum<{
47
+ 0: "0";
53
48
  1: "1";
54
49
  2: "2";
55
50
  3: "3";
56
51
  4: "4";
52
+ half: "half";
57
53
  5: "5";
58
54
  6: "6";
55
+ 8: "8";
56
+ 12: "12";
59
57
  }>>;
60
58
  alignItems: import('zod').ZodOptional<import('zod').ZodEnum<{
61
59
  center: "center";
@@ -72,6 +70,14 @@ export declare const baseComponents: {
72
70
  "space-around": "space-around";
73
71
  "space-evenly": "space-evenly";
74
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
+ }>>;
75
81
  wrap: import('zod').ZodOptional<import('zod').ZodEnum<{
76
82
  wrap: "wrap";
77
83
  nowrap: "nowrap";
@@ -79,6 +85,7 @@ export declare const baseComponents: {
79
85
  }>>;
80
86
  grow: import('zod').ZodOptional<import('zod').ZodNumber>;
81
87
  shrink: import('zod').ZodOptional<import('zod').ZodNumber>;
88
+ basis: import('zod').ZodOptional<import('zod').ZodString>;
82
89
  inline: import('zod').ZodOptional<import('zod').ZodBoolean>;
83
90
  }, import('zod/v4/core').$strip>;
84
91
  slots: string[];
@@ -88,12 +95,16 @@ export declare const baseComponents: {
88
95
  props: import('zod').ZodObject<{
89
96
  templateColumns: import('zod').ZodOptional<import('zod').ZodString>;
90
97
  gap: import('zod').ZodOptional<import('zod').ZodEnum<{
98
+ 0: "0";
91
99
  1: "1";
92
100
  2: "2";
93
101
  3: "3";
94
102
  4: "4";
103
+ half: "half";
95
104
  5: "5";
96
105
  6: "6";
106
+ 8: "8";
107
+ 12: "12";
97
108
  }>>;
98
109
  bordered: import('zod').ZodOptional<import('zod').ZodBoolean>;
99
110
  }, import('zod/v4/core').$strip>;
@@ -110,8 +121,10 @@ export declare const baseComponents: {
110
121
  danger: "danger";
111
122
  }>>;
112
123
  dismissible: import('zod').ZodOptional<import('zod').ZodBoolean>;
124
+ aiMark: import('zod').ZodOptional<import('zod').ZodBoolean>;
113
125
  }, import('zod/v4/core').$strip>;
114
126
  slots: string[];
127
+ events: string[];
115
128
  description: string;
116
129
  };
117
130
  Divider: {
@@ -156,17 +169,6 @@ export declare const baseComponents: {
156
169
  slots: never[];
157
170
  description: string;
158
171
  };
159
- Badge: {
160
- props: import('zod').ZodObject<{
161
- content: import('zod').ZodOptional<import('zod').ZodString>;
162
- offset: import('zod').ZodOptional<import('zod').ZodObject<{
163
- x: import('zod').ZodOptional<import('zod').ZodString>;
164
- y: import('zod').ZodOptional<import('zod').ZodString>;
165
- }, import('zod/v4/core').$strip>>;
166
- }, import('zod/v4/core').$strip>;
167
- slots: string[];
168
- description: string;
169
- };
170
172
  Chip: {
171
173
  props: import('zod').ZodObject<{
172
174
  label: import('zod').ZodString;
@@ -183,6 +185,7 @@ export declare const baseComponents: {
183
185
  removable: import('zod').ZodOptional<import('zod').ZodBoolean>;
184
186
  }, import('zod/v4/core').$strip>;
185
187
  slots: never[];
188
+ events: string[];
186
189
  description: string;
187
190
  };
188
191
  Link: {
@@ -198,8 +201,10 @@ export declare const baseComponents: {
198
201
  _self: "_self";
199
202
  }>>;
200
203
  ghost: import('zod').ZodOptional<import('zod').ZodBoolean>;
204
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
201
205
  }, import('zod/v4/core').$strip>;
202
206
  slots: never[];
207
+ events: string[];
203
208
  description: string;
204
209
  };
205
210
  ProgressBar: {
@@ -272,6 +277,7 @@ export declare const baseComponents: {
272
277
  props: import('zod').ZodObject<{
273
278
  label: import('zod').ZodString;
274
279
  appearance: import('zod').ZodOptional<import('zod').ZodEnum<{
280
+ danger: "danger";
275
281
  primary: "primary";
276
282
  secondary: "secondary";
277
283
  ghost: "ghost";
@@ -284,8 +290,10 @@ export declare const baseComponents: {
284
290
  }>>;
285
291
  loading: import('zod').ZodOptional<import('zod').ZodBoolean>;
286
292
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
293
+ badge: import('zod').ZodOptional<import('zod').ZodString>;
287
294
  }, import('zod/v4/core').$strip>;
288
295
  slots: never[];
296
+ events: string[];
289
297
  description: string;
290
298
  };
291
299
  Checkbox: {
@@ -295,6 +303,7 @@ export declare const baseComponents: {
295
303
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
296
304
  }, import('zod/v4/core').$strip>;
297
305
  slots: never[];
306
+ events: string[];
298
307
  description: string;
299
308
  };
300
309
  Input: {
@@ -313,6 +322,7 @@ export declare const baseComponents: {
313
322
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
314
323
  }, import('zod/v4/core').$strip>;
315
324
  slots: never[];
325
+ events: string[];
316
326
  description: string;
317
327
  };
318
328
  Textarea: {
@@ -326,6 +336,7 @@ export declare const baseComponents: {
326
336
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
327
337
  }, import('zod/v4/core').$strip>;
328
338
  slots: never[];
339
+ events: string[];
329
340
  description: string;
330
341
  };
331
342
  Listbox: {
@@ -339,6 +350,7 @@ export declare const baseComponents: {
339
350
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
340
351
  }, import('zod/v4/core').$strip>;
341
352
  slots: never[];
353
+ events: string[];
342
354
  description: string;
343
355
  };
344
356
  RadioGroup: {
@@ -352,6 +364,7 @@ export declare const baseComponents: {
352
364
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
353
365
  }, import('zod/v4/core').$strip>;
354
366
  slots: never[];
367
+ events: string[];
355
368
  description: string;
356
369
  };
357
370
  Switch: {
@@ -361,6 +374,7 @@ export declare const baseComponents: {
361
374
  disabled: import('zod').ZodOptional<import('zod').ZodBoolean>;
362
375
  }, import('zod/v4/core').$strip>;
363
376
  slots: never[];
377
+ events: string[];
364
378
  description: string;
365
379
  };
366
380
  };
@@ -6,5 +6,6 @@ export declare const switchCatalog: {
6
6
  disabled: z.ZodOptional<z.ZodBoolean>;
7
7
  }, z.core.$strip>;
8
8
  slots: never[];
9
+ events: string[];
9
10
  description: string;
10
11
  };
@@ -14,14 +14,6 @@ export declare const textCatalog: {
14
14
  xlarge: "xlarge";
15
15
  }>>;
16
16
  subdued: z.ZodOptional<z.ZodBoolean>;
17
- el: z.ZodOptional<z.ZodEnum<{
18
- h1: "h1";
19
- h2: "h2";
20
- h3: "h3";
21
- h4: "h4";
22
- h5: "h5";
23
- h6: "h6";
24
- }>>;
25
17
  }, z.core.$strip>;
26
18
  slots: never[];
27
19
  description: string;
@@ -10,5 +10,6 @@ export declare const textareaCatalog: {
10
10
  disabled: z.ZodOptional<z.ZodBoolean>;
11
11
  }, z.core.$strip>;
12
12
  slots: never[];
13
+ events: string[];
13
14
  description: string;
14
15
  };
@@ -1,9 +1,9 @@
1
- import { MergedCatalog } from './team-catalog';
2
- export { mergeCatalogs } from './team-catalog';
1
+ import { MergedCatalog } from './scoped-catalog';
2
+ export { mergeCatalogs } from './scoped-catalog';
3
3
  export interface GenerateArtifactsOptions {
4
- teamName: string;
4
+ scopedName: string;
5
5
  catalog: MergedCatalog;
6
6
  baseRules: string;
7
7
  outDir: string;
8
8
  }
9
- export declare function generateArtifacts({ teamName, catalog, baseRules, outDir, }: GenerateArtifactsOptions): void;
9
+ export declare function generateArtifacts({ scopedName, catalog, baseRules, outDir, }: GenerateArtifactsOptions): void;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  export type { Catalog, Spec } from '@json-render/core';
2
- export { catalog, executeAction, getRegistry, handlers, registry } from './registry';
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';
3
6
  export { type SpecActionHandler, type SpecActionHelpers, type SpecActionsFactory, SpecRenderer, type SpecRendererProps, } from './renderers/spec-renderer';
4
- export type { ActionCatalogDef, ComponentCatalogDef, MergedCatalog, TeamCatalogDef, } from './team-catalog';
5
- export { createTeamCatalog, mergeCatalogs } from './team-catalog';
7
+ export type { ActionCatalogDef, ComponentCatalogDef, ComposeCatalogComponentsOptions, CoreComponentName, DescriptionOverride, MergedCatalog, ScopedCatalogDef, } from './scoped-catalog';
8
+ export { composeCatalogComponents, createScopedCatalog, mergeCatalogs } from './scoped-catalog';
6
9
  export type { RendererContext } from './types';