@soul-refiner/design-system 0.0.26 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (754) hide show
  1. package/package.json +64 -69
  2. package/public/logo.svg +12 -0
  3. package/src/common/colors.ts +137 -0
  4. package/src/common/index.ts +2 -0
  5. package/src/common/styles.ts +93 -0
  6. package/src/components/atoms/box/box.tsx +64 -0
  7. package/src/components/atoms/box/index.ts +2 -0
  8. package/src/components/atoms/colors/colors.tsx +56 -0
  9. package/src/components/atoms/colors/index.ts +1 -0
  10. package/src/components/atoms/index.ts +9 -0
  11. package/src/components/atoms/typography/display.tsx +35 -0
  12. package/src/components/atoms/typography/heading.tsx +69 -0
  13. package/src/components/atoms/typography/index.ts +8 -0
  14. package/src/components/atoms/typography/paragraph.tsx +38 -0
  15. package/src/components/atoms/typography/typography.tsx +47 -0
  16. package/src/components/iconography/avatar/avatar.tsx +278 -0
  17. package/src/components/iconography/avatar/icons/approved.tsx +20 -0
  18. package/src/components/iconography/avatar/icons/busy.tsx +20 -0
  19. package/src/components/iconography/avatar/icons/declined.tsx +20 -0
  20. package/src/components/iconography/avatar/icons/default.tsx +12 -0
  21. package/src/components/iconography/avatar/icons/focus.tsx +20 -0
  22. package/src/components/iconography/avatar/icons/index.ts +9 -0
  23. package/src/components/iconography/avatar/icons/locked.tsx +20 -0
  24. package/src/components/iconography/avatar/icons/offline.tsx +17 -0
  25. package/src/components/iconography/avatar/icons/online.tsx +16 -0
  26. package/src/components/iconography/avatar/icons/subscribed.tsx +33 -0
  27. package/src/components/iconography/avatar/index.ts +2 -0
  28. package/src/components/iconography/icon/icon.tsx +57 -0
  29. package/src/components/iconography/icon/index.ts +2 -0
  30. package/src/components/iconography/index.ts +4 -0
  31. package/src/components/index.ts +10 -0
  32. package/src/icons/arrow/arrow_all.tsx +14 -0
  33. package/src/icons/arrow/arrow_all_diagonal.tsx +14 -0
  34. package/src/icons/arrow/arrow_both_downwards.tsx +14 -0
  35. package/src/icons/arrow/arrow_both_upwards.tsx +14 -0
  36. package/src/icons/arrow/arrow_circle_left.tsx +14 -0
  37. package/src/icons/arrow/arrow_circle_left_double.tsx +14 -0
  38. package/src/icons/arrow/arrow_circle_left_double_alert.tsx +23 -0
  39. package/src/icons/arrow/arrow_circle_right.tsx +14 -0
  40. package/src/icons/arrow/arrow_circle_right_double.tsx +14 -0
  41. package/src/icons/arrow/arrow_circle_right_double_alert.tsx +14 -0
  42. package/src/icons/arrow/arrow_diagonal_down_left.tsx +14 -0
  43. package/src/icons/arrow/arrow_diagonal_down_left_circle.tsx +14 -0
  44. package/src/icons/arrow/arrow_diagonal_down_right.tsx +14 -0
  45. package/src/icons/arrow/arrow_diagonal_down_right_circle.tsx +14 -0
  46. package/src/icons/arrow/arrow_diagonal_up_left.tsx +14 -0
  47. package/src/icons/arrow/arrow_diagonal_up_left_circle.tsx +14 -0
  48. package/src/icons/arrow/arrow_diagonal_up_right.tsx +14 -0
  49. package/src/icons/arrow/arrow_diagonal_up_right_circle.tsx +14 -0
  50. package/src/icons/arrow/arrow_down.tsx +14 -0
  51. package/src/icons/arrow/arrow_down_bold.tsx +14 -0
  52. package/src/icons/arrow/arrow_down_circle.tsx +14 -0
  53. package/src/icons/arrow/arrow_left.tsx +14 -0
  54. package/src/icons/arrow/arrow_left_bold.tsx +14 -0
  55. package/src/icons/arrow/arrow_left_circle.tsx +14 -0
  56. package/src/icons/arrow/arrow_left_curved.tsx +14 -0
  57. package/src/icons/arrow/arrow_left_curved_circle.tsx +14 -0
  58. package/src/icons/arrow/arrow_right.tsx +14 -0
  59. package/src/icons/arrow/arrow_right_bold.tsx +14 -0
  60. package/src/icons/arrow/arrow_right_circle.tsx +14 -0
  61. package/src/icons/arrow/arrow_right_curved.tsx +14 -0
  62. package/src/icons/arrow/arrow_right_curved_circle.tsx +14 -0
  63. package/src/icons/arrow/arrow_up.tsx +14 -0
  64. package/src/icons/arrow/arrow_up_bold.tsx +14 -0
  65. package/src/icons/arrow/arrow_up_circle.tsx +14 -0
  66. package/src/icons/arrow/chevron_down.tsx +14 -0
  67. package/src/icons/arrow/chevron_down_circle.tsx +14 -0
  68. package/src/icons/arrow/chevron_down_double.tsx +14 -0
  69. package/src/icons/arrow/chevron_down_double_circle.tsx +14 -0
  70. package/src/icons/arrow/chevron_left.tsx +14 -0
  71. package/src/icons/arrow/chevron_left_circle.tsx +14 -0
  72. package/src/icons/arrow/chevron_left_double.tsx +14 -0
  73. package/src/icons/arrow/chevron_left_double_circle.tsx +14 -0
  74. package/src/icons/arrow/chevron_right.tsx +14 -0
  75. package/src/icons/arrow/chevron_right_circle.tsx +14 -0
  76. package/src/icons/arrow/chevron_right_double.tsx +14 -0
  77. package/src/icons/arrow/chevron_right_double_circle.tsx +14 -0
  78. package/src/icons/arrow/chevron_scroll.tsx +14 -0
  79. package/src/icons/arrow/chevron_up.tsx +14 -0
  80. package/src/icons/arrow/chevron_up_circle.tsx +14 -0
  81. package/src/icons/arrow/chevron_up_double.tsx +14 -0
  82. package/src/icons/arrow/chevron_up_double_circle.tsx +14 -0
  83. package/src/icons/arrow/forward_all.tsx +14 -0
  84. package/src/icons/arrow/forward_all_bold.tsx +14 -0
  85. package/src/icons/arrow/forward_bold.tsx +14 -0
  86. package/src/icons/arrow/index.ts +62 -0
  87. package/src/icons/arrow/redo.tsx +14 -0
  88. package/src/icons/arrow/redo_bold.tsx +14 -0
  89. package/src/icons/arrow/reply.tsx +14 -0
  90. package/src/icons/arrow/reply_all.tsx +14 -0
  91. package/src/icons/arrow/reply_all_bold.tsx +14 -0
  92. package/src/icons/arrow/reply_bold.tsx +14 -0
  93. package/src/icons/arrow/undo.tsx +14 -0
  94. package/src/icons/arrow/undo_bold.tsx +14 -0
  95. package/src/icons/audio_video/drag_indicator.tsx +10 -0
  96. package/src/icons/audio_video/eject.tsx +14 -0
  97. package/src/icons/audio_video/equalizer.tsx +14 -0
  98. package/src/icons/audio_video/fast_forward.tsx +14 -0
  99. package/src/icons/audio_video/fast_forward_30.tsx +10 -0
  100. package/src/icons/audio_video/fullscreen.tsx +10 -0
  101. package/src/icons/audio_video/headphones.tsx +10 -0
  102. package/src/icons/audio_video/index.ts +38 -0
  103. package/src/icons/audio_video/library_add.tsx +14 -0
  104. package/src/icons/audio_video/library_delay.tsx +14 -0
  105. package/src/icons/audio_video/library_music.tsx +14 -0
  106. package/src/icons/audio_video/library_queue.tsx +14 -0
  107. package/src/icons/audio_video/microphone.tsx +10 -0
  108. package/src/icons/audio_video/musical_note.tsx +14 -0
  109. package/src/icons/audio_video/next.tsx +14 -0
  110. package/src/icons/audio_video/pause.tsx +14 -0
  111. package/src/icons/audio_video/pause_circle.tsx +14 -0
  112. package/src/icons/audio_video/play.tsx +14 -0
  113. package/src/icons/audio_video/play_circle.tsx +14 -0
  114. package/src/icons/audio_video/play_display.tsx +10 -0
  115. package/src/icons/audio_video/play_pause.tsx +14 -0
  116. package/src/icons/audio_video/play_solid.tsx +10 -0
  117. package/src/icons/audio_video/player_list.tsx +14 -0
  118. package/src/icons/audio_video/player_list_add.tsx +14 -0
  119. package/src/icons/audio_video/player_list_play.tsx +14 -0
  120. package/src/icons/audio_video/previous.tsx +14 -0
  121. package/src/icons/audio_video/radio.tsx +14 -0
  122. package/src/icons/audio_video/record.tsx +14 -0
  123. package/src/icons/audio_video/repeat.tsx +14 -0
  124. package/src/icons/audio_video/rewind.tsx +14 -0
  125. package/src/icons/audio_video/rewind_30.tsx +10 -0
  126. package/src/icons/audio_video/shuffle.tsx +14 -0
  127. package/src/icons/audio_video/sound_wave.tsx +14 -0
  128. package/src/icons/audio_video/stop.tsx +14 -0
  129. package/src/icons/audio_video/stop_circle.tsx +14 -0
  130. package/src/icons/audio_video/subscriptions.tsx +10 -0
  131. package/src/icons/audio_video/tuner.tsx +14 -0
  132. package/src/icons/audio_video/volume.tsx +14 -0
  133. package/src/icons/audio_video/volume_high.tsx +14 -0
  134. package/src/icons/audio_video/volume_low.tsx +14 -0
  135. package/src/icons/audio_video/volume_slash.tsx +14 -0
  136. package/src/icons/basic/aa_sansserif.tsx +11 -0
  137. package/src/icons/basic/aa_serif.tsx +11 -0
  138. package/src/icons/basic/anchor.tsx +24 -0
  139. package/src/icons/basic/bible.tsx +14 -0
  140. package/src/icons/basic/bold.tsx +14 -0
  141. package/src/icons/basic/book.tsx +14 -0
  142. package/src/icons/basic/book_open.tsx +10 -0
  143. package/src/icons/basic/bookmark.tsx +14 -0
  144. package/src/icons/basic/bookmark_add.tsx +14 -0
  145. package/src/icons/basic/bookmark_slash.tsx +14 -0
  146. package/src/icons/basic/bookmarks.tsx +14 -0
  147. package/src/icons/basic/books.tsx +13 -0
  148. package/src/icons/basic/box.tsx +14 -0
  149. package/src/icons/basic/briefcase.tsx +14 -0
  150. package/src/icons/basic/browse_activity.tsx +10 -0
  151. package/src/icons/basic/browser.tsx +14 -0
  152. package/src/icons/basic/browser_slash.tsx +14 -0
  153. package/src/icons/basic/calculator.tsx +14 -0
  154. package/src/icons/basic/camera.tsx +14 -0
  155. package/src/icons/basic/camera_add.tsx +14 -0
  156. package/src/icons/basic/camera_slash.tsx +14 -0
  157. package/src/icons/basic/checkmark.tsx +14 -0
  158. package/src/icons/basic/checkmark_circle.tsx +23 -0
  159. package/src/icons/basic/checkmarks.tsx +14 -0
  160. package/src/icons/basic/circle.tsx +14 -0
  161. package/src/icons/basic/circle_slash.tsx +23 -0
  162. package/src/icons/basic/clear_text_style.tsx +14 -0
  163. package/src/icons/basic/close.tsx +10 -0
  164. package/src/icons/basic/close_circle.tsx +14 -0
  165. package/src/icons/basic/copy.tsx +14 -0
  166. package/src/icons/basic/delete.tsx +14 -0
  167. package/src/icons/basic/detail.tsx +10 -0
  168. package/src/icons/basic/dot.tsx +10 -0
  169. package/src/icons/basic/download.tsx +14 -0
  170. package/src/icons/basic/download_arrow.tsx +14 -0
  171. package/src/icons/basic/droplet.tsx +23 -0
  172. package/src/icons/basic/ellipsis_horizontal.tsx +14 -0
  173. package/src/icons/basic/ellipsis_horizontal_circle.tsx +14 -0
  174. package/src/icons/basic/ellipsis_vertical.tsx +14 -0
  175. package/src/icons/basic/ellipsis_vertical_circle.tsx +14 -0
  176. package/src/icons/basic/eye.tsx +14 -0
  177. package/src/icons/basic/eye_slash.tsx +14 -0
  178. package/src/icons/basic/fingerprint.tsx +10 -0
  179. package/src/icons/basic/flag.tsx +14 -0
  180. package/src/icons/basic/flag_wave.tsx +10 -0
  181. package/src/icons/basic/flag_wave_filled.tsx +10 -0
  182. package/src/icons/basic/flame.tsx +14 -0
  183. package/src/icons/basic/gauge.tsx +14 -0
  184. package/src/icons/basic/glasses.tsx +14 -0
  185. package/src/icons/basic/graduation_cap.tsx +10 -0
  186. package/src/icons/basic/hashmark.tsx +10 -0
  187. package/src/icons/basic/heart.tsx +14 -0
  188. package/src/icons/basic/heart_slash.tsx +14 -0
  189. package/src/icons/basic/highlighter.tsx +10 -0
  190. package/src/icons/basic/home.tsx +14 -0
  191. package/src/icons/basic/image.tsx +14 -0
  192. package/src/icons/basic/inbox.tsx +14 -0
  193. package/src/icons/basic/index.ts +126 -0
  194. package/src/icons/basic/italic.tsx +10 -0
  195. package/src/icons/basic/layers.tsx +14 -0
  196. package/src/icons/basic/lightening.tsx +14 -0
  197. package/src/icons/basic/lightening_slash.tsx +14 -0
  198. package/src/icons/basic/link.tsx +14 -0
  199. package/src/icons/basic/link_slash.tsx +14 -0
  200. package/src/icons/basic/loudspeaker.tsx +10 -0
  201. package/src/icons/basic/maximize.tsx +14 -0
  202. package/src/icons/basic/menu.tsx +14 -0
  203. package/src/icons/basic/menu_circle.tsx +14 -0
  204. package/src/icons/basic/menu_dots.tsx +14 -0
  205. package/src/icons/basic/microphone.tsx +14 -0
  206. package/src/icons/basic/microphone_slash.tsx +14 -0
  207. package/src/icons/basic/minimize.tsx +14 -0
  208. package/src/icons/basic/minus.tsx +14 -0
  209. package/src/icons/basic/minus_circle.tsx +14 -0
  210. package/src/icons/basic/new.tsx +10 -0
  211. package/src/icons/basic/newspaper.tsx +14 -0
  212. package/src/icons/basic/note.tsx +19 -0
  213. package/src/icons/basic/options.tsx +14 -0
  214. package/src/icons/basic/paint_brush.tsx +14 -0
  215. package/src/icons/basic/paperclip.tsx +14 -0
  216. package/src/icons/basic/paperclip_slash.tsx +14 -0
  217. package/src/icons/basic/pencil.tsx +14 -0
  218. package/src/icons/basic/pencil_pad.tsx +14 -0
  219. package/src/icons/basic/plus.tsx +14 -0
  220. package/src/icons/basic/plus_circle.tsx +14 -0
  221. package/src/icons/basic/presentation.tsx +14 -0
  222. package/src/icons/basic/printer.tsx +14 -0
  223. package/src/icons/basic/profile.tsx +14 -0
  224. package/src/icons/basic/pulse.tsx +14 -0
  225. package/src/icons/basic/qr_code.tsx +14 -0
  226. package/src/icons/basic/resize.tsx +23 -0
  227. package/src/icons/basic/scan.tsx +14 -0
  228. package/src/icons/basic/scissors.tsx +14 -0
  229. package/src/icons/basic/screenshot.tsx +14 -0
  230. package/src/icons/basic/search.tsx +14 -0
  231. package/src/icons/basic/select_item.tsx +11 -0
  232. package/src/icons/basic/settings.tsx +14 -0
  233. package/src/icons/basic/share.tsx +14 -0
  234. package/src/icons/basic/share_external.tsx +14 -0
  235. package/src/icons/basic/square.tsx +14 -0
  236. package/src/icons/basic/star.tsx +14 -0
  237. package/src/icons/basic/star_circle.tsx +14 -0
  238. package/src/icons/basic/star_filled.tsx +10 -0
  239. package/src/icons/basic/star_filled_half.tsx +14 -0
  240. package/src/icons/basic/star_slash.tsx +14 -0
  241. package/src/icons/basic/sticker.tsx +14 -0
  242. package/src/icons/basic/strikethrough.tsx +10 -0
  243. package/src/icons/basic/subtask.tsx +21 -0
  244. package/src/icons/basic/tax.tsx +21 -0
  245. package/src/icons/basic/text_bg_color.tsx +14 -0
  246. package/src/icons/basic/text_color.tsx +14 -0
  247. package/src/icons/basic/textbox.tsx +10 -0
  248. package/src/icons/basic/thumbs_down.tsx +14 -0
  249. package/src/icons/basic/thumbs_up.tsx +14 -0
  250. package/src/icons/basic/thumbs_up_filled.tsx +10 -0
  251. package/src/icons/basic/toggle_left.tsx +14 -0
  252. package/src/icons/basic/toggle_right.tsx +14 -0
  253. package/src/icons/basic/translate.tsx +10 -0
  254. package/src/icons/basic/trash.tsx +14 -0
  255. package/src/icons/basic/trash_slash.tsx +14 -0
  256. package/src/icons/basic/underline.tsx +10 -0
  257. package/src/icons/basic/upload.tsx +14 -0
  258. package/src/icons/basic/video.tsx +14 -0
  259. package/src/icons/basic/video_add.tsx +15 -0
  260. package/src/icons/basic/video_slash.tsx +14 -0
  261. package/src/icons/basic/zoom_in.tsx +14 -0
  262. package/src/icons/basic/zoom_out.tsx +14 -0
  263. package/src/icons/data/bar_chart.tsx +10 -0
  264. package/src/icons/data/bar_chart_downward.tsx +10 -0
  265. package/src/icons/data/bar_chart_downward_outline.tsx +10 -0
  266. package/src/icons/data/bar_chart_upward.tsx +10 -0
  267. package/src/icons/data/bar_chart_upward_outline.tsx +14 -0
  268. package/src/icons/data/candlestick_chart.tsx +10 -0
  269. package/src/icons/data/four_circles.tsx +14 -0
  270. package/src/icons/data/index.ts +20 -0
  271. package/src/icons/data/legend_toggle.tsx +10 -0
  272. package/src/icons/data/line_chart.tsx +10 -0
  273. package/src/icons/data/line_chart_area.tsx +10 -0
  274. package/src/icons/data/line_chart_area_shaded.tsx +10 -0
  275. package/src/icons/data/line_chart_double.tsx +10 -0
  276. package/src/icons/data/line_chart_downward.tsx +10 -0
  277. package/src/icons/data/line_chart_node.tsx +10 -0
  278. package/src/icons/data/line_chart_outline.tsx +10 -0
  279. package/src/icons/data/line_chart_search.tsx +10 -0
  280. package/src/icons/data/line_chart_stars.tsx +10 -0
  281. package/src/icons/data/line_chart_upward.tsx +10 -0
  282. package/src/icons/data/pie_chart.tsx +19 -0
  283. package/src/icons/data/tree.tsx +10 -0
  284. package/src/icons/email/index.ts +8 -0
  285. package/src/icons/email/mail.tsx +14 -0
  286. package/src/icons/email/mail_check.tsx +14 -0
  287. package/src/icons/email/mail_minus.tsx +14 -0
  288. package/src/icons/email/mail_send.tsx +14 -0
  289. package/src/icons/email/send.tsx +14 -0
  290. package/src/icons/email/send_close.tsx +10 -0
  291. package/src/icons/email/send_schedule.tsx +10 -0
  292. package/src/icons/email/send_text.tsx +14 -0
  293. package/src/icons/file/clipboard.tsx +14 -0
  294. package/src/icons/file/clipboard_check.tsx +14 -0
  295. package/src/icons/file/clipboard_close.tsx +14 -0
  296. package/src/icons/file/clipboard_minus.tsx +14 -0
  297. package/src/icons/file/clipboard_plus.tsx +14 -0
  298. package/src/icons/file/clipboard_text.tsx +14 -0
  299. package/src/icons/file/file.tsx +14 -0
  300. package/src/icons/file/file_add.tsx +14 -0
  301. package/src/icons/file/file_check.tsx +14 -0
  302. package/src/icons/file/file_close.tsx +14 -0
  303. package/src/icons/file/file_code.tsx +14 -0
  304. package/src/icons/file/file_download.tsx +14 -0
  305. package/src/icons/file/file_draft.tsx +14 -0
  306. package/src/icons/file/file_minus.tsx +14 -0
  307. package/src/icons/file/file_plus.tsx +14 -0
  308. package/src/icons/file/file_scan.tsx +14 -0
  309. package/src/icons/file/file_shred.tsx +14 -0
  310. package/src/icons/file/file_text.tsx +14 -0
  311. package/src/icons/file/file_upload.tsx +14 -0
  312. package/src/icons/file/folder.tsx +14 -0
  313. package/src/icons/file/folder_add.tsx +14 -0
  314. package/src/icons/file/folder_arrow.tsx +14 -0
  315. package/src/icons/file/folder_check.tsx +14 -0
  316. package/src/icons/file/folder_close.tsx +14 -0
  317. package/src/icons/file/folder_cloud.tsx +14 -0
  318. package/src/icons/file/folder_minus.tsx +14 -0
  319. package/src/icons/file/folder_music.tsx +14 -0
  320. package/src/icons/file/folder_open.tsx +14 -0
  321. package/src/icons/file/folder_plus.tsx +14 -0
  322. package/src/icons/file/folder_zip.tsx +14 -0
  323. package/src/icons/file/index.ts +34 -0
  324. package/src/icons/file/note.tsx +14 -0
  325. package/src/icons/file/note_text.tsx +14 -0
  326. package/src/icons/file/pdf.tsx +10 -0
  327. package/src/icons/file/photo.tsx +14 -0
  328. package/src/icons/finance/bitcoin.tsx +14 -0
  329. package/src/icons/finance/credit_card.tsx +14 -0
  330. package/src/icons/finance/credit_card_add.tsx +14 -0
  331. package/src/icons/finance/credit_card_face.tsx +14 -0
  332. package/src/icons/finance/credit_card_outcome.tsx +14 -0
  333. package/src/icons/finance/credit_card_scan.tsx +14 -0
  334. package/src/icons/finance/credit_card_share.tsx +14 -0
  335. package/src/icons/finance/credit_card_slash.tsx +14 -0
  336. package/src/icons/finance/currency_exchange.tsx +10 -0
  337. package/src/icons/finance/dollar.tsx +10 -0
  338. package/src/icons/finance/ethereum.tsx +14 -0
  339. package/src/icons/finance/index.ts +14 -0
  340. package/src/icons/finance/paypass.tsx +14 -0
  341. package/src/icons/finance/strongbox.tsx +14 -0
  342. package/src/icons/finance/wallet.tsx +14 -0
  343. package/src/icons/index.ts +13 -0
  344. package/src/icons/layout/block_align_bottom.tsx +14 -0
  345. package/src/icons/layout/block_align_center.tsx +14 -0
  346. package/src/icons/layout/block_align_left.tsx +14 -0
  347. package/src/icons/layout/block_align_middle.tsx +14 -0
  348. package/src/icons/layout/block_align_right.tsx +14 -0
  349. package/src/icons/layout/block_align_top.tsx +14 -0
  350. package/src/icons/layout/block_horizontal.tsx +14 -0
  351. package/src/icons/layout/block_vertical.tsx +14 -0
  352. package/src/icons/layout/edit_shape.tsx +14 -0
  353. package/src/icons/layout/elements.tsx +10 -0
  354. package/src/icons/layout/elements_add.tsx +14 -0
  355. package/src/icons/layout/elements_filled.tsx +10 -0
  356. package/src/icons/layout/elements_masonry.tsx +14 -0
  357. package/src/icons/layout/frame.tsx +14 -0
  358. package/src/icons/layout/frame_stack.tsx +14 -0
  359. package/src/icons/layout/grid.tsx +14 -0
  360. package/src/icons/layout/grid_column_three.tsx +14 -0
  361. package/src/icons/layout/grid_column_two.tsx +14 -0
  362. package/src/icons/layout/grid_dynamic.tsx +14 -0
  363. package/src/icons/layout/grid_frame.tsx +14 -0
  364. package/src/icons/layout/grid_row_three.tsx +14 -0
  365. package/src/icons/layout/grid_row_two.tsx +14 -0
  366. package/src/icons/layout/grid_six.tsx +14 -0
  367. package/src/icons/layout/grid_small.tsx +14 -0
  368. package/src/icons/layout/iframe.tsx +14 -0
  369. package/src/icons/layout/index.ts +44 -0
  370. package/src/icons/layout/kanban.tsx +14 -0
  371. package/src/icons/layout/layout.tsx +14 -0
  372. package/src/icons/layout/list.tsx +14 -0
  373. package/src/icons/layout/list_filled.tsx +15 -0
  374. package/src/icons/layout/padding.tsx +14 -0
  375. package/src/icons/layout/page_break.tsx +14 -0
  376. package/src/icons/layout/rotate_left.tsx +14 -0
  377. package/src/icons/layout/rotate_right.tsx +14 -0
  378. package/src/icons/layout/ruler.tsx +14 -0
  379. package/src/icons/layout/segment.tsx +14 -0
  380. package/src/icons/layout/select_area.tsx +14 -0
  381. package/src/icons/layout/select_boundary.tsx +14 -0
  382. package/src/icons/layout/sidebar_left.tsx +14 -0
  383. package/src/icons/layout/sidebar_right.tsx +14 -0
  384. package/src/icons/layout/slides.tsx +14 -0
  385. package/src/icons/layout/slides_horizontal.tsx +14 -0
  386. package/src/icons/layout/slides_vertical.tsx +19 -0
  387. package/src/icons/layout/stack.tsx +14 -0
  388. package/src/icons/layout/text.tsx +14 -0
  389. package/src/icons/maps/atlas.tsx +14 -0
  390. package/src/icons/maps/compass.tsx +14 -0
  391. package/src/icons/maps/direction.tsx +14 -0
  392. package/src/icons/maps/direction_angled.tsx +14 -0
  393. package/src/icons/maps/globe.tsx +14 -0
  394. package/src/icons/maps/globe_slash.tsx +14 -0
  395. package/src/icons/maps/index.ts +22 -0
  396. package/src/icons/maps/location.tsx +14 -0
  397. package/src/icons/maps/location_slash.tsx +14 -0
  398. package/src/icons/maps/map.tsx +14 -0
  399. package/src/icons/maps/marker.tsx +14 -0
  400. package/src/icons/maps/panorama.tsx +14 -0
  401. package/src/icons/maps/pin.tsx +14 -0
  402. package/src/icons/maps/pin_arrow.tsx +14 -0
  403. package/src/icons/maps/pin_location.tsx +14 -0
  404. package/src/icons/maps/pin_plus.tsx +14 -0
  405. package/src/icons/maps/pin_question.tsx +14 -0
  406. package/src/icons/maps/pin_slash.tsx +14 -0
  407. package/src/icons/maps/push_pin.tsx +14 -0
  408. package/src/icons/maps/push_pin_filled.tsx +14 -0
  409. package/src/icons/maps/push_pin_slash.tsx +14 -0
  410. package/src/icons/maps/radar.tsx +14 -0
  411. package/src/icons/maps/route.tsx +14 -0
  412. package/src/icons/message/bubble.tsx +14 -0
  413. package/src/icons/message/bubble_question.tsx +14 -0
  414. package/src/icons/message/comment.tsx +14 -0
  415. package/src/icons/message/comment_add.tsx +14 -0
  416. package/src/icons/message/comment_check.tsx +14 -0
  417. package/src/icons/message/comment_close.tsx +14 -0
  418. package/src/icons/message/comment_minus.tsx +14 -0
  419. package/src/icons/message/comment_text.tsx +14 -0
  420. package/src/icons/message/index.ts +8 -0
  421. package/src/icons/misc/advertisement.tsx +14 -0
  422. package/src/icons/misc/atom.tsx +14 -0
  423. package/src/icons/misc/bone.tsx +14 -0
  424. package/src/icons/misc/brightness_high.tsx +14 -0
  425. package/src/icons/misc/brightness_low.tsx +14 -0
  426. package/src/icons/misc/contrast.tsx +14 -0
  427. package/src/icons/misc/crosshairs.tsx +14 -0
  428. package/src/icons/misc/crown.tsx +10 -0
  429. package/src/icons/misc/footprint.tsx +10 -0
  430. package/src/icons/misc/form.tsx +14 -0
  431. package/src/icons/misc/funnel.tsx +14 -0
  432. package/src/icons/misc/index.ts +25 -0
  433. package/src/icons/misc/infinite.tsx +14 -0
  434. package/src/icons/misc/insert_button.tsx +14 -0
  435. package/src/icons/misc/light_bulb.tsx +14 -0
  436. package/src/icons/misc/moon.tsx +14 -0
  437. package/src/icons/misc/nut.tsx +14 -0
  438. package/src/icons/misc/planet.tsx +14 -0
  439. package/src/icons/misc/plus.tsx +14 -0
  440. package/src/icons/misc/pocket.tsx +14 -0
  441. package/src/icons/misc/rocket.tsx +14 -0
  442. package/src/icons/misc/soup.tsx +18 -0
  443. package/src/icons/misc/sun.tsx +14 -0
  444. package/src/icons/misc/toy_horse.tsx +14 -0
  445. package/src/icons/misc/trophy.tsx +14 -0
  446. package/src/icons/misc/watercloset.tsx +10 -0
  447. package/src/icons/notifications/alert_circle.tsx +14 -0
  448. package/src/icons/notifications/alert_octogon.tsx +14 -0
  449. package/src/icons/notifications/alert_triangle.tsx +14 -0
  450. package/src/icons/notifications/app_notification.tsx +14 -0
  451. package/src/icons/notifications/bell.tsx +14 -0
  452. package/src/icons/notifications/bell_alert.tsx +14 -0
  453. package/src/icons/notifications/bell_checkmark.tsx +14 -0
  454. package/src/icons/notifications/bell_minus.tsx +14 -0
  455. package/src/icons/notifications/bell_plus.tsx +14 -0
  456. package/src/icons/notifications/bell_ring.tsx +16 -0
  457. package/src/icons/notifications/bell_slash.tsx +14 -0
  458. package/src/icons/notifications/close_octogon.tsx +14 -0
  459. package/src/icons/notifications/index.ts +14 -0
  460. package/src/icons/notifications/information.tsx +14 -0
  461. package/src/icons/notifications/minus_octogon.tsx +14 -0
  462. package/src/icons/notifications/question_circle.tsx +14 -0
  463. package/src/icons/people/group.tsx +10 -0
  464. package/src/icons/people/group_add.tsx +10 -0
  465. package/src/icons/people/group_remove.tsx +10 -0
  466. package/src/icons/people/groups.tsx +10 -0
  467. package/src/icons/people/index.ts +9 -0
  468. package/src/icons/people/person.tsx +10 -0
  469. package/src/icons/people/person_add.tsx +10 -0
  470. package/src/icons/people/person_checkmark.tsx +10 -0
  471. package/src/icons/people/person_circle.tsx +20 -0
  472. package/src/icons/people/person_remove.tsx +10 -0
  473. package/src/icons/phone/index.ts +14 -0
  474. package/src/icons/phone/keypad.tsx +14 -0
  475. package/src/icons/phone/phone.tsx +14 -0
  476. package/src/icons/phone/phone_add.tsx +14 -0
  477. package/src/icons/phone/phone_calling.tsx +14 -0
  478. package/src/icons/phone/phone_check.tsx +14 -0
  479. package/src/icons/phone/phone_close.tsx +14 -0
  480. package/src/icons/phone/phone_decline.tsx +14 -0
  481. package/src/icons/phone/phone_end.tsx +14 -0
  482. package/src/icons/phone/phone_forwarded.tsx +14 -0
  483. package/src/icons/phone/phone_hash.tsx +14 -0
  484. package/src/icons/phone/phone_incoming.tsx +14 -0
  485. package/src/icons/phone/phone_missed.tsx +14 -0
  486. package/src/icons/phone/phone_outgoing.tsx +14 -0
  487. package/src/icons/phone/phone_pause.tsx +14 -0
  488. package/src/icons/phone/phone_slash.tsx +14 -0
  489. package/src/icons/phone/voicemail.tsx +14 -0
  490. package/src/icons/security/index.ts +11 -0
  491. package/src/icons/security/key.tsx +14 -0
  492. package/src/icons/security/key_slash.tsx +14 -0
  493. package/src/icons/security/lock.tsx +14 -0
  494. package/src/icons/security/lock_circle.tsx +14 -0
  495. package/src/icons/security/lock_open.tsx +14 -0
  496. package/src/icons/security/lock_slash.tsx +14 -0
  497. package/src/icons/security/shield.tsx +14 -0
  498. package/src/icons/security/shield_checkmark.tsx +14 -0
  499. package/src/icons/security/shield_lock.tsx +14 -0
  500. package/src/icons/security/shield_slash.tsx +14 -0
  501. package/src/icons/security/verified.tsx +14 -0
  502. package/src/icons/shopping/basket.tsx +14 -0
  503. package/src/icons/shopping/cart.tsx +14 -0
  504. package/src/icons/shopping/coupon.tsx +14 -0
  505. package/src/icons/shopping/coupon_cut.tsx +14 -0
  506. package/src/icons/shopping/delivery.tsx +14 -0
  507. package/src/icons/shopping/discount.tsx +14 -0
  508. package/src/icons/shopping/gift.tsx +14 -0
  509. package/src/icons/shopping/gift_bag.tsx +14 -0
  510. package/src/icons/shopping/index.ts +14 -0
  511. package/src/icons/shopping/inventory.tsx +10 -0
  512. package/src/icons/shopping/point_of_sale.tsx +14 -0
  513. package/src/icons/shopping/shirt.tsx +10 -0
  514. package/src/icons/shopping/tag.tsx +14 -0
  515. package/src/icons/shopping/tag_diagonal.tsx +10 -0
  516. package/src/icons/shopping/tote.tsx +14 -0
  517. package/src/icons/symbols/at.tsx +14 -0
  518. package/src/icons/symbols/cc.tsx +14 -0
  519. package/src/icons/symbols/cmd.tsx +14 -0
  520. package/src/icons/symbols/facebook.tsx +13 -0
  521. package/src/icons/symbols/google.tsx +33 -0
  522. package/src/icons/symbols/hash.tsx +14 -0
  523. package/src/icons/symbols/index.ts +9 -0
  524. package/src/icons/symbols/instagram.tsx +48 -0
  525. package/src/icons/symbols/messenger.tsx +30 -0
  526. package/src/icons/symbols/twitter.tsx +13 -0
  527. package/src/icons/technology/battery.tsx +14 -0
  528. package/src/icons/technology/battery_100.tsx +14 -0
  529. package/src/icons/technology/battery_20.tsx +14 -0
  530. package/src/icons/technology/battery_40.tsx +14 -0
  531. package/src/icons/technology/battery_60.tsx +14 -0
  532. package/src/icons/technology/battery_80.tsx +14 -0
  533. package/src/icons/technology/battery_charging.tsx +14 -0
  534. package/src/icons/technology/battery_slash.tsx +14 -0
  535. package/src/icons/technology/devices.tsx +14 -0
  536. package/src/icons/technology/floppy_disk.tsx +14 -0
  537. package/src/icons/technology/index.ts +17 -0
  538. package/src/icons/technology/iphone.tsx +14 -0
  539. package/src/icons/technology/laptop.tsx +14 -0
  540. package/src/icons/technology/mobile.tsx +14 -0
  541. package/src/icons/technology/monitor.tsx +14 -0
  542. package/src/icons/technology/server.tsx +14 -0
  543. package/src/icons/technology/sim_card.tsx +14 -0
  544. package/src/icons/technology/usb_stick.tsx +14 -0
  545. package/src/icons/text/align_center.tsx +14 -0
  546. package/src/icons/text/align_justified.tsx +14 -0
  547. package/src/icons/text/align_left.tsx +14 -0
  548. package/src/icons/text/align_right.tsx +14 -0
  549. package/src/icons/text/indent_decrease.tsx +10 -0
  550. package/src/icons/text/indent_increase.tsx +10 -0
  551. package/src/icons/text/index.ts +10 -0
  552. package/src/icons/text/list_ordered.tsx +10 -0
  553. package/src/icons/text/list_unordered.tsx +14 -0
  554. package/src/icons/text/quote.tsx +10 -0
  555. package/src/icons/text/table.tsx +14 -0
  556. package/src/icons/time/alarm.tsx +14 -0
  557. package/src/icons/time/alarm_checkmark.tsx +14 -0
  558. package/src/icons/time/alarm_minus.tsx +14 -0
  559. package/src/icons/time/alarm_plus.tsx +14 -0
  560. package/src/icons/time/alarm_slash.tsx +14 -0
  561. package/src/icons/time/alarm_snooze.tsx +14 -0
  562. package/src/icons/time/calendar.tsx +14 -0
  563. package/src/icons/time/calendar_add.tsx +14 -0
  564. package/src/icons/time/calendar_checkmark.tsx +14 -0
  565. package/src/icons/time/calendar_close.tsx +14 -0
  566. package/src/icons/time/calendar_dates.tsx +14 -0
  567. package/src/icons/time/calendar_minus.tsx +14 -0
  568. package/src/icons/time/calendar_plus.tsx +14 -0
  569. package/src/icons/time/calendar_scroll.tsx +16 -0
  570. package/src/icons/time/clock.tsx +14 -0
  571. package/src/icons/time/clock_history.tsx +14 -0
  572. package/src/icons/time/index.ts +19 -0
  573. package/src/icons/time/stopwatch.tsx +14 -0
  574. package/src/icons/time/timer.tsx +14 -0
  575. package/src/icons/time/watch.tsx +14 -0
  576. package/src/index.ts +1 -0
  577. package/src/types/attributes.ts +83 -0
  578. package/src/types/index.ts +17 -0
  579. package/tsconfig.json +26 -0
  580. package/dist/global.d.ts +0 -1
  581. package/dist/index.d.ts +0 -1
  582. package/dist/index.js +0 -119660
  583. package/dist/index.umd.js +0 -1426
  584. package/dist/src/actions/Button/Button.d.ts +0 -22
  585. package/dist/src/actions/Button/index.d.ts +0 -1
  586. package/dist/src/actions/Dropdown/Dropdown.d.ts +0 -38
  587. package/dist/src/actions/Dropdown/index.d.ts +0 -1
  588. package/dist/src/actions/Dropzone/Dropzone.d.ts +0 -16
  589. package/dist/src/actions/Dropzone/index.d.ts +0 -1
  590. package/dist/src/actions/Rate/Rate.d.ts +0 -8
  591. package/dist/src/actions/Rate/index.d.ts +0 -1
  592. package/dist/src/actions/Switch/Switch.d.ts +0 -8
  593. package/dist/src/actions/Switch/index.d.ts +0 -1
  594. package/dist/src/actions/index.d.ts +0 -5
  595. package/dist/src/cards/CourseCard/CourseCard.d.ts +0 -22
  596. package/dist/src/cards/CourseCard/index.d.ts +0 -1
  597. package/dist/src/cards/EpisodeCard/EpisodeCard.d.ts +0 -18
  598. package/dist/src/cards/EpisodeCard/index.d.ts +0 -1
  599. package/dist/src/cards/FeatureCard/FeatureCard.d.ts +0 -13
  600. package/dist/src/cards/FeatureCard/index.d.ts +0 -1
  601. package/dist/src/cards/index.d.ts +0 -3
  602. package/dist/src/data/Bar/Bar.d.ts +0 -26
  603. package/dist/src/data/Bar/index.d.ts +0 -1
  604. package/dist/src/data/Line/Line.d.ts +0 -18
  605. package/dist/src/data/Line/index.d.ts +0 -1
  606. package/dist/src/data/Pie/Pie.d.ts +0 -14
  607. package/dist/src/data/Pie/index.d.ts +0 -1
  608. package/dist/src/data/index.d.ts +0 -3
  609. package/dist/src/editor/Editor.d.ts +0 -49
  610. package/dist/src/editor/common/elements.d.ts +0 -19
  611. package/dist/src/editor/common/index.d.ts +0 -2
  612. package/dist/src/editor/common/marks.d.ts +0 -2
  613. package/dist/src/editor/components/MediaDrawer/MediaDrawer.d.ts +0 -8
  614. package/dist/src/editor/components/MediaDrawer/index.d.ts +0 -1
  615. package/dist/src/editor/components/index.d.ts +0 -1
  616. package/dist/src/editor/config/default.d.ts +0 -162
  617. package/dist/src/editor/config/index.d.ts +0 -2
  618. package/dist/src/editor/config/props.d.ts +0 -2
  619. package/dist/src/editor/index.d.ts +0 -2
  620. package/dist/src/editor/plateUI.d.ts +0 -1
  621. package/dist/src/editor/plugins/blocks.d.ts +0 -1
  622. package/dist/src/editor/plugins/custom/assets/DefaultThumbnail.d.ts +0 -2
  623. package/dist/src/editor/plugins/custom/assets/index.d.ts +0 -1
  624. package/dist/src/editor/plugins/custom/buttons.d.ts +0 -5
  625. package/dist/src/editor/plugins/custom/example.d.ts +0 -6
  626. package/dist/src/editor/plugins/custom/exitBreak.d.ts +0 -21
  627. package/dist/src/editor/plugins/custom/footnote.d.ts +0 -5
  628. package/dist/src/editor/plugins/custom/index.d.ts +0 -10
  629. package/dist/src/editor/plugins/custom/paywall.d.ts +0 -5
  630. package/dist/src/editor/plugins/custom/qa.d.ts +0 -5
  631. package/dist/src/editor/plugins/custom/resetBlockType.d.ts +0 -10
  632. package/dist/src/editor/plugins/custom/selectOnBackspace.d.ts +0 -7
  633. package/dist/src/editor/plugins/custom/softBreak.d.ts +0 -13
  634. package/dist/src/editor/plugins/custom/video.d.ts +0 -5
  635. package/dist/src/editor/plugins/index.d.ts +0 -5
  636. package/dist/src/editor/plugins/inline.d.ts +0 -1
  637. package/dist/src/editor/plugins/marks.d.ts +0 -1
  638. package/dist/src/editor/plugins/utils.d.ts +0 -1
  639. package/dist/src/feedback/Chip/Chip.d.ts +0 -9
  640. package/dist/src/feedback/Chip/index.d.ts +0 -1
  641. package/dist/src/feedback/Loader/Loader.d.ts +0 -9
  642. package/dist/src/feedback/Loader/index.d.ts +0 -1
  643. package/dist/src/feedback/ProgressBar/ProgressBar.d.ts +0 -8
  644. package/dist/src/feedback/ProgressBar/index.d.ts +0 -1
  645. package/dist/src/feedback/Toast/Toast.d.ts +0 -8
  646. package/dist/src/feedback/Toast/index.d.ts +0 -1
  647. package/dist/src/feedback/Tooltip/Tooltip.d.ts +0 -5
  648. package/dist/src/feedback/Tooltip/index.d.ts +0 -1
  649. package/dist/src/feedback/index.d.ts +0 -5
  650. package/dist/src/iconography/Avatar/Avatar.d.ts +0 -12
  651. package/dist/src/iconography/Avatar/DefaultIcon.d.ts +0 -2
  652. package/dist/src/iconography/Avatar/iconHelpers.d.ts +0 -11
  653. package/dist/src/iconography/Avatar/index.d.ts +0 -1
  654. package/dist/src/iconography/ColoredIcon/ColoredIcon.d.ts +0 -15
  655. package/dist/src/iconography/ColoredIcon/index.d.ts +0 -1
  656. package/dist/src/iconography/DevicePreview/DevicePreview.d.ts +0 -10
  657. package/dist/src/iconography/DevicePreview/index.d.ts +0 -1
  658. package/dist/src/iconography/IconHeader/IconHeader.d.ts +0 -10
  659. package/dist/src/iconography/IconHeader/index.d.ts +0 -1
  660. package/dist/src/iconography/StarRating/StarRating.d.ts +0 -8
  661. package/dist/src/iconography/StarRating/index.d.ts +0 -1
  662. package/dist/src/iconography/index.d.ts +0 -5
  663. package/dist/src/implementations/JoinGroupModal/JoinGroupModal.d.ts +0 -10
  664. package/dist/src/implementations/JoinGroupModal/index.d.ts +0 -1
  665. package/dist/src/implementations/index.d.ts +0 -1
  666. package/dist/src/index.d.ts +0 -13
  667. package/dist/src/inputs/CalendarInput/CalendarInput.d.ts +0 -5
  668. package/dist/src/inputs/CalendarInput/index.d.ts +0 -1
  669. package/dist/src/inputs/CheckboxInput/CheckboxInput.d.ts +0 -7
  670. package/dist/src/inputs/CheckboxInput/index.d.ts +0 -1
  671. package/dist/src/inputs/FeedInput/FeedInput.d.ts +0 -4
  672. package/dist/src/inputs/FeedInput/index.d.ts +0 -1
  673. package/dist/src/inputs/InboxInput/InboxInput.d.ts +0 -4
  674. package/dist/src/inputs/InboxInput/index.d.ts +0 -1
  675. package/dist/src/inputs/PostInput/PostInput.d.ts +0 -6
  676. package/dist/src/inputs/PostInput/index.d.ts +0 -1
  677. package/dist/src/inputs/RadioInput/RadioInput.d.ts +0 -7
  678. package/dist/src/inputs/RadioInput/index.d.ts +0 -1
  679. package/dist/src/inputs/SearchInput/SearchInput.d.ts +0 -9
  680. package/dist/src/inputs/SearchInput/index.d.ts +0 -1
  681. package/dist/src/inputs/SelectInput/SelectInput.d.ts +0 -9
  682. package/dist/src/inputs/SelectInput/index.d.ts +0 -1
  683. package/dist/src/inputs/TagInput/TagInput.d.ts +0 -6
  684. package/dist/src/inputs/TagInput/index.d.ts +0 -1
  685. package/dist/src/inputs/TextInput/TextInput.d.ts +0 -5
  686. package/dist/src/inputs/TextInput/index.d.ts +0 -1
  687. package/dist/src/inputs/index.d.ts +0 -10
  688. package/dist/src/lists/ContactDetails/ContactDetails.d.ts +0 -14
  689. package/dist/src/lists/ContactDetails/index.d.ts +0 -1
  690. package/dist/src/lists/index.d.ts +0 -1
  691. package/dist/src/navigation/Breadcrumbs/Breadcrumbs.d.ts +0 -10
  692. package/dist/src/navigation/Breadcrumbs/index.d.ts +0 -1
  693. package/dist/src/navigation/Drawer/Drawer.d.ts +0 -40
  694. package/dist/src/navigation/Drawer/index.d.ts +0 -1
  695. package/dist/src/navigation/EditorBar/EditorBar.d.ts +0 -9
  696. package/dist/src/navigation/EditorBar/components/AlignmentDropdown/AlignmentDropdown.d.ts +0 -7
  697. package/dist/src/navigation/EditorBar/components/AlignmentDropdown/index.d.ts +0 -1
  698. package/dist/src/navigation/EditorBar/components/ButtonModal/ButtonModal.d.ts +0 -7
  699. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Comment.d.ts +0 -2
  700. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/GiftSubscription.d.ts +0 -2
  701. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Link.d.ts +0 -2
  702. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Share.d.ts +0 -2
  703. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/ShareCommunity.d.ts +0 -2
  704. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Signup.d.ts +0 -2
  705. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Special.d.ts +0 -2
  706. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/Subscribe.d.ts +0 -2
  707. package/dist/src/navigation/EditorBar/components/ButtonModal/assets/index.d.ts +0 -8
  708. package/dist/src/navigation/EditorBar/components/ButtonModal/index.d.ts +0 -1
  709. package/dist/src/navigation/EditorBar/components/FontDropdown/FontDropdown.d.ts +0 -7
  710. package/dist/src/navigation/EditorBar/components/FontDropdown/index.d.ts +0 -1
  711. package/dist/src/navigation/EditorBar/components/MoreDropdown/MoreDropdown.d.ts +0 -7
  712. package/dist/src/navigation/EditorBar/components/MoreDropdown/index.d.ts +0 -1
  713. package/dist/src/navigation/EditorBar/components/OutlineDropdown/OutlineDropdown.d.ts +0 -6
  714. package/dist/src/navigation/EditorBar/components/OutlineDropdown/index.d.ts +0 -1
  715. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/TextTypeDropdown.d.ts +0 -6
  716. package/dist/src/navigation/EditorBar/components/TextTypeDropdown/index.d.ts +0 -1
  717. package/dist/src/navigation/EditorBar/components/VideoModal/VideoModal.d.ts +0 -6
  718. package/dist/src/navigation/EditorBar/components/VideoModal/index.d.ts +0 -1
  719. package/dist/src/navigation/EditorBar/components/index.d.ts +0 -7
  720. package/dist/src/navigation/EditorBar/index.d.ts +0 -1
  721. package/dist/src/navigation/MenuTabs/MenuTabs.d.ts +0 -7
  722. package/dist/src/navigation/MenuTabs/index.d.ts +0 -1
  723. package/dist/src/navigation/Navigation/Navigation.d.ts +0 -32
  724. package/dist/src/navigation/Navigation/SubNavigation.d.ts +0 -98
  725. package/dist/src/navigation/Navigation/index.d.ts +0 -2
  726. package/dist/src/navigation/Pagination/Pagination.d.ts +0 -12
  727. package/dist/src/navigation/Pagination/index.d.ts +0 -1
  728. package/dist/src/navigation/index.d.ts +0 -6
  729. package/dist/src/surfaces/Comment/Comment.d.ts +0 -10
  730. package/dist/src/surfaces/Comment/index.d.ts +0 -1
  731. package/dist/src/surfaces/Faq/Faq.d.ts +0 -12
  732. package/dist/src/surfaces/Faq/index.d.ts +0 -1
  733. package/dist/src/surfaces/Message/Message.d.ts +0 -8
  734. package/dist/src/surfaces/Message/index.d.ts +0 -1
  735. package/dist/src/surfaces/Modal/Modal.d.ts +0 -35
  736. package/dist/src/surfaces/Modal/index.d.ts +0 -1
  737. package/dist/src/surfaces/Plan/Plan.d.ts +0 -11
  738. package/dist/src/surfaces/Plan/index.d.ts +0 -1
  739. package/dist/src/surfaces/Post/Post.d.ts +0 -19
  740. package/dist/src/surfaces/Post/index.d.ts +0 -1
  741. package/dist/src/surfaces/Post/postHelpers.d.ts +0 -2
  742. package/dist/src/surfaces/ProfileHeader/ProfileHeader.d.ts +0 -17
  743. package/dist/src/surfaces/ProfileHeader/index.d.ts +0 -1
  744. package/dist/src/surfaces/RatingsOverview/RatingsOverview.d.ts +0 -16
  745. package/dist/src/surfaces/RatingsOverview/index.d.ts +0 -1
  746. package/dist/src/surfaces/Review/Review.d.ts +0 -15
  747. package/dist/src/surfaces/Review/index.d.ts +0 -1
  748. package/dist/src/surfaces/index.d.ts +0 -9
  749. package/dist/src/tables/Filter/Filter.d.ts +0 -7
  750. package/dist/src/tables/Filter/index.d.ts +0 -1
  751. package/dist/src/tables/Table/Table.d.ts +0 -68
  752. package/dist/src/tables/Table/index.d.ts +0 -1
  753. package/dist/src/tables/index.d.ts +0 -2
  754. package/dist/style.css +0 -1
