orbital-ds 0.40.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/AGENTS.md +1 -1
  2. package/components.manifest.json +221 -1
  3. package/dist/hooks/use-ds-messages.d.ts +82 -0
  4. package/dist/lib/a2ui-catalog.d.ts +42 -0
  5. package/dist/lib/a2ui-catalog.js +558 -0
  6. package/dist/lib/a2ui.d.ts +289 -0
  7. package/dist/lib/a2ui.js +215 -0
  8. package/dist/lib/ai-events.d.ts +15 -0
  9. package/dist/lib/ai-events.js +202 -0
  10. package/dist/lib/auth-flow.d.ts +3 -1
  11. package/dist/lib/auth-flow.js +24 -3
  12. package/dist/lib/i18n.d.ts +82 -0
  13. package/dist/lib/i18n.js +246 -0
  14. package/dist/styles.css +23 -1
  15. package/dist/ui/a2ui-renderer.d.ts +33 -0
  16. package/dist/ui/a2ui-renderer.js +793 -0
  17. package/dist/ui/agent-events.d.ts +32 -0
  18. package/dist/ui/agent-events.js +108 -0
  19. package/dist/ui/alert.d.ts +1 -1
  20. package/dist/ui/attachment.d.ts +2 -2
  21. package/dist/ui/auth-form.d.ts +3 -1
  22. package/dist/ui/auth-form.js +34 -6
  23. package/dist/ui/badge.d.ts +1 -1
  24. package/dist/ui/banner.d.ts +1 -1
  25. package/dist/ui/bubble.d.ts +1 -1
  26. package/dist/ui/button-group.d.ts +1 -1
  27. package/dist/ui/button.d.ts +2 -2
  28. package/dist/ui/chain-of-thought.d.ts +19 -0
  29. package/dist/ui/chain-of-thought.js +90 -0
  30. package/dist/ui/chat-composer.d.ts +39 -0
  31. package/dist/ui/chat-composer.js +192 -0
  32. package/dist/ui/conversation-list.d.ts +24 -0
  33. package/dist/ui/conversation-list.js +141 -0
  34. package/dist/ui/empty.d.ts +1 -1
  35. package/dist/ui/field.d.ts +1 -1
  36. package/dist/ui/generated-image.d.ts +14 -0
  37. package/dist/ui/generated-image.js +65 -0
  38. package/dist/ui/generated-table.d.ts +11 -0
  39. package/dist/ui/generated-table.js +59 -0
  40. package/dist/ui/icon-tile.d.ts +2 -2
  41. package/dist/ui/item.d.ts +2 -2
  42. package/dist/ui/markdown.d.ts +14 -0
  43. package/dist/ui/markdown.js +123 -0
  44. package/dist/ui/marker.d.ts +1 -1
  45. package/dist/ui/message-actions.d.ts +12 -0
  46. package/dist/ui/message-actions.js +79 -0
  47. package/dist/ui/panel.d.ts +1 -1
  48. package/dist/ui/reasoning.d.ts +10 -0
  49. package/dist/ui/reasoning.js +62 -0
  50. package/dist/ui/sidebar.d.ts +1 -1
  51. package/dist/ui/sparkline.d.ts +1 -1
  52. package/dist/ui/stat.d.ts +1 -1
  53. package/dist/ui/status-badge.d.ts +3 -3
  54. package/dist/ui/suggestions.d.ts +8 -0
  55. package/dist/ui/suggestions.js +39 -0
  56. package/dist/ui/tabs.d.ts +1 -1
  57. package/dist/ui/toggle.d.ts +1 -1
  58. package/dist/ui/tool-call.d.ts +15 -0
  59. package/dist/ui/tool-call.js +74 -0
  60. package/dist/ui/workflow-run.d.ts +23 -0
  61. package/dist/ui/workflow-run.js +185 -0
  62. package/docs/designer/criterio.md +87 -87
  63. package/docs/designer/patrones.md +3 -1
  64. package/package.json +238 -228
