ui-thing 0.0.18 → 0.0.20
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/CHANGELOG.md +246 -221
- package/dist/index.js +138 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/commands/add.ts +286 -286
- package/src/commands/shortcuts.ts +42 -42
- package/src/comps.ts +2462 -2407
- package/src/templates/shortcuts.ts +217 -217
- package/src/utils/fetchComponents.ts +8 -8
- package/src/utils/promptForComponents.ts +19 -19
- package/src/utils/uiConfigPrompt.ts +73 -73
- package/tests/templates/css.test.ts +34 -34
- package/tests/utils/addPrettierConfig.test.ts +71 -71
- package/tests/utils/compareUIConfig.test.ts +60 -60
package/CHANGELOG.md
CHANGED
|
@@ -1,239 +1,264 @@
|
|
|
1
|
-
# Changelog
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## v0.0.20
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.17...v0.0.18)
|
|
6
|
-
|
|
7
|
-
### 🏡 Chore
|
|
8
|
-
|
|
9
|
-
- Update default component folder location ([1268f24](https://github.com/BayBreezy/ui-thing-cli/commit/1268f24))
|
|
10
|
-
|
|
11
|
-
### ❤️ Contributors
|
|
12
|
-
|
|
13
|
-
- BayBreezy <behon.baker@yahoo.com>
|
|
14
|
-
|
|
15
|
-
## v0.0.17
|
|
16
|
-
|
|
17
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.16...v0.0.17)
|
|
18
|
-
|
|
19
|
-
### 🏡 Chore
|
|
20
|
-
|
|
21
|
-
- **prefix:** Update component prefix. Moved from UI to Ui ([e515ef7](https://github.com/BayBreezy/ui-thing-cli/commit/e515ef7))
|
|
22
|
-
|
|
23
|
-
### ❤️ Contributors
|
|
24
|
-
|
|
25
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
26
|
-
|
|
27
|
-
## v0.0.16
|
|
28
|
-
|
|
29
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.15...v0.0.16)
|
|
30
|
-
|
|
31
|
-
### 🚀 Enhancements
|
|
32
|
-
|
|
33
|
-
- **pin-input:** Replace OTP with pin input ([7287b6f](https://github.com/BayBreezy/ui-thing-cli/commit/7287b6f))
|
|
34
|
-
|
|
35
|
-
### ❤️ Contributors
|
|
36
|
-
|
|
37
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
38
|
-
|
|
39
|
-
## v0.0.15
|
|
40
|
-
|
|
41
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.14...v0.0.15)
|
|
42
|
-
|
|
43
|
-
### 🚀 Enhancements
|
|
44
|
-
|
|
45
|
-
- **components:** Add new components ([deed365](https://github.com/BayBreezy/ui-thing-cli/commit/deed365))
|
|
46
|
-
|
|
47
|
-
### 🏡 Chore
|
|
48
|
-
|
|
49
|
-
- **dependencies:** Update deps ([1ea8fb6](https://github.com/BayBreezy/ui-thing-cli/commit/1ea8fb6))
|
|
50
|
-
|
|
51
|
-
### ❤️ Contributors
|
|
52
|
-
|
|
53
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
54
|
-
|
|
55
|
-
## v0.0.14
|
|
56
|
-
|
|
57
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.13...v0.0.14)
|
|
58
|
-
|
|
59
|
-
### 🏡 Chore
|
|
60
|
-
|
|
61
|
-
- Add vee-otp component to the updated list ([34f6791](https://github.com/BayBreezy/ui-thing-cli/commit/34f6791))
|
|
62
|
-
|
|
63
|
-
### ❤️ Contributors
|
|
64
|
-
|
|
65
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
66
|
-
|
|
67
|
-
## v0.0.13
|
|
68
|
-
|
|
69
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.12...v0.0.13)
|
|
70
|
-
|
|
71
|
-
### 🏡 Chore
|
|
72
|
-
|
|
73
|
-
- Make call to api for compoinents again ([fbd4a78](https://github.com/BayBreezy/ui-thing-cli/commit/fbd4a78))
|
|
74
|
-
- Use local component file again ([eebf8cd](https://github.com/BayBreezy/ui-thing-cli/commit/eebf8cd))
|
|
75
|
-
|
|
76
|
-
### ❤️ Contributors
|
|
77
|
-
|
|
78
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
79
|
-
|
|
80
|
-
## v0.0.12
|
|
81
|
-
|
|
82
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.11...v0.0.12)
|
|
83
|
-
|
|
84
|
-
### 🏡 Chore
|
|
85
|
-
|
|
86
|
-
- **add:** Revert to adding local components file. API call was too slow ([f77db79](https://github.com/BayBreezy/ui-thing-cli/commit/f77db79))
|
|
87
|
-
- Remove unused import ([be11d5d](https://github.com/BayBreezy/ui-thing-cli/commit/be11d5d))
|
|
88
|
-
|
|
89
|
-
### ❤️ Contributors
|
|
90
|
-
|
|
91
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
92
|
-
|
|
93
|
-
## v0.0.11
|
|
94
|
-
|
|
95
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.10...v0.0.11)
|
|
96
|
-
|
|
97
|
-
### 🚀 Enhancements
|
|
98
|
-
|
|
99
|
-
- **add:** Update add command to get components from API ([6c41848](https://github.com/BayBreezy/ui-thing-cli/commit/6c41848))
|
|
100
|
-
|
|
101
|
-
### 💅 Refactors
|
|
102
|
-
|
|
103
|
-
- **types:** Update types ([75917fb](https://github.com/BayBreezy/ui-thing-cli/commit/75917fb))
|
|
5
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.19...v0.0.20)
|
|
104
6
|
|
|
105
7
|
### 🏡 Chore
|
|
106
8
|
|
|
107
|
-
- **
|
|
108
|
-
- **components:** Remove hard coded components ([2802d49](https://github.com/BayBreezy/ui-thing-cli/commit/2802d49))
|
|
9
|
+
- **components:** Add new components - navbar, container & divider ([fb970d5](https://github.com/BayBreezy/ui-thing-cli/commit/fb970d5))
|
|
109
10
|
|
|
110
11
|
### ❤️ Contributors
|
|
111
12
|
|
|
112
13
|
- Behon Baker <behon.baker@yahoo.com>
|
|
113
14
|
|
|
114
|
-
## v0.0.
|
|
15
|
+
## v0.0.19
|
|
115
16
|
|
|
116
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.
|
|
117
|
-
|
|
118
|
-
### 🚀 Enhancements
|
|
119
|
-
|
|
120
|
-
- Add shortcut composables ([bd104e3](https://github.com/BayBreezy/ui-thing-cli/commit/bd104e3))
|
|
121
|
-
|
|
122
|
-
### 📖 Documentation
|
|
123
|
-
|
|
124
|
-
- Update readme ([991c842](https://github.com/BayBreezy/ui-thing-cli/commit/991c842))
|
|
125
|
-
|
|
126
|
-
### 📦 Build
|
|
127
|
-
|
|
128
|
-
- Run `npm pkg fix` to update package.json file ([5fb7e54](https://github.com/BayBreezy/ui-thing-cli/commit/5fb7e54))
|
|
129
|
-
|
|
130
|
-
### 🏡 Chore
|
|
131
|
-
|
|
132
|
-
- Update components ([5ae91c3](https://github.com/BayBreezy/ui-thing-cli/commit/5ae91c3))
|
|
133
|
-
|
|
134
|
-
### ❤️ Contributors
|
|
135
|
-
|
|
136
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
137
|
-
|
|
138
|
-
## v0.0.9
|
|
139
|
-
|
|
140
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.8...v0.0.9)
|
|
141
|
-
|
|
142
|
-
### 🩹 Fixes
|
|
143
|
-
|
|
144
|
-
- Add multiselect dep to the list of deps ([369bfef](https://github.com/BayBreezy/ui-thing-cli/commit/369bfef))
|
|
145
|
-
|
|
146
|
-
### ❤️ Contributors
|
|
147
|
-
|
|
148
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
149
|
-
|
|
150
|
-
## v0.0.8
|
|
151
|
-
|
|
152
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.7...v0.0.8)
|
|
153
|
-
|
|
154
|
-
### 🚀 Enhancements
|
|
155
|
-
|
|
156
|
-
- Add multiselect component to the list ([e40f13a](https://github.com/BayBreezy/ui-thing-cli/commit/e40f13a))
|
|
157
|
-
|
|
158
|
-
### ✅ Tests
|
|
159
|
-
|
|
160
|
-
- **utils:** Add test for compareUIConfig ([8d89db8](https://github.com/BayBreezy/ui-thing-cli/commit/8d89db8))
|
|
161
|
-
- **templates:** Add test for css file ([da9736c](https://github.com/BayBreezy/ui-thing-cli/commit/da9736c))
|
|
162
|
-
|
|
163
|
-
### ❤️ Contributors
|
|
164
|
-
|
|
165
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
166
|
-
|
|
167
|
-
## v0.0.7
|
|
168
|
-
|
|
169
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.6...v0.0.7)
|
|
170
|
-
|
|
171
|
-
### 🏡 Chore
|
|
172
|
-
|
|
173
|
-
- Update add command and components ([a294316](https://github.com/BayBreezy/ui-thing-cli/commit/a294316))
|
|
174
|
-
- Update add command ([641e474](https://github.com/BayBreezy/ui-thing-cli/commit/641e474))
|
|
175
|
-
- Update add command ([81d0d4e](https://github.com/BayBreezy/ui-thing-cli/commit/81d0d4e))
|
|
176
|
-
|
|
177
|
-
### ❤️ Contributors
|
|
178
|
-
|
|
179
|
-
- BayBreezy <behon.baker@yahoo.com>
|
|
180
|
-
|
|
181
|
-
## v0.0.6
|
|
182
|
-
|
|
183
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.5...v0.0.6)
|
|
184
|
-
|
|
185
|
-
### 🚀 Enhancements
|
|
186
|
-
|
|
187
|
-
- Add test workflow ([c00e2f4](https://github.com/BayBreezy/ui-thing-cli/commit/c00e2f4))
|
|
188
|
-
- Update test workflow ([c0f0662](https://github.com/BayBreezy/ui-thing-cli/commit/c0f0662))
|
|
189
|
-
|
|
190
|
-
### 🏡 Chore
|
|
191
|
-
|
|
192
|
-
- Update prompts deps ([8fdf5ce](https://github.com/BayBreezy/ui-thing-cli/commit/8fdf5ce))
|
|
193
|
-
- Update comps ([f232b69](https://github.com/BayBreezy/ui-thing-cli/commit/f232b69))
|
|
194
|
-
- Update types ([6f6b347](https://github.com/BayBreezy/ui-thing-cli/commit/6f6b347))
|
|
195
|
-
- Update deps ([7624ff0](https://github.com/BayBreezy/ui-thing-cli/commit/7624ff0))
|
|
196
|
-
|
|
197
|
-
### ❤️ Contributors
|
|
198
|
-
|
|
199
|
-
- Behon Baker <behon.baker@yahoo.com>
|
|
200
|
-
|
|
201
|
-
## v0.0.5
|
|
202
|
-
|
|
203
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.3...v0.0.5)
|
|
17
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.18...v0.0.19)
|
|
204
18
|
|
|
205
19
|
### 🏡 Chore
|
|
206
20
|
|
|
207
|
-
- Update
|
|
208
|
-
- Update
|
|
209
|
-
- Split cli from website repo ([66f2b3c](https://github.com/BayBreezy/ui-thing-cli/commit/66f2b3c))
|
|
210
|
-
- Update deps ([3d90848](https://github.com/BayBreezy/ui-thing-cli/commit/3d90848))
|
|
21
|
+
- **components:** Update comp style for toast ([d78d6a0](https://github.com/BayBreezy/ui-thing-cli/commit/d78d6a0))
|
|
22
|
+
- Update deps ([62fa5ff](https://github.com/BayBreezy/ui-thing-cli/commit/62fa5ff))
|
|
211
23
|
|
|
212
24
|
### ❤️ Contributors
|
|
213
25
|
|
|
214
26
|
- Behon Baker <behon.baker@yahoo.com>
|
|
215
27
|
|
|
216
|
-
## v0.0.
|
|
217
|
-
|
|
218
|
-
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.
|
|
219
|
-
|
|
220
|
-
### 🏡 Chore
|
|
221
|
-
|
|
222
|
-
- Update
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
### 🏡 Chore
|
|
233
|
-
|
|
234
|
-
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
28
|
+
## v0.0.18
|
|
29
|
+
|
|
30
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.17...v0.0.18)
|
|
31
|
+
|
|
32
|
+
### 🏡 Chore
|
|
33
|
+
|
|
34
|
+
- Update default component folder location ([1268f24](https://github.com/BayBreezy/ui-thing-cli/commit/1268f24))
|
|
35
|
+
|
|
36
|
+
### ❤️ Contributors
|
|
37
|
+
|
|
38
|
+
- BayBreezy <behon.baker@yahoo.com>
|
|
39
|
+
|
|
40
|
+
## v0.0.17
|
|
41
|
+
|
|
42
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.16...v0.0.17)
|
|
43
|
+
|
|
44
|
+
### 🏡 Chore
|
|
45
|
+
|
|
46
|
+
- **prefix:** Update component prefix. Moved from UI to Ui ([e515ef7](https://github.com/BayBreezy/ui-thing-cli/commit/e515ef7))
|
|
47
|
+
|
|
48
|
+
### ❤️ Contributors
|
|
49
|
+
|
|
50
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
51
|
+
|
|
52
|
+
## v0.0.16
|
|
53
|
+
|
|
54
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.15...v0.0.16)
|
|
55
|
+
|
|
56
|
+
### 🚀 Enhancements
|
|
57
|
+
|
|
58
|
+
- **pin-input:** Replace OTP with pin input ([7287b6f](https://github.com/BayBreezy/ui-thing-cli/commit/7287b6f))
|
|
59
|
+
|
|
60
|
+
### ❤️ Contributors
|
|
61
|
+
|
|
62
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
63
|
+
|
|
64
|
+
## v0.0.15
|
|
65
|
+
|
|
66
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.14...v0.0.15)
|
|
67
|
+
|
|
68
|
+
### 🚀 Enhancements
|
|
69
|
+
|
|
70
|
+
- **components:** Add new components ([deed365](https://github.com/BayBreezy/ui-thing-cli/commit/deed365))
|
|
71
|
+
|
|
72
|
+
### 🏡 Chore
|
|
73
|
+
|
|
74
|
+
- **dependencies:** Update deps ([1ea8fb6](https://github.com/BayBreezy/ui-thing-cli/commit/1ea8fb6))
|
|
75
|
+
|
|
76
|
+
### ❤️ Contributors
|
|
77
|
+
|
|
78
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
79
|
+
|
|
80
|
+
## v0.0.14
|
|
81
|
+
|
|
82
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.13...v0.0.14)
|
|
83
|
+
|
|
84
|
+
### 🏡 Chore
|
|
85
|
+
|
|
86
|
+
- Add vee-otp component to the updated list ([34f6791](https://github.com/BayBreezy/ui-thing-cli/commit/34f6791))
|
|
87
|
+
|
|
88
|
+
### ❤️ Contributors
|
|
89
|
+
|
|
90
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
91
|
+
|
|
92
|
+
## v0.0.13
|
|
93
|
+
|
|
94
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.12...v0.0.13)
|
|
95
|
+
|
|
96
|
+
### 🏡 Chore
|
|
97
|
+
|
|
98
|
+
- Make call to api for compoinents again ([fbd4a78](https://github.com/BayBreezy/ui-thing-cli/commit/fbd4a78))
|
|
99
|
+
- Use local component file again ([eebf8cd](https://github.com/BayBreezy/ui-thing-cli/commit/eebf8cd))
|
|
100
|
+
|
|
101
|
+
### ❤️ Contributors
|
|
102
|
+
|
|
103
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
104
|
+
|
|
105
|
+
## v0.0.12
|
|
106
|
+
|
|
107
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.11...v0.0.12)
|
|
108
|
+
|
|
109
|
+
### 🏡 Chore
|
|
110
|
+
|
|
111
|
+
- **add:** Revert to adding local components file. API call was too slow ([f77db79](https://github.com/BayBreezy/ui-thing-cli/commit/f77db79))
|
|
112
|
+
- Remove unused import ([be11d5d](https://github.com/BayBreezy/ui-thing-cli/commit/be11d5d))
|
|
113
|
+
|
|
114
|
+
### ❤️ Contributors
|
|
115
|
+
|
|
116
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
117
|
+
|
|
118
|
+
## v0.0.11
|
|
119
|
+
|
|
120
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.10...v0.0.11)
|
|
121
|
+
|
|
122
|
+
### 🚀 Enhancements
|
|
123
|
+
|
|
124
|
+
- **add:** Update add command to get components from API ([6c41848](https://github.com/BayBreezy/ui-thing-cli/commit/6c41848))
|
|
125
|
+
|
|
126
|
+
### 💅 Refactors
|
|
127
|
+
|
|
128
|
+
- **types:** Update types ([75917fb](https://github.com/BayBreezy/ui-thing-cli/commit/75917fb))
|
|
129
|
+
|
|
130
|
+
### 🏡 Chore
|
|
131
|
+
|
|
132
|
+
- **dependencies:** Update deps ([7ce3c2a](https://github.com/BayBreezy/ui-thing-cli/commit/7ce3c2a))
|
|
133
|
+
- **components:** Remove hard coded components ([2802d49](https://github.com/BayBreezy/ui-thing-cli/commit/2802d49))
|
|
134
|
+
|
|
135
|
+
### ❤️ Contributors
|
|
136
|
+
|
|
137
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
138
|
+
|
|
139
|
+
## v0.0.10
|
|
140
|
+
|
|
141
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.9...v0.0.10)
|
|
142
|
+
|
|
143
|
+
### 🚀 Enhancements
|
|
144
|
+
|
|
145
|
+
- Add shortcut composables ([bd104e3](https://github.com/BayBreezy/ui-thing-cli/commit/bd104e3))
|
|
146
|
+
|
|
147
|
+
### 📖 Documentation
|
|
148
|
+
|
|
149
|
+
- Update readme ([991c842](https://github.com/BayBreezy/ui-thing-cli/commit/991c842))
|
|
150
|
+
|
|
151
|
+
### 📦 Build
|
|
152
|
+
|
|
153
|
+
- Run `npm pkg fix` to update package.json file ([5fb7e54](https://github.com/BayBreezy/ui-thing-cli/commit/5fb7e54))
|
|
154
|
+
|
|
155
|
+
### 🏡 Chore
|
|
156
|
+
|
|
157
|
+
- Update components ([5ae91c3](https://github.com/BayBreezy/ui-thing-cli/commit/5ae91c3))
|
|
158
|
+
|
|
159
|
+
### ❤️ Contributors
|
|
160
|
+
|
|
161
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
162
|
+
|
|
163
|
+
## v0.0.9
|
|
164
|
+
|
|
165
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.8...v0.0.9)
|
|
166
|
+
|
|
167
|
+
### 🩹 Fixes
|
|
168
|
+
|
|
169
|
+
- Add multiselect dep to the list of deps ([369bfef](https://github.com/BayBreezy/ui-thing-cli/commit/369bfef))
|
|
170
|
+
|
|
171
|
+
### ❤️ Contributors
|
|
172
|
+
|
|
173
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
174
|
+
|
|
175
|
+
## v0.0.8
|
|
176
|
+
|
|
177
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.7...v0.0.8)
|
|
178
|
+
|
|
179
|
+
### 🚀 Enhancements
|
|
180
|
+
|
|
181
|
+
- Add multiselect component to the list ([e40f13a](https://github.com/BayBreezy/ui-thing-cli/commit/e40f13a))
|
|
182
|
+
|
|
183
|
+
### ✅ Tests
|
|
184
|
+
|
|
185
|
+
- **utils:** Add test for compareUIConfig ([8d89db8](https://github.com/BayBreezy/ui-thing-cli/commit/8d89db8))
|
|
186
|
+
- **templates:** Add test for css file ([da9736c](https://github.com/BayBreezy/ui-thing-cli/commit/da9736c))
|
|
187
|
+
|
|
188
|
+
### ❤️ Contributors
|
|
189
|
+
|
|
190
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
191
|
+
|
|
192
|
+
## v0.0.7
|
|
193
|
+
|
|
194
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.6...v0.0.7)
|
|
195
|
+
|
|
196
|
+
### 🏡 Chore
|
|
197
|
+
|
|
198
|
+
- Update add command and components ([a294316](https://github.com/BayBreezy/ui-thing-cli/commit/a294316))
|
|
199
|
+
- Update add command ([641e474](https://github.com/BayBreezy/ui-thing-cli/commit/641e474))
|
|
200
|
+
- Update add command ([81d0d4e](https://github.com/BayBreezy/ui-thing-cli/commit/81d0d4e))
|
|
201
|
+
|
|
202
|
+
### ❤️ Contributors
|
|
203
|
+
|
|
204
|
+
- BayBreezy <behon.baker@yahoo.com>
|
|
205
|
+
|
|
206
|
+
## v0.0.6
|
|
207
|
+
|
|
208
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.5...v0.0.6)
|
|
209
|
+
|
|
210
|
+
### 🚀 Enhancements
|
|
211
|
+
|
|
212
|
+
- Add test workflow ([c00e2f4](https://github.com/BayBreezy/ui-thing-cli/commit/c00e2f4))
|
|
213
|
+
- Update test workflow ([c0f0662](https://github.com/BayBreezy/ui-thing-cli/commit/c0f0662))
|
|
214
|
+
|
|
215
|
+
### 🏡 Chore
|
|
216
|
+
|
|
217
|
+
- Update prompts deps ([8fdf5ce](https://github.com/BayBreezy/ui-thing-cli/commit/8fdf5ce))
|
|
218
|
+
- Update comps ([f232b69](https://github.com/BayBreezy/ui-thing-cli/commit/f232b69))
|
|
219
|
+
- Update types ([6f6b347](https://github.com/BayBreezy/ui-thing-cli/commit/6f6b347))
|
|
220
|
+
- Update deps ([7624ff0](https://github.com/BayBreezy/ui-thing-cli/commit/7624ff0))
|
|
221
|
+
|
|
222
|
+
### ❤️ Contributors
|
|
223
|
+
|
|
224
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
225
|
+
|
|
226
|
+
## v0.0.5
|
|
227
|
+
|
|
228
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.3...v0.0.5)
|
|
229
|
+
|
|
230
|
+
### 🏡 Chore
|
|
231
|
+
|
|
232
|
+
- Update release script ([c53b0d4](https://github.com/BayBreezy/ui-thing-cli/commit/c53b0d4))
|
|
233
|
+
- Update readme ([1d95ccb](https://github.com/BayBreezy/ui-thing-cli/commit/1d95ccb))
|
|
234
|
+
- Split cli from website repo ([66f2b3c](https://github.com/BayBreezy/ui-thing-cli/commit/66f2b3c))
|
|
235
|
+
- Update deps ([3d90848](https://github.com/BayBreezy/ui-thing-cli/commit/3d90848))
|
|
236
|
+
|
|
237
|
+
### ❤️ Contributors
|
|
238
|
+
|
|
239
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
240
|
+
|
|
241
|
+
## v0.0.3
|
|
242
|
+
|
|
243
|
+
[compare changes](https://github.com/BayBreezy/ui-thing-cli/compare/v0.0.2...v0.0.3)
|
|
244
|
+
|
|
245
|
+
### 🏡 Chore
|
|
246
|
+
|
|
247
|
+
- Update readme ([88be325](https://github.com/BayBreezy/ui-thing-cli/commit/88be325))
|
|
248
|
+
- Change package name ([bd17f8d](https://github.com/BayBreezy/ui-thing-cli/commit/bd17f8d))
|
|
249
|
+
- Set version back to 0.0.2 ([1c7b6b2](https://github.com/BayBreezy/ui-thing-cli/commit/1c7b6b2))
|
|
250
|
+
|
|
251
|
+
### ❤️ Contributors
|
|
252
|
+
|
|
253
|
+
- Behon Baker <behon.baker@yahoo.com>
|
|
254
|
+
|
|
255
|
+
## v0.0.2
|
|
256
|
+
|
|
257
|
+
### 🏡 Chore
|
|
258
|
+
|
|
259
|
+
- Add 1st changeset ([ec0083c](https://github.com/BayBreezy/ui-thing-cli/commit/ec0083c))
|
|
260
|
+
- Add release script ([ea11cae](https://github.com/BayBreezy/ui-thing-cli/commit/ea11cae))
|
|
261
|
+
|
|
262
|
+
### ❤️ Contributors
|
|
263
|
+
|
|
264
|
+
- Behon Baker <behon.baker@yahoo.com>
|
package/dist/index.js
CHANGED
|
@@ -1871,6 +1871,30 @@ export const buttonStyles = tv({\r
|
|
|
1871
1871
|
base: "ml-auto text-xs tracking-widest text-muted-foreground",
|
|
1872
1872
|
});
|
|
1873
1873
|
</script>
|
|
1874
|
+
`}],utils:[],composables:[],plugins:[]},{name:"Container",value:"container",deps:["radix-vue","tailwind-variants"],devDeps:[],nuxtModules:[],files:[{fileName:"Container.vue",dirPath:"components/UI",fileContent:`<template>\r
|
|
1875
|
+
<Primitive :class="styles({ class: props.class })" v-bind="reactiveOmit(props, 'class')">\r
|
|
1876
|
+
<slot></slot>\r
|
|
1877
|
+
</Primitive>\r
|
|
1878
|
+
</template>\r
|
|
1879
|
+
\r
|
|
1880
|
+
<script lang="ts" setup>\r
|
|
1881
|
+
import type { PrimitiveProps } from "radix-vue";\r
|
|
1882
|
+
\r
|
|
1883
|
+
const props = withDefaults(\r
|
|
1884
|
+
defineProps<\r
|
|
1885
|
+
PrimitiveProps & {\r
|
|
1886
|
+
class?: any;\r
|
|
1887
|
+
}\r
|
|
1888
|
+
>(),\r
|
|
1889
|
+
{\r
|
|
1890
|
+
as: "div",\r
|
|
1891
|
+
}\r
|
|
1892
|
+
);\r
|
|
1893
|
+
\r
|
|
1894
|
+
const styles = tv({\r
|
|
1895
|
+
base: "container mx-auto",\r
|
|
1896
|
+
});\r
|
|
1897
|
+
</script>\r
|
|
1874
1898
|
`}],utils:[],composables:[],plugins:[]},{name:"Context Menu",value:"context-menu",deps:["radix-vue","tailwind-variants"],devDeps:["tailwindcss-animate","nuxt-icon"],nuxtModules:["nuxt-icon"],files:[{fileName:"ContextMenu/Arrow.vue",dirPath:"components/UI",fileContent:`<template>
|
|
1875
1899
|
<ContextMenuArrow v-bind="reactiveOmit(props, 'class')" :class="styles({ class: props.class })" />
|
|
1876
1900
|
</template>
|
|
@@ -3653,6 +3677,83 @@ export default defineNuxtPlugin((nuxtApp) => {\r
|
|
|
3653
3677
|
|
|
3654
3678
|
const props = defineProps<DialogTriggerProps>();
|
|
3655
3679
|
</script>
|
|
3680
|
+
`}],utils:[],composables:[],plugins:[]},{name:"Divider",value:"divider",deps:["radix-vue","tailwind-variants"],devDeps:["nuxt-icon"],nuxtModules:["nuxt-icon"],components:["avatar"],files:[{fileName:"Divider.vue",dirPath:"components/UI",fileContent:`<template>\r
|
|
3681
|
+
<Primitive as="div" :class="base({ orientation, type, class: props.class })">\r
|
|
3682
|
+
<Separator :orientation="orientation" :class="border({ orientation, type })" />\r
|
|
3683
|
+
<template v-if="label || icon || avatar || $slots.default">\r
|
|
3684
|
+
<div :class="container({ orientation, type })">\r
|
|
3685
|
+
<slot>\r
|
|
3686
|
+
<slot name="label">\r
|
|
3687
|
+
<span v-if="label" :class="labelClass({ orientation, type })">\r
|
|
3688
|
+
{{ label }}\r
|
|
3689
|
+
</span>\r
|
|
3690
|
+
</slot>\r
|
|
3691
|
+
<slot name="icon">\r
|
|
3692
|
+
<Icon v-if="icon" :name="icon" :class="iconClass({ orientation, type })" />\r
|
|
3693
|
+
</slot>\r
|
|
3694
|
+
<slot name="avatar">\r
|
|
3695
|
+
<UiAvatar v-if="avatar" :src="avatar" />\r
|
|
3696
|
+
</slot>\r
|
|
3697
|
+
</slot>\r
|
|
3698
|
+
</div>\r
|
|
3699
|
+
</template>\r
|
|
3700
|
+
<Separator :orientation="orientation" :class="border({ orientation, type })" />\r
|
|
3701
|
+
</Primitive>\r
|
|
3702
|
+
</template>\r
|
|
3703
|
+
\r
|
|
3704
|
+
<script lang="ts" setup>\r
|
|
3705
|
+
import { Primitive, Separator } from "radix-vue";\r
|
|
3706
|
+
\r
|
|
3707
|
+
const props = defineProps<{\r
|
|
3708
|
+
class?: any;\r
|
|
3709
|
+
type?: VariantProps<typeof style>["type"];\r
|
|
3710
|
+
orientation?: VariantProps<typeof style>["orientation"];\r
|
|
3711
|
+
icon?: string;\r
|
|
3712
|
+
label?: string;\r
|
|
3713
|
+
avatar?: string;\r
|
|
3714
|
+
}>();\r
|
|
3715
|
+
\r
|
|
3716
|
+
const style = tv({\r
|
|
3717
|
+
slots: {\r
|
|
3718
|
+
base: "flex w-full items-center text-center align-middle",\r
|
|
3719
|
+
container: "flex font-medium",\r
|
|
3720
|
+
border: "flex border-border",\r
|
|
3721
|
+
icon: "h-5 w-5 shrink-0",\r
|
|
3722
|
+
label: "text-sm",\r
|
|
3723
|
+
},\r
|
|
3724
|
+
variants: {\r
|
|
3725
|
+
orientation: {\r
|
|
3726
|
+
horizontal: {\r
|
|
3727
|
+
base: "flex-row",\r
|
|
3728
|
+
container: "mx-3 whitespace-nowrap",\r
|
|
3729
|
+
border: "w-full border-t",\r
|
|
3730
|
+
},\r
|
|
3731
|
+
vertical: {\r
|
|
3732
|
+
base: "h-full flex-col",\r
|
|
3733
|
+
container: "my-3",\r
|
|
3734
|
+
border: "h-full border-s",\r
|
|
3735
|
+
},\r
|
|
3736
|
+
},\r
|
|
3737
|
+
type: {\r
|
|
3738
|
+
solid: {\r
|
|
3739
|
+
border: "border-solid",\r
|
|
3740
|
+
},\r
|
|
3741
|
+
dashed: {\r
|
|
3742
|
+
border: "border-dashed",\r
|
|
3743
|
+
},\r
|
|
3744
|
+
dotted: {\r
|
|
3745
|
+
border: "border-dotted",\r
|
|
3746
|
+
},\r
|
|
3747
|
+
},\r
|
|
3748
|
+
},\r
|
|
3749
|
+
defaultVariants: {\r
|
|
3750
|
+
orientation: "horizontal",\r
|
|
3751
|
+
type: "solid",\r
|
|
3752
|
+
},\r
|
|
3753
|
+
});\r
|
|
3754
|
+
\r
|
|
3755
|
+
const { base, border, container, icon: iconClass, label: labelClass } = style();\r
|
|
3756
|
+
</script>\r
|
|
3656
3757
|
`}],utils:[],composables:[],plugins:[]},{name:"Dropdown Menu",value:"dropdown-menu",deps:["radix-vue","tailwind-variants"],devDeps:["tailwindcss-animate","nuxt-icon"],nuxtModules:["nuxt-icon"],files:[{fileName:"DropdownMenu/Arrow.vue",dirPath:"components/UI",fileContent:`<template>\r
|
|
3657
3758
|
<DropdownMenuArrow\r
|
|
3658
3759
|
v-bind="reactiveOmit(props, 'class')"\r
|
|
@@ -5209,6 +5310,36 @@ export function useFormField() {\r
|
|
|
5209
5310
|
}
|
|
5210
5311
|
});
|
|
5211
5312
|
</script>
|
|
5313
|
+
`}],utils:[],composables:[],plugins:[]},{name:"Navbar",value:"navbar",deps:["radix-vue","tailwind-variants"],devDeps:[],nuxtModules:[],files:[{fileName:"Navbar.vue",dirPath:"components/UI",fileContent:`<template>\r
|
|
5314
|
+
<Primitive :class="styles({ sticky, class: props.class })" v-bind="reactiveOmit(props, 'class')">\r
|
|
5315
|
+
<slot> </slot>\r
|
|
5316
|
+
</Primitive>\r
|
|
5317
|
+
</template>\r
|
|
5318
|
+
\r
|
|
5319
|
+
<script lang="ts" setup>\r
|
|
5320
|
+
import { type PrimitiveProps } from "radix-vue";\r
|
|
5321
|
+
\r
|
|
5322
|
+
const props = withDefaults(\r
|
|
5323
|
+
defineProps<\r
|
|
5324
|
+
PrimitiveProps & {\r
|
|
5325
|
+
class?: any;\r
|
|
5326
|
+
sticky?: boolean;\r
|
|
5327
|
+
}\r
|
|
5328
|
+
>(),\r
|
|
5329
|
+
{\r
|
|
5330
|
+
as: "header",\r
|
|
5331
|
+
}\r
|
|
5332
|
+
);\r
|
|
5333
|
+
\r
|
|
5334
|
+
const styles = tv({\r
|
|
5335
|
+
base: "z-20 border-b bg-background/90 backdrop-blur",\r
|
|
5336
|
+
variants: {\r
|
|
5337
|
+
sticky: {\r
|
|
5338
|
+
true: "sticky top-0",\r
|
|
5339
|
+
},\r
|
|
5340
|
+
},\r
|
|
5341
|
+
});\r
|
|
5342
|
+
</script>\r
|
|
5212
5343
|
`}],utils:[],composables:[],plugins:[]},{name:"Navigation Menu",value:"navigation-menu",deps:["radix-vue","tailwind-variants"],devDeps:["tailwindcss-animate","nuxt-icon"],nuxtModules:["nuxt-icon"],files:[{fileName:"NavigationMenu/Content.vue",dirPath:"components/UI",fileContent:`<template>
|
|
5213
5344
|
<NavigationMenuContent v-bind="forwarded" :class="styles({ class: props.class })">
|
|
5214
5345
|
<slot></slot>
|
|
@@ -8104,9 +8235,15 @@ export { toast, useToast };
|
|
|
8104
8235
|
>();\r
|
|
8105
8236
|
\r
|
|
8106
8237
|
const styles = tv({\r
|
|
8107
|
-
base: "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse gap-
|
|
8238
|
+
base: "fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse gap-2 p-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring sm:bottom-auto sm:right-0 sm:flex-col md:max-w-[420px]",\r
|
|
8108
8239
|
});\r
|
|
8109
8240
|
</script>\r
|
|
8241
|
+
\r
|
|
8242
|
+
<style>\r
|
|
8243
|
+
[aria-label~="Notifications"] {\r
|
|
8244
|
+
display: grid;\r
|
|
8245
|
+
}\r
|
|
8246
|
+
</style>\r
|
|
8110
8247
|
`}],utils:[],plugins:[]},{name:"Toggle",value:"toggle",deps:["tailwind-variants","radix-vue"],devDeps:[],nuxtModules:[],files:[{fileName:"Toggle.vue",dirPath:"components/UI",fileContent:`<template>
|
|
8111
8248
|
<ToggleRoot v-bind="forwarded" :class="styles({ variant, size, class: props.class })">
|
|
8112
8249
|
<slot></slot>
|