@espressif/dashboard-ui-components 1.13.0 → 1.14.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.
Files changed (170) hide show
  1. package/.claude/rules/dashboard-ui-consumption.md +41 -0
  2. package/.cursor/rules/dashboard-ui-consumption.mdc +39 -1
  3. package/CHANGELOG.md +222 -0
  4. package/README.md +50 -4
  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/badge/index.d.ts +1 -1
  17. package/dist/components/bottom-sheet/_hooks/use-sheet-drag.js +112 -0
  18. package/dist/components/bottom-sheet/bottom-sheet.js +84 -0
  19. package/dist/components/bottom-sheet/index.d.ts +50 -0
  20. package/dist/components/bottom-sheet/index.js +3 -0
  21. package/dist/components/bubble/bubble.js +1 -1
  22. package/dist/components/calendar/calendar.js +5 -5
  23. package/dist/components/cards/animated-card/animated-card.js +1 -1
  24. package/dist/components/cards/basic-details-card.js +2 -2
  25. package/dist/components/cards/collapsible-card.js +1 -1
  26. package/dist/components/cards/index.d.ts +2 -2
  27. package/dist/components/cards/no-data-card/no-data-card.js +2 -2
  28. package/dist/components/cards/section-card.js +12 -12
  29. package/dist/components/cards/simple-card.js +2 -5
  30. package/dist/components/category-card/category-card.js +2 -2
  31. package/dist/components/chart/chart.js +4 -4
  32. package/dist/components/chart/donut-chart.js +1 -1
  33. package/dist/components/chart/treemap-chart.js +1 -1
  34. package/dist/components/choice-card/choice-card.js +3 -3
  35. package/dist/components/code-editor/code-editor.js +4 -3
  36. package/dist/components/data-table/table-header.js +1 -1
  37. package/dist/components/date-range-picker/date-range-picker.js +3 -3
  38. package/dist/components/dynamic-list/dynamic-list.js +14 -13
  39. package/dist/components/dynamic-list/index.d.ts +1 -1
  40. package/dist/components/error-display/full-size-error/full-size-error.js +2 -2
  41. package/dist/components/expandable-text/expandable-text-overlay.js +1 -1
  42. package/dist/components/facet-filters/filter-group.js +2 -2
  43. package/dist/components/feature-grid/feature-grid.js +3 -3
  44. package/dist/components/file-input/file-input.js +8 -8
  45. package/dist/components/file-upload/file-upload.js +4 -4
  46. package/dist/components/fullscreen-dialog/fullscreen-dialog.js +1 -1
  47. package/dist/components/gradient-ring-button/_hooks/use-ring-geometry.js +116 -0
  48. package/dist/components/gradient-ring-button/gradient-ring-button.js +44 -0
  49. package/dist/components/gradient-ring-button/gradient-ring.js +77 -0
  50. package/dist/components/gradient-ring-button/index.d.ts +66 -0
  51. package/dist/components/gradient-ring-button/index.js +3 -0
  52. package/dist/components/horizontal-stepper/horizontal-stepper.js +2 -6
  53. package/dist/components/horizontal-stepper/index.d.ts +1 -1
  54. package/dist/components/icon-avatar/index.d.ts +3 -3
  55. package/dist/components/icon-text-action-card/index.d.ts +4 -4
  56. package/dist/components/index.d.ts +9 -7
  57. package/dist/components/index.js +5 -1
  58. package/dist/components/key-value-manager/key-value-manager-add-popover.js +1 -1
  59. package/dist/components/key-value-manager/key-value-manager-table.js +1 -1
  60. package/dist/components/link/link.js +7 -7
  61. package/dist/components/list/list-item.utils.js +5 -4
  62. package/dist/components/list/list.js +1 -1
  63. package/dist/components/list-details/index.d.ts +2 -2
  64. package/dist/components/markdown-content/markdown-content.components.js +2 -2
  65. package/dist/components/media-card/media-card-reveal.js +2 -2
  66. package/dist/components/media-card/media-card.js +2 -2
  67. package/dist/components/monospace-content/index.d.ts +4 -4
  68. package/dist/components/monospace-content/monospace-content.js +9 -11
  69. package/dist/components/nav-bar/nav-bar-mobile-menu.js +3 -3
  70. package/dist/components/nav-bar/nav-bar.js +4 -4
  71. package/dist/components/notice-strip/notice-strip.js +1 -1
  72. package/dist/components/option-card-group/option-card-group.js +2 -2
  73. package/dist/components/overflow-badge-list/index.d.ts +2 -2
  74. package/dist/components/overflow-badge-list/overflow-badge-list.js +3 -3
  75. package/dist/components/page-banner/page-banner.js +1 -1
  76. package/dist/components/page-container/page-container.js +1 -1
  77. package/dist/components/pagination/pagination.js +1 -1
  78. package/dist/components/progress-bar/progress-bar.js +2 -2
  79. package/dist/components/qr-code/qr-code.js +2 -2
  80. package/dist/components/radio-group/radio-group.js +3 -3
  81. package/dist/components/range-field/range-field.js +9 -12
  82. package/dist/components/readout/readout.js +1 -1
  83. package/dist/components/requirement-list/requirement-list.js +5 -10
  84. package/dist/components/scrollable-sections/scrollable-sections.js +1 -1
  85. package/dist/components/search-field-shell.js +8 -8
  86. package/dist/components/selectable-card-list/selectable-card-list-shared.js +6 -6
  87. package/dist/components/showcase-card/showcase-card.js +2 -2
  88. package/dist/components/sidebar/sidebar.js +13 -15
  89. package/dist/components/simple-clickable-card/index.d.ts +4 -4
  90. package/dist/components/simple-clickable-card/simple-clickable-card-shared.js +17 -23
  91. package/dist/components/simple-info-card/index.d.ts +3 -3
  92. package/dist/components/simple-list/index.d.ts +1 -1
  93. package/dist/components/simple-list/simple-list.js +8 -8
  94. package/dist/components/simple-paginated-list/simple-paginated-list.js +1 -4
  95. package/dist/components/stat-card/stat-card.js +7 -13
  96. package/dist/components/status-badge/index.d.ts +3 -3
  97. package/dist/components/status-badge/status-badge.js +4 -4
  98. package/dist/components/status-card-list/status-card-list.js +6 -6
  99. package/dist/components/tag/index.d.ts +1 -1
  100. package/dist/components/tag/tag.js +4 -4
  101. package/dist/components/tag-input/tag-input.js +12 -12
  102. package/dist/components/timeline/timeline.js +2 -2
  103. package/dist/components/toast/index.d.ts +1 -1
  104. package/dist/components/toast/toast.js +2 -2
  105. package/dist/components/toolbar/index.d.ts +5 -2
  106. package/dist/components/toolbar/toolbar-button.js +1 -1
  107. package/dist/components/toolbar/toolbar.js +9 -3
  108. package/dist/components/trace/trace.js +1 -1
  109. package/dist/components/transfer-list/transfer-list.js +2 -2
  110. package/dist/components/typography/index.d.ts +12 -3
  111. package/dist/components/typography/typography-variants.js +98 -13
  112. package/dist/components/typography/typography.js +4 -2
  113. package/dist/components/user-type-badge/user-type-badge.js +4 -4
  114. package/dist/components/vertical-stepper/vertical-stepper.js +11 -7
  115. package/dist/core/alert.js +3 -3
  116. package/dist/core/animate-ui/components/animate/code-header.js +1 -1
  117. package/dist/core/animate-ui/components/animate/code.js +1 -1
  118. package/dist/core/animate-ui/components/animate/tabs.js +6 -6
  119. package/dist/core/animate-ui/components/animate/tooltip.js +1 -1
  120. package/dist/core/animate-ui/components/base/progress.js +2 -2
  121. package/dist/core/animate-ui/components/radix/accordion.js +2 -2
  122. package/dist/core/animate-ui/components/radix/dialog.js +2 -2
  123. package/dist/core/animate-ui/components/radix/dropdown-menu.js +6 -6
  124. package/dist/core/animate-ui/components/radix/sheet.js +2 -2
  125. package/dist/core/animate-ui/components/radix/sidebar.js +8 -8
  126. package/dist/core/animate-ui/components/radix/toggle.js +1 -1
  127. package/dist/core/badge.js +1 -1
  128. package/dist/core/breadcrumb.js +1 -1
  129. package/dist/core/button/button.js +2 -2
  130. package/dist/core/button-group.js +1 -1
  131. package/dist/core/button.js +2 -2
  132. package/dist/core/card.js +2 -2
  133. package/dist/core/combobox/combobox.js +3 -3
  134. package/dist/core/command.js +5 -5
  135. package/dist/core/field-label-row.js +4 -4
  136. package/dist/core/form.js +2 -2
  137. package/dist/core/index.d.ts +1 -1
  138. package/dist/core/input/input.js +11 -11
  139. package/dist/core/input-otp/input-otp.js +12 -12
  140. package/dist/core/label.js +1 -1
  141. package/dist/core/select.js +6 -6
  142. package/dist/core/separator.js +1 -1
  143. package/dist/core/table.js +2 -2
  144. package/dist/core/textarea/textarea.js +9 -9
  145. package/dist/{icon-avatar.props-RYtw2eSW.d.ts → icon-avatar.props-BJe0-vva.d.ts} +1 -1
  146. package/dist/{icon-text-action-card.props-B2ggncUK.d.ts → icon-text-action-card.props-BU7yFi2Q.d.ts} +2 -2
  147. package/dist/index.d.ts +9 -7
  148. package/dist/index.js +6 -2
  149. package/dist/layouts/entry-layout/entry-layout.js +1 -1
  150. package/dist/layouts/index.d.ts +21 -6
  151. package/dist/layouts/index.js +1 -1
  152. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +10 -18
  153. package/dist/layouts/minimal-workspace-layout/sidebar-trigger.js +35 -7
  154. package/dist/layouts/workspace-layout/footer/footer.js +1 -1
  155. package/dist/markdown/index.d.ts +4 -4
  156. package/dist/{section-card-B7c5uc08.d.ts → section-card-DqQeQkzU.d.ts} +1 -1
  157. package/dist/{simple-clickable-card.props-BrPCw7CR.d.ts → simple-clickable-card.props-BhhotZMp.d.ts} +2 -2
  158. package/dist/{status-badge.props-lKlEOfRt.d.ts → status-badge.props-BVe8CmQZ.d.ts} +1 -1
  159. package/dist/styles/type-scale.js +153 -0
  160. package/dist/tailwind-preset.js +120 -1
  161. package/dist/toast/index.d.ts +1 -1
  162. package/dist/utils/cn.js +16 -5
  163. package/dist/utils/index.d.ts +31 -2
  164. package/dist/utils/index.js +2 -1
  165. package/dist/utils/variant.js +47 -47
  166. package/dist/{variant-D81RhpbR.d.ts → variant-DjdaxfIA.d.ts} +6 -1
  167. package/package.json +3 -1
  168. package/src/styles/theme.css +8 -3
  169. package/src/styles/type-scale.css +152 -0
  170. package/tailwind.preset.ts +23 -0
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- import { a as IconTextActionCardProps } from '../../icon-text-action-card.props-B2ggncUK.js';
3
- export { I as IconTextActionCardActionsPlacement, b as IconTextActionCardVariant } from '../../icon-text-action-card.props-B2ggncUK.js';
2
+ import { a as IconTextActionCardProps } from '../../icon-text-action-card.props-BU7yFi2Q.js';
3
+ export { I as IconTextActionCardActionsPlacement, b as IconTextActionCardVariant } from '../../icon-text-action-card.props-BU7yFi2Q.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 IconTextActionCard: React.ForwardRefExoticComponent<IconTextActionCardProps & React.RefAttributes<HTMLDivElement | HTMLButtonElement>>;
10
10
 
