@espressif/dashboard-ui-components 1.13.0 → 1.14.1

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.
Files changed (178) hide show
  1. package/.claude/rules/dashboard-ui-consumption.md +42 -0
  2. package/.cursor/rules/dashboard-ui-consumption.mdc +40 -1
  3. package/CHANGELOG.md +272 -0
  4. package/README.md +68 -6
  5. package/dist/{alert.props-CcKo49Rb.d.ts → alert.props-BuLuWmXA.d.ts} +3 -3
  6. package/dist/common/copyright-card/copyright-card.js +1 -1
  7. package/dist/common/footer-card/footer-card.js +2 -2
  8. package/dist/common/index.d.ts +3 -0
  9. package/dist/common/my-account-menu/my-account-menu.js +2 -2
  10. package/dist/common/page-loader/page-loader.js +4 -1
  11. package/dist/common/profile-card/profile-card.js +2 -2
  12. package/dist/components/accordion/accordion.js +6 -11
  13. package/dist/components/alert/index.d.ts +5 -5
  14. package/dist/components/anchored-panel/anchored-panel.js +4 -4
  15. package/dist/components/async-multi-select/async-multi-select.js +8 -8
  16. package/dist/components/avatar/avatar.js +1 -1
  17. package/dist/components/badge/index.d.ts +1 -1
  18. package/dist/components/bottom-sheet/_hooks/use-sheet-drag.js +112 -0
  19. package/dist/components/bottom-sheet/bottom-sheet.js +84 -0
  20. package/dist/components/bottom-sheet/index.d.ts +50 -0
  21. package/dist/components/bottom-sheet/index.js +3 -0
  22. package/dist/components/bubble/bubble.js +1 -1
  23. package/dist/components/button/button.js +2 -2
  24. package/dist/components/button/flash-button.js +4 -4
  25. package/dist/components/calendar/calendar.js +5 -5
  26. package/dist/components/cards/animated-card/animated-card.js +1 -1
  27. package/dist/components/cards/basic-details-card.js +2 -2
  28. package/dist/components/cards/collapsible-card.js +1 -1
  29. package/dist/components/cards/index.d.ts +2 -2
  30. package/dist/components/cards/no-data-card/no-data-card.js +2 -2
  31. package/dist/components/cards/section-card.js +12 -12
  32. package/dist/components/cards/simple-card.js +2 -5
  33. package/dist/components/category-card/category-card.js +2 -2
  34. package/dist/components/chart/chart.js +4 -4
  35. package/dist/components/chart/donut-chart.js +1 -1
  36. package/dist/components/chart/treemap-chart.js +1 -1
  37. package/dist/components/choice-card/choice-card.js +3 -3
  38. package/dist/components/code-editor/code-editor.js +4 -3
  39. package/dist/components/data-table/table-header.js +1 -1
  40. package/dist/components/date-range-picker/date-range-picker.js +3 -3
  41. package/dist/components/dynamic-list/dynamic-list.js +14 -13
  42. package/dist/components/dynamic-list/index.d.ts +1 -1
  43. package/dist/components/error-display/full-size-error/full-size-error.js +2 -2
  44. package/dist/components/expandable-text/expandable-text-overlay.js +1 -1
  45. package/dist/components/facet-filters/filter-group.js +2 -2
  46. package/dist/components/feature-grid/feature-grid.js +3 -3
  47. package/dist/components/file-input/file-input.js +8 -8
  48. package/dist/components/file-upload/file-upload.js +4 -4
  49. package/dist/components/fullscreen-dialog/fullscreen-dialog.js +1 -1
  50. package/dist/components/gradient-ring-button/_hooks/use-ring-geometry.js +116 -0
  51. package/dist/components/gradient-ring-button/gradient-ring-button.js +44 -0
  52. package/dist/components/gradient-ring-button/gradient-ring.js +77 -0
  53. package/dist/components/gradient-ring-button/index.d.ts +66 -0
  54. package/dist/components/gradient-ring-button/index.js +3 -0
  55. package/dist/components/horizontal-stepper/horizontal-stepper.js +4 -8
  56. package/dist/components/horizontal-stepper/index.d.ts +1 -1
  57. package/dist/components/icon-avatar/index.d.ts +3 -3
  58. package/dist/components/icon-text-action-card/index.d.ts +4 -4
  59. package/dist/components/index.d.ts +9 -7
  60. package/dist/components/index.js +5 -1
  61. package/dist/components/key-value-manager/key-value-manager-add-popover.js +1 -1
  62. package/dist/components/key-value-manager/key-value-manager-table.js +1 -1
  63. package/dist/components/link/link.js +7 -7
  64. package/dist/components/list/list-item.utils.js +5 -4
  65. package/dist/components/list/list.js +1 -1
  66. package/dist/components/list-details/index.d.ts +2 -2
  67. package/dist/components/markdown-content/markdown-content.components.js +2 -2
  68. package/dist/components/media-card/media-card-reveal.js +2 -2
  69. package/dist/components/media-card/media-card.js +2 -2
  70. package/dist/components/monospace-content/index.d.ts +4 -4
  71. package/dist/components/monospace-content/monospace-content.js +9 -11
  72. package/dist/components/nav-bar/nav-bar-mobile-menu.js +3 -3
  73. package/dist/components/nav-bar/nav-bar.js +4 -4
  74. package/dist/components/notice-strip/notice-strip.js +1 -1
  75. package/dist/components/option-card-group/option-card-group.js +2 -2
  76. package/dist/components/overflow-badge-list/index.d.ts +2 -2
  77. package/dist/components/overflow-badge-list/overflow-badge-list.js +3 -3
  78. package/dist/components/page-banner/page-banner.js +1 -1
  79. package/dist/components/page-container/page-container.js +1 -1
  80. package/dist/components/pagination/pagination.js +1 -1
  81. package/dist/components/progress-bar/progress-bar.js +2 -2
  82. package/dist/components/qr-code/qr-code.js +2 -2
  83. package/dist/components/radio-group/radio-group.js +3 -3
  84. package/dist/components/range-field/range-field.js +9 -12
  85. package/dist/components/readout/readout.js +1 -1
  86. package/dist/components/requirement-list/requirement-list.js +5 -10
  87. package/dist/components/scrollable-sections/scrollable-sections.js +1 -1
  88. package/dist/components/search-field-shell.js +8 -8
  89. package/dist/components/selectable-card-list/selectable-card-list-shared.js +6 -6
  90. package/dist/components/showcase-card/showcase-card.js +2 -2
  91. package/dist/components/sidebar/sidebar.js +13 -15
  92. package/dist/components/simple-clickable-card/index.d.ts +4 -4
  93. package/dist/components/simple-clickable-card/simple-clickable-card-shared.js +17 -23
  94. package/dist/components/simple-info-card/index.d.ts +3 -3
  95. package/dist/components/simple-list/index.d.ts +1 -1
  96. package/dist/components/simple-list/simple-list.js +8 -8
  97. package/dist/components/simple-paginated-list/simple-paginated-list.js +1 -4
  98. package/dist/components/stat-card/stat-card.js +7 -13
  99. package/dist/components/status-badge/index.d.ts +3 -3
  100. package/dist/components/status-badge/status-badge.js +4 -4
  101. package/dist/components/status-card-list/status-card-list.js +6 -6
  102. package/dist/components/tag/index.d.ts +1 -1
  103. package/dist/components/tag/tag.js +4 -4
  104. package/dist/components/tag-input/tag-input.js +12 -12
  105. package/dist/components/timeline/timeline.js +2 -2
  106. package/dist/components/toast/index.d.ts +1 -1
  107. package/dist/components/toast/toast.js +2 -2
  108. package/dist/components/toolbar/index.d.ts +5 -2
  109. package/dist/components/toolbar/toolbar-button.js +1 -1
  110. package/dist/components/toolbar/toolbar.js +9 -3
  111. package/dist/components/trace/trace.js +1 -1
  112. package/dist/components/transfer-list/transfer-list.js +2 -2
  113. package/dist/components/typography/index.d.ts +12 -3
  114. package/dist/components/typography/typography-variants.js +98 -13
  115. package/dist/components/typography/typography.js +4 -2
  116. package/dist/components/user-type-badge/user-type-badge.js +4 -4
  117. package/dist/components/vertical-stepper/vertical-stepper.js +11 -7
  118. package/dist/core/alert.js +3 -3
  119. package/dist/core/animate-ui/components/animate/code-header.js +1 -1
  120. package/dist/core/animate-ui/components/animate/code.js +1 -1
  121. package/dist/core/animate-ui/components/animate/tabs.js +6 -6
  122. package/dist/core/animate-ui/components/animate/tooltip.js +1 -1
  123. package/dist/core/animate-ui/components/base/progress.js +2 -2
  124. package/dist/core/animate-ui/components/radix/accordion.js +2 -2
  125. package/dist/core/animate-ui/components/radix/dialog.js +2 -2
  126. package/dist/core/animate-ui/components/radix/dropdown-menu.js +6 -6
  127. package/dist/core/animate-ui/components/radix/sheet.js +2 -2
  128. package/dist/core/animate-ui/components/radix/sidebar.js +8 -8
  129. package/dist/core/animate-ui/components/radix/toggle-group.js +4 -4
  130. package/dist/core/animate-ui/components/radix/toggle.js +1 -1
  131. package/dist/core/animate-ui/primitives/animate/tooltip.js +3 -0
  132. package/dist/core/badge.js +1 -1
  133. package/dist/core/breadcrumb.js +1 -1
  134. package/dist/core/button/button.js +2 -2
  135. package/dist/core/button/craft-button.js +4 -4
  136. package/dist/core/button-group.js +1 -1
  137. package/dist/core/button.js +2 -2
  138. package/dist/core/card.js +2 -2
  139. package/dist/core/combobox/combobox.js +3 -3
  140. package/dist/core/command.js +5 -5
  141. package/dist/core/field-label-row.js +4 -4
  142. package/dist/core/form.js +2 -2
  143. package/dist/core/index.d.ts +1 -1
  144. package/dist/core/input/input.js +11 -11
  145. package/dist/core/input-otp/input-otp.js +12 -12
  146. package/dist/core/label.js +1 -1
  147. package/dist/core/select.js +6 -6
  148. package/dist/core/separator.js +1 -1
  149. package/dist/core/table.js +2 -2
  150. package/dist/core/textarea/textarea.js +9 -9
  151. package/dist/{icon-avatar.props-RYtw2eSW.d.ts → icon-avatar.props-BJe0-vva.d.ts} +1 -1
  152. package/dist/{icon-text-action-card.props-B2ggncUK.d.ts → icon-text-action-card.props-BU7yFi2Q.d.ts} +2 -2
  153. package/dist/index.d.ts +9 -7
  154. package/dist/index.js +6 -2
  155. package/dist/layouts/entry-layout/entry-layout.js +1 -1
  156. package/dist/layouts/index.d.ts +21 -6
  157. package/dist/layouts/index.js +1 -1
  158. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +10 -18
  159. package/dist/layouts/minimal-workspace-layout/sidebar-trigger.js +35 -7
  160. package/dist/layouts/workspace-layout/footer/footer.js +1 -1
  161. package/dist/markdown/index.d.ts +4 -4
  162. package/dist/{section-card-B7c5uc08.d.ts → section-card-DqQeQkzU.d.ts} +1 -1
  163. package/dist/{simple-clickable-card.props-BrPCw7CR.d.ts → simple-clickable-card.props-BhhotZMp.d.ts} +2 -2
  164. package/dist/{status-badge.props-lKlEOfRt.d.ts → status-badge.props-BVe8CmQZ.d.ts} +1 -1
  165. package/dist/styles/type-scale.js +153 -0
  166. package/dist/tailwind-preset.js +120 -1
  167. package/dist/toast/index.d.ts +1 -1
  168. package/dist/utils/cn.js +16 -5
  169. package/dist/utils/color.js +10 -1
  170. package/dist/utils/index.d.ts +37 -3
  171. package/dist/utils/index.js +2 -1
  172. package/dist/utils/variant.js +76 -76
  173. package/dist/{variant-D81RhpbR.d.ts → variant-DjdaxfIA.d.ts} +6 -1
  174. package/package.json +6 -2
  175. package/src/styles/colors.css +23 -2
  176. package/src/styles/theme.css +8 -3
  177. package/src/styles/type-scale.css +152 -0
  178. package/tailwind.preset.ts +23 -0
