@designa8/vibedesign-v6 2.2.3 → 2.2.5

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 **2.2.3**.
3
+ Complete design system generated by Atoms Design, version **2.2.5**.
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
@@ -5336,8 +5336,7 @@ var AppSidebarMobile = import_react18.default.forwardRef(
5336
5336
  workspaceName && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
5337
5337
  WorkspaceMenu,
5338
5338
  {
5339
- workspaceName,
5340
- initials: workspaceName.charAt(0).toUpperCase()
5339
+ workspaceName
5341
5340
  }
5342
5341
  ),
5343
5342
  /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("ul", { className: "space-y-xxs", role: "list", children: entries.map((entry) => {
package/dist/index.js CHANGED
@@ -5242,8 +5242,7 @@ var AppSidebarMobile = React19.forwardRef(
5242
5242
  workspaceName && /* @__PURE__ */ jsx19(
5243
5243
  WorkspaceMenu,
5244
5244
  {
5245
- workspaceName,
5246
- initials: workspaceName.charAt(0).toUpperCase()
5245
+ workspaceName
5247
5246
  }
5248
5247
  ),
5249
5248
  /* @__PURE__ */ jsx19("ul", { className: "space-y-xxs", role: "list", children: entries.map((entry) => {
package/dist/styles.css CHANGED
@@ -1,4 +1,18 @@
1
- @import url("https://fonts.googleapis.com/css2?family=Plus%20Jakarta%20Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
1
+ /* Bundled local fonts */
2
+ @font-face {
3
+ font-family: "Plus Jakarta Sans";
4
+ font-style: italic;
5
+ font-weight: 100 900;
6
+ font-display: swap;
7
+ src: url("./fonts/plusjakartasans/PlusJakartaSans-Italic%5Bwght%5D.ttf") format("truetype");
8
+ }
9
+ @font-face {
10
+ font-family: "Plus Jakarta Sans";
11
+ font-style: normal;
12
+ font-weight: 100 900;
13
+ font-display: swap;
14
+ src: url("./fonts/plusjakartasans/PlusJakartaSans%5Bwght%5D.ttf") format("truetype");
15
+ }
2
16
 
3
17
  /*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
4
18
  @layer properties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@designa8/vibedesign-v6",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
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",
@@ -29,7 +29,7 @@ export interface NavEntry {
29
29
  alwaysExpanded?: boolean;
30
30
  }
31
31
 
32
- export interface AppSidebarProps extends React.HTMLAttributes<HTMLElement> {
32
+ export interface AppSidebarProps extends Omit<React.HTMLAttributes<HTMLElement>, "onSelect"> {
33
33
  /**
34
34
  * Brand / product name displayed in the header when the sidebar is expanded.
35
35
  * If omitted the default logo icon is shown without a title.
@@ -279,7 +279,10 @@ function AccountMenu({ userInitials, userEmail, onLogout, onSettings }: AccountM
279
279
  /** Fallback for when `transitionend` never fires (reduced motion, no animation). */
280
280
  const WIDTH_TRANSITION_FALLBACK_MS = 180;
281
281
 
282
- export const AppSidebar = React.forwardRef<HTMLElement, AppSidebarProps>(
282
+ export const AppSidebar = React.forwardRef<
283
+ HTMLElement,
284
+ AppSidebarProps
285
+ >(
283
286
  (
284
287
  {
285
288
  brandName,
@@ -312,7 +315,7 @@ export const AppSidebar = React.forwardRef<HTMLElement, AppSidebarProps>(
312
315
  children,
313
316
  className,
314
317
  ...rest
315
- },
318
+ }: AppSidebarProps,
316
319
  ref,
317
320
  ) => {
318
321
  /* ── Collapse state (drives the WIDTH class only) ── */
@@ -429,7 +432,7 @@ export const AppSidebar = React.forwardRef<HTMLElement, AppSidebarProps>(
429
432
  ]
430
433
  .filter(Boolean)
431
434
  .join(" ")}
432
- {...(rest as React.HTMLAttributes<HTMLElement>)}
435
+ {...(rest as Omit<React.HTMLAttributes<HTMLElement>, "onSelect">)}
433
436
  >
434
437
  {/* ── Header: logo / brand name + collapse toggle ── */}
435
438
  <div
@@ -1,2 +1,2 @@
1
1
  export { AppSidebar } from "./AppSidebar";
2
- export type { AppSidebarProps } from "./AppSidebar";
2
+ export type { AppSidebarProps, NavEntry, NavSubItem } from "./AppSidebar";
@@ -232,7 +232,6 @@ export const AppSidebarMobile = React.forwardRef<HTMLElement, AppSidebarMobilePr
232
232
  {workspaceName && (
233
233
  <WorkspaceMenu
234
234
  workspaceName={workspaceName}
235
- initials={workspaceName.charAt(0).toUpperCase()}
236
235
  />
237
236
  )}
238
237
 
@@ -3,7 +3,7 @@ import { Modal } from "../Modal";
3
3
  import { Button } from "../Button";
4
4
  import { Chip } from "../Chip";
5
5
  import { Typography } from "../Typography";
6
- import { Icon } from "../Icon";
6
+ import { Icon, type IconName } from "../Icon";
7
7
 
8
8
  export type ExportDesignMdSource = "production" | "local";
9
9
 
@@ -76,7 +76,7 @@ const defaultLines: ExportDesignMdLine[] = [
76
76
 
77
77
  const SOURCE_INFO: Record<
78
78
  ExportDesignMdSource,
79
- { icon: string; title: string; description: string; helper: string }
79
+ { icon: IconName; title: string; description: string; helper: string }
80
80
  > = {
81
81
  production: {
82
82
  icon: "cloud",
@@ -475,7 +475,7 @@ const SuggestionMarquee: React.FC<SuggestionMarqueeProps> = ({ suggestions, onCh
475
475
  scrubBy(-delta);
476
476
  };
477
477
 
478
- const renderRow = (items: string[], trackRef: React.RefObject<HTMLDivElement>) => (
478
+ const renderRow = (items: string[], trackRef: React.RefObject<HTMLDivElement | null>) => (
479
479
  <div
480
480
  ref={trackRef}
481
481
  className="flex w-max gap-sm px-md hpt-marquee-track"
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { createPortal } from "react-dom";
3
3
  import { Button } from "../Button";
4
- import { Icon } from "../Icon";
4
+ import { Icon, type IconName } from "../Icon";
5
5
 
6
6
  export interface MenuItem {
7
7
  /** Stable identifier, also used as the React key */
@@ -9,7 +9,7 @@ export interface MenuItem {
9
9
  /** Visible label */
10
10
  label: string;
11
11
  /** Optional icon name resolved through the shared Icon atom, rendered as a leading prefix */
12
- icon?: string;
12
+ icon?: IconName;
13
13
  /** Called when the item is chosen (click or Enter/Space while focused) */
14
14
  onSelect?: () => void;
15
15
  /** Disables the item */
@@ -40,7 +40,7 @@ export interface DrawerUpgrade {
40
40
  }
41
41
 
42
42
  export interface MobileActionsDrawerProps
43
- extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
43
+ extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onSelect" | "onToggle"> {
44
44
  open: boolean;
45
45
  onOpenChange: (open: boolean) => void;
46
46
  projectName?: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Icon } from "../Icon";
2
+ import { Icon, type IconName } from "../Icon";
3
3
 
4
4
  export interface PreviewDockProps {
5
5
  /** Label shown under the viewport icon, e.g. "Desktop" or "Mobile". Defaults to "Desktop". */
@@ -16,7 +16,7 @@ export interface PreviewDockProps {
16
16
  }
17
17
 
18
18
  interface DockActionProps {
19
- icon: string;
19
+ icon: IconName;
20
20
  label: string;
21
21
  active: boolean;
22
22
  onClick?: () => void;
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { Typography } from "../Typography";
3
3
  import { Button } from "../Button";
4
- import { Icon } from "../Icon";
4
+ import { Icon, type IconName } from "../Icon";
5
5
 
6
6
  interface Swatch {
7
7
  label: string;
@@ -116,7 +116,7 @@ export interface TemplateHeroProps extends React.HTMLAttributes<HTMLDivElement>
116
116
  * - a string — renders `Icon` with that name (e.g. "grid") instead.
117
117
  * - `null` — renders the primary CTA with no leading icon, label only.
118
118
  */
119
- buyIcon?: string | null;
119
+ buyIcon?: IconName | null;
120
120
  /** Secondary CTA label */
121
121
  previewLabel?: string;
122
122
  /**
@@ -1,6 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { Button } from "../Button";
3
- import { Icon } from "../Icon";
3
+ import { Icon, type IconName } from "../Icon";
4
4
 
5
5
  export type ToastTone = "success" | "error" | "info" | "warning";
6
6
 
@@ -32,7 +32,7 @@ export interface ToastStackProps
32
32
 
33
33
  const TONE: Record<
34
34
  ToastTone,
35
- { icon: string; tile: string; glyph: string; rail: string; border: string }
35
+ { icon: IconName; tile: string; glyph: string; rail: string; border: string }
36
36
  > = {
37
37
  success: {
38
38
  icon: "check-checkmark",
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { Icon } from "../Icon";
2
+ import { Icon, type IconName } from "../Icon";
3
3
 
4
4
  export interface UpgradeCardCredits {
5
5
  /** Credits remaining */
@@ -17,7 +17,7 @@ export interface UpgradeCardProps
17
17
  /** Muted supporting text beneath the title */
18
18
  subtitle?: string;
19
19
  /** Icon rendered inside the tinted badge */
20
- iconName?: string;
20
+ iconName?: IconName;
21
21
  /** When provided, renders the credits-left block under the header row */
22
22
  credits?: UpgradeCardCredits;
23
23
  /** Fraction of total at or below which the meter switches to the warning recipe. Default 0.1 */