@designbasekorea/ui-wc 0.8.3 → 0.8.5
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/CHANGELOG.md +13 -0
- package/dist/esm/components/db-empty-state.js +1 -1
- package/dist/esm/components/db-modal.d.ts +6 -1
- package/dist/esm/components/db-modal.js +1 -1
- package/dist/esm/components/db-select.d.ts +3 -0
- package/dist/esm/components/db-select.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +52 -35
- package/dist/react/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/react/index.d.ts
CHANGED
|
@@ -414,10 +414,15 @@ declare class DbModal extends HTMLElement {
|
|
|
414
414
|
private collectUserChildren;
|
|
415
415
|
private classifyChildren;
|
|
416
416
|
private getClassifiedChildren;
|
|
417
|
+
private isHeaderPart;
|
|
417
418
|
private isBodyPart;
|
|
419
|
+
private isFooterContainer;
|
|
418
420
|
private isFooterPart;
|
|
419
421
|
private collectContentParts;
|
|
420
|
-
private
|
|
422
|
+
private footerAnchor;
|
|
423
|
+
private ensurePartShell;
|
|
424
|
+
private placeBodyParts;
|
|
425
|
+
private placeFooterParts;
|
|
421
426
|
private restorePartsToHost;
|
|
422
427
|
private bindFooterActions;
|
|
423
428
|
private ensureStructure;
|
|
@@ -695,6 +700,7 @@ declare class DbSelect extends HTMLElement {
|
|
|
695
700
|
get value(): string;
|
|
696
701
|
set value(value: string);
|
|
697
702
|
connectedCallback(): void;
|
|
703
|
+
formAssociatedCallback(): void;
|
|
698
704
|
disconnectedCallback(): void;
|
|
699
705
|
formResetCallback(): void;
|
|
700
706
|
formDisabledCallback(disabled: boolean): void;
|
|
@@ -707,6 +713,8 @@ declare class DbSelect extends HTMLElement {
|
|
|
707
713
|
private parseOptions;
|
|
708
714
|
private parseSelectedValues;
|
|
709
715
|
private setSelectedValues;
|
|
716
|
+
/** 화면의 초기 value도 사용자 선택과 동일하게 form-associated value로 반영한다. */
|
|
717
|
+
private syncFormValue;
|
|
710
718
|
private getIconSize;
|
|
711
719
|
private syncIndicatorIcons;
|
|
712
720
|
private build;
|
|
@@ -2672,6 +2680,15 @@ declare global {
|
|
|
2672
2680
|
}
|
|
2673
2681
|
}
|
|
2674
2682
|
|
|
2683
|
+
type FileStatus = 'pending' | 'uploading' | 'success' | 'error';
|
|
2684
|
+
type UploadFile = {
|
|
2685
|
+
file: File;
|
|
2686
|
+
id: string;
|
|
2687
|
+
status: FileStatus;
|
|
2688
|
+
progress: number;
|
|
2689
|
+
error?: string;
|
|
2690
|
+
uploadedAt?: Date;
|
|
2691
|
+
};
|
|
2675
2692
|
declare class DbFileUploader extends HTMLElement {
|
|
2676
2693
|
static get observedAttributes(): string[];
|
|
2677
2694
|
private dropzone?;
|
|
@@ -5794,18 +5811,18 @@ declare function ModalHeader({ className, children, ...props }: PartProps): reac
|
|
|
5794
5811
|
onFocusCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
5795
5812
|
onBlur?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
5796
5813
|
onBlurCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
5797
|
-
onChange?: react.
|
|
5798
|
-
onChangeCapture?: react.
|
|
5814
|
+
onChange?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5815
|
+
onChangeCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5799
5816
|
onBeforeInput?: react.InputEventHandler<HTMLDivElement> | undefined;
|
|
5800
|
-
onBeforeInputCapture?: react.
|
|
5801
|
-
onInput?: react.
|
|
5802
|
-
onInputCapture?: react.
|
|
5803
|
-
onReset?: react.
|
|
5804
|
-
onResetCapture?: react.
|
|
5805
|
-
onSubmit?: react.
|
|
5806
|
-
onSubmitCapture?: react.
|
|
5807
|
-
onInvalid?: react.
|
|
5808
|
-
onInvalidCapture?: react.
|
|
5817
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5818
|
+
onInput?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5819
|
+
onInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5820
|
+
onReset?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5821
|
+
onResetCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5822
|
+
onSubmit?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5823
|
+
onSubmitCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5824
|
+
onInvalid?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5825
|
+
onInvalidCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
5809
5826
|
onLoad?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
5810
5827
|
onLoadCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
5811
5828
|
onError?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -6076,18 +6093,18 @@ declare function ModalBody({ className, children, ...props }: PartProps): react.
|
|
|
6076
6093
|
onFocusCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6077
6094
|
onBlur?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6078
6095
|
onBlurCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6079
|
-
onChange?: react.
|
|
6080
|
-
onChangeCapture?: react.
|
|
6096
|
+
onChange?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6097
|
+
onChangeCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6081
6098
|
onBeforeInput?: react.InputEventHandler<HTMLDivElement> | undefined;
|
|
6082
|
-
onBeforeInputCapture?: react.
|
|
6083
|
-
onInput?: react.
|
|
6084
|
-
onInputCapture?: react.
|
|
6085
|
-
onReset?: react.
|
|
6086
|
-
onResetCapture?: react.
|
|
6087
|
-
onSubmit?: react.
|
|
6088
|
-
onSubmitCapture?: react.
|
|
6089
|
-
onInvalid?: react.
|
|
6090
|
-
onInvalidCapture?: react.
|
|
6099
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6100
|
+
onInput?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6101
|
+
onInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6102
|
+
onReset?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6103
|
+
onResetCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6104
|
+
onSubmit?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6105
|
+
onSubmitCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6106
|
+
onInvalid?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6107
|
+
onInvalidCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6091
6108
|
onLoad?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
6092
6109
|
onLoadCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
6093
6110
|
onError?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -6358,18 +6375,18 @@ declare function ModalFooter({ className, children, ...props }: PartProps): reac
|
|
|
6358
6375
|
onFocusCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6359
6376
|
onBlur?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6360
6377
|
onBlurCapture?: react.FocusEventHandler<HTMLDivElement> | undefined;
|
|
6361
|
-
onChange?: react.
|
|
6362
|
-
onChangeCapture?: react.
|
|
6378
|
+
onChange?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6379
|
+
onChangeCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6363
6380
|
onBeforeInput?: react.InputEventHandler<HTMLDivElement> | undefined;
|
|
6364
|
-
onBeforeInputCapture?: react.
|
|
6365
|
-
onInput?: react.
|
|
6366
|
-
onInputCapture?: react.
|
|
6367
|
-
onReset?: react.
|
|
6368
|
-
onResetCapture?: react.
|
|
6369
|
-
onSubmit?: react.
|
|
6370
|
-
onSubmitCapture?: react.
|
|
6371
|
-
onInvalid?: react.
|
|
6372
|
-
onInvalidCapture?: react.
|
|
6381
|
+
onBeforeInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6382
|
+
onInput?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6383
|
+
onInputCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6384
|
+
onReset?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6385
|
+
onResetCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6386
|
+
onSubmit?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6387
|
+
onSubmitCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6388
|
+
onInvalid?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6389
|
+
onInvalidCapture?: react.FormEventHandler<HTMLDivElement> | undefined;
|
|
6373
6390
|
onLoad?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
6374
6391
|
onLoadCapture?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
6375
6392
|
onError?: react.ReactEventHandler<HTMLDivElement> | undefined;
|
|
@@ -10163,4 +10180,4 @@ declare const TimePicker: react.ForwardRefExoticComponent<Omit<TimePickerProps,
|
|
|
10163
10180
|
declare const Calendar: react.ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
10164
10181
|
|
|
10165
10182
|
export { Accordion, ActivityHeatmap, AdBanner, AiChat, AiChatList, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu };
|
|
10166
|
-
export type { AccordionItemConfig, AccordionProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|
|
10183
|
+
export type { AccordionItemConfig, AccordionProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileStatus, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UploadFile, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|