ember-container-query 2.0.0 → 2.0.1

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 CHANGED
@@ -1,3 +1,16 @@
1
+ ## 2.0.1 (2022-04-25)
2
+
3
+ ### Bug Fix
4
+ * [#111](https://github.com/ijlee2/ember-container-query/pull/111) Added named exports for helpers ([@ijlee2](https://github.com/ijlee2))
5
+
6
+ ### Documentation
7
+ * [#112](https://github.com/ijlee2/ember-container-query/pull/112) Enabled ember-beta scenario ([@ijlee2](https://github.com/ijlee2))
8
+ * [#110](https://github.com/ijlee2/ember-container-query/pull/110) Refactored <Ui::Form> components in the demo app ([@ijlee2](https://github.com/ijlee2))
9
+
10
+ ### Committers: 1
11
+ - Isaac Lee ([@ijlee2](https://github.com/ijlee2))
12
+
13
+
1
14
  ## 2.0.0 (2022-04-09)
2
15
 
3
16
  ### Breaking Change
@@ -1,8 +1,10 @@
1
1
  import { helper } from '@ember/component/helper';
2
2
 
3
- export default helper(function cqAspectRatio(params, hash) {
3
+ export function cqAspectRatio(params, hash) {
4
4
  const dimension = 'aspectRatio';
5
5
  const { min = 0, max = Infinity } = hash;
6
6
 
7
7
  return { dimension, min, max };
8
- });
8
+ }
9
+
10
+ export default helper(cqAspectRatio);
@@ -1,8 +1,10 @@
1
1
  import { helper } from '@ember/component/helper';
2
2
 
3
- export default helper(function cqHeight(params, hash) {
3
+ export function cqHeight(params, hash) {
4
4
  const dimension = 'height';
5
5
  const { min = 0, max = Infinity } = hash;
6
6
 
7
7
  return { dimension, min, max };
8
- });
8
+ }
9
+
10
+ export default helper(cqHeight);
@@ -1,8 +1,10 @@
1
1
  import { helper } from '@ember/component/helper';
2
2
 
3
- export default helper(function cqWidth(params, hash) {
3
+ export function cqWidth(params, hash) {
4
4
  const dimension = 'width';
5
5
  const { min = 0, max = Infinity } = hash;
6
6
 
7
7
  return { dimension, min, max };
8
- });
8
+ }
9
+
10
+ export default helper(cqWidth);
@@ -1,4 +1,4 @@
1
1
  export {
2
- default,
3
2
  cqAspectRatio,
3
+ default,
4
4
  } from 'ember-container-query/helpers/cq-aspect-ratio';
@@ -1 +1 @@
1
- export { default, cqHeight } from 'ember-container-query/helpers/cq-height';
1
+ export { cqHeight, default } from 'ember-container-query/helpers/cq-height';
@@ -1 +1 @@
1
- export { default, cqWidth } from 'ember-container-query/helpers/cq-width';
1
+ export { cqWidth, default } from 'ember-container-query/helpers/cq-width';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-container-query",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Container queries using Ember modifiers",
5
5
  "keywords": [
6
6
  "container-queries",
@@ -52,20 +52,20 @@
52
52
  "@ember/render-modifiers": "^2.0.4",
53
53
  "ember-cli-babel": "^7.26.11",
54
54
  "ember-cli-htmlbars": "^6.0.1",
55
- "ember-element-helper": "^0.6.0",
55
+ "ember-element-helper": "^0.6.1",
56
56
  "ember-on-resize-modifier": "^1.0.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@ember/optional-features": "^2.0.0",
60
60
  "@ember/test-helpers": "^2.7.0",
61
61
  "@embroider/test-setup": "^1.6.0",
62
- "@glimmer/component": "^1.1.1",
63
- "@glimmer/tracking": "^1.1.1",
64
- "@percy/cli": "^1.0.5",
62
+ "@glimmer/component": "^1.1.2",
63
+ "@glimmer/tracking": "^1.1.2",
64
+ "@percy/cli": "^1.1.0",
65
65
  "@percy/ember": "^3.0.0",
66
66
  "babel-eslint": "^10.1.0",
67
67
  "broccoli-asset-rev": "^3.0.0",
68
- "d3-array": "^3.1.5",
68
+ "d3-array": "^3.1.6",
69
69
  "d3-axis": "^3.0.0",
70
70
  "d3-scale": "^4.0.2",
71
71
  "d3-selection": "^3.0.0",
@@ -73,7 +73,7 @@
73
73
  "ember-a11y-testing": "^5.0.0",
74
74
  "ember-auto-import": "^2.4.1",
75
75
  "ember-cli": "~4.3.0",
76
- "ember-cli-dependency-checker": "^3.3.0",
76
+ "ember-cli-dependency-checker": "^3.3.1",
77
77
  "ember-cli-dependency-lint": "^2.0.1",
78
78
  "ember-cli-inject-live-reload": "^2.1.0",
79
79
  "ember-cli-netlify": "^0.4.1",
@@ -83,13 +83,14 @@
83
83
  "ember-disable-prototype-extensions": "^1.1.3",
84
84
  "ember-export-application-global": "^2.0.1",
85
85
  "ember-load-initializers": "^2.1.2",
86
+ "ember-named-blocks-polyfill": "^0.2.5",
86
87
  "ember-page-title": "^7.0.0",
87
88
  "ember-qunit": "^5.1.5",
88
89
  "ember-resolver": "^8.0.3",
89
90
  "ember-source": "~4.3.0",
90
91
  "ember-source-channel-url": "^3.0.0",
91
92
  "ember-svg-jar": "^2.3.4",
92
- "ember-template-lint": "^4.3.0",
93
+ "ember-template-lint": "^4.5.0",
93
94
  "ember-test-selectors": "^6.0.0",
94
95
  "ember-truth-helpers": "^3.0.0",
95
96
  "ember-try": "^2.0.0",
@@ -102,7 +103,7 @@
102
103
  "loader.js": "^4.7.0",
103
104
  "npm-run-all": "^4.1.5",
104
105
  "prettier": "^2.6.2",
105
- "qunit": "^2.18.1",
106
+ "qunit": "^2.18.2",
106
107
  "qunit-dom": "^2.0.0",
107
108
  "webpack": "^5.72.0"
108
109
  },