@udixio/tailwind 0.5.0 → 0.5.2

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,31 @@
1
+ ## 0.5.1 (2025-07-25)
2
+
3
+ ### 🩹 Fixes
4
+
5
+ - **theme:** make config loading asynchronous to improve initialization flow ([d5de04f](https://github.com/Udixio/UI/commit/d5de04f))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated theme to 0.5.1
10
+
11
+ ### ❤️ Thank You
12
+
13
+ - Joël VIGREUX
14
+
15
+ ## 0.5.0 (2025-07-25)
16
+
17
+ ### 🚀 Features
18
+
19
+ - **theme:** migrate build system from Rollup to Vite for improved performance and configuration ([3f33657](https://github.com/Udixio/UI/commit/3f33657))
20
+
21
+ ### 🧱 Updated Dependencies
22
+
23
+ - Updated theme to 0.5.0
24
+
25
+ ### ❤️ Thank You
26
+
27
+ - Joël VIGREUX
28
+
1
29
  ## 0.4.1 (2025-07-25)
2
30
 
3
31
  ### 🩹 Fixes
package/index.cjs CHANGED
@@ -301,8 +301,8 @@ class TailwindImplPlugin extends theme.PluginImplAbstract {
301
301
  );
302
302
  }
303
303
  }
304
- const createTheme = () => {
305
- const app = theme.bootstrapFromConfig();
304
+ const createTheme = async () => {
305
+ const app = await theme.bootstrapFromConfig();
306
306
  const plugin2 = app.plugins.getPlugin(TailwindPlugin).getInstance();
307
307
  return plugin2.load();
308
308
  };
package/index.js CHANGED
@@ -282,8 +282,8 @@ class TailwindImplPlugin extends PluginImplAbstract {
282
282
  );
283
283
  }
284
284
  }
285
- const createTheme = () => {
286
- const app = bootstrapFromConfig();
285
+ const createTheme = async () => {
286
+ const app = await bootstrapFromConfig();
287
287
  const plugin2 = app.plugins.getPlugin(TailwindPlugin).getInstance();
288
288
  return plugin2.load();
289
289
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@udixio/tailwind",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "./src/index.d.ts",
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "tslib": "^2.3.0",
15
- "@udixio/theme": "0.5.0"
15
+ "@udixio/theme": "0.5.2"
16
16
  },
17
17
  "repository": {
18
18
  "type": "git",
package/src/main.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import { default as plugin } from 'tailwindcss/plugin';
2
- export declare const createTheme: () => ReturnType<typeof plugin.withOptions>;
2
+ export declare const createTheme: () => Promise<ReturnType<typeof plugin.withOptions>>;
3
3
  //# sourceMappingURL=main.d.ts.map
package/src/main.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../packages/tailwind/src/main.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,eAAO,MAAM,WAAW,EAAE,MAAM,UAAU,CAAC,OAAO,MAAM,CAAC,WAAW,CAInE,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../../../packages/tailwind/src/main.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAExC,eAAO,MAAM,WAAW,EAAE,MAAM,OAAO,CACrC,UAAU,CAAC,OAAO,MAAM,CAAC,WAAW,CAAC,CAKtC,CAAC"}