@@ -1,5 +1,5 @@
1
1
  export { C as Color, P as PresetColor, S as Size } from '../index-BQANnKs9.js';
2
- export { P as PRESET_GRADIENT_BACKDROP, a as PRESET_GRADIENT_FRAME, V as VARIANTS, b as VARIANT_GRADIENT_BACKDROP_BASE, c as VARIANT_GRADIENT_DURATION_CLASS, d as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, e as VARIANT_GRADIENT_TRANSITION_DURATION_MS, f as Variant, g as VariantRecipe, h as VariantRegistry, i as VariantStyles, j as arbitraryGradientBackgroundImage, l as listVariants, r as registerVariant, k as resolveVariantStyles } from '../variant-D81RhpbR.js';
2
+ export { P as PRESET_GRADIENT_BACKDROP, a as PRESET_GRADIENT_FRAME, V as VARIANTS, b as VARIANT_GRADIENT_BACKDROP_BASE, c as VARIANT_GRADIENT_DURATION_CLASS, d as VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, e as VARIANT_GRADIENT_TRANSITION_DURATION_MS, f as Variant, g as VariantRecipe, h as VariantRegistry, i as VariantStyles, j as arbitraryGradientBackgroundImage, l as listVariants, r as registerVariant, k as resolveVariantStyles } from '../variant-DjdaxfIA.js';
3
3
  export { B as BORDERS, a as Border, b as BorderRegistry, D as DENSITIES, c as Density, d as DensityProps, e as DensityRegistry, f as DensityTokens, E as ELEVATIONS, g as Elevation, h as ElevationRegistry, R as RADII, i as Radius, j as RadiusRegistry, S as StyleAxis, k as StyleAxisProps, l as StyleValueAxis, m as densityStyle, n as listStyleValues, r as registerDensity, o as registerStyleValue, p as resolveDensity, q as resolveStyleValue, u as useStyleAxes } from '../style-axes-DSQ2DGc5.js';
