@epam/ai-dial-chat-shared 1.1.0-dev.422 → 1.1.0-dev.426

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 (252) hide show
  1. package/components/CopyButton/CopyButton.js +31 -0
  2. package/components/DeploymentIcon/DeploymentIcon.js +62 -0
  3. package/components/DeploymentIcon/DeploymentIcon.module.scss.js +3 -0
  4. package/components/EntityHeader/EntityHeader.js +47 -0
  5. package/components/EntityTypeLabel/EntityTypeLabel.js +10 -0
  6. package/components/FeaturedChip/FeaturedChip.js +17 -0
  7. package/components/InitialsAvatar/InitialsAvatar.js +29 -0
  8. package/components/InitialsAvatar/InitialsAvatar.module.scss.js +6 -0
  9. package/components/ItemHeader/ItemHeader.js +35 -0
  10. package/components/ItemHeader/ItemHeader.module.scss.js +6 -0
  11. package/components/MarkdownRenderer/CodeBlock/CodeBlock.js +104 -0
  12. package/components/MarkdownRenderer/CodeBlock/CodeBlock.module.scss.js +10 -0
  13. package/components/MarkdownRenderer/CodeBlock/syntax-theme.js +71 -0
  14. package/components/MarkdownRenderer/MDMessageViewer.js +22 -0
  15. package/components/MarkdownRenderer/MarkdownRenderer.js +280 -0
  16. package/components/MarkdownRenderer/MarkdownRenderer.module.scss.js +11 -0
  17. package/components/MarkdownRenderer/Math/MarkdownMathBlock.js +24 -0
  18. package/components/MarkdownRenderer/Math/MarkdownMathBlock.module.scss.js +6 -0
  19. package/components/MarkdownRenderer/Table/MarkdownTable.js +77 -0
  20. package/components/MarkdownRenderer/Table/MarkdownTable.module.scss.js +15 -0
  21. package/components/MarkdownRenderer/Table/TableHeader.js +30 -0
  22. package/components/MarkdownRenderer/Table/TableHeader.module.scss.js +3 -0
  23. package/components/MarkdownRenderer/Table/table-serialization.js +6 -0
  24. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.js +66 -0
  25. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.js +12 -0
  26. package/components/MarkdownRenderer/markdown-class-names.js +23 -0
  27. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.js +18 -0
  28. package/components/PanelEmptyState/PanelEmptyState.js +24 -0
  29. package/components/PanelEmptyState/PanelEmptyState.module.scss.js +6 -0
  30. package/components/ResourceSummary/ResourceSummary.js +34 -0
  31. package/components/ResourceSummary/ResourceSummary.module.scss.js +6 -0
  32. package/constants/dial.js +4 -0
  33. package/constants/entity-colors.js +17 -0
  34. package/constants/icon.js +13 -0
  35. package/constants/mime-types.js +99 -0
  36. package/constants/resizable-fields.js +4 -0
  37. package/constants/tag-input.js +4 -0
  38. package/file-manager/DialFileManagerShell/DialFileManagerShell.js +299 -0
  39. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.js +93 -0
  40. package/file-manager/OperationLoaderModal/OperationLoaderModal.js +36 -0
  41. package/file-manager/UploadProgressModal/UploadProgressModal.js +56 -0
  42. package/file-manager/file-manager-variant.js +8 -0
  43. package/file-manager/path.js +7 -0
  44. package/file-manager/upload-batch.js +6 -0
  45. package/file-manager/useGridEditingScroll/useGridEditingScroll.js +45 -0
  46. package/file-manager.d.ts +461 -0
  47. package/file-manager.js +2 -1
  48. package/hooks/useCodeCopy.js +20 -0
  49. package/hooks/useCollapsedText.js +38 -0
  50. package/hooks/useHorizontalOverflow.js +25 -0
  51. package/hooks/useIsMobile.js +12 -0
  52. package/hooks/useStreamedMarkdownContent.js +32 -0
  53. package/index.css +1 -1
  54. package/index.d.ts +2405 -62
  55. package/index.js +61 -16874
  56. package/markdown.d.ts +401 -0
  57. package/markdown.js +11 -0
  58. package/models/chat.js +14 -0
  59. package/models/conversation-classification.js +6 -0
  60. package/models/conversation-transfer.js +14 -0
  61. package/models/deployment-features.js +6 -0
  62. package/package.json +48 -3
  63. package/types/attachment.js +8 -0
  64. package/types/code-editor.js +6 -0
  65. package/types/entity-type.js +6 -0
  66. package/types/mime-type.js +8 -0
  67. package/utils/avatar-color.js +37 -0
  68. package/utils/build-css-vars.js +8 -0
  69. package/utils/copy-to-clipboard.js +69 -0
  70. package/utils/file-download.js +79 -0
  71. package/utils/format-file-size.js +4 -0
  72. package/utils/format-last-used.js +20 -0
  73. package/utils/format-price.js +18 -0
  74. package/utils/generate-uuid.js +7 -0
  75. package/utils/initials.js +7 -0
  76. package/utils/is-audio-transcription-supported.js +5 -0
  77. package/utils/latex.js +34 -0
  78. package/utils/merge-class.js +8 -0
  79. package/utils/message-attachment-to-display.js +31 -0
  80. package/utils/message.js +5 -0
  81. package/utils/mime-type.js +73 -0
  82. package/utils/prompt-variables.js +42 -0
  83. package/utils/string-utils.js +14 -0
  84. package/FileManagerAttachModal-rkWJ1bqK.js +0 -512
  85. package/components/CopyButton/CopyButton.d.ts +0 -17
  86. package/components/CopyButton/CopyButton.d.ts.map +0 -1
  87. package/components/DeploymentIcon/DeploymentIcon.d.ts +0 -36
  88. package/components/DeploymentIcon/DeploymentIcon.d.ts.map +0 -1
  89. package/components/EntityHeader/EntityHeader.d.ts +0 -34
  90. package/components/EntityHeader/EntityHeader.d.ts.map +0 -1
  91. package/components/EntityTypeLabel/EntityTypeLabel.d.ts +0 -16
  92. package/components/EntityTypeLabel/EntityTypeLabel.d.ts.map +0 -1
  93. package/components/FeaturedChip/FeaturedChip.d.ts +0 -14
  94. package/components/FeaturedChip/FeaturedChip.d.ts.map +0 -1
  95. package/components/InitialsAvatar/InitialsAvatar.d.ts +0 -15
  96. package/components/InitialsAvatar/InitialsAvatar.d.ts.map +0 -1
  97. package/components/ItemHeader/ItemHeader.d.ts +0 -36
  98. package/components/ItemHeader/ItemHeader.d.ts.map +0 -1
  99. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts +0 -53
  100. package/components/MarkdownRenderer/CodeBlock/CodeBlock.d.ts.map +0 -1
  101. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts +0 -7
  102. package/components/MarkdownRenderer/CodeBlock/syntax-theme.d.ts.map +0 -1
  103. package/components/MarkdownRenderer/MDMessageViewer.d.ts +0 -46
  104. package/components/MarkdownRenderer/MDMessageViewer.d.ts.map +0 -1
  105. package/components/MarkdownRenderer/MarkdownRenderer.d.ts +0 -133
  106. package/components/MarkdownRenderer/MarkdownRenderer.d.ts.map +0 -1
  107. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts +0 -18
  108. package/components/MarkdownRenderer/Math/MarkdownMathBlock.d.ts.map +0 -1
  109. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts +0 -49
  110. package/components/MarkdownRenderer/Table/MarkdownTable.d.ts.map +0 -1
  111. package/components/MarkdownRenderer/Table/TableHeader.d.ts +0 -22
  112. package/components/MarkdownRenderer/Table/TableHeader.d.ts.map +0 -1
  113. package/components/MarkdownRenderer/Table/table-serialization.d.ts +0 -19
  114. package/components/MarkdownRenderer/Table/table-serialization.d.ts.map +0 -1
  115. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts +0 -27
  116. package/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.d.ts.map +0 -1
  117. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts +0 -9
  118. package/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.d.ts.map +0 -1
  119. package/components/MarkdownRenderer/markdown-class-names.d.ts +0 -10
  120. package/components/MarkdownRenderer/markdown-class-names.d.ts.map +0 -1
  121. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts +0 -15
  122. package/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.d.ts.map +0 -1
  123. package/components/PanelEmptyState/PanelEmptyState.d.ts +0 -24
  124. package/components/PanelEmptyState/PanelEmptyState.d.ts.map +0 -1
  125. package/components/ResourceSummary/ResourceSummary.d.ts +0 -49
  126. package/components/ResourceSummary/ResourceSummary.d.ts.map +0 -1
  127. package/constants/dial.d.ts +0 -3
  128. package/constants/dial.d.ts.map +0 -1
  129. package/constants/entity-colors.d.ts +0 -6
  130. package/constants/entity-colors.d.ts.map +0 -1
  131. package/constants/icon.d.ts +0 -14
  132. package/constants/icon.d.ts.map +0 -1
  133. package/constants/mime-types.d.ts +0 -13
  134. package/constants/mime-types.d.ts.map +0 -1
  135. package/constants/resizable-fields.d.ts +0 -3
  136. package/constants/resizable-fields.d.ts.map +0 -1
  137. package/constants/tag-input.d.ts +0 -2
  138. package/constants/tag-input.d.ts.map +0 -1
  139. package/entry-points/file-manager.d.ts +0 -4
  140. package/entry-points/file-manager.d.ts.map +0 -1
  141. package/esm-CopgoDht.js +0 -16197
  142. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts +0 -49
  143. package/file-manager/DialFileManagerShell/DialFileManagerShell.d.ts.map +0 -1
  144. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts +0 -89
  145. package/file-manager/FileManagerAttachModal/FileManagerAttachModal.d.ts.map +0 -1
  146. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts +0 -17
  147. package/file-manager/OperationLoaderModal/OperationLoaderModal.d.ts.map +0 -1
  148. package/file-manager/UploadProgressModal/UploadProgressModal.d.ts +0 -20
  149. package/file-manager/UploadProgressModal/UploadProgressModal.d.ts.map +0 -1
  150. package/file-manager/attach-result.d.ts +0 -9
  151. package/file-manager/attach-result.d.ts.map +0 -1
  152. package/file-manager/file-manager-controller.d.ts +0 -117
  153. package/file-manager/file-manager-controller.d.ts.map +0 -1
  154. package/file-manager/file-manager-variant.d.ts +0 -21
  155. package/file-manager/file-manager-variant.d.ts.map +0 -1
  156. package/file-manager/file-upload-validation.d.ts +0 -8
  157. package/file-manager/file-upload-validation.d.ts.map +0 -1
  158. package/file-manager/index.d.ts +0 -13
  159. package/file-manager/index.d.ts.map +0 -1
  160. package/file-manager/labels.d.ts +0 -137
  161. package/file-manager/labels.d.ts.map +0 -1
  162. package/file-manager/path.d.ts +0 -12
  163. package/file-manager/path.d.ts.map +0 -1
  164. package/file-manager/upload-batch.d.ts +0 -27
  165. package/file-manager/upload-batch.d.ts.map +0 -1
  166. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts +0 -27
  167. package/file-manager/useGridEditingScroll/useGridEditingScroll.d.ts.map +0 -1
  168. package/hooks/useCodeCopy.d.ts +0 -6
  169. package/hooks/useCodeCopy.d.ts.map +0 -1
  170. package/hooks/useCollapsedText.d.ts +0 -27
  171. package/hooks/useCollapsedText.d.ts.map +0 -1
  172. package/hooks/useHorizontalOverflow.d.ts +0 -21
  173. package/hooks/useHorizontalOverflow.d.ts.map +0 -1
  174. package/hooks/useIsMobile.d.ts +0 -3
  175. package/hooks/useIsMobile.d.ts.map +0 -1
  176. package/hooks/useStreamedMarkdownContent.d.ts +0 -3
  177. package/hooks/useStreamedMarkdownContent.d.ts.map +0 -1
  178. package/index.d.ts.map +0 -1
  179. package/index.dom-BKBT_wVu.js +0 -10
  180. package/lib-CglXTr1t.js +0 -1234
  181. package/models/annotation.d.ts +0 -87
  182. package/models/annotation.d.ts.map +0 -1
  183. package/models/auth.d.ts +0 -26
  184. package/models/auth.d.ts.map +0 -1
  185. package/models/chat.d.ts +0 -347
  186. package/models/chat.d.ts.map +0 -1
  187. package/models/conversation-classification.d.ts +0 -9
  188. package/models/conversation-classification.d.ts.map +0 -1
  189. package/models/conversation-transfer.d.ts +0 -94
  190. package/models/conversation-transfer.d.ts.map +0 -1
  191. package/models/custom-visualizer.d.ts +0 -61
  192. package/models/custom-visualizer.d.ts.map +0 -1
  193. package/models/deployment-configuration.d.ts +0 -55
  194. package/models/deployment-configuration.d.ts.map +0 -1
  195. package/models/deployment-features.d.ts +0 -17
  196. package/models/deployment-features.d.ts.map +0 -1
  197. package/models/deployment.d.ts +0 -31
  198. package/models/deployment.d.ts.map +0 -1
  199. package/models/dial-model.d.ts +0 -19
  200. package/models/dial-model.d.ts.map +0 -1
  201. package/models/entity.d.ts +0 -15
  202. package/models/entity.d.ts.map +0 -1
  203. package/models/import-export.d.ts +0 -23
  204. package/models/import-export.d.ts.map +0 -1
  205. package/models/theme.d.ts +0 -36
  206. package/models/theme.d.ts.map +0 -1
  207. package/models/tool-menu-item.d.ts +0 -13
  208. package/models/tool-menu-item.d.ts.map +0 -1
  209. package/rehype-katex-Da1z0EAE.js +0 -22235
  210. package/types/attachment.d.ts +0 -23
  211. package/types/attachment.d.ts.map +0 -1
  212. package/types/code-editor.d.ts +0 -8
  213. package/types/code-editor.d.ts.map +0 -1
  214. package/types/entity-type.d.ts +0 -10
  215. package/types/entity-type.d.ts.map +0 -1
  216. package/types/mime-type.d.ts +0 -59
  217. package/types/mime-type.d.ts.map +0 -1
  218. package/utils/avatar-color.d.ts +0 -10
  219. package/utils/avatar-color.d.ts.map +0 -1
  220. package/utils/build-css-vars.d.ts +0 -4
  221. package/utils/build-css-vars.d.ts.map +0 -1
  222. package/utils/copy-to-clipboard.d.ts +0 -18
  223. package/utils/copy-to-clipboard.d.ts.map +0 -1
  224. package/utils/file-download.d.ts +0 -21
  225. package/utils/file-download.d.ts.map +0 -1
  226. package/utils/format-file-size.d.ts +0 -3
  227. package/utils/format-file-size.d.ts.map +0 -1
  228. package/utils/format-last-used.d.ts +0 -3
  229. package/utils/format-last-used.d.ts.map +0 -1
  230. package/utils/format-price.d.ts +0 -7
  231. package/utils/format-price.d.ts.map +0 -1
  232. package/utils/generate-uuid.d.ts +0 -3
  233. package/utils/generate-uuid.d.ts.map +0 -1
  234. package/utils/initials.d.ts +0 -3
  235. package/utils/initials.d.ts.map +0 -1
  236. package/utils/is-audio-transcription-supported.d.ts +0 -3
  237. package/utils/is-audio-transcription-supported.d.ts.map +0 -1
  238. package/utils/latex.d.ts +0 -11
  239. package/utils/latex.d.ts.map +0 -1
  240. package/utils/merge-class.d.ts +0 -4
  241. package/utils/merge-class.d.ts.map +0 -1
  242. package/utils/message-attachment-to-display.d.ts +0 -22
  243. package/utils/message-attachment-to-display.d.ts.map +0 -1
  244. package/utils/message.d.ts +0 -4
  245. package/utils/message.d.ts.map +0 -1
  246. package/utils/mime-type.d.ts +0 -13
  247. package/utils/mime-type.d.ts.map +0 -1
  248. package/utils/prompt-variables.d.ts +0 -38
  249. package/utils/prompt-variables.d.ts.map +0 -1
  250. package/utils/string-utils.d.ts +0 -11
  251. package/utils/string-utils.d.ts.map +0 -1
  252. package/web-namespaces-BJylbtYz.js +0 -95
