@aurelia-mdc-web/button
Advanced tools
Comparing version 1.0.0-alpha.4 to 1.0.0-alpha.5
@@ -9,3 +9,4 @@ define(["require", "exports", "aurelia-framework", "./mdc-button"], function (require, exports, aurelia_framework_1, mdc_button_1) { | ||
aurelia_framework_1.PLATFORM.moduleName('./mdc-button'), | ||
aurelia_framework_1.PLATFORM.moduleName('./enhance-mdc-button') | ||
aurelia_framework_1.PLATFORM.moduleName('./enhance-mdc-button'), | ||
aurelia_framework_1.PLATFORM.moduleName('./mdc-button-label') | ||
]); | ||
@@ -12,0 +13,0 @@ config.aurelia.use.plugin(aurelia_framework_1.PLATFORM.moduleName('@aurelia-mdc-web/ripple')); |
@@ -17,2 +17,6 @@ define(["require", "exports", "tslib", "aurelia-framework", "aurelia-typed-observable-plugin"], function (require, exports, tslib_1, aurelia_framework_1, aurelia_typed_observable_plugin_1) { | ||
}; | ||
MdcButton.prototype.attached = function () { | ||
var icons = this.root.querySelectorAll('mdc-icon'); | ||
Array.from(icons).forEach(function (x) { return x.classList.add('mdc-button__icon'); }); | ||
}; | ||
tslib_1.__decorate([ | ||
@@ -19,0 +23,0 @@ aurelia_typed_observable_plugin_1.bindable.booleanAttr, |
@@ -10,3 +10,4 @@ "use strict"; | ||
aurelia_framework_1.PLATFORM.moduleName('./mdc-button'), | ||
aurelia_framework_1.PLATFORM.moduleName('./enhance-mdc-button') | ||
aurelia_framework_1.PLATFORM.moduleName('./enhance-mdc-button'), | ||
aurelia_framework_1.PLATFORM.moduleName('./mdc-button-label') | ||
]); | ||
@@ -13,0 +14,0 @@ config.aurelia.use.plugin(aurelia_framework_1.PLATFORM.moduleName('@aurelia-mdc-web/ripple')); |
@@ -19,2 +19,6 @@ "use strict"; | ||
}; | ||
MdcButton.prototype.attached = function () { | ||
var icons = this.root.querySelectorAll('mdc-icon'); | ||
Array.from(icons).forEach(function (x) { return x.classList.add('mdc-button__icon'); }); | ||
}; | ||
tslib_1.__decorate([ | ||
@@ -21,0 +25,0 @@ aurelia_typed_observable_plugin_1.bindable.booleanAttr, |
@@ -6,3 +6,4 @@ import { PLATFORM } from 'aurelia-framework'; | ||
PLATFORM.moduleName('./mdc-button'), | ||
PLATFORM.moduleName('./enhance-mdc-button') | ||
PLATFORM.moduleName('./enhance-mdc-button'), | ||
PLATFORM.moduleName('./mdc-button-label') | ||
]); | ||
@@ -9,0 +10,0 @@ config.aurelia.use.plugin(PLATFORM.moduleName('@aurelia-mdc-web/ripple')); |
@@ -16,2 +16,6 @@ import { __decorate, __metadata } from "tslib"; | ||
} | ||
attached() { | ||
const icons = this.root.querySelectorAll('mdc-icon'); | ||
Array.from(icons).forEach(x => x.classList.add('mdc-button__icon')); | ||
} | ||
}; | ||
@@ -18,0 +22,0 @@ __decorate([ |
@@ -6,3 +6,4 @@ import { PLATFORM } from 'aurelia-framework'; | ||
PLATFORM.moduleName('./mdc-button'), | ||
PLATFORM.moduleName('./enhance-mdc-button') | ||
PLATFORM.moduleName('./enhance-mdc-button'), | ||
PLATFORM.moduleName('./mdc-button-label') | ||
]); | ||
@@ -9,0 +10,0 @@ config.aurelia.use.plugin(PLATFORM.moduleName('@aurelia-mdc-web/ripple')); |
@@ -16,2 +16,6 @@ import { __decorate, __metadata } from "tslib"; | ||
}; | ||
MdcButton.prototype.attached = function () { | ||
var icons = this.root.querySelectorAll('mdc-icon'); | ||
Array.from(icons).forEach(function (x) { return x.classList.add('mdc-button__icon'); }); | ||
}; | ||
__decorate([ | ||
@@ -18,0 +22,0 @@ bindable.booleanAttr, |
@@ -10,2 +10,3 @@ export declare class MdcButton { | ||
hrefChanged(): void; | ||
attached(): void; | ||
} |
{ | ||
"name": "@aurelia-mdc-web/button", | ||
"version": "1.0.0-alpha.4", | ||
"version": "1.0.0-alpha.5", | ||
"publishConfig": { | ||
@@ -58,4 +58,4 @@ "access": "public" | ||
"dependencies": { | ||
"@aurelia-mdc-web/base": "^1.0.0-alpha.4", | ||
"@aurelia-mdc-web/ripple": "^1.0.0-alpha.4", | ||
"@aurelia-mdc-web/base": "^1.0.0-alpha.5", | ||
"@aurelia-mdc-web/ripple": "^1.0.0-alpha.5", | ||
"@material/button": "^7.0.0" | ||
@@ -72,3 +72,3 @@ }, | ||
}, | ||
"gitHead": "9b083f71f123aaa866e3304f790a1d3f899d2572" | ||
"gitHead": "8d197abdc849b47fa0dc590922ed9bfa3481cf13" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33317
42
445