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

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 (649) hide show
  1. package/dist/components/actions/button/button.js +19 -14
  2. package/dist/components/actions/dropdown/dropdown.js +28 -24
  3. package/dist/components/actions/rate/rate.js +15 -11
  4. package/dist/components/actions/switch/switch.js +9 -5
  5. package/dist/components/actions/toggle/toggle.js +9 -5
  6. package/dist/components/actions/upload/upload.js +21 -17
  7. package/dist/components/atoms/box/box.js +5 -1
  8. package/dist/components/atoms/hide/hide.js +5 -1
  9. package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +10 -6
  10. package/dist/components/atoms/time_ago/time_ago.js +5 -1
  11. package/dist/components/atoms/typography/display.js +5 -1
  12. package/dist/components/atoms/typography/heading.js +13 -9
  13. package/dist/components/atoms/typography/paragraph.js +5 -1
  14. package/dist/components/card/action/action.js +15 -10
  15. package/dist/components/card/audio/audio.js +24 -19
  16. package/dist/components/card/card.js +13 -9
  17. package/dist/components/card/feature/feature.js +26 -21
  18. package/dist/components/card/meeting/meeting.js +34 -29
  19. package/dist/components/card/person/person.js +14 -9
  20. package/dist/components/card/price/price.js +24 -20
  21. package/dist/components/card/regular/regular.js +8 -3
  22. package/dist/components/card/video/video.js +24 -19
  23. package/dist/components/card/written/written.js +24 -19
  24. package/dist/components/custom/courses_selection/courses_selection.js +24 -19
  25. package/dist/components/custom/users_selection/users_selection.js +23 -18
  26. package/dist/components/editor/context.js +8 -4
  27. package/dist/components/editor/editor.js +9 -5
  28. package/dist/components/editor/icons/border-all.js +6 -2
  29. package/dist/components/editor/icons/border-bottom.js +6 -2
  30. package/dist/components/editor/icons/border-left.js +6 -2
  31. package/dist/components/editor/icons/border-none.js +6 -2
  32. package/dist/components/editor/icons/border-right.js +6 -2
  33. package/dist/components/editor/icons/border-top.js +6 -2
  34. package/dist/components/editor/navbar/alignment_dropdown.js +14 -10
  35. package/dist/components/editor/navbar/button_modal.js +34 -30
  36. package/dist/components/editor/navbar/navbar.js +76 -72
  37. package/dist/components/editor/navbar/style_dropdown.js +5 -1
  38. package/dist/components/editor/plugins/blocks/blockquote.js +8 -4
  39. package/dist/components/editor/plugins/blocks/buttons.js +10 -6
  40. package/dist/components/editor/plugins/blocks/dropdown-menu.js +4 -3
  41. package/dist/components/editor/plugins/blocks/image.js +21 -17
  42. package/dist/components/editor/plugins/blocks/list.js +7 -3
  43. package/dist/components/editor/plugins/blocks/media-popover.js +13 -9
  44. package/dist/components/editor/plugins/blocks/plate-button.js +3 -2
  45. package/dist/components/editor/plugins/blocks/popover.js +4 -3
  46. package/dist/components/editor/plugins/blocks/qa.js +16 -12
  47. package/dist/components/editor/plugins/blocks/resizable.js +5 -1
  48. package/dist/components/editor/plugins/blocks/separator.js +3 -2
  49. package/dist/components/editor/plugins/blocks/table-cell.js +13 -9
  50. package/dist/components/editor/plugins/blocks/table-row.js +6 -2
  51. package/dist/components/editor/plugins/blocks/table.js +46 -42
  52. package/dist/components/editor/plugins/blocks/text.js +32 -28
  53. package/dist/components/editor/plugins/blocks/video.js +9 -5
  54. package/dist/components/editor/plugins/leafs/link.js +23 -19
  55. package/dist/components/editor/simple_editor/navbar.js +49 -45
  56. package/dist/components/editor/simple_editor/simple_editor.js +9 -5
  57. package/dist/components/feedback/animated_toast/animated_toast.js +10 -6
  58. package/dist/components/feedback/badge/badge.js +7 -3
  59. package/dist/components/feedback/banner/banner.js +15 -11
  60. package/dist/components/feedback/chip/chip.js +7 -3
  61. package/dist/components/feedback/loader/loader.js +7 -2
  62. package/dist/components/feedback/notification/notification.js +14 -10
  63. package/dist/components/feedback/progress/progress.js +17 -13
  64. package/dist/components/feedback/toast/toast.js +14 -10
  65. package/dist/components/feedback/tooltip/tooltip.js +10 -6
  66. package/dist/components/iconography/avatar/avatar.js +23 -18
  67. package/dist/components/iconography/avatar/icons/approved.js +8 -4
  68. package/dist/components/iconography/avatar/icons/busy.js +8 -4
  69. package/dist/components/iconography/avatar/icons/declined.js +8 -4
  70. package/dist/components/iconography/avatar/icons/default.js +7 -3
  71. package/dist/components/iconography/avatar/icons/focus.js +8 -4
  72. package/dist/components/iconography/avatar/icons/locked.js +8 -4
  73. package/dist/components/iconography/avatar/icons/offline.js +8 -4
  74. package/dist/components/iconography/avatar/icons/online.js +7 -3
  75. package/dist/components/iconography/avatar/icons/subscribed.js +12 -8
  76. package/dist/components/iconography/icon/icon.js +5 -1
  77. package/dist/components/input/calendar/calendar.js +29 -25
  78. package/dist/components/input/checkbox/checkbox.js +5 -1
  79. package/dist/components/input/date/date.js +43 -39
  80. package/dist/components/input/filter/filter.js +49 -44
  81. package/dist/components/input/filter/filter_option.js +10 -6
  82. package/dist/components/input/radio/radio.js +10 -6
  83. package/dist/components/input/search/search.js +13 -9
  84. package/dist/components/input/select/select.js +8 -4
  85. package/dist/components/input/text_area/text_area.js +14 -10
  86. package/dist/components/input/text_input/text_input.js +16 -12
  87. package/dist/components/input/time/time.js +9 -5
  88. package/dist/components/media/video/video.js +9 -3
  89. package/dist/components/media/video-player/playlist-item.js +17 -12
  90. package/dist/components/media/video-player/video.js +37 -31
  91. package/dist/components/navigation/breadcrumb/breadcrumb.js +19 -14
  92. package/dist/components/navigation/inner/inner.js +30 -25
  93. package/dist/components/navigation/tabs/tabs.js +11 -6
  94. package/dist/components/surfaces/accordion/accordion.js +15 -11
  95. package/dist/components/surfaces/calendar_date/calendar_date.js +14 -10
  96. package/dist/components/surfaces/carousel/card/card.js +11 -7
  97. package/dist/components/surfaces/comment/comment.js +44 -39
  98. package/dist/components/surfaces/drawer/drawer.js +20 -16
  99. package/dist/components/surfaces/message/message.js +12 -8
  100. package/dist/components/surfaces/modal/modal.js +23 -19
  101. package/dist/components/surfaces/portal/portal.js +8 -3
  102. package/dist/components/surfaces/post/post.js +36 -30
  103. package/dist/components/table/table/table.js +14 -10
  104. package/dist/icons/arrow/arrow_all.js +6 -2
  105. package/dist/icons/arrow/arrow_all_diagonal.js +6 -2
  106. package/dist/icons/arrow/arrow_both_downwards.js +6 -2
  107. package/dist/icons/arrow/arrow_both_upwards.js +6 -2
  108. package/dist/icons/arrow/arrow_circle_left.js +6 -2
  109. package/dist/icons/arrow/arrow_circle_left_double.js +6 -2
  110. package/dist/icons/arrow/arrow_circle_left_double_alert.js +8 -4
  111. package/dist/icons/arrow/arrow_circle_right.js +6 -2
  112. package/dist/icons/arrow/arrow_circle_right_double.js +6 -2
  113. package/dist/icons/arrow/arrow_circle_right_double_alert.js +6 -2
  114. package/dist/icons/arrow/arrow_diagonal_down_left.js +6 -2
  115. package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +6 -2
  116. package/dist/icons/arrow/arrow_diagonal_down_right.js +6 -2
  117. package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +6 -2
  118. package/dist/icons/arrow/arrow_diagonal_up_left.js +6 -2
  119. package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +6 -2
  120. package/dist/icons/arrow/arrow_diagonal_up_right.js +6 -2
  121. package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +6 -2
  122. package/dist/icons/arrow/arrow_down.js +6 -2
  123. package/dist/icons/arrow/arrow_down_bold.js +6 -2
  124. package/dist/icons/arrow/arrow_down_circle.js +6 -2
  125. package/dist/icons/arrow/arrow_left.js +6 -2
  126. package/dist/icons/arrow/arrow_left_bold.js +6 -2
  127. package/dist/icons/arrow/arrow_left_circle.js +6 -2
  128. package/dist/icons/arrow/arrow_left_curved.js +6 -2
  129. package/dist/icons/arrow/arrow_left_curved_circle.js +6 -2
  130. package/dist/icons/arrow/arrow_right.js +6 -2
  131. package/dist/icons/arrow/arrow_right_bold.js +6 -2
  132. package/dist/icons/arrow/arrow_right_circle.js +6 -2
  133. package/dist/icons/arrow/arrow_right_curved.js +6 -2
  134. package/dist/icons/arrow/arrow_right_curved_circle.js +6 -2
  135. package/dist/icons/arrow/arrow_up.js +6 -2
  136. package/dist/icons/arrow/arrow_up_bold.js +6 -2
  137. package/dist/icons/arrow/arrow_up_circle.js +6 -2
  138. package/dist/icons/arrow/chevron_down.js +6 -2
  139. package/dist/icons/arrow/chevron_down_circle.js +6 -2
  140. package/dist/icons/arrow/chevron_down_double.js +6 -2
  141. package/dist/icons/arrow/chevron_down_double_circle.js +6 -2
  142. package/dist/icons/arrow/chevron_left.js +6 -2
  143. package/dist/icons/arrow/chevron_left_circle.js +6 -2
  144. package/dist/icons/arrow/chevron_left_double.js +6 -2
  145. package/dist/icons/arrow/chevron_left_double_circle.js +6 -2
  146. package/dist/icons/arrow/chevron_right.js +6 -2
  147. package/dist/icons/arrow/chevron_right_circle.js +6 -2
  148. package/dist/icons/arrow/chevron_right_double.js +6 -2
  149. package/dist/icons/arrow/chevron_right_double_circle.js +6 -2
  150. package/dist/icons/arrow/chevron_scroll.js +6 -2
  151. package/dist/icons/arrow/chevron_up.js +6 -2
  152. package/dist/icons/arrow/chevron_up_circle.js +6 -2
  153. package/dist/icons/arrow/chevron_up_double.js +6 -2
  154. package/dist/icons/arrow/chevron_up_double_circle.js +6 -2
  155. package/dist/icons/arrow/forward_all.js +6 -2
  156. package/dist/icons/arrow/forward_all_bold.js +6 -2
  157. package/dist/icons/arrow/forward_bold.js +6 -2
  158. package/dist/icons/arrow/redo.js +6 -2
  159. package/dist/icons/arrow/redo_bold.js +6 -2
  160. package/dist/icons/arrow/reply.js +6 -2
  161. package/dist/icons/arrow/reply_all.js +6 -2
  162. package/dist/icons/arrow/reply_all_bold.js +6 -2
  163. package/dist/icons/arrow/reply_bold.js +6 -2
  164. package/dist/icons/arrow/undo.js +6 -2
  165. package/dist/icons/arrow/undo_bold.js +6 -2
  166. package/dist/icons/audio_video/drag_indicator.js +6 -2
  167. package/dist/icons/audio_video/eject.js +6 -2
  168. package/dist/icons/audio_video/equalizer.js +6 -2
  169. package/dist/icons/audio_video/fast_forward.js +6 -2
  170. package/dist/icons/audio_video/fast_forward_30.js +6 -2
  171. package/dist/icons/audio_video/fullscreen.js +6 -2
  172. package/dist/icons/audio_video/headphones.js +6 -2
  173. package/dist/icons/audio_video/library_add.js +6 -2
  174. package/dist/icons/audio_video/library_music.js +6 -2
  175. package/dist/icons/audio_video/microphone.js +6 -2
  176. package/dist/icons/audio_video/musical_note.js +6 -2
  177. package/dist/icons/audio_video/next.js +6 -2
  178. package/dist/icons/audio_video/pause.js +6 -2
  179. package/dist/icons/audio_video/pause_circle.js +6 -2
  180. package/dist/icons/audio_video/play.js +6 -2
  181. package/dist/icons/audio_video/play_circle.js +6 -2
  182. package/dist/icons/audio_video/play_display.js +6 -2
  183. package/dist/icons/audio_video/play_pause.js +6 -2
  184. package/dist/icons/audio_video/play_solid.js +6 -2
  185. package/dist/icons/audio_video/player_list.js +6 -2
  186. package/dist/icons/audio_video/player_list_add.js +6 -2
  187. package/dist/icons/audio_video/player_list_play.js +6 -2
  188. package/dist/icons/audio_video/previous.js +6 -2
  189. package/dist/icons/audio_video/radio.js +6 -2
  190. package/dist/icons/audio_video/record.js +6 -2
  191. package/dist/icons/audio_video/repeat.js +6 -2
  192. package/dist/icons/audio_video/rewind.js +6 -2
  193. package/dist/icons/audio_video/rewind_30.js +6 -2
  194. package/dist/icons/audio_video/shuffle.js +6 -2
  195. package/dist/icons/audio_video/sound_wave.js +6 -2
  196. package/dist/icons/audio_video/stop.js +6 -2
  197. package/dist/icons/audio_video/stop_circle.js +6 -2
  198. package/dist/icons/audio_video/subscriptions.js +6 -2
  199. package/dist/icons/audio_video/tuner.js +6 -2
  200. package/dist/icons/audio_video/volume.js +6 -2
  201. package/dist/icons/audio_video/volume_high.js +6 -2
  202. package/dist/icons/audio_video/volume_low.js +6 -2
  203. package/dist/icons/audio_video/volume_slash.js +6 -2
  204. package/dist/icons/basic/aa_sansserif.js +7 -3
  205. package/dist/icons/basic/aa_serif.js +7 -3
  206. package/dist/icons/basic/anchor.js +8 -4
  207. package/dist/icons/basic/bible.js +6 -2
  208. package/dist/icons/basic/bold.js +6 -2
  209. package/dist/icons/basic/book.js +6 -2
  210. package/dist/icons/basic/book_open.js +6 -2
  211. package/dist/icons/basic/bookmark.js +6 -2
  212. package/dist/icons/basic/bookmark_add.js +6 -2
  213. package/dist/icons/basic/bookmark_slash.js +6 -2
  214. package/dist/icons/basic/bookmarks.js +6 -2
  215. package/dist/icons/basic/books.js +9 -5
  216. package/dist/icons/basic/box.js +6 -2
  217. package/dist/icons/basic/briefcase.js +6 -2
  218. package/dist/icons/basic/browse_activity.js +6 -2
  219. package/dist/icons/basic/browser.js +6 -2
  220. package/dist/icons/basic/browser_slash.js +6 -2
  221. package/dist/icons/basic/calculator.js +6 -2
  222. package/dist/icons/basic/camera.js +6 -2
  223. package/dist/icons/basic/camera_add.js +6 -2
  224. package/dist/icons/basic/camera_slash.js +6 -2
  225. package/dist/icons/basic/checkmark.js +6 -2
  226. package/dist/icons/basic/checkmark_circle.js +8 -4
  227. package/dist/icons/basic/checkmark_filled.js +6 -2
  228. package/dist/icons/basic/checkmarks.js +6 -2
  229. package/dist/icons/basic/circle.js +6 -2
  230. package/dist/icons/basic/circle_slash.js +8 -4
  231. package/dist/icons/basic/clear_text_style.js +6 -2
  232. package/dist/icons/basic/close.js +6 -2
  233. package/dist/icons/basic/close_circle.js +6 -2
  234. package/dist/icons/basic/close_filled.js +6 -2
  235. package/dist/icons/basic/copy.js +6 -2
  236. package/dist/icons/basic/delete.js +6 -2
  237. package/dist/icons/basic/detail.js +6 -2
  238. package/dist/icons/basic/dot.js +6 -2
  239. package/dist/icons/basic/download.js +6 -2
  240. package/dist/icons/basic/download_arrow.js +6 -2
  241. package/dist/icons/basic/droplet.js +8 -4
  242. package/dist/icons/basic/ellipsis_horizontal.js +6 -2
  243. package/dist/icons/basic/ellipsis_horizontal_circle.js +6 -2
  244. package/dist/icons/basic/ellipsis_vertical.js +6 -2
  245. package/dist/icons/basic/ellipsis_vertical_circle.js +6 -2
  246. package/dist/icons/basic/eye.js +6 -2
  247. package/dist/icons/basic/eye_slash.js +6 -2
  248. package/dist/icons/basic/fingerprint.js +6 -2
  249. package/dist/icons/basic/flag.js +6 -2
  250. package/dist/icons/basic/flag_wave.js +6 -2
  251. package/dist/icons/basic/flag_wave_filled.js +6 -2
  252. package/dist/icons/basic/flame.js +6 -2
  253. package/dist/icons/basic/gauge.js +6 -2
  254. package/dist/icons/basic/glasses.js +6 -2
  255. package/dist/icons/basic/graduation_cap.js +6 -2
  256. package/dist/icons/basic/hashmark.js +6 -2
  257. package/dist/icons/basic/heart.js +6 -2
  258. package/dist/icons/basic/heart_slash.js +6 -2
  259. package/dist/icons/basic/highlighter.js +6 -2
  260. package/dist/icons/basic/home.js +6 -2
  261. package/dist/icons/basic/image.js +6 -2
  262. package/dist/icons/basic/inbox.js +6 -2
  263. package/dist/icons/basic/italic.js +6 -2
  264. package/dist/icons/basic/layers.js +6 -2
  265. package/dist/icons/basic/lightening.js +6 -2
  266. package/dist/icons/basic/lightening_slash.js +6 -2
  267. package/dist/icons/basic/link.js +6 -2
  268. package/dist/icons/basic/link_slash.js +6 -2
  269. package/dist/icons/basic/loudspeaker.js +6 -2
  270. package/dist/icons/basic/maximize.js +6 -2
  271. package/dist/icons/basic/menu.js +6 -2
  272. package/dist/icons/basic/menu_circle.js +6 -2
  273. package/dist/icons/basic/menu_dots.js +6 -2
  274. package/dist/icons/basic/microphone_slash.js +6 -2
  275. package/dist/icons/basic/minimize.js +6 -2
  276. package/dist/icons/basic/minus.js +6 -2
  277. package/dist/icons/basic/minus_circle.js +6 -2
  278. package/dist/icons/basic/move_item.js +6 -2
  279. package/dist/icons/basic/new.js +6 -2
  280. package/dist/icons/basic/newspaper.js +6 -2
  281. package/dist/icons/basic/node.js +6 -2
  282. package/dist/icons/basic/note_pad.js +7 -3
  283. package/dist/icons/basic/options.js +6 -2
  284. package/dist/icons/basic/paint_brush.js +6 -2
  285. package/dist/icons/basic/paperclip.js +6 -2
  286. package/dist/icons/basic/paperclip_slash.js +6 -2
  287. package/dist/icons/basic/pencil.js +6 -2
  288. package/dist/icons/basic/pencil_pad.js +6 -2
  289. package/dist/icons/basic/plus.js +6 -2
  290. package/dist/icons/basic/plus_circle.js +6 -2
  291. package/dist/icons/basic/presentation.js +6 -2
  292. package/dist/icons/basic/printer.js +6 -2
  293. package/dist/icons/basic/profile.js +6 -2
  294. package/dist/icons/basic/profile_check.js +6 -2
  295. package/dist/icons/basic/pulse.js +6 -2
  296. package/dist/icons/basic/qr_code.js +6 -2
  297. package/dist/icons/basic/resize.js +8 -4
  298. package/dist/icons/basic/scan.js +6 -2
  299. package/dist/icons/basic/scissors.js +6 -2
  300. package/dist/icons/basic/screenshot.js +6 -2
  301. package/dist/icons/basic/search.js +6 -2
  302. package/dist/icons/basic/select_item.js +7 -3
  303. package/dist/icons/basic/settings.js +6 -2
  304. package/dist/icons/basic/share.js +6 -2
  305. package/dist/icons/basic/share_external.js +6 -2
  306. package/dist/icons/basic/square.js +6 -2
  307. package/dist/icons/basic/star.js +6 -2
  308. package/dist/icons/basic/star_circle.js +6 -2
  309. package/dist/icons/basic/star_filled.js +6 -2
  310. package/dist/icons/basic/star_filled_half.js +6 -2
  311. package/dist/icons/basic/star_slash.js +6 -2
  312. package/dist/icons/basic/sticker.js +6 -2
  313. package/dist/icons/basic/strikethrough.js +6 -2
  314. package/dist/icons/basic/subtask.js +7 -3
  315. package/dist/icons/basic/tax.js +9 -5
  316. package/dist/icons/basic/text_bg_color.js +6 -2
  317. package/dist/icons/basic/text_color.js +6 -2
  318. package/dist/icons/basic/textbox.js +6 -2
  319. package/dist/icons/basic/thumbs_down.js +6 -2
  320. package/dist/icons/basic/thumbs_up.js +6 -2
  321. package/dist/icons/basic/thumbs_up_filled.js +6 -2
  322. package/dist/icons/basic/toggle_left.js +6 -2
  323. package/dist/icons/basic/toggle_right.js +6 -2
  324. package/dist/icons/basic/translate.js +6 -2
  325. package/dist/icons/basic/trash.js +6 -2
  326. package/dist/icons/basic/trash_slash.js +6 -2
  327. package/dist/icons/basic/underline.js +6 -2
  328. package/dist/icons/basic/upload.js +6 -2
  329. package/dist/icons/basic/video.js +6 -2
  330. package/dist/icons/basic/video_add.js +7 -3
  331. package/dist/icons/basic/video_slash.js +6 -2
  332. package/dist/icons/basic/wrench.js +6 -2
  333. package/dist/icons/basic/zoom_in.js +6 -2
  334. package/dist/icons/basic/zoom_out.js +6 -2
  335. package/dist/icons/data/bar_chart.js +6 -2
  336. package/dist/icons/data/bar_chart_downward.js +6 -2
  337. package/dist/icons/data/bar_chart_downward_outline.js +6 -2
  338. package/dist/icons/data/bar_chart_upward.js +6 -2
  339. package/dist/icons/data/bar_chart_upward_outline.js +6 -2
  340. package/dist/icons/data/candlestick_chart.js +6 -2
  341. package/dist/icons/data/four_circles.js +6 -2
  342. package/dist/icons/data/legend_toggle.js +6 -2
  343. package/dist/icons/data/line_chart.js +6 -2
  344. package/dist/icons/data/line_chart_area.js +6 -2
  345. package/dist/icons/data/line_chart_area_shaded.js +6 -2
  346. package/dist/icons/data/line_chart_double.js +6 -2
  347. package/dist/icons/data/line_chart_downward.js +6 -2
  348. package/dist/icons/data/line_chart_node.js +6 -2
  349. package/dist/icons/data/line_chart_outline.js +6 -2
  350. package/dist/icons/data/line_chart_search.js +6 -2
  351. package/dist/icons/data/line_chart_stars.js +6 -2
  352. package/dist/icons/data/line_chart_upward.js +6 -2
  353. package/dist/icons/data/pie_chart.js +7 -3
  354. package/dist/icons/data/tree.js +6 -2
  355. package/dist/icons/email/mail.js +6 -2
  356. package/dist/icons/email/mail_check.js +6 -2
  357. package/dist/icons/email/mail_minus.js +6 -2
  358. package/dist/icons/email/mail_send.js +6 -2
  359. package/dist/icons/email/send.js +6 -2
  360. package/dist/icons/email/send_close.js +6 -2
  361. package/dist/icons/email/send_schedule.js +6 -2
  362. package/dist/icons/email/send_text.js +6 -2
  363. package/dist/icons/emoji/emoji_add.js +6 -2
  364. package/dist/icons/emoji/laughing.js +6 -2
  365. package/dist/icons/emoji/neutral.js +6 -2
  366. package/dist/icons/emoji/sad.js +6 -2
  367. package/dist/icons/emoji/shocked.js +6 -2
  368. package/dist/icons/emoji/smile.js +6 -2
  369. package/dist/icons/file/clipboard.js +6 -2
  370. package/dist/icons/file/clipboard_check.js +6 -2
  371. package/dist/icons/file/clipboard_close.js +6 -2
  372. package/dist/icons/file/clipboard_minus.js +6 -2
  373. package/dist/icons/file/clipboard_plus.js +6 -2
  374. package/dist/icons/file/clipboard_text.js +6 -2
  375. package/dist/icons/file/file.js +6 -2
  376. package/dist/icons/file/file_add.js +6 -2
  377. package/dist/icons/file/file_check.js +6 -2
  378. package/dist/icons/file/file_close.js +6 -2
  379. package/dist/icons/file/file_code.js +6 -2
  380. package/dist/icons/file/file_download.js +6 -2
  381. package/dist/icons/file/file_draft.js +6 -2
  382. package/dist/icons/file/file_gear.js +7 -3
  383. package/dist/icons/file/file_minus.js +6 -2
  384. package/dist/icons/file/file_plus.js +6 -2
  385. package/dist/icons/file/file_scan.js +6 -2
  386. package/dist/icons/file/file_shred.js +6 -2
  387. package/dist/icons/file/file_text.js +6 -2
  388. package/dist/icons/file/file_upload.js +6 -2
  389. package/dist/icons/file/folder.js +6 -2
  390. package/dist/icons/file/folder_add.js +6 -2
  391. package/dist/icons/file/folder_arrow.js +6 -2
  392. package/dist/icons/file/folder_check.js +6 -2
  393. package/dist/icons/file/folder_close.js +6 -2
  394. package/dist/icons/file/folder_cloud.js +6 -2
  395. package/dist/icons/file/folder_gear.js +7 -3
  396. package/dist/icons/file/folder_minus.js +6 -2
  397. package/dist/icons/file/folder_music.js +6 -2
  398. package/dist/icons/file/folder_open.js +6 -2
  399. package/dist/icons/file/folder_plus.js +6 -2
  400. package/dist/icons/file/folder_zip.js +6 -2
  401. package/dist/icons/file/note.js +6 -2
  402. package/dist/icons/file/note_text.js +6 -2
  403. package/dist/icons/file/pdf.js +6 -2
  404. package/dist/icons/file/photo.js +6 -2
  405. package/dist/icons/finance/bitcoin.js +6 -2
  406. package/dist/icons/finance/coins.js +10 -6
  407. package/dist/icons/finance/credit_card.js +6 -2
  408. package/dist/icons/finance/credit_card_add.js +6 -2
  409. package/dist/icons/finance/credit_card_face.js +6 -2
  410. package/dist/icons/finance/credit_card_member.js +6 -2
  411. package/dist/icons/finance/credit_card_outcome.js +6 -2
  412. package/dist/icons/finance/credit_card_scan.js +6 -2
  413. package/dist/icons/finance/credit_card_share.js +6 -2
  414. package/dist/icons/finance/credit_card_slash.js +6 -2
  415. package/dist/icons/finance/currency_exchange.js +6 -2
  416. package/dist/icons/finance/dollar.js +6 -2
  417. package/dist/icons/finance/ethereum.js +6 -2
  418. package/dist/icons/finance/paypass.js +6 -2
  419. package/dist/icons/finance/strongbox.js +6 -2
  420. package/dist/icons/finance/wallet.js +6 -2
  421. package/dist/icons/layout/block_align_bottom.js +6 -2
  422. package/dist/icons/layout/block_align_center.js +6 -2
  423. package/dist/icons/layout/block_align_left.js +6 -2
  424. package/dist/icons/layout/block_align_middle.js +6 -2
  425. package/dist/icons/layout/block_align_right.js +6 -2
  426. package/dist/icons/layout/block_align_top.js +6 -2
  427. package/dist/icons/layout/block_horizontal.js +6 -2
  428. package/dist/icons/layout/block_vertical.js +6 -2
  429. package/dist/icons/layout/edit_shape.js +6 -2
  430. package/dist/icons/layout/elements.js +6 -2
  431. package/dist/icons/layout/elements_add.js +6 -2
  432. package/dist/icons/layout/elements_filled.js +6 -2
  433. package/dist/icons/layout/elements_masonry.js +6 -2
  434. package/dist/icons/layout/frame.js +6 -2
  435. package/dist/icons/layout/frame_stack.js +6 -2
  436. package/dist/icons/layout/grid.js +6 -2
  437. package/dist/icons/layout/grid_column_three.js +6 -2
  438. package/dist/icons/layout/grid_column_two.js +6 -2
  439. package/dist/icons/layout/grid_dynamic.js +6 -2
  440. package/dist/icons/layout/grid_frame.js +6 -2
  441. package/dist/icons/layout/grid_row_three.js +6 -2
  442. package/dist/icons/layout/grid_row_two.js +6 -2
  443. package/dist/icons/layout/grid_six.js +6 -2
  444. package/dist/icons/layout/grid_small.js +6 -2
  445. package/dist/icons/layout/iframe.js +6 -2
  446. package/dist/icons/layout/kanban.js +6 -2
  447. package/dist/icons/layout/layout.js +6 -2
  448. package/dist/icons/layout/list.js +6 -2
  449. package/dist/icons/layout/list_filled.js +11 -7
  450. package/dist/icons/layout/padding.js +6 -2
  451. package/dist/icons/layout/page_break.js +6 -2
  452. package/dist/icons/layout/rotate_left.js +6 -2
  453. package/dist/icons/layout/rotate_right.js +6 -2
  454. package/dist/icons/layout/ruler.js +6 -2
  455. package/dist/icons/layout/segment.js +6 -2
  456. package/dist/icons/layout/select_area.js +6 -2
  457. package/dist/icons/layout/select_boundary.js +6 -2
  458. package/dist/icons/layout/sidebar_left.js +6 -2
  459. package/dist/icons/layout/sidebar_right.js +6 -2
  460. package/dist/icons/layout/slides.js +6 -2
  461. package/dist/icons/layout/slides_horizontal.js +6 -2
  462. package/dist/icons/layout/slides_vertical.js +11 -7
  463. package/dist/icons/layout/stack.js +6 -2
  464. package/dist/icons/layout/text.js +6 -2
  465. package/dist/icons/maps/atlas.js +6 -2
  466. package/dist/icons/maps/compass.js +6 -2
  467. package/dist/icons/maps/direction.js +6 -2
  468. package/dist/icons/maps/direction_angled.js +6 -2
  469. package/dist/icons/maps/globe.js +6 -2
  470. package/dist/icons/maps/globe_slash.js +6 -2
  471. package/dist/icons/maps/location.js +6 -2
  472. package/dist/icons/maps/location_slash.js +6 -2
  473. package/dist/icons/maps/map.js +6 -2
  474. package/dist/icons/maps/marker.js +6 -2
  475. package/dist/icons/maps/panorama.js +6 -2
  476. package/dist/icons/maps/pin.js +6 -2
  477. package/dist/icons/maps/pin_arrow.js +6 -2
  478. package/dist/icons/maps/pin_location.js +6 -2
  479. package/dist/icons/maps/pin_plus.js +6 -2
  480. package/dist/icons/maps/pin_question.js +6 -2
  481. package/dist/icons/maps/pin_slash.js +6 -2
  482. package/dist/icons/maps/push_pin.js +6 -2
  483. package/dist/icons/maps/push_pin_filled.js +6 -2
  484. package/dist/icons/maps/push_pin_slash.js +6 -2
  485. package/dist/icons/maps/radar.js +6 -2
  486. package/dist/icons/maps/route.js +6 -2
  487. package/dist/icons/message/bubble.js +6 -2
  488. package/dist/icons/message/bubble_question.js +6 -2
  489. package/dist/icons/message/comment.js +6 -2
  490. package/dist/icons/message/comment_add.js +6 -2
  491. package/dist/icons/message/comment_check.js +6 -2
  492. package/dist/icons/message/comment_close.js +6 -2
  493. package/dist/icons/message/comment_minus.js +6 -2
  494. package/dist/icons/message/comment_text.js +6 -2
  495. package/dist/icons/misc/advertisement.js +6 -2
  496. package/dist/icons/misc/atom.js +6 -2
  497. package/dist/icons/misc/bone.js +6 -2
  498. package/dist/icons/misc/brightness_high.js +6 -2
  499. package/dist/icons/misc/brightness_low.js +6 -2
  500. package/dist/icons/misc/contrast.js +6 -2
  501. package/dist/icons/misc/crosshairs.js +6 -2
  502. package/dist/icons/misc/crown.js +6 -2
  503. package/dist/icons/misc/footprint.js +6 -2
  504. package/dist/icons/misc/form.js +6 -2
  505. package/dist/icons/misc/funnel.js +6 -2
  506. package/dist/icons/misc/infinite.js +6 -2
  507. package/dist/icons/misc/insert_button.js +6 -2
  508. package/dist/icons/misc/light_bulb.js +6 -2
  509. package/dist/icons/misc/moon.js +6 -2
  510. package/dist/icons/misc/nut.js +6 -2
  511. package/dist/icons/misc/planet.js +6 -2
  512. package/dist/icons/misc/plus_thick.js +6 -2
  513. package/dist/icons/misc/pocket.js +6 -2
  514. package/dist/icons/misc/rocket.js +6 -2
  515. package/dist/icons/misc/soup.js +10 -6
  516. package/dist/icons/misc/sun.js +6 -2
  517. package/dist/icons/misc/toy_horse.js +6 -2
  518. package/dist/icons/misc/trophy.js +6 -2
  519. package/dist/icons/misc/watercloset.js +6 -2
  520. package/dist/icons/notifications/alert_circle.js +6 -2
  521. package/dist/icons/notifications/alert_octogon.js +6 -2
  522. package/dist/icons/notifications/alert_triangle.js +6 -2
  523. package/dist/icons/notifications/app_notification.js +6 -2
  524. package/dist/icons/notifications/bell.js +6 -2
  525. package/dist/icons/notifications/bell_alert.js +6 -2
  526. package/dist/icons/notifications/bell_checkmark.js +6 -2
  527. package/dist/icons/notifications/bell_minus.js +6 -2
  528. package/dist/icons/notifications/bell_plus.js +6 -2
  529. package/dist/icons/notifications/bell_ring.js +8 -4
  530. package/dist/icons/notifications/bell_slash.js +6 -2
  531. package/dist/icons/notifications/information.js +6 -2
  532. package/dist/icons/notifications/minus_octogon.js +6 -2
  533. package/dist/icons/notifications/question_circle.js +6 -2
  534. package/dist/icons/people/group.js +6 -2
  535. package/dist/icons/people/group_add.js +6 -2
  536. package/dist/icons/people/group_chat.js +8 -4
  537. package/dist/icons/people/group_remove.js +6 -2
  538. package/dist/icons/people/group_send.js +7 -3
  539. package/dist/icons/people/groups.js +6 -2
  540. package/dist/icons/people/person.js +6 -2
  541. package/dist/icons/people/person_add.js +6 -2
  542. package/dist/icons/people/person_checkmark.js +6 -2
  543. package/dist/icons/people/person_circle.js +8 -4
  544. package/dist/icons/people/person_close.js +8 -4
  545. package/dist/icons/people/person_remove.js +6 -2
  546. package/dist/icons/people/person_slash.js +8 -4
  547. package/dist/icons/phone/keypad.js +6 -2
  548. package/dist/icons/phone/phone.js +6 -2
  549. package/dist/icons/phone/phone_add.js +6 -2
  550. package/dist/icons/phone/phone_calling.js +6 -2
  551. package/dist/icons/phone/phone_check.js +6 -2
  552. package/dist/icons/phone/phone_close.js +6 -2
  553. package/dist/icons/phone/phone_decline.js +6 -2
  554. package/dist/icons/phone/phone_forwarded.js +6 -2
  555. package/dist/icons/phone/phone_hash.js +6 -2
  556. package/dist/icons/phone/phone_incoming.js +6 -2
  557. package/dist/icons/phone/phone_outgoing.js +6 -2
  558. package/dist/icons/phone/phone_pause.js +6 -2
  559. package/dist/icons/phone/phone_slash.js +6 -2
  560. package/dist/icons/phone/voicemail.js +6 -2
  561. package/dist/icons/security/key.js +6 -2
  562. package/dist/icons/security/key_slash.js +6 -2
  563. package/dist/icons/security/lock.js +6 -2
  564. package/dist/icons/security/lock_circle.js +6 -2
  565. package/dist/icons/security/lock_open.js +6 -2
  566. package/dist/icons/security/lock_slash.js +6 -2
  567. package/dist/icons/security/shield.js +6 -2
  568. package/dist/icons/security/shield_checkmark.js +6 -2
  569. package/dist/icons/security/shield_lock.js +6 -2
  570. package/dist/icons/security/shield_slash.js +6 -2
  571. package/dist/icons/security/verified.js +6 -2
  572. package/dist/icons/shopping/basket.js +6 -2
  573. package/dist/icons/shopping/cart.js +6 -2
  574. package/dist/icons/shopping/cart_filled.js +6 -2
  575. package/dist/icons/shopping/coupon.js +6 -2
  576. package/dist/icons/shopping/coupon_cut.js +6 -2
  577. package/dist/icons/shopping/delivery.js +6 -2
  578. package/dist/icons/shopping/discount.js +6 -2
  579. package/dist/icons/shopping/gift.js +6 -2
  580. package/dist/icons/shopping/gift_bag.js +6 -2
  581. package/dist/icons/shopping/inventory.js +6 -2
  582. package/dist/icons/shopping/point_of_sale.js +6 -2
  583. package/dist/icons/shopping/shirt.js +6 -2
  584. package/dist/icons/shopping/tag.js +6 -2
  585. package/dist/icons/shopping/tag_diagonal.js +6 -2
  586. package/dist/icons/shopping/tote.js +6 -2
  587. package/dist/icons/special/upload_audio.js +11 -7
  588. package/dist/icons/special/upload_file.js +6 -2
  589. package/dist/icons/special/upload_image.js +8 -4
  590. package/dist/icons/special/upload_video.js +9 -5
  591. package/dist/icons/symbols/at.js +6 -2
  592. package/dist/icons/symbols/cc.js +6 -2
  593. package/dist/icons/symbols/cmd.js +6 -2
  594. package/dist/icons/symbols/facebook.js +6 -2
  595. package/dist/icons/symbols/google.js +9 -5
  596. package/dist/icons/symbols/hash.js +6 -2
  597. package/dist/icons/symbols/instagram.js +18 -14
  598. package/dist/icons/symbols/messenger.js +12 -8
  599. package/dist/icons/symbols/twitter.js +6 -2
  600. package/dist/icons/technology/battery.js +6 -2
  601. package/dist/icons/technology/battery_100.js +6 -2
  602. package/dist/icons/technology/battery_20.js +6 -2
  603. package/dist/icons/technology/battery_40.js +6 -2
  604. package/dist/icons/technology/battery_60.js +6 -2
  605. package/dist/icons/technology/battery_80.js +6 -2
  606. package/dist/icons/technology/battery_charging.js +6 -2
  607. package/dist/icons/technology/battery_slash.js +6 -2
  608. package/dist/icons/technology/devices.js +6 -2
  609. package/dist/icons/technology/floppy_disk.js +6 -2
  610. package/dist/icons/technology/iphone.js +6 -2
  611. package/dist/icons/technology/laptop.js +6 -2
  612. package/dist/icons/technology/mobile.js +6 -2
  613. package/dist/icons/technology/monitor.js +6 -2
  614. package/dist/icons/technology/server.js +6 -2
  615. package/dist/icons/technology/sim_card.js +6 -2
  616. package/dist/icons/technology/usb_stick.js +6 -2
  617. package/dist/icons/text/align_center.js +6 -2
  618. package/dist/icons/text/align_justified.js +6 -2
  619. package/dist/icons/text/align_left.js +6 -2
  620. package/dist/icons/text/align_right.js +6 -2
  621. package/dist/icons/text/code_block.js +6 -2
  622. package/dist/icons/text/divider.js +6 -2
  623. package/dist/icons/text/footnote.js +8 -4
  624. package/dist/icons/text/indent_decrease.js +6 -2
  625. package/dist/icons/text/indent_increase.js +6 -2
  626. package/dist/icons/text/list_ordered.js +6 -2
  627. package/dist/icons/text/list_unordered.js +6 -2
  628. package/dist/icons/text/quote.js +6 -2
  629. package/dist/icons/text/table.js +6 -2
  630. package/dist/icons/time/alarm.js +6 -2
  631. package/dist/icons/time/alarm_checkmark.js +6 -2
  632. package/dist/icons/time/alarm_minus.js +6 -2
  633. package/dist/icons/time/alarm_plus.js +6 -2
  634. package/dist/icons/time/alarm_slash.js +6 -2
  635. package/dist/icons/time/alarm_snooze.js +6 -2
  636. package/dist/icons/time/calendar.js +6 -2
  637. package/dist/icons/time/calendar_add.js +6 -2
  638. package/dist/icons/time/calendar_checkmark.js +6 -2
  639. package/dist/icons/time/calendar_close.js +6 -2
  640. package/dist/icons/time/calendar_dates.js +6 -2
  641. package/dist/icons/time/calendar_minus.js +6 -2
  642. package/dist/icons/time/calendar_plus.js +6 -2
  643. package/dist/icons/time/calendar_scroll.js +8 -4
  644. package/dist/icons/time/clock.js +6 -2
  645. package/dist/icons/time/clock_history.js +6 -2
  646. package/dist/icons/time/stopwatch.js +6 -2
  647. package/dist/icons/time/timer.js +6 -2
  648. package/dist/icons/time/watch.js +6 -2
  649. package/package.json +1 -1
