@udixio/tailwind 2.2.0 → 2.3.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,3 +1,13 @@
1
+ ## 2.3.0 (2025-10-16)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **animation:** add `run` and `paused` states for `out` animations ([dc134d3](https://github.com/Udixio/UI/commit/dc134d3))
6
+
7
+ ### ❤️ Thank You
8
+
9
+ - Joël VIGREUX
10
+
1
11
  ## 2.2.0 (2025-10-16)
2
12
 
3
13
  ### 🚀 Features
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-BS-y_NhA.cjs");
3
+ const tailwind_plugin = require("./tailwind.plugin-B17YE6YC.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-BWkO2e-A.js";
2
- import { T, b, a, f, s } from "./tailwind.plugin-BWkO2e-A.js";
1
+ import { m as main } from "./tailwind.plugin-BXCTydiS.js";
2
+ import { T, b, a, f, s } from "./tailwind.plugin-BXCTydiS.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-BS-y_NhA.cjs");
27
+ const tailwind_plugin = require("./tailwind.plugin-B17YE6YC.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-BWkO2e-A.js";
5
- import { a, f, s } from "./tailwind.plugin-BWkO2e-A.js";
4
+ import { T as TailwindImplPluginBrowser, m as main } from "./tailwind.plugin-BXCTydiS.js";
5
+ import { a, f, s } from "./tailwind.plugin-BXCTydiS.js";
6
6
  import { PluginAbstract, FontPlugin } from "@udixio/theme";
7
7
  import * as fs from "fs";
8
8
  import * as console from "node:console";
@@ -1 +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;AAiHD,eAAO,MAAM,SAAS,sFAocrB,CAAC"}
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;AAiHD,eAAO,MAAM,SAAS,sFA0crB,CAAC"}
@@ -104,6 +104,8 @@ const animation = plugin.withOptions(
104
104
  // run/pause state
105
105
  [`.${prefix}-in-run`]: { [`--${prefix}-in-state`]: "running" },
106
106
  [`.${prefix}-in-paused`]: { [`--${prefix}-in-state`]: "paused" },
107
+ [`.${prefix}-out-run`]: { [`--${prefix}-out-state`]: "running" },
108
+ [`.${prefix}-out-paused`]: { [`--${prefix}-out-state`]: "paused" },
107
109
  // scroll-driven
108
110
  [`.${prefix}-timeline-block`]: {
109
111
  animationTimeline: "view(block)"
@@ -121,7 +123,11 @@ const animation = plugin.withOptions(
121
123
  });
122
124
  addBase({
123
125
  [`[data-${prefix}-in-run]`]: { [`--${prefix}-in-state`]: "running" },
124
- [`[data-${prefix}-in-paused]`]: { [`--${prefix}-in-state`]: "paused" }
126
+ [`[data-${prefix}-in-paused]`]: { [`--${prefix}-in-state`]: "paused" },
127
+ [`[data-${prefix}-out-run]`]: { [`--${prefix}-out-state`]: "running" },
128
+ [`[data-${prefix}-out-paused]`]: {
129
+ [`--${prefix}-out-state`]: "paused"
130
+ }
125
131
  });
126
132
  createAnimation(
127
133
  "fade",
@@ -103,6 +103,8 @@ const animation = plugin.withOptions(
103
103
  // run/pause state
104
104
  [`.${prefix}-in-run`]: { [`--${prefix}-in-state`]: "running" },
105
105
  [`.${prefix}-in-paused`]: { [`--${prefix}-in-state`]: "paused" },
106
+ [`.${prefix}-out-run`]: { [`--${prefix}-out-state`]: "running" },
107
+ [`.${prefix}-out-paused`]: { [`--${prefix}-out-state`]: "paused" },
106
108
  // scroll-driven
107
109
  [`.${prefix}-timeline-block`]: {
108
110
  animationTimeline: "view(block)"
@@ -120,7 +122,11 @@ const animation = plugin.withOptions(
120
122
  });
121
123
  addBase({
122
124
  [`[data-${prefix}-in-run]`]: { [`--${prefix}-in-state`]: "running" },
123
- [`[data-${prefix}-in-paused]`]: { [`--${prefix}-in-state`]: "paused" }
125
+ [`[data-${prefix}-in-paused]`]: { [`--${prefix}-in-state`]: "paused" },
126
+ [`[data-${prefix}-out-run]`]: { [`--${prefix}-out-state`]: "running" },
127
+ [`[data-${prefix}-out-paused]`]: {
128
+ [`--${prefix}-out-state`]: "paused"
129
+ }
124
130
  });
125
131
  createAnimation(
126
132
  "fade",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@udixio/tailwind",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/node.js",
6
6
  "module": "./dist/node.js",
@@ -150,6 +150,8 @@ export const animation = plugin.withOptions(
150
150
  // run/pause state
151
151
  [`.${prefix}-in-run`]: { [`--${prefix}-in-state`]: 'running' },
152
152
  [`.${prefix}-in-paused`]: { [`--${prefix}-in-state`]: 'paused' },
153
+ [`.${prefix}-out-run`]: { [`--${prefix}-out-state`]: 'running' },
154
+ [`.${prefix}-out-paused`]: { [`--${prefix}-out-state`]: 'paused' },
153
155
  // scroll-driven
154
156
  [`.${prefix}-timeline-block`]: {
155
157
  animationTimeline: 'view(block)',
@@ -170,6 +172,10 @@ export const animation = plugin.withOptions(
170
172
  addBase({
171
173
  [`[data-${prefix}-in-run]`]: { [`--${prefix}-in-state`]: 'running' },
172
174
  [`[data-${prefix}-in-paused]`]: { [`--${prefix}-in-state`]: 'paused' },
175
+ [`[data-${prefix}-out-run]`]: { [`--${prefix}-out-state`]: 'running' },
176
+ [`[data-${prefix}-out-paused]`]: {
177
+ [`--${prefix}-out-state`]: 'paused',
178
+ },
173
179
  });
174
180
 
175
181
  createAnimation(