@uibot/registry 0.19.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.
Files changed (70) hide show
  1. package/dist/component-replacement.d.ts +10 -0
  2. package/dist/index.d.ts +5 -0
  3. package/dist/index.js +2117 -12
  4. package/dist/materialize-templates.d.ts +28 -0
  5. package/dist/materialize.d.ts +63 -0
  6. package/dist/resources.d.ts +5 -0
  7. package/dist/resources.js +2108 -3
  8. package/dist/shadcn/r/admin-apps.json +1 -1
  9. package/dist/shadcn/r/admin-chats.json +1 -1
  10. package/dist/shadcn/r/admin-settings-account.json +1 -1
  11. package/dist/shadcn/r/admin-settings-appearance.json +1 -1
  12. package/dist/shadcn/r/admin-settings-display.json +1 -1
  13. package/dist/shadcn/r/admin-settings-notifications.json +1 -1
  14. package/dist/shadcn/r/admin-settings-profile.json +1 -1
  15. package/dist/shadcn/r/admin-settings.json +1 -1
  16. package/dist/shadcn/r/admin-shell.json +16 -3
  17. package/dist/shadcn/r/admin-tasks.json +1 -1
  18. package/dist/shadcn/r/admin-users.json +1 -1
  19. package/dist/shadcn/r/agent-run-console.json +64 -0
  20. package/dist/shadcn/r/auth-minimal.json +59 -0
  21. package/dist/shadcn/r/billing-overview.json +66 -0
  22. package/dist/shadcn/r/billing-usage-ledger.json +66 -0
  23. package/dist/shadcn/r/charts.json +44 -17
  24. package/dist/shadcn/r/chat-workspace.json +1 -1
  25. package/dist/shadcn/r/collection-cell-editor.json +1 -1
  26. package/dist/shadcn/r/collection-kanban.json +134 -0
  27. package/dist/shadcn/r/collection-panel-drawer.json +1 -1
  28. package/dist/shadcn/r/collection-record-menu.json +1 -1
  29. package/dist/shadcn/r/collection-shared.json +1 -1
  30. package/dist/shadcn/r/commerce-workspace.json +1 -1
  31. package/dist/shadcn/r/console-billing.json +1 -1
  32. package/dist/shadcn/r/console-page.json +14 -14
  33. package/dist/shadcn/r/console-shell.json +2 -2
  34. package/dist/shadcn/r/creation-html-generation.json +2 -2
  35. package/dist/shadcn/r/creation-reference-generation.json +2 -2
  36. package/dist/shadcn/r/creation-revision-export.json +2 -2
  37. package/dist/shadcn/r/creation-shared.json +2 -2
  38. package/dist/shadcn/r/creation-variant-compare.json +3 -3
  39. package/dist/shadcn/r/creation-workspace.json +3 -3
  40. package/dist/shadcn/r/crm-workspace.json +1 -1
  41. package/dist/shadcn/r/dashboard-01.json +78 -0
  42. package/dist/shadcn/r/dashboard.json +113 -3
  43. package/dist/shadcn/r/data-crud-gallery.json +66 -0
  44. package/dist/shadcn/r/data-crud-kanban.json +66 -0
  45. package/dist/shadcn/r/data-crud-master-detail.json +66 -0
  46. package/dist/shadcn/r/data-crud-table.json +66 -0
  47. package/dist/shadcn/r/data-table.json +120 -10
  48. package/dist/shadcn/r/data.json +9 -2
  49. package/dist/shadcn/r/document-assistant.json +1 -1
  50. package/dist/shadcn/r/document-workspace.json +1 -1
  51. package/dist/shadcn/r/drilldown-menu.json +1 -1
  52. package/dist/shadcn/r/education-workspace.json +1 -1
  53. package/dist/shadcn/r/feedback.json +15 -2
  54. package/dist/shadcn/r/form.json +1 -1
  55. package/dist/shadcn/r/launch-site.json +72 -0
  56. package/dist/shadcn/r/layout.json +57 -22
  57. package/dist/shadcn/r/nav.json +38 -10
  58. package/dist/shadcn/r/onboarding-checklist.json +63 -0
  59. package/dist/shadcn/r/onboarding-wizard.json +66 -0
  60. package/dist/shadcn/r/prompt-eval-workbench.json +65 -0
  61. package/dist/shadcn/r/record-master-detail.json +132 -0
  62. package/dist/shadcn/r/shadcn-admin.json +1 -1
  63. package/dist/shadcn/r/sidebar-primitives.json +1 -1
  64. package/dist/shadcn/r/workspace.json +9 -2
  65. package/dist/shadcn/registry.json +229 -27
  66. package/dist/solution-regions.d.ts +12 -2
  67. package/dist/spec-blueprint.d.ts +11 -0
  68. package/dist/spec-patch.d.ts +10 -0
  69. package/dist/variant-swap.d.ts +22 -0
  70. package/package.json +2 -2
@@ -0,0 +1,10 @@
1
+ import type { BlockNode, CatalogEntry } from "@uibot/contracts";
2
+ export interface ComponentReplacementTarget {
3
+ component: string;
4
+ variant: string;
5
+ title: string;
6
+ }
7
+ /** Only installed, explicitly compatible components participate. No data is evaluated. */
8
+ export declare function componentReplacementTargets(block: BlockNode, components: Record<string, CatalogEntry>): ComponentReplacementTarget[];
9
+ /** Preserve the complete node and its binding expressions; never silently drop authored fields. */
10
+ export declare function replaceCompatibleComponent(block: BlockNode, components: Record<string, CatalogEntry>, target: Pick<ComponentReplacementTarget, "component" | "variant">, instanceId?: string): BlockNode;
package/dist/index.d.ts CHANGED
@@ -101,4 +101,9 @@ export * from "./resource-aliases.js";
101
101
  export * from "./resource-query.js";
102
102
  export * from "./resource-receipt.js";
103
103
  export * from "./public-resources.js";
104
+ export * from "./solution-regions.js";
105
+ export * from "./variant-swap.js";
106
+ export * from "./spec-patch.js";
107
+ export * from "./spec-blueprint.js";
108
+ export * from "./materialize.js";
104
109
  export * from "./distribution-snapshot.js";