untitledui 0.1.1
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/dist/commands/add.js +339 -0
- package/dist/commands/init.js +436 -0
- package/dist/helper/download-tar-api.js +129 -0
- package/dist/helper/download-tar.js +81 -0
- package/dist/helper/find-css-file.js +19 -0
- package/dist/helper/formatText.js +37 -0
- package/dist/helper/get-components-api.js +47 -0
- package/dist/helper/get-components-list.js +62 -0
- package/dist/helper/get-components.js +19 -0
- package/dist/helper/get-config.js +163 -0
- package/dist/helper/get-package-info.js +99 -0
- package/dist/helper/get-pkg-manager.js +16 -0
- package/dist/helper/get-project.js +176 -0
- package/dist/helper/install-template.js +29 -0
- package/dist/helper/match-color-css.js +82 -0
- package/dist/helper/update-color-css.js +134 -0
- package/dist/index.js +25 -0
- package/dist/package.json +50 -0
- package/dist/res/components.json +520 -0
- package/dist/res/config.json +3 -0
- package/package.json +61 -0
- package/templates/default/.prettierrc +10 -0
- package/templates/default/README.md +36 -0
- package/templates/default/eslint.config.mjs +58 -0
- package/templates/default/next.config.ts +6 -0
- package/templates/default/package.json +57 -0
- package/templates/default/postcss.config.js +5 -0
- package/templates/default/public/favicon.ico +0 -0
- package/templates/default/public/marketing/smiling-girl.png +0 -0
- package/templates/default/public/marketing/spirals.webp +0 -0
- package/templates/default/src/app/home-screen.tsx +109 -0
- package/templates/default/src/app/layout.tsx +42 -0
- package/templates/default/src/app/not-found.tsx +40 -0
- package/templates/default/src/app/page.tsx +3 -0
- package/templates/default/src/components/foundations/dot-icon.tsx +27 -0
- package/templates/default/src/components/foundations/featured-icon/featured-icons.tsx +153 -0
- package/templates/default/src/components/foundations/logo/UntitledLogo.tsx +63 -0
- package/templates/default/src/components/foundations/logo/UntitledLogoMinimal.tsx +164 -0
- package/templates/default/src/components/foundations/payment-icons/amex-icon.tsx +19 -0
- package/templates/default/src/components/foundations/payment-icons/apple-pay-icon.tsx +27 -0
- package/templates/default/src/components/foundations/payment-icons/discover-icon.tsx +34 -0
- package/templates/default/src/components/foundations/payment-icons/index.tsx +10 -0
- package/templates/default/src/components/foundations/payment-icons/mastercard-icon.tsx +39 -0
- package/templates/default/src/components/foundations/payment-icons/paypal-icon.tsx +45 -0
- package/templates/default/src/components/foundations/payment-icons/stripe-icon.tsx +27 -0
- package/templates/default/src/components/foundations/payment-icons/union-pay-icon.tsx +37 -0
- package/templates/default/src/components/foundations/payment-icons/visa-icon.tsx +27 -0
- package/templates/default/src/components/marketing/header-navigation/base-components/nav-menu-item.tsx +41 -0
- package/templates/default/src/components/marketing/header-navigation/components/header.tsx +245 -0
- package/templates/default/src/components/marketing/header-navigation/dropdown-header-navigation.tsx +53 -0
- package/templates/default/src/components/shared/avatar/avatar-label-group.tsx +32 -0
- package/templates/default/src/components/shared/avatar/avatar-profile-photo.tsx +84 -0
- package/templates/default/src/components/shared/avatar/avatar.tsx +131 -0
- package/templates/default/src/components/shared/avatar/base-components/avatar-add-button.tsx +33 -0
- package/templates/default/src/components/shared/avatar/base-components/avatar-company-icon.tsx +26 -0
- package/templates/default/src/components/shared/avatar/base-components/avatar-online-indicator.tsx +31 -0
- package/templates/default/src/components/shared/avatar/base-components/index.ts +4 -0
- package/templates/default/src/components/shared/avatar/base-components/verified-tick.tsx +34 -0
- package/templates/default/src/components/shared/avatar/utils.ts +12 -0
- package/templates/default/src/components/shared/badges/badge-groups.tsx +176 -0
- package/templates/default/src/components/shared/badges/badge-types.ts +264 -0
- package/templates/default/src/components/shared/badges/badges.tsx +479 -0
- package/templates/default/src/components/shared/button-group/button-group.tsx +97 -0
- package/templates/default/src/components/shared/buttons/app-store-buttons-outline.tsx +454 -0
- package/templates/default/src/components/shared/buttons/app-store-buttons.tsx +806 -0
- package/templates/default/src/components/shared/buttons/button-utility.tsx +87 -0
- package/templates/default/src/components/shared/buttons/button.tsx +284 -0
- package/templates/default/src/components/shared/buttons/close-button.tsx +39 -0
- package/templates/default/src/components/shared/buttons/social-button.tsx +135 -0
- package/templates/default/src/components/shared/buttons/social-logos.tsx +115 -0
- package/templates/default/src/components/shared/checkbox/checkbox.tsx +120 -0
- package/templates/default/src/components/shared/dropdown/dropdown.tsx +138 -0
- package/templates/default/src/components/shared/input-dropdown/combobox.tsx +161 -0
- package/templates/default/src/components/shared/input-dropdown/dropdown-item.tsx +98 -0
- package/templates/default/src/components/shared/input-dropdown/input-dropdown.tsx +172 -0
- package/templates/default/src/components/shared/input-dropdown/multi-select.tsx +373 -0
- package/templates/default/src/components/shared/input-dropdown/popover.tsx +36 -0
- package/templates/default/src/components/shared/input-dropdown/select.tsx +63 -0
- package/templates/default/src/components/shared/inputs/file-upload-trigger.tsx +74 -0
- package/templates/default/src/components/shared/inputs/form/form.tsx +10 -0
- package/templates/default/src/components/shared/inputs/hint-text.tsx +34 -0
- package/templates/default/src/components/shared/inputs/input/index.tsx +189 -0
- package/templates/default/src/components/shared/inputs/input/input-payment.tsx +134 -0
- package/templates/default/src/components/shared/inputs/input/input-with-button.tsx +69 -0
- package/templates/default/src/components/shared/inputs/input/input-with-dropdown.tsx +178 -0
- package/templates/default/src/components/shared/inputs/input/input-with-prefix.tsx +74 -0
- package/templates/default/src/components/shared/inputs/label.tsx +46 -0
- package/templates/default/src/components/shared/inputs/textarea/textarea.tsx +82 -0
- package/templates/default/src/components/shared/progress-indicators/progress-circles.tsx +176 -0
- package/templates/default/src/components/shared/progress-indicators/progress-indicators.tsx +86 -0
- package/templates/default/src/components/shared/progress-indicators/simple-circle.tsx +29 -0
- package/templates/default/src/components/shared/radio-buttons/radio-buttons.tsx +125 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-avatar.tsx +62 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-checkbox.tsx +72 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-icon-card.tsx +95 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-icon-simple.tsx +70 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-payment-icon.tsx +71 -0
- package/templates/default/src/components/shared/radio-groups/radio-group-radio-button.tsx +76 -0
- package/templates/default/src/components/shared/radio-groups/radio-groups.tsx +8 -0
- package/templates/default/src/components/shared/slider/slider.tsx +76 -0
- package/templates/default/src/components/shared/tags/base-components/tag-checkbox.tsx +47 -0
- package/templates/default/src/components/shared/tags/base-components/tag-close-x.tsx +34 -0
- package/templates/default/src/components/shared/tags/tags.tsx +162 -0
- package/templates/default/src/components/shared/toggle/toggle.tsx +140 -0
- package/templates/default/src/components/shared/tooltips/tooltips.tsx +140 -0
- package/templates/default/src/components/utils/index.ts +48 -0
- package/templates/default/src/components/utils/isDeepEqual.ts +31 -0
- package/templates/default/src/components/utils/isReactComponent.ts +22 -0
- package/templates/default/src/components/utils/mergeRefs.ts +19 -0
- package/templates/default/src/components/utils/useBreakpoint.ts +36 -0
- package/templates/default/src/components/utils/uuid.ts +9 -0
- package/templates/default/src/fonts/GeistMonoVF.woff +0 -0
- package/templates/default/src/fonts/GeistVF.woff +0 -0
- package/templates/default/src/hooks/use-resize-observer.tsx +55 -0
- package/templates/default/src/providers/theme.tsx +11 -0
- package/templates/default/src/styles/colors.css +805 -0
- package/templates/default/src/styles/globals.css +86 -0
- package/templates/default/src/styles/text-styles.css +177 -0
- package/templates/default/src/styles/theme.css +1310 -0
- package/templates/default/src/styles/typography.css +428 -0
- package/templates/default/tsconfig.json +27 -0
|
@@ -0,0 +1,520 @@
|
|
|
1
|
+
{
|
|
2
|
+
"shared": [
|
|
3
|
+
{
|
|
4
|
+
"name": "avatar-label-group",
|
|
5
|
+
"dependencies": [
|
|
6
|
+
"react",
|
|
7
|
+
"@a-peak-works/untitledui-icons",
|
|
8
|
+
"tailwind-merge",
|
|
9
|
+
"react-aria",
|
|
10
|
+
"react-aria-components"
|
|
11
|
+
],
|
|
12
|
+
"devDependencies": [],
|
|
13
|
+
"files": [
|
|
14
|
+
"components/utils/index.ts",
|
|
15
|
+
"components/shared/avatar/avatar.tsx",
|
|
16
|
+
"components/shared/avatar/base-components/index.ts",
|
|
17
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
18
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
19
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
20
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
21
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
22
|
+
"components/shared/avatar/avatar-label-group.tsx"
|
|
23
|
+
],
|
|
24
|
+
"type": "components:shared"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "avatar-profile-photo",
|
|
28
|
+
"dependencies": [
|
|
29
|
+
"react",
|
|
30
|
+
"@a-peak-works/untitledui-icons",
|
|
31
|
+
"tailwind-merge",
|
|
32
|
+
"react-aria",
|
|
33
|
+
"react-aria-components"
|
|
34
|
+
],
|
|
35
|
+
"devDependencies": [],
|
|
36
|
+
"files": [
|
|
37
|
+
"components/utils/index.ts",
|
|
38
|
+
"components/shared/avatar/avatar.tsx",
|
|
39
|
+
"components/shared/avatar/base-components/index.ts",
|
|
40
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
41
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
42
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
43
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
44
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
45
|
+
"components/shared/avatar/avatar-profile-photo.tsx"
|
|
46
|
+
],
|
|
47
|
+
"type": "components:shared"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "avatar",
|
|
51
|
+
"dependencies": [
|
|
52
|
+
"tailwind-merge",
|
|
53
|
+
"@a-peak-works/untitledui-icons",
|
|
54
|
+
"react",
|
|
55
|
+
"react-aria",
|
|
56
|
+
"react-aria-components"
|
|
57
|
+
],
|
|
58
|
+
"devDependencies": [],
|
|
59
|
+
"files": [
|
|
60
|
+
"components/utils/index.ts",
|
|
61
|
+
"components/shared/avatar/base-components/index.ts",
|
|
62
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
63
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
64
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
65
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
66
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
67
|
+
"components/shared/avatar/avatar.tsx"
|
|
68
|
+
],
|
|
69
|
+
"type": "components:shared"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "badge-groups",
|
|
73
|
+
"dependencies": [
|
|
74
|
+
"react",
|
|
75
|
+
"tailwind-merge",
|
|
76
|
+
"@a-peak-works/untitledui-icons"
|
|
77
|
+
],
|
|
78
|
+
"devDependencies": [],
|
|
79
|
+
"files": [
|
|
80
|
+
"components/utils/index.ts",
|
|
81
|
+
"components/utils/isReactComponent.ts",
|
|
82
|
+
"components/shared/badges/badge-groups.tsx"
|
|
83
|
+
],
|
|
84
|
+
"type": "components:shared"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "badges",
|
|
88
|
+
"dependencies": [
|
|
89
|
+
"react",
|
|
90
|
+
"tailwind-merge",
|
|
91
|
+
"@a-peak-works/untitledui-icons"
|
|
92
|
+
],
|
|
93
|
+
"devDependencies": [],
|
|
94
|
+
"files": [
|
|
95
|
+
"components/foundations/dot-icon.tsx",
|
|
96
|
+
"components/utils/index.ts",
|
|
97
|
+
"components/shared/badges/badge-types.ts",
|
|
98
|
+
"components/shared/badges/badges.tsx"
|
|
99
|
+
],
|
|
100
|
+
"type": "components:shared"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "button-group",
|
|
104
|
+
"dependencies": [
|
|
105
|
+
"react",
|
|
106
|
+
"tailwind-merge",
|
|
107
|
+
"react-aria-components"
|
|
108
|
+
],
|
|
109
|
+
"devDependencies": [],
|
|
110
|
+
"files": [
|
|
111
|
+
"components/utils/index.ts",
|
|
112
|
+
"components/utils/isReactComponent.ts",
|
|
113
|
+
"components/shared/button-group/button-group.tsx"
|
|
114
|
+
],
|
|
115
|
+
"type": "components:shared"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "button-utility",
|
|
119
|
+
"dependencies": [
|
|
120
|
+
"react",
|
|
121
|
+
"react-aria",
|
|
122
|
+
"react-aria-components",
|
|
123
|
+
"tailwind-merge"
|
|
124
|
+
],
|
|
125
|
+
"devDependencies": [],
|
|
126
|
+
"files": [
|
|
127
|
+
"components/utils/index.ts",
|
|
128
|
+
"components/utils/isReactComponent.ts",
|
|
129
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
130
|
+
"components/shared/buttons/button-utility.tsx"
|
|
131
|
+
],
|
|
132
|
+
"type": "components:shared"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "social-button",
|
|
136
|
+
"dependencies": [
|
|
137
|
+
"react",
|
|
138
|
+
"tailwind-merge",
|
|
139
|
+
"react-aria-components"
|
|
140
|
+
],
|
|
141
|
+
"devDependencies": [],
|
|
142
|
+
"files": [
|
|
143
|
+
"components/utils/index.ts",
|
|
144
|
+
"components/shared/buttons/social-logos.tsx",
|
|
145
|
+
"components/shared/buttons/social-button.tsx"
|
|
146
|
+
],
|
|
147
|
+
"type": "components:shared"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "close-button",
|
|
151
|
+
"dependencies": [
|
|
152
|
+
"tailwind-merge",
|
|
153
|
+
"react",
|
|
154
|
+
"@a-peak-works/untitledui-icons"
|
|
155
|
+
],
|
|
156
|
+
"devDependencies": [],
|
|
157
|
+
"files": [
|
|
158
|
+
"components/utils/index.ts",
|
|
159
|
+
"components/shared/buttons/close-button.tsx"
|
|
160
|
+
],
|
|
161
|
+
"type": "components:shared"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "social-logos",
|
|
165
|
+
"dependencies": [
|
|
166
|
+
"react"
|
|
167
|
+
],
|
|
168
|
+
"devDependencies": [],
|
|
169
|
+
"files": [
|
|
170
|
+
"components/shared/buttons/social-logos.tsx"
|
|
171
|
+
],
|
|
172
|
+
"type": "components:shared"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "app-store-buttons",
|
|
176
|
+
"dependencies": [
|
|
177
|
+
"tailwind-merge",
|
|
178
|
+
"react"
|
|
179
|
+
],
|
|
180
|
+
"devDependencies": [],
|
|
181
|
+
"files": [
|
|
182
|
+
"components/utils/index.ts",
|
|
183
|
+
"components/shared/buttons/app-store-buttons.tsx"
|
|
184
|
+
],
|
|
185
|
+
"type": "components:shared"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "button",
|
|
189
|
+
"dependencies": [
|
|
190
|
+
"react",
|
|
191
|
+
"tailwind-merge",
|
|
192
|
+
"next",
|
|
193
|
+
"react-aria-components"
|
|
194
|
+
],
|
|
195
|
+
"files": [
|
|
196
|
+
"components/utils/index.ts",
|
|
197
|
+
"components/utils/isReactComponent.ts",
|
|
198
|
+
"components/shared/buttons/button.tsx"
|
|
199
|
+
],
|
|
200
|
+
"type": "components:shared"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "app-store-buttons-outline",
|
|
204
|
+
"dependencies": [
|
|
205
|
+
"tailwind-merge",
|
|
206
|
+
"react"
|
|
207
|
+
],
|
|
208
|
+
"devDependencies": [],
|
|
209
|
+
"files": [
|
|
210
|
+
"components/utils/index.ts",
|
|
211
|
+
"components/shared/buttons/app-store-buttons-outline.tsx"
|
|
212
|
+
],
|
|
213
|
+
"type": "components:shared"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "checkbox",
|
|
217
|
+
"dependencies": [
|
|
218
|
+
"tailwind-merge",
|
|
219
|
+
"react",
|
|
220
|
+
"react-aria-components"
|
|
221
|
+
],
|
|
222
|
+
"devDependencies": [],
|
|
223
|
+
"files": [
|
|
224
|
+
"components/utils/index.ts",
|
|
225
|
+
"components/shared/checkbox/checkbox.tsx"
|
|
226
|
+
],
|
|
227
|
+
"type": "components:shared"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "dropdown",
|
|
231
|
+
"dependencies": [
|
|
232
|
+
"tailwind-merge",
|
|
233
|
+
"react",
|
|
234
|
+
"@a-peak-works/untitledui-icons",
|
|
235
|
+
"react-aria-components"
|
|
236
|
+
],
|
|
237
|
+
"devDependencies": [],
|
|
238
|
+
"files": [
|
|
239
|
+
"components/utils/index.ts",
|
|
240
|
+
"components/shared/dropdown/dropdown.tsx"
|
|
241
|
+
],
|
|
242
|
+
"type": "components:shared"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "select",
|
|
246
|
+
"dependencies": [
|
|
247
|
+
"react",
|
|
248
|
+
"react-aria-components",
|
|
249
|
+
"@a-peak-works/untitledui-icons",
|
|
250
|
+
"react-aria",
|
|
251
|
+
"tailwind-merge"
|
|
252
|
+
],
|
|
253
|
+
"devDependencies": [],
|
|
254
|
+
"files": [
|
|
255
|
+
"components/shared/inputs/hint-text.tsx",
|
|
256
|
+
"components/shared/inputs/label.tsx",
|
|
257
|
+
"components/utils/index.ts",
|
|
258
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
259
|
+
"components/shared/input-dropdown/select.tsx"
|
|
260
|
+
],
|
|
261
|
+
"type": "components:shared"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"name": "input-dropdown",
|
|
265
|
+
"dependencies": [
|
|
266
|
+
"react",
|
|
267
|
+
"@a-peak-works/untitledui-icons",
|
|
268
|
+
"react-aria-components",
|
|
269
|
+
"react-hotkeys-hook",
|
|
270
|
+
"tailwind-merge",
|
|
271
|
+
"react-aria"
|
|
272
|
+
],
|
|
273
|
+
"devDependencies": [],
|
|
274
|
+
"files": [
|
|
275
|
+
"components/foundations/dot-icon.tsx",
|
|
276
|
+
"components/utils/index.ts",
|
|
277
|
+
"components/shared/avatar/avatar.tsx",
|
|
278
|
+
"components/shared/badges/badge-types.ts",
|
|
279
|
+
"components/shared/inputs/hint-text.tsx",
|
|
280
|
+
"components/shared/inputs/label.tsx",
|
|
281
|
+
"components/shared/input-dropdown/combobox.tsx",
|
|
282
|
+
"components/shared/input-dropdown/dropdown-item.tsx",
|
|
283
|
+
"components/shared/input-dropdown/popover.tsx",
|
|
284
|
+
"components/shared/avatar/base-components/index.ts",
|
|
285
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
286
|
+
"hooks/use-resize-observer.tsx",
|
|
287
|
+
"components/shared/input-dropdown/input-dropdown.tsx",
|
|
288
|
+
"components/shared/input-dropdown/multi-select.tsx",
|
|
289
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
290
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
291
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
292
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
293
|
+
"components/shared/tags/base-components/tag-close-x.tsx",
|
|
294
|
+
"components/shared/input-dropdown/input-dropdown.tsx"
|
|
295
|
+
],
|
|
296
|
+
"type": "components:shared"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "multi-select",
|
|
300
|
+
"dependencies": [
|
|
301
|
+
"react",
|
|
302
|
+
"@a-peak-works/untitledui-icons",
|
|
303
|
+
"react-aria-components",
|
|
304
|
+
"tailwind-merge",
|
|
305
|
+
"react-aria",
|
|
306
|
+
"react-hotkeys-hook"
|
|
307
|
+
],
|
|
308
|
+
"devDependencies": [],
|
|
309
|
+
"files": [
|
|
310
|
+
"components/utils/index.ts",
|
|
311
|
+
"hooks/use-resize-observer.tsx",
|
|
312
|
+
"components/shared/avatar/avatar.tsx",
|
|
313
|
+
"components/shared/badges/badge-types.ts",
|
|
314
|
+
"components/shared/inputs/hint-text.tsx",
|
|
315
|
+
"components/shared/inputs/label.tsx",
|
|
316
|
+
"components/shared/tags/base-components/tag-close-x.tsx",
|
|
317
|
+
"components/shared/input-dropdown/dropdown-item.tsx",
|
|
318
|
+
"components/shared/input-dropdown/input-dropdown.tsx",
|
|
319
|
+
"components/shared/input-dropdown/popover.tsx",
|
|
320
|
+
"components/shared/avatar/base-components/index.ts",
|
|
321
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
322
|
+
"components/foundations/dot-icon.tsx",
|
|
323
|
+
"components/shared/input-dropdown/combobox.tsx",
|
|
324
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
325
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
326
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
327
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
328
|
+
"components/shared/input-dropdown/multi-select.tsx"
|
|
329
|
+
],
|
|
330
|
+
"type": "components:shared"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "form",
|
|
334
|
+
"dependencies": [
|
|
335
|
+
"react",
|
|
336
|
+
"react-aria-components",
|
|
337
|
+
"@a-peak-works/untitledui-icons",
|
|
338
|
+
"react-aria",
|
|
339
|
+
"tailwind-merge"
|
|
340
|
+
],
|
|
341
|
+
"devDependencies": [],
|
|
342
|
+
"files": [
|
|
343
|
+
"components/shared/inputs/hint-text.tsx",
|
|
344
|
+
"components/shared/inputs/label.tsx",
|
|
345
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
346
|
+
"components/shared/inputs/input/index.tsx",
|
|
347
|
+
"components/utils/index.ts",
|
|
348
|
+
"components/shared/inputs/form/form.tsx"
|
|
349
|
+
],
|
|
350
|
+
"type": "components:shared"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"name": "react-hook-form",
|
|
354
|
+
"dependencies": [
|
|
355
|
+
"react",
|
|
356
|
+
"react-aria-components",
|
|
357
|
+
"react-hook-form",
|
|
358
|
+
"@a-peak-works/untitledui-icons",
|
|
359
|
+
"react-aria",
|
|
360
|
+
"tailwind-merge"
|
|
361
|
+
],
|
|
362
|
+
"devDependencies": [],
|
|
363
|
+
"files": [
|
|
364
|
+
"components/shared/inputs/hint-text.tsx",
|
|
365
|
+
"components/shared/inputs/label.tsx",
|
|
366
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
367
|
+
"components/shared/inputs/input/index.tsx",
|
|
368
|
+
"components/utils/index.ts",
|
|
369
|
+
"components/shared/inputs/form/hook-form.tsx"
|
|
370
|
+
],
|
|
371
|
+
"type": "components:shared"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "progress-circles",
|
|
375
|
+
"dependencies": [
|
|
376
|
+
"tailwind-merge"
|
|
377
|
+
],
|
|
378
|
+
"devDependencies": [],
|
|
379
|
+
"files": [
|
|
380
|
+
"components/utils/index.ts",
|
|
381
|
+
"components/shared/progress-indicators/progress-circles.tsx"
|
|
382
|
+
],
|
|
383
|
+
"type": "components:shared"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"name": "progress-indicators",
|
|
387
|
+
"dependencies": [
|
|
388
|
+
"tailwind-merge"
|
|
389
|
+
],
|
|
390
|
+
"devDependencies": [],
|
|
391
|
+
"files": [
|
|
392
|
+
"components/utils/index.ts",
|
|
393
|
+
"components/shared/progress-indicators/progress-indicators.tsx"
|
|
394
|
+
],
|
|
395
|
+
"type": "components:shared"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"name": "radio-buttons",
|
|
399
|
+
"dependencies": [
|
|
400
|
+
"tailwind-merge",
|
|
401
|
+
"react",
|
|
402
|
+
"react-aria-components"
|
|
403
|
+
],
|
|
404
|
+
"devDependencies": [],
|
|
405
|
+
"files": [
|
|
406
|
+
"components/utils/index.ts",
|
|
407
|
+
"components/shared/radio-buttons/radio-buttons.tsx"
|
|
408
|
+
],
|
|
409
|
+
"type": "components:shared"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "radio-groups",
|
|
413
|
+
"dependencies": [
|
|
414
|
+
"react",
|
|
415
|
+
"react-aria-components",
|
|
416
|
+
"@a-peak-works/untitledui-icons",
|
|
417
|
+
"next",
|
|
418
|
+
"tailwind-merge",
|
|
419
|
+
"react-aria"
|
|
420
|
+
],
|
|
421
|
+
"devDependencies": [
|
|
422
|
+
"@next/mdx"
|
|
423
|
+
],
|
|
424
|
+
"files": [
|
|
425
|
+
"components/shared/radio-groups/radio-group-icon-simple.tsx",
|
|
426
|
+
"components/shared/radio-groups/radio-groups.tsx",
|
|
427
|
+
"components/shared/radio-groups/radio-group-icon-card.tsx",
|
|
428
|
+
"components/shared/radio-groups/radio-group-avatar.tsx",
|
|
429
|
+
"components/shared/radio-groups/radio-group-payment-icon.tsx",
|
|
430
|
+
"components/shared/radio-groups/radio-group-radio-button.tsx",
|
|
431
|
+
"components/shared/radio-groups/radio-group-checkbox.tsx",
|
|
432
|
+
"components/foundations/featured-icon/featured-icons.tsx",
|
|
433
|
+
"components/shared/checkbox/checkbox.tsx",
|
|
434
|
+
"components/utils/index.ts",
|
|
435
|
+
"components/shared/badges/badges.tsx",
|
|
436
|
+
"components/shared/avatar/avatar.tsx",
|
|
437
|
+
"components/shared/buttons/button.tsx",
|
|
438
|
+
"components/utils/isReactComponent.ts",
|
|
439
|
+
"components/foundations/dot-icon.tsx",
|
|
440
|
+
"components/shared/badges/badge-types.ts",
|
|
441
|
+
"components/shared/avatar/base-components/index.ts",
|
|
442
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
443
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
444
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
445
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
446
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
447
|
+
"components/shared/radio-groups/radio-groups.tsx"
|
|
448
|
+
],
|
|
449
|
+
"type": "components:shared"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "slider",
|
|
453
|
+
"dependencies": [
|
|
454
|
+
"tailwind-merge",
|
|
455
|
+
"react-aria-components"
|
|
456
|
+
],
|
|
457
|
+
"devDependencies": [],
|
|
458
|
+
"files": [
|
|
459
|
+
"components/utils/index.ts",
|
|
460
|
+
"components/shared/slider/slider.tsx"
|
|
461
|
+
],
|
|
462
|
+
"type": "components:shared"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "tags",
|
|
466
|
+
"dependencies": [
|
|
467
|
+
"react",
|
|
468
|
+
"@a-peak-works/untitledui-icons",
|
|
469
|
+
"react-aria-components",
|
|
470
|
+
"tailwind-merge",
|
|
471
|
+
"react-aria"
|
|
472
|
+
],
|
|
473
|
+
"devDependencies": [],
|
|
474
|
+
"files": [
|
|
475
|
+
"components/foundations/dot-icon.tsx",
|
|
476
|
+
"components/utils/index.ts",
|
|
477
|
+
"components/shared/avatar/avatar.tsx",
|
|
478
|
+
"components/shared/tags/base-components/tag-checkbox.tsx",
|
|
479
|
+
"components/shared/tags/base-components/tag-close-x.tsx",
|
|
480
|
+
"components/shared/avatar/base-components/index.ts",
|
|
481
|
+
"components/shared/avatar/base-components/avatar-add-button.tsx",
|
|
482
|
+
"components/shared/avatar/base-components/avatar-company-icon.tsx",
|
|
483
|
+
"components/shared/avatar/base-components/avatar-online-indicator.tsx",
|
|
484
|
+
"components/shared/avatar/base-components/verified-tick.tsx",
|
|
485
|
+
"components/shared/tooltips/tooltips.tsx",
|
|
486
|
+
"components/shared/tags/tags.tsx"
|
|
487
|
+
],
|
|
488
|
+
"type": "components:shared"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "toggle",
|
|
492
|
+
"dependencies": [
|
|
493
|
+
"tailwind-merge",
|
|
494
|
+
"react",
|
|
495
|
+
"react-aria-components"
|
|
496
|
+
],
|
|
497
|
+
"devDependencies": [],
|
|
498
|
+
"files": [
|
|
499
|
+
"components/utils/index.ts",
|
|
500
|
+
"components/shared/toggle/toggle.tsx"
|
|
501
|
+
],
|
|
502
|
+
"type": "components:shared"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "tooltips",
|
|
506
|
+
"dependencies": [
|
|
507
|
+
"tailwind-merge",
|
|
508
|
+
"react",
|
|
509
|
+
"react-aria",
|
|
510
|
+
"react-aria-components"
|
|
511
|
+
],
|
|
512
|
+
"devDependencies": [],
|
|
513
|
+
"files": [
|
|
514
|
+
"components/utils/index.ts",
|
|
515
|
+
"components/shared/tooltips/tooltips.tsx"
|
|
516
|
+
],
|
|
517
|
+
"type": "components:shared"
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "untitledui",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"description": "Untitled UI CLI",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
|
+
"dev": "bun build --entrypoints ./index.ts --outdir=dist --target=node --minify --packages=external --watch",
|
|
13
|
+
"build": "bun build --entrypoints ./index.ts --outdir=dist --target=node --minify --packages=external",
|
|
14
|
+
"publish:npm": "bun run build && npm publish --access public",
|
|
15
|
+
"start": "node dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/a-peak-works/untitledui-tailwind.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/a-peak-works/untitledui-tailwind/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/a-peak-works/untitledui-tailwind#readme",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"untitled-ui",
|
|
27
|
+
"cli",
|
|
28
|
+
"tailwindcss",
|
|
29
|
+
"nextjs"
|
|
30
|
+
],
|
|
31
|
+
"files": [
|
|
32
|
+
"dist",
|
|
33
|
+
"templates"
|
|
34
|
+
],
|
|
35
|
+
"author": "",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"bin": {
|
|
38
|
+
"untitledui": "dist/index.js"
|
|
39
|
+
},
|
|
40
|
+
"exports": "./dist/index.js",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"async-retry": "^1.3.3",
|
|
43
|
+
"chalk": "^5.4.1",
|
|
44
|
+
"commander": "^13.1.0",
|
|
45
|
+
"execa": "^9.5.2",
|
|
46
|
+
"fast-glob": "^3.3.3",
|
|
47
|
+
"ora": "^8.2.0",
|
|
48
|
+
"prompts": "^2.4.2",
|
|
49
|
+
"tar": "^7.4.3",
|
|
50
|
+
"ts-morph": "^25.0.1",
|
|
51
|
+
"tsconfig-paths": "^4.2.0",
|
|
52
|
+
"update-check": "^1.5.4"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@types/async-retry": "^1.4.9",
|
|
56
|
+
"@types/prompts": "^2.4.9",
|
|
57
|
+
"prettier": "^3.5.3",
|
|
58
|
+
"type-fest": "^4.37.0",
|
|
59
|
+
"typescript": "^5.8.2"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"printWidth": 160,
|
|
3
|
+
"tabWidth": 4,
|
|
4
|
+
"plugins": ["@trivago/prettier-plugin-sort-imports", "prettier-plugin-tailwindcss"],
|
|
5
|
+
"tailwindFunctions": ["sortCx", "cx"],
|
|
6
|
+
"importOrder": ["^react$", "^react-dom$", "^(?!react$|react-dom$|@/|\\.).*", "^@/.*", "^\\.{1,2}/.*"],
|
|
7
|
+
"importOrderSeparation": false,
|
|
8
|
+
"importOrderSortSpecifiers": true,
|
|
9
|
+
"tailwindStylesheet": "./src/styles/globals.css"
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
|
|
5
|
+
First, run the development server:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm run dev
|
|
9
|
+
# or
|
|
10
|
+
yarn dev
|
|
11
|
+
# or
|
|
12
|
+
pnpm dev
|
|
13
|
+
# or
|
|
14
|
+
bun dev
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
|
|
18
|
+
|
|
19
|
+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
|
|
20
|
+
|
|
21
|
+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
|
|
22
|
+
|
|
23
|
+
## Learn More
|
|
24
|
+
|
|
25
|
+
To learn more about Next.js, take a look at the following resources:
|
|
26
|
+
|
|
27
|
+
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
|
|
28
|
+
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
|
|
29
|
+
|
|
30
|
+
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
|
|
31
|
+
|
|
32
|
+
## Deploy on Vercel
|
|
33
|
+
|
|
34
|
+
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
|
|
35
|
+
|
|
36
|
+
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
|