@tangle-network/ui 11.44.0 → 11.45.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 (304) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/_virtual/_rolldown/runtime.js +1 -2
  3. package/dist/auth/auth.d.ts +1 -3
  4. package/dist/auth/auth.js +1 -2
  5. package/dist/auth/login-layout.d.ts +1 -3
  6. package/dist/auth/login-layout.js +1 -2
  7. package/dist/chat/agent-timeline.d.ts +1 -3
  8. package/dist/chat/agent-timeline.js +1 -2
  9. package/dist/chat/chat-container.d.ts +1 -3
  10. package/dist/chat/chat-container.js +3 -4
  11. package/dist/chat/chat-message.d.ts +1 -3
  12. package/dist/chat/chat-message.js +1 -2
  13. package/dist/chat/message-author.d.ts +1 -3
  14. package/dist/chat/message-author.js +1 -2
  15. package/dist/chat/message-list.d.ts +1 -3
  16. package/dist/chat/message-list.js +1 -2
  17. package/dist/chat/synthetic-text.js +1 -2
  18. package/dist/chat/thinking-indicator.d.ts +1 -3
  19. package/dist/chat/thinking-indicator.js +1 -2
  20. package/dist/chat/transcript-text.d.ts +1 -3
  21. package/dist/chat/transcript-text.js +1 -2
  22. package/dist/chat/user-message.d.ts +1 -3
  23. package/dist/chat/user-message.js +1 -2
  24. package/dist/code-presentation.js +1 -2
  25. package/dist/editor/document-editor-pane.d.ts +1 -3
  26. package/dist/editor/document-editor-pane.js +3 -4
  27. package/dist/editor/editor-lazy.js +1 -2
  28. package/dist/editor/editor-loading.js +1 -2
  29. package/dist/editor/editor-peers.js +1 -2
  30. package/dist/editor/editor-provider.d.ts +1 -3
  31. package/dist/editor/editor-provider.js +1 -2
  32. package/dist/editor/editor-toolbar.d.ts +1 -3
  33. package/dist/editor/editor-toolbar.js +1 -2
  34. package/dist/editor/markdown-conversion.js +1 -2
  35. package/dist/editor/markdown-document-editor.js +1 -2
  36. package/dist/editor/source-markdown-editor.js +1 -2
  37. package/dist/editor/source-markdown.js +1 -2
  38. package/dist/editor/tiptap-editor.d.ts +0 -2
  39. package/dist/editor/tiptap-editor.js +1 -2
  40. package/dist/editor/use-editor.d.ts +1 -3
  41. package/dist/editor/use-editor.js +1 -2
  42. package/dist/files/file-artifact-pane.d.ts +1 -3
  43. package/dist/files/file-artifact-pane.js +6 -6
  44. package/dist/files/file-card.d.ts +1 -3
  45. package/dist/files/file-card.js +1 -2
  46. package/dist/files/file-format.d.ts +1 -3
  47. package/dist/files/file-format.js +1 -2
  48. package/dist/files/file-list.d.ts +1 -3
  49. package/dist/files/file-list.js +1 -2
  50. package/dist/files/file-preview.d.ts +1 -3
  51. package/dist/files/file-preview.js +1 -2
  52. package/dist/files/file-tabs.d.ts +8 -4
  53. package/dist/files/file-tabs.js +79 -15
  54. package/dist/files/file-tree.d.ts +1 -3
  55. package/dist/files/file-tree.js +1 -2
  56. package/dist/files/pdf-loader.d.ts +1 -3
  57. package/dist/files/pdf-loader.js +1 -2
  58. package/dist/files/pdf-viewer.d.ts +1 -3
  59. package/dist/files/pdf-viewer.js +1 -2
  60. package/dist/files/rich-file-tree.d.ts +1 -3
  61. package/dist/files/rich-file-tree.js +1 -2
  62. package/dist/hooks/use-auth.d.ts +1 -3
  63. package/dist/hooks/use-auth.js +1 -2
  64. package/dist/hooks/use-auto-scroll.d.ts +1 -3
  65. package/dist/hooks/use-auto-scroll.js +1 -2
  66. package/dist/hooks/use-dropdown-menu.d.ts +1 -2
  67. package/dist/hooks/use-dropdown-menu.js +1 -2
  68. package/dist/hooks/use-live-time.d.ts +1 -3
  69. package/dist/hooks/use-live-time.js +1 -2
  70. package/dist/hooks/use-realtime-session.d.ts +1 -3
  71. package/dist/hooks/use-realtime-session.js +1 -2
  72. package/dist/hooks/use-run-collapse-state.d.ts +1 -3
  73. package/dist/hooks/use-run-collapse-state.js +1 -2
  74. package/dist/hooks/use-run-groups.d.ts +1 -3
  75. package/dist/hooks/use-run-groups.js +1 -2
  76. package/dist/hooks/use-sdk-session.d.ts +1 -3
  77. package/dist/hooks/use-sdk-session.js +1 -2
  78. package/dist/hooks/use-sse-stream.d.ts +1 -3
  79. package/dist/hooks/use-sse-stream.js +1 -2
  80. package/dist/hooks/use-tool-call-stream.d.ts +1 -3
  81. package/dist/hooks/use-tool-call-stream.js +1 -2
  82. package/dist/lib/code-presentation.d.ts +1 -3
  83. package/dist/lib/code-presentation.js +1 -2
  84. package/dist/lib/control-presentation.d.ts +0 -2
  85. package/dist/lib/control-presentation.js +1 -2
  86. package/dist/lib/focus.d.ts +1 -3
  87. package/dist/lib/focus.js +1 -2
  88. package/dist/lib/interaction.d.ts +1 -3
  89. package/dist/lib/interaction.js +1 -2
  90. package/dist/lib/motion.d.ts +1 -3
  91. package/dist/lib/motion.js +1 -2
  92. package/dist/lib/optional-peer.js +1 -2
  93. package/dist/lib/series.d.ts +1 -3
  94. package/dist/lib/series.js +1 -2
  95. package/dist/lib/surface-motion.js +1 -2
  96. package/dist/lib/utils.d.ts +1 -3
  97. package/dist/lib/utils.js +1 -2
  98. package/dist/markdown/api-schema.d.ts +1 -3
  99. package/dist/markdown/api-schema.js +1 -2
  100. package/dist/markdown/code-block.d.ts +0 -2
  101. package/dist/markdown/code-block.js +1 -2
  102. package/dist/markdown/code-meta.d.ts +1 -3
  103. package/dist/markdown/code-meta.js +1 -2
  104. package/dist/markdown/markdown-table.d.ts +1 -3
  105. package/dist/markdown/markdown-table.js +1 -2
  106. package/dist/markdown/markdown.d.ts +1 -3
  107. package/dist/markdown/markdown.js +1 -2
  108. package/dist/nav.d.ts +0 -2
  109. package/dist/nav.js +1 -2
  110. package/dist/openui/openui-artifact-renderer.d.ts +1 -2
  111. package/dist/openui/openui-artifact-renderer.js +1 -2
  112. package/dist/openui/schema-compiled.js +1 -2
  113. package/dist/openui/schema-data.d.ts +1 -3
  114. package/dist/openui/schema-data.js +1 -2
  115. package/dist/openui-schema.d.ts +0 -2
  116. package/dist/openui-schema.js +1 -2
  117. package/dist/presentation.d.ts +0 -2
  118. package/dist/presentation.js +1 -2
  119. package/dist/primitives/alert-dialog.d.ts +0 -2
  120. package/dist/primitives/alert-dialog.js +1 -2
  121. package/dist/primitives/alert.d.ts +1 -3
  122. package/dist/primitives/alert.js +1 -2
  123. package/dist/primitives/artifact-pane.d.ts +1 -3
  124. package/dist/primitives/artifact-pane.js +1 -2
  125. package/dist/primitives/avatar.d.ts +0 -2
  126. package/dist/primitives/avatar.js +1 -2
  127. package/dist/primitives/badge.d.ts +0 -2
  128. package/dist/primitives/badge.js +1 -2
  129. package/dist/primitives/breadcrumb.d.ts +0 -2
  130. package/dist/primitives/breadcrumb.js +1 -2
  131. package/dist/primitives/button.d.ts +0 -2
  132. package/dist/primitives/button.js +1 -2
  133. package/dist/primitives/calendar.d.ts +0 -2
  134. package/dist/primitives/calendar.js +1 -2
  135. package/dist/primitives/card.d.ts +0 -2
  136. package/dist/primitives/card.js +1 -2
  137. package/dist/primitives/checkbox.d.ts +0 -2
  138. package/dist/primitives/checkbox.js +1 -2
  139. package/dist/primitives/chip.d.ts +0 -2
  140. package/dist/primitives/chip.js +1 -2
  141. package/dist/primitives/code-block.d.ts +0 -2
  142. package/dist/primitives/code-block.js +1 -2
  143. package/dist/primitives/collapsible.d.ts +0 -2
  144. package/dist/primitives/collapsible.js +1 -2
  145. package/dist/primitives/compliance-badge.d.ts +0 -2
  146. package/dist/primitives/compliance-badge.js +3 -4
  147. package/dist/primitives/context-menu.d.ts +0 -2
  148. package/dist/primitives/context-menu.js +1 -2
  149. package/dist/primitives/date-picker.d.ts +0 -2
  150. package/dist/primitives/date-picker.js +1 -2
  151. package/dist/primitives/dialog.d.ts +0 -2
  152. package/dist/primitives/dialog.js +3 -4
  153. package/dist/primitives/drop-zone.d.ts +1 -3
  154. package/dist/primitives/drop-zone.js +1 -2
  155. package/dist/primitives/dropdown-menu.d.ts +0 -2
  156. package/dist/primitives/dropdown-menu.js +1 -2
  157. package/dist/primitives/empty-state.d.ts +0 -2
  158. package/dist/primitives/empty-state.js +1 -2
  159. package/dist/primitives/field.d.ts +1 -3
  160. package/dist/primitives/field.js +1 -2
  161. package/dist/primitives/heading.d.ts +0 -2
  162. package/dist/primitives/heading.js +3 -4
  163. package/dist/primitives/help-text.d.ts +0 -2
  164. package/dist/primitives/help-text.js +1 -2
  165. package/dist/primitives/hover-card.d.ts +0 -2
  166. package/dist/primitives/hover-card.js +1 -2
  167. package/dist/primitives/icon-tile.d.ts +0 -2
  168. package/dist/primitives/icon-tile.js +1 -2
  169. package/dist/primitives/info-tip.js +1 -2
  170. package/dist/primitives/input.d.ts +0 -2
  171. package/dist/primitives/input.js +1 -2
  172. package/dist/primitives/label.d.ts +0 -2
  173. package/dist/primitives/label.js +1 -2
  174. package/dist/primitives/metric-chart.d.ts +0 -2
  175. package/dist/primitives/metric-chart.js +1 -2
  176. package/dist/primitives/metric-strip.d.ts +0 -2
  177. package/dist/primitives/metric-strip.js +1 -2
  178. package/dist/primitives/page-header.d.ts +0 -2
  179. package/dist/primitives/page-header.js +1 -2
  180. package/dist/primitives/page-shell.d.ts +1 -3
  181. package/dist/primitives/page-shell.js +1 -2
  182. package/dist/primitives/pagination.d.ts +1 -2
  183. package/dist/primitives/pagination.js +1 -2
  184. package/dist/primitives/popover.d.ts +0 -2
  185. package/dist/primitives/popover.js +1 -2
  186. package/dist/primitives/progress.d.ts +0 -2
  187. package/dist/primitives/progress.js +1 -2
  188. package/dist/primitives/radio-group.d.ts +0 -2
  189. package/dist/primitives/radio-group.js +1 -2
  190. package/dist/primitives/segmented-control.d.ts +1 -3
  191. package/dist/primitives/segmented-control.js +4 -5
  192. package/dist/primitives/select.d.ts +0 -2
  193. package/dist/primitives/select.js +1 -2
  194. package/dist/primitives/separator.d.ts +0 -2
  195. package/dist/primitives/separator.js +1 -2
  196. package/dist/primitives/series-sparkline.d.ts +0 -2
  197. package/dist/primitives/series-sparkline.js +1 -2
  198. package/dist/primitives/settings.d.ts +1 -3
  199. package/dist/primitives/settings.js +1 -2
  200. package/dist/primitives/sheet.d.ts +0 -2
  201. package/dist/primitives/sheet.js +3 -4
  202. package/dist/primitives/sidebar-drop-zone.d.ts +1 -3
  203. package/dist/primitives/sidebar-drop-zone.js +2 -3
  204. package/dist/primitives/skeleton.d.ts +0 -2
  205. package/dist/primitives/skeleton.js +1 -2
  206. package/dist/primitives/slider.d.ts +0 -2
  207. package/dist/primitives/slider.js +1 -2
  208. package/dist/primitives/stat-card.d.ts +0 -2
  209. package/dist/primitives/stat-card.js +1 -2
  210. package/dist/primitives/status-pill.d.ts +0 -2
  211. package/dist/primitives/status-pill.js +1 -2
  212. package/dist/primitives/switch.d.ts +0 -2
  213. package/dist/primitives/switch.js +1 -2
  214. package/dist/primitives/table.d.ts +0 -2
  215. package/dist/primitives/table.js +1 -2
  216. package/dist/primitives/tabs.d.ts +0 -2
  217. package/dist/primitives/tabs.js +1 -2
  218. package/dist/primitives/tag.d.ts +0 -2
  219. package/dist/primitives/tag.js +1 -2
  220. package/dist/primitives/terminal-display.d.ts +0 -2
  221. package/dist/primitives/terminal-display.js +1 -2
  222. package/dist/primitives/text-shimmer.d.ts +1 -3
  223. package/dist/primitives/text-shimmer.js +1 -2
  224. package/dist/primitives/theme-toggle.d.ts +1 -2
  225. package/dist/primitives/theme-toggle.js +1 -2
  226. package/dist/primitives/time-select.d.ts +0 -2
  227. package/dist/primitives/time-select.js +1 -2
  228. package/dist/primitives/toast.d.ts +1 -2
  229. package/dist/primitives/toast.js +1 -2
  230. package/dist/primitives/tone.d.ts +1 -3
  231. package/dist/primitives/tone.js +1 -2
  232. package/dist/primitives/toolbar.d.ts +0 -2
  233. package/dist/primitives/toolbar.js +1 -2
  234. package/dist/primitives/tooltip.d.ts +0 -2
  235. package/dist/primitives/tooltip.js +1 -2
  236. package/dist/primitives/upload-progress.d.ts +1 -3
  237. package/dist/primitives/upload-progress.js +1 -2
  238. package/dist/primitives/wizard.d.ts +1 -3
  239. package/dist/primitives/wizard.js +1 -2
  240. package/dist/redaction/redacted-document.d.ts +1 -3
  241. package/dist/redaction/redacted-document.js +1 -2
  242. package/dist/redaction.js +1 -2
  243. package/dist/run/approval-card.d.ts +1 -3
  244. package/dist/run/approval-card.js +1 -2
  245. package/dist/run/expandable-content.js +1 -2
  246. package/dist/run/expanded-tool-detail.d.ts +1 -3
  247. package/dist/run/expanded-tool-detail.js +1 -2
  248. package/dist/run/inline-thinking-item.d.ts +1 -3
  249. package/dist/run/inline-thinking-item.js +1 -2
  250. package/dist/run/inline-tool-item.d.ts +1 -3
  251. package/dist/run/inline-tool-item.js +1 -2
  252. package/dist/run/run-group.d.ts +1 -3
  253. package/dist/run/run-group.js +1 -2
  254. package/dist/run/run-item-primitives.d.ts +1 -3
  255. package/dist/run/run-item-primitives.js +1 -2
  256. package/dist/run/run-phase-list.d.ts +1 -3
  257. package/dist/run/run-phase-list.js +1 -2
  258. package/dist/run/run-row-shell.d.ts +1 -3
  259. package/dist/run/run-row-shell.js +1 -2
  260. package/dist/run/task-list.d.ts +1 -3
  261. package/dist/run/task-list.js +1 -2
  262. package/dist/run/tool-call-feed.d.ts +1 -3
  263. package/dist/run/tool-call-feed.js +1 -2
  264. package/dist/run/tool-call-step.d.ts +1 -3
  265. package/dist/run/tool-call-step.js +1 -2
  266. package/dist/stores/active-sessions-store.d.ts +1 -3
  267. package/dist/stores/active-sessions-store.js +1 -2
  268. package/dist/stores/chat-store.d.ts +1 -3
  269. package/dist/stores/chat-store.js +1 -2
  270. package/dist/tool-previews/command-preview.d.ts +1 -3
  271. package/dist/tool-previews/command-preview.js +1 -2
  272. package/dist/tool-previews/diff-preview.d.ts +1 -3
  273. package/dist/tool-previews/diff-preview.js +1 -2
  274. package/dist/tool-previews/glob-results-preview.d.ts +1 -3
  275. package/dist/tool-previews/glob-results-preview.js +1 -2
  276. package/dist/tool-previews/grep-results-preview.d.ts +1 -3
  277. package/dist/tool-previews/grep-results-preview.js +1 -2
  278. package/dist/tool-previews/preview-primitives.js +1 -2
  279. package/dist/tool-previews/question-preview.d.ts +1 -3
  280. package/dist/tool-previews/question-preview.js +1 -2
  281. package/dist/tool-previews/web-search-preview.d.ts +1 -3
  282. package/dist/tool-previews/web-search-preview.js +1 -2
  283. package/dist/tool-previews/write-file-preview.d.ts +1 -3
  284. package/dist/tool-previews/write-file-preview.js +1 -2
  285. package/dist/types/branding.d.ts +1 -3
  286. package/dist/types/message.d.ts +1 -3
  287. package/dist/types/parts.d.ts +1 -3
  288. package/dist/types/run.d.ts +1 -3
  289. package/dist/types/tool-display.d.ts +1 -3
  290. package/dist/utils/copy-text.d.ts +1 -3
  291. package/dist/utils/copy-text.js +1 -2
  292. package/dist/utils/format.d.ts +1 -3
  293. package/dist/utils/format.js +1 -2
  294. package/dist/utils/time-ago.d.ts +1 -3
  295. package/dist/utils/time-ago.js +1 -2
  296. package/dist/utils/tool-display.d.ts +1 -3
  297. package/dist/utils/tool-display.js +1 -2
  298. package/package.json +38 -38
  299. package/src/files/file-artifact-pane.tsx +1 -0
  300. package/src/files/file-tabs.test.tsx +66 -0
  301. package/src/files/file-tabs.tsx +77 -17
  302. package/src/primitives/heading.tsx +2 -2
  303. package/src/primitives/sidebar-drop-zone.tsx +1 -1
  304. package/src/styles/presentation.css +3 -3
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/heading.d.ts
3
2
  /** Visual roles ported from sandbox-ui/src/primitives/heading.tsx. */
