@pstdio/ui 0.14.0 → 0.16.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 (226) hide show
  1. package/dist/{MermaidComponent-CatfVUxA.js → MermaidComponent-BCMQqPqu.js} +11 -11
  2. package/dist/{MermaidComponent-CatfVUxA.js.map → MermaidComponent-BCMQqPqu.js.map} +1 -1
  3. package/dist/browser-storage-BinyFNJX.js +40 -0
  4. package/dist/browser-storage-BinyFNJX.js.map +1 -0
  5. package/dist/chat-ui.js +1160 -1120
  6. package/dist/chat-ui.js.map +1 -1
  7. package/dist/checkbox-D5AzFRlb.js +70 -0
  8. package/dist/checkbox-D5AzFRlb.js.map +1 -0
  9. package/dist/components/chat-ui/components/ai-conversation.d.ts +1 -1
  10. package/dist/components/chat-ui/components/ai-message.d.ts +1 -1
  11. package/dist/components/chat-ui/components/ai-response.d.ts +0 -1
  12. package/dist/components/chat-ui/components/attachment-list.d.ts +1 -1
  13. package/dist/components/chat-ui/components/auto-scroll.d.ts +27 -0
  14. package/dist/components/chat-ui/components/chat-message-animation.d.ts +22 -0
  15. package/dist/components/chat-ui/components/timeline.d.ts +0 -2
  16. package/dist/components/chat-ui/performance/chat-performance-fixtures.d.ts +0 -1
  17. package/dist/components/chat-ui/tool-rendering/build-timeline.d.ts +2 -12
  18. package/dist/components/chat-ui/tool-rendering/shared.d.ts +1 -1
  19. package/dist/components/chat-ui/tool-rendering/types.d.ts +1 -2
  20. package/dist/components/command-palette/index.d.ts +4 -0
  21. package/dist/components/data-renderer/data-renderer-board.d.ts +1 -1
  22. package/dist/components/data-renderer/data-renderer-card.d.ts +1 -1
  23. package/dist/components/data-renderer/data-renderer-enum-helpers.d.ts +3 -3
  24. package/dist/components/data-renderer/data-renderer-helpers.d.ts +2 -0
  25. package/dist/components/data-renderer/data-renderer-list.d.ts +1 -1
  26. package/dist/components/data-renderer/data-renderer.d.ts +1 -1
  27. package/dist/components/data-renderer/index.d.ts +18 -0
  28. package/dist/components/data-renderer/types.d.ts +0 -6
  29. package/dist/components/diff-viewer/diff-card.d.ts +1 -0
  30. package/dist/components/diff-viewer/diff-drawer-scroll.d.ts +0 -19
  31. package/dist/components/diff-viewer/diff-drawer.d.ts +1 -0
  32. package/dist/components/diff-viewer/diff-viewer-options-menu.d.ts +16 -0
  33. package/dist/components/diff-viewer/index.d.ts +2 -0
  34. package/dist/components/diff-viewer/use-selected-diff-scroll.d.ts +7 -3
  35. package/dist/components/internal/style-guide.d.ts +14 -0
  36. package/dist/components/internal/token-editor-controls.d.ts +8 -0
  37. package/dist/components/internal/token-editor-data.d.ts +40 -0
  38. package/dist/components/internal/token-editor-state.d.ts +22 -0
  39. package/dist/components/layout/index.d.ts +6 -0
  40. package/dist/components/list-row/list-row.types.d.ts +1 -1
  41. package/dist/components/notification-center/index.d.ts +2 -0
  42. package/dist/components/notification-center/notification-center.d.ts +2 -0
  43. package/dist/components/notification-center/notification-center.types.d.ts +37 -0
  44. package/dist/components/{bubble-button.d.ts → overlays/bubble-button.d.ts} +1 -1
  45. package/dist/components/overlays/index.d.ts +12 -0
  46. package/dist/components/overlays/search-modal-content.d.ts +20 -0
  47. package/dist/components/{searchable-menu.d.ts → overlays/searchable-menu.d.ts} +1 -1
  48. package/dist/components/param-editor/index.d.ts +23 -0
  49. package/dist/components/param-editor/inputs/action-input.d.ts +13 -0
  50. package/dist/components/param-editor/inputs/anchor-grid-input.d.ts +12 -0
  51. package/dist/components/param-editor/inputs/anchor-grid.d.ts +4 -0
  52. package/dist/components/param-editor/inputs/file-accept.d.ts +22 -0
  53. package/dist/components/param-editor/inputs/file-drop-input.d.ts +14 -0
  54. package/dist/components/param-editor/inputs/numeric-value.d.ts +6 -0
  55. package/dist/components/param-editor/inputs/range-input.d.ts +17 -0
  56. package/dist/components/param-editor/inputs/range-value.d.ts +5 -0
  57. package/dist/components/param-editor/inputs/resource-input-chips.d.ts +15 -0
  58. package/dist/components/param-editor/inputs/resource-input.d.ts +18 -0
  59. package/dist/components/param-editor/inputs/segmented-input.d.ts +14 -0
  60. package/dist/components/param-editor/inputs/slider-marks.d.ts +5 -0
  61. package/dist/components/param-editor/inputs/vector-input.d.ts +17 -0
  62. package/dist/components/param-editor/inputs/vector-value.d.ts +7 -0
  63. package/dist/components/param-editor/param-editor-control-item.d.ts +15 -0
  64. package/dist/components/param-editor/param-editor-control-list.d.ts +5 -0
  65. package/dist/components/param-editor/param-editor-field-label.d.ts +1 -0
  66. package/dist/components/param-editor/param-editor-field.d.ts +11 -0
  67. package/dist/components/param-editor/param-editor-inline-group.d.ts +5 -0
  68. package/dist/components/param-editor/param-editor-section.d.ts +16 -0
  69. package/dist/components/param-editor/param-editor.d.ts +2 -1
  70. package/dist/components/param-editor/param-editor.types.d.ts +101 -19
  71. package/dist/components/{breadcrumb.d.ts → primitives/breadcrumb.d.ts} +1 -1
  72. package/dist/components/{icon-color-picker.d.ts → primitives/icon-color-picker.d.ts} +2 -6
  73. package/dist/components/primitives/index.d.ts +28 -0
  74. package/dist/components/{number-input.d.ts → primitives/number-input.d.ts} +0 -2
  75. package/dist/components/{session-indicator.d.ts → primitives/session-indicator.d.ts} +2 -1
  76. package/dist/components/{tooltip.d.ts → primitives/tooltip.d.ts} +0 -1
  77. package/dist/components/rich-text/prompt-input/commands.d.ts +0 -17
  78. package/dist/components/rich-text/prompt-input/events.d.ts +0 -13
  79. package/dist/components/rich-text/prompt-input/plugins/CommentPlugin/nodes/CommentNode/CommentNode.d.ts +1 -2
  80. package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +1 -2
  81. package/dist/components/rich-text/prompt-input/utils.d.ts +1 -2
  82. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +0 -1
  83. package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
  84. package/dist/components/sidebar/sidebar.types.d.ts +1 -1
  85. package/dist/components/tab-strip/tab-visibility-filter.d.ts +5 -3
  86. package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
  87. package/dist/components/tag-editor/tag-editor.types.d.ts +1 -1
  88. package/dist/components/terminal/bind-session.d.ts +33 -0
  89. package/dist/components/terminal/index.d.ts +6 -0
  90. package/dist/components/terminal/scripted-bridge.d.ts +35 -0
  91. package/dist/components/terminal/terminal-contract.d.ts +22 -0
  92. package/dist/components/terminal/terminal-theme.d.ts +12 -0
  93. package/dist/components/terminal/terminal.d.ts +45 -0
  94. package/dist/components/terminal/types.d.ts +35 -0
  95. package/dist/components/terminal/use-terminal-session.d.ts +21 -0
  96. package/dist/components/tree-list/tree-list-order-filter.d.ts +1 -2
  97. package/dist/components/tree-list/tree-list-visibility-filter.d.ts +12 -4
  98. package/dist/components/tree-list/tree-list.d.ts +1 -1
  99. package/dist/components/tree-list/tree-list.types.d.ts +7 -2
  100. package/dist/data-renderer.js +1669 -0
  101. package/dist/data-renderer.js.map +1 -0
  102. package/dist/diff-editor-BnfV8cYB.js +182 -0
  103. package/dist/diff-editor-BnfV8cYB.js.map +1 -0
  104. package/dist/diff.js +1313 -0
  105. package/dist/diff.js.map +1 -0
  106. package/dist/empty-state-Bo4HVrgr.js +34 -0
  107. package/dist/empty-state-Bo4HVrgr.js.map +1 -0
  108. package/dist/foundations/gallery/gallery-frame.d.ts +21 -0
  109. package/dist/foundations/gallery/sections/badges-section.d.ts +1 -0
  110. package/dist/foundations/gallery/sections/buttons-section.d.ts +1 -0
  111. package/dist/foundations/gallery/sections/composite-chat-section.d.ts +1 -0
  112. package/dist/foundations/gallery/sections/composites-section.d.ts +1 -0
  113. package/dist/foundations/gallery/sections/feedback-section.d.ts +1 -0
  114. package/dist/foundations/gallery/sections/input-authoring-card.d.ts +1 -0
  115. package/dist/foundations/gallery/sections/inputs-section.d.ts +1 -0
  116. package/dist/foundations/gallery/sections/layout-section.d.ts +1 -0
  117. package/dist/foundations/gallery/sections/navigation-identity-section.d.ts +1 -0
  118. package/dist/foundations/gallery/sections/overlays-section.d.ts +1 -0
  119. package/dist/foundations/gallery/sections/panels-section.d.ts +1 -0
  120. package/dist/foundations/gallery/sections/param-editor-composite-card.d.ts +1 -0
  121. package/dist/foundations/gallery/sections/settings-composite-cards.d.ts +1 -0
  122. package/dist/index.d.ts +15 -84
  123. package/dist/index.js +3594 -7450
  124. package/dist/index.js.map +1 -1
  125. package/dist/list-row-mi3Hn-Um.js +740 -0
  126. package/dist/list-row-mi3Hn-Um.js.map +1 -0
  127. package/dist/mermaid-renderer-DZo3qj6D.js +425 -0
  128. package/dist/mermaid-renderer-DZo3qj6D.js.map +1 -0
  129. package/dist/mermaid.js +5 -0
  130. package/dist/mermaid.js.map +1 -0
  131. package/dist/radio-cLMEBBZk.js +76 -0
  132. package/dist/radio-cLMEBBZk.js.map +1 -0
  133. package/dist/resource-badge-qCWHP-wQ.js +99 -0
  134. package/dist/resource-badge-qCWHP-wQ.js.map +1 -0
  135. package/dist/{rich-message-BFtvH9H7.js → rich-message-DBf_5YlW.js} +462 -481
  136. package/dist/rich-message-DBf_5YlW.js.map +1 -0
  137. package/dist/rich-text.js +397 -390
  138. package/dist/rich-text.js.map +1 -1
  139. package/dist/scroll-area-BMbg1WcD.js +91 -0
  140. package/dist/scroll-area-BMbg1WcD.js.map +1 -0
  141. package/dist/style.css +1 -1
  142. package/dist/terminal.js +339 -0
  143. package/dist/terminal.js.map +1 -0
  144. package/dist/theme/global.d.ts +3 -0
  145. package/dist/theme/recipes/badge.d.ts +50 -0
  146. package/dist/theme/recipes/button.d.ts +24 -19
  147. package/dist/theme/recipes/color-picker.d.ts +1 -0
  148. package/dist/theme/recipes/dialog.d.ts +1 -1
  149. package/dist/theme/recipes/drawer.d.ts +1 -1
  150. package/dist/theme/recipes/input.d.ts +55 -0
  151. package/dist/theme/recipes/number-input.d.ts +98 -0
  152. package/dist/theme/recipes/tabs.d.ts +49 -28
  153. package/dist/theme/recipes/textarea.d.ts +62 -1
  154. package/dist/theme/recipes/timeline.d.ts +74 -0
  155. package/dist/theme/shadowless-default-config.d.ts +2 -0
  156. package/dist/theme/tokens/borders.d.ts +0 -3
  157. package/dist/theme/tokens/colors.d.ts +100 -70
  158. package/dist/{theme-C5qHTCU9.js → theme-CJBYBJaA.js} +1264 -415
  159. package/dist/theme-CJBYBJaA.js.map +1 -0
  160. package/dist/theme-preference-DOzHx64J.js +123 -0
  161. package/dist/theme-preference-DOzHx64J.js.map +1 -0
  162. package/dist/theme.js +1 -1
  163. package/dist/tree-list-CcuZMLS5.js +930 -0
  164. package/dist/tree-list-CcuZMLS5.js.map +1 -0
  165. package/dist/workspace-badge-Fuo-1zPj.js +314 -0
  166. package/dist/workspace-badge-Fuo-1zPj.js.map +1 -0
  167. package/package.json +23 -3
  168. package/dist/components/file-tree-helpers.d.ts +0 -8
  169. package/dist/components/open-source-notices-screen.d.ts +0 -20
  170. package/dist/components/param-editor/input-group.d.ts +0 -10
  171. package/dist/components/rich-text/shared/plugins/MermaidPlugin/index.d.ts +0 -1
  172. package/dist/components/rich-text/shared/plugins/TableActionMenuPlugin/TableActionMenuPlugin.d.ts +0 -5
  173. package/dist/components/rich-text/shared/plugins/TableCellResizerPlugin/TableCellResizerPlugin.d.ts +0 -2
  174. package/dist/components/rich-text/theme/report-theme.d.ts +0 -3
  175. package/dist/components/sidebar/sidebar-project-menu.d.ts +0 -7
  176. package/dist/components/style-guide-data.d.ts +0 -46
  177. package/dist/components/style-guide.d.ts +0 -1
  178. package/dist/mermaid-renderer-DYEiYmYQ.js +0 -411
  179. package/dist/mermaid-renderer-DYEiYmYQ.js.map +0 -1
  180. package/dist/radio-DJtQY9po.js +0 -286
  181. package/dist/radio-DJtQY9po.js.map +0 -1
  182. package/dist/resource-badge-D33IFv74.js +0 -188
  183. package/dist/resource-badge-D33IFv74.js.map +0 -1
  184. package/dist/rich-message-BFtvH9H7.js.map +0 -1
  185. package/dist/theme/tokens/shadows.d.ts +0 -64
  186. package/dist/theme-C5qHTCU9.js.map +0 -1
  187. package/dist/utils/formats.d.ts +0 -7
  188. /package/dist/components/{palette-filter.d.ts → command-palette/palette-filter.d.ts} +0 -0
  189. /package/dist/components/{palette-list.d.ts → command-palette/palette-list.d.ts} +0 -0
  190. /package/dist/components/{palette-shortcut.d.ts → command-palette/palette-shortcut.d.ts} +0 -0
  191. /package/dist/components/{palette.d.ts → command-palette/palette.d.ts} +0 -0
  192. /package/dist/components/{code-editor.d.ts → diff-viewer/code-editor.d.ts} +0 -0
  193. /package/dist/components/{column-file-browser.d.ts → file-browser/column-file-browser.d.ts} +0 -0
  194. /package/dist/components/{performance-panel.d.ts → internal/performance-panel.d.ts} +0 -0
  195. /package/dist/components/{header.d.ts → layout/header.d.ts} +0 -0
  196. /package/dist/components/{horizontal-menu-stack.d.ts → layout/horizontal-menu-stack.d.ts} +0 -0
  197. /package/dist/components/{item-section.d.ts → layout/item-section.d.ts} +0 -0
  198. /package/dist/components/{panel-header.constants.d.ts → layout/panel-header.constants.d.ts} +0 -0
  199. /package/dist/components/{resizable-split-layout.d.ts → layout/resizable-split-layout.d.ts} +0 -0
  200. /package/dist/components/{resizable-split-layout.handle.d.ts → layout/resizable-split-layout.handle.d.ts} +0 -0
  201. /package/dist/components/{attached-panel.d.ts → overlays/attached-panel.d.ts} +0 -0
  202. /package/dist/components/{bubble-panel.d.ts → overlays/bubble-panel.d.ts} +0 -0
  203. /package/dist/components/{delete-confirmation-modal.d.ts → overlays/delete-confirmation-modal.d.ts} +0 -0
  204. /package/dist/components/{repo-picker-dialog.d.ts → overlays/repo-picker-dialog.d.ts} +0 -0
  205. /package/dist/components/{resource-context-menu.d.ts → overlays/resource-context-menu.d.ts} +0 -0
  206. /package/dist/components/param-editor/{color-input.d.ts → inputs/color-input.d.ts} +0 -0
  207. /package/dist/components/param-editor/{date-input.d.ts → inputs/date-input.d.ts} +0 -0
  208. /package/dist/components/param-editor/{horizontal-text-input.d.ts → inputs/horizontal-text-input.d.ts} +0 -0
  209. /package/dist/components/param-editor/{number-input.d.ts → inputs/number-input.d.ts} +0 -0
  210. /package/dist/components/param-editor/{selection-input.d.ts → inputs/selection-input.d.ts} +0 -0
  211. /package/dist/components/param-editor/{text-input.d.ts → inputs/text-input.d.ts} +0 -0
  212. /package/dist/components/{alert.d.ts → primitives/alert.d.ts} +0 -0
  213. /package/dist/components/{checkbox.d.ts → primitives/checkbox.d.ts} +0 -0
  214. /package/dist/components/{content-placeholder.d.ts → primitives/content-placeholder.d.ts} +0 -0
  215. /package/dist/components/{empty-state.d.ts → primitives/empty-state.d.ts} +0 -0
  216. /package/dist/components/{error-boundary.d.ts → primitives/error-boundary.d.ts} +0 -0
  217. /package/dist/components/{info-card.d.ts → primitives/info-card.d.ts} +0 -0
  218. /package/dist/components/{integration-card.d.ts → primitives/integration-card.d.ts} +0 -0
  219. /package/dist/components/{radio.d.ts → primitives/radio.d.ts} +0 -0
  220. /package/dist/components/{resource-badge.d.ts → primitives/resource-badge.d.ts} +0 -0
  221. /package/dist/components/{scroll-area.d.ts → primitives/scroll-area.d.ts} +0 -0
  222. /package/dist/components/{simple-card.d.ts → primitives/simple-card.d.ts} +0 -0
  223. /package/dist/components/{slider.d.ts → primitives/slider.d.ts} +0 -0
  224. /package/dist/components/{switch.d.ts → primitives/switch.d.ts} +0 -0
  225. /package/dist/components/{toaster.d.ts → primitives/toaster.d.ts} +0 -0
  226. /package/dist/components/{workspace-badge.d.ts → primitives/workspace-badge.d.ts} +0 -0
