@designbasekorea/ui-wc 0.7.1 → 0.8.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/CHANGELOG.md +39 -0
- package/README.md +9 -0
- package/dist/esm/components/db-color-picker.d.ts +1 -0
- package/dist/esm/components/db-color-picker.js +1 -1
- package/dist/esm/components/db-color-swatch.d.ts +43 -0
- package/dist/esm/components/db-color-swatch.js +1 -0
- package/dist/esm/components/db-range-slider.js +1 -1
- package/dist/esm/components/db-search-bar.js +1 -1
- package/dist/esm/components/db-segment-control.js +1 -1
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/esm/components/db-tabs.d.ts +3 -0
- package/dist/esm/components/db-tabs.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +47 -2
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +71 -4
- package/dist/react/index.esm.js +1 -1
- package/package.json +1 -1
- /package/dist/chunks/{lottie-672879dc.js → lottie-78a72482.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -306,6 +306,8 @@ declare class DbTabs extends HTMLElement {
|
|
|
306
306
|
private inactivePanels;
|
|
307
307
|
private isRendering;
|
|
308
308
|
private childObserver?;
|
|
309
|
+
private resizeObserver?;
|
|
310
|
+
private resizeRaf?;
|
|
309
311
|
get labels(): string[] | string;
|
|
310
312
|
set labels(value: string[] | string);
|
|
311
313
|
get tabItems(): TabItemConfig[];
|
|
@@ -324,6 +326,7 @@ declare class DbTabs extends HTMLElement {
|
|
|
324
326
|
set fullWidth(value: boolean);
|
|
325
327
|
connectedCallback(): void;
|
|
326
328
|
disconnectedCallback(): void;
|
|
329
|
+
private handleResize;
|
|
327
330
|
attributeChangedCallback(): void;
|
|
328
331
|
private handleListScroll;
|
|
329
332
|
private collectPanelContent;
|
|
@@ -3030,6 +3033,7 @@ declare class DbColorPicker extends HTMLElement {
|
|
|
3030
3033
|
private handleDocumentMouseMove;
|
|
3031
3034
|
private handleDocumentMouseUp;
|
|
3032
3035
|
private toggleOpen;
|
|
3036
|
+
close(): void;
|
|
3033
3037
|
private handleModalCancel;
|
|
3034
3038
|
private handleModalApply;
|
|
3035
3039
|
private mount;
|
|
@@ -3043,6 +3047,47 @@ declare global {
|
|
|
3043
3047
|
}
|
|
3044
3048
|
}
|
|
3045
3049
|
|
|
3050
|
+
type DbColorSwatchShape = 'rounded' | 'circle';
|
|
3051
|
+
type DbColorSwatchSize = 's' | 'm' | 'l';
|
|
3052
|
+
type DbColorSwatchCustomType = 'dropdown' | 'modal';
|
|
3053
|
+
type DbColorSwatchItem = {
|
|
3054
|
+
value: string;
|
|
3055
|
+
name?: string;
|
|
3056
|
+
};
|
|
3057
|
+
declare class DbColorSwatch extends HTMLElement {
|
|
3058
|
+
private colors;
|
|
3059
|
+
private selected;
|
|
3060
|
+
private customValue;
|
|
3061
|
+
private mounted;
|
|
3062
|
+
private gridEl?;
|
|
3063
|
+
private presetsEl?;
|
|
3064
|
+
private customWrapEl?;
|
|
3065
|
+
private customTipEl?;
|
|
3066
|
+
private customPickerEl?;
|
|
3067
|
+
static get observedAttributes(): string[];
|
|
3068
|
+
connectedCallback(): void;
|
|
3069
|
+
disconnectedCallback(): void;
|
|
3070
|
+
private handleOutsideMouseDown;
|
|
3071
|
+
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
|
|
3072
|
+
get value(): string;
|
|
3073
|
+
set value(next: string);
|
|
3074
|
+
private getOption;
|
|
3075
|
+
private getBool;
|
|
3076
|
+
private parseColors;
|
|
3077
|
+
private isCustomSelected;
|
|
3078
|
+
private emitChange;
|
|
3079
|
+
private selectPreset;
|
|
3080
|
+
private render;
|
|
3081
|
+
private buildSwatch;
|
|
3082
|
+
private ensureCustom;
|
|
3083
|
+
private updateCustom;
|
|
3084
|
+
}
|
|
3085
|
+
declare global {
|
|
3086
|
+
interface HTMLElementTagNameMap {
|
|
3087
|
+
'db-color-swatch': DbColorSwatch;
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3046
3091
|
type DbReorderItem = {
|
|
3047
3092
|
id: string;
|
|
3048
3093
|
content: string;
|
|
@@ -5508,5 +5553,5 @@ interface DbConfirmOptions {
|
|
|
5508
5553
|
/** 확인 대화상자를 띄우고, 확인 시 true / 취소(ESC·배경 포함) 시 false 로 resolve 합니다. */
|
|
5509
5554
|
declare function confirm(options: DbConfirmOptions): Promise<boolean>;
|
|
5510
5555
|
|
|
5511
|
-
export { DbAccordion, DbAdBanner, DbAiChat, DbAiChatList, DbAlert, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbButton, DbCalendar, DbCard, DbCarousel, DbChatComposer, DbChatList, DbChatMessage, DbChatOrb, DbChatRoom, DbChatSuggestions, DbChatTyping, DbChatWelcome, DbChatWidget, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbConfirm, DbContainer, DbContextMenu, DbCookieBanner, DbCountdown, DbCursorFollower, DbDatePicker, DbDivider, DbDownloadProgress, DbDrawer, DbDropdown, DbDropzone, DbEmailVerify, DbEmptyState, DbFileUploader, DbFloatingActionButton, DbFooter, DbForm, DbGantt, DbGradient, DbGrid, DbGridBackground, DbGridItem, DbImage, DbImageList, DbImagePlaceholder, DbIndicator, DbInput, DbKanban, DbLabel, DbLightbox, DbList, DbLogo, DbLottie, DbMarkdownEditor, DbMarquee, DbMasonry, DbMenuItem, DbModal, DbNavbar, DbOnboardingModal, DbOtpInput, DbPageHeader, DbPagination, DbPhoneVerify, DbPopover, DbProgress, DbProgressStep, DbProgressbar, DbRadio, DbRandomGradient, DbRangeSlider, DbRating, DbReorder, DbResizablePanels, DbScrollArea, DbSearchBar, DbSection, DbSectionAppDownload, DbSectionContact, DbSectionCta, DbSectionFaq, DbSectionFeature, DbSectionFeatureGrid, DbSectionHero, DbSectionLogoCloud, DbSectionPricing, DbSectionStats, DbSectionTestimonials, DbSegmentControl, DbSelect, DbShare, DbSidebar, DbSignature, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabs, DbTestimonial, DbTextarea, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbTwoFactor, DbVideoPlayer, DbYouTubePlayer, confirm, confirm as dbConfirm, toast as dbToast, showToast, toast };
|
|
5512
|
-
export type { CalendarEventData, CalendarEventType, DbAiChatItem, DbAlertAction, DbArtifactOptions, DbBannerAction, DbBottomNavigationItem, DbChatArtifactRef, DbChatAttachOption, DbChatListItem, DbChatMessageData, DbChatRoomMessage, DbChatSuggestion, DbChatTool, DbChatWidgetConversation, DbChatWidgetMessage, DbConfirmOptions, DbConfirmVariant, DbFooterCompanyInfo, DbFooterFamilySite, DbFooterLink, DbFooterLinkColumn, DbFooterSocialLink, DbFormFieldData, DbGanttAssignee, DbGanttGroup, DbGanttItem, DbGanttItemStatus, DbGanttRow, DbImageListItem, DbKanbanAssignee, DbKanbanCard, DbKanbanColumn, DbKanbanPriority, DbKanbanTag, DbLightboxImage, DbNavbarItem, DbNavbarUserProfile, DbPageHeaderTabItem, DbSharePlatform, DbShareVariant, DbSidebarItem, DbSidebarProject, DbSidebarPromoBanner, DbSidebarSection, DbSidebarUserProfile, DbSignaturePoint, DbSignatureVariant, DbStatChange, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, DbToastPosition, DbToastStatus };
|
|
5556
|
+
export { DbAccordion, DbAdBanner, DbAiChat, DbAiChatList, DbAlert, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbButton, DbCalendar, DbCard, DbCarousel, DbChatComposer, DbChatList, DbChatMessage, DbChatOrb, DbChatRoom, DbChatSuggestions, DbChatTyping, DbChatWelcome, DbChatWidget, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbColorSwatch, DbConfirm, DbContainer, DbContextMenu, DbCookieBanner, DbCountdown, DbCursorFollower, DbDatePicker, DbDivider, DbDownloadProgress, DbDrawer, DbDropdown, DbDropzone, DbEmailVerify, DbEmptyState, DbFileUploader, DbFloatingActionButton, DbFooter, DbForm, DbGantt, DbGradient, DbGrid, DbGridBackground, DbGridItem, DbImage, DbImageList, DbImagePlaceholder, DbIndicator, DbInput, DbKanban, DbLabel, DbLightbox, DbList, DbLogo, DbLottie, DbMarkdownEditor, DbMarquee, DbMasonry, DbMenuItem, DbModal, DbNavbar, DbOnboardingModal, DbOtpInput, DbPageHeader, DbPagination, DbPhoneVerify, DbPopover, DbProgress, DbProgressStep, DbProgressbar, DbRadio, DbRandomGradient, DbRangeSlider, DbRating, DbReorder, DbResizablePanels, DbScrollArea, DbSearchBar, DbSection, DbSectionAppDownload, DbSectionContact, DbSectionCta, DbSectionFaq, DbSectionFeature, DbSectionFeatureGrid, DbSectionHero, DbSectionLogoCloud, DbSectionPricing, DbSectionStats, DbSectionTestimonials, DbSegmentControl, DbSelect, DbShare, DbSidebar, DbSignature, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabs, DbTestimonial, DbTextarea, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbTwoFactor, DbVideoPlayer, DbYouTubePlayer, confirm, confirm as dbConfirm, toast as dbToast, showToast, toast };
|
|
5557
|
+
export type { CalendarEventData, CalendarEventType, DbAiChatItem, DbAlertAction, DbArtifactOptions, DbBannerAction, DbBottomNavigationItem, DbChatArtifactRef, DbChatAttachOption, DbChatListItem, DbChatMessageData, DbChatRoomMessage, DbChatSuggestion, DbChatTool, DbChatWidgetConversation, DbChatWidgetMessage, DbColorSwatchCustomType, DbColorSwatchItem, DbColorSwatchShape, DbColorSwatchSize, DbConfirmOptions, DbConfirmVariant, DbFooterCompanyInfo, DbFooterFamilySite, DbFooterLink, DbFooterLinkColumn, DbFooterSocialLink, DbFormFieldData, DbGanttAssignee, DbGanttGroup, DbGanttItem, DbGanttItemStatus, DbGanttRow, DbImageListItem, DbKanbanAssignee, DbKanbanCard, DbKanbanColumn, DbKanbanPriority, DbKanbanTag, DbLightboxImage, DbNavbarItem, DbNavbarUserProfile, DbPageHeaderTabItem, DbSharePlatform, DbShareVariant, DbSidebarItem, DbSidebarProject, DbSidebarPromoBanner, DbSidebarSection, DbSidebarUserProfile, DbSignaturePoint, DbSignatureVariant, DbStatChange, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, DbToastPosition, DbToastStatus };
|