@ansiversa/components 0.0.24 → 0.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ansiversa/components",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -246,6 +246,10 @@
246
246
  @apply text-[0.65rem] text-slate-400 uppercase tracking-[0.18em];
247
247
  }
248
248
 
249
+ .av-gradient-text {
250
+ @apply bg-gradient-to-r from-cyan-300 via-cyan-200 to-purple-300 bg-clip-text text-transparent;
251
+ }
252
+
249
253
  .av-navbar-actions {
250
254
  @apply flex items-center gap-2;
251
255
  }
@@ -364,6 +368,40 @@
364
368
  @apply text-sm text-slate-300;
365
369
  }
366
370
 
371
+ /* Templates (grid + card) ------------------------------ */
372
+
373
+ .av-template-grid {
374
+ @apply w-full;
375
+ }
376
+
377
+ .av-template-grid__items {
378
+ @apply grid gap-5 md:gap-6 sm:grid-cols-2 lg:grid-cols-3;
379
+ }
380
+
381
+ .av-template-card {
382
+ @apply rounded-2xl border border-slate-800/70 bg-slate-950/80 p-5 shadow-xl backdrop-blur-xl flex flex-col gap-3;
383
+ }
384
+
385
+ .av-template-card__header {
386
+ @apply flex items-start justify-between gap-3;
387
+ }
388
+
389
+ .av-template-card__name {
390
+ @apply text-sm font-semibold text-slate-100;
391
+ }
392
+
393
+ .av-template-card__accent {
394
+ @apply h-2 w-2 rounded-full bg-cyan-400/80;
395
+ }
396
+
397
+ .av-template-card__description {
398
+ @apply text-sm text-slate-400;
399
+ }
400
+
401
+ .av-template-card__actions {
402
+ @apply mt-1 flex items-center gap-2 flex-wrap;
403
+ }
404
+
367
405
  /* Buttons ---------------------------------------------- */
368
406
 
369
407
  .av-btn {
@@ -407,6 +445,16 @@
407
445
  @apply w-full justify-center;
408
446
  }
409
447
 
448
+ .av-btn-primary:disabled,
449
+ .av-btn-ghost:disabled,
450
+ .av-btn-outline:disabled {
451
+ opacity: 0.5;
452
+ cursor: not-allowed;
453
+ pointer-events: none;
454
+ transform: none;
455
+ box-shadow: none;
456
+ }
457
+
410
458
  /* Forms ------------------------------------------------- */
411
459
 
412
460
  .av-form-group {
@@ -452,6 +500,25 @@
452
500
  @apply text-xs text-slate-400;
453
501
  }
454
502
 
503
+ /* Form field helpers (labels / wrappers) --------------- */
504
+
505
+ .av-field {
506
+ @apply space-y-1.5;
507
+ }
508
+
509
+ .av-field__label,
510
+ .av-input-label {
511
+ @apply text-xs font-medium text-slate-300;
512
+ }
513
+
514
+ .av-input-required {
515
+ @apply text-rose-300;
516
+ }
517
+
518
+ .av-input-select-wrapper {
519
+ @apply relative;
520
+ }
521
+
455
522
  /* Navbar / Nav ----------------------------------------- */
456
523
 
457
524
  .av-navbar {
@@ -492,6 +559,58 @@
492
559
  @apply inline-flex items-center rounded-full border border-slate-700/50 bg-slate-900/70 px-2.5 py-0.5 text-[0.7rem] text-slate-300;
493
560
  }
494
561
 