4
4
  export { StyleRole, StyleScope, StyleScopeProps } from './style-scope/index.js';
5
5
  export { TruncatedLineWithTooltip, TruncatedLineWithTooltipProps } from './truncated-line-with-tooltip/index.js';
@@ -34,6 +34,7 @@ export { ViewMode, ViewToggle, ViewToggleLabels, ViewToggleProps } from './view-
34
34
  export { Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarProps } from './toolbar/index.js';
35
35
  export { AnchoredPanel, AnchoredPanelProps } from './anchored-panel/index.js';
36
36
  export { FloatingWindow, FloatingWindowPosition, FloatingWindowProps } from './floating-window/index.js';
37
+ export { BottomSheet, BottomSheetLabels, BottomSheetProps, SheetRest, settleSheet } from './bottom-sheet/index.js';
37
38
  export { NoticeStrip, NoticeStripProps, NoticeTone } from './notice-strip/index.js';
38
39
  export { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleContentProps, TraceCollapsibleProps, TraceCollapsibleTrigger, TraceCollapsibleTriggerProps, TraceDescription, TraceDescriptionProps, TraceIcon, TraceIconProps, TraceLine, TraceLineProps, TraceProps, TraceStatus, TraceTitle, TraceTitleProps } from './trace/index.js';
39
40
  export { Readout, ReadoutProps, ReadoutSegment } from './readout/index.js';
@@ -65,6 +66,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
65
66
  export { B as Button, a as ButtonIconOnlyBreakpoint, b as ButtonProps } from '../button-BxJ7s6sR.js';
66
67
  export { CopyButton, CopyButtonProps, FlashButton, FlashButtonProps, InvertButton, InvertButtonProps } from './button/index.js';
67
68
  export { ReactionButton, ReactionButtonProps } from './reaction-button/index.js';
69
+ export { GradientRing, GradientRingButton, GradientRingButtonProps, GradientRingProps } from './gradient-ring-button/index.js';
68
70
  export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from './button-group/index.js';
