Skip to content

Commit

Permalink
chore(all) dist build
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanood committed Jun 15, 2016
1 parent caa6335 commit 481d396
Show file tree
Hide file tree
Showing 102 changed files with 551 additions and 541 deletions.
2 changes: 1 addition & 1 deletion build/tasks/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ gulp.task('prepare-release', function(callback){
'build',
'lint',
'bump-version',
'doc',
// 'doc',
'changelog',
callback
);
Expand Down
28 changes: 14 additions & 14 deletions dist/amd/aurelia-materialize-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}

// @customElement('md-carousel-item')
export class MdCarouselItem {
Expand All @@ -159,6 +153,12 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdCheckbox {
static id: any;
mdChecked: any;
Expand Down Expand Up @@ -200,6 +200,14 @@ declare module 'aurelia-materialize-bridge' {
isSelectedChanged(newValue: any): any;
}

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}

/**
* Adds css classes to a given element only if these classes are not already
* present. Keeps a record of css classes which actually have been added.
Expand Down Expand Up @@ -235,14 +243,6 @@ declare module 'aurelia-materialize-bridge' {
* @param data Addition data to attach to an event
*/
export function fireMaterializeEvent(element: Element, name: string, data?: any): any;

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}
export class MdDatePicker {
container: any;
translation: any;
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/breadcrumbs/breadcrumbs.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<require from="./breadcrumbs.css"></require>
<require from="./breadcrumbs.css!"></require>
<require from="./instructionFilter"></require>
<nav class="primary">
<div class="nav-wrapper">
Expand Down
10 changes: 5 additions & 5 deletions dist/amd/card/card.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<require from="./card.css"></require>
<require from="./card.css!"></require>
<div class="card ${ mdSize || '' }">
<div if.bind="mdImage !== null" md-waves="color: light; block: true;" class="card-image">
<img class="${ mdReveal === true ? 'activator' : '' }" src.bind="mdImage" />
Expand All @@ -11,14 +11,14 @@
<i class="material-icons right">more_vert</i>
</span>
<span if.bind="mdImage === null" class="card-title">${mdTitle}</span>
<content></content>
<slot></slot>
</div>
<div if.bind="mdReveal" class="card-reveal">
<span class="card-title activator">
<div show.bind="mdReveal" class="${ mdReveal ? 'card-reveal' : '' }">
<span class="card-title ${ mdReveal ? 'activator' : '' }">
${mdTitle}
<i class="material-icons right">close</i>
</span>
<template replaceable part="reveal-text"></template>
<slot name="reveal-text"></slot>
</div>
</div>
</template>
2 changes: 1 addition & 1 deletion dist/amd/carousel/carousel.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<template class="carousel" style="display: block;">
<content select="md-carousel-item"></content>
<slot></slot>
</template>
2 changes: 1 addition & 1 deletion dist/amd/checkbox/checkbox.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<input type="checkbox" id="${controlId}" ref="checkbox" />
<label for="${controlId}">
<content></content>
<slot></slot>
</label>
</template>
2 changes: 1 addition & 1 deletion dist/amd/chip/chip.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template class="chip">
<content></content>
<slot></slot>
<i show.bind="mdClose" class="material-icons">close</i>
</template>
4 changes: 2 additions & 2 deletions dist/amd/collection/collection-header.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<template class="collection-header">
<require from="./collection-header.css"></require>
<content></content>
<require from="./collection-header.css!"></require>
<slot></slot>
</template>
6 changes: 3 additions & 3 deletions dist/amd/collection/collection-item.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template class="collection-item">
<require from="./collection-item.css"></require>
<content></content>
<content select=".secondary-content"></content>
<require from="./collection-item.css!"></require>
<slot></slot>
<!-- <content select=".secondary-content"></content> -->
</template>
5 changes: 3 additions & 2 deletions dist/amd/collection/collection.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="collection" ref="anchor">
<content select="md-collection-header"></content>
<content select="md-collection-item"></content>
<!-- <content select="md-collection-header"></content>
<content select="md-collection-item"></content> -->
<slot></slot>
</div>
</template>
5 changes: 3 additions & 2 deletions dist/amd/collection/md-collection-selector.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<template>
<require from="./md-collection-selector.css"></require>
<require from="./md-collection-selector.css!"></require>
<div class="md-collection-selector__checkbox">
<content select=".md-collection-selector__hover"></content>
<!-- <content select=".md-collection-selector__hover"></content> -->
<slot></slot>
<div>
<md-checkbox md-checked.two-way="isSelected"></mdl-checkbox>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/dropdown/dropdown-element.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template md-button class="dropdown-button" data-activates="${ controlId }">
${mdTitle}
<div id="${ controlId }" class='dropdown-content'>
<content></content>
<slot></slot>
</div>
</template>
5 changes: 2 additions & 3 deletions dist/amd/fab/fab.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<template>
<a if.bind="mdFixed === false" md-button="large.bind: mdLarge;" md-waves="color: light;" class="btn-floating">
<content select=".material-icons"></content>
<slot></slot>
</a>

<div if.bind="mdFixed === true" class="fixed-action-btn" style="bottom: 45px; right: 24px;">
<a md-button="large: true;" md-waves="color: light;" class="btn-floating">
<content select=".material-icons"></content>
<slot></slot>
</a>
<content select="ul"></content>
</div>
</template>
19 changes: 10 additions & 9 deletions dist/amd/input/input.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<template>
<require from="./input.css"></require>
<div class="input-field">
<content select="[md-prefix]"></content>
<input if.bind="mdTextArea === false" id="${controlId}" type.bind="mdType" ref="input" value.bind="mdValue" disabled.bind="mdDisabled"/>
<textarea if.bind="mdTextArea === true" id="${controlId}" ref="input" value.bind="mdValue" class="materialize-textarea" disabled.bind="mdDisabled"></textarea>
<label for="${controlId}" ref="label">${mdLabel}</label>
</div>
</template>
<template>
<require from="./input.css!"></require>
<div class="input-field">
<!-- <content select="[md-prefix]"></content> -->
<slot></slot>
<input if.bind="mdTextArea === false" id="${controlId}" type.bind="mdType" ref="input" value.bind="mdValue" disabled.bind="mdDisabled"/>
<textarea if.bind="mdTextArea === true" id="${controlId}" ref="input" value.bind="mdValue" class="materialize-textarea" disabled.bind="mdDisabled"></textarea>
<label for="${controlId}" ref="label">${mdLabel}</label>
</div>
</template>
2 changes: 1 addition & 1 deletion dist/amd/input/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-
}
if (this.mdPlaceholder) {
this.input.setAttribute('placeholder', this.mdPlaceholder);
this.updateService.update();
}
this.updateService.update();
};

