@procore/core-react 12.26.5 → 12.27.0

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 (410) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  3. package/dist/Avatar/Avatar.styles.js +5 -5
  4. package/dist/AvatarStack/AvatarStack.styles.d.ts +76 -76
  5. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  6. package/dist/Badge/Badge.styles.js +2 -2
  7. package/dist/BadgePill/BadgePill.styles.js +4 -4
  8. package/dist/Banner/Banner.styles.js +10 -10
  9. package/dist/Box/Box.styles.js +1 -1
  10. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  11. package/dist/Button/Button.styles.js +5 -5
  12. package/dist/Calendar/Calendar.styles.js +8 -8
  13. package/dist/Card/Card.styles.js +1 -1
  14. package/dist/Checkbox/Checkbox.styles.js +6 -6
  15. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  16. package/dist/ContactItem/ContactItem.styles.js +5 -5
  17. package/dist/Content/Content.styles.js +2 -2
  18. package/dist/DateInput/DateInput.styles.js +6 -6
  19. package/dist/DetailPage/DetailPage.styles.js +7 -7
  20. package/dist/Dropdown/Dropdown.styles.js +3 -3
  21. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  22. package/dist/Dropzone/Dropzone.js +1 -1
  23. package/dist/Dropzone/Dropzone.styles.js +9 -9
  24. package/dist/EmptyState/EmptyState.styles.js +6 -6
  25. package/dist/Field/Field.styles.js +3 -3
  26. package/dist/FileList/FileList.styles.js +4 -4
  27. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  28. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  29. package/dist/FileSelect/FileSelect.styles.js +2 -2
  30. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  31. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  32. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  33. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  34. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  35. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +1 -1
  36. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  37. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  38. package/dist/FileToken/FileToken.styles.js +4 -4
  39. package/dist/FilterToken/FilterToken.styles.js +5 -5
  40. package/dist/FlexList/FlexList.styles.js +1 -1
  41. package/dist/Form/Form.js +12 -2
  42. package/dist/Form/Form.js.map +1 -1
  43. package/dist/Form/Form.styles.js +14 -14
  44. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  45. package/dist/Form/StyledFormikForm.styles.js +2 -2
  46. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  47. package/dist/Grid/Grid.styles.js +2 -2
  48. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  49. package/dist/Input/Input.styles.js +1 -1
  50. package/dist/Link/Link.styles.js +1 -1
  51. package/dist/ListPage/ListPage.styles.js +8 -8
  52. package/dist/Loader/Loader.styles.js +2 -2
  53. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  54. package/dist/Modal/Modal.styles.js +13 -13
  55. package/dist/Modal/storyHelpers.js +1 -4
  56. package/dist/Modal/storyHelpers.js.map +1 -1
  57. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  58. package/dist/NextMenu/NextMenu.styles.js +3 -3
  59. package/dist/Notation/Notation.js +1 -1
  60. package/dist/NumberInput/NumberInput.hooks.d.ts +2 -1
  61. package/dist/NumberInput/NumberInput.hooks.js +40 -0
  62. package/dist/NumberInput/NumberInput.hooks.js.map +1 -1
  63. package/dist/NumberInput/NumberInput.js +20 -7
  64. package/dist/NumberInput/NumberInput.js.map +1 -1
  65. package/dist/NumberInput/NumberInput.styles.js +7 -7
  66. package/dist/NumberInput/NumberInput.types.d.ts +26 -1
  67. package/dist/NumberInput/NumberInput.types.js.map +1 -1
  68. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  69. package/dist/OverlayTrigger/a11yPresets.d.ts +6 -6
  70. package/dist/PageLayout/PageLayout.styles.js +16 -16
  71. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  72. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  73. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  74. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  75. package/dist/Pagination/Pagination.styles.js +5 -5
  76. package/dist/Panel/Panel.styles.js +11 -11
  77. package/dist/Pill/Pill.styles.js +3 -3
  78. package/dist/PillSelect/PillSelect.styles.js +4 -4
  79. package/dist/Popover/Popover.styles.js +2 -2
  80. package/dist/Portal/Portal.styles.js +1 -1
  81. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  82. package/dist/RadioButton/RadioButton.styles.js +3 -3
  83. package/dist/Required/Required.styles.js +3 -3
  84. package/dist/Search/Search.styles.js +5 -5
  85. package/dist/Section/Section.styles.js +7 -7
  86. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  87. package/dist/Select/Select.styles.js +7 -7
  88. package/dist/Semantic/Semantic.styles.d.ts +76 -76
  89. package/dist/Semantic/Semantic.styles.js +9 -9
  90. package/dist/Slider/Slider.styles.js +5 -5
  91. package/dist/Spinner/Spinner.styles.js +7 -7
  92. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  93. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  94. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  95. package/dist/Switch/Switch.styles.js +4 -4
  96. package/dist/Table/Table.styles.js +28 -28
  97. package/dist/TableShelf/TableShelf.styles.js +5 -5
  98. package/dist/Tabs/Tabs.styles.js +15 -15
  99. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  100. package/dist/TextArea/TextArea.styles.js +1 -1
  101. package/dist/TextEditor/EditorError.js.map +1 -0
  102. package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js.map +1 -0
  103. package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js.map +1 -0
  104. package/dist/TextEditor/StickyToolbar/index.js.map +1 -0
  105. package/dist/TextEditor/StickyToolbar/useStickyToolbar.js.map +1 -0
  106. package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js.map +1 -0
  107. package/dist/TextEditor/TextEditor.d.ts +42 -1
  108. package/dist/TextEditor/TextEditor.js +175 -10
  109. package/dist/TextEditor/TextEditor.js.map +1 -1
  110. package/dist/{NextTextEditor/NextTextEditor.styles.js → TextEditor/TextEditor.styles.js} +3 -3
  111. package/dist/TextEditor/TextEditor.styles.js.map +1 -0
  112. package/dist/TextEditor/TextEditor.types.d.ts +100 -22
  113. package/dist/TextEditor/TextEditor.types.js.map +1 -1
  114. package/dist/TextEditor/index.d.ts +1 -1
  115. package/dist/TextEditor/index.js +1 -0
  116. package/dist/TextEditor/index.js.map +1 -1
  117. package/dist/TextEditor/license_key.js.map +1 -0
  118. package/dist/TextEditor/plugins/CutPlugin/CutCommand.js.map +1 -0
  119. package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js.map +1 -0
  120. package/dist/TextEditor/plugins/CutPlugin/index.js.map +1 -0
  121. package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +1 -1
  122. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +1 -0
  123. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +1 -0
  124. package/dist/{NextTextEditor/plugins/CutPlugin/CutCommand.js.map → TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map} +1 -1
  125. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +1 -0
  126. package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js.map +1 -0
  127. package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js.map +1 -0
  128. package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js.map +1 -0
  129. package/dist/TextEditor/plugins/PastePlugin/index.js.map +1 -0
  130. package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +1 -0
  131. package/dist/TextEditor/plugins/TabSpacesPlugin/index.js.map +1 -0
  132. package/dist/TextEditor/textEditorTheming/icons.js.map +1 -0
  133. package/dist/TextEditor/textEditorTheming/index.js.map +1 -0
  134. package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js.map +1 -0
  135. package/dist/TextEditor/useCKEditorCss.js.map +1 -0
  136. package/dist/TextEditor/useTabAsNavigation.js.map +1 -0
  137. package/dist/TextEditor/utils/config.js.map +1 -0
  138. package/dist/TextEditor/utils/index.js.map +1 -0
  139. package/dist/TextEditor/utils/locale.js.map +1 -0
  140. package/dist/TextEditor/utils/plugins.js.map +1 -0
  141. package/dist/TextEditorOutput/TextEditorOutput.d.ts +1 -3
  142. package/dist/TextEditorOutput/TextEditorOutput.js +15 -14
  143. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  144. package/dist/{NextTextEditorOutput/NextTextEditorOutput.styles.js → TextEditorOutput/TextEditorOutput.styles.js} +2 -2
  145. package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +1 -0
  146. package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +7 -17
  147. package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
  148. package/dist/{NextTextEditorOutput/NextTextEditorOutput.utils.js → TextEditorOutput/TextEditorOutput.utils.js} +1 -1
  149. package/dist/TextEditorOutput/TextEditorOutput.utils.js.map +1 -0
  150. package/dist/Thumbnail/Thumbnail.hooks.d.ts +64 -64
  151. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  152. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
  153. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  154. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  155. package/dist/Tile/Tile.styles.js +8 -8
  156. package/dist/Title/Title.styles.js +7 -7
  157. package/dist/Toast/Toast.styles.js +3 -3
  158. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  159. package/dist/Token/Token.styles.js +3 -3
  160. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  161. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  162. package/dist/Tooltip/Tooltip.styles.js +2 -2
  163. package/dist/Tree/Tree.styles.js +9 -9
  164. package/dist/Typeahead/Typeahead.styles.js +3 -3
  165. package/dist/Typography/Typography.styles.js +1 -1
  166. package/dist/Typography/Typography.table.story.js +2 -2
  167. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  168. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  169. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  170. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  171. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  172. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  173. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  174. package/dist/_typedoc/Box/Box.types.json +72 -72
  175. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  176. package/dist/_typedoc/Button/Button.types.json +15 -15
  177. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  178. package/dist/_typedoc/Card/Card.types.json +6 -6
  179. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  180. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  181. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  182. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  183. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  184. package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -39
  185. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  186. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  187. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  188. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  189. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  190. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  191. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  192. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  193. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  194. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  195. package/dist/_typedoc/Form/Form.types.json +986 -958
  196. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  197. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  198. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  199. package/dist/_typedoc/Input/Input.types.json +2 -2
  200. package/dist/_typedoc/Link/Link.types.json +1 -1
  201. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  202. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  203. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  204. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  205. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  206. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  207. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  208. package/dist/_typedoc/NumberInput/NumberInput.types.json +167 -43
  209. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  210. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
  211. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  212. package/dist/_typedoc/Panel/Panel.types.json +30 -30
  213. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  214. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  215. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  216. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  217. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  218. package/dist/_typedoc/Required/Required.types.json +5 -5
  219. package/dist/_typedoc/Search/Search.types.json +18 -18
  220. package/dist/_typedoc/Section/Section.types.json +15 -15
  221. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  222. package/dist/_typedoc/Select/Select.types.json +62 -62
  223. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  224. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  225. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  226. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  227. package/dist/_typedoc/Table/Table.types.json +101 -101
  228. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  229. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  230. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  231. package/dist/_typedoc/TextEditor/TextEditor.types.json +144 -1
  232. package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +2 -2
  233. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +32 -6
  234. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  235. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  236. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  237. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  238. package/dist/_typedoc/Title/Title.types.json +3 -3
  239. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  240. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  241. package/dist/_typedoc/Token/Token.types.json +7 -7
  242. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  243. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  244. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  245. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  246. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  247. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  248. package/dist/_typedoc/_utils/types.json +3 -3
  249. package/dist/_typedoc/deprecations.json +1 -1
  250. package/dist/_utils/propsTypedoc.d.ts +0 -2
  251. package/dist/_utils/propsTypedoc.js +0 -2
  252. package/dist/_utils/propsTypedoc.js.map +1 -1
  253. package/dist/index.d.ts +12 -6
  254. package/dist/index.js +17 -8
  255. package/dist/index.js.map +1 -1
  256. package/jestConfig.d.ts +3 -0
  257. package/package.json +8 -4
  258. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.d.ts +0 -19
  259. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js +0 -159
  260. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.js.map +0 -1
  261. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.d.ts +0 -4
  262. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js +0 -6
  263. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.styles.js.map +0 -1
  264. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.d.ts +0 -72
  265. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js +0 -2
  266. package/dist/DeprecatedTextEditor/DeprecatedTextEditor.types.js.map +0 -1
  267. package/dist/DeprecatedTextEditor/index.d.ts +0 -2
  268. package/dist/DeprecatedTextEditor/index.js +0 -3
  269. package/dist/DeprecatedTextEditor/index.js.map +0 -1
  270. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.d.ts +0 -12
  271. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js +0 -45
  272. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.js.map +0 -1
  273. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js +0 -6
  274. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.js.map +0 -1
  275. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.d.ts +0 -16
  276. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js +0 -2
  277. package/dist/DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.types.js.map +0 -1
  278. package/dist/DeprecatedTextEditorOutput/index.d.ts +0 -2
  279. package/dist/DeprecatedTextEditorOutput/index.js +0 -2
  280. package/dist/DeprecatedTextEditorOutput/index.js.map +0 -1
  281. package/dist/NextTextEditor/EditorError.js.map +0 -1
  282. package/dist/NextTextEditor/NextTextEditor.d.ts +0 -3
  283. package/dist/NextTextEditor/NextTextEditor.js +0 -156
  284. package/dist/NextTextEditor/NextTextEditor.js.map +0 -1
  285. package/dist/NextTextEditor/NextTextEditor.styles.js.map +0 -1
  286. package/dist/NextTextEditor/NextTextEditor.types.d.ts +0 -111
  287. package/dist/NextTextEditor/NextTextEditor.types.js +0 -2
  288. package/dist/NextTextEditor/NextTextEditor.types.js.map +0 -1
  289. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.types.js.map +0 -1
  290. package/dist/NextTextEditor/StickyToolbar/StickyToolbar.utils.js.map +0 -1
  291. package/dist/NextTextEditor/StickyToolbar/index.js.map +0 -1
  292. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.js.map +0 -1
  293. package/dist/NextTextEditor/StickyToolbar/useStickyToolbar.types.js.map +0 -1
  294. package/dist/NextTextEditor/index.d.ts +0 -2
  295. package/dist/NextTextEditor/index.js +0 -3
  296. package/dist/NextTextEditor/index.js.map +0 -1
  297. package/dist/NextTextEditor/license_key.js.map +0 -1
  298. package/dist/NextTextEditor/plugins/CutPlugin/CutPlugin.js.map +0 -1
  299. package/dist/NextTextEditor/plugins/CutPlugin/index.js.map +0 -1
  300. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +0 -1
  301. package/dist/NextTextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +0 -1
  302. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.d.ts +0 -15
  303. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js +0 -65
  304. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/index.js.map +0 -1
  305. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.d.ts +0 -13
  306. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js +0 -80
  307. package/dist/NextTextEditor/plugins/LegacyPasteAdapter/legacyTinyMceAdapter.js.map +0 -1
  308. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +0 -1
  309. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +0 -1
  310. package/dist/NextTextEditor/plugins/PasteAsTextPlugin/index.js.map +0 -1
  311. package/dist/NextTextEditor/plugins/PastePlugin/PasteCommand.js.map +0 -1
  312. package/dist/NextTextEditor/plugins/PastePlugin/PastePlugin.js.map +0 -1
  313. package/dist/NextTextEditor/plugins/PastePlugin/index.js.map +0 -1
  314. package/dist/NextTextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +0 -1
  315. package/dist/NextTextEditor/plugins/TabSpacesPlugin/index.js.map +0 -1
  316. package/dist/NextTextEditor/textEditorTheming/icons.js.map +0 -1
  317. package/dist/NextTextEditor/textEditorTheming/index.js.map +0 -1
  318. package/dist/NextTextEditor/textEditorTheming/textEditorTheming.styles.js.map +0 -1
  319. package/dist/NextTextEditor/useCKEditorCss.js.map +0 -1
  320. package/dist/NextTextEditor/useTabAsNavigation.js.map +0 -1
  321. package/dist/NextTextEditor/utils/config.js.map +0 -1
  322. package/dist/NextTextEditor/utils/index.js.map +0 -1
  323. package/dist/NextTextEditor/utils/locale.js.map +0 -1
  324. package/dist/NextTextEditor/utils/plugins.js.map +0 -1
  325. package/dist/NextTextEditorOutput/NextTextEditorOutput.d.ts +0 -8
  326. package/dist/NextTextEditorOutput/NextTextEditorOutput.js +0 -29
  327. package/dist/NextTextEditorOutput/NextTextEditorOutput.js.map +0 -1
  328. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.d.ts +0 -2
  329. package/dist/NextTextEditorOutput/NextTextEditorOutput.styles.js.map +0 -1
  330. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.d.ts +0 -9
  331. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js +0 -2
  332. package/dist/NextTextEditorOutput/NextTextEditorOutput.types.js.map +0 -1
  333. package/dist/NextTextEditorOutput/NextTextEditorOutput.utils.js.map +0 -1
  334. package/dist/NextTextEditorOutput/index.d.ts +0 -2
  335. package/dist/NextTextEditorOutput/index.js +0 -2
  336. package/dist/NextTextEditorOutput/index.js.map +0 -1
  337. package/dist/TextEditor/TextEditorDocs.types.d.ts +0 -65
  338. package/dist/TextEditor/TextEditorDocs.types.js +0 -2
  339. package/dist/TextEditor/TextEditorDocs.types.js.map +0 -1
  340. package/dist/TextEditorOutput/TextEditorOutputDocs.types.d.ts +0 -21
  341. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js +0 -2
  342. package/dist/TextEditorOutput/TextEditorOutputDocs.types.js.map +0 -1
  343. package/dist/_typedoc/TextEditor/TextEditorDocs.types.json +0 -98
  344. package/dist/_typedoc/TextEditorOutput/TextEditorOutputDocs.types.json +0 -38
  345. package/dist/_utils/TinyMCE.d.ts +0 -21
  346. package/dist/_utils/TinyMCE.js +0 -86
  347. package/dist/_utils/TinyMCE.js.map +0 -1
  348. package/dist/_utils/props.d.ts +0 -4
  349. package/dist/_utils/props.js +0 -5
  350. package/dist/_utils/props.js.map +0 -1
  351. /package/dist/{NextTextEditor → TextEditor}/EditorError.d.ts +0 -0
  352. /package/dist/{NextTextEditor → TextEditor}/EditorError.js +0 -0
  353. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.types.d.ts +0 -0
  354. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.types.js +0 -0
  355. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.utils.d.ts +0 -0
  356. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/StickyToolbar.utils.js +0 -0
  357. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/index.d.ts +0 -0
  358. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/index.js +0 -0
  359. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.d.ts +0 -0
  360. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.js +0 -0
  361. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.types.d.ts +0 -0
  362. /package/dist/{NextTextEditor → TextEditor}/StickyToolbar/useStickyToolbar.types.js +0 -0
  363. /package/dist/{NextTextEditor/NextTextEditor.styles.d.ts → TextEditor/TextEditor.styles.d.ts} +0 -0
  364. /package/dist/{NextTextEditor → TextEditor}/license_key.d.ts +0 -0
  365. /package/dist/{NextTextEditor → TextEditor}/license_key.js +0 -0
  366. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutCommand.d.ts +0 -0
  367. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutCommand.js +0 -0
  368. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutPlugin.d.ts +0 -0
  369. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/CutPlugin.js +0 -0
  370. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/index.d.ts +0 -0
  371. /package/dist/{NextTextEditor → TextEditor}/plugins/CutPlugin/index.js +0 -0
  372. /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +0 -0
  373. /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/index.d.ts +0 -0
  374. /package/dist/{NextTextEditor → TextEditor}/plugins/IndentPaddingToMarginPlugin/index.js +0 -0
  375. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +0 -0
  376. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +0 -0
  377. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +0 -0
  378. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +0 -0
  379. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/index.d.ts +0 -0
  380. /package/dist/{NextTextEditor → TextEditor}/plugins/PasteAsTextPlugin/index.js +0 -0
  381. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PasteCommand.d.ts +0 -0
  382. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PasteCommand.js +0 -0
  383. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PastePlugin.d.ts +0 -0
  384. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/PastePlugin.js +0 -0
  385. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/index.d.ts +0 -0
  386. /package/dist/{NextTextEditor → TextEditor}/plugins/PastePlugin/index.js +0 -0
  387. /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +0 -0
  388. /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/TabSpacesPlugin.js +0 -0
  389. /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/index.d.ts +0 -0
  390. /package/dist/{NextTextEditor → TextEditor}/plugins/TabSpacesPlugin/index.js +0 -0
  391. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/icons.d.ts +0 -0
  392. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/icons.js +0 -0
  393. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/index.d.ts +0 -0
  394. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/index.js +0 -0
  395. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/textEditorTheming.styles.d.ts +0 -0
  396. /package/dist/{NextTextEditor → TextEditor}/textEditorTheming/textEditorTheming.styles.js +0 -0
  397. /package/dist/{NextTextEditor → TextEditor}/useCKEditorCss.d.ts +0 -0
  398. /package/dist/{NextTextEditor → TextEditor}/useCKEditorCss.js +0 -0
  399. /package/dist/{NextTextEditor → TextEditor}/useTabAsNavigation.d.ts +0 -0
  400. /package/dist/{NextTextEditor → TextEditor}/useTabAsNavigation.js +0 -0
  401. /package/dist/{NextTextEditor → TextEditor}/utils/config.d.ts +0 -0
  402. /package/dist/{NextTextEditor → TextEditor}/utils/config.js +0 -0
  403. /package/dist/{NextTextEditor → TextEditor}/utils/index.d.ts +0 -0
  404. /package/dist/{NextTextEditor → TextEditor}/utils/index.js +0 -0
  405. /package/dist/{NextTextEditor → TextEditor}/utils/locale.d.ts +0 -0
  406. /package/dist/{NextTextEditor → TextEditor}/utils/locale.js +0 -0
  407. /package/dist/{NextTextEditor → TextEditor}/utils/plugins.d.ts +0 -0
  408. /package/dist/{NextTextEditor → TextEditor}/utils/plugins.js +0 -0
  409. /package/dist/{DeprecatedTextEditorOutput/DeprecatedTextEditorOutput.styles.d.ts → TextEditorOutput/TextEditorOutput.styles.d.ts} +0 -0
  410. /package/dist/{NextTextEditorOutput/NextTextEditorOutput.utils.d.ts → TextEditorOutput/TextEditorOutput.utils.d.ts} +0 -0
