markdown-flow-ui 0.3.2-dev.2 → 0.3.3

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 (478) hide show
  1. package/README.md +0 -13
  2. package/dist/_virtual/index.es6.js +5 -3
  3. package/dist/_virtual/index.es6.js.map +1 -1
  4. package/dist/_virtual/index.es7.js +3 -5
  5. package/dist/_virtual/index.es7.js.map +1 -1
  6. package/dist/_virtual/index6.cjs +1 -1
  7. package/dist/_virtual/index7.cjs +1 -1
  8. package/dist/assets/markdown-flow-ui.css +1 -10
  9. package/dist/components/ContentRender/IframeSandbox.cjs.map +1 -1
  10. package/dist/components/ContentRender/IframeSandbox.es.js.map +1 -1
  11. package/dist/components/ContentRender/utils/video-markdown-run.cjs.map +1 -1
  12. package/dist/components/ContentRender/utils/video-markdown-run.es.js.map +1 -1
  13. package/dist/components/MarkdownFlow/ScrollToBottomButton.cjs.map +1 -1
  14. package/dist/components/MarkdownFlow/ScrollToBottomButton.es.js.map +1 -1
  15. package/dist/components/MarkdownFlow/ScrollToBottomControl.cjs.map +1 -1
  16. package/dist/components/MarkdownFlow/ScrollToBottomControl.es.js.map +1 -1
  17. package/dist/components/MarkdownFlow/useScrollToBottom.cjs.map +1 -1
  18. package/dist/components/MarkdownFlow/useScrollToBottom.es.js.map +1 -1
  19. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs +1 -1
  20. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.cjs.map +1 -1
  21. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.d.ts +2 -2
  22. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js +323 -562
  23. package/dist/components/MarkdownFlowEditor/MarkdownFlowEditor.es.js.map +1 -1
  24. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs +1 -1
  25. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.cjs.map +1 -1
  26. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.d.ts +0 -8
  27. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js +64 -107
  28. package/dist/components/MarkdownFlowEditor/components/EditorToolbar.es.js.map +1 -1
  29. package/dist/components/MarkdownFlowEditor/editor-context.cjs +1 -1
  30. package/dist/components/MarkdownFlowEditor/editor-context.cjs.map +1 -1
  31. package/dist/components/MarkdownFlowEditor/editor-context.es.js +4 -10
  32. package/dist/components/MarkdownFlowEditor/editor-context.es.js.map +1 -1
  33. package/dist/components/MarkdownFlowEditor/editorI18n.d.ts +0 -308
  34. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.cjs +1 -1
  35. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.d.ts +1 -15
  36. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js +87 -115
  37. package/dist/components/MarkdownFlowEditor/locales/ar-SA.json.es.js.map +1 -1
  38. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.cjs +1 -1
  39. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.d.ts +1 -15
  40. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.es.js +88 -116
  41. package/dist/components/MarkdownFlowEditor/locales/de-DE.json.es.js.map +1 -1
  42. package/dist/components/MarkdownFlowEditor/locales/en-US.json.cjs +1 -1
  43. package/dist/components/MarkdownFlowEditor/locales/en-US.json.d.ts +1 -15
  44. package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js +88 -116
  45. package/dist/components/MarkdownFlowEditor/locales/en-US.json.es.js.map +1 -1
  46. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.cjs +1 -1
  47. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.d.ts +1 -15
  48. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.es.js +80 -108
  49. package/dist/components/MarkdownFlowEditor/locales/es-ES.json.es.js.map +1 -1
  50. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.cjs +1 -1
  51. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.d.ts +1 -15
  52. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.es.js +82 -110
  53. package/dist/components/MarkdownFlowEditor/locales/fil-PH.json.es.js.map +1 -1
  54. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.cjs +1 -1
  55. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.d.ts +1 -15
  56. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js +86 -114
  57. package/dist/components/MarkdownFlowEditor/locales/fr-FR.json.es.js.map +1 -1
  58. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.cjs +1 -1
  59. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.d.ts +1 -15
  60. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.es.js +88 -116
  61. package/dist/components/MarkdownFlowEditor/locales/ja-JP.json.es.js.map +1 -1
  62. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.cjs +1 -1
  63. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.d.ts +1 -15
  64. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js +85 -113
  65. package/dist/components/MarkdownFlowEditor/locales/th-TH.json.es.js.map +1 -1
  66. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.cjs +1 -1
  67. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.d.ts +1 -15
  68. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.es.js +94 -122
  69. package/dist/components/MarkdownFlowEditor/locales/ur-PK.json.es.js.map +1 -1
  70. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.cjs +1 -1
  71. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.d.ts +1 -15
  72. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.es.js +74 -102
  73. package/dist/components/MarkdownFlowEditor/locales/vi-VN.json.es.js.map +1 -1
  74. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.cjs +1 -1
  75. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.d.ts +1 -15
  76. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js +72 -100
  77. package/dist/components/MarkdownFlowEditor/locales/zh-CN.json.es.js.map +1 -1
  78. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs +1 -1
  79. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.cjs.map +1 -1
  80. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.d.ts +2 -1
  81. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js +59 -51
  82. package/dist/components/MarkdownFlowEditor/plugins/ImgPlaceholder.es.js.map +1 -1
  83. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.cjs.map +1 -1
  84. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.d.ts +1 -1
  85. package/dist/components/MarkdownFlowEditor/plugins/PlaceholderWidget.es.js.map +1 -1
  86. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs +3 -3
  87. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs.map +1 -1
  88. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.d.ts +1 -5
  89. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js +156 -160
  90. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js.map +1 -1
  91. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs +1 -1
  92. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.cjs.map +1 -1
  93. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.d.ts +2 -1
  94. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js +51 -41
  95. package/dist/components/MarkdownFlowEditor/plugins/VideoPlaceholder.es.js.map +1 -1
  96. package/dist/components/MarkdownFlowEditor/types.cjs +1 -1
  97. package/dist/components/MarkdownFlowEditor/types.cjs.map +1 -1
  98. package/dist/components/MarkdownFlowEditor/types.d.ts +1 -11
  99. package/dist/components/MarkdownFlowEditor/types.es.js +2 -2
  100. package/dist/components/MarkdownFlowEditor/types.es.js.map +1 -1
  101. package/dist/components/MarkdownFlowEditor/utils.cjs +1 -1
  102. package/dist/components/MarkdownFlowEditor/utils.cjs.map +1 -1
  103. package/dist/components/MarkdownFlowEditor/utils.d.ts +5 -11
  104. package/dist/components/MarkdownFlowEditor/utils.es.js +43 -58
  105. package/dist/components/MarkdownFlowEditor/utils.es.js.map +1 -1
  106. package/dist/components/Slide/MarkdownSlideScaling.cjs.map +1 -1
  107. package/dist/components/Slide/MarkdownSlideScaling.es.js.map +1 -1
  108. package/dist/components/Slide/MobilePlayerSettingsSheet.es.js +16 -16
  109. package/dist/components/Slide/Player.cjs.map +1 -1
  110. package/dist/components/Slide/Player.es.js.map +1 -1
  111. package/dist/components/Slide/Slide.cjs.map +1 -1
  112. package/dist/components/Slide/Slide.es.js.map +1 -1
  113. package/dist/components/Slide/SubtitleOverlay.cjs.map +1 -1
  114. package/dist/components/Slide/SubtitleOverlay.es.js.map +1 -1
  115. package/dist/components/Slide/slideI18n.cjs.map +1 -1
  116. package/dist/components/Slide/slideI18n.es.js.map +1 -1
  117. package/dist/components/Slide/useSlide.cjs.map +1 -1
  118. package/dist/components/Slide/useSlide.es.js.map +1 -1
  119. package/dist/components/Slide/utils/streamingNavigation.cjs.map +1 -1
  120. package/dist/components/Slide/utils/streamingNavigation.es.js.map +1 -1
  121. package/dist/components/ui/dialog.cjs +1 -1
  122. package/dist/components/ui/dialog.cjs.map +1 -1
  123. package/dist/components/ui/dialog.es.js +27 -27
  124. package/dist/components/ui/dialog.es.js.map +1 -1
  125. package/dist/lib/interaction-defaults.cjs.map +1 -1
  126. package/dist/lib/interaction-defaults.es.js.map +1 -1
  127. package/dist/markdown-flow-ui-lib.css +1 -1
  128. package/dist/markdown-flow-ui.css +1 -10
  129. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOHPRMQF.cjs +2 -14
  130. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOHPRMQF.cjs.map +1 -1
  131. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOHPRMQF.es.js +6 -26
  132. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-FOHPRMQF.es.js.map +1 -1
  133. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.cjs +1 -1
  134. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.cjs.map +1 -1
  135. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js +2 -6
  136. package/dist/node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-ICYGCRZG.es.js.map +1 -1
  137. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs +1 -1
  138. package/dist/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -1
  139. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js +34 -49
  140. package/dist/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -1
  141. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs +1 -5
  142. package/dist/node_modules/@radix-ui/react-dialog/dist/index.cjs.map +1 -1
  143. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js +206 -220
  144. package/dist/node_modules/@radix-ui/react-dialog/dist/index.es.js.map +1 -1
  145. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs +2 -0
  146. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.cjs.map +1 -0
  147. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js +50 -0
  148. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.es.js.map +1 -0
  149. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  150. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  151. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  152. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  153. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs +2 -0
  154. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.cjs.map +1 -0
  155. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js +82 -0
  156. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context/dist/index.es.js.map +1 -0
  157. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +2 -0
  158. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +1 -0
  159. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +216 -0
  160. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +1 -0
  161. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs +2 -0
  162. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -0
  163. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js +15 -0
  164. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -0
  165. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs +2 -0
  166. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.cjs.map +1 -0
  167. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js +18 -0
  168. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal/dist/index.es.js.map +1 -0
  169. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs +2 -0
  170. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.cjs.map +1 -0
  171. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js +104 -0
  172. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-presence/dist/index.es.js.map +1 -0
  173. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  174. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  175. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js +39 -0
  176. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  177. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  178. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  179. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +13 -0
  180. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  181. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +2 -0
  182. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +1 -0
  183. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +70 -0
  184. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +1 -0
  185. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +2 -0
  186. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs.map +1 -0
  187. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js +20 -0
  188. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-effect-event/dist/index.es.js.map +1 -0
  189. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +2 -0
  190. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs.map +1 -0
  191. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js +7 -0
  192. package/dist/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js.map +1 -0
  193. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -1
  194. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.cjs.map +1 -1
  195. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.es.js +18 -9
  196. package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.es.js.map +1 -1
  197. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  198. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  199. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +148 -100
  200. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -1
  201. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  202. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  203. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  204. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  205. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs +2 -0
  206. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -0
  207. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js +39 -0
  208. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -0
  209. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +2 -0
  210. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -0
  211. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +13 -0
  212. package/dist/node_modules/@radix-ui/react-focus-scope/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -0
  213. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs +1 -1
  214. package/dist/node_modules/@radix-ui/react-id/dist/index.cjs.map +1 -1
  215. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js +8 -8
  216. package/dist/node_modules/@radix-ui/react-id/dist/index.es.js.map +1 -1
  217. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -1
  218. package/dist/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +1 -1
  219. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js +2 -2
  220. package/dist/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +1 -1
  221. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  222. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  223. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js +50 -0
  224. package/dist/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  225. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  226. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  227. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +80 -41
  228. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  229. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +2 -0
  230. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.cjs.map +1 -0
  231. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js +34 -0
  232. package/dist/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs/dist/index.es.js.map +1 -0
  233. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  234. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  235. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +1 -1
  236. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +2 -0
  237. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -0
  238. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +12 -0
  239. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -0
  240. package/dist/node_modules/classnames/index.cjs +1 -5
  241. package/dist/node_modules/classnames/index.cjs.map +1 -1
  242. package/dist/node_modules/classnames/index.es.js +0 -5
  243. package/dist/node_modules/classnames/index.es.js.map +1 -1
  244. package/dist/node_modules/cytoscape/dist/cytoscape.esm.cjs +3 -13
  245. package/dist/node_modules/cytoscape/dist/cytoscape.esm.cjs.map +1 -1
  246. package/dist/node_modules/cytoscape/dist/cytoscape.esm.es.js +15 -46
  247. package/dist/node_modules/cytoscape/dist/cytoscape.esm.es.js.map +1 -1
  248. package/dist/node_modules/d3-scale/src/ordinal.es.js +1 -1
  249. package/dist/node_modules/d3-scale/src/ordinal.es.js.map +1 -1
  250. package/dist/node_modules/dompurify/dist/purify.es.cjs +2 -2
  251. package/dist/node_modules/dompurify/dist/purify.es.cjs.map +1 -1
  252. package/dist/node_modules/dompurify/dist/purify.es.es.js +0 -2
  253. package/dist/node_modules/dompurify/dist/purify.es.es.js.map +1 -1
  254. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
  255. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  256. package/dist/node_modules/highlight.js/lib/core.es.js +1 -1
  257. package/dist/node_modules/highlight.js/lib/core.es.js.map +1 -1
  258. package/dist/node_modules/katex/dist/katex.cjs +18 -18
  259. package/dist/node_modules/katex/dist/katex.cjs.map +1 -1
  260. package/dist/node_modules/katex/dist/katex.es.js +2716 -3120
  261. package/dist/node_modules/katex/dist/katex.es.js.map +1 -1
  262. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs +1 -6
  263. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs.map +1 -1
  264. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +0 -6
  265. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js.map +1 -1
  266. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs +1 -6
  267. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs.map +1 -1
  268. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.es.js +0 -6
  269. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.es.js.map +1 -1
  270. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs +1 -6
  271. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs.map +1 -1
  272. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.es.js +0 -6
  273. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.es.js.map +1 -1
  274. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.cjs +1 -6
  275. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.cjs.map +1 -1
  276. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.es.js +0 -6
  277. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.es.js.map +1 -1
  278. package/dist/node_modules/lucide-react/dist/esm/icons/captions.cjs +1 -6
  279. package/dist/node_modules/lucide-react/dist/esm/icons/captions.cjs.map +1 -1
  280. package/dist/node_modules/lucide-react/dist/esm/icons/captions.es.js +0 -6
  281. package/dist/node_modules/lucide-react/dist/esm/icons/captions.es.js.map +1 -1
  282. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs +1 -6
  283. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs.map +1 -1
  284. package/dist/node_modules/lucide-react/dist/esm/icons/check.es.js +0 -6
  285. package/dist/node_modules/lucide-react/dist/esm/icons/check.es.js.map +1 -1
  286. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs +1 -6
  287. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs.map +1 -1
  288. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.es.js +0 -6
  289. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.es.js.map +1 -1
  290. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.cjs +1 -6
  291. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.cjs.map +1 -1
  292. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.es.js +0 -6
  293. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.es.js.map +1 -1
  294. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.cjs +1 -6
  295. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.cjs.map +1 -1
  296. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.es.js +0 -6
  297. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.es.js.map +1 -1
  298. package/dist/node_modules/lucide-react/dist/esm/icons/copy.cjs +1 -6
  299. package/dist/node_modules/lucide-react/dist/esm/icons/copy.cjs.map +1 -1
  300. package/dist/node_modules/lucide-react/dist/esm/icons/copy.es.js +0 -6
  301. package/dist/node_modules/lucide-react/dist/esm/icons/copy.es.js.map +1 -1
  302. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.cjs +1 -6
  303. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.cjs.map +1 -1
  304. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.es.js +0 -6
  305. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.es.js.map +1 -1
  306. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.cjs +1 -6
  307. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.cjs.map +1 -1
  308. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.es.js +0 -6
  309. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.es.js.map +1 -1
  310. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.cjs +1 -6
  311. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.cjs.map +1 -1
  312. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.es.js +0 -6
  313. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.es.js.map +1 -1
  314. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs +1 -6
  315. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs.map +1 -1
  316. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js +0 -6
  317. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js.map +1 -1
  318. package/dist/node_modules/lucide-react/dist/esm/icons/image.cjs +1 -6
  319. package/dist/node_modules/lucide-react/dist/esm/icons/image.cjs.map +1 -1
  320. package/dist/node_modules/lucide-react/dist/esm/icons/image.es.js +0 -6
  321. package/dist/node_modules/lucide-react/dist/esm/icons/image.es.js.map +1 -1
  322. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs +1 -6
  323. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs.map +1 -1
  324. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.es.js +0 -6
  325. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.es.js.map +1 -1
  326. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.cjs +1 -6
  327. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.cjs.map +1 -1
  328. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.es.js +0 -6
  329. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.es.js.map +1 -1
  330. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.cjs +1 -6
  331. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.cjs.map +1 -1
  332. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.es.js +0 -6
  333. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.es.js.map +1 -1
  334. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.cjs +1 -6
  335. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.cjs.map +1 -1
  336. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.es.js +0 -6
  337. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.es.js.map +1 -1
  338. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.cjs +1 -6
  339. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.cjs.map +1 -1
  340. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.es.js +0 -6
  341. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.es.js.map +1 -1
  342. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.cjs +1 -6
  343. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.cjs.map +1 -1
  344. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.es.js +0 -6
  345. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.es.js.map +1 -1
  346. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.cjs +1 -6
  347. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.cjs.map +1 -1
  348. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.es.js +0 -6
  349. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.es.js.map +1 -1
  350. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.cjs +1 -6
  351. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.cjs.map +1 -1
  352. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.es.js +0 -6
  353. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.es.js.map +1 -1
  354. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.cjs +1 -6
  355. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.cjs.map +1 -1
  356. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.es.js +0 -6
  357. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.es.js.map +1 -1
  358. package/dist/node_modules/lucide-react/dist/esm/icons/upload.cjs +1 -6
  359. package/dist/node_modules/lucide-react/dist/esm/icons/upload.cjs.map +1 -1
  360. package/dist/node_modules/lucide-react/dist/esm/icons/upload.es.js +0 -6
  361. package/dist/node_modules/lucide-react/dist/esm/icons/upload.es.js.map +1 -1
  362. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.cjs +1 -6
  363. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.cjs.map +1 -1
  364. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.es.js +0 -6
  365. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.es.js.map +1 -1
  366. package/dist/node_modules/lucide-react/dist/esm/icons/x.cjs +1 -6
  367. package/dist/node_modules/lucide-react/dist/esm/icons/x.cjs.map +1 -1
  368. package/dist/node_modules/lucide-react/dist/esm/icons/x.es.js +0 -6
  369. package/dist/node_modules/lucide-react/dist/esm/icons/x.es.js.map +1 -1
  370. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs +1 -6
  371. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs.map +1 -1
  372. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.es.js +0 -6
  373. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.es.js.map +1 -1
  374. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs +1 -1
  375. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.cjs.map +1 -1
  376. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js +1 -6
  377. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VBNYF7ZC.es.js.map +1 -1
  378. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.cjs +1 -1
  379. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-5PPSVZJV.es.js +1 -1
  380. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.cjs +1 -1
  381. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-2GRJ4B5K.es.js +1 -1
  382. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.cjs +1 -1
  383. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-NSK5VX7P.es.js +1 -1
  384. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.cjs +1 -1
  385. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-JCYQIIEL.es.js +1 -1
  386. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.cjs +1 -1
  387. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-OCEON4UE.es.js +1 -1
  388. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VZM6K2ZE.cjs +1 -1
  389. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VZM6K2ZE.cjs.map +1 -1
  390. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VZM6K2ZE.es.js +0 -3
  391. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/dagre-VZM6K2ZE.es.js.map +1 -1
  392. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs +1 -1
  393. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.cjs.map +1 -1
  394. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js +0 -2
  395. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/diagram-B4RE2ZJO.es.js.map +1 -1
  396. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.cjs +1 -1
  397. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-UKHOOZJN.es.js +1 -1
  398. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.cjs +1 -1
  399. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-PKOTCBZU.es.js +1 -1
  400. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-7S7Q4E2Y.cjs +1 -1
  401. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-7S7Q4E2Y.cjs.map +1 -1
  402. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-7S7Q4E2Y.es.js +0 -1
  403. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-7S7Q4E2Y.es.js.map +1 -1
  404. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.cjs +1 -1
  405. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.es.js +1 -1
  406. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.cjs +1 -1
  407. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-OKZ733FA.es.js +1 -1
  408. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.cjs +1 -1
  409. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-UEYNNEHI.es.js +1 -1
  410. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.cjs +1 -1
  411. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.es.js +1 -1
  412. package/dist/node_modules/mermaid/dist/mermaid.core.cjs +1 -3
  413. package/dist/node_modules/mermaid/dist/mermaid.core.cjs.map +1 -1
  414. package/dist/node_modules/mermaid/dist/mermaid.core.es.js +0 -4
  415. package/dist/node_modules/mermaid/dist/mermaid.core.es.js.map +1 -1
  416. package/dist/node_modules/rc-util/es/React/isFragment.es.js +1 -1
  417. package/dist/node_modules/rc-util/es/React/isFragment.es.js.map +1 -1
  418. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.cjs +1 -9
  419. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.cjs.map +1 -1
  420. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.es.js +2 -11
  421. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.es.js.map +1 -1
  422. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.cjs +1 -9
  423. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.cjs.map +1 -1
  424. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.es.js +2 -11
  425. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.es.js.map +1 -1
  426. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +2 -2
  427. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs.map +1 -1
  428. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js +75 -72
  429. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.es.js.map +1 -1
  430. package/dist/node_modules/style-mod/src/style-mod.es.js +1 -1
  431. package/dist/node_modules/style-mod/src/style-mod.es.js.map +1 -1
  432. package/package.json +30 -29
  433. package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs +0 -2
  434. package/dist/components/MarkdownFlowEditor/components/CustomPopover.cjs.map +0 -1
  435. package/dist/components/MarkdownFlowEditor/components/CustomPopover.d.ts +0 -17
  436. package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js +0 -46
  437. package/dist/components/MarkdownFlowEditor/components/CustomPopover.es.js.map +0 -1
  438. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs +0 -2
  439. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.cjs.map +0 -1
  440. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.d.ts +0 -18
  441. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js +0 -184
  442. package/dist/components/MarkdownFlowEditor/components/VariableSearchDropdown.es.js.map +0 -1
  443. package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs +0 -2
  444. package/dist/components/MarkdownFlowEditor/components/VariableSelect.cjs.map +0 -1
  445. package/dist/components/MarkdownFlowEditor/components/VariableSelect.d.ts +0 -11
  446. package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js +0 -172
  447. package/dist/components/MarkdownFlowEditor/components/VariableSelect.es.js.map +0 -1
  448. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs +0 -2
  449. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.cjs.map +0 -1
  450. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.d.ts +0 -3
  451. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js +0 -32
  452. package/dist/components/MarkdownFlowEditor/components/icons/SearchBracesIcon.es.js.map +0 -1
  453. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.cjs +0 -3
  454. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.cjs.map +0 -1
  455. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.d.ts +0 -9
  456. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.es.js +0 -53
  457. package/dist/components/MarkdownFlowEditor/plugins/VariablePlaceholder.es.js.map +0 -1
  458. package/dist/components/ui/popover.cjs +0 -2
  459. package/dist/components/ui/popover.cjs.map +0 -1
  460. package/dist/components/ui/popover.es.js +0 -24
  461. package/dist/components/ui/popover.es.js.map +0 -1
  462. package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs +0 -2
  463. package/dist/node_modules/@radix-ui/react-popover/dist/index.cjs.map +0 -1
  464. package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js +0 -241
  465. package/dist/node_modules/@radix-ui/react-popover/dist/index.es.js.map +0 -1
  466. package/dist/node_modules/lucide-react/dist/esm/icons/braces.cjs +0 -7
  467. package/dist/node_modules/lucide-react/dist/esm/icons/braces.cjs.map +0 -1
  468. package/dist/node_modules/lucide-react/dist/esm/icons/braces.es.js +0 -25
  469. package/dist/node_modules/lucide-react/dist/esm/icons/braces.es.js.map +0 -1
  470. package/dist/node_modules/lucide-react/dist/esm/icons/plus.cjs +0 -7
  471. package/dist/node_modules/lucide-react/dist/esm/icons/plus.cjs.map +0 -1
  472. package/dist/node_modules/lucide-react/dist/esm/icons/plus.es.js +0 -16
  473. package/dist/node_modules/lucide-react/dist/esm/icons/plus.es.js.map +0 -1
  474. package/dist/node_modules/lucide-react/dist/esm/icons/search.cjs +0 -7
  475. package/dist/node_modules/lucide-react/dist/esm/icons/search.cjs.map +0 -1
  476. package/dist/node_modules/lucide-react/dist/esm/icons/search.es.js +0 -16
  477. package/dist/node_modules/lucide-react/dist/esm/icons/search.es.js.map +0 -1
  478. /package/dist/components/MarkdownFlowEditor/plugins/{VariablePlaceholder.test.d.ts → MediaPlaceholder.variables.test.d.ts} +0 -0