@@ -5,6 +5,11 @@ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  var colors = require('../../../common/colors.js');
7
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
+ var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
12
+
8
13
  const Loader = ({ color = 'grey-1', inline, size = 16, sx, }) => {
9
14
  let borderWidth = 3;
10
15
  if (size > 96)
@@ -13,13 +18,13 @@ const Loader = ({ color = 'grey-1', inline, size = 16, sx, }) => {
13
18
  borderWidth = 5;
14
19
  else if (size > 23)
15
20
  borderWidth = 4;
16
- return (React.createElement(Component, { "$borderWidth": borderWidth, "$color": color, "$inline": !!inline, "$size": size, "$sx": sx }));
21
+ return (React__default.default.createElement(Component, { "$borderWidth": borderWidth, "$color": color, "$inline": !!inline, "$size": size, "$sx": sx }));
17
22
  };
18
23
  const spin = styled.keyframes `
19
24
  0% { transform: rotate(0deg); }
20
25
  100% { transform: rotate(360deg); }
21
26
  `;
22
- const Component = styled.div `
27
+ const Component = styled__default.default.div `
23
28
  border: 2px solid transparent;
24
29
  border-radius: 50%;
25
30
  animation: ${spin} 0.8s linear infinite;
@@ -13,20 +13,24 @@ var alert_triangle = require('../../../icons/notifications/alert_triangle.js');
13
13
  var close = require('../../../icons/basic/close.js');
14
14
  var information = require('../../../icons/notifications/information.js');
15
15
 
16
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
17
+
18
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
19
+
16
20
  const Notification = ({ content, href, onClose, sx, title, type, }) => {
17
21
  const iconLookup = {
18
- error: React.createElement(alert_octogon.AlertOctogon, { size: 24 }),
19
- info: React.createElement(information.Information, { size: 24 }),
20
- success: React.createElement(alert_circle.AlertCircle, { size: 24 }),
21
- warning: React.createElement(alert_triangle.AlertTriangle, { size: 24 }),
22
+ error: React__default.default.createElement(alert_octogon.AlertOctogon, { size: 24 }),
23
+ info: React__default.default.createElement(information.Information, { size: 24 }),
24
+ success: React__default.default.createElement(alert_circle.AlertCircle, { size: 24 }),
25
+ warning: React__default.default.createElement(alert_triangle.AlertTriangle, { size: 24 }),
22
26
  };
23
- return (React.createElement(Wrapper, { as: href ? 'a' : 'output', href: href, "$dir": "column", "$gap": 8, "$sx": sx, "$type": type },
24
- React.createElement(box.Box, { "$dir": "row", "$gap": 8, "$flex": 1 },
27
+ return (React__default.default.createElement(Wrapper, { as: href ? 'a' : 'output', href: href, "$dir": "column", "$gap": 8, "$sx": sx, "$type": type },
28
+ React__default.default.createElement(box.Box, { "$dir": "row", "$gap": 8, "$flex": 1 },
25
29
  iconLookup[type],
26
- React.createElement(paragraph.P, { as: "span", "$semiBold": true }, title),
27
- onClose && (React.createElement(button.Button, { icon: React.createElement(close.Close, { size: 24 }), onClick: onClose, sx: "margin-left: auto;", type: "special" }))),
28
- React.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 4 },
29
- React.createElement(paragraph.P, { as: "span", sx: "padding-left: 32px;" }, content))));
30
+ React__default.default.createElement(paragraph.P, { as: "span", "$semiBold": true }, title),
31
+ onClose && (React__default.default.createElement(button.Button, { icon: React__default.default.createElement(close.Close, { size: 24 }), onClick: onClose, sx: "margin-left: auto;", type: "special" }))),
32
+ React__default.default.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 4 },
33
+ React__default.default.createElement(paragraph.P, { as: "span", sx: "padding-left: 32px;" }, content))));
30
34
  };
