Skip to content

Commit

Permalink
Version 2.10.1 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
asialgearoid committed May 28, 2018
1 parent 0e03c97 commit d76d4f2
Show file tree
Hide file tree
Showing 15 changed files with 67 additions and 21 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
CHANGELOG
====

2.10.1
---

### Bug Fixes

* ons-tabbar: Fix race condition with some tabs ([#2430](https://github.com/OnsenUI/OnsenUI/issues/2430))
* ons-list-item: Fix expandable item breaking when compiled more than once (for example, with ng-repeat) ([#2434](https://github.com/OnsenUI/OnsenUI/issues/2434))

2.10.0
---

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ See the [Onsen UI Getting Started Page](http://onsen.io/v2/guide/) for more info
Onsen UI is tested to work with the following browsers and mobile OS.

* Android 4.4.4+
* iOS 8+
* iOS 9+
* Chrome
* Safari

Expand Down
2 changes: 1 addition & 1 deletion css/onsenui-core.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! onsenui - v2.10.0 - 2018-05-17 */
/*! onsenui - v2.10.1 - 2018-05-28 */
ons-page, ons-navigator,
ons-tabbar,
ons-gesture-detector {
Expand Down
2 changes: 1 addition & 1 deletion css/onsenui-core.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/onsenui.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! onsenui - v2.10.0 - 2018-05-17 */
/*! onsenui - v2.10.1 - 2018-05-28 */
@import url("ionicons/css/ionicons.min.css");
@import url("material-design-iconic-font/css/material-design-iconic-font.min.css");
@import url("font_awesome/css/font-awesome.min.css");
Expand Down
2 changes: 1 addition & 1 deletion css/onsenui.min.css

Large diffs are not rendered by default.

12 changes: 9 additions & 3 deletions esm/elements/ons-list-item/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,13 @@ var ListItemElement = function (_BaseElement) {
var left = void 0,
center = void 0,
right = void 0,
top = void 0,
expandableContent = void 0;

for (var i = 0; i < this.children.length; i++) {
var el = this.children[i];
var childEls = util.getAllChildNodes(this);

for (var i = 0; i < childEls.length; i++) {
var el = childEls[i];

if (el.classList.contains('left')) {
el.classList.add('list-item__left');
Expand All @@ -209,6 +212,9 @@ var ListItemElement = function (_BaseElement) {
} else if (el.classList.contains('right')) {
el.classList.add('list-item__right');
right = el;
} else if (el.classList.contains('top')) {
el.classList.add('list-item__top');
top = el;
} else if (el.classList.contains('expandable-content')) {
el.classList.add('list-item__expandable-content');
expandableContent = el;
Expand Down Expand Up @@ -252,7 +258,7 @@ var ListItemElement = function (_BaseElement) {
if (expandableContent) {
// create 'top' div
// this holds everything except the expandable content
this._top = document.createElement('div');
this._top = top || document.createElement('div');
this._top.classList.add('top', 'list-item__top');
this.appendChild(this._top);

Expand Down
2 changes: 1 addition & 1 deletion esm/elements/ons-tabbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,10 +226,10 @@ var TabbarElement = function (_BaseElement) {

var _this = _possibleConstructorReturn(this, (TabbarElement.__proto__ || _Object$getPrototypeOf(TabbarElement)).call(this));

_this._loadInactive = util.defer(); // Improves #2324
contentReady(_this, function () {
return _this._compile();
});
_this._loadInactive = util.defer(); // Improves #2324
return _this;
}

Expand Down
2 changes: 1 addition & 1 deletion esm/index.js

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

14 changes: 14 additions & 0 deletions esm/ons/util.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import _Promise from 'babel-runtime/core-js/promise';
import _typeof from 'babel-runtime/helpers/typeof';
import _Object$keys from 'babel-runtime/core-js/object/keys';
import _Array$from from 'babel-runtime/core-js/array/from';
import _toConsumableArray from 'babel-runtime/helpers/toConsumableArray';
/*
Copyright 2013-2015 ASIAL CORPORATION
Expand Down Expand Up @@ -149,6 +151,18 @@ util.hasAnyComponentAsParent = function (element) {
return false;
};

/**
* @param {Object} element
* @return {Array}
*/
util.getAllChildNodes = function (element) {
var _ref;

return (_ref = [element]).concat.apply(_ref, _toConsumableArray(_Array$from(element.children).map(function (childEl) {
return util.getAllChildNodes(childEl);
})));
};

/**
* @param {Element} element
* @return {boolean}
Expand Down
2 changes: 1 addition & 1 deletion js/angular-onsenui.js

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

2 changes: 1 addition & 1 deletion js/angular-onsenui.min.js

Large diffs are not rendered by default.

30 changes: 24 additions & 6 deletions js/onsenui.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/onsenui.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onsenui",
"version": "2.10.0",
"version": "2.10.1",
"description": "HTML5 Mobile Framework & UI Components",
"private": false,
"author": "@kruyvanna",
Expand Down

0 comments on commit d76d4f2

Please sign in to comment.