x-runtime-lib 0.5.11 → 0.5.12

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.
@@ -18,6 +18,14 @@ type ZTypeInput = {
18
18
  step: number;
19
19
  } & ZTypeBase;
20
20
  export type ZType = ZTypeWord | ZTypeInput;
21
+ export type ZSlot = {
22
+ key: string;
23
+ name: string;
24
+ params: {
25
+ key: string;
26
+ name: string;
27
+ }[];
28
+ };
21
29
  export type ZEvent = {
22
30
  key: string;
23
31
  name: string;
@@ -150,7 +158,7 @@ export type ZElement = {
150
158
  key: string;
151
159
  name: string;
152
160
  comp: any;
153
- leaf: boolean;
161
+ slots: ZSlot[];
154
162
  events: ZEvent[];
155
163
  methods: ZMethod[];
156
164
  props: ZProps;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.5.11",
4
+ "version": "0.5.12",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",