ember-container-query 4.0.2 → 4.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/README.md
CHANGED
|
@@ -18,7 +18,7 @@ ember install ember-container-query
|
|
|
18
18
|
- Update your template registry to extend this addon's. Check the [Glint documentation](https://typed-ember.gitbook.io/glint/using-glint/ember/using-addons#using-glint-enabled-addons) for more information.
|
|
19
19
|
|
|
20
20
|
```ts
|
|
21
|
-
/* types/
|
|
21
|
+
/* types/index.d.ts */
|
|
22
22
|
|
|
23
23
|
import '@glint/environment-ember-loose';
|
|
24
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyDecoratedDescriptor-fa858ac4.js","sources":["../../node_modules/.pnpm/@babel+runtime@7.
|
|
1
|
+
{"version":3,"file":"applyDecoratedDescriptor-fa858ac4.js","sources":["../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js","../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/typeof.js","../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/toPrimitive.js","../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/defineProperty.js","../../node_modules/.pnpm/@babel+runtime@7.22.5/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js"],"sourcesContent":["export default function _initializerDefineProperty(target, property, descriptor, context) {\n if (!descriptor) return;\n Object.defineProperty(target, property, {\n enumerable: descriptor.enumerable,\n configurable: descriptor.configurable,\n writable: descriptor.writable,\n value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n });\n}","export default function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) {\n return typeof obj;\n } : function (obj) {\n return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n }, _typeof(obj);\n}","import _typeof from \"./typeof.js\";\nexport default function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n}","import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function _toPropertyKey(arg) {\n var key = toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n}","import toPropertyKey from \"./toPropertyKey.js\";\nexport default function _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}","export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n var desc = {};\n Object.keys(descriptor).forEach(function (key) {\n desc[key] = descriptor[key];\n });\n desc.enumerable = !!desc.enumerable;\n desc.configurable = !!desc.configurable;\n if ('value' in desc || desc.initializer) {\n desc.writable = true;\n }\n desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n return decorator(target, property, desc) || desc;\n }, desc);\n if (context && desc.initializer !== void 0) {\n desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n desc.initializer = undefined;\n }\n if (desc.initializer === void 0) {\n Object.defineProperty(target, property, desc);\n desc = null;\n }\n return desc;\n}"],"names":["_initializerDefineProperty","target","property","descriptor","context","Object","defineProperty","enumerable","configurable","writable","value","initializer","call","_typeof","obj","Symbol","iterator","constructor","prototype","_toPrimitive","input","hint","prim","toPrimitive","undefined","res","TypeError","String","Number","_toPropertyKey","arg","key","_defineProperty","toPropertyKey","_apply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CAAA;AACb;;;;","x_google_ignoreList":[0,1,2,3,4,5]}
|
package/dist/helpers/height.d.ts
CHANGED
package/dist/helpers/width.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-container-query",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "Make container queries that harness the power of Ember",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"container-queries",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"ember-resize-observer-service": "^1.1.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@babel/core": "^7.
|
|
53
|
+
"@babel/core": "^7.22.5",
|
|
54
54
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
55
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
56
|
-
"@babel/preset-typescript": "^7.
|
|
57
|
-
"@babel/runtime": "^7.
|
|
58
|
-
"@embroider/addon-dev": "^3.1.
|
|
55
|
+
"@babel/plugin-proposal-decorators": "^7.22.5",
|
|
56
|
+
"@babel/preset-typescript": "^7.22.5",
|
|
57
|
+
"@babel/runtime": "^7.22.5",
|
|
58
|
+
"@embroider/addon-dev": "^3.1.1",
|
|
59
59
|
"@gavant/glint-template-types": "^0.3.3",
|
|
60
60
|
"@glimmer/component": "^1.1.2",
|
|
61
61
|
"@glimmer/tracking": "^1.1.2",
|
|
@@ -69,23 +69,23 @@
|
|
|
69
69
|
"@types/ember__owner": "^4.0.3",
|
|
70
70
|
"@types/ember__runloop": "^4.0.2",
|
|
71
71
|
"@types/ember__service": "^4.0.2",
|
|
72
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
73
|
-
"@typescript-eslint/parser": "^5.59.
|
|
74
|
-
"concurrently": "^8.0
|
|
75
|
-
"ember-template-lint": "^5.
|
|
76
|
-
"ember-template-lint-plugin-prettier": "^4.1.
|
|
77
|
-
"eslint": "^8.
|
|
72
|
+
"@typescript-eslint/eslint-plugin": "^5.59.11",
|
|
73
|
+
"@typescript-eslint/parser": "^5.59.11",
|
|
74
|
+
"concurrently": "^8.2.0",
|
|
75
|
+
"ember-template-lint": "^5.10.1",
|
|
76
|
+
"ember-template-lint-plugin-prettier": "^4.1.1",
|
|
77
|
+
"eslint": "^8.42.0",
|
|
78
78
|
"eslint-config-prettier": "^8.8.0",
|
|
79
|
-
"eslint-plugin-ember": "^11.
|
|
79
|
+
"eslint-plugin-ember": "^11.8.0",
|
|
80
80
|
"eslint-plugin-n": "^16.0.0",
|
|
81
81
|
"eslint-plugin-prettier": "^4.2.1",
|
|
82
82
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
83
83
|
"eslint-plugin-typescript-sort-keys": "^2.3.0",
|
|
84
84
|
"prettier": "^2.8.8",
|
|
85
|
-
"rollup": "^3.
|
|
85
|
+
"rollup": "^3.25.1",
|
|
86
86
|
"rollup-plugin-copy": "^3.4.0",
|
|
87
87
|
"rollup-plugin-ts": "^3.2.0",
|
|
88
|
-
"typescript": "^5.
|
|
88
|
+
"typescript": "^5.1.3"
|
|
89
89
|
},
|
|
90
90
|
"engines": {
|
|
91
91
|
"node": "16.* || >= 18"
|