@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/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] <= b[1] && b[0] <= a[1];
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) {