@@ -241,7 +241,7 @@ function NavBar({ logo, items, rightContent, activeId: activeIdProp, defaultActi
241
241
  const highlightId = React$1.useId();
242
242
  const hasActiveOverflowItem = overflowIds.some((id) => id === activeId);
243
243
  const isOverflowDetailsOpen = openDetailsId != null && overflowIds.includes(openDetailsId);
244
- const navClasses = cn("relative z-50 w-full transition-[color,background-color,border-color,box-shadow] duration-300", background, position === "sticky" && "sticky", position === "fixed" && "fixed left-0", morphOnScroll && "mx-auto overflow-hidden", isScrolled && morphOnScroll ? "border border-header-border" : "border-b border-header-border", className, atTopClassName, panelVisible && "rounded-b-none border-b-border/60", isScrolled && morphOnScroll && "shadow-[shadow:var(--espd-elevation-navbar,var(--espd-elevation-overlay,var(--shadow-lg)))]", isScrolled && morphOnScroll && panelVisible && "[clip-path:inset(-80px_-80px_0_-80px)]");
244
+ const navClasses = cn("relative z-50 w-full text-foreground transition-[color,background-color,border-color,box-shadow] duration-300", background, position === "sticky" && "sticky", position === "fixed" && "fixed left-0", morphOnScroll && "mx-auto overflow-hidden", isScrolled && morphOnScroll ? "border border-header-border" : "border-b border-header-border", className, atTopClassName, panelVisible && "rounded-b-none border-b-border/60", isScrolled && morphOnScroll && "shadow-[shadow:var(--espd-elevation-navbar,var(--espd-elevation-overlay,var(--shadow-lg)))]", isScrolled && morphOnScroll && panelVisible && "[clip-path:inset(-80px_-80px_0_-80px)]");
245
245
  const topRadius = isScrolled ? panelVisible ? PILL_PANEL_RADIUS : pillRadius : 0;
246
246
  const morphAnimateProps = morphOnScroll ? {
247
247
  initial: false,
@@ -262,7 +262,7 @@ function NavBar({ logo, items, rightContent, activeId: activeIdProp, defaultActi
262
262
  } : { style: { top: 0 } };
263
263
  if (isMobile) return /* @__PURE__ */ jsxs("nav", {
264
264
  ref: navRef,
265
- className: cn("relative z-50 w-full border-b border-header-border", background, position === "sticky" && "sticky top-0", position === "fixed" && "fixed top-0 left-0", className, atTopClassName),
265
+ className: cn("relative z-50 w-full border-b border-header-border text-foreground", background, position === "sticky" && "sticky top-0", position === "fixed" && "fixed top-0 left-0", className, atTopClassName),
266
266
  "aria-label": "Main navigation",
267
267
  children: [/* @__PURE__ */ jsxs("div", {
268
268
  className: "flex items-center gap-3 px-4",
@@ -467,7 +467,7 @@ var MoreButton = React$1.forwardRef(function MoreButton({ label, hasActiveOverfl
467
467
  return /* @__PURE__ */ jsxs("button", {
468
468
  ref,
469
469
  type: "button",
470
- className: cn("inline-flex items-center gap-1 px-3 h-8 rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))]", "text-sm font-medium whitespace-nowrap cursor-pointer", "transition-colors duration-[var(--espd-duration-fast,150ms)]", "text-foreground/80 hover:text-foreground", resolvedColor ? resolvedColor.hoverBgClass : "hover:bg-foreground/5", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", highlighted && resolvedColor && `${resolvedColor.textClass} ${resolvedColor.bgClass}`),
470
+ className: cn("inline-flex items-center gap-1 px-3 h-8 rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))]", "type-label whitespace-nowrap cursor-pointer", "transition-colors duration-[var(--espd-duration-fast,150ms)]", "text-foreground/80 hover:text-foreground", resolvedColor ? resolvedColor.hoverBgClass : "hover:bg-foreground/5", "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", highlighted && resolvedColor && `${resolvedColor.textClass} ${resolvedColor.bgClass}`),
471
471
  style: highlighted && resolvedColor?.textStyle ? {
472
472
  ...resolvedColor.textStyle,
473
473
  ...resolvedColor.bgStyle
@@ -479,7 +479,7 @@ var MoreButton = React$1.forwardRef(function MoreButton({ label, hasActiveOverfl
479
479
  });
480
480
  function NavBarItemTrigger({ item, isActive, isDetailsOpen, onClick, linkComponent, tabIndex, resolvedColor, isPill, detailsAsLink = false, hoverHandlers, onKeyDown, highlightLayoutId, plainHover = false }) {
481
481
  const slidingHighlight = isDetailsOpen && Boolean(highlightLayoutId);
482
- const classes = cn("relative isolate inline-flex items-center gap-1 px-3 h-8", isPill ? "rounded-full" : "rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))]", "text-sm font-medium whitespace-nowrap cursor-pointer", "transition-colors duration-[var(--espd-duration-fast,150ms)]", "text-foreground/80 hover:text-foreground", !plainHover && (resolvedColor ? resolvedColor.hoverBgClass : "hover:bg-foreground/5"), "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", isActive && !slidingHighlight && resolvedColor && `${resolvedColor.textClass} ${resolvedColor.bgClass}`, isDetailsOpen && !isActive && plainHover && "text-foreground", isDetailsOpen && !plainHover && resolvedColor && (slidingHighlight ? resolvedColor.textClass : `${resolvedColor.textClass} ${resolvedColor.bgClass}`), item.disabled && "opacity-50 pointer-events-none");
482
+ const classes = cn("relative isolate inline-flex items-center gap-1 px-3 h-8", isPill ? "rounded-full" : "rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))]", "type-label whitespace-nowrap cursor-pointer", "transition-colors duration-[var(--espd-duration-fast,150ms)]", "text-foreground/80 hover:text-foreground", !plainHover && (resolvedColor ? resolvedColor.hoverBgClass : "hover:bg-foreground/5"), "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", isActive && !slidingHighlight && resolvedColor && `${resolvedColor.textClass} ${resolvedColor.bgClass}`, isDetailsOpen && !isActive && plainHover && "text-foreground", isDetailsOpen && !plainHover && resolvedColor && (slidingHighlight ? resolvedColor.textClass : `${resolvedColor.textClass} ${resolvedColor.bgClass}`), item.disabled && "opacity-50 pointer-events-none");
483
483
  const colorStyle = resolvedColor?.textStyle && (isActive || isDetailsOpen && !plainHover) ? {
484
484
  ...resolvedColor.textStyle,
485
485
  ...slidingHighlight ? void 0 : resolvedColor.bgStyle
@@ -35,7 +35,7 @@ function NoticeStrip({ tone, title, description, actions, onDismiss, dismissLabe
35
35
  hideIcon: true,
36
36
  title,
37
37
  ...description ? { description: /* @__PURE__ */ jsx("span", {
38
- className: "text-xs leading-snug",
38
+ className: "type-body leading-snug",
39
39
  children: description
40
40
  }) } : {},
41
41
  ...actions ? { actions } : {},
@@ -26,12 +26,12 @@ function Card({ item, name, chosen, disabled, onChoose }) {
26
26
  className: cn("flex size-9 shrink-0 items-center justify-center rounded-lg [&_svg]:size-4.5", chosen ? "bg-primary/10 text-primary" : "bg-muted text-foreground"),
27
27
  children: item.media
28
28
  }), /* @__PURE__ */ jsx("span", {
29
- className: "text-base font-semibold",
29
+ className: "type-heading",
30
30
  children: item.title
31
31
  })]
32
32
  }),
33
33
  item.description && /* @__PURE__ */ jsx("span", {
34
- className: "text-sm leading-relaxed text-muted-foreground",
34
+ className: "type-body text-muted-foreground",
35
35
  children: item.description
36
36
  }),
37
37
  item.tags && item.tags.length > 0 && /* @__PURE__ */ jsx("ul", {
@@ -1,8 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { LucideIcon } from 'lucide-react';
3
- import { S as StatusBadgeIcon } from '../../status-badge.props-lKlEOfRt.js';
3
+ import { S as StatusBadgeIcon } from '../../status-badge.props-BVe8CmQZ.js';
4
4
  import { C as Color, S as Size, P as PresetColor } from '../../index-BQANnKs9.js';
5
- import { f as Variant } from '../../variant-D81RhpbR.js';
5
+ import { f as Variant } from '../../variant-DjdaxfIA.js';
6
6
  import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
7
7
 
8
8
  type OverflowBadgeListColor = Extract<PresetColor, "warning" | "success" | "info" | "error" | "gray">;
@@ -23,7 +23,7 @@ function OverflowPopover({ as, label, hidden, badgeVariant, badgeSize, badgeColo
23
23
  return /* @__PURE__ */ jsxs(Popover, {
24
24
  openOnHover: true,
25
25
  children: [/* @__PURE__ */ jsx(PopoverTrigger, {
26
- className: cn("shrink-0 cursor-pointer rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring", as === "badge" && "inline-flex", as === "text" && "text-sm text-muted-foreground underline decoration-dotted underline-offset-2"),
26
+ className: cn("shrink-0 cursor-pointer rounded-full outline-none focus-visible:ring-2 focus-visible:ring-ring", as === "badge" && "inline-flex", as === "text" && "type-caption text-muted-foreground underline decoration-dotted underline-offset-2"),
27
27
  children: as === "badge" ? /* @__PURE__ */ jsx(StatusBadge, {
28
28
  radius,
29
29
  label,
@@ -64,7 +64,7 @@ function OverflowBadgeList({ items, icon, badgeColor, badgeVariant = "outline",
64
64
  const visibleBadges = badges.slice(0, visibleCount);
65
65
  const hiddenCount = badges.length - visibleCount;
66
66
  const tooltipContent = hiddenCount > 0 ? /* @__PURE__ */ jsx("ul", {
67
- className: "max-h-48 max-w-xs list-disc space-y-1 overflow-y-auto pl-4 text-left text-sm",
67
+ className: "max-h-48 max-w-xs list-disc space-y-1 overflow-y-auto pl-4 text-left type-body",
68
68
  children: badges.map((badge) => /* @__PURE__ */ jsx("li", {
69
69
  className: "break-words",
70
70
  children: badge.label
@@ -105,7 +105,7 @@ function OverflowBadgeList({ items, icon, badgeColor, badgeVariant = "outline",
105
105
  side: "top",
106
106
  align: "start",
107
107
  children: /* @__PURE__ */ jsx("span", {
108
- className: "cursor-default shrink-0 text-sm text-muted-foreground underline decoration-dotted underline-offset-2",
108
+ className: "cursor-default shrink-0 type-caption text-muted-foreground underline decoration-dotted underline-offset-2",
109
109
  tabIndex: 0,
110
110
  children: andMoreLabel
111
111
  })
@@ -25,7 +25,7 @@ function PageBanner({ kicker, title, titleAs = "h2", titleId, description, meta,
25
25
  className: "flex min-w-0 flex-col gap-3.5",
26
26
  children: [
27
27
  kicker && /* @__PURE__ */ jsx("span", {
28
- className: "font-mono text-sm font-semibold text-primary",
28
+ className: "font-mono type-label font-semibold text-primary",
29
29
  children: kicker
30
30
  }),
31
31
  /* @__PURE__ */ jsx(Typography, {
@@ -13,7 +13,7 @@ var maxWidthClasses = {
13
13
  lg: "max-w-5xl",
14
14
  xl: "max-w-7xl"
15
15
  };
16
- var headingTitleClasses = "min-w-0 flex-1 text-2xl text-foreground font-bold track-tight";
16
+ var headingTitleClasses = "min-w-0 flex-1 type-title text-foreground track-tight";
17
17
  var headingContentClasses = "min-w-0 flex-1";
18
18
  var stickyHeaderClasses = "sticky top-0 z-11 bg-background/75 backdrop-blur-xs";
19
19
  var stickyHeaderFromMdClasses = "md:sticky md:top-0 md:z-11 md:bg-background/75 md:backdrop-blur-xs";
@@ -32,7 +32,7 @@ function Pagination({ pageLabel, previousLabel = "Previous", nextLabel = "Next",
32
32
  className: cn("@container flex flex-wrap items-center gap-x-2 gap-y-3 border-t", s.container),
33
33
  children: [
34
34
  pageLabel !== void 0 ? /* @__PURE__ */ jsx("span", {
35
- className: "flex-1 text-sm whitespace-nowrap text-muted-foreground",
35
+ className: "flex-1 type-body whitespace-nowrap text-muted-foreground",
36
36
  children: pageLabel
37
37
  }) : /* @__PURE__ */ jsx("span", { className: "flex-1" }),
38
38
  /* @__PURE__ */ jsxs("div", {
@@ -63,7 +63,7 @@ function ProgressBar({ showFakeProgress = false, value: valueProp, label, showPe
63
63
  children: [showHeader && /* @__PURE__ */ jsx("div", {
64
64
  className: "flex items-center justify-between gap-1",
65
65
  children: label != null && /* @__PURE__ */ jsx("span", {
66
- className: "text-sm font-medium",
66
+ className: "type-label",
67
67
  children: label
68
68
  })
69
69
  }), /* @__PURE__ */ jsx("div", {
@@ -106,7 +106,7 @@ function ProgressBar({ showFakeProgress = false, value: valueProp, label, showPe
106
106
  children: [showHeader && /* @__PURE__ */ jsxs("div", {
107
107
  className: "flex items-center justify-between gap-1",
108
108
  children: [label != null && /* @__PURE__ */ jsx(ProgressLabel, { children: label }), showPercentage && /* @__PURE__ */ jsxs("span", {
109
- className: "text-sm",
109
+ className: "type-body",
110
110
  children: [/* @__PURE__ */ jsx(ProgressValue, {}), " %"]
111
111
  })]
112
112
  }), /* @__PURE__ */ jsx(ProgressTrack, { ...isPresetColor(color) ? {
@@ -43,8 +43,8 @@ function QrCode({ text, label, fallback, className, ink = "#000000", paper = "#f
43
43
  className: cn("aspect-square rounded-md", className)
44
44
  });
45
45
  if (drawn.size === 0) return /* @__PURE__ */ jsx(Typography, {
46
- variant: "body2",
47
- className: "m-0 text-sm text-muted-foreground",
46
+ variant: "body",
47
+ className: "m-0 text-muted-foreground",
48
48
  children: fallback
49
49
  });
50
50
  const side = drawn.size + QUIET * 2;
@@ -5,15 +5,15 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  var sizeStyles = {
6
6
  sm: {
7
7
  radio: "size-3.5",
8
- label: "text-sm"
8
+ label: "type-label"
9
9
  },
10
10
  default: {
11
11
  radio: "size-4",
12
- label: "text-base"
12
+ label: "type-label"
13
13
  },
14
14
  lg: {
15
15
  radio: "size-5",
16
- label: "text-lg"
16
+ label: "type-label"
17
17
  }
18
18
  };
19
19
  function RadioGroup({ options, value, defaultValue, onValueChange, orientation = "vertical", disabled = false, className, size = "default" }) {
@@ -79,17 +79,14 @@ function RangeField({ label, value, onChange, min, max, step: by, unit, by: nudg
79
79
  return /* @__PURE__ */ jsxs("div", {
80
80
  className: "flex flex-col gap-1",
81
81
  children: [
82
- /* @__PURE__ */ jsxs(Label, {
83
- className: "text-xs",
84
- children: [label, rangeText && /* @__PURE__ */ jsxs("span", {
85
- className: "ml-1.5 font-mono text-xs font-normal text-foreground-muted tabular-nums",
86
- children: [
87
- "(",
88
- rangeText,
89
- ")"
90
- ]
91
- })]
92
- }),
82
+ /* @__PURE__ */ jsxs(Label, { children: [label, rangeText && /* @__PURE__ */ jsxs("span", {
83
+ className: "ml-1.5 font-mono type-caption text-foreground-muted tabular-nums",
84
+ children: [
85
+ "(",
86
+ rangeText,
87
+ ")"
88
+ ]
89
+ })] }),
93
90
  /* @__PURE__ */ jsxs("span", {
94
91
  className: "relative flex h-5 w-full items-center",
95
92
  children: [
@@ -153,7 +150,7 @@ function RangeField({ label, value, onChange, min, max, step: by, unit, by: nudg
153
150
  })
154
151
  ]
155
152
  }), unit && /* @__PURE__ */ jsx("span", {
156
- className: "w-7 font-mono text-xs text-foreground-secondary",
153
+ className: "w-7 font-mono type-caption text-foreground-secondary",
157
154
  children: unit
158
155
  })]
159
156
  })
@@ -34,7 +34,7 @@ function Segments({ segments, error, labelled }) {
34
34
  * made of tokens. With `onClick` it is a real (toggle) button.
35
35
  */
36
36
  function Readout({ segments, state = "normal", labelled = false, onClick, "aria-label": label, className }) {
37
- const classes = cn("dark inline-flex h-6 items-center rounded-xs border bg-background font-mono text-xs leading-none tabular-nums", STATE[state], className);
37
+ const classes = cn("dark inline-flex h-6 items-center rounded-xs border bg-background type-code font-mono leading-none tabular-nums", STATE[state], className);
38
38
  if (!onClick) return /* @__PURE__ */ jsx("span", {
39
39
  "aria-label": label,
40
40
  "data-slot": "readout",
@@ -20,35 +20,30 @@ var stateVisuals = {
20
20
  /**
21
21
  * Aligned with SimpleList / VerticalStepper size scales. `iconTop` centres the
22
22
  * icon on the label's first line when a description makes the row two lines
23
- * (the row then aligns to the top); `description` is one step smaller than
24
- * the label, `describedRowGap` the roomier spacing two-line rows need.
23
+ * (the row then aligns to the top); `describedRowGap` is the roomier spacing
24
+ * two-line rows need. The text keeps its roles at every size: the label is
25
+ * `type-body`, the description under it `type-secondary`.
25
26
  */
26
27
  var sizeStyles = {
27
28
  sm: {
28
- text: "text-xs",
29
29
  icon: "h-3.5 w-3.5 shrink-0",
30
30
  gap: "gap-2",
31
31
  rowGap: "gap-1",
32
32
  iconTop: "mt-px",
33
- description: "text-xs",
34
33
  describedRowGap: "gap-2"
35
34
  },
36
35
  default: {
37
- text: "text-sm",
38
36
  icon: "size-4 shrink-0",
39
37
  gap: "gap-2",
40
38
  rowGap: "gap-1.5",
41
39
  iconTop: "mt-0.5",
42
- description: "text-xs",
43
40
  describedRowGap: "gap-2.5"
44
41
  },
45
42
  lg: {
46
- text: "text-base",
47
43
  icon: "size-5 shrink-0",
48
44
  gap: "gap-2.5",
49
45
  rowGap: "gap-2",
50
46
  iconTop: "mt-0.5",
51
- description: "text-sm",
52
47
  describedRowGap: "gap-3"
53
48
  }
54
49
  };
@@ -77,7 +72,7 @@ var RequirementList = forwardRef(function RequirementList({ items, size = "sm",
77
72
  const visuals = stateVisuals[item.met ? "met" : "unmet"];
78
73
  const Icon = visuals.icon;
79
74
  return /* @__PURE__ */ jsxs("li", {
80
- className: cn("flex transition-colors", item.description ? "items-start" : "items-center", styles.gap, styles.text, visuals.textClass),
75
+ className: cn("flex transition-colors", item.description ? "items-start" : "items-center", "type-body", styles.gap, visuals.textClass),
81
76
  children: [
82
77
  /* @__PURE__ */ jsx(Icon, {
83
78
  className: cn(styles.icon, item.description && styles.iconTop),
@@ -86,7 +81,7 @@ var RequirementList = forwardRef(function RequirementList({ items, size = "sm",
86
81
  item.description ? /* @__PURE__ */ jsxs("span", {
87
82
  className: "flex min-w-0 flex-col gap-0.5",
88
83
  children: [/* @__PURE__ */ jsx("span", { children: item.label }), /* @__PURE__ */ jsx("span", {
89
- className: cn(styles.description, "text-muted-foreground"),
84
+ className: "type-secondary text-muted-foreground",
90
85
  children: item.description
91
86
  })]
92
87
  }) : item.label,
@@ -187,7 +187,7 @@ function ScrollableSectionsRoot({ className, children, defaultValue, scrollRootR
187
187
  value: safeActiveId,
188
188
  onValueChange: selectSection,
189
189
  children: [/* @__PURE__ */ jsx(SelectTrigger, {
190
- className: "w-full text-sm font-medium",
190
+ className: "w-full type-label",
191
191
  children: /* @__PURE__ */ jsx(SelectValue, { placeholder: "Section" })
192
192
  }), /* @__PURE__ */ jsx(SelectContent, { children: tabsItems.map((item) => /* @__PURE__ */ jsx(SelectItem, {
193
193
  value: item.id,
@@ -2,18 +2,18 @@
2
2
  /** Matches `buttonVariants` outline surface (border, bg, shadow, hover). */
3
3
  var outlineSearchShellClasses = "border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background transition-colors hover:bg-accent hover:text-accent-foreground";
4
4
  var searchFieldContainerSizeClasses = {
5
- default: "h-9 px-4 py-2 text-sm",
6
- sm: "h-8 px-3 text-xs",
7
- lg: "h-10 px-8 text-sm"
5
+ default: "h-9 px-4 py-2 type-input",
6
+ sm: "h-8 px-3 type-input",
7
+ lg: "h-10 px-8 type-input"
8
8
  };
9
9
  /**
10
- * Text size of the search `<input>` itself. 16px below `md`, like `Input`: iOS Safari zooms the
11
- * page into any focused field whose text is smaller than 16px.
10
+ * Text role of the search `<input>` itself: `type-input` at every size, like `Input` (16px on a
11
+ * phone, where iOS Safari zooms the page into any focused field whose text is smaller than 16px).
12
12
  */
13
13
  var searchFieldInputTextClasses = {
14
- default: "text-base md:text-sm",
15
- sm: "text-base md:text-xs",
16
- lg: "text-base md:text-sm"
14
+ default: "type-input",
15
+ sm: "type-input",
16
+ lg: "type-input"
17
17
  };
18
18
  var searchFieldIconSizeClasses = {
19
19
  default: "h-4 w-4",
@@ -10,8 +10,8 @@ var sizeStyles = {
10
10
  sm: {
11
11
  rowPad: "p-3",
12
12
  gap: "gap-2",
13
- primary: "text-xs font-semibold text-foreground",
14
- secondary: "text-xs text-muted-foreground",
13
+ primary: "type-heading text-foreground",
14
+ secondary: "type-secondary text-muted-foreground",
15
15
  icon: "h-[18px] w-[18px] shrink-0 items-center justify-center",
16
16
  indicator: "size-3.5",
17
17
  avatar: 36,
@@ -20,8 +20,8 @@ var sizeStyles = {
20
20
  default: {
21
21
  rowPad: "p-4",
22
22
  gap: "gap-3",
23
- primary: "text-sm font-semibold text-foreground",
24
- secondary: "text-sm text-muted-foreground",
23
+ primary: "type-heading text-foreground",
24
+ secondary: "type-secondary text-muted-foreground",
25
25
  icon: "h-6 w-6 shrink-0 items-center justify-center",
26
26
  indicator: "size-4",
27
27
  avatar: 44,
@@ -30,8 +30,8 @@ var sizeStyles = {
30
30
  lg: {
31
31
  rowPad: "p-6",
32
32
  gap: "gap-4",
33
- primary: "text-base font-semibold text-foreground",
34
- secondary: "text-sm text-muted-foreground",
33
+ primary: "type-heading text-foreground",
34
+ secondary: "type-secondary text-muted-foreground",
35
35
  icon: "h-8 w-8 shrink-0 items-center justify-center",
36
36
  indicator: "size-5",
37
37
  avatar: 52,
@@ -41,7 +41,7 @@ function ShowcaseRow({ media, title, open, titlePrefix, meta, footer, engage })
41
41
  className: "min-h-24 min-w-0 gap-1.5 py-3.5 pr-3.5 pl-1 @md:min-h-42 @md:gap-2 @md:py-5 @md:pr-5",
42
42
  children: [
43
43
  /* @__PURE__ */ jsx(MediaCardTitle, {
44
- className: "text-base font-extrabold tracking-tight @md:text-lg",
44
+ className: "font-extrabold tracking-tight",
45
45
  title,
46
46
  children: /* @__PURE__ */ jsx(TitleLink, {
47
47
  open,
@@ -50,7 +50,7 @@ function ShowcaseRow({ media, title, open, titlePrefix, meta, footer, engage })
50
50
  })
51
51
  }),
52
52
  /* @__PURE__ */ jsx(MediaCardMeta, {
53
- className: "block text-sm leading-relaxed @max-md:line-clamp-2",
53
+ className: "block @max-md:line-clamp-2",
54
54
  children: meta
55
55
  }),
56
56
  footer && /* @__PURE__ */ jsx(MediaCardFooter, {
@@ -25,20 +25,18 @@ var sidebarGroupClassName = "py-0 px-2";
25
25
  */
26
26
  var rowIconClass = "[&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0";
27
27
  /**
28
- * One type scale for every nav row. Set as an inline style, not a Tailwind class:
28
+ * Every nav row is the `label` role: {@link rowTypeClass} brings its line height and
29
+ * weight (a row's own `font-*` still wins), and the inline style its size, read from
30
+ * `--espd-sidebar-item-font-size` (the public override hook, `label`'s size by
31
+ * default). The size is an inline style, not a class, so the hook beats the role:
29
32
  * `SidebarMenuButton` is used with `asChild`, and both the highlight effect and
30
- * app-supplied `linkComponent`s drop a forwarded `style`, so it has to live on an
31
- * element this file owns. `--espd-sidebar-item-font-size` is the public override hook.
33
+ * app-supplied `linkComponent`s drop a forwarded `style`, so both live on an
34
+ * element this file owns.
32
35
  */
33
- var rowFontStyle = {
34
- fontSize: "var(--espd-sidebar-item-font-size, 0.875rem)",
35
- lineHeight: "1.25rem"
36
- };
36
+ var rowTypeClass = "type-label";
37
+ var rowFontStyle = { fontSize: "var(--espd-sidebar-item-font-size, var(--espd-type-label-size, 0.875rem))" };
37
38
  /** Group title in the collapsed-sidebar flyout — same scale as the rows by default. */
38
- var flyoutGroupLabelStyle = {
39
- fontSize: "var(--espd-sidebar-flyout-group-label-font-size, 0.875rem)",
40
- lineHeight: "1.25rem"
41
- };
39
+ var flyoutGroupLabelStyle = { fontSize: "var(--espd-sidebar-flyout-group-label-font-size, var(--espd-type-label-size, 0.875rem))" };
42
40
  /**
43
41
  * Nav icon for a group or an item. Deliberately sets no size — that comes from the
44
42
  * row's {@link rowIconClass}. Items with no `icon` get a neutral placeholder glyph so
@@ -68,7 +66,7 @@ function forwardRowClickToLink(e) {
68
66
  function GroupMenuItems({ group, isSelected, linkComponent: LinkComponent, onItemClick, onItemPointerDown }) {
69
67
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [
70
68
  /* @__PURE__ */ jsxs(DropdownMenuLabel, {
71
- className: cn("flex items-center gap-2 px-3 py-2 font-normal text-muted-foreground", rowIconClass),
69
+ className: cn("flex items-center gap-2 px-3 py-2 font-normal text-muted-foreground", rowTypeClass, rowIconClass),
72
70
  style: flyoutGroupLabelStyle,
73
71
  children: [group.icon ? /* @__PURE__ */ jsx(ItemIcon, {
74
72
  icon: group.icon,
@@ -82,7 +80,7 @@ function GroupMenuItems({ group, isSelected, linkComponent: LinkComponent, onIte
82
80
  group.items.map((item) => {
83
81
  const active = isSelected(item.path);
84
82
  return /* @__PURE__ */ jsx(DropdownMenuItem, {
85
- className: active ? "bg-accent" : "",
83
+ className: cn(rowTypeClass, active && "bg-accent"),
86
84
  style: rowFontStyle,
87
85
  onPointerDown: onItemPointerDown,
88
86
  onClickCapture: onItemClick,
@@ -152,7 +150,7 @@ function CollapsedSidebarGroup({ group, isSelected, linkComponent: LinkComponent
152
150
  })
153
151
  });
154
152
  }
155
- var groupHeaderClass = cn("flex w-full items-center gap-2 rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))] p-2 h-[var(--espd-sidebar-row-height-sm,calc(var(--spacing)*7))] overflow-hidden font-medium text-sidebar-foreground hover:bg-sidebar-accent/50 transition-colors cursor-pointer", rowIconClass);
153
+ var groupHeaderClass = cn("flex w-full items-center gap-2 rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-md)))] p-2 h-[var(--espd-sidebar-row-height-sm,calc(var(--spacing)*7))] overflow-hidden text-sidebar-foreground hover:bg-sidebar-accent/50 transition-colors cursor-pointer", rowIconClass, rowTypeClass);
156
154
  /**
157
155
  * Expanded sidebar group with inline collapsible items.
158
156
  * Clicking the group header toggles expand/collapse. No flyout menus here —
@@ -271,7 +269,7 @@ function Sidebar({ items, currentPath, header, headerHeight, footer, linkCompone
271
269
  icon: item.icon,
272
270
  active
273
271
  }), /* @__PURE__ */ jsx("span", {
274
- className: cn("whitespace-nowrap max-w-[168px] truncate", active ? "font-semibold text-sidebar-accent-foreground" : "font-medium text-sidebar-foreground"),
272
+ className: cn("whitespace-nowrap max-w-[168px] truncate", rowTypeClass, active ? "font-semibold text-sidebar-accent-foreground" : "font-medium text-sidebar-foreground"),
275
273
  style: rowFontStyle,
276
274
  children: item.label
277
275
  })]
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- import { S as SimpleClickableCardProps } from '../../simple-clickable-card.props-BrPCw7CR.js';
3
- export { a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../../simple-clickable-card.props-BrPCw7CR.js';
2
+ import { S as SimpleClickableCardProps } from '../../simple-clickable-card.props-BhhotZMp.js';
3
+ export { a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../../simple-clickable-card.props-BhhotZMp.js';
4
4
  import '../../index-BQANnKs9.js';
5
- import '../../variant-D81RhpbR.js';
5
+ import '../../variant-DjdaxfIA.js';
6
6
  import '../../style-axes-DSQ2DGc5.js';
7
- import '../../icon-avatar.props-RYtw2eSW.js';
7
+ import '../../icon-avatar.props-BJe0-vva.js';
8
8
 
9
9
  declare const SimpleClickableCard: React.ForwardRefExoticComponent<SimpleClickableCardProps & React.RefAttributes<HTMLButtonElement>>;
10
10
 
@@ -17,8 +17,7 @@ var SIZE_STYLES = {
17
17
  chevronPx: 20,
18
18
  avatar: 36,
19
19
  iconPx: 18,
20
- titleVariant: "h6",
21
- titleSizeClass: "text-xs"
20
+ descriptionVariant: "secondary"
22
21
  },
23
22
  default: {
24
23
  rowPad: "p-4",
@@ -27,7 +26,7 @@ var SIZE_STYLES = {
27
26
  chevronPx: 24,
28
27
  avatar: 44,
29
28
  iconPx: 22,
30
- titleVariant: "h6"
29
+ descriptionVariant: "body"
31
30
  },
32
31
  lg: {
33
32
  rowPad: "p-6",
@@ -36,7 +35,7 @@ var SIZE_STYLES = {
36
35
  chevronPx: 32,
37
36
  avatar: 52,
38
37
  iconPx: 26,
39
- titleVariant: "h5"
38
+ descriptionVariant: "body"
40
39
  }
41
40
  };
42
41
  function iconSized(icon, iconPx) {
@@ -197,10 +196,10 @@ function renderTitleAndDescriptionBlocks(p) {
197
196
  const { title, description, truncateTitle = false, truncateDescription = false, s, fgClass, fgStyle, descClass, descStyle } = p;
198
197
  const titleIsString = typeof title === "string";
199
198
  const descriptionIsString = typeof description === "string";
200
- const renderTitleTypography = (typoVariant, opts) => /* @__PURE__ */ jsx(Typography, {
199
+ const renderTitleTypography = (opts) => /* @__PURE__ */ jsx(Typography, {
201
200
  as: "span",
202
- variant: typoVariant,
203
- className: cn("min-w-0 text-left", opts.extraTitleClass, fgClass, !opts.truncate && "break-words"),
201
+ variant: "subheading",
202
+ className: cn("min-w-0 text-left", fgClass, !opts.truncate && "break-words"),
204
203
  style: fgStyle,
205
204
  children: title
206
205
  });
@@ -208,45 +207,40 @@ function renderTitleAndDescriptionBlocks(p) {
208
207
  if (hasRenderableTitle(title)) if (titleIsString && truncateTitle) titleBlock = /* @__PURE__ */ jsx(TruncatedLineWithTooltip, {
209
208
  className: "w-full",
210
209
  tooltipContent: title,
211
- children: renderTitleTypography(s.titleVariant, {
212
- truncate: true,
213
- extraTitleClass: s.titleSizeClass
214
- })
215
- });
216
- else if (titleIsString) titleBlock = renderTitleTypography(s.titleVariant, {
217
- truncate: false,
218
- extraTitleClass: s.titleSizeClass
210
+ children: renderTitleTypography({ truncate: true })
219
211
  });
212
+ else if (titleIsString) titleBlock = renderTitleTypography({ truncate: false });
220
213
  else titleBlock = /* @__PURE__ */ jsx(Typography, {
221
214
  as: "div",
222
- variant: s.titleVariant,
223
- className: cn("min-w-0 text-left", s.titleSizeClass, fgClass),
215
+ variant: "subheading",
216
+ className: cn("min-w-0 text-left", fgClass),
224
217
  style: fgStyle,
225
218
  children: title
226
219
  });
220
+ const descriptionTypeClass = hasRenderableTitle(title) ? "font-medium" : "font-normal";
227
221
  let descriptionBlock = null;
228
222
  if (hasRenderableDescription(description)) if (descriptionIsString && truncateDescription) descriptionBlock = /* @__PURE__ */ jsx(TruncatedLineWithTooltip, {
229
223
  className: "w-full",
230
224
  tooltipContent: description,
231
225
  children: /* @__PURE__ */ jsx(Typography, {
232
226
  as: "span",
233
- variant: "body2",
234
- className: cn("text-left font-medium", descClass),
227
+ variant: s.descriptionVariant,
228
+ className: cn("text-left", descriptionTypeClass, descClass),
235
229
  style: descStyle,
236
230
  children: description
237
231
  })
238
232
  });
239
233
  else if (descriptionIsString) descriptionBlock = /* @__PURE__ */ jsx(Typography, {
240
234
  as: "span",
241
- variant: "body2",
242
- className: cn("break-words text-left font-medium", descClass),
235
+ variant: s.descriptionVariant,
236
+ className: cn("break-words text-left", descriptionTypeClass, descClass),
243
237
  style: descStyle,
244
238
  children: description
245
239
  });
246
240
  else descriptionBlock = /* @__PURE__ */ jsx(Typography, {
247
241
  as: "div",
248
- variant: "body2",
249
- className: cn("min-w-0 text-left font-medium", descClass),
242
+ variant: s.descriptionVariant,
243
+ className: cn("min-w-0 text-left", descriptionTypeClass, descClass),
250
244
  style: descStyle,
251
245
  children: description
252
246
  });
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
2
  import { HTMLAttributes, ReactNode } from 'react';
3
- import { a as SimpleClickableCardSharedProps } from '../../simple-clickable-card.props-BrPCw7CR.js';
3
+ import { a as SimpleClickableCardSharedProps } from '../../simple-clickable-card.props-BhhotZMp.js';
4
4
  import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
5
5
  import '../../index-BQANnKs9.js';
6
- import '../../variant-D81RhpbR.js';
7
- import '../../icon-avatar.props-RYtw2eSW.js';
6
+ import '../../variant-DjdaxfIA.js';
7
+ import '../../icon-avatar.props-BJe0-vva.js';
8
8
 
9
9
  /** Display-only card body; only the info icon is interactive (tab/focus). */
10
10
  interface SimpleInfoCardProps extends SimpleClickableCardSharedProps, Pick<StyleAxisProps, "radius">, Omit<HTMLAttributes<HTMLDivElement>, keyof SimpleClickableCardSharedProps | "title"> {
@@ -33,7 +33,7 @@ interface SimpleListItem {
33
33
  }
34
34
  interface SimpleListProps extends DensityProps {
35
35
  items: SimpleListItem[];
36
- /** Overall list spacing and typography scale. Default: `"default"`. */
36
+ /** Overall list spacing (and the avatar size). Text keeps its type role at every size. Default: `"default"`. */
37
37
  size?: SimpleListSize;
38
38
  /**
39
39
  * Default direction for items that don't specify their own. Default: `"column"`.