@redseed/redseed-ui-tailwindcss 6.5.0 → 6.6.1

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.
@@ -1,47 +1,47 @@
1
1
  .rsui-card-group__cards {
2
- @apply grid gap-4 grid-cols-1;
2
+ @apply grid gap-space-lg grid-cols-1;
3
3
  }
4
4
 
5
5
  .rsui-card-group--sm .rsui-card-group__cards {
6
- @apply gap-4 grid-cols-2;
6
+ @apply gap-space-lg grid-cols-2;
7
7
  }
8
8
 
9
9
  .rsui-card-group--md .rsui-card-group__cards,
10
10
  .rsui-card-group--lg .rsui-card-group__cards,
11
11
  .rsui-card-group--xl .rsui-card-group__cards {
12
- @apply gap-4 grid-cols-3;
12
+ @apply gap-space-lg grid-cols-3;
13
13
  }
14
14
 
15
15
  .rsui-card-group--2xl .rsui-card-group__cards,
16
16
  .rsui-card-group--3xl .rsui-card-group__cards {
17
- @apply gap-4 grid-cols-5;
17
+ @apply gap-space-lg grid-cols-5;
18
18
  }
19
19
 
20
20
  .rsui-card-group--compact .rsui-card-group__cards {
21
- @apply gap-4 grid-cols-1;
21
+ @apply gap-space-lg grid-cols-1;
22
22
  }
23
23
 
24
24
  .rsui-card-group--compact.rsui-card-group--xs .rsui-card-group__cards {
25
- @apply gap-4 grid-cols-2;
25
+ @apply gap-space-lg grid-cols-2;
26
26
  }
27
27
 
28
28
  .rsui-card-group--compact.rsui-card-group--sm .rsui-card-group__cards {
29
- @apply gap-4 grid-cols-3;
29
+ @apply gap-space-lg grid-cols-3;
30
30
  }
31
31
 
32
32
  .rsui-card-group--compact.rsui-card-group--md .rsui-card-group__cards,
33
33
  .rsui-card-group--compact.rsui-card-group--lg .rsui-card-group__cards,
34
34
  .rsui-card-group--compact.rsui-card-group--xl .rsui-card-group__cards {
35
- @apply gap-4 grid-cols-4;
35
+ @apply gap-space-lg grid-cols-4;
36
36
  }
37
37
 
38
38
  .rsui-card-group--compact.rsui-card-group--2xl .rsui-card-group__cards,
39
39
  .rsui-card-group--compact.rsui-card-group--3xl .rsui-card-group__cards {
40
- @apply gap-4 grid-cols-6;
40
+ @apply gap-space-lg grid-cols-6;
41
41
  }
42
42
 
43
43
  .rsui-card-group__pagination {
44
- @apply w-full flex items-center justify-center mb-4;
44
+ @apply w-full flex items-center justify-center mb-space-lg;
45
45
  }
46
46
 
47
47
  /* List variant: force single-column full-width cards at all sizes */
@@ -1,9 +1,9 @@
1
1
  .rsui-section {
2
- @apply flex flex-col border border-solid rounded-xl p-6 border-border-primary;
2
+ @apply flex flex-col border border-solid rounded-xl p-space-lg border-border-primary;
3
3
  }
4
4
 
5
5
  .rsui-section--show-gap {
6
- @apply gap-y-4;
6
+ @apply gap-y-space-lg;
7
7
  }
8
8
 
9
9
  .rsui-section--primary {
@@ -1,10 +1,10 @@
1
1
  .rsui-section-header {
2
- @apply flex flex-col gap-x-3 gap-y-5 transition-all;
2
+ @apply flex flex-col gap-x-space-sm gap-y-space-lg transition-all;
3
3
  @apply md:flex-row md:justify-between md:items-center;
4
4
  }
5
5
 
6
6
  .rsui-section-header__header {
7
- @apply flex-1 flex justify-between items-start gap-x-3;
7
+ @apply flex-1 flex justify-between items-start gap-x-space-sm;
8
8
  }
9
9
 
10
10
  .rsui-section-header__icon {
@@ -16,15 +16,20 @@
16
16
  }
17
17
 
18
18
  .rsui-section-header__text {
19
- @apply flex-1 flex flex-col gap-y-0.5;
19
+ @apply flex-1 flex flex-col gap-y-space-xs;
20
20
  }
21
21
 
22
22
  .rsui-section-header__text--with-toolbar {
23
- @apply pt-2 md:pt-1.5;
23
+ @apply pt-space-xs;
24
24
  }
25
25
 
26
26
  .rsui-section-header__title {
27
27
  @apply text-2xl font-bold line-clamp-2 md:line-clamp-1 text-text-primary;
28
+ @apply flex items-center gap-space-xs;
29
+ }
30
+
31
+ .rsui-section-header__badge {
32
+ @apply ml-space-xs flex items-center;
28
33
  }
29
34
 
30
35
  .rsui-section-header__subtitle {
@@ -32,15 +37,15 @@
32
37
  }
33
38
 
34
39
  .rsui-section-header__toolbar {
35
- @apply flex gap-3 md:items-center justify-end;
40
+ @apply flex gap-space-sm md:items-center justify-end;
36
41
  }
37
42
 
38
43
  .rsui-section-header__actions-desktop {
39
- @apply flex gap-3 items-center;
44
+ @apply flex gap-space-sm items-center;
40
45
  }
41
46
 
42
47
  .rsui-section-header__actions-mobile {
43
- @apply flex flex-wrap gap-3 items-center justify-end;
48
+ @apply flex flex-wrap gap-space-sm items-center justify-end;
44
49
  }
45
50
 
46
51
  .rsui-section-header__more-actions-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-tailwindcss",
3
- "version": "6.5.0",
3
+ "version": "6.6.1",
4
4
  "description": "RedSeed UI Tailwindcss",
5
5
  "main": "index.js",
6
6
  "style": "index.css",
package/tokens.css CHANGED
@@ -6,6 +6,7 @@
6
6
  --color-text-success: var(--Colors-Success-600);
7
7
  --color-text-warning: var(--Colors-Warning-600);
8
8
  --color-text-error: var(--Colors-Error-600);
9
+ --color-text-info: var(--Colors-Blue-600);
9
10
  --color-text-on-color: var(--Colors-Base-white);
10
11
  --color-text-ai: var(--Colors-RedSeed-Purple-500);
11
12
 
@@ -55,4 +56,12 @@
55
56
  --color-button-danger-active: var(--Colors-Error-800);
56
57
  --color-button-separator: var(--Colors-Grey-200);
57
58
  --color-button-disabled: var(--Colors-Grey-300);
59
+
60
+ /* Spacing */
61
+ --spacing-space-xs: 0.5rem; /* 8px */
62
+ --spacing-space-sm: 0.75rem; /* 12px */
63
+ --spacing-space-md: 1rem; /* 16px */
64
+ --spacing-space-lg: 1.5rem; /* 24px */
65
+ --spacing-space-xl: 2rem; /* 32px */
66
+
58
67
  }