4
3
  export type HeadingVariant = "display" | "hero" | "page" | "section" | "subsection" | "eyebrow";
5
4
  export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLElement>, "role"> {
@@ -20,5 +19,4 @@ export interface HeadingProps extends Omit<React.HTMLAttributes<HTMLElement>, "r
20
19
  * display/page h1 per page; choose `as` according to the document hierarchy.
21
20
  */
22
21
  declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLElement>>;
23
- //#endregion
24
22
  export { Heading };
@@ -1,14 +1,14 @@
1
1
  import { cn } from "../lib/utils.js";
2
2
  import * as React from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
- //#region src/primitives/heading.tsx
4
+ // src/primitives/heading.tsx
5
5
  const VARIANT_CLASS = {
6
6
  display: "font-display font-bold text-foreground text-[length:var(--font-size-display,3rem)] leading-[var(--line-height-display,1.05)] tracking-[var(--tracking-tight,-0.02em)]",
7
7
  hero: "font-display font-bold text-foreground text-[length:var(--font-size-hero,2.5rem)] leading-[1.1] tracking-[var(--tracking-tight,-0.02em)]",
8
8
  page: "font-display font-semibold text-foreground text-[length:var(--font-size-3xl,1.875rem)] leading-[var(--line-height-heading,1.15)] tracking-[var(--tracking-tight,-0.02em)]",
9
9
  section: "font-display font-semibold text-foreground text-[length:var(--font-size-xl,1.25rem)] leading-[1.3] tracking-[var(--tracking-snug,-0.01em)]",
10
- subsection: "font-semibold text-foreground text-[length:var(--font-size-lg,1rem)] leading-[1.4]",
11
- eyebrow: "font-semibold uppercase text-muted-foreground text-[length:var(--font-size-sm,0.75rem)] leading-none tracking-[var(--tracking-wide,0.08em)]"
10
+ subsection: "font-semibold text-foreground text-[length:var(--font-size-base,1rem)] leading-[1.4]",
11
+ eyebrow: "font-semibold uppercase text-muted-foreground text-[length:var(--font-size-xs,0.75rem)] leading-none tracking-[var(--tracking-wide,0.08em)]"
12
12
  };
13
13
  const DEFAULT_TAG = {
14
14
  display: "h1",
@@ -35,5 +35,4 @@ const Heading = React.forwardRef(({ variant, role, as, className, presentation,
35
35
  });
36
36
  });
37
37
  Heading.displayName = "Heading";
38
- //#endregion
39
38
  export { Heading };
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/help-text.d.ts
3
2
  export interface HelpTextProps extends React.HTMLAttributes<HTMLParagraphElement> {
4
3
  /** `hint` describes a field; `error` reports what is wrong with its value. */
5
4
  tone?: "hint" | "error";
@@ -10,5 +9,4 @@ export interface HelpTextProps extends React.HTMLAttributes<HTMLParagraphElement
10
9
  * its `id`; Input and Textarea do this for their `hint` and `error` props.
11
10
  */
12
11
  declare const HelpText: React.ForwardRefExoticComponent<HelpTextProps & React.RefAttributes<HTMLParagraphElement>>;
13
- //#endregion
14
12
  export { HelpText };
@@ -2,7 +2,7 @@ import { cn } from "../lib/utils.js";
2
2
  import { helpPresentation } from "../presentation.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/primitives/help-text.tsx
5
+ // src/primitives/help-text.tsx
6
6
  /**
7
7
  * Text under a field. One size (`--font-size-help`, 12px) for every field, so
8
8
  * forms across products read the same. Point the field's `aria-describedby` at
@@ -15,5 +15,4 @@ const HelpText = React.forwardRef(({ className, tone = "hint", ...props }, ref)
15
15
  ...props
16
16
  }));
17
17
  HelpText.displayName = "HelpText";
18
- //#endregion
19
18
  export { HelpText };
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
2
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
3
- //#region src/primitives/hover-card.d.ts
4
3
  declare const HoverCard: React.FC<HoverCardPrimitive.HoverCardProps>;
5
4
  declare const HoverCardTrigger: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardTriggerProps & React.RefAttributes<HTMLAnchorElement>, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
6
5
  declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPrimitive.HoverCardContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
@@ -12,5 +11,4 @@ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardPr
12
11
  declare function HoverCardHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
13
12
  declare function HoverCardTitle({ className, ...props }: React.HTMLAttributes<HTMLHeadingElement>): React.JSX.Element;
14
13
  declare function HoverCardDescription({ className, ...props }: React.HTMLAttributes<HTMLParagraphElement>): React.JSX.Element;
15
- //#endregion
16
14
  export { HoverCard, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger };
@@ -2,7 +2,7 @@ import { cn } from "../lib/utils.js";
2
2
  import * as React from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import * as HoverCardPrimitive from "@radix-ui/react-hover-card";
5
- //#region src/primitives/hover-card.tsx
5
+ // src/primitives/hover-card.tsx
6
6
  /**
7
7
  * A rich hover preview: the face of a person, product, or record that appears
8
8
  * when you pause on its trigger. Radix HoverCard under the hood, styled on the
@@ -59,5 +59,4 @@ function HoverCardDescription({ className, ...props }) {
59
59
  ...props
60
60
  });
61
61
  }
62
- //#endregion
63
62
  export { HoverCard, HoverCardContent, HoverCardDescription, HoverCardHeader, HoverCardTitle, HoverCardTrigger };
@@ -1,6 +1,5 @@
1
1
  import { CategoryTone } from "./tone.js";
2
2
  import * as React from "react";
3
- //#region src/primitives/icon-tile.d.ts
4
3
  /**
5
4
  * A square identity mark for a row or card: a project, a channel, an account,
6
5
  * a file kind. It shows the first of these that is available:
@@ -33,5 +32,4 @@ export interface IconTileProps extends Omit<React.HTMLAttributes<HTMLSpanElement
33
32
  /** Up to two initials: the first letters of the first two words, or of the one word. */
34
33
  export declare function initialsOf(name: string): string;
35
34
  declare const IconTile: React.ForwardRefExoticComponent<IconTileProps & React.RefAttributes<HTMLSpanElement>>;
36
- //#endregion
37
35
  export { IconTile };
@@ -2,7 +2,7 @@ import { cn } from "../lib/utils.js";
2
2
  import { TONE_CLASSES, toneFor } from "./tone.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
- //#region src/primitives/icon-tile.tsx
5
+ // src/primitives/icon-tile.tsx
6
6
  const SIZE = {
7
7
  xs: "size-5 rounded-[5px] text-[10px] [&_svg]:size-3",
8
8
  sm: "size-6 rounded-md text-[11px] [&_svg]:size-3.5",
@@ -47,5 +47,4 @@ const IconTile = React.forwardRef(({ className, tone, size = "md", src, icon, na
47
47
  });
48
48
  });
49
49
  IconTile.displayName = "IconTile";
50
- //#endregion
51
50
  export { IconTile, initialsOf };
@@ -4,7 +4,7 @@ import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./tool
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Info } from "lucide-react";
7
- //#region src/primitives/info-tip.tsx
7
+ // src/primitives/info-tip.tsx
8
8
  /**
9
9
  * An info button beside a label, for help that explains a setting. It opens
10
10
  * on hover and keyboard focus and toggles on tap. The glyph stays 20px; on a
@@ -46,5 +46,4 @@ function InfoTip({ label, children }) {
46
46
  })
47
47
  });
48
48
  }
49
- //#endregion
50
49
  export { InfoTip };
@@ -1,7 +1,6 @@
1
1
  import { inputVariants } from "../presentation.js";
2
2
  import { VariantProps } from "class-variance-authority";
3
3
  import * as React from "react";
4
- //#region src/primitives/input.d.ts
5
4
  export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
6
5
  label?: string;
7
6
  error?: string;
@@ -18,5 +17,4 @@ export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextArea
18
17
  hint?: string;
19
18
  }
20
19
  declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
21
- //#endregion
22
20
  export { Input, Textarea };
@@ -7,7 +7,7 @@ import { HelpText } from "./help-text.js";
7
7
  import { Label } from "./label.js";
8
8
  import * as React from "react";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
- //#region src/primitives/input.tsx
10
+ // src/primitives/input.tsx
11
11
  function descriptionIds(...ids) {
12
12
  return [...new Set(ids.join(" ").split(/\s+/).filter(Boolean))].join(" ") || void 0;
13
13
  }
@@ -88,5 +88,4 @@ const Textarea = React.forwardRef(({ className, variant: _variant, size = "defau
88
88
  });
89
89
  });
90
90
  Textarea.displayName = "Textarea";
91
- //#endregion
92
91
  export { Input, Textarea };
@@ -1,6 +1,4 @@
1
1
  import * as React from "react";
2
2
  import * as LabelPrimitive from "@radix-ui/react-label";
3
- //#region src/primitives/label.d.ts
4
3
  declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
5
- //#endregion
6
4
  export { Label };
@@ -4,12 +4,11 @@ import { labelVariants } from "../presentation.js";
4
4
  import * as React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import * as LabelPrimitive from "@radix-ui/react-label";
7
- //#region src/primitives/label.tsx
7
+ // src/primitives/label.tsx
8
8
  const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(LabelPrimitive.Root, {
9
9
  ref,
10
10
  className: cn(labelVariants(), className),
11
11
  ...props
12
12
  }));
13
13
  Label.displayName = LabelPrimitive.Root.displayName;
14
- //#endregion
15
14
  export { Label };
@@ -1,6 +1,5 @@
1
1
  import { SeriesPointInput } from "../lib/series.js";
2
2
  import * as React from "react";
3
- //#region src/primitives/metric-chart.d.ts
4
3
  export interface ChartReferenceLine {
5
4
  value: number;
6
5
  label?: string;
@@ -43,5 +42,4 @@ declare const MetricChart: React.ForwardRefExoticComponent<Omit<React.SVGAttribu
43
42
  formatValue?: (value: number) => string;
44
43
  formatTime?: (at: number) => string;
45
44
  } & React.RefAttributes<SVGSVGElement>>;
46
- //#endregion
47
45
  export { MetricChart };
@@ -3,7 +3,7 @@ import { chartPresentation } from "../presentation.js";
3
3
  import { normalizeSeries, seriesAreaPath, seriesExtent, seriesLinePath, seriesMean, seriesScale } from "../lib/series.js";
4
4
  import * as React from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/primitives/metric-chart.tsx
6
+ // src/primitives/metric-chart.tsx
7
7
  const defaultTimeLabel = (at) => new Date(at).toLocaleDateString(void 0, {
8
8
  month: "short",
9
9
  day: "numeric"
@@ -151,5 +151,4 @@ const MetricChart = React.forwardRef(({ points, title, unit, decimals, reference
151
151
  });
152
152
  });
153
153
  MetricChart.displayName = "MetricChart";
154
- //#endregion
155
154
  export { MetricChart };
@@ -1,6 +1,5 @@
1
1
  import { StatusTone } from "./status-pill.js";
2
2
  import * as React from "react";
3
- //#region src/primitives/metric-strip.d.ts
4
3
  /** Headline readings on one plane, with native definition-list semantics. */
5
4
  export interface MetricStripProps extends React.HTMLAttributes<HTMLDListElement> {
6
5
  children: React.ReactNode;
@@ -25,5 +24,4 @@ export interface MetricProps extends React.HTMLAttributes<HTMLDivElement> {
25
24
  }
26
25
  /** A described term; the strip, not this item, decides where separators belong. */
27
26
  declare const Metric: React.ForwardRefExoticComponent<MetricProps & React.RefAttributes<HTMLDivElement>>;
28
- //#endregion
29
27
  export { Metric, MetricStrip };
@@ -3,7 +3,7 @@ import { metricLayouts, metricPresentation } from "../presentation.js";
3
3
  import { StatusPill } from "./status-pill.js";
4
4
  import * as React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/primitives/metric-strip.tsx
6
+ // src/primitives/metric-strip.tsx
7
7
  const MetricStrip = React.forwardRef(({ className, children, columns = 4, ...props }, ref) => /* @__PURE__ */ jsx("dl", {
8
8
  ref,
9
9
  className: cn(metricPresentation.strip, metricLayouts[columns], className),
@@ -48,5 +48,4 @@ const Metric = React.forwardRef(({ className, label, value, hint, attention, ico
48
48
  ]
49
49
  }));
50
50
  Metric.displayName = "Metric";
51
- //#endregion
52
51
  export { Metric, MetricStrip };
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/page-header.d.ts
3
2
  /**
4
3
  * A page masthead with separate title, prose, actions and qualifying metadata.
5
4
  * Brand's existing props and header ref are preserved. Sandbox's existing
@@ -22,5 +21,4 @@ export interface PageHeaderProps extends Omit<React.HTMLAttributes<HTMLElement>,
22
21
  titleAs?: React.ElementType;
23
22
  }
24
23
  declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLElement>>;
25
- //#endregion
26
24
  export { PageHeader };
@@ -2,7 +2,7 @@ import { cn } from "../lib/utils.js";
2
2
  import { Heading } from "./heading.js";
3
3
  import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
- //#region src/primitives/page-header.tsx
5
+ // src/primitives/page-header.tsx
6
6
  const hasContent = (node) => Boolean(node) || node === 0;
7
7
  const PageHeader = React.forwardRef(({ className, presentation, title, description, actions, action, eyebrow, meta, titleId, titleAs, level = 1, ...props }, ref) => {
8
8
  const resolvedActions = actions === void 0 ? action : actions;
@@ -44,5 +44,4 @@ const PageHeader = React.forwardRef(({ className, presentation, title, descripti
44
44
  });
45
45
  });
46
46
  PageHeader.displayName = "PageHeader";
47
- //#endregion
48
47
  export { PageHeader };
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
2
  import { ReactNode } from "react";
3
- //#region src/primitives/page-shell.d.ts
4
3
  export interface PageShellProps {
5
4
  children?: ReactNode;
6
5
  /** Optional reading layout. Content, routing and navigation interaction stay caller-owned. */
@@ -32,5 +31,4 @@ export interface PageShellProps {
32
31
  * `measure="settings"` it goes on the frame, the width the layout answers to,
33
32
  * so a `max-w-*` there bounds the measure and a narrow frame gets the strip.
34
33
  */
35
- export declare function PageShell({ children, className, navigation, article, outline, header, measure, navigationLabel, outlineLabel }: PageShellProps): React.JSX.Element;
36
- //#endregion
34
+ export declare function PageShell({ children, className, navigation, article, outline, header, measure, navigationLabel, outlineLabel }: PageShellProps): React.JSX.Element;
@@ -2,7 +2,7 @@
2
2
  import { cn } from "../lib/utils.js";
3
3
  import * as React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
- //#region src/primitives/page-shell.tsx
5
+ // src/primitives/page-shell.tsx
6
6
  /**
7
7
  * Centre the current link of a horizontally scrolling nav, so the links on
8
8
  * both sides show that the strip scrolls. It moves the strip, never the page.
@@ -111,5 +111,4 @@ function PageShell({ children, className, navigation, article, outline, header,
111
111
  children
112
112
  });
113
113
  }
114
- //#endregion
115
114
  export { PageShell };
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/pagination.d.ts
3
2
  interface PaginationBaseProps extends Omit<React.HTMLAttributes<HTMLElement>, "onChange" | "children"> {
4
3
  /** The current page, zero-based. */
5
4
  page: number;
@@ -54,4 +53,4 @@ export interface PaginationLinkProps extends PaginationBaseProps {
54
53
  */
55
54
  export type PaginationProps = PaginationButtonProps | PaginationLinkProps;
56
55
  export declare function Pagination({ page, pageCount, onPageChange, hrefFor, linkComponent: LinkComponent, siblings, className, "aria-label": ariaLabel, ...rest }: PaginationProps): React.JSX.Element | null;
57
- //#endregion
56
+ export {};
@@ -3,7 +3,7 @@ import { buttonVariants } from "../presentation.js";
3
3
  import "react";
4
4
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { ChevronLeft, ChevronRight } from "lucide-react";
6
- //#region src/primitives/pagination.tsx
6
+ // src/primitives/pagination.tsx
7
7
  /**
8
8
  * The visible slots for `page` of `pageCount`. The number of slots stays the
9
9
  * same as the current page moves, so the controls do not shift under the
@@ -107,5 +107,4 @@ function Pagination({ page, pageCount, onPageChange, hrefFor, linkComponent: Lin
107
107
  })
108
108
  });
109
109
  }
110
- //#endregion
111
110
  export { Pagination, pageSlots };
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
2
  import * as PopoverPrimitive from "@radix-ui/react-popover";
3
- //#region src/primitives/popover.d.ts
4
3
  declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
5
4
  declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
5
  declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
@@ -11,5 +10,4 @@ declare const PopoverClose: React.ForwardRefExoticComponent<PopoverPrimitive.Pop
11
10
  * for wider content and keep long text wrapping inside it.
12
11
  */
13
12
  declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- //#endregion
15
13
  export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
@@ -5,7 +5,7 @@ import { SurfaceMotion } from "../lib/surface-motion.js";
5
5
  import * as React from "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import * as PopoverPrimitive from "@radix-ui/react-popover";
8
- //#region src/primitives/popover.tsx
8
+ // src/primitives/popover.tsx
9
9
  const Popover = PopoverPrimitive.Root;
10
10
  const PopoverTrigger = PopoverPrimitive.Trigger;
11
11
  const PopoverAnchor = PopoverPrimitive.Anchor;
@@ -29,5 +29,4 @@ const PopoverContent = React.forwardRef(({ className, align = "center", sideOffs
29
29
  })
30
30
  }) }));
31
31
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
32
- //#endregion
33
32
  export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverTrigger };
@@ -1,9 +1,7 @@
1
1
  import * as React from "react";
2
2
  import * as ProgressPrimitive from "@radix-ui/react-progress";
3
- //#region src/primitives/progress.d.ts
4
3
  declare const Progress: React.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
5
4
  variant?: "default" | "sandbox";
6
5
  showValue?: boolean;
7
6
  } & React.RefAttributes<HTMLDivElement>>;
