@uibot/registry 0.18.0 → 0.19.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 (119) hide show
  1. package/README.md +59 -0
  2. package/dist/distribution-snapshot.d.ts +22 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +11 -11
  5. package/dist/resource-query.d.ts +4 -0
  6. package/dist/resources.d.ts +3 -0
  7. package/dist/resources.js +3 -3
  8. package/dist/shadcn/r/admin-apps.json +61 -0
  9. package/dist/shadcn/r/admin-chats.json +54 -0
  10. package/dist/shadcn/r/admin-error-401.json +54 -0
  11. package/dist/shadcn/r/admin-error-403.json +54 -0
  12. package/dist/shadcn/r/admin-error-404.json +54 -0
  13. package/dist/shadcn/r/admin-error-500.json +54 -0
  14. package/dist/shadcn/r/admin-error-503.json +54 -0
  15. package/dist/shadcn/r/admin-forgot-password.json +59 -0
  16. package/dist/shadcn/r/admin-help.json +53 -0
  17. package/dist/shadcn/r/admin-otp.json +59 -0
  18. package/dist/shadcn/r/admin-overview.json +62 -0
  19. package/dist/shadcn/r/admin-settings-account.json +61 -0
  20. package/dist/shadcn/r/admin-settings-appearance.json +61 -0
  21. package/dist/shadcn/r/admin-settings-display.json +61 -0
  22. package/dist/shadcn/r/admin-settings-notifications.json +61 -0
  23. package/dist/shadcn/r/admin-settings-profile.json +61 -0
  24. package/dist/shadcn/r/admin-settings.json +65 -0
  25. package/dist/shadcn/r/admin-shell.json +11 -5
  26. package/dist/shadcn/r/admin-sign-in-2.json +67 -0
  27. package/dist/shadcn/r/admin-sign-in.json +59 -0
  28. package/dist/shadcn/r/admin-sign-up.json +59 -0
  29. package/dist/shadcn/r/admin-tasks.json +66 -0
  30. package/dist/shadcn/r/admin-users.json +66 -0
  31. package/dist/shadcn/r/auth-01.json +24 -0
  32. package/dist/shadcn/r/auth-02.json +24 -0
  33. package/dist/shadcn/r/auth-03.json +24 -0
  34. package/dist/shadcn/r/auth-04.json +24 -0
  35. package/dist/shadcn/r/auth-05.json +24 -0
  36. package/dist/shadcn/r/auth-centered.json +61 -0
  37. package/dist/shadcn/r/auth-enterprise.json +61 -0
  38. package/dist/shadcn/r/auth-primitives.json +58 -0
  39. package/dist/shadcn/r/auth-recovery.json +64 -0
  40. package/dist/shadcn/r/auth-registration.json +63 -0
  41. package/dist/shadcn/r/auth-split.json +67 -0
  42. package/dist/shadcn/r/auth.json +13 -13
  43. package/dist/shadcn/r/charts.json +1 -1
  44. package/dist/shadcn/r/chat-artifact.json +49 -0
  45. package/dist/shadcn/r/chat-focused.json +49 -0
  46. package/dist/shadcn/r/chat-history.json +49 -0
  47. package/dist/shadcn/r/chat-knowledge.json +49 -0
  48. package/dist/shadcn/r/chat-support.json +49 -0
  49. package/dist/shadcn/r/chat-workspace.json +136 -0
  50. package/dist/shadcn/r/collection-cell-editor.json +6 -6
  51. package/dist/shadcn/r/collection-panel-drawer.json +2 -2
  52. package/dist/shadcn/r/collection-record-menu.json +2 -2
  53. package/dist/shadcn/r/collection-shared.json +2 -2
  54. package/dist/shadcn/r/commerce-workspace.json +69 -0
  55. package/dist/shadcn/r/console-billing.json +68 -0
  56. package/dist/shadcn/r/console-page.json +289 -0
  57. package/dist/shadcn/r/console-shell.json +29 -0
  58. package/dist/shadcn/r/content.json +1 -1
  59. package/dist/shadcn/r/creation-html-generation.json +3 -3
  60. package/dist/shadcn/r/creation-reference-generation.json +3 -3
  61. package/dist/shadcn/r/creation-revision-export.json +3 -3
  62. package/dist/shadcn/r/creation-shared.json +3 -3
  63. package/dist/shadcn/r/creation-variant-compare.json +4 -4
  64. package/dist/shadcn/r/creation-workspace.json +4 -4
  65. package/dist/shadcn/r/crm-workspace.json +73 -0
  66. package/dist/shadcn/r/dashboard.json +1 -1
  67. package/dist/shadcn/r/data-studio.json +1 -1
  68. package/dist/shadcn/r/data-table.json +25 -7
  69. package/dist/shadcn/r/data.json +81 -11
  70. package/dist/shadcn/r/document-assistant.json +54 -0
  71. package/dist/shadcn/r/document-library.json +49 -0
  72. package/dist/shadcn/r/document-reading.json +49 -0
  73. package/dist/shadcn/r/document-workspace.json +164 -0
  74. package/dist/shadcn/r/document-writing.json +49 -0
  75. package/dist/shadcn/r/drilldown-menu.json +233 -0
  76. package/dist/shadcn/r/education-workspace.json +82 -0
  77. package/dist/shadcn/r/feedback.json +6 -6
  78. package/dist/shadcn/r/field.json +1 -1
  79. package/dist/shadcn/r/form.json +11 -11
  80. package/dist/shadcn/r/grid.json +1 -1
  81. package/dist/shadcn/r/interactive.json +1 -1
  82. package/dist/shadcn/r/item-grid.json +219 -0
  83. package/dist/shadcn/r/kanban.json +1 -1
  84. package/dist/shadcn/r/layout.json +196 -16
  85. package/dist/shadcn/r/marketing.json +1 -1
  86. package/dist/shadcn/r/nav.json +3 -3
  87. package/dist/shadcn/r/presentation.json +1 -1
  88. package/dist/shadcn/r/preview-device-frame.json +2 -2
  89. package/dist/shadcn/r/primitives.json +2 -2
  90. package/dist/shadcn/r/sections.json +1 -1
  91. package/dist/shadcn/r/shadcn-admin-shell.json +1 -1
  92. package/dist/shadcn/r/shadcn-admin.json +23 -22
  93. package/dist/shadcn/r/sidebar-01.json +42 -0
  94. package/dist/shadcn/r/sidebar-02.json +42 -0
  95. package/dist/shadcn/r/sidebar-03.json +30 -0
  96. package/dist/shadcn/r/sidebar-04.json +30 -0
  97. package/dist/shadcn/r/sidebar-05.json +36 -0
  98. package/dist/shadcn/r/sidebar-06.json +42 -0
  99. package/dist/shadcn/r/sidebar-07.json +54 -0
  100. package/dist/shadcn/r/sidebar-08.json +54 -0
  101. package/dist/shadcn/r/sidebar-09.json +36 -0
  102. package/dist/shadcn/r/sidebar-10.json +66 -0
  103. package/dist/shadcn/r/sidebar-11.json +30 -0
  104. package/dist/shadcn/r/sidebar-12.json +48 -0
  105. package/dist/shadcn/r/sidebar-13.json +30 -0
  106. package/dist/shadcn/r/sidebar-14.json +30 -0
  107. package/dist/shadcn/r/sidebar-15.json +84 -0
  108. package/dist/shadcn/r/sidebar-16.json +66 -0
  109. package/dist/shadcn/r/sidebar-drilldown.json +29 -0
  110. package/dist/shadcn/r/sidebar-primitives.json +155 -0
  111. package/dist/shadcn/r/uibot-base.json +3 -3
  112. package/dist/shadcn/r/workspace.json +3 -3
  113. package/dist/shadcn/registry.json +987 -175
  114. package/dist/shadcn.d.ts +0 -39
  115. package/dist/solution-composition.d.ts +45 -0
  116. package/dist/solution-regions.d.ts +3 -0
  117. package/dist/solution-spec.d.ts +7 -0
  118. package/dist/template-source.d.ts +2 -0
  119. package/package.json +2 -2
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Responsive 2–4 column pricing grid of hairline cards. The `highlighted` plan gets an amber border + 'Popular' badge + solid amber CTA; others use an outline CTA. Features list with amber check glyphs. CTAs are {label, href} anchors.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Vertical sidebar navigation. Place MenuLink or MenuGroup blocks as children. Usually placed in the PageLayout sidebar slot.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -19,7 +19,7 @@
19
19
  {
20
20
  "path": "components/uibot/nav.uibot.json",
21
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",
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\": \"Additional utility classes\"\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
23
  "type": "registry:ui"
24
24
  }
