@agimon-ai/po-web-components 0.0.0-alpha.214 → 0.0.0-alpha.215

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.
@@ -1 +1 @@
1
- {"version":1,"platformRequirements":{},"sourceFiles":["LICENSE","NOTICE","README.md","llms.txt","locales/vi.json","locales/zh-CN.json","package.json","src/components/Accordion.stories.tsx","src/components/Accordion.tsx","src/components/AgentAvatar.stories.tsx","src/components/AgentAvatar.tsx","src/components/AnsiText.stories.tsx","src/components/AnsiText.tsx","src/components/Avatar.stories.tsx","src/components/Avatar.tsx","src/components/Badge.stories.tsx","src/components/Badge.tsx","src/components/BrandPalette.stories.tsx","src/components/Breadcrumb.stories.tsx","src/components/Breadcrumb.tsx","src/components/Button.stories.tsx","src/components/Button.tsx","src/components/Checkbox.stories.tsx","src/components/Checkbox.tsx","src/components/CodeBlock.stories.tsx","src/components/CodeBlock.tsx","src/components/CodeEditor.stories.tsx","src/components/CodeEditor.tsx","src/components/CodeEditorView.stories.tsx","src/components/CodeEditorView.tsx","src/components/Collapsible.stories.tsx","src/components/Collapsible.tsx","src/components/Command.stories.tsx","src/components/Command.tsx","src/components/CopyButton.stories.tsx","src/components/CopyButton.tsx","src/components/CtaCard.stories.tsx","src/components/CtaCard.tsx","src/components/Dialog.stories.tsx","src/components/Dialog.tsx","src/components/DiffView.stories.tsx","src/components/DiffView.tsx","src/components/Dot.stories.tsx","src/components/Dot.tsx","src/components/Drawer.stories.tsx","src/components/Drawer.tsx","src/components/DropdownMenu.stories.tsx","src/components/DropdownMenu.tsx","src/components/EmptyState.stories.tsx","src/components/EmptyState.tsx","src/components/FileBrowser.stories.tsx","src/components/FileBrowser.tsx","src/components/FilePreview.stories.tsx","src/components/FilePreview.tsx","src/components/FlowGraph.stories.tsx","src/components/FlowGraph.tsx","src/components/HashlineLines.stories.tsx","src/components/HashlineLines.tsx","src/components/Input.stories.tsx","src/components/Input.tsx","src/components/Kbd.stories.tsx","src/components/Kbd.tsx","src/components/Label.stories.tsx","src/components/Label.tsx","src/components/LiveDuration.tsx","src/components/LoadingState.stories.tsx","src/components/LoadingState.tsx","src/components/Markdown.stories.tsx","src/components/Markdown.tsx","src/components/McpApp.tsx","src/components/McpToolWidget.stories.tsx","src/components/McpToolWidget.tsx","src/components/MediaPreview.stories.tsx","src/components/MediaPreview.tsx","src/components/MediaViewerDialog.stories.tsx","src/components/MediaViewerDialog.tsx","src/components/MermaidDiagram.stories.tsx","src/components/MermaidDiagram.tsx","src/components/MessageItem.stories.tsx","src/components/MessageItem.tsx","src/components/MessageLines.stories.tsx","src/components/MessageLines.tsx","src/components/OptionList.stories.tsx","src/components/OptionList.tsx","src/components/Panel.stories.tsx","src/components/Panel.tsx","src/components/PathText.stories.tsx","src/components/PathText.tsx","src/components/PdfPreview.stories.tsx","src/components/PdfPreview.tsx","src/components/Picker.stories.tsx","src/components/Picker.tsx","src/components/Popover.stories.tsx","src/components/Popover.tsx","src/components/ProfilePicker.stories.tsx","src/components/ProfilePicker.tsx","src/components/Progress.stories.tsx","src/components/Progress.tsx","src/components/QrCode.stories.tsx","src/components/QrCode.tsx","src/components/RadioGroup.stories.tsx","src/components/RadioGroup.tsx","src/components/ReferenceChip.stories.tsx","src/components/ReferenceChip.tsx","src/components/ReviewCommentDraft.stories.tsx","src/components/ReviewCommentDraft.tsx","src/components/ScrollArea.stories.tsx","src/components/ScrollArea.tsx","src/components/SectionLabel.stories.tsx","src/components/SectionLabel.tsx","src/components/Select.stories.tsx","src/components/Select.tsx","src/components/Separator.stories.tsx","src/components/Separator.tsx","src/components/Settings.tsx","src/components/SetupRow.stories.tsx","src/components/SetupRow.tsx","src/components/Sheet.stories.tsx","src/components/Sheet.tsx","src/components/Skeleton.stories.tsx","src/components/Skeleton.tsx","src/components/Spinner.stories.tsx","src/components/Spinner.tsx","src/components/StatusBadge.stories.tsx","src/components/StatusBadge.tsx","src/components/StreamCursor.stories.tsx","src/components/StreamCursor.tsx","src/components/Switch.stories.tsx","src/components/Switch.tsx","src/components/SyntaxText.stories.tsx","src/components/SyntaxText.tsx","src/components/Tabs.stories.tsx","src/components/Tabs.tsx","src/components/TerminalView.stories.tsx","src/components/TerminalView.tsx","src/components/Textarea.stories.tsx","src/components/Textarea.tsx","src/components/Toast.stories.tsx","src/components/Toast.tsx","src/components/ToolPathLink.stories.tsx","src/components/ToolPathLink.tsx","src/components/Tooltip.stories.tsx","src/components/Tooltip.tsx","src/components/ViewableImage.stories.tsx","src/components/ViewableImage.tsx","src/exports/index.ts","src/exports/markdownMediaSlot.ts","src/exports/mcpAppHost.ts","src/exports/mcpWidget.ts","src/exports/nativeTheme.ts","src/exports/text.ts","src/exports/theme.ts","src/icons/icons.ts","src/lib/ansiSpans.ts","src/lib/cn.ts","src/lib/collapse.ts","src/lib/editorController.ts","src/lib/editorLanguage.ts","src/lib/editorTheme.ts","src/lib/fenceGrammar.ts","src/lib/fileDownload.ts","src/lib/files.ts","src/lib/hashlineHighlight.ts","src/lib/hashlineView.ts","src/lib/markdownMedia.ts","src/lib/markdownMediaSlot.ts","src/lib/markdownReferences.ts","src/lib/mcpAppFrame.ts","src/lib/mcpAppSandbox.ts","src/lib/mcpOpenAiBootstrap.ts","src/lib/media.ts","src/lib/mediaPlayback.ts","src/lib/mermaidDiagram.ts","src/lib/optionList.ts","src/lib/pathGroups.ts","src/lib/picker.ts","src/lib/profilePicker.ts","src/lib/qrMatrix.ts","src/lib/review.ts","src/lib/runDuration.ts","src/lib/syntaxHighlight.ts","src/lib/tone.ts","src/theme/apply.ts","src/theme/builtinThemes.ts","src/theme/derive.ts","src/theme/nativeTheme.ts","src/theme/parse.ts","src/theme/piTheme.ts","src/theme/preference.ts","src/types/diff.ts","src/types/editor.ts","src/types/theme.ts","src/types/tone.ts","styles/mcp.css","styles/preview.css","styles/theme.css","styles/tokens.css","themes/po-nord-dark.json","themes/po-one-light.json","tsdown.config.ts"],"sourceRevision":"6302b60ef3db9e144e6d272946e923d8","manifestRevision":"43164e31d72545cfbe09b709e8d2989f","outputFiles":["LICENSE","NOTICE","README.md","dist/_virtual/_rolldown/runtime.cjs","dist/index.cjs","dist/index.mjs","dist/markdownMediaSlot.cjs","dist/markdownMediaSlot.mjs","dist/mcpAppHost.cjs","dist/mcpAppHost.mjs","dist/mcpWidget.cjs","dist/mcpWidget.mjs","dist/nativeTheme.cjs","dist/nativeTheme.mjs","dist/src/components/Accordion.cjs","dist/src/components/Accordion.mjs","dist/src/components/AgentAvatar.cjs","dist/src/components/AgentAvatar.mjs","dist/src/components/AnsiText.cjs","dist/src/components/AnsiText.mjs","dist/src/components/Avatar.cjs","dist/src/components/Avatar.mjs","dist/src/components/Badge.cjs","dist/src/components/Badge.mjs","dist/src/components/Breadcrumb.cjs","dist/src/components/Breadcrumb.mjs","dist/src/components/Button.cjs","dist/src/components/Button.mjs","dist/src/components/Checkbox.cjs","dist/src/components/Checkbox.mjs","dist/src/components/CodeBlock.cjs","dist/src/components/CodeBlock.mjs","dist/src/components/CodeEditor.cjs","dist/src/components/CodeEditor.mjs","dist/src/components/CodeEditorView.cjs","dist/src/components/CodeEditorView.mjs","dist/src/components/Collapsible.cjs","dist/src/components/Collapsible.mjs","dist/src/components/Command.cjs","dist/src/components/Command.mjs","dist/src/components/CopyButton.cjs","dist/src/components/CopyButton.mjs","dist/src/components/CtaCard.cjs","dist/src/components/CtaCard.mjs","dist/src/components/Dialog.cjs","dist/src/components/Dialog.mjs","dist/src/components/DiffView.cjs","dist/src/components/DiffView.mjs","dist/src/components/Dot.cjs","dist/src/components/Dot.mjs","dist/src/components/Drawer.cjs","dist/src/components/Drawer.mjs","dist/src/components/DropdownMenu.cjs","dist/src/components/DropdownMenu.mjs","dist/src/components/EmptyState.cjs","dist/src/components/EmptyState.mjs","dist/src/components/FileBrowser.cjs","dist/src/components/FileBrowser.mjs","dist/src/components/FilePreview.cjs","dist/src/components/FilePreview.mjs","dist/src/components/FlowGraph.cjs","dist/src/components/FlowGraph.mjs","dist/src/components/HashlineLines.cjs","dist/src/components/HashlineLines.mjs","dist/src/components/Input.cjs","dist/src/components/Input.mjs","dist/src/components/Kbd.cjs","dist/src/components/Kbd.mjs","dist/src/components/Label.cjs","dist/src/components/Label.mjs","dist/src/components/LiveDuration.cjs","dist/src/components/LiveDuration.mjs","dist/src/components/LoadingState.cjs","dist/src/components/LoadingState.mjs","dist/src/components/Markdown.cjs","dist/src/components/Markdown.mjs","dist/src/components/McpApp.cjs","dist/src/components/McpApp.mjs","dist/src/components/McpToolWidget.cjs","dist/src/components/McpToolWidget.mjs","dist/src/components/MediaPreview.cjs","dist/src/components/MediaPreview.mjs","dist/src/components/MediaViewerDialog.cjs","dist/src/components/MediaViewerDialog.mjs","dist/src/components/MermaidDiagram.cjs","dist/src/components/MermaidDiagram.mjs","dist/src/components/MessageItem.cjs","dist/src/components/MessageItem.mjs","dist/src/components/MessageLines.cjs","dist/src/components/MessageLines.mjs","dist/src/components/OptionList.cjs","dist/src/components/OptionList.mjs","dist/src/components/Panel.cjs","dist/src/components/Panel.mjs","dist/src/components/PathText.cjs","dist/src/components/PathText.mjs","dist/src/components/PdfPreview.cjs","dist/src/components/PdfPreview.mjs","dist/src/components/Picker.cjs","dist/src/components/Picker.mjs","dist/src/components/Popover.cjs","dist/src/components/Popover.mjs","dist/src/components/ProfilePicker.cjs","dist/src/components/ProfilePicker.mjs","dist/src/components/Progress.cjs","dist/src/components/Progress.mjs","dist/src/components/QrCode.cjs","dist/src/components/QrCode.mjs","dist/src/components/RadioGroup.cjs","dist/src/components/RadioGroup.mjs","dist/src/components/ReferenceChip.cjs","dist/src/components/ReferenceChip.mjs","dist/src/components/ReviewCommentDraft.cjs","dist/src/components/ReviewCommentDraft.mjs","dist/src/components/ScrollArea.cjs","dist/src/components/ScrollArea.mjs","dist/src/components/SectionLabel.cjs","dist/src/components/SectionLabel.mjs","dist/src/components/Select.cjs","dist/src/components/Select.mjs","dist/src/components/Separator.cjs","dist/src/components/Separator.mjs","dist/src/components/Settings.cjs","dist/src/components/Settings.mjs","dist/src/components/SetupRow.cjs","dist/src/components/SetupRow.mjs","dist/src/components/Sheet.cjs","dist/src/components/Sheet.mjs","dist/src/components/Skeleton.cjs","dist/src/components/Skeleton.mjs","dist/src/components/Spinner.cjs","dist/src/components/Spinner.mjs","dist/src/components/StatusBadge.cjs","dist/src/components/StatusBadge.mjs","dist/src/components/StreamCursor.cjs","dist/src/components/StreamCursor.mjs","dist/src/components/Switch.cjs","dist/src/components/Switch.mjs","dist/src/components/SyntaxText.cjs","dist/src/components/SyntaxText.mjs","dist/src/components/Tabs.cjs","dist/src/components/Tabs.mjs","dist/src/components/TerminalView.cjs","dist/src/components/TerminalView.mjs","dist/src/components/Textarea.cjs","dist/src/components/Textarea.mjs","dist/src/components/Toast.cjs","dist/src/components/Toast.mjs","dist/src/components/ToolPathLink.cjs","dist/src/components/ToolPathLink.mjs","dist/src/components/Tooltip.cjs","dist/src/components/Tooltip.mjs","dist/src/components/ViewableImage.cjs","dist/src/components/ViewableImage.mjs","dist/src/icons/icons.cjs","dist/src/icons/icons.mjs","dist/src/lib/ansiSpans.cjs","dist/src/lib/ansiSpans.mjs","dist/src/lib/cn.cjs","dist/src/lib/cn.mjs","dist/src/lib/collapse.cjs","dist/src/lib/collapse.mjs","dist/src/lib/editorController.cjs","dist/src/lib/editorController.mjs","dist/src/lib/editorLanguage.cjs","dist/src/lib/editorLanguage.mjs","dist/src/lib/editorTheme.cjs","dist/src/lib/editorTheme.mjs","dist/src/lib/fenceGrammar.cjs","dist/src/lib/fenceGrammar.mjs","dist/src/lib/fileDownload.cjs","dist/src/lib/fileDownload.mjs","dist/src/lib/files.cjs","dist/src/lib/files.mjs","dist/src/lib/hashlineHighlight.cjs","dist/src/lib/hashlineHighlight.mjs","dist/src/lib/hashlineView.cjs","dist/src/lib/hashlineView.mjs","dist/src/lib/markdownMedia.cjs","dist/src/lib/markdownMedia.mjs","dist/src/lib/markdownMediaSlot.cjs","dist/src/lib/markdownMediaSlot.mjs","dist/src/lib/markdownReferences.cjs","dist/src/lib/markdownReferences.mjs","dist/src/lib/mcpAppFrame.cjs","dist/src/lib/mcpAppFrame.mjs","dist/src/lib/mcpAppSandbox.cjs","dist/src/lib/mcpAppSandbox.mjs","dist/src/lib/mcpOpenAiBootstrap.cjs","dist/src/lib/mcpOpenAiBootstrap.mjs","dist/src/lib/media.cjs","dist/src/lib/media.mjs","dist/src/lib/mediaPlayback.cjs","dist/src/lib/mediaPlayback.mjs","dist/src/lib/mermaidDiagram.cjs","dist/src/lib/mermaidDiagram.mjs","dist/src/lib/optionList.cjs","dist/src/lib/optionList.mjs","dist/src/lib/pathGroups.cjs","dist/src/lib/pathGroups.mjs","dist/src/lib/picker.cjs","dist/src/lib/picker.mjs","dist/src/lib/profilePicker.cjs","dist/src/lib/profilePicker.mjs","dist/src/lib/qrMatrix.cjs","dist/src/lib/qrMatrix.mjs","dist/src/lib/review.cjs","dist/src/lib/review.mjs","dist/src/lib/runDuration.cjs","dist/src/lib/runDuration.mjs","dist/src/lib/syntaxHighlight.cjs","dist/src/lib/syntaxHighlight.mjs","dist/src/lib/tone.cjs","dist/src/lib/tone.mjs","dist/src/theme/apply.cjs","dist/src/theme/apply.mjs","dist/src/theme/builtinThemes.cjs","dist/src/theme/builtinThemes.mjs","dist/src/theme/derive.cjs","dist/src/theme/derive.mjs","dist/src/theme/nativeTheme.cjs","dist/src/theme/nativeTheme.mjs","dist/src/theme/parse.cjs","dist/src/theme/parse.mjs","dist/src/theme/piTheme.cjs","dist/src/theme/piTheme.mjs","dist/src/theme/preference.cjs","dist/src/theme/preference.mjs","dist/src/types/editor.cjs","dist/src/types/editor.mjs","dist/src/types/theme.cjs","dist/src/types/theme.mjs","dist/src/types/tone.cjs","dist/src/types/tone.mjs","dist/text.cjs","dist/text.mjs","dist/theme.cjs","dist/theme.mjs","dist/themes/po-nord-dark.cjs","dist/themes/po-nord-dark.mjs","dist/themes/po-one-light.cjs","dist/themes/po-one-light.mjs","llms.txt","locales/vi.json","locales/zh-CN.json","styles/mcp.css","styles/preview.css","styles/theme.css","styles/tokens.css","themes/po-nord-dark.json","themes/po-one-light.json"],"outputRevision":"6286bfc714eb2b301116631fe3cad399"}
1
+ {"version":1,"platformRequirements":{},"sourceFiles":["LICENSE","NOTICE","README.md","llms.txt","locales/vi.json","locales/zh-CN.json","package.json","src/components/Accordion.stories.tsx","src/components/Accordion.tsx","src/components/AgentAvatar.stories.tsx","src/components/AgentAvatar.tsx","src/components/AnsiText.stories.tsx","src/components/AnsiText.tsx","src/components/Avatar.stories.tsx","src/components/Avatar.tsx","src/components/Badge.stories.tsx","src/components/Badge.tsx","src/components/BrandPalette.stories.tsx","src/components/Breadcrumb.stories.tsx","src/components/Breadcrumb.tsx","src/components/Button.stories.tsx","src/components/Button.tsx","src/components/Checkbox.stories.tsx","src/components/Checkbox.tsx","src/components/CodeBlock.stories.tsx","src/components/CodeBlock.tsx","src/components/CodeEditor.stories.tsx","src/components/CodeEditor.tsx","src/components/CodeEditorView.stories.tsx","src/components/CodeEditorView.tsx","src/components/Collapsible.stories.tsx","src/components/Collapsible.tsx","src/components/Command.stories.tsx","src/components/Command.tsx","src/components/CopyButton.stories.tsx","src/components/CopyButton.tsx","src/components/CtaCard.stories.tsx","src/components/CtaCard.tsx","src/components/Dialog.stories.tsx","src/components/Dialog.tsx","src/components/DiffView.stories.tsx","src/components/DiffView.tsx","src/components/Dot.stories.tsx","src/components/Dot.tsx","src/components/Drawer.stories.tsx","src/components/Drawer.tsx","src/components/DropdownMenu.stories.tsx","src/components/DropdownMenu.tsx","src/components/EmptyState.stories.tsx","src/components/EmptyState.tsx","src/components/FileBrowser.stories.tsx","src/components/FileBrowser.tsx","src/components/FilePreview.stories.tsx","src/components/FilePreview.tsx","src/components/FlowGraph.stories.tsx","src/components/FlowGraph.tsx","src/components/HashlineLines.stories.tsx","src/components/HashlineLines.tsx","src/components/Input.stories.tsx","src/components/Input.tsx","src/components/Kbd.stories.tsx","src/components/Kbd.tsx","src/components/Label.stories.tsx","src/components/Label.tsx","src/components/LiveDuration.tsx","src/components/LoadingState.stories.tsx","src/components/LoadingState.tsx","src/components/Markdown.stories.tsx","src/components/Markdown.tsx","src/components/McpApp.tsx","src/components/McpToolWidget.stories.tsx","src/components/McpToolWidget.tsx","src/components/MediaPreview.stories.tsx","src/components/MediaPreview.tsx","src/components/MediaViewerDialog.stories.tsx","src/components/MediaViewerDialog.tsx","src/components/MermaidDiagram.stories.tsx","src/components/MermaidDiagram.tsx","src/components/MessageItem.stories.tsx","src/components/MessageItem.tsx","src/components/MessageLines.stories.tsx","src/components/MessageLines.tsx","src/components/OptionList.stories.tsx","src/components/OptionList.tsx","src/components/Panel.stories.tsx","src/components/Panel.tsx","src/components/PathText.stories.tsx","src/components/PathText.tsx","src/components/PdfPreview.stories.tsx","src/components/PdfPreview.tsx","src/components/Picker.stories.tsx","src/components/Picker.tsx","src/components/Popover.stories.tsx","src/components/Popover.tsx","src/components/ProfilePicker.stories.tsx","src/components/ProfilePicker.tsx","src/components/Progress.stories.tsx","src/components/Progress.tsx","src/components/QrCode.stories.tsx","src/components/QrCode.tsx","src/components/RadioGroup.stories.tsx","src/components/RadioGroup.tsx","src/components/ReferenceChip.stories.tsx","src/components/ReferenceChip.tsx","src/components/ReviewCommentDraft.stories.tsx","src/components/ReviewCommentDraft.tsx","src/components/ScrollArea.stories.tsx","src/components/ScrollArea.tsx","src/components/SectionLabel.stories.tsx","src/components/SectionLabel.tsx","src/components/Select.stories.tsx","src/components/Select.tsx","src/components/Separator.stories.tsx","src/components/Separator.tsx","src/components/Settings.tsx","src/components/SetupRow.stories.tsx","src/components/SetupRow.tsx","src/components/Sheet.stories.tsx","src/components/Sheet.tsx","src/components/Skeleton.stories.tsx","src/components/Skeleton.tsx","src/components/Spinner.stories.tsx","src/components/Spinner.tsx","src/components/StatusBadge.stories.tsx","src/components/StatusBadge.tsx","src/components/StreamCursor.stories.tsx","src/components/StreamCursor.tsx","src/components/Switch.stories.tsx","src/components/Switch.tsx","src/components/SyntaxText.stories.tsx","src/components/SyntaxText.tsx","src/components/Tabs.stories.tsx","src/components/Tabs.tsx","src/components/TerminalView.stories.tsx","src/components/TerminalView.tsx","src/components/Textarea.stories.tsx","src/components/Textarea.tsx","src/components/Toast.stories.tsx","src/components/Toast.tsx","src/components/ToolPathLink.stories.tsx","src/components/ToolPathLink.tsx","src/components/Tooltip.stories.tsx","src/components/Tooltip.tsx","src/components/ViewableImage.stories.tsx","src/components/ViewableImage.tsx","src/exports/index.ts","src/exports/markdownMediaSlot.ts","src/exports/mcpAppHost.ts","src/exports/mcpWidget.ts","src/exports/nativeTheme.ts","src/exports/text.ts","src/exports/theme.ts","src/icons/icons.ts","src/lib/ansiSpans.ts","src/lib/cn.ts","src/lib/collapse.ts","src/lib/editorController.ts","src/lib/editorLanguage.ts","src/lib/editorTheme.ts","src/lib/fenceGrammar.ts","src/lib/fileDownload.ts","src/lib/files.ts","src/lib/hashlineHighlight.ts","src/lib/hashlineView.ts","src/lib/markdownMedia.ts","src/lib/markdownMediaSlot.ts","src/lib/markdownReferences.ts","src/lib/mcpAppFrame.ts","src/lib/mcpAppSandbox.ts","src/lib/mcpOpenAiBootstrap.ts","src/lib/media.ts","src/lib/mediaPlayback.ts","src/lib/mermaidDiagram.ts","src/lib/optionList.ts","src/lib/pathGroups.ts","src/lib/picker.ts","src/lib/profilePicker.ts","src/lib/qrMatrix.ts","src/lib/review.ts","src/lib/runDuration.ts","src/lib/syntaxHighlight.ts","src/lib/tone.ts","src/theme/apply.ts","src/theme/builtinThemes.ts","src/theme/derive.ts","src/theme/nativeTheme.ts","src/theme/parse.ts","src/theme/piTheme.ts","src/theme/preference.ts","src/types/diff.ts","src/types/editor.ts","src/types/theme.ts","src/types/tone.ts","styles/mcp.css","styles/preview.css","styles/theme.css","styles/tokens.css","themes/po-nord-dark.json","themes/po-one-light.json","tsdown.config.ts"],"sourceRevision":"af72409af3e2b6efd275a871c4e3af55","manifestRevision":"9a64f685fe53d8b3568ccac34029b808","outputFiles":["LICENSE","NOTICE","README.md","dist/_virtual/_rolldown/runtime.cjs","dist/index.cjs","dist/index.mjs","dist/markdownMediaSlot.cjs","dist/markdownMediaSlot.mjs","dist/mcpAppHost.cjs","dist/mcpAppHost.mjs","dist/mcpWidget.cjs","dist/mcpWidget.mjs","dist/nativeTheme.cjs","dist/nativeTheme.mjs","dist/src/components/Accordion.cjs","dist/src/components/Accordion.mjs","dist/src/components/AgentAvatar.cjs","dist/src/components/AgentAvatar.mjs","dist/src/components/AnsiText.cjs","dist/src/components/AnsiText.mjs","dist/src/components/Avatar.cjs","dist/src/components/Avatar.mjs","dist/src/components/Badge.cjs","dist/src/components/Badge.mjs","dist/src/components/Breadcrumb.cjs","dist/src/components/Breadcrumb.mjs","dist/src/components/Button.cjs","dist/src/components/Button.mjs","dist/src/components/Checkbox.cjs","dist/src/components/Checkbox.mjs","dist/src/components/CodeBlock.cjs","dist/src/components/CodeBlock.mjs","dist/src/components/CodeEditor.cjs","dist/src/components/CodeEditor.mjs","dist/src/components/CodeEditorView.cjs","dist/src/components/CodeEditorView.mjs","dist/src/components/Collapsible.cjs","dist/src/components/Collapsible.mjs","dist/src/components/Command.cjs","dist/src/components/Command.mjs","dist/src/components/CopyButton.cjs","dist/src/components/CopyButton.mjs","dist/src/components/CtaCard.cjs","dist/src/components/CtaCard.mjs","dist/src/components/Dialog.cjs","dist/src/components/Dialog.mjs","dist/src/components/DiffView.cjs","dist/src/components/DiffView.mjs","dist/src/components/Dot.cjs","dist/src/components/Dot.mjs","dist/src/components/Drawer.cjs","dist/src/components/Drawer.mjs","dist/src/components/DropdownMenu.cjs","dist/src/components/DropdownMenu.mjs","dist/src/components/EmptyState.cjs","dist/src/components/EmptyState.mjs","dist/src/components/FileBrowser.cjs","dist/src/components/FileBrowser.mjs","dist/src/components/FilePreview.cjs","dist/src/components/FilePreview.mjs","dist/src/components/FlowGraph.cjs","dist/src/components/FlowGraph.mjs","dist/src/components/HashlineLines.cjs","dist/src/components/HashlineLines.mjs","dist/src/components/Input.cjs","dist/src/components/Input.mjs","dist/src/components/Kbd.cjs","dist/src/components/Kbd.mjs","dist/src/components/Label.cjs","dist/src/components/Label.mjs","dist/src/components/LiveDuration.cjs","dist/src/components/LiveDuration.mjs","dist/src/components/LoadingState.cjs","dist/src/components/LoadingState.mjs","dist/src/components/Markdown.cjs","dist/src/components/Markdown.mjs","dist/src/components/McpApp.cjs","dist/src/components/McpApp.mjs","dist/src/components/McpToolWidget.cjs","dist/src/components/McpToolWidget.mjs","dist/src/components/MediaPreview.cjs","dist/src/components/MediaPreview.mjs","dist/src/components/MediaViewerDialog.cjs","dist/src/components/MediaViewerDialog.mjs","dist/src/components/MermaidDiagram.cjs","dist/src/components/MermaidDiagram.mjs","dist/src/components/MessageItem.cjs","dist/src/components/MessageItem.mjs","dist/src/components/MessageLines.cjs","dist/src/components/MessageLines.mjs","dist/src/components/OptionList.cjs","dist/src/components/OptionList.mjs","dist/src/components/Panel.cjs","dist/src/components/Panel.mjs","dist/src/components/PathText.cjs","dist/src/components/PathText.mjs","dist/src/components/PdfPreview.cjs","dist/src/components/PdfPreview.mjs","dist/src/components/Picker.cjs","dist/src/components/Picker.mjs","dist/src/components/Popover.cjs","dist/src/components/Popover.mjs","dist/src/components/ProfilePicker.cjs","dist/src/components/ProfilePicker.mjs","dist/src/components/Progress.cjs","dist/src/components/Progress.mjs","dist/src/components/QrCode.cjs","dist/src/components/QrCode.mjs","dist/src/components/RadioGroup.cjs","dist/src/components/RadioGroup.mjs","dist/src/components/ReferenceChip.cjs","dist/src/components/ReferenceChip.mjs","dist/src/components/ReviewCommentDraft.cjs","dist/src/components/ReviewCommentDraft.mjs","dist/src/components/ScrollArea.cjs","dist/src/components/ScrollArea.mjs","dist/src/components/SectionLabel.cjs","dist/src/components/SectionLabel.mjs","dist/src/components/Select.cjs","dist/src/components/Select.mjs","dist/src/components/Separator.cjs","dist/src/components/Separator.mjs","dist/src/components/Settings.cjs","dist/src/components/Settings.mjs","dist/src/components/SetupRow.cjs","dist/src/components/SetupRow.mjs","dist/src/components/Sheet.cjs","dist/src/components/Sheet.mjs","dist/src/components/Skeleton.cjs","dist/src/components/Skeleton.mjs","dist/src/components/Spinner.cjs","dist/src/components/Spinner.mjs","dist/src/components/StatusBadge.cjs","dist/src/components/StatusBadge.mjs","dist/src/components/StreamCursor.cjs","dist/src/components/StreamCursor.mjs","dist/src/components/Switch.cjs","dist/src/components/Switch.mjs","dist/src/components/SyntaxText.cjs","dist/src/components/SyntaxText.mjs","dist/src/components/Tabs.cjs","dist/src/components/Tabs.mjs","dist/src/components/TerminalView.cjs","dist/src/components/TerminalView.mjs","dist/src/components/Textarea.cjs","dist/src/components/Textarea.mjs","dist/src/components/Toast.cjs","dist/src/components/Toast.mjs","dist/src/components/ToolPathLink.cjs","dist/src/components/ToolPathLink.mjs","dist/src/components/Tooltip.cjs","dist/src/components/Tooltip.mjs","dist/src/components/ViewableImage.cjs","dist/src/components/ViewableImage.mjs","dist/src/icons/icons.cjs","dist/src/icons/icons.mjs","dist/src/lib/ansiSpans.cjs","dist/src/lib/ansiSpans.mjs","dist/src/lib/cn.cjs","dist/src/lib/cn.mjs","dist/src/lib/collapse.cjs","dist/src/lib/collapse.mjs","dist/src/lib/editorController.cjs","dist/src/lib/editorController.mjs","dist/src/lib/editorLanguage.cjs","dist/src/lib/editorLanguage.mjs","dist/src/lib/editorTheme.cjs","dist/src/lib/editorTheme.mjs","dist/src/lib/fenceGrammar.cjs","dist/src/lib/fenceGrammar.mjs","dist/src/lib/fileDownload.cjs","dist/src/lib/fileDownload.mjs","dist/src/lib/files.cjs","dist/src/lib/files.mjs","dist/src/lib/hashlineHighlight.cjs","dist/src/lib/hashlineHighlight.mjs","dist/src/lib/hashlineView.cjs","dist/src/lib/hashlineView.mjs","dist/src/lib/markdownMedia.cjs","dist/src/lib/markdownMedia.mjs","dist/src/lib/markdownMediaSlot.cjs","dist/src/lib/markdownMediaSlot.mjs","dist/src/lib/markdownReferences.cjs","dist/src/lib/markdownReferences.mjs","dist/src/lib/mcpAppFrame.cjs","dist/src/lib/mcpAppFrame.mjs","dist/src/lib/mcpAppSandbox.cjs","dist/src/lib/mcpAppSandbox.mjs","dist/src/lib/mcpOpenAiBootstrap.cjs","dist/src/lib/mcpOpenAiBootstrap.mjs","dist/src/lib/media.cjs","dist/src/lib/media.mjs","dist/src/lib/mediaPlayback.cjs","dist/src/lib/mediaPlayback.mjs","dist/src/lib/mermaidDiagram.cjs","dist/src/lib/mermaidDiagram.mjs","dist/src/lib/optionList.cjs","dist/src/lib/optionList.mjs","dist/src/lib/pathGroups.cjs","dist/src/lib/pathGroups.mjs","dist/src/lib/picker.cjs","dist/src/lib/picker.mjs","dist/src/lib/profilePicker.cjs","dist/src/lib/profilePicker.mjs","dist/src/lib/qrMatrix.cjs","dist/src/lib/qrMatrix.mjs","dist/src/lib/review.cjs","dist/src/lib/review.mjs","dist/src/lib/runDuration.cjs","dist/src/lib/runDuration.mjs","dist/src/lib/syntaxHighlight.cjs","dist/src/lib/syntaxHighlight.mjs","dist/src/lib/tone.cjs","dist/src/lib/tone.mjs","dist/src/theme/apply.cjs","dist/src/theme/apply.mjs","dist/src/theme/builtinThemes.cjs","dist/src/theme/builtinThemes.mjs","dist/src/theme/derive.cjs","dist/src/theme/derive.mjs","dist/src/theme/nativeTheme.cjs","dist/src/theme/nativeTheme.mjs","dist/src/theme/parse.cjs","dist/src/theme/parse.mjs","dist/src/theme/piTheme.cjs","dist/src/theme/piTheme.mjs","dist/src/theme/preference.cjs","dist/src/theme/preference.mjs","dist/src/types/editor.cjs","dist/src/types/editor.mjs","dist/src/types/theme.cjs","dist/src/types/theme.mjs","dist/src/types/tone.cjs","dist/src/types/tone.mjs","dist/text.cjs","dist/text.mjs","dist/theme.cjs","dist/theme.mjs","dist/themes/po-nord-dark.cjs","dist/themes/po-nord-dark.mjs","dist/themes/po-one-light.cjs","dist/themes/po-one-light.mjs","llms.txt","locales/vi.json","locales/zh-CN.json","styles/mcp.css","styles/preview.css","styles/theme.css","styles/tokens.css","themes/po-nord-dark.json","themes/po-one-light.json"],"outputRevision":"230f6ac9ae1cd76926c9c96426af6674"}
@@ -1,2 +1,2 @@
1
- require("../icons/icons.cjs");const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime"),r=require("lucide-react");function i({className:i,...a}){return/* @__PURE__ */ (0,n.jsx)(t.Checkbox.Root,{"data-slot":`checkbox`,className:e.cn(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green`,i),...a,children:/* @__PURE__ */ (0,n.jsx)(t.Checkbox.Indicator,{"data-slot":`checkbox-indicator`,className:`text-po-green`,children:/* @__PURE__ */ (0,n.jsx)(r.Check,{className:`h-2.5 w-2.5`})})})}exports.Checkbox=i;
1
+ require("../icons/icons.cjs");const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime"),r=require("lucide-react");function i({className:i,...a}){return/* @__PURE__ */ (0,n.jsx)(t.Checkbox.Root,{"data-slot":`checkbox`,className:e.cn(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green`,i),...a,children:/* @__PURE__ */ (0,n.jsx)(t.Checkbox.Indicator,{"data-slot":`checkbox-indicator`,className:`text-po-green`,children:/* @__PURE__ */ (0,n.jsx)(r.Check,{className:`h-2.5 w-2.5`})})})}exports.Checkbox=i;
2
2
  //# sourceMappingURL=Checkbox.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.cjs","names":["CheckboxPrimitive","cn","CheckIcon","require_cn","radix_ui","react_jsx_runtime","lucide_react","Checkbox","props","className"],"sources":["../../../src/components/Checkbox.tsx"],"sourcesContent":["import { Checkbox as CheckboxPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { CheckIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\n\n/** A box that is on, off, or indeterminate; the tick is the accent on the deep well. */\nexport function Checkbox({ className, ...props }: ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green',\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator data-slot=\"checkbox-indicator\" className=\"text-po-green\">\n <CheckIcon className=\"h-2.5 w-2.5\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n"],"mappings":"A,kJAOA,SAAgBO,EAAS,CAAE,YAAW,GAAGC,GAAwD,CAC/F,MACE,iBAAA,EAAAH,EAAA,IAAA,CAACL,EAAAA,SAAkB,KAAnB,CACE,YAAU,WACV,UAAWC,EAAAA,GACT,yUACAQ,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAH,EAAA,IAAA,CAACL,EAAAA,SAAkB,UAAnB,CAA6B,YAAU,qBAAqB,UAAU,gBACpE,SAAA,iBAAA,EAAAK,EAAA,IAAA,CAACH,EAAAA,MAAD,CAAW,UAAU,aAAe,CAAA,CACT,CAAA,CACP,CAAA,CAE5B,C"}
