@pstdio/ui 0.35.0 → 0.36.1

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 (33) hide show
  1. package/dist/{MermaidComponent-DGDnQ6pb.js → MermaidComponent-Cxg7NtjX.js} +2 -2
  2. package/dist/{MermaidComponent-DGDnQ6pb.js.map → MermaidComponent-Cxg7NtjX.js.map} +1 -1
  3. package/dist/chat-ui.d.ts +3 -3
  4. package/dist/chat-ui.js +1 -1
  5. package/dist/{data-table-stats-row-DNJG8tLZ.js → data-table-stats-row-UuTinYfL.js} +2 -2
  6. package/dist/{data-table-stats-row-DNJG8tLZ.js.map → data-table-stats-row-UuTinYfL.js.map} +1 -1
  7. package/dist/data-table.d.ts +32 -1
  8. package/dist/data-table.js +540 -406
  9. package/dist/data-table.js.map +1 -1
  10. package/dist/index.d.ts +17 -21
  11. package/dist/index.js +861 -907
  12. package/dist/index.js.map +1 -1
  13. package/dist/kanban-renderer.d.ts +3 -1
  14. package/dist/kanban-renderer.js +171 -171
  15. package/dist/kanban-renderer.js.map +1 -1
  16. package/dist/{param-editor-IJzw1cA2.js → param-editor-I0dKQeeZ.js} +2 -2
  17. package/dist/{param-editor-IJzw1cA2.js.map → param-editor-I0dKQeeZ.js.map} +1 -1
  18. package/dist/{param-editor-field-DscIjv8s.js → param-editor-field-CBguLs_b.js} +2 -2
  19. package/dist/{param-editor-field-DscIjv8s.js.map → param-editor-field-CBguLs_b.js.map} +1 -1
  20. package/dist/param-editor.js +2 -2
  21. package/dist/{rich-text-DtQpHBlX.js → rich-text-BgDvOEGH.js} +657 -654
  22. package/dist/rich-text-BgDvOEGH.js.map +1 -0
  23. package/dist/rich-text.js +1 -1
  24. package/dist/{theme-kSkOHzbV.js → theme-0cbWICbg.js} +247 -163
  25. package/dist/theme-0cbWICbg.js.map +1 -0
  26. package/dist/theme.js +1 -1
  27. package/dist/{workspace-badge-CkJ_jTQw.d.ts → workspace-badge-Brm3Xr3m.d.ts} +1 -1
  28. package/dist/{workspace-badge-9g78pXHS.js → workspace-badge-DrvH8WKV.js} +38 -42
  29. package/dist/workspace-badge-DrvH8WKV.js.map +1 -0
  30. package/package.json +2 -2
  31. package/dist/rich-text-DtQpHBlX.js.map +0 -1
  32. package/dist/theme-kSkOHzbV.js.map +0 -1
  33. package/dist/workspace-badge-9g78pXHS.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as ScrollAreaProps, r as ScrollArea, t as ResourceBadge } from "./resource-badge-95WPVlZf.js";
2
2
  import { _ as ActivityHeader, a as ActivityComposerProps, b as ActivityRootProps, c as ActivityReply, d as ActivityEventProps, f as ActivityActor, g as ActivityFeedProps, h as ActivityFeed, i as ActivityComposer, l as ActivityReplyProps, m as ActivityTimelineProps, n as ActivityAvatar, o as ActivityComment, p as ActivityTimeline, r as ActivityAvatarProps, s as ActivityCommentProps, t as Activity, u as ActivityEvent, v as ActivityHeaderProps, y as ActivityRoot } from "./index-DlmvvQ6x.js";