@@ -1,36 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** CSS custom-property overrides for the `ItemHeader` component. */
3
- export interface ItemHeaderColors {
4
- /** Title text color. Defaults to `--text-primary`. */
5
- title?: string;
6
- /** Postfix text color. Defaults to `--text-secondary`. */
7
- count?: string;
8
- }
9
- /** Props for `ItemHeader`. */
10
- export interface ItemHeaderProps {
11
- /** Title text rendered in the heading element. */
12
- title: string;
13
- /** Secondary value rendered after the title, such as a version or an item count. */
14
- postfix?: number | string;
15
- /** CSS class applied to the title. Defaults to `'dial-h3-text'`. */
16
- titleClassName?: string;
17
- /** CSS class applied to the postfix. Defaults to `'dial-tiny-text'`. */
18
- postfixClassName?: string;
19
- /** CSS class applied to the header row. */
20
- className?: string;
21
- /** Search query; when provided, the matching part of the title is highlighted. */
22
- query?: string;
23
- /** Optional content rendered at the trailing end of the header row. */
24
- trailing?: ReactNode;
25
- /** Color overrides applied as CSS custom properties. */
26
- colors?: ItemHeaderColors;
27
- /**
28
- * Whether the title shrinks and truncates with an ellipsis. When `false` the
29
- * title keeps its full width and the rest of the row gives way instead.
30
- * Defaults to `true`.
31
- */
32
- shouldTruncateTitle?: boolean;
33
- }
34
- /** Item title header with optional numeric or string postfix and trailing slot. */
35
- export declare const ItemHeader: FC<ItemHeaderProps>;
36
- //# sourceMappingURL=ItemHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ItemHeader.d.ts","sourceRoot":"","sources":["../../../src/components/ItemHeader/ItemHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtC,oEAAoE;AACpE,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,8BAA8B;AAC9B,MAAM,WAAW,eAAe;IAC9B,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,oEAAoE;IACpE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,wEAAwE;IACxE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kFAAkF;IAClF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wDAAwD;IACxD,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,mFAAmF;AACnF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA0D1C,CAAC"}
@@ -1,53 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { CodeBlockTheme } from '../../../types/code-editor';
3
- /** CSS custom-property overrides for the `MarkdownCodeBlock` component. */
4
- export interface MarkdownCodeBlockColors {
5
- /** Container background color. */
6
- background?: string;
7
- /** Container/header border color. */
8
- border?: string;
9
- /** Header background color. */
10
- headerBackground?: string;
11
- /** Language label text color. */
12
- language?: string;
13
- /** Copy button icon color once copied. */
14
- copied?: string;
15
- /** Scrollbar thumb/track color. */
16
- scrollbar?: string;
17
- }
18
- /** Props for {@link MarkdownCodeBlock}. */
19
- export interface MarkdownCodeBlockProps {
20
- /** Detected language from the fenced code block. Empty string for language-less blocks. */
21
- language: string;
22
- /** Raw code value with trailing newline stripped. */
23
- value: string;
24
- /** When true, the copy button is hidden (streaming in progress). */
25
- isStreaming?: boolean;
26
- /** Color theme for syntax highlighting. Defaults to `'dark'`. */
27
- theme?: CodeBlockTheme;
28
- /** Accessible label for the copy button. Defaults to `'Copy code'`. */
29
- copyLabel?: string;
30
- /** Message announced through the block's `aria-live="polite"` region after a copy completes. The copy button's own accessible name stays `copyLabel`. Defaults to `'Copied!'`. */
31
- copiedLabel?: string;
32
- /** Accessible label for the download button. Defaults to `'Download code'`. */
33
- downloadLabel?: string;
34
- /** When true, hides the download button while still showing copy. Defaults to `false`. */
35
- hideDownload?: boolean;
36
- /** Extra classes applied to the outer container element. */
37
- containerClassName?: string;
38
- /** Extra classes applied to the sticky header bar. */
39
- headerClassName?: string;
40
- /** Typography class for the `<code>` element (used when no language is detected). Defaults to `'dial-code-text'`. */
41
- codeClassName?: string;
42
- /** CSS class applied to the language label in the header. Defaults to `'dial-tiny-lead-semi-text'` plus the module's `.languageLabel` class (`--text-secondary`). */
43
- languageLabelClassName?: string;
44
- /** Header text shown in place of `language`, for blocks whose highlighting id is not the name to display (e.g. `bash` highlighted, `cURL` shown). Defaults to the `language` value. */
45
- title?: string;
46
- /** Custom content rendered in the header in place of the plain label, e.g. a language/endpoint select. Defaults to the plain label text. */
47
- titleSlot?: ReactNode;
48
- /** Color overrides applied as CSS custom properties. */
49
- colors?: MarkdownCodeBlockColors;
50
- }
51
- /** Renders a fenced or multi-line code block with syntax highlighting and a copy button. */
52
- export declare const MarkdownCodeBlock: FC<MarkdownCodeBlockProps>;
53
- //# sourceMappingURL=CodeBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/CodeBlock.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAQ,KAAK,EAAE,EAAQ,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAU5D,2EAA2E;AAC3E,MAAM,WAAW,uBAAuB;IACtC,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2CAA2C;AAC3C,MAAM,WAAW,sBAAsB;IACrC,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,KAAK,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iEAAiE;IACjE,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kLAAkL;IAClL,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+EAA+E;IAC/E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0FAA0F;IAC1F,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sDAAsD;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qHAAqH;IACrH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qKAAqK;IACrK,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uLAAuL;IACvL,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4IAA4I;IAC5I,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,wDAAwD;IACxD,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAClC;AAiBD,4FAA4F;AAC5F,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAoJxD,CAAC"}
@@ -1,7 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- /** Style map consumed by `react-syntax-highlighter`'s `Prism` renderer. */
3
- type PrismStyleMap = Record<string, CSSProperties>;
4
- /** Prism syntax-highlighting style map used by {@link MarkdownCodeBlock}, restrained to design-system CSS variables. */
5
- export declare const restrainedSyntaxTheme: PrismStyleMap;
6
- export {};
7
- //# sourceMappingURL=syntax-theme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"syntax-theme.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/CodeBlock/syntax-theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,2EAA2E;AAC3E,KAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;AASnD,wHAAwH;AACxH,eAAO,MAAM,qBAAqB,EAAE,aA+DnC,CAAC"}
@@ -1,46 +0,0 @@
1
- import { FC } from 'react';
2
- import { Components } from 'react-markdown';
3
- import { CodeBlockTheme } from '../../types/code-editor';
4
- import { MarkdownRendererClassNames } from './MarkdownRenderer';
5
- import { MarkdownTableActionLabels } from './Table/MarkdownTable';
6
- /** Props for the {@link MDMessageViewer} markdown renderer. */
7
- interface MDMessageViewerProps {
8
- /** Raw markdown string to render. */
9
- content: string;
10
- /** Enables gradual reveal for appended streaming content. */
11
- isStreaming?: boolean;
12
- /**
13
- * Label shown while `isStreaming` is true and no content has arrived yet.
14
- * Forwarded to {@link MarkdownRenderer}. Defaults to `'Thinking'`.
15
- */
16
- thinkingLabel?: string;
17
- /**
18
- * Additional react-markdown component overrides merged on top of the
19
- * built-in map. Use to inject custom React nodes (e.g. citation markers)
20
- * into specific markdown elements without modifying the viewer directly.
21
- */
22
- components?: Components;
23
- /** Accessible label for the copy button in code blocks. Forwarded to {@link MarkdownRenderer}. */
24
- codeBlockCopyLabel?: string;
25
- /** Accessible label for the copy button after copying. Forwarded to {@link MarkdownRenderer}. */
26
- codeBlockCopiedLabel?: string;
27
- /** Syntax highlight color theme for code blocks. Forwarded to {@link MarkdownRenderer}. */
28
- codeBlockTheme?: CodeBlockTheme;
29
- /** Localized labels for Markdown table actions. Forwarded to {@link MarkdownRenderer}. */
30
- tableActionLabels?: MarkdownTableActionLabels;
31
- /** Filename used when downloading a Markdown table as CSV. Forwarded to {@link MarkdownRenderer}. */
32
- tableDownloadFilename?: string;
33
- tableOnOpenInCanvas?: (markdown: string) => void;
34
- /** Accessible label for a table's scrollable region. Forwarded to {@link MarkdownRenderer}. */
35
- tableScrollRegionAriaLabel?: string;
36
- /**
37
- * Per-element typography classes. Defaults to {@link DEFAULT_MARKDOWN_CLASS_NAMES};
38
- * pass {@link COMPACT_MARKDOWN_CLASS_NAMES} for the smaller body scale. Give a
39
- * stable reference: this component is memoised.
40
- */
41
- classNames?: MarkdownRendererClassNames;
42
- }
43
- /** Renders assistant message content as formatted markdown. */
44
- export declare const MDMessageViewer: FC<MDMessageViewerProps>;
45
- export {};
46
- //# sourceMappingURL=MDMessageViewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MDMessageViewer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MDMessageViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAQ,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,EAEL,KAAK,0BAA0B,EAChC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAEvE,+DAA+D;AAC/D,UAAU,oBAAoB;IAC5B,qCAAqC;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kGAAkG;IAClG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iGAAiG;IACjG,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2FAA2F;IAC3F,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,0FAA0F;IAC1F,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C,qGAAqG;IACrG,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,+FAA+F;IAC/F,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC;;;;OAIG;IACH,UAAU,CAAC,EAAE,0BAA0B,CAAC;CACzC;AAED,+DAA+D;AAC/D,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA8BpD,CAAC"}
@@ -1,133 +0,0 @@
1
- import { FC } from 'react';
2
- import { Components, Options } from 'react-markdown';
3
- import { CodeBlockTheme } from '../../types/code-editor';
4
- import { MarkdownTableActionLabels, MarkdownTableClassNames } from './Table/MarkdownTable';
5
- /** Per-element className overrides passed to {@link MarkdownRenderer}. */
6
- export interface MarkdownRendererClassNames extends MarkdownTableClassNames {
7
- /** Class on `<h1>`. */
8
- h1?: string;
9
- /** Class on `<h2>`. */
10
- h2?: string;
11
- /** Class on `<h3>`. */
12
- h3?: string;
13
- /** Class on `<h4>`. */
14
- h4?: string;
15
- /** Class on `<h5>`. */
16
- h5?: string;
17
- /** Class on `<h6>`. */
18
- h6?: string;
19
- /** Classes on `<p>` elements. */
20
- p?: string;
21
- /** Extra classes on `<ul>` (base: `list-disc ps-[2em]`). */
22
- ul?: string;
23
- /** Extra classes on `<ol>` (base: `list-decimal ps-[2em]`). */
24
- ol?: string;
25
- /** Typography class for `<strong>`. Defaults to `'dial-body-paragraph-semi-text'` — the semibold step matching the default `p` class. */
26
- strong?: string;
27
- /** Typography class for `<em>`. Defaults to `'italic'`. */
28
- em?: string;
29
- /**
30
- * @deprecated The `<pre>` wrapper is now a fragment passthrough; this class no longer applies
31
- * to fenced code blocks. Migrate to `codeBlockContainer` for the block container.
32
- */
33
- codeBlock?: string;
34
- /** Extra classes on the {@link MarkdownCodeBlock} outer container. */
35
- codeBlockContainer?: string;
36
- /** Extra classes on the {@link MarkdownCodeBlock} header bar. */
37
- codeBlockHeader?: string;
38
- /** Typography class for the `<code>` element inside a code block. Defaults to `'dial-code-text'`. */
39
- codeFont?: string;
40
- /** Extra classes on inline `<code>` (base: `rounded px-1 py-0.5`). */
41
- codeInline?: string;
42
- /** Typography class for inline `<code>`. Defaults to `'dial-code-text'`. */
43
- codeInlineFont?: string;
44
- /** Extra classes on `<blockquote>` (base uses a logical start border and padding). */
45
- blockquote?: string;
46
- /** Extra classes on `<a>` (base uses the accent text color and an offset underline). */
47
- link?: string;
48
- /** Extra classes on `<hr>` separators. */
49
- hr?: string;
50
- /** Extra classes on deleted text rendered by GFM. */
51
- del?: string;
52
- /** Extra classes on `<th>` and `<td>` (base includes borders, spacing, and text wrapping). */
53
- tableCell?: string;
54
- /** Extra classes on `<td>` only (applied before `tableCell`, e.g. a body-cell background). */
55
- tableBodyCell?: string;
56
- /** Extra classes on `<th>` only (applied alongside `tableCell`). */
57
- tableHeader?: string;
58
- /** Typography class for `<th>` cells. Defaults to `'dial-tiny-lead-semi-text'`. Text color is set separately via `colors.tableHeaderText`. */
59
- tableHeaderFont?: string;
60
- /** Extra classes on the scrollable wrapper around block (display) LaTeX formulas. */
61
- mathBlock?: string;
62
- }
63
- /** Props for {@link MarkdownRenderer}. */
64
- export interface MarkdownRendererProps {
65
- /** Raw markdown string to render. */
66
- content: string;
67
- /** Classes applied to the renderer root. */
68
- containerClassName?: string;
69
- /** When true, appended content is revealed gradually for smoother streaming updates. */
70
- isStreaming?: boolean;
71
- /** Reveal speed used while `isStreaming` is true. Defaults to 120 characters per second. */
72
- streamCharactersPerSecond?: number;
73
- /** Per-element styling classes. Merged with structural base classes inside the component. Defaults to no overrides (`{}`). */
74
- classNames?: MarkdownRendererClassNames;
75
- /**
76
- * Full component overrides merged on top of the built-in map.
77
- * Use for elements not covered by `classNames`.
78
- */
79
- components?: Components;
80
- /** Extra rehype plugins, applied after the built-in KaTeX pass. Defaults to none. */
81
- rehypePlugins?: NonNullable<Options['rehypePlugins']>;
82
- /**
83
- * Label shown with a shimmer animation while `isStreaming` is true and no content has arrived yet.
84
- * Defaults to `'Thinking'`. Pass a translated string from the consuming app.
85
- */
86
- thinkingLabel?: string;
87
- /** Accessible label for the copy button in code blocks. Defaults to `'Copy code'`. */
88
- codeBlockCopyLabel?: string;
89
- /** Accessible label for the copy button after copying. Defaults to `'Copied!'`. */
90
- codeBlockCopiedLabel?: string;
91
- /** Syntax highlight color theme for code blocks and tables. Defaults to `'dark'`. */
92
- codeBlockTheme?: CodeBlockTheme;
93
- /** Color overrides applied as CSS custom properties. */
94
- colors?: MarkdownRendererColors;
95
- /** Localized labels for Markdown table actions. Supplying them enables the action bar. */
96
- tableActionLabels?: MarkdownTableActionLabels;
97
- /** Filename used when downloading a Markdown table as CSV. Defaults to `'table.csv'`. */
98
- tableDownloadFilename?: string;
99
- tableOnOpenInCanvas?: (markdown: string) => void;
100
- /** Accessible label for a table's horizontally scrollable region. Defaults to `'Scrollable table'`. */
101
- tableScrollRegionAriaLabel?: string;
102
- /** Accessible label for a block formula's horizontally scrollable region. Defaults to `'Scrollable formula'`. */
103
- mathScrollRegionAriaLabel?: string;
104
- }
105
- /** CSS custom-property overrides for the `MarkdownRenderer` component. */
106
- export interface MarkdownRendererColors {
107
- /** Primary color of the "thinking" shimmer gradient. */
108
- thinkingPrimary?: string;
109
- /** Secondary color of the "thinking" shimmer gradient. */
110
- thinkingSecondary?: string;
111
- /** Border color for `<hr>` separators and table cell borders. */
112
- border?: string;
113
- /** Border color for the `<blockquote>` start border. Defaults to `--stroke-primary`. */
114
- blockquoteBorder?: string;
115
- /** Text color for `<blockquote>` content. Defaults to `--text-secondary`. */
116
- blockquoteText?: string;
117
- /** Text color for `<a>` links. Defaults to `--text-accent`. */
118
- linkText?: string;
119
- /** Focus-visible outline color for `<a>` links. Defaults to `--stroke-focus-black`. */
120
- linkFocus?: string;
121
- /** Text color for `<th>` table header cells. Defaults to `--text-secondary`. */
122
- tableHeaderText?: string;
123
- /** Text color for `<h6>` headings. Defaults to `--text-secondary`. */
124
- headingSixText?: string;
125
- /** Background color for inline `<code>` spans. Defaults to `--bg-layer-raised`. */
126
- inlineCodeBackground?: string;
127
- /** Text color for inline `<code>` spans. Defaults to `--text-primary`. */
128
- inlineCodeText?: string;
129
- }
130
- export declare const defaultMarkdownComponents: Components;
131
- /** Markdown renderer with GFM support. Styling is driven by `classNames`; structural overrides via `components`. */
132
- export declare const MarkdownRenderer: FC<MarkdownRendererProps>;
133
- //# sourceMappingURL=MarkdownRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/MarkdownRenderer.tsx"],"names":[],"mappings":"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"}
@@ -1,18 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** Props for {@link MarkdownMathBlock}. */
3
- export interface MarkdownMathBlockProps {
4
- /** Rendered KaTeX output — the `<math display="block">` element and its subtree. */
5
- children: ReactNode;
6
- /** Extra classes on the scroll container. */
7
- className?: string;
8
- /** Accessible label for the horizontally scrollable region. Defaults to `'Scrollable formula'`. */
9
- scrollRegionAriaLabel?: string;
10
- }
11
- /**
12
- * Wraps KaTeX display math in a horizontally scrollable region so a formula
13
- * wider than the message column stays reachable instead of being clipped.
14
- * The region only becomes a labelled, keyboard-focusable landmark while it
15
- * actually overflows, so ordinary formulas add no tab stop or noise.
16
- */
17
- export declare const MarkdownMathBlock: FC<MarkdownMathBlockProps>;
18
- //# sourceMappingURL=MarkdownMathBlock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownMathBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Math/MarkdownMathBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,SAAS,EAAQ,MAAM,OAAO,CAAC;AAKtD,2CAA2C;AAC3C,MAAM,WAAW,sBAAsB;IACrC,oFAAoF;IACpF,QAAQ,EAAE,SAAS,CAAC;IACpB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mGAAmG;IACnG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAoCxD,CAAC"}
@@ -1,49 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { MarkdownTableActionLabels } from './table-serialization';
3
- export { DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME, MARKDOWN_TABLE_CSV_MIME_TYPE, MarkdownTableCopyFormat, serializeMarkdownTableRows, type MarkdownTableActionLabels, } from './table-serialization';
4
- export type { MarkdownTableHeaderAction } from './useMarkdownTableActions/useMarkdownTableActions';
5
- /** Per-element className overrides for {@link MarkdownTable}. */
6
- export interface MarkdownTableClassNames {
7
- /** Extra classes on the outer table wrapper. */
8
- tableWrapper?: string;
9
- /** Typography class for the table. Defaults to `'dial-small-text'`. */
10
- tableFont?: string;
11
- /** Extra classes on the scrollable table region. */
12
- tableScrollContainer?: string;
13
- }
14
- /** CSS custom-property overrides for the `MarkdownTable` component. */
15
- export interface MarkdownTableColors {
16
- /** Scroll container border color. */
17
- border?: string;
18
- /** Scrollbar thumb/track color. */
19
- scrollbar?: string;
20
- /** Edge-fade mask color. */
21
- fade?: string;
22
- /** Divider color between rows. Defaults to `--stroke-tertiary`. */
23
- rowDivider?: string;
24
- /** Background of even-indexed body rows. Defaults to `--bg-layer-base`. */
25
- rowZebraBackground?: string;
26
- /** Background of a body row on hover. Defaults to `--bg-control-accent-alpha-hover`. */
27
- rowHoverBackground?: string;
28
- }
29
- /** Props for {@link MarkdownTable}. */
30
- export interface MarkdownTableProps {
31
- /** Table body/children rendered inside the scrollable wrapper (typically `<thead>`/`<tbody>` from react-markdown). */
32
- children: ReactNode;
33
- /** Per-element className overrides. */
34
- classNames: MarkdownTableClassNames;
35
- /** Color overrides applied as CSS custom properties. */
36
- colors?: MarkdownTableColors;
37
- /** Localized labels for table actions. Supplying them enables the action bar. */
38
- actionLabels?: MarkdownTableActionLabels;
39
- /** Filename used when downloading the table as CSV. Defaults to `'table.csv'`. */
40
- downloadFilename?: string;
41
- /** When true, table actions are hidden while content is still arriving. */
42
- isStreaming?: boolean;
43
- onOpenInCanvas?: (markdown: string) => void;
44
- /** Accessible label for the horizontally scrollable region. Defaults to `'Scrollable table'`. */
45
- scrollRegionAriaLabel?: string;
46
- }
47
- /** Renders a responsive Markdown table with an end fade while more columns are available. */
48
- export declare const MarkdownTable: FC<MarkdownTableProps>;
49
- //# sourceMappingURL=MarkdownTable.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownTable.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/MarkdownTable.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AAOf,OAAO,EAKL,KAAK,yBAAyB,EAC/B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EACL,wCAAwC,EACxC,4BAA4B,EAC5B,uBAAuB,EACvB,0BAA0B,EAC1B,KAAK,yBAAyB,GAC/B,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAEnG,iEAAiE;AACjE,MAAM,WAAW,uBAAuB;IACtC,gDAAgD;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uEAAuE;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,uEAAuE;AACvE,MAAM,WAAW,mBAAmB;IAClC,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2EAA2E;IAC3E,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wFAAwF;IACxF,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC,sHAAsH;IACtH,QAAQ,EAAE,SAAS,CAAC;IACpB,uCAAuC;IACvC,UAAU,EAAE,uBAAuB,CAAC;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,iFAAiF;IACjF,YAAY,CAAC,EAAE,yBAAyB,CAAC;IACzC,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,iGAAiG;IACjG,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAID,6FAA6F;AAC7F,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAgJhD,CAAC"}
@@ -1,22 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** A single action rendered by {@link TableHeader}. */
3
- export interface TableHeaderAction {
4
- /** Stable accessible name and tooltip text. */
5
- label: string;
6
- /** Decorative icon content rendered inside the action button. */
7
- icon: ReactNode;
8
- /** Called when the action button is activated. */
9
- onClick: () => void;
10
- }
11
- /** Props for {@link TableHeader}. */
12
- export interface TableHeaderProps {
13
- /** Content rendered at the inline start of the header. */
14
- children?: ReactNode;
15
- /** Action descriptors rendered as icon buttons at the inline end. */
16
- actions?: TableHeaderAction[];
17
- /** Extra classes merged onto the header. */
18
- className?: string;
19
- }
20
- /** Reusable table header with caller-supplied leading content and actions. */
21
- export declare const TableHeader: FC<TableHeaderProps>;
22
- //# sourceMappingURL=TableHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/TableHeader.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI3C,uDAAuD;AACvD,MAAM,WAAW,iBAAiB;IAChC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,iEAAiE;IACjE,IAAI,EAAE,SAAS,CAAC;IAChB,kDAAkD;IAClD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qEAAqE;IACrE,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC9B,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,8EAA8E;AAC9E,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgC5C,CAAC"}
@@ -1,19 +0,0 @@
1
- export declare enum MarkdownTableCopyFormat {
2
- Csv = "csv",
3
- Txt = "txt",
4
- Markdown = "markdown"
5
- }
6
- /** Default filename used when downloading a Markdown table as CSV. */
7
- export declare const DEFAULT_MARKDOWN_TABLE_DOWNLOAD_FILENAME = "table.csv";
8
- /** MIME type used when downloading a Markdown table as CSV. */
9
- export declare const MARKDOWN_TABLE_CSV_MIME_TYPE = "text/csv;charset=utf-8";
10
- export interface MarkdownTableActionLabels {
11
- copyCsvLabel?: string;
12
- copyTxtLabel?: string;
13
- copyMarkdownLabel?: string;
14
- copiedLabel?: string;
15
- downloadCsvLabel?: string;
16
- openInCanvasLabel?: string;
17
- }
18
- export declare const serializeMarkdownTableRows: (rows: readonly HTMLTableRowElement[], format: MarkdownTableCopyFormat) => string;
19
- //# sourceMappingURL=table-serialization.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"table-serialization.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/Table/table-serialization.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB;AAED,sEAAsE;AACtE,eAAO,MAAM,wCAAwC,cAAc,CAAC;AACpE,+DAA+D;AAC/D,eAAO,MAAM,4BAA4B,2BAA2B,CAAC;AAErE,MAAM,WAAW,yBAAyB;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAgBD,eAAO,MAAM,0BAA0B,GACrC,MAAM,SAAS,mBAAmB,EAAE,EACpC,QAAQ,uBAAuB,KAC9B,MAqBF,CAAC"}
@@ -1,27 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { MarkdownTableCopyFormat, MarkdownTableActionLabels } from '../table-serialization';
3
- /** A table header action rendered as an icon button. */
4
- export interface MarkdownTableHeaderAction {
5
- /** Stable accessible name and tooltip text. */
6
- label: string;
7
- /** Decorative icon content. */
8
- icon: ReactNode;
9
- /** Called when the action is activated. */
10
- onClick: () => void;
11
- }
12
- /** Params for {@link useMarkdownTableActions}. */
13
- export interface UseMarkdownTableActionsParams {
14
- /** Localized labels for table actions. `undefined` yields no actions. */
15
- actionLabels: MarkdownTableActionLabels | undefined;
16
- /** The copy format whose icon should render as a checkmark, or `undefined`. */
17
- copiedFormat: MarkdownTableCopyFormat | undefined;
18
- /** Called with the requested format when a copy action is activated. */
19
- onCopy: (format: MarkdownTableCopyFormat) => void;
20
- /** Called when the download-as-CSV action is activated. */
21
- onDownloadCsv: () => void;
22
- /** Called when the open-in-canvas action is activated. Omit to hide that action. */
23
- onOpenInCanvas?: () => void;
24
- }
25
- /** Builds the {@link MarkdownTableHeaderAction} list for a table's action bar from its localized labels. */
26
- export declare const useMarkdownTableActions: ({ actionLabels, copiedFormat, onCopy, onDownloadCsv, onOpenInCanvas, }: UseMarkdownTableActionsParams) => MarkdownTableHeaderAction[];
27
- //# sourceMappingURL=useMarkdownTableActions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMarkdownTableActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/MarkdownRenderer/Table/useMarkdownTableActions/useMarkdownTableActions.tsx"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,SAAS,EAAW,MAAM,OAAO,CAAC;AAEhD,OAAO,EACL,uBAAuB,EACvB,KAAK,yBAAyB,EAC/B,MAAM,wBAAwB,CAAC;AAEhC,wDAAwD;AACxD,MAAM,WAAW,yBAAyB;IACxC,+CAA+C;IAC/C,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,SAAS,CAAC;IAChB,2CAA2C;IAC3C,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAQD,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,yEAAyE;IACzE,YAAY,EAAE,yBAAyB,GAAG,SAAS,CAAC;IACpD,+EAA+E;IAC/E,YAAY,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAClD,wEAAwE;IACxE,MAAM,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IAClD,2DAA2D;IAC3D,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,oFAAoF;IACpF,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;CAC7B;AAED,4GAA4G;AAC5G,eAAO,MAAM,uBAAuB,GAAI,wEAMrC,6BAA6B,KAAG,yBAAyB,EAoEa,CAAC"}
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- /** Props for {@link MarkdownTaskCheckbox}. */
3
- export interface MarkdownTaskCheckboxProps {
4
- /** Whether the GFM task-list item is checked. Defaults to `false`. */
5
- checked?: boolean;
6
- }
7
- /** Read-only checkbox for GFM task-list items (`- [ ]` / `- [x]`). */
8
- export declare const MarkdownTaskCheckbox: FC<MarkdownTaskCheckboxProps>;
9
- //# sourceMappingURL=MarkdownTaskCheckbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownTaskCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/MarkdownRenderer/TaskCheckbox/MarkdownTaskCheckbox.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,8CAA8C;AAC9C,MAAM,WAAW,yBAAyB;IACxC,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,sEAAsE;AACtE,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,yBAAyB,CAM9D,CAAC"}
@@ -1,10 +0,0 @@
1
- import { MarkdownRendererClassNames } from './MarkdownRenderer';
2
- /** Default typography classNames for rendering markdown with full visual hierarchy. */
3
- export declare const DEFAULT_MARKDOWN_CLASS_NAMES: MarkdownRendererClassNames;
4
- /**
5
- * {@link DEFAULT_MARKDOWN_CLASS_NAMES} with the body copy one step down the
6
- * type scale. Headings, code, and tables are unchanged — only the text that
7
- * dominates a long answer shrinks, so more of it fits on a narrow viewport.
8
- */
9
- export declare const COMPACT_MARKDOWN_CLASS_NAMES: MarkdownRendererClassNames;
10
- //# sourceMappingURL=markdown-class-names.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown-class-names.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownRenderer/markdown-class-names.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAErE,uFAAuF;AACvF,eAAO,MAAM,4BAA4B,EAAE,0BAe1C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,0BAI1C,CAAC"}
@@ -1,15 +0,0 @@
1
- import { FC } from 'react';
2
- /** Props for {@link MarkdownWithPlaceholders}. */
3
- export interface MarkdownWithPlaceholdersProps {
4
- /** Raw markdown string to render, read-only. */
5
- content: string;
6
- /** Typography class overrides applied to `<h1>`–`<h6>`. Defaults to no override. */
7
- headingClassName?: string;
8
- }
9
- /**
10
- * Renders read-only markdown with every `{{param}}` token wrapped in a
11
- * `cat-prompt-variable`-classed span the host can style apart from the
12
- * surrounding prose.
13
- */
14
- export declare const MarkdownWithPlaceholders: FC<MarkdownWithPlaceholdersProps>;
15
- //# sourceMappingURL=MarkdownWithPlaceholders.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MarkdownWithPlaceholders.d.ts","sourceRoot":"","sources":["../../../src/components/MarkdownWithPlaceholders/MarkdownWithPlaceholders.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAO3B,kDAAkD;AAClD,MAAM,WAAW,6BAA6B;IAC5C,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAKD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,EAAE,EAAE,CAAC,6BAA6B,CAoBtE,CAAC"}
@@ -1,24 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** CSS custom-property overrides for the `PanelEmptyState` component. */
3
- export interface PanelEmptyStateColors {
4
- /** Icon color. */
5
- icon?: string;
6
- /** Label text color. */
7
- label?: string;
8
- }
9
- /** Props for `PanelEmptyState`. */
10
- export interface PanelEmptyStateProps {
11
- /** Icon element rendered above the label. */
12
- icon?: ReactNode;
13
- /** Primary message shown beneath the icon. */
14
- label: string;
15
- /** Color overrides applied as CSS custom properties. */
16
- colors?: PanelEmptyStateColors;
17
- /** CSS class applied to the label text. Defaults to `'dial-tiny-text'`. */
18
- labelClassName?: string;
19
- /** CSS class applied to the icon+label container. */
20
- containerClassName?: string;
21
- }
22
- /** Centered empty-state block for use inside a sidebar panel body. */
23
- export declare const PanelEmptyState: FC<PanelEmptyStateProps>;
24
- //# sourceMappingURL=PanelEmptyState.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PanelEmptyState.d.ts","sourceRoot":"","sources":["../../../src/components/PanelEmptyState/PanelEmptyState.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD,yEAAyE;AACzE,MAAM,WAAW,qBAAqB;IACpC,kBAAkB;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,6CAA6C;IAC7C,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,qDAAqD;IACrD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,sEAAsE;AACtE,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAwBpD,CAAC"}
@@ -1,49 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- import { EntityHeaderItem } from '../../models/entity';
3
- /** CSS custom-property overrides for the `ResourceSummary` row. */
4
- export interface ResourceSummaryColors {
5
- /** Row border color. Defaults to `--stroke-tertiary`. */
6
- border?: string;
7
- /** Row background color. Defaults to `--bg-layer-sunken`. */
8
- background?: string;
9
- /** Version tag border color. Defaults to `--stroke-tertiary`. */
10
- versionTagBorder?: string;
11
- /** Version tag background color. Defaults to `--bg-control-accent-alpha`. */
12
- versionTagBackground?: string;
13
- /** Version tag text color. Defaults to `--text-accent`. */
14
- versionTagText?: string;
15
- }
16
- /** Typography overrides for the `ResourceSummary` row. */
17
- export interface ResourceSummaryTypography {
18
- /** Typography class applied to the version tag. Defaults to `'dial-tiny-text'`. */
19
- versionTagClassName?: string;
20
- }
21
- /** Style overrides for `ResourceSummary`. */
22
- export interface ResourceSummaryStyles {
23
- /** Color overrides applied as CSS custom properties. */
24
- colors?: ResourceSummaryColors;
25
- /** Typography class overrides. */
26
- typography?: ResourceSummaryTypography;
27
- }
28
- /** Props for `ResourceSummary`. */
29
- export interface ResourceSummaryProps {
30
- /** Entity shown in the row as an icon, type label, name, and version tag. Ignored when `children` is set. */
31
- item?: EntityHeaderItem;
32
- /** Row content rendered instead of the entity header and version tag. */
33
- children?: ReactNode;
34
- /** Version tag text; `{version}` is replaced with `item.version`. The tag is omitted when `item.version` is empty. Defaults to `'Version {version} · current'`. */
35
- versionLabel?: string;
36
- /** Whether the version is shown as a trailing tag. When `false` it is shown inline after the name instead. Defaults to `true`. */
37
- hasVersionTag?: boolean;
38
- /** Size of the entity icon. Defaults to `40`. */
39
- iconSize?: number;
40
- /** CSS class applied to the row. */
41
- className?: string;
42
- /** Style overrides. */
43
- styles?: ResourceSummaryStyles;
44
- /** Color overrides applied as CSS custom properties. Prefer `styles.colors`. */
45
- colors?: ResourceSummaryColors;
46
- }
47
- /** Bordered summary row pairing an entity's identity block with its current-version tag. */
48
- export declare const ResourceSummary: FC<ResourceSummaryProps>;
49
- //# sourceMappingURL=ResourceSummary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResourceSummary.d.ts","sourceRoot":"","sources":["../../../src/components/ResourceSummary/ResourceSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAM5D,mEAAmE;AACnE,MAAM,WAAW,qBAAqB;IACpC,yDAAyD;IACzD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iEAAiE;IACjE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,6EAA6E;IAC7E,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,2DAA2D;IAC3D,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,0DAA0D;AAC1D,MAAM,WAAW,yBAAyB;IACxC,mFAAmF;IACnF,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,6CAA6C;AAC7C,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,kCAAkC;IAClC,UAAU,CAAC,EAAE,yBAAyB,CAAC;CACxC;AAED,mCAAmC;AACnC,MAAM,WAAW,oBAAoB;IACnC,6GAA6G;IAC7G,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,yEAAyE;IACzE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,mKAAmK;IACnK,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kIAAkI;IAClI,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uBAAuB;IACvB,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,gFAAgF;IAChF,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED,4FAA4F;AAC5F,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA2DpD,CAAC"}
@@ -1,3 +0,0 @@
1
- /** Reserved folder name used to mark a hidden storage folder. */
2
- export declare const HIDDEN_FILE = ".dial_folder";
3
- //# sourceMappingURL=dial.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dial.d.ts","sourceRoot":"","sources":["../../src/constants/dial.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,eAAO,MAAM,WAAW,iBAAiB,CAAC"}
@@ -1,6 +0,0 @@
1
- import { CatalogEntityType } from '../types/entity-type';
2
- /** Text color per entity type — used for the type label, featured chip, and drop shadow. */
3
- export declare const ENTITY_TYPE_COLOR: Record<CatalogEntityType, string>;
4
- /** Background color per entity type — used for the featured chip surface. */
5
- export declare const ENTITY_TYPE_BG_COLOR: Record<CatalogEntityType, string>;
6
- //# sourceMappingURL=entity-colors.d.ts.map