@@ -1,258 +1,244 @@
1
1
  import * as s from "react";
2
- import { composeEventHandlers as p } from "../../primitive/dist/index.es.js";
3
- import { useComposedRefs as _ } from "../../react-compose-refs/dist/index.es.js";
4
- import { createContextScope as H, createContext as V } from "../../react-context/dist/index.es.js";
5
- import { useId as R } from "../../react-id/dist/index.es.js";
6
- import { useControllableState as q } from "../../react-use-controllable-state/dist/index.es.js";
7
- import { DismissableLayer as K } from "../../react-dismissable-layer/dist/index.es.js";
8
- import { FocusScope as U } from "../../react-focus-scope/dist/index.es.js";
9
- import { Portal as Y } from "../../react-portal/dist/index.es.js";
10
- import { Presence as h } from "../../react-presence/dist/index.es.js";
11
- import { Primitive as g } from "../../react-primitive/dist/index.es.js";
12
- import { useFocusGuards as Z } from "../../react-focus-guards/dist/index.es.js";
13
- import z from "../../../react-remove-scroll/dist/es2015/Combination.es.js";
14
- import { hideOthers as J } from "../../../aria-hidden/dist/es2015/index.es.js";
15
- import { createSlot as Q } from "../../react-slot/dist/index.es.js";
16
- import { jsx as i, jsxs as P, Fragment as O } from "react/jsx-runtime";
17
- var D = "Dialog", [I, Ne] = H(D), [X, u] = I(D), x = (e) => {
2
+ import { composeEventHandlers as m } from "../node_modules/@radix-ui/primitive/dist/index.es.js";
3
+ import { useComposedRefs as _ } from "../node_modules/@radix-ui/react-compose-refs/dist/index.es.js";
4
+ import { createContextScope as k } from "../node_modules/@radix-ui/react-context/dist/index.es.js";
5
+ import { useId as R } from "../node_modules/@radix-ui/react-id/dist/index.es.js";
6
+ import { useControllableState as j } from "../node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js";
7
+ import { DismissableLayer as B, useDismissableLayerSurface as G } from "../node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js";
8
+ import { FocusScopeBranchProvider as z, FocusScope as H, useFocusScopeBranchRegistry as K } from "../../react-focus-scope/dist/index.es.js";
9
+ import { Portal as U } from "../node_modules/@radix-ui/react-portal/dist/index.es.js";
10
+ import { Presence as P } from "../node_modules/@radix-ui/react-presence/dist/index.es.js";
11
+ import { Primitive as C } from "../node_modules/@radix-ui/react-primitive/dist/index.es.js";
12
+ import { useFocusGuards as V } from "../../react-focus-guards/dist/index.es.js";
13
+ import { useLayoutEffect as b } from "../node_modules/@radix-ui/react-use-layout-effect/dist/index.es.js";
14
+ import Y from "../../../react-remove-scroll/dist/es2015/Combination.es.js";
15
+ import { hideOthers as Z } from "../../../aria-hidden/dist/es2015/index.es.js";
16
+ import { createSlot as q } from "../../react-slot/dist/index.es.js";
17
+ import { jsx as c } from "react/jsx-runtime";
18
+ var J = Object.defineProperty, u = (l, o) => J(l, "name", { value: o, configurable: !0 }), y = "Dialog", [I, Re] = k(y), [Q, d] = I(y), he = /* @__PURE__ */ u((l) => {
18
19
  const {
19
- __scopeDialog: t,
20
- children: n,
21
- open: a,
22
- defaultOpen: r,
23
- onOpenChange: o,
24
- modal: l = !0
25
- } = e, c = s.useRef(null), f = s.useRef(null), [v, C] = q({
26
- prop: a,
27
- defaultProp: r ?? !1,
28
- onChange: o,
29
- caller: D
30
- });
31
- return /* @__PURE__ */ i(
32
- X,
20
+ __scopeDialog: o,
21
+ children: r,
22
+ open: n,
23
+ defaultOpen: i,
24
+ onOpenChange: t,
25
+ modal: e = !0
26
+ } = l, a = s.useRef(null), g = s.useRef(null), { nodes: D, registry: f } = K(), [x, v] = j({
27
+ prop: n,
28
+ defaultProp: i ?? !1,
29
+ onChange: t,
30
+ caller: y
31
+ }), [F, w] = s.useState(0), [N, T] = s.useState(0);
32
+ return /* @__PURE__ */ c(
33
+ Q,
33
34
  {
34
- scope: t,
35
- triggerRef: c,
36
- contentRef: f,
35
+ scope: o,
36
+ triggerRef: a,
37
+ contentRef: g,
37
38
  contentId: R(),
38
39
  titleId: R(),
39
40
  descriptionId: R(),
40
- open: v,
41
- onOpenChange: C,
42
- onOpenToggle: s.useCallback(() => C((j) => !j), [C]),
43
- modal: l,
44
- children: n
41
+ titlePresent: F > 0,
42
+ descriptionPresent: N > 0,
43
+ setTitleCount: w,
44
+ setDescriptionCount: T,
45
+ open: x,
46
+ onOpenChange: v,
47
+ onOpenToggle: s.useCallback(() => v((L) => !L), [v]),
48
+ modal: e,
49
+ branchNodes: D,
50
+ branchRegistry: f,
51
+ children: r
45
52
  }
46
53
  );
47
- };
48
- x.displayName = D;
49
- var A = "DialogTrigger", ee = s.forwardRef(
50
- (e, t) => {
51
- const { __scopeDialog: n, ...a } = e, r = u(A, n), o = _(t, r.triggerRef);
52
- return /* @__PURE__ */ i(
53
- g.button,
54
- {
55
- type: "button",
56
- "aria-haspopup": "dialog",
57
- "aria-expanded": r.open,
58
- "aria-controls": r.contentId,
59
- "data-state": N(r.open),
60
- ...a,
61
- ref: o,
62
- onClick: p(e.onClick, r.onOpenToggle)
63
- }
64
- );
65
- }
66
- );
67
- ee.displayName = A;
68
- var E = "DialogPortal", [oe, T] = I(E, {
54
+ }, "Dialog"), A = "DialogPortal", [W, E] = I(A, {
69
55
  forceMount: void 0
70
- }), b = (e) => {
71
- const { __scopeDialog: t, forceMount: n, children: a, container: r } = e, o = u(E, t);
72
- return /* @__PURE__ */ i(oe, { scope: t, forceMount: n, children: s.Children.map(a, (l) => /* @__PURE__ */ i(h, { present: n || o.open, children: /* @__PURE__ */ i(Y, { asChild: !0, container: r, children: l }) })) });
73
- };
74
- b.displayName = E;
75
- var m = "DialogOverlay", M = s.forwardRef(
76
- (e, t) => {
77
- const n = T(m, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, o = u(m, e.__scopeDialog);
78
- return o.modal ? /* @__PURE__ */ i(h, { present: a || o.open, children: /* @__PURE__ */ i(re, { ...r, ref: t }) }) : null;
79
- }
80
- );
81
- M.displayName = m;
82
- var te = Q("DialogOverlay.RemoveScroll"), re = s.forwardRef(
83
- (e, t) => {
84
- const { __scopeDialog: n, ...a } = e, r = u(m, n);
56
+ }), Pe = /* @__PURE__ */ u((l) => {
57
+ const { __scopeDialog: o, forceMount: r, children: n, container: i } = l, t = d(A, o);
58
+ return /* @__PURE__ */ c(W, { scope: o, forceMount: r, children: s.Children.map(n, (e) => /* @__PURE__ */ c(P, { present: r || t.open, children: /* @__PURE__ */ c(U, { asChild: !0, container: i, children: e }) })) });
59
+ }, "DialogPortal"), h = "DialogOverlay", ye = /* @__PURE__ */ s.forwardRef(
60
+ /* @__PURE__ */ u(function(o, r) {
61
+ const n = E(h, o.__scopeDialog), { forceMount: i = n.forceMount, ...t } = o, e = d(h, o.__scopeDialog);
62
+ return e.modal ? /* @__PURE__ */ c(P, { present: i || e.open, children: /* @__PURE__ */ c($, { ...t, ref: r }) }) : null;
63
+ }, "DialogOverlay")
64
+ ), X = q("DialogOverlay.RemoveScroll"), $ = /* @__PURE__ */ s.forwardRef(
65
+ // blank line to reduce diff noise
66
+ /* @__PURE__ */ u(function(o, r) {
67
+ const { __scopeDialog: n, ...i } = o, t = d(h, n), e = G(), a = _(r, e);
85
68
  return (
86
- // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
87
- // ie. when `Overlay` and `Content` are siblings
88
- /* @__PURE__ */ i(z, { as: te, allowPinchZoom: !0, shards: [r.contentRef], children: /* @__PURE__ */ i(
89
- g.div,
69
+ // Make sure `Content` is scrollable even when it doesn't live inside
70
+ // `RemoveScroll` (eg. when `Overlay` and `Content` are siblings). Nested
71
+ // layers are registered as branches and added as shards so they remain
72
+ // scrollable too. See https://github.com/radix-ui/primitives/issues/3423
73
+ /* @__PURE__ */ c(
74
+ Y,
90
75
  {
91
- "data-state": N(r.open),
92
- ...a,
93
- ref: t,
94
- style: { pointerEvents: "auto", ...a.style }
76
+ as: X,
77
+ allowPinchZoom: !0,
78
+ shards: s.useMemo(
79
+ () => [t.contentRef, ...t.branchNodes.map((g) => ({ current: g }))],
80
+ [t.contentRef, t.branchNodes]
81
+ ),
82
+ children: /* @__PURE__ */ c(
83
+ C.div,
84
+ {
85
+ "data-state": O(t.open),
86
+ ...i,
87
+ ref: a,
88
+ style: { pointerEvents: "auto", ...i.style }
89
+ }
90
+ )
95
91
  }
96
- ) })
92
+ )
97
93
  );
98
- }
99
- ), d = "DialogContent", w = s.forwardRef(
100
- (e, t) => {
101
- const n = T(d, e.__scopeDialog), { forceMount: a = n.forceMount, ...r } = e, o = u(d, e.__scopeDialog);
102
- return /* @__PURE__ */ i(h, { present: a || o.open, children: o.modal ? /* @__PURE__ */ i(ne, { ...r, ref: t }) : /* @__PURE__ */ i(ae, { ...r, ref: t }) });
103
- }
104
- );
105
- w.displayName = d;
106
- var ne = s.forwardRef(
107
- (e, t) => {
108
- const n = u(d, e.__scopeDialog), a = s.useRef(null), r = _(t, n.contentRef, a);
94
+ }, "DialogOverlayImpl")
95
+ ), p = "DialogContent", Oe = /* @__PURE__ */ s.forwardRef(
96
+ /* @__PURE__ */ u(function(o, r) {
97
+ const n = E(p, o.__scopeDialog), { forceMount: i = n.forceMount, ...t } = o, e = d(p, o.__scopeDialog);
98
+ return /* @__PURE__ */ c(P, { present: i || e.open, children: e.modal ? /* @__PURE__ */ c(ee, { ...t, ref: r }) : /* @__PURE__ */ c(oe, { ...t, ref: r }) });
99
+ }, "DialogContent")
100
+ ), ee = /* @__PURE__ */ s.forwardRef(
101
+ // blank line to reduce diff noise
102
+ /* @__PURE__ */ u(function(o, r) {
103
+ const n = d(p, o.__scopeDialog), i = s.useRef(null), t = _(r, n.contentRef, i);
109
104
  return s.useEffect(() => {
110
- const o = a.current;
111
- if (o) return J(o);
112
- }, []), /* @__PURE__ */ i(
113
- S,
105
+ const e = i.current;
106
+ if (e) return Z(e);
107
+ }, []), /* @__PURE__ */ c(
108
+ M,
114
109
  {
115
- ...e,
116
- ref: r,
110
+ ...o,
111
+ ref: t,
117
112
  trapFocus: n.open,
118
- disableOutsidePointerEvents: !0,
119
- onCloseAutoFocus: p(e.onCloseAutoFocus, (o) => {
120
- o.preventDefault(), n.triggerRef.current?.focus();
113
+ disableOutsidePointerEvents: n.open,
114
+ onCloseAutoFocus: m(o.onCloseAutoFocus, (e) => {
115
+ e.preventDefault(), n.triggerRef.current?.focus();
121
116
  }),
122
- onPointerDownOutside: p(e.onPointerDownOutside, (o) => {
123
- const l = o.detail.originalEvent, c = l.button === 0 && l.ctrlKey === !0;
124
- (l.button === 2 || c) && o.preventDefault();
117
+ onPointerDownOutside: m(o.onPointerDownOutside, (e) => {
118
+ const a = e.detail.originalEvent, g = a.button === 0 && a.ctrlKey === !0;
119
+ (a.button === 2 || g) && e.preventDefault();
125
120
  }),
126
- onFocusOutside: p(
127
- e.onFocusOutside,
128
- (o) => o.preventDefault()
121
+ onFocusOutside: m(
122
+ o.onFocusOutside,
123
+ (e) => e.preventDefault()
129
124
  )
130
125
  }
131
126
  );
132
- }
133
- ), ae = s.forwardRef(
134
- (e, t) => {
135
- const n = u(d, e.__scopeDialog), a = s.useRef(!1), r = s.useRef(!1);
136
- return /* @__PURE__ */ i(
137
- S,
127
+ }, "DialogContentModal")
128
+ ), oe = /* @__PURE__ */ s.forwardRef(
129
+ // blank line to reduce diff noise
130
+ /* @__PURE__ */ u(function(o, r) {
131
+ const n = d(p, o.__scopeDialog), i = s.useRef(!1), t = s.useRef(!1);
132
+ return /* @__PURE__ */ c(
133
+ M,
138
134
  {
139
- ...e,
140
- ref: t,
135
+ ...o,
136
+ ref: r,
141
137
  trapFocus: !1,
142
138
  disableOutsidePointerEvents: !1,
143
- onCloseAutoFocus: (o) => {
144
- e.onCloseAutoFocus?.(o), o.defaultPrevented || (a.current || n.triggerRef.current?.focus(), o.preventDefault()), a.current = !1, r.current = !1;
139
+ onCloseAutoFocus: (e) => {
140
+ o.onCloseAutoFocus?.(e), e.defaultPrevented || (i.current || n.triggerRef.current?.focus(), e.preventDefault()), i.current = !1, t.current = !1;
145
141
  },
146
- onInteractOutside: (o) => {
147
- e.onInteractOutside?.(o), o.defaultPrevented || (a.current = !0, o.detail.originalEvent.type === "pointerdown" && (r.current = !0));
148
- const l = o.target;
149
- n.triggerRef.current?.contains(l) && o.preventDefault(), o.detail.originalEvent.type === "focusin" && r.current && o.preventDefault();
142
+ onInteractOutside: (e) => {
143
+ o.onInteractOutside?.(e), e.defaultPrevented || (i.current = !0, e.detail.originalEvent.type === "pointerdown" && (t.current = !0));
144
+ const a = e.target;
145
+ n.triggerRef.current?.contains(a) && e.preventDefault(), e.detail.originalEvent.type === "focusin" && t.current && e.preventDefault();
150
146
  }
151
147
  }
152
148
  );
153
- }
154
- ), S = s.forwardRef(
155
- (e, t) => {
156
- const { __scopeDialog: n, trapFocus: a, onOpenAutoFocus: r, onCloseAutoFocus: o, ...l } = e, c = u(d, n), f = s.useRef(null), v = _(t, f);
157
- return Z(), /* @__PURE__ */ P(O, { children: [
158
- /* @__PURE__ */ i(
159
- U,
160
- {
161
- asChild: !0,
162
- loop: !0,
163
- trapped: a,
164
- onMountAutoFocus: r,
165
- onUnmountAutoFocus: o,
166
- children: /* @__PURE__ */ i(
167
- K,
168
- {
169
- role: "dialog",
170
- id: c.contentId,
171
- "aria-describedby": c.descriptionId,
172
- "aria-labelledby": c.titleId,
173
- "data-state": N(c.open),
174
- ...l,
175
- ref: v,
176
- onDismiss: () => c.onOpenChange(!1)
177
- }
178
- )
179
- }
180
- ),
181
- /* @__PURE__ */ P(O, { children: [
182
- /* @__PURE__ */ i(ie, { titleId: c.titleId }),
183
- /* @__PURE__ */ i(ce, { contentRef: f, descriptionId: c.descriptionId })
184
- ] })
185
- ] });
186
- }
187
- ), y = "DialogTitle", F = s.forwardRef(
188
- (e, t) => {
189
- const { __scopeDialog: n, ...a } = e, r = u(y, n);
190
- return /* @__PURE__ */ i(g.h2, { id: r.titleId, ...a, ref: t });
191
- }
192
- );
193
- F.displayName = y;
194
- var W = "DialogDescription", k = s.forwardRef(
195
- (e, t) => {
196
- const { __scopeDialog: n, ...a } = e, r = u(W, n);
197
- return /* @__PURE__ */ i(g.p, { id: r.descriptionId, ...a, ref: t });
198
- }
199
- );
200
- k.displayName = W;
201
- var G = "DialogClose", L = s.forwardRef(
202
- (e, t) => {
203
- const { __scopeDialog: n, ...a } = e, r = u(G, n);
204
- return /* @__PURE__ */ i(
205
- g.button,
149
+ }, "DialogContentNonModal")
150
+ ), M = /* @__PURE__ */ s.forwardRef(
151
+ // blank line to reduce diff noise
152
+ /* @__PURE__ */ u(function(o, r) {
153
+ const {
154
+ __scopeDialog: n,
155
+ trapFocus: i,
156
+ onOpenAutoFocus: t,
157
+ onCloseAutoFocus: e,
158
+ "aria-describedby": a,
159
+ children: g,
160
+ ...D
161
+ } = o, f = d(p, n);
162
+ return V(), /* @__PURE__ */ c(z, { registry: f.branchRegistry, children: /* @__PURE__ */ c(
163
+ H,
164
+ {
165
+ asChild: !0,
166
+ loop: !0,
167
+ trapped: i,
168
+ branches: f.branchNodes,
169
+ onMountAutoFocus: t,
170
+ onUnmountAutoFocus: e,
171
+ children: /* @__PURE__ */ c(
172
+ B,
173
+ {
174
+ role: "dialog",
175
+ id: f.contentId,
176
+ "aria-labelledby": f.titlePresent ? f.titleId : void 0,
177
+ "aria-describedby": f.descriptionPresent ? S(a, f.descriptionId) : a,
178
+ "data-state": O(f.open),
179
+ ...D,
180
+ ref: r,
181
+ deferPointerDownOutside: !0,
182
+ onDismiss: () => f.onOpenChange(!1),
183
+ children: g
184
+ }
185
+ )
186
+ }
187
+ ) });
188
+ }, "DialogContentImpl")
189
+ ), _e = /* @__PURE__ */ s.forwardRef(
190
+ /* @__PURE__ */ u(function(o, r) {
191
+ const { __scopeDialog: n, ...i } = o, t = d("DialogTitle", n), { setTitleCount: e } = t;
192
+ return b(() => (e((a) => a + 1), () => e((a) => a - 1)), [e]), /* @__PURE__ */ c(C.h2, { id: t.titleId, ...i, ref: r });
193
+ }, "DialogTitle")
194
+ ), be = /* @__PURE__ */ s.forwardRef(
195
+ // blank line to reduce diff noise
196
+ /* @__PURE__ */ u(function(o, r) {
197
+ const { __scopeDialog: n, ...i } = o, t = d("DialogDescription", n), { setDescriptionCount: e } = t;
198
+ return b(() => (e((a) => a + 1), () => e((a) => a - 1)), [e]), /* @__PURE__ */ c(C.p, { id: t.descriptionId, ...i, ref: r });
199
+ }, "DialogDescription")
200
+ ), te = "DialogClose", Ie = /* @__PURE__ */ s.forwardRef(
201
+ /* @__PURE__ */ u(function(o, r) {
202
+ const { __scopeDialog: n, ...i } = o, t = d(te, n);
203
+ return /* @__PURE__ */ c(
204
+ C.button,
206
205
  {
207
206
  type: "button",
208
- ...a,
209
- ref: t,
210
- onClick: p(e.onClick, () => r.onOpenChange(!1))
207
+ ...i,
208
+ ref: r,
209
+ onClick: m(o.onClick, () => t.onOpenChange(!1))
211
210
  }
212
211
  );
213
- }
212
+ }, "DialogClose")
214
213
  );
215
- L.displayName = G;
216
- function N(e) {
217
- return e ? "open" : "closed";
214
+ function S(...l) {
215
+ const o = /* @__PURE__ */ new Set();
216
+ for (const r of l)
217
+ if (typeof r == "string")
218
+ for (const n of String(r).trim().split(/\s+/))
219
+ n && o.add(n);
220
+ return o.size > 0 ? Array.from(o).join(" ") : void 0;
221
+ }
222
+ u(S, "concatAriaDescribedby");
223
+ function O(l) {
224
+ return l ? "open" : "closed";
218
225
  }
219
- var $ = "DialogTitleWarning", [Pe, B] = V($, {
220
- contentName: d,
221
- titleName: y,
222
- docsSlug: "dialog"
223
- }), ie = ({ titleId: e }) => {
224
- const t = B($), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
225
-
226
- If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
227
-
228
- For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
229
- return s.useEffect(() => {
230
- e && (document.getElementById(e) || console.error(n));
231
- }, [n, e]), null;
232
- }, se = "DialogDescriptionWarning", ce = ({ contentRef: e, descriptionId: t }) => {
233
- const a = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${B(se).contentName}}.`;
234
- return s.useEffect(() => {
235
- const r = e.current?.getAttribute("aria-describedby");
236
- t && r && (document.getElementById(t) || console.warn(a));
237
- }, [a, e, t]), null;
238
- }, Oe = x, Ie = b, xe = M, Ae = w, Te = F, be = k, Me = L;
226
+ u(O, "getState");
239
227
  export {
240
- Me as Close,
241
- Ae as Content,
228
+ Ie as Close,
229
+ Oe as Content,
242
230
  be as Description,
243
- x as Dialog,
244
- L as DialogClose,
245
- w as DialogContent,
246
- k as DialogDescription,
247
- M as DialogOverlay,
248
- b as DialogPortal,
249
- F as DialogTitle,
250
- ee as DialogTrigger,
251
- xe as Overlay,
252
- Ie as Portal,
253
- Oe as Root,
254
- Te as Title,
255
- Pe as WarningProvider,
256
- Ne as createDialogScope
231
+ he as Dialog,
232
+ Ie as DialogClose,
233
+ Oe as DialogContent,
234
+ be as DialogDescription,
235
+ ye as DialogOverlay,
236
+ Pe as DialogPortal,
237
+ _e as DialogTitle,
238
+ ye as Overlay,
239
+ Pe as Portal,
240
+ he as Root,
241
+ _e as Title,
242
+ Re as createDialogScope
257
243
  };
258
244
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../../../../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContext, createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = (props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children\n }\n );\n};\nDialog.displayName = DIALOG_NAME;\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }\n);\nDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = (props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n};\nDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }\n);\nDialogOverlay.displayName = OVERLAY_NAME;\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`\n // ie. when `Overlay` and `Content` are siblings\n /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, shards: [context.contentRef], children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: forwardedRef,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n ) })\n );\n }\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nDialogContent.displayName = CONTENT_NAME;\nvar DialogContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }\n);\nvar DialogContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar DialogContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, trapFocus, onOpenAutoFocus, onCloseAutoFocus, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n useFocusGuards();\n return /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-describedby\": context.descriptionId,\n \"aria-labelledby\": context.titleId,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: composedRefs,\n onDismiss: () => context.onOpenChange(false)\n }\n )\n }\n ),\n /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(TitleWarning, { titleId: context.titleId }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef, descriptionId: context.descriptionId })\n ] })\n ] });\n }\n);\nvar TITLE_NAME = \"DialogTitle\";\nvar DialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(TITLE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }\n);\nDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"DialogDescription\";\nvar DialogDescription = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(DESCRIPTION_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }\n);\nDialogDescription.displayName = DESCRIPTION_NAME;\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nDialogClose.displayName = CLOSE_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar TITLE_WARNING_NAME = \"DialogTitleWarning\";\nvar [WarningProvider, useWarningContext] = createContext(TITLE_WARNING_NAME, {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"dialog\"\n});\nvar TitleWarning = ({ titleId }) => {\n const titleWarningContext = useWarningContext(TITLE_WARNING_NAME);\n const MESSAGE = `\\`${titleWarningContext.contentName}\\` requires a \\`${titleWarningContext.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${titleWarningContext.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${titleWarningContext.docsSlug}`;\n React.useEffect(() => {\n if (titleId) {\n const hasTitle = document.getElementById(titleId);\n if (!hasTitle) console.error(MESSAGE);\n }\n }, [MESSAGE, titleId]);\n return null;\n};\nvar DESCRIPTION_WARNING_NAME = \"DialogDescriptionWarning\";\nvar DescriptionWarning = ({ contentRef, descriptionId }) => {\n const descriptionWarningContext = useWarningContext(DESCRIPTION_WARNING_NAME);\n const MESSAGE = `Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${descriptionWarningContext.contentName}}.`;\n React.useEffect(() => {\n const describedById = contentRef.current?.getAttribute(\"aria-describedby\");\n if (descriptionId && describedById) {\n const hasDescription = document.getElementById(descriptionId);\n if (!hasDescription) console.warn(MESSAGE);\n }\n }, [MESSAGE, contentRef, descriptionId]);\n return null;\n};\nvar Root = Dialog;\nvar Trigger = DialogTrigger;\nvar Portal = DialogPortal;\nvar Overlay = DialogOverlay;\nvar Content = DialogContent;\nvar Title = DialogTitle;\nvar Description = DialogDescription;\nvar Close = DialogClose;\nexport {\n Close,\n Content,\n Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n Overlay,\n Portal,\n Root,\n Title,\n Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","open","setOpen","useControllableState","jsx","useId","prevOpen","TRIGGER_NAME","DialogTrigger","forwardedRef","triggerProps","context","composedTriggerRef","useComposedRefs","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","portalContext","overlayProps","DialogOverlayImpl","Slot","createSlot","RemoveScroll","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","composedRefs","content","hideOthers","DialogContentImpl","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","useFocusGuards","jsxs","Fragment","FocusScope","DismissableLayer","TitleWarning","DescriptionWarning","TITLE_NAME","DialogTitle","titleProps","DESCRIPTION_NAME","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","TITLE_WARNING_NAME","WarningProvider","useWarningContext","createContext","titleId","titleWarningContext","MESSAGE","DESCRIPTION_WARNING_NAME","descriptionId","describedById","Root","Portal","Overlay","Content","Title","Description","Close"],"mappings":";;;;;;;;;;;;;;;;AAmBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,EAAmBH,CAAW,GACzE,CAACI,GAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM;AAAA,IACJ,eAAAC;AAAA,IACA,UAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,EACZ,IAAMN,GACEO,IAAaC,EAAM,OAAO,IAAI,GAC9BC,IAAaD,EAAM,OAAO,IAAI,GAC9B,CAACE,GAAMC,CAAO,IAAIC,EAAqB;AAAA,IAC3C,MAAMT;AAAA,IACN,aAAaC,KAAe;AAAA,IAC5B,UAAUC;AAAA,IACV,QAAQZ;AAAA,EACZ,CAAG;AACD,SAAuB,gBAAAoB;AAAA,IACrBhB;AAAA,IACA;AAAA,MACE,OAAOI;AAAA,MACP,YAAAM;AAAA,MACA,YAAAE;AAAA,MACA,WAAWK,EAAK;AAAA,MAChB,SAASA,EAAK;AAAA,MACd,eAAeA,EAAK;AAAA,MACpB,MAAAJ;AAAA,MACA,cAAcC;AAAA,MACd,cAAcH,EAAM,YAAY,MAAMG,EAAQ,CAACI,MAAa,CAACA,CAAQ,GAAG,CAACJ,CAAO,CAAC;AAAA,MACjF,OAAAL;AAAA,MACA,UAAAJ;AAAA,IACN;AAAA,EACA;AACA;AACAH,EAAO,cAAcN;AACrB,IAAIuB,IAAe,iBACfC,KAAgBT,EAAM;AAAA,EACxB,CAACR,GAAOkB,MAAiB;AACvB,UAAM,EAAE,eAAAjB,GAAe,GAAGkB,E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QtB,GACRuB,KAAcpB,GACdqB,KAAQlB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es.js","sources":["../../../../../node_modules/@radix-ui/react-dialog/dist/index.mjs"],"sourcesContent":["\"use client\";\nvar __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/dialog.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { DismissableLayer, useDismissableLayerSurface } from \"@radix-ui/react-dismissable-layer\";\nimport {\n FocusScope,\n FocusScopeBranchProvider,\n useFocusScopeBranchRegistry\n} from \"@radix-ui/react-focus-scope\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { hideOthers } from \"aria-hidden\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DIALOG_NAME = \"Dialog\";\nvar [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);\nvar [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME);\nvar Dialog = /* @__PURE__ */ __name((props) => {\n const {\n __scopeDialog,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const triggerRef = React.useRef(null);\n const contentRef = React.useRef(null);\n const { nodes: branchNodes, registry: branchRegistry } = useFocusScopeBranchRegistry();\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DIALOG_NAME\n });\n const [titleCount, setTitleCount] = React.useState(0);\n const [descriptionCount, setDescriptionCount] = React.useState(0);\n return /* @__PURE__ */ jsx(\n DialogProvider,\n {\n scope: __scopeDialog,\n triggerRef,\n contentRef,\n contentId: useId(),\n titleId: useId(),\n descriptionId: useId(),\n titlePresent: titleCount > 0,\n descriptionPresent: descriptionCount > 0,\n setTitleCount,\n setDescriptionCount,\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n branchNodes,\n branchRegistry,\n children\n }\n );\n}, \"Dialog\");\nvar TRIGGER_NAME = \"DialogTrigger\";\nvar DialogTrigger = /* @__PURE__ */ React.forwardRef(\n /* @__PURE__ */ __name(function DialogTrigger2(props, forwardedRef) {\n const { __scopeDialog, ...triggerProps } = props;\n const context = useDialogContext(TRIGGER_NAME, __scopeDialog);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n }, \"DialogTrigger\")\n);\nvar PORTAL_NAME = \"DialogPortal\";\nvar [PortalProvider, usePortalContext] = createDialogContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar DialogPortal = /* @__PURE__ */ __name((props) => {\n const { __scopeDialog, forceMount, children, container } = props;\n const context = useDialogContext(PORTAL_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeDialog, forceMount, children: React.Children.map(children, (child) => /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children: child }) })) });\n}, \"DialogPortal\");\nvar OVERLAY_NAME = \"DialogOverlay\";\nvar DialogOverlay = /* @__PURE__ */ React.forwardRef(\n /* @__PURE__ */ __name(function DialogOverlay2(props, forwardedRef) {\n const portalContext = usePortalContext(OVERLAY_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, props.__scopeDialog);\n return context.modal ? /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(DialogOverlayImpl, { ...overlayProps, ref: forwardedRef }) }) : null;\n }, \"DialogOverlay\")\n);\nvar Slot = createSlot(\"DialogOverlay.RemoveScroll\");\nvar DialogOverlayImpl = /* @__PURE__ */ React.forwardRef(\n // blank line to reduce diff noise\n /* @__PURE__ */ __name(function DialogOverlayImpl2(props, forwardedRef) {\n const { __scopeDialog, ...overlayProps } = props;\n const context = useDialogContext(OVERLAY_NAME, __scopeDialog);\n const registerDismissableSurface = useDismissableLayerSurface();\n const composedRefs = useComposedRefs(forwardedRef, registerDismissableSurface);\n return (\n // Make sure `Content` is scrollable even when it doesn't live inside\n // `RemoveScroll` (eg. when `Overlay` and `Content` are siblings). Nested\n // layers are registered as branches and added as shards so they remain\n // scrollable too. See https://github.com/radix-ui/primitives/issues/3423\n /* @__PURE__ */ jsx(\n RemoveScroll,\n {\n as: Slot,\n allowPinchZoom: true,\n shards: React.useMemo(\n () => [context.contentRef, ...context.branchNodes.map((node) => ({ current: node }))],\n [context.contentRef, context.branchNodes]\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-state\": getState(context.open),\n ...overlayProps,\n ref: composedRefs,\n style: { pointerEvents: \"auto\", ...overlayProps.style }\n }\n )\n }\n )\n );\n }, \"DialogOverlayImpl\")\n);\nvar CONTENT_NAME = \"DialogContent\";\nvar DialogContent = /* @__PURE__ */ React.forwardRef(\n /* @__PURE__ */ __name(function DialogContent2(props, forwardedRef) {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeDialog);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(DialogContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(DialogContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }, \"DialogContent\")\n);\nvar DialogContentModal = /* @__PURE__ */ React.forwardRef(\n // blank line to reduce diff noise\n /* @__PURE__ */ __name(function DialogContentModal2(props, forwardedRef) {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, context.contentRef, contentRef);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: context.open,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(props.onPointerDownOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (isRightClick) event.preventDefault();\n }),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault()\n )\n }\n );\n }, \"DialogContentModal\")\n);\nvar DialogContentNonModal = /* @__PURE__ */ React.forwardRef(\n // blank line to reduce diff noise\n /* @__PURE__ */ __name(function DialogContentNonModal2(props, forwardedRef) {\n const context = useDialogContext(CONTENT_NAME, props.__scopeDialog);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n DialogContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }, \"DialogContentNonModal\")\n);\nvar DialogContentImpl = /* @__PURE__ */ React.forwardRef(\n // blank line to reduce diff noise\n /* @__PURE__ */ __name(function DialogContentImpl2(props, forwardedRef) {\n const {\n __scopeDialog,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n \"aria-describedby\": ariaDescribedby,\n children,\n ...contentProps\n } = props;\n const context = useDialogContext(CONTENT_NAME, __scopeDialog);\n useFocusGuards();\n return /* @__PURE__ */ jsx(FocusScopeBranchProvider, { registry: context.branchRegistry, children: /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n branches: context.branchNodes,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n role: \"dialog\",\n id: context.contentId,\n \"aria-labelledby\": context.titlePresent ? context.titleId : void 0,\n \"aria-describedby\": context.descriptionPresent ? concatAriaDescribedby(ariaDescribedby, context.descriptionId) : ariaDescribedby,\n \"data-state\": getState(context.open),\n ...contentProps,\n ref: forwardedRef,\n deferPointerDownOutside: true,\n onDismiss: () => context.onOpenChange(false),\n children\n }\n )\n }\n ) });\n }, \"DialogContentImpl\")\n);\nvar DialogTitle = /* @__PURE__ */ React.forwardRef(\n /* @__PURE__ */ __name(function DialogTitle2(props, forwardedRef) {\n const { __scopeDialog, ...titleProps } = props;\n const context = useDialogContext(\"DialogTitle\", __scopeDialog);\n const { setTitleCount } = context;\n useLayoutEffect(() => {\n setTitleCount((count) => count + 1);\n return () => setTitleCount((count) => count - 1);\n }, [setTitleCount]);\n return /* @__PURE__ */ jsx(Primitive.h2, { id: context.titleId, ...titleProps, ref: forwardedRef });\n }, \"DialogTitle\")\n);\nvar DialogDescription = /* @__PURE__ */ React.forwardRef(\n // blank line to reduce diff noise\n /* @__PURE__ */ __name(function DialogDescription2(props, forwardedRef) {\n const { __scopeDialog, ...descriptionProps } = props;\n const context = useDialogContext(\"DialogDescription\", __scopeDialog);\n const { setDescriptionCount } = context;\n useLayoutEffect(() => {\n setDescriptionCount((count) => count + 1);\n return () => setDescriptionCount((count) => count - 1);\n }, [setDescriptionCount]);\n return /* @__PURE__ */ jsx(Primitive.p, { id: context.descriptionId, ...descriptionProps, ref: forwardedRef });\n }, \"DialogDescription\")\n);\nvar CLOSE_NAME = \"DialogClose\";\nvar DialogClose = /* @__PURE__ */ React.forwardRef(\n /* @__PURE__ */ __name(function DialogClose2(props, forwardedRef) {\n const { __scopeDialog, ...closeProps } = props;\n const context = useDialogContext(CLOSE_NAME, __scopeDialog);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }, \"DialogClose\")\n);\nvar WarningProvider = /* @__PURE__ */ __name((props) => {\n return props.children;\n}, \"WarningProvider\");\nfunction concatAriaDescribedby(...values) {\n const ids = /* @__PURE__ */ new Set();\n for (const value of values) {\n if (typeof value !== \"string\") continue;\n for (const id of String(value).trim().split(/\\s+/)) {\n if (id) ids.add(id);\n }\n }\n return ids.size > 0 ? Array.from(ids).join(\" \") : void 0;\n}\n__name(concatAriaDescribedby, \"concatAriaDescribedby\");\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\n__name(getState, \"getState\");\nexport {\n DialogClose as Close,\n DialogContent as Content,\n DialogDescription as Description,\n Dialog,\n DialogClose,\n DialogContent,\n DialogDescription,\n DialogOverlay,\n DialogPortal,\n DialogTitle,\n DialogTrigger,\n DialogOverlay as Overlay,\n DialogPortal as Portal,\n Dialog as Root,\n DialogTitle as Title,\n DialogTrigger as Trigger,\n WarningProvider,\n createDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["__defProp","__name","target","value","DIALOG_NAME","createDialogContext","createDialogScope","createContextScope","DialogProvider","useDialogContext","Dialog","props","__scopeDialog","children","openProp","defaultOpen","onOpenChange","modal","triggerRef","React","contentRef","branchNodes","branchRegistry","useFocusScopeBranchRegistry","open","setOpen","useControllableState","titleCount","setTitleCount","descriptionCount","setDescriptionCount","jsx","useId","prevOpen","PORTAL_NAME","PortalProvider","usePortalContext","DialogPortal","forceMount","container","context","child","Presence","PortalPrimitive","OVERLAY_NAME","DialogOverlay","forwardedRef","portalContext","overlayProps","DialogOverlayImpl","Slot","createSlot","registerDismissableSurface","useDismissableLayerSurface","composedRefs","useComposedRefs","RemoveScroll","node","Primitive","getState","CONTENT_NAME","DialogContent","contentProps","DialogContentModal","DialogContentNonModal","content","hideOthers","DialogContentImpl","composeEventHandlers","event","originalEvent","ctrlLeftClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","trapFocus","onOpenAutoFocus","onCloseAutoFocus","ariaDescribedby","useFocusGuards","FocusScopeBranchProvider","FocusScope","DismissableLayer","concatAriaDescribedby","DialogTitle","titleProps","useLayoutEffect","count","DialogDescription","descriptionProps","CLOSE_NAME","DialogClose","closeProps","values","ids","id"],"mappings":";;;;;;;;;;;;;;;;;AACA,IAAIA,IAAY,OAAO,gBACnBC,IAAS,CAACC,GAAQC,MAAUH,EAAUE,GAAQ,QAAQ,EAAE,OAAAC,GAAO,cAAc,IAAM,GAwBnFC,IAAc,UACd,CAACC,GAAqBC,EAAiB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D,GAAkB,KAAK1C,EAAY,CAAE;AAAA,EAC/G,GAAG,mBAAmB;AACxB,GACI2C,KAAa,eACbC,KAA8B,gBAAAvE,EAAM;AAAA,EACtB,gBAAAlB,EAAO,SAAsBU,GAAOmC,GAAc;AAChE,UAAM,EAAE,eAAAlC,GAAe,GAAG+E,EAAU,IAAKhF,GACnC6B,IAAU/B,EAAiBgF,IAAY7E,CAAa;AAC1D,WAAuB,gBAAAmB;AAAA,MACrB2B,EAAU;AAAA,MACV;AAAA,QACE,MAAM;AAAA,QACN,GAAGiC;AAAA,QACH,KAAK7C;AAAA,QACL,SAASsB,EAAqBzD,EAAM,SAAS,MAAM6B,EAAQ,aAAa,EAAK,CAAC;AAAA,MACtF;AAAA,IACA;AAAA,EACE,GAAG,aAAa;AAClB;AAIA,SAAS0C,KAAyBU,GAAQ;AACxC,QAAMC,IAAsB,oBAAI,IAAG;AACnC,aAAW1F,KAASyF;AAClB,QAAI,OAAOzF,KAAU;AACrB,iBAAW2F,KAAM,OAAO3F,CAAK,EAAE,OAAO,MAAM,KAAK;AAC/C,QAAI2F,KAAID,EAAI,IAAIC,CAAE;AAGtB,SAAOD,EAAI,OAAO,IAAI,MAAM,KAAKA,CAAG,EAAE,KAAK,GAAG,IAAI;AACpD;AACA5F,EAAOiF,GAAuB,uBAAuB;AACrD,SAASvB,EAASnC,GAAM;AACtB,SAAOA,IAAO,SAAS;AACzB;AACAvB,EAAO0D,GAAU,UAAU;","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var w=Object.defineProperty,r=(e,o)=>w(e,"name",{value:o,configurable:!0}),u=!!(typeof window<"u"&&window.document&&window.document.createElement);function m(e,o,{checkForDefaultPrevented:n=!0}={}){return r(function(t){if(e?.(t),n===!1||!t||!t.defaultPrevented)return o?.(t)},"handleEvent")}r(m,"composeEventHandlers");function f(e){if(!u)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}r(f,"getOwnerWindow");function i(e){if(!u)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}r(i,"getOwnerDocument");function a(e,o=!1){const{activeElement:n}=i(e);if(!n?.nodeName)return null;if(d(n)&&n.contentDocument)return a(n.contentDocument.body,o);if(o){const c=n.getAttribute("aria-activedescendant");if(c){const t=i(n).getElementById(c);if(t)return t}}return n}r(a,"getActiveElement");function d(e){return e.tagName==="IFRAME"}r(d,"isFrame");exports.canUseDOM=u;exports.composeEventHandlers=m;exports.getActiveElement=a;exports.getOwnerDocument=i;exports.getOwnerWindow=f;exports.isFrame=d;
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../../../../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["var __defProp = Object.defineProperty;\nvar __name = (target, value) => __defProp(target, \"name\", { value, configurable: true });\n\n// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return /* @__PURE__ */ __name(function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n }, \"handleEvent\");\n}\n__name(composeEventHandlers, \"composeEventHandlers\");\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\n__name(getOwnerWindow, \"getOwnerWindow\");\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\n__name(getOwnerDocument, \"getOwnerDocument\");\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\n__name(getActiveElement, \"getActiveElement\");\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\n__name(isFrame, \"isFrame\");\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["__defProp","__name","target","value","canUseDOM","composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event","getOwnerWindow","element","getOwnerDocument","getActiveElement","node","activeDescendant","activeElement","isFrame","id"],"mappings":"gFAAA,IAAIA,EAAY,OAAO,eACnBC,EAAS,CAACC,EAAQC,IAAUH,EAAUE,EAAQ,OAAQ,CAAE,MAAAC,EAAO,aAAc,GAAM,EAGnFC,EAAY,CAAC,EAAE,OAAO,OAAW,KAAe,OAAO,UAAY,OAAO,SAAS,eACvF,SAASC,EAAqBC,EAAsBC,EAAiB,CAAE,yBAAAC,EAA2B,EAAI,EAAK,GAAI,CAC7G,OAAuBP,EAAO,SAAqBQ,EAAO,CAExD,GADAH,IAAuBG,CAAK,EACxBD,IAA6B,IAAS,CAACC,GAAS,CAACA,EAAM,iBACzD,OAAOF,IAAkBE,CAAK,CAElC,EAAG,aAAa,CAClB,CACAR,EAAOI,EAAsB,sBAAsB,EACnD,SAASK,EAAeC,EAAS,CAC/B,GAAI,CAACP,EACH,MAAM,IAAI,MAAM,yCAAyC,EAE3D,OAAOO,GAAS,eAAe,aAAe,MAChD,CACAV,EAAOS,EAAgB,gBAAgB,EACvC,SAASE,EAAiBD,EAAS,CACjC,GAAI,CAACP,EACH,MAAM,IAAI,MAAM,2CAA2C,EAE7D,OAAOO,GAAS,eAAiB,QACnC,CACAV,EAAOW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