framework7 7.0.0-beta.11 → 7.0.0-beta.16
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/components/preloader/preloader-ios.less +3 -0
- package/components/preloader/preloader-rtl.css +1 -1
- package/components/preloader/preloader.css +1 -1
- package/components/statusbar/statusbar.d.ts +9 -9
- package/components/view/view-class.js +8 -1
- package/components/view/view.d.ts +3 -1
- package/components/view/view.js +1 -0
- package/components/virtual-list/virtual-list-class.js +44 -7
- package/components/virtual-list/virtual-list.d.ts +2 -2
- package/components/virtual-list/virtual-list.lazy.js +1 -1
- package/framework7-bundle-rtl.css +5 -2
- package/framework7-bundle-rtl.min.css +3 -3
- package/framework7-bundle.css +5 -2
- package/framework7-bundle.esm.js +2 -2
- package/framework7-bundle.js +57 -13
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +2 -2
- package/framework7-bundle.min.css +3 -3
- package/framework7-bundle.min.js +3 -3
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +2 -2
- package/framework7-lite.esm.js +2 -2
- package/framework7-rtl.css +2 -2
- package/framework7-rtl.min.css +2 -2
- package/framework7.css +2 -2
- package/framework7.esm.js +2 -2
- package/framework7.js +13 -6
- 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 -2
- package/modules/device/device.js +1 -1
- package/package.json +2 -1
- package/shared/get-device.d.ts +0 -2
- package/shared/get-device.js +1 -2
|
@@ -46,9 +46,9 @@ export interface ComponentContext {
|
|
|
46
46
|
/** Render function */
|
|
47
47
|
$render: ComponentRender;
|
|
48
48
|
/** Attach event handler to component root DOM element */
|
|
49
|
-
$on: (eventName, handler: () => void) => void;
|
|
49
|
+
$on: (eventName: string, handler: () => void) => void;
|
|
50
50
|
/** Attach event handler to component root DOM element that will be executed only once */
|
|
51
|
-
$once: (eventName, handler: () => void) => void;
|
|
51
|
+
$once: (eventName: string, handler: () => void) => void;
|
|
52
52
|
/** Hook called right before component will be added to DOM */
|
|
53
53
|
$onBeforeMount: (callback: () => void) => void;
|
|
54
54
|
/** Hook called right after component has been added to DOM */
|
package/modules/device/device.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framework7",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.16",
|
|
4
4
|
"description": "Full featured mobile HTML framework for building iOS & Android apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -274,6 +274,7 @@
|
|
|
274
274
|
"ipad",
|
|
275
275
|
"apple",
|
|
276
276
|
"phonegap",
|
|
277
|
+
"capacitor",
|
|
277
278
|
"native",
|
|
278
279
|
"touch",
|
|
279
280
|
"appstore",
|
package/shared/get-device.d.ts
CHANGED
|
@@ -31,8 +31,6 @@ export interface Device {
|
|
|
31
31
|
electron: boolean;
|
|
32
32
|
/** true when app is running under NW.js environment */
|
|
33
33
|
nwjs: boolean;
|
|
34
|
-
/** true when app running in cordova environment */
|
|
35
|
-
phonegap: boolean;
|
|
36
34
|
/** true if app runs in web view - webapp installed to home screen */
|
|
37
35
|
webView: boolean;
|
|
38
36
|
/** true if app runs in web view - webapp installed to home screen */
|
package/shared/get-device.js
CHANGED
|
@@ -22,8 +22,7 @@ function calcDevice({
|
|
|
22
22
|
firefox: false,
|
|
23
23
|
macos: false,
|
|
24
24
|
windows: false,
|
|
25
|
-
cordova: !!
|
|
26
|
-
phonegap: !!(window.cordova || window.phonegap),
|
|
25
|
+
cordova: !!window.cordova,
|
|
27
26
|
electron: false,
|
|
28
27
|
capacitor: !!window.Capacitor,
|
|
29
28
|
nwjs: false
|