@vadimcomanescu/nadicode-design-system 5.0.0 → 5.0.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.
- package/.agents/skills/seed/SKILL.md +61 -7
- package/contracts/release-governance-baseline.json +0 -1
- package/dist/{TeamPage-BX3RMSZU.js → TeamPage-IYWL6N4I.js} +28 -28
- package/dist/catalog/catalog.d.ts +66 -4
- package/dist/catalog/catalog.js +9 -9
- package/dist/catalog/components.d.ts +1 -2
- package/dist/catalog/components.js +27 -27
- package/dist/catalog/definitions/blocks-agent.d.ts +0 -1
- package/dist/catalog/definitions/blocks-agent.js +1 -1
- package/dist/catalog/definitions/blocks-auth.d.ts +16 -0
- package/dist/catalog/definitions/blocks-auth.js +1 -1
- package/dist/catalog/definitions/blocks-content.d.ts +18 -0
- package/dist/catalog/definitions/blocks-content.js +1 -1
- package/dist/catalog/definitions/blocks-crud.d.ts +22 -2
- package/dist/catalog/definitions/blocks-crud.js +1 -1
- package/dist/catalog/definitions/blocks-data.d.ts +2 -0
- package/dist/catalog/definitions/blocks-data.js +1 -1
- package/dist/catalog/definitions/blocks-marketing.d.ts +8 -0
- package/dist/catalog/definitions/blocks-marketing.js +1 -1
- package/dist/catalog/definitions/chat.d.ts +0 -1
- package/dist/catalog/definitions/chat.js +1 -1
- package/dist/catalog/definitions/index.d.ts +66 -4
- package/dist/catalog/definitions/index.js +8 -8
- package/dist/catalog/primitives/chat.js +2 -2
- package/dist/catalog/primitives/index.js +3 -3
- package/dist/{chunk-C7LO3JEF.js → chunk-33UWVOQ6.js} +44 -12
- package/dist/{chunk-IHGZJS7N.js → chunk-3FJG5MAT.js} +8 -2
- package/dist/{chunk-UOUERAB4.js → chunk-3LROWCZE.js} +26 -8
- package/dist/{chunk-UIYX2EMT.js → chunk-5RBO2IMZ.js} +7 -2
- package/dist/{chunk-7SRNVMBY.js → chunk-7LYRUSWM.js} +8 -3
- package/dist/{chunk-ZND7AAWG.js → chunk-A4QNTJUR.js} +4 -2
- package/dist/{chunk-P7CTBRHO.js → chunk-AP5SGSN7.js} +15 -5
- package/dist/{chunk-5MLOZVOQ.js → chunk-B4373MDA.js} +9 -4
- package/dist/{chunk-KV726HMK.js → chunk-BOWKE7OE.js} +4 -4
- package/dist/{chunk-NVBF4OWT.js → chunk-BY6LWOHB.js} +7 -2
- package/dist/{chunk-4TK2PXMJ.js → chunk-CTVV6JS6.js} +1 -1
- package/dist/{chunk-6KRT337C.js → chunk-E4KUPYHE.js} +1 -1
- package/dist/{chunk-3TYPQWKD.js → chunk-FSU7ZM5V.js} +7 -2
- package/dist/{chunk-QLPU2IEO.js → chunk-FX3GYS5O.js} +27 -4
- package/dist/{chunk-OMI2LLXM.js → chunk-H3KTAHJP.js} +17 -3
- package/dist/{chunk-UGXI4PES.js → chunk-IW36SVOH.js} +17 -7
- package/dist/{chunk-5L2RFJZR.js → chunk-JDHD4L6N.js} +1 -1
- package/dist/{chunk-CAET62YQ.js → chunk-NBDUZA66.js} +11 -4
- package/dist/{chunk-TNDMBLYP.js → chunk-NDQO7AO6.js} +15 -3
- package/dist/{chunk-LZ66ADSL.js → chunk-PIFVLS5S.js} +25 -25
- package/dist/{chunk-MT76BPYV.js → chunk-PQOL3E2V.js} +1 -1
- package/dist/{chunk-ZNF6S3DQ.js → chunk-QCFDSOTV.js} +9 -5
- package/dist/{chunk-ID3N3MHQ.js → chunk-R4SBK6Y5.js} +7 -2
- package/dist/{chunk-GNKNT52O.js → chunk-TTDKPZ75.js} +1 -1
- package/dist/{chunk-BAB6AHOM.js → chunk-U43JTK45.js} +1 -1
- package/dist/{chunk-WHYKEOUV.js → chunk-U5QLJHYN.js} +0 -2
- package/dist/{chunk-4ACR6NGQ.js → chunk-UAN2YEI5.js} +3 -7
- package/dist/{chunk-NA6ZPKIK.js → chunk-UCFR7GLW.js} +11 -17
- package/dist/{chunk-R4DPHCHJ.js → chunk-UMEBNHKR.js} +9 -6
- package/dist/{chunk-A44E44UV.js → chunk-UPMSE6PQ.js} +7 -2
- package/dist/{chunk-HMN4K4L6.js → chunk-VQVWFCHF.js} +7 -7
- package/dist/{chunk-JPNNAU26.js → chunk-XLN4NVKU.js} +16 -28
- package/dist/{chunk-CPHVCY3M.js → chunk-XX4XJJSH.js} +1 -1
- package/dist/{chunk-FAKTXE3F.js → chunk-YEAJLVGB.js} +8 -4
- package/dist/{chunk-56TNQ2P4.js → chunk-YMAEXGD2.js} +1 -1
- package/dist/{chunk-YNBDA24W.js → chunk-ZKA5X3E4.js} +12 -3
- package/dist/{chunk-VUNXVYOH.js → chunk-ZL6BPQNN.js} +19 -10
- package/dist/{chunk-XYYZRQES.js → chunk-ZU7MDRCI.js} +1 -1
- package/dist/components/blocks/AgentConversationBlock.d.ts +2 -5
- package/dist/components/blocks/AgentConversationBlock.js +2 -2
- package/dist/components/blocks/AgentWorkbenchBlock.d.ts +2 -5
- package/dist/components/blocks/AgentWorkbenchBlock.js +2 -2
- package/dist/components/blocks/ApiKeysBlock.d.ts +1 -1
- package/dist/components/blocks/ApiKeysBlock.js +1 -1
- package/dist/components/blocks/AuthLayout.d.ts +1 -1
- package/dist/components/blocks/AuthLayout.js +2 -2
- package/dist/components/blocks/CommandPaletteBlock.d.ts +1 -1
- package/dist/components/blocks/CommandPaletteBlock.js +1 -1
- package/dist/components/blocks/ContactBlock.d.ts +1 -1
- package/dist/components/blocks/ContactBlock.js +1 -1
- package/dist/components/blocks/CreateBlock.d.ts +1 -1
- package/dist/components/blocks/CreateBlock.js +1 -1
- package/dist/components/blocks/CrudListBlock.d.ts +1 -1
- package/dist/components/blocks/CrudListBlock.js +1 -1
- package/dist/components/blocks/DashboardBlock.js +1 -1
- package/dist/components/blocks/HeroBlock.d.ts +1 -25
- package/dist/components/blocks/HeroBlock.js +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.d.ts +1 -1
- package/dist/components/blocks/InteractiveAreaChartBlock.js +1 -1
- package/dist/components/blocks/LoginBlock.d.ts +1 -1
- package/dist/components/blocks/LoginBlock.js +1 -1
- package/dist/components/blocks/NewsletterBlock.d.ts +3 -1
- package/dist/components/blocks/NewsletterBlock.js +1 -1
- package/dist/components/blocks/OTPBlock.d.ts +1 -1
- package/dist/components/blocks/OTPBlock.js +1 -1
- package/dist/components/blocks/OnboardingBlock.d.ts +1 -1
- package/dist/components/blocks/OnboardingBlock.js +1 -1
- package/dist/components/blocks/OnboardingFlowBlock.d.ts +1 -1
- package/dist/components/blocks/OnboardingFlowBlock.js +2 -2
- package/dist/components/blocks/PasswordRecoveryBlock.d.ts +1 -1
- package/dist/components/blocks/PasswordRecoveryBlock.js +1 -1
- package/dist/components/blocks/ResetPasswordBlock.d.ts +1 -1
- package/dist/components/blocks/ResetPasswordBlock.js +1 -1
- package/dist/components/blocks/TwoFactorSetupBlock.d.ts +1 -1
- package/dist/components/blocks/TwoFactorSetupBlock.js +2 -2
- package/dist/components/blocks/WizardBlock.d.ts +1 -1
- package/dist/components/blocks/WizardBlock.js +1 -1
- package/dist/components/blocks/user/InviteUserModal.d.ts +1 -18
- package/dist/components/blocks/user/InviteUserModal.js +1 -1
- package/dist/components/ui/ChatMessage.d.ts +2 -6
- package/dist/components/ui/ChatMessage.js +1 -1
- package/dist/components/ui/FormWizard.d.ts +1 -2
- package/dist/components/ui/FormWizard.js +1 -1
- package/dist/components/ui/KanbanBoard.d.ts +3 -3
- package/dist/components/ui/KanbanBoard.js +1 -1
- package/dist/index.js +0 -137
- package/dist/lib/json-render/app.js +1 -1
- package/dist/lib/json-render/catalog.d.ts +28 -0
- package/dist/lib/json-render/catalog.js +10 -10
- package/dist/lib/json-render/registry.js +10 -10
- package/dist/lib/json-render/showcase-spec.js +1 -1
- package/dist/lib-index.d.ts +6 -24
- package/package.json +1 -5
- package/dist/catalog/types.d.ts +0 -4
- package/dist/catalog/types.js +0 -1
|
@@ -34,14 +34,27 @@ Each entry provides: `props` (Zod schema), `description`, `slots`, `events`, `ex
|
|
|
34
34
|
import { seedComponents } from "@vadimcomanescu/nadicode-design-system/catalog/components"
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
Usage:
|
|
37
|
+
Usage — spec pattern (preferred):
|
|
38
38
|
```tsx
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
import { PageRenderer } from '@json-render/next'
|
|
40
|
+
import { registry } from '@/lib/registry'
|
|
41
|
+
|
|
42
|
+
// Pages are JSON specs rendered via PageRenderer
|
|
43
|
+
const spec: NextAppSpec = {
|
|
44
|
+
routes: {
|
|
45
|
+
'/login': {
|
|
46
|
+
page: {
|
|
47
|
+
root: 'shell',
|
|
48
|
+
elements: {
|
|
49
|
+
shell: { type: 'PageShell', props: { className: null }, children: ['login'] },
|
|
50
|
+
login: { type: 'LoginBlock', props: { type: 'login', error: null, email: null, password: null, fullName: null, showSocial: null, forgotPasswordHref: null, signUpHref: null, signInHref: null } },
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
<PageRenderer spec={spec} registry={registry} />
|
|
45
58
|
```
|
|
46
59
|
|
|
47
60
|
**Catalog blocks** are imported exclusively from `seedComponents`. Do not import them via individual subpath exports (ADR 0009). The ESLint rule `nadicode/require-catalog-import` enforces this at lint time.
|
|
@@ -105,6 +118,47 @@ The catalog is machine-readable, tested, accessible, and themed. Hand-built bloc
|
|
|
105
118
|
| Hardcoded hex in components | Map to semantic tokens | Brand colors via tokens only |
|
|
106
119
|
| Building a block from 3+ primitives without checking catalog | Query `seedComponentDefinitions` first, use catalog block | Catalog-First Rule |
|
|
107
120
|
| Reimplementing a catalog block locally | `const { BlockName } = seedComponents` | Prevents drift and wasted work |
|
|
121
|
+
| `emit('submit')` without `$bindState` | Wire form fields with `$bindState` + action params | Events are signals; data flows through state |
|
|
122
|
+
|
|
123
|
+
---
|
|
124
|
+
|
|
125
|
+
## Form Data Flow
|
|
126
|
+
|
|
127
|
+
`emit()` is a signal — it carries no data payload. Form field values travel through state bindings, not events.
|
|
128
|
+
|
|
129
|
+
### The pattern
|
|
130
|
+
|
|
131
|
+
Wire each field to a state path with `$bindState`. Reference those paths in the action `params` when the submit event fires.
|
|
132
|
+
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"type": "LoginBlock",
|
|
136
|
+
"props": {
|
|
137
|
+
"type": "login",
|
|
138
|
+
"email": { "$bindState": "/auth/email" },
|
|
139
|
+
"password": { "$bindState": "/auth/password" }
|
|
140
|
+
},
|
|
141
|
+
"on": {
|
|
142
|
+
"submit": {
|
|
143
|
+
"action": "login",
|
|
144
|
+
"params": {
|
|
145
|
+
"email": { "$state": "/auth/email" },
|
|
146
|
+
"password": { "$state": "/auth/password" }
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
When the user submits, `emit('submit')` fires. The runtime resolves `$state` references against the current state store and passes `{ email, password }` to the `login` action handler.
|
|
154
|
+
|
|
155
|
+
### Dual-mode guarantee
|
|
156
|
+
|
|
157
|
+
Blocks work both with and without bindings. Without `$bindState`, the block manages its own internal state and `emit('submit')` still fires — bindings just add the two-way state-sync layer that lets the spec read back the values.
|
|
158
|
+
|
|
159
|
+
### Binding path convention
|
|
160
|
+
|
|
161
|
+
Use `/form/fieldName` for generic forms and `/auth/fieldName` for authentication fields. The leading slash is required. Paths are scoped to the `StateProvider` wrapping the page.
|
|
108
162
|
|
|
109
163
|
---
|
|
110
164
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { seedComponents } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { seedComponents } from './chunk-PIFVLS5S.js';
|
|
2
|
+
import './chunk-PQOL3E2V.js';
|
|
3
3
|
import './chunk-YGDO5KDY.js';
|
|
4
4
|
import './chunk-EJQ73FJ5.js';
|
|
5
5
|
import './chunk-4GLBFZVI.js';
|
|
@@ -11,24 +11,24 @@ import './chunk-5B3GLRX3.js';
|
|
|
11
11
|
import './chunk-GXUQFXT7.js';
|
|
12
12
|
import './chunk-65CUE2WL.js';
|
|
13
13
|
import './chunk-L55GVKLY.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-YMAEXGD2.js';
|
|
15
15
|
import './chunk-2NMP3J5R.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-XLN4NVKU.js';
|
|
17
17
|
import './chunk-A4TQNK7R.js';
|
|
18
18
|
import './chunk-PD6WW7E5.js';
|
|
19
19
|
import './chunk-XMGWLDNG.js';
|
|
20
20
|
import './chunk-PYRHNONA.js';
|
|
21
21
|
import './chunk-HF2HNDE7.js';
|
|
22
22
|
import './chunk-PTJPPKDR.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-QCFDSOTV.js';
|
|
24
24
|
import './chunk-HZTWLK7C.js';
|
|
25
|
-
import './chunk-
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
25
|
+
import './chunk-B4373MDA.js';
|
|
26
|
+
import './chunk-33UWVOQ6.js';
|
|
27
|
+
import './chunk-R4SBK6Y5.js';
|
|
28
28
|
import './chunk-PQBVNNEG.js';
|
|
29
29
|
import './chunk-B4YCI5NM.js';
|
|
30
30
|
import './chunk-L77KWJJB.js';
|
|
31
|
-
import './chunk-
|
|
31
|
+
import './chunk-ZKA5X3E4.js';
|
|
32
32
|
import './chunk-PJ7DVYWA.js';
|
|
33
33
|
import './chunk-HX3VXWNJ.js';
|
|
34
34
|
import './chunk-IYK2ABFE.js';
|
|
@@ -39,28 +39,28 @@ import './chunk-BZYMCJHW.js';
|
|
|
39
39
|
import './chunk-H466RJCI.js';
|
|
40
40
|
import './chunk-DT6DGTVW.js';
|
|
41
41
|
import './chunk-J5DRK4RF.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-3FJG5MAT.js';
|
|
43
43
|
import './chunk-STNVWBJH.js';
|
|
44
44
|
import { createAvatarDataUri } from './chunk-OWWQP3YW.js';
|
|
45
|
-
import './chunk-
|
|
45
|
+
import './chunk-FSU7ZM5V.js';
|
|
46
46
|
import './chunk-DARC2ACH.js';
|
|
47
47
|
import './chunk-4EHXVFQY.js';
|
|
48
|
-
import './chunk-
|
|
49
|
-
import './chunk-
|
|
48
|
+
import './chunk-7LYRUSWM.js';
|
|
49
|
+
import './chunk-BY6LWOHB.js';
|
|
50
50
|
import './chunk-DSNPOAE6.js';
|
|
51
51
|
import './chunk-JPA45CDE.js';
|
|
52
52
|
import './chunk-Q4CRHV5T.js';
|
|
53
53
|
import './chunk-KANK5FAG.js';
|
|
54
54
|
import './chunk-6NL36QN3.js';
|
|
55
55
|
import './chunk-CQ75K2DH.js';
|
|
56
|
-
import './chunk-
|
|
57
|
-
import './chunk-
|
|
56
|
+
import './chunk-UCFR7GLW.js';
|
|
57
|
+
import './chunk-UPMSE6PQ.js';
|
|
58
58
|
import './chunk-JVIRZNQ6.js';
|
|
59
59
|
import './chunk-GE4WUAAE.js';
|
|
60
|
-
import './chunk-
|
|
61
|
-
import './chunk-
|
|
62
|
-
import './chunk-
|
|
63
|
-
import './chunk-
|
|
60
|
+
import './chunk-H3KTAHJP.js';
|
|
61
|
+
import './chunk-NDQO7AO6.js';
|
|
62
|
+
import './chunk-AP5SGSN7.js';
|
|
63
|
+
import './chunk-XX4XJJSH.js';
|
|
64
64
|
import './chunk-D6MFOI3N.js';
|
|
65
65
|
import './chunk-7AUNUDHM.js';
|
|
66
66
|
import './chunk-4ZST7OY5.js';
|
|
@@ -73,10 +73,10 @@ import './chunk-IZ7A62GI.js';
|
|
|
73
73
|
import './chunk-BVXSAVKY.js';
|
|
74
74
|
import './chunk-GVOWGEGX.js';
|
|
75
75
|
import './chunk-KMTLCN6S.js';
|
|
76
|
-
import './chunk-
|
|
77
|
-
import './chunk-
|
|
78
|
-
import './chunk-
|
|
79
|
-
import './chunk-
|
|
76
|
+
import './chunk-U43JTK45.js';
|
|
77
|
+
import './chunk-5RBO2IMZ.js';
|
|
78
|
+
import './chunk-UMEBNHKR.js';
|
|
79
|
+
import './chunk-FX3GYS5O.js';
|
|
80
80
|
import './chunk-OMGVZWRM.js';
|
|
81
81
|
import './chunk-JVQQQS2M.js';
|
|
82
82
|
import './chunk-DGSNEGJP.js';
|
|
@@ -86,7 +86,7 @@ import './chunk-ANBJ2OLC.js';
|
|
|
86
86
|
import './chunk-LV4LBWCS.js';
|
|
87
87
|
import './chunk-7OOO22KB.js';
|
|
88
88
|
import './chunk-KWIIKHIB.js';
|
|
89
|
-
import './chunk-
|
|
89
|
+
import './chunk-TTDKPZ75.js';
|
|
90
90
|
import './chunk-STKNMEJA.js';
|
|
91
91
|
import './chunk-SIXPY62Q.js';
|
|
92
92
|
import './chunk-XZ3A33GP.js';
|
|
@@ -156,7 +156,7 @@ import './chunk-C4SNHMYC.js';
|
|
|
156
156
|
import './chunk-B5QL76GA.js';
|
|
157
157
|
import './chunk-KPO4PD6C.js';
|
|
158
158
|
import './chunk-LO3MDQSJ.js';
|
|
159
|
-
import './chunk-
|
|
159
|
+
import './chunk-BOWKE7OE.js';
|
|
160
160
|
import './chunk-B3BYBSF2.js';
|
|
161
161
|
import './chunk-FOFGPWFS.js';
|
|
162
162
|
import './chunk-VTAOHSPW.js';
|
|
@@ -179,7 +179,7 @@ import './chunk-RX5EUODB.js';
|
|
|
179
179
|
import './chunk-4GQ5EMWR.js';
|
|
180
180
|
import './chunk-TXRGQO5M.js';
|
|
181
181
|
import './chunk-UN2SJ42K.js';
|
|
182
|
-
import './chunk-
|
|
182
|
+
import './chunk-U5QLJHYN.js';
|
|
183
183
|
import './chunk-S2WSXZ7Y.js';
|
|
184
184
|
import './chunk-KXZP6XI2.js';
|
|
185
185
|
import './chunk-VJ5VD4UT.js';
|
|
@@ -208,7 +208,7 @@ import './chunk-MDAYDDTC.js';
|
|
|
208
208
|
import './chunk-TV6CJ5NI.js';
|
|
209
209
|
import './chunk-756Q7AC5.js';
|
|
210
210
|
import './chunk-MB75U2OV.js';
|
|
211
|
-
import './chunk-
|
|
211
|
+
import './chunk-UAN2YEI5.js';
|
|
212
212
|
import './chunk-SEJXMNMK.js';
|
|
213
213
|
import './chunk-VJIL7W55.js';
|
|
214
214
|
import './chunk-JDLCIPSC.js';
|
|
@@ -411,7 +411,7 @@ function TeamPage() {
|
|
|
411
411
|
/* @__PURE__ */ jsx(
|
|
412
412
|
InviteUserModal,
|
|
413
413
|
{
|
|
414
|
-
props: {},
|
|
414
|
+
props: { email: null, role: null },
|
|
415
415
|
emit: () => {
|
|
416
416
|
},
|
|
417
417
|
on: () => ({ emit: () => {
|
|
@@ -329,6 +329,7 @@ export declare const seedComponentDefinitions: {
|
|
|
329
329
|
group: z.ZodNullable<z.ZodString>;
|
|
330
330
|
}, z.core.$strip>>>;
|
|
331
331
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
332
|
+
searchValue: z.ZodNullable<z.ZodString>;
|
|
332
333
|
}, z.core.$strip>;
|
|
333
334
|
events: string[];
|
|
334
335
|
description: string;
|
|
@@ -339,6 +340,7 @@ export declare const seedComponentDefinitions: {
|
|
|
339
340
|
group: string;
|
|
340
341
|
}[];
|
|
341
342
|
placeholder: string;
|
|
343
|
+
searchValue: null;
|
|
342
344
|
};
|
|
343
345
|
};
|
|
344
346
|
FormWizard: {
|
|
@@ -373,6 +375,7 @@ export declare const seedComponentDefinitions: {
|
|
|
373
375
|
description: z.ZodString;
|
|
374
376
|
completed: z.ZodBoolean;
|
|
375
377
|
}, z.core.$strip>>>;
|
|
378
|
+
toggledStepId: z.ZodNullable<z.ZodString>;
|
|
376
379
|
}, z.core.$strip>;
|
|
377
380
|
events: string[];
|
|
378
381
|
description: string;
|
|
@@ -384,6 +387,7 @@ export declare const seedComponentDefinitions: {
|
|
|
384
387
|
description: string;
|
|
385
388
|
completed: boolean;
|
|
386
389
|
}[];
|
|
390
|
+
toggledStepId: null;
|
|
387
391
|
};
|
|
388
392
|
};
|
|
389
393
|
OnboardingFlowBlock: {
|
|
@@ -428,6 +432,12 @@ export declare const seedComponentDefinitions: {
|
|
|
428
432
|
reviewStepTitle: z.ZodNullable<z.ZodString>;
|
|
429
433
|
reviewHeading: z.ZodNullable<z.ZodString>;
|
|
430
434
|
reviewBody: z.ZodNullable<z.ZodString>;
|
|
435
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
436
|
+
organization: z.ZodNullable<z.ZodString>;
|
|
437
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
438
|
+
framework: z.ZodNullable<z.ZodString>;
|
|
439
|
+
teamSize: z.ZodNullable<z.ZodString>;
|
|
440
|
+
useCase: z.ZodNullable<z.ZodString>;
|
|
431
441
|
}, z.core.$strip>;
|
|
432
442
|
events: string[];
|
|
433
443
|
description: string;
|
|
@@ -472,6 +482,12 @@ export declare const seedComponentDefinitions: {
|
|
|
472
482
|
reviewStepTitle: string;
|
|
473
483
|
reviewHeading: string;
|
|
474
484
|
reviewBody: string;
|
|
485
|
+
displayName: null;
|
|
486
|
+
organization: null;
|
|
487
|
+
bio: null;
|
|
488
|
+
framework: null;
|
|
489
|
+
teamSize: null;
|
|
490
|
+
useCase: null;
|
|
475
491
|
};
|
|
476
492
|
};
|
|
477
493
|
PricingBlock: {
|
|
@@ -563,6 +579,7 @@ export declare const seedComponentDefinitions: {
|
|
|
563
579
|
icon: z.ZodNullable<z.ZodString>;
|
|
564
580
|
}, z.core.$strip>>>;
|
|
565
581
|
className: z.ZodNullable<z.ZodString>;
|
|
582
|
+
activeStep: z.ZodNullable<z.ZodNumber>;
|
|
566
583
|
}, z.core.$strip>;
|
|
567
584
|
events: string[];
|
|
568
585
|
description: string;
|
|
@@ -575,6 +592,7 @@ export declare const seedComponentDefinitions: {
|
|
|
575
592
|
icon: string;
|
|
576
593
|
}[];
|
|
577
594
|
className: null;
|
|
595
|
+
activeStep: null;
|
|
578
596
|
};
|
|
579
597
|
};
|
|
580
598
|
UsageDonutBlock: {
|
|
@@ -822,7 +840,6 @@ export declare const seedComponentDefinitions: {
|
|
|
822
840
|
system: "system";
|
|
823
841
|
user: "user";
|
|
824
842
|
assistant: "assistant";
|
|
825
|
-
agent: "agent";
|
|
826
843
|
}>;
|
|
827
844
|
content: z.ZodString;
|
|
828
845
|
timestamp: z.ZodNullable<z.ZodString>;
|
|
@@ -977,6 +994,7 @@ export declare const seedComponentDefinitions: {
|
|
|
977
994
|
}, z.core.$strip>>>;
|
|
978
995
|
title: z.ZodNullable<z.ZodString>;
|
|
979
996
|
description: z.ZodNullable<z.ZodString>;
|
|
997
|
+
newKeyName: z.ZodNullable<z.ZodString>;
|
|
980
998
|
}, z.core.$strip>;
|
|
981
999
|
events: string[];
|
|
982
1000
|
description: string;
|
|
@@ -998,6 +1016,7 @@ export declare const seedComponentDefinitions: {
|
|
|
998
1016
|
})[];
|
|
999
1017
|
title: string;
|
|
1000
1018
|
description: string;
|
|
1019
|
+
newKeyName: null;
|
|
1001
1020
|
};
|
|
1002
1021
|
};
|
|
1003
1022
|
CreateBlock: {
|
|
@@ -1005,6 +1024,9 @@ export declare const seedComponentDefinitions: {
|
|
|
1005
1024
|
title: z.ZodNullable<z.ZodString>;
|
|
1006
1025
|
description: z.ZodNullable<z.ZodString>;
|
|
1007
1026
|
submitLabel: z.ZodNullable<z.ZodString>;
|
|
1027
|
+
username: z.ZodNullable<z.ZodString>;
|
|
1028
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1029
|
+
bio: z.ZodNullable<z.ZodString>;
|
|
1008
1030
|
}, z.core.$strip>;
|
|
1009
1031
|
events: string[];
|
|
1010
1032
|
description: string;
|
|
@@ -1012,6 +1034,9 @@ export declare const seedComponentDefinitions: {
|
|
|
1012
1034
|
title: string;
|
|
1013
1035
|
description: string;
|
|
1014
1036
|
submitLabel: string;
|
|
1037
|
+
username: null;
|
|
1038
|
+
email: null;
|
|
1039
|
+
bio: null;
|
|
1015
1040
|
};
|
|
1016
1041
|
};
|
|
1017
1042
|
CrudListBlock: {
|
|
@@ -1042,6 +1067,7 @@ export declare const seedComponentDefinitions: {
|
|
|
1042
1067
|
value: z.ZodString;
|
|
1043
1068
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
1044
1069
|
}, z.core.$strip>>>;
|
|
1070
|
+
filterValue: z.ZodNullable<z.ZodString>;
|
|
1045
1071
|
pagination: z.ZodObject<{
|
|
1046
1072
|
page: z.ZodNumber;
|
|
1047
1073
|
totalPages: z.ZodNumber;
|
|
@@ -1073,6 +1099,7 @@ export declare const seedComponentDefinitions: {
|
|
|
1073
1099
|
}[];
|
|
1074
1100
|
selectedRowId: null;
|
|
1075
1101
|
filterControls: null;
|
|
1102
|
+
filterValue: null;
|
|
1076
1103
|
pagination: {
|
|
1077
1104
|
page: number;
|
|
1078
1105
|
totalPages: number;
|
|
@@ -1245,10 +1272,20 @@ export declare const seedComponentDefinitions: {
|
|
|
1245
1272
|
};
|
|
1246
1273
|
};
|
|
1247
1274
|
InviteUserModal: {
|
|
1248
|
-
props: z.ZodObject<{
|
|
1275
|
+
props: z.ZodObject<{
|
|
1276
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1277
|
+
role: z.ZodNullable<z.ZodEnum<{
|
|
1278
|
+
admin: "admin";
|
|
1279
|
+
member: "member";
|
|
1280
|
+
guest: "guest";
|
|
1281
|
+
}>>;
|
|
1282
|
+
}, z.core.$strip>;
|
|
1249
1283
|
events: string[];
|
|
1250
1284
|
description: string;
|
|
1251
|
-
example: {
|
|
1285
|
+
example: {
|
|
1286
|
+
email: null;
|
|
1287
|
+
role: null;
|
|
1288
|
+
};
|
|
1252
1289
|
};
|
|
1253
1290
|
KanbanBoard: {
|
|
1254
1291
|
props: z.ZodObject<{
|
|
@@ -1641,6 +1678,7 @@ export declare const seedComponentDefinitions: {
|
|
|
1641
1678
|
label: z.ZodString;
|
|
1642
1679
|
days: z.ZodNumber;
|
|
1643
1680
|
}, z.core.$strip>>>;
|
|
1681
|
+
timeRange: z.ZodNullable<z.ZodString>;
|
|
1644
1682
|
}, z.core.$strip>;
|
|
1645
1683
|
events: string[];
|
|
1646
1684
|
description: string;
|
|
@@ -1667,6 +1705,7 @@ export declare const seedComponentDefinitions: {
|
|
|
1667
1705
|
label: string;
|
|
1668
1706
|
days: number;
|
|
1669
1707
|
}[];
|
|
1708
|
+
timeRange: null;
|
|
1670
1709
|
};
|
|
1671
1710
|
};
|
|
1672
1711
|
ProcessFlowBlock: {
|
|
@@ -1840,6 +1879,9 @@ export declare const seedComponentDefinitions: {
|
|
|
1840
1879
|
messagePlaceholder: z.ZodNullable<z.ZodString>;
|
|
1841
1880
|
successTitle: z.ZodNullable<z.ZodString>;
|
|
1842
1881
|
submitLabel: z.ZodNullable<z.ZodString>;
|
|
1882
|
+
name: z.ZodNullable<z.ZodString>;
|
|
1883
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1884
|
+
message: z.ZodNullable<z.ZodString>;
|
|
1843
1885
|
}, z.core.$strip>;
|
|
1844
1886
|
events: string[];
|
|
1845
1887
|
description: string;
|
|
@@ -1851,6 +1893,9 @@ export declare const seedComponentDefinitions: {
|
|
|
1851
1893
|
messagePlaceholder: null;
|
|
1852
1894
|
successTitle: null;
|
|
1853
1895
|
submitLabel: string;
|
|
1896
|
+
name: null;
|
|
1897
|
+
email: null;
|
|
1898
|
+
message: null;
|
|
1854
1899
|
};
|
|
1855
1900
|
};
|
|
1856
1901
|
FAQBlock: {
|
|
@@ -2063,12 +2108,14 @@ export declare const seedComponentDefinitions: {
|
|
|
2063
2108
|
props: z.ZodObject<{
|
|
2064
2109
|
title: z.ZodNullable<z.ZodString>;
|
|
2065
2110
|
description: z.ZodNullable<z.ZodString>;
|
|
2111
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2066
2112
|
}, z.core.$strip>;
|
|
2067
2113
|
events: string[];
|
|
2068
2114
|
description: string;
|
|
2069
2115
|
example: {
|
|
2070
2116
|
title: string;
|
|
2071
2117
|
description: string;
|
|
2118
|
+
email: null;
|
|
2072
2119
|
};
|
|
2073
2120
|
};
|
|
2074
2121
|
SolutionShowcaseBlock: {
|
|
@@ -2224,6 +2271,9 @@ export declare const seedComponentDefinitions: {
|
|
|
2224
2271
|
forgotPasswordHref: z.ZodNullable<z.ZodString>;
|
|
2225
2272
|
signUpHref: z.ZodNullable<z.ZodString>;
|
|
2226
2273
|
signInHref: z.ZodNullable<z.ZodString>;
|
|
2274
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2275
|
+
password: z.ZodNullable<z.ZodString>;
|
|
2276
|
+
fullName: z.ZodNullable<z.ZodString>;
|
|
2227
2277
|
}, z.core.$strip>;
|
|
2228
2278
|
events: string[];
|
|
2229
2279
|
description: string;
|
|
@@ -2234,6 +2284,9 @@ export declare const seedComponentDefinitions: {
|
|
|
2234
2284
|
forgotPasswordHref: string;
|
|
2235
2285
|
signUpHref: null;
|
|
2236
2286
|
signInHref: null;
|
|
2287
|
+
email: null;
|
|
2288
|
+
password: null;
|
|
2289
|
+
fullName: null;
|
|
2237
2290
|
};
|
|
2238
2291
|
};
|
|
2239
2292
|
OTPBlock: {
|
|
@@ -2244,6 +2297,7 @@ export declare const seedComponentDefinitions: {
|
|
|
2244
2297
|
buttonText: z.ZodNullable<z.ZodString>;
|
|
2245
2298
|
error: z.ZodNullable<z.ZodString>;
|
|
2246
2299
|
backupCodeLink: z.ZodNullable<z.ZodString>;
|
|
2300
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2247
2301
|
}, z.core.$strip>;
|
|
2248
2302
|
events: string[];
|
|
2249
2303
|
description: string;
|
|
@@ -2254,6 +2308,7 @@ export declare const seedComponentDefinitions: {
|
|
|
2254
2308
|
buttonText: string;
|
|
2255
2309
|
error: null;
|
|
2256
2310
|
backupCodeLink: string;
|
|
2311
|
+
value: null;
|
|
2257
2312
|
};
|
|
2258
2313
|
};
|
|
2259
2314
|
PasswordRecoveryBlock: {
|
|
@@ -2266,6 +2321,7 @@ export declare const seedComponentDefinitions: {
|
|
|
2266
2321
|
description: z.ZodNullable<z.ZodString>;
|
|
2267
2322
|
buttonText: z.ZodNullable<z.ZodString>;
|
|
2268
2323
|
successTitle: z.ZodNullable<z.ZodString>;
|
|
2324
|
+
email: z.ZodNullable<z.ZodString>;
|
|
2269
2325
|
}, z.core.$strip>;
|
|
2270
2326
|
events: string[];
|
|
2271
2327
|
description: string;
|
|
@@ -2275,18 +2331,23 @@ export declare const seedComponentDefinitions: {
|
|
|
2275
2331
|
description: string;
|
|
2276
2332
|
buttonText: string;
|
|
2277
2333
|
successTitle: string;
|
|
2334
|
+
email: null;
|
|
2278
2335
|
};
|
|
2279
2336
|
};
|
|
2280
2337
|
ResetPasswordBlock: {
|
|
2281
2338
|
props: z.ZodObject<{
|
|
2282
2339
|
title: z.ZodNullable<z.ZodString>;
|
|
2283
2340
|
description: z.ZodNullable<z.ZodString>;
|
|
2341
|
+
password: z.ZodNullable<z.ZodString>;
|
|
2342
|
+
confirmPassword: z.ZodNullable<z.ZodString>;
|
|
2284
2343
|
}, z.core.$strip>;
|
|
2285
2344
|
events: string[];
|
|
2286
2345
|
description: string;
|
|
2287
2346
|
example: {
|
|
2288
2347
|
title: string;
|
|
2289
2348
|
description: string;
|
|
2349
|
+
password: null;
|
|
2350
|
+
confirmPassword: null;
|
|
2290
2351
|
};
|
|
2291
2352
|
};
|
|
2292
2353
|
TwoFactorSetupBlock: {
|
|
@@ -2296,6 +2357,7 @@ export declare const seedComponentDefinitions: {
|
|
|
2296
2357
|
backupCodes: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2297
2358
|
title: z.ZodNullable<z.ZodString>;
|
|
2298
2359
|
description: z.ZodNullable<z.ZodString>;
|
|
2360
|
+
verifyCode: z.ZodNullable<z.ZodString>;
|
|
2299
2361
|
}, z.core.$strip>;
|
|
2300
2362
|
events: string[];
|
|
2301
2363
|
description: string;
|
|
@@ -2305,6 +2367,7 @@ export declare const seedComponentDefinitions: {
|
|
|
2305
2367
|
backupCodes: string[];
|
|
2306
2368
|
title: string;
|
|
2307
2369
|
description: string;
|
|
2370
|
+
verifyCode: null;
|
|
2308
2371
|
};
|
|
2309
2372
|
};
|
|
2310
2373
|
ChatGreeting: {
|
|
@@ -2326,7 +2389,6 @@ export declare const seedComponentDefinitions: {
|
|
|
2326
2389
|
system: "system";
|
|
2327
2390
|
user: "user";
|
|
2328
2391
|
assistant: "assistant";
|
|
2329
|
-
agent: "agent";
|
|
2330
2392
|
}>;
|
|
2331
2393
|
isStreaming: z.ZodNullable<z.ZodBoolean>;
|
|
2332
2394
|
status: z.ZodNullable<z.ZodEnum<{
|
package/dist/catalog/catalog.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { seedComponentDefinitions } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { seedComponentDefinitions } from '../chunk-CTVV6JS6.js';
|
|
2
|
+
import '../chunk-VQVWFCHF.js';
|
|
3
3
|
import '../chunk-LYI5YMC6.js';
|
|
4
4
|
import '../chunk-UXYLA2IV.js';
|
|
5
5
|
import '../chunk-YXRIXTXW.js';
|
|
6
6
|
import '../chunk-UQB54LIA.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-E4KUPYHE.js';
|
|
8
8
|
import '../chunk-W4KI424V.js';
|
|
9
9
|
import '../chunk-7SOMHO2L.js';
|
|
10
10
|
import '../chunk-XI775QZZ.js';
|
|
11
11
|
import '../chunk-P7JS4B7U.js';
|
|
12
12
|
import '../chunk-QCL76CM6.js';
|
|
13
13
|
import '../chunk-5XDYCBR6.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
16
|
-
import '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-ZU7MDRCI.js';
|
|
15
|
+
import '../chunk-ZL6BPQNN.js';
|
|
16
|
+
import '../chunk-3LROWCZE.js';
|
|
17
|
+
import '../chunk-IW36SVOH.js';
|
|
18
|
+
import '../chunk-A4QNTJUR.js';
|
|
19
19
|
export { validateOnSchema, validationCheckSchema } from '../chunk-BJVCZI2B.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-YEAJLVGB.js';
|
|
21
21
|
import '../chunk-WAIZR4CR.js';
|
|
22
22
|
import '../chunk-XLIFWBE7.js';
|
|
@@ -39,7 +39,7 @@ import { DirectoryBlock } from '../components/blocks/DirectoryBlock';
|
|
|
39
39
|
import { FormFieldBlock } from '../components/blocks/FormFieldBlock';
|
|
40
40
|
import { IntegrationsBlock } from '../components/blocks/IntegrationsBlock';
|
|
41
41
|
import { InviteUserModal } from '../components/blocks/user/InviteUserModal';
|
|
42
|
-
import { KanbanBoard,
|
|
42
|
+
import { KanbanBoard, KanbanColumn, KanbanColumnHeader, KanbanHandle, KanbanItem } from '../components/ui/KanbanBoard';
|
|
43
43
|
import { NavUser } from '../components/ui/NavUser';
|
|
44
44
|
import { SettingsNavBlock } from '../components/blocks/SettingsNavBlock';
|
|
45
45
|
import { TeamBlock } from '../components/blocks/TeamBlock';
|
|
@@ -109,7 +109,6 @@ export declare const seedComponents: {
|
|
|
109
109
|
readonly InviteUserModal: typeof InviteUserModal;
|
|
110
110
|
readonly KanbanBoard: {
|
|
111
111
|
readonly KanbanBoard: typeof KanbanBoard;
|
|
112
|
-
readonly KanbanBoardCatalog: typeof KanbanBoardCatalog;
|
|
113
112
|
readonly KanbanColumn: typeof KanbanColumn;
|
|
114
113
|
readonly KanbanColumnHeader: typeof KanbanColumnHeader;
|
|
115
114
|
readonly KanbanHandle: typeof KanbanHandle;
|