Skip to content

Commit

Permalink
5.0.0-beta.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jul 22, 2019
1 parent 76f6190 commit 52dfc2a
Show file tree
Hide file tree
Showing 32 changed files with 100 additions and 68 deletions.
2 changes: 1 addition & 1 deletion packages/core/components/infinite-scroll.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions packages/core/components/infinite-scroll/infinite-scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,20 @@ const InfiniteScroll = {
create(el) {
const $el = $(el);
const app = this;
$el.on('scroll', function handle(e) {
function scrollHandler(e) {
app.infiniteScroll.handle(this, e);
}
$el.each((index, element) => {
element.f7InfiniteScrollHandler = scrollHandler;
element.addEventListener('scroll', element.f7InfiniteScrollHandler);
});
},
destroy(el) {
const $el = $(el);
$el.off('scroll');
$el.each((index, element) => {
element.removeEventListener('scroll', element.f7InfiniteScrollHandler);
delete element.f7InfiniteScrollHandler;
});
},
};
export default {
Expand Down
5 changes: 4 additions & 1 deletion packages/core/components/navbar/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,11 @@ const Navbar = {
previousScrollTop = currentScrollTop;
}

function handleScroll() {
function handleScroll(e) {
scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
currentScrollTop = scrollContent.scrollTop;
scrollChanged = currentScrollTop;

Expand Down
5 changes: 4 additions & 1 deletion packages/core/components/toolbar/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ const Toolbar = {
let reachEnd;
let action;
let toolbarHidden;
function handleScroll() {
function handleScroll(e) {
const scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
if ($pageEl.hasClass('page-previous')) return;
currentScrollTop = scrollContent.scrollTop;
scrollHeight = scrollContent.scrollHeight;
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.bundle.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

/*====================
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.bundle.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/css/framework7.bundle.rtl.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

/*====================
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.bundle.rtl.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/css/framework7.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

/*====================
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

/*====================
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/framework7.bundle.less
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

@import (reference) './less/mixins.less';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/framework7.esm.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

import Template7 from 'template7';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/framework7.esm.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

import Template7 from 'template7';
Expand Down
4 changes: 2 additions & 2 deletions packages/core/framework7.less
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

@import (reference) './less/mixins.less';
Expand Down
25 changes: 19 additions & 6 deletions packages/core/js/framework7.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

(function (global, factory) {
Expand Down Expand Up @@ -12421,8 +12421,11 @@
previousScrollTop = currentScrollTop;
}

function handleScroll() {
function handleScroll(e) {
scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
currentScrollTop = scrollContent.scrollTop;
scrollChanged = currentScrollTop;

Expand Down Expand Up @@ -12740,8 +12743,11 @@
var reachEnd;
var action;
var toolbarHidden;
function handleScroll() {
function handleScroll(e) {
var scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
if ($pageEl.hasClass('page-previous')) { return; }
currentScrollTop = scrollContent.scrollTop;
scrollHeight = scrollContent.scrollHeight;
Expand Down Expand Up @@ -25361,13 +25367,20 @@
create: function create(el) {
var $el = $(el);
var app = this;
$el.on('scroll', function handle(e) {
function scrollHandler(e) {
app.infiniteScroll.handle(this, e);
}
$el.each(function (index, element) {
element.f7InfiniteScrollHandler = scrollHandler;
element.addEventListener('scroll', element.f7InfiniteScrollHandler);
});
},
destroy: function destroy(el) {
var $el = $(el);
$el.off('scroll');
$el.each(function (index, element) {
element.removeEventListener('scroll', element.f7InfiniteScrollHandler);
delete element.f7InfiniteScrollHandler;
});
},
};
var InfiniteScroll$1 = {
Expand Down
6 changes: 3 additions & 3 deletions packages/core/js/framework7.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/js/framework7.bundle.min.js.map

Large diffs are not rendered by default.

14 changes: 10 additions & 4 deletions packages/core/js/framework7.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 5.0.0-beta.1
* Framework7 5.0.0-beta.2
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

(function (global, factory) {
Expand Down Expand Up @@ -12421,8 +12421,11 @@
previousScrollTop = currentScrollTop;
}

function handleScroll() {
function handleScroll(e) {
scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
currentScrollTop = scrollContent.scrollTop;
scrollChanged = currentScrollTop;

Expand Down Expand Up @@ -12740,8 +12743,11 @@
var reachEnd;
var action;
var toolbarHidden;
function handleScroll() {
function handleScroll(e) {
var scrollContent = this;
if (e && e.target && e.target !== scrollContent) {
return;
}
if ($pageEl.hasClass('page-previous')) { return; }
currentScrollTop = scrollContent.scrollTop;
scrollHeight = scrollContent.scrollHeight;
Expand Down
6 changes: 3 additions & 3 deletions packages/core/js/framework7.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/js/framework7.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework7",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "Full featured mobile HTML framework for building iOS & Android apps",
"main": "js/framework7.js",
"typings": "js/framework7.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/react/framework7-react.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 React 5.0.0-beta.1
* Framework7 React 5.0.0-beta.2
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

(function (global, factory) {
Expand Down Expand Up @@ -13867,15 +13867,15 @@
};

/**
* Framework7 React 5.0.0-beta.1
* Framework7 React 5.0.0-beta.2
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

var Plugin = {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/framework7-react.bundle.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/react/framework7-react.esm.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 React 5.0.0-beta.1
* Framework7 React 5.0.0-beta.2
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

import F7AccordionContent from './components/accordion-content';
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framework7-react",
"version": "5.0.0-beta.1",
"version": "5.0.0-beta.2",
"description": "Build full featured iOS & Android apps using Framework7 & React",
"main": "framework7-react.bundle.js",
"typings": "framework7-react.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/vue/framework7-vue.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 Vue 5.0.0-beta.1
* Framework7 Vue 5.0.0-beta.2
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

(function (global, factory) {
Expand Down Expand Up @@ -12352,15 +12352,15 @@
};

/**
* Framework7 Vue 5.0.0-beta.1
* Framework7 Vue 5.0.0-beta.2
* Build full featured iOS & Android apps using Framework7 & Vue
* http://framework7.io/vue/
*
* Copyright 2014-2019 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: July 19, 2019
* Released on: July 22, 2019
*/

var Plugin = {
Expand Down
Loading

0 comments on commit 52dfc2a

Please sign in to comment.