@designbasekorea/ui 0.6.0 → 0.7.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.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +104 -4
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +167 -53
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +169 -52
- package/dist/index.js.map +1 -1
- package/dist/index.umd.css +1 -1
- package/dist/index.umd.css.map +1 -1
- package/dist/index.umd.js +169 -52
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1930,7 +1930,7 @@ declare const HeroFeature: React$1.FC<HeroFeatureProps>;
|
|
|
1930
1930
|
type ImageRatio = '1:1' | '16:9' | '4:3' | '3:2' | '3:4' | '2:1' | 'auto';
|
|
1931
1931
|
type ImageFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
1932
1932
|
type ImageLoading = 'lazy' | 'eager';
|
|
1933
|
-
type
|
|
1933
|
+
type ImagePlaceholderMode = 'skeleton' | 'blur' | 'none';
|
|
1934
1934
|
type ImageRounded = boolean | 's' | 'm' | 'l' | 'full';
|
|
1935
1935
|
interface ImageProps {
|
|
1936
1936
|
/** 이미지 소스 URL */
|
|
@@ -1946,7 +1946,7 @@ interface ImageProps {
|
|
|
1946
1946
|
/** 대체 이미지 URL */
|
|
1947
1947
|
fallbackSrc?: string;
|
|
1948
1948
|
/** 플레이스홀더 타입 */
|
|
1949
|
-
placeholder?:
|
|
1949
|
+
placeholder?: ImagePlaceholderMode;
|
|
1950
1950
|
/** 둥근 모서리 */
|
|
1951
1951
|
rounded?: ImageRounded;
|
|
1952
1952
|
/** 너비 */
|
|
@@ -1978,6 +1978,39 @@ interface ImageProps {
|
|
|
1978
1978
|
}
|
|
1979
1979
|
declare const Image: React$1.FC<ImageProps>;
|
|
1980
1980
|
|
|
1981
|
+
interface ImagePlaceholderProps {
|
|
1982
|
+
/** 추가 CSS 클래스 */
|
|
1983
|
+
className?: string;
|
|
1984
|
+
/** 스타일 객체 */
|
|
1985
|
+
style?: React$1.CSSProperties;
|
|
1986
|
+
/** 표시할 텍스트 라벨 */
|
|
1987
|
+
label?: string;
|
|
1988
|
+
/** 라벨 표시 여부 */
|
|
1989
|
+
showLabel?: boolean;
|
|
1990
|
+
/** 격자 패턴 크기 (숫자) */
|
|
1991
|
+
patternSize?: number;
|
|
1992
|
+
/** 격자 패턴 색상 */
|
|
1993
|
+
patternColor?: string;
|
|
1994
|
+
/** 배경 색상 */
|
|
1995
|
+
backgroundColor?: string;
|
|
1996
|
+
/** 가로 너비 */
|
|
1997
|
+
width?: string | number;
|
|
1998
|
+
/** 세로 높이 */
|
|
1999
|
+
height?: string | number;
|
|
2000
|
+
/** 가로세로 비율 (예: '16/9', '1/1') */
|
|
2001
|
+
aspectRatio?: string;
|
|
2002
|
+
/** 호버 시 효과 활성화 여부 */
|
|
2003
|
+
hoverEffect?: boolean;
|
|
2004
|
+
/** 클릭 핸들러 */
|
|
2005
|
+
onClick?: () => void;
|
|
2006
|
+
}
|
|
2007
|
+
/**
|
|
2008
|
+
* ImagePlaceholder 컴포넌트
|
|
2009
|
+
*
|
|
2010
|
+
* 이미지가 없거나 업로드 전 대기 상태일 때 격자 패턴과 라벨을 보여주는 자리표시자입니다.
|
|
2011
|
+
*/
|
|
2012
|
+
declare const ImagePlaceholder: React$1.FC<ImagePlaceholderProps>;
|
|
2013
|
+
|
|
1981
2014
|
type ImageListLayout = 'grid' | 'list' | 'gallery' | 'carousel';
|
|
1982
2015
|
type ImageListColumns = 1 | 2 | 3 | 4 | 5 | 6;
|
|
1983
2016
|
type ImageListSpacing = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
@@ -2695,6 +2728,29 @@ interface OnboardingModalProps {
|
|
|
2695
2728
|
}
|
|
2696
2729
|
declare const OnboardingModal: React$1.FC<OnboardingModalProps>;
|
|
2697
2730
|
|
|
2731
|
+
interface PageHeaderProps {
|
|
2732
|
+
/** 페이지 메인 타이틀 */
|
|
2733
|
+
title: string;
|
|
2734
|
+
/** 상세 설명 */
|
|
2735
|
+
description?: string | React$1.ReactNode;
|
|
2736
|
+
/** 서브 타이틀 (선택 사항) */
|
|
2737
|
+
subtitle?: string;
|
|
2738
|
+
/** 브레드크럼 아이템들 (선택 사항) */
|
|
2739
|
+
breadcrumbs?: BreadcrumbItem[];
|
|
2740
|
+
/** 하단 액션 영역 (버튼, 검색바, 탭 등) */
|
|
2741
|
+
actions?: React$1.ReactNode;
|
|
2742
|
+
/** 정렬 (center, left) - 기본값 center */
|
|
2743
|
+
align?: 'center' | 'left';
|
|
2744
|
+
/** 추가 CSS 클래스 */
|
|
2745
|
+
className?: string;
|
|
2746
|
+
}
|
|
2747
|
+
/**
|
|
2748
|
+
* PageHeader 컴포넌트
|
|
2749
|
+
*
|
|
2750
|
+
* 브레드크럼, 타이틀, 서브타이틀, 설명 및 액션(버튼, 탭 등)을 포함하는 페이지 헤더 섹션입니다.
|
|
2751
|
+
*/
|
|
2752
|
+
declare const PageHeader: React$1.FC<PageHeaderProps>;
|
|
2753
|
+
|
|
2698
2754
|
interface IndicatorProps {
|
|
2699
2755
|
current: number;
|
|
2700
2756
|
total: number;
|
|
@@ -3368,10 +3424,26 @@ interface SearchBarProps {
|
|
|
3368
3424
|
enableRecentSearches?: boolean;
|
|
3369
3425
|
/** 최근 검색어 저장 키 (로컬스토리지) */
|
|
3370
3426
|
recentSearchesKey?: string;
|
|
3427
|
+
/** 최근 검색어 레이아웃 (가로/세로) */
|
|
3428
|
+
recentSearchesLayout?: 'vertical' | 'horizontal';
|
|
3371
3429
|
/** 추천 검색어 목록 */
|
|
3372
3430
|
suggestedSearches?: string[];
|
|
3373
3431
|
/** 추천 검색어 롤링 간격 (ms) */
|
|
3374
3432
|
suggestionRollingInterval?: number;
|
|
3433
|
+
/** 카테고리 필터 칩 목록 */
|
|
3434
|
+
categories?: string[];
|
|
3435
|
+
/** 선택된 카테고리 칩 */
|
|
3436
|
+
selectedCategory?: string;
|
|
3437
|
+
/** 카테고리 변경 핸들러 */
|
|
3438
|
+
onCategoryChange?: (category: string) => void;
|
|
3439
|
+
/** 검색 결과 목록 */
|
|
3440
|
+
searchResults?: any[];
|
|
3441
|
+
/** 검색 결과 커스텀 렌더러 */
|
|
3442
|
+
renderSearchResult?: (result: any, index: number) => React$1.ReactNode;
|
|
3443
|
+
/** 검색 결과 클릭 핸들러 */
|
|
3444
|
+
onSearchResultClick?: (result: any) => void;
|
|
3445
|
+
/** 데이터 없을 때 보여줄 빈 상태 메시지 */
|
|
3446
|
+
emptyStateMessage?: React$1.ReactNode;
|
|
3375
3447
|
/** 검색어 변경 핸들러 */
|
|
3376
3448
|
onChange?: (value: string) => void;
|
|
3377
3449
|
/** 검색 실행 핸들러 */
|
|
@@ -4372,6 +4444,34 @@ interface ToolbarProps {
|
|
|
4372
4444
|
}
|
|
4373
4445
|
declare const Toolbar: React$1.FC<ToolbarProps>;
|
|
4374
4446
|
|
|
4447
|
+
type TopBannerVariant = 'primary' | 'white' | 'dark';
|
|
4448
|
+
interface TopBannerProps {
|
|
4449
|
+
/** 배지에 들어갈 텍스트 (예: NEW) */
|
|
4450
|
+
badgeText?: string;
|
|
4451
|
+
/** 메인 안내 문구 */
|
|
4452
|
+
content: string;
|
|
4453
|
+
/** 이미지 URL (배경 또는 썸네일용) */
|
|
4454
|
+
image?: string;
|
|
4455
|
+
/** 링크 텍스트 (예: 확인) */
|
|
4456
|
+
linkText?: string;
|
|
4457
|
+
/** 링크 클릭 핸들러 */
|
|
4458
|
+
onLinkPress?: () => void;
|
|
4459
|
+
/** 닫기 버튼 클릭 핸들러 */
|
|
4460
|
+
onClose?: () => void;
|
|
4461
|
+
/** 색상 테마 */
|
|
4462
|
+
variant?: TopBannerVariant;
|
|
4463
|
+
/** 고정 여부 */
|
|
4464
|
+
fixed?: boolean;
|
|
4465
|
+
/** 추가 CSS 클래스 */
|
|
4466
|
+
className?: string;
|
|
4467
|
+
}
|
|
4468
|
+
/**
|
|
4469
|
+
* TopBanner 컴포넌트
|
|
4470
|
+
*
|
|
4471
|
+
* 페이지 최상단에 위치하여 공지사항이나 프로모션을 안내하는 슬림한 배너입니다.
|
|
4472
|
+
*/
|
|
4473
|
+
declare const TopBanner: React$1.FC<TopBannerProps>;
|
|
4474
|
+
|
|
4375
4475
|
type VideoPlayerSize = 's' | 'm' | 'l' | 'xl';
|
|
4376
4476
|
type VideoPlayerVariant = 'default' | 'minimal' | 'theater' | 'picture-in-picture';
|
|
4377
4477
|
type VideoPlayerTheme = 'light' | 'dark' | 'auto';
|
|
@@ -4566,5 +4666,5 @@ interface ComponentBaseProps {
|
|
|
4566
4666
|
children?: React.ReactNode;
|
|
4567
4667
|
}
|
|
4568
4668
|
|
|
4569
|
-
export { Accordion, AdBanner, Alert, AnimationBackground, AnimationText, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, 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, Marquee, 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, Testimonial, Textarea, TimePicker, Timeline, Toast, ToastContainer, ToastProvider, Toggle, Toolbar, Tooltip, Tutorial, VideoPlayer, YouTubePlayer, useToast };
|
|
4570
|
-
export type { AccordionItem, AccordionItemType, AccordionProps, AdBannerProps, AdBannerType, AdBannerVariant, AlertAction, AlertProps, AlertSize, AlertVariant, AnimationBackgroundProps, AnimationTextProps, AnimationType, AudioPlayerProps, AudioPlayerSize, AudioPlayerTheme, AudioPlayerVariant, AuroraIntensity, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, AvatarVariant, BackdropProps, BadgeProps, BadgeSize, BadgeStyle, BadgeVariant, BannerAction, BannerProps, BannerSize, BannerVariant, BottomNavigationItem, BottomNavigationProps, 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, DirectionType, 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,
|
|
4669
|
+
export { Accordion, AdBanner, Alert, AnimationBackground, AnimationText, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, 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, ImagePlaceholder, Indicator, Input, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, PageHeader, 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, Testimonial, Textarea, TimePicker, Timeline, Toast, ToastContainer, ToastProvider, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, VideoPlayer, YouTubePlayer, useToast };
|
|
4670
|
+
export type { AccordionItem, AccordionItemType, AccordionProps, AdBannerProps, AdBannerType, AdBannerVariant, AlertAction, AlertProps, AlertSize, AlertVariant, AnimationBackgroundProps, AnimationTextProps, AnimationType, AudioPlayerProps, AudioPlayerSize, AudioPlayerTheme, AudioPlayerVariant, AuroraIntensity, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, AvatarVariant, BackdropProps, BadgeProps, BadgeSize, BadgeStyle, BadgeVariant, BannerAction, BannerProps, BannerSize, BannerVariant, BottomNavigationItem, BottomNavigationProps, 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, DirectionType, 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, ImagePlaceholderMode, ImagePlaceholderProps, 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, MarqueeAlign, MarqueeDirection, MarqueeProps, MarqueeSize, MarqueeVariant, MasonryAnimation, MasonryColumns, MasonryItem, MasonryProps, MasonrySpacing, MenuItemChild, MenuItemProps, MenuItemSize, MenuItemStyle, MenuItemType, MenuItemVariant, ModalBodyProps, ModalFooterProps, ModalHeaderProps, ModalProps, NavbarItem, NavbarPosition, NavbarProps, NavbarSize, NavbarVariant, OnboardingModalProps, OnboardingStep, PageHeaderProps, 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, TestimonialAlignment, TestimonialProps, TestimonialSize, TextareaProps, TimeFormat, TimePickerProps, TimePickerSize, TimePickerType, TimeRemaining, TimelineColor, TimelineItem, TimelineProps, TimelineSize, TimelineType, TimelineVariant, ToastContainerProps, ToastItem, ToastProps, ToastStatus, ToggleProps, ToolbarItem, ToolbarPosition, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPosition, TooltipProps, TooltipSize, TooltipVariant, TopBannerProps, TopBannerVariant, TutorialProps, TutorialStep, UploadFile, VideoPlayerProps, VideoPlayerSize, VideoPlayerTheme, VideoPlayerVariant, YouTubePlayerProps, YouTubePlayerSize, YouTubePlayerTheme, YouTubePlayerVariant };
|