@udixio/tailwind 2.3.3 → 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 +16 -0
- package/dist/browser.cjs +1 -1
- package/dist/browser.js +2 -2
- package/dist/node.cjs +1 -1
- package/dist/node.js +2 -2
- package/dist/{tailwind.plugin-BVo4TZ6g.cjs → tailwind.plugin-Dvf5FtVR.cjs} +6 -6
- package/dist/{tailwind.plugin-CNzjEOdG.js → tailwind.plugin-kD1ORWiZ.js} +6 -6
- package/package.json +2 -2
- package/src/plugins-tailwind/animation.ts +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
|
|
11
|
+
## 2.3.4 (2025-10-17)
|
|
12
|
+
|
|
13
|
+
### 🧱 Updated Dependencies
|
|
14
|
+
|
|
15
|
+
- Updated @udixio/theme to 2.1.0
|
|
16
|
+
|
|
1
17
|
## 2.3.3 (2025-10-16)
|
|
2
18
|
|
|
3
19
|
### 🩹 Fixes
|
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-
|
|
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-
|
|
2
|
-
import { T, b, a, f, s } from "./tailwind.plugin-
|
|
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-
|
|
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-
|
|
5
|
-
import { a, f, s } from "./tailwind.plugin-
|
|
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: "
|
|
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: "
|
|
299
|
-
"from-bottom-left": { dx: "1", dy: "
|
|
300
|
-
"from-bottom-right": { dx: "
|
|
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: "
|
|
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: "
|
|
298
|
-
"from-bottom-left": { dx: "1", dy: "
|
|
299
|
-
"from-bottom-right": { dx: "
|
|
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.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/node.js",
|
|
6
6
|
"module": "./dist/node.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"chalk": "^5.6.0",
|
|
32
32
|
"pathe": "^2.0.3",
|
|
33
33
|
"tslib": "^2.3.0",
|
|
34
|
-
"@udixio/theme": "2.
|
|
34
|
+
"@udixio/theme": "2.1.0"
|
|
35
35
|
},
|
|
36
36
|
"repository": {
|
|
37
37
|
"type": "git",
|
|
@@ -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: '
|
|
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: '
|
|
385
|
-
'from-bottom-left': { dx: '1', dy: '
|
|
386
|
-
'from-bottom-right': { dx: '
|
|
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
|
|