@soul-refiner/design-system 2.0.0-alpha.14 → 2.0.0-alpha.16

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 (674) hide show
  1. package/dist/node_modules/style-inject/dist/style-inject.es.js +3 -1
  2. package/dist/src/common/colors.js +4 -1
  3. package/dist/src/common/date.js +9 -5
  4. package/dist/src/common/styles.js +19 -19
  5. package/dist/src/components/actions/button/button.js +45 -39
  6. package/dist/src/components/actions/dropdown/dropdown.js +41 -35
  7. package/dist/src/components/actions/rate/rate.js +21 -15
  8. package/dist/src/components/actions/switch/switch.js +16 -10
  9. package/dist/src/components/actions/toggle/toggle.js +19 -13
  10. package/dist/src/components/actions/upload/upload.js +37 -31
  11. package/dist/src/components/atoms/box/box.js +20 -13
  12. package/dist/src/components/atoms/hide/hide.js +9 -3
  13. package/dist/src/components/atoms/seconds_to_duration/seconds_to_duration.js +14 -8
  14. package/dist/src/components/atoms/time_ago/time_ago.js +9 -3
  15. package/dist/src/components/atoms/typography/display.js +12 -6
  16. package/dist/src/components/atoms/typography/heading.js +20 -14
  17. package/dist/src/components/atoms/typography/paragraph.js +17 -11
  18. package/dist/src/components/atoms/typography/typography.js +11 -9
  19. package/dist/src/components/card/action/action.js +29 -22
  20. package/dist/src/components/card/audio/audio.js +40 -33
  21. package/dist/src/components/card/card.js +26 -20
  22. package/dist/src/components/card/feature/feature.js +46 -39
  23. package/dist/src/components/card/meeting/meeting.js +59 -52
  24. package/dist/src/components/card/person/person.js +30 -23
  25. package/dist/src/components/card/price/price.js +39 -33
  26. package/dist/src/components/card/regular/regular.js +16 -9
  27. package/dist/src/components/card/styles.js +6 -4
  28. package/dist/src/components/card/video/video.js +40 -33
  29. package/dist/src/components/card/written/written.js +40 -33
  30. package/dist/src/components/custom/courses_selection/courses_selection.js +42 -35
  31. package/dist/src/components/custom/users_selection/users_selection.js +38 -31
  32. package/dist/src/components/editor/constants.js +178 -2
  33. package/dist/src/components/editor/context.js +12 -6
  34. package/dist/src/components/editor/editor.js +27 -21
  35. package/dist/src/components/editor/icons/border-all.js +10 -4
  36. package/dist/src/components/editor/icons/border-bottom.js +10 -4
  37. package/dist/src/components/editor/icons/border-left.js +10 -4
  38. package/dist/src/components/editor/icons/border-none.js +10 -4
  39. package/dist/src/components/editor/icons/border-right.js +10 -4
  40. package/dist/src/components/editor/icons/border-top.js +10 -4
  41. package/dist/src/components/editor/navbar/alignment_dropdown.js +35 -29
  42. package/dist/src/components/editor/navbar/button_modal.js +50 -44
  43. package/dist/src/components/editor/navbar/navbar.js +133 -126
  44. package/dist/src/components/editor/navbar/style_dropdown.js +26 -20
  45. package/dist/src/components/editor/plugins/blocks/blockquote.js +15 -9
  46. package/dist/src/components/editor/plugins/blocks/blocks.js +38 -36
  47. package/dist/src/components/editor/plugins/blocks/buttons.js +31 -24
  48. package/dist/src/components/editor/plugins/blocks/dropdown-menu.js +58 -31
  49. package/dist/src/components/editor/plugins/blocks/image.js +34 -28
  50. package/dist/src/components/editor/plugins/blocks/list.js +14 -8
  51. package/dist/src/components/editor/plugins/blocks/media-popover.js +31 -25
  52. package/dist/src/components/editor/plugins/blocks/plate-button.js +32 -9
  53. package/dist/src/components/editor/plugins/blocks/popover.js +38 -12
  54. package/dist/src/components/editor/plugins/blocks/qa.js +35 -28
  55. package/dist/src/components/editor/plugins/blocks/resizable.js +19 -11
  56. package/dist/src/components/editor/plugins/blocks/separator.js +28 -6
  57. package/dist/src/components/editor/plugins/blocks/table-cell.js +30 -23
  58. package/dist/src/components/editor/plugins/blocks/table-row.js +13 -7
  59. package/dist/src/components/editor/plugins/blocks/table.js +81 -73
  60. package/dist/src/components/editor/plugins/blocks/text.js +73 -54
  61. package/dist/src/components/editor/plugins/blocks/video.js +22 -15
  62. package/dist/src/components/editor/plugins/leafs/leafs.js +20 -18
  63. package/dist/src/components/editor/plugins/leafs/link.js +41 -34
  64. package/dist/src/components/editor/plugins/marks/marks.js +13 -11
  65. package/dist/src/components/editor/plugins/plate.js +37 -35
  66. package/dist/src/components/editor/plugins/utils/exitBreak.js +12 -10
  67. package/dist/src/components/editor/plugins/utils/resetBlockType.js +8 -6
  68. package/dist/src/components/editor/plugins/utils/selectOnBackspace.js +5 -3
  69. package/dist/src/components/editor/plugins/utils/softBreak.js +5 -3
  70. package/dist/src/components/editor/plugins/utils/utils.js +13 -11
  71. package/dist/src/components/editor/simple_editor/navbar.js +89 -83
  72. package/dist/src/components/editor/simple_editor/plugins.js +64 -62
  73. package/dist/src/components/editor/simple_editor/simple_editor.js +19 -13
  74. package/dist/src/components/editor/styles/menu_button.js +5 -3
  75. package/dist/src/components/feedback/animated_toast/animated_toast.js +18 -12
  76. package/dist/src/components/feedback/badge/badge.js +15 -9
  77. package/dist/src/components/feedback/banner/banner.js +31 -25
  78. package/dist/src/components/feedback/chip/chip.js +15 -9
  79. package/dist/src/components/feedback/loader/loader.js +14 -8
  80. package/dist/src/components/feedback/notification/notification.js +30 -24
  81. package/dist/src/components/feedback/progress/progress.js +34 -28
  82. package/dist/src/components/feedback/toast/toast.js +30 -24
  83. package/dist/src/components/feedback/tooltip/tooltip.js +15 -9
  84. package/dist/src/components/iconography/avatar/avatar.js +54 -47
  85. package/dist/src/components/iconography/avatar/icons/approved.js +12 -6
  86. package/dist/src/components/iconography/avatar/icons/busy.js +12 -6
  87. package/dist/src/components/iconography/avatar/icons/declined.js +12 -6
  88. package/dist/src/components/iconography/avatar/icons/default.js +11 -5
  89. package/dist/src/components/iconography/avatar/icons/focus.js +12 -6
  90. package/dist/src/components/iconography/avatar/icons/locked.js +12 -6
  91. package/dist/src/components/iconography/avatar/icons/offline.js +12 -6
  92. package/dist/src/components/iconography/avatar/icons/online.js +11 -5
  93. package/dist/src/components/iconography/avatar/icons/subscribed.js +18 -12
  94. package/dist/src/components/iconography/icon/icon.js +12 -6
  95. package/dist/src/components/input/calendar/calendar.js +55 -49
  96. package/dist/src/components/input/checkbox/checkbox.js +14 -8
  97. package/dist/src/components/input/date/date.js +72 -66
  98. package/dist/src/components/input/filter/filter.js +67 -61
  99. package/dist/src/components/input/filter/filter_option.js +24 -17
  100. package/dist/src/components/input/radio/radio.js +19 -13
  101. package/dist/src/components/input/search/search.js +26 -20
  102. package/dist/src/components/input/select/select.js +16 -10
  103. package/dist/src/components/input/text_area/text_area.js +27 -21
  104. package/dist/src/components/input/text_input/text_input.js +30 -24
  105. package/dist/src/components/input/time/time.js +18 -12
  106. package/dist/src/components/media/video/video.js +15 -7
  107. package/dist/src/components/media/video-player/playlist-item.js +30 -23
  108. package/dist/src/components/media/video-player/video.js +56 -48
  109. package/dist/src/components/navigation/breadcrumb/breadcrumb.js +29 -22
  110. package/dist/src/components/navigation/inner/inner.js +51 -44
  111. package/dist/src/components/navigation/tabs/tabs.js +20 -13
  112. package/dist/src/components/surfaces/accordion/accordion.js +26 -20
  113. package/dist/src/components/surfaces/calendar_date/calendar_date.js +26 -20
  114. package/dist/src/components/surfaces/carousel/card/card.js +21 -15
  115. package/dist/src/components/surfaces/comment/comment.js +82 -75
  116. package/dist/src/components/surfaces/comment/helpers.js +3 -1
  117. package/dist/src/components/surfaces/drawer/drawer.js +32 -26
  118. package/dist/src/components/surfaces/message/message.js +22 -16
  119. package/dist/src/components/surfaces/modal/modal.js +35 -29
  120. package/dist/src/components/surfaces/portal/portal.js +13 -6
  121. package/dist/src/components/surfaces/post/post.js +63 -55
  122. package/dist/src/components/table/table/table.js +26 -20
  123. package/dist/src/emoji/emojis.json.js +9 -1
  124. package/dist/src/icons/arrow/arrow_all.js +11 -5
  125. package/dist/src/icons/arrow/arrow_all_diagonal.js +11 -5
  126. package/dist/src/icons/arrow/arrow_both_downwards.js +11 -5
  127. package/dist/src/icons/arrow/arrow_both_upwards.js +11 -5
  128. package/dist/src/icons/arrow/arrow_circle_left.js +11 -5
  129. package/dist/src/icons/arrow/arrow_circle_left_double.js +11 -5
  130. package/dist/src/icons/arrow/arrow_circle_left_double_alert.js +13 -7
  131. package/dist/src/icons/arrow/arrow_circle_right.js +11 -5
  132. package/dist/src/icons/arrow/arrow_circle_right_double.js +11 -5
  133. package/dist/src/icons/arrow/arrow_circle_right_double_alert.js +11 -5
  134. package/dist/src/icons/arrow/arrow_diagonal_down_left.js +11 -5
  135. package/dist/src/icons/arrow/arrow_diagonal_down_left_circle.js +11 -5
  136. package/dist/src/icons/arrow/arrow_diagonal_down_right.js +11 -5
  137. package/dist/src/icons/arrow/arrow_diagonal_down_right_circle.js +11 -5
  138. package/dist/src/icons/arrow/arrow_diagonal_up_left.js +11 -5
  139. package/dist/src/icons/arrow/arrow_diagonal_up_left_circle.js +11 -5
  140. package/dist/src/icons/arrow/arrow_diagonal_up_right.js +11 -5
  141. package/dist/src/icons/arrow/arrow_diagonal_up_right_circle.js +11 -5
  142. package/dist/src/icons/arrow/arrow_down.js +11 -5
  143. package/dist/src/icons/arrow/arrow_down_bold.js +11 -5
  144. package/dist/src/icons/arrow/arrow_down_circle.js +11 -5
  145. package/dist/src/icons/arrow/arrow_left.js +11 -5
  146. package/dist/src/icons/arrow/arrow_left_bold.js +11 -5
  147. package/dist/src/icons/arrow/arrow_left_circle.js +11 -5
  148. package/dist/src/icons/arrow/arrow_left_curved.js +11 -5
  149. package/dist/src/icons/arrow/arrow_left_curved_circle.js +11 -5
  150. package/dist/src/icons/arrow/arrow_right.js +11 -5
  151. package/dist/src/icons/arrow/arrow_right_bold.js +11 -5
  152. package/dist/src/icons/arrow/arrow_right_circle.js +11 -5
  153. package/dist/src/icons/arrow/arrow_right_curved.js +11 -5
  154. package/dist/src/icons/arrow/arrow_right_curved_circle.js +11 -5
  155. package/dist/src/icons/arrow/arrow_up.js +11 -5
  156. package/dist/src/icons/arrow/arrow_up_bold.js +11 -5
  157. package/dist/src/icons/arrow/arrow_up_circle.js +11 -5
  158. package/dist/src/icons/arrow/chevron_down.js +11 -5
  159. package/dist/src/icons/arrow/chevron_down_circle.js +11 -5
  160. package/dist/src/icons/arrow/chevron_down_double.js +11 -5
  161. package/dist/src/icons/arrow/chevron_down_double_circle.js +11 -5
  162. package/dist/src/icons/arrow/chevron_left.js +11 -5
  163. package/dist/src/icons/arrow/chevron_left_circle.js +11 -5
  164. package/dist/src/icons/arrow/chevron_left_double.js +11 -5
  165. package/dist/src/icons/arrow/chevron_left_double_circle.js +11 -5
  166. package/dist/src/icons/arrow/chevron_right.js +11 -5
  167. package/dist/src/icons/arrow/chevron_right_circle.js +11 -5
  168. package/dist/src/icons/arrow/chevron_right_double.js +11 -5
  169. package/dist/src/icons/arrow/chevron_right_double_circle.js +11 -5
  170. package/dist/src/icons/arrow/chevron_scroll.js +11 -5
  171. package/dist/src/icons/arrow/chevron_up.js +11 -5
  172. package/dist/src/icons/arrow/chevron_up_circle.js +11 -5
  173. package/dist/src/icons/arrow/chevron_up_double.js +11 -5
  174. package/dist/src/icons/arrow/chevron_up_double_circle.js +11 -5
  175. package/dist/src/icons/arrow/forward_all.js +11 -5
  176. package/dist/src/icons/arrow/forward_all_bold.js +11 -5
  177. package/dist/src/icons/arrow/forward_bold.js +11 -5
  178. package/dist/src/icons/arrow/redo.js +11 -5
  179. package/dist/src/icons/arrow/redo_bold.js +11 -5
  180. package/dist/src/icons/arrow/reply.js +11 -5
  181. package/dist/src/icons/arrow/reply_all.js +11 -5
  182. package/dist/src/icons/arrow/reply_all_bold.js +11 -5
  183. package/dist/src/icons/arrow/reply_bold.js +11 -5
  184. package/dist/src/icons/arrow/undo.js +11 -5
  185. package/dist/src/icons/arrow/undo_bold.js +11 -5
  186. package/dist/src/icons/audio_video/drag_indicator.js +11 -5
  187. package/dist/src/icons/audio_video/eject.js +11 -5
  188. package/dist/src/icons/audio_video/equalizer.js +11 -5
  189. package/dist/src/icons/audio_video/fast_forward.js +11 -5
  190. package/dist/src/icons/audio_video/fast_forward_30.js +11 -5
  191. package/dist/src/icons/audio_video/fullscreen.js +11 -5
  192. package/dist/src/icons/audio_video/headphones.js +11 -5
  193. package/dist/src/icons/audio_video/library_add.js +11 -5
  194. package/dist/src/icons/audio_video/library_music.js +11 -5
  195. package/dist/src/icons/audio_video/microphone.js +11 -5
  196. package/dist/src/icons/audio_video/musical_note.js +11 -5
  197. package/dist/src/icons/audio_video/next.js +11 -5
  198. package/dist/src/icons/audio_video/pause.js +11 -5
  199. package/dist/src/icons/audio_video/pause_circle.js +11 -5
  200. package/dist/src/icons/audio_video/play.js +11 -5
  201. package/dist/src/icons/audio_video/play_circle.js +11 -5
  202. package/dist/src/icons/audio_video/play_display.js +11 -5
  203. package/dist/src/icons/audio_video/play_pause.js +11 -5
  204. package/dist/src/icons/audio_video/play_solid.js +11 -5
  205. package/dist/src/icons/audio_video/player_list.js +11 -5
  206. package/dist/src/icons/audio_video/player_list_add.js +11 -5
  207. package/dist/src/icons/audio_video/player_list_play.js +11 -5
  208. package/dist/src/icons/audio_video/previous.js +11 -5
  209. package/dist/src/icons/audio_video/radio.js +11 -5
  210. package/dist/src/icons/audio_video/record.js +11 -5
  211. package/dist/src/icons/audio_video/repeat.js +11 -5
  212. package/dist/src/icons/audio_video/rewind.js +11 -5
  213. package/dist/src/icons/audio_video/rewind_30.js +11 -5
  214. package/dist/src/icons/audio_video/shuffle.js +11 -5
  215. package/dist/src/icons/audio_video/sound_wave.js +11 -5
  216. package/dist/src/icons/audio_video/stop.js +11 -5
  217. package/dist/src/icons/audio_video/stop_circle.js +11 -5
  218. package/dist/src/icons/audio_video/subscriptions.js +11 -5
  219. package/dist/src/icons/audio_video/tuner.js +11 -5
  220. package/dist/src/icons/audio_video/volume.js +11 -5
  221. package/dist/src/icons/audio_video/volume_high.js +11 -5
  222. package/dist/src/icons/audio_video/volume_low.js +11 -5
  223. package/dist/src/icons/audio_video/volume_slash.js +11 -5
  224. package/dist/src/icons/basic/aa_sansserif.js +12 -6
  225. package/dist/src/icons/basic/aa_serif.js +12 -6
  226. package/dist/src/icons/basic/anchor.js +13 -7
  227. package/dist/src/icons/basic/bible.js +11 -5
  228. package/dist/src/icons/basic/bold.js +11 -5
  229. package/dist/src/icons/basic/book.js +11 -5
  230. package/dist/src/icons/basic/book_open.js +11 -5
  231. package/dist/src/icons/basic/bookmark.js +11 -5
  232. package/dist/src/icons/basic/bookmark_add.js +11 -5
  233. package/dist/src/icons/basic/bookmark_slash.js +11 -5
  234. package/dist/src/icons/basic/bookmarks.js +11 -5
  235. package/dist/src/icons/basic/books.js +14 -8
  236. package/dist/src/icons/basic/box.js +11 -5
  237. package/dist/src/icons/basic/briefcase.js +11 -5
  238. package/dist/src/icons/basic/browse_activity.js +11 -5
  239. package/dist/src/icons/basic/browser.js +11 -5
  240. package/dist/src/icons/basic/browser_slash.js +11 -5
  241. package/dist/src/icons/basic/calculator.js +11 -5
  242. package/dist/src/icons/basic/camera.js +11 -5
  243. package/dist/src/icons/basic/camera_add.js +11 -5
  244. package/dist/src/icons/basic/camera_slash.js +11 -5
  245. package/dist/src/icons/basic/checkmark.js +11 -5
  246. package/dist/src/icons/basic/checkmark_circle.js +13 -7
  247. package/dist/src/icons/basic/checkmark_filled.js +11 -5
  248. package/dist/src/icons/basic/checkmarks.js +11 -5
  249. package/dist/src/icons/basic/circle.js +11 -5
  250. package/dist/src/icons/basic/circle_slash.js +13 -7
  251. package/dist/src/icons/basic/clear_text_style.js +11 -5
  252. package/dist/src/icons/basic/close.js +11 -5
  253. package/dist/src/icons/basic/close_circle.js +11 -5
  254. package/dist/src/icons/basic/close_filled.js +11 -5
  255. package/dist/src/icons/basic/copy.js +11 -5
  256. package/dist/src/icons/basic/delete.js +11 -5
  257. package/dist/src/icons/basic/detail.js +11 -5
  258. package/dist/src/icons/basic/dot.js +11 -5
  259. package/dist/src/icons/basic/download.js +11 -5
  260. package/dist/src/icons/basic/download_arrow.js +11 -5
  261. package/dist/src/icons/basic/droplet.js +13 -7
  262. package/dist/src/icons/basic/ellipsis_horizontal.js +11 -5
  263. package/dist/src/icons/basic/ellipsis_horizontal_circle.js +11 -5
  264. package/dist/src/icons/basic/ellipsis_vertical.js +11 -5
  265. package/dist/src/icons/basic/ellipsis_vertical_circle.js +11 -5
  266. package/dist/src/icons/basic/eye.js +11 -5
  267. package/dist/src/icons/basic/eye_slash.js +11 -5
  268. package/dist/src/icons/basic/fingerprint.js +11 -5
  269. package/dist/src/icons/basic/flag.js +11 -5
  270. package/dist/src/icons/basic/flag_wave.js +11 -5
  271. package/dist/src/icons/basic/flag_wave_filled.js +11 -5
  272. package/dist/src/icons/basic/flame.js +11 -5
  273. package/dist/src/icons/basic/gauge.js +11 -5
  274. package/dist/src/icons/basic/glasses.js +11 -5
  275. package/dist/src/icons/basic/graduation_cap.js +11 -5
  276. package/dist/src/icons/basic/hashmark.js +11 -5
  277. package/dist/src/icons/basic/heart.js +11 -5
  278. package/dist/src/icons/basic/heart_slash.js +11 -5
  279. package/dist/src/icons/basic/highlighter.js +11 -5
  280. package/dist/src/icons/basic/home.js +11 -5
  281. package/dist/src/icons/basic/image.js +11 -5
  282. package/dist/src/icons/basic/inbox.js +11 -5
  283. package/dist/src/icons/basic/italic.js +11 -5
  284. package/dist/src/icons/basic/layers.js +11 -5
  285. package/dist/src/icons/basic/lightening.js +11 -5
  286. package/dist/src/icons/basic/lightening_slash.js +11 -5
  287. package/dist/src/icons/basic/link.js +11 -5
  288. package/dist/src/icons/basic/link_slash.js +11 -5
  289. package/dist/src/icons/basic/loudspeaker.js +11 -5
  290. package/dist/src/icons/basic/maximize.js +11 -5
  291. package/dist/src/icons/basic/menu.js +11 -5
  292. package/dist/src/icons/basic/menu_circle.js +11 -5
  293. package/dist/src/icons/basic/menu_dots.js +11 -5
  294. package/dist/src/icons/basic/microphone_slash.js +11 -5
  295. package/dist/src/icons/basic/minimize.js +11 -5
  296. package/dist/src/icons/basic/minus.js +11 -5
  297. package/dist/src/icons/basic/minus_circle.js +11 -5
  298. package/dist/src/icons/basic/move_item.js +11 -5
  299. package/dist/src/icons/basic/new.js +11 -5
  300. package/dist/src/icons/basic/newspaper.js +11 -5
  301. package/dist/src/icons/basic/node.js +11 -5
  302. package/dist/src/icons/basic/note_pad.js +12 -6
  303. package/dist/src/icons/basic/options.js +11 -5
  304. package/dist/src/icons/basic/paint_brush.js +11 -5
  305. package/dist/src/icons/basic/paperclip.js +11 -5
  306. package/dist/src/icons/basic/paperclip_slash.js +11 -5
  307. package/dist/src/icons/basic/pencil.js +11 -5
  308. package/dist/src/icons/basic/pencil_pad.js +11 -5
  309. package/dist/src/icons/basic/plus.js +11 -5
  310. package/dist/src/icons/basic/plus_circle.js +11 -5
  311. package/dist/src/icons/basic/presentation.js +11 -5
  312. package/dist/src/icons/basic/printer.js +11 -5
  313. package/dist/src/icons/basic/profile.js +11 -5
  314. package/dist/src/icons/basic/profile_check.js +11 -5
  315. package/dist/src/icons/basic/pulse.js +11 -5
  316. package/dist/src/icons/basic/qr_code.js +11 -5
  317. package/dist/src/icons/basic/resize.js +13 -7
  318. package/dist/src/icons/basic/scan.js +11 -5
  319. package/dist/src/icons/basic/scissors.js +11 -5
  320. package/dist/src/icons/basic/screenshot.js +11 -5
  321. package/dist/src/icons/basic/search.js +11 -5
  322. package/dist/src/icons/basic/select_item.js +12 -6
  323. package/dist/src/icons/basic/settings.js +11 -5
  324. package/dist/src/icons/basic/share.js +11 -5
  325. package/dist/src/icons/basic/share_external.js +11 -5
  326. package/dist/src/icons/basic/square.js +11 -5
  327. package/dist/src/icons/basic/star.js +11 -5
  328. package/dist/src/icons/basic/star_circle.js +11 -5
  329. package/dist/src/icons/basic/star_filled.js +11 -5
  330. package/dist/src/icons/basic/star_filled_half.js +11 -5
  331. package/dist/src/icons/basic/star_slash.js +11 -5
  332. package/dist/src/icons/basic/sticker.js +11 -5
  333. package/dist/src/icons/basic/strikethrough.js +11 -5
  334. package/dist/src/icons/basic/subtask.js +12 -6
  335. package/dist/src/icons/basic/tax.js +14 -8
  336. package/dist/src/icons/basic/text_bg_color.js +11 -5
  337. package/dist/src/icons/basic/text_color.js +11 -5
  338. package/dist/src/icons/basic/textbox.js +11 -5
  339. package/dist/src/icons/basic/thumbs_down.js +11 -5
  340. package/dist/src/icons/basic/thumbs_up.js +11 -5
  341. package/dist/src/icons/basic/thumbs_up_filled.js +11 -5
  342. package/dist/src/icons/basic/toggle_left.js +11 -5
  343. package/dist/src/icons/basic/toggle_right.js +11 -5
  344. package/dist/src/icons/basic/translate.js +11 -5
  345. package/dist/src/icons/basic/trash.js +11 -5
  346. package/dist/src/icons/basic/trash_slash.js +11 -5
  347. package/dist/src/icons/basic/underline.js +11 -5
  348. package/dist/src/icons/basic/upload.js +11 -5
  349. package/dist/src/icons/basic/video.js +11 -5
  350. package/dist/src/icons/basic/video_add.js +12 -6
  351. package/dist/src/icons/basic/video_slash.js +11 -5
  352. package/dist/src/icons/basic/wrench.js +11 -5
  353. package/dist/src/icons/basic/zoom_in.js +11 -5
  354. package/dist/src/icons/basic/zoom_out.js +11 -5
  355. package/dist/src/icons/data/bar_chart.js +11 -5
  356. package/dist/src/icons/data/bar_chart_downward.js +11 -5
  357. package/dist/src/icons/data/bar_chart_downward_outline.js +11 -5
  358. package/dist/src/icons/data/bar_chart_upward.js +11 -5
  359. package/dist/src/icons/data/bar_chart_upward_outline.js +11 -5
  360. package/dist/src/icons/data/candlestick_chart.js +11 -5
  361. package/dist/src/icons/data/four_circles.js +11 -5
  362. package/dist/src/icons/data/legend_toggle.js +11 -5
  363. package/dist/src/icons/data/line_chart.js +11 -5
  364. package/dist/src/icons/data/line_chart_area.js +11 -5
  365. package/dist/src/icons/data/line_chart_area_shaded.js +11 -5
  366. package/dist/src/icons/data/line_chart_double.js +11 -5
  367. package/dist/src/icons/data/line_chart_downward.js +11 -5
  368. package/dist/src/icons/data/line_chart_node.js +11 -5
  369. package/dist/src/icons/data/line_chart_outline.js +11 -5
  370. package/dist/src/icons/data/line_chart_search.js +11 -5
  371. package/dist/src/icons/data/line_chart_stars.js +11 -5
  372. package/dist/src/icons/data/line_chart_upward.js +11 -5
  373. package/dist/src/icons/data/pie_chart.js +12 -6
  374. package/dist/src/icons/data/tree.js +11 -5
  375. package/dist/src/icons/email/mail.js +11 -5
  376. package/dist/src/icons/email/mail_check.js +11 -5
  377. package/dist/src/icons/email/mail_minus.js +11 -5
  378. package/dist/src/icons/email/mail_send.js +11 -5
  379. package/dist/src/icons/email/send.js +11 -5
  380. package/dist/src/icons/email/send_close.js +11 -5
  381. package/dist/src/icons/email/send_schedule.js +11 -5
  382. package/dist/src/icons/email/send_text.js +11 -5
  383. package/dist/src/icons/emoji/emoji_add.js +11 -5
  384. package/dist/src/icons/emoji/laughing.js +11 -5
  385. package/dist/src/icons/emoji/neutral.js +11 -5
  386. package/dist/src/icons/emoji/sad.js +11 -5
  387. package/dist/src/icons/emoji/shocked.js +11 -5
  388. package/dist/src/icons/emoji/smile.js +11 -5
  389. package/dist/src/icons/file/clipboard.js +11 -5
  390. package/dist/src/icons/file/clipboard_check.js +11 -5
  391. package/dist/src/icons/file/clipboard_close.js +11 -5
  392. package/dist/src/icons/file/clipboard_minus.js +11 -5
  393. package/dist/src/icons/file/clipboard_plus.js +11 -5
  394. package/dist/src/icons/file/clipboard_text.js +11 -5
  395. package/dist/src/icons/file/file.js +11 -5
  396. package/dist/src/icons/file/file_add.js +11 -5
  397. package/dist/src/icons/file/file_check.js +11 -5
  398. package/dist/src/icons/file/file_close.js +11 -5
  399. package/dist/src/icons/file/file_code.js +11 -5
  400. package/dist/src/icons/file/file_download.js +11 -5
  401. package/dist/src/icons/file/file_draft.js +11 -5
  402. package/dist/src/icons/file/file_gear.js +12 -6
  403. package/dist/src/icons/file/file_minus.js +11 -5
  404. package/dist/src/icons/file/file_plus.js +11 -5
  405. package/dist/src/icons/file/file_scan.js +11 -5
  406. package/dist/src/icons/file/file_shred.js +11 -5
  407. package/dist/src/icons/file/file_text.js +11 -5
  408. package/dist/src/icons/file/file_upload.js +11 -5
  409. package/dist/src/icons/file/folder.js +11 -5
  410. package/dist/src/icons/file/folder_add.js +11 -5
  411. package/dist/src/icons/file/folder_arrow.js +11 -5
  412. package/dist/src/icons/file/folder_check.js +11 -5
  413. package/dist/src/icons/file/folder_close.js +11 -5
  414. package/dist/src/icons/file/folder_cloud.js +11 -5
  415. package/dist/src/icons/file/folder_gear.js +12 -6
  416. package/dist/src/icons/file/folder_minus.js +11 -5
  417. package/dist/src/icons/file/folder_music.js +11 -5
  418. package/dist/src/icons/file/folder_open.js +11 -5
  419. package/dist/src/icons/file/folder_plus.js +11 -5
  420. package/dist/src/icons/file/folder_zip.js +11 -5
  421. package/dist/src/icons/file/note.js +11 -5
  422. package/dist/src/icons/file/note_text.js +11 -5
  423. package/dist/src/icons/file/pdf.js +11 -5
  424. package/dist/src/icons/file/photo.js +11 -5
  425. package/dist/src/icons/finance/bitcoin.js +11 -5
  426. package/dist/src/icons/finance/coins.js +15 -9
  427. package/dist/src/icons/finance/credit_card.js +11 -5
  428. package/dist/src/icons/finance/credit_card_add.js +11 -5
  429. package/dist/src/icons/finance/credit_card_face.js +11 -5
  430. package/dist/src/icons/finance/credit_card_member.js +11 -5
  431. package/dist/src/icons/finance/credit_card_outcome.js +11 -5
  432. package/dist/src/icons/finance/credit_card_scan.js +11 -5
  433. package/dist/src/icons/finance/credit_card_share.js +11 -5
  434. package/dist/src/icons/finance/credit_card_slash.js +11 -5
  435. package/dist/src/icons/finance/currency_exchange.js +11 -5
  436. package/dist/src/icons/finance/dollar.js +11 -5
  437. package/dist/src/icons/finance/ethereum.js +11 -5
  438. package/dist/src/icons/finance/paypass.js +11 -5
  439. package/dist/src/icons/finance/strongbox.js +11 -5
  440. package/dist/src/icons/finance/wallet.js +11 -5
  441. package/dist/src/icons/index.js +1095 -545
  442. package/dist/src/icons/layout/block_align_bottom.js +11 -5
  443. package/dist/src/icons/layout/block_align_center.js +11 -5
  444. package/dist/src/icons/layout/block_align_left.js +11 -5
  445. package/dist/src/icons/layout/block_align_middle.js +11 -5
  446. package/dist/src/icons/layout/block_align_right.js +11 -5
  447. package/dist/src/icons/layout/block_align_top.js +11 -5
  448. package/dist/src/icons/layout/block_horizontal.js +11 -5
  449. package/dist/src/icons/layout/block_vertical.js +11 -5
  450. package/dist/src/icons/layout/edit_shape.js +11 -5
  451. package/dist/src/icons/layout/elements.js +11 -5
  452. package/dist/src/icons/layout/elements_add.js +11 -5
  453. package/dist/src/icons/layout/elements_filled.js +11 -5
  454. package/dist/src/icons/layout/elements_masonry.js +11 -5
  455. package/dist/src/icons/layout/frame.js +11 -5
  456. package/dist/src/icons/layout/frame_stack.js +11 -5
  457. package/dist/src/icons/layout/grid.js +11 -5
  458. package/dist/src/icons/layout/grid_column_three.js +11 -5
  459. package/dist/src/icons/layout/grid_column_two.js +11 -5
  460. package/dist/src/icons/layout/grid_dynamic.js +11 -5
  461. package/dist/src/icons/layout/grid_frame.js +11 -5
  462. package/dist/src/icons/layout/grid_row_three.js +11 -5
  463. package/dist/src/icons/layout/grid_row_two.js +11 -5
  464. package/dist/src/icons/layout/grid_six.js +11 -5
  465. package/dist/src/icons/layout/grid_small.js +11 -5
  466. package/dist/src/icons/layout/iframe.js +11 -5
  467. package/dist/src/icons/layout/kanban.js +11 -5
  468. package/dist/src/icons/layout/layout.js +11 -5
  469. package/dist/src/icons/layout/list.js +11 -5
  470. package/dist/src/icons/layout/list_filled.js +16 -10
  471. package/dist/src/icons/layout/padding.js +11 -5
  472. package/dist/src/icons/layout/page_break.js +11 -5
  473. package/dist/src/icons/layout/rotate_left.js +11 -5
  474. package/dist/src/icons/layout/rotate_right.js +11 -5
  475. package/dist/src/icons/layout/ruler.js +11 -5
  476. package/dist/src/icons/layout/segment.js +11 -5
  477. package/dist/src/icons/layout/select_area.js +11 -5
  478. package/dist/src/icons/layout/select_boundary.js +11 -5
  479. package/dist/src/icons/layout/sidebar_left.js +11 -5
  480. package/dist/src/icons/layout/sidebar_right.js +11 -5
  481. package/dist/src/icons/layout/slides.js +11 -5
  482. package/dist/src/icons/layout/slides_horizontal.js +11 -5
  483. package/dist/src/icons/layout/slides_vertical.js +16 -10
  484. package/dist/src/icons/layout/stack.js +11 -5
  485. package/dist/src/icons/layout/text.js +11 -5
  486. package/dist/src/icons/maps/atlas.js +11 -5
  487. package/dist/src/icons/maps/compass.js +11 -5
  488. package/dist/src/icons/maps/direction.js +11 -5
  489. package/dist/src/icons/maps/direction_angled.js +11 -5
  490. package/dist/src/icons/maps/globe.js +11 -5
  491. package/dist/src/icons/maps/globe_slash.js +11 -5
  492. package/dist/src/icons/maps/location.js +11 -5
  493. package/dist/src/icons/maps/location_slash.js +11 -5
  494. package/dist/src/icons/maps/map.js +11 -5
  495. package/dist/src/icons/maps/marker.js +11 -5
  496. package/dist/src/icons/maps/panorama.js +11 -5
  497. package/dist/src/icons/maps/pin.js +11 -5
  498. package/dist/src/icons/maps/pin_arrow.js +11 -5
  499. package/dist/src/icons/maps/pin_location.js +11 -5
  500. package/dist/src/icons/maps/pin_plus.js +11 -5
  501. package/dist/src/icons/maps/pin_question.js +11 -5
  502. package/dist/src/icons/maps/pin_slash.js +11 -5
  503. package/dist/src/icons/maps/push_pin.js +11 -5
  504. package/dist/src/icons/maps/push_pin_filled.js +11 -5
  505. package/dist/src/icons/maps/push_pin_slash.js +11 -5
  506. package/dist/src/icons/maps/radar.js +11 -5
  507. package/dist/src/icons/maps/route.js +11 -5
  508. package/dist/src/icons/message/bubble.js +11 -5
  509. package/dist/src/icons/message/bubble_question.js +11 -5
  510. package/dist/src/icons/message/comment.js +11 -5
  511. package/dist/src/icons/message/comment_add.js +11 -5
  512. package/dist/src/icons/message/comment_check.js +11 -5
  513. package/dist/src/icons/message/comment_close.js +11 -5
  514. package/dist/src/icons/message/comment_minus.js +11 -5
  515. package/dist/src/icons/message/comment_text.js +11 -5
  516. package/dist/src/icons/misc/advertisement.js +11 -5
  517. package/dist/src/icons/misc/atom.js +11 -5
  518. package/dist/src/icons/misc/bone.js +11 -5
  519. package/dist/src/icons/misc/brightness_high.js +11 -5
  520. package/dist/src/icons/misc/brightness_low.js +11 -5
  521. package/dist/src/icons/misc/contrast.js +11 -5
  522. package/dist/src/icons/misc/crosshairs.js +11 -5
  523. package/dist/src/icons/misc/crown.js +11 -5
  524. package/dist/src/icons/misc/footprint.js +11 -5
  525. package/dist/src/icons/misc/form.js +11 -5
  526. package/dist/src/icons/misc/funnel.js +11 -5
  527. package/dist/src/icons/misc/infinite.js +11 -5
  528. package/dist/src/icons/misc/insert_button.js +11 -5
  529. package/dist/src/icons/misc/light_bulb.js +11 -5
  530. package/dist/src/icons/misc/moon.js +11 -5
  531. package/dist/src/icons/misc/nut.js +11 -5
  532. package/dist/src/icons/misc/planet.js +11 -5
  533. package/dist/src/icons/misc/plus_thick.js +11 -5
  534. package/dist/src/icons/misc/pocket.js +11 -5
  535. package/dist/src/icons/misc/rocket.js +11 -5
  536. package/dist/src/icons/misc/soup.js +15 -9
  537. package/dist/src/icons/misc/sun.js +11 -5
  538. package/dist/src/icons/misc/toy_horse.js +11 -5
  539. package/dist/src/icons/misc/trophy.js +11 -5
  540. package/dist/src/icons/misc/watercloset.js +11 -5
  541. package/dist/src/icons/notifications/alert_circle.js +11 -5
  542. package/dist/src/icons/notifications/alert_octogon.js +11 -5
  543. package/dist/src/icons/notifications/alert_triangle.js +11 -5
  544. package/dist/src/icons/notifications/app_notification.js +11 -5
  545. package/dist/src/icons/notifications/bell.js +11 -5
  546. package/dist/src/icons/notifications/bell_alert.js +11 -5
  547. package/dist/src/icons/notifications/bell_checkmark.js +11 -5
  548. package/dist/src/icons/notifications/bell_minus.js +11 -5
  549. package/dist/src/icons/notifications/bell_plus.js +11 -5
  550. package/dist/src/icons/notifications/bell_ring.js +13 -7
  551. package/dist/src/icons/notifications/bell_slash.js +11 -5
  552. package/dist/src/icons/notifications/information.js +11 -5
  553. package/dist/src/icons/notifications/minus_octogon.js +11 -5
  554. package/dist/src/icons/notifications/question_circle.js +11 -5
  555. package/dist/src/icons/people/group.js +11 -5
  556. package/dist/src/icons/people/group_add.js +11 -5
  557. package/dist/src/icons/people/group_chat.js +13 -7
  558. package/dist/src/icons/people/group_remove.js +11 -5
  559. package/dist/src/icons/people/group_send.js +12 -6
  560. package/dist/src/icons/people/groups.js +11 -5
  561. package/dist/src/icons/people/person.js +11 -5
  562. package/dist/src/icons/people/person_add.js +11 -5
  563. package/dist/src/icons/people/person_checkmark.js +11 -5
  564. package/dist/src/icons/people/person_circle.js +13 -7
  565. package/dist/src/icons/people/person_close.js +13 -7
  566. package/dist/src/icons/people/person_remove.js +11 -5
  567. package/dist/src/icons/people/person_slash.js +13 -7
  568. package/dist/src/icons/phone/keypad.js +11 -5
  569. package/dist/src/icons/phone/phone.js +11 -5
  570. package/dist/src/icons/phone/phone_add.js +11 -5
  571. package/dist/src/icons/phone/phone_calling.js +11 -5
  572. package/dist/src/icons/phone/phone_check.js +11 -5
  573. package/dist/src/icons/phone/phone_close.js +11 -5
  574. package/dist/src/icons/phone/phone_decline.js +11 -5
  575. package/dist/src/icons/phone/phone_forwarded.js +11 -5
  576. package/dist/src/icons/phone/phone_hash.js +11 -5
  577. package/dist/src/icons/phone/phone_incoming.js +11 -5
  578. package/dist/src/icons/phone/phone_outgoing.js +11 -5
  579. package/dist/src/icons/phone/phone_pause.js +11 -5
  580. package/dist/src/icons/phone/phone_slash.js +11 -5
  581. package/dist/src/icons/phone/voicemail.js +11 -5
  582. package/dist/src/icons/security/key.js +11 -5
  583. package/dist/src/icons/security/key_slash.js +11 -5
  584. package/dist/src/icons/security/lock.js +11 -5
  585. package/dist/src/icons/security/lock_circle.js +11 -5
  586. package/dist/src/icons/security/lock_open.js +11 -5
  587. package/dist/src/icons/security/lock_slash.js +11 -5
  588. package/dist/src/icons/security/shield.js +11 -5
  589. package/dist/src/icons/security/shield_checkmark.js +11 -5
  590. package/dist/src/icons/security/shield_lock.js +11 -5
  591. package/dist/src/icons/security/shield_slash.js +11 -5
  592. package/dist/src/icons/security/verified.js +11 -5
  593. package/dist/src/icons/shopping/basket.js +11 -5
  594. package/dist/src/icons/shopping/cart.js +11 -5
  595. package/dist/src/icons/shopping/cart_filled.js +11 -5
  596. package/dist/src/icons/shopping/coupon.js +11 -5
  597. package/dist/src/icons/shopping/coupon_cut.js +11 -5
  598. package/dist/src/icons/shopping/delivery.js +11 -5
  599. package/dist/src/icons/shopping/discount.js +11 -5
  600. package/dist/src/icons/shopping/gift.js +11 -5
  601. package/dist/src/icons/shopping/gift_bag.js +11 -5
  602. package/dist/src/icons/shopping/inventory.js +11 -5
  603. package/dist/src/icons/shopping/point_of_sale.js +11 -5
  604. package/dist/src/icons/shopping/shirt.js +11 -5
  605. package/dist/src/icons/shopping/tag.js +11 -5
  606. package/dist/src/icons/shopping/tag_diagonal.js +11 -5
  607. package/dist/src/icons/shopping/tote.js +11 -5
  608. package/dist/src/icons/special/upload_audio.js +16 -10
  609. package/dist/src/icons/special/upload_file.js +11 -5
  610. package/dist/src/icons/special/upload_image.js +13 -7
  611. package/dist/src/icons/special/upload_video.js +14 -8
  612. package/dist/src/icons/symbols/at.js +11 -5
  613. package/dist/src/icons/symbols/cc.js +11 -5
  614. package/dist/src/icons/symbols/cmd.js +11 -5
  615. package/dist/src/icons/symbols/facebook.js +11 -5
  616. package/dist/src/icons/symbols/google.js +14 -8
  617. package/dist/src/icons/symbols/hash.js +11 -5
  618. package/dist/src/icons/symbols/instagram.js +23 -17
  619. package/dist/src/icons/symbols/messenger.js +17 -11
  620. package/dist/src/icons/symbols/twitter.js +11 -5
  621. package/dist/src/icons/technology/battery.js +11 -5
  622. package/dist/src/icons/technology/battery_100.js +11 -5
  623. package/dist/src/icons/technology/battery_20.js +11 -5
  624. package/dist/src/icons/technology/battery_40.js +11 -5
  625. package/dist/src/icons/technology/battery_60.js +11 -5
  626. package/dist/src/icons/technology/battery_80.js +11 -5
  627. package/dist/src/icons/technology/battery_charging.js +11 -5
  628. package/dist/src/icons/technology/battery_slash.js +11 -5
  629. package/dist/src/icons/technology/devices.js +11 -5
  630. package/dist/src/icons/technology/floppy_disk.js +11 -5
  631. package/dist/src/icons/technology/iphone.js +11 -5
  632. package/dist/src/icons/technology/laptop.js +11 -5
  633. package/dist/src/icons/technology/mobile.js +11 -5
  634. package/dist/src/icons/technology/monitor.js +11 -5
  635. package/dist/src/icons/technology/server.js +11 -5
  636. package/dist/src/icons/technology/sim_card.js +11 -5
  637. package/dist/src/icons/technology/usb_stick.js +11 -5
  638. package/dist/src/icons/text/align_center.js +11 -5
  639. package/dist/src/icons/text/align_justified.js +11 -5
  640. package/dist/src/icons/text/align_left.js +11 -5
  641. package/dist/src/icons/text/align_right.js +11 -5
  642. package/dist/src/icons/text/code_block.js +11 -5
  643. package/dist/src/icons/text/divider.js +11 -5
  644. package/dist/src/icons/text/footnote.js +13 -7
  645. package/dist/src/icons/text/indent_decrease.js +11 -5
  646. package/dist/src/icons/text/indent_increase.js +11 -5
  647. package/dist/src/icons/text/list_ordered.js +11 -5
  648. package/dist/src/icons/text/list_unordered.js +11 -5
  649. package/dist/src/icons/text/quote.js +11 -5
  650. package/dist/src/icons/text/table.js +11 -5
  651. package/dist/src/icons/time/alarm.js +11 -5
  652. package/dist/src/icons/time/alarm_checkmark.js +11 -5
  653. package/dist/src/icons/time/alarm_minus.js +11 -5
  654. package/dist/src/icons/time/alarm_plus.js +11 -5
  655. package/dist/src/icons/time/alarm_slash.js +11 -5
  656. package/dist/src/icons/time/alarm_snooze.js +11 -5
  657. package/dist/src/icons/time/calendar.js +11 -5
  658. package/dist/src/icons/time/calendar_add.js +11 -5
  659. package/dist/src/icons/time/calendar_checkmark.js +11 -5
  660. package/dist/src/icons/time/calendar_close.js +11 -5
  661. package/dist/src/icons/time/calendar_dates.js +11 -5
  662. package/dist/src/icons/time/calendar_minus.js +11 -5
  663. package/dist/src/icons/time/calendar_plus.js +11 -5
  664. package/dist/src/icons/time/calendar_scroll.js +13 -7
  665. package/dist/src/icons/time/clock.js +11 -5
  666. package/dist/src/icons/time/clock_history.js +11 -5
  667. package/dist/src/icons/time/stopwatch.js +11 -5
  668. package/dist/src/icons/time/timer.js +11 -5
  669. package/dist/src/icons/time/watch.js +11 -5
  670. package/dist/src/index.js +116 -57
  671. package/dist/src/styles/globals.css.js +5 -3
  672. package/dist/src/utils/date.js +14 -6
  673. package/dist/src/utils/function.js +3 -1
  674. package/package.json +1 -1
