@node-projects/web-component-designer 0.1.277 → 0.1.278
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.
|
@@ -26,7 +26,7 @@ export declare class DesignItem implements IDesignItem {
|
|
|
26
26
|
nodeReplaced: TypedEvent<void>;
|
|
27
27
|
get window(): Window & typeof globalThis;
|
|
28
28
|
get document(): Document;
|
|
29
|
-
get usableContainer(): Element |
|
|
29
|
+
get usableContainer(): Element | Document | ShadowRoot;
|
|
30
30
|
clone(): Promise<IDesignItem>;
|
|
31
31
|
allMatching(selectors: string): Generator<IDesignItem, void, any>;
|
|
32
32
|
replaceNode(newNode: Node): void;
|
|
@@ -3,5 +3,6 @@ import { InstanceServiceContainer } from "../InstanceServiceContainer.js";
|
|
|
3
3
|
import { ServiceContainer } from "../ServiceContainer.js";
|
|
4
4
|
export interface IDesignItemService {
|
|
5
5
|
createDesignItem(node: Node, parsedNode: any, serviceContainer: ServiceContainer, instanceServiceContainer: InstanceServiceContainer): IDesignItem;
|
|
6
|
+
finishedDesignItem?(designItem: IDesignItem): any;
|
|
6
7
|
handleSpecialAttributes(attributeName: string, designItem: IDesignItem): void;
|
|
7
8
|
}
|
package/package.json
CHANGED