@sparrowengg/twigs-editor-react 0.0.1

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 (739) hide show
  1. package/README.md +38 -0
  2. package/dist/cjs/_virtual/_commonjsHelpers.js +8 -0
  3. package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  4. package/dist/cjs/_virtual/assertString.js +6 -0
  5. package/dist/cjs/_virtual/assertString.js.map +1 -0
  6. package/dist/cjs/_virtual/isFQDN.js +6 -0
  7. package/dist/cjs/_virtual/isFQDN.js.map +1 -0
  8. package/dist/cjs/_virtual/isIP.js +6 -0
  9. package/dist/cjs/_virtual/isIP.js.map +1 -0
  10. package/dist/cjs/_virtual/isURL.js +12 -0
  11. package/dist/cjs/_virtual/isURL.js.map +1 -0
  12. package/dist/cjs/_virtual/isURL2.js +6 -0
  13. package/dist/cjs/_virtual/isURL2.js.map +1 -0
  14. package/dist/cjs/_virtual/merge.js +6 -0
  15. package/dist/cjs/_virtual/merge.js.map +1 -0
  16. package/dist/cjs/components/base-dropdown/index.js +175 -0
  17. package/dist/cjs/components/base-dropdown/index.js.map +1 -0
  18. package/dist/cjs/components/dialog-link-editor/index.js +291 -0
  19. package/dist/cjs/components/dialog-link-editor/index.js.map +1 -0
  20. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js +199 -0
  21. package/dist/cjs/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
  22. package/dist/cjs/components/dialog-link-editor/link-tooltip.js +122 -0
  23. package/dist/cjs/components/dialog-link-editor/link-tooltip.js.map +1 -0
  24. package/dist/cjs/components/floating-toolbar/floating-toolbar.js +302 -0
  25. package/dist/cjs/components/floating-toolbar/floating-toolbar.js.map +1 -0
  26. package/dist/cjs/components/rich-editor/index.js +142 -0
  27. package/dist/cjs/components/rich-editor/index.js.map +1 -0
  28. package/dist/cjs/components/toolbar/toolbar.js +76 -0
  29. package/dist/cjs/components/toolbar/toolbar.js.map +1 -0
  30. package/dist/cjs/components/toolbar/tools/bold.js +52 -0
  31. package/dist/cjs/components/toolbar/tools/bold.js.map +1 -0
  32. package/dist/cjs/components/toolbar/tools/code-block.js +79 -0
  33. package/dist/cjs/components/toolbar/tools/code-block.js.map +1 -0
  34. package/dist/cjs/components/toolbar/tools/code.js +54 -0
  35. package/dist/cjs/components/toolbar/tools/code.js.map +1 -0
  36. package/dist/cjs/components/toolbar/tools/commons.js +16 -0
  37. package/dist/cjs/components/toolbar/tools/commons.js.map +1 -0
  38. package/dist/cjs/components/toolbar/tools/format.js +136 -0
  39. package/dist/cjs/components/toolbar/tools/format.js.map +1 -0
  40. package/dist/cjs/components/toolbar/tools/italic.js +57 -0
  41. package/dist/cjs/components/toolbar/tools/italic.js.map +1 -0
  42. package/dist/cjs/components/toolbar/tools/link.js +71 -0
  43. package/dist/cjs/components/toolbar/tools/link.js.map +1 -0
  44. package/dist/cjs/components/toolbar/tools/ordered-list.js +62 -0
  45. package/dist/cjs/components/toolbar/tools/ordered-list.js.map +1 -0
  46. package/dist/cjs/components/toolbar/tools/text-align.js +82 -0
  47. package/dist/cjs/components/toolbar/tools/text-align.js.map +1 -0
  48. package/dist/cjs/components/toolbar/tools/underline.js +57 -0
  49. package/dist/cjs/components/toolbar/tools/underline.js.map +1 -0
  50. package/dist/cjs/components/toolbar/tools/unordered-list.js +62 -0
  51. package/dist/cjs/components/toolbar/tools/unordered-list.js.map +1 -0
  52. package/dist/cjs/components/toolbar-context/context.js +148 -0
  53. package/dist/cjs/components/toolbar-context/context.js.map +1 -0
  54. package/dist/cjs/components/toolbar-context/store.js +75 -0
  55. package/dist/cjs/components/toolbar-context/store.js.map +1 -0
  56. package/dist/cjs/components/toolbar-context/utils.js +6 -0
  57. package/dist/cjs/components/toolbar-context/utils.js.map +1 -0
  58. package/dist/cjs/editor.js +154 -0
  59. package/dist/cjs/editor.js.map +1 -0
  60. package/dist/cjs/index.js +86 -0
  61. package/dist/cjs/index.js.map +1 -0
  62. package/dist/cjs/nodes/emoji.js +86 -0
  63. package/dist/cjs/nodes/emoji.js.map +1 -0
  64. package/dist/cjs/nodes/hashtag.js +109 -0
  65. package/dist/cjs/nodes/hashtag.js.map +1 -0
  66. package/dist/cjs/nodes/image.js +215 -0
  67. package/dist/cjs/nodes/image.js.map +1 -0
  68. package/dist/cjs/nodes/kudos.js +110 -0
  69. package/dist/cjs/nodes/kudos.js.map +1 -0
  70. package/dist/cjs/nodes/mention.js +109 -0
  71. package/dist/cjs/nodes/mention.js.map +1 -0
  72. package/dist/cjs/nodes/variables.js +109 -0
  73. package/dist/cjs/nodes/variables.js.map +1 -0
  74. package/dist/cjs/plugins/data-management-plugin/index.js +40 -0
  75. package/dist/cjs/plugins/data-management-plugin/index.js.map +1 -0
  76. package/dist/cjs/plugins/emoji/emoji-list.js +16609 -0
  77. package/dist/cjs/plugins/emoji/emoji-list.js.map +1 -0
  78. package/dist/cjs/plugins/emoji/index.js +126 -0
  79. package/dist/cjs/plugins/emoji/index.js.map +1 -0
  80. package/dist/cjs/plugins/hashtag/index.js +100 -0
  81. package/dist/cjs/plugins/hashtag/index.js.map +1 -0
  82. package/dist/cjs/plugins/images/index.js +164 -0
  83. package/dist/cjs/plugins/images/index.js.map +1 -0
  84. package/dist/cjs/plugins/images/utils.js +10 -0
  85. package/dist/cjs/plugins/images/utils.js.map +1 -0
  86. package/dist/cjs/plugins/link/auto-link.js +21 -0
  87. package/dist/cjs/plugins/link/auto-link.js.map +1 -0
  88. package/dist/cjs/plugins/link/convert-selection-on-paste.js +34 -0
  89. package/dist/cjs/plugins/link/convert-selection-on-paste.js.map +1 -0
  90. package/dist/cjs/plugins/link/link.js +68 -0
  91. package/dist/cjs/plugins/link/link.js.map +1 -0
  92. package/dist/cjs/plugins/mentions/index.js +108 -0
  93. package/dist/cjs/plugins/mentions/index.js.map +1 -0
  94. package/dist/cjs/plugins/tab-focus/index.js +54 -0
  95. package/dist/cjs/plugins/tab-focus/index.js.map +1 -0
  96. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js +8 -0
  97. package/dist/cjs/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  98. package/dist/cjs/react-components/dist/es/_virtual/index.js +6 -0
  99. package/dist/cjs/react-components/dist/es/_virtual/index.js.map +1 -0
  100. package/dist/cjs/react-components/dist/es/_virtual/index2.js +6 -0
  101. package/dist/cjs/react-components/dist/es/_virtual/index2.js.map +1 -0
  102. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js +6 -0
  103. package/dist/cjs/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
  104. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js +6 -0
  105. package/dist/cjs/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
  106. package/dist/cjs/react-components/dist/es/box/box.js +47 -0
  107. package/dist/cjs/react-components/dist/es/box/box.js.map +1 -0
  108. package/dist/cjs/react-components/dist/es/button/button.js +774 -0
  109. package/dist/cjs/react-components/dist/es/button/button.js.map +1 -0
  110. package/dist/cjs/react-components/dist/es/button/icon-button.js +77 -0
  111. package/dist/cjs/react-components/dist/es/button/icon-button.js.map +1 -0
  112. package/dist/cjs/react-components/dist/es/button/side-element.js +199 -0
  113. package/dist/cjs/react-components/dist/es/button/side-element.js.map +1 -0
  114. package/dist/cjs/react-components/dist/es/button/utils.js +105 -0
  115. package/dist/cjs/react-components/dist/es/button/utils.js.map +1 -0
  116. package/dist/cjs/react-components/dist/es/dialog/dialog.js +197 -0
  117. package/dist/cjs/react-components/dist/es/dialog/dialog.js.map +1 -0
  118. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js +195 -0
  119. package/dist/cjs/react-components/dist/es/dropdown/dropdown.js.map +1 -0
  120. package/dist/cjs/react-components/dist/es/flex/flex.js +98 -0
  121. package/dist/cjs/react-components/dist/es/flex/flex.js.map +1 -0
  122. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js +76 -0
  123. package/dist/cjs/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
  124. package/dist/cjs/react-components/dist/es/form-label/form-label.js +176 -0
  125. package/dist/cjs/react-components/dist/es/form-label/form-label.js.map +1 -0
  126. package/dist/cjs/react-components/dist/es/input/form-input.js +159 -0
  127. package/dist/cjs/react-components/dist/es/input/form-input.js.map +1 -0
  128. package/dist/cjs/react-components/dist/es/input/input.js +377 -0
  129. package/dist/cjs/react-components/dist/es/input/input.js.map +1 -0
  130. package/dist/cjs/react-components/dist/es/link/link.js +58 -0
  131. package/dist/cjs/react-components/dist/es/link/link.js.map +1 -0
  132. package/dist/cjs/react-components/dist/es/loader/circle.js +204 -0
  133. package/dist/cjs/react-components/dist/es/loader/circle.js.map +1 -0
  134. package/dist/cjs/react-components/dist/es/loader/line.js +130 -0
  135. package/dist/cjs/react-components/dist/es/loader/line.js.map +1 -0
  136. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +21 -0
  137. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  138. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +14 -0
  139. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  140. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +19 -0
  141. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  142. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +14 -0
  143. package/dist/cjs/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  144. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +788 -0
  145. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  146. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +612 -0
  147. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  148. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +299 -0
  149. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  150. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +146 -0
  151. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  152. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +148 -0
  153. package/dist/cjs/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
  154. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +14 -0
  155. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  156. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +48 -0
  157. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  158. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +71 -0
  159. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  160. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +41 -0
  161. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  162. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +102 -0
  163. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  164. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +354 -0
  165. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  166. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +33 -0
  167. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  168. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +234 -0
  169. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  170. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +303 -0
  171. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  172. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +48 -0
  173. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  174. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +229 -0
  175. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  176. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +37 -0
  177. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  178. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +47 -0
  179. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  180. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +847 -0
  181. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  182. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +309 -0
  183. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  184. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +39 -0
  185. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  186. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +142 -0
  187. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  188. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +65 -0
  189. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  190. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +246 -0
  191. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  192. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +104 -0
  193. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  194. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +509 -0
  195. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  196. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +34 -0
  197. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  198. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +68 -0
  199. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  200. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +40 -0
  201. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  202. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +29 -0
  203. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  204. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +62 -0
  205. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  206. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +58 -0
  207. package/dist/cjs/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  208. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js +9 -0
  209. package/dist/cjs/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  210. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +134 -0
  211. package/dist/cjs/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  212. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +19 -0
  213. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
  214. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +17 -0
  215. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
  216. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +27 -0
  217. package/dist/cjs/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
  218. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +11 -0
  219. package/dist/cjs/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  220. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js +102 -0
  221. package/dist/cjs/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
  222. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +118 -0
  223. package/dist/cjs/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
  224. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +77 -0
  225. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  226. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +628 -0
  227. package/dist/cjs/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  228. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js +35 -0
  229. package/dist/cjs/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
  230. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +24 -0
  231. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  232. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js +14 -0
  233. package/dist/cjs/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
  234. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +193 -0
  235. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  236. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +29 -0
  237. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  238. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +22 -0
  239. package/dist/cjs/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  240. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +34 -0
  241. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  242. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +184 -0
  243. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  244. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +60 -0
  245. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  246. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +24 -0
  247. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  248. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +110 -0
  249. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  250. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +8 -0
  251. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  252. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +12 -0
  253. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  254. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +80 -0
  255. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  256. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +16 -0
  257. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  258. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +35 -0
  259. package/dist/cjs/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  260. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +22 -0
  261. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  262. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +47 -0
  263. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  264. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +54 -0
  265. package/dist/cjs/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  266. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +419 -0
  267. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
  268. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +637 -0
  269. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
  270. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +10 -0
  271. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
  272. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js +10 -0
  273. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
  274. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +25 -0
  275. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
  276. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +8 -0
  277. package/dist/cjs/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
  278. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js +55 -0
  279. package/dist/cjs/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  280. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +27 -0
  281. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  282. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
  283. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  284. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +45 -0
  285. package/dist/cjs/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  286. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +43 -0
  287. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  288. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +80 -0
  289. package/dist/cjs/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  290. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +9 -0
  291. package/dist/cjs/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
  292. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +97 -0
  293. package/dist/cjs/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
  294. package/dist/cjs/react-components/dist/es/stitches.config.js +392 -0
  295. package/dist/cjs/react-components/dist/es/stitches.config.js.map +1 -0
  296. package/dist/cjs/react-components/dist/es/text/text.js +117 -0
  297. package/dist/cjs/react-components/dist/es/text/text.js.map +1 -0
  298. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js +156 -0
  299. package/dist/cjs/react-components/dist/es/tooltip/tooltip.js.map +1 -0
  300. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js +10 -0
  301. package/dist/cjs/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
  302. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js +9 -0
  303. package/dist/cjs/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
  304. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js +75 -0
  305. package/dist/cjs/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  306. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js +58 -0
  307. package/dist/cjs/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
  308. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js +163 -0
  309. package/dist/cjs/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
  310. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js +16 -0
  311. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  312. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js +17 -0
  313. package/dist/cjs/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
  314. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js +93 -0
  315. package/dist/cjs/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
  316. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js +75 -0
  317. package/dist/cjs/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
  318. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js +182 -0
  319. package/dist/cjs/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
  320. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js +32 -0
  321. package/dist/cjs/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
  322. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js +33 -0
  323. package/dist/cjs/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
  324. package/dist/cjs/react-icons/dist/es/icons/bold.js +86 -0
  325. package/dist/cjs/react-icons/dist/es/icons/bold.js.map +1 -0
  326. package/dist/cjs/react-icons/dist/es/icons/close.js +86 -0
  327. package/dist/cjs/react-icons/dist/es/icons/close.js.map +1 -0
  328. package/dist/cjs/react-icons/dist/es/icons/code-block.js +78 -0
  329. package/dist/cjs/react-icons/dist/es/icons/code-block.js.map +1 -0
  330. package/dist/cjs/react-icons/dist/es/icons/code.js +96 -0
  331. package/dist/cjs/react-icons/dist/es/icons/code.js.map +1 -0
  332. package/dist/cjs/react-icons/dist/es/icons/delete.js +116 -0
  333. package/dist/cjs/react-icons/dist/es/icons/delete.js.map +1 -0
  334. package/dist/cjs/react-icons/dist/es/icons/italics.js +96 -0
  335. package/dist/cjs/react-icons/dist/es/icons/italics.js.map +1 -0
  336. package/dist/cjs/react-icons/dist/es/icons/link.js +86 -0
  337. package/dist/cjs/react-icons/dist/es/icons/link.js.map +1 -0
  338. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js +86 -0
  339. package/dist/cjs/react-icons/dist/es/icons/ordered-list.js.map +1 -0
  340. package/dist/cjs/react-icons/dist/es/icons/pencil.js +86 -0
  341. package/dist/cjs/react-icons/dist/es/icons/pencil.js.map +1 -0
  342. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js +74 -0
  343. package/dist/cjs/react-icons/dist/es/icons/text-align-center.js.map +1 -0
  344. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js +74 -0
  345. package/dist/cjs/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
  346. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js +74 -0
  347. package/dist/cjs/react-icons/dist/es/icons/text-align-left.js.map +1 -0
  348. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js +74 -0
  349. package/dist/cjs/react-icons/dist/es/icons/text-align-right.js.map +1 -0
  350. package/dist/cjs/react-icons/dist/es/icons/text-format.js +78 -0
  351. package/dist/cjs/react-icons/dist/es/icons/text-format.js.map +1 -0
  352. package/dist/cjs/react-icons/dist/es/icons/underline.js +77 -0
  353. package/dist/cjs/react-icons/dist/es/icons/underline.js.map +1 -0
  354. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js +126 -0
  355. package/dist/cjs/react-icons/dist/es/icons/unordered-list.js.map +1 -0
  356. package/dist/cjs/utils/commands.js +8 -0
  357. package/dist/cjs/utils/commands.js.map +1 -0
  358. package/dist/cjs/utils/get-dom-range-rect.js +19 -0
  359. package/dist/cjs/utils/get-dom-range-rect.js.map +1 -0
  360. package/dist/cjs/utils/get-selected-node.js +21 -0
  361. package/dist/cjs/utils/get-selected-node.js.map +1 -0
  362. package/dist/cjs/utils/prefix-class-name.js +10 -0
  363. package/dist/cjs/utils/prefix-class-name.js.map +1 -0
  364. package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js +30 -0
  365. package/dist/cjs/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
  366. package/dist/cjs/utils/set-floating-elem-position.js +33 -0
  367. package/dist/cjs/utils/set-floating-elem-position.js.map +1 -0
  368. package/dist/cjs/utils/use-node-focus.js +35 -0
  369. package/dist/cjs/utils/use-node-focus.js.map +1 -0
  370. package/dist/es/_virtual/_commonjsHelpers.js +6 -0
  371. package/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  372. package/dist/es/_virtual/assertString.js +4 -0
  373. package/dist/es/_virtual/assertString.js.map +1 -0
  374. package/dist/es/_virtual/isFQDN.js +4 -0
  375. package/dist/es/_virtual/isFQDN.js.map +1 -0
  376. package/dist/es/_virtual/isIP.js +4 -0
  377. package/dist/es/_virtual/isIP.js.map +1 -0
  378. package/dist/es/_virtual/isURL.js +8 -0
  379. package/dist/es/_virtual/isURL.js.map +1 -0
  380. package/dist/es/_virtual/isURL2.js +4 -0
  381. package/dist/es/_virtual/isURL2.js.map +1 -0
  382. package/dist/es/_virtual/merge.js +4 -0
  383. package/dist/es/_virtual/merge.js.map +1 -0
  384. package/dist/es/components/base-dropdown/index.js +173 -0
  385. package/dist/es/components/base-dropdown/index.js.map +1 -0
  386. package/dist/es/components/dialog-link-editor/index.js +289 -0
  387. package/dist/es/components/dialog-link-editor/index.js.map +1 -0
  388. package/dist/es/components/dialog-link-editor/link-editor-dialog.js +197 -0
  389. package/dist/es/components/dialog-link-editor/link-editor-dialog.js.map +1 -0
  390. package/dist/es/components/dialog-link-editor/link-tooltip.js +120 -0
  391. package/dist/es/components/dialog-link-editor/link-tooltip.js.map +1 -0
  392. package/dist/es/components/floating-toolbar/floating-toolbar.js +300 -0
  393. package/dist/es/components/floating-toolbar/floating-toolbar.js.map +1 -0
  394. package/dist/es/components/rich-editor/index.js +140 -0
  395. package/dist/es/components/rich-editor/index.js.map +1 -0
  396. package/dist/es/components/toolbar/toolbar.js +74 -0
  397. package/dist/es/components/toolbar/toolbar.js.map +1 -0
  398. package/dist/es/components/toolbar/tools/bold.js +50 -0
  399. package/dist/es/components/toolbar/tools/bold.js.map +1 -0
  400. package/dist/es/components/toolbar/tools/code-block.js +77 -0
  401. package/dist/es/components/toolbar/tools/code-block.js.map +1 -0
  402. package/dist/es/components/toolbar/tools/code.js +52 -0
  403. package/dist/es/components/toolbar/tools/code.js.map +1 -0
  404. package/dist/es/components/toolbar/tools/commons.js +14 -0
  405. package/dist/es/components/toolbar/tools/commons.js.map +1 -0
  406. package/dist/es/components/toolbar/tools/format.js +134 -0
  407. package/dist/es/components/toolbar/tools/format.js.map +1 -0
  408. package/dist/es/components/toolbar/tools/italic.js +55 -0
  409. package/dist/es/components/toolbar/tools/italic.js.map +1 -0
  410. package/dist/es/components/toolbar/tools/link.js +69 -0
  411. package/dist/es/components/toolbar/tools/link.js.map +1 -0
  412. package/dist/es/components/toolbar/tools/ordered-list.js +60 -0
  413. package/dist/es/components/toolbar/tools/ordered-list.js.map +1 -0
  414. package/dist/es/components/toolbar/tools/text-align.js +80 -0
  415. package/dist/es/components/toolbar/tools/text-align.js.map +1 -0
  416. package/dist/es/components/toolbar/tools/underline.js +55 -0
  417. package/dist/es/components/toolbar/tools/underline.js.map +1 -0
  418. package/dist/es/components/toolbar/tools/unordered-list.js +60 -0
  419. package/dist/es/components/toolbar/tools/unordered-list.js.map +1 -0
  420. package/dist/es/components/toolbar-context/context.js +145 -0
  421. package/dist/es/components/toolbar-context/context.js.map +1 -0
  422. package/dist/es/components/toolbar-context/store.js +72 -0
  423. package/dist/es/components/toolbar-context/store.js.map +1 -0
  424. package/dist/es/components/toolbar-context/utils.js +4 -0
  425. package/dist/es/components/toolbar-context/utils.js.map +1 -0
  426. package/dist/es/editor.js +152 -0
  427. package/dist/es/editor.js.map +1 -0
  428. package/dist/es/index.js +34 -0
  429. package/dist/es/index.js.map +1 -0
  430. package/dist/es/nodes/emoji.js +82 -0
  431. package/dist/es/nodes/emoji.js.map +1 -0
  432. package/dist/es/nodes/hashtag.js +105 -0
  433. package/dist/es/nodes/hashtag.js.map +1 -0
  434. package/dist/es/nodes/image.js +211 -0
  435. package/dist/es/nodes/image.js.map +1 -0
  436. package/dist/es/nodes/kudos.js +106 -0
  437. package/dist/es/nodes/kudos.js.map +1 -0
  438. package/dist/es/nodes/mention.js +105 -0
  439. package/dist/es/nodes/mention.js.map +1 -0
  440. package/dist/es/nodes/variables.js +105 -0
  441. package/dist/es/nodes/variables.js.map +1 -0
  442. package/dist/es/plugins/data-management-plugin/index.js +38 -0
  443. package/dist/es/plugins/data-management-plugin/index.js.map +1 -0
  444. package/dist/es/plugins/emoji/emoji-list.js +16605 -0
  445. package/dist/es/plugins/emoji/emoji-list.js.map +1 -0
  446. package/dist/es/plugins/emoji/index.js +124 -0
  447. package/dist/es/plugins/emoji/index.js.map +1 -0
  448. package/dist/es/plugins/hashtag/index.js +98 -0
  449. package/dist/es/plugins/hashtag/index.js.map +1 -0
  450. package/dist/es/plugins/images/index.js +162 -0
  451. package/dist/es/plugins/images/index.js.map +1 -0
  452. package/dist/es/plugins/images/utils.js +7 -0
  453. package/dist/es/plugins/images/utils.js.map +1 -0
  454. package/dist/es/plugins/link/auto-link.js +19 -0
  455. package/dist/es/plugins/link/auto-link.js.map +1 -0
  456. package/dist/es/plugins/link/convert-selection-on-paste.js +32 -0
  457. package/dist/es/plugins/link/convert-selection-on-paste.js.map +1 -0
  458. package/dist/es/plugins/link/link.js +66 -0
  459. package/dist/es/plugins/link/link.js.map +1 -0
  460. package/dist/es/plugins/mentions/index.js +106 -0
  461. package/dist/es/plugins/mentions/index.js.map +1 -0
  462. package/dist/es/plugins/tab-focus/index.js +52 -0
  463. package/dist/es/plugins/tab-focus/index.js.map +1 -0
  464. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js +6 -0
  465. package/dist/es/react-components/dist/es/_virtual/_commonjsHelpers.js.map +1 -0
  466. package/dist/es/react-components/dist/es/_virtual/index.js +4 -0
  467. package/dist/es/react-components/dist/es/_virtual/index.js.map +1 -0
  468. package/dist/es/react-components/dist/es/_virtual/index2.js +4 -0
  469. package/dist/es/react-components/dist/es/_virtual/index2.js.map +1 -0
  470. package/dist/es/react-components/dist/es/_virtual/react-is.development.js +4 -0
  471. package/dist/es/react-components/dist/es/_virtual/react-is.development.js.map +1 -0
  472. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js +4 -0
  473. package/dist/es/react-components/dist/es/_virtual/react-is.production.min.js.map +1 -0
  474. package/dist/es/react-components/dist/es/box/box.js +45 -0
  475. package/dist/es/react-components/dist/es/box/box.js.map +1 -0
  476. package/dist/es/react-components/dist/es/button/button.js +772 -0
  477. package/dist/es/react-components/dist/es/button/button.js.map +1 -0
  478. package/dist/es/react-components/dist/es/button/icon-button.js +75 -0
  479. package/dist/es/react-components/dist/es/button/icon-button.js.map +1 -0
  480. package/dist/es/react-components/dist/es/button/side-element.js +197 -0
  481. package/dist/es/react-components/dist/es/button/side-element.js.map +1 -0
  482. package/dist/es/react-components/dist/es/button/utils.js +100 -0
  483. package/dist/es/react-components/dist/es/button/utils.js.map +1 -0
  484. package/dist/es/react-components/dist/es/dialog/dialog.js +193 -0
  485. package/dist/es/react-components/dist/es/dialog/dialog.js.map +1 -0
  486. package/dist/es/react-components/dist/es/dropdown/dropdown.js +190 -0
  487. package/dist/es/react-components/dist/es/dropdown/dropdown.js.map +1 -0
  488. package/dist/es/react-components/dist/es/flex/flex.js +96 -0
  489. package/dist/es/react-components/dist/es/flex/flex.js.map +1 -0
  490. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js +74 -0
  491. package/dist/es/react-components/dist/es/form-helper-text/form-helper-text.js.map +1 -0
  492. package/dist/es/react-components/dist/es/form-label/form-label.js +174 -0
  493. package/dist/es/react-components/dist/es/form-label/form-label.js.map +1 -0
  494. package/dist/es/react-components/dist/es/input/form-input.js +157 -0
  495. package/dist/es/react-components/dist/es/input/form-input.js.map +1 -0
  496. package/dist/es/react-components/dist/es/input/input.js +374 -0
  497. package/dist/es/react-components/dist/es/input/input.js.map +1 -0
  498. package/dist/es/react-components/dist/es/link/link.js +56 -0
  499. package/dist/es/react-components/dist/es/link/link.js.map +1 -0
  500. package/dist/es/react-components/dist/es/loader/circle.js +202 -0
  501. package/dist/es/react-components/dist/es/loader/circle.js.map +1 -0
  502. package/dist/es/react-components/dist/es/loader/line.js +128 -0
  503. package/dist/es/react-components/dist/es/loader/line.js.map +1 -0
  504. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js +17 -0
  505. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
  506. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +10 -0
  507. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js.map +1 -0
  508. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +15 -0
  509. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
  510. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +10 -0
  511. package/dist/es/react-components/dist/es/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +1 -0
  512. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js +777 -0
  513. package/dist/es/react-components/dist/es/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -0
  514. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +600 -0
  515. package/dist/es/react-components/dist/es/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -0
  516. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +269 -0
  517. package/dist/es/react-components/dist/es/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js.map +1 -0
  518. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +123 -0
  519. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -0
  520. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js +129 -0
  521. package/dist/es/react-components/dist/es/node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.js.map +1 -0
  522. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js +12 -0
  523. package/dist/es/react-components/dist/es/node_modules/@radix-ui/primitive/dist/index.js.map +1 -0
  524. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js +26 -0
  525. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-arrow/dist/index.js.map +1 -0
  526. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js +69 -0
  527. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-collection/dist/index.js.map +1 -0
  528. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js +19 -0
  529. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-compose-refs/dist/index.js.map +1 -0
  530. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js +80 -0
  531. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-context/dist/index.js.map +1 -0
  532. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js +318 -0
  533. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dialog/dist/index.js.map +1 -0
  534. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js +12 -0
  535. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-direction/dist/index.js.map +1 -0
  536. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +212 -0
  537. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dismissable-layer/dist/index.js.map +1 -0
  538. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +254 -0
  539. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-dropdown-menu/dist/index.js.map +1 -0
  540. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js +27 -0
  541. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-guards/dist/index.js.map +1 -0
  542. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js +208 -0
  543. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-focus-scope/dist/index.js.map +1 -0
  544. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js +16 -0
  545. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-id/dist/index.js.map +1 -0
  546. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js +25 -0
  547. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-label/dist/index.js.map +1 -0
  548. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js +796 -0
  549. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-menu/dist/index.js.map +1 -0
  550. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js +280 -0
  551. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-popper/dist/index.js.map +1 -0
  552. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js +18 -0
  553. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-portal/dist/index.js.map +1 -0
  554. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js +120 -0
  555. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-presence/dist/index.js.map +1 -0
  556. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js +42 -0
  557. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-primitive/dist/index.js.map +1 -0
  558. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js +221 -0
  559. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-roving-focus/dist/index.js.map +1 -0
  560. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js +82 -0
  561. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-slot/dist/index.js.map +1 -0
  562. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js +476 -0
  563. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-tooltip/dist/index.js.map +1 -0
  564. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js +13 -0
  565. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-callback-ref/dist/index.js.map +1 -0
  566. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +47 -0
  567. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-controllable-state/dist/index.js.map +1 -0
  568. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +19 -0
  569. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-escape-keydown/dist/index.js.map +1 -0
  570. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js +8 -0
  571. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-layout-effect/dist/index.js.map +1 -0
  572. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js +41 -0
  573. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-use-size/dist/index.js.map +1 -0
  574. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js +36 -0
  575. package/dist/es/react-components/dist/es/node_modules/@radix-ui/react-visually-hidden/dist/index.js.map +1 -0
  576. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js +6 -0
  577. package/dist/es/react-components/dist/es/node_modules/@stitches/react/dist/index.js.map +1 -0
  578. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js +132 -0
  579. package/dist/es/react-components/dist/es/node_modules/aria-hidden/dist/es2015/index.js.map +1 -0
  580. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js +15 -0
  581. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/addClass.js.map +1 -0
  582. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js +13 -0
  583. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/hasClass.js.map +1 -0
  584. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js +23 -0
  585. package/dist/es/react-components/dist/es/node_modules/dom-helpers/esm/removeClass.js.map +1 -0
  586. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js +9 -0
  587. package/dist/es/react-components/dist/es/node_modules/get-nonce/dist/es2015/index.js.map +1 -0
  588. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js +100 -0
  589. package/dist/es/react-components/dist/es/node_modules/object-assign/index.js.map +1 -0
  590. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js +116 -0
  591. package/dist/es/react-components/dist/es/node_modules/prop-types/checkPropTypes.js.map +1 -0
  592. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js +75 -0
  593. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithThrowingShims.js.map +1 -0
  594. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js +626 -0
  595. package/dist/es/react-components/dist/es/node_modules/prop-types/factoryWithTypeCheckers.js.map +1 -0
  596. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js +31 -0
  597. package/dist/es/react-components/dist/es/node_modules/prop-types/index.js.map +1 -0
  598. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +22 -0
  599. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/ReactPropTypesSecret.js.map +1 -0
  600. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js +12 -0
  601. package/dist/es/react-components/dist/es/node_modules/prop-types/lib/has.js.map +1 -0
  602. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +191 -0
  603. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js.map +1 -0
  604. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +27 -0
  605. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js.map +1 -0
  606. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js +20 -0
  607. package/dist/es/react-components/dist/es/node_modules/prop-types/node_modules/react-is/index.js.map +1 -0
  608. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js +11 -0
  609. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/Combination.js.map +1 -0
  610. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +161 -0
  611. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/SideEffect.js.map +1 -0
  612. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js +39 -0
  613. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/UI.js.map +1 -0
  614. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js +22 -0
  615. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js.map +1 -0
  616. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +107 -0
  617. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/handleScroll.js.map +1 -0
  618. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js +6 -0
  619. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/medium.js.map +1 -0
  620. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js +8 -0
  621. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll/dist/es2015/sidecar.js.map +1 -0
  622. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js +57 -0
  623. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/component.js.map +1 -0
  624. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js +11 -0
  625. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/constants.js.map +1 -0
  626. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js +32 -0
  627. package/dist/es/react-components/dist/es/node_modules/react-remove-scroll-bar/dist/es2015/utils.js.map +1 -0
  628. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js +20 -0
  629. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/component.js.map +1 -0
  630. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js +26 -0
  631. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/hook.js.map +1 -0
  632. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js +52 -0
  633. package/dist/es/react-components/dist/es/node_modules/react-style-singleton/dist/es2015/singleton.js.map +1 -0
  634. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js +415 -0
  635. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -0
  636. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js +628 -0
  637. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/Transition.js.map +1 -0
  638. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js +6 -0
  639. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/TransitionGroupContext.js.map +1 -0
  640. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js +6 -0
  641. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/config.js.map +1 -0
  642. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js +22 -0
  643. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -0
  644. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js +6 -0
  645. package/dist/es/react-components/dist/es/node_modules/react-transition-group/esm/utils/reflow.js.map +1 -0
  646. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js +52 -0
  647. package/dist/es/react-components/dist/es/node_modules/tslib/tslib.es6.js.map +1 -0
  648. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js +25 -0
  649. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/assignRef.js.map +1 -0
  650. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +23 -0
  651. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useMergeRef.js.map +1 -0
  652. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js +43 -0
  653. package/dist/es/react-components/dist/es/node_modules/use-callback-ref/dist/es2015/useRef.js.map +1 -0
  654. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js +22 -0
  655. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/exports.js.map +1 -0
  656. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js +78 -0
  657. package/dist/es/react-components/dist/es/node_modules/use-sidecar/dist/es2015/medium.js.map +1 -0
  658. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js +4 -0
  659. package/dist/es/react-components/dist/es/packages/react-components/node_modules/clsx/dist/clsx.js.map +1 -0
  660. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js +95 -0
  661. package/dist/es/react-components/dist/es/packages/react-icons/dist/es/icons/info.js.map +1 -0
  662. package/dist/es/react-components/dist/es/stitches.config.js +379 -0
  663. package/dist/es/react-components/dist/es/stitches.config.js.map +1 -0
  664. package/dist/es/react-components/dist/es/text/text.js +115 -0
  665. package/dist/es/react-components/dist/es/text/text.js.map +1 -0
  666. package/dist/es/react-components/dist/es/tooltip/tooltip.js +153 -0
  667. package/dist/es/react-components/dist/es/tooltip/tooltip.js.map +1 -0
  668. package/dist/es/react-components/dist/es/utils/prefix-class-name.js +8 -0
  669. package/dist/es/react-components/dist/es/utils/prefix-class-name.js.map +1 -0
  670. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js +4 -0
  671. package/dist/es/react-editor/node_modules/clsx/dist/clsx.js.map +1 -0
  672. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js +71 -0
  673. package/dist/es/react-editor/node_modules/validator/es/lib/isFQDN.js.map +1 -0
  674. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js +54 -0
  675. package/dist/es/react-editor/node_modules/validator/es/lib/isIP.js.map +1 -0
  676. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js +159 -0
  677. package/dist/es/react-editor/node_modules/validator/es/lib/isURL.js.map +1 -0
  678. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js +12 -0
  679. package/dist/es/react-editor/node_modules/validator/es/lib/util/assertString.js.map +1 -0
  680. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js +13 -0
  681. package/dist/es/react-editor/node_modules/validator/es/lib/util/merge.js.map +1 -0
  682. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js +91 -0
  683. package/dist/es/react-editor/node_modules/validator/lib/isFQDN.js.map +1 -0
  684. package/dist/es/react-editor/node_modules/validator/lib/isIP.js +73 -0
  685. package/dist/es/react-editor/node_modules/validator/lib/isIP.js.map +1 -0
  686. package/dist/es/react-editor/node_modules/validator/lib/isURL.js +180 -0
  687. package/dist/es/react-editor/node_modules/validator/lib/isURL.js.map +1 -0
  688. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js +30 -0
  689. package/dist/es/react-editor/node_modules/validator/lib/util/assertString.js.map +1 -0
  690. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js +31 -0
  691. package/dist/es/react-editor/node_modules/validator/lib/util/merge.js.map +1 -0
  692. package/dist/es/react-icons/dist/es/icons/bold.js +84 -0
  693. package/dist/es/react-icons/dist/es/icons/bold.js.map +1 -0
  694. package/dist/es/react-icons/dist/es/icons/close.js +84 -0
  695. package/dist/es/react-icons/dist/es/icons/close.js.map +1 -0
  696. package/dist/es/react-icons/dist/es/icons/code-block.js +76 -0
  697. package/dist/es/react-icons/dist/es/icons/code-block.js.map +1 -0
  698. package/dist/es/react-icons/dist/es/icons/code.js +94 -0
  699. package/dist/es/react-icons/dist/es/icons/code.js.map +1 -0
  700. package/dist/es/react-icons/dist/es/icons/delete.js +114 -0
  701. package/dist/es/react-icons/dist/es/icons/delete.js.map +1 -0
  702. package/dist/es/react-icons/dist/es/icons/italics.js +94 -0
  703. package/dist/es/react-icons/dist/es/icons/italics.js.map +1 -0
  704. package/dist/es/react-icons/dist/es/icons/link.js +84 -0
  705. package/dist/es/react-icons/dist/es/icons/link.js.map +1 -0
  706. package/dist/es/react-icons/dist/es/icons/ordered-list.js +84 -0
  707. package/dist/es/react-icons/dist/es/icons/ordered-list.js.map +1 -0
  708. package/dist/es/react-icons/dist/es/icons/pencil.js +84 -0
  709. package/dist/es/react-icons/dist/es/icons/pencil.js.map +1 -0
  710. package/dist/es/react-icons/dist/es/icons/text-align-center.js +72 -0
  711. package/dist/es/react-icons/dist/es/icons/text-align-center.js.map +1 -0
  712. package/dist/es/react-icons/dist/es/icons/text-align-justify.js +72 -0
  713. package/dist/es/react-icons/dist/es/icons/text-align-justify.js.map +1 -0
  714. package/dist/es/react-icons/dist/es/icons/text-align-left.js +72 -0
  715. package/dist/es/react-icons/dist/es/icons/text-align-left.js.map +1 -0
  716. package/dist/es/react-icons/dist/es/icons/text-align-right.js +72 -0
  717. package/dist/es/react-icons/dist/es/icons/text-align-right.js.map +1 -0
  718. package/dist/es/react-icons/dist/es/icons/text-format.js +76 -0
  719. package/dist/es/react-icons/dist/es/icons/text-format.js.map +1 -0
  720. package/dist/es/react-icons/dist/es/icons/underline.js +75 -0
  721. package/dist/es/react-icons/dist/es/icons/underline.js.map +1 -0
  722. package/dist/es/react-icons/dist/es/icons/unordered-list.js +124 -0
  723. package/dist/es/react-icons/dist/es/icons/unordered-list.js.map +1 -0
  724. package/dist/es/utils/commands.js +6 -0
  725. package/dist/es/utils/commands.js.map +1 -0
  726. package/dist/es/utils/get-dom-range-rect.js +17 -0
  727. package/dist/es/utils/get-dom-range-rect.js.map +1 -0
  728. package/dist/es/utils/get-selected-node.js +19 -0
  729. package/dist/es/utils/get-selected-node.js.map +1 -0
  730. package/dist/es/utils/prefix-class-name.js +8 -0
  731. package/dist/es/utils/prefix-class-name.js.map +1 -0
  732. package/dist/es/utils/set-floating-elem-position-for-link-editor.js +28 -0
  733. package/dist/es/utils/set-floating-elem-position-for-link-editor.js.map +1 -0
  734. package/dist/es/utils/set-floating-elem-position.js +31 -0
  735. package/dist/es/utils/set-floating-elem-position.js.map +1 -0
  736. package/dist/es/utils/use-node-focus.js +33 -0
  737. package/dist/es/utils/use-node-focus.js.map +1 -0
  738. package/dist/index.d.ts +445 -0
  739. package/package.json +151 -0