@@ -0,0 +1,12 @@
1
+ export { AttachedPanel } from './attached-panel';
2
+ export { BubbleButton } from './bubble-button';
3
+ export { BubblePanel } from './bubble-panel';
4
+ export { DeleteConfirmationModal } from './delete-confirmation-modal';
5
+ export type { RepoPickerDialogEntry, RepoPickerDialogProps } from './repo-picker-dialog';
6
+ export { RepoPickerDialog } from './repo-picker-dialog';
7
+ export type { ResourceContextAction } from './resource-context-menu';
8
+ export { ResourceContextMenu } from './resource-context-menu';
9
+ export type { SearchModalContentProps } from './search-modal-content';
10
+ export { SearchModalContent } from './search-modal-content';
11
+ export type { SearchableMenuItem, SearchableMenuParentList } from './searchable-menu';
12
+ export { SearchableMenu } from './searchable-menu';
@@ -0,0 +1,20 @@
1
+ import { KeyboardEventHandler, ReactNode, Ref } from 'react';
2
+ import { ScrollAreaProps } from '../primitives/scroll-area';
3
+ export interface SearchModalContentProps {
4
+ children: ReactNode;
5
+ searchValue: string;
6
+ searchPlaceholder: string;
7
+ searchAriaLabel?: string;
8
+ searchIcon?: ReactNode;
9
+ searchInputRef?: Ref<HTMLInputElement>;
10
+ searchAutoFocus?: boolean;
11
+ showCloseButton?: boolean;
12
+ closeButtonLabel?: string;
13
+ bodyBefore?: ReactNode;
14
+ footerStart?: ReactNode;
15
+ footerEnd?: ReactNode;
16
+ scrollAreaProps?: Omit<ScrollAreaProps, "children">;
17
+ onSearchChange: (value: string) => void;
18
+ onSearchKeyDown?: KeyboardEventHandler<HTMLInputElement>;
19
+ }
20
+ export declare const SearchModalContent: (props: SearchModalContentProps) => import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ export interface SearchableMenuItem {
9
9
  secondaryLabel?: string;
10
10
  tooltipLabel?: ReactNode;
11
11
  icon?: ElementType;
12
- variant?: "default" | "compact";
12
+ variant?: "default" | "compact" | "full-width";
13
13
  isDisabled?: boolean;
14
14
  isSelected?: boolean;
15
15
  onSelect?: () => void;
@@ -1,2 +1,25 @@
1
+ export { ActionInput } from './inputs/action-input';
2
+ export { ANCHOR_GRID_VALUES, isAnchorGridValue } from './inputs/anchor-grid';
3
+ export { AnchorGridInput } from './inputs/anchor-grid-input';
4
+ export { ColorInput } from './inputs/color-input';
5
+ export { DateInput } from './inputs/date-input';
6
+ export { FileDropInput } from './inputs/file-drop-input';
7
+ export { HorizontalTextInput } from './inputs/horizontal-text-input';
8
+ export { NumberInput } from './inputs/number-input';
9
+ export { RangeInput } from './inputs/range-input';
10
+ export { ResourceInput } from './inputs/resource-input';
11
+ export { SegmentedInput } from './inputs/segmented-input';
12
+ export { SelectionInput } from './inputs/selection-input';
13
+ export { TextInput } from './inputs/text-input';
14
+ export { VectorInput } from './inputs/vector-input';
1
15
  export type { ParamEditorProps } from './param-editor';
2
16
  export { ParamEditor } from './param-editor';
17
+ export type { ActionOption, ActionsParam, AnchorGridParam, AnchorGridValue, BaseParam, ColorParam, DateParam, FileDropParam, FileDropValue, InputGroup, NumberParam, Param, ParamValue, ParamValueMap, PropertyParam, RangeParam, RangeValue, ResourceOption, ResourceParam, ResourceRefValue, SegmentedOption, SegmentedParam, SelectionParam, TextParam, VectorParam, VectorValue, } from './param-editor.types';
18
+ export { ParamEditorControlItem } from './param-editor-control-item';
19
+ export { ParamEditorControlList } from './param-editor-control-list';
20
+ export { ParamEditorField } from './param-editor-field';
21
+ export { ParamEditorFieldLabel } from './param-editor-field-label';
22
+ export { ParamEditorInlineGroup } from './param-editor-inline-group';
23
+ export { ParamEditorLabel } from './param-editor-label';
24
+ export { ParamEditorReadOnlyValue } from './param-editor-read-only-value';
25
+ export { ParamEditorSection } from './param-editor-section';
@@ -0,0 +1,13 @@
1
+ import { ActionOption } from '../param-editor.types';
2
+ interface ActionInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue?: string;
7
+ options: ActionOption[];
8
+ onChange: (id: string, value: string) => void;
9
+ readOnly?: boolean;
10
+ fullWidth?: boolean;
11
+ }
12
+ export declare const ActionInput: (props: ActionInputProps) => import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ import { AnchorGridValue } from '../param-editor.types';
2
+ interface AnchorGridInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: AnchorGridValue;
7
+ onChange: (id: string, value: AnchorGridValue) => void;
8
+ readOnly?: boolean;
9
+ fullWidth?: boolean;
10
+ }
11
+ export declare const AnchorGridInput: (props: AnchorGridInputProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,4 @@
1
+ import { AnchorGridValue } from '../param-editor.types';
2
+ /** The nine anchors in row-major order (top-left → bottom-right). */
3
+ export declare const ANCHOR_GRID_VALUES: AnchorGridValue[];
4
+ export declare const isAnchorGridValue: (value: unknown) => value is AnchorGridValue;
@@ -0,0 +1,22 @@
1
+ import { FileDropValue } from '../param-editor.types';
2
+ interface AcceptClause {
3
+ kind: "extension" | "mime" | "wildcard";
4
+ value: string;
5
+ }
6
+ /** Parse an accept string ("image/*,.png,image/jpeg") into normalized clauses. */
7
+ export declare const parseAccept: (accept?: string) => AcceptClause[];
8
+ export interface AcceptCandidate {
9
+ name: string;
10
+ mimeType?: string;
11
+ }
12
+ /** Whether a file satisfies the accept string. An empty accept matches anything. */
13
+ export declare const acceptsFile: (candidate: AcceptCandidate, accept?: string) => boolean;
14
+ interface FileMetadataInput {
15
+ name: string;
16
+ type?: string;
17
+ size?: number;
18
+ dataUrl?: string;
19
+ }
20
+ /** Build the serializable metadata a file-drop control commits (never a live File). */
21
+ export declare const fileDropValueFromFile: (input: FileMetadataInput) => FileDropValue;
22
+ export {};
@@ -0,0 +1,14 @@
1
+ import { FileDropValue } from '../param-editor.types';
2
+ interface FileDropInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: FileDropValue | null;
7
+ accept?: string;
8
+ assetKind?: "file" | "image";
9
+ onChange: (id: string, value: FileDropValue | null) => void;
10
+ readOnly?: boolean;
11
+ fullWidth?: boolean;
12
+ }
13
+ export declare const FileDropInput: (props: FileDropInputProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,6 @@
1
+ /** Clamp `value` into the inclusive range, tolerating an inverted min/max. */
2
+ export declare const clampToRange: (value: number, min: number, max: number) => number;
3
+ /** Snap `value` to the nearest multiple of `step` measured from `origin`. */
4
+ export declare const snapToStep: (value: number, step: number, origin?: number) => number;
5
+ /** Format a number with an optional unit suffix, trimming float noise. */
6
+ export declare const formatUnitValue: (value: number, unit?: string) => string;
@@ -0,0 +1,17 @@
1
+ import { RangeValue } from '../param-editor.types';
2
+ interface RangeInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: RangeValue;
7
+ min: number;
8
+ max: number;
9
+ step?: number;
10
+ unit?: string;
11
+ markerCount?: number;
12
+ onChange: (id: string, value: RangeValue) => void;
13
+ readOnly?: boolean;
14
+ fullWidth?: boolean;
15
+ }
16
+ export declare const RangeInput: (props: RangeInputProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,5 @@
1
+ import { RangeValue } from '../param-editor.types';
2
+ /** Order both handles and clamp (and optionally snap) them into `[min, max]`. */
3
+ export declare const normalizeRange: (value: RangeValue, min: number, max: number, step?: number) => RangeValue;
4
+ /** Replace a single handle, keeping the pair ordered. */
5
+ export declare const updateRangeHandle: (value: RangeValue, index: 0 | 1, next: number, min: number, max: number, step?: number) => RangeValue;
@@ -0,0 +1,15 @@
1
+ import { ResourceOption, ResourceRefValue } from '../param-editor.types';
2
+ interface ResourceChipProps {
3
+ option: ResourceOption;
4
+ onOpenResource?: (ref: ResourceRefValue) => void;
5
+ onRemove?: () => void;
6
+ }
7
+ export declare const ResourceChip: (props: ResourceChipProps) => import("react/jsx-runtime").JSX.Element;
8
+ interface ResourceChipListProps {
9
+ options: ResourceOption[];
10
+ onOpenResource?: (ref: ResourceRefValue) => void;
11
+ onRemove?: (optionId: string) => void;
12
+ emptyText?: string;
13
+ }
14
+ export declare const ResourceChipList: (props: ResourceChipListProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,18 @@
1
+ import { ResourceOption, ResourceRefValue } from '../param-editor.types';
2
+ interface ResourceInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: string | string[];
7
+ options: ResourceOption[];
8
+ onChange: (id: string, value: string | string[]) => void;
9
+ onOpenResource?: (ref: ResourceRefValue) => void;
10
+ readOnly?: boolean;
11
+ editable?: boolean;
12
+ multiSelect?: boolean;
13
+ placeholder?: string;
14
+ emptyText?: string;
15
+ fullWidth?: boolean;
16
+ }
17
+ export declare const ResourceInput: (props: ResourceInputProps) => import("react/jsx-runtime").JSX.Element;
18
+ export {};
@@ -0,0 +1,14 @@
1
+ import { SegmentedOption } from '../param-editor.types';
2
+ interface SegmentedInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: string;
7
+ options: SegmentedOption[];
8
+ variant?: "default" | "dots";
9
+ onChange: (id: string, value: string) => void;
10
+ readOnly?: boolean;
11
+ fullWidth?: boolean;
12
+ }
13
+ export declare const SegmentedInput: (props: SegmentedInputProps) => import("react/jsx-runtime").JSX.Element;
14
+ export {};
@@ -0,0 +1,5 @@
1
+ interface SliderMarksProps {
2
+ count?: number;
3
+ }
4
+ export declare const SliderMarks: (props: SliderMarksProps) => import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
@@ -0,0 +1,17 @@
1
+ import { VectorValue } from '../param-editor.types';
2
+ interface VectorInputProps {
3
+ id: string;
4
+ name: string;
5
+ description?: string;
6
+ defaultValue: VectorValue;
7
+ xLabel?: string;
8
+ yLabel?: string;
9
+ min?: number;
10
+ max?: number;
11
+ step?: number;
12
+ onChange: (id: string, value: VectorValue) => void;
13
+ readOnly?: boolean;
14
+ fullWidth?: boolean;
15
+ }
16
+ export declare const VectorInput: (props: VectorInputProps) => import("react/jsx-runtime").JSX.Element;
17
+ export {};
@@ -0,0 +1,7 @@
1
+ import { VectorValue } from '../param-editor.types';
2
+ export interface VectorBounds {
3
+ min?: number;
4
+ max?: number;
5
+ }
6
+ /** Update a single axis without dropping the other, clamping into optional bounds. */
7
+ export declare const updateVectorAxis: (value: VectorValue, axis: "x" | "y", next: number, bounds?: VectorBounds) => VectorValue;
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ type ControlItemOrientation = "auto" | "inline" | "stacked";
3
+ interface ParamEditorControlItemProps {
4
+ name?: string;
5
+ description?: string;
6
+ hideLabel?: boolean;
7
+ fullWidth?: boolean;
8
+ /** `auto` renders inline when compact and stacked when full-width. */
9
+ orientation?: ControlItemOrientation;
10
+ /** Rendered on the label row, right-aligned (e.g. an editable value readout). */
11
+ labelTrailing?: ReactNode;
12
+ children: ReactNode;
13
+ }
14
+ export declare const ParamEditorControlItem: (props: ParamEditorControlItemProps) => import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,5 @@
1
+ import { StackProps } from '@chakra-ui/react';
2
+ interface ParamEditorControlListProps extends StackProps {
3
+ }
4
+ export declare const ParamEditorControlList: (props: ParamEditorControlListProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1 @@
1
+ export { ParamEditorLabel as ParamEditorFieldLabel } from './param-editor-label';
@@ -0,0 +1,11 @@
1
+ import { Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
2
+ interface ParamEditorFieldProps {
3
+ param: Param;
4
+ defaultValues: ParamValueMap;
5
+ onChange: (id: string, value: ParamValue) => void;
6
+ onOpenResource?: (ref: ResourceRefValue) => void;
7
+ readOnly?: boolean;
8
+ fullWidth?: boolean;
9
+ }
10
+ export declare const ParamEditorField: (props: ParamEditorFieldProps) => import("react/jsx-runtime").JSX.Element | null;
11
+ export {};
@@ -0,0 +1,5 @@
1
+ import { FlexProps } from '@chakra-ui/react';
2
+ interface ParamEditorInlineGroupProps extends FlexProps {
3
+ }
4
+ export declare const ParamEditorInlineGroup: (props: ParamEditorInlineGroupProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,16 @@
1
+ import { Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
2
+ interface ParamEditorSectionProps {
3
+ title?: string;
4
+ description?: string;
5
+ params: Param[];
6
+ defaultValues: ParamValueMap;
7
+ onChange: (id: string, value: ParamValue) => void;
8
+ onOpenResource?: (ref: ResourceRefValue) => void;
9
+ readOnly?: boolean;
10
+ fullWidth?: boolean;
11
+ collapsible?: boolean;
12
+ defaultCollapsed?: boolean;
13
+ isFirst?: boolean;
14
+ }
15
+ export declare const ParamEditorSection: (props: ParamEditorSectionProps) => import("react/jsx-runtime").JSX.Element;
16
+ export {};
@@ -1,9 +1,10 @@
1
- import { InputGroup, Param, ParamValue, ParamValueMap } from './param-editor.types';
1
+ import { InputGroup, Param, ParamValue, ParamValueMap, ResourceRefValue } from './param-editor.types';
2
2
  export interface ParamEditorProps {
3
3
  params?: Param[];
4
4
  groups?: InputGroup[];
5
5
  defaultValues?: ParamValueMap;
6
6
  onChange?: (id: string, value: ParamValue) => void;
7
+ onOpenResource?: (ref: ResourceRefValue) => void;
7
8
  readOnly?: boolean;
8
9
  fullWidth?: boolean;
9
10
  }
@@ -41,20 +41,109 @@ export interface PropertyParam extends BaseParam {
41
41
  type: "property";
42
42
  value: ReactNode;
43
43
  }
44
- export type ObjectDefinition = (NumberParam | TextParam)[];
45
- export interface ObjectParam extends BaseParam {
46
- type: "object";
47
- defaultValue: ObjectDefinition;
48
- editableSchema?: boolean;
44
+ /** A reference the host can open (e.g. another resource tab). */
45
+ export interface ResourceRefValue {
46
+ type: string;
47
+ id: string;
48
+ label?: string;
49
+ }
50
+ /**
51
+ * Serializable resource chip. Clicking it opens `href` externally, opens `ref` via
52
+ * `onOpenResource`, or copies `copyText` to the clipboard — whichever is set.
53
+ */
54
+ export interface ResourceOption {
55
+ id: string;
56
+ name: string;
57
+ icon?: string;
58
+ color?: string;
59
+ description?: string;
60
+ href?: string;
61
+ ref?: ResourceRefValue;
62
+ copyText?: string;
63
+ }
64
+ /**
65
+ * Resource references rendered as tags/chips. View-only by default; set `editable`
66
+ * to pick from `options` via a dropdown. Value is the selected option id(s), mirroring
67
+ * {@link SelectionParam}, so it stays JSON-safe across the controls-command boundary.
68
+ */
69
+ export interface ResourceParam extends BaseParam {
70
+ type: "resource";
71
+ defaultValue: string | string[];
72
+ options: ResourceOption[];
73
+ multiSelect?: boolean;
74
+ editable?: boolean;
75
+ placeholder?: string;
76
+ emptyText?: string;
49
77
  }
50
- export interface ListParam extends BaseParam {
51
- type: "list";
52
- files?: boolean;
53
- defaultValue: string[];
78
+ export type RangeValue = [number, number];
79
+ /** Two-handle numeric range control. Values normalize to ordered `[start, end]`. */
80
+ export interface RangeParam extends BaseParam {
81
+ type: "range";
82
+ defaultValue: RangeValue;
83
+ min: number;
84
+ max: number;
85
+ step?: number;
86
+ unit?: string;
87
+ markerCount?: number;
54
88
  }
89
+ export interface SegmentedOption {
90
+ id: string;
91
+ name: string;
92
+ icon?: string;
93
+ indicatorColor?: string;
94
+ }
95
+ /** Mutually-exclusive mode control rendered as a segmented button group. */
96
+ export interface SegmentedParam extends BaseParam {
97
+ type: "segmented";
98
+ defaultValue: string;
99
+ options: SegmentedOption[];
100
+ variant?: "default" | "dots";
101
+ }
102
+ export interface ActionOption {
103
+ id: string;
104
+ name: string;
105
+ icon?: string;
106
+ disabled?: boolean;
107
+ }
108
+ /** Compact command set rendered as an action button row. */
109
+ export interface ActionsParam extends BaseParam {
110
+ type: "actions";
111
+ defaultValue?: string;
112
+ options: ActionOption[];
113
+ }
114
+ export type AnchorGridValue = "top-left" | "top" | "top-right" | "left" | "center" | "right" | "bottom-left" | "bottom" | "bottom-right";
115
+ /** Nine-point alignment picker. */
116
+ export interface AnchorGridParam extends BaseParam {
117
+ type: "anchorGrid";
118
+ defaultValue: AnchorGridValue;
119
+ }
120
+ export interface VectorValue {
121
+ x: number;
122
+ y: number;
123
+ }
124
+ /** Paired x/y numeric control. */
55
125
  export interface VectorParam extends BaseParam {
56
126
  type: "vector";
57
- defaultValue: [];
127
+ defaultValue: VectorValue;
128
+ coordinateMode?: "cartesian" | "screen";
129
+ xLabel?: string;
130
+ yLabel?: string;
131
+ min?: number;
132
+ max?: number;
133
+ step?: number;
134
+ }
135
+ /** File selection metadata. Not a live `File` object — hosts own persistence. */
136
+ export interface FileDropValue {
137
+ name: string;
138
+ mimeType?: string;
139
+ size?: number;
140
+ dataUrl?: string;
141
+ }
142
+ export interface FileDropParam extends BaseParam {
143
+ type: "fileDrop";
144
+ defaultValue: FileDropValue | null;
145
+ accept?: string;
146
+ assetKind?: "file" | "image";
58
147
  }
59
148
  export interface InputGroup {
60
149
  id: string;
@@ -64,13 +153,6 @@ export interface InputGroup {
64
153
  collapsible?: boolean;
65
154
  defaultCollapsed?: boolean;
66
155
  }
67
- export type ParamValue = number | string | null | ObjectDefinition | Array<number> | Array<string>;
68
- export type Param = NumberParam | TextParam | SelectionParam | DateParam | ColorParam | PropertyParam | ObjectParam | ListParam | VectorParam;
156
+ export type ParamValue = number | string | null | string[] | RangeValue | VectorValue | FileDropValue;
157
+ export type Param = NumberParam | TextParam | SelectionParam | DateParam | ColorParam | PropertyParam | ResourceParam | RangeParam | SegmentedParam | ActionsParam | AnchorGridParam | VectorParam | FileDropParam;
69
158
  export type ParamValueMap = Record<string, ParamValue>;
70
- type WithOptionalDefault<T extends {
71
- defaultValue: unknown;
72
- }> = Omit<T, "defaultValue"> & {
73
- defaultValue?: T["defaultValue"];
74
- };
75
- export type ParamConfig = WithOptionalDefault<NumberParam> | WithOptionalDefault<TextParam> | WithOptionalDefault<SelectionParam> | WithOptionalDefault<DateParam> | WithOptionalDefault<ColorParam> | WithOptionalDefault<ObjectParam> | WithOptionalDefault<ListParam> | WithOptionalDefault<VectorParam>;
76
- export {};
@@ -1,5 +1,5 @@
1
1
  import { Breadcrumb as ChakraBreadcrumb, SystemStyleObject } from '@chakra-ui/react';
2
- import { ResourceContextAction } from './resource-context-menu';
2
+ import { ResourceContextAction } from '../overlays/resource-context-menu';
3
3
  import * as React from "react";
4
4
  export interface BreadcrumbItem {
5
5
  title: React.ReactNode;
@@ -5,15 +5,11 @@ export interface IconColorPickerIconOption {
5
5
  icon: ComponentType;
6
6
  }
7
7
  export declare const optionColors: readonly ["gray", "red", "orange", "yellow", "green", "teal", "blue", "cyan", "purple", "pink"];
8
- export declare const optionIcons: ({
9
- value: null;
10
- label: string;
11
- icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
12
- } | {
8
+ export declare const optionIcons: {
13
9
  value: string;
14
10
  label: string;
15
11
  icon: import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
16
- })[];
12
+ }[];
17
13
  export declare const getIconComponent: (name: string | null | undefined, iconOptions?: readonly IconColorPickerIconOption[]) => ComponentType;
18
14
  export interface IconColorPickerProps {
19
15
  color: string;
@@ -0,0 +1,28 @@
1
+ export type { AlertProps } from './alert';
2
+ export { AlertMessage } from './alert';
3
+ export type { BreadcrumbItem } from './breadcrumb';
4
+ export { Breadcrumb } from './breadcrumb';
5
+ export type { CheckboxProps } from './checkbox';
6
+ export { Checkbox } from './checkbox';
7
+ export { ContentPlaceholder, Label as ContentPlaceholderLabel } from './content-placeholder';
8
+ export type { EmptyStateProps } from './empty-state';
9
+ export { EmptyState } from './empty-state';
10
+ export { ErrorBoundary } from './error-boundary';
11
+ export type { IconColorPickerIconOption, IconColorPickerProps } from './icon-color-picker';
12
+ export { getIconComponent, IconColorPicker, optionColors, optionIcons } from './icon-color-picker';
13
+ export type { IntegrationCardProps } from './integration-card';
14
+ export { IntegrationCard } from './integration-card';
15
+ export type { RadioProps } from './radio';
16
+ export { Radio, RadioGroup } from './radio';
17
+ export { ResourceBadge } from './resource-badge';
18
+ export { ScrollArea } from './scroll-area';
19
+ export type { SessionCompletionStatus } from './session-indicator';
20
+ export { resolveSessionIndicatorColor, resolveSessionIndicatorIcon, SessionIndicator } from './session-indicator';
21
+ export type { SimpleCardBodyProps, SimpleCardProps } from './simple-card';
22
+ export { SimpleCard, SimpleCardBody } from './simple-card';
23
+ export type { SwitchProps } from './switch';
24
+ export { Switch } from './switch';
25
+ export { Toaster, toaster } from './toaster';
26
+ export { Tooltip } from './tooltip';
27
+ export type { WorkspaceBadgeProps } from './workspace-badge';
28
+ export { WorkspaceBadge } from './workspace-badge';
@@ -4,5 +4,3 @@ export interface NumberInputProps extends ChakraNumberInput.RootProps {
4
4
  }
5
5
  export declare const NumberInputRoot: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLDivElement>>;
6
6
  export declare const NumberInputField: React.ForwardRefExoticComponent<ChakraNumberInput.InputProps & React.RefAttributes<HTMLInputElement>>;
7
- export declare const NumberInputScrubber: React.ForwardRefExoticComponent<ChakraNumberInput.ScrubberProps & React.RefAttributes<HTMLDivElement>>;
8
- export declare const NumberInputLabel: React.ForwardRefExoticComponent<ChakraNumberInput.LabelProps & React.RefAttributes<HTMLLabelElement>>;
@@ -1,6 +1,7 @@
1
1
  import { Icon } from '@chakra-ui/react';
2
2
  import { ComponentProps } from 'react';
3
- export type SessionCompletionStatus = "in_progress" | "awaiting_input" | "queued" | "completed" | "failed" | "cancelled" | "disconnected";
3
+ export declare const sessionCompletionStatuses: readonly ["in_progress", "awaiting_input", "queued", "completed", "failed", "cancelled", "disconnected"];
4
+ export type SessionCompletionStatus = (typeof sessionCompletionStatuses)[number];
4
5
  export declare const resolveSessionIndicatorIcon: (status: SessionCompletionStatus | undefined) => import('react').ForwardRefExoticComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
5
6
  export declare const resolveSessionIndicatorColor: (status: SessionCompletionStatus | undefined) => "fg.muted" | "fg.error" | "fg.warning" | "fg.success" | "fg.info";
6
7
  interface SessionIndicatorProps {
@@ -2,7 +2,6 @@ import { Tooltip as ChakraTooltip } from '@chakra-ui/react';
2
2
  import * as React from "react";
3
3
  export interface TooltipProps extends ChakraTooltip.RootProps {
4
4
  children?: React.ReactElement;
5
- showArrow?: boolean;
6
5
  portalled?: boolean;
7
6
  portalRef?: React.RefObject<HTMLElement>;
8
7
  content: React.ReactNode;
@@ -1,19 +1,2 @@
1
- export declare const UPLOAD_FILE_COMMAND: import('lexical').LexicalCommand<unknown>;
2
- export declare const OPEN_CONTEXT_COMMAND: import('lexical').LexicalCommand<unknown>;
3
- export declare const RUN_PROMPT_COMMAND: import('lexical').LexicalCommand<unknown>;
4
- export declare const UPDATE_FORMAT_COMMAND: import('lexical').LexicalCommand<unknown>;
5
- export declare const UPDATE_BEHAVIOR_COMMAND: import('lexical').LexicalCommand<unknown>;
6
- export declare const INSERT_PROMPT_COMMAND: import('lexical').LexicalCommand<unknown>;
7
- export declare const RENAME_PROMPT_COMMAND: import('lexical').LexicalCommand<unknown>;
8
- export declare const DUPLICATE_PROMPT_COMMAND: import('lexical').LexicalCommand<unknown>;
9
- export declare const DELETE_PROMPT_COMMAND: import('lexical').LexicalCommand<unknown>;
10
- export declare const DELETE_REFERENCES_COMMAND: import('lexical').LexicalCommand<unknown>;
11
- export declare const RENAME_REFERENCES_COMMAND: import('lexical').LexicalCommand<unknown>;
12
1
  export declare const INSERT_REFERENCE_COMMAND: import('lexical').LexicalCommand<unknown>;
13
2
  export declare const INSERT_BLOCK_COMMAND: import('lexical').LexicalCommand<unknown>;
14
- export declare const INSERT_NEW_FILE_PLACEHOLDER = "INSERT_NEW_FILE_PLACEHOLDER";
15
- export declare const INSERT_NEW_TEXT_PLACEHOLDER = "INSERT_NEW_TEXT_PLACEHOLDER";
16
- export declare const INSERT_PLACEHOLDER_REFERENCE = "INSERT_PLACEHOLDER_REFERENCE";
17
- export declare const INSERT_NEW_FILE_PLACEHOLDER_COMMAND: import('lexical').LexicalCommand<unknown>;
18
- export declare const INSERT_NEW_TEXT_PLACEHOLDER_COMMAND: import('lexical').LexicalCommand<unknown>;
19
- export declare const INSERT_PLACEHOLDER_REFERENCE_COMMAND: import('lexical').LexicalCommand<unknown>;
@@ -1,15 +1,2 @@
1
- export declare const FOCUS_EDITOR = "FOCUS_EDITOR";
2
- export declare const UPLOAD_FILE = "UPLOAD_FILE";
3
- export declare const OPEN_CONTEXT = "OPEN_CONTEXT";
4
- export declare const DROP_EVENT = "DROP_EVENT";
5
- export declare const RUN_PROMPT = "RUN_PROMPT";
6
- export declare const UPDATE_FORMAT = "UPDATE_FORMAT";
7
- export declare const UPDATE_BEHAVIOR = "UPDATE_BEHAVIOR";
8
- export declare const INSERT_PROMPT = "INSERT_PROMPT";
9
- export declare const RENAME_PROMPT = "RENAME_PROMPT";
10
- export declare const DUPLICATE_PROMPT = "DUPLICATE_PROMPT";
11
- export declare const DELETE_PROMPT = "DELETE_PROMPT";
12
- export declare const DELETE_REFERENCES = "DELETE_REFERENCES";
13
- export declare const RENAME_REFERENCES = "RENAME_REFERENCES";
14
1
  export declare const INSERT_REFERENCE = "INSERT_REFERENCE";
15
2
  export declare const INSERT_BLOCK = "INSERT_BLOCK";
@@ -1,4 +1,4 @@
1
- import { DOMConversionMap, DOMExportOutput, EditorConfig, ElementNode, LexicalEditor, LexicalNode, ParagraphNode, RangeSelection, SerializedElementNode } from 'lexical';
1
+ import { DOMConversionMap, DOMExportOutput, EditorConfig, ElementNode, LexicalEditor, ParagraphNode, RangeSelection, SerializedElementNode } from 'lexical';
2
2
  export type SerializedCommentNode = SerializedElementNode;
3
3
  export declare class CommentNode extends ElementNode {
4
4
  static getType(): string;
@@ -14,4 +14,3 @@ export declare class CommentNode extends ElementNode {
14
14
  collapseAtStart(): true;
15
15
  }
16
16
  export declare function $createCommentNode(): CommentNode;
17
- export declare function $isCommentNode(node: LexicalNode | null | undefined): node is CommentNode;
@@ -1,4 +1,4 @@
1
- import { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalEditor, LexicalNode, NodeKey, SerializedTextNode, Spread, TextNode } from 'lexical';
1
+ import { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalEditor, NodeKey, SerializedTextNode, Spread, TextNode } from 'lexical';
2
2
  type SerializedReferenceNode = Spread<{
3
3
  referenceId: string;
4
4
  name: string;
@@ -22,5 +22,4 @@ export declare class ReferenceNode extends TextNode {
22
22
  getTextContent(): string;
23
23
  }
24
24
  export declare function $createReferenceNode(referenceId: string, name: string): ReferenceNode;
25
- export declare function $isReferenceNode(node: LexicalNode | null | undefined): node is ReferenceNode;
26
25
  export {};
@@ -1,5 +1,4 @@
1
- import { Klass, LexicalNode, RootNode } from 'lexical';
2
- export declare function $getAllNodesOfType<T extends LexicalNode>(nodeType: Klass<T>): T[];
1
+ import { RootNode } from 'lexical';
3
2
  export declare const $getTextContent: (root: RootNode) => string;
4
3
  export declare const getTextFromSerializedEditorState: (state: string) => string;
5
4
  export declare const emptyEditorState: {