- Added a CONTRIBUTING.md file
- Updated travis CI build to use pr-bumper version 2
- Updated PULL_REQUEST_TEMPLATE.md for pr-bumper
#none#
support - Updated secure auth tokens
- Updated ember-runtime-enumerable-includes-polyfill to version 2 in PR: #51
Delay the initialization of the block-slot
to the didInsertElement
callback.
Assertion Failed: You modified "isActive" twice on <xxx@component:yield-slot::ember1525> in a single render. It was rendered in "component:yield-slot" and modified in "component:block-slot". This was unreliable and slow in Ember 1.x and is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.
Expand ember-prop-types dependency range and remove unnecessary installation blueprint.
- Added a PULL_REQUEST_TEMPLATE.md file
- 2.10.0 now freezes params, need to clone Array before
Ember.A
ing
- Forgot one instance where contains was used. Converting that to includes fixes the deprecations in 2.8.
- Use includes method over contains to fix deprecation in Ember 2.8
- Removed the 'complex' scenario from the demo, this should be written in a clearer way
- Yield slots will now find the nearest component with slots to register against - a direct parent with slots is no longer required
- Added ember-prop-types to the addon blueprint to install the dependency during
ember install
- Added ember-prop-types to the addon blueprint to install the dependency during
ember install
Supporting nested block slots
- ensures that the array is unique per instance
fixes #31
- Overhauled the project to provide a cleaner/simpler interface and unlock additional features
- Updated the README and demo to provide a clearer use case for the addon and more usage examples
- Refer to the demo for the full feature set and syntax
- A mixin is now required to enable slots for a component:
import SlotsMixin from 'ember-block-slots
block-params
are now specified againstyield-slot
instead ofyield
as |slot|
is no longer required on the component interfaceslot
is no longer required on theblock-slot
interface
- Fixed added arguments to super() calls in block-slot.js and yield-slot.js
No CHANGELOG section found in Pull Request description.
Use a # CHANGELOG
section in your Pull Request description to auto-populate the CHANGELOG.md
- Updated Array.from usage and instead we define each computed property for yieldedSlot.params.
- Removed Unit test for block-slot component since we do not need to verify the number of yieldedSlot.params being generated dynamically.
- Removed Entry in travis.yml to run on the latest version of Firefox.