25
25
  ],
@@ -135,7 +135,7 @@
135
135
  },
136
136
  "className": {
137
137
  "type": "string",
138
- "description": "Extra utility classes appended to the variant chrome."
138
+ "description": "Additional utility classes"
139
139
  }
140
140
  },
141
141
  "usageScenarios": [
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Asymmetric editorial hero: serif display title (with optional italic emphasis word), mono eyebrow with amber dot, warm radial-glow + blueprint dot-grid backdrop, grain overlay, staggered reveal, and primary/secondary CTAs. An optional right-side visual renders via the `aside` slot or children.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -4,8 +4,8 @@
4
4
  "type": "registry:block",
5
5
  "description": "CSS-only preview shell with a phone / tablet / desktop width switch (no nested iframe).",
6
6
  "dependencies": [
7
- "react",
8
- "lucide-react"
7
+ "react@19.3.0",
8
+ "lucide-react@1.56.0"
9
9
  ],
10
10
  "registryDependencies": [
11
11
  "button"
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Section title with optional eyebrow, description and an `actions` slot for buttons or links.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "path": "components/uibot/primitives.tsx",
15
15
  "target": "components/uibot/primitives.tsx",
16
- "content": "import React from \"react\";\nimport type { Fragment, ReactElement, ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport type { RendererComponent } from \"@/lib/uibot-renderer\";\n\nfunction str(value: unknown): string {\n return typeof value === \"string\" ? value : typeof value === \"number\" ? String(value) : \"\";\n}\n\ntype ActionChain = Parameters<NonNullable<Parameters<RendererComponent>[1][\"dispatch\"]>>[0];\n\nfunction eventChain(ctx: Parameters<RendererComponent>[1], name: string): ActionChain {\n return (ctx.element as { events?: Record<string, ActionChain> }).events?.[name] ?? [];\n}\n\n/** `{ _bindState: \"path\" }` declared on a prop, if any. */\nfunction bindStatePath(ctx: Parameters<RendererComponent>[1], prop: string): string | undefined {\n const value = (ctx.element as { props?: Record<string, unknown> }).props?.[prop];\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return undefined;\n const path = (value as Record<string, unknown>)[\"_bindState\"];\n return typeof path === \"string\" ? path : undefined;\n}\n\n// ── PanelHeader ─────────────────────────────────────────────────────────────\n\n/**\n * Section/panel title with optional eyebrow, description and an actions slot. */\nexport const PanelHeader: RendererComponent = (props, ctx) => {\n const eyebrow = str(props[\"eyebrow\"]);\n const description = str(props[\"description\"]);\n const actions = (ctx.slots[\"actions\"] ?? []) as ReactNode[];\n return (\n <header\n className=\"uibot-panel-header flex flex-wrap items-start justify-between gap-3\"\n data-uibot-type=\"PanelHeader\"\n >\n <div className=\"min-w-0 space-y-1\">\n {eyebrow && (\n <div className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">\n {eyebrow}\n </div>\n )}\n <h2 className=\"text-lg font-semibold tracking-tight text-foreground\">\n {str(props[\"title\"])}\n </h2>\n {description && <p className=\"text-sm text-muted-foreground\">{description}</p>}\n </div>\n {actions.length > 0 && <div className=\"flex shrink-0 items-center gap-2\">{actions}</div>}\n </header>\n );\n};\n\n// ── EmptyState ────────────────────────────────────────────────────────────────\n\n/** Empty / recoverable status panel with an optional action button. */\nexport const EmptyState: RendererComponent = (props, ctx) => {\n const message = str(props[\"message\"]) || str(props[\"description\"]);\n const actionLabel = str(props[\"actionLabel\"]) || str(props[\"action\"]);\n const onClick = eventChain(ctx, \"onClick\");\n const onAction = eventChain(ctx, \"onAction\");\n const chain = onClick.length > 0 ? onClick : onAction;\n return (\n <div\n role=\"status\"\n className=\"uibot-empty-state flex flex-col items-center gap-2 rounded-lg border border-dashed border-border bg-background px-6 py-10 text-center\"\n data-uibot-type=\"EmptyState\"\n >\n <h3 className=\"text-sm font-semibold text-foreground\">{str(props[\"title\"])}</h3>\n {message && <p className=\"max-w-md text-sm text-muted-foreground\">{message}</p>}\n {actionLabel && (\n <button\n type=\"button\"\n className=\"mt-2 inline-flex h-8 items-center justify-center rounded-md border border-input bg-background px-3 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50\"\n onClick={\n chain.length > 0\n ? () => void ctx.dispatch?.(chain, { event: { type: \"click\" } })\n : undefined\n }\n >\n {actionLabel}\n </button>\n )}\n </div>\n );\n};\n\n// ── FactList / FactRow ────────────────────────────────────────────────────────\n\ninterface FactData {\n label: string;\n value: string;\n code: boolean;\n href: string;\n}\n\nfunction readFact(record: Record<string, unknown>): FactData {\n const hrefSection = str(record[\"hrefSection\"]);\n return {\n label: str(record[\"label\"]),\n value: str(record[\"value\"]),\n code: record[\"code\"] === true,\n href: str(record[\"href\"]) || (hrefSection ? `#${hrefSection}` : \"\"),\n };\n}\n\nfunction renderFactRow(fact: FactData, onActivate?: () => void): ReactElement {\n const valueClass = cn(\"text-sm text-foreground break-words\", fact.code && \"font-mono text-xs\");\n const interactive = fact.href !== \"\" || onActivate !== undefined;\n const linkClass =\n \"rounded-sm text-primary underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50\";\n let value: ReactNode = fact.value;\n if (fact.href) {\n value = (\n <a href={fact.href} className={linkClass} onClick={onActivate}>\n {fact.value}\n </a>\n );\n } else if (onActivate) {\n value = (\n <button type=\"button\" className={linkClass} onClick={onActivate}>\n {fact.value}\n </button>\n );\n }\n return (\n <div\n className=\"uibot-fact-row grid grid-cols-[minmax(6rem,1fr)_2fr] items-baseline gap-3 border-b border-border py-2 last:border-b-0\"\n data-uibot-type=\"FactRow\"\n data-interactive={interactive ? \"true\" : undefined}\n >\n <dt className=\"text-sm text-muted-foreground\">{fact.label}</dt>\n <dd className={valueClass}>{value}</dd>\n </div>\n );\n}\n\n/** Single key/value fact row. Use inside FactList (renders `dt`/`dd`). */\nexport const FactRow: RendererComponent = (props, ctx) => {\n const onClick = eventChain(ctx, \"onClick\");\n return renderFactRow(\n readFact(props),\n onClick.length > 0\n ? () => void ctx.dispatch?.(onClick, { event: { type: \"click\" } })\n : undefined,\n );\n};\n\n/** Key/value fact list. Accepts `items` and/or FactRow children. */\nexport const FactList: RendererComponent = (props, ctx) => {\n const items = Array.isArray(props[\"items\"]) ? (props[\"items\"] as unknown[]) : [];\n const children = ctx.children as ReactNode[];\n return (\n <dl className=\"uibot-fact-list m-0 w-full\" data-uibot-type=\"FactList\">\n {items.map((item, index) => {\n const record = item && typeof item === \"object\" ? (item as Record<string, unknown>) : {};\n const fact = readFact(record);\n return (\n <Fragment key={`${fact.label}:${index}`}>{renderFactRow(fact)}</Fragment>\n );\n })}\n {children}\n </dl>\n );\n};\n\n// ── Alert ─────────────────────────────────────────────────────────────────────\n\nconst ALERT_VARIANTS: Record<string, { box: string; icon: string; label: string }> = {\n default: { box: \"border-border bg-background text-foreground\", icon: \"ℹ\", label: \"Info\" },\n destructive: {\n box: \"border-destructive/50 bg-destructive/5 text-destructive\",\n icon: \"✕\",\n label: \"Error\",\n },\n warning: {\n box: \"border-yellow-500/50 bg-yellow-500/10 text-yellow-900 dark:text-yellow-200\",\n icon: \"⚠\",\n label: \"Warning\",\n },\n success: {\n box: \"border-green-500/50 bg-green-500/10 text-green-900 dark:text-green-200\",\n icon: \"✓\",\n label: \"Success\",\n },\n};\n\n/** Inline alert. `destructive` uses role=alert, other variants role=status. */\nexport const Alert: RendererComponent = (props) => {\n const requested = str(props[\"variant\"]);\n const variant = ALERT_VARIANTS[requested] ? requested : \"default\";\n const v = ALERT_VARIANTS[variant]!;\n const title = str(props[\"title\"]);\n const description = str(props[\"description\"]) || str(props[\"message\"]);\n return (\n <div\n role={variant === \"destructive\" ? \"alert\" : \"status\"}\n className={cn(\"uibot-alert flex items-start gap-3 rounded-lg border p-4 text-sm\", v.box)}\n data-uibot-type=\"Alert\"\n data-variant={variant}\n >\n <span className=\"mt-0.5 shrink-0 leading-none\" aria-hidden=\"true\">\n {v.icon}\n </span>\n <div className=\"min-w-0 flex-1 space-y-1\">\n <span className=\"sr-only\">{v.label}: </span>\n {title && <p className=\"font-medium leading-none tracking-tight\">{title}</p>}\n {description && <p className=\"opacity-90\">{description}</p>}\n </div>\n </div>\n );\n};\n\n// ── Badge ─────────────────────────────────────────────────────────────────────\n\nconst BADGE_VARIANTS: Record<string, string> = {\n default: \"border-transparent bg-primary text-primary-foreground\",\n secondary: \"border-transparent bg-muted text-foreground\",\n outline: \"border-border text-foreground\",\n success: \"border-green-500/40 bg-green-500/10 text-green-800 dark:text-green-300\",\n warning: \"border-yellow-500/40 bg-yellow-500/10 text-yellow-900 dark:text-yellow-300\",\n destructive: \"border-transparent bg-destructive text-white\",\n};\n\n/** Small status label. The text is the status; colour only reinforces it. */\nexport const Badge: RendererComponent = (props, ctx) => {\n const requested = str(props[\"variant\"]);\n const variant = BADGE_VARIANTS[requested] ? requested : \"default\";\n const children = ctx.children as ReactNode[];\n return (\n <span\n className={cn(\n \"uibot-badge inline-flex items-center rounded-md border px-2 py-0.5 text-xs font-medium whitespace-nowrap\",\n BADGE_VARIANTS[variant],\n )}\n data-uibot-type=\"Badge\"\n data-variant={variant}\n >\n {children.length > 0 ? children : str(props[\"label\"]) || str(props[\"text\"])}\n </span>\n );\n};\n\n// ── Switch ────────────────────────────────────────────────────────────────────\n\n/** Controlled boolean switch (`role=switch`). Supports `_bindState` on `checked`. */\nexport const Switch: RendererComponent = (props, ctx) => {\n const checked = props[\"checked\"] === true;\n const disabled = props[\"disabled\"] === true;\n const label = str(props[\"label\"]);\n const onChange = eventChain(ctx, \"onChange\");\n const path = bindStatePath(ctx, \"checked\");\n const toggle = () => {\n if (disabled) return;\n const next = !checked;\n const write = path ? [{ action: \"SetState\", params: { path, value: next } }] : [];\n const chain = [...write, ...onChange] as ActionChain;\n if (chain.length > 0) {\n void ctx.dispatch?.(chain, { event: { type: \"change\", checked: next } });\n }\n };\n return (\n <label\n className={cn(\n \"uibot-switch inline-flex items-center gap-2 text-sm\",\n disabled && \"opacity-50\",\n )}\n data-uibot-type=\"Switch\"\n >\n <button\n type=\"button\"\n role=\"switch\"\n aria-checked={checked}\n aria-label={\n label || (typeof props[\"ariaLabel\"] === \"string\" ? props[\"ariaLabel\"] : \"Switch\")\n }\n disabled={disabled}\n data-state={checked ? \"checked\" : \"unchecked\"}\n className={cn(\n \"relative inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 disabled:cursor-not-allowed\",\n checked ? \"bg-primary\" : \"bg-input\",\n )}\n onClick={toggle}\n >\n <span\n aria-hidden=\"true\"\n className={cn(\n \"pointer-events-none block size-4 rounded-full bg-background shadow transition-transform\",\n checked ? \"translate-x-4\" : \"translate-x-0.5\",\n )}\n />\n </button>\n {label && <span className=\"text-foreground\">{label}</span>}\n </label>\n );\n};\n",
16
+ "content": "import React from \"react\";\nimport type { ReactElement, ReactNode } from \"react\";\nimport { cn } from \"@/lib/utils\";\nimport type { RendererComponent } from \"@/lib/uibot-renderer\";\n\nfunction str(value: unknown): string {\n return typeof value === \"string\" ? value : typeof value === \"number\" ? String(value) : \"\";\n}\n\ntype ActionChain = Parameters<NonNullable<Parameters<RendererComponent>[1][\"dispatch\"]>>[0];\n\nfunction eventChain(ctx: Parameters<RendererComponent>[1], name: string): ActionChain {\n return (ctx.element as { events?: Record<string, ActionChain> }).events?.[name] ?? [];\n}\n\n/** `{ _bindState: \"path\" }` declared on a prop, if any. */\nfunction bindStatePath(ctx: Parameters<RendererComponent>[1], prop: string): string | undefined {\n const value = (ctx.element as { props?: Record<string, unknown> }).props?.[prop];\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return undefined;\n const path = (value as Record<string, unknown>)[\"_bindState\"];\n return typeof path === \"string\" ? path : undefined;\n}\n\n// ── PanelHeader ─────────────────────────────────────────────────────────────\n\n/**\n * Section/panel title with optional eyebrow, description and an actions slot. */\nexport const PanelHeader: RendererComponent = (props, ctx) => {\n const eyebrow = str(props[\"eyebrow\"]);\n const description = str(props[\"description\"]);\n const actions = (ctx.slots[\"actions\"] ?? []) as ReactNode[];\n return (\n <header\n className=\"uibot-panel-header flex flex-wrap items-start justify-between gap-3\"\n data-uibot-type=\"PanelHeader\"\n >\n <div className=\"min-w-0 space-y-1\">\n {eyebrow && (\n <div className=\"text-xs font-medium uppercase tracking-wide text-muted-foreground\">\n {eyebrow}\n </div>\n )}\n <h2 className=\"text-lg font-semibold tracking-tight text-foreground\">\n {str(props[\"title\"])}\n </h2>\n {description && <p className=\"text-sm text-muted-foreground\">{description}</p>}\n </div>\n {actions.length > 0 && <div className=\"flex shrink-0 items-center gap-2\">{actions}</div>}\n </header>\n );\n};\n\n// ── EmptyState ────────────────────────────────────────────────────────────────\n\n/** Empty / recoverable status panel with an optional action button. */\nexport const EmptyState: RendererComponent = (props, ctx) => {\n const message = str(props[\"message\"]) || str(props[\"description\"]);\n const actionLabel = str(props[\"actionLabel\"]) || str(props[\"action\"]);\n const onClick = eventChain(ctx, \"onClick\");\n const onAction = eventChain(ctx, \"onAction\");\n const chain = onClick.length > 0 ? onClick : onAction;\n return (\n <div\n role=\"status\"\n className=\"uibot-empty-state flex flex-col items-center gap-2 rounded-lg border border-dashed border-border bg-background px-6 py-10 text-center\"\n data-uibot-type=\"EmptyState\"\n >\n <h3 className=\"text-sm font-semibold text-foreground\">{str(props[\"title\"])}</h3>\n {message && <p className=\"max-w-md text-sm text-muted-foreground\">{message}</p>}\n {actionLabel && (\n <button\n type=\"button\"\n className=\"mt-2 inline-flex h-8 items-center justify-center rounded-md border border-input bg-background px-3 text-sm font-medium shadow-sm transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50\"\n onClick={\n chain.length > 0\n ? () => void ctx.dispatch?.(chain, { event: { type: \"click\" } })\n : undefined\n }\n >\n {actionLabel}\n </button>\n )}\n </div>\n );\n};\n\n// ── FactList / FactRow ────────────────────────────────────────────────────────\n\ninterface FactData {\n label: string;\n value: string;\n code: boolean;\n href: string;\n}\n\nfunction readFact(record: Record<string, unknown>): FactData {\n const hrefSection = str(record[\"hrefSection\"]);\n return {\n label: str(record[\"label\"]),\n value: str(record[\"value\"]),\n code: record[\"code\"] === true,\n href: str(record[\"href\"]) || (hrefSection ? `#${hrefSection}` : \"\"),\n };\n}\n\nfunction renderFactRow(fact: FactData, onActivate?: () => void): ReactElement {\n const valueClass = cn(\"text-sm text-foreground break-words\", fact.code && \"font-mono text-xs\");\n const interactive = fact.href !== \"\" || onActivate !== undefined;\n const linkClass =\n \"rounded-sm text-primary underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50\";\n let value: ReactNode = fact.value;\n if (fact.href) {\n value = (\n <a href={fact.href} className={linkClass} onClick={onActivate}>\n {fact.value}\n </a>\n );\n } else if (onActivate) {\n value = (\n <button type=\"button\" className={linkClass} onClick={onActivate}>\n {fact.value}\n </button>\n );\n }\n return (\n <div\n className=\"uibot-fact-row grid grid-cols-[minmax(6rem,1fr)_2fr] items-baseline gap-3 border-b border-border py-2 last:border-b-0\"\n data-uibot-type=\"FactRow\"\n data-interactive={interactive ? \"true\" : undefined}\n >\n <dt className=\"text-sm text-muted-foreground\">{fact.label}</dt>\n <dd className={valueClass}>{value}</dd>\n </div>\n );\n}\n\n/** Single key/value fact row. Use inside FactList (renders `dt`/`dd`). */\nexport const FactRow: RendererComponent = (props, ctx) => {\n const onClick = eventChain(ctx, \"onClick\");\n return renderFactRow(\n readFact(props),\n onClick.length > 0\n ? () => void ctx.dispatch?.(onClick, { event: { type: \"click\" } })\n : undefined,\n );\n};\n\n/** Key/value fact list. Accepts `items` and/or FactRow children. */\nexport const FactList: RendererComponent = (props, ctx) => {\n const items = Array.isArray(props[\"items\"]) ? (props[\"items\"] as unknown[]) : [];\n const children = ctx.children as ReactNode[];\n return (\n <dl className=\"uibot-fact-list m-0 w-full\" data-uibot-type=\"FactList\">\n {items.map((item, index) => {\n const record = item && typeof item === \"object\" ? (item as Record<string, unknown>) : {};\n const fact = readFact(record);\n return (\n <React.Fragment key={`${fact.label}:${index}`}>{renderFactRow(fact)}</React.Fragment>\n );\n })}\n {children}\n </dl>\n );\n};\n\n// ── Alert ─────────────────────────────────────────────────────────────────────\n\nconst ALERT_VARIANTS: Record<string, { box: string; icon: string; label: string }> = {\n default: { box: \"border-border bg-background text-foreground\", icon: \"ℹ\", label: \"Info\" },\n destructive: {\n box: \"border-destructive/50 bg-destructive/5 text-destructive\",\n icon: \"✕\",\n label: \"Error\",\n },\n warning: {\n box: \"border-yellow-500/50 bg-yellow-500/10 text-yellow-900 dark:text-yellow-200\",\n icon: \"⚠\",\n label: \"Warning\",\n },\n success: {\n box: \"border-green-500/50 bg-green-500/10 text-green-900 dark:text-green-200\",\n icon: \"✓\",\n label: \"Success\",\n },\n};\n\n/** Inline alert. `destructive` uses role=alert, other variants role=status. */\nexport const Alert: RendererComponent = (props) => {\n const requested = str(props[\"variant\"]);\n const variant = ALERT_VARIANTS[requested] ? requested : \"default\";\n const v = ALERT_VARIANTS[variant]!;\n const title = str(props[\"title\"]);\n const description = str(props[\"description\"]) || str(props[\"message\"]);\n return (\n <div\n role={variant === \"destructive\" ? \"alert\" : \"status\"}\n className={cn(\"uibot-alert flex items-start gap-3 rounded-lg border p-4 text-sm\", v.box)}\n data-uibot-type=\"Alert\"\n data-variant={variant}\n >\n <span className=\"mt-0.5 shrink-0 leading-none\" aria-hidden=\"true\">\n {v.icon}\n </span>\n <div className=\"min-w-0 flex-1 space-y-1\">\n <span className=\"sr-only\">{v.label}: </span>\n {title && <p className=\"font-medium leading-none tracking-tight\">{title}</p>}\n {description && <p className=\"opacity-90\">{description}</p>}\n </div>\n </div>\n );\n};\n\n// ── Badge ─────────────────────────────────────────────────────────────────────\n\nconst BADGE_VARIANTS: Record<string, string> = {\n default: \"border-transparent bg-primary text-primary-foreground\",\n secondary: \"border-transparent bg-muted text-foreground\",\n outline: \"border-border text-foreground\",\n success: \"border-green-500/40 bg-green-500/10 text-green-800 dark:text-green-300\",\n warning: \"border-yellow-500/40 bg-yellow-500/10 text-yellow-900 dark:text-yellow-300\",\n destructive: \"border-transparent bg-destructive text-white\",\n};\n\n/** Small status label. The text is the status; colour only reinforces it. */\nexport const Badge: RendererComponent = (props, ctx) => {\n const requested = str(props[\"variant\"]);\n const variant = BADGE_VARIANTS[requested] ? requested : \"default\";\n const children = ctx.children as ReactNode[];\n return (\n <span\n className={cn(\n \"uibot-badge inline-flex items-center rounded-md border px-2 py-0.5 text-xs font-medium whitespace-nowrap\",\n BADGE_VARIANTS[variant],\n )}\n data-uibot-type=\"Badge\"\n data-variant={variant}\n >\n {children.length > 0 ? children : str(props[\"label\"]) || str(props[\"text\"])}\n </span>\n );\n};\n\n// ── Switch ────────────────────────────────────────────────────────────────────\n\n/** Controlled boolean switch (`role=switch`). Supports `_bindState` on `checked`. */\nexport const Switch: RendererComponent = (props, ctx) => {\n const checked = props[\"checked\"] === true;\n const disabled = props[\"disabled\"] === true;\n const label = str(props[\"label\"]);\n const onChange = eventChain(ctx, \"onChange\");\n const path = bindStatePath(ctx, \"checked\");\n const toggle = () => {\n if (disabled) return;\n const next = !checked;\n const write = path ? [{ action: \"SetState\", params: { path, value: next } }] : [];\n const chain = [...write, ...onChange] as ActionChain;\n if (chain.length > 0) {\n void ctx.dispatch?.(chain, { event: { type: \"change\", checked: next } });\n }\n };\n return (\n <label\n className={cn(\n \"uibot-switch inline-flex items-center gap-2 text-sm\",\n disabled && \"opacity-50\",\n )}\n data-uibot-type=\"Switch\"\n >\n <button\n type=\"button\"\n role=\"switch\"\n aria-checked={checked}\n aria-label={\n label || (typeof props[\"ariaLabel\"] === \"string\" ? props[\"ariaLabel\"] : \"Switch\")\n }\n disabled={disabled}\n data-state={checked ? \"checked\" : \"unchecked\"}\n className={cn(\n \"relative inline-flex h-5 w-9 shrink-0 items-center rounded-full border border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/50 disabled:cursor-not-allowed\",\n checked ? \"bg-primary\" : \"bg-input\",\n )}\n onClick={toggle}\n >\n <span\n aria-hidden=\"true\"\n className={cn(\n \"pointer-events-none block size-4 rounded-full bg-background shadow transition-transform\",\n checked ? \"translate-x-4\" : \"translate-x-0.5\",\n )}\n />\n </button>\n {label && <span className=\"text-foreground\">{label}</span>}\n </label>\n );\n};\n",
17
17
  "type": "registry:ui"