8
- //#endregion
9
7
  export { Progress };
@@ -2,7 +2,7 @@ import { cn } from "../lib/utils.js";
2
2
  import * as React from "react";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import * as ProgressPrimitive from "@radix-ui/react-progress";
5
- //#region src/primitives/progress.tsx
5
+ // src/primitives/progress.tsx
6
6
  const Progress = React.forwardRef(({ className, value, variant = "default", showValue = false, ...props }, ref) => {
7
7
  const indicatorVariants = {
8
8
  default: "bg-primary",
@@ -25,5 +25,4 @@ const Progress = React.forwardRef(({ className, value, variant = "default", show
25
25
  });
26
26
  });
27
27
  Progress.displayName = ProgressPrimitive.Root.displayName;
28
- //#endregion
29
28
  export { Progress };
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
2
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
3
- //#region src/primitives/radio-group.d.ts
4
3
  /**
5
4
  * One choice from a set. Arrow keys move between items; pair each item with a
6
5
  * `Label` through `id`/`htmlFor`. The item matches `Checkbox` (16px, the
@@ -9,5 +8,4 @@ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
9
8
  */
10
9
  declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
10
  declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
12
- //#endregion
13
11
  export { RadioGroup, RadioGroupItem };
@@ -4,7 +4,7 @@ import { cn } from "../lib/utils.js";
4
4
  import * as React from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
7
- //#region src/primitives/radio-group.tsx
7
+ // src/primitives/radio-group.tsx
8
8
  /**
9
9
  * One choice from a set. Arrow keys move between items; pair each item with a
10
10
  * `Label` through `id`/`htmlFor`. The item matches `Checkbox` (16px, the
@@ -24,5 +24,4 @@ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => /* @__
24
24
  children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: "size-2 rounded-full bg-primary" })
25
25
  }));
26
26
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
27
- //#endregion
28
27
  export { RadioGroup, RadioGroupItem };
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/segmented-control.d.ts
3
2
  /**
4
3
  * Visually lightweight segmented control for single-value selection.
5
4
  *
@@ -53,5 +52,4 @@ export interface SegmentedControlProps<T extends string = string> extends Pick<R
53
52
  /** Rendered as the group's `data-testid`. */
54
53
  "data-testid"?: string;
55
54
  }
56
- export declare function SegmentedControl<T extends string = string>({ value, onValueChange, options, variant, className, ...rest }: SegmentedControlProps<T>): React.JSX.Element;
57
- //#endregion
55
+ export declare function SegmentedControl<T extends string = string>({ value, onValueChange, options, variant, className, ...rest }: SegmentedControlProps<T>): React.JSX.Element;
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import "../lib/interaction.js";
3
- import { focusRing, focusRingInset } from "../lib/focus.js";
3
+ import "../lib/focus.js";
4
4
  import { cn } from "../lib/utils.js";
5
5
  import "../lib/control-presentation.js";
6
6
  import * as React from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { ChevronLeft, ChevronRight } from "lucide-react";
9
- //#region src/primitives/segmented-control.tsx
9
+ // src/primitives/segmented-control.tsx
10
10
  /** Size of the edge chevron, in px. The selected option is kept this far
11
11
  * (plus the strip's own padding) from an edge so the chevron never covers it. */
12
12
  const SCROLL_CUE_SIZE = 32;
@@ -147,13 +147,13 @@ function SegmentedControl({ value, onValueChange, options, variant = "row", clas
147
147
  },
148
148
  className: cn("relative inline-flex items-center gap-2 whitespace-nowrap text-sm font-medium transition-[color,background-color,border-color,box-shadow]", variant === "row" && [
149
149
  "rounded-md border border-transparent px-3 py-1.5",
150
- focusRing,
150
+ "focus-visible:outline-1 focus-visible:outline-[var(--focus-border)] focus-visible:ring-4 focus-visible:ring-[var(--focus-halo)] focus-visible:outline-offset-0",
151
151
  "hover:bg-[var(--ix-hover-bg)] active:bg-[var(--ix-sel-bg)]",
152
152
  "aria-pressed:bg-[var(--ix-sel-bg)] aria-pressed:text-[var(--accent-text)] aria-pressed:shadow-[inset_0_0_0_1px_var(--ix-sel-ring)] aria-checked:bg-[var(--ix-sel-bg)] aria-checked:text-[var(--accent-text)] aria-checked:shadow-[inset_0_0_0_1px_var(--ix-sel-ring)] aria-[current=page]:bg-[var(--ix-sel-bg)] aria-[current=page]:text-[var(--accent-text)] aria-[current=page]:shadow-[inset_0_0_0_1px_var(--ix-sel-ring)] data-[state=on]:bg-[var(--ix-sel-bg)] data-[state=on]:shadow-[inset_0_0_0_1px_var(--ix-sel-ring)] data-[state=active]:bg-[var(--ix-sel-bg)] data-[state=active]:text-[var(--accent-text)] data-[state=active]:shadow-[inset_0_0_0_1px_var(--ix-sel-ring)]"
153
153
  ], variant === "tabs" && [
154
154
  "shrink-0 rounded-none border-b-2 border-transparent -mb-px px-4 py-2",
155
155
  "pointer-coarse:min-h-11 pointer-coarse:min-w-11",
156
- focusRingInset,
156
+ "focus-visible:outline-1 focus-visible:outline-[var(--focus-border)] focus-visible:ring-4 focus-visible:ring-[var(--focus-halo)] focus-visible:-outline-offset-1 focus-visible:ring-inset",
157
157
  "hover:shadow-[inset_0_-2px_0_hsl(var(--hsl-ring)/0.4)] data-[state=active]:bg-[hsl(var(--hsl-ring)/0.07)] data-[state=active]:text-[var(--accent-text)] data-[state=active]:shadow-[inset_0_-2px_0_var(--ix-sel-ring)] aria-checked:bg-[hsl(var(--hsl-ring)/0.07)] aria-checked:text-[var(--accent-text)] aria-checked:shadow-[inset_0_-2px_0_var(--ix-sel-ring)]"
158
158
  ], active ? "text-[var(--accent-text)]" : "text-muted-foreground hover:text-foreground"),
159
159
  children: [/* @__PURE__ */ jsx("span", { children: option.label }), option.adornment && /* @__PURE__ */ jsx("span", {
@@ -169,5 +169,4 @@ function SegmentedControl({ value, onValueChange, options, variant = "row", clas
169
169
  ]
170
170
  });
171
171
  }
172
- //#endregion
173
172
  export { SegmentedControl };
@@ -1,6 +1,5 @@
1
1
  import * as React from "react";
2
2
  import * as SelectPrimitive from "@radix-ui/react-select";
3
- //#region src/primitives/select.d.ts
4
3
  declare const Select: React.FC<SelectPrimitive.SelectProps>;
5
4
  declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
6
5
  declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
@@ -14,5 +13,4 @@ declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitiv
14
13
  declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
14
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
15
  declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
- //#endregion
18
16
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -6,7 +6,7 @@ import * as React from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { Check, ChevronDown, ChevronUp } from "lucide-react";
8
8
  import * as SelectPrimitive from "@radix-ui/react-select";
9
- //#region src/primitives/select.tsx
9
+ // src/primitives/select.tsx
10
10
  const Select = SelectPrimitive.Root;
11
11
  const SelectGroup = SelectPrimitive.Group;
12
12
  const SelectValue = SelectPrimitive.Value;
@@ -71,5 +71,4 @@ const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @_
71
71
  ...props
72
72
  }));
