@salilvnair/dui 1.0.0 → 1.0.2
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/README.md +221 -38
- package/dist/assets/DuiShowcase-C2jk2ySV.js +74705 -0
- package/dist/assets/DuiShowcase-CZLjKDpL.css +1 -0
- package/dist/assets/abap-DLDM7-KI.js +1 -0
- package/dist/assets/apex-DNDY2TF8.js +1 -0
- package/dist/assets/azcli-Y6nb8tq_.js +1 -0
- package/dist/assets/bat-BwHxbl9M.js +1 -0
- package/dist/assets/bicep-CFznDFnq.js +2 -0
- package/dist/assets/cameligo-Bf6VGUru.js +1 -0
- package/dist/assets/clojure-Dnu-v4kV.js +1 -0
- package/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
- package/dist/assets/coffee-Bd8akH9Z.js +1 -0
- package/dist/assets/cpp-BbWJElDN.js +1 -0
- package/dist/assets/csharp-Co3qMtFm.js +1 -0
- package/dist/assets/csp-D-4FJmMZ.js +1 -0
- package/dist/assets/css-DdJfP1eB.js +3 -0
- package/dist/assets/css.worker-B4z49cGk.js +93 -0
- package/dist/assets/cssMode-CZYOZ1AO.js +1 -0
- package/dist/assets/cypher-cTPe9QuQ.js +1 -0
- package/dist/assets/dart-BOtBlQCF.js +1 -0
- package/dist/assets/dockerfile-BG73LgW2.js +1 -0
- package/dist/assets/ecl-BEgZUVRK.js +1 -0
- package/dist/assets/elixir-BkW5O-1t.js +1 -0
- package/dist/assets/flow9-BeJ5waoc.js +1 -0
- package/dist/assets/freemarker2-CGSa1nHJ.js +3 -0
- package/dist/assets/fsharp-PahG7c26.js +1 -0
- package/dist/assets/go-acbASCJo.js +1 -0
- package/dist/assets/graphql-BxJiqAUM.js +1 -0
- package/dist/assets/handlebars-mB8dxbcs.js +1 -0
- package/dist/assets/hcl-DtV1sZF8.js +1 -0
- package/dist/assets/html-l7YRKuHI.js +1 -0
- package/dist/assets/html.worker-DtiGdgqp.js +470 -0
- package/dist/assets/htmlMode-CuoiFE2t.js +1 -0
- package/dist/assets/index-B12PznEF.js +50 -0
- package/dist/assets/index-B_5G6LrJ.css +10 -0
- package/dist/assets/ini-Kd9XrMLS.js +1 -0
- package/dist/assets/java-CXBNlu9o.js +1 -0
- package/dist/assets/javascript-9UYwmKgx.js +1 -0
- package/dist/assets/json.worker-leyajbqV.js +58 -0
- package/dist/assets/jsonMode-6uegdfHj.js +7 -0
- package/dist/assets/julia-cl7-CwDS.js +1 -0
- package/dist/assets/kotlin-s7OhZKlX.js +1 -0
- package/dist/assets/less-9HpZscsL.js +2 -0
- package/dist/assets/lexon-OrD6JF1K.js +1 -0
- package/dist/assets/liquid-C8P3CEDc.js +1 -0
- package/dist/assets/lspLanguageFeatures-Ju8ugRgx.js +4 -0
- package/dist/assets/lua-Cyyb5UIc.js +1 -0
- package/dist/assets/m3-B8OfTtLu.js +1 -0
- package/dist/assets/markdown-BFxVWTOG.js +1 -0
- package/dist/assets/mdx-D4_p5PzA.js +1 -0
- package/dist/assets/mips-CiqrrVzr.js +1 -0
- package/dist/assets/monaco-editor-CN2OOCze.js +908 -0
- package/dist/assets/monaco-editor-qiF_U8vl.css +1 -0
- package/dist/assets/msdax-DmeGPVcC.js +1 -0
- package/dist/assets/mysql-C_tMU-Nz.js +1 -0
- package/dist/assets/objective-c-BDtDVThU.js +1 -0
- package/dist/assets/pascal-vHIfCaH5.js +1 -0
- package/dist/assets/pascaligo-DtZ0uQbO.js +1 -0
- package/dist/assets/perl-Ub6l9XKa.js +1 -0
- package/dist/assets/pgsql-BlNEE0v7.js +1 -0
- package/dist/assets/php-BBUBE1dy.js +1 -0
- package/dist/assets/pla-DSh2-awV.js +1 -0
- package/dist/assets/postiats-CocnycG-.js +1 -0
- package/dist/assets/powerquery-tScXyioY.js +1 -0
- package/dist/assets/powershell-COWaemsV.js +1 -0
- package/dist/assets/protobuf-Brw8urJB.js +2 -0
- package/dist/assets/pug-8SOpv6rk.js +1 -0
- package/dist/assets/python-BDvE0baC.js +1 -0
- package/dist/assets/qsharp-Bw9ernYp.js +1 -0
- package/dist/assets/r-j7ic8hl3.js +1 -0
- package/dist/assets/razor-3AZt1jFw.js +1 -0
- package/dist/assets/redis-Bu5POkcn.js +1 -0
- package/dist/assets/redshift-Bs9aos_-.js +1 -0
- package/dist/assets/restructuredtext-CqXO7rUv.js +1 -0
- package/dist/assets/ruby-zBfavPgS.js +1 -0
- package/dist/assets/rust-BzKRNQWT.js +1 -0
- package/dist/assets/sb-BBc9UKZt.js +1 -0
- package/dist/assets/scala-D9hQfWCl.js +1 -0
- package/dist/assets/scheme-BPhDTwHR.js +1 -0
- package/dist/assets/scss-CBJaRo0y.js +3 -0
- package/dist/assets/shell-DiJ1NA_G.js +1 -0
- package/dist/assets/solidity-Db0IVjzk.js +1 -0
- package/dist/assets/sophia-CnS9iZB_.js +1 -0
- package/dist/assets/sparql-CJmd_6j2.js +1 -0
- package/dist/assets/sql-ClhHkBeG.js +1 -0
- package/dist/assets/st-CHwy0fLd.js +1 -0
- package/dist/assets/swift-Bqt4WxQ4.js +3 -0
- package/dist/assets/systemverilog-Bs9z6M-B.js +1 -0
- package/dist/assets/tcl-Dm6ycUr_.js +1 -0
- package/dist/assets/ts.worker-59MjiAqk.js +67731 -0
- package/dist/assets/tsMode-2fAJOXuF.js +11 -0
- package/dist/assets/twig-Csy3S7wG.js +1 -0
- package/dist/assets/typescript-Bv1W4NlY.js +1 -0
- package/dist/assets/typespec-Btyra-wh.js +1 -0
- package/dist/assets/vb-Db0cS2oM.js +1 -0
- package/dist/assets/wgsl-BTesnYfV.js +298 -0
- package/dist/assets/xml-CR03X85Q.js +1 -0
- package/dist/assets/yaml-Qi3RsNvX.js +1 -0
- package/dist/chunks/{EditorView.shell-BGH2VhWM.js → EditorView.shell-DWGMOgiy.js} +215 -165
- package/dist/chunks/EditorView.shell-DWGMOgiy.js.map +1 -0
- package/dist/chunks/daakia-icons-BpwUOdSO.js +4665 -0
- package/dist/chunks/daakia-icons-BpwUOdSO.js.map +1 -0
- package/dist/chunks/vis-runtime-DkpA8K_T.js +32 -0
- package/dist/chunks/vis-runtime-DkpA8K_T.js.map +1 -0
- package/dist/icons/daakia-icons.d.ts +366 -0
- package/dist/index.html +15 -0
- package/dist/index.js +24569 -13515
- package/dist/index.js.map +1 -1
- package/dist/lib/components/button/AIButtonView.d.ts +1 -1
- package/dist/lib/components/button/BookmarkButtonView.d.ts +10 -0
- package/dist/lib/components/button/FabView.d.ts +20 -0
- package/dist/lib/components/button/FollowButtonView.d.ts +10 -0
- package/dist/lib/components/button/HoldToConfirmView.d.ts +14 -0
- package/dist/lib/components/button/IconButtonView.d.ts +1 -1
- package/dist/lib/components/button/LikeButtonView.d.ts +11 -0
- package/dist/lib/components/button/MorphingIconButtonView.d.ts +14 -0
- package/dist/lib/components/button/ThemeToggleView.d.ts +12 -0
- package/dist/lib/components/button/VoteWidgetView.d.ts +13 -0
- package/dist/lib/components/chips/ChipView.d.ts +5 -2
- package/dist/lib/components/chips/CommandChipView.d.ts +28 -0
- package/dist/lib/components/display/AIStreamingTextView.d.ts +16 -0
- package/dist/lib/components/display/ActivityFeedView.d.ts +19 -0
- package/dist/lib/components/display/ApiKeyRowView.d.ts +12 -0
- package/dist/lib/components/display/ArticleCardView.d.ts +16 -0
- package/dist/lib/components/display/AudioPlayerView.d.ts +10 -0
- package/dist/lib/components/display/AudioWaveformView.d.ts +15 -0
- package/dist/lib/components/display/AuditLogRowView.d.ts +14 -0
- package/dist/lib/components/display/AvatarGroupView.d.ts +17 -0
- package/dist/lib/components/display/AvatarView.d.ts +15 -0
- package/dist/lib/components/display/BannerView.d.ts +17 -0
- package/dist/lib/components/display/BarcodeView.d.ts +11 -0
- package/dist/lib/components/display/BreathingLoaderView.d.ts +11 -0
- package/dist/lib/components/display/CalloutView.d.ts +10 -0
- package/dist/lib/components/display/CarouselView.d.ts +12 -0
- package/dist/lib/components/display/ChangelogEntryView.d.ts +16 -0
- package/dist/lib/components/display/CodeBlockView.d.ts +15 -1
- package/dist/lib/components/display/ColumnVisibilityMenuView.d.ts +26 -0
- package/dist/lib/components/display/CommandOrbView.d.ts +15 -0
- package/dist/lib/components/display/CommentThreadView.d.ts +20 -0
- package/dist/lib/components/display/ComparisonSliderView.d.ts +12 -0
- package/dist/lib/components/display/ConfettiBurstView.d.ts +17 -0
- package/dist/lib/components/display/ConnectionPulseLineView.d.ts +14 -0
- package/dist/lib/components/display/ConstellationLoaderView.d.ts +14 -0
- package/dist/lib/components/display/ContactCardView.d.ts +19 -0
- package/dist/lib/components/display/CookieConsentBannerView.d.ts +14 -0
- package/dist/lib/components/display/CountUpNumberView.d.ts +16 -0
- package/dist/lib/components/display/CountdownRingView.d.ts +19 -0
- package/dist/lib/components/display/DataGridToolbarView.d.ts +20 -0
- package/dist/lib/components/display/DataTableView.d.ts +2 -1
- package/dist/lib/components/display/DescriptionsView.d.ts +19 -0
- package/dist/lib/components/display/DiffMorphView.d.ts +13 -0
- package/dist/lib/components/display/DragHandleView.d.ts +10 -0
- package/dist/lib/components/display/EditableCellView.d.ts +13 -0
- package/dist/lib/components/display/EmptyInboxView.d.ts +11 -0
- package/dist/lib/components/display/EnvironmentBadgeView.d.ts +13 -0
- package/dist/lib/components/display/FeatureSpotlightBadgeView.d.ts +11 -0
- package/dist/lib/components/display/FileIconView.d.ts +11 -0
- package/dist/lib/components/display/FileListView.d.ts +20 -0
- package/dist/lib/components/display/FilterBarView.d.ts +17 -0
- package/dist/lib/components/display/GaugeView.d.ts +12 -0
- package/dist/lib/components/display/GlowBorderView.d.ts +11 -0
- package/dist/lib/components/display/GradientTextView.d.ts +13 -0
- package/dist/lib/components/display/HeatmapCalendarView.d.ts +14 -0
- package/dist/lib/components/display/HoloCardView.d.ts +10 -0
- package/dist/lib/components/display/HudView.d.ts +36 -4
- package/dist/lib/components/display/ImageCropperView.d.ts +19 -0
- package/dist/lib/components/display/ImageGalleryView.d.ts +15 -0
- package/dist/lib/components/display/ImageZoomView.d.ts +10 -0
- package/dist/lib/components/display/InfoView.d.ts +23 -0
- package/dist/lib/components/display/InspectorPanelView.d.ts +29 -0
- package/dist/lib/components/display/IntegrationCardView.d.ts +16 -0
- package/dist/lib/components/display/KanbanBoardView.d.ts +27 -0
- package/dist/lib/components/display/KbdView.d.ts +11 -0
- package/dist/lib/components/display/KeyValueListView.d.ts +14 -0
- package/dist/lib/components/display/LatencyPulseView.d.ts +16 -0
- package/dist/lib/components/display/LicenseBadgeView.d.ts +11 -0
- package/dist/lib/components/display/ListView.d.ts +19 -0
- package/dist/lib/components/display/LiveCursorPresenceView.d.ts +19 -0
- package/dist/lib/components/display/LoaderView.d.ts +12 -1
- package/dist/lib/components/display/MagneticButtonView.d.ts +14 -0
- package/dist/lib/components/display/MaintenanceBannerView.d.ts +12 -0
- package/dist/lib/components/display/MessageBannerView.d.ts +13 -0
- package/dist/lib/components/display/MessageBubbleView.d.ts +14 -0
- package/dist/lib/components/display/NetworkGraphView.d.ts +59 -0
- package/dist/lib/components/display/NetworkGraphView.fallback.d.ts +11 -0
- package/dist/lib/components/display/NetworkGraphView.vis.d.ts +2 -0
- package/dist/lib/components/display/NetworkWeatherView.d.ts +12 -0
- package/dist/lib/components/display/NotificationBadgeView.d.ts +17 -0
- package/dist/lib/components/display/ParticleBackgroundView.d.ts +12 -0
- package/dist/lib/components/display/PathRevealView.d.ts +16 -0
- package/dist/lib/components/display/PdfViewerView.d.ts +11 -0
- package/dist/lib/components/display/PermissionMatrixView.d.ts +15 -0
- package/dist/lib/components/display/PresenceDotView.d.ts +12 -0
- package/dist/lib/components/display/PricingCardView.d.ts +16 -0
- package/dist/lib/components/display/ProgressBarView.d.ts +15 -0
- package/dist/lib/components/display/ProgressRingView.d.ts +13 -0
- package/dist/lib/components/display/PulseDotView.d.ts +10 -0
- package/dist/lib/components/display/QRCodeView.d.ts +11 -0
- package/dist/lib/components/display/QuoteBlockView.d.ts +14 -0
- package/dist/lib/components/display/RateLimitMeterView.d.ts +12 -0
- package/dist/lib/components/display/RatingBreakdownView.d.ts +12 -0
- package/dist/lib/components/display/RequestFlowView.d.ts +23 -0
- package/dist/lib/components/display/ResultView.d.ts +14 -0
- package/dist/lib/components/display/RevealOnScrollView.d.ts +14 -0
- package/dist/lib/components/display/SchemaBlueprintView.d.ts +23 -0
- package/dist/lib/components/display/SegmentedProgressBarView.d.ts +17 -0
- package/dist/lib/components/display/ShareSheetView.d.ts +19 -0
- package/dist/lib/components/display/SignaturePadView.d.ts +10 -0
- package/dist/lib/components/display/SkeletonView.d.ts +14 -0
- package/dist/lib/components/display/SnackbarView.d.ts +18 -0
- package/dist/lib/components/display/SortableHeaderView.d.ts +14 -0
- package/dist/lib/components/display/SparklineView.d.ts +14 -0
- package/dist/lib/components/display/StackedSwipeCardView.d.ts +14 -0
- package/dist/lib/components/display/StatTrendCardView.d.ts +16 -0
- package/dist/lib/components/display/StatisticView.d.ts +18 -0
- package/dist/lib/components/display/StatsCardView.d.ts +5 -1
- package/dist/lib/components/display/StatusPageRowView.d.ts +13 -0
- package/dist/lib/components/display/StickyTableHeaderView.d.ts +21 -0
- package/dist/lib/components/display/TablePaginationView.d.ts +16 -0
- package/dist/lib/components/display/TagCloudView.d.ts +17 -0
- package/dist/lib/components/display/TeamMemberRowView.d.ts +13 -0
- package/dist/lib/components/display/TerminalBlockView.d.ts +8 -0
- package/dist/lib/components/display/TestimonialCardView.d.ts +13 -0
- package/dist/lib/components/display/TiltCardView.d.ts +12 -0
- package/dist/lib/components/display/TimelineView.d.ts +20 -0
- package/dist/lib/components/display/TrialCountdownBannerView.d.ts +12 -0
- package/dist/lib/components/display/TypewriterTextView.d.ts +16 -0
- package/dist/lib/components/display/TypingIndicatorView.d.ts +11 -0
- package/dist/lib/components/display/UndoRedoTimelineView.d.ts +19 -0
- package/dist/lib/components/display/UsageMeterView.d.ts +17 -0
- package/dist/lib/components/display/VersionBadgeView.d.ts +13 -0
- package/dist/lib/components/display/VideoPlayerView.d.ts +10 -0
- package/dist/lib/components/display/VirtualizedListView.d.ts +13 -0
- package/dist/lib/components/display/WebhookStatusView.d.ts +15 -0
- package/dist/lib/components/input/AvatarUploadView.d.ts +14 -0
- package/dist/lib/components/input/CalendarView.d.ts +25 -0
- package/dist/lib/components/input/CascaderView.d.ts +23 -0
- package/dist/lib/components/input/ChatInputView.d.ts +17 -0
- package/dist/lib/components/input/ChecklistView.d.ts +17 -0
- package/dist/lib/components/input/ColorPickerView.d.ts +14 -0
- package/dist/lib/components/input/ComboBoxView.d.ts +23 -0
- package/dist/lib/components/input/DateInputView.d.ts +17 -0
- package/dist/lib/components/input/DateRangePickerView.d.ts +26 -0
- package/dist/lib/components/input/DateTimeInputView.d.ts +30 -0
- package/dist/lib/components/input/DialKnobInputView.d.ts +17 -0
- package/dist/lib/components/input/EditorView.d.ts +1 -1
- package/dist/lib/components/input/EmojiPickerView.d.ts +14 -0
- package/dist/lib/components/input/FeedbackWidgetView.d.ts +16 -0
- package/dist/lib/components/input/FileDropzoneView.d.ts +23 -0
- package/dist/lib/components/input/FloatingLabelInputView.d.ts +17 -0
- package/dist/lib/components/input/GhostTypingPlaceholderView.d.ts +19 -0
- package/dist/lib/components/input/HiddenKeyValueItemView.d.ts +1 -1
- package/dist/lib/components/input/IconPickerView.d.ts +14 -0
- package/dist/lib/components/input/InlineEditTextView.d.ts +30 -0
- package/dist/lib/components/input/InviteInputView.d.ts +15 -0
- package/dist/lib/components/input/MaskedInputView.d.ts +21 -0
- package/dist/lib/components/input/MentionInputView.d.ts +21 -0
- package/dist/lib/components/input/MergedInputView.d.ts +1 -0
- package/dist/lib/components/input/NpsSurveyView.d.ts +16 -0
- package/dist/lib/components/input/OtpInputView.d.ts +17 -0
- package/dist/lib/components/input/PhoneInputView.d.ts +25 -0
- package/dist/lib/components/input/PickerView.d.ts +38 -0
- package/dist/lib/components/input/PriorityPickerView.d.ts +13 -0
- package/dist/lib/components/input/RadioCardView.d.ts +22 -0
- package/dist/lib/components/input/RadioGroupView.d.ts +21 -0
- package/dist/lib/components/input/RangeSliderView.d.ts +18 -0
- package/dist/lib/components/input/RatingView.d.ts +16 -0
- package/dist/lib/components/input/RichTextToolbarView.d.ts +13 -0
- package/dist/lib/components/input/RoleSelectView.d.ts +21 -0
- package/dist/lib/components/input/SegmentedControlView.d.ts +15 -8
- package/dist/lib/components/input/ShortcutRecorderView.d.ts +15 -0
- package/dist/lib/components/input/SpectrumSliderView.d.ts +16 -0
- package/dist/lib/components/input/StepperInputView.d.ts +16 -0
- package/dist/lib/components/input/SwitchGroupView.d.ts +21 -0
- package/dist/lib/components/input/TabView.d.ts +10 -0
- package/dist/lib/components/input/TimeTravelSliderView.d.ts +21 -0
- package/dist/lib/components/input/TimeWheelView.d.ts +21 -0
- package/dist/lib/components/input/TransferListView.d.ts +21 -0
- package/dist/lib/components/input/TreeSelectView.d.ts +19 -0
- package/dist/lib/components/input/WizardStepperView.d.ts +19 -0
- package/dist/lib/components/layout/AccordionGroupView.d.ts +18 -0
- package/dist/lib/components/layout/AffixView.d.ts +11 -0
- package/dist/lib/components/layout/AnchorView.d.ts +18 -0
- package/dist/lib/components/layout/AspectRatioView.d.ts +12 -0
- package/dist/lib/components/layout/BackToTopView.d.ts +10 -0
- package/dist/lib/components/layout/BreadcrumbView.d.ts +14 -0
- package/dist/lib/components/layout/DockView.d.ts +17 -0
- package/dist/lib/components/layout/FaqAccordionView.d.ts +16 -0
- package/dist/lib/components/layout/HeroView.d.ts +15 -0
- package/dist/lib/components/layout/LevelView.d.ts +13 -0
- package/dist/lib/components/layout/MasonryGridView.d.ts +11 -0
- package/dist/lib/components/layout/MediaObjectView.d.ts +12 -0
- package/dist/lib/components/layout/NavbarView.d.ts +19 -0
- package/dist/lib/components/layout/OnboardingChecklistView.d.ts +19 -0
- package/dist/lib/components/layout/PaginationView.d.ts +12 -0
- package/dist/lib/components/layout/PanelListView.d.ts +28 -0
- package/dist/lib/components/layout/ScrollAreaView.d.ts +11 -0
- package/dist/lib/components/layout/SettingsRowView.d.ts +12 -0
- package/dist/lib/components/layout/SettingsSectionView.d.ts +12 -0
- package/dist/lib/components/layout/SideNavView.d.ts +3 -1
- package/dist/lib/components/layout/StickyHeaderView.d.ts +11 -0
- package/dist/lib/components/layout/TileGridView.d.ts +21 -0
- package/dist/lib/components/layout/WatermarkView.d.ts +16 -0
- package/dist/lib/components/modal/ActionSheetView.d.ts +19 -0
- package/dist/lib/components/modal/AlertDialogView.d.ts +15 -0
- package/dist/lib/components/modal/BottomSheetView.d.ts +14 -0
- package/dist/lib/components/modal/CommandPaletteView.d.ts +21 -0
- package/dist/lib/components/modal/DrawerView.d.ts +15 -0
- package/dist/lib/components/modal/ModalView.d.ts +11 -2
- package/dist/lib/components/modal/NotificationCenterView.d.ts +20 -0
- package/dist/lib/components/modal/PopoverView.d.ts +20 -0
- package/dist/lib/components/modal/SpotlightTourView.d.ts +18 -0
- package/dist/lib/components/modal/StackedToastDeckView.d.ts +17 -0
- package/dist/lib/components/modal/TooltipView.d.ts +28 -0
- package/dist/lib/components/rearrange/RearrangeView.d.ts +3 -3
- package/dist/lib/components/rearrange/SortableView.d.ts +33 -0
- package/dist/lib/components/tabs/TabBarView.d.ts +29 -1
- package/dist/lib/core/AvatarBase.d.ts +21 -0
- package/dist/lib/core/DateBase.d.ts +23 -0
- package/dist/lib/core/DuiTokens.d.ts +10 -0
- package/dist/lib/core/FeedbackBase.d.ts +27 -0
- package/dist/lib/core/LayoutBase.d.ts +21 -0
- package/dist/lib/core/MediaBase.d.ts +20 -0
- package/dist/lib/index.d.ts +392 -1
- package/dist/lib/vis-runtime.d.ts +19 -0
- package/dist/monaco-setup.js +348 -343
- package/dist/monaco-setup.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme/editor.js +2 -2
- package/dist/vis-setup.d.ts +1 -0
- package/dist/vis-setup.js +418 -0
- package/dist/vis-setup.js.map +1 -0
- package/package.json +36 -2
- package/dist/chunks/EditorView.shell-BGH2VhWM.js.map +0 -1
- package/dist/chunks/daakia-icons-DxWnX_IQ.js +0 -1726
- package/dist/chunks/daakia-icons-DxWnX_IQ.js.map +0 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
export interface CountdownRingViewProps {
|
|
3
|
+
/** Target time to count down to. Takes precedence over `durationSeconds`. */
|
|
4
|
+
target?: Date | number;
|
|
5
|
+
/** Alternative to `target` — counts down from now for N seconds. */
|
|
6
|
+
durationSeconds?: number;
|
|
7
|
+
onComplete?: () => void;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
/** Ring diameter in px — overrides the size-derived default. */
|
|
10
|
+
diameter?: number;
|
|
11
|
+
width?: DuiWidth;
|
|
12
|
+
borderRadius?: DuiRadius | number;
|
|
13
|
+
color?: string;
|
|
14
|
+
label?: string;
|
|
15
|
+
paused?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
export declare function CountdownRingView({ target, durationSeconds, onComplete, size, diameter, width, borderRadius, color, label, paused, className, style, }: CountdownRingViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
import { ColumnVisibilityOption } from './ColumnVisibilityMenuView';
|
|
4
|
+
export type DataGridDensity = 'compact' | 'default' | 'comfortable';
|
|
5
|
+
export interface DataGridToolbarViewProps {
|
|
6
|
+
search: string;
|
|
7
|
+
onSearchChange: (value: string) => void;
|
|
8
|
+
columns?: ColumnVisibilityOption[];
|
|
9
|
+
visibleColumns?: string[];
|
|
10
|
+
onVisibleColumnsChange?: (visible: string[]) => void;
|
|
11
|
+
density?: DataGridDensity;
|
|
12
|
+
onDensityChange?: (density: DataGridDensity) => void;
|
|
13
|
+
onExport?: () => void;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
color?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
/** Table toolbar — search + column-visibility + density cycle + export. */
|
|
20
|
+
export declare function DataGridToolbarView({ search, onSearchChange, columns, visibleColumns, onVisibleColumnsChange, density, onDensityChange, onExport, size, color, className, style, }: DataGridToolbarViewProps): import("react").JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { DuiSize } from '../../core/DuiTypes';
|
|
2
2
|
export interface DataTableColumn<T = Record<string, unknown>> {
|
|
3
3
|
key: string;
|
|
4
|
-
|
|
4
|
+
/** Usually plain text; accepts a ReactNode for e.g. a select-all checkbox header. */
|
|
5
|
+
label: React.ReactNode;
|
|
5
6
|
width?: string | number;
|
|
6
7
|
sortable?: boolean;
|
|
7
8
|
renderCell?: (row: T, value: unknown) => React.ReactNode;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface DescriptionItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: ReactNode;
|
|
6
|
+
/** Number of grid columns this item spans. Default 1. */
|
|
7
|
+
span?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface DescriptionsViewProps {
|
|
10
|
+
title?: string;
|
|
11
|
+
items: DescriptionItem[];
|
|
12
|
+
columns?: number;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Read-only label/value grid for entity detail views. */
|
|
19
|
+
export declare function DescriptionsView({ title, items, columns, size, color, className, style, }: DescriptionsViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface DiffMorphViewProps {
|
|
4
|
+
text: string;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Old→new text isn't cross-faded — unchanged words FLIP-animate into their new
|
|
11
|
+
* position while changed words fade/strike, so an edit visually "reflows".
|
|
12
|
+
*/
|
|
13
|
+
export declare function DiffMorphView({ text, size, className, style }: DiffMorphViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface DragHandleViewProps {
|
|
4
|
+
size?: DuiSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** Grab-handle primitive for reorderable lists — six-dot grip icon. */
|
|
10
|
+
export declare function DragHandleView({ size, color, className, style, }: DragHandleViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface EditableCellViewProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
color?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Click-to-edit table cell — click to enter edit mode, Enter to commit, Escape to cancel. */
|
|
13
|
+
export declare function EditableCellView({ value, onChange, size, color, placeholder, className, style, }: EditableCellViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface EmptyInboxViewProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Zero-notifications empty state — pre-styled variant of the general EmptyStateView shape. */
|
|
11
|
+
export declare function EmptyInboxView({ title, message, size, className, style, }: EmptyInboxViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type EnvironmentKind = 'dev' | 'staging' | 'prod';
|
|
4
|
+
export interface EnvironmentBadgeViewProps {
|
|
5
|
+
env: EnvironmentKind;
|
|
6
|
+
/** Show a pulsing "live" dot — typically for prod. */
|
|
7
|
+
live?: boolean;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Colored environment chip with an optional pulsing live indicator. */
|
|
13
|
+
export declare function EnvironmentBadgeView({ env, live, size, className, style, }: EnvironmentBadgeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface FeatureSpotlightBadgeViewProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
color?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Pulsing "New" badge for recently shipped features. */
|
|
11
|
+
export declare function FeatureSpotlightBadgeView({ label, size, color, className, style, }: FeatureSpotlightBadgeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface FileIconViewProps {
|
|
4
|
+
name: string;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
bytes?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Extension-based file-type icon + name + size row. */
|
|
11
|
+
export declare function FileIconView({ name, size, bytes, className, style, }: FileIconViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface FileListEntry {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
bytes: number;
|
|
7
|
+
/** 0-100. Omit or 100 for "done". */
|
|
8
|
+
progress?: number;
|
|
9
|
+
error?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FileListViewProps {
|
|
12
|
+
files: FileListEntry[];
|
|
13
|
+
onRemove: (id: string) => void;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
color?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
/** Uploaded-files list with per-row progress and remove action. */
|
|
20
|
+
export declare function FileListView({ files, onRemove, size, color, className, style, }: FileListViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface FilterBarFilter {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface FilterBarViewProps {
|
|
8
|
+
filters: FilterBarFilter[];
|
|
9
|
+
onRemove: (key: string) => void;
|
|
10
|
+
onClearAll?: () => void;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Chip-based row of active filters with a clear-all action. */
|
|
17
|
+
export declare function FilterBarView({ filters, onRemove, onClearAll, size, color, className, style, }: FilterBarViewProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface GaugeViewProps {
|
|
2
|
+
/** 0–1 fraction */
|
|
3
|
+
score: number;
|
|
4
|
+
size?: number;
|
|
5
|
+
/** Overrides the score-driven color when set */
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Overrides the score-driven label when set */
|
|
8
|
+
label?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
export declare function GaugeView({ score, size, color, label, className, style }: GaugeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface GlowBorderViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
colors?: [string, string];
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Animated gradient glowing-border wrapper. */
|
|
11
|
+
export declare function GlowBorderView({ children, colors, size, className, style, }: GlowBorderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface GradientTextViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
colors?: [string, string, string?];
|
|
6
|
+
/** Animation duration in seconds. Default 4. */
|
|
7
|
+
duration?: number;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Animated gradient-shifting text. */
|
|
13
|
+
export declare function GradientTextView({ children, colors, duration, size, className, style, }: GradientTextViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface HeatmapDay {
|
|
3
|
+
date: string;
|
|
4
|
+
count: number;
|
|
5
|
+
}
|
|
6
|
+
export interface HeatmapCalendarViewProps {
|
|
7
|
+
data: HeatmapDay[];
|
|
8
|
+
color?: string;
|
|
9
|
+
cellSize?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** GitHub-style contribution heatmap — day cells shaded by count, tooltip on hover. */
|
|
14
|
+
export declare function HeatmapCalendarView({ data, color, cellSize, className, style, }: HeatmapCalendarViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface HoloCardViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** A card with a mouse-position-reactive holographic/iridescent sheen — trading-card holo effect. */
|
|
10
|
+
export declare function HoloCardView({ children, size, className, style, }: HoloCardViewProps): import("react").JSX.Element;
|
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
export interface HudItem {
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
3
|
+
/** Icon-only items (default look) — omit when using dotColor + label instead */
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
/** Colored swatch rendered before the label — e.g. a source-layer legend key */
|
|
6
|
+
dotColor?: string;
|
|
7
|
+
/** Text label rendered after the icon/dot — turns the item into a legend pill instead of an icon-only square button */
|
|
8
|
+
label?: string;
|
|
4
9
|
onClick?: () => void;
|
|
5
10
|
title?: string;
|
|
6
11
|
disabled?: boolean;
|
|
7
|
-
/** Renders a highlighted active state (e.g. "mute breakpoints" toggled on)
|
|
12
|
+
/** Renders a highlighted active state (e.g. "mute breakpoints" toggled on).
|
|
13
|
+
* For dot+label legend items, `active: false` instead dims the item to
|
|
14
|
+
* indicate "hidden/off" rather than highlighting it. */
|
|
8
15
|
active?: boolean;
|
|
9
16
|
/** Separator before this item */
|
|
10
17
|
separator?: boolean;
|
|
@@ -19,7 +26,32 @@ export interface HudViewProps {
|
|
|
19
26
|
activeColor?: string;
|
|
20
27
|
className?: string;
|
|
21
28
|
onDragEnd?: (x: number, y: number) => void;
|
|
22
|
-
/** Embed in a positioned container — uses position:relative
|
|
29
|
+
/** Embed in a positioned container — uses position:relative instead of
|
|
30
|
+
* fixed-centered-on-viewport. Drag is still enabled by default; pass
|
|
31
|
+
* `draggable={false}` explicitly to disable it (e.g. static showcase/demo use). */
|
|
23
32
|
contained?: boolean;
|
|
33
|
+
/** 'free' (default) drags in any direction, matching the original
|
|
34
|
+
* always-has-been HUD behavior. 'x' constrains the drag handle to
|
|
35
|
+
* horizontal movement only. */
|
|
36
|
+
dragAxis?: 'free' | 'x';
|
|
37
|
+
/** Explicitly enable/disable the drag handle. Defaults to true regardless
|
|
38
|
+
* of `contained` — set to false for a static, non-draggable HUD bar. */
|
|
39
|
+
draggable?: boolean;
|
|
40
|
+
/** Adds a minimize control next to the drag handle — collapses the whole
|
|
41
|
+
* HUD into a small draggable circular orb. Click the orb to restore. */
|
|
42
|
+
minimizable?: boolean;
|
|
43
|
+
/** Start minimized (uncontrolled — default false). Ignored if `minimized` is set. */
|
|
44
|
+
defaultMinimized?: boolean;
|
|
45
|
+
/** Controlled minimized state — pass with `onMinimizedChange` to fully control it. */
|
|
46
|
+
minimized?: boolean;
|
|
47
|
+
onMinimizedChange?: (minimized: boolean) => void;
|
|
48
|
+
/** Adds a "reset to initial view" icon button next to the minimize
|
|
49
|
+
* control — for a canvas/graph HUD where the caller wants a one-click
|
|
50
|
+
* way back to whatever view state it opened with, regardless of how far
|
|
51
|
+
* the user has since panned/zoomed. Purely presentational: HudView has
|
|
52
|
+
* no concept of "initial view" itself, the caller supplies the handler. */
|
|
53
|
+
onReset?: () => void;
|
|
54
|
+
/** Tooltip for the reset button. Defaults to "Reset view". */
|
|
55
|
+
resetTitle?: string;
|
|
24
56
|
}
|
|
25
|
-
export declare function HudView({ items, status, accentColor, activeColor, className, onDragEnd, contained, }: HudViewProps): import("react").JSX.Element;
|
|
57
|
+
export declare function HudView({ items, status, accentColor, activeColor, className, onDragEnd, contained, dragAxis, draggable, minimizable, defaultMinimized, minimized: minimizedProp, onMinimizedChange, onReset, resetTitle, }: HudViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface ImageCropperValue {
|
|
3
|
+
/** Pan offset as a fraction of container size, e.g. -0.5..0.5 */
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
zoom: number;
|
|
7
|
+
}
|
|
8
|
+
export interface ImageCropperViewProps {
|
|
9
|
+
src: string;
|
|
10
|
+
value: ImageCropperValue;
|
|
11
|
+
onChange: (value: ImageCropperValue) => void;
|
|
12
|
+
/** Crop frame aspect ratio, width/height. Default 1 (square). */
|
|
13
|
+
aspectRatio?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Drag-crop + zoom image editor — a fixed crop frame with a pannable/zoomable image behind it. */
|
|
19
|
+
export declare function ImageCropperView({ src, value, onChange, aspectRatio, height, className, style, }: ImageCropperViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface GalleryImage {
|
|
4
|
+
src: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ImageGalleryViewProps {
|
|
8
|
+
images: GalleryImage[];
|
|
9
|
+
columns?: number;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/** Grid gallery with a click-to-open lightbox — prev/next navigation, Escape to close. */
|
|
15
|
+
export declare function ImageGalleryView({ images, columns, size, className, style, }: ImageGalleryViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface ImageZoomViewProps {
|
|
3
|
+
src: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
thumbnailStyle?: CSSProperties;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** Click-to-zoom lightbox for a single image. */
|
|
10
|
+
export declare function ImageZoomView({ src, alt, thumbnailStyle, className, style, }: ImageZoomViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface InfoViewProps {
|
|
3
|
+
/** Icon rendered inside a soft colored badge above the title */
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
/** Plain description text — use `paths` for inline code/file-path snippets instead of embedding them here */
|
|
7
|
+
description?: string;
|
|
8
|
+
/** File paths / code snippets rendered as indigo/purple monospace pills, same treatment as InfoPopupView's item.code */
|
|
9
|
+
paths?: string[];
|
|
10
|
+
/** Small chip badges rendered below the paths (e.g. a count or a status word) */
|
|
11
|
+
badges?: {
|
|
12
|
+
label: string;
|
|
13
|
+
color?: string;
|
|
14
|
+
}[];
|
|
15
|
+
accentColor?: string;
|
|
16
|
+
compact?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/** Colorful "nothing here yet" panel — icon badge + title + description +
|
|
21
|
+
* indigo/purple-coded path/snippet pills + optional chip badges. Reuses
|
|
22
|
+
* InfoPopupView's item.code visual language for the path pills. */
|
|
23
|
+
export declare function InfoView({ icon, title, description, paths, badges, accentColor, compact, className, style, }: InfoViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface InspectorSectionViewProps {
|
|
3
|
+
icon?: ReactNode;
|
|
4
|
+
label: string;
|
|
5
|
+
accentColor?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/** One bordered, labeled content block inside an InspectorPanelView. */
|
|
10
|
+
export declare function InspectorSectionView({ icon, label, accentColor, children, className }: InspectorSectionViewProps): import("react").JSX.Element;
|
|
11
|
+
export interface InspectorPanelViewProps {
|
|
12
|
+
/** Primary heading, e.g. an entity name */
|
|
13
|
+
title: ReactNode;
|
|
14
|
+
/** Small uppercase text under the title, e.g. entity type */
|
|
15
|
+
subtitle?: string;
|
|
16
|
+
/** Chips/badges row above the title */
|
|
17
|
+
badges?: ReactNode;
|
|
18
|
+
onClose?: () => void;
|
|
19
|
+
/** false (default): absolute overlay panel on the right edge.
|
|
20
|
+
* true: fills its parent in normal flow (e.g. inside an existing sidebar). */
|
|
21
|
+
embedded?: boolean;
|
|
22
|
+
width?: number | string;
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: React.CSSProperties;
|
|
26
|
+
}
|
|
27
|
+
/** Generic "entity detail sidebar" shell — header (badges + title + subtitle +
|
|
28
|
+
* close button) followed by stacked InspectorSectionView blocks. */
|
|
29
|
+
export declare function InspectorPanelView({ title, subtitle, badges, onClose, embedded, width, children, className, style, }: InspectorPanelViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface IntegrationCardViewProps {
|
|
4
|
+
logo: ReactNode;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
connected: boolean;
|
|
8
|
+
onConnect: () => void;
|
|
9
|
+
onDisconnect: () => void;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Logo + name + connect/disconnect card — integrations/marketplace listing. */
|
|
16
|
+
export declare function IntegrationCardView({ logo, name, description, connected, onConnect, onDisconnect, size, color, className, style, }: IntegrationCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface KanbanCard {
|
|
4
|
+
id: string;
|
|
5
|
+
title: string;
|
|
6
|
+
content?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface KanbanColumn {
|
|
9
|
+
id: string;
|
|
10
|
+
title: string;
|
|
11
|
+
cards: KanbanCard[];
|
|
12
|
+
color?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface KanbanBoardViewProps {
|
|
15
|
+
columns: KanbanColumn[];
|
|
16
|
+
onChange: (columns: KanbanColumn[]) => void;
|
|
17
|
+
size?: DuiSize;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Draggable columns + cards board. Both cards and column headers drag
|
|
23
|
+
* exclusively from a dedicated handle (same "armed" pattern as
|
|
24
|
+
* SortableView) so buttons/links inside a card's custom content keep
|
|
25
|
+
* working — dragging from anywhere else on the card just clicks through.
|
|
26
|
+
*/
|
|
27
|
+
export declare function KanbanBoardView({ columns, onChange, size, className, style, }: KanbanBoardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface KbdViewProps {
|
|
4
|
+
keys: string | string[];
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
color?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** `<kbd>`-style hotkey hint chip. Composes multiple keys with a "+" separator. */
|
|
11
|
+
export declare function KbdView({ keys, size, color, className, style, }: KbdViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface KeyValueListEntry {
|
|
4
|
+
key: string;
|
|
5
|
+
value: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface KeyValueListViewProps {
|
|
8
|
+
entries: KeyValueListEntry[];
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Lightweight label:value stacked list — no edit, no toolbar. Distinct from `KeyValueTableView`. */
|
|
14
|
+
export declare function KeyValueListView({ entries, size, className, style, }: KeyValueListViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface LatencyPulseViewProps {
|
|
4
|
+
/** Latest latency in ms — higher values beat faster and spike taller. */
|
|
5
|
+
latencyMs: number;
|
|
6
|
+
/** Latency (ms) considered "critical" — beat turns red past this. Default 500. */
|
|
7
|
+
criticalMs?: number;
|
|
8
|
+
width?: number;
|
|
9
|
+
height?: number;
|
|
10
|
+
color?: string;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** EKG/vitals-monitor style live pulse line for request latency — a metric that visually "beats". */
|
|
16
|
+
export declare function LatencyPulseView({ latencyMs, criticalMs, width, height, color, size, className, style, }: LatencyPulseViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type LicenseTier = 'free' | 'pro' | 'enterprise';
|
|
4
|
+
export interface LicenseBadgeViewProps {
|
|
5
|
+
tier: LicenseTier;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Plan/tier ribbon badge — Free / Pro / Enterprise. */
|
|
11
|
+
export declare function LicenseBadgeView({ tier, size, className, style, }: LicenseBadgeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface ListViewItem {
|
|
4
|
+
id: string;
|
|
5
|
+
avatar?: ReactNode;
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
subtitle?: ReactNode;
|
|
8
|
+
actions?: ReactNode;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
}
|
|
11
|
+
export interface ListViewProps {
|
|
12
|
+
items: ListViewItem[];
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Generic avatar/title/subtitle/action list primitive. */
|
|
19
|
+
export declare function ListView({ items, size, color, className, style, }: ListViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface LiveCursor {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
/** Position as a fraction (0-1) of the container's width/height. */
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface LiveCursorPresenceViewProps {
|
|
12
|
+
cursors: LiveCursor[];
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Collaborative cursors with name tags, overlaid on arbitrary content. */
|
|
19
|
+
export declare function LiveCursorPresenceView({ cursors, children, size, className, style, }: LiveCursorPresenceViewProps): import("react").JSX.Element;
|
|
@@ -7,6 +7,17 @@ export interface LoaderViewProps {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
fullscreen?: boolean;
|
|
9
9
|
progress?: number;
|
|
10
|
+
/** skeleton only: renders a single placeholder bar of this exact size
|
|
11
|
+
* instead of the default 3-line paragraph shape — for mimicking a
|
|
12
|
+
* specific piece of UI (a stat number, a table cell, a title). */
|
|
13
|
+
width?: number | string;
|
|
14
|
+
height?: number | string;
|
|
15
|
+
/** skeleton only: 'rect' (default) is the bar/paragraph shape above.
|
|
16
|
+
* 'circle' with an explicit width/height renders one pulsing circle
|
|
17
|
+
* that size; with no size given (the common full-area loading-overlay
|
|
18
|
+
* case) it scatters a handful of varying-size pulsing circles instead —
|
|
19
|
+
* reads as loading *nodes*, a natural fit for graph/network canvases. */
|
|
20
|
+
shape?: 'rect' | 'circle';
|
|
10
21
|
className?: string;
|
|
11
22
|
}
|
|
12
|
-
export declare function LoaderView({ variant, size, accentColor, label, fullscreen, progress, className, }: LoaderViewProps): import("react").JSX.Element;
|
|
23
|
+
export declare function LoaderView({ variant, size, accentColor, label, fullscreen, progress, width, height, shape, className, }: LoaderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface MagneticButtonViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
/** Max pull distance in px. Default 12. */
|
|
7
|
+
strength?: number;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
color?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Cursor-attraction hover button effect. */
|
|
14
|
+
export declare function MagneticButtonView({ children, onClick, strength, size, color, className, style, }: MagneticButtonViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface MaintenanceBannerViewProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
window: string;
|
|
6
|
+
onDismiss?: () => void;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** Scheduled-downtime notice strip. */
|
|
12
|
+
export declare function MaintenanceBannerView({ open, window: maintenanceWindow, onDismiss, size, className, style, }: MaintenanceBannerViewProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type MessageBannerVariant = 'success' | 'error' | 'info' | 'warning';
|
|
4
|
+
export interface MessageBannerViewProps {
|
|
5
|
+
variant?: MessageBannerVariant;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
onDismiss?: () => void;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Inline success/error/info/warning message strip. Form-adjacent, distinct from the page-level `CalloutView`/dismissible `BannerView`. */
|
|
13
|
+
export declare function MessageBannerView({ variant, children, onDismiss, size, className, style, }: MessageBannerViewProps): import("react").JSX.Element;
|