cradova 3.7.2 → 3.7.3

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.
@@ -11,7 +11,7 @@ export declare function $ifelse(condition: any, ifTrue: any, ifFalse?: any): any
11
11
  export declare function $case<E extends HTMLElement = HTMLElement>(value: any, ...elements: VJS_params_TYPE<E>): (key: any) => VJS_params_TYPE<E> | undefined;
12
12
  export declare function $switch(key: unknown, ...cases: ((key: any) => any)[]): any;
13
13
  type LoopData<Type> = Type[];
14
- export declare function loop<Type>(datalist: LoopData<Type>, component: (value: Type, index?: number, array?: LoopData<Type>) => HTMLElement | DocumentFragment | undefined): HTMLElement[] | undefined;
14
+ export declare function loop<Type>(datalist: LoopData<Type>, component: (value: Type, index?: number, array?: LoopData<Type>) => HTMLElement | HTMLElement[] | DocumentFragment | DocumentFragment[] | undefined | undefined[]): HTMLElement[] | undefined;
15
15
  /**
16
16
  * Document fragment
17
17
  * @param children
@@ -2,6 +2,7 @@ import * as CSS from "csstype";
2
2
  import { __raw_ref, Page, Signal } from "./classes.js";
3
3
  type Attributes<E extends HTMLElement> = {
4
4
  ref?: __raw_ref;
5
+ value?: any;
5
6
  subscription?: Signal<any>;
6
7
  style?: CSS.Properties;
7
8
  recall?: (P: any) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cradova",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "Build Powerful ⚡ Web Apps with Ease",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",