@a-company/atelier 0.27.2 → 0.27.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/dist/{chunk-PHS7IW52.js → chunk-C5DBTHXB.js} +4 -2
- package/dist/chunk-C5DBTHXB.js.map +1 -0
- package/dist/{chunk-OKHQNXN4.js → chunk-LC7ICNMN.js} +4 -4
- package/dist/chunk-LC7ICNMN.js.map +1 -0
- package/dist/cli.cjs +12 -15
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +11 -16
- package/dist/cli.js.map +1 -1
- package/dist/{dist-3PO6F556.js → dist-6IHF7WA7.js} +2 -2
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/mcp.cjs +4 -2
- package/dist/mcp.cjs.map +1 -1
- package/dist/mcp.js +4 -2
- package/dist/mcp.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-OKHQNXN4.js.map +0 -1
- package/dist/chunk-PHS7IW52.js.map +0 -1
- /package/dist/{dist-3PO6F556.js.map → dist-6IHF7WA7.js.map} +0 -0
package/dist/index.js
CHANGED
package/dist/mcp.cjs
CHANGED
|
@@ -232,7 +232,7 @@ var StepEasingSchema = import_zod5.z.object({
|
|
|
232
232
|
steps: import_zod5.z.number().int().positive(),
|
|
233
233
|
position: import_zod5.z.enum(["start", "end"]).optional()
|
|
234
234
|
});
|
|
235
|
-
var EasingPresetSchema = import_zod5.z.enum(["ease-in", "ease-out", "ease-in-out"]);
|
|
235
|
+
var EasingPresetSchema = import_zod5.z.enum(["linear", "ease-in", "ease-out", "ease-in-out"]);
|
|
236
236
|
var EasingSchema = import_zod5.z.union([
|
|
237
237
|
LinearEasingSchema,
|
|
238
238
|
CubicBezierEasingSchema,
|
|
@@ -1295,6 +1295,8 @@ function resolveEasing(easing) {
|
|
|
1295
1295
|
if (!easing) return linear;
|
|
1296
1296
|
if (typeof easing === "string") {
|
|
1297
1297
|
switch (easing) {
|
|
1298
|
+
case "linear":
|
|
1299
|
+
return linear;
|
|
1298
1300
|
case "ease-in":
|
|
1299
1301
|
return easeIn;
|
|
1300
1302
|
case "ease-out":
|
|
@@ -1682,7 +1684,7 @@ function groupDeltas(deltas) {
|
|
|
1682
1684
|
return map;
|
|
1683
1685
|
}
|
|
1684
1686
|
function rangesOverlap(a, b) {
|
|
1685
|
-
return a[0]
|
|
1687
|
+
return a[0] < b[1] && b[0] < a[1];
|
|
1686
1688
|
}
|
|
1687
1689
|
function validateNoOverlap(existing, newDelta) {
|
|
1688
1690
|
for (const delta of existing) {
|