@mesob/ui 0.5.5 → 0.5.7

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": "@mesob/ui",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -31,6 +31,11 @@
31
31
  "default": "./src/styles/themes.css",
32
32
  "import": "./src/styles/themes.css",
33
33
  "require": "./src/styles/themes.css"
34
+ },
35
+ "./styles/*": {
36
+ "default": "./src/styles/*",
37
+ "import": "./src/styles/*",
38
+ "require": "./src/styles/*"
34
39
  }
35
40
  },
36
41
  "files": [
@@ -40,7 +45,7 @@
40
45
  "dependencies": {
41
46
  "@base-ui/react": "^1.1.0",
42
47
  "@hookform/resolvers": "^5.2.2",
43
- "@mesob/common": "0.5.5",
48
+ "@mesob/common": "0.5.7",
44
49
  "@tabler/icons-react": "^3.35.0",
45
50
  "@tanstack/react-table": "^8.21.3",
46
51
  "@tiptap/core": "^3.18.0",
@@ -1,4 +1,111 @@
1
- @import './lyra/button.css';
1
+ .style-lyra {
2
+ /* MARK: Button */
3
+ .cn-button {
4
+ @apply focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-none border border-transparent bg-clip-padding text-xs font-medium focus-visible:ring-1 aria-invalid:ring-1 [&_svg:not([class*='size-'])]:size-4;
5
+ }
6
+
7
+ .cn-button-variant-default {
8
+ @apply bg-primary text-primary-foreground [a]:hover:bg-primary/80;
9
+ }
10
+
11
+ .cn-button-variant-outline {
12
+ @apply border-border bg-background hover:bg-muted hover:text-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50 aria-expanded:bg-muted aria-expanded:text-foreground;
13
+ }
14
+
15
+ .cn-button-variant-secondary {
16
+ @apply bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground;
17
+ }
18
+
19
+ .cn-button-variant-ghost {
20
+ @apply hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground;
21
+ }
22
+
23
+ .cn-button-variant-destructive {
24
+ @apply bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30;
25
+ }
26
+
27
+ .cn-button-variant-link {
28
+ @apply text-primary underline-offset-4 hover:underline;
29
+ }
30
+
31
+ .cn-button-variant-light {
32
+ @apply bg-primary/12 text-primary hover:bg-primary/18 dark:bg-primary/20 dark:hover:bg-primary/28;
33
+ }
34
+
35
+ .cn-button-variant-destructive-filled {
36
+ @apply bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40;
37
+ }
38
+
39
+ .cn-dropdown-button-shell {
40
+ @apply inline-flex w-fit items-stretch isolate overflow-hidden align-middle;
41
+ }
42
+
43
+ .cn-dropdown-button-main {
44
+ @apply rounded-r-none! border-r-0;
45
+ }
46
+
47
+ .cn-dropdown-button-trigger {
48
+ @apply relative -ml-px rounded-l-none! border-l-0;
49
+ }
50
+
51
+ .cn-dropdown-button-trigger::before {
52
+ @apply bg-border absolute top-1 bottom-1 left-0 w-px content-[''];
53
+ }
54
+
55
+ .cn-dropdown-button-trigger[data-size='xs']::before {
56
+ @apply top-0.5 bottom-0.5;
57
+ }
58
+
59
+ .cn-dropdown-button-trigger[data-size='sm']::before {
60
+ @apply top-0.5 bottom-0.5;
61
+ }
62
+
63
+ .cn-dropdown-button-variant-danger {
64
+ @apply bg-destructive text-destructive-foreground hover:bg-destructive/90;
65
+ }
66
+
67
+ .cn-button-size-xl {
68
+ @apply h-10 gap-2 px-4.5 has-data-[icon=inline-end]:pr-4 has-data-[icon=inline-start]:pl-4 text-sm;
69
+ }
70
+
71
+ .cn-button-size-icon-xl {
72
+ @apply size-10 [&_svg:not([class*='size-'])]:size-4.5;
73
+ }
74
+
75
+ .cn-button-size-xs {
76
+ @apply h-6 gap-1 rounded-none px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3;
77
+ }
78
+
79
+ .cn-button-size-sm {
80
+ @apply h-7 gap-1.5 rounded-none px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-3.5;
81
+ }
82
+
83
+ .cn-button-size-default {
84
+ @apply h-8 gap-1.5 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5;
85
+ }
86
+
87
+ .cn-button-size-lg {
88
+ @apply h-9 gap-2 px-3.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3;
89
+ }
90
+
91
+ .cn-button-size-icon-xs {
92
+ @apply size-6 rounded-none [&_svg:not([class*='size-'])]:size-3;
93
+ }
94
+
95
+ .cn-button-size-icon-sm {
96
+ @apply size-7 rounded-none [&_svg:not([class*='size-'])]:size-3.5;
97
+ }
98
+
99
+ .cn-button-size-icon {
100
+ @apply size-8 [&_svg:not([class*='size-'])]:size-4;
101
+ }
102
+
103
+ .cn-button-size-icon-lg {
104
+ @apply size-9 [&_svg:not([class*='size-'])]:size-4;
105
+ }
106
+
107
+ }
108
+
2
109
 
3
110
  .style-lyra {
4
111
  /* MARK: Accordion */
@@ -388,7 +495,15 @@
388
495
 
389
496
  /* MARK: Card */
390
497
  .cn-card {
391
- @apply ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-none py-2 text-xs/relaxed ring-1 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none;
498
+ @apply ring-foreground/10 bg-card text-card-foreground overflow-hidden rounded-none text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none;
499
+ }
500
+
501
+ .cn-card:not([data-sectioned]) {
502
+ @apply py-0;
503
+ }
504
+
505
+ .cn-card[data-sectioned] {
506
+ @apply py-0;
392
507
  }
393
508
 
394
509
  .cn-card-with-border {
@@ -404,23 +519,147 @@
404
519
  }
405
520
 
406
521
  .cn-card-header {
407
- @apply gap-1 rounded-none px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3;
522
+ @apply gap-1 items-start rounded-none px-3 py-2 [.border-b]:pb-4 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:gap-y-1;
523
+ }
524
+
525
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description'])) {
526
+ @apply items-center py-1.5;
527
+ }
528
+
529
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
530
+ .cn-card-title {
531
+ @apply flex items-center;
532
+ }
533
+
534
+ .cn-card[data-size='xs']
535
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
536
+ .cn-card-title {
537
+ @apply min-h-6 leading-6;
538
+ }
539
+
540
+ .cn-card[data-size='sm']
541
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
542
+ .cn-card-title {
543
+ @apply min-h-7 leading-7;
544
+ }
545
+
546
+ .cn-card[data-size='md']
547
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
548
+ .cn-card-title {
549
+ @apply min-h-7 leading-7;
550
+ }
551
+
552
+ .cn-card[data-size='lg']
553
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
554
+ .cn-card-title {
555
+ @apply min-h-8 leading-8;
556
+ }
557
+
558
+ .cn-card[data-size='xl']
559
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
560
+ .cn-card-title {
561
+ @apply min-h-9 leading-9;
408
562
  }
409
563
 
410
564
  .cn-card-title {
411
- @apply text-sm font-medium group-data-[size=sm]/card:text-sm;
565
+ @apply text-sm font-medium;
566
+ }
567
+
568
+ .cn-card[data-size='xs'] .cn-card-title {
569
+ @apply text-xs leading-tight;
570
+ }
571
+
572
+ .cn-card[data-size='sm'] .cn-card-title {
573
+ @apply text-xs font-medium;
574
+ }
575
+
576
+ .cn-card[data-size='md'] .cn-card-title {
577
+ @apply text-sm;
578
+ }
579
+
580
+ .cn-card[data-size='lg'] .cn-card-title {
581
+ @apply text-base;
582
+ }
583
+
584
+ .cn-card[data-size='xl'] .cn-card-title {
585
+ @apply text-lg;
412
586
  }
413
587
 
414
588
  .cn-card-description {
415
589
  @apply text-muted-foreground text-xs/relaxed;
416
590
  }
417
591
 
592
+ .cn-card[data-size='lg'] .cn-card-description,
593
+ .cn-card[data-size='xl'] .cn-card-description {
594
+ @apply text-sm;
595
+ }
596
+
418
597
  .cn-card-content {
419
- @apply px-4 group-data-[size=sm]/card:px-3;
598
+ @apply px-4 py-2;
420
599
  }
421
600
 
422
601
  .cn-card-footer {
423
- @apply rounded-none border-t p-4 group-data-[size=sm]/card:p-3;
602
+ @apply rounded-none border-t px-3 py-2;
603
+ }
604
+
605
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-header'] {
606
+ @apply px-2.5 py-2 has-data-[slot=card-action]:gap-x-3;
607
+ }
608
+
609
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-content'] {
610
+ @apply px-2.5 py-2;
611
+ }
612
+
613
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-footer'] {
614
+ @apply px-2.5 py-2;
615
+ }
616
+
617
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-header'] {
618
+ @apply px-2.5 py-2 has-data-[slot=card-action]:gap-x-3;
619
+ }
620
+
621
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-content'] {
622
+ @apply px-2.5 py-2;
623
+ }
624
+
625
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-footer'] {
626
+ @apply px-2.5 py-2;
627
+ }
628
+
629
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-header'] {
630
+ @apply px-3 py-2 has-data-[slot=card-action]:gap-x-4;
631
+ }
632
+
633
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-content'] {
634
+ @apply px-3 py-2;
635
+ }
636
+
637
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-footer'] {
638
+ @apply px-3 py-2;
639
+ }
640
+
641
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-header'] {
642
+ @apply px-4 py-4 has-data-[slot=card-action]:gap-x-4;
643
+ }
644
+
645
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-content'] {
646
+ @apply px-4 py-2;
647
+ }
648
+
649
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-footer'] {
650
+ @apply px-4 py-4;
651
+ }
652
+
653
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-header'] {
654
+ @apply px-5 py-5 has-data-[slot=card-action]:gap-x-4;
655
+ }
656
+
657
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-content'] {
658
+ @apply px-5 py-2;
659
+ }
660
+
661
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-footer'] {
662
+ @apply px-5 py-5;
424
663
  }
