@designbasekorea/ui-wc 0.5.1 → 0.5.3

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.
@@ -1674,6 +1674,10 @@ interface DbSidebarProject {
1674
1674
  icon?: string;
1675
1675
  color?: string;
1676
1676
  href?: string;
1677
+ /** 상태 뱃지 텍스트 (예: "연결 필요"). 없으면 미표시 */
1678
+ badge?: string;
1679
+ /** 뱃지 색상: primary | secondary | info | success | warning | danger */
1680
+ badgeColor?: string;
1677
1681
  }
1678
1682
  interface DbSidebarPromoBanner {
1679
1683
  title: string;
@@ -1712,6 +1716,10 @@ declare class DbSidebar extends HTMLElement {
1712
1716
  set projectManageHref(value: string);
1713
1717
  get projectSectionLabel(): string;
1714
1718
  set projectSectionLabel(value: string);
1719
+ get projectEmptyLabel(): string;
1720
+ set projectEmptyLabel(value: string);
1721
+ get projectEmptyTriggerLabel(): string;
1722
+ set projectEmptyTriggerLabel(value: string);
1715
1723
  get bottomItems(): DbSidebarItem[];
1716
1724
  set bottomItems(value: DbSidebarItem[] | string);
1717
1725
  get bottomSections(): DbSidebarSection[];
@@ -1740,6 +1748,8 @@ declare class DbSidebar extends HTMLElement {
1740
1748
  private dispatchProjectManage;
1741
1749
  private dispatchPromoCtaClick;
1742
1750
  private createProjectAvatar;
1751
+ private createProjectEmptyMark;
1752
+ private createProjectBadge;
1743
1753
  private createProjectSelector;
1744
1754
  private createFlyout;
1745
1755
  private createSidebarMenuItem;
@@ -2079,8 +2089,13 @@ declare global {
2079
2089
  declare class DbPageHeader extends HTMLElement {
2080
2090
  static get observedAttributes(): string[];
2081
2091
  private internalTabId;
2092
+ private childObserver?;
2093
+ private isRendering;
2082
2094
  connectedCallback(): void;
2095
+ disconnectedCallback(): void;
2083
2096
  attributeChangedCallback(name: string): void;
2097
+ /** React가 slot 자식을 host에 다시 붙였는지 감지 */
2098
+ private hasPendingSlottedChildren;
2084
2099
  private syncDefaultTab;
2085
2100
  private parseTabs;
2086
2101
  private parseBreadcrumbs;
@@ -5701,6 +5716,8 @@ type SidebarProject = {
5701
5716
  icon?: string;
5702
5717
  color?: string;
5703
5718
  href?: string;
5719
+ badge?: string;
5720
+ badgeColor?: string;
5704
5721
  };
5705
5722
  type SidebarPromoBanner = {
5706
5723
  title: string;
@@ -5720,6 +5737,8 @@ type SidebarProps = WebComponentProps & {
5720
5737
  projectManageLabel?: string;
5721
5738
  projectManageHref?: string;
5722
5739
  projectSectionLabel?: string;
5740
+ projectEmptyLabel?: string;
5741
+ projectEmptyTriggerLabel?: string;
5723
5742
  bottomItems?: SidebarItem[] | string;
5724
5743
  bottomSections?: SidebarSection[] | string;
5725
5744
  promoBanner?: SidebarPromoBanner | string;