dothtml-interfaces 0.3.0 → 0.3.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dothtml-interfaces",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Dependency injection interfaces for DOTHtml.",
5
5
  "main": "src/index.d.ts",
6
6
  "types": "src/index.d.ts",
package/src/i-dot.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
 
2
2
  import IComponent, { FrameworkItems } from "./i-component";
3
- import IDotCss, { IDotcssProp } from "./styles/i-dot-css";
3
+ import IDotCss from "./styles/i-dot-css";
4
4
  import IEventBus from "./i-event-bus";
5
5
  import {IReactive} from "./i-reactive";
6
+ import IDotcssProp from "./styles/i-css-prop";
6
7
 
7
8
  type DotContentPrimitive = string | number | boolean;
8
9
  type DotContentBasic = DotContentPrimitive | Node | Element | NodeList | IComponent | IDotDocument//typeof DotDocument;
@@ -6,7 +6,7 @@ type LengthUnitSuffix = "" | "Cm" | "Ch" | "Em" | "Ex" | "In" | "Mm" | "P" | "Pc
6
6
 
7
7
  type V<S> = IReactive<number|string> | number | S;
8
8
 
9
- type LengthProp<Prefix extends string, Qty extends 1|2|3|4 = 1, S extends string|IReactive<string> = GKV> = {
9
+ type LengthProp<Prefix extends string, Qty extends 1|2|3|4 = 1, S extends string|IReactive<number|string> = GKV> = {
10
10
  [Key in LengthUnitSuffix as `${Prefix}${Key}`]?: (
11
11
  (Qty extends 1 ? V<S>|[V<S>] : void) |
12
12
  (Qty extends 2 ? [V<S>, V<S>] : void) |