@agimon-ai/doompi-web-components 0.0.1-alpha.3 → 0.0.1-alpha.31
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/README.md +7 -7
- package/dist/components/Accordion.d.cts +5 -5
- package/dist/components/Accordion.d.cts.map +1 -1
- package/dist/components/AnsiText.d.cts +16 -0
- package/dist/components/AnsiText.d.cts.map +1 -0
- package/dist/components/Avatar.d.cts +4 -4
- package/dist/components/Avatar.d.cts.map +1 -1
- package/dist/components/Badge.d.cts +4 -5
- package/dist/components/Badge.d.cts.map +1 -1
- package/dist/components/Breadcrumb.d.cts +4 -5
- package/dist/components/Breadcrumb.d.cts.map +1 -1
- package/dist/components/Button.d.cts +5 -6
- package/dist/components/Button.d.cts.map +1 -1
- package/dist/components/Checkbox.d.cts +1 -1
- package/dist/components/Checkbox.d.cts.map +1 -1
- package/dist/components/CodeEditor.d.cts +1 -2
- package/dist/components/CodeEditor.d.cts.map +1 -1
- package/dist/components/Collapsible.d.cts +4 -4
- package/dist/components/Collapsible.d.cts.map +1 -1
- package/dist/components/Command.d.cts +11 -12
- package/dist/components/Command.d.cts.map +1 -1
- package/dist/components/Dialog.d.cts +14 -14
- package/dist/components/Dialog.d.cts.map +1 -1
- package/dist/components/Dot.d.cts +4 -5
- package/dist/components/Dot.d.cts.map +1 -1
- package/dist/components/DropdownMenu.d.cts +19 -19
- package/dist/components/DropdownMenu.d.cts.map +1 -1
- package/dist/components/EmptyState.d.cts +2 -3
- package/dist/components/EmptyState.d.cts.map +1 -1
- package/dist/components/HashlineLines.d.cts +23 -0
- package/dist/components/HashlineLines.d.cts.map +1 -0
- package/dist/components/Input.d.cts +5 -6
- package/dist/components/Input.d.cts.map +1 -1
- package/dist/components/Kbd.d.cts +1 -2
- package/dist/components/Kbd.d.cts.map +1 -1
- package/dist/components/Label.d.cts +1 -1
- package/dist/components/Label.d.cts.map +1 -1
- package/dist/components/Markdown.d.cts +12 -3
- package/dist/components/Markdown.d.cts.map +1 -1
- package/dist/components/MediaPreview.d.cts +39 -3
- package/dist/components/MediaPreview.d.cts.map +1 -1
- package/dist/components/MessageItem.d.cts +47 -16
- package/dist/components/MessageItem.d.cts.map +1 -1
- package/dist/components/MessageLines.d.cts +5 -6
- package/dist/components/MessageLines.d.cts.map +1 -1
- package/dist/components/OptionList.d.cts +8 -9
- package/dist/components/OptionList.d.cts.map +1 -1
- package/dist/components/Panel.d.cts +4 -5
- package/dist/components/Panel.d.cts.map +1 -1
- package/dist/components/PdfPreview.d.cts +52 -0
- package/dist/components/PdfPreview.d.cts.map +1 -0
- package/dist/components/Popover.d.cts +8 -8
- package/dist/components/Popover.d.cts.map +1 -1
- package/dist/components/Progress.d.cts +1 -1
- package/dist/components/Progress.d.cts.map +1 -1
- package/dist/components/RadioGroup.d.cts +4 -4
- package/dist/components/RadioGroup.d.cts.map +1 -1
- package/dist/components/ScrollArea.d.cts +3 -3
- package/dist/components/ScrollArea.d.cts.map +1 -1
- package/dist/components/SectionLabel.d.cts +1 -2
- package/dist/components/SectionLabel.d.cts.map +1 -1
- package/dist/components/Select.d.cts +9 -9
- package/dist/components/Select.d.cts.map +1 -1
- package/dist/components/Separator.d.cts +1 -1
- package/dist/components/Separator.d.cts.map +1 -1
- package/dist/components/Sheet.d.cts +35 -0
- package/dist/components/Sheet.d.cts.map +1 -0
- package/dist/components/Skeleton.d.cts +1 -2
- package/dist/components/Skeleton.d.cts.map +1 -1
- package/dist/components/Spinner.d.cts +2 -3
- package/dist/components/Spinner.d.cts.map +1 -1
- package/dist/components/StatusBadge.d.cts +5 -6
- package/dist/components/StatusBadge.d.cts.map +1 -1
- package/dist/components/StreamCursor.d.cts +1 -2
- package/dist/components/StreamCursor.d.cts.map +1 -1
- package/dist/components/Switch.d.cts +1 -1
- package/dist/components/Switch.d.cts.map +1 -1
- package/dist/components/SyntaxText.d.cts +50 -0
- package/dist/components/SyntaxText.d.cts.map +1 -0
- package/dist/components/Tabs.d.cts +10 -10
- package/dist/components/Tabs.d.cts.map +1 -1
- package/dist/components/TerminalView.d.cts +31 -0
- package/dist/components/TerminalView.d.cts.map +1 -0
- package/dist/components/Textarea.d.cts +2 -3
- package/dist/components/Textarea.d.cts.map +1 -1
- package/dist/components/Toast.d.cts +10 -10
- package/dist/components/Toast.d.cts.map +1 -1
- package/dist/components/ToolPathLink.d.cts +22 -0
- package/dist/components/ToolPathLink.d.cts.map +1 -0
- package/dist/components/Tooltip.d.cts +5 -5
- package/dist/components/Tooltip.d.cts.map +1 -1
- package/dist/icons/icons.d.cts +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +17 -6
- package/dist/index.d.mts +17 -6
- package/dist/index.mjs +1 -1
- package/dist/lib/ansiSpans.d.cts +42 -0
- package/dist/lib/ansiSpans.d.cts.map +1 -0
- package/dist/lib/cn.d.cts +1 -2
- package/dist/lib/cn.d.cts.map +1 -1
- package/dist/lib/collapse.d.cts +2 -3
- package/dist/lib/collapse.d.cts.map +1 -1
- package/dist/lib/editorLanguage.d.cts +2 -3
- package/dist/lib/editorLanguage.d.cts.map +1 -1
- package/dist/lib/editorTheme.d.cts +76 -0
- package/dist/lib/editorTheme.d.cts.map +1 -0
- package/dist/lib/hashlineHighlight.d.cts +30 -0
- package/dist/lib/hashlineHighlight.d.cts.map +1 -0
- package/dist/lib/hashlineView.d.cts +60 -0
- package/dist/lib/hashlineView.d.cts.map +1 -0
- package/dist/lib/media.d.cts +1 -2
- package/dist/lib/media.d.cts.map +1 -1
- package/dist/lib/optionList.d.cts +4 -5
- package/dist/lib/optionList.d.cts.map +1 -1
- package/dist/lib/syntaxHighlight.d.cts +54 -0
- package/dist/lib/syntaxHighlight.d.cts.map +1 -0
- package/dist/lib/tone.d.cts +4 -5
- package/dist/lib/tone.d.cts.map +1 -1
- package/dist/src/components/Accordion.cjs +1 -1
- package/dist/src/components/Accordion.cjs.map +1 -1
- package/dist/src/components/Accordion.d.mts +5 -5
- package/dist/src/components/Accordion.d.mts.map +1 -1
- package/dist/src/components/Accordion.mjs +1 -1
- package/dist/src/components/Accordion.mjs.map +1 -1
- package/dist/src/components/AnsiText.cjs +4 -0
- package/dist/src/components/AnsiText.cjs.map +1 -0
- package/dist/src/components/AnsiText.d.mts +16 -0
- package/dist/src/components/AnsiText.d.mts.map +1 -0
- package/dist/src/components/AnsiText.mjs +4 -0
- package/dist/src/components/AnsiText.mjs.map +1 -0
- package/dist/src/components/Avatar.cjs +1 -1
- package/dist/src/components/Avatar.cjs.map +1 -1
- package/dist/src/components/Avatar.d.mts +4 -4
- package/dist/src/components/Avatar.d.mts.map +1 -1
- package/dist/src/components/Avatar.mjs +1 -1
- package/dist/src/components/Avatar.mjs.map +1 -1
- package/dist/src/components/Badge.cjs +1 -1
- package/dist/src/components/Badge.cjs.map +1 -1
- package/dist/src/components/Badge.d.mts +5 -6
- package/dist/src/components/Badge.d.mts.map +1 -1
- package/dist/src/components/Badge.mjs +1 -1
- package/dist/src/components/Badge.mjs.map +1 -1
- package/dist/src/components/Breadcrumb.cjs +1 -1
- package/dist/src/components/Breadcrumb.cjs.map +1 -1
- package/dist/src/components/Breadcrumb.d.mts +4 -5
- package/dist/src/components/Breadcrumb.d.mts.map +1 -1
- package/dist/src/components/Breadcrumb.mjs +1 -1
- package/dist/src/components/Breadcrumb.mjs.map +1 -1
- package/dist/src/components/Button.cjs +1 -1
- package/dist/src/components/Button.cjs.map +1 -1
- package/dist/src/components/Button.d.mts +6 -7
- package/dist/src/components/Button.d.mts.map +1 -1
- package/dist/src/components/Button.mjs +1 -1
- package/dist/src/components/Button.mjs.map +1 -1
- package/dist/src/components/Checkbox.cjs +1 -1
- package/dist/src/components/Checkbox.cjs.map +1 -1
- package/dist/src/components/Checkbox.d.mts +1 -1
- package/dist/src/components/Checkbox.d.mts.map +1 -1
- package/dist/src/components/Checkbox.mjs +1 -1
- package/dist/src/components/Checkbox.mjs.map +1 -1
- package/dist/src/components/CodeBlock.cjs +2 -0
- package/dist/src/components/CodeBlock.cjs.map +1 -0
- package/dist/src/components/CodeBlock.mjs +2 -0
- package/dist/src/components/CodeBlock.mjs.map +1 -0
- package/dist/src/components/CodeEditor.cjs.map +1 -1
- package/dist/src/components/CodeEditor.d.mts +1 -2
- package/dist/src/components/CodeEditor.d.mts.map +1 -1
- package/dist/src/components/CodeEditor.mjs.map +1 -1
- package/dist/src/components/CodeEditorView.cjs +1 -1
- package/dist/src/components/CodeEditorView.cjs.map +1 -1
- package/dist/src/components/CodeEditorView.mjs +1 -1
- package/dist/src/components/CodeEditorView.mjs.map +1 -1
- package/dist/src/components/Collapsible.cjs.map +1 -1
- package/dist/src/components/Collapsible.d.mts +4 -4
- package/dist/src/components/Collapsible.d.mts.map +1 -1
- package/dist/src/components/Collapsible.mjs.map +1 -1
- package/dist/src/components/Command.cjs +1 -1
- package/dist/src/components/Command.cjs.map +1 -1
- package/dist/src/components/Command.d.mts +11 -12
- package/dist/src/components/Command.d.mts.map +1 -1
- package/dist/src/components/Command.mjs +1 -1
- package/dist/src/components/Command.mjs.map +1 -1
- package/dist/src/components/CopyButton.cjs +2 -0
- package/dist/src/components/CopyButton.cjs.map +1 -0
- package/dist/src/components/CopyButton.mjs +2 -0
- package/dist/src/components/CopyButton.mjs.map +1 -0
- package/dist/src/components/Dialog.cjs +1 -1
- package/dist/src/components/Dialog.cjs.map +1 -1
- package/dist/src/components/Dialog.d.mts +15 -15
- package/dist/src/components/Dialog.d.mts.map +1 -1
- package/dist/src/components/Dialog.mjs +1 -1
- package/dist/src/components/Dialog.mjs.map +1 -1
- package/dist/src/components/Dot.cjs.map +1 -1
- package/dist/src/components/Dot.d.mts +5 -6
- package/dist/src/components/Dot.d.mts.map +1 -1
- package/dist/src/components/Dot.mjs.map +1 -1
- package/dist/src/components/DropdownMenu.cjs +1 -1
- package/dist/src/components/DropdownMenu.cjs.map +1 -1
- package/dist/src/components/DropdownMenu.d.mts +20 -20
- package/dist/src/components/DropdownMenu.d.mts.map +1 -1
- package/dist/src/components/DropdownMenu.mjs +1 -1
- package/dist/src/components/DropdownMenu.mjs.map +1 -1
- package/dist/src/components/EmptyState.cjs +1 -1
- package/dist/src/components/EmptyState.cjs.map +1 -1
- package/dist/src/components/EmptyState.d.mts +2 -3
- package/dist/src/components/EmptyState.d.mts.map +1 -1
- package/dist/src/components/EmptyState.mjs +1 -1
- package/dist/src/components/EmptyState.mjs.map +1 -1
- package/dist/src/components/HashlineLines.cjs +2 -0
- package/dist/src/components/HashlineLines.cjs.map +1 -0
- package/dist/src/components/HashlineLines.d.mts +23 -0
- package/dist/src/components/HashlineLines.d.mts.map +1 -0
- package/dist/src/components/HashlineLines.mjs +2 -0
- package/dist/src/components/HashlineLines.mjs.map +1 -0
- package/dist/src/components/Input.cjs +1 -1
- package/dist/src/components/Input.cjs.map +1 -1
- package/dist/src/components/Input.d.mts +6 -7
- package/dist/src/components/Input.d.mts.map +1 -1
- package/dist/src/components/Input.mjs +1 -1
- package/dist/src/components/Input.mjs.map +1 -1
- package/dist/src/components/Kbd.cjs +1 -1
- package/dist/src/components/Kbd.cjs.map +1 -1
- package/dist/src/components/Kbd.d.mts +1 -2
- package/dist/src/components/Kbd.d.mts.map +1 -1
- package/dist/src/components/Kbd.mjs +1 -1
- package/dist/src/components/Kbd.mjs.map +1 -1
- package/dist/src/components/Label.cjs +1 -1
- package/dist/src/components/Label.cjs.map +1 -1
- package/dist/src/components/Label.d.mts +1 -1
- package/dist/src/components/Label.d.mts.map +1 -1
- package/dist/src/components/Label.mjs +1 -1
- package/dist/src/components/Label.mjs.map +1 -1
- package/dist/src/components/Markdown.cjs +2 -1
- package/dist/src/components/Markdown.cjs.map +1 -1
- package/dist/src/components/Markdown.d.mts +12 -3
- package/dist/src/components/Markdown.d.mts.map +1 -1
- package/dist/src/components/Markdown.mjs +2 -1
- package/dist/src/components/Markdown.mjs.map +1 -1
- package/dist/src/components/MediaPreview.cjs +1 -1
- package/dist/src/components/MediaPreview.cjs.map +1 -1
- package/dist/src/components/MediaPreview.d.mts +39 -3
- package/dist/src/components/MediaPreview.d.mts.map +1 -1
- package/dist/src/components/MediaPreview.mjs +1 -1
- package/dist/src/components/MediaPreview.mjs.map +1 -1
- package/dist/src/components/MermaidDiagram.cjs +2 -0
- package/dist/src/components/MermaidDiagram.cjs.map +1 -0
- package/dist/src/components/MermaidDiagram.mjs +2 -0
- package/dist/src/components/MermaidDiagram.mjs.map +1 -0
- package/dist/src/components/MessageItem.cjs +1 -1
- package/dist/src/components/MessageItem.cjs.map +1 -1
- package/dist/src/components/MessageItem.d.mts +48 -17
- package/dist/src/components/MessageItem.d.mts.map +1 -1
- package/dist/src/components/MessageItem.mjs +1 -1
- package/dist/src/components/MessageItem.mjs.map +1 -1
- package/dist/src/components/MessageLines.cjs.map +1 -1
- package/dist/src/components/MessageLines.d.mts +5 -6
- package/dist/src/components/MessageLines.d.mts.map +1 -1
- package/dist/src/components/MessageLines.mjs.map +1 -1
- package/dist/src/components/OptionList.cjs +1 -1
- package/dist/src/components/OptionList.cjs.map +1 -1
- package/dist/src/components/OptionList.d.mts +9 -10
- package/dist/src/components/OptionList.d.mts.map +1 -1
- package/dist/src/components/OptionList.mjs +1 -1
- package/dist/src/components/OptionList.mjs.map +1 -1
- package/dist/src/components/Panel.cjs +1 -1
- package/dist/src/components/Panel.cjs.map +1 -1
- package/dist/src/components/Panel.d.mts +4 -5
- package/dist/src/components/Panel.d.mts.map +1 -1
- package/dist/src/components/Panel.mjs +1 -1
- package/dist/src/components/Panel.mjs.map +1 -1
- package/dist/src/components/PdfPreview.cjs +2 -0
- package/dist/src/components/PdfPreview.cjs.map +1 -0
- package/dist/src/components/PdfPreview.d.mts +52 -0
- package/dist/src/components/PdfPreview.d.mts.map +1 -0
- package/dist/src/components/PdfPreview.mjs +2 -0
- package/dist/src/components/PdfPreview.mjs.map +1 -0
- package/dist/src/components/Popover.cjs +1 -1
- package/dist/src/components/Popover.cjs.map +1 -1
- package/dist/src/components/Popover.d.mts +8 -8
- package/dist/src/components/Popover.d.mts.map +1 -1
- package/dist/src/components/Popover.mjs +1 -1
- package/dist/src/components/Popover.mjs.map +1 -1
- package/dist/src/components/Progress.cjs.map +1 -1
- package/dist/src/components/Progress.d.mts +1 -1
- package/dist/src/components/Progress.d.mts.map +1 -1
- package/dist/src/components/Progress.mjs.map +1 -1
- package/dist/src/components/RadioGroup.cjs.map +1 -1
- package/dist/src/components/RadioGroup.d.mts +4 -4
- package/dist/src/components/RadioGroup.d.mts.map +1 -1
- package/dist/src/components/RadioGroup.mjs.map +1 -1
- package/dist/src/components/ScrollArea.cjs.map +1 -1
- package/dist/src/components/ScrollArea.d.mts +3 -3
- package/dist/src/components/ScrollArea.d.mts.map +1 -1
- package/dist/src/components/ScrollArea.mjs.map +1 -1
- package/dist/src/components/SectionLabel.cjs +1 -1
- package/dist/src/components/SectionLabel.cjs.map +1 -1
- package/dist/src/components/SectionLabel.d.mts +1 -2
- package/dist/src/components/SectionLabel.d.mts.map +1 -1
- package/dist/src/components/SectionLabel.mjs +1 -1
- package/dist/src/components/SectionLabel.mjs.map +1 -1
- package/dist/src/components/Select.cjs +1 -1
- package/dist/src/components/Select.cjs.map +1 -1
- package/dist/src/components/Select.d.mts +9 -9
- package/dist/src/components/Select.d.mts.map +1 -1
- package/dist/src/components/Select.mjs +1 -1
- package/dist/src/components/Select.mjs.map +1 -1
- package/dist/src/components/Separator.cjs.map +1 -1
- package/dist/src/components/Separator.d.mts +1 -1
- package/dist/src/components/Separator.d.mts.map +1 -1
- package/dist/src/components/Separator.mjs.map +1 -1
- package/dist/src/components/Sheet.cjs +2 -0
- package/dist/src/components/Sheet.cjs.map +1 -0
- package/dist/src/components/Sheet.d.mts +35 -0
- package/dist/src/components/Sheet.d.mts.map +1 -0
- package/dist/src/components/Sheet.mjs +2 -0
- package/dist/src/components/Sheet.mjs.map +1 -0
- package/dist/src/components/Skeleton.cjs.map +1 -1
- package/dist/src/components/Skeleton.d.mts +1 -2
- package/dist/src/components/Skeleton.d.mts.map +1 -1
- package/dist/src/components/Skeleton.mjs.map +1 -1
- package/dist/src/components/Spinner.cjs +1 -1
- package/dist/src/components/Spinner.cjs.map +1 -1
- package/dist/src/components/Spinner.d.mts +2 -3
- package/dist/src/components/Spinner.d.mts.map +1 -1
- package/dist/src/components/Spinner.mjs +1 -1
- package/dist/src/components/Spinner.mjs.map +1 -1
- package/dist/src/components/StatusBadge.cjs +1 -1
- package/dist/src/components/StatusBadge.cjs.map +1 -1
- package/dist/src/components/StatusBadge.d.mts +6 -7
- package/dist/src/components/StatusBadge.d.mts.map +1 -1
- package/dist/src/components/StatusBadge.mjs +1 -1
- package/dist/src/components/StatusBadge.mjs.map +1 -1
- package/dist/src/components/StreamCursor.cjs.map +1 -1
- package/dist/src/components/StreamCursor.d.mts +1 -2
- package/dist/src/components/StreamCursor.d.mts.map +1 -1
- package/dist/src/components/StreamCursor.mjs.map +1 -1
- package/dist/src/components/Switch.cjs.map +1 -1
- package/dist/src/components/Switch.d.mts +1 -1
- package/dist/src/components/Switch.d.mts.map +1 -1
- package/dist/src/components/Switch.mjs.map +1 -1
- package/dist/src/components/SyntaxText.cjs +4 -0
- package/dist/src/components/SyntaxText.cjs.map +1 -0
- package/dist/src/components/SyntaxText.d.mts +50 -0
- package/dist/src/components/SyntaxText.d.mts.map +1 -0
- package/dist/src/components/SyntaxText.mjs +4 -0
- package/dist/src/components/SyntaxText.mjs.map +1 -0
- package/dist/src/components/Tabs.cjs +1 -1
- package/dist/src/components/Tabs.cjs.map +1 -1
- package/dist/src/components/Tabs.d.mts +11 -11
- package/dist/src/components/Tabs.d.mts.map +1 -1
- package/dist/src/components/Tabs.mjs +1 -1
- package/dist/src/components/Tabs.mjs.map +1 -1
- package/dist/src/components/TerminalView.cjs +2 -0
- package/dist/src/components/TerminalView.cjs.map +1 -0
- package/dist/src/components/TerminalView.d.mts +31 -0
- package/dist/src/components/TerminalView.d.mts.map +1 -0
- package/dist/src/components/TerminalView.mjs +2 -0
- package/dist/src/components/TerminalView.mjs.map +1 -0
- package/dist/src/components/Textarea.cjs.map +1 -1
- package/dist/src/components/Textarea.d.mts +3 -4
- package/dist/src/components/Textarea.d.mts.map +1 -1
- package/dist/src/components/Textarea.mjs.map +1 -1
- package/dist/src/components/Toast.cjs +1 -1
- package/dist/src/components/Toast.cjs.map +1 -1
- package/dist/src/components/Toast.d.mts +11 -11
- package/dist/src/components/Toast.d.mts.map +1 -1
- package/dist/src/components/Toast.mjs +1 -1
- package/dist/src/components/Toast.mjs.map +1 -1
- package/dist/src/components/ToolPathLink.cjs +2 -0
- package/dist/src/components/ToolPathLink.cjs.map +1 -0
- package/dist/src/components/ToolPathLink.d.mts +22 -0
- package/dist/src/components/ToolPathLink.d.mts.map +1 -0
- package/dist/src/components/ToolPathLink.mjs +2 -0
- package/dist/src/components/ToolPathLink.mjs.map +1 -0
- package/dist/src/components/Tooltip.cjs +1 -1
- package/dist/src/components/Tooltip.cjs.map +1 -1
- package/dist/src/components/Tooltip.d.mts +5 -5
- package/dist/src/components/Tooltip.d.mts.map +1 -1
- package/dist/src/components/Tooltip.mjs +1 -1
- package/dist/src/components/Tooltip.mjs.map +1 -1
- package/dist/src/icons/icons.cjs +1 -1
- package/dist/src/icons/icons.d.mts +2 -2
- package/dist/src/icons/icons.mjs +1 -1
- package/dist/src/lib/ansiSpans.cjs +2 -0
- package/dist/src/lib/ansiSpans.cjs.map +1 -0
- package/dist/src/lib/ansiSpans.d.mts +42 -0
- package/dist/src/lib/ansiSpans.d.mts.map +1 -0
- package/dist/src/lib/ansiSpans.mjs +2 -0
- package/dist/src/lib/ansiSpans.mjs.map +1 -0
- package/dist/src/lib/cn.d.mts +1 -2
- package/dist/src/lib/cn.d.mts.map +1 -1
- package/dist/src/lib/collapse.d.mts +2 -3
- package/dist/src/lib/collapse.d.mts.map +1 -1
- package/dist/src/lib/editorController.cjs +2 -0
- package/dist/src/lib/editorController.cjs.map +1 -0
- package/dist/src/lib/editorController.mjs +2 -0
- package/dist/src/lib/editorController.mjs.map +1 -0
- package/dist/src/lib/editorLanguage.d.mts +2 -3
- package/dist/src/lib/editorLanguage.d.mts.map +1 -1
- package/dist/src/lib/editorTheme.cjs +1 -1
- package/dist/src/lib/editorTheme.cjs.map +1 -1
- package/dist/src/lib/editorTheme.d.mts +76 -0
- package/dist/src/lib/editorTheme.d.mts.map +1 -0
- package/dist/src/lib/editorTheme.mjs +1 -1
- package/dist/src/lib/editorTheme.mjs.map +1 -1
- package/dist/src/lib/fenceGrammar.cjs +2 -0
- package/dist/src/lib/fenceGrammar.cjs.map +1 -0
- package/dist/src/lib/fenceGrammar.mjs +2 -0
- package/dist/src/lib/fenceGrammar.mjs.map +1 -0
- package/dist/src/lib/hashlineHighlight.cjs +3 -0
- package/dist/src/lib/hashlineHighlight.cjs.map +1 -0
- package/dist/src/lib/hashlineHighlight.d.mts +30 -0
- package/dist/src/lib/hashlineHighlight.d.mts.map +1 -0
- package/dist/src/lib/hashlineHighlight.mjs +3 -0
- package/dist/src/lib/hashlineHighlight.mjs.map +1 -0
- package/dist/src/lib/hashlineView.cjs +6 -0
- package/dist/src/lib/hashlineView.cjs.map +1 -0
- package/dist/src/lib/hashlineView.d.mts +60 -0
- package/dist/src/lib/hashlineView.d.mts.map +1 -0
- package/dist/src/lib/hashlineView.mjs +6 -0
- package/dist/src/lib/hashlineView.mjs.map +1 -0
- package/dist/src/lib/media.cjs.map +1 -1
- package/dist/src/lib/media.d.mts +1 -2
- package/dist/src/lib/media.d.mts.map +1 -1
- package/dist/src/lib/media.mjs.map +1 -1
- package/dist/src/lib/mediaPlayback.cjs +2 -0
- package/dist/src/lib/mediaPlayback.cjs.map +1 -0
- package/dist/src/lib/mediaPlayback.mjs +2 -0
- package/dist/src/lib/mediaPlayback.mjs.map +1 -0
- package/dist/src/lib/mermaidDiagram.cjs +2 -0
- package/dist/src/lib/mermaidDiagram.cjs.map +1 -0
- package/dist/src/lib/mermaidDiagram.mjs +2 -0
- package/dist/src/lib/mermaidDiagram.mjs.map +1 -0
- package/dist/src/lib/optionList.d.mts +4 -5
- package/dist/src/lib/optionList.d.mts.map +1 -1
- package/dist/src/lib/syntaxHighlight.cjs +3 -0
- package/dist/src/lib/syntaxHighlight.cjs.map +1 -0
- package/dist/src/lib/syntaxHighlight.d.mts +54 -0
- package/dist/src/lib/syntaxHighlight.d.mts.map +1 -0
- package/dist/src/lib/syntaxHighlight.mjs +3 -0
- package/dist/src/lib/syntaxHighlight.mjs.map +1 -0
- package/dist/src/lib/tone.cjs.map +1 -1
- package/dist/src/lib/tone.d.mts +4 -5
- package/dist/src/lib/tone.d.mts.map +1 -1
- package/dist/src/lib/tone.mjs.map +1 -1
- package/dist/src/theme/apply.cjs.map +1 -1
- package/dist/src/theme/apply.d.mts +5 -6
- package/dist/src/theme/apply.d.mts.map +1 -1
- package/dist/src/theme/apply.mjs.map +1 -1
- package/dist/src/theme/builtinThemes.cjs.map +1 -1
- package/dist/src/theme/builtinThemes.d.mts +4 -5
- package/dist/src/theme/builtinThemes.d.mts.map +1 -1
- package/dist/src/theme/builtinThemes.mjs.map +1 -1
- package/dist/src/theme/derive.cjs.map +1 -1
- package/dist/src/theme/derive.d.mts +4 -5
- package/dist/src/theme/derive.d.mts.map +1 -1
- package/dist/src/theme/derive.mjs.map +1 -1
- package/dist/src/theme/parse.cjs.map +1 -1
- package/dist/src/theme/parse.d.mts +1 -2
- package/dist/src/theme/parse.d.mts.map +1 -1
- package/dist/src/theme/parse.mjs.map +1 -1
- package/dist/src/theme/piTheme.cjs.map +1 -1
- package/dist/src/theme/piTheme.d.mts +2 -3
- package/dist/src/theme/piTheme.d.mts.map +1 -1
- package/dist/src/theme/piTheme.mjs.map +1 -1
- package/dist/src/theme/preference.d.mts +4 -5
- package/dist/src/theme/preference.d.mts.map +1 -1
- package/dist/src/types/editor.cjs.map +1 -1
- package/dist/src/types/editor.d.mts +39 -5
- package/dist/src/types/editor.d.mts.map +1 -1
- package/dist/src/types/editor.mjs.map +1 -1
- package/dist/src/types/theme.d.mts +11 -12
- package/dist/src/types/theme.d.mts.map +1 -1
- package/dist/src/types/tone.d.mts +10 -11
- package/dist/src/types/tone.d.mts.map +1 -1
- package/dist/theme/apply.d.cts +5 -6
- package/dist/theme/apply.d.cts.map +1 -1
- package/dist/theme/builtinThemes.d.cts +4 -5
- package/dist/theme/builtinThemes.d.cts.map +1 -1
- package/dist/theme/derive.d.cts +4 -5
- package/dist/theme/derive.d.cts.map +1 -1
- package/dist/theme/parse.d.cts +1 -2
- package/dist/theme/parse.d.cts.map +1 -1
- package/dist/theme/piTheme.d.cts +2 -3
- package/dist/theme/piTheme.d.cts.map +1 -1
- package/dist/theme/preference.d.cts +4 -5
- package/dist/theme/preference.d.cts.map +1 -1
- package/dist/types/editor.d.cts +39 -5
- package/dist/types/editor.d.cts.map +1 -1
- package/dist/types/theme.d.cts +11 -12
- package/dist/types/theme.d.cts.map +1 -1
- package/dist/types/tone.d.cts +10 -11
- package/dist/types/tone.d.cts.map +1 -1
- package/package.json +19 -15
- package/styles/preview.css +17 -0
- package/styles/tokens.css +72 -0
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
//#region src/components/Markdown.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* What a piece of inline code opens, when the host knows.
|
|
4
|
+
*
|
|
5
|
+
* Returning undefined leaves the span as plain code, which is the answer for
|
|
6
|
+
* everything a message quotes that is not a file: a class name, a flag, a
|
|
7
|
+
* command. The caller decides what counts, because only it knows which files
|
|
8
|
+
* the session has.
|
|
9
|
+
*/
|
|
10
|
+
export type FileLinkHandler = (text: string, explicit?: boolean) => (() => void) | undefined;
|
|
2
11
|
/** GitHub-flavored Markdown using the cockpit's safe, shared presentation. */
|
|
3
|
-
declare function Markdown({ text }: {
|
|
12
|
+
export declare function Markdown({ text, onFileLink }: {
|
|
4
13
|
text: string;
|
|
5
|
-
|
|
14
|
+
onFileLink?: FileLinkHandler;
|
|
15
|
+
}): import("react").JSX.Element;
|
|
6
16
|
//#endregion
|
|
7
|
-
export { Markdown };
|
|
8
17
|
//# sourceMappingURL=Markdown.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Markdown.d.cts","names":[],"sources":["../../src/components/Markdown.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Markdown.d.cts","names":[],"sources":["../../src/components/Markdown.tsx"],"mappings":";;;;;;;;;YAkBY,mBAAmB,cAAc;;wBAiI7B,WAAW,MAAM;EAAgB;EAAc,aAAa;oBAAiB,IAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { MediaKind } from "../types/editor.cjs";
|
|
2
|
+
import { PdfPreviewController } from "./PdfPreview.cjs";
|
|
2
3
|
//#region src/components/MediaPreview.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* A file the browser can show but not edit.
|
|
@@ -9,7 +10,36 @@ import { MediaKind } from "../types/editor.cjs";
|
|
|
9
10
|
* turned into HTML is a different document, and offering to edit that one
|
|
10
11
|
* would be offering to overwrite the real one with it.
|
|
11
12
|
*/
|
|
12
|
-
interface
|
|
13
|
+
export interface MediaPlaybackState {
|
|
14
|
+
playing: boolean;
|
|
15
|
+
currentTime: number;
|
|
16
|
+
duration: number;
|
|
17
|
+
}
|
|
18
|
+
export interface MediaIntrinsicSize {
|
|
19
|
+
width: number;
|
|
20
|
+
height: number;
|
|
21
|
+
}
|
|
22
|
+
export interface MediaFrameMetadata {
|
|
23
|
+
mediaTime: number;
|
|
24
|
+
presentedFrames?: number;
|
|
25
|
+
}
|
|
26
|
+
export interface MediaFrameCapture {
|
|
27
|
+
blob: Blob;
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
timeSeconds: number;
|
|
31
|
+
metadata?: MediaFrameMetadata;
|
|
32
|
+
}
|
|
33
|
+
export interface MediaPreviewController {
|
|
34
|
+
play: () => Promise<void>;
|
|
35
|
+
pause: () => void;
|
|
36
|
+
seek: (seconds: number) => void;
|
|
37
|
+
getState: () => MediaPlaybackState;
|
|
38
|
+
isFrameReady: () => boolean;
|
|
39
|
+
getIntrinsicSize: () => MediaIntrinsicSize | null;
|
|
40
|
+
captureFrame: (type?: 'image/png' | 'image/jpeg', quality?: number) => Promise<MediaFrameCapture | null>;
|
|
41
|
+
}
|
|
42
|
+
export interface MediaPreviewProps {
|
|
13
43
|
/** Where the bytes are served from. */
|
|
14
44
|
src: string;
|
|
15
45
|
/** The file's path, used for the accessible name and the download name. */
|
|
@@ -17,9 +47,15 @@ interface MediaPreviewProps {
|
|
|
17
47
|
/** Overrides the kind inferred from the path, for a server that knows better. */
|
|
18
48
|
kind?: MediaKind;
|
|
19
49
|
className?: string;
|
|
50
|
+
videoControls?: boolean;
|
|
20
51
|
'data-testid'?: string;
|
|
52
|
+
/** Video-only controller. It is assigned while the video element is mounted. */
|
|
53
|
+
controllerRef?: import('react').Ref<MediaPreviewController>;
|
|
54
|
+
/** PDF-only page and geometry controller. */
|
|
55
|
+
pdfControllerRef?: import('react').Ref<PdfPreviewController>;
|
|
56
|
+
/** Reports browser playback state changes for video previews. */
|
|
57
|
+
onPlaybackStateChange?: (state: MediaPlaybackState) => void;
|
|
21
58
|
}
|
|
22
|
-
declare function MediaPreview({ src, path, kind, className, 'data-testid': testId }: MediaPreviewProps): import("react
|
|
59
|
+
export declare function MediaPreview({ src, path, kind, className, controllerRef, pdfControllerRef, onPlaybackStateChange, videoControls, 'data-testid': testId }: MediaPreviewProps): import("react").JSX.Element;
|
|
23
60
|
//#endregion
|
|
24
|
-
export { MediaPreview, MediaPreviewProps };
|
|
25
61
|
//# sourceMappingURL=MediaPreview.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaPreview.d.cts","names":[],"sources":["../../src/components/MediaPreview.tsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"MediaPreview.d.cts","names":[],"sources":["../../src/components/MediaPreview.tsx"],"mappings":";;;;;;;;;;;;iBAmBiB;EACf;EACA;EACA;;iBAGe;EACf;EACA;;iBAGe;EACf;EACA;;iBAGe;EACf,MAAM;EACN;EACA;EACA;EACA,WAAW;;iBAGI;EACf,YAAY;EACZ;EACA,OAAO;EACP,gBAAgB;EAChB;EACA,wBAAwB;EACxB,eAAe,mCAAmC,qBAAqB,QAAQ;;iBAGhE;;EAEf;;EAEA;;EAEA,OAAO;EACP;EACA;EACA;;EAEA,gCAAgC,IAAI;;EAEpC,mCAAmC,IAAI;;EAEvC,yBAAyB,OAAO;;wBA6IlB,eACd,KACA,MACA,MACA,WACA,eACA,kBACA,uBACA,8BACe,UACd,oCAAiB,IAAA"}
|
|
@@ -10,7 +10,7 @@ import { VariantProps } from "class-variance-authority";
|
|
|
10
10
|
* this, and so is the cockpit's own fallback item, which is what keeps them
|
|
11
11
|
* looking alike.
|
|
12
12
|
*/
|
|
13
|
-
interface MessageItemState {
|
|
13
|
+
export interface MessageItemState {
|
|
14
14
|
tone: StatusTone;
|
|
15
15
|
/** Whether the header offers the toggle; an item that hides nothing offers none. */
|
|
16
16
|
expandable: boolean;
|
|
@@ -18,12 +18,16 @@ interface MessageItemState {
|
|
|
18
18
|
toggle: () => void;
|
|
19
19
|
}
|
|
20
20
|
/** The enclosing item's state, for a part that lives deeper than the item's render prop. */
|
|
21
|
-
declare function useMessageItem(): MessageItemState;
|
|
21
|
+
export declare function useMessageItem(): MessageItemState;
|
|
22
22
|
/** The frame, wearing the edge STATUS_EDGE names for the tone, so the two never drift apart. */
|
|
23
|
-
declare const messageItemVariants: (props?: ({
|
|
23
|
+
export declare const messageItemVariants: (props?: ({
|
|
24
24
|
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
25
25
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
26
|
-
|
|
26
|
+
/** The same tone as a row: no card, one coloured edge, and the group's separators between rows. */
|
|
27
|
+
export declare const messageItemRowVariants: (props?: ({
|
|
28
|
+
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
29
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
30
|
+
export interface MessageItemProps extends Omit<ComponentProps<'div'>, 'children'>, VariantProps<typeof messageItemVariants> {
|
|
27
31
|
/** Whether the header offers the expand toggle. A toggle that reveals nothing reads as broken, so the card decides. */
|
|
28
32
|
expandable?: boolean;
|
|
29
33
|
defaultExpanded?: boolean;
|
|
@@ -33,15 +37,35 @@ interface MessageItemProps extends Omit<ComponentProps<'div'>, 'children'>, Vari
|
|
|
33
37
|
/** Plain content, or a function of the item's state for a card that picks its lines by `expanded`. */
|
|
34
38
|
children?: ReactNode | ((state: MessageItemState) => ReactNode);
|
|
35
39
|
}
|
|
36
|
-
declare function MessageItem({ className, tone, expandable, defaultExpanded, expanded, onExpandedChange, children, ...props }: MessageItemProps): import("react
|
|
40
|
+
export declare function MessageItem({ className, tone, expandable, defaultExpanded, expanded, onExpandedChange, children, ...props }: MessageItemProps): import("react").JSX.Element;
|
|
41
|
+
export interface MessageItemGroupProps extends Omit<ComponentProps<'div'>, 'title'>, VariantProps<typeof messageItemVariants> {
|
|
42
|
+
/** The bold label at the left of the group header: the tool the run belongs to. */
|
|
43
|
+
title: ReactNode;
|
|
44
|
+
/** The line beside it, such as how many calls the group holds. */
|
|
45
|
+
summary?: ReactNode;
|
|
46
|
+
/** The badge text; defaults to the tone's label, null hides the badge. */
|
|
47
|
+
badge?: ReactNode | null;
|
|
48
|
+
children?: ReactNode;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* One frame around a run of items that belong together.
|
|
52
|
+
*
|
|
53
|
+
* A transcript that calls the same tool five times in a row is five identical
|
|
54
|
+
* frames, five gutter labels and five gaps, and the repetition reads louder
|
|
55
|
+
* than the commands do. The group draws the frame once and each item inside it
|
|
56
|
+
* becomes a row: same header, same expand, no card of its own. The tone still
|
|
57
|
+
* belongs to the row, as an edge, so a failure in the middle of a run is not
|
|
58
|
+
* flattened into the group's own outcome.
|
|
59
|
+
*/
|
|
60
|
+
export declare function MessageItemGroup({ className, tone, title, summary, badge, children, ...props }: MessageItemGroupProps): import("react").JSX.Element;
|
|
37
61
|
/** The tone a tool call's item wears: running while the tool runs, then its outcome. */
|
|
38
|
-
declare function toolTone(state: {
|
|
62
|
+
export declare function toolTone(state: {
|
|
39
63
|
running: boolean;
|
|
40
64
|
isError: boolean;
|
|
41
65
|
}): StatusTone;
|
|
42
66
|
/** The badge text a tone reads as when the header is not told otherwise; empty hides the badge. */
|
|
43
|
-
declare const STATUS_LABEL: Readonly<Record<StatusTone, string>>;
|
|
44
|
-
interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
67
|
+
export declare const STATUS_LABEL: Readonly<Record<StatusTone, string>>;
|
|
68
|
+
export interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
45
69
|
/** The bold label at the left: the tool name. */
|
|
46
70
|
title: ReactNode;
|
|
47
71
|
/** The badge text; defaults to the tone's label, null hides the badge. */
|
|
@@ -49,23 +73,30 @@ interface MessageItemHeaderProps extends Omit<ComponentProps<'div'>, 'title'> {
|
|
|
49
73
|
/** The summary beside the title; it gets the remaining width. */
|
|
50
74
|
children?: ReactNode;
|
|
51
75
|
}
|
|
52
|
-
/**
|
|
53
|
-
|
|
76
|
+
/**
|
|
77
|
+
* The title row: label, summary, the tone's badge, and the expand toggle when
|
|
78
|
+
* the item is expandable.
|
|
79
|
+
*
|
|
80
|
+
* A row inside a group says less. The group's header has already named the
|
|
81
|
+
* tool and stated the run's outcome, so the row drops its title and speaks up
|
|
82
|
+
* only when something went wrong or is still going: five OK badges down a run
|
|
83
|
+
* of five are noise, and the one ERROR among them is the point.
|
|
84
|
+
*/
|
|
85
|
+
export declare function MessageItemHeader({ className, title, badge, children, ...props }: MessageItemHeaderProps): import("react").JSX.Element;
|
|
54
86
|
/** The recessed body under the header. */
|
|
55
|
-
declare function MessageItemBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
87
|
+
export declare function MessageItemBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
56
88
|
/** The glyph a tone reads as in a status line. */
|
|
57
|
-
declare const STATUS_GLYPH: Readonly<Record<StatusTone, string>>;
|
|
58
|
-
declare const messageItemStatusVariants: (props?: ({
|
|
89
|
+
export declare const STATUS_GLYPH: Readonly<Record<StatusTone, string>>;
|
|
90
|
+
export declare const messageItemStatusVariants: (props?: ({
|
|
59
91
|
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
60
92
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
61
|
-
interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {
|
|
93
|
+
export interface MessageItemStatusProps extends ComponentProps<'span'>, VariantProps<typeof messageItemStatusVariants> {
|
|
62
94
|
/** Replaces the tone's glyph. */
|
|
63
95
|
glyph?: string;
|
|
64
96
|
/** Renders as a button that expands the item: the "N more line(s)" hint. Only className carries over. */
|
|
65
97
|
expands?: boolean;
|
|
66
98
|
}
|
|
67
99
|
/** The one-line status under a body: `◐ running`, `✗ failed`, `✓ done`, or the hint that more is hidden. */
|
|
68
|
-
declare function MessageItemStatus({ className, tone, glyph, expands, children, ...props }: MessageItemStatusProps): import("react
|
|
100
|
+
export declare function MessageItemStatus({ className, tone, glyph, expands, children, ...props }: MessageItemStatusProps): import("react").JSX.Element;
|
|
69
101
|
//#endregion
|
|
70
|
-
export { MessageItem, MessageItemBody, MessageItemHeader, MessageItemHeaderProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, messageItemStatusVariants, messageItemVariants, toolTone, useMessageItem };
|
|
71
102
|
//# sourceMappingURL=MessageItem.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.cts","names":[],"sources":["../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"MessageItem.d.cts","names":[],"sources":["../../src/components/MessageItem.tsx"],"mappings":";;;;;;;;;;;;iBAiBiB;EACf,MAAM;;EAEN;EACA;EACA;;;wBAWc,kBAAkB;;qBAarB,sBAAmB;;6CAG9B;;qBAGW,yBAAsB;;6CAGjC;iBAEe,yBACP,KAAK,oCAAoC,oBAAoB;;EAErE;EACA;;EAEA;EACA,oBAAoB;;EAEpB,WAAW,cAAc,OAAO,qBAAqB;;wBAGvC,cACd,WACA,MACA,YACA,iBACA,UACA,kBACA,aACG,SACF,mCAAgB,IAAA;iBA8BF,8BACP,KAAK,iCAAiC,oBAAoB;;EAElE,OAAO;;EAEP,UAAU;;EAEV,QAAQ;EACR,WAAW;;;;;;;;;;;;wBAaG,mBACd,WACA,MACA,OACA,SACA,OACA,aACG,SACF,wCAAqB,IAAA;;wBAiBR,SAAS;EAAS;EAAkB;IAAqB;;qBAK5D,cAAc,SAAS,OAAO;iBAS1B,+BAA+B,KAAK;;EAEnD,OAAO;;EAEP,QAAQ;;EAER,WAAW;;;;;;;;;;;wBAeG,oBAAoB,WAAW,OAAO,OAAO,aAAa,SAAS,yCAAsB,IAAA;;wBAsCzF,kBAAkB,cAAc,SAAS,wCAAqB,IAAA;;qBAWjE,cAAc,SAAS,OAAO;qBAS9B,4BAAyB;;6CAYpC;iBAEe,+BAA+B,wBAAwB,oBAAoB;;EAE1F;;EAEA;;;wBAIc,oBACd,WACA,MACA,OACA,SACA,aACG,SACF,yCAAsB,IAAA"}
|
|
@@ -2,23 +2,22 @@ import { MessageLineTone as MessageLineTone$1 } from "../types/tone.cjs";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/MessageLines.d.ts
|
|
4
4
|
/** One line of a message body, with the tone the card's pure view logic chose for it. */
|
|
5
|
-
type MessageLineTone = MessageLineTone$1;
|
|
6
|
-
interface MessageLine {
|
|
5
|
+
export type MessageLineTone = MessageLineTone$1;
|
|
6
|
+
export interface MessageLine {
|
|
7
7
|
text: string;
|
|
8
8
|
tone: MessageLineTone;
|
|
9
9
|
bold?: boolean;
|
|
10
10
|
indent?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const messageLineVariants: (props?: ({
|
|
12
|
+
export declare const messageLineVariants: (props?: ({
|
|
13
13
|
tone?: "accent" | "dim" | "error" | "hi" | "muted" | "success" | "text" | "warning" | null | undefined;
|
|
14
14
|
bold?: boolean | null | undefined;
|
|
15
15
|
indent?: boolean | null | undefined;
|
|
16
16
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
-
interface MessageLinesProps extends ComponentProps<'div'> {
|
|
17
|
+
export interface MessageLinesProps extends ComponentProps<'div'> {
|
|
18
18
|
lines: readonly MessageLine[];
|
|
19
19
|
}
|
|
20
20
|
/** A body of toned lines: what a card's view helper computed, drawn one line per row. */
|
|
21
|
-
declare function MessageLines({ className, lines, ...props }: MessageLinesProps): import("react
|
|
21
|
+
export declare function MessageLines({ className, lines, ...props }: MessageLinesProps): import("react").JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { MessageLine, MessageLineTone, MessageLines, MessageLinesProps, messageLineVariants };
|
|
24
23
|
//# sourceMappingURL=MessageLines.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageLines.d.cts","names":[],"sources":["../../src/components/MessageLines.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"MessageLines.d.cts","names":[],"sources":["../../src/components/MessageLines.tsx"],"mappings":";;;;YAOY,kBAAkB;iBAEb;EACf;EACA,MAAM;EACN;EACA;;qBAGW,sBAAmB;;;;6CAgB9B;iBAEe,0BAA0B;EACzC,gBAAgB;;;wBAIF,eAAe,WAAW,UAAU,SAAS,oCAAiB,IAAA"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
//#region src/components/OptionList.d.ts
|
|
4
|
-
declare const optionListVariants: (props?: ({
|
|
4
|
+
export declare const optionListVariants: (props?: ({
|
|
5
5
|
density?: "comfortable" | "compact" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
-
declare const optionRowVariants: (props?: ({
|
|
7
|
+
export declare const optionRowVariants: (props?: ({
|
|
8
8
|
density?: "comfortable" | "compact" | null | undefined;
|
|
9
9
|
active?: boolean | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
-
declare const optionMarkerVariants: (props?: ({
|
|
11
|
+
export declare const optionMarkerVariants: (props?: ({
|
|
12
12
|
density?: "comfortable" | "compact" | null | undefined;
|
|
13
13
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
-
interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof optionRowVariants> {
|
|
14
|
+
export interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof optionRowVariants> {
|
|
15
15
|
/** The digit or bullet in the row's leading circle; omit it for a row with no shortcut. */
|
|
16
16
|
marker?: ReactNode;
|
|
17
17
|
}
|
|
@@ -22,10 +22,10 @@ interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof o
|
|
|
22
22
|
* and a description side by side; OptionLabel is the single-string case.
|
|
23
23
|
* `role="option"` means a row belongs inside a `listbox`.
|
|
24
24
|
*/
|
|
25
|
-
declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react
|
|
25
|
+
export declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react").JSX.Element;
|
|
26
26
|
/** A row's single-string label: it takes the remaining width and clips or wraps by density. */
|
|
27
|
-
declare function OptionLabel({ className, density, ...props }: ComponentProps<'span'> & VariantProps<typeof optionListVariants>): import("react
|
|
28
|
-
interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, VariantProps<typeof optionListVariants> {
|
|
27
|
+
export declare function OptionLabel({ className, density, ...props }: ComponentProps<'span'> & VariantProps<typeof optionListVariants>): import("react").JSX.Element;
|
|
28
|
+
export interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, VariantProps<typeof optionListVariants> {
|
|
29
29
|
options: readonly string[];
|
|
30
30
|
/** The highlighted row, owned by the surface so its own focused element can drive it. */
|
|
31
31
|
cursor: number;
|
|
@@ -44,7 +44,6 @@ interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, Varia
|
|
|
44
44
|
* a list would fight the library for it and break the escape and outside-click
|
|
45
45
|
* behaviour that focus carries. Pair it with handleOptionListKey.
|
|
46
46
|
*/
|
|
47
|
-
declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react
|
|
47
|
+
export declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react").JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
|
-
export { OptionLabel, OptionList, OptionListProps, OptionRow, OptionRowProps, optionListVariants, optionMarkerVariants, optionRowVariants };
|
|
50
49
|
//# sourceMappingURL=OptionList.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;qBAMa,qBAAkB;;6CAM7B;qBAEW,oBAAiB;;;6CAc5B;qBAEW,uBAAoB;;6CAQ/B;iBAEe,uBAAuB,0BAA0B,oBAAoB;;EAEpF,SAAS;;;;;;;;;wBAUK,YAAY,WAAW,SAAS,QAAQ,QAAQ,aAAa,SAAS,iCAAc,IAAA;;wBAkBpF,cACd,WACA,YACG,SACF,yBAAyB,oBAAoB,sCAAmB,IAAA;iBAclD,wBACP,KAAK,oCAAoC,oBAAoB;EACrE;;EAEA;EACA,iBAAiB;EACjB,WAAW;;EAEX;;;;;;;;;;;;wBAac,aACd,WACA,SACA,QACA,gBACA,UACA,cACA,YACG,SACF,kCAAe,IAAA"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/components/Panel.d.ts
|
|
3
|
-
interface PanelProps extends ComponentProps<'div'> {
|
|
3
|
+
export interface PanelProps extends ComponentProps<'div'> {
|
|
4
4
|
/** Render the child element instead of a <div>, so a list row can be a panel. */
|
|
5
5
|
asChild?: boolean;
|
|
6
6
|
}
|
|
7
7
|
/** The bordered card surface: a tool card, a run card, a provider row. */
|
|
8
|
-
declare function Panel({ className, asChild, ...props }: PanelProps): import("react
|
|
8
|
+
export declare function Panel({ className, asChild, ...props }: PanelProps): import("react").JSX.Element;
|
|
9
9
|
/** A panel's title row. */
|
|
10
|
-
declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react
|
|
10
|
+
export declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
11
11
|
/** A panel's recessed body: the deep well the header sits above. */
|
|
12
|
-
declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react
|
|
12
|
+
export declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { Panel, PanelBody, PanelHeader, PanelProps };
|
|
15
14
|
//# sourceMappingURL=Panel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;iBAKiB,mBAAmB;;EAElC;;;wBAIc,QAAQ,WAAW,YAAoB,SAAS,6BAAU,IAAA;;wBAY1D,cAAc,cAAc,SAAS,wCAAqB,IAAA;;wBAO1D,YAAY,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//#region src/components/PdfPreview.d.ts
|
|
2
|
+
export interface PdfNormalizedRectangle {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
7
|
+
}
|
|
8
|
+
export interface PdfPageState {
|
|
9
|
+
page: number;
|
|
10
|
+
pageCount: number;
|
|
11
|
+
sourceWidth: number;
|
|
12
|
+
sourceHeight: number;
|
|
13
|
+
}
|
|
14
|
+
export interface PdfPageRegion {
|
|
15
|
+
page: number;
|
|
16
|
+
rect: PdfNormalizedRectangle;
|
|
17
|
+
}
|
|
18
|
+
export interface PdfPreviewController {
|
|
19
|
+
getState: () => PdfPageState;
|
|
20
|
+
setPage: (page: number) => void;
|
|
21
|
+
resolveViewportRegion: (rectangle: {
|
|
22
|
+
left: number;
|
|
23
|
+
top: number;
|
|
24
|
+
right: number;
|
|
25
|
+
bottom: number;
|
|
26
|
+
}) => PdfPageRegion | null;
|
|
27
|
+
capturePage: (type?: 'image/png' | 'image/jpeg', quality?: number) => Promise<Blob | null>;
|
|
28
|
+
}
|
|
29
|
+
export interface PdfPreviewProps {
|
|
30
|
+
src: string;
|
|
31
|
+
path: string;
|
|
32
|
+
className?: string;
|
|
33
|
+
'data-testid'?: string;
|
|
34
|
+
controllerRef?: import('react').Ref<PdfPreviewController>;
|
|
35
|
+
}
|
|
36
|
+
export declare function resolvePdfViewportRegion(page: number, bounds: {
|
|
37
|
+
left: number;
|
|
38
|
+
top: number;
|
|
39
|
+
right: number;
|
|
40
|
+
bottom: number;
|
|
41
|
+
width: number;
|
|
42
|
+
height: number;
|
|
43
|
+
}, rectangle: {
|
|
44
|
+
left: number;
|
|
45
|
+
top: number;
|
|
46
|
+
right: number;
|
|
47
|
+
bottom: number;
|
|
48
|
+
}): PdfPageRegion | null;
|
|
49
|
+
/** A page-aware PDF canvas. Coordinates resolve against PDF page geometry rather than an opaque browser iframe. */
|
|
50
|
+
export declare function PdfPreview({ src, path, className, controllerRef, 'data-testid': testId }: PdfPreviewProps): import("react").JSX.Element;
|
|
51
|
+
//#endregion
|
|
52
|
+
//# sourceMappingURL=PdfPreview.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdfPreview.d.cts","names":[],"sources":["../../src/components/PdfPreview.tsx"],"mappings":";iBAQiB;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA;EACA;EACA;;iBAGe;EACf;EACA,MAAM;;iBAGS;EACf,gBAAgB;EAChB,UAAU;EACV,wBAAwB;IACtB;IACA;IACA;IACA;QACI;EACN,cAAc,mCAAmC,qBAAqB,QAAQ;;iBAG/D;EACf;EACA;EACA;EACA;EACA,gCAAgC,IAAI;;wBAUtB,yBACd,cACA;EAAU;EAAc;EAAa;EAAe;EAAgB;EAAe;GACnF;EAAa;EAAc;EAAa;EAAe;IACtD;;wBA0Ba,aAAa,KAAK,MAAM,WAAW,8BAA8B,UAAU,kCAAe,IAAA"}
|
|
@@ -5,15 +5,15 @@ import { ComponentProps } from "react";
|
|
|
5
5
|
* shadcn's Popover on Radix: anchored to its trigger, closes on outside
|
|
6
6
|
* click and Escape, and the trigger toggles it rather than reopening it.
|
|
7
7
|
*/
|
|
8
|
-
declare function Popover$1(props: ComponentProps<typeof Popover.Root>): import("react
|
|
9
|
-
declare function PopoverTrigger(props: ComponentProps<typeof Popover.Trigger>): import("react
|
|
10
|
-
declare function PopoverAnchor(props: ComponentProps<typeof Popover.Anchor>): import("react
|
|
8
|
+
declare function Popover$1(props: ComponentProps<typeof Popover.Root>): import("react").JSX.Element;
|
|
9
|
+
export declare function PopoverTrigger(props: ComponentProps<typeof Popover.Trigger>): import("react").JSX.Element;
|
|
10
|
+
export declare function PopoverAnchor(props: ComponentProps<typeof Popover.Anchor>): import("react").JSX.Element;
|
|
11
11
|
/** Dismisses the popover from inside it: the row that acts and closes in one click. */
|
|
12
|
-
declare function PopoverClose(props: ComponentProps<typeof Popover.Close>): import("react
|
|
13
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover.Content>): import("react
|
|
12
|
+
export declare function PopoverClose(props: ComponentProps<typeof Popover.Close>): import("react").JSX.Element;
|
|
13
|
+
export declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover.Content>): import("react").JSX.Element;
|
|
14
14
|
/** The strip a popover's title sits in; tone colours the title. */
|
|
15
|
-
declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>): import("react
|
|
16
|
-
declare function PopoverFooter({ className, ...props }: ComponentProps<'div'>): import("react
|
|
15
|
+
export declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
16
|
+
export declare function PopoverFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { Popover$1 as Popover
|
|
18
|
+
export { Popover$1 as Popover };
|
|
19
19
|
//# sourceMappingURL=Popover.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.cts","names":[],"sources":["../../src/components/Popover.tsx"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Popover.d.cts","names":[],"sources":["../../src/components/Popover.tsx"],"mappings":";;;;;;;iBASgB,UAAQ,OAAO,sBAAsB,QAAiB,wBAAK,IAAA;wBAI3D,eAAe,OAAO,sBAAsB,QAAiB,2BAAQ,IAAA;wBAIrE,cAAc,OAAO,sBAAsB,QAAiB,0BAAO,IAAA;;wBAKnE,aAAa,OAAO,sBAAsB,QAAiB,yBAAM,IAAA;wBAIjE,iBACd,WACA,OACA,eACG,SACF,sBAAsB,QAAiB,2BAAQ,IAAA;;wBAkBlC,gBAAgB,cAAc,SAAS,wCAAqB,IAAA;wBAa5D,gBAAgB,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -2,7 +2,7 @@ import { Progress } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/Progress.d.ts
|
|
4
4
|
/** A determinate bar; leave `value` undefined and Radix reports it as indeterminate. */
|
|
5
|
-
declare function Progress$1({ className, value, ...props }: ComponentProps<typeof Progress.Root>): import("react
|
|
5
|
+
declare function Progress$1({ className, value, ...props }: ComponentProps<typeof Progress.Root>): import("react").JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Progress$1 as Progress };
|
|
8
8
|
//# sourceMappingURL=Progress.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.d.cts","names":[],"sources":["../../src/components/Progress.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Progress.d.cts","names":[],"sources":["../../src/components/Progress.tsx"],"mappings":";;;;iBAMgB,aAAW,WAAW,UAAU,SAAS,sBAAsB,SAAkB,wBAAK,IAAA"}
|
|
@@ -2,14 +2,14 @@ import { RadioGroup } from "radix-ui";
|
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
//#region src/components/RadioGroup.d.ts
|
|
4
4
|
/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */
|
|
5
|
-
declare function RadioGroup$1({ className, ...props }: ComponentProps<typeof RadioGroup.Root>): import("react
|
|
6
|
-
declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react
|
|
5
|
+
declare function RadioGroup$1({ className, ...props }: ComponentProps<typeof RadioGroup.Root>): import("react").JSX.Element;
|
|
6
|
+
export declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react").JSX.Element;
|
|
7
7
|
/**
|
|
8
8
|
* A whole card that is one radio choice: the theme picker, where the target is
|
|
9
9
|
* the preview rather than a dot. Radix keeps the roving focus and the checked
|
|
10
10
|
* state; the card supplies the frame.
|
|
11
11
|
*/
|
|
12
|
-
declare function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react
|
|
12
|
+
export declare function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react").JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
|
-
export { RadioGroup$1 as RadioGroup
|
|
14
|
+
export { RadioGroup$1 as RadioGroup };
|
|
15
15
|
//# sourceMappingURL=RadioGroup.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroup.d.cts","names":[],"sources":["../../src/components/RadioGroup.tsx"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.cts","names":[],"sources":["../../src/components/RadioGroup.tsx"],"mappings":";;;;iBAMgB,eAAa,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;wBAMnF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;;;;;;wBAuBvF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,wBAAK,IAAA"}
|
|
@@ -6,8 +6,8 @@ import { ComponentProps } from "react";
|
|
|
6
6
|
* the native scrollbar, so reach for this only where the bar must overlay the
|
|
7
7
|
* content or sit inside a rounded surface that clips it.
|
|
8
8
|
*/
|
|
9
|
-
declare function ScrollArea$1({ className, children, ...props }: ComponentProps<typeof ScrollArea.Root>): import("react
|
|
10
|
-
declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): import("react
|
|
9
|
+
declare function ScrollArea$1({ className, children, ...props }: ComponentProps<typeof ScrollArea.Root>): import("react").JSX.Element;
|
|
10
|
+
export declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): import("react").JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { ScrollArea$1 as ScrollArea
|
|
12
|
+
export { ScrollArea$1 as ScrollArea };
|
|
13
13
|
//# sourceMappingURL=ScrollArea.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollArea.d.cts","names":[],"sources":["../../src/components/ScrollArea.tsx"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"ScrollArea.d.cts","names":[],"sources":["../../src/components/ScrollArea.tsx"],"mappings":";;;;;;;;iBAUgB,eAAa,WAAW,aAAa,SAAS,sBAAsB,WAAoB,wBAAK,IAAA;wBAY7F,YACd,WACA,gBACG,SACF,sBAAsB,WAAoB,uCAAoB,IAAA"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/components/SectionLabel.d.ts
|
|
3
3
|
/** The tiny tracked-out caps that head every cockpit section (SESSIONS, ACTIVITY, MINOR MODES). */
|
|
4
|
-
declare function SectionLabel({ className, ...props }: ComponentProps<'span'>): import("react
|
|
4
|
+
export declare function SectionLabel({ className, ...props }: ComponentProps<'span'>): import("react").JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { SectionLabel };
|
|
7
6
|
//# sourceMappingURL=SectionLabel.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionLabel.d.cts","names":[],"sources":["../../src/components/SectionLabel.tsx"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"SectionLabel.d.cts","names":[],"sources":["../../src/components/SectionLabel.tsx"],"mappings":";;;wBAKgB,eAAe,cAAc,SAAS,yCAAsB,IAAA"}
|
|
@@ -6,14 +6,14 @@ import { ComponentProps } from "react";
|
|
|
6
6
|
* native one cannot be styled to the palette on every platform, and the
|
|
7
7
|
* cockpit's model and mode pickers need the same surface a popover has.
|
|
8
8
|
*/
|
|
9
|
-
declare function Select$1(props: ComponentProps<typeof Select.Root>): import("react
|
|
10
|
-
declare function SelectGroup(props: ComponentProps<typeof Select.Group>): import("react
|
|
11
|
-
declare function SelectValue(props: ComponentProps<typeof Select.Value>): import("react
|
|
12
|
-
declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select.Trigger>): import("react
|
|
13
|
-
declare function SelectContent({ className, position, sideOffset, children, ...props }: ComponentProps<typeof Select.Content>): import("react
|
|
14
|
-
declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select.Label>): import("react
|
|
15
|
-
declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select.Item>): import("react
|
|
16
|
-
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select.Separator>): import("react
|
|
9
|
+
declare function Select$1(props: ComponentProps<typeof Select.Root>): import("react").JSX.Element;
|
|
10
|
+
export declare function SelectGroup(props: ComponentProps<typeof Select.Group>): import("react").JSX.Element;
|
|
11
|
+
export declare function SelectValue(props: ComponentProps<typeof Select.Value>): import("react").JSX.Element;
|
|
12
|
+
export declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select.Trigger>): import("react").JSX.Element;
|
|
13
|
+
export declare function SelectContent({ className, position, sideOffset, children, ...props }: ComponentProps<typeof Select.Content>): import("react").JSX.Element;
|
|
14
|
+
export declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select.Label>): import("react").JSX.Element;
|
|
15
|
+
export declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select.Item>): import("react").JSX.Element;
|
|
16
|
+
export declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select.Separator>): import("react").JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { Select$1 as Select
|
|
18
|
+
export { Select$1 as Select };
|
|
19
19
|
//# sourceMappingURL=Select.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.cts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"Select.d.cts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;;;;;;;iBAWgB,SAAO,OAAO,sBAAsB,OAAgB,wBAAK,IAAA;wBAIzD,YAAY,OAAO,sBAAsB,OAAgB,yBAAM,IAAA;wBAI/D,YAAY,OAAO,sBAAsB,OAAgB,yBAAM,IAAA;wBAI/D,gBAAgB,WAAW,aAAa,SAAS,sBAAsB,OAAgB,2BAAQ,IAAA;wBAkB/F,gBACd,WACA,UACA,YACA,aACG,SACF,sBAAsB,OAAgB,2BAAQ,IAAA;wBAmBjC,cAAc,cAAc,SAAS,sBAAsB,OAAgB,yBAAM,IAAA;wBAUjF,aAAa,WAAW,aAAa,SAAS,sBAAsB,OAAgB,wBAAK,IAAA;wBAoBzF,kBAAkB,cAAc,SAAS,sBAAsB,OAAgB,6BAAU,IAAA"}
|
|
@@ -7,7 +7,7 @@ import { ComponentProps } from "react";
|
|
|
7
7
|
* separator role, and either way the element carries `data-orientation` so a
|
|
8
8
|
* consumer can style around it the way it does every other primitive.
|
|
9
9
|
*/
|
|
10
|
-
declare function Separator$1({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator.Root>): import("react
|
|
10
|
+
declare function Separator$1({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator.Root>): import("react").JSX.Element;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { Separator$1 as Separator };
|
|
13
13
|
//# sourceMappingURL=Separator.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Separator.d.cts","names":[],"sources":["../../src/components/Separator.tsx"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"Separator.d.cts","names":[],"sources":["../../src/components/Separator.tsx"],"mappings":";;;;;;;;;iBAWgB,cACd,WACA,aACA,eACG,SACF,sBAAsB,UAAmB,wBAAK,IAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Dialog } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Sheet.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A side panel on Radix's Dialog: an overlay that slides in from an edge,
|
|
6
|
+
* with the focus trap, Escape, outside click and scroll lock a dialog has.
|
|
7
|
+
*
|
|
8
|
+
* It is the Dialog for content that reads as a column rather than a form: a
|
|
9
|
+
* detail view beside what the reader was looking at. An inline aside cannot
|
|
10
|
+
* do this, because it takes width from the surface underneath it.
|
|
11
|
+
*/
|
|
12
|
+
export declare function Sheet(props: ComponentProps<typeof Dialog.Root>): import("react").JSX.Element;
|
|
13
|
+
export declare function SheetTrigger(props: ComponentProps<typeof Dialog.Trigger>): import("react").JSX.Element;
|
|
14
|
+
export declare function SheetClose(props: ComponentProps<typeof Dialog.Close>): import("react").JSX.Element;
|
|
15
|
+
export declare function SheetOverlay({ className, ...props }: ComponentProps<typeof Dialog.Overlay>): import("react").JSX.Element;
|
|
16
|
+
export interface SheetContentProps extends ComponentProps<typeof Dialog.Content> {
|
|
17
|
+
/** Which edge it comes from. */
|
|
18
|
+
side?: 'right' | 'left';
|
|
19
|
+
/** Width preset; `className` may still override. */
|
|
20
|
+
width?: 'sm' | 'md' | 'lg';
|
|
21
|
+
}
|
|
22
|
+
export declare function SheetContent({ className, children, side, width, ...props }: SheetContentProps): import("react").JSX.Element;
|
|
23
|
+
export interface SheetHeaderProps extends ComponentProps<'div'> {
|
|
24
|
+
/** Show the close control at the right of the strip. On by default: a sheet is dismissed, not answered. */
|
|
25
|
+
dismissible?: boolean;
|
|
26
|
+
/** What the close control announces. */
|
|
27
|
+
closeLabel?: string;
|
|
28
|
+
}
|
|
29
|
+
export declare function SheetHeader({ className, dismissible, closeLabel, children, ...props }: SheetHeaderProps): import("react").JSX.Element;
|
|
30
|
+
export declare function SheetTitle({ className, ...props }: ComponentProps<typeof Dialog.Title>): import("react").JSX.Element;
|
|
31
|
+
export declare function SheetDescription({ className, ...props }: ComponentProps<typeof Dialog.Description>): import("react").JSX.Element;
|
|
32
|
+
export declare function SheetBody({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
33
|
+
export declare function SheetFooter({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
//# sourceMappingURL=Sheet.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sheet.d.cts","names":[],"sources":["../../src/components/Sheet.tsx"],"mappings":";;;;;;;;;;;wBAegB,MAAM,OAAO,sBAAsB,OAAe,wBAAK,IAAA;wBAIvD,aAAa,OAAO,sBAAsB,OAAe,2BAAQ,IAAA;wBAIjE,WAAW,OAAO,sBAAsB,OAAe,yBAAM,IAAA;wBAI7D,eAAe,cAAc,SAAS,sBAAsB,OAAe,2BAAQ,IAAA;iBAelF,0BAA0B,sBAAsB,OAAe;;EAE9E;;EAEA;;wBAKc,eAAe,WAAW,UAAU,MAAgB,UAAiB,SAAS,oCAAiB,IAAA;iBAqB9F,yBAAyB;;EAExC;;EAEA;;wBAGc,cACd,WACA,aACA,YACA,aACG,SACF,mCAAgB,IAAA;wBAmBH,aAAa,cAAc,SAAS,sBAAsB,OAAe,yBAAM,IAAA;wBAU/E,mBAAmB,cAAc,SAAS,sBAAsB,OAAe,+BAAY,IAAA;wBAU3F,YAAY,cAAc,SAAS,wCAAqB,IAAA;wBAUxD,cAAc,cAAc,SAAS,wCAAqB,IAAA"}
|
|
@@ -5,7 +5,6 @@ import { ComponentProps } from "react";
|
|
|
5
5
|
* is a pulsing block, and it is aria-hidden because the live region that
|
|
6
6
|
* announces the wait belongs to the surface, not to each placeholder.
|
|
7
7
|
*/
|
|
8
|
-
declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react
|
|
8
|
+
export declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { Skeleton };
|
|
11
10
|
//# sourceMappingURL=Skeleton.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.cts","names":[],"sources":["../../src/components/Skeleton.tsx"],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Skeleton.d.cts","names":[],"sources":["../../src/components/Skeleton.tsx"],"mappings":";;;;;;;wBASgB,WAAW,cAAc,SAAS,wCAAqB,IAAA"}
|