@designbasekorea/ui 0.5.6 → 0.6.1
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 +91 -5
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +71 -12
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +73 -11
- 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 +73 -11
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1069,7 +1069,7 @@ declare const Chip: React$1.FC<ChipProps>;
|
|
|
1069
1069
|
|
|
1070
1070
|
type ColorPickerSize = 's' | 'm' | 'l';
|
|
1071
1071
|
type ColorPickerType = 'dropdown' | 'modal';
|
|
1072
|
-
type ColorPickerPosition = 'bottom-
|
|
1072
|
+
type ColorPickerPosition = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
1073
1073
|
interface ColorPickerProps {
|
|
1074
1074
|
size?: ColorPickerSize;
|
|
1075
1075
|
type?: ColorPickerType;
|
|
@@ -1329,6 +1329,7 @@ interface DatePickerProps {
|
|
|
1329
1329
|
className?: string;
|
|
1330
1330
|
disabled?: boolean;
|
|
1331
1331
|
readonly?: boolean;
|
|
1332
|
+
dropdownPosition?: 'bottom-start' | 'bottom-end';
|
|
1332
1333
|
inline?: boolean;
|
|
1333
1334
|
}
|
|
1334
1335
|
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
@@ -1929,7 +1930,7 @@ declare const HeroFeature: React$1.FC<HeroFeatureProps>;
|
|
|
1929
1930
|
type ImageRatio = '1:1' | '16:9' | '4:3' | '3:2' | '3:4' | '2:1' | 'auto';
|
|
1930
1931
|
type ImageFit = 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
1931
1932
|
type ImageLoading = 'lazy' | 'eager';
|
|
1932
|
-
type
|
|
1933
|
+
type ImagePlaceholderMode = 'skeleton' | 'blur' | 'none';
|
|
1933
1934
|
type ImageRounded = boolean | 's' | 'm' | 'l' | 'full';
|
|
1934
1935
|
interface ImageProps {
|
|
1935
1936
|
/** 이미지 소스 URL */
|
|
@@ -1945,7 +1946,7 @@ interface ImageProps {
|
|
|
1945
1946
|
/** 대체 이미지 URL */
|
|
1946
1947
|
fallbackSrc?: string;
|
|
1947
1948
|
/** 플레이스홀더 타입 */
|
|
1948
|
-
placeholder?:
|
|
1949
|
+
placeholder?: ImagePlaceholderMode;
|
|
1949
1950
|
/** 둥근 모서리 */
|
|
1950
1951
|
rounded?: ImageRounded;
|
|
1951
1952
|
/** 너비 */
|
|
@@ -1977,6 +1978,39 @@ interface ImageProps {
|
|
|
1977
1978
|
}
|
|
1978
1979
|
declare const Image: React$1.FC<ImageProps>;
|
|
1979
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
|
+
|
|
1980
2014
|
type ImageListLayout = 'grid' | 'list' | 'gallery' | 'carousel';
|
|
1981
2015
|
type ImageListColumns = 1 | 2 | 3 | 4 | 5 | 6;
|
|
1982
2016
|
type ImageListSpacing = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
@@ -2694,6 +2728,29 @@ interface OnboardingModalProps {
|
|
|
2694
2728
|
}
|
|
2695
2729
|
declare const OnboardingModal: React$1.FC<OnboardingModalProps>;
|
|
2696
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
|
+
|
|
2697
2754
|
interface IndicatorProps {
|
|
2698
2755
|
current: number;
|
|
2699
2756
|
total: number;
|
|
@@ -4119,6 +4176,7 @@ interface TimePickerProps {
|
|
|
4119
4176
|
minuteStep?: number;
|
|
4120
4177
|
disabled?: boolean;
|
|
4121
4178
|
readonly?: boolean;
|
|
4179
|
+
dropdownPosition?: 'bottom-start' | 'bottom-end';
|
|
4122
4180
|
onChange?: (time24: string) => void;
|
|
4123
4181
|
className?: string;
|
|
4124
4182
|
}
|
|
@@ -4370,6 +4428,34 @@ interface ToolbarProps {
|
|
|
4370
4428
|
}
|
|
4371
4429
|
declare const Toolbar: React$1.FC<ToolbarProps>;
|
|
4372
4430
|
|
|
4431
|
+
type TopBannerVariant = 'primary' | 'white' | 'dark';
|
|
4432
|
+
interface TopBannerProps {
|
|
4433
|
+
/** 배지에 들어갈 텍스트 (예: NEW) */
|
|
4434
|
+
badgeText?: string;
|
|
4435
|
+
/** 메인 안내 문구 */
|
|
4436
|
+
content: string;
|
|
4437
|
+
/** 이미지 URL (배경 또는 썸네일용) */
|
|
4438
|
+
image?: string;
|
|
4439
|
+
/** 링크 텍스트 (예: 확인) */
|
|
4440
|
+
linkText?: string;
|
|
4441
|
+
/** 링크 클릭 핸들러 */
|
|
4442
|
+
onLinkPress?: () => void;
|
|
4443
|
+
/** 닫기 버튼 클릭 핸들러 */
|
|
4444
|
+
onClose?: () => void;
|
|
4445
|
+
/** 색상 테마 */
|
|
4446
|
+
variant?: TopBannerVariant;
|
|
4447
|
+
/** 고정 여부 */
|
|
4448
|
+
fixed?: boolean;
|
|
4449
|
+
/** 추가 CSS 클래스 */
|
|
4450
|
+
className?: string;
|
|
4451
|
+
}
|
|
4452
|
+
/**
|
|
4453
|
+
* TopBanner 컴포넌트
|
|
4454
|
+
*
|
|
4455
|
+
* 페이지 최상단에 위치하여 공지사항이나 프로모션을 안내하는 슬림한 배너입니다.
|
|
4456
|
+
*/
|
|
4457
|
+
declare const TopBanner: React$1.FC<TopBannerProps>;
|
|
4458
|
+
|
|
4373
4459
|
type VideoPlayerSize = 's' | 'm' | 'l' | 'xl';
|
|
4374
4460
|
type VideoPlayerVariant = 'default' | 'minimal' | 'theater' | 'picture-in-picture';
|
|
4375
4461
|
type VideoPlayerTheme = 'light' | 'dark' | 'auto';
|
|
@@ -4564,5 +4650,5 @@ interface ComponentBaseProps {
|
|
|
4564
4650
|
children?: React.ReactNode;
|
|
4565
4651
|
}
|
|
4566
4652
|
|
|
4567
|
-
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 };
|
|
4568
|
-
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,
|
|
4653
|
+
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 };
|
|
4654
|
+
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 };
|