@designa8/vibedesign-v6 1.20.18 → 1.20.19

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
  # @plasma/vibedesign-v6
2
2
 
3
- Complete design system generated by Atoms Design, version **1.20.18**.
3
+ Complete design system generated by Atoms Design, version **1.20.19**.
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
@@ -250,66 +250,6 @@ function relativeTime(isoDate) {
250
250
  function getVersionLabel(item) {
251
251
  return typeof item === "string" ? item : item.version;
252
252
  }
253
- var ChevronIcon = ({ open }) => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
254
- "svg",
255
- {
256
- "aria-hidden": "true",
257
- viewBox: "0 0 24 24",
258
- fill: "none",
259
- stroke: "currentColor",
260
- strokeWidth: "2.5",
261
- strokeLinecap: "round",
262
- strokeLinejoin: "round",
263
- style: {
264
- width: "13px",
265
- height: "13px",
266
- flexShrink: 0,
267
- transition: "transform 150ms ease",
268
- transform: open ? "rotate(180deg)" : "rotate(0deg)"
269
- },
270
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "6 9 12 15 18 9" })
271
- }
272
- );
273
- var SunIcon = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
274
- "svg",
275
- {
276
- "aria-hidden": "true",
277
- viewBox: "0 0 24 24",
278
- fill: "none",
279
- stroke: "currentColor",
280
- strokeWidth: "2",
281
- strokeLinecap: "round",
282
- strokeLinejoin: "round",
283
- width: "16",
284
- height: "16",
285
- children: [
286
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("circle", { cx: "12", cy: "12", r: "5" }),
287
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "12", y1: "1", x2: "12", y2: "3" }),
288
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "12", y1: "21", x2: "12", y2: "23" }),
289
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "4.22", y1: "4.22", x2: "5.64", y2: "5.64" }),
290
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "18.36", y1: "18.36", x2: "19.78", y2: "19.78" }),
291
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "1", y1: "12", x2: "3", y2: "12" }),
292
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "21", y1: "12", x2: "23", y2: "12" }),
293
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
294
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
295
- ]
296
- }
297
- );
298
- var MoonIcon = () => /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
299
- "svg",
300
- {
301
- "aria-hidden": "true",
302
- viewBox: "0 0 24 24",
303
- fill: "none",
304
- stroke: "currentColor",
305
- strokeWidth: "2",
306
- strokeLinecap: "round",
307
- strokeLinejoin: "round",
308
- width: "16",
309
- height: "16",
310
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" })
311
- }
312
- );
313
253
  var VersionDropdown = ({
314
254
  versions,
315
255
  selected,
@@ -350,7 +290,14 @@ var VersionDropdown = ({
350
290
  style: { minWidth: "120px" },
351
291
  children: [
352
292
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "flex-1 text-left truncate text-body-sm font-weight-heading-sm", children: selected }),
353
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ChevronIcon, { open })
293
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
294
+ Icon,
295
+ {
296
+ name: "chevron-down",
297
+ className: "size-3.5 shrink-0 transition-transform duration-150",
298
+ style: { transform: open ? "rotate(180deg)" : "rotate(0deg)" }
299
+ }
300
+ )
354
301
  ]
355
302
  }
356
303
  ),
@@ -439,50 +386,11 @@ var TopNavbar = import_react2.default.forwardRef(
439
386
  ...rest,
440
387
  children: [
441
388
  onExport && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Button, { variant: "secondary", size: "sm", onClick: onExport, "aria-label": "Export DESIGN.md", children: [
442
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
443
- "svg",
444
- {
445
- "aria-hidden": "true",
446
- width: "15",
447
- height: "15",
448
- viewBox: "0 0 24 24",
449
- fill: "none",
450
- stroke: "currentColor",
451
- strokeWidth: "2",
452
- strokeLinecap: "round",
453
- strokeLinejoin: "round",
454
- className: "shrink-0",
455
- children: [
456
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
457
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "14 2 14 8 20 8" }),
458
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
459
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "16", y1: "17", x2: "8", y2: "17" })
460
- ]
461
- }
462
- ),
389
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: "file-document", className: "size-3.5 shrink-0" }),
463
390
  "Export DESIGN.md"