69
71
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './card/index.js';
70
72
  export { AreaChart, AreaChartProps, BarChart, BarChartProps, BarSize, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, ChartCategoryColorKey, ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendLayout, ChartLegendList, ChartLegendListItem, ChartLegendListProps, ChartLegendOptions, ChartLegendValue, ChartSeriesColorKey, ChartStyle, ChartTooltip, ChartTooltipContent, ComposedChart, ComposedChartProps, ComposedChartSeries, DEFAULT_CHART_SERIES_COLORS, DonutChart, DonutChartProps, DonutDatum, LineChart, LineChartProps, LineStrokeWidth, TreemapAnimationEasing, TreemapChart, TreemapChartProps, TreemapDatum, TreemapTileLabelStyle, buildSeriesChartConfig, getChartSeriesColor } from './chart/index.js';
@@ -107,12 +109,12 @@ export { ShareMenu, ShareMenuLabels, ShareMenuProps, ShareTarget } from './share
107
109
  export { Timeline, TimelineItem, TimelineLabels, TimelineProps } from './timeline/index.js';
108
110
  export { Identicon, IdenticonProps } from './identicon/index.js';
109
111
  export { IconAvatar } from './icon-avatar/index.js';
110
- export { I as IconAvatarProps, a as IconAvatarRingProps, b as IconAvatarVariant } from '../icon-avatar.props-RYtw2eSW.js';
112
+ export { I as IconAvatarProps, a as IconAvatarRingProps, b as IconAvatarVariant } from '../icon-avatar.props-BJe0-vva.js';
111
113
  export { Illustration, IllustrationProps, IllustrationType, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio } from './illustration/index.js';
112
114
  export { Badge, BadgeProps, badgeVariants } from './badge/index.js';
