fix(ui): emit node-compatible root exports
This commit is contained in:
parent
50617c1813
commit
cd6546ef97
@ -1,4 +1,4 @@
|
||||
export { Button, type ButtonProps } from './components/Button';
|
||||
export { Button, type ButtonProps } from './components/Button.js';
|
||||
export {
|
||||
AppShell,
|
||||
AppShellMain,
|
||||
@ -18,8 +18,8 @@ export {
|
||||
type AppShellProps,
|
||||
type AppShellSidebarProps,
|
||||
type AppShellSkipLinkProps,
|
||||
} from './components/AppShell';
|
||||
export { IconButton, type IconButtonProps } from './components/IconButton';
|
||||
} from './components/AppShell.js';
|
||||
export { IconButton, type IconButtonProps } from './components/IconButton.js';
|
||||
export {
|
||||
Toast,
|
||||
ToastProvider,
|
||||
@ -27,20 +27,20 @@ export {
|
||||
toast,
|
||||
dismissToast,
|
||||
type ToastMessage,
|
||||
} from './components/Toast';
|
||||
export { Modal, type ModalProps } from './components/Modal';
|
||||
export { ConfirmDialog, type ConfirmDialogProps } from './components/ConfirmDialog';
|
||||
export { Badge, type BadgeProps } from './components/Badge';
|
||||
} from './components/Toast.js';
|
||||
export { Modal, type ModalProps } from './components/Modal.js';
|
||||
export { ConfirmDialog, type ConfirmDialogProps } from './components/ConfirmDialog.js';
|
||||
export { Badge, type BadgeProps } from './components/Badge.js';
|
||||
export {
|
||||
StatusBadge,
|
||||
StatusDot,
|
||||
type StatusBadgeProps,
|
||||
type StatusTone,
|
||||
} from './components/StatusBadge';
|
||||
export { EmptyState, type EmptyStateProps } from './components/EmptyState';
|
||||
export { Input, type InputProps } from './components/Input';
|
||||
export { Textarea, type TextareaProps } from './components/Textarea';
|
||||
export { Card, CardHeader, CardTitle, CardDescription, type CardProps } from './components/Card';
|
||||
} from './components/StatusBadge.js';
|
||||
export { EmptyState, type EmptyStateProps } from './components/EmptyState.js';
|
||||
export { Input, type InputProps } from './components/Input.js';
|
||||
export { Textarea, type TextareaProps } from './components/Textarea.js';
|
||||
export { Card, CardHeader, CardTitle, CardDescription, type CardProps } from './components/Card.js';
|
||||
export {
|
||||
Panel,
|
||||
PanelBody,
|
||||
@ -52,7 +52,7 @@ export {
|
||||
type PanelHeaderProps,
|
||||
type PanelProps,
|
||||
type PanelTitleProps,
|
||||
} from './components/Panel';
|
||||
} from './components/Panel.js';
|
||||
export {
|
||||
Surface,
|
||||
SurfaceList,
|
||||
@ -60,10 +60,10 @@ export {
|
||||
type SurfaceListItemProps,
|
||||
type SurfaceListProps,
|
||||
type SurfaceProps,
|
||||
} from './components/Surface';
|
||||
export { ListItemButton, type ListItemButtonProps } from './components/ListItemButton';
|
||||
export { Timeline, type TimelineItem, type TimelineProps } from './components/Timeline';
|
||||
export { DiffCard, type DiffCardProps } from './components/DiffCard';
|
||||
} from './components/Surface.js';
|
||||
export { ListItemButton, type ListItemButtonProps } from './components/ListItemButton.js';
|
||||
export { Timeline, type TimelineItem, type TimelineProps } from './components/Timeline.js';
|
||||
export { DiffCard, type DiffCardProps } from './components/DiffCard.js';
|
||||
export {
|
||||
DataList,
|
||||
DataListItem,
|
||||
@ -71,7 +71,7 @@ export {
|
||||
type DataListItemProps,
|
||||
type DataListMetaProps,
|
||||
type DataListProps,
|
||||
} from './components/DataList';
|
||||
} from './components/DataList.js';
|
||||
export {
|
||||
DataTable,
|
||||
DataTableBody,
|
||||
@ -85,9 +85,9 @@ export {
|
||||
type DataTableHeaderProps,
|
||||
type DataTableProps,
|
||||
type DataTableRowProps,
|
||||
} from './components/DataTable';
|
||||
export { Label, type LabelProps } from './components/Label';
|
||||
export { Select, type SelectProps } from './components/Select';
|
||||
} from './components/DataTable.js';
|
||||
export { Label, type LabelProps } from './components/Label.js';
|
||||
export { Select, type SelectProps } from './components/Select.js';
|
||||
export {
|
||||
Tabs,
|
||||
TabsContent,
|
||||
@ -96,19 +96,19 @@ export {
|
||||
type TabsContentProps,
|
||||
type TabsListProps,
|
||||
type TabsTriggerProps,
|
||||
} from './components/Tabs';
|
||||
} from './components/Tabs.js';
|
||||
export {
|
||||
SegmentedControl,
|
||||
type SegmentedControlOption,
|
||||
type SegmentedControlProps,
|
||||
} from './components/SegmentedControl';
|
||||
} from './components/SegmentedControl.js';
|
||||
export {
|
||||
Tooltip,
|
||||
TooltipContent,
|
||||
TooltipProvider,
|
||||
TooltipTrigger,
|
||||
type TooltipContentProps,
|
||||
} from './components/Tooltip';
|
||||
} from './components/Tooltip.js';
|
||||
export {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
@ -123,16 +123,16 @@ export {
|
||||
type DropdownMenuContentProps,
|
||||
type DropdownMenuItemProps,
|
||||
type DropdownMenuLabelProps,
|
||||
} from './components/DropdownMenu';
|
||||
export { Checkbox, type CheckboxProps } from './components/Checkbox';
|
||||
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps } from './components/RadioGroup';
|
||||
export { Switch, type SwitchProps } from './components/Switch';
|
||||
export { Separator, type SeparatorProps } from './components/Separator';
|
||||
} from './components/DropdownMenu.js';
|
||||
export { Checkbox, type CheckboxProps } from './components/Checkbox.js';
|
||||
export { RadioGroup, RadioGroupItem, type RadioGroupItemProps } from './components/RadioGroup.js';
|
||||
export { Switch, type SwitchProps } from './components/Switch.js';
|
||||
export { Separator, type SeparatorProps } from './components/Separator.js';
|
||||
export {
|
||||
Sidebar,
|
||||
SidebarItem,
|
||||
type SidebarProps,
|
||||
type SidebarItemProps,
|
||||
} from './components/Sidebar';
|
||||
export { StatCard, type StatCardProps } from './components/StatCard';
|
||||
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner';
|
||||
} from './components/Sidebar.js';
|
||||
export { StatCard, type StatCardProps } from './components/StatCard.js';
|
||||
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner.js';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user