@stackable-labs/embeddables 1.1.0 → 1.2.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.
@@ -3,7 +3,9 @@
3
3
  * Maps Remote DOM custom element tags to real React components (shadcn/ui).
4
4
  * This is where the UI contract is enforced on the host side.
5
5
  */
6
+ import React from 'react';
7
+ import type { UITag } from '@stackable-labs/sdk-extension-contracts';
6
8
  /**
7
- * Register all host components. Call this once at app startup.
9
+ * Returns the host component map for use as the `components` prop on `ExtensionProvider`.
8
10
  */
9
- export declare const hostComponents: () => void;
11
+ export declare const hostComponents: () => Partial<Record<UITag, React.ComponentType<Record<string, unknown>>>>;