@sparrowengg/twigs-editor-react 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (630) hide show
  1. package/dist/cjs/_virtual/isURL.js +1 -1
  2. package/dist/cjs/components/base-dropdown/index.js +13 -15
  3. package/dist/cjs/components/base-dropdown/index.js.map +1 -1
  4. package/dist/cjs/components/dialog-link-editor/index.js +16 -16
  5. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js +21 -28
  6. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js.map +1 -1
  7. package/dist/cjs/components/dialog-link-editor/link-tooltip.js +13 -17
  8. package/dist/cjs/components/dialog-link-editor/link-tooltip.js.map +1 -1
  9. package/dist/cjs/components/floating-toolbar/floating-toolbar.js +18 -18
  10. package/dist/cjs/components/floating-toolbar/floating-toolbar.js.map +1 -1
  11. package/dist/cjs/components/rich-editor/index.js +7 -7
  12. package/dist/cjs/components/rich-editor/index.js.map +1 -1
  13. package/dist/cjs/components/toolbar/toolbar.js +5 -5
  14. package/dist/cjs/components/toolbar/toolbar.js.map +1 -1
  15. package/dist/cjs/components/toolbar/tools/bold.js +5 -5
  16. package/dist/cjs/components/toolbar/tools/bold.js.map +1 -1
  17. package/dist/cjs/components/toolbar/tools/code-block.js +5 -5
  18. package/dist/cjs/components/toolbar/tools/code-block.js.map +1 -1
  19. package/dist/cjs/components/toolbar/tools/code.js +5 -5
  20. package/dist/cjs/components/toolbar/tools/code.js.map +1 -1
  21. package/dist/cjs/components/toolbar/tools/format.js +9 -10
  22. package/dist/cjs/components/toolbar/tools/format.js.map +1 -1
  23. package/dist/cjs/components/toolbar/tools/italic.js +5 -5
  24. package/dist/cjs/components/toolbar/tools/italic.js.map +1 -1
  25. package/dist/cjs/components/toolbar/tools/link.js +5 -5
  26. package/dist/cjs/components/toolbar/tools/link.js.map +1 -1
  27. package/dist/cjs/components/toolbar/tools/ordered-list.js +5 -5
  28. package/dist/cjs/components/toolbar/tools/ordered-list.js.map +1 -1
  29. package/dist/cjs/components/toolbar/tools/text-align.js +8 -11
  30. package/dist/cjs/components/toolbar/tools/text-align.js.map +1 -1
  31. package/dist/cjs/components/toolbar/tools/underline.js +5 -5
  32. package/dist/cjs/components/toolbar/tools/underline.js.map +1 -1
  33. package/dist/cjs/components/toolbar/tools/unordered-list.js +5 -5
  34. package/dist/cjs/components/toolbar/tools/unordered-list.js.map +1 -1
  35. package/dist/cjs/components/toolbar-context/context.js +3 -3
  36. package/dist/cjs/components/toolbar-context/store.js +9 -9
  37. package/dist/cjs/editor.js +5 -3
  38. package/dist/cjs/editor.js.map +1 -1
  39. package/dist/cjs/node_modules/clsx/dist/clsx.js.map +1 -0
  40. package/dist/cjs/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  41. package/dist/cjs/node_modules/validator/es/lib/isIP.js.map +1 -0
  42. package/dist/cjs/node_modules/validator/es/lib/isURL.js.map +1 -0
  43. package/dist/cjs/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  44. package/dist/cjs/node_modules/validator/es/lib/util/merge.js.map +1 -0
  45. package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isFQDN.js +1 -1
  46. package/dist/cjs/node_modules/validator/lib/isFQDN.js.map +1 -0
  47. package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isIP.js +1 -1
  48. package/dist/cjs/node_modules/validator/lib/isIP.js.map +1 -0
  49. package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/isURL.js +1 -1
  50. package/dist/cjs/node_modules/validator/lib/isURL.js.map +1 -0
  51. package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/util/assertString.js +1 -1
  52. package/dist/cjs/node_modules/validator/lib/util/assertString.js.map +1 -0
  53. package/dist/cjs/{react-editor/node_modules → node_modules}/validator/lib/util/merge.js +1 -1
  54. package/dist/cjs/node_modules/validator/lib/util/merge.js.map +1 -0
  55. package/dist/cjs/nodes/image.js +4 -4
  56. package/dist/cjs/nodes/image.js.map +1 -1
  57. package/dist/cjs/plugins/data-management-plugin/index.js +3 -3
  58. package/dist/cjs/plugins/emoji/index.js +5 -3
  59. package/dist/cjs/plugins/emoji/index.js.map +1 -1
  60. package/dist/cjs/plugins/hashtag/index.js +2 -0
  61. package/dist/cjs/plugins/hashtag/index.js.map +1 -1
  62. package/dist/cjs/plugins/images/index.js +2 -2
  63. package/dist/cjs/plugins/link/convert-selection-on-paste.js +2 -2
  64. package/dist/cjs/plugins/link/link.js +2 -2
  65. package/dist/cjs/plugins/mentions/index.js +2 -0
  66. package/dist/cjs/plugins/mentions/index.js.map +1 -1
  67. package/dist/cjs/plugins/tab-focus/index.js +3 -3
  68. package/dist/cjs/utils/prefix-class-name.js +2 -2
  69. package/dist/cjs/utils/prefix-class-name.js.map +1 -1
  70. package/dist/cjs/utils/use-node-focus.js +2 -2
  71. package/dist/es/_virtual/isURL.js +1 -1
  72. package/dist/es/components/base-dropdown/index.js +1 -3
  73. package/dist/es/components/base-dropdown/index.js.map +1 -1
  74. package/dist/es/components/dialog-link-editor/index.js +1 -1
  75. package/dist/es/components/dialog-link-editor/link-editor-dialog.js +2 -9
  76. package/dist/es/components/dialog-link-editor/link-editor-dialog.js.map +1 -1
  77. package/dist/es/components/dialog-link-editor/link-tooltip.js +2 -6
  78. package/dist/es/components/dialog-link-editor/link-tooltip.js.map +1 -1
  79. package/dist/es/components/floating-toolbar/floating-toolbar.js +2 -2
  80. package/dist/es/components/rich-editor/index.js +1 -1
  81. package/dist/es/components/toolbar/toolbar.js +1 -1
  82. package/dist/es/components/toolbar/tools/bold.js +3 -3
  83. package/dist/es/components/toolbar/tools/code-block.js +3 -3
  84. package/dist/es/components/toolbar/tools/code.js +3 -3
  85. package/dist/es/components/toolbar/tools/format.js +2 -3
  86. package/dist/es/components/toolbar/tools/format.js.map +1 -1
  87. package/dist/es/components/toolbar/tools/italic.js +3 -3
  88. package/dist/es/components/toolbar/tools/link.js +3 -3
  89. package/dist/es/components/toolbar/tools/ordered-list.js +3 -3
  90. package/dist/es/components/toolbar/tools/text-align.js +3 -6
  91. package/dist/es/components/toolbar/tools/text-align.js.map +1 -1
  92. package/dist/es/components/toolbar/tools/underline.js +3 -3
  93. package/dist/es/components/toolbar/tools/unordered-list.js +3 -3
  94. package/dist/es/editor.js +2 -0
  95. package/dist/es/editor.js.map +1 -1
  96. package/dist/es/node_modules/clsx/dist/clsx.js.map +1 -0
  97. package/dist/es/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  98. package/dist/es/node_modules/validator/es/lib/isIP.js.map +1 -0
  99. package/dist/es/node_modules/validator/es/lib/isURL.js.map +1 -0
  100. package/dist/es/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  101. package/dist/es/node_modules/validator/es/lib/util/merge.js.map +1 -0
  102. package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isFQDN.js +1 -1
  103. package/dist/es/node_modules/validator/lib/isFQDN.js.map +1 -0
  104. package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isIP.js +1 -1
  105. package/dist/es/node_modules/validator/lib/isIP.js.map +1 -0
  106. package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/isURL.js +1 -1
  107. package/dist/es/node_modules/validator/lib/isURL.js.map +1 -0
  108. package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/util/assertString.js +1 -1
  109. package/dist/es/node_modules/validator/lib/util/assertString.js.map +1 -0
  110. package/dist/es/{react-editor/node_modules → node_modules}/validator/lib/util/merge.js +1 -1
  111. package/dist/es/node_modules/validator/lib/util/merge.js.map +1 -0
  112. package/dist/es/nodes/image.js +1 -1
  113. package/dist/es/plugins/emoji/index.js +2 -0
  114. package/dist/es/plugins/emoji/index.js.map +1 -1
  115. package/dist/es/plugins/hashtag/index.js +2 -0
  116. package/dist/es/plugins/hashtag/index.js.map +1 -1
  117. package/dist/es/plugins/mentions/index.js +2 -0
  118. package/dist/es/plugins/mentions/index.js.map +1 -1
  119. package/dist/es/utils/prefix-class-name.js +1 -1
  120. package/package.json +3 -1
  121. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -8
  122. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
  123. package/dist/cjs/react-components/dist/es/_virtual/index.js +0 -6
  124. package/dist/cjs/react-components/dist/es/_virtual/index.js.map +0 -1
  125. package/dist/cjs/react-components/dist/es/_virtual/index2.js +0 -6
  126. package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +0 -1
  127. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +0 -6
  128. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
  129. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +0 -6
  130. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
  131. package/dist/cjs/react-components/dist/es/box/box.js +0 -47
  132. package/dist/cjs/react-components/dist/es/box/box.js.map +0 -1
  133. package/dist/cjs/react-components/dist/es/button/button.js +0 -774
  134. package/dist/cjs/react-components/dist/es/button/button.js.map +0 -1
  135. package/dist/cjs/react-components/dist/es/button/icon-button.js +0 -77
  136. package/dist/cjs/react-components/dist/es/button/icon-button.js.map +0 -1
  137. package/dist/cjs/react-components/dist/es/button/side-element.js +0 -199
  138. package/dist/cjs/react-components/dist/es/button/side-element.js.map +0 -1
  139. package/dist/cjs/react-components/dist/es/button/utils.js +0 -105
  140. package/dist/cjs/react-components/dist/es/button/utils.js.map +0 -1
  141. package/dist/cjs/react-components/dist/es/dialog/dialog.js +0 -197
  142. package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +0 -1
  143. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +0 -195
  144. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +0 -1
  145. package/dist/cjs/react-components/dist/es/flex/flex.js +0 -98
  146. package/dist/cjs/react-components/dist/es/flex/flex.js.map +0 -1
  147. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +0 -76
  148. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
  149. package/dist/cjs/react-components/dist/es/form-label/form-label.js +0 -176
  150. package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +0 -1
  151. package/dist/cjs/react-components/dist/es/input/form-input.js +0 -159
  152. package/dist/cjs/react-components/dist/es/input/form-input.js.map +0 -1
  153. package/dist/cjs/react-components/dist/es/input/input.js +0 -377
  154. package/dist/cjs/react-components/dist/es/input/input.js.map +0 -1
  155. package/dist/cjs/react-components/dist/es/link/link.js +0 -58
  156. package/dist/cjs/react-components/dist/es/link/link.js.map +0 -1
  157. package/dist/cjs/react-components/dist/es/loader/circle.js +0 -204
  158. package/dist/cjs/react-components/dist/es/loader/circle.js.map +0 -1
  159. package/dist/cjs/react-components/dist/es/loader/line.js +0 -130
  160. package/dist/cjs/react-components/dist/es/loader/line.js.map +0 -1
  161. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -21
  162. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  163. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -14
  164. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  165. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -19
  166. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  167. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -14
  168. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  169. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -788
  170. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  171. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -612
  172. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  173. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -299
  174. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  175. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -146
  176. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  177. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -148
  178. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
  179. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -14
  180. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
  181. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -48
  182. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
  183. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -71
  184. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
  185. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -41
  186. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
  187. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -102
  188. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
  189. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -354
  190. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
  191. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -33
  192. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
  193. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -234
  194. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
  195. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -303
  196. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
  197. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -48
  198. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
  199. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -229
  200. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
  201. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -37
  202. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
  203. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -47
  204. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
  205. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -847
  206. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
  207. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -309
  208. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
  209. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -39
  210. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
  211. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -142
  212. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
  213. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -65
  214. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
  215. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -246
  216. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
  217. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -104
  218. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
  219. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -509
  220. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  221. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -34
  222. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
  223. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -68
  224. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
  225. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -40
  226. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
  227. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -29
  228. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
  229. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -62
  230. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
  231. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -58
  232. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
  233. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -9
  234. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
  235. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -134
  236. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  237. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -19
  238. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
  239. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -17
  240. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
  241. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -27
  242. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
  243. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -11
  244. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  245. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +0 -102
  246. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
  247. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -118
  248. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
  249. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -77
  250. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  251. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -628
  252. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  253. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +0 -35
  254. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
  255. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -24
  256. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  257. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -14
  258. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
  259. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -193
  260. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  261. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -29
  262. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  263. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -22
  264. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  265. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -34
  266. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  267. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -184
  268. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  269. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -60
  270. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  271. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -24
  272. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  273. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
  274. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  275. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -8
  276. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  277. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -12
  278. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  279. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -80
  280. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  281. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -16
  282. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  283. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -35
  284. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  285. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -22
  286. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  287. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -47
  288. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  289. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -54
  290. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  291. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -419
  292. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
  293. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -637
  294. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  295. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -10
  296. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  297. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -10
  298. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
  299. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -25
  300. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  301. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -8
  302. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  303. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -55
  304. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
  305. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -27
  306. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  307. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -25
  308. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  309. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -45
  310. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  311. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -43
  312. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  313. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -80
  314. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  315. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
  316. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -97
  317. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
  318. package/dist/cjs/react-components/dist/es/stitches.config.js +0 -392
  319. package/dist/cjs/react-components/dist/es/stitches.config.js.map +0 -1
  320. package/dist/cjs/react-components/dist/es/text/text.js +0 -117
  321. package/dist/cjs/react-components/dist/es/text/text.js.map +0 -1
  322. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +0 -156
  323. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +0 -1
  324. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +0 -10
  325. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
  326. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +0 -9
  327. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
  328. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
  329. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
  330. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
  331. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
  332. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
  333. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
  334. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
  335. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
  336. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
  337. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
  338. package/dist/cjs/react-icons/dist/es/icons/bold.js +0 -86
  339. package/dist/cjs/react-icons/dist/es/icons/bold.js.map +0 -1
  340. package/dist/cjs/react-icons/dist/es/icons/close.js +0 -86
  341. package/dist/cjs/react-icons/dist/es/icons/close.js.map +0 -1
  342. package/dist/cjs/react-icons/dist/es/icons/code-block.js +0 -78
  343. package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +0 -1
  344. package/dist/cjs/react-icons/dist/es/icons/code.js +0 -96
  345. package/dist/cjs/react-icons/dist/es/icons/code.js.map +0 -1
  346. package/dist/cjs/react-icons/dist/es/icons/delete.js +0 -116
  347. package/dist/cjs/react-icons/dist/es/icons/delete.js.map +0 -1
  348. package/dist/cjs/react-icons/dist/es/icons/italics.js +0 -96
  349. package/dist/cjs/react-icons/dist/es/icons/italics.js.map +0 -1
  350. package/dist/cjs/react-icons/dist/es/icons/link.js +0 -86
  351. package/dist/cjs/react-icons/dist/es/icons/link.js.map +0 -1
  352. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +0 -86
  353. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +0 -1
  354. package/dist/cjs/react-icons/dist/es/icons/pencil.js +0 -86
  355. package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +0 -1
  356. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +0 -74
  357. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +0 -1
  358. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +0 -74
  359. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
  360. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +0 -74
  361. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +0 -1
  362. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +0 -74
  363. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +0 -1
  364. package/dist/cjs/react-icons/dist/es/icons/text-format.js +0 -78
  365. package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +0 -1
  366. package/dist/cjs/react-icons/dist/es/icons/underline.js +0 -77
  367. package/dist/cjs/react-icons/dist/es/icons/underline.js.map +0 -1
  368. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +0 -126
  369. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +0 -1
  370. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -6
  371. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
  372. package/dist/es/react-components/dist/es/_virtual/index.js +0 -4
  373. package/dist/es/react-components/dist/es/_virtual/index.js.map +0 -1
  374. package/dist/es/react-components/dist/es/_virtual/index2.js +0 -4
  375. package/dist/es/react-components/dist/es/_virtual/index2.js.map +0 -1
  376. package/dist/es/react-components/dist/es/_virtual/react-is.development.js +0 -4
  377. package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
  378. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +0 -4
  379. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
  380. package/dist/es/react-components/dist/es/box/box.js +0 -45
  381. package/dist/es/react-components/dist/es/box/box.js.map +0 -1
  382. package/dist/es/react-components/dist/es/button/button.js +0 -772
  383. package/dist/es/react-components/dist/es/button/button.js.map +0 -1
  384. package/dist/es/react-components/dist/es/button/icon-button.js +0 -75
  385. package/dist/es/react-components/dist/es/button/icon-button.js.map +0 -1
  386. package/dist/es/react-components/dist/es/button/side-element.js +0 -197
  387. package/dist/es/react-components/dist/es/button/side-element.js.map +0 -1
  388. package/dist/es/react-components/dist/es/button/utils.js +0 -100
  389. package/dist/es/react-components/dist/es/button/utils.js.map +0 -1
  390. package/dist/es/react-components/dist/es/dialog/dialog.js +0 -193
  391. package/dist/es/react-components/dist/es/dialog/dialog.js.map +0 -1
  392. package/dist/es/react-components/dist/es/dropdown/dropdown.js +0 -190
  393. package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +0 -1
  394. package/dist/es/react-components/dist/es/flex/flex.js +0 -96
  395. package/dist/es/react-components/dist/es/flex/flex.js.map +0 -1
  396. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +0 -74
  397. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
  398. package/dist/es/react-components/dist/es/form-label/form-label.js +0 -174
  399. package/dist/es/react-components/dist/es/form-label/form-label.js.map +0 -1
  400. package/dist/es/react-components/dist/es/input/form-input.js +0 -157
  401. package/dist/es/react-components/dist/es/input/form-input.js.map +0 -1
  402. package/dist/es/react-components/dist/es/input/input.js +0 -374
  403. package/dist/es/react-components/dist/es/input/input.js.map +0 -1
  404. package/dist/es/react-components/dist/es/link/link.js +0 -56
  405. package/dist/es/react-components/dist/es/link/link.js.map +0 -1
  406. package/dist/es/react-components/dist/es/loader/circle.js +0 -202
  407. package/dist/es/react-components/dist/es/loader/circle.js.map +0 -1
  408. package/dist/es/react-components/dist/es/loader/line.js +0 -128
  409. package/dist/es/react-components/dist/es/loader/line.js.map +0 -1
  410. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
  411. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  412. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -10
  413. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  414. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  415. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  416. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -10
  417. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  418. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -777
  419. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  420. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -600
  421. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  422. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -269
  423. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  424. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -123
  425. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  426. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -129
  427. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
  428. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -12
  429. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
  430. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -26
  431. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
  432. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
  433. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
  434. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -19
  435. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
  436. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -80
  437. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
  438. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -318
  439. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
  440. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
  441. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
  442. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -212
  443. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
  444. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -254
  445. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
  446. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -27
  447. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
  448. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -208
  449. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
  450. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -16
  451. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
  452. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -25
  453. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
  454. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -796
  455. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
  456. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -280
  457. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
  458. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -18
  459. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
  460. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -120
  461. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
  462. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -42
  463. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
  464. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -221
  465. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
  466. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
  467. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
  468. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -476
  469. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  470. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
  471. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
  472. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
  473. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
  474. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -19
  475. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
  476. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
  477. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
  478. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
  479. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
  480. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -36
  481. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
  482. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -6
  483. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
  484. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -132
  485. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  486. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -15
  487. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
  488. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -13
  489. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
  490. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -23
  491. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
  492. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -9
  493. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  494. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +0 -100
  495. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
  496. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -116
  497. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
  498. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -75
  499. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  500. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -626
  501. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  502. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +0 -31
  503. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
  504. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -22
  505. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  506. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -12
  507. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
  508. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -191
  509. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  510. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -27
  511. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  512. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -20
  513. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  514. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  515. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  516. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -161
  517. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  518. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
  519. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  520. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
  521. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  522. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -107
  523. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  524. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
  525. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  526. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
  527. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  528. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -57
  529. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  530. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -11
  531. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  532. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -32
  533. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  534. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -20
  535. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  536. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -26
  537. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  538. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -52
  539. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  540. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -415
  541. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
  542. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -628
  543. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  544. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -6
  545. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  546. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -6
  547. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
  548. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -22
  549. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  550. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -6
  551. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  552. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -52
  553. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
  554. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -25
  555. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  556. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -23
  557. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  558. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -43
  559. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  560. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -22
  561. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  562. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
  563. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  564. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
  565. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -95
  566. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
  567. package/dist/es/react-components/dist/es/stitches.config.js +0 -379
  568. package/dist/es/react-components/dist/es/stitches.config.js.map +0 -1
  569. package/dist/es/react-components/dist/es/text/text.js +0 -115
  570. package/dist/es/react-components/dist/es/text/text.js.map +0 -1
  571. package/dist/es/react-components/dist/es/tooltip/tooltip.js +0 -153
  572. package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +0 -1
  573. package/dist/es/react-components/dist/es/utils/prefix-class-name.js +0 -8
  574. package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
  575. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +0 -4
  576. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
  577. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
  578. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
  579. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
  580. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
  581. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
  582. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
  583. package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
  584. package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
  585. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
  586. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
  587. package/dist/es/react-icons/dist/es/icons/bold.js +0 -84
  588. package/dist/es/react-icons/dist/es/icons/bold.js.map +0 -1
  589. package/dist/es/react-icons/dist/es/icons/close.js +0 -84
  590. package/dist/es/react-icons/dist/es/icons/close.js.map +0 -1
  591. package/dist/es/react-icons/dist/es/icons/code-block.js +0 -76
  592. package/dist/es/react-icons/dist/es/icons/code-block.js.map +0 -1
  593. package/dist/es/react-icons/dist/es/icons/code.js +0 -94
  594. package/dist/es/react-icons/dist/es/icons/code.js.map +0 -1
  595. package/dist/es/react-icons/dist/es/icons/delete.js +0 -114
  596. package/dist/es/react-icons/dist/es/icons/delete.js.map +0 -1
  597. package/dist/es/react-icons/dist/es/icons/italics.js +0 -94
  598. package/dist/es/react-icons/dist/es/icons/italics.js.map +0 -1
  599. package/dist/es/react-icons/dist/es/icons/link.js +0 -84
  600. package/dist/es/react-icons/dist/es/icons/link.js.map +0 -1
  601. package/dist/es/react-icons/dist/es/icons/ordered-list.js +0 -84
  602. package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +0 -1
  603. package/dist/es/react-icons/dist/es/icons/pencil.js +0 -84
  604. package/dist/es/react-icons/dist/es/icons/pencil.js.map +0 -1
  605. package/dist/es/react-icons/dist/es/icons/text-align-center.js +0 -72
  606. package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +0 -1
  607. package/dist/es/react-icons/dist/es/icons/text-align-justify.js +0 -72
  608. package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
  609. package/dist/es/react-icons/dist/es/icons/text-align-left.js +0 -72
  610. package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +0 -1
  611. package/dist/es/react-icons/dist/es/icons/text-align-right.js +0 -72
  612. package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +0 -1
  613. package/dist/es/react-icons/dist/es/icons/text-format.js +0 -76
  614. package/dist/es/react-icons/dist/es/icons/text-format.js.map +0 -1
  615. package/dist/es/react-icons/dist/es/icons/underline.js +0 -75
  616. package/dist/es/react-icons/dist/es/icons/underline.js.map +0 -1
  617. package/dist/es/react-icons/dist/es/icons/unordered-list.js +0 -124
  618. package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +0 -1
  619. /package/dist/cjs/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
  620. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
  621. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
  622. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
  623. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
  624. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/merge.js +0 -0
  625. /package/dist/es/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
  626. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
  627. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
  628. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
  629. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
  630. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/util/merge.js +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport { composeEventHandlers } from '../../primitive/dist/index.js';\nimport { createCollection } from '../../react-collection/dist/index.js';\nimport { useComposedRefs, composeRefs } from '../../react-compose-refs/dist/index.js';\nimport { createContextScope } from '../../react-context/dist/index.js';\nimport { useDirection } from '../../react-direction/dist/index.js';\nimport { DismissableLayer } from '../../react-dismissable-layer/dist/index.js';\nimport { useFocusGuards } from '../../react-focus-guards/dist/index.js';\nimport { FocusScope } from '../../react-focus-scope/dist/index.js';\nimport { useId } from '../../react-id/dist/index.js';\nimport { createPopperScope, Anchor, Content, Arrow, Root as Root2 } from '../../react-popper/dist/index.js';\nimport { Portal as Portal$1 } from '../../react-portal/dist/index.js';\nimport { Presence } from '../../react-presence/dist/index.js';\nimport { Primitive, dispatchDiscreteCustomEvent } from '../../react-primitive/dist/index.js';\nimport { createRovingFocusGroupScope, Root, Item } from '../../react-roving-focus/dist/index.js';\nimport { Slot } from '../../react-slot/dist/index.js';\nimport { useCallbackRef } from '../../react-use-callback-ref/dist/index.js';\nimport { hideOthers } from '../../../aria-hidden/dist/es2015/index.js';\nimport RemoveScroll from '../../../react-remove-scroll/dist/es2015/Combination.js';\nimport { jsx } from 'react/jsx-runtime';\n\nvar SELECTION_KEYS = [\"Enter\", \" \"];\nvar FIRST_KEYS = [\"ArrowDown\", \"PageUp\", \"Home\"];\nvar LAST_KEYS = [\"ArrowUp\", \"PageDown\", \"End\"];\nvar FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];\nvar SUB_OPEN_KEYS = {\n ltr: [...SELECTION_KEYS, \"ArrowRight\"],\n rtl: [...SELECTION_KEYS, \"ArrowLeft\"]\n};\nvar SUB_CLOSE_KEYS = {\n ltr: [\"ArrowLeft\"],\n rtl: [\"ArrowRight\"]\n};\nvar MENU_NAME = \"Menu\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(MENU_NAME);\nvar [createMenuContext, createMenuScope] = createContextScope(MENU_NAME, [\n createCollectionScope,\n createPopperScope,\n createRovingFocusGroupScope\n]);\nvar usePopperScope = createPopperScope();\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME);\nvar [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);\nvar Menu = (props) => {\n const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;\n const popperScope = usePopperScope(__scopeMenu);\n const [content, setContent] = React.useState(null);\n const isUsingKeyboardRef = React.useRef(false);\n const handleOpenChange = useCallbackRef(onOpenChange);\n const direction = useDirection(dir);\n React.useEffect(() => {\n const handleKeyDown = () => {\n isUsingKeyboardRef.current = true;\n document.addEventListener(\"pointerdown\", handlePointer, { capture: true, once: true });\n document.addEventListener(\"pointermove\", handlePointer, { capture: true, once: true });\n };\n const handlePointer = () => isUsingKeyboardRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n document.removeEventListener(\"pointerdown\", handlePointer, { capture: true });\n document.removeEventListener(\"pointermove\", handlePointer, { capture: true });\n };\n }, []);\n return /* @__PURE__ */ jsx(Root2, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuRootProvider,\n {\n scope: __scopeMenu,\n onClose: React.useCallback(() => handleOpenChange(false), [handleOpenChange]),\n isUsingKeyboardRef,\n dir: direction,\n modal,\n children\n }\n )\n }\n ) });\n};\nMenu.displayName = MENU_NAME;\nvar ANCHOR_NAME = \"MenuAnchor\";\nvar MenuAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...anchorProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nMenuAnchor.displayName = ANCHOR_NAME;\nvar PORTAL_NAME = \"MenuPortal\";\nvar [PortalProvider, usePortalContext] = createMenuContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar MenuPortal = (props) => {\n const { __scopeMenu, forceMount, children, container } = props;\n const context = useMenuContext(PORTAL_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Portal$1, { asChild: true, container, children }) }) });\n};\nMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"MenuContent\";\nvar [MenuContentProvider, useMenuContentContext] = createMenuContext(CONTENT_NAME);\nvar MenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: rootContext.modal ? /* @__PURE__ */ jsx(MenuRootContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(MenuRootContentNonModal, { ...contentProps, ref: forwardedRef }) }) }) });\n }\n);\nvar MenuRootContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const content = ref.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: context.open,\n disableOutsideScroll: true,\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n ),\n onDismiss: () => context.onOpenChange(false)\n }\n );\n }\n);\nvar MenuRootContentNonModal = React.forwardRef((props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n onDismiss: () => context.onOpenChange(false)\n }\n );\n});\nvar MenuContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeMenu,\n loop = false,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEntryFocus,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n disableOutsideScroll,\n ...contentProps\n } = props;\n const context = useMenuContext(CONTENT_NAME, __scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const getItems = useCollection(__scopeMenu);\n const [currentItemId, setCurrentItemId] = React.useState(null);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef, context.onContentChange);\n const timerRef = React.useRef(0);\n const searchRef = React.useRef(\"\");\n const pointerGraceTimerRef = React.useRef(0);\n const pointerGraceIntentRef = React.useRef(null);\n const pointerDirRef = React.useRef(\"right\");\n const lastPointerXRef = React.useRef(0);\n const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;\n const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;\n const handleTypeaheadSearch = (key) => {\n const search = searchRef.current + key;\n const items = getItems().filter((item) => !item.disabled);\n const currentItem = document.activeElement;\n const currentMatch = items.find((item) => item.ref.current === currentItem)?.textValue;\n const values = items.map((item) => item.textValue);\n const nextMatch = getNextMatch(values, search, currentMatch);\n const newItem = items.find((item) => item.textValue === nextMatch)?.ref.current;\n (function updateSearch(value) {\n searchRef.current = value;\n window.clearTimeout(timerRef.current);\n if (value !== \"\") timerRef.current = window.setTimeout(() => updateSearch(\"\"), 1e3);\n })(search);\n if (newItem) {\n setTimeout(() => newItem.focus());\n }\n };\n React.useEffect(() => {\n return () => window.clearTimeout(timerRef.current);\n }, []);\n useFocusGuards();\n const isPointerMovingToSubmenu = React.useCallback((event) => {\n const isMovingTowards = pointerDirRef.current === pointerGraceIntentRef.current?.side;\n return isMovingTowards && isPointerInGraceArea(event, pointerGraceIntentRef.current?.area);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentProvider,\n {\n scope: __scopeMenu,\n searchRef,\n onItemEnter: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n onItemLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) return;\n contentRef.current?.focus();\n setCurrentItemId(null);\n },\n [isPointerMovingToSubmenu]\n ),\n onTriggerLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n pointerGraceTimerRef,\n onPointerGraceIntentChange: React.useCallback((intent) => {\n pointerGraceIntentRef.current = intent;\n }, []),\n children: /* @__PURE__ */ jsx(ScrollLockWrapper, { ...scrollLockWrapperProps, children: /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n trapped: trapFocus,\n onMountAutoFocus: composeEventHandlers(onOpenAutoFocus, (event) => {\n event.preventDefault();\n contentRef.current?.focus({ preventScroll: true });\n }),\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n children: /* @__PURE__ */ jsx(\n Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n dir: rootContext.dir,\n orientation: \"vertical\",\n loop,\n currentTabStopId: currentItemId,\n onCurrentTabStopIdChange: setCurrentItemId,\n onEntryFocus: composeEventHandlers(onEntryFocus, (event) => {\n if (!rootContext.isUsingKeyboardRef.current) event.preventDefault();\n }),\n preventScrollOnEntryFocus: true,\n children: /* @__PURE__ */ jsx(\n Content,\n {\n role: \"menu\",\n \"aria-orientation\": \"vertical\",\n \"data-state\": getOpenState(context.open),\n \"data-radix-menu-content\": \"\",\n dir: rootContext.dir,\n ...popperScope,\n ...contentProps,\n ref: composedRefs,\n style: { outline: \"none\", ...contentProps.style },\n onKeyDown: composeEventHandlers(contentProps.onKeyDown, (event) => {\n const target = event.target;\n const isKeyDownInside = target.closest(\"[data-radix-menu-content]\") === event.currentTarget;\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n const isCharacterKey = event.key.length === 1;\n if (isKeyDownInside) {\n if (event.key === \"Tab\") event.preventDefault();\n if (!isModifierKey && isCharacterKey) handleTypeaheadSearch(event.key);\n }\n const content = contentRef.current;\n if (event.target !== content) return;\n if (!FIRST_LAST_KEYS.includes(event.key)) return;\n event.preventDefault();\n const items = getItems().filter((item) => !item.disabled);\n const candidateNodes = items.map((item) => item.ref.current);\n if (LAST_KEYS.includes(event.key)) candidateNodes.reverse();\n focusFirst(candidateNodes);\n }),\n onBlur: composeEventHandlers(props.onBlur, (event) => {\n if (!event.currentTarget.contains(event.target)) {\n window.clearTimeout(timerRef.current);\n searchRef.current = \"\";\n }\n }),\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n const target = event.target;\n const pointerXHasChanged = lastPointerXRef.current !== event.clientX;\n if (event.currentTarget.contains(target) && pointerXHasChanged) {\n const newDir = event.clientX > lastPointerXRef.current ? \"right\" : \"left\";\n pointerDirRef.current = newDir;\n lastPointerXRef.current = event.clientX;\n }\n })\n )\n }\n )\n }\n )\n }\n )\n }\n ) })\n }\n );\n }\n);\nMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"MenuGroup\";\nvar MenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...groupProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { role: \"group\", ...groupProps, ref: forwardedRef });\n }\n);\nMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"MenuLabel\";\nvar MenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...labelProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { ...labelProps, ref: forwardedRef });\n }\n);\nMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"MenuItem\";\nvar ITEM_SELECT = \"menu.itemSelect\";\nvar MenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { disabled = false, onSelect, ...itemProps } = props;\n const ref = React.useRef(null);\n const rootContext = useMenuRootContext(ITEM_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(ITEM_NAME, props.__scopeMenu);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const isPointerDownRef = React.useRef(false);\n const handleSelect = () => {\n const menuItem = ref.current;\n if (!disabled && menuItem) {\n const itemSelectEvent = new CustomEvent(ITEM_SELECT, { bubbles: true, cancelable: true });\n menuItem.addEventListener(ITEM_SELECT, (event) => onSelect?.(event), { once: true });\n dispatchDiscreteCustomEvent(menuItem, itemSelectEvent);\n if (itemSelectEvent.defaultPrevented) {\n isPointerDownRef.current = false;\n } else {\n rootContext.onClose();\n }\n }\n };\n return /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n ...itemProps,\n ref: composedRefs,\n disabled,\n onClick: composeEventHandlers(props.onClick, handleSelect),\n onPointerDown: (event) => {\n props.onPointerDown?.(event);\n isPointerDownRef.current = true;\n },\n onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n if (!isPointerDownRef.current) event.currentTarget?.click();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (disabled || isTypingAhead && event.key === \" \") return;\n if (SELECTION_KEYS.includes(event.key)) {\n event.currentTarget.click();\n event.preventDefault();\n }\n })\n }\n );\n }\n);\nMenuItem.displayName = ITEM_NAME;\nvar MenuItemImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, disabled = false, textValue, ...itemProps } = props;\n const contentContext = useMenuContentContext(ITEM_NAME, __scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [isFocused, setIsFocused] = React.useState(false);\n const [textContent, setTextContent] = React.useState(\"\");\n React.useEffect(() => {\n const menuItem = ref.current;\n if (menuItem) {\n setTextContent((menuItem.textContent ?? \"\").trim());\n }\n }, [itemProps.children]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeMenu,\n disabled,\n textValue: textValue ?? textContent,\n children: /* @__PURE__ */ jsx(Item, { asChild: true, ...rovingFocusGroupScope, focusable: !disabled, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"menuitem\",\n \"data-highlighted\": isFocused ? \"\" : void 0,\n \"aria-disabled\": disabled || void 0,\n \"data-disabled\": disabled ? \"\" : void 0,\n ...itemProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n if (disabled) {\n contentContext.onItemLeave(event);\n } else {\n contentContext.onItemEnter(event);\n if (!event.defaultPrevented) {\n const item = event.currentTarget;\n item.focus({ preventScroll: true });\n }\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => contentContext.onItemLeave(event))\n ),\n onFocus: composeEventHandlers(props.onFocus, () => setIsFocused(true)),\n onBlur: composeEventHandlers(props.onBlur, () => setIsFocused(false))\n }\n ) })\n }\n );\n }\n);\nvar CHECKBOX_ITEM_NAME = \"MenuCheckboxItem\";\nvar MenuCheckboxItem = React.forwardRef(\n (props, forwardedRef) => {\n const { checked = false, onCheckedChange, ...checkboxItemProps } = props;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemcheckbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n ...checkboxItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n checkboxItemProps.onSelect,\n () => onCheckedChange?.(isIndeterminate(checked) ? true : !checked),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"MenuRadioGroup\";\nvar [RadioGroupProvider, useRadioGroupContext] = createMenuContext(\n RADIO_GROUP_NAME,\n { value: void 0, onValueChange: () => {\n } }\n);\nvar MenuRadioGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { value, onValueChange, ...groupProps } = props;\n const handleValueChange = useCallbackRef(onValueChange);\n return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup, { ...groupProps, ref: forwardedRef }) });\n }\n);\nMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"MenuRadioItem\";\nvar MenuRadioItem = React.forwardRef(\n (props, forwardedRef) => {\n const { value, ...radioItemProps } = props;\n const context = useRadioGroupContext(RADIO_ITEM_NAME, props.__scopeMenu);\n const checked = value === context.value;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemradio\",\n \"aria-checked\": checked,\n ...radioItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n radioItemProps.onSelect,\n () => context.onValueChange?.(value),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar ITEM_INDICATOR_NAME = \"MenuItemIndicator\";\nvar [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(\n ITEM_INDICATOR_NAME,\n { checked: false }\n);\nvar MenuItemIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, forceMount, ...itemIndicatorProps } = props;\n const indicatorContext = useItemIndicatorContext(ITEM_INDICATOR_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(indicatorContext.checked) || indicatorContext.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...itemIndicatorProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(indicatorContext.checked)\n }\n )\n }\n );\n }\n);\nMenuItemIndicator.displayName = ITEM_INDICATOR_NAME;\nvar SEPARATOR_NAME = \"MenuSeparator\";\nvar MenuSeparator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...separatorProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"separator\",\n \"aria-orientation\": \"horizontal\",\n ...separatorProps,\n ref: forwardedRef\n }\n );\n }\n);\nMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"MenuArrow\";\nvar MenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nMenuArrow.displayName = ARROW_NAME;\nvar SUB_NAME = \"MenuSub\";\nvar [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);\nvar MenuSub = (props) => {\n const { __scopeMenu, children, open = false, onOpenChange } = props;\n const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const [trigger, setTrigger] = React.useState(null);\n const [content, setContent] = React.useState(null);\n const handleOpenChange = useCallbackRef(onOpenChange);\n React.useEffect(() => {\n if (parentMenuContext.open === false) handleOpenChange(false);\n return () => handleOpenChange(false);\n }, [parentMenuContext.open, handleOpenChange]);\n return /* @__PURE__ */ jsx(Root2, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuSubProvider,\n {\n scope: __scopeMenu,\n contentId: useId(),\n triggerId: useId(),\n trigger,\n onTriggerChange: setTrigger,\n children\n }\n )\n }\n ) });\n};\nMenuSub.displayName = SUB_NAME;\nvar SUB_TRIGGER_NAME = \"MenuSubTrigger\";\nvar MenuSubTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const openTimerRef = React.useRef(null);\n const { pointerGraceTimerRef, onPointerGraceIntentChange } = contentContext;\n const scope = { __scopeMenu: props.__scopeMenu };\n const clearOpenTimer = React.useCallback(() => {\n if (openTimerRef.current) window.clearTimeout(openTimerRef.current);\n openTimerRef.current = null;\n }, []);\n React.useEffect(() => clearOpenTimer, [clearOpenTimer]);\n React.useEffect(() => {\n const pointerGraceTimer = pointerGraceTimerRef.current;\n return () => {\n window.clearTimeout(pointerGraceTimer);\n onPointerGraceIntentChange(null);\n };\n }, [pointerGraceTimerRef, onPointerGraceIntentChange]);\n return /* @__PURE__ */ jsx(MenuAnchor, { asChild: true, ...scope, children: /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n id: subContext.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": subContext.contentId,\n \"data-state\": getOpenState(context.open),\n ...props,\n ref: composeRefs(forwardedRef, subContext.onTriggerChange),\n onClick: (event) => {\n props.onClick?.(event);\n if (props.disabled || event.defaultPrevented) return;\n event.currentTarget.focus();\n if (!context.open) context.onOpenChange(true);\n },\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n contentContext.onItemEnter(event);\n if (event.defaultPrevented) return;\n if (!props.disabled && !context.open && !openTimerRef.current) {\n contentContext.onPointerGraceIntentChange(null);\n openTimerRef.current = window.setTimeout(() => {\n context.onOpenChange(true);\n clearOpenTimer();\n }, 100);\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => {\n clearOpenTimer();\n const contentRect = context.content?.getBoundingClientRect();\n if (contentRect) {\n const side = context.content?.dataset.side;\n const rightSide = side === \"right\";\n const bleed = rightSide ? -5 : 5;\n const contentNearEdge = contentRect[rightSide ? \"left\" : \"right\"];\n const contentFarEdge = contentRect[rightSide ? \"right\" : \"left\"];\n contentContext.onPointerGraceIntentChange({\n area: [\n // Apply a bleed on clientX to ensure that our exit point is\n // consistently within polygon bounds\n { x: event.clientX + bleed, y: event.clientY },\n { x: contentNearEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.bottom },\n { x: contentNearEdge, y: contentRect.bottom }\n ],\n side\n });\n window.clearTimeout(pointerGraceTimerRef.current);\n pointerGraceTimerRef.current = window.setTimeout(\n () => contentContext.onPointerGraceIntentChange(null),\n 300\n );\n } else {\n contentContext.onTriggerLeave(event);\n if (event.defaultPrevented) return;\n contentContext.onPointerGraceIntentChange(null);\n }\n })\n ),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (props.disabled || isTypingAhead && event.key === \" \") return;\n if (SUB_OPEN_KEYS[rootContext.dir].includes(event.key)) {\n context.onOpenChange(true);\n context.content?.focus();\n event.preventDefault();\n }\n })\n }\n ) });\n }\n);\nMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"MenuSubContent\";\nvar MenuSubContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...subContentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n id: subContext.contentId,\n \"aria-labelledby\": subContext.triggerId,\n ...subContentProps,\n ref: composedRefs,\n align: \"start\",\n side: rootContext.dir === \"rtl\" ? \"left\" : \"right\",\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n trapFocus: false,\n onOpenAutoFocus: (event) => {\n if (rootContext.isUsingKeyboardRef.current) ref.current?.focus();\n event.preventDefault();\n },\n onCloseAutoFocus: (event) => event.preventDefault(),\n onFocusOutside: composeEventHandlers(props.onFocusOutside, (event) => {\n if (event.target !== subContext.trigger) context.onOpenChange(false);\n }),\n onEscapeKeyDown: composeEventHandlers(props.onEscapeKeyDown, (event) => {\n rootContext.onClose();\n event.preventDefault();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isKeyDownInside = event.currentTarget.contains(event.target);\n const isCloseKey = SUB_CLOSE_KEYS[rootContext.dir].includes(event.key);\n if (isKeyDownInside && isCloseKey) {\n context.onOpenChange(false);\n subContext.trigger?.focus();\n event.preventDefault();\n }\n })\n }\n ) }) }) });\n }\n);\nMenuSubContent.displayName = SUB_CONTENT_NAME;\nfunction getOpenState(open) {\n return open ? \"open\" : \"closed\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getCheckedState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nfunction focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nfunction getNextMatch(values, search, currentMatch) {\n const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n const excludeCurrentMatch = normalizedSearch.length === 1;\n if (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n const nextMatch = wrappedValues.find(\n (value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextMatch !== currentMatch ? nextMatch : void 0;\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const xi = polygon[i].x;\n const yi = polygon[i].y;\n const xj = polygon[j].x;\n const yj = polygon[j].y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction isPointerInGraceArea(event, area) {\n if (!area) return false;\n const cursorPos = { x: event.clientX, y: event.clientY };\n return isPointInPolygon(cursorPos, area);\n}\nfunction whenMouse(handler) {\n return (event) => event.pointerType === \"mouse\" ? handler(event) : void 0;\n}\nvar Root3 = Menu;\nvar Anchor2 = MenuAnchor;\nvar Portal = MenuPortal;\nvar Content2 = MenuContent;\nvar Group = MenuGroup;\nvar Label = MenuLabel;\nvar Item2 = MenuItem;\nvar CheckboxItem = MenuCheckboxItem;\nvar RadioGroup = MenuRadioGroup;\nvar RadioItem = MenuRadioItem;\nvar ItemIndicator = MenuItemIndicator;\nvar Separator = MenuSeparator;\nvar Arrow2 = MenuArrow;\nvar Sub = MenuSub;\nvar SubTrigger = MenuSubTrigger;\nvar SubContent = MenuSubContent;\n\nexport { Anchor2 as Anchor, Arrow2 as Arrow, CheckboxItem, Content2 as Content, Group, Item2 as Item, ItemIndicator, Label, Menu, MenuAnchor, MenuArrow, MenuCheckboxItem, MenuContent, MenuGroup, MenuItem, MenuItemIndicator, MenuLabel, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuSub, MenuSubContent, MenuSubTrigger, Portal, RadioGroup, RadioItem, Root3 as Root, Separator, Sub, SubContent, SubTrigger, createMenuScope };\n//# sourceMappingURL=index.js.map\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAqBA,IAAI,cAAc,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC;AACnC,IAAI,UAAU,GAAG,CAAC,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC;AAChD,IAAI,SAAS,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,KAAK,CAAC;AAC9C,IAAI,eAAe,GAAG,CAAC,GAAG,UAAU,EAAE,GAAG,SAAS,CAAC;AACnD,IAAI,aAAa,GAAG;AACpB,EAAE,GAAG,EAAE,CAAC,GAAG,cAAc,EAAE,YAAY,CAAC;AACxC,EAAE,GAAG,EAAE,CAAC,GAAG,cAAc,EAAE,WAAW;AACtC,CAAC;AACD,IAAI,cAAc,GAAG;AACrB,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC;AACpB,EAA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AM,SAAS,GAAG,EAAE,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE;AACpF,IAAI,IAAI,SAAS,EAAE,MAAM,GAAG,CAAC,MAAM;AACnC;AACA,EAAE,OAAO,MAAM;AACf;AACA,SAAS,oBAAoB,CAAC,KAAK,EAAE,IAAI,EAAE;AAC3C,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,KAAK;AACzB,EAAE,MAAM,SAAS,GAAG,EAAE,CAAC,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,CAAC,OAAO,EAAE;AAC1D,EAAE,OAAO,gBAAgB,CAAC,SAAS,EAAE,IAAI,CAAC;AAC1C;AACA,SAAS,SAAS,CAAC,OAAO,EAAE;AAC5B,EAAE,OAAO,CAAC,KAAK,KAAK,KAAK,CAAC,WAAW,KAAK,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,MAAM;AAC3E;AACG,IAAC,KAAK,GAAG;AACT,IAAC,OAAO,GAAG;AACX,IAAC,MAAM,GAAG;AACV,IAAC,QAAQ,GAAG;AACZ,IAAC,KAAK,GAAG;AACT,IAAC,KAAK,GAAG;AACT,IAAC,KAAK,GAAG;AACT,IAAC,YAAY,GAAG;AAChB,IAAC,UAAU,GAAG;AACd,IAAC,SAAS,GAAG;AACb,IAAC,aAAa,GAAG;AACjB,IAAC,SAAS,GAAG;AACb,IAAC,MAAM,GAAG;AAEV,IAAC,UAAU,GAAG;AACd,IAAC,UAAU,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,280 +0,0 @@
1
- import * as React from 'react';
2
- import { useFloating, arrow } from '../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js';
3
- import { Root } from '../../react-arrow/dist/index.js';
4
- import { useComposedRefs } from '../../react-compose-refs/dist/index.js';
5
- import { createContextScope } from '../../react-context/dist/index.js';
6
- import { Primitive } from '../../react-primitive/dist/index.js';
7
- import { useCallbackRef } from '../../react-use-callback-ref/dist/index.js';
8
- import { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';
9
- import { useSize } from '../../react-use-size/dist/index.js';
10
- import { jsx } from 'react/jsx-runtime';
11
- import { autoUpdate } from '../../../@floating-ui/dom/dist/floating-ui.dom.js';
12
- import { offset, shift, flip, size, hide, limitShift } from '../../../@floating-ui/core/dist/floating-ui.core.js';
13
-
14
- var POPPER_NAME = "Popper";
15
- var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
16
- var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
17
- var Popper = (props) => {
18
- const { __scopePopper, children } = props;
19
- const [anchor, setAnchor] = React.useState(null);
20
- return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
21
- };
22
- Popper.displayName = POPPER_NAME;
23
- var ANCHOR_NAME = "PopperAnchor";
24
- var PopperAnchor = React.forwardRef(
25
- (props, forwardedRef) => {
26
- const { __scopePopper, virtualRef, ...anchorProps } = props;
27
- const context = usePopperContext(ANCHOR_NAME, __scopePopper);
28
- const ref = React.useRef(null);
29
- const composedRefs = useComposedRefs(forwardedRef, ref);
30
- React.useEffect(() => {
31
- context.onAnchorChange(virtualRef?.current || ref.current);
32
- });
33
- return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });
34
- }
35
- );
36
- PopperAnchor.displayName = ANCHOR_NAME;
37
- var CONTENT_NAME = "PopperContent";
38
- var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
39
- var PopperContent = React.forwardRef(
40
- (props, forwardedRef) => {
41
- const {
42
- __scopePopper,
43
- side = "bottom",
44
- sideOffset = 0,
45
- align = "center",
46
- alignOffset = 0,
47
- arrowPadding = 0,
48
- avoidCollisions = true,
49
- collisionBoundary = [],
50
- collisionPadding: collisionPaddingProp = 0,
51
- sticky = "partial",
52
- hideWhenDetached = false,
53
- updatePositionStrategy = "optimized",
54
- onPlaced,
55
- ...contentProps
56
- } = props;
57
- const context = usePopperContext(CONTENT_NAME, __scopePopper);
58
- const [content, setContent] = React.useState(null);
59
- const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));
60
- const [arrow$1, setArrow] = React.useState(null);
61
- const arrowSize = useSize(arrow$1);
62
- const arrowWidth = arrowSize?.width ?? 0;
63
- const arrowHeight = arrowSize?.height ?? 0;
64
- const desiredPlacement = side + (align !== "center" ? "-" + align : "");
65
- const collisionPadding = typeof collisionPaddingProp === "number" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };
66
- const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];
67
- const hasExplicitBoundaries = boundary.length > 0;
68
- const detectOverflowOptions = {
69
- padding: collisionPadding,
70
- boundary: boundary.filter(isNotNull),
71
- // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
72
- altBoundary: hasExplicitBoundaries
73
- };
74
- const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({
75
- // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
76
- strategy: "fixed",
77
- placement: desiredPlacement,
78
- whileElementsMounted: (...args) => {
79
- const cleanup = autoUpdate(...args, {
80
- animationFrame: updatePositionStrategy === "always"
81
- });
82
- return cleanup;
83
- },
84
- elements: {
85
- reference: context.anchor
86
- },
87
- middleware: [
88
- offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),
89
- avoidCollisions && shift({
90
- mainAxis: true,
91
- crossAxis: false,
92
- limiter: sticky === "partial" ? limitShift() : void 0,
93
- ...detectOverflowOptions
94
- }),
95
- avoidCollisions && flip({ ...detectOverflowOptions }),
96
- size({
97
- ...detectOverflowOptions,
98
- apply: ({ elements, rects, availableWidth, availableHeight }) => {
99
- const { width: anchorWidth, height: anchorHeight } = rects.reference;
100
- const contentStyle = elements.floating.style;
101
- contentStyle.setProperty("--radix-popper-available-width", `${availableWidth}px`);
102
- contentStyle.setProperty("--radix-popper-available-height", `${availableHeight}px`);
103
- contentStyle.setProperty("--radix-popper-anchor-width", `${anchorWidth}px`);
104
- contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
105
- }
106
- }),
107
- arrow$1 && arrow({ element: arrow$1, padding: arrowPadding }),
108
- transformOrigin({ arrowWidth, arrowHeight }),
109
- hideWhenDetached && hide({ strategy: "referenceHidden", ...detectOverflowOptions })
110
- ]
111
- });
112
- const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
113
- const handlePlaced = useCallbackRef(onPlaced);
114
- useLayoutEffect2(() => {
115
- if (isPositioned) {
116
- handlePlaced?.();
117
- }
118
- }, [isPositioned, handlePlaced]);
119
- const arrowX = middlewareData.arrow?.x;
120
- const arrowY = middlewareData.arrow?.y;
121
- const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
122
- const [contentZIndex, setContentZIndex] = React.useState();
123
- useLayoutEffect2(() => {
124
- if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
125
- }, [content]);
126
- return /* @__PURE__ */ jsx(
127
- "div",
128
- {
129
- ref: refs.setFloating,
130
- "data-radix-popper-content-wrapper": "",
131
- style: {
132
- ...floatingStyles,
133
- transform: isPositioned ? floatingStyles.transform : "translate(0, -200%)",
134
- // keep off the page when measuring
135
- minWidth: "max-content",
136
- zIndex: contentZIndex,
137
- ["--radix-popper-transform-origin"]: [
138
- middlewareData.transformOrigin?.x,
139
- middlewareData.transformOrigin?.y
140
- ].join(" "),
141
- // hide the content if using the hide middleware and should be hidden
142
- // set visibility to hidden and disable pointer events so the UI behaves
143
- // as if the PopperContent isn't there at all
144
- ...middlewareData.hide?.referenceHidden && {
145
- visibility: "hidden",
146
- pointerEvents: "none"
147
- }
148
- },
149
- dir: props.dir,
150
- children: /* @__PURE__ */ jsx(
151
- PopperContentProvider,
152
- {
153
- scope: __scopePopper,
154
- placedSide,
155
- onArrowChange: setArrow,
156
- arrowX,
157
- arrowY,
158
- shouldHideArrow: cannotCenterArrow,
159
- children: /* @__PURE__ */ jsx(
160
- Primitive.div,
161
- {
162
- "data-side": placedSide,
163
- "data-align": placedAlign,
164
- ...contentProps,
165
- ref: composedRefs,
166
- style: {
167
- ...contentProps.style,
168
- // if the PopperContent hasn't been placed yet (not all measurements done)
169
- // we prevent animations so that users's animation don't kick in too early referring wrong sides
170
- animation: !isPositioned ? "none" : void 0
171
- }
172
- }
173
- )
174
- }
175
- )
176
- }
177
- );
178
- }
179
- );
180
- PopperContent.displayName = CONTENT_NAME;
181
- var ARROW_NAME = "PopperArrow";
182
- var OPPOSITE_SIDE = {
183
- top: "bottom",
184
- right: "left",
185
- bottom: "top",
186
- left: "right"
187
- };
188
- var PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {
189
- const { __scopePopper, ...arrowProps } = props;
190
- const contentContext = useContentContext(ARROW_NAME, __scopePopper);
191
- const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
192
- return (
193
- // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
194
- // doesn't report size as we'd expect on SVG elements.
195
- // it reports their bounding box which is effectively the largest path inside the SVG.
196
- /* @__PURE__ */ jsx(
197
- "span",
198
- {
199
- ref: contentContext.onArrowChange,
200
- style: {
201
- position: "absolute",
202
- left: contentContext.arrowX,
203
- top: contentContext.arrowY,
204
- [baseSide]: 0,
205
- transformOrigin: {
206
- top: "",
207
- right: "0 0",
208
- bottom: "center 0",
209
- left: "100% 0"
210
- }[contentContext.placedSide],
211
- transform: {
212
- top: "translateY(100%)",
213
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
214
- bottom: `rotate(180deg)`,
215
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
216
- }[contentContext.placedSide],
217
- visibility: contentContext.shouldHideArrow ? "hidden" : void 0
218
- },
219
- children: /* @__PURE__ */ jsx(
220
- Root,
221
- {
222
- ...arrowProps,
223
- ref: forwardedRef,
224
- style: {
225
- ...arrowProps.style,
226
- // ensures the element can be measured correctly (mostly for if SVG)
227
- display: "block"
228
- }
229
- }
230
- )
231
- }
232
- )
233
- );
234
- });
235
- PopperArrow.displayName = ARROW_NAME;
236
- function isNotNull(value) {
237
- return value !== null;
238
- }
239
- var transformOrigin = (options) => ({
240
- name: "transformOrigin",
241
- options,
242
- fn(data) {
243
- const { placement, rects, middlewareData } = data;
244
- const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
245
- const isArrowHidden = cannotCenterArrow;
246
- const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
247
- const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
248
- const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
249
- const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
250
- const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
251
- const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
252
- let x = "";
253
- let y = "";
254
- if (placedSide === "bottom") {
255
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
256
- y = `${-arrowHeight}px`;
257
- } else if (placedSide === "top") {
258
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
259
- y = `${rects.floating.height + arrowHeight}px`;
260
- } else if (placedSide === "right") {
261
- x = `${-arrowHeight}px`;
262
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
263
- } else if (placedSide === "left") {
264
- x = `${rects.floating.width + arrowHeight}px`;
265
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
266
- }
267
- return { data: { x, y } };
268
- }
269
- });
270
- function getSideAndAlignFromPlacement(placement) {
271
- const [side, align = "center"] = placement.split("-");
272
- return [side, align];
273
- }
274
- var Root2 = Popper;
275
- var Anchor = PopperAnchor;
276
- var Content = PopperContent;
277
- var Arrow = PopperArrow;
278
-
279
- export { Anchor, Arrow, Content, Popper, PopperAnchor, PopperArrow, PopperContent, Root2 as Root, createPopperScope };
280
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport { useFloating, arrow } from '../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js';\nimport { Root } from '../../react-arrow/dist/index.js';\nimport { useComposedRefs } from '../../react-compose-refs/dist/index.js';\nimport { createContextScope } from '../../react-context/dist/index.js';\nimport { Primitive } from '../../react-primitive/dist/index.js';\nimport { useCallbackRef } from '../../react-use-callback-ref/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\nimport { useSize } from '../../react-use-size/dist/index.js';\nimport { jsx } from 'react/jsx-runtime';\nimport { autoUpdate } from '../../../@floating-ui/dom/dist/floating-ui.dom.js';\nimport { offset, shift, flip, size, hide, limitShift } from '../../../@floating-ui/core/dist/floating-ui.core.js';\n\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow$1, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow$1);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow$1 && arrow({ element: arrow$1, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect2(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect2(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\n\nexport { Anchor, Arrow, Content, Popper, PopperAnchor, PopperArrow, PopperContent, Root2 as Root, createPopperScope };\n//# sourceMappingURL=index.js.map\n"],"names":[],"mappings":";;;;;;;;;;;;;AAaA,IAAI,WAAW,GAAG,QAAQ;AACvB,IAAC,CAAC,mBAAmB,EAAE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AAC;AACpD,KAAK,MAAM,IAAI,UAAU,KAAK,OAAO,EAAE;AACvC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;AAC7B,MAAM,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC;AAC5D,KAAK,MAAM,IAAI,UAAU,KAAK,MAAM,EAAE;AACtC,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,GAAG,WAAW,CAAC,EAAE,CAAC;AACnD,MAAM,CAAC,GAAG,aAAa,GAAG,YAAY,GAAG,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC;AAC5D;AACA,IAAI,OAAO,EAAE,IAAI,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE;AAC7B;AACA,CAAC,CAAC;AACF,SAAS,4BAA4B,CAAC,SAAS,EAAE;AACjD,EAAE,MAAM,CAAC,IAAI,EAAE,KAAK,GAAG,QAAQ,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GAAG,CAAC;AACvD,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;AACtB;AACG,IAAC,KAAK,GAAG;AACT,IAAC,MAAM,GAAG;AACV,IAAC,OAAO,GAAG;AACX,IAAC,KAAK,GAAG;;;;","x_google_ignoreList":[0]}
@@ -1,18 +0,0 @@
1
- import * as React from 'react';
2
- import ReactDOM__default__default from 'react-dom';
3
- import { Primitive } from '../../react-primitive/dist/index.js';
4
- import { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';
5
- import { jsx } from 'react/jsx-runtime';
6
-
7
- var PORTAL_NAME = "Portal";
8
- var Portal = React.forwardRef((props, forwardedRef) => {
9
- const { container: containerProp, ...portalProps } = props;
10
- const [mounted, setMounted] = React.useState(false);
11
- useLayoutEffect2(() => setMounted(true), []);
12
- const container = containerProp || mounted && globalThis?.document?.body;
13
- return container ? ReactDOM__default__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
14
- });
15
- Portal.displayName = PORTAL_NAME;
16
-
17
- export { Portal };
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../../../react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js"],"sourcesContent":["import * as React from 'react';\nimport ReactDOM__default from 'react-dom';\nimport { Primitive } from '../../react-primitive/dist/index.js';\nimport { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';\nimport { jsx } from 'react/jsx-runtime';\n\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect2(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\n\nexport { Portal, Root };\n//# sourceMappingURL=index.js.map\n"],"names":["ReactDOM__default"],"mappings":";;;;;;AAMA,IAAI,WAAW,GAAG,QAAQ;AACvB,IAAC,MAAM,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,KAAK,EAAE,YAAY,KAAK;AACvD,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,GAAG,WAAW,EAAE,GAAG,KAAK;AAC5D,EAAE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AACrD,EAAE,gBAAgB,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;AAC9C,EAAE,MAAM,SAAS,GAAG,aAAa,IAAI,OAAO,IAAI,UAAU,EAAE,QAAQ,EAAE,IAAI;AAC1E,EAAE,OAAO,SAAS,GAAGA,0BAAiB,CAAC,YAAY,iBAAiB,GAAG,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,GAAG,WAAW,EAAE,GAAG,EAAE,YAAY,EAAE,CAAC,EAAE,SAAS,CAAC,GAAG,IAAI;AAChJ,CAAC;AACD,MAAM,CAAC,WAAW,GAAG,WAAW;;;;","x_google_ignoreList":[0]}
@@ -1,120 +0,0 @@
1
- import * as React from 'react';
2
- import * as ReactDOM__default from 'react-dom';
3
- import { useComposedRefs } from '../../react-compose-refs/dist/index.js';
4
- import { useLayoutEffect as useLayoutEffect2 } from '../../react-use-layout-effect/dist/index.js';
5
-
6
- function useStateMachine(initialState, machine) {
7
- return React.useReducer((state, event) => {
8
- const nextState = machine[state][event];
9
- return nextState ?? state;
10
- }, initialState);
11
- }
12
-
13
- // packages/react/presence/src/Presence.tsx
14
- var Presence = (props) => {
15
- const { present, children } = props;
16
- const presence = usePresence(present);
17
- const child = typeof children === "function" ? children({ present: presence.isPresent }) : React.Children.only(children);
18
- const ref = useComposedRefs(presence.ref, getElementRef(child));
19
- const forceMount = typeof children === "function";
20
- return forceMount || presence.isPresent ? React.cloneElement(child, { ref }) : null;
21
- };
22
- Presence.displayName = "Presence";
23
- function usePresence(present) {
24
- const [node, setNode] = React.useState();
25
- const stylesRef = React.useRef({});
26
- const prevPresentRef = React.useRef(present);
27
- const prevAnimationNameRef = React.useRef("none");
28
- const initialState = present ? "mounted" : "unmounted";
29
- const [state, send] = useStateMachine(initialState, {
30
- mounted: {
31
- UNMOUNT: "unmounted",
32
- ANIMATION_OUT: "unmountSuspended"
33
- },
34
- unmountSuspended: {
35
- MOUNT: "mounted",
36
- ANIMATION_END: "unmounted"
37
- },
38
- unmounted: {
39
- MOUNT: "mounted"
40
- }
41
- });
42
- React.useEffect(() => {
43
- const currentAnimationName = getAnimationName(stylesRef.current);
44
- prevAnimationNameRef.current = state === "mounted" ? currentAnimationName : "none";
45
- }, [state]);
46
- useLayoutEffect2(() => {
47
- const styles = stylesRef.current;
48
- const wasPresent = prevPresentRef.current;
49
- const hasPresentChanged = wasPresent !== present;
50
- if (hasPresentChanged) {
51
- const prevAnimationName = prevAnimationNameRef.current;
52
- const currentAnimationName = getAnimationName(styles);
53
- if (present) {
54
- send("MOUNT");
55
- } else if (currentAnimationName === "none" || styles?.display === "none") {
56
- send("UNMOUNT");
57
- } else {
58
- const isAnimating = prevAnimationName !== currentAnimationName;
59
- if (wasPresent && isAnimating) {
60
- send("ANIMATION_OUT");
61
- } else {
62
- send("UNMOUNT");
63
- }
64
- }
65
- prevPresentRef.current = present;
66
- }
67
- }, [present, send]);
68
- useLayoutEffect2(() => {
69
- if (node) {
70
- const handleAnimationEnd = (event) => {
71
- const currentAnimationName = getAnimationName(stylesRef.current);
72
- const isCurrentAnimation = currentAnimationName.includes(event.animationName);
73
- if (event.target === node && isCurrentAnimation) {
74
- ReactDOM__default.flushSync(() => send("ANIMATION_END"));
75
- }
76
- };
77
- const handleAnimationStart = (event) => {
78
- if (event.target === node) {
79
- prevAnimationNameRef.current = getAnimationName(stylesRef.current);
80
- }
81
- };
82
- node.addEventListener("animationstart", handleAnimationStart);
83
- node.addEventListener("animationcancel", handleAnimationEnd);
84
- node.addEventListener("animationend", handleAnimationEnd);
85
- return () => {
86
- node.removeEventListener("animationstart", handleAnimationStart);
87
- node.removeEventListener("animationcancel", handleAnimationEnd);
88
- node.removeEventListener("animationend", handleAnimationEnd);
89
- };
90
- } else {
91
- send("ANIMATION_END");
92
- }
93
- }, [node, send]);
94
- return {
95
- isPresent: ["mounted", "unmountSuspended"].includes(state),
96
- ref: React.useCallback((node2) => {
97
- if (node2) stylesRef.current = getComputedStyle(node2);
98
- setNode(node2);
99
- }, [])
100
- };
101
- }
102
- function getAnimationName(styles) {
103
- return styles?.animationName || "none";
104
- }
105
- function getElementRef(element) {
106
- let getter = Object.getOwnPropertyDescriptor(element.props, "ref")?.get;
107
- let mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
108
- if (mayWarn) {
109
- return element.ref;
110
- }
111
- getter = Object.getOwnPropertyDescriptor(element, "ref")?.get;
112
- mayWarn = getter && "isReactWarning" in getter && getter.isReactWarning;
113
- if (mayWarn) {
114
- return element.props.ref;
115
- }
116
- return element.props.ref || element.ref;
117
- }
118
-
119
- export { Presence };
120
- //# sourceMappingURL=index.js.map