@sparrowengg/twigs-editor-react 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) 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 +8 -5
  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 +5 -2
  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/dist/index.d.ts +9 -4
  121. package/package.json +3 -1
  122. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -8
  123. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
  124. package/dist/cjs/react-components/dist/es/_virtual/index.js +0 -6
  125. package/dist/cjs/react-components/dist/es/_virtual/index.js.map +0 -1
  126. package/dist/cjs/react-components/dist/es/_virtual/index2.js +0 -6
  127. package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +0 -1
  128. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +0 -6
  129. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
  130. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +0 -6
  131. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
  132. package/dist/cjs/react-components/dist/es/box/box.js +0 -47
  133. package/dist/cjs/react-components/dist/es/box/box.js.map +0 -1
  134. package/dist/cjs/react-components/dist/es/button/button.js +0 -774
  135. package/dist/cjs/react-components/dist/es/button/button.js.map +0 -1
  136. package/dist/cjs/react-components/dist/es/button/icon-button.js +0 -77
  137. package/dist/cjs/react-components/dist/es/button/icon-button.js.map +0 -1
  138. package/dist/cjs/react-components/dist/es/button/side-element.js +0 -199
  139. package/dist/cjs/react-components/dist/es/button/side-element.js.map +0 -1
  140. package/dist/cjs/react-components/dist/es/button/utils.js +0 -105
  141. package/dist/cjs/react-components/dist/es/button/utils.js.map +0 -1
  142. package/dist/cjs/react-components/dist/es/dialog/dialog.js +0 -197
  143. package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +0 -1
  144. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +0 -195
  145. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +0 -1
  146. package/dist/cjs/react-components/dist/es/flex/flex.js +0 -98
  147. package/dist/cjs/react-components/dist/es/flex/flex.js.map +0 -1
  148. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +0 -76
  149. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
  150. package/dist/cjs/react-components/dist/es/form-label/form-label.js +0 -176
  151. package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +0 -1
  152. package/dist/cjs/react-components/dist/es/input/form-input.js +0 -159
  153. package/dist/cjs/react-components/dist/es/input/form-input.js.map +0 -1
  154. package/dist/cjs/react-components/dist/es/input/input.js +0 -377
  155. package/dist/cjs/react-components/dist/es/input/input.js.map +0 -1
  156. package/dist/cjs/react-components/dist/es/link/link.js +0 -58
  157. package/dist/cjs/react-components/dist/es/link/link.js.map +0 -1
  158. package/dist/cjs/react-components/dist/es/loader/circle.js +0 -204
  159. package/dist/cjs/react-components/dist/es/loader/circle.js.map +0 -1
  160. package/dist/cjs/react-components/dist/es/loader/line.js +0 -130
  161. package/dist/cjs/react-components/dist/es/loader/line.js.map +0 -1
  162. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -21
  163. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  164. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -14
  165. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  166. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -19
  167. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  168. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -14
  169. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  170. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -788
  171. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  172. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -612
  173. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  174. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -299
  175. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  176. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -146
  177. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  178. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -148
  179. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
  180. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -14
  181. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
  182. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -48
  183. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
  184. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -71
  185. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
  186. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -41
  187. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
  188. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -102
  189. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
  190. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -354
  191. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
  192. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -33
  193. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
  194. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -234
  195. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
  196. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -303
  197. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
  198. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -48
  199. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
  200. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -229
  201. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
  202. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -37
  203. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
  204. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -47
  205. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
  206. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -847
  207. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
  208. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -309
  209. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
  210. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -39
  211. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
  212. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -142
  213. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
  214. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -65
  215. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
  216. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -246
  217. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
  218. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -104
  219. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
  220. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -509
  221. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  222. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -34
  223. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
  224. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -68
  225. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
  226. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -40
  227. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
  228. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -29
  229. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
  230. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -62
  231. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
  232. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -58
  233. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
  234. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -9
  235. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
  236. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -134
  237. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  238. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -19
  239. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
  240. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -17
  241. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
  242. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -27
  243. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
  244. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -11
  245. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  246. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +0 -102
  247. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
  248. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -118
  249. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
  250. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -77
  251. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  252. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -628
  253. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  254. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +0 -35
  255. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
  256. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -24
  257. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  258. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -14
  259. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
  260. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -193
  261. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  262. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -29
  263. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  264. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -22
  265. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  266. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -34
  267. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  268. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -184
  269. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  270. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -60
  271. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  272. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -24
  273. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  274. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -110
  275. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  276. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -8
  277. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  278. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -12
  279. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  280. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -80
  281. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  282. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -16
  283. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  284. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -35
  285. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  286. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -22
  287. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  288. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -47
  289. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  290. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -54
  291. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  292. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -419
  293. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
  294. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -637
  295. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  296. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -10
  297. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  298. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -10
  299. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
  300. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -25
  301. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  302. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -8
  303. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  304. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -55
  305. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
  306. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -27
  307. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  308. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -25
  309. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  310. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -45
  311. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  312. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -43
  313. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  314. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -80
  315. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  316. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
  317. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -97
  318. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
  319. package/dist/cjs/react-components/dist/es/stitches.config.js +0 -392
  320. package/dist/cjs/react-components/dist/es/stitches.config.js.map +0 -1
  321. package/dist/cjs/react-components/dist/es/text/text.js +0 -117
  322. package/dist/cjs/react-components/dist/es/text/text.js.map +0 -1
  323. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +0 -156
  324. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +0 -1
  325. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +0 -10
  326. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
  327. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +0 -9
  328. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
  329. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
  330. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
  331. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
  332. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
  333. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
  334. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
  335. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
  336. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
  337. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
  338. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
  339. package/dist/cjs/react-icons/dist/es/icons/bold.js +0 -86
  340. package/dist/cjs/react-icons/dist/es/icons/bold.js.map +0 -1
  341. package/dist/cjs/react-icons/dist/es/icons/close.js +0 -86
  342. package/dist/cjs/react-icons/dist/es/icons/close.js.map +0 -1
  343. package/dist/cjs/react-icons/dist/es/icons/code-block.js +0 -78
  344. package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +0 -1
  345. package/dist/cjs/react-icons/dist/es/icons/code.js +0 -96
  346. package/dist/cjs/react-icons/dist/es/icons/code.js.map +0 -1
  347. package/dist/cjs/react-icons/dist/es/icons/delete.js +0 -116
  348. package/dist/cjs/react-icons/dist/es/icons/delete.js.map +0 -1
  349. package/dist/cjs/react-icons/dist/es/icons/italics.js +0 -96
  350. package/dist/cjs/react-icons/dist/es/icons/italics.js.map +0 -1
  351. package/dist/cjs/react-icons/dist/es/icons/link.js +0 -86
  352. package/dist/cjs/react-icons/dist/es/icons/link.js.map +0 -1
  353. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +0 -86
  354. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +0 -1
  355. package/dist/cjs/react-icons/dist/es/icons/pencil.js +0 -86
  356. package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +0 -1
  357. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +0 -74
  358. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +0 -1
  359. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +0 -74
  360. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
  361. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +0 -74
  362. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +0 -1
  363. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +0 -74
  364. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +0 -1
  365. package/dist/cjs/react-icons/dist/es/icons/text-format.js +0 -78
  366. package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +0 -1
  367. package/dist/cjs/react-icons/dist/es/icons/underline.js +0 -77
  368. package/dist/cjs/react-icons/dist/es/icons/underline.js.map +0 -1
  369. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +0 -126
  370. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +0 -1
  371. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +0 -6
  372. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +0 -1
  373. package/dist/es/react-components/dist/es/_virtual/index.js +0 -4
  374. package/dist/es/react-components/dist/es/_virtual/index.js.map +0 -1
  375. package/dist/es/react-components/dist/es/_virtual/index2.js +0 -4
  376. package/dist/es/react-components/dist/es/_virtual/index2.js.map +0 -1
  377. package/dist/es/react-components/dist/es/_virtual/react-is.development.js +0 -4
  378. package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +0 -1
  379. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +0 -4
  380. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +0 -1
  381. package/dist/es/react-components/dist/es/box/box.js +0 -45
  382. package/dist/es/react-components/dist/es/box/box.js.map +0 -1
  383. package/dist/es/react-components/dist/es/button/button.js +0 -772
  384. package/dist/es/react-components/dist/es/button/button.js.map +0 -1
  385. package/dist/es/react-components/dist/es/button/icon-button.js +0 -75
  386. package/dist/es/react-components/dist/es/button/icon-button.js.map +0 -1
  387. package/dist/es/react-components/dist/es/button/side-element.js +0 -197
  388. package/dist/es/react-components/dist/es/button/side-element.js.map +0 -1
  389. package/dist/es/react-components/dist/es/button/utils.js +0 -100
  390. package/dist/es/react-components/dist/es/button/utils.js.map +0 -1
  391. package/dist/es/react-components/dist/es/dialog/dialog.js +0 -193
  392. package/dist/es/react-components/dist/es/dialog/dialog.js.map +0 -1
  393. package/dist/es/react-components/dist/es/dropdown/dropdown.js +0 -190
  394. package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +0 -1
  395. package/dist/es/react-components/dist/es/flex/flex.js +0 -96
  396. package/dist/es/react-components/dist/es/flex/flex.js.map +0 -1
  397. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +0 -74
  398. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +0 -1
  399. package/dist/es/react-components/dist/es/form-label/form-label.js +0 -174
  400. package/dist/es/react-components/dist/es/form-label/form-label.js.map +0 -1
  401. package/dist/es/react-components/dist/es/input/form-input.js +0 -157
  402. package/dist/es/react-components/dist/es/input/form-input.js.map +0 -1
  403. package/dist/es/react-components/dist/es/input/input.js +0 -374
  404. package/dist/es/react-components/dist/es/input/input.js.map +0 -1
  405. package/dist/es/react-components/dist/es/link/link.js +0 -56
  406. package/dist/es/react-components/dist/es/link/link.js.map +0 -1
  407. package/dist/es/react-components/dist/es/loader/circle.js +0 -202
  408. package/dist/es/react-components/dist/es/loader/circle.js.map +0 -1
  409. package/dist/es/react-components/dist/es/loader/line.js +0 -128
  410. package/dist/es/react-components/dist/es/loader/line.js.map +0 -1
  411. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +0 -17
  412. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  413. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -10
  414. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +0 -1
  415. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -15
  416. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  417. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -10
  418. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  419. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -777
  420. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +0 -1
  421. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -600
  422. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  423. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -269
  424. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +0 -1
  425. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -123
  426. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  427. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +0 -129
  428. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +0 -1
  429. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +0 -12
  430. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +0 -1
  431. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +0 -26
  432. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +0 -1
  433. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +0 -69
  434. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +0 -1
  435. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +0 -19
  436. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +0 -1
  437. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +0 -80
  438. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +0 -1
  439. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +0 -318
  440. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +0 -1
  441. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +0 -12
  442. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +0 -1
  443. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +0 -212
  444. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +0 -1
  445. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +0 -254
  446. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +0 -1
  447. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +0 -27
  448. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +0 -1
  449. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +0 -208
  450. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +0 -1
  451. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +0 -16
  452. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +0 -1
  453. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +0 -25
  454. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +0 -1
  455. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +0 -796
  456. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +0 -1
  457. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +0 -280
  458. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +0 -1
  459. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +0 -18
  460. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +0 -1
  461. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +0 -120
  462. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +0 -1
  463. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +0 -42
  464. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +0 -1
  465. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +0 -221
  466. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +0 -1
  467. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +0 -82
  468. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +0 -1
  469. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +0 -476
  470. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +0 -1
  471. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +0 -13
  472. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +0 -1
  473. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +0 -47
  474. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +0 -1
  475. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -19
  476. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +0 -1
  477. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +0 -8
  478. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +0 -1
  479. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +0 -41
  480. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +0 -1
  481. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +0 -36
  482. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +0 -1
  483. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +0 -6
  484. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +0 -1
  485. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +0 -132
  486. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +0 -1
  487. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +0 -15
  488. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +0 -1
  489. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +0 -13
  490. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +0 -1
  491. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +0 -23
  492. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +0 -1
  493. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +0 -9
  494. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +0 -1
  495. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +0 -100
  496. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +0 -1
  497. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +0 -116
  498. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +0 -1
  499. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +0 -75
  500. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +0 -1
  501. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +0 -626
  502. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +0 -1
  503. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +0 -31
  504. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +0 -1
  505. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -22
  506. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +0 -1
  507. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +0 -12
  508. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +0 -1
  509. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -191
  510. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  511. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -27
  512. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  513. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +0 -20
  514. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +0 -1
  515. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +0 -11
  516. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +0 -1
  517. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +0 -161
  518. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +0 -1
  519. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +0 -39
  520. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +0 -1
  521. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +0 -22
  522. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +0 -1
  523. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +0 -107
  524. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +0 -1
  525. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +0 -6
  526. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +0 -1
  527. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +0 -8
  528. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +0 -1
  529. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +0 -57
  530. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +0 -1
  531. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +0 -11
  532. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +0 -1
  533. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +0 -32
  534. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +0 -1
  535. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +0 -20
  536. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +0 -1
  537. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +0 -26
  538. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +0 -1
  539. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +0 -52
  540. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +0 -1
  541. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +0 -415
  542. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +0 -1
  543. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +0 -628
  544. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +0 -1
  545. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -6
  546. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +0 -1
  547. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +0 -6
  548. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +0 -1
  549. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -22
  550. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +0 -1
  551. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +0 -6
  552. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +0 -1
  553. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +0 -52
  554. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +0 -1
  555. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +0 -25
  556. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +0 -1
  557. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +0 -23
  558. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +0 -1
  559. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +0 -43
  560. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +0 -1
  561. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +0 -22
  562. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +0 -1
  563. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +0 -78
  564. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +0 -1
  565. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +0 -1
  566. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +0 -95
  567. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +0 -1
  568. package/dist/es/react-components/dist/es/stitches.config.js +0 -379
  569. package/dist/es/react-components/dist/es/stitches.config.js.map +0 -1
  570. package/dist/es/react-components/dist/es/text/text.js +0 -115
  571. package/dist/es/react-components/dist/es/text/text.js.map +0 -1
  572. package/dist/es/react-components/dist/es/tooltip/tooltip.js +0 -153
  573. package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +0 -1
  574. package/dist/es/react-components/dist/es/utils/prefix-class-name.js +0 -8
  575. package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +0 -1
  576. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +0 -4
  577. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +0 -1
  578. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +0 -1
  579. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +0 -1
  580. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +0 -1
  581. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +0 -1
  582. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +0 -1
  583. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +0 -1
  584. package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +0 -1
  585. package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +0 -1
  586. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +0 -1
  587. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +0 -1
  588. package/dist/es/react-icons/dist/es/icons/bold.js +0 -84
  589. package/dist/es/react-icons/dist/es/icons/bold.js.map +0 -1
  590. package/dist/es/react-icons/dist/es/icons/close.js +0 -84
  591. package/dist/es/react-icons/dist/es/icons/close.js.map +0 -1
  592. package/dist/es/react-icons/dist/es/icons/code-block.js +0 -76
  593. package/dist/es/react-icons/dist/es/icons/code-block.js.map +0 -1
  594. package/dist/es/react-icons/dist/es/icons/code.js +0 -94
  595. package/dist/es/react-icons/dist/es/icons/code.js.map +0 -1
  596. package/dist/es/react-icons/dist/es/icons/delete.js +0 -114
  597. package/dist/es/react-icons/dist/es/icons/delete.js.map +0 -1
  598. package/dist/es/react-icons/dist/es/icons/italics.js +0 -94
  599. package/dist/es/react-icons/dist/es/icons/italics.js.map +0 -1
  600. package/dist/es/react-icons/dist/es/icons/link.js +0 -84
  601. package/dist/es/react-icons/dist/es/icons/link.js.map +0 -1
  602. package/dist/es/react-icons/dist/es/icons/ordered-list.js +0 -84
  603. package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +0 -1
  604. package/dist/es/react-icons/dist/es/icons/pencil.js +0 -84
  605. package/dist/es/react-icons/dist/es/icons/pencil.js.map +0 -1
  606. package/dist/es/react-icons/dist/es/icons/text-align-center.js +0 -72
  607. package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +0 -1
  608. package/dist/es/react-icons/dist/es/icons/text-align-justify.js +0 -72
  609. package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +0 -1
  610. package/dist/es/react-icons/dist/es/icons/text-align-left.js +0 -72
  611. package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +0 -1
  612. package/dist/es/react-icons/dist/es/icons/text-align-right.js +0 -72
  613. package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +0 -1
  614. package/dist/es/react-icons/dist/es/icons/text-format.js +0 -76
  615. package/dist/es/react-icons/dist/es/icons/text-format.js.map +0 -1
  616. package/dist/es/react-icons/dist/es/icons/underline.js +0 -75
  617. package/dist/es/react-icons/dist/es/icons/underline.js.map +0 -1
  618. package/dist/es/react-icons/dist/es/icons/unordered-list.js +0 -124
  619. package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +0 -1
  620. /package/dist/cjs/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
  621. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
  622. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
  623. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
  624. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
  625. /package/dist/cjs/{react-editor/node_modules → node_modules}/validator/es/lib/util/merge.js +0 -0
  626. /package/dist/es/{react-components/dist/es/packages/react-components/node_modules → node_modules}/clsx/dist/clsx.js +0 -0
  627. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isFQDN.js +0 -0
  628. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isIP.js +0 -0
  629. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/isURL.js +0 -0
  630. /package/dist/es/{react-editor/node_modules → node_modules}/validator/es/lib/util/assertString.js +0 -0
  631. /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":["createCollection","createContextScope","createPopperScope","createRovingFocusGroupScope","React","useCallbackRef","useDirection","jsx","Root2","Anchor","Presence","Portal$1","useComposedRefs","hideOthers","composeEventHandlers","RemoveScroll","Slot","useFocusGuards","FocusScope","DismissableLayer","Root","Content","Primitive","dispatchDiscreteCustomEvent","Item","Arrow","composeRefs"],"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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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,309 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var floatingUi_reactDom = require('../../../@floating-ui/react-dom/dist/floating-ui.react-dom.js');
