@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.
Files changed (336) hide show
  1. package/README.md +221 -38
  2. package/dist/assets/DuiShowcase-C2jk2ySV.js +74705 -0
  3. package/dist/assets/DuiShowcase-CZLjKDpL.css +1 -0
  4. package/dist/assets/abap-DLDM7-KI.js +1 -0
  5. package/dist/assets/apex-DNDY2TF8.js +1 -0
  6. package/dist/assets/azcli-Y6nb8tq_.js +1 -0
  7. package/dist/assets/bat-BwHxbl9M.js +1 -0
  8. package/dist/assets/bicep-CFznDFnq.js +2 -0
  9. package/dist/assets/cameligo-Bf6VGUru.js +1 -0
  10. package/dist/assets/clojure-Dnu-v4kV.js +1 -0
  11. package/dist/assets/codicon-ngg6Pgfi.ttf +0 -0
  12. package/dist/assets/coffee-Bd8akH9Z.js +1 -0
  13. package/dist/assets/cpp-BbWJElDN.js +1 -0
  14. package/dist/assets/csharp-Co3qMtFm.js +1 -0
  15. package/dist/assets/csp-D-4FJmMZ.js +1 -0
  16. package/dist/assets/css-DdJfP1eB.js +3 -0
  17. package/dist/assets/css.worker-B4z49cGk.js +93 -0
  18. package/dist/assets/cssMode-CZYOZ1AO.js +1 -0
  19. package/dist/assets/cypher-cTPe9QuQ.js +1 -0
  20. package/dist/assets/dart-BOtBlQCF.js +1 -0
  21. package/dist/assets/dockerfile-BG73LgW2.js +1 -0
  22. package/dist/assets/ecl-BEgZUVRK.js +1 -0
  23. package/dist/assets/elixir-BkW5O-1t.js +1 -0
  24. package/dist/assets/flow9-BeJ5waoc.js +1 -0
  25. package/dist/assets/freemarker2-CGSa1nHJ.js +3 -0
  26. package/dist/assets/fsharp-PahG7c26.js +1 -0
  27. package/dist/assets/go-acbASCJo.js +1 -0
  28. package/dist/assets/graphql-BxJiqAUM.js +1 -0
  29. package/dist/assets/handlebars-mB8dxbcs.js +1 -0
  30. package/dist/assets/hcl-DtV1sZF8.js +1 -0
  31. package/dist/assets/html-l7YRKuHI.js +1 -0
  32. package/dist/assets/html.worker-DtiGdgqp.js +470 -0
  33. package/dist/assets/htmlMode-CuoiFE2t.js +1 -0
  34. package/dist/assets/index-B12PznEF.js +50 -0
  35. package/dist/assets/index-B_5G6LrJ.css +10 -0
  36. package/dist/assets/ini-Kd9XrMLS.js +1 -0
  37. package/dist/assets/java-CXBNlu9o.js +1 -0
  38. package/dist/assets/javascript-9UYwmKgx.js +1 -0
  39. package/dist/assets/json.worker-leyajbqV.js +58 -0
  40. package/dist/assets/jsonMode-6uegdfHj.js +7 -0
  41. package/dist/assets/julia-cl7-CwDS.js +1 -0
  42. package/dist/assets/kotlin-s7OhZKlX.js +1 -0
  43. package/dist/assets/less-9HpZscsL.js +2 -0
  44. package/dist/assets/lexon-OrD6JF1K.js +1 -0
  45. package/dist/assets/liquid-C8P3CEDc.js +1 -0
  46. package/dist/assets/lspLanguageFeatures-Ju8ugRgx.js +4 -0
  47. package/dist/assets/lua-Cyyb5UIc.js +1 -0
  48. package/dist/assets/m3-B8OfTtLu.js +1 -0
  49. package/dist/assets/markdown-BFxVWTOG.js +1 -0
  50. package/dist/assets/mdx-D4_p5PzA.js +1 -0
  51. package/dist/assets/mips-CiqrrVzr.js +1 -0
  52. package/dist/assets/monaco-editor-CN2OOCze.js +908 -0
  53. package/dist/assets/monaco-editor-qiF_U8vl.css +1 -0
  54. package/dist/assets/msdax-DmeGPVcC.js +1 -0
  55. package/dist/assets/mysql-C_tMU-Nz.js +1 -0
  56. package/dist/assets/objective-c-BDtDVThU.js +1 -0
  57. package/dist/assets/pascal-vHIfCaH5.js +1 -0
  58. package/dist/assets/pascaligo-DtZ0uQbO.js +1 -0
  59. package/dist/assets/perl-Ub6l9XKa.js +1 -0
  60. package/dist/assets/pgsql-BlNEE0v7.js +1 -0
  61. package/dist/assets/php-BBUBE1dy.js +1 -0
  62. package/dist/assets/pla-DSh2-awV.js +1 -0
  63. package/dist/assets/postiats-CocnycG-.js +1 -0
  64. package/dist/assets/powerquery-tScXyioY.js +1 -0
  65. package/dist/assets/powershell-COWaemsV.js +1 -0
  66. package/dist/assets/protobuf-Brw8urJB.js +2 -0
  67. package/dist/assets/pug-8SOpv6rk.js +1 -0
  68. package/dist/assets/python-BDvE0baC.js +1 -0
  69. package/dist/assets/qsharp-Bw9ernYp.js +1 -0
  70. package/dist/assets/r-j7ic8hl3.js +1 -0
  71. package/dist/assets/razor-3AZt1jFw.js +1 -0
  72. package/dist/assets/redis-Bu5POkcn.js +1 -0
  73. package/dist/assets/redshift-Bs9aos_-.js +1 -0
  74. package/dist/assets/restructuredtext-CqXO7rUv.js +1 -0
  75. package/dist/assets/ruby-zBfavPgS.js +1 -0
  76. package/dist/assets/rust-BzKRNQWT.js +1 -0
  77. package/dist/assets/sb-BBc9UKZt.js +1 -0
  78. package/dist/assets/scala-D9hQfWCl.js +1 -0
  79. package/dist/assets/scheme-BPhDTwHR.js +1 -0
  80. package/dist/assets/scss-CBJaRo0y.js +3 -0
  81. package/dist/assets/shell-DiJ1NA_G.js +1 -0
  82. package/dist/assets/solidity-Db0IVjzk.js +1 -0
  83. package/dist/assets/sophia-CnS9iZB_.js +1 -0
  84. package/dist/assets/sparql-CJmd_6j2.js +1 -0
  85. package/dist/assets/sql-ClhHkBeG.js +1 -0
  86. package/dist/assets/st-CHwy0fLd.js +1 -0
  87. package/dist/assets/swift-Bqt4WxQ4.js +3 -0
  88. package/dist/assets/systemverilog-Bs9z6M-B.js +1 -0
  89. package/dist/assets/tcl-Dm6ycUr_.js +1 -0
  90. package/dist/assets/ts.worker-59MjiAqk.js +67731 -0
  91. package/dist/assets/tsMode-2fAJOXuF.js +11 -0
  92. package/dist/assets/twig-Csy3S7wG.js +1 -0
  93. package/dist/assets/typescript-Bv1W4NlY.js +1 -0
  94. package/dist/assets/typespec-Btyra-wh.js +1 -0
  95. package/dist/assets/vb-Db0cS2oM.js +1 -0
  96. package/dist/assets/wgsl-BTesnYfV.js +298 -0
  97. package/dist/assets/xml-CR03X85Q.js +1 -0
  98. package/dist/assets/yaml-Qi3RsNvX.js +1 -0
  99. package/dist/chunks/{EditorView.shell-BGH2VhWM.js → EditorView.shell-DWGMOgiy.js} +215 -165
  100. package/dist/chunks/EditorView.shell-DWGMOgiy.js.map +1 -0
  101. package/dist/chunks/daakia-icons-BpwUOdSO.js +4665 -0
  102. package/dist/chunks/daakia-icons-BpwUOdSO.js.map +1 -0
  103. package/dist/chunks/vis-runtime-DkpA8K_T.js +32 -0
  104. package/dist/chunks/vis-runtime-DkpA8K_T.js.map +1 -0
  105. package/dist/icons/daakia-icons.d.ts +366 -0
  106. package/dist/index.html +15 -0
  107. package/dist/index.js +24569 -13515
  108. package/dist/index.js.map +1 -1
  109. package/dist/lib/components/button/AIButtonView.d.ts +1 -1
  110. package/dist/lib/components/button/BookmarkButtonView.d.ts +10 -0
  111. package/dist/lib/components/button/FabView.d.ts +20 -0
  112. package/dist/lib/components/button/FollowButtonView.d.ts +10 -0
  113. package/dist/lib/components/button/HoldToConfirmView.d.ts +14 -0
  114. package/dist/lib/components/button/IconButtonView.d.ts +1 -1
  115. package/dist/lib/components/button/LikeButtonView.d.ts +11 -0
  116. package/dist/lib/components/button/MorphingIconButtonView.d.ts +14 -0
  117. package/dist/lib/components/button/ThemeToggleView.d.ts +12 -0
  118. package/dist/lib/components/button/VoteWidgetView.d.ts +13 -0
  119. package/dist/lib/components/chips/ChipView.d.ts +5 -2
  120. package/dist/lib/components/chips/CommandChipView.d.ts +28 -0
  121. package/dist/lib/components/display/AIStreamingTextView.d.ts +16 -0
  122. package/dist/lib/components/display/ActivityFeedView.d.ts +19 -0
  123. package/dist/lib/components/display/ApiKeyRowView.d.ts +12 -0
  124. package/dist/lib/components/display/ArticleCardView.d.ts +16 -0
  125. package/dist/lib/components/display/AudioPlayerView.d.ts +10 -0
  126. package/dist/lib/components/display/AudioWaveformView.d.ts +15 -0
  127. package/dist/lib/components/display/AuditLogRowView.d.ts +14 -0
  128. package/dist/lib/components/display/AvatarGroupView.d.ts +17 -0
  129. package/dist/lib/components/display/AvatarView.d.ts +15 -0
  130. package/dist/lib/components/display/BannerView.d.ts +17 -0
  131. package/dist/lib/components/display/BarcodeView.d.ts +11 -0
  132. package/dist/lib/components/display/BreathingLoaderView.d.ts +11 -0
  133. package/dist/lib/components/display/CalloutView.d.ts +10 -0
  134. package/dist/lib/components/display/CarouselView.d.ts +12 -0
  135. package/dist/lib/components/display/ChangelogEntryView.d.ts +16 -0
  136. package/dist/lib/components/display/CodeBlockView.d.ts +15 -1
  137. package/dist/lib/components/display/ColumnVisibilityMenuView.d.ts +26 -0
  138. package/dist/lib/components/display/CommandOrbView.d.ts +15 -0
  139. package/dist/lib/components/display/CommentThreadView.d.ts +20 -0
  140. package/dist/lib/components/display/ComparisonSliderView.d.ts +12 -0
  141. package/dist/lib/components/display/ConfettiBurstView.d.ts +17 -0
  142. package/dist/lib/components/display/ConnectionPulseLineView.d.ts +14 -0
  143. package/dist/lib/components/display/ConstellationLoaderView.d.ts +14 -0
  144. package/dist/lib/components/display/ContactCardView.d.ts +19 -0
  145. package/dist/lib/components/display/CookieConsentBannerView.d.ts +14 -0
  146. package/dist/lib/components/display/CountUpNumberView.d.ts +16 -0
  147. package/dist/lib/components/display/CountdownRingView.d.ts +19 -0
  148. package/dist/lib/components/display/DataGridToolbarView.d.ts +20 -0
  149. package/dist/lib/components/display/DataTableView.d.ts +2 -1
  150. package/dist/lib/components/display/DescriptionsView.d.ts +19 -0
  151. package/dist/lib/components/display/DiffMorphView.d.ts +13 -0
  152. package/dist/lib/components/display/DragHandleView.d.ts +10 -0
  153. package/dist/lib/components/display/EditableCellView.d.ts +13 -0
  154. package/dist/lib/components/display/EmptyInboxView.d.ts +11 -0
  155. package/dist/lib/components/display/EnvironmentBadgeView.d.ts +13 -0
  156. package/dist/lib/components/display/FeatureSpotlightBadgeView.d.ts +11 -0
  157. package/dist/lib/components/display/FileIconView.d.ts +11 -0
  158. package/dist/lib/components/display/FileListView.d.ts +20 -0
  159. package/dist/lib/components/display/FilterBarView.d.ts +17 -0
  160. package/dist/lib/components/display/GaugeView.d.ts +12 -0
  161. package/dist/lib/components/display/GlowBorderView.d.ts +11 -0
  162. package/dist/lib/components/display/GradientTextView.d.ts +13 -0
  163. package/dist/lib/components/display/HeatmapCalendarView.d.ts +14 -0
  164. package/dist/lib/components/display/HoloCardView.d.ts +10 -0
  165. package/dist/lib/components/display/HudView.d.ts +36 -4
  166. package/dist/lib/components/display/ImageCropperView.d.ts +19 -0
  167. package/dist/lib/components/display/ImageGalleryView.d.ts +15 -0
  168. package/dist/lib/components/display/ImageZoomView.d.ts +10 -0
  169. package/dist/lib/components/display/InfoView.d.ts +23 -0
  170. package/dist/lib/components/display/InspectorPanelView.d.ts +29 -0
  171. package/dist/lib/components/display/IntegrationCardView.d.ts +16 -0
  172. package/dist/lib/components/display/KanbanBoardView.d.ts +27 -0
  173. package/dist/lib/components/display/KbdView.d.ts +11 -0
  174. package/dist/lib/components/display/KeyValueListView.d.ts +14 -0
  175. package/dist/lib/components/display/LatencyPulseView.d.ts +16 -0
  176. package/dist/lib/components/display/LicenseBadgeView.d.ts +11 -0
  177. package/dist/lib/components/display/ListView.d.ts +19 -0
  178. package/dist/lib/components/display/LiveCursorPresenceView.d.ts +19 -0
  179. package/dist/lib/components/display/LoaderView.d.ts +12 -1
  180. package/dist/lib/components/display/MagneticButtonView.d.ts +14 -0
  181. package/dist/lib/components/display/MaintenanceBannerView.d.ts +12 -0
  182. package/dist/lib/components/display/MessageBannerView.d.ts +13 -0
  183. package/dist/lib/components/display/MessageBubbleView.d.ts +14 -0
  184. package/dist/lib/components/display/NetworkGraphView.d.ts +59 -0
  185. package/dist/lib/components/display/NetworkGraphView.fallback.d.ts +11 -0
  186. package/dist/lib/components/display/NetworkGraphView.vis.d.ts +2 -0
  187. package/dist/lib/components/display/NetworkWeatherView.d.ts +12 -0
  188. package/dist/lib/components/display/NotificationBadgeView.d.ts +17 -0
  189. package/dist/lib/components/display/ParticleBackgroundView.d.ts +12 -0
  190. package/dist/lib/components/display/PathRevealView.d.ts +16 -0
  191. package/dist/lib/components/display/PdfViewerView.d.ts +11 -0
  192. package/dist/lib/components/display/PermissionMatrixView.d.ts +15 -0
  193. package/dist/lib/components/display/PresenceDotView.d.ts +12 -0
  194. package/dist/lib/components/display/PricingCardView.d.ts +16 -0
  195. package/dist/lib/components/display/ProgressBarView.d.ts +15 -0
  196. package/dist/lib/components/display/ProgressRingView.d.ts +13 -0
  197. package/dist/lib/components/display/PulseDotView.d.ts +10 -0
  198. package/dist/lib/components/display/QRCodeView.d.ts +11 -0
  199. package/dist/lib/components/display/QuoteBlockView.d.ts +14 -0
  200. package/dist/lib/components/display/RateLimitMeterView.d.ts +12 -0
  201. package/dist/lib/components/display/RatingBreakdownView.d.ts +12 -0
  202. package/dist/lib/components/display/RequestFlowView.d.ts +23 -0
  203. package/dist/lib/components/display/ResultView.d.ts +14 -0
  204. package/dist/lib/components/display/RevealOnScrollView.d.ts +14 -0
  205. package/dist/lib/components/display/SchemaBlueprintView.d.ts +23 -0
  206. package/dist/lib/components/display/SegmentedProgressBarView.d.ts +17 -0
  207. package/dist/lib/components/display/ShareSheetView.d.ts +19 -0
  208. package/dist/lib/components/display/SignaturePadView.d.ts +10 -0
  209. package/dist/lib/components/display/SkeletonView.d.ts +14 -0
  210. package/dist/lib/components/display/SnackbarView.d.ts +18 -0
  211. package/dist/lib/components/display/SortableHeaderView.d.ts +14 -0
  212. package/dist/lib/components/display/SparklineView.d.ts +14 -0
  213. package/dist/lib/components/display/StackedSwipeCardView.d.ts +14 -0
  214. package/dist/lib/components/display/StatTrendCardView.d.ts +16 -0
  215. package/dist/lib/components/display/StatisticView.d.ts +18 -0
  216. package/dist/lib/components/display/StatsCardView.d.ts +5 -1
  217. package/dist/lib/components/display/StatusPageRowView.d.ts +13 -0
  218. package/dist/lib/components/display/StickyTableHeaderView.d.ts +21 -0
  219. package/dist/lib/components/display/TablePaginationView.d.ts +16 -0
  220. package/dist/lib/components/display/TagCloudView.d.ts +17 -0
  221. package/dist/lib/components/display/TeamMemberRowView.d.ts +13 -0
  222. package/dist/lib/components/display/TerminalBlockView.d.ts +8 -0
  223. package/dist/lib/components/display/TestimonialCardView.d.ts +13 -0
  224. package/dist/lib/components/display/TiltCardView.d.ts +12 -0
  225. package/dist/lib/components/display/TimelineView.d.ts +20 -0
  226. package/dist/lib/components/display/TrialCountdownBannerView.d.ts +12 -0
  227. package/dist/lib/components/display/TypewriterTextView.d.ts +16 -0
  228. package/dist/lib/components/display/TypingIndicatorView.d.ts +11 -0
  229. package/dist/lib/components/display/UndoRedoTimelineView.d.ts +19 -0
  230. package/dist/lib/components/display/UsageMeterView.d.ts +17 -0
  231. package/dist/lib/components/display/VersionBadgeView.d.ts +13 -0
  232. package/dist/lib/components/display/VideoPlayerView.d.ts +10 -0
  233. package/dist/lib/components/display/VirtualizedListView.d.ts +13 -0
  234. package/dist/lib/components/display/WebhookStatusView.d.ts +15 -0
  235. package/dist/lib/components/input/AvatarUploadView.d.ts +14 -0
  236. package/dist/lib/components/input/CalendarView.d.ts +25 -0
  237. package/dist/lib/components/input/CascaderView.d.ts +23 -0
  238. package/dist/lib/components/input/ChatInputView.d.ts +17 -0
  239. package/dist/lib/components/input/ChecklistView.d.ts +17 -0
  240. package/dist/lib/components/input/ColorPickerView.d.ts +14 -0
  241. package/dist/lib/components/input/ComboBoxView.d.ts +23 -0
  242. package/dist/lib/components/input/DateInputView.d.ts +17 -0
  243. package/dist/lib/components/input/DateRangePickerView.d.ts +26 -0
  244. package/dist/lib/components/input/DateTimeInputView.d.ts +30 -0
  245. package/dist/lib/components/input/DialKnobInputView.d.ts +17 -0
  246. package/dist/lib/components/input/EditorView.d.ts +1 -1
  247. package/dist/lib/components/input/EmojiPickerView.d.ts +14 -0
  248. package/dist/lib/components/input/FeedbackWidgetView.d.ts +16 -0
  249. package/dist/lib/components/input/FileDropzoneView.d.ts +23 -0
  250. package/dist/lib/components/input/FloatingLabelInputView.d.ts +17 -0
  251. package/dist/lib/components/input/GhostTypingPlaceholderView.d.ts +19 -0
  252. package/dist/lib/components/input/HiddenKeyValueItemView.d.ts +1 -1
  253. package/dist/lib/components/input/IconPickerView.d.ts +14 -0
  254. package/dist/lib/components/input/InlineEditTextView.d.ts +30 -0
  255. package/dist/lib/components/input/InviteInputView.d.ts +15 -0
  256. package/dist/lib/components/input/MaskedInputView.d.ts +21 -0
  257. package/dist/lib/components/input/MentionInputView.d.ts +21 -0
  258. package/dist/lib/components/input/MergedInputView.d.ts +1 -0
  259. package/dist/lib/components/input/NpsSurveyView.d.ts +16 -0
  260. package/dist/lib/components/input/OtpInputView.d.ts +17 -0
  261. package/dist/lib/components/input/PhoneInputView.d.ts +25 -0
  262. package/dist/lib/components/input/PickerView.d.ts +38 -0
  263. package/dist/lib/components/input/PriorityPickerView.d.ts +13 -0
  264. package/dist/lib/components/input/RadioCardView.d.ts +22 -0
  265. package/dist/lib/components/input/RadioGroupView.d.ts +21 -0
  266. package/dist/lib/components/input/RangeSliderView.d.ts +18 -0
  267. package/dist/lib/components/input/RatingView.d.ts +16 -0
  268. package/dist/lib/components/input/RichTextToolbarView.d.ts +13 -0
  269. package/dist/lib/components/input/RoleSelectView.d.ts +21 -0
  270. package/dist/lib/components/input/SegmentedControlView.d.ts +15 -8
  271. package/dist/lib/components/input/ShortcutRecorderView.d.ts +15 -0
  272. package/dist/lib/components/input/SpectrumSliderView.d.ts +16 -0
  273. package/dist/lib/components/input/StepperInputView.d.ts +16 -0
  274. package/dist/lib/components/input/SwitchGroupView.d.ts +21 -0
  275. package/dist/lib/components/input/TabView.d.ts +10 -0
  276. package/dist/lib/components/input/TimeTravelSliderView.d.ts +21 -0
  277. package/dist/lib/components/input/TimeWheelView.d.ts +21 -0
  278. package/dist/lib/components/input/TransferListView.d.ts +21 -0
  279. package/dist/lib/components/input/TreeSelectView.d.ts +19 -0
  280. package/dist/lib/components/input/WizardStepperView.d.ts +19 -0
  281. package/dist/lib/components/layout/AccordionGroupView.d.ts +18 -0
  282. package/dist/lib/components/layout/AffixView.d.ts +11 -0
  283. package/dist/lib/components/layout/AnchorView.d.ts +18 -0
  284. package/dist/lib/components/layout/AspectRatioView.d.ts +12 -0
  285. package/dist/lib/components/layout/BackToTopView.d.ts +10 -0
  286. package/dist/lib/components/layout/BreadcrumbView.d.ts +14 -0
  287. package/dist/lib/components/layout/DockView.d.ts +17 -0
  288. package/dist/lib/components/layout/FaqAccordionView.d.ts +16 -0
  289. package/dist/lib/components/layout/HeroView.d.ts +15 -0
  290. package/dist/lib/components/layout/LevelView.d.ts +13 -0
  291. package/dist/lib/components/layout/MasonryGridView.d.ts +11 -0
  292. package/dist/lib/components/layout/MediaObjectView.d.ts +12 -0
  293. package/dist/lib/components/layout/NavbarView.d.ts +19 -0
  294. package/dist/lib/components/layout/OnboardingChecklistView.d.ts +19 -0
  295. package/dist/lib/components/layout/PaginationView.d.ts +12 -0
  296. package/dist/lib/components/layout/PanelListView.d.ts +28 -0
  297. package/dist/lib/components/layout/ScrollAreaView.d.ts +11 -0
  298. package/dist/lib/components/layout/SettingsRowView.d.ts +12 -0
  299. package/dist/lib/components/layout/SettingsSectionView.d.ts +12 -0
  300. package/dist/lib/components/layout/SideNavView.d.ts +3 -1
  301. package/dist/lib/components/layout/StickyHeaderView.d.ts +11 -0
  302. package/dist/lib/components/layout/TileGridView.d.ts +21 -0
  303. package/dist/lib/components/layout/WatermarkView.d.ts +16 -0
  304. package/dist/lib/components/modal/ActionSheetView.d.ts +19 -0
  305. package/dist/lib/components/modal/AlertDialogView.d.ts +15 -0
  306. package/dist/lib/components/modal/BottomSheetView.d.ts +14 -0
  307. package/dist/lib/components/modal/CommandPaletteView.d.ts +21 -0
  308. package/dist/lib/components/modal/DrawerView.d.ts +15 -0
  309. package/dist/lib/components/modal/ModalView.d.ts +11 -2
  310. package/dist/lib/components/modal/NotificationCenterView.d.ts +20 -0
  311. package/dist/lib/components/modal/PopoverView.d.ts +20 -0
  312. package/dist/lib/components/modal/SpotlightTourView.d.ts +18 -0
  313. package/dist/lib/components/modal/StackedToastDeckView.d.ts +17 -0
  314. package/dist/lib/components/modal/TooltipView.d.ts +28 -0
  315. package/dist/lib/components/rearrange/RearrangeView.d.ts +3 -3
  316. package/dist/lib/components/rearrange/SortableView.d.ts +33 -0
  317. package/dist/lib/components/tabs/TabBarView.d.ts +29 -1
  318. package/dist/lib/core/AvatarBase.d.ts +21 -0
  319. package/dist/lib/core/DateBase.d.ts +23 -0
  320. package/dist/lib/core/DuiTokens.d.ts +10 -0
  321. package/dist/lib/core/FeedbackBase.d.ts +27 -0
  322. package/dist/lib/core/LayoutBase.d.ts +21 -0
  323. package/dist/lib/core/MediaBase.d.ts +20 -0
  324. package/dist/lib/index.d.ts +392 -1
  325. package/dist/lib/vis-runtime.d.ts +19 -0
  326. package/dist/monaco-setup.js +348 -343
  327. package/dist/monaco-setup.js.map +1 -1
  328. package/dist/style.css +1 -1
  329. package/dist/theme/editor.js +2 -2
  330. package/dist/vis-setup.d.ts +1 -0
  331. package/dist/vis-setup.js +418 -0
  332. package/dist/vis-setup.js.map +1 -0
  333. package/package.json +36 -2
  334. package/dist/chunks/EditorView.shell-BGH2VhWM.js.map +0 -1
  335. package/dist/chunks/daakia-icons-DxWnX_IQ.js +0 -1726
  336. package/dist/chunks/daakia-icons-DxWnX_IQ.js.map +0 -1
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface DockItem {
4
+ id: string;
5
+ icon: ReactNode;
6
+ label: string;
7
+ active?: boolean;
8
+ }
9
+ export interface DockViewProps {
10
+ items: DockItem[];
11
+ onSelect: (id: string) => void;
12
+ size?: DuiSize;
13
+ color?: string;
14
+ className?: string;
15
+ }
16
+ /** Floating icon dock — icons magnify as the cursor approaches. */
17
+ export declare function DockView({ items, onSelect, size, color, className, }: DockViewProps): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { CSSProperties } from 'react';
2
+ export interface FaqEntry {
3
+ id: string;
4
+ question: string;
5
+ answer: string;
6
+ }
7
+ export interface FaqAccordionViewProps {
8
+ faqs: FaqEntry[];
9
+ /** Allow multiple questions open at once. Default false. */
10
+ multiple?: boolean;
11
+ accentColor?: string;
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ }
15
+ /** Pre-styled Q&A accordion, built directly on `AccordionGroupView`/`CollapsibleSectionView`. */
16
+ export declare function FaqAccordionView({ faqs, multiple, accentColor, className, style, }: FaqAccordionViewProps): import("react").JSX.Element;
@@ -0,0 +1,15 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize, DuiRadius } from '../../core/DuiTypes';
3
+ export interface HeroViewProps {
4
+ title: ReactNode;
5
+ subtitle?: ReactNode;
6
+ actions?: ReactNode;
7
+ /** Optional background — CSS gradient/color string, or an image URL. */
8
+ background?: string;
9
+ size?: DuiSize;
10
+ borderRadius?: DuiRadius | number;
11
+ color?: string;
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ }
15
+ export declare function HeroView({ title, subtitle, actions, background, size, borderRadius, color, className, style, }: HeroViewProps): import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface LevelViewProps {
4
+ /** Items on the left side. */
5
+ left?: ReactNode;
6
+ /** Items on the right side. */
7
+ right?: ReactNode;
8
+ size?: DuiSize;
9
+ className?: string;
10
+ style?: CSSProperties;
11
+ }
12
+ /** Space-between horizontal toolbar row — level primitive. */
13
+ export declare function LevelView({ left, right, size, className, style, }: LevelViewProps): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface MasonryGridViewProps {
4
+ children: ReactNode[];
5
+ columns?: number;
6
+ size?: DuiSize;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ /** Pinterest-style column-balanced layout — CSS columns, no JS measurement needed. */
11
+ export declare function MasonryGridView({ children, columns, size, className, style, }: MasonryGridViewProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface MediaObjectViewProps {
4
+ media: ReactNode;
5
+ children: ReactNode;
6
+ actions?: ReactNode;
7
+ size?: DuiSize;
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ }
11
+ /** Avatar/icon + content + actions row — media object primitive. */
12
+ export declare function MediaObjectView({ media, children, actions, size, className, style, }: MediaObjectViewProps): import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface NavbarLink {
4
+ id: string;
5
+ label: string;
6
+ active?: boolean;
7
+ onClick?: () => void;
8
+ }
9
+ export interface NavbarViewProps {
10
+ brand: ReactNode;
11
+ links?: NavbarLink[];
12
+ right?: ReactNode;
13
+ size?: DuiSize;
14
+ color?: string;
15
+ className?: string;
16
+ style?: CSSProperties;
17
+ }
18
+ /** Top app bar — brand, link menu, burger collapse on narrow widths. */
19
+ export declare function NavbarView({ brand, links, right, size, color, className, style, }: NavbarViewProps): import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { CSSProperties } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface OnboardingStep {
4
+ id: string;
5
+ label: string;
6
+ done: boolean;
7
+ onClick?: () => void;
8
+ }
9
+ export interface OnboardingChecklistViewProps {
10
+ title?: string;
11
+ steps: OnboardingStep[];
12
+ defaultExpanded?: boolean;
13
+ size?: DuiSize;
14
+ color?: string;
15
+ className?: string;
16
+ style?: CSSProperties;
17
+ }
18
+ /** Collapsible "getting started" progress checklist. */
19
+ export declare function OnboardingChecklistView({ title, steps, defaultExpanded, size, color, className, style, }: OnboardingChecklistViewProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { DuiSize } from '../../core/DuiTypes';
2
+ export interface PaginationViewProps {
3
+ page: number;
4
+ totalPages: number;
5
+ onChange: (page: number) => void;
6
+ /** Sibling pages shown on each side of the current page. Default 1. */
7
+ siblingCount?: number;
8
+ size?: DuiSize;
9
+ color?: string;
10
+ className?: string;
11
+ }
12
+ export declare function PaginationView({ page, totalPages, onChange, siblingCount, size, color, className, }: PaginationViewProps): import("react").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize, DuiRadius } from '../../core/DuiTypes';
3
+ export interface PanelListItem {
4
+ value: string;
5
+ label: string;
6
+ icon?: ReactNode;
7
+ active?: boolean;
8
+ onClick?: () => void;
9
+ }
10
+ export interface PanelListTab {
11
+ id: string;
12
+ label: string;
13
+ }
14
+ export interface PanelListViewProps {
15
+ heading: string;
16
+ items: PanelListItem[];
17
+ tabs?: PanelListTab[];
18
+ activeTab?: string;
19
+ onTabChange?: (id: string) => void;
20
+ searchable?: boolean;
21
+ size?: DuiSize;
22
+ borderRadius?: DuiRadius | number;
23
+ color?: string;
24
+ className?: string;
25
+ style?: CSSProperties;
26
+ }
27
+ /** Heading + tabs + filterable block list — panel primitive. */
28
+ export declare function PanelListView({ heading, items, tabs, activeTab, onTabChange, searchable, size, borderRadius, color, className, style, }: PanelListViewProps): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface ScrollAreaViewProps {
3
+ children: ReactNode;
4
+ direction?: 'vertical' | 'horizontal' | 'both';
5
+ maxHeight?: number | string;
6
+ color?: string;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ /** Container with a slim, accent-tinted custom scrollbar instead of the browser default. */
11
+ export declare function ScrollAreaView({ children, direction, maxHeight, color, className, style, }: ScrollAreaViewProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface SettingsRowViewProps {
4
+ label: string;
5
+ description?: string;
6
+ control: ReactNode;
7
+ size?: DuiSize;
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ }
11
+ /** Label + description + control row — the standard settings-page primitive. */
12
+ export declare function SettingsRowView({ label, description, control, size, className, style, }: SettingsRowViewProps): import("react").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface SettingsSectionViewProps {
4
+ title: string;
5
+ description?: string;
6
+ children: ReactNode;
7
+ size?: DuiSize;
8
+ className?: string;
9
+ style?: CSSProperties;
10
+ }
11
+ /** Grouped settings card with a header — pairs with `SettingsRowView`. */
12
+ export declare function SettingsSectionView({ title, description, children, size, className, style, }: SettingsSectionViewProps): import("react").JSX.Element;
@@ -23,6 +23,8 @@ export interface SideNavViewProps {
23
23
  defaultOpenIds?: string[];
24
24
  width?: number;
25
25
  collapsedWidth?: number;
26
+ /** When true, fills 100% of the parent's width instead of a fixed pixel `width` — for use inside a resizable container like SplitPanelView, which controls sizing itself. */
27
+ fillContainer?: boolean;
26
28
  accentColor?: string;
27
29
  /** Render a search box above the nav items */
28
30
  searchable?: boolean;
@@ -36,4 +38,4 @@ export interface SideNavViewProps {
36
38
  }
37
39
  export declare function countLeaves(items: SideNavItem[]): number;
38
40
  export declare function filterItems(items: SideNavItem[], q: string): SideNavItem[];
39
- export declare function SideNavView({ items, activeId, onSelect, collapsible, defaultCollapsed, collapsed: collapsedProp, onCollapsedChange, defaultOpenIds, width, collapsedWidth, accentColor, searchable, searchPlaceholder, emptyText, size, className, style, }: SideNavViewProps): import("react").JSX.Element;
41
+ export declare function SideNavView({ items, activeId, onSelect, collapsible, defaultCollapsed, collapsed: collapsedProp, onCollapsedChange, defaultOpenIds, width, collapsedWidth, fillContainer, accentColor, searchable, searchPlaceholder, emptyText, size, className, style, }: SideNavViewProps): import("react").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface StickyHeaderViewProps {
4
+ children: ReactNode;
5
+ offsetTop?: number;
6
+ size?: DuiSize;
7
+ className?: string;
8
+ style?: CSSProperties;
9
+ }
10
+ /** Sticky section header that grows a shadow once it's pinned to the top. */
11
+ export declare function StickyHeaderView({ children, offsetTop, size, className, style, }: StickyHeaderViewProps): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface TileNode {
4
+ /** Leaf content — mutually exclusive with `children`. */
5
+ content?: ReactNode;
6
+ /** Nested tiles — renders this node as a sub-grid ("parent" wrapping an "ancestor"). */
7
+ children?: TileNode[];
8
+ /** Stack this node's children vertically instead of horizontally. */
9
+ vertical?: boolean;
10
+ /** Flex-grow weight relative to siblings. Default 1. */
11
+ weight?: number;
12
+ }
13
+ export interface TileGridViewProps {
14
+ nodes: TileNode[];
15
+ vertical?: boolean;
16
+ size?: DuiSize;
17
+ className?: string;
18
+ style?: CSSProperties;
19
+ }
20
+ /** Nested ancestor/parent/child tile grid — tile primitive. */
21
+ export declare function TileGridView({ nodes, vertical, size, className, style, }: TileGridViewProps): import("react").JSX.Element;
@@ -0,0 +1,16 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface WatermarkViewProps {
3
+ children: ReactNode;
4
+ text: string;
5
+ /** Rotation angle in degrees. Default -22. */
6
+ angle?: number;
7
+ /** Gap between repeated tiles (px). Default 120. */
8
+ gap?: number;
9
+ fontSize?: number;
10
+ color?: string;
11
+ opacity?: number;
12
+ className?: string;
13
+ style?: CSSProperties;
14
+ }
15
+ /** Repeated diagonal text watermark overlay primitive. */
16
+ export declare function WatermarkView({ children, text, angle, gap, fontSize, color, opacity, className, style, }: WatermarkViewProps): import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface ActionSheetItem {
4
+ label: string;
5
+ icon?: ReactNode;
6
+ danger?: boolean;
7
+ disabled?: boolean;
8
+ onClick: () => void;
9
+ }
10
+ export interface ActionSheetViewProps {
11
+ open: boolean;
12
+ onClose: () => void;
13
+ title?: string;
14
+ items: ActionSheetItem[];
15
+ cancelLabel?: string;
16
+ size?: DuiSize;
17
+ className?: string;
18
+ }
19
+ export declare function ActionSheetView({ open, onClose, title, items, cancelLabel, size, className, }: ActionSheetViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,15 @@
1
+ import { DuiSize } from '../../core/DuiTypes';
2
+ export interface AlertDialogViewProps {
3
+ open: boolean;
4
+ title: string;
5
+ message: string;
6
+ confirmLabel?: string;
7
+ cancelLabel?: string;
8
+ danger?: boolean;
9
+ onConfirm: () => void;
10
+ onCancel: () => void;
11
+ size?: DuiSize;
12
+ className?: string;
13
+ }
14
+ /** Pre-built confirm/cancel dialog with danger styling — the standard "Are you sure?" pattern. */
15
+ export declare function AlertDialogView({ open, title, message, confirmLabel, cancelLabel, danger, onConfirm, onCancel, size, className, }: AlertDialogViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,14 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface BottomSheetViewProps {
4
+ open: boolean;
5
+ onClose: () => void;
6
+ title?: string;
7
+ children?: ReactNode;
8
+ /** Sheet height as a fraction of viewport height, e.g. 0.5. Default 0.6. */
9
+ heightRatio?: number;
10
+ size?: DuiSize;
11
+ className?: string;
12
+ }
13
+ /** Mobile-style sheet — drag the handle down past a threshold, or fling it, to dismiss. */
14
+ export declare function BottomSheetView({ open, onClose, title, children, heightRatio, size, className, }: BottomSheetViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,21 @@
1
+ import { ReactNode } from 'react';
2
+ export interface PaletteCommand {
3
+ id: string;
4
+ label: string;
5
+ /** Small muted text on the right (e.g. section, shortcut) */
6
+ hint?: string;
7
+ icon?: ReactNode;
8
+ /** Extra strings the filter also matches against */
9
+ keywords?: string[];
10
+ action: () => void;
11
+ }
12
+ export interface CommandPaletteViewProps {
13
+ open: boolean;
14
+ onClose: () => void;
15
+ commands: PaletteCommand[];
16
+ placeholder?: string;
17
+ emptyText?: string;
18
+ accentColor?: string;
19
+ }
20
+ /** Cmd-K style launcher: fuzzy filter + ↑/↓/Enter/Esc keyboard navigation. */
21
+ export declare function CommandPaletteView({ open, onClose, commands, placeholder, emptyText, accentColor, }: CommandPaletteViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export type DrawerEdge = 'left' | 'right' | 'top' | 'bottom';
4
+ export interface DrawerViewProps {
5
+ open: boolean;
6
+ onClose: () => void;
7
+ edge?: DrawerEdge;
8
+ title?: string;
9
+ children?: ReactNode;
10
+ /** Width (left/right edges) or height (top/bottom edges), e.g. 320 or '40vw'. */
11
+ size?: number | string;
12
+ duiSize?: DuiSize;
13
+ className?: string;
14
+ }
15
+ export declare function DrawerView({ open, onClose, edge, title, children, size, duiSize, className, }: DrawerViewProps): import('react').ReactPortal | null;
@@ -9,7 +9,7 @@ export interface ModalViewProps {
9
9
  onClose: () => void;
10
10
  title?: string;
11
11
  /** Secondary text shown below the title in the header */
12
- subtitle?: string;
12
+ subtitle?: React.ReactNode;
13
13
  /** Node rendered to the left of the title block — e.g. a coloured icon circle */
14
14
  headerIcon?: React.ReactNode;
15
15
  children?: React.ReactNode;
@@ -35,7 +35,16 @@ export interface ModalViewProps {
35
35
  mode?: ModalMode;
36
36
  /** Override the default 85vh max-height of the modal card */
37
37
  maxHeight?: string;
38
+ /**
39
+ * Explicit height for the modal card (e.g. '82vh'). Without this the card
40
+ * shrink-wraps to its content — maxHeight only caps growth, it doesn't force
41
+ * it — so a body relying on `flex: 1` (or a percentage height) to fill real
42
+ * viewport space has no free space to grow into and collapses toward 0.
43
+ * Set this whenever body content needs a real, non-content-driven height
44
+ * (e.g. an embedded chart/iframe/canvas).
45
+ */
46
+ height?: string;
38
47
  /** Extra styles merged onto the body div (e.g. flex column layout for nested flex children) */
39
48
  bodyStyle?: React.CSSProperties;
40
49
  }
41
- export declare function ModalView({ open, onClose, title, subtitle, headerIcon, children, footerLeft, footerRight, size, showCloseIcon, headerColor, headerGradient, headerRight, noPadding, elevated, mode, maxHeight, bodyStyle, }: ModalViewProps): import("react").JSX.Element | null;
50
+ export declare function ModalView({ open, onClose, title, subtitle, headerIcon, children, footerLeft, footerRight, size, showCloseIcon, headerColor, headerGradient, headerRight, noPadding, elevated, mode, maxHeight, height, bodyStyle, }: ModalViewProps): import("react").JSX.Element | null;
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface NotificationItem {
4
+ id: string;
5
+ title: string;
6
+ description?: string;
7
+ timestamp: string;
8
+ read?: boolean;
9
+ icon?: ReactNode;
10
+ onClick?: () => void;
11
+ }
12
+ export interface NotificationCenterViewProps {
13
+ notifications: NotificationItem[];
14
+ onMarkAllRead?: () => void;
15
+ size?: DuiSize;
16
+ color?: string;
17
+ className?: string;
18
+ }
19
+ /** Bell icon + dropdown notification list, unread-count badge. */
20
+ export declare function NotificationCenterView({ notifications, onMarkAllRead, size, color, className, }: NotificationCenterViewProps): import("react").JSX.Element;
@@ -0,0 +1,20 @@
1
+ import { ReactNode } from 'react';
2
+ import { DuiSize, DuiRadius } from '../../core/DuiTypes';
3
+ export type PopoverPlacement = 'top' | 'bottom' | 'left' | 'right';
4
+ export interface PopoverViewProps {
5
+ open: boolean;
6
+ onClose: () => void;
7
+ anchorEl: HTMLElement | null;
8
+ children: ReactNode;
9
+ placement?: PopoverPlacement;
10
+ size?: DuiSize;
11
+ borderRadius?: DuiRadius | number;
12
+ color?: string;
13
+ className?: string;
14
+ }
15
+ /**
16
+ * Generic anchored floating-content primitive — extracted positioning logic
17
+ * shared conceptually with SelectInputView's dropdown / InfoPopupView, but
18
+ * exposed as a standalone component for any custom popover content.
19
+ */
20
+ export declare function PopoverView({ open, onClose, anchorEl, children, placement, size, borderRadius, color, className, }: PopoverViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,18 @@
1
+ import { DuiSize } from '../../core/DuiTypes';
2
+ export interface SpotlightTourStep {
3
+ /** CSS selector for the element to spotlight. */
4
+ target: string;
5
+ title: string;
6
+ content: string;
7
+ }
8
+ export interface SpotlightTourViewProps {
9
+ open: boolean;
10
+ steps: SpotlightTourStep[];
11
+ stepIndex: number;
12
+ onNext: () => void;
13
+ onPrev: () => void;
14
+ onClose: () => void;
15
+ size?: DuiSize;
16
+ color?: string;
17
+ }
18
+ export declare function SpotlightTourView({ open, steps, stepIndex, onNext, onPrev, onClose, size, color, }: SpotlightTourViewProps): import('react').ReactPortal | null;
@@ -0,0 +1,17 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export interface ToastDeckEntry {
4
+ id: string;
5
+ content: ReactNode;
6
+ color?: string;
7
+ }
8
+ export interface StackedToastDeckViewProps {
9
+ toasts: ToastDeckEntry[];
10
+ onDismiss: (id: string) => void;
11
+ size?: DuiSize;
12
+ width?: number;
13
+ className?: string;
14
+ style?: CSSProperties;
15
+ }
16
+ /** Toasts don't stack vertically — older ones shrink and recede behind the newest like a card deck; click to fan out. */
17
+ export declare function StackedToastDeckView({ toasts, onDismiss, size, width, className, style, }: StackedToastDeckViewProps): import("react").JSX.Element;
@@ -0,0 +1,28 @@
1
+ import { ReactElement, ReactNode } from 'react';
2
+ import { DuiSize } from '../../core/DuiTypes';
3
+ export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
4
+ interface TooltipTriggerProps {
5
+ onMouseEnter?: (e: React.MouseEvent) => void;
6
+ onMouseLeave?: (e: React.MouseEvent) => void;
7
+ onFocus?: (e: React.FocusEvent) => void;
8
+ onBlur?: (e: React.FocusEvent) => void;
9
+ [key: string]: unknown;
10
+ }
11
+ export interface TooltipViewProps {
12
+ content: ReactNode;
13
+ /**
14
+ * Trigger element — must forward its ref to a real DOM node (native elements
15
+ * like `<button>`/`<span>` work out of the box). If wrapping a DUI component
16
+ * that doesn't forward refs, wrap it in a `<span>` first:
17
+ * `<TooltipView content="..."><span><ButtonView>Save</ButtonView></span></TooltipView>`.
18
+ */
19
+ children: ReactElement<TooltipTriggerProps>;
20
+ placement?: TooltipPlacement;
21
+ /** ms before showing on hover/focus. Default 300. */
22
+ delay?: number;
23
+ size?: DuiSize;
24
+ color?: string;
25
+ disabled?: boolean;
26
+ }
27
+ export declare function TooltipView({ content, children, placement, delay, size, color, disabled, }: TooltipViewProps): import("react").JSX.Element;
28
+ export {};
@@ -1,4 +1,4 @@
1
- import { CSSProperties } from 'react';
1
+ import { CSSProperties, ReactNode } from 'react';
2
2
  import { DuiSize } from '../../core/DuiTypes';
3
3
  export interface RearrangeItem {
4
4
  /** Stable unique id. */
@@ -7,8 +7,8 @@ export interface RearrangeItem {
7
7
  label?: string;
8
8
  /** Enabled state — shows a checkbox when `selectable` is on. */
9
9
  enabled?: boolean;
10
- /** Optional leading glyph / emoji. */
11
- icon?: string;
10
+ /** Optional leading glyph — pass a DUI icon component, never an emoji. */
11
+ icon?: ReactNode;
12
12
  /** Optional custom row content (overrides label). */
13
13
  render?: () => React.ReactNode;
14
14
  /** Lock this row from being reordered or toggled. */
@@ -0,0 +1,33 @@
1
+ import { CSSProperties, ReactNode } from 'react';
2
+ export interface SortableRow {
3
+ /** Stable unique id. */
4
+ id: string;
5
+ /** The row's content — rendered untouched inside the sortable wrapper. */
6
+ node: ReactNode;
7
+ }
8
+ export interface SortableViewProps {
9
+ rows: SortableRow[];
10
+ /** Fired once per completed drag with the source and target indices. */
11
+ onReorder: (fromIndex: number, toIndex: number) => void;
12
+ /** Wrapper element per row — use 'li' inside a <ul>/<ol>. Default 'div'. */
13
+ as?: 'div' | 'li';
14
+ /** Accent color for the drop indicator + handle hover. */
15
+ accentColor?: string;
16
+ /** Disables all dragging (rows render bare). */
17
+ disabled?: boolean;
18
+ /** Extra class per row wrapper. */
19
+ rowClassName?: string;
20
+ style?: CSSProperties;
21
+ }
22
+ /**
23
+ * SortableView — headless drag-to-reorder for arbitrary markup, the invisible
24
+ * sibling of RearrangeView. RearrangeView owns its row chrome (list rows,
25
+ * checkboxes); SortableView wraps YOUR rows (resume bullets, canvas items,
26
+ * cards…) and adds only a hover grab-handle in the left gutter plus a drop
27
+ * indicator line. Rows drag exclusively from the handle, so inline editing,
28
+ * text selection, and buttons inside the row keep working.
29
+ *
30
+ * Renders a fragment of row wrappers — the caller owns the container
31
+ * (pass `as="li"` to stay valid inside a <ul>).
32
+ */
33
+ export declare function SortableView({ rows, onReorder, as, accentColor, disabled, rowClassName, style, }: SortableViewProps): import("react").JSX.Element;
@@ -1,3 +1,4 @@
1
+ import { ReactNode } from 'react';
1
2
  import { DuiSize } from '../../core/DuiTypes';
2
3
  export type TabBarProtocol = 'rest' | 'graphql' | 'websocket' | 'grpc' | 'soap' | 'ai' | 'mcp';
3
4
  export type TabBarTabType = 'request' | 'settings' | 'mock-server' | 'daakia-ai';
@@ -11,6 +12,25 @@ export interface TabBarTab {
11
12
  dirty?: boolean;
12
13
  pinned?: boolean;
13
14
  rtProtocol?: RealtimeProtocol;
15
+ /** Per-tab color override — takes priority over type/protocol-derived
16
+ * colors and the shared `accentColor` prop. Opt-in only. */
17
+ accentColor?: string;
18
+ /** Force the close (×) button always visible instead of hover-reveal —
19
+ * same treatment `type: 'settings'`/`'mock-server'` already get. Opt-in
20
+ * only, for plain/untyped tabs that behave like closable documents. */
21
+ alwaysShowClose?: boolean;
22
+ /** Suppresses the close button entirely WITHOUT the 📌 pinned badge —
23
+ * for tabs that must stay open but aren't conceptually "pinned" (e.g. a
24
+ * permanent home/builder tab). `pinned` is a decorative state of its own;
25
+ * use `noClose` when you just want no close affordance and no badge. */
26
+ noClose?: boolean;
27
+ /** Leading glyph before the label — pass a DUI icon, colored by the caller.
28
+ * Takes priority over the type/protocol-derived badge. Opt-in only. */
29
+ icon?: ReactNode;
30
+ /** Hover preview — arbitrary content (e.g. a mini document thumbnail)
31
+ * shown in a floating card under the tab after a short hover delay.
32
+ * Rendered through a portal so the scrollable tab strip can't clip it. */
33
+ preview?: ReactNode;
14
34
  }
15
35
  export interface TabBarViewProps {
16
36
  tabs: TabBarTab[];
@@ -18,6 +38,14 @@ export interface TabBarViewProps {
18
38
  onTabClick: (id: string) => void;
19
39
  onTabClose?: (id: string) => void;
20
40
  onAddTab?: () => void;
41
+ /** Right-click on a tab — caller owns the resulting context menu (e.g. DUI's own ContextMenuView). */
42
+ onTabContextMenu?: (id: string, e: React.MouseEvent) => void;
43
+ /** Inline rename — when set to a tab's id, that tab's label becomes an editable input. */
44
+ renamingId?: string;
45
+ renameValue?: string;
46
+ onRenameChange?: (value: string) => void;
47
+ onRenameCommit?: () => void;
48
+ onRenameCancel?: () => void;
21
49
  accentColor?: string;
22
50
  /** Falls back to DuiProvider size when omitted. Overrides `height`. */
23
51
  size?: DuiSize;
@@ -25,4 +53,4 @@ export interface TabBarViewProps {
25
53
  height?: number;
26
54
  className?: string;
27
55
  }
28
- export declare function TabBarView({ tabs, activeTabId, onTabClick, onTabClose, onAddTab, accentColor, size, height, className, }: TabBarViewProps): import("react").JSX.Element;
56
+ export declare function TabBarView({ tabs, activeTabId, onTabClick, onTabClose, onAddTab, onTabContextMenu, renamingId, renameValue, onRenameChange, onRenameCommit, onRenameCancel, accentColor, size, height, className, }: TabBarViewProps): import("react").JSX.Element;
@@ -0,0 +1,21 @@
1
+ import { DuiSize } from './DuiTypes';
2
+ export interface AvatarBaseConfig {
3
+ /** Avatar circle diameter (px) */
4
+ diameter: number;
5
+ /** Presence/status dot diameter (px) */
6
+ dotSize: number;
7
+ fontSize: string;
8
+ color: string | undefined;
9
+ activeColor: string | undefined;
10
+ }
11
+ /** Local override props that any avatar/presence component can accept. */
12
+ export interface AvatarContainerProps {
13
+ color?: string;
14
+ activeColor?: string;
15
+ }
16
+ /**
17
+ * Category base for: AvatarView, AvatarGroupView, PresenceDotView,
18
+ * AvatarUploadView, and any future identity/presence component.
19
+ * Falls back to DuiProvider values when no local prop is given.
20
+ */
21
+ export declare function useAvatarBase(sizeProp?: DuiSize, overrides?: AvatarContainerProps): AvatarBaseConfig;