@uibot/registry 0.6.0 → 0.9.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 (54) hide show
  1. package/dist/index.js +9 -9
  2. package/dist/shadcn/r/admin-dashboard.json +70 -0
  3. package/dist/shadcn/r/admin-shell.json +148 -0
  4. package/dist/shadcn/r/ai-chat.json +74 -0
  5. package/dist/shadcn/r/analytics-dashboard.json +65 -0
  6. package/dist/shadcn/r/app-shell-floating.json +54 -0
  7. package/dist/shadcn/r/app-shell-icon-rail.json +54 -0
  8. package/dist/shadcn/r/app-shell-inset.json +54 -0
  9. package/dist/shadcn/r/app-shell-settings.json +54 -0
  10. package/dist/shadcn/r/app-shell-sidebar.json +54 -0
  11. package/dist/shadcn/r/app-shell-workspace.json +54 -0
  12. package/dist/shadcn/r/auth.json +61 -0
  13. package/dist/shadcn/r/blog.json +64 -0
  14. package/dist/shadcn/r/charts.json +211 -0
  15. package/dist/shadcn/r/content.json +444 -0
  16. package/dist/shadcn/r/creation-html-generation.json +29 -0
  17. package/dist/shadcn/r/creation-reference-generation.json +29 -0
  18. package/dist/shadcn/r/creation-revision-export.json +27 -0
  19. package/dist/shadcn/r/creation-shared.json +24 -0
  20. package/dist/shadcn/r/creation-workspace.json +33 -0
  21. package/dist/shadcn/r/crm.json +67 -0
  22. package/dist/shadcn/r/dashboard.json +147 -0
  23. package/dist/shadcn/r/data-studio.json +368 -0
  24. package/dist/shadcn/r/data-table.json +224 -0
  25. package/dist/shadcn/r/data.json +320 -0
  26. package/dist/shadcn/r/ecommerce.json +65 -0
  27. package/dist/shadcn/r/feedback.json +300 -0
  28. package/dist/shadcn/r/field.json +164 -0
  29. package/dist/shadcn/r/form.json +425 -0
  30. package/dist/shadcn/r/grid.json +188 -0
  31. package/dist/shadcn/r/interactive.json +355 -0
  32. package/dist/shadcn/r/kanban.json +154 -0
  33. package/dist/shadcn/r/layout.json +529 -0
  34. package/dist/shadcn/r/lms.json +74 -0
  35. package/dist/shadcn/r/marketing.json +402 -0
  36. package/dist/shadcn/r/nav.json +257 -0
  37. package/dist/shadcn/r/portfolio.json +62 -0
  38. package/dist/shadcn/r/presentation.json +454 -0
  39. package/dist/shadcn/r/pricing.json +63 -0
  40. package/dist/shadcn/r/primitives.json +360 -0
  41. package/dist/shadcn/r/saas-landing.json +60 -0
  42. package/dist/shadcn/r/sections.json +734 -0
  43. package/dist/shadcn/r/settings.json +72 -0
  44. package/dist/shadcn/r/shadcn-admin-shell.json +49 -0
  45. package/dist/shadcn/r/shadcn-admin.json +76 -0
  46. package/dist/shadcn/r/store.json +75 -0
  47. package/dist/shadcn/r/support-inbox.json +63 -0
  48. package/dist/shadcn/r/team-directory.json +59 -0
  49. package/dist/shadcn/r/uibot-base.json +30 -0
  50. package/dist/shadcn/r/uibot-theme.json +86 -0
  51. package/dist/shadcn/r/workspace.json +174 -0
  52. package/dist/shadcn/registry.json +615 -0
  53. package/dist/shadcn.d.ts +10 -5
  54. package/package.json +2 -2
