basecoat-css 1.0.1 → 1.0.2

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.
@@ -77,5 +77,25 @@
77
77
  > * > footer {
78
78
  @apply flex flex-col-reverse sm:flex-row sm:justify-end;
79
79
  }
80
+
81
+ &:is([data-size='sm']) > * > header,
82
+ > [data-size='sm'] > header {
83
+ @apply sm:place-items-center sm:text-center;
84
+ }
85
+
86
+ &:is([data-size='sm']) > * > header:has(> figure),
87
+ > [data-size='sm'] > header:has(> figure) {
88
+ @apply sm:grid-rows-[auto_auto_1fr];
89
+ }
90
+
91
+ &:is([data-size='sm']) > * > header:has(> figure) > :is(h2, p),
92
+ > [data-size='sm'] > header:has(> figure) > :is(h2, p) {
93
+ @apply sm:col-start-auto;
94
+ }
95
+
96
+ &:is([data-size='sm']) > * > footer,
97
+ > [data-size='sm'] > footer {
98
+ @apply grid grid-cols-2 sm:grid sm:grid-cols-2;
99
+ }
80
100
  }
81
101
  }
@@ -540,6 +540,11 @@
540
540
  @apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-w-xs gap-6 rounded-4xl p-6 shadow-xl ring-1 duration-100 sm:max-w-md;
541
541
  }
542
542
 
543
+ .alert-dialog:is([data-size='sm']) > *,
544
+ .alert-dialog > [data-size='sm'] {
545
+ @apply sm:max-w-xs;
546
+ }
547
+
543
548
  .dialog > * {
544
549
  @apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-w-[calc(100%-2rem)] gap-6 rounded-4xl p-6 text-sm shadow-xl ring-1 duration-100 sm:max-w-md;
545
550
  }
@@ -520,6 +520,11 @@
520
520
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-xs gap-4 rounded-none p-4 ring-1 duration-100 sm:max-w-sm;
521
521
  }
522
522
 
523
+ .alert-dialog:is([data-size='sm']) > *,
524
+ .alert-dialog > [data-size='sm'] {
525
+ @apply sm:max-w-xs;
526
+ }
527
+
523
528
  .dialog > * {
524
529
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-[calc(100%-2rem)] gap-4 rounded-none p-4 text-xs/relaxed ring-1 duration-100 sm:max-w-sm;
525
530
  }
@@ -532,6 +532,11 @@
532
532
  @apply bg-popover text-popover-foreground ring-foreground/5 max-w-xs gap-6 rounded-4xl p-6 ring-1 duration-100 sm:max-w-md;
533
533
  }
534
534
 
535
+ .alert-dialog:is([data-size='sm']) > *,
536
+ .alert-dialog > [data-size='sm'] {
537
+ @apply sm:max-w-xs;
538
+ }
539
+
535
540
  .dialog > * {
536
541
  @apply bg-popover text-popover-foreground ring-foreground/5 max-w-[calc(100%-2rem)] gap-6 rounded-4xl p-6 text-sm ring-1 duration-100 sm:max-w-md;
537
542
  }
@@ -536,6 +536,11 @@
536
536
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-xs gap-3 rounded-xl p-4 ring-1 duration-100 sm:max-w-sm;
537
537
  }
538
538
 
539
+ .alert-dialog:is([data-size='sm']) > *,
540
+ .alert-dialog > [data-size='sm'] {
541
+ @apply max-w-64 sm:max-w-64;
542
+ }
543
+
539
544
  .dialog > * {
540
545
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-xs/relaxed ring-1 duration-100 sm:max-w-sm;
541
546
  }
@@ -528,6 +528,11 @@
528
528
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-xs gap-4 rounded-xl p-4 ring-1 duration-100 sm:max-w-sm;
529
529
  }
530
530
 
531
+ .alert-dialog:is([data-size='sm']) > *,
532
+ .alert-dialog > [data-size='sm'] {
533
+ @apply sm:max-w-xs;
534
+ }
535
+
531
536
  .dialog > * {
532
537
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm;
533
538
  }
@@ -540,6 +540,11 @@
540
540
  @apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-w-xs gap-6 rounded-3xl p-6 shadow-xl ring-1 duration-100 sm:max-w-md;
541
541
  }
542
542
 
543
+ .alert-dialog:is([data-size='sm']) > *,
544
+ .alert-dialog > [data-size='sm'] {
545
+ @apply sm:max-w-xs;
546
+ }
547
+
543
548
  .dialog > * {
544
549
  @apply bg-popover text-popover-foreground ring-foreground/5 dark:ring-foreground/10 max-w-[calc(100%-2rem)] gap-6 rounded-3xl p-6 text-sm shadow-xl ring-1 duration-100 sm:max-w-md;
545
550
  }
@@ -544,6 +544,11 @@
544
544
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-xs gap-6 rounded-none p-6 shadow-md ring-1 duration-100 sm:max-w-md;
545
545
  }
546
546
 
547
+ .alert-dialog:is([data-size='sm']) > *,
548
+ .alert-dialog > [data-size='sm'] {
549
+ @apply sm:max-w-xs;
550
+ }
551
+
547
552
  .dialog > * {
548
553
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-[calc(100%-2rem)] gap-6 rounded-none p-6 text-sm shadow-md ring-1 duration-100 sm:max-w-md;
549
554
  }
@@ -528,6 +528,11 @@
528
528
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-xs gap-6 rounded-xl p-6 ring-1 duration-100 sm:max-w-lg;
529
529
  }
530
530
 
531
+ .alert-dialog:is([data-size='sm']) > *,
532
+ .alert-dialog > [data-size='sm'] {
533
+ @apply sm:max-w-xs;
534
+ }
535
+
531
536
  .dialog > * {
532
537
  @apply bg-popover text-popover-foreground ring-foreground/10 max-w-[calc(100%-2rem)] gap-6 rounded-xl p-6 text-sm ring-1 duration-100 sm:max-w-md;
533
538
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basecoat-css",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Tailwind CSS for Basecoat components",
5
5
  "author": {
6
6
  "name": "hunvreus",