Version 1.0 introduces many API changes relative to previous releases. In addition to the specific changelog listing below, the follow general changes have been made. Note that during the development of 1.0, the wip/v1.0.0
branch reflects the most up-to-date version, with a mixture of updated and to-be-updated components.
Contributions and pull requests are always welcome. Contributors may often be found on the slack.com #e-paper channel. Building the dummy application by installing ember-paper
as if it were an application will provide you an up-to-date interactive demo, templates, and code samples.
- Attributes are now
camelCased
rather thankebob-cased
. - Components which accept user input, such as
paper-input
,paper-checkbox
,paper-switch
andpaper-select
now receive their input via the one-wayvalue
attribute and notify of a changed value by theonChange
actions. - When provided by the API,
onChange
actions are required and throw an assertion if not provided. - Actions maybe be specified by a string action name (
onChange="updateValue"
) or an action closure (onChange=(action (mut "myValue"))
). If you need to specify a target or additional parameter, you must use an action closure. - Many attributes have been renamed for clarity and consistency. See the specific changes below.
paper-icon
'ssize
attribute now takes a size in pixels, andlg
orsm
values are no longer supported.
- #365 paper-button: Support for
fab
andmini
. - #362 paper-toolbar: Support for
tall
. - #364 Support installation via both npm versions 2 and 3.
- #367 You should now use
paper-toolbar-tools
component (or respective contextual component) instead of themd-toolbar-tools
class. - #370
paper-icon
now once again supports kebab cased icon names, and asize
in pixels. - #372
paper-button
can generatea
link elements, with an href and optional target attribute.
- 1a9b641 paper-progress-circular now uses
diameter
instead ofmd-diameter
- cf2a8da paper-progress-linear now uses
bufferValue
instead ofbuffer-value
- #285 paper-checkbox now uses actions up, data down.
onChange
action is mandatory. - #286 paper-radio no longer has the class
paper-radio
- #286 paper-radio now uses
groupValue
instead ofselected
- #286 paper-radio now sends the action
onChange
instead ofchanged
and it is mandatory (see ddau) - #303 paper-menu template may now specify
dense=true
to display menu items compactly - #313 paper-backdrop
tap
action renamedonTap
and required action closure. - #326
- paper-input now uses a passThru hash rather than individual attr-xxx attributes to pass attribute binds through to the underlying input.
- The required attribute can now be used to mean native validation, required label styling with an asterisk, and/or native html5 required validation.
- paper-input now uses
customValidations
instead ofcustomValidation
. customValidations has a new format. - the error messages can now be overriden by specifiying
errorMessages=(hash required="new message")
- first validation message now has suffix
-0
in its id - paper-checkbox now uses actions up, data down.
onChange
action is mandatory.
- #324
- paper-button now uses
iconButton
instead oficon-button
- paper-button now uses the action
onClick
instead ofaction
- paper-button now uses
- #334
- paper-menu-item now uses action
onClick
instead ofaction
. - paper-item now uses action
onClick
instead ofaction
. - paper-menu now uses
value
instead ofmodel
. - paper-checkbox now uses
value
instead ofchecked
. - paper-switch now uses
value
instead ofchecked
. - paper-select now uses a required
onChange
action. - paper-select now uses attribute
itemLabelCallback
instead ofitem-label-callback
. - paper-select now uses attribute
getItems
instead ofon-open
. - paper-menu now uses attribute
isOpen
instead ofis-open
.
- paper-menu-item now uses action
- #338
- paper-card now uses contextual components. The old paper-card-content and paper-card-title components still work.
- paper-card now supports the same configurations as the Angular Material version.
- Updated the dependency on hammer from
hammerjs
tohammer.js
. (Also backported to 0.2.14.)- Update your project's
bower.json
to require"hammer.js": "^2.0.8"
. Removebower_components/hammerjs
. Runbower cache clean
, thenbower install
.
- Update your project's
- 5521f3b Validation status on
paper-input
is exposed viaonInvalid
action.
- Updated the dependency on Hammer.js from
hammerjs
tohammer.js
. - Update your project's
bower.json
to require"hammer.js": "^2.0.8"
. Removebower_components/hammerjs
. Runbower cache clean
, thenbower install
.
- #322 Remove documentation for searchTest in inverse block for
{{paper-autocomplete}}
. - #323 Pass item through as expected rather than label to itemComponent for
{{paper-autocomplete}}
. - #347 Don't import Hammer or matchMedia when building in node (FastBoot support)
- #307 Add paper-card title components
- #283 Adds support for
fullTextSearch
attribute on{{paper-autocomplete}}
. Enables passing Promises to themodel
attribute on{{paper-autocomplete}}
. Docs updated. - #311 Fixed issue with
paper-wormhole
div in<head>
tag.
- #253 Add
closeOnClick
to paper-sidenav - #255 Add class to backdrops
- #260 Set jquery version to 1.11.3
- #261 Fixed #237 - didInsertElement deprecation warning for components using proxiable-mixin.
- #271 Add support for positional param
{{paper-icon "check"}}
- #178 Listen for model changes
- #219 Inject wormhole outlet through addon hook
- #209 Fix issue with
border-bottom-color
in paper-select - #213 Fixed a few stray color references that didnt use color utility
- Update ember-cli to 1.13.13
- #140 Implement Material Menu and Select component.
- #171 Add support for custom validations in paper-input component.
- #192 Add support for paper-grid-list component.
- #194 Fixed #173 - issue with paper-progress-circular.
- #154 Add support for inline paper-icon in paper-input component
- #152 Add support for .md-actions to {{paper-card}}
- #151 Only show validation errors if user has interacted with the element
- #138 Use sidenav and backdrop angular material styles. Use ember-css-transitions.
- #168 Added dynamic height to textarea
- #176 Documentation fix for autocomplete
- #170 Pass through input helper attributes
- #132 Added autocomplete component.
- #144 Fixed paper-icon sizes and added new size md-sm (size="sm").
- #146 Upgrade to ember 1.13.7 and ember-cli 1.13.8.
- #135 Fix deprecation bug in linear progress indicator.
- #136 Added circular progress indicator.
- Update to Ember-cli 1.13.1.
- #114 Added linear progress indicator.
- Created a color mixin. Specify
primary=true
,accent=true
orwarn=true
to apply the respective color classes. - Paper button now applies
md-icon-button
ificon-button=true
.
- #113 Added support for Ember 1.13.x
hasBlock
.