425
664
 
426
665
  /* MARK: Chart */
@@ -1,4 +1,111 @@
1
- @import './maia/button.css';
1
+ .style-maia {
2
+ /* MARK: Button */
3
+ .cn-button {
4
+ @apply focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-4xl border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-[3px] aria-invalid:ring-[3px] [&_svg:not([class*='size-'])]:size-4;
5
+ }
6
+
7
+ .cn-button-variant-default {
8
+ @apply bg-primary text-primary-foreground hover:bg-primary/80;
9
+ }
10
+
11
+ .cn-button-variant-outline {
12
+ @apply border-border bg-input/30 hover:bg-input/50 hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground;
13
+ }
14
+
15
+ .cn-button-variant-secondary {
16
+ @apply bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground;
17
+ }
18
+
19
+ .cn-button-variant-ghost {
20
+ @apply hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground;
21
+ }
22
+
23
+ .cn-button-variant-destructive {
24
+ @apply bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30;
25
+ }
26
+
27
+ .cn-button-variant-link {
28
+ @apply text-primary underline-offset-4 hover:underline;
29
+ }
30
+
31
+ .cn-button-variant-light {
32
+ @apply bg-primary/12 text-primary hover:bg-primary/18 dark:bg-primary/20 dark:hover:bg-primary/28;
33
+ }
34
+
35
+ .cn-button-variant-destructive-filled {
36
+ @apply bg-destructive text-destructive-foreground hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40;
37
+ }
38
+
39
+ .cn-dropdown-button-shell {
40
+ @apply inline-flex w-fit items-stretch isolate overflow-hidden align-middle;
41
+ }
42
+
43
+ .cn-dropdown-button-main {
44
+ @apply rounded-r-none! border-r-0;
45
+ }
46
+
47
+ .cn-dropdown-button-trigger {
48
+ @apply relative -ml-px rounded-l-none! border-l-0;
49
+ }
50
+
51
+ .cn-dropdown-button-trigger::before {
52
+ @apply bg-border/70 absolute top-2 bottom-2 left-0 w-px content-[''];
53
+ }
54
+
55
+ .cn-dropdown-button-trigger[data-size='xs']::before {
56
+ @apply top-0.5 bottom-0.5;
57
+ }
58
+
59
+ .cn-dropdown-button-trigger[data-size='sm']::before {
60
+ @apply top-1 bottom-1;
61
+ }
62
+
63
+ .cn-dropdown-button-variant-danger {
64
+ @apply bg-destructive text-destructive-foreground hover:bg-destructive/90;
65
+ }
66
+
67
+ .cn-button-size-xl {
68
+ @apply h-12 gap-2 px-7 has-data-[icon=inline-end]:pr-5 has-data-[icon=inline-start]:pl-5 text-lg;
69
+ }
70
+
71
+ .cn-button-size-icon-xl {
72
+ @apply size-12;
73
+ }
74
+
75
+ .cn-button-size-xs {
76
+ @apply h-6 gap-1 px-2.5 text-xs has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-3;
77
+ }
78
+
79
+ .cn-button-size-sm {
80
+ @apply h-8 gap-1 px-3 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2;
81
+ }
82
+
83
+ .cn-button-size-default {
84
+ @apply h-9 gap-1.5 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5;
85
+ }
86
+
87
+ .cn-button-size-lg {
88
+ @apply h-10 gap-1.5 px-4 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3;
89
+ }
90
+
91
+ .cn-button-size-icon-xs {
92
+ @apply size-6 [&_svg:not([class*='size-'])]:size-3;
93
+ }
94
+
95
+ .cn-button-size-icon-sm {
96
+ @apply size-8;
97
+ }
98
+
99
+ .cn-button-size-icon {
100
+ @apply size-9;
101
+ }
102
+
103
+ .cn-button-size-icon-lg {
104
+ @apply size-10;
105
+ }
106
+
107
+ }
108
+
2
109
 