@@ -1,29 +1,35 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { Box } from '../../atoms/box/box.js';
5
- import { P } from '../../atoms/typography/paragraph.js';
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var box = require('../../atoms/box/box.js');
7
+ var paragraph = require('../../atoms/typography/paragraph.js');
8
+
9
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
+
11
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
6
12
 
7
13
  const Toggle = ({ checked, label, onChange }) => {
8
14
  const status = checked === undefined ? 'indeterminate' : checked ? 'checked' : 'unchecked';
9
- return (React__default.createElement(Box, { "$align": "center", "$gap": 8 },
10
- React__default.createElement(Wrapper, { as: "label", onChange: onChange },
11
- React__default.createElement(Input, { checked: !!checked, readOnly: true, type: "checkbox" }),
12
- React__default.createElement(Slider, { "$status": status })),
13
- label && React__default.createElement(P, { "$fontSize": 14 }, label)));
15
+ return (React__default.default.createElement(box.Box, { "$align": "center", "$gap": 8 },
16
+ React__default.default.createElement(Wrapper, { as: "label", onChange: onChange },
17
+ React__default.default.createElement(Input, { checked: !!checked, readOnly: true, type: "checkbox" }),
18
+ React__default.default.createElement(Slider, { "$status": status })),
19
+ label && React__default.default.createElement(paragraph.P, { "$fontSize": 14 }, label)));
14
20
  };