562
+ /* Feature / Item lists --------------------------------- */
563
+
564
+ .av-feature-list {
565
+ @apply space-y-3;
566
+ }
567
+
568
+ .av-feature-item {
569
+ @apply flex items-start gap-3;
570
+ }
571
+
572
+ .av-feature-dot {
573
+ @apply mt-1.5 h-2 w-2 rounded-full bg-slate-600;
574
+ }
575
+
576
+ .av-feature-dot--primary {
577
+ @apply bg-cyan-400;
578
+ }
579
+
580
+ .av-feature-dot--secondary {
581
+ @apply bg-purple-400;
582
+ }
583
+
584
+ .av-item-list {
585
+ @apply divide-y divide-slate-800/60;
586
+ }
587
+
588
+ .av-item-list__item {
589
+ @apply py-4 flex flex-col gap-1;
590
+ }
591
+
592
+ .av-item-list__title {
593
+ @apply text-sm font-semibold text-slate-100;
594
+ }
595
+
596
+ .av-item-list__subtitle {
597
+ @apply text-xs text-slate-400;
598
+ }
599
+
600
+ .av-item-list__meta {
601
+ @apply text-[0.75rem] text-slate-500;
602
+ }
603
+
604
+ /* Chip list -------------------------------------------- */
605
+
606
+ .av-chip-list {
607
+ @apply flex flex-wrap items-center gap-2;
608
+ }
609
+
610
+ .av-chip-list__chip {
611
+ @apply inline-flex items-center rounded-full border border-slate-700/70 bg-slate-900/80 px-2.5 py-0.5 text-[0.7rem] text-slate-300;
612
+ }
613
+
495
614
  /* Alerts ----------------------------------------------- */
496
615
 
497
616
  .av-alert {
@@ -514,6 +633,24 @@
514
633
  @apply rounded-lg border px-3.5 py-2.5 text-xs md:text-sm flex items-start gap-3 border-rose-500/60 bg-rose-500/10 text-rose-50;
515
634
  }
516
635
 
636
+ /* Empty state ------------------------------------------ */
637
+
638
+ .av-empty-state {
639
+ @apply rounded-2xl border border-slate-800/70 bg-slate-950/80 p-6 md:p-7 shadow-xl backdrop-blur-xl;
640
+ }
641
+
642
+ .av-empty-state__body {
643
+ @apply flex flex-col items-center text-center gap-3 max-w-xl mx-auto;
644
+ }
645
+
646
+ .av-empty-state__title {
647
+ @apply text-base md:text-lg font-semibold text-slate-100;
648
+ }
649
+
650
+ .av-empty-state__description {
651
+ @apply text-sm text-slate-400;
652
+ }
653
+
517
654
  /* Tables ----------------------------------------------- */
518
655
 
519
656
  .av-table {
@@ -601,6 +738,10 @@
601
738
  @apply text-[0.78rem] text-slate-500 hidden sm:inline;
602
739
  }
603
740
 
741
+ .av-caption {
742
+ @apply text-[0.78rem] text-slate-500;
743
+ }
744
+
604
745
  /* User menu / avatar ----------------------------------- */
605
746
 
606
747
  .av-user-menu-wrapper {
@@ -736,6 +877,36 @@
736
877
  stroke-width: 1.75;
737
878
  }
738
879
 
880
+ /* Toolbar ---------------------------------------------- */
881
+
882
+ .av-toolbar {
883
+ @apply border-b border-slate-800/60 bg-slate-950/40 backdrop-blur-xl;
884
+ }
885
+
886
+ .av-toolbar__container {
887
+ @apply w-full max-w-5xl mx-auto px-5 py-4 flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between;
888
+ }
889
+
890
+ .av-toolbar__meta {
891
+ @apply flex flex-col gap-1;
892
+ }
893
+
894
+ .av-toolbar__actions {
895
+ @apply flex items-center gap-2 flex-wrap;
896
+ }
897
+
898
+ .av-toolbar__status {
899
+ @apply inline-flex items-center gap-2 text-xs text-slate-400;
900
+ }
901
+
902
+ .av-toolbar__status-dot {
903
+ @apply h-2 w-2 rounded-full bg-slate-600;
904
+ }
905
+
906
+ .av-toolbar__status-text {
907
+ @apply text-xs text-slate-400;
908
+ }
909
+
739
910
  /* AvPageHeader (NEW) ----------------------------------- */
740
911
 
741
912
  .av-page-header {