@espressif/dashboard-ui-components 1.12.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 (192) hide show
  1. package/.claude/rules/dashboard-ui-consumption.md +63 -2
  2. package/.cursor/rules/dashboard-ui-consumption.mdc +61 -3
  3. package/CHANGELOG.md +265 -0
  4. package/README.md +59 -8
  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 +49 -41
  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/floating-window/_hooks/use-drag-move.js +1 -0
  47. package/dist/components/floating-window/_hooks/use-resize.js +133 -0
  48. package/dist/components/floating-window/floating-window.js +67 -40
  49. package/dist/components/floating-window/index.d.ts +21 -2
  50. package/dist/components/fullscreen-dialog/fullscreen-dialog.js +1 -1
  51. package/dist/components/gradient-ring-button/_hooks/use-ring-geometry.js +116 -0
  52. package/dist/components/gradient-ring-button/gradient-ring-button.js +44 -0
  53. package/dist/components/gradient-ring-button/gradient-ring.js +77 -0
  54. package/dist/components/gradient-ring-button/index.d.ts +66 -0
  55. package/dist/components/gradient-ring-button/index.js +3 -0
  56. package/dist/components/horizontal-stepper/horizontal-stepper.js +2 -6
  57. package/dist/components/horizontal-stepper/index.d.ts +2 -2
  58. package/dist/components/icon-avatar/index.d.ts +3 -3
  59. package/dist/components/icon-text-action-card/index.d.ts +4 -4
  60. package/dist/components/index.d.ts +14 -8
  61. package/dist/components/index.js +15 -6
  62. package/dist/components/key-value-manager/key-value-manager-add-popover.js +1 -1
  63. package/dist/components/key-value-manager/key-value-manager-table.js +1 -1
  64. package/dist/components/keyframes/index.d.ts +53 -0
  65. package/dist/components/keyframes/index.js +3 -0
  66. package/dist/components/keyframes/keyframes-motion.js +23 -0
  67. package/dist/components/keyframes/keyframes.js +37 -0
  68. package/dist/components/link/link.js +7 -7
  69. package/dist/components/list/list-item.utils.js +5 -4
  70. package/dist/components/list/list.js +1 -1
  71. package/dist/components/list-details/index.d.ts +2 -2
  72. package/dist/components/markdown-content/markdown-content.components.js +2 -2
  73. package/dist/components/media-card/media-card-reveal.js +2 -2
  74. package/dist/components/media-card/media-card.js +2 -2
  75. package/dist/components/monospace-content/index.d.ts +4 -4
  76. package/dist/components/monospace-content/monospace-content.js +9 -11
  77. package/dist/components/nav-bar/nav-bar-mobile-menu.js +3 -3
  78. package/dist/components/nav-bar/nav-bar.js +4 -4
  79. package/dist/components/notice-strip/notice-strip.js +1 -1
  80. package/dist/components/option-card-group/option-card-group.js +2 -2
  81. package/dist/components/overflow-badge-list/index.d.ts +2 -2
  82. package/dist/components/overflow-badge-list/overflow-badge-list.js +3 -3
  83. package/dist/components/page-banner/page-banner.js +1 -1
  84. package/dist/components/page-container/page-container.js +1 -1
  85. package/dist/components/pagination/pagination.js +1 -1
  86. package/dist/components/progress-bar/progress-bar.js +2 -2
  87. package/dist/components/qr-code/index.d.ts +26 -0
  88. package/dist/components/qr-code/index.js +2 -0
  89. package/dist/components/qr-code/qr-code.js +69 -0
  90. package/dist/components/radio-group/radio-group.js +3 -3
  91. package/dist/components/range-field/index.d.ts +45 -0
  92. package/dist/components/range-field/index.js +2 -0
  93. package/dist/components/range-field/range-field.js +161 -0
  94. package/dist/components/readout/readout.js +1 -1
  95. package/dist/components/requirement-list/requirement-list.js +5 -10
  96. package/dist/components/reveal/index.d.ts +6 -3
  97. package/dist/components/reveal/reveal.js +7 -4
  98. package/dist/components/scrollable-sections/scrollable-sections.js +1 -1
  99. package/dist/components/search-box/index.d.ts +3 -1
  100. package/dist/components/search-box/search-box.js +7 -12
  101. package/dist/components/search-field-shell.js +8 -8
  102. package/dist/components/selectable-card-list/selectable-card-list-shared.js +6 -6
  103. package/dist/components/showcase-card/index.d.ts +14 -3
  104. package/dist/components/showcase-card/showcase-card.js +43 -2
  105. package/dist/components/sidebar/sidebar.js +13 -15
  106. package/dist/components/simple-clickable-card/index.d.ts +4 -4
  107. package/dist/components/simple-clickable-card/simple-clickable-card-shared.js +19 -23
  108. package/dist/components/simple-info-card/index.d.ts +3 -3
  109. package/dist/components/simple-list/index.d.ts +1 -1
  110. package/dist/components/simple-list/simple-list.js +8 -8
  111. package/dist/components/simple-paginated-list/simple-paginated-list.js +1 -4
  112. package/dist/components/stat-card/stat-card.js +7 -13
  113. package/dist/components/status-badge/index.d.ts +3 -3
  114. package/dist/components/status-badge/status-badge.js +4 -4
  115. package/dist/components/status-card-list/status-card-list.js +6 -6
  116. package/dist/components/step-tabs/index.d.ts +1 -1
  117. package/dist/components/tag/index.d.ts +1 -1
  118. package/dist/components/tag/tag.js +4 -4
  119. package/dist/components/tag-input/tag-input.js +12 -12
  120. package/dist/components/timeline/timeline.js +2 -2
  121. package/dist/components/toast/index.d.ts +1 -1
  122. package/dist/components/toast/toast.js +2 -2
  123. package/dist/components/toolbar/index.d.ts +5 -2
  124. package/dist/components/toolbar/toolbar-button.js +1 -1
  125. package/dist/components/toolbar/toolbar.js +9 -3
  126. package/dist/components/trace/index.d.ts +49 -0
  127. package/dist/components/trace/index.js +2 -0
  128. package/dist/components/trace/trace.js +109 -0
  129. package/dist/components/transfer-list/transfer-list.js +2 -2
  130. package/dist/components/typography/index.d.ts +12 -3
  131. package/dist/components/typography/typography-variants.js +98 -13
  132. package/dist/components/typography/typography.js +4 -2
  133. package/dist/components/user-type-badge/user-type-badge.js +4 -4
  134. package/dist/components/vertical-stepper/index.d.ts +2 -2
  135. package/dist/components/vertical-stepper/vertical-stepper.js +18 -11
  136. package/dist/core/alert.js +3 -3
  137. package/dist/core/animate-ui/components/animate/code-header.js +1 -1
  138. package/dist/core/animate-ui/components/animate/code.js +1 -1
  139. package/dist/core/animate-ui/components/animate/tabs.js +6 -6
  140. package/dist/core/animate-ui/components/animate/tooltip.js +1 -1
  141. package/dist/core/animate-ui/components/base/progress.js +2 -2
  142. package/dist/core/animate-ui/components/radix/accordion.js +2 -2
  143. package/dist/core/animate-ui/components/radix/dialog.js +2 -2
  144. package/dist/core/animate-ui/components/radix/dropdown-menu.js +6 -6
  145. package/dist/core/animate-ui/components/radix/sheet.js +2 -2
  146. package/dist/core/animate-ui/components/radix/sidebar.js +8 -8
  147. package/dist/core/animate-ui/components/radix/toggle.js +1 -1
  148. package/dist/core/badge.js +1 -1
  149. package/dist/core/breadcrumb.js +1 -1
  150. package/dist/core/button/button.js +2 -2
  151. package/dist/core/button-group.js +1 -1
  152. package/dist/core/button.js +2 -2
  153. package/dist/core/card.js +2 -2
  154. package/dist/core/combobox/combobox.js +3 -3
  155. package/dist/core/command.js +5 -5
  156. package/dist/core/field-label-row.js +4 -4
  157. package/dist/core/form.js +2 -2
  158. package/dist/core/index.d.ts +1 -1
  159. package/dist/core/input/input.js +11 -11
  160. package/dist/core/input-otp/input-otp.js +12 -12
  161. package/dist/core/label.js +1 -1
  162. package/dist/core/select.js +6 -6
  163. package/dist/core/separator.js +1 -1
  164. package/dist/core/table.js +2 -2
  165. package/dist/core/textarea/textarea.js +9 -9
  166. package/dist/{icon-avatar.props-RYtw2eSW.d.ts → icon-avatar.props-BJe0-vva.d.ts} +1 -1
  167. package/dist/{icon-text-action-card.props-B2ggncUK.d.ts → icon-text-action-card.props-BU7yFi2Q.d.ts} +2 -2
  168. package/dist/index.d.ts +14 -8
  169. package/dist/index.js +16 -7
  170. package/dist/layouts/entry-layout/entry-layout.js +1 -1
  171. package/dist/layouts/index.d.ts +21 -6
  172. package/dist/layouts/index.js +1 -1
  173. package/dist/layouts/minimal-workspace-layout/minimal-workspace-layout.js +10 -18
  174. package/dist/layouts/minimal-workspace-layout/sidebar-trigger.js +35 -7
  175. package/dist/layouts/workspace-layout/footer/footer.js +1 -1
  176. package/dist/markdown/index.d.ts +4 -4
  177. package/dist/{section-card-B7c5uc08.d.ts → section-card-DqQeQkzU.d.ts} +1 -1
  178. package/dist/{simple-clickable-card.props-BrPCw7CR.d.ts → simple-clickable-card.props-BhhotZMp.d.ts} +2 -2
  179. package/dist/{status-badge.props-lKlEOfRt.d.ts → status-badge.props-BVe8CmQZ.d.ts} +1 -1
  180. package/dist/styles/type-scale.js +153 -0
  181. package/dist/tailwind-preset.js +120 -1
  182. package/dist/toast/index.d.ts +1 -1
  183. package/dist/utils/cn.js +16 -5
  184. package/dist/utils/index.d.ts +31 -2
  185. package/dist/utils/index.js +2 -1
  186. package/dist/utils/variant.js +47 -47
  187. package/dist/{variant-D81RhpbR.d.ts → variant-DjdaxfIA.d.ts} +6 -1
  188. package/dist/{vertical-stepper.props-BXYcbW70.d.ts → vertical-stepper.props-DONJJXIy.d.ts} +1 -0
  189. package/package.json +9 -1
  190. package/src/styles/theme.css +23 -3
  191. package/src/styles/type-scale.css +152 -0
  192. package/tailwind.preset.ts +23 -0