31
35
  const Wrapper = styled.styled.output `
32
36
  text-decoration: none;
@@ -12,6 +12,10 @@ var close = require('../../../icons/basic/close.js');
12
12
  var minus_circle = require('../../../icons/basic/minus_circle.js');
13
13
  var pause = require('../../../icons/audio_video/pause.js');
14
14
 
15
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
+
17
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
+
15
19
  const Progress = ({ hasError, progress, subtitle, sx, title, type, }) => {
16
20
  const isComplete = !hasError && progress > 99;
17
21
  const isDetailed = type === 'detailed';
@@ -38,19 +42,19 @@ const Progress = ({ hasError, progress, subtitle, sx, title, type, }) => {
38
42
  empty: 'var(--color-primary-blue-3)',
39
43
  bg: 'var(--color-primary-blue-4)',
40
44
  };
41
- const icon = hasError ? (React.createElement(close.Close, { size: 24, color: color })) : isComplete ? (React.createElement(checkmarks.Checkmarks, { size: 24, color: color })) : (React.createElement(pause.Pause, { size: 24, color: color }));
42
- return (React.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 16, sx: sx },
43
- isDetailed && (React.createElement(IconWrapper, { "$completedDegree": Math.round(percent * 3.6), "$gradientColors": gradientColors },
44
- React.createElement(IconInnerWrapper, { "$bg": gradientColors.bg }, icon))),
45
- React.createElement(box.Box, { "$dir": "column", "$flex": 1, "$gap": 8 },
46
- React.createElement(box.Box, null,
47
- title && (React.createElement(paragraph.P, { "$color": "grey-2", "$fontSize": 14, "$lineHeight": 20 }, title)),
48
- isComplete && (React.createElement(checkmark_circle.CheckmarkCircle, { color: "green-3", size: 24, sx: "margin-left: auto;" })),
49
- hasError && (React.createElement(minus_circle.MinusCircle, { color: "red-4", size: 24, sx: "margin-left: auto;" }))),
50
- React.createElement(BarWrapper, null,
51
- React.createElement(Bar, { "$color": colors.colorReference[color], "$percent": percent })),
52
- subtitle && (React.createElement(paragraph.P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle))),
53
- isDetailed && (React.createElement(paragraph.P, { "$color": "grey-4", "$textAlign": "center", sx: "width: 72px;" }, displayPercent))));
45
+ const icon = hasError ? (React__default.default.createElement(close.Close, { size: 24, color: color })) : isComplete ? (React__default.default.createElement(checkmarks.Checkmarks, { size: 24, color: color })) : (React__default.default.createElement(pause.Pause, { size: 24, color: color }));
46
+ return (React__default.default.createElement(box.Box, { "$align": "center", "$dir": "row", "$gap": 16, sx: sx },
47
+ isDetailed && (React__default.default.createElement(IconWrapper, { "$completedDegree": Math.round(percent * 3.6), "$gradientColors": gradientColors },
48
+ React__default.default.createElement(IconInnerWrapper, { "$bg": gradientColors.bg }, icon))),
49
+ React__default.default.createElement(box.Box, { "$dir": "column", "$flex": 1, "$gap": 8 },
50
+ React__default.default.createElement(box.Box, null,
51
+ title && (React__default.default.createElement(paragraph.P, { "$color": "grey-2", "$fontSize": 14, "$lineHeight": 20 }, title)),
52
+ isComplete && (React__default.default.createElement(checkmark_circle.CheckmarkCircle, { color: "green-3", size: 24, sx: "margin-left: auto;" })),
53
+ hasError && (React__default.default.createElement(minus_circle.MinusCircle, { color: "red-4", size: 24, sx: "margin-left: auto;" }))),
54
+ React__default.default.createElement(BarWrapper, null,
55
+ React__default.default.createElement(Bar, { "$color": colors.colorReference[color], "$percent": percent })),
56
+ subtitle && (React__default.default.createElement(paragraph.P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle))),
57
+ isDetailed && (React__default.default.createElement(paragraph.P, { "$color": "grey-4", "$textAlign": "center", sx: "width: 72px;" }, displayPercent))));
54
58
  };
55
59
  const BarWrapper = styled.styled.div `