package/package.json CHANGED
@@ -1,85 +1,80 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "0.0.26",
4
- "main": "./dist/index.umd.cjs",
5
- "module": "./dist/index.js",
6
- "types": "./dist/src/index.d.ts",
7
- "files": [
8
- "dist"
3
+ "version": "0.1.0",
4
+ "main": "src/index.ts",
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "registry": "https://registry.npmjs.org"
8
+ },
9
+ "include": [
10
+ "/src"
9
11
  ],
10
12
  "sideEffects": [
11
- "**/*.css",
12
- "**/*.scss"
13
+ "**/*.css"
13
14
  ],
14
- "exports": {
15
- ".": {
16
- "import": "./dist/index.js",
17
- "require": "./dist/index.umd.cjs"
18
- }
19
- },
20
- "scripts": {
21
- "dev": "vite",
22
- "build": "mkdir -p dist && cp --parents `find -name \\*scss` ./dist && vite build && mv dist/index.mjs dist/index.js",
23
- "preview": "vite preview",
24
- "lint": "TIMING=1 eslint src/**/*.ts* --fix",
25
- "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
26
- "test": "jest"
27
- },
15
+ "exports": "./src/index.ts",
28
16
  "devDependencies": {
29
- "@soul-refiner/eslint-config": "0.0.1",
30
- "@testing-library/jest-dom": "^5.16.5",
31
- "@testing-library/react": "^13.3.0",
32
- "@testing-library/user-event": "^14.4.3",
33
- "@types/emoji-mart": "^3.0.9",
34
- "@types/jest": "^28.1.7",
35
- "@types/react": "^18.0.9",
36
- "@types/react-dom": "^18.0.4",
37
- "@vitejs/plugin-react": "^2.2.0",
38
- "eslint": "^8.15.0",
39
- "jest": "^28.1.3",
40
- "jest-canvas-mock": "^2.4.0",
41
- "jest-environment-jsdom": "^28.1.3",
42
- "jest-transform-stub": "^2.0.0",
43
- "react": "^18.1.0",
44
- "sass": "^1.54.4",
45
- "ts-jest": "^28.0.8",
46
- "typescript": "^4.5.3",
47
- "vite": "^3.2.5"
17
+ "@storybook/addon-essentials": "^7.0.10",
18
+ "@storybook/addon-interactions": "^7.0.10",
19
+ "@storybook/addon-links": "^7.0.10",
20
+ "@storybook/addons": "^7.0.10",
21
+ "@storybook/blocks": "^7.0.10",
22
+ "@storybook/react": "^7.0.10",
23
+ "@storybook/react-vite": "^7.0.10",
24
+ "@storybook/testing-library": "^0.0.14-next.2",
25
+ "@types/styled-components": "^5.1.26",
26
+ "@typescript-eslint/eslint-plugin": "^5.59.5",
27
+ "@typescript-eslint/parser": "^5.59.5",
28
+ "@vitejs/plugin-react": "^4.0.0",
29
+ "chromatic": "^6.17.4",
30
+ "eslint": "^8.40.0",
31
+ "husky": "^8.0.0",
32
+ "prettier": "^2.8.8",
33
+ "pretty-quick": "^3.1.3",
34
+ "prop-types": "^15.8.1",
35
+ "storybook": "^7.0.10",
36
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
37
+ "typescript": "^5.0.4",
38
+ "vite": "^4.3.5",
39
+ "vite-tsconfig-paths": "^4.2.0"
48
40
  },
