@jasonshimmy/custom-elements-runtime 0.2.7 → 0.3.0

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.
@@ -3,15 +3,17 @@ export declare function h(tag: string, props?: Record<string, any>, children?: V
3
3
  export declare function isAnchorBlock(v: any): boolean;
4
4
  export declare function isElementVNode(v: any): v is VNode;
5
5
  export declare function ensureKey(v: VNode, k: string): VNode;
6
- export declare function parseProps(str: string, values?: unknown[], context?: Record<string, any>): {
6
+ export interface ParsePropsResult {
7
7
  props: Record<string, any>;
8
8
  attrs: Record<string, any>;
9
9
  directives: Record<string, {
10
- value: string;
10
+ value: any;
11
11
  modifiers: string[];
12
12
  arg?: string;
13
13
  }>;
14
- };
14
+ bound: string[];
15
+ }
16
+ export declare function parseProps(str: string, values?: unknown[], context?: Record<string, any>): ParsePropsResult;
15
17
  /**
16
18
  * Internal implementation allowing an optional compile context for :model.
17
19
  * Fixes:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jasonshimmy/custom-elements-runtime",
3
3
  "description": "A powerful, modern, and lightweight runtime for creating reactive web components with TypeScript",
4
- "version": "0.2.7",
4
+ "version": "0.3.0",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "web-components",