3
110
  .style-maia {
4
111
  /* MARK: Accordion */
@@ -421,7 +528,15 @@
421
528
 
422
529
  /* MARK: Card */
423
530
  .cn-card {
424
- @apply ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-2xl py-4 text-sm ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-4 data-[size=sm]:py-4 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl;
531
+ @apply ring-foreground/10 bg-card text-card-foreground overflow-hidden rounded-2xl text-sm ring-1 has-[>img:first-child]:pt-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl;
532
+ }
533
+
534
+ .cn-card:not([data-sectioned]) {
535
+ @apply py-0;
536
+ }
537
+
538
+ .cn-card[data-sectioned] {
539
+ @apply py-0;
425
540
  }
426
541
 
427
542
  .cn-card-with-border {
@@ -437,23 +552,142 @@
437
552
  }
438
553
 
439
554
  .cn-card-header {
440
- @apply gap-2 rounded-t-xl px-4 group-data-[size=sm]/card:px-4 [.border-b]:pb-6 group-data-[size=sm]/card:[.border-b]:pb-4;
555
+ @apply gap-2 items-start rounded-t-xl px-3 py-3 [.border-b]:pb-4 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:gap-y-2;
556
+ }
557
+
558
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description'])) {
559
+ @apply items-center py-1.5;
560
+ }
561
+
562
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
563
+ .cn-card-title {
564
+ @apply flex items-center;
565
+ }
566
+
567
+ .cn-card[data-size='xs']
568
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
569
+ .cn-card-title {
570
+ @apply min-h-6 leading-6;
571
+ }
572
+
573
+ .cn-card[data-size='sm']
574
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
575
+ .cn-card-title {
576
+ @apply min-h-7 leading-7;
577
+ }
578
+
579
+ .cn-card[data-size='md']
580
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
581
+ .cn-card-title {
582
+ @apply min-h-7 leading-7;
583
+ }
584
+
585
+ .cn-card[data-size='lg']
586
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
587
+ .cn-card-title {
588
+ @apply min-h-8 leading-8;
589
+ }
590
+
591
+ .cn-card[data-size='xl']
592
+ .cn-card-header:has([data-slot='card-action']):not(:has([data-slot='card-description']))
593
+ .cn-card-title {
594
+ @apply min-h-9 leading-9;
441
595
  }