15
- const Wrapper = styled.label `
21
+ const Wrapper = styledComponents.styled.label `
16
22
  width: 28px;
17
23
  height: 16px;
18
24
  position: relative;
19
25
  display: inline-block;
20
26
  `;
21
- const Input = styled.input `
27
+ const Input = styledComponents.styled.input `
22
28
  opacity: 0;
23
29
  width: 0;
24
30
  height: 0;
25
31
  `;
26
- const Slider = styled.span `
32
+ const Slider = styledComponents.styled.span `
27
33
  position: absolute;
28
34
  cursor: pointer;
29
35
  top: 0px;
@@ -58,4 +64,4 @@ const Slider = styled.span `
58
64
  }
59
65
  `;
60
66
 
61
- export { Toggle };
67
+ exports.Toggle = Toggle;
@@ -1,18 +1,24 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { COLORS } from '../../../common/colors.js';
5
- import { Box } from '../../atoms/box/box.js';
6
- import { Button } from '../button/button.js';
7
- import { P } from '../../atoms/typography/paragraph.js';
8
- import { UploadAudio } from '../../../icons/special/upload_audio.js';
9
- import { UploadFile } from '../../../icons/special/upload_file.js';
10
- import { UploadImage } from '../../../icons/special/upload_image.js';
11
- import { UploadVideo } from '../../../icons/special/upload_video.js';
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var colors = require('../../../common/colors.js');
7
+ var box = require('../../atoms/box/box.js');
8
+ var button = require('../button/button.js');
9
+ var paragraph = require('../../atoms/typography/paragraph.js');
10
+ var upload_audio = require('../../../icons/special/upload_audio.js');
11
+ var upload_file = require('../../../icons/special/upload_file.js');
12
+ var upload_image = require('../../../icons/special/upload_image.js');
13
+ var upload_video = require('../../../icons/special/upload_video.js');
14
+
15
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
+
17
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
18
 