@@ -0,0 +1,257 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "nav",
4
+ "type": "registry:ui",
5
+ "description": "Vertical sidebar navigation. Place MenuLink or MenuGroup blocks as children. Usually placed in the PageLayout sidebar slot.",
6
+ "dependencies": [
7
+ "react"
8
+ ],
9
+ "registryDependencies": [
10
+ "@uibot/uibot-base"
11
+ ],
12
+ "files": [
13
+ {
14
+ "path": "components/uibot/nav.tsx",
15
+ "target": "components/uibot/nav.tsx",
16
+ "content": "import type { RendererComponent } from \"@/lib/uibot-renderer\";\nimport type { ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\n\n/**\n * Resolve the visual class for a Link `variant`. Exported so a host that\n * overrides the `Link` renderer (e.g. a router-aware SPA bridge) can reuse the\n * exact same chrome without re-declaring it.\n *\n * - `button` — filled primary button styling (CTA).\n * - `outline` — bordered secondary button styling (CTA pair).\n * - `muted` — muted inline link (header actions).\n * - default — primary inline hyperlink.\n */\nexport function linkVariantClass(variant: unknown): string {\n if (variant === \"button\") {\n return \"inline-flex items-center rounded-md bg-primary px-3 py-1.5 text-sm font-medium text-primary-foreground hover:bg-primary/90\";\n }\n if (variant === \"outline\") {\n return \"inline-flex items-center rounded-md border border-border bg-background px-3 py-1.5 text-sm font-medium text-foreground hover:bg-accent\";\n }\n if (variant === \"muted\") {\n return \"text-muted-foreground hover:text-foreground underline-offset-4 hover:underline\";\n }\n return \"text-primary underline-offset-4 hover:underline\";\n}\n\n/** Sidebar navigation menu */\nexport const PageSiderMenu: RendererComponent = (props, ctx) => (\n <nav\n className=\"uibot-sider-menu flex h-full w-full flex-col bg-muted/30\"\n data-uibot-type=\"PageSiderMenu\"\n aria-label={\n typeof props[\"label\"] === \"string\"\n ? props[\"label\"]\n : typeof props.title === \"string\"\n ? props.title\n : \"Sidebar\"\n }\n >\n {ctx.slots[\"header\"] && (\n <div className=\"shrink-0 border-b px-3 py-3\">{ctx.slots[\"header\"] as ReactNode[]}</div>\n )}\n {typeof props[\"title\"] === \"string\" && (\n <div className=\"uibot-sider-title shrink-0 border-b px-4 py-4\">\n <span className=\"uibot-sider-full-title text-sm font-semibold tracking-tight\">\n {props[\"title\"]}\n </span>\n <span className=\"uibot-sider-abbreviation hidden text-sm font-semibold\" aria-hidden=\"true\">\n {Array.from(props.title.trim())[0] || \"•\"}\n </span>\n </div>\n )}\n <ul className=\"flex-1 overflow-y-auto py-2\" role=\"list\">\n {ctx.children as ReactNode[]}\n </ul>\n {ctx.slots[\"footer\"] && (\n <div className=\"shrink-0 border-t px-3 py-3\">{ctx.slots[\"footer\"] as ReactNode[]}</div>\n )}\n </nav>\n);\n\n/** Labeled group of MenuLink items inside PageSiderMenu */\nexport const MenuGroup: RendererComponent = (props, ctx) => (\n <li className=\"uibot-menu-group list-none\" data-uibot-type=\"MenuGroup\">\n {typeof props[\"title\"] === \"string\" && (\n <div className=\"uibot-menu-group-title px-4 pb-1 pt-3 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground\">\n {props[\"title\"]}\n </div>\n )}\n <ul className=\"space-y-0.5\" role=\"list\">\n {ctx.children as ReactNode[]}\n </ul>\n </li>\n);\n\n/** Single navigation menu item */\nexport const MenuLink: RendererComponent = (props) => {\n const active = props[\"active\"] === true;\n const icon = typeof props.icon === \"string\" && props.icon.trim() ? props.icon : null;\n const label = typeof props.label === \"string\" ? props.label : \"Link\";\n\n return (\n <li>\n <a\n href={typeof props[\"href\"] === \"string\" ? props[\"href\"] : \"#\"}\n className={cn(\n \"uibot-menu-link mx-2 flex items-center gap-2.5 rounded-md px-3 py-2 text-sm font-medium transition-colors\",\n active\n ? \"bg-accent text-accent-foreground\"\n : \"text-muted-foreground hover:bg-accent/50 hover:text-foreground\",\n )}\n data-uibot-type=\"MenuLink\"\n aria-current={active ? \"page\" : undefined}\n aria-label={label}\n title={label}\n >\n {icon && (\n <span className=\"text-base leading-none\" aria-hidden=\"true\">\n {icon}\n </span>\n )}\n {!icon && (\n <span className=\"uibot-menu-fallback hidden text-base leading-none\" aria-hidden=\"true\">\n {Array.from(label.trim())[0] || \"•\"}\n </span>\n )}\n <span className=\"uibot-menu-label\">{label}</span>\n {props[\"badge\"] !== undefined && (\n <span className=\"uibot-menu-badge ml-auto rounded-full bg-primary px-1.5 py-0.5 text-[10px] font-medium text-primary-foreground\">\n {String(props[\"badge\"])}\n </span>\n )}\n </a>\n </li>\n );\n};\n\n/** Inline hyperlink */\nexport const Link: RendererComponent = (props, ctx) => {\n const children = ctx.children as ReactNode[];\n\n return (\n <a\n href={typeof props[\"href\"] === \"string\" ? props[\"href\"] : \"#\"}\n target={typeof props[\"target\"] === \"string\" ? props[\"target\"] : \"_self\"}\n className={cn(\n \"uibot-link transition-colors\",\n linkVariantClass(props[\"variant\"]),\n typeof props[\"className\"] === \"string\" ? props[\"className\"] : undefined,\n )}\n data-uibot-type=\"Link\"\n >\n {children.length > 0\n ? children\n : typeof props[\"label\"] === \"string\"\n ? props[\"label\"]\n : \"Link\"}\n </a>\n );\n};\n\n/** Parse breadcrumb items — accepts Array<{label,href}> or JSON string */\nfunction parseBreadcrumbItems(raw: unknown): Array<{ label: string; href?: string }> {\n if (Array.isArray(raw)) return raw as Array<{ label: string; href?: string }>;\n if (typeof raw === \"string\") {\n try {\n const parsed = JSON.parse(raw) as unknown;\n if (Array.isArray(parsed)) return parsed as Array<{ label: string; href?: string }>;\n } catch {\n /* ignore */\n }\n }\n return [];\n}\n\n/** Breadcrumb navigation trail */\nexport const Breadcrumb: RendererComponent = (props) => {\n const items = parseBreadcrumbItems(props[\"items\"]);\n\n return (\n <nav aria-label=\"Breadcrumb\" className=\"uibot-breadcrumb\" data-uibot-type=\"Breadcrumb\">\n <ol className=\"flex flex-wrap items-center gap-1 text-sm text-muted-foreground\">\n {items.map((item, i) => (\n <li key={i} className=\"flex items-center gap-1\">\n {i > 0 && (\n <svg\n aria-hidden=\"true\"\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 14 14\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className=\"shrink-0 opacity-50\"\n >\n <polyline points=\"4 2 10 7 4 12\" />\n </svg>\n )}\n {item.href ? (\n <a\n href={item.href}\n className=\"transition-colors hover:text-foreground hover:underline underline-offset-4\"\n >\n {item.label}\n </a>\n ) : (\n <span aria-current=\"page\" className=\"font-medium text-foreground\">\n {item.label}\n </span>\n )}\n </li>\n ))}\n </ol>\n </nav>\n );\n};\n",
17
+ "type": "registry:ui"
18
+ },
19
+ {
20
+ "path": "components/uibot/nav.uibot.json",
21
+ "target": "components/uibot/nav.uibot.json",
22
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"nav\",\n \"channel\": \"public\",\n \"components\": [\n {\n \"name\": \"Breadcrumb\",\n \"export\": \"Breadcrumb\",\n \"module\": \"nav.tsx\",\n \"catalog\": {\n \"name\": \"Breadcrumb\",\n \"description\": \"Hierarchical page path trail. Pass an items array of {label, href?}.\",\n \"category\": \"composite\",\n \"level\": \"L2\",\n \"tags\": [\n \"breadcrumb\",\n \"nav\"\n ],\n \"props\": {\n \"items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n }\n }\n },\n \"description\": \"Path segments\"\n }\n },\n \"usageScenarios\": [\n \"Page location context in an admin CRUD view\",\n \"Multi-step wizard progress\"\n ],\n \"constraints\": []\n }\n },\n {\n \"name\": \"Link\",\n \"export\": \"Link\",\n \"module\": \"nav.tsx\",\n \"catalog\": {\n \"name\": \"Link\",\n \"description\": \"Inline hyperlink. Variants: default (blue underline), muted (gray), button (filled CTA), outline (bordered CTA).\",\n \"category\": \"primitive\",\n \"level\": \"L1\",\n \"tags\": [\n \"link\"\n ],\n \"props\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n },\n \"variant\": {\n \"type\": \"string\",\n \"enum\": [\n \"default\",\n \"muted\",\n \"button\",\n \"outline\"\n ],\n \"default\": \"default\"\n },\n \"target\": {\n \"type\": \"string\",\n \"enum\": [\n \"_self\",\n \"_blank\"\n ],\n \"default\": \"_self\"\n },\n \"className\": {\n \"type\": \"string\",\n \"description\": \"Extra utility classes appended to the variant chrome.\"\n }\n },\n \"usageScenarios\": [\n \"Inline 'Read more' link in a paragraph\",\n \"CTA button-style link in a hero section\"\n ],\n \"constraints\": []\n }\n },\n {\n \"name\": \"MenuGroup\",\n \"export\": \"MenuGroup\",\n \"module\": \"nav.tsx\",\n \"catalog\": {\n \"name\": \"MenuGroup\",\n \"description\": \"Labeled group of MenuLink items inside PageSiderMenu.\",\n \"category\": \"composite\",\n \"level\": \"L2\",\n \"tags\": [\n \"sidebar\",\n \"nav\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Group heading shown above the links\"\n }\n },\n \"usageScenarios\": [\n \"Platform vs Workspace nav groups\",\n \"Settings section grouping\"\n ],\n \"constraints\": [\n \"Must be a direct child of PageSiderMenu\"\n ]\n }\n },\n {\n \"name\": \"MenuLink\",\n \"export\": \"MenuLink\",\n \"module\": \"nav.tsx\",\n \"catalog\": {\n \"name\": \"MenuLink\",\n \"description\": \"Single navigation item inside a PageSiderMenu. Renders as an anchor with optional icon and badge.\",\n \"category\": \"primitive\",\n \"level\": \"L1\",\n \"tags\": [\n \"nav\",\n \"link\"\n ],\n \"props\": {\n \"label\": {\n \"type\": \"string\"\n },\n \"href\": {\n \"type\": \"string\"\n },\n \"icon\": {\n \"type\": \"string\",\n \"description\": \"Emoji or Unicode glyph\"\n },\n \"badge\": {\n \"type\": \"string\",\n \"description\": \"Count or label shown on the right\"\n },\n \"active\": {\n \"type\": \"boolean\",\n \"default\": false\n }\n },\n \"usageScenarios\": [\n \"Dashboard menu item\",\n \"Settings section link with unread badge\"\n ],\n \"constraints\": [\n \"Must be a direct child of PageSiderMenu or MenuGroup\"\n ]\n }\n },\n {\n \"name\": \"PageSiderMenu\",\n \"export\": \"PageSiderMenu\",\n \"module\": \"nav.tsx\",\n \"catalog\": {\n \"name\": \"PageSiderMenu\",\n \"description\": \"Vertical sidebar navigation. Place MenuLink or MenuGroup blocks as children. Usually placed in the PageLayout sidebar slot.\",\n \"category\": \"composite\",\n \"level\": \"L2\",\n \"tags\": [\n \"sidebar\",\n \"nav\"\n ],\n \"props\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Section heading above menu items\"\n }\n },\n \"slots\": {\n \"header\": {\n \"description\": \"Workspace switcher or brand above the menu list\"\n },\n \"footer\": {\n \"description\": \"User card or secondary links below the menu list\"\n }\n },\n \"usageScenarios\": [\n \"Admin left nav (Dashboard, Users, Settings)\",\n \"Docs section navigation\"\n ],\n \"constraints\": [\n \"Always use as a sibling inside PageLayout sidebar slot; do not place in main content area\"\n ]\n }\n }\n ]\n}\n",
23
+ "type": "registry:ui"
24
+ }
25
+ ],
26
+ "meta": {
27
+ "category": "composite",
28
+ "level": "L2",
29
+ "props": {
30
+ "title": {
31
+ "type": "string",
32
+ "description": "Section heading above menu items"
33
+ }
34
+ },
35
+ "slots": {
36
+ "header": {
37
+ "description": "Workspace switcher or brand above the menu list"
38
+ },
39
+ "footer": {
40
+ "description": "User card or secondary links below the menu list"
41
+ }
42
+ },
43
+ "scenarios": [
44
+ "Admin left nav (Dashboard, Users, Settings)",
45
+ "Docs section navigation"
46
+ ],
47
+ "constraints": [
48
+ "Always use as a sibling inside PageLayout sidebar slot; do not place in main content area"
49
+ ],
50
+ "provides": [
51
+ "PageSiderMenu",
52
+ "MenuGroup",
53
+ "MenuLink",
54
+ "Link",
55
+ "Breadcrumb"
56
+ ],
57
+ "uibot": {
58
+ "schema": "uibot.registry.item.v1",
59
+ "item": "nav",
60
+ "channel": "public",
61
+ "components": [
62
+ {
63
+ "name": "Breadcrumb",
64
+ "export": "Breadcrumb",
65
+ "module": "nav.tsx",
66
+ "catalog": {
67
+ "name": "Breadcrumb",
68
+ "description": "Hierarchical page path trail. Pass an items array of {label, href?}.",
69
+ "category": "composite",
70
+ "level": "L2",
71
+ "tags": [
72
+ "breadcrumb",
73
+ "nav"
74
+ ],
75
+ "props": {
76
+ "items": {
77
+ "type": "array",
78
+ "items": {
79
+ "type": "object",
80
+ "properties": {
81
+ "label": {
82
+ "type": "string"
83
+ },
84
+ "href": {
85
+ "type": "string"
86
+ }
87
+ }
88
+ },
89
+ "description": "Path segments"
90
+ }
91
+ },
92
+ "usageScenarios": [
93
+ "Page location context in an admin CRUD view",
94
+ "Multi-step wizard progress"
95
+ ],
96
+ "constraints": []
97
+ }
98
+ },
99
+ {
100
+ "name": "Link",
101
+ "export": "Link",
102
+ "module": "nav.tsx",
103
+ "catalog": {
104
+ "name": "Link",
105
+ "description": "Inline hyperlink. Variants: default (blue underline), muted (gray), button (filled CTA), outline (bordered CTA).",
106
+ "category": "primitive",
107
+ "level": "L1",
108
+ "tags": [
109
+ "link"
110
+ ],
111
+ "props": {
112
+ "label": {
113
+ "type": "string"
114
+ },
115
+ "href": {
116
+ "type": "string"
117
+ },
118
+ "variant": {
119
+ "type": "string",
120
+ "enum": [
121
+ "default",
122
+ "muted",
123
+ "button",
124
+ "outline"
125
+ ],
126
+ "default": "default"
127
+ },
128
+ "target": {
129
+ "type": "string",
130
+ "enum": [
131
+ "_self",
132
+ "_blank"
133
+ ],
134
+ "default": "_self"
135
+ },
136
+ "className": {
137
+ "type": "string",
138
+ "description": "Extra utility classes appended to the variant chrome."
139
+ }
140
+ },
141
+ "usageScenarios": [
142
+ "Inline 'Read more' link in a paragraph",
143
+ "CTA button-style link in a hero section"
144
+ ],
145
+ "constraints": []
146
+ }
147
+ },
148
+ {
149
+ "name": "MenuGroup",
150
+ "export": "MenuGroup",
151
+ "module": "nav.tsx",
152
+ "catalog": {
153
+ "name": "MenuGroup",
154
+ "description": "Labeled group of MenuLink items inside PageSiderMenu.",
155
+ "category": "composite",
156
+ "level": "L2",
157
+ "tags": [
158
+ "sidebar",
159
+ "nav"
160
+ ],
161
+ "props": {
162
+ "title": {
163
+ "type": "string",
164
+ "description": "Group heading shown above the links"
165
+ }
166
+ },
167
+ "usageScenarios": [
168
+ "Platform vs Workspace nav groups",
169
+ "Settings section grouping"
170
+ ],
171
+ "constraints": [
172
+ "Must be a direct child of PageSiderMenu"
173
+ ]
174
+ }
175
+ },
176
+ {
177
+ "name": "MenuLink",
178
+ "export": "MenuLink",
179
+ "module": "nav.tsx",
180
+ "catalog": {
181
+ "name": "MenuLink",
182
+ "description": "Single navigation item inside a PageSiderMenu. Renders as an anchor with optional icon and badge.",
183
+ "category": "primitive",
184
+ "level": "L1",
185
+ "tags": [
186
+ "nav",
187
+ "link"
188
+ ],
189
+ "props": {
190
+ "label": {
191
+ "type": "string"
192
+ },
193
+ "href": {
194
+ "type": "string"
195
+ },
196
+ "icon": {
197
+ "type": "string",
198
+ "description": "Emoji or Unicode glyph"
199
+ },
200
+ "badge": {
201
+ "type": "string",
202
+ "description": "Count or label shown on the right"
203
+ },
204
+ "active": {
205
+ "type": "boolean",
206
+ "default": false
207
+ }
208
+ },
209
+ "usageScenarios": [
210
+ "Dashboard menu item",
211
+ "Settings section link with unread badge"
212
+ ],
213
+ "constraints": [
214
+ "Must be a direct child of PageSiderMenu or MenuGroup"
215
+ ]
216
+ }
217
+ },
218
+ {
219
+ "name": "PageSiderMenu",
220
+ "export": "PageSiderMenu",
221
+ "module": "nav.tsx",
222
+ "catalog": {
223
+ "name": "PageSiderMenu",
224
+ "description": "Vertical sidebar navigation. Place MenuLink or MenuGroup blocks as children. Usually placed in the PageLayout sidebar slot.",
225
+ "category": "composite",
226
+ "level": "L2",
227
+ "tags": [
228
+ "sidebar",
229
+ "nav"
230
+ ],
231
+ "props": {
232
+ "title": {
233
+ "type": "string",
234
+ "description": "Section heading above menu items"
235
+ }
236
+ },
237
+ "slots": {
238
+ "header": {
239
+ "description": "Workspace switcher or brand above the menu list"
240
+ },
241
+ "footer": {
242
+ "description": "User card or secondary links below the menu list"
243
+ }
244
+ },
245
+ "usageScenarios": [
246
+ "Admin left nav (Dashboard, Users, Settings)",
247
+ "Docs section navigation"
248
+ ],
249
+ "constraints": [
250
+ "Always use as a sibling inside PageLayout sidebar slot; do not place in main content area"
251
+ ]
252
+ }
253
+ }
254
+ ]
255
+ }
256
+ }
257
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
3
+ "name": "portfolio",
4
+ "type": "registry:block",
5
+ "description": "Ada Lovelace — Designer & Engineer",
6
+ "registryDependencies": [
7
+ "@uibot/data",
8
+ "@uibot/feedback",
9
+ "@uibot/grid",
10
+ "@uibot/interactive",
11
+ "@uibot/layout",
12
+ "@uibot/nav"
13
+ ],
14
+ "files": [
15
+ {
16
+ "path": "lib/uibot/templates/portfolio.uibot.yaml",
17
+ "target": "lib/uibot/templates/portfolio.uibot.yaml",
18
+ "content": "version: \"2.0\"\npages:\n - id: portfolio\n path: /\n title: Ada Lovelace — Designer & Engineer\n blocks:\n - type: PageLayout\n props:\n title: Ada Lovelace\n slots:\n headerActions:\n - type: Link\n props:\n label: Resume\n href: \"#\"\n variant: muted\n - type: Link\n props:\n label: Contact\n href: \"#\"\n variant: button\n children:\n - type: Box\n props:\n className: \"flex flex-col items-start gap-5 py-16 max-w-2xl\"\n children:\n - type: BadgeGroup\n props:\n items:\n - label: Available for work\n tone: success\n - type: Heading\n props:\n level: 1\n text: \"I design and build calm, fast software.\"\n - type: Paragraph\n props:\n size: lg\n muted: true\n text: \"Product designer and front-end engineer. Eight years shipping interfaces for fintech and developer tools. Currently at Northwind.\"\n - type: Box\n props:\n className: \"flex gap-3\"\n children:\n - type: Button\n props:\n label: View work\n - type: Button\n props:\n label: \"Get in touch\"\n variant: outline\n - type: Divider\n - type: Box\n props:\n className: \"py-8\"\n children:\n - type: Heading\n props:\n level: 2\n text: Selected work\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Stills are not attached — hairline frames stand in for the case studies.\"\n - type: Grid\n props:\n cols: \"2\"\n responsive: true\n gap: lg\n children:\n - type: Card\n props:\n title: Northwind Console\n description: \"Design system · 2025\"\n className: \"rounded-none border border-border shadow-none\"\n children:\n - type: Box\n props:\n className: \"h-44 -mx-6 mb-3 border border-border bg-muted/40 flex items-center justify-center\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Case still · not attached\"\n - type: Paragraph\n props:\n muted: true\n text: \"Unified 40+ surfaces under one OKLCH token system and a keyboard-first interaction model.\"\n - type: Card\n props:\n title: Ledger Mobile\n description: \"iOS · 2024\"\n className: \"rounded-none border border-border shadow-none\"\n children:\n - type: Box\n props:\n className: \"h-44 -mx-6 mb-3 border border-border bg-muted/40 flex items-center justify-center\"\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: \"Case still · not attached\"\n - type: Paragraph\n props:\n muted: true\n text: \"Redesigned the budgeting flow, cutting time-to-first-transaction by 60%.\"\n - type: Box\n props:\n className: \"py-12\"\n children:\n - type: KeyValueGrid\n props:\n cols: \"3\"\n items:\n - key: Years\n value: \"8+\"\n - key: Shipped products\n value: \"24\"\n - key: Based in\n value: \"Lisbon\"\n - type: Box\n props:\n className: \"flex flex-col items-start gap-4 my-12 py-10 px-6 border border-border bg-foreground text-background\"\n children:\n - type: Heading\n props:\n level: 2\n text: \"Let's build something\"\n - type: Paragraph\n props:\n text: \"Open to select freelance and full-time roles. No purple CTA wash.\"\n - type: Button\n props:\n label: \"ada@lovelace.dev\"\n variant: secondary\n size: lg\n",
19
+ "type": "registry:lib"
20
+ },
21
+ {
22
+ "path": "lib/uibot/templates/portfolio.uibot.json",
23
+ "target": "lib/uibot/templates/portfolio.uibot.json",
24
+ "content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"portfolio\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"portfolio.uibot.yaml\",\n \"contract\": {\n \"name\": \"portfolio\",\n \"description\": \"Ada Lovelace — Designer & Engineer\",\n \"level\": \"L4\",\n \"category\": \"template\",\n \"keywords\": [\n \"portfolio\",\n \"portfolio\",\n \"uibot-template\"\n ],\n \"composedFrom\": [\n \"BadgeGroup\",\n \"Box\",\n \"Button\",\n \"Card\",\n \"Divider\",\n \"Grid\",\n \"Heading\",\n \"KeyValueGrid\",\n \"Link\",\n \"PageLayout\",\n \"Paragraph\"\n ]\n }\n }\n}\n",
25
+ "type": "registry:lib"
26
+ }
27
+ ],
28
+ "meta": {
29
+ "uibot": {
30
+ "schema": "uibot.registry.item.v1",
31
+ "item": "portfolio",
32
+ "channel": "public",
33
+ "template": {
34
+ "file": "portfolio.uibot.yaml",
35
+ "contract": {
36
+ "name": "portfolio",
37
+ "description": "Ada Lovelace — Designer & Engineer",
38
+ "level": "L4",
39
+ "category": "template",
40
+ "keywords": [
41
+ "portfolio",
42
+ "portfolio",
43
+ "uibot-template"
44
+ ],
45
+ "composedFrom": [
46
+ "BadgeGroup",
47
+ "Box",
48
+ "Button",
49
+ "Card",
50
+ "Divider",
51
+ "Grid",
52
+ "Heading",
53
+ "KeyValueGrid",
54
+ "Link",
55
+ "PageLayout",
56
+ "Paragraph"
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ }
62
+ }