@uibot/registry 0.18.1 → 0.20.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/README.md +59 -0
- package/dist/component-replacement.d.ts +10 -0
- package/dist/distribution-snapshot.d.ts +22 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +11 -11
- package/dist/resource-query.d.ts +4 -0
- package/dist/resources.d.ts +4 -0
- package/dist/resources.js +3 -3
- package/dist/shadcn/r/admin-apps.json +61 -0
- package/dist/shadcn/r/admin-chats.json +54 -0
- package/dist/shadcn/r/admin-error-401.json +54 -0
- package/dist/shadcn/r/admin-error-403.json +54 -0
- package/dist/shadcn/r/admin-error-404.json +54 -0
- package/dist/shadcn/r/admin-error-500.json +54 -0
- package/dist/shadcn/r/admin-error-503.json +54 -0
- package/dist/shadcn/r/admin-forgot-password.json +59 -0
- package/dist/shadcn/r/admin-help.json +53 -0
- package/dist/shadcn/r/admin-otp.json +59 -0
- package/dist/shadcn/r/admin-overview.json +62 -0
- package/dist/shadcn/r/admin-settings-account.json +61 -0
- package/dist/shadcn/r/admin-settings-appearance.json +61 -0
- package/dist/shadcn/r/admin-settings-display.json +61 -0
- package/dist/shadcn/r/admin-settings-notifications.json +61 -0
- package/dist/shadcn/r/admin-settings-profile.json +61 -0
- package/dist/shadcn/r/admin-settings.json +65 -0
- package/dist/shadcn/r/admin-shell.json +25 -6
- package/dist/shadcn/r/admin-sign-in-2.json +67 -0
- package/dist/shadcn/r/admin-sign-in.json +59 -0
- package/dist/shadcn/r/admin-sign-up.json +59 -0
- package/dist/shadcn/r/admin-tasks.json +66 -0
- package/dist/shadcn/r/admin-users.json +66 -0
- package/dist/shadcn/r/auth-01.json +24 -0
- package/dist/shadcn/r/auth-02.json +24 -0
- package/dist/shadcn/r/auth-03.json +24 -0
- package/dist/shadcn/r/auth-04.json +24 -0
- package/dist/shadcn/r/auth-05.json +24 -0
- package/dist/shadcn/r/auth-centered.json +61 -0
- package/dist/shadcn/r/auth-enterprise.json +61 -0
- package/dist/shadcn/r/auth-primitives.json +58 -0
- package/dist/shadcn/r/auth-recovery.json +64 -0
- package/dist/shadcn/r/auth-registration.json +63 -0
- package/dist/shadcn/r/auth-split.json +67 -0
- package/dist/shadcn/r/auth.json +13 -13
- package/dist/shadcn/r/charts.json +45 -18
- package/dist/shadcn/r/chat-artifact.json +49 -0
- package/dist/shadcn/r/chat-focused.json +49 -0
- package/dist/shadcn/r/chat-history.json +49 -0
- package/dist/shadcn/r/chat-knowledge.json +49 -0
- package/dist/shadcn/r/chat-support.json +49 -0
- package/dist/shadcn/r/chat-workspace.json +136 -0
- package/dist/shadcn/r/collection-cell-editor.json +6 -6
- package/dist/shadcn/r/collection-panel-drawer.json +2 -2
- package/dist/shadcn/r/collection-record-menu.json +2 -2
- package/dist/shadcn/r/collection-shared.json +2 -2
- package/dist/shadcn/r/commerce-workspace.json +69 -0
- package/dist/shadcn/r/console-billing.json +68 -0
- package/dist/shadcn/r/console-page.json +289 -0
- package/dist/shadcn/r/console-shell.json +29 -0
- package/dist/shadcn/r/content.json +1 -1
- package/dist/shadcn/r/creation-html-generation.json +3 -3
- package/dist/shadcn/r/creation-reference-generation.json +3 -3
- package/dist/shadcn/r/creation-revision-export.json +3 -3
- package/dist/shadcn/r/creation-shared.json +3 -3
- package/dist/shadcn/r/creation-variant-compare.json +4 -4
- package/dist/shadcn/r/creation-workspace.json +4 -4
- package/dist/shadcn/r/crm-workspace.json +73 -0
- package/dist/shadcn/r/dashboard-01.json +78 -0
- package/dist/shadcn/r/dashboard.json +114 -4
- package/dist/shadcn/r/data-studio.json +1 -1
- package/dist/shadcn/r/data-table.json +138 -10
- package/dist/shadcn/r/data.json +88 -11
- package/dist/shadcn/r/document-assistant.json +54 -0
- package/dist/shadcn/r/document-library.json +49 -0
- package/dist/shadcn/r/document-reading.json +49 -0
- package/dist/shadcn/r/document-workspace.json +164 -0
- package/dist/shadcn/r/document-writing.json +49 -0
- package/dist/shadcn/r/drilldown-menu.json +233 -0
- package/dist/shadcn/r/education-workspace.json +82 -0
- package/dist/shadcn/r/feedback.json +19 -6
- package/dist/shadcn/r/field.json +1 -1
- package/dist/shadcn/r/form.json +12 -12
- package/dist/shadcn/r/grid.json +1 -1
- package/dist/shadcn/r/interactive.json +1 -1
- package/dist/shadcn/r/item-grid.json +219 -0
- package/dist/shadcn/r/kanban.json +1 -1
- package/dist/shadcn/r/layout.json +217 -18
- package/dist/shadcn/r/marketing.json +1 -1
- package/dist/shadcn/r/nav.json +39 -11
- package/dist/shadcn/r/presentation.json +1 -1
- package/dist/shadcn/r/preview-device-frame.json +2 -2
- package/dist/shadcn/r/primitives.json +2 -2
- package/dist/shadcn/r/sections.json +1 -1
- package/dist/shadcn/r/shadcn-admin-shell.json +1 -1
- package/dist/shadcn/r/shadcn-admin.json +23 -22
- package/dist/shadcn/r/sidebar-01.json +42 -0
- package/dist/shadcn/r/sidebar-02.json +42 -0
- package/dist/shadcn/r/sidebar-03.json +30 -0
- package/dist/shadcn/r/sidebar-04.json +30 -0
- package/dist/shadcn/r/sidebar-05.json +36 -0
- package/dist/shadcn/r/sidebar-06.json +42 -0
- package/dist/shadcn/r/sidebar-07.json +54 -0
- package/dist/shadcn/r/sidebar-08.json +54 -0
- package/dist/shadcn/r/sidebar-09.json +36 -0
- package/dist/shadcn/r/sidebar-10.json +66 -0
- package/dist/shadcn/r/sidebar-11.json +30 -0
- package/dist/shadcn/r/sidebar-12.json +48 -0
- package/dist/shadcn/r/sidebar-13.json +30 -0
- package/dist/shadcn/r/sidebar-14.json +30 -0
- package/dist/shadcn/r/sidebar-15.json +84 -0
- package/dist/shadcn/r/sidebar-16.json +66 -0
- package/dist/shadcn/r/sidebar-drilldown.json +29 -0
- package/dist/shadcn/r/sidebar-primitives.json +155 -0
- package/dist/shadcn/r/uibot-base.json +3 -3
- package/dist/shadcn/r/workspace.json +11 -4
- package/dist/shadcn/registry.json +1016 -176
- package/dist/shadcn.d.ts +0 -39
- package/dist/solution-composition.d.ts +45 -0
- package/dist/solution-regions.d.ts +3 -0
- package/dist/solution-spec.d.ts +7 -0
- package/dist/template-source.d.ts +2 -0
- package/package.json +2 -2
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "registry:block",
|
|
5
5
|
"description": "Right-click record actions (expand, duplicate, copy cells, delete) for renderRecordContextMenu.",
|
|
6
6
|
"dependencies": [
|
|
7
|
-
"react",
|
|
8
|
-
"@uibot/renderer-react
|
|
7
|
+
"react@19.3.0",
|
|
8
|
+
"@uibot/renderer-react@0.20.0"
|
|
9
9
|
],
|
|
10
10
|
"registryDependencies": [
|
|
11
11
|
"context-menu",
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"type": "registry:lib",
|
|
5
5
|
"description": "Copy (zh/en), editor prop types and Tab-commit helper shared by the UIBot collection blocks.",
|
|
6
6
|
"dependencies": [
|
|
7
|
-
"react",
|
|
8
|
-
"@uibot/renderer-react
|
|
7
|
+
"react@19.3.0",
|
|
8
|
+
"@uibot/renderer-react@0.20.0"
|
|
9
9
|
],
|
|
10
10
|
"registryDependencies": [],
|
|
11
11
|
"files": [
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://ui.shadcn.com/schema/registry-item.json",
|
|
3
|
+
"name": "commerce-workspace",
|
|
4
|
+
"type": "registry:block",
|
|
5
|
+
"description": "Commerce & customer support: fixed-version pages composed into one exportable Spec.",
|
|
6
|
+
"registryDependencies": [
|
|
7
|
+
"@uibot/chat-workspace",
|
|
8
|
+
"@uibot/data",
|
|
9
|
+
"@uibot/feedback",
|
|
10
|
+
"@uibot/form",
|
|
11
|
+
"@uibot/grid",
|
|
12
|
+
"@uibot/interactive",
|
|
13
|
+
"@uibot/layout",
|
|
14
|
+
"@uibot/nav"
|
|
15
|
+
],
|
|
16
|
+
"files": [
|
|
17
|
+
{
|
|
18
|
+
"path": "lib/uibot/templates/commerce-workspace.uibot.yaml",
|
|
19
|
+
"target": "lib/uibot/templates/commerce-workspace.uibot.yaml",
|
|
20
|
+
"content": "version: \"2.0\"\npages:\n - id: ecommerce\n path: /\n title: Shop — All products\n blocks:\n - type: PageLayout\n props:\n title: Atelier\n slots:\n headerActions:\n - type: Link\n props:\n label: Cart · 2\n href: \"#\"\n variant: button\n children:\n - type: Box\n props:\n className: flex items-end justify-between mb-4 border-b border-border pb-4\n children:\n - type: Box\n children:\n - type: Heading\n props:\n level: 2\n text: New arrivals\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: Demo catalog · 4 sample SKUs · photos not attached\n - type: Box\n props:\n className: w-48\n children:\n - type: Form\n children:\n - type: Form.Select\n props:\n name: sort\n options:\n - value: featured\n label: Featured\n - value: price-asc\n label: \"Price: low to high\"\n - value: newest\n label: Newest\n - type: Form.Submit\n props:\n label: Apply\n variant: ghost\n - type: Grid\n props:\n cols: \"4\"\n responsive: true\n gap: lg\n children:\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: BadgeGroup\n props:\n items:\n - label: New\n tone: success\n - type: Heading\n props:\n level: 4\n text: Linen Overshirt\n - type: Stat\n props:\n value: $128\n description: sample price\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: Heading\n props:\n level: 4\n text: Wool Trousers\n - type: Stat\n props:\n value: $96\n change: $120\n description: was $120 · sample\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: Heading\n props:\n level: 4\n text: Canvas Tote\n - type: Stat\n props:\n value: $54\n description: sample price\n - type: Button\n props:\n label: Add to cart\n full: true\n - type: Card\n props:\n className: rounded-none border border-border shadow-none\n children:\n - type: Box\n props:\n className: h-40 -mx-6 -mt-6 mb-3 border-b border-border bg-muted/40 flex\n items-center justify-center\n children:\n - type: Paragraph\n props:\n size: sm\n muted: true\n text: No image\n - type: BadgeGroup\n props:\n items:\n - label: Low stock\n tone: warning\n - type: Heading\n props:\n level: 4\n text: Leather Belt\n - type: Stat\n props:\n value: $72\n description: 2 left in demo\n - type: Button\n props:\n label: Add to cart\n full: true\n - id: chat-support\n path: /chat-support\n title: Support conversations\n blocks:\n - id: chat-support-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: support\n title: Support conversations\n showSuggestions: true\n previewState: ready\ncomposition:\n schema: uibot.solution-composition.v1\n pages:\n - resourceId: template:chat-support\n version: 0.20.0\n sourceHash: e86dd97ddda9b61b68d1aed048251edff8cc9f2987f1254ff9e4f0032a6cd033\n sourcePageId: chat-support\n targetPageId: chat-support\n baseline:\n id: chat-support\n path: /chat-support\n title: Support conversations\n blocks:\n - id: chat-support-surface\n type: ChatWorkspace\n props:\n bindingId: chat\n variant: support\n title: Support conversations\n showSuggestions: true\n previewState: ready\n bindings:\n paths: {}\n connections: {}\n layout: source\nmenus:\n items:\n - key: ecommerce\n label: Shop — All products\n path: /\n - key: chat-support\n label: Support conversations\n path: /chat-support\n",
|
|
21
|
+
"type": "registry:lib"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "lib/uibot/templates/commerce-workspace.uibot.json",
|
|
25
|
+
"target": "lib/uibot/templates/commerce-workspace.uibot.json",
|
|
26
|
+
"content": "{\n \"schema\": \"uibot.registry.item.v1\",\n \"item\": \"commerce-workspace\",\n \"channel\": \"public\",\n \"template\": {\n \"file\": \"commerce-workspace.uibot.yaml\",\n \"contract\": {\n \"name\": \"commerce-workspace\",\n \"description\": \"Commerce & customer support: fixed-version pages composed into one exportable Spec.\",\n \"level\": \"L5\",\n \"category\": \"app\",\n \"keywords\": [\n \"commerce-workspace\",\n \"电商:商品与客服工作台\",\n \"Commerce & customer support\",\n \"chat\",\n \"support\"\n ],\n \"composedFrom\": [\n \"PageLayout\",\n \"Box\",\n \"Heading\",\n \"Paragraph\",\n \"Form\",\n \"Form.Select\",\n \"Form.Submit\",\n \"Grid\",\n \"Card\",\n \"BadgeGroup\",\n \"Stat\",\n \"Button\",\n \"Link\",\n \"ChatWorkspace\"\n ]\n }\n }\n}\n",
|
|
27
|
+
"type": "registry:lib"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"meta": {
|
|
31
|
+
"uibot": {
|
|
32
|
+
"schema": "uibot.registry.item.v1",
|
|
33
|
+
"item": "commerce-workspace",
|
|
34
|
+
"channel": "public",
|
|
35
|
+
"template": {
|
|
36
|
+
"file": "commerce-workspace.uibot.yaml",
|
|
37
|
+
"contract": {
|
|
38
|
+
"name": "commerce-workspace",
|
|
39
|
+
"description": "Commerce & customer support: fixed-version pages composed into one exportable Spec.",
|
|
40
|
+
"level": "L5",
|
|
41
|
+
"category": "app",
|
|
42
|
+
"keywords": [
|
|
43
|
+
"commerce-workspace",
|
|
44
|
+
"电商:商品与客服工作台",
|
|
45
|
+
"Commerce & customer support",
|
|
46
|
+
"chat",
|
|
47
|
+
"support"
|
|
48
|
+
],
|
|
49
|
+
"composedFrom": [
|
|
50
|
+
"PageLayout",
|
|
51
|
+
"Box",
|
|
52
|
+
"Heading",
|
|
53
|
+
"Paragraph",
|
|
54
|
+
"Form",
|
|
55
|
+
"Form.Select",
|
|
56
|
+
"Form.Submit",
|
|
57
|
+
"Grid",
|
|
58
|
+
"Card",
|
|
59
|
+
"BadgeGroup",
|
|
60
|
+
"Stat",
|
|
61
|
+
"Button",
|
|
62
|
+
"Link",
|
|
63
|
+
"ChatWorkspace"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|