@designbasekorea/ui-wc 0.8.8 → 0.8.11
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 +28 -0
- package/README.md +5 -1
- package/dist/esm/components/animation-background/controls.js +1 -1
- package/dist/esm/components/animation-background/layers.js +1 -1
- package/dist/esm/components/db-accordion.js +1 -1
- package/dist/esm/components/db-activity-heatmap.js +1 -1
- package/dist/esm/components/db-ad-banner.js +1 -1
- package/dist/esm/components/db-ai-chat.d.ts +2 -1
- package/dist/esm/components/db-ai-chat.js +1 -1
- package/dist/esm/components/db-ai-glow.d.ts +80 -0
- package/dist/esm/components/db-ai-glow.js +1 -0
- package/dist/esm/components/db-alert.js +1 -1
- package/dist/esm/components/db-animation-background.js +1 -1
- package/dist/esm/components/db-animation-text.js +1 -1
- package/dist/esm/components/db-app-badge.js +1 -1
- package/dist/esm/components/db-audio-player.js +1 -1
- package/dist/esm/components/db-badge.js +1 -1
- package/dist/esm/components/db-banner.js +1 -1
- package/dist/esm/components/db-breadcrumbs.js +1 -1
- package/dist/esm/components/db-button.d.ts +2 -0
- package/dist/esm/components/db-button.js +1 -1
- package/dist/esm/components/db-carousel.js +1 -1
- package/dist/esm/components/db-chat-message.js +1 -1
- package/dist/esm/components/db-chat-orb.js +1 -1
- package/dist/esm/components/db-chat-room.d.ts +1 -0
- package/dist/esm/components/db-chat-room.js +1 -1
- package/dist/esm/components/db-checkbox.js +1 -1
- package/dist/esm/components/db-color-picker.js +1 -1
- package/dist/esm/components/db-color-swatch.js +1 -1
- package/dist/esm/components/db-confirm.js +1 -1
- package/dist/esm/components/db-cookie-banner.js +1 -1
- package/dist/esm/components/db-countdown.js +1 -1
- package/dist/esm/components/db-dropzone.js +1 -1
- package/dist/esm/components/db-email-verify.js +1 -1
- package/dist/esm/components/db-empty-state.js +1 -1
- package/dist/esm/components/db-footer.js +1 -1
- package/dist/esm/components/db-gradient.js +1 -1
- package/dist/esm/components/db-icons.js +1 -1
- package/dist/esm/components/db-kanban.d.ts +0 -1
- package/dist/esm/components/db-kanban.js +1 -1
- package/dist/esm/components/db-label.js +1 -1
- package/dist/esm/components/db-list.js +1 -1
- package/dist/esm/components/db-logo-svg.js +1 -1
- package/dist/esm/components/db-logo.js +1 -1
- package/dist/esm/components/db-markdown-editor.js +1 -1
- package/dist/esm/components/db-marquee.js +1 -1
- package/dist/esm/components/db-menu-item.js +1 -1
- package/dist/esm/components/db-navbar.js +1 -1
- package/dist/esm/components/db-otp-input.js +1 -1
- package/dist/esm/components/db-page-header.js +1 -1
- package/dist/esm/components/db-pagination.js +1 -1
- package/dist/esm/components/db-phone-verify.js +1 -1
- package/dist/esm/components/db-progress-step.js +1 -1
- package/dist/esm/components/db-random-gradient.js +1 -1
- package/dist/esm/components/db-range-slider.d.ts +0 -1
- package/dist/esm/components/db-range-slider.js +1 -1
- package/dist/esm/components/db-rating.js +1 -1
- package/dist/esm/components/db-reorder.js +1 -1
- package/dist/esm/components/db-section-app-download.js +1 -1
- package/dist/esm/components/db-section-contact.js +1 -1
- package/dist/esm/components/db-section-cta.js +1 -1
- package/dist/esm/components/db-section-faq.js +1 -1
- package/dist/esm/components/db-section-feature-grid.js +1 -1
- package/dist/esm/components/db-section-feature.js +1 -1
- package/dist/esm/components/db-section-hero.js +1 -1
- package/dist/esm/components/db-section-logo-cloud.js +1 -1
- package/dist/esm/components/db-section-pricing.js +1 -1
- package/dist/esm/components/db-section-stats.js +1 -1
- package/dist/esm/components/db-section-testimonials.js +1 -1
- package/dist/esm/components/db-section.js +1 -1
- package/dist/esm/components/db-share-icons.js +1 -1
- package/dist/esm/components/db-share.d.ts +3 -0
- package/dist/esm/components/db-share.js +1 -1
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/esm/components/db-signature.js +1 -1
- package/dist/esm/components/db-tabs.js +1 -1
- package/dist/esm/components/db-time-picker.d.ts +9 -0
- package/dist/esm/components/db-time-picker.js +1 -1
- package/dist/esm/components/db-timeline.js +1 -1
- package/dist/esm/components/db-toast.js +1 -1
- package/dist/esm/components/db-toggle.d.ts +2 -0
- package/dist/esm/components/db-toggle.js +1 -1
- package/dist/esm/components/db-toolbar.js +1 -1
- package/dist/esm/components/db-two-factor.js +1 -1
- package/dist/esm/components/db-video-player.js +1 -1
- package/dist/esm/components/db-youtube-player.js +1 -1
- package/dist/esm/components/section-block-header-utils.js +1 -1
- package/dist/esm/core/safe-html.d.ts +4 -0
- package/dist/esm/core/safe-html.js +1 -0
- package/dist/esm/core/safe-url.d.ts +3 -0
- package/dist/esm/core/safe-url.js +1 -0
- package/dist/esm/core/voice-meter.js +1 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/@designbasekorea/ui-contracts/dist/components.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +102 -5
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +183 -7
- package/dist/react/index.esm.js +1 -1
- package/package.json +4 -4
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ReactNode } from 'react';
|
|
3
|
-
import { BadgeVariant, BadgeType, TIME_PICKER_FORMATS, DOWNLOAD_PROGRESS_STATUSES, DOWNLOAD_PROGRESS_POSITIONS, OTP_INPUT_SIZES, PHONE_VERIFY_SIZES, EMAIL_VERIFY_SIZES, TWO_FACTOR_SIZES, CHAT_ORB_SIZES, CHAT_ORB_VARIANTS, CHAT_ORB_STATES, CHAT_ORB_THEMES, CHAT_MESSAGE_ROLES, CHAT_WIDGET_VIEWS, CHAT_WIDGET_POSITIONS } from '@designbasekorea/ui-contracts';
|
|
3
|
+
import { BadgeVariant, BadgeType, TIME_PICKER_FORMATS, DOWNLOAD_PROGRESS_STATUSES, DOWNLOAD_PROGRESS_POSITIONS, OTP_INPUT_SIZES, PHONE_VERIFY_SIZES, EMAIL_VERIFY_SIZES, TWO_FACTOR_SIZES, AI_GLOW_STATES, AI_GLOW_VARIANTS, AI_GLOW_SIZES, CHAT_ORB_SIZES, CHAT_ORB_VARIANTS, CHAT_ORB_STATES, CHAT_ORB_THEMES, CHAT_MESSAGE_ROLES, CHAT_WIDGET_VIEWS, CHAT_WIDGET_POSITIONS, ToggleVariant } from '@designbasekorea/ui-contracts';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Light DOM custom element for the canonical web Button.
|
|
@@ -25,6 +25,8 @@ declare class DbButton extends HTMLElement {
|
|
|
25
25
|
set accentStyle(value: string);
|
|
26
26
|
get type(): string;
|
|
27
27
|
set type(value: string);
|
|
28
|
+
get href(): string;
|
|
29
|
+
set href(value: string);
|
|
28
30
|
get loadingText(): string;
|
|
29
31
|
set loadingText(value: string);
|
|
30
32
|
get disabled(): boolean;
|
|
@@ -192,6 +194,8 @@ declare class DbToggle extends HTMLElement {
|
|
|
192
194
|
set readOnly(value: boolean);
|
|
193
195
|
get size(): string;
|
|
194
196
|
set size(value: string);
|
|
197
|
+
get variant(): string;
|
|
198
|
+
set variant(value: string);
|
|
195
199
|
connectedCallback(): void;
|
|
196
200
|
attributeChangedCallback(): void;
|
|
197
201
|
formResetCallback(): void;
|
|
@@ -1377,6 +1381,9 @@ declare class DbShare extends HTMLElement {
|
|
|
1377
1381
|
private dropdownEl;
|
|
1378
1382
|
connectedCallback(): void;
|
|
1379
1383
|
disconnectedCallback(): void;
|
|
1384
|
+
private getVariant;
|
|
1385
|
+
private getSize;
|
|
1386
|
+
private getPosition;
|
|
1380
1387
|
attributeChangedCallback(name: string): void;
|
|
1381
1388
|
get open(): boolean;
|
|
1382
1389
|
set open(value: boolean);
|
|
@@ -2091,7 +2098,6 @@ declare class DbRangeSlider extends HTMLElement {
|
|
|
2091
2098
|
private boundTrackClick;
|
|
2092
2099
|
private boundPointerMove;
|
|
2093
2100
|
private boundPointerUp;
|
|
2094
|
-
private boundContainerKeyDown;
|
|
2095
2101
|
private eventsBound;
|
|
2096
2102
|
connectedCallback(): void;
|
|
2097
2103
|
disconnectedCallback(): void;
|
|
@@ -2818,6 +2824,8 @@ declare class DbTimePicker extends HTMLElement {
|
|
|
2818
2824
|
private tempSeconds;
|
|
2819
2825
|
private tempPeriod;
|
|
2820
2826
|
private boundDocumentMouseDown;
|
|
2827
|
+
private boundViewportChange;
|
|
2828
|
+
private viewportChangeFrame;
|
|
2821
2829
|
connectedCallback(): void;
|
|
2822
2830
|
disconnectedCallback(): void;
|
|
2823
2831
|
/** 열린 드롭다운은 Escape 로 닫히고 포커스는 트리거로 돌아간다 (A11Y-ESCAPE) */
|
|
@@ -2832,6 +2840,10 @@ declare class DbTimePicker extends HTMLElement {
|
|
|
2832
2840
|
private get is12h();
|
|
2833
2841
|
private get showSeconds();
|
|
2834
2842
|
private get minuteStep();
|
|
2843
|
+
private get normalizedSize();
|
|
2844
|
+
private get dropdownPosition();
|
|
2845
|
+
/** CSS wheel item 높이와 스크롤 계산을 같은 값으로 유지한다. */
|
|
2846
|
+
private get itemHeight();
|
|
2835
2847
|
get disabled(): boolean;
|
|
2836
2848
|
set disabled(value: boolean);
|
|
2837
2849
|
get readonly(): boolean;
|
|
@@ -2850,6 +2862,9 @@ declare class DbTimePicker extends HTMLElement {
|
|
|
2850
2862
|
private closePicker;
|
|
2851
2863
|
private toggleOpen;
|
|
2852
2864
|
private handleDocumentMouseDown;
|
|
2865
|
+
private handleViewportChange;
|
|
2866
|
+
/** 드롭다운을 body에 고정해 overflow-hidden 컬럼에서도 잘리지 않게 한다. */
|
|
2867
|
+
private positionDropdown;
|
|
2853
2868
|
private createWheel;
|
|
2854
2869
|
private renderSelector;
|
|
2855
2870
|
private render;
|
|
@@ -3300,7 +3315,6 @@ declare class DbKanban extends HTMLElement {
|
|
|
3300
3315
|
disconnectedCallback(): void;
|
|
3301
3316
|
attributeChangedCallback(): void;
|
|
3302
3317
|
private getBool;
|
|
3303
|
-
private getOption;
|
|
3304
3318
|
private emitChange;
|
|
3305
3319
|
private emitCardMove;
|
|
3306
3320
|
private findCardLocation;
|
|
@@ -4829,6 +4843,149 @@ declare global {
|
|
|
4829
4843
|
}
|
|
4830
4844
|
}
|
|
4831
4845
|
|
|
4846
|
+
/**
|
|
4847
|
+
* 정리(cleanup) 관리.
|
|
4848
|
+
*
|
|
4849
|
+
* `connectedCallback` 에서 등록한 리스너·타이머·observer 를 `disconnectedCallback`
|
|
4850
|
+
* 에서 빠짐없이 해제하기 위한 도구. 등록과 해제를 한 줄로 묶어두면
|
|
4851
|
+
* "add 는 했는데 remove 를 빠뜨리는" 실수가 구조적으로 불가능해진다.
|
|
4852
|
+
*
|
|
4853
|
+
* 규격: PERF-CLEANUP
|
|
4854
|
+
*/
|
|
4855
|
+
type Cleanup = () => void;
|
|
4856
|
+
/** 해제 함수를 모아뒀다가 한 번에 실행하는 가방 */
|
|
4857
|
+
declare class CleanupBag {
|
|
4858
|
+
private items;
|
|
4859
|
+
/** 해제 함수를 직접 등록 */
|
|
4860
|
+
add(fn: Cleanup): void;
|
|
4861
|
+
/** 리스너를 달고 해제 함수를 자동 등록 */
|
|
4862
|
+
listen<T extends EventTarget>(target: T, type: string, handler: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
4863
|
+
/** setTimeout — 해제 시 자동 clear */
|
|
4864
|
+
timeout(fn: () => void, ms: number): number;
|
|
4865
|
+
/** setInterval — 해제 시 자동 clear */
|
|
4866
|
+
interval(fn: () => void, ms: number): number;
|
|
4867
|
+
/** MutationObserver / ResizeObserver / IntersectionObserver 등록 */
|
|
4868
|
+
observe<T extends {
|
|
4869
|
+
disconnect(): void;
|
|
4870
|
+
}>(observer: T): T;
|
|
4871
|
+
/** 등록된 모든 해제 함수를 실행하고 비운다. 여러 번 호출해도 안전하다. */
|
|
4872
|
+
run(): void;
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
/**
|
|
4876
|
+
* 선택적 베이스 클래스.
|
|
4877
|
+
*
|
|
4878
|
+
* 기존 130개 컴포넌트는 전부 `extends HTMLElement` 이며 그대로 동작한다.
|
|
4879
|
+
* 새 컴포넌트나 개선 대상만 이 클래스를 상속하면 정리(cleanup)와 이벤트 발행이
|
|
4880
|
+
* 규격에 맞게 강제된다. **상속은 강제가 아니다.**
|
|
4881
|
+
*
|
|
4882
|
+
* 규격: PERF-CLEANUP, STD-EVENT
|
|
4883
|
+
*/
|
|
4884
|
+
|
|
4885
|
+
declare abstract class DbElement extends HTMLElement {
|
|
4886
|
+
/**
|
|
4887
|
+
* `connectedCallback` 에서 등록한 것들을 담아두는 가방.
|
|
4888
|
+
* `disconnectedCallback` 에서 자동으로 비워진다.
|
|
4889
|
+
*/
|
|
4890
|
+
protected readonly cleanups: CleanupBag;
|
|
4891
|
+
/**
|
|
4892
|
+
* 하위 클래스는 `disconnectedCallback` 을 오버라이드할 때 반드시
|
|
4893
|
+
* `super.disconnectedCallback()` 을 호출해야 한다.
|
|
4894
|
+
*/
|
|
4895
|
+
disconnectedCallback(): void;
|
|
4896
|
+
/**
|
|
4897
|
+
* 규격에 맞는 커스텀 이벤트를 발행한다 — `db-` 접두사 + bubbles + composed.
|
|
4898
|
+
*
|
|
4899
|
+
* @returns `preventDefault()` 되지 않았으면 true
|
|
4900
|
+
*/
|
|
4901
|
+
protected dbEmit<T>(name: string, detail?: T, options?: {
|
|
4902
|
+
cancelable?: boolean;
|
|
4903
|
+
}): boolean;
|
|
4904
|
+
/**
|
|
4905
|
+
* 커스텀 엘리먼트가 정의되기 **전에** 프레임워크가 프로퍼티로 값을 넣어둔 경우,
|
|
4906
|
+
* 그 값은 인스턴스 자체 프로퍼티로 남아 접근자를 가린다. 정의 후 회수한다.
|
|
4907
|
+
*
|
|
4908
|
+
* 규격: STD-UPGRADE
|
|
4909
|
+
*/
|
|
4910
|
+
protected upgradeProperties(names: string[]): void;
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
type GlowSize = (typeof AI_GLOW_SIZES)[number];
|
|
4914
|
+
type GlowState = (typeof AI_GLOW_STATES)[number];
|
|
4915
|
+
type GlowVariant = (typeof AI_GLOW_VARIANTS)[number];
|
|
4916
|
+
/**
|
|
4917
|
+
* AI 가 생각·작업·청취 중임을 알리는 테두리 글로우.
|
|
4918
|
+
* iOS Siri·브라우저 에이전트처럼 가장자리 안쪽으로 여러 색 그라데이션이 번지며 흐른다.
|
|
4919
|
+
* 콘텐츠 위에 떠 있지만 `pointer-events: none` 이라 조작을 막지 않는다.
|
|
4920
|
+
*
|
|
4921
|
+
* 기본은 뷰포트 전체(`position: fixed`). `contained` 를 주면 가장 가까운 positioned 조상 안에만
|
|
4922
|
+
* 깔리고 모서리 둥글기도 부모를 따른다 — 부모에 `position: relative` 가 필요하다.
|
|
4923
|
+
*
|
|
4924
|
+
* `state="listening"` 은 음성 반응 모드다. `audioStream`(마이크 MediaStream) 또는
|
|
4925
|
+
* `voice-level`(0–1) 을 넣으면 소리 크기에 맞춰 빛의 두께·밝기가 출렁인다.
|
|
4926
|
+
* 둘 다 없으면 청취 중임을 알 수 있도록 말하는 듯한 잔잔한 움직임으로 대신한다.
|
|
4927
|
+
*
|
|
4928
|
+
* @example
|
|
4929
|
+
* <db-ai-glow active></db-ai-glow>
|
|
4930
|
+
*
|
|
4931
|
+
* @example
|
|
4932
|
+
* const glow = document.querySelector('db-ai-glow');
|
|
4933
|
+
* glow.state = 'listening';
|
|
4934
|
+
* glow.audioStream = await navigator.mediaDevices.getUserMedia({ audio: true });
|
|
4935
|
+
* glow.active = true;
|
|
4936
|
+
*/
|
|
4937
|
+
declare class DbAiGlow extends DbElement {
|
|
4938
|
+
static get observedAttributes(): string[];
|
|
4939
|
+
private status;
|
|
4940
|
+
private readonly meter;
|
|
4941
|
+
private inputStream;
|
|
4942
|
+
private rafId;
|
|
4943
|
+
private lastFrame;
|
|
4944
|
+
private startedAt;
|
|
4945
|
+
private level;
|
|
4946
|
+
get active(): boolean;
|
|
4947
|
+
set active(value: boolean);
|
|
4948
|
+
get state(): GlowState;
|
|
4949
|
+
set state(value: GlowState);
|
|
4950
|
+
get variant(): GlowVariant;
|
|
4951
|
+
set variant(value: GlowVariant);
|
|
4952
|
+
get size(): GlowSize;
|
|
4953
|
+
set size(value: GlowSize);
|
|
4954
|
+
get contained(): boolean;
|
|
4955
|
+
set contained(value: boolean);
|
|
4956
|
+
/** 외부 분석기가 전달하는 정규화 음성 레벨(0–1). `listening` 상태에서만 쓰인다. */
|
|
4957
|
+
get voiceLevel(): number;
|
|
4958
|
+
set voiceLevel(value: number);
|
|
4959
|
+
/** 켜질 때 스크린 리더에 알릴 문구(예: "AI가 화면을 제어하는 중"). 없으면 순수 장식이다. */
|
|
4960
|
+
get label(): string;
|
|
4961
|
+
set label(value: string);
|
|
4962
|
+
/**
|
|
4963
|
+
* 실제 마이크/통화 MediaStream. 음량만 분석하며 트랙을 stop() 하지 않는다.
|
|
4964
|
+
* null 을 넣으면 분석만 해제한다.
|
|
4965
|
+
*/
|
|
4966
|
+
get audioStream(): MediaStream | null;
|
|
4967
|
+
set audioStream(stream: MediaStream | null);
|
|
4968
|
+
connectedCallback(): void;
|
|
4969
|
+
disconnectedCallback(): void;
|
|
4970
|
+
attributeChangedCallback(name: string): void;
|
|
4971
|
+
private onMotionChange;
|
|
4972
|
+
/** 구조는 한 번만 만든다 (PERF-RECONCILE) */
|
|
4973
|
+
private ensureStructure;
|
|
4974
|
+
/** 소비자가 붙인 className 은 건드리지 않고 수식어만 교체한다 */
|
|
4975
|
+
private syncClasses;
|
|
4976
|
+
private syncStatus;
|
|
4977
|
+
/** 음성 반응 루프는 청취 중 + 켜짐 + 모션 허용일 때만 돈다. 나머지 애니메이션은 전부 CSS 다. */
|
|
4978
|
+
private syncLoop;
|
|
4979
|
+
private stopLoop;
|
|
4980
|
+
private frame;
|
|
4981
|
+
private sampleLevel;
|
|
4982
|
+
}
|
|
4983
|
+
declare global {
|
|
4984
|
+
interface HTMLElementTagNameMap {
|
|
4985
|
+
'db-ai-glow': DbAiGlow;
|
|
4986
|
+
}
|
|
4987
|
+
}
|
|
4988
|
+
|
|
4832
4989
|
type OrbSize = (typeof CHAT_ORB_SIZES)[number];
|
|
4833
4990
|
type OrbVariant = (typeof CHAT_ORB_VARIANTS)[number];
|
|
4834
4991
|
type OrbState = (typeof CHAT_ORB_STATES)[number];
|
|
@@ -5373,7 +5530,8 @@ interface DbArtifactOptions {
|
|
|
5373
5530
|
title?: string;
|
|
5374
5531
|
/** 헤더 부제(선택) */
|
|
5375
5532
|
subtitle?: string;
|
|
5376
|
-
/** 본문 HTML (
|
|
5533
|
+
/** 허용 목록으로 정제할 본문 HTML (직접 요소를 넣으려면 setArtifactContent 사용) */
|
|
5534
|
+
/** 허용 목록으로 정제할 HTML 본문 (text 대신) */
|
|
5377
5535
|
html?: string;
|
|
5378
5536
|
/** 인라인 카드와 동기화할 id (toggle 용) */
|
|
5379
5537
|
id?: string;
|
|
@@ -5606,6 +5764,7 @@ interface DbChatRoomMessage {
|
|
|
5606
5764
|
/** 내가 보낸 메시지면 true(우측 정렬). 아니면 상대(좌측) */
|
|
5607
5765
|
mine?: boolean;
|
|
5608
5766
|
text?: string;
|
|
5767
|
+
/** 허용 목록으로 정제할 HTML 본문 (text 대신) */
|
|
5609
5768
|
html?: string;
|
|
5610
5769
|
time?: string;
|
|
5611
5770
|
/** 상대 이름(그룹 채팅에서 유용) */
|
|
@@ -6760,6 +6919,7 @@ type TextareaProps = WebComponentProps & {
|
|
|
6760
6919
|
}>;
|
|
6761
6920
|
};
|
|
6762
6921
|
type ToggleProps = WebComponentProps & {
|
|
6922
|
+
variant?: ToggleVariant;
|
|
6763
6923
|
onChange?: DbEventHandler<{
|
|
6764
6924
|
checked: boolean;
|
|
6765
6925
|
}>;
|
|
@@ -7367,7 +7527,7 @@ type TimePickerProps = WebComponentProps & {
|
|
|
7367
7527
|
label?: string;
|
|
7368
7528
|
fullWidth?: boolean;
|
|
7369
7529
|
error?: boolean;
|
|
7370
|
-
dropdownPosition?: 'bottom-start' | 'bottom-end';
|
|
7530
|
+
dropdownPosition?: 'auto' | 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end';
|
|
7371
7531
|
onChange?: DbEventHandler<{
|
|
7372
7532
|
value: string;
|
|
7373
7533
|
}>;
|
|
@@ -9823,6 +9983,21 @@ declare const Progress: react.ForwardRefExoticComponent<Omit<ProgressProps, "ref
|
|
|
9823
9983
|
declare const ProgressStep: react.ForwardRefExoticComponent<Omit<ProgressStepProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9824
9984
|
declare const Progressbar: react.ForwardRefExoticComponent<Omit<WebComponentProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9825
9985
|
declare const DownloadProgress: react.ForwardRefExoticComponent<Omit<DownloadProgressProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9986
|
+
type AiGlowProps = WebComponentProps & {
|
|
9987
|
+
/** 켜기/끄기 — 페이드로 전환됩니다. */
|
|
9988
|
+
active?: boolean;
|
|
9989
|
+
state?: 'thinking' | 'working' | 'listening';
|
|
9990
|
+
variant?: 'aurora' | 'brand';
|
|
9991
|
+
size?: 's' | 'm' | 'l';
|
|
9992
|
+
/** 뷰포트 대신 가장 가까운 positioned 조상 안에만 표시합니다. */
|
|
9993
|
+
contained?: boolean;
|
|
9994
|
+
/** listening 상태의 정규화 음성 크기(0–1). */
|
|
9995
|
+
voiceLevel?: number;
|
|
9996
|
+
/** 켜질 때 스크린 리더에 알릴 문구. */
|
|
9997
|
+
label?: string;
|
|
9998
|
+
/** 실제 마이크/통화 스트림. 분석만 하며 트랙은 중지하지 않습니다. */
|
|
9999
|
+
audioStream?: MediaStream | null;
|
|
10000
|
+
};
|
|
9826
10001
|
type ChatOrbProps = WebComponentProps & {
|
|
9827
10002
|
size?: 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
9828
10003
|
variant?: 'aurora' | 'ocean' | 'emerald' | 'violet' | 'mono';
|
|
@@ -9968,6 +10143,7 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
9968
10143
|
}>;
|
|
9969
10144
|
onStartChat?: DbEventHandler;
|
|
9970
10145
|
};
|
|
10146
|
+
declare const AiGlow: react.ForwardRefExoticComponent<Omit<AiGlowProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9971
10147
|
declare const ChatOrb: react.ForwardRefExoticComponent<Omit<ChatOrbProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9972
10148
|
declare const ChatWelcome: react.ForwardRefExoticComponent<Omit<ChatWelcomeProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
9973
10149
|
declare const ChatComposer: react.ForwardRefExoticComponent<Omit<ChatComposerProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
@@ -10184,5 +10360,5 @@ declare const DatePicker: react.ForwardRefExoticComponent<Omit<DatePickerProps,
|
|
|
10184
10360
|
declare const TimePicker: react.ForwardRefExoticComponent<Omit<TimePickerProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
10185
10361
|
declare const Calendar: react.ForwardRefExoticComponent<Omit<CalendarProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
10186
10362
|
|
|
10187
|
-
export { Accordion, ActivityHeatmap, AdBanner, AiChat, AiChatList, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu };
|
|
10188
|
-
export type { AccordionItemConfig, AccordionProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileStatus, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UploadFile, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|
|
10363
|
+
export { Accordion, ActivityHeatmap, AdBanner, AiChat, AiChatList, AiGlow, Alert, AnimationBackground, AnimationText, AppBadge, AudioPlayer, Avatar, Backdrop, Badge, Banner, BottomNavigation, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confirm, Container, ContextMenu, CookieBanner, Countdown, CursorFollower, DatePicker, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, EmailVerify, EmptyState, FileUploader, FloatingActionButton, Footer, Form, Gantt, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, Popover, Progress, ProgressStep, Progressbar, Radio, RandomGradient, RangeSlider, Rating, Reorder, ResizablePanels, ScrollArea, SearchBar, Section, SectionAppDownload, SectionContact, SectionCta, SectionFaq, SectionFeature, SectionFeatureGrid, SectionHero, SectionLogoCloud, SectionPricing, SectionStats, SectionTestimonials, SegmentControl, Select, Share, Sidebar, Signature, Skeleton, Spinner, SplitView, Stack, Stat, Stepper, Table, Tabs, Testimonial, Textarea, TimePicker, Timeline, Toast, Toggle, Toolbar, Tooltip, TopBanner, Tutorial, TwoFactor, VideoPlayer, YouTubePlayer, useContextMenu };
|
|
10364
|
+
export type { AccordionItemConfig, AccordionProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AiGlowProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CursorFollowerProps, DatePickerProps, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbEventHandler, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileStatus, FileUploaderProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GradientColor, GradientProps, GradientScheme, GradientTone, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputProps, KanbanAssignee, KanbanCard, KanbanColumn, KanbanProps, KanbanTag, LabelProps, LightboxImage, LightboxProps, ListItemConfig, ListProps, LogoProps, MarkdownEditorProps, MarqueeImageItem, MarqueeProps, MasonryItem, MasonryProps, MenuItemChildConfig, MenuItemProps, ModalProps, ModalSegmentItem, ModalTabItem, NavbarItem, NavbarProps, NavbarUserProfile, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, RadioProps, RandomGradientProps, RangeSliderProps, RatingProps, ReorderItem, ReorderProps, ResizablePanelsProps, ScrollAreaProps, SearchBarProps, SectionAppDownloadProps, SectionAppDownloadStore, SectionBlockBadge, SectionContactAction, SectionContactProps, SectionCtaButton, SectionCtaProps, SectionFaqItem, SectionFaqProps, SectionFeatureAction, SectionFeatureBadge, SectionFeatureGridItem, SectionFeatureGridProps, SectionFeatureProps, SectionHeroButton, SectionHeroProps, SectionLogoCloudItem, SectionLogoCloudProps, SectionPricingCta, SectionPricingPlan, SectionPricingProps, SectionProps, SectionStatItem, SectionStatsProps, SectionTestimonialItem, SectionTestimonialsProps, SegmentControlProps, SelectProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextareaProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TwoFactorProps, UploadFile, UseContextMenuReturn, VideoPlayerProps, WebComponentProps, YouTubePlayerProps };
|