@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,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface InviteInputViewProps {
|
|
4
|
+
emails: string[];
|
|
5
|
+
onChange: (emails: string[]) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
borderRadius?: DuiRadius | number;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/** Email-chip input specialized for multi-invite forms — validates each entry before adding. */
|
|
15
|
+
export declare function InviteInputView({ emails, onChange, placeholder, disabled, size, borderRadius, color, className, style, }: InviteInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
/**
|
|
4
|
+
* Mask tokens: `9` = digit, `A` = letter, `*` = any character.
|
|
5
|
+
* Any other character in the mask is a literal separator, auto-inserted.
|
|
6
|
+
*/
|
|
7
|
+
export interface MaskedInputViewProps {
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
mask: string;
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
width?: DuiWidth;
|
|
15
|
+
borderRadius?: DuiRadius | number;
|
|
16
|
+
color?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
export declare function applyMask(mask: string, raw: string): string;
|
|
21
|
+
export declare function MaskedInputView({ value, onChange, mask, placeholder, disabled, size, width, borderRadius, color, className, style, }: MaskedInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface MentionUser {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface MentionInputViewProps {
|
|
8
|
+
value: string;
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
users: MentionUser[];
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
rows?: number;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
borderRadius?: DuiRadius | number;
|
|
16
|
+
color?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/** @mention autocomplete textarea. */
|
|
21
|
+
export declare function MentionInputView({ value, onChange, users, placeholder, rows, disabled, size, borderRadius, color, className, style, }: MentionInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface NpsSurveyViewProps {
|
|
4
|
+
question?: string;
|
|
5
|
+
score: number | null;
|
|
6
|
+
onScoreChange: (score: number) => void;
|
|
7
|
+
followUp?: string;
|
|
8
|
+
onFollowUpChange?: (text: string) => void;
|
|
9
|
+
onSubmit?: () => void;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** 0-10 Net Promoter Score picker with an optional follow-up text field. */
|
|
16
|
+
export declare function NpsSurveyView({ question, score, onScoreChange, followUp, onFollowUpChange, onSubmit, size, color, className, style, }: NpsSurveyViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface OtpInputViewProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
onComplete?: (value: string) => void;
|
|
7
|
+
length?: number;
|
|
8
|
+
/** Accepts only digits by default. Set false to allow any character. */
|
|
9
|
+
numeric?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
borderRadius?: DuiRadius | number;
|
|
13
|
+
color?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
export declare function OtpInputView({ value, onChange, onComplete, length, numeric, disabled, size, borderRadius, color, className, style, }: OtpInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface PhoneCountry {
|
|
4
|
+
code: string;
|
|
5
|
+
dialCode: string;
|
|
6
|
+
label: string;
|
|
7
|
+
flag?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const DEFAULT_PHONE_COUNTRIES: PhoneCountry[];
|
|
10
|
+
export interface PhoneInputViewProps {
|
|
11
|
+
countryCode: string;
|
|
12
|
+
onCountryChange: (code: string) => void;
|
|
13
|
+
number: string;
|
|
14
|
+
onNumberChange: (number: string) => void;
|
|
15
|
+
countries?: PhoneCountry[];
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
size?: DuiSize;
|
|
19
|
+
width?: DuiWidth;
|
|
20
|
+
borderRadius?: DuiRadius | number;
|
|
21
|
+
color?: string;
|
|
22
|
+
className?: string;
|
|
23
|
+
style?: CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
export declare function PhoneInputView({ countryCode, onCountryChange, number, onNumberChange, countries, placeholder, disabled, size, width, borderRadius, color, className, style, }: PhoneInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
export interface PickerOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface PickerColumn {
|
|
8
|
+
options: PickerOption[];
|
|
9
|
+
value: string;
|
|
10
|
+
onChange: (value: string) => void;
|
|
11
|
+
/** Optional caption rendered under the wheel, e.g. "Hour" / "Min". */
|
|
12
|
+
label?: string;
|
|
13
|
+
/** Flex-grow weight relative to other columns. Defaults to 1 (equal width). */
|
|
14
|
+
flex?: number;
|
|
15
|
+
}
|
|
16
|
+
export interface PickerViewProps {
|
|
17
|
+
/** Single-column mode — mutually exclusive with `columns`. */
|
|
18
|
+
options?: PickerOption[];
|
|
19
|
+
value?: string;
|
|
20
|
+
onChange?: (value: string) => void;
|
|
21
|
+
/** Multi-column mode — e.g. hour / minute / meridiem wheels side by side. */
|
|
22
|
+
columns?: PickerColumn[];
|
|
23
|
+
size?: DuiSize;
|
|
24
|
+
/** Odd number of rows visible in the wheel. Default 5. */
|
|
25
|
+
visibleRows?: number;
|
|
26
|
+
width?: DuiWidth;
|
|
27
|
+
borderRadius?: DuiRadius | number;
|
|
28
|
+
/** Accent color for the selection highlight band. */
|
|
29
|
+
color?: string;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
className?: string;
|
|
32
|
+
style?: React.CSSProperties;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Scrollable wheel picker. Single column via `options`/`value`/`onChange`,
|
|
36
|
+
* or multiple synchronized wheels (hour/min/meridiem-style) via `columns`.
|
|
37
|
+
*/
|
|
38
|
+
export declare function PickerView({ options, value, onChange, columns, size, visibleRows, width, borderRadius, color, disabled, className, style, }: PickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type PriorityLevel = 'low' | 'medium' | 'high' | 'urgent';
|
|
4
|
+
export interface PriorityPickerViewProps {
|
|
5
|
+
value: PriorityLevel;
|
|
6
|
+
onChange: (value: PriorityLevel) => void;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Low/medium/high/urgent selector with color-coded dots — a color-coded priority picker. */
|
|
13
|
+
export declare function PriorityPickerView({ value, onChange, size, disabled, className, style, }: PriorityPickerViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface RadioCardOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface RadioCardViewProps {
|
|
11
|
+
options: RadioCardOption[];
|
|
12
|
+
value: string;
|
|
13
|
+
onChange: (value: string) => void;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
borderRadius?: DuiRadius | number;
|
|
16
|
+
accentColor?: string;
|
|
17
|
+
/** Number of columns in the card grid. Default 1 (stacked rows). */
|
|
18
|
+
columns?: number;
|
|
19
|
+
className?: string;
|
|
20
|
+
style?: CSSProperties;
|
|
21
|
+
}
|
|
22
|
+
export declare function RadioCardView({ options, value, onChange, size, borderRadius, accentColor, columns, className, style, }: RadioCardViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RadioOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface RadioGroupViewProps {
|
|
10
|
+
options: RadioOption[];
|
|
11
|
+
value: string;
|
|
12
|
+
onChange: (value: string) => void;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
accentColor?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** Stack rows vertically (default) or lay them out horizontally. */
|
|
17
|
+
direction?: 'vertical' | 'horizontal';
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare function RadioGroupView({ options, value, onChange, size, accentColor, disabled, direction, className, style, }: RadioGroupViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RangeSliderViewProps {
|
|
4
|
+
value: [number, number];
|
|
5
|
+
onChange: (value: [number, number]) => void;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
accentColor?: string;
|
|
12
|
+
width?: number | string;
|
|
13
|
+
showValue?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
/** Dual-handle min/max range slider — distinct from the single-handle `SliderView`. */
|
|
18
|
+
export declare function RangeSliderView({ value, onChange, min, max, step, disabled, size, accentColor, width, showValue, className, style, }: RangeSliderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface RatingViewProps {
|
|
4
|
+
value: number;
|
|
5
|
+
onChange?: (value: number) => void;
|
|
6
|
+
max?: number;
|
|
7
|
+
/** Allow selecting half steps (e.g. 3.5). Default false. */
|
|
8
|
+
allowHalf?: boolean;
|
|
9
|
+
readOnly?: boolean;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
icon?: 'star' | 'heart';
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
export declare function RatingView({ value, onChange, max, allowHalf, readOnly, size, color, icon, className, style, }: RatingViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export type RichTextAction = 'bold' | 'italic' | 'underline' | 'link' | 'list' | 'code';
|
|
4
|
+
export interface RichTextToolbarViewProps {
|
|
5
|
+
active?: RichTextAction[];
|
|
6
|
+
onAction: (action: RichTextAction) => void;
|
|
7
|
+
size?: DuiSize;
|
|
8
|
+
color?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
}
|
|
12
|
+
/** Formatting toolbar primitive — bold/italic/underline/link/list/code. */
|
|
13
|
+
export declare function RichTextToolbarView({ active, onAction, size, color, className, style, }: RichTextToolbarViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export interface RoleOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface RoleSelectViewProps {
|
|
9
|
+
options: RoleOption[];
|
|
10
|
+
value: string;
|
|
11
|
+
onChange: (value: string) => void;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
width?: DuiWidth;
|
|
15
|
+
borderRadius?: DuiRadius | number;
|
|
16
|
+
color?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/** Role dropdown with a per-option description shown beneath the label. */
|
|
21
|
+
export declare function RoleSelectView({ options, value, onChange, disabled, size, width, borderRadius, color, className, style, }: RoleSelectViewProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { DuiSize } from '../../core/DuiTypes';
|
|
2
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
3
|
+
export type SegmentedControlVariant = 'pill' | 'rounded' | 'pointy';
|
|
3
4
|
export interface SegmentedControlOption {
|
|
4
5
|
value: string;
|
|
5
6
|
label: string;
|
|
@@ -11,13 +12,19 @@ export interface SegmentedControlViewProps {
|
|
|
11
12
|
value: string;
|
|
12
13
|
onChange: (value: string) => void;
|
|
13
14
|
size?: DuiSize;
|
|
14
|
-
/**
|
|
15
|
+
/** Shape of the track/indicator. 'pill' = fully rounded ends (iOS default), 'rounded' = size-based radius, 'pointy' = sharp square corners. Default 'pill'. */
|
|
16
|
+
variant?: SegmentedControlVariant;
|
|
17
|
+
/** Solid fill color of the active indicator. */
|
|
15
18
|
accentColor?: string;
|
|
16
|
-
/** Stretch to fill container width */
|
|
19
|
+
/** Stretch to fill container width, segments share it equally. */
|
|
17
20
|
fullWidth?: boolean;
|
|
21
|
+
width?: DuiWidth;
|
|
22
|
+
/** Explicit radius override — takes precedence over `variant`. */
|
|
23
|
+
borderRadius?: DuiRadius | number;
|
|
24
|
+
/** Inactive label text color override. */
|
|
25
|
+
color?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
style?: React.CSSProperties;
|
|
18
29
|
}
|
|
19
|
-
|
|
20
|
-
* Segmented control with a sliding animated indicator.
|
|
21
|
-
* Active segment text color shifts to accentColor; inactive stays text-secondary.
|
|
22
|
-
*/
|
|
23
|
-
export declare function SegmentedControlView({ options, value, onChange, size, accentColor, fullWidth, }: SegmentedControlViewProps): import("react").JSX.Element;
|
|
30
|
+
export declare function SegmentedControlView({ options, value, onChange, size, variant, accentColor, fullWidth, width, borderRadius, color, disabled, className, style, }: SegmentedControlViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface ShortcutRecorderViewProps {
|
|
4
|
+
value: string[];
|
|
5
|
+
onChange: (keys: string[]) => void;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: DuiSize;
|
|
9
|
+
borderRadius?: DuiRadius | number;
|
|
10
|
+
color?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
}
|
|
14
|
+
/** Captures a keybinding — click to start recording, press keys, click away or Enter to commit. */
|
|
15
|
+
export declare function ShortcutRecorderView({ value, onChange, placeholder, disabled, size, borderRadius, color, className, style, }: ShortcutRecorderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface SpectrumSliderViewProps {
|
|
4
|
+
value: number;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
onChange: (value: number) => void;
|
|
8
|
+
/** CSS gradient stops rendered along the track, e.g. hue, severity, or temperature. */
|
|
9
|
+
gradient?: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
size?: DuiSize;
|
|
12
|
+
className?: string;
|
|
13
|
+
style?: CSSProperties;
|
|
14
|
+
}
|
|
15
|
+
/** The slider track is a live rendered gradient spectrum; the handle shows a magnified live-color preview bubble while dragging. */
|
|
16
|
+
export declare function SpectrumSliderView({ value, min, max, onChange, gradient, width, size, className, style, }: SpectrumSliderViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface StepperInputViewProps {
|
|
4
|
+
value: number;
|
|
5
|
+
onChange: (value: number) => void;
|
|
6
|
+
min?: number;
|
|
7
|
+
max?: number;
|
|
8
|
+
step?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
borderRadius?: DuiRadius | number;
|
|
12
|
+
color?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
}
|
|
16
|
+
export declare function StepperInputView({ value, onChange, min, max, step, disabled, size, borderRadius, color, className, style, }: StepperInputViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface SwitchGroupItem {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
icon?: ReactNode;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface SwitchGroupViewProps {
|
|
11
|
+
title?: string;
|
|
12
|
+
items: SwitchGroupItem[];
|
|
13
|
+
/** Set of currently-enabled item values. */
|
|
14
|
+
checked: string[];
|
|
15
|
+
onChange: (checked: string[]) => void;
|
|
16
|
+
size?: DuiSize;
|
|
17
|
+
color?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare function SwitchGroupView({ title, items, checked, onChange, size, color, className, style, }: SwitchGroupViewProps): import("react").JSX.Element;
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { DuiSize, DuiRadius, DuiWidth, DuiFontStyle } from '../../core/DuiTypes';
|
|
2
3
|
export interface TabItem {
|
|
3
4
|
id: string;
|
|
4
5
|
label: string;
|
|
6
|
+
/** Optional icon rendered before the label (any variant) */
|
|
7
|
+
icon?: ReactNode;
|
|
5
8
|
badge?: number;
|
|
6
9
|
dot?: boolean;
|
|
7
10
|
dotColor?: string;
|
|
8
11
|
badgeColor?: string;
|
|
12
|
+
/**
|
|
13
|
+
* 'right' pushes this tab (and any tabs after it) to the far end of the
|
|
14
|
+
* row via margin-left: auto — e.g. tabs=[Params, Headers, Body, {label:
|
|
15
|
+
* 'Auth', align: 'right'}] renders "Params Headers Body ⟶ Auth".
|
|
16
|
+
* Only meaningful on the first tab marked 'right' in the list.
|
|
17
|
+
*/
|
|
18
|
+
align?: 'left' | 'right';
|
|
9
19
|
}
|
|
10
20
|
export type TabVariant = 'pill' | 'underline' | 'chip' | 'picker';
|
|
11
21
|
export interface TabViewProps {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TimeTravelSliderViewProps<T> {
|
|
4
|
+
/** Historical states, oldest first. */
|
|
5
|
+
states: T[];
|
|
6
|
+
/** Index of the currently-scrubbed state. */
|
|
7
|
+
index: number;
|
|
8
|
+
onScrub: (index: number) => void;
|
|
9
|
+
/** Extracts a plottable number (e.g. a metric) from each state, for the background sparkline. */
|
|
10
|
+
toValue: (state: T) => number;
|
|
11
|
+
/** Extracts a short label shown above the playhead. */
|
|
12
|
+
toLabel?: (state: T, index: number) => string;
|
|
13
|
+
width?: number;
|
|
14
|
+
height?: number;
|
|
15
|
+
color?: string;
|
|
16
|
+
size?: DuiSize;
|
|
17
|
+
className?: string;
|
|
18
|
+
style?: CSSProperties;
|
|
19
|
+
}
|
|
20
|
+
/** Scrub a draggable playhead across a sparkline of past states — a time-travel state scrubber, generalized. */
|
|
21
|
+
export declare function TimeTravelSliderView<T>({ states, index, onScrub, toValue, toLabel, width, height, color, size, className, style, }: TimeTravelSliderViewProps<T>): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { DuiSize, DuiRadius, DuiWidth } from '../../core/DuiTypes';
|
|
2
|
+
export interface TimeWheelValue {
|
|
3
|
+
hour: number;
|
|
4
|
+
minute: number;
|
|
5
|
+
meridiem?: 'AM' | 'PM';
|
|
6
|
+
}
|
|
7
|
+
export interface TimeWheelViewProps {
|
|
8
|
+
value: TimeWheelValue;
|
|
9
|
+
onChange: (value: TimeWheelValue) => void;
|
|
10
|
+
use24Hour?: boolean;
|
|
11
|
+
minuteStep?: number;
|
|
12
|
+
size?: DuiSize;
|
|
13
|
+
width?: DuiWidth;
|
|
14
|
+
borderRadius?: DuiRadius | number;
|
|
15
|
+
color?: string;
|
|
16
|
+
visibleRows?: number;
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare function TimeWheelView({ value, onChange, use24Hour, minuteStep, size, width, borderRadius, color, visibleRows, disabled, className, style, }: TimeWheelViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize, DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface TransferItem {
|
|
4
|
+
value: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface TransferListViewProps {
|
|
8
|
+
items: TransferItem[];
|
|
9
|
+
/** Values currently on the right ("selected") side. */
|
|
10
|
+
value: string[];
|
|
11
|
+
onChange: (value: string[]) => void;
|
|
12
|
+
leftTitle?: string;
|
|
13
|
+
rightTitle?: string;
|
|
14
|
+
size?: DuiSize;
|
|
15
|
+
borderRadius?: DuiRadius | number;
|
|
16
|
+
color?: string;
|
|
17
|
+
height?: number;
|
|
18
|
+
className?: string;
|
|
19
|
+
style?: CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare function TransferListView({ items, value, onChange, leftTitle, rightTitle, size, borderRadius, color, height, className, style, }: TransferListViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface TreeSelectNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
children?: TreeSelectNode[];
|
|
7
|
+
}
|
|
8
|
+
export interface TreeSelectViewProps {
|
|
9
|
+
nodes: TreeSelectNode[];
|
|
10
|
+
/** Checked node ids. */
|
|
11
|
+
value: string[];
|
|
12
|
+
onChange: (value: string[]) => void;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Checkbox-driven hierarchical select — tri-state parent checkboxes over a folder-style tree. */
|
|
19
|
+
export declare function TreeSelectView({ nodes, value, onChange, size, color, className, style, }: TreeSelectViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface WizardStep {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface WizardStepperViewProps {
|
|
9
|
+
steps: WizardStep[];
|
|
10
|
+
activeStep: string;
|
|
11
|
+
completedSteps?: string[];
|
|
12
|
+
onStepClick?: (id: string) => void;
|
|
13
|
+
size?: DuiSize;
|
|
14
|
+
color?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
style?: CSSProperties;
|
|
17
|
+
}
|
|
18
|
+
/** Multi-step form wizard progress header — numbered step indicator pattern. Distinct from `StepperInputView` (numeric +/-). */
|
|
19
|
+
export declare function WizardStepperView({ steps, activeStep, completedSteps, onStepClick, size, color, className, style, }: WizardStepperViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface AccordionGroupItem {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
badge?: number;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface AccordionGroupViewProps {
|
|
9
|
+
items: AccordionGroupItem[];
|
|
10
|
+
/** Allow more than one section open at once. Default false (single-open, accordion-style). */
|
|
11
|
+
multiple?: boolean;
|
|
12
|
+
defaultOpen?: string[];
|
|
13
|
+
accentColor?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
/** Managed single/multi-open accordion group built on `CollapsibleSectionView`. */
|
|
18
|
+
export declare function AccordionGroupView({ items, multiple, defaultOpen, accentColor, className, style, }: AccordionGroupViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
export interface AffixViewProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
/** Distance from viewport top before sticking. Default 0. */
|
|
5
|
+
offsetTop?: number;
|
|
6
|
+
onStickyChange?: (stuck: boolean) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
style?: CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/** Sticky-on-scroll wrapper — stays pinned once it reaches `offsetTop`, releases at the end of its placeholder. */
|
|
11
|
+
export declare function AffixView({ children, offsetTop, onStickyChange, className, style, }: AffixViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
3
|
+
export interface AnchorLink {
|
|
4
|
+
/** Section element id, without the `#`. */
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AnchorViewProps {
|
|
9
|
+
links: AnchorLink[];
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
/** Extra offset (px) for scroll-into-view and scroll-spy detection, e.g. a fixed header height. */
|
|
13
|
+
offset?: number;
|
|
14
|
+
className?: string;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
}
|
|
17
|
+
/** Scroll-spy in-page navigation — highlights the section currently in view, click to jump. */
|
|
18
|
+
export declare function AnchorView({ links, size, color, offset, className, style, }: AnchorViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { DuiRadius } from '../../core/DuiTypes';
|
|
3
|
+
export interface AspectRatioViewProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** width / height. Default 16/9. */
|
|
6
|
+
ratio?: number;
|
|
7
|
+
borderRadius?: DuiRadius | number;
|
|
8
|
+
className?: string;
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
/** Fixed aspect-ratio box for image/video containers — content fills it via absolute inset. */
|
|
12
|
+
export declare function AspectRatioView({ children, ratio, borderRadius, className, style, }: AspectRatioViewProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
2
|
+
export interface BackToTopViewProps {
|
|
3
|
+
/** Scroll threshold (px) before the button appears. Default 240. */
|
|
4
|
+
threshold?: number;
|
|
5
|
+
size?: DuiSize;
|
|
6
|
+
color?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Floating scroll-to-top button — fades in once the page scrolls past `threshold`. */
|
|
10
|
+
export declare function BackToTopView({ threshold, size, color, className, }: BackToTopViewProps): import("react").JSX.Element | null;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DuiSize } from '../../core/DuiTypes';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
}
|
|
6
|
+
export interface BreadcrumbViewProps {
|
|
7
|
+
items: BreadcrumbItem[];
|
|
8
|
+
/** Collapse the middle into a "…" when there are more than this many items. Default 4. */
|
|
9
|
+
maxVisible?: number;
|
|
10
|
+
size?: DuiSize;
|
|
11
|
+
color?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function BreadcrumbView({ items, maxVisible, size, color, className, }: BreadcrumbViewProps): import("react").JSX.Element;
|