5
- var index$6 = require('../../react-arrow/dist/index.js');
6
- var index$1 = require('../../react-compose-refs/dist/index.js');
7
- var index = require('../../react-context/dist/index.js');
8
- var index$2 = require('../../react-primitive/dist/index.js');
9
- var index$4 = require('../../react-use-callback-ref/dist/index.js');
10
- var index$5 = require('../../react-use-layout-effect/dist/index.js');
11
- var index$3 = require('../../react-use-size/dist/index.js');
12
- var jsxRuntime = require('react/jsx-runtime');
13
- var floatingUi_dom = require('../../../@floating-ui/dom/dist/floating-ui.dom.js');
14
- var floatingUi_core = require('../../../@floating-ui/core/dist/floating-ui.core.js');
15
-
16
- function _interopNamespaceDefault(e) {
17
- var n = Object.create(null);
18
- if (e) {
19
- Object.keys(e).forEach(function (k) {
20
- if (k !== 'default') {
21
- var d = Object.getOwnPropertyDescriptor(e, k);
22
- Object.defineProperty(n, k, d.get ? d : {
23
- enumerable: true,
24
- get: function () { return e[k]; }
25
- });
26
- }
27
- });
28
- }
29
- n.default = e;
30
- return Object.freeze(n);
31
- }
32
-
33
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
34
-
35
- var POPPER_NAME = "Popper";
36
- var [createPopperContext, createPopperScope] = index.createContextScope(POPPER_NAME);
37
- var [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);
38
- var Popper = (props) => {
39
- const { __scopePopper, children } = props;
40
- const [anchor, setAnchor] = React__namespace.useState(null);
41
- return /* @__PURE__ */ jsxRuntime.jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });
42
- };
43
- Popper.displayName = POPPER_NAME;
44
- var ANCHOR_NAME = "PopperAnchor";
45
- var PopperAnchor = React__namespace.forwardRef(
46
- (props, forwardedRef) => {
47
- const { __scopePopper, virtualRef, ...anchorProps } = props;
48
- const context = usePopperContext(ANCHOR_NAME, __scopePopper);
49
- const ref = React__namespace.useRef(null);
50
- const composedRefs = index$1.useComposedRefs(forwardedRef, ref);
51
- React__namespace.useEffect(() => {
52
- context.onAnchorChange(virtualRef?.current || ref.current);
53
- });
54
- return virtualRef ? null : /* @__PURE__ */ jsxRuntime.jsx(index$2.Primitive.div, { ...anchorProps, ref: composedRefs });
55
- }
56
- );
57
- PopperAnchor.displayName = ANCHOR_NAME;
58
- var CONTENT_NAME = "PopperContent";
59
- var [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);
60
- var PopperContent = React__namespace.forwardRef(
61
- (props, forwardedRef) => {
62
- const {
63
- __scopePopper,
64
- side = "bottom",
65
- sideOffset = 0,
66
- align = "center",
67
- alignOffset = 0,
68
- arrowPadding = 0,
69
- avoidCollisions = true,
70
- collisionBoundary = [],
71
- collisionPadding: collisionPaddingProp = 0,
72
- sticky = "partial",
73
- hideWhenDetached = false,
74
- updatePositionStrategy = "optimized",
75
- onPlaced,
76
- ...contentProps
77
- } = props;
78
- const context = usePopperContext(CONTENT_NAME, __scopePopper);
79
- const [content, setContent] = React__namespace.useState(null);
80
- const composedRefs = index$1.useComposedRefs(forwardedRef, (node) => setContent(node));
81
- const [arrow$1, setArrow] = React__namespace.useState(null);
82
- const arrowSize = index$3.useSize(arrow$1);
83
- const arrowWidth = arrowSize?.width ?? 0;
84
- const arrowHeight = arrowSize?.height ?? 0;
85
- const desiredPlacement = side + (align !== "center" ? "-" + align : "");
86
- const collisionPadding = typeof collisionPaddingProp === "number" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };
87
- const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];
88
- const hasExplicitBoundaries = boundary.length > 0;
89
- const detectOverflowOptions = {
90
- padding: collisionPadding,
91
- boundary: boundary.filter(isNotNull),
92
- // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
93
- altBoundary: hasExplicitBoundaries
94
- };
95
- const { refs, floatingStyles, placement, isPositioned, middlewareData } = floatingUi_reactDom.useFloating({
96
- // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
97
- strategy: "fixed",
98
- placement: desiredPlacement,
99
- whileElementsMounted: (...args) => {
100
- const cleanup = floatingUi_dom.autoUpdate(...args, {
101
- animationFrame: updatePositionStrategy === "always"
102
- });
103
- return cleanup;
104
- },
105
- elements: {
106
- reference: context.anchor
107
- },
108
- middleware: [
109
- floatingUi_core.offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),
110
- avoidCollisions && floatingUi_core.shift({
111
- mainAxis: true,
112
- crossAxis: false,
113
- limiter: sticky === "partial" ? floatingUi_core.limitShift() : void 0,
114
- ...detectOverflowOptions
115
- }),
116
- avoidCollisions && floatingUi_core.flip({ ...detectOverflowOptions }),
117
- floatingUi_core.size({
118
- ...detectOverflowOptions,
119
- apply: ({ elements, rects, availableWidth, availableHeight }) => {
120
- const { width: anchorWidth, height: anchorHeight } = rects.reference;
121
- const contentStyle = elements.floating.style;
122
- contentStyle.setProperty("--radix-popper-available-width", `${availableWidth}px`);
123
- contentStyle.setProperty("--radix-popper-available-height", `${availableHeight}px`);
124
- contentStyle.setProperty("--radix-popper-anchor-width", `${anchorWidth}px`);
125
- contentStyle.setProperty("--radix-popper-anchor-height", `${anchorHeight}px`);
126
- }
127
- }),
128
- arrow$1 && floatingUi_reactDom.arrow({ element: arrow$1, padding: arrowPadding }),
129
- transformOrigin({ arrowWidth, arrowHeight }),
130
- hideWhenDetached && floatingUi_core.hide({ strategy: "referenceHidden", ...detectOverflowOptions })
131
- ]
132
- });
133
- const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
134
- const handlePlaced = index$4.useCallbackRef(onPlaced);
135
- index$5.useLayoutEffect(() => {
136
- if (isPositioned) {
137
- handlePlaced?.();
138
- }
139
- }, [isPositioned, handlePlaced]);
140
- const arrowX = middlewareData.arrow?.x;
141
- const arrowY = middlewareData.arrow?.y;
142
- const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
143
- const [contentZIndex, setContentZIndex] = React__namespace.useState();
144
- index$5.useLayoutEffect(() => {
145
- if (content) setContentZIndex(window.getComputedStyle(content).zIndex);
146
- }, [content]);
147
- return /* @__PURE__ */ jsxRuntime.jsx(
148
- "div",
149
- {
150
- ref: refs.setFloating,
151
- "data-radix-popper-content-wrapper": "",
152
- style: {
153
- ...floatingStyles,
154
- transform: isPositioned ? floatingStyles.transform : "translate(0, -200%)",
155
- // keep off the page when measuring
156
- minWidth: "max-content",
157
- zIndex: contentZIndex,
158
- ["--radix-popper-transform-origin"]: [
159
- middlewareData.transformOrigin?.x,
160
- middlewareData.transformOrigin?.y
161
- ].join(" "),
162
- // hide the content if using the hide middleware and should be hidden
163
- // set visibility to hidden and disable pointer events so the UI behaves
164
- // as if the PopperContent isn't there at all
165
- ...middlewareData.hide?.referenceHidden && {
166
- visibility: "hidden",
167
- pointerEvents: "none"
168
- }
169
- },
170
- dir: props.dir,
171
- children: /* @__PURE__ */ jsxRuntime.jsx(
172
- PopperContentProvider,
173
- {
174
- scope: __scopePopper,
175
- placedSide,
176
- onArrowChange: setArrow,
177
- arrowX,
178
- arrowY,
179
- shouldHideArrow: cannotCenterArrow,
180
- children: /* @__PURE__ */ jsxRuntime.jsx(
181
- index$2.Primitive.div,
182
- {
183
- "data-side": placedSide,
184
- "data-align": placedAlign,
185
- ...contentProps,
186
- ref: composedRefs,
187
- style: {
188
- ...contentProps.style,
189
- // if the PopperContent hasn't been placed yet (not all measurements done)
190
- // we prevent animations so that users's animation don't kick in too early referring wrong sides
191
- animation: !isPositioned ? "none" : void 0
192
- }
193
- }
194
- )
195
- }
196
- )
197
- }
198
- );
199
- }
200
- );
201
- PopperContent.displayName = CONTENT_NAME;
202
- var ARROW_NAME = "PopperArrow";
203
- var OPPOSITE_SIDE = {
204
- top: "bottom",
205
- right: "left",
206
- bottom: "top",
207
- left: "right"
208
- };
209
- var PopperArrow = React__namespace.forwardRef(function PopperArrow2(props, forwardedRef) {
210
- const { __scopePopper, ...arrowProps } = props;
211
- const contentContext = useContentContext(ARROW_NAME, __scopePopper);
212
- const baseSide = OPPOSITE_SIDE[contentContext.placedSide];
213
- return (
214
- // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
215
- // doesn't report size as we'd expect on SVG elements.
216
- // it reports their bounding box which is effectively the largest path inside the SVG.
217
- /* @__PURE__ */ jsxRuntime.jsx(
218
- "span",
219
- {
220
- ref: contentContext.onArrowChange,
221
- style: {
222
- position: "absolute",
223
- left: contentContext.arrowX,
224
- top: contentContext.arrowY,
225
- [baseSide]: 0,
226
- transformOrigin: {
227
- top: "",
228
- right: "0 0",
229
- bottom: "center 0",
230
- left: "100% 0"
231
- }[contentContext.placedSide],
232
- transform: {
233
- top: "translateY(100%)",
234
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
235
- bottom: `rotate(180deg)`,
236
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
237
- }[contentContext.placedSide],
238
- visibility: contentContext.shouldHideArrow ? "hidden" : void 0
239
- },
240
- children: /* @__PURE__ */ jsxRuntime.jsx(
241
- index$6.Root,
242
- {
243
- ...arrowProps,
244
- ref: forwardedRef,
245
- style: {
246
- ...arrowProps.style,
247
- // ensures the element can be measured correctly (mostly for if SVG)
248
- display: "block"
249
- }
250
- }
251
- )
252
- }
253
- )
254
- );
255
- });
256
- PopperArrow.displayName = ARROW_NAME;
257
- function isNotNull(value) {
258
- return value !== null;
259
- }
260
- var transformOrigin = (options) => ({
261
- name: "transformOrigin",
262
- options,
263
- fn(data) {
264
- const { placement, rects, middlewareData } = data;
265
- const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;
266
- const isArrowHidden = cannotCenterArrow;
267
- const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;
268
- const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;
269
- const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);
270
- const noArrowAlign = { start: "0%", center: "50%", end: "100%" }[placedAlign];
271
- const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;
272
- const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;
273
- let x = "";
274
- let y = "";
275
- if (placedSide === "bottom") {
276
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
277
- y = `${-arrowHeight}px`;
278
- } else if (placedSide === "top") {
279
- x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;
280
- y = `${rects.floating.height + arrowHeight}px`;
281
- } else if (placedSide === "right") {
282
- x = `${-arrowHeight}px`;
283
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
284
- } else if (placedSide === "left") {
285
- x = `${rects.floating.width + arrowHeight}px`;
286
- y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;
287
- }
288
- return { data: { x, y } };
289
- }
290
- });
291
- function getSideAndAlignFromPlacement(placement) {
292
- const [side, align = "center"] = placement.split("-");
293
- return [side, align];
294
- }
295
- var Root2 = Popper;
296
- var Anchor = PopperAnchor;
297
- var Content = PopperContent;
298
- var Arrow = PopperArrow;
299
-
300
- exports.Anchor = Anchor;
301
- exports.Arrow = Arrow;
302
- exports.Content = Content;
303
- exports.Popper = Popper;
304
- exports.PopperAnchor = PopperAnchor;
305
- exports.PopperArrow = PopperArrow;
306
- exports.PopperContent = PopperContent;
307
- exports.Root = Root2;
308
- exports.createPopperScope = createPopperScope;
309
- //# 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":["createContextScope","React","jsx","useComposedRefs","Primitive","useSize","useFloating","autoUpdate","offset","shift","limitShift","flip","size","arrow","hide","useCallbackRef","useLayoutEffect2","Root"],"mappings":";;;;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AAC,GAAG,aAAa,GAAG,YAAY,GAAG,CAAC,EAAE,YAAY,CAAC,EAAE,CAAC;AAC5D,MAAM,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;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,39 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var ReactDOM__default = require('react-dom');
5
- var index$1 = require('../../react-primitive/dist/index.js');
6
- var index = require('../../react-use-layout-effect/dist/index.js');
7
- var jsxRuntime = require('react/jsx-runtime');
8
-
9
- function _interopNamespaceDefault(e) {
10
- var n = Object.create(null);
11
- if (e) {
12
- Object.keys(e).forEach(function (k) {
13
- if (k !== 'default') {
14
- var d = Object.getOwnPropertyDescriptor(e, k);
15
- Object.defineProperty(n, k, d.get ? d : {
16
- enumerable: true,
17
- get: function () { return e[k]; }
18
- });
19
- }
20
- });
21
- }
22
- n.default = e;
23
- return Object.freeze(n);
24
- }
25
-
26
- var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
27
-
28
- var PORTAL_NAME = "Portal";
29
- var Portal = React__namespace.forwardRef((props, forwardedRef) => {
30
- const { container: containerProp, ...portalProps } = props;
31
- const [mounted, setMounted] = React__namespace.useState(false);
32
- index.useLayoutEffect(() => setMounted(true), []);
33
- const container = containerProp || mounted && globalThis?.document?.body;
34
- return container ? ReactDOM__default.createPortal(/* @__PURE__ */ jsxRuntime.jsx(index$1.Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
35
- });
36
- Portal.displayName = PORTAL_NAME;
37
-
38
- exports.Portal = Portal;
39
- //# 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":["React","useLayoutEffect2","jsx","Primitive"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAI,WAAW,GAAG,QAAQ;AACvB,IAAC,MAAM,GAAGA,gBAAK,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,GAAGA,gBAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AACrD,EAAEC,qBAAgB,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,GAAG,iBAAiB,CAAC,YAAY,iBAAiBC,cAAG,CAACC,iBAAS,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]}