@designa8/vibedesign-supabase-deepseek-image-v1-2-176b 0.3.3 → 0.3.4
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/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @designa8/vibedesign-supabase-deepseek-image-v1-2-176b
|
|
2
2
|
|
|
3
|
-
Complete design system generated by Atoms Design, version **0.3.
|
|
3
|
+
Complete design system generated by Atoms Design, version **0.3.4**.
|
|
4
4
|
Tokens, atoms, molecules, organisms, and templates — import from the package root;
|
|
5
5
|
never hardcode visual values in consumer code.
|
|
6
6
|
|
package/dist/index.cjs
CHANGED
|
@@ -17765,12 +17765,17 @@ function QuoteMark({ size = 40 }) {
|
|
|
17765
17765
|
}
|
|
17766
17766
|
function Attribution({
|
|
17767
17767
|
name,
|
|
17768
|
+
role,
|
|
17768
17769
|
handle,
|
|
17769
17770
|
avatarSrc
|
|
17770
17771
|
}) {
|
|
17772
|
+
const secondary = role ?? handle;
|
|
17771
17773
|
return /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex items-center gap-sm", children: [
|
|
17772
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { src: avatarSrc, name, size: "
|
|
17773
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.
|
|
17774
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Avatar, { src: avatarSrc, name, size: "sm" }),
|
|
17775
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("span", { className: "flex min-w-0 flex-col", children: [
|
|
17776
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "truncate text-label text-ink", children: name }),
|
|
17777
|
+
secondary ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("span", { className: "truncate text-caption text-muted", children: secondary }) : null
|
|
17778
|
+
] })
|
|
17774
17779
|
] });
|
|
17775
17780
|
}
|
|
17776
17781
|
var TestimonialBlock = React87.forwardRef(
|
|
@@ -17778,6 +17783,7 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17778
17783
|
layout = "quote",
|
|
17779
17784
|
quote = DEFAULT_QUOTE,
|
|
17780
17785
|
name = "Alistair Chen",
|
|
17786
|
+
role,
|
|
17781
17787
|
handle = "@alistair.codes",
|
|
17782
17788
|
avatarSrc,
|
|
17783
17789
|
testimonials = DEFAULT_TESTIMONIALS,
|
|
@@ -17832,9 +17838,10 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17832
17838
|
children: testimonials.map((item) => /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)(
|
|
17833
17839
|
"li",
|
|
17834
17840
|
{
|
|
17835
|
-
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm",
|
|
17841
|
+
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm transition duration-200 ease-out hover:-translate-y-xs hover:shadow-card motion-reduce:transform-none",
|
|
17836
17842
|
children: [
|
|
17837
17843
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("div", { className: "flex flex-col gap-sm", children: [
|
|
17844
|
+
item.highlight ? /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("p", { className: "text-label text-primary-ink", children: item.highlight }) : null,
|
|
17838
17845
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(QuoteMark, { size: 30 }),
|
|
17839
17846
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("blockquote", { className: "text-body-lg text-ink", children: item.quote })
|
|
17840
17847
|
] }),
|
|
@@ -17842,13 +17849,14 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17842
17849
|
Attribution,
|
|
17843
17850
|
{
|
|
17844
17851
|
name: item.name,
|
|
17852
|
+
role: item.role,
|
|
17845
17853
|
handle: item.handle,
|
|
17846
17854
|
avatarSrc: item.avatarSrc
|
|
17847
17855
|
}
|
|
17848
17856
|
)
|
|
17849
17857
|
]
|
|
17850
17858
|
},
|
|
17851
|
-
item.name
|
|
17859
|
+
item.id ?? item.name
|
|
17852
17860
|
))
|
|
17853
17861
|
}
|
|
17854
17862
|
)
|
|
@@ -17865,7 +17873,15 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17865
17873
|
children: /* @__PURE__ */ (0, import_jsx_runtime86.jsxs)("figure", { className: "flex w-full flex-col gap-base", children: [
|
|
17866
17874
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(QuoteMark, { size: 40 }),
|
|
17867
17875
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("blockquote", { className: "max-w-2xl text-body-lg text-ink", children: quote }),
|
|
17868
|
-
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("figcaption", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17876
|
+
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)("figcaption", { children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
17877
|
+
Attribution,
|
|
17878
|
+
{
|
|
17879
|
+
name,
|
|
17880
|
+
role,
|
|
17881
|
+
handle,
|
|
17882
|
+
avatarSrc
|
|
17883
|
+
}
|
|
17884
|
+
) })
|
|
17869
17885
|
] })
|
|
17870
17886
|
}
|
|
17871
17887
|
);
|
package/dist/index.js
CHANGED
|
@@ -17639,12 +17639,17 @@ function QuoteMark({ size = 40 }) {
|
|
|
17639
17639
|
}
|
|
17640
17640
|
function Attribution({
|
|
17641
17641
|
name,
|
|
17642
|
+
role,
|
|
17642
17643
|
handle,
|
|
17643
17644
|
avatarSrc
|
|
17644
17645
|
}) {
|
|
17646
|
+
const secondary = role ?? handle;
|
|
17645
17647
|
return /* @__PURE__ */ jsxs83("div", { className: "flex items-center gap-sm", children: [
|
|
17646
|
-
/* @__PURE__ */ jsx86(Avatar, { src: avatarSrc, name, size: "
|
|
17647
|
-
/* @__PURE__ */
|
|
17648
|
+
/* @__PURE__ */ jsx86(Avatar, { src: avatarSrc, name, size: "sm" }),
|
|
17649
|
+
/* @__PURE__ */ jsxs83("span", { className: "flex min-w-0 flex-col", children: [
|
|
17650
|
+
/* @__PURE__ */ jsx86("span", { className: "truncate text-label text-ink", children: name }),
|
|
17651
|
+
secondary ? /* @__PURE__ */ jsx86("span", { className: "truncate text-caption text-muted", children: secondary }) : null
|
|
17652
|
+
] })
|
|
17648
17653
|
] });
|
|
17649
17654
|
}
|
|
17650
17655
|
var TestimonialBlock = React87.forwardRef(
|
|
@@ -17652,6 +17657,7 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17652
17657
|
layout = "quote",
|
|
17653
17658
|
quote = DEFAULT_QUOTE,
|
|
17654
17659
|
name = "Alistair Chen",
|
|
17660
|
+
role,
|
|
17655
17661
|
handle = "@alistair.codes",
|
|
17656
17662
|
avatarSrc,
|
|
17657
17663
|
testimonials = DEFAULT_TESTIMONIALS,
|
|
@@ -17706,9 +17712,10 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17706
17712
|
children: testimonials.map((item) => /* @__PURE__ */ jsxs83(
|
|
17707
17713
|
"li",
|
|
17708
17714
|
{
|
|
17709
|
-
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm",
|
|
17715
|
+
className: "flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm transition duration-200 ease-out hover:-translate-y-xs hover:shadow-card motion-reduce:transform-none",
|
|
17710
17716
|
children: [
|
|
17711
17717
|
/* @__PURE__ */ jsxs83("div", { className: "flex flex-col gap-sm", children: [
|
|
17718
|
+
item.highlight ? /* @__PURE__ */ jsx86("p", { className: "text-label text-primary-ink", children: item.highlight }) : null,
|
|
17712
17719
|
/* @__PURE__ */ jsx86(QuoteMark, { size: 30 }),
|
|
17713
17720
|
/* @__PURE__ */ jsx86("blockquote", { className: "text-body-lg text-ink", children: item.quote })
|
|
17714
17721
|
] }),
|
|
@@ -17716,13 +17723,14 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17716
17723
|
Attribution,
|
|
17717
17724
|
{
|
|
17718
17725
|
name: item.name,
|
|
17726
|
+
role: item.role,
|
|
17719
17727
|
handle: item.handle,
|
|
17720
17728
|
avatarSrc: item.avatarSrc
|
|
17721
17729
|
}
|
|
17722
17730
|
)
|
|
17723
17731
|
]
|
|
17724
17732
|
},
|
|
17725
|
-
item.name
|
|
17733
|
+
item.id ?? item.name
|
|
17726
17734
|
))
|
|
17727
17735
|
}
|
|
17728
17736
|
)
|
|
@@ -17739,7 +17747,15 @@ var TestimonialBlock = React87.forwardRef(
|
|
|
17739
17747
|
children: /* @__PURE__ */ jsxs83("figure", { className: "flex w-full flex-col gap-base", children: [
|
|
17740
17748
|
/* @__PURE__ */ jsx86(QuoteMark, { size: 40 }),
|
|
17741
17749
|
/* @__PURE__ */ jsx86("blockquote", { className: "max-w-2xl text-body-lg text-ink", children: quote }),
|
|
17742
|
-
/* @__PURE__ */ jsx86("figcaption", { children: /* @__PURE__ */ jsx86(
|
|
17750
|
+
/* @__PURE__ */ jsx86("figcaption", { children: /* @__PURE__ */ jsx86(
|
|
17751
|
+
Attribution,
|
|
17752
|
+
{
|
|
17753
|
+
name,
|
|
17754
|
+
role,
|
|
17755
|
+
handle,
|
|
17756
|
+
avatarSrc
|
|
17757
|
+
}
|
|
17758
|
+
) })
|
|
17743
17759
|
] })
|
|
17744
17760
|
}
|
|
17745
17761
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@designa8/vibedesign-supabase-deepseek-image-v1-2-176b",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Complete design system \"My Project supabase-deepseek-image-v1\" generated by Atoms Design.",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -6,12 +6,18 @@ import { Icon } from "../Icon";
|
|
|
6
6
|
export type TestimonialBlockLayout = "quote" | "grid" | "logos";
|
|
7
7
|
|
|
8
8
|
export interface TestimonialItem {
|
|
9
|
+
/** Stable key for the item. Falls back to `name` when omitted. */
|
|
10
|
+
id?: string;
|
|
9
11
|
/** The quote itself. */
|
|
10
12
|
quote: string;
|
|
11
|
-
/** Person name —
|
|
13
|
+
/** Person name — printed as the first attribution line and used for the initials fallback. */
|
|
12
14
|
name: string;
|
|
13
|
-
/**
|
|
15
|
+
/** Job title or company, printed as the second attribution line. */
|
|
16
|
+
role?: string;
|
|
17
|
+
/** Public handle, printed as the second attribution line when no `role` is given. */
|
|
14
18
|
handle?: string;
|
|
19
|
+
/** Optional short metric line rendered above the quote mark, e.g. "p95 down 61%". */
|
|
20
|
+
highlight?: string;
|
|
15
21
|
/** Optional photo URL. Falls back to initials. */
|
|
16
22
|
avatarSrc?: string;
|
|
17
23
|
}
|
|
@@ -30,6 +36,8 @@ export interface TestimonialBlockProps
|
|
|
30
36
|
quote?: string;
|
|
31
37
|
/** Author name for the `quote` layout. */
|
|
32
38
|
name?: string;
|
|
39
|
+
/** Author role for the `quote` layout. Takes precedence over `handle`. */
|
|
40
|
+
role?: string;
|
|
33
41
|
/** Author handle for the `quote` layout. */
|
|
34
42
|
handle?: string;
|
|
35
43
|
/** Author photo for the `quote` layout. */
|
|
@@ -84,13 +92,22 @@ function QuoteMark({ size = 40 }: { size?: number }) {
|
|
|
84
92
|
|
|
85
93
|
function Attribution({
|
|
86
94
|
name,
|
|
95
|
+
role,
|
|
87
96
|
handle,
|
|
88
97
|
avatarSrc,
|
|
89
|
-
}: Pick<TestimonialItem, "name" | "handle" | "avatarSrc">) {
|
|
98
|
+
}: Pick<TestimonialItem, "name" | "role" | "handle" | "avatarSrc">) {
|
|
99
|
+
/** Role wins; a bare handle is the fallback; nothing means a single line. */
|
|
100
|
+
const secondary = role ?? handle;
|
|
101
|
+
|
|
90
102
|
return (
|
|
91
103
|
<div className="flex items-center gap-sm">
|
|
92
|
-
<Avatar src={avatarSrc} name={name} size="
|
|
93
|
-
<span className="
|
|
104
|
+
<Avatar src={avatarSrc} name={name} size="sm" />
|
|
105
|
+
<span className="flex min-w-0 flex-col">
|
|
106
|
+
<span className="truncate text-label text-ink">{name}</span>
|
|
107
|
+
{secondary ? (
|
|
108
|
+
<span className="truncate text-caption text-muted">{secondary}</span>
|
|
109
|
+
) : null}
|
|
110
|
+
</span>
|
|
94
111
|
</div>
|
|
95
112
|
);
|
|
96
113
|
}
|
|
@@ -104,6 +121,7 @@ export const TestimonialBlock = React.forwardRef<
|
|
|
104
121
|
layout = "quote",
|
|
105
122
|
quote = DEFAULT_QUOTE,
|
|
106
123
|
name = "Alistair Chen",
|
|
124
|
+
role,
|
|
107
125
|
handle = "@alistair.codes",
|
|
108
126
|
avatarSrc,
|
|
109
127
|
testimonials = DEFAULT_TESTIMONIALS,
|
|
@@ -164,10 +182,15 @@ export const TestimonialBlock = React.forwardRef<
|
|
|
164
182
|
>
|
|
165
183
|
{testimonials.map((item) => (
|
|
166
184
|
<li
|
|
167
|
-
key={item.name}
|
|
168
|
-
className="flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm"
|
|
185
|
+
key={item.id ?? item.name}
|
|
186
|
+
className="flex flex-col justify-between gap-lg rounded-lg border border-hairline bg-surface p-lg shadow-sm transition duration-200 ease-out hover:-translate-y-xs hover:shadow-card motion-reduce:transform-none"
|
|
169
187
|
>
|
|
170
188
|
<div className="flex flex-col gap-sm">
|
|
189
|
+
{item.highlight ? (
|
|
190
|
+
<p className="text-label text-primary-ink">
|
|
191
|
+
{item.highlight}
|
|
192
|
+
</p>
|
|
193
|
+
) : null}
|
|
171
194
|
<QuoteMark size={30} />
|
|
172
195
|
<blockquote className="text-body-lg text-ink">
|
|
173
196
|
{item.quote}
|
|
@@ -175,6 +198,7 @@ export const TestimonialBlock = React.forwardRef<
|
|
|
175
198
|
</div>
|
|
176
199
|
<Attribution
|
|
177
200
|
name={item.name}
|
|
201
|
+
role={item.role}
|
|
178
202
|
handle={item.handle}
|
|
179
203
|
avatarSrc={item.avatarSrc}
|
|
180
204
|
/>
|
|
@@ -198,7 +222,12 @@ export const TestimonialBlock = React.forwardRef<
|
|
|
198
222
|
{quote}
|
|
199
223
|
</blockquote>
|
|
200
224
|
<figcaption>
|
|
201
|
-
<Attribution
|
|
225
|
+
<Attribution
|
|
226
|
+
name={name}
|
|
227
|
+
role={role}
|
|
228
|
+
handle={handle}
|
|
229
|
+
avatarSrc={avatarSrc}
|
|
230
|
+
/>
|
|
202
231
|
</figcaption>
|
|
203
232
|
</figure>
|
|
204
233
|
</section>
|
|
@@ -19,7 +19,15 @@ function Row({
|
|
|
19
19
|
export default function Preview() {
|
|
20
20
|
return (
|
|
21
21
|
<div className="mx-auto flex w-full max-w-4xl flex-col gap-xxl p-lg">
|
|
22
|
-
<Row label="Quote with
|
|
22
|
+
<Row label="Quote with name and role">
|
|
23
|
+
<TestimonialBlock
|
|
24
|
+
layout="quote"
|
|
25
|
+
name="Alistair Chen"
|
|
26
|
+
role="Staff Engineer, Northwind"
|
|
27
|
+
/>
|
|
28
|
+
</Row>
|
|
29
|
+
|
|
30
|
+
<Row label="Quote with a handle instead of a role">
|
|
23
31
|
<TestimonialBlock layout="quote" />
|
|
24
32
|
</Row>
|
|
25
33
|
|
|
@@ -27,8 +35,40 @@ export default function Preview() {
|
|
|
27
35
|
<TestimonialBlock layout="logos" />
|
|
28
36
|
</Row>
|
|
29
37
|
|
|
30
|
-
<Row label="
|
|
31
|
-
<TestimonialBlock
|
|
38
|
+
<Row label="Grid cards with roles and a highlight metric">
|
|
39
|
+
<TestimonialBlock
|
|
40
|
+
layout="grid"
|
|
41
|
+
columns={2}
|
|
42
|
+
testimonials={[
|
|
43
|
+
{
|
|
44
|
+
id: "quote-shevlin",
|
|
45
|
+
quote: "They let us ship our product in days, not months.",
|
|
46
|
+
name: "Kyle Shevlin",
|
|
47
|
+
role: "Principal Engineer",
|
|
48
|
+
highlight: "p95 down 61%",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: "quote-dayan",
|
|
52
|
+
quote:
|
|
53
|
+
"The developer experience is incredible. Auth, database and realtime just work.",
|
|
54
|
+
name: "Sarah Dayan",
|
|
55
|
+
role: "Head of Platform",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
id: "quote-iverson",
|
|
59
|
+
quote: "Auth and storage were wired up before lunch.",
|
|
60
|
+
name: "Mara Iverson",
|
|
61
|
+
handle: "@mara",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: "quote-okafor",
|
|
65
|
+
quote: "Realtime subscriptions just worked on the first try.",
|
|
66
|
+
name: "Ines Okafor",
|
|
67
|
+
role: "Founding Engineer",
|
|
68
|
+
highlight: "ship time cut in half",
|
|
69
|
+
},
|
|
70
|
+
]}
|
|
71
|
+
/>
|
|
32
72
|
</Row>
|
|
33
73
|
|
|
34
74
|
<Row label="Three-up quotes">
|