@agimon-ai/doompi-web-components 0.0.1-alpha.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/LICENSE +22 -0
- package/README.md +106 -0
- package/dist/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/components/Accordion.d.cts +11 -0
- package/dist/components/Accordion.d.cts.map +1 -0
- package/dist/components/Avatar.d.cts +10 -0
- package/dist/components/Avatar.d.cts.map +1 -0
- package/dist/components/Badge.d.cts +18 -0
- package/dist/components/Badge.d.cts.map +1 -0
- package/dist/components/Button.d.cts +25 -0
- package/dist/components/Button.d.cts.map +1 -0
- package/dist/components/Checkbox.d.cts +8 -0
- package/dist/components/Checkbox.d.cts.map +1 -0
- package/dist/components/Collapsible.d.cts +10 -0
- package/dist/components/Collapsible.d.cts.map +1 -0
- package/dist/components/Command.d.cts +42 -0
- package/dist/components/Command.d.cts.map +1 -0
- package/dist/components/Dialog.d.cts +39 -0
- package/dist/components/Dialog.d.cts.map +1 -0
- package/dist/components/Dot.d.cts +16 -0
- package/dist/components/Dot.d.cts.map +1 -0
- package/dist/components/DropdownMenu.d.cts +34 -0
- package/dist/components/DropdownMenu.d.cts.map +1 -0
- package/dist/components/EmptyState.d.cts +18 -0
- package/dist/components/EmptyState.d.cts.map +1 -0
- package/dist/components/Input.d.cts +20 -0
- package/dist/components/Input.d.cts.map +1 -0
- package/dist/components/Kbd.d.cts +7 -0
- package/dist/components/Kbd.d.cts.map +1 -0
- package/dist/components/Label.d.cts +8 -0
- package/dist/components/Label.d.cts.map +1 -0
- package/dist/components/Markdown.d.cts +8 -0
- package/dist/components/Markdown.d.cts.map +1 -0
- package/dist/components/MessageItem.d.cts +71 -0
- package/dist/components/MessageItem.d.cts.map +1 -0
- package/dist/components/MessageLines.d.cts +24 -0
- package/dist/components/MessageLines.d.cts.map +1 -0
- package/dist/components/OptionList.d.cts +50 -0
- package/dist/components/OptionList.d.cts.map +1 -0
- package/dist/components/Panel.d.cts +15 -0
- package/dist/components/Panel.d.cts.map +1 -0
- package/dist/components/Popover.d.cts +19 -0
- package/dist/components/Popover.d.cts.map +1 -0
- package/dist/components/Progress.d.cts +8 -0
- package/dist/components/Progress.d.cts.map +1 -0
- package/dist/components/RadioGroup.d.cts +15 -0
- package/dist/components/RadioGroup.d.cts.map +1 -0
- package/dist/components/ScrollArea.d.cts +13 -0
- package/dist/components/ScrollArea.d.cts.map +1 -0
- package/dist/components/SectionLabel.d.cts +7 -0
- package/dist/components/SectionLabel.d.cts.map +1 -0
- package/dist/components/Select.d.cts +19 -0
- package/dist/components/Select.d.cts.map +1 -0
- package/dist/components/Separator.d.cts +13 -0
- package/dist/components/Separator.d.cts.map +1 -0
- package/dist/components/Skeleton.d.cts +11 -0
- package/dist/components/Skeleton.d.cts.map +1 -0
- package/dist/components/Spinner.d.cts +15 -0
- package/dist/components/Spinner.d.cts.map +1 -0
- package/dist/components/StatusBadge.d.cts +24 -0
- package/dist/components/StatusBadge.d.cts.map +1 -0
- package/dist/components/StreamCursor.d.cts +7 -0
- package/dist/components/StreamCursor.d.cts.map +1 -0
- package/dist/components/Switch.d.cts +8 -0
- package/dist/components/Switch.d.cts.map +1 -0
- package/dist/components/Tabs.d.cts +36 -0
- package/dist/components/Tabs.d.cts.map +1 -0
- package/dist/components/Textarea.d.cts +10 -0
- package/dist/components/Textarea.d.cts.map +1 -0
- package/dist/components/Toast.d.cts +24 -0
- package/dist/components/Toast.d.cts.map +1 -0
- package/dist/components/Tooltip.d.cts +11 -0
- package/dist/components/Tooltip.d.cts.map +1 -0
- package/dist/icons/icons.d.cts +2 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.cts +42 -0
- package/dist/index.d.mts +42 -0
- package/dist/index.mjs +1 -0
- package/dist/lib/cn.d.cts +7 -0
- package/dist/lib/cn.d.cts.map +1 -0
- package/dist/lib/collapse.d.cts +15 -0
- package/dist/lib/collapse.d.cts.map +1 -0
- package/dist/lib/optionList.d.cts +22 -0
- package/dist/lib/optionList.d.cts.map +1 -0
- package/dist/lib/tone.d.cts +26 -0
- package/dist/lib/tone.d.cts.map +1 -0
- package/dist/src/components/Accordion.cjs +2 -0
- package/dist/src/components/Accordion.cjs.map +1 -0
- package/dist/src/components/Accordion.d.mts +11 -0
- package/dist/src/components/Accordion.d.mts.map +1 -0
- package/dist/src/components/Accordion.mjs +2 -0
- package/dist/src/components/Accordion.mjs.map +1 -0
- package/dist/src/components/Avatar.cjs +2 -0
- package/dist/src/components/Avatar.cjs.map +1 -0
- package/dist/src/components/Avatar.d.mts +10 -0
- package/dist/src/components/Avatar.d.mts.map +1 -0
- package/dist/src/components/Avatar.mjs +2 -0
- package/dist/src/components/Avatar.mjs.map +1 -0
- package/dist/src/components/Badge.cjs +2 -0
- package/dist/src/components/Badge.cjs.map +1 -0
- package/dist/src/components/Badge.d.mts +18 -0
- package/dist/src/components/Badge.d.mts.map +1 -0
- package/dist/src/components/Badge.mjs +2 -0
- package/dist/src/components/Badge.mjs.map +1 -0
- package/dist/src/components/Button.cjs +2 -0
- package/dist/src/components/Button.cjs.map +1 -0
- package/dist/src/components/Button.d.mts +25 -0
- package/dist/src/components/Button.d.mts.map +1 -0
- package/dist/src/components/Button.mjs +2 -0
- package/dist/src/components/Button.mjs.map +1 -0
- package/dist/src/components/Checkbox.cjs +2 -0
- package/dist/src/components/Checkbox.cjs.map +1 -0
- package/dist/src/components/Checkbox.d.mts +8 -0
- package/dist/src/components/Checkbox.d.mts.map +1 -0
- package/dist/src/components/Checkbox.mjs +2 -0
- package/dist/src/components/Checkbox.mjs.map +1 -0
- package/dist/src/components/Collapsible.cjs +2 -0
- package/dist/src/components/Collapsible.cjs.map +1 -0
- package/dist/src/components/Collapsible.d.mts +10 -0
- package/dist/src/components/Collapsible.d.mts.map +1 -0
- package/dist/src/components/Collapsible.mjs +2 -0
- package/dist/src/components/Collapsible.mjs.map +1 -0
- package/dist/src/components/Command.cjs +2 -0
- package/dist/src/components/Command.cjs.map +1 -0
- package/dist/src/components/Command.d.mts +42 -0
- package/dist/src/components/Command.d.mts.map +1 -0
- package/dist/src/components/Command.mjs +2 -0
- package/dist/src/components/Command.mjs.map +1 -0
- package/dist/src/components/Dialog.cjs +2 -0
- package/dist/src/components/Dialog.cjs.map +1 -0
- package/dist/src/components/Dialog.d.mts +39 -0
- package/dist/src/components/Dialog.d.mts.map +1 -0
- package/dist/src/components/Dialog.mjs +2 -0
- package/dist/src/components/Dialog.mjs.map +1 -0
- package/dist/src/components/Dot.cjs +2 -0
- package/dist/src/components/Dot.cjs.map +1 -0
- package/dist/src/components/Dot.d.mts +16 -0
- package/dist/src/components/Dot.d.mts.map +1 -0
- package/dist/src/components/Dot.mjs +2 -0
- package/dist/src/components/Dot.mjs.map +1 -0
- package/dist/src/components/DropdownMenu.cjs +2 -0
- package/dist/src/components/DropdownMenu.cjs.map +1 -0
- package/dist/src/components/DropdownMenu.d.mts +34 -0
- package/dist/src/components/DropdownMenu.d.mts.map +1 -0
- package/dist/src/components/DropdownMenu.mjs +2 -0
- package/dist/src/components/DropdownMenu.mjs.map +1 -0
- package/dist/src/components/EmptyState.cjs +2 -0
- package/dist/src/components/EmptyState.cjs.map +1 -0
- package/dist/src/components/EmptyState.d.mts +18 -0
- package/dist/src/components/EmptyState.d.mts.map +1 -0
- package/dist/src/components/EmptyState.mjs +2 -0
- package/dist/src/components/EmptyState.mjs.map +1 -0
- package/dist/src/components/Input.cjs +2 -0
- package/dist/src/components/Input.cjs.map +1 -0
- package/dist/src/components/Input.d.mts +20 -0
- package/dist/src/components/Input.d.mts.map +1 -0
- package/dist/src/components/Input.mjs +2 -0
- package/dist/src/components/Input.mjs.map +1 -0
- package/dist/src/components/Kbd.cjs +2 -0
- package/dist/src/components/Kbd.cjs.map +1 -0
- package/dist/src/components/Kbd.d.mts +7 -0
- package/dist/src/components/Kbd.d.mts.map +1 -0
- package/dist/src/components/Kbd.mjs +2 -0
- package/dist/src/components/Kbd.mjs.map +1 -0
- package/dist/src/components/Label.cjs +2 -0
- package/dist/src/components/Label.cjs.map +1 -0
- package/dist/src/components/Label.d.mts +8 -0
- package/dist/src/components/Label.d.mts.map +1 -0
- package/dist/src/components/Label.mjs +2 -0
- package/dist/src/components/Label.mjs.map +1 -0
- package/dist/src/components/Markdown.cjs +2 -0
- package/dist/src/components/Markdown.cjs.map +1 -0
- package/dist/src/components/Markdown.d.mts +8 -0
- package/dist/src/components/Markdown.d.mts.map +1 -0
- package/dist/src/components/Markdown.mjs +2 -0
- package/dist/src/components/Markdown.mjs.map +1 -0
- package/dist/src/components/MessageItem.cjs +2 -0
- package/dist/src/components/MessageItem.cjs.map +1 -0
- package/dist/src/components/MessageItem.d.mts +71 -0
- package/dist/src/components/MessageItem.d.mts.map +1 -0
- package/dist/src/components/MessageItem.mjs +2 -0
- package/dist/src/components/MessageItem.mjs.map +1 -0
- package/dist/src/components/MessageLines.cjs +2 -0
- package/dist/src/components/MessageLines.cjs.map +1 -0
- package/dist/src/components/MessageLines.d.mts +24 -0
- package/dist/src/components/MessageLines.d.mts.map +1 -0
- package/dist/src/components/MessageLines.mjs +2 -0
- package/dist/src/components/MessageLines.mjs.map +1 -0
- package/dist/src/components/OptionList.cjs +2 -0
- package/dist/src/components/OptionList.cjs.map +1 -0
- package/dist/src/components/OptionList.d.mts +50 -0
- package/dist/src/components/OptionList.d.mts.map +1 -0
- package/dist/src/components/OptionList.mjs +2 -0
- package/dist/src/components/OptionList.mjs.map +1 -0
- package/dist/src/components/Panel.cjs +2 -0
- package/dist/src/components/Panel.cjs.map +1 -0
- package/dist/src/components/Panel.d.mts +15 -0
- package/dist/src/components/Panel.d.mts.map +1 -0
- package/dist/src/components/Panel.mjs +2 -0
- package/dist/src/components/Panel.mjs.map +1 -0
- package/dist/src/components/Popover.cjs +2 -0
- package/dist/src/components/Popover.cjs.map +1 -0
- package/dist/src/components/Popover.d.mts +19 -0
- package/dist/src/components/Popover.d.mts.map +1 -0
- package/dist/src/components/Popover.mjs +2 -0
- package/dist/src/components/Popover.mjs.map +1 -0
- package/dist/src/components/Progress.cjs +2 -0
- package/dist/src/components/Progress.cjs.map +1 -0
- package/dist/src/components/Progress.d.mts +8 -0
- package/dist/src/components/Progress.d.mts.map +1 -0
- package/dist/src/components/Progress.mjs +2 -0
- package/dist/src/components/Progress.mjs.map +1 -0
- package/dist/src/components/RadioGroup.cjs +2 -0
- package/dist/src/components/RadioGroup.cjs.map +1 -0
- package/dist/src/components/RadioGroup.d.mts +15 -0
- package/dist/src/components/RadioGroup.d.mts.map +1 -0
- package/dist/src/components/RadioGroup.mjs +2 -0
- package/dist/src/components/RadioGroup.mjs.map +1 -0
- package/dist/src/components/ScrollArea.cjs +2 -0
- package/dist/src/components/ScrollArea.cjs.map +1 -0
- package/dist/src/components/ScrollArea.d.mts +13 -0
- package/dist/src/components/ScrollArea.d.mts.map +1 -0
- package/dist/src/components/ScrollArea.mjs +2 -0
- package/dist/src/components/ScrollArea.mjs.map +1 -0
- package/dist/src/components/SectionLabel.cjs +2 -0
- package/dist/src/components/SectionLabel.cjs.map +1 -0
- package/dist/src/components/SectionLabel.d.mts +7 -0
- package/dist/src/components/SectionLabel.d.mts.map +1 -0
- package/dist/src/components/SectionLabel.mjs +2 -0
- package/dist/src/components/SectionLabel.mjs.map +1 -0
- package/dist/src/components/Select.cjs +2 -0
- package/dist/src/components/Select.cjs.map +1 -0
- package/dist/src/components/Select.d.mts +19 -0
- package/dist/src/components/Select.d.mts.map +1 -0
- package/dist/src/components/Select.mjs +2 -0
- package/dist/src/components/Select.mjs.map +1 -0
- package/dist/src/components/Separator.cjs +2 -0
- package/dist/src/components/Separator.cjs.map +1 -0
- package/dist/src/components/Separator.d.mts +13 -0
- package/dist/src/components/Separator.d.mts.map +1 -0
- package/dist/src/components/Separator.mjs +2 -0
- package/dist/src/components/Separator.mjs.map +1 -0
- package/dist/src/components/Skeleton.cjs +2 -0
- package/dist/src/components/Skeleton.cjs.map +1 -0
- package/dist/src/components/Skeleton.d.mts +11 -0
- package/dist/src/components/Skeleton.d.mts.map +1 -0
- package/dist/src/components/Skeleton.mjs +2 -0
- package/dist/src/components/Skeleton.mjs.map +1 -0
- package/dist/src/components/Spinner.cjs +2 -0
- package/dist/src/components/Spinner.cjs.map +1 -0
- package/dist/src/components/Spinner.d.mts +15 -0
- package/dist/src/components/Spinner.d.mts.map +1 -0
- package/dist/src/components/Spinner.mjs +2 -0
- package/dist/src/components/Spinner.mjs.map +1 -0
- package/dist/src/components/StatusBadge.cjs +2 -0
- package/dist/src/components/StatusBadge.cjs.map +1 -0
- package/dist/src/components/StatusBadge.d.mts +24 -0
- package/dist/src/components/StatusBadge.d.mts.map +1 -0
- package/dist/src/components/StatusBadge.mjs +2 -0
- package/dist/src/components/StatusBadge.mjs.map +1 -0
- package/dist/src/components/StreamCursor.cjs +2 -0
- package/dist/src/components/StreamCursor.cjs.map +1 -0
- package/dist/src/components/StreamCursor.d.mts +7 -0
- package/dist/src/components/StreamCursor.d.mts.map +1 -0
- package/dist/src/components/StreamCursor.mjs +2 -0
- package/dist/src/components/StreamCursor.mjs.map +1 -0
- package/dist/src/components/Switch.cjs +2 -0
- package/dist/src/components/Switch.cjs.map +1 -0
- package/dist/src/components/Switch.d.mts +8 -0
- package/dist/src/components/Switch.d.mts.map +1 -0
- package/dist/src/components/Switch.mjs +2 -0
- package/dist/src/components/Switch.mjs.map +1 -0
- package/dist/src/components/Tabs.cjs +2 -0
- package/dist/src/components/Tabs.cjs.map +1 -0
- package/dist/src/components/Tabs.d.mts +36 -0
- package/dist/src/components/Tabs.d.mts.map +1 -0
- package/dist/src/components/Tabs.mjs +2 -0
- package/dist/src/components/Tabs.mjs.map +1 -0
- package/dist/src/components/Textarea.cjs +2 -0
- package/dist/src/components/Textarea.cjs.map +1 -0
- package/dist/src/components/Textarea.d.mts +10 -0
- package/dist/src/components/Textarea.d.mts.map +1 -0
- package/dist/src/components/Textarea.mjs +2 -0
- package/dist/src/components/Textarea.mjs.map +1 -0
- package/dist/src/components/Toast.cjs +2 -0
- package/dist/src/components/Toast.cjs.map +1 -0
- package/dist/src/components/Toast.d.mts +24 -0
- package/dist/src/components/Toast.d.mts.map +1 -0
- package/dist/src/components/Toast.mjs +2 -0
- package/dist/src/components/Toast.mjs.map +1 -0
- package/dist/src/components/Tooltip.cjs +2 -0
- package/dist/src/components/Tooltip.cjs.map +1 -0
- package/dist/src/components/Tooltip.d.mts +11 -0
- package/dist/src/components/Tooltip.d.mts.map +1 -0
- package/dist/src/components/Tooltip.mjs +2 -0
- package/dist/src/components/Tooltip.mjs.map +1 -0
- package/dist/src/icons/icons.cjs +1 -0
- package/dist/src/icons/icons.d.mts +2 -0
- package/dist/src/icons/icons.mjs +1 -0
- package/dist/src/lib/cn.cjs +2 -0
- package/dist/src/lib/cn.cjs.map +1 -0
- package/dist/src/lib/cn.d.mts +7 -0
- package/dist/src/lib/cn.d.mts.map +1 -0
- package/dist/src/lib/cn.mjs +2 -0
- package/dist/src/lib/cn.mjs.map +1 -0
- package/dist/src/lib/collapse.cjs +2 -0
- package/dist/src/lib/collapse.cjs.map +1 -0
- package/dist/src/lib/collapse.d.mts +15 -0
- package/dist/src/lib/collapse.d.mts.map +1 -0
- package/dist/src/lib/collapse.mjs +2 -0
- package/dist/src/lib/collapse.mjs.map +1 -0
- package/dist/src/lib/optionList.cjs +2 -0
- package/dist/src/lib/optionList.cjs.map +1 -0
- package/dist/src/lib/optionList.d.mts +22 -0
- package/dist/src/lib/optionList.d.mts.map +1 -0
- package/dist/src/lib/optionList.mjs +2 -0
- package/dist/src/lib/optionList.mjs.map +1 -0
- package/dist/src/lib/tone.cjs +2 -0
- package/dist/src/lib/tone.cjs.map +1 -0
- package/dist/src/lib/tone.d.mts +26 -0
- package/dist/src/lib/tone.d.mts.map +1 -0
- package/dist/src/lib/tone.mjs +2 -0
- package/dist/src/lib/tone.mjs.map +1 -0
- package/dist/src/theme/apply.cjs +3 -0
- package/dist/src/theme/apply.cjs.map +1 -0
- package/dist/src/theme/apply.d.mts +26 -0
- package/dist/src/theme/apply.d.mts.map +1 -0
- package/dist/src/theme/apply.mjs +3 -0
- package/dist/src/theme/apply.mjs.map +1 -0
- package/dist/src/theme/builtinThemes.cjs +2 -0
- package/dist/src/theme/builtinThemes.cjs.map +1 -0
- package/dist/src/theme/builtinThemes.d.mts +12 -0
- package/dist/src/theme/builtinThemes.d.mts.map +1 -0
- package/dist/src/theme/builtinThemes.mjs +2 -0
- package/dist/src/theme/builtinThemes.mjs.map +1 -0
- package/dist/src/theme/derive.cjs +2 -0
- package/dist/src/theme/derive.cjs.map +1 -0
- package/dist/src/theme/derive.d.mts +15 -0
- package/dist/src/theme/derive.d.mts.map +1 -0
- package/dist/src/theme/derive.mjs +2 -0
- package/dist/src/theme/derive.mjs.map +1 -0
- package/dist/src/theme/parse.cjs +2 -0
- package/dist/src/theme/parse.cjs.map +1 -0
- package/dist/src/theme/parse.d.mts +11 -0
- package/dist/src/theme/parse.d.mts.map +1 -0
- package/dist/src/theme/parse.mjs +2 -0
- package/dist/src/theme/parse.mjs.map +1 -0
- package/dist/src/theme/piTheme.cjs +2 -0
- package/dist/src/theme/piTheme.cjs.map +1 -0
- package/dist/src/theme/piTheme.d.mts +20 -0
- package/dist/src/theme/piTheme.d.mts.map +1 -0
- package/dist/src/theme/piTheme.mjs +2 -0
- package/dist/src/theme/piTheme.mjs.map +1 -0
- package/dist/src/theme/preference.cjs +2 -0
- package/dist/src/theme/preference.cjs.map +1 -0
- package/dist/src/theme/preference.d.mts +16 -0
- package/dist/src/theme/preference.d.mts.map +1 -0
- package/dist/src/theme/preference.mjs +2 -0
- package/dist/src/theme/preference.mjs.map +1 -0
- package/dist/src/types/theme.cjs +2 -0
- package/dist/src/types/theme.cjs.map +1 -0
- package/dist/src/types/theme.d.mts +39 -0
- package/dist/src/types/theme.d.mts.map +1 -0
- package/dist/src/types/theme.mjs +2 -0
- package/dist/src/types/theme.mjs.map +1 -0
- package/dist/src/types/tone.cjs +2 -0
- package/dist/src/types/tone.cjs.map +1 -0
- package/dist/src/types/tone.d.mts +29 -0
- package/dist/src/types/tone.d.mts.map +1 -0
- package/dist/src/types/tone.mjs +2 -0
- package/dist/src/types/tone.mjs.map +1 -0
- package/dist/theme/apply.d.cts +26 -0
- package/dist/theme/apply.d.cts.map +1 -0
- package/dist/theme/builtinThemes.d.cts +12 -0
- package/dist/theme/builtinThemes.d.cts.map +1 -0
- package/dist/theme/derive.d.cts +15 -0
- package/dist/theme/derive.d.cts.map +1 -0
- package/dist/theme/parse.d.cts +11 -0
- package/dist/theme/parse.d.cts.map +1 -0
- package/dist/theme/piTheme.d.cts +20 -0
- package/dist/theme/piTheme.d.cts.map +1 -0
- package/dist/theme/preference.d.cts +16 -0
- package/dist/theme/preference.d.cts.map +1 -0
- package/dist/theme.cjs +1 -0
- package/dist/theme.d.cts +8 -0
- package/dist/theme.d.mts +8 -0
- package/dist/theme.mjs +1 -0
- package/dist/themes/doom-nord-dark.cjs +2 -0
- package/dist/themes/doom-nord-dark.cjs.map +1 -0
- package/dist/themes/doom-nord-dark.mjs +2 -0
- package/dist/themes/doom-nord-dark.mjs.map +1 -0
- package/dist/themes/doom-one-dark.cjs +2 -0
- package/dist/themes/doom-one-dark.cjs.map +1 -0
- package/dist/themes/doom-one-dark.mjs +2 -0
- package/dist/themes/doom-one-dark.mjs.map +1 -0
- package/dist/themes/doom-one-light.cjs +2 -0
- package/dist/themes/doom-one-light.cjs.map +1 -0
- package/dist/themes/doom-one-light.mjs +2 -0
- package/dist/themes/doom-one-light.mjs.map +1 -0
- package/dist/types/theme.d.cts +39 -0
- package/dist/types/theme.d.cts.map +1 -0
- package/dist/types/tone.d.cts +29 -0
- package/dist/types/tone.d.cts.map +1 -0
- package/llms.txt +8 -0
- package/package.json +95 -0
- package/styles/tokens.css +202 -0
- package/themes/doom-nord-dark.json +27 -0
- package/themes/doom-one-dark.json +39 -0
- package/themes/doom-one-light.json +27 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from "react";
|
|
2
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
|
+
//#region src/components/OptionList.d.ts
|
|
4
|
+
declare const optionListVariants: (props?: ({
|
|
5
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
6
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
7
|
+
declare const optionRowVariants: (props?: ({
|
|
8
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
9
|
+
active?: boolean | null | undefined;
|
|
10
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
|
+
declare const optionMarkerVariants: (props?: ({
|
|
12
|
+
density?: "comfortable" | "compact" | null | undefined;
|
|
13
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
14
|
+
interface OptionRowProps extends ComponentProps<'button'>, VariantProps<typeof optionRowVariants> {
|
|
15
|
+
/** The digit or bullet in the row's leading circle; omit it for a row with no shortcut. */
|
|
16
|
+
marker?: ReactNode;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* One row of an option list, exported on its own so a surface with richer
|
|
20
|
+
* rows than a plain string still wears the list's shape instead of restating
|
|
21
|
+
* it. Children render straight into the row, so a row is free to hold a name
|
|
22
|
+
* and a description side by side; OptionLabel is the single-string case.
|
|
23
|
+
* `role="option"` means a row belongs inside a `listbox`.
|
|
24
|
+
*/
|
|
25
|
+
declare function OptionRow({ className, density, active, marker, children, ...props }: OptionRowProps): import("react/jsx-runtime").JSX.Element;
|
|
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/jsx-runtime").JSX.Element;
|
|
28
|
+
interface OptionListProps extends Omit<ComponentProps<'div'>, 'onSelect'>, VariantProps<typeof optionListVariants> {
|
|
29
|
+
options: readonly string[];
|
|
30
|
+
/** The highlighted row, owned by the surface so its own focused element can drive it. */
|
|
31
|
+
cursor: number;
|
|
32
|
+
onCursorChange: (cursor: number) => void;
|
|
33
|
+
onSelect: (option: string) => void;
|
|
34
|
+
/** Rows are `${testIdPrefix}-${index}`; the list itself is the plural, so a prefix query for a row never catches it. */
|
|
35
|
+
testIdPrefix: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The answers a select surface offers, wherever it is framed.
|
|
39
|
+
*
|
|
40
|
+
* The agent decides how many options there are, and a real one runs past
|
|
41
|
+
* twenty, so the list cannot rely on the digit shortcuts alone. The cursor is
|
|
42
|
+
* controlled rather than owned here because the surface around it is what the
|
|
43
|
+
* overlay library focuses: keys arrive there, and taking focus away from it to
|
|
44
|
+
* a list would fight the library for it and break the escape and outside-click
|
|
45
|
+
* behaviour that focus carries. Pair it with handleOptionListKey.
|
|
46
|
+
*/
|
|
47
|
+
declare function OptionList({ className, options, cursor, onCursorChange, onSelect, testIdPrefix, density, ...props }: OptionListProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
//#endregion
|
|
49
|
+
export { OptionLabel, OptionList, OptionListProps, OptionRow, OptionRowProps, optionListVariants, optionMarkerVariants, optionRowVariants };
|
|
50
|
+
//# sourceMappingURL=OptionList.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionList.d.cts","names":[],"sources":["../../src/components/OptionList.tsx"],"mappings":";;;cAKa,qBAAkB;;6CAM7B;cAEW,oBAAiB;;;6CAc5B;cAEW,uBAAoB;;6CAQ/B;UAEe,uBAAuB,0BAA0B,oBAAoB;;EAEpF,SAAS;;;;;;;;;iBAUK,YAAY,WAAW,SAAS,QAAQ,QAAQ,aAAa,SAAS,6CAAc,IAAA;;iBAkBpF,cACd,WACA,YACG,SACF,yBAAyB,oBAAoB,kDAAmB,IAAA;UAclD,wBACP,KAAK,oCAAoC,oBAAoB;EACrE;;EAEA;EACA,iBAAiB;EACjB,WAAW;;EAEX;;;;;;;;;;;;iBAac,aACd,WACA,SACA,QACA,gBACA,UACA,cACA,YACG,SACF,8CAAe,IAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
//#region src/components/Panel.d.ts
|
|
3
|
+
interface PanelProps extends ComponentProps<'div'> {
|
|
4
|
+
/** Render the child element instead of a <div>, so a list row can be a panel. */
|
|
5
|
+
asChild?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** The bordered card surface: a tool card, a run card, a provider row. */
|
|
8
|
+
declare function Panel({ className, asChild, ...props }: PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/** A panel's title row. */
|
|
10
|
+
declare function PanelHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
/** A panel's recessed body: the deep well the header sits above. */
|
|
12
|
+
declare function PanelBody({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Panel, PanelBody, PanelHeader, PanelProps };
|
|
15
|
+
//# sourceMappingURL=Panel.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Panel.d.cts","names":[],"sources":["../../src/components/Panel.tsx"],"mappings":";;UAIiB,mBAAmB;;EAElC;;;iBAIc,QAAQ,WAAW,YAAoB,SAAS,yCAAU,IAAA;;iBAY1D,cAAc,cAAc,SAAS,oDAAqB,IAAA;;iBAO1D,YAAY,cAAc,SAAS,oDAAqB,IAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Popover } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Popover.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* shadcn's Popover on Radix: anchored to its trigger, closes on outside
|
|
6
|
+
* click and Escape, and the trigger toggles it rather than reopening it.
|
|
7
|
+
*/
|
|
8
|
+
declare function Popover$1(props: ComponentProps<typeof Popover.Root>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare function PopoverTrigger(props: ComponentProps<typeof Popover.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function PopoverAnchor(props: ComponentProps<typeof Popover.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
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/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: ComponentProps<typeof Popover.Content>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
/** The strip a popover's title sits in; tone colours the title. */
|
|
15
|
+
declare function PopoverHeader({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function PopoverFooter({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Popover$1 as Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger };
|
|
19
|
+
//# sourceMappingURL=Popover.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Popover.d.cts","names":[],"sources":["../../src/components/Popover.tsx"],"mappings":";;;;;;;iBAQgB,UAAQ,OAAO,sBAAsB,QAAiB,oCAAK,IAAA;iBAI3D,eAAe,OAAO,sBAAsB,QAAiB,uCAAQ,IAAA;iBAIrE,cAAc,OAAO,sBAAsB,QAAiB,sCAAO,IAAA;;iBAKnE,aAAa,OAAO,sBAAsB,QAAiB,qCAAM,IAAA;iBAIjE,iBACd,WACA,OACA,eACG,SACF,sBAAsB,QAAiB,uCAAQ,IAAA;;iBAkBlC,gBAAgB,cAAc,SAAS,oDAAqB,IAAA;iBAa5D,gBAAgB,cAAc,SAAS,oDAAqB,IAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Progress } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Progress.d.ts
|
|
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/jsx-runtime").JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { Progress$1 as Progress };
|
|
8
|
+
//# sourceMappingURL=Progress.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Progress.d.cts","names":[],"sources":["../../src/components/Progress.tsx"],"mappings":";;;;iBAKgB,aAAW,WAAW,UAAU,SAAS,sBAAsB,SAAkB,oCAAK,IAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RadioGroup } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/RadioGroup.d.ts
|
|
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/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
/**
|
|
8
|
+
* A whole card that is one radio choice: the theme picker, where the target is
|
|
9
|
+
* the preview rather than a dot. Radix keeps the roving focus and the checked
|
|
10
|
+
* state; the card supplies the frame.
|
|
11
|
+
*/
|
|
12
|
+
declare function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroup.Item>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { RadioGroup$1 as RadioGroup, RadioGroupCard, RadioGroupItem };
|
|
15
|
+
//# sourceMappingURL=RadioGroup.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioGroup.d.cts","names":[],"sources":["../../src/components/RadioGroup.tsx"],"mappings":";;;;iBAKgB,eAAa,cAAc,SAAS,sBAAsB,WAAoB,oCAAK,IAAA;iBAMnF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,oCAAK,IAAA;;;;;;iBAuBvF,iBAAiB,cAAc,SAAS,sBAAsB,WAAoB,oCAAK,IAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ScrollArea } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/ScrollArea.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A scroll container with a styled bar. The base stylesheet already themes
|
|
6
|
+
* the native scrollbar, so reach for this only where the bar must overlay the
|
|
7
|
+
* content or sit inside a rounded surface that clips it.
|
|
8
|
+
*/
|
|
9
|
+
declare function ScrollArea$1({ className, children, ...props }: ComponentProps<typeof ScrollArea.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function ScrollBar({ className, orientation, ...props }: ComponentProps<typeof ScrollArea.ScrollAreaScrollbar>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { ScrollArea$1 as ScrollArea, ScrollBar };
|
|
13
|
+
//# sourceMappingURL=ScrollArea.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollArea.d.cts","names":[],"sources":["../../src/components/ScrollArea.tsx"],"mappings":";;;;;;;;iBASgB,eAAa,WAAW,aAAa,SAAS,sBAAsB,WAAoB,oCAAK,IAAA;iBAY7F,YACd,WACA,gBACG,SACF,sBAAsB,WAAoB,mDAAoB,IAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
//#region src/components/SectionLabel.d.ts
|
|
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/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { SectionLabel };
|
|
7
|
+
//# sourceMappingURL=SectionLabel.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SectionLabel.d.cts","names":[],"sources":["../../src/components/SectionLabel.tsx"],"mappings":";;;iBAIgB,eAAe,cAAc,SAAS,qDAAsB,IAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Select } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Select.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A single choice from a list, on Radix rather than a native <select>: a
|
|
6
|
+
* native one cannot be styled to the palette on every platform, and the
|
|
7
|
+
* cockpit's model and mode pickers need the same surface a popover has.
|
|
8
|
+
*/
|
|
9
|
+
declare function Select$1(props: ComponentProps<typeof Select.Root>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare function SelectGroup(props: ComponentProps<typeof Select.Group>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare function SelectValue(props: ComponentProps<typeof Select.Value>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function SelectTrigger({ className, children, ...props }: ComponentProps<typeof Select.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare function SelectContent({ className, position, sideOffset, children, ...props }: ComponentProps<typeof Select.Content>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function SelectLabel({ className, ...props }: ComponentProps<typeof Select.Label>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function SelectItem({ className, children, ...props }: ComponentProps<typeof Select.Item>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function SelectSeparator({ className, ...props }: ComponentProps<typeof Select.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { Select$1 as Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue };
|
|
19
|
+
//# sourceMappingURL=Select.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.cts","names":[],"sources":["../../src/components/Select.tsx"],"mappings":";;;;;;;;iBAUgB,SAAO,OAAO,sBAAsB,OAAgB,oCAAK,IAAA;iBAIzD,YAAY,OAAO,sBAAsB,OAAgB,qCAAM,IAAA;iBAI/D,YAAY,OAAO,sBAAsB,OAAgB,qCAAM,IAAA;iBAI/D,gBAAgB,WAAW,aAAa,SAAS,sBAAsB,OAAgB,uCAAQ,IAAA;iBAkB/F,gBACd,WACA,UACA,YACA,aACG,SACF,sBAAsB,OAAgB,uCAAQ,IAAA;iBAmBjC,cAAc,cAAc,SAAS,sBAAsB,OAAgB,qCAAM,IAAA;iBAUjF,aAAa,WAAW,aAAa,SAAS,sBAAsB,OAAgB,oCAAK,IAAA;iBAoBzF,kBAAkB,cAAc,SAAS,sBAAsB,OAAgB,yCAAU,IAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Separator } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Separator.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* A hairline in the soft border colour. Radix decides the semantics: a
|
|
6
|
+
* decorative rule is hidden from assistive tech, a meaningful one keeps its
|
|
7
|
+
* separator role, and either way the element carries `data-orientation` so a
|
|
8
|
+
* consumer can style around it the way it does every other primitive.
|
|
9
|
+
*/
|
|
10
|
+
declare function Separator$1({ className, orientation, decorative, ...props }: ComponentProps<typeof Separator.Root>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Separator$1 as Separator };
|
|
13
|
+
//# sourceMappingURL=Separator.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Separator.d.cts","names":[],"sources":["../../src/components/Separator.tsx"],"mappings":";;;;;;;;;iBAUgB,cACd,WACA,aACA,eACG,SACF,sBAAsB,UAAmB,oCAAK,IAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
//#region src/components/Skeleton.d.ts
|
|
3
|
+
/**
|
|
4
|
+
* The shape of content that has not arrived. It has no Radix counterpart; it
|
|
5
|
+
* is a pulsing block, and it is aria-hidden because the live region that
|
|
6
|
+
* announces the wait belongs to the surface, not to each placeholder.
|
|
7
|
+
*/
|
|
8
|
+
declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Skeleton };
|
|
11
|
+
//# sourceMappingURL=Skeleton.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.cts","names":[],"sources":["../../src/components/Skeleton.tsx"],"mappings":";;;;;;;iBAQgB,WAAW,cAAc,SAAS,oDAAqB,IAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
//#region src/components/Spinner.d.ts
|
|
3
|
+
interface SpinnerProps extends ComponentProps<'svg'> {
|
|
4
|
+
/**
|
|
5
|
+
* What the wait is for. Given one, the spinner announces itself as a live
|
|
6
|
+
* status instead of staying silent, which is the difference between a
|
|
7
|
+
* screen reader saying "loading providers" and saying nothing at all.
|
|
8
|
+
*/
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
/** A turning loader in the current text colour; decorative unless it is given a label. */
|
|
12
|
+
declare function Spinner({ className, label, ...props }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { Spinner, SpinnerProps };
|
|
15
|
+
//# sourceMappingURL=Spinner.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.cts","names":[],"sources":["../../src/components/Spinner.tsx"],"mappings":";;UAIiB,qBAAqB;;;;;;EAMpC;;;iBAIc,UAAU,WAAW,UAAU,SAAS,2CAAY,IAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { StatusTone as StatusTone$1 } from "../types/tone.cjs";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/StatusBadge.d.ts
|
|
5
|
+
declare const statusBadgeVariants: (props?: ({
|
|
6
|
+
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
7
|
+
size?: "lg" | "md" | "sm" | "xs" | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
type StatusTone = StatusTone$1;
|
|
10
|
+
/**
|
|
11
|
+
* The border a card wears for a status, the same tint family as the badge.
|
|
12
|
+
* MessageItem builds its frame variants from this table, so a tone's edge is
|
|
13
|
+
* named once and a card and its badge can never disagree about it.
|
|
14
|
+
*/
|
|
15
|
+
declare const STATUS_EDGE: Readonly<Record<StatusTone, string>>;
|
|
16
|
+
interface StatusBadgeProps extends ComponentProps<'span'>, VariantProps<typeof statusBadgeVariants> {
|
|
17
|
+
/** Render the child element instead of a <span>, so a link can look like a pill. */
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** The tinted outcome pill: RUNNING, OK, ERROR and their kin, as every run card draws it. */
|
|
21
|
+
declare function StatusBadge({ className, tone, size, asChild, ...props }: StatusBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { STATUS_EDGE, StatusBadge, StatusBadgeProps, StatusTone, statusBadgeVariants };
|
|
24
|
+
//# sourceMappingURL=StatusBadge.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatusBadge.d.cts","names":[],"sources":["../../src/components/StatusBadge.tsx"],"mappings":";;;;cAMa,sBAAmB;;;6CAqB/B;KAEW,aAAa;;;;;;cAOZ,aAAa,SAAS,OAAO;UASzB,yBAAyB,wBAAwB,oBAAoB;;EAEpF;;;iBAIc,cAAc,WAAW,MAAM,MAAM,YAAoB,SAAS,+CAAgB,IAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps } from "react";
|
|
2
|
+
//#region src/components/StreamCursor.d.ts
|
|
3
|
+
/** The blinking block that marks text still arriving. */
|
|
4
|
+
declare function StreamCursor({ className, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { StreamCursor };
|
|
7
|
+
//# sourceMappingURL=StreamCursor.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StreamCursor.d.cts","names":[],"sources":["../../src/components/StreamCursor.tsx"],"mappings":";;;iBAIgB,eAAe,cAAc,SAAS,qDAAsB,IAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Switch } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Switch.d.ts
|
|
4
|
+
/** An on/off track; use it where the change takes effect immediately, a checkbox where it needs a save. */
|
|
5
|
+
declare function Switch$1({ className, ...props }: ComponentProps<typeof Switch.Root>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { Switch$1 as Switch };
|
|
8
|
+
//# sourceMappingURL=Switch.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Switch.d.cts","names":[],"sources":["../../src/components/Switch.tsx"],"mappings":";;;;iBAKgB,WAAS,cAAc,SAAS,sBAAsB,OAAgB,oCAAK,IAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Tabs } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/Tabs.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* The look a tab wears, whether Radix drives it or a router link does. It is
|
|
7
|
+
* exported because the cockpit's own tabs navigate routes rather than swap
|
|
8
|
+
* panels, and a link that looks like a tab must not be a second implementation.
|
|
9
|
+
*/
|
|
10
|
+
declare const tabVariants: (props?: ({
|
|
11
|
+
active?: boolean | null | undefined;
|
|
12
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
+
/** The count a tab carries; it inverts on the active tab so it stays readable on the tint. */
|
|
14
|
+
declare const tabBadgeVariants: (props?: ({
|
|
15
|
+
active?: boolean | null | undefined;
|
|
16
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
|
+
interface NavTabProps extends ComponentProps<'a'>, VariantProps<typeof tabVariants> {
|
|
18
|
+
/** Render the child element instead of an <a>, so a router Link can be the tab. */
|
|
19
|
+
asChild?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A tab that navigates. Radix Tabs owns panels and roving focus over content
|
|
23
|
+
* it renders; a route-driven tab strip has neither, so it gets the styling and
|
|
24
|
+
* leaves the semantics to the router.
|
|
25
|
+
*/
|
|
26
|
+
declare function NavTab({ className, active, asChild, ...props }: NavTabProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
/** The count beside a tab's label. */
|
|
28
|
+
declare function NavTabBadge({ className, active, ...props }: ComponentProps<'span'> & VariantProps<typeof tabBadgeVariants>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
/** Radix Tabs, for a surface that swaps panels in place rather than navigating. */
|
|
30
|
+
declare function Tabs$1(props: ComponentProps<typeof Tabs.Root>): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
declare function TabsList({ className, ...props }: ComponentProps<typeof Tabs.List>): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
declare function TabsTrigger({ className, ...props }: ComponentProps<typeof Tabs.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
declare function TabsContent({ className, ...props }: ComponentProps<typeof Tabs.Content>): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//#endregion
|
|
35
|
+
export { NavTab, NavTabBadge, NavTabProps, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, tabBadgeVariants, tabVariants };
|
|
36
|
+
//# sourceMappingURL=Tabs.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.cts","names":[],"sources":["../../src/components/Tabs.tsx"],"mappings":";;;;;;;;;cAWa,cAAW;;6CAWvB;;cAGY,mBAAgB;;6CAQ5B;UAEgB,oBAAoB,qBAAqB,oBAAoB;;EAE5E;;;;;;;iBAQc,SAAS,WAAW,QAAQ,YAAoB,SAAS,0CAAW,IAAA;;iBAapE,cACd,WACA,WACG,SACF,yBAAyB,oBAAoB,gDAAiB,IAAA;;iBAKjD,OAAK,OAAO,sBAAsB,KAAc,oCAAK,IAAA;iBAIrD,WAAW,cAAc,SAAS,sBAAsB,KAAc,oCAAK,IAAA;iBAI3E,cAAc,cAAc,SAAS,sBAAsB,KAAc,uCAAQ,IAAA;iBAcjF,cAAc,cAAc,SAAS,sBAAsB,KAAc,uCAAQ,IAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { fieldVariants } from "./Input.cjs";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/Textarea.d.ts
|
|
5
|
+
interface TextareaProps extends Omit<ComponentProps<'textarea'>, 'size'>, VariantProps<typeof fieldVariants> {}
|
|
6
|
+
/** The multi-line field, styled as the Input; `bare` drops the well for a composer that draws its own. */
|
|
7
|
+
declare function Textarea({ className, variant, size, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { Textarea, TextareaProps };
|
|
10
|
+
//# sourceMappingURL=Textarea.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Textarea.d.cts","names":[],"sources":["../../src/components/Textarea.tsx"],"mappings":";;;;UAKiB,sBAAsB,KAAK,qCAAqC,oBAAoB;;iBAGrF,WAAW,WAAW,SAAS,SAAS,SAAS,4CAAa,IAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Toast } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { VariantProps } from "class-variance-authority";
|
|
4
|
+
//#region src/components/Toast.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* A transient notice. Radix owns the part that is easy to get wrong: it
|
|
7
|
+
* announces through a live region, pauses its timer on hover and on window
|
|
8
|
+
* blur, and restores focus when it leaves. Mount one ToastProvider and one
|
|
9
|
+
* ToastViewport per page.
|
|
10
|
+
*/
|
|
11
|
+
declare function ToastProvider(props: ComponentProps<typeof Toast.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function ToastViewport({ className, ...props }: ComponentProps<typeof Toast.Viewport>): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const toastVariants: (props?: ({
|
|
14
|
+
tone?: "accent" | "error" | "info" | "neutral" | "ok" | "running" | null | undefined;
|
|
15
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
16
|
+
interface ToastProps extends ComponentProps<typeof Toast.Root>, VariantProps<typeof toastVariants> {}
|
|
17
|
+
declare function Toast$1({ className, tone, ...props }: ToastProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function ToastTitle({ className, ...props }: ComponentProps<typeof Toast.Title>): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
declare function ToastDescription({ className, ...props }: ComponentProps<typeof Toast.Description>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
declare function ToastAction(props: ComponentProps<typeof Toast.Action>): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
declare function ToastClose({ className, ...props }: ComponentProps<typeof Toast.Close>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { Toast$1 as Toast, ToastAction, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, toastVariants };
|
|
24
|
+
//# sourceMappingURL=Toast.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.cts","names":[],"sources":["../../src/components/Toast.tsx"],"mappings":";;;;;;;;;;iBAagB,cAAc,OAAO,sBAAsB,MAAe,wCAAS,IAAA;iBAInE,gBAAgB,cAAc,SAAS,sBAAsB,MAAe,wCAAS,IAAA;cAUxF,gBAAa;;6CAezB;UAEgB,mBAAmB,sBAAsB,MAAe,OAAO,oBAAoB;iBAEpF,UAAQ,WAAW,SAAS,SAAS,yCAAU,IAAA;iBAI/C,aAAa,cAAc,SAAS,sBAAsB,MAAe,qCAAM,IAAA;iBAU/E,mBAAmB,cAAc,SAAS,sBAAsB,MAAe,2CAAY,IAAA;iBAU3F,YAAY,OAAO,sBAAsB,MAAe,sCAAO,IAAA;iBAI/D,aAAa,cAAc,SAAS,sBAAsB,MAAe,qCAAM,IAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Tooltip } from "radix-ui";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
//#region src/components/Tooltip.d.ts
|
|
4
|
+
/** Mount once near the root; every Tooltip below shares its delay. */
|
|
5
|
+
declare function TooltipProvider({ delayDuration, ...props }: ComponentProps<typeof Tooltip.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function Tooltip$1(props: ComponentProps<typeof Tooltip.Root>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function TooltipTrigger(props: ComponentProps<typeof Tooltip.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: ComponentProps<typeof Tooltip.Content>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { Tooltip$1 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
11
|
+
//# sourceMappingURL=Tooltip.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.cts","names":[],"sources":["../../src/components/Tooltip.tsx"],"mappings":";;;;iBAKgB,kBAAkB,kBAAwB,SAAS,sBAAsB,QAAiB,wCAAS,IAAA;iBAInG,UAAQ,OAAO,sBAAsB,QAAiB,oCAAK,IAAA;iBAI3D,eAAe,OAAO,sBAAsB,QAAiB,uCAAQ,IAAA;iBAIrE,iBACd,WACA,YACA,aACG,SACF,sBAAsB,QAAiB,uCAAQ,IAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { Activity as ActivityIcon, Check as CheckIcon, ChevronDown as ChevronDownIcon, ChevronRight as ChevronRightIcon, ChevronUp as ChevronUpIcon, CircleAlert as AlertIcon, CornerDownLeft as EnterIcon, ExternalLink as ExternalLinkIcon, FileText as FileIcon, GitBranch as BranchIcon, Loader2 as LoaderIcon, MoreVertical as KebabIcon, Palette as PaletteIcon, Plus as PlusIcon, RefreshCw as RefreshIcon, Search as SearchIcon, Settings as GearIcon, ShieldCheck as ShieldIcon, Square as StopIcon, X as CloseIcon } from "lucide-react";
|
|
2
|
+
export { ActivityIcon, AlertIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, EnterIcon, ExternalLinkIcon, FileIcon, GearIcon, KebabIcon, LoaderIcon, PaletteIcon, PlusIcon, RefreshIcon, SearchIcon, ShieldIcon, StopIcon };
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require("./src/icons/icons.cjs");const e=require("./src/lib/cn.cjs"),t=require("./src/components/Accordion.cjs"),n=require("./src/components/Avatar.cjs"),r=require("./src/components/Badge.cjs"),i=require("./src/components/Spinner.cjs"),a=require("./src/components/Button.cjs"),o=require("./src/components/Dialog.cjs"),s=require("./src/components/Dot.cjs"),c=require("./src/components/DropdownMenu.cjs"),l=require("./src/components/Checkbox.cjs"),u=require("./src/components/Collapsible.cjs"),d=require("./src/components/Input.cjs"),f=require("./src/lib/optionList.cjs"),p=require("./src/components/OptionList.cjs"),m=require("./src/components/Command.cjs"),h=require("./src/components/EmptyState.cjs"),g=require("./src/components/Kbd.cjs"),_=require("./src/components/Label.cjs"),v=require("./src/components/Markdown.cjs"),y=require("./src/components/StatusBadge.cjs"),b=require("./src/components/MessageItem.cjs"),x=require("./src/components/MessageLines.cjs"),S=require("./src/components/Panel.cjs"),C=require("./src/components/Popover.cjs"),w=require("./src/components/Progress.cjs"),T=require("./src/components/RadioGroup.cjs"),E=require("./src/components/ScrollArea.cjs"),D=require("./src/components/SectionLabel.cjs"),O=require("./src/components/Select.cjs"),k=require("./src/components/Separator.cjs"),A=require("./src/components/Skeleton.cjs"),j=require("./src/components/StreamCursor.cjs"),M=require("./src/components/Switch.cjs"),N=require("./src/components/Tabs.cjs"),P=require("./src/components/Textarea.cjs"),F=require("./src/components/Toast.cjs"),I=require("./src/lib/collapse.cjs"),L=require("./src/lib/tone.cjs"),R=require("./src/types/tone.cjs"),z=require("./src/components/Tooltip.cjs");let B=require("lucide-react");exports.ACCENT_TONES=R.ACCENT_TONES,exports.Accordion=t.Accordion,exports.AccordionContent=t.AccordionContent,exports.AccordionItem=t.AccordionItem,exports.AccordionTrigger=t.AccordionTrigger,Object.defineProperty(exports,"ActivityIcon",{enumerable:!0,get:function(){return B.Activity}}),Object.defineProperty(exports,"AlertIcon",{enumerable:!0,get:function(){return B.CircleAlert}}),exports.Avatar=n.Avatar,exports.AvatarFallback=n.AvatarFallback,exports.AvatarImage=n.AvatarImage,exports.Badge=r.Badge,Object.defineProperty(exports,"BranchIcon",{enumerable:!0,get:function(){return B.GitBranch}}),exports.Button=a.Button,exports.CHIP_TONES=R.CHIP_TONES,exports.CHIP_TO_STATUS=L.CHIP_TO_STATUS,Object.defineProperty(exports,"CheckIcon",{enumerable:!0,get:function(){return B.Check}}),exports.Checkbox=l.Checkbox,Object.defineProperty(exports,"ChevronDownIcon",{enumerable:!0,get:function(){return B.ChevronDown}}),Object.defineProperty(exports,"ChevronRightIcon",{enumerable:!0,get:function(){return B.ChevronRight}}),Object.defineProperty(exports,"ChevronUpIcon",{enumerable:!0,get:function(){return B.ChevronUp}}),Object.defineProperty(exports,"CloseIcon",{enumerable:!0,get:function(){return B.X}}),exports.Collapsible=u.Collapsible,exports.CollapsibleContent=u.CollapsibleContent,exports.CollapsibleTrigger=u.CollapsibleTrigger,exports.CommandDialog=m.CommandDialog,exports.CommandEmpty=m.CommandEmpty,exports.CommandFooter=m.CommandFooter,exports.CommandGroup=m.CommandGroup,exports.CommandGroupLabel=m.CommandGroupLabel,exports.CommandHeader=m.CommandHeader,exports.CommandInput=m.CommandInput,exports.CommandItem=m.CommandItem,exports.CommandItemLabel=m.CommandItemLabel,exports.CommandList=m.CommandList,exports.DOT_TONES=R.DOT_TONES,exports.Dialog=o.Dialog,exports.DialogBody=o.DialogBody,exports.DialogClose=o.DialogClose,exports.DialogContent=o.DialogContent,exports.DialogDescription=o.DialogDescription,exports.DialogFooter=o.DialogFooter,exports.DialogHeader=o.DialogHeader,exports.DialogTitle=o.DialogTitle,exports.DialogTrigger=o.DialogTrigger,exports.Dot=s.Dot,exports.DropdownMenu=c.DropdownMenu,exports.DropdownMenuCheckboxItem=c.DropdownMenuCheckboxItem,exports.DropdownMenuContent=c.DropdownMenuContent,exports.DropdownMenuGroup=c.DropdownMenuGroup,exports.DropdownMenuItem=c.DropdownMenuItem,exports.DropdownMenuLabel=c.DropdownMenuLabel,exports.DropdownMenuRadioGroup=c.DropdownMenuRadioGroup,exports.DropdownMenuRadioItem=c.DropdownMenuRadioItem,exports.DropdownMenuSeparator=c.DropdownMenuSeparator,exports.DropdownMenuShortcut=c.DropdownMenuShortcut,exports.DropdownMenuSub=c.DropdownMenuSub,exports.DropdownMenuSubContent=c.DropdownMenuSubContent,exports.DropdownMenuSubTrigger=c.DropdownMenuSubTrigger,exports.DropdownMenuTrigger=c.DropdownMenuTrigger,exports.EmptyState=h.EmptyState,Object.defineProperty(exports,"EnterIcon",{enumerable:!0,get:function(){return B.CornerDownLeft}}),Object.defineProperty(exports,"ExternalLinkIcon",{enumerable:!0,get:function(){return B.ExternalLink}}),Object.defineProperty(exports,"FileIcon",{enumerable:!0,get:function(){return B.FileText}}),Object.defineProperty(exports,"GearIcon",{enumerable:!0,get:function(){return B.Settings}}),exports.Input=d.Input,exports.Kbd=g.Kbd,Object.defineProperty(exports,"KebabIcon",{enumerable:!0,get:function(){return B.MoreVertical}}),exports.LINE_TONE_TO_STATUS=L.LINE_TONE_TO_STATUS,exports.Label=_.Label,Object.defineProperty(exports,"LoaderIcon",{enumerable:!0,get:function(){return B.Loader2}}),exports.MAX_DIGIT_SHORTCUT=f.MAX_DIGIT_SHORTCUT,exports.MESSAGE_LINE_TONES=R.MESSAGE_LINE_TONES,exports.Markdown=v.Markdown,exports.MessageItem=b.MessageItem,exports.MessageItemBody=b.MessageItemBody,exports.MessageItemHeader=b.MessageItemHeader,exports.MessageItemStatus=b.MessageItemStatus,exports.MessageLines=x.MessageLines,exports.NavTab=N.NavTab,exports.NavTabBadge=N.NavTabBadge,exports.OptionLabel=p.OptionLabel,exports.OptionList=p.OptionList,exports.OptionRow=p.OptionRow,Object.defineProperty(exports,"PaletteIcon",{enumerable:!0,get:function(){return B.Palette}}),exports.Panel=S.Panel,exports.PanelBody=S.PanelBody,exports.PanelHeader=S.PanelHeader,Object.defineProperty(exports,"PlusIcon",{enumerable:!0,get:function(){return B.Plus}}),exports.Popover=C.Popover,exports.PopoverAnchor=C.PopoverAnchor,exports.PopoverClose=C.PopoverClose,exports.PopoverContent=C.PopoverContent,exports.PopoverFooter=C.PopoverFooter,exports.PopoverHeader=C.PopoverHeader,exports.PopoverTrigger=C.PopoverTrigger,exports.Progress=w.Progress,exports.RadioGroup=T.RadioGroup,exports.RadioGroupCard=T.RadioGroupCard,exports.RadioGroupItem=T.RadioGroupItem,Object.defineProperty(exports,"RefreshIcon",{enumerable:!0,get:function(){return B.RefreshCw}}),exports.STATUS_EDGE=y.STATUS_EDGE,exports.STATUS_GLYPH=b.STATUS_GLYPH,exports.STATUS_LABEL=b.STATUS_LABEL,exports.STATUS_TONES=R.STATUS_TONES,exports.STATUS_TO_CHIP=L.STATUS_TO_CHIP,exports.STATUS_TO_DOT=L.STATUS_TO_DOT,exports.ScrollArea=E.ScrollArea,exports.ScrollBar=E.ScrollBar,Object.defineProperty(exports,"SearchIcon",{enumerable:!0,get:function(){return B.Search}}),exports.SectionLabel=D.SectionLabel,exports.Select=O.Select,exports.SelectContent=O.SelectContent,exports.SelectGroup=O.SelectGroup,exports.SelectItem=O.SelectItem,exports.SelectLabel=O.SelectLabel,exports.SelectSeparator=O.SelectSeparator,exports.SelectTrigger=O.SelectTrigger,exports.SelectValue=O.SelectValue,exports.Separator=k.Separator,Object.defineProperty(exports,"ShieldIcon",{enumerable:!0,get:function(){return B.ShieldCheck}}),exports.Skeleton=A.Skeleton,exports.Spinner=i.Spinner,exports.StatusBadge=y.StatusBadge,Object.defineProperty(exports,"StopIcon",{enumerable:!0,get:function(){return B.Square}}),exports.StreamCursor=j.StreamCursor,exports.Switch=M.Switch,exports.Tabs=N.Tabs,exports.TabsContent=N.TabsContent,exports.TabsList=N.TabsList,exports.TabsTrigger=N.TabsTrigger,exports.Textarea=P.Textarea,exports.Toast=F.Toast,exports.ToastAction=F.ToastAction,exports.ToastClose=F.ToastClose,exports.ToastDescription=F.ToastDescription,exports.ToastProvider=F.ToastProvider,exports.ToastTitle=F.ToastTitle,exports.ToastViewport=F.ToastViewport,exports.Tooltip=z.Tooltip,exports.TooltipContent=z.TooltipContent,exports.TooltipProvider=z.TooltipProvider,exports.TooltipTrigger=z.TooltipTrigger,exports.badgeVariants=r.badgeVariants,exports.buttonVariants=a.buttonVariants,exports.cn=e.cn,exports.collapseLines=I.collapseLines,exports.dialogFooterVariants=o.dialogFooterVariants,exports.dotVariants=s.dotVariants,exports.dropdownMenuItemVariants=c.dropdownMenuItemVariants,exports.fieldVariants=d.fieldVariants,exports.handleOptionListKey=f.handleOptionListKey,exports.messageItemStatusVariants=b.messageItemStatusVariants,exports.messageItemVariants=b.messageItemVariants,exports.messageLineVariants=x.messageLineVariants,exports.optionListHint=f.optionListHint,exports.optionListVariants=p.optionListVariants,exports.optionMarker=f.optionMarker,exports.optionMarkerVariants=p.optionMarkerVariants,exports.optionRowVariants=p.optionRowVariants,exports.statusBadgeVariants=y.statusBadgeVariants,exports.tabBadgeVariants=N.tabBadgeVariants,exports.tabVariants=N.tabVariants,exports.toastVariants=F.toastVariants,exports.toolTone=b.toolTone,exports.useMessageItem=b.useMessageItem;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./components/Accordion.cjs";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./components/Avatar.cjs";
|
|
3
|
+
import { ACCENT_TONES, AccentTone, CHIP_TONES, ChipTone, DOT_TONES, MESSAGE_LINE_TONES, STATUS_TONES } from "./types/tone.cjs";
|
|
4
|
+
import { Badge, BadgeProps, BadgeTone, badgeVariants } from "./components/Badge.cjs";
|
|
5
|
+
import { Button, ButtonProps, ButtonSize, ButtonVariant, buttonVariants } from "./components/Button.cjs";
|
|
6
|
+
import { Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogTitle, DialogTrigger, dialogFooterVariants } from "./components/Dialog.cjs";
|
|
7
|
+
import { Dot, DotProps, DotTone, dotVariants } from "./components/Dot.cjs";
|
|
8
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, dropdownMenuItemVariants } from "./components/DropdownMenu.cjs";
|
|
9
|
+
import { Checkbox } from "./components/Checkbox.cjs";
|
|
10
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/Collapsible.cjs";
|
|
11
|
+
import { FieldSize, FieldVariant, Input, InputProps, fieldVariants } from "./components/Input.cjs";
|
|
12
|
+
import { OptionLabel, OptionList, OptionListProps, OptionRow, OptionRowProps, optionListVariants, optionMarkerVariants, optionRowVariants } from "./components/OptionList.cjs";
|
|
13
|
+
import { CommandDialog, CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandHeader, CommandInput, CommandItem, CommandItemLabel, CommandList } from "./components/Command.cjs";
|
|
14
|
+
import { EmptyState, EmptyStateProps } from "./components/EmptyState.cjs";
|
|
15
|
+
import { Kbd } from "./components/Kbd.cjs";
|
|
16
|
+
import { Label } from "./components/Label.cjs";
|
|
17
|
+
import { Markdown } from "./components/Markdown.cjs";
|
|
18
|
+
import { STATUS_EDGE, StatusBadge, StatusBadgeProps, StatusTone, statusBadgeVariants } from "./components/StatusBadge.cjs";
|
|
19
|
+
import { MessageItem, MessageItemBody, MessageItemHeader, MessageItemHeaderProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, messageItemStatusVariants, messageItemVariants, toolTone, useMessageItem } from "./components/MessageItem.cjs";
|
|
20
|
+
import { MessageLine, MessageLineTone, MessageLines, MessageLinesProps, messageLineVariants } from "./components/MessageLines.cjs";
|
|
21
|
+
import { Panel, PanelBody, PanelHeader, PanelProps } from "./components/Panel.cjs";
|
|
22
|
+
import { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger } from "./components/Popover.cjs";
|
|
23
|
+
import { Progress } from "./components/Progress.cjs";
|
|
24
|
+
import { RadioGroup, RadioGroupCard, RadioGroupItem } from "./components/RadioGroup.cjs";
|
|
25
|
+
import { ScrollArea, ScrollBar } from "./components/ScrollArea.cjs";
|
|
26
|
+
import { SectionLabel } from "./components/SectionLabel.cjs";
|
|
27
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./components/Select.cjs";
|
|
28
|
+
import { Separator } from "./components/Separator.cjs";
|
|
29
|
+
import { Skeleton } from "./components/Skeleton.cjs";
|
|
30
|
+
import { Spinner, SpinnerProps } from "./components/Spinner.cjs";
|
|
31
|
+
import { StreamCursor } from "./components/StreamCursor.cjs";
|
|
32
|
+
import { Switch } from "./components/Switch.cjs";
|
|
33
|
+
import { NavTab, NavTabBadge, NavTabProps, Tabs, TabsContent, TabsList, TabsTrigger, tabBadgeVariants, tabVariants } from "./components/Tabs.cjs";
|
|
34
|
+
import { Textarea, TextareaProps } from "./components/Textarea.cjs";
|
|
35
|
+
import { Toast, ToastAction, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, toastVariants } from "./components/Toast.cjs";
|
|
36
|
+
import { ActivityIcon, AlertIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, EnterIcon, ExternalLinkIcon, FileIcon, GearIcon, KebabIcon, LoaderIcon, PaletteIcon, PlusIcon, RefreshIcon, SearchIcon, ShieldIcon, StopIcon } from "./icons/icons.cjs";
|
|
37
|
+
import { cn } from "./lib/cn.cjs";
|
|
38
|
+
import { CollapsedLines, collapseLines } from "./lib/collapse.cjs";
|
|
39
|
+
import { MAX_DIGIT_SHORTCUT, handleOptionListKey, optionListHint, optionMarker } from "./lib/optionList.cjs";
|
|
40
|
+
import { CHIP_TO_STATUS, LINE_TONE_TO_STATUS, STATUS_TO_CHIP, STATUS_TO_DOT } from "./lib/tone.cjs";
|
|
41
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./components/Tooltip.cjs";
|
|
42
|
+
export { ACCENT_TONES, type AccentTone, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityIcon, AlertIcon, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeTone, BranchIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CHIP_TONES, CHIP_TO_STATUS, CheckIcon, Checkbox, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, type ChipTone, CloseIcon, type CollapsedLines, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandDialog, type CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandHeader, CommandInput, CommandItem, CommandItemLabel, CommandList, DOT_TONES, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogTitle, DialogTrigger, Dot, type DotProps, type DotTone, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EnterIcon, ExternalLinkIcon, type FieldSize, type FieldVariant, FileIcon, GearIcon, Input, type InputProps, Kbd, KebabIcon, LINE_TONE_TO_STATUS, Label, LoaderIcon, MAX_DIGIT_SHORTCUT, MESSAGE_LINE_TONES, Markdown, MessageItem, MessageItemBody, MessageItemHeader, type MessageItemHeaderProps, type MessageItemProps, type MessageItemState, MessageItemStatus, type MessageItemStatusProps, type MessageLine, type MessageLineTone, MessageLines, type MessageLinesProps, NavTab, NavTabBadge, type NavTabProps, OptionLabel, OptionList, type OptionListProps, OptionRow, type OptionRowProps, PaletteIcon, Panel, PanelBody, PanelHeader, type PanelProps, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, Progress, RadioGroup, RadioGroupCard, RadioGroupItem, RefreshIcon, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, STATUS_TONES, STATUS_TO_CHIP, STATUS_TO_DOT, ScrollArea, ScrollBar, SearchIcon, SectionLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ShieldIcon, Skeleton, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeProps, type StatusTone, StopIcon, StreamCursor, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, collapseLines, dialogFooterVariants, dotVariants, dropdownMenuItemVariants, fieldVariants, handleOptionListKey, messageItemStatusVariants, messageItemVariants, messageLineVariants, optionListHint, optionListVariants, optionMarker, optionMarkerVariants, optionRowVariants, statusBadgeVariants, tabBadgeVariants, tabVariants, toastVariants, toolTone, useMessageItem };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "./src/components/Accordion.mjs";
|
|
2
|
+
import { Avatar, AvatarFallback, AvatarImage } from "./src/components/Avatar.mjs";
|
|
3
|
+
import { ACCENT_TONES, AccentTone, CHIP_TONES, ChipTone, DOT_TONES, MESSAGE_LINE_TONES, STATUS_TONES } from "./src/types/tone.mjs";
|
|
4
|
+
import { Badge, BadgeProps, BadgeTone, badgeVariants } from "./src/components/Badge.mjs";
|
|
5
|
+
import { Button, ButtonProps, ButtonSize, ButtonVariant, buttonVariants } from "./src/components/Button.mjs";
|
|
6
|
+
import { Dialog, DialogBody, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogTitle, DialogTrigger, dialogFooterVariants } from "./src/components/Dialog.mjs";
|
|
7
|
+
import { Dot, DotProps, DotTone, dotVariants } from "./src/components/Dot.mjs";
|
|
8
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, dropdownMenuItemVariants } from "./src/components/DropdownMenu.mjs";
|
|
9
|
+
import { Checkbox } from "./src/components/Checkbox.mjs";
|
|
10
|
+
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./src/components/Collapsible.mjs";
|
|
11
|
+
import { FieldSize, FieldVariant, Input, InputProps, fieldVariants } from "./src/components/Input.mjs";
|
|
12
|
+
import { OptionLabel, OptionList, OptionListProps, OptionRow, OptionRowProps, optionListVariants, optionMarkerVariants, optionRowVariants } from "./src/components/OptionList.mjs";
|
|
13
|
+
import { CommandDialog, CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandHeader, CommandInput, CommandItem, CommandItemLabel, CommandList } from "./src/components/Command.mjs";
|
|
14
|
+
import { EmptyState, EmptyStateProps } from "./src/components/EmptyState.mjs";
|
|
15
|
+
import { Kbd } from "./src/components/Kbd.mjs";
|
|
16
|
+
import { Label } from "./src/components/Label.mjs";
|
|
17
|
+
import { Markdown } from "./src/components/Markdown.mjs";
|
|
18
|
+
import { STATUS_EDGE, StatusBadge, StatusBadgeProps, StatusTone, statusBadgeVariants } from "./src/components/StatusBadge.mjs";
|
|
19
|
+
import { MessageItem, MessageItemBody, MessageItemHeader, MessageItemHeaderProps, MessageItemProps, MessageItemState, MessageItemStatus, MessageItemStatusProps, STATUS_GLYPH, STATUS_LABEL, messageItemStatusVariants, messageItemVariants, toolTone, useMessageItem } from "./src/components/MessageItem.mjs";
|
|
20
|
+
import { MessageLine, MessageLineTone, MessageLines, MessageLinesProps, messageLineVariants } from "./src/components/MessageLines.mjs";
|
|
21
|
+
import { Panel, PanelBody, PanelHeader, PanelProps } from "./src/components/Panel.mjs";
|
|
22
|
+
import { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger } from "./src/components/Popover.mjs";
|
|
23
|
+
import { Progress } from "./src/components/Progress.mjs";
|
|
24
|
+
import { RadioGroup, RadioGroupCard, RadioGroupItem } from "./src/components/RadioGroup.mjs";
|
|
25
|
+
import { ScrollArea, ScrollBar } from "./src/components/ScrollArea.mjs";
|
|
26
|
+
import { SectionLabel } from "./src/components/SectionLabel.mjs";
|
|
27
|
+
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./src/components/Select.mjs";
|
|
28
|
+
import { Separator } from "./src/components/Separator.mjs";
|
|
29
|
+
import { Skeleton } from "./src/components/Skeleton.mjs";
|
|
30
|
+
import { Spinner, SpinnerProps } from "./src/components/Spinner.mjs";
|
|
31
|
+
import { StreamCursor } from "./src/components/StreamCursor.mjs";
|
|
32
|
+
import { Switch } from "./src/components/Switch.mjs";
|
|
33
|
+
import { NavTab, NavTabBadge, NavTabProps, Tabs, TabsContent, TabsList, TabsTrigger, tabBadgeVariants, tabVariants } from "./src/components/Tabs.mjs";
|
|
34
|
+
import { Textarea, TextareaProps } from "./src/components/Textarea.mjs";
|
|
35
|
+
import { Toast, ToastAction, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, toastVariants } from "./src/components/Toast.mjs";
|
|
36
|
+
import { ActivityIcon, AlertIcon, BranchIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, EnterIcon, ExternalLinkIcon, FileIcon, GearIcon, KebabIcon, LoaderIcon, PaletteIcon, PlusIcon, RefreshIcon, SearchIcon, ShieldIcon, StopIcon } from "./src/icons/icons.mjs";
|
|
37
|
+
import { cn } from "./src/lib/cn.mjs";
|
|
38
|
+
import { CollapsedLines, collapseLines } from "./src/lib/collapse.mjs";
|
|
39
|
+
import { MAX_DIGIT_SHORTCUT, handleOptionListKey, optionListHint, optionMarker } from "./src/lib/optionList.mjs";
|
|
40
|
+
import { CHIP_TO_STATUS, LINE_TONE_TO_STATUS, STATUS_TO_CHIP, STATUS_TO_DOT } from "./src/lib/tone.mjs";
|
|
41
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "./src/components/Tooltip.mjs";
|
|
42
|
+
export { ACCENT_TONES, type AccentTone, Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityIcon, AlertIcon, Avatar, AvatarFallback, AvatarImage, Badge, type BadgeProps, type BadgeTone, BranchIcon, Button, type ButtonProps, type ButtonSize, type ButtonVariant, CHIP_TONES, CHIP_TO_STATUS, CheckIcon, Checkbox, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, type ChipTone, CloseIcon, type CollapsedLines, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandDialog, type CommandDialogProps, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandHeader, CommandInput, CommandItem, CommandItemLabel, CommandList, DOT_TONES, Dialog, DialogBody, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogTitle, DialogTrigger, Dot, type DotProps, type DotTone, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateProps, EnterIcon, ExternalLinkIcon, type FieldSize, type FieldVariant, FileIcon, GearIcon, Input, type InputProps, Kbd, KebabIcon, LINE_TONE_TO_STATUS, Label, LoaderIcon, MAX_DIGIT_SHORTCUT, MESSAGE_LINE_TONES, Markdown, MessageItem, MessageItemBody, MessageItemHeader, type MessageItemHeaderProps, type MessageItemProps, type MessageItemState, MessageItemStatus, type MessageItemStatusProps, type MessageLine, type MessageLineTone, MessageLines, type MessageLinesProps, NavTab, NavTabBadge, type NavTabProps, OptionLabel, OptionList, type OptionListProps, OptionRow, type OptionRowProps, PaletteIcon, Panel, PanelBody, PanelHeader, type PanelProps, PlusIcon, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, Progress, RadioGroup, RadioGroupCard, RadioGroupItem, RefreshIcon, STATUS_EDGE, STATUS_GLYPH, STATUS_LABEL, STATUS_TONES, STATUS_TO_CHIP, STATUS_TO_DOT, ScrollArea, ScrollBar, SearchIcon, SectionLabel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, Separator, ShieldIcon, Skeleton, Spinner, type SpinnerProps, StatusBadge, type StatusBadgeProps, type StatusTone, StopIcon, StreamCursor, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, Toast, ToastAction, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, cn, collapseLines, dialogFooterVariants, dotVariants, dropdownMenuItemVariants, fieldVariants, handleOptionListKey, messageItemStatusVariants, messageItemVariants, messageLineVariants, optionListHint, optionListVariants, optionMarker, optionMarkerVariants, optionRowVariants, statusBadgeVariants, tabBadgeVariants, tabVariants, toastVariants, toolTone, useMessageItem };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ActivityIcon as e,AlertIcon as t,BranchIcon as n,CheckIcon as r,ChevronDownIcon as i,ChevronRightIcon as a,ChevronUpIcon as o,CloseIcon as s,EnterIcon as c,ExternalLinkIcon as l,FileIcon as u,GearIcon as d,KebabIcon as f,LoaderIcon as p,PaletteIcon as m,PlusIcon as h,RefreshIcon as g,SearchIcon as _,ShieldIcon as v,StopIcon as y}from"./src/icons/icons.mjs";import{cn as b}from"./src/lib/cn.mjs";import{Accordion as x,AccordionContent as S,AccordionItem as C,AccordionTrigger as w}from"./src/components/Accordion.mjs";import{Avatar as T,AvatarFallback as E,AvatarImage as D}from"./src/components/Avatar.mjs";import{Badge as O,badgeVariants as k}from"./src/components/Badge.mjs";import{Spinner as A}from"./src/components/Spinner.mjs";import{Button as j,buttonVariants as M}from"./src/components/Button.mjs";import{Dialog as N,DialogBody as P,DialogClose as F,DialogContent as I,DialogDescription as L,DialogFooter as R,DialogHeader as z,DialogTitle as B,DialogTrigger as V,dialogFooterVariants as H}from"./src/components/Dialog.mjs";import{Dot as U,dotVariants as W}from"./src/components/Dot.mjs";import{DropdownMenu as G,DropdownMenuCheckboxItem as K,DropdownMenuContent as q,DropdownMenuGroup as J,DropdownMenuItem as Y,DropdownMenuLabel as X,DropdownMenuRadioGroup as Z,DropdownMenuRadioItem as Q,DropdownMenuSeparator as $,DropdownMenuShortcut as ee,DropdownMenuSub as te,DropdownMenuSubContent as ne,DropdownMenuSubTrigger as re,DropdownMenuTrigger as ie,dropdownMenuItemVariants as ae}from"./src/components/DropdownMenu.mjs";import{Checkbox as oe}from"./src/components/Checkbox.mjs";import{Collapsible as se,CollapsibleContent as ce,CollapsibleTrigger as le}from"./src/components/Collapsible.mjs";import{Input as ue,fieldVariants as de}from"./src/components/Input.mjs";import{MAX_DIGIT_SHORTCUT as fe,handleOptionListKey as pe,optionListHint as me,optionMarker as he}from"./src/lib/optionList.mjs";import{OptionLabel as ge,OptionList as _e,OptionRow as ve,optionListVariants as ye,optionMarkerVariants as be,optionRowVariants as xe}from"./src/components/OptionList.mjs";import{CommandDialog as Se,CommandEmpty as Ce,CommandFooter as we,CommandGroup as Te,CommandGroupLabel as Ee,CommandHeader as De,CommandInput as Oe,CommandItem as ke,CommandItemLabel as Ae,CommandList as je}from"./src/components/Command.mjs";import{EmptyState as Me}from"./src/components/EmptyState.mjs";import{Kbd as Ne}from"./src/components/Kbd.mjs";import{Label as Pe}from"./src/components/Label.mjs";import{Markdown as Fe}from"./src/components/Markdown.mjs";import{STATUS_EDGE as Ie,StatusBadge as Le,statusBadgeVariants as Re}from"./src/components/StatusBadge.mjs";import{MessageItem as ze,MessageItemBody as Be,MessageItemHeader as Ve,MessageItemStatus as He,STATUS_GLYPH as Ue,STATUS_LABEL as We,messageItemStatusVariants as Ge,messageItemVariants as Ke,toolTone as qe,useMessageItem as Je}from"./src/components/MessageItem.mjs";import{MessageLines as Ye,messageLineVariants as Xe}from"./src/components/MessageLines.mjs";import{Panel as Ze,PanelBody as Qe,PanelHeader as $e}from"./src/components/Panel.mjs";import{Popover as et,PopoverAnchor as tt,PopoverClose as nt,PopoverContent as rt,PopoverFooter as it,PopoverHeader as at,PopoverTrigger as ot}from"./src/components/Popover.mjs";import{Progress as st}from"./src/components/Progress.mjs";import{RadioGroup as ct,RadioGroupCard as lt,RadioGroupItem as ut}from"./src/components/RadioGroup.mjs";import{ScrollArea as dt,ScrollBar as ft}from"./src/components/ScrollArea.mjs";import{SectionLabel as pt}from"./src/components/SectionLabel.mjs";import{Select as mt,SelectContent as ht,SelectGroup as gt,SelectItem as _t,SelectLabel as vt,SelectSeparator as yt,SelectTrigger as bt,SelectValue as xt}from"./src/components/Select.mjs";import{Separator as St}from"./src/components/Separator.mjs";import{Skeleton as Ct}from"./src/components/Skeleton.mjs";import{StreamCursor as wt}from"./src/components/StreamCursor.mjs";import{Switch as Tt}from"./src/components/Switch.mjs";import{NavTab as Et,NavTabBadge as Dt,Tabs as Ot,TabsContent as kt,TabsList as At,TabsTrigger as jt,tabBadgeVariants as Mt,tabVariants as Nt}from"./src/components/Tabs.mjs";import{Textarea as Pt}from"./src/components/Textarea.mjs";import{Toast as Ft,ToastAction as It,ToastClose as Lt,ToastDescription as Rt,ToastProvider as zt,ToastTitle as Bt,ToastViewport as Vt,toastVariants as Ht}from"./src/components/Toast.mjs";import{collapseLines as Ut}from"./src/lib/collapse.mjs";import{CHIP_TO_STATUS as Wt,LINE_TONE_TO_STATUS as Gt,STATUS_TO_CHIP as Kt,STATUS_TO_DOT as qt}from"./src/lib/tone.mjs";import{ACCENT_TONES as Jt,CHIP_TONES as Yt,DOT_TONES as Xt,MESSAGE_LINE_TONES as Zt,STATUS_TONES as Qt}from"./src/types/tone.mjs";import{Tooltip as $t,TooltipContent as en,TooltipProvider as tn,TooltipTrigger as nn}from"./src/components/Tooltip.mjs";export{Jt as ACCENT_TONES,x as Accordion,S as AccordionContent,C as AccordionItem,w as AccordionTrigger,e as ActivityIcon,t as AlertIcon,T as Avatar,E as AvatarFallback,D as AvatarImage,O as Badge,n as BranchIcon,j as Button,Yt as CHIP_TONES,Wt as CHIP_TO_STATUS,r as CheckIcon,oe as Checkbox,i as ChevronDownIcon,a as ChevronRightIcon,o as ChevronUpIcon,s as CloseIcon,se as Collapsible,ce as CollapsibleContent,le as CollapsibleTrigger,Se as CommandDialog,Ce as CommandEmpty,we as CommandFooter,Te as CommandGroup,Ee as CommandGroupLabel,De as CommandHeader,Oe as CommandInput,ke as CommandItem,Ae as CommandItemLabel,je as CommandList,Xt as DOT_TONES,N as Dialog,P as DialogBody,F as DialogClose,I as DialogContent,L as DialogDescription,R as DialogFooter,z as DialogHeader,B as DialogTitle,V as DialogTrigger,U as Dot,G as DropdownMenu,K as DropdownMenuCheckboxItem,q as DropdownMenuContent,J as DropdownMenuGroup,Y as DropdownMenuItem,X as DropdownMenuLabel,Z as DropdownMenuRadioGroup,Q as DropdownMenuRadioItem,$ as DropdownMenuSeparator,ee as DropdownMenuShortcut,te as DropdownMenuSub,ne as DropdownMenuSubContent,re as DropdownMenuSubTrigger,ie as DropdownMenuTrigger,Me as EmptyState,c as EnterIcon,l as ExternalLinkIcon,u as FileIcon,d as GearIcon,ue as Input,Ne as Kbd,f as KebabIcon,Gt as LINE_TONE_TO_STATUS,Pe as Label,p as LoaderIcon,fe as MAX_DIGIT_SHORTCUT,Zt as MESSAGE_LINE_TONES,Fe as Markdown,ze as MessageItem,Be as MessageItemBody,Ve as MessageItemHeader,He as MessageItemStatus,Ye as MessageLines,Et as NavTab,Dt as NavTabBadge,ge as OptionLabel,_e as OptionList,ve as OptionRow,m as PaletteIcon,Ze as Panel,Qe as PanelBody,$e as PanelHeader,h as PlusIcon,et as Popover,tt as PopoverAnchor,nt as PopoverClose,rt as PopoverContent,it as PopoverFooter,at as PopoverHeader,ot as PopoverTrigger,st as Progress,ct as RadioGroup,lt as RadioGroupCard,ut as RadioGroupItem,g as RefreshIcon,Ie as STATUS_EDGE,Ue as STATUS_GLYPH,We as STATUS_LABEL,Qt as STATUS_TONES,Kt as STATUS_TO_CHIP,qt as STATUS_TO_DOT,dt as ScrollArea,ft as ScrollBar,_ as SearchIcon,pt as SectionLabel,mt as Select,ht as SelectContent,gt as SelectGroup,_t as SelectItem,vt as SelectLabel,yt as SelectSeparator,bt as SelectTrigger,xt as SelectValue,St as Separator,v as ShieldIcon,Ct as Skeleton,A as Spinner,Le as StatusBadge,y as StopIcon,wt as StreamCursor,Tt as Switch,Ot as Tabs,kt as TabsContent,At as TabsList,jt as TabsTrigger,Pt as Textarea,Ft as Toast,It as ToastAction,Lt as ToastClose,Rt as ToastDescription,zt as ToastProvider,Bt as ToastTitle,Vt as ToastViewport,$t as Tooltip,en as TooltipContent,tn as TooltipProvider,nn as TooltipTrigger,k as badgeVariants,M as buttonVariants,b as cn,Ut as collapseLines,H as dialogFooterVariants,W as dotVariants,ae as dropdownMenuItemVariants,de as fieldVariants,pe as handleOptionListKey,Ge as messageItemStatusVariants,Ke as messageItemVariants,Xe as messageLineVariants,me as optionListHint,ye as optionListVariants,he as optionMarker,be as optionMarkerVariants,xe as optionRowVariants,Re as statusBadgeVariants,Mt as tabBadgeVariants,Nt as tabVariants,Ht as toastVariants,qe as toolTone,Je as useMessageItem};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ClassValue } from "clsx";
|
|
2
|
+
//#region src/lib/cn.d.ts
|
|
3
|
+
/** Merges class lists the shadcn way: conditional joins, then Tailwind conflict resolution. */
|
|
4
|
+
declare function cn(...inputs: ClassValue[]): string;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { cn };
|
|
7
|
+
//# sourceMappingURL=cn.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.cts","names":[],"sources":["../../src/lib/cn.ts"],"mappings":";;;iBAIgB,MAAM,QAAQ"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/lib/collapse.d.ts
|
|
2
|
+
interface CollapsedLines<T> {
|
|
3
|
+
shown: T[];
|
|
4
|
+
/** How many lines the collapse holds back; 0 once expanded or when nothing was clipped. */
|
|
5
|
+
hidden: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The first `limit` lines until expanded. Head-only on purpose: a card that
|
|
9
|
+
* shows the tail (a running command) keeps its own slice and reports the
|
|
10
|
+
* count it hid.
|
|
11
|
+
*/
|
|
12
|
+
declare function collapseLines<T>(lines: readonly T[], limit: number, expanded: boolean): CollapsedLines<T>;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { CollapsedLines, collapseLines };
|
|
15
|
+
//# sourceMappingURL=collapse.d.cts.map
|