@soul-refiner/design-system 2.0.0-alpha.26 → 2.0.0-alpha.27

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 (671) hide show
  1. package/dist/common/colors.js +140 -0
  2. package/dist/common/date.js +34 -0
  3. package/dist/common/styles.js +66 -0
  4. package/dist/components/actions/button/button.js +325 -0
  5. package/dist/components/actions/dropdown/dropdown.js +233 -0
  6. package/dist/components/actions/rate/rate.js +52 -0
  7. package/dist/components/actions/switch/switch.js +77 -0
  8. package/dist/components/actions/toggle/toggle.js +63 -0
  9. package/dist/components/actions/upload/upload.js +166 -0
  10. package/dist/components/atoms/box/box.js +22 -0
  11. package/dist/components/atoms/hide/hide.js +14 -0
  12. package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +32 -0
  13. package/dist/components/atoms/time_ago/time_ago.js +36 -0
  14. package/dist/components/atoms/typography/display.js +15 -0
  15. package/dist/components/atoms/typography/heading.js +40 -0
  16. package/dist/components/atoms/typography/paragraph.js +23 -0
  17. package/dist/components/atoms/typography/typography.js +17 -0
  18. package/dist/components/card/action/action.js +79 -0
  19. package/dist/components/card/audio/audio.js +138 -0
  20. package/dist/components/card/card.js +30 -0
  21. package/dist/components/card/feature/feature.js +199 -0
  22. package/dist/components/card/meeting/meeting.js +147 -0
  23. package/dist/components/card/person/person.js +78 -0
  24. package/dist/components/card/price/price.js +85 -0
  25. package/dist/components/card/regular/regular.js +38 -0
  26. package/dist/components/card/styles.js +16 -0
  27. package/dist/components/card/video/video.js +135 -0
  28. package/dist/components/card/written/written.js +138 -0
  29. package/dist/components/custom/courses_selection/courses_selection.js +138 -0
  30. package/dist/components/custom/users_selection/users_selection.js +129 -0
  31. package/dist/components/editor/constants.js +195 -0
  32. package/dist/components/editor/context.js +13 -0
  33. package/dist/components/editor/editor.js +110 -0
  34. package/dist/components/editor/icons/border-all.js +8 -0
  35. package/dist/components/editor/icons/border-bottom.js +8 -0
  36. package/dist/components/editor/icons/border-left.js +8 -0
  37. package/dist/components/editor/icons/border-none.js +8 -0
  38. package/dist/components/editor/icons/border-right.js +8 -0
  39. package/dist/components/editor/icons/border-top.js +8 -0
  40. package/dist/components/editor/navbar/alignment_dropdown.js +102 -0
  41. package/dist/components/editor/navbar/button_modal.js +66 -0
  42. package/dist/components/editor/navbar/navbar.js +221 -0
  43. package/dist/components/editor/navbar/style_dropdown.js +70 -0
  44. package/dist/components/editor/plugins/blocks/blockquote.js +13 -0
  45. package/dist/components/editor/plugins/blocks/blocks.js +54 -0
  46. package/dist/components/editor/plugins/blocks/buttons.js +87 -0
  47. package/dist/components/editor/plugins/blocks/dropdown-menu.js +77 -0
  48. package/dist/components/editor/plugins/blocks/image.js +56 -0
  49. package/dist/components/editor/plugins/blocks/list.js +22 -0
  50. package/dist/components/editor/plugins/blocks/media-popover.js +37 -0
  51. package/dist/components/editor/plugins/blocks/plate-button.js +62 -0
  52. package/dist/components/editor/plugins/blocks/popover.js +38 -0
  53. package/dist/components/editor/plugins/blocks/qa.js +51 -0
  54. package/dist/components/editor/plugins/blocks/resizable.js +44 -0
  55. package/dist/components/editor/plugins/blocks/separator.js +43 -0
  56. package/dist/components/editor/plugins/blocks/table-cell.js +44 -0
  57. package/dist/components/editor/plugins/blocks/table-row.js +12 -0
  58. package/dist/components/editor/plugins/blocks/table.js +94 -0
  59. package/dist/components/editor/plugins/blocks/text.js +99 -0
  60. package/dist/components/editor/plugins/blocks/video.js +38 -0
  61. package/dist/components/editor/plugins/leafs/leafs.js +37 -0
  62. package/dist/components/editor/plugins/leafs/link.js +82 -0
  63. package/dist/components/editor/plugins/marks/marks.js +17 -0
  64. package/dist/components/editor/plugins/plate.js +43 -0
  65. package/dist/components/editor/plugins/utils/exitBreak.js +36 -0
  66. package/dist/components/editor/plugins/utils/resetBlockType.js +26 -0
  67. package/dist/components/editor/plugins/utils/selectOnBackspace.js +11 -0
  68. package/dist/components/editor/plugins/utils/softBreak.js +19 -0
  69. package/dist/components/editor/plugins/utils/utils.js +17 -0
  70. package/dist/components/editor/simple_editor/navbar.js +124 -0
  71. package/dist/components/editor/simple_editor/plugins.js +93 -0
  72. package/dist/components/editor/simple_editor/simple_editor.js +94 -0
  73. package/dist/components/editor/styles/menu_button.js +36 -0
  74. package/dist/components/feedback/animated_toast/animated_toast.js +60 -0
  75. package/dist/components/feedback/badge/badge.js +71 -0
  76. package/dist/components/feedback/banner/banner.js +91 -0
  77. package/dist/components/feedback/chip/chip.js +99 -0
  78. package/dist/components/feedback/loader/loader.js +39 -0
  79. package/dist/components/feedback/notification/notification.js +83 -0
  80. package/dist/components/feedback/progress/progress.js +97 -0
  81. package/dist/components/feedback/toast/toast.js +122 -0
  82. package/dist/components/feedback/tooltip/tooltip.js +31 -0
  83. package/dist/components/iconography/avatar/avatar.js +185 -0
  84. package/dist/components/iconography/avatar/icons/approved.js +10 -0
  85. package/dist/components/iconography/avatar/icons/busy.js +10 -0
  86. package/dist/components/iconography/avatar/icons/declined.js +10 -0
  87. package/dist/components/iconography/avatar/icons/default.js +9 -0
  88. package/dist/components/iconography/avatar/icons/focus.js +10 -0
  89. package/dist/components/iconography/avatar/icons/locked.js +10 -0
  90. package/dist/components/iconography/avatar/icons/offline.js +10 -0
  91. package/dist/components/iconography/avatar/icons/online.js +9 -0
  92. package/dist/components/iconography/avatar/icons/subscribed.js +14 -0
  93. package/dist/components/iconography/icon/icon.js +15 -0
  94. package/dist/components/input/calendar/calendar.js +263 -0
  95. package/dist/components/input/checkbox/checkbox.js +28 -0
  96. package/dist/components/input/date/date.js +525 -0
  97. package/dist/components/input/filter/filter.js +327 -0
  98. package/dist/components/input/filter/filter_option.js +78 -0
  99. package/dist/components/input/radio/radio.js +88 -0
  100. package/dist/components/input/search/search.js +144 -0
  101. package/dist/components/input/select/select.js +52 -0
  102. package/dist/components/input/text_area/text_area.js +116 -0
  103. package/dist/components/input/text_input/text_input.js +153 -0
  104. package/dist/components/input/time/time.js +76 -0
  105. package/dist/components/media/video/video.js +36 -0
  106. package/dist/components/media/video-player/playlist-item.js +43 -0
  107. package/dist/components/media/video-player/video.js +204 -0
  108. package/dist/components/navigation/breadcrumb/breadcrumb.js +114 -0
  109. package/dist/components/navigation/inner/inner.js +194 -0
  110. package/dist/components/navigation/tabs/tabs.js +154 -0
  111. package/dist/components/surfaces/accordion/accordion.js +52 -0
  112. package/dist/components/surfaces/calendar_date/calendar_date.js +51 -0
  113. package/dist/components/surfaces/carousel/card/card.js +102 -0
  114. package/dist/components/surfaces/comment/comment.js +205 -0
  115. package/dist/components/surfaces/comment/helpers.js +30 -0
  116. package/dist/components/surfaces/drawer/drawer.js +136 -0
  117. package/dist/components/surfaces/message/message.js +52 -0
  118. package/dist/components/surfaces/modal/modal.js +131 -0
  119. package/dist/components/surfaces/portal/portal.js +31 -0
  120. package/dist/components/surfaces/post/post.js +240 -0
  121. package/dist/components/table/table/table.js +188 -0
  122. package/dist/icons/arrow/arrow_all.js +11 -0
  123. package/dist/icons/arrow/arrow_all_diagonal.js +11 -0
  124. package/dist/icons/arrow/arrow_both_downwards.js +11 -0
  125. package/dist/icons/arrow/arrow_both_upwards.js +11 -0
  126. package/dist/icons/arrow/arrow_circle_left.js +11 -0
  127. package/dist/icons/arrow/arrow_circle_left_double.js +11 -0
  128. package/dist/icons/arrow/arrow_circle_left_double_alert.js +13 -0
  129. package/dist/icons/arrow/arrow_circle_right.js +11 -0
  130. package/dist/icons/arrow/arrow_circle_right_double.js +11 -0
  131. package/dist/icons/arrow/arrow_circle_right_double_alert.js +11 -0
  132. package/dist/icons/arrow/arrow_diagonal_down_left.js +11 -0
  133. package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +11 -0
  134. package/dist/icons/arrow/arrow_diagonal_down_right.js +11 -0
  135. package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +11 -0
  136. package/dist/icons/arrow/arrow_diagonal_up_left.js +11 -0
  137. package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +11 -0
  138. package/dist/icons/arrow/arrow_diagonal_up_right.js +11 -0
  139. package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +11 -0
  140. package/dist/icons/arrow/arrow_down.js +11 -0
  141. package/dist/icons/arrow/arrow_down_bold.js +11 -0
  142. package/dist/icons/arrow/arrow_down_circle.js +11 -0
  143. package/dist/icons/arrow/arrow_left.js +11 -0
  144. package/dist/icons/arrow/arrow_left_bold.js +11 -0
  145. package/dist/icons/arrow/arrow_left_circle.js +11 -0
  146. package/dist/icons/arrow/arrow_left_curved.js +11 -0
  147. package/dist/icons/arrow/arrow_left_curved_circle.js +11 -0
  148. package/dist/icons/arrow/arrow_right.js +11 -0
  149. package/dist/icons/arrow/arrow_right_bold.js +11 -0
  150. package/dist/icons/arrow/arrow_right_circle.js +11 -0
  151. package/dist/icons/arrow/arrow_right_curved.js +11 -0
  152. package/dist/icons/arrow/arrow_right_curved_circle.js +11 -0
  153. package/dist/icons/arrow/arrow_up.js +11 -0
  154. package/dist/icons/arrow/arrow_up_bold.js +11 -0
  155. package/dist/icons/arrow/arrow_up_circle.js +11 -0
  156. package/dist/icons/arrow/chevron_down.js +11 -0
  157. package/dist/icons/arrow/chevron_down_circle.js +11 -0
  158. package/dist/icons/arrow/chevron_down_double.js +11 -0
  159. package/dist/icons/arrow/chevron_down_double_circle.js +11 -0
  160. package/dist/icons/arrow/chevron_left.js +11 -0
  161. package/dist/icons/arrow/chevron_left_circle.js +11 -0
  162. package/dist/icons/arrow/chevron_left_double.js +11 -0
  163. package/dist/icons/arrow/chevron_left_double_circle.js +11 -0
  164. package/dist/icons/arrow/chevron_right.js +11 -0
  165. package/dist/icons/arrow/chevron_right_circle.js +11 -0
  166. package/dist/icons/arrow/chevron_right_double.js +11 -0
  167. package/dist/icons/arrow/chevron_right_double_circle.js +11 -0
  168. package/dist/icons/arrow/chevron_scroll.js +11 -0
  169. package/dist/icons/arrow/chevron_up.js +11 -0
  170. package/dist/icons/arrow/chevron_up_circle.js +11 -0
  171. package/dist/icons/arrow/chevron_up_double.js +11 -0
  172. package/dist/icons/arrow/chevron_up_double_circle.js +11 -0
  173. package/dist/icons/arrow/forward_all.js +11 -0
  174. package/dist/icons/arrow/forward_all_bold.js +11 -0
  175. package/dist/icons/arrow/forward_bold.js +11 -0
  176. package/dist/icons/arrow/redo.js +11 -0
  177. package/dist/icons/arrow/redo_bold.js +11 -0
  178. package/dist/icons/arrow/reply.js +11 -0
  179. package/dist/icons/arrow/reply_all.js +11 -0
  180. package/dist/icons/arrow/reply_all_bold.js +11 -0
  181. package/dist/icons/arrow/reply_bold.js +11 -0
  182. package/dist/icons/arrow/undo.js +11 -0
  183. package/dist/icons/arrow/undo_bold.js +11 -0
  184. package/dist/icons/audio_video/drag_indicator.js +11 -0
  185. package/dist/icons/audio_video/eject.js +11 -0
  186. package/dist/icons/audio_video/equalizer.js +11 -0
  187. package/dist/icons/audio_video/fast_forward.js +11 -0
  188. package/dist/icons/audio_video/fast_forward_30.js +11 -0
  189. package/dist/icons/audio_video/fullscreen.js +11 -0
  190. package/dist/icons/audio_video/headphones.js +11 -0
  191. package/dist/icons/audio_video/library_add.js +11 -0
  192. package/dist/icons/audio_video/library_music.js +11 -0
  193. package/dist/icons/audio_video/microphone.js +11 -0
  194. package/dist/icons/audio_video/musical_note.js +11 -0
  195. package/dist/icons/audio_video/next.js +11 -0
  196. package/dist/icons/audio_video/pause.js +11 -0
  197. package/dist/icons/audio_video/pause_circle.js +11 -0
  198. package/dist/icons/audio_video/play.js +11 -0
  199. package/dist/icons/audio_video/play_circle.js +11 -0
  200. package/dist/icons/audio_video/play_display.js +11 -0
  201. package/dist/icons/audio_video/play_pause.js +11 -0
  202. package/dist/icons/audio_video/play_solid.js +11 -0
  203. package/dist/icons/audio_video/player_list.js +11 -0
  204. package/dist/icons/audio_video/player_list_add.js +11 -0
  205. package/dist/icons/audio_video/player_list_play.js +11 -0
  206. package/dist/icons/audio_video/previous.js +11 -0
  207. package/dist/icons/audio_video/radio.js +11 -0
  208. package/dist/icons/audio_video/record.js +11 -0
  209. package/dist/icons/audio_video/repeat.js +11 -0
  210. package/dist/icons/audio_video/rewind.js +11 -0
  211. package/dist/icons/audio_video/rewind_30.js +11 -0
  212. package/dist/icons/audio_video/shuffle.js +11 -0
  213. package/dist/icons/audio_video/sound_wave.js +11 -0
  214. package/dist/icons/audio_video/stop.js +11 -0
  215. package/dist/icons/audio_video/stop_circle.js +11 -0
  216. package/dist/icons/audio_video/subscriptions.js +11 -0
  217. package/dist/icons/audio_video/tuner.js +11 -0
  218. package/dist/icons/audio_video/volume.js +11 -0
  219. package/dist/icons/audio_video/volume_high.js +11 -0
  220. package/dist/icons/audio_video/volume_low.js +11 -0
  221. package/dist/icons/audio_video/volume_slash.js +11 -0
  222. package/dist/icons/basic/aa_sansserif.js +12 -0
  223. package/dist/icons/basic/aa_serif.js +12 -0
  224. package/dist/icons/basic/anchor.js +13 -0
  225. package/dist/icons/basic/bible.js +11 -0
  226. package/dist/icons/basic/bold.js +11 -0
  227. package/dist/icons/basic/book.js +11 -0
  228. package/dist/icons/basic/book_open.js +11 -0
  229. package/dist/icons/basic/bookmark.js +11 -0
  230. package/dist/icons/basic/bookmark_add.js +11 -0
  231. package/dist/icons/basic/bookmark_slash.js +11 -0
  232. package/dist/icons/basic/bookmarks.js +11 -0
  233. package/dist/icons/basic/books.js +14 -0
  234. package/dist/icons/basic/box.js +11 -0
  235. package/dist/icons/basic/briefcase.js +11 -0
  236. package/dist/icons/basic/browse_activity.js +11 -0
  237. package/dist/icons/basic/browser.js +11 -0
  238. package/dist/icons/basic/browser_slash.js +11 -0
  239. package/dist/icons/basic/calculator.js +11 -0
  240. package/dist/icons/basic/camera.js +11 -0
  241. package/dist/icons/basic/camera_add.js +11 -0
  242. package/dist/icons/basic/camera_slash.js +11 -0
  243. package/dist/icons/basic/checkmark.js +11 -0
  244. package/dist/icons/basic/checkmark_circle.js +13 -0
  245. package/dist/icons/basic/checkmark_filled.js +11 -0
  246. package/dist/icons/basic/checkmarks.js +11 -0
  247. package/dist/icons/basic/circle.js +11 -0
  248. package/dist/icons/basic/circle_slash.js +13 -0
  249. package/dist/icons/basic/clear_text_style.js +11 -0
  250. package/dist/icons/basic/close.js +11 -0
  251. package/dist/icons/basic/close_circle.js +11 -0
  252. package/dist/icons/basic/close_filled.js +11 -0
  253. package/dist/icons/basic/copy.js +11 -0
  254. package/dist/icons/basic/delete.js +11 -0
  255. package/dist/icons/basic/detail.js +11 -0
  256. package/dist/icons/basic/dot.js +11 -0
  257. package/dist/icons/basic/download.js +11 -0
  258. package/dist/icons/basic/download_arrow.js +11 -0
  259. package/dist/icons/basic/droplet.js +13 -0
  260. package/dist/icons/basic/ellipsis_horizontal.js +11 -0
  261. package/dist/icons/basic/ellipsis_horizontal_circle.js +11 -0
  262. package/dist/icons/basic/ellipsis_vertical.js +11 -0
  263. package/dist/icons/basic/ellipsis_vertical_circle.js +11 -0
  264. package/dist/icons/basic/eye.js +11 -0
  265. package/dist/icons/basic/eye_slash.js +11 -0
  266. package/dist/icons/basic/fingerprint.js +11 -0
  267. package/dist/icons/basic/flag.js +11 -0
  268. package/dist/icons/basic/flag_wave.js +11 -0
  269. package/dist/icons/basic/flag_wave_filled.js +11 -0
  270. package/dist/icons/basic/flame.js +11 -0
  271. package/dist/icons/basic/gauge.js +11 -0
  272. package/dist/icons/basic/glasses.js +11 -0
  273. package/dist/icons/basic/graduation_cap.js +11 -0
  274. package/dist/icons/basic/hashmark.js +11 -0
  275. package/dist/icons/basic/heart.js +11 -0
  276. package/dist/icons/basic/heart_slash.js +11 -0
  277. package/dist/icons/basic/highlighter.js +11 -0
  278. package/dist/icons/basic/home.js +11 -0
  279. package/dist/icons/basic/image.js +11 -0
  280. package/dist/icons/basic/inbox.js +11 -0
  281. package/dist/icons/basic/italic.js +11 -0
  282. package/dist/icons/basic/layers.js +11 -0
  283. package/dist/icons/basic/lightening.js +11 -0
  284. package/dist/icons/basic/lightening_slash.js +11 -0
  285. package/dist/icons/basic/link.js +11 -0
  286. package/dist/icons/basic/link_slash.js +11 -0
  287. package/dist/icons/basic/loudspeaker.js +11 -0
  288. package/dist/icons/basic/maximize.js +11 -0
  289. package/dist/icons/basic/menu.js +11 -0
  290. package/dist/icons/basic/menu_circle.js +11 -0
  291. package/dist/icons/basic/menu_dots.js +11 -0
  292. package/dist/icons/basic/microphone_slash.js +11 -0
  293. package/dist/icons/basic/minimize.js +11 -0
  294. package/dist/icons/basic/minus.js +11 -0
  295. package/dist/icons/basic/minus_circle.js +11 -0
  296. package/dist/icons/basic/move_item.js +11 -0
  297. package/dist/icons/basic/new.js +11 -0
  298. package/dist/icons/basic/newspaper.js +11 -0
  299. package/dist/icons/basic/node.js +11 -0
  300. package/dist/icons/basic/note_pad.js +12 -0
  301. package/dist/icons/basic/options.js +11 -0
  302. package/dist/icons/basic/paint_brush.js +11 -0
  303. package/dist/icons/basic/paperclip.js +11 -0
  304. package/dist/icons/basic/paperclip_slash.js +11 -0
  305. package/dist/icons/basic/pencil.js +11 -0
  306. package/dist/icons/basic/pencil_pad.js +11 -0
  307. package/dist/icons/basic/plus.js +11 -0
  308. package/dist/icons/basic/plus_circle.js +11 -0
  309. package/dist/icons/basic/presentation.js +11 -0
  310. package/dist/icons/basic/printer.js +11 -0
  311. package/dist/icons/basic/profile.js +11 -0
  312. package/dist/icons/basic/profile_check.js +11 -0
  313. package/dist/icons/basic/pulse.js +11 -0
  314. package/dist/icons/basic/qr_code.js +11 -0
  315. package/dist/icons/basic/resize.js +13 -0
  316. package/dist/icons/basic/scan.js +11 -0
  317. package/dist/icons/basic/scissors.js +11 -0
  318. package/dist/icons/basic/screenshot.js +11 -0
  319. package/dist/icons/basic/search.js +11 -0
  320. package/dist/icons/basic/select_item.js +12 -0
  321. package/dist/icons/basic/settings.js +11 -0
  322. package/dist/icons/basic/share.js +11 -0
  323. package/dist/icons/basic/share_external.js +11 -0
  324. package/dist/icons/basic/square.js +11 -0
  325. package/dist/icons/basic/star.js +11 -0
  326. package/dist/icons/basic/star_circle.js +11 -0
  327. package/dist/icons/basic/star_filled.js +11 -0
  328. package/dist/icons/basic/star_filled_half.js +11 -0
  329. package/dist/icons/basic/star_slash.js +11 -0
  330. package/dist/icons/basic/sticker.js +11 -0
  331. package/dist/icons/basic/strikethrough.js +11 -0
  332. package/dist/icons/basic/subtask.js +12 -0
  333. package/dist/icons/basic/tax.js +14 -0
  334. package/dist/icons/basic/text_bg_color.js +11 -0
  335. package/dist/icons/basic/text_color.js +11 -0
  336. package/dist/icons/basic/textbox.js +11 -0
  337. package/dist/icons/basic/thumbs_down.js +11 -0
  338. package/dist/icons/basic/thumbs_up.js +11 -0
  339. package/dist/icons/basic/thumbs_up_filled.js +11 -0
  340. package/dist/icons/basic/toggle_left.js +11 -0
  341. package/dist/icons/basic/toggle_right.js +11 -0
  342. package/dist/icons/basic/translate.js +11 -0
  343. package/dist/icons/basic/trash.js +11 -0
  344. package/dist/icons/basic/trash_slash.js +11 -0
  345. package/dist/icons/basic/underline.js +11 -0
  346. package/dist/icons/basic/upload.js +11 -0
  347. package/dist/icons/basic/video.js +11 -0
  348. package/dist/icons/basic/video_add.js +12 -0
  349. package/dist/icons/basic/video_slash.js +11 -0
  350. package/dist/icons/basic/wrench.js +11 -0
  351. package/dist/icons/basic/zoom_in.js +11 -0
  352. package/dist/icons/basic/zoom_out.js +11 -0
  353. package/dist/icons/data/bar_chart.js +11 -0
  354. package/dist/icons/data/bar_chart_downward.js +11 -0
  355. package/dist/icons/data/bar_chart_downward_outline.js +11 -0
  356. package/dist/icons/data/bar_chart_upward.js +11 -0
  357. package/dist/icons/data/bar_chart_upward_outline.js +11 -0
  358. package/dist/icons/data/candlestick_chart.js +11 -0
  359. package/dist/icons/data/four_circles.js +11 -0
  360. package/dist/icons/data/legend_toggle.js +11 -0
  361. package/dist/icons/data/line_chart.js +11 -0
  362. package/dist/icons/data/line_chart_area.js +11 -0
  363. package/dist/icons/data/line_chart_area_shaded.js +11 -0
  364. package/dist/icons/data/line_chart_double.js +11 -0
  365. package/dist/icons/data/line_chart_downward.js +11 -0
  366. package/dist/icons/data/line_chart_node.js +11 -0
  367. package/dist/icons/data/line_chart_outline.js +11 -0
  368. package/dist/icons/data/line_chart_search.js +11 -0
  369. package/dist/icons/data/line_chart_stars.js +11 -0
  370. package/dist/icons/data/line_chart_upward.js +11 -0
  371. package/dist/icons/data/pie_chart.js +12 -0
  372. package/dist/icons/data/tree.js +11 -0
  373. package/dist/icons/email/mail.js +11 -0
  374. package/dist/icons/email/mail_check.js +11 -0
  375. package/dist/icons/email/mail_minus.js +11 -0
  376. package/dist/icons/email/mail_send.js +11 -0
  377. package/dist/icons/email/send.js +11 -0
  378. package/dist/icons/email/send_close.js +11 -0
  379. package/dist/icons/email/send_schedule.js +11 -0
  380. package/dist/icons/email/send_text.js +11 -0
  381. package/dist/icons/emoji/emoji_add.js +11 -0
  382. package/dist/icons/emoji/laughing.js +11 -0
  383. package/dist/icons/emoji/neutral.js +11 -0
  384. package/dist/icons/emoji/sad.js +11 -0
  385. package/dist/icons/emoji/shocked.js +11 -0
  386. package/dist/icons/emoji/smile.js +11 -0
  387. package/dist/icons/file/clipboard.js +11 -0
  388. package/dist/icons/file/clipboard_check.js +11 -0
  389. package/dist/icons/file/clipboard_close.js +11 -0
  390. package/dist/icons/file/clipboard_minus.js +11 -0
  391. package/dist/icons/file/clipboard_plus.js +11 -0
  392. package/dist/icons/file/clipboard_text.js +11 -0
  393. package/dist/icons/file/file.js +11 -0
  394. package/dist/icons/file/file_add.js +11 -0
  395. package/dist/icons/file/file_check.js +11 -0
  396. package/dist/icons/file/file_close.js +11 -0
  397. package/dist/icons/file/file_code.js +11 -0
  398. package/dist/icons/file/file_download.js +11 -0
  399. package/dist/icons/file/file_draft.js +11 -0
  400. package/dist/icons/file/file_gear.js +12 -0
  401. package/dist/icons/file/file_minus.js +11 -0
  402. package/dist/icons/file/file_plus.js +11 -0
  403. package/dist/icons/file/file_scan.js +11 -0
  404. package/dist/icons/file/file_shred.js +11 -0
  405. package/dist/icons/file/file_text.js +11 -0
  406. package/dist/icons/file/file_upload.js +11 -0
  407. package/dist/icons/file/folder.js +11 -0
  408. package/dist/icons/file/folder_add.js +11 -0
  409. package/dist/icons/file/folder_arrow.js +11 -0
  410. package/dist/icons/file/folder_check.js +11 -0
  411. package/dist/icons/file/folder_close.js +11 -0
  412. package/dist/icons/file/folder_cloud.js +11 -0
  413. package/dist/icons/file/folder_gear.js +12 -0
  414. package/dist/icons/file/folder_minus.js +11 -0
  415. package/dist/icons/file/folder_music.js +11 -0
  416. package/dist/icons/file/folder_open.js +11 -0
  417. package/dist/icons/file/folder_plus.js +11 -0
  418. package/dist/icons/file/folder_zip.js +11 -0
  419. package/dist/icons/file/note.js +11 -0
  420. package/dist/icons/file/note_text.js +11 -0
  421. package/dist/icons/file/pdf.js +11 -0
  422. package/dist/icons/file/photo.js +11 -0
  423. package/dist/icons/finance/bitcoin.js +11 -0
  424. package/dist/icons/finance/coins.js +15 -0
  425. package/dist/icons/finance/credit_card.js +11 -0
  426. package/dist/icons/finance/credit_card_add.js +11 -0
  427. package/dist/icons/finance/credit_card_face.js +11 -0
  428. package/dist/icons/finance/credit_card_member.js +11 -0
  429. package/dist/icons/finance/credit_card_outcome.js +11 -0
  430. package/dist/icons/finance/credit_card_scan.js +11 -0
  431. package/dist/icons/finance/credit_card_share.js +11 -0
  432. package/dist/icons/finance/credit_card_slash.js +11 -0
  433. package/dist/icons/finance/currency_exchange.js +11 -0
  434. package/dist/icons/finance/dollar.js +11 -0
  435. package/dist/icons/finance/ethereum.js +11 -0
  436. package/dist/icons/finance/paypass.js +11 -0
  437. package/dist/icons/finance/strongbox.js +11 -0
  438. package/dist/icons/finance/wallet.js +11 -0
  439. package/dist/icons/index.js +1095 -0
  440. package/dist/icons/layout/block_align_bottom.js +11 -0
  441. package/dist/icons/layout/block_align_center.js +11 -0
  442. package/dist/icons/layout/block_align_left.js +11 -0
  443. package/dist/icons/layout/block_align_middle.js +11 -0
  444. package/dist/icons/layout/block_align_right.js +11 -0
  445. package/dist/icons/layout/block_align_top.js +11 -0
  446. package/dist/icons/layout/block_horizontal.js +11 -0
  447. package/dist/icons/layout/block_vertical.js +11 -0
  448. package/dist/icons/layout/edit_shape.js +11 -0
  449. package/dist/icons/layout/elements.js +11 -0
  450. package/dist/icons/layout/elements_add.js +11 -0
  451. package/dist/icons/layout/elements_filled.js +11 -0
  452. package/dist/icons/layout/elements_masonry.js +11 -0
  453. package/dist/icons/layout/frame.js +11 -0
  454. package/dist/icons/layout/frame_stack.js +11 -0
  455. package/dist/icons/layout/grid.js +11 -0
  456. package/dist/icons/layout/grid_column_three.js +11 -0
  457. package/dist/icons/layout/grid_column_two.js +11 -0
  458. package/dist/icons/layout/grid_dynamic.js +11 -0
  459. package/dist/icons/layout/grid_frame.js +11 -0
  460. package/dist/icons/layout/grid_row_three.js +11 -0
  461. package/dist/icons/layout/grid_row_two.js +11 -0
  462. package/dist/icons/layout/grid_six.js +11 -0
  463. package/dist/icons/layout/grid_small.js +11 -0
  464. package/dist/icons/layout/iframe.js +11 -0
  465. package/dist/icons/layout/kanban.js +11 -0
  466. package/dist/icons/layout/layout.js +11 -0
  467. package/dist/icons/layout/list.js +11 -0
  468. package/dist/icons/layout/list_filled.js +16 -0
  469. package/dist/icons/layout/padding.js +11 -0
  470. package/dist/icons/layout/page_break.js +11 -0
  471. package/dist/icons/layout/rotate_left.js +11 -0
  472. package/dist/icons/layout/rotate_right.js +11 -0
  473. package/dist/icons/layout/ruler.js +11 -0
  474. package/dist/icons/layout/segment.js +11 -0
  475. package/dist/icons/layout/select_area.js +11 -0
  476. package/dist/icons/layout/select_boundary.js +11 -0
  477. package/dist/icons/layout/sidebar_left.js +11 -0
  478. package/dist/icons/layout/sidebar_right.js +11 -0
  479. package/dist/icons/layout/slides.js +11 -0
  480. package/dist/icons/layout/slides_horizontal.js +11 -0
  481. package/dist/icons/layout/slides_vertical.js +16 -0
  482. package/dist/icons/layout/stack.js +11 -0
  483. package/dist/icons/layout/text.js +11 -0
  484. package/dist/icons/maps/atlas.js +11 -0
  485. package/dist/icons/maps/compass.js +11 -0
  486. package/dist/icons/maps/direction.js +11 -0
  487. package/dist/icons/maps/direction_angled.js +11 -0
  488. package/dist/icons/maps/globe.js +11 -0
  489. package/dist/icons/maps/globe_slash.js +11 -0
  490. package/dist/icons/maps/location.js +11 -0
  491. package/dist/icons/maps/location_slash.js +11 -0
  492. package/dist/icons/maps/map.js +11 -0
  493. package/dist/icons/maps/marker.js +11 -0
  494. package/dist/icons/maps/panorama.js +11 -0
  495. package/dist/icons/maps/pin.js +11 -0
  496. package/dist/icons/maps/pin_arrow.js +11 -0
  497. package/dist/icons/maps/pin_location.js +11 -0
  498. package/dist/icons/maps/pin_plus.js +11 -0
  499. package/dist/icons/maps/pin_question.js +11 -0
  500. package/dist/icons/maps/pin_slash.js +11 -0
  501. package/dist/icons/maps/push_pin.js +11 -0
  502. package/dist/icons/maps/push_pin_filled.js +11 -0
  503. package/dist/icons/maps/push_pin_slash.js +11 -0
  504. package/dist/icons/maps/radar.js +11 -0
  505. package/dist/icons/maps/route.js +11 -0
  506. package/dist/icons/message/bubble.js +11 -0
  507. package/dist/icons/message/bubble_question.js +11 -0
  508. package/dist/icons/message/comment.js +11 -0
  509. package/dist/icons/message/comment_add.js +11 -0
  510. package/dist/icons/message/comment_check.js +11 -0
  511. package/dist/icons/message/comment_close.js +11 -0
  512. package/dist/icons/message/comment_minus.js +11 -0
  513. package/dist/icons/message/comment_text.js +11 -0
  514. package/dist/icons/misc/advertisement.js +11 -0
  515. package/dist/icons/misc/atom.js +11 -0
  516. package/dist/icons/misc/bone.js +11 -0
  517. package/dist/icons/misc/brightness_high.js +11 -0
  518. package/dist/icons/misc/brightness_low.js +11 -0
  519. package/dist/icons/misc/contrast.js +11 -0
  520. package/dist/icons/misc/crosshairs.js +11 -0
  521. package/dist/icons/misc/crown.js +11 -0
  522. package/dist/icons/misc/footprint.js +11 -0
  523. package/dist/icons/misc/form.js +11 -0
  524. package/dist/icons/misc/funnel.js +11 -0
  525. package/dist/icons/misc/infinite.js +11 -0
  526. package/dist/icons/misc/insert_button.js +11 -0
  527. package/dist/icons/misc/light_bulb.js +11 -0
  528. package/dist/icons/misc/moon.js +11 -0
  529. package/dist/icons/misc/nut.js +11 -0
  530. package/dist/icons/misc/planet.js +11 -0
  531. package/dist/icons/misc/plus_thick.js +11 -0
  532. package/dist/icons/misc/pocket.js +11 -0
  533. package/dist/icons/misc/rocket.js +11 -0
  534. package/dist/icons/misc/soup.js +15 -0
  535. package/dist/icons/misc/sun.js +11 -0
  536. package/dist/icons/misc/toy_horse.js +11 -0
  537. package/dist/icons/misc/trophy.js +11 -0
  538. package/dist/icons/misc/watercloset.js +11 -0
  539. package/dist/icons/notifications/alert_circle.js +11 -0
  540. package/dist/icons/notifications/alert_octogon.js +11 -0
  541. package/dist/icons/notifications/alert_triangle.js +11 -0
  542. package/dist/icons/notifications/app_notification.js +11 -0
  543. package/dist/icons/notifications/bell.js +11 -0
  544. package/dist/icons/notifications/bell_alert.js +11 -0
  545. package/dist/icons/notifications/bell_checkmark.js +11 -0
  546. package/dist/icons/notifications/bell_minus.js +11 -0
  547. package/dist/icons/notifications/bell_plus.js +11 -0
  548. package/dist/icons/notifications/bell_ring.js +13 -0
  549. package/dist/icons/notifications/bell_slash.js +11 -0
  550. package/dist/icons/notifications/information.js +11 -0
  551. package/dist/icons/notifications/minus_octogon.js +11 -0
  552. package/dist/icons/notifications/question_circle.js +11 -0
  553. package/dist/icons/people/group.js +11 -0
  554. package/dist/icons/people/group_add.js +11 -0
  555. package/dist/icons/people/group_chat.js +13 -0
  556. package/dist/icons/people/group_remove.js +11 -0
  557. package/dist/icons/people/group_send.js +12 -0
  558. package/dist/icons/people/groups.js +11 -0
  559. package/dist/icons/people/person.js +11 -0
  560. package/dist/icons/people/person_add.js +11 -0
  561. package/dist/icons/people/person_checkmark.js +11 -0
  562. package/dist/icons/people/person_circle.js +13 -0
  563. package/dist/icons/people/person_close.js +13 -0
  564. package/dist/icons/people/person_remove.js +11 -0
  565. package/dist/icons/people/person_slash.js +13 -0
  566. package/dist/icons/phone/keypad.js +11 -0
  567. package/dist/icons/phone/phone.js +11 -0
  568. package/dist/icons/phone/phone_add.js +11 -0
  569. package/dist/icons/phone/phone_calling.js +11 -0
  570. package/dist/icons/phone/phone_check.js +11 -0
  571. package/dist/icons/phone/phone_close.js +11 -0
  572. package/dist/icons/phone/phone_decline.js +11 -0
  573. package/dist/icons/phone/phone_forwarded.js +11 -0
  574. package/dist/icons/phone/phone_hash.js +11 -0
  575. package/dist/icons/phone/phone_incoming.js +11 -0
  576. package/dist/icons/phone/phone_outgoing.js +11 -0
  577. package/dist/icons/phone/phone_pause.js +11 -0
  578. package/dist/icons/phone/phone_slash.js +11 -0
  579. package/dist/icons/phone/voicemail.js +11 -0
  580. package/dist/icons/security/key.js +11 -0
  581. package/dist/icons/security/key_slash.js +11 -0
  582. package/dist/icons/security/lock.js +11 -0
  583. package/dist/icons/security/lock_circle.js +11 -0
  584. package/dist/icons/security/lock_open.js +11 -0
  585. package/dist/icons/security/lock_slash.js +11 -0
  586. package/dist/icons/security/shield.js +11 -0
  587. package/dist/icons/security/shield_checkmark.js +11 -0
  588. package/dist/icons/security/shield_lock.js +11 -0
  589. package/dist/icons/security/shield_slash.js +11 -0
  590. package/dist/icons/security/verified.js +11 -0
  591. package/dist/icons/shopping/basket.js +11 -0
  592. package/dist/icons/shopping/cart.js +11 -0
  593. package/dist/icons/shopping/cart_filled.js +11 -0
  594. package/dist/icons/shopping/coupon.js +11 -0
  595. package/dist/icons/shopping/coupon_cut.js +11 -0
  596. package/dist/icons/shopping/delivery.js +11 -0
  597. package/dist/icons/shopping/discount.js +11 -0
  598. package/dist/icons/shopping/gift.js +11 -0
  599. package/dist/icons/shopping/gift_bag.js +11 -0
  600. package/dist/icons/shopping/inventory.js +11 -0
  601. package/dist/icons/shopping/point_of_sale.js +11 -0
  602. package/dist/icons/shopping/shirt.js +11 -0
  603. package/dist/icons/shopping/tag.js +11 -0
  604. package/dist/icons/shopping/tag_diagonal.js +11 -0
  605. package/dist/icons/shopping/tote.js +11 -0
  606. package/dist/icons/special/upload_audio.js +16 -0
  607. package/dist/icons/special/upload_file.js +11 -0
  608. package/dist/icons/special/upload_image.js +13 -0
  609. package/dist/icons/special/upload_video.js +14 -0
  610. package/dist/icons/symbols/at.js +11 -0
  611. package/dist/icons/symbols/cc.js +11 -0
  612. package/dist/icons/symbols/cmd.js +11 -0
  613. package/dist/icons/symbols/facebook.js +11 -0
  614. package/dist/icons/symbols/google.js +14 -0
  615. package/dist/icons/symbols/hash.js +11 -0
  616. package/dist/icons/symbols/instagram.js +23 -0
  617. package/dist/icons/symbols/messenger.js +17 -0
  618. package/dist/icons/symbols/twitter.js +11 -0
  619. package/dist/icons/technology/battery.js +11 -0
  620. package/dist/icons/technology/battery_100.js +11 -0
  621. package/dist/icons/technology/battery_20.js +11 -0
  622. package/dist/icons/technology/battery_40.js +11 -0
  623. package/dist/icons/technology/battery_60.js +11 -0
  624. package/dist/icons/technology/battery_80.js +11 -0
  625. package/dist/icons/technology/battery_charging.js +11 -0
  626. package/dist/icons/technology/battery_slash.js +11 -0
  627. package/dist/icons/technology/devices.js +11 -0
  628. package/dist/icons/technology/floppy_disk.js +11 -0
  629. package/dist/icons/technology/iphone.js +11 -0
  630. package/dist/icons/technology/laptop.js +11 -0
  631. package/dist/icons/technology/mobile.js +11 -0
  632. package/dist/icons/technology/monitor.js +11 -0
  633. package/dist/icons/technology/server.js +11 -0
  634. package/dist/icons/technology/sim_card.js +11 -0
  635. package/dist/icons/technology/usb_stick.js +11 -0
  636. package/dist/icons/text/align_center.js +11 -0
  637. package/dist/icons/text/align_justified.js +11 -0
  638. package/dist/icons/text/align_left.js +11 -0
  639. package/dist/icons/text/align_right.js +11 -0
  640. package/dist/icons/text/code_block.js +11 -0
  641. package/dist/icons/text/divider.js +11 -0
  642. package/dist/icons/text/footnote.js +13 -0
  643. package/dist/icons/text/indent_decrease.js +11 -0
  644. package/dist/icons/text/indent_increase.js +11 -0
  645. package/dist/icons/text/list_ordered.js +11 -0
  646. package/dist/icons/text/list_unordered.js +11 -0
  647. package/dist/icons/text/quote.js +11 -0
  648. package/dist/icons/text/table.js +11 -0
  649. package/dist/icons/time/alarm.js +11 -0
  650. package/dist/icons/time/alarm_checkmark.js +11 -0
  651. package/dist/icons/time/alarm_minus.js +11 -0
  652. package/dist/icons/time/alarm_plus.js +11 -0
  653. package/dist/icons/time/alarm_slash.js +11 -0
  654. package/dist/icons/time/alarm_snooze.js +11 -0
  655. package/dist/icons/time/calendar.js +11 -0
  656. package/dist/icons/time/calendar_add.js +11 -0
  657. package/dist/icons/time/calendar_checkmark.js +11 -0
  658. package/dist/icons/time/calendar_close.js +11 -0
  659. package/dist/icons/time/calendar_dates.js +11 -0
  660. package/dist/icons/time/calendar_minus.js +11 -0
  661. package/dist/icons/time/calendar_plus.js +11 -0
  662. package/dist/icons/time/calendar_scroll.js +13 -0
  663. package/dist/icons/time/clock.js +11 -0
  664. package/dist/icons/time/clock_history.js +11 -0
  665. package/dist/icons/time/stopwatch.js +11 -0
  666. package/dist/icons/time/timer.js +11 -0
  667. package/dist/icons/time/watch.js +11 -0
  668. package/dist/index.js +112 -11878
  669. package/dist/utils/date.js +73 -0
  670. package/dist/utils/function.js +5 -0
  671. package/package.json +1 -1
