@designbasekorea/ui-wc 0.4.0 → 0.5.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/esm/components/db-menu-item.d.ts +2 -1
- package/dist/esm/components/db-menu-item.js +1 -1
- package/dist/esm/components/db-sidebar.d.ts +54 -2
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +56 -3
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +78 -3
- package/dist/react/index.esm.js +1 -1
- package/package.json +1 -1
- /package/dist/chunks/{lottie-3b3dac01.js → lottie-aa12f9e1.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1223,9 +1223,10 @@ declare class DbMenuItem extends HTMLElement {
|
|
|
1223
1223
|
get expanded(): boolean;
|
|
1224
1224
|
set expanded(value: boolean);
|
|
1225
1225
|
connectedCallback(): void;
|
|
1226
|
-
attributeChangedCallback(): void;
|
|
1227
1226
|
private iconSize;
|
|
1228
1227
|
private render;
|
|
1228
|
+
attributeChangedCallback(name: string): void;
|
|
1229
|
+
private syncExpandedState;
|
|
1229
1230
|
}
|
|
1230
1231
|
declare global {
|
|
1231
1232
|
interface HTMLElementTagNameMap {
|
|
@@ -1709,9 +1710,26 @@ interface DbSidebarUserProfile {
|
|
|
1709
1710
|
email?: string;
|
|
1710
1711
|
avatar?: string;
|
|
1711
1712
|
}
|
|
1713
|
+
interface DbSidebarProject {
|
|
1714
|
+
id: string;
|
|
1715
|
+
label: string;
|
|
1716
|
+
icon?: string;
|
|
1717
|
+
color?: string;
|
|
1718
|
+
href?: string;
|
|
1719
|
+
}
|
|
1720
|
+
interface DbSidebarPromoBanner {
|
|
1721
|
+
title: string;
|
|
1722
|
+
description?: string;
|
|
1723
|
+
ctaLabel?: string;
|
|
1724
|
+
ctaHref?: string;
|
|
1725
|
+
icon?: string;
|
|
1726
|
+
}
|
|
1712
1727
|
declare class DbSidebar extends HTMLElement {
|
|
1713
1728
|
private expandedItems;
|
|
1714
1729
|
private userMenuOpen;
|
|
1730
|
+
private projectMenuOpen;
|
|
1731
|
+
private flyoutItemId;
|
|
1732
|
+
private flyoutCloseTimer;
|
|
1715
1733
|
private outsideHandler;
|
|
1716
1734
|
static get observedAttributes(): string[];
|
|
1717
1735
|
connectedCallback(): void;
|
|
@@ -1726,17 +1744,52 @@ declare class DbSidebar extends HTMLElement {
|
|
|
1726
1744
|
set userMenuItems(value: DbSidebarItem[] | string);
|
|
1727
1745
|
get userProfile(): DbSidebarUserProfile | null;
|
|
1728
1746
|
set userProfile(value: DbSidebarUserProfile | string | null);
|
|
1747
|
+
get projects(): DbSidebarProject[];
|
|
1748
|
+
set projects(value: DbSidebarProject[] | string);
|
|
1749
|
+
get selectedProjectId(): string;
|
|
1750
|
+
set selectedProjectId(value: string);
|
|
1751
|
+
get projectManageLabel(): string;
|
|
1752
|
+
set projectManageLabel(value: string);
|
|
1753
|
+
get projectManageHref(): string;
|
|
1754
|
+
set projectManageHref(value: string);
|
|
1755
|
+
get projectSectionLabel(): string;
|
|
1756
|
+
set projectSectionLabel(value: string);
|
|
1757
|
+
get bottomItems(): DbSidebarItem[];
|
|
1758
|
+
set bottomItems(value: DbSidebarItem[] | string);
|
|
1759
|
+
get bottomSections(): DbSidebarSection[];
|
|
1760
|
+
set bottomSections(value: DbSidebarSection[] | string);
|
|
1761
|
+
get promoBanner(): DbSidebarPromoBanner | null;
|
|
1762
|
+
set promoBanner(value: DbSidebarPromoBanner | string | null);
|
|
1729
1763
|
private parseSections;
|
|
1730
1764
|
private parseUserMenuItems;
|
|
1731
1765
|
private parseUserProfile;
|
|
1766
|
+
private parseProjects;
|
|
1767
|
+
private parseBottomItems;
|
|
1768
|
+
private parseBottomSections;
|
|
1769
|
+
private parsePromoBanner;
|
|
1770
|
+
private getSelectedProject;
|
|
1732
1771
|
private bindOutsideClick;
|
|
1772
|
+
private closeOverlayMenus;
|
|
1773
|
+
private syncExclusiveAccordion;
|
|
1733
1774
|
private unbindOutsideClick;
|
|
1775
|
+
private cancelFlyoutClose;
|
|
1776
|
+
private showFlyout;
|
|
1777
|
+
private scheduleFlyoutClose;
|
|
1734
1778
|
private syncHostClasses;
|
|
1735
1779
|
private dispatchItemClick;
|
|
1736
1780
|
private dispatchUserMenuItemClick;
|
|
1737
|
-
private
|
|
1781
|
+
private dispatchProjectChange;
|
|
1782
|
+
private dispatchProjectManage;
|
|
1783
|
+
private dispatchPromoCtaClick;
|
|
1784
|
+
private createProjectAvatar;
|
|
1785
|
+
private createProjectSelector;
|
|
1786
|
+
private createFlyout;
|
|
1738
1787
|
private createSidebarMenuItem;
|
|
1788
|
+
private renderSectionList;
|
|
1739
1789
|
private renderNav;
|
|
1790
|
+
private renderBottomNav;
|
|
1791
|
+
private createUserDropdown;
|
|
1792
|
+
private createPromoBanner;
|
|
1740
1793
|
private render;
|
|
1741
1794
|
}
|
|
1742
1795
|
declare global {
|
|
@@ -4192,4 +4245,4 @@ interface DbConfirmOptions {
|
|
|
4192
4245
|
declare function confirm(options: DbConfirmOptions): Promise<boolean>;
|
|
4193
4246
|
|
|
4194
4247
|
export { DbAccordion, DbAdBanner, DbAlert, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbButton, DbCalendar, DbCard, DbCarousel, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbConfirm, DbContainer, DbContextMenu, DbCountdown, DbCursorFollower, DbDatePicker, DbDivider, DbDrawer, DbDropdown, DbDropzone, 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, DbPageHeader, DbPagination, 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, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabs, DbTestimonial, DbTextarea, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbVideoPlayer, DbYouTubePlayer, confirm, confirm as dbConfirm, toast as dbToast, showToast, toast };
|
|
4195
|
-
export type { CalendarEventData, CalendarEventType, DbAlertAction, DbBannerAction, DbBottomNavigationItem, 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, DbSidebarSection, DbSidebarUserProfile, DbStatChange, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, DbToastPosition, DbToastStatus };
|
|
4248
|
+
export type { CalendarEventData, CalendarEventType, DbAlertAction, DbBannerAction, DbBottomNavigationItem, 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, DbStatChange, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, DbToastPosition, DbToastStatus };
|