@redseed/redseed-ui-tailwindcss 7.46.0 → 7.47.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/components/card.css
CHANGED
|
@@ -116,19 +116,19 @@
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
.rsui-card__image__badge-container {
|
|
119
|
-
@apply absolute inset-x-0 w-full bottom-0 py-
|
|
119
|
+
@apply absolute inset-x-0 w-full bottom-0 py-space-xl px-space-xl flex gap-space-xxs;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.rsui-card__content {
|
|
123
|
-
@apply flex-1 flex flex-col relative gap-y-
|
|
123
|
+
@apply flex-1 flex flex-col relative gap-y-space-sm;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
.rsui-card__content--padded {
|
|
127
|
-
@apply py-
|
|
127
|
+
@apply py-space-xl px-space-xl min-h-16;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.rsui-card__meta {
|
|
131
|
-
@apply max-w-full overflow-x-auto grid grid-cols-1 gap-x-
|
|
131
|
+
@apply max-w-full overflow-x-auto grid grid-cols-1 gap-x-space-lg gap-y-space-xs;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
.rsui-card--2xs .rsui-card__meta {
|
|
@@ -148,17 +148,17 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
.rsui-card--lg .rsui-card__meta {
|
|
151
|
-
@apply grid-cols-6 gap-x-
|
|
151
|
+
@apply grid-cols-6 gap-x-space-xl;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
.rsui-card--xl .rsui-card__meta {
|
|
155
|
-
@apply grid-cols-8 gap-x-
|
|
155
|
+
@apply grid-cols-8 gap-x-space-xl;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
.rsui-card--2xl .rsui-card__meta {
|
|
159
|
-
@apply grid-cols-10 gap-x-
|
|
159
|
+
@apply grid-cols-10 gap-x-space-xl;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.rsui-card--3xl .rsui-card__meta {
|
|
163
|
-
@apply grid-cols-12 gap-x-
|
|
163
|
+
@apply grid-cols-12 gap-x-space-xl;
|
|
164
164
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
.rsui-card-header {
|
|
2
2
|
@apply @container/card-header;
|
|
3
|
-
@apply flex flex-col gap-x-
|
|
4
|
-
@apply pt-
|
|
3
|
+
@apply flex flex-col gap-x-space-sm gap-y-space-lg transition-all;
|
|
4
|
+
@apply pt-space-xl pb-0 px-space-xl;
|
|
5
5
|
@apply border-b border-transparent;
|
|
6
6
|
|
|
7
|
-
@apply @sm/card-header:px-6;
|
|
8
7
|
@apply @md/card-header:flex-row @md/card-header:justify-between @md/card-header:items-center;
|
|
9
8
|
}
|
|
10
9
|
|
|
@@ -18,11 +17,11 @@
|
|
|
18
17
|
}
|
|
19
18
|
|
|
20
19
|
.rsui-card-header--padded-bottom {
|
|
21
|
-
@apply pb-
|
|
20
|
+
@apply pb-space-xl;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
.rsui-card-header__header {
|
|
25
|
-
@apply flex-1 flex justify-between items-start gap-x-
|
|
24
|
+
@apply flex-1 flex justify-between items-start gap-x-space-sm;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
.rsui-card-header__header--single-line {
|
|
@@ -41,13 +40,13 @@
|
|
|
41
40
|
}
|
|
42
41
|
|
|
43
42
|
.rsui-card-header__text {
|
|
44
|
-
@apply flex-1 flex flex-col gap-y-
|
|
43
|
+
@apply flex-1 flex flex-col gap-y-space-xs pt-2;
|
|
45
44
|
|
|
46
|
-
@apply @md/card-header:pt-0 @md/card-header:gap-y-
|
|
45
|
+
@apply @md/card-header:pt-0 @md/card-header:gap-y-space-xxs;
|
|
47
46
|
}
|
|
48
47
|
|
|
49
48
|
.rsui-card-header__title-container {
|
|
50
|
-
@apply flex flex-wrap items-center gap-y-
|
|
49
|
+
@apply flex flex-wrap items-center gap-y-space-xxs gap-x-space-xs;
|
|
51
50
|
}
|
|
52
51
|
|
|
53
52
|
.rsui-card-header__title {
|
|
@@ -72,15 +71,15 @@
|
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
.rsui-card-header__toolbar {
|
|
75
|
-
@apply flex gap-
|
|
74
|
+
@apply flex gap-space-sm justify-end;
|
|
76
75
|
|
|
77
76
|
@apply @md/card-header:items-center;
|
|
78
77
|
}
|
|
79
78
|
|
|
80
79
|
.rsui-card-header__actions-desktop {
|
|
81
|
-
@apply flex gap-
|
|
80
|
+
@apply flex gap-space-sm items-center;
|
|
82
81
|
}
|
|
83
82
|
|
|
84
83
|
.rsui-card-header__actions-mobile {
|
|
85
|
-
@apply flex flex-wrap gap-
|
|
84
|
+
@apply flex flex-wrap gap-space-sm items-center;
|
|
86
85
|
}
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
.rsui-card-horizontal__body {
|
|
176
176
|
/* Mobile: body fills full width below the image (self-stretch default).
|
|
177
177
|
sm+: self-start so body drives the grid row height (not stretches to it). */
|
|
178
|
-
@apply flex flex-col gap-y-
|
|
178
|
+
@apply flex flex-col gap-y-space-xs p-space-xl min-w-0;
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
@container card-horizontal (min-width: calc(32rem - 2px)) /* --container-lg (32rem=512px) - 2px border */ {
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.rsui-card-horizontal__content {
|
|
188
|
-
@apply flex flex-col gap-y-
|
|
188
|
+
@apply flex flex-col gap-y-space-xxs;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
.rsui-card-horizontal__title {
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
.rsui-card-horizontal__meta {
|
|
200
|
-
@apply flex flex-wrap items-center gap-x-
|
|
200
|
+
@apply flex flex-wrap items-center gap-x-space-sm gap-y-space-xxs;
|
|
201
201
|
}
|
|
@@ -10,6 +10,36 @@
|
|
|
10
10
|
@apply flex-col items-start;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
+
/* Likert: a single nowrap row spread across the full width. Each anchor sits inside its
|
|
14
|
+
own end point (see the component), so justify-between distributes free space between
|
|
15
|
+
the scale points while the anchor stays tight against the circle it labels — that
|
|
16
|
+
distance is set on the item below, and free space never stretches it.
|
|
17
|
+
The gap here is only a floor: it applies once the row is at its natural width and
|
|
18
|
+
there is no free space left to distribute.
|
|
19
|
+
ponytail: no responsive collapse — a long scale on a narrow container overflows
|
|
20
|
+
its parent. Add overflow-x-auto or a stacked fallback if that shows up in the wild. */
|
|
21
|
+
.rsui-form-field-radio-group__items--likert {
|
|
22
|
+
@apply flex-nowrap justify-between gap-x-space-sm;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* Anchor-to-circle distance. Wider than the default item gap so the anchor is not
|
|
26
|
+
crowding its circle, still far tighter than the gaps between scale points. */
|
|
27
|
+
.rsui-form-field-radio-group__items--likert .rsui-form-field-radio-group__item {
|
|
28
|
+
@apply gap-x-space-lg;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* The anchors carry the meaning, so each radio's own label is for screen readers only */
|
|
32
|
+
.rsui-form-field-radio-group__items--likert .rsui-form-field-radio-group__item-label {
|
|
33
|
+
@apply sr-only;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* Typography matches .rsui-form-field-radio-group__item-label — the anchors read as scale
|
|
37
|
+
options, not as field labels, and inherit their size the same way. They are not <label>
|
|
38
|
+
elements: an anchor names the end of the scale, not any one radio. */
|
|
39
|
+
.rsui-form-field-radio-group__anchor {
|
|
40
|
+
@apply shrink-0 font-normal text-text-primary;
|
|
41
|
+
}
|
|
42
|
+
|
|
13
43
|
.rsui-form-field-radio-group__item {
|
|
14
44
|
@apply relative flex items-center gap-x-2 cursor-pointer;
|
|
15
45
|
}
|
package/package.json
CHANGED
package/tokens.css
CHANGED