Skip to content

Commit

Permalink
chore(prepare-release): release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenVinke committed Jun 29, 2017
1 parent 5f6de5c commit 21c9ed5
Show file tree
Hide file tree
Showing 22 changed files with 83 additions and 31 deletions.
4 changes: 2 additions & 2 deletions dist/amd/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
8 changes: 8 additions & 0 deletions dist/amd/listbox/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com
};

ListBox.prototype.recreate = function recreate() {
var selectNodes = getSelectNode(this.element);
this.widgetBase.useElement(selectNodes.length > 0 ? selectNodes[0] : this.element);

var templates = this.widgetBase.util.getChildrenVMs(this.element, _constants.constants.elementPrefix + 'template');
this.widgetBase.useTemplates(this, 'kendoListBox', templates);

Expand All @@ -53,4 +56,9 @@ define(['exports', 'aurelia-dependency-injection', 'aurelia-templating', '../com

return ListBox;
}()) || _class) || _class) || _class);


function getSelectNode(element) {
return element.querySelectorAll('select');
}
});
2 changes: 1 addition & 1 deletion dist/amd/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ define(['exports'], function (exports) {
Object.defineProperty(exports, "__esModule", {
value: true
});
var version = exports.version = '1.6.0';
var version = exports.version = '1.6.1';
});
4 changes: 2 additions & 2 deletions dist/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
25 changes: 16 additions & 9 deletions dist/aurelia-kendoui-bridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ export function configure(aurelia, configCallback) {



export let version = '1.6.0';
export let version = '1.6.1';
@customElement(`${constants.elementPrefix}autocomplete`)
@generateBindables('kendoAutoComplete')
@inject(Element, WidgetBase, Container)
Expand Down Expand Up @@ -618,16 +618,16 @@ export class Barcode {
}
}

@customAttribute(`${constants.attributePrefix}buttongroup`)
@generateBindables('kendoMobileButtonGroup')
@customAttribute(`${constants.attributePrefix}button`)
@generateBindables('kendoButton')
@inject(Element, WidgetBase)
export class ButtonGroup {
export class Button {
@bindable kEnabled;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoMobileButtonGroup')
.control('kendoButton')
.useElement(this.element)
.bindToKendo('kEnabled', 'enable')
.linkViewModel(this);
Expand Down Expand Up @@ -664,16 +664,16 @@ export class ButtonGroup {
}
}

@customAttribute(`${constants.attributePrefix}button`)
@generateBindables('kendoButton')
@customAttribute(`${constants.attributePrefix}buttongroup`)
@generateBindables('kendoMobileButtonGroup')
@inject(Element, WidgetBase)
export class Button {
export class ButtonGroup {
@bindable kEnabled;

constructor(element, widgetBase) {
this.element = element;
this.widgetBase = widgetBase
.control('kendoButton')
.control('kendoMobileButtonGroup')
.useElement(this.element)
.bindToKendo('kEnabled', 'enable')
.linkViewModel(this);
Expand Down Expand Up @@ -3025,6 +3025,9 @@ export class ListBox {
}

recreate() {
let selectNodes = getSelectNode(this.element);
this.widgetBase.useElement(selectNodes.length > 0 ? selectNodes[0] : this.element);

let templates = this.widgetBase.util.getChildrenVMs(this.element, `${constants.elementPrefix}template`);
this.widgetBase.useTemplates(this, 'kendoListBox', templates);

Expand All @@ -3040,6 +3043,10 @@ export class ListBox {
}
}

function getSelectNode(element) {
return element.querySelectorAll('select');
}

@customElement(`${constants.elementPrefix}list-view`)
@generateBindables('kendoListView')
@inject(Element, WidgetBase, Container)
Expand Down
4 changes: 2 additions & 2 deletions dist/commonjs/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
10 changes: 9 additions & 1 deletion dist/commonjs/listbox/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ var ListBox = exports.ListBox = (_dec = (0, _aureliaTemplating.customElement)(_c
};

ListBox.prototype.recreate = function recreate() {
var selectNodes = getSelectNode(this.element);
this.widgetBase.useElement(selectNodes.length > 0 ? selectNodes[0] : this.element);

var templates = this.widgetBase.util.getChildrenVMs(this.element, _constants.constants.elementPrefix + 'template');
this.widgetBase.useTemplates(this, 'kendoListBox', templates);

Expand All @@ -57,4 +60,9 @@ var ListBox = exports.ListBox = (_dec = (0, _aureliaTemplating.customElement)(_c
};

return ListBox;
}()) || _class) || _class) || _class);
}()) || _class) || _class) || _class);


