@udixio/tailwind 2.3.4 → 2.3.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## 2.3.5 (2025-10-17)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **plugins-tailwind:** correct `dx` and `dy` value mappings in animation plugin ([7bb82d9](https://github.com/Udixio/UI/commit/7bb82d9))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Joël VIGREUX
10
+
1
11
  ## 2.3.4 (2025-10-17)
2
12
 
3
13
  ### 🧱 Updated Dependencies
package/dist/browser.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const tailwind_plugin = require("./tailwind.plugin-BVo4TZ6g.cjs");
3
+ const tailwind_plugin = require("./tailwind.plugin-Dvf5FtVR.cjs");
4
4
  exports.TailwindImplPluginBrowser = tailwind_plugin.TailwindImplPluginBrowser;
5
5
  exports.TailwindPlugin = tailwind_plugin.TailwindPlugin;
6
6
  exports.animation = tailwind_plugin.animation;
package/dist/browser.js CHANGED
@@ -1,5 +1,5 @@
1
- import { m as main } from "./tailwind.plugin-CNzjEOdG.js";
2
- import { T, b, a, f, s } from "./tailwind.plugin-CNzjEOdG.js";
1
+ import { m as main } from "./tailwind.plugin-kD1ORWiZ.js";
2
+ import { T, b, a, f, s } from "./tailwind.plugin-kD1ORWiZ.js";
3
3
  export {
4
4
  T as TailwindImplPluginBrowser,
5
5
  b as TailwindPlugin,
package/dist/node.cjs CHANGED
@@ -24,7 +24,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  ));
25
25
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
26
26
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
27
- const tailwind_plugin = require("./tailwind.plugin-BVo4TZ6g.cjs");
27
+ const tailwind_plugin = require("./tailwind.plugin-Dvf5FtVR.cjs");
28
28
  const theme = require("@udixio/theme");
29
29
  const fs = require("fs");
30
30
  const console = require("node:console");
package/dist/node.js CHANGED
@@ -1,8 +1,8 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
- import { T as TailwindImplPluginBrowser, m as main } from "./tailwind.plugin-CNzjEOdG.js";
5
- import { a, f, s } from "./tailwind.plugin-CNzjEOdG.js";
4
+ import { T as TailwindImplPluginBrowser, m as main } from "./tailwind.plugin-kD1ORWiZ.js";
5
+ import { a, f, s } from "./tailwind.plugin-kD1ORWiZ.js";
6
6
  import { PluginAbstract, FontPlugin } from "@udixio/theme";
7
7
  import * as fs from "fs";
8
8
  import * as console from "node:console";
@@ -290,14 +290,14 @@ const animation = plugin.withOptions(
290
290
  throw new Error(`Invalid direction: ${directionAlias}`);
291
291
  }
292
292
  const dxdy = {
293
- "from-top": { dx: "0", dy: "1" },
294
- "from-bottom": { dx: "0", dy: "-1" },
293
+ "from-top": { dx: "0", dy: "-1" },
294
+ "from-bottom": { dx: "0", dy: "1" },
295
295
  "from-left": { dx: "-1", dy: "0" },
296
296
  "from-right": { dx: "1", dy: "0" },
297
- "from-top-left": { dx: "1", dy: "1" },
298
- "from-top-right": { dx: "-1", dy: "1" },
299
- "from-bottom-left": { dx: "1", dy: "-1" },
300
- "from-bottom-right": { dx: "-1", dy: "-1" }
297
+ "from-top-left": { dx: "-1", dy: "-1" },
298
+ "from-top-right": { dx: "1", dy: "-1" },
299
+ "from-bottom-left": { dx: "-1", dy: "1" },
300
+ "from-bottom-right": { dx: "1", dy: "1" }
301
301
  };
302
302
  const { dx, dy } = dxdy[direction];
303
303
  addUtilities({
@@ -289,14 +289,14 @@ const animation = plugin.withOptions(
289
289
  throw new Error(`Invalid direction: ${directionAlias}`);
290
290
  }
291
291
  const dxdy = {
292
- "from-top": { dx: "0", dy: "1" },
293
- "from-bottom": { dx: "0", dy: "-1" },
292
+ "from-top": { dx: "0", dy: "-1" },
293
+ "from-bottom": { dx: "0", dy: "1" },
294
294
  "from-left": { dx: "-1", dy: "0" },
295
295
  "from-right": { dx: "1", dy: "0" },
296
- "from-top-left": { dx: "1", dy: "1" },
297
- "from-top-right": { dx: "-1", dy: "1" },
298
- "from-bottom-left": { dx: "1", dy: "-1" },
299
- "from-bottom-right": { dx: "-1", dy: "-1" }
296
+ "from-top-left": { dx: "-1", dy: "-1" },
297
+ "from-top-right": { dx: "1", dy: "-1" },
298
+ "from-bottom-left": { dx: "-1", dy: "1" },
299
+ "from-bottom-right": { dx: "1", dy: "1" }
300
300
  };
301
301
  const { dx, dy } = dxdy[direction];
302
302
  addUtilities({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@udixio/tailwind",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "type": "module",
5
5
  "main": "./dist/node.js",
6
6
  "module": "./dist/node.js",
@@ -376,14 +376,14 @@ export const animation = plugin.withOptions(
376
376
  }
377
377
 
378
378
  const dxdy: Record<typeof direction, { dx: string; dy: string }> = {
379
- 'from-top': { dx: '0', dy: '1' },
380
- 'from-bottom': { dx: '0', dy: '-1' },
379
+ 'from-top': { dx: '0', dy: '-1' },
380
+ 'from-bottom': { dx: '0', dy: '1' },
381
381
  'from-left': { dx: '-1', dy: '0' },
382
382
  'from-right': { dx: '1', dy: '0' },
383
- 'from-top-left': { dx: '1', dy: '1' },
384
- 'from-top-right': { dx: '-1', dy: '1' },
385
- 'from-bottom-left': { dx: '1', dy: '-1' },
386
- 'from-bottom-right': { dx: '-1', dy: '-1' },
383
+ 'from-top-left': { dx: '-1', dy: '-1' },
384
+ 'from-top-right': { dx: '1', dy: '-1' },
385
+ 'from-bottom-left': { dx: '-1', dy: '1' },
386
+ 'from-bottom-right': { dx: '1', dy: '1' },
387
387
  } as const;
388
388
  const { dx, dy } = dxdy[direction];
389
389