@designbasekorea/ui-wc 0.5.0 → 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.
- package/dist/esm/components/db-page-header.d.ts +7 -0
- package/dist/esm/components/db-page-header.js +1 -1
- package/dist/esm/components/db-sidebar.d.ts +10 -0
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +17 -0
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +21 -0
- package/dist/react/index.esm.js +1 -1
- package/package.json +1 -1
- /package/dist/chunks/{lottie-aa12f9e1.js → lottie-2d1f6278.js} +0 -0
package/dist/react/index.d.ts
CHANGED
|
@@ -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;
|
|
@@ -2090,6 +2105,8 @@ declare class DbPageHeader extends HTMLElement {
|
|
|
2090
2105
|
private handleBack;
|
|
2091
2106
|
private handleTabChange;
|
|
2092
2107
|
private collectActions;
|
|
2108
|
+
private collectMeta;
|
|
2109
|
+
private renderMinimalAside;
|
|
2093
2110
|
private collectDescriptionSlot;
|
|
2094
2111
|
private renderTitleBlock;
|
|
2095
2112
|
private render;
|
|
@@ -5699,6 +5716,8 @@ type SidebarProject = {
|
|
|
5699
5716
|
icon?: string;
|
|
5700
5717
|
color?: string;
|
|
5701
5718
|
href?: string;
|
|
5719
|
+
badge?: string;
|
|
5720
|
+
badgeColor?: string;
|
|
5702
5721
|
};
|
|
5703
5722
|
type SidebarPromoBanner = {
|
|
5704
5723
|
title: string;
|
|
@@ -5718,6 +5737,8 @@ type SidebarProps = WebComponentProps & {
|
|
|
5718
5737
|
projectManageLabel?: string;
|
|
5719
5738
|
projectManageHref?: string;
|
|
5720
5739
|
projectSectionLabel?: string;
|
|
5740
|
+
projectEmptyLabel?: string;
|
|
5741
|
+
projectEmptyTriggerLabel?: string;
|
|
5721
5742
|
bottomItems?: SidebarItem[] | string;
|
|
5722
5743
|
bottomSections?: SidebarSection[] | string;
|
|
5723
5744
|
promoBanner?: SidebarPromoBanner | string;
|