@udixio/tailwind 1.7.3 → 2.1.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 CHANGED
@@ -1,4 +1,35 @@
1
- ## 1.7.3 (2025-09-04)
1
+ ## 2.1.0 (2025-10-16)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **animation:** remove redundant `updateAnimNamesAndWillChange` logic and centralize handling in `animation` plugin ([d13c4d7](https://github.com/Udixio/UI/commit/d13c4d7))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Joël VIGREUX
10
+
11
+ # 2.0.0 (2025-10-15)
12
+
13
+ ### 🚀 Features
14
+
15
+ - **animation:** rename `zoom` to `scale` and add scroll-driven utilities ([cbc8141](https://github.com/Udixio/UI/commit/cbc8141))
16
+ - **animation:** rename classes and refine scroll-driven animations ([414a875](https://github.com/Udixio/UI/commit/414a875))
17
+ - **animation:** enhance dependency handling and refine utility updates ([aa91136](https://github.com/Udixio/UI/commit/aa91136))
18
+ - **animation:** update `createAnimation` to support multi-step definitions and enhance utility generation ([a293d94](https://github.com/Udixio/UI/commit/a293d94))
19
+ - **animation:** enhance state handling and optimize utility usage ([1f134b4](https://github.com/Udixio/UI/commit/1f134b4))
20
+ - **animation:** refactor animation utilities and improve `createAnimation` logic ([dc55651](https://github.com/Udixio/UI/commit/dc55651))
21
+ - **animation:** refactor animation utilities and integrate `text-case` ([cc44456](https://github.com/Udixio/UI/commit/cc44456))
22
+ - **animation:** reintroduce `out` animations and add utility aliases ([b278026](https://github.com/Udixio/UI/commit/b278026))
23
+ - **ui:** refactor animation utilities and remove redundant exit animations ([d7719cb](https://github.com/Udixio/UI/commit/d7719cb))
24
+ - **ui:** update animation utilities and documentation for consistency ([1001b70](https://github.com/Udixio/UI/commit/1001b70))
25
+ - **ui:** simplify animation plugin and enhance utility structure ([8b43734](https://github.com/Udixio/UI/commit/8b43734))
26
+ - **ui:** add prefix option to animation plugin for customizable utility namespaces ([e94ef87](https://github.com/Udixio/UI/commit/e94ef87))
27
+ - **ui:** refine animations and Tailwind plugin for better customization ([62ad9bf](https://github.com/Udixio/UI/commit/62ad9bf))
28
+ - **ui:** remove legacy JS-based scroll animations and refine scroll-driven components ([d098430](https://github.com/Udixio/UI/commit/d098430))
29
+ - **ui:** overhaul animation plugin for customizability and flexibility ([8993d62](https://github.com/Udixio/UI/commit/8993d62))
30
+ - **ui:** enhance scroll animations with fallback and Tailwind integration ([b5bec58](https://github.com/Udixio/UI/commit/b5bec58))
31
+ - **theme:** streamline color management and refactor configuration ([b1b1211](https://github.com/Udixio/UI/commit/b1b1211))
32
+ - **doc:** add color token and gallery components ([a3356c0](https://github.com/Udixio/UI/commit/a3356c0))
2
33
 
3
34
  ### 🩹 Fixes
4
35
 
@@ -6,7 +37,7 @@
6
37
 
7
38
  ### 🧱 Updated Dependencies
8
39
 
9
- - Updated @udixio/theme to 1.3.1
40
+ - Updated @udixio/theme to 2.0.0
10
41
 
11
42
  ### ❤️ Thank You
12
43
 
@@ -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;AAG/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;eAII,MAAM;cACP,MAAM;;IAiBZ,MAAM;CAUb"}
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-sDnlHrTp.cjs");
3
+ const tailwind_plugin = require("./tailwind.plugin-DmhUL7Oj.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-BWGo32wO.js";
2
- import { T, a, f, s } from "./tailwind.plugin-BWGo32wO.js";
1
+ import { m as main } from "./tailwind.plugin-DfVIrskO.js";
2
+ import { T, b, a, f, s } from "./tailwind.plugin-DfVIrskO.js";
3
3
  export {
4
4
  T as TailwindImplPluginBrowser,
5
- a as TailwindPlugin,
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, StateOptions } from './plugins-tailwind';
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[];
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,iBAAiB,EAEjB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAG5B,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,wEAuCf,CAAC"}
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,EACtB,MAAM,4BAA4B,CAAC;AAIpC,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"}
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-sDnlHrTp.cjs");
27
+ const tailwind_plugin = require("./tailwind.plugin-DmhUL7Oj.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-BWGo32wO.js";
5
- import { f, s } from "./tailwind.plugin-BWGo32wO.js";
4
+ import { T as TailwindImplPluginBrowser, m as main } from "./tailwind.plugin-DfVIrskO.js";
5
+ import { a, f, s } from "./tailwind.plugin-DfVIrskO.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,5 @@
1
+ export interface AnimationPluginOptions {
2
+ prefix?: string;
3
+ }
4
+ export declare const animation: import('node_modules/tailwindcss/dist/types-WlZgYgM8.mjs').c<AnimationPluginOptions>;
5
+ //# sourceMappingURL=animation.d.ts.map
@@ -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;AA4GD,eAAO,MAAM,SAAS,sFA+brB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export * from './state';
2
2
  export * from './font';
3
+ export * from './animation';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -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"}