@@ -5,9 +5,9 @@ import * as React$1 from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region src/core/input/input.tsx
7
7
  var sizeClasses = {
8
- sm: "h-[var(--espd-control-height-sm,calc(var(--spacing)*8))] px-2 text-xs",
9
- default: "h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] px-3 py-2 text-base md:text-sm",
10
- lg: "h-12 px-4 text-lg"
8
+ sm: "h-[var(--espd-control-height-sm,calc(var(--spacing)*8))] px-2 type-input",
9
+ default: "h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] px-3 py-2 type-input",
10
+ lg: "h-12 px-4 type-input"
11
11
  };
12
12
  /**
13
13
  * An add-on segment beside the field. A text add-on is a padded box. An
@@ -19,7 +19,7 @@ var sizeClasses = {
19
19
  */
20
20
  function addOnClassName(side, action, full) {
21
21
  const start = side === "start";
22
- return cn("border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background", start ? "-me-px" : "-ms-px", start && (full ? "rounded-s-full" : "rounded-s-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-lg)))]"), !start && (full ? "rounded-e-full" : "rounded-e-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-lg)))]"), action ? "relative flex shrink-0 overflow-hidden has-[:focus-visible]:z-20 has-[:focus-visible]:border-ring [&>*]:h-auto! [&>*]:self-stretch [&>*]:rounded-none! [&>*]:px-3! [&>*]:shadow-none! [&>*:focus-visible]:ring-1! [&>*:focus-visible]:ring-inset! [&>*:focus-visible]:ring-offset-0!" : "inline-flex items-center px-3 text-sm text-muted-foreground");
22
+ return cn("border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background", start ? "-me-px" : "-ms-px", start && (full ? "rounded-s-full" : "rounded-s-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-lg)))]"), !start && (full ? "rounded-e-full" : "rounded-e-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-lg)))]"), action ? "relative flex shrink-0 overflow-hidden has-[:focus-visible]:z-20 has-[:focus-visible]:border-ring [&>*]:h-auto! [&>*]:self-stretch [&>*]:rounded-none! [&>*]:px-3! [&>*]:shadow-none! [&>*:focus-visible]:ring-1! [&>*:focus-visible]:ring-inset! [&>*:focus-visible]:ring-offset-0!" : "inline-flex items-center px-3 type-input text-muted-foreground");
23
23
  }
