Skip to content

Commit 5ed517d

Browse files
committed
5.4.0 release
1 parent 87153e8 commit 5ed517d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+686
-112
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,29 @@
22

33
# Change Log
44

5+
# [v5.4.0](https://github.com/framework7io/framework7/compare/v5.3.2...v5.4.0) - January 29, 2020
6+
* Framework7 Svelte 🎉
7+
* Core
8+
* Autocomplete
9+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
10+
* Calendar
11+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
12+
* Card
13+
* New `scrollabelEl` parameter that allows to define child scrollable element (if used) to correctly handle expandable card close with touch move
14+
* Color Picker
15+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
16+
* Photo Browser
17+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
18+
* Picker
19+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
20+
* New `scrollToEl` parameter to specify cutom elements to scroll to on open
21+
* Smart Select
22+
* Now it falls back to not "routable" modal when there is no View passed or it can't be found.
23+
* React/Vue
24+
* Card
25+
* New `scrollabelEl` prop that allows to define child scrollable element (if used) to correctly handle expandable card close with touch move
26+
* Lot of minor fixes
27+
528
# [v5.4.0-beta.3](https://github.com/framework7io/framework7/compare/v5.4.0-beta.2...v5.4.0-beta.3) - January 25, 2020
629
* Core
730
* Autocomplete

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ The following npm scripts are available to create development builds:
164164
* `build-core:dev` - build development version of Core (vanilla JS) Framework7
165165
* `build-react:dev` - build development version of Framework7 React package
166166
* `build-vue:dev` - build development version of Framework7 Vue package
167+
* `build-svelte:dev` - build development version of Framework7 Svelte package
167168

168169
Compiled results will be available in `build/` folder.
169170

@@ -175,6 +176,7 @@ To build production versions the following npm scripts are available:
175176
* `build-core:prod` - build production version of Core (vanilla JS) Framework7
176177
* `build-react:prod` - build production version of Framework7 React package
177178
* `build-vue:prod` - build production version of Framework7 Vue package
179+
* `build-svelte:prod` - build production version of Framework7 Svelte package
178180

179181
Compiled results will be available in `packages/` folder.
180182

