@designbasekorea/ui-wc 0.9.2 → 0.9.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/CHANGELOG.md +13 -0
- package/dist/esm/components/db-ai-chat-list.js +1 -1
- package/dist/esm/components/db-alert.d.ts +12 -0
- package/dist/esm/components/db-alert.js +1 -1
- package/dist/esm/components/db-backdrop.js +1 -1
- package/dist/esm/components/db-bottom-sheet.js +1 -1
- package/dist/esm/components/db-chat-composer.js +1 -1
- package/dist/esm/components/db-code-block.js +1 -1
- package/dist/esm/components/db-confirm.js +1 -1
- package/dist/esm/components/db-context-menu.js +1 -1
- package/dist/esm/components/db-cursor-follower.js +1 -1
- package/dist/esm/components/db-drawer.d.ts +1 -0
- package/dist/esm/components/db-drawer.js +1 -1
- package/dist/esm/components/db-dropdown.js +1 -1
- package/dist/esm/components/db-lightbox.js +1 -1
- package/dist/esm/components/db-modal.js +1 -1
- package/dist/esm/components/db-onboarding-modal.js +1 -1
- package/dist/esm/components/db-popover.js +1 -1
- package/dist/esm/components/db-search-bar.js +1 -1
- package/dist/esm/components/db-select.js +1 -1
- package/dist/esm/components/db-time-picker.js +1 -1
- package/dist/esm/components/db-tooltip.js +1 -1
- package/dist/esm/components/db-tutorial.js +1 -1
- package/dist/esm/components/db-voice-control.js +1 -1
- package/dist/esm/core/focus-trap.js +1 -1
- package/dist/esm/core/host-class.js +1 -0
- package/dist/esm/core/i18n-copy.js +1 -1
- package/dist/esm/core/i18n-en.js +1 -1
- package/dist/esm/core/i18n.d.ts +12 -0
- package/dist/esm/core/i18n.js +1 -1
- package/dist/esm/core/theme-scope.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +25 -0
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +4 -0
- package/dist/react/index.esm.js +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -407,6 +407,18 @@ declare const DEFAULT_STRINGS: {
|
|
|
407
407
|
readonly 'tweetCard.reply': "답글";
|
|
408
408
|
readonly 'tweetCard.verified': "인증된 계정";
|
|
409
409
|
readonly 'tweetCard.retry': "다시 시도";
|
|
410
|
+
readonly 'chatComposer.placeholder': "메시지를 입력하세요…";
|
|
411
|
+
readonly 'chatComposer.send': "전송";
|
|
412
|
+
readonly 'chatComposer.stop': "생성 중지";
|
|
413
|
+
readonly 'chatComposer.attach': "첨부";
|
|
414
|
+
readonly 'voice.start': "음성 입력";
|
|
415
|
+
readonly 'voice.stop': "받아쓰기 완료";
|
|
416
|
+
readonly 'voice.cancel': "음성 입력 취소";
|
|
417
|
+
readonly 'voice.starting': "마이크 연결 중";
|
|
418
|
+
readonly 'voice.listening': "음성 인식 중";
|
|
419
|
+
readonly 'voice.stopping': "마지막 문장 확인 중";
|
|
420
|
+
readonly 'voice.error': "음성 인식 실패";
|
|
421
|
+
readonly 'voice.unsupported': "음성 입력 미지원";
|
|
410
422
|
};
|
|
411
423
|
type DbStringKey = keyof typeof DEFAULT_STRINGS;
|
|
412
424
|
type DbStrings = Partial<Record<DbStringKey, string>> & Record<string, string>;
|
|
@@ -1559,8 +1571,20 @@ interface DbAlertAction {
|
|
|
1559
1571
|
}
|
|
1560
1572
|
declare class DbAlert extends HTMLElement {
|
|
1561
1573
|
static get observedAttributes(): string[];
|
|
1574
|
+
/** 소비자가 넣은 자식(링크·코드 등)을 담아 두는 내부 컨테이너. 렌더 사이에 유지된다. */
|
|
1575
|
+
private slotEl?;
|
|
1576
|
+
private observer?;
|
|
1577
|
+
/** 슬롯 내부 변경(React 가 래퍼 안 자식을 바꿀 때)을 감지해 빈 슬롯 여부를 다시 계산한다 */
|
|
1578
|
+
private slotObserver?;
|
|
1579
|
+
private renderedSlotted;
|
|
1562
1580
|
connectedCallback(): void;
|
|
1581
|
+
disconnectedCallback(): void;
|
|
1563
1582
|
attributeChangedCallback(): void;
|
|
1583
|
+
private getSlot;
|
|
1584
|
+
/** 호스트에 직접 붙은 소비자 노드를 슬롯으로 옮긴다. 공백 텍스트는 버린다. */
|
|
1585
|
+
private moveChildrenToSlot;
|
|
1586
|
+
private adoptChildren;
|
|
1587
|
+
private hasSlotted;
|
|
1564
1588
|
private getIconName;
|
|
1565
1589
|
private parseActionButtons;
|
|
1566
1590
|
private render;
|
|
@@ -1742,6 +1766,7 @@ declare class DbDrawer extends HTMLElement {
|
|
|
1742
1766
|
/** 잠근 적이 있을 때만 푼다 — 카운트가 음수로 새지 않도록 */
|
|
1743
1767
|
private releaseScrollLock;
|
|
1744
1768
|
attributeChangedCallback(name: string): void;
|
|
1769
|
+
private syncInteraction;
|
|
1745
1770
|
private isOpenRequested;
|
|
1746
1771
|
private clearTimers;
|
|
1747
1772
|
private attachEscape;
|