@cupcodev/ui 1.0.2 → 1.0.7
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 +144 -93
- package/dist/{charts-KwYmX5He.d.cts → charts-DqY2Q-7w.d.cts} +8 -8
- package/dist/{charts-KwYmX5He.d.ts → charts-DqY2Q-7w.d.ts} +8 -8
- package/dist/charts.cjs +1 -1
- package/dist/charts.d.cts +1 -1
- package/dist/charts.d.ts +1 -1
- package/dist/charts.js +0 -1
- package/dist/index.cjs +1154 -976
- package/dist/index.d.cts +70 -55
- package/dist/index.d.ts +70 -55
- package/dist/index.js +1126 -949
- package/package.json +166 -157
- package/styles/base.css +24 -0
- package/styles/dock.css +875 -858
- package/styles/global.css +1192 -1190
- package/styles/index.css +3 -0
- package/styles/tokens.css +305 -305
- package/tailwind-preset.cjs +192 -192
- package/dist/charts 2.cjs +0 -500
- package/dist/charts 2.js +0 -454
- package/dist/charts-KwYmX5He.d 2.cts +0 -97
- package/dist/charts-KwYmX5He.d 2.ts +0 -97
- package/dist/charts.cjs 2.map +0 -1
- package/dist/charts.cjs.map +0 -1
- package/dist/charts.d 2.cts +0 -11
- package/dist/charts.d 2.ts +0 -11
- package/dist/charts.js 2.map +0 -1
- package/dist/charts.js.map +0 -1
- package/dist/index 2.cjs +0 -6568
- package/dist/index 2.js +0 -6207
- package/dist/index.cjs 2.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.d 2.cts +0 -1019
- package/dist/index.d 2.ts +0 -1019
- package/dist/index.js 2.map +0 -1
- package/dist/index.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,163 +1,172 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cupcodev/ui",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"
|
|
14
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@cupcodev/ui",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.0.7",
|
|
5
|
+
"packageManager": "npm@10.8.2",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"license": "UNLICENSED",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js",
|
|
15
|
+
"require": "./dist/index.cjs"
|
|
16
|
+
},
|
|
15
17
|
"./styles/global.css": "./styles/global.css",
|
|
18
|
+
"./styles/base.css": "./styles/base.css",
|
|
16
19
|
"./styles/tokens.css": "./styles/tokens.css",
|
|
17
|
-
"./styles/dock.css": "./styles/dock.css",
|
|
18
|
-
"./
|
|
19
|
-
"./
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"@
|
|
55
|
-
"@radix-ui/react-
|
|
56
|
-
"@radix-ui/react-
|
|
57
|
-
"@radix-ui/react-
|
|
58
|
-
"@radix-ui/react-
|
|
59
|
-
"@radix-ui/react-
|
|
60
|
-
"@radix-ui/react-
|
|
61
|
-
"@radix-ui/react-
|
|
62
|
-
"@radix-ui/react-
|
|
63
|
-
"@radix-ui/react-
|
|
64
|
-
"@radix-ui/react-
|
|
65
|
-
"@radix-ui/react-
|
|
66
|
-
"@radix-ui/react-
|
|
67
|
-
"@radix-ui/react-
|
|
68
|
-
"@radix-ui/react-
|
|
69
|
-
"@radix-ui/react-
|
|
70
|
-
"@radix-ui/react-
|
|
71
|
-
"@
|
|
72
|
-
"@
|
|
73
|
-
"@
|
|
74
|
-
"@
|
|
75
|
-
"@
|
|
76
|
-
"@
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
20
|
+
"./styles/dock.css": "./styles/dock.css",
|
|
21
|
+
"./styles/index.css": "./styles/index.css",
|
|
22
|
+
"./styles.css": "./styles/index.css",
|
|
23
|
+
"./tailwind-preset.cjs": "./tailwind-preset.cjs",
|
|
24
|
+
"./charts": {
|
|
25
|
+
"types": "./dist/charts.d.ts",
|
|
26
|
+
"import": "./dist/charts.js",
|
|
27
|
+
"require": "./dist/charts.cjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist",
|
|
32
|
+
"styles",
|
|
33
|
+
"tailwind-preset.cjs"
|
|
34
|
+
],
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=18.18.0"
|
|
37
|
+
},
|
|
38
|
+
"sideEffects": [
|
|
39
|
+
"**/*.css"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"dev": "vite",
|
|
43
|
+
"build": "npm run build:lib",
|
|
44
|
+
"build:lib": "tsup",
|
|
45
|
+
"build:site": "vite build",
|
|
46
|
+
"build:app": "npm run build:site",
|
|
47
|
+
"build:dev": "vite build --mode development",
|
|
48
|
+
"typecheck": "tsc -b",
|
|
49
|
+
"check:release": "npm run lint && npm run typecheck && npm run build:lib",
|
|
50
|
+
"check:quality": "npm run check:release && npm run build:site",
|
|
51
|
+
"test:consumer": "node ./scripts/consumer-smoke.mjs",
|
|
52
|
+
"lint": "eslint . --max-warnings=0",
|
|
53
|
+
"prepublishOnly": "npm run check:release",
|
|
54
|
+
"preview": "vite preview"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@eslint/js": "^9.32.0",
|
|
58
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
59
|
+
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
60
|
+
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
61
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
62
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
63
|
+
"@radix-ui/react-collapsible": "^1.1.11",
|
|
64
|
+
"@radix-ui/react-context-menu": "^2.2.15",
|
|
65
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
66
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
67
|
+
"@radix-ui/react-hover-card": "^1.1.14",
|
|
68
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
69
|
+
"@radix-ui/react-menubar": "^1.1.15",
|
|
70
|
+
"@radix-ui/react-navigation-menu": "^1.2.13",
|
|
71
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
72
|
+
"@radix-ui/react-progress": "^1.1.7",
|
|
73
|
+
"@radix-ui/react-radio-group": "^1.3.7",
|
|
74
|
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
75
|
+
"@radix-ui/react-select": "^2.2.5",
|
|
76
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
77
|
+
"@radix-ui/react-slider": "^1.3.5",
|
|
78
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
79
|
+
"@radix-ui/react-switch": "^1.2.5",
|
|
80
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
81
|
+
"@radix-ui/react-toast": "^1.2.14",
|
|
82
|
+
"@radix-ui/react-toggle": "^1.1.9",
|
|
83
|
+
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
84
|
+
"@radix-ui/react-tooltip": "^1.2.7",
|
|
85
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
86
|
+
"@tanstack/react-query": "^5.83.0",
|
|
87
|
+
"@types/node": "^22.16.5",
|
|
88
|
+
"@types/react": "^19.2.13",
|
|
89
|
+
"@types/react-dom": "^19.2.3",
|
|
90
|
+
"@vitejs/plugin-react-swc": "^3.11.0",
|
|
91
|
+
"@supabase/supabase-js": "^2.91.0",
|
|
92
|
+
"autoprefixer": "^10.4.21",
|
|
93
|
+
"class-variance-authority": "^0.7.1",
|
|
94
|
+
"clsx": "^2.1.1",
|
|
80
95
|
"cmdk": "^1.1.1",
|
|
96
|
+
"date-fns": "^3.6.0",
|
|
81
97
|
"embla-carousel-react": "^8.6.0",
|
|
82
|
-
"eslint": "^9.32.0",
|
|
83
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
84
|
-
"eslint-plugin-react-refresh": "^0.4.20",
|
|
85
|
-
"globals": "^15.15.0",
|
|
86
|
-
"input-otp": "^1.4.2",
|
|
87
|
-
"lovable-tagger": "^1.1.10",
|
|
88
|
-
"lucide-react": "^0.462.0",
|
|
89
|
-
"
|
|
90
|
-
"postcss-selector-parser": "6.0.10",
|
|
91
|
-
"
|
|
92
|
-
"react-
|
|
93
|
-
"react-
|
|
94
|
-
"react-
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"tailwindcss": "^
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"typescript": "^
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"@radix-ui/react-
|
|
108
|
-
"@radix-ui/react-
|
|
109
|
-
"@radix-ui/react-
|
|
110
|
-
"@radix-ui/react-
|
|
111
|
-
"@radix-ui/react-
|
|
112
|
-
"@radix-ui/react-
|
|
113
|
-
"@radix-ui/react-
|
|
114
|
-
"@radix-ui/react-
|
|
115
|
-
"@radix-ui/react-
|
|
116
|
-
"@radix-ui/react-
|
|
117
|
-
"@radix-ui/react-
|
|
118
|
-
"@radix-ui/react-
|
|
119
|
-
"@radix-ui/react-
|
|
120
|
-
"@radix-ui/react-
|
|
121
|
-
"@radix-ui/react-
|
|
122
|
-
"@radix-ui/react-
|
|
123
|
-
"@radix-ui/react-
|
|
124
|
-
"@radix-ui/react-
|
|
125
|
-
"@radix-ui/react-
|
|
126
|
-
"@radix-ui/react-
|
|
127
|
-
"@radix-ui/react-
|
|
128
|
-
"@radix-ui/react-
|
|
129
|
-
"@radix-ui/react-
|
|
130
|
-
"@radix-ui/react-
|
|
131
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
132
|
-
"@radix-ui/react-
|
|
133
|
-
"@
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"clsx": "^2.1.1",
|
|
98
|
+
"eslint": "^9.32.0",
|
|
99
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
100
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
101
|
+
"globals": "^15.15.0",
|
|
102
|
+
"input-otp": "^1.4.2",
|
|
103
|
+
"lovable-tagger": "^1.1.10",
|
|
104
|
+
"lucide-react": "^0.462.0",
|
|
105
|
+
"postcss": "^8.5.6",
|
|
106
|
+
"postcss-selector-parser": "6.0.10",
|
|
107
|
+
"react-day-picker": "^9.13.0",
|
|
108
|
+
"react-hook-form": "^7.61.1",
|
|
109
|
+
"react-resizable-panels": "^2.1.9",
|
|
110
|
+
"react-router-dom": "^6.30.1",
|
|
111
|
+
"recharts": "^2.15.4",
|
|
112
|
+
"sonner": "^1.7.4",
|
|
113
|
+
"tailwindcss": "^3.4.17",
|
|
114
|
+
"tailwindcss-animate": "^1.0.7",
|
|
115
|
+
"tsup": "^8.2.4",
|
|
116
|
+
"typescript": "^5.8.3",
|
|
117
|
+
"typescript-eslint": "^8.38.0",
|
|
118
|
+
"vaul": "^1.1.2",
|
|
119
|
+
"vite": "^5.4.19"
|
|
120
|
+
},
|
|
121
|
+
"peerDependencies": {
|
|
122
|
+
"@radix-ui/react-accordion": "^1.2.11",
|
|
123
|
+
"@radix-ui/react-alert-dialog": "^1.1.14",
|
|
124
|
+
"@radix-ui/react-aspect-ratio": "^1.1.7",
|
|
125
|
+
"@radix-ui/react-avatar": "^1.1.10",
|
|
126
|
+
"@radix-ui/react-checkbox": "^1.3.2",
|
|
127
|
+
"@radix-ui/react-collapsible": "^1.1.11",
|
|
128
|
+
"@radix-ui/react-context-menu": "^2.2.15",
|
|
129
|
+
"@radix-ui/react-dialog": "^1.1.14",
|
|
130
|
+
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
131
|
+
"@radix-ui/react-hover-card": "^1.1.14",
|
|
132
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
133
|
+
"@radix-ui/react-menubar": "^1.1.15",
|
|
134
|
+
"@radix-ui/react-navigation-menu": "^1.2.13",
|
|
135
|
+
"@radix-ui/react-popover": "^1.1.14",
|
|
136
|
+
"@radix-ui/react-progress": "^1.1.7",
|
|
137
|
+
"@radix-ui/react-radio-group": "^1.3.7",
|
|
138
|
+
"@radix-ui/react-scroll-area": "^1.2.9",
|
|
139
|
+
"@radix-ui/react-select": "^2.2.5",
|
|
140
|
+
"@radix-ui/react-separator": "^1.1.7",
|
|
141
|
+
"@radix-ui/react-slider": "^1.3.5",
|
|
142
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
143
|
+
"@radix-ui/react-switch": "^1.2.5",
|
|
144
|
+
"@radix-ui/react-tabs": "^1.1.12",
|
|
145
|
+
"@radix-ui/react-toast": "^1.2.14",
|
|
146
|
+
"@radix-ui/react-toggle": "^1.1.9",
|
|
147
|
+
"@radix-ui/react-toggle-group": "^1.1.10",
|
|
148
|
+
"@radix-ui/react-tooltip": "^1.2.7",
|
|
149
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
150
|
+
"class-variance-authority": "^0.7.1",
|
|
151
|
+
"clsx": "^2.1.1",
|
|
137
152
|
"cmdk": "^1.1.1",
|
|
153
|
+
"date-fns": "^3.6.0",
|
|
138
154
|
"embla-carousel-react": "^8.6.0",
|
|
139
|
-
"input-otp": "^1.4.2",
|
|
140
|
-
"lucide-react": "^0.462.0",
|
|
141
|
-
"
|
|
142
|
-
"react": "^
|
|
143
|
-
"react-
|
|
144
|
-
"react-
|
|
145
|
-
"react-
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
},
|
|
158
|
-
"pnpm": {
|
|
159
|
-
"overrides": {
|
|
160
|
-
"postcss-selector-parser": "6.0.10"
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
155
|
+
"input-otp": "^1.4.2",
|
|
156
|
+
"lucide-react": "^0.462.0",
|
|
157
|
+
"react": "^18.3.1 || ^19.0.0",
|
|
158
|
+
"react-day-picker": "^9.13.0",
|
|
159
|
+
"react-dom": "^18.3.1 || ^19.0.0",
|
|
160
|
+
"react-hook-form": "^7.61.1",
|
|
161
|
+
"react-resizable-panels": "^2.1.9",
|
|
162
|
+
"recharts": "^2.15.4",
|
|
163
|
+
"sonner": "^1.7.4",
|
|
164
|
+
"tailwind-merge": "^2.6.0",
|
|
165
|
+
"tailwindcss": "^3.4.17",
|
|
166
|
+
"tailwindcss-animate": "^1.0.7",
|
|
167
|
+
"vaul": "^1.1.2"
|
|
168
|
+
},
|
|
169
|
+
"publishConfig": {
|
|
170
|
+
"access": "public"
|
|
171
|
+
}
|
|
172
|
+
}
|
package/styles/base.css
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import url("https://fonts.googleapis.com/css2?family=Tomorrow:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
2
|
+
@import "./tokens.css";
|
|
3
|
+
|
|
4
|
+
/* Base leve: tokens + tipografia + fundo/foreground sem dependencias de @tailwind/@apply. */
|
|
5
|
+
html {
|
|
6
|
+
min-width: 380px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
background: hsl(var(--background));
|
|
12
|
+
color: hsl(var(--foreground));
|
|
13
|
+
font-family: var(--font-ui);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h1,
|
|
17
|
+
h2,
|
|
18
|
+
h3,
|
|
19
|
+
h4,
|
|
20
|
+
h5,
|
|
21
|
+
h6 {
|
|
22
|
+
font-family: var(--font-display);
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
}
|