- 09886b7 bump
ember-cli-polyfill-importer
version again. Turns out the previous version didn't fix all of the problems.
- a30be23 bump
ember-cli-polyfill-importer
version. Previous version could be causing some build errors for not finding the polyfill files.
- 40e98b1 allow disabling
<PaperMenu>
(closes #774) - d1336ee add workaround for
Cannot read property 'appendChild' of null
error when running integration test with<PaperMenu>
(closes #1151)
- #1147 Use click instead of mouseUp to clear autocomplete (allowClear=true)
- #1154 Fixed clearing a date field leaves it marked invalid in Chrome 83 (more info #1153)
- #1144 fix paper menu positioning
- #1143 fix paper-item mouseEnter/mouseLeave deprecations
- #1129 protect against null querySelector in PaperMenu#focusItem
- 52dd556 fix computed property overrides deprecations (fixes #1146)
- #1135 fix some mouseEnter/Leave/Move deprecations by adding event listeners
- 27b24d4, be0ff0d, 9626f71 update
<PaperSlider/>
,<PaperContent/>
and<PaperDivider/>
to "pseudo-octane" - #1126 Use splattributes for paper-menu/item
- ff9843a prevent
<PaperSelect/>
from ignoring selections when the cursor did not move
- refactor paper-menu to use new ember-basic-dropdown version
- refactor paper-select, paper-autocomplete and paper-chips to use new ember-power-select version
- replace RippleMixin with a
<PaperRipple/>
component - remove paper-virtual-repeat (paper autocomplete uses html-next/vertical-collection internally)
- because of these updates, ember-paper now requires Ember 3.11.0+.
- f117ca0 fix paper-input not clearing text
- #1073 fixed paper-autocomplete options highlighting style
- 2652581 update angular material styles
- #1083 Add md-input-has-placeholder class to input with placeholder
- #1089 Prevent submitting a form when clicking clear in paper-autocomplete
- #1076 Fix paper-autocomplete value being overriden when changed
- c9022e9 clamp tooltip position to the visible area of the viewport. closes #1041
- #1084 Add guard against missing original.parentNode (fixes backdrop error in tests)
- #1048 fix paper-tabs issues (fixes #858, #759, #893)
- 6a1fff3 depend on
angular-material-styles
npm package instead ofangular-material-source
git dependency (fixes #1069)
- #1050 Fix paper select click-catcher to call dropdown.actions.close on click
- 55858e8 add nodelist forEach polyfill to fix paper-dialogs on IE11 (fixes 1058)
- #1064 support module unification blueprint
- ebbeaef fix paper-switch not working when used in paper-item (fixes #1051)
- 444c762 bump ember-composability-tools to remove
new A()
deprecation - #1044 ensure
parentNode
is not null in translate3d - #1045 ensure component is not destroyed in next() callback in paper-select
- #1036 Fix infinite rendering issue with paper-tabs (fixes #990)
- #1032 Make paper-radio and paper-radio-group button accessible. paper-radio-group now yields a label component.
- 01229ae fix paper-menu not closing when backdrop is clicked
- 9503337 fix changing paper-input value to empty string
- #794 forward primary/warn arguments to the toasts' paper-button.
- dd7979e correctly escape paper-autocomplete-highlight output (fixes #985).
- #997 remove autoprefixer. Users should install ember-cli-autoprefixer on their apps from now on. This makes autoprefixer to run according to your target browsers in your project.
- This ember-paper version no longer relies on jQuery. Credits to @betocantu93 for the inumerous PRs to refactor this.
- #1024 Associate input field with corresponding info messages for better a11y
- #1026 support
aria-hidden
argument on paper-icon - #588 Allow paper-autocomplete to be blockless
- #1021 #1028 you can now whitelist/blacklist components (JS and CSS)
- #1027 fix paper-select with
searchEnabled=true
- #1029 add title attribute to paper-input
- #1031 a11y for paper-checkbox
- 7abaeaa fix paper-tabs ink bar placement when using
isSelected
on{{tabs.tab}}
(partially reverts #980) - 14e3f0f update project's ember and ember-cli and fix linting errors. update AM to 1.1.10.
- 68ca72e not using ember-cli-sass-variables-export addon anymore since it doesn't output the generated files when using
ember build
(justember s
). We're manually including the generated files until we find a better solution. The palettes aren't likely to change anyway.
- d931d19 Fix several issues with default colors, hues and contrasts.
- e82f32d Fix tooltip contrast color.
- 0b57abf Some background color expressions in AM scss weren't being replaced with the correct colors. This made, for example,
.md-avatar-icon
to have the wrong colors.
- df7b5af bump ember-cli-sass-variables-export. Should now correctly work with ember-cli-sass 7 and below.
- #980 fixes "You modified canPageBack twice in a single render" on paper tabs. Also fixes
_selectedTab
computed getting triggered multiple times unecessarily. - #981 Correctly call
paper-contrast-color
on the deprecatedcontrastColor
function.
- a9ac019 use
addAddonToProject
to install ember-cli-sass on ember-paper install. This makes sure that any ember-cli-sass blueprint is run. - 6bddb15 support label and placeholder simultaneously on paper-inputs
- d53b9d7 bump ember-cli-sass-variables-export. ember-paper is now compatible with dart sass, node sass and latest ember-cli-sass versions.
- f63c337 fix for accidentally broken palette generation on beta.11
- 0184166 move ember-invoke-action to dependencies
- 07f591c rename
generateTheme
util togeneratePalette
- 20b99f9
generatePalette
should return string representations and not tinycolor instances
- #973 fix ember 3.4 closure actions deprecation
- #958 fix input validations
- #971 support disabled tabs
- 8c637bc...0bb4ea1 implement runtime theming using css variables
- #924 fix css issue when paper-menu dense=true and content is scrollable
- 666f06d fix progress-circular on fastboot (fixes #927)
- #941 render md-select-header outside of md-content on paper-select when searchEnabled=true
- #954 support optional
defaultHighlighted
on paper-chips - #956 don't use paper-autocomplete _innerText (fixes #932, #935 and #787)
- #943 fix defaultAttrs error for paper-virtual-repeat
- #964 make ripple touch events passive
- #962 Grid list: handle tile order and length changes
- 3d6f299 bump angular material styles to 1.1.9
- #915 replace ember-wormhole with ember-maybe-in-element
- #895 fix paper-select positioning when content is scrollable
- #912 add
title
attribute to paper-item - #903 fix progress-circular, now renders correctly in determinate mode
- #873 bump ember-composability tools (removes
project.nodeModulesPath
deprecation message) - cf172a9 proxy
errors
proeprty to paper-autocomplete input - a86534f register ember-paper version in ember inspector
- 37444e6 guard tooltip event handler when destroyed
- #875 add
autofocus
to autocomplete-trigger input - #900 allows paper-radio values to be
0
- #888 add
rel
to paper-button - #911 removes deprecation that caused
validationErrorMessages
computed to never update after it's initialized
- 68f4832 add correct overflow class when dialog does not contain images (fixes #807)
- #811 Fix paper-progress-circular infinite loop in acceptance tests
- #820 Add support for additional CSS class on paper-toast
- 41765e6 fix autocomplete clear button animation
- #834 and 88eca4d paper-toaster: make duration and position configurable application wide
- #846 Add onInvalid action to form
- #849 allow html5 download attribute on paper-button
- 3567c22 add onClick action to paper-input
- 96efe26 add onKeyUp action to paper-input
- #854 fixed error when paper-toaster was used with
swipe
event registered in the event dispatcher - 5da2611 add hideAllMessages to paper-autocomplete
- #683 paper-autocomplete now resolves promises passed in the
selected
property - 0b72622 make sure paper-tooltip handlers do not run when tooltip is destroyed
- d692555 paper-menu is now correctly positioned when used inside liquid-fire containers
- 630f803 you can now use an
isSelected
property on paper-tabs yieldedtab
component ({{#tabs.tab}}
). Especially useful with routeis-active
helpers. - 1dcd802 menu-item now supports
href
attribute - #868 paper-autocomplete respects dropdownClass just like ember-power-select
- 399d60c make paper-item support target attribute
- #802 allow icons to have tooltips.
- #772 fix tabs ink-bar in dialogs.
- db3b46c paper-tooltip is now a tagless component and proxies
class
attributes to the tooltip element class. - 81c4acd Speed dials are now available.
- 8544228 fix going to tabs next page
- 25432c9 and 13a0294 add
center
andstretch
options to tabs.stretch
can be a match media query. - #632 and #623 BUGFIX - paper-chips:
- Don't explicitly close autocomplete on input blur.
- Don't use
cursor: text
ifreadOnly
is true. - Adds the ability to click a chip to highlight it.
- Adds the ability to click anywhere in the chips element to give the input focus.
- Fixed issues with focus being left behind on autocomplete and contact chips elements.
- #377 BUGFIX -
progress-linear
: decimal values resulted in buggy animation - #770 Allow
paper-chips
andpaper-contact-chips
to have customizable search action and matcher.
- #730 ready for fastboot 1.0
- #752 Tooltips are now available. Contrasts are now set correctly.
- #750 Toasts are now available.
- #753, #755 and bc90bea Tabs are now available.
- #739 Grid list was updated:
- now uses camelCased attributes, just like the rest of the project
- uses contextual components api, i.e
{{#paper-grid-list as |grid|}}{{#grid.tile}}
. - no more separate responsive-related attributes. Related attributes were merged and now you can specify responsive breakpoints in the same attribute.
- see the docs for more information on the new usage
- #615 this fixes a problem with paper-chips on blur (#611)
- d0e0b94 paper-item now accepts an
href
attribute. Hint: useember-href-to
addon to make paper-items that change routes. Same for buttons! - #737 fixed bug that happened when overriding colors with a custom palette
- #679 fix outline on paper-menu
- #699 Removed paper-wormhole initializer in favor of the
contentFor
hook. This makes ember-paper more acceptance test friendly. - updated Angular Material to 1.1.4 version
- paper-item secondary controls now need to be wrapped in a
<div class="md-secondary-container">
to get the proper padding and positioning. - paper-progress-circular was rewritten using svg. No longer supports
"25%"
like strings for diameter. Has some new interesting customization features. - no more backporting styles needed!
- paper-item secondary controls now need to be wrapped in a
- #707 paper-dialog-inner's image load events are now properly cleaned up
- 51a6250 icons are now absolutely sized (line-height, min-height, font-size, etc), from the
size
property - #720 add
opaque
option topaper-dialog
component (defaults totrue
). - #726 update eps to 1.8.5 version. An internal change, but clears some deprecation messages and bugs.
- 56b84cf fix sliders on android browsers
- 77274a0 set md-dragging class correctly. attach recognizers to the whole slider. big usability improvement.
- #670 paper-form yielded values had the length of validation messages. Now they are correctly coalesced to booleans.
- 5c66511 bump ember-composability-tools to
0.0.8
- 78b6efb and 7cb32b0 paper-form: trigger onValidityChange when global isTouched changes
- 4b168ec yield isTouched and isInvalidAndTouched
- 9f3da49 Fixes bug in slider dragging.
- 7ec7a7b Removes accidental text selection while dragging slider on Safari.
- 94c8ad9 Validation params can now change and the correct validation messages will appear (e.g change required from
true
tofalse
after render). - 3cec77c Allow sidenav's
lockedOpen
to be toggled. - #649
paper-form
now renders a<form>
html tag. This is for the greater good. If you want to keep it tagless, please use{{#paper-form tagName=""}}
. - 9c09fd0 update angular material to
v1.0.7
- 948db82 update angular material to
v1.0.8
- f407257 checkboxes now have an optional indeterminate mode. If
indeterminate
is true it will always take precedence overvalue
. - 8a5e370 update angular material to
v1.0.9
- 10fddd9 Enhance customizability paper-{form, input, radio-group}
- a86bb64 fix paper-slider on iOS devices
- #663 Fix binding style attribute warning in paper-backdrop
- a03eccf paper-form's
onValidityChange
now sendsisValid
,isTouched
andisInvalidAndTouched
- #636 Consuming apps can now specify
ENV['ember-paper'].insertFontLinks
to prevent the insertion of google fonts links in the head tag. This is especially useful if you want to include your own fonts. - 4d363ff
paper-slider
is now a DDAU component. It will trigger anonChange
action with the new value. It is up to you to update the value yourself (likepaper-input
,paper-checkbox
,paper-switch
, etc).
- #572 updated paper-slider. Smoother sliding and you can slide without having the cursor above the slider, like normal sliding.
- #626 Add autocorrect and autocapitalize to paper-input passThru attributes
- #629 ember-paper is now able to retrieve the parent application while being used from another addon
- 1465662 update eps and ebd
- #594 ember-paper is now compatible with ember-engines. As a side effect, we're no longer importing
hammerjs
,matchmedia-polyfill
andpropagating-hammerjs
from bower. Feel free to delete them from your app's bower.json. ember-paper will keep track of its dependencies now. - e3a2f6b update ember and ember-cli
- 57d6b40 bump eps (1.0.0), ebd and wormhole
- 695650 Make backdrops work in iOS
- #600 fix unwanted repositions in async paper-select
- 4134ccd remove
onValidityChange
call on component destroy - a463108 remove leftover auto-generated
app.scss
that was causing some errors
- e923c51 fix sidenav opening glitch
- 741e03e fix bug on sidenav unregistration
- 6c980fb
paper-item
now yieldscheckbox
,switch
andbutton
controls. These controls get proxied bypaper-item
clicks. - #577
paper-list
update. Specifyseconday=true
when you want controls to be placed on the right side ofpaper-item
. - 350a2c7 Use timeouts to delete dialog clones after transition. Fixes bug where dialog clones were not removed.
- 82c53e4 Bugfix for for npm module resolution
- #562 Close autocomplete autocomplete's dropdown on tabKey
- #563 Make autocomplete more similar to paper-input (required star and passThru hash)
- a4acae4 Remove usage of
Ember.K
- #560
paper-autocomplete
works withallowClear
+ floating label - #567
paper-autocomplete-highlight
now highlights non-string labels - #527 Add paper-chips & paper-contact-chips
- #571 Allow css class on paper dialog and its container
- #542 paper-form now yields a submit button
- #549 Allow
title
attribute in paper-button - #551 avoids calling setValue when
paper-input
is destroyed - #552
paper-autocomplete
searchText is now reseted properly
- #531 paper-select focus fix - doesn't call focusTarget.focus if there is no focusTarget (which is perfectly possible)
- #507 replace all instances of attribute based flex layout and replace with class based ones
- #469 Set the value before growing the textarea on render
- #541 allow touch devices to interact with autocomplete
- #395 The Great Update of paper-menu et al:
paper-menu
was updated. It uses ember-basic-dropdown under the hood and the API is the samepaper-select
andpaper-autocomplete
were updated. They use ember-power-select under the hood and the API is the same- See the referenced projects and ember-paper's documentation examples to understand the new API
- Special thanks to the champions of this update @xomaczar and @ibarrick
- #521 Update Angular SCSS import to work with yarn and npm3 flat node_modules
- #520 fixes issues with people seeing
regeneratorRuntime is not defined
- #515 paper-icon: set md-font-icon attribute to apply correct width
- #466 added autoprefixer configuration option
- #472 update ember-css-transitions
- #511 allow inner dialog clicks to bubble
- 5f35cf5 Glimmer 2 compatible
- #506 Add super calls inside paper-input lifecycle hooks (fixes paper-form)
- #441 fixed fastboot service check
- #449 Update
ember-css-transitions
to0.1.4
- #446 update
ember-wormhole
to^0.4.0
- This version uses an updated version of
ember-css-transitions
from github rather than npm. - #384 update sidenav
paper-nav-container
was renamed topaper-sidenav-container
locked-open
was renamed tolockedOpen
- sidenav opening now follows DDAU with the
open
attribute andonToggle
action - animations work
- there is a
paperSidenav
service that allows sidenav toggling across the application paper-sidenav-toggle
no longer sets a class to hide at certain breakpointspaper-sidenav-toggle
is now tagless. It is essentially a functional component that yields an action to its blockpaper-sidenav
now can use aposition
param that positions the sidenavleft
(default) orright
paper-backdrop
actiononTap
changed toonClick
- #408 added paper-form component.
paper-input
'sonInvalid
action renamed toonValidityChange
- #430 added fastboot support. Removed errors associated with
document
when runningember fastboot
- #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.
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 master
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 #e-paper channel on Discord. 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 thankebab-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.- renamed the
paper-radio-group
paper-radio
to justradio
-- usage would now begroup.radio
as opposed togroup.paper-radio
. - Flex and layout attributes are replaced by classes (see the documentation).
flex=true
on Ember Paper components has also been removed and replaced by classes.
- 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
.