The basic dropdown you ember app needs
OTHER License
Bot releases are hidden (Show)
Published by mkszepp 7 months ago
Published by mkszepp 7 months ago
Published by mkszepp 7 months ago
Published by mkszepp 7 months ago
Published by mkszepp 7 months ago
Published by mkszepp 8 months ago
Published by mkszepp 8 months ago
aria-owns
& aria-controls
(@mkszepp)template-registry
and activate glint in test-app
/ docs
(@mkszepp)babel.config.json
to latest blueprint (@mkszepp)Published by mkszepp 9 months ago
ember-basic-dropdown.scss
(@mkszepp)Published by mkszepp 10 months ago
Published by mkszepp 10 months ago
@types/ember-qunit
& @types/ember__test-helpers
(@mkszepp)Published by mkszepp 11 months ago
Published by cibernox over 5 years ago
This is the final 2.0 release of the addon, refactored to use Ember Octane's idioms and a nicer syntax with designed to be used with angle-bracket syntax.
Published by cibernox over 5 years ago
This is the first alpha release towards an octane-compatible release.
It has a few breaking changes.
Some of them are intentional and will stay:
{{#dd.trigger}}
and {{#dd.content}}
. Now they are expected to be invoked with <dd.Trigger>
and <dd.Content>
. Note that the names are capitalized. This is done because the new convention that components start with a capital letter.@class
, @defaultClass
, aria-*
and most of those properties doesn't work anymore. This addon now expects to be used with angle-bracket syntax. In angle bracket syntax there is a distinction between component arguments (those preceded with an @
sign) and html attributes, and the latter are a much better way of passing any arbitrary attribute to any of the components and sub-components of this addon.eventType
of the trigger changed from "mousedown"
to "click"
. That means that dropdown used to open with the mousedown
events will now open with click
events, which is a saner default. Since most of the time those events are fired together most people won't notice any difference, but in testing if someone was explicitly firing mouseodown events tests would have to be updated.rootEventType
has changed from "mousedown"
to "click"
. That means that before dropdowns would closeOne particular one is not intentional and I hope will be fixed before the final release:
Published by cibernox over 6 years ago
When compared with the last 1.0.0-beta.X version, it contains no changes whatsoever.
The relevant breaking changes when compared with the last 0.X version are:
ember-wormhole
, require Glimmer2.This means also that this new version requires a version of Ember >= 2.10, which is the first one that uses glimmer2 underneath. Ember 2.10 was released in November 2016, so I think it's a reasonable requirement for 2018 apps. However, that haven't updated can continue to use version 0.34, as it has identical features.
This addon exposes two test helpers that can be registered as globals: clickDropdown
and tapDropdown
. Since with the new test syntax for acceptance tests proposed in RFC #268 will not support that kind of global helpers, those helpers have been deprecated in favor of explicitly importing helpers: clickTrigger
and tapTrigger
from 'ember-basic-dropdown/test-support/helpers', or even better, use click
and tap
from @ember/test-helpers
.