113
115
  export { UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './user-type-badge/index.js';
114
116
  export { StatusBadge, statusBadgeSizeVariants } from './status-badge/index.js';
115
- export { S as StatusBadgeIcon, a as StatusBadgeProps } from '../status-badge.props-lKlEOfRt.js';
117
+ export { S as StatusBadgeIcon, a as StatusBadgeProps } from '../status-badge.props-BVe8CmQZ.js';
116
118
  export { Tag, TagProps } from './tag/index.js';
117
119
  export { TagInput, TagInputProps } from './tag-input/index.js';
118
120
  export { TransferItem, TransferList, TransferListProps } from './transfer-list/index.js';
@@ -132,7 +134,7 @@ export { RequirementList, RequirementListItem, RequirementListProps, Requirement
132
134
  export { SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps } from './simple-list/index.js';
133
135
  export { SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize } from './simple-paginated-list/index.js';
134
136
  export { Alert } from './alert/index.js';
135
- export { A as AlertColor, a as AlertIconAvatarVariant, b as AlertProps, c as AlertSize, d as AlertType, e as AlertVariant } from '../alert.props-CcKo49Rb.js';
137
+ export { A as AlertColor, a as AlertIconAvatarVariant, b as AlertProps, c as AlertSize, d as AlertType, e as AlertVariant } from '../alert.props-BuLuWmXA.js';
136
138
  export { Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, toast } from './toast/index.js';
137
139
  export { MarkdownContent, MarkdownContentProps } from './markdown-content/index.js';
138
140
  export { MonospaceContent, MonospaceContentProps } from './monospace-content/index.js';
@@ -145,11 +147,11 @@ export { CircularProgress, CircularProgressProps } from './circular-progress/ind
145
147
  export { ProgressBar, ProgressBarProps, ProgressBarSegment } from './progress-bar/index.js';
146
148
  export { FullSizeError, FullSizeErrorProps, InlineError, InlineErrorProps } from './error-display/index.js';
147
149
  export { AnimatedCard, AnimatedCardProps, AnimatedCardType, BasicDetailsCard, BasicDetailsCardProps, CollapsibleCard, CollapsibleCardProps, NoDataCard, NoDataCardProps, SimpleCard, SimpleCardProps, animatedCardAnimations, animatedCardTypeKeys } from './cards/index.js';
148
- export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-B7c5uc08.js';
150
+ export { S as SectionCard, a as SectionCardProps, b as SectionCardSize, c as SectionCardVariant } from '../section-card-DqQeQkzU.js';
149
151
  export { IconTextActionCard } from './icon-text-action-card/index.js';
150
- export { I as IconTextActionCardActionsPlacement, a as IconTextActionCardProps, b as IconTextActionCardVariant } from '../icon-text-action-card.props-B2ggncUK.js';
152
+ export { I as IconTextActionCardActionsPlacement, a as IconTextActionCardProps, b as IconTextActionCardVariant } from '../icon-text-action-card.props-BU7yFi2Q.js';
151
153
  export { SimpleClickableCard } from './simple-clickable-card/index.js';
152
- export { S as SimpleClickableCardProps, a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../simple-clickable-card.props-BrPCw7CR.js';
154
+ export { S as SimpleClickableCardProps, a as SimpleClickableCardSharedProps, b as SimpleClickableCardVariant } from '../simple-clickable-card.props-BhhotZMp.js';
153
155
  export { CategoryCard, CategoryCardProps } from './category-card/index.js';
154
156
  export { SimpleInfoCard, SimpleInfoCardProps } from './simple-info-card/index.js';
155
157
  export { GlitchText, GlitchTextProps, GradientText, GradientTextProps, HighlightText, HighlightTextProps, ShimmeringText, ShimmeringTextProps, parseTextMarkup } from './text-effects/index.js';
@@ -64,6 +64,8 @@ import { ToolbarButton } from "./toolbar/toolbar-button.js";
64
64
  import { Badge, badgeVariants } from "../core/badge.js";
65
65
  import { AnchoredPanel } from "./anchored-panel/anchored-panel.js";
66
66
  import { FloatingWindow } from "./floating-window/floating-window.js";
67
+ import { settleSheet } from "./bottom-sheet/_hooks/use-sheet-drag.js";
68
+ import { BottomSheet } from "./bottom-sheet/bottom-sheet.js";
67
69
  import { IconTextActionCard } from "./icon-text-action-card/icon-text-action-card.js";
68
70
  import { Alert } from "./alert/alert.js";
69
71
  import { NoticeStrip } from "./notice-strip/notice-strip.js";
@@ -112,6 +114,8 @@ import { OptionCardGroup } from "./option-card-group/option-card-group.js";
112
114
  import { StepTabs } from "./step-tabs/step-tabs.js";
113
115
  import { StatCard } from "./stat-card/stat-card.js";
114
116
  import { ReactionButton } from "./reaction-button/reaction-button.js";
117
+ import { GradientRing } from "./gradient-ring-button/gradient-ring.js";
118
+ import { GradientRingButton } from "./gradient-ring-button/gradient-ring-button.js";
115
119
  import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "../core/button-group.js";
116
120
  import { ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent } from "./chart/chart.js";
117
121
  import { CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, DEFAULT_CHART_SERIES_COLORS, buildSeriesChartConfig, getChartSeriesColor } from "./chart/chart-colors.js";
@@ -187,4 +191,4 @@ import { CodeEditor } from "./code-editor/code-editor.js";
187
191
  import { ContentContainer } from "./content-container/content-container.js";
188
192
  import PageContainer from "./page-container/page-container.js";
189
193
  import PageContainerSkeleton from "./page-container/page-container-skeleton.js";
190
- export { Accordion, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, AvatarGroup, BORDERS, Badge, BarChart, BasicDetailsCard, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardRail, CardTitle, Carousel, CategoryCard, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent, CheckBadge, Checkbox, ChoiceCard, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ColumnPanel, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, Coverflow, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DENSITIES, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, ELEVATIONS, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientText, HighlightText, HorizontalStepper, IconAvatar, IconTextActionCard, Identicon, Illustration, InlineError, Input, InputGroup, InputGroupAddon, InputGroupTextarea, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, Keyframes, KeyframesMotion, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardImage, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem, MediaCardTitle, MediaStage, Menu, MessageScroller, MiniBarChart, MonospaceContent, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, QrCode, RADII, ROLLING_PRESET_IDS, RadioGroup, RangeField, RankNumeral, ReactionButton, Readout, RequirementList, ResizableGroup, ResizablePanel, ResizableSeparator, Reveal, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, ShareMenu, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, ShowcaseCard, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, SortMenu, Spinner, StatCard, StatusBadge, StatusCardList, StepTabs, StyleScope, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, ThumbnailStrip, TimePicker, Timeline, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, TransferList, TreemapChart, TruncatedLineWithTooltip, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, ViewToggle, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, densityStyle, easeOutSplines, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, keyTimes, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
194
+ export { Accordion, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AreaChart, AsyncCombobox, AsyncMultiSelect, Avatar, AvatarGroup, BORDERS, Badge, BarChart, BasicDetailsCard, BottomSheet, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, Calendar, CalendarDayButton, Card, CardContent, CardDescription, CardFooter, CardHeader, CardRail, CardTitle, Carousel, CategoryCard, ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent, CheckBadge, Checkbox, ChoiceCard, CircularProgress, Code, CodeEditor, Collapsible, CollapsibleCard, CollapsibleContent, CollapsibleTrigger, ColumnPanel, ComposedChart, ConfirmationDialog, ContentContainer, CopiableText, CopyButton, Coverflow, DEFAULT_CHART_SERIES_COLORS, DEFAULT_PAGE_SIZE_OPTIONS, DENSITIES, DataTable, DataTableRowActions, DatePicker, DateRangePicker, DateTimePicker, DeviceIcon, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DonutChart, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicList, ELEVATIONS, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FullSizeError, FullscreenDialog, GlitchText, GradientRing, GradientRingButton, GradientText, HighlightText, HorizontalStepper, IconAvatar, IconTextActionCard, Identicon, Illustration, InlineError, Input, InputGroup, InputGroupAddon, InputGroupTextarea, InputOTP, InputOTPSeparator, InputPassword, InvertButton, KeyValueManager, Keyframes, KeyframesMotion, LIST_CLASS_NAMES, Label, LineChart, Link, List, ListDetails, LottieAnimationContainer, MarkdownContent, MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardImage, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardReveal, MediaCardRevealChips, MediaCardRevealFooter, MediaCardRevealItem, MediaCardTitle, MediaStage, Menu, MessageScroller, MiniBarChart, MonospaceContent, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProgressBar, QrCode, RADII, ROLLING_PRESET_IDS, RadioGroup, RangeField, RankNumeral, ReactionButton, Readout, RequirementList, ResizableGroup, ResizablePanel, ResizableSeparator, Reveal, ScrollArea, ScrollBar, ScrollableSections, SearchBox, SectionCard, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SelectableCardList, Separator, ShareMenu, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, ShimmeringText, ShowcaseCard, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, Sidebar$1 as SidebarPrimitive, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SimpleCard, SimpleClickableCard, SimpleInfoCard, SimpleList, SimplePaginatedList, SimplifiedDate, Skeleton, SortMenu, Spinner, StatCard, StatusBadge, StatusCardList, StepTabs, StyleScope, Switch, TYPOGRAPHY_VARIANTS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableSkeleton, Tabs, TabsContent, TabsContents, TabsList, TabsTrigger, Tag, TagInput, Textarea, ThumbnailStrip, TimePicker, Timeline, Toast, Toaster, TogglableItemsList, ToggleGroup, ToggleGroupItem, Toolbar, ToolbarButton, Tooltip, TooltipContent, TooltipProvider, Tooltip$1 as TooltipRoot, TooltipTrigger, Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle, TransferList, TreemapChart, TruncatedLineWithTooltip, Typography, UserTypeBadge, VARIANTS, VARIANT_GRADIENT_BACKDROP_BASE, VARIANT_GRADIENT_DURATION_CLASS, VARIANT_GRADIENT_HOVER_OVERLAY_CLASS, VARIANT_GRADIENT_TRANSITION_DURATION_MS, VerificationInProgress, VerticalStepper, ViewToggle, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, computeDateRange, densityStyle, easeOutSplines, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, keyTimes, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, settleSheet, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
@@ -114,7 +114,7 @@ function KeyValueManagerAddPopover({ items, meta, labels, maxAllowed, onUpdate,
114
114
  endIcon: /* @__PURE__ */ jsx(ArrowRight, {}),
115
115
  children: labels.add
116
116
  }), showSuccess ? /* @__PURE__ */ jsx("p", {
117
- className: cn("text-sm text-success"),
117
+ className: cn("type-body text-success"),
118
118
  children: labels.successMessage
119
119
  }) : null]
120
120
  })
@@ -80,7 +80,7 @@ function KeyValueManagerTable({ rows, itemsPerPage = 10, hasSearchQuery, onDelet
80
80
  /* @__PURE__ */ jsx("div", {
81
81
  className: "overflow-hidden sm:hidden",
82
82
  children: noRows ? /* @__PURE__ */ jsx("p", {
83
- className: "py-8 text-center text-sm text-muted-foreground",
83
+ className: "py-8 text-center type-body text-muted-foreground",
84
84
  children: emptyMessage
85
85
  }) : /* @__PURE__ */ jsx(AnimatePresence, {
86
86
  mode: "wait",
@@ -9,13 +9,13 @@ function isExternalHref(to) {
9
9
  }
10
10
  var baseClasses = "inline-flex items-center gap-1.5 rounded-md transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0";
11
11
  var colorClasses = {
12
- primary: "px-2 h-8 text-sm font-medium text-primary hover:bg-primary/10",
13
- secondary: "px-2 h-8 text-sm font-medium text-secondary hover:bg-secondary/10",
14
- error: "px-2 h-8 text-sm font-medium text-error hover:bg-error/10",
15
- info: "px-2 h-8 text-sm font-medium text-info hover:bg-info/10",
16
- success: "px-2 h-8 text-sm font-medium text-success hover:bg-success/10",
17
- warning: "px-2 h-8 text-sm font-medium text-warning hover:bg-warning/10",
18
- gray: "px-2 h-8 text-sm font-medium text-gray hover:bg-gray/10"
12
+ primary: "px-2 h-8 type-label text-primary hover:bg-primary/10",
13
+ secondary: "px-2 h-8 type-label text-secondary hover:bg-secondary/10",
14
+ error: "px-2 h-8 type-label text-error hover:bg-error/10",
15
+ info: "px-2 h-8 type-label text-info hover:bg-info/10",
16
+ success: "px-2 h-8 type-label text-success hover:bg-success/10",
17
+ warning: "px-2 h-8 type-label text-warning hover:bg-warning/10",
18
+ gray: "px-2 h-8 type-label text-gray hover:bg-gray/10"
19
19
  };
20
20
  var variantClasses = {
21
21
  default: "",
@@ -4,7 +4,7 @@ import { LIST_CLASS_NAMES } from "./list.props.js";
4
4
  import React from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/components/list/list-item.utils.tsx
7
- var listItemBase = "min-h-[var(--espd-item-height,var(--menu-item-height))] w-full scroll-mt-[calc(var(--spacing)*1.5)] px-[calc(var(--spacing)*2.5)] py-[calc(var(--spacing)*1.5)] my-[calc(var(--spacing)*0.5)] text-sm leading-[var(--tw-leading,var(--text-sm--line-height))] select-none rounded-[var(--espd-own-radius,var(--espd-radius-item,10px))] items-center flex relative no-underline";
7
+ var listItemBase = "min-h-[var(--espd-item-height,var(--menu-item-height))] w-full scroll-mt-[calc(var(--spacing)*1.5)] px-[calc(var(--spacing)*2.5)] py-[calc(var(--spacing)*1.5)] my-[calc(var(--spacing)*0.5)] type-body select-none rounded-[var(--espd-own-radius,var(--espd-radius-item,10px))] items-center flex relative no-underline";
8
8
  /**
9
9
  * Interaction classes shared by the `<button>` and link renderings of a row, so a
10
10
  * linked item is visually identical to a clickable one.
@@ -21,10 +21,11 @@ var presetColorStyles = {
21
21
  gray: "text-gray",
22
22
  mist: "text-mist-foreground"
23
23
  };
24
+ /** Padding per size. The text is `type-body` (in `listItemBase`) at every size. */
24
25
  var sizeStyles = {
25
- sm: "text-xs py-1 px-2",
26
- default: "text-sm py-1.5 px-2",
27
- lg: "text-base py-2 px-3"
26
+ sm: "py-1 px-2",
27
+ default: "py-1.5 px-2",
28
+ lg: "py-2 px-3"
28
29
  };
29
30
  function isListItem(item) {
30
31
  return typeof item === "object" && item !== null && !React.isValidElement(item) && "id" in item && "label" in item && typeof item.id === "string" && typeof item.label === "string";
@@ -8,7 +8,7 @@ import DropdownListItem from "./dropdown-list-item.js";
8
8
  import React from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region src/components/list/list.tsx
11
- var groupLabelBase = "text-sm font-normal truncate overflow-ellipsis font-inter text-gray-400 flex items-center gap-2";
11
+ var groupLabelBase = "type-subheading font-normal truncate overflow-ellipsis font-inter text-gray-400 flex items-center gap-2";
12
12
  function List({ items, role = "list", showSeparators = true, className, itemClassName, separatorClassName, linkComponent, density }) {
13
13
  const shouldShowSeparators = showSeparators && items.length > 1;
14
14
  const isDropdown = role === "dropdown-list";
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
3
  import { k as StyleAxisProps } from '../../style-axes-DSQ2DGc5.js';
4
- import { c as SectionCardVariant, b as SectionCardSize } from '../../section-card-B7c5uc08.js';
4
+ import { c as SectionCardVariant, b as SectionCardSize } from '../../section-card-DqQeQkzU.js';
5
5
  import { C as Color } from '../../index-BQANnKs9.js';
6
- import '../../variant-D81RhpbR.js';
6
+ import '../../variant-DjdaxfIA.js';
7
7
 
8
8
  type ListDetailsTitleListPanelColumnWidth = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12;
9
9
  type ListDetailsItem = {
@@ -74,7 +74,7 @@ function createMarkdownComponents({ linkComponent, colorTheme } = {}) {
74
74
  children
75
75
  }),
76
76
  li: ({ children }) => /* @__PURE__ */ jsx("li", {
77
- className: "text-base leading-relaxed",
77
+ className: "type-prose",
78
78
  children
79
79
  }),
80
80
  table: ({ children }) => /* @__PURE__ */ jsx(Table, { children }),
@@ -98,7 +98,7 @@ function createMarkdownComponents({ linkComponent, colorTheme } = {}) {
98
98
  });
99
99
  },
100
100
  code: ({ children }) => /* @__PURE__ */ jsx("code", {
101
- className: "rounded bg-muted px-1.5 py-0.5 font-mono text-sm",
101
+ className: "rounded bg-muted px-1.5 py-0.5 type-code font-mono",
102
102
  children
103
103
  }),
104
104
  img: ({ src, alt, title }) => /* @__PURE__ */ jsx("img", {
@@ -39,7 +39,7 @@ function MediaCardRevealItem({ step = 0, className, ...props }) {
39
39
  }
40
40
  /** A row of small labels (the latest builds) popping in one by one, with an optional "+N". */
41
41
  function MediaCardRevealChips({ items, more, className, ...props }) {
42
- const chip = "inline-flex min-w-0 max-w-full items-center rounded-full px-2.5 py-1 text-xs font-semibold";
42
+ const chip = "inline-flex min-w-0 max-w-full items-center rounded-full px-2.5 py-1 type-caption font-semibold";
43
43
  return /* @__PURE__ */ jsxs("ul", {
44
44
  "data-slot": "media-card-reveal-chips",
45
45
  className: cn("m-0 flex list-none flex-wrap gap-1.5 p-0", className),
@@ -64,7 +64,7 @@ function MediaCardRevealFooter({ action, step = 2, className, children, ...props
64
64
  className: cn("mt-auto flex items-center justify-between gap-2.5", at(RISE_STEPS, step), className),
65
65
  ...props,
66
66
  children: [/* @__PURE__ */ jsx("div", {
67
- className: "min-w-0 truncate font-mono text-xs text-scrim-foreground/75",
67
+ className: "min-w-0 truncate font-mono type-caption text-scrim-foreground/75",
68
68
  children
69
69
  }), action && /* @__PURE__ */ jsx("span", {
70
70
  className: cn("pointer-events-auto relative z-30", SWING),
@@ -48,7 +48,7 @@ function MediaCardBody({ className, ...props }) {
48
48
  function MediaCardTitle({ className, ...props }) {
49
49
  return /* @__PURE__ */ jsx("h3", {
50
50
  "data-slot": "media-card-title",
51
- className: cn("m-0 min-w-0 truncate text-base font-bold leading-snug text-foreground", className),
51
+ className: cn("m-0 min-w-0 truncate type-heading font-bold leading-snug text-foreground", className),
52
52
  ...props
53
53
  });
54
54
  }
@@ -67,7 +67,7 @@ function MediaCardLink({ asChild, className, ...props }) {
67
67
  function MediaCardMeta({ className, ...props }) {
68
68
  return /* @__PURE__ */ jsx("div", {
69
69
  "data-slot": "media-card-meta",
70
- className: cn("flex min-w-0 items-center gap-2 text-sm text-foreground-secondary", className),
70
+ className: cn("flex min-w-0 items-center gap-2 type-secondary text-foreground-secondary", className),
71
71
  ...props
72
72
  });
73
73
  }
@@ -1,11 +1,11 @@
1
1
  import * as React from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { A as AlertColor } from '../../alert.props-CcKo49Rb.js';
3
+ import { A as AlertColor } from '../../alert.props-BuLuWmXA.js';
4
4
  import { S as Size } from '../../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';
8
- import '../../icon-text-action-card.props-B2ggncUK.js';
7
+ import '../../icon-avatar.props-BJe0-vva.js';
8
+ import '../../icon-text-action-card.props-BU7yFi2Q.js';
9
9
 
10
10
  interface MonospaceContentProps {
11
11
  title?: ReactNode;
@@ -8,23 +8,21 @@ import * as React$1 from "react";
8
8
  import { jsx, jsxs } from "react/jsx-runtime";
9
9
  import { Eye, EyeOff } from "lucide-react";
10
10
  //#region src/components/monospace-content/monospace-content.tsx
11
- /** Action sizes mirror `CopiableText`'s own map, so the unmask toggle matches the copy button. */
11
+ /**
12
+ * Action sizes mirror `CopiableText`'s own map, so the unmask toggle matches the copy button.
13
+ * The text keeps its roles at every size: the title is a field label (`type-label`, from
14
+ * `inputLabelClassName`), the value `type-code`.
15
+ */
12
16
  var MONOSPACE_SIZE_STYLES = {
13
17
  sm: {
14
- title: "text-xs",
15
- value: "text-xs",
16
18
  action: "size-5",
17
19
  gap: "gap-1.5"
18
20
  },
19
21
  default: {
20
- title: "text-sm",
21
- value: "text-sm",
22
22
  action: "size-6",
23
23
  gap: "gap-2"
24
24
  },
25
25
  lg: {
26
- title: "text-base",
27
- value: "text-base",
28
26
  action: "size-7",
29
27
  gap: "gap-2.5"
30
28
  }
@@ -51,12 +49,12 @@ var MonospaceContent = React$1.forwardRef(function MonospaceContent({ title, val
51
49
  ref,
52
50
  className: cn("flex min-w-0 max-w-full flex-col overflow-hidden", sizeStyles.gap, className),
53
51
  children: [title != null && (typeof title === "string" ? /* @__PURE__ */ jsx("div", {
54
- className: cn(inputLabelClassName, sizeStyles.title, "title"),
52
+ className: cn(inputLabelClassName, "title"),
55
53
  children: title
56
54
  }) : /* @__PURE__ */ jsx(Typography, {
57
- variant: "subtitle2",
55
+ variant: "label",
58
56
  as: "div",
59
- className: cn(inputLabelClassName, sizeStyles.title, "title"),
57
+ className: cn(inputLabelClassName, "text-muted-foreground", "title"),
60
58
  children: title
61
59
  })), /* @__PURE__ */ jsx(Alert, {
62
60
  variant: "soft",
@@ -70,7 +68,7 @@ var MonospaceContent = React$1.forwardRef(function MonospaceContent({ title, val
70
68
  size,
71
69
  actions: unmaskToggle,
72
70
  alwaysShowActions: mask,
73
- className: cn("w-full min-w-0 max-w-full font-mono tabular-nums", sizeStyles.value, masked && "select-none [-webkit-text-security:disc]")
71
+ className: cn("w-full min-w-0 max-w-full type-code font-mono tabular-nums", masked && "select-none [-webkit-text-security:disc]")
74
72
  })
75
73
  })]
76
74
  });
@@ -93,11 +93,11 @@ function NavBarMobileMenu({ items, activeId, onItemClick, open, onOpenChange, li
93
93
  "aria-hidden": "true"
94
94
  })
95
95
  }), /* @__PURE__ */ jsx("span", {
96
- className: "truncate text-sm font-semibold text-foreground",
96
+ className: "truncate type-subheading text-foreground",
97
97
  children: detailsItem.label
98
98
  })]
99
99
  }), /* @__PURE__ */ jsx("div", {
100
- className: "flex-1 min-h-0 overflow-y-auto px-4 py-4 text-sm",
100
+ className: "flex-1 min-h-0 overflow-y-auto px-4 py-4 type-body",
101
101
  children: detailsItem.details
102
102
  })]
103
103
  }, detailsItem.id)
@@ -116,7 +116,7 @@ var SLIDE_TRANSITION = {
116
116
  ]
117
117
  };
118
118
  function MobileMenuItemTrigger({ item, isActive, onClick, linkComponent, colorClasses }) {
119
- const classes = cn("flex items-center gap-2 min-w-0 w-full px-4 h-11 text-sm font-medium", "text-foreground transition-colors", colorClasses ? colorClasses.hoverBgClass : "hover:bg-foreground/5", isActive && colorClasses && `${colorClasses.textClass} ${colorClasses.bgClass}`, item.disabled && "opacity-50 pointer-events-none");
119
+ const classes = cn("flex items-center gap-2 min-w-0 w-full px-4 h-11 type-label", "text-foreground transition-colors", colorClasses ? colorClasses.hoverBgClass : "hover:bg-foreground/5", isActive && colorClasses && `${colorClasses.textClass} ${colorClasses.bgClass}`, item.disabled && "opacity-50 pointer-events-none");
120
120
  const activeStyle = isActive && colorClasses?.textStyle ? {
121
121
  ...colorClasses.textStyle,
122
122
  ...colorClasses.bgStyle
@@ -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
  })