@designbasekorea/ui 0.1.45 → 0.1.47

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.ts CHANGED
@@ -90,7 +90,7 @@ declare const RandomGradient: React$1.FC<RandomGradientProps>;
90
90
  */
91
91
 
92
92
  type AdBannerType = 'hero' | 'topbar' | 'card' | 'floating';
93
- type AdBannerVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'gradient';
93
+ type AdBannerVariant = 'primary' | 'secondary' | 'success' | 'warning' | 'error';
94
94
  interface AdBannerProps {
95
95
  /** 배너 타입 */
96
96
  type?: AdBannerType;
@@ -120,6 +120,10 @@ interface AdBannerProps {
120
120
  gradientTone?: GradientTone;
121
121
  /** 랜덤 그라데이션 애니메이션 여부 */
122
122
  gradientAnimated?: boolean;
123
+ /** 카운트다운 종료 시간 */
124
+ countdownEndDate?: Date | string;
125
+ /** 카운트다운 표시 여부 */
126
+ showCountdown?: boolean;
123
127
  /** 추가 CSS 클래스 */
124
128
  className?: string;
125
129
  }
@@ -1463,10 +1467,7 @@ interface EmptyStateProps {
1463
1467
  declare const EmptyState: React$1.FC<EmptyStateProps>;
1464
1468
 
1465
1469
  /**
1466
- * FileUploader 컴포넌트
1467
- *
1468
- * Dropzone을 활용한 파일 업로드 컴포넌트입니다.
1469
- * 파일 목록, 진행률, 상태 등을 표시합니다.
1470
+ * FileUploader 컴포넌트 (완성본)
1470
1471
  */
1471
1472
 
1472
1473
  type FileUploaderSize = 's' | 'm' | 'l';
@@ -1481,31 +1482,18 @@ interface UploadFile {
1481
1482
  uploadedAt?: Date;
1482
1483
  }
1483
1484
  interface FileUploaderProps {
1484
- /** 파일 업로더 크기 */
1485
1485
  size?: FileUploaderSize;
1486
- /** 파일 업로더 스타일 변형 */
1487
1486
  variant?: FileUploaderVariant;
1488
- /** 허용할 파일 타입 */
1489
1487
  accept?: string;
1490
- /** 최대 파일 크기 (bytes) */
1491
1488
  maxSize?: number;
1492
- /** 다중 파일 선택 허용 */
1493
1489
  multiple?: boolean;
1494
- /** 파일 목록 표시 여부 */
1495
1490
  showFileList?: boolean;
1496
- /** 진행률 표시 여부 */
1497
1491
  showProgress?: boolean;
1498
- /** 비활성화 상태 */
1499
1492
  disabled?: boolean;
1500
- /** 읽기 전용 상태 */
1501
1493
  readonly?: boolean;
1502
- /** 파일 업로드 핸들러 */
1503
1494
  onUpload?: (files: UploadFile[]) => void;
1504
- /** 파일 제거 핸들러 */
1505
1495
  onRemove?: (fileId: string) => void;
1506
- /** 파일 재시도 핸들러 */
1507
1496
  onRetry?: (fileId: string) => void;
1508
- /** 추가 CSS 클래스 */
1509
1497
  className?: string;
1510
1498
  }
1511
1499
  declare const FileUploader: React$1.FC<FileUploaderProps>;
@@ -2516,6 +2504,132 @@ declare const ModalHeader: React$1.FC<ModalHeaderProps>;
2516
2504
  declare const ModalBody: React$1.FC<ModalBodyProps>;
2517
2505
  declare const ModalFooter: React$1.FC<ModalFooterProps>;
2518
2506
 
2507
+ /**
2508
+ * OnboardingModal 컴포넌트
2509
+ *
2510
+ * 목적: 온보딩/튜토리얼을 위한 모달 컴포넌트
2511
+ * 기능: 이미지, 텍스트, 네비게이션, 인디케이터 지원
2512
+ * 접근성: ARIA 가이드라인 준수, 키보드 네비게이션 지원
2513
+ */
2514
+
2515
+ interface OnboardingStep {
2516
+ /** 단계 ID */
2517
+ id: string;
2518
+ /** 이미지 URL 또는 React 컴포넌트 */
2519
+ image?: string | React$1.ReactNode;
2520
+ /** 제목 */
2521
+ title?: string;
2522
+ /** 설명 텍스트 */
2523
+ description?: string;
2524
+ /** 추가 컨텐츠 */
2525
+ content?: React$1.ReactNode;
2526
+ }
2527
+ interface OnboardingModalProps {
2528
+ /** 온보딩 단계들 */
2529
+ steps: OnboardingStep[];
2530
+ /** 현재 단계 (0부터 시작) */
2531
+ currentStep?: number;
2532
+ /** 모달 열림 상태 */
2533
+ isOpen: boolean;
2534
+ /** 모달 닫기 핸들러 */
2535
+ onClose: () => void;
2536
+ /** 단계 변경 핸들러 */
2537
+ onStepChange?: (step: number) => void;
2538
+ /** 완료 핸들러 */
2539
+ onComplete?: () => void;
2540
+ /** 닫기 버튼 표시 여부 */
2541
+ showCloseButton?: boolean;
2542
+ /** 인디케이터 표시 여부 */
2543
+ showIndicator?: boolean;
2544
+ /** 커스텀 닫기 아이콘 */
2545
+ closeIcon?: React$1.ComponentType<IconProps>;
2546
+ /** 커스텀 이전 아이콘 */
2547
+ prevIcon?: React$1.ComponentType<IconProps>;
2548
+ /** 커스텀 다음 아이콘 */
2549
+ nextIcon?: React$1.ComponentType<IconProps>;
2550
+ /** 인디케이터 타입 */
2551
+ indicatorType?: 'dots' | 'numbers';
2552
+ /** 인디케이터 크기 */
2553
+ indicatorSize?: 's' | 'm' | 'l';
2554
+ /** 추가 CSS 클래스 */
2555
+ className?: string;
2556
+ /** 추가 props */
2557
+ [key: string]: any;
2558
+ }
2559
+ declare const OnboardingModal: React$1.FC<OnboardingModalProps>;
2560
+
2561
+ interface IndicatorProps {
2562
+ current: number;
2563
+ total: number;
2564
+ type?: 'dots' | 'numbers' | 'line';
2565
+ direction?: 'horizontal' | 'vertical';
2566
+ size?: 's' | 'm' | 'l';
2567
+ clickable?: boolean;
2568
+ onStepClick?: (step: number) => void;
2569
+ timer?: boolean;
2570
+ timerDuration?: number;
2571
+ onTimerComplete?: () => void;
2572
+ className?: string;
2573
+ [key: string]: any;
2574
+ }
2575
+ declare const Indicator: React$1.FC<IndicatorProps>;
2576
+
2577
+ /**
2578
+ * Tutorial 컴포넌트
2579
+ *
2580
+ * 목적: 첫 사용자를 위한 인터랙티브 튜토리얼
2581
+ * 기능: 특정 영역 강조, 팝오버 컨텐츠, 단계별 진행
2582
+ * 접근성: ARIA 가이드라인 준수, 키보드 네비게이션 지원
2583
+ */
2584
+
2585
+ interface TutorialStep {
2586
+ /** 단계 ID */
2587
+ id: string;
2588
+ /** 타겟 요소 선택자 */
2589
+ target: string;
2590
+ /** 팝오버 제목 */
2591
+ title?: string;
2592
+ /** 팝오버 내용 */
2593
+ content?: string;
2594
+ /** 팝오버 위치 */
2595
+ placement?: 'top' | 'bottom' | 'left' | 'right' | 'auto';
2596
+ /** 추가 컨텐츠 */
2597
+ children?: React$1.ReactNode;
2598
+ }
2599
+ interface TutorialProps {
2600
+ /** 튜토리얼 단계들 */
2601
+ steps: TutorialStep[];
2602
+ /** 현재 단계 (0부터 시작) */
2603
+ currentStep?: number;
2604
+ /** 튜토리얼 활성화 상태 */
2605
+ isActive: boolean;
2606
+ /** 튜토리얼 시작 핸들러 */
2607
+ onStart?: () => void;
2608
+ /** 튜토리얼 종료 핸들러 */
2609
+ onEnd?: () => void;
2610
+ /** 단계 변경 핸들러 */
2611
+ onStepChange?: (step: number) => void;
2612
+ /** 다음 단계 핸들러 */
2613
+ onNext?: () => void;
2614
+ /** 이전 단계 핸들러 */
2615
+ onPrev?: () => void;
2616
+ /** 인디케이터 타입 */
2617
+ indicatorType?: 'dots' | 'numbers';
2618
+ /** 인디케이터 크기 */
2619
+ indicatorSize?: 's' | 'm' | 'l';
2620
+ /** 커스텀 닫기 아이콘 */
2621
+ closeIcon?: React$1.ComponentType<IconProps>;
2622
+ /** 커스텀 이전 아이콘 */
2623
+ prevIcon?: React$1.ComponentType<IconProps>;
2624
+ /** 커스텀 다음 아이콘 */
2625
+ nextIcon?: React$1.ComponentType<IconProps>;
2626
+ /** 추가 CSS 클래스 */
2627
+ className?: string;
2628
+ /** 추가 props */
2629
+ [key: string]: any;
2630
+ }
2631
+ declare const Tutorial: React$1.FC<TutorialProps>;
2632
+
2519
2633
  /**
2520
2634
  * Navbar 컴포넌트
2521
2635
  *
@@ -4230,5 +4344,5 @@ declare const setTheme: (theme: string) => void;
4230
4344
  declare const getTheme: () => string;
4231
4345
  declare const toggleTheme: () => void;
4232
4346
 
4233
- export { Accordion, AdBanner, Alert, AnimationBackground, AnimationText, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, Checkbox, Chip, ColorPicker, Confirm, Container, ContextMenu, Countdown, DatePicker, Divider, Drawer, Dropdown, Dropzone, EmptyState, FileUploader, FloatingActionButton, Form, Gradient, Grid, HeroFeature, Image, ImageList, Input, Label, Lightbox, List, Logo, MarkdownEditor, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, Pagination, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SegmentControl, Select, Share, Sidebar, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, VideoPlayer, YouTubePlayer, getTheme, setTheme, toggleTheme };
4234
- export type { AccordionItem, AccordionItemType, AccordionProps, AdBannerProps, AdBannerType, AdBannerVariant, AlertAction, AlertProps, AlertSize, AlertVariant, AnimationBackgroundProps, AnimationTextProps, AudioPlayerProps, AudioPlayerSize, AudioPlayerTheme, AudioPlayerVariant, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, AvatarVariant, BackdropProps, BadgeProps, BadgeSize, BadgeStyle, BadgeVariant, BannerAction, BannerProps, BannerSize, BannerVariant, BottomSheetProps, BottomSheetSize, BottomSheetVariant, BreadcrumbItem, BreadcrumbsProps, BreadcrumbsSize, BreadcrumbsStyle, ButtonProps, CalendarEvent, CalendarEventType, CalendarProps, CalendarView, CardAction, CardImage, CardImagePosition, CardLayout, CardProps, CardSize, CardVariant, CarouselIndicatorStyle, CarouselItem, CarouselProps, CarouselSize, CarouselTheme, CarouselTransition, CarouselVariant, CheckboxProps, ChipColor, ChipProps, ChipSize, ChipVariant, ColorPickerProps, ColorPickerSize, ColorPickerType, ComponentBaseProps, ConfirmProps, ConfirmSize, ConfirmVariant, ContainerPadding, ContainerProps, ContainerSize, ContainerVariant, ContextMenuItem, ContextMenuProps, CountdownProps, CountdownSize, CountdownVariant, DatePickerEvent, DatePickerMode, DatePickerProps, DatePickerSize, DatePickerVariant, DividerProps, DrawerPosition, DrawerProps, DrawerSize, DropdownItem, DropdownProps, DropzoneProps, DropzoneSize, DropzoneVariant, EmptyStateProps, EmptyStateSize, EmptyStateVariant, FileStatus, FileUploaderProps, FileUploaderSize, FileUploaderVariant, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, FormField, FormProps, FormSize, FormVariant, GradientColor, GradientDirection, GradientProps, GradientScheme, GradientSize, GradientVariant, GridAlignment, GridBreakpoint, GridColProps, GridJustify, GridProps, GridRowProps, GridSize, HeroFeatureAlignment, HeroFeatureButton, HeroFeatureProps, HeroFeatureSize, HeroFeatureTheme, HeroFeatureVariant, ImageFit, ImageItem, ImageListColumns, ImageListLayout, ImageListProps, ImageListSpacing, ImageLoading, ImagePlaceholder, ImageProps, ImageRatio, ImageRounded, InputProps, LabelProps, LightboxImage, LightboxProps, LightboxSize, ListItem, ListItemType, ListLayout, ListProps, ListSize, ListVariant, LogoProps, LogoSize, LogoType, LogoVariant, MarkdownEditorMode, MarkdownEditorProps, MarkdownEditorSize, MarkdownEditorTheme, MarkdownEditorVariant, MarkdownToolbarItem, MasonryAnimation, MasonryColumns, MasonryItem, MasonryProps, MasonrySpacing, MenuItemChild, MenuItemProps, MenuItemSize, MenuItemStyle, MenuItemType, MenuItemVariant, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, NavbarItem, NavbarPosition, NavbarProps, NavbarSize, NavbarVariant, PaginationAlignment, PaginationProps, PaginationSize, PaginationVariant, PopoverPosition, PopoverProps, PopoverSize, PopoverTrigger, PopoverVariant, ProgressProps, ProgressSize, ProgressStepItem, ProgressStepLayout, ProgressStepProps, ProgressStepSize, ProgressType, ProgressVariant, ProgressbarProps, ProgressbarSize, ProgressbarStyle, ProgressbarVariant, RadioProps, RandomGradientProps, RangeSliderProps, RangeSliderSize, RangeSliderVariant, RatingDisplay, RatingProps, RatingSize, RatingType, RatingVariant, ReorderItem, ReorderOrientation, ReorderProps, ReorderSize, ReorderVariant, ResizablePanelsProps, ScrollAreaProps, ScrollAreaSize, ScrollDirection, ScrollbarStyle, SearchBarProps, SearchBarSize, SearchBarVariant, SectionProps, SectionSize, SectionVariant, SegmentControlProps, SegmentOption, SelectOption, SelectProps, SharePlatform, SharePlatformConfig, SharePosition, ShareProps, ShareSize, ShareVariant, SidebarItem, SidebarPosition, SidebarProps, SidebarSize, SidebarVariant, SkeletonProps, SortDirection, SpinnerProps, SpinnerSize, SpinnerType, SplitDirection, SplitMode, SplitSize, SplitViewProps, StackAlignment, StackDirection, StackJustify, StackProps, StackSpacing, StartOfWeek, StatColor, StatLayout, StatProps, StatSize, StatVariant, StepperProps, StepperSize, StepperVariant, TabItem, TableColumn, TableProps, TableSize, TableVariant, TabsProps, TextareaProps, TimeFormat, TimePickerProps, TimePickerSize, TimePickerType, TimeRemaining, TimelineColor, TimelineItem, TimelinePosition, TimelineProps, TimelineSize, TimelineVariant, ToastProps, ToastStatus, ToggleProps, ToolbarItem, ToolbarPosition, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPosition, TooltipProps, TooltipSize, TooltipVariant, UploadFile, VideoPlayerProps, VideoPlayerSize, VideoPlayerTheme, VideoPlayerVariant, YouTubePlayerProps, YouTubePlayerSize, YouTubePlayerTheme, YouTubePlayerVariant };
4347
+ export { Accordion, AdBanner, Alert, AnimationBackground, AnimationText, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, Checkbox, Chip, ColorPicker, Confirm, Container, ContextMenu, Countdown, DatePicker, Divider, Drawer, Dropdown, Dropzone, EmptyState, FileUploader, FloatingActionButton, Form, Gradient, Grid, HeroFeature, Image, ImageList, Indicator, Input, Label, Lightbox, List, Logo, MarkdownEditor, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, Pagination, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SegmentControl, Select, Share, Sidebar, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, Tutorial, VideoPlayer, YouTubePlayer, getTheme, setTheme, toggleTheme };
4348
+ export type { AccordionItem, AccordionItemType, AccordionProps, AdBannerProps, AdBannerType, AdBannerVariant, AlertAction, AlertProps, AlertSize, AlertVariant, AnimationBackgroundProps, AnimationTextProps, AudioPlayerProps, AudioPlayerSize, AudioPlayerTheme, AudioPlayerVariant, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, AvatarVariant, BackdropProps, BadgeProps, BadgeSize, BadgeStyle, BadgeVariant, BannerAction, BannerProps, BannerSize, BannerVariant, BottomSheetProps, BottomSheetSize, BottomSheetVariant, BreadcrumbItem, BreadcrumbsProps, BreadcrumbsSize, BreadcrumbsStyle, ButtonProps, CalendarEvent, CalendarEventType, CalendarProps, CalendarView, CardAction, CardImage, CardImagePosition, CardLayout, CardProps, CardSize, CardVariant, CarouselIndicatorStyle, CarouselItem, CarouselProps, CarouselSize, CarouselTheme, CarouselTransition, CarouselVariant, CheckboxProps, ChipColor, ChipProps, ChipSize, ChipVariant, ColorPickerProps, ColorPickerSize, ColorPickerType, ComponentBaseProps, ConfirmProps, ConfirmSize, ConfirmVariant, ContainerPadding, ContainerProps, ContainerSize, ContainerVariant, ContextMenuItem, ContextMenuProps, CountdownProps, CountdownSize, CountdownVariant, DatePickerEvent, DatePickerMode, DatePickerProps, DatePickerSize, DatePickerVariant, DividerProps, DrawerPosition, DrawerProps, DrawerSize, DropdownItem, DropdownProps, DropzoneProps, DropzoneSize, DropzoneVariant, EmptyStateProps, EmptyStateSize, EmptyStateVariant, FileStatus, FileUploaderProps, FileUploaderSize, FileUploaderVariant, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, FormField, FormProps, FormSize, FormVariant, GradientColor, GradientDirection, GradientProps, GradientScheme, GradientSize, GradientVariant, GridAlignment, GridBreakpoint, GridColProps, GridJustify, GridProps, GridRowProps, GridSize, HeroFeatureAlignment, HeroFeatureButton, HeroFeatureProps, HeroFeatureSize, HeroFeatureTheme, HeroFeatureVariant, ImageFit, ImageItem, ImageListColumns, ImageListLayout, ImageListProps, ImageListSpacing, ImageLoading, ImagePlaceholder, ImageProps, ImageRatio, ImageRounded, IndicatorProps, InputProps, LabelProps, LightboxImage, LightboxProps, LightboxSize, ListItem, ListItemType, ListLayout, ListProps, ListSize, ListVariant, LogoProps, LogoSize, LogoType, LogoVariant, MarkdownEditorMode, MarkdownEditorProps, MarkdownEditorSize, MarkdownEditorTheme, MarkdownEditorVariant, MarkdownToolbarItem, MasonryAnimation, MasonryColumns, MasonryItem, MasonryProps, MasonrySpacing, MenuItemChild, MenuItemProps, MenuItemSize, MenuItemStyle, MenuItemType, MenuItemVariant, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, NavbarItem, NavbarPosition, NavbarProps, NavbarSize, NavbarVariant, OnboardingModalProps, OnboardingStep, PaginationAlignment, PaginationProps, PaginationSize, PaginationVariant, PopoverPosition, PopoverProps, PopoverSize, PopoverTrigger, PopoverVariant, ProgressProps, ProgressSize, ProgressStepItem, ProgressStepLayout, ProgressStepProps, ProgressStepSize, ProgressType, ProgressVariant, ProgressbarProps, ProgressbarSize, ProgressbarStyle, ProgressbarVariant, RadioProps, RandomGradientProps, RangeSliderProps, RangeSliderSize, RangeSliderVariant, RatingDisplay, RatingProps, RatingSize, RatingType, RatingVariant, ReorderItem, ReorderOrientation, ReorderProps, ReorderSize, ReorderVariant, ResizablePanelsProps, ScrollAreaProps, ScrollAreaSize, ScrollDirection, ScrollbarStyle, SearchBarProps, SearchBarSize, SearchBarVariant, SectionProps, SectionSize, SectionVariant, SegmentControlProps, SegmentOption, SelectOption, SelectProps, SharePlatform, SharePlatformConfig, SharePosition, ShareProps, ShareSize, ShareVariant, SidebarItem, SidebarPosition, SidebarProps, SidebarSize, SidebarVariant, SkeletonProps, SortDirection, SpinnerProps, SpinnerSize, SpinnerType, SplitDirection, SplitMode, SplitSize, SplitViewProps, StackAlignment, StackDirection, StackJustify, StackProps, StackSpacing, StartOfWeek, StatColor, StatLayout, StatProps, StatSize, StatVariant, StepperProps, StepperSize, StepperVariant, TabItem, TableColumn, TableProps, TableSize, TableVariant, TabsProps, TextareaProps, TimeFormat, TimePickerProps, TimePickerSize, TimePickerType, TimeRemaining, TimelineColor, TimelineItem, TimelinePosition, TimelineProps, TimelineSize, TimelineVariant, ToastProps, ToastStatus, ToggleProps, ToolbarItem, ToolbarPosition, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPosition, TooltipProps, TooltipSize, TooltipVariant, TutorialProps, TutorialStep, UploadFile, VideoPlayerProps, VideoPlayerSize, VideoPlayerTheme, VideoPlayerVariant, YouTubePlayerProps, YouTubePlayerSize, YouTubePlayerTheme, YouTubePlayerVariant };