@mithrl/design-system 0.2.0 → 0.4.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/components/approval-card/ApprovalCard.d.ts +70 -0
- package/dist/components/button/Button.d.ts +4 -0
- package/dist/components/code-block/CodeBlock.d.ts +64 -0
- package/dist/components/command-search/CommandSearch.d.ts +57 -0
- package/dist/components/composer/ComposerAttachmentView.d.ts +48 -0
- package/dist/components/context-cards/ContextCards.d.ts +53 -0
- package/dist/components/disclosure/Disclosure.d.ts +38 -0
- package/dist/components/explorer/Explorer.d.ts +99 -0
- package/dist/components/field-message/FieldMessage.d.ts +12 -0
- package/dist/components/filter-table/FilterTable.d.ts +61 -0
- package/dist/components/flap-text/FlapText.d.ts +68 -0
- package/dist/components/flowchart/Flowchart.d.ts +140 -0
- package/dist/components/global-app-bar/GlobalAppBar.d.ts +14 -4
- package/dist/components/icon-swap/IconSwap.d.ts +30 -0
- package/dist/components/insight-cards/InsightCards.d.ts +97 -0
- package/dist/components/navigation-item/NavigationItem.d.ts +2 -0
- package/dist/components/number-flow/NumberFlow.d.ts +93 -0
- package/dist/components/panel-tabs/PanelTabs.d.ts +2 -0
- package/dist/components/progress-indicator/ProgressIndicator.d.ts +9 -1
- package/dist/components/prompt-bar/PromptBar.d.ts +103 -0
- package/dist/components/recommendation-card/RecommendationCard.d.ts +77 -0
- package/dist/components/records-table/RecordsTable.d.ts +87 -0
- package/dist/components/resizable-panels/ResizablePanels.d.ts +38 -0
- package/dist/components/secondary-panel/SecondaryPanel.d.ts +69 -0
- package/dist/components/selection-actions/SelectionActions.d.ts +72 -0
- package/dist/components/skeleton-reveal/SkeletonReveal.d.ts +33 -0
- package/dist/components/status-orb/StatusOrb.d.ts +51 -0
- package/dist/components/streaming-text/StreamingText.d.ts +85 -0
- package/dist/components/task-rows/TaskRows.d.ts +77 -0
- package/dist/components/upload-queue/UploadQueue.d.ts +10 -0
- package/dist/components/workspace-navigation/WorkspaceNavigation.d.ts +22 -1
- package/dist/index.d.ts +52 -2
- package/dist/index.js +5693 -1787
- package/dist/internal/useStaggerBatch.d.ts +22 -0
- package/dist/patterns/notifications/Notifications.d.ts +159 -0
- package/dist/patterns/workspace-app-shell/WorkspaceAppShell.d.ts +93 -4
- package/dist/patterns/workspace-app-shell/WorkspaceNewQuestionDialog.d.ts +24 -0
- package/dist/patterns/workspace-app-shell/WorkspaceQuestionSurface.d.ts +49 -0
- package/dist/styles.css +1 -1
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export { Button, buttonVariants } from "./components/button/Button";
|
|
|
3
3
|
export type { ButtonProps, ButtonSize, ButtonVariant, } from "./components/button/Button";
|
|
4
4
|
export { Icon, iconVariants } from "./components/icon/Icon";
|
|
5
5
|
export type { IconGlyphComponent, IconProps, IconSize, } from "./components/icon/Icon";
|
|
6
|
+
export { IconSwap } from "./components/icon-swap/IconSwap";
|
|
7
|
+
export type { IconSwapProps } from "./components/icon-swap/IconSwap";
|
|
6
8
|
export { NavigationItem, navigationItemVariants, } from "./components/navigation-item/NavigationItem";
|
|
7
9
|
export type { NavigationItemPreviewState, NavigationItemProps, } from "./components/navigation-item/NavigationItem";
|
|
8
10
|
export { WorkspaceNavigation, WorkspacePanelToggleButton, workspaceNavigationVariants, } from "./components/workspace-navigation/WorkspaceNavigation";
|
|
@@ -13,6 +15,8 @@ export { SegmentedTabs, segmentedTabsVariants, } from "./components/segmented-ta
|
|
|
13
15
|
export type { SegmentedTabItem, SegmentedTabsActivationMode, SegmentedTabsProps, SegmentedTabsSize, } from "./components/segmented-tabs/SegmentedTabs";
|
|
14
16
|
export { PanelTabs } from "./components/panel-tabs/PanelTabs";
|
|
15
17
|
export type { PanelTabItem, PanelTabsProps, } from "./components/panel-tabs/PanelTabs";
|
|
18
|
+
export { MITHRL_QUESTION_DRAG_TYPE, SecondaryPanel, } from "./components/secondary-panel/SecondaryPanel";
|
|
19
|
+
export type { SecondaryPanelDropTarget, SecondaryPanelProps, SecondaryPanelTab, SecondaryPanelTabKind, } from "./components/secondary-panel/SecondaryPanel";
|
|
16
20
|
export { Switch, ThemeSwitch } from "./components/switch/Switch";
|
|
17
21
|
export type { SwitchProps, ThemeMode, ThemeSwitchProps, } from "./components/switch/Switch";
|
|
18
22
|
export { ToggleButton, toggleButtonVariants, } from "./components/toggle-button/ToggleButton";
|
|
@@ -27,6 +31,8 @@ export { Composer } from "./components/composer/Composer";
|
|
|
27
31
|
export type { ComposerLabels, ComposerMode, ComposerPreviewState, ComposerProps, ComposerStatus, } from "./components/composer/Composer";
|
|
28
32
|
export { ComposerViewTransition } from "./components/composer/ComposerViewTransition";
|
|
29
33
|
export type { ComposerView, ComposerViewTransitionProps, } from "./components/composer/ComposerViewTransition";
|
|
34
|
+
export { ComposerAttachmentView } from "./components/composer/ComposerAttachmentView";
|
|
35
|
+
export type { ComposerAttachmentViewProps, } from "./components/composer/ComposerAttachmentView";
|
|
30
36
|
export { Select, selectVariants } from "./components/select/Select";
|
|
31
37
|
export type { SelectPreviewState, SelectProps, SelectSize, } from "./components/select/Select";
|
|
32
38
|
export { Link, linkVariants } from "./components/link/Link";
|
|
@@ -40,9 +46,11 @@ export type { TagProps } from "./components/tag/Tag";
|
|
|
40
46
|
export { Avatar, avatarVariants } from "./components/avatar/Avatar";
|
|
41
47
|
export type { AvatarProps, AvatarSize, } from "./components/avatar/Avatar";
|
|
42
48
|
export { ProgressIndicator, progressIndicatorVariants, } from "./components/progress-indicator/ProgressIndicator";
|
|
43
|
-
export type { ProgressIndicatorProps, ProgressIndicatorSize, ProgressIndicatorTone, } from "./components/progress-indicator/ProgressIndicator";
|
|
49
|
+
export type { ProgressIndicatorProps, ProgressIndicatorSize, ProgressIndicatorState, ProgressIndicatorTone, } from "./components/progress-indicator/ProgressIndicator";
|
|
44
50
|
export { Skeleton, skeletonVariants } from "./components/skeleton/Skeleton";
|
|
45
51
|
export type { SkeletonProps, SkeletonRadius, } from "./components/skeleton/Skeleton";
|
|
52
|
+
export { SkeletonReveal } from "./components/skeleton-reveal/SkeletonReveal";
|
|
53
|
+
export type { SkeletonRevealProps } from "./components/skeleton-reveal/SkeletonReveal";
|
|
46
54
|
export { Checkbox } from "./components/checkbox/Checkbox";
|
|
47
55
|
export type { CheckboxPreviewState, CheckboxProps, } from "./components/checkbox/Checkbox";
|
|
48
56
|
export { Radio } from "./components/radio/Radio";
|
|
@@ -53,6 +61,8 @@ export { StandardTabs, standardTabsVariants, } from "./components/standard-tabs/
|
|
|
53
61
|
export type { StandardTabItem, StandardTabsActivationMode, StandardTabsProps, StandardTabsSize, } from "./components/standard-tabs/StandardTabs";
|
|
54
62
|
export { FieldMessage, fieldMessageVariants, } from "./components/field-message/FieldMessage";
|
|
55
63
|
export type { FieldMessageProps, FieldMessageTone, } from "./components/field-message/FieldMessage";
|
|
64
|
+
export { Disclosure } from "./components/disclosure/Disclosure";
|
|
65
|
+
export type { DisclosureProps } from "./components/disclosure/Disclosure";
|
|
56
66
|
export { Field } from "./components/field/Field";
|
|
57
67
|
export type { FieldControlProps, FieldControlStatus, FieldProps, FieldRenderProps, FieldSize, FieldState, } from "./components/field/Field";
|
|
58
68
|
export { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuLinkItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, dropdownMenuContentVariants, } from "./components/dropdown-menu/DropdownMenu";
|
|
@@ -61,6 +71,8 @@ export { PopoverSurface } from "./components/popover-surface/PopoverSurface";
|
|
|
61
71
|
export type { PopoverSurfaceProps } from "./components/popover-surface/PopoverSurface";
|
|
62
72
|
export { ProjectMenu } from "./components/project-menu/ProjectMenu";
|
|
63
73
|
export type { ProjectMenuLabels, ProjectMenuProject, ProjectMenuProps, } from "./components/project-menu/ProjectMenu";
|
|
74
|
+
export { Explorer } from "./components/explorer/Explorer";
|
|
75
|
+
export type { ExplorerLabels, ExplorerProps, ExplorerQuestion, ExplorerScientificOutput, ExplorerScientificOutputFolder, ExplorerScientificOutputNode, ExplorerScientificOutputType, ExplorerUploadFile, ExplorerUploadFileType, ExplorerUploadFolder, ExplorerUploadNode, } from "./components/explorer/Explorer";
|
|
64
76
|
export { AccountMenu } from "./components/account-menu/AccountMenu";
|
|
65
77
|
export type { AccountMenuAction, AccountMenuProps, } from "./components/account-menu/AccountMenu";
|
|
66
78
|
export { GlobalAppBar } from "./components/global-app-bar/GlobalAppBar";
|
|
@@ -80,4 +92,42 @@ export type { DialogBackdropProps, DialogBodyProps, DialogCloseButtonProps, Dial
|
|
|
80
92
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "./components/resizable-panels/ResizablePanels";
|
|
81
93
|
export type { ResizableHandleProps, ResizablePanelDirection, ResizablePanelGroupProps, ResizablePanelMinimum, ResizablePanelProps, } from "./components/resizable-panels/ResizablePanels";
|
|
82
94
|
export { WorkspaceAppShell } from "./patterns/workspace-app-shell/WorkspaceAppShell";
|
|
83
|
-
export
|
|
95
|
+
export { WorkspaceNewQuestionDialog } from "./patterns/workspace-app-shell/WorkspaceNewQuestionDialog";
|
|
96
|
+
export { WorkspaceQuestionSurface } from "./patterns/workspace-app-shell/WorkspaceQuestionSurface";
|
|
97
|
+
export type { WorkspaceAppShellNavigationRenderContext, WorkspaceAppShellNavigationRenderer, WorkspaceAppShellLayout, WorkspaceAppShellProps, WorkspaceNavigationConfiguration, } from "./patterns/workspace-app-shell/WorkspaceAppShell";
|
|
98
|
+
export type { WorkspaceNewQuestionDialogProps, WorkspaceNewQuestionDraft, } from "./patterns/workspace-app-shell/WorkspaceNewQuestionDialog";
|
|
99
|
+
export type { WorkspaceQuestionSurfacePanel, WorkspaceQuestionSurfaceProps, WorkspaceQuestionSurfaceScroll, } from "./patterns/workspace-app-shell/WorkspaceQuestionSurface";
|
|
100
|
+
export { StatusOrb } from "./components/status-orb/StatusOrb";
|
|
101
|
+
export type { StatusOrbProps, StatusOrbSize, StatusOrbState, StatusOrbTheme, } from "./components/status-orb/StatusOrb";
|
|
102
|
+
export { FlapText, FLAP_TEXT_DEFAULT_DURATION_MS, FLAP_TEXT_DEFAULT_STAGGER_MS, } from "./components/flap-text/FlapText";
|
|
103
|
+
export type { FlapTextAlign, FlapTextElement, FlapTextProps, } from "./components/flap-text/FlapText";
|
|
104
|
+
export { NumberFlow, numberFlowCells, NUMBER_FLOW_DEFAULT_DURATION_MS, NUMBER_FLOW_DEFAULT_STAGGER_MS, } from "./components/number-flow/NumberFlow";
|
|
105
|
+
export type { NumberFlowCell, NumberFlowDirection, NumberFlowElement, NumberFlowProps, NumberFlowSize, } from "./components/number-flow/NumberFlow";
|
|
106
|
+
export { ApprovalCard } from "./components/approval-card/ApprovalCard";
|
|
107
|
+
export type { ApprovalAnswers, ApprovalCardProps, ApprovalOption, ApprovalQuestion, } from "./components/approval-card/ApprovalCard";
|
|
108
|
+
export { CodeBlock } from "./components/code-block/CodeBlock";
|
|
109
|
+
export type { CodeBlockLabels, CodeBlockProps, CodeBlockRenderLineArgs, CodeBlockVariant, CodeLine, CodeLineKind, } from "./components/code-block/CodeBlock";
|
|
110
|
+
export { CommandSearch } from "./components/command-search/CommandSearch";
|
|
111
|
+
export type { CommandSearchItem, CommandSearchProps, } from "./components/command-search/CommandSearch";
|
|
112
|
+
export { ContextCard, ContextCardList, FileTypeChip, } from "./components/context-cards/ContextCards";
|
|
113
|
+
export type { ContextCardListProps, ContextCardProps, ContextFileType, FileTypeChipProps, } from "./components/context-cards/ContextCards";
|
|
114
|
+
export { FilterTable, filterTableStatusLabels, filterTableStatuses, } from "./components/filter-table/FilterTable";
|
|
115
|
+
export type { FilterTableProps, FilterTableRow, FilterTableStatus, FilterTableStatusLabelMap, } from "./components/filter-table/FilterTable";
|
|
116
|
+
export { FlowchartAction, FlowchartCanvas, FlowchartCondition, FlowchartConnector, FlowchartTrigger, } from "./components/flowchart/Flowchart";
|
|
117
|
+
export type { FlowchartActionProps, FlowchartCanvasProps, FlowchartClauseJoin, FlowchartConditionClause, FlowchartConditionProps, FlowchartConnectorProps, FlowchartConnectorVariant, FlowchartTriggerProps, } from "./components/flowchart/Flowchart";
|
|
118
|
+
export { InsightCards } from "./components/insight-cards/InsightCards";
|
|
119
|
+
export type { Insight, InsightCardsProps, InsightChart, InsightChartPoint, InsightComparison, InsightFollowUp, InsightSegment, InsightTone, } from "./components/insight-cards/InsightCards";
|
|
120
|
+
export { PromptBar, readTriggerAtCaret, } from "./components/prompt-bar/PromptBar";
|
|
121
|
+
export type { PromptBarCommand, PromptBarLabels, PromptBarModel, PromptBarProps, PromptBarShape, PromptBarSource, PromptBarTrigger, } from "./components/prompt-bar/PromptBar";
|
|
122
|
+
export { RecommendationCard, RecommendationEntityChip, } from "./components/recommendation-card/RecommendationCard";
|
|
123
|
+
export type { RecommendationAlternative, RecommendationCardProps, RecommendationConfidence, RecommendationEntityChipProps, } from "./components/recommendation-card/RecommendationCard";
|
|
124
|
+
export { RecordsTable, RecordsTableLink, RecordsTableStrength, RecordsTableTags, recordsTableStrengthLevels, } from "./components/records-table/RecordsTable";
|
|
125
|
+
export type { RecordsTableAlign, RecordsTableColumn, RecordsTableLinkProps, RecordsTableProps, RecordsTableSort, RecordsTableSortDirection, RecordsTableStrengthLevel, RecordsTableStrengthProps, RecordsTableTagsProps, } from "./components/records-table/RecordsTable";
|
|
126
|
+
export { SelectionActions, useSelectionRect, } from "./components/selection-actions/SelectionActions";
|
|
127
|
+
export type { SelectionAction, SelectionActionsProps, SelectionRect, UseSelectionRectOptions, } from "./components/selection-actions/SelectionActions";
|
|
128
|
+
export { SourceChip, SourceStack, StreamingText, } from "./components/streaming-text/StreamingText";
|
|
129
|
+
export type { FollowUpSuggestion, SourceChipProps, SourceChipTone, SourceStackProps, StreamingTextProps, } from "./components/streaming-text/StreamingText";
|
|
130
|
+
export { TaskRow, TaskRows } from "./components/task-rows/TaskRows";
|
|
131
|
+
export type { TaskRowItem, TaskRowProps, TaskRowsProps, TaskRowsView, TaskState, TaskStep, } from "./components/task-rows/TaskRows";
|
|
132
|
+
export { NotificationCenter, NotificationItem, NotificationStatusIcon, NotificationToast, NotificationToastProvider, NotificationToastViewport, NotificationTrigger, NotificationsDrawer, useNotificationToast, } from "./patterns/notifications/Notifications";
|
|
133
|
+
export type { NotificationCenterProps, NotificationFilter, NotificationItemPreviewState, NotificationItemProps, NotificationRecord, NotificationStatusIconProps, NotificationToastData, NotificationToastOptions, NotificationToastProps, NotificationToastProviderProps, NotificationToastViewportProps, NotificationTone, NotificationTriggerProps, NotificationsDrawerProps, } from "./patterns/notifications/Notifications";
|