@@ -0,0 +1,138 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var Image = require('next/image');
6
+ var styled = require('styled-components');
7
+ var button = require('../../actions/button/button.js');
8
+ var paragraph = require('../../atoms/typography/paragraph.js');
9
+ var box = require('../../atoms/box/box.js');
10
+ var heading = require('../../atoms/typography/heading.js');
11
+ var graduation_cap = require('../../../icons/basic/graduation_cap.js');
12
+ var search = require('../../../icons/basic/search.js');
13
+ var plus = require('../../../icons/basic/plus.js');
14
+ var close = require('../../../icons/basic/close.js');
15
+
16
+ const CoursesSelection = ({ closeOnChange = true, closeOnBlur = true, disabled = false, offset = [0, 0], sx, containerSx, courses, label, courseIsSelected, setCourseIsSelected, subtitle, onlyOneCanBeSelected = false, ...rest }) => {
17
+ const wrapperRef = React.useRef(null);
18
+ const [open, setOpen] = React.useState(false);
19
+ React.useEffect(() => {
20
+ if (disabled) {
21
+ setOpen(false);
22
+ }
23
+ }, [disabled]);
24
+ const handleOpen = () => {
25
+ if (disabled) {
26
+ return;
27
+ }
28
+ setOpen((prev) => !prev);
29
+ };
30
+ const handleBlur = (event) => {
31
+ if (closeOnBlur &&
32
+ wrapperRef?.current &&
33
+ !wrapperRef?.current?.contains(event.relatedTarget)) {
34
+ setOpen(false);
35
+ }
36
+ };
37
+ const selectedCourses = courses.filter((course) => courseIsSelected[course.id]);
38
+ return (React.createElement(Wrapper, { "$sx": sx, tabIndex: 0, ref: wrapperRef, onBlurCapture: handleBlur, ...rest },
39
+ React.createElement(box.Box, { "$gap": 16, "$align": "center" },
40
+ React.createElement(IconWrapper, { "$color": "var(--color-hue-purple-2)" },
41
+ React.createElement(graduation_cap.GraduationCap, { color: "hue-purple-1", size: 24 })),
42
+ React.createElement(heading.H.Six, { "$bold": true, "$color": "hue-purple-1" }, "Course")),
43
+ React.createElement(paragraph.P, { "$color": "grey-4", "$fontSize": 14, sx: "margin-top: 32px;" }, subtitle),
44
+ React.createElement(button.Button, { type: "dropdown", isDropdownOpen: open, onClick: handleOpen, customDropdownIcon: search.Search, sx: "margin-top: 32px;" }, label),
45
+ open && (React.createElement(Container, { "$offset": offset, "$sx": containerSx }, courses.map((course) => (React.createElement(OptionWrapper, { key: course.id, "$disabled": disabled, onClick: () => {
46
+ setCourseIsSelected(onlyOneCanBeSelected
47
+ ? {
48
+ [course.id]: true,
49
+ }
50
+ : {
51
+ ...courseIsSelected,
52
+ [course.id]: true,
53
+ });
54
+ if (closeOnChange) {
55
+ setOpen(false);
56
+ }
57
+ } },
58
+ React.createElement(box.Box, { "$display": "flex", "$align": "center" },
59
+ React.createElement(paragraph.P, { "$color": 'grey-4', "$fontSize": 14, "$lineHeight": 20, "$mediumBold": true, "$textClampLines": 1 }, course.name),
60
+ React.createElement(plus.Plus, { sx: "margin-left: auto;" }))))))),
61
+ !!selectedCourses.length && (React.createElement("ul", { style: { padding: 0 } }, selectedCourses.map((course) => {
62
+ return (React.createElement("li", { key: course.id, style: {
63
+ listStyleType: 'none',
64
+ display: 'flex',
65
+ alignItems: 'center',
66
+ marginTop: '16px',
67
+ } },
68
+ React.createElement(Image, { alt: "", height: 64, width: 114, src: course.imageSrc, quality: 100, style: {
69
+ borderRadius: '8px',
70
+ marginRight: '16px',
71
+ } }),
72
+ React.createElement(paragraph.P, { sx: "margin-left: 16px;" }, course.name),
73
+ React.createElement(close.Close, { sx: "cursor: pointer; margin-left: auto;", onClick: () => setCourseIsSelected({
74
+ ...courseIsSelected,
75
+ [course.id]: false,
76
+ }) })));
77
+ })))));
78
+ };
79
+ const Wrapper = styled.styled.div `
80
+ position: relative;
81
+ display: block;
82
+ outline: none;
83
+ ${({ $sx }) => ($sx ? $sx : '')}
84
+ `;
85
+ const Container = styled.styled.div `
86
+ min-width: 280px;
87
+ max-height: 600px;
88
+ display: flex;
89
+ flex-direction: column;
90
+ background-color: var(--color-white);
91
+ position: absolute;
92
+ width: 100%;
93
+ outline: none;
94
+ cursor: pointer;
95
+ box-shadow: var(--elevation-2);
96
+ border-radius: 8px;
97
+ overflow: auto;
98
+ z-index: 2;
99
+
100
+ ${({ $sx }) => ($sx ? $sx : '')}
101
+
102
+ ${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
103
+ `;
104
+ const OptionWrapper = styled.styled.div `
105
+ position: relative;
106
+ padding: 12px 16px;
107
+ user-select: none;
108
+ gap: 8px;
109
+
110
+ & > * {
111
+ pointer-events: none;
112
+ }
113
+
114
+ ${({ $disabled }) => {
115
+ if ($disabled) {
116
+ return `cursor: initial;
117
+ color: var(--color-grey-7);
118
+ background-color: var(--color-grey-10);`;
119
+ }
120
+ return `
121
+ &:hover {
122
+ background-color: var(--color-grey-10);
123
+ }
124
+
125
+ &:active {
126
+ background-color: var(--color-grey-8);
127
+ }
128
+ `;
129
+ }}
130
+ `;
131
+ const IconWrapper = styled.styled.div `
132
+ padding: 12px;
133
+ border-radius: 8px;
134
+ background-color: ${({ $color }) => $color};
135
+ width: fit-content;
136
+ `;
137
+
138
+ exports.CoursesSelection = CoursesSelection;
@@ -0,0 +1,129 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var Image = require('next/image');
6
+ var styled = require('styled-components');
7
+ var button = require('../../actions/button/button.js');
8
+ var paragraph = require('../../atoms/typography/paragraph.js');
9
+ var search = require('../../input/search/search.js');
10
+ var checkbox = require('../../input/checkbox/checkbox.js');
11
+ var box = require('../../atoms/box/box.js');
12
+
13
+ const UsersSelection = ({ closeOnBlur = true, disabled = false, offset = [0, 0], sx, containerSx, searchSx, users, label, title, userIsChecked, setUserIsChecked, icon, ...rest }) => {
14
+ const wrapperRef = React.useRef(null);
15
+ const [open, setOpen] = React.useState(false);
16
+ const [searchValue, setSearchValue] = React.useState('');
17
+ React.useEffect(() => {
18
+ if (disabled) {
19
+ setOpen(false);
20
+ }
21
+ }, [disabled]);
22
+ const handleOpen = () => {
23
+ if (disabled) {
24
+ return;
25
+ }
26
+ setOpen((prev) => !prev);
27
+ };
28
+ const handleBlur = (event) => {
29
+ if (closeOnBlur &&
30
+ wrapperRef?.current &&
31
+ !wrapperRef?.current?.contains(event.relatedTarget)) {
32
+ setOpen(false);
33
+ }
34
+ };
35
+ const Icon = icon;
36
+ return (React.createElement(Wrapper, { "$sx": sx, tabIndex: 0, ref: wrapperRef, onBlurCapture: handleBlur, ...rest },
37
+ React.createElement(button.Button, { type: "dropdown", isDropdownOpen: open, onClick: handleOpen },
38
+ React.createElement(Icon, { size: 16, sx: "margin-right: 16px;" }),
39
+ label),
40
+ open && (React.createElement(Container, { "$offset": offset, "$sx": containerSx },
41
+ React.createElement(paragraph.P, null, title),
42
+ React.createElement(search.Search, { onChange: (event) => setSearchValue(event.target.value), onClearText: () => setSearchValue(''), value: searchValue, size: "large", placeholder: "Search...", sx: `margin-top: 8px; margin-bottom: 8px; border-radius: 76px; ${searchSx}` }),
43
+ users
44
+ .filter((user) => searchValue
45
+ ? user.fullName
46
+ .toLowerCase()
47
+ .includes(searchValue.toLowerCase())
48
+ : true)
49
+ .map((user) => (React.createElement(React.Fragment, { key: user.id },
50
+ React.createElement(OptionWrapper, { "$disabled": disabled, onClick: () => setUserIsChecked({
51
+ ...userIsChecked,
52
+ [user.id]: !userIsChecked[user.id],
53
+ }) },
54
+ React.createElement(box.Box, { "$display": "flex", "$align": "center" },
55
+ React.createElement(StyledImage, { alt: "", height: 40, src: user.imageSrc, width: 40 }),
56
+ React.createElement(paragraph.P, { "$color": 'grey-4', "$fontSize": 14, "$lineHeight": 20, "$mediumBold": true, "$textClampLines": 1 }, user.fullName),
57
+ React.createElement(checkbox.Checkbox, { selected: userIsChecked[user.id], sx: "margin-left: auto;" }))),
58
+ React.createElement(Spacer, null))))))));
59
+ };
60
+ const Wrapper = styled.styled.div `
61
+ position: relative;
62
+ display: block;
63
+ outline: none;
64
+ ${({ $sx }) => ($sx ? $sx : '')}
65
+ `;
66
+ const Container = styled.styled.div `
67
+ min-width: 280px;
68
+ max-height: 600px;
69
+ display: flex;
70
+ flex-direction: column;
71
+ background-color: var(--color-white);
72
+ position: absolute;
73
+ width: 100%;
74
+ outline: none;
75
+ cursor: pointer;
76
+ box-shadow: var(--elevation-2);
77
+ border-radius: 8px;
78
+ overflow: auto;
79
+ padding: 24px;
80
+ z-index: 2;
81
+
82
+ ${({ $sx }) => ($sx ? $sx : '')}
83
+
84
+ ${({ $offset }) => $offset ? `transform: translate(${$offset[0]}px, ${$offset[1]}px);` : ''}
85
+ `;
86
+ const OptionWrapper = styled.styled.div `
87
+ position: relative;
88
+ padding: 12px 16px;
89
+ user-select: none;
90
+ gap: 8px;
91
+
92
+ & > * {
93
+ pointer-events: none;
94
+ }
95
+
96
+ ${({ $disabled }) => {
97
+ if ($disabled) {
98
+ return `cursor: initial;
99
+ color: var(--color-grey-7);
100
+ background-color: var(--color-grey-10);`;
101
+ }
102
+ return `
103
+ &:hover {
104
+ background-color: var(--color-blue-10);
105
+ }
106
+
107
+ &:active {
108
+ background-color: var(--color-grey-8);
109
+ }
110
+ `;
111
+ }}
112
+ `;
113
+ const StyledImage = styled.styled(Image) `
114
+ border-radius: 50%;
115
+ width: 40px;
116
+ height: 40px;
117
+ margin-right: 16px;
118
+ `;
119
+ const Spacer = styled.styled.div `
120
+ width: 100%;
121
+ height: 1px;
122
+ background-color: var(--color-grey-8);
123
+
124
+ &:hover {
125
+ appearance: none;
126
+ }
127
+ `;
128
+
129
+ exports.UsersSelection = UsersSelection;
@@ -0,0 +1,195 @@
1
+ 'use strict';
2
+
3
+ var plate = require('@udecode/plate');
4
+
5
+ const ELEMENT_BUTTON = 'button';
6
+ const ELEMENT_QA = 'q-n-a';
7
+ const ELEMENT_VIDEO = 'video';
8
+ const BUTTON_LINK = 'button-link';
9
+ const BUTTON_SUBSCRIBE = 'button-subscribe';
10
+ const COLORS = [
11
+ 'var(--color-turquoise-5)',
12
+ 'var(--color-green-5)',
13
+ 'var(--color-blue-5)',
14
+ 'var(--color-purple-5)',
15
+ 'var(--color-yellow-5)',
16
+ 'var(--color-orange-5)',
17
+ 'var(--color-red-5)',
18
+ ];
19
+ const PLACEHOLDER = 'This is a placeholder';
20
+
21
+ Object.defineProperty(exports, "ELEMENT_BLOCKQUOTE", {
22
+ enumerable: true,
23
+ get: function () { return plate.ELEMENT_BLOCKQUOTE; }
24
+ });
25
+ Object.defineProperty(exports, "ELEMENT_CODE_LINE", {
26
+ enumerable: true,
27
+ get: function () { return plate.ELEMENT_CODE_LINE; }
28
+ });
29
+ Object.defineProperty(exports, "ELEMENT_CODE_SYNTAX", {
30
+ enumerable: true,
31
+ get: function () { return plate.ELEMENT_CODE_SYNTAX; }
32
+ });
33
+ Object.defineProperty(exports, "ELEMENT_DEFAULT", {
34
+ enumerable: true,
35
+ get: function () { return plate.ELEMENT_DEFAULT; }
36
+ });
37
+ Object.defineProperty(exports, "ELEMENT_H1", {
38
+ enumerable: true,
39
+ get: function () { return plate.ELEMENT_H1; }
40
+ });
41
+ Object.defineProperty(exports, "ELEMENT_H2", {
42
+ enumerable: true,
43
+ get: function () { return plate.ELEMENT_H2; }
44
+ });
45
+ Object.defineProperty(exports, "ELEMENT_H3", {
46
+ enumerable: true,
47
+ get: function () { return plate.ELEMENT_H3; }
48
+ });
49
+ Object.defineProperty(exports, "ELEMENT_H4", {
50
+ enumerable: true,
51
+ get: function () { return plate.ELEMENT_H4; }
52
+ });
53
+ Object.defineProperty(exports, "ELEMENT_H5", {
54
+ enumerable: true,
55
+ get: function () { return plate.ELEMENT_H5; }
56
+ });
57
+ Object.defineProperty(exports, "ELEMENT_H6", {
58
+ enumerable: true,
59
+ get: function () { return plate.ELEMENT_H6; }
60
+ });
61
+ Object.defineProperty(exports, "ELEMENT_HR", {
62
+ enumerable: true,
63
+ get: function () { return plate.ELEMENT_HR; }
64
+ });
65
+ Object.defineProperty(exports, "ELEMENT_IMAGE", {
66
+ enumerable: true,
67
+ get: function () { return plate.ELEMENT_IMAGE; }
68
+ });
69
+ Object.defineProperty(exports, "ELEMENT_LI", {
70
+ enumerable: true,
71
+ get: function () { return plate.ELEMENT_LI; }
72
+ });
73
+ Object.defineProperty(exports, "ELEMENT_LIC", {
74
+ enumerable: true,
75
+ get: function () { return plate.ELEMENT_LIC; }
76
+ });
77
+ Object.defineProperty(exports, "ELEMENT_LINK", {
78
+ enumerable: true,
79
+ get: function () { return plate.ELEMENT_LINK; }
80
+ });
81
+ Object.defineProperty(exports, "ELEMENT_MEDIA", {
82
+ enumerable: true,
83
+ get: function () { return plate.ELEMENT_MEDIA; }
84
+ });
85
+ Object.defineProperty(exports, "ELEMENT_MEDIA_EMBED", {
86
+ enumerable: true,
87
+ get: function () { return plate.ELEMENT_MEDIA_EMBED; }
88
+ });
89
+ Object.defineProperty(exports, "ELEMENT_MENTION", {
90
+ enumerable: true,
91
+ get: function () { return plate.ELEMENT_MENTION; }
92
+ });
93
+ Object.defineProperty(exports, "ELEMENT_MENTION_INPUT", {
94
+ enumerable: true,
95
+ get: function () { return plate.ELEMENT_MENTION_INPUT; }
96
+ });
97
+ Object.defineProperty(exports, "ELEMENT_OL", {
98
+ enumerable: true,
99
+ get: function () { return plate.ELEMENT_OL; }
100
+ });
101
+ Object.defineProperty(exports, "ELEMENT_PARAGRAPH", {
102
+ enumerable: true,
103
+ get: function () { return plate.ELEMENT_PARAGRAPH; }
104
+ });
105
+ Object.defineProperty(exports, "ELEMENT_TABLE", {
106
+ enumerable: true,
107
+ get: function () { return plate.ELEMENT_TABLE; }
108
+ });
109
+ Object.defineProperty(exports, "ELEMENT_TD", {
110
+ enumerable: true,
111
+ get: function () { return plate.ELEMENT_TD; }
112
+ });
113
+ Object.defineProperty(exports, "ELEMENT_TH", {
114
+ enumerable: true,
115
+ get: function () { return plate.ELEMENT_TH; }
116
+ });
117
+ Object.defineProperty(exports, "ELEMENT_TODO_LI", {
118
+ enumerable: true,
119
+ get: function () { return plate.ELEMENT_TODO_LI; }
120
+ });
121
+ Object.defineProperty(exports, "ELEMENT_TR", {
122
+ enumerable: true,
123
+ get: function () { return plate.ELEMENT_TR; }
124
+ });
125
+ Object.defineProperty(exports, "ELEMENT_UL", {
126
+ enumerable: true,
127
+ get: function () { return plate.ELEMENT_UL; }
128
+ });
129
+ Object.defineProperty(exports, "MARK_BG_COLOR", {
130
+ enumerable: true,
131
+ get: function () { return plate.MARK_BG_COLOR; }
132
+ });
133
+ Object.defineProperty(exports, "MARK_BOLD", {
134
+ enumerable: true,
135
+ get: function () { return plate.MARK_BOLD; }
136
+ });
137
+ Object.defineProperty(exports, "MARK_CODE", {
138
+ enumerable: true,
139
+ get: function () { return plate.MARK_CODE; }
140
+ });
141
+ Object.defineProperty(exports, "MARK_COLOR", {
142
+ enumerable: true,
143
+ get: function () { return plate.MARK_COLOR; }
144
+ });
145
+ Object.defineProperty(exports, "MARK_FONT_FAMILY", {
146
+ enumerable: true,
147
+ get: function () { return plate.MARK_FONT_FAMILY; }
148
+ });
149
+ Object.defineProperty(exports, "MARK_FONT_SIZE", {
150
+ enumerable: true,
151
+ get: function () { return plate.MARK_FONT_SIZE; }
152
+ });
153
+ Object.defineProperty(exports, "MARK_FONT_WEIGHT", {
154
+ enumerable: true,
155
+ get: function () { return plate.MARK_FONT_WEIGHT; }
156
+ });
157
+ Object.defineProperty(exports, "MARK_HIGHLIGHT", {
158
+ enumerable: true,
159
+ get: function () { return plate.MARK_HIGHLIGHT; }
160
+ });
161
+ Object.defineProperty(exports, "MARK_ITALIC", {
162
+ enumerable: true,
163
+ get: function () { return plate.MARK_ITALIC; }
164
+ });
165
+ Object.defineProperty(exports, "MARK_KBD", {
166
+ enumerable: true,
167
+ get: function () { return plate.MARK_KBD; }
168
+ });
169
+ Object.defineProperty(exports, "MARK_SEARCH_HIGHLIGHT", {
170
+ enumerable: true,
171
+ get: function () { return plate.MARK_SEARCH_HIGHLIGHT; }
172
+ });
173
+ Object.defineProperty(exports, "MARK_STRIKETHROUGH", {
174
+ enumerable: true,
175
+ get: function () { return plate.MARK_STRIKETHROUGH; }
176
+ });
177
+ Object.defineProperty(exports, "MARK_SUBSCRIPT", {
178
+ enumerable: true,
179
+ get: function () { return plate.MARK_SUBSCRIPT; }
180
+ });
181
+ Object.defineProperty(exports, "MARK_SUPERSCRIPT", {
182
+ enumerable: true,
183
+ get: function () { return plate.MARK_SUPERSCRIPT; }
184
+ });
185
+ Object.defineProperty(exports, "MARK_UNDERLINE", {
186
+ enumerable: true,
187
+ get: function () { return plate.MARK_UNDERLINE; }
188
+ });
189
+ exports.BUTTON_LINK = BUTTON_LINK;
190
+ exports.BUTTON_SUBSCRIBE = BUTTON_SUBSCRIBE;
191
+ exports.COLORS = COLORS;
192
+ exports.ELEMENT_BUTTON = ELEMENT_BUTTON;
193
+ exports.ELEMENT_QA = ELEMENT_QA;
194
+ exports.ELEMENT_VIDEO = ELEMENT_VIDEO;
195
+ exports.PLACEHOLDER = PLACEHOLDER;
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const EditorContext = React.createContext({
6
+ commentInputLoader: () => React.createElement(React.Fragment, null),
7
+ commentLoader: () => React.createElement(React.Fragment, null),
8
+ handleVideoClick: () => undefined,
9
+ imageSrcLoader: async () => '',
10
+ videoTitleLoader: () => React.createElement(React.Fragment, null),
11
+ });
12
+
13
+ exports.EditorContext = EditorContext;
@@ -0,0 +1,110 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var styled = require('styled-components');
6
+ var plate = require('@udecode/plate');
7
+ var constants = require('./constants.js');
8
+ var context = require('./context.js');
9
+ var navbar = require('./navbar/navbar.js');
10
+ var plate$1 = require('./plugins/plate.js');
11
+ var blocks = require('./plugins/blocks/blocks.js');
12
+ var leafs = require('./plugins/leafs/leafs.js');
13
+ var marks = require('./plugins/marks/marks.js');
14
+ var utils = require('./plugins/utils/utils.js');
15
+
16
+ const plugins = plate.createPlugins([...blocks.blocks, ...leafs.leafs, ...marks.marks, ...utils.utils], {
17
+ components: plate$1.plateUI,
18
+ });
19
+ const Editor = ({ commentInputLoader, commentLoader, editable, handleVideoClick, imageSrcLoader, onChange, previousContent, videoTitleLoader, }) => {
20
+ return (React.createElement(context.EditorContext.Provider, { value: {
21
+ commentInputLoader,
22
+ commentLoader,
23
+ handleVideoClick,
24
+ imageSrcLoader,
25
+ videoTitleLoader,
26
+ } },
27
+ React.createElement(plate.Plate, { id: "main", initialValue: previousContent, onChange: onChange, plugins: plugins },
28
+ React.createElement(Wrapper, null,
29
+ editable && React.createElement(navbar.EditorBar, null),
30
+ React.createElement(plate.PlateContent, { id: "main", autoFocus: true, placeholder: constants.PLACEHOLDER, readOnly: !editable, spellCheck: true, onContextMenu: (e) => e.preventDefault(), onCopy: () => {
31
+ if ('clipboard' in navigator) {
32
+ return navigator.clipboard.writeText('');
33
+ }
34
+ } })))));
35
+ };
36
+ const Wrapper = styled.styled.div `
37
+ * {
38
+ font-family: var(--font-inter);
39
+ outline: none;
40
+ }
41
+
42
+ .slate-bold {
43
+ font-weight: 700;
44
+ }
45
+
46
+ .slate-italic {
47
+ font-style: italic;
48
+ }
49
+
50
+ .slate-strikethrough {
51
+ text-decoration: line-through;
52
+ }
53
+
54
+ .slate-underline {
55
+ text-decoration: underline;
56
+ }
57
+
58
+ li {
59
+ color: var(--color-grey-3);
60
+ }
61
+
62
+ ul {
63
+ padding-left: 24px;
64
+
65
+ li {
66
+ list-style-type: disc;
67
+ }
68
+ }
69
+
70
+ ol {
71
+ padding-left: 24px;
72
+
73
+ li {
74
+ list-style-type: decimal;
75
+ }
76
+ }
77
+
78
+ a {
79
+ text-decoration: underline;
80
+ color: var(--color-primary-blue-1);
81
+ }
82
+
83
+ .slate-code {
84
+ & > * {
85
+ font-family: 'Roboto Mono';
86
+ & > * {
87
+ font-family: 'Roboto Mono';
88
+ & > * {
89
+ font-family: 'Roboto Mono';
90
+ }
91
+ }
92
+ }
93
+
94
+ background-color: var(--color-grey-9);
95
+ padding: 0.4em 0.4em;
96
+ font-size: 0.8em;
97
+ line-height: 0.8em;
98
+ }
99
+
100
+ & > [data-slate-editor='true'] > * {
101
+ margin: 24px 0px;
102
+ }
103
+
104
+ position: relative;
105
+ padding: 24px;
106
+ max-width: 1200px;
107
+ margin: 98px auto 0px;
108
+ `;
109
+
110
+ exports.Editor = Editor;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderAll = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6zm10 13h5a1 1 0 0 0 1-1v-5h-6v6zm-2-6H5v5a1 1 0 0 0 1 1h5v-6zm2-2h6V6a1 1 0 0 0-1-1h-5v6zm-2-6H6a1 1 0 0 0-1 1v5h6V5z" })));
7
+
8
+ exports.BorderAll = BorderAll;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderBottom = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M13 5a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm-8 6a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm-2 7a1 1 0 1 1 2 0 1 1 0 0 0 1 1h12a1 1 0 0 0 1-1 1 1 0 1 1 2 0 3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm17-8a1 1 0 0 0-1 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1-1zM7 4a1 1 0 0 0-1-1 3 3 0 0 0-3 3 1 1 0 0 0 2 0 1 1 0 0 1 1-1 1 1 0 0 0 1-1zm11-1a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3z" })));
7
+
8
+ exports.BorderBottom = BorderBottom;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderLeft = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M6 21a1 1 0 1 0 0-2 1 1 0 0 1-1-1V6a1 1 0 0 1 1-1 1 1 0 0 0 0-2 3 3 0 0 0-3 3v12a3 3 0 0 0 3 3zm7-16a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm6 6a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-5 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm4-17a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3zm-1 17a1 1 0 0 0 1 1 3 3 0 0 0 3-3 1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 0 0-1 1z" })));
7
+
8
+ exports.BorderLeft = BorderLeft;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderNone = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M14 4a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm-9 7a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm14 0a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6 10a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zM7 4a1 1 0 0 0-1-1 3 3 0 0 0-3 3 1 1 0 0 0 2 0 1 1 0 0 1 1-1 1 1 0 0 0 1-1zm11-1a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3zM7 20a1 1 0 0 1-1 1 3 3 0 0 1-3-3 1 1 0 1 1 2 0 1 1 0 0 0 1 1 1 1 0 0 1 1 1zm11 1a1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 1 1 2 0 3 3 0 0 1-3 3z" })));
7
+
8
+ exports.BorderNone = BorderNone;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderRight = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M13 5a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm-8 6a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm9 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zM6 3a1 1 0 0 1 0 2 1 1 0 0 0-1 1 1 1 0 0 1-2 0 3 3 0 0 1 3-3zm1 17a1 1 0 0 1-1 1 3 3 0 0 1-3-3 1 1 0 1 1 2 0 1 1 0 0 0 1 1 1 1 0 0 1 1 1zm11 1a1 1 0 1 1 0-2 1 1 0 0 0 1-1V6a1 1 0 0 0-1-1 1 1 0 1 1 0-2 3 3 0 0 1 3 3v12a3 3 0 0 1-3 3z" })));
7
+
8
+ exports.BorderRight = BorderRight;
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ const BorderTop = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
6
+ React.createElement("path", { d: "M3 6a1 1 0 0 0 2 0 1 1 0 0 1 1-1h12a1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3zm2 5a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm14 0a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-5 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm-8 1a1 1 0 1 0 0-2 1 1 0 0 1-1-1 1 1 0 1 0-2 0 3 3 0 0 0 3 3zm11-1a1 1 0 0 0 1 1 3 3 0 0 0 3-3 1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 0 0-1 1z" })));
7
+
8
+ exports.BorderTop = BorderTop;