Skip to content

Latest commit

 

History

History
444 lines (370 loc) · 42.8 KB

CHANGELOG.md

File metadata and controls

444 lines (370 loc) · 42.8 KB

Ember Paper Changelog

1.0.0-beta.27

  • 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+.

1.0.0-beta.26

  • f117ca0 fix paper-input not clearing text

1.0.0-beta.25

  • #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)

1.0.0-beta.24

  • #1048 fix paper-tabs issues (fixes #858, #759, #893)
  • 6a1fff3 depend on angular-material-styles npm package instead of angular-material-source git dependency (fixes #1069)

1.0.0-beta.23

  • #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)

1.0.0-beta.22

  • 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

1.0.0-beta.21

  • #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

1.0.0-beta.20

  • 9503337 fix changing paper-input value to empty string

1.0.0-beta.19

  • #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.

1.0.0-beta.18

  • 68ca72e not using ember-cli-sass-variables-export addon anymore since it doesn't output the generated files when using ember build (just ember s). We're manually including the generated files until we find a better solution. The palettes aren't likely to change anyway.

1.0.0-beta.17

  • d931d19 Fix several issues with default colors, hues and contrasts.

1.0.0-beta.16

  • e82f32d Fix tooltip contrast color.

1.0.0-beta.15

  • 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.

1.0.0-beta.14

  • 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 deprecated contrastColor function.

1.0.0-beta.13

  • 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.

1.0.0-beta.12

  • f63c337 fix for accidentally broken palette generation on beta.11

1.0.0-beta.11

  • 0184166 move ember-invoke-action to dependencies
  • 07f591c rename generateTheme util to generatePalette
  • 20b99f9 generatePalette should return string representations and not tinycolor instances

1.0.0-beta.10

  • #973 fix ember 3.4 closure actions deprecation

1.0.0-beta.9

1.0.0-beta.8

  • #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

1.0.0-beta.7

  • 3d6f299 bump angular material styles to 1.1.9

1.0.0-beta.6

  • #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

1.0.0-beta.5

  • #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

1.0.0-beta.4

  • 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 yielded tab component ({{#tabs.tab}}). Especially useful with route is-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

1.0.0-beta.3

  • #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.

1.0.0-beta.2

  • 8544228 fix going to tabs next page
  • 25432c9 and 13a0294 add center and stretch 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 if readOnly 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 and paper-contact-chips to have customizable search action and matcher.

1.0.0-beta.1 (July 20, 2017) - Chester Bennington release. RIP.

  • #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: use ember-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

1.0.0-alpha.20 (June 26, 2017)

  • #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!
  • #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 to paper-dialog component (defaults to true).
  • #726 update eps to 1.8.5 version. An internal change, but clears some deprecation messages and bugs.

1.0.0-alpha.19 (March 20, 2017)

  • 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.

1.0.0-alpha.18 (March 7, 2017)

  • 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

1.0.0-alpha.17 (March 6, 2017)

  • 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 to false 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 over value.
  • 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 sends isValid, isTouched and isInvalidAndTouched

1.0.0-alpha.16 (February 14, 2017) <--- forever alone

  • #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 an onChange action with the new value. It is up to you to update the value yourself (like paper-input, paper-checkbox, paper-switch, etc).

1.0.0-alpha.15 (January 26, 2017)

  • #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 and propagating-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

1.0.0-alpha.14 (January 6, 2017)

  • 9c4b874 paper-item now proxies radio buttons
  • f07be76 templates are now in the addon folder

1.0.0-alpha.13 (December 29, 2016)

  • 57d6b40 bump eps (1.0.0), ebd and wormhole
  • 695650 Make backdrops work in iOS
  • #600 fix unwanted repositions in async paper-select

1.0.0-alpha.12 (December 14, 2016)

  • 4134ccd remove onValidityChange call on component destroy
  • a463108 remove leftover auto-generated app.scss that was causing some errors

1.0.0-alpha.11 (December 2, 2016)

  • e923c51 fix sidenav opening glitch
  • 741e03e fix bug on sidenav unregistration
  • 6c980fb paper-item now yields checkbox, switch and button controls. These controls get proxied by paper-item clicks.
  • #577 paper-list update. Specify seconday=true when you want controls to be placed on the right side of paper-item.
  • 350a2c7 Use timeouts to delete dialog clones after transition. Fixes bug where dialog clones were not removed.

1.0.0-alpha.10 (November 24, 2016)

  • 82c53e4 Bugfix for for npm module resolution

1.0.0-alpha.9 (November 24, 2016)

  • #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 with allowClear + 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

1.0.0-alpha.8 (November 10, 2016)

  • #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

1.0.0-alpha.7 (November 2, 2016)

  • #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

1.0.0-alpha.6 (October 27, 2016)

  • #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 same
    • paper-select and paper-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

1.0.0-alpha.5 (October 13, 2016)

  • #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

1.0.0-alpha.4

  • #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)

1.0.0-alpha.3

  • #441 fixed fastboot service check
  • #449 Update ember-css-transitions to 0.1.4
  • #446 update ember-wormhole to ^0.4.0

1.0.0-alpha.2

  • This version uses an updated version of ember-css-transitions from github rather than npm.
  • #384 update sidenav
    • paper-nav-container was renamed to paper-sidenav-container
    • locked-open was renamed to lockedOpen
    • sidenav opening now follows DDAU with the open attribute and onToggle 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 breakpoints
    • paper-sidenav-toggle is now tagless. It is essentially a functional component that yields an action to its block
    • paper-sidenav now can use a position param that positions the sidenav left (default) or right
    • paper-backdrop action onTap changed to onClick
  • #408 added paper-form component. paper-input's onInvalid action renamed to onValidityChange
  • #430 added fastboot support. Removed errors associated with document when running ember fastboot

1.0.0-alpha.1

  • #365 paper-button: Support for fab and mini.
  • #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 the md-toolbar-tools class.
  • #370 paper-icon now once again supports kebab cased icon names, and a size in pixels.
  • #372 paper-button can generate a link elements, with an href and optional target attribute.

1.0.0-alpha.0

  • 1a9b641 paper-progress-circular now uses diameter instead of md-diameter
  • cf2a8da paper-progress-linear now uses bufferValue instead of buffer-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 of selected
  • #286 paper-radio now sends the action onChange instead of changed 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 renamed onTap 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 of customValidation. 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 of icon-button
    • paper-button now uses the action onClick instead of action
  • #334
    • paper-menu-item now uses action onClick instead of action.
    • paper-item now uses action onClick instead of action.
    • paper-menu now uses value instead of model.
    • paper-checkbox now uses value instead of checked.
    • paper-switch now uses value instead of checked.
    • paper-select now uses a required onChange action.
    • paper-select now uses attribute itemLabelCallback instead of item-label-callback.
    • paper-select now uses attribute getItems instead of on-open.
    • paper-menu now uses attribute isOpen instead of is-open.
  • #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 to hammer.js . (Also backported to 0.2.14.)
    • Update your project's bower.json to require "hammer.js": "^2.0.8". Remove bower_components/hammerjs. Run bower cache clean, then bower install.
  • 5521f3b Validation status on paper-input is exposed via onInvalid action.

Migrating from releases prior to 1.0

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 than kebab-cased.
  • Components which accept user input, such as paper-input, paper-checkbox, paper-switch and paper-select now receive their input via the one-way value attribute and notify of a changed value by the onChange 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's size attribute now takes a size in pixels, and lg or sm values are no longer supported.
  • renamed the paper-radio-group paper-radio to just radio -- usage would now be group.radio as opposed to group.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.

0.2.14

  • Updated the dependency on Hammer.js from hammerjs to hammer.js.
  • Update your project's bower.json to require "hammer.js": "^2.0.8". Remove bower_components/hammerjs. Run bower cache clean, then bower install.

0.2.13

  • #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)

0.2.12

  • #307 Add paper-card title components
  • #283 Adds support for fullTextSearch attribute on {{paper-autocomplete}}. Enables passing Promises to the model attribute on {{paper-autocomplete}}. Docs updated.
  • #311 Fixed issue with paper-wormhole div in <head> tag.

0.2.11

  • #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"}}

0.2.10 (Nov 23, 2015)

  • #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

0.2.9 (Sep 20, 2015)

  • #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.

0.2.8 (Aug 19, 2015)

  • #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

0.2.7 (Aug 11, 2015)

  • #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.

0.2.6 (Jul 20, 2015)

  • #135 Fix deprecation bug in linear progress indicator.
  • #136 Added circular progress indicator.
  • Update to Ember-cli 1.13.1.

0.2.5 (Jul 18, 2015)

  • #114 Added linear progress indicator.
  • Created a color mixin. Specify primary=true, accent=true or warn=true to apply the respective color classes.
  • Paper button now applies md-icon-button if icon-button=true.

0.2.4 (Jul 10, 2015)

  • #113 Added support for Ember 1.13.x hasBlock.

0.2.3 (Jul 9, 2015)

  • #120 Rewrite {{paper-input}} from scratch with validation messages. Deprecated {{paper-text}} in favor to the new {{paper-input}}. The transition should be easy.
  • #121 Added Changelog