464
391
  ] }),
465
392
  onPublish && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(Button, { variant: "secondary", size: "sm", onClick: onPublish, "aria-label": "Publish", children: [
466
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
467
- "svg",
468
- {
469
- "aria-hidden": "true",
470
- width: "15",
471
- height: "15",
472
- viewBox: "0 0 24 24",
473
- fill: "none",
474
- stroke: "currentColor",
475
- strokeWidth: "2",
476
- strokeLinecap: "round",
477
- strokeLinejoin: "round",
478
- className: "shrink-0",
479
- children: [
480
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("polyline", { points: "16 16 12 12 8 16" }),
481
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("line", { x1: "12", y1: "12", x2: "12", y2: "21" }),
482
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" })
483
- ]
484
- }
485
- ),
393
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: "arrow-up-send", className: "size-3.5 shrink-0" }),
486
394
  "Publish"
487
395
  ] }),
488
396
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
@@ -506,10 +414,10 @@ var TopNavbar = import_react2.default.forwardRef(
506
414
  "aria-label": darkMode ? "Switch to light mode" : "Switch to dark mode",
507
415
  "aria-pressed": darkMode,
508
416
  className: "!px-xs !py-xs",
509
- children: darkMode ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(SunIcon, {}) : /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(MoonIcon, {})
417
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Icon, { name: darkMode ? "sun-light-mode" : "moon-dark-mode", className: "size-4" })
510
418
  }
511
419
  ),
512
- onShare && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "primary", size: "sm", onClick: onShare, children: "Share" }),
420
+ onShare && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Button, { variant: "primary", size: "sm", onClick: onShare, "aria-label": "Upgrade", children: "Upgrade" }),
513
421
  /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
514
422
  "span",
