@acsrocha/ui 1.0.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 +132 -0
- package/dist/index.cjs +1637 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +395 -0
- package/dist/index.d.ts +395 -0
- package/dist/index.js +1576 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +3242 -0
- package/dist/theme.css +3242 -0
- package/package.json +60 -0
- package/tailwind.preset.cjs +49 -0
package/package.json
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@acsrocha/ui",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Biblioteca de componentes React reutilizáveis por Carlos Rocha",
|
|
5
|
+
"author": "Carlos Rocha",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./dist/index.cjs",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./theme.css": "./dist/theme.css",
|
|
17
|
+
"./styles.css": "./dist/styles.css",
|
|
18
|
+
"./tailwind.preset": "./tailwind.preset.cjs"
|
|
19
|
+
},
|
|
20
|
+
"files": [
|
|
21
|
+
"dist",
|
|
22
|
+
"tailwind.preset.cjs"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsup",
|
|
26
|
+
"build:css": "tailwindcss -i ./src/theme/theme.css -o ./dist/theme.css && tailwindcss -i ./src/theme/styles.css -o ./dist/styles.css",
|
|
27
|
+
"build:all": "npm run build && npm run build:css",
|
|
28
|
+
"dev": "tsup --watch",
|
|
29
|
+
"type-check": "tsc --noEmit",
|
|
30
|
+
"lint": "eslint src"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": ">=18.0.0",
|
|
34
|
+
"react-dom": ">=18.0.0",
|
|
35
|
+
"@tanstack/react-query": ">=5.0.0",
|
|
36
|
+
"framer-motion": ">=10.0.0"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
40
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
41
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
42
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
43
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
44
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
45
|
+
"class-variance-authority": "^0.7.1",
|
|
46
|
+
"clsx": "^2.1.1",
|
|
47
|
+
"lucide-react": "^0.562.0",
|
|
48
|
+
"tailwind-merge": "^3.3.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/react": "^19.1.10",
|
|
52
|
+
"@types/react-dom": "^19.1.7",
|
|
53
|
+
"autoprefixer": "^10.4.21",
|
|
54
|
+
"postcss": "^8.5.6",
|
|
55
|
+
"tailwindcss": "^3.4.0",
|
|
56
|
+
"tailwindcss-animate": "^1.0.7",
|
|
57
|
+
"tsup": "^8.0.0",
|
|
58
|
+
"typescript": "~5.8.3"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/** @type {import('tailwindcss').Config} */
|
|
2
|
+
module.exports = {
|
|
3
|
+
theme: {
|
|
4
|
+
extend: {
|
|
5
|
+
fontFamily: {
|
|
6
|
+
sans: ['Inter', 'system-ui', '-apple-system', 'sans-serif'],
|
|
7
|
+
},
|
|
8
|
+
colors: {
|
|
9
|
+
border: 'hsl(var(--border))',
|
|
10
|
+
input: 'hsl(var(--input))',
|
|
11
|
+
ring: 'hsl(var(--ring))',
|
|
12
|
+
background: 'hsl(var(--background))',
|
|
13
|
+
foreground: 'hsl(var(--foreground))',
|
|
14
|
+
primary: {
|
|
15
|
+
DEFAULT: 'hsl(var(--primary))',
|
|
16
|
+
foreground: 'hsl(var(--primary-foreground))',
|
|
17
|
+
},
|
|
18
|
+
secondary: {
|
|
19
|
+
DEFAULT: 'hsl(var(--secondary))',
|
|
20
|
+
foreground: 'hsl(var(--secondary-foreground))',
|
|
21
|
+
},
|
|
22
|
+
destructive: {
|
|
23
|
+
DEFAULT: 'hsl(var(--destructive))',
|
|
24
|
+
foreground: 'hsl(var(--destructive-foreground))',
|
|
25
|
+
},
|
|
26
|
+
muted: {
|
|
27
|
+
DEFAULT: 'hsl(var(--muted))',
|
|
28
|
+
foreground: 'hsl(var(--muted-foreground))',
|
|
29
|
+
},
|
|
30
|
+
accent: {
|
|
31
|
+
DEFAULT: 'hsl(var(--accent))',
|
|
32
|
+
foreground: 'hsl(var(--accent-foreground))',
|
|
33
|
+
},
|
|
34
|
+
card: {
|
|
35
|
+
DEFAULT: 'hsl(var(--card))',
|
|
36
|
+
foreground: 'hsl(var(--card-foreground))',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
borderRadius: {
|
|
40
|
+
lg: 'var(--radius)',
|
|
41
|
+
md: 'calc(var(--radius) - 2px)',
|
|
42
|
+
sm: 'calc(var(--radius) - 4px)',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
plugins: [
|
|
47
|
+
require('tailwindcss-animate'),
|
|
48
|
+
],
|
|
49
|
+
};
|