13
19
  const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', children, iconColor = 'primary-blue-2', multiple, onDrop, size = 'large', subtext, text, type, height, }) => {
14
- const filesRef = React__default.useRef(null);
15
- const [draggingOver, setDraggingOver] = React__default.useState(false);
20
+ const filesRef = React__default.default.useRef(null);
21
+ const [draggingOver, setDraggingOver] = React__default.default.useState(false);
16
22
  const fileTypeLookup = {
17
23
  video: 'video/*',
18
24
  audio: 'audio/*',
@@ -74,10 +80,10 @@ const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', childre
74
80
  size: heightLookup[type].icon[size],
75
81
  };
76
82
  const iconLookup = {
77
- audio: React__default.createElement(UploadAudio, { ...iconProps }),
78
- file: React__default.createElement(UploadFile, { ...iconProps }),
79
- image: React__default.createElement(UploadImage, { ...iconProps }),
80
- video: React__default.createElement(UploadVideo, { ...iconProps }),
83
+ audio: React__default.default.createElement(upload_audio.UploadAudio, { ...iconProps }),
84
+ file: React__default.default.createElement(upload_file.UploadFile, { ...iconProps }),
85
+ image: React__default.default.createElement(upload_image.UploadImage, { ...iconProps }),
86
+ video: React__default.default.createElement(upload_video.UploadVideo, { ...iconProps }),
81
87
  };
