ember-container-query 5.0.10 → 5.0.11

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.
@@ -1,13 +1,14 @@
1
1
  import type { Metadata } from '../modifiers/container-query.ts';
2
- declare const AspectRatioHelper: import("@ember/component/helper").FunctionBasedHelper<{
2
+ interface AspectRatioHelperSignature {
3
3
  Args: {
4
- Positional: [];
5
4
  Named: {
6
- max?: number | undefined;
7
- min?: number | undefined;
5
+ max?: number;
6
+ min?: number;
8
7
  };
8
+ Positional: [];
9
9
  };
10
10
  Return: Metadata;
11
- }>;
11
+ }
12
+ declare const AspectRatioHelper: import("@ember/component/helper").FunctionBasedHelper<AspectRatioHelperSignature>;
12
13
  export default AspectRatioHelper;
13
14
  //# sourceMappingURL=aspect-ratio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../src/helpers/aspect-ratio.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAahE,QAAA,MAAM,iBAAiB;;;;;;;;;EAQtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"aspect-ratio.d.ts","sourceRoot":"","sources":["../../src/helpers/aspect-ratio.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,UAAU,0BAA0B;IAClC,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,QAAA,MAAM,iBAAiB,mFAQtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,13 +1,14 @@
1
1
  import type { Metadata } from '../modifiers/container-query.ts';
2
- declare const HeightHelper: import("@ember/component/helper").FunctionBasedHelper<{
2
+ interface HeightHelperSignature {
3
3
  Args: {
4
- Positional: [];
5
4
  Named: {
6
- max?: number | undefined;
7
- min?: number | undefined;
5
+ max?: number;
6
+ min?: number;
8
7
  };
8
+ Positional: [];
9
9
  };
10
10
  Return: Metadata;
11
- }>;
11
+ }
12
+ declare const HeightHelper: import("@ember/component/helper").FunctionBasedHelper<HeightHelperSignature>;
12
13
  export default HeightHelper;
13
14
  //# sourceMappingURL=height.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"height.d.ts","sourceRoot":"","sources":["../../src/helpers/height.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAahE,QAAA,MAAM,YAAY;;;;;;;;;EAMhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"height.d.ts","sourceRoot":"","sources":["../../src/helpers/height.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,UAAU,qBAAqB;IAC7B,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,QAAA,MAAM,YAAY,8EAMhB,CAAC;AAEH,eAAe,YAAY,CAAC"}
@@ -1,13 +1,14 @@
1
1
  import type { Metadata } from '../modifiers/container-query.ts';
2
- declare const WidthHelper: import("@ember/component/helper").FunctionBasedHelper<{
2
+ interface WidthHelperSignature {
3
3
  Args: {
4
- Positional: [];
5
4
  Named: {
6
- max?: number | undefined;
7
- min?: number | undefined;
5
+ max?: number;
6
+ min?: number;
8
7
  };
8
+ Positional: [];
9
9
  };
10
10
  Return: Metadata;
11
- }>;
11
+ }
12
+ declare const WidthHelper: import("@ember/component/helper").FunctionBasedHelper<WidthHelperSignature>;
12
13
  export default WidthHelper;
13
14
  //# sourceMappingURL=width.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../src/helpers/width.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAahE,QAAA,MAAM,WAAW;;;;;;;;;EAMf,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../src/helpers/width.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE,UAAU,oBAAoB;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE;YACL,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,GAAG,CAAC,EAAE,MAAM,CAAC;SACd,CAAC;QACF,UAAU,EAAE,EAAE,CAAC;KAChB,CAAC;IACF,MAAM,EAAE,QAAQ,CAAC;CAClB;AAED,QAAA,MAAM,WAAW,6EAMf,CAAC;AAEH,eAAe,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-container-query",
3
- "version": "5.0.10",
3
+ "version": "5.0.11",
4
4
  "description": "Make container queries that harness the power of Ember",
