@developer.krd/discord-dashboard 0.1.7 → 0.2.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/dist/index.cjs +3736 -898
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +72 -0
- package/dist/index.d.ts +72 -0
- package/dist/index.js +3736 -898
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -291,16 +291,28 @@ interface DashboardData {
|
|
|
291
291
|
overviewCards: DashboardOverviewCard[];
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
declare function renderAuroraLayout(context: DashboardTemplateRenderContext): string;
|
|
295
|
+
|
|
294
296
|
declare function renderCompactLayout(context: DashboardTemplateRenderContext): string;
|
|
295
297
|
|
|
298
|
+
declare function renderCyberpunkLayout(context: DashboardTemplateRenderContext): string;
|
|
299
|
+
|
|
296
300
|
declare function renderDefaultLayout(context: DashboardTemplateRenderContext): string;
|
|
297
301
|
|
|
302
|
+
declare function renderHologramLayout(context: DashboardTemplateRenderContext): string;
|
|
303
|
+
|
|
304
|
+
declare function renderNebulaLayout(context: DashboardTemplateRenderContext): string;
|
|
305
|
+
|
|
298
306
|
declare function renderShadcnMagicLayout(context: DashboardTemplateRenderContext): string;
|
|
299
307
|
|
|
300
308
|
declare const BuiltinLayouts: {
|
|
301
309
|
default: typeof renderDefaultLayout;
|
|
302
310
|
compact: typeof renderCompactLayout;
|
|
303
311
|
"shadcn-magic": typeof renderShadcnMagicLayout;
|
|
312
|
+
aurora: typeof renderAuroraLayout;
|
|
313
|
+
cyberpunk: typeof renderCyberpunkLayout;
|
|
314
|
+
hologram: typeof renderHologramLayout;
|
|
315
|
+
nebula: typeof renderNebulaLayout;
|
|
304
316
|
};
|
|
305
317
|
|
|
306
318
|
declare const BuiltinThemes: {
|
|
@@ -346,6 +358,66 @@ declare const BuiltinThemes: {
|
|
|
346
358
|
radiusLg: string;
|
|
347
359
|
radiusMd: string;
|
|
348
360
|
};
|
|
361
|
+
aurora: {
|
|
362
|
+
bg: string;
|
|
363
|
+
rail: string;
|
|
364
|
+
contentBg: string;
|
|
365
|
+
panel: string;
|
|
366
|
+
panel2: string;
|
|
367
|
+
text: string;
|
|
368
|
+
muted: string;
|
|
369
|
+
primary: string;
|
|
370
|
+
accent: string;
|
|
371
|
+
success: string;
|
|
372
|
+
warning: string;
|
|
373
|
+
danger: string;
|
|
374
|
+
border: string;
|
|
375
|
+
};
|
|
376
|
+
cyberpunk: {
|
|
377
|
+
bg: string;
|
|
378
|
+
rail: string;
|
|
379
|
+
contentBg: string;
|
|
380
|
+
panel: string;
|
|
381
|
+
panel2: string;
|
|
382
|
+
text: string;
|
|
383
|
+
muted: string;
|
|
384
|
+
primary: string;
|
|
385
|
+
accent: string;
|
|
386
|
+
success: string;
|
|
387
|
+
warning: string;
|
|
388
|
+
danger: string;
|
|
389
|
+
border: string;
|
|
390
|
+
};
|
|
391
|
+
hologram: {
|
|
392
|
+
bg: string;
|
|
393
|
+
rail: string;
|
|
394
|
+
contentBg: string;
|
|
395
|
+
panel: string;
|
|
396
|
+
panel2: string;
|
|
397
|
+
text: string;
|
|
398
|
+
muted: string;
|
|
399
|
+
primary: string;
|
|
400
|
+
accent: string;
|
|
401
|
+
success: string;
|
|
402
|
+
warning: string;
|
|
403
|
+
danger: string;
|
|
404
|
+
border: string;
|
|
405
|
+
};
|
|
406
|
+
nebula: {
|
|
407
|
+
bg: string;
|
|
408
|
+
rail: string;
|
|
409
|
+
contentBg: string;
|
|
410
|
+
panel: string;
|
|
411
|
+
panel2: string;
|
|
412
|
+
text: string;
|
|
413
|
+
muted: string;
|
|
414
|
+
primary: string;
|
|
415
|
+
accent: string;
|
|
416
|
+
success: string;
|
|
417
|
+
warning: string;
|
|
418
|
+
danger: string;
|
|
419
|
+
border: string;
|
|
420
|
+
};
|
|
349
421
|
};
|
|
350
422
|
|
|
351
423
|
type BuiltinLayoutNames = keyof typeof BuiltinLayouts;
|
package/dist/index.d.ts
CHANGED
|
@@ -291,16 +291,28 @@ interface DashboardData {
|
|
|
291
291
|
overviewCards: DashboardOverviewCard[];
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
declare function renderAuroraLayout(context: DashboardTemplateRenderContext): string;
|
|
295
|
+
|
|
294
296
|
declare function renderCompactLayout(context: DashboardTemplateRenderContext): string;
|
|
295
297
|
|
|
298
|
+
declare function renderCyberpunkLayout(context: DashboardTemplateRenderContext): string;
|
|
299
|
+
|
|
296
300
|
declare function renderDefaultLayout(context: DashboardTemplateRenderContext): string;
|
|
297
301
|
|
|
302
|
+
declare function renderHologramLayout(context: DashboardTemplateRenderContext): string;
|
|
303
|
+
|
|
304
|
+
declare function renderNebulaLayout(context: DashboardTemplateRenderContext): string;
|
|
305
|
+
|
|
298
306
|
declare function renderShadcnMagicLayout(context: DashboardTemplateRenderContext): string;
|
|
299
307
|
|
|
300
308
|
declare const BuiltinLayouts: {
|
|
301
309
|
default: typeof renderDefaultLayout;
|
|
302
310
|
compact: typeof renderCompactLayout;
|
|
303
311
|
"shadcn-magic": typeof renderShadcnMagicLayout;
|
|
312
|
+
aurora: typeof renderAuroraLayout;
|
|
313
|
+
cyberpunk: typeof renderCyberpunkLayout;
|
|
314
|
+
hologram: typeof renderHologramLayout;
|
|
315
|
+
nebula: typeof renderNebulaLayout;
|
|
304
316
|
};
|
|
305
317
|
|
|
306
318
|
declare const BuiltinThemes: {
|
|
@@ -346,6 +358,66 @@ declare const BuiltinThemes: {
|
|
|
346
358
|
radiusLg: string;
|
|
347
359
|
radiusMd: string;
|
|
348
360
|
};
|
|
361
|
+
aurora: {
|
|
362
|
+
bg: string;
|
|
363
|
+
rail: string;
|
|
364
|
+
contentBg: string;
|
|
365
|
+
panel: string;
|
|
366
|
+
panel2: string;
|
|
367
|
+
text: string;
|
|
368
|
+
muted: string;
|
|
369
|
+
primary: string;
|
|
370
|
+
accent: string;
|
|
371
|
+
success: string;
|
|
372
|
+
warning: string;
|
|
373
|
+
danger: string;
|
|
374
|
+
border: string;
|
|
375
|
+
};
|
|
376
|
+
cyberpunk: {
|
|
377
|
+
bg: string;
|
|
378
|
+
rail: string;
|
|
379
|
+
contentBg: string;
|
|
380
|
+
panel: string;
|
|
381
|
+
panel2: string;
|
|
382
|
+
text: string;
|
|
383
|
+
muted: string;
|
|
384
|
+
primary: string;
|
|
385
|
+
accent: string;
|
|
386
|
+
success: string;
|
|
387
|
+
warning: string;
|
|
388
|
+
danger: string;
|
|
389
|
+
border: string;
|
|
390
|
+
};
|
|
391
|
+
hologram: {
|
|
392
|
+
bg: string;
|
|
393
|
+
rail: string;
|
|
394
|
+
contentBg: string;
|
|
395
|
+
panel: string;
|
|
396
|
+
panel2: string;
|
|
397
|
+
text: string;
|
|
398
|
+
muted: string;
|
|
399
|
+
primary: string;
|
|
400
|
+
accent: string;
|
|
401
|
+
success: string;
|
|
402
|
+
warning: string;
|
|
403
|
+
danger: string;
|
|
404
|
+
border: string;
|
|
405
|
+
};
|
|
406
|
+
nebula: {
|
|
407
|
+
bg: string;
|
|
408
|
+
rail: string;
|
|
409
|
+
contentBg: string;
|
|
410
|
+
panel: string;
|
|
411
|
+
panel2: string;
|
|
412
|
+
text: string;
|
|
413
|
+
muted: string;
|
|
414
|
+
primary: string;
|
|
415
|
+
accent: string;
|
|
416
|
+
success: string;
|
|
417
|
+
warning: string;
|
|
418
|
+
danger: string;
|
|
419
|
+
border: string;
|
|
420
|
+
};
|
|
349
421
|
};
|
|
350
422
|
|
|
351
423
|
type BuiltinLayoutNames = keyof typeof BuiltinLayouts;
|