dothtml-interfaces 0.1.30 → 0.1.32
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/package.json +1 -1
- package/src/i-component.d.ts +3 -2
- package/src/index.d.ts +8 -1
package/package.json
CHANGED
package/src/i-component.d.ts
CHANGED
|
@@ -6,15 +6,16 @@ export interface FrameworkItems {
|
|
|
6
6
|
/**
|
|
7
7
|
* The shadow root element of the component.
|
|
8
8
|
*/
|
|
9
|
-
root: ShadowRoot;
|
|
10
9
|
refs: { [key: string]: HTMLElement };
|
|
11
10
|
emit: (event: string, ...args: Array<any>)=>void;
|
|
12
11
|
restyle(): void;
|
|
13
12
|
readonly _meta: {
|
|
13
|
+
readonly shadowRoot: ShadowRoot;
|
|
14
14
|
readonly isRendered: boolean;
|
|
15
15
|
readonly tagName: string;
|
|
16
16
|
readonly args: Array<any>;
|
|
17
|
-
readonly styleElement: HTMLStyleElement;
|
|
17
|
+
// readonly styleElement: HTMLStyleElement;
|
|
18
|
+
readonly sharedStyles: CSSStyleSheet;
|
|
18
19
|
}
|
|
19
20
|
// css: IDotCss;
|
|
20
21
|
// html: IDotGenericElement;
|
package/src/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IDotCore } from "./i-dot";
|
|
1
2
|
|
|
2
3
|
export * from "./i-dot";
|
|
3
4
|
|
|
@@ -8,4 +9,10 @@ export * from "./i-dot-css";
|
|
|
8
9
|
export { default as IComponent, FrameworkItems } from "./i-component";
|
|
9
10
|
|
|
10
11
|
export { default as IReactive } from "./i-reactive";
|
|
11
|
-
export { default as IEventBus } from "./i-event-bus";
|
|
12
|
+
export { default as IEventBus } from "./i-event-bus";
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
interface Window {
|
|
16
|
+
dot: IDotCore;
|
|
17
|
+
}
|
|
18
|
+
}
|