fix(ui): use extensionless imports + bundler resolution for source-consumed package
This commit is contained in:
parent
c21c180ad2
commit
f808a3c05d
@ -1,4 +1,4 @@
|
||||
export { Button, type ButtonProps } from './components/Button.js';
|
||||
export { Button, type ButtonProps } from './components/Button';
|
||||
export {
|
||||
Toast,
|
||||
ToastProvider,
|
||||
@ -6,22 +6,22 @@ export {
|
||||
toast,
|
||||
dismissToast,
|
||||
type ToastMessage,
|
||||
} 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 { 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 { Label, type LabelProps } from './components/Label.js';
|
||||
export { Select, type SelectProps } from './components/Select.js';
|
||||
export { Separator, type SeparatorProps } from './components/Separator.js';
|
||||
} from './components/Toast';
|
||||
export { Modal, type ModalProps } from './components/Modal';
|
||||
export { ConfirmDialog, type ConfirmDialogProps } from './components/ConfirmDialog';
|
||||
export { Badge, type BadgeProps } from './components/Badge';
|
||||
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';
|
||||
export { Label, type LabelProps } from './components/Label';
|
||||
export { Select, type SelectProps } from './components/Select';
|
||||
export { Separator, type SeparatorProps } from './components/Separator';
|
||||
export {
|
||||
Sidebar,
|
||||
SidebarItem,
|
||||
type SidebarProps,
|
||||
type SidebarItemProps,
|
||||
} from './components/Sidebar.js';
|
||||
export { StatCard, type StatCardProps } from './components/StatCard.js';
|
||||
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner.js';
|
||||
} from './components/Sidebar';
|
||||
export { StatCard, type StatCardProps } from './components/StatCard';
|
||||
export { LoadingSpinner, type LoadingSpinnerProps } from './components/LoadingSpinner';
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"declaration": true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user