3
- import { a as resolveSessionIndicatorColor, c as ResourceActionMenu, d as ResourceContextMenu, i as SessionIndicator, l as ResourceActionMenuProps, n as WorkspaceBadgeProps, o as resolveSessionIndicatorIcon, r as SessionCompletionStatus, s as sessionCompletionStatuses, t as WorkspaceBadge, u as ResourceContextAction } from "./workspace-badge-CkJ_jTQw.js";
3
+ import { a as resolveSessionIndicatorColor, c as ResourceActionMenu, d as ResourceContextMenu, i as SessionIndicator, l as ResourceActionMenuProps, n as WorkspaceBadgeProps, o as resolveSessionIndicatorIcon, r as SessionCompletionStatus, s as sessionCompletionStatuses, t as WorkspaceBadge, u as ResourceContextAction } from "./workspace-badge-Brm3Xr3m.js";
4
4
  import { a as createThemePreferenceFromVsCodeTheme, c as ThemePreferenceOption, d as defaultThemePreferences, f as getThemePreferenceClassName, h as isThemePreference, i as createMonacoThemeFromVsCodeTheme, l as ThemePreferenceTokens, m as getThemePreferenceMode, n as MonacoThemeData, o as ThemePreference, p as getThemePreferenceClassNames, r as VsCodeColorTheme, s as ThemePreferenceMode, t as _default, u as applyThemePreference } from "./index-Dd6e8lU_.js";
5
5
  import { Alert, BadgeProps, BoxProps, Breadcrumb as Breadcrumb$1, CenterProps, ChakraProvider, Checkbox as Checkbox$1, ConditionalValue, EmptyState as EmptyState$1, FlexProps, HTMLChakraProps, IconButtonProps, IconProps, Menu, RadioGroup as RadioGroup$1, RecipeVariantProps, Slider as Slider$1, StackProps, Switch as Switch$1, SystemStyleObject, TextProps, Tooltip as Tooltip$1, chakra, createToaster } from "@chakra-ui/react";
6
6
  import * as React$2 from "react";
@@ -361,31 +361,27 @@ interface DialogAcceptShortcutEvent {
361
361
  }
362
362
  export declare const handleDialogAcceptShortcut: (event: DialogAcceptShortcutEvent, accept: () => void, enabled?: boolean) => void;
363
363
  //#endregion