24
24
  var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHelperContent, endHelperContent, hintContent, error, errorContent, startIcon, endIcon, startAddOnContent, endAddOnContent, startAddOn, endAddOn, startAddOnAction, endAddOnAction, floatingLabel, charLimit, onChange, value, defaultValue, id, required, placeholder, radius, border, style, ...restProps }, ref) => {
25
25
  const autoId = React$1.useId();
@@ -41,7 +41,7 @@ var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHe
41
41
  if (!(label !== void 0 || size !== void 0 || rounded !== void 0 || startHelperContent !== void 0 || endHelperContent !== void 0 || hintContent !== void 0 || error !== void 0 || errorContent !== void 0 || startIcon !== void 0 || endIcon !== void 0 || startAddOnContent !== void 0 || endAddOnContent !== void 0 || startAddOn !== void 0 || endAddOn !== void 0 || startAddOnAction !== void 0 || endAddOnAction !== void 0 || floatingLabel !== void 0 || charLimit !== void 0)) return /* @__PURE__ */ jsx("input", {
42
42
  type,
43
43
  id,
44
- className: cn("flex h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] w-full rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))] border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background px-3 py-2 text-base ring-offset-background transition-[box-shadow,border-color] duration-[var(--espd-duration-normal,200ms)] ease-in-out file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 read-only:bg-muted md:text-sm", className),
44
+ className: cn("flex h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] w-full rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))] border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background px-3 py-2 type-input ring-offset-background transition-[box-shadow,border-color] duration-[var(--espd-duration-normal,200ms)] ease-in-out file:border-0 file:bg-transparent file:type-label file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 read-only:bg-muted", className),
45
45
  ref,
46
46
  onChange,
47
47
  value,
@@ -77,7 +77,7 @@ var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHe
77
77
  type,
78
78
  id: inputId,
79
79
  ref,
80
- className: cn("flex w-full border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background ring-offset-background transition-[box-shadow,border-color] duration-[var(--espd-duration-normal,200ms)] ease-in-out file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 read-only:bg-muted z-10", floatingLabel ? "h-12 px-3 pt-4 pb-1 text-base md:text-sm" : sizeClasses[effectiveSize], rounded && radius === void 0 ? "rounded-full" : "rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))]", hasError && "border-destructive focus-visible:ring-destructive", startIcon && "ps-9", endIcon && "pe-9", charLimit !== void 0 && !endIcon && "pe-14", charLimit !== void 0 && endIcon && "pe-20", startAddOnNode != null && "rounded-s-none shadow-none", endAddOnNode != null && "rounded-e-none shadow-none", hasAddOn && "focus-visible:ring-0 focus-visible:ring-offset-0", "peer", floatingLabel && "placeholder:text-transparent", className),
80
+ className: cn("flex w-full border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background ring-offset-background transition-[box-shadow,border-color] duration-[var(--espd-duration-normal,200ms)] ease-in-out file:border-0 file:bg-transparent file:type-label file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 read-only:bg-muted z-10", floatingLabel ? "h-12 px-3 pt-4 pb-1 type-input" : sizeClasses[effectiveSize], rounded && radius === void 0 ? "rounded-full" : "rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))]", hasError && "border-destructive focus-visible:ring-destructive", startIcon && "ps-9", endIcon && "pe-9", charLimit !== void 0 && !endIcon && "pe-14", charLimit !== void 0 && endIcon && "pe-20", startAddOnNode != null && "rounded-s-none shadow-none", endAddOnNode != null && "rounded-e-none shadow-none", hasAddOn && "focus-visible:ring-0 focus-visible:ring-offset-0", "peer", floatingLabel && "placeholder:text-transparent", className),
81
81
  required,
82
82
  "aria-invalid": hasError || void 0,
83
83
  "aria-describedby": describedBy,
@@ -101,7 +101,7 @@ var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHe
101
101
  (endIcon || charLimit !== void 0) && /* @__PURE__ */ jsxs("div", {
102
102
  className: "pointer-events-none absolute inset-y-0 end-0 flex items-center justify-center gap-2 pe-3 text-muted-foreground/80 peer-disabled:opacity-50",
103
103
  children: [charLimit !== void 0 && /* @__PURE__ */ jsxs("span", {
104
- className: "text-xs tabular-nums text-muted-foreground",
104
+ className: "type-caption tabular-nums text-muted-foreground",
105
105
  children: [
106
106
  charCount,
107
107
  "/",
@@ -111,7 +111,7 @@ var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHe
111
111
  }),
112
112
  floatingLabel && label && /* @__PURE__ */ jsxs("label", {
113
113
  htmlFor: inputId,
114
- className: "absolute start-2 top-0 z-10 block -translate-y-1/2 bg-background px-2 text-xs font-medium text-foreground/70 transition-all peer-placeholder-shown:top-1/2 peer-placeholder-shown:text-sm peer-placeholder-shown:font-normal peer-focus:top-0 peer-focus:text-xs peer-focus:font-medium",
114
+ className: "absolute start-2 top-0 z-10 block -translate-y-1/2 bg-background px-2 type-caption font-medium text-foreground/70 transition-all peer-placeholder-shown:top-1/2 peer-placeholder-shown:type-input peer-placeholder-shown:font-normal peer-focus:top-0 peer-focus:type-caption peer-focus:font-medium",
115
115
  children: [label, required && /* @__PURE__ */ jsx("span", {
116
116
  className: "text-destructive",
117
117
  children: " *"
@@ -152,17 +152,17 @@ var Input = React$1.forwardRef(({ className, type, label, size, rounded, startHe
152
152
  inputContainer,
153
153
  errorContent && /* @__PURE__ */ jsx("div", {
154
154
  id: `${inputId}-error`,
155
- className: "text-sm text-destructive",
155
+ className: "type-caption text-destructive",
156
156
  children: errorContent
157
157
  }),
158
158
  startHelperContent && !errorContent && /* @__PURE__ */ jsx("div", {
159
159
  id: helperStartId,
160
- className: "text-sm text-muted-foreground",
160
+ className: "type-caption text-muted-foreground",
161
161
  children: startHelperContent
162
162
  }),
163
163
  endHelperContent && !errorContent && /* @__PURE__ */ jsx("div", {
164
164
  id: helperEndId,
165
- className: "text-sm text-end text-muted-foreground",
165
+ className: "type-caption text-end text-muted-foreground",
166
166
  children: endHelperContent
167
167
  })
168
168
  ]
@@ -11,15 +11,15 @@ var LENGTH_MIN = 2;
11
11
  var LENGTH_MAX = 12;
12
12
  var LENGTH_DEFAULT = 6;
13
13
  var slotSizeClasses = {
14
- sm: "h-8 w-8 text-xs",
15
- default: "h-10 w-10 text-base md:text-sm",
16
- lg: "h-12 w-12 text-lg"
14
+ sm: "h-8 w-8 type-input",
15
+ default: "h-10 w-10 type-input",
16
+ lg: "h-12 w-12 type-input"
17
17
  };
18
- /** Expanded mode: keep the height and font size but let the slot flex-grow. */
18
+ /** Expanded mode: keep the height and text role but let the slot flex-grow. */
19
19
  var slotExpandedSizeClasses = {
20
- sm: "h-8 text-xs",
21
- default: "h-10 text-base md:text-sm",
22
- lg: "h-12 text-lg"
20
+ sm: "h-8 type-input",
21
+ default: "h-10 type-input",
22
+ lg: "h-12 type-input"
23
23
  };
24
24
  /**
25
25
  * Standalone visual divider used between OTP slot groups. Exported for callers
@@ -120,12 +120,12 @@ var InputOTP = React$1.forwardRef(({ length, allowAlphaNumeric, regex, separator
120
120
  children: "*"
121
121
  })]
122
122
  }), hintContent && /* @__PURE__ */ jsx("span", {
123
- className: "text-sm text-muted-foreground",
123
+ className: "type-caption text-muted-foreground",
124
124
  children: hintContent
125
125
  })]
126
126
  }),
127
127
  !label && hintContent && /* @__PURE__ */ jsx("span", {
128
- className: "text-sm text-muted-foreground",
128
+ className: "type-caption text-muted-foreground",
129
129
  children: hintContent
130
130
  }),
131
131
  /* @__PURE__ */ jsx(OTPInput, {
@@ -166,17 +166,17 @@ var InputOTP = React$1.forwardRef(({ length, allowAlphaNumeric, regex, separator
166
166
  }),
167
167
  errorContent && /* @__PURE__ */ jsx("div", {
168
168
  id: `${inputId}-error`,
169
- className: "text-sm text-destructive",
169
+ className: "type-caption text-destructive",
170
170
  children: errorContent
171
171
  }),
172
172
  startHelperContent && !errorContent && /* @__PURE__ */ jsx("div", {
173
173
  id: helperStartId,
174
- className: "text-sm text-muted-foreground",
174
+ className: "type-caption text-muted-foreground",
175
175
  children: startHelperContent
176
176
  }),
177
177
  endHelperContent && !errorContent && /* @__PURE__ */ jsx("div", {
178
178
  id: helperEndId,
179
- className: "text-sm text-end text-muted-foreground",
179
+ className: "type-caption text-end text-muted-foreground",
180
180
  children: endHelperContent
181
181
  })
182
182
  ]
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
  import { cva } from "class-variance-authority";
5
5
  import * as LabelPrimitive from "@radix-ui/react-label";
6
6
  //#region src/core/label.tsx
7
- var labelVariants = cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
7
+ var labelVariants = cva("type-label leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");
8
8
  var Label = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(LabelPrimitive.Root, {
9
9
  ref,
10
10
  className: cn(labelVariants(), className),
@@ -10,9 +10,9 @@ var Select = SelectPrimitive.Root;
10
10
  var SelectGroup = SelectPrimitive.Group;
11
11
  var SelectValue = SelectPrimitive.Value;
12
12
  var triggerSizeClasses = {
13
- sm: "h-[var(--espd-control-height-sm,calc(var(--spacing)*8))] px-3 text-xs",
14
- default: "h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] px-3.5 py-2 text-base md:text-sm",
15
- lg: "h-12 px-5 text-lg"
13
+ sm: "h-[var(--espd-control-height-sm,calc(var(--spacing)*8))] px-3 type-input",
14
+ default: "h-[var(--espd-control-height-lg,calc(var(--spacing)*10))] px-3.5 py-2 type-input",
15
+ lg: "h-12 px-5 type-input"
16
16
  };
17
17
  /**
18
18
  * Fixed 16px like the decorators inside `Input` (`startIcon` / `endIcon`
@@ -66,7 +66,7 @@ var SelectTrigger = React$1.forwardRef(({ className, children, size = "default",
66
66
  trigger,
67
67
  errorContent && /* @__PURE__ */ jsx("div", {
68
68
  id: errorId,
69
- className: "text-sm text-destructive",
69
+ className: "type-caption text-destructive",
70
70
  children: errorContent
71
71
  })
72
72
  ]
@@ -128,13 +128,13 @@ var SelectContent = React$1.forwardRef(({ className, children, position = "poppe
128
128
  SelectContent.displayName = SelectPrimitive.Content.displayName;
129
129
  var SelectLabel = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Label, {
130
130
  ref,
131
- className: cn("px-2.5 py-2 text-sm font-semibold", className),
131
+ className: cn("px-2.5 py-2 type-subheading", className),
132
132
  ...props
133
133
  }));
134
134
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
135
135
  var SelectItem = React$1.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SelectPrimitive.Item, {
136
136
  ref,
137
- className: cn("relative flex w-full cursor-default select-none items-center rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-sm)))] py-2 pl-2.5 pr-9 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className),
137
+ className: cn("relative flex w-full cursor-default select-none items-center rounded-[var(--espd-own-radius,var(--espd-radius-item,var(--radius-sm)))] py-2 pl-2.5 pr-9 type-label outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className),
138
138
  ...props,
139
139
  children: [/* @__PURE__ */ jsx("span", {
140
140
  className: "absolute right-2.5 flex h-3.5 w-3.5 items-center justify-center",
@@ -25,7 +25,7 @@ var Separator = React$1.forwardRef(({ className, orientation = "horizontal", dec
25
25
  className: cn("shrink-0 bg-border flex-1", isHorizontal ? "h-[1px]" : "w-[1px]")
26
26
  }),
27
27
  /* @__PURE__ */ jsx("span", {
28
- className: cn("text-xs font-medium text-muted-foreground shrink-0 select-none", !isHorizontal && stackLabel && "[writing-mode:vertical-lr] [text-orientation:upright]", labelClassName),
28
+ className: cn("type-caption font-medium text-muted-foreground shrink-0 select-none", !isHorizontal && stackLabel && "[writing-mode:vertical-lr] [text-orientation:upright]", labelClassName),
29
29
  children: label
30
30
  }),
31
31
  /* @__PURE__ */ jsx("div", {
@@ -10,7 +10,7 @@ var Table = React$1.forwardRef(({ className, containerRef, containerClassName, d
10
10
  className: cn("relative w-full overflow-auto", containerClassName),
11
11
  children: /* @__PURE__ */ jsx("table", {
12
12
  ref,
13
- className: cn("w-full caption-bottom text-sm", className),
13
+ className: cn("w-full caption-bottom type-body", className),
14
14
  ...props
15
15
  })
16
16
  }));
@@ -53,7 +53,7 @@ var TableCell = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE_
53
53
  TableCell.displayName = "TableCell";
54
54
  var TableCaption = React$1.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("caption", {
55
55
  ref,
56
- className: cn("mt-4 text-sm text-muted-foreground", className),
56
+ className: cn("mt-4 type-body text-muted-foreground", className),
57
57
  ...props
58
58
  }));
59
59
  TableCaption.displayName = "TableCaption";
@@ -3,11 +3,11 @@ import { useStyleAxes } from "../../utils/style-axes.js";
3
3
  import * as React$1 from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region src/core/textarea/textarea.tsx
6
- var labelClasses = "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50";
6
+ var labelClasses = "flex items-center gap-2 type-label leading-none select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50";
7
7
  var sizeClasses = {
8
- sm: "min-h-[60px] px-2 py-1.5 text-xs",
9
- default: "min-h-[80px] px-3 py-2 text-base md:text-sm",
10
- lg: "min-h-[100px] px-4 py-3 text-lg"
8
+ sm: "min-h-[60px] px-2 py-1.5 type-input",
9
+ default: "min-h-[80px] px-3 py-2 type-input",
10
+ lg: "min-h-[100px] px-4 py-3 type-input"
11
11
  };
12
12
  var Textarea = React$1.forwardRef(({ className, label, size = "default", hintContent, error, errorContent, charLimit, onChange, value, defaultValue, id, required, placeholder, radius, border, style, ...restProps }, ref) => {
13
13
  const autoId = React$1.useId();
@@ -51,7 +51,7 @@ var Textarea = React$1.forwardRef(({ className, label, size = "default", hintCon
51
51
  if (!hasEnhancedProps) return /* @__PURE__ */ jsx("textarea", {
52
52
  ref,
53
53
  id,
54
- className: cn("flex min-h-[60px] w-full rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))] border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background px-3 py-2 text-base ring-offset-background transition-[box-shadow,border-color] duration-200 ease-in-out placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm resize-y", className),
54
+ className: cn("flex min-h-[60px] w-full rounded-[var(--espd-own-radius,var(--espd-radius-control,var(--radius-md)))] border-[length:var(--espd-own-border-width,var(--espd-border-width-control,1px))] border-input bg-background px-3 py-2 type-input ring-offset-background transition-[box-shadow,border-color] duration-200 ease-in-out placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 resize-y", className),
55
55
  required,
56
56
  placeholder,
57
57
  value,
@@ -73,18 +73,18 @@ var Textarea = React$1.forwardRef(({ className, label, size = "default", hintCon
73
73
  children: "*"
74
74
  })]
75
75
  }), hintContent != null && /* @__PURE__ */ jsx("span", {
76
- className: "text-sm text-muted-foreground",
76
+ className: "type-caption text-muted-foreground",
77
77
  children: hintContent
78
78
  })]
79
79
  }),
80
80
  !label && hintContent != null && /* @__PURE__ */ jsx("span", {
81
- className: "text-sm text-muted-foreground",
81
+ className: "type-caption text-muted-foreground",
82
82
  children: hintContent
83
83
  }),
84
84
  /* @__PURE__ */ jsxs("div", {
85
85
  className: "relative",
86
86
  children: [textareaElement, charLimit !== void 0 && /* @__PURE__ */ jsxs("div", {
87
- className: "absolute bottom-2 end-2 text-xs tabular-nums text-muted-foreground pointer-events-none",
87
+ className: "absolute bottom-2 end-2 type-caption tabular-nums text-muted-foreground pointer-events-none",
88
88
  children: [
89
89
  charCount,
90
90
  "/",
@@ -94,7 +94,7 @@ var Textarea = React$1.forwardRef(({ className, label, size = "default", hintCon
94
94
  }),
95
95
  errorContent != null && /* @__PURE__ */ jsx("div", {
96
96
  id: `${textareaId}-error`,
97
- className: "text-sm text-destructive",
97
+ className: "type-caption text-destructive",
98
98
  children: errorContent
99
99
  })
100
100
  ]
@@ -1,6 +1,6 @@
1
1
  import { ReactNode, CSSProperties } from 'react';
2
2
  import { C as Color } from './index-BQANnKs9.js';
3
- import { f as Variant } from './variant-D81RhpbR.js';
3
+ import { f as Variant } from './variant-DjdaxfIA.js';
4
4
 
5
5
  type IconAvatarVariant = "legacy" | Variant;
6
6
  interface IconAvatarRingProps {
@@ -1,8 +1,8 @@
1
1
  import { ButtonHTMLAttributes, ReactNode } from 'react';
2
2
  import { C as Color, S as Size } from './index-BQANnKs9.js';
3
- import { f as Variant } from './variant-D81RhpbR.js';
3
+ import { f as Variant } from './variant-DjdaxfIA.js';
4
4
  import { k as StyleAxisProps } from './style-axes-DSQ2DGc5.js';
5
- import { b as IconAvatarVariant } from './icon-avatar.props-RYtw2eSW.js';
5
+ import { b as IconAvatarVariant } from './icon-avatar.props-BJe0-vva.js';
6
6
 
7
7
  type IconTextActionCardVariant = Variant;
8
8
  type IconTextActionCardActionsPlacement = "auto" | "below";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { A as AppName, 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 './components/style-scope/index.js';
5
5
  export { TruncatedLineWithTooltip, TruncatedLineWithTooltipProps } from './components/truncated-line-with-tooltip/index.js';
@@ -34,7 +34,9 @@ export { ViewMode, ViewToggle, ViewToggleLabels, ViewToggleProps } from './compo
34
34
  export { Toolbar, ToolbarButton, ToolbarButtonProps, ToolbarProps } from './components/toolbar/index.js';
35
35
  export { AnchoredPanel, AnchoredPanelProps } from './components/anchored-panel/index.js';
36
36
  export { FloatingWindow, FloatingWindowPosition, FloatingWindowProps } from './components/floating-window/index.js';
37
+ export { BottomSheet, BottomSheetLabels, BottomSheetProps, SheetRest, settleSheet } from './components/bottom-sheet/index.js';
37
38
  export { NoticeStrip, NoticeStripProps, NoticeTone } from './components/notice-strip/index.js';
39
+ export { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleContentProps, TraceCollapsibleProps, TraceCollapsibleTrigger, TraceCollapsibleTriggerProps, TraceDescription, TraceDescriptionProps, TraceIcon, TraceIconProps, TraceLine, TraceLineProps, TraceProps, TraceStatus, TraceTitle, TraceTitleProps } from './components/trace/index.js';
38
40
  export { Readout, ReadoutProps, ReadoutSegment } from './components/readout/index.js';
39
41
  export { ChoiceCard, ChoiceCardProps } from './components/choice-card/index.js';
40
42
  export { ShowcaseCard, ShowcaseCardOpen, ShowcaseCardProps } from './components/showcase-card/index.js';
@@ -43,6 +45,9 @@ export { ActiveFilterTag, ActiveFilters, ActiveFiltersProps, FacetFilterGroup, F
43
45
  export { InputGroup, InputGroupAddon, InputGroupAddonProps, InputGroupProps, InputGroupTextarea, InputGroupTextareaProps } from './components/input-group/index.js';
44
46
  export { Bubble, BubbleProps } from './components/bubble/index.js';
45
47
  export { Reveal, RevealProps } from './components/reveal/index.js';
48
+ export { QrCode, QrCodeProps } from './components/qr-code/index.js';
49
+ export { RangeField, RangeFieldLabels, RangeFieldProps } from './components/range-field/index.js';
50
+ export { Keyframes, KeyframesMotion, KeyframesProps, easeOutSplines, keyTimes } from './components/keyframes/index.js';
46
51
  export { CheckBadge, CheckBadgeProps } from './components/check-badge/index.js';
47
52
  export { MessageScroller, MessageScrollerProps } from './components/message-scroller/index.js';
48
53
  export { ResizableGroup, ResizablePanel, ResizableSeparator } from './components/resizable/index.js';
@@ -52,7 +57,7 @@ export { RadioGroup, RadioGroupProps, RadioGroupSize, RadioOption } from './comp
52
57
  export { SelectableCardList, SelectableCardListElement, SelectableCardListItem, SelectableCardListMultiProps, SelectableCardListProps, SelectableCardListSingleProps, SelectableCardListSize } from './components/selectable-card-list/index.js';
53
58
  export { StatusCardList, StatusCardListItem, StatusCardListProps, StatusCardListSize, StatusCardState } from './components/status-card-list/index.js';
54
59
  export { VerticalStepper } from './components/vertical-stepper/index.js';
55
- export { V as VerticalStepperProps, a as VerticalStepperSize, b as VerticalStepperStep, c as VerticalStepperStepStatus } from './vertical-stepper.props-BXYcbW70.js';
60
+ export { V as VerticalStepperProps, a as VerticalStepperSize, b as VerticalStepperStep, c as VerticalStepperStepStatus } from './vertical-stepper.props-DONJJXIy.js';
56
61
  export { HorizontalStepper, HorizontalStepperAlign, HorizontalStepperProps, HorizontalStepperSemantics, HorizontalStepperSize, HorizontalStepperStep } from './components/horizontal-stepper/index.js';
57
62
  export { OptionCardGroup, OptionCardGroupItem, OptionCardGroupProps, OptionCardGroupTag } from './components/option-card-group/index.js';
58
63
  export { StepTabs, StepTabsProps, StepTabsSize, StepTabsStep, StepTabsVariant } from './components/step-tabs/index.js';
@@ -61,6 +66,7 @@ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScro
61
66
  export { B as Button, a as ButtonIconOnlyBreakpoint, b as ButtonProps } from './button-BxJ7s6sR.js';
62
67
  export { CopyButton, CopyButtonProps, FlashButton, FlashButtonProps, InvertButton, InvertButtonProps } from './components/button/index.js';
63
68
  export { ReactionButton, ReactionButtonProps } from './components/reaction-button/index.js';
69
+ export { GradientRing, GradientRingButton, GradientRingButtonProps, GradientRingProps } from './components/gradient-ring-button/index.js';
64
70
  export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from './components/button-group/index.js';
65
71
  export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './components/card/index.js';
66
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 './components/chart/index.js';
@@ -103,12 +109,12 @@ export { ShareMenu, ShareMenuLabels, ShareMenuProps, ShareTarget } from './compo
103
109
  export { Timeline, TimelineItem, TimelineLabels, TimelineProps } from './components/timeline/index.js';
104
110
  export { Identicon, IdenticonProps } from './components/identicon/index.js';
105
111
  export { IconAvatar } from './components/icon-avatar/index.js';
106
- 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';
107
113
  export { Illustration, IllustrationProps, IllustrationType, illustrationRegistry, illustrationsById, parseSvgViewBoxAspectRatio } from './components/illustration/index.js';
108
114
  export { Badge, BadgeProps, badgeVariants } from './components/badge/index.js';
109
115
  export { UserType, UserTypeBadge, UserTypeBadgeProps, UserTypeBadgeRegistryItem, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes } from './components/user-type-badge/index.js';
110
116
  export { StatusBadge, statusBadgeSizeVariants } from './components/status-badge/index.js';
111
- 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';
112
118
  export { Tag, TagProps } from './components/tag/index.js';
113
119
  export { TagInput, TagInputProps } from './components/tag-input/index.js';
114
120
  export { TransferItem, TransferList, TransferListProps } from './components/transfer-list/index.js';
@@ -128,7 +134,7 @@ export { RequirementList, RequirementListItem, RequirementListProps, Requirement
128
134
  export { SimpleList, SimpleListAvatarSize, SimpleListIconStyle, SimpleListItem, SimpleListItemDirection, SimpleListProps } from './components/simple-list/index.js';
129
135
  export { SimplePaginatedList, SimplePaginatedListItem, SimplePaginatedListProps, SimplePaginatedListSize } from './components/simple-paginated-list/index.js';
130
136
  export { Alert } from './components/alert/index.js';
131
- 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';
132
138
  export { Toast, ToastColor, ToastId, ToastInput, ToastOptions, ToastProps, ToastToasterProps, ToastType, ToastVariant, Toaster, toast } from './components/toast/index.js';
133
139
  export { MarkdownContent, MarkdownContentProps } from './components/markdown-content/index.js';
134
140
  export { MonospaceContent, MonospaceContentProps } from './components/monospace-content/index.js';
@@ -141,11 +147,11 @@ export { CircularProgress, CircularProgressProps } from './components/circular-p
141
147
  export { ProgressBar, ProgressBarProps, ProgressBarSegment } from './components/progress-bar/index.js';
142
148
  export { FullSizeError, FullSizeErrorProps, InlineError, InlineErrorProps } from './components/error-display/index.js';
143
149
  export { AnimatedCard, AnimatedCardProps, AnimatedCardType, BasicDetailsCard, BasicDetailsCardProps, CollapsibleCard, CollapsibleCardProps, NoDataCard, NoDataCardProps, SimpleCard, SimpleCardProps, animatedCardAnimations, animatedCardTypeKeys } from './components/cards/index.js';
144
- 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';
145
151
  export { IconTextActionCard } from './components/icon-text-action-card/index.js';
146
- 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';
147
153
  export { SimpleClickableCard } from './components/simple-clickable-card/index.js';
148
- 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';
149
155
  export { CategoryCard, CategoryCardProps } from './components/category-card/index.js';
150
156
  export { SimpleInfoCard, SimpleInfoCardProps } from './components/simple-info-card/index.js';
151
157
  export { GlitchText, GlitchTextProps, GradientText, GradientTextProps, HighlightText, HighlightTextProps, ShimmeringText, ShimmeringTextProps, parseTextMarkup } from './components/text-effects/index.js';
package/dist/index.js CHANGED
@@ -67,9 +67,17 @@ import { ToolbarButton } from "./components/toolbar/toolbar-button.js";
67
67
  import { Badge, badgeVariants } from "./core/badge.js";
68
68
  import { AnchoredPanel } from "./components/anchored-panel/anchored-panel.js";
69
69
  import { FloatingWindow } from "./components/floating-window/floating-window.js";
70
+ import { settleSheet } from "./components/bottom-sheet/_hooks/use-sheet-drag.js";
71
+ import { BottomSheet } from "./components/bottom-sheet/bottom-sheet.js";
70
72
  import { IconTextActionCard } from "./components/icon-text-action-card/icon-text-action-card.js";
71
73
  import { Alert } from "./components/alert/alert.js";
72
74
  import { NoticeStrip } from "./components/notice-strip/notice-strip.js";
75
+ import { GlitchText } from "./components/text-effects/glitch-effect/glitch-text.js";
76
+ import { GradientText } from "./components/text-effects/gradient-text/gradient-text.js";
77
+ import { HighlightText } from "./components/text-effects/highlight-text/highlight-text.js";
78
+ import { ShimmeringText } from "./components/text-effects/shimmer-text/shimmer-text.js";
79
+ import { parseTextMarkup } from "./components/text-effects/parse-text-markup.js";
80
+ import { Trace, TraceCollapsible, TraceCollapsibleContent, TraceCollapsibleTrigger, TraceDescription, TraceIcon, TraceLine, TraceTitle } from "./components/trace/trace.js";
73
81
  import { Readout } from "./components/readout/readout.js";
74
82
  import { ChoiceCard } from "./components/choice-card/choice-card.js";
75
83
  import { MediaCard, MediaCardAction, MediaCardBody, MediaCardFooter, MediaCardLink, MediaCardMedia, MediaCardMeta, MediaCardTitle } from "./components/media-card/media-card.js";
@@ -87,6 +95,10 @@ import { supportsViewTransitions, useFiltersCollapsed } from "./components/facet
87
95
  import { InputGroup, InputGroupAddon, InputGroupTextarea } from "./components/input-group/input-group.js";
88
96
  import { Bubble } from "./components/bubble/bubble.js";
89
97
  import { Reveal } from "./components/reveal/reveal.js";
98
+ import { QrCode } from "./components/qr-code/qr-code.js";
99
+ import { RangeField } from "./components/range-field/range-field.js";
100
+ import { KeyframesMotion, easeOutSplines, keyTimes } from "./components/keyframes/keyframes-motion.js";
101
+ import { Keyframes } from "./components/keyframes/keyframes.js";
90
102
  import { CheckBadge } from "./components/check-badge/check-badge.js";
91
103
  import { MessageScroller } from "./components/message-scroller/message-scroller.js";
92
104
  import { ResizableGroup } from "./components/resizable/resizable-group.js";
@@ -105,6 +117,8 @@ import { OptionCardGroup } from "./components/option-card-group/option-card-grou
105
117
  import { StepTabs } from "./components/step-tabs/step-tabs.js";
106
118
  import { StatCard } from "./components/stat-card/stat-card.js";
107
119
  import { ReactionButton } from "./components/reaction-button/reaction-button.js";
120
+ import { GradientRing } from "./components/gradient-ring-button/gradient-ring.js";
121
+ import { GradientRingButton } from "./components/gradient-ring-button/gradient-ring-button.js";
108
122
  import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants } from "./core/button-group.js";
109
123
  import { ChartContainer, ChartLegend, ChartLegendContent, ChartLegendList, ChartStyle, ChartTooltip, ChartTooltipContent } from "./components/chart/chart.js";
110
124
  import { CHART_CATEGORY_COLORS, CHART_SERIES_COLORS, DEFAULT_CHART_SERIES_COLORS, buildSeriesChartConfig, getChartSeriesColor } from "./components/chart/chart-colors.js";
@@ -176,11 +190,6 @@ import { InlineError } from "./components/error-display/inline-error/inline-erro
176
190
  import { SimpleClickableCard } from "./components/simple-clickable-card/simple-clickable-card.js";
177
191
  import { CategoryCard } from "./components/category-card/category-card.js";
178
192
  import { SimpleInfoCard } from "./components/simple-info-card/simple-info-card.js";
179
- import { GlitchText } from "./components/text-effects/glitch-effect/glitch-text.js";
180
- import { GradientText } from "./components/text-effects/gradient-text/gradient-text.js";
181
- import { HighlightText } from "./components/text-effects/highlight-text/highlight-text.js";
182
- import { ShimmeringText } from "./components/text-effects/shimmer-text/shimmer-text.js";
183
- import { parseTextMarkup } from "./components/text-effects/parse-text-markup.js";
184
193
  import { CodeEditor } from "./components/code-editor/code-editor.js";
185
194
  import { ContentContainer } from "./components/content-container/content-container.js";
186
195
  import PageContainer from "./components/page-container/page-container.js";
@@ -195,7 +204,7 @@ import Header from "./layouts/workspace-layout/header/header.js";
195
204
  import Footer from "./layouts/workspace-layout/footer/footer.js";
196
205
  import AccountMenu from "./layouts/workspace-layout/account-menu/account-menu.js";
197
206
  import WorkspaceLayout from "./layouts/workspace-layout/workspace-layout.js";
198
- import MinimalWorkspaceLayout from "./layouts/minimal-workspace-layout/minimal-workspace-layout.js";
199
207
  import { MinimalWorkspaceSidebarTrigger } from "./layouts/minimal-workspace-layout/sidebar-trigger.js";
208
+ import MinimalWorkspaceLayout from "./layouts/minimal-workspace-layout/minimal-workspace-layout.js";
200
209
  import EntryLayout from "./layouts/entry-layout/entry-layout.js";
201
- export { Accordion, AccountMenu, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AnimatedRainmakerLogo, AppLogo, 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, CopyrightCard, 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, EntryLayout, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, FooterCard, 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, 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, MinimalWorkspaceLayout, MinimalWorkspaceSidebarTrigger, MonospaceContent, MyAccountMenu, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, PageLoader, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProfileCard, ProgressBar, RADII, ROLLING_PRESET_IDS, RadioGroup, 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, 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, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, cn, computeDateRange, densityStyle, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useControlledState, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
210
+ export { Accordion, AccountMenu, ActiveFilters, AdvancedSearchBox, Alert, AnchoredPanel, AnimatedCard, AnimatedRainmakerLogo, AppLogo, 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, CopyrightCard, 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, EntryLayout, ExpandableText, FeatureGrid, FileInput, FileUpload, FilterGroup, FiltersBar, FiltersPanel, FiltersPill, FlashButton, FlipCard, FloatingWindow, FooterCard, 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, MinimalWorkspaceLayout, MinimalWorkspaceSidebarTrigger, MonospaceContent, MyAccountMenu, NavBar, NoDataCard, NoticeStrip, OptionCardGroup, OverflowBadgeList, PRESET_GRADIENT_BACKDROP, PRESET_GRADIENT_FRAME, PRESET_IDS, PRESET_LABELS, PageBanner, PageContainer, PageContainerSkeleton, PageLoader, Pagination, PopCollectionItem, Popover, PopoverAnchor, PopoverContent, PopoverGroup, PopoverTrigger, PreviewCard, PreviewCardBackdrop, PreviewCardPanel, PreviewCardTrigger, ProfileCard, 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, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout, animatedCardAnimations, animatedCardTypeKeys, arbitraryGradientBackgroundImage, badgeVariants, buildSeriesChartConfig, buttonGroupVariants, buttonVariants, cn, computeDateRange, densityStyle, easeOutSplines, getChartSeriesColor, illustrationRegistry, illustrationsById, isSidebarGroup, keyTimes, listStyleValues, listVariants, parseSvgViewBoxAspectRatio, parseTextMarkup, registerDensity, registerStyleValue, registerVariant, resolveDensity, resolveStyleValue, resolveVariantStyles, settleSheet, statusBadgeSizeVariants, supportsViewTransitions, toast, typographyDefaultElement, typographyVariantClasses, useControlledState, useFiltersCollapsed, useFormField, useIsMobile, usePanelFlag, useSidebar, useStyleAxes, userTypeBadgeRegistry, userTypeBadgeSizeVariants, userTypeBadgeUserTypes };
@@ -28,7 +28,7 @@ function EntryLayout({ appName, children, backgroundImageUrl, heading, darkMode,
28
28
  className: "flex-1 flex flex-col items-center justify-center main-content",
29
29
  children
30
30
  }), !hideFooter && /* @__PURE__ */ jsx("div", {
31
- className: "shrink-0 text-center text-xs text-muted-foreground footer-card-wrapper py-10",
31
+ className: "shrink-0 text-center type-caption text-muted-foreground footer-card-wrapper py-10",
32
32
  children: /* @__PURE__ */ jsx(FooterCard, {})
33
33
  })] })]
34
34
  })
@@ -220,7 +220,10 @@ interface MinimalWorkspaceLayoutLabels {
220
220
  expandSidebar?: string;
221
221
  /** Collapse button beside the expanded logo. Default "Collapse sidebar". */
222
222
  collapseSidebar?: string;
223
- /** Menu button in the mobile top bar. Default "Open menu". */
223
+ /**
224
+ * Menu button in the mobile top bar, or `MinimalWorkspaceSidebarTrigger` on
225
+ * mobile with `hideMobileTopBar`. Default "Open menu".
226
+ */
224
227
  openMenu?: string;
225
228
  /**
226
229
  * `MinimalWorkspaceSidebarTrigger` while a `hideWhenCollapsed` sidebar is
@@ -248,10 +251,20 @@ interface MinimalWorkspaceLayoutProps extends Omit<WorkspaceLayoutProps, "sideba
248
251
  headerConfig?: WorkspaceHeaderConfig;
249
252
  /**
250
253
  * Floats over the main content at its top-right corner (desktop); sits at the
251
- * end of the top bar on mobile. Any node. It catches pointer events only on
252
- * itself, not on the space around it.
254
+ * end of the top bar on mobile, or floats there too with `hideMobileTopBar`.
255
+ * Any node. It catches pointer events only on itself, not on the space
256
+ * around it.
253
257
  */
254
258
  topRightContent?: ReactNode;
259
+ /**
260
+ * On mobile, draw no top bar (menu button, mobile logo, `topRightContent`)
261
+ * above the content: for a page that has a toolbar of its own, so a phone
262
+ * does not show two bars. The page then carries the way into the
263
+ * navigation: a `MinimalWorkspaceSidebarTrigger` in its toolbar becomes the
264
+ * menu button on mobile (opens the menu sheet, `labels.openMenu`).
265
+ * `topRightContent` floats over the content as on desktop. Default false.
266
+ */
267
+ hideMobileTopBar?: boolean;
255
268
  /**
256
269
  * Whether the sidebar starts expanded when uncontrolled. **Defaults to
257
270
  * `false`** (WorkspaceLayout's defaults to `true`).
@@ -274,9 +287,11 @@ type MinimalWorkspaceSidebarTriggerProps = Omit<ComponentProps<typeof Button>, "
274
287
  /**
275
288
  * A button that opens the sidebar inline and closes it again: the app's own
276
289
  * handle on a `hideWhenCollapsed` sidebar, usually placed in `topRightContent`
277
- * (it also expands and collapses the icon rail). Must render inside
278
- * `MinimalWorkspaceLayout`. Renders nothing when the sidebar is not
279
- * `expandable`, and on mobile, where the top bar has its own menu button.
290
+ * or the page's own toolbar (it also expands and collapses the icon rail).
291
+ * Must render inside `MinimalWorkspaceLayout`. On desktop it renders nothing
292
+ * when the sidebar is not `expandable`. On mobile it renders nothing while the
293
+ * layout's top bar carries the menu button; with `hideMobileTopBar` it is that
294
+ * menu button, opening the menu sheet.
280
295
  */
281
296
  declare function MinimalWorkspaceSidebarTrigger({ className, ...props }: MinimalWorkspaceSidebarTriggerProps): React.JSX.Element | null;
282
297
 
@@ -3,7 +3,7 @@ import Header from "./workspace-layout/header/header.js";
3
3
  import Footer from "./workspace-layout/footer/footer.js";
4
4
  import AccountMenu from "./workspace-layout/account-menu/account-menu.js";
5
5
  import WorkspaceLayout from "./workspace-layout/workspace-layout.js";
6
- import MinimalWorkspaceLayout from "./minimal-workspace-layout/minimal-workspace-layout.js";
7
6
  import { MinimalWorkspaceSidebarTrigger } from "./minimal-workspace-layout/sidebar-trigger.js";
7
+ import MinimalWorkspaceLayout from "./minimal-workspace-layout/minimal-workspace-layout.js";
8
8
  import EntryLayout from "./entry-layout/entry-layout.js";
9
9
  export { AccountMenu, EntryLayout, MinimalWorkspaceLayout, MinimalWorkspaceSidebarTrigger, Footer as WorkspaceFooter, Header as WorkspaceHeader, WorkspaceLayout, isSidebarGroup };