@agenticindiedev/ui 0.3.4 → 0.3.5
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 +60 -2
- package/dist/index.cjs +18 -18
- package/dist/index.d.ts +10 -10
- package/dist/index.js +13104 -13384
- package/dist/styles.css +0 -2520
- package/dist/themes/dark.scss +11 -1
- package/dist/themes/light.scss +11 -1
- package/package.json +20 -32
package/dist/themes/dark.scss
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Dark Theme - Composable CSS Variables
|
|
3
|
+
*
|
|
4
|
+
* This theme file contains CSS variable definitions only.
|
|
5
|
+
* Import it in your app's SCSS file alongside Tailwind CSS v4:
|
|
6
|
+
*
|
|
7
|
+
* @use 'tailwindcss';
|
|
8
|
+
* @use '@agenticindiedev/ui/themes/dark.scss' as *;
|
|
9
|
+
*
|
|
10
|
+
* You can then add custom @theme blocks to override or extend these variables.
|
|
11
|
+
*/
|
|
2
12
|
|
|
3
13
|
:root {
|
|
4
14
|
--background: 222.2 47.4% 11.2%;
|
package/dist/themes/light.scss
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Light Theme - Composable CSS Variables
|
|
3
|
+
*
|
|
4
|
+
* This theme file contains CSS variable definitions only.
|
|
5
|
+
* Import it in your app's SCSS file alongside Tailwind CSS v4:
|
|
6
|
+
*
|
|
7
|
+
* @use 'tailwindcss';
|
|
8
|
+
* @use '@agenticindiedev/ui/themes/light.scss' as *;
|
|
9
|
+
*
|
|
10
|
+
* You can then add custom @theme blocks to override or extend these variables.
|
|
11
|
+
*/
|
|
2
12
|
|
|
3
13
|
:root {
|
|
4
14
|
--background: 0 0% 98%;
|
package/package.json
CHANGED
|
@@ -28,15 +28,16 @@
|
|
|
28
28
|
"sonner": "2.0.7",
|
|
29
29
|
"tailwind-merge": "3.4.0"
|
|
30
30
|
},
|
|
31
|
-
"description": "
|
|
31
|
+
"description": "A modern, accessible React component library built with TypeScript, Tailwind CSS v4, and Radix UI. Features primitives, composites, and patterns with full theme support and Storybook documentation.",
|
|
32
32
|
"devDependencies": {
|
|
33
|
+
"@biomejs/biome": "2.3.10",
|
|
33
34
|
"@happy-dom/global-registrator": "20.0.11",
|
|
34
|
-
"@storybook/addon-a11y": "
|
|
35
|
-
"@storybook/addon-docs": "10.1.
|
|
36
|
-
"@storybook/addon-links": "10.1.
|
|
37
|
-
"@storybook/addon-vitest": "10.1.
|
|
38
|
-
"@storybook/react": "10.1.
|
|
39
|
-
"@storybook/react-vite": "10.1.
|
|
35
|
+
"@storybook/addon-a11y": "10.1.11",
|
|
36
|
+
"@storybook/addon-docs": "10.1.11",
|
|
37
|
+
"@storybook/addon-links": "10.1.11",
|
|
38
|
+
"@storybook/addon-vitest": "10.1.11",
|
|
39
|
+
"@storybook/react": "10.1.11",
|
|
40
|
+
"@storybook/react-vite": "10.1.11",
|
|
40
41
|
"@tailwindcss/postcss": "4.1.18",
|
|
41
42
|
"@testing-library/jest-dom": "6.9.1",
|
|
42
43
|
"@testing-library/react": "16.3.1",
|
|
@@ -44,44 +45,33 @@
|
|
|
44
45
|
"@types/node": "25.0.3",
|
|
45
46
|
"@types/react": "19.2.7",
|
|
46
47
|
"@types/react-dom": "19.2.3",
|
|
47
|
-
"@typescript-eslint/eslint-plugin": "8.50.1",
|
|
48
|
-
"@typescript-eslint/parser": "8.50.1",
|
|
49
48
|
"@vitejs/plugin-react": "5.1.2",
|
|
50
49
|
"@vitest/browser-playwright": "4.0.16",
|
|
51
50
|
"@vitest/coverage-v8": "4.0.16",
|
|
52
51
|
"ajv": "8.17.1",
|
|
53
52
|
"autoprefixer": "10.4.23",
|
|
54
|
-
"eslint": "9.39.2",
|
|
55
|
-
"eslint-config-prettier": "10.1.8",
|
|
56
|
-
"eslint-plugin-prettier": "5.5.4",
|
|
57
|
-
"eslint-plugin-react": "7.37.5",
|
|
58
|
-
"eslint-plugin-react-hooks": "7.0.1",
|
|
59
|
-
"eslint-plugin-storybook": "10.1.10",
|
|
60
53
|
"husky": "9.1.7",
|
|
61
54
|
"lint-staged": "16.2.7",
|
|
62
55
|
"playwright": "1.57.0",
|
|
63
56
|
"postcss": "8.5.6",
|
|
64
57
|
"postcss-cli": "11.0.1",
|
|
65
|
-
"prettier": "3.7.4",
|
|
66
58
|
"react": "19.2.3",
|
|
67
59
|
"react-dom": "19.2.3",
|
|
68
60
|
"sass": "1.97.1",
|
|
69
|
-
"storybook": "10.1.
|
|
61
|
+
"storybook": "10.1.11",
|
|
70
62
|
"tailwindcss": "4.1.18",
|
|
71
63
|
"typescript": "5.9.3",
|
|
72
64
|
"vite": "7.3.0",
|
|
73
65
|
"vite-plugin-dts": "4.5.4",
|
|
74
66
|
"vitest": "4.0.16",
|
|
75
|
-
"vitest-axe": "
|
|
67
|
+
"vitest-axe": "0.1.0"
|
|
76
68
|
},
|
|
77
69
|
"exports": {
|
|
78
70
|
".": {
|
|
79
71
|
"import": {
|
|
80
|
-
"types": "./dist/index.d.ts",
|
|
81
72
|
"default": "./dist/index.js"
|
|
82
73
|
},
|
|
83
74
|
"require": {
|
|
84
|
-
"types": "./dist/index.d.ts",
|
|
85
75
|
"default": "./dist/index.cjs"
|
|
86
76
|
}
|
|
87
77
|
},
|
|
@@ -101,12 +91,8 @@
|
|
|
101
91
|
],
|
|
102
92
|
"license": "MIT",
|
|
103
93
|
"lint-staged": {
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
],
|
|
107
|
-
"*.{ts,tsx,js,jsx}": [
|
|
108
|
-
"eslint --fix",
|
|
109
|
-
"prettier --write"
|
|
94
|
+
"*": [
|
|
95
|
+
"biome check --write"
|
|
110
96
|
]
|
|
111
97
|
},
|
|
112
98
|
"main": "./dist/index.cjs",
|
|
@@ -132,15 +118,17 @@
|
|
|
132
118
|
"build:lib": "./scripts/build-lib.sh",
|
|
133
119
|
"build:preset": "node scripts/build-preset.mjs",
|
|
134
120
|
"build:themes": "node scripts/build-themes.mjs",
|
|
121
|
+
"check": "biome check .",
|
|
122
|
+
"check:fix": "biome check --write .",
|
|
135
123
|
"deploy:storybook": "bun run build-storybook",
|
|
136
124
|
"dev": "storybook dev -p 6006",
|
|
137
|
-
"format:check": "
|
|
138
|
-
"format:fix": "
|
|
139
|
-
"lint:check": "
|
|
140
|
-
"lint:fix": "
|
|
125
|
+
"format:check": "biome check --formatter-enabled=false .",
|
|
126
|
+
"format:fix": "biome format --write .",
|
|
127
|
+
"lint:check": "biome lint .",
|
|
128
|
+
"lint:fix": "biome lint --write .",
|
|
141
129
|
"pre:install": "bun update --latest --recursive && bun install",
|
|
142
130
|
"prepare": "husky",
|
|
143
|
-
"prepare:deploy": "bun run
|
|
131
|
+
"prepare:deploy": "bun run check:fix && bun run build",
|
|
144
132
|
"prepublishOnly": "node -e \"const fs = require('fs'); if (!fs.existsSync('dist')) { console.error('ERROR: dist directory not found. Run \\\"bun run build\\\" first.'); process.exit(1); }\"",
|
|
145
133
|
"storybook": "storybook dev -p 6006",
|
|
146
134
|
"test": "bun test",
|
|
@@ -153,5 +141,5 @@
|
|
|
153
141
|
],
|
|
154
142
|
"type": "module",
|
|
155
143
|
"types": "./dist/index.d.ts",
|
|
156
|
-
"version": "0.3.
|
|
144
|
+
"version": "0.3.5"
|
|
157
145
|
}
|