@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,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TagCloudEntry {
|
|
4
|
+
label: string;
|
|
5
|
+
/** Relative weight — determines font size within the cloud. */
|
|
6
|
+
weight: number;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface TagCloudViewProps {
|
|
10
|
+
tags: TagCloudEntry[];
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Weighted tag cloud — font size scales with each tag's relative weight. */
|
|
17
|
+
export declare function TagCloudView({ tags, size, color, className, style, }: TagCloudViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TeamMemberRowViewProps {
|
|
4
|
+
name: string;
|
|
5
|
+
role: string;
|
|
6
|
+
avatar?: ReactNode;
|
|
7
|
+
onRemove?: () => void;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Avatar + name + role + remove-action row — team management list item. */
|
|
13
|
+
export declare function TeamMemberRowView({ name, role, avatar, onRemove, size, className, style, }: TeamMemberRowViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface TerminalBlockViewProps {
|
|
2
|
+
code: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
/** Defaults to following DuiProvider's data-theme */
|
|
5
|
+
dark?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function TerminalBlockView({ code, title, dark, className }: TerminalBlockViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TestimonialCardViewProps {
|
|
4
|
+
quote: string;
|
|
5
|
+
author: string;
|
|
6
|
+
role?: string;
|
|
7
|
+
avatar?: ReactNode;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Quote + avatar testimonial card. */
|
|
13
|
+
export declare function TestimonialCardView({ quote, author, role, avatar, size, className, style, }: TestimonialCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TiltCardViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Max tilt angle in degrees. Default 10. */
|
|
6
|
+
maxTilt?: number;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** 3D perspective tilt-on-hover card. */
|
|
12
|
+
export declare function TiltCardView({ children, maxTilt, size, className, style, }: TiltCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TimelineEntry {
|
|
4
|
+
id: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
timestamp?: string;
|
|
8
|
+
content?: ReactNode;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface TimelineViewProps {
|
|
12
|
+
entries: TimelineEntry[];
|
|
13
|
+
orientation?: 'vertical' | 'horizontal';
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
color?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
/** Event trail with icon nodes — vertical (default) or horizontal. */
|
|
20
|
+
export declare function TimelineView({ entries, orientation, size, color, className, style, }: TimelineViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TrialCountdownBannerViewProps {
|
|
4
|
+
daysLeft: number;
|
|
5
|
+
onUpgrade: () => void;
|
|
6
|
+
size?: DuiSize;
|
|
7
|
+
color?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** "N days left in trial" strip with an upgrade CTA. */
|
|
12
|
+
export declare function TrialCountdownBannerView({ daysLeft, onUpgrade, size, color, className, style, }: TrialCountdownBannerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TypewriterTextViewProps {
|
|
4
|
+
text: string | string[];
|
|
5
|
+
/** Milliseconds per character. Default 45. */
|
|
6
|
+
speed?: number;
|
|
7
|
+
/** Pause (ms) between cycling to the next string when `text` is an array. Default 1500. */
|
|
8
|
+
pause?: number;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Animated typing-effect text. */
|
|
16
|
+
export declare function TypewriterTextView({ text, speed, pause, loop, size, color, className, style, }: TypewriterTextViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TypingIndicatorViewProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
color?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Animated "…is typing" dots. */
|
|
11
|
+
export declare function TypingIndicatorView({ label, size, color, className, style, }: TypingIndicatorViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface UndoRedoNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Parent node id — omit for the root. */
|
|
7
|
+
parentId?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface UndoRedoTimelineViewProps {
|
|
10
|
+
nodes: UndoRedoNode[];
|
|
11
|
+
activeId: string;
|
|
12
|
+
onSelect: (id: string) => void;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** History rendered as a branching git-log graph — jump to any node, diverging edits show as visible branches. */
|
|
19
|
+
export declare function UndoRedoTimelineView({ nodes, activeId, onSelect, size, color, className, style, }: UndoRedoTimelineViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface UsageMeterViewProps {
|
|
4
|
+
used: number;
|
|
5
|
+
limit: number;
|
|
6
|
+
label?: string;
|
|
7
|
+
/** Fraction (0-1) at which the bar turns warning-colored. Default 0.75. */
|
|
8
|
+
warningAt?: number;
|
|
9
|
+
/** Fraction (0-1) at which the bar turns error-colored. Default 0.9. */
|
|
10
|
+
dangerAt?: number;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
width?: DuiWidth;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Quota bar (used/limit) with warning-color thresholds. */
|
|
17
|
+
export declare function UsageMeterView({ used, limit, label, warningAt, dangerAt, size, width, className, style, }: UsageMeterViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface VersionBadgeViewProps {
|
|
4
|
+
version: string;
|
|
5
|
+
updateAvailable?: boolean;
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
color?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Version number chip with an "update available" dot indicator. */
|
|
13
|
+
export declare function VersionBadgeView({ version, updateAvailable, onClick, size, color, className, style, }: VersionBadgeViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface VideoPlayerViewProps {
|
|
3
|
+
src: string;
|
|
4
|
+
poster?: string;
|
|
5
|
+
color?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
}
|
|
9
|
+
/** Custom video controls wrapper — play/pause, seek, volume. */
|
|
10
|
+
export declare function VideoPlayerView({ src, poster, color, className, style, }: VideoPlayerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface VirtualizedListViewProps<T> {
|
|
3
|
+
items: T[];
|
|
4
|
+
itemHeight: number;
|
|
5
|
+
height: number;
|
|
6
|
+
renderItem: (item: T, index: number) => ReactNode;
|
|
7
|
+
/** Extra rows rendered above/below the visible window, to reduce blank-on-fast-scroll. Default 4. */
|
|
8
|
+
overscan?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Windowed rendering for large lists — only mounts rows currently in (or near) the viewport. */
|
|
13
|
+
export declare function VirtualizedListView<T>({ items, itemHeight, height, renderItem, overscan, className, style, }: VirtualizedListViewProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type WebhookHealth = 'healthy' | 'failing' | 'disabled';
|
|
4
|
+
export interface WebhookStatusViewProps {
|
|
5
|
+
url: string;
|
|
6
|
+
health: WebhookHealth;
|
|
7
|
+
lastDelivery?: string;
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
onRetry?: () => void;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/** Webhook endpoint health row — last delivery, status code, retry action. */
|
|
15
|
+
export declare function WebhookStatusView({ url, health, lastDelivery, statusCode, onRetry, size, className, style, }: WebhookStatusViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface AvatarUploadViewProps {
|
|
4
|
+
/** Preview image URL, or null/undefined for the empty state. */
|
|
5
|
+
src?: string | null;
|
|
6
|
+
onFileSelected: (file: File) => void;
|
|
7
|
+
initials?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function AvatarUploadView({ src, onFileSelected, initials, disabled, size, color, className, style, }: AvatarUploadViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
export type CalendarMode = 'single' | 'range' | 'multi';
|
|
3
|
+
/** Visual treatment for in-range days in `range` mode. */
|
|
4
|
+
export type CalendarRangeStyle = 'tint' | 'block';
|
|
5
|
+
/** ISO `YYYY-MM-DD` date string. */
|
|
6
|
+
export type IsoDate = string;
|
|
7
|
+
export interface CalendarViewProps {
|
|
8
|
+
mode?: CalendarMode;
|
|
9
|
+
/** `single`: IsoDate | null. `range`: [IsoDate | null, IsoDate | null]. `multi`: IsoDate[]. */
|
|
10
|
+
value: IsoDate | null | [IsoDate | null, IsoDate | null] | IsoDate[];
|
|
11
|
+
onChange: (value: IsoDate | [IsoDate | null, IsoDate | null] | IsoDate[]) => void;
|
|
12
|
+
minDate?: IsoDate;
|
|
13
|
+
maxDate?: IsoDate;
|
|
14
|
+
disabledDates?: (date: Date) => boolean;
|
|
15
|
+
/** `tint` (default) = soft background on in-range days. `block` = solid connected "snake" of boxes. */
|
|
16
|
+
rangeStyle?: CalendarRangeStyle;
|
|
17
|
+
size?: DuiSize;
|
|
18
|
+
width?: DuiWidth;
|
|
19
|
+
borderRadius?: DuiRadius | number;
|
|
20
|
+
/** Accent color for selected day(s) and today's ring. */
|
|
21
|
+
color?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
export declare function CalendarView({ mode, value, onChange, minDate, maxDate, disabledDates, rangeStyle, size, width, borderRadius, color, className, style, }: CalendarViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface CascaderOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
children?: CascaderOption[];
|
|
7
|
+
}
|
|
8
|
+
export interface CascaderViewProps {
|
|
9
|
+
options: CascaderOption[];
|
|
10
|
+
/** Selected path, e.g. ['us', 'ca', 'sf']. */
|
|
11
|
+
value: string[];
|
|
12
|
+
onChange: (value: string[]) => void;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
size?: DuiSize;
|
|
16
|
+
width?: DuiWidth;
|
|
17
|
+
borderRadius?: DuiRadius | number;
|
|
18
|
+
color?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
/** Multi-level cascading select — region/category trees. */
|
|
23
|
+
export declare function CascaderView({ options, value, onChange, placeholder, disabled, size, width, borderRadius, color, className, style, }: CascaderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface ChatInputViewProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onSend: () => void;
|
|
7
|
+
onAttach?: (files: FileList) => void;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
borderRadius?: DuiRadius | number;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Message composer — auto-growing textarea + attach + send. */
|
|
17
|
+
export declare function ChatInputView({ value, onChange, onSend, onAttach, placeholder, disabled, size, borderRadius, color, className, style, }: ChatInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface ChecklistItem {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface ChecklistViewProps {
|
|
9
|
+
items: ChecklistItem[];
|
|
10
|
+
onToggle: (id: string) => void;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
accentColor?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Todo-style checklist — strikethrough + faded once complete. */
|
|
17
|
+
export declare function ChecklistView({ items, onToggle, size, accentColor, className, style, }: ChecklistViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface ColorPickerViewProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
swatches?: string[];
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
width?: DuiWidth;
|
|
10
|
+
borderRadius?: DuiRadius | number;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function ColorPickerView({ value, onChange, swatches, disabled, size, width, borderRadius, className, style, }: ColorPickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface ComboBoxOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ComboBoxViewProps {
|
|
8
|
+
options: ComboBoxOption[];
|
|
9
|
+
value: string;
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
/** Allow values not present in `options`. Default true. */
|
|
14
|
+
freeSolo?: boolean;
|
|
15
|
+
size?: DuiSize;
|
|
16
|
+
width?: DuiWidth;
|
|
17
|
+
borderRadius?: DuiRadius | number;
|
|
18
|
+
color?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
/** Free-text input with a filtered dropdown of matching suggestions — autocomplete pattern. */
|
|
23
|
+
export declare function ComboBoxView({ options, value, onChange, placeholder, disabled, freeSolo, size, width, borderRadius, color, className, style, }: ComboBoxViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
import { IsoDate } from './CalendarView';
|
|
3
|
+
export interface DateInputViewProps {
|
|
4
|
+
value: IsoDate | null;
|
|
5
|
+
onChange: (value: IsoDate) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
minDate?: IsoDate;
|
|
8
|
+
maxDate?: IsoDate;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
width?: DuiWidth;
|
|
11
|
+
borderRadius?: DuiRadius | number;
|
|
12
|
+
color?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
export declare function DateInputView({ value, onChange, placeholder, minDate, maxDate, size, width, borderRadius, color, disabled, className, style, }: DateInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
import { IsoDate, CalendarRangeStyle } from './CalendarView';
|
|
3
|
+
export interface DateRangePreset {
|
|
4
|
+
label: string;
|
|
5
|
+
getRange: () => [IsoDate, IsoDate];
|
|
6
|
+
}
|
|
7
|
+
/** `panel` (default) = presets sidebar beside the calendar, one bordered box. `single` = one unified box, presets as a chip row above the calendar. */
|
|
8
|
+
export type DateRangePickerVariant = 'panel' | 'single';
|
|
9
|
+
export interface DateRangePickerViewProps {
|
|
10
|
+
value: [IsoDate | null, IsoDate | null];
|
|
11
|
+
onChange: (value: [IsoDate | null, IsoDate | null]) => void;
|
|
12
|
+
presets?: DateRangePreset[];
|
|
13
|
+
variant?: DateRangePickerVariant;
|
|
14
|
+
/** Visual treatment for in-range days — see `CalendarView`. Defaults to `block` here (a connected "snake" of boxes reads better in a range picker). */
|
|
15
|
+
rangeStyle?: CalendarRangeStyle;
|
|
16
|
+
minDate?: IsoDate;
|
|
17
|
+
maxDate?: IsoDate;
|
|
18
|
+
size?: DuiSize;
|
|
19
|
+
width?: DuiWidth;
|
|
20
|
+
borderRadius?: DuiRadius | number;
|
|
21
|
+
color?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
export declare const DEFAULT_DATE_RANGE_PRESETS: DateRangePreset[];
|
|
26
|
+
export declare function DateRangePickerView({ value, onChange, presets, variant, rangeStyle, minDate, maxDate, size, width, borderRadius, color, className, style, }: DateRangePickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
import { IsoDate } from './CalendarView';
|
|
3
|
+
/** Local `YYYY-MM-DDTHH:mm` — no timezone suffix, same shape a native
|
|
4
|
+
* `<input type="datetime-local">` produces, so it's a drop-in replacement. */
|
|
5
|
+
export type IsoDateTime = string;
|
|
6
|
+
export interface DateTimeInputViewProps {
|
|
7
|
+
value: IsoDateTime | null;
|
|
8
|
+
onChange: (value: IsoDateTime) => void;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
minDate?: IsoDate;
|
|
11
|
+
maxDate?: IsoDate;
|
|
12
|
+
use24Hour?: boolean;
|
|
13
|
+
minuteStep?: number;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
width?: DuiWidth;
|
|
16
|
+
borderRadius?: DuiRadius | number;
|
|
17
|
+
color?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: React.CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* DateTimeInputView — a proper DUI-styled replacement for the native
|
|
24
|
+
* `<input type="datetime-local">`, whose picker chrome is OS-rendered and
|
|
25
|
+
* looks inconsistent with everything else in the app. Composes the existing
|
|
26
|
+
* `CalendarView` (date grid) and `TimeWheelView` (hour/minute/meridiem
|
|
27
|
+
* wheels) side by side in one popover — same trigger-button + portal pattern
|
|
28
|
+
* as `DateInputView`, just with a second pane.
|
|
29
|
+
*/
|
|
30
|
+
export declare function DateTimeInputView({ value, onChange, placeholder, minDate, maxDate, use24Hour, minuteStep, size, width, borderRadius, color, disabled, className, style, }: DateTimeInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface DialKnobInputViewProps {
|
|
4
|
+
value: number;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Number of discrete snap-ticks across the full sweep. Default 10. */
|
|
8
|
+
ticks?: number;
|
|
9
|
+
onChange: (value: number) => void;
|
|
10
|
+
label?: string;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Rotary analog knob (drag in a circle) with snap-ticks and a haptic-style micro-bounce at each notch. */
|
|
17
|
+
export declare function DialKnobInputView({ value, min, max, ticks, onChange, label, size, color, className, style, }: DialKnobInputViewProps): import("react").JSX.Element;
|
|
@@ -143,7 +143,7 @@ export interface EditorOptions {
|
|
|
143
143
|
bottom?: number;
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
export type EditorLanguage = 'javascript' | 'typescript' | 'json' | 'xml' | 'html' | 'css' | 'graphql' | 'python' | 'yaml' | 'sql' | 'plaintext' | 'markdown' | 'java';
|
|
146
|
+
export type EditorLanguage = 'javascript' | 'typescript' | 'json' | 'xml' | 'html' | 'css' | 'graphql' | 'python' | 'yaml' | 'sql' | 'plaintext' | 'markdown' | 'java' | 'proto';
|
|
147
147
|
export interface EditorViewProps {
|
|
148
148
|
value: string;
|
|
149
149
|
onChange?: (value: string) => void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface EmojiPickerViewProps {
|
|
4
|
+
value: string | null;
|
|
5
|
+
onChange: (emoji: string) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
width?: DuiWidth;
|
|
9
|
+
borderRadius?: DuiRadius | number;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function EmojiPickerView({ value, onChange, disabled, size, width, borderRadius, color, className, style, }: EmojiPickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface FeedbackWidgetViewProps {
|
|
4
|
+
question?: string;
|
|
5
|
+
vote: 'up' | 'down' | null;
|
|
6
|
+
onVote: (vote: 'up' | 'down') => void;
|
|
7
|
+
comment?: string;
|
|
8
|
+
onCommentChange?: (comment: string) => void;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** Thumbs up/down + optional comment micro-survey. */
|
|
16
|
+
export declare function FeedbackWidgetView({ question, vote, onVote, comment, onCommentChange, onSubmit, size, color, className, style, }: FeedbackWidgetViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface FileDropzoneEntry {
|
|
4
|
+
file: File;
|
|
5
|
+
/** 0-100. Omit or 100 for "done". */
|
|
6
|
+
progress?: number;
|
|
7
|
+
error?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface FileDropzoneViewProps {
|
|
10
|
+
files: FileDropzoneEntry[];
|
|
11
|
+
onFilesAdded: (files: File[]) => void;
|
|
12
|
+
onRemove: (index: number) => void;
|
|
13
|
+
accept?: string;
|
|
14
|
+
multiple?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
size?: DuiSize;
|
|
17
|
+
width?: DuiWidth;
|
|
18
|
+
borderRadius?: DuiRadius | number;
|
|
19
|
+
color?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
style?: CSSProperties;
|
|
22
|
+
}
|
|
23
|
+
export declare function FileDropzoneView({ files, onFilesAdded, onRemove, accept, multiple, disabled, size, width, borderRadius, color, className, style, }: FileDropzoneViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiWidth, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface FloatingLabelInputViewProps {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
type?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
size?: DuiSize;
|
|
10
|
+
width?: DuiWidth;
|
|
11
|
+
borderRadius?: DuiRadius | number;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
/** Floating-label input, distinct from TextInputView's static placeholder. */
|
|
17
|
+
export declare function FloatingLabelInputView({ label, value, onChange, type, disabled, size, width, borderRadius, color, className, style, }: FloatingLabelInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiWidth, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface GhostTypingPlaceholderViewProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
/** Rotating example queries typed/backspaced into the placeholder slot. */
|
|
7
|
+
examples: string[];
|
|
8
|
+
/** Milliseconds per character. Default 45. */
|
|
9
|
+
speed?: number;
|
|
10
|
+
pause?: number;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
width?: DuiWidth;
|
|
13
|
+
borderRadius?: DuiRadius | number;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** An input placeholder that types out rotating example queries, pauses, then backspaces into the next one. */
|
|
19
|
+
export declare function GhostTypingPlaceholderView({ value, onChange, examples, speed, pause, size, width, borderRadius, color, className, style, }: GhostTypingPlaceholderViewProps): import("react").JSX.Element;
|
|
@@ -17,6 +17,6 @@ export interface HiddenKeyValueItemViewProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Read-only hidden/system-managed key-value row.
|
|
19
19
|
* Ditto the lock-icon + dashed-border pattern from ComputedHeaderList —
|
|
20
|
-
* "Hidden"
|
|
20
|
+
* "Hidden" describes system-managed/locked fields; Daakia's visual style is kept.
|
|
21
21
|
*/
|
|
22
22
|
export declare function HiddenKeyValueItemView({ keyValue, value, badge, badgeColor, icon, masked, onDelete, deleteTitle, showDescription, className, }: HiddenKeyValueItemViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface IconPickerViewProps {
|
|
4
|
+
value: string | null;
|
|
5
|
+
onChange: (iconName: string) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
width?: DuiWidth;
|
|
9
|
+
borderRadius?: DuiRadius | number;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
export declare function IconPickerView({ value, onChange, disabled, size, width, borderRadius, color, className, style, }: IconPickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export interface InlineEditTextViewProps {
|
|
3
|
+
/** Current committed value. */
|
|
4
|
+
value: string;
|
|
5
|
+
/** Shown (dimmed by the consumer's CSS) when value is empty, and as the edit box placeholder. */
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
/** Called with the trimmed new value on Enter/blur. May be async — the display dims until it resolves. */
|
|
8
|
+
onSave: (next: string) => void | Promise<void>;
|
|
9
|
+
/** Multiline editing (default true): the box auto-grows with content; Shift+Enter inserts a newline, Enter saves. */
|
|
10
|
+
multiline?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Applied to the display span AND the edit box, so hover affordances style both states. */
|
|
13
|
+
className?: string;
|
|
14
|
+
accentColor?: string;
|
|
15
|
+
/** Hover tooltip on the display span (default "Double-click to edit"). */
|
|
16
|
+
tooltip?: string;
|
|
17
|
+
style?: CSSProperties;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* InlineEditTextView — double-click any run of text to edit it in place.
|
|
21
|
+
*
|
|
22
|
+
* The edit box is *seamless*: it inherits font, size, line-height, and color
|
|
23
|
+
* from its context, spans the full width of the line it replaces, auto-grows
|
|
24
|
+
* for multiline content, and uses negative margins so its padding + border
|
|
25
|
+
* overlay the text footprint instead of shifting the layout. The result reads
|
|
26
|
+
* as "the text became editable", not "a form input appeared".
|
|
27
|
+
*
|
|
28
|
+
* Enter saves (Shift+Enter = newline when multiline), Escape cancels, blur saves.
|
|
29
|
+
*/
|
|
30
|
+
export declare function InlineEditTextView({ value, placeholder, onSave, multiline, disabled, className, accentColor, tooltip, style, }: InlineEditTextViewProps): import("react").JSX.Element;
|