364
- //#region src/components/overlays/repo-picker-dialog.d.ts
365
- interface RepoPickerDialogEntry {
364
+ //#region src/components/overlays/folder-picker-dialog.d.ts
365
+ interface FolderPickerEntry {
366
366
  name: string;
367
367
  path: string;
368
368
  isDirectory: boolean;
369
- isGitRepo: boolean;
370
369
  }
371
- interface RepoPickerDialogProps {
372
- open: boolean;
373
- title?: string;
374
- description?: string;
375
- currentPath?: string;
376
- entries: RepoPickerDialogEntry[];
377
- selectedPath?: string | null;
378
- selectedPaths?: string[];
370
+ interface FolderPickerProps {
371
+ currentPath: string;
372
+ entries: FolderPickerEntry[];
379
373
  isLoading?: boolean;
374
+ isOpening?: boolean;
380
375
  error?: string;
381
- isSelectDisabled?: boolean;
382
376
  onClose: () => void;
383
377
  onSelect: () => void;
384
- onSelectHomeDirectory: () => void;
385
- onSelectParentDirectory: () => void;
386
- onEntryClick: (entry: RepoPickerDialogEntry) => void;
378
+ onNavigate: (path: string) => void;
379
+ onCreateFolder: (name: string) => Promise<void>;
387
380
  }
388
- export declare const RepoPickerDialog: (props: RepoPickerDialogProps) => import("react/jsx-runtime").JSX.Element;
381
+ export declare const FolderPicker: (props: FolderPickerProps) => import("react/jsx-runtime").JSX.Element;
382
+ export declare const FolderPickerDialog: (props: FolderPickerProps & {
383
+ open: boolean;
384
+ }) => import("react/jsx-runtime").JSX.Element;
389
385
  //#endregion
390
386
  //#region src/components/overlays/search-modal-content.d.ts
391
387
  interface SearchModalContentProps {
@@ -562,6 +558,9 @@ export declare const optionIcons: ({
562
558
  value: string;
563
559
  label: string;
564
560
  icon: ComponentType<{
561
+ onChange?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
562
+ onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
563
+ onSubmit?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
565
564
  slot?: string | undefined | undefined;
566
565
  style?: import("react").CSSProperties | undefined;
567
566
  title?: string | undefined | undefined;
@@ -689,7 +688,6 @@ export declare const optionIcons: ({
689
688
  onFocusCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
690
689
  onBlur?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
691
690
  onBlurCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
692
- onChange?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
693
691
  onChangeCapture?: import("react").ChangeEventHandler<HTMLSpanElement, Element> | undefined;
694
692
  onBeforeInput?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
695
693
  onBeforeInputCapture?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
@@ -697,13 +695,11 @@ export declare const optionIcons: ({
697
695
  onInputCapture?: import("react").InputEventHandler<HTMLSpanElement> | undefined;
698
696
  onReset?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
699
697
  onResetCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
700
- onSubmit?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
701
698
  onSubmitCapture?: import("react").SubmitEventHandler<HTMLSpanElement> | undefined;
702
699
  onInvalid?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
703
700
  onInvalidCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
704
701
  onLoad?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
705
702
  onLoadCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
706
- onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
707
703
  onErrorCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
708
704
  onKeyDown?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
709
705
  onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
@@ -1504,5 +1500,5 @@ export declare const getInitialThemePreference: (themePreferences?: readonly The
1504
1500
  export declare const ThemePreferenceProvider: (props: ThemePreferenceProviderProps) => import("react/jsx-runtime").JSX.Element;
1505
1501
  export declare const useThemePreference: () => ThemePreferenceContextValue;
1506
1502
  //#endregion
1507
- export { Activity, type ActivityActor, ActivityAvatar, type ActivityAvatarProps, ActivityComment, type ActivityCommentProps, ActivityComposer, type ActivityComposerProps, ActivityEvent, type ActivityEventProps, ActivityFeed, type ActivityFeedProps, ActivityHeader, type ActivityHeaderProps, ActivityReply, type ActivityReplyProps, ActivityRoot, type ActivityRootProps, ActivityTimeline, type ActivityTimelineProps, type AlertProps, type AttachedMenuProps, type AttachmentChipProps, type BreadcrumbItem, ChakraProvider, type CheckboxProps, type ChipProps, Label as ContentPlaceholderLabel, type EmptyStateProps, type FileIconThemeFont, type FileIconThemePreferenceOption, type FilterPaletteEntriesOptions, type HeaderProps, type HeaderVariant, type IconColorPickerIconOption, type IconColorPickerProps, type IntegrationCardProps, type ItemSectionProps, type ListRowAction, type ListRowActionContext, type ListRowActionMenuItem, type ListRowItem, type ListRowNavigationIntent, type MonacoThemeData, type NotificationCenterAction, type NotificationCenterItem, type NotificationCenterPriority, type NotificationCenterProps, type NotificationCenterStatus, type PaletteEntry, type PaletteEscapeContext, type PaletteMode, type PaletteProps, type PaletteSearchEntry, type PaletteShortcutBinding, type PaletteState, type PaletteStateValue, type RadioProps, type RepoPickerDialogEntry, type RepoPickerDialogProps, type ResizableSplitSeparator, ResourceActionMenu, type ResourceActionMenuProps, ResourceBadge, type ResourceContextAction, ResourceContextMenu, type SaveTagSettingsInput, ScrollArea, type SearchModalContentProps, type SearchableMenuItem, type SearchableMenuParentList, type SegmentedControlOption, type SegmentedControlProps, type SessionCompletionStatus, SessionIndicator, type SidenavProps, type SimpleCardBodyProps, type SimpleCardProps, type SliderProps, type SwitchProps, type TabVisibilityPlacement, type TagEditorAction, type TagEditorHeadingProps, type TagEditorProps, type TagEditorSaveBarProps, type TagEditorValue, type TagSettingsPanelProps, type TagSwatchProps, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceTokens, type TreeListAction, type TreeListActionContext, type TreeListActionMenuItem, type TreeListInlineInput, type TreeListLinkComponent, type TreeListMove, type TreeListMoveEndpoint, type TreeListMovePolicy, type TreeListNavigateEvent, type TreeListNavigationIntent, type TreeListNode, type TreeListSection, type TreeVisibilityMenuItems, type VisibilityOverride, type VsCodeColorTheme, type WindowTab, type WindowTabsProps, type WindowTitleBarProps, WorkspaceBadge, type WorkspaceBadgeProps, applyThemePreference, createMonacoThemeFromVsCodeTheme, createThemePreferenceFromVsCodeTheme, defaultThemePreferences, getThemePreferenceClassName, getThemePreferenceClassNames, getThemePreferenceMode, isThemePreference, _default as psTheme, resolveSessionIndicatorColor, resolveSessionIndicatorIcon, sessionCompletionStatuses };
1503
+ export { Activity, type ActivityActor, ActivityAvatar, type ActivityAvatarProps, ActivityComment, type ActivityCommentProps, ActivityComposer, type ActivityComposerProps, ActivityEvent, type ActivityEventProps, ActivityFeed, type ActivityFeedProps, ActivityHeader, type ActivityHeaderProps, ActivityReply, type ActivityReplyProps, ActivityRoot, type ActivityRootProps, ActivityTimeline, type ActivityTimelineProps, type AlertProps, type AttachedMenuProps, type AttachmentChipProps, type BreadcrumbItem, ChakraProvider, type CheckboxProps, type ChipProps, Label as ContentPlaceholderLabel, type EmptyStateProps, type FileIconThemeFont, type FileIconThemePreferenceOption, type FilterPaletteEntriesOptions, type FolderPickerEntry, type FolderPickerProps, type HeaderProps, type HeaderVariant, type IconColorPickerIconOption, type IconColorPickerProps, type IntegrationCardProps, type ItemSectionProps, type ListRowAction, type ListRowActionContext, type ListRowActionMenuItem, type ListRowItem, type ListRowNavigationIntent, type MonacoThemeData, type NotificationCenterAction, type NotificationCenterItem, type NotificationCenterPriority, type NotificationCenterProps, type NotificationCenterStatus, type PaletteEntry, type PaletteEscapeContext, type PaletteMode, type PaletteProps, type PaletteSearchEntry, type PaletteShortcutBinding, type PaletteState, type PaletteStateValue, type RadioProps, type ResizableSplitSeparator, ResourceActionMenu, type ResourceActionMenuProps, ResourceBadge, type ResourceContextAction, ResourceContextMenu, type SaveTagSettingsInput, ScrollArea, type SearchModalContentProps, type SearchableMenuItem, type SearchableMenuParentList, type SegmentedControlOption, type SegmentedControlProps, type SessionCompletionStatus, SessionIndicator, type SidenavProps, type SimpleCardBodyProps, type SimpleCardProps, type SliderProps, type SwitchProps, type TabVisibilityPlacement, type TagEditorAction, type TagEditorHeadingProps, type TagEditorProps, type TagEditorSaveBarProps, type TagEditorValue, type TagSettingsPanelProps, type TagSwatchProps, type ThemePreference, type ThemePreferenceMode, type ThemePreferenceOption, type ThemePreferenceTokens, type TreeListAction, type TreeListActionContext, type TreeListActionMenuItem, type TreeListInlineInput, type TreeListLinkComponent, type TreeListMove, type TreeListMoveEndpoint, type TreeListMovePolicy, type TreeListNavigateEvent, type TreeListNavigationIntent, type TreeListNode, type TreeListSection, type TreeVisibilityMenuItems, type VisibilityOverride, type VsCodeColorTheme, type WindowTab, type WindowTabsProps, type WindowTitleBarProps, WorkspaceBadge, type WorkspaceBadgeProps, applyThemePreference, createMonacoThemeFromVsCodeTheme, createThemePreferenceFromVsCodeTheme, defaultThemePreferences, getThemePreferenceClassName, getThemePreferenceClassNames, getThemePreferenceMode, isThemePreference, _default as psTheme, resolveSessionIndicatorColor, resolveSessionIndicatorIcon, sessionCompletionStatuses };
1508
1504
  export {};