framework7 8.3.0 → 8.3.1
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/app/app-class.js +5 -5
- package/components/calendar/calendar.d.ts +1 -1
- package/components/color-picker/color-picker.less +8 -2
- package/components/navbar/navbar-ios.less +4 -4
- package/components/page/page-md.less +2 -1
- package/components/preloader/preloader-md.less +2 -1
- package/components/pull-to-refresh/pull-to-refresh-md.less +3 -1
- package/components/sortable/sortable-rtl.css +1 -1
- package/components/sortable/sortable.css +1 -1
- package/components/sortable/sortable.less +1 -0
- package/framework7-bundle-rtl.css +10 -5
- package/framework7-bundle-rtl.min.css +4 -4
- package/framework7-bundle.css +10 -5
- package/framework7-bundle.esm.js +3 -3
- package/framework7-bundle.js +1503 -187
- package/framework7-bundle.js.map +1 -1
- package/framework7-bundle.less +3 -3
- package/framework7-bundle.min.css +4 -4
- package/framework7-bundle.min.js +4 -4
- package/framework7-bundle.min.js.map +1 -1
- package/framework7-lite-bundle.esm.js +3 -3
- package/framework7-lite.esm.js +3 -3
- package/framework7-rtl.css +3 -3
- package/framework7-rtl.min.css +3 -3
- package/framework7.css +3 -3
- package/framework7.esm.js +3 -3
- package/framework7.less +3 -3
- package/framework7.min.css +3 -3
- package/package.json +26 -8
- package/shared/material-color-utils.js +622 -5
- package/framework7-lite.js +0 -31
- package/framework7.js +0 -42
- package/less/plugin.js +0 -15
package/framework7-lite.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import $ from './shared/dom7.js';
|
|
2
|
-
import Framework7 from './components/app/app-class.js';
|
|
3
|
-
|
|
4
|
-
//IMPORT_HELPERS
|
|
5
|
-
|
|
6
|
-
import DeviceModule from './modules/device/device.js';
|
|
7
|
-
import SupportModule from './modules/support/support.js';
|
|
8
|
-
import UtilsModule from './modules/utils/utils.js';
|
|
9
|
-
import ResizeModule from './modules/resize/resize.js';
|
|
10
|
-
import TouchModule from './modules/touch/touch.js';
|
|
11
|
-
import ClicksModule from './modules/clicks/clicks.js';
|
|
12
|
-
import RouterModule from './modules/router/router.js';
|
|
13
|
-
import HistoryModule from './modules/history/history.js';
|
|
14
|
-
import ServiceWorkerModule from './modules/service-worker/service-worker.js';
|
|
15
|
-
import StoreModule, { createStore } from './modules/store/store.js';
|
|
16
|
-
import Statusbar from './components/statusbar/statusbar.js';
|
|
17
|
-
import View from './components/view/view.js';
|
|
18
|
-
import Navbar from './components/navbar/navbar.js';
|
|
19
|
-
import Toolbar from './components/toolbar/toolbar.js';
|
|
20
|
-
import Subnavbar from './components/subnavbar/subnavbar.js';
|
|
21
|
-
import TouchRipple from './components/touch-ripple/touch-ripple.js';
|
|
22
|
-
import Modal from './components/modal/modal.js';
|
|
23
|
-
|
|
24
|
-
//IMPORT_COMPONENTS
|
|
25
|
-
|
|
26
|
-
Framework7.use([DeviceModule, SupportModule, UtilsModule, ResizeModule, TouchModule, ClicksModule, RouterModule, HistoryModule, ServiceWorkerModule, StoreModule, Statusbar, View, Navbar, Toolbar, Subnavbar, TouchRipple, Modal
|
|
27
|
-
//INSTALL_COMPONENTS
|
|
28
|
-
]);
|
|
29
|
-
|
|
30
|
-
//NAMED_EXPORT
|
|
31
|
-
export default Framework7;
|
package/framework7.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import $ from './shared/dom7.js';
|
|
2
|
-
import Framework7 from './components/app/app-class.js';
|
|
3
|
-
|
|
4
|
-
//IMPORT_HELPERS
|
|
5
|
-
|
|
6
|
-
import DeviceModule from './modules/device/device.js';
|
|
7
|
-
import SupportModule from './modules/support/support.js';
|
|
8
|
-
import UtilsModule from './modules/utils/utils.js';
|
|
9
|
-
import ResizeModule from './modules/resize/resize.js';
|
|
10
|
-
import TouchModule from './modules/touch/touch.js';
|
|
11
|
-
import ClicksModule from './modules/clicks/clicks.js';
|
|
12
|
-
import RouterModule from './modules/router/router.js';
|
|
13
|
-
import RouterComponentLoaderModule from './modules/router/component-loader.js';
|
|
14
|
-
import ComponentModule, { Component, $jsx } from './modules/component/component.js';
|
|
15
|
-
import HistoryModule from './modules/history/history.js';
|
|
16
|
-
import ServiceWorkerModule from './modules/service-worker/service-worker.js';
|
|
17
|
-
import StoreModule, { createStore } from './modules/store/store.js';
|
|
18
|
-
import Statusbar from './components/statusbar/statusbar.js';
|
|
19
|
-
import View from './components/view/view.js';
|
|
20
|
-
import Navbar from './components/navbar/navbar.js';
|
|
21
|
-
import Toolbar from './components/toolbar/toolbar.js';
|
|
22
|
-
import Subnavbar from './components/subnavbar/subnavbar.js';
|
|
23
|
-
import TouchRipple from './components/touch-ripple/touch-ripple.js';
|
|
24
|
-
import Modal from './components/modal/modal.js';
|
|
25
|
-
import Router from './modules/router/router-class.js';
|
|
26
|
-
|
|
27
|
-
//IMPORT_COMPONENTS
|
|
28
|
-
|
|
29
|
-
// UMD_ONLY_START
|
|
30
|
-
if (typeof window !== 'undefined') {
|
|
31
|
-
// Dom7
|
|
32
|
-
if (!window.Dom7) window.Dom7 = $;
|
|
33
|
-
}
|
|
34
|
-
// UMD_ONLY_END
|
|
35
|
-
|
|
36
|
-
Router.use([RouterComponentLoaderModule]);
|
|
37
|
-
Framework7.use([DeviceModule, SupportModule, UtilsModule, ResizeModule, TouchModule, ClicksModule, RouterModule, HistoryModule, ComponentModule, ServiceWorkerModule, StoreModule, Statusbar, View, Navbar, Toolbar, Subnavbar, TouchRipple, Modal
|
|
38
|
-
//INSTALL_COMPONENTS
|
|
39
|
-
]);
|
|
40
|
-
|
|
41
|
-
//NAMED_EXPORT
|
|
42
|
-
export default Framework7;
|
package/less/plugin.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
function base64Encode(file) {
|
|
3
|
-
// read binary data
|
|
4
|
-
const bitmap = fs.readFileSync(file);
|
|
5
|
-
// convert binary data to base64 encoded string
|
|
6
|
-
return Buffer.from(bitmap).toString('base64');
|
|
7
|
-
}
|
|
8
|
-
module.exports = {
|
|
9
|
-
install(less, pluginManager, functions) {
|
|
10
|
-
functions.add('framework7_coreIconsFont', () => {
|
|
11
|
-
const iconsFontBase64 = base64Encode('./src/core/icons/font/framework7-core-icons.woff');
|
|
12
|
-
return iconsFontBase64;
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
};
|