Skip to content

Commit f80ab49

Browse files
author
alonamir
committed
Exapnded dependency version constraints, and added a 'custom' class to allow styling of the buttons div, parent of dialog buttons.
1 parent 4d7d065 commit f80ab49

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dialog-manager",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"authors": [
55
"Alon Amir ([email protected])"
66
],
@@ -30,10 +30,10 @@
3030
"tests"
3131
],
3232
"dependencies": {
33-
"polymer": "Polymer/polymer#~1.0.6",
34-
"paper-dialog": "PolymerElements/paper-dialog#~1.0.0",
35-
"paper-button": "PolymerElements/paper-button#~1.0.2",
36-
"paper-spinner": "PolymerElements/paper-spinner#~1.0.1"
33+
"polymer": "Polymer/polymer#<2.0 >=1.0.6",
34+
"paper-dialog": "PolymerElements/paper-dialog#<2.0 >=1.0.0",
35+
"paper-button": "PolymerElements/paper-button#<2.0 >=1.0.2",
36+
"paper-spinner": "PolymerElements/paper-spinner#<2.0 >=1.0.1"
3737
},
3838
"repository": {
3939
"type": "git",

dialog-manager.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
(this._body? ('<p>' + this._body + '</p>') : '') +
8080
(this._spinner? ('<paper-spinner active></paper-spinner>') : '') +
8181
((this._confirm||this._dismiss) ? (
82-
'<div class="buttons">' +
82+
'<div class="buttons custom">' +
8383
(this._dismiss? ('<paper-button dialog-dismiss ' + (this._autoFocus==this._dismiss?'autofocus':'') + '>' + this._dismiss + '</paper-button>') : '') +
8484
(this._confirm? ('<paper-button dialog-confirm ' + (this._autoFocus==this._confirm?'autofocus':'') + '>' + this._confirm + '</paper-button>') : '') +
8585
'</div>'

0 commit comments

Comments
 (0)