@marcoschwartz/lite-ui 0.2.0 → 0.3.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/dist/index.d.mts +99 -6
- package/dist/index.d.ts +99 -6
- package/dist/index.js +1122 -426
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1085 -426
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -2
package/dist/index.d.mts
CHANGED
|
@@ -429,6 +429,27 @@ interface FileUploadProps {
|
|
|
429
429
|
}
|
|
430
430
|
declare const FileUpload: React.FC<FileUploadProps>;
|
|
431
431
|
|
|
432
|
+
interface AudioPlayerProps {
|
|
433
|
+
src: string;
|
|
434
|
+
title?: string;
|
|
435
|
+
artist?: string;
|
|
436
|
+
album?: string;
|
|
437
|
+
coverArt?: string;
|
|
438
|
+
variant?: 'default' | 'compact' | 'mini';
|
|
439
|
+
autoPlay?: boolean;
|
|
440
|
+
loop?: boolean;
|
|
441
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
442
|
+
onPlay?: () => void;
|
|
443
|
+
onPause?: () => void;
|
|
444
|
+
onEnded?: () => void;
|
|
445
|
+
onTimeUpdate?: (currentTime: number) => void;
|
|
446
|
+
className?: string;
|
|
447
|
+
showSkipButtons?: boolean;
|
|
448
|
+
onSkipBack?: () => void;
|
|
449
|
+
onSkipForward?: () => void;
|
|
450
|
+
}
|
|
451
|
+
declare const AudioPlayer: React.FC<AudioPlayerProps>;
|
|
452
|
+
|
|
432
453
|
type ThemeName = 'default' | 'minimalistic';
|
|
433
454
|
interface ButtonTheme {
|
|
434
455
|
primary: string;
|
|
@@ -514,33 +535,105 @@ declare const MenuIcon: IconComponent;
|
|
|
514
535
|
|
|
515
536
|
declare const CloseIcon: IconComponent;
|
|
516
537
|
|
|
538
|
+
declare const PlusIcon: IconComponent;
|
|
539
|
+
|
|
540
|
+
declare const ArrowLeftIcon: IconComponent;
|
|
541
|
+
|
|
542
|
+
declare const ArrowRightIcon: IconComponent;
|
|
543
|
+
|
|
517
544
|
declare const ChevronDownIcon: IconComponent;
|
|
518
545
|
|
|
546
|
+
declare const ChevronUpIcon: IconComponent;
|
|
547
|
+
|
|
548
|
+
declare const ChevronLeftIcon: IconComponent;
|
|
549
|
+
|
|
519
550
|
declare const ChevronRightIcon: IconComponent;
|
|
520
551
|
|
|
552
|
+
declare const ExternalLinkIcon: IconComponent;
|
|
553
|
+
|
|
521
554
|
declare const CheckIcon: IconComponent;
|
|
522
555
|
|
|
523
|
-
declare const
|
|
556
|
+
declare const CheckCircleIcon: IconComponent;
|
|
557
|
+
|
|
558
|
+
declare const AlertCircleIcon: IconComponent;
|
|
559
|
+
|
|
560
|
+
declare const InfoCircleIcon: IconComponent;
|
|
524
561
|
|
|
525
562
|
declare const TrashIcon: IconComponent;
|
|
526
563
|
|
|
527
564
|
declare const EditIcon: IconComponent;
|
|
528
565
|
|
|
566
|
+
declare const CopyIcon: IconComponent;
|
|
567
|
+
|
|
568
|
+
declare const SaveIcon: IconComponent;
|
|
569
|
+
|
|
570
|
+
declare const DownloadIcon: IconComponent;
|
|
571
|
+
|
|
572
|
+
declare const UploadIcon: IconComponent;
|
|
573
|
+
|
|
574
|
+
declare const RefreshIcon: IconComponent;
|
|
575
|
+
|
|
576
|
+
declare const EyeIcon: IconComponent;
|
|
577
|
+
|
|
578
|
+
declare const EyeOffIcon: IconComponent;
|
|
579
|
+
|
|
580
|
+
declare const PlayIcon: IconComponent;
|
|
581
|
+
|
|
582
|
+
declare const PauseIcon: IconComponent;
|
|
583
|
+
|
|
584
|
+
declare const StopIcon: IconComponent;
|
|
585
|
+
|
|
586
|
+
declare const SkipBackIcon: IconComponent;
|
|
587
|
+
|
|
588
|
+
declare const SkipForwardIcon: IconComponent;
|
|
589
|
+
|
|
590
|
+
declare const VolumeUpIcon: IconComponent;
|
|
591
|
+
|
|
592
|
+
declare const VolumeOffIcon: IconComponent;
|
|
593
|
+
|
|
529
594
|
declare const MailIcon: IconComponent;
|
|
530
595
|
|
|
596
|
+
declare const ChatIcon: IconComponent;
|
|
597
|
+
|
|
531
598
|
declare const StarIcon: IconComponent;
|
|
532
599
|
|
|
533
600
|
declare const HeartIcon: IconComponent;
|
|
534
601
|
|
|
535
|
-
declare const
|
|
602
|
+
declare const CameraIcon: IconComponent;
|
|
536
603
|
|
|
537
|
-
declare const
|
|
604
|
+
declare const CalendarIcon: IconComponent;
|
|
538
605
|
|
|
539
|
-
declare const
|
|
606
|
+
declare const BookIcon: IconComponent;
|
|
607
|
+
|
|
608
|
+
declare const FileIcon: IconComponent;
|
|
609
|
+
|
|
610
|
+
declare const FolderIcon: IconComponent;
|
|
611
|
+
|
|
612
|
+
declare const ImageIcon: IconComponent;
|
|
613
|
+
|
|
614
|
+
declare const CodeIcon: IconComponent;
|
|
615
|
+
|
|
616
|
+
declare const TerminalIcon: IconComponent;
|
|
617
|
+
|
|
618
|
+
declare const DatabaseIcon: IconComponent;
|
|
619
|
+
|
|
620
|
+
declare const CloudIcon: IconComponent;
|
|
621
|
+
|
|
622
|
+
declare const PlugIcon: IconComponent;
|
|
623
|
+
|
|
624
|
+
declare const KeyIcon: IconComponent;
|
|
540
625
|
|
|
541
626
|
declare const LockIcon: IconComponent;
|
|
542
627
|
|
|
543
|
-
declare const
|
|
628
|
+
declare const ShieldIcon: IconComponent;
|
|
629
|
+
|
|
630
|
+
declare const SparklesIcon: IconComponent;
|
|
631
|
+
|
|
632
|
+
declare const BrainIcon: IconComponent;
|
|
633
|
+
|
|
634
|
+
declare const GlobeIcon: IconComponent;
|
|
635
|
+
|
|
636
|
+
declare const BeakerIcon: IconComponent;
|
|
544
637
|
|
|
545
638
|
declare const GoogleIcon: IconComponent;
|
|
546
639
|
|
|
@@ -558,4 +651,4 @@ declare const YouTubeIcon: IconComponent;
|
|
|
558
651
|
|
|
559
652
|
declare const SlackIcon: IconComponent;
|
|
560
653
|
|
|
561
|
-
export { ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, type AlertProps, AppShell, type AppShellProps, AppleIcon, Avatar, type AvatarProps, Badge, type BadgeProps, BellIcon, Button, type ButtonProps, type ButtonTheme, Calendar, CalendarIcon, type CalendarProps, CameraIcon, Card, type CardProps, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronRightIcon, CloseIcon, type ColorMode, type Column, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, EditIcon, FacebookIcon, FileUpload, type FileUploadProps, GitHubIcon, GoogleIcon, HeartIcon, HomeIcon, type IconComponent, type IconProps, LinkedInIcon, LockIcon, MailIcon, MenuIcon, Modal, type ModalProps, Navbar, type NavbarProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, Radio, type RadioOption, type RadioProps, RichTextEditor, type RichTextEditorProps, SearchIcon, Select, type SelectOption, type SelectProps, type SelectTheme, SettingsIcon, Sidebar, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SlackIcon, Slider, type SliderProps, Spinner, type SpinnerProps, StarIcon, type Step, Stepper, type StepperProps, type Tab, Table, type TableProps, Tabs, type TabsProps, TextInput, type TextInputProps, Textarea, type TextareaProps, type Theme, type ThemeName, ThemeProvider, TimePicker, type TimePickerProps, type Toast, ToastProvider, type ToastProviderProps, Toggle, type ToggleProps, TrashIcon, TwitterIcon, UploadIcon, UserIcon, YouTubeIcon, getThemeScript, themeScript, themes, toast, useSidebar, useTheme, useToast };
|
|
654
|
+
export { ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, AlertCircleIcon, type AlertProps, AppShell, type AppShellProps, AppleIcon, ArrowLeftIcon, ArrowRightIcon, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BeakerIcon, BellIcon, BookIcon, BrainIcon, Button, type ButtonProps, type ButtonTheme, Calendar, CalendarIcon, type CalendarProps, CameraIcon, Card, type CardProps, ChatIcon, CheckCircleIcon, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CloudIcon, CodeIcon, type ColorMode, type Column, CopyIcon, DatabaseIcon, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FileIcon, FileUpload, type FileUploadProps, FolderIcon, GitHubIcon, GlobeIcon, GoogleIcon, HeartIcon, HomeIcon, type IconComponent, type IconProps, ImageIcon, InfoCircleIcon, KeyIcon, LinkedInIcon, LockIcon, MailIcon, MenuIcon, Modal, type ModalProps, Navbar, type NavbarProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, PauseIcon, PlayIcon, PlugIcon, PlusIcon, ProgressBar, type ProgressBarProps, Radio, type RadioOption, type RadioProps, RefreshIcon, RichTextEditor, type RichTextEditorProps, SaveIcon, SearchIcon, Select, type SelectOption, type SelectProps, type SelectTheme, SettingsIcon, ShieldIcon, Sidebar, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SkipBackIcon, SkipForwardIcon, SlackIcon, Slider, type SliderProps, SparklesIcon, Spinner, type SpinnerProps, StarIcon, type Step, Stepper, type StepperProps, StopIcon, type Tab, Table, type TableProps, Tabs, type TabsProps, TerminalIcon, TextInput, type TextInputProps, Textarea, type TextareaProps, type Theme, type ThemeName, ThemeProvider, TimePicker, type TimePickerProps, type Toast, ToastProvider, type ToastProviderProps, Toggle, type ToggleProps, TrashIcon, TwitterIcon, UploadIcon, UserIcon, VolumeOffIcon, VolumeUpIcon, YouTubeIcon, getThemeScript, themeScript, themes, toast, useSidebar, useTheme, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -429,6 +429,27 @@ interface FileUploadProps {
|
|
|
429
429
|
}
|
|
430
430
|
declare const FileUpload: React.FC<FileUploadProps>;
|
|
431
431
|
|
|
432
|
+
interface AudioPlayerProps {
|
|
433
|
+
src: string;
|
|
434
|
+
title?: string;
|
|
435
|
+
artist?: string;
|
|
436
|
+
album?: string;
|
|
437
|
+
coverArt?: string;
|
|
438
|
+
variant?: 'default' | 'compact' | 'mini';
|
|
439
|
+
autoPlay?: boolean;
|
|
440
|
+
loop?: boolean;
|
|
441
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
442
|
+
onPlay?: () => void;
|
|
443
|
+
onPause?: () => void;
|
|
444
|
+
onEnded?: () => void;
|
|
445
|
+
onTimeUpdate?: (currentTime: number) => void;
|
|
446
|
+
className?: string;
|
|
447
|
+
showSkipButtons?: boolean;
|
|
448
|
+
onSkipBack?: () => void;
|
|
449
|
+
onSkipForward?: () => void;
|
|
450
|
+
}
|
|
451
|
+
declare const AudioPlayer: React.FC<AudioPlayerProps>;
|
|
452
|
+
|
|
432
453
|
type ThemeName = 'default' | 'minimalistic';
|
|
433
454
|
interface ButtonTheme {
|
|
434
455
|
primary: string;
|
|
@@ -514,33 +535,105 @@ declare const MenuIcon: IconComponent;
|
|
|
514
535
|
|
|
515
536
|
declare const CloseIcon: IconComponent;
|
|
516
537
|
|
|
538
|
+
declare const PlusIcon: IconComponent;
|
|
539
|
+
|
|
540
|
+
declare const ArrowLeftIcon: IconComponent;
|
|
541
|
+
|
|
542
|
+
declare const ArrowRightIcon: IconComponent;
|
|
543
|
+
|
|
517
544
|
declare const ChevronDownIcon: IconComponent;
|
|
518
545
|
|
|
546
|
+
declare const ChevronUpIcon: IconComponent;
|
|
547
|
+
|
|
548
|
+
declare const ChevronLeftIcon: IconComponent;
|
|
549
|
+
|
|
519
550
|
declare const ChevronRightIcon: IconComponent;
|
|
520
551
|
|
|
552
|
+
declare const ExternalLinkIcon: IconComponent;
|
|
553
|
+
|
|
521
554
|
declare const CheckIcon: IconComponent;
|
|
522
555
|
|
|
523
|
-
declare const
|
|
556
|
+
declare const CheckCircleIcon: IconComponent;
|
|
557
|
+
|
|
558
|
+
declare const AlertCircleIcon: IconComponent;
|
|
559
|
+
|
|
560
|
+
declare const InfoCircleIcon: IconComponent;
|
|
524
561
|
|
|
525
562
|
declare const TrashIcon: IconComponent;
|
|
526
563
|
|
|
527
564
|
declare const EditIcon: IconComponent;
|
|
528
565
|
|
|
566
|
+
declare const CopyIcon: IconComponent;
|
|
567
|
+
|
|
568
|
+
declare const SaveIcon: IconComponent;
|
|
569
|
+
|
|
570
|
+
declare const DownloadIcon: IconComponent;
|
|
571
|
+
|
|
572
|
+
declare const UploadIcon: IconComponent;
|
|
573
|
+
|
|
574
|
+
declare const RefreshIcon: IconComponent;
|
|
575
|
+
|
|
576
|
+
declare const EyeIcon: IconComponent;
|
|
577
|
+
|
|
578
|
+
declare const EyeOffIcon: IconComponent;
|
|
579
|
+
|
|
580
|
+
declare const PlayIcon: IconComponent;
|
|
581
|
+
|
|
582
|
+
declare const PauseIcon: IconComponent;
|
|
583
|
+
|
|
584
|
+
declare const StopIcon: IconComponent;
|
|
585
|
+
|
|
586
|
+
declare const SkipBackIcon: IconComponent;
|
|
587
|
+
|
|
588
|
+
declare const SkipForwardIcon: IconComponent;
|
|
589
|
+
|
|
590
|
+
declare const VolumeUpIcon: IconComponent;
|
|
591
|
+
|
|
592
|
+
declare const VolumeOffIcon: IconComponent;
|
|
593
|
+
|
|
529
594
|
declare const MailIcon: IconComponent;
|
|
530
595
|
|
|
596
|
+
declare const ChatIcon: IconComponent;
|
|
597
|
+
|
|
531
598
|
declare const StarIcon: IconComponent;
|
|
532
599
|
|
|
533
600
|
declare const HeartIcon: IconComponent;
|
|
534
601
|
|
|
535
|
-
declare const
|
|
602
|
+
declare const CameraIcon: IconComponent;
|
|
536
603
|
|
|
537
|
-
declare const
|
|
604
|
+
declare const CalendarIcon: IconComponent;
|
|
538
605
|
|
|
539
|
-
declare const
|
|
606
|
+
declare const BookIcon: IconComponent;
|
|
607
|
+
|
|
608
|
+
declare const FileIcon: IconComponent;
|
|
609
|
+
|
|
610
|
+
declare const FolderIcon: IconComponent;
|
|
611
|
+
|
|
612
|
+
declare const ImageIcon: IconComponent;
|
|
613
|
+
|
|
614
|
+
declare const CodeIcon: IconComponent;
|
|
615
|
+
|
|
616
|
+
declare const TerminalIcon: IconComponent;
|
|
617
|
+
|
|
618
|
+
declare const DatabaseIcon: IconComponent;
|
|
619
|
+
|
|
620
|
+
declare const CloudIcon: IconComponent;
|
|
621
|
+
|
|
622
|
+
declare const PlugIcon: IconComponent;
|
|
623
|
+
|
|
624
|
+
declare const KeyIcon: IconComponent;
|
|
540
625
|
|
|
541
626
|
declare const LockIcon: IconComponent;
|
|
542
627
|
|
|
543
|
-
declare const
|
|
628
|
+
declare const ShieldIcon: IconComponent;
|
|
629
|
+
|
|
630
|
+
declare const SparklesIcon: IconComponent;
|
|
631
|
+
|
|
632
|
+
declare const BrainIcon: IconComponent;
|
|
633
|
+
|
|
634
|
+
declare const GlobeIcon: IconComponent;
|
|
635
|
+
|
|
636
|
+
declare const BeakerIcon: IconComponent;
|
|
544
637
|
|
|
545
638
|
declare const GoogleIcon: IconComponent;
|
|
546
639
|
|
|
@@ -558,4 +651,4 @@ declare const YouTubeIcon: IconComponent;
|
|
|
558
651
|
|
|
559
652
|
declare const SlackIcon: IconComponent;
|
|
560
653
|
|
|
561
|
-
export { ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, type AlertProps, AppShell, type AppShellProps, AppleIcon, Avatar, type AvatarProps, Badge, type BadgeProps, BellIcon, Button, type ButtonProps, type ButtonTheme, Calendar, CalendarIcon, type CalendarProps, CameraIcon, Card, type CardProps, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronRightIcon, CloseIcon, type ColorMode, type Column, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, EditIcon, FacebookIcon, FileUpload, type FileUploadProps, GitHubIcon, GoogleIcon, HeartIcon, HomeIcon, type IconComponent, type IconProps, LinkedInIcon, LockIcon, MailIcon, MenuIcon, Modal, type ModalProps, Navbar, type NavbarProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, PlusIcon, ProgressBar, type ProgressBarProps, Radio, type RadioOption, type RadioProps, RichTextEditor, type RichTextEditorProps, SearchIcon, Select, type SelectOption, type SelectProps, type SelectTheme, SettingsIcon, Sidebar, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SlackIcon, Slider, type SliderProps, Spinner, type SpinnerProps, StarIcon, type Step, Stepper, type StepperProps, type Tab, Table, type TableProps, Tabs, type TabsProps, TextInput, type TextInputProps, Textarea, type TextareaProps, type Theme, type ThemeName, ThemeProvider, TimePicker, type TimePickerProps, type Toast, ToastProvider, type ToastProviderProps, Toggle, type ToggleProps, TrashIcon, TwitterIcon, UploadIcon, UserIcon, YouTubeIcon, getThemeScript, themeScript, themes, toast, useSidebar, useTheme, useToast };
|
|
654
|
+
export { ActionMenu, type ActionMenuItem, type ActionMenuProps, Alert, AlertCircleIcon, type AlertProps, AppShell, type AppShellProps, AppleIcon, ArrowLeftIcon, ArrowRightIcon, AudioPlayer, type AudioPlayerProps, Avatar, type AvatarProps, Badge, type BadgeProps, BeakerIcon, BellIcon, BookIcon, BrainIcon, Button, type ButtonProps, type ButtonTheme, Calendar, CalendarIcon, type CalendarProps, CameraIcon, Card, type CardProps, ChatIcon, CheckCircleIcon, CheckIcon, Checkbox, type CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CloseIcon, CloudIcon, CodeIcon, type ColorMode, type Column, CopyIcon, DatabaseIcon, DatePicker, type DatePickerProps, DateTimePicker, type DateTimePickerProps, Divider, type DividerProps, DownloadIcon, Drawer, type DrawerProps, EditIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FileIcon, FileUpload, type FileUploadProps, FolderIcon, GitHubIcon, GlobeIcon, GoogleIcon, HeartIcon, HomeIcon, type IconComponent, type IconProps, ImageIcon, InfoCircleIcon, KeyIcon, LinkedInIcon, LockIcon, MailIcon, MenuIcon, Modal, type ModalProps, Navbar, type NavbarProps, NumberInput, type NumberInputProps, Pagination, type PaginationProps, PauseIcon, PlayIcon, PlugIcon, PlusIcon, ProgressBar, type ProgressBarProps, Radio, type RadioOption, type RadioProps, RefreshIcon, RichTextEditor, type RichTextEditorProps, SaveIcon, SearchIcon, Select, type SelectOption, type SelectProps, type SelectTheme, SettingsIcon, ShieldIcon, Sidebar, type SidebarContextValue, type SidebarProps, SidebarProvider, type SidebarProviderProps, SkipBackIcon, SkipForwardIcon, SlackIcon, Slider, type SliderProps, SparklesIcon, Spinner, type SpinnerProps, StarIcon, type Step, Stepper, type StepperProps, StopIcon, type Tab, Table, type TableProps, Tabs, type TabsProps, TerminalIcon, TextInput, type TextInputProps, Textarea, type TextareaProps, type Theme, type ThemeName, ThemeProvider, TimePicker, type TimePickerProps, type Toast, ToastProvider, type ToastProviderProps, Toggle, type ToggleProps, TrashIcon, TwitterIcon, UploadIcon, UserIcon, VolumeOffIcon, VolumeUpIcon, YouTubeIcon, getThemeScript, themeScript, themes, toast, useSidebar, useTheme, useToast };
|