daisyui 2.42.1 → 2.43.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/README.md CHANGED
@@ -56,7 +56,7 @@ module.exports = {
56
56
  Loading CSS files from CDN is not recommended for production. It's better to install Tailwind and daisyUI as Nodejs dependencies so you can config/customize everything, and purge unused styles.
57
57
 
58
58
  ```html
59
- <link href="https://cdn.jsdelivr.net/npm/daisyui@2.42.0/dist/full.css" rel="stylesheet" type="text/css" />
59
+ <link href="https://cdn.jsdelivr.net/npm/daisyui@2.42.1/dist/full.css" rel="stylesheet" type="text/css" />
60
60
  <script src="https://cdn.tailwindcss.com"></script>
61
61
  ```
62
62
 
package/package.json CHANGED
@@ -1,14 +1,18 @@
1
1
  {
2
2
  "name": "daisyui",
3
- "version": "2.42.1",
3
+ "version": "2.43.0",
4
4
  "description": "daisyUI - Tailwind CSS Components",
5
5
  "author": "Pouya Saadeghi",
6
6
  "license": "MIT",
7
- "homepage": "https://github.com/saadeghi/daisyui",
7
+ "homepage": "https://daisyui.com",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/saadeghi/daisyui.git"
11
11
  },
12
+ "funding": {
13
+ "type": "opencollective",
14
+ "url": "https://opencollective.com/daisyui"
15
+ },
12
16
  "bugs": {
13
17
  "url": "https://github.com/saadeghi/daisyui/issues"
14
18
  },
package/src/index.js CHANGED
@@ -85,7 +85,7 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config, postcss })
85
85
  const themeInjector = colorFunctions.injectThemes(addBase, config, themes)
86
86
  themeInjector;
87
87
 
88
- daisyuiIncludedItems.push("themes[" + themeInjector.themeOrder.length + "]");
88
+ daisyuiIncludedItems.push(themeInjector.themeOrder.length + " themes");
89
89
 
90
90
  // inject @utilities style needed by components
91
91
  if (config("daisyui.utils") != false) {
@@ -111,6 +111,11 @@ const mainFunction = ({ addBase, addComponents, addUtilities, config, postcss })
111
111
  "\x1b[0m",
112
112
  "" + daisyuiIncludedItems.join(", ")
113
113
  );
114
+ console.log(
115
+ "\x1b[32m%s\x1b[0m",
116
+ "❤︎ Support daisyUI: ", daisyuiInfo.funding.url,
117
+ "\x1b[0m",
118
+ );
114
119
  console.log();
115
120
  console.groupEnd();
116
121
  }