ember-attacher 2.0.3 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -1
- package/README.md +0 -2
- package/addon/components/attach-popover.js +5 -3
- package/index.js +10 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
## v2.0.
|
|
3
|
+
## v2.0.4 (2023-06-06)
|
|
4
4
|
|
|
5
5
|
#### :rocket: Enhancement
|
|
6
6
|
* [#790](https://github.com/tylerturdenpants/ember-attacher/pull/790) Bump ember-maybe-in-element to supress build-time warning ([@pzubar](https://github.com/pzubar))
|
|
7
7
|
* [#784](https://github.com/tylerturdenpants/ember-attacher/pull/784) Prevent overflow by default ([@pzubar](https://github.com/pzubar))
|
|
8
8
|
|
|
9
9
|
#### :bug: Bug Fix
|
|
10
|
+
* [#807](https://github.com/tylerturdenpants/ember-attacher/pull/807) Fix the stripInProduction for the apps and the runtime error ([@pzubar](https://github.com/pzubar))
|
|
10
11
|
* [#794](https://github.com/tylerturdenpants/ember-attacher/pull/794) Fix test error caused by wrong endAsync call ([@pzubar](https://github.com/pzubar))
|
|
11
12
|
* [#784](https://github.com/tylerturdenpants/ember-attacher/pull/784) Prevent overflow by default ([@pzubar](https://github.com/pzubar))
|
|
12
13
|
|
|
13
14
|
#### :house: Internal
|
|
15
|
+
* [#811](https://github.com/tylerturdenpants/ember-attacher/pull/811) Remove the "beyond ember 3.24" support note ([@pzubar](https://github.com/pzubar))
|
|
14
16
|
* [#783](https://github.com/tylerturdenpants/ember-attacher/pull/783) Upgrade Ember to v4 ([@pzubar](https://github.com/pzubar))
|
|
15
17
|
|
|
16
18
|
#### Committers: 1
|
package/README.md
CHANGED
|
@@ -14,8 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
The addon's dummy application needs a serious upgrade. I [@tylerturdenpants](https://github.com/tylerturdenpants) have removed as much orf the support on flexi and flexi styles that I can, but the dummy app will still produces warnings regarding SASS division.
|
|
16
16
|
|
|
17
|
-
Additionally, this app likely has support beyond ember 3.24, but test fail locally since not all babel related issues during testing have been resolved.
|
|
18
|
-
|
|
19
17
|
As the only supporter of this addon, a father, and a full time employee at a software company, I really need the help to fully pull flexi out and to revamp the dummy app. Once these blockers are removed I can do the work to bring this addon into the future.
|
|
20
18
|
|
|
21
19
|
----
|
|
@@ -834,8 +834,10 @@ export default class AttachPopover extends Component {
|
|
|
834
834
|
_cancelAnimation() {
|
|
835
835
|
cancelAnimationFrame(this._animationTimeout);
|
|
836
836
|
|
|
837
|
-
|
|
838
|
-
animationTestWaiter.
|
|
839
|
-
|
|
837
|
+
stripInProduction(() => {
|
|
838
|
+
if (animationTestWaiter.items?.get(this._animationTimeout)) {
|
|
839
|
+
animationTestWaiter.endAsync(this._animationTimeout);
|
|
840
|
+
}
|
|
841
|
+
})
|
|
840
842
|
}
|
|
841
843
|
}
|
package/index.js
CHANGED
|
@@ -7,8 +7,17 @@ const Funnel = require('broccoli-funnel');
|
|
|
7
7
|
module.exports = {
|
|
8
8
|
name: require('./package').name,
|
|
9
9
|
|
|
10
|
-
included(
|
|
10
|
+
included(parent) {
|
|
11
11
|
this._super.included.apply(this, arguments);
|
|
12
|
+
let app = this.app;
|
|
13
|
+
|
|
14
|
+
while (!app && parent) {
|
|
15
|
+
if (parent.app) {
|
|
16
|
+
app = parent.app;
|
|
17
|
+
} else {
|
|
18
|
+
parent = parent.parent;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
12
21
|
|
|
13
22
|
this._env = app.env;
|
|
14
23
|
this._setupBabelOptions(app.env);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-attacher",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Tooltips and popovers for Ember.js apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"loader.js": "^4.7.0",
|
|
77
77
|
"qunit": "~2.19.4",
|
|
78
78
|
"qunit-dom": "~2.0.0",
|
|
79
|
-
"release-it": "~15.
|
|
79
|
+
"release-it": "~15.11.0",
|
|
80
80
|
"webpack": "~5.82.1"
|
|
81
81
|
},
|
|
82
82
|
"resolutions": {
|