@udixio/tailwind 1.7.2 → 2.0.0
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 +35 -0
- package/dist/browser/tailwind.plugin.d.ts.map +1 -1
- package/dist/browser.cjs +2 -1
- package/dist/browser.js +4 -3
- package/dist/main.d.ts +2 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/node/tailwind.plugin.d.ts +2 -1
- package/dist/node/tailwind.plugin.d.ts.map +1 -1
- package/dist/node.cjs +2 -1
- package/dist/node.js +3 -2
- package/dist/plugins-tailwind/animation.d.ts +5 -0
- package/dist/plugins-tailwind/animation.d.ts.map +1 -0
- package/dist/plugins-tailwind/index.d.ts +1 -0
- package/dist/plugins-tailwind/index.d.ts.map +1 -1
- package/dist/tailwind.plugin-DLbaMny3.js +773 -0
- package/dist/tailwind.plugin-ImuL0_jV.cjs +772 -0
- package/package.json +3 -2
- package/src/browser/tailwind.plugin.ts +27 -23
- package/src/main.ts +4 -6
- package/src/node/tailwind.plugin.ts +3 -1
- package/src/plugins-tailwind/animation.ts +544 -0
- package/src/plugins-tailwind/index.ts +1 -0
- package/dist/tailwind-browser-COFzjMN4.cjs +0 -249
- package/dist/tailwind-browser-CTGKNrKy.js +0 -232
- package/dist/tailwind.plugin-CUI_jxzw.cjs +0 -329
- package/dist/tailwind.plugin-q0sIRBpo.js +0 -330
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,38 @@
|
|
|
1
|
+
# 2.0.0 (2025-10-15)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- **animation:** rename `zoom` to `scale` and add scroll-driven utilities ([cbc8141](https://github.com/Udixio/UI/commit/cbc8141))
|
|
6
|
+
- **animation:** rename classes and refine scroll-driven animations ([414a875](https://github.com/Udixio/UI/commit/414a875))
|
|
7
|
+
- **animation:** enhance dependency handling and refine utility updates ([aa91136](https://github.com/Udixio/UI/commit/aa91136))
|
|
8
|
+
- **animation:** update `createAnimation` to support multi-step definitions and enhance utility generation ([a293d94](https://github.com/Udixio/UI/commit/a293d94))
|
|
9
|
+
- **animation:** enhance state handling and optimize utility usage ([1f134b4](https://github.com/Udixio/UI/commit/1f134b4))
|
|
10
|
+
- **animation:** refactor animation utilities and improve `createAnimation` logic ([dc55651](https://github.com/Udixio/UI/commit/dc55651))
|
|
11
|
+
- **animation:** refactor animation utilities and integrate `text-case` ([cc44456](https://github.com/Udixio/UI/commit/cc44456))
|
|
12
|
+
- **animation:** reintroduce `out` animations and add utility aliases ([b278026](https://github.com/Udixio/UI/commit/b278026))
|
|
13
|
+
- **ui:** refactor animation utilities and remove redundant exit animations ([d7719cb](https://github.com/Udixio/UI/commit/d7719cb))
|
|
14
|
+
- **ui:** update animation utilities and documentation for consistency ([1001b70](https://github.com/Udixio/UI/commit/1001b70))
|
|
15
|
+
- **ui:** simplify animation plugin and enhance utility structure ([8b43734](https://github.com/Udixio/UI/commit/8b43734))
|
|
16
|
+
- **ui:** add prefix option to animation plugin for customizable utility namespaces ([e94ef87](https://github.com/Udixio/UI/commit/e94ef87))
|
|
17
|
+
- **ui:** refine animations and Tailwind plugin for better customization ([62ad9bf](https://github.com/Udixio/UI/commit/62ad9bf))
|
|
18
|
+
- **ui:** remove legacy JS-based scroll animations and refine scroll-driven components ([d098430](https://github.com/Udixio/UI/commit/d098430))
|
|
19
|
+
- **ui:** overhaul animation plugin for customizability and flexibility ([8993d62](https://github.com/Udixio/UI/commit/8993d62))
|
|
20
|
+
- **ui:** enhance scroll animations with fallback and Tailwind integration ([b5bec58](https://github.com/Udixio/UI/commit/b5bec58))
|
|
21
|
+
- **theme:** streamline color management and refactor configuration ([b1b1211](https://github.com/Udixio/UI/commit/b1b1211))
|
|
22
|
+
- **doc:** add color token and gallery components ([a3356c0](https://github.com/Udixio/UI/commit/a3356c0))
|
|
23
|
+
|
|
24
|
+
### 🩹 Fixes
|
|
25
|
+
|
|
26
|
+
- the external colors must be coherent ([08cd685](https://github.com/Udixio/UI/commit/08cd685))
|
|
27
|
+
|
|
28
|
+
### 🧱 Updated Dependencies
|
|
29
|
+
|
|
30
|
+
- Updated @udixio/theme to 2.0.0
|
|
31
|
+
|
|
32
|
+
### ❤️ Thank You
|
|
33
|
+
|
|
34
|
+
- Joël VIGREUX
|
|
35
|
+
|
|
1
36
|
## 1.7.2 (2025-09-04)
|
|
2
37
|
|
|
3
38
|
### 🧱 Updated Dependencies
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind.plugin.d.ts","sourceRoot":"","sources":["../../src/browser/tailwind.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"tailwind.plugin.d.ts","sourceRoot":"","sources":["../../src/browser/tailwind.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAO/E,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAgFD,qBAAa,cAAe,SAAQ,cAAc,CAChD,yBAAyB,EACzB,qBAAqB,CACtB;IACQ,YAAY,wBAAgB;IAC5B,IAAI,SAAc;IACzB,WAAW,mCAA6B;CACzC;AAED,qBAAa,yBAA0B,SAAQ,kBAAkB,CAAC,qBAAqB,CAAC;IAC/E,SAAS,SAAM;IAEtB,MAAM;IAeN,SAAS,CAAC,EAAE,SAAS,EAAE,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE;IA0E/C,SAAS;eAC+B,MAAM;cAAQ,MAAM;;IAetD,MAAM;CAWb"}
|
package/dist/browser.cjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
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-ImuL0_jV.cjs");
|
|
4
4
|
exports.TailwindImplPluginBrowser = tailwind_plugin.TailwindImplPluginBrowser;
|
|
5
5
|
exports.TailwindPlugin = tailwind_plugin.TailwindPlugin;
|
|
6
|
+
exports.animation = tailwind_plugin.animation;
|
|
6
7
|
exports.default = tailwind_plugin.main;
|
|
7
8
|
exports.font = tailwind_plugin.font;
|
|
8
9
|
exports.state = tailwind_plugin.state;
|
package/dist/browser.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { m as main } from "./tailwind.plugin-
|
|
2
|
-
import { T, a, f, s } from "./tailwind.plugin-
|
|
1
|
+
import { m as main } from "./tailwind.plugin-DLbaMny3.js";
|
|
2
|
+
import { T, b, a, f, s } from "./tailwind.plugin-DLbaMny3.js";
|
|
3
3
|
export {
|
|
4
4
|
T as TailwindImplPluginBrowser,
|
|
5
|
-
|
|
5
|
+
b as TailwindPlugin,
|
|
6
|
+
a as animation,
|
|
6
7
|
main as default,
|
|
7
8
|
f as font,
|
|
8
9
|
s as state
|
package/dist/main.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { FontPluginOptions
|
|
1
|
+
import { FontPluginOptions } from './plugins-tailwind/font';
|
|
2
|
+
import { StateOptions } from './plugins-tailwind/state';
|
|
2
3
|
export type ConfigJs = FontPluginOptions & StateOptions;
|
|
3
4
|
export type ConfigCss = {
|
|
4
5
|
colorKeys: string[];
|
package/dist/main.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,EAAS,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAG/D,MAAM,MAAM,QAAQ,GAAG,iBAAiB,GAAG,YAAY,CAAC;AACxD,MAAM,MAAM,SAAS,GAAG;IACtB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,qBAAqB,EAAE,MAAM,EAAE,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,IAAI,wEAwCf,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { FontPlugin, PluginAbstract } from '@udixio/theme';
|
|
2
|
-
import { TailwindImplPluginBrowser, TailwindPluginOptions } from '../browser/tailwind.plugin';
|
|
2
|
+
import { TailwindImplPluginBrowser, TailwindPluginOptions as TailwindPluginBrowserOptions } from '../browser/tailwind.plugin';
|
|
3
|
+
export type TailwindPluginOptions = TailwindPluginBrowserOptions;
|
|
3
4
|
export declare class TailwindPlugin extends PluginAbstract<TailwindImplPlugin, TailwindPluginOptions> {
|
|
4
5
|
dependencies: (typeof FontPlugin)[];
|
|
5
6
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind.plugin.d.ts","sourceRoot":"","sources":["../../src/node/tailwind.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EACL,yBAAyB,EACzB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"tailwind.plugin.d.ts","sourceRoot":"","sources":["../../src/node/tailwind.plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EACL,yBAAyB,EACzB,qBAAqB,IAAI,4BAA4B,EACtD,MAAM,4BAA4B,CAAC;AAIpC,MAAM,MAAM,qBAAqB,GAAG,4BAA4B,CAAC;AAEjE,qBAAa,cAAe,SAAQ,cAAc,CAChD,kBAAkB,EAClB,qBAAqB,CACtB;IACQ,YAAY,wBAAgB;IAC5B,IAAI,SAAc;IACzB,WAAW,4BAAsB;CAClC;AAED,cAAM,kBAAmB,SAAQ,yBAAyB;IACxD,OAAO,CAAC,QAAQ;IAQD,MAAM;CAkFtB"}
|
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-ImuL0_jV.cjs");
|
|
28
28
|
const theme = require("@udixio/theme");
|
|
29
29
|
const fs = require("fs");
|
|
30
30
|
const console = require("node:console");
|
|
@@ -350,6 +350,7 @@ const file = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
350
350
|
getFileContent,
|
|
351
351
|
replaceFileContent
|
|
352
352
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
353
|
+
exports.animation = tailwind_plugin.animation;
|
|
353
354
|
exports.default = tailwind_plugin.main;
|
|
354
355
|
exports.font = tailwind_plugin.font;
|
|
355
356
|
exports.state = tailwind_plugin.state;
|
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 { f, s } from "./tailwind.plugin-
|
|
4
|
+
import { T as TailwindImplPluginBrowser, m as main } from "./tailwind.plugin-DLbaMny3.js";
|
|
5
|
+
import { a, f, s } from "./tailwind.plugin-DLbaMny3.js";
|
|
6
6
|
import { PluginAbstract, FontPlugin } from "@udixio/theme";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
import * as console from "node:console";
|
|
@@ -312,6 +312,7 @@ const file = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
312
312
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
313
313
|
export {
|
|
314
314
|
TailwindPlugin,
|
|
315
|
+
a as animation,
|
|
315
316
|
createOrUpdateFile,
|
|
316
317
|
main as default,
|
|
317
318
|
findProjectRoot,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../src/plugins-tailwind/animation.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAwGD,eAAO,MAAM,SAAS,sFAkbrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins-tailwind/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugins-tailwind/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC"}
|