18
18
  },
19
19
  {
@@ -4,7 +4,7 @@
4
4
  "type": "registry:ui",
5
5
  "description": "Slim full-width announcement bar: optional icon + message, an inline CTA link and a decorative dismiss '×'. `tone` picks one of the four brand accents; `solid` fills the strip with the accent instead of a soft tint.",
6
6
  "dependencies": [
7
- "react"
7
+ "react@19.3.0"
8
8
  ],
9
9
  "registryDependencies": [
10
10
  "@uibot/uibot-base"
@@ -11,7 +11,7 @@
11
11
  {
12
12
  "path": "lib/uibot/templates/shadcn-admin-shell.uibot.yaml",
13
13
  "target": "lib/uibot/templates/shadcn-admin-shell.uibot.yaml",
14
- "content": "version: \"2.0\"\npages:\n - id: shadcn-admin-shell\n state:\n currentPath: \"/\"\n direction: \"ltr\"\n font: \"Inter\"\n theme: \"light\"\n path: /\n blocks:\n - type: PageLayout\n props:\n appearance: admin\n routes:\n - label: Dashboard\n href: /\n icon: layout-dashboard\n - label: Tasks\n href: /tasks\n icon: list-todo\n - label: Apps\n href: /apps\n icon: boxes\n - label: Chats\n href: /chats\n icon: message-circle\n badge: \"3\"\n - label: Users\n href: /users\n icon: users\n - label: Auth\n href: /sign-in\n icon: shield\n - label: Errors\n href: /errors/500\n icon: circle-help\n - label: Settings\n href: /settings/profile\n icon: settings\n - label: Help Center\n href: /help-center\n icon: circle-help\n - label: Account\n href: /settings/account\n - label: Appearance\n href: /settings/appearance\n - label: Notifications\n href: /settings/notifications\n - label: Display\n href: /settings/display\n headerLinks:\n - label: Overview\n href: /\n - label: Customers\n href: /users\n - label: Products\n href: /apps\n - label: Settings\n href: /settings/profile\n font:\n _state: font\n theme:\n _state: theme\n direction:\n _state: direction\n slots:\n sidebar:\n - type: AppNavigation\n props:\n brand: UiBot Admin\n subtitle: Vite + ShadcnUI\n groups:\n - label: General\n items:\n - label: Dashboard\n href: /\n icon: layout-dashboard\n - label: Tasks\n href: /tasks\n icon: list-todo\n - label: Apps\n href: /apps\n icon: boxes\n - label: Chats\n href: /chats\n icon: message-circle\n badge: \"3\"\n - label: Users\n href: /users\n icon: users\n - label: Pages\n items:\n - label: Auth\n href: /sign-in\n icon: shield\n children:\n - label: Sign in\n href: /sign-in\n - label: Sign in (split)\n href: /sign-in-2\n - label: Sign up\n href: /sign-up\n - label: Forgot password\n href: /forgot-password\n - label: OTP\n href: /otp\n - label: Errors\n href: /errors/500\n icon: circle-help\n children:\n - label: \"401\"\n href: /errors/401\n - label: \"403\"\n href: /errors/403\n - label: \"404\"\n href: /errors/404\n - label: \"500\"\n href: /errors/500\n - label: \"503\"\n href: /errors/503\n - label: Other\n items:\n - label: Settings\n href: /settings/profile\n icon: settings\n children:\n - label: Profile\n href: /settings/profile\n - label: Account\n href: /settings/account\n - label: Appearance\n href: /settings/appearance\n - label: Notifications\n href: /settings/notifications\n - label: Display\n href: /settings/display\n - label: Help Center\n href: /help-center\n icon: circle-help\n activePath:\n _state: currentPath\n userName: satnaing\n email: satnaingdev@gmail.com\n initials: SN\n workspaces:\n - label: Personal workspace\n href: /\n - label: Team workspace\n href: /users\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n",
14
+ "content": "# Generated by scripts/build-public-resources.ts. Edit packages/blocks-shadcn/src/solutions instead.\nversion: \"2.0\"\npages:\n - id: shadcn-admin-shell\n state:\n currentPath: /\n direction: ltr\n font: Inter\n theme: light\n path: /\n blocks:\n - type: PageLayout\n props:\n appearance: admin\n routes:\n - label: Dashboard\n href: /\n icon: layout-dashboard\n - label: Tasks\n href: /tasks\n icon: list-todo\n - label: Apps\n href: /apps\n icon: boxes\n - label: Chats\n href: /chats\n icon: message-circle\n badge: \"3\"\n - label: Users\n href: /users\n icon: users\n - label: Auth\n href: /sign-in\n icon: shield\n - label: Errors\n href: /errors/500\n icon: circle-help\n - label: Settings\n href: /settings/profile\n icon: settings\n - label: Help Center\n href: /help-center\n icon: circle-help\n - label: Account\n href: /settings/account\n - label: Appearance\n href: /settings/appearance\n - label: Notifications\n href: /settings/notifications\n - label: Display\n href: /settings/display\n headerLinks:\n - label: Overview\n href: /\n - label: Customers\n href: /users\n - label: Products\n href: /apps\n - label: Settings\n href: /settings/profile\n font:\n _state: font\n theme:\n _state: theme\n direction:\n _state: direction\n slots:\n sidebar:\n - type: AppNavigation\n props:\n brand: UiBot Admin\n subtitle: Vite + ShadcnUI\n groups:\n - label: General\n items:\n - label: Dashboard\n href: /\n icon: layout-dashboard\n - label: Tasks\n href: /tasks\n icon: list-todo\n - label: Apps\n href: /apps\n icon: boxes\n - label: Chats\n href: /chats\n icon: message-circle\n badge: \"3\"\n - label: Users\n href: /users\n icon: users\n - label: Pages\n items:\n - label: Auth\n href: /sign-in\n icon: shield\n children:\n - label: Sign in\n href: /sign-in\n - label: Sign in (split)\n href: /sign-in-2\n - label: Sign up\n href: /sign-up\n - label: Forgot password\n href: /forgot-password\n - label: OTP\n href: /otp\n - label: Errors\n href: /errors/500\n icon: circle-help\n children:\n - label: \"401\"\n href: /errors/401\n - label: \"403\"\n href: /errors/403\n - label: \"404\"\n href: /errors/404\n - label: \"500\"\n href: /errors/500\n - label: \"503\"\n href: /errors/503\n - label: Other\n items:\n - label: Settings\n href: /settings/profile\n icon: settings\n children:\n - label: Profile\n href: /settings/profile\n - label: Account\n href: /settings/account\n - label: Appearance\n href: /settings/appearance\n - label: Notifications\n href: /settings/notifications\n - label: Display\n href: /settings/display\n - label: Help Center\n href: /help-center\n icon: circle-help\n activePath:\n _state: currentPath\n userName: satnaing\n email: satnaingdev@gmail.com\n initials: SN\n workspaces:\n - label: Personal workspace\n href: /\n - label: Team workspace\n href: /users\n events:\n onThemeChange:\n - action: SetState\n params:\n path: theme\n value:\n _event: value\n",
15
15
  "type": "registry:lib"
16
16
  },
17
17
  {