56
60
  position: relative;
@@ -12,20 +12,24 @@ var alert_triangle = require('../../../icons/notifications/alert_triangle.js');
12
12
  var close = require('../../../icons/basic/close.js');
13
13
  var information = require('../../../icons/notifications/information.js');
14
14
 
15
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
16
+
17
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
+
15
19
  const Toast = ({ content, href, onClose, type, isAnimated = false, animationDuration, }) => {
16
20
  const iconLookup = {
17
- error: React.createElement(alert_octogon.AlertOctogon, { size: 24 }),
18
- info: React.createElement(information.Information, { size: 24 }),
19
- success: React.createElement(alert_circle.AlertCircle, { size: 24 }),
20
- warning: React.createElement(alert_triangle.AlertTriangle, { size: 24 }),
21
+ error: React__default.default.createElement(alert_octogon.AlertOctogon, { size: 24 }),
22
+ info: React__default.default.createElement(information.Information, { size: 24 }),
23
+ success: React__default.default.createElement(alert_circle.AlertCircle, { size: 24 }),
24
+ warning: React__default.default.createElement(alert_triangle.AlertTriangle, { size: 24 }),
21
25
  };
22
- return (React.createElement(Wrapper, { as: "output", "$align": "center", "$dir": "row", "$gap": 8, "$type": type, "$isAnimated": isAnimated },
26
+ return (React__default.default.createElement(Wrapper, { as: "output", "$align": "center", "$dir": "row", "$gap": 8, "$type": type, "$isAnimated": isAnimated },
23
27
  iconLookup[type],
24
- React.createElement(paragraph.P, { as: "span" }, content),
25
- href && (React.createElement(paragraph.P, { sx: "padding-left: 8px;", as: "a", href: href, "$color": "primary-blue-2" }, "View")),
26
- !isAnimated && (React.createElement(button.Button, { icon: React.createElement(close.Close, { size: 24 }), onClick: onClose, type: "special" })),
27
- isAnimated && (React.createElement(ToastProgress, { "$animationDuration": animationDuration || 4 },
28
- React.createElement("div", { className: `toast-progress-bar ${type}` })))));
28
+ React__default.default.createElement(paragraph.P, { as: "span" }, content),
29
+ href && (React__default.default.createElement(paragraph.P, { sx: "padding-left: 8px;", as: "a", href: href, "$color": "primary-blue-2" }, "View")),
30
+ !isAnimated && (React__default.default.createElement(button.Button, { icon: React__default.default.createElement(close.Close, { size: 24 }), onClick: onClose, type: "special" })),
31
+ isAnimated && (React__default.default.createElement(ToastProgress, { "$animationDuration": animationDuration || 4 },
32
+ React__default.default.createElement("div", { className: `toast-progress-bar ${type}` })))));
29
33
  };