@@ -0,0 +1,626 @@
1
+ import { __require as requireReactIs } from './node_modules/react-is/index.js';
2
+ import { __require as requireObjectAssign } from '../object-assign/index.js';
3
+ import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
4
+ import { __require as requireHas } from './lib/has.js';
5
+ import { __require as requireCheckPropTypes } from './checkPropTypes.js';
6
+
7
+ /**
8
+ * Copyright (c) 2013-present, Facebook, Inc.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+
14
+ var factoryWithTypeCheckers;
15
+ var hasRequiredFactoryWithTypeCheckers;
16
+
17
+ function requireFactoryWithTypeCheckers () {
18
+ if (hasRequiredFactoryWithTypeCheckers) return factoryWithTypeCheckers;
19
+ hasRequiredFactoryWithTypeCheckers = 1;
20
+
21
+ var ReactIs = requireReactIs();
22
+ var assign = requireObjectAssign();
23
+
24
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
25
+ var has = requireHas();
26
+ var checkPropTypes = requireCheckPropTypes();
27
+
28
+ var printWarning = function() {};
29
+
30
+ if (process.env.NODE_ENV !== 'production') {
31
+ printWarning = function(text) {
32
+ var message = 'Warning: ' + text;
33
+ if (typeof console !== 'undefined') {
34
+ console.error(message);
35
+ }
36
+ try {
37
+ // --- Welcome to debugging React ---
38
+ // This error was thrown as a convenience so that you can use this stack
39
+ // to find the callsite that caused this warning to fire.
40
+ throw new Error(message);
41
+ } catch (x) {}
42
+ };
43
+ }
44
+
45
+ function emptyFunctionThatReturnsNull() {
46
+ return null;
47
+ }
48
+
49
+ factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
50
+ /* global Symbol */
51
+ var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
52
+ var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.
53
+
54
+ /**
55
+ * Returns the iterator method function contained on the iterable object.
56
+ *
57
+ * Be sure to invoke the function with the iterable as context:
58
+ *
59
+ * var iteratorFn = getIteratorFn(myIterable);
60
+ * if (iteratorFn) {
61
+ * var iterator = iteratorFn.call(myIterable);
62
+ * ...
63
+ * }
64
+ *
65
+ * @param {?object} maybeIterable
66
+ * @return {?function}
67
+ */
68
+ function getIteratorFn(maybeIterable) {
69
+ var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);
70
+ if (typeof iteratorFn === 'function') {
71
+ return iteratorFn;
72
+ }
73
+ }
74
+
75
+ /**
76
+ * Collection of methods that allow declaration and validation of props that are
77
+ * supplied to React components. Example usage:
78
+ *
79
+ * var Props = require('ReactPropTypes');
80
+ * var MyArticle = React.createClass({
81
+ * propTypes: {
82
+ * // An optional string prop named "description".
83
+ * description: Props.string,
84
+ *
85
+ * // A required enum prop named "category".
86
+ * category: Props.oneOf(['News','Photos']).isRequired,
87
+ *
88
+ * // A prop named "dialog" that requires an instance of Dialog.
89
+ * dialog: Props.instanceOf(Dialog).isRequired
90
+ * },
91
+ * render: function() { ... }
92
+ * });
93
+ *
94
+ * A more formal specification of how these methods are used:
95
+ *
96
+ * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)
97
+ * decl := ReactPropTypes.{type}(.isRequired)?
98
+ *
99
+ * Each and every declaration produces a function with the same signature. This
100
+ * allows the creation of custom validation functions. For example:
101
+ *
102
+ * var MyLink = React.createClass({
103
+ * propTypes: {
104
+ * // An optional string or URI prop named "href".
105
+ * href: function(props, propName, componentName) {
106
+ * var propValue = props[propName];
107
+ * if (propValue != null && typeof propValue !== 'string' &&
108
+ * !(propValue instanceof URI)) {
109
+ * return new Error(
110
+ * 'Expected a string or an URI for ' + propName + ' in ' +
111
+ * componentName
112
+ * );
113
+ * }
114
+ * }
115
+ * },
116
+ * render: function() {...}
117
+ * });
118
+ *
119
+ * @internal
120
+ */
121
+
122
+ var ANONYMOUS = '<<anonymous>>';
123
+
124
+ // Important!
125
+ // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
126
+ var ReactPropTypes = {
127
+ array: createPrimitiveTypeChecker('array'),
128
+ bigint: createPrimitiveTypeChecker('bigint'),
129
+ bool: createPrimitiveTypeChecker('boolean'),
130
+ func: createPrimitiveTypeChecker('function'),
131
+ number: createPrimitiveTypeChecker('number'),
132
+ object: createPrimitiveTypeChecker('object'),
133
+ string: createPrimitiveTypeChecker('string'),
134
+ symbol: createPrimitiveTypeChecker('symbol'),
135
+
136
+ any: createAnyTypeChecker(),
137
+ arrayOf: createArrayOfTypeChecker,
138
+ element: createElementTypeChecker(),
139
+ elementType: createElementTypeTypeChecker(),
140
+ instanceOf: createInstanceTypeChecker,
141
+ node: createNodeChecker(),
142
+ objectOf: createObjectOfTypeChecker,
143
+ oneOf: createEnumTypeChecker,
144
+ oneOfType: createUnionTypeChecker,
145
+ shape: createShapeTypeChecker,
146
+ exact: createStrictShapeTypeChecker,
147
+ };
148
+
149
+ /**
150
+ * inlined Object.is polyfill to avoid requiring consumers ship their own
151
+ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is
152
+ */
153
+ /*eslint-disable no-self-compare*/
154
+ function is(x, y) {
155
+ // SameValue algorithm
156
+ if (x === y) {
157
+ // Steps 1-5, 7-10
158
+ // Steps 6.b-6.e: +0 != -0
159
+ return x !== 0 || 1 / x === 1 / y;
160
+ } else {
161
+ // Step 6.a: NaN == NaN
162
+ return x !== x && y !== y;
163
+ }
164
+ }
165
+ /*eslint-enable no-self-compare*/
166
+
167
+ /**
168
+ * We use an Error-like object for backward compatibility as people may call
169
+ * PropTypes directly and inspect their output. However, we don't use real
170
+ * Errors anymore. We don't inspect their stack anyway, and creating them
171
+ * is prohibitively expensive if they are created too often, such as what
172
+ * happens in oneOfType() for any type before the one that matched.
173
+ */
174
+ function PropTypeError(message, data) {
175
+ this.message = message;
176
+ this.data = data && typeof data === 'object' ? data: {};
177
+ this.stack = '';
178
+ }
179
+ // Make `instanceof Error` still work for returned errors.
180
+ PropTypeError.prototype = Error.prototype;
181
+
182
+ function createChainableTypeChecker(validate) {
183
+ if (process.env.NODE_ENV !== 'production') {
184
+ var manualPropTypeCallCache = {};
185
+ var manualPropTypeWarningCount = 0;
186
+ }
187
+ function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {
188
+ componentName = componentName || ANONYMOUS;
189
+ propFullName = propFullName || propName;
190
+
191
+ if (secret !== ReactPropTypesSecret) {
192
+ if (throwOnDirectAccess) {
193
+ // New behavior only for users of `prop-types` package
194
+ var err = new Error(
195
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
196
+ 'Use `PropTypes.checkPropTypes()` to call them. ' +
197
+ 'Read more at http://fb.me/use-check-prop-types'
198
+ );
199
+ err.name = 'Invariant Violation';
200
+ throw err;
201
+ } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {
202
+ // Old behavior for people using React.PropTypes
203
+ var cacheKey = componentName + ':' + propName;
204
+ if (
205
+ !manualPropTypeCallCache[cacheKey] &&
206
+ // Avoid spamming the console because they are often not actionable except for lib authors
207
+ manualPropTypeWarningCount < 3
208
+ ) {
209
+ printWarning(
210
+ 'You are manually calling a React.PropTypes validation ' +
211
+ 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
212
+ 'and will throw in the standalone `prop-types` package. ' +
213
+ 'You may be seeing this warning due to a third-party PropTypes ' +
214
+ 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
215
+ );
216
+ manualPropTypeCallCache[cacheKey] = true;
217
+ manualPropTypeWarningCount++;
218
+ }
219
+ }
220
+ }
221
+ if (props[propName] == null) {
222
+ if (isRequired) {
223
+ if (props[propName] === null) {
224
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));
225
+ }
226
+ return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));
227
+ }
228
+ return null;
229
+ } else {
230
+ return validate(props, propName, componentName, location, propFullName);
231
+ }
232
+ }
233
+
234
+ var chainedCheckType = checkType.bind(null, false);
235
+ chainedCheckType.isRequired = checkType.bind(null, true);
236
+
237
+ return chainedCheckType;
238
+ }
239
+
240
+ function createPrimitiveTypeChecker(expectedType) {
241
+ function validate(props, propName, componentName, location, propFullName, secret) {
242
+ var propValue = props[propName];
243
+ var propType = getPropType(propValue);
244
+ if (propType !== expectedType) {
245
+ // `propValue` being instance of, say, date/regexp, pass the 'object'
246
+ // check, but we can offer a more precise error message here rather than
247
+ // 'of type `object`'.
248
+ var preciseType = getPreciseType(propValue);
249
+
250
+ return new PropTypeError(
251
+ 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
252
+ {expectedType: expectedType}
253
+ );
254
+ }
255
+ return null;
256
+ }
257
+ return createChainableTypeChecker(validate);
258
+ }
259
+
260
+ function createAnyTypeChecker() {
261
+ return createChainableTypeChecker(emptyFunctionThatReturnsNull);
262
+ }
263
+
264
+ function createArrayOfTypeChecker(typeChecker) {
265
+ function validate(props, propName, componentName, location, propFullName) {
266
+ if (typeof typeChecker !== 'function') {
267
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');
268
+ }
269
+ var propValue = props[propName];
270
+ if (!Array.isArray(propValue)) {
271
+ var propType = getPropType(propValue);
272
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
273
+ }
274
+ for (var i = 0; i < propValue.length; i++) {
275
+ var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);
276
+ if (error instanceof Error) {
277
+ return error;
278
+ }
279
+ }
280
+ return null;
281
+ }
282
+ return createChainableTypeChecker(validate);
283
+ }
284
+
285
+ function createElementTypeChecker() {
286
+ function validate(props, propName, componentName, location, propFullName) {
287
+ var propValue = props[propName];
288
+ if (!isValidElement(propValue)) {
289
+ var propType = getPropType(propValue);
290
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));
291
+ }
292
+ return null;
293
+ }
294
+ return createChainableTypeChecker(validate);
295
+ }
296
+
297
+ function createElementTypeTypeChecker() {
298
+ function validate(props, propName, componentName, location, propFullName) {
299
+ var propValue = props[propName];
300
+ if (!ReactIs.isValidElementType(propValue)) {
301
+ var propType = getPropType(propValue);
302
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));
303
+ }
304
+ return null;
305
+ }
306
+ return createChainableTypeChecker(validate);
307
+ }
308
+
309
+ function createInstanceTypeChecker(expectedClass) {
310
+ function validate(props, propName, componentName, location, propFullName) {
311
+ if (!(props[propName] instanceof expectedClass)) {
312
+ var expectedClassName = expectedClass.name || ANONYMOUS;
313
+ var actualClassName = getClassName(props[propName]);
314
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));
315
+ }
316
+ return null;
317
+ }
318
+ return createChainableTypeChecker(validate);
319
+ }
320
+
321
+ function createEnumTypeChecker(expectedValues) {
322
+ if (!Array.isArray(expectedValues)) {
323
+ if (process.env.NODE_ENV !== 'production') {
324
+ if (arguments.length > 1) {
325
+ printWarning(
326
+ 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +
327
+ 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'
328
+ );
329
+ } else {
330
+ printWarning('Invalid argument supplied to oneOf, expected an array.');
331
+ }
332
+ }
333
+ return emptyFunctionThatReturnsNull;
334
+ }
335
+
336
+ function validate(props, propName, componentName, location, propFullName) {
337
+ var propValue = props[propName];
338
+ for (var i = 0; i < expectedValues.length; i++) {
339
+ if (is(propValue, expectedValues[i])) {
340
+ return null;
341
+ }
342
+ }
343
+
344
+ var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
345
+ var type = getPreciseType(value);
346
+ if (type === 'symbol') {
347
+ return String(value);
348
+ }
349
+ return value;
350
+ });
351
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));
352
+ }
353
+ return createChainableTypeChecker(validate);
354
+ }
355
+
356
+ function createObjectOfTypeChecker(typeChecker) {
357
+ function validate(props, propName, componentName, location, propFullName) {
358
+ if (typeof typeChecker !== 'function') {
359
+ return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');
360
+ }
361
+ var propValue = props[propName];
362
+ var propType = getPropType(propValue);
363
+ if (propType !== 'object') {
364
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
365
+ }
366
+ for (var key in propValue) {
367
+ if (has(propValue, key)) {
368
+ var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
369
+ if (error instanceof Error) {
370
+ return error;
371
+ }
372
+ }
373
+ }
374
+ return null;
375
+ }
376
+ return createChainableTypeChecker(validate);
377
+ }
378
+
379
+ function createUnionTypeChecker(arrayOfTypeCheckers) {
380
+ if (!Array.isArray(arrayOfTypeCheckers)) {
381
+ process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;
382
+ return emptyFunctionThatReturnsNull;
383
+ }
384
+
385
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
386
+ var checker = arrayOfTypeCheckers[i];
387
+ if (typeof checker !== 'function') {
388
+ printWarning(
389
+ 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +
390
+ 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'
391
+ );
392
+ return emptyFunctionThatReturnsNull;
393
+ }
394
+ }
395
+
396
+ function validate(props, propName, componentName, location, propFullName) {
397
+ var expectedTypes = [];
398
+ for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
399
+ var checker = arrayOfTypeCheckers[i];
400
+ var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
401
+ if (checkerResult == null) {
402
+ return null;
403
+ }
404
+ if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
405
+ expectedTypes.push(checkerResult.data.expectedType);
406
+ }
407
+ }
408
+ var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
409
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
410
+ }
411
+ return createChainableTypeChecker(validate);
412
+ }
413
+
414
+ function createNodeChecker() {
415
+ function validate(props, propName, componentName, location, propFullName) {
416
+ if (!isNode(props[propName])) {
417
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));
418
+ }
419
+ return null;
420
+ }
421
+ return createChainableTypeChecker(validate);
422
+ }
423
+
424
+ function invalidValidatorError(componentName, location, propFullName, key, type) {
425
+ return new PropTypeError(
426
+ (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
427
+ 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
428
+ );
429
+ }
430
+
431
+ function createShapeTypeChecker(shapeTypes) {
432
+ function validate(props, propName, componentName, location, propFullName) {
433
+ var propValue = props[propName];
434
+ var propType = getPropType(propValue);
435
+ if (propType !== 'object') {
436
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
437
+ }
438
+ for (var key in shapeTypes) {
439
+ var checker = shapeTypes[key];
440
+ if (typeof checker !== 'function') {
441
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
442
+ }
443
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
444
+ if (error) {
445
+ return error;
446
+ }
447
+ }
448
+ return null;
449
+ }
450
+ return createChainableTypeChecker(validate);
451
+ }
452
+
453
+ function createStrictShapeTypeChecker(shapeTypes) {
454
+ function validate(props, propName, componentName, location, propFullName) {
455
+ var propValue = props[propName];
456
+ var propType = getPropType(propValue);
457
+ if (propType !== 'object') {
458
+ return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
459
+ }
460
+ // We need to check all keys in case some are required but missing from props.
461
+ var allKeys = assign({}, props[propName], shapeTypes);
462
+ for (var key in allKeys) {
463
+ var checker = shapeTypes[key];
464
+ if (has(shapeTypes, key) && typeof checker !== 'function') {
465
+ return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
466
+ }
467
+ if (!checker) {
468
+ return new PropTypeError(
469
+ 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
470
+ '\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
471
+ '\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
472
+ );
473
+ }
474
+ var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
475
+ if (error) {
476
+ return error;
477
+ }
478
+ }
479
+ return null;
480
+ }
481
+
482
+ return createChainableTypeChecker(validate);
483
+ }
484
+
485
+ function isNode(propValue) {
486
+ switch (typeof propValue) {
487
+ case 'number':
488
+ case 'string':
489
+ case 'undefined':
490
+ return true;
491
+ case 'boolean':
492
+ return !propValue;
493
+ case 'object':
494
+ if (Array.isArray(propValue)) {
495
+ return propValue.every(isNode);
496
+ }
497
+ if (propValue === null || isValidElement(propValue)) {
498
+ return true;
499
+ }
500
+
501
+ var iteratorFn = getIteratorFn(propValue);
502
+ if (iteratorFn) {
503
+ var iterator = iteratorFn.call(propValue);
504
+ var step;
505
+ if (iteratorFn !== propValue.entries) {
506
+ while (!(step = iterator.next()).done) {
507
+ if (!isNode(step.value)) {
508
+ return false;
509
+ }
510
+ }
511
+ } else {
512
+ // Iterator will provide entry [k,v] tuples rather than values.
513
+ while (!(step = iterator.next()).done) {
514
+ var entry = step.value;
515
+ if (entry) {
516
+ if (!isNode(entry[1])) {
517
+ return false;
518
+ }
519
+ }
520
+ }
521
+ }
522
+ } else {
523
+ return false;
524
+ }
525
+
526
+ return true;
527
+ default:
528
+ return false;
529
+ }
530
+ }
531
+
532
+ function isSymbol(propType, propValue) {
533
+ // Native Symbol.
534
+ if (propType === 'symbol') {
535
+ return true;
536
+ }
537
+
538
+ // falsy value can't be a Symbol
539
+ if (!propValue) {
540
+ return false;
541
+ }
542
+
543
+ // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'
544
+ if (propValue['@@toStringTag'] === 'Symbol') {
545
+ return true;
546
+ }
547
+
548
+ // Fallback for non-spec compliant Symbols which are polyfilled.
549
+ if (typeof Symbol === 'function' && propValue instanceof Symbol) {
550
+ return true;
551
+ }
552
+
553
+ return false;
554
+ }
555
+
556
+ // Equivalent of `typeof` but with special handling for array and regexp.
557
+ function getPropType(propValue) {
558
+ var propType = typeof propValue;
559
+ if (Array.isArray(propValue)) {
560
+ return 'array';
561
+ }
562
+ if (propValue instanceof RegExp) {
563
+ // Old webkits (at least until Android 4.0) return 'function' rather than
564
+ // 'object' for typeof a RegExp. We'll normalize this here so that /bla/
565
+ // passes PropTypes.object.
566
+ return 'object';
567
+ }
568
+ if (isSymbol(propType, propValue)) {
569
+ return 'symbol';
570
+ }
571
+ return propType;
572
+ }
573
+
574
+ // This handles more types than `getPropType`. Only used for error messages.
575
+ // See `createPrimitiveTypeChecker`.
576
+ function getPreciseType(propValue) {
577
+ if (typeof propValue === 'undefined' || propValue === null) {
578
+ return '' + propValue;
579
+ }
580
+ var propType = getPropType(propValue);
581
+ if (propType === 'object') {
582
+ if (propValue instanceof Date) {
583
+ return 'date';
584
+ } else if (propValue instanceof RegExp) {
585
+ return 'regexp';
586
+ }
587
+ }
588
+ return propType;
589
+ }
590
+
591
+ // Returns a string that is postfixed to a warning about an invalid type.
592
+ // For example, "undefined" or "of type array"
593
+ function getPostfixForTypeWarning(value) {
594
+ var type = getPreciseType(value);
595
+ switch (type) {
596
+ case 'array':
597
+ case 'object':
598
+ return 'an ' + type;
599
+ case 'boolean':
600
+ case 'date':
601
+ case 'regexp':
602
+ return 'a ' + type;
603
+ default:
604
+ return type;
605
+ }
606
+ }
607
+
608
+ // Returns class name of the object, if any.
609
+ function getClassName(propValue) {
610
+ if (!propValue.constructor || !propValue.constructor.name) {
611
+ return ANONYMOUS;
612
+ }
613
+ return propValue.constructor.name;
614
+ }
615
+
616
+ ReactPropTypes.checkPropTypes = checkPropTypes;
617
+ ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
618
+ ReactPropTypes.PropTypes = ReactPropTypes;
619
+
620
+ return ReactPropTypes;
621
+ };
622
+ return factoryWithTypeCheckers;
623
+ }
624
+
625
+ export { requireFactoryWithTypeCheckers as __require };
626
+ //# sourceMappingURL=factoryWithTypeCheckers.js.map