@designbasekorea/ui 0.5.5 → 0.6.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 +63 -4
- package/dist/index.esm.css +1 -1
- package/dist/index.esm.css.map +1 -1
- package/dist/index.esm.js +122 -26
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +122 -25
- 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 +122 -25
- 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>;
|
|
@@ -2182,9 +2183,10 @@ interface LightboxProps {
|
|
|
2182
2183
|
declare const Lightbox: React$1.FC<LightboxProps>;
|
|
2183
2184
|
|
|
2184
2185
|
type ListSize = 's' | 'm' | 'l';
|
|
2185
|
-
type ListVariant = 'default' | 'bordered' | 'card' | 'minimal';
|
|
2186
|
+
type ListVariant = 'default' | 'bordered' | 'card' | 'minimal' | 'navigation';
|
|
2186
2187
|
type ListItemType = 'default' | 'interactive' | 'selectable' | 'draggable';
|
|
2187
2188
|
type ListLayout = 'vertical' | 'horizontal';
|
|
2189
|
+
type ListClickableArea = 'item' | 'content';
|
|
2188
2190
|
interface ListItem {
|
|
2189
2191
|
/** 아이템 고유 ID */
|
|
2190
2192
|
id: string;
|
|
@@ -2239,6 +2241,18 @@ interface ListProps {
|
|
|
2239
2241
|
spacing?: 'none' | 's' | 'm' | 'l';
|
|
2240
2242
|
/** 아이템 정렬 */
|
|
2241
2243
|
alignment?: 'start' | 'center' | 'end' | 'stretch';
|
|
2244
|
+
/** 왼쪽 아이콘 표시 여부 */
|
|
2245
|
+
showLeadingIcon?: boolean;
|
|
2246
|
+
/** 설명(서브 정보 1차) 표시 여부 */
|
|
2247
|
+
showDescription?: boolean;
|
|
2248
|
+
/** 메타(서브 정보 2차) 표시 여부 */
|
|
2249
|
+
showMeta?: boolean;
|
|
2250
|
+
/** 우측 배지 표시 여부 */
|
|
2251
|
+
showBadge?: boolean;
|
|
2252
|
+
/** 우측 화살표 표시 여부 */
|
|
2253
|
+
showArrow?: boolean;
|
|
2254
|
+
/** 클릭 영역 */
|
|
2255
|
+
clickableArea?: ListClickableArea;
|
|
2242
2256
|
/** 아이템 클릭 핸들러 */
|
|
2243
2257
|
onItemClick?: (item: ListItem, index: number) => void;
|
|
2244
2258
|
/** 아이템 선택 핸들러 */
|
|
@@ -2297,6 +2311,46 @@ interface LogoProps {
|
|
|
2297
2311
|
}
|
|
2298
2312
|
declare const Logo: React$1.FC<LogoProps>;
|
|
2299
2313
|
|
|
2314
|
+
type MarqueeSize = 's' | 'm' | 'l';
|
|
2315
|
+
type MarqueeDirection = 'left' | 'right';
|
|
2316
|
+
type MarqueeVariant = 'default' | 'outlined' | 'filled';
|
|
2317
|
+
type MarqueeAlign = 'start' | 'center' | 'end';
|
|
2318
|
+
interface MarqueeProps {
|
|
2319
|
+
/** 흘러갈 콘텐츠 */
|
|
2320
|
+
children?: React$1.ReactNode;
|
|
2321
|
+
/** 다중 아이템 렌더링용 목록 (children보다 우선) */
|
|
2322
|
+
items?: React$1.ReactNode[];
|
|
2323
|
+
/** 이동 방향 */
|
|
2324
|
+
direction?: MarqueeDirection;
|
|
2325
|
+
/** 한 사이클 애니메이션 시간(초) */
|
|
2326
|
+
duration?: number;
|
|
2327
|
+
/** 속도 배율 (1 = 기본, 2 = 2배 빠름) */
|
|
2328
|
+
speed?: number;
|
|
2329
|
+
/** 컴포넌트 크기 */
|
|
2330
|
+
size?: MarqueeSize;
|
|
2331
|
+
/** 시각적 변형 */
|
|
2332
|
+
variant?: MarqueeVariant;
|
|
2333
|
+
/** 보더 표시 여부 */
|
|
2334
|
+
bordered?: boolean;
|
|
2335
|
+
/** 호버 시 일시정지 */
|
|
2336
|
+
pauseOnHover?: boolean;
|
|
2337
|
+
/** 양쪽 페이드 마스크 */
|
|
2338
|
+
fadeEdges?: boolean;
|
|
2339
|
+
/** 페이드 폭(px) */
|
|
2340
|
+
fadeWidth?: number;
|
|
2341
|
+
/** 양 끝 내부 여백(px), 미지정 시 fadeWidth를 사용 */
|
|
2342
|
+
edgePadding?: number;
|
|
2343
|
+
/** 아이템 간격(px) */
|
|
2344
|
+
gap?: number;
|
|
2345
|
+
/** 세로 정렬 */
|
|
2346
|
+
alignY?: MarqueeAlign;
|
|
2347
|
+
/** 추가 CSS 클래스 */
|
|
2348
|
+
className?: string;
|
|
2349
|
+
/** 접근성 라벨 */
|
|
2350
|
+
ariaLabel?: string;
|
|
2351
|
+
}
|
|
2352
|
+
declare const Marquee: React$1.FC<MarqueeProps>;
|
|
2353
|
+
|
|
2300
2354
|
type MarkdownEditorSize = 's' | 'm' | 'l';
|
|
2301
2355
|
type MarkdownEditorVariant = 'default' | 'outlined' | 'filled';
|
|
2302
2356
|
type MarkdownEditorMode = 'edit' | 'preview' | 'split' | 'code';
|
|
@@ -3328,6 +3382,10 @@ interface SearchBarProps {
|
|
|
3328
3382
|
onBlur?: (event: React$1.FocusEvent<HTMLInputElement>) => void;
|
|
3329
3383
|
/** 키 입력 핸들러 */
|
|
3330
3384
|
onKeyDown?: (event: React$1.KeyboardEvent<HTMLInputElement>) => void;
|
|
3385
|
+
/** 단축키 배지 노출 여부 (예: ⌘K) */
|
|
3386
|
+
showShortcut?: boolean;
|
|
3387
|
+
/** 단축키 배지 텍스트 */
|
|
3388
|
+
shortcutLabel?: string;
|
|
3331
3389
|
/** 추가 CSS 클래스 */
|
|
3332
3390
|
className?: string;
|
|
3333
3391
|
/** 추가 props */
|
|
@@ -4062,6 +4120,7 @@ interface TimePickerProps {
|
|
|
4062
4120
|
minuteStep?: number;
|
|
4063
4121
|
disabled?: boolean;
|
|
4064
4122
|
readonly?: boolean;
|
|
4123
|
+
dropdownPosition?: 'bottom-start' | 'bottom-end';
|
|
4065
4124
|
onChange?: (time24: string) => void;
|
|
4066
4125
|
className?: string;
|
|
4067
4126
|
}
|
|
@@ -4507,5 +4566,5 @@ interface ComponentBaseProps {
|
|
|
4507
4566
|
children?: React.ReactNode;
|
|
4508
4567
|
}
|
|
4509
4568
|
|
|
4510
|
-
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, 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 };
|
|
4511
|
-
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, 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, 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, TutorialProps, TutorialStep, UploadFile, VideoPlayerProps, VideoPlayerSize, VideoPlayerTheme, VideoPlayerVariant, YouTubePlayerProps, YouTubePlayerSize, YouTubePlayerTheme, YouTubePlayerVariant };
|
|
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, 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, 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, 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, TutorialProps, TutorialStep, UploadFile, VideoPlayerProps, VideoPlayerSize, VideoPlayerTheme, VideoPlayerVariant, YouTubePlayerProps, YouTubePlayerSize, YouTubePlayerTheme, YouTubePlayerVariant };
|