@@ -186,13 +188,15 @@ To run Kitchen Sink with development environment (development version will be bu
186188
* `core:dev` - build development version of Core (vanilla JS) Framework7 package and run core Kitchen Sink
187189
* `react:dev` - build development version of Framework7 React package and run React Kitchen Sink
188190
* `vue:dev` - build development version of Framework7 Vue package and run Vue Kitchen Sink
191+
* `svelte:dev` - build development version of Framework7 Svelte package and run Svelte Kitchen Sink
189192

190193
To Run Kitchen Sink with production builds (already compiled `/packages/` will be used), use the following npm scripts:
191194

192195
* `prod` - build Kitchen Sinks with production versions
193196
* `core:prod` - run core Kitchen Sink with production Framework7 core package
194197
* `react:prod` - run React Kitchen Sink with production build of Framework7 React
195198
* `vue:prod` - run Vue Kitchen Sink with production build of Framework7 Vue
199+
* `svelte:prod` - run Svelte Kitchen Sink with production build of Framework7 Svelte
196200

197201
## Source Code
198202

packages/core/README.md

Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,131 @@
44

55
Full Featured Mobile HTML Framework For Building iOS & Android Apps
66

7+
## Supporting Framework7
8+
9+
Framework7 is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/framework7io/framework7/blob/master/BACKERS.md). If you'd like to join them, please consider [becoming a backer or sponsor on Patreon.](https://www.patreon.com/vladimirkharlampidi)
10+
11+
<table>
12+
<tr>
13+
<td align="center" valign="middle">
14+
<a href="https://privicy.com/" target="_blank">
15+
<img width="160" src="https://framework7.io/i/sponsors/privicy.png">
16+
</a>
17+
</td>
18+
<td align="center" valign="middle">
19+
<a href="https://codersrank.io/?utm_source=partner&utm_medium=referral&utm_campaign=vladimir" target="_blank">
20+
<img width="160" src="https://framework7.io/i/sponsors/codersrank.svg">
21+
</a>
22+
</td>
23+
<td align="center" valign="middle">
24+
<a href="https://www.sparheld.de/" target="_blank">
25+
<img width="160" src="https://framework7.io/i/sponsors/sparheld.jpg">
26+
</a>
27+
</td>
28+
<td align="center" valign="middle">
29+
<a href="https://www.thoriumbuilder.com/" target="_blank">
30+
<img width="160" src="https://framework7.io/i/sponsors/thorium.png">
31+
</a>
32+
</td>
33+
<td align="center" valign="middle">
34+
<a href="https://app-valley.vip/" target="_blank">
35+
<img width="160" src="https://framework7.io/i/sponsors/appvalley.jpg">
36+
</a>
37+
</td>
38+
</tr>
39+
<tr>
40+
<td align="center" valign="middle">
41+
<a href="http://mytommy.com" target="_blank">
42+
<img width="160" src="https://framework7.io/i/sponsors/tommy.png">
43+
</a>
44+
</td>
45+
<td align="center" valign="middle">
46+
<a href="https://www.securcom.me/" target="_blank">
47+
<img width="160" src="https://framework7.io/i/sponsors/securcom.png">
48+
</a>
49+
</td>
50+
<td align="center" valign="middle">
51+
<a href="http://ananyamultitech.com/" target="_blank">
52+
<img width="160" src="https://framework7.io/i/sponsors/ananya.png">
53+
</a>
54+
</td>
55+
<td align="center" valign="middle">
56+
<a href="https://kqapi.us" target="_blank">
57+
<img width="160" src="https://framework7.io/i/sponsors/kqapius.png">
58+
</a>
59+
</td>
60+
<td align="center" valign="middle">
61+
<a href="https://writersperhour.com/write-my-paper" target="_blank">
62+
<img width="160" src="https://framework7.io/i/sponsors/writersperhour.jpg">
63+
</a>
64+
</td>
65+
</tr>
66+
<tr>
67+
<td align="center" valign="middle">
68+
<a href="https://monovm.com/linux-vps/" target="_blank">
69+
<img width="160" src="https://framework7.io/i/sponsors/monovm.jpg">
70+
</a>
71+
</td>
72+
<td align="center" valign="middle">
73+
<a href="https://unicorn.io" target="_blank">
74+
<img width="160" src="https://framework7.io/i/sponsors/unicorn.svg">
75+
</a>
76+
</td>
77+
<td align="center" valign="middle">
78+
<a href="https://www.colognewebdesign.de/" target="_blank">
79+
<img width="160" src="https://framework7.io/i/sponsors/colognewebdesign.png">
80+
</a>
81+
</td>
82+
<td align="center" valign="middle">
83+
<a href="https://rise.co" target="_blank">
84+
<img width="160" src="https://framework7.io/i/sponsors/rise.png">
85+
</a>
86+
</td>
87+
<td align="center" valign="middle">
88+
<a href="https://usave.co.uk/utilities/broadband" target="_blank">
89+
<img width="160" src="https://framework7.io/i/sponsors/usave.png">
90+
</a>
91+
</td>
92+
</tr>
93+
<tr>
94+
<td align="center" valign="middle">
95+
<a href="https://bid4papers.com/write-my-essay.html" target="_blank">
96+
<img width="160" src="https://framework7.io/i/sponsors/bid4papers.png">
97+
</a>
98+
</td>
99+
<td align="center" valign="middle">
100+
<a href="https://kidoverse.app" target="_blank">
101+
<img width="160" src="https://framework7.io/i/sponsors/kidoverse.png">
102+
</a>
103+
</td>
104+
<td align="center" valign="middle">
105+
<a href="https://www.cyberbrain.nl/" target="_blank">
106+
<img width="160" src="https://framework7.io/i/sponsors/cyberbrain.png">
107+
</a>
108+
</td>
109+
<td align="center" valign="middle">
110+
<a href="https://hicapps.cl/web/" target="_blank">
111+
<img width="160" src="https://framework7.io/i/sponsors/hicapps.png">
112+
</a>
113+
</td>
114+
<td align="center" valign="middle">
115+
<a href="https://blokt.com/" target="_blank">
116+
<img width="160" src="https://framework7.io/i/sponsors/blokt.png">
117+
</a>
118+
</td>
119+
</tr>
120+
<tr>
121+
<td align="center" valign="middle">
122+
<a href="https://wappler.io/" target="_blank">
123+
<img width="160" src="https://framework7.io/i/sponsors/wappler.png">
124+
</a>
125+
</td>
126+
<td></td>
127+
<td></td>
128+
<td></td>
129+
</tr>
130+
</table>
131+
7132
## Getting Started
8133
* [Getting Started Guide](https://framework7.io/docs/introduction.html)
9134
* [Installation Guide](https://framework7.io/docs/installation.html)

packages/core/components/app/app-class.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@ class Framework7 extends Framework7Class {
111111
};
112112

113113
// Init
114-
if (Device.cordova && app.params.initOnDeviceReady) {
115-
$(document).on('deviceready', () => {
114+
if (app.params.init) {
115+
if (Device.cordova && app.params.initOnDeviceReady) {
116+
$(document).on('deviceready', () => {
117+
app.init();
118+
});
119+
} else {
116120
app.init();
117-
});
118-
} else {
119-
app.init();
121+
}
120122
}
121123

122124
// Return app instance

0 commit comments

Comments
 (0)