82
88
  const handleDragOver = (event) => {
83
89
  event.preventDefault();
@@ -118,19 +124,19 @@ const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', childre
118
124
  if (filesRef.current)
119
125
  filesRef.current.value = '';
120
126
  };
121
- return (React__default.createElement(React__default.Fragment, null,
122
- React__default.createElement(Wrapper, { "$background": background, "$borderColor": borderColor, "$draggingOver": draggingOver, "$height": height || heightLookup[type].height[size], "$size": size, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop },
123
- React__default.createElement(Box, { "$align": "center", "$borderRadius": "medium", "$dir": "column", "$display": "flex", "$gap": 16, "$justify": "center", sx: "height: 100%; width: 100%; svg { flex-shrink: 0; };" },
127
+ return (React__default.default.createElement(React__default.default.Fragment, null,
128
+ React__default.default.createElement(Wrapper, { "$background": background, "$borderColor": borderColor, "$draggingOver": draggingOver, "$height": height || heightLookup[type].height[size], "$size": size, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop },
129
+ React__default.default.createElement(box.Box, { "$align": "center", "$borderRadius": "medium", "$dir": "column", "$display": "flex", "$gap": 16, "$justify": "center", sx: "height: 100%; width: 100%; svg { flex-shrink: 0; };" },
124
130
  iconLookup[type],
125
- size !== 'small' && (React__default.createElement(Box, { "$align": "center", "$dir": "column", "$display": "flex", "$gap": 8, "$justify": "center", sx: "width: 100%;" },
126
- React__default.createElement(P, { "$textAlign": "center", sx: "width: 100%;" },
131
+ size !== 'small' && (React__default.default.createElement(box.Box, { "$align": "center", "$dir": "column", "$display": "flex", "$gap": 8, "$justify": "center", sx: "width: 100%;" },
132
+ React__default.default.createElement(paragraph.P, { "$textAlign": "center", sx: "width: 100%;" },
127
133
  text,
128
- React__default.createElement(Button, { onClick: () => filesRef.current?.click(), size: "small", sx: "display: inline;", type: "text" }, "Browse")),
129
- React__default.createElement(P, { "$textAlign": "center", sx: "width: 100%;" }, subtext))),
130
- React__default.createElement(Input, { "data-testid": "dropzone-upload-input", ref: filesRef, type: "file", multiple: multiple, accept: fileTypeLookup[type], name: "Files", onChange: handleFileChange }))),
131
- React__default.Children.map(children, (child) => {
132
- if (React__default.isValidElement(child)) {
133
- return React__default.cloneElement(child, {
134
+ React__default.default.createElement(button.Button, { onClick: () => filesRef.current?.click(), size: "small", sx: "display: inline;", type: "text" }, "Browse")),
135
+ React__default.default.createElement(paragraph.P, { "$textAlign": "center", sx: "width: 100%;" }, subtext))),
136
+ React__default.default.createElement(Input, { "data-testid": "dropzone-upload-input", ref: filesRef, type: "file", multiple: multiple, accept: fileTypeLookup[type], name: "Files", onChange: handleFileChange }))),
137
+ React__default.default.Children.map(children, (child) => {
138
+ if (React__default.default.isValidElement(child)) {
139
+ return React__default.default.cloneElement(child, {
134
140
  handleUpload: () => filesRef.current?.click(),
135
141
  removeFileFromState,
136
142
  });
@@ -138,7 +144,7 @@ const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', childre
138
144
  return child;
139
145
  })));
140
146
  };
141
- const Wrapper = styled.div `
147
+ const Wrapper = styledComponents.styled.div `
142
148
  box-sizing: border-box;
143
149
  width: ${({ $size }) => $size === 'large'
144
150
  ? '100%'
@@ -151,14 +157,14 @@ const Wrapper = styled.div `
151
157
  : $size === 'fit-content'
152
158
  ? '64px 16px'
153
159
  : 'initial'};
154
- background-color: ${({ $background }) => COLORS.includes($background)
160
+ background-color: ${({ $background }) => colors.COLORS.includes($background)
155
161
  ? `var(--color-${$background})`
156
162
  : $background};
157
163
  border: 2px dashed var(--color-${({ $borderColor }) => $borderColor});
158
164
  border-radius: ${({ $size }) => ($size === 'large' ? '16px' : '8px')};
159
165
  `;
160
- const Input = styled.input `
166
+ const Input = styledComponents.styled.input `
161
167
  display: none;
162
168
  `;
163
169
 
164
- export { Upload };
170
+ exports.Upload = Upload;
@@ -1,19 +1,26 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { Styles } from '../../../common/styles.js';
2
+ 'use strict';
5
3
 
6
- const Box = ({ $display = 'flex', sx, ...args }) => (React__default.createElement(Component, { "$display": $display, "$sx": sx, ...args }));
7
- const Component = styled.div `
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var styles = require('../../../common/styles.js');
7
+
8
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
+
12
+ const Box = ({ $display = 'flex', sx, ...args }) => (React__default.default.createElement(Component, { "$display": $display, "$sx": sx, ...args }));
13
+ const Component = styledComponents.styled.div `
8
14
  ${({ $display }) => ($display === 'flex' ? 'display: flex;' : '')}
9
- ${Styles.flex}
10
- ${Styles.backgroundColor}
11
- ${Styles.borderRadius}
12
- ${Styles.elevation}
13
- ${Styles.margin}
14
- ${Styles.padding}
15
- ${Styles.styleable}
15
+ ${styles.Styles.flex}
16
+ ${styles.Styles.backgroundColor}
17
+ ${styles.Styles.borderRadius}
18
+ ${styles.Styles.elevation}
19
+ ${styles.Styles.margin}
20
+ ${styles.Styles.padding}
21
+ ${styles.Styles.styleable}
16
22
  ${({ $sx }) => ($sx ? $sx : '')}
17
23
  `;
18
24
 
19
- export { Box, Component };
25
+ exports.Box = Box;
26
+ exports.Component = Component;
@@ -1,7 +1,13 @@
1
- import React__default from 'react';
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
2
8
 
3
9
  const HideButRender = ({ children, displaceContent = false, show = false, styles, }) => {
4
- return (React__default.createElement("div", { style: {
10
+ return (React__default.default.createElement("div", { style: {
5
11
  visibility: show ? 'visible' : 'hidden',
6
12
  position: displaceContent || show ? 'initial' : 'absolute',
7
13
  zIndex: show ? 'initial' : -100,
@@ -9,4 +15,4 @@ const HideButRender = ({ children, displaceContent = false, show = false, styles
9
15
  } }, children));
10
16
  };
11
17
 
12
- export { HideButRender };
18
+ exports.HideButRender = HideButRender;
@@ -1,30 +1,36 @@
1
- import React__default from 'react';
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
2
8
 
3
9
  const SecToDuration = ({ seconds }) => {
4
10
  if (seconds <= 0)
5
11
  throw new Error('Seconds cannot be less than 0');
6
12
  if (seconds === 1)
7
- return React__default.createElement(React__default.Fragment, null, "1 sec");
13
+ return React__default.default.createElement(React__default.default.Fragment, null, "1 sec");
8
14
  if (seconds < 60)
9
- return React__default.createElement(React__default.Fragment, null,
15
+ return React__default.default.createElement(React__default.default.Fragment, null,
10
16
  seconds,
11
17
  " secs");
12
18
  if (Math.round(seconds / 60) === 1)
13
- return React__default.createElement(React__default.Fragment, null, "1 min");
19
+ return React__default.default.createElement(React__default.default.Fragment, null, "1 min");
14
20
  if (seconds < 3600)
15
- return React__default.createElement(React__default.Fragment, null,
21
+ return React__default.default.createElement(React__default.default.Fragment, null,
16
22
  Math.round(seconds / 60),
17
23
  " mins");
18
24
  if (Math.round(seconds / 36) === 100)
19
- return React__default.createElement(React__default.Fragment, null, "1 hr");
25
+ return React__default.default.createElement(React__default.default.Fragment, null, "1 hr");
20
26
  const hours = Math.floor(seconds / 3600);
21
27
  const hourText = hours === 1 ? '1 hr' : `${hours} hrs`;
22
28
  const min = Math.round((seconds % 3600) / 60);
23
29
  const minText = min === 0 ? '' : min === 1 ? '1 min' : `${min} mins`;
24
- return (React__default.createElement(React__default.Fragment, null,
30
+ return (React__default.default.createElement(React__default.default.Fragment, null,
25
31
  hourText,
26
32
  " ",
27
33
  minText));
28
34
  };
29
35
 
30
- export { SecToDuration };
36
+ exports.SecToDuration = SecToDuration;
@@ -1,8 +1,14 @@
1
1
  "use client";
2
- import React__default from 'react';
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+
6
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
7
+
8
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
3
9
 
4
10
  const TimeAgo = ({ date }) => {
5
- return React__default.createElement(React__default.Fragment, null, abbrTimeBeforeDate(date));
11
+ return React__default.default.createElement(React__default.default.Fragment, null, abbrTimeBeforeDate(date));
6
12
  };
7
13
  const abbrTimeBeforeDate = (date) => {
8
14
  const now = new Date();
@@ -31,4 +37,4 @@ const abbrTimeBeforeDate = (date) => {
31
37
  }
32
38
  };
33
39
 
34
- export { TimeAgo };
40
+ exports.TimeAgo = TimeAgo;
@@ -1,13 +1,19 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { Typography } from './typography.js';
2
+ 'use strict';
5
3
 
6
- const Display = ({ as = 'h1', $fontSize = 64, $lineHeight = 96, $textAlign = 'left', ...rest }) => (React__default.createElement(StyledDisplay, { as: as || 'h1', "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, ...rest }));
7
- const StyledDisplay = styled(Typography) `
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var typography = require('./typography.js');
7
+
8
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
+
12
+ const Display = ({ as = 'h1', $fontSize = 64, $lineHeight = 96, $textAlign = 'left', ...rest }) => (React__default.default.createElement(StyledDisplay, { as: as || 'h1', "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, ...rest }));
13
+ const StyledDisplay = styledComponents.styled(typography.Typography) `
8
14
  font-size: ${({ $fontSize }) => $fontSize + 'px'};
9
15
  line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
10
16
  text-align: ${({ $textAlign }) => $textAlign || 'left'};
11
17
  `;
12
18
 
13
- export { Display };
19
+ exports.Display = Display;
@@ -1,38 +1,44 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { Typography } from './typography.js';
2
+ 'use strict';
5
3
 
6
- const StyledH = styled(Typography) `
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var typography = require('./typography.js');
7
+
8
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
+
12
+ const StyledH = styledComponents.styled(typography.Typography) `
7
13
  font-size: ${({ $fontSize }) => $fontSize + 'px'};
8
14
  line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
9
15
  text-align: ${({ $textAlign }) => $textAlign || 'left'};
10
16
  ${({ $sx }) => ($sx ? $sx : '')}
11
17
  `;
12
- const H = ({ sx, ...args }) => (React__default.createElement(StyledH, { "$sx": sx, ...args }));
13
- const One = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h1', "$fontSize": 48, "$lineHeight": 64, "$sx": sx, ...rest }));
18
+ const H = ({ sx, ...args }) => (React__default.default.createElement(StyledH, { "$sx": sx, ...args }));
19
+ const One = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h1', "$fontSize": 48, "$lineHeight": 64, "$sx": sx, ...rest }));
14
20
  One.displayName = 'H.One';
15
21
  H.One = One;
16
- const Two = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h2', "$fontSize": 40, "$lineHeight": 60, "$sx": sx, ...rest }));
22
+ const Two = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h2', "$fontSize": 40, "$lineHeight": 60, "$sx": sx, ...rest }));
17
23
  Two.displayName = 'H.Two';
18
24
  H.Two = Two;
19
- const Three = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h3', "$fontSize": 36, "$lineHeight": 54, "$sx": sx, ...rest }));
25
+ const Three = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h3', "$fontSize": 36, "$lineHeight": 54, "$sx": sx, ...rest }));
20
26
  Three.displayName = 'H.Three';
21
27
  H.Three = Three;
22
- const Four = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h4', "$fontSize": 32, "$lineHeight": 48, "$sx": sx, ...rest }));
28
+ const Four = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h4', "$fontSize": 32, "$lineHeight": 48, "$sx": sx, ...rest }));
23
29
  Four.displayName = 'H.Four';
24
30
  H.Four = Four;
25
- const Five = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h5', "$fontSize": 28, "$lineHeight": 36, "$sx": sx, ...rest }));
31
+ const Five = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h5', "$fontSize": 28, "$lineHeight": 36, "$sx": sx, ...rest }));
26
32
  Five.displayName = 'H.Five';
27
33
  H.Five = Five;
28
- const Six = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h6', "$fontSize": 24, "$lineHeight": 36, "$sx": sx, ...rest }));
34
+ const Six = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h6', "$fontSize": 24, "$lineHeight": 36, "$sx": sx, ...rest }));
29
35
  Six.displayName = 'H.Six';
30
36
  H.Six = Six;
31
- const Seven = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h6', "$fontSize": 20, "$lineHeight": 28, "$sx": sx, ...rest }));
37
+ const Seven = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h6', "$fontSize": 20, "$lineHeight": 28, "$sx": sx, ...rest }));
32
38
  Seven.displayName = 'H.Seven';
33
39
  H.Seven = Seven;
34
- const Eight = ({ sx, ...rest }) => (React__default.createElement(StyledH, { as: 'h6', "$fontSize": 18, "$lineHeight": 26, "$sx": sx, ...rest }));
40
+ const Eight = ({ sx, ...rest }) => (React__default.default.createElement(StyledH, { as: 'h6', "$fontSize": 18, "$lineHeight": 26, "$sx": sx, ...rest }));
35
41
  Eight.displayName = 'H.Eight';
36
42
  H.Eight = Eight;
37
43
 
38
- export { H };
44
+ exports.H = H;
@@ -1,21 +1,27 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import { styled } from 'styled-components';
4
- import { Styles } from '../../../common/styles.js';
2
+ 'use strict';
5
3
 
6
- const P = ({ as = 'p', children, $fontSize = 16, $lineHeight = 24, $textAlign = 'left', sx, ...rest }) => (React__default.createElement(StyledP, { as: as, "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, "$sx": sx, ...rest }, children));
7
- const StyledP = styled.p `
4
+ var React = require('react');
5
+ var styledComponents = require('styled-components');
6
+ var styles = require('../../../common/styles.js');
7
+
8
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
+
12
+ const P = ({ as = 'p', children, $fontSize = 16, $lineHeight = 24, $textAlign = 'left', sx, ...rest }) => (React__default.default.createElement(StyledP, { as: as, "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, "$sx": sx, ...rest }, children));
13
+ const StyledP = styledComponents.styled.p `
8
14
  margin: 0px;
9
15
  font-family: var(--font-inter);
10
16
  font-size: ${({ $fontSize }) => $fontSize + 'px'};
11
17
  line-height: ${({ $lineHeight }) => $lineHeight + 'px'};
12
18
  text-align: ${({ $textAlign }) => $textAlign || 'left'};
13
- ${Styles.color}
14
- ${Styles.weight}
15
- ${Styles.typography}
16
- ${Styles.styleable}
17
- ${({ $textClampLines }) => ($textClampLines ? Styles.textClamp : '')}
19
+ ${styles.Styles.color}
20
+ ${styles.Styles.weight}
21
+ ${styles.Styles.typography}
22
+ ${styles.Styles.styleable}
23
+ ${({ $textClampLines }) => ($textClampLines ? styles.Styles.textClamp : '')}
18
24
  ${({ $sx }) => ($sx ? $sx : '')}
19
25
  `;
20
26
 
21
- export { P };
27
+ exports.P = P;
@@ -1,15 +1,17 @@
1
1
  "use client";
2
- import { styled } from 'styled-components';
3
- import { Styles } from '../../../common/styles.js';
2
+ 'use strict';
4
3
 
5
- const Typography = styled.p `
4
+ var styledComponents = require('styled-components');
5
+ var styles = require('../../../common/styles.js');
6
+
7
+ const Typography = styledComponents.styled.p `
6
8
  margin: 0px;
7
9
  font-family: var(--font-inter);
8
- ${Styles.color}
9
- ${Styles.weight}
10
- ${Styles.typography}
11
- ${Styles.styleable}
12
- ${({ $textClampLines }) => ($textClampLines ? Styles.textClamp : '')}
10
+ ${styles.Styles.color}
11
+ ${styles.Styles.weight}
12
+ ${styles.Styles.typography}
13
+ ${styles.Styles.styleable}
14
+ ${({ $textClampLines }) => ($textClampLines ? styles.Styles.textClamp : '')}
13
15
  `;
14
16
 
15
- export { Typography };
17
+ exports.Typography = Typography;
@@ -1,29 +1,36 @@
1
1
  "use client";
2
- import React__default from 'react';
3
- import Image from 'next/image';
4
- import { styled } from 'styled-components';
5
- import { Box } from '../../atoms/box/box.js';
6
- import { H } from '../../atoms/typography/heading.js';
7
- import { P } from '../../atoms/typography/paragraph.js';
2
+ 'use strict';
3
+
4
+ var React = require('react');
5
+ var Image = require('next/image');
6
+ var styledComponents = require('styled-components');
7
+ var box = require('../../atoms/box/box.js');
8
+ var heading = require('../../atoms/typography/heading.js');
9
+ var paragraph = require('../../atoms/typography/paragraph.js');
10
+
11
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
+
13
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
+ var Image__default = /*#__PURE__*/_interopDefaultCompat(Image);
8
15
 
9
16
  const ActionCard = ({ actions, content, href, image, logo, subtitle, sx, title, }) => {
10
17
  const isAnchor = !!href;
11
- return (React__default.createElement(Wrapper, { as: isAnchor ? 'a' : 'div', href: href },
12
- React__default.createElement(Action, { "$backgroundImage": image, "$sx": sx },
13
- React__default.createElement(ImgWrapper, null,
14
- React__default.createElement(Image, { alt: "", quality: 100, src: image, fill: true })),
15
- React__default.createElement(Figcaption, null,
16
- React__default.createElement(LogoWrapper, null, logo),
17
- React__default.createElement(H, { as: "span", "$mediumBold": true, "$color": "grey-2", "$fontSize": 18, "$lineHeight": 26 }, title),
18
- React__default.createElement(P, { as: "span", "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle),
19
- React__default.createElement(P, { as: "span", "$color": "grey-3", "$fontSize": 14, "$lineHeight": 20, "$textAlign": "center", "$textClampLines": 3, sx: "margin-top: 12px;" }, content),
20
- React__default.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: auto; width: 100%;" }, React__default.Children.toArray(actions))))));
18
+ return (React__default.default.createElement(Wrapper, { as: isAnchor ? 'a' : 'div', href: href },
19
+ React__default.default.createElement(Action, { "$backgroundImage": image, "$sx": sx },
20
+ React__default.default.createElement(ImgWrapper, null,
21
+ React__default.default.createElement(Image__default.default, { alt: "", quality: 100, src: image, fill: true })),
22
+ React__default.default.createElement(Figcaption, null,
23
+ React__default.default.createElement(LogoWrapper, null, logo),
24
+ React__default.default.createElement(heading.H, { as: "span", "$mediumBold": true, "$color": "grey-2", "$fontSize": 18, "$lineHeight": 26 }, title),
25
+ React__default.default.createElement(paragraph.P, { as: "span", "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle),
26
+ React__default.default.createElement(paragraph.P, { as: "span", "$color": "grey-3", "$fontSize": 14, "$lineHeight": 20, "$textAlign": "center", "$textClampLines": 3, sx: "margin-top: 12px;" }, content),
27
+ React__default.default.createElement(box.Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: auto; width: 100%;" }, React__default.default.Children.toArray(actions))))));
21
28
  };
22
- const Wrapper = styled.div `
29
+ const Wrapper = styledComponents.styled.div `
23
30
  text-decoration: none;
24
31
  ${({ as }) => (as === 'a' ? 'cursor: pointer;' : '')}
25
32
  `;
26
- const Action = styled.figure `
33
+ const Action = styledComponents.styled.figure `
27
34
  position: relative;
28
35
  border-radius: 16px;
29
36
  width: 318px;
@@ -41,7 +48,7 @@ const Action = styled.figure `
41
48
 
42
49
  ${({ $sx }) => ($sx ? $sx : '')};
43
50
  `;
44
- const ImgWrapper = styled.div `
51
+ const ImgWrapper = styledComponents.styled.div `
45
52
  width: 318px;
46
53
  height: 160px;
47
54
  position: relative;
@@ -54,7 +61,7 @@ const ImgWrapper = styled.div `
54
61
  border-radius: 16px 16px 0 0;
55
62
  }
56
63
  `;
57
- const Figcaption = styled.figcaption `
64
+ const Figcaption = styledComponents.styled.figcaption `
58
65
  position: relative;
59
66
  display: flex;
60
67
  align-items: center;
@@ -66,7 +73,7 @@ const Figcaption = styled.figcaption `
66
73
  border-radius: 0px 0px 15px 15px;
67
74
  text-align: center;
68
75
  `;
69
- const LogoWrapper = styled.div `
76
+ const LogoWrapper = styledComponents.styled.div `
70
77
  position: absolute;
71
78
  top: -28px;
72
79
  right: calc(50% - 28px);
@@ -74,4 +81,4 @@ const LogoWrapper = styled.div `
74
81
  border-radius: 50%;
75
82
  `;
76
83
 
77
- export { ActionCard };
84
+ exports.ActionCard = ActionCard;