1
+ {"version":3,"file":"Checkbox.cjs","names":["CheckboxPrimitive","cn","CheckIcon","require_cn","radix_ui","react_jsx_runtime","lucide_react","Checkbox","props","className"],"sources":["../../../src/components/Checkbox.tsx"],"sourcesContent":["import { Checkbox as CheckboxPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { CheckIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\n\n/** A box that is on, off, or indeterminate; the tick is the accent on the deep well. */\nexport function Checkbox({ className, ...props }: ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green',\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator data-slot=\"checkbox-indicator\" className=\"text-po-green\">\n <CheckIcon className=\"h-2.5 w-2.5\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n"],"mappings":"A,kJAOA,SAAgBO,EAAS,CAAE,YAAW,GAAGC,GAAwD,CAC/F,MACE,iBAAA,EAAAH,EAAA,IAAA,CAACL,EAAAA,SAAkB,KAAnB,CACE,YAAU,WACV,UAAWC,EAAAA,GACT,yUACAQ,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAH,EAAA,IAAA,CAACL,EAAAA,SAAkB,UAAnB,CAA6B,YAAU,qBAAqB,UAAU,gBACpE,SAAA,iBAAA,EAAAK,EAAA,IAAA,CAACH,EAAAA,MAAD,CAAW,UAAU,aAAe,CAAA,CACT,CAAA,CACP,CAAA,CAE5B,C"}
@@ -1,2 +1,2 @@
1
- import{CheckIcon as e}from"../icons/icons.mjs";import{cn as t}from"../lib/cn.mjs";import{Checkbox as n}from"radix-ui";import{jsx as r}from"react/jsx-runtime";function i({className:i,...a}){return/* @__PURE__ */ r(n.Root,{"data-slot":`checkbox`,className:t(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green`,i),...a,children:/* @__PURE__ */ r(n.Indicator,{"data-slot":`checkbox-indicator`,className:`text-po-green`,children:/* @__PURE__ */ r(e,{className:`h-2.5 w-2.5`})})})}export{i as Checkbox};
1
+ import{CheckIcon as e}from"../icons/icons.mjs";import{cn as t}from"../lib/cn.mjs";import{Checkbox as n}from"radix-ui";import{jsx as r}from"react/jsx-runtime";function i({className:i,...a}){return/* @__PURE__ */ r(n.Root,{"data-slot":`checkbox`,className:t(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green`,i),...a,children:/* @__PURE__ */ r(n.Indicator,{"data-slot":`checkbox-indicator`,className:`text-po-green`,children:/* @__PURE__ */ r(e,{className:`h-2.5 w-2.5`})})})}export{i as Checkbox};
2
2
  //# sourceMappingURL=Checkbox.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.mjs","names":["Checkbox","CheckboxPrimitive","Checkbox$1","props","Checkbox","cn","className","CheckIcon"],"sources":["../../../src/components/Checkbox.tsx"],"sourcesContent":["import { Checkbox as CheckboxPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { CheckIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\n\n/** A box that is on, off, or indeterminate; the tick is the accent on the deep well. */\nexport function Checkbox({ className, ...props }: ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green',\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator data-slot=\"checkbox-indicator\" className=\"text-po-green\">\n <CheckIcon className=\"h-2.5 w-2.5\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n"],"mappings":"A,8JAOA,SAAgBA,EAAS,CAAE,YAAW,GAAGG,GAAwD,CAC/F,MACE,kBAACF,EAAkB,KAAnB,CACE,YAAU,WACV,UAAWI,EACT,yUACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAkB,UAAnB,CAA6B,YAAU,qBAAqB,UAAU,gBACpE,SAAA,kBAACM,EAAD,CAAW,UAAU,aAAe,CAAA,CACT,CAAA,CACP,CAAA,CAE5B,C"}
