@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
@@ -1,7 +1,7 @@
1
- import { jsx as d, Fragment as A, jsxs as I } from "react/jsx-runtime";
2
- import { useMemo as S, useContext as P, createContext as T, useRef as _, useEffect as v, useState as E, useSyncExternalStore as $ } from "react";
3
- import { createPortal as C } from "react-dom";
4
- import { g as F } from "./daakia-icons-DxWnX_IQ.js";
1
+ import { jsx as u, Fragment as T, jsxs as _ } from "react/jsx-runtime";
2
+ import { useMemo as E, useContext as L, createContext as P, useRef as w, useEffect as v, useState as S, useSyncExternalStore as F } from "react";
3
+ import { createPortal as R } from "react-dom";
4
+ import { aw as O } from "./daakia-icons-BpwUOdSO.js";
5
5
  const et = {
6
6
  /** Standard form controls: text input, select, duration, search, highlighted input */
7
7
  input: { xxs: 16, xs: 20, sm: 24, md: 28, lg: 36, xl: 40, xxl: 48, xxxl: 56 },
@@ -26,7 +26,52 @@ const et = {
26
26
  xl: 28,
27
27
  xxl: 32,
28
28
  xxxl: 38
29
+ }, xt = {
30
+ xxs: 18,
31
+ xs: 22,
32
+ sm: 26,
33
+ md: 30,
34
+ lg: 34,
35
+ xl: 38,
36
+ xxl: 44,
37
+ xxxl: 50
29
38
  }, rt = {
39
+ xxs: 40,
40
+ xs: 52,
41
+ sm: 64,
42
+ md: 80,
43
+ lg: 100,
44
+ xl: 120,
45
+ xxl: 144,
46
+ xxxl: 168
47
+ }, ot = {
48
+ xxs: 2,
49
+ xs: 3,
50
+ sm: 4,
51
+ md: 5,
52
+ lg: 6,
53
+ xl: 8,
54
+ xxl: 10,
55
+ xxxl: 12
56
+ }, st = {
57
+ xxs: 16,
58
+ xs: 20,
59
+ sm: 24,
60
+ md: 32,
61
+ lg: 40,
62
+ xl: 48,
63
+ xxl: 56,
64
+ xxxl: 72
65
+ }, lt = {
66
+ xxs: 6,
67
+ xs: 7,
68
+ sm: 8,
69
+ md: 10,
70
+ lg: 12,
71
+ xl: 14,
72
+ xxl: 16,
73
+ xxxl: 20
74
+ }, it = {
30
75
  xxs: { trackW: 18, trackH: 10, thumb: 8 },
31
76
  xs: { trackW: 24, trackH: 14, thumb: 10 },
32
77
  sm: { trackW: 28, trackH: 16, thumb: 12 },
@@ -35,7 +80,7 @@ const et = {
35
80
  xl: { trackW: 52, trackH: 28, thumb: 24 },
36
81
  xxl: { trackW: 60, trackH: 32, thumb: 28 },
37
82
  xxxl: { trackW: 68, trackH: 36, thumb: 32 }
38
- }, ot = {
83
+ }, ct = {
39
84
  xxs: { box: 10, icon: 6 },
40
85
  xs: { box: 12, icon: 8 },
41
86
  sm: { box: 14, icon: 9 },
@@ -44,7 +89,7 @@ const et = {
44
89
  xl: { box: 20, icon: 15 },
45
90
  xxl: { box: 22, icon: 17 },
46
91
  xxxl: { box: 26, icon: 20 }
47
- }, xt = {
92
+ }, at = {
48
93
  xxs: 8,
49
94
  xs: 10,
50
95
  sm: 11,
@@ -53,7 +98,7 @@ const et = {
53
98
  xl: 16,
54
99
  xxl: 18,
55
100
  xxxl: 20
56
- }, st = {
101
+ }, dt = {
57
102
  xxs: "8px",
58
103
  xs: "9px",
59
104
  sm: "10px",
@@ -62,7 +107,7 @@ const et = {
62
107
  xl: "13px",
63
108
  xxl: "14px",
64
109
  xxxl: "16px"
65
- }, it = {
110
+ }, ut = {
66
111
  xxs: "2px",
67
112
  xs: "3px",
68
113
  sm: "4px",
@@ -71,7 +116,7 @@ const et = {
71
116
  xl: "9px",
72
117
  xxl: "11px",
73
118
  xxxl: "14px"
74
- }, O = {
119
+ }, $ = {
75
120
  xxs: 10,
76
121
  xs: 11,
77
122
  sm: 11,
@@ -80,7 +125,7 @@ const et = {
80
125
  xl: 14,
81
126
  xxl: 15,
82
127
  xxxl: 16
83
- }, lt = {
128
+ }, pt = {
84
129
  xxs: "4px",
85
130
  xs: "6px",
86
131
  sm: "8px",
@@ -89,7 +134,7 @@ const et = {
89
134
  xl: "16px",
90
135
  xxl: "20px",
91
136
  xxxl: "24px"
92
- }, ct = {
137
+ }, ft = {
93
138
  xxs: "2px",
94
139
  xs: "3px",
95
140
  sm: "4px",
@@ -104,7 +149,7 @@ const et = {
104
149
  md: "4px",
105
150
  lg: "6px",
106
151
  full: "999px"
107
- }, at = {
152
+ }, mt = {
108
153
  xxs: "2px",
109
154
  xs: "3px",
110
155
  // DUI_RADIUS_MAP.sm
@@ -118,7 +163,7 @@ const et = {
118
163
  // DUI_RADIUS_MAP.lg
119
164
  xxl: "8px",
120
165
  xxxl: "10px"
121
- }, B = {
166
+ }, N = {
122
167
  sm: "80px",
123
168
  md: "120px",
124
169
  default: "auto",
@@ -127,38 +172,38 @@ const et = {
127
172
  maxContent: "max-content",
128
173
  fw: "100%",
129
174
  mx: "max-content"
130
- }, G = { size: "md" }, R = T(G);
131
- function ut({
175
+ }, B = { size: "md" }, C = P(B);
176
+ function ht({
132
177
  size: t = "md",
133
178
  width: e,
134
- borderRadius: r,
135
- color: o,
179
+ borderRadius: x,
180
+ color: r,
136
181
  defaultColor: p,
137
- activeColor: i,
182
+ activeColor: l,
138
183
  fontStyle: a,
139
- children: x
184
+ children: o
140
185
  }) {
141
- const f = S(
142
- () => ({ size: t, width: e, borderRadius: r, color: o, defaultColor: p, activeColor: i, fontStyle: a }),
143
- [t, e, r, o, p, i, a]
186
+ const f = E(
187
+ () => ({ size: t, width: e, borderRadius: x, color: r, defaultColor: p, activeColor: l, fontStyle: a }),
188
+ [t, e, x, r, p, l, a]
144
189
  );
145
- return /* @__PURE__ */ d(R.Provider, { value: f, children: x });
190
+ return /* @__PURE__ */ u(C.Provider, { value: f, children: o });
146
191
  }
147
- function W() {
148
- return P(R);
192
+ function U() {
193
+ return L(C);
149
194
  }
150
- function N(t, e) {
195
+ function G(t, e) {
151
196
  return t === void 0 ? e : typeof t == "number" ? `${t}px` : z[t];
152
197
  }
153
- function j(t) {
154
- return t ? B[t] : "auto";
198
+ function Z(t) {
199
+ return t ? N[t] : "auto";
155
200
  }
156
- function dt(t) {
157
- const e = W();
158
- return S(
201
+ function gt(t) {
202
+ const e = U();
203
+ return E(
159
204
  () => ({
160
- borderRadius: N(e.borderRadius, t),
161
- width: j(e.width),
205
+ borderRadius: G(e.borderRadius, t),
206
+ width: Z(e.width),
162
207
  color: e.color,
163
208
  defaultColor: e.defaultColor,
164
209
  activeColor: e.activeColor,
@@ -167,50 +212,50 @@ function dt(t) {
167
212
  [e, t]
168
213
  );
169
214
  }
170
- function pt(t, e = {}) {
171
- const r = W(), o = t ?? r.size;
215
+ function bt(t, e = {}) {
216
+ const x = U(), r = t ?? x.size;
172
217
  return {
173
- fontSize: O[o]
218
+ fontSize: $[r]
174
219
  };
175
220
  }
176
- const q = { auto: "max-content", sm: "140px", md: "180px", lg: "220px" };
177
- function X(t) {
178
- return !t || t === "auto" ? "max-content" : typeof t == "number" ? `${t}px` : q[t] || "max-content";
221
+ const j = { auto: "max-content", sm: "140px", md: "180px", lg: "220px" };
222
+ function q(t) {
223
+ return !t || t === "auto" ? "max-content" : typeof t == "number" ? `${t}px` : j[t] || "max-content";
179
224
  }
180
225
  function H({
181
226
  items: t,
182
227
  onClose: e,
183
- rounded: r
228
+ rounded: x
184
229
  }) {
185
- const [o, p] = E(null);
186
- return /* @__PURE__ */ d(A, { children: t.map((i) => /* @__PURE__ */ d(
187
- Z,
230
+ const [r, p] = S(null);
231
+ return /* @__PURE__ */ u(T, { children: t.map((l) => /* @__PURE__ */ u(
232
+ X,
188
233
  {
189
- item: i,
234
+ item: l,
190
235
  onClose: e,
191
- rounded: r,
192
- activeSubId: o,
236
+ rounded: x,
237
+ activeSubId: r,
193
238
  onSubOpen: p
194
239
  },
195
- i.id
240
+ l.id
196
241
  )) });
197
242
  }
198
- function Z({
243
+ function X({
199
244
  item: t,
200
245
  onClose: e,
201
- rounded: r,
202
- activeSubId: o,
246
+ rounded: x,
247
+ activeSubId: r,
203
248
  onSubOpen: p
204
249
  }) {
205
- const i = _(null), a = _(null);
250
+ const l = w(null), a = w(null);
206
251
  if (t.separator)
207
- return /* @__PURE__ */ d("div", { style: { height: "1px", background: "var(--color-surface-border)", margin: "4px 0" } });
208
- const x = !!(t.children && t.children.length > 0), f = t.danger, m = x && o === t.id, y = () => {
209
- p(x ? t.id : null);
210
- }, u = (n) => {
252
+ return /* @__PURE__ */ u("div", { style: { height: "1px", background: "var(--color-surface-border)", margin: "4px 0" } });
253
+ const o = !!(t.children && t.children.length > 0), f = t.danger, m = o && r === t.id, I = () => {
254
+ p(o ? t.id : null);
255
+ }, d = (n) => {
211
256
  var c;
212
257
  if (n.stopPropagation(), !t.disabled) {
213
- if (x) {
258
+ if (o) {
214
259
  p(t.id);
215
260
  return;
216
261
  }
@@ -218,35 +263,35 @@ function Z({
218
263
  }
219
264
  };
220
265
  return v(() => {
221
- if (!m || !i.current || !a.current) return;
266
+ if (!m || !l.current || !a.current) return;
222
267
  const n = a.current;
223
268
  n.style.visibility = "hidden";
224
269
  const c = requestAnimationFrame(() => {
225
- if (!i.current || !a.current) return;
226
- const l = i.current.getBoundingClientRect();
227
- n.style.top = `${l.top - 4}px`, n.style.left = `${l.right + 4}px`;
270
+ if (!l.current || !a.current) return;
271
+ const i = l.current.getBoundingClientRect();
272
+ n.style.top = `${i.top - 4}px`, n.style.left = `${i.right + 4}px`;
228
273
  const s = n.getBoundingClientRect();
229
- s.right > window.innerWidth - 8 && (n.style.left = `${l.left - s.width - 4}px`), s.bottom > window.innerHeight - 8 && (n.style.top = `${window.innerHeight - s.height - 8}px`), n.style.visibility = "visible";
274
+ s.right > window.innerWidth - 8 && (n.style.left = `${i.left - s.width - 4}px`), s.bottom > window.innerHeight - 8 && (n.style.top = `${window.innerHeight - s.height - 8}px`), n.style.visibility = "visible";
230
275
  });
231
276
  return () => cancelAnimationFrame(c);
232
- }, [m]), /* @__PURE__ */ I(
277
+ }, [m]), /* @__PURE__ */ _(
233
278
  "div",
234
279
  {
235
- ref: i,
236
- onMouseEnter: y,
280
+ ref: l,
281
+ onMouseEnter: I,
237
282
  style: { position: "relative" },
238
283
  children: [
239
- /* @__PURE__ */ I(
284
+ /* @__PURE__ */ _(
240
285
  "div",
241
286
  {
242
- onClick: u,
287
+ onClick: d,
243
288
  className: `dui_ctx-menu__item${f ? " dui_ctx-menu__item--danger" : ""}${t.disabled ? " dui_ctx-menu__item--disabled" : ""}`,
244
289
  style: {
245
290
  display: "flex",
246
291
  alignItems: "center",
247
292
  gap: "8px",
248
293
  padding: "8px 10px",
249
- borderRadius: r ? "5px" : "0px",
294
+ borderRadius: x ? "5px" : "0px",
250
295
  fontSize: "12px",
251
296
  fontWeight: 500,
252
297
  cursor: t.disabled ? "default" : "pointer",
@@ -255,15 +300,15 @@ function Z({
255
300
  userSelect: "none"
256
301
  },
257
302
  children: [
258
- t.icon && /* @__PURE__ */ d("span", { style: { width: "14px", display: "flex", alignItems: "center", flexShrink: 0, color: t.iconColor ?? (f ? "var(--color-error)" : "var(--color-text-muted)") }, children: t.icon }),
259
- /* @__PURE__ */ d("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: t.label }),
260
- t.shortcut && !x && /* @__PURE__ */ d("span", { style: { fontSize: "10px", color: "var(--color-text-muted)", marginLeft: "12px", flexShrink: 0 }, children: t.shortcut }),
261
- x && /* @__PURE__ */ d(F, { size: 10, style: { color: "var(--color-text-muted)", flexShrink: 0, marginLeft: "8px" } })
303
+ t.icon && /* @__PURE__ */ u("span", { style: { width: "14px", display: "flex", alignItems: "center", flexShrink: 0, color: t.iconColor ?? (f ? "var(--color-error)" : "var(--color-text-muted)") }, children: t.icon }),
304
+ /* @__PURE__ */ u("span", { style: { flex: 1, whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis" }, children: t.label }),
305
+ t.shortcut && !o && /* @__PURE__ */ u("span", { style: { fontSize: "10px", color: "var(--color-text-muted)", marginLeft: "12px", flexShrink: 0 }, children: t.shortcut }),
306
+ o && /* @__PURE__ */ u(O, { size: 10, style: { color: "var(--color-text-muted)", flexShrink: 0, marginLeft: "8px" } })
262
307
  ]
263
308
  }
264
309
  ),
265
- x && m && C(
266
- /* @__PURE__ */ d(
310
+ o && m && R(
311
+ /* @__PURE__ */ u(
267
312
  "div",
268
313
  {
269
314
  ref: a,
@@ -274,13 +319,13 @@ function Z({
274
319
  zIndex: 99999,
275
320
  background: "var(--color-elevated, var(--color-surface-bg))",
276
321
  border: "1px solid var(--color-surface-border)",
277
- borderRadius: r ? "7px" : "0px",
322
+ borderRadius: x ? "7px" : "0px",
278
323
  padding: "4px",
279
324
  minWidth: "200px",
280
325
  width: "max-content",
281
326
  boxShadow: "0 12px 40px rgba(0,0,0,.35)"
282
327
  },
283
- children: /* @__PURE__ */ d(H, { items: t.children, onClose: e, rounded: r })
328
+ children: /* @__PURE__ */ u(H, { items: t.children, onClose: e, rounded: x })
284
329
  }
285
330
  ),
286
331
  document.body
@@ -289,60 +334,60 @@ function Z({
289
334
  }
290
335
  );
291
336
  }
292
- function Y({
337
+ function K({
293
338
  items: t,
294
339
  anchorEl: e,
295
- open: r,
296
- onClose: o,
340
+ open: x,
341
+ onClose: r,
297
342
  width: p = "auto",
298
- rounded: i = !0,
343
+ rounded: l = !0,
299
344
  matchAnchorWidth: a = !1,
300
- position: x,
345
+ position: o,
301
346
  align: f = "auto"
302
347
  }) {
303
- const m = _(null);
348
+ const m = w(null);
304
349
  if (v(() => {
305
- if (!r) return;
306
- const u = (n) => {
307
- var l, s;
350
+ if (!x) return;
351
+ const d = (n) => {
352
+ var i, s;
308
353
  const c = n.target;
309
- (l = m.current) != null && l.contains(c) || e != null && e.contains(c) || (s = c.closest) != null && s.call(c, "[data-dui-ctx-menu]") || o();
354
+ (i = m.current) != null && i.contains(c) || e != null && e.contains(c) || (s = c.closest) != null && s.call(c, "[data-dui-ctx-menu]") || r();
310
355
  };
311
- return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
312
- }, [r, e, o]), v(() => {
313
- if (!r) return;
314
- const u = (n) => {
356
+ return document.addEventListener("mousedown", d), () => document.removeEventListener("mousedown", d);
357
+ }, [x, e, r]), v(() => {
358
+ if (!x) return;
359
+ const d = (n) => {
315
360
  if (n.key === "Escape") {
316
- o();
361
+ r();
317
362
  return;
318
363
  }
319
- const c = n.key.toUpperCase(), l = t.find((s) => s.disabled || s.separator || !s.shortcut || !s.onClick ? !1 : s.shortcut === "⌫" ? n.key === "Backspace" || n.key === "Delete" : s.shortcut.toUpperCase() === c);
320
- l && (n.preventDefault(), l.onClick(), o());
364
+ const c = n.key.toUpperCase(), i = t.find((s) => s.disabled || s.separator || !s.shortcut || !s.onClick ? !1 : s.shortcut === "⌫" ? n.key === "Backspace" || n.key === "Delete" : s.shortcut.toUpperCase() === c);
365
+ i && (n.preventDefault(), i.onClick(), r());
321
366
  };
322
- return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
323
- }, [r, o, t]), v(() => {
324
- if (!r || !m.current) return;
325
- const u = m.current, n = () => {
326
- const l = u.scrollWidth, s = u.scrollHeight;
327
- let h, b, w = 0;
328
- if (x)
329
- h = x.x, b = x.y, w = x.y;
367
+ return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
368
+ }, [x, r, t]), v(() => {
369
+ if (!x || !m.current) return;
370
+ const d = m.current, n = () => {
371
+ const i = d.scrollWidth, s = d.scrollHeight;
372
+ let h, b, y = 0;
373
+ if (o)
374
+ h = o.x, b = o.y, y = o.y;
330
375
  else if (e) {
331
376
  const g = e.getBoundingClientRect();
332
- f === "right" ? h = g.right - l : f === "left" ? h = g.left : h = g.left + l <= window.innerWidth - 8 ? g.left : g.right - l, b = g.bottom + 4, w = g.top, a && (u.style.width = g.width + "px");
377
+ f === "right" ? h = g.right - i : f === "left" ? h = g.left : h = g.left + i <= window.innerWidth - 8 ? g.left : g.right - i, b = g.bottom + 4, y = g.top, a && (d.style.width = g.width + "px");
333
378
  } else
334
379
  return;
335
- h + l > window.innerWidth - 8 && (h = Math.max(8, window.innerWidth - l - 8)), h < 8 && (h = 8), b + s > window.innerHeight - 8 && (b = Math.max(8, w - s - 4)), u.style.left = h + "px", u.style.top = b + "px";
380
+ h + i > window.innerWidth - 8 && (h = Math.max(8, window.innerWidth - i - 8)), h < 8 && (h = 8), b + s > window.innerHeight - 8 && (b = Math.max(8, y - s - 4)), d.style.left = h + "px", d.style.top = b + "px";
336
381
  };
337
382
  n();
338
383
  const c = requestAnimationFrame(n);
339
384
  return window.addEventListener("scroll", n, { passive: !0, capture: !0 }), window.addEventListener("resize", n, { passive: !0 }), () => {
340
385
  cancelAnimationFrame(c), window.removeEventListener("scroll", n, { capture: !0 }), window.removeEventListener("resize", n);
341
386
  };
342
- }, [r, e, x, a, f]), !r) return null;
343
- const y = X(p);
344
- return C(
345
- /* @__PURE__ */ d(
387
+ }, [x, e, o, a, f]), !x) return null;
388
+ const I = q(p);
389
+ return R(
390
+ /* @__PURE__ */ u(
346
391
  "div",
347
392
  {
348
393
  ref: m,
@@ -350,78 +395,78 @@ function Y({
350
395
  style: {
351
396
  position: "fixed",
352
397
  zIndex: 99998,
353
- width: y,
398
+ width: I,
354
399
  minWidth: "140px",
355
400
  background: "var(--color-elevated, var(--color-surface-bg))",
356
401
  border: "1px solid var(--color-surface-border)",
357
- borderRadius: i ? "8px" : "0px",
402
+ borderRadius: l ? "8px" : "0px",
358
403
  padding: "4px",
359
404
  boxShadow: "0 12px 40px rgba(0,0,0,.35), 0 0 0 1px var(--color-panel-border, rgba(255,255,255,.04))",
360
405
  animation: "dui_menu-in 120ms ease-out"
361
406
  },
362
- children: /* @__PURE__ */ d(H, { items: t, onClose: o, rounded: i })
407
+ children: /* @__PURE__ */ u(H, { items: t, onClose: r, rounded: l })
363
408
  }
364
409
  ),
365
410
  document.body
366
411
  );
367
412
  }
368
- let U = "idle", M = null, L = null;
369
- const k = /* @__PURE__ */ new Set();
370
- function K() {
371
- for (const t of k) t();
413
+ let W = "idle", M = null, A = null;
414
+ const D = /* @__PURE__ */ new Set();
415
+ function V() {
416
+ for (const t of D) t();
372
417
  }
373
- function D() {
374
- return U;
418
+ function k() {
419
+ return W;
375
420
  }
376
- function ft(t) {
421
+ function vt(t) {
377
422
  M = t;
378
423
  }
379
- function mt(t) {
380
- L = t;
424
+ function It(t) {
425
+ A = t;
381
426
  }
382
- function ht() {
427
+ function yt() {
383
428
  return M;
384
429
  }
385
- function gt() {
386
- return L;
430
+ function _t() {
431
+ return A;
387
432
  }
388
- function bt() {
389
- U = "ready", K();
433
+ function wt() {
434
+ W = "ready", V();
390
435
  }
391
- function vt() {
392
- return $(
393
- (t) => (k.add(t), () => k.delete(t)),
394
- D,
395
- D
436
+ function Dt() {
437
+ return F(
438
+ (t) => (D.add(t), () => D.delete(t)),
439
+ k,
440
+ k
396
441
  );
397
442
  }
398
- function yt({
443
+ function kt({
399
444
  bordered: t,
400
445
  containerHeight: e,
401
- children: r,
402
- contextMenuMode: o = "native",
446
+ children: x,
447
+ contextMenuMode: r = "native",
403
448
  contextMenuItems: p,
404
- accentColor: i
449
+ accentColor: l
405
450
  }) {
406
- const [a, x] = E(null), f = o === "dui";
407
- return /* @__PURE__ */ I(
451
+ const [a, o] = S(null), f = r === "dui";
452
+ return /* @__PURE__ */ _(
408
453
  "div",
409
454
  {
410
455
  className: `dui-editor-shell relative${t ? " rounded border border-[var(--color-surface-border)]" : ""}`,
411
- style: { height: e, width: "100%", position: "relative", ...i ? { "--editor-accent": i } : {} },
456
+ style: { height: e, width: "100%", position: "relative", ...l ? { "--editor-accent": l } : {} },
412
457
  onContextMenu: f ? (m) => {
413
- m.preventDefault(), x({ x: m.clientX, y: m.clientY });
458
+ m.preventDefault(), o({ x: m.clientX, y: m.clientY });
414
459
  } : void 0,
415
460
  children: [
416
- r,
417
- f && p && /* @__PURE__ */ d(
418
- Y,
461
+ x,
462
+ f && p && /* @__PURE__ */ u(
463
+ K,
419
464
  {
420
465
  open: !!a,
421
466
  anchorEl: null,
422
467
  position: a ?? void 0,
423
468
  items: p,
424
- onClose: () => x(null)
469
+ onClose: () => o(null)
425
470
  }
426
471
  )
427
472
  ]
@@ -429,32 +474,37 @@ function yt({
429
474
  );
430
475
  }
431
476
  export {
432
- Y as C,
433
- at as D,
434
- yt as E,
435
- ct as a,
436
- lt as b,
437
- xt as c,
438
- st as d,
477
+ wt as A,
478
+ vt as B,
479
+ K as C,
480
+ mt as D,
481
+ kt as E,
482
+ It as F,
483
+ ft as a,
484
+ pt as b,
485
+ at as c,
486
+ dt as d,
439
487
  et as e,
440
- N as f,
488
+ G as f,
441
489
  nt as g,
442
490
  z as h,
443
- rt as i,
444
- it as j,
445
- pt as k,
446
- vt as l,
447
- ht as m,
448
- gt as n,
449
- ot as o,
450
- O as p,
451
- B as q,
452
- j as r,
453
- ut as s,
454
- dt as t,
455
- W as u,
456
- bt as v,
457
- ft as w,
458
- mt as x
491
+ it as i,
492
+ ut as j,
493
+ rt as k,
494
+ xt as l,
495
+ ot as m,
496
+ lt as n,
497
+ st as o,
498
+ ct as p,
499
+ bt as q,
500
+ Z as r,
501
+ Dt as s,
502
+ yt as t,
503
+ U as u,
504
+ _t as v,
505
+ $ as w,
506
+ N as x,
507
+ ht as y,
508
+ gt as z
459
509
  };
460
- //# sourceMappingURL=EditorView.shell-BGH2VhWM.js.map
510
+ //# sourceMappingURL=EditorView.shell-DWGMOgiy.js.map