@designbasekorea/ui-wc 0.10.0 → 0.11.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/CHANGELOG.md +12 -0
- package/LICENSE-WORLD-MAP.md +10 -0
- package/README.md +58 -0
- package/dist/esm/components/db-achievement-list.d.ts +2 -0
- package/dist/esm/components/db-achievement-list.js +1 -1
- package/dist/esm/components/db-activity-heatmap.d.ts +1 -0
- package/dist/esm/components/db-activity-heatmap.js +1 -1
- package/dist/esm/components/db-ad-banner.d.ts +2 -0
- package/dist/esm/components/db-ad-banner.js +1 -1
- package/dist/esm/components/db-ai-chat-list.d.ts +5 -1
- package/dist/esm/components/db-ai-chat-list.js +1 -1
- package/dist/esm/components/db-ai-chat.d.ts +2 -0
- package/dist/esm/components/db-ai-chat.js +1 -1
- package/dist/esm/components/db-ai-file-tree.js +1 -1
- package/dist/esm/components/db-alert.d.ts +1 -0
- package/dist/esm/components/db-alert.js +1 -1
- package/dist/esm/components/db-audio-player.d.ts +2 -0
- package/dist/esm/components/db-audio-player.js +1 -1
- package/dist/esm/components/db-avatar.d.ts +1 -0
- package/dist/esm/components/db-avatar.js +1 -1
- package/dist/esm/components/db-banner.d.ts +2 -0
- package/dist/esm/components/db-banner.js +1 -1
- package/dist/esm/components/db-button.d.ts +7 -1
- package/dist/esm/components/db-button.js +1 -1
- package/dist/esm/components/db-calendar.d.ts +5 -0
- package/dist/esm/components/db-calendar.js +1 -1
- package/dist/esm/components/db-card.d.ts +1 -0
- package/dist/esm/components/db-card.js +1 -1
- package/dist/esm/components/db-chat-composer.d.ts +3 -0
- package/dist/esm/components/db-chat-composer.js +1 -1
- package/dist/esm/components/db-chat-message.d.ts +2 -0
- package/dist/esm/components/db-chat-message.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-chat-typing.d.ts +2 -0
- package/dist/esm/components/db-chat-typing.js +1 -1
- package/dist/esm/components/db-chat-widget.d.ts +9 -0
- package/dist/esm/components/db-chat-widget.js +1 -1
- package/dist/esm/components/db-chip.d.ts +2 -0
- package/dist/esm/components/db-chip.js +1 -1
- package/dist/esm/components/db-code-block.d.ts +1 -0
- package/dist/esm/components/db-code-block.js +1 -1
- package/dist/esm/components/db-color-picker.d.ts +4 -0
- package/dist/esm/components/db-color-picker.js +1 -1
- package/dist/esm/components/db-color-swatch.d.ts +3 -0
- package/dist/esm/components/db-color-swatch.js +1 -1
- package/dist/esm/components/db-cookie-banner.d.ts +3 -0
- package/dist/esm/components/db-cookie-banner.js +1 -1
- package/dist/esm/components/db-countdown.d.ts +2 -1
- package/dist/esm/components/db-countdown.js +1 -1
- package/dist/esm/components/db-date-picker.d.ts +3 -0
- package/dist/esm/components/db-date-picker.js +1 -1
- package/dist/esm/components/db-dropdown.d.ts +1 -0
- package/dist/esm/components/db-dropdown.js +1 -1
- package/dist/esm/components/db-dropzone.d.ts +2 -0
- package/dist/esm/components/db-dropzone.js +1 -1
- package/dist/esm/components/db-email-verify.d.ts +1 -0
- package/dist/esm/components/db-email-verify.js +1 -1
- package/dist/esm/components/db-file-uploader.d.ts +2 -0
- package/dist/esm/components/db-file-uploader.js +1 -1
- package/dist/esm/components/db-form.d.ts +2 -0
- package/dist/esm/components/db-form.js +1 -1
- package/dist/esm/components/db-gantt.d.ts +2 -0
- package/dist/esm/components/db-gantt.js +1 -1
- package/dist/esm/components/db-image-list.d.ts +3 -0
- package/dist/esm/components/db-image-list.js +1 -1
- package/dist/esm/components/db-image.d.ts +1 -0
- package/dist/esm/components/db-image.js +1 -1
- package/dist/esm/components/db-input-group.d.ts +30 -0
- package/dist/esm/components/db-input-group.js +1 -0
- package/dist/esm/components/db-input.d.ts +1 -0
- package/dist/esm/components/db-input.js +1 -1
- package/dist/esm/components/db-kanban.d.ts +3 -0
- package/dist/esm/components/db-kanban.js +1 -1
- package/dist/esm/components/db-lightbox.d.ts +2 -0
- package/dist/esm/components/db-lightbox.js +1 -1
- package/dist/esm/components/db-list.d.ts +2 -0
- package/dist/esm/components/db-list.js +1 -1
- package/dist/esm/components/db-markdown-editor.d.ts +2 -0
- package/dist/esm/components/db-markdown-editor.js +1 -1
- package/dist/esm/components/db-menu-item.js +1 -1
- package/dist/esm/components/db-navbar.d.ts +3 -0
- package/dist/esm/components/db-navbar.js +1 -1
- package/dist/esm/components/db-node.d.ts +1 -0
- package/dist/esm/components/db-node.js +1 -1
- package/dist/esm/components/db-onboarding-modal.d.ts +2 -0
- package/dist/esm/components/db-onboarding-modal.js +1 -1
- package/dist/esm/components/db-otp-input.d.ts +4 -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-popover.d.ts +1 -0
- package/dist/esm/components/db-popover.js +1 -1
- package/dist/esm/components/db-progress-step.d.ts +2 -0
- package/dist/esm/components/db-progress-step.js +1 -1
- package/dist/esm/components/db-range-slider.d.ts +1 -0
- package/dist/esm/components/db-range-slider.js +1 -1
- package/dist/esm/components/db-rating.d.ts +1 -0
- package/dist/esm/components/db-rating.js +1 -1
- package/dist/esm/components/db-search-bar.d.ts +2 -0
- package/dist/esm/components/db-search-bar.js +1 -1
- package/dist/esm/components/db-section-logo-cloud.js +1 -1
- package/dist/esm/components/db-share.d.ts +5 -0
- package/dist/esm/components/db-share.js +1 -1
- package/dist/esm/components/db-sidebar.d.ts +3 -0
- package/dist/esm/components/db-sidebar.js +1 -1
- package/dist/esm/components/db-signature.d.ts +2 -0
- package/dist/esm/components/db-signature.js +1 -1
- package/dist/esm/components/db-spinner.d.ts +2 -0
- package/dist/esm/components/db-spinner.js +1 -1
- package/dist/esm/components/db-stepper.d.ts +2 -0
- package/dist/esm/components/db-stepper.js +1 -1
- package/dist/esm/components/db-table.d.ts +2 -0
- package/dist/esm/components/db-table.js +1 -1
- package/dist/esm/components/db-tabs.d.ts +1 -0
- package/dist/esm/components/db-tabs.js +1 -1
- package/dist/esm/components/db-ticket.js +1 -1
- package/dist/esm/components/db-time-picker.d.ts +2 -0
- package/dist/esm/components/db-time-picker.js +1 -1
- package/dist/esm/components/db-timeline.d.ts +4 -0
- package/dist/esm/components/db-timeline.js +1 -1
- package/dist/esm/components/db-toast.d.ts +2 -0
- package/dist/esm/components/db-toast.js +1 -1
- package/dist/esm/components/db-tool-layout.d.ts +92 -0
- package/dist/esm/components/db-tool-layout.js +1 -0
- package/dist/esm/components/db-tool-panel.d.ts +50 -0
- package/dist/esm/components/db-tool-panel.js +1 -0
- package/dist/esm/components/db-top-banner.d.ts +2 -0
- package/dist/esm/components/db-top-banner.js +1 -1
- package/dist/esm/components/db-video-player.d.ts +3 -0
- package/dist/esm/components/db-video-player.js +1 -1
- package/dist/esm/components/db-world-map.d.ts +60 -0
- package/dist/esm/components/db-world-map.js +1 -0
- package/dist/esm/components/db-youtube-player.d.ts +2 -0
- package/dist/esm/components/db-youtube-player.js +1 -1
- package/dist/esm/components/db-zoom-control.d.ts +52 -0
- package/dist/esm/components/db-zoom-control.js +1 -0
- package/dist/esm/components/input-validation.js +1 -1
- package/dist/esm/components/paper-card.d.ts +2 -0
- package/dist/esm/components/paper-card.js +1 -1
- 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 +31 -1
- package/dist/esm/core/i18n.js +1 -1
- package/dist/esm/helpers/world-countries.js +1 -0
- package/dist/esm/helpers/world-land.js +1 -0
- package/dist/esm/index.d.ts +6 -1
- 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 +442 -6
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +837 -71
- package/dist/react/index.esm.js +1 -1
- package/package.json +4 -3
package/dist/react/index.d.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
import * as ___components_db_zoom_control_js from '../esm/components/db-zoom-control.js';
|
|
2
|
+
export { ZoomChangeDetail, ZoomControlAction, ZoomSource } from '../esm/components/db-zoom-control.js';
|
|
3
|
+
import * as ___components_db_world_map_js from '../esm/components/db-world-map.js';
|
|
4
|
+
export { WorldMapConnection, WorldMapLocation, WorldMapVariant } from '../esm/components/db-world-map.js';
|
|
5
|
+
import * as ___components_db_tool_panel_js from '../esm/components/db-tool-panel.js';
|
|
6
|
+
export { ToolPanelTab } from '../esm/components/db-tool-panel.js';
|
|
7
|
+
import * as ___components_db_tool_layout_js from '../esm/components/db-tool-layout.js';
|
|
8
|
+
export { ToolLayoutPanel, ToolLayoutResizeDetail, ToolLayoutSizes, ToolLayoutVariant } from '../esm/components/db-tool-layout.js';
|
|
1
9
|
import * as ___components_db_design_toolbar_js from '../esm/components/db-design-toolbar.js';
|
|
2
10
|
export { DesignToolbarItem } from '../esm/components/db-design-toolbar.js';
|
|
3
11
|
import * as ___components_db_tool_button_js from '../esm/components/db-tool-button.js';
|
|
@@ -26,6 +34,15 @@ import * as ___components_db_ai_task_status_js from '../esm/components/db-ai-tas
|
|
|
26
34
|
export { DbAiTaskAction, DbAiTaskState } from '../esm/components/db-ai-task-status.js';
|
|
27
35
|
import * as ___components_db_credit_recharge_js from '../esm/components/db-credit-recharge.js';
|
|
28
36
|
export { DbCreditPlan, DbCreditPlanSelection } from '../esm/components/db-credit-recharge.js';
|
|
37
|
+
import * as ___components_db_toolbar_js from '../esm/components/db-toolbar.js';
|
|
38
|
+
export { DbToolbarItemData } from '../esm/components/db-toolbar.js';
|
|
39
|
+
import * as ___components_db_chat_message_js from '../esm/components/db-chat-message.js';
|
|
40
|
+
export { DbChatMessageAttachment } from '../esm/components/db-chat-message.js';
|
|
41
|
+
import * as ___components_db_chat_room_js from '../esm/components/db-chat-room.js';
|
|
42
|
+
export { DbChatRoomMessage } from '../esm/components/db-chat-room.js';
|
|
43
|
+
import * as ___components_db_chat_composer_js from '../esm/components/db-chat-composer.js';
|
|
44
|
+
import { DbChatTool } from '../esm/components/db-chat-composer.js';
|
|
45
|
+
export { DbChatAttachOption, DbChatAttachment, DbChatTool } from '../esm/components/db-chat-composer.js';
|
|
29
46
|
import * as ___components_db_voice_control_js from '../esm/components/db-voice-control.js';
|
|
30
47
|
import * as react from 'react';
|
|
31
48
|
import react__default, { ForwardRefExoticComponent, RefAttributes, ReactNode } from 'react';
|
|
@@ -34,8 +51,6 @@ export { DbNavigationRailItem } from '../esm/components/db-navigation-rail.js';
|
|
|
34
51
|
import { FilterBarSize, FilterBarVariant, FilterBarAlign } from '../esm/components/db-filter-bar.js';
|
|
35
52
|
export { FileStatus, UploadFile } from '../esm/components/db-file-uploader.js';
|
|
36
53
|
export { GradientScheme, GradientTone } from '../esm/components/random-gradient-palettes.js';
|
|
37
|
-
import { DbChatTool } from '../esm/components/db-chat-composer.js';
|
|
38
|
-
export { DbChatTool } from '../esm/components/db-chat-composer.js';
|
|
39
54
|
import { DbChatSuggestion } from '../esm/components/db-chat-suggestions.js';
|
|
40
55
|
export { DbChatSuggestion } from '../esm/components/db-chat-suggestions.js';
|
|
41
56
|
import { DbChatWidgetMessage, DbChatWidgetConversation, DbChatWidgetMenuItem, DbChatWidgetArticle } from '../esm/components/db-chat-widget.js';
|
|
@@ -90,6 +105,9 @@ type RadiusScale = (typeof RADIUS_SCALE)[number];
|
|
|
90
105
|
|
|
91
106
|
declare const BUTTON_VARIANTS: readonly ["primary", "secondary", "tertiary", "destructive", "ghost", "accent"];
|
|
92
107
|
type ButtonVariant = (typeof BUTTON_VARIANTS)[number];
|
|
108
|
+
/** Surface treatment for destructive buttons; independent of action priority. */
|
|
109
|
+
declare const BUTTON_DESTRUCTIVE_STYLES: readonly ["solid", "soft"];
|
|
110
|
+
type ButtonDestructiveStyle = (typeof BUTTON_DESTRUCTIVE_STYLES)[number];
|
|
93
111
|
type ButtonSize = SizeSML;
|
|
94
112
|
type ButtonRadius = RadiusScale;
|
|
95
113
|
/** accent variant 에서만 의미가 있다 */
|
|
@@ -99,6 +117,7 @@ type ButtonRadius = RadiusScale;
|
|
|
99
117
|
* `primary` 가 먹색이 되면서 accent 가 브랜드 색을 쓰는 일상적인 버튼이 됐다.
|
|
100
118
|
* 그래서 기본은 `solid` 이고, 나머지는 의도적으로 고르는 장식이다.
|
|
101
119
|
* `prism` 은 테마의 프리즘 축(`--db-prism-*`)을 따르므로 프리셋을 바꾸면 함께 바뀐다.
|
|
120
|
+
* `outline` 은 prism 과 같은 회전 링이라 웹에서는 prism 으로 그린다(하위 호환용 별칭).
|
|
102
121
|
*/
|
|
103
122
|
declare const BUTTON_ACCENT_STYLES: readonly ["solid", "gradient", "backlight", "outline", "prism"];
|
|
104
123
|
type ButtonAccentStyle = (typeof BUTTON_ACCENT_STYLES)[number];
|
|
@@ -151,6 +170,8 @@ type ButtonProps = WebComponentProps & {
|
|
|
151
170
|
size?: ButtonSize;
|
|
152
171
|
radius?: ButtonRadius | '';
|
|
153
172
|
accentStyle?: ButtonAccentStyle;
|
|
173
|
+
destructiveStyle?: ButtonDestructiveStyle;
|
|
174
|
+
shortcut?: string;
|
|
154
175
|
type?: 'button' | 'submit' | 'reset';
|
|
155
176
|
href?: string;
|
|
156
177
|
target?: string;
|
|
@@ -194,6 +215,11 @@ type TextFieldProps = WebComponentProps & {
|
|
|
194
215
|
helperText?: string;
|
|
195
216
|
fullWidth?: boolean;
|
|
196
217
|
autoComplete?: string;
|
|
218
|
+
autoFocus?: boolean;
|
|
219
|
+
inputMode?: 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
220
|
+
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
221
|
+
autoCapitalize?: string;
|
|
222
|
+
spellCheck?: boolean;
|
|
197
223
|
maxLength?: number;
|
|
198
224
|
minLength?: number;
|
|
199
225
|
form?: string;
|
|
@@ -209,6 +235,7 @@ type InputProps = TextFieldProps & {
|
|
|
209
235
|
onDbBlur?: DbEventHandler<{
|
|
210
236
|
nativeEvent: FocusEvent;
|
|
211
237
|
}>;
|
|
238
|
+
onDbClear?: DbEventHandler;
|
|
212
239
|
type?: InputType;
|
|
213
240
|
pattern?: string;
|
|
214
241
|
startIcon?: string;
|
|
@@ -237,6 +264,7 @@ type OtpInputProps = WebComponentProps & {
|
|
|
237
264
|
label?: string;
|
|
238
265
|
autoFocus?: boolean;
|
|
239
266
|
masked?: boolean;
|
|
267
|
+
fullWidth?: boolean;
|
|
240
268
|
name?: string;
|
|
241
269
|
onChange?: DbEventHandler<{
|
|
242
270
|
value: string;
|
|
@@ -268,11 +296,15 @@ type PhoneVerifyProps = WebComponentProps & {
|
|
|
268
296
|
errorMessage?: string;
|
|
269
297
|
carrierOptions?: string;
|
|
270
298
|
countdown?: number;
|
|
299
|
+
resendCooldown?: number;
|
|
300
|
+
eyebrow?: string;
|
|
271
301
|
title?: string;
|
|
272
302
|
description?: string;
|
|
273
303
|
sendLabel?: string;
|
|
274
304
|
resendLabel?: string;
|
|
275
305
|
verifyLabel?: string;
|
|
306
|
+
doneLabel?: string;
|
|
307
|
+
closable?: boolean;
|
|
276
308
|
codeLength?: number;
|
|
277
309
|
manual?: boolean;
|
|
278
310
|
sending?: boolean;
|
|
@@ -318,12 +350,15 @@ type EmailVerifyProps = WebComponentProps & {
|
|
|
318
350
|
error?: boolean;
|
|
319
351
|
errorMessage?: string;
|
|
320
352
|
countdown?: number;
|
|
353
|
+
resendCooldown?: number;
|
|
354
|
+
eyebrow?: string;
|
|
321
355
|
title?: string;
|
|
322
356
|
description?: string;
|
|
323
357
|
sendLabel?: string;
|
|
324
358
|
resendLabel?: string;
|
|
325
359
|
verifyLabel?: string;
|
|
326
360
|
confirmLabel?: string;
|
|
361
|
+
doneLabel?: string;
|
|
327
362
|
codeLength?: number;
|
|
328
363
|
closable?: boolean;
|
|
329
364
|
manual?: boolean;
|
|
@@ -339,6 +374,7 @@ type EmailVerifyProps = WebComponentProps & {
|
|
|
339
374
|
}>;
|
|
340
375
|
onResend?: DbEventHandler<{
|
|
341
376
|
email: string;
|
|
377
|
+
mode: 'code' | 'confirm';
|
|
342
378
|
}>;
|
|
343
379
|
onCodeChange?: DbEventHandler<{
|
|
344
380
|
code: string;
|
|
@@ -354,6 +390,12 @@ type EmailVerifyProps = WebComponentProps & {
|
|
|
354
390
|
onConfirm?: DbEventHandler<{
|
|
355
391
|
email: string;
|
|
356
392
|
}>;
|
|
393
|
+
onChangeEmail?: DbEventHandler<{
|
|
394
|
+
email: string;
|
|
395
|
+
}>;
|
|
396
|
+
onDone?: DbEventHandler<{
|
|
397
|
+
email: string;
|
|
398
|
+
}>;
|
|
357
399
|
onClose?: DbEventHandler;
|
|
358
400
|
onCountdownComplete?: DbEventHandler;
|
|
359
401
|
};
|
|
@@ -477,6 +519,7 @@ type RangeSliderProps<TRange extends RangeSliderRange = undefined> = WebComponen
|
|
|
477
519
|
showMarks?: boolean;
|
|
478
520
|
marks?: number[];
|
|
479
521
|
markLabels?: Record<number, string>;
|
|
522
|
+
snapMarks?: boolean;
|
|
480
523
|
disabled?: boolean;
|
|
481
524
|
readOnly?: boolean;
|
|
482
525
|
readonly?: boolean;
|
|
@@ -629,6 +672,14 @@ type BannerProps = WebComponentProps & {
|
|
|
629
672
|
closable?: boolean;
|
|
630
673
|
/** 닫기 버튼 aria-label입니다. 기본 Close. */
|
|
631
674
|
closeLabel?: string;
|
|
675
|
+
onAction?: DbEventHandler<{
|
|
676
|
+
index: number;
|
|
677
|
+
action: BannerAction;
|
|
678
|
+
}>;
|
|
679
|
+
onDbAction?: DbEventHandler<{
|
|
680
|
+
index: number;
|
|
681
|
+
action: BannerAction;
|
|
682
|
+
}>;
|
|
632
683
|
onClick?: DbEventHandler<{
|
|
633
684
|
href: string | null;
|
|
634
685
|
}>;
|
|
@@ -668,6 +719,34 @@ type ShareProps = WebComponentProps & {
|
|
|
668
719
|
qrCodeSize?: number;
|
|
669
720
|
copySuccessMessage?: string;
|
|
670
721
|
open?: boolean;
|
|
722
|
+
onShare?: DbEventHandler<{
|
|
723
|
+
platform: SharePlatform;
|
|
724
|
+
url: string;
|
|
725
|
+
}>;
|
|
726
|
+
onShareError?: DbEventHandler<{
|
|
727
|
+
platform: SharePlatform;
|
|
728
|
+
error: unknown;
|
|
729
|
+
}>;
|
|
730
|
+
onCopySuccess?: DbEventHandler<{
|
|
731
|
+
url: string;
|
|
732
|
+
}>;
|
|
733
|
+
onCopyError?: DbEventHandler<{
|
|
734
|
+
error: unknown;
|
|
735
|
+
}>;
|
|
736
|
+
onDbShare?: DbEventHandler<{
|
|
737
|
+
platform: SharePlatform;
|
|
738
|
+
url: string;
|
|
739
|
+
}>;
|
|
740
|
+
onDbShareError?: DbEventHandler<{
|
|
741
|
+
platform: SharePlatform;
|
|
742
|
+
error: unknown;
|
|
743
|
+
}>;
|
|
744
|
+
onDbCopySuccess?: DbEventHandler<{
|
|
745
|
+
url: string;
|
|
746
|
+
}>;
|
|
747
|
+
onDbCopyError?: DbEventHandler<{
|
|
748
|
+
error: unknown;
|
|
749
|
+
}>;
|
|
671
750
|
};
|
|
672
751
|
type TopBannerProps = WebComponentProps & {
|
|
673
752
|
badgeText?: string;
|
|
@@ -677,6 +756,10 @@ type TopBannerProps = WebComponentProps & {
|
|
|
677
756
|
variant?: 'primary' | 'white' | 'dark';
|
|
678
757
|
fixed?: boolean;
|
|
679
758
|
dismissed?: boolean;
|
|
759
|
+
onClose?: DbEventHandler;
|
|
760
|
+
onLinkPress?: DbEventHandler;
|
|
761
|
+
onDbClose?: DbEventHandler;
|
|
762
|
+
onDbLink?: DbEventHandler;
|
|
680
763
|
};
|
|
681
764
|
type CookieBannerProps = WebComponentProps & {
|
|
682
765
|
title?: string;
|
|
@@ -752,6 +835,8 @@ type StatProps = WebComponentProps & {
|
|
|
752
835
|
clickable?: boolean;
|
|
753
836
|
disabled?: boolean;
|
|
754
837
|
animated?: boolean;
|
|
838
|
+
onClick?: DbEventHandler;
|
|
839
|
+
onDbClick?: DbEventHandler;
|
|
755
840
|
};
|
|
756
841
|
type ImageProps = WebComponentProps & {
|
|
757
842
|
src?: string;
|
|
@@ -771,6 +856,12 @@ type ImageProps = WebComponentProps & {
|
|
|
771
856
|
shadow?: boolean | 's' | 'm' | 'l';
|
|
772
857
|
hover?: boolean;
|
|
773
858
|
clickable?: boolean;
|
|
859
|
+
onClick?: DbEventHandler;
|
|
860
|
+
onLoad?: DbEventHandler;
|
|
861
|
+
onError?: DbEventHandler;
|
|
862
|
+
onDbClick?: DbEventHandler;
|
|
863
|
+
onDbLoad?: DbEventHandler;
|
|
864
|
+
onDbError?: DbEventHandler;
|
|
774
865
|
};
|
|
775
866
|
type ImagePlaceholderProps = WebComponentProps & {
|
|
776
867
|
label?: string;
|
|
@@ -813,6 +904,30 @@ type ImageListProps = WebComponentProps & {
|
|
|
813
904
|
lightbox?: boolean;
|
|
814
905
|
loading?: 'lazy' | 'eager';
|
|
815
906
|
responsive?: boolean;
|
|
907
|
+
onImageClick?: DbEventHandler<{
|
|
908
|
+
image: ImageListItem;
|
|
909
|
+
index: number;
|
|
910
|
+
}>;
|
|
911
|
+
onImageLoad?: DbEventHandler<{
|
|
912
|
+
image: ImageListItem;
|
|
913
|
+
index: number;
|
|
914
|
+
}>;
|
|
915
|
+
onImageError?: DbEventHandler<{
|
|
916
|
+
image: ImageListItem;
|
|
917
|
+
index: number;
|
|
918
|
+
}>;
|
|
919
|
+
onDbImageClick?: DbEventHandler<{
|
|
920
|
+
image: ImageListItem;
|
|
921
|
+
index: number;
|
|
922
|
+
}>;
|
|
923
|
+
onDbImageLoad?: DbEventHandler<{
|
|
924
|
+
image: ImageListItem;
|
|
925
|
+
index: number;
|
|
926
|
+
}>;
|
|
927
|
+
onDbImageError?: DbEventHandler<{
|
|
928
|
+
image: ImageListItem;
|
|
929
|
+
index: number;
|
|
930
|
+
}>;
|
|
816
931
|
};
|
|
817
932
|
type LightboxImage = {
|
|
818
933
|
id: string;
|
|
@@ -839,6 +954,14 @@ type LightboxProps = WebComponentProps & {
|
|
|
839
954
|
showToolbar?: boolean;
|
|
840
955
|
closeOnBackdropClick?: boolean;
|
|
841
956
|
closeOnEscape?: boolean;
|
|
957
|
+
onClose?: DbEventHandler;
|
|
958
|
+
onImageChange?: DbEventHandler<{
|
|
959
|
+
index: number;
|
|
960
|
+
}>;
|
|
961
|
+
onDbClose?: DbEventHandler;
|
|
962
|
+
onDbImageChange?: DbEventHandler<{
|
|
963
|
+
index: number;
|
|
964
|
+
}>;
|
|
842
965
|
};
|
|
843
966
|
type PageHeaderTabItem = {
|
|
844
967
|
id: string;
|
|
@@ -983,17 +1106,33 @@ type DropzoneProps = WebComponentProps & {
|
|
|
983
1106
|
onFileSelect?: DbEventHandler<{
|
|
984
1107
|
files: File[];
|
|
985
1108
|
}>;
|
|
986
|
-
onDragOver?: DbEventHandler
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
1109
|
+
onDragOver?: DbEventHandler<{
|
|
1110
|
+
event: DragEvent;
|
|
1111
|
+
}>;
|
|
1112
|
+
onDragLeave?: DbEventHandler<{
|
|
1113
|
+
event: DragEvent;
|
|
1114
|
+
}>;
|
|
1115
|
+
onDrop?: DbEventHandler<{
|
|
1116
|
+
event: DragEvent;
|
|
1117
|
+
}>;
|
|
1118
|
+
onClick?: DbEventHandler<{
|
|
1119
|
+
event: MouseEvent;
|
|
1120
|
+
}>;
|
|
990
1121
|
onDbFileSelect?: DbEventHandler<{
|
|
991
1122
|
files: File[];
|
|
992
1123
|
}>;
|
|
993
|
-
onDbDragOver?: DbEventHandler
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1124
|
+
onDbDragOver?: DbEventHandler<{
|
|
1125
|
+
event: DragEvent;
|
|
1126
|
+
}>;
|
|
1127
|
+
onDbDragLeave?: DbEventHandler<{
|
|
1128
|
+
event: DragEvent;
|
|
1129
|
+
}>;
|
|
1130
|
+
onDbDrop?: DbEventHandler<{
|
|
1131
|
+
event: DragEvent;
|
|
1132
|
+
}>;
|
|
1133
|
+
onDbClick?: DbEventHandler<{
|
|
1134
|
+
event: MouseEvent;
|
|
1135
|
+
}>;
|
|
997
1136
|
};
|
|
998
1137
|
type OnboardingStep = {
|
|
999
1138
|
id: string;
|
|
@@ -1002,7 +1141,7 @@ type OnboardingStep = {
|
|
|
1002
1141
|
description?: string;
|
|
1003
1142
|
};
|
|
1004
1143
|
type OnboardingModalProps = WebComponentProps & {
|
|
1005
|
-
steps?: OnboardingStep[];
|
|
1144
|
+
steps?: OnboardingStep[] | string;
|
|
1006
1145
|
currentStep?: number;
|
|
1007
1146
|
isOpen?: boolean;
|
|
1008
1147
|
open?: boolean;
|
|
@@ -1011,10 +1150,14 @@ type OnboardingModalProps = WebComponentProps & {
|
|
|
1011
1150
|
indicatorType?: 'dots' | 'numbers';
|
|
1012
1151
|
indicatorSize?: 's' | 'm' | 'l';
|
|
1013
1152
|
onClose?: DbEventHandler;
|
|
1014
|
-
onStepChange?: DbEventHandler
|
|
1153
|
+
onStepChange?: DbEventHandler<{
|
|
1154
|
+
step: number;
|
|
1155
|
+
}>;
|
|
1015
1156
|
onComplete?: DbEventHandler;
|
|
1016
1157
|
onDbClose?: DbEventHandler;
|
|
1017
|
-
onDbStepChange?: DbEventHandler
|
|
1158
|
+
onDbStepChange?: DbEventHandler<{
|
|
1159
|
+
step: number;
|
|
1160
|
+
}>;
|
|
1018
1161
|
onDbComplete?: DbEventHandler;
|
|
1019
1162
|
};
|
|
1020
1163
|
type SplitViewProps = WebComponentProps & {
|
|
@@ -1026,11 +1169,18 @@ type SplitViewProps = WebComponentProps & {
|
|
|
1026
1169
|
gap?: number;
|
|
1027
1170
|
fullWidth?: boolean;
|
|
1028
1171
|
fullHeight?: boolean;
|
|
1172
|
+
onResize?: DbEventHandler<{
|
|
1173
|
+
sizes: number[];
|
|
1174
|
+
}>;
|
|
1175
|
+
onDbResize?: DbEventHandler<{
|
|
1176
|
+
sizes: number[];
|
|
1177
|
+
}>;
|
|
1029
1178
|
};
|
|
1030
1179
|
type DatePickerProps = WebComponentProps & {
|
|
1031
1180
|
mode?: 'single' | 'range';
|
|
1032
1181
|
layout?: 'default' | 'panel';
|
|
1033
1182
|
inline?: boolean;
|
|
1183
|
+
open?: boolean;
|
|
1034
1184
|
value?: string;
|
|
1035
1185
|
defaultValue?: string;
|
|
1036
1186
|
minDate?: string;
|
|
@@ -1060,6 +1210,7 @@ type DatePickerProps = WebComponentProps & {
|
|
|
1060
1210
|
}>;
|
|
1061
1211
|
};
|
|
1062
1212
|
type TimePickerProps = WebComponentProps & {
|
|
1213
|
+
open?: boolean;
|
|
1063
1214
|
value?: string;
|
|
1064
1215
|
defaultValue?: string;
|
|
1065
1216
|
format?: '12h' | '24h' | '12h-with-seconds' | '24h-with-seconds';
|
|
@@ -1185,6 +1336,9 @@ type NavigationRailProps = WebComponentProps & {
|
|
|
1185
1336
|
};
|
|
1186
1337
|
type BottomNavigationProps = WebComponentProps & {
|
|
1187
1338
|
items?: BottomNavigationItem[] | string;
|
|
1339
|
+
onDbItemClick?: DbEventHandler<{
|
|
1340
|
+
item: BottomNavigationItem;
|
|
1341
|
+
}>;
|
|
1188
1342
|
activeItemId?: string;
|
|
1189
1343
|
size?: 's' | 'm' | 'l';
|
|
1190
1344
|
backgroundColor?: 'default' | 'glass' | 'transparent';
|
|
@@ -1215,6 +1369,24 @@ type NavbarProps = WebComponentProps & {
|
|
|
1215
1369
|
}>;
|
|
1216
1370
|
onLogoClick?: DbEventHandler;
|
|
1217
1371
|
onLoginClick?: DbEventHandler;
|
|
1372
|
+
onSearch?: DbEventHandler<{
|
|
1373
|
+
query: string;
|
|
1374
|
+
value: string;
|
|
1375
|
+
}>;
|
|
1376
|
+
onDbItemClick?: DbEventHandler<{
|
|
1377
|
+
item: NavbarItem;
|
|
1378
|
+
source: 'nav' | 'mobile';
|
|
1379
|
+
}>;
|
|
1380
|
+
onDbUserMenuItemClick?: DbEventHandler<{
|
|
1381
|
+
item: NavbarItem;
|
|
1382
|
+
source: 'user';
|
|
1383
|
+
}>;
|
|
1384
|
+
onDbLogoClick?: DbEventHandler;
|
|
1385
|
+
onDbLoginClick?: DbEventHandler;
|
|
1386
|
+
onDbSearch?: DbEventHandler<{
|
|
1387
|
+
query: string;
|
|
1388
|
+
value: string;
|
|
1389
|
+
}>;
|
|
1218
1390
|
logoSrc?: string;
|
|
1219
1391
|
logoAlt?: string;
|
|
1220
1392
|
items?: NavbarItem[] | string;
|
|
@@ -1279,6 +1451,28 @@ type FooterProps = WebComponentProps & {
|
|
|
1279
1451
|
showLogo?: boolean;
|
|
1280
1452
|
showSocial?: boolean;
|
|
1281
1453
|
familySiteLabel?: string;
|
|
1454
|
+
onLinkClick?: DbEventHandler<{
|
|
1455
|
+
link: FooterLink;
|
|
1456
|
+
source: 'column' | 'legal';
|
|
1457
|
+
}>;
|
|
1458
|
+
onSocialClick?: DbEventHandler<{
|
|
1459
|
+
link: FooterSocialLink;
|
|
1460
|
+
}>;
|
|
1461
|
+
onLogoClick?: DbEventHandler;
|
|
1462
|
+
onFamilySiteChange?: DbEventHandler<{
|
|
1463
|
+
site: FooterFamilySite;
|
|
1464
|
+
}>;
|
|
1465
|
+
onDbLinkClick?: DbEventHandler<{
|
|
1466
|
+
link: FooterLink;
|
|
1467
|
+
source: 'column' | 'legal';
|
|
1468
|
+
}>;
|
|
1469
|
+
onDbSocialClick?: DbEventHandler<{
|
|
1470
|
+
link: FooterSocialLink;
|
|
1471
|
+
}>;
|
|
1472
|
+
onDbLogoClick?: DbEventHandler;
|
|
1473
|
+
onDbFamilySiteChange?: DbEventHandler<{
|
|
1474
|
+
site: FooterFamilySite;
|
|
1475
|
+
}>;
|
|
1282
1476
|
};
|
|
1283
1477
|
type SidebarItem = {
|
|
1284
1478
|
id: string;
|
|
@@ -1419,13 +1613,43 @@ type SidebarProps = WebComponentProps & {
|
|
|
1419
1613
|
logoText?: string;
|
|
1420
1614
|
fullHeight?: boolean;
|
|
1421
1615
|
shadow?: boolean;
|
|
1616
|
+
onItemClick?: DbEventHandler<{
|
|
1617
|
+
item: SidebarItem;
|
|
1618
|
+
}>;
|
|
1619
|
+
onDbItemClick?: DbEventHandler<{
|
|
1620
|
+
item: SidebarItem;
|
|
1621
|
+
}>;
|
|
1622
|
+
onUserMenuItemClick?: DbEventHandler<{
|
|
1623
|
+
item: SidebarItem;
|
|
1624
|
+
}>;
|
|
1625
|
+
onDbUserMenuItemClick?: DbEventHandler<{
|
|
1626
|
+
item: SidebarItem;
|
|
1627
|
+
}>;
|
|
1628
|
+
onLogoClick?: DbEventHandler;
|
|
1629
|
+
onDbLogoClick?: DbEventHandler;
|
|
1630
|
+
onToggle?: DbEventHandler<{
|
|
1631
|
+
collapsed: boolean;
|
|
1632
|
+
}>;
|
|
1633
|
+
onDbToggle?: DbEventHandler<{
|
|
1634
|
+
collapsed: boolean;
|
|
1635
|
+
}>;
|
|
1636
|
+
onProjectChange?: DbEventHandler<{
|
|
1637
|
+
project: SidebarProject;
|
|
1638
|
+
}>;
|
|
1639
|
+
onDbProjectChange?: DbEventHandler<{
|
|
1640
|
+
project: SidebarProject;
|
|
1641
|
+
}>;
|
|
1642
|
+
onProjectManage?: DbEventHandler;
|
|
1643
|
+
onDbProjectManage?: DbEventHandler;
|
|
1422
1644
|
onBackClick?: DbEventHandler<{
|
|
1423
1645
|
label: string;
|
|
1424
1646
|
href: string;
|
|
1647
|
+
panel: SidebarPanel | null;
|
|
1425
1648
|
}>;
|
|
1426
1649
|
onDbBackClick?: DbEventHandler<{
|
|
1427
1650
|
label: string;
|
|
1428
1651
|
href: string;
|
|
1652
|
+
panel: SidebarPanel | null;
|
|
1429
1653
|
}>;
|
|
1430
1654
|
onPanelChange?: DbEventHandler<{
|
|
1431
1655
|
panel: string;
|
|
@@ -1473,7 +1697,7 @@ type AlertAction = {
|
|
|
1473
1697
|
type AlertProps = WebComponentProps & {
|
|
1474
1698
|
title?: string;
|
|
1475
1699
|
message?: string;
|
|
1476
|
-
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger'
|
|
1700
|
+
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
1477
1701
|
size?: 's' | 'm' | 'l';
|
|
1478
1702
|
showIcon?: boolean;
|
|
1479
1703
|
closable?: boolean;
|
|
@@ -1600,6 +1824,7 @@ type ToastProps = WebComponentProps & {
|
|
|
1600
1824
|
showClose?: boolean;
|
|
1601
1825
|
showProgress?: boolean;
|
|
1602
1826
|
autoRemove?: boolean;
|
|
1827
|
+
labelClose?: string;
|
|
1603
1828
|
onClose?: DbEventHandler<{
|
|
1604
1829
|
id: string;
|
|
1605
1830
|
}>;
|
|
@@ -1637,8 +1862,12 @@ type DrawerProps = WebComponentProps & {
|
|
|
1637
1862
|
zIndex?: number;
|
|
1638
1863
|
trapFocus?: boolean;
|
|
1639
1864
|
drawerId?: string;
|
|
1640
|
-
onClose?: DbEventHandler
|
|
1641
|
-
|
|
1865
|
+
onClose?: DbEventHandler<{
|
|
1866
|
+
id: string;
|
|
1867
|
+
}>;
|
|
1868
|
+
onDbClose?: DbEventHandler<{
|
|
1869
|
+
id: string;
|
|
1870
|
+
}>;
|
|
1642
1871
|
};
|
|
1643
1872
|
type PopoverProps = WebComponentProps & {
|
|
1644
1873
|
open?: boolean;
|
|
@@ -1674,7 +1903,7 @@ type ConfirmProps = WebComponentProps & {
|
|
|
1674
1903
|
confirmText?: string;
|
|
1675
1904
|
cancelText?: string;
|
|
1676
1905
|
confirmVariant?: 'primary' | 'success' | 'warning' | 'danger';
|
|
1677
|
-
variant?: 'info' | 'success' | 'warning' | 'danger';
|
|
1906
|
+
variant?: 'default' | 'info' | 'success' | 'warning' | 'danger';
|
|
1678
1907
|
size?: 's' | 'm' | 'l';
|
|
1679
1908
|
showIcon?: boolean;
|
|
1680
1909
|
initialFocus?: 'confirm' | 'cancel';
|
|
@@ -1692,6 +1921,7 @@ type ConfirmProps = WebComponentProps & {
|
|
|
1692
1921
|
};
|
|
1693
1922
|
type CardProps = WebComponentProps & {
|
|
1694
1923
|
variant?: 'default' | 'flat';
|
|
1924
|
+
prism?: boolean;
|
|
1695
1925
|
size?: 's' | 'm' | 'l';
|
|
1696
1926
|
fullWidth?: boolean;
|
|
1697
1927
|
clickable?: boolean;
|
|
@@ -1781,6 +2011,7 @@ type ChipProps = WebComponentProps & {
|
|
|
1781
2011
|
endIcon?: string;
|
|
1782
2012
|
onClick?: DbEventHandler;
|
|
1783
2013
|
onDelete?: DbEventHandler;
|
|
2014
|
+
onDismiss?: DbEventHandler;
|
|
1784
2015
|
onDbClick?: DbEventHandler;
|
|
1785
2016
|
onDbDelete?: DbEventHandler;
|
|
1786
2017
|
};
|
|
@@ -2042,6 +2273,14 @@ type MenuItemProps = WebComponentProps & {
|
|
|
2042
2273
|
onChildClick?: DbEventHandler<{
|
|
2043
2274
|
child: MenuItemChildConfig;
|
|
2044
2275
|
}>;
|
|
2276
|
+
onNavigate?: DbEventHandler<{
|
|
2277
|
+
label: string;
|
|
2278
|
+
href: string;
|
|
2279
|
+
}>;
|
|
2280
|
+
onDbNavigate?: DbEventHandler<{
|
|
2281
|
+
label: string;
|
|
2282
|
+
href: string;
|
|
2283
|
+
}>;
|
|
2045
2284
|
onDbClick?: DbEventHandler<{
|
|
2046
2285
|
label: string;
|
|
2047
2286
|
href: string;
|
|
@@ -2319,6 +2558,8 @@ type RatingProps = WebComponentProps & {
|
|
|
2319
2558
|
clickable?: boolean;
|
|
2320
2559
|
color?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'custom';
|
|
2321
2560
|
customColor?: string;
|
|
2561
|
+
animated?: boolean;
|
|
2562
|
+
hoverEffect?: boolean;
|
|
2322
2563
|
onChange?: DbEventHandler<{
|
|
2323
2564
|
value: number;
|
|
2324
2565
|
}>;
|
|
@@ -2444,12 +2685,23 @@ type ColorPickerProps = WebComponentProps & {
|
|
|
2444
2685
|
readonly?: boolean;
|
|
2445
2686
|
fullWidth?: boolean;
|
|
2446
2687
|
error?: boolean;
|
|
2688
|
+
changeFormat?: 'hex' | 'ui';
|
|
2689
|
+
changeDebounceMs?: number;
|
|
2690
|
+
emitDuringDrag?: boolean;
|
|
2447
2691
|
onChange?: DbEventHandler<{
|
|
2448
2692
|
value: string;
|
|
2449
2693
|
}>;
|
|
2450
2694
|
onDbChange?: DbEventHandler<{
|
|
2451
2695
|
value: string;
|
|
2452
2696
|
}>;
|
|
2697
|
+
onApply?: DbEventHandler<{
|
|
2698
|
+
value: string;
|
|
2699
|
+
}>;
|
|
2700
|
+
onCancel?: DbEventHandler;
|
|
2701
|
+
onDbApply?: DbEventHandler<{
|
|
2702
|
+
value: string;
|
|
2703
|
+
}>;
|
|
2704
|
+
onDbCancel?: DbEventHandler;
|
|
2453
2705
|
};
|
|
2454
2706
|
type ColorSwatchItem = {
|
|
2455
2707
|
value: string;
|
|
@@ -3579,6 +3831,10 @@ type SelectProps<TMultiple extends boolean = false> = SelectionProps<SelectChang
|
|
|
3579
3831
|
maxHeight?: number | string;
|
|
3580
3832
|
dropdownWidth?: 'auto' | 'full';
|
|
3581
3833
|
showClearButton?: boolean;
|
|
3834
|
+
labelSearch?: string;
|
|
3835
|
+
labelClear?: string;
|
|
3836
|
+
labelNoResults?: string;
|
|
3837
|
+
labelEmpty?: string;
|
|
3582
3838
|
};
|
|
3583
3839
|
|
|
3584
3840
|
declare const Alert: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
@@ -3587,7 +3843,7 @@ declare const Alert: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
3587
3843
|
} & {
|
|
3588
3844
|
title?: string;
|
|
3589
3845
|
message?: string;
|
|
3590
|
-
variant?: "default" | "info" | "success" | "warning" | "danger"
|
|
3846
|
+
variant?: "default" | "info" | "success" | "warning" | "danger";
|
|
3591
3847
|
size?: "s" | "m" | "l";
|
|
3592
3848
|
showIcon?: boolean;
|
|
3593
3849
|
closable?: boolean;
|
|
@@ -3679,6 +3935,14 @@ declare const Banner: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
3679
3935
|
closable?: boolean;
|
|
3680
3936
|
/** 닫기 버튼 aria-label입니다. 기본 Close. */
|
|
3681
3937
|
closeLabel?: string;
|
|
3938
|
+
onAction?: DbEventHandler<{
|
|
3939
|
+
index: number;
|
|
3940
|
+
action: BannerAction;
|
|
3941
|
+
}>;
|
|
3942
|
+
onDbAction?: DbEventHandler<{
|
|
3943
|
+
index: number;
|
|
3944
|
+
action: BannerAction;
|
|
3945
|
+
}>;
|
|
3682
3946
|
onClick?: DbEventHandler<{
|
|
3683
3947
|
href: string | null;
|
|
3684
3948
|
}>;
|
|
@@ -3726,6 +3990,8 @@ declare const Button: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
3726
3990
|
size?: ButtonSize;
|
|
3727
3991
|
radius?: ButtonRadius | "";
|
|
3728
3992
|
accentStyle?: ButtonAccentStyle;
|
|
3993
|
+
destructiveStyle?: ButtonDestructiveStyle;
|
|
3994
|
+
shortcut?: string;
|
|
3729
3995
|
type?: "button" | "submit" | "reset";
|
|
3730
3996
|
href?: string;
|
|
3731
3997
|
target?: string;
|
|
@@ -3754,6 +4020,7 @@ declare const Card: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HT
|
|
|
3754
4020
|
children?: React.ReactNode;
|
|
3755
4021
|
} & {
|
|
3756
4022
|
variant?: "default" | "flat";
|
|
4023
|
+
prism?: boolean;
|
|
3757
4024
|
size?: "s" | "m" | "l";
|
|
3758
4025
|
fullWidth?: boolean;
|
|
3759
4026
|
clickable?: boolean;
|
|
@@ -3810,6 +4077,7 @@ declare const Chip: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HT
|
|
|
3810
4077
|
endIcon?: string;
|
|
3811
4078
|
onClick?: DbEventHandler;
|
|
3812
4079
|
onDelete?: DbEventHandler;
|
|
4080
|
+
onDismiss?: DbEventHandler;
|
|
3813
4081
|
onDbClick?: DbEventHandler;
|
|
3814
4082
|
onDbDelete?: DbEventHandler;
|
|
3815
4083
|
} & RefAttributes<HTMLElement>>;
|
|
@@ -3823,7 +4091,7 @@ declare const Confirm: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes
|
|
|
3823
4091
|
confirmText?: string;
|
|
3824
4092
|
cancelText?: string;
|
|
3825
4093
|
confirmVariant?: "primary" | "success" | "warning" | "danger";
|
|
3826
|
-
variant?: "info" | "success" | "warning" | "danger";
|
|
4094
|
+
variant?: "default" | "info" | "success" | "warning" | "danger";
|
|
3827
4095
|
size?: "s" | "m" | "l";
|
|
3828
4096
|
showIcon?: boolean;
|
|
3829
4097
|
initialFocus?: "confirm" | "cancel";
|
|
@@ -3898,8 +4166,12 @@ declare const Drawer: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
3898
4166
|
zIndex?: number;
|
|
3899
4167
|
trapFocus?: boolean;
|
|
3900
4168
|
drawerId?: string;
|
|
3901
|
-
onClose?: DbEventHandler
|
|
3902
|
-
|
|
4169
|
+
onClose?: DbEventHandler<{
|
|
4170
|
+
id: string;
|
|
4171
|
+
}>;
|
|
4172
|
+
onDbClose?: DbEventHandler<{
|
|
4173
|
+
id: string;
|
|
4174
|
+
}>;
|
|
3903
4175
|
} & RefAttributes<HTMLElement>>;
|
|
3904
4176
|
declare const Dropdown: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
3905
4177
|
[key: string]: unknown;
|
|
@@ -4082,6 +4354,11 @@ declare const Input: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
4082
4354
|
helperText?: string;
|
|
4083
4355
|
fullWidth?: boolean;
|
|
4084
4356
|
autoComplete?: string;
|
|
4357
|
+
autoFocus?: boolean;
|
|
4358
|
+
inputMode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
4359
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
4360
|
+
autoCapitalize?: string;
|
|
4361
|
+
spellCheck?: boolean;
|
|
4085
4362
|
maxLength?: number;
|
|
4086
4363
|
minLength?: number;
|
|
4087
4364
|
form?: string;
|
|
@@ -4096,6 +4373,7 @@ declare const Input: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
4096
4373
|
onDbBlur?: DbEventHandler<{
|
|
4097
4374
|
nativeEvent: FocusEvent;
|
|
4098
4375
|
}>;
|
|
4376
|
+
onDbClear?: DbEventHandler;
|
|
4099
4377
|
type?: InputType;
|
|
4100
4378
|
pattern?: string;
|
|
4101
4379
|
startIcon?: string;
|
|
@@ -4127,6 +4405,7 @@ declare const OtpInput: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
4127
4405
|
label?: string;
|
|
4128
4406
|
autoFocus?: boolean;
|
|
4129
4407
|
masked?: boolean;
|
|
4408
|
+
fullWidth?: boolean;
|
|
4130
4409
|
name?: string;
|
|
4131
4410
|
onChange?: DbEventHandler<{
|
|
4132
4411
|
value: string;
|
|
@@ -4161,11 +4440,15 @@ declare const PhoneVerify: react.ForwardRefExoticComponent<Omit<react.HTMLAttrib
|
|
|
4161
4440
|
errorMessage?: string;
|
|
4162
4441
|
carrierOptions?: string;
|
|
4163
4442
|
countdown?: number;
|
|
4443
|
+
resendCooldown?: number;
|
|
4444
|
+
eyebrow?: string;
|
|
4164
4445
|
title?: string;
|
|
4165
4446
|
description?: string;
|
|
4166
4447
|
sendLabel?: string;
|
|
4167
4448
|
resendLabel?: string;
|
|
4168
4449
|
verifyLabel?: string;
|
|
4450
|
+
doneLabel?: string;
|
|
4451
|
+
closable?: boolean;
|
|
4169
4452
|
codeLength?: number;
|
|
4170
4453
|
manual?: boolean;
|
|
4171
4454
|
sending?: boolean;
|
|
@@ -4214,12 +4497,15 @@ declare const EmailVerify: react.ForwardRefExoticComponent<Omit<react.HTMLAttrib
|
|
|
4214
4497
|
error?: boolean;
|
|
4215
4498
|
errorMessage?: string;
|
|
4216
4499
|
countdown?: number;
|
|
4500
|
+
resendCooldown?: number;
|
|
4501
|
+
eyebrow?: string;
|
|
4217
4502
|
title?: string;
|
|
4218
4503
|
description?: string;
|
|
4219
4504
|
sendLabel?: string;
|
|
4220
4505
|
resendLabel?: string;
|
|
4221
4506
|
verifyLabel?: string;
|
|
4222
4507
|
confirmLabel?: string;
|
|
4508
|
+
doneLabel?: string;
|
|
4223
4509
|
codeLength?: number;
|
|
4224
4510
|
closable?: boolean;
|
|
4225
4511
|
manual?: boolean;
|
|
@@ -4235,6 +4521,7 @@ declare const EmailVerify: react.ForwardRefExoticComponent<Omit<react.HTMLAttrib
|
|
|
4235
4521
|
}>;
|
|
4236
4522
|
onResend?: DbEventHandler<{
|
|
4237
4523
|
email: string;
|
|
4524
|
+
mode: "code" | "confirm";
|
|
4238
4525
|
}>;
|
|
4239
4526
|
onCodeChange?: DbEventHandler<{
|
|
4240
4527
|
code: string;
|
|
@@ -4250,6 +4537,12 @@ declare const EmailVerify: react.ForwardRefExoticComponent<Omit<react.HTMLAttrib
|
|
|
4250
4537
|
onConfirm?: DbEventHandler<{
|
|
4251
4538
|
email: string;
|
|
4252
4539
|
}>;
|
|
4540
|
+
onChangeEmail?: DbEventHandler<{
|
|
4541
|
+
email: string;
|
|
4542
|
+
}>;
|
|
4543
|
+
onDone?: DbEventHandler<{
|
|
4544
|
+
email: string;
|
|
4545
|
+
}>;
|
|
4253
4546
|
onClose?: DbEventHandler;
|
|
4254
4547
|
onCountdownComplete?: DbEventHandler;
|
|
4255
4548
|
} & RefAttributes<HTMLElement>>;
|
|
@@ -4391,6 +4684,14 @@ declare const MenuItem: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
4391
4684
|
onChildClick?: DbEventHandler<{
|
|
4392
4685
|
child: MenuItemChildConfig;
|
|
4393
4686
|
}>;
|
|
4687
|
+
onNavigate?: DbEventHandler<{
|
|
4688
|
+
label: string;
|
|
4689
|
+
href: string;
|
|
4690
|
+
}>;
|
|
4691
|
+
onDbNavigate?: DbEventHandler<{
|
|
4692
|
+
label: string;
|
|
4693
|
+
href: string;
|
|
4694
|
+
}>;
|
|
4394
4695
|
onDbClick?: DbEventHandler<{
|
|
4395
4696
|
label: string;
|
|
4396
4697
|
href: string;
|
|
@@ -4640,14 +4941,28 @@ type ChatComposerProps = WebComponentProps & {
|
|
|
4640
4941
|
/** 첨부 버튼의 접근성 이름 */
|
|
4641
4942
|
attachLabel?: string;
|
|
4642
4943
|
tools?: DbChatTool[];
|
|
4944
|
+
attachOptions?: ___components_db_chat_composer_js.DbChatAttachOption[];
|
|
4643
4945
|
onSend?: DbEventHandler<{
|
|
4644
4946
|
value: string;
|
|
4947
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
4645
4948
|
}>;
|
|
4646
4949
|
onInput?: DbEventHandler<{
|
|
4647
4950
|
value: string;
|
|
4648
4951
|
}>;
|
|
4649
4952
|
onStop?: DbEventHandler;
|
|
4650
|
-
onAttach?: DbEventHandler
|
|
4953
|
+
onAttach?: DbEventHandler<{
|
|
4954
|
+
type: string;
|
|
4955
|
+
}>;
|
|
4956
|
+
onAttachFiles?: DbEventHandler<{
|
|
4957
|
+
type: string;
|
|
4958
|
+
files: File[];
|
|
4959
|
+
}>;
|
|
4960
|
+
onAttachmentAdd?: DbEventHandler<{
|
|
4961
|
+
attachment: ___components_db_chat_composer_js.DbChatAttachment;
|
|
4962
|
+
}>;
|
|
4963
|
+
onAttachmentRemove?: DbEventHandler<{
|
|
4964
|
+
id: string;
|
|
4965
|
+
}>;
|
|
4651
4966
|
onVoice?: DbEventHandler;
|
|
4652
4967
|
onToolToggle?: DbEventHandler<{
|
|
4653
4968
|
id: string;
|
|
@@ -4655,6 +4970,7 @@ type ChatComposerProps = WebComponentProps & {
|
|
|
4655
4970
|
}>;
|
|
4656
4971
|
onDbSend?: DbEventHandler<{
|
|
4657
4972
|
value: string;
|
|
4973
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
4658
4974
|
}>;
|
|
4659
4975
|
};
|
|
4660
4976
|
type ChatSuggestionsProps = WebComponentProps & {
|
|
@@ -4726,6 +5042,7 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
4726
5042
|
}>;
|
|
4727
5043
|
onSend?: DbEventHandler<{
|
|
4728
5044
|
text: string;
|
|
5045
|
+
attachments: NonNullable<DbChatWidgetMessage['attachments']>;
|
|
4729
5046
|
}>;
|
|
4730
5047
|
onMenuSelect?: DbEventHandler<{
|
|
4731
5048
|
id: string;
|
|
@@ -4748,6 +5065,9 @@ type ChatWidgetProps = WebComponentProps & {
|
|
|
4748
5065
|
text: string;
|
|
4749
5066
|
}>;
|
|
4750
5067
|
onStartChat?: DbEventHandler;
|
|
5068
|
+
onStop?: DbEventHandler;
|
|
5069
|
+
onAttach?: DbEventHandler;
|
|
5070
|
+
onVoice?: DbEventHandler;
|
|
4751
5071
|
};
|
|
4752
5072
|
declare const AiGlow: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
4753
5073
|
[key: string]: unknown;
|
|
@@ -4819,14 +5139,28 @@ declare const ChatComposer: react.ForwardRefExoticComponent<Omit<react.HTMLAttri
|
|
|
4819
5139
|
/** 첨부 버튼의 접근성 이름 */
|
|
4820
5140
|
attachLabel?: string;
|
|
4821
5141
|
tools?: DbChatTool[];
|
|
5142
|
+
attachOptions?: ___components_db_chat_composer_js.DbChatAttachOption[];
|
|
4822
5143
|
onSend?: DbEventHandler<{
|
|
4823
5144
|
value: string;
|
|
5145
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
4824
5146
|
}>;
|
|
4825
5147
|
onInput?: DbEventHandler<{
|
|
4826
5148
|
value: string;
|
|
4827
5149
|
}>;
|
|
4828
5150
|
onStop?: DbEventHandler;
|
|
4829
|
-
onAttach?: DbEventHandler
|
|
5151
|
+
onAttach?: DbEventHandler<{
|
|
5152
|
+
type: string;
|
|
5153
|
+
}>;
|
|
5154
|
+
onAttachFiles?: DbEventHandler<{
|
|
5155
|
+
type: string;
|
|
5156
|
+
files: File[];
|
|
5157
|
+
}>;
|
|
5158
|
+
onAttachmentAdd?: DbEventHandler<{
|
|
5159
|
+
attachment: ___components_db_chat_composer_js.DbChatAttachment;
|
|
5160
|
+
}>;
|
|
5161
|
+
onAttachmentRemove?: DbEventHandler<{
|
|
5162
|
+
id: string;
|
|
5163
|
+
}>;
|
|
4830
5164
|
onVoice?: DbEventHandler;
|
|
4831
5165
|
onToolToggle?: DbEventHandler<{
|
|
4832
5166
|
id: string;
|
|
@@ -4834,6 +5168,7 @@ declare const ChatComposer: react.ForwardRefExoticComponent<Omit<react.HTMLAttri
|
|
|
4834
5168
|
}>;
|
|
4835
5169
|
onDbSend?: DbEventHandler<{
|
|
4836
5170
|
value: string;
|
|
5171
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
4837
5172
|
}>;
|
|
4838
5173
|
} & RefAttributes<HTMLElement>>;
|
|
4839
5174
|
declare const ChatSuggestions: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
@@ -4917,6 +5252,7 @@ declare const ChatWidget: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
4917
5252
|
}>;
|
|
4918
5253
|
onSend?: DbEventHandler<{
|
|
4919
5254
|
text: string;
|
|
5255
|
+
attachments: NonNullable<DbChatWidgetMessage["attachments"]>;
|
|
4920
5256
|
}>;
|
|
4921
5257
|
onMenuSelect?: DbEventHandler<{
|
|
4922
5258
|
id: string;
|
|
@@ -4939,6 +5275,9 @@ declare const ChatWidget: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
4939
5275
|
text: string;
|
|
4940
5276
|
}>;
|
|
4941
5277
|
onStartChat?: DbEventHandler;
|
|
5278
|
+
onStop?: DbEventHandler;
|
|
5279
|
+
onAttach?: DbEventHandler;
|
|
5280
|
+
onVoice?: DbEventHandler;
|
|
4942
5281
|
} & RefAttributes<HTMLElement>>;
|
|
4943
5282
|
type AiChatProps = WebComponentProps & {
|
|
4944
5283
|
greeting?: string;
|
|
@@ -4962,6 +5301,7 @@ type AiChatProps = WebComponentProps & {
|
|
|
4962
5301
|
tools?: DbChatTool[];
|
|
4963
5302
|
onSend?: DbEventHandler<{
|
|
4964
5303
|
value: string;
|
|
5304
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
4965
5305
|
}>;
|
|
4966
5306
|
onStop?: DbEventHandler;
|
|
4967
5307
|
onToolToggle?: DbEventHandler<{
|
|
@@ -4969,6 +5309,10 @@ type AiChatProps = WebComponentProps & {
|
|
|
4969
5309
|
active: boolean;
|
|
4970
5310
|
}>;
|
|
4971
5311
|
onAttach?: DbEventHandler;
|
|
5312
|
+
onAttachFiles?: DbEventHandler<{
|
|
5313
|
+
type: string;
|
|
5314
|
+
files: File[];
|
|
5315
|
+
}>;
|
|
4972
5316
|
onVoice?: DbEventHandler;
|
|
4973
5317
|
onSuggestionSelect?: DbEventHandler<{
|
|
4974
5318
|
id: string;
|
|
@@ -5019,24 +5363,25 @@ type ChatListProps = WebComponentProps & {
|
|
|
5019
5363
|
}>;
|
|
5020
5364
|
};
|
|
5021
5365
|
type ChatRoomProps = WebComponentProps & {
|
|
5366
|
+
peerName?: string;
|
|
5367
|
+
peerStatus?: string;
|
|
5368
|
+
peerAvatar?: string;
|
|
5369
|
+
peerInitials?: string;
|
|
5370
|
+
showBack?: boolean;
|
|
5371
|
+
/** @deprecated Use peerName. */
|
|
5022
5372
|
name?: string;
|
|
5373
|
+
/** @deprecated Use peerStatus. */
|
|
5023
5374
|
status?: string;
|
|
5375
|
+
/** @deprecated Use peerAvatar. */
|
|
5024
5376
|
avatarSrc?: string;
|
|
5377
|
+
/** @deprecated Use peerInitials. */
|
|
5025
5378
|
avatarInitials?: string;
|
|
5026
5379
|
placeholder?: string;
|
|
5027
5380
|
online?: boolean;
|
|
5028
|
-
messages?:
|
|
5029
|
-
id?: string;
|
|
5030
|
-
mine?: boolean;
|
|
5031
|
-
text?: string;
|
|
5032
|
-
html?: string;
|
|
5033
|
-
time?: string;
|
|
5034
|
-
name?: string;
|
|
5035
|
-
avatarSrc?: string;
|
|
5036
|
-
avatarInitials?: string;
|
|
5037
|
-
}>;
|
|
5381
|
+
messages?: ___components_db_chat_room_js.DbChatRoomMessage[];
|
|
5038
5382
|
onSend?: DbEventHandler<{
|
|
5039
5383
|
value: string;
|
|
5384
|
+
attachments: ___components_db_chat_message_js.DbChatMessageAttachment[];
|
|
5040
5385
|
}>;
|
|
5041
5386
|
onBack?: DbEventHandler;
|
|
5042
5387
|
};
|
|
@@ -5065,6 +5410,7 @@ declare const AiChat: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
5065
5410
|
tools?: DbChatTool[];
|
|
5066
5411
|
onSend?: DbEventHandler<{
|
|
5067
5412
|
value: string;
|
|
5413
|
+
attachments: ___components_db_chat_composer_js.DbChatAttachment[];
|
|
5068
5414
|
}>;
|
|
5069
5415
|
onStop?: DbEventHandler;
|
|
5070
5416
|
onToolToggle?: DbEventHandler<{
|
|
@@ -5072,6 +5418,10 @@ declare const AiChat: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
5072
5418
|
active: boolean;
|
|
5073
5419
|
}>;
|
|
5074
5420
|
onAttach?: DbEventHandler;
|
|
5421
|
+
onAttachFiles?: DbEventHandler<{
|
|
5422
|
+
type: string;
|
|
5423
|
+
files: File[];
|
|
5424
|
+
}>;
|
|
5075
5425
|
onVoice?: DbEventHandler;
|
|
5076
5426
|
onSuggestionSelect?: DbEventHandler<{
|
|
5077
5427
|
id: string;
|
|
@@ -5127,31 +5477,7 @@ declare const ChatList: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
5127
5477
|
id: string;
|
|
5128
5478
|
}>;
|
|
5129
5479
|
} & RefAttributes<HTMLElement>>;
|
|
5130
|
-
declare const ChatRoom: react.ForwardRefExoticComponent<Omit<
|
|
5131
|
-
[key: string]: unknown;
|
|
5132
|
-
children?: React.ReactNode;
|
|
5133
|
-
} & {
|
|
5134
|
-
name?: string;
|
|
5135
|
-
status?: string;
|
|
5136
|
-
avatarSrc?: string;
|
|
5137
|
-
avatarInitials?: string;
|
|
5138
|
-
placeholder?: string;
|
|
5139
|
-
online?: boolean;
|
|
5140
|
-
messages?: Array<{
|
|
5141
|
-
id?: string;
|
|
5142
|
-
mine?: boolean;
|
|
5143
|
-
text?: string;
|
|
5144
|
-
html?: string;
|
|
5145
|
-
time?: string;
|
|
5146
|
-
name?: string;
|
|
5147
|
-
avatarSrc?: string;
|
|
5148
|
-
avatarInitials?: string;
|
|
5149
|
-
}>;
|
|
5150
|
-
onSend?: DbEventHandler<{
|
|
5151
|
-
value: string;
|
|
5152
|
-
}>;
|
|
5153
|
-
onBack?: DbEventHandler;
|
|
5154
|
-
} & RefAttributes<HTMLElement>>;
|
|
5480
|
+
declare const ChatRoom: react.ForwardRefExoticComponent<Omit<ChatRoomProps, "ref"> & RefAttributes<HTMLElement>>;
|
|
5155
5481
|
declare const Radio: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5156
5482
|
[key: string]: unknown;
|
|
5157
5483
|
children?: React.ReactNode;
|
|
@@ -5255,6 +5581,34 @@ declare const Share: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
5255
5581
|
qrCodeSize?: number;
|
|
5256
5582
|
copySuccessMessage?: string;
|
|
5257
5583
|
open?: boolean;
|
|
5584
|
+
onShare?: DbEventHandler<{
|
|
5585
|
+
platform: SharePlatform;
|
|
5586
|
+
url: string;
|
|
5587
|
+
}>;
|
|
5588
|
+
onShareError?: DbEventHandler<{
|
|
5589
|
+
platform: SharePlatform;
|
|
5590
|
+
error: unknown;
|
|
5591
|
+
}>;
|
|
5592
|
+
onCopySuccess?: DbEventHandler<{
|
|
5593
|
+
url: string;
|
|
5594
|
+
}>;
|
|
5595
|
+
onCopyError?: DbEventHandler<{
|
|
5596
|
+
error: unknown;
|
|
5597
|
+
}>;
|
|
5598
|
+
onDbShare?: DbEventHandler<{
|
|
5599
|
+
platform: SharePlatform;
|
|
5600
|
+
url: string;
|
|
5601
|
+
}>;
|
|
5602
|
+
onDbShareError?: DbEventHandler<{
|
|
5603
|
+
platform: SharePlatform;
|
|
5604
|
+
error: unknown;
|
|
5605
|
+
}>;
|
|
5606
|
+
onDbCopySuccess?: DbEventHandler<{
|
|
5607
|
+
url: string;
|
|
5608
|
+
}>;
|
|
5609
|
+
onDbCopyError?: DbEventHandler<{
|
|
5610
|
+
error: unknown;
|
|
5611
|
+
}>;
|
|
5258
5612
|
} & RefAttributes<HTMLElement>>;
|
|
5259
5613
|
declare const TopBanner: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5260
5614
|
[key: string]: unknown;
|
|
@@ -5267,6 +5621,10 @@ declare const TopBanner: react.ForwardRefExoticComponent<Omit<react.HTMLAttribut
|
|
|
5267
5621
|
variant?: "primary" | "white" | "dark";
|
|
5268
5622
|
fixed?: boolean;
|
|
5269
5623
|
dismissed?: boolean;
|
|
5624
|
+
onClose?: DbEventHandler;
|
|
5625
|
+
onLinkPress?: DbEventHandler;
|
|
5626
|
+
onDbClose?: DbEventHandler;
|
|
5627
|
+
onDbLink?: DbEventHandler;
|
|
5270
5628
|
} & RefAttributes<HTMLElement>>;
|
|
5271
5629
|
declare const CookieBanner: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5272
5630
|
[key: string]: unknown;
|
|
@@ -5314,6 +5672,8 @@ declare const Stat: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HT
|
|
|
5314
5672
|
clickable?: boolean;
|
|
5315
5673
|
disabled?: boolean;
|
|
5316
5674
|
animated?: boolean;
|
|
5675
|
+
onClick?: DbEventHandler;
|
|
5676
|
+
onDbClick?: DbEventHandler;
|
|
5317
5677
|
} & RefAttributes<HTMLElement>>;
|
|
5318
5678
|
declare const ActivityHeatmap: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5319
5679
|
[key: string]: unknown;
|
|
@@ -5359,6 +5719,12 @@ declare const Image: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
5359
5719
|
shadow?: boolean | "s" | "m" | "l";
|
|
5360
5720
|
hover?: boolean;
|
|
5361
5721
|
clickable?: boolean;
|
|
5722
|
+
onClick?: DbEventHandler;
|
|
5723
|
+
onLoad?: DbEventHandler;
|
|
5724
|
+
onError?: DbEventHandler;
|
|
5725
|
+
onDbClick?: DbEventHandler;
|
|
5726
|
+
onDbLoad?: DbEventHandler;
|
|
5727
|
+
onDbError?: DbEventHandler;
|
|
5362
5728
|
} & RefAttributes<HTMLElement>>;
|
|
5363
5729
|
declare const ImagePlaceholder: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5364
5730
|
[key: string]: unknown;
|
|
@@ -5392,6 +5758,30 @@ declare const ImageList: react.ForwardRefExoticComponent<Omit<react.HTMLAttribut
|
|
|
5392
5758
|
lightbox?: boolean;
|
|
5393
5759
|
loading?: "lazy" | "eager";
|
|
5394
5760
|
responsive?: boolean;
|
|
5761
|
+
onImageClick?: DbEventHandler<{
|
|
5762
|
+
image: ImageListItem;
|
|
5763
|
+
index: number;
|
|
5764
|
+
}>;
|
|
5765
|
+
onImageLoad?: DbEventHandler<{
|
|
5766
|
+
image: ImageListItem;
|
|
5767
|
+
index: number;
|
|
5768
|
+
}>;
|
|
5769
|
+
onImageError?: DbEventHandler<{
|
|
5770
|
+
image: ImageListItem;
|
|
5771
|
+
index: number;
|
|
5772
|
+
}>;
|
|
5773
|
+
onDbImageClick?: DbEventHandler<{
|
|
5774
|
+
image: ImageListItem;
|
|
5775
|
+
index: number;
|
|
5776
|
+
}>;
|
|
5777
|
+
onDbImageLoad?: DbEventHandler<{
|
|
5778
|
+
image: ImageListItem;
|
|
5779
|
+
index: number;
|
|
5780
|
+
}>;
|
|
5781
|
+
onDbImageError?: DbEventHandler<{
|
|
5782
|
+
image: ImageListItem;
|
|
5783
|
+
index: number;
|
|
5784
|
+
}>;
|
|
5395
5785
|
} & RefAttributes<HTMLElement>>;
|
|
5396
5786
|
declare const Lightbox: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5397
5787
|
[key: string]: unknown;
|
|
@@ -5413,6 +5803,14 @@ declare const Lightbox: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
5413
5803
|
showToolbar?: boolean;
|
|
5414
5804
|
closeOnBackdropClick?: boolean;
|
|
5415
5805
|
closeOnEscape?: boolean;
|
|
5806
|
+
onClose?: DbEventHandler;
|
|
5807
|
+
onImageChange?: DbEventHandler<{
|
|
5808
|
+
index: number;
|
|
5809
|
+
}>;
|
|
5810
|
+
onDbClose?: DbEventHandler;
|
|
5811
|
+
onDbImageChange?: DbEventHandler<{
|
|
5812
|
+
index: number;
|
|
5813
|
+
}>;
|
|
5416
5814
|
} & RefAttributes<HTMLElement>>;
|
|
5417
5815
|
declare const NavigationRail: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5418
5816
|
[key: string]: unknown;
|
|
@@ -5436,6 +5834,9 @@ declare const BottomNavigation: react.ForwardRefExoticComponent<Omit<react.HTMLA
|
|
|
5436
5834
|
children?: React.ReactNode;
|
|
5437
5835
|
} & {
|
|
5438
5836
|
items?: BottomNavigationItem[] | string;
|
|
5837
|
+
onDbItemClick?: DbEventHandler<{
|
|
5838
|
+
item: BottomNavigationItem;
|
|
5839
|
+
}>;
|
|
5439
5840
|
activeItemId?: string;
|
|
5440
5841
|
size?: "s" | "m" | "l";
|
|
5441
5842
|
backgroundColor?: "default" | "glass" | "transparent";
|
|
@@ -5455,6 +5856,24 @@ declare const Navbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
5455
5856
|
}>;
|
|
5456
5857
|
onLogoClick?: DbEventHandler;
|
|
5457
5858
|
onLoginClick?: DbEventHandler;
|
|
5859
|
+
onSearch?: DbEventHandler<{
|
|
5860
|
+
query: string;
|
|
5861
|
+
value: string;
|
|
5862
|
+
}>;
|
|
5863
|
+
onDbItemClick?: DbEventHandler<{
|
|
5864
|
+
item: NavbarItem;
|
|
5865
|
+
source: "nav" | "mobile";
|
|
5866
|
+
}>;
|
|
5867
|
+
onDbUserMenuItemClick?: DbEventHandler<{
|
|
5868
|
+
item: NavbarItem;
|
|
5869
|
+
source: "user";
|
|
5870
|
+
}>;
|
|
5871
|
+
onDbLogoClick?: DbEventHandler;
|
|
5872
|
+
onDbLoginClick?: DbEventHandler;
|
|
5873
|
+
onDbSearch?: DbEventHandler<{
|
|
5874
|
+
query: string;
|
|
5875
|
+
value: string;
|
|
5876
|
+
}>;
|
|
5458
5877
|
logoSrc?: string;
|
|
5459
5878
|
logoAlt?: string;
|
|
5460
5879
|
items?: NavbarItem[] | string;
|
|
@@ -5487,6 +5906,28 @@ declare const Footer: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
5487
5906
|
showLogo?: boolean;
|
|
5488
5907
|
showSocial?: boolean;
|
|
5489
5908
|
familySiteLabel?: string;
|
|
5909
|
+
onLinkClick?: DbEventHandler<{
|
|
5910
|
+
link: FooterLink;
|
|
5911
|
+
source: "column" | "legal";
|
|
5912
|
+
}>;
|
|
5913
|
+
onSocialClick?: DbEventHandler<{
|
|
5914
|
+
link: FooterSocialLink;
|
|
5915
|
+
}>;
|
|
5916
|
+
onLogoClick?: DbEventHandler;
|
|
5917
|
+
onFamilySiteChange?: DbEventHandler<{
|
|
5918
|
+
site: FooterFamilySite;
|
|
5919
|
+
}>;
|
|
5920
|
+
onDbLinkClick?: DbEventHandler<{
|
|
5921
|
+
link: FooterLink;
|
|
5922
|
+
source: "column" | "legal";
|
|
5923
|
+
}>;
|
|
5924
|
+
onDbSocialClick?: DbEventHandler<{
|
|
5925
|
+
link: FooterSocialLink;
|
|
5926
|
+
}>;
|
|
5927
|
+
onDbLogoClick?: DbEventHandler;
|
|
5928
|
+
onDbFamilySiteChange?: DbEventHandler<{
|
|
5929
|
+
site: FooterFamilySite;
|
|
5930
|
+
}>;
|
|
5490
5931
|
} & RefAttributes<HTMLElement>>;
|
|
5491
5932
|
declare const Sidebar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5492
5933
|
[key: string]: unknown;
|
|
@@ -5568,13 +6009,43 @@ declare const Sidebar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes
|
|
|
5568
6009
|
logoText?: string;
|
|
5569
6010
|
fullHeight?: boolean;
|
|
5570
6011
|
shadow?: boolean;
|
|
6012
|
+
onItemClick?: DbEventHandler<{
|
|
6013
|
+
item: SidebarItem;
|
|
6014
|
+
}>;
|
|
6015
|
+
onDbItemClick?: DbEventHandler<{
|
|
6016
|
+
item: SidebarItem;
|
|
6017
|
+
}>;
|
|
6018
|
+
onUserMenuItemClick?: DbEventHandler<{
|
|
6019
|
+
item: SidebarItem;
|
|
6020
|
+
}>;
|
|
6021
|
+
onDbUserMenuItemClick?: DbEventHandler<{
|
|
6022
|
+
item: SidebarItem;
|
|
6023
|
+
}>;
|
|
6024
|
+
onLogoClick?: DbEventHandler;
|
|
6025
|
+
onDbLogoClick?: DbEventHandler;
|
|
6026
|
+
onToggle?: DbEventHandler<{
|
|
6027
|
+
collapsed: boolean;
|
|
6028
|
+
}>;
|
|
6029
|
+
onDbToggle?: DbEventHandler<{
|
|
6030
|
+
collapsed: boolean;
|
|
6031
|
+
}>;
|
|
6032
|
+
onProjectChange?: DbEventHandler<{
|
|
6033
|
+
project: SidebarProject;
|
|
6034
|
+
}>;
|
|
6035
|
+
onDbProjectChange?: DbEventHandler<{
|
|
6036
|
+
project: SidebarProject;
|
|
6037
|
+
}>;
|
|
6038
|
+
onProjectManage?: DbEventHandler;
|
|
6039
|
+
onDbProjectManage?: DbEventHandler;
|
|
5571
6040
|
onBackClick?: DbEventHandler<{
|
|
5572
6041
|
label: string;
|
|
5573
6042
|
href: string;
|
|
6043
|
+
panel: SidebarPanel | null;
|
|
5574
6044
|
}>;
|
|
5575
6045
|
onDbBackClick?: DbEventHandler<{
|
|
5576
6046
|
label: string;
|
|
5577
6047
|
href: string;
|
|
6048
|
+
panel: SidebarPanel | null;
|
|
5578
6049
|
}>;
|
|
5579
6050
|
onPanelChange?: DbEventHandler<{
|
|
5580
6051
|
panel: string;
|
|
@@ -5761,6 +6232,11 @@ declare const Textarea: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
5761
6232
|
helperText?: string;
|
|
5762
6233
|
fullWidth?: boolean;
|
|
5763
6234
|
autoComplete?: string;
|
|
6235
|
+
autoFocus?: boolean;
|
|
6236
|
+
inputMode?: "none" | "text" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
|
6237
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send";
|
|
6238
|
+
autoCapitalize?: string;
|
|
6239
|
+
spellCheck?: boolean;
|
|
5764
6240
|
maxLength?: number;
|
|
5765
6241
|
minLength?: number;
|
|
5766
6242
|
form?: string;
|
|
@@ -5786,6 +6262,7 @@ declare const Toast: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<H
|
|
|
5786
6262
|
showClose?: boolean;
|
|
5787
6263
|
showProgress?: boolean;
|
|
5788
6264
|
autoRemove?: boolean;
|
|
6265
|
+
labelClose?: string;
|
|
5789
6266
|
onClose?: DbEventHandler<{
|
|
5790
6267
|
id: string;
|
|
5791
6268
|
}>;
|
|
@@ -5841,9 +6318,40 @@ declare const FilterBar: react.ForwardRefExoticComponent<Omit<react.HTMLAttribut
|
|
|
5841
6318
|
/** Direct children use slot="search" | "filters" | "summary" | "actions". */
|
|
5842
6319
|
children?: ReactNode;
|
|
5843
6320
|
} & RefAttributes<HTMLElement>>;
|
|
6321
|
+
type ToolbarProps = WebComponentProps & {
|
|
6322
|
+
items?: ___components_db_toolbar_js.DbToolbarItemData[] | string;
|
|
6323
|
+
size?: 's' | 'm' | 'l';
|
|
6324
|
+
variant?: 'default' | 'filled' | 'outlined' | 'ghost';
|
|
6325
|
+
position?: 'top' | 'bottom' | 'left' | 'right' | 'floating';
|
|
6326
|
+
fullWidth?: boolean;
|
|
6327
|
+
shadow?: boolean;
|
|
6328
|
+
rounded?: boolean;
|
|
6329
|
+
fixed?: boolean;
|
|
6330
|
+
onItemClick?: DbEventHandler<{
|
|
6331
|
+
item: ___components_db_toolbar_js.DbToolbarItemData;
|
|
6332
|
+
}>;
|
|
6333
|
+
onDbItemClick?: DbEventHandler<{
|
|
6334
|
+
item: ___components_db_toolbar_js.DbToolbarItemData;
|
|
6335
|
+
}>;
|
|
6336
|
+
};
|
|
5844
6337
|
declare const Toolbar: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5845
6338
|
[key: string]: unknown;
|
|
5846
6339
|
children?: React.ReactNode;
|
|
6340
|
+
} & {
|
|
6341
|
+
items?: ___components_db_toolbar_js.DbToolbarItemData[] | string;
|
|
6342
|
+
size?: "s" | "m" | "l";
|
|
6343
|
+
variant?: "default" | "filled" | "outlined" | "ghost";
|
|
6344
|
+
position?: "top" | "bottom" | "left" | "right" | "floating";
|
|
6345
|
+
fullWidth?: boolean;
|
|
6346
|
+
shadow?: boolean;
|
|
6347
|
+
rounded?: boolean;
|
|
6348
|
+
fixed?: boolean;
|
|
6349
|
+
onItemClick?: DbEventHandler<{
|
|
6350
|
+
item: ___components_db_toolbar_js.DbToolbarItemData;
|
|
6351
|
+
}>;
|
|
6352
|
+
onDbItemClick?: DbEventHandler<{
|
|
6353
|
+
item: ___components_db_toolbar_js.DbToolbarItemData;
|
|
6354
|
+
}>;
|
|
5847
6355
|
} & RefAttributes<HTMLElement>>;
|
|
5848
6356
|
declare const Tooltip: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
5849
6357
|
[key: string]: unknown;
|
|
@@ -5879,6 +6387,8 @@ declare const Rating: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<
|
|
|
5879
6387
|
clickable?: boolean;
|
|
5880
6388
|
color?: "primary" | "secondary" | "success" | "warning" | "error" | "custom";
|
|
5881
6389
|
customColor?: string;
|
|
6390
|
+
animated?: boolean;
|
|
6391
|
+
hoverEffect?: boolean;
|
|
5882
6392
|
onChange?: DbEventHandler<{
|
|
5883
6393
|
value: number;
|
|
5884
6394
|
}>;
|
|
@@ -6041,12 +6551,23 @@ declare const ColorPicker: react.ForwardRefExoticComponent<Omit<react.HTMLAttrib
|
|
|
6041
6551
|
readonly?: boolean;
|
|
6042
6552
|
fullWidth?: boolean;
|
|
6043
6553
|
error?: boolean;
|
|
6554
|
+
changeFormat?: "hex" | "ui";
|
|
6555
|
+
changeDebounceMs?: number;
|
|
6556
|
+
emitDuringDrag?: boolean;
|
|
6044
6557
|
onChange?: DbEventHandler<{
|
|
6045
6558
|
value: string;
|
|
6046
6559
|
}>;
|
|
6047
6560
|
onDbChange?: DbEventHandler<{
|
|
6048
6561
|
value: string;
|
|
6049
6562
|
}>;
|
|
6563
|
+
onApply?: DbEventHandler<{
|
|
6564
|
+
value: string;
|
|
6565
|
+
}>;
|
|
6566
|
+
onCancel?: DbEventHandler;
|
|
6567
|
+
onDbApply?: DbEventHandler<{
|
|
6568
|
+
value: string;
|
|
6569
|
+
}>;
|
|
6570
|
+
onDbCancel?: DbEventHandler;
|
|
6050
6571
|
} & RefAttributes<HTMLElement>>;
|
|
6051
6572
|
declare const ColorSwatch: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
6052
6573
|
[key: string]: unknown;
|
|
@@ -7227,23 +7748,39 @@ declare const Dropzone: react.ForwardRefExoticComponent<Omit<react.HTMLAttribute
|
|
|
7227
7748
|
onFileSelect?: DbEventHandler<{
|
|
7228
7749
|
files: File[];
|
|
7229
7750
|
}>;
|
|
7230
|
-
onDragOver?: DbEventHandler
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7751
|
+
onDragOver?: DbEventHandler<{
|
|
7752
|
+
event: DragEvent;
|
|
7753
|
+
}>;
|
|
7754
|
+
onDragLeave?: DbEventHandler<{
|
|
7755
|
+
event: DragEvent;
|
|
7756
|
+
}>;
|
|
7757
|
+
onDrop?: DbEventHandler<{
|
|
7758
|
+
event: DragEvent;
|
|
7759
|
+
}>;
|
|
7760
|
+
onClick?: DbEventHandler<{
|
|
7761
|
+
event: MouseEvent;
|
|
7762
|
+
}>;
|
|
7234
7763
|
onDbFileSelect?: DbEventHandler<{
|
|
7235
7764
|
files: File[];
|
|
7236
7765
|
}>;
|
|
7237
|
-
onDbDragOver?: DbEventHandler
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7766
|
+
onDbDragOver?: DbEventHandler<{
|
|
7767
|
+
event: DragEvent;
|
|
7768
|
+
}>;
|
|
7769
|
+
onDbDragLeave?: DbEventHandler<{
|
|
7770
|
+
event: DragEvent;
|
|
7771
|
+
}>;
|
|
7772
|
+
onDbDrop?: DbEventHandler<{
|
|
7773
|
+
event: DragEvent;
|
|
7774
|
+
}>;
|
|
7775
|
+
onDbClick?: DbEventHandler<{
|
|
7776
|
+
event: MouseEvent;
|
|
7777
|
+
}>;
|
|
7241
7778
|
} & RefAttributes<HTMLElement>>;
|
|
7242
7779
|
declare const OnboardingModal: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
7243
7780
|
[key: string]: unknown;
|
|
7244
7781
|
children?: React.ReactNode;
|
|
7245
7782
|
} & {
|
|
7246
|
-
steps?: OnboardingStep[];
|
|
7783
|
+
steps?: OnboardingStep[] | string;
|
|
7247
7784
|
currentStep?: number;
|
|
7248
7785
|
isOpen?: boolean;
|
|
7249
7786
|
open?: boolean;
|
|
@@ -7252,10 +7789,14 @@ declare const OnboardingModal: react.ForwardRefExoticComponent<Omit<react.HTMLAt
|
|
|
7252
7789
|
indicatorType?: "dots" | "numbers";
|
|
7253
7790
|
indicatorSize?: "s" | "m" | "l";
|
|
7254
7791
|
onClose?: DbEventHandler;
|
|
7255
|
-
onStepChange?: DbEventHandler
|
|
7792
|
+
onStepChange?: DbEventHandler<{
|
|
7793
|
+
step: number;
|
|
7794
|
+
}>;
|
|
7256
7795
|
onComplete?: DbEventHandler;
|
|
7257
7796
|
onDbClose?: DbEventHandler;
|
|
7258
|
-
onDbStepChange?: DbEventHandler
|
|
7797
|
+
onDbStepChange?: DbEventHandler<{
|
|
7798
|
+
step: number;
|
|
7799
|
+
}>;
|
|
7259
7800
|
onDbComplete?: DbEventHandler;
|
|
7260
7801
|
} & RefAttributes<HTMLElement>>;
|
|
7261
7802
|
declare const SplitView: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
@@ -7270,6 +7811,12 @@ declare const SplitView: react.ForwardRefExoticComponent<Omit<react.HTMLAttribut
|
|
|
7270
7811
|
gap?: number;
|
|
7271
7812
|
fullWidth?: boolean;
|
|
7272
7813
|
fullHeight?: boolean;
|
|
7814
|
+
onResize?: DbEventHandler<{
|
|
7815
|
+
sizes: number[];
|
|
7816
|
+
}>;
|
|
7817
|
+
onDbResize?: DbEventHandler<{
|
|
7818
|
+
sizes: number[];
|
|
7819
|
+
}>;
|
|
7273
7820
|
} & RefAttributes<HTMLElement>>;
|
|
7274
7821
|
declare const FileUploader: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
7275
7822
|
[key: string]: unknown;
|
|
@@ -7298,6 +7845,7 @@ declare const DatePicker: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
7298
7845
|
mode?: "single" | "range";
|
|
7299
7846
|
layout?: "default" | "panel";
|
|
7300
7847
|
inline?: boolean;
|
|
7848
|
+
open?: boolean;
|
|
7301
7849
|
value?: string;
|
|
7302
7850
|
defaultValue?: string;
|
|
7303
7851
|
minDate?: string;
|
|
@@ -7330,6 +7878,7 @@ declare const TimePicker: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
7330
7878
|
[key: string]: unknown;
|
|
7331
7879
|
children?: React.ReactNode;
|
|
7332
7880
|
} & {
|
|
7881
|
+
open?: boolean;
|
|
7333
7882
|
value?: string;
|
|
7334
7883
|
defaultValue?: string;
|
|
7335
7884
|
format?: "12h" | "24h" | "12h-with-seconds" | "24h-with-seconds";
|
|
@@ -8435,6 +8984,10 @@ type BentoCardProps = WebComponentProps & {
|
|
|
8435
8984
|
image?: string;
|
|
8436
8985
|
imageAlt?: string;
|
|
8437
8986
|
imagePosition?: 'top' | 'cover';
|
|
8987
|
+
onClick?: DbEventHandler<{
|
|
8988
|
+
name: string;
|
|
8989
|
+
href: string;
|
|
8990
|
+
}>;
|
|
8438
8991
|
onDbClick?: DbEventHandler<{
|
|
8439
8992
|
name: string;
|
|
8440
8993
|
href: string;
|
|
@@ -8459,6 +9012,10 @@ declare const BentoCard: react.ForwardRefExoticComponent<Omit<react.HTMLAttribut
|
|
|
8459
9012
|
image?: string;
|
|
8460
9013
|
imageAlt?: string;
|
|
8461
9014
|
imagePosition?: "top" | "cover";
|
|
9015
|
+
onClick?: DbEventHandler<{
|
|
9016
|
+
name: string;
|
|
9017
|
+
href: string;
|
|
9018
|
+
}>;
|
|
8462
9019
|
onDbClick?: DbEventHandler<{
|
|
8463
9020
|
name: string;
|
|
8464
9021
|
href: string;
|
|
@@ -9305,5 +9862,214 @@ declare const ContextBar: react.ForwardRefExoticComponent<Omit<react.HTMLAttribu
|
|
|
9305
9862
|
onToolAction?: DbEventHandler<___components_db_tool_button_js.DesignToolAction>;
|
|
9306
9863
|
} & RefAttributes<HTMLElement>>;
|
|
9307
9864
|
|
|
9308
|
-
|
|
9309
|
-
|
|
9865
|
+
type ToolLayoutProps = Omit<WebComponentProps, 'style'> & {
|
|
9866
|
+
style?: react.CSSProperties & {
|
|
9867
|
+
[key: `--db-tool-${string}`]: string | number;
|
|
9868
|
+
};
|
|
9869
|
+
variant?: ___components_db_tool_layout_js.ToolLayoutVariant;
|
|
9870
|
+
fullHeight?: boolean;
|
|
9871
|
+
resizable?: boolean;
|
|
9872
|
+
sidebarHidden?: boolean;
|
|
9873
|
+
inspectorHidden?: boolean;
|
|
9874
|
+
bottomHidden?: boolean;
|
|
9875
|
+
sidebarMin?: number;
|
|
9876
|
+
sidebarMax?: number;
|
|
9877
|
+
inspectorMin?: number;
|
|
9878
|
+
inspectorMax?: number;
|
|
9879
|
+
bottomMin?: number;
|
|
9880
|
+
bottomMax?: number;
|
|
9881
|
+
mainMinSize?: number;
|
|
9882
|
+
panelSizes?: ___components_db_tool_layout_js.ToolLayoutSizes;
|
|
9883
|
+
onPanelToggle?: DbEventHandler<{
|
|
9884
|
+
panel: ___components_db_tool_layout_js.ToolLayoutPanel;
|
|
9885
|
+
open: boolean;
|
|
9886
|
+
}>;
|
|
9887
|
+
onPanelResize?: DbEventHandler<___components_db_tool_layout_js.ToolLayoutResizeDetail>;
|
|
9888
|
+
};
|
|
9889
|
+
type ToolPanelProps = WebComponentProps & {
|
|
9890
|
+
heading?: string;
|
|
9891
|
+
padding?: 'none' | 's' | 'm';
|
|
9892
|
+
collapsible?: boolean;
|
|
9893
|
+
collapsed?: boolean;
|
|
9894
|
+
closable?: boolean;
|
|
9895
|
+
divider?: boolean;
|
|
9896
|
+
appearance?: 'default' | 'section' | 'card';
|
|
9897
|
+
tabs?: ___components_db_tool_panel_js.ToolPanelTab[];
|
|
9898
|
+
selectedTab?: string;
|
|
9899
|
+
onCollapseChange?: DbEventHandler<{
|
|
9900
|
+
collapsed: boolean;
|
|
9901
|
+
}>;
|
|
9902
|
+
onTabChange?: DbEventHandler<{
|
|
9903
|
+
id: string;
|
|
9904
|
+
}>;
|
|
9905
|
+
onClose?: DbEventHandler;
|
|
9906
|
+
};
|
|
9907
|
+
declare const ToolLayout: react.ForwardRefExoticComponent<Omit<WebComponentProps, "style"> & {
|
|
9908
|
+
style?: react.CSSProperties & {
|
|
9909
|
+
[key: `--db-tool-${string}`]: string | number;
|
|
9910
|
+
};
|
|
9911
|
+
variant?: ___components_db_tool_layout_js.ToolLayoutVariant;
|
|
9912
|
+
fullHeight?: boolean;
|
|
9913
|
+
resizable?: boolean;
|
|
9914
|
+
sidebarHidden?: boolean;
|
|
9915
|
+
inspectorHidden?: boolean;
|
|
9916
|
+
bottomHidden?: boolean;
|
|
9917
|
+
sidebarMin?: number;
|
|
9918
|
+
sidebarMax?: number;
|
|
9919
|
+
inspectorMin?: number;
|
|
9920
|
+
inspectorMax?: number;
|
|
9921
|
+
bottomMin?: number;
|
|
9922
|
+
bottomMax?: number;
|
|
9923
|
+
mainMinSize?: number;
|
|
9924
|
+
panelSizes?: ___components_db_tool_layout_js.ToolLayoutSizes;
|
|
9925
|
+
onPanelToggle?: DbEventHandler<{
|
|
9926
|
+
panel: ___components_db_tool_layout_js.ToolLayoutPanel;
|
|
9927
|
+
open: boolean;
|
|
9928
|
+
}>;
|
|
9929
|
+
onPanelResize?: DbEventHandler<___components_db_tool_layout_js.ToolLayoutResizeDetail>;
|
|
9930
|
+
} & RefAttributes<HTMLElement>>;
|
|
9931
|
+
declare const ToolPanel: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
9932
|
+
[key: string]: unknown;
|
|
9933
|
+
children?: React.ReactNode;
|
|
9934
|
+
} & {
|
|
9935
|
+
heading?: string;
|
|
9936
|
+
padding?: "none" | "s" | "m";
|
|
9937
|
+
collapsible?: boolean;
|
|
9938
|
+
collapsed?: boolean;
|
|
9939
|
+
closable?: boolean;
|
|
9940
|
+
divider?: boolean;
|
|
9941
|
+
appearance?: "default" | "section" | "card";
|
|
9942
|
+
tabs?: ___components_db_tool_panel_js.ToolPanelTab[];
|
|
9943
|
+
selectedTab?: string;
|
|
9944
|
+
onCollapseChange?: DbEventHandler<{
|
|
9945
|
+
collapsed: boolean;
|
|
9946
|
+
}>;
|
|
9947
|
+
onTabChange?: DbEventHandler<{
|
|
9948
|
+
id: string;
|
|
9949
|
+
}>;
|
|
9950
|
+
onClose?: DbEventHandler;
|
|
9951
|
+
} & RefAttributes<HTMLElement>>;
|
|
9952
|
+
|
|
9953
|
+
type WorldMapProps = WebComponentProps & {
|
|
9954
|
+
variant?: ___components_db_world_map_js.WorldMapVariant;
|
|
9955
|
+
locations?: ___components_db_world_map_js.WorldMapLocation[];
|
|
9956
|
+
connections?: ___components_db_world_map_js.WorldMapConnection[];
|
|
9957
|
+
longitude?: number;
|
|
9958
|
+
latitude?: number;
|
|
9959
|
+
'auto-rotate'?: boolean;
|
|
9960
|
+
'selected-id'?: string;
|
|
9961
|
+
'dot-size'?: number;
|
|
9962
|
+
'dot-color'?: string;
|
|
9963
|
+
'color-theme'?: 'mono' | 'ocean' | 'lime';
|
|
9964
|
+
'hover-highlight'?: boolean;
|
|
9965
|
+
'hover-radius'?: number;
|
|
9966
|
+
'hover-color'?: string;
|
|
9967
|
+
'marker-size'?: number;
|
|
9968
|
+
'hide-legend'?: boolean;
|
|
9969
|
+
onLocationSelect?: (event: CustomEvent<___components_db_world_map_js.WorldMapLocation>) => void;
|
|
9970
|
+
};
|
|
9971
|
+
declare const WorldMap: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
9972
|
+
[key: string]: unknown;
|
|
9973
|
+
children?: React.ReactNode;
|
|
9974
|
+
} & {
|
|
9975
|
+
variant?: ___components_db_world_map_js.WorldMapVariant;
|
|
9976
|
+
locations?: ___components_db_world_map_js.WorldMapLocation[];
|
|
9977
|
+
connections?: ___components_db_world_map_js.WorldMapConnection[];
|
|
9978
|
+
longitude?: number;
|
|
9979
|
+
latitude?: number;
|
|
9980
|
+
'auto-rotate'?: boolean;
|
|
9981
|
+
'selected-id'?: string;
|
|
9982
|
+
'dot-size'?: number;
|
|
9983
|
+
'dot-color'?: string;
|
|
9984
|
+
'color-theme'?: "mono" | "ocean" | "lime";
|
|
9985
|
+
'hover-highlight'?: boolean;
|
|
9986
|
+
'hover-radius'?: number;
|
|
9987
|
+
'hover-color'?: string;
|
|
9988
|
+
'marker-size'?: number;
|
|
9989
|
+
'hide-legend'?: boolean;
|
|
9990
|
+
onLocationSelect?: (event: CustomEvent<___components_db_world_map_js.WorldMapLocation>) => void;
|
|
9991
|
+
} & RefAttributes<HTMLElement>>;
|
|
9992
|
+
|
|
9993
|
+
type ZoomControlProps = WebComponentProps & {
|
|
9994
|
+
controls?: ___components_db_zoom_control_js.ZoomControlAction[];
|
|
9995
|
+
zoomStyle?: 'magnifier' | 'plain';
|
|
9996
|
+
value?: number;
|
|
9997
|
+
min?: number;
|
|
9998
|
+
max?: number;
|
|
9999
|
+
step?: number;
|
|
10000
|
+
size?: 'xs' | 's' | 'm';
|
|
10001
|
+
tone?: 'default' | 'dark';
|
|
10002
|
+
disabled?: boolean;
|
|
10003
|
+
shortcuts?: boolean;
|
|
10004
|
+
targetId?: string;
|
|
10005
|
+
contentWidth?: number;
|
|
10006
|
+
contentHeight?: number;
|
|
10007
|
+
fitPadding?: number;
|
|
10008
|
+
hideFullscreen?: boolean;
|
|
10009
|
+
onChange?: DbEventHandler<___components_db_zoom_control_js.ZoomChangeDetail>;
|
|
10010
|
+
onFit?: DbEventHandler<{
|
|
10011
|
+
value: number;
|
|
10012
|
+
}>;
|
|
10013
|
+
onFullscreenChange?: DbEventHandler<{
|
|
10014
|
+
fullscreen: boolean;
|
|
10015
|
+
}>;
|
|
10016
|
+
onError?: DbEventHandler<{
|
|
10017
|
+
action: 'fullscreen';
|
|
10018
|
+
message: string;
|
|
10019
|
+
}>;
|
|
10020
|
+
};
|
|
10021
|
+
declare const ZoomControl: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
10022
|
+
[key: string]: unknown;
|
|
10023
|
+
children?: React.ReactNode;
|
|
10024
|
+
} & {
|
|
10025
|
+
controls?: ___components_db_zoom_control_js.ZoomControlAction[];
|
|
10026
|
+
zoomStyle?: "magnifier" | "plain";
|
|
10027
|
+
value?: number;
|
|
10028
|
+
min?: number;
|
|
10029
|
+
max?: number;
|
|
10030
|
+
step?: number;
|
|
10031
|
+
size?: "xs" | "s" | "m";
|
|
10032
|
+
tone?: "default" | "dark";
|
|
10033
|
+
disabled?: boolean;
|
|
10034
|
+
shortcuts?: boolean;
|
|
10035
|
+
targetId?: string;
|
|
10036
|
+
contentWidth?: number;
|
|
10037
|
+
contentHeight?: number;
|
|
10038
|
+
fitPadding?: number;
|
|
10039
|
+
hideFullscreen?: boolean;
|
|
10040
|
+
onChange?: DbEventHandler<___components_db_zoom_control_js.ZoomChangeDetail>;
|
|
10041
|
+
onFit?: DbEventHandler<{
|
|
10042
|
+
value: number;
|
|
10043
|
+
}>;
|
|
10044
|
+
onFullscreenChange?: DbEventHandler<{
|
|
10045
|
+
fullscreen: boolean;
|
|
10046
|
+
}>;
|
|
10047
|
+
onError?: DbEventHandler<{
|
|
10048
|
+
action: "fullscreen";
|
|
10049
|
+
message: string;
|
|
10050
|
+
}>;
|
|
10051
|
+
} & RefAttributes<HTMLElement>>;
|
|
10052
|
+
type InputGroupProps = WebComponentProps & {
|
|
10053
|
+
label?: string;
|
|
10054
|
+
helperText?: string;
|
|
10055
|
+
errorMessage?: string;
|
|
10056
|
+
error?: boolean;
|
|
10057
|
+
required?: boolean;
|
|
10058
|
+
disabled?: boolean;
|
|
10059
|
+
size?: 's' | 'm' | 'l';
|
|
10060
|
+
};
|
|
10061
|
+
declare const InputGroup: react.ForwardRefExoticComponent<Omit<react.HTMLAttributes<HTMLElement>, "onChange" | "onInput"> & {
|
|
10062
|
+
[key: string]: unknown;
|
|
10063
|
+
children?: React.ReactNode;
|
|
10064
|
+
} & {
|
|
10065
|
+
label?: string;
|
|
10066
|
+
helperText?: string;
|
|
10067
|
+
errorMessage?: string;
|
|
10068
|
+
error?: boolean;
|
|
10069
|
+
required?: boolean;
|
|
10070
|
+
disabled?: boolean;
|
|
10071
|
+
size?: "s" | "m" | "l";
|
|
10072
|
+
} & RefAttributes<HTMLElement>>;
|
|
10073
|
+
|
|
10074
|
+
export { Accordion, AchievementList, AchievementModal, ActivityHeatmap, AdBanner, AiChainOfThought, AiChat, AiChatList, AiCheckpoint, AiConfirmation, AiContext, AiConversation, AiExecutionQuote, AiFileTree, AiGlow, AiInlineCitation, AiMessage, AiModelSelect, AiPlan, AiQueue, AiReasoning, AiSources, AiStackTrace, AiSubagent, AiTask, AiTaskStatus, AiTerminal, AiTestResults, AiTool, Alert, AndroidMockup, AnimationBackground, AnimationText, AppBadge, AppleWatchMockup, AttachmentList, AudioPlayer, Avatar, Backdrop, Badge, Banner, BentoCard, BentoGrid, BoardingPass, BoardingPassStack, BorderBeam, BottomNavigation, BottomSheet, Breadcrumbs, BrowserMockup, Button, Calendar, Card, Carousel, ChatComposer, ChatList, ChatMessage, ChatOrb, ChatRoom, ChatSuggestions, ChatTyping, ChatWelcome, ChatWidget, Checkbox, Chip, CodeBlock, ColorPicker, ColorSwatch, Confetti, Confirm, Container, ContextBar, ContextMenu, CookieBanner, Countdown, CreditBalance, CreditCard, CreditDropdown, CreditHistory, CreditRecharge, CreditRechargeModal, CursorFollower, DatePicker, DesignCanvas, DesignToolbar, Divider, DownloadProgress, Drawer, Dropdown, Dropzone, DuoMockup, EmailVerify, EmptyState, FileUploader, FilterBar, FlightStatus, FlipMockup, FloatingActionButton, FoldMockup, Footer, Form, Gantt, GlyphMatrix, Gradient, Grid, GridBackground, GridItem, Image, ImageList, ImagePlaceholder, Indicator, Input, InputGroup, IosMockup, Kanban, Label, Lightbox, List, Logo, MarkdownEditor, Marquee, Masonry, MenuItem, MobileMockup, Modal, ModalBody, ModalFooter, ModalHeader, Navbar, NavigationRail, Node, NotificationDropdown, NotificationInbox, OnboardingModal, OtpInput, PageHeader, Pagination, PhoneVerify, PlanOverview, Popover, Progress, ProgressStep, Progressbar, ProgressiveBlur, Radio, RandomGradient, RangeSlider, Rating, Receipt, 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, TabletMockup, Tabs, Testimonial, Textarea, Ticket, TimePicker, Timeline, Toast, Toggle, ToolButton, ToolLayout, ToolPanel, Toolbar, Tooltip, TopBanner, Tutorial, TweetCard, TwoFactor, VideoPlayer, VoiceControl, WorkspaceInviteModal, WorkspaceMembers, WorldMap, YouTubePlayer, ZoomControl, useContextMenu };
|
|
10075
|
+
export type { AccordionItemConfig, AccordionProps, AchievementListProps, AchievementModalProps, ActivityHeatmapCellDetail, ActivityHeatmapItem, ActivityHeatmapProps, AdBannerProps, AiChatListProps, AiChatProps, AiConversationProps, AiElementProps, AiExecutionQuoteProps, AiGlowProps, AiMessageProps, AiModelSelectProps, AiTaskStatusProps, AlertAction, AlertProps, AnimationBackgroundProps, AnimationTextProps, AppBadgeProps, AttachmentListProps, AudioPlayerProps, AvatarProps, BackdropProps, BadgeProps, BannerAction, BannerProps, BentoCardProps, BentoGridProps, BoardingPassProps, BoardingPassStackProps, BorderBeamProps, BottomNavigationItem, BottomNavigationProps, BottomSheetProps, BreadcrumbItemConfig, BreadcrumbMenuItemConfig, BreadcrumbsProps, ButtonProps, CalendarEvent, CalendarProps, CardProps, CarouselItem, CarouselProps, ChatComposerProps, ChatListProps, ChatMessageProps, ChatOrbProps, ChatRoomProps, ChatSuggestionsProps, ChatTypingProps, ChatWelcomeProps, ChatWidgetProps, CheckboxChangeDetail, CheckboxProps, ChipProps, CodeBlockItem, CodeBlockProps, ColorPickerProps, ColorSwatchItem, ColorSwatchProps, ConfettiProps, ConfirmProps, ContextMenuItemConfig, ContextMenuProps, CookieBannerProps, CountdownProps, CreditBalanceProps, CreditCardProps, CreditDropdownProps, CreditHistoryProps, CreditRechargeModalProps, CreditRechargeProps, CursorFollowerProps, DatePickerProps, DbEventHandler, DesignCanvasProps, DesignToolbarProps, DeviceMockupProps, DividerProps, DownloadProgressProps, DrawerProps, DropdownItemConfig, DropdownProps, DropzoneProps, EmailVerifyProps, EmptyStateProps, FileUploaderProps, FilterBarProps, FlightStatusProps, FloatingActionButtonProps, FooterCompanyInfo, FooterFamilySite, FooterLink, FooterLinkColumn, FooterProps, FooterSocialLink, FormFieldData, FormProps, GanttAssignee, GanttGroup, GanttItem, GanttProps, GanttRow, GlyphMatrixProps, GradientColor, GradientProps, GridBackgroundProps, ImageListItem, ImageListProps, ImagePlaceholderProps, ImageProps, IndicatorProps, InputGroupProps, 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, NavigationRailProps, NodeProps, NotificationDropdownProps, NotificationInboxProps, OnboardingModalProps, OnboardingStep, OtpInputProps, PageHeaderProps, PageHeaderTabItem, PaginationProps, PhoneVerifyProps, PlanOverviewProps, PopoverProps, ProgressProps, ProgressStepItem, ProgressStepProps, ProgressiveBlurProps, RadioChangeDetail, RadioProps, RandomGradientProps, RangeSliderProps, RangeSliderRange, RangeSliderRangeDetail, RangeSliderValueDetail, RatingProps, ReceiptProps, 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, SelectChangeDetail, SelectProps, SelectionControlProps, SelectionProps, SharePlatform, ShareProps, SidebarItem, SidebarPanel, SidebarPanelMode, SidebarProject, SidebarPromoBanner, SidebarProps, SidebarSection, SidebarUpdateBanner, SidebarUserProfile, SignatureProps, SkeletonProps, SpinnerProps, SplitViewProps, StatChange, StatProps, StepperProps, TabItemConfig, TableColumn, TableProps, TabsProps, TestimonialProps, TextFieldChangeDetail, TextFieldProps, TextareaProps, TicketProps, TimePickerProps, TimelineItem, TimelineProps, ToastProps, ToggleChangeDetail, ToggleProps, ToolButtonProps, ToolLayoutProps, ToolPanelProps, ToolbarProps, TooltipProps, TopBannerProps, TutorialProps, TutorialStep, TweetCardProps, TwoFactorProps, UseContextMenuReturn, VideoPlayerProps, VoiceControlProps, WebComponentProps, WorkspaceInviteModalProps, WorkspaceMembersProps, WorldMapProps, YouTubePlayerProps, ZoomControlProps };
|