73
73
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
74
- //#endregion
75
74
  export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
@@ -1,11 +1,9 @@
1
1
  import * as React from "react";
2
2
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
3
- //#region src/primitives/separator.d.ts
4
3
  /**
5
4
  * A hairline rule on the border token. Decorative by default, so assistive
6
5
  * technology skips it; pass `decorative={false}` when it separates groups a
7
6
  * screen reader should announce.
8
7
  */
9
8
  declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
- //#endregion
11
9
  export { Separator };
@@ -3,7 +3,7 @@ import { cn } from "../lib/utils.js";
3
3
  import * as React from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
6
- //#region src/primitives/separator.tsx
6
+ // src/primitives/separator.tsx
7
7
  /**
8
8
  * A hairline rule on the border token. Decorative by default, so assistive
9
9
  * technology skips it; pass `decorative={false}` when it separates groups a
@@ -17,5 +17,4 @@ const Separator = React.forwardRef(({ className, orientation = "horizontal", dec
17
17
  ...props
18
18
  }));
19
19
  Separator.displayName = SeparatorPrimitive.Root.displayName;
20
- //#endregion
21
20
  export { Separator };
@@ -1,6 +1,5 @@
1
1
  import { SeriesPointInput } from "../lib/series.js";
2
2
  import * as React from "react";
3
- //#region src/primitives/series-sparkline.d.ts
4
3
  export type SeriesSparklineProps = Omit<React.SVGAttributes<SVGSVGElement>, "points"> & {
5
4
  points: SeriesPointInput[];
6
5
  /** Accessible name; also rendered as the svg title. */
