@pstdio/ui 0.3.1 → 0.5.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.
- package/dist/MermaidComponent-DwEDwpo2.js +124 -0
- package/dist/MermaidComponent-DwEDwpo2.js.map +1 -0
- package/dist/chat-ui.js +610 -505
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/attached-panel.d.ts +9 -0
- package/dist/components/attached-panel.utils.d.ts +6 -0
- package/dist/components/bubble-button.d.ts +10 -0
- package/dist/components/bubble-panel.d.ts +18 -0
- package/dist/components/chat-ui/components/chat-input-actions.d.ts +10 -0
- package/dist/components/chat-ui/components/chat-panel-sticky-user-message.d.ts +1 -1
- package/dist/components/chat-ui/components/chat-panel.d.ts +1 -0
- package/dist/components/chat-ui/tool-rendering/apply-patch-renderer.d.ts +2 -0
- package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +8 -7
- package/dist/components/chat-ui/tool-rendering/edit-renderer.d.ts +2 -0
- package/dist/components/chat-ui/tool-rendering/shared.d.ts +52 -0
- package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +6 -0
- package/dist/components/chat-ui/tool-rendering/todo-write-renderer.d.ts +2 -0
- package/dist/components/diff-card.d.ts +3 -0
- package/dist/components/diff-drawer.d.ts +1 -0
- package/dist/components/layout.d.ts +1 -2
- package/dist/components/menu-item.d.ts +2 -1
- package/dist/components/panel-header.constants.d.ts +1 -0
- package/dist/components/resource-context-menu.d.ts +20 -0
- package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +1 -0
- package/dist/components/rich-text/prompt-input/plugins/ReferencePlugin/nodes/ReferenceNode/ReferenceNode.d.ts +2 -1
- package/dist/components/rich-text/shared/components/content-editable.d.ts +2 -1
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockActionsPlugin.d.ts +4 -0
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeBlockPlugin.d.ts +2 -0
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeHighlightingPlugin.d.ts +1 -0
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +17 -0
- package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/should-show-floating-toolbar.d.ts +11 -0
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidComponent.d.ts +6 -0
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +23 -0
- package/dist/components/rich-text/shared/plugins/MermaidPlugin/index.d.ts +1 -0
- package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +1 -0
- package/dist/components/rich-text/utils/markdown.d.ts +1 -0
- package/dist/components/searchable-menu.d.ts +35 -2
- package/dist/components/session-indicator.d.ts +2 -2
- package/dist/components/sidebar/sidebar-footer.d.ts +6 -0
- package/dist/components/sidebar/sidebar-header.d.ts +7 -0
- package/dist/components/sidebar/sidebar-project-menu.d.ts +10 -0
- package/dist/components/sidebar/sidebar.d.ts +2 -0
- package/dist/components/sidebar/sidebar.store.d.ts +47 -0
- package/dist/components/{sidebar-next/sidebar-next.types.d.ts → sidebar/sidebar.types.d.ts} +3 -2
- package/dist/components/sidebar-tree/sidebar-node-content.d.ts +9 -0
- package/dist/components/sidebar-tree/sidebar-tree.d.ts +1 -1
- package/dist/components/sidebar-tree/sidebar-tree.types.d.ts +15 -3
- package/dist/components/tickets/tag-badge.d.ts +10 -0
- package/dist/components/tickets/tag-option-icon.d.ts +2 -0
- package/dist/components/tickets/ticket-board.d.ts +2 -0
- package/dist/components/tickets/ticket-card.d.ts +12 -7
- package/dist/components/tickets/ticket-grouping.d.ts +2 -2
- package/dist/components/tickets/ticket-list.d.ts +6 -1
- package/dist/components/tickets/tickets-workspace.d.ts +9 -3
- package/dist/components/tickets/types.d.ts +22 -5
- package/dist/components/tickets/workspace-helpers.d.ts +13 -0
- package/dist/components/workspace-badge.d.ts +22 -0
- package/dist/get-file-type-icon-Bwqf1WXA.js +101 -0
- package/dist/get-file-type-icon-Bwqf1WXA.js.map +1 -0
- package/dist/index.d.ts +22 -21
- package/dist/index.js +2303 -1963
- package/dist/index.js.map +1 -1
- package/dist/rich-message-BVRk9BSD.js +1503 -0
- package/dist/rich-message-BVRk9BSD.js.map +1 -0
- package/dist/rich-text.js +442 -279
- package/dist/rich-text.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/test-utils/local-storage.d.ts +1 -0
- package/dist/theme/global.d.ts +3 -0
- package/dist/theme/primitives/colors.d.ts +116 -0
- package/dist/theme/recipes/button.d.ts +13 -13
- package/dist/theme/recipes/dialog.d.ts +1 -1
- package/dist/theme/recipes/drawer.d.ts +1 -1
- package/dist/theme/recipes/menu.d.ts +1 -1
- package/dist/theme/recipes/popover.d.ts +1 -1
- package/dist/theme/recipes/tooltip.d.ts +1 -1
- package/dist/theme/tokens/colors.d.ts +162 -8
- package/dist/{theme-BFV2Q048.js → theme-D0VvFB1Y.js} +292 -154
- package/dist/theme-D0VvFB1Y.js.map +1 -0
- package/dist/theme.js +1 -1
- package/package.json +4 -2
- package/dist/components/breadcrumb.stories.d.ts +0 -25
- package/dist/components/button.stories.d.ts +0 -18
- package/dist/components/chat-ui/components/ai-conversation.stories.d.ts +0 -6
- package/dist/components/chat-ui/components/ai-conversation.test.d.ts +0 -1
- package/dist/components/chat-ui/components/ai-message.stories.d.ts +0 -6
- package/dist/components/chat-ui/components/ai-response.stories.d.ts +0 -7
- package/dist/components/chat-ui/components/attachment-list.stories.d.ts +0 -6
- package/dist/components/chat-ui/components/chat-input.stories.d.ts +0 -7
- package/dist/components/chat-ui/components/chat-panel-alerts.stories.d.ts +0 -9
- package/dist/components/chat-ui/components/chat-panel.sticky-user-message.test.d.ts +0 -1
- package/dist/components/chat-ui/components/chat-panel.stories.d.ts +0 -10
- package/dist/components/chat-ui/components/message-parts-renderer.stories.d.ts +0 -9
- package/dist/components/chat-ui/components/model-swap-separator.stories.d.ts +0 -6
- package/dist/components/chat-ui/components/tool-invocation-timeline.stories.d.ts +0 -6
- package/dist/components/chat-ui/components/workspace-hub.stories.d.ts +0 -6
- package/dist/components/checkbox.stories.d.ts +0 -15
- package/dist/components/column-file-browser.stories.d.ts +0 -15
- package/dist/components/data-table/data-table.stories.d.ts +0 -33
- package/dist/components/delete-confirmation-modal.stories.d.ts +0 -11
- package/dist/components/diff-bubble.stories.d.ts +0 -13
- package/dist/components/diff-drawer.stories.d.ts +0 -8
- package/dist/components/diff-view-adapter.test.d.ts +0 -1
- package/dist/components/documentation/docs-changelog.d.ts +0 -20
- package/dist/components/documentation/docs-changelog.stories.d.ts +0 -15
- package/dist/components/documentation/docs-outline.d.ts +0 -13
- package/dist/components/documentation/docs-outline.stories.d.ts +0 -16
- package/dist/components/documentation/docs-pagination.d.ts +0 -10
- package/dist/components/documentation/docs-pagination.stories.d.ts +0 -14
- package/dist/components/documentation/docs-sidebar.d.ts +0 -14
- package/dist/components/documentation/docs-sidebar.stories.d.ts +0 -7
- package/dist/components/drawer-inline.stories.d.ts +0 -8
- package/dist/components/empty-state.stories.d.ts +0 -34
- package/dist/components/file-selector.stories.d.ts +0 -17
- package/dist/components/folder-picker-dialog.stories.d.ts +0 -11
- package/dist/components/info-card.stories.d.ts +0 -41
- package/dist/components/item-section.stories.d.ts +0 -17
- package/dist/components/layout.stories.d.ts +0 -11
- package/dist/components/menu-item.stories.d.ts +0 -72
- package/dist/components/open-source-notices-screen.stories.d.ts +0 -12
- package/dist/components/panel-menu.d.ts +0 -9
- package/dist/components/panel-menu.stories.d.ts +0 -8
- package/dist/components/param-editor-horizontal.stories.d.ts +0 -19
- package/dist/components/param-editor.stories.d.ts +0 -24
- package/dist/components/properties.stories.d.ts +0 -17
- package/dist/components/resource-badge.stories.d.ts +0 -7
- package/dist/components/rich-text/collaborative-markdown-editor/collaborative-markdown-editor.stories.d.ts +0 -9
- package/dist/components/rich-text/markdown-editor/markdown-editor.stories.d.ts +0 -7
- package/dist/components/rich-text/prompt-input/prompt-input.stories.d.ts +0 -8
- package/dist/components/rich-text/rich-message/rich-message.stories.d.ts +0 -6
- package/dist/components/rich-text/shared/nodes/DataTableNode.stories.d.ts +0 -7
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeNode.d.ts +0 -21
- package/dist/components/rich-text/shared/plugins/CodePlugin/CodeNode.test.d.ts +0 -1
- package/dist/components/scroll-area.stories.d.ts +0 -7
- package/dist/components/searchable-menu.stories.d.ts +0 -6
- package/dist/components/searchable-menu.test.d.ts +0 -1
- package/dist/components/session-indicator.stories.d.ts +0 -11
- package/dist/components/sidebar-next/sidebar-next-footer.d.ts +0 -6
- package/dist/components/sidebar-next/sidebar-next-header.d.ts +0 -7
- package/dist/components/sidebar-next/sidebar-next.d.ts +0 -2
- package/dist/components/sidebar-next/sidebar-next.store.d.ts +0 -47
- package/dist/components/sidebar-next/sidebar-next.store.test.d.ts +0 -1
- package/dist/components/sidebar-next/sidebar-next.stories.d.ts +0 -10
- package/dist/components/sidebar-tree/sidebar-tree-searchable-action-menu.stories.d.ts +0 -6
- package/dist/components/sidebar-tree/sidebar-tree.stories.d.ts +0 -13
- package/dist/components/slider.stories.d.ts +0 -15
- package/dist/components/style-guide.stories.d.ts +0 -28
- package/dist/components/switch.stories.d.ts +0 -16
- package/dist/components/tickets/display-menu.stories.d.ts +0 -6
- package/dist/components/tickets/filter-menu.stories.d.ts +0 -6
- package/dist/components/tickets/ticket-board.stories.d.ts +0 -5
- package/dist/components/tickets/ticket-card.stories.d.ts +0 -18
- package/dist/components/tickets/ticket-grouping.test.d.ts +0 -1
- package/dist/components/tickets/ticket-list.stories.d.ts +0 -10
- package/dist/components/tickets/tickets-workspace.stories.d.ts +0 -10
- package/dist/components/tickets/use-workspace-store.test.d.ts +0 -1
- package/dist/components/toaster.stories.d.ts +0 -11
- package/dist/rich-message-ZT2CEiwt.js +0 -1406
- package/dist/rich-message-ZT2CEiwt.js.map +0 -1
- package/dist/theme-BFV2Q048.js.map +0 -1
- package/dist/tooltip-Dze4WXVl.js +0 -86
- package/dist/tooltip-Dze4WXVl.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const popoverRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "content" | "body" | "footer" | "header" | "description" | "indicator" | "anchor" | "trigger" | "
|
|
1
|
+
export declare const popoverRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"title" | "content" | "body" | "footer" | "header" | "description" | "indicator" | "anchor" | "trigger" | "arrow" | "arrowTip" | "positioner" | "closeTrigger", {
|
|
2
2
|
variant: {
|
|
3
3
|
responsive: {
|
|
4
4
|
content: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const tooltipRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "trigger" | "
|
|
1
|
+
export declare const tooltipRecipe: import('@chakra-ui/react').SlotRecipeDefinition<"content" | "trigger" | "arrow" | "arrowTip" | "positioner", import('@chakra-ui/react').SlotRecipeVariantRecord<"content" | "trigger" | "arrow" | "arrowTip" | "positioner">>;
|
|
@@ -102,6 +102,18 @@ export declare const bg: {
|
|
|
102
102
|
_dark: string;
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
+
hover: {
|
|
106
|
+
value: {
|
|
107
|
+
base: string;
|
|
108
|
+
_dark: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
active: {
|
|
112
|
+
value: {
|
|
113
|
+
base: string;
|
|
114
|
+
_dark: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
105
117
|
code: {
|
|
106
118
|
value: {
|
|
107
119
|
base: string;
|
|
@@ -141,13 +153,22 @@ export declare const bg: {
|
|
|
141
153
|
button: {
|
|
142
154
|
primary: {
|
|
143
155
|
default: {
|
|
144
|
-
value:
|
|
156
|
+
value: {
|
|
157
|
+
base: string;
|
|
158
|
+
_dark: string;
|
|
159
|
+
};
|
|
145
160
|
};
|
|
146
161
|
hover: {
|
|
147
|
-
value:
|
|
162
|
+
value: {
|
|
163
|
+
base: string;
|
|
164
|
+
_dark: string;
|
|
165
|
+
};
|
|
148
166
|
};
|
|
149
167
|
pressed: {
|
|
150
|
-
value:
|
|
168
|
+
value: {
|
|
169
|
+
base: string;
|
|
170
|
+
_dark: string;
|
|
171
|
+
};
|
|
151
172
|
};
|
|
152
173
|
disabled: {
|
|
153
174
|
value: string;
|
|
@@ -305,6 +326,12 @@ export declare const bg: {
|
|
|
305
326
|
_dark: string;
|
|
306
327
|
};
|
|
307
328
|
};
|
|
329
|
+
"yellow-dark": {
|
|
330
|
+
value: {
|
|
331
|
+
base: string;
|
|
332
|
+
_dark: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
308
335
|
"sand-light": {
|
|
309
336
|
value: {
|
|
310
337
|
base: string;
|
|
@@ -359,7 +386,57 @@ export declare const border: {
|
|
|
359
386
|
export declare const blue: {
|
|
360
387
|
border: {
|
|
361
388
|
value: {
|
|
362
|
-
|
|
389
|
+
_light: string;
|
|
390
|
+
_dark: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
export declare const orange: {
|
|
395
|
+
contrast: {
|
|
396
|
+
value: {
|
|
397
|
+
_light: string;
|
|
398
|
+
_dark: string;
|
|
399
|
+
};
|
|
400
|
+
};
|
|
401
|
+
fg: {
|
|
402
|
+
value: {
|
|
403
|
+
_light: string;
|
|
404
|
+
_dark: string;
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
subtle: {
|
|
408
|
+
value: {
|
|
409
|
+
_light: string;
|
|
410
|
+
_dark: string;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
muted: {
|
|
414
|
+
value: {
|
|
415
|
+
_light: string;
|
|
416
|
+
_dark: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
emphasized: {
|
|
420
|
+
value: {
|
|
421
|
+
_light: string;
|
|
422
|
+
_dark: string;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
solid: {
|
|
426
|
+
value: {
|
|
427
|
+
_light: string;
|
|
428
|
+
_dark: string;
|
|
429
|
+
};
|
|
430
|
+
};
|
|
431
|
+
focusRing: {
|
|
432
|
+
value: {
|
|
433
|
+
_light: string;
|
|
434
|
+
_dark: string;
|
|
435
|
+
};
|
|
436
|
+
};
|
|
437
|
+
border: {
|
|
438
|
+
value: {
|
|
439
|
+
_light: string;
|
|
363
440
|
_dark: string;
|
|
364
441
|
};
|
|
365
442
|
};
|
|
@@ -641,6 +718,18 @@ export declare const semanticColors: {
|
|
|
641
718
|
_dark: string;
|
|
642
719
|
};
|
|
643
720
|
};
|
|
721
|
+
hover: {
|
|
722
|
+
value: {
|
|
723
|
+
base: string;
|
|
724
|
+
_dark: string;
|
|
725
|
+
};
|
|
726
|
+
};
|
|
727
|
+
active: {
|
|
728
|
+
value: {
|
|
729
|
+
base: string;
|
|
730
|
+
_dark: string;
|
|
731
|
+
};
|
|
732
|
+
};
|
|
644
733
|
code: {
|
|
645
734
|
value: {
|
|
646
735
|
base: string;
|
|
@@ -680,13 +769,22 @@ export declare const semanticColors: {
|
|
|
680
769
|
button: {
|
|
681
770
|
primary: {
|
|
682
771
|
default: {
|
|
683
|
-
value:
|
|
772
|
+
value: {
|
|
773
|
+
base: string;
|
|
774
|
+
_dark: string;
|
|
775
|
+
};
|
|
684
776
|
};
|
|
685
777
|
hover: {
|
|
686
|
-
value:
|
|
778
|
+
value: {
|
|
779
|
+
base: string;
|
|
780
|
+
_dark: string;
|
|
781
|
+
};
|
|
687
782
|
};
|
|
688
783
|
pressed: {
|
|
689
|
-
value:
|
|
784
|
+
value: {
|
|
785
|
+
base: string;
|
|
786
|
+
_dark: string;
|
|
787
|
+
};
|
|
690
788
|
};
|
|
691
789
|
disabled: {
|
|
692
790
|
value: string;
|
|
@@ -844,6 +942,12 @@ export declare const semanticColors: {
|
|
|
844
942
|
_dark: string;
|
|
845
943
|
};
|
|
846
944
|
};
|
|
945
|
+
"yellow-dark": {
|
|
946
|
+
value: {
|
|
947
|
+
base: string;
|
|
948
|
+
_dark: string;
|
|
949
|
+
};
|
|
950
|
+
};
|
|
847
951
|
"sand-light": {
|
|
848
952
|
value: {
|
|
849
953
|
base: string;
|
|
@@ -898,7 +1002,57 @@ export declare const semanticColors: {
|
|
|
898
1002
|
blue: {
|
|
899
1003
|
border: {
|
|
900
1004
|
value: {
|
|
901
|
-
|
|
1005
|
+
_light: string;
|
|
1006
|
+
_dark: string;
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
orange: {
|
|
1011
|
+
contrast: {
|
|
1012
|
+
value: {
|
|
1013
|
+
_light: string;
|
|
1014
|
+
_dark: string;
|
|
1015
|
+
};
|
|
1016
|
+
};
|
|
1017
|
+
fg: {
|
|
1018
|
+
value: {
|
|
1019
|
+
_light: string;
|
|
1020
|
+
_dark: string;
|
|
1021
|
+
};
|
|
1022
|
+
};
|
|
1023
|
+
subtle: {
|
|
1024
|
+
value: {
|
|
1025
|
+
_light: string;
|
|
1026
|
+
_dark: string;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
muted: {
|
|
1030
|
+
value: {
|
|
1031
|
+
_light: string;
|
|
1032
|
+
_dark: string;
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
1035
|
+
emphasized: {
|
|
1036
|
+
value: {
|
|
1037
|
+
_light: string;
|
|
1038
|
+
_dark: string;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
solid: {
|
|
1042
|
+
value: {
|
|
1043
|
+
_light: string;
|
|
1044
|
+
_dark: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
focusRing: {
|
|
1048
|
+
value: {
|
|
1049
|
+
_light: string;
|
|
1050
|
+
_dark: string;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
border: {
|
|
1054
|
+
value: {
|
|
1055
|
+
_light: string;
|
|
902
1056
|
_dark: string;
|
|
903
1057
|
};
|
|
904
1058
|
};
|