Skip to content

Commit

Permalink
3.0.0-beta.16 release
Browse files Browse the repository at this point in the history
  • Loading branch information
nolimits4web committed Jul 1, 2018
1 parent c0a8543 commit 00eaf69
Show file tree
Hide file tree
Showing 40 changed files with 135 additions and 79 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

# Change Log

# [v3.0.0-beta.16](https://github.com/framework7io/framework7/compare/v3.0.0-beta.15...v3.0.0-beta.16) - July 1, 2018
* Core
* Searchbar - fixed issue with wrong `previousQuery` in `search` event
* Phenome
* ListItem has new `defaultChecked` prop to support React uncontrolled components
* Minor fixes

# [v3.0.0-beta.15](https://github.com/framework7io/framework7/compare/v3.0.0-beta.14...v3.0.0-beta.15) - June 27, 2018
* Phenome Components
* Fixes issue when React components could be rendered wrong in production build
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions packages/core/components/searchbar/searchbar-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,9 +379,8 @@ class Searchbar extends FrameworkClass {

search(query, internal) {
const sb = this;
if (sb.previousQuery && query.trim() === sb.previousQuery) return sb;
if (typeof (sb.previousQuery) !== 'undefined' && sb.previousQuery.trim() === '' && query.trim() === '') return sb;
sb.previousQuery = query.trim();
sb.previousQuery = sb.query || '';
if (query === sb.previousQuery) return sb;

if (!internal) {
if (!sb.enabled) {
Expand Down
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 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html,
body,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.ios.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html,
body,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.ios.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/css/framework7.md.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html,
body,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.md.min.css

Large diffs are not rendered by default.

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 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html {
direction: rtl;
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.ios.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html {
direction: rtl;
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.ios.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.md.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/
html {
direction: rtl;
Expand Down
4 changes: 2 additions & 2 deletions packages/core/css/framework7.rtl.md.min.css

Large diffs are not rendered by default.

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.esm.bundle.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/**
* Framework7 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/

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 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/

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 3.0.0-beta.15
* Framework7 3.0.0-beta.16
* Full featured mobile HTML framework for building iOS & Android apps
* http://framework7.io/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/

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

(function (global, factory) {
Expand Down Expand Up @@ -21387,9 +21387,8 @@

Searchbar.prototype.search = function search (query, internal) {
var sb = this;
if (sb.previousQuery && query.trim() === sb.previousQuery) { return sb; }
if (typeof (sb.previousQuery) !== 'undefined' && sb.previousQuery.trim() === '' && query.trim() === '') { return sb; }
sb.previousQuery = query.trim();
sb.previousQuery = sb.query || '';
if (query === sb.previousQuery) { return sb; }

if (!internal) {
if (!sb.enabled) {
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": "3.0.0-beta.15",
"version": "3.0.0-beta.16",
"description": "Full featured mobile HTML framework for building iOS & Android apps",
"main": "js/framework7.js",
"jsnext:main": "framework7.esm.js",
Expand Down
3 changes: 3 additions & 0 deletions packages/react/components/list-item-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class F7ListItemContent extends React.Component {
value,
name,
checked,
defaultChecked,
readonly,
disabled,
required,
Expand Down Expand Up @@ -194,6 +195,7 @@ class F7ListItemContent extends React.Component {
value: value,
name: name,
checked: checked,
defaultChecked: defaultChecked,
readOnly: readonly,
disabled: disabled,
required: required,
Expand Down Expand Up @@ -424,6 +426,7 @@ __reactComponentSetProps(F7ListItemContent, Object.assign({
inlineLabel: Boolean,
checkbox: Boolean,
checked: Boolean,
defaultChecked: Boolean,
radio: Boolean,
name: String,
value: [String, Number, Array],
Expand Down
7 changes: 6 additions & 1 deletion packages/react/components/list-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ class F7ListItem extends React.Component {
checkbox,
radio,
checked,
defaultChecked,
name,
value,
readonly,
Expand Down Expand Up @@ -166,6 +167,7 @@ class F7ListItem extends React.Component {
accordionItem: accordionItem,
checkbox: checkbox,
checked: checked,
defaultChecked: defaultChecked,
radio: radio,
name: name,
value: value,
Expand Down Expand Up @@ -214,7 +216,9 @@ class F7ListItem extends React.Component {
style: style,
className: liClasses
}, React.createElement('span', null, this.slots['default'], !this.slots.default && title));
} else if (isSimple) {
}

if (isSimple) {
return React.createElement('li', {
ref: __reactNode => {
this.__reactRefs['el'] = __reactNode;
Expand Down Expand Up @@ -412,6 +416,7 @@ __reactComponentSetProps(F7ListItem, Object.assign({
checkbox: Boolean,
radio: Boolean,
checked: Boolean,
defaultChecked: Boolean,
name: String,
value: [String, Number, Array],
readonly: Boolean,
Expand Down
1 change: 0 additions & 1 deletion packages/react/components/nav-right.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ class F7NavRight extends React.Component {
sliding
} = props;
const classes = Utils.classNames(className, 'right', {
right: true,
sliding
}, Mixins.colorClasses(props));
return React.createElement('div', {
Expand Down
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 3.0.0-beta.15
* Framework7 React 3.0.0-beta.16
* Build full featured iOS & Android apps using Framework7 & React
* http://framework7.io/react/
*
* Copyright 2014-2018 Vladimir Kharlampidi
*
* Released under the MIT License
*
* Released on: June 27, 2018
* Released on: July 1, 2018
*/

import F7AccordionContent from './components/accordion-content';
Expand Down
Loading

0 comments on commit 00eaf69

Please sign in to comment.