@cytario/design 9.1.0 → 9.3.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/dist/index.d.ts CHANGED
@@ -19,7 +19,7 @@ type ButtonSize = "xs" | "sm" | "md" | "lg";
19
19
  type ButtonVariant = "primary" | "secondary" | "destructive" | "success" | "warning" | "info" | "neutral" | "outline" | "ghost";
20
20
 
21
21
  /** Union of every registered icon name. */
22
- type IconName = "AlertCircle" | "AlertTriangle" | "AlignCenter" | "AlignLeft" | "AlignRight" | "Archive" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowUpRight" | "Ban" | "Bookmark" | "BookmarkCheck" | "Braces" | "Building2" | "Calendar" | "Check" | "CheckCircle" | "CheckCircle2" | "ChevronDown" | "ChevronRight" | "ChevronUp" | "Circle" | "CircleDot" | "CircleSlash" | "Clock" | "Cloud" | "Columns2" | "Columns3" | "Copy" | "CreditCard" | "Database" | "Download" | "Edit" | "EllipsisVertical" | "ExternalLink" | "Eye" | "EyeOff" | "File" | "FileSearch" | "FileSpreadsheet" | "FilterX" | "Folder" | "FolderPlus" | "FolderTree" | "Fullscreen" | "Github" | "Grid2x2" | "Grid3x3" | "Heart" | "Image" | "ImageOff" | "Inbox" | "Info" | "KeyRound" | "Lasso" | "Layers" | "Layers2" | "LayoutDashboard" | "LayoutGrid" | "Linkedin" | "List" | "ListFilter" | "LogOut" | "Mail" | "MapPin" | "Maximize" | "Menu" | "Microscope" | "Minus" | "MoreVertical" | "Network" | "PanelLeftClose" | "PanelLeftOpen" | "PanelRightClose" | "PanelRightOpen" | "Pencil" | "Plug" | "Plus" | "Power" | "PowerOff" | "RefreshCw" | "RotateCcw" | "RotateCw" | "ScrollText" | "Search" | "SearchX" | "Send" | "Settings" | "Shield" | "ShieldCheck" | "Spline" | "Square" | "SquarePen" | "Star" | "Table" | "Tag" | "Trash2" | "Unplug" | "User" | "UserMinus" | "UserPlus" | "Users" | "UsersRound" | "X" | "XCircle" | "ZoomIn" | "ZoomOut";
22
+ type IconName = "AlertCircle" | "AlertTriangle" | "AlignCenter" | "AlignLeft" | "AlignRight" | "Archive" | "ArrowDown" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowUpRight" | "Ban" | "Bookmark" | "BookmarkCheck" | "Braces" | "Building2" | "Calendar" | "Check" | "CheckCircle" | "CheckCircle2" | "ChevronDown" | "ChevronRight" | "ChevronUp" | "Circle" | "CircleDot" | "CircleSlash" | "Clock" | "Cloud" | "Columns2" | "Columns3" | "Copy" | "CreditCard" | "Database" | "Download" | "Edit" | "EllipsisVertical" | "ExternalLink" | "Eye" | "EyeOff" | "File" | "FileSearch" | "FileSpreadsheet" | "FilterX" | "Folder" | "FolderPlus" | "FolderTree" | "Fullscreen" | "Github" | "Grid2x2" | "Grid3x3" | "Hand" | "Heart" | "Image" | "ImageOff" | "Inbox" | "Info" | "KeyRound" | "Lasso" | "Layers" | "Layers2" | "LayoutDashboard" | "LayoutGrid" | "Linkedin" | "List" | "ListFilter" | "LogOut" | "Mail" | "MapPin" | "Maximize" | "Menu" | "Microscope" | "Minus" | "MoreVertical" | "Move" | "Network" | "PanelLeftClose" | "PanelLeftOpen" | "PanelRightClose" | "PanelRightOpen" | "Pencil" | "Pentagon" | "Plug" | "Plus" | "Power" | "PowerOff" | "RefreshCw" | "RotateCcw" | "RotateCw" | "ScrollText" | "Search" | "SearchX" | "Send" | "Settings" | "Shield" | "ShieldCheck" | "Spline" | "Square" | "SquarePen" | "Star" | "Table" | "Tag" | "Trash2" | "Unplug" | "User" | "UserMinus" | "UserPlus" | "Users" | "UsersRound" | "X" | "XCircle" | "ZoomIn" | "ZoomOut";
23
23
  /**
24
24
  * Allowlist of icons available by name. Keys mirror the Lucide export name so
25
25
  * call sites read `<Icon icon="Search" />`. Add an entry here (and to IconName
@@ -719,8 +719,10 @@ interface MetricCardProps {
719
719
  declare function MetricCard({ label, value, secondary, href, size, className, }: MetricCardProps): react_jsx_runtime.JSX.Element;
720
720
 
721
721
  interface SectionHeaderProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, "title"> {
722
- /** Section title rendered as a heading (default H2) */
723
- title: string;
722
+ /** Section title rendered as a heading (default H2). Accepts ReactNode
723
+ * so a Badge/pill can be composed inline, e.g.:
724
+ * `title={<>{name} <Badge>{version}</Badge></>}` */
725
+ title: React__default.ReactNode;
724
726
  /** Heading level for the title (default "h2") */
725
727
  as?: HeadingLevel;
726
728
  /** Optional action elements (buttons, badges, etc.) rendered on the right */
package/dist/index.js CHANGED
@@ -185,6 +185,7 @@ import {
185
185
  Fullscreen,
186
186
  Grid2x2,
187
187
  Grid3x3,
188
+ Hand,
188
189
  Heart,
189
190
  Image,
190
191
  ImageOff,
@@ -206,12 +207,14 @@ import {
206
207
  Microscope,
207
208
  Minus,
208
209
  MoreVertical,
210
+ Move,
209
211
  Network,
210
212
  PanelLeftClose,
211
213
  PanelLeftOpen,
212
214
  PanelRightClose,
213
215
  PanelRightOpen,
214
216
  Pencil,
217
+ Pentagon,
215
218
  Plug,
216
219
  Plus,
217
220
  Power,
@@ -343,6 +346,7 @@ var iconRegistry = {
343
346
  Github: GithubIcon,
344
347
  Grid2x2,
345
348
  Grid3x3,
349
+ Hand,
346
350
  Heart,
347
351
  Image,
348
352
  ImageOff,
@@ -365,12 +369,14 @@ var iconRegistry = {
365
369
  Microscope,
366
370
  Minus,
367
371
  MoreVertical,
372
+ Move,
368
373
  Network,
369
374
  PanelLeftClose,
370
375
  PanelLeftOpen,
371
376
  PanelRightClose,
372
377
  PanelRightOpen,
373
378
  Pencil,
379
+ Pentagon,
374
380
  Plug,
375
381
  Plus,
376
382
  Power,