@soul-refiner/design-system 0.0.19 → 0.0.21

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 (655) hide show
  1. package/dist/global.d.ts +1 -0
  2. package/dist/index.js +27998 -28817
  3. package/dist/index.umd.js +1426 -0
  4. package/dist/src/actions/Button/Button.d.ts +22 -0
  5. package/dist/src/actions/Dropdown/Dropdown.d.ts +38 -0
  6. package/dist/src/actions/Dropdown/index.d.ts +1 -0
  7. package/dist/src/actions/Dropzone/Dropzone.d.ts +16 -0
  8. package/dist/src/actions/Dropzone/index.d.ts +1 -0
  9. package/dist/src/actions/Rate/Rate.d.ts +8 -0
  10. package/dist/src/actions/Rate/index.d.ts +1 -0
  11. package/dist/src/actions/Switch/Switch.d.ts +8 -0
  12. package/dist/src/actions/{index.ts → index.d.ts} +1 -1
  13. package/dist/src/cards/CourseCard/CourseCard.d.ts +22 -0
  14. package/dist/src/cards/EpisodeCard/EpisodeCard.d.ts +18 -0
  15. package/dist/src/cards/EpisodeCard/{index.ts → index.d.ts} +1 -1
  16. package/dist/src/cards/FeatureCard/FeatureCard.d.ts +13 -0
  17. package/dist/src/data/Bar/Bar.d.ts +26 -0
  18. package/dist/src/data/Bar/index.d.ts +1 -0
  19. package/dist/src/data/Line/Line.d.ts +18 -0
  20. package/dist/src/data/Line/index.d.ts +1 -0
  21. package/dist/src/data/Pie/Pie.d.ts +14 -0
  22. package/dist/src/data/Pie/index.d.ts +1 -0
  23. package/dist/src/data/{index.ts → index.d.ts} +1 -1
  24. package/dist/src/editor/Editor.d.ts +49 -0
  25. package/dist/src/editor/common/elements.d.ts +19 -0
  26. package/dist/src/editor/common/{index.ts → index.d.ts} +1 -1
  27. package/dist/src/editor/common/marks.d.ts +2 -0
  28. package/dist/src/editor/components/MediaDrawer/MediaDrawer.d.ts +8 -0
  29. package/dist/src/editor/components/MediaDrawer/{index.ts → index.d.ts} +1 -1
  30. package/dist/src/editor/components/{index.ts → index.d.ts} +1 -1
  31. package/dist/src/editor/config/default.d.ts +162 -0
  32. package/dist/src/editor/config/props.d.ts +2 -0
  33. package/dist/src/editor/{index.ts → index.d.ts} +1 -1
  34. package/dist/src/editor/plateUI.d.ts +1 -0
  35. package/dist/src/editor/plugins/blocks.d.ts +1 -0
  36. package/dist/src/editor/plugins/custom/assets/DefaultThumbnail.d.ts +2 -0
  37. package/dist/src/editor/plugins/custom/assets/index.d.ts +1 -0
  38. package/dist/src/editor/plugins/custom/buttons.d.ts +5 -0
  39. package/dist/src/editor/plugins/custom/example.d.ts +6 -0
  40. package/dist/src/editor/plugins/custom/exitBreak.d.ts +21 -0
  41. package/dist/src/editor/plugins/custom/footnote.d.ts +5 -0
  42. package/dist/src/editor/plugins/custom/{index.ts → index.d.ts} +2 -6
  43. package/dist/src/editor/plugins/custom/paywall.d.ts +5 -0
  44. package/dist/src/editor/plugins/custom/qa.d.ts +5 -0
  45. package/dist/src/editor/plugins/custom/resetBlockType.d.ts +10 -0
  46. package/dist/src/editor/plugins/custom/selectOnBackspace.d.ts +7 -0
  47. package/dist/src/editor/plugins/custom/softBreak.d.ts +13 -0
  48. package/dist/src/editor/plugins/custom/video.d.ts +5 -0
  49. package/dist/src/editor/plugins/index.d.ts +5 -0
  50. package/dist/src/editor/plugins/inline.d.ts +1 -0
  51. package/dist/src/editor/plugins/marks.d.ts +1 -0
  52. package/dist/src/editor/plugins/utils.d.ts +1 -0
  53. package/dist/src/feedback/Chip/Chip.d.ts +9 -0
  54. package/dist/src/feedback/Loader/Loader.d.ts +9 -0
  55. package/dist/src/feedback/ProgressBar/ProgressBar.d.ts +8 -0
  56. package/dist/src/feedback/Toast/Toast.d.ts +8 -0
  57. package/dist/src/feedback/Tooltip/Tooltip.d.ts +5 -0
  58. package/dist/src/feedback/Tooltip/index.d.ts +1 -0
  59. package/dist/src/iconography/Avatar/Avatar.d.ts +12 -0
  60. package/dist/src/iconography/Avatar/DefaultIcon.d.ts +2 -0
  61. package/dist/src/iconography/Avatar/iconHelpers.d.ts +11 -0
  62. package/dist/src/iconography/ColoredIcon/ColoredIcon.d.ts +15 -0
  63. package/dist/src/iconography/ColoredIcon/index.d.ts +1 -0
  64. package/dist/src/iconography/DevicePreview/DevicePreview.d.ts +10 -0
  65. package/dist/src/iconography/DevicePreview/{index.ts → index.d.ts} +1 -1
  66. package/dist/src/iconography/IconHeader/IconHeader.d.ts +10 -0
  67. package/dist/src/iconography/IconHeader/{index.ts → index.d.ts} +1 -1
  68. package/dist/src/iconography/StarRating/StarRating.d.ts +8 -0
  69. package/dist/src/implementations/JoinGroupModal/JoinGroupModal.d.ts +10 -0
  70. package/dist/src/implementations/JoinGroupModal/{index.ts → index.d.ts} +1 -1
  71. package/dist/src/implementations/index.d.ts +1 -0
  72. package/dist/src/index.d.ts +13 -0
  73. package/dist/src/inputs/CalendarInput/CalendarInput.d.ts +5 -0
  74. package/dist/src/inputs/CalendarInput/{index.ts → index.d.ts} +1 -1
  75. package/dist/src/inputs/CheckboxInput/CheckboxInput.d.ts +7 -0
  76. package/dist/src/inputs/CheckboxInput/{index.ts → index.d.ts} +1 -1
  77. package/dist/src/inputs/FeedInput/FeedInput.d.ts +4 -0
  78. package/dist/src/inputs/InboxInput/InboxInput.d.ts +4 -0
  79. package/dist/src/inputs/PostInput/PostInput.d.ts +6 -0
  80. package/dist/src/inputs/RadioInput/RadioInput.d.ts +7 -0
  81. package/dist/src/inputs/RadioInput/index.d.ts +1 -0
  82. package/dist/src/inputs/SearchInput/SearchInput.d.ts +9 -0
  83. package/dist/src/inputs/SelectInput/SelectInput.d.ts +9 -0
  84. package/dist/src/inputs/SelectInput/{index.ts → index.d.ts} +1 -1
  85. package/dist/src/inputs/TagInput/TagInput.d.ts +6 -0
  86. package/dist/src/inputs/TagInput/index.d.ts +1 -0
  87. package/dist/src/inputs/TextInput/TextInput.d.ts +5 -0
  88. package/dist/src/inputs/TextInput/index.d.ts +1 -0
  89. package/dist/src/lists/ContactDetails/ContactDetails.d.ts +14 -0
  90. package/dist/src/navigation/Breadcrumbs/Breadcrumbs.d.ts +10 -0
  91. package/dist/src/navigation/Breadcrumbs/{index.ts → index.d.ts} +1 -1
  92. package/dist/src/navigation/Drawer/Drawer.d.ts +40 -0
  93. package/dist/src/navigation/Drawer/index.d.ts +1 -0
  94. package/dist/src/navigation/EditorBar/EditorBar.d.ts +9 -0
  95. package/dist/src/navigation/EditorBar/components/AlignmentDropdown/AlignmentDropdown.d.ts +7 -0
  96. package/dist/src/navigation/EditorBar/components/AlignmentDropdown/{index.ts → index.d.ts} +1 -1
  97. package/dist/src/navigation/EditorBar/components/ButtonModal/ButtonModal.d.ts +7 -0
  98. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Comment.d.ts +2 -0
  99. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/GiftSubscription.d.ts +2 -0
  100. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Link.d.ts +2 -0
  101. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Share.d.ts +2 -0
  102. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/ShareCommunity.d.ts +2 -0
  103. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Signup.d.ts +2 -0
  104. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Special.d.ts +2 -0
  105. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Subscribe.d.ts +2 -0
  106. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/{index.ts → index.d.ts} +1 -1
  107. package/dist/src/navigation/EditorBar/components/ButtonModal/{index.ts → index.d.ts} +1 -1
  108. package/dist/src/navigation/EditorBar/components/FontDropdown/FontDropdown.d.ts +7 -0
  109. package/dist/src/navigation/EditorBar/components/FontDropdown/{index.ts → index.d.ts} +1 -1
  110. package/dist/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.d.ts +7 -0
  111. package/dist/src/navigation/EditorBar/components/MoreDropdown/{index.ts → index.d.ts} +1 -1
  112. package/dist/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.d.ts +6 -0
  113. package/dist/src/navigation/EditorBar/components/OutlineDropdown/{index.ts → index.d.ts} +1 -1
  114. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.d.ts +6 -0
  115. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/{index.ts → index.d.ts} +1 -1
  116. package/dist/src/navigation/EditorBar/components/VideoModal/VideoModal.d.ts +6 -0
  117. package/dist/src/navigation/EditorBar/components/VideoModal/{index.ts → index.d.ts} +1 -1
  118. package/dist/src/navigation/EditorBar/components/{index.ts → index.d.ts} +2 -2
  119. package/dist/src/navigation/EditorBar/index.d.ts +1 -0
  120. package/dist/src/navigation/MenuTabs/MenuTabs.d.ts +7 -0
  121. package/dist/src/navigation/MenuTabs/index.d.ts +1 -0
  122. package/dist/src/navigation/Navigation/Navigation.d.ts +32 -0
  123. package/dist/src/navigation/Navigation/SubNavigation.d.ts +98 -0
  124. package/dist/src/navigation/Navigation/index.d.ts +2 -0
  125. package/dist/src/navigation/Pagination/Pagination.d.ts +12 -0
  126. package/dist/src/navigation/Pagination/{index.ts → index.d.ts} +1 -1
  127. package/dist/src/navigation/index.d.ts +6 -0
  128. package/dist/src/surfaces/Comment/Comment.d.ts +10 -0
  129. package/dist/src/surfaces/Faq/Faq.d.ts +12 -0
  130. package/dist/src/surfaces/Message/Message.d.ts +8 -0
  131. package/dist/src/surfaces/Message/index.d.ts +1 -0
  132. package/dist/src/surfaces/Modal/Modal.d.ts +35 -0
  133. package/dist/src/surfaces/Modal/index.d.ts +1 -0
  134. package/dist/src/surfaces/Plan/Plan.d.ts +11 -0
  135. package/dist/src/surfaces/Post/Post.d.ts +19 -0
  136. package/dist/src/surfaces/Post/postHelpers.d.ts +2 -0
  137. package/dist/src/surfaces/ProfileHeader/ProfileHeader.d.ts +17 -0
  138. package/dist/src/surfaces/RatingsOverview/RatingsOverview.d.ts +16 -0
  139. package/dist/src/surfaces/Review/Review.d.ts +15 -0
  140. package/dist/src/tables/Filter/Filter.d.ts +7 -0
  141. package/dist/src/tables/Filter/index.d.ts +1 -0
  142. package/dist/src/tables/Table/Table.d.ts +68 -0
  143. package/dist/src/tables/Table/index.d.ts +1 -0
  144. package/dist/src/tables/index.d.ts +2 -0
  145. package/package.json +17 -8
  146. package/.eslintrc.js +0 -4
  147. package/.turbo/turbo-build.log +0 -12
  148. package/.turbo/turbo-test.log +0 -4417
  149. package/CHANGELOG.md +0 -7
  150. package/babel.config.js +0 -6
  151. package/custom.d.ts +0 -9
  152. package/dist/custom.d.ts +0 -4
  153. package/dist/index.umd.cjs +0 -1398
  154. package/dist/src/actions/Button/Button.module.scss +0 -205
  155. package/dist/src/actions/Button/Button.spec.js +0 -56
  156. package/dist/src/actions/Button/Button.tsx +0 -143
  157. package/dist/src/actions/Dropdown/Dropdown.module.scss +0 -77
  158. package/dist/src/actions/Dropdown/Dropdown.spec.js +0 -149
  159. package/dist/src/actions/Dropdown/Dropdown.tsx +0 -224
  160. package/dist/src/actions/Dropdown/index.ts +0 -6
  161. package/dist/src/actions/Dropzone/Dropzone.module.scss +0 -48
  162. package/dist/src/actions/Dropzone/Dropzone.spec.js +0 -60
  163. package/dist/src/actions/Dropzone/Dropzone.tsx +0 -191
  164. package/dist/src/actions/Dropzone/index.ts +0 -1
  165. package/dist/src/actions/Rate/Rate.module.scss +0 -17
  166. package/dist/src/actions/Rate/Rate.tsx +0 -53
  167. package/dist/src/actions/Rate/index.ts +0 -1
  168. package/dist/src/actions/Switch/Switch.module.scss +0 -35
  169. package/dist/src/actions/Switch/Switch.spec.js +0 -31
  170. package/dist/src/actions/Switch/Switch.tsx +0 -34
  171. package/dist/src/cards/CourseCard/CourseCard.module.scss +0 -219
  172. package/dist/src/cards/CourseCard/CourseCard.spec.js +0 -60
  173. package/dist/src/cards/CourseCard/CourseCard.tsx +0 -145
  174. package/dist/src/cards/EpisodeCard/EpisodeCard.module.scss +0 -69
  175. package/dist/src/cards/EpisodeCard/EpisodeCard.tsx +0 -53
  176. package/dist/src/cards/FeatureCard/FeatureCard.module.scss +0 -116
  177. package/dist/src/cards/FeatureCard/FeatureCard.spec.js +0 -70
  178. package/dist/src/cards/FeatureCard/FeatureCard.tsx +0 -123
  179. package/dist/src/data/Bar/Bar.module.scss +0 -105
  180. package/dist/src/data/Bar/Bar.tsx +0 -161
  181. package/dist/src/data/Bar/index.ts +0 -1
  182. package/dist/src/data/Line/Line.module.scss +0 -102
  183. package/dist/src/data/Line/Line.tsx +0 -162
  184. package/dist/src/data/Line/index.ts +0 -1
  185. package/dist/src/data/Pie/Pie.module.scss +0 -56
  186. package/dist/src/data/Pie/Pie.spec.js +0 -72
  187. package/dist/src/data/Pie/Pie.tsx +0 -111
  188. package/dist/src/data/Pie/index.ts +0 -1
  189. package/dist/src/editor/Editor.module.scss +0 -125
  190. package/dist/src/editor/Editor.tsx +0 -327
  191. package/dist/src/editor/common/elements.ts +0 -50
  192. package/dist/src/editor/common/marks.ts +0 -27
  193. package/dist/src/editor/components/MediaDrawer/MediaDrawer.module.scss +0 -316
  194. package/dist/src/editor/components/MediaDrawer/MediaDrawer.tsx +0 -457
  195. package/dist/src/editor/config/default.ts +0 -213
  196. package/dist/src/editor/config/props.ts +0 -9
  197. package/dist/src/editor/plateUI.ts +0 -82
  198. package/dist/src/editor/plugins/blocks.tsx +0 -71
  199. package/dist/src/editor/plugins/custom/assets/DefaultThumbnail.tsx +0 -57
  200. package/dist/src/editor/plugins/custom/assets/index.ts +0 -1
  201. package/dist/src/editor/plugins/custom/buttons.tsx +0 -289
  202. package/dist/src/editor/plugins/custom/example.tsx +0 -64
  203. package/dist/src/editor/plugins/custom/exitBreak.ts +0 -41
  204. package/dist/src/editor/plugins/custom/footnote.tsx +0 -185
  205. package/dist/src/editor/plugins/custom/paywall.tsx +0 -156
  206. package/dist/src/editor/plugins/custom/qa.tsx +0 -390
  207. package/dist/src/editor/plugins/custom/resetBlockType.ts +0 -29
  208. package/dist/src/editor/plugins/custom/selectOnBackspace.ts +0 -7
  209. package/dist/src/editor/plugins/custom/softBreak.ts +0 -20
  210. package/dist/src/editor/plugins/custom/styles/Button.module.scss +0 -51
  211. package/dist/src/editor/plugins/custom/styles/Footnote.module.scss +0 -58
  212. package/dist/src/editor/plugins/custom/styles/Paywall.module.scss +0 -67
  213. package/dist/src/editor/plugins/custom/styles/QA.module.scss +0 -140
  214. package/dist/src/editor/plugins/custom/styles/Video.module.scss +0 -79
  215. package/dist/src/editor/plugins/custom/video.tsx +0 -163
  216. package/dist/src/editor/plugins/index.ts +0 -18
  217. package/dist/src/editor/plugins/inline.ts +0 -46
  218. package/dist/src/editor/plugins/marks.ts +0 -25
  219. package/dist/src/editor/plugins/utils.ts +0 -22
  220. package/dist/src/feedback/Chip/Chip.module.scss +0 -23
  221. package/dist/src/feedback/Chip/Chip.tsx +0 -58
  222. package/dist/src/feedback/Loader/Loader.module.scss +0 -18
  223. package/dist/src/feedback/Loader/Loader.spec.js +0 -18
  224. package/dist/src/feedback/Loader/Loader.tsx +0 -53
  225. package/dist/src/feedback/ProgressBar/ProgressBar.module.scss +0 -13
  226. package/dist/src/feedback/ProgressBar/ProgressBar.tsx +0 -32
  227. package/dist/src/feedback/Toast/Toast.module.scss +0 -44
  228. package/dist/src/feedback/Toast/Toast.tsx +0 -76
  229. package/dist/src/feedback/Tooltip/Tooltip.module.scss +0 -47
  230. package/dist/src/feedback/Tooltip/Tooltip.tsx +0 -10
  231. package/dist/src/feedback/Tooltip/index.ts +0 -1
  232. package/dist/src/global.d.ts +0 -6
  233. package/dist/src/iconography/Avatar/Avatar.module.scss +0 -90
  234. package/dist/src/iconography/Avatar/Avatar.spec.js +0 -75
  235. package/dist/src/iconography/Avatar/Avatar.tsx +0 -96
  236. package/dist/src/iconography/Avatar/DefaultIcon.svg +0 -4
  237. package/dist/src/iconography/Avatar/DefaultIcon.tsx +0 -12
  238. package/dist/src/iconography/Avatar/iconHelpers.tsx +0 -186
  239. package/dist/src/iconography/ColoredIcon/ColoredIcon.module.scss +0 -40
  240. package/dist/src/iconography/ColoredIcon/ColoredIcon.tsx +0 -30
  241. package/dist/src/iconography/ColoredIcon/index.ts +0 -5
  242. package/dist/src/iconography/DevicePreview/DevicePreview.module.scss +0 -143
  243. package/dist/src/iconography/DevicePreview/DevicePreview.tsx +0 -592
  244. package/dist/src/iconography/IconHeader/IconHeader.module.scss +0 -42
  245. package/dist/src/iconography/IconHeader/IconHeader.tsx +0 -42
  246. package/dist/src/iconography/StarRating/StarRating.tsx +0 -99
  247. package/dist/src/implementations/BodyContent/BodyContent.module.scss +0 -38
  248. package/dist/src/implementations/BodyContent/BodyContent.tsx +0 -78
  249. package/dist/src/implementations/BodyContent/index.ts +0 -2
  250. package/dist/src/implementations/JoinGroupModal/JoinGroupModal.module.scss +0 -83
  251. package/dist/src/implementations/JoinGroupModal/JoinGroupModal.tsx +0 -176
  252. package/dist/src/implementations/index.ts +0 -2
  253. package/dist/src/index.ts +0 -149
  254. package/dist/src/inputs/CalendarInput/CalendarInput.module.scss +0 -38
  255. package/dist/src/inputs/CalendarInput/CalendarInput.spec.js +0 -19
  256. package/dist/src/inputs/CalendarInput/CalendarInput.tsx +0 -29
  257. package/dist/src/inputs/CheckboxInput/CheckboxInput.module.scss +0 -23
  258. package/dist/src/inputs/CheckboxInput/CheckboxInput.tsx +0 -39
  259. package/dist/src/inputs/FeedInput/FeedInput.module.scss +0 -48
  260. package/dist/src/inputs/FeedInput/FeedInput.spec.js +0 -16
  261. package/dist/src/inputs/FeedInput/FeedInput.tsx +0 -197
  262. package/dist/src/inputs/InboxInput/InboxInput.module.scss +0 -48
  263. package/dist/src/inputs/InboxInput/InboxInput.spec.js +0 -19
  264. package/dist/src/inputs/InboxInput/InboxInput.tsx +0 -97
  265. package/dist/src/inputs/PostInput/PostInput.module.scss +0 -49
  266. package/dist/src/inputs/PostInput/PostInput.spec.js +0 -19
  267. package/dist/src/inputs/PostInput/PostInput.tsx +0 -54
  268. package/dist/src/inputs/RadioInput/RadioInput.module.scss +0 -68
  269. package/dist/src/inputs/RadioInput/RadioInput.tsx +0 -55
  270. package/dist/src/inputs/RadioInput/index.ts +0 -1
  271. package/dist/src/inputs/SearchInput/SearchInput.module.scss +0 -40
  272. package/dist/src/inputs/SearchInput/SearchInput.tsx +0 -61
  273. package/dist/src/inputs/SelectInput/SelectInput.module.scss +0 -66
  274. package/dist/src/inputs/SelectInput/SelectInput.tsx +0 -145
  275. package/dist/src/inputs/TagInput/TagInput.module.scss +0 -75
  276. package/dist/src/inputs/TagInput/TagInput.tsx +0 -115
  277. package/dist/src/inputs/TagInput/index.ts +0 -1
  278. package/dist/src/inputs/TextInput/TextInput.module.scss +0 -35
  279. package/dist/src/inputs/TextInput/TextInput.tsx +0 -46
  280. package/dist/src/inputs/TextInput/index.ts +0 -1
  281. package/dist/src/lists/ContactDetails/ContactDetails.module.scss +0 -70
  282. package/dist/src/lists/ContactDetails/ContactDetails.spec.js +0 -69
  283. package/dist/src/lists/ContactDetails/ContactDetails.tsx +0 -185
  284. package/dist/src/navigation/Breadcrumbs/Breadcrumbs.module.scss +0 -18
  285. package/dist/src/navigation/Breadcrumbs/Breadcrumbs.spec.js +0 -38
  286. package/dist/src/navigation/Breadcrumbs/Breadcrumbs.tsx +0 -43
  287. package/dist/src/navigation/Drawer/Drawer.module.scss +0 -104
  288. package/dist/src/navigation/Drawer/Drawer.tsx +0 -177
  289. package/dist/src/navigation/Drawer/index.ts +0 -1
  290. package/dist/src/navigation/EditorBar/EditorBar.module.scss +0 -118
  291. package/dist/src/navigation/EditorBar/EditorBar.tsx +0 -416
  292. package/dist/src/navigation/EditorBar/components/AlignmentDropdown/AlignmentDropdown.tsx +0 -106
  293. package/dist/src/navigation/EditorBar/components/ButtonModal/ButtonModal.module.scss +0 -85
  294. package/dist/src/navigation/EditorBar/components/ButtonModal/ButtonModal.tsx +0 -314
  295. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Comment.tsx +0 -28
  296. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/GiftSubscription.tsx +0 -28
  297. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Link.tsx +0 -28
  298. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Share.tsx +0 -28
  299. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/ShareCommunity.tsx +0 -42
  300. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Signup.tsx +0 -68
  301. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Special.tsx +0 -24
  302. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Subscribe.tsx +0 -28
  303. package/dist/src/navigation/EditorBar/components/FontDropdown/FontDropdown.module.scss +0 -16
  304. package/dist/src/navigation/EditorBar/components/FontDropdown/FontDropdown.tsx +0 -137
  305. package/dist/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.module.scss +0 -43
  306. package/dist/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.tsx +0 -124
  307. package/dist/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.module.scss +0 -21
  308. package/dist/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.tsx +0 -37
  309. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.module.scss +0 -51
  310. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.tsx +0 -80
  311. package/dist/src/navigation/EditorBar/components/VideoModal/VideoModal.module.scss +0 -150
  312. package/dist/src/navigation/EditorBar/components/VideoModal/VideoModal.tsx +0 -163
  313. package/dist/src/navigation/EditorBar/index.ts +0 -1
  314. package/dist/src/navigation/MenuTabs/MenuTabs.module.scss +0 -34
  315. package/dist/src/navigation/MenuTabs/MenuTabs.spec.js +0 -36
  316. package/dist/src/navigation/MenuTabs/MenuTabs.tsx +0 -52
  317. package/dist/src/navigation/MenuTabs/index.ts +0 -1
  318. package/dist/src/navigation/Navigation/Navigation.module.scss +0 -92
  319. package/dist/src/navigation/Navigation/Navigation.spec.js +0 -144
  320. package/dist/src/navigation/Navigation/Navigation.tsx +0 -111
  321. package/dist/src/navigation/Navigation/SubNavigation.module.scss +0 -255
  322. package/dist/src/navigation/Navigation/SubNavigation.spec.js +0 -112
  323. package/dist/src/navigation/Navigation/SubNavigation.tsx +0 -443
  324. package/dist/src/navigation/Navigation/index.ts +0 -15
  325. package/dist/src/navigation/Pagination/Pagination.module.scss +0 -49
  326. package/dist/src/navigation/Pagination/Pagination.tsx +0 -115
  327. package/dist/src/navigation/index.ts +0 -21
  328. package/dist/src/surfaces/Comment/Comment.module.scss +0 -106
  329. package/dist/src/surfaces/Comment/Comment.spec.js +0 -105
  330. package/dist/src/surfaces/Comment/Comment.tsx +0 -157
  331. package/dist/src/surfaces/Faq/Faq.module.scss +0 -91
  332. package/dist/src/surfaces/Faq/Faq.spec.js +0 -38
  333. package/dist/src/surfaces/Faq/Faq.tsx +0 -156
  334. package/dist/src/surfaces/Message/Message.module.scss +0 -37
  335. package/dist/src/surfaces/Message/Message.spec.js +0 -47
  336. package/dist/src/surfaces/Message/Message.tsx +0 -54
  337. package/dist/src/surfaces/Message/index.ts +0 -1
  338. package/dist/src/surfaces/Modal/Modal.module.scss +0 -52
  339. package/dist/src/surfaces/Modal/Modal.spec.js +0 -38
  340. package/dist/src/surfaces/Modal/Modal.tsx +0 -131
  341. package/dist/src/surfaces/Modal/index.ts +0 -5
  342. package/dist/src/surfaces/Plan/Plan.module.scss +0 -79
  343. package/dist/src/surfaces/Plan/Plan.tsx +0 -75
  344. package/dist/src/surfaces/Post/Post.module.scss +0 -46
  345. package/dist/src/surfaces/Post/Post.spec.js +0 -103
  346. package/dist/src/surfaces/Post/Post.tsx +0 -185
  347. package/dist/src/surfaces/Post/postHelpers.ts +0 -20
  348. package/dist/src/surfaces/ProfileHeader/ProfileHeader.module.scss +0 -202
  349. package/dist/src/surfaces/ProfileHeader/ProfileHeader.tsx +0 -103
  350. package/dist/src/surfaces/RatingsOverview/RatingsOverview.module.scss +0 -54
  351. package/dist/src/surfaces/RatingsOverview/RatingsOverview.tsx +0 -69
  352. package/dist/src/surfaces/Review/Review.module.scss +0 -73
  353. package/dist/src/surfaces/Review/Review.tsx +0 -88
  354. package/dist/src/tables/Filter/Filter.module.scss +0 -34
  355. package/dist/src/tables/Filter/Filter.tsx +0 -30
  356. package/dist/src/tables/Filter/index.ts +0 -1
  357. package/dist/src/tables/Table/Table.module.scss +0 -126
  358. package/dist/src/tables/Table/Table.spec.js +0 -113
  359. package/dist/src/tables/Table/Table.tsx +0 -251
  360. package/dist/src/tables/Table/index.ts +0 -7
  361. package/dist/src/tables/index.ts +0 -7
  362. package/src/actions/Button/Button.module.scss +0 -205
  363. package/src/actions/Button/Button.spec.js +0 -56
  364. package/src/actions/Button/Button.tsx +0 -143
  365. package/src/actions/Button/index.ts +0 -1
  366. package/src/actions/Dropdown/Dropdown.module.scss +0 -77
  367. package/src/actions/Dropdown/Dropdown.spec.js +0 -149
  368. package/src/actions/Dropdown/Dropdown.tsx +0 -224
  369. package/src/actions/Dropdown/index.ts +0 -3
  370. package/src/actions/Dropzone/Dropzone.module.scss +0 -48
  371. package/src/actions/Dropzone/Dropzone.spec.js +0 -60
  372. package/src/actions/Dropzone/Dropzone.tsx +0 -191
  373. package/src/actions/Dropzone/index.ts +0 -1
  374. package/src/actions/Rate/Rate.module.scss +0 -17
  375. package/src/actions/Rate/Rate.tsx +0 -53
  376. package/src/actions/Rate/index.ts +0 -1
  377. package/src/actions/Switch/Switch.module.scss +0 -35
  378. package/src/actions/Switch/Switch.spec.js +0 -31
  379. package/src/actions/Switch/Switch.tsx +0 -34
  380. package/src/actions/Switch/index.ts +0 -1
  381. package/src/actions/index.ts +0 -5
  382. package/src/cards/CourseCard/CourseCard.module.scss +0 -219
  383. package/src/cards/CourseCard/CourseCard.spec.js +0 -60
  384. package/src/cards/CourseCard/CourseCard.tsx +0 -145
  385. package/src/cards/CourseCard/index.ts +0 -1
  386. package/src/cards/EpisodeCard/EpisodeCard.module.scss +0 -69
  387. package/src/cards/EpisodeCard/EpisodeCard.tsx +0 -53
  388. package/src/cards/EpisodeCard/index.ts +0 -1
  389. package/src/cards/FeatureCard/FeatureCard.module.scss +0 -116
  390. package/src/cards/FeatureCard/FeatureCard.spec.js +0 -70
  391. package/src/cards/FeatureCard/FeatureCard.tsx +0 -123
  392. package/src/cards/FeatureCard/index.ts +0 -1
  393. package/src/cards/index.ts +0 -3
  394. package/src/data/Bar/Bar.module.scss +0 -105
  395. package/src/data/Bar/Bar.tsx +0 -161
  396. package/src/data/Bar/index.ts +0 -1
  397. package/src/data/Line/Line.module.scss +0 -102
  398. package/src/data/Line/Line.tsx +0 -162
  399. package/src/data/Line/index.ts +0 -1
  400. package/src/data/Pie/Pie.module.scss +0 -56
  401. package/src/data/Pie/Pie.spec.js +0 -72
  402. package/src/data/Pie/Pie.tsx +0 -111
  403. package/src/data/Pie/index.ts +0 -1
  404. package/src/data/index.ts +0 -3
  405. package/src/editor/Editor.module.scss +0 -125
  406. package/src/editor/Editor.tsx +0 -327
  407. package/src/editor/common/elements.ts +0 -50
  408. package/src/editor/common/index.ts +0 -2
  409. package/src/editor/common/marks.ts +0 -27
  410. package/src/editor/components/MediaDrawer/MediaDrawer.module.scss +0 -316
  411. package/src/editor/components/MediaDrawer/MediaDrawer.tsx +0 -457
  412. package/src/editor/components/MediaDrawer/index.ts +0 -1
  413. package/src/editor/components/index.ts +0 -1
  414. package/src/editor/config/default.ts +0 -213
  415. package/src/editor/config/index.ts +0 -2
  416. package/src/editor/config/props.ts +0 -9
  417. package/src/editor/index.ts +0 -2
  418. package/src/editor/plateUI.ts +0 -82
  419. package/src/editor/plugins/blocks.tsx +0 -71
  420. package/src/editor/plugins/custom/assets/DefaultThumbnail.tsx +0 -57
  421. package/src/editor/plugins/custom/assets/index.ts +0 -1
  422. package/src/editor/plugins/custom/buttons.tsx +0 -289
  423. package/src/editor/plugins/custom/example.tsx +0 -64
  424. package/src/editor/plugins/custom/exitBreak.ts +0 -41
  425. package/src/editor/plugins/custom/footnote.tsx +0 -185
  426. package/src/editor/plugins/custom/index.ts +0 -14
  427. package/src/editor/plugins/custom/paywall.tsx +0 -156
  428. package/src/editor/plugins/custom/qa.tsx +0 -390
  429. package/src/editor/plugins/custom/resetBlockType.ts +0 -29
  430. package/src/editor/plugins/custom/selectOnBackspace.ts +0 -7
  431. package/src/editor/plugins/custom/softBreak.ts +0 -20
  432. package/src/editor/plugins/custom/styles/Button.module.scss +0 -51
  433. package/src/editor/plugins/custom/styles/Footnote.module.scss +0 -58
  434. package/src/editor/plugins/custom/styles/Paywall.module.scss +0 -67
  435. package/src/editor/plugins/custom/styles/QA.module.scss +0 -140
  436. package/src/editor/plugins/custom/styles/Video.module.scss +0 -79
  437. package/src/editor/plugins/custom/video.tsx +0 -163
  438. package/src/editor/plugins/index.ts +0 -18
  439. package/src/editor/plugins/inline.ts +0 -46
  440. package/src/editor/plugins/marks.ts +0 -25
  441. package/src/editor/plugins/utils.ts +0 -22
  442. package/src/feedback/Chip/Chip.module.scss +0 -23
  443. package/src/feedback/Chip/Chip.tsx +0 -58
  444. package/src/feedback/Chip/index.ts +0 -1
  445. package/src/feedback/Loader/Loader.module.scss +0 -18
  446. package/src/feedback/Loader/Loader.spec.js +0 -18
  447. package/src/feedback/Loader/Loader.tsx +0 -53
  448. package/src/feedback/Loader/index.ts +0 -1
  449. package/src/feedback/ProgressBar/ProgressBar.module.scss +0 -13
  450. package/src/feedback/ProgressBar/ProgressBar.tsx +0 -32
  451. package/src/feedback/ProgressBar/index.ts +0 -1
  452. package/src/feedback/Toast/Toast.module.scss +0 -44
  453. package/src/feedback/Toast/Toast.tsx +0 -76
  454. package/src/feedback/Toast/index.ts +0 -1
  455. package/src/feedback/Tooltip/Tooltip.module.scss +0 -47
  456. package/src/feedback/Tooltip/Tooltip.tsx +0 -10
  457. package/src/feedback/Tooltip/index.ts +0 -1
  458. package/src/feedback/index.ts +0 -5
  459. package/src/global.d.ts +0 -6
  460. package/src/iconography/Avatar/Avatar.module.scss +0 -90
  461. package/src/iconography/Avatar/Avatar.spec.js +0 -75
  462. package/src/iconography/Avatar/Avatar.tsx +0 -96
  463. package/src/iconography/Avatar/DefaultIcon.svg +0 -4
  464. package/src/iconography/Avatar/DefaultIcon.tsx +0 -12
  465. package/src/iconography/Avatar/iconHelpers.tsx +0 -186
  466. package/src/iconography/Avatar/index.ts +0 -1
  467. package/src/iconography/ColoredIcon/ColoredIcon.module.scss +0 -40
  468. package/src/iconography/ColoredIcon/ColoredIcon.tsx +0 -30
  469. package/src/iconography/ColoredIcon/index.ts +0 -5
  470. package/src/iconography/DevicePreview/DevicePreview.module.scss +0 -143
  471. package/src/iconography/DevicePreview/DevicePreview.tsx +0 -592
  472. package/src/iconography/DevicePreview/index.ts +0 -1
  473. package/src/iconography/IconHeader/IconHeader.module.scss +0 -42
  474. package/src/iconography/IconHeader/IconHeader.tsx +0 -42
  475. package/src/iconography/IconHeader/index.ts +0 -1
  476. package/src/iconography/StarRating/StarRating.tsx +0 -99
  477. package/src/iconography/StarRating/index.ts +0 -1
  478. package/src/iconography/index.ts +0 -5
  479. package/src/implementations/BodyContent/BodyContent.module.scss +0 -38
  480. package/src/implementations/BodyContent/BodyContent.tsx +0 -78
  481. package/src/implementations/BodyContent/index.ts +0 -2
  482. package/src/implementations/JoinGroupModal/JoinGroupModal.module.scss +0 -83
  483. package/src/implementations/JoinGroupModal/JoinGroupModal.tsx +0 -176
  484. package/src/implementations/JoinGroupModal/index.ts +0 -1
  485. package/src/implementations/index.ts +0 -2
  486. package/src/index.ts +0 -149
  487. package/src/inputs/CalendarInput/CalendarInput.module.scss +0 -38
  488. package/src/inputs/CalendarInput/CalendarInput.spec.js +0 -19
  489. package/src/inputs/CalendarInput/CalendarInput.tsx +0 -29
  490. package/src/inputs/CalendarInput/index.ts +0 -1
  491. package/src/inputs/CheckboxInput/CheckboxInput.module.scss +0 -23
  492. package/src/inputs/CheckboxInput/CheckboxInput.tsx +0 -39
  493. package/src/inputs/CheckboxInput/index.ts +0 -1
  494. package/src/inputs/FeedInput/FeedInput.module.scss +0 -48
  495. package/src/inputs/FeedInput/FeedInput.spec.js +0 -16
  496. package/src/inputs/FeedInput/FeedInput.tsx +0 -197
  497. package/src/inputs/FeedInput/index.ts +0 -1
  498. package/src/inputs/InboxInput/InboxInput.module.scss +0 -48
  499. package/src/inputs/InboxInput/InboxInput.spec.js +0 -19
  500. package/src/inputs/InboxInput/InboxInput.tsx +0 -97
  501. package/src/inputs/InboxInput/index.ts +0 -1
  502. package/src/inputs/PostInput/PostInput.module.scss +0 -49
  503. package/src/inputs/PostInput/PostInput.spec.js +0 -19
  504. package/src/inputs/PostInput/PostInput.tsx +0 -54
  505. package/src/inputs/PostInput/index.ts +0 -1
  506. package/src/inputs/RadioInput/RadioInput.module.scss +0 -68
  507. package/src/inputs/RadioInput/RadioInput.tsx +0 -55
  508. package/src/inputs/RadioInput/index.ts +0 -1
  509. package/src/inputs/SearchInput/SearchInput.module.scss +0 -40
  510. package/src/inputs/SearchInput/SearchInput.tsx +0 -61
  511. package/src/inputs/SearchInput/index.ts +0 -1
  512. package/src/inputs/SelectInput/SelectInput.module.scss +0 -66
  513. package/src/inputs/SelectInput/SelectInput.tsx +0 -145
  514. package/src/inputs/SelectInput/index.ts +0 -1
  515. package/src/inputs/TagInput/TagInput.module.scss +0 -75
  516. package/src/inputs/TagInput/TagInput.tsx +0 -115
  517. package/src/inputs/TagInput/index.ts +0 -1
  518. package/src/inputs/TextInput/TextInput.module.scss +0 -35
  519. package/src/inputs/TextInput/TextInput.tsx +0 -46
  520. package/src/inputs/TextInput/index.ts +0 -1
  521. package/src/inputs/index.ts +0 -10
  522. package/src/lists/ContactDetails/ContactDetails.module.scss +0 -70
  523. package/src/lists/ContactDetails/ContactDetails.spec.js +0 -69
  524. package/src/lists/ContactDetails/ContactDetails.tsx +0 -185
  525. package/src/lists/ContactDetails/index.ts +0 -1
  526. package/src/lists/index.ts +0 -1
  527. package/src/navigation/Breadcrumbs/Breadcrumbs.module.scss +0 -18
  528. package/src/navigation/Breadcrumbs/Breadcrumbs.spec.js +0 -38
  529. package/src/navigation/Breadcrumbs/Breadcrumbs.tsx +0 -43
  530. package/src/navigation/Breadcrumbs/index.ts +0 -1
  531. package/src/navigation/Drawer/Drawer.module.scss +0 -104
  532. package/src/navigation/Drawer/Drawer.tsx +0 -177
  533. package/src/navigation/Drawer/index.ts +0 -1
  534. package/src/navigation/EditorBar/EditorBar.module.scss +0 -118
  535. package/src/navigation/EditorBar/EditorBar.tsx +0 -416
  536. package/src/navigation/EditorBar/components/AlignmentDropdown/AlignmentDropdown.tsx +0 -106
  537. package/src/navigation/EditorBar/components/AlignmentDropdown/index.ts +0 -1
  538. package/src/navigation/EditorBar/components/ButtonModal/ButtonModal.module.scss +0 -85
  539. package/src/navigation/EditorBar/components/ButtonModal/ButtonModal.tsx +0 -314
  540. package/src/navigation/EditorBar/components/ButtonModal/assets/Comment.tsx +0 -28
  541. package/src/navigation/EditorBar/components/ButtonModal/assets/GiftSubscription.tsx +0 -28
  542. package/src/navigation/EditorBar/components/ButtonModal/assets/Link.tsx +0 -28
  543. package/src/navigation/EditorBar/components/ButtonModal/assets/Share.tsx +0 -28
  544. package/src/navigation/EditorBar/components/ButtonModal/assets/ShareCommunity.tsx +0 -42
  545. package/src/navigation/EditorBar/components/ButtonModal/assets/Signup.tsx +0 -68
  546. package/src/navigation/EditorBar/components/ButtonModal/assets/Special.tsx +0 -24
  547. package/src/navigation/EditorBar/components/ButtonModal/assets/Subscribe.tsx +0 -28
  548. package/src/navigation/EditorBar/components/ButtonModal/assets/index.ts +0 -8
  549. package/src/navigation/EditorBar/components/ButtonModal/index.ts +0 -1
  550. package/src/navigation/EditorBar/components/FontDropdown/FontDropdown.module.scss +0 -16
  551. package/src/navigation/EditorBar/components/FontDropdown/FontDropdown.tsx +0 -137
  552. package/src/navigation/EditorBar/components/FontDropdown/index.ts +0 -1
  553. package/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.module.scss +0 -43
  554. package/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.tsx +0 -124
  555. package/src/navigation/EditorBar/components/MoreDropdown/index.ts +0 -1
  556. package/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.module.scss +0 -21
  557. package/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.tsx +0 -37
  558. package/src/navigation/EditorBar/components/OutlineDropdown/index.ts +0 -1
  559. package/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.module.scss +0 -51
  560. package/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.tsx +0 -80
  561. package/src/navigation/EditorBar/components/TextTypeDropdown/index.ts +0 -1
  562. package/src/navigation/EditorBar/components/VideoModal/VideoModal.module.scss +0 -150
  563. package/src/navigation/EditorBar/components/VideoModal/VideoModal.tsx +0 -163
  564. package/src/navigation/EditorBar/components/VideoModal/index.ts +0 -1
  565. package/src/navigation/EditorBar/components/index.ts +0 -7
  566. package/src/navigation/EditorBar/index.ts +0 -1
  567. package/src/navigation/MenuTabs/MenuTabs.module.scss +0 -34
  568. package/src/navigation/MenuTabs/MenuTabs.spec.js +0 -36
  569. package/src/navigation/MenuTabs/MenuTabs.tsx +0 -52
  570. package/src/navigation/MenuTabs/index.ts +0 -1
  571. package/src/navigation/Navigation/Navigation.module.scss +0 -92
  572. package/src/navigation/Navigation/Navigation.spec.js +0 -144
  573. package/src/navigation/Navigation/Navigation.tsx +0 -111
  574. package/src/navigation/Navigation/SubNavigation.module.scss +0 -255
  575. package/src/navigation/Navigation/SubNavigation.spec.js +0 -112
  576. package/src/navigation/Navigation/SubNavigation.tsx +0 -443
  577. package/src/navigation/Navigation/index.ts +0 -15
  578. package/src/navigation/Pagination/Pagination.module.scss +0 -49
  579. package/src/navigation/Pagination/Pagination.tsx +0 -115
  580. package/src/navigation/Pagination/index.ts +0 -1
  581. package/src/navigation/index.ts +0 -21
  582. package/src/surfaces/Comment/Comment.module.scss +0 -106
  583. package/src/surfaces/Comment/Comment.spec.js +0 -105
  584. package/src/surfaces/Comment/Comment.tsx +0 -157
  585. package/src/surfaces/Comment/index.ts +0 -1
  586. package/src/surfaces/Faq/Faq.module.scss +0 -91
  587. package/src/surfaces/Faq/Faq.spec.js +0 -38
  588. package/src/surfaces/Faq/Faq.tsx +0 -156
  589. package/src/surfaces/Faq/index.ts +0 -1
  590. package/src/surfaces/Message/Message.module.scss +0 -37
  591. package/src/surfaces/Message/Message.spec.js +0 -47
  592. package/src/surfaces/Message/Message.tsx +0 -54
  593. package/src/surfaces/Message/index.ts +0 -1
  594. package/src/surfaces/Modal/Modal.module.scss +0 -52
  595. package/src/surfaces/Modal/Modal.spec.js +0 -38
  596. package/src/surfaces/Modal/Modal.tsx +0 -131
  597. package/src/surfaces/Modal/index.ts +0 -5
  598. package/src/surfaces/Plan/Plan.module.scss +0 -79
  599. package/src/surfaces/Plan/Plan.tsx +0 -75
  600. package/src/surfaces/Plan/index.ts +0 -1
  601. package/src/surfaces/Post/Post.module.scss +0 -46
  602. package/src/surfaces/Post/Post.spec.js +0 -103
  603. package/src/surfaces/Post/Post.tsx +0 -185
  604. package/src/surfaces/Post/index.ts +0 -1
  605. package/src/surfaces/Post/postHelpers.ts +0 -20
  606. package/src/surfaces/ProfileHeader/ProfileHeader.module.scss +0 -202
  607. package/src/surfaces/ProfileHeader/ProfileHeader.tsx +0 -103
  608. package/src/surfaces/ProfileHeader/index.ts +0 -1
  609. package/src/surfaces/RatingsOverview/RatingsOverview.module.scss +0 -54
  610. package/src/surfaces/RatingsOverview/RatingsOverview.tsx +0 -69
  611. package/src/surfaces/RatingsOverview/index.ts +0 -1
  612. package/src/surfaces/Review/Review.module.scss +0 -73
  613. package/src/surfaces/Review/Review.tsx +0 -88
  614. package/src/surfaces/Review/index.ts +0 -1
  615. package/src/surfaces/index.ts +0 -9
  616. package/src/tables/Filter/Filter.module.scss +0 -34
  617. package/src/tables/Filter/Filter.tsx +0 -30
  618. package/src/tables/Filter/index.ts +0 -1
  619. package/src/tables/Table/Table.module.scss +0 -126
  620. package/src/tables/Table/Table.spec.js +0 -113
  621. package/src/tables/Table/Table.tsx +0 -251
  622. package/src/tables/Table/index.ts +0 -7
  623. package/src/tables/index.ts +0 -7
  624. package/tsconfig.json +0 -15
  625. package/vite.config.ts +0 -28
  626. package/yarn-error.log +0 -6545
  627. /package/dist/src/actions/Button/{index.ts → index.d.ts} +0 -0
  628. /package/dist/src/actions/Switch/{index.ts → index.d.ts} +0 -0
  629. /package/dist/src/cards/CourseCard/{index.ts → index.d.ts} +0 -0
  630. /package/dist/src/cards/FeatureCard/{index.ts → index.d.ts} +0 -0
  631. /package/dist/src/cards/{index.ts → index.d.ts} +0 -0
  632. /package/dist/src/editor/config/{index.ts → index.d.ts} +0 -0
  633. /package/dist/src/feedback/Chip/{index.ts → index.d.ts} +0 -0
  634. /package/dist/src/feedback/Loader/{index.ts → index.d.ts} +0 -0
  635. /package/dist/src/feedback/ProgressBar/{index.ts → index.d.ts} +0 -0
  636. /package/dist/src/feedback/Toast/{index.ts → index.d.ts} +0 -0
  637. /package/dist/src/feedback/{index.ts → index.d.ts} +0 -0
  638. /package/dist/src/iconography/Avatar/{index.ts → index.d.ts} +0 -0
  639. /package/dist/src/iconography/StarRating/{index.ts → index.d.ts} +0 -0
  640. /package/dist/src/iconography/{index.ts → index.d.ts} +0 -0
  641. /package/dist/src/inputs/FeedInput/{index.ts → index.d.ts} +0 -0
  642. /package/dist/src/inputs/InboxInput/{index.ts → index.d.ts} +0 -0
  643. /package/dist/src/inputs/PostInput/{index.ts → index.d.ts} +0 -0
  644. /package/dist/src/inputs/SearchInput/{index.ts → index.d.ts} +0 -0
  645. /package/dist/src/inputs/{index.ts → index.d.ts} +0 -0
  646. /package/dist/src/lists/ContactDetails/{index.ts → index.d.ts} +0 -0
  647. /package/dist/src/lists/{index.ts → index.d.ts} +0 -0
  648. /package/dist/src/surfaces/Comment/{index.ts → index.d.ts} +0 -0
  649. /package/dist/src/surfaces/Faq/{index.ts → index.d.ts} +0 -0
  650. /package/dist/src/surfaces/Plan/{index.ts → index.d.ts} +0 -0
  651. /package/dist/src/surfaces/Post/{index.ts → index.d.ts} +0 -0
  652. /package/dist/src/surfaces/ProfileHeader/{index.ts → index.d.ts} +0 -0
  653. /package/dist/src/surfaces/RatingsOverview/{index.ts → index.d.ts} +0 -0
  654. /package/dist/src/surfaces/Review/{index.ts → index.d.ts} +0 -0
  655. /package/dist/src/surfaces/{index.ts → index.d.ts} +0 -0
