centoui 1.0.0-alpha.37 → 1.0.0-alpha.39

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
@@ -57,17 +57,17 @@ A single `centoui.css` file controls the entire visual identity. It defines sema
57
57
  The `defineConfig` helper is re-exported from this package for use in `centoui.config.ts`:
58
58
 
59
59
  ```ts
60
- import { defineConfig } from "centoui"
60
+ import { defineConfig } from 'centoui'
61
61
 
62
62
  export default defineConfig({
63
- componentsDir: "./src/components/centoui",
64
- themeFilePath: "./src/assets/css/centoui.css",
65
- utilsFilePath: "./src/utils/centoui-utils.ts",
63
+ componentsDir: './src/components/centoui',
66
64
  icons: {
67
- check: "lucide:check",
68
- close: "lucide:x",
69
- chevronDown: "lucide:chevron-down",
65
+ check: 'lucide:check',
66
+ chevronDown: 'lucide:chevron-down',
67
+ close: 'lucide:x',
70
68
  },
69
+ themeFilePath: './src/assets/css/centoui.css',
70
+ utilsFilePath: './src/utils/centoui-utils.ts',
71
71
  })
72
72
  ```
73
73
 
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { CentoUIConfig, CentoUIConfig as CentoUIConfig$1 } from "centoui-cli";
3
3
  //#region src/index.d.ts
4
4
  /**
5
5
  * Creates the CentoUI config
6
- * @param config - CentoUI config
6
+ * @param config CentoUI config
7
7
  * @returns CentoUI config
8
8
  */
9
9
  declare function defineConfig(config: CentoUIConfig$1): CentoUIConfig$1;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  //#region src/index.ts
2
2
  /**
3
3
  * Creates the CentoUI config
4
- * @param config - CentoUI config
4
+ * @param config CentoUI config
5
5
  * @returns CentoUI config
6
6
  */
7
7
  function defineConfig(config) {
package/package.json CHANGED
@@ -1,20 +1,12 @@
1
1
  {
2
2
  "name": "centoui",
3
3
  "type": "module",
4
- "description": "Vue components for elegant interfaces",
5
- "keywords": [
6
- "vue",
7
- "ui",
8
- "components",
9
- "tailwindcss",
10
- "tailwind",
11
- "design-system",
12
- "accessibility"
13
- ],
4
+ "version": "1.0.0-alpha.39",
14
5
  "private": false,
15
- "version": "1.0.0-alpha.37",
6
+ "description": "Vue components for elegant interfaces",
16
7
  "author": "Favour Emeka <favorodera@gmail.com>",
17
8
  "license": "MIT",
9
+ "funding": "https://github.com/sponsors/favorodera",
18
10
  "homepage": "https://centoui.vercel.app",
19
11
  "repository": {
20
12
  "type": "git",
@@ -23,78 +15,67 @@
23
15
  "bugs": {
24
16
  "url": "https://github.com/favorodera/centoui/issues"
25
17
  },
18
+ "keywords": [
19
+ "vue",
20
+ "ui",
21
+ "components",
22
+ "tailwindcss",
23
+ "tailwind",
24
+ "design-system",
25
+ "accessibility"
26
+ ],
26
27
  "exports": {
27
28
  ".": "./dist/index.js",
28
29
  "./package.json": "./package.json"
29
30
  },
31
+ "bin": {
32
+ "centoui": "./bin/centoui.js"
33
+ },
30
34
  "files": [
31
35
  "dist"
32
36
  ],
33
37
  "publishConfig": {
34
38
  "access": "public"
35
39
  },
36
- "bin": {
37
- "centoui": "./bin/centoui.js"
40
+ "engines": {
41
+ "node": ">=22.0.0",
42
+ "pnpm": ">=11.0.0"
43
+ },
44
+ "peerDependencies": {
45
+ "vue": "^3.0.0"
38
46
  },
39
47
  "dependencies": {
40
- "centoui-cli": "1.0.0-alpha.37"
48
+ "centoui-cli": "1.0.0-alpha.39"
41
49
  },
42
50
  "devDependencies": {
43
- "@clack/prompts": "^1.2.0",
44
- "@nuxt/icon": "2.2.2",
51
+ "@clack/prompts": "^1.5.1",
52
+ "@favorodera/eslint-config": "^0.1.4",
53
+ "@iconify/vue": "^5.0.1",
54
+ "@tailwindcss/vite": "^4.3.1",
45
55
  "@types/fs-extra": "^11.0.4",
46
- "@vitejs/plugin-vue": "^6.0.6",
47
- "@vitest/ui": "^4.1.5",
48
- "@vue/test-utils": "^2.4.8",
49
- "fs-extra": "^11.3.4",
50
- "happy-dom": "^20.9.0",
56
+ "@vitejs/plugin-vue": "^6.0.7",
57
+ "@vitest/ui": "^4.1.8",
58
+ "@vueuse/core": "^14.3.0",
59
+ "fs-extra": "^11.3.5",
51
60
  "pathe": "^2.0.3",
52
- "tsdown": "^0.21.7",
53
- "tsx": "^4.21.0",
54
- "vite": "^8.0.8",
55
- "vitest": "^4.1.2",
56
- "vitest-axe": "^0.1.0",
57
- "vue": "^3.5.34",
58
- "vue-tsc": "^3.2.6",
59
- "@iconify/vue": "^5.0.1",
60
- "@tailwindcss/vite": "^4.3.0",
61
- "tailwind-variants": "^3.2.2",
61
+ "reka-ui": "^2.9.10",
62
62
  "tailwind-merge": "^3.6.0",
63
- "tw-animate-css": "^1.4.0",
64
- "tailwindcss": "^4.3.0",
65
- "reka-ui": "^2.9.8",
66
- "@vueuse/core": "^14.3.0"
67
- },
68
- "peerDependencies": {
69
- "vue": "^3.5.0",
70
- "@iconify/vue": "^5.0.0",
71
- "@tailwindcss/vite": "^4.3.0",
72
63
  "tailwind-variants": "^3.2.2",
73
- "tailwind-merge": "^3.5.0",
64
+ "tailwindcss": "^4.3.1",
65
+ "tsdown": "^0.22.2",
66
+ "tsx": "^4.22.4",
74
67
  "tw-animate-css": "^1.4.0",
75
- "tailwindcss": "^4.3.0",
76
- "reka-ui": "^2.9.6",
77
- "@vueuse/core": "^14.2.1",
78
- "@nuxt/icon": "2.2.2"
79
- },
80
- "peerDependenciesMeta": {
81
- "@iconify/vue": {
82
- "optional": true
83
- },
84
- "@nuxt/icon": {
85
- "optional": true
86
- }
87
- },
88
- "engines": {
89
- "node": ">=22.0.0",
90
- "pnpm": ">=11.0.0"
68
+ "vite": "^8.0.16",
69
+ "vitest": "^4.1.8",
70
+ "vue": "^3.5.38",
71
+ "vue-tsc": "^3.3.5"
91
72
  },
92
73
  "scripts": {
93
74
  "build:registry": "tsx scripts/build-registry.ts",
94
75
  "prebuild": "pnpm run build:registry",
95
76
  "build": "tsdown",
96
77
  "dev": "tsdown --watch",
97
- "test": "vitest",
78
+ "test": "vitest run",
98
79
  "test:watch": "vitest watch --ui",
99
80
  "typecheck": "vue-tsc --noEmit",
100
81
  "lint": "eslint . --fix"