@@ -12,5 +11,4 @@ declare const SeriesSparkline: React.ForwardRefExoticComponent<Omit<React.SVGAtt
12
11
  /** Accessible name; also rendered as the svg title. */
13
12
  label: string;
14
13
  } & React.RefAttributes<SVGSVGElement>>;
15
- //#endregion
16
14
  export { SeriesSparkline };
@@ -3,7 +3,7 @@ import { chartPresentation } from "../presentation.js";
3
3
  import { normalizeSeries, seriesAreaPath, seriesExtent, seriesLinePath, seriesScale } from "../lib/series.js";
4
4
  import * as React from "react";
5
5
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
- //#region src/primitives/series-sparkline.tsx
6
+ // src/primitives/series-sparkline.tsx
7
7
  /** Inline trend glyph: viewBox-scaled, currentColor against `text-primary`. */
8
8
  const SeriesSparkline = React.forwardRef(({ points, label, className, ...props }, ref) => {
9
9
  const series = normalizeSeries(points);
@@ -49,5 +49,4 @@ const SeriesSparkline = React.forwardRef(({ points, label, className, ...props }
49
49
  });
50
50
  });
51
51
  SeriesSparkline.displayName = "SeriesSparkline";
52
- //#endregion
53
52
  export { SeriesSparkline };