515
423
  {
package/dist/index.js CHANGED
@@ -183,66 +183,6 @@ function relativeTime(isoDate) {
183
183
  function getVersionLabel(item) {
184
184
  return typeof item === "string" ? item : item.version;
185
185
  }
186
- var ChevronIcon = ({ open }) => /* @__PURE__ */ jsx3(
187
- "svg",
188
- {
189
- "aria-hidden": "true",
190
- viewBox: "0 0 24 24",
191
- fill: "none",
192
- stroke: "currentColor",
193
- strokeWidth: "2.5",
194
- strokeLinecap: "round",
195
- strokeLinejoin: "round",
196
- style: {
197
- width: "13px",
198
- height: "13px",
199
- flexShrink: 0,
200
- transition: "transform 150ms ease",
201
- transform: open ? "rotate(180deg)" : "rotate(0deg)"
202
- },
203
- children: /* @__PURE__ */ jsx3("polyline", { points: "6 9 12 15 18 9" })
204
- }
205
- );
206
- var SunIcon = () => /* @__PURE__ */ jsxs2(
207
- "svg",
208
- {
209
- "aria-hidden": "true",
210
- viewBox: "0 0 24 24",
211
- fill: "none",
212
- stroke: "currentColor",
213
- strokeWidth: "2",
214
- strokeLinecap: "round",
215
- strokeLinejoin: "round",
216
- width: "16",
217
- height: "16",
218
- children: [
219
- /* @__PURE__ */ jsx3("circle", { cx: "12", cy: "12", r: "5" }),
220
- /* @__PURE__ */ jsx3("line", { x1: "12", y1: "1", x2: "12", y2: "3" }),
221
- /* @__PURE__ */ jsx3("line", { x1: "12", y1: "21", x2: "12", y2: "23" }),
222
- /* @__PURE__ */ jsx3("line", { x1: "4.22", y1: "4.22", x2: "5.64", y2: "5.64" }),
223
- /* @__PURE__ */ jsx3("line", { x1: "18.36", y1: "18.36", x2: "19.78", y2: "19.78" }),
224
- /* @__PURE__ */ jsx3("line", { x1: "1", y1: "12", x2: "3", y2: "12" }),
225
- /* @__PURE__ */ jsx3("line", { x1: "21", y1: "12", x2: "23", y2: "12" }),
226
- /* @__PURE__ */ jsx3("line", { x1: "4.22", y1: "19.78", x2: "5.64", y2: "18.36" }),
227
- /* @__PURE__ */ jsx3("line", { x1: "18.36", y1: "5.64", x2: "19.78", y2: "4.22" })
228
- ]
229
- }
230
- );
231
- var MoonIcon = () => /* @__PURE__ */ jsx3(
232
- "svg",
233
- {
234
- "aria-hidden": "true",
235
- viewBox: "0 0 24 24",
236
- fill: "none",
237
- stroke: "currentColor",
238
- strokeWidth: "2",
239
- strokeLinecap: "round",
240
- strokeLinejoin: "round",
241
- width: "16",
242
- height: "16",
243
- children: /* @__PURE__ */ jsx3("path", { d: "M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" })
244
- }
245
- );
246
186
  var VersionDropdown = ({
247
187
  versions,
248
188
  selected,
@@ -283,7 +223,14 @@ var VersionDropdown = ({
283
223
  style: { minWidth: "120px" },
284
224
  children: [
285
225
  /* @__PURE__ */ jsx3("span", { className: "flex-1 text-left truncate text-body-sm font-weight-heading-sm", children: selected }),
286
- /* @__PURE__ */ jsx3(ChevronIcon, { open })
226
+ /* @__PURE__ */ jsx3(
227
+ Icon,
228
+ {
229
+ name: "chevron-down",
230
+ className: "size-3.5 shrink-0 transition-transform duration-150",
231
+ style: { transform: open ? "rotate(180deg)" : "rotate(0deg)" }
232
+ }
233
+ )
287
234
  ]
288
235
  }
289
236
  ),
@@ -372,50 +319,11 @@ var TopNavbar = React3.forwardRef(
372
319
  ...rest,
373
320
  children: [
374
321
  onExport && /* @__PURE__ */ jsxs2(Button, { variant: "secondary", size: "sm", onClick: onExport, "aria-label": "Export DESIGN.md", children: [
375
- /* @__PURE__ */ jsxs2(
376
- "svg",
377
- {
378
- "aria-hidden": "true",
379
- width: "15",
380
- height: "15",
381
- viewBox: "0 0 24 24",
382
- fill: "none",
383
- stroke: "currentColor",
384
- strokeWidth: "2",
385
- strokeLinecap: "round",
386
- strokeLinejoin: "round",
387
- className: "shrink-0",
388
- children: [
389
- /* @__PURE__ */ jsx3("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" }),
390
- /* @__PURE__ */ jsx3("polyline", { points: "14 2 14 8 20 8" }),
391
- /* @__PURE__ */ jsx3("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
392
- /* @__PURE__ */ jsx3("line", { x1: "16", y1: "17", x2: "8", y2: "17" })
393
- ]
394
- }
395
- ),
322
+ /* @__PURE__ */ jsx3(Icon, { name: "file-document", className: "size-3.5 shrink-0" }),
396
323
  "Export DESIGN.md"
397
324
  ] }),
398
325
  onPublish && /* @__PURE__ */ jsxs2(Button, { variant: "secondary", size: "sm", onClick: onPublish, "aria-label": "Publish", children: [
399
- /* @__PURE__ */ jsxs2(
400
- "svg",
401
- {
402
- "aria-hidden": "true",
403
- width: "15",
404
- height: "15",
405
- viewBox: "0 0 24 24",
406
- fill: "none",
407
- stroke: "currentColor",
408
- strokeWidth: "2",
409
- strokeLinecap: "round",
410
- strokeLinejoin: "round",
411
- className: "shrink-0",
412
- children: [
413
- /* @__PURE__ */ jsx3("polyline", { points: "16 16 12 12 8 16" }),
414
- /* @__PURE__ */ jsx3("line", { x1: "12", y1: "12", x2: "12", y2: "21" }),
415
- /* @__PURE__ */ jsx3("path", { d: "M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" })
416
- ]
417
- }
418
- ),
326
+ /* @__PURE__ */ jsx3(Icon, { name: "arrow-up-send", className: "size-3.5 shrink-0" }),
419
327
  "Publish"
420
328
  ] }),
421
329
  /* @__PURE__ */ jsx3(
@@ -439,10 +347,10 @@ var TopNavbar = React3.forwardRef(
439
347
  "aria-label": darkMode ? "Switch to light mode" : "Switch to dark mode",
440
348
  "aria-pressed": darkMode,
441
349
  className: "!px-xs !py-xs",
442
- children: darkMode ? /* @__PURE__ */ jsx3(SunIcon, {}) : /* @__PURE__ */ jsx3(MoonIcon, {})
350
+ children: /* @__PURE__ */ jsx3(Icon, { name: darkMode ? "sun-light-mode" : "moon-dark-mode", className: "size-4" })
443
351
  }
444
352
  ),
445
- onShare && /* @__PURE__ */ jsx3(Button, { variant: "primary", size: "sm", onClick: onShare, children: "Share" }),
353
+ onShare && /* @__PURE__ */ jsx3(Button, { variant: "primary", size: "sm", onClick: onShare, "aria-label": "Upgrade", children: "Upgrade" }),
446
354
  /* @__PURE__ */ jsx3(
447
355
  "span",
448
356
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-v6",
3
- "version": "1.20.18",
3
+ "version": "1.20.19",
4
4
  "description": "Complete design system \"Plasma Design System\" generated by Atoms Design.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { Button } from "../Button";
3
+ import { Icon } from "../Icon";
3
4
  import { WorkspaceMenu } from "../WorkspaceMenu";
4
5
 
5
6
  // ---------------------------------------------------------------------------
@@ -42,73 +43,6 @@ function getVersionLabel(item: VersionItem): string {
42
43
  return typeof item === "string" ? item : item.version;
43
44
  }
44
45
 
45
- // ---------------------------------------------------------------------------
46
- // Shared icon sub-components (inline SVGs, matching WorkspaceMenu's style)
47
- // ---------------------------------------------------------------------------
48
-
49
- const ChevronIcon = ({ open }: { open: boolean }) => (
50
- <svg
51
- aria-hidden="true"
52
- viewBox="0 0 24 24"
53
- fill="none"
54
- stroke="currentColor"
55
- strokeWidth="2.5"
56
- strokeLinecap="round"
57
- strokeLinejoin="round"
58
- style={{
59
- width: "13px",
60
- height: "13px",
61
- flexShrink: 0,
62
- transition: "transform 150ms ease",
63
- transform: open ? "rotate(180deg)" : "rotate(0deg)",
64
- }}
65
- >
66
- <polyline points="6 9 12 15 18 9" />
67
- </svg>
68
- );
69
-
70
- // Sun icon — shown when dark mode is active (click to switch to light)
71
- const SunIcon = () => (
72
- <svg
73
- aria-hidden="true"
74
- viewBox="0 0 24 24"
75
- fill="none"
76
- stroke="currentColor"
77
- strokeWidth="2"
78
- strokeLinecap="round"
79
- strokeLinejoin="round"
80
- width="16"
81
- height="16"
82
- >
83
- <circle cx="12" cy="12" r="5" />
84
- <line x1="12" y1="1" x2="12" y2="3" />
85
- <line x1="12" y1="21" x2="12" y2="23" />
86
- <line x1="4.22" y1="4.22" x2="5.64" y2="5.64" />
87
- <line x1="18.36" y1="18.36" x2="19.78" y2="19.78" />
88
- <line x1="1" y1="12" x2="3" y2="12" />
89
- <line x1="21" y1="12" x2="23" y2="12" />
90
- <line x1="4.22" y1="19.78" x2="5.64" y2="18.36" />
91
- <line x1="18.36" y1="5.64" x2="19.78" y2="4.22" />
92
- </svg>
93
- );
94
-
95
- // Moon icon — shown when dark mode is inactive (click to switch to dark)
96
- const MoonIcon = () => (
97
- <svg
98
- aria-hidden="true"
99
- viewBox="0 0 24 24"
100
- fill="none"
101
- stroke="currentColor"
102
- strokeWidth="2"
103
- strokeLinecap="round"
104
- strokeLinejoin="round"
105
- width="16"
106
- height="16"
107
- >
108
- <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" />
109
- </svg>
110
- );
111
-
112
46
  // ---------------------------------------------------------------------------
113
47
  // VersionDropdown — styled & structured to match WorkspaceMenu's anatomy
114
48
  // ---------------------------------------------------------------------------
@@ -166,7 +100,11 @@ const VersionDropdown: React.FC<VersionDropdownProps> = ({
166
100
  <span className="flex-1 text-left truncate text-body-sm font-weight-heading-sm">
167
101
  {selected}
168
102
  </span>
169
- <ChevronIcon open={open} />
103
+ <Icon
104
+ name="chevron-down"
105
+ className="size-3.5 shrink-0 transition-transform duration-150"
106
+ style={{ transform: open ? "rotate(180deg)" : "rotate(0deg)" }}
107
+ />
170
108
  </Button>
171
109
 
172
110
  {/* Dropdown panel — matches WorkspaceMenu panel styling */}
@@ -250,7 +188,7 @@ export interface TopNavbarProps extends React.HTMLAttributes<HTMLElement> {
250
188
  onExport?: () => void;
251
189
  /** Called when "Publish" is clicked — button is only rendered when provided */
252
190
  onPublish?: () => void;
253
- /** Called when "Share" is clicked — button is only rendered when provided */
191
+ /** Called when "Upgrade" is clicked — button is only rendered when provided */
254
192
  onShare?: () => void;
255
193
  /** Called when a version is selected */
256
194
  onVersionChange?: (v: string) => void;
@@ -297,23 +235,7 @@ export const TopNavbar = React.forwardRef<HTMLElement, TopNavbarProps>(
297
235
  {/* Export DESIGN.md — only rendered when onExport is provided */}
298
236
  {onExport && (
299
237
  <Button variant="secondary" size="sm" onClick={onExport} aria-label="Export DESIGN.md">
300
- <svg
301
- aria-hidden="true"
302
- width="15"
303
- height="15"
304
- viewBox="0 0 24 24"
305
- fill="none"
306
- stroke="currentColor"
307
- strokeWidth="2"
308
- strokeLinecap="round"
309
- strokeLinejoin="round"
310
- className="shrink-0"
311
- >
312
- <path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z" />
313
- <polyline points="14 2 14 8 20 8" />
314
- <line x1="16" y1="13" x2="8" y2="13" />
315
- <line x1="16" y1="17" x2="8" y2="17" />
316
- </svg>
238
+ <Icon name="file-document" className="size-3.5 shrink-0" />
317
239
  Export DESIGN.md
318
240
  </Button>
319
241
  )}
@@ -321,22 +243,7 @@ export const TopNavbar = React.forwardRef<HTMLElement, TopNavbarProps>(
321
243
  {/* Publish — only rendered when onPublish is provided */}
322
244
  {onPublish && (
323
245
  <Button variant="secondary" size="sm" onClick={onPublish} aria-label="Publish">
324
- <svg
325
- aria-hidden="true"
326
- width="15"
327
- height="15"
328
- viewBox="0 0 24 24"
329
- fill="none"
330
- stroke="currentColor"
331
- strokeWidth="2"
332
- strokeLinecap="round"
333
- strokeLinejoin="round"
334
- className="shrink-0"
335
- >
336
- <polyline points="16 16 12 12 8 16" />
337
- <line x1="12" y1="12" x2="12" y2="21" />
338
- <path d="M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3" />
339
- </svg>
246
+ <Icon name="arrow-up-send" className="size-3.5 shrink-0" />
340
247
  Publish
341
248
  </Button>
342
249
  )}
@@ -362,14 +269,14 @@ export const TopNavbar = React.forwardRef<HTMLElement, TopNavbarProps>(
362
269
  aria-pressed={darkMode}
363
270
  className="!px-xs !py-xs"
364
271
  >
365
- {darkMode ? <SunIcon /> : <MoonIcon />}
272
+ <Icon name={darkMode ? "sun-light-mode" : "moon-dark-mode"} className="size-4" />
366
273
  </Button>
367
274
  )}
368
275
 
369
- {/* Share — only rendered when onShare is provided */}
276
+ {/* Upgrade — only rendered when onShare is provided */}
370
277
  {onShare && (
371
- <Button variant="primary" size="sm" onClick={onShare}>
372
- Share
278
+ <Button variant="primary" size="sm" onClick={onShare} aria-label="Upgrade">
279
+ Upgrade
373
280
  </Button>
374
281
  )}
375
282