@soul-refiner/design-system 1.7.22 → 2.0.0-alpha.1
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.
- package/dist/components/editor/plugins/blocks/plate-button.d.ts +2 -2
- package/dist/components/editor/plugins/blocks/separator.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +48153 -5
- package/package.json +15 -14
- package/dist/common/colors.js +0 -135
- package/dist/common/date.js +0 -28
- package/dist/common/index.js +0 -3
- package/dist/common/styles.js +0 -63
- package/dist/components/actions/button/button.js +0 -318
- package/dist/components/actions/button/index.js +0 -1
- package/dist/components/actions/dropdown/dropdown.js +0 -227
- package/dist/components/actions/dropdown/index.js +0 -1
- package/dist/components/actions/index.js +0 -6
- package/dist/components/actions/rate/index.js +0 -1
- package/dist/components/actions/rate/rate.js +0 -47
- package/dist/components/actions/switch/index.js +0 -1
- package/dist/components/actions/switch/switch.js +0 -72
- package/dist/components/actions/toggle/index.js +0 -1
- package/dist/components/actions/toggle/toggle.js +0 -57
- package/dist/components/actions/upload/index.js +0 -1
- package/dist/components/actions/upload/upload.js +0 -156
- package/dist/components/atoms/box/box.js +0 -16
- package/dist/components/atoms/box/index.js +0 -1
- package/dist/components/atoms/colors/colors.js +0 -35
- package/dist/components/atoms/colors/index.js +0 -1
- package/dist/components/atoms/hide/hide.js +0 -9
- package/dist/components/atoms/hide/index.js +0 -1
- package/dist/components/atoms/index.js +0 -5
- package/dist/components/atoms/seconds_to_duration/index.js +0 -1
- package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +0 -27
- package/dist/components/atoms/time_ago/index.js +0 -1
- package/dist/components/atoms/time_ago/time_ago.js +0 -31
- package/dist/components/atoms/typography/display.js +0 -10
- package/dist/components/atoms/typography/heading.js +0 -35
- package/dist/components/atoms/typography/index.js +0 -4
- package/dist/components/atoms/typography/paragraph.js +0 -18
- package/dist/components/atoms/typography/typography.js +0 -12
- package/dist/components/card/action/action.js +0 -72
- package/dist/components/card/action/index.js +0 -1
- package/dist/components/card/audio/audio.js +0 -130
- package/dist/components/card/audio/index.js +0 -1
- package/dist/components/card/card.js +0 -35
- package/dist/components/card/feature/feature.js +0 -188
- package/dist/components/card/feature/index.js +0 -1
- package/dist/components/card/index.js +0 -1
- package/dist/components/card/meeting/index.js +0 -1
- package/dist/components/card/meeting/meeting.js +0 -130
- package/dist/components/card/person/index.js +0 -1
- package/dist/components/card/person/person.js +0 -69
- package/dist/components/card/price/index.js +0 -1
- package/dist/components/card/price/price.js +0 -75
- package/dist/components/card/regular/index.js +0 -1
- package/dist/components/card/regular/regular.js +0 -33
- package/dist/components/card/video/index.js +0 -1
- package/dist/components/card/video/video.js +0 -127
- package/dist/components/card/written/index.js +0 -1
- package/dist/components/card/written/written.js +0 -130
- package/dist/components/custom/courses_selection/courses_selection.js +0 -127
- package/dist/components/custom/courses_selection/index.js +0 -1
- package/dist/components/custom/index.js +0 -2
- package/dist/components/custom/users_selection/index.js +0 -1
- package/dist/components/custom/users_selection/users_selection.js +0 -120
- package/dist/components/editor/constants.js +0 -49
- package/dist/components/editor/context.js +0 -8
- package/dist/components/editor/editor.js +0 -102
- package/dist/components/editor/icons/border-all.js +0 -3
- package/dist/components/editor/icons/border-bottom.js +0 -3
- package/dist/components/editor/icons/border-left.js +0 -3
- package/dist/components/editor/icons/border-none.js +0 -3
- package/dist/components/editor/icons/border-right.js +0 -3
- package/dist/components/editor/icons/border-top.js +0 -3
- package/dist/components/editor/icons/index.js +0 -6
- package/dist/components/editor/index.js +0 -2
- package/dist/components/editor/navbar/alignment_dropdown.js +0 -97
- package/dist/components/editor/navbar/button_modal.js +0 -55
- package/dist/components/editor/navbar/index.js +0 -1
- package/dist/components/editor/navbar/navbar.js +0 -201
- package/dist/components/editor/navbar/style_dropdown.js +0 -65
- package/dist/components/editor/plugins/blocks/blockquote.js +0 -8
- package/dist/components/editor/plugins/blocks/blocks.js +0 -50
- package/dist/components/editor/plugins/blocks/buttons.js +0 -81
- package/dist/components/editor/plugins/blocks/dropdown-menu.js +0 -62
- package/dist/components/editor/plugins/blocks/image.js +0 -51
- package/dist/components/editor/plugins/blocks/index.js +0 -1
- package/dist/components/editor/plugins/blocks/list.js +0 -17
- package/dist/components/editor/plugins/blocks/media-popover.js +0 -32
- package/dist/components/editor/plugins/blocks/plate-button.js +0 -37
- package/dist/components/editor/plugins/blocks/popover.js +0 -11
- package/dist/components/editor/plugins/blocks/qa.js +0 -45
- package/dist/components/editor/plugins/blocks/resizable.js +0 -37
- package/dist/components/editor/plugins/blocks/separator.js +0 -19
- package/dist/components/editor/plugins/blocks/table-cell.js +0 -38
- package/dist/components/editor/plugins/blocks/table-row.js +0 -7
- package/dist/components/editor/plugins/blocks/table.js +0 -82
- package/dist/components/editor/plugins/blocks/text.js +0 -82
- package/dist/components/editor/plugins/blocks/video.js +0 -32
- package/dist/components/editor/plugins/index.js +0 -4
- package/dist/components/editor/plugins/leafs/index.js +0 -1
- package/dist/components/editor/plugins/leafs/leafs.js +0 -33
- package/dist/components/editor/plugins/leafs/link.js +0 -74
- package/dist/components/editor/plugins/marks/index.js +0 -1
- package/dist/components/editor/plugins/marks/marks.js +0 -12
- package/dist/components/editor/plugins/plate.js +0 -37
- package/dist/components/editor/plugins/utils/exitBreak.js +0 -31
- package/dist/components/editor/plugins/utils/index.js +0 -1
- package/dist/components/editor/plugins/utils/resetBlockType.js +0 -22
- package/dist/components/editor/plugins/utils/selectOnBackspace.js +0 -6
- package/dist/components/editor/plugins/utils/softBreak.js +0 -14
- package/dist/components/editor/plugins/utils/utils.js +0 -12
- package/dist/components/editor/simple_editor/index.js +0 -1
- package/dist/components/editor/simple_editor/navbar.js +0 -140
- package/dist/components/editor/simple_editor/plugins.js +0 -89
- package/dist/components/editor/simple_editor/simple_editor.js +0 -89
- package/dist/components/feedback/animated_toast/animated_toast.js +0 -55
- package/dist/components/feedback/animated_toast/index.js +0 -1
- package/dist/components/feedback/badge/badge.js +0 -66
- package/dist/components/feedback/badge/index.js +0 -1
- package/dist/components/feedback/banner/banner.js +0 -80
- package/dist/components/feedback/banner/index.js +0 -1
- package/dist/components/feedback/chip/chip.js +0 -94
- package/dist/components/feedback/chip/index.js +0 -1
- package/dist/components/feedback/index.js +0 -8
- package/dist/components/feedback/loader/index.js +0 -1
- package/dist/components/feedback/loader/loader.js +0 -34
- package/dist/components/feedback/notification/index.js +0 -1
- package/dist/components/feedback/notification/notification.js +0 -72
- package/dist/components/feedback/progress/index.js +0 -1
- package/dist/components/feedback/progress/progress.js +0 -87
- package/dist/components/feedback/toast/index.js +0 -1
- package/dist/components/feedback/toast/toast.js +0 -112
- package/dist/components/feedback/tooltip/index.js +0 -1
- package/dist/components/feedback/tooltip/tooltip.js +0 -26
- package/dist/components/iconography/avatar/avatar.js +0 -171
- package/dist/components/iconography/avatar/icons/approved.js +0 -5
- package/dist/components/iconography/avatar/icons/busy.js +0 -5
- package/dist/components/iconography/avatar/icons/declined.js +0 -5
- package/dist/components/iconography/avatar/icons/default.js +0 -4
- package/dist/components/iconography/avatar/icons/focus.js +0 -5
- package/dist/components/iconography/avatar/icons/index.js +0 -9
- package/dist/components/iconography/avatar/icons/locked.js +0 -5
- package/dist/components/iconography/avatar/icons/offline.js +0 -5
- package/dist/components/iconography/avatar/icons/online.js +0 -4
- package/dist/components/iconography/avatar/icons/subscribed.js +0 -9
- package/dist/components/iconography/avatar/index.js +0 -1
- package/dist/components/iconography/icon/icon.js +0 -10
- package/dist/components/iconography/icon/index.js +0 -1
- package/dist/components/iconography/index.js +0 -2
- package/dist/components/index.js +0 -12
- package/dist/components/input/calendar/calendar.js +0 -255
- package/dist/components/input/calendar/index.js +0 -1
- package/dist/components/input/checkbox/checkbox.js +0 -23
- package/dist/components/input/checkbox/index.js +0 -1
- package/dist/components/input/date/date.js +0 -517
- package/dist/components/input/date/index.js +0 -1
- package/dist/components/input/filter/filter.js +0 -319
- package/dist/components/input/filter/filter_option.js +0 -70
- package/dist/components/input/filter/index.js +0 -1
- package/dist/components/input/index.js +0 -10
- package/dist/components/input/radio/index.js +0 -1
- package/dist/components/input/radio/radio.js +0 -83
- package/dist/components/input/search/index.js +0 -1
- package/dist/components/input/search/search.js +0 -138
- package/dist/components/input/select/index.js +0 -1
- package/dist/components/input/select/select.js +0 -47
- package/dist/components/input/text_area/index.js +0 -1
- package/dist/components/input/text_area/text_area.js +0 -110
- package/dist/components/input/text_input/index.js +0 -1
- package/dist/components/input/text_input/text_input.js +0 -147
- package/dist/components/input/time/index.js +0 -1
- package/dist/components/input/time/time.js +0 -71
- package/dist/components/media/common.js +0 -1
- package/dist/components/media/index.js +0 -2
- package/dist/components/media/video/index.js +0 -1
- package/dist/components/media/video/video.js +0 -31
- package/dist/components/media/video-player/index.js +0 -1
- package/dist/components/media/video-player/playlist-item.js +0 -37
- package/dist/components/media/video-player/video.js +0 -197
- package/dist/components/navigation/breadcrumb/breadcrumb.js +0 -109
- package/dist/components/navigation/breadcrumb/index.js +0 -1
- package/dist/components/navigation/index.js +0 -3
- package/dist/components/navigation/inner/index.js +0 -1
- package/dist/components/navigation/inner/inner.js +0 -187
- package/dist/components/navigation/tabs/index.js +0 -1
- package/dist/components/navigation/tabs/tabs.js +0 -150
- package/dist/components/surfaces/accordion/accordion.js +0 -47
- package/dist/components/surfaces/accordion/index.js +0 -1
- package/dist/components/surfaces/calendar_date/calendar_date.js +0 -45
- package/dist/components/surfaces/calendar_date/index.js +0 -1
- package/dist/components/surfaces/carousel/card/card.js +0 -96
- package/dist/components/surfaces/carousel/card/index.js +0 -1
- package/dist/components/surfaces/carousel/index.js +0 -1
- package/dist/components/surfaces/comment/comment.js +0 -188
- package/dist/components/surfaces/comment/helpers.js +0 -26
- package/dist/components/surfaces/comment/index.js +0 -1
- package/dist/components/surfaces/drawer/drawer.js +0 -130
- package/dist/components/surfaces/drawer/index.js +0 -1
- package/dist/components/surfaces/index.js +0 -9
- package/dist/components/surfaces/message/index.js +0 -1
- package/dist/components/surfaces/message/message.js +0 -44
- package/dist/components/surfaces/modal/index.js +0 -1
- package/dist/components/surfaces/modal/modal.js +0 -127
- package/dist/components/surfaces/portal/index.js +0 -1
- package/dist/components/surfaces/portal/portal.js +0 -26
- package/dist/components/surfaces/post/index.js +0 -1
- package/dist/components/surfaces/post/post.js +0 -230
- package/dist/components/table/index.js +0 -1
- package/dist/components/table/table/index.js +0 -1
- package/dist/components/table/table/table.js +0 -184
- package/dist/emoji/emojis.json +0 -17577
- package/dist/icons/arrow/arrow_all.js +0 -6
- package/dist/icons/arrow/arrow_all_diagonal.js +0 -6
- package/dist/icons/arrow/arrow_both_downwards.js +0 -6
- package/dist/icons/arrow/arrow_both_upwards.js +0 -6
- package/dist/icons/arrow/arrow_circle_left.js +0 -6
- package/dist/icons/arrow/arrow_circle_left_double.js +0 -6
- package/dist/icons/arrow/arrow_circle_left_double_alert.js +0 -8
- package/dist/icons/arrow/arrow_circle_right.js +0 -6
- package/dist/icons/arrow/arrow_circle_right_double.js +0 -6
- package/dist/icons/arrow/arrow_circle_right_double_alert.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_down_left.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_down_right.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_up_left.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_up_right.js +0 -6
- package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +0 -6
- package/dist/icons/arrow/arrow_down.js +0 -6
- package/dist/icons/arrow/arrow_down_bold.js +0 -6
- package/dist/icons/arrow/arrow_down_circle.js +0 -6
- package/dist/icons/arrow/arrow_left.js +0 -6
- package/dist/icons/arrow/arrow_left_bold.js +0 -6
- package/dist/icons/arrow/arrow_left_circle.js +0 -6
- package/dist/icons/arrow/arrow_left_curved.js +0 -6
- package/dist/icons/arrow/arrow_left_curved_circle.js +0 -6
- package/dist/icons/arrow/arrow_right.js +0 -6
- package/dist/icons/arrow/arrow_right_bold.js +0 -6
- package/dist/icons/arrow/arrow_right_circle.js +0 -6
- package/dist/icons/arrow/arrow_right_curved.js +0 -6
- package/dist/icons/arrow/arrow_right_curved_circle.js +0 -6
- package/dist/icons/arrow/arrow_up.js +0 -6
- package/dist/icons/arrow/arrow_up_bold.js +0 -6
- package/dist/icons/arrow/arrow_up_circle.js +0 -6
- package/dist/icons/arrow/chevron_down.js +0 -6
- package/dist/icons/arrow/chevron_down_circle.js +0 -6
- package/dist/icons/arrow/chevron_down_double.js +0 -6
- package/dist/icons/arrow/chevron_down_double_circle.js +0 -6
- package/dist/icons/arrow/chevron_left.js +0 -6
- package/dist/icons/arrow/chevron_left_circle.js +0 -6
- package/dist/icons/arrow/chevron_left_double.js +0 -6
- package/dist/icons/arrow/chevron_left_double_circle.js +0 -6
- package/dist/icons/arrow/chevron_right.js +0 -6
- package/dist/icons/arrow/chevron_right_circle.js +0 -6
- package/dist/icons/arrow/chevron_right_double.js +0 -6
- package/dist/icons/arrow/chevron_right_double_circle.js +0 -6
- package/dist/icons/arrow/chevron_scroll.js +0 -6
- package/dist/icons/arrow/chevron_up.js +0 -6
- package/dist/icons/arrow/chevron_up_circle.js +0 -6
- package/dist/icons/arrow/chevron_up_double.js +0 -6
- package/dist/icons/arrow/chevron_up_double_circle.js +0 -6
- package/dist/icons/arrow/forward_all.js +0 -6
- package/dist/icons/arrow/forward_all_bold.js +0 -6
- package/dist/icons/arrow/forward_bold.js +0 -6
- package/dist/icons/arrow/index.js +0 -62
- package/dist/icons/arrow/redo.js +0 -6
- package/dist/icons/arrow/redo_bold.js +0 -6
- package/dist/icons/arrow/reply.js +0 -6
- package/dist/icons/arrow/reply_all.js +0 -6
- package/dist/icons/arrow/reply_all_bold.js +0 -6
- package/dist/icons/arrow/reply_bold.js +0 -6
- package/dist/icons/arrow/undo.js +0 -6
- package/dist/icons/arrow/undo_bold.js +0 -6
- package/dist/icons/audio_video/drag_indicator.js +0 -6
- package/dist/icons/audio_video/eject.js +0 -6
- package/dist/icons/audio_video/equalizer.js +0 -6
- package/dist/icons/audio_video/fast_forward.js +0 -6
- package/dist/icons/audio_video/fast_forward_30.js +0 -6
- package/dist/icons/audio_video/fullscreen.js +0 -6
- package/dist/icons/audio_video/headphones.js +0 -6
- package/dist/icons/audio_video/index.js +0 -38
- package/dist/icons/audio_video/library_add.js +0 -6
- package/dist/icons/audio_video/library_delay.js +0 -6
- package/dist/icons/audio_video/library_music.js +0 -6
- package/dist/icons/audio_video/library_queue.js +0 -6
- package/dist/icons/audio_video/microphone.js +0 -6
- package/dist/icons/audio_video/musical_note.js +0 -6
- package/dist/icons/audio_video/next.js +0 -6
- package/dist/icons/audio_video/pause.js +0 -6
- package/dist/icons/audio_video/pause_circle.js +0 -6
- package/dist/icons/audio_video/play.js +0 -6
- package/dist/icons/audio_video/play_circle.js +0 -6
- package/dist/icons/audio_video/play_display.js +0 -6
- package/dist/icons/audio_video/play_pause.js +0 -6
- package/dist/icons/audio_video/play_solid.js +0 -6
- package/dist/icons/audio_video/player_list.js +0 -6
- package/dist/icons/audio_video/player_list_add.js +0 -6
- package/dist/icons/audio_video/player_list_play.js +0 -6
- package/dist/icons/audio_video/previous.js +0 -6
- package/dist/icons/audio_video/radio.js +0 -6
- package/dist/icons/audio_video/record.js +0 -6
- package/dist/icons/audio_video/repeat.js +0 -6
- package/dist/icons/audio_video/rewind.js +0 -6
- package/dist/icons/audio_video/rewind_30.js +0 -6
- package/dist/icons/audio_video/shuffle.js +0 -6
- package/dist/icons/audio_video/sound_wave.js +0 -6
- package/dist/icons/audio_video/stop.js +0 -6
- package/dist/icons/audio_video/stop_circle.js +0 -6
- package/dist/icons/audio_video/subscriptions.js +0 -6
- package/dist/icons/audio_video/tuner.js +0 -6
- package/dist/icons/audio_video/volume.js +0 -6
- package/dist/icons/audio_video/volume_high.js +0 -6
- package/dist/icons/audio_video/volume_low.js +0 -6
- package/dist/icons/audio_video/volume_slash.js +0 -6
- package/dist/icons/basic/aa_sansserif.js +0 -7
- package/dist/icons/basic/aa_serif.js +0 -7
- package/dist/icons/basic/anchor.js +0 -8
- package/dist/icons/basic/bible.js +0 -6
- package/dist/icons/basic/bold.js +0 -6
- package/dist/icons/basic/book.js +0 -6
- package/dist/icons/basic/book_open.js +0 -6
- package/dist/icons/basic/bookmark.js +0 -6
- package/dist/icons/basic/bookmark_add.js +0 -6
- package/dist/icons/basic/bookmark_slash.js +0 -6
- package/dist/icons/basic/bookmarks.js +0 -6
- package/dist/icons/basic/books.js +0 -9
- package/dist/icons/basic/box.js +0 -6
- package/dist/icons/basic/briefcase.js +0 -6
- package/dist/icons/basic/browse_activity.js +0 -6
- package/dist/icons/basic/browser.js +0 -6
- package/dist/icons/basic/browser_slash.js +0 -6
- package/dist/icons/basic/calculator.js +0 -6
- package/dist/icons/basic/camera.js +0 -6
- package/dist/icons/basic/camera_add.js +0 -6
- package/dist/icons/basic/camera_slash.js +0 -6
- package/dist/icons/basic/checkmark.js +0 -6
- package/dist/icons/basic/checkmark_circle.js +0 -8
- package/dist/icons/basic/checkmark_filled.js +0 -6
- package/dist/icons/basic/checkmarks.js +0 -6
- package/dist/icons/basic/circle.js +0 -6
- package/dist/icons/basic/circle_slash.js +0 -8
- package/dist/icons/basic/clear_text_style.js +0 -6
- package/dist/icons/basic/close.js +0 -6
- package/dist/icons/basic/close_circle.js +0 -6
- package/dist/icons/basic/close_filled.js +0 -6
- package/dist/icons/basic/copy.js +0 -6
- package/dist/icons/basic/delete.js +0 -6
- package/dist/icons/basic/detail.js +0 -6
- package/dist/icons/basic/dot.js +0 -6
- package/dist/icons/basic/download.js +0 -6
- package/dist/icons/basic/download_arrow.js +0 -6
- package/dist/icons/basic/droplet.js +0 -8
- package/dist/icons/basic/ellipsis_horizontal.js +0 -6
- package/dist/icons/basic/ellipsis_horizontal_circle.js +0 -6
- package/dist/icons/basic/ellipsis_vertical.js +0 -6
- package/dist/icons/basic/ellipsis_vertical_circle.js +0 -6
- package/dist/icons/basic/eye.js +0 -6
- package/dist/icons/basic/eye_slash.js +0 -6
- package/dist/icons/basic/fingerprint.js +0 -6
- package/dist/icons/basic/flag.js +0 -6
- package/dist/icons/basic/flag_wave.js +0 -6
- package/dist/icons/basic/flag_wave_filled.js +0 -6
- package/dist/icons/basic/flame.js +0 -6
- package/dist/icons/basic/gauge.js +0 -6
- package/dist/icons/basic/glasses.js +0 -6
- package/dist/icons/basic/graduation_cap.js +0 -6
- package/dist/icons/basic/hashmark.js +0 -6
- package/dist/icons/basic/heart.js +0 -6
- package/dist/icons/basic/heart_slash.js +0 -6
- package/dist/icons/basic/highlighter.js +0 -6
- package/dist/icons/basic/home.js +0 -6
- package/dist/icons/basic/image.js +0 -6
- package/dist/icons/basic/inbox.js +0 -6
- package/dist/icons/basic/index.js +0 -131
- package/dist/icons/basic/italic.js +0 -6
- package/dist/icons/basic/layers.js +0 -6
- package/dist/icons/basic/lightening.js +0 -6
- package/dist/icons/basic/lightening_slash.js +0 -6
- package/dist/icons/basic/link.js +0 -6
- package/dist/icons/basic/link_slash.js +0 -6
- package/dist/icons/basic/loudspeaker.js +0 -6
- package/dist/icons/basic/maximize.js +0 -6
- package/dist/icons/basic/menu.js +0 -6
- package/dist/icons/basic/menu_circle.js +0 -6
- package/dist/icons/basic/menu_dots.js +0 -6
- package/dist/icons/basic/microphone_slash.js +0 -6
- package/dist/icons/basic/minimize.js +0 -6
- package/dist/icons/basic/minus.js +0 -6
- package/dist/icons/basic/minus_circle.js +0 -6
- package/dist/icons/basic/move_item.js +0 -6
- package/dist/icons/basic/new.js +0 -6
- package/dist/icons/basic/newspaper.js +0 -6
- package/dist/icons/basic/node.js +0 -6
- package/dist/icons/basic/note_pad.js +0 -7
- package/dist/icons/basic/options.js +0 -6
- package/dist/icons/basic/paint_brush.js +0 -6
- package/dist/icons/basic/paperclip.js +0 -6
- package/dist/icons/basic/paperclip_slash.js +0 -6
- package/dist/icons/basic/pencil.js +0 -6
- package/dist/icons/basic/pencil_pad.js +0 -6
- package/dist/icons/basic/plus.js +0 -6
- package/dist/icons/basic/plus_circle.js +0 -6
- package/dist/icons/basic/presentation.js +0 -6
- package/dist/icons/basic/printer.js +0 -6
- package/dist/icons/basic/profile.js +0 -6
- package/dist/icons/basic/profile_check.js +0 -6
- package/dist/icons/basic/pulse.js +0 -6
- package/dist/icons/basic/qr_code.js +0 -6
- package/dist/icons/basic/resize.js +0 -8
- package/dist/icons/basic/scan.js +0 -6
- package/dist/icons/basic/scissors.js +0 -6
- package/dist/icons/basic/screenshot.js +0 -6
- package/dist/icons/basic/search.js +0 -6
- package/dist/icons/basic/select_item.js +0 -7
- package/dist/icons/basic/settings.js +0 -6
- package/dist/icons/basic/share.js +0 -6
- package/dist/icons/basic/share_external.js +0 -6
- package/dist/icons/basic/square.js +0 -6
- package/dist/icons/basic/star.js +0 -6
- package/dist/icons/basic/star_circle.js +0 -6
- package/dist/icons/basic/star_filled.js +0 -6
- package/dist/icons/basic/star_filled_half.js +0 -6
- package/dist/icons/basic/star_slash.js +0 -6
- package/dist/icons/basic/sticker.js +0 -6
- package/dist/icons/basic/strikethrough.js +0 -6
- package/dist/icons/basic/subtask.js +0 -7
- package/dist/icons/basic/tax.js +0 -9
- package/dist/icons/basic/text_bg_color.js +0 -6
- package/dist/icons/basic/text_color.js +0 -6
- package/dist/icons/basic/textbox.js +0 -6
- package/dist/icons/basic/thumbs_down.js +0 -6
- package/dist/icons/basic/thumbs_up.js +0 -6
- package/dist/icons/basic/thumbs_up_filled.js +0 -6
- package/dist/icons/basic/toggle_left.js +0 -6
- package/dist/icons/basic/toggle_right.js +0 -6
- package/dist/icons/basic/translate.js +0 -6
- package/dist/icons/basic/trash.js +0 -6
- package/dist/icons/basic/trash_slash.js +0 -6
- package/dist/icons/basic/underline.js +0 -6
- package/dist/icons/basic/upload.js +0 -6
- package/dist/icons/basic/video.js +0 -6
- package/dist/icons/basic/video_add.js +0 -7
- package/dist/icons/basic/video_slash.js +0 -6
- package/dist/icons/basic/wrench.js +0 -6
- package/dist/icons/basic/zoom_in.js +0 -6
- package/dist/icons/basic/zoom_out.js +0 -6
- package/dist/icons/data/bar_chart.js +0 -6
- package/dist/icons/data/bar_chart_downward.js +0 -6
- package/dist/icons/data/bar_chart_downward_outline.js +0 -6
- package/dist/icons/data/bar_chart_upward.js +0 -6
- package/dist/icons/data/bar_chart_upward_outline.js +0 -6
- package/dist/icons/data/candlestick_chart.js +0 -6
- package/dist/icons/data/four_circles.js +0 -6
- package/dist/icons/data/index.js +0 -20
- package/dist/icons/data/legend_toggle.js +0 -6
- package/dist/icons/data/line_chart.js +0 -6
- package/dist/icons/data/line_chart_area.js +0 -6
- package/dist/icons/data/line_chart_area_shaded.js +0 -6
- package/dist/icons/data/line_chart_double.js +0 -6
- package/dist/icons/data/line_chart_downward.js +0 -6
- package/dist/icons/data/line_chart_node.js +0 -6
- package/dist/icons/data/line_chart_outline.js +0 -6
- package/dist/icons/data/line_chart_search.js +0 -6
- package/dist/icons/data/line_chart_stars.js +0 -6
- package/dist/icons/data/line_chart_upward.js +0 -6
- package/dist/icons/data/pie_chart.js +0 -7
- package/dist/icons/data/tree.js +0 -6
- package/dist/icons/email/index.js +0 -8
- package/dist/icons/email/mail.js +0 -6
- package/dist/icons/email/mail_check.js +0 -6
- package/dist/icons/email/mail_minus.js +0 -6
- package/dist/icons/email/mail_send.js +0 -6
- package/dist/icons/email/send.js +0 -6
- package/dist/icons/email/send_close.js +0 -6
- package/dist/icons/email/send_schedule.js +0 -6
- package/dist/icons/email/send_text.js +0 -6
- package/dist/icons/emoji/emoji_add.js +0 -6
- package/dist/icons/emoji/index.js +0 -6
- package/dist/icons/emoji/laughing.js +0 -6
- package/dist/icons/emoji/neutral.js +0 -6
- package/dist/icons/emoji/sad.js +0 -6
- package/dist/icons/emoji/shocked.js +0 -6
- package/dist/icons/emoji/smile.js +0 -6
- package/dist/icons/file/clipboard.js +0 -6
- package/dist/icons/file/clipboard_check.js +0 -6
- package/dist/icons/file/clipboard_close.js +0 -6
- package/dist/icons/file/clipboard_minus.js +0 -6
- package/dist/icons/file/clipboard_plus.js +0 -6
- package/dist/icons/file/clipboard_text.js +0 -6
- package/dist/icons/file/file.js +0 -6
- package/dist/icons/file/file_add.js +0 -6
- package/dist/icons/file/file_check.js +0 -6
- package/dist/icons/file/file_close.js +0 -6
- package/dist/icons/file/file_code.js +0 -6
- package/dist/icons/file/file_download.js +0 -6
- package/dist/icons/file/file_draft.js +0 -6
- package/dist/icons/file/file_gear.js +0 -7
- package/dist/icons/file/file_minus.js +0 -6
- package/dist/icons/file/file_plus.js +0 -6
- package/dist/icons/file/file_scan.js +0 -6
- package/dist/icons/file/file_shred.js +0 -6
- package/dist/icons/file/file_text.js +0 -6
- package/dist/icons/file/file_upload.js +0 -6
- package/dist/icons/file/folder.js +0 -6
- package/dist/icons/file/folder_add.js +0 -6
- package/dist/icons/file/folder_arrow.js +0 -6
- package/dist/icons/file/folder_check.js +0 -6
- package/dist/icons/file/folder_close.js +0 -6
- package/dist/icons/file/folder_cloud.js +0 -6
- package/dist/icons/file/folder_gear.js +0 -7
- package/dist/icons/file/folder_minus.js +0 -6
- package/dist/icons/file/folder_music.js +0 -6
- package/dist/icons/file/folder_open.js +0 -6
- package/dist/icons/file/folder_plus.js +0 -6
- package/dist/icons/file/folder_zip.js +0 -6
- package/dist/icons/file/index.js +0 -36
- package/dist/icons/file/note.js +0 -6
- package/dist/icons/file/note_text.js +0 -6
- package/dist/icons/file/pdf.js +0 -6
- package/dist/icons/file/photo.js +0 -6
- package/dist/icons/finance/bitcoin.js +0 -6
- package/dist/icons/finance/coins.js +0 -10
- package/dist/icons/finance/credit_card.js +0 -6
- package/dist/icons/finance/credit_card_add.js +0 -6
- package/dist/icons/finance/credit_card_face.js +0 -6
- package/dist/icons/finance/credit_card_member.js +0 -6
- package/dist/icons/finance/credit_card_outcome.js +0 -6
- package/dist/icons/finance/credit_card_scan.js +0 -6
- package/dist/icons/finance/credit_card_share.js +0 -6
- package/dist/icons/finance/credit_card_slash.js +0 -6
- package/dist/icons/finance/currency_exchange.js +0 -6
- package/dist/icons/finance/dollar.js +0 -6
- package/dist/icons/finance/ethereum.js +0 -6
- package/dist/icons/finance/index.js +0 -16
- package/dist/icons/finance/paypass.js +0 -6
- package/dist/icons/finance/strongbox.js +0 -6
- package/dist/icons/finance/wallet.js +0 -6
- package/dist/icons/index.js +0 -22
- package/dist/icons/layout/block_align_bottom.js +0 -6
- package/dist/icons/layout/block_align_center.js +0 -6
- package/dist/icons/layout/block_align_left.js +0 -6
- package/dist/icons/layout/block_align_middle.js +0 -6
- package/dist/icons/layout/block_align_right.js +0 -6
- package/dist/icons/layout/block_align_top.js +0 -6
- package/dist/icons/layout/block_horizontal.js +0 -6
- package/dist/icons/layout/block_vertical.js +0 -6
- package/dist/icons/layout/edit_shape.js +0 -6
- package/dist/icons/layout/elements.js +0 -6
- package/dist/icons/layout/elements_add.js +0 -6
- package/dist/icons/layout/elements_filled.js +0 -6
- package/dist/icons/layout/elements_masonry.js +0 -6
- package/dist/icons/layout/frame.js +0 -6
- package/dist/icons/layout/frame_stack.js +0 -6
- package/dist/icons/layout/grid.js +0 -6
- package/dist/icons/layout/grid_column_three.js +0 -6
- package/dist/icons/layout/grid_column_two.js +0 -6
- package/dist/icons/layout/grid_dynamic.js +0 -6
- package/dist/icons/layout/grid_frame.js +0 -6
- package/dist/icons/layout/grid_row_three.js +0 -6
- package/dist/icons/layout/grid_row_two.js +0 -6
- package/dist/icons/layout/grid_six.js +0 -6
- package/dist/icons/layout/grid_small.js +0 -6
- package/dist/icons/layout/iframe.js +0 -6
- package/dist/icons/layout/index.js +0 -44
- package/dist/icons/layout/kanban.js +0 -6
- package/dist/icons/layout/layout.js +0 -6
- package/dist/icons/layout/list.js +0 -6
- package/dist/icons/layout/list_filled.js +0 -11
- package/dist/icons/layout/padding.js +0 -6
- package/dist/icons/layout/page_break.js +0 -6
- package/dist/icons/layout/rotate_left.js +0 -6
- package/dist/icons/layout/rotate_right.js +0 -6
- package/dist/icons/layout/ruler.js +0 -6
- package/dist/icons/layout/segment.js +0 -6
- package/dist/icons/layout/select_area.js +0 -6
- package/dist/icons/layout/select_boundary.js +0 -6
- package/dist/icons/layout/sidebar_left.js +0 -6
- package/dist/icons/layout/sidebar_right.js +0 -6
- package/dist/icons/layout/slides.js +0 -6
- package/dist/icons/layout/slides_horizontal.js +0 -6
- package/dist/icons/layout/slides_vertical.js +0 -11
- package/dist/icons/layout/stack.js +0 -6
- package/dist/icons/layout/text.js +0 -6
- package/dist/icons/maps/atlas.js +0 -6
- package/dist/icons/maps/compass.js +0 -6
- package/dist/icons/maps/direction.js +0 -6
- package/dist/icons/maps/direction_angled.js +0 -6
- package/dist/icons/maps/globe.js +0 -6
- package/dist/icons/maps/globe_slash.js +0 -6
- package/dist/icons/maps/index.js +0 -22
- package/dist/icons/maps/location.js +0 -6
- package/dist/icons/maps/location_slash.js +0 -6
- package/dist/icons/maps/map.js +0 -6
- package/dist/icons/maps/marker.js +0 -6
- package/dist/icons/maps/panorama.js +0 -6
- package/dist/icons/maps/pin.js +0 -6
- package/dist/icons/maps/pin_arrow.js +0 -6
- package/dist/icons/maps/pin_location.js +0 -6
- package/dist/icons/maps/pin_plus.js +0 -6
- package/dist/icons/maps/pin_question.js +0 -6
- package/dist/icons/maps/pin_slash.js +0 -6
- package/dist/icons/maps/push_pin.js +0 -6
- package/dist/icons/maps/push_pin_filled.js +0 -6
- package/dist/icons/maps/push_pin_slash.js +0 -6
- package/dist/icons/maps/radar.js +0 -6
- package/dist/icons/maps/route.js +0 -6
- package/dist/icons/message/bubble.js +0 -6
- package/dist/icons/message/bubble_question.js +0 -6
- package/dist/icons/message/comment.js +0 -6
- package/dist/icons/message/comment_add.js +0 -6
- package/dist/icons/message/comment_check.js +0 -6
- package/dist/icons/message/comment_close.js +0 -6
- package/dist/icons/message/comment_minus.js +0 -6
- package/dist/icons/message/comment_text.js +0 -6
- package/dist/icons/message/index.js +0 -8
- package/dist/icons/misc/advertisement.js +0 -6
- package/dist/icons/misc/atom.js +0 -6
- package/dist/icons/misc/bone.js +0 -6
- package/dist/icons/misc/brightness_high.js +0 -6
- package/dist/icons/misc/brightness_low.js +0 -6
- package/dist/icons/misc/contrast.js +0 -6
- package/dist/icons/misc/crosshairs.js +0 -6
- package/dist/icons/misc/crown.js +0 -6
- package/dist/icons/misc/footprint.js +0 -6
- package/dist/icons/misc/form.js +0 -6
- package/dist/icons/misc/funnel.js +0 -6
- package/dist/icons/misc/index.js +0 -25
- package/dist/icons/misc/infinite.js +0 -6
- package/dist/icons/misc/insert_button.js +0 -6
- package/dist/icons/misc/light_bulb.js +0 -6
- package/dist/icons/misc/moon.js +0 -6
- package/dist/icons/misc/nut.js +0 -6
- package/dist/icons/misc/planet.js +0 -6
- package/dist/icons/misc/plus_thick.js +0 -6
- package/dist/icons/misc/pocket.js +0 -6
- package/dist/icons/misc/rocket.js +0 -6
- package/dist/icons/misc/soup.js +0 -10
- package/dist/icons/misc/sun.js +0 -6
- package/dist/icons/misc/toy_horse.js +0 -6
- package/dist/icons/misc/trophy.js +0 -6
- package/dist/icons/misc/watercloset.js +0 -6
- package/dist/icons/notifications/alert_circle.js +0 -6
- package/dist/icons/notifications/alert_octogon.js +0 -6
- package/dist/icons/notifications/alert_triangle.js +0 -6
- package/dist/icons/notifications/app_notification.js +0 -6
- package/dist/icons/notifications/bell.js +0 -6
- package/dist/icons/notifications/bell_alert.js +0 -6
- package/dist/icons/notifications/bell_checkmark.js +0 -6
- package/dist/icons/notifications/bell_minus.js +0 -6
- package/dist/icons/notifications/bell_plus.js +0 -6
- package/dist/icons/notifications/bell_ring.js +0 -8
- package/dist/icons/notifications/bell_slash.js +0 -6
- package/dist/icons/notifications/close_octogon.js +0 -6
- package/dist/icons/notifications/index.js +0 -14
- package/dist/icons/notifications/information.js +0 -6
- package/dist/icons/notifications/minus_octogon.js +0 -6
- package/dist/icons/notifications/question_circle.js +0 -6
- package/dist/icons/people/group.js +0 -6
- package/dist/icons/people/group_add.js +0 -6
- package/dist/icons/people/group_chat.js +0 -8
- package/dist/icons/people/group_remove.js +0 -6
- package/dist/icons/people/group_send.js +0 -7
- package/dist/icons/people/groups.js +0 -6
- package/dist/icons/people/index.js +0 -13
- package/dist/icons/people/person.js +0 -6
- package/dist/icons/people/person_add.js +0 -6
- package/dist/icons/people/person_checkmark.js +0 -6
- package/dist/icons/people/person_circle.js +0 -8
- package/dist/icons/people/person_close.js +0 -8
- package/dist/icons/people/person_remove.js +0 -6
- package/dist/icons/people/person_slash.js +0 -8
- package/dist/icons/phone/index.js +0 -14
- package/dist/icons/phone/keypad.js +0 -6
- package/dist/icons/phone/phone.js +0 -6
- package/dist/icons/phone/phone_add.js +0 -6
- package/dist/icons/phone/phone_calling.js +0 -6
- package/dist/icons/phone/phone_check.js +0 -6
- package/dist/icons/phone/phone_close.js +0 -6
- package/dist/icons/phone/phone_decline.js +0 -6
- package/dist/icons/phone/phone_end.js +0 -6
- package/dist/icons/phone/phone_forwarded.js +0 -6
- package/dist/icons/phone/phone_hash.js +0 -6
- package/dist/icons/phone/phone_incoming.js +0 -6
- package/dist/icons/phone/phone_missed.js +0 -6
- package/dist/icons/phone/phone_outgoing.js +0 -6
- package/dist/icons/phone/phone_pause.js +0 -6
- package/dist/icons/phone/phone_slash.js +0 -6
- package/dist/icons/phone/voicemail.js +0 -6
- package/dist/icons/security/index.js +0 -11
- package/dist/icons/security/key.js +0 -6
- package/dist/icons/security/key_slash.js +0 -6
- package/dist/icons/security/lock.js +0 -6
- package/dist/icons/security/lock_circle.js +0 -6
- package/dist/icons/security/lock_open.js +0 -6
- package/dist/icons/security/lock_slash.js +0 -6
- package/dist/icons/security/shield.js +0 -6
- package/dist/icons/security/shield_checkmark.js +0 -6
- package/dist/icons/security/shield_lock.js +0 -6
- package/dist/icons/security/shield_slash.js +0 -6
- package/dist/icons/security/verified.js +0 -6
- package/dist/icons/shopping/basket.js +0 -6
- package/dist/icons/shopping/cart.js +0 -6
- package/dist/icons/shopping/cart_filled.js +0 -6
- package/dist/icons/shopping/coupon.js +0 -6
- package/dist/icons/shopping/coupon_cut.js +0 -6
- package/dist/icons/shopping/delivery.js +0 -6
- package/dist/icons/shopping/discount.js +0 -6
- package/dist/icons/shopping/gift.js +0 -6
- package/dist/icons/shopping/gift_bag.js +0 -6
- package/dist/icons/shopping/index.js +0 -15
- package/dist/icons/shopping/inventory.js +0 -6
- package/dist/icons/shopping/point_of_sale.js +0 -6
- package/dist/icons/shopping/shirt.js +0 -6
- package/dist/icons/shopping/tag.js +0 -6
- package/dist/icons/shopping/tag_diagonal.js +0 -6
- package/dist/icons/shopping/tote.js +0 -6
- package/dist/icons/special/index.js +0 -4
- package/dist/icons/special/upload_audio.js +0 -11
- package/dist/icons/special/upload_file.js +0 -6
- package/dist/icons/special/upload_image.js +0 -8
- package/dist/icons/special/upload_video.js +0 -9
- package/dist/icons/symbols/at.js +0 -6
- package/dist/icons/symbols/cc.js +0 -6
- package/dist/icons/symbols/cmd.js +0 -6
- package/dist/icons/symbols/facebook.js +0 -6
- package/dist/icons/symbols/google.js +0 -9
- package/dist/icons/symbols/hash.js +0 -6
- package/dist/icons/symbols/index.js +0 -9
- package/dist/icons/symbols/instagram.js +0 -18
- package/dist/icons/symbols/messenger.js +0 -12
- package/dist/icons/symbols/twitter.js +0 -6
- package/dist/icons/technology/battery.js +0 -6
- package/dist/icons/technology/battery_100.js +0 -6
- package/dist/icons/technology/battery_20.js +0 -6
- package/dist/icons/technology/battery_40.js +0 -6
- package/dist/icons/technology/battery_60.js +0 -6
- package/dist/icons/technology/battery_80.js +0 -6
- package/dist/icons/technology/battery_charging.js +0 -6
- package/dist/icons/technology/battery_slash.js +0 -6
- package/dist/icons/technology/devices.js +0 -6
- package/dist/icons/technology/floppy_disk.js +0 -6
- package/dist/icons/technology/index.js +0 -17
- package/dist/icons/technology/iphone.js +0 -6
- package/dist/icons/technology/laptop.js +0 -6
- package/dist/icons/technology/mobile.js +0 -6
- package/dist/icons/technology/monitor.js +0 -6
- package/dist/icons/technology/server.js +0 -6
- package/dist/icons/technology/sim_card.js +0 -6
- package/dist/icons/technology/usb_stick.js +0 -6
- package/dist/icons/text/align_center.js +0 -6
- package/dist/icons/text/align_justified.js +0 -6
- package/dist/icons/text/align_left.js +0 -6
- package/dist/icons/text/align_right.js +0 -6
- package/dist/icons/text/code_block.js +0 -6
- package/dist/icons/text/divider.js +0 -6
- package/dist/icons/text/footnote.js +0 -8
- package/dist/icons/text/indent_decrease.js +0 -6
- package/dist/icons/text/indent_increase.js +0 -6
- package/dist/icons/text/index.js +0 -13
- package/dist/icons/text/list_ordered.js +0 -6
- package/dist/icons/text/list_unordered.js +0 -6
- package/dist/icons/text/quote.js +0 -6
- package/dist/icons/text/table.js +0 -6
- package/dist/icons/time/alarm.js +0 -6
- package/dist/icons/time/alarm_checkmark.js +0 -6
- package/dist/icons/time/alarm_minus.js +0 -6
- package/dist/icons/time/alarm_plus.js +0 -6
- package/dist/icons/time/alarm_slash.js +0 -6
- package/dist/icons/time/alarm_snooze.js +0 -6
- package/dist/icons/time/calendar.js +0 -6
- package/dist/icons/time/calendar_add.js +0 -6
- package/dist/icons/time/calendar_checkmark.js +0 -6
- package/dist/icons/time/calendar_close.js +0 -6
- package/dist/icons/time/calendar_dates.js +0 -6
- package/dist/icons/time/calendar_minus.js +0 -6
- package/dist/icons/time/calendar_plus.js +0 -6
- package/dist/icons/time/calendar_scroll.js +0 -8
- package/dist/icons/time/clock.js +0 -6
- package/dist/icons/time/clock_history.js +0 -6
- package/dist/icons/time/index.js +0 -19
- package/dist/icons/time/stopwatch.js +0 -6
- package/dist/icons/time/timer.js +0 -6
- package/dist/icons/time/watch.js +0 -6
- package/dist/styles/output.css +0 -1771
- package/dist/types/attributes.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/utils/date.js +0 -98
- package/dist/utils/function.js +0 -1
- package/dist/utils/index.js +0 -2
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { Box, H, P, Modal, Button, Dropdown } from '../..';
|
|
6
|
-
import { Calendar, GraduationCap, Clock, Pin, ForwardBold, StarFilled, Star, EllipsisHorizontal, } from '../../../icons';
|
|
7
|
-
var RSVP;
|
|
8
|
-
(function (RSVP) {
|
|
9
|
-
RSVP["INTERESTED"] = "INTERESTED";
|
|
10
|
-
RSVP["NOT_INTERESTED"] = "NOT_INTERESTED";
|
|
11
|
-
})(RSVP || (RSVP = {}));
|
|
12
|
-
export const MeetingCard = ({ href, image, sx, title, actions, course, startDate, endDate, startTime, endTime, location, shareModal, handleInterestedOnClick, handleNotInterestedOnClick, handleVisibleToConnectionsOnClick, rsvp, dotsActions, }) => {
|
|
13
|
-
const secondaryActions = [];
|
|
14
|
-
!!handleInterestedOnClick &&
|
|
15
|
-
secondaryActions.push({
|
|
16
|
-
value: 'interested',
|
|
17
|
-
label: 'Interested',
|
|
18
|
-
onClick: handleInterestedOnClick,
|
|
19
|
-
icon: React.createElement(StarFilled, { color: "yellow-5" }),
|
|
20
|
-
color: rsvp === RSVP.INTERESTED ? 'primary-blue-2' : undefined,
|
|
21
|
-
});
|
|
22
|
-
!!handleNotInterestedOnClick &&
|
|
23
|
-
secondaryActions.push({
|
|
24
|
-
value: 'notInterested',
|
|
25
|
-
label: 'Not Interested',
|
|
26
|
-
onClick: handleNotInterestedOnClick,
|
|
27
|
-
icon: React.createElement(StarFilled, { color: "red-4" }),
|
|
28
|
-
color: rsvp === RSVP.NOT_INTERESTED ? 'primary-blue-2' : undefined,
|
|
29
|
-
});
|
|
30
|
-
!!handleVisibleToConnectionsOnClick &&
|
|
31
|
-
secondaryActions.push('break', {
|
|
32
|
-
value: 'visibleToConnections',
|
|
33
|
-
label: 'Visible to connections',
|
|
34
|
-
onClick: handleVisibleToConnectionsOnClick,
|
|
35
|
-
});
|
|
36
|
-
return (React.createElement(Wrapper, { "$isLink": !!href, "$sx": sx, as: href ? 'a' : 'div', href: href },
|
|
37
|
-
React.createElement(Figure, null,
|
|
38
|
-
React.createElement(Image, { alt: "", height: 160, quality: 100, src: image, width: 312 }),
|
|
39
|
-
React.createElement(OverlayTopContainer, { id: "overlayTop" }, dotsActions && !!dotsActions.length && (React.createElement(Dropdown, { hasArrow: true, maintainState: false, options: dotsActions, trigger: React.createElement(Button, { icon: React.createElement(EllipsisHorizontal, null), showChevron: false, type: "outlined", size: "small", className: "icon" }), onClick: (e) => e.preventDefault() }))),
|
|
40
|
-
React.createElement(OverlayBottomContainer, { id: "overlayBottom" },
|
|
41
|
-
shareModal && (React.createElement(Modal, null,
|
|
42
|
-
React.createElement(Modal.Trigger, null,
|
|
43
|
-
React.createElement(Button, { icon: React.createElement(ForwardBold, null), type: "outlined", size: "small", onClick: (e) => e.preventDefault(), className: "icon" })),
|
|
44
|
-
React.createElement(Modal.Content, { onClick: (e) => e.preventDefault() }, shareModal))),
|
|
45
|
-
!!secondaryActions.length && (React.createElement(Dropdown, { open: "left", offset: [40, 10], maintainState: false, options: secondaryActions, trigger: React.createElement(Button, { icon: (rsvp === RSVP.INTERESTED && (React.createElement(StarFilled, { sx: "color: var(--color-yellow-5);" }))) ||
|
|
46
|
-
(rsvp === RSVP.NOT_INTERESTED && (React.createElement(StarFilled, { sx: "color: var(--color-red-4);" }))) || React.createElement(Star, null), type: "outlined", size: "small", className: "icon" }), onClick: (e) => e.preventDefault() })))),
|
|
47
|
-
React.createElement(Box, { "$dir": "column", "$padding": 24 },
|
|
48
|
-
React.createElement(H.Eight, { "$textAlign": "center", "$color": "grey-2", "$mediumBold": true }, title),
|
|
49
|
-
React.createElement(MeetingInformation, null,
|
|
50
|
-
course && (React.createElement(Box, { "$align": "center", "$gap": 20 },
|
|
51
|
-
React.createElement(GraduationCap, { color: "grey-6" }),
|
|
52
|
-
React.createElement(P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 }, course))),
|
|
53
|
-
React.createElement(Box, { "$align": "center", "$gap": 20 },
|
|
54
|
-
React.createElement(Calendar, { color: "grey-6" }),
|
|
55
|
-
React.createElement(P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 },
|
|
56
|
-
startDate,
|
|
57
|
-
" - ",
|
|
58
|
-
endDate)),
|
|
59
|
-
React.createElement(Box, { "$align": "center", "$gap": 20 },
|
|
60
|
-
React.createElement(Clock, { color: "grey-6" }),
|
|
61
|
-
React.createElement(P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 },
|
|
62
|
-
startTime,
|
|
63
|
-
" - ",
|
|
64
|
-
endTime)),
|
|
65
|
-
React.createElement(Box, { "$align": "center", "$gap": 20, sx: "max-width: 264px;" },
|
|
66
|
-
React.createElement(Pin, { color: "grey-6" }),
|
|
67
|
-
React.createElement(P, { as: "span", "$color": "grey-3", "$lineHeight": 20, "$fontSize": 14 }, location))),
|
|
68
|
-
React.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 32px; width: 100%;" }, React.Children.toArray(actions)))));
|
|
69
|
-
};
|
|
70
|
-
const Wrapper = styled.div `
|
|
71
|
-
min-width: 312px;
|
|
72
|
-
position: relative;
|
|
73
|
-
display: block;
|
|
74
|
-
text-decoration: none;
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
box-shadow: var(--elevation-1);
|
|
77
|
-
border-radius: 16px;
|
|
78
|
-
background-color: var(--color-white);
|
|
79
|
-
border: 1px solid var(--color-white);
|
|
80
|
-
|
|
81
|
-
&:hover {
|
|
82
|
-
${({ $isLink }) => $isLink ? 'border: 1px solid var(--color-primary-blue-3);' : ''}
|
|
83
|
-
|
|
84
|
-
#overlayBottom {
|
|
85
|
-
opacity: 1;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
#overlayTop {
|
|
89
|
-
opacity: 1;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
img {
|
|
94
|
-
border-radius: 16px 16px 0px 0px;
|
|
95
|
-
height: 160px;
|
|
96
|
-
width: 100%;
|
|
97
|
-
object-fit: cover;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
${({ $sx }) => ($sx ? $sx : '')};
|
|
101
|
-
`;
|
|
102
|
-
const MeetingInformation = styled.div `
|
|
103
|
-
display: flex;
|
|
104
|
-
flex-direction: column;
|
|
105
|
-
gap: 16px;
|
|
106
|
-
margin-top: 16px;
|
|
107
|
-
height: 128px;
|
|
108
|
-
`;
|
|
109
|
-
const Figure = styled.figure `
|
|
110
|
-
position: relative;
|
|
111
|
-
margin: 0;
|
|
112
|
-
`;
|
|
113
|
-
const OverlayBottomContainer = styled.div `
|
|
114
|
-
position: absolute;
|
|
115
|
-
right: 0;
|
|
116
|
-
bottom: 0;
|
|
117
|
-
padding: 0 10px 10px 0;
|
|
118
|
-
opacity: 0;
|
|
119
|
-
display: flex;
|
|
120
|
-
gap: 8px;
|
|
121
|
-
`;
|
|
122
|
-
const OverlayTopContainer = styled.div `
|
|
123
|
-
position: absolute;
|
|
124
|
-
right: 0;
|
|
125
|
-
top: 0;
|
|
126
|
-
padding: 10px 10px 0 0;
|
|
127
|
-
opacity: 0;
|
|
128
|
-
display: flex;
|
|
129
|
-
gap: 8px;
|
|
130
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PersonCard } from './person';
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { Box, Button, Dropdown, H, P } from '../../';
|
|
6
|
-
import { EllipsisHorizontal } from '../../../icons';
|
|
7
|
-
export const PersonCard = ({ actions, dotsActions, href, image, subtitle, sx, title, }) => {
|
|
8
|
-
return (React.createElement(Wrapper, { "$image": image, as: href ? 'a' : 'div', href: href },
|
|
9
|
-
React.createElement(Person, { "$sx": sx },
|
|
10
|
-
dotsActions && !!dotsActions.length && (React.createElement(Dropdown, { containerSx: "", hasArrow: true, maintainState: false, onClick: (e) => e.preventDefault(), options: dotsActions, sx: "position: absolute; top: 8px; right: 8px; z-index: 24; display: none;", trigger: React.createElement(Button, { className: "icon", icon: React.createElement(EllipsisHorizontal, null), onClick: (event) => event.stopPropagation(), showChevron: false, size: "small", type: "outlined" }) })),
|
|
11
|
-
React.createElement(Image, { alt: "", height: 400, quality: 100, src: image, width: 312 }),
|
|
12
|
-
React.createElement(Shadow, null),
|
|
13
|
-
React.createElement(Figcaption, null,
|
|
14
|
-
React.createElement(H, { as: "span", "$bold": true, "$color": "white", "$fontSize": 24, "$lineHeight": 36 }, title),
|
|
15
|
-
React.createElement(P, { as: "span", "$color": "white", "$fontSize": 14, "$lineHeight": 20 }, subtitle),
|
|
16
|
-
actions && (React.createElement(Box, { "$display": "flex", "$dir": "row", "$gap": 8, sx: "margin-top: 16px;" }, React.Children.toArray(actions)))))));
|
|
17
|
-
};
|
|
18
|
-
const Wrapper = styled.div `
|
|
19
|
-
width: 312px;
|
|
20
|
-
height: 400px;
|
|
21
|
-
display: block;
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
|
|
25
|
-
img {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0px;
|
|
28
|
-
left: 0px;
|
|
29
|
-
width: 100%;
|
|
30
|
-
height: 100%;
|
|
31
|
-
border-radius: 16px;
|
|
32
|
-
object-fit: cover;
|
|
33
|
-
}
|
|
34
|
-
`;
|
|
35
|
-
const Shadow = styled.div `
|
|
36
|
-
border-radius: 16px;
|
|
37
|
-
position: absolute;
|
|
38
|
-
top: 0px;
|
|
39
|
-
left: 0px;
|
|
40
|
-
right: 0px;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
background: linear-gradient(180deg, rgba(0, 0, 0, 0) 66.67%, #000 98.25%),
|
|
44
|
-
transparent 50% / cover no-repeat;
|
|
45
|
-
`;
|
|
46
|
-
const Person = styled.figure `
|
|
47
|
-
position: relative;
|
|
48
|
-
width: 100%;
|
|
49
|
-
height: 100%;
|
|
50
|
-
margin: 0px;
|
|
51
|
-
border-radius: 16px;
|
|
52
|
-
display: flex;
|
|
53
|
-
justify-content: flex-end;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
|
|
56
|
-
&:hover > div {
|
|
57
|
-
display: initial;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
${({ $sx }) => ($sx ? $sx : '')};
|
|
61
|
-
`;
|
|
62
|
-
const Figcaption = styled.figcaption `
|
|
63
|
-
position: relative;
|
|
64
|
-
width: 100%;
|
|
65
|
-
box-sizing: border-box;
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
padding: 16px 24px;
|
|
69
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PriceCard } from './price';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import styled from 'styled-components';
|
|
4
|
-
import { Box, Button, H, P, Dropdown } from '../../';
|
|
5
|
-
import { Checkmark, EllipsisHorizontal } from '../../../icons';
|
|
6
|
-
export const PriceCard = ({ actions, content, dotsActions, featureTitle, features, label, price, title, }) => {
|
|
7
|
-
const id = React.useId();
|
|
8
|
-
return (React.createElement(Price, null,
|
|
9
|
-
dotsActions && !!dotsActions.length && (React.createElement(Dropdown, { className: "dot-dropdown", hasArrow: true, maintainState: false, offset: [0, 32], options: dotsActions, sx: `
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 6px;
|
|
12
|
-
right: 6px;
|
|
13
|
-
display: none;
|
|
14
|
-
`, trigger: React.createElement(Button, { icon: React.createElement(EllipsisHorizontal, null), showChevron: false, type: "outlined", size: "small", className: "icon" }), onClick: (e) => e.preventDefault() })),
|
|
15
|
-
label && (React.createElement(Box, { "$justify": "center", sx: `
|
|
16
|
-
width: 100%;
|
|
17
|
-
position: absolute;
|
|
18
|
-
z-index: -1;
|
|
19
|
-
top: -33px;` },
|
|
20
|
-
React.createElement(Label, null,
|
|
21
|
-
React.createElement(P, { as: "span", "$fontSize": 12, "$lineHeight": 16, "$mediumBold": true, "$textClampLines": 1 }, label)))),
|
|
22
|
-
React.createElement(Box, { "$align": "stretch", "$display": "flex", "$dir": "column", "$gap": 24, sx: `
|
|
23
|
-
padding: 24px 48px;
|
|
24
|
-
background-color: var(--color-grey-10);
|
|
25
|
-
border-radius: 16px 16px 0px 0px;
|
|
26
|
-
` },
|
|
27
|
-
React.createElement(H, { as: "h6", "$fontSize": 24, "$lineHeight": 36, "$semiBold": true, "$textAlign": "center" }, title),
|
|
28
|
-
React.createElement(Box, { "$dir": "column" },
|
|
29
|
-
React.createElement(H, { as: "p", "$bold": true, "$fontSize": 32, "$lineHeight": 48, "$textClampLines": 5, "$textAlign": "center" }, price),
|
|
30
|
-
React.createElement(P, { as: "span", "$color": "grey-4", "$textAlign": "center" }, "/month")),
|
|
31
|
-
actions),
|
|
32
|
-
React.createElement(Box, { sx: "padding: 16px 24px; position: relative;", "$display": "flex", "$dir": "column" },
|
|
33
|
-
React.createElement(P, { sx: "padding: 16px 0px;" }, content),
|
|
34
|
-
React.createElement(Divider, null),
|
|
35
|
-
React.createElement(Box, { sx: "padding: 16px 0px;", "$dir": "column", "$gap": 8 },
|
|
36
|
-
React.createElement(P, { "$color": "grey-2", "$mediumBold": true }, featureTitle),
|
|
37
|
-
features.map((item, index) => (React.createElement(Box, { key: id + index.toString(36), "$align": "center", "$gap": 12 },
|
|
38
|
-
React.createElement(Checkmark, { color: "green-5", sx: "padding: 2px; border-radius: 50%; background-color: var(--color-green-9);" }),
|
|
39
|
-
React.createElement(P, { "$fontSize": 14, "$lineHeight": 20 }, item))))))));
|
|
40
|
-
};
|
|
41
|
-
const Price = styled.figure `
|
|
42
|
-
position: relative;
|
|
43
|
-
z-index: 1;
|
|
44
|
-
margin: 0px;
|
|
45
|
-
padding: 0px;
|
|
46
|
-
width: 280px;
|
|
47
|
-
height: fit-content;
|
|
48
|
-
border-radius: 16px;
|
|
49
|
-
box-shadow: var(--elevation-2);
|
|
50
|
-
user-select: none;
|
|
51
|
-
border: 1px solid transparent;
|
|
52
|
-
|
|
53
|
-
&:hover {
|
|
54
|
-
border: 1px solid var(--color-primary-blue-3);
|
|
55
|
-
|
|
56
|
-
.dot-dropdown {
|
|
57
|
-
display: flex;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
`;
|
|
61
|
-
const Label = styled.div `
|
|
62
|
-
max-width: calc(100% - 32px);
|
|
63
|
-
box-sizing: border-box;
|
|
64
|
-
padding: 8px 24px;
|
|
65
|
-
border-radius: 16px 16px 0px 0px;
|
|
66
|
-
background-color: var(--color-grey-10);
|
|
67
|
-
box-shadow: var(--elevation-2);
|
|
68
|
-
border-bottom: 1px solid var(--color-grey-9);
|
|
69
|
-
`;
|
|
70
|
-
const Divider = styled.div `
|
|
71
|
-
height: 1px;
|
|
72
|
-
width: 100%;
|
|
73
|
-
box-sizing: border-box;
|
|
74
|
-
background-color: var(--color-grey-9);
|
|
75
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RegularCard } from './regular';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { Box } from '../../';
|
|
6
|
-
export const RegularCard = ({ children, href, image, sx, }) => {
|
|
7
|
-
return (React.createElement(Wrapper, { "$isLink": !!href, "$sx": sx, as: href ? 'a' : 'div', href: href },
|
|
8
|
-
React.createElement(Image, { alt: "", height: 352, quality: 100, src: image, width: 352 }),
|
|
9
|
-
React.createElement(Box, { "$dir": "column", "$padding": 24 }, children)));
|
|
10
|
-
};
|
|
11
|
-
const Wrapper = styled.div `
|
|
12
|
-
position: relative;
|
|
13
|
-
display: block;
|
|
14
|
-
text-decoration: none;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
box-shadow: var(--elevation-1);
|
|
17
|
-
border-radius: 16px;
|
|
18
|
-
background-color: var(--color-white);
|
|
19
|
-
|
|
20
|
-
${({ $isLink }) => $isLink
|
|
21
|
-
? `
|
|
22
|
-
&:hover {
|
|
23
|
-
border: 1px solid var(--color-primary-blue-3);
|
|
24
|
-
}`
|
|
25
|
-
: ''}
|
|
26
|
-
|
|
27
|
-
img {
|
|
28
|
-
border-radius: 16px 16px 0px 0px;
|
|
29
|
-
object-fit: cover;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
${({ $sx }) => ($sx ? $sx : '')};
|
|
33
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { VideoEpisodeCard } from './video';
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { PurchaseTextWrapper } from '../card';
|
|
6
|
-
import { Box, H, P, Rate } from '../../';
|
|
7
|
-
import { CartFilled } from '../../../icons/shopping/cart_filled';
|
|
8
|
-
export const VideoEpisodeCard = ({ actions, actionDropdown, content, cta, href, image, logo, numRating, purchaseText, rating, subtitle, supportLabel, sx, title, }) => {
|
|
9
|
-
const hasLogo = !!logo;
|
|
10
|
-
return (React.createElement(Wrapper, { "$sx": sx, href: href, "$hasPurchaseText": !!purchaseText },
|
|
11
|
-
React.createElement(Figure, null,
|
|
12
|
-
actionDropdown && React.createElement(DropdownWrapper, null, actionDropdown),
|
|
13
|
-
!!purchaseText && (React.createElement(PurchaseTextWrapper, { className: "not-hover" },
|
|
14
|
-
React.createElement(CartFilled, { color: "yellow-5", size: 24 }),
|
|
15
|
-
React.createElement(P, { "$bold": true, "$color": "white" }, purchaseText))),
|
|
16
|
-
React.createElement(Image, { alt: "", className: "thumbnail", height: 213, quality: 100, src: image, width: 379 }),
|
|
17
|
-
React.createElement(Figcaption, null,
|
|
18
|
-
React.createElement(Box, { "$display": "block", className: "hidden" }, cta),
|
|
19
|
-
React.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 16 },
|
|
20
|
-
logo,
|
|
21
|
-
React.createElement(Box, { "$dir": "column", "$gap": 4 },
|
|
22
|
-
React.createElement(H, { "$color": "grey-2", "$semiBold": true, "$fontSize": hasLogo ? 18 : 16 }, title),
|
|
23
|
-
React.createElement(P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle)),
|
|
24
|
-
supportLabel && (React.createElement(P, { className: "not-hover", "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16, sx: "margin-left: auto; align-self: flex-end; margin-bottom: 2.5px;" }, supportLabel))),
|
|
25
|
-
React.createElement(P, { "$color": "grey-5", "$fontSize": 14, "$lineHeight": 20, "$mediumBold": true, "$textClampLines": 4, className: "hidden" }, content),
|
|
26
|
-
React.createElement(Box, { className: "hidden", "$align": "center", "$dir": "row" },
|
|
27
|
-
React.createElement(Rate, { isRateable: false, percent: rating, size: "small" }),
|
|
28
|
-
React.createElement(P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16, sx: "margin: 0px auto 0px 4px;" },
|
|
29
|
-
"(",
|
|
30
|
-
numRating,
|
|
31
|
-
")"),
|
|
32
|
-
React.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React.Children.toArray(actions)))))));
|
|
33
|
-
};
|
|
34
|
-
const Wrapper = styled.a `
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
display: block;
|
|
37
|
-
position: relative;
|
|
38
|
-
z-index: 1;
|
|
39
|
-
user-select: none;
|
|
40
|
-
position: relative;
|
|
41
|
-
height: 288px;
|
|
42
|
-
width: 379px;
|
|
43
|
-
transition: transform 0.3s;
|
|
44
|
-
|
|
45
|
-
figure {
|
|
46
|
-
transition: width 0.3s;
|
|
47
|
-
width: 379px;
|
|
48
|
-
${({ $hasPurchaseText }) => $hasPurchaseText
|
|
49
|
-
? 'background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 25.1px, rgba(0, 0, 0, 0.00) 56px);'
|
|
50
|
-
: ''}
|
|
51
|
-
|
|
52
|
-
img {
|
|
53
|
-
box-shadow: var(--elevation-3);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.hidden {
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&:hover {
|
|
62
|
-
transform: translate(-13px, -55px);
|
|
63
|
-
z-index: 6;
|
|
64
|
-
|
|
65
|
-
.hidden {
|
|
66
|
-
display: -webkit-box;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.not-hover {
|
|
70
|
-
display: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.thumbnail {
|
|
74
|
-
border-radius: 16px 16px 0px 0px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
figure {
|
|
78
|
-
position: absolute;
|
|
79
|
-
width: 406px;
|
|
80
|
-
box-shadow: var(--elevation-3);
|
|
81
|
-
background: linear-gradient(
|
|
82
|
-
0deg,
|
|
83
|
-
#ffffff 50%,
|
|
84
|
-
rgba(255, 255, 255, 0.85) 55%,
|
|
85
|
-
rgba(255, 255, 255, 0.1) 80%
|
|
86
|
-
);
|
|
87
|
-
|
|
88
|
-
img {
|
|
89
|
-
box-shadow: none;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
figcaption {
|
|
94
|
-
margin-top: -40px;
|
|
95
|
-
padding: 24px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
${({ $sx }) => ($sx ? $sx : '')};
|
|
100
|
-
`;
|
|
101
|
-
const Figure = styled.figure `
|
|
102
|
-
max-width: 410px;
|
|
103
|
-
width: max-content;
|
|
104
|
-
margin: 0px;
|
|
105
|
-
border-radius: 16px;
|
|
106
|
-
|
|
107
|
-
.thumbnail {
|
|
108
|
-
position: relative;
|
|
109
|
-
object-fit: cover;
|
|
110
|
-
z-index: -1;
|
|
111
|
-
width: 100%;
|
|
112
|
-
aspect-ratio: 379 / 213;
|
|
113
|
-
height: 225px;
|
|
114
|
-
border-radius: 16px;
|
|
115
|
-
}
|
|
116
|
-
`;
|
|
117
|
-
const Figcaption = styled.figcaption `
|
|
118
|
-
display: flex;
|
|
119
|
-
flex-flow: column nowrap;
|
|
120
|
-
gap: 8px;
|
|
121
|
-
padding: 8px;
|
|
122
|
-
`;
|
|
123
|
-
const DropdownWrapper = styled.div `
|
|
124
|
-
position: absolute;
|
|
125
|
-
top: 8px;
|
|
126
|
-
right: 8px;
|
|
127
|
-
`;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WrittenEpisodeCard } from './written';
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import Image from 'next/image';
|
|
4
|
-
import styled from 'styled-components';
|
|
5
|
-
import { PurchaseTextWrapper } from '../card';
|
|
6
|
-
import { Box, H, P, Rate } from '../../';
|
|
7
|
-
import { CartFilled } from '../../../icons/shopping/cart_filled';
|
|
8
|
-
export const WrittenEpisodeCard = ({ actions, actionDropdown, content, cta, href, image, logo, numRating, purchaseText, rating, subtitle, supportLabel, sx, title, }) => {
|
|
9
|
-
const hasLogo = !!logo;
|
|
10
|
-
return (React.createElement(Wrapper, { "$sx": sx, href: href, "$hasPurchaseText": !!purchaseText },
|
|
11
|
-
React.createElement(Figure, null,
|
|
12
|
-
actionDropdown && React.createElement(DropdownWrapper, null, actionDropdown),
|
|
13
|
-
!!purchaseText && (React.createElement(PurchaseTextWrapper, { className: "not-hover" },
|
|
14
|
-
React.createElement(CartFilled, { color: "yellow-5", size: 24, sx: "flex-shrink: 0;" }),
|
|
15
|
-
React.createElement(P, { "$bold": true, "$color": "white" }, purchaseText))),
|
|
16
|
-
React.createElement(Image, { alt: "", className: "thumbnail", height: 228, quality: 100, src: image, width: 176 }),
|
|
17
|
-
React.createElement(Figcaption, null,
|
|
18
|
-
React.createElement(Box, { "$display": "block", className: "hidden" }, cta),
|
|
19
|
-
React.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 16 },
|
|
20
|
-
logo,
|
|
21
|
-
React.createElement(Box, { "$dir": "column", "$gap": 4 },
|
|
22
|
-
React.createElement(H, { "$color": "grey-2", "$semiBold": true, "$fontSize": hasLogo ? 18 : 16 }, title),
|
|
23
|
-
React.createElement(P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16 }, subtitle)),
|
|
24
|
-
supportLabel && (React.createElement(P, { className: "not-hover", "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16, sx: "margin-left: auto; align-self: flex-end; margin-bottom: 2.5px;" }, supportLabel))),
|
|
25
|
-
React.createElement(P, { "$color": "grey-5", "$fontSize": 14, "$lineHeight": 20, "$mediumBold": true, "$textClampLines": 6, className: "hidden inline" }, content),
|
|
26
|
-
React.createElement(Box, { className: "hidden", "$align": "center", "$dir": "row" },
|
|
27
|
-
React.createElement(Rate, { isRateable: false, percent: rating, size: "small" }),
|
|
28
|
-
React.createElement(P, { "$color": "grey-4", "$fontSize": 12, "$lineHeight": 16, sx: "margin: 0px auto 0px 4px;" },
|
|
29
|
-
"(",
|
|
30
|
-
numRating,
|
|
31
|
-
")"),
|
|
32
|
-
React.createElement(Box, { "$align": "center", "$dir": "row", "$gap": 8 }, React.Children.toArray(actions)))))));
|
|
33
|
-
};
|
|
34
|
-
const Wrapper = styled.a `
|
|
35
|
-
cursor: pointer;
|
|
36
|
-
display: block;
|
|
37
|
-
position: relative;
|
|
38
|
-
z-index: 1;
|
|
39
|
-
user-select: none;
|
|
40
|
-
aspect-ratio: 149 / 275;
|
|
41
|
-
height: 288px;
|
|
42
|
-
transition: transform 0.3s;
|
|
43
|
-
|
|
44
|
-
figure {
|
|
45
|
-
transition: width 0.3s;
|
|
46
|
-
width: 100%;
|
|
47
|
-
${({ $hasPurchaseText }) => $hasPurchaseText
|
|
48
|
-
? 'background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 25.1px, rgba(0, 0, 0, 0.00) 56px);'
|
|
49
|
-
: ''}
|
|
50
|
-
|
|
51
|
-
img {
|
|
52
|
-
box-shadow: var(--elevation-3);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.hidden {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:hover {
|
|
61
|
-
transform: translate(-65px, -55px);
|
|
62
|
-
z-index: 6;
|
|
63
|
-
|
|
64
|
-
.hidden {
|
|
65
|
-
display: flex;
|
|
66
|
-
|
|
67
|
-
&.inline {
|
|
68
|
-
display: -webkit-box;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.not-hover {
|
|
73
|
-
display: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.thumbnail {
|
|
77
|
-
border-radius: 16px 16px 0px 0px;
|
|
78
|
-
aspect-ratio: 228 / 228;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
figure {
|
|
82
|
-
position: absolute;
|
|
83
|
-
width: 280px;
|
|
84
|
-
aspect-ratio: 280 / 434;
|
|
85
|
-
box-shadow: var(--elevation-3);
|
|
86
|
-
background: linear-gradient(
|
|
87
|
-
0deg,
|
|
88
|
-
#ffffff 50%,
|
|
89
|
-
rgba(255, 255, 255, 0.85) 55%,
|
|
90
|
-
rgba(255, 255, 255, 0.1) 80%
|
|
91
|
-
);
|
|
92
|
-
|
|
93
|
-
img {
|
|
94
|
-
box-shadow: none;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
figcaption {
|
|
99
|
-
margin-top: -80px;
|
|
100
|
-
padding: 24px;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
${({ $sx }) => ($sx ? $sx : '')};
|
|
105
|
-
`;
|
|
106
|
-
const Figure = styled.figure `
|
|
107
|
-
margin: 0px;
|
|
108
|
-
border-radius: 16px;
|
|
109
|
-
|
|
110
|
-
.thumbnail {
|
|
111
|
-
border-radius: 16px;
|
|
112
|
-
object-fit: cover;
|
|
113
|
-
position: relative;
|
|
114
|
-
z-index: -1;
|
|
115
|
-
width: 100%;
|
|
116
|
-
height: 225px;
|
|
117
|
-
aspect-ratio: 149 / 213;
|
|
118
|
-
}
|
|
119
|
-
`;
|
|
120
|
-
const Figcaption = styled.figcaption `
|
|
121
|
-
display: flex;
|
|
122
|
-
flex-flow: column nowrap;
|
|
123
|
-
gap: 8px;
|
|
124
|
-
padding: 8px;
|
|
125
|
-
`;
|
|
126
|
-
const DropdownWrapper = styled.div `
|
|
127
|
-
position: absolute;
|
|
128
|
-
top: 8px;
|
|
129
|
-
right: 8px;
|
|
130
|
-
`;
|