UNPKG

26.6 kBMarkdownView Raw
1# 3.0.16
2- Update ember and many other dependencies
3
4# 3.0.15
5- Fix conditional import for Embroider compatibility, using @embroider/macros.
6
7# 3.0.14
8- Import `htmlSafe` from `@ember/template` to fix deprecation warning.
9- Migrate to github actions and fix stuff to make CI green again.
10# 3.0.13
11- Use `ember-style-modifier` in one more place.
12- Migrate to github actions and fix CI on beta and canary. This was done by relaxing a dependency
13 on the embroider utils.
14
15# 3.0.12
16- Use `ember-style-modifier` for setting styles on element instead of using inline styles. This allows to
17 use the addon on webs that forbid inline styles on they CSP config.
18
19# 3.0.11
20- Relax dependency on ember-truth-helpers
21
22# 3.0.10
23- More IE11 fixes.
24
25# 3.0.9
26- Use `assign` polyfill for IE11 support.
27
28# 3.0.8
29- Update `ember-maybe-in-element` to 2.0.1, which fixes deprecation about `{{-in-element}}` usage.
30
31# 3.0.7
32- Add back `onXXX` event handlers to the trigger and content components, removed in the transition to angle bracket components,
33 because make some patterns easier as it allows to set handlers to those events when defining the contextual component, instead of
34 in invocation time
35
36# 3.0.6
37- [BUGFIX] Restore ability to change `horizontalPosition` and `verticalPosition` after initialization, lost
38 at some point in the transition to glimmer components.
39
40# 3.0.5
41- TS: Fix type definition: Allow touch events in `handleRootMouseDown` on another location.
42
43# 3.0.4
44- TS: Fix type definition: Allow touch events in `handleRootMouseDown`.
45
46# 3.0.3
47- A11y fix: When the component is not expanded, it must have `aria-expanded="false"`.
48
49# 3.0.2
50- Ensure `this._super` in invoked in the `included` hooks.
51
52# 3.0.0-beta.8
53- [BUGFIX] Ensure the `otherStyles` is initialized with a copied object.
54
55# 3.0.0-beta.7
56- [CHORE] Update to `@glimmer/component` 1.0.0
57- [BUGFIX] If there's no enough space for the dropdown above nor below the trigger, put it below.
58
59# 3.0.0-beta.6
60- [CHORE] Improve exported types
61
62# 3.0.0-beta.5
63- [BUGFIX] Don't use typescript in /app folder
64
65# 3.0.0-beta.4
66- [CHORE] Convert to typescript
67
68# 3.0.0-beta.3
69- [BUGFIX] Fix reposition of dropdown after scroll or window resize events
70
71# 3.0.0-beta.2
72- [CHORE] Update to @glimmer/component 1.0.0-beta.2
73
74# 3.0.0-beta.1
75- No changes since alpha 1
76
77# 3.0.0-alpha.1
78- [MAYBE-BREAKING] Update to glimmer components
79
80# 2.0.10
81- [BUGFIX] Use `set` when changing `previousVerticalPosition` and `previousHorizontalPosition`.
82
83# 2.0.9
84- [CHORE] Update some dependencies. More importantly `ember-element-modifiers` to 1.0.2 which changes its behavior.
85
86# 2.0.8
87- [BUGFIX] Correct condition in which the development assertion added in 2.0.6 is thrown. Logic was reversed.
88
89# 2.0.7
90- [BUGFIX] Update `ember-element-helper` to 0.2.0 to fix bug in engines
91
92# 2.0.6
93- [ENHANCEMENT] Add development assertion to help people understand the somewhat cryptic error message that
94 appeared when there was no element with id `ember-basic-dropdown-wormhole` in the document
95
96# 2.0.5
97- [CHORE] Update npm packages to tests pass in beta and canary
98- [BUGFIX] Ensure Ember doesn't complain about not using `set` to update values.
99
100# 2.0.4
101- [ENHANCEMENT] Allow to pass a `@defaultClass` argument to the content. This is necessary to be able to
102 assign classes while the `{{component}}` helper does not allow to pass attributes like in angle-bracket syntax.
103
104# 2.0.3
105- [ENHANCEMENT] Allow to pass a `@defaultClass` argument to the trigger. This is necessary to be able to
106 assign classes while the `{{component}}` helper does not allow to pass attributes like in angle-bracket syntax.
107
108# 2.0.2
109- [BUGFIX] Move `ember-truth-helpers` to `dependencies`.
110
111# 2.0.1
112- [ENHANCEMENT] Expose `ember-basic-dropdown/utils/calculate-position` as public API.
113
114# 2.0.0
115- [CHORE] Setup/teardown mutation observer using dedicated element modifiers.
116- [CHORE] Refactor animation logic to use `{{did-insert}}`/`{{will-destroy}}` element modifiers.
117
118# 2.0.0-beta.3
119- [BREAKING] Remove `onMouseDown`,`onClick`,`onKeyDown` and `onTouchEnd` attributes from the `<dropdown.Trigger>` component.
120 Users can just use the `{{on}}` modifier to attach events now, although that means that to prevent the default event handler from being called for those events,
121 instead of `return false`, they must call `event.stopImmediatePropagation()` like they would with regular events.
122
123# 2.0.0-beta.2
124- [BREAKING] Remove `onMouseEnter`,`onMouseLeave`,`onFocus`,`onBlur`,`onFocusIn`,`onFocusOut` and `onKeyUp` from the `<dropdown.Trigger>` component.
125 Users can just use the `{{on}}` modifier to attach any event they want.
126- [BREAKING] Remove `onFocusIn`, `onFocusOut`, `onMouseEnter`, `onMouseLeave` and `onKeyDown` from the `<dropdown.Content>` component. Users
127 can just use the `{{on}}` modifier to attach any event they want.
128
129# 2.0.0-beta.1
130- [CHORE] Now that Ember 3.11 is released, this can go to beta.
131
132# 2.0.0-alpha.X
133- Because of some limitation of splattributes in AngleBracket components, the addons requires Ember 3.11+
134- Public API changed: Previously the contextual component of this addon were invoked with `{{#dd.trigger}}` and `{{#dd.content}}`.
135 Now they are expected to be invoked with `<dd.Trigger>` and `<dd.Content>`. Note that the names are capitalized. This is done
136 because the new convention that components start with a capital letter.
137- Passing `@class`, `@defaultClass`, `aria-*` and most of those properties doesn't work anymore. This addon
138 now expects to be used with angle-bracket syntax. In angle bracket syntax there is a distinction between
139 component arguments (those preceded with an `@` sign) and html attributes, and the latter are a much
140 better way of passing any arbitrary attribute to any of the components and sub-components of this addon.
141- The default `eventType` of the trigger changed from `"mousedown"` to `"click"`. That means that dropdown
142 used to open with the `mousedown` events will now open with `click` events, which is a saner default.
143 Since most of the time those events are fired together most people won't notice any difference, but
144 in testing if someone was explicitly firing mouseodown events tests would have to be updated.
145- The default `rootEventType` has changed from `"mousedown"` to `"click"`. That means that before dropdowns would close
146 as soon as the user mousedowns outside the dropdown, but not it will listed to click events by default.
147 It's unlikely this change will be noticed by anyone.
148
149# 1.1.2
150- [ENHANCEMENT] Allow to bind the type attribute of the trigger.
151
152# 1.1.1
153- [ENHANCEMENT] Allow to customize the root event the component listens to in order to close when you
154 click outside it. It has historically been `mousedown`, but now it can be `click`.
155 This allows to scroll the page using a scrollbar.
156 In a future version `click` will become the default.
157
158# 1.1.0
159- [REAPPLY] Revert the revert in 1.0.6. Technically identical to 1.0.5
160
161# 1.0.6
162- [REVERT] Revert change in 1.0.5 as it is a breaking change for Ember Power Select. Will fix EPS and apply again.
163
164# 1.0.5
165- [BUGFIX] A11y improvement: The trigger doesn't have an `aria-owns` attribute until the dropdown
166 is open, because it's illegal for an aria-owns to reference an element (the content) that it's not
167 in the page (yet).
168
169# 1.0.4
170- [BUGFIX] Fix code to find the destination element in fastboot.
171
172# 1.0.3
173- [FEATURE] Allow `onKeyUp` action to added to the trigger.
174
175# 1.0.2
176- [FEATURE] Allow `onKeyDown` action to the content component
177
178# 1.0.1
179- [DOCS] Document `eventType` option that has existed for a while now.
180- [FEATURE] Add `stopPropagation` option to the trigger to prevent the propagation of the event
181
182# 1.0.0
183- NO NEW CHANGES, just version 1.0. It was about time.
184
185# 1.0.0-beta.8
186- [CLEANUP] Remove another reduntad `self.` prefix.
187
188# 1.0.0-beta.7
189- [CLEANUP] Remove unnecessary `self.` prefix to access a few globals like `document` or `window`.
190
191# 1.0.0-beta.6
192- [CLEANUP] Remove passing `to="id-of-destination"` that has been deprecated for a long time.
193
194# 1.0.0-beta.5
195- [BUGFIX] Fix event being fired on destroyed trigger in Ember 3.2 and beyond.
196
197# 1.0.0-beta.4
198- [FEATURE] Allow dropdowns with a custom `calculatePosition` function to return in the `styles` object
199 css properties other than `top`, `left`, `right`, `height` and `width`. Now users can set any arbitrary
200 properties. P.e. `max-height`, `z-index`, `transform`....
201# 1.0.0-beta.3
202- [INTERNAL] Stop depending internally on `ember-native-dom-helpers`. Now the utilities in `ember-test-helpers`
203 have been ported to `@ember/test-helpers`, so they are not needed anymore.
204
205# 1.0.0-beta.0
206- [DEPRECATION] Deprecate global acceptance helpers `clickDropdown` and `tapDropdown`. Suggest to
207 explicitly import `clickTrigger`/`tapTrigger` or even better, just use `click`/`tap` from `@ember/test-helpers`.
208- [BREAKING] Drop ember-wormhole addon, use `#-in-element` built-in instead. Less size, more performance.
209- [BREAKING] Drop support for Ember <= 2.9. This addon will require Ember 2.10 or greater to work.
210
211# 0.34.0
212- [BREAKING] Delete the `/test-support` folder, use `addon-test-support` instead. That means people
213 should import helpers from `ember-basic-dropdown/test-support/helpers` instead of using relative paths
214 like `../../helpers/ember-basic-dropdown`, as they are brittle and change with nesting.
215- [BUGFIX] Ensure that the dropdown is not open by the right button of the mouse.
216
217# 0.33.10
218- [ENHANCEMENT] Allow `horizontalPosition` to work when `renderInPlace=true`
219
220# 0.33.9
221- [ENHANCEMENT] Allow to bind the role attribute of the trigger
222- [ENHANCEMENT] Added `preventScroll=true` option to the `dropdown.content` component to "frezze" all
223 mousewheel-triggered scrolling happening outside the component. Scrolling on touch devices using
224 touchmove can still occur.
225
226# 0.33.7
227- [ENHANCEMENT] Enable `renderInPlace=true` dropdowns to be dynamically repositioned. (#350)
228- [BUGFIX] Ensure the inline `style` attribute does not output `undefinedpx` when some style is
229 undefined. Also, ensure that both `left` and `right` cannot be applied simultaneous, as it doesn't
230 make sense.
231
232# 0.33.6
233- [BUGFIX] Prevent dropdowns with `renderInPlace=true` from being incorrectly opened twice. This had
234 no evident effects, but lead to the events in the `dd.Content` component to be added twice.
235- [BREAKING] Remove support for IE9/IE10.
236
237# 0.33.5
238- [ENHANCEMENT] Allow `transitioningInClass` and `transitioningOutClass` to be several classes by
239 passing a string with spaces in it.
240
241# 0.33.4
242- [BUGFIX] Allow to use `horizontalPosition="center"` along with `renderInPlace=true`.
243
244# 0.33.3
245- [BUGFIX] When the component is rendered in-place, it still has to have the `--below` class
246 needed. While not used for positioning, it was used for animations.
247
248# 0.33.2
249- [BUGFIX] Fix positioning problem when the body has position relative.
250
251# 0.33.1
252- [BUGFIX] Move test helpers to `/addon-test-support` and use `/test-support` only for reexporting
253 so apps don't require babel 6.6.0+ to work.
254
255# 0.33.0
256- [INTERNAL] Stop relying in `Ember.testing` to decide the wormhole destination. Not just uses
257 the environment.
258- [ENHANCEMENT] This component by default opens with `mousedown` events, not with `click`. This
259 behavior has its reasons but it's also surprising for some users and it might not be adequate
260 sometimes. Now the trigger accepts an `eventType="mousedown" | "click"` (defaults to `"mousedown"` as today). This doesn't affect touch devices, as those are opened/closed
261 with the `touchend` event.
262- [INTERNAL] Use the new import paths (e.g: `import Component from '@ember/component`)
263
264# 0.32.9
265- [ENHANCEMENT] Add `auto-right` option for horizontal position. It's like `auto`, but it defaults to
266 being anchored to the right unless there is not enough room towards the left for the content.
267
268# 0.32.8
269- [ENHANCEMENT] Update `ember-native-dom-helpers` to `^0.5.0`.
270
271# 0.32.7
272- [BUGFIX] Guard agains edge case where positioning could fail if the select close and opened extremely fast
273
274# 0.32.6
275- [BUGFIX] Add global events to the `document` instead of the `body`, so the dropdown works
276 even if the body is smaller than the height of the window
277
278# 0.32.5
279- [ENHANCEMENT] Update `ember-native-dom-helpers` to 0.4.0
280
281# 0.32.4
282- [BUGFIX] Fix broken render in place after refactor for allowing dropdowns in scrollable
283 elements.
284
285# 0.32.3
286- [ENHANCEMENTE] Allow to nest dropdowns infinitely. Thanks to @alexander-alvarez
287
288# 0.32.2
289- [BUGFIX] Stop looking for scrollable ancestors on the BODY or HTML
290
291# 0.32.1
292- [BUGFIX] Allow to work if the container has no offsetParent. This happens if the body
293 is relative.
294
295# 0.32.0
296- No changes in previous beta
297
298# 0.32.0-beta.0
299- [ENHANCEMENT] Dropdowns inside elements with their own scroll are finally supported! It works
300 even inside elements with scroll inside another element with scroll inside pages with scroll.
301- [BREAKING/BUGFIX] Closes #233. The positioning logic now accounts for the position of the
302 parent of container if it has position relative or absolute. The breaking part is that
303 custom `calculatePosition` functions now take the destination element as third arguments,
304 and the object with the options has now been moved to thr forth position.
305- [BREAKING] Passing `to="id-of-elmnt"` to the `{{#dropdown.content}}` component is deprecated.
306 The way to specify a different destination for `ember-wormhole` is now by passing `destination=id-of-elmnt`
307 to the top-level `{{#basic-dropdown}}` component. The old method works but shows a deprecation message.
308
309# 0.31.5
310- [INTERNAL] Update ember-concurrency to a version that uses babel 6.
311
312# 0.31.4
313- [BUGFIX] Fix calculation of the screen's width when browser shows a scrollbar, which
314 affected dropdowns with `horizontalPosition="right"`.
315- [BUGFIX] Fix initial CSS positioning flickering caused by refactor that removed jQuery.
316
317# 0.31.2
318- Now the addon is 100% jQuery-free. Docs page doesn't use jQuery either. Tests in CI run
319 without jquery so if anyone inadvertenly relies on it, tests will fail.
320- Rewrite tests to use `async/await` with the latest `ember-native-dom-helpers`
321
322# 0.31.1
323- Update to ember-native-dom-helpers 0.3.4, which contains a new & simpler import path.
324
325# 0.31.0
326- [INTERNAL/BREAKING???] Update to Babel 6. This **shouldn't** be breaking, but you
327 never know.
328
329# 0.30.3
330- [BUFGIX] Fix unnecesary line break caused by the wormhole empty div. Solved
331 by making that div be `display: inline`.
332
333# 0.30.1
334- [ENHANCEMENT] Allow the `calculatePosition` function to also determine the height of the
335 dropdown's content.
336
337# 0.30.0
338- [BREAKING] Unify `calculatePosition` and `calculateInPlacePosition`. Now the function receives
339 an `renderInPlace` flag among its options, and based on that it uses a different logic.
340 This reduces the public API surface. This new function is the default export of `/utils/calculate-position`.
341 The individual functions used to reposition when rendered in the wormhole or in-place are
342 available as named exports: `calculateWormholedPosition` and `calculateInPlacePosition`
343
344# 0.24.5
345- [INTERNAL] Use `ember-native-dom-helpers`.
346
347# 0.24.4
348- [ENHANCEMENT] The trigger component now has a bound style property.
349
350# 0.24.3
351- [ENHANCEMENT] Rely on the new `ember-native-dom-helpers` to fire native events instead
352 or rolling out my own solution.
353
354# 0.24.2
355- [BUGFIX] Fix synthetic click on the trigger when happens in SVG items.
356
357# 0.24.1
358- [ENHANCEMENT] Bind `aria-autocomplete` and `aria-activedescendant`.
359- [BUGFIX] Check if the component is destroyed after calling the `onClose` action, as it
360 might have been removed.
361
362# 0.24.0
363- [BREAKING] It is a problem for a11y to have `aria-owns/controls` to an element that it's not
364 in the DOM, so now there is a stable div with the right ID that gets moved to the root
365 of the body when the component opens.
366- [BUGFIX] Fix `clickDropdown` test helper when the given selector is already the selector
367 of the trigger.
368
369# 0.23.0
370- [BREAKING] Don't display `aria-pressed` when the component is opened. The attribute is not
371 present by default, but can be bound from the outside.
372- [BREAKING] Don't display `aria-haspopup` by default, but display it if passed in a truthy value.
373- [BREAKING] Use `aria-owns` instead of `aria-controls` to link trigger and content together.
374
375# 0.22.3
376- [FEATURE] The `dropdown.content` now accepts a `defaultClass` property as a secondary way
377 of adding a class in contextual components that doesn't pollute the `class` property.
378
379# 0.22.2
380- [FEATURE] `clickTrigger` test helper also works when the given selector is the one of
381 the trigger (before it had to be an ancestor of the trigger).
382
383# 0.22.1
384- [FEATURE] It accepts an `onInit` action passed from the outside. Private-ish for now.
385
386# 0.22.0
387- [FEATURE/BREAKING] Allow to customize the ID of the trigger component. Now the dropdown
388 uses a new `data-ebd-id` attribute for query the trigger reliably. Unlikely to be
389 breaking tho.
390
391# 0.21.0
392- [FEATURE] Add LESS support, on pair with the SASS one.
393- [FEATURE] Added `$ember-basic-dropdown-overlay-pointer-events` SASS variable.
394
395# 0.20.0
396- [BREAKING CHANGE] Renamed `onKeydown` event to `onKeyDown` to be consistent with the naming
397 of every other action in the component
398
399# 0.19.4
400- [FEATURE] Allow to pass `onMouseDown` and `onTouchEnd` options actions to subscribe to those
401 events. If the handler for those events returns `false`, the default behaviour (toggle the component)
402 is prevented.
403
404# 0.19.3
405- [FEATURE] Allow to pass `onMouseEnter` and `onMouseLeave` actions to the content, like
406 we allow with the trigger.
407
408# 0.19.2
409- [BUGFIX] Prevent the `touchend` that opens the trigger to trigger a click on the dropdown's content
410 when this appears over the trigger. Copied from hammertime.
411
412# 0.19.1
413- [CLEANUP] Update to `ember-cli-sass` ^6.0.0 and remove `node-sass` from dependencies.
414
415# 0.19.0
416- [BUGFIX] Call `registerAPI` will `null` on `willDestroy` to avoid memory leaks.
417
418# 0.18.1
419- [ENHANCEMENT] Pass the dropdown itself as an option to `calculatePosition` and `calculateInPlacePosition`,
420 so users have pretty much total freedom on that function.
421
422# 0.18.0
423- [ENHANCEMENT] Allow downdowns rendered in place to be positioned above the trigger,
424 and also to customize how they are positioned.
425
426# 0.17.4
427- [ENHANCEMENT] Update to ember-wormhole 0.5.1, which maximises Glimmer2 compatibility
428
429# 0.17.3
430- [BUGFIX] The fix in 0.17.2 that removed `e.preventDefault()` cause both `touchend` and a synthetic `mousedown`
431 events to be fired, which basically made the component to be opened and immediatly closed in touch devises.
432
433# 0.17.2
434- [BUGFIX] Remove `e.preventDefault()` that caused inputs inside the trigger to not be focusable in touch screens
435
436# 0.17.1
437- [BUGFIX] The positioning strategy takes into account the horizontal scroll and it's generally smarter.
438- [BUGFIX] Fixed bug when a dropdown with `horizontalPosition="auto"` passed from left to right, it keeped
439 both properties, modifiying its width implicitly.
440
441# 0.17.0
442- [BREAKING] The object returned by `calculatePosition` now contains the offsets
443 of the dropdown as numbers instead of strings with "px" as unit. This makes easier for people
444 to modify those values in their own functions.
445
446# 0.16.4
447- [ENHANCEMENT] The default `calculatePosition` method is now inside `addon/utils/calculate-position`, so users can import it
448 to perhaps reuse some of the logic in their own positioning functions.
449
450# 0.16.3
451- [BUGFIX] Add forgotten `uniqueId` property to the publicAPI yielded to the block. The `publicAPI` object passes to actions had it
452 but the one in the block didn't.
453
454# 0.16.2
455- [ENHANCEMENT] Allows to customize how the dropdown is positioned by passing a `calculatePosition` function.
456
457# 0.16.1
458- [BUGFIX] Remove automatic transition detection. It never worked properly. It's fundamentally flawed. CSS animations are OK tho.
459
460# 0.16.0
461- [TESTING] Ensure the addon is tested in 2.4LTS
462- [BUGFIX] Fix bug in versions of ember <= 2.6
463
464# 0.16.0-beta.6
465- [BUGFIX] Remove `ember-get-config` entirely. It turns that there is a less hacky way of doing this.
466
467# 0.16.0-beta.5
468- [BUGFIX] Update `ember-get-config` to fix Fastboot compatibility.
469
470# 0.16.0-beta.4
471- [BUGFIX] Guard agains a possible action invocation after the component has been destroyed.
472
473# 0.16.0-beta.3
474- [BUGFIX] Fix broken `horizontalPosition="center"`.
475
476# 0.16.0-beta.2
477- [BUGFIX] Bind `title` attribute in the trigger.
478
479# 0.16.0-beta.1
480- [BUGFIX] Revert glimmer2 compatibility
481
482# 0.16.0-beta.0
483- [BUGFIX] Compatibility with glimmer2.
484
485# 0.15.0-beta.6
486- [BUGFIX] Fix bug detaching event in IE10.
487
488# 0.15.0-beta.5
489- [BUGFIX] The correct behaviour when a dropdown is disabled or the tabindex is `false` should be
490 to not have `tabindex` attribute, not to have a `tabindex` of -1.
491
492# 0.15.0-beta.4
493- [BUGFIX] Don't import `guidFor` from the shims.
494
495# 0.15.0-beta.3
496- [BUGFIX] Preventing the default behaviour from an event doesn't prevent the component from doing
497 the usual thing.
498
499# 0.15.0-beta.2
500- [BUGFIX] Fix edge case that made the component leak memory if the component is removed after a
501 mousedown but before the mouseup events of the trigger. This situation probably almost impossible
502 outside testing.
503
504# 0.15.0-beta.1
505- [ENHANCEMENT] The dropdown can have an overlay element if it receives `overlay=true`.
506
507# 0.15.0-beta.0
508- [BREAKING] `dropdown.uniqueId` is not a string like `ember1234` instead of the number `1234`.
509
510# 0.14.0-beta.1
511- [BUGFIX] Consider the scope of the select the entire body, even if the app is rendered inside an
512 specific element.
513
514# 0.14.0-beta.0
515- [BREAKING] Rename the `dropdown._id` to `dropdown.uniqueId` and promote it to public API.
516
517# 0.13.0-beta.6
518- [BUGFIX] Make the first reposition faster by applying the styles directly instead of using bindings.
519 This allows the dropdown to have components with autofocus inside without messing with the scroll.
520
521# 0.13.0-beta.5
522- [BUGFIX] Enabling the component after it has been disabled should trigger the `registerAPI` action.
523
524# 0.13.0-beta.4
525- [BUGFIX] Fix bug when the consumer app has a version of `ember-cli-shims` older than 0.1.3
526
527# 0.13.0-beta.3
528- [BUGFIX] Stop importing `getOwner` from the shim, since many people doesn't have shims up to date
529 and it's trolling them.
530
531# 0.13.0-beta.2
532- [BUGFIX] Render more than one component with `renderInPlace=true` cases an exception and after that
533 mayhem happens.
534
535# 0.13.0-beta.1
536- [BUGFIX] Use `requestAnimationFrame` to wait one frame before checking if the component is being
537 animated. This makes this component fully compatible with Glimmer 2.
538
539# 0.13.0-beta.0
540- [ENHANCEMENT/BREAKING] Now the publicAPI object received sub-components and passed to actions is
541 immutable. That means that each change in the internal state of this component will generate a new
542 object. This allows userts to get rid of `Ember.Observe` to use some advanced patterns and makes
543 possible some advanced time-travel debugging.
544
545# 0.12.0-beta.26
546- [ENHANCEMENT] Allow to customize the classes used for animations with `transitioningInClass`,
547 `transitionedInClass` and `transitioningOutClass`.
548- [BUGFIX] Property detect space on the right when `horizontalPosition="auto"` (the default) and
549 position the element anchored to the right of the dropdown if there is no enough space for it
550 to fit.
551
552# 0.12.0-beta.23
553- [BUGFIX] Correctly remove touchmove event on touch ends.
554- [BUGFIX] Prevent DOM access in fastboot mode.
555
556# 0.12.0-beta.22
557- [ENHANCEMENT] If the component gets disabled while it's opened, it is closed automatically.
558
559# 0.12.0-beta.21
560- [ENHANCEMENT] Expose `clickDropdown` and `tapDropdown` acceptance helpers.
561- [BUGFIX] Allow to nest a dropdown inside another dropdown without the second being rendered in place.
562
563# 0.12.0-beta.20
564- [BUGFIX] Apply enter animation after render. Otherwise it take place before the component
565 gains the `--above` or `--below` class, which is needed to know how to animate.
566
567# 0.12.0-beta.19
568- [BUGFIX] Allow `to` property of the content component to be undefined
569
570# 0.12.0-beta.18
571- [BUGFIX] Fix positioning of dropdowns rendered in-place due to a typo
572
573# 0.12.0-beta.17
574- [BUGFIX] Ensure the `disabled` property of the public API is updated properly
575
576# 0.12.0-beta.13
577- [BUGFIX] Ensure reposition is not applied in destroyed components
578
579# 0.12.0-beta.12
580- [BUGFIX] Fix animations
581
582# 0.12.0-beta.11
583- [INTERNAL] Update ember-cli to 2.6
584- [INTERNAL] Update ember-wormhole to 0.4.0 (fastboot support)
585- [BUGFIX] Correct behaviour of `aria-disabled`, `aria-expanded`, `aria-invalid`, `aria-pressed`
586 and `aria-required` in Ember 2.7+
587- [ENHANCEMENT] Allow to customize componets for the trigger and the content, with the `triggerComponent`
588 and `contentComponent` properties.
589- [BUGFIX] Stop relying in `this.elementId`, since it is not present in Ember 2.7+ on tagless components.
590- [ENHANCEMENT] Add an `onBlur` action to the trigger
591- [BUGFIX] Change repositioning logic so it doesn't sets properties from inside the `didInsertElement`,
592 which is deprecated and causes a performance penalty.
593
594# 0.12-beta.6
595- [ENHANCEMENT] Although the component is tagless by default, if the user passes `renderInPlace=true`,
596 a wrapper element with class `.ember-basic-dropdown` is added to be able to position the content
597 properly.
598- [BUGFIX] The reposition function no longer sets any observable state, so it can be called at
599 any time without worring about the runloop and double renders. More performant and fixes a bug
600 when something inside gains the focus faster than the reposition.
601
602# 0.12-beta.5
603
604- [BUGFIX] Don't focus the trigger again when the dropdown is closed as consecuence of clicking outside it.
605- [ENHANCEMENT] Allow to add focusin/out events to the trigger
606
607# 0.12-beta.4
608
609- [BUGFIX] Ensure that if the trigger receives `tabindex=null` it still defaults to 0.
610
611# 0.12-beta.3
612
613- [BUGFIX] Ensure that the `aria-controls` attribute of the trigger points to the content by default.
614
615# 0.12-beta.2
616
617- [BUGFIX] Focus the trigger when the component is closed
618- [BUGFIX] Allow to attach `onFocusIn` and `onFocusOut` event the the dropdown content component.
619
620# 0.12-beta.1
621
622- [BUGFIX] Around half a docen regressions and changes, including add the proper classes to trigger
623 and content when the component is rendered above/below/right/left/center/in-place. Now those cases
624 are different between trigger and content for better granularity.
625
626# 0.12-beta.0
627
628- [BREAKING CHANGE] Brand new API
629
\No newline at end of file