49
- "publishConfig": {
50
- "access": "restricted"
41
+ "scripts": {
42
+ "format": "prettier --write .",
43
+ "lint": "yarn eslint ./**/*.{ts,tsx}",
44
+ "storybook": "storybook dev -p 6006",
45
+ "build-storybook": "storybook build",
46
+ "prepare": "husky install"
51
47
  },
52
48
  "dependencies": {
53
- "@emoji-mart/react": "^1.0.1",
54
- "@soul-refiner/client": "^0.0.13",
55
- "@soul-refiner/icons": "0.0.20",
56
- "@soul-refiner/models": "^0.0.28",
57
- "@soul-refiner/tsconfig": "^0.0.1",
58
- "@soul-refiner/utils": "^0.0.8",
59
- "@udecode/plate": "^18.7.0",
60
- "emoji-mart": "^5.2.1",
61
- "node-fetch": "^3.2.10",
62
- "react": "^18.1.0",
49
+ "@emoji-mart/react": "^1.1.1",
50
+ "@udecode/plate": "^21.1.2",
51
+ "emoji-mart": "^5.5.2",
52
+ "react": "^18.2.0",
63
53
  "react-dnd": "^16.0.1",
64
54
  "react-dnd-html5-backend": "^16.0.1",
65
55
  "react-dom": "^18.2.0",
66
- "react-tooltip": "^4.5.0",
67
- "slate": "^0.84.0",
68
- "slate-history": "^0.66.0",
56
+ "react-is": "^18.2.0",
57
+ "scheduler": "^0.23.0",
58
+ "slate": "^0.94.1",
59
+ "slate-history": "^0.93.0",
69
60
  "slate-hyperscript": "^0.77.0",
70
- "slate-react": "^0.83.2",
71
- "styled-components": "^5.3.6",
72
- "vite-plugin-dts": "^1.7.1"
61
+ "slate-react": "^0.94.0",
62
+ "styled-components": "^6.0.0-rc.1"
73
63
  },
74
- "jest": {
75
- "preset": "ts-jest",
76
- "testEnvironment": "jsdom",
77
- "setupFiles": [
78
- "jest-canvas-mock"
79
- ],
80
- "transform": {
81
- "^.+\\.js$": "babel-jest",
82
- ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2|svg)$": "jest-transform-stub"
83
- }
64
+ "peerDependencies": {
65
+ "@emoji-mart/react": "^1.1.1",
66
+ "@udecode/plate": "^21.1.2",
67
+ "emoji-mart": "^5.5.2",
68
+ "react": "^18.2.0",
69
+ "react-dnd": "^16.0.1",
70
+ "react-dnd-html5-backend": "^16.0.1",
71
+ "react-dom": "^18.2.0",
72
+ "react-is": "^18.2.0",
73
+ "scheduler": "^0.23.0",
74
+ "slate": "^0.94.1",
75
+ "slate-history": "^0.93.0",
76
+ "slate-hyperscript": "^0.77.0",
77
+ "slate-react": "^0.94.0",
78
+ "styled-components": "^6.0.0-rc.1"
84
79
  }
85
80
  }
