@procore/core-react 12.28.1 → 12.29.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 (321) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +3 -49
  3. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  4. package/dist/Avatar/Avatar.styles.js +5 -5
  5. package/dist/AvatarStack/AvatarStack.styles.d.ts +76 -76
  6. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  7. package/dist/Badge/Badge.styles.js +2 -2
  8. package/dist/BadgePill/BadgePill.styles.js +4 -4
  9. package/dist/Banner/Banner.styles.js +10 -10
  10. package/dist/Box/Box.styles.js +1 -1
  11. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  12. package/dist/Button/Button.styles.js +5 -5
  13. package/dist/Calendar/Calendar.styles.js +8 -8
  14. package/dist/Card/Card.styles.js +1 -1
  15. package/dist/Checkbox/Checkbox.styles.js +6 -6
  16. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  17. package/dist/ContactItem/ContactItem.styles.js +5 -5
  18. package/dist/Content/Content.styles.js +2 -2
  19. package/dist/DateInput/DateInput.styles.js +6 -6
  20. package/dist/DetailPage/DetailPage.styles.js +7 -7
  21. package/dist/Dropdown/Dropdown.styles.js +3 -3
  22. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  23. package/dist/Dropzone/Dropzone.js +1 -1
  24. package/dist/Dropzone/Dropzone.styles.js +9 -9
  25. package/dist/EmptyState/EmptyState.styles.js +6 -6
  26. package/dist/Field/Field.styles.js +3 -3
  27. package/dist/FileList/FileList.styles.js +4 -4
  28. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  29. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  30. package/dist/FileSelect/FileSelect.styles.js +2 -2
  31. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  32. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  33. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  34. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  35. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  36. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +1 -1
  37. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  38. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  39. package/dist/FileToken/FileToken.styles.js +4 -4
  40. package/dist/FilterToken/FilterToken.styles.js +5 -5
  41. package/dist/FlexList/FlexList.styles.js +1 -1
  42. package/dist/Form/Form.js +29 -10
  43. package/dist/Form/Form.js.map +1 -1
  44. package/dist/Form/Form.styles.js +14 -14
  45. package/dist/Form/StyledFormikForm.styles.d.ts +2 -2
  46. package/dist/Form/StyledFormikForm.styles.js +2 -2
  47. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  48. package/dist/Grid/Grid.styles.js +2 -2
  49. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  50. package/dist/Input/Input.styles.js +1 -1
  51. package/dist/Link/Link.styles.js +1 -1
  52. package/dist/ListPage/ListPage.styles.js +8 -8
  53. package/dist/Loader/Loader.styles.js +2 -2
  54. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  55. package/dist/Modal/Modal.styles.js +13 -13
  56. package/dist/Modal/storyHelpers.js +4 -1
  57. package/dist/Modal/storyHelpers.js.map +1 -1
  58. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  59. package/dist/NextMenu/NextMenu.styles.js +3 -3
  60. package/dist/Notation/Notation.js +1 -1
  61. package/dist/NumberInput/NumberInput.styles.js +7 -7
  62. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  63. package/dist/OverlayTrigger/a11yPresets.d.ts +6 -6
  64. package/dist/PageLayout/PageLayout.styles.js +16 -16
  65. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  66. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  67. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  68. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  69. package/dist/Pagination/Pagination.styles.js +5 -5
  70. package/dist/Panel/Panel.styles.js +11 -11
  71. package/dist/Pill/Pill.styles.js +3 -3
  72. package/dist/PillSelect/PillSelect.styles.js +4 -4
  73. package/dist/Popover/Popover.styles.js +2 -2
  74. package/dist/Portal/Portal.styles.js +1 -1
  75. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  76. package/dist/RadioButton/RadioButton.styles.js +3 -3
  77. package/dist/Required/Required.styles.js +3 -3
  78. package/dist/Search/Search.styles.js +5 -5
  79. package/dist/Section/Section.styles.js +7 -7
  80. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  81. package/dist/Select/Select.styles.js +7 -7
  82. package/dist/Semantic/Semantic.styles.d.ts +76 -76
  83. package/dist/Semantic/Semantic.styles.js +9 -9
  84. package/dist/Slider/Slider.styles.js +5 -5
  85. package/dist/Spinner/Spinner.styles.js +7 -7
  86. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  87. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  88. package/dist/SuperSelect/SuperSelect.styles.js +38 -38
  89. package/dist/Switch/Switch.styles.js +4 -4
  90. package/dist/Table/Table.styles.js +28 -28
  91. package/dist/TableShelf/TableShelf.styles.js +5 -5
  92. package/dist/Tabs/Tabs.styles.js +15 -15
  93. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  94. package/dist/TextArea/TextArea.styles.js +1 -1
  95. package/dist/TextEditor/TextEditor.d.ts +17 -41
  96. package/dist/TextEditor/TextEditor.js +141 -155
  97. package/dist/TextEditor/TextEditor.js.map +1 -1
  98. package/dist/TextEditor/TextEditor.styles.d.ts +2 -5
  99. package/dist/TextEditor/TextEditor.styles.js +4 -24
  100. package/dist/TextEditor/TextEditor.styles.js.map +1 -1
  101. package/dist/TextEditor/TextEditor.types.d.ts +55 -109
  102. package/dist/TextEditor/TextEditor.types.js.map +1 -1
  103. package/dist/TextEditor/index.d.ts +2 -4
  104. package/dist/TextEditor/index.js +1 -3
  105. package/dist/TextEditor/index.js.map +1 -1
  106. package/dist/TextEditorOutput/TextEditorOutput.d.ts +7 -3
  107. package/dist/TextEditorOutput/TextEditorOutput.js +29 -13
  108. package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
  109. package/dist/TextEditorOutput/TextEditorOutput.styles.js +2 -2
  110. package/dist/TextEditorOutput/TextEditorOutput.styles.js.map +1 -1
  111. package/dist/TextEditorOutput/TextEditorOutput.types.d.ts +10 -3
  112. package/dist/TextEditorOutput/TextEditorOutput.types.js.map +1 -1
  113. package/dist/Thumbnail/Thumbnail.hooks.d.ts +64 -64
  114. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  115. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +1 -1
  116. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  117. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  118. package/dist/Tile/Tile.styles.js +8 -8
  119. package/dist/Title/Title.styles.js +7 -7
  120. package/dist/Toast/Toast.styles.js +3 -3
  121. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  122. package/dist/Token/Token.styles.js +3 -3
  123. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  124. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  125. package/dist/Tooltip/Tooltip.styles.js +2 -2
  126. package/dist/Tree/Tree.styles.js +9 -9
  127. package/dist/Typeahead/Typeahead.styles.js +3 -3
  128. package/dist/Typography/Typography.styles.js +1 -1
  129. package/dist/Typography/Typography.table.story.js +2 -2
  130. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  131. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  132. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  133. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  134. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  135. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  136. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  137. package/dist/_typedoc/Box/Box.types.json +72 -72
  138. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  139. package/dist/_typedoc/Button/Button.types.json +15 -15
  140. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  141. package/dist/_typedoc/Card/Card.types.json +6 -6
  142. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  143. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  144. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  145. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  146. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  147. package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -39
  148. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +30 -30
  149. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  150. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  151. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  152. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  153. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  154. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  155. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  156. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  157. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  158. package/dist/_typedoc/Form/Form.types.json +847 -1131
  159. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  160. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  161. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  162. package/dist/_typedoc/Input/Input.types.json +2 -2
  163. package/dist/_typedoc/Link/Link.types.json +1 -1
  164. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  165. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  166. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  167. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  168. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  169. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  170. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  171. package/dist/_typedoc/NumberInput/NumberInput.types.json +54 -54
  172. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +32 -32
  173. package/dist/_typedoc/PageLayout/PageLayout.types.json +26 -26
  174. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  175. package/dist/_typedoc/Panel/Panel.types.json +30 -30
  176. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  177. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  178. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  179. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  180. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  181. package/dist/_typedoc/Required/Required.types.json +5 -5
  182. package/dist/_typedoc/Search/Search.types.json +18 -18
  183. package/dist/_typedoc/Section/Section.types.json +15 -15
  184. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  185. package/dist/_typedoc/Select/Select.types.json +62 -62
  186. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  187. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  188. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  189. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  190. package/dist/_typedoc/Table/Table.types.json +101 -101
  191. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  192. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  193. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  194. package/dist/_typedoc/TextEditor/TextEditor.types.json +44 -160
  195. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +15 -5
  196. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  197. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  198. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  199. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  200. package/dist/_typedoc/Title/Title.types.json +3 -3
  201. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  202. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  203. package/dist/_typedoc/Token/Token.types.json +7 -7
  204. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  205. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  206. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  207. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  208. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  209. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  210. package/dist/_typedoc/_utils/types.json +3 -3
  211. package/dist/_typedoc/deprecations.json +1 -1
  212. package/dist/_utils/TinyMCE.d.ts +21 -0
  213. package/dist/_utils/TinyMCE.js +86 -0
  214. package/dist/_utils/TinyMCE.js.map +1 -0
  215. package/dist/_utils/props.d.ts +4 -0
  216. package/dist/_utils/props.js +5 -0
  217. package/dist/_utils/props.js.map +1 -0
  218. package/dist/_utils/propsTypedoc.d.ts +0 -1
  219. package/dist/_utils/propsTypedoc.js +0 -1
  220. package/dist/_utils/propsTypedoc.js.map +1 -1
  221. package/dist/index.d.ts +7 -12
  222. package/dist/index.js +9 -17
  223. package/dist/index.js.map +1 -1
  224. package/package.json +5 -13
  225. package/dist/TextEditor/EditorError.d.ts +0 -2
  226. package/dist/TextEditor/EditorError.js +0 -9
  227. package/dist/TextEditor/EditorError.js.map +0 -1
  228. package/dist/TextEditor/StickyToolbar/StickyToolbar.types.d.ts +0 -5
  229. package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js +0 -2
  230. package/dist/TextEditor/StickyToolbar/StickyToolbar.types.js.map +0 -1
  231. package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.d.ts +0 -3
  232. package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js +0 -153
  233. package/dist/TextEditor/StickyToolbar/StickyToolbar.utils.js.map +0 -1
  234. package/dist/TextEditor/StickyToolbar/index.d.ts +0 -4
  235. package/dist/TextEditor/StickyToolbar/index.js +0 -3
  236. package/dist/TextEditor/StickyToolbar/index.js.map +0 -1
  237. package/dist/TextEditor/StickyToolbar/useStickyToolbar.d.ts +0 -2
  238. package/dist/TextEditor/StickyToolbar/useStickyToolbar.js +0 -49
  239. package/dist/TextEditor/StickyToolbar/useStickyToolbar.js.map +0 -1
  240. package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.d.ts +0 -12
  241. package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js +0 -2
  242. package/dist/TextEditor/StickyToolbar/useStickyToolbar.types.js.map +0 -1
  243. package/dist/TextEditor/TextEditorProvider.d.ts +0 -4
  244. package/dist/TextEditor/TextEditorProvider.js +0 -17
  245. package/dist/TextEditor/TextEditorProvider.js.map +0 -1
  246. package/dist/TextEditor/TextEditorProvider.types.d.ts +0 -14
  247. package/dist/TextEditor/TextEditorProvider.types.js +0 -2
  248. package/dist/TextEditor/TextEditorProvider.types.js.map +0 -1
  249. package/dist/TextEditor/license_key.d.ts +0 -2
  250. package/dist/TextEditor/license_key.js +0 -3
  251. package/dist/TextEditor/license_key.js.map +0 -1
  252. package/dist/TextEditor/plugins/CutPlugin/CutCommand.d.ts +0 -5
  253. package/dist/TextEditor/plugins/CutPlugin/CutCommand.js +0 -99
  254. package/dist/TextEditor/plugins/CutPlugin/CutCommand.js.map +0 -1
  255. package/dist/TextEditor/plugins/CutPlugin/CutPlugin.d.ts +0 -5
  256. package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js +0 -56
  257. package/dist/TextEditor/plugins/CutPlugin/CutPlugin.js.map +0 -1
  258. package/dist/TextEditor/plugins/CutPlugin/index.d.ts +0 -1
  259. package/dist/TextEditor/plugins/CutPlugin/index.js +0 -2
  260. package/dist/TextEditor/plugins/CutPlugin/index.js.map +0 -1
  261. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.d.ts +0 -5
  262. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js +0 -40
  263. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/IndentPaddingToMarginPlugin.js.map +0 -1
  264. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.d.ts +0 -1
  265. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js +0 -2
  266. package/dist/TextEditor/plugins/IndentPaddingToMarginPlugin/index.js.map +0 -1
  267. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.d.ts +0 -5
  268. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js +0 -86
  269. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextCommand.js.map +0 -1
  270. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.d.ts +0 -5
  271. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js +0 -56
  272. package/dist/TextEditor/plugins/PasteAsTextPlugin/PasteAsTextPlugin.js.map +0 -1
  273. package/dist/TextEditor/plugins/PasteAsTextPlugin/index.d.ts +0 -1
  274. package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js +0 -2
  275. package/dist/TextEditor/plugins/PasteAsTextPlugin/index.js.map +0 -1
  276. package/dist/TextEditor/plugins/PastePlugin/PasteCommand.d.ts +0 -5
  277. package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js +0 -149
  278. package/dist/TextEditor/plugins/PastePlugin/PasteCommand.js.map +0 -1
  279. package/dist/TextEditor/plugins/PastePlugin/PastePlugin.d.ts +0 -5
  280. package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js +0 -56
  281. package/dist/TextEditor/plugins/PastePlugin/PastePlugin.js.map +0 -1
  282. package/dist/TextEditor/plugins/PastePlugin/index.d.ts +0 -1
  283. package/dist/TextEditor/plugins/PastePlugin/index.js +0 -2
  284. package/dist/TextEditor/plugins/PastePlugin/index.js.map +0 -1
  285. package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.d.ts +0 -6
  286. package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js +0 -87
  287. package/dist/TextEditor/plugins/TabSpacesPlugin/TabSpacesPlugin.js.map +0 -1
  288. package/dist/TextEditor/plugins/TabSpacesPlugin/index.d.ts +0 -1
  289. package/dist/TextEditor/plugins/TabSpacesPlugin/index.js +0 -2
  290. package/dist/TextEditor/plugins/TabSpacesPlugin/index.js.map +0 -1
  291. package/dist/TextEditor/textEditorTheming/icons.d.ts +0 -23
  292. package/dist/TextEditor/textEditorTheming/icons.js +0 -24
  293. package/dist/TextEditor/textEditorTheming/icons.js.map +0 -1
  294. package/dist/TextEditor/textEditorTheming/index.d.ts +0 -1
  295. package/dist/TextEditor/textEditorTheming/index.js +0 -2
  296. package/dist/TextEditor/textEditorTheming/index.js.map +0 -1
  297. package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.d.ts +0 -2
  298. package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js +0 -10
  299. package/dist/TextEditor/textEditorTheming/textEditorTheming.styles.js.map +0 -1
  300. package/dist/TextEditor/useCKEditorCss.d.ts +0 -3
  301. package/dist/TextEditor/useCKEditorCss.js +0 -36
  302. package/dist/TextEditor/useCKEditorCss.js.map +0 -1
  303. package/dist/TextEditor/useTabAsNavigation.d.ts +0 -11
  304. package/dist/TextEditor/useTabAsNavigation.js +0 -29
  305. package/dist/TextEditor/useTabAsNavigation.js.map +0 -1
  306. package/dist/TextEditor/utils/config.d.ts +0 -3
  307. package/dist/TextEditor/utils/config.js +0 -177
  308. package/dist/TextEditor/utils/config.js.map +0 -1
  309. package/dist/TextEditor/utils/index.d.ts +0 -2
  310. package/dist/TextEditor/utils/index.js +0 -3
  311. package/dist/TextEditor/utils/index.js.map +0 -1
  312. package/dist/TextEditor/utils/locale.d.ts +0 -3
  313. package/dist/TextEditor/utils/locale.js +0 -102
  314. package/dist/TextEditor/utils/locale.js.map +0 -1
  315. package/dist/TextEditor/utils/plugins.d.ts +0 -7
  316. package/dist/TextEditor/utils/plugins.js +0 -184
  317. package/dist/TextEditor/utils/plugins.js.map +0 -1
  318. package/dist/TextEditorOutput/TextEditorOutput.utils.d.ts +0 -2
  319. package/dist/TextEditorOutput/TextEditorOutput.utils.js +0 -59
  320. package/dist/TextEditorOutput/TextEditorOutput.utils.js.map +0 -1
  321. package/dist/_typedoc/TextEditor/TextEditorProvider.types.json +0 -28
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","getMonthLabel","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","tinyMCE","defaultPlugins","generateExternalPlugins","_plugins","_basePlugins","generateLanguageUrl","_locale","config"],"sources":["../src/index.ts"],"sourcesContent":["// export const version = process.env.VERSION\nexport * from './AnchorNavigation'\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './DetailPageTemplate'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileSelect/ThumbnailList'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './GhostPlaceholder'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './NextTile'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './PageTemplate'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport { type SectionProps } from './Section'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './SettingsPageTemplate'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SplitViewCard'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './TextInput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './ToolLandingPage'\nexport * from './ToolLandingPageTemplate'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\nexport { getMonthLabel } from './_utils/CalendarHelpers'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\nexport type { DivAttributes, Placement, SpanAttributes } from './_utils/types'\n\n/**\n * @deprecated Empty objects and mock APIs. Rely on TextEditor props only. CKEditor replaces TinyMCE\n * @deprecatedSince 12.26.0 no-op since 12.27.0\n */\nexport const tinyMCE = {\n /** @deprecated Does nothing. Rely on TextEditor props only. */\n defaultPlugins: [],\n /** @deprecated Does nothing. Rely on TextEditor props only. */\n generateExternalPlugins: (_plugins: string[], _basePlugins?: string[]) => [],\n /** @deprecated Does nothing. Rely on TextEditor props only. */\n generateLanguageUrl: (_locale: string) => '',\n /** @deprecated Does nothing. Rely on TextEditor props only. */\n config: {},\n}\n"],"mappings":"AAAA;AACA,cAAc,oBAAoB;AAClC,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,cAAc;AAC5B,cAAc,sBAAsB;AACpC,cAAc,YAAY;AAC1B,cAAc,kBAAkB;AAChC,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,SAASA,iBAAiB,QAAQ,SAAS;AAC3C,cAAc,YAAY;AAC1B,cAAc,cAAc;AAC5B,cAAc,4BAA4B;AAC1C,cAAc,aAAa;AAC3B,cAAc,eAAe;AAC7B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB;AACA;AACA;AACA;AACA,SAASC,cAAc,QAAQ,QAAQ;AACvC,cAAc,oBAAoB;AAClC,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAA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AiB;AAC/B,cAAc,eAAe;AAC7B,cAAc,yBAAyB;AACvC,cAAc,yBAAyB;AACvC,cAAc,2BAA2B;AACzC,cAAc,iBAAiB;AAC/B;AACA;AACA;AACA,SAASC,iBAAiB,IAAIC,wBAAwB,QAAQ,yBAAyB;AACvF,cAAc,iBAAiB;AAC/B,cAAc,oBAAoB;AAClC,cAAc,gBAAgB;AAC9B,cAAc,kBAAkB;AAChC;AACA;AACA;;AAMA,cAAc,qBAAqB;AACnC,cAAc,iBAAiB;AAC/B;AACA,SACEC,YAAY,EACZC,eAAe,IAAIC,sBAAsB,QACpC,wBAAwB;AAC/B,cAAc,kBAAkB;AAChC;AACA;AACA;AACA,SACEC,WAAW,IAAIC,kBAAkB,EACjCC,QAAQ,IAAIC,eAAe,EAC3BC,YAAY,IAAIC,mBAAmB,QAC9B,kBAAkB;AACzB,cAAc,mBAAmB;AACjC;AACA;AACA;AACA,SAASC,gBAAgB,IAAIC,uBAAuB,QAAQ,2BAA2B;AACvF,SAASC,aAAa,QAAQ,0BAA0B;AACxD;AACA;AACA;AACA,SAASC,kBAAkB,QAAQ,mBAAmB;AACtD;AACA;AACA;AACA,SAASC,aAAa,IAAIC,oBAAoB,QAAQ,mBAAmB;AACzE;AACA;AACA;AACA,SAASC,SAAS,IAAIC,gBAAgB,QAAQ,oBAAoB;AAClE;;AAGA;AACA;AACA;AACA;AACA,OAAO,IAAMC,OAAO,GAAG;EACrB;EACAC,cAAc,EAAE,EAAE;EAClB;EACAC,uBAAuB,EAAE,SAAzBA,uBAAuBA,CAAGC,QAAkB,EAAEC,YAAuB;IAAA,OAAK,EAAE;EAAA;EAC5E;EACAC,mBAAmB,EAAE,SAArBA,mBAAmBA,CAAGC,OAAe;IAAA,OAAK,EAAE;EAAA;EAC5C;EACAC,MAAM,EAAE,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"index.js","names":["defaultPlugins","generateExternalPlugins","generateLanguageUrl","tinyMCEConfig","StyledFieldHeader","BETA_makeField","getI18nProviderLocale","useResizeObserver","UNSAFE_useResizeObserver","borderRadius","getBorderRadius","UNSAFE_getBorderRadius","getEllipsis","UNSAFE_getEllipsis","getFocus","UNSAFE_getFocus","getLineClamp","UNSAFE_getLineClamp","addSubcomponents","UNSAFE_addSubcomponents","getMonthLabel","intlDateTimeFormat","parseFilename","UNSAFE_parseFilename","mergeRefs","UNSAFE_mergeRefs","docsProps","UNSAFE_props","tinyMCE","config"],"sources":["../src/index.ts"],"sourcesContent":["import {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n tinyMCEConfig,\n} from './_utils/TinyMCE'\n\n// export const version = process.env.VERSION\nexport * from './AnchorNavigation'\nexport * from './Avatar'\nexport * from './AvatarStack'\nexport * from './Badge'\nexport * from './Banner'\nexport * from './Box'\nexport * from './Breadcrumbs'\nexport * from './Button'\nexport * from './Calendar'\nexport * from './Card'\nexport * from './Checkbox'\nexport * from './ClickOutside'\nexport * from './ContactItem'\nexport * from './Content'\nexport * from './DateInput'\nexport * from './DateSelect'\nexport * from './DetailPage'\nexport * from './DetailPageTemplate'\nexport * from './Dropdown'\nexport * from './DropdownFlyout'\nexport * from './Dropzone'\nexport * from './EmptyState'\nexport { StyledFieldHeader } from './Field'\nexport * from './FileList'\nexport * from './FileSelect'\nexport * from './FileSelect/ThumbnailList'\nexport * from './FileToken'\nexport * from './FilterToken'\nexport * from './Flex'\nexport * from './FlexList'\nexport * from './Form'\n/**\n * @internal\n * Will require extending types FormFieldProps and FormFieldValueComponentProps\n */\nexport { BETA_makeField } from './Form'\nexport * from './GhostPlaceholder'\nexport * from './Grid'\nexport * from './GroupSelect'\nexport * from './Input'\nexport * from './Link'\nexport * from './ListPage'\nexport * from './Menu'\nexport * from './MenuImperative'\nexport * from './Modal'\nexport * from './MultiSelect'\nexport * from './NextTile'\nexport * from './Notation'\nexport * from './NumberInput'\nexport * from './Overlay'\nexport * from './OverlayTrigger'\nexport * from './PageLayout'\nexport * from './PageTemplate'\nexport * from './Pagination'\nexport * from './Panel'\nexport * from './Pill'\nexport * from './PillSelect'\nexport * from './Popover'\nexport * from './Portal'\nexport * from './ProgressBar'\nexport * from './RadioButton'\nexport * from './Required'\nexport * from './Search'\nexport { type SectionProps } from './Section'\nexport * from './SegmentedController'\nexport * from './Select'\nexport * from './Semantic'\nexport * from './SettingsPage'\nexport * from './SettingsPageTemplate'\nexport * from './Slider'\nexport * from './Spinner'\nexport * from './SplitViewCard'\nexport * from './SuperSelect'\nexport * from './Switch'\nexport * from './Table'\nexport * from './TableShelf'\nexport * from './Tabs'\nexport * from './Tearsheet'\nexport * from './TextArea'\nexport * from './TextEditor'\nexport * from './TextEditorOutput'\nexport * from './TextInput'\nexport * from './Thumbnail'\nexport * from './TieredDropdown'\nexport * from './TieredSelect'\nexport * from './Tile'\nexport * from './Title'\nexport * from './Toast'\nexport * from './ToggleButton'\nexport * from './Token'\nexport * from './ToolHeader'\nexport * from './ToolLandingPage'\nexport * from './ToolLandingPageTemplate'\nexport * from './Tooltip'\nexport * from './Tree'\nexport * from './Typeahead'\nexport * from './Typography'\nexport * from './_hooks/Anchor'\nexport * from './_hooks/Buffer'\nexport * from './_hooks/ClickOutside'\nexport * from './_hooks/DateTime'\nexport * from './_hooks/DelayedCallback'\nexport * from './_hooks/DelayedToggle'\nexport * from './_hooks/Deprecation'\nexport * from './_hooks/EventListener'\nexport { getI18nProviderLocale } from './_hooks/getI18nProviderLocale'\nexport * from './_hooks/Hotkey'\nexport * from './_hooks/I18n'\nexport * from './_hooks/InjectedScript'\nexport * from './_hooks/ListNavigation'\nexport * from './_hooks/OverflowObserver'\nexport * from './_hooks/Resize'\n/**\n * @internal\n */\nexport { useResizeObserver as UNSAFE_useResizeObserver } from './_hooks/ResizeObserver'\nexport * from './_hooks/Scroll'\nexport * from './_hooks/TextEntry'\nexport * from './_hooks/Timer'\nexport * from './_hooks/Trigger'\n/**\n * @internal\n */\nexport {\n type UNSAFE_GetEndpoint,\n type UNSAFE_GetPayloadKey,\n type UNSAFE_UploadFile,\n} from './_hooks/useFileUploader'\nexport * from './_hooks/Visibility'\nexport * from './_hooks/ZIndex'\n// Style Stuff\nexport {\n borderRadius,\n getBorderRadius as UNSAFE_getBorderRadius,\n} from './_styles/borderRadius'\nexport * from './_styles/colors'\n/**\n * @internal\n */\nexport {\n getEllipsis as UNSAFE_getEllipsis,\n getFocus as UNSAFE_getFocus,\n getLineClamp as UNSAFE_getLineClamp,\n} from './_styles/mixins'\nexport * from './_styles/spacing'\n/**\n * @internal\n */\nexport { addSubcomponents as UNSAFE_addSubcomponents } from './_utils/addSubcomponents'\nexport { getMonthLabel } from './_utils/CalendarHelpers'\n/**\n * @internal\n */\nexport { intlDateTimeFormat } from './_utils/dateTime'\n/**\n * @internal\n */\nexport { parseFilename as UNSAFE_parseFilename } from './_utils/filename'\n/**\n * @internal\n */\nexport { mergeRefs as UNSAFE_mergeRefs } from './_utils/mergeRefs'\n// export { getTypographyIntent, typographyWeights } from './Typography'\n// For documentation only\nexport { docsProps as UNSAFE_props } from './_utils/props'\nexport type { DivAttributes, Placement, SpanAttributes } from './_utils/types'\n\n/** @deprecated */\nexport const tinyMCE = {\n defaultPlugins,\n generateExternalPlugins,\n generateLanguageUrl,\n config: tinyMCEConfig,\n}\n"],"mappings":"AAAA,SACEA,cAAc,EACdC,uBAAuB,EACvBC,mBAAmB,EACnBC,aAAa,QACR,kBAAkB;;AAEzB;AACA,cAAc,oBAAoB;AAClC,cAAc,UAAU;AACxB,cAAc,eAAe;AAC7B,cAAc,SAAS;AACvB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,eAAe;AAC7B,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,YAAY;AAC1B,cAAc,gBAAgB;AAC9B,cAAc,eAAe;AAC7B,cAAc,WAAW;AACzB,cAAc,aAAa;AAC3B,cAAc,cAAc;AAC5B,cAAc,cAAc;AAC5B,cAAc,sBAAsB;AACpC,cAAc,YAAY;AAC1B,cA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AAIC,gBAAgB,QAAQ,oBAAoB;AAClE;AACA;AACA,SAASC,SAAS,IAAIC,YAAY,QAAQ,gBAAgB;AAG1D;AACA,OAAO,IAAMC,OAAO,GAAG;EACrB5B,cAAc,EAAdA,cAAc;EACdC,uBAAuB,EAAvBA,uBAAuB;EACvBC,mBAAmB,EAAnBA,mBAAmB;EACnB2B,MAAM,EAAE1B;AACV,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/core-react",
3
- "version": "12.28.1",
3
+ "version": "12.29.0",
4
4
  "description": "React library of Procore Design Guidelines",