30
34
  const ToastProgress = styled.styled.div `
31
35
  position: absolute;
@@ -4,10 +4,14 @@
4
4
  var React = require('react');
5
5
  var reactTooltip = require('react-tooltip');
6
6
 
7
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
8
+
9
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
10
+
7
11
  const Tooltip = ({ children, content, place = 'top' }) => {
8
- const id = React.useId();
9
- return (React.createElement(React.Fragment, null,
10
- React.createElement(reactTooltip.Tooltip, { id: id, place: place, style: {
12
+ const id = React__default.default.useId();
13
+ return (React__default.default.createElement(React__default.default.Fragment, null,
14
+ React__default.default.createElement(reactTooltip.Tooltip, { id: id, place: place, style: {
11
15
  fontFamily: 'Inter',
12
16
  fontSize: '12px',
13
17
  fontWeight: 400,
@@ -19,9 +23,9 @@ const Tooltip = ({ children, content, place = 'top' }) => {
19
23
  boxShadow: 'var(--elevation-2)',
20
24
  borderRadius: '4px',
21
25
  } }),
22
- React.Children.map(children, (child) => {
23
- return (React.isValidElement(child) &&
24
- React.cloneElement(child, {
26
+ React__default.default.Children.map(children, (child) => {
27
+ return (React__default.default.isValidElement(child) &&
28
+ React__default.default.cloneElement(child, {
25
29
  'data-tooltip-id': id,
26
30
  'data-tooltip-content': content,
27
31
  }));
@@ -17,6 +17,11 @@ var offline = require('./icons/offline.js');
17
17
  var online = require('./icons/online.js');
18
18
  var subscribed = require('./icons/subscribed.js');
19
19
 
20
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
21
+
22
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
23
+ var Image__default = /*#__PURE__*/_interopDefaultCompat(Image);
24
+
20
25
  /**
21
26
  * Lookup tables for sizes
22
27
  */
@@ -26,7 +31,7 @@ const iconReference = {
26
31
  declined: declined.Declined,
27
32
  focus: focus.Focus,
28
33
  locked: locked.Locked,
29
- none: () => React.createElement(React.Fragment, null),
34
+ none: () => React__default.default.createElement(React__default.default.Fragment, null),
30
35
  online: online.Online,
31
36
  offline: offline.Offline,
32
37
  subscribed: subscribed.Subscribed,
@@ -74,9 +79,9 @@ const fallBackImgSrc = `data:image/png;base64,${fallbackImgData}`;
74
79
  * Avatar
75
80
  */
76
81
  const Avatar = ({ as = 'button', href, image, fallbackImg = fallBackImgSrc, size = 64, status, subtitle, sx, textPosition = 'left', title, tooltipContent, tooltipSx, ...rest }) => {
77
- const [displayDefault, setDisplayDefault] = React.useState(false);
82
+ const [displayDefault, setDisplayDefault] = React__default.default.useState(false);
78
83
  const Icon = iconReference?.[status ?? 'none'];
79
- return (React.createElement(box.Box, { "$align": "center", "$gap": 18, sx: `
84
+ return (React__default.default.createElement(box.Box, { "$align": "center", "$gap": 18, sx: `
80
85
  position: relative;
81
86
  &:hover {
82
87
  .tooltipContainer {
@@ -85,15 +90,15 @@ const Avatar = ({ as = 'button', href, image, fallbackImg = fallBackImgSrc, size
85
90
  }
86
91
  ${sx}
87
92
  `, ...rest },
88
- React.createElement(Container, { as: as, "$size": size, href: href },
89
- !displayDefault && (React.createElement(Image, { alt: "avatar image", height: size, onError: () => setDisplayDefault(true), quality: 100, sizes: "96 | 72 | 64 | 56 | 48 | 40 | 36 | 32 | 24 | 16", src: image ?? fallbackImg, width: size })),
90
- displayDefault && React.createElement(_default.Default, null),
91
- React.createElement("div", null,
92
- React.createElement(Icon, null))),
93
- (title || subtitle) && (React.createElement(TextContainer, { "$textPosition": textPosition },
94
- title && (React.createElement(heading.H, { as: "h3", "$bold": true, "$color": "grey-2", "$textClampLines": 1, sx: "font-size: 26px;" }, title)),
95
- subtitle && (React.createElement(paragraph.P, { "$color": "grey-4", "$textClampLines": 1 }, subtitle)))),
96
- tooltipContent && (React.createElement(TooltipContainer, { className: "tooltipContainer", "$sx": tooltipSx }, tooltipContent))));
93
+ React__default.default.createElement(Container, { as: as, "$size": size, href: href },
94
+ !displayDefault && (React__default.default.createElement(Image__default.default, { alt: "avatar image", height: size, onError: () => setDisplayDefault(true), quality: 100, sizes: "96 | 72 | 64 | 56 | 48 | 40 | 36 | 32 | 24 | 16", src: image ?? fallbackImg, width: size })),
95
+ displayDefault && React__default.default.createElement(_default.Default, null),
96
+ React__default.default.createElement("div", null,
97
+ React__default.default.createElement(Icon, null))),
98
+ (title || subtitle) && (React__default.default.createElement(TextContainer, { "$textPosition": textPosition },
99
+ title && (React__default.default.createElement(heading.H, { as: "h3", "$bold": true, "$color": "grey-2", "$textClampLines": 1, sx: "font-size: 26px;" }, title)),
100
+ subtitle && (React__default.default.createElement(paragraph.P, { "$color": "grey-4", "$textClampLines": 1 }, subtitle)))),
101
+ tooltipContent && (React__default.default.createElement(TooltipContainer, { className: "tooltipContainer", "$sx": tooltipSx }, tooltipContent))));
97
102
  };
