@designbasekorea/ui-wc 0.14.0 → 0.16.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 +14 -0
- package/README.md +2 -0
- package/dist/esm/components/db-design-canvas.js +1 -1
- package/dist/esm/components/db-layer-list.d.ts +71 -0
- package/dist/esm/components/db-layer-list.js +1 -0
- package/dist/esm/components/db-video-timeline.d.ts +5 -0
- package/dist/esm/components/db-video-timeline.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 +8 -0
- package/dist/esm/core/i18n.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +80 -2
- package/dist/index.esm.js +1 -1
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.d.ts +54 -2
- package/dist/react/index.esm.js +1 -1
- package/docs/LAYER-LIST.md +31 -0
- package/docs/MEDIA-EDITORS.md +9 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -369,6 +369,14 @@ declare function activateOnKey(el: HTMLElement, options?: {
|
|
|
369
369
|
*/
|
|
370
370
|
/** 컴포넌트가 쓰는 문자열 키 → 기본(한국어) 값 */
|
|
371
371
|
declare const DEFAULT_STRINGS: {
|
|
372
|
+
readonly "media.resizeLabel": "트랙 이름 영역 너비 조정";
|
|
373
|
+
readonly "layerList.label": "레이어 목록";
|
|
374
|
+
readonly "layerList.delete": "{name} 삭제";
|
|
375
|
+
readonly "layerList.lock": "{name} 잠금";
|
|
376
|
+
readonly "layerList.unlock": "{name} 잠금 해제";
|
|
377
|
+
readonly "layerList.show": "{name} 표시";
|
|
378
|
+
readonly "layerList.hide": "{name} 숨기기";
|
|
379
|
+
readonly "layerList.empty": "레이어가 없습니다.";
|
|
372
380
|
readonly "appUpdate.notice": "업데이트 안내";
|
|
373
381
|
readonly "appUpdate.changes": "주요 변경 내용";
|
|
374
382
|
readonly "appUpdate.automatic": "완료 후 자동으로 다시 시작됩니다.";
|
|
@@ -9484,6 +9492,11 @@ declare class DbVideoTimeline extends HTMLElement {
|
|
|
9484
9492
|
private resize?;
|
|
9485
9493
|
private resizeDrag?;
|
|
9486
9494
|
private paneGrip?;
|
|
9495
|
+
private labelDrag?;
|
|
9496
|
+
get labelWidth(): number;
|
|
9497
|
+
set labelWidth(value: number);
|
|
9498
|
+
private get contentDuration();
|
|
9499
|
+
private labelGrip;
|
|
9487
9500
|
get rowHeight(): number;
|
|
9488
9501
|
set rowHeight(n: number);
|
|
9489
9502
|
get height(): number;
|
|
@@ -9707,5 +9720,70 @@ declare global {
|
|
|
9707
9720
|
}
|
|
9708
9721
|
}
|
|
9709
9722
|
|
|
9710
|
-
|
|
9711
|
-
|
|
9723
|
+
interface LayerListAction {
|
|
9724
|
+
id: string;
|
|
9725
|
+
label: string;
|
|
9726
|
+
icon: DbIconName;
|
|
9727
|
+
disabled?: boolean;
|
|
9728
|
+
}
|
|
9729
|
+
interface LayerListItem {
|
|
9730
|
+
id: string;
|
|
9731
|
+
label: string;
|
|
9732
|
+
description?: string;
|
|
9733
|
+
icon?: DbIconName;
|
|
9734
|
+
visible?: boolean;
|
|
9735
|
+
locked?: boolean;
|
|
9736
|
+
removable?: boolean;
|
|
9737
|
+
actions?: LayerListAction[];
|
|
9738
|
+
}
|
|
9739
|
+
interface LayerListChangeDetail {
|
|
9740
|
+
items: LayerListItem[];
|
|
9741
|
+
itemId: string;
|
|
9742
|
+
action: 'reorder' | 'visibility' | 'lock' | 'delete';
|
|
9743
|
+
fromIndex?: number;
|
|
9744
|
+
toIndex?: number;
|
|
9745
|
+
}
|
|
9746
|
+
/** Stateful UI. Persist db-change.items in the owning document; IDs are stable across reorder. */
|
|
9747
|
+
declare class DbLayerList extends DbElement {
|
|
9748
|
+
private data;
|
|
9749
|
+
private selected;
|
|
9750
|
+
private defaultLabel;
|
|
9751
|
+
private drag?;
|
|
9752
|
+
private raf;
|
|
9753
|
+
private unsubscribe?;
|
|
9754
|
+
static get observedAttributes(): string[];
|
|
9755
|
+
get items(): LayerListItem[];
|
|
9756
|
+
set items(value: LayerListItem[] | string);
|
|
9757
|
+
get selectedId(): string;
|
|
9758
|
+
set selectedId(value: string);
|
|
9759
|
+
connectedCallback(): void;
|
|
9760
|
+
disconnectedCallback(): void;
|
|
9761
|
+
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
9762
|
+
private get disabled();
|
|
9763
|
+
private rows;
|
|
9764
|
+
private select;
|
|
9765
|
+
private syncSelection;
|
|
9766
|
+
private emitChange;
|
|
9767
|
+
private handleClick;
|
|
9768
|
+
private action;
|
|
9769
|
+
private focusControl;
|
|
9770
|
+
private down;
|
|
9771
|
+
private move;
|
|
9772
|
+
private preview;
|
|
9773
|
+
private autoScroll;
|
|
9774
|
+
private up;
|
|
9775
|
+
private cancel;
|
|
9776
|
+
private cancelDrag;
|
|
9777
|
+
private reorder;
|
|
9778
|
+
private key;
|
|
9779
|
+
private button;
|
|
9780
|
+
private render;
|
|
9781
|
+
}
|
|
9782
|
+
declare global {
|
|
9783
|
+
interface HTMLElementTagNameMap {
|
|
9784
|
+
'db-layer-list': DbLayerList;
|
|
9785
|
+
}
|
|
9786
|
+
}
|
|
9787
|
+
|
|
9788
|
+
export { APP_UPDATE_STATUSES, CleanupBag, DEVICE_MOCKUP_SCREENS, DbAccordion, DbAchievementList, DbAchievementModal, DbActivityHeatmap, DbAdBanner, DbAiChainOfThought, DbAiChat, DbAiChatList, DbAiCheckpoint, DbAiConfirmation, DbAiContext, DbAiConversation, DbAiExecutionQuote, DbAiFileTree, DbAiGlow, DbAiInlineCitation, DbAiMessage, DbAiModelSelect, DbAiPlan, DbAiQueue, DbAiReasoning, DbAiSources, DbAiStackTrace, DbAiSubagent, DbAiTask, DbAiTaskStatus, DbAiTerminal, DbAiTestResults, DbAiTool, DbAlert, DbAndroidMockup, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAppUpdate, DbAppleWatchMockup, DbAttachmentList, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBentoCard, DbBentoGrid, DbBoardingPass, DbBoardingPassStack, DbBorderBeam, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbBrowserMockup, DbButton, DbCalendar, DbCard, DbCarousel, DbChatComposer, DbChatList, DbChatMessage, DbChatOrb, DbChatRoom, DbChatSuggestions, DbChatTyping, DbChatWelcome, DbChatWidget, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbColorSwatch, DbConfetti, DbConfirm, DbContainer, DbContextBar, DbContextMenu, DbCookieBanner, DbCountdown, DbCreditBalance, DbCreditCard, DbCreditDropdown, DbCreditHistory, DbCreditRecharge, DbCreditRechargeModal, DbCursorFollower, DbDatePicker, DbDesignCanvas, DbDesignToolbar, DbDivider, DbDownloadProgress, DbDrawer, DbDropdown, DbDropzone, DbDuoMockup, DbEasingEditor, DbElement, DbEmailVerify, DbEmptyState, DbFileUploader, DbFilterBar, DbFlightStatus, DbFlipMockup, DbFloatingActionButton, DbFoldMockup, DbFooter, DbForm, DbGantt, DbGlyphMatrix, DbGradient, DbGrid, DbGridBackground, DbGridItem, DbImage, DbImageList, DbImagePlaceholder, DbIndicator, DbInput, DbInputGroup, DbIosMockup, DbKanban, DbKeyframeEditor, DbLabel, DbLayerList, DbLightbox, DbList, DbLogo, DbMarkdownEditor, DbMarquee, DbMasonry, DbMenuItem, DbMobileMockup, DbModal, DbNavbar, DbNavigationRail, DbNode, DbNotificationDropdown, DbNotificationInbox, DbOnboardingModal, DbOtpInput, DbPageHeader, DbPagination, DbPhoneVerify, DbPlanOverview, DbPopover, DbProgress, DbProgressStep, DbProgressbar, DbProgressiveBlur, DbRadio, DbRandomGradient, DbRangeSlider, DbRating, DbReceipt, DbReorder, DbResizablePanels, DbScrollArea, DbSearchBar, DbSection, DbSectionAppDownload, DbSectionContact, DbSectionCta, DbSectionFaq, DbSectionFeature, DbSectionFeatureGrid, DbSectionHero, DbSectionLogoCloud, DbSectionPricing, DbSectionStats, DbSectionTestimonials, DbSegmentControl, DbSelect, DbSelectionBar, DbShare, DbSidebar, DbSignature, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabletMockup, DbTabs, DbTestimonial, DbTextarea, DbTicket, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolButton, DbToolLayout, DbToolPanel, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbTweetCard, DbTwoFactor, DbVideoPlayer, DbVideoTimeline, DbVoiceControl, DbWorkspaceInviteModal, DbWorkspaceMembers, DbWorldMap, DbYouTubePlayer, DbZoomControl, EASING_PRESETS, NODE_STATUSES, NODE_VARIANTS, PAYMENT_BRANDS, TOOL_LAYOUT_VARIANTS, activateOnKey, announce, applyKeyframeEasing, confetti, confirm, createFocusTrap, createSrOnly, confirm as dbConfirm, dbResetLocale, dbSetLocale, dbText, toast as dbToast, dbUid, dbUseLocale, easingCss, editorTimecode, ensureId, evaluateEasing, evaluateEasingVelocity, evaluateKeyframes, frameTime, getPaymentBrand, getTabbables, keyframeEasingCurve, labelFrom, lockScroll, politenessForTone, rafThrottle, sanitizeHref, sanitizeHtmlFragment, scrollLockDepth, setAccessibleName, showToast, t, toast, unlockScroll };
|
|
9789
|
+
export type { AppUpdateEventDetail, AppUpdateStatus, CalendarEventData, CalendarEventType, Cleanup, ConfettiFireworkOptions, ConfettiFunction, ConfettiParticleOptions, DbAchievementItem, DbActivityHeatmapCellDetail, DbActivityHeatmapItem, DbAiAction, DbAiChatItem, DbAiItem, DbAiModelOption, DbAiModelSelection, DbAiQuoteExecution, DbAiQuoteView, DbAiStatus, DbAiTaskAction, DbAiTaskState, DbAlertAction, DbArtifactOptions, DbAttachment, DbAttachmentAction, DbAttachmentState, DbBannerAction, DbBoardingPassLabels, DbBottomNavigationItem, DbChatArtifactRef, DbChatAttachOption, DbChatListItem, DbChatMessageAttachment, DbChatMessageData, DbChatRoomMessage, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbColorSwatchCustomType, DbColorSwatchItem, DbColorSwatchShape, DbColorSwatchSize, DbConfirmOptions, DbConfirmVariant, DbCreditCardFlip, DbCreditCardOrientation, DbCreditCardVariant, DbCreditEntry, DbCreditEntryKind, DbCreditPlan, DbCreditPlanSelection, DbFlightStatusValue, DbFooterCompanyInfo, DbFooterFamilySite, DbFooterLink, DbFooterLinkColumn, DbFooterSocialLink, DbFormFieldData, DbGanttAssignee, DbGanttGroup, DbGanttItem, DbGanttItemStatus, DbGanttRow, DbImageListItem, DbKanbanAssignee, DbKanbanCard, DbKanbanColumn, DbKanbanPriority, DbKanbanTag, DbLightboxImage, DbNavbarItem, DbNavbarUserProfile, DbNavigationRailItem, DbNodeMove, DbNodePort, DbNodePortDrag, DbNodePortSelect, DbNodePortType, DbNotificationAction, DbNotificationItem, DbNotificationReadAll, DbPageHeaderTabItem, DbPaperAction, DbPaperField, DbPlanFeature, DbReceiptItem, DbReceiptLabels, DbSharePlatform, DbShareVariant, DbSidebarItem, DbSidebarProject, DbSidebarPromoBanner, DbSidebarSection, DbSidebarUserProfile, DbSignaturePoint, DbSignatureVariant, DbStatChange, DbStringKey, DbStrings, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, ToastPosition as DbToastPosition, ToastVariant as DbToastVariant, DbTravelPass, DbTravelPassChange, DbTweetData, DbVoiceState, DbWorkspaceInviteDraft, DbWorkspaceInviteRole, DbWorkspaceMember, DbWorkspaceMemberAction, DbWorkspaceMemberState, DesignCanvasChange, DesignCanvasNode, DesignCanvasViewport, DesignToolAction, DesignToolOption, DesignToolbarItem, EasingChangeDetail, EasingCurve, EasingPreset, EditorKeyframe, FileStatus, FilterBarAlign, FilterBarSize, FilterBarVariant, FocusTrap, FocusTrapOptions, GradientScheme, GradientTone, KeyframeEasing, KeyframeEditDetail, KeyframeTangent, LayerListAction, LayerListChangeDetail, LayerListItem, TimelineEditDetail, TimelineMarker, ToolLayoutPanel, ToolLayoutResizeDetail, ToolLayoutSizes, ToolLayoutVariant, ToolPanelTab, UploadFile, VideoClip, VideoClipEffect, VideoEffectProperty, VideoTrack, WorldMapConnection, WorldMapLocation, WorldMapVariant, ZoomChangeDetail, ZoomControlAction, ZoomSource };
|