MdInput.prototype.mdValueChanged = function mdValueChanged() {
Expand Down
4 changes: 2 additions & 2 deletions dist/amd/navbar/navbar.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<require from="./navbar.css"></require>
<require from="./navbar.css!"></require>
<div ref="fixedAnchor">
<nav class="primary">
<div class="nav-wrapper">
<content></content>
<slot></slot>
</div>
</nav>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/radio/radio.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<input if.bind="!mdModel" type="radio" name="${mdName}" value.bind="mdValue" id="${controlId}" checked.bind="mdChecked" ref="radio" />
<input if.bind="!!mdModel" type="radio" name="${mdName}" model.bind="mdModel" id="${controlId}" checked.bind="mdChecked" ref="radio" />
<label for="${controlId}">
<content></content>
<slot></slot>
</label>
</template>
4 changes: 2 additions & 2 deletions dist/amd/sidenav/sidenav.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<require from="./sidenav.css"></require>
<require from="./sidenav.css!"></require>
<div id="${ controlId }" class="side-nav" ref="sidenav">
<content></content>
<slot></slot>
</div>
</template>
2 changes: 1 addition & 1 deletion dist/amd/slider/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ define(['exports', 'aurelia-templating', 'aurelia-binding', 'aurelia-dependency-

var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _desc, _value, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;

var MdSlider = exports.MdSlider = (_dec = (0, _aureliaTemplating.customElement)('md-slider'), _dec2 = (0, _aureliaDependencyInjection.inject)(Element), _dec3 = (0, _aureliaTemplating.inlineView)('\n <template class="slider">\n <require from="./slider.css"></require>\n <ul class="slides">\n <content select="li"></content>\n </ul>\n </template>\n'), _dec4 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec5 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec6 = (0, _aureliaTemplating.bindable)(), _dec7 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec8 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () {
var MdSlider = exports.MdSlider = (_dec = (0, _aureliaTemplating.customElement)('md-slider'), _dec2 = (0, _aureliaDependencyInjection.inject)(Element), _dec3 = (0, _aureliaTemplating.inlineView)('\n <template class="slider">\n <require from="./slider.css!"></require>\n <ul class="slides">\n <slot></slot>\n </ul>\n </template>\n'), _dec4 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec5 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec6 = (0, _aureliaTemplating.bindable)(), _dec7 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec8 = (0, _aureliaTemplating.bindable)({ defaultBindingMode: _aureliaBinding.bindingMode.oneTime }), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = function () {
function MdSlider(element) {
_classCallCheck(this, MdSlider);

Expand Down
2 changes: 1 addition & 1 deletion dist/amd/switch/switch.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template class="switch">
<require from="./switch.css"></require>
<require from="./switch.css!"></require>
<label>
${mdLabelOff}
<input type="checkbox" ref="checkbox">
Expand Down
28 changes: 14 additions & 14 deletions dist/aurelia-materialize-bridge.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,6 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}

// @customElement('md-carousel-item')
export class MdCarouselItem {
Expand All @@ -159,6 +153,12 @@ declare module 'aurelia-materialize-bridge' {
constructor(element: any);
attached(): any;
}
export class MdCharCounter {
length: any;
constructor(element: any);
attached(): any;
detached(): any;
}
export class MdCheckbox {
static id: any;
mdChecked: any;
Expand Down Expand Up @@ -200,6 +200,14 @@ declare module 'aurelia-materialize-bridge' {
isSelectedChanged(newValue: any): any;
}

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}

/**
* Adds css classes to a given element only if these classes are not already
* present. Keeps a record of css classes which actually have been added.
Expand Down Expand Up @@ -235,14 +243,6 @@ declare module 'aurelia-materialize-bridge' {
* @param data Addition data to attach to an event
*/
export function fireMaterializeEvent(element: Element, name: string, data?: any): any;

/* eslint-enable */
export class DarkenValueConverter {
toView(value: any, steps: any): any;
}
export class LightenValueConverter {
toView(value: any, steps: any): any;
}
export class MdDatePicker {
container: any;
translation: any;
Expand Down
Loading

0 comments on commit 481d396

Please sign in to comment.