@nemigo/tailwind 0.0.2 → 1.0.1

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/dist/fluid.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import plugin from "tailwindcss/plugin";
2
- type Plugin = ReturnType<typeof plugin>;
2
+ export type Plugin = ReturnType<typeof plugin>;
3
3
  declare const main: Plugin;
4
+ /**
5
+ * @type {Plugin}
6
+ */
4
7
  export default main;
package/dist/fluid.js CHANGED
@@ -30,11 +30,11 @@ const main = plugin((api) => {
30
30
  const [_min, _max] = v.split("~");
31
31
  if (_min.startsWith("0.") || _max.startsWith("0.")) {
32
32
  if (!_max.startsWith("0."))
33
- console.warn("Tailwind:", `Use ${util}-[${_min.slice(1)}~${_max}] instead ${util}-[${v}]`);
33
+ console.warn("Tailwind-Fluid:", `Use ${util}-[${_min.slice(1)}~${_max}] instead ${util}-[${v}]`);
34
34
  else if (!_min.startsWith("0."))
35
- console.warn("Tailwind:", `Use ${util}-[${_min}~${_max.slice(1)}] instead ${util}-[${v}]`);
35
+ console.warn("Tailwind-Fluid:", `Use ${util}-[${_min}~${_max.slice(1)}] instead ${util}-[${v}]`);
36
36
  else
37
- console.warn("Tailwind:", `Use ${util}-[${_min.slice(1)}~${_max.slice(1)}] instead ${util}-[${v}]`);
37
+ console.warn("Tailwind-Fluid:", `Use ${util}-[${_min.slice(1)}~${_max.slice(1)}] instead ${util}-[${v}]`);
38
38
  }
39
39
  const max = Number(_max) || 0;
40
40
  const min = Number(_min) || 0;
@@ -97,4 +97,7 @@ const main = plugin((api) => {
97
97
  ["v-tt-y", "translateY"],
98
98
  ]));
99
99
  });
100
+ /**
101
+ * @type {Plugin}
102
+ */
100
103
  export default main;
package/package.json CHANGED
@@ -1,12 +1,15 @@
1
1
  {
2
2
  "name": "@nemigo/tailwind",
3
- "version": "0.0.2",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "author": {
6
6
  "name": "Vlad Logvin",
7
7
  "email": "vlad.logvin84@gmail.com"
8
8
  },
9
9
  "type": "module",
10
+ "engines": {
11
+ "node": ">=22"
12
+ },
10
13
  "scripts": {
11
14
  "build": "svelte-package && rimraf .svelte-kit",
12
15
  "check": "tsc --noemit",