@pstdio/ui 0.24.1 → 0.24.2
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-BTgLnpLA.js → MermaidComponent-DSvPk-J8.js} +2 -2
- package/dist/{MermaidComponent-BTgLnpLA.js.map → MermaidComponent-DSvPk-J8.js.map} +1 -1
- package/dist/chat-ui.js +1325 -1414
- package/dist/chat-ui.js.map +1 -1
- package/dist/components/chat-ui/components/chat-input.d.ts +1 -1
- package/dist/components/chat-ui/components/chat-panel.d.ts +1 -1
- package/dist/components/tab-strip/window-tabs.d.ts +1 -0
- package/dist/data-table.js +5 -5
- package/dist/diff.js +2 -2
- package/dist/{edit-mode-data-table-BrydKuMM.js → edit-mode-data-table-2E4GSOou.js} +4 -4
- package/dist/{edit-mode-data-table-BrydKuMM.js.map → edit-mode-data-table-2E4GSOou.js.map} +1 -1
- package/dist/index.js +1232 -1153
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-ebqlG13w.js → kanban-renderer-toolbar-Dcbxujbk.js} +3 -3
- package/dist/{kanban-renderer-toolbar-ebqlG13w.js.map → kanban-renderer-toolbar-Dcbxujbk.js.map} +1 -1
- package/dist/kanban-renderer.js +5 -5
- package/dist/{lazy-markdown-editor-Obb0M8xc.js → lazy-markdown-editor-DSlelhHV.js} +2 -2
- package/dist/{lazy-markdown-editor-Obb0M8xc.js.map → lazy-markdown-editor-DSlelhHV.js.map} +1 -1
- package/dist/{list-row-CRi3Luog.js → list-row-BDoV_iMV.js} +3 -3
- package/dist/list-row-BDoV_iMV.js.map +1 -0
- package/dist/{markdown-kuU19Oh3.js → markdown-Cli3KGu9.js} +4 -4
- package/dist/{markdown-kuU19Oh3.js.map → markdown-Cli3KGu9.js.map} +1 -1
- package/dist/{markdown-editor-Bj_QX4oN.js → markdown-editor-BHoRATej.js} +2 -2
- package/dist/{markdown-editor-Bj_QX4oN.js.map → markdown-editor-BHoRATej.js.map} +1 -1
- package/dist/{param-editor-DhoxgwGd.js → param-editor-CaRflJ3e.js} +2 -2
- package/dist/{param-editor-DhoxgwGd.js.map → param-editor-CaRflJ3e.js.map} +1 -1
- package/dist/{param-editor-field-DurcyLuw.js → param-editor-field-DVQlXbid.js} +3 -3
- package/dist/{param-editor-field-DurcyLuw.js.map → param-editor-field-DVQlXbid.js.map} +1 -1
- package/dist/{rich-message-dNYvLDd4.js → rich-message-gWYlm8Ji.js} +2 -2
- package/dist/{rich-message-dNYvLDd4.js.map → rich-message-gWYlm8Ji.js.map} +1 -1
- package/dist/rich-text.js +5 -5
- package/dist/theme/recipes/window-title-bar.d.ts +3 -0
- package/dist/{theme-Ca-KyNoi.js → theme-B5OVwYEU.js} +31 -22
- package/dist/theme-B5OVwYEU.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/{tree-list-DXwHWodb.js → tree-list-CZvcg3_6.js} +2 -2
- package/dist/{tree-list-DXwHWodb.js.map → tree-list-CZvcg3_6.js.map} +1 -1
- package/package.json +2 -2
- package/dist/list-row-CRi3Luog.js.map +0 -1
- package/dist/theme-Ca-KyNoi.js.map +0 -1
|
@@ -4,7 +4,7 @@ import { ChatInputQuestionPrompt, ChatInputQuestionResponse } from './chat-input
|
|
|
4
4
|
export interface ChatInputProps {
|
|
5
5
|
defaultState: string;
|
|
6
6
|
placeholder?: string;
|
|
7
|
-
onSubmit?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void
|
|
7
|
+
onSubmit?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
8
8
|
onInterrupt?: () => void;
|
|
9
9
|
onAttachFiles?: (files: File[]) => void;
|
|
10
10
|
onAttachText?: (text: string) => void;
|
|
@@ -16,7 +16,7 @@ export interface ChatPanelProps {
|
|
|
16
16
|
loaderComponent?: ReactNode;
|
|
17
17
|
chatInputPlaceholder: string;
|
|
18
18
|
chatInputDefaultValue?: string;
|
|
19
|
-
onSubmitMessage?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void
|
|
19
|
+
onSubmitMessage?: (text: string, attachments: string[], questionResponse?: ChatInputQuestionResponse) => void | Promise<void>;
|
|
20
20
|
onInterrupt?: () => void;
|
|
21
21
|
onAttachFiles?: (files: File[]) => void;
|
|
22
22
|
onAttachText?: (text: string) => void;
|
|
@@ -9,6 +9,7 @@ export interface WindowTabsProps {
|
|
|
9
9
|
selectedId?: string;
|
|
10
10
|
onSelect: (id: string) => void;
|
|
11
11
|
onClose: (id: string) => void;
|
|
12
|
+
onReorder?: (id: string, targetId: string) => void;
|
|
12
13
|
"aria-label": string;
|
|
13
14
|
}
|
|
14
15
|
export declare const WindowTabs: (props: WindowTabsProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/data-table.js
CHANGED
|
@@ -4,12 +4,12 @@ import { Text as O, Popover as te, HStack as Ee, Portal as ue, Image as dt, Butt
|
|
|
4
4
|
import { flexRender as be, useReactTable as mt, getPaginationRowModel as ft, getCoreRowModel as ht, getSortedRowModel as gt } from "@tanstack/react-table";
|
|
5
5
|
import { isValidElement as Fe, cloneElement as bt, useRef as Te, useState as Q, useEffect as Ke, Fragment as pt } from "react";
|
|
6
6
|
import { S as xe, T as Je } from "./browser-storage-DPtOQJx0.js";
|
|
7
|
-
import { u as St } from "./kanban-renderer-toolbar-
|
|
7
|
+
import { u as St } from "./kanban-renderer-toolbar-Dcbxujbk.js";
|
|
8
8
|
import { Braces as wt, ChevronRight as xt, CircleHelp as yt, Minus as Ct, Check as ye, ChevronDown as vt, Settings2 as Rt, GripVertical as It, ArrowUpAZ as Xe, ArrowDownAZ as qe, MoreVertical as At } from "lucide-react";
|
|
9
|
-
import { C as Ce, S as $t } from "./lazy-markdown-editor-
|
|
10
|
-
import { L as ce, S as _t, R as kt } from "./list-row-
|
|
11
|
-
import { c as ie, g as zt, i as Ge, f as Tt, D as Dt, E as Vt, r as Mt, a as De, s as Pt, b as Ht, d as Lt, e as Ot, h as Wt, j as Nt, k as jt, l as Et, m as Bt, n as Ft, o as Kt, S as Jt, P as Xt } from "./edit-mode-data-table-
|
|
12
|
-
import { P as qt } from "./param-editor-
|
|
9
|
+
import { C as Ce, S as $t } from "./lazy-markdown-editor-DSlelhHV.js";
|
|
10
|
+
import { L as ce, S as _t, R as kt } from "./list-row-BDoV_iMV.js";
|
|
11
|
+
import { c as ie, g as zt, i as Ge, f as Tt, D as Dt, E as Vt, r as Mt, a as De, s as Pt, b as Ht, d as Lt, e as Ot, h as Wt, j as Nt, k as jt, l as Et, m as Bt, n as Ft, o as Kt, S as Jt, P as Xt } from "./edit-mode-data-table-2E4GSOou.js";
|
|
12
|
+
import { P as qt } from "./param-editor-CaRflJ3e.js";
|
|
13
13
|
import { useSensors as Gt, useSensor as Ut, PointerSensor as Yt, DndContext as Zt, closestCenter as Qt } from "@dnd-kit/core";
|
|
14
14
|
import { SortableContext as eo, verticalListSortingStrategy as to, useSortable as oo } from "@dnd-kit/sortable";
|
|
15
15
|
import { CSS as lo } from "@dnd-kit/utilities";
|
package/dist/diff.js
CHANGED
|
@@ -9,8 +9,8 @@ import { useVirtualizer as Nt, defaultRangeExtractor as Ht } from "@tanstack/rea
|
|
|
9
9
|
import { T as Ot, S as qe } from "./browser-storage-DPtOQJx0.js";
|
|
10
10
|
import { ChevronRight as Ye, ChevronDown as $t, Check as dt, Copy as Vt, Settings2 as jt, ListTree as Gt, List as Wt, PanelLeftClose as Kt, PanelLeftOpen as Qt, Rows2 as qt, SquareSplitHorizontal as Ut, ChevronsUpDown as Yt, ChevronsDownUp as Xt, FileText as Jt, Search as Zt } from "lucide-react";
|
|
11
11
|
import { E as Se } from "./empty-state-Bo4HVrgr.js";
|
|
12
|
-
import { L as en, H as ct } from "./list-row-
|
|
13
|
-
import { T as tn, R as nn } from "./tree-list-
|
|
12
|
+
import { L as en, H as ct } from "./list-row-BDoV_iMV.js";
|
|
13
|
+
import { T as tn, R as nn } from "./tree-list-CZvcg3_6.js";
|
|
14
14
|
import { create as ln } from "zustand";
|
|
15
15
|
const on = (n) => {
|
|
16
16
|
let e;
|
|
@@ -3,11 +3,11 @@ import { c as j } from "react/compiler-runtime";
|
|
|
3
3
|
import { Popover as oe, IconButton as Z, Text as ie, Box as ne, Icon as $, Portal as qe, chakra as Ht, Flex as le, Table as L, Button as Ie, Menu as J, Stack as wt } from "@chakra-ui/react";
|
|
4
4
|
import { isValidElement as Ct, useRef as ft, useEffect as ht, useState as ve } from "react";
|
|
5
5
|
import { S as St } from "./browser-storage-DPtOQJx0.js";
|
|
6
|
-
import { K as Pt, f as Tt, u as Mt } from "./kanban-renderer-toolbar-
|
|
6
|
+
import { K as Pt, f as Tt, u as Mt } from "./kanban-renderer-toolbar-Dcbxujbk.js";
|
|
7
7
|
import { Settings2 as Ot, CalendarClock as Nt, Type as $t, Hash as Bt, CheckCircle2 as Vt, Check as gt, X as xt, Minus as Lt, Plus as vt, Trash2 as yt, Pencil as jt, ChevronsLeft as Kt, ChevronLeft as Ft, ChevronRight as Xt, ChevronsRight as Gt } from "lucide-react";
|
|
8
|
-
import { S as Ut, C as Rt, N as Yt, a as qt } from "./lazy-markdown-editor-
|
|
8
|
+
import { S as Ut, C as Rt, N as Yt, a as qt } from "./lazy-markdown-editor-DSlelhHV.js";
|
|
9
9
|
import { createColumnHelper as Jt } from "@tanstack/react-table";
|
|
10
|
-
import { R as It, L as kt } from "./list-row-
|
|
10
|
+
import { R as It, L as kt } from "./list-row-BDoV_iMV.js";
|
|
11
11
|
const Qt = (t) => {
|
|
12
12
|
const e = j(8), {
|
|
13
13
|
rows: l,
|
|
@@ -843,4 +843,4 @@ export {
|
|
|
843
843
|
qn as r,
|
|
844
844
|
sn as s
|
|
845
845
|
};
|
|
846
|
-
//# sourceMappingURL=edit-mode-data-table-
|
|
846
|
+
//# sourceMappingURL=edit-mode-data-table-2E4GSOou.js.map
|