diff --git a/addon/components/paper-checkbox.js b/addon/components/paper-checkbox.js
index 50af5c3ae..86acc469e 100644
--- a/addon/components/paper-checkbox.js
+++ b/addon/components/paper-checkbox.js
@@ -55,7 +55,7 @@ export default Component.extend(FocusableMixin, ColorMixin, ProxiableMixin, {
init() {
this._super(...arguments);
assert(
- '{{paper-checkbox}} requires an `onChange` action or null for no action.',
+ '
- A link-to
component with paper-button
styling that handles active route state and query params.
+ A {{"
component with {{"
styling that handles active route state and query params.
\{{paper-input}}
character counts{{""}}
character countsMaterial Design requires that a character count is displayed for input elements which have a length restriction. However, when forms have many input elements, some may prefer to display the count only when the element is focused or invalid. This CSS achieves this.
diff --git a/tests/dummy/app/templates/demo/autocomplete.hbs b/tests/dummy/app/templates/demo/autocomplete.hbs index ebb57a335..f5cf3af9d 100644 --- a/tests/dummy/app/templates/demo/autocomplete.hbs +++ b/tests/dummy/app/templates/demo/autocomplete.hbs @@ -6,7 +6,7 @@Use \{{paper-autocomplete}}
to search for matches from local or remote data sources.
+ Use {{""}}
to search for matches from local or remote data sources.
-paper-contact-chips
expects the name, email address and image +{{"
expects the name, email address and image to be supplied as"}} name
,image
respectively. If your field names differ from these, specify them using thenameField
,emailField
andimageField
diff --git a/tests/dummy/app/templates/demo/dialog.hbs b/tests/dummy/app/templates/demo/dialog.hbs index e05cd42c7..01d7360da 100644 --- a/tests/dummy/app/templates/demo/dialog.hbs +++ b/tests/dummy/app/templates/demo/dialog.hbs @@ -51,7 +51,7 @@ (p-row "fullscreen" "boolean" "Causes the dialog to become fullscreen at smaller breakpoints.") (p-row "opaque" "boolean" "Causes the backdrop to become opaque. Defaults to `true`.") (p-row "clickOutsideToClose" "boolean" "Causes clicking on the backdrop to trigger the `onClose` handler. Defaults to `false`.") - (p-row "focusOnOpen" "boolean" "Causes the initial focus to be on an inner element with the autofocus attribute, rather than the last button inside `{{paper-dialog-actions}}`. Defaults to `true`.") + (p-row "focusOnOpen" "boolean" "Causes the initial focus to be on an inner element with the autofocus attribute, rather than the last button inside ``. Defaults to `true`.") (p-row "escapeToClose" "boolean" "Causes pressing escape to close the dialog. Defaults to `true`.") ) (p-section diff --git a/tests/dummy/app/templates/demo/icons.hbs b/tests/dummy/app/templates/demo/icons.hbs index 13f98777f..f101d022d 100644 --- a/tests/dummy/app/templates/demo/icons.hbs +++ b/tests/dummy/app/templates/demo/icons.hbs @@ -14,7 +14,7 @@ Basic Icons
{{! BEGIN-SNIPPET icons.basic-usage }} - {{paper-icon "check-circle"}} +{{! END-SNIPPET }} @@ -22,11 +22,11 @@ Changing Sizes
{{! BEGIN-SNIPPET icons.sizes }} - {{paper-icon "check-circle" size=12}} - {{paper-icon "check-circle" size=18}} - {{paper-icon "check-circle" size=24}} - {{paper-icon "check-circle" size=36}} - {{paper-icon "check-circle" size=48}} ++ + + + {{! END-SNIPPET }} @@ -34,8 +34,8 @@ Spinners
{{! BEGIN-SNIPPET icons.spinners }} - {{paper-icon "rotate-right" spin=true}} - {{paper-icon "rotate-left" reverseSpin=true}} ++ {{! END-SNIPPET }} diff --git a/tests/dummy/app/templates/demo/input.hbs b/tests/dummy/app/templates/demo/input.hbs index 10478abc5..ba42cf824 100644 --- a/tests/dummy/app/templates/demo/input.hbs +++ b/tests/dummy/app/templates/demo/input.hbs @@ -202,13 +202,13 @@ Setting validation messages from external validations
- While
{{! BEGIN-SNIPPET input.external-validations }}\{{paper-input}}
supplies four + While{{"
supplies four built-in validation rules and the ability to specify programmed custom validations, some projects need more complicated and elaborate validations, such as are provided by"}} ember-cp-validations
or another validation add-on. In this case, the code to validate the user input is outside of -paper-input
, and only the resulting messages need be provided to the -\{{paper-input}}
helper. +{{"
, and only the resulting messages need be provided to the +"}} {{"
helper."}} diff --git a/tests/dummy/app/templates/demo/list.hbs b/tests/dummy/app/templates/demo/list.hbs index 87a122835..ed476e513 100644 --- a/tests/dummy/app/templates/demo/list.hbs +++ b/tests/dummy/app/templates/demo/list.hbs @@ -59,7 +59,7 @@ Icons {{#each phoneNumbers as |phone|}}- {{paper-icon "phone" class="md-avatar-icon"}} + {{/each}} diff --git a/tests/dummy/app/templates/demo/menu.hbs b/tests/dummy/app/templates/demo/menu.hbs index 5777c34c5..56b9d2f82 100644 --- a/tests/dummy/app/templates/demo/menu.hbs +++ b/tests/dummy/app/templates/demo/menu.hbs @@ -24,20 +24,20 @@{{phone.number}}
{{phone.type}}
@@ -119,21 +119,21 @@Clickable Items with Secondary Controls - {{paper-icon "network-wifi"}} + Wi-Fi
- {{paper-icon "bluetooth"}} + Bluetooth
- {{paper-icon "data-usage"}} + @@ -146,7 +146,7 @@Data Usage
{{item.message}}
@@ -162,10 +162,10 @@- {{paper-icon "message"}} + @@ -197,7 +197,7 @@- {{paper-icon "email"}} + - {{paper-icon "message"}} + Some notes here.
- {{paper-icon "phone"}} + - {{paper-icon "local_phone"}} + {{#each items as |item|}} @@ -77,14 +77,14 @@- {{paper-icon item.icon}} + {{/each}}{{item.title}} - {{paper-icon "adb"}} + @@ -45,7 +45,7 @@ {{#each items as |item|}}This is disabled. - {{paper-icon item.icon}} {{item.title}} + {{/each}}{{item.title}} - {{paper-icon "local_phone" class="md-menu-origin"}} + {{#each items as |item|}} - {{paper-icon item.icon class="md-menu-align-target"}} + {{/each}} @@ -98,14 +98,14 @@{{item.title}} - {{paper-icon "local_phone" class="md-menu-origin"}} + {{#each items as |item|}} @@ -181,7 +181,7 @@- {{paper-icon item.icon class="md-menu-align-target"}} + {{/each}} @@ -118,7 +118,7 @@{{item.title}} @@ -126,19 +126,19 @@ {{#each items as |item|}} - {{paper-icon "local_phone" class="md-menu-origin"}} + {{/each}} {{#each items as |item|}} {{item.title}}
- {{paper-icon item.icon class="md-menu-align-target"}} +{{/each}} {{#each items as |item|}} {{item.title}}
- {{paper-icon item.icon class="md-menu-align-target"}} +{{/each}} {{item.title}}
- {{paper-icon item.icon class="md-menu-align-target"}} +@@ -200,7 +200,7 @@ - {{paper-icon "local_phone" class="md-menu-origin"}} + @@ -219,7 +219,7 @@ - {{paper-icon "local_phone" class="md-menu-origin"}} + @@ -260,7 +260,7 @@ - {{paper-icon "local_phone" class="md-menu-origin"}} + diff --git a/tests/dummy/app/templates/demo/sidenav.hbs b/tests/dummy/app/templates/demo/sidenav.hbs index 8a3e9de9b..ba41023d6 100644 --- a/tests/dummy/app/templates/demo/sidenav.hbs +++ b/tests/dummy/app/templates/demo/sidenav.hbs @@ -35,7 +35,7 @@ - {{paper-icon "local_phone" class="md-menu-origin"}} + The left sidenav will "lock open" on a medium (>=960px wide) device. - The right sidenav never "locks open" because we set
lockedOpen=false
. + The right sidenav never "locks open" because we set@lockedOpen={{false}}
.Left sidenav is {{if leftSideBarOpen "opened" "closed"}}. @@ -80,7 +80,7 @@
Persistent Sidenav
- {{paper-icon "code"}} + @@ -105,7 +105,7 @@- Another way of using the sidenav is to toggle the
lockedOpen
state. + Another way of using the sidenav is to toggle the@lockedOpen
state. This corresponds to the "persistent sidenav" pattern in the material spec.diff --git a/tests/dummy/app/templates/demo/speed-dial.hbs b/tests/dummy/app/templates/demo/speed-dial.hbs index 3d35d7f25..9075e5d66 100644 --- a/tests/dummy/app/templates/demo/speed-dial.hbs +++ b/tests/dummy/app/templates/demo/speed-dial.hbs @@ -9,7 +9,7 @@
Basic Usage
- {{paper-icon "code"}} + @@ -25,26 +25,26 @@- {{paper-icon "menu"}} + @@ -97,7 +97,7 @@ - {{paper-icon "people"}} + - {{paper-icon "accessibility"}} + - {{paper-icon "check-circle"}} + The component can also take a
@@ -110,7 +110,7 @@open
attribute and anonToggle
pair, much like -paper-sidenav
. Use the pair to control the open status of the speed dial. +{{"
. Use the pair to control the open status of the speed dial."}} Advanced Usage
- {{paper-icon "code"}} + @@ -126,26 +126,26 @@- {{paper-icon "menu"}} + diff --git a/tests/dummy/app/templates/demo/tabs.hbs b/tests/dummy/app/templates/demo/tabs.hbs index a9296ab55..39312ee76 100644 --- a/tests/dummy/app/templates/demo/tabs.hbs +++ b/tests/dummy/app/templates/demo/tabs.hbs @@ -80,7 +80,7 @@ - {{paper-icon "people"}} + - {{paper-icon "accessibility"}} + - {{paper-icon "check-circle"}} + To reinforce this idea, each of the tabs optionally accepts a
value
- property which needs to match thepaper-tabs
selected
+ property which needs to match the{{"
"}} selected
property (see API table below for more info). You don't need to use the value property, though. Each tab is automatically given a value equal to its index. So, youronChange
action will start getting integer values if you don't specify any value on the tabs. @@ -106,7 +106,7 @@Dynamic Usage
- {{paper-icon "code"}} + @@ -212,13 +212,13 @@Hint: use
ember-href-to
addon to easily generate - urls for your routes. It plays really well withpaper-tabs
, -paper-buttons
and evenpaper-item
s. + urls for your routes. It plays really well with{{"
, +"}} {{"
s and even"}} {{"
s."}} Hint: for Ember versions less than 2.15, use the
diff --git a/tests/dummy/app/templates/demo/toast.hbs b/tests/dummy/app/templates/demo/toast.hbs index b8dedef6e..4f43fea9e 100644 --- a/tests/dummy/app/templates/demo/toast.hbs +++ b/tests/dummy/app/templates/demo/toast.hbs @@ -62,7 +62,7 @@ember-router-service-polyfill
addon to easily retrieve - the current route name and use it as the selected value topaper-tabs
. + the current route name and use it as the selected value to{{"
."}} duration
@@ -105,7 +105,7 @@diff --git a/tests/dummy/app/templates/forms.hbs b/tests/dummy/app/templates/forms.hbs index b95f89fdd..862ddb016 100644 --- a/tests/dummy/app/templates/forms.hbs +++ b/tests/dummy/app/templates/forms.hbs @@ -12,14 +12,14 @@- Open a toast via
+paperToaster
service and\{{paper-toaster}}
component.Open a toast via
paperToaster
service and{{"
component."}} Options
diff --git a/tests/dummy/app/templates/demo/toolbar.hbs b/tests/dummy/app/templates/demo/toolbar.hbs index ff186d0e8..f6d4b8d95 100644 --- a/tests/dummy/app/templates/demo/toolbar.hbs +++ b/tests/dummy/app/templates/demo/toolbar.hbs @@ -6,17 +6,17 @@@@ -34,7 +34,7 @@ Learn More - {{paper-icon "menu"}} + Toolbar with Icon Buttons
- {{paper-icon "favorite"}} + - {{paper-icon "more_vert"}} + - {{paper-icon "favorite"}} + diff --git a/tests/dummy/app/templates/demo/tooltip.hbs b/tests/dummy/app/templates/demo/tooltip.hbs index 6c33588f8..55fe69dd6 100644 --- a/tests/dummy/app/templates/demo/tooltip.hbs +++ b/tests/dummy/app/templates/demo/tooltip.hbs @@ -45,25 +45,25 @@- {{paper-icon "create"}} + Create - {{paper-icon "delete"}} + Delete - {{#paper-icon "info"}} +{{! END-SNIPPET tooltip }}Icon tooltip - {{/paper-icon}} +- ember-paper provides a
@@ -61,7 +61,7 @@paper-form
to help you build forms + ember-paper provides a{{"
to help you build forms and keep track of the form's global validity state. This component uses the html form tag by default, so expected form behavior will occur. (For example, pressing the enter key from within one of the form's inputs will submit the form.) -"}} paper-form
yields, -
paper-input - and
paper-select controls. +
paper-autocomplete {{"
yields"}} , +
{{" "}} + and
{{" "}} controls. In the following example you can see how we use the yielded form controls:
{{" "}} A typical use case for the global validity state is to toggle the submit button between a disabled and enabled state. Here is how you would do that with -
{{! BEGIN-SNIPPET form.disabled-submit }} @@ -94,7 +94,7 @@paper-form
: +{{"
:"}} If you prefer, you can trigger the submit action without using a submit button. -
paper-form
also yields anonSubmit
action you +{{"
also yields an"}} onSubmit
action you can use wherever you like, e.g:
<button onclick=\{{action form.onSubmit}}>