5
5
  "keywords": [
6
6
  "container-queries",
@@ -51,14 +51,14 @@
51
51
  "@embroider/addon-shim": "^1.8.9",
52
52
  "decorator-transforms": "^2.0.0",
53
53
  "ember-element-helper": "^0.8.6",
54
- "ember-modifier": "^3.2.7 || ^4.1.0",
54
+ "ember-modifier": "^3.2.7 || ^4.2.0",
55
55
  "ember-resize-observer-service": "^1.1.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@babel/core": "^7.24.7",
59
- "@babel/plugin-transform-typescript": "^7.24.7",
60
- "@babel/runtime": "^7.24.7",
61
- "@embroider/addon-dev": "^4.3.1",
58
+ "@babel/core": "^7.25.2",
59
+ "@babel/plugin-transform-typescript": "^7.25.2",
60
+ "@babel/runtime": "^7.25.0",
61
+ "@embroider/addon-dev": "^5.0.0",
62
62
  "@glimmer/component": "^1.1.2",
63
63
  "@glimmer/tracking": "^1.1.2",
64
64
  "@glint/core": "^1.4.0",
@@ -66,25 +66,19 @@
66
66
  "@glint/environment-ember-template-imports": "^1.4.0",
67
67
  "@glint/template": "^1.4.0",
68
68
  "@rollup/plugin-babel": "^6.0.4",
69
- "@types/ember__component": "^4.0.22",
70
- "@types/ember__destroyable": "^4.0.5",
71
- "@types/ember__object": "^4.0.12",
72
- "@types/ember__owner": "^4.0.9",
73
- "@types/ember__runloop": "^4.0.10",
74
- "@types/ember__service": "^4.0.9",
75
69
  "babel-plugin-ember-template-compilation": "^2.2.5",
76
70
  "concurrently": "^8.2.2",
77
- "ember-source": "^5.9.0",
71
+ "ember-source": "^5.10.2",
78
72
  "ember-template-lint": "^6.0.0",
79
73
  "eslint": "^8.57.0",
80
- "prettier": "^3.3.1",
81
- "rollup": "^4.18.0",
74
+ "prettier": "^3.3.3",
75
+ "rollup": "^4.20.0",
82
76
  "rollup-plugin-copy": "^3.5.0",
83
- "typescript": "^5.4.5",
77
+ "typescript": "^5.5.4",
84
78
  "@shared-configs/ember-template-lint": "0.0.0",
79
+ "@shared-configs/prettier": "0.0.0",
85
80
  "@shared-configs/eslint-config-ember": "0.0.0",
86
- "@shared-configs/typescript": "0.0.0",
87
- "@shared-configs/prettier": "0.0.0"
81
+ "@shared-configs/typescript": "0.0.0"
88
82
  },
89
83
  "engines": {
90
84
  "node": "18.* || >= 20"
@@ -105,17 +99,17 @@
105
99
  "version": 2
106
100
  },
107
101
  "scripts": {
108
- "build": "concurrently \"npm:build:*\" --names \"build:\"",
102
+ "build": "concurrently 'pnpm:build:*' --names 'build:'",
109
103
  "build:js": "rollup --config",
110
104
  "build:types": "glint --declaration",
111
- "lint": "concurrently \"npm:lint:*(!fix)\" --names \"lint:\"",
112
- "lint:fix": "concurrently \"npm:lint:*:fix\" --names \"fix:\"",
105
+ "lint": "concurrently 'pnpm:lint:*(!fix)' --names 'lint:'",
106
+ "lint:fix": "concurrently 'pnpm:lint:*:fix' --names 'fix:'",
113
107
  "lint:hbs": "ember-template-lint .",
114
108
  "lint:hbs:fix": "ember-template-lint . --fix",
115
109
  "lint:js": "eslint . --cache",
116
110
  "lint:js:fix": "eslint . --fix",
117
111
  "lint:types": "glint",
118
- "start": "concurrently \"npm:start:*\" --names \"start:\"",
112
+ "start": "concurrently 'pnpm:start:*' --names 'start:'",
119
113
  "start:js": "rollup --config --watch --no-watch.clearScreen",
120
114
  "start:types": "glint --declaration --watch",
121
115
  "test": "echo 'A v2 addon does not have tests, run tests in test-app'"