dothtml-interfaces 0.1.36 → 0.1.38
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 +4 -0
- package/src/i-dot-css.d.ts +705 -702
- package/src/i-dot.d.ts +304 -194
package/package.json
CHANGED
package/src/i-component.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { IDotGenericElement } from "./i-dot";
|
|
3
3
|
import IDotCss from "./i-dot-css";
|
|
4
4
|
|
|
5
|
+
// TODO: I think this could be typed so that it forces you to emit events from the list of strings.
|
|
5
6
|
export interface FrameworkItems {
|
|
6
7
|
/**
|
|
7
8
|
* The shadow root element of the component.
|
|
@@ -21,6 +22,9 @@ export interface FrameworkItems {
|
|
|
21
22
|
// html: IDotGenericElement;
|
|
22
23
|
}
|
|
23
24
|
|
|
25
|
+
// TODO: there's a weird problem where if a constructor is not provided, it's not possible have a custom builder.
|
|
26
|
+
// It should be the contsructor that depends on the builder, not the other way around. If we can't get this working,
|
|
27
|
+
// it might just be better to rethink how stuff gets passed into components.
|
|
24
28
|
export default interface IComponent {
|
|
25
29
|
// Properties
|
|
26
30
|
events?: Array<string>;
|