function getSelectNode(element) {
return element.querySelectorAll('select');
}
2 changes: 1 addition & 1 deletion dist/commonjs/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Object.defineProperty(exports, "__esModule", {
value: true
});
var version = exports.version = '1.6.0';
var version = exports.version = '1.6.1';
4 changes: 2 additions & 2 deletions dist/dev/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
2 changes: 1 addition & 1 deletion dist/dev/dist/dev/listbox/listbox.js.map

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

2 changes: 1 addition & 1 deletion dist/dev/dist/dev/version.js.map

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

6 changes: 6 additions & 0 deletions dist/dev/listbox/listbox.js

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

2 changes: 1 addition & 1 deletion dist/dev/version.js

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

4 changes: 2 additions & 2 deletions dist/es6/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
7 changes: 7 additions & 0 deletions dist/es6/listbox/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ export class ListBox {
}

recreate() {
let selectNodes = getSelectNode(this.element);
this.widgetBase.useElement(selectNodes.length > 0 ? selectNodes[0] : this.element);

let templates = this.widgetBase.util.getChildrenVMs(this.element, `${constants.elementPrefix}template`);
this.widgetBase.useTemplates(this, 'kendoListBox', templates);

Expand All @@ -46,3 +49,7 @@ export class ListBox {
this.destroy();
}
}

function getSelectNode(element) {
return element.querySelectorAll('select');
}
2 changes: 1 addition & 1 deletion dist/es6/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export let version = '1.6.0';
export let version = '1.6.1';
4 changes: 2 additions & 2 deletions dist/system/aurelia-kendoui-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class ButtonGroup {
export class Button {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand All @@ -191,7 +191,7 @@ declare module 'aurelia-kendoui-bridge' {
destroy(): any;
detached(): any;
}
export class Button {
export class ButtonGroup {
kEnabled: any;
constructor(element?: any, widgetBase?: any);
subscribe(event?: any, callback?: any): any;
Expand Down
6 changes: 6 additions & 0 deletions dist/system/listbox/listbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo
}
}

function getSelectNode(element) {
return element.querySelectorAll('select');
}
return {
setters: [function (_aureliaDependencyInjection) {
inject = _aureliaDependencyInjection.inject;
Expand Down Expand Up @@ -48,6 +51,9 @@ System.register(['aurelia-dependency-injection', 'aurelia-templating', '../commo
};

ListBox.prototype.recreate = function recreate() {
var selectNodes = getSelectNode(this.element);
this.widgetBase.useElement(selectNodes.length > 0 ? selectNodes[0] : this.element);

var templates = this.widgetBase.util.getChildrenVMs(this.element, constants.elementPrefix + 'template');
this.widgetBase.useTemplates(this, 'kendoListBox', templates);

Expand Down
2 changes: 1 addition & 1 deletion dist/system/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ System.register([], function (_export, _context) {
return {
setters: [],
execute: function () {
_export('version', version = '1.6.0');
_export('version', version = '1.6.1');

_export('version', version);
}
Expand Down
10 changes: 10 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.6.1"></a>
## [1.6.1](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/1.6.0...1.6.1) (2017-06-29)


### Bug Fixes

* **listbox:** use select element as target ([5f6de5c](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/commit/5f6de5c))



<a name="1.6.0"></a>
# [1.6.0](https://github.com/aurelia-ui-toolkits/aurelia-kendoui-bridge/compare/1.5.3...1.6.0) (2017-06-29)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-kendoui-bridge",
"version": "1.6.0",
"version": "1.6.1",
"registry": "github",
"description": "A set of Telerik KendoUI wrappers for Aurelia allowing developers to easily use KendoUI components in their Aurelia application.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/version.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export let version = '1.6.0';
export let version = '1.6.1';

0 comments on commit 21c9ed5

Please sign in to comment.