@@ -1,327 +0,0 @@
1
- import React from "react";
2
- import {
3
- Comment,
4
- Course,
5
- CourseContent,
6
- Media,
7
- User,
8
- } from "@soul-refiner/models";
9
- import { createPlugins, Plate, PlateProvider, TElement } from "@udecode/plate";
10
- import Client from "@soul-refiner/client";
11
-
12
- import { plateUI } from "./plateUI";
13
- import { DEFAULT_CONTENT, editableProps } from "./config";
14
- import { blocks, inline, marks, utils } from "./plugins";
15
-
16
- import { EditorBar } from "../navigation/EditorBar";
17
-
18
- import styles from "./Editor.module.scss";
19
-
20
- /**********************************************************************
21
- * Types
22
- */
23
- export interface EditorProps extends Course {
24
- defaultContent?: TElement[];
25
- editable: boolean;
26
- handleAddComment: (newComment: {
27
- user: User;
28
- text: string;
29
- parentId: string;
30
- }) => void;
31
- handleAddReaction: (newReaction: {
32
- parentId: string;
33
- type: "like" | "dislike";
34
- userId: string;
35
- }) => void;
36
- handleChangeVideo: (video: Partial<Media>) => Promise<Media>;
37
- handleCourseChange: (newCourse: Partial<Course>) => void;
38
- handleDeleteVideo: (id: string) => void;
39
- handleGetComments: (id: string) => Promise<Comment[]>;
40
- handleGetFriends: (query: string, selected?: string[]) => Promise<User[]>;
41
- handleGetVideos: () => Promise<Media[]>;
42
- handleSetVideoSrc: (src: string) => void;
43
- handleUploadImage: (dataURL: File) => Promise<string>;
44
- handleUploadVideo: (
45
- dataURL: File,
46
- previous?: Partial<Media>
47
- ) => Promise<Media>;
48
- pageName: string;
49
- user: User;
50
- }
51
-
52
- export interface EditorContextProps
53
- extends Omit<EditorProps, "defaultContent"> {
54
- availableVideos: Media[];
55
- isUserAuthorized: boolean;
56
- footnotes: { id: string; text: string }[];
57
- handleFootnoteChange: (id: string, text: string) => void;
58
- handleFootnoteDelete: (id: string) => void;
59
- }
60
-
61
- /**********************************************************************
62
- * Editor Configuration
63
- */
64
-
65
- const plugins = createPlugins([...blocks, ...inline, ...marks, ...utils], {
66
- components: plateUI,
67
- });
68
-
69
- /**********************************************************************
70
- * Context
71
- */
72
-
73
- export const EditorContext = React.createContext<EditorContextProps>({
74
- availableVideos: [],
75
- categories: [],
76
- created: "",
77
- description: "",
78
- editable: false,
79
- footnotes: [],
80
- handleAddComment: (post) => undefined,
81
- handleAddReaction: (newReaction) => undefined,
82
- handleChangeVideo: async (video) => ({} as Media),
83
- handleCourseChange: (newCourse) => undefined,
84
- handleDeleteVideo: (id) => undefined,
85
- handleGetComments: async (id) => [],
86
- handleGetFriends: async (query) => [],
87
- handleGetVideos: async () => [],
88
- handleFootnoteChange: (id, text) => undefined,
89
- handleFootnoteDelete: (id) => undefined,
90
- handleSetVideoSrc: (src) => undefined,
91
- handleUploadImage: async (upload: File) => "",
92
- handleUploadVideo: async (upload: File) => ({} as Media),
93
- hasContent: true,
94
- id: "",
95
- isUserAuthorized: false,
96
- modified: "",
97
- outline: [],
98
- ownerId: "",
99
- pageName: "",
100
- plans: [],
101
- ratings: [],
102
- sampleVideo: "",
103
- shortDescription: "",
104
- status: "draft",
105
- subtitle: "",
106
- tags: [],
107
- thumbnail: "",
108
- title: "",
109
- trailerVideo: "",
110
- type: "written",
111
- user: {} as User,
112
- });
113
-
114
- /**********************************************************************
115
- * Function
116
- */
117
- export const Editor = ({
118
- categories,
119
- created,
120
- defaultContent = DEFAULT_CONTENT,
121
- description,
122
- editable = true,
123
- handleAddComment,
124
- handleAddReaction,
125
- handleChangeVideo,
126
- handleCourseChange,
127
- handleDeleteVideo,
128
- handleGetComments,
129
- handleGetFriends,
130
- handleGetVideos,
131
- handleSetVideoSrc,
132
- handleUploadImage,
133
- handleUploadVideo,
134
- hasContent,
135
- id,
136
- modified,
137
- outline,
138
- ownerId,
139
- pageName,
140
- plans,
141
- ratings,
142
- sampleVideo,
143
- shortDescription,
144
- status,
145
- subtitle,
146
- tags,
147
- thumbnail,
148
- title,
149
- trailerVideo,
150
- type,
151
- user,
152
- }: EditorProps) => {
153
- const [saving, setSaving] = React.useState(false);
154
- const [errorSaving, setErrorSaving] = React.useState(false);
155
- const [footnotes, setFootnotes] = React.useState<
156
- { id: string; text: string }[]
157
- >([]);
158
- const [contentState, setContentState] = React.useState<CourseContent>({
159
- courseId: id,
160
- created: new Date().toISOString(),
161
- nodes: [],
162
- status: "draft",
163
- });
164
- const [availableVideos, setAvailableVideos] = React.useState<Media[]>([]);
165
-
166
- let client: Client;
167
-
168
- const handleChange = (newNodes: TElement[]) => {
169
- setContentState((prev) => ({
170
- ...prev,
171
- created: new Date().toISOString(),
172
- nodes: newNodes as any,
173
- }));
174
- };
175
-
176
- const handleFootnoteChange = (id: string, text: string) => {
177
- setFootnotes((prev) => {
178
- const index = prev.findIndex((footnote) => footnote.id === id);
179
- if (index === -1 && text !== "") {
180
- return [...prev, { id, text }];
181
- }
182
- if (text !== "") {
183
- const newFootnotes = prev;
184
- newFootnotes.splice(index, 1, { id, text });
185
- return newFootnotes;
186
- }
187
- return prev;
188
- });
189
- };
190
-
191
- const handleFootnoteDelete = (id: string) => {
192
- setFootnotes((prev) => {
193
- const index = prev.findIndex((footnote) => footnote.id === id);
194
- if (index === -1) return prev;
195
- const newFootnotes = prev;
196
- prev.splice(index, 1);
197
- return newFootnotes;
198
- });
199
- };
200
-
201
- const isUserAuthorized = React.useMemo(() => {
202
- if (user?.id) {
203
- /**
204
- * TODO: Handle authorization of user to view content;
205
- */
206
- return true;
207
- }
208
- return false;
209
- }, [user?.id]);
210
-
211
- React.useEffect(() => {
212
- client = new Client({ token: "new-token" });
213
- const controller = new AbortController();
214
-
215
- (async () => {
216
- const content = await client.courses.getContentById(id, {
217
- signal: controller.signal,
218
- });
219
- if (content) setContentState(content.data);
220
- })();
221
-
222
- setInterval(async () => {
223
- setSaving(true);
224
- const save = await client.courses.upsertCourseContent({
225
- courseId: id,
226
- nodes: contentState?.nodes ?? [],
227
- });
228
- if (save?.data) {
229
- setErrorSaving(false);
230
- setSaving(false);
231
- } else {
232
- setErrorSaving(true);
233
- // TODO: Determine what happens after it fails to save
234
- }
235
- }, 300000);
236
-
237
- handleGetVideos().then((res) => setAvailableVideos(res));
238
-
239
- return () => {
240
- controller.abort();
241
- client.courses.upsertCourseContent({
242
- courseId: id,
243
- nodes: contentState?.nodes ?? [],
244
- });
245
- };
246
- }, []);
247
-
248
- // React.useEffect(() => {
249
- // /**
250
- // * Limit the content if user is not authorized to see it
251
- // * TODO: DO THIS ON THE BACKEND
252
- // */
253
- // if (!isUserAuthorized) {
254
- // let paywallOccurance = false;
255
- // setPlateValue(
256
- // (contentState.nodes as unknown as TElement[]).filter((element) => {
257
- // const value = paywallOccurance;
258
- // if (element.type === ELEMENT_PAYWALL) paywallOccurance = true;
259
- // return value;
260
- // })
261
- // );
262
- // }
263
- // }, [isUserAuthorized]);
264
-
265
- return (
266
- <EditorContext.Provider
267
- value={{
268
- availableVideos,
269
- categories,
270
- created,
271
- description,
272
- editable,
273
- footnotes,
274
- handleAddComment,
275
- handleAddReaction,
276
- handleChangeVideo,
277
- handleCourseChange,
278
- handleDeleteVideo,
279
- handleGetComments,
280
- handleGetFriends,
281
- handleGetVideos,
282
- handleFootnoteChange,
283
- handleFootnoteDelete,
284
- handleSetVideoSrc,
285
- handleUploadImage,
286
- handleUploadVideo,
287
- hasContent,
288
- id,
289
- isUserAuthorized,
290
- modified,
291
- ownerId,
292
- outline,
293
- pageName,
294
- plans,
295
- ratings,
296
- sampleVideo,
297
- status,
298
- shortDescription,
299
- subtitle,
300
- tags,
301
- title,
302
- thumbnail,
303
- trailerVideo,
304
- type,
305
- user,
306
- }}
307
- >
308
- <PlateProvider
309
- id="main"
310
- initialValue={defaultContent}
311
- onChange={handleChange}
312
- plugins={plugins}
313
- >
314
- <EditorBar editable={editable} />
315
- <div className={styles.editor}>
316
- <Plate
317
- id="main"
318
- editableProps={{
319
- readOnly: !editable,
320
- ...editableProps,
321
- }}
322
- />
323
- </div>
324
- </PlateProvider>
325
- </EditorContext.Provider>
326
- );
327
- };
@@ -1,50 +0,0 @@
1
- export {
2
- ELEMENT_BLOCKQUOTE,
3
- ELEMENT_CODE_BLOCK,
4
- ELEMENT_CODE_LINE,
5
- ELEMENT_CODE_SYNTAX,
6
- ELEMENT_DEFAULT,
7
- ELEMENT_H1,
8
- ELEMENT_H2,
9
- ELEMENT_H3,
10
- ELEMENT_H4,
11
- ELEMENT_H5,
12
- ELEMENT_H6,
13
- ELEMENT_HR,
14
- ELEMENT_IMAGE,
15
- ELEMENT_LI,
16
- ELEMENT_LIC,
17
- ELEMENT_LINK,
18
- ELEMENT_MEDIA,
19
- ELEMENT_MEDIA_EMBED,
20
- ELEMENT_MENTION,
21
- ELEMENT_MENTION_INPUT,
22
- ELEMENT_OL,
23
- ELEMENT_PARAGRAPH,
24
- ELEMENT_TABLE,
25
- ELEMENT_TD,
26
- ELEMENT_TH,
27
- ELEMENT_TODO_LI,
28
- ELEMENT_TR,
29
- ELEMENT_UL,
30
- } from "@udecode/plate";
31
-
32
- export const ELEMENT_AUDIO = "audio";
33
- export const ELEMENT_BIBLE_QUOTE = "bible-quote";
34
- export const ELEMENT_BUTTON = "button";
35
- export const ELEMENT_EXAMPLE = "example";
36
- export const ELEMENT_FOOTNOTE = "footnote";
37
- export const ELEMENT_PAYWALL = "paywall";
38
- export const ELEMENT_POLL = "poll";
39
- export const ELEMENT_QA = "q-n-a";
40
- export const ELEMENT_RECIPE = "recipe";
41
- export const ELEMENT_VIDEO = "video";
42
-
43
- export const BUTTON_COMMENT = "button-comment";
44
- export const BUTTON_GIFT_SUBSCRIPTION = "button-gift-subscription";
45
- export const BUTTON_LINK = "button-link";
46
- export const BUTTON_SHARE = "button-share";
47
- export const BUTTON_SHARE_PAGE = "button-share-page";
48
- export const BUTTON_SIGNUP = "signup";
49
- export const BUTTON_SPECIAL_OFFER = "button-special-offer";
50
- export const BUTTON_SUBSCRIBE = "button-subscribe";
@@ -1,27 +0,0 @@
1
- export {
2
- MARK_BG_COLOR,
3
- MARK_BOLD,
4
- MARK_CODE,
5
- MARK_COLOR,
6
- MARK_FONT_FAMILY,
7
- MARK_FONT_SIZE,
8
- MARK_FONT_WEIGHT,
9
- MARK_HIGHLIGHT,
10
- MARK_ITALIC,
11
- MARK_KBD,
12
- MARK_SEARCH_HIGHLIGHT,
13
- MARK_STRIKETHROUGH,
14
- MARK_SUBSCRIPT,
15
- MARK_SUPERSCRIPT,
16
- MARK_UNDERLINE,
17
- } from "@udecode/plate";
18
-
19
- export const COLORS = [
20
- "var(--color-turquoise-5)",
21
- "var(--color-green-5)",
22
- "var(--color-blue-5)",
23
- "var(--color-purple-5)",
24
- "var(--color-yellow-5)",
25
- "var(--color-orange-5)",
26
- "var(--color-red-5)",
27
- ];
@@ -1,316 +0,0 @@
1
- @use "@soul-refiner/styles/mixins";
2
-
3
- .drawer {
4
- .mediaName {
5
- @include mixins.font(500, 24px, 30px);
6
- margin-top: 14px;
7
- margin-left: 12px;
8
- }
9
-
10
- [class~="icon-header"] {
11
- & > * {
12
- color: inherit;
13
- & > * {
14
- color: inherit;
15
- }
16
- }
17
- h5 {
18
- font-weight: 700;
19
- }
20
- }
21
-
22
- [class~="actions-wrapper"] {
23
- button:last-of-type > span {
24
- color: #ffffff;
25
- }
26
- }
27
-
28
- .details {
29
- h6 {
30
- line-height: 24px;
31
- font-weight: 700;
32
- }
33
- p {
34
- @include mixins.font(400, 16px, 24px);
35
- margin-bottom: 16px;
36
- color: var(--color-grey-6);
37
- }
38
-
39
- div {
40
- margin-bottom: 32px;
41
- }
42
- }
43
-
44
- .media {
45
- width: 100%;
46
- [class~="switch"] {
47
- width: 350px;
48
- border-radius: 8px;
49
- background-color: var(--color-grey-9);
50
- & > div {
51
- border-radius: 8px;
52
- color: var(--color-grey-4);
53
- &[class~="active"] {
54
- font-weight: 700;
55
- color: var(--color-blue-3);
56
- }
57
- }
58
- }
59
-
60
- .contentWrapper {
61
- width: 100%;
62
- margin: 32px 0px;
63
-
64
- & > * {
65
- width: 100%;
66
- }
67
-
68
- div > div > button {
69
- background-color: transparent;
70
- }
71
-
72
- div > div > button > span {
73
- color: var(--color-purple-5);
74
- }
75
-
76
- .select {
77
- & > div {
78
- padding: 12px 32px 12px 12px;
79
- border-radius: 8px;
80
- height: fit-content !important;
81
- input {
82
- width: 333px;
83
- height: 24px;
84
- padding-right: 24px;
85
- }
86
- }
87
-
88
- .videoWrapper {
89
- max-height: 271px;
90
- overflow-y: auto;
91
- @include mixins.flex($gap: 12px, $dir: column);
92
-
93
- &::-webkit-scrollbar-track {
94
- margin: 25px;
95
- }
96
-
97
- .video {
98
- @include mixins.flex(
99
- $gap: 20px,
100
- $align: center,
101
- $justify: space-between
102
- );
103
- width: 100%;
104
- position: relative;
105
- height: 104px;
106
- padding: 16px 24px;
107
- border: 1px solid rgba(0, 0, 0, 0.06);
108
- box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
109
- border-radius: 8px;
110
- cursor: pointer;
111
-
112
- &:hover {
113
- border-bottom: 1px solid transparent;
114
- background-color: var(--color-grey-9);
115
- border-radius: 8px;
116
- }
117
-
118
- .thumbnailWrapper {
119
- height: 100%;
120
- position: relative;
121
- img {
122
- height: 100%;
123
- object-fit: contain;
124
- border-radius: 8px;
125
- }
126
- .duration {
127
- @include mixins.font(600, 10px, 15px);
128
- display: block;
129
- position: absolute;
130
- right: 7px;
131
- bottom: 5px;
132
- color: #ffffff;
133
- padding: 4px;
134
- border-radius: 4px;
135
- background-color: rgba(0, 0, 0, 0.5);
136
- letter-spacing: 0.5px;
137
- }
138
- }
139
-
140
- .selected {
141
- width: 22px;
142
- height: 22px;
143
- box-sizing: border-box;
144
- border: 1px solid var(--color-grey-8);
145
- border-radius: 50%;
146
- flex-shrink: 0;
147
- margin-left: auto;
148
- background-color: #ffffff;
149
-
150
- &[class~="active"] {
151
- border: 5px solid var(--color-blue-3);
152
- }
153
- }
154
-
155
- .title {
156
- @include mixins.font-clamp(2);
157
- @include mixins.font(500, 18px, 24px);
158
- }
159
- }
160
- }
161
- }
162
- }
163
-
164
- .buttonWrapper {
165
- @include mixins.flex($align: center, $justify: space-between, $gap: 16px);
166
- max-width: 540px;
167
- margin: 32px auto 0px;
168
-
169
- button:first-of-type > span {
170
- color: #ffffff;
171
- }
172
-
173
- & > button:last-of-type {
174
- & > span {
175
- color: var(--color-red-5);
176
- }
177
- &:hover {
178
- background-color: var(--color-red-5);
179
- & > span {
180
- color: #ffffff;
181
- }
182
- }
183
-
184
- &:active {
185
- & > span {
186
- color: var(--color-red-5);
187
- }
188
- background-color: #ffffff;
189
- border: 1px solid var(--color-grey-7);
190
- }
191
- }
192
- & > button {
193
- flex: 1;
194
- & > span {
195
- font-weight: 600;
196
- }
197
- }
198
-
199
- .modal {
200
- max-width: 484px;
201
- padding: 16px;
202
-
203
- p {
204
- padding: 16px 16px 24px;
205
- }
206
- }
207
- }
208
-
209
- .replaceModal {
210
- button:first-of-type {
211
- & > span {
212
- color: var(--color-grey-3);
213
- }
214
- &:hover {
215
- background-color: var(--color-grey-10);
216
- }
217
- }
218
-
219
- button:last-of-type {
220
- background-color: var(--color-blue-3);
221
- & > span {
222
- color: #ffffff;
223
- }
224
- &:hover {
225
- background-color: var(--color-blue-1);
226
- }
227
- &:active {
228
- background-color: #ffffff;
229
- border: 1px solid var(--color-blue-3) !important;
230
- & > span {
231
- color: var(--color-blue-3);
232
- }
233
- }
234
- }
235
- }
236
-
237
- .deleteModal {
238
- button:first-of-type {
239
- & > span {
240
- color: var(--color-grey-3);
241
- }
242
- &:hover {
243
- background-color: var(--color-grey-10);
244
- }
245
- }
246
-
247
- button:last-of-type {
248
- background-color: var(--color-red-5);
249
- & > span {
250
- color: #ffffff;
251
- }
252
- &:hover {
253
- background-color: var(--color-red-6);
254
- }
255
- &:active {
256
- background-color: #ffffff;
257
- border: 1px solid var(--color-red-3) !important;
258
- & > span {
259
- color: var(--color-red-3);
260
- }
261
- }
262
- .disabled {
263
- background-color: var(--color-grey-5) !important;
264
- & > span {
265
- color: var(--color-grey-3) !important;
266
- }
267
- }
268
- }
269
- }
270
-
271
- .deleteWrapper {
272
- p {
273
- padding: 0px 0px 16px !important;
274
- }
275
-
276
- input {
277
- border: none;
278
- outline: none;
279
- width: 100%;
280
- padding: 10px 20px;
281
- background-color: var(--color-blue-10);
282
- box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.03);
283
- border-radius: 16px;
284
- border: 1px solid var(--color-grey-9);
285
- }
286
- }
287
- }
288
-
289
- .thumbnail {
290
- width: 100%;
291
-
292
- div > div > button {
293
- background-color: transparent;
294
- }
295
-
296
- div > div > button > span {
297
- color: var(--color-green-5);
298
- }
299
- }
300
-
301
- .addToPlaylist {
302
- [class~="switch"] {
303
- width: 350px;
304
- border-radius: 8px;
305
- background-color: var(--color-grey-9);
306
- & > div {
307
- border-radius: 8px;
308
- color: var(--color-grey-4);
309
- &[class~="active"] {
310
- font-weight: 700;
311
- color: var(--color-blue-3);
312
- }
313
- }
314
- }
315
- }
316
- }