98
103
  Avatar.displayName = 'Avatar';
99
104
  const Container = styled.styled.div `
@@ -145,19 +150,19 @@ const TooltipContainer = styled.styled.div `
145
150
  const Group = ({ children, numDisplayed, total }) => {
146
151
  let size = 0;
147
152
  // filter out ReactNodes and ReactElements that are not Avatars
148
- const displayedElements = React.Children.map(children, (child, index) => {
149
- if (React.isValidElement(child) &&
153
+ const displayedElements = React__default.default.Children.map(children, (child, index) => {
154
+ if (React__default.default.isValidElement(child) &&
150
155
  child.type.displayName === 'Avatar') {
151
156
  size = child.props.size;
152
- return React.createElement(AvatarWrapper, { "$index": index }, child);
157
+ return React__default.default.createElement(AvatarWrapper, { "$index": index }, child);
153
158
  }
154
159
  return null;
155
160
  }).slice(0, numDisplayed);
156
- displayedElements.push(React.createElement(Total, { "$index": displayedElements.length + 1, "$size": size },
157
- React.createElement(paragraph.P, { "$fontSize": 11, "$lineHeight": 20 },
161
+ displayedElements.push(React__default.default.createElement(Total, { "$index": displayedElements.length + 1, "$size": size },
162
+ React__default.default.createElement(paragraph.P, { "$fontSize": 11, "$lineHeight": 20 },
158
163
  "+",
159
164
  total - numDisplayed)));
160
- return React.createElement(box.Box, null, displayedElements);
165
+ return React__default.default.createElement(box.Box, null, displayedElements);
161
166
  };
162
167
  Group.displayName = 'Avatar.Group';
163
168
  Avatar.Group = Group;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Approved = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#09B3A1", rx: "8" }),
7
- React.createElement("path", { fill: "#fff", d: "M6.485 8.521a1.1 1.1 0 1 0-1.555 1.555l2.199 2.199a1.1 1.1 0 0 0 1.555 0l4.398-4.398a1.1 1.1 0 0 0-1.555-1.555l-3.62 3.62-1.422-1.421Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Approved = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#09B3A1", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#fff", d: "M6.485 8.521a1.1 1.1 0 1 0-1.555 1.555l2.199 2.199a1.1 1.1 0 0 0 1.555 0l4.398-4.398a1.1 1.1 0 0 0-1.555-1.555l-3.62 3.62-1.422-1.421Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Approved = Approved;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Busy = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#F34436", rx: "8" }),
7
- React.createElement("path", { fill: "#fff", d: "m7.839 5.526 4.622 4.622c.33.33.33.825 0 1.155l-1.156 1.155a.798.798 0 0 1-1.155 0L5.528 7.838a.798.798 0 0 1 0-1.156l1.156-1.155a.798.798 0 0 1 1.155 0Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Busy = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#F34436", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#fff", d: "m7.839 5.526 4.622 4.622c.33.33.33.825 0 1.155l-1.156 1.155a.798.798 0 0 1-1.155 0L5.528 7.838a.798.798 0 0 1 0-1.156l1.156-1.155a.798.798 0 0 1 1.155 0Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Busy = Busy;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Declined = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#F34436", rx: "8" }),
7
- React.createElement("path", { fill: "#fff", d: "M10.47 9.015 12 7.479c.402-.404.4-1.056-.005-1.457a1.034 1.034 0 0 0-1.46.005L9.013 7.555 7.464 6.003A1.034 1.034 0 0 0 6.004 6 1.028 1.028 0 0 0 6 7.457l1.556 1.559-1.522 1.528c-.402.403-.4 1.056.004 1.457.404.4 1.058.399 1.46-.005l1.515-1.52 1.486 1.489a1.034 1.034 0 0 0 1.46.003 1.028 1.028 0 0 0 .003-1.457L10.47 9.015Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Declined = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#F34436", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#fff", d: "M10.47 9.015 12 7.479c.402-.404.4-1.056-.005-1.457a1.034 1.034 0 0 0-1.46.005L9.013 7.555 7.464 6.003A1.034 1.034 0 0 0 6.004 6 1.028 1.028 0 0 0 6 7.457l1.556 1.559-1.522 1.528c-.402.403-.4 1.056.004 1.457.404.4 1.058.399 1.46-.005l1.515-1.52 1.486 1.489a1.034 1.034 0 0 0 1.46.003 1.028 1.028 0 0 0 .003-1.457L10.47 9.015Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Declined = Declined;
@@ -2,8 +2,12 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Default = () => (React.createElement("svg", { viewBox: "0 0 228 228", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
- React.createElement("rect", { width: "228", height: "228", fill: "#D0D2D6" }),
7
- React.createElement("path", { d: "M114 114C104.513 114 96.3906 110.622 89.6344 103.866C82.8781 97.1094 79.5 88.9875 79.5 79.5C79.5 70.0125 82.8781 61.8906 89.6344 55.1344C96.3906 48.3781 104.513 45 114 45C123.488 45 131.609 48.3781 138.366 55.1344C145.122 61.8906 148.5 70.0125 148.5 79.5C148.5 88.9875 145.122 97.1094 138.366 103.866C131.609 110.622 123.488 114 114 114ZM45 183V158.85C45 153.963 46.2593 149.469 48.7778 145.369C51.2905 141.275 54.6312 138.15 58.8 135.994C67.7125 131.538 76.7688 128.194 85.9688 125.963C95.1688 123.738 104.513 122.625 114 122.625C123.488 122.625 132.831 123.738 142.031 125.963C151.231 128.194 160.288 131.538 169.2 135.994C173.369 138.15 176.71 141.275 179.222 145.369C181.741 149.469 183 153.963 183 158.85V183H45Z", fill: "white" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Default = () => (React__default.default.createElement("svg", { viewBox: "0 0 228 228", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
10
+ React__default.default.createElement("rect", { width: "228", height: "228", fill: "#D0D2D6" }),
11
+ React__default.default.createElement("path", { d: "M114 114C104.513 114 96.3906 110.622 89.6344 103.866C82.8781 97.1094 79.5 88.9875 79.5 79.5C79.5 70.0125 82.8781 61.8906 89.6344 55.1344C96.3906 48.3781 104.513 45 114 45C123.488 45 131.609 48.3781 138.366 55.1344C145.122 61.8906 148.5 70.0125 148.5 79.5C148.5 88.9875 145.122 97.1094 138.366 103.866C131.609 110.622 123.488 114 114 114ZM45 183V158.85C45 153.963 46.2593 149.469 48.7778 145.369C51.2905 141.275 54.6312 138.15 58.8 135.994C67.7125 131.538 76.7688 128.194 85.9688 125.963C95.1688 123.738 104.513 122.625 114 122.625C123.488 122.625 132.831 123.738 142.031 125.963C151.231 128.194 160.288 131.538 169.2 135.994C173.369 138.15 176.71 141.275 179.222 145.369C181.741 149.469 183 153.963 183 158.85V183H45Z", fill: "white" })));
8
12
 
9
13
  exports.Default = Default;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Focus = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#fff", rx: "8" }),
7
- React.createElement("path", { fill: "#A246C1", d: "M9 16A7 7 0 1 1 9 2a7 7 0 0 1 0 14Zm0-2.333a4.667 4.667 0 1 0 0-9.334 4.667 4.667 0 0 0 0 9.334Zm0-2.334a2.333 2.333 0 1 1 0-4.666 2.333 2.333 0 0 1 0 4.666Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Focus = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#fff", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#A246C1", d: "M9 16A7 7 0 1 1 9 2a7 7 0 0 1 0 14Zm0-2.333a4.667 4.667 0 1 0 0-9.334 4.667 4.667 0 0 0 0 9.334Zm0-2.334a2.333 2.333 0 1 1 0-4.666 2.333 2.333 0 0 1 0 4.666Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Focus = Focus;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Locked = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#B3B7BC", rx: "8" }),
7
- React.createElement("path", { fill: "#4A4F55", d: "M9.023 4.594H8.98c-1.221 0-2.21.973-2.21 2.175V7.89h1.116V6.78c0-.6.494-1.087 1.105-1.087h.022c.61 0 1.105.486 1.105 1.087v1.11h1.116V6.77c0-1.203-.989-2.176-2.21-2.176ZM6.77 7.89h1.116V8.99H6.769V7.89Zm3.348 0h1.116V8.99h-1.116V7.89Zm0 1.099H6.77c-.616 0-1.116.492-1.116 1.099v1.648c0 .91.742 1.648 1.655 1.648h3.386c.914 0 1.655-.732 1.655-1.648v-1.648c0-.607-.5-1.1-1.116-1.1h-1.116Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Locked = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#B3B7BC", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#4A4F55", d: "M9.023 4.594H8.98c-1.221 0-2.21.973-2.21 2.175V7.89h1.116V6.78c0-.6.494-1.087 1.105-1.087h.022c.61 0 1.105.486 1.105 1.087v1.11h1.116V6.77c0-1.203-.989-2.176-2.21-2.176ZM6.77 7.89h1.116V8.99H6.769V7.89Zm3.348 0h1.116V8.99h-1.116V7.89Zm0 1.099H6.77c-.616 0-1.116.492-1.116 1.099v1.648c0 .91.742 1.648 1.655 1.648h3.386c.914 0 1.655-.732 1.655-1.648v-1.648c0-.607-.5-1.1-1.116-1.1h-1.116Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Locked = Locked;
@@ -2,9 +2,13 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Offline = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#4A4F55", rx: "8" }),
7
- React.createElement("path", { fill: "#B3B7BC", d: "M9 12.3a3.3 3.3 0 1 0 0-6.6 3.3 3.3 0 0 0 0 6.6Z" }),
8
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Offline = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#4A4F55", rx: "8" }),
11
+ React__default.default.createElement("path", { fill: "#B3B7BC", d: "M9 12.3a3.3 3.3 0 1 0 0-6.6 3.3 3.3 0 0 0 0 6.6Z" }),
12
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
9
13
 
10
14
  exports.Offline = Offline;
@@ -2,8 +2,12 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Online = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
6
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#3CC260", rx: "8" }),
7
- React.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Online = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 18 18" },
10
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", fill: "#3CC260", rx: "8" }),
11
+ React__default.default.createElement("rect", { width: "16", height: "16", x: "1", y: "1", stroke: "#F8F9F9", strokeWidth: "2", rx: "8" })));
8
12
 
9
13
  exports.Online = Online;
@@ -2,13 +2,17 @@
2
2
 
3
3
  var React = require('react');
4
4
 
5
- const Subscribed = () => (React.createElement("svg", { fill: "none", viewBox: "0 0 20 20" },
6
- React.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M19.088 9.994a9.088 9.088 0 1 1-18.176 0 9.088 9.088 0 0 1 18.176 0Z", clipRule: "evenodd" }),
7
- React.createElement("path", { fill: "url(#a)", d: "M17.088 9.994a7.088 7.088 0 1 1-14.176 0 7.088 7.088 0 0 1 14.176 0Z" }),
8
- React.createElement("path", { fill: "#fff", d: "M9.25 5h1.5v.936c.338.048.648.134.927.26.458.202.813.485 1.067.847.255.362.386.781.394 1.258h-1.665a.976.976 0 0 0-.413-.734c-.244-.175-.575-.262-.992-.262-.283 0-.523.039-.718.117a1.01 1.01 0 0 0-.45.316.748.748 0 0 0-.152.461.645.645 0 0 0 .092.375c.07.107.165.2.285.278.12.075.26.141.418.199.157.054.326.101.505.14l.738.172c.359.078.688.183.988.313.299.13.559.29.778.48a2.003 2.003 0 0 1 .698 1.559c-.003.49-.131.914-.385 1.273-.252.357-.615.634-1.091.832-.302.125-.643.21-1.024.255V15h-1.5v-.942a4.002 4.002 0 0 1-.923-.242c-.49-.198-.872-.49-1.148-.879-.273-.39-.416-.873-.429-1.449h1.681c.019.269.098.492.237.672.142.177.33.311.566.402.238.089.507.133.806.133.294 0 .55-.041.767-.125.219-.083.389-.199.509-.347a.79.79 0 0 0 .18-.512c0-.18-.054-.33-.164-.453a1.248 1.248 0 0 0-.473-.313 4.908 4.908 0 0 0-.759-.234l-.894-.219c-.693-.164-1.24-.42-1.641-.77-.402-.348-.601-.818-.598-1.41-.003-.484.13-.907.397-1.269.27-.362.64-.645 1.111-.848.242-.104.5-.181.775-.232V5Z" }),
9
- React.createElement("defs", null,
10
- React.createElement("radialGradient", { id: "a", cx: "0", cy: "0", r: "1", gradientTransform: "rotate(-49.924 18.2 -.497) scale(14.7338 19.4196)", gradientUnits: "userSpaceOnUse" },
11
- React.createElement("stop", { stopColor: "#09B3A1" }),
12
- React.createElement("stop", { offset: "1", stopColor: "#3AC15E" })))));
5
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
+
7
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
+
9
+ const Subscribed = () => (React__default.default.createElement("svg", { fill: "none", viewBox: "0 0 20 20" },
10
+ React__default.default.createElement("path", { fill: "#fff", fillRule: "evenodd", d: "M19.088 9.994a9.088 9.088 0 1 1-18.176 0 9.088 9.088 0 0 1 18.176 0Z", clipRule: "evenodd" }),
11
+ React__default.default.createElement("path", { fill: "url(#a)", d: "M17.088 9.994a7.088 7.088 0 1 1-14.176 0 7.088 7.088 0 0 1 14.176 0Z" }),
12
+ React__default.default.createElement("path", { fill: "#fff", d: "M9.25 5h1.5v.936c.338.048.648.134.927.26.458.202.813.485 1.067.847.255.362.386.781.394 1.258h-1.665a.976.976 0 0 0-.413-.734c-.244-.175-.575-.262-.992-.262-.283 0-.523.039-.718.117a1.01 1.01 0 0 0-.45.316.748.748 0 0 0-.152.461.645.645 0 0 0 .092.375c.07.107.165.2.285.278.12.075.26.141.418.199.157.054.326.101.505.14l.738.172c.359.078.688.183.988.313.299.13.559.29.778.48a2.003 2.003 0 0 1 .698 1.559c-.003.49-.131.914-.385 1.273-.252.357-.615.634-1.091.832-.302.125-.643.21-1.024.255V15h-1.5v-.942a4.002 4.002 0 0 1-.923-.242c-.49-.198-.872-.49-1.148-.879-.273-.39-.416-.873-.429-1.449h1.681c.019.269.098.492.237.672.142.177.33.311.566.402.238.089.507.133.806.133.294 0 .55-.041.767-.125.219-.083.389-.199.509-.347a.79.79 0 0 0 .18-.512c0-.18-.054-.33-.164-.453a1.248 1.248 0 0 0-.473-.313 4.908 4.908 0 0 0-.759-.234l-.894-.219c-.693-.164-1.24-.42-1.641-.77-.402-.348-.601-.818-.598-1.41-.003-.484.13-.907.397-1.269.27-.362.64-.645 1.111-.848.242-.104.5-.181.775-.232V5Z" }),
13
+ React__default.default.createElement("defs", null,
14
+ React__default.default.createElement("radialGradient", { id: "a", cx: "0", cy: "0", r: "1", gradientTransform: "rotate(-49.924 18.2 -.497) scale(14.7338 19.4196)", gradientUnits: "userSpaceOnUse" },
15
+ React__default.default.createElement("stop", { stopColor: "#09B3A1" }),
16
+ React__default.default.createElement("stop", { offset: "1", stopColor: "#3AC15E" })))));
13
17
 
14
18
  exports.Subscribed = Subscribed;
@@ -5,8 +5,12 @@ var React = require('react');
5
5
  var styled = require('styled-components');
6
6
  var colors = require('../../../common/colors.js');
7
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
+
8
12
  const Icon = ({ as, children, color = 'grey-3', size = 16, sx, ...rest }) => {
9
- return (React.createElement(SVG, { as: as, width: size, height: size, viewBox: "0 0 16 16", fill: colors.colorReference[color], xmlns: "http://www.w3.org/2000/svg", "$sx": sx, ...rest }, children));
13
+ return (React__default.default.createElement(SVG, { as: as, width: size, height: size, viewBox: "0 0 16 16", fill: colors.colorReference[color], xmlns: "http://www.w3.org/2000/svg", "$sx": sx, ...rest }, children));
10
14
  };
11
15
  const SVG = styled.styled.svg `
12
16
  ${({ $sx }) => ($sx ? $sx : '')}
@@ -11,6 +11,10 @@ var chevron_right = require('../../../icons/arrow/chevron_right.js');
11
11
  var calendar = require('../../../icons/time/calendar.js');
12
12
  var date = require('../../../utils/date.js');
13
13
 
14
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
15
+
16
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
+
14
18
  const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDates, }) => {
15
19
  const today = new Date();
16
20
  today.setHours(0);
@@ -19,11 +23,11 @@ const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDate
19
23
  today.setMilliseconds(0);
20
24
  const firstOfMonth = new Date(today);
21
25
  firstOfMonth.setDate(1);
22
- const pickerRef = React.useRef(null);
23
- const [show, setShow] = React.useState(false);
24
- const [displayDate, setDisplayDate] = React.useState(() => selectedDate?.toDateString() || new Date().toDateString());
25
- const [componentSelectedDate, setComponentSelectedDate] = React.useState(() => selectedDate?.toDateString() || new Date().toDateString());
26
- React.useEffect(() => {
26
+ const pickerRef = React__default.default.useRef(null);
27
+ const [show, setShow] = React__default.default.useState(false);
28
+ const [displayDate, setDisplayDate] = React__default.default.useState(() => selectedDate?.toDateString() || new Date().toDateString());
29
+ const [componentSelectedDate, setComponentSelectedDate] = React__default.default.useState(() => selectedDate?.toDateString() || new Date().toDateString());
30
+ React__default.default.useEffect(() => {
27
31
  setComponentSelectedDate(selectedDate?.toDateString() || new Date().toDateString());
28
32
  }, [selectedDate]);
29
33
  const handleShow = () => setShow((prev) => !prev);
@@ -73,22 +77,22 @@ const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDate
73
77
  day: '2-digit',
74
78
  })
75
79
  .split('/');
76
- return (React.createElement(Wrapper, { onBlurCapture: handleBlur, ref: pickerRef, tabIndex: 0 },
77
- React.createElement(InputWrapper, null,
78
- React.createElement(Input, { value: selectedDate ? `${month} / ${day} / ${year}` : '', onFocus: handleShow, style: { letterSpacing: '1px', fontSize: '16px' }, readOnly: true }),
79
- React.createElement(calendar.Calendar, null)),
80
- show && (React.createElement(DateSelector, null,
81
- React.createElement(InnerWrapper, null,
82
- React.createElement("div", null,
83
- React.createElement(MonthBar, null,
84
- React.createElement(Arrow, { onClick: handlePreviousMonth },
85
- React.createElement(chevron_left.ChevronLeft, { size: 24 })),
86
- React.createElement(paragraph.P, null, `${Object.values(date$1.MONTHS)[Math.max(0, Math.min(new Date(displayDate).getMonth(), 11))]} ${new Date(displayDate).getFullYear()}`),
87
- React.createElement(Arrow, { onClick: handleNextMonth },
88
- React.createElement(chevron_right.ChevronRight, { size: 24 }))),
89
- React.createElement(WeekdayWrapper, null, Object.values(date$1.WEEKDAYS).map((day) => (React.createElement(paragraph.P, { key: day }, day)))),
90
- React.createElement(Calendar, null, calendar$1.map((week, index) => {
91
- return (React.createElement(Week, { key: 'week-' + index.toString(36) }, week.map((day, dayIndex) => {
80
+ return (React__default.default.createElement(Wrapper, { onBlurCapture: handleBlur, ref: pickerRef, tabIndex: 0 },
81
+ React__default.default.createElement(InputWrapper, null,
82
+ React__default.default.createElement(Input, { value: selectedDate ? `${month} / ${day} / ${year}` : '', onFocus: handleShow, style: { letterSpacing: '1px', fontSize: '16px' }, readOnly: true }),
83
+ React__default.default.createElement(calendar.Calendar, null)),
84
+ show && (React__default.default.createElement(DateSelector, null,
85
+ React__default.default.createElement(InnerWrapper, null,
86
+ React__default.default.createElement("div", null,
87
+ React__default.default.createElement(MonthBar, null,
88
+ React__default.default.createElement(Arrow, { onClick: handlePreviousMonth },
89
+ React__default.default.createElement(chevron_left.ChevronLeft, { size: 24 })),
90
+ React__default.default.createElement(paragraph.P, null, `${Object.values(date$1.MONTHS)[Math.max(0, Math.min(new Date(displayDate).getMonth(), 11))]} ${new Date(displayDate).getFullYear()}`),
91
+ React__default.default.createElement(Arrow, { onClick: handleNextMonth },
92
+ React__default.default.createElement(chevron_right.ChevronRight, { size: 24 }))),
93
+ React__default.default.createElement(WeekdayWrapper, null, Object.values(date$1.WEEKDAYS).map((day) => (React__default.default.createElement(paragraph.P, { key: day }, day)))),
94
+ React__default.default.createElement(Calendar, null, calendar$1.map((week, index) => {
95
+ return (React__default.default.createElement(Week, { key: 'week-' + index.toString(36) }, week.map((day, dayIndex) => {
92
96
  const dateObj = new Date(`${day[1]}-${day[2]}-${day[0]}`);
93
97
  const isPastDate = today.getTime() - dateObj.getTime() > 0;
94
98
  const isCurrMonth = day[1] !==
@@ -99,14 +103,14 @@ const CalendarInput = ({ selectedDate, onSelect: parentOnSelect, disablePastDate
99
103
  const isToday = Math.abs(dateObj.getTime() - today.getTime()) < 0.5;
100
104
  const isSelected = new Date(componentSelectedDate).getTime() ===
101
105
  dateObj.getTime();
102
- return (React.createElement(Day, { className: `${isToday ? 'today' : ''}${isNotCurrent ? ' not-current' : ''}${isSelected ? ' selected' : ''}`.trim(), "data-day": day[2], "data-month": day[1], "data-year": day[0], key: 'day-' + dayIndex.toString(36), onClick: handleClick }, `${day[2]}`.startsWith('0')
106
+ return (React__default.default.createElement(Day, { className: `${isToday ? 'today' : ''}${isNotCurrent ? ' not-current' : ''}${isSelected ? ' selected' : ''}`.trim(), "data-day": day[2], "data-month": day[1], "data-year": day[0], key: 'day-' + dayIndex.toString(36), onClick: handleClick }, `${day[2]}`.startsWith('0')
103
107
  ? `${day[2]}`[1]
104
108
  : day[2]));
105
109
  })));
106
110
  })),
107
- React.createElement(BottomWrapper, null,
108
- React.createElement(button.Button, { onClick: handleCancel, size: "small", sx: "width: 80px;", type: "outlined" }, "Cancel"),
109
- React.createElement(button.Button, { onClick: handleApply, size: "small", sx: "width: 80px;" }, "Apply"))))))));
111
+ React__default.default.createElement(BottomWrapper, null,
112
+ React__default.default.createElement(button.Button, { onClick: handleCancel, size: "small", sx: "width: 80px;", type: "outlined" }, "Cancel"),
113
+ React__default.default.createElement(button.Button, { onClick: handleApply, size: "small", sx: "width: 80px;" }, "Apply"))))))));
110
114
  };
111
115
  const Wrapper = styled.styled.div `
112
116
  position: relative;
@@ -6,8 +6,12 @@ var styled = require('styled-components');
6
6
  var styles = require('../../../common/styles.js');
7
7
  var checkmark = require('../../../icons/basic/checkmark.js');
8
8
 
9
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
10
+
11
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
+
9
13
  const Checkbox = ({ disabled, selected, sx, ...rest }) => {
10
- return (React.createElement(Box, { "$align": "center", "$disabled": !!disabled, "$display": "flex", "$justify": "center", "$selected": selected, "$sx": sx, ...rest }, selected && React.createElement(checkmark.Checkmark, { color: "white" })));
14
+ return (React__default.default.createElement(Box, { "$align": "center", "$disabled": !!disabled, "$display": "flex", "$justify": "center", "$selected": selected, "$sx": sx, ...rest }, selected && React__default.default.createElement(checkmark.Checkmark, { color: "white" })));
11
15
  };
12
16
  const Box = styled.styled.div `
13
17
  display: flex;