@@ -1,5 +1,4 @@
1
1
  import * as React from "react";
2
- //#region src/primitives/settings.d.ts
3
2
  export type SettingsRowLayout = "inline" | "compact" | "stacked";
4
3
  export interface SettingsRowProps {
5
4
  /** The row's id, for a deep link such as `#timezone`. */
@@ -125,5 +124,4 @@ export interface SettingsListItemProps {
125
124
  * that name. Without a status column the state follows the meta, and without
126
125
  * a menu column the ⋯ menu ends the action cell.
127
126
  */
128
- export declare function SettingsListItem({ leading, title, meta, status, error, action, menu }: SettingsListItemProps): React.JSX.Element;
129
- //#endregion
127
+ export declare function SettingsListItem({ leading, title, meta, status, error, action, menu }: SettingsListItemProps): React.JSX.Element;
@@ -9,7 +9,7 @@ import { fieldMessageId } from "./field.js";
9
9
  import * as React from "react";
10
10
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { CircleAlert, Ellipsis, Lock } from "lucide-react";
12
- //#region src/primitives/settings.tsx
12
+ // src/primitives/settings.tsx
13
13
  const SCROLL_OFFSET = "scroll-mt-[calc(var(--shell-header-height)_+_1rem)]";
14
14
  const DIVIDED = "not-first:border-t not-first:border-[color:var(--border-subtle)]";
15
15
  const ERROR_TEXT = "text-[color:var(--surface-danger-text)]";
@@ -318,5 +318,4 @@ function SettingsListItem({ leading, title, meta, status, error, action, menu })
318
318
  ]
319
319
  });
320
320
  }
321
- //#endregion
322
321
  export { SettingsList, SettingsListItem, SettingsRow, SettingsSection };
@@ -1,7 +1,6 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import * as React from "react";
3
3
  import * as SheetPrimitive from "@radix-ui/react-dialog";
4
- //#region src/primitives/sheet.d.ts
5
4
  /** A dialog that slides in from an edge: a mobile nav drawer or a side panel. */
6
5
  declare const Sheet: React.FC<SheetPrimitive.DialogProps>;
7
6
  declare const SheetTrigger: React.ForwardRefExoticComponent<SheetPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -24,5 +23,4 @@ declare namespace SheetFooter {
24
23
  }
25
24
  declare const SheetTitle: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
26
25
  declare const SheetDescription: React.ForwardRefExoticComponent<Omit<SheetPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
27
- //#endregion
28
26
  export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger };