@uibot/registry 0.20.0 → 0.22.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.
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2117 -12
- package/dist/materialize-templates.d.ts +28 -0
- package/dist/materialize.d.ts +63 -0
- package/dist/resources.d.ts +4 -0
- package/dist/resources.js +2108 -3
- package/dist/shadcn/r/admin-apps.json +1 -1
- package/dist/shadcn/r/admin-chats.json +1 -1
- package/dist/shadcn/r/admin-settings-account.json +1 -1
- package/dist/shadcn/r/admin-settings-appearance.json +1 -1
- package/dist/shadcn/r/admin-settings-display.json +1 -1
- package/dist/shadcn/r/admin-settings-notifications.json +1 -1
- package/dist/shadcn/r/admin-settings-profile.json +1 -1
- package/dist/shadcn/r/admin-settings.json +1 -1
- package/dist/shadcn/r/admin-shell.json +1 -1
- package/dist/shadcn/r/admin-tasks.json +1 -1
- package/dist/shadcn/r/admin-users.json +1 -1
- package/dist/shadcn/r/agent-run-console.json +64 -0
- package/dist/shadcn/r/auth-minimal.json +59 -0
- package/dist/shadcn/r/billing-overview.json +66 -0
- package/dist/shadcn/r/billing-usage-ledger.json +66 -0
- package/dist/shadcn/r/chat-workspace.json +1 -1
- package/dist/shadcn/r/collection-cell-editor.json +1 -1
- package/dist/shadcn/r/collection-kanban.json +134 -0
- package/dist/shadcn/r/collection-panel-drawer.json +1 -1
- package/dist/shadcn/r/collection-record-menu.json +1 -1
- package/dist/shadcn/r/collection-shared.json +1 -1
- package/dist/shadcn/r/commerce-workspace.json +1 -1
- package/dist/shadcn/r/console-billing.json +1 -1
- package/dist/shadcn/r/console-page.json +13 -13
- package/dist/shadcn/r/console-shell.json +2 -2
- package/dist/shadcn/r/creation-html-generation.json +2 -2
- package/dist/shadcn/r/creation-reference-generation.json +2 -2
- package/dist/shadcn/r/creation-revision-export.json +2 -2
- package/dist/shadcn/r/creation-shared.json +2 -2
- package/dist/shadcn/r/creation-variant-compare.json +3 -3
- package/dist/shadcn/r/creation-workspace.json +3 -3
- package/dist/shadcn/r/crm-workspace.json +1 -1
- package/dist/shadcn/r/dashboard-01.json +1 -1
- package/dist/shadcn/r/data-crud-gallery.json +66 -0
- package/dist/shadcn/r/data-crud-kanban.json +66 -0
- package/dist/shadcn/r/data-crud-master-detail.json +66 -0
- package/dist/shadcn/r/data-crud-table.json +66 -0
- package/dist/shadcn/r/document-workspace.json +1 -1
- package/dist/shadcn/r/education-workspace.json +1 -1
- package/dist/shadcn/r/launch-site.json +72 -0
- package/dist/shadcn/r/layout.json +34 -18
- package/dist/shadcn/r/onboarding-checklist.json +63 -0
- package/dist/shadcn/r/onboarding-wizard.json +66 -0
- package/dist/shadcn/r/prompt-eval-workbench.json +65 -0
- package/dist/shadcn/r/record-master-detail.json +132 -0
- package/dist/shadcn/r/shadcn-admin.json +1 -1
- package/dist/shadcn/r/workspace.json +1 -1
- package/dist/shadcn/registry.json +194 -20
- package/dist/solution-regions.d.ts +12 -2
- package/dist/spec-blueprint.d.ts +11 -0
- package/dist/spec-patch.d.ts +10 -0
- package/dist/variant-swap.d.ts +22 -0
- package/package.json +2 -2
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
{
|
|
13
13
|
"path": "components/uibot/console/shell.tsx",
|
|
14
14
|
"target": "components/uibot/console/shell.tsx",
|
|
15
|
-
"content": "\"use client\";\n\nimport { useState, type ReactNode, type Ref } from \"react\";\nimport { Dialog } from \"radix-ui\";\nimport { CONSOLE_SHELL_CSS } from \"./shell-styles\";\n\nexport interface ConsoleShellProps {\n brand?: ReactNode;\n navigation?: ReactNode;\n workspace?: ReactNode;\n account?: ReactNode;\n search?: ReactNode;\n headerActions?: ReactNode;\n footer?: ReactNode;\n children?: ReactNode;\n className?: string;\n rootRef?: Ref<HTMLDivElement>;\n copy?: Partial<{ openNavigation: string; closeNavigation: string; navigation: string }>;\n}\n\n/** Presentation only. Host-provided slots own routing, identity and all business actions. */\nexport function ConsoleShell({\n brand,\n navigation,\n workspace,\n account,\n search,\n headerActions,\n footer,\n children,\n className = \"\",\n rootRef,\n copy,\n}: ConsoleShellProps) {\n const [open, setOpen] = useState(false);\n const hasSidebar = navigation != null || workspace != null || account != null || footer != null;\n const openLabel = copy?.openNavigation ?? \"Open navigation\";\n const closeLabel = copy?.closeNavigation ?? \"Close\";\n const sidebar = (\n <>\n {workspace != null && <div className=\"csl-shell-workspace\">{workspace}</div>}\n {navigation != null && <div className=\"csl-sidebar-navigation\">{navigation}</div>}\n {footer != null && <div className=\"csl-shell-footer\">{footer}</div>}\n {account != null && <div className=\"csl-sidebar-account\">{account}</div>}\n </>\n );\n return (\n <Dialog.Root open={open && hasSidebar} onOpenChange={setOpen}>\n <div\n ref={rootRef}\n className={`uibot-page-layout uibot-console csl-shell ${className}`}\n data-uibot-type=\"PageLayout\"\n data-appearance=\"console\"\n >\n <style>{CONSOLE_SHELL_CSS}</style>\n <header className=\"csl-topbar\">\n {hasSidebar && (\n <Dialog.Trigger asChild>\n <button\n type=\"button\"\n className=\"csl-icon-button csl-mobile-trigger\"\n aria-label={openLabel}\n title={openLabel}\n >\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n aria-hidden=\"true\"\n >\n <path d=\"M4 6h16M4 12h16M4 18h16\" />\n </svg>\n </button>\n </Dialog.Trigger>\n )}\n {brand}\n {search}\n {headerActions != null && <div className=\"csl-topbar-actions\">{headerActions}</div>}\n </header>\n <div className=\"csl-body\">\n {hasSidebar && <aside className=\"csl-sidebar\">{sidebar}</aside>}\n <main className=\"csl-main\">{children}</main>\n </div>\n {hasSidebar && (\n <Dialog.Portal>\n <Dialog.Overlay className=\"csl-shell-overlay\" />\n <Dialog.Content\n className=\"uibot-console csl-shell-drawer\"\n aria-describedby={undefined}\n onEscapeKeyDown={(event) => {\n // Nested controls opt in while their bubble handler can consume Escape.\n if (\n event.target instanceof Element &&\n event.target.closest(\"[data-uibot-escape-boundary]\")\n )\n event.preventDefault();\n }}\n onClick={(event) => {\n if (\n event.target instanceof Element &&\n event.target.closest('a, button[data-uibot-type=\"MenuLink\"]') &&\n !event.metaKey &&\n !event.ctrlKey &&\n !event.shiftKey &&\n !event.altKey &&\n event.button === 0\n )\n setOpen(false);\n }}\n >\n <Dialog.Title className=\"csl-shell-sr-only\">\n {copy?.navigation ?? \"Navigation\"}\n </Dialog.Title>\n <Dialog.Close asChild>\n <button type=\"button\" className=\"csl-shell-close\" aria-label={closeLabel}>\n {closeLabel}\n </button>\n </Dialog.Close>\n <div className=\"csl-mobile-sidebar\">{sidebar}</div>\n </Dialog.Content>\n </Dialog.Portal>\n )}\n </div>\n </Dialog.Root>\n );\n}\n",
|
|
15
|
+
"content": "\"use client\";\n\nimport { useState, type ReactNode, type Ref } from \"react\";\nimport { Dialog } from \"radix-ui\";\nimport { CONSOLE_SHELL_CSS } from \"./shell-styles\";\n\nexport interface ConsoleShellProps {\n brand?: ReactNode;\n navigation?: ReactNode;\n workspace?: ReactNode;\n account?: ReactNode;\n search?: ReactNode;\n headerActions?: ReactNode;\n footer?: ReactNode;\n children?: ReactNode;\n className?: string;\n shellName?: string;\n rootRef?: Ref<HTMLDivElement>;\n copy?: Partial<{ openNavigation: string; closeNavigation: string; navigation: string }>;\n}\n\n/** Presentation only. Host-provided slots own routing, identity and all business actions. */\nexport function ConsoleShell({\n brand,\n navigation,\n workspace,\n account,\n search,\n headerActions,\n footer,\n children,\n className = \"\",\n shellName,\n rootRef,\n copy,\n}: ConsoleShellProps) {\n const [open, setOpen] = useState(false);\n const hasSidebar = navigation != null || workspace != null || account != null || footer != null;\n const openLabel = copy?.openNavigation ?? \"Open navigation\";\n const closeLabel = copy?.closeNavigation ?? \"Close\";\n const sidebar = (\n <>\n {workspace != null && <div className=\"csl-shell-workspace\">{workspace}</div>}\n {navigation != null && <div className=\"csl-sidebar-navigation\">{navigation}</div>}\n {footer != null && <div className=\"csl-shell-footer\">{footer}</div>}\n {account != null && <div className=\"csl-sidebar-account\">{account}</div>}\n </>\n );\n return (\n <Dialog.Root open={open && hasSidebar} onOpenChange={setOpen}>\n <div\n ref={rootRef}\n className={`uibot-page-layout uibot-console csl-shell ${className}`}\n data-uibot-type=\"PageLayout\"\n data-appearance=\"console\"\n data-shell={shellName}\n >\n <style>{CONSOLE_SHELL_CSS}</style>\n <header className=\"csl-topbar\">\n {hasSidebar && (\n <Dialog.Trigger asChild>\n <button\n type=\"button\"\n className=\"csl-icon-button csl-mobile-trigger\"\n aria-label={openLabel}\n title={openLabel}\n >\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n aria-hidden=\"true\"\n >\n <path d=\"M4 6h16M4 12h16M4 18h16\" />\n </svg>\n </button>\n </Dialog.Trigger>\n )}\n {brand}\n {search}\n {headerActions != null && <div className=\"csl-topbar-actions\">{headerActions}</div>}\n </header>\n <div className=\"csl-body\">\n {hasSidebar && <aside className=\"csl-sidebar\">{sidebar}</aside>}\n <main className=\"csl-main\">{children}</main>\n </div>\n {hasSidebar && (\n <Dialog.Portal>\n <Dialog.Overlay className=\"csl-shell-overlay\" />\n <Dialog.Content\n className=\"uibot-console csl-shell-drawer\"\n aria-describedby={undefined}\n onEscapeKeyDown={(event) => {\n // Nested controls opt in while their bubble handler can consume Escape.\n if (\n event.target instanceof Element &&\n event.target.closest(\"[data-uibot-escape-boundary]\")\n )\n event.preventDefault();\n }}\n onClick={(event) => {\n if (\n event.target instanceof Element &&\n event.target.closest('a, button[data-uibot-type=\"MenuLink\"]') &&\n !event.metaKey &&\n !event.ctrlKey &&\n !event.shiftKey &&\n !event.altKey &&\n event.button === 0\n )\n setOpen(false);\n }}\n >\n <Dialog.Title className=\"csl-shell-sr-only\">\n {copy?.navigation ?? \"Navigation\"}\n </Dialog.Title>\n <Dialog.Close asChild>\n <button type=\"button\" className=\"csl-shell-close\" aria-label={closeLabel}>\n {closeLabel}\n </button>\n </Dialog.Close>\n <div className=\"csl-mobile-sidebar\">{sidebar}</div>\n </Dialog.Content>\n </Dialog.Portal>\n )}\n </div>\n </Dialog.Root>\n );\n}\n",
|
|
16
16
|
"type": "registry:component"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"path": "components/uibot/console/shell-styles.ts",
|
|
20
20
|
"target": "components/uibot/console/shell-styles.ts",
|
|
21
|
-
"content": "/** Shared shell rules. Business page styles stay with their author modules. */\nexport const CONSOLE_SHELL_CSS = `\n.uibot-console,.csl-popup{--csl-bg:#fcfcfa;--csl-nav:#fafaf8;--csl-line:#e6e6e2;--csl-muted:#878780;--csl-fg:#242421;--csl-button:#eeeeea;--csl-selected:#e8e8e4;color:var(--csl-fg);background:var(--csl-bg);font:14px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif}\n.dark .uibot-console,.dark .csl-popup{--csl-bg:#141414;--csl-nav:#101010;--csl-line:#303030;--csl-muted:#92928b;--csl-fg:#e9e9e4;--csl-button:#303030;--csl-selected:#363636}\n.uibot-console *,.csl-popup *{box-sizing:border-box}.uibot-console button,.uibot-console input,.uibot-console textarea,.csl-popup button,.csl-popup input,.csl-popup textarea{font:inherit}.uibot-console :is(button,a,input,textarea):focus-visible,.csl-popup :is(button,a,input,textarea):focus-visible{outline:2px solid var(--csl-focus,#8a80df);outline-offset:3px}.uibot-console button:not(:disabled),.csl-popup button:not(:disabled){cursor:pointer}.uibot-console button:disabled,.csl-popup button:disabled{opacity:.45;cursor:not-allowed}\n.csl-topbar{height:48px;display:flex;align-items:center;gap:20px;padding:0 16px;border-bottom:1px solid var(--csl-line);background:var(--csl-nav);flex:none}.csl-brand{font:23px Georgia,serif;color:inherit;text-decoration:none;white-space:nowrap}.csl-topbar .csl-search-trigger{position:absolute;left:50%;transform:translateX(-50%);width:min(448px,35vw)}.csl-search-trigger{border:1px solid var(--csl-line);border-radius:8px;height:32px;display:flex;align-items:center;gap:10px;padding:0 10px;background:var(--csl-bg);color:var(--csl-muted)}.csl-search-trigger kbd{margin-left:auto;font:11px inherit;border:1px solid var(--csl-line);border-radius:3px;padding:0 4px}.csl-topbar-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.csl-topbar-actions a{display:flex;align-items:center;gap:7px;color:inherit;text-decoration:none}.csl-topbar svg{width:18px;height:18px}.csl-icon-button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px}.csl-body{display:flex;flex:1;min-height:0;overflow:hidden}.csl-sidebar{width:256px;flex:none;border-right:1px solid var(--csl-line);background:var(--csl-nav);min-height:0}.csl-main{flex:1;min-width:0;overflow:auto;padding:24px}\n.uibot-console{--background:var(--csl-bg);--foreground:var(--csl-fg);--border:var(--csl-line);--muted:var(--csl-button);--muted-foreground:var(--csl-muted)}\n.csl-sidebar{display:flex;flex-direction:column}.csl-sidebar-navigation{flex:1;min-height:0;overflow:auto}.csl-sidebar-navigation>.uibot-drilldown{height:100%;border:0}.csl-sidebar-account{padding:
|
|
21
|
+
"content": "/** Shared shell rules. Business page styles stay with their author modules. */\nexport const CONSOLE_SHELL_CSS = `\n.uibot-console,.csl-popup{--csl-bg:#fcfcfa;--csl-nav:#fafaf8;--csl-line:#e6e6e2;--csl-muted:#878780;--csl-fg:#242421;--csl-button:#eeeeea;--csl-selected:#e8e8e4;color:var(--csl-fg);background:var(--csl-bg);font:14px/1.45 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,\"Segoe UI\",sans-serif}\n.dark .uibot-console,.dark .csl-popup{--csl-bg:#141414;--csl-nav:#101010;--csl-line:#303030;--csl-muted:#92928b;--csl-fg:#e9e9e4;--csl-button:#303030;--csl-selected:#363636}\n.uibot-console *,.csl-popup *{box-sizing:border-box}.uibot-console button,.uibot-console input,.uibot-console textarea,.csl-popup button,.csl-popup input,.csl-popup textarea{font:inherit}.uibot-console :is(button,a,input,textarea):focus-visible,.csl-popup :is(button,a,input,textarea):focus-visible{outline:2px solid var(--csl-focus,#8a80df);outline-offset:3px}.uibot-console button:not(:disabled),.csl-popup button:not(:disabled){cursor:pointer}.uibot-console button:disabled,.csl-popup button:disabled{opacity:.45;cursor:not-allowed}\n.csl-topbar{height:48px;display:flex;align-items:center;gap:20px;padding:0 16px;border-bottom:1px solid var(--csl-line);background:var(--csl-nav);flex:none}.csl-brand{font:23px Georgia,serif;color:inherit;text-decoration:none;white-space:nowrap}.csl-topbar .csl-search-trigger{position:absolute;left:50%;transform:translateX(-50%);width:min(448px,35vw)}.csl-search-trigger{border:1px solid var(--csl-line);border-radius:8px;height:32px;display:flex;align-items:center;gap:10px;padding:0 10px;background:var(--csl-bg);color:var(--csl-muted)}.csl-search-trigger kbd{margin-left:auto;font:11px inherit;border:1px solid var(--csl-line);border-radius:3px;padding:0 4px}.csl-topbar-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.csl-topbar-actions a{display:flex;align-items:center;gap:7px;color:inherit;text-decoration:none}.csl-topbar svg{width:18px;height:18px}.csl-icon-button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:6px}.csl-body{display:flex;flex:1;min-height:0;overflow:hidden}.csl-sidebar{width:256px;flex:none;border-right:1px solid var(--csl-line);background:var(--csl-nav);min-height:0}.csl-main{flex:1;min-width:0;overflow:auto;padding:24px}\n.uibot-console{--background:var(--csl-bg);--foreground:var(--csl-fg);--border:var(--csl-line);--muted:var(--csl-button);--muted-foreground:var(--csl-muted)}\n.csl-sidebar{display:flex;flex-direction:column}.csl-sidebar-navigation{flex:1;min-height:0;overflow:auto}.csl-sidebar-navigation>.uibot-drilldown{height:100%;border:0}.csl-sidebar-account{padding:8px;border-top:1px solid var(--csl-line);flex:none}.csl-mobile-sidebar{height:calc(100dvh - 4rem);display:flex;flex-direction:column}\n.csl-shell{display:flex;flex-direction:column;height:100dvh;min-width:0}.csl-mobile-trigger{display:none}.csl-shell-workspace,.csl-shell-footer{padding:12px 16px}.csl-shell-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:288px;max-width:85vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-right:1px solid var(--csl-line);box-shadow:0 12px 36px #0004}.csl-shell-overlay{position:fixed;inset:0;background:#0008;z-index:49}.csl-shell-drawer{z-index:50}.csl-shell-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.csl-shell-close{margin:12px;padding:6px 12px;border:1px solid var(--csl-line);border-radius:6px;color:inherit;background:transparent}.csl-shell .csl-brand{min-width:0;overflow-wrap:anywhere;white-space:normal}.csl-shell .csl-topbar-actions{min-width:0}\n@media(max-width:767px){.csl-sidebar{display:none}.csl-mobile-trigger{display:inline-flex;flex:none}.csl-topbar{padding:0 12px;gap:8px}.csl-brand{font-size:20px}.csl-topbar .csl-search-trigger{position:static;transform:none;width:28px;height:28px;border:0;padding:4px;margin-left:auto}.csl-search-trigger>span,.csl-search-trigger kbd{display:none}.csl-topbar-actions{gap:8px}.csl-main{padding:20px 16px}}\n`;\n",
|
|
22
22
|
"type": "registry:lib"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"description": "Generate a new HTML artifact or rewrite the current revision, with at-most-once dispatch and reconcile from @uibot/creation-kit.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0"
|
|
10
10
|
],
|
|
11
11
|
"registryDependencies": [
|
|
12
12
|
"button",
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"description": "Generate a presentation from an explicitly chosen saved HTML revision.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0"
|
|
10
10
|
],
|
|
11
11
|
"registryDependencies": [
|
|
12
12
|
"button",
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"description": "Download a saved HTML revision (PPTX for presentations) once no model request is open; the host supplies the export transport.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0"
|
|
10
10
|
],
|
|
11
11
|
"registryDependencies": [
|
|
12
12
|
"button",
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
"description": "Copy (zh/en), domain filters and run checks shared by the UIBot creation blocks.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0"
|
|
10
10
|
],
|
|
11
11
|
"registryDependencies": [],
|
|
12
12
|
"files": [
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"description": "Generate two or three HTML candidates side by side (project design, design guides or custom directions) and adopt one as the next revision, over useCreationVariants.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
10
|
-
"@uibot/web-preview@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0",
|
|
10
|
+
"@uibot/web-preview@0.22.0"
|
|
11
11
|
],
|
|
12
12
|
"registryDependencies": [
|
|
13
13
|
"button",
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"description": "Manual HTML creation workspace (projects, artifacts, CAS saves with a conflict step, generation, export) over useCreationWorkspace; the host renders the editor.",
|
|
6
6
|
"dependencies": [
|
|
7
7
|
"react@19.3.0",
|
|
8
|
-
"@uibot/contracts@0.
|
|
9
|
-
"@uibot/creation-kit@0.
|
|
10
|
-
"@uibot/web-preview@0.
|
|
8
|
+
"@uibot/contracts@0.22.0",
|
|
9
|
+
"@uibot/creation-kit@0.22.0",
|
|
10
|
+
"@uibot/web-preview@0.22.0"
|
|
11
11
|
],
|
|
12
12
|
"registryDependencies": [
|
|
13
13
|
"button",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"path": "lib/uibot/templates/crm-workspace.uibot.yaml",
|
|
20
20
|
"target": "lib/uibot/templates/crm-workspace.uibot.yaml",
|
|
21
|
-
"content": "version: \"2.0\"\npages:\n - id: crm\n path: /\n title: Pipeline — CRM\n blocks:\n - type: PageLayout\n props:\n title: Relate CRM\n variant: sidebar\n collapsible: none\n slots:\n sidebar:\n - type: PageSiderMenu\n props:\n title: Sales\n children:\n - type: MenuLink\n props:\n label: Pipeline\n href: \"#\"\n icon: ◫\n active: true\n - type: MenuLink\n props:\n label: Contacts\n href: \"#\"\n icon: ◍\n badge: \"5\"\n - type: MenuLink\n props:\n label: Deals\n href: \"#\"\n icon: ◆\n - type: MenuLink\n props:\n label: Reports\n href: \"#\"\n icon: ◔\n badge: n/a\n headerActions:\n - type: Button\n props:\n label: + Add lead\n size: sm\n children:\n - type: Box\n props:\n className: flex items-end justify-between gap-4 mb-3 border-b border-border pb-3\n children:\n - type: Box\n children:\n - type: Heading\n props:\n level: 2\n text: Pipeline\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: Demo workspace · sample deals, not live ARR\n - type: BadgeGroup\n props:\n items:\n - label: 1 hot deal\n tone: warning\n - label: Forecast n/a\n tone: info\n - type: Toast\n props:\n level: warning\n title: Status first\n message: Umbrella Inc is marked hot. Pipeline dollars below are demo labels —\n live forecast stays n/a.\n - type: StatGrid\n props:\n cols: \"3\"\n items:\n - label: Open pipeline (demo)\n value: $1.24M\n change: sample board\n trend: up\n - label: Win rate (demo)\n value: 32%\n change: +3pt sample\n trend: up\n - label: Live forecast\n value: n/a\n description: CRM source offline\n - type: Card\n props:\n title: Pipeline by stage\n description: Five sample cards · hairline board\n className: rounded-none border border-border shadow-none\n children:\n - type: KanbanBoard\n props:\n columns:\n - id: lead\n title: Lead\n - id: qualified\n title: Qualified\n - id: proposal\n title: Proposal\n - id: won\n title: Won\n cards:\n - id: c1\n column: lead\n title: Globex Corp\n subtitle: $22,000 · demo\n badge: New\n - id: c2\n column: lead\n title: Initech\n subtitle: $8,400 · demo\n - id: c3\n column: qualified\n title: Umbrella Inc\n subtitle: $54,000 · demo\n badge: Hot\n - id: c4\n column: proposal\n title: Stark Industries\n subtitle: $140,000 · demo\n - id: c5\n column: won\n title: Wayne Enterprises\n subtitle: $96,000 · demo\n badge: Closed\n - type: Card\n props:\n title: Recent contacts\n description: Empty state is wired if the demo rows are cleared\n className: rounded-none border border-border shadow-none\n children:\n - type: Table\n props:\n emptyText: No contacts in this window.\n striped: true\n columns:\n - key: name\n label: Name\n - key: company\n label: Company\n - key: stage\n label: Stage\n - key: value\n label: Value\n align: right\n rows:\n - name: Marcus Webb\n company: Globex Corp\n stage: Lead\n value: $22,000\n - name: Lena Park\n company: Umbrella Inc\n stage: Qualified\n value: $54,000\n - name: Omar Haddad\n company: Stark Industries\n stage: Proposal\n value: $140,000\n - id: chat-history\n path: /chat-history\n title: Conversation workspace\n blocks:\n - id: chat-history-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: history\n title: Conversation workspace\n showSuggestions: true\n previewState: ready\n - id: document-writing\n path: /document-writing\n title: Focused writing\n blocks:\n - id: document-writing-editor\n type: DocumentWorkspace\n props:\n bindingId: document\n title: Focused writing\n markdown: |-\n # Project notes\n\n Capture the decisions behind your next idea.\n\n ## Overview\n\n Write, select text, and explore the formatting controls.\n\n ## Next steps\n\n - Review the draft\n - Connect your document host\n readOnly: false\n autoSaveMs: 1500\n locale: zh-CN\n previewState: ready\n variant: writing\ncomposition:\n schema: uibot.solution-composition.v1\n pages:\n - resourceId: template:chat-history\n version: 0.
|
|
21
|
+
"content": "version: \"2.0\"\npages:\n - id: crm\n path: /\n title: Pipeline — CRM\n blocks:\n - type: PageLayout\n props:\n title: Relate CRM\n variant: sidebar\n collapsible: none\n slots:\n sidebar:\n - type: PageSiderMenu\n props:\n title: Sales\n children:\n - type: MenuLink\n props:\n label: Pipeline\n href: \"#\"\n icon: ◫\n active: true\n - type: MenuLink\n props:\n label: Contacts\n href: \"#\"\n icon: ◍\n badge: \"5\"\n - type: MenuLink\n props:\n label: Deals\n href: \"#\"\n icon: ◆\n - type: MenuLink\n props:\n label: Reports\n href: \"#\"\n icon: ◔\n badge: n/a\n headerActions:\n - type: Button\n props:\n label: + Add lead\n size: sm\n children:\n - type: Box\n props:\n className: flex items-end justify-between gap-4 mb-3 border-b border-border pb-3\n children:\n - type: Box\n children:\n - type: Heading\n props:\n level: 2\n text: Pipeline\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: Demo workspace · sample deals, not live ARR\n - type: BadgeGroup\n props:\n items:\n - label: 1 hot deal\n tone: warning\n - label: Forecast n/a\n tone: info\n - type: Toast\n props:\n level: warning\n title: Status first\n message: Umbrella Inc is marked hot. Pipeline dollars below are demo labels —\n live forecast stays n/a.\n - type: StatGrid\n props:\n cols: \"3\"\n items:\n - label: Open pipeline (demo)\n value: $1.24M\n change: sample board\n trend: up\n - label: Win rate (demo)\n value: 32%\n change: +3pt sample\n trend: up\n - label: Live forecast\n value: n/a\n description: CRM source offline\n - type: Card\n props:\n title: Pipeline by stage\n description: Five sample cards · hairline board\n className: rounded-none border border-border shadow-none\n children:\n - type: KanbanBoard\n props:\n columns:\n - id: lead\n title: Lead\n - id: qualified\n title: Qualified\n - id: proposal\n title: Proposal\n - id: won\n title: Won\n cards:\n - id: c1\n column: lead\n title: Globex Corp\n subtitle: $22,000 · demo\n badge: New\n - id: c2\n column: lead\n title: Initech\n subtitle: $8,400 · demo\n - id: c3\n column: qualified\n title: Umbrella Inc\n subtitle: $54,000 · demo\n badge: Hot\n - id: c4\n column: proposal\n title: Stark Industries\n subtitle: $140,000 · demo\n - id: c5\n column: won\n title: Wayne Enterprises\n subtitle: $96,000 · demo\n badge: Closed\n - type: Card\n props:\n title: Recent contacts\n description: Empty state is wired if the demo rows are cleared\n className: rounded-none border border-border shadow-none\n children:\n - type: Table\n props:\n emptyText: No contacts in this window.\n striped: true\n columns:\n - key: name\n label: Name\n - key: company\n label: Company\n - key: stage\n label: Stage\n - key: value\n label: Value\n align: right\n rows:\n - name: Marcus Webb\n company: Globex Corp\n stage: Lead\n value: $22,000\n - name: Lena Park\n company: Umbrella Inc\n stage: Qualified\n value: $54,000\n - name: Omar Haddad\n company: Stark Industries\n stage: Proposal\n value: $140,000\n - id: chat-history\n path: /chat-history\n title: Conversation workspace\n blocks:\n - id: chat-history-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: history\n title: Conversation workspace\n showSuggestions: true\n previewState: ready\n - id: document-writing\n path: /document-writing\n title: Focused writing\n blocks:\n - id: document-writing-editor\n type: DocumentWorkspace\n props:\n bindingId: document\n title: Focused writing\n markdown: |-\n # Project notes\n\n Capture the decisions behind your next idea.\n\n ## Overview\n\n Write, select text, and explore the formatting controls.\n\n ## Next steps\n\n - Review the draft\n - Connect your document host\n readOnly: false\n autoSaveMs: 1500\n locale: zh-CN\n previewState: ready\n variant: writing\ncomposition:\n schema: uibot.solution-composition.v1\n pages:\n - resourceId: template:chat-history\n version: 0.22.0\n sourceHash: 0cf2b52c4fe098bbc2412b931b5a37981bb1727a42f2a50067ff4ddab51444eb\n sourcePageId: chat-history\n targetPageId: chat-history\n baseline:\n id: chat-history\n path: /chat-history\n title: Conversation workspace\n blocks:\n - id: chat-history-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: history\n title: Conversation workspace\n showSuggestions: true\n previewState: ready\n bindings:\n paths: {}\n connections: {}\n layout: source\n - resourceId: template:document-writing\n version: 0.22.0\n sourceHash: 574a264ba29e0e4a712896288dca56a3cb67d3ee202da6e0df3532a5507ed9cf\n sourcePageId: document-writing\n targetPageId: document-writing\n baseline:\n id: document-writing\n path: /document-writing\n title: Focused writing\n blocks:\n - id: document-writing-editor\n type: DocumentWorkspace\n props:\n bindingId: document\n title: Focused writing\n markdown: |-\n # Project notes\n\n Capture the decisions behind your next idea.\n\n ## Overview\n\n Write, select text, and explore the formatting controls.\n\n ## Next steps\n\n - Review the draft\n - Connect your document host\n readOnly: false\n autoSaveMs: 1500\n locale: zh-CN\n previewState: ready\n variant: writing\n bindings:\n paths: {}\n connections: {}\n layout: source\nmenus:\n items:\n - key: crm\n label: Pipeline — CRM\n path: /\n - key: chat-history\n label: Conversation workspace\n path: /chat-history\n - key: document-writing\n label: Focused writing\n path: /document-writing\n",
|
|
22
22
|
"type": "registry:lib"
|
|
23
23
|
},
|
|
24
24
|
{
|