5
5
  "author": "Procore Technologies",
6
6
  "homepage": "https://github.com/procore/core/tree/main/packages/core-react",
@@ -12,13 +12,13 @@
12
12
  "bugs": "https://github.com/procore/core/issues",
13
13
  "license": "SEE LICENSE IN LICENSE",
14
14
  "keywords": [
15
- "javascript",
16
15
  "components",
17
- "react",
16
+ "javascript",
18
17
  "js",
19
18
  "jsx",
20
19
  "library",
21
- "procore"
20
+ "procore",
21
+ "react"
22
22
  ],
23
23
  "publishConfig": {
24
24
  "access": "public"
@@ -81,7 +81,6 @@
81
81
  "dependencies": {
82
82
  "@atlaskit/pragmatic-drag-and-drop": "1.3.0",
83
83
  "@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "1.2.1",
84
- "@ckeditor/ckeditor5-react": "^11.0.0",
85
84
  "@floating-ui/react": "0.25.2",
86
85
  "@floating-ui/react-dom": "2.0.2",
87
86
  "@procore/cdn-translations": "0.1.13",
@@ -97,8 +96,8 @@
97
96
  "@react-aria/utils": "3.23.2",
98
97
  "@react-aria/visually-hidden": "3.4.1",
99
98
  "@react-types/checkbox": "3.4.1",
99
+ "@tinymce/tinymce-react": "6.1.0",
100
100
  "axios": "^1.12.1",
101
- "ckeditor5": "^46.0.1",
102
101
  "classnames": "2.3.2",
103
102
  "date-fns": "2.29.1",
104
103
  "date-fns-tz": "2.0.0",
@@ -115,7 +114,6 @@
115
114
  "react-virtuoso": "2.16.1",
116
115
  "react-window": "^1.8.7",
117
116
  "react-window-infinite-loader": "^1.0.9",
118
- "sanitize-html": "^2.17.0",
119
117
  "ulid": "2.3.0"
120
118
  },
121
119
  "devDependencies": {
@@ -128,8 +126,6 @@
128
126
  "@babel/preset-react": "7.18.6",
129
127
  "@babel/preset-typescript": "7.18.6",
130
128
  "@babel/register": "7.18.9",
131
- "@ckeditor/ckeditor5-dev-utils": "^43.1.0",
132
- "@ckeditor/ckeditor5-dev-webpack-plugin": "^31.1.13",
133
129
  "@dotenvx/dotenvx": "1.24.0",
134
130
  "@figma/code-connect": "^1.3.1",
135
131
  "@procore/globalization-toolkit": "3.0.0",
@@ -164,7 +160,6 @@
164
160
  "@types/react-dom": "18.3.1",
165
161
  "@types/react-window": "1.8.5",
166
162
  "@types/react-window-infinite-loader": "1.0.6",
167
- "@types/sanitize-html": "^2.16.0",
168
163
  "@types/testing-library__jest-dom": "5.14.5",
169
164
  "@types/yup": "0.29.14",
170
165
  "@typescript-eslint/eslint-plugin": "5.48.2",
@@ -174,7 +169,6 @@
174
169
  "babel-loader": "8.2.5",
175
170
  "babel-plugin-styled-components": "2.1.4",
176
171
  "chromatic": "^13.1.3",
177
- "css-loader": "^7.1.2",
178
172
  "eslint": "8.31.0",
179
173
  "eslint-config-prettier": "8.6.0",
180
174
  "eslint-config-react-app": "^7.0.1",
@@ -185,13 +179,11 @@
185
179
  "jest-axe": "^7.0.1",
186
180
  "jest-styled-components": "7.2.0",
187
181
  "miragejs": "^0.1.47",
188
- "postcss-loader": "^8.1.1",
189
182
  "raf-stub": "^3.0.0",
190
183
  "react": "18.3.1",
191
184
  "react-dom": "18.3.1",
192
185
  "rimraf": "^6.0.1",
193
186
  "storybook": "^7.5.3",
194
- "style-loader": "^4.0.0",
195
187
  "styled-components": "6.1.18",
196
188
  "ts-jest": "^29.0.5",
197
189
  "ts-node": "10.9.1",
@@ -1,2 +0,0 @@
1
- import React, { type PropsWithChildren } from 'react';
2
- export declare const EditorError: ({ children }: PropsWithChildren<{}>) => React.JSX.Element;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { Banner } from '../Banner';
3
- export var EditorError = function EditorError(_ref) {
4
- var children = _ref.children;
5
- return /*#__PURE__*/React.createElement(Banner, {
6
- variant: "error"
7
- }, /*#__PURE__*/React.createElement(Banner.Content, null, /*#__PURE__*/React.createElement(Banner.Body, null, children)));
8
- };
9
- //# sourceMappingURL=EditorError.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EditorError.js","names":["React","Banner","EditorError","_ref","children","createElement","variant","Content","Body"],"sources":["../../src/TextEditor/EditorError.tsx"],"sourcesContent":["import React, { type PropsWithChildren } from 'react'\nimport { Banner } from '../Banner'\n\nexport const EditorError = ({ children }: PropsWithChildren<{}>) => {\n return (\n <Banner variant=\"error\">\n <Banner.Content>\n <Banner.Body>{children}</Banner.Body>\n </Banner.Content>\n </Banner>\n )\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAkC,OAAO;AACrD,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAA4C;EAAA,IAAtCC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;EACpC,oBACEJ,KAAA,CAAAK,aAAA,CAACJ,MAAM;IAACK,OAAO,EAAC;EAAO,gBACrBN,KAAA,CAAAK,aAAA,CAACJ,MAAM,CAACM,OAAO,qBACbP,KAAA,CAAAK,aAAA,CAACJ,MAAM,CAACO,IAAI,QAAEJ,QAAsB,CACtB,CACV,CAAC;AAEb,CAAC"}
@@ -1,5 +0,0 @@
1
- export interface StickyToolbarState {
2
- toolbar: HTMLElement | null;
3
- placeholder: HTMLElement | null;
4
- isSticky: boolean;
5
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=StickyToolbar.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StickyToolbar.types.js","names":[],"sources":["../../../src/TextEditor/StickyToolbar/StickyToolbar.types.ts"],"sourcesContent":["export interface StickyToolbarState {\n toolbar: HTMLElement | null\n placeholder: HTMLElement | null\n isSticky: boolean\n}\n"],"mappings":""}
@@ -1,3 +0,0 @@
1
- export declare function createStickyToolbar(editorContainer: HTMLElement): {
2
- destroy: () => void;
3
- };
@@ -1,153 +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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
3
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
4
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
5
- 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; }
6
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
7
- 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); }
8
- var StickyToolbarManager = /*#__PURE__*/function () {
9
- function StickyToolbarManager() {
10
- var _this = this;
11
- _classCallCheck(this, StickyToolbarManager);
12
- _defineProperty(this, "state", {
13
- toolbar: null,
14
- placeholder: null,
15
- isSticky: false
16
- });
17
- _defineProperty(this, "handleScroll", function () {
18
- var _this$state = _this.state,
19
- toolbar = _this$state.toolbar,
20
- placeholder = _this$state.placeholder;
21
- if (!toolbar || !placeholder) {
22
- return;
23
- }
24
- var editorContainer = toolbar.closest('.ck-editor');
25
- if (!editorContainer) {
26
- return;
27
- }
28
- var editorRect = editorContainer.getBoundingClientRect();
29
- var toolbarHeight = toolbar.offsetHeight;
30
- var shouldBeSticky = editorRect.top <= 0 && editorRect.bottom > toolbarHeight;
31
- if (shouldBeSticky !== _this.state.isSticky) {
32
- _this.toggleSticky(shouldBeSticky, editorRect);
33
- } else if (shouldBeSticky) {
34
- _this.updatePosition(editorRect);
35
- }
36
- });
37
- }
38
- return _createClass(StickyToolbarManager, [{
39
- key: "toggleSticky",
40
- value: function toggleSticky(sticky, editorRect) {
41
- var _this$state2 = this.state,
42
- toolbar = _this$state2.toolbar,
43
- placeholder = _this$state2.placeholder;
44
- if (!toolbar || !placeholder) {
45
- return;
46
- }
47
- this.state.isSticky = sticky;
48
- if (sticky) {
49
- placeholder.style.height = "".concat(toolbar.offsetHeight, "px");
50
- Object.assign(toolbar.style, {
51
- position: 'fixed',
52
- top: '0px',
53
- left: "".concat(editorRect.left, "px"),
54
- width: "".concat(editorRect.width, "px"),
55
- zIndex: '1000',
56
- background: 'var(--ck-color-toolbar-background, #fff)',
57
- borderBottom: '1px solid var(--ck-color-toolbar-border, #ccc)'
58
- });
59
- } else {
60
- placeholder.style.height = '0px';
61
- this.resetToolbarStyles(toolbar);
62
- }
63
- }
64
- }, {
65
- key: "updatePosition",
66
- value: function updatePosition(editorRect) {
67
- var toolbar = this.state.toolbar;
68
- if (!toolbar) {
69
- return;
70
- }
71
- toolbar.style.left = "".concat(editorRect.left, "px");
72
- toolbar.style.width = "".concat(editorRect.width, "px");
73
- }
74
- }, {
75
- key: "resetToolbarStyles",
76
- value: function resetToolbarStyles(toolbar) {
77
- Object.assign(toolbar.style, {
78
- position: '',
79
- top: '',
80
- left: '',
81
- width: '',
82
- zIndex: '',
83
- background: '',
84
- borderBottom: ''
85
- });
86
- }
87
- }, {
88
- key: "init",
89
- value: function init(editorContainer) {
90
- var _toolbar$parentNode;
91
- var toolbar = editorContainer.querySelector('.ck-toolbar');
92
- if (!toolbar) {
93
- return false;
94
- }
95
- this.resetToolbarStyles(toolbar);
96
- var placeholder = document.createElement('div');
97
- placeholder.style.height = '0px';
98
- placeholder.style.visibility = 'hidden';
99
- (_toolbar$parentNode = toolbar.parentNode) === null || _toolbar$parentNode === void 0 ? void 0 : _toolbar$parentNode.insertBefore(placeholder, toolbar);
100
- this.state = {
101
- toolbar: toolbar,
102
- placeholder: placeholder,
103
- isSticky: false
104
- };
105
- window.addEventListener('scroll', this.handleScroll);
106
- window.addEventListener('resize', this.handleScroll);
107
- this.handleScroll();
108
- return true;
109
- }
110
- }, {
111
- key: "destroy",
112
- value: function destroy() {
113
- window.removeEventListener('scroll', this.handleScroll);
114
- window.removeEventListener('resize', this.handleScroll);
115
- if (this.state.isSticky && this.state.toolbar) {
116
- this.toggleSticky(false, new DOMRect());
117
- }
118
- if (this.state.placeholder) {
119
- this.state.placeholder.remove();
120
- }
121
- this.state = {
122
- toolbar: null,
123
- placeholder: null,
124
- isSticky: false
125
- };
126
- }
127
- }]);
128
- }();
129
- export function createStickyToolbar(editorContainer) {
130
- var manager = new StickyToolbarManager();
131
- var retryTimeout = null;
132
- var retryCount = 0;
133
- var maxRetries = 50;
134
- var _init = function init() {
135
- if (!manager.init(editorContainer)) {
136
- if (retryCount < maxRetries) {
137
- retryCount++;
138
- retryTimeout = setTimeout(_init, 100);
139
- }
140
- }
141
- };
142
- _init();
143
- return {
144
- destroy: function destroy() {
145
- if (retryTimeout) {
146
- clearTimeout(retryTimeout);
147
- retryTimeout = null;
148
- }
149
- manager.destroy();
150
- }
151
- };
152
- }
153
- //# sourceMappingURL=StickyToolbar.utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StickyToolbar.utils.js","names":["StickyToolbarManager","_this","_classCallCheck","_defineProperty","toolbar","placeholder","isSticky","_this$state","state","editorContainer","closest","editorRect","getBoundingClientRect","toolbarHeight","offsetHeight","shouldBeSticky","top","bottom","toggleSticky","updatePosition","_createClass","key","value","sticky","_this$state2","style","height","concat","Object","assign","position","left","width","zIndex","background","borderBottom","resetToolbarStyles","init","_toolbar$parentNode","querySelector","document","createElement","visibility","parentNode","insertBefore","window","addEventListener","handleScroll","destroy","removeEventListener","DOMRect","remove","createStickyToolbar","manager","retryTimeout","retryCount","maxRetries","setTimeout","clearTimeout"],"sources":["../../../src/TextEditor/StickyToolbar/StickyToolbar.utils.ts"],"sourcesContent":["import type { StickyToolbarState } from './StickyToolbar.types'\n\nclass StickyToolbarManager {\n private state: StickyToolbarState = {\n toolbar: null,\n placeholder: null,\n isSticky: false,\n }\n\n private handleScroll = () => {\n const { toolbar, placeholder } = this.state\n if (!toolbar || !placeholder) {\n return\n }\n\n const editorContainer = toolbar.closest('.ck-editor')\n if (!editorContainer) {\n return\n }\n\n const editorRect = editorContainer.getBoundingClientRect()\n const toolbarHeight = toolbar.offsetHeight\n const shouldBeSticky =\n editorRect.top <= 0 && editorRect.bottom > toolbarHeight\n\n if (shouldBeSticky !== this.state.isSticky) {\n this.toggleSticky(shouldBeSticky, editorRect)\n } else if (shouldBeSticky) {\n this.updatePosition(editorRect)\n }\n }\n\n private toggleSticky(sticky: boolean, editorRect: DOMRect) {\n const { toolbar, placeholder } = this.state\n if (!toolbar || !placeholder) {\n return\n }\n\n this.state.isSticky = sticky\n\n if (sticky) {\n placeholder.style.height = `${toolbar.offsetHeight}px`\n Object.assign(toolbar.style, {\n position: 'fixed',\n top: '0px',\n left: `${editorRect.left}px`,\n width: `${editorRect.width}px`,\n zIndex: '1000',\n background: 'var(--ck-color-toolbar-background, #fff)',\n borderBottom: '1px solid var(--ck-color-toolbar-border, #ccc)',\n })\n } else {\n placeholder.style.height = '0px'\n this.resetToolbarStyles(toolbar)\n }\n }\n\n private updatePosition(editorRect: DOMRect) {\n const { toolbar } = this.state\n if (!toolbar) {\n return\n }\n\n toolbar.style.left = `${editorRect.left}px`\n toolbar.style.width = `${editorRect.width}px`\n }\n\n private resetToolbarStyles(toolbar: HTMLElement) {\n Object.assign(toolbar.style, {\n position: '',\n top: '',\n left: '',\n width: '',\n zIndex: '',\n background: '',\n borderBottom: '',\n })\n }\n\n init(editorContainer: HTMLElement): boolean {\n const toolbar = editorContainer.querySelector('.ck-toolbar') as HTMLElement\n if (!toolbar) {\n return false\n }\n\n this.resetToolbarStyles(toolbar)\n\n const placeholder = document.createElement('div')\n placeholder.style.height = '0px'\n placeholder.style.visibility = 'hidden'\n toolbar.parentNode?.insertBefore(placeholder, toolbar)\n\n this.state = { toolbar, placeholder, isSticky: false }\n\n window.addEventListener('scroll', this.handleScroll)\n window.addEventListener('resize', this.handleScroll)\n\n this.handleScroll()\n\n return true\n }\n\n destroy(): void {\n window.removeEventListener('scroll', this.handleScroll)\n window.removeEventListener('resize', this.handleScroll)\n\n if (this.state.isSticky && this.state.toolbar) {\n this.toggleSticky(false, new DOMRect())\n }\n\n if (this.state.placeholder) {\n this.state.placeholder.remove()\n }\n\n this.state = { toolbar: null, placeholder: null, isSticky: false }\n }\n}\n\nexport function createStickyToolbar(editorContainer: HTMLElement) {\n const manager = new StickyToolbarManager()\n let retryTimeout: ReturnType<typeof setTimeout> | null = null\n let retryCount = 0\n const maxRetries = 50\n\n const init = () => {\n if (!manager.init(editorContainer)) {\n if (retryCount < maxRetries) {\n retryCount++\n retryTimeout = setTimeout(init, 100)\n }\n }\n }\n\n init()\n\n return {\n destroy: () => {\n if (retryTimeout) {\n clearTimeout(retryTimeout)\n retryTimeout = null\n }\n manager.destroy()\n },\n }\n}\n"],"mappings":";;;;;;;IAEMA,oBAAoB;EAAA,SAAAA,qBAAA;IAAA,IAAAC,KAAA;IAAAC,eAAA,OAAAF,oBAAA;IAAAG,eAAA,gBACY;MAClCC,OAAO,EAAE,IAAI;MACbC,WAAW,EAAE,IAAI;MACjBC,QAAQ,EAAE;IACZ,CAAC;IAAAH,eAAA,uBAEsB,YAAM;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,CAAC;MACjC;MAEA,IAAI,CAAC3C,KAAK,GAAG;QAAEJ,OAAO,EAAE,IAAI;QAAEC,WAAW,EAAE,IAAI;QAAEC,QAAQ,EAAE;MAAM,CAAC;IACpE;EAAC;AAAA;AAGH,OAAO,SAAS8C,mBAAmBA,CAAC3C,eAA4B,EAAE;EAChE,IAAM4C,OAAO,GAAG,IAAIrD,oBAAoB,CAAC,CAAC;EAC1C,IAAIsD,YAAkD,GAAG,IAAI;EAC7D,IAAIC,UAAU,GAAG,CAAC;EAClB,IAAMC,UAAU,GAAG,EAAE;EAErB,IAAMnB,KAAI,GAAG,SAAPA,IAAIA,CAAA,EAAS;IACjB,IAAI,CAACgB,OAAO,CAAChB,IAAI,CAAC5B,eAAe,CAAC,EAAE;MAClC,IAAI8C,UAAU,GAAGC,UAAU,EAAE;QAC3BD,UAAU,EAAE;QACZD,YAAY,GAAGG,UAAU,CAACpB,KAAI,EAAE,GAAG,CAAC;MACtC;IACF;EACF,CAAC;EAEDA,KAAI,CAAC,CAAC;EAEN,OAAO;IACLW,OAAO,EAAE,SAATA,OAAOA,CAAA,EAAQ;MACb,IAAIM,YAAY,EAAE;QAChBI,YAAY,CAACJ,YAAY,CAAC;QAC1BA,YAAY,GAAG,IAAI;MACrB;MACAD,OAAO,CAACL,OAAO,CAAC,CAAC;IACnB;EACF,CAAC;AACH"}
@@ -1,4 +0,0 @@
1
- export type { StickyToolbarState } from './StickyToolbar.types';
2
- export { createStickyToolbar } from './StickyToolbar.utils';
3
- export { useStickyToolbar } from './useStickyToolbar';
4
- export type { UseStickyToolbarProps, UseStickyToolbarReturn, } from './useStickyToolbar.types';
@@ -1,3 +0,0 @@
1
- export { createStickyToolbar } from './StickyToolbar.utils';
2
- export { useStickyToolbar } from './useStickyToolbar';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["createStickyToolbar","useStickyToolbar"],"sources":["../../../src/TextEditor/StickyToolbar/index.ts"],"sourcesContent":["export type { StickyToolbarState } from './StickyToolbar.types'\nexport { createStickyToolbar } from './StickyToolbar.utils'\nexport { useStickyToolbar } from './useStickyToolbar'\nexport type {\n UseStickyToolbarProps,\n UseStickyToolbarReturn,\n} from './useStickyToolbar.types'\n"],"mappings":"AACA,SAASA,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,gBAAgB,QAAQ,oBAAoB"}
@@ -1,2 +0,0 @@
1
- import type { UseStickyToolbarProps, UseStickyToolbarReturn } from './useStickyToolbar.types';
2
- export declare function useStickyToolbar({ enabled, editorRef, config, editor, cssLoading, }: UseStickyToolbarProps): UseStickyToolbarReturn;
@@ -1,49 +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 ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- 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; }
5
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
- 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); }
7
- import { useEffect, useMemo } from 'react';
8
- import { createStickyToolbar } from './StickyToolbar.utils';
9
- export function useStickyToolbar(_ref) {
10
- var enabled = _ref.enabled,
11
- editorRef = _ref.editorRef,
12
- config = _ref.config,
13
- editor = _ref.editor,
14
- _ref$cssLoading = _ref.cssLoading,
15
- cssLoading = _ref$cssLoading === void 0 ? false : _ref$cssLoading;
16
- var enhancedConfig = useMemo(function () {
17
- if (!enabled) {
18
- return config;
19
- }
20
-
21
- // Disable CKEditor's built-in sticky toolbar
22
- return _objectSpread(_objectSpread({}, config), {}, {
23
- ui: _objectSpread(_objectSpread({}, config.ui), {}, {
24
- viewportOffset: {
25
- top: 10000,
26
- right: 0,
27
- bottom: 0,
28
- left: 0
29
- }
30
- })
31
- });
32
- }, [enabled, config]);
33
- useEffect(function () {
34
- if (!enabled || !editorRef.current || cssLoading) {
35
- return;
36
- }
37
-
38
- // Disable CKEditor's built-in sticky toolbar
39
- if (editor !== null && editor !== void 0 && editor.ui.view.stickyPanel) {
40
- editor.ui.view.stickyPanel.isActive = false;
41
- }
42
- var stickyToolbar = createStickyToolbar(editorRef.current);
43
- return stickyToolbar.destroy;
44
- }, [enabled, editorRef, editor, cssLoading]);
45
- return {
46
- config: enhancedConfig
47
- };
48
- }
49
- //# sourceMappingURL=useStickyToolbar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStickyToolbar.js","names":["useEffect","useMemo","createStickyToolbar","useStickyToolbar","_ref","enabled","editorRef","config","editor","_ref$cssLoading","cssLoading","enhancedConfig","_objectSpread","ui","viewportOffset","top","right","bottom","left","current","view","stickyPanel","isActive","stickyToolbar","destroy"],"sources":["../../../src/TextEditor/StickyToolbar/useStickyToolbar.ts"],"sourcesContent":["import { useEffect, useMemo } from 'react'\n\nimport { createStickyToolbar } from './StickyToolbar.utils'\nimport type {\n UseStickyToolbarProps,\n UseStickyToolbarReturn,\n} from './useStickyToolbar.types'\n\nexport function useStickyToolbar({\n enabled,\n editorRef,\n config,\n editor,\n cssLoading = false,\n}: UseStickyToolbarProps): UseStickyToolbarReturn {\n const enhancedConfig = useMemo(() => {\n if (!enabled) {\n return config\n }\n\n // Disable CKEditor's built-in sticky toolbar\n return {\n ...config,\n ui: {\n ...config.ui,\n viewportOffset: {\n top: 10000,\n right: 0,\n bottom: 0,\n left: 0,\n },\n },\n }\n }, [enabled, config])\n\n useEffect(() => {\n if (!enabled || !editorRef.current || cssLoading) {\n return\n }\n\n // Disable CKEditor's built-in sticky toolbar\n if (editor?.ui.view.stickyPanel) {\n editor.ui.view.stickyPanel.isActive = false\n }\n\n const stickyToolbar = createStickyToolbar(editorRef.current)\n return stickyToolbar.destroy\n }, [enabled, editorRef, editor, cssLoading])\n\n return { config: enhancedConfig }\n}\n"],"mappings":";;;;;;AAAA,SAASA,SAAS,EAAEC,OAAO,QAAQ,OAAO;AAE1C,SAASC,mBAAmB,QAAQ,uBAAuB;AAM3D,OAAO,SAASC,gBAAgBA,CAAAC,IAAA,EAMkB;EAAA,IALhDC,OAAO,GAAAD,IAAA,CAAPC,OAAO;IACPC,SAAS,GAAAF,IAAA,CAATE,SAAS;IACTC,MAAM,GAAAH,IAAA,CAANG,MAAM;IACNC,MAAM,GAAAJ,IAAA,CAANI,MAAM;IAAAC,eAAA,GAAAL,IAAA,CACNM,UAAU;IAAVA,UAAU,GAAAD,eAAA,cAAG,KAAK,GAAAA,eAAA;EAElB,IAAME,cAAc,GAAGV,OAAO,CAAC,YAAM;IACnC,IAAI,CAACI,OAAO,EAAE;MACZ,OAAOE,MAAM;IACf;;IAEA;IACA,OAAAK,aAAA,CAAAA,aAAA,KACKL,MAAM;MACTM,EAAE,EAAAD,aAAA,CAAAA,aAAA,KACGL,MAAM,CAACM,EAAE;QACZC,cAAc,EAAE;UACdC,GAAG,EAAE,KAAK;UACVC,KAAK,EAAE,CAAC;UACRC,MAAM,EAAE,CAAC;UACTC,IAAI,EAAE;QACR;MAAC;IACF;EAEL,CAAC,EAAE,CAACb,OAAO,EAAEE,MAAM,CAAC,CAAC;EAErBP,SAAS,CAAC,YAAM;IACd,IAAI,CAACK,OAAO,IAAI,CAACC,SAAS,CAACa,OAAO,IAAIT,UAAU,EAAE;MAChD;IACF;;IAEA;IACA,IAAIF,MAAM,aAANA,MAAM,eAANA,MAAM,CAAEK,EAAE,CAACO,IAAI,CAACC,WAAW,EAAE;MAC/Bb,MAAM,CAACK,EAAE,CAACO,IAAI,CAACC,WAAW,CAACC,QAAQ,GAAG,KAAK;IAC7C;IAEA,IAAMC,aAAa,GAAGrB,mBAAmB,CAACI,SAAS,CAACa,OAAO,CAAC;IAC5D,OAAOI,aAAa,CAACC,OAAO;EAC9B,CAAC,EAAE,CAACnB,OAAO,EAAEC,SAAS,EAAEE,MAAM,EAAEE,UAAU,CAAC,CAAC;EAE5C,OAAO;IAAEH,MAAM,EAAEI;EAAe,CAAC;AACnC"}
@@ -1,12 +0,0 @@
1
- import type { ClassicEditor, EditorConfig } from 'ckeditor5';
2
- import type { RefObject } from 'react';
3
- export interface UseStickyToolbarProps {
4
- enabled: boolean;
5
- editorRef: RefObject<HTMLDivElement>;
6
- config: EditorConfig;
7
- editor?: ClassicEditor | null;
8
- cssLoading?: boolean;
9
- }
10
- export interface UseStickyToolbarReturn {
11
- config: EditorConfig;
12
- }
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=useStickyToolbar.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useStickyToolbar.types.js","names":[],"sources":["../../../src/TextEditor/StickyToolbar/useStickyToolbar.types.ts"],"sourcesContent":["import type { ClassicEditor, EditorConfig } from 'ckeditor5'\nimport type { RefObject } from 'react'\n\nexport interface UseStickyToolbarProps {\n enabled: boolean\n editorRef: RefObject<HTMLDivElement>\n config: EditorConfig\n editor?: ClassicEditor | null\n cssLoading?: boolean\n}\n\nexport interface UseStickyToolbarReturn {\n config: EditorConfig\n}\n"],"mappings":""}
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import type { TextEditorProviderProps } from './TextEditorProvider.types';
3
- export declare const TextEditorContext: React.Context<Omit<TextEditorProviderProps, "children">>;
4
- export declare function TextEditorProvider({ children, features, }: TextEditorProviderProps): React.JSX.Element;
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- export var TextEditorContext = /*#__PURE__*/React.createContext({
3
- features: {
4
- tabAsNavigation: undefined,
5
- stickyToolbar: undefined
6
- }
7
- });
8
- export function TextEditorProvider(_ref) {
9
- var children = _ref.children,
10
- features = _ref.features;
11
- return /*#__PURE__*/React.createElement(TextEditorContext.Provider, {
12
- value: {
13
- features: features
14
- }
15
- }, children);
16
- }
17
- //# sourceMappingURL=TextEditorProvider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextEditorProvider.js","names":["React","TextEditorContext","createContext","features","tabAsNavigation","undefined","stickyToolbar","TextEditorProvider","_ref","children","createElement","Provider","value"],"sources":["../../src/TextEditor/TextEditorProvider.tsx"],"sourcesContent":["import React from 'react'\nimport type { TextEditorProviderProps } from './TextEditorProvider.types'\n\nexport const TextEditorContext = React.createContext<\n Omit<TextEditorProviderProps, 'children'>\n>({\n features: {\n tabAsNavigation: undefined,\n stickyToolbar: undefined,\n },\n})\n\nexport function TextEditorProvider({\n children,\n features,\n}: TextEditorProviderProps) {\n return (\n <TextEditorContext.Provider value={{ features }}>\n {children}\n </TextEditorContext.Provider>\n )\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,OAAO,IAAMC,iBAAiB,gBAAGD,KAAK,CAACE,aAAa,CAElD;EACAC,QAAQ,EAAE;IACRC,eAAe,EAAEC,SAAS;IAC1BC,aAAa,EAAED;EACjB;AACF,CAAC,CAAC;AAEF,OAAO,SAASE,kBAAkBA,CAAAC,IAAA,EAGN;EAAA,IAF1BC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IACRN,QAAQ,GAAAK,IAAA,CAARL,QAAQ;EAER,oBACEH,KAAA,CAAAU,aAAA,CAACT,iBAAiB,CAACU,QAAQ;IAACC,KAAK,EAAE;MAAET,QAAQ,EAARA;IAAS;EAAE,GAC7CM,QACyB,CAAC;AAEjC"}
@@ -1,14 +0,0 @@
1
- import type React from 'react';
2
- declare type TextEditorFeatureToggle = {
3
- stickyToolbar?: boolean;
4
- tabAsNavigation?: boolean;
5
- };
6
- export interface TextEditorProviderProps {
7
- children: React.ReactNode;
8
- /**
9
- * - `stickyToolbar` - Have the editor toolbar stick to the top when content is longer than the page length.
10
- * - `tabAsNavigation` - Have `Tab` key exit the editor. Support `Alt`/`Opt` + `Tab` as triple space indent.
11
- */
12
- features?: TextEditorFeatureToggle;
13
- }
14
- export {};
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TextEditorProvider.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextEditorProvider.types.js","names":[],"sources":["../../src/TextEditor/TextEditorProvider.types.ts"],"sourcesContent":["import type React from 'react'\n\ntype TextEditorFeatureToggle = {\n stickyToolbar?: boolean\n tabAsNavigation?: boolean\n}\n\nexport interface TextEditorProviderProps {\n children: React.ReactNode\n /**\n * - `stickyToolbar` - Have the editor toolbar stick to the top when content is longer than the page length.\n * - `tabAsNavigation` - Have `Tab` key exit the editor. Support `Alt`/`Opt` + `Tab` as triple space indent.\n */\n features?: TextEditorFeatureToggle\n}\n"],"mappings":""}
@@ -1,2 +0,0 @@
1
- export declare const DEV_CK_EDITOR_LICENSE_KEY = "eyJhbGciOiJFUzI1NiJ9.eyJleHAiOjE3NzQzOTY3OTksImp0aSI6IjE5OGE3YzVmLTkzMDEtNDI4ZC04MDBkLTI3ODQzMWNjMWFhNyIsImRpc3RyaWJ1dGlvbkNoYW5uZWwiOlsic2giLCJkcnVwYWwiXSwid2hpdGVMYWJlbCI6dHJ1ZSwibGljZW5zZVR5cGUiOiJkZXZlb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Il0sInZjIjoiOGExYzM1YzkifQ.aWj6JvSWU5pe23uotIIJAtM0vo6Rc4bDUuKIJPCwEI4F70gtB5MrR3-fBI8dQpBUDhe5vL7wFBq0EdoCdMJ9TQ';
2
- export var CK_EDITOR_LICENSE_KEY = 'eyJhbGciOiJFUzI1NiJ9.eyJleHAiOjE3NzQzOTY3OTksImp0aSI6ImEyOTVlM2M0LTdlNzMtNDBiNC1hNWI3LTZhNmNmNDFkYzlkNiIsImRpc3RyaWJ1dGlvbkNoYW5uZWwiOlsic2giLCJkcnVwYWwiXSwid2hpdGVMYWJlbCI6dHJ1ZSwiZmVhdHVyZXMiOlsiRFJVUCIsIkRPIiwiRlAiLCJTQyIsIlRPQyIsIlRQTCIsIlBPRSIsIkNDIiwiTUYiLCJTRUUiLCJFQ0giLCJFSVMiLCJNTEwiXSwidmMiOiI4MzU4Nzg0NyJ9.IP1OzVjd-e297egGXW2SnaAmQFl1flhb0kYSv1M4JlKkrmbcVhJLSHvtV5jiwVTegeBkSQZyO6r-1E4OJ-O76g';
3
- //# sourceMappingURL=license_key.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"license_key.js","names":["DEV_CK_EDITOR_LICENSE_KEY","CK_EDITOR_LICENSE_KEY"],"sources":["../../src/TextEditor/license_key.ts"],"sourcesContent":["export const DEV_CK_EDITOR_LICENSE_KEY =\n 'eyJhbGciOiJFUzI1NiJ9.eyJleHAiOjE3NzQzOTY3OTksImp0aSI6IjE5OGE3YzVmLTkzMDEtNDI4ZC04MDBkLTI3ODQzMWNjMWFhNyIsImRpc3RyaWJ1dGlvbkNoYW5uZWwiOlsic2giLCJkcnVwYWwiXSwid2hpdGVMYWJlbCI6dHJ1ZSwibGljZW5zZVR5cGUiOiJkZXZlbG9wbWVudCIsImZlYXR1cmVzIjpbIkRSVVAiLCJETyIsIkZQIiwiU0MiLCJUT0MiLCJUUEwiLCJQT0UiLCJDQyIsIk1GIiwiU0VFIiwiRUNIIiwiRUlTIiwiTUxMIl0sInZjIjoiOGExYzM1YzkifQ.aWj6JvSWU5pe23uotIIJAtM0vo6Rc4bDUuKIJPCwEI4F70gtB5MrR3-fBI8dQpBUDhe5vL7wFBq0EdoCdMJ9TQ'\n\nexport const CK_EDITOR_LICENSE_KEY =\n 'eyJhbGciOiJFUzI1NiJ9.eyJleHAiOjE3NzQzOTY3OTksImp0aSI6ImEyOTVlM2M0LTdlNzMtNDBiNC1hNWI3LTZhNmNmNDFkYzlkNiIsImRpc3RyaWJ1dGlvbkNoYW5uZWwiOlsic2giLCJkcnVwYWwiXSwid2hpdGVMYWJlbCI6dHJ1ZSwiZmVhdHVyZXMiOlsiRFJVUCIsIkRPIiwiRlAiLCJTQyIsIlRPQyIsIlRQTCIsIlBPRSIsIkNDIiwiTUYiLCJTRUUiLCJFQ0giLCJFSVMiLCJNTEwiXSwidmMiOiI4MzU4Nzg0NyJ9.IP1OzVjd-e297egGXW2SnaAmQFl1flhb0kYSv1M4JlKkrmbcVhJLSHvtV5jiwVTegeBkSQZyO6r-1E4OJ-O76g'\n"],"mappings":"AAAA,OAAO,IAAMA,yBAAyB,GACpC,4bAA4b;AAE9b,OAAO,IAAMC,qBAAqB,GAChC,sZAAsZ"}
@@ -1,5 +0,0 @@
1
- import { Command } from 'ckeditor5';
2
- export declare class CutCommand extends Command {
3
- execute(): Promise<void>;
4
- refresh(): void;
5
- }