framework7 6.3.4 → 6.3.8
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/cjs/components/searchbar/searchbar-class.js +1 -1
- package/cjs/components/sheet/sheet-class.js +10 -0
- package/cjs/framework7-bundle.js +2 -2
- package/cjs/framework7-lite-bundle.js +2 -2
- package/cjs/framework7-lite.js +2 -2
- package/cjs/framework7.js +2 -2
- package/cjs/modules/component/component-class.js +19 -0
- package/cjs/modules/component/parse-component.js +1 -1
- package/components/gauge/gauge.d.ts +2 -2
- package/components/searchbar/searchbar.js +1 -1
- package/components/sheet/sheet.js +1 -1
- package/esm/components/searchbar/searchbar-class.js +1 -1
- package/esm/components/sheet/sheet-class.js +10 -0
- package/esm/framework7-bundle.js +2 -2
- package/esm/framework7-lite-bundle.js +2 -2
- package/esm/framework7-lite.js +2 -2
- package/esm/framework7.js +2 -2
- package/esm/modules/component/component-class.js +19 -0
- package/esm/modules/component/parse-component.js +1 -1
- package/framework7-bundle-rtl.css +2 -2
- package/framework7-bundle-rtl.min.css +2 -2
- package/framework7-bundle.css +2 -2
- package/framework7-bundle.js +33 -4
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +2 -2
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.js +22 -3
- package/framework7.js.map +1 -1
- package/framework7.less +2 -2
- package/framework7.min.css +2 -2
- package/framework7.min.js +3 -3
- package/framework7.min.js.map +1 -1
- package/modules/component/component.d.ts +2 -0
- package/package.json +1 -1
- package/types/components/gauge/gauge.d.ts +2 -2
- package/types/modules/component/component.d.ts +2 -0
|
@@ -32,6 +32,8 @@ export interface ComponentContext {
|
|
|
32
32
|
$el: {
|
|
33
33
|
value: Dom7Array;
|
|
34
34
|
};
|
|
35
|
+
/** Create reactive variable */
|
|
36
|
+
$ref: (initialValue: any) => { value: any };
|
|
35
37
|
|
|
36
38
|
/** Defer the callback to be executed after the next DOM update cycle. Use it immediately after you’ve changed some data to wait for the DOM update. */
|
|
37
39
|
$tick: (callback?: () => void) => Promise<any>;
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export namespace Gauge {
|
|
|
17
17
|
params: Parameters;
|
|
18
18
|
|
|
19
19
|
/** Update/rerender gauge SVG element according to passed parameters. It accepts object with same parameters required for gauge initialization. You can pass only parameters that needs to be updated */
|
|
20
|
-
update(parameters: Parameters): Gauge;
|
|
20
|
+
update(parameters: Omit<Parameters, 'el'>): Gauge;
|
|
21
21
|
/** Destroys gauge instance */
|
|
22
22
|
destroy(): void;
|
|
23
23
|
}
|
|
@@ -79,7 +79,7 @@ export namespace Gauge {
|
|
|
79
79
|
/** get Gauge instance by HTML element */
|
|
80
80
|
get(el: HTMLElement | CSSSelector): Gauge;
|
|
81
81
|
/** update/rerender Gauge SVG according to passed parameters */
|
|
82
|
-
update(parameters: Parameters): Gauge;
|
|
82
|
+
update(parameters: Omit<Parameters, 'el'>): Gauge;
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
interface AppParams {
|
|
@@ -32,6 +32,8 @@ export interface ComponentContext {
|
|
|
32
32
|
$el: {
|
|
33
33
|
value: Dom7Array;
|
|
34
34
|
};
|
|
35
|
+
/** Create reactive variable */
|
|
36
|
+
$ref: (initialValue: any) => { value: any };
|
|
35
37
|
|
|
36
38
|
/** Defer the callback to be executed after the next DOM update cycle. Use it immediately after you’ve changed some data to wait for the DOM update. */
|
|
37
39
|
$tick: (callback?: () => void) => Promise<any>;
|