package/package.json CHANGED
@@ -1,228 +1,238 @@
1
- {
2
- "name": "orbital-ds",
3
- "version": "0.40.0",
4
- "description": "Sistema de diseño genérico: estructura común + temas con personalidad (qratia, zyro) + ~60 componentes sobre Base UI y Tailwind v4, con contrato verificable y legible por agentes.",
5
- "keywords": [
6
- "design-system",
7
- "design-tokens",
8
- "theme",
9
- "tailwindcss",
10
- "base-ui",
11
- "shadcn",
12
- "react"
13
- ],
14
- "license": "MIT",
15
- "type": "module",
16
- "sideEffects": [
17
- "*.css",
18
- "./dist/lib/echarts-setup.js"
19
- ],
20
- "files": [
21
- "dist",
22
- "scripts/doctor.mjs",
23
- "contract.json",
24
- "components.manifest.json",
25
- "docs",
26
- "AGENTS.md",
27
- "README.md",
28
- "LICENSE",
29
- "scripts/init.mjs",
30
- "scripts/cli.mjs",
31
- "scripts/skill.mjs",
32
- "skill",
33
- "scripts/manifest.mjs",
34
- "scripts/brand-core.mjs",
35
- "scripts/brand-core.d.mts",
36
- "scripts/setup.mjs",
37
- "scripts/brand-file.mjs",
38
- "scripts/i18n.mjs"
39
- ],
40
- "exports": {
41
- "./styles.css": "./dist/styles.css",
42
- "./motion.css": "./dist/motion.css",
43
- "./themes/*.css": "./dist/themes/*.css",
44
- "./themes/*.md": "./dist/themes/*.md",
45
- "./themes/*.meta.json": "./dist/themes/*.meta.json",
46
- "./themes/*.tokens.json": "./dist/themes/*.tokens.json",
47
- "./ui/*": {
48
- "types": "./dist/ui/*.d.ts",
49
- "import": "./dist/ui/*.js"
50
- },
51
- "./lib/*": {
52
- "types": "./dist/lib/*.d.ts",
53
- "import": "./dist/lib/*.js"
54
- },
55
- "./hooks/*": {
56
- "types": "./dist/hooks/*.d.ts",
57
- "import": "./dist/hooks/*.js"
58
- },
59
- "./brand": {
60
- "types": "./scripts/brand-core.d.mts",
61
- "import": "./scripts/brand-core.mjs"
62
- },
63
- "./package.json": "./package.json",
64
- "./contract.json": "./contract.json",
65
- "./components.manifest.json": "./components.manifest.json"
66
- },
67
- "scripts": {
68
- "build": "tsup && node scripts/build-css.mjs",
69
- "dev": "tsup --watch --onSuccess \"node scripts/copy-css.mjs\"",
70
- "typecheck": "tsc --noEmit",
71
- "verify": "pnpm check:ds && pnpm check:neutral && pnpm typecheck && pnpm showcase:typecheck && pnpm build && pnpm check:bundle && pnpm check:charts && pnpm check:pack",
72
- "manifest": "node scripts/manifest.mjs",
73
- "check:ds": "node scripts/doctor.mjs",
74
- "check:bundle": "node scripts/check-bundle.mjs",
75
- "check:charts": "node scripts/check-charts.mjs",
76
- "check:neutral": "node scripts/neutral.mjs --check",
77
- "check:pack": "node scripts/check-pack.mjs",
78
- "prepublishOnly": "pnpm verify",
79
- "showcase": "vite --config showcase/vite.config.ts",
80
- "showcase:build": "vite build --config showcase/vite.config.ts",
81
- "showcase:typecheck": "tsc --noEmit -p showcase"
82
- },
83
- "peerDependencies": {
84
- "@base-ui/react": ">=1.9",
85
- "@shadcn/react": ">=0.3",
86
- "@tanstack/react-table": ">=9",
87
- "@tiptap/core": ">=3",
88
- "@tiptap/extension-image": ">=3",
89
- "@tiptap/extension-placeholder": ">=3",
90
- "@tiptap/extension-table": ">=3",
91
- "@tiptap/markdown": ">=3",
92
- "@tiptap/pm": ">=3",
93
- "@tiptap/react": ">=3",
94
- "@tiptap/starter-kit": ">=3",
95
- "class-variance-authority": ">=0.7",
96
- "clsx": ">=2",
97
- "cmdk": ">=1.1",
98
- "date-fns": ">=4",
99
- "echarts": ">=6",
100
- "embla-carousel-react": ">=8.6",
101
- "input-otp": ">=1.5",
102
- "lucide-react": ">=0.400",
103
- "motion": ">=12",
104
- "next-themes": ">=0.4",
105
- "react": ">=19",
106
- "react-day-picker": ">=10",
107
- "react-dom": ">=19",
108
- "react-resizable-panels": ">=4",
109
- "recharts": ">=3",
110
- "sonner": ">=2",
111
- "tailwind-merge": ">=3",
112
- "tailwindcss": ">=4.1",
113
- "tw-animate-css": ">=1.3"
114
- },
115
- "peerDependenciesMeta": {
116
- "next-themes": {
117
- "optional": true
118
- },
119
- "recharts": {
120
- "optional": true
121
- },
122
- "sonner": {
123
- "optional": true
124
- },
125
- "@shadcn/react": {
126
- "optional": true
127
- },
128
- "cmdk": {
129
- "optional": true
130
- },
131
- "date-fns": {
132
- "optional": true
133
- },
134
- "embla-carousel-react": {
135
- "optional": true
136
- },
137
- "input-otp": {
138
- "optional": true
139
- },
140
- "react-day-picker": {
141
- "optional": true
142
- },
143
- "react-resizable-panels": {
144
- "optional": true
145
- },
146
- "motion": {
147
- "optional": true
148
- },
149
- "echarts": {
150
- "optional": true
151
- },
152
- "@tanstack/react-table": {
153
- "optional": true
154
- },
155
- "@tiptap/react": {
156
- "optional": true
157
- },
158
- "@tiptap/pm": {
159
- "optional": true
160
- },
161
- "@tiptap/core": {
162
- "optional": true
163
- },
164
- "@tiptap/starter-kit": {
165
- "optional": true
166
- },
167
- "@tiptap/markdown": {
168
- "optional": true
169
- },
170
- "@tiptap/extension-placeholder": {
171
- "optional": true
172
- },
173
- "@tiptap/extension-table": {
174
- "optional": true
175
- },
176
- "@tiptap/extension-image": {
177
- "optional": true
178
- }
179
- },
180
- "devDependencies": {
181
- "@base-ui/react": "^1.9.0",
182
- "@shadcn/react": "^0.3.1",
183
- "@tailwindcss/vite": "^4.3.3",
184
- "@tanstack/react-table": "^9.2.8",
185
- "@tiptap/core": "^3.33.1",
186
- "@tiptap/extension-image": "^3.33.1",
187
- "@tiptap/extension-placeholder": "^3.33.1",
188
- "@tiptap/extension-table": "^3.33.1",
189
- "@tiptap/markdown": "^3.33.1",
190
- "@tiptap/pm": "^3.33.1",
191
- "@tiptap/react": "^3.33.1",
192
- "@tiptap/starter-kit": "^3.33.1",
193
- "@types/react": "^19.2.0",
194
- "@types/react-dom": "^19.2.0",
195
- "@vitejs/plugin-react": "^6.1.2",
196
- "class-variance-authority": "^0.7.1",
197
- "clsx": "^2.1.1",
198
- "cmdk": "^1.1.1",
199
- "date-fns": "^4.4.0",
200
- "echarts": "^6.1.0",
201
- "embla-carousel-react": "^8.6.0",
202
- "input-otp": "^1.5.0",
203
- "lucide-react": "^0.577.0",
204
- "motion": "^14.1.0",
205
- "next-themes": "^0.4.6",
206
- "react": "^19.2.0",
207
- "react-day-picker": "^10.0.2",
208
- "react-dom": "^19.2.0",
209
- "react-resizable-panels": "^4.14.4",
210
- "recharts": "3.8.0",
211
- "sonner": "^2.0.8",
212
- "tailwind-merge": "^3.0.2",
213
- "tailwindcss": "^4.1.18",
214
- "tsup": "^8.5.0",
215
- "tw-animate-css": "^1.3.6",
216
- "typescript": "^5.9.0",
217
- "vite": "^8.3.4"
218
- },
219
- "bin": {
220
- "orbital-ds": "./scripts/cli.mjs",
221
- "orbital-ds-doctor": "./scripts/doctor.mjs",
222
- "orbital-ds-init": "./scripts/init.mjs",
223
- "orbital-ds-i18n": "./scripts/i18n.mjs"
224
- },
225
- "dependencies": {
226
- "@clack/prompts": "^1.8.1"
227
- }
228
- }
1
+ {
2
+ "name": "orbital-ds",
3
+ "version": "0.41.0",
4
+ "description": "Sistema de diseño genérico: estructura común + temas con personalidad (qratia, zyro) + ~60 componentes sobre Base UI y Tailwind v4, con contrato verificable y legible por agentes.",
5
+ "keywords": [
6
+ "design-system",
7
+ "design-tokens",
8
+ "theme",
9
+ "tailwindcss",
10
+ "base-ui",
11
+ "shadcn",
12
+ "react"
13
+ ],
14
+ "license": "MIT",
15
+ "type": "module",
16
+ "sideEffects": [
17
+ "*.css",
18
+ "./dist/lib/echarts-setup.js"
19
+ ],
20
+ "files": [
21
+ "dist",
22
+ "scripts/doctor.mjs",
23
+ "contract.json",
24
+ "components.manifest.json",
25
+ "docs",
26
+ "AGENTS.md",
27
+ "README.md",
28
+ "LICENSE",
29
+ "scripts/init.mjs",
30
+ "scripts/cli.mjs",
31
+ "scripts/skill.mjs",
32
+ "skill",
33
+ "scripts/manifest.mjs",
34
+ "scripts/brand-core.mjs",
35
+ "scripts/brand-core.d.mts",
36
+ "scripts/setup.mjs",
37
+ "scripts/brand-file.mjs",
38
+ "scripts/i18n.mjs"
39
+ ],
40
+ "exports": {
41
+ "./styles.css": "./dist/styles.css",
42
+ "./motion.css": "./dist/motion.css",
43
+ "./themes/*.css": "./dist/themes/*.css",
44
+ "./themes/*.md": "./dist/themes/*.md",
45
+ "./themes/*.meta.json": "./dist/themes/*.meta.json",
46
+ "./themes/*.tokens.json": "./dist/themes/*.tokens.json",
47
+ "./ui/*": {
48
+ "types": "./dist/ui/*.d.ts",
49
+ "import": "./dist/ui/*.js"
50
+ },
51
+ "./lib/*": {
52
+ "types": "./dist/lib/*.d.ts",
53
+ "import": "./dist/lib/*.js"
54
+ },
55
+ "./hooks/*": {
56
+ "types": "./dist/hooks/*.d.ts",
57
+ "import": "./dist/hooks/*.js"
58
+ },
59
+ "./brand": {
60
+ "types": "./scripts/brand-core.d.mts",
61
+ "import": "./scripts/brand-core.mjs"
62
+ },
63
+ "./package.json": "./package.json",
64
+ "./contract.json": "./contract.json",
65
+ "./components.manifest.json": "./components.manifest.json"
66
+ },
67
+ "scripts": {
68
+ "build": "tsup && node scripts/build-css.mjs",
69
+ "dev": "tsup --watch --onSuccess \"node scripts/copy-css.mjs\"",
70
+ "typecheck": "tsc --noEmit",
71
+ "verify": "pnpm check:ds && pnpm check:neutral && pnpm typecheck && pnpm showcase:typecheck && pnpm build && pnpm check:bundle && pnpm check:charts && pnpm check:pack",
72
+ "manifest": "node scripts/manifest.mjs",
73
+ "check:ds": "node scripts/doctor.mjs",
74
+ "check:bundle": "node scripts/check-bundle.mjs",
75
+ "check:charts": "node scripts/check-charts.mjs",
76
+ "check:neutral": "node scripts/neutral.mjs --check",
77
+ "check:pack": "node scripts/check-pack.mjs",
78
+ "prepublishOnly": "pnpm verify",
79
+ "showcase": "vite --config showcase/vite.config.ts",
80
+ "showcase:build": "vite build --config showcase/vite.config.ts",
81
+ "showcase:typecheck": "tsc --noEmit -p showcase"
82
+ },
83
+ "peerDependencies": {
84
+ "@base-ui/react": ">=1.9",
85
+ "@shadcn/react": ">=0.3",
86
+ "@tanstack/react-table": ">=9",
87
+ "@tiptap/core": ">=3",
88
+ "@tiptap/extension-image": ">=3",
89
+ "@tiptap/extension-placeholder": ">=3",
90
+ "@tiptap/extension-table": ">=3",
91
+ "@tiptap/markdown": ">=3",
92
+ "@tiptap/pm": ">=3",
93
+ "@tiptap/react": ">=3",
94
+ "@tiptap/starter-kit": ">=3",
95
+ "class-variance-authority": ">=0.7",
96
+ "clsx": ">=2",
97
+ "cmdk": ">=1.1",
98
+ "date-fns": ">=4",
99
+ "echarts": ">=6",
100
+ "embla-carousel-react": ">=8.6",
101
+ "input-otp": ">=1.5",
102
+ "lucide-react": ">=0.400",
103
+ "motion": ">=12",
104
+ "next-themes": ">=0.4",
105
+ "react": ">=19",
106
+ "react-day-picker": ">=10",
107
+ "react-dom": ">=19",
108
+ "react-markdown": ">=10",
109
+ "react-resizable-panels": ">=4",
110
+ "recharts": ">=3",
111
+ "remark-gfm": ">=4",
112
+ "sonner": ">=2",
113
+ "tailwind-merge": ">=3",
114
+ "tailwindcss": ">=4.1",
115
+ "tw-animate-css": ">=1.3"
116
+ },
117
+ "peerDependenciesMeta": {
118
+ "@shadcn/react": {
119
+ "optional": true
120
+ },
121
+ "@tanstack/react-table": {
122
+ "optional": true
123
+ },
124
+ "@tiptap/core": {
125
+ "optional": true
126
+ },
127
+ "@tiptap/extension-image": {
128
+ "optional": true
129
+ },
130
+ "@tiptap/extension-placeholder": {
131
+ "optional": true
132
+ },
133
+ "@tiptap/extension-table": {
134
+ "optional": true
135
+ },
136
+ "@tiptap/markdown": {
137
+ "optional": true
138
+ },
139
+ "@tiptap/pm": {
140
+ "optional": true
141
+ },
142
+ "@tiptap/react": {
143
+ "optional": true
144
+ },
145
+ "@tiptap/starter-kit": {
146
+ "optional": true
147
+ },
148
+ "cmdk": {
149
+ "optional": true
150
+ },
151
+ "date-fns": {
152
+ "optional": true
153
+ },
154
+ "echarts": {
155
+ "optional": true
156
+ },
157
+ "embla-carousel-react": {
158
+ "optional": true
159
+ },
160
+ "input-otp": {
161
+ "optional": true
162
+ },
163
+ "motion": {
164
+ "optional": true
165
+ },
166
+ "next-themes": {
167
+ "optional": true
168
+ },
169
+ "react-day-picker": {
170
+ "optional": true
171
+ },
172
+ "react-markdown": {
173
+ "optional": true
174
+ },
175
+ "react-resizable-panels": {
176
+ "optional": true
177
+ },
178
+ "recharts": {
179
+ "optional": true
180
+ },
181
+ "remark-gfm": {
182
+ "optional": true
183
+ },
184
+ "sonner": {
185
+ "optional": true
186
+ }
187
+ },
188
+ "devDependencies": {
189
+ "@base-ui/react": "^1.9.0",
190
+ "@shadcn/react": "^0.3.1",
191
+ "@tailwindcss/vite": "^4.3.3",
192
+ "@tanstack/react-table": "^9.2.8",
193
+ "@tiptap/core": "^3.33.1",
194
+ "@tiptap/extension-image": "^3.33.1",
195
+ "@tiptap/extension-placeholder": "^3.33.1",
196
+ "@tiptap/extension-table": "^3.33.1",
197
+ "@tiptap/markdown": "^3.33.1",
198
+ "@tiptap/pm": "^3.33.1",
199
+ "@tiptap/react": "^3.33.1",
200
+ "@tiptap/starter-kit": "^3.33.1",
201
+ "@types/react": "^19.2.0",
202
+ "@types/react-dom": "^19.2.0",
203
+ "@vitejs/plugin-react": "^6.1.2",
204
+ "class-variance-authority": "^0.7.1",
205
+ "clsx": "^2.1.1",
206
+ "cmdk": "^1.1.1",
207
+ "date-fns": "^4.4.0",
208
+ "echarts": "^6.1.0",
209
+ "embla-carousel-react": "^8.6.0",
210
+ "input-otp": "^1.5.0",
211
+ "lucide-react": "^0.577.0",
212
+ "motion": "^14.1.0",
213
+ "next-themes": "^0.4.6",
214
+ "react": "^19.2.0",
215
+ "react-day-picker": "^10.0.2",
216
+ "react-dom": "^19.2.0",
217
+ "react-markdown": "^10.1.0",
218
+ "react-resizable-panels": "^4.14.4",
219
+ "recharts": "3.8.0",
220
+ "remark-gfm": "^4.0.1",
221
+ "sonner": "^2.0.8",
222
+ "tailwind-merge": "^3.0.2",
223
+ "tailwindcss": "^4.1.18",
224
+ "tsup": "^8.5.0",
225
+ "tw-animate-css": "^1.3.6",
226
+ "typescript": "^5.9.0",
227
+ "vite": "^8.3.4"
228
+ },
229
+ "bin": {
230
+ "orbital-ds": "./scripts/cli.mjs",
231
+ "orbital-ds-doctor": "./scripts/doctor.mjs",
232
+ "orbital-ds-init": "./scripts/init.mjs",
233
+ "orbital-ds-i18n": "./scripts/i18n.mjs"
234
+ },
235
+ "dependencies": {
236
+ "@clack/prompts": "^1.8.1"
237
+ }
238
+ }