1
+ {"version":3,"file":"Checkbox.mjs","names":["Checkbox","CheckboxPrimitive","Checkbox$1","props","Checkbox","cn","className","CheckIcon"],"sources":["../../../src/components/Checkbox.tsx"],"sourcesContent":["import { Checkbox as CheckboxPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { CheckIcon } from '../icons/icons';\nimport { cn } from '../lib/cn';\n\n/** A box that is on, off, or indeterminate; the tick is the accent on the deep well. */\nexport function Checkbox({ className, ...props }: ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-sm border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=indeterminate]:border-po-green',\n className,\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator data-slot=\"checkbox-indicator\" className=\"text-po-green\">\n <CheckIcon className=\"h-2.5 w-2.5\" />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n );\n}\n"],"mappings":"A,8JAOA,SAAgBA,EAAS,CAAE,YAAW,GAAGG,GAAwD,CAC/F,MACE,kBAACF,EAAkB,KAAnB,CACE,YAAU,WACV,UAAWI,EACT,yUACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAkB,UAAnB,CAA6B,YAAU,qBAAqB,UAAU,gBACpE,SAAA,kBAACM,EAAD,CAAW,UAAU,aAAe,CAAA,CACT,CAAA,CACP,CAAA,CAE5B,C"}
@@ -1,2 +1,2 @@
1
- const e=require("../lib/cn.cjs");let t=require("react/jsx-runtime");const n=(0,require("class-variance-authority").cva)(`min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red`,{variants:{variant:{default:`rounded border border-po-border bg-po-deep transition-colors focus:border-po-green/60`,bare:`border-0 bg-transparent`},size:{xs:`min-h-6 px-1.5 py-0.5 text-sm`,sm:`min-h-7 px-2 py-1 text-sm`,md:`min-h-8 px-2.5 py-1.5 text-base`,lg:`min-h-9 px-3 py-1.5 text-base`}},compoundVariants:[{variant:`bare`,class:`min-h-0 p-0`}],defaultVariants:{variant:`default`,size:`md`}});function r({className:r,type:i,variant:a,size:o,...s}){return/* @__PURE__ */ (0,t.jsx)(`input`,{type:i??`text`,"data-slot":`input`,spellCheck:!1,className:e.cn(n({variant:a,size:o}),r),...s})}exports.Input=r,exports.fieldVariants=n;
1
+ const e=require("../lib/cn.cjs");let t=require("react/jsx-runtime");const n=(0,require("class-variance-authority").cva)(`min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red`,{variants:{variant:{default:`rounded border border-po-border bg-po-deep transition-[color,background-color,border-color,box-shadow] focus:border-po-green/60 focus-visible:ring-2 focus-visible:ring-po-green/70 aria-invalid:focus-visible:ring-po-red/70`,bare:`border-0 bg-transparent`},size:{xs:`min-h-6 px-1.5 py-0.5 text-sm`,sm:`min-h-7 px-2 py-1 text-sm`,md:`min-h-8 px-2.5 py-1.5 text-base`,lg:`min-h-9 px-3 py-1.5 text-base`}},compoundVariants:[{variant:`bare`,class:`min-h-0 p-0`}],defaultVariants:{variant:`default`,size:`md`}});function r({className:r,type:i,variant:a,size:o,...s}){return/* @__PURE__ */ (0,t.jsx)(`input`,{type:i??`text`,"data-slot":`input`,spellCheck:!1,className:e.cn(n({variant:a,size:o}),r),...s})}exports.Input=r,exports.fieldVariants=n;
2
2
  //# sourceMappingURL=Input.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.cjs","names":["cva","cn","require_cn","react_jsx_runtime","fieldVariants","Input","props","type","className"],"sources":["../../../src/components/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The shape both fields wear, so a single-line and a multi-line field in the\n * same form agree on their well, their type ramp, and their invalid state.\n * Textarea builds on it rather than restating it.\n */\nexport const fieldVariants = cva(\n 'min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red',\n {\n variants: {\n variant: {\n default: 'rounded border border-po-border bg-po-deep transition-colors focus:border-po-green/60',\n /** No well: a composer or a palette search that draws its own surface. */\n bare: 'border-0 bg-transparent',\n },\n /** The same rungs Button names, so a field and the button beside it line up. */\n size: {\n xs: 'min-h-6 px-1.5 py-0.5 text-sm',\n sm: 'min-h-7 px-2 py-1 text-sm',\n md: 'min-h-8 px-2.5 py-1.5 text-base',\n lg: 'min-h-9 px-3 py-1.5 text-base',\n },\n },\n compoundVariants: [\n // A bare field sits inside a surface that already has its own padding,\n // so it keeps the size's type ramp and gives up the size's box.\n { variant: 'bare', class: 'min-h-0 p-0' },\n ],\n defaultVariants: { variant: 'default', size: 'md' },\n },\n);\n\nexport type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;\nexport type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;\n\nexport interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}\n\n/** The one text field: deep well, quiet border, accent border on focus, red edge when invalid. */\nexport function Input({ className, type, variant, size, ...props }: InputProps) {\n return (\n <input\n type={type ?? 'text'}\n data-slot=\"input\"\n spellCheck={false}\n className={cn(fieldVariants({ variant, size }), className)}\n {...props}\n />\n );\n}\n"],"mappings":"A,oEAUA,MAAaI,GAAA,E,kCAAgBJ,CAAAA,CAAAA,IAAAA,CAC3B,gKACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,wFAET,KAAM,yBACR,EAEA,KAAM,CACJ,GAAI,gCACJ,GAAI,4BACJ,GAAI,kCACJ,GAAI,+BACN,CACF,EACA,iBAAkB,CAGhB,CAAE,QAAS,OAAQ,MAAO,aAAc,CAC1C,EACA,gBAAiB,CAAE,QAAS,UAAW,KAAM,IAAK,CACpD,CACF,EAQA,SAAgBK,EAAM,CAAE,YAAW,OAAM,UAAS,OAAM,GAAGC,GAAqB,CAC9E,MACE,iBAAA,EAAAH,EAAA,IAAA,CAAC,QAAD,CACE,KAAMI,GAAQ,OACd,YAAU,QACV,WAAY,GACZ,UAAWN,EAAAA,GAAGG,EAAc,CAAE,UAAS,MAAK,CAAC,EAAGI,CAAS,EACzD,GAAIF,CACL,CAAA,CAEL,C"}