@@ -1,21 +0,0 @@
1
- import type { Editor } from '@tinymce/tinymce-react';
2
- import type { Locale } from '../_hooks/I18n';
3
- export declare const scriptId = "tiny-mce-core-source";
4
- export declare const tinyMCESource = "https://s3.amazonaws.com/procore-core/tinymce";
5
- export declare const tinyMCEVersion = "5.8.1";
6
- export declare const defaultPlugins: string[];
7
- export declare const plugins: string[];
8
- /**
9
- * Historically, `nonbreaking_force_tab` has been set to `true`
10
- * and this takes the `Tab` keypress as input to add to the content.
11
- * e.g indent the start of the text block like a paragraph.
12
- * This is different from the TinyMCE tool and command 'Indent', which
13
- * indents the entire block. e.g. indent this entire text block and the
14
- * wrapped lines.
15
- * This is the HTML it outputs when `nonbreaking_force_tab: true`
16
- */
17
- export declare const tinyMCETabMarkup = "<span class=\"mce-nbsp-wrap\" contenteditable=\"false\">&nbsp;&nbsp;&nbsp;</span>";
18
- export declare const tinyMCEConfig: any & Editor;
19
- export declare function getValidLookupLocale(locale: Locale): string;
20
- export declare function generateLanguageUrl(locale: Locale): string;
21
- export declare function generateExternalPlugins(plugins: Array<string>, basePlugins?: string[]): {};
@@ -1,86 +0,0 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
3
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
4
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
- export var scriptId = 'tiny-mce-core-source';
6
- export var tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce';
7
- export var tinyMCEVersion = '5.8.1';
8
- // TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages
9
- var textEditorLocales = {
10
- en: 'en',
11
- 'en-CA': 'en',
12
- 'fr-CA': 'fr_FR',
13
- 'fr-FR': 'fr_FR',
14
- es: 'es',
15
- 'es-ES': 'es',
16
- 'en-AE': 'en',
17
- 'en-AU': 'en',
18
- 'en-GB': 'en',
19
- 'en-SG': 'en',
20
- 'th-TH': 'th_TH',
21
- 'ja-JP': 'ja',
22
- 'pt-BR': 'pt_BR',
23
- 'is-IS': 'en',
24
- 'de-DE': 'de',
25
- 'zh-SG': 'zh_CN',
26
- pseudo: 'en',
27
- 'pl-PL': 'pl'
28
- };
29
- export var defaultPlugins = ['autolink', 'autoresize', 'lists', 'nonbreaking', 'paste', 'advlist'];
30
- export var plugins = ['advlist', 'anchor', 'autolink', 'autoresize', 'autosave', 'bbcode', 'charmap', 'code', 'codesample', 'colorpicker', 'contextmenu', 'directionality', 'emoticons', 'fullpage', 'fullscreen', 'help', 'hr', 'image', 'imagetools', 'importcss', 'insertdatetime', 'legacyoutput', 'link', 'lists', 'media', 'nonbreaking', 'noneditable', 'pagebreak', 'paste', 'preview', 'print', 'save', 'searchreplace', 'spellchecker', 'tabfocus', 'table', 'template', 'textpattern', 'toc', 'visualblocks', 'visualchars', 'wordcount'];
31
-
32
- /**
33
- * Historically, `nonbreaking_force_tab` has been set to `true`
34
- * and this takes the `Tab` keypress as input to add to the content.
35
- * e.g indent the start of the text block like a paragraph.
36
- * This is different from the TinyMCE tool and command 'Indent', which
37
- * indents the entire block. e.g. indent this entire text block and the
38
- * wrapped lines.
39
- * This is the HTML it outputs when `nonbreaking_force_tab: true`
40
- */
41
- export var tinyMCETabMarkup = "<span class=\"mce-nbsp-wrap\" contenteditable=\"false\">&nbsp;&nbsp;&nbsp;</span>";
42
- export var tinyMCEConfig = {
43
- autoresize_overflow_padding: 12,
44
- autoresize_bottom_margin: 0,
45
- browser_spellcheck: true,
46
- convert_url: false,
47
- content_css: "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/skins/content/default/content.min.css"),
48
- extended_valid_elements: 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',
49
- min_height: 96,
50
- invalid_elements: 'form,script',
51
- menubar: false,
52
- nonbreaking_force_tab: true,
53
- paste_preprocess: function paste_preprocess(_, args) {
54
- args.content = args.content.replace(/<pre>/gi, '<p>');
55
- args.content = args.content.replace(/<\/pre>/gi, '</p>');
56
- },
57
- paste_remove_styles_if_webkit: true,
58
- paste_retain_style_properties: 'font-size,text-decoration',
59
- paste_word_valid_elements: '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',
60
- relative_urls: false,
61
- remove_script_host: false,
62
- statusbar: false,
63
- skin_url: "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/skins/ui/oxide"),
64
- toolbar: 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',
65
- toolbar_mode: 'floating'
66
- };
67
- export function getValidLookupLocale(locale) {
68
- return textEditorLocales[locale] || textEditorLocales.en;
69
- }
70
- function usesBuiltInText(locale) {
71
- return locale === textEditorLocales.en;
72
- }
73
- export function generateLanguageUrl(locale) {
74
- var lookupLocale = getValidLookupLocale(locale);
75
- return usesBuiltInText(lookupLocale) ? '' : "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/langs/").concat(lookupLocale, ".js");
76
- }
77
- function generatePluginUrl(plugin) {
78
- return "".concat(tinyMCESource, "/").concat(tinyMCEVersion, "/plugins/").concat(plugin, "/plugin.min.js");
79
- }
80
- export function generateExternalPlugins(plugins) {
81
- var basePlugins = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultPlugins;
82
- return Array.from(new Set(plugins.concat(basePlugins))).reduce(function (acc, plugin) {
83
- return plugins.includes(plugin) ? Object.assign(acc, _defineProperty({}, plugin, generatePluginUrl(plugin))) : acc;
84
- }, {});
85
- }
86
- //# sourceMappingURL=TinyMCE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TinyMCE.js","names":["scriptId","tinyMCESource","tinyMCEVersion","textEditorLocales","en","es","pseudo","defaultPlugins","plugins","tinyMCETabMarkup","tinyMCEConfig","autoresize_overflow_padding","autoresize_bottom_margin","browser_spellcheck","convert_url","content_css","concat","extended_valid_elements","min_height","invalid_elements","menubar","nonbreaking_force_tab","paste_preprocess","_","args","content","replace","paste_remove_styles_if_webkit","paste_retain_style_properties","paste_word_valid_elements","relative_urls","remove_script_host","statusbar","skin_url","toolbar","toolbar_mode","getValidLookupLocale","locale","usesBuiltInText","generateLanguageUrl","lookupLocale","generatePluginUrl","plugin","generateExternalPlugins","basePlugins","arguments","length","undefined","Array","from","Set","reduce","acc","includes","Object","assign","_defineProperty"],"sources":["../../src/_utils/TinyMCE.ts"],"sourcesContent":["import type { Editor } from '@tinymce/tinymce-react'\nimport type { Locale } from '../_hooks/I18n'\n\nexport const scriptId = 'tiny-mce-core-source'\nexport const tinyMCESource = 'https://s3.amazonaws.com/procore-core/tinymce'\nexport const tinyMCEVersion = '5.8.1'\n\ntype TextEditorLocales = { [key in Locale]: string }\n\n// TinyMCE Supported Languages: https://www.tiny.cloud/docs/configure/localization/#supportedlanguages\nconst textEditorLocales: TextEditorLocales = {\n en: 'en',\n 'en-CA': 'en',\n 'fr-CA': 'fr_FR',\n 'fr-FR': 'fr_FR',\n es: 'es',\n 'es-ES': 'es',\n 'en-AE': 'en',\n 'en-AU': 'en',\n 'en-GB': 'en',\n 'en-SG': 'en',\n 'th-TH': 'th_TH',\n 'ja-JP': 'ja',\n 'pt-BR': 'pt_BR',\n 'is-IS': 'en',\n 'de-DE': 'de',\n 'zh-SG': 'zh_CN',\n pseudo: 'en',\n 'pl-PL': 'pl',\n}\n\nexport const defaultPlugins = [\n 'autolink',\n 'autoresize',\n 'lists',\n 'nonbreaking',\n 'paste',\n 'advlist',\n]\n\nexport const plugins = [\n 'advlist',\n 'anchor',\n 'autolink',\n 'autoresize',\n 'autosave',\n 'bbcode',\n 'charmap',\n 'code',\n 'codesample',\n 'colorpicker',\n 'contextmenu',\n 'directionality',\n 'emoticons',\n 'fullpage',\n 'fullscreen',\n 'help',\n 'hr',\n 'image',\n 'imagetools',\n 'importcss',\n 'insertdatetime',\n 'legacyoutput',\n 'link',\n 'lists',\n 'media',\n 'nonbreaking',\n 'noneditable',\n 'pagebreak',\n 'paste',\n 'preview',\n 'print',\n 'save',\n 'searchreplace',\n 'spellchecker',\n 'tabfocus',\n 'table',\n 'template',\n 'textpattern',\n 'toc',\n 'visualblocks',\n 'visualchars',\n 'wordcount',\n]\n\n/**\n * Historically, `nonbreaking_force_tab` has been set to `true`\n * and this takes the `Tab` keypress as input to add to the content.\n * e.g indent the start of the text block like a paragraph.\n * This is different from the TinyMCE tool and command 'Indent', which\n * indents the entire block. e.g. indent this entire text block and the\n * wrapped lines.\n * This is the HTML it outputs when `nonbreaking_force_tab: true`\n */\nexport const tinyMCETabMarkup = `<span class=\\\"mce-nbsp-wrap\\\" contenteditable=\\\"false\\\">&nbsp;&nbsp;&nbsp;</span>`\n\nexport const tinyMCEConfig: any & Editor = {\n autoresize_overflow_padding: 12,\n autoresize_bottom_margin: 0,\n browser_spellcheck: true,\n convert_url: false,\n content_css: `${tinyMCESource}/${tinyMCEVersion}/skins/content/default/content.min.css`,\n extended_valid_elements:\n 'table[class=mce-table|border:1px double #000|cellpadding: 3px|style=border-collapse: collapse; border-color: #000]',\n min_height: 96,\n invalid_elements: 'form,script',\n menubar: false,\n nonbreaking_force_tab: true,\n paste_preprocess: (_: any, args: any) => {\n args.content = args.content.replace(/<pre>/gi, '<p>')\n args.content = args.content.replace(/<\\/pre>/gi, '</p>')\n },\n paste_remove_styles_if_webkit: true,\n paste_retain_style_properties: 'font-size,text-decoration',\n paste_word_valid_elements:\n '@[style],pre,-strong/b,-em/i,-span,-p,-ol,-ul,-li,-table,-tr,-td[colspan|rowspan],-th,-thead,-tfoot,-tbody,-a[href|name],sub,sup,strike,br,u',\n relative_urls: false,\n remove_script_host: false,\n statusbar: false,\n skin_url: `${tinyMCESource}/${tinyMCEVersion}/skins/ui/oxide`,\n toolbar:\n 'bold italic underline strikethrough | alignleft aligncenter alignright | bullist numlist | outdent indent | cut paste pastetext | fontsizeselect | forecolor backcolor | link table image | undo redo',\n toolbar_mode: 'floating',\n}\n\nexport function getValidLookupLocale(locale: Locale): string {\n return textEditorLocales[locale] || textEditorLocales.en\n}\n\nfunction usesBuiltInText(locale: string) {\n return locale === textEditorLocales.en\n}\n\nexport function generateLanguageUrl(locale: Locale) {\n const lookupLocale = getValidLookupLocale(locale)\n return usesBuiltInText(lookupLocale)\n ? ''\n : `${tinyMCESource}/${tinyMCEVersion}/langs/${lookupLocale}.js`\n}\n\nfunction generatePluginUrl(plugin: string) {\n return `${tinyMCESource}/${tinyMCEVersion}/plugins/${plugin}/plugin.min.js`\n}\n\nexport function generateExternalPlugins(\n plugins: Array<string>,\n basePlugins = defaultPlugins\n) {\n return Array.from(new Set(plugins.concat(basePlugins))).reduce(\n (acc, plugin) => {\n return plugins.includes(plugin)\n ? Object.assign(acc, { [plugin]: generatePluginUrl(plugin) })\n : acc\n },\n {}\n )\n}\n"],"mappings":"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"}
@@ -1,4 +0,0 @@
1
- import * as TinyMCE from './TinyMCE';
2
- export declare const docsProps: {
3
- TinyMCE: typeof TinyMCE;
4
- };
@@ -1,5 +0,0 @@
1
- import * as TinyMCE from './TinyMCE';
2
- export var docsProps = {
3
- TinyMCE: TinyMCE
4
- };
5
- //# sourceMappingURL=props.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"props.js","names":["TinyMCE","docsProps"],"sources":["../../src/_utils/props.ts"],"sourcesContent":["import * as TinyMCE from './TinyMCE'\n\nexport const docsProps = {\n TinyMCE,\n}\n"],"mappings":"AAAA,OAAO,KAAKA,OAAO,MAAM,WAAW;AAEpC,OAAO,IAAMC,SAAS,GAAG;EACvBD,OAAO,EAAPA;AACF,CAAC"}