@zcomponent/core 0.0.28 → 0.0.29
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/lib/components/DefaultLoader.d.ts +1 -3
- package/lib/inflate.js +0 -1
- package/lib/types.d.ts +2 -0
- package/lib/types.js +2 -0
- package/package.json +2 -2
package/lib/inflate.js
CHANGED
|
@@ -170,7 +170,6 @@ export function populateAnimationTracksFromData(zcomp, anim, data) {
|
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
export function populateAnimationStructureFromData(zcomp, anim, data) {
|
|
173
|
-
console.log('ANIM', data);
|
|
174
173
|
const clips = resolveClipDependencies(data.clips).reverse();
|
|
175
174
|
for (const clip of Object.values(clips)) {
|
|
176
175
|
if (!clip)
|
package/lib/types.d.ts
CHANGED
package/lib/types.js
CHANGED
|
@@ -142,7 +142,9 @@ export function mergeProps(a, b) {
|
|
|
142
142
|
default: def,
|
|
143
143
|
group: a.group === b.group ? a.group : undefined,
|
|
144
144
|
groupPriority: Math.max(a.groupPriority ?? 0, b.groupPriority ?? 0),
|
|
145
|
+
priority: Math.max(a.priority ?? 0, b.priority ?? 0),
|
|
145
146
|
values: mergeValues(a.values, b.values),
|
|
147
|
+
order: Math.min(a.order ?? 0, b.order ?? 0),
|
|
146
148
|
};
|
|
147
149
|
}
|
|
148
150
|
function mergeComments(a, b) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zcomponent/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"css/**/*"
|
|
20
20
|
],
|
|
21
21
|
"scripts": {
|
|
22
|
-
"build": "tsc",
|
|
22
|
+
"build": "rm -rf lib && tsc",
|
|
23
23
|
"build-animation-tests": "tsc -p ./tsconfig.test.animation.json",
|
|
24
24
|
"test": "PW_EXPERIMENTAL_TS_ESM=1 playwright test",
|
|
25
25
|
"tests": "parcel serve tests/index.html -p 8088"
|