grg-kit-cli 0.6.12 → 0.6.14

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.
@@ -20,7 +20,10 @@ const RESOURCES = {
20
20
  "minimal",
21
21
  "warm",
22
22
  "amber",
23
- "orange"
23
+ "orange",
24
+ "golden",
25
+ "autumn",
26
+ "cozy"
24
27
  ],
25
28
  "features": [
26
29
  "dark-mode",
@@ -40,7 +43,11 @@ const RESOURCES = {
40
43
  "medical",
41
44
  "green",
42
45
  "life-sciences",
43
- "biotech"
46
+ "biotech",
47
+ "laboratory",
48
+ "research",
49
+ "science",
50
+ "nature"
44
51
  ],
45
52
  "features": [
46
53
  "dark-mode",
@@ -60,7 +67,12 @@ const RESOURCES = {
60
67
  "medical",
61
68
  "professional",
62
69
  "blue",
63
- "healthcare"
70
+ "healthcare",
71
+ "hospital",
72
+ "clinic",
73
+ "doctor",
74
+ "patient",
75
+ "health"
64
76
  ],
65
77
  "features": [
66
78
  "dark-mode",
@@ -80,7 +92,11 @@ const RESOURCES = {
80
92
  "warm",
81
93
  "orange",
82
94
  "brown",
83
- "claude"
95
+ "claude",
96
+ "ai",
97
+ "anthropic",
98
+ "earthy",
99
+ "cozy"
84
100
  ],
85
101
  "features": [
86
102
  "dark-mode",
@@ -100,7 +116,10 @@ const RESOURCES = {
100
116
  "minimal",
101
117
  "grayscale",
102
118
  "neutral",
103
- "clean"
119
+ "clean",
120
+ "monochrome",
121
+ "simple",
122
+ "light"
104
123
  ],
105
124
  "features": [
106
125
  "dark-mode",
@@ -120,7 +139,10 @@ const RESOURCES = {
120
139
  "default",
121
140
  "blue",
122
141
  "minimal",
123
- "professional"
142
+ "professional",
143
+ "corporate",
144
+ "business",
145
+ "standard"
124
146
  ],
125
147
  "features": [
126
148
  "dark-mode",
@@ -140,7 +162,11 @@ const RESOURCES = {
140
162
  "medical",
141
163
  "purple",
142
164
  "genomics",
143
- "biotech"
165
+ "biotech",
166
+ "dna",
167
+ "genetics",
168
+ "research",
169
+ "science"
144
170
  ],
145
171
  "features": [
146
172
  "dark-mode",
@@ -160,7 +186,10 @@ const RESOURCES = {
160
186
  "minimal",
161
187
  "modern",
162
188
  "contemporary",
163
- "clean"
189
+ "clean",
190
+ "sleek",
191
+ "elegant",
192
+ "simple"
164
193
  ],
165
194
  "features": [
166
195
  "dark-mode",
@@ -180,7 +209,11 @@ const RESOURCES = {
180
209
  "medical",
181
210
  "teal",
182
211
  "pharmaceutical",
183
- "healthcare"
212
+ "healthcare",
213
+ "pharmacy",
214
+ "drug",
215
+ "medicine",
216
+ "calm"
184
217
  ],
185
218
  "features": [
186
219
  "dark-mode",
@@ -201,7 +234,15 @@ const RESOURCES = {
201
234
  "file",
202
235
  "upload",
203
236
  "form",
204
- "drag-drop"
237
+ "drag-drop",
238
+ "dropzone",
239
+ "attachment",
240
+ "file-picker",
241
+ "document",
242
+ "image-upload",
243
+ "file-input",
244
+ "browse",
245
+ "select-file"
205
246
  ],
206
247
  "dependencies": [
207
248
  "@spartan-ng/helm/button"
@@ -220,12 +261,41 @@ const RESOURCES = {
220
261
  "login",
221
262
  "signup",
222
263
  "authentication",
223
- "form"
264
+ "form",
265
+ "sign-in",
266
+ "signin",
267
+ "sign-up",
268
+ "register",
269
+ "password",
270
+ "user-login",
271
+ "account",
272
+ "credentials",
273
+ "onboarding"
224
274
  ],
225
275
  "dependencies": [
226
276
  "@spartan-ng/helm/button",
227
277
  "@spartan-ng/helm/card",
228
278
  "@spartan-ng/helm/form-field"
279
+ ],
280
+ "files": [
281
+ {
282
+ "id": "forgot-password",
283
+ "file": "forgot-password.component.ts",
284
+ "title": "Forgot Password",
285
+ "description": "Forgot Password"
286
+ },
287
+ {
288
+ "id": "login",
289
+ "file": "login.component.ts",
290
+ "title": "Login",
291
+ "description": "Login"
292
+ },
293
+ {
294
+ "id": "register",
295
+ "file": "register.component.ts",
296
+ "title": "Register",
297
+ "description": "Register"
298
+ }
229
299
  ]
230
300
  },
231
301
  {
@@ -239,13 +309,47 @@ const RESOURCES = {
239
309
  "preferences",
240
310
  "account",
241
311
  "profile",
242
- "security"
312
+ "security",
313
+ "user-settings",
314
+ "my-account",
315
+ "configuration",
316
+ "options",
317
+ "notifications",
318
+ "privacy",
319
+ "delete-account",
320
+ "password-change"
243
321
  ],
244
322
  "dependencies": [
245
323
  "@spartan-ng/helm/button",
246
324
  "@spartan-ng/helm/card",
247
325
  "@spartan-ng/helm/form-field",
248
326
  "@spartan-ng/helm/switch"
327
+ ],
328
+ "files": [
329
+ {
330
+ "id": "danger-zone",
331
+ "file": "danger-zone.component.ts",
332
+ "title": "Danger Zone",
333
+ "description": "Danger Zone"
334
+ },
335
+ {
336
+ "id": "notification",
337
+ "file": "notification-settings.component.ts",
338
+ "title": "Notification Settings",
339
+ "description": "Notification Settings"
340
+ },
341
+ {
342
+ "id": "profile",
343
+ "file": "profile-settings.component.ts",
344
+ "title": "Profile Settings",
345
+ "description": "Profile Settings"
346
+ },
347
+ {
348
+ "id": "security",
349
+ "file": "security-settings.component.ts",
350
+ "title": "Security Settings",
351
+ "description": "Security Settings"
352
+ }
249
353
  ]
250
354
  },
251
355
  {
@@ -262,12 +366,61 @@ const RESOURCES = {
262
366
  "footer",
263
367
  "navigation",
264
368
  "topnav",
265
- "collapsible"
369
+ "collapsible",
370
+ "app-shell",
371
+ "dashboard",
372
+ "admin",
373
+ "main-layout",
374
+ "navbar",
375
+ "menu",
376
+ "left-nav",
377
+ "top-bar",
378
+ "horizontal-nav",
379
+ "vertical-nav",
380
+ "wrapper"
266
381
  ],
267
382
  "dependencies": [
268
383
  "@spartan-ng/helm/button",
269
384
  "@spartan-ng/helm/icon",
270
385
  "@spartan-ng/helm/dropdown-menu"
386
+ ],
387
+ "files": [
388
+ {
389
+ "id": "collapsible-footer",
390
+ "file": "collapsible-shell-footer.component.ts",
391
+ "title": "Collapsible Shell Footer",
392
+ "description": "Collapsible Shell Footer"
393
+ },
394
+ {
395
+ "id": "collapsible",
396
+ "file": "collapsible-shell.component.ts",
397
+ "title": "Collapsible Shell",
398
+ "description": "Collapsible Shell"
399
+ },
400
+ {
401
+ "id": "sidebar-footer",
402
+ "file": "sidebar-shell-footer.component.ts",
403
+ "title": "Sidebar Shell Footer",
404
+ "description": "Sidebar Shell Footer"
405
+ },
406
+ {
407
+ "id": "sidebar",
408
+ "file": "sidebar-shell.component.ts",
409
+ "title": "Sidebar Shell",
410
+ "description": "Sidebar Shell"
411
+ },
412
+ {
413
+ "id": "topnav-footer",
414
+ "file": "topnav-shell-footer.component.ts",
415
+ "title": "Topnav Shell Footer",
416
+ "description": "Topnav Shell Footer"
417
+ },
418
+ {
419
+ "id": "topnav",
420
+ "file": "topnav-shell.component.ts",
421
+ "title": "Topnav Shell",
422
+ "description": "Topnav Shell"
423
+ }
271
424
  ]
272
425
  }
273
426
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grg-kit-cli",
3
- "version": "0.6.12",
3
+ "version": "0.6.14",
4
4
  "description": "CLI tool for pulling GRG Kit resources into your Angular project",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -156,7 +156,7 @@ function scanBlockFiles(blockDir, blockName) {
156
156
  .sort((a, b) => a.file.localeCompare(b.file));
157
157
  }
158
158
 
159
- function generateBlocks(includeFiles = false) {
159
+ function generateBlocks() {
160
160
  const blocksDir = path.join(TEMPLATES_DIR, 'ui/blocks');
161
161
  const dirs = scanDirectory(blocksDir);
162
162
 
@@ -166,22 +166,16 @@ function generateBlocks(includeFiles = false) {
166
166
  const blockDir = path.join(blocksDir, dir.name);
167
167
  const metadata = readMeta(blockDir) || defaultBlockMeta(dir.name);
168
168
 
169
- const block = {
169
+ return {
170
170
  name: dir.name,
171
171
  title: dir.name.split('-').map(w => w.charAt(0).toUpperCase() + w.slice(1)).join(' '),
172
172
  description: metadata.description,
173
173
  path: `templates/ui/blocks/${dir.name}`,
174
174
  defaultOutput: `src/app/blocks/${dir.name}`,
175
175
  tags: metadata.tags || [],
176
- dependencies: metadata.dependencies || []
176
+ dependencies: metadata.dependencies || [],
177
+ files: scanBlockFiles(blockDir, dir.name) // Always include files
177
178
  };
178
-
179
- // Include file-level details for catalog
180
- if (includeFiles) {
181
- block.files = scanBlockFiles(blockDir, dir.name);
182
- }
183
-
184
- return block;
185
179
  });
186
180
  }
187
181