442
596
 
443
597
  .cn-card-title {
444
598
  @apply text-base font-medium;
445
599
  }
446
600
 
601
+ .cn-card[data-size='xs'] .cn-card-title {
602
+ @apply text-xs leading-tight;
603
+ }
604
+
605
+ .cn-card[data-size='sm'] .cn-card-title {
606
+ @apply text-sm font-medium;
607
+ }
608
+
609
+ .cn-card[data-size='lg'] .cn-card-title {
610
+ @apply text-lg;
611
+ }
612
+
613
+ .cn-card[data-size='xl'] .cn-card-title {
614
+ @apply text-xl;
615
+ }
616
+
447
617
  .cn-card-description {
448
618
  @apply text-muted-foreground text-sm;
449
619
  }
450
620
 
621
+ .cn-card[data-size='xs'] .cn-card-description {
622
+ @apply text-xs;
623
+ }
624
+
451
625
  .cn-card-content {
452
- @apply px-4 group-data-[size=sm]/card:px-4;
626
+ @apply px-4 py-2;
453
627
  }
454
628
 
455
629
  .cn-card-footer {
456
- @apply rounded-b-xl px-6 group-data-[size=sm]/card:px-4 [.border-t]:pt-6 group-data-[size=sm]/card:[.border-t]:pt-4;
630
+ @apply rounded-b-xl px-3 py-3;
631
+ }
632
+
633
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-header'] {
634
+ @apply px-2.5 py-2 has-data-[slot=card-action]:gap-x-3 has-data-[slot=card-action]:gap-y-2;
635
+ }
636
+
637
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-content'] {
638
+ @apply px-2.5 py-2;
639
+ }
640
+
641
+ .cn-card[data-sectioned][data-size='xs'] [data-slot='card-footer'] {
642
+ @apply px-2.5 py-2;
643
+ }
644
+
645
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-header'] {
646
+ @apply px-2.5 py-2 has-data-[slot=card-action]:gap-x-3 has-data-[slot=card-action]:gap-y-2;
647
+ }
648
+
649
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-content'] {
650
+ @apply px-2.5 py-2;
651
+ }
652
+
653
+ .cn-card[data-sectioned][data-size='sm'] [data-slot='card-footer'] {
654
+ @apply px-2.5 py-2;
655
+ }
656
+
657
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-header'] {
658
+ @apply px-3 py-2 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:gap-y-2;
659
+ }
660
+
661
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-content'] {
662
+ @apply px-3 py-2;
663
+ }
664
+
665
+ .cn-card[data-sectioned][data-size='md'] [data-slot='card-footer'] {
666
+ @apply px-3 py-2;
667
+ }
668
+
669
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-header'] {
670
+ @apply px-4 py-4 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:gap-y-2;
671
+ }
672
+
673
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-content'] {
674
+ @apply px-4 py-2;
675
+ }
676
+
677
+ .cn-card[data-sectioned][data-size='lg'] [data-slot='card-footer'] {
678
+ @apply px-4 py-4;
679
+ }
680
+
681
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-header'] {
682
+ @apply px-5 py-5 has-data-[slot=card-action]:gap-x-4 has-data-[slot=card-action]:gap-y-2;
683
+ }
684
+
685
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-content'] {
686
+ @apply px-5 py-2;
687
+ }
688
+
689
+ .cn-card[data-sectioned][data-size='xl'] [data-slot='card-footer'] {
690
+ @apply px-5 py-5;
457
691
  }
458
692
 
459
693
  /* MARK: Carousel */