@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/mcp.js
CHANGED
|
@@ -192,7 +192,7 @@ var StepEasingSchema = z5.object({
|
|
|
192
192
|
steps: z5.number().int().positive(),
|
|
193
193
|
position: z5.enum(["start", "end"]).optional()
|
|
194
194
|
});
|
|
195
|
-
var EasingPresetSchema = z5.enum(["ease-in", "ease-out", "ease-in-out"]);
|
|
195
|
+
var EasingPresetSchema = z5.enum(["linear", "ease-in", "ease-out", "ease-in-out"]);
|
|
196
196
|
var EasingSchema = z5.union([
|
|
197
197
|
LinearEasingSchema,
|
|
198
198
|
CubicBezierEasingSchema,
|
|
@@ -1255,6 +1255,8 @@ function resolveEasing(easing) {
|
|
|
1255
1255
|
if (!easing) return linear;
|
|
1256
1256
|
if (typeof easing === "string") {
|
|
1257
1257
|
switch (easing) {
|
|
1258
|
+
case "linear":
|
|
1259
|
+
return linear;
|
|
1258
1260
|
case "ease-in":
|
|
1259
1261
|
return easeIn;
|
|
1260
1262
|
case "ease-out":
|
|
@@ -1642,7 +1644,7 @@ function groupDeltas(deltas) {
|
|
|
1642
1644
|
return map;
|
|
1643
1645
|
}
|
|
1644
1646
|
function rangesOverlap(a, b) {
|
|
1645
|
-
return a[0]
|
|
1647
|
+
return a[0] < b[1] && b[0] < a[1];
|
|
1646
1648
|
}
|
|
1647
1649
|
function validateNoOverlap(existing, newDelta) {
|
|
1648
1650
|
for (const delta of existing) {
|