1
+ {"version":3,"file":"Input.cjs","names":["cva","cn","require_cn","react_jsx_runtime","fieldVariants","Input","props","type","className"],"sources":["../../../src/components/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The shape both fields wear, so a single-line and a multi-line field in the\n * same form agree on their well, their type ramp, and their invalid state.\n * Textarea builds on it rather than restating it.\n */\nexport const fieldVariants = cva(\n 'min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red',\n {\n variants: {\n variant: {\n // A jade ring at 70%: the lightest that keeps 3:1 against the page in every shipped theme.\n default:\n 'rounded border border-po-border bg-po-deep transition-[color,background-color,border-color,box-shadow] focus:border-po-green/60 focus-visible:ring-2 focus-visible:ring-po-green/70 aria-invalid:focus-visible:ring-po-red/70',\n /** No well: a composer or a palette search that draws its own surface. */\n bare: 'border-0 bg-transparent',\n },\n /** The same rungs Button names, so a field and the button beside it line up. */\n size: {\n xs: 'min-h-6 px-1.5 py-0.5 text-sm',\n sm: 'min-h-7 px-2 py-1 text-sm',\n md: 'min-h-8 px-2.5 py-1.5 text-base',\n lg: 'min-h-9 px-3 py-1.5 text-base',\n },\n },\n compoundVariants: [\n // A bare field sits inside a surface that already has its own padding,\n // so it keeps the size's type ramp and gives up the size's box.\n { variant: 'bare', class: 'min-h-0 p-0' },\n ],\n defaultVariants: { variant: 'default', size: 'md' },\n },\n);\n\nexport type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;\nexport type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;\n\nexport interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}\n\n/** The one text field: deep well, quiet border, jade ring on focus, red edge when invalid. */\nexport function Input({ className, type, variant, size, ...props }: InputProps) {\n return (\n <input\n type={type ?? 'text'}\n data-slot=\"input\"\n spellCheck={false}\n className={cn(fieldVariants({ variant, size }), className)}\n {...props}\n />\n );\n}\n"],"mappings":"A,oEAUA,MAAaI,GAAA,E,kCAAgBJ,CAAAA,CAAAA,IAAAA,CAC3B,gKACA,CACE,SAAU,CACR,QAAS,CAEP,QACE,gOAEF,KAAM,yBACR,EAEA,KAAM,CACJ,GAAI,gCACJ,GAAI,4BACJ,GAAI,kCACJ,GAAI,+BACN,CACF,EACA,iBAAkB,CAGhB,CAAE,QAAS,OAAQ,MAAO,aAAc,CAC1C,EACA,gBAAiB,CAAE,QAAS,UAAW,KAAM,IAAK,CACpD,CACF,EAQA,SAAgBK,EAAM,CAAE,YAAW,OAAM,UAAS,OAAM,GAAGC,GAAqB,CAC9E,MACE,iBAAA,EAAAH,EAAA,IAAA,CAAC,QAAD,CACE,KAAMI,GAAQ,OACd,YAAU,QACV,WAAY,GACZ,UAAWN,EAAAA,GAAGG,EAAc,CAAE,UAAS,MAAK,CAAC,EAAGI,CAAS,EACzD,GAAIF,CACL,CAAA,CAEL,C"}
@@ -13,7 +13,7 @@ export declare const fieldVariants: (props?: ({
13
13
  export type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;
14
14
  export type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;
15
15
  export interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}
16
- /** The one text field: deep well, quiet border, accent border on focus, red edge when invalid. */
16
+ /** The one text field: deep well, quiet border, jade ring on focus, red edge when invalid. */
17
17
  export declare function Input({ className, type, variant, size, ...props }: InputProps): import("react").JSX.Element;
18
18
  //#endregion
19
19
  //# sourceMappingURL=Input.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.mts","names":[],"sources":["../../../src/components/Input.tsx"],"mappings":";;;;;;;;qBAUa,gBAAa;;;6CAwBzB;YAEW,eAAe,YAAY,oBAAoB;YAC/C,YAAY,YAAY,oBAAoB;iBAEvC,mBAAmB,KAAK,kCAAkC,oBAAoB;;wBAG/E,QAAQ,WAAW,MAAM,SAAS,SAAS,SAAS,6BAAU,IAAA"}
1
+ {"version":3,"file":"Input.d.mts","names":[],"sources":["../../../src/components/Input.tsx"],"mappings":";;;;;;;;qBAUa,gBAAa;;;6CA0BzB;YAEW,eAAe,YAAY,oBAAoB;YAC/C,YAAY,YAAY,oBAAoB;iBAEvC,mBAAmB,KAAK,kCAAkC,oBAAoB;;wBAG/E,QAAQ,WAAW,MAAM,SAAS,SAAS,SAAS,6BAAU,IAAA"}
@@ -1,2 +1,2 @@
1
- import{cn as e}from"../lib/cn.mjs";import{jsx as t}from"react/jsx-runtime";import{cva as n}from"class-variance-authority";const r=n(`min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red`,{variants:{variant:{default:`rounded border border-po-border bg-po-deep transition-colors focus:border-po-green/60`,bare:`border-0 bg-transparent`},size:{xs:`min-h-6 px-1.5 py-0.5 text-sm`,sm:`min-h-7 px-2 py-1 text-sm`,md:`min-h-8 px-2.5 py-1.5 text-base`,lg:`min-h-9 px-3 py-1.5 text-base`}},compoundVariants:[{variant:`bare`,class:`min-h-0 p-0`}],defaultVariants:{variant:`default`,size:`md`}});function i({className:n,type:i,variant:a,size:o,...s}){return/* @__PURE__ */ t(`input`,{type:i??`text`,"data-slot":`input`,spellCheck:!1,className:e(r({variant:a,size:o}),n),...s})}export{i as Input,r as fieldVariants};
1
+ import{cn as e}from"../lib/cn.mjs";import{jsx as t}from"react/jsx-runtime";import{cva as n}from"class-variance-authority";const r=n(`min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red`,{variants:{variant:{default:`rounded border border-po-border bg-po-deep transition-[color,background-color,border-color,box-shadow] focus:border-po-green/60 focus-visible:ring-2 focus-visible:ring-po-green/70 aria-invalid:focus-visible:ring-po-red/70`,bare:`border-0 bg-transparent`},size:{xs:`min-h-6 px-1.5 py-0.5 text-sm`,sm:`min-h-7 px-2 py-1 text-sm`,md:`min-h-8 px-2.5 py-1.5 text-base`,lg:`min-h-9 px-3 py-1.5 text-base`}},compoundVariants:[{variant:`bare`,class:`min-h-0 p-0`}],defaultVariants:{variant:`default`,size:`md`}});function i({className:n,type:i,variant:a,size:o,...s}){return/* @__PURE__ */ t(`input`,{type:i??`text`,"data-slot":`input`,spellCheck:!1,className:e(r({variant:a,size:o}),n),...s})}export{i as Input,r as fieldVariants};
2
2
  //# sourceMappingURL=Input.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Input.mjs","names":["fieldVariants","cva","Input","props","type","cn","className"],"sources":["../../../src/components/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The shape both fields wear, so a single-line and a multi-line field in the\n * same form agree on their well, their type ramp, and their invalid state.\n * Textarea builds on it rather than restating it.\n */\nexport const fieldVariants = cva(\n 'min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red',\n {\n variants: {\n variant: {\n default: 'rounded border border-po-border bg-po-deep transition-colors focus:border-po-green/60',\n /** No well: a composer or a palette search that draws its own surface. */\n bare: 'border-0 bg-transparent',\n },\n /** The same rungs Button names, so a field and the button beside it line up. */\n size: {\n xs: 'min-h-6 px-1.5 py-0.5 text-sm',\n sm: 'min-h-7 px-2 py-1 text-sm',\n md: 'min-h-8 px-2.5 py-1.5 text-base',\n lg: 'min-h-9 px-3 py-1.5 text-base',\n },\n },\n compoundVariants: [\n // A bare field sits inside a surface that already has its own padding,\n // so it keeps the size's type ramp and gives up the size's box.\n { variant: 'bare', class: 'min-h-0 p-0' },\n ],\n defaultVariants: { variant: 'default', size: 'md' },\n },\n);\n\nexport type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;\nexport type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;\n\nexport interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}\n\n/** The one text field: deep well, quiet border, accent border on focus, red edge when invalid. */\nexport function Input({ className, type, variant, size, ...props }: InputProps) {\n return (\n <input\n type={type ?? 'text'}\n data-slot=\"input\"\n spellCheck={false}\n className={cn(fieldVariants({ variant, size }), className)}\n {...props}\n />\n );\n}\n"],"mappings":"A,0HAUA,MAAaA,EAAgBC,EAC3B,gKACA,CACE,SAAU,CACR,QAAS,CACP,QAAS,wFAET,KAAM,yBACR,EAEA,KAAM,CACJ,GAAI,gCACJ,GAAI,4BACJ,GAAI,kCACJ,GAAI,+BACN,CACF,EACA,iBAAkB,CAGhB,CAAE,QAAS,OAAQ,MAAO,aAAc,CAC1C,EACA,gBAAiB,CAAE,QAAS,UAAW,KAAM,IAAK,CACpD,CACF,EAQA,SAAgBC,EAAM,CAAE,YAAW,OAAM,UAAS,OAAM,GAAGC,GAAqB,CAC9E,MACE,kBAAC,QAAD,CACE,KAAMC,GAAQ,OACd,YAAU,QACV,WAAY,GACZ,UAAWC,EAAGL,EAAc,CAAE,UAAS,MAAK,CAAC,EAAGM,CAAS,EACzD,GAAIH,CACL,CAAA,CAEL,C"}
1
+ {"version":3,"file":"Input.mjs","names":["fieldVariants","cva","Input","props","type","cn","className"],"sources":["../../../src/components/Input.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The shape both fields wear, so a single-line and a multi-line field in the\n * same form agree on their well, their type ramp, and their invalid state.\n * Textarea builds on it rather than restating it.\n */\nexport const fieldVariants = cva(\n 'min-w-0 pointer-coarse:text-xl text-po-hi outline-none placeholder:text-po-faint disabled:opacity-50 aria-invalid:border-po-edge-red aria-invalid:text-po-red',\n {\n variants: {\n variant: {\n // A jade ring at 70%: the lightest that keeps 3:1 against the page in every shipped theme.\n default:\n 'rounded border border-po-border bg-po-deep transition-[color,background-color,border-color,box-shadow] focus:border-po-green/60 focus-visible:ring-2 focus-visible:ring-po-green/70 aria-invalid:focus-visible:ring-po-red/70',\n /** No well: a composer or a palette search that draws its own surface. */\n bare: 'border-0 bg-transparent',\n },\n /** The same rungs Button names, so a field and the button beside it line up. */\n size: {\n xs: 'min-h-6 px-1.5 py-0.5 text-sm',\n sm: 'min-h-7 px-2 py-1 text-sm',\n md: 'min-h-8 px-2.5 py-1.5 text-base',\n lg: 'min-h-9 px-3 py-1.5 text-base',\n },\n },\n compoundVariants: [\n // A bare field sits inside a surface that already has its own padding,\n // so it keeps the size's type ramp and gives up the size's box.\n { variant: 'bare', class: 'min-h-0 p-0' },\n ],\n defaultVariants: { variant: 'default', size: 'md' },\n },\n);\n\nexport type FieldVariant = NonNullable<VariantProps<typeof fieldVariants>['variant']>;\nexport type FieldSize = NonNullable<VariantProps<typeof fieldVariants>['size']>;\n\nexport interface InputProps extends Omit<ComponentProps<'input'>, 'size'>, VariantProps<typeof fieldVariants> {}\n\n/** The one text field: deep well, quiet border, jade ring on focus, red edge when invalid. */\nexport function Input({ className, type, variant, size, ...props }: InputProps) {\n return (\n <input\n type={type ?? 'text'}\n data-slot=\"input\"\n spellCheck={false}\n className={cn(fieldVariants({ variant, size }), className)}\n {...props}\n />\n );\n}\n"],"mappings":"A,0HAUA,MAAaA,EAAgBC,EAC3B,gKACA,CACE,SAAU,CACR,QAAS,CAEP,QACE,gOAEF,KAAM,yBACR,EAEA,KAAM,CACJ,GAAI,gCACJ,GAAI,4BACJ,GAAI,kCACJ,GAAI,+BACN,CACF,EACA,iBAAkB,CAGhB,CAAE,QAAS,OAAQ,MAAO,aAAc,CAC1C,EACA,gBAAiB,CAAE,QAAS,UAAW,KAAM,IAAK,CACpD,CACF,EAQA,SAAgBC,EAAM,CAAE,YAAW,OAAM,UAAS,OAAM,GAAGC,GAAqB,CAC9E,MACE,kBAAC,QAAD,CACE,KAAMC,GAAQ,OACd,YAAU,QACV,WAAY,GACZ,UAAWC,EAAGL,EAAc,CAAE,UAAS,MAAK,CAAC,EAAGM,CAAS,EACzD,GAAIH,CACL,CAAA,CAEL,C"}
@@ -1,2 +1,2 @@
1
- const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime");function r({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Root,{"data-slot":`radio-group`,className:e.cn(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Item,{"data-slot":`radio-group-item`,className:e.cn(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green`,r),...i,children:/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Indicator,{"data-slot":`radio-group-indicator`,className:`block h-1.5 w-1.5 rounded-full bg-po-green`})})}function a({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Item,{"data-slot":`radio-group-card`,className:e.cn(`cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/50 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i})}exports.RadioGroup=r,exports.RadioGroupCard=a,exports.RadioGroupItem=i;
1
+ const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime");function r({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Root,{"data-slot":`radio-group`,className:e.cn(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Item,{"data-slot":`radio-group-item`,className:e.cn(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green`,r),...i,children:/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Indicator,{"data-slot":`radio-group-indicator`,className:`block h-1.5 w-1.5 rounded-full bg-po-green`})})}function a({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.RadioGroup.Item,{"data-slot":`radio-group-card`,className:e.cn(`cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/70 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i})}exports.RadioGroup=r,exports.RadioGroupCard=a,exports.RadioGroupItem=i;
2
2
  //# sourceMappingURL=RadioGroup.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.cjs","names":["RadioGroupPrimitive","cn","require_cn","radix_ui","react_jsx_runtime","RadioGroup","props","className","RadioGroupItem","RadioGroupCard"],"sources":["../../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */\nexport function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('flex flex-col gap-2', className)} {...props} />\n );\n}\n\nexport function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"block h-1.5 w-1.5 rounded-full bg-po-green\"\n />\n </RadioGroupPrimitive.Item>\n );\n}\n\n/**\n * A whole card that is one radio choice: the theme picker, where the target is\n * the preview rather than a dot. Radix keeps the roving focus and the checked\n * state; the card supplies the frame.\n */\nexport function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-card\"\n className={cn(\n 'cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/50 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n />\n );\n}\n"],"mappings":"A,0FAMA,SAAgBK,EAAW,CAAE,YAAW,GAAGC,GAA0D,CACnG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CAA0B,YAAU,cAAc,UAAWC,EAAAA,GAAG,sBAAuBM,CAAS,EAAG,GAAID,CAAQ,CAAA,CAEnH,CAEA,SAAgBE,EAAe,CAAE,YAAW,GAAGF,GAA0D,CACvG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CACE,YAAU,mBACV,UAAWC,EAAAA,GACT,gSACAM,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,UAArB,CACE,YAAU,wBACV,UAAU,4CACX,CAAA,CACuB,CAAA,CAE9B,CAOA,SAAgBS,EAAe,CAAE,YAAW,GAAGH,GAA0D,CACvG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CACE,YAAU,mBACV,UAAWC,EAAAA,GACT,qQACAM,CACF,EACA,GAAID,CACL,CAAA,CAEL,C"}
1
+ {"version":3,"file":"RadioGroup.cjs","names":["RadioGroupPrimitive","cn","require_cn","radix_ui","react_jsx_runtime","RadioGroup","props","className","RadioGroupItem","RadioGroupCard"],"sources":["../../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */\nexport function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('flex flex-col gap-2', className)} {...props} />\n );\n}\n\nexport function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"block h-1.5 w-1.5 rounded-full bg-po-green\"\n />\n </RadioGroupPrimitive.Item>\n );\n}\n\n/**\n * A whole card that is one radio choice: the theme picker, where the target is\n * the preview rather than a dot. Radix keeps the roving focus and the checked\n * state; the card supplies the frame.\n */\nexport function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-card\"\n className={cn(\n 'cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/70 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n />\n );\n}\n"],"mappings":"A,0FAMA,SAAgBK,EAAW,CAAE,YAAW,GAAGC,GAA0D,CACnG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CAA0B,YAAU,cAAc,UAAWC,EAAAA,GAAG,sBAAuBM,CAAS,EAAG,GAAID,CAAQ,CAAA,CAEnH,CAEA,SAAgBE,EAAe,CAAE,YAAW,GAAGF,GAA0D,CACvG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CACE,YAAU,mBACV,UAAWC,EAAAA,GACT,gSACAM,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,UAArB,CACE,YAAU,wBACV,UAAU,4CACX,CAAA,CACuB,CAAA,CAE9B,CAOA,SAAgBS,EAAe,CAAE,YAAW,GAAGH,GAA0D,CACvG,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,WAAoB,KAArB,CACE,YAAU,mBACV,UAAWC,EAAAA,GACT,qQACAM,CACF,EACA,GAAID,CACL,CAAA,CAEL,C"}
@@ -1,2 +1,2 @@
1
- import{cn as e}from"../lib/cn.mjs";import{RadioGroup as t}from"radix-ui";import{jsx as n}from"react/jsx-runtime";function r({className:r,...i}){return/* @__PURE__ */ n(t.Root,{"data-slot":`radio-group`,className:e(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return/* @__PURE__ */ n(t.Item,{"data-slot":`radio-group-item`,className:e(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green`,r),...i,children:/* @__PURE__ */ n(t.Indicator,{"data-slot":`radio-group-indicator`,className:`block h-1.5 w-1.5 rounded-full bg-po-green`})})}function a({className:r,...i}){return/* @__PURE__ */ n(t.Item,{"data-slot":`radio-group-card`,className:e(`cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/50 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i})}export{r as RadioGroup,a as RadioGroupCard,i as RadioGroupItem};
1
+ import{cn as e}from"../lib/cn.mjs";import{RadioGroup as t}from"radix-ui";import{jsx as n}from"react/jsx-runtime";function r({className:r,...i}){return/* @__PURE__ */ n(t.Root,{"data-slot":`radio-group`,className:e(`flex flex-col gap-2`,r),...i})}function i({className:r,...i}){return/* @__PURE__ */ n(t.Item,{"data-slot":`radio-group-item`,className:e(`flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green`,r),...i,children:/* @__PURE__ */ n(t.Indicator,{"data-slot":`radio-group-indicator`,className:`block h-1.5 w-1.5 rounded-full bg-po-green`})})}function a({className:r,...i}){return/* @__PURE__ */ n(t.Item,{"data-slot":`radio-group-card`,className:e(`cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/70 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i})}export{r as RadioGroup,a as RadioGroupCard,i as RadioGroupItem};
2
2
  //# sourceMappingURL=RadioGroup.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.mjs","names":["RadioGroup","RadioGroupPrimitive","RadioGroup$1","props","RadioGroup","cn","className","RadioGroupItem","RadioGroupCard"],"sources":["../../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */\nexport function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('flex flex-col gap-2', className)} {...props} />\n );\n}\n\nexport function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"block h-1.5 w-1.5 rounded-full bg-po-green\"\n />\n </RadioGroupPrimitive.Item>\n );\n}\n\n/**\n * A whole card that is one radio choice: the theme picker, where the target is\n * the preview rather than a dot. Radix keeps the roving focus and the checked\n * state; the card supplies the frame.\n */\nexport function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-card\"\n className={cn(\n 'cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/50 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n />\n );\n}\n"],"mappings":"A,iHAMA,SAAgBA,EAAW,CAAE,YAAW,GAAGG,GAA0D,CACnG,MACE,kBAACF,EAAoB,KAArB,CAA0B,YAAU,cAAc,UAAWI,EAAG,sBAAuBC,CAAS,EAAG,GAAIH,CAAQ,CAAA,CAEnH,CAEA,SAAgBI,EAAe,CAAE,YAAW,GAAGJ,GAA0D,CACvG,MACE,kBAACF,EAAoB,KAArB,CACE,YAAU,mBACV,UAAWI,EACT,gSACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAoB,UAArB,CACE,YAAU,wBACV,UAAU,4CACX,CAAA,CACuB,CAAA,CAE9B,CAOA,SAAgBO,EAAe,CAAE,YAAW,GAAGL,GAA0D,CACvG,MACE,kBAACF,EAAoB,KAArB,CACE,YAAU,mBACV,UAAWI,EACT,qQACAC,CACF,EACA,GAAIH,CACL,CAAA,CAEL,C"}
1
+ {"version":3,"file":"RadioGroup.mjs","names":["RadioGroup","RadioGroupPrimitive","RadioGroup$1","props","RadioGroup","cn","className","RadioGroupItem","RadioGroupCard"],"sources":["../../../src/components/RadioGroup.tsx"],"sourcesContent":["import { RadioGroup as RadioGroupPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** One choice out of several; Radix owns the arrow-key roving focus a native group has. */\nexport function RadioGroup({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root data-slot=\"radio-group\" className={cn('flex flex-col gap-2', className)} {...props} />\n );\n}\n\nexport function RadioGroupItem({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n 'flex h-3.5 w-3.5 shrink-0 cursor-pointer items-center justify-center rounded-full border border-po-border bg-po-deep outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green',\n className,\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"block h-1.5 w-1.5 rounded-full bg-po-green\"\n />\n </RadioGroupPrimitive.Item>\n );\n}\n\n/**\n * A whole card that is one radio choice: the theme picker, where the target is\n * the preview rather than a dot. Radix keeps the roving focus and the checked\n * state; the card supplies the frame.\n */\nexport function RadioGroupCard({ className, ...props }: ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-card\"\n className={cn(\n 'cursor-pointer rounded-md border border-po-border bg-po-panel p-2 text-left outline-none transition-colors hover:border-po-green/50 focus-visible:ring-2 focus-visible:ring-po-green/70 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n />\n );\n}\n"],"mappings":"A,iHAMA,SAAgBA,EAAW,CAAE,YAAW,GAAGG,GAA0D,CACnG,MACE,kBAACF,EAAoB,KAArB,CAA0B,YAAU,cAAc,UAAWI,EAAG,sBAAuBC,CAAS,EAAG,GAAIH,CAAQ,CAAA,CAEnH,CAEA,SAAgBI,EAAe,CAAE,YAAW,GAAGJ,GAA0D,CACvG,MACE,kBAACF,EAAoB,KAArB,CACE,YAAU,mBACV,UAAWI,EACT,gSACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAoB,UAArB,CACE,YAAU,wBACV,UAAU,4CACX,CAAA,CACuB,CAAA,CAE9B,CAOA,SAAgBO,EAAe,CAAE,YAAW,GAAGL,GAA0D,CACvG,MACE,kBAACF,EAAoB,KAArB,CACE,YAAU,mBACV,UAAWI,EACT,qQACAC,CACF,EACA,GAAIH,CACL,CAAA,CAEL,C"}
@@ -1,2 +1,2 @@
1
- const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime");function r({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.Switch.Root,{"data-slot":`switch`,className:e.cn(`inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i,children:/* @__PURE__ */ (0,n.jsx)(t.Switch.Thumb,{"data-slot":`switch-thumb`,className:`block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green`})})}exports.Switch=r;
1
+ const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime");function r({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.Switch.Root,{"data-slot":`switch`,className:e.cn(`inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i,children:/* @__PURE__ */ (0,n.jsx)(t.Switch.Thumb,{"data-slot":`switch-thumb`,className:`block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green`})})}exports.Switch=r;
2
2
  //# sourceMappingURL=Switch.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.cjs","names":["SwitchPrimitive","cn","require_cn","radix_ui","react_jsx_runtime","Switch","props","className"],"sources":["../../../src/components/Switch.tsx"],"sourcesContent":["import { Switch as SwitchPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** An on/off track; use it where the change takes effect immediately, a checkbox where it needs a save. */\nexport function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className=\"block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green\"\n />\n </SwitchPrimitive.Root>\n );\n}\n"],"mappings":"A,0FAMA,SAAgBK,EAAO,CAAE,YAAW,GAAGC,GAAsD,CAC3F,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,OAAgB,KAAjB,CACE,YAAU,SACV,UAAWC,EAAAA,GACT,+TACAM,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,OAAgB,MAAjB,CACE,YAAU,eACV,UAAU,iIACX,CAAA,CACmB,CAAA,CAE1B,C"}
1
+ {"version":3,"file":"Switch.cjs","names":["SwitchPrimitive","cn","require_cn","radix_ui","react_jsx_runtime","Switch","props","className"],"sources":["../../../src/components/Switch.tsx"],"sourcesContent":["import { Switch as SwitchPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** An on/off track; use it where the change takes effect immediately, a checkbox where it needs a save. */\nexport function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className=\"block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green\"\n />\n </SwitchPrimitive.Root>\n );\n}\n"],"mappings":"A,0FAMA,SAAgBK,EAAO,CAAE,YAAW,GAAGC,GAAsD,CAC3F,MACE,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,OAAgB,KAAjB,CACE,YAAU,SACV,UAAWC,EAAAA,GACT,+TACAM,CACF,EACA,GAAID,EAEJ,SAAA,iBAAA,EAAAF,EAAA,IAAA,CAACJ,EAAAA,OAAgB,MAAjB,CACE,YAAU,eACV,UAAU,iIACX,CAAA,CACmB,CAAA,CAE1B,C"}
@@ -1,2 +1,2 @@
1
- import{cn as e}from"../lib/cn.mjs";import{Switch as t}from"radix-ui";import{jsx as n}from"react/jsx-runtime";function r({className:r,...i}){return/* @__PURE__ */ n(t.Root,{"data-slot":`switch`,className:e(`inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i,children:/* @__PURE__ */ n(t.Thumb,{"data-slot":`switch-thumb`,className:`block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green`})})}export{r as Switch};
1
+ import{cn as e}from"../lib/cn.mjs";import{Switch as t}from"radix-ui";import{jsx as n}from"react/jsx-runtime";function r({className:r,...i}){return/* @__PURE__ */ n(t.Root,{"data-slot":`switch`,className:e(`inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green`,r),...i,children:/* @__PURE__ */ n(t.Thumb,{"data-slot":`switch-thumb`,className:`block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green`})})}export{r as Switch};
2
2
  //# sourceMappingURL=Switch.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.mjs","names":["Switch","SwitchPrimitive","Switch$1","props","Switch","cn","className"],"sources":["../../../src/components/Switch.tsx"],"sourcesContent":["import { Switch as SwitchPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** An on/off track; use it where the change takes effect immediately, a checkbox where it needs a save. */\nexport function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/50 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className=\"block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green\"\n />\n </SwitchPrimitive.Root>\n );\n}\n"],"mappings":"A,6GAMA,SAAgBA,EAAO,CAAE,YAAW,GAAGG,GAAsD,CAC3F,MACE,kBAACF,EAAgB,KAAjB,CACE,YAAU,SACV,UAAWI,EACT,+TACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAgB,MAAjB,CACE,YAAU,eACV,UAAU,iIACX,CAAA,CACmB,CAAA,CAE1B,C"}
1
+ {"version":3,"file":"Switch.mjs","names":["Switch","SwitchPrimitive","Switch$1","props","Switch","cn","className"],"sources":["../../../src/components/Switch.tsx"],"sourcesContent":["import { Switch as SwitchPrimitive } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/** An on/off track; use it where the change takes effect immediately, a checkbox where it needs a save. */\nexport function Switch({ className, ...props }: ComponentProps<typeof SwitchPrimitive.Root>) {\n return (\n <SwitchPrimitive.Root\n data-slot=\"switch\"\n className={cn(\n 'inline-flex h-4 w-7 shrink-0 cursor-pointer items-center rounded-full border border-po-border bg-po-deep p-px outline-none transition-colors focus-visible:ring-2 focus-visible:ring-po-green/70 disabled:pointer-events-none disabled:opacity-40 data-[state=checked]:border-po-green data-[state=checked]:bg-po-tint-green',\n className,\n )}\n {...props}\n >\n <SwitchPrimitive.Thumb\n data-slot=\"switch-thumb\"\n className=\"block h-3 w-3 rounded-full bg-po-faint transition-transform data-[state=checked]:translate-x-3 data-[state=checked]:bg-po-green\"\n />\n </SwitchPrimitive.Root>\n );\n}\n"],"mappings":"A,6GAMA,SAAgBA,EAAO,CAAE,YAAW,GAAGG,GAAsD,CAC3F,MACE,kBAACF,EAAgB,KAAjB,CACE,YAAU,SACV,UAAWI,EACT,+TACAC,CACF,EACA,GAAIH,EAEJ,SAAA,kBAACF,EAAgB,MAAjB,CACE,YAAU,eACV,UAAU,iIACX,CAAA,CACmB,CAAA,CAE1B,C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agimon-ai/po-web-components",
3
- "version": "0.0.0-alpha.214",
3
+ "version": "0.0.0-alpha.215",
4
4
  "description": "Shared web components and theme tokens for the Po cockpit and its web plugins: shadcn-style primitives on Radix, tuned to the Po palette, with runtime theme configs.",
5
5
  "keywords": [
6
6
  "ai",
@@ -122,9 +122,9 @@
122
122
  "tailwind-merge": "3.7.0"
123
123
  },
124
124
  "devDependencies": {
125
- "@agimon-ai/po-build": "0.0.0-alpha.214",
126
- "@agimon-ai/po-core": "0.0.0-alpha.214",
127
- "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.214",
125
+ "@agimon-ai/po-build": "0.0.0-alpha.215",
126
+ "@agimon-ai/po-core": "0.0.0-alpha.215",
127
+ "@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.215",
128
128
  "@types/node": "26.6.5",
129
129
  "@types/react": "19.3.0",
130
130
  "@types/react-dom": "19.3.0",
@@ -137,7 +137,7 @@
137
137
  "vitest": "5.0.4"
138
138
  },
139
139
  "peerDependencies": {
140
- "@agimon-ai/po-core": "0.0.0-alpha.214",
140
+ "@agimon-ai/po-core": "0.0.0-alpha.215",
141
141
  "react": "^19.0.0",
142
142
  "react-dom": "^19.0.0"
143
143
  },