@@ -0,0 +1,12 @@
1
+ <svg viewBox="3.65 -34.6 154.64 35" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path
3
+ d="M22.25-24.6L22.25-24.6Q22.25-26.7 20.63-27.48 19-28.25 15.2-28.25L15.2-28.25 15.2-20.6Q17.55-20.6 19.03-20.95 20.5-21.3 21.38-22.18 22.25-23.05 22.25-24.6ZM22.9-11.25L22.9-11.25Q22.9-12.9 22.05-13.8 21.2-14.7 19.6-15.08 18-15.45 15.2-15.45L15.2-15.45 15.2-6.8Q19.1-6.8 21-7.78 22.9-8.75 22.9-11.25ZM29.05-17.8L29.05-17.8Q33.7-15.05 33.7-10.45L33.7-10.45Q33.7-8.45 32.93-6.63 32.15-4.8 30.63-3.3 29.1-1.8 26.6-0.93 24.1-0.05 20.95-0.05L20.95-0.05 9.35-0.05Q6.3-0.05 4.98-1.6 3.65-3.15 3.65-7.15L3.65-7.15 3.65-28.3Q3.65-30 4.25-31.3 4.85-32.6 6.18-33.4 7.5-34.2 9.35-34.2L9.35-34.2 20.8-34.2Q25.8-34.15 29.13-31.48 32.45-28.8 32.45-24.6L32.45-24.6Q32.45-23.25 32.23-22.23 32-21.2 31.55-20.4 31.1-19.6 30.5-19 29.9-18.4 29.05-17.8ZM38.8-30.8L38.8-30.8Q38.8-32.45 40.22-33.52 41.65-34.6 44.25-34.6L44.25-34.6Q49.7-34.6 49.7-30.8L49.7-30.8Q49.7-28.7 48.32-27.85 46.95-27 44.25-27L44.25-27Q41.9-27 40.35-27.9 38.8-28.8 38.8-30.8ZM49.65-18.35L49.65-5.35Q49.65-2.35 48.4-1.18 47.15 0 44 0L44 0Q41.05 0 39.97-1.38 38.9-2.75 38.9-5.9L38.9-5.9 38.9-18.2Q38.9-20.75 40.27-22.3 41.65-23.85 43.95-23.85L43.95-23.85Q46.65-23.85 48.15-22.68 49.65-21.5 49.65-18.35L49.65-18.35ZM65.25-28.65L65.25-21.8Q68.55-24.25 72.4-24.25L72.4-24.25Q76.3-24.25 78.9-20.95 81.5-17.65 81.5-12.6L81.5-12.6Q81.5-6.5 77.55-3.08 73.59 0.35 67.3 0.35L67.3 0.35Q63.45 0.35 60.57-0.75 57.7-1.85 56.07-4.05 54.45-6.25 54.4-9.35L54.4-9.35 54.3-28.2Q54.3-31.3 55.8-32.75 57.3-34.2 59.8-34.2L59.8-34.2Q62.6-34.2 63.92-32.88 65.25-31.55 65.25-28.65L65.25-28.65ZM65.3-7.65L65.3-7.65Q66.2-5.95 67.8-5.95L67.8-5.95Q69.15-5.95 69.9-7.65 70.65-9.35 70.65-11.55L70.65-11.55Q70.65-12.75 70.45-13.9 70.25-15.05 69.9-15.98 69.55-16.9 69-17.48 68.45-18.05 67.75-18.05L67.75-18.05Q66.2-18.05 65.3-16.2L65.3-16.2Q65.3-15.55 65.3-12.48 65.3-9.4 65.3-7.65ZM96.69-28.65L96.69-21.8Q99.99-24.25 103.84-24.25L103.84-24.25Q107.74-24.25 110.34-20.95 112.94-17.65 112.94-12.6L112.94-12.6Q112.94-6.5 108.99-3.08 105.04 0.35 98.74 0.35L98.74 0.35Q94.89 0.35 92.02-0.75 89.14-1.85 87.52-4.05 85.89-6.25 85.84-9.35L85.84-9.35 85.74-28.2Q85.74-31.3 87.24-32.75 88.74-34.2 91.24-34.2L91.24-34.2Q94.04-34.2 95.37-32.88 96.69-31.55 96.69-28.65L96.69-28.65ZM96.74-7.65L96.74-7.65Q97.64-5.95 99.24-5.95L99.24-5.95Q100.59-5.95 101.34-7.65 102.09-9.35 102.09-11.55L102.09-11.55Q102.09-12.75 101.89-13.9 101.69-15.05 101.34-15.98 100.99-16.9 100.44-17.48 99.89-18.05 99.19-18.05L99.19-18.05Q97.64-18.05 96.74-16.2L96.74-16.2Q96.74-15.55 96.74-12.48 96.74-9.4 96.74-7.65ZM128.09-28.7L128.09-7.55Q128.09-3.5 126.74-1.75 125.39 0 122.59 0L122.59 0Q119.79 0 118.49-1.58 117.19-3.15 117.19-7.15L117.19-7.15 117.09-28.25Q117.09-29.55 117.37-30.55 117.64-31.55 118.12-32.25 118.59-32.95 119.29-33.4 119.99-33.85 120.82-34.05 121.64-34.25 122.59-34.25L122.59-34.25Q125.34-34.25 126.72-33.15 128.09-32.05 128.09-28.7L128.09-28.7ZM146.44 0.3L146.44 0.3Q140.34 0.3 136.36-2.85 132.39-6 132.39-11.45L132.39-11.45Q132.39-17.35 136.31-20.78 140.24-24.2 146.44-24.2L146.44-24.2Q152.29-24.2 155.01-22.13 157.74-20.05 157.74-16.45L157.74-16.45Q157.74-15.75 157.56-15.1 157.39-14.45 157.01-13.83 156.64-13.2 156.01-12.68 155.39-12.15 154.59-11.73 153.79-11.3 152.69-11.08 151.59-10.85 150.34-10.85L150.34-10.85 143.29-10.8Q143.79-9.2 145.09-8.28 146.39-7.35 148.39-7.35L148.39-7.35Q150.54-7.35 152.79-7.9L152.79-7.9Q153.74-8.15 154.86-8.7 155.99-9.25 156.49-9.25L156.49-9.25Q157.34-9.25 157.81-8.75 158.29-8.25 158.29-7.5L158.29-7.5Q158.29-6.6 157.49-5.33 156.69-4.05 155.26-2.78 153.84-1.5 151.49-0.6 149.14 0.3 146.44 0.3ZM143.04-14L143.04-14Q146.49-14.05 146.79-14.05L146.79-14.05Q147.54-14.05 147.89-14.95L147.89-14.95Q148.14-15.6 148.14-16.75L148.14-16.75Q148.14-19.9 146.24-19.9L146.24-19.9Q145.54-19.9 144.86-19.15 144.19-18.4 143.69-17.03 143.19-15.65 143.04-14Z"
4
+ opacity="1"
5
+ transform="matrix(1,0,0,1,0,0)"
6
+ fill="#1b7bcb"
7
+ class="undefined-text-0"
8
+ data-fill-palette-color="primary"
9
+ id="text-0"
10
+ >
11
+ </path>
12
+ </svg>
@@ -0,0 +1,137 @@
1
+ export const COLORS = [
2
+ 'page-bg',
3
+ 'white',
4
+ 'primary-blue-0',
5
+ 'primary-blue-1',
6
+ 'primary-blue-2',
7
+ 'primary-blue-3',
8
+ 'primary-blue-4',
9
+ 'grey-0',
10
+ 'grey-1',
11
+ 'grey-2',
12
+ 'grey-3',
13
+ 'grey-4',
14
+ 'grey-5',
15
+ 'grey-6',
16
+ 'grey-7',
17
+ 'grey-8',
18
+ 'grey-9',
19
+ 'grey-10',
20
+ 'red-0',
21
+ 'red-1',
22
+ 'red-2',
23
+ 'red-3',
24
+ 'red-4',
25
+ 'red-5',
26
+ 'red-6',
27
+ 'red-7',
28
+ 'red-8',
29
+ 'red-9',
30
+ 'red-10',
31
+ 'green-0',
32
+ 'green-1',
33
+ 'green-2',
34
+ 'green-3',
35
+ 'green-4',
36
+ 'green-5',
37
+ 'green-6',
38
+ 'green-7',
39
+ 'green-8',
40
+ 'green-9',
41
+ 'green-10',
42
+ 'blue-0',
43
+ 'blue-1',
44
+ 'blue-2',
45
+ 'blue-3',
46
+ 'blue-4',
47
+ 'blue-5',
48
+ 'blue-6',
49
+ 'blue-7',
50
+ 'blue-8',
51
+ 'blue-9',
52
+ 'blue-10',
53
+ 'turquoise-0',
54
+ 'turquoise-1',
55
+ 'turquoise-2',
56
+ 'turquoise-3',
57
+ 'turquoise-4',
58
+ 'turquoise-5',
59
+ 'turquoise-6',
60
+ 'turquoise-7',
61
+ 'turquoise-8',
62
+ 'turquoise-9',
63
+ 'turquoise-10',
64
+ 'purple-0',
65
+ 'purple-1',
66
+ 'purple-2',
67
+ 'purple-3',
68
+ 'purple-4',
69
+ 'purple-5',
70
+ 'purple-6',
71
+ 'purple-7',
72
+ 'purple-8',
73
+ 'purple-9',
74
+ 'purple-10',
75
+ 'yellow-0',
76
+ 'yellow-1',
77
+ 'yellow-2',
78
+ 'yellow-3',
79
+ 'yellow-4',
80
+ 'yellow-5',
81
+ 'yellow-6',
82
+ 'yellow-7',
83
+ 'yellow-8',
84
+ 'yellow-9',
85
+ 'yellow-10',
86
+ 'orange-0',
87
+ 'orange-1',
88
+ 'orange-2',
89
+ 'orange-3',
90
+ 'orange-4',
91
+ 'orange-5',
92
+ 'orange-6',
93
+ 'orange-7',
94
+ 'orange-8',
95
+ 'orange-9',
96
+ 'orange-10',
97
+ 'hue-pink-1',
98
+ 'hue-pink-2',
99
+ 'hue-pink-3',
100
+ 'hue-purple-1',
101
+ 'hue-purple-2',
102
+ 'hue-purple-3',
103
+ 'hue-ocean-1',
104
+ 'hue-ocean-2',
105
+ 'hue-ocean-3',
106
+ 'hue-mint-1',
107
+ 'hue-mint-2',
108
+ 'hue-mint-3',
109
+ 'hue-blue-1',
110
+ 'hue-blue-2',
111
+ 'hue-blue-3',
112
+ 'hue-orange-1',
113
+ 'hue-orange-2',
114
+ 'hue-orange-3',
115
+ 'special-yellow-1',
116
+ 'special-yellow-2',
117
+ 'special-orange-1',
118
+ 'special-orange-2',
119
+ 'special-red-1',
120
+ 'special-red-2',
121
+ 'special-pink-1',
122
+ 'special-pink-2',
123
+ 'special-purple-1',
124
+ 'special-purple-2',
125
+ 'special-blue-1',
126
+ 'special-blue-2',
127
+ 'special-turquoise-1',
128
+ 'special-turquoise-2',
129
+ 'special-green-1',
130
+ 'special-green-2',
131
+ 'special-grape-1',
132
+ 'special-grape-2',
133
+ ] as const;
134
+
135
+ export const colorReference = Object.fromEntries(
136
+ COLORS.map((item) => [item, `var(--color-${item})`])
137
+ ) as Record<(typeof COLORS)[number], string>;
@@ -0,0 +1,2 @@
1
+ export { colorReference, COLORS } from './colors';
2
+ export { Styles } from './styles';
@@ -0,0 +1,93 @@
1
+ import { css } from 'styled-components';
2
+ import {
3
+ BackgroundColor,
4
+ BorderRadius,
5
+ Color,
6
+ Elevation,
7
+ Flex,
8
+ Margin,
9
+ Padding,
10
+ Styleable,
11
+ TextClamp,
12
+ TypographyStyle,
13
+ TypographyWeight,
14
+ } from 'types';
15
+ import { colorReference } from 'common';
16
+
17
+ export namespace Styles {
18
+ export const backgroundColor = css<BackgroundColor>`
19
+ background-color: ${({ $backgroundColor }) =>
20
+ $backgroundColor ? colorReference[$backgroundColor] : 'var(--page-bg)'};
21
+ `;
22
+
23
+ export const borderRadius = css<BorderRadius>`
24
+ border-radius: ${({ $borderRadius }) =>
25
+ $borderRadius ? `var(--${$borderRadius})` : ''};
26
+ `;
27
+
28
+ export const color = css<Color>`
29
+ color: ${({ $color }) =>
30
+ $color ? colorReference[$color] : 'var(--color-grey-3)'};
31
+ `;
32
+
33
+ export const elevation = css<Elevation>`
34
+ box-shadow: ${({ $elevation }) =>
35
+ $elevation ? `var(--elevation-${$elevation})` : 'none'};
36
+ `;
37
+
38
+ export const flex = css<Flex>`
39
+ align-items: ${({ $align }) => $align ?? 'normal'};
40
+ gap: ${({ $gap }) =>
41
+ $gap && typeof $gap === 'number'
42
+ ? `${$gap}px`
43
+ : $gap && typeof $gap === 'string'
44
+ ? `var(--${$gap})`
45
+ : '0px'};
46
+ flex: ${({ $flex }) => $flex ?? 'none'};
47
+ flex-flow: ${({ $flow }) => $flow ?? 'row'};
48
+ flex-direction: ${({ $dir }) => $dir ?? 'row'};
49
+ justify-content: ${({ $justify }) => $justify ?? 'normal'};
50
+ `;
51
+
52
+ export const margin = css<Margin>`
53
+ margin: ${({ $margin }) =>
54
+ $margin && typeof $margin === 'number'
55
+ ? `${$margin}px`
56
+ : $margin && typeof $margin === 'string'
57
+ ? `var(--${$margin})`
58
+ : '0px'};
59
+ `;
60
+
61
+ export const padding = css<Padding>`
62
+ padding: ${({ $padding }) =>
63
+ $padding && typeof $padding === 'number'
64
+ ? `${$padding}px`
65
+ : $padding && typeof $padding === 'string'
66
+ ? `var(--${$padding})`
67
+ : '0px'};
68
+ `;
69
+
70
+ export const styleable = css<Styleable>`
71
+ ${({ sx }) => (sx ? sx : '')}
72
+ `;
73
+
74
+ export const textClamp = css<TextClamp>`
75
+ overflow: hidden;
76
+ text-overflow: ellipsis;
77
+ display: -webkit-box;
78
+ line-clamp: ${({ $textClampLines }) => $textClampLines ?? 1};
79
+ -webkit-line-clamp: ${({ $textClampLines }) => $textClampLines ?? 1};
80
+ -webkit-box-orient: vertical;
81
+ `;
82
+
83
+ export const typography = css<TypographyStyle>`
84
+ font-style: ${({ $italic }) => ($italic ? 'italic' : 'normal')};
85
+ text-decoration: ${({ $strikethrough, $underline }) =>
86
+ $strikethrough ? 'line-through' : $underline ? 'underline' : 'none'};
87
+ `;
88
+
89
+ export const weight = css<TypographyWeight>`
90
+ font-weight: ${({ $bold, $semiBold, $mediumBold }) =>
91
+ $bold ? 700 : $semiBold ? 600 : $mediumBold ? 500 : 400};
92
+ `;
93
+ }
@@ -0,0 +1,64 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+ import { Styles } from 'common';
4
+ import {
5
+ BackgroundColor,
6
+ BorderRadius,
7
+ Elevation,
8
+ Flex,
9
+ Margin,
10
+ Padding,
11
+ Polymorphic,
12
+ Styleable,
13
+ } from 'types';
14
+
15
+ type NativeProps = Pick<
16
+ React.HTMLAttributes<HTMLDivElement>,
17
+ | 'children'
18
+ | 'dangerouslySetInnerHTML'
19
+ | 'onBlur'
20
+ | 'onBlurCapture'
21
+ | 'onClick'
22
+ | 'onChange'
23
+ | 'onCopy'
24
+ | 'onCut'
25
+ | 'onKeyDown'
26
+ | 'onKeyDownCapture'
27
+ | 'onKeyUp'
28
+ | 'onKeyUpCapture'
29
+ | 'onMouseDown'
30
+ | 'onMouseDownCapture'
31
+ | 'onMouseEnter'
32
+ | 'onMouseLeave'
33
+ | 'onMouseOut'
34
+ | 'onMouseOver'
35
+ | 'title'
36
+ > & { value?: string };
37
+
38
+ export interface BoxProps
39
+ extends BackgroundColor,
40
+ BorderRadius,
41
+ Elevation,
42
+ Flex,
43
+ Margin,
44
+ Padding,
45
+ Polymorphic,
46
+ Styleable,
47
+ NativeProps {
48
+ $display?: 'block' | 'flex';
49
+ }
50
+
51
+ export const Box = ({ $display = 'flex', ...args }: BoxProps) => (
52
+ <Component $display={$display} {...args} />
53
+ );
54
+
55
+ export const Component = styled.div<BoxProps>`
56
+ ${({ $display }) => ($display === 'flex' ? 'display: flex;' : '')}
57
+ ${Styles.flex}
58
+ ${Styles.backgroundColor}
59
+ ${Styles.borderRadius}
60
+ ${Styles.elevation}
61
+ ${Styles.margin}
62
+ ${Styles.padding}
63
+ ${Styles.styleable}
64
+ `;
@@ -0,0 +1,2 @@
1
+ export { Box } from './box';
2
+ export type { BoxProps } from './box';
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+ import { H, P } from '../typography';
4
+
5
+ export interface ColorProps {
6
+ colors: string[];
7
+ title: string;
8
+ }
9
+
10
+ export const Colors = ({ colors, title }: ColorProps) => {
11
+ return (
12
+ <>
13
+ <H.Two $textAlign="center" sx="padding-right: 16px;">
14
+ {title}
15
+ </H.Two>
16
+ <Row>
17
+ {colors.map((color) => (
18
+ <ColorWrapper key={color} background={color}>
19
+ <div />
20
+ <P $fontSize={12} $textAlign="center">
21
+ {color
22
+ .replaceAll(/color|-{2,}|var|\(|\)/g, '')
23
+ .replaceAll(/-/g, ' ')
24
+ .trim()
25
+ .split(' ')
26
+ .map((item) => item[0].toUpperCase() + item.slice(1))
27
+ .join(' ')}
28
+ </P>
29
+ </ColorWrapper>
30
+ ))}
31
+ </Row>
32
+ </>
33
+ );
34
+ };
35
+
36
+ const Row = styled.div`
37
+ display: flex;
38
+ gap: var(--spacing-2);
39
+ padding: 0px var(--spacing-4);
40
+ margin: var(--spacing-3) auto;
41
+ max-width: 80%;
42
+ `;
43
+
44
+ const ColorWrapper = styled.div<{
45
+ background: string;
46
+ }>`
47
+ display: flex;
48
+ flex-flow: column nowrap;
49
+ justify-content: center;
50
+ align-items: center;
51
+ div {
52
+ background: ${({ background }) => background || '--color-primary-blue-2'};
53
+ width: var(--extra-large);
54
+ height: var(--extra-large);
55
+ }
56
+ `;
@@ -0,0 +1 @@
1
+ export { Colors } from './colors';
@@ -0,0 +1,9 @@
1
+ export { Box } from './box';
2
+ export type { BoxProps } from './box';
3
+ export { Display, H, P, Typography } from './typography';
4
+ export type {
5
+ DisplayProps,
6
+ HeadingProps,
7
+ ParagraphProps,
8
+ TypographyProps,
9
+ } from './typography';
@@ -0,0 +1,35 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+ import { Typography, TypographyProps } from './typography';
4
+
5
+ export interface CommonProps extends TypographyProps {
6
+ as?: React.ElementType;
7
+ $textAlign?: 'center' | 'inherit' | 'justify' | 'left' | 'right';
8
+ }
9
+
10
+ export interface DisplayProps extends CommonProps {
11
+ $fontSize?: 56 | 64;
12
+ $lineHeight?: 84 | 96;
13
+ }
14
+
15
+ export const Display = ({
16
+ as = 'h1',
17
+ $fontSize = 64,
18
+ $lineHeight = 96,
19
+ $textAlign = 'left',
20
+ ...rest
21
+ }: DisplayProps) => (
22
+ <StyledDisplay
23
+ as={as || 'h1'}
24
+ $fontSize={$fontSize}
25
+ $lineHeight={$lineHeight}
26
+ $textAlign={$textAlign}
27
+ {...rest}
28
+ />
29
+ );
30
+
31
+ const StyledDisplay = styled(Typography)<DisplayProps>`
32
+ font-size: ${({ $fontSize }) => $fontSize + 'px'};
33
+ line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
34
+ text-align: ${({ $textAlign }) => $textAlign || 'left'};
35
+ `;
@@ -0,0 +1,69 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+ import { Typography, TypographyProps } from './typography';
4
+
5
+ export interface CommonProps extends TypographyProps {
6
+ $textAlign?: 'center' | 'inherit' | 'justify' | 'left' | 'right';
7
+ }
8
+
9
+ export interface HeadingProps extends CommonProps {
10
+ as?: React.ElementType;
11
+ $fontSize?: 18 | 20 | 24 | 28 | 32 | 36 | 40 | 48;
12
+ $lineHeight?: 64 | 60 | 54 | 48 | 36 | 28 | 26;
13
+ }
14
+
15
+ const StyledH = styled(Typography)<HeadingProps>`
16
+ font-size: ${({ $fontSize }) => $fontSize + 'px'};
17
+ line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
18
+ text-align: ${({ $textAlign }) => $textAlign || 'left'};
19
+ `;
20
+
21
+ export const H = (args: HeadingProps) => <StyledH {...args} />;
22
+
23
+ const One = ({ ...rest }: CommonProps) => (
24
+ <StyledH as={'h1'} $fontSize={48} $lineHeight={64} {...rest} />
25
+ );
26
+ One.displayName = 'H.One';
27
+ H.One = One;
28
+
29
+ const Two = ({ ...rest }: CommonProps) => (
30
+ <StyledH as={'h2'} $fontSize={40} $lineHeight={60} {...rest} />
31
+ );
32
+ Two.displayName = 'H.Two';
33
+ H.Two = Two;
34
+
35
+ const Three = ({ ...rest }: CommonProps) => (
36
+ <StyledH as={'h3'} $fontSize={36} $lineHeight={54} {...rest} />
37
+ );
38
+ Three.displayName = 'H.Three';
39
+ H.Three = Three;
40
+
41
+ const Four = ({ ...rest }: CommonProps) => (
42
+ <StyledH as={'h4'} $fontSize={32} $lineHeight={48} {...rest} />
43
+ );
44
+ Four.displayName = 'H.Four';
45
+ H.Four = Four;
46
+
47
+ const Five = ({ ...rest }: CommonProps) => (
48
+ <StyledH as={'h5'} $fontSize={28} $lineHeight={36} {...rest} />
49
+ );
50
+ Five.displayName = 'H.Five';
51
+ H.Five = Five;
52
+
53
+ const Six = ({ ...rest }: CommonProps) => (
54
+ <StyledH as={'h6'} $fontSize={24} $lineHeight={36} {...rest} />
55
+ );
56
+ Six.displayName = 'H.Six';
57
+ H.Six = Six;
58
+
59
+ const Seven = ({ ...rest }: CommonProps) => (
60
+ <StyledH as={'h6'} $fontSize={20} $lineHeight={28} {...rest} />
61
+ );
62
+ Seven.displayName = 'H.Seven';
63
+ H.Seven = Seven;
64
+
65
+ const Eight = ({ ...rest }: CommonProps) => (
66
+ <StyledH as={'h6'} $fontSize={18} $lineHeight={26} {...rest} />
67
+ );
68
+ Eight.displayName = 'H.Eight';
69
+ H.Eight = Eight;
@@ -0,0 +1,8 @@
1
+ export { Display } from './display';
2
+ export type { DisplayProps } from './display';
3
+ export { H } from './heading';
4
+ export type { HeadingProps } from './heading';
5
+ export { P } from './paragraph';
6
+ export type { ParagraphProps } from './paragraph';
7
+ export { Typography } from './typography';
8
+ export type { TypographyProps } from './typography';