@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,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface MessageBubbleViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
variant: 'sent' | 'received';
|
|
6
|
+
timestamp?: string;
|
|
7
|
+
avatar?: ReactNode;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
color?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Chat message bubble — sent (right-aligned, filled) / received (left-aligned, neutral). */
|
|
14
|
+
export declare function MessageBubbleView({ children, variant, timestamp, avatar, size, color, className, style, }: MessageBubbleViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export interface NetworkGraphNode {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
/** Community/cluster id — drives default coloring when colorBy is omitted */
|
|
5
|
+
communityId?: number;
|
|
6
|
+
/** Explicit color override, takes priority over colorBy/communityId */
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface NetworkGraphEdge {
|
|
10
|
+
id?: string | number;
|
|
11
|
+
source: string;
|
|
12
|
+
target: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface NetworkGraphViewProps {
|
|
16
|
+
nodes: NetworkGraphNode[];
|
|
17
|
+
edges: NetworkGraphEdge[];
|
|
18
|
+
onNodeClick?: (node: NetworkGraphNode) => void;
|
|
19
|
+
selectedId?: string | null;
|
|
20
|
+
/** Bump this (e.g. a counter incremented on each click) to re-fit the
|
|
21
|
+
* camera to show every node — the "reset zoom" affordance a host app
|
|
22
|
+
* shows after a selectedId focus has zoomed in. Ignored if unset;
|
|
23
|
+
* each change fits once, same one-shot-trigger pattern as selectedId. */
|
|
24
|
+
fitTrigger?: number;
|
|
25
|
+
/** Fires once the physics layout has fully settled (including the
|
|
26
|
+
* cluster-separation burst when enableClustering finds 2+ communities)
|
|
27
|
+
* and the camera has been positioned — the point at which the canvas
|
|
28
|
+
* looks intentional rather than mid-reflow. A host app can keep a
|
|
29
|
+
* skeleton/loading overlay on top of this component until onReady
|
|
30
|
+
* fires, instead of showing nodes and labels visibly settling into
|
|
31
|
+
* place. Fires on every mount/rebuild (new nodes/edges), not just once. */
|
|
32
|
+
onReady?: () => void;
|
|
33
|
+
/** Overrides the communityId-based default palette */
|
|
34
|
+
colorBy?: (node: NetworkGraphNode) => string;
|
|
35
|
+
/** Overrides the degree-based default sizing (10–40px) */
|
|
36
|
+
sizeBy?: (node: NetworkGraphNode, degree: number, maxDegree: number) => number;
|
|
37
|
+
className?: string;
|
|
38
|
+
style?: React.CSSProperties;
|
|
39
|
+
/** Auto-cluster nodes by communityId on load; double-click a cluster to expand it,
|
|
40
|
+
* double-click a leaf node to re-collapse its community. Off by default. */
|
|
41
|
+
enableClustering?: boolean;
|
|
42
|
+
/** Dim non-neighbor nodes/edges while hovering a node. Off by default. */
|
|
43
|
+
enableHoverDim?: boolean;
|
|
44
|
+
/** Small corner overview canvas with a draggable/clickable viewport rectangle. Off by default. */
|
|
45
|
+
enableMinimap?: boolean;
|
|
46
|
+
/** Drives cluster-label color/background so it stays legible in both
|
|
47
|
+
* themes — canvas can't resolve CSS variables, so the resolved theme
|
|
48
|
+
* name is passed in explicitly. Defaults to 'dark'. */
|
|
49
|
+
theme?: 'dark' | 'light';
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Force-directed graph (forceAtlas2Based physics, degree-sized nodes,
|
|
53
|
+
* click-to-select, external-selection focus/pan). Requires the consumer to
|
|
54
|
+
* install 'vis-network' + 'vis-data' and import '@salilvnair/dui/vis-setup'
|
|
55
|
+
* once at app startup — see the vis-network peerDependenciesMeta entry.
|
|
56
|
+
* Renders a static placeholder (NetworkGraphViewFallback) until that setup
|
|
57
|
+
* import registers the real implementation.
|
|
58
|
+
*/
|
|
59
|
+
export declare function NetworkGraphView(props: NetworkGraphViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static stand-in for NetworkGraphView, shown whenever vis-network isn't
|
|
3
|
+
* available (not installed, or '@salilvnair/dui/vis-setup' was never
|
|
4
|
+
* imported). Deliberately minimal — no physics, no interaction. Anything
|
|
5
|
+
* that needs a real force-directed layout should treat this as a signal to
|
|
6
|
+
* wire up the vis-setup import, not something to build on top of.
|
|
7
|
+
*/
|
|
8
|
+
export declare function NetworkGraphViewFallback({ className, style }: {
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
}): import("react").JSX.Element;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { NetworkGraphViewProps } from './NetworkGraphView';
|
|
2
|
+
export declare function NetworkGraphViewImpl({ nodes, edges, onNodeClick, selectedId, fitTrigger, onReady, colorBy, sizeBy, className, style, enableClustering, enableHoverDim, enableMinimap, theme, }: NetworkGraphViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type NetworkWeatherCondition = 'sunny' | 'cloudy' | 'stormy';
|
|
4
|
+
export interface NetworkWeatherViewProps {
|
|
5
|
+
condition: NetworkWeatherCondition;
|
|
6
|
+
label?: string;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** System health/error-rate expressed as literal weather instead of a status dot. */
|
|
12
|
+
export declare function NetworkWeatherView({ condition, label, size, className, style, }: NetworkWeatherViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface NotificationBadgeViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Omit or 0 for a plain dot badge. */
|
|
6
|
+
count?: number;
|
|
7
|
+
/** Hide the badge entirely (e.g. count === 0 and dot not wanted). */
|
|
8
|
+
hidden?: boolean;
|
|
9
|
+
/** Show a dot even without a count. */
|
|
10
|
+
dot?: boolean;
|
|
11
|
+
max?: number;
|
|
12
|
+
size?: DuiSize;
|
|
13
|
+
color?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
export declare function NotificationBadgeView({ children, count, hidden, dot, max, size, color, className, style, }: NotificationBadgeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface ParticleBackgroundViewProps {
|
|
3
|
+
children?: ReactNode;
|
|
4
|
+
/** Number of particles. Default 40. */
|
|
5
|
+
count?: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
height?: number;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** Subtle animated particle/dot background. */
|
|
12
|
+
export declare function ParticleBackgroundView({ children, count, color, height, className, style, }: ParticleBackgroundViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface PathRevealViewProps {
|
|
3
|
+
/** One or more SVG path `d` strings — each draws itself on mount. */
|
|
4
|
+
d: string | string[];
|
|
5
|
+
viewBox?: string;
|
|
6
|
+
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
/** Draw duration in ms. Default 1200. */
|
|
11
|
+
duration?: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Generic SVG stroke-draw reveal primitive — any path/diagram/signature "draws itself" on mount. */
|
|
16
|
+
export declare function PathRevealView({ d, viewBox, width, height, color, strokeWidth, duration, className, style, }: PathRevealViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface PdfViewerViewProps {
|
|
3
|
+
/** URL to the PDF file — rendered via the browser's native PDF viewer inside an iframe. */
|
|
4
|
+
src: string;
|
|
5
|
+
totalPages?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Paginated PDF preview wrapper. Uses the browser's native PDF renderer via an iframe, with an optional page-number affordance when `totalPages` is known. */
|
|
11
|
+
export declare function PdfViewerView({ src, totalPages, height, className, style, }: PdfViewerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface PermissionMatrixViewProps {
|
|
4
|
+
roles: string[];
|
|
5
|
+
permissions: string[];
|
|
6
|
+
/** `matrix[roleIdx][permissionIdx]` */
|
|
7
|
+
matrix: boolean[][];
|
|
8
|
+
onChange: (roleIdx: number, permissionIdx: number, value: boolean) => void;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/** Role × permission checkbox grid. */
|
|
15
|
+
export declare function PermissionMatrixView({ roles, permissions, matrix, onChange, size, color, className, style, }: PermissionMatrixViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type PresenceStatus = 'online' | 'away' | 'busy' | 'offline';
|
|
4
|
+
export interface PresenceDotViewProps {
|
|
5
|
+
status: PresenceStatus;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
/** Adds a surface-colored ring, useful when overlapping an avatar image. */
|
|
8
|
+
ring?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
export declare function PresenceDotView({ status, size, ring, className, style, }: PresenceDotViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface PricingCardViewProps {
|
|
4
|
+
planName: string;
|
|
5
|
+
price: string;
|
|
6
|
+
period?: string;
|
|
7
|
+
features: string[];
|
|
8
|
+
popular?: boolean;
|
|
9
|
+
actions?: ReactNode;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Plan comparison card with a "popular" ribbon. */
|
|
16
|
+
export declare function PricingCardView({ planName, price, period, features, popular, actions, size, color, className, style, }: PricingCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface ProgressBarViewProps {
|
|
4
|
+
/** 0-100. Omit for indeterminate (striped, animated) mode. */
|
|
5
|
+
value?: number;
|
|
6
|
+
/** Secondary "buffered" fill, 0-100 — e.g. video buffering ahead of playback. */
|
|
7
|
+
buffer?: number;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
width?: DuiWidth;
|
|
10
|
+
color?: string;
|
|
11
|
+
trackColor?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
export declare function ProgressBarView({ value, buffer, size, width, color, trackColor, className, style, }: ProgressBarViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface ProgressRingViewProps {
|
|
4
|
+
/** 0-100. Omit for indeterminate (spinning) mode. */
|
|
5
|
+
value?: number;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
color?: string;
|
|
8
|
+
trackColor?: string;
|
|
9
|
+
showLabel?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
export declare function ProgressRingView({ value, size, color, trackColor, showLabel, className, style, }: ProgressRingViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface PulseDotViewProps {
|
|
4
|
+
size?: DuiSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** Attention-grabbing pulsing dot primitive — complements StatusIndicatorView. */
|
|
10
|
+
export declare function PulseDotView({ size, color, className, style, }: PulseDotViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface QRCodeViewProps {
|
|
3
|
+
value: string;
|
|
4
|
+
size?: number;
|
|
5
|
+
color?: string;
|
|
6
|
+
background?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Barcode's QR-style sibling — canvas/SVG-drawn, no extra runtime dependency. */
|
|
11
|
+
export declare function QRCodeView({ value, size, color, background, className, style, }: QRCodeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface QuoteBlockViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
attribution?: string;
|
|
6
|
+
role?: string;
|
|
7
|
+
avatar?: ReactNode;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
color?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Styled blockquote with an optional avatar + attribution line. */
|
|
14
|
+
export declare function QuoteBlockView({ children, attribution, role, avatar, size, color, className, style, }: QuoteBlockViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RateLimitMeterViewProps {
|
|
4
|
+
remaining: number;
|
|
5
|
+
limit: number;
|
|
6
|
+
resetLabel: string;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** Requests-remaining ring gauge with a reset countdown label. */
|
|
12
|
+
export declare function RateLimitMeterView({ remaining, limit, resetLabel, size, className, style, }: RateLimitMeterViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RatingBreakdownViewProps {
|
|
4
|
+
/** Count per star level, index 0 = 1 star … index 4 = 5 stars. */
|
|
5
|
+
counts: [number, number, number, number, number];
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
color?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** 5-star rating distribution bars — App Store-style rating breakdown. */
|
|
12
|
+
export declare function RatingBreakdownView({ counts, size, color, className, style, }: RatingBreakdownViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RequestFlowPhase {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Duration of this phase in ms — drives both the segment width and particle speed. */
|
|
7
|
+
duration: number;
|
|
8
|
+
color?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RequestFlowViewProps {
|
|
11
|
+
phases: RequestFlowPhase[];
|
|
12
|
+
/** Number of particles in flight at once. Default 3. */
|
|
13
|
+
particleCount?: number;
|
|
14
|
+
width?: number;
|
|
15
|
+
size?: DuiSize;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Animated network waterfall — particles travel along a DNS→TCP→TLS→Request→Response
|
|
21
|
+
* pipe, speed/color mapped to actual phase timing. DUI-original, no direct prior art.
|
|
22
|
+
*/
|
|
23
|
+
export declare function RequestFlowView({ phases, particleCount, width, size, className, style, }: RequestFlowViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type ResultStatus = 'success' | 'error' | '404' | '403' | 'warning' | 'info';
|
|
4
|
+
export interface ResultViewProps {
|
|
5
|
+
status: ResultStatus;
|
|
6
|
+
title: string;
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
actions?: ReactNode;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Full-page outcome state — success / error / 404 / 403 / warning / info. */
|
|
14
|
+
export declare function ResultView({ status, title, subtitle, actions, size, className, style, }: ResultViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface RevealOnScrollViewProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
direction?: 'up' | 'down' | 'left' | 'right' | 'fade';
|
|
5
|
+
/** Transition duration in ms. Default 500. */
|
|
6
|
+
duration?: number;
|
|
7
|
+
delay?: number;
|
|
8
|
+
/** Re-trigger every time it enters the viewport, instead of only once. */
|
|
9
|
+
repeat?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Fade/slide-in-on-scroll wrapper. */
|
|
14
|
+
export declare function RevealOnScrollView({ children, direction, duration, delay, repeat, className, style, }: RevealOnScrollViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface SchemaBlueprintField {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SchemaBlueprintNode {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
fields: SchemaBlueprintField[];
|
|
11
|
+
/** IDs of nodes this one references (e.g. a foreign object/ref field). */
|
|
12
|
+
connectsTo?: string[];
|
|
13
|
+
}
|
|
14
|
+
export interface SchemaBlueprintViewProps {
|
|
15
|
+
nodes: SchemaBlueprintNode[];
|
|
16
|
+
width?: number;
|
|
17
|
+
height?: number;
|
|
18
|
+
size?: DuiSize;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
/** JSON Schema / OpenAPI spec rendered as a literal architectural blueprint — graph-paper + dashed right-angle connectors. */
|
|
23
|
+
export declare function SchemaBlueprintView({ nodes, width, height, size, className, style, }: SchemaBlueprintViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export type SegmentStatus = 'pending' | 'active' | 'done' | 'error';
|
|
4
|
+
export interface ProgressSegment {
|
|
5
|
+
label?: string;
|
|
6
|
+
status: SegmentStatus;
|
|
7
|
+
}
|
|
8
|
+
export interface SegmentedProgressBarViewProps {
|
|
9
|
+
segments: ProgressSegment[];
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
width?: DuiWidth;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Multi-segment progress bar — e.g. upload/pipeline stages, each independently colored. */
|
|
17
|
+
export declare function SegmentedProgressBarView({ segments, size, width, color, className, style, }: SegmentedProgressBarViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface ShareTarget {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
icon: ReactNode;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface ShareSheetViewProps {
|
|
10
|
+
url: string;
|
|
11
|
+
targets?: ShareTarget[];
|
|
12
|
+
onCopy?: () => void;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Social share row + copy-link field. */
|
|
19
|
+
export declare function ShareSheetView({ url, targets, onCopy, size, color, className, style, }: ShareSheetViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface SignaturePadViewProps {
|
|
3
|
+
onChange?: (dataUrl: string | null) => void;
|
|
4
|
+
strokeColor?: string;
|
|
5
|
+
height?: number;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** Canvas signature capture — draw with mouse/touch/pen, exports a PNG data URL. */
|
|
10
|
+
export declare function SignaturePadView({ onChange, strokeColor, height, className, style, }: SignaturePadViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type SkeletonVariant = 'text' | 'block' | 'avatar' | 'row';
|
|
4
|
+
export interface SkeletonViewProps {
|
|
5
|
+
variant?: SkeletonVariant;
|
|
6
|
+
/** Number of lines for `variant="text"`. Default 1. */
|
|
7
|
+
lines?: number;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
height?: number | string;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function SkeletonView({ variant, lines, width, height, size, className, style, }: SkeletonViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface SnackbarViewProps {
|
|
4
|
+
open: boolean;
|
|
5
|
+
message: string;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
onAction?: () => void;
|
|
9
|
+
/** Auto-dismiss after N ms. 0 disables auto-dismiss. Timer pauses on hover. Default 4000. */
|
|
10
|
+
duration?: number;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
width?: DuiWidth;
|
|
13
|
+
borderRadius?: DuiRadius | number;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
export declare function SnackbarView({ open, message, onClose, actionLabel, onAction, duration, size, width, borderRadius, color, className, style, }: SnackbarViewProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type SortDirection = 'asc' | 'desc' | null;
|
|
4
|
+
export interface SortableHeaderViewProps {
|
|
5
|
+
label: string;
|
|
6
|
+
direction: SortDirection;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
color?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Clickable table column header with a sort-direction arrow indicator. */
|
|
14
|
+
export declare function SortableHeaderView({ label, direction, onClick, size, color, className, style, }: SortableHeaderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface SparklineViewProps {
|
|
3
|
+
data: number[];
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: number;
|
|
6
|
+
color?: string;
|
|
7
|
+
/** Fill the area under the line. Default true. */
|
|
8
|
+
filled?: boolean;
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Tiny inline SVG trend line, no axes — for table cells / stat cards. */
|
|
14
|
+
export declare function SparklineView({ data, width, height, color, filled, strokeWidth, className, style, }: SparklineViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface StackedSwipeCardViewProps<T> {
|
|
4
|
+
items: T[];
|
|
5
|
+
renderItem: (item: T) => ReactNode;
|
|
6
|
+
onSwipe: (item: T, direction: 'left' | 'right') => void;
|
|
7
|
+
width?: number;
|
|
8
|
+
height?: number;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
className?: string;
|
|
11
|
+
style?: CSSProperties;
|
|
12
|
+
}
|
|
13
|
+
/** Swipeable card stack for one-at-a-time approve/reject flows. */
|
|
14
|
+
export declare function StackedSwipeCardView<T>({ items, renderItem, onSwipe, width, height, size, className, style, }: StackedSwipeCardViewProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface StatTrendCardViewProps {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
trend: number[];
|
|
7
|
+
prefix?: string;
|
|
8
|
+
suffix?: string;
|
|
9
|
+
precision?: number;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Animated count-up number + sparkline trend — distinct from the static `StatsCardView`. */
|
|
16
|
+
export declare function StatTrendCardView({ label, value, trend, prefix, suffix, precision, size, color, className, style, }: StatTrendCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface StatisticViewProps {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
prefix?: string;
|
|
7
|
+
suffix?: string;
|
|
8
|
+
precision?: number;
|
|
9
|
+
/** Animate count-up from 0 on mount/value change. Default true. */
|
|
10
|
+
animate?: boolean;
|
|
11
|
+
/** Animation duration in ms. Default 800. */
|
|
12
|
+
duration?: number;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
export declare function StatisticView({ label, value, prefix, suffix, precision, animate, duration, size, color, className, style, }: StatisticViewProps): import("react").JSX.Element;
|
|
@@ -9,7 +9,11 @@ export interface StatsCardViewProps {
|
|
|
9
9
|
trendValue?: string;
|
|
10
10
|
accentColor?: string;
|
|
11
11
|
compact?: boolean;
|
|
12
|
+
/** 'label-top' (default): small caps label, then the big value below it.
|
|
13
|
+
* 'value-top': big value first, small label caption below — for tiles
|
|
14
|
+
* where the number/timestamp is the headline (e.g. "2,847 / Nodes"). */
|
|
15
|
+
layout?: 'label-top' | 'value-top';
|
|
12
16
|
className?: string;
|
|
13
17
|
style?: React.CSSProperties;
|
|
14
18
|
}
|
|
15
|
-
export declare function StatsCardView({ label, value, subValue, icon, unit, trend, trendValue, accentColor, compact, className, style, }: StatsCardViewProps): import("react").JSX.Element;
|
|
19
|
+
export declare function StatsCardView({ label, value, subValue, icon, unit, trend, trendValue, accentColor, compact, layout, className, style, }: StatsCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type ServiceStatus = 'operational' | 'degraded' | 'outage' | 'maintenance';
|
|
4
|
+
export interface StatusPageRowViewProps {
|
|
5
|
+
service: string;
|
|
6
|
+
status: ServiceStatus;
|
|
7
|
+
uptime: number;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Service + uptime% + status-dot row — status page primitive. */
|
|
13
|
+
export declare function StatusPageRowView({ service, status, uptime, size, className, style, }: StatusPageRowViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface StickyTableColumn<T> {
|
|
4
|
+
key: string;
|
|
5
|
+
label: string;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
render: (row: T) => ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface StickyTableHeaderViewProps<T> {
|
|
10
|
+
columns: StickyTableColumn<T>[];
|
|
11
|
+
rows: T[];
|
|
12
|
+
keyField: keyof T;
|
|
13
|
+
/** Pin the first column while scrolling horizontally. Default true. */
|
|
14
|
+
freezeFirstColumn?: boolean;
|
|
15
|
+
maxHeight?: number;
|
|
16
|
+
size?: DuiSize;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/** Data table with a sticky header row and an optional frozen first column, for wide/tall grids. */
|
|
21
|
+
export declare function StickyTableHeaderView<T>({ columns, rows, keyField, freezeFirstColumn, maxHeight, size, className, style, }: StickyTableHeaderViewProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TablePaginationViewProps {
|
|
4
|
+
page: number;
|
|
5
|
+
totalRows: number;
|
|
6
|
+
rowsPerPage: number;
|
|
7
|
+
onPageChange: (page: number) => void;
|
|
8
|
+
onRowsPerPageChange: (rowsPerPage: number) => void;
|
|
9
|
+
rowsPerPageOptions?: number[];
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Rows-per-page selector + page-number footer for data tables. */
|
|
16
|
+
export declare function TablePaginationView({ page, totalRows, rowsPerPage, onPageChange, onRowsPerPageChange, rowsPerPageOptions, size, color, className, style, }: TablePaginationViewProps): import("react").JSX.Element;
|