ember-container-query 5.1.1 → 6.0.0
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 +1 -1
- package/declarations/components/container-query.d.ts +2 -3
- package/declarations/helpers/aspect-ratio.d.ts +0 -1
- package/declarations/helpers/height.d.ts +0 -1
- package/declarations/helpers/width.d.ts +0 -1
- package/declarations/index.d.ts +0 -1
- package/declarations/modifiers/container-query.d.ts +6 -7
- package/declarations/template-registry.d.ts +0 -1
- package/dist/components/container-query.js +11 -9
- package/dist/components/container-query.js.map +1 -1
- package/dist/helpers/aspect-ratio.js +1 -0
- package/dist/helpers/aspect-ratio.js.map +1 -1
- package/dist/helpers/height.js +1 -0
- package/dist/helpers/height.js.map +1 -1
- package/dist/helpers/width.js +1 -0
- package/dist/helpers/width.js.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/modifiers/container-query.js +41 -40
- package/dist/modifiers/container-query.js.map +1 -1
- package/package.json +19 -19
- package/declarations/components/container-query.d.ts.map +0 -1
- package/declarations/helpers/aspect-ratio.d.ts.map +0 -1
- package/declarations/helpers/height.d.ts.map +0 -1
- package/declarations/helpers/width.d.ts.map +0 -1
- package/declarations/index.d.ts.map +0 -1
- package/declarations/modifiers/container-query.d.ts.map +0 -1
- package/declarations/template-registry.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -19,13 +19,12 @@ interface ContainerQuerySignature<T extends IndexSignatureParameter> {
|
|
|
19
19
|
Element: Element;
|
|
20
20
|
}
|
|
21
21
|
export default class ContainerQueryComponent<T extends IndexSignatureParameter> extends Component<ContainerQuerySignature<T>> {
|
|
22
|
-
dimensions?: Dimensions;
|
|
23
|
-
queryResults?: QueryResults<T>;
|
|
24
22
|
tagName: string;
|
|
25
23
|
updateState: ({ dimensions, queryResults, }: {
|
|
26
24
|
dimensions: Dimensions;
|
|
27
25
|
queryResults: QueryResults<T>;
|
|
28
26
|
}) => void;
|
|
27
|
+
dimensions?: Dimensions;
|
|
28
|
+
queryResults?: QueryResults<T>;
|
|
29
29
|
}
|
|
30
30
|
export {};
|
|
31
|
-
//# sourceMappingURL=container-query.d.ts.map
|
package/declarations/index.d.ts
CHANGED
|
@@ -4,4 +4,3 @@ export { default as height } from './helpers/height.ts';
|
|
|
4
4
|
export { default as width } from './helpers/width.ts';
|
|
5
5
|
export type { Dimensions, Features, IndexSignatureParameter, Metadata, QueryResults, } from './modifiers/container-query.ts';
|
|
6
6
|
export { default as containerQuery } from './modifiers/container-query.ts';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -31,23 +31,22 @@ interface ContainerQueryModifierSignature<T extends IndexSignatureParameter> {
|
|
|
31
31
|
}
|
|
32
32
|
export default class ContainerQueryModifier<T extends IndexSignatureParameter> extends Modifier<ContainerQueryModifierSignature<T>> {
|
|
33
33
|
private readonly resizeObserver;
|
|
34
|
-
dimensions: Dimensions;
|
|
35
|
-
queryResults: QueryResults<T>;
|
|
36
34
|
private _dataAttributes;
|
|
37
35
|
private _element?;
|
|
38
36
|
private _named;
|
|
37
|
+
dimensions: Dimensions;
|
|
38
|
+
queryResults: QueryResults<T>;
|
|
39
39
|
get dataAttributePrefix(): string;
|
|
40
40
|
get debounce(): number;
|
|
41
41
|
get features(): Features<T>;
|
|
42
42
|
constructor(owner: Owner, args: ArgsFor<ContainerQueryModifierSignature<T>>);
|
|
43
|
+
private evaluateQueries;
|
|
44
|
+
private measureDimensions;
|
|
43
45
|
modify(element: Element, _positional: PositionalArgs<ContainerQueryModifierSignature<T>>, named: NamedArgs<ContainerQueryModifierSignature<T>>): void;
|
|
44
|
-
private onResize;
|
|
45
|
-
private registerResizeObserver;
|
|
46
46
|
private queryContainer;
|
|
47
|
-
private
|
|
48
|
-
private evaluateQueries;
|
|
47
|
+
private registerResizeObserver;
|
|
49
48
|
private resetDataAttributes;
|
|
50
49
|
private setDataAttributes;
|
|
50
|
+
private onResize;
|
|
51
51
|
}
|
|
52
52
|
export type { Dimensions, Features, IndexSignatureParameter, Metadata, QueryResults, };
|
|
53
|
-
//# sourceMappingURL=container-query.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "./container-query.css"
|
|
2
2
|
import { hash } from '@ember/helper';
|
|
3
3
|
import Component from '@glimmer/component';
|
|
4
4
|
import { tracked } from '@glimmer/tracking';
|
|
@@ -8,15 +8,9 @@ import { precompileTemplate } from '@ember/template-compilation';
|
|
|
8
8
|
import { setComponentTemplate } from '@ember/component';
|
|
9
9
|
import { g, i } from 'decorator-transforms/runtime';
|
|
10
10
|
|
|
11
|
+
;
|
|
12
|
+
|
|
11
13
|
class ContainerQueryComponent extends Component {
|
|
12
|
-
static {
|
|
13
|
-
g(this.prototype, "dimensions", [tracked]);
|
|
14
|
-
}
|
|
15
|
-
#dimensions = (i(this, "dimensions"), void 0);
|
|
16
|
-
static {
|
|
17
|
-
g(this.prototype, "queryResults", [tracked]);
|
|
18
|
-
}
|
|
19
|
-
#queryResults = (i(this, "queryResults"), void 0);
|
|
20
14
|
// The dynamic tag is restricted to be immutable
|
|
21
15
|
tagName = this.args.tagName ?? 'div';
|
|
22
16
|
updateState = ({
|
|
@@ -26,6 +20,14 @@ class ContainerQueryComponent extends Component {
|
|
|
26
20
|
this.dimensions = dimensions;
|
|
27
21
|
this.queryResults = queryResults;
|
|
28
22
|
};
|
|
23
|
+
static {
|
|
24
|
+
g(this.prototype, "dimensions", [tracked]);
|
|
25
|
+
}
|
|
26
|
+
#dimensions = (i(this, "dimensions"), void 0);
|
|
27
|
+
static {
|
|
28
|
+
g(this.prototype, "queryResults", [tracked]);
|
|
29
|
+
}
|
|
30
|
+
#queryResults = (i(this, "queryResults"), void 0);
|
|
29
31
|
static {
|
|
30
32
|
setComponentTemplate(precompileTemplate("\n {{#let (element this.tagName) as |Tag|}}\n <Tag class=\"container-query\" {{containerQuery dataAttributePrefix=@dataAttributePrefix debounce=@debounce features=@features onQuery=this.updateState}} ...attributes>\n {{yield (hash dimensions=this.dimensions features=this.queryResults)}}\n </Tag>\n {{/let}}\n ", {
|
|
31
33
|
strictMode: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-query.js","sources":[
|
|
1
|
+
{"version":3,"file":"container-query.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aspect-ratio.js","sources":[
|
|
1
|
+
{"version":3,"file":"aspect-ratio.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/helpers/height.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"height.js","sources":[
|
|
1
|
+
{"version":3,"file":"height.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/helpers/width.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"width.js","sources":[
|
|
1
|
+
{"version":3,"file":"width.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
|
|
1
2
|
import { registerDestructor } from '@ember/destroyable';
|
|
2
3
|
import { action } from '@ember/object';
|
|
3
4
|
import { debounce } from '@ember/runloop';
|
|
@@ -10,11 +11,11 @@ class ContainerQueryModifier extends Modifier {
|
|
|
10
11
|
g(this.prototype, "resizeObserver", [service]);
|
|
11
12
|
}
|
|
12
13
|
#resizeObserver = (i(this, "resizeObserver"), void 0);
|
|
13
|
-
dimensions;
|
|
14
|
-
queryResults;
|
|
15
14
|
_dataAttributes = [];
|
|
16
15
|
_element;
|
|
17
16
|
_named;
|
|
17
|
+
dimensions;
|
|
18
|
+
queryResults;
|
|
18
19
|
get dataAttributePrefix() {
|
|
19
20
|
return this._named.dataAttributePrefix ?? 'container-query';
|
|
20
21
|
}
|
|
@@ -30,28 +31,33 @@ class ContainerQueryModifier extends Modifier {
|
|
|
30
31
|
this.resizeObserver.unobserve(this._element, this.onResize);
|
|
31
32
|
});
|
|
32
33
|
}
|
|
34
|
+
evaluateQueries() {
|
|
35
|
+
const queryResults = {};
|
|
36
|
+
for (const [featureName, metadata] of Object.entries(this.features)) {
|
|
37
|
+
const {
|
|
38
|
+
dimension,
|
|
39
|
+
min,
|
|
40
|
+
max
|
|
41
|
+
} = metadata;
|
|
42
|
+
const value = this.dimensions[dimension];
|
|
43
|
+
queryResults[featureName] = min <= value && value < max;
|
|
44
|
+
}
|
|
45
|
+
this.queryResults = queryResults;
|
|
46
|
+
}
|
|
47
|
+
measureDimensions(element) {
|
|
48
|
+
const height = element.clientHeight;
|
|
49
|
+
const width = element.clientWidth;
|
|
50
|
+
this.dimensions = {
|
|
51
|
+
aspectRatio: width / height,
|
|
52
|
+
height,
|
|
53
|
+
width
|
|
54
|
+
};
|
|
55
|
+
}
|
|
33
56
|
modify(element, _positional, named) {
|
|
34
57
|
this._named = named;
|
|
35
58
|
this.registerResizeObserver(element);
|
|
36
59
|
this.queryContainer(element);
|
|
37
60
|
}
|
|
38
|
-
onResize(resizeObserverEntry) {
|
|
39
|
-
const element = resizeObserverEntry.target;
|
|
40
|
-
if (this.debounce > 0) {
|
|
41
|
-
// eslint-disable-next-line ember/no-runloop
|
|
42
|
-
debounce(this, this.queryContainer, element, this.debounce);
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
|
-
this.queryContainer(element);
|
|
46
|
-
}
|
|
47
|
-
static {
|
|
48
|
-
n(this.prototype, "onResize", [action]);
|
|
49
|
-
}
|
|
50
|
-
registerResizeObserver(element) {
|
|
51
|
-
this.resizeObserver.unobserve(this._element, this.onResize);
|
|
52
|
-
this._element = element;
|
|
53
|
-
this.resizeObserver.observe(this._element, this.onResize);
|
|
54
|
-
}
|
|
55
61
|
queryContainer(element) {
|
|
56
62
|
this.measureDimensions(element);
|
|
57
63
|
this.evaluateQueries();
|
|
@@ -62,27 +68,10 @@ class ContainerQueryModifier extends Modifier {
|
|
|
62
68
|
queryResults: this.queryResults
|
|
63
69
|
});
|
|
64
70
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
this.
|
|
69
|
-
aspectRatio: width / height,
|
|
70
|
-
height,
|
|
71
|
-
width
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
evaluateQueries() {
|
|
75
|
-
const queryResults = {};
|
|
76
|
-
for (const [featureName, metadata] of Object.entries(this.features)) {
|
|
77
|
-
const {
|
|
78
|
-
dimension,
|
|
79
|
-
min,
|
|
80
|
-
max
|
|
81
|
-
} = metadata;
|
|
82
|
-
const value = this.dimensions[dimension];
|
|
83
|
-
queryResults[featureName] = min <= value && value < max;
|
|
84
|
-
}
|
|
85
|
-
this.queryResults = queryResults;
|
|
71
|
+
registerResizeObserver(element) {
|
|
72
|
+
this.resizeObserver.unobserve(this._element, this.onResize);
|
|
73
|
+
this._element = element;
|
|
74
|
+
this.resizeObserver.observe(this._element, this.onResize);
|
|
86
75
|
}
|
|
87
76
|
resetDataAttributes(element) {
|
|
88
77
|
this._dataAttributes.forEach(dataAttribute => {
|
|
@@ -101,6 +90,18 @@ class ContainerQueryModifier extends Modifier {
|
|
|
101
90
|
this._dataAttributes.push(dataAttribute);
|
|
102
91
|
}
|
|
103
92
|
}
|
|
93
|
+
onResize(resizeObserverEntry) {
|
|
94
|
+
const element = resizeObserverEntry.target;
|
|
95
|
+
if (this.debounce > 0) {
|
|
96
|
+
// eslint-disable-next-line ember/no-runloop
|
|
97
|
+
debounce(this, this.queryContainer, element, this.debounce);
|
|
98
|
+
return;
|
|
99
|
+
}
|
|
100
|
+
this.queryContainer(element);
|
|
101
|
+
}
|
|
102
|
+
static {
|
|
103
|
+
n(this.prototype, "onResize", [action]);
|
|
104
|
+
}
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
export { ContainerQueryModifier as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-query.js","sources":[
|
|
1
|
+
{"version":3,"file":"container-query.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-container-query",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"description": "Make container queries that harness the power of Ember",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"container-queries",
|
|
@@ -48,39 +48,39 @@
|
|
|
48
48
|
"dist"
|
|
49
49
|
],
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@embroider/addon-shim": "^1.
|
|
51
|
+
"@embroider/addon-shim": "^1.10.0",
|
|
52
52
|
"decorator-transforms": "^2.3.0",
|
|
53
|
-
"ember-element-helper": "^0.8.
|
|
54
|
-
"ember-modifier": "^
|
|
53
|
+
"ember-element-helper": "^0.8.7",
|
|
54
|
+
"ember-modifier": "^4.2.0",
|
|
55
55
|
"ember-resize-observer-service": "^1.1.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@babel/core": "^7.
|
|
59
|
-
"@babel/plugin-transform-typescript": "^7.
|
|
60
|
-
"@babel/runtime": "^7.
|
|
61
|
-
"@embroider/addon-dev": "^
|
|
58
|
+
"@babel/core": "^7.27.1",
|
|
59
|
+
"@babel/plugin-transform-typescript": "^7.27.1",
|
|
60
|
+
"@babel/runtime": "^7.27.1",
|
|
61
|
+
"@embroider/addon-dev": "^8.0.1",
|
|
62
62
|
"@glimmer/component": "^2.0.0",
|
|
63
63
|
"@glimmer/tracking": "^1.1.2",
|
|
64
64
|
"@glint/core": "^1.5.2",
|
|
65
65
|
"@glint/environment-ember-loose": "^1.5.2",
|
|
66
66
|
"@glint/environment-ember-template-imports": "^1.5.2",
|
|
67
67
|
"@glint/template": "^1.5.2",
|
|
68
|
-
"@ijlee2-frontend-configs/ember-template-lint": "^0.
|
|
69
|
-
"@ijlee2-frontend-configs/eslint-config-ember": "^0.
|
|
70
|
-
"@ijlee2-frontend-configs/prettier": "^0.
|
|
71
|
-
"@ijlee2-frontend-configs/typescript": "^0.3.1",
|
|
68
|
+
"@ijlee2-frontend-configs/ember-template-lint": "^1.0.0",
|
|
69
|
+
"@ijlee2-frontend-configs/eslint-config-ember": "^1.0.0",
|
|
70
|
+
"@ijlee2-frontend-configs/prettier": "^1.0.0",
|
|
72
71
|
"@rollup/plugin-babel": "^6.0.4",
|
|
73
|
-
"
|
|
72
|
+
"@tsconfig/ember": "^3.0.10",
|
|
73
|
+
"babel-plugin-ember-template-compilation": "^3.0.0",
|
|
74
74
|
"concurrently": "^9.1.2",
|
|
75
|
-
"ember-source": "^6.
|
|
76
|
-
"ember-template-lint": "^7.0
|
|
77
|
-
"eslint": "^9.
|
|
75
|
+
"ember-source": "^6.4.0",
|
|
76
|
+
"ember-template-lint": "^7.6.0",
|
|
77
|
+
"eslint": "^9.26.0",
|
|
78
78
|
"prettier": "^3.5.3",
|
|
79
|
-
"rollup": "^4.
|
|
80
|
-
"typescript": "^5.8.
|
|
79
|
+
"rollup": "^4.40.2",
|
|
80
|
+
"typescript": "^5.8.3"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
|
-
"node": "
|
|
83
|
+
"node": "20.* || >= 22"
|
|
84
84
|
},
|
|
85
85
|
"ember": {
|
|
86
86
|
"edition": "octane"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container-query.d.ts","sourceRoot":"","sources":["../../src/components/container-query.ts"],"names":[],"mappings":"AAAA,OAAO,uBAAuB,CAAC;AAG/B,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAI3C,OAAO,KAAK,EACV,UAAU,EACV,QAAQ,EACR,uBAAuB,EACvB,YAAY,EACb,MAAM,iCAAiC,CAAC;AAGzC,U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AC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,KAAK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