@soul-refiner/design-system 2.5.0-alpha.4 → 2.5.0-alpha.6
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/common/colors.js +135 -1
- package/dist/common/date.js +28 -1
- package/dist/common/index.js +3 -0
- package/dist/common/styles.js +59 -30
- package/dist/components/actions/button/button.js +118 -38
- package/dist/components/actions/button/index.js +1 -0
- package/dist/components/actions/dropdown/dropdown.js +169 -22
- package/dist/components/actions/dropdown/index.js +1 -0
- package/dist/components/actions/index.js +6 -0
- package/dist/components/actions/rate/index.js +1 -0
- package/dist/components/actions/rate/rate.js +47 -5
- package/dist/components/actions/switch/index.js +1 -0
- package/dist/components/actions/switch/switch.js +31 -6
- package/dist/components/actions/toggle/index.js +1 -0
- package/dist/components/actions/toggle/toggle.js +25 -7
- package/dist/components/actions/upload/index.js +1 -0
- package/dist/components/actions/upload/upload.js +146 -10
- package/dist/components/actions/upload/validations.js +143 -1
- package/dist/components/atoms/box/box.js +16 -12
- package/dist/components/atoms/box/index.js +1 -0
- package/dist/components/atoms/colors/colors.js +36 -0
- package/dist/components/atoms/colors/index.js +1 -0
- package/dist/components/atoms/hide/hide.js +9 -1
- package/dist/components/atoms/hide/index.js +1 -0
- package/dist/components/atoms/index.js +5 -0
- package/dist/components/atoms/seconds_to_duration/index.js +1 -0
- package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +27 -1
- package/dist/components/atoms/time_ago/index.js +1 -0
- package/dist/components/atoms/time_ago/time_ago.js +31 -2
- package/dist/components/atoms/typography/display.js +10 -6
- package/dist/components/atoms/typography/heading.js +35 -7
- package/dist/components/atoms/typography/index.js +4 -0
- package/dist/components/atoms/typography/paragraph.js +16 -12
- package/dist/components/atoms/typography/typography.js +10 -8
- package/dist/components/card/action/action.js +32 -9
- package/dist/components/card/action/index.js +1 -0
- package/dist/components/card/audio/audio.js +49 -8
- package/dist/components/card/audio/index.js +1 -0
- package/dist/components/card/card.js +25 -2
- package/dist/components/card/feature/feature.js +77 -15
- package/dist/components/card/feature/index.js +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/card/meeting/index.js +1 -0
- package/dist/components/card/meeting/meeting.js +93 -9
- package/dist/components/card/person/index.js +1 -0
- package/dist/components/card/person/person.js +30 -7
- package/dist/components/card/price/index.js +1 -0
- package/dist/components/card/price/price.js +45 -11
- package/dist/components/card/regular/index.js +1 -0
- package/dist/components/card/regular/regular.js +17 -6
- package/dist/components/card/styles.js +5 -3
- package/dist/components/card/video/index.js +1 -0
- package/dist/components/card/video/video.js +48 -8
- package/dist/components/card/written/index.js +1 -0
- package/dist/components/card/written/written.js +48 -8
- package/dist/components/custom/courses_selection/courses_selection.js +95 -13
- package/dist/components/custom/courses_selection/index.js +1 -0
- package/dist/components/custom/index.js +2 -0
- package/dist/components/custom/users_selection/index.js +1 -0
- package/dist/components/custom/users_selection/users_selection.js +77 -13
- package/dist/components/editor/constants.js +49 -1
- package/dist/components/editor/context.js +8 -1
- package/dist/components/editor/editor.js +34 -3
- package/dist/components/editor/icons/border-all.js +3 -1
- package/dist/components/editor/icons/border-bottom.js +3 -1
- package/dist/components/editor/icons/border-left.js +3 -1
- package/dist/components/editor/icons/border-none.js +3 -1
- package/dist/components/editor/icons/border-right.js +3 -1
- package/dist/components/editor/icons/border-top.js +3 -1
- package/dist/components/editor/icons/index.js +6 -0
- package/dist/components/editor/index.js +2 -0
- package/dist/components/editor/navbar/alignment_dropdown.js +97 -1
- package/dist/components/editor/navbar/button_modal.js +52 -3
- package/dist/components/editor/navbar/index.js +1 -0
- package/dist/components/editor/navbar/navbar.js +176 -7
- package/dist/components/editor/navbar/style_dropdown.js +72 -1
- package/dist/components/editor/plugins/blocks/blockquote.js +8 -1
- package/dist/components/editor/plugins/blocks/blocks.js +55 -1
- package/dist/components/editor/plugins/blocks/buttons.js +62 -8
- package/dist/components/editor/plugins/blocks/dropdown-menu.js +62 -2
- package/dist/components/editor/plugins/blocks/image.js +53 -1
- package/dist/components/editor/plugins/blocks/index.js +1 -0
- package/dist/components/editor/plugins/blocks/list.js +11 -2
- package/dist/components/editor/plugins/blocks/media-popover.js +34 -1
- package/dist/{src/components → components}/editor/plugins/blocks/plate-button.d.ts +4 -4
- package/dist/components/editor/plugins/blocks/plate-button.js +37 -1
- package/dist/components/editor/plugins/blocks/popover.js +11 -2
- package/dist/components/editor/plugins/blocks/qa.js +68 -3
- package/dist/{src/components → components}/editor/plugins/blocks/resizable.d.ts +1 -1
- package/dist/components/editor/plugins/blocks/resizable.js +37 -2
- package/dist/components/editor/plugins/blocks/separator.js +19 -2
- package/dist/components/editor/plugins/blocks/table-cell.js +38 -1
- package/dist/components/editor/plugins/blocks/table-row.js +7 -1
- package/dist/components/editor/plugins/blocks/table.js +93 -1
- package/dist/components/editor/plugins/blocks/text.js +82 -1
- package/dist/components/editor/plugins/blocks/video.js +33 -1
- package/dist/components/editor/plugins/index.js +4 -0
- package/dist/components/editor/plugins/leafs/index.js +1 -0
- package/dist/components/editor/plugins/leafs/leafs.js +39 -1
- package/dist/components/editor/plugins/leafs/link.js +45 -4
- package/dist/components/editor/plugins/marks/index.js +1 -0
- package/dist/components/editor/plugins/marks/marks.d.ts +1 -0
- package/dist/components/editor/plugins/marks/marks.js +12 -1
- package/dist/{src/components → components}/editor/plugins/plate.d.ts +2 -2
- package/dist/components/editor/plugins/plate.js +44 -1
- package/dist/components/editor/plugins/utils/exitBreak.js +36 -1
- package/dist/components/editor/plugins/utils/index.js +1 -0
- package/dist/components/editor/plugins/utils/resetBlockType.js +24 -1
- package/dist/components/editor/plugins/utils/selectOnBackspace.js +8 -1
- package/dist/components/editor/plugins/utils/softBreak.js +14 -1
- package/dist/components/editor/plugins/utils/utils.d.ts +1 -0
- package/dist/components/editor/plugins/utils/utils.js +12 -1
- package/dist/components/editor/simple_editor/index.js +1 -0
- package/dist/components/editor/simple_editor/navbar.js +106 -4
- package/dist/components/editor/simple_editor/plugins.js +102 -1
- package/dist/{src/components → components}/editor/simple_editor/simple_editor.d.ts +1 -1
- package/dist/components/editor/simple_editor/simple_editor.js +59 -5
- package/dist/components/editor/styles/menu_button.js +5 -4
- package/dist/components/feedback/animated_toast/animated_toast.js +24 -4
- package/dist/components/feedback/animated_toast/index.js +1 -0
- package/dist/components/feedback/badge/badge.js +48 -8
- package/dist/components/feedback/badge/index.js +1 -0
- package/dist/components/feedback/banner/banner.js +53 -8
- package/dist/components/feedback/banner/index.js +1 -0
- package/dist/components/feedback/chip/chip.js +73 -9
- package/dist/components/feedback/chip/index.js +1 -0
- package/dist/components/feedback/index.js +8 -0
- package/dist/components/feedback/loader/index.js +1 -0
- package/dist/components/feedback/loader/loader.js +24 -10
- package/dist/components/feedback/notification/index.js +1 -0
- package/dist/components/feedback/notification/notification.js +52 -8
- package/dist/components/feedback/progress/index.js +1 -0
- package/dist/components/feedback/progress/progress.js +68 -15
- package/dist/components/feedback/toast/index.js +1 -0
- package/dist/components/feedback/toast/toast.js +48 -9
- package/dist/components/feedback/tooltip/index.js +1 -0
- package/dist/components/feedback/tooltip/tooltip.js +26 -2
- package/dist/components/iconography/avatar/avatar.js +138 -23
- package/dist/components/iconography/avatar/icons/approved.js +5 -1
- package/dist/components/iconography/avatar/icons/busy.js +5 -1
- package/dist/components/iconography/avatar/icons/declined.js +5 -1
- package/dist/components/iconography/avatar/icons/default.js +4 -1
- package/dist/components/iconography/avatar/icons/focus.js +5 -1
- package/dist/components/iconography/avatar/icons/index.js +10 -0
- package/dist/components/iconography/avatar/icons/ispaid.js +8 -1
- package/dist/components/iconography/avatar/icons/locked.js +5 -1
- package/dist/components/iconography/avatar/icons/offline.js +5 -1
- package/dist/components/iconography/avatar/icons/online.js +4 -1
- package/dist/components/iconography/avatar/icons/subscribed.js +9 -1
- package/dist/components/iconography/avatar/index.js +1 -0
- package/dist/components/iconography/icon/icon.js +10 -4
- package/dist/components/iconography/icon/index.js +1 -0
- package/dist/components/iconography/index.js +2 -0
- package/dist/components/index.js +12 -0
- package/dist/components/input/calendar/calendar.js +137 -14
- package/dist/components/input/calendar/index.js +1 -0
- package/dist/components/input/checkbox/checkbox.js +16 -7
- package/dist/components/input/checkbox/index.js +1 -0
- package/dist/components/input/date/date.js +236 -14
- package/dist/components/input/date/index.js +1 -0
- package/dist/components/input/filter/filter.js +210 -19
- package/dist/components/input/filter/filter_option.js +44 -10
- package/dist/components/input/filter/index.js +1 -0
- package/dist/components/input/index.js +11 -0
- package/dist/components/input/radio/index.js +1 -0
- package/dist/components/input/radio/radio.js +38 -8
- package/dist/components/input/search/index.js +1 -0
- package/dist/components/input/search/search.js +77 -20
- package/dist/components/input/select/index.js +1 -0
- package/dist/components/input/select/select.js +19 -7
- package/dist/components/input/text_area/index.js +1 -0
- package/dist/components/input/text_area/text_area.js +52 -16
- package/dist/components/input/text_input/index.js +1 -0
- package/dist/components/input/text_input/text_input.js +103 -29
- package/dist/components/input/time/index.js +1 -0
- package/dist/components/input/time/time.js +39 -4
- package/dist/components/input/time_input/index.js +1 -0
- package/dist/components/input/time_input/time_input.js +9 -2
- package/dist/components/media/audio/index.js +1 -0
- package/dist/components/media/audio/progress-bar.js +27 -4
- package/dist/components/media/audio-player/audio-player.js +77 -3
- package/dist/components/media/audio-player/index.js +1 -0
- package/dist/components/media/audio-playlist/audio-playlist.js +52 -10
- package/dist/components/media/audio-playlist/index.js +1 -0
- package/dist/components/media/audio-playlist/playlist-item.js +37 -5
- package/dist/components/media/audio-preview/audio-preview.js +74 -7
- package/dist/components/media/audio-preview/index.js +1 -0
- package/dist/components/media/common.js +1 -0
- package/dist/components/media/constants.js +4 -1
- package/dist/components/media/index.js +5 -0
- package/dist/components/media/video/index.js +1 -0
- package/dist/components/media/video/video.js +32 -1
- package/dist/components/media/video-player/index.js +1 -0
- package/dist/components/media/video-player/playlist-item.js +33 -6
- package/dist/components/media/video-player/video.js +168 -21
- package/dist/components/navigation/breadcrumb/breadcrumb.js +58 -12
- package/dist/components/navigation/breadcrumb/index.js +1 -0
- package/dist/components/navigation/index.js +3 -0
- package/dist/components/navigation/inner/index.js +1 -0
- package/dist/components/navigation/inner/inner.js +122 -14
- package/dist/components/navigation/tabs/index.js +1 -0
- package/dist/components/navigation/tabs/tabs.js +121 -21
- package/dist/components/surfaces/accordion/accordion.js +42 -6
- package/dist/components/surfaces/accordion/index.js +1 -0
- package/dist/components/surfaces/calendar_date/calendar_date.js +31 -11
- package/dist/components/surfaces/calendar_date/index.js +1 -0
- package/dist/components/surfaces/carousel/card/card.js +47 -8
- package/dist/components/surfaces/carousel/card/index.js +1 -0
- package/dist/components/surfaces/carousel/index.js +1 -0
- package/dist/components/surfaces/comment/comment.js +137 -21
- package/dist/components/surfaces/comment/helpers.js +26 -1
- package/dist/components/surfaces/comment/index.js +1 -0
- package/dist/components/surfaces/discuss_post/discuss_post.js +112 -21
- package/dist/components/surfaces/discuss_post/helpers.js +11 -1
- package/dist/components/surfaces/discuss_post/index.js +1 -0
- package/dist/components/surfaces/drawer/drawer.js +67 -8
- package/dist/components/surfaces/drawer/index.js +1 -0
- package/dist/components/surfaces/index.js +10 -0
- package/dist/components/surfaces/message/index.js +1 -0
- package/dist/components/surfaces/message/message.js +31 -5
- package/dist/components/surfaces/modal/index.js +1 -0
- package/dist/components/surfaces/modal/modal.js +92 -9
- package/dist/components/surfaces/portal/index.js +1 -0
- package/dist/components/surfaces/portal/portal.js +26 -2
- package/dist/components/surfaces/post/index.js +1 -0
- package/dist/components/surfaces/post/post.js +151 -20
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/table/index.js +1 -0
- package/dist/components/table/table/table.js +113 -30
- package/dist/emoji/emojis.json +17577 -0
- package/dist/icons/arrow/arrow_all.js +6 -1
- package/dist/icons/arrow/arrow_all_diagonal.js +6 -1
- package/dist/icons/arrow/arrow_both_downwards.js +6 -1
- package/dist/icons/arrow/arrow_both_upwards.js +6 -1
- package/dist/icons/arrow/arrow_circle_left.js +6 -1
- package/dist/icons/arrow/arrow_circle_left_double.js +6 -1
- package/dist/icons/arrow/arrow_circle_left_double_alert.js +8 -1
- package/dist/icons/arrow/arrow_circle_right.js +6 -1
- package/dist/icons/arrow/arrow_circle_right_double.js +6 -1
- package/dist/icons/arrow/arrow_circle_right_double_alert.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_down_left.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_down_right.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_up_left.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_up_right.js +6 -1
- package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +6 -1
- package/dist/icons/arrow/arrow_down.js +6 -1
- package/dist/icons/arrow/arrow_down_bold.js +6 -1
- package/dist/icons/arrow/arrow_down_circle.js +6 -1
- package/dist/icons/arrow/arrow_left.js +6 -1
- package/dist/icons/arrow/arrow_left_bold.js +6 -1
- package/dist/icons/arrow/arrow_left_circle.js +6 -1
- package/dist/icons/arrow/arrow_left_curved.js +6 -1
- package/dist/icons/arrow/arrow_left_curved_circle.js +6 -1
- package/dist/icons/arrow/arrow_right.js +6 -1
- package/dist/icons/arrow/arrow_right_bold.js +6 -1
- package/dist/icons/arrow/arrow_right_circle.js +6 -1
- package/dist/icons/arrow/arrow_right_curved.js +6 -1
- package/dist/icons/arrow/arrow_right_curved_circle.js +6 -1
- package/dist/icons/arrow/arrow_up.js +6 -1
- package/dist/icons/arrow/arrow_up_bold.js +6 -1
- package/dist/icons/arrow/arrow_up_circle.js +6 -1
- package/dist/icons/arrow/chevron_down.js +6 -1
- package/dist/icons/arrow/chevron_down_circle.js +6 -1
- package/dist/icons/arrow/chevron_down_double.js +6 -1
- package/dist/icons/arrow/chevron_down_double_circle.js +6 -1
- package/dist/icons/arrow/chevron_left.js +6 -1
- package/dist/icons/arrow/chevron_left_circle.js +6 -1
- package/dist/icons/arrow/chevron_left_double.js +6 -1
- package/dist/icons/arrow/chevron_left_double_circle.js +6 -1
- package/dist/icons/arrow/chevron_right.js +6 -1
- package/dist/icons/arrow/chevron_right_circle.js +6 -1
- package/dist/icons/arrow/chevron_right_double.js +6 -1
- package/dist/icons/arrow/chevron_right_double_circle.js +6 -1
- package/dist/icons/arrow/chevron_scroll.js +6 -1
- package/dist/icons/arrow/chevron_up.js +6 -1
- package/dist/icons/arrow/chevron_up_circle.js +6 -1
- package/dist/icons/arrow/chevron_up_double.js +6 -1
- package/dist/icons/arrow/chevron_up_double_circle.js +6 -1
- package/dist/icons/arrow/forward_all.js +6 -1
- package/dist/icons/arrow/forward_all_bold.js +6 -1
- package/dist/icons/arrow/forward_bold.js +6 -1
- package/dist/icons/arrow/index.js +62 -0
- package/dist/icons/arrow/redo.js +6 -1
- package/dist/icons/arrow/redo_bold.js +6 -1
- package/dist/icons/arrow/reply.js +6 -1
- package/dist/icons/arrow/reply_all.js +6 -1
- package/dist/icons/arrow/reply_all_bold.js +6 -1
- package/dist/icons/arrow/reply_bold.js +6 -1
- package/dist/icons/arrow/undo.js +6 -1
- package/dist/icons/arrow/undo_bold.js +6 -1
- package/dist/icons/audio_video/drag_indicator.js +6 -1
- package/dist/icons/audio_video/eject.js +6 -1
- package/dist/icons/audio_video/equalizer.js +6 -1
- package/dist/icons/audio_video/fast_forward.js +6 -1
- package/dist/icons/audio_video/fast_forward_30.js +6 -1
- package/dist/icons/audio_video/fullscreen.js +6 -1
- package/dist/icons/audio_video/headphones.js +6 -1
- package/dist/icons/audio_video/index.js +40 -0
- package/dist/icons/audio_video/library_add.js +6 -1
- package/dist/icons/audio_video/library_delay.js +6 -0
- package/dist/icons/audio_video/library_music.js +6 -1
- package/dist/icons/audio_video/library_queue.js +6 -0
- package/dist/icons/audio_video/microphone.js +6 -1
- package/dist/icons/audio_video/musical_note.js +6 -1
- package/dist/icons/audio_video/next.js +6 -1
- package/dist/icons/audio_video/pause.js +6 -1
- package/dist/icons/audio_video/pause_circle.js +6 -1
- package/dist/icons/audio_video/pause_solid.js +6 -1
- package/dist/icons/audio_video/play.js +6 -1
- package/dist/icons/audio_video/play_circle.js +6 -1
- package/dist/icons/audio_video/play_display.js +6 -1
- package/dist/icons/audio_video/play_pause.js +6 -1
- package/dist/icons/audio_video/play_solid.js +6 -1
- package/dist/icons/audio_video/player_list.js +6 -1
- package/dist/icons/audio_video/player_list_add.js +6 -1
- package/dist/icons/audio_video/player_list_play.js +6 -1
- package/dist/icons/audio_video/previous.js +6 -1
- package/dist/icons/audio_video/radio.js +6 -1
- package/dist/icons/audio_video/record.js +6 -1
- package/dist/icons/audio_video/repeat.js +6 -1
- package/dist/icons/audio_video/rewind.js +6 -1
- package/dist/icons/audio_video/rewind_30.js +6 -1
- package/dist/icons/audio_video/shuffle.js +6 -1
- package/dist/icons/audio_video/sound_wave.js +6 -1
- package/dist/icons/audio_video/stop.js +6 -1
- package/dist/icons/audio_video/stop_circle.js +6 -1
- package/dist/icons/audio_video/subscriptions.js +6 -1
- package/dist/icons/audio_video/theaters.js +6 -1
- package/dist/icons/audio_video/tuner.js +6 -1
- package/dist/icons/audio_video/volume.js +6 -1
- package/dist/icons/audio_video/volume_high.js +6 -1
- package/dist/icons/audio_video/volume_low.js +6 -1
- package/dist/icons/audio_video/volume_slash.js +6 -1
- package/dist/icons/basic/aa_sansserif.js +7 -1
- package/dist/icons/basic/aa_serif.js +7 -1
- package/dist/icons/basic/anchor.js +8 -1
- package/dist/icons/basic/bible.js +6 -1
- package/dist/icons/basic/bold.js +6 -1
- package/dist/icons/basic/book.js +6 -1
- package/dist/icons/basic/book_open.js +6 -1
- package/dist/icons/basic/bookmark.js +6 -1
- package/dist/icons/basic/bookmark_add.js +6 -1
- package/dist/icons/basic/bookmark_slash.js +6 -1
- package/dist/icons/basic/bookmarks.js +6 -1
- package/dist/icons/basic/books.js +9 -1
- package/dist/icons/basic/box.js +6 -1
- package/dist/icons/basic/briefcase.js +6 -1
- package/dist/icons/basic/browse_activity.js +6 -1
- package/dist/icons/basic/browser.js +6 -1
- package/dist/icons/basic/browser_slash.js +6 -1
- package/dist/icons/basic/calculator.js +6 -1
- package/dist/icons/basic/camera.js +6 -1
- package/dist/icons/basic/camera_add.js +6 -1
- package/dist/icons/basic/camera_slash.js +6 -1
- package/dist/icons/basic/checkmark.js +6 -1
- package/dist/icons/basic/checkmark_circle.js +8 -1
- package/dist/icons/basic/checkmark_filled.js +6 -1
- package/dist/icons/basic/checkmarks.js +6 -1
- package/dist/icons/basic/circle.js +6 -1
- package/dist/icons/basic/circle_slash.js +8 -1
- package/dist/icons/basic/clear_text_style.js +6 -1
- package/dist/icons/basic/close.js +6 -1
- package/dist/icons/basic/close_circle.js +6 -1
- package/dist/icons/basic/close_filled.js +6 -1
- package/dist/icons/basic/copy.js +6 -1
- package/dist/icons/basic/delete.js +6 -1
- package/dist/icons/basic/detail.js +6 -1
- package/dist/icons/basic/dot.js +6 -1
- package/dist/icons/basic/download.js +6 -1
- package/dist/icons/basic/download_arrow.js +6 -1
- package/dist/icons/basic/droplet.js +8 -1
- package/dist/icons/basic/ellipsis_horizontal.js +6 -1
- package/dist/icons/basic/ellipsis_horizontal_circle.js +6 -1
- package/dist/icons/basic/ellipsis_vertical.js +6 -1
- package/dist/icons/basic/ellipsis_vertical_circle.js +6 -1
- package/dist/icons/basic/emoticon_add.js +6 -1
- package/dist/icons/basic/eye.js +6 -1
- package/dist/icons/basic/eye_slash.js +6 -1
- package/dist/icons/basic/fingerprint.js +6 -1
- package/dist/icons/basic/flag.js +6 -1
- package/dist/icons/basic/flag_wave.js +6 -1
- package/dist/icons/basic/flag_wave_filled.js +6 -1
- package/dist/icons/basic/flame.js +6 -1
- package/dist/icons/basic/gauge.js +6 -1
- package/dist/icons/basic/glasses.js +6 -1
- package/dist/icons/basic/graduation_cap.js +6 -1
- package/dist/icons/basic/hashmark.js +6 -1
- package/dist/icons/basic/heart.js +6 -1
- package/dist/icons/basic/heart_slash.js +6 -1
- package/dist/icons/basic/highlighter.js +6 -1
- package/dist/icons/basic/home.js +6 -1
- package/dist/icons/basic/image.js +6 -1
- package/dist/icons/basic/inbox.js +6 -1
- package/dist/icons/basic/index.js +133 -0
- package/dist/icons/basic/ios_share.js +6 -1
- package/dist/icons/basic/italic.js +6 -1
- package/dist/icons/basic/layers.js +6 -1
- package/dist/icons/basic/lightening.js +6 -1
- package/dist/icons/basic/lightening_slash.js +6 -1
- package/dist/icons/basic/link.js +6 -1
- package/dist/icons/basic/link_slash.js +6 -1
- package/dist/icons/basic/loudspeaker.js +6 -1
- package/dist/icons/basic/maximize.js +6 -1
- package/dist/icons/basic/menu.js +6 -1
- package/dist/icons/basic/menu_circle.js +6 -1
- package/dist/icons/basic/menu_dots.js +6 -1
- package/dist/icons/basic/microphone_slash.js +6 -1
- package/dist/icons/basic/minimize.js +6 -1
- package/dist/icons/basic/minus.js +6 -1
- package/dist/icons/basic/minus_circle.js +6 -1
- package/dist/icons/basic/move_item.js +6 -1
- package/dist/icons/basic/new.js +6 -1
- package/dist/icons/basic/newspaper.js +6 -1
- package/dist/icons/basic/node.js +6 -1
- package/dist/icons/basic/note_pad.js +7 -1
- package/dist/icons/basic/options.js +6 -1
- package/dist/icons/basic/paint_brush.js +6 -1
- package/dist/icons/basic/paperclip.js +6 -1
- package/dist/icons/basic/paperclip_slash.js +6 -1
- package/dist/icons/basic/pencil.js +6 -1
- package/dist/icons/basic/pencil_pad.js +6 -1
- package/dist/icons/basic/plus.js +6 -1
- package/dist/icons/basic/plus_circle.js +6 -1
- package/dist/icons/basic/presentation.js +6 -1
- package/dist/icons/basic/printer.js +6 -1
- package/dist/icons/basic/profile.js +6 -1
- package/dist/icons/basic/profile_check.js +6 -1
- package/dist/icons/basic/pulse.js +6 -1
- package/dist/icons/basic/qr_code.js +6 -1
- package/dist/icons/basic/resize.js +8 -1
- package/dist/icons/basic/scan.js +6 -1
- package/dist/icons/basic/scissors.js +6 -1
- package/dist/icons/basic/screenshot.js +6 -1
- package/dist/icons/basic/search.js +6 -1
- package/dist/icons/basic/select_item.js +7 -1
- package/dist/icons/basic/settings.js +6 -1
- package/dist/icons/basic/share.js +6 -1
- package/dist/icons/basic/share_external.js +6 -1
- package/dist/icons/basic/square.js +6 -1
- package/dist/icons/basic/star.js +6 -1
- package/dist/icons/basic/star_circle.js +6 -1
- package/dist/icons/basic/star_filled.js +6 -1
- package/dist/icons/basic/star_filled_half.js +6 -1
- package/dist/icons/basic/star_slash.js +6 -1
- package/dist/icons/basic/sticker.js +6 -1
- package/dist/icons/basic/strikethrough.js +6 -1
- package/dist/icons/basic/subtask.js +7 -1
- package/dist/icons/basic/tax.js +9 -1
- package/dist/icons/basic/text_bg_color.js +6 -1
- package/dist/icons/basic/text_color.js +6 -1
- package/dist/icons/basic/textbox.js +6 -1
- package/dist/icons/basic/thumbs_down.js +6 -1
- package/dist/icons/basic/thumbs_up.js +6 -1
- package/dist/icons/basic/thumbs_up_filled.js +6 -1
- package/dist/icons/basic/toggle_left.js +6 -1
- package/dist/icons/basic/toggle_right.js +6 -1
- package/dist/icons/basic/translate.js +6 -1
- package/dist/icons/basic/trash.js +6 -1
- package/dist/icons/basic/trash_slash.js +6 -1
- package/dist/icons/basic/underline.js +6 -1
- package/dist/icons/basic/upload.js +6 -1
- package/dist/icons/basic/video.js +6 -1
- package/dist/icons/basic/video_add.js +7 -1
- package/dist/icons/basic/video_slash.js +6 -1
- package/dist/icons/basic/wrench.js +6 -1
- package/dist/icons/basic/zoom_in.js +6 -1
- package/dist/icons/basic/zoom_out.js +6 -1
- package/dist/icons/data/bar_chart.js +6 -1
- package/dist/icons/data/bar_chart_downward.js +6 -1
- package/dist/icons/data/bar_chart_downward_outline.js +6 -1
- package/dist/icons/data/bar_chart_upward.js +6 -1
- package/dist/icons/data/bar_chart_upward_outline.js +6 -1
- package/dist/icons/data/candlestick_chart.js +6 -1
- package/dist/icons/data/four_circles.js +6 -1
- package/dist/icons/data/index.js +20 -0
- package/dist/icons/data/legend_toggle.js +6 -1
- package/dist/icons/data/line_chart.js +6 -1
- package/dist/icons/data/line_chart_area.js +6 -1
- package/dist/icons/data/line_chart_area_shaded.js +6 -1
- package/dist/icons/data/line_chart_double.js +6 -1
- package/dist/icons/data/line_chart_downward.js +6 -1
- package/dist/icons/data/line_chart_node.js +6 -1
- package/dist/icons/data/line_chart_outline.js +6 -1
- package/dist/icons/data/line_chart_search.js +6 -1
- package/dist/icons/data/line_chart_stars.js +6 -1
- package/dist/icons/data/line_chart_upward.js +6 -1
- package/dist/icons/data/pie_chart.js +7 -1
- package/dist/icons/data/tree.js +6 -1
- package/dist/icons/email/index.js +8 -0
- package/dist/icons/email/mail.js +6 -1
- package/dist/icons/email/mail_check.js +6 -1
- package/dist/icons/email/mail_minus.js +6 -1
- package/dist/icons/email/mail_send.js +6 -1
- package/dist/icons/email/send.js +6 -1
- package/dist/icons/email/send_close.js +6 -1
- package/dist/icons/email/send_schedule.js +6 -1
- package/dist/icons/email/send_text.js +6 -1
- package/dist/icons/emoji/emoji_add.js +6 -1
- package/dist/icons/emoji/index.js +6 -0
- package/dist/icons/emoji/laughing.js +6 -1
- package/dist/icons/emoji/neutral.js +6 -1
- package/dist/icons/emoji/sad.js +6 -1
- package/dist/icons/emoji/shocked.js +6 -1
- package/dist/icons/emoji/smile.js +6 -1
- package/dist/icons/file/clipboard.js +6 -1
- package/dist/icons/file/clipboard_check.js +6 -1
- package/dist/icons/file/clipboard_close.js +6 -1
- package/dist/icons/file/clipboard_minus.js +6 -1
- package/dist/icons/file/clipboard_plus.js +6 -1
- package/dist/icons/file/clipboard_text.js +6 -1
- package/dist/icons/file/file.js +6 -1
- package/dist/icons/file/file_add.js +6 -1
- package/dist/icons/file/file_check.js +6 -1
- package/dist/icons/file/file_close.js +6 -1
- package/dist/icons/file/file_code.js +6 -1
- package/dist/icons/file/file_download.js +6 -1
- package/dist/icons/file/file_draft.js +6 -1
- package/dist/icons/file/file_gear.js +7 -1
- package/dist/icons/file/file_minus.js +6 -1
- package/dist/icons/file/file_plus.js +6 -1
- package/dist/icons/file/file_scan.js +6 -1
- package/dist/icons/file/file_shred.js +6 -1
- package/dist/icons/file/file_text.js +6 -1
- package/dist/icons/file/file_upload.js +6 -1
- package/dist/icons/file/folder.js +6 -1
- package/dist/icons/file/folder_add.js +6 -1
- package/dist/icons/file/folder_arrow.js +6 -1
- package/dist/icons/file/folder_check.js +6 -1
- package/dist/icons/file/folder_close.js +6 -1
- package/dist/icons/file/folder_cloud.js +6 -1
- package/dist/icons/file/folder_gear.js +7 -1
- package/dist/icons/file/folder_minus.js +6 -1
- package/dist/icons/file/folder_music.js +6 -1
- package/dist/icons/file/folder_open.js +6 -1
- package/dist/icons/file/folder_plus.js +6 -1
- package/dist/icons/file/folder_zip.js +6 -1
- package/dist/icons/file/index.js +36 -0
- package/dist/icons/file/note.js +6 -1
- package/dist/icons/file/note_text.js +6 -1
- package/dist/icons/file/pdf.js +6 -1
- package/dist/icons/file/photo.js +6 -1
- package/dist/icons/finance/bitcoin.js +6 -1
- package/dist/icons/finance/coins.js +10 -1
- package/dist/icons/finance/credit_card.js +6 -1
- package/dist/icons/finance/credit_card_add.js +6 -1
- package/dist/icons/finance/credit_card_face.js +6 -1
- package/dist/icons/finance/credit_card_member.js +6 -1
- package/dist/icons/finance/credit_card_outcome.js +6 -1
- package/dist/icons/finance/credit_card_scan.js +6 -1
- package/dist/icons/finance/credit_card_share.js +6 -1
- package/dist/icons/finance/credit_card_slash.js +6 -1
- package/dist/icons/finance/currency_exchange.js +6 -1
- package/dist/icons/finance/dollar.js +6 -1
- package/dist/icons/finance/ethereum.js +6 -1
- package/dist/icons/finance/index.js +16 -0
- package/dist/icons/finance/paypass.js +6 -1
- package/dist/icons/finance/strongbox.js +6 -1
- package/dist/icons/finance/wallet.js +6 -1
- package/dist/icons/index.js +22 -1
- package/dist/icons/layout/block_align_bottom.js +6 -1
- package/dist/icons/layout/block_align_center.js +6 -1
- package/dist/icons/layout/block_align_left.js +6 -1
- package/dist/icons/layout/block_align_middle.js +6 -1
- package/dist/icons/layout/block_align_right.js +6 -1
- package/dist/icons/layout/block_align_top.js +6 -1
- package/dist/icons/layout/block_horizontal.js +6 -1
- package/dist/icons/layout/block_vertical.js +6 -1
- package/dist/icons/layout/edit_shape.js +6 -1
- package/dist/icons/layout/elements.js +6 -1
- package/dist/icons/layout/elements_add.js +6 -1
- package/dist/icons/layout/elements_filled.js +6 -1
- package/dist/icons/layout/elements_masonry.js +6 -1
- package/dist/icons/layout/frame.js +6 -1
- package/dist/icons/layout/frame_stack.js +6 -1
- package/dist/icons/layout/grid.js +6 -1
- package/dist/icons/layout/grid_column_three.js +6 -1
- package/dist/icons/layout/grid_column_two.js +6 -1
- package/dist/icons/layout/grid_dynamic.js +6 -1
- package/dist/icons/layout/grid_frame.js +6 -1
- package/dist/icons/layout/grid_row_three.js +6 -1
- package/dist/icons/layout/grid_row_two.js +6 -1
- package/dist/icons/layout/grid_six.js +6 -1
- package/dist/icons/layout/grid_small.js +6 -1
- package/dist/icons/layout/iframe.js +6 -1
- package/dist/icons/layout/index.js +44 -0
- package/dist/icons/layout/kanban.js +6 -1
- package/dist/icons/layout/layout.js +6 -1
- package/dist/icons/layout/list.js +6 -1
- package/dist/icons/layout/list_filled.js +11 -1
- package/dist/icons/layout/padding.js +6 -1
- package/dist/icons/layout/page_break.js +6 -1
- package/dist/icons/layout/rotate_left.js +6 -1
- package/dist/icons/layout/rotate_right.js +6 -1
- package/dist/icons/layout/ruler.js +6 -1
- package/dist/icons/layout/segment.js +6 -1
- package/dist/icons/layout/select_area.js +6 -1
- package/dist/icons/layout/select_boundary.js +6 -1
- package/dist/icons/layout/sidebar_left.js +6 -1
- package/dist/icons/layout/sidebar_right.js +6 -1
- package/dist/icons/layout/slides.js +6 -1
- package/dist/icons/layout/slides_horizontal.js +6 -1
- package/dist/icons/layout/slides_vertical.js +11 -1
- package/dist/icons/layout/stack.js +6 -1
- package/dist/icons/layout/text.js +6 -1
- package/dist/icons/maps/atlas.js +6 -1
- package/dist/icons/maps/compass.js +6 -1
- package/dist/icons/maps/direction.js +6 -1
- package/dist/icons/maps/direction_angled.js +6 -1
- package/dist/icons/maps/globe.js +6 -1
- package/dist/icons/maps/globe_slash.js +6 -1
- package/dist/icons/maps/index.js +22 -0
- package/dist/icons/maps/location.js +6 -1
- package/dist/icons/maps/location_slash.js +6 -1
- package/dist/icons/maps/map.js +6 -1
- package/dist/icons/maps/marker.js +6 -1
- package/dist/icons/maps/panorama.js +6 -1
- package/dist/icons/maps/pin.js +6 -1
- package/dist/icons/maps/pin_arrow.js +6 -1
- package/dist/icons/maps/pin_location.js +6 -1
- package/dist/icons/maps/pin_plus.js +6 -1
- package/dist/icons/maps/pin_question.js +6 -1
- package/dist/icons/maps/pin_slash.js +6 -1
- package/dist/icons/maps/push_pin.js +6 -1
- package/dist/icons/maps/push_pin_filled.js +6 -1
- package/dist/icons/maps/push_pin_slash.js +6 -1
- package/dist/icons/maps/radar.js +6 -1
- package/dist/icons/maps/route.js +6 -1
- package/dist/icons/message/bubble.js +6 -1
- package/dist/icons/message/bubble_question.js +6 -1
- package/dist/icons/message/comment.js +6 -1
- package/dist/icons/message/comment_add.js +6 -1
- package/dist/icons/message/comment_check.js +6 -1
- package/dist/icons/message/comment_close.js +6 -1
- package/dist/icons/message/comment_minus.js +6 -1
- package/dist/icons/message/comment_text.js +6 -1
- package/dist/icons/message/index.js +8 -0
- package/dist/icons/misc/advertisement.js +6 -1
- package/dist/icons/misc/atom.js +6 -1
- package/dist/icons/misc/bone.js +6 -1
- package/dist/icons/misc/brightness_high.js +6 -1
- package/dist/icons/misc/brightness_low.js +6 -1
- package/dist/icons/misc/contrast.js +6 -1
- package/dist/icons/misc/crosshairs.js +6 -1
- package/dist/icons/misc/crown.js +6 -1
- package/dist/icons/misc/footprint.js +6 -1
- package/dist/icons/misc/form.js +6 -1
- package/dist/icons/misc/funnel.js +6 -1
- package/dist/icons/misc/index.js +25 -0
- package/dist/icons/misc/infinite.js +6 -1
- package/dist/icons/misc/insert_button.js +6 -1
- package/dist/icons/misc/light_bulb.js +6 -1
- package/dist/icons/misc/moon.js +6 -1
- package/dist/icons/misc/nut.js +6 -1
- package/dist/icons/misc/planet.js +6 -1
- package/dist/icons/misc/plus_thick.js +6 -1
- package/dist/icons/misc/pocket.js +6 -1
- package/dist/icons/misc/rocket.js +6 -1
- package/dist/icons/misc/soup.js +10 -1
- package/dist/icons/misc/sun.js +6 -1
- package/dist/icons/misc/toy_horse.js +6 -1
- package/dist/icons/misc/trophy.js +6 -1
- package/dist/icons/misc/watercloset.js +6 -1
- package/dist/icons/notifications/alert_circle.js +6 -1
- package/dist/icons/notifications/alert_octogon.js +6 -1
- package/dist/icons/notifications/alert_triangle.js +6 -1
- package/dist/icons/notifications/app_notification.js +6 -1
- package/dist/icons/notifications/bell.js +6 -1
- package/dist/icons/notifications/bell_alert.js +6 -1
- package/dist/icons/notifications/bell_checkmark.js +6 -1
- package/dist/icons/notifications/bell_minus.js +6 -1
- package/dist/icons/notifications/bell_plus.js +6 -1
- package/dist/icons/notifications/bell_ring.js +8 -1
- package/dist/icons/notifications/bell_slash.js +6 -1
- package/dist/icons/notifications/close_octogon.js +6 -0
- package/dist/icons/notifications/index.js +14 -0
- package/dist/icons/notifications/information.js +6 -1
- package/dist/icons/notifications/minus_octogon.js +6 -1
- package/dist/icons/notifications/question_circle.js +6 -1
- package/dist/icons/people/group.js +6 -1
- package/dist/icons/people/group_add.js +6 -1
- package/dist/icons/people/group_chat.js +8 -1
- package/dist/icons/people/group_remove.js +6 -1
- package/dist/icons/people/group_send.js +7 -1
- package/dist/icons/people/groups.js +6 -1
- package/dist/icons/people/index.js +13 -0
- package/dist/icons/people/person.js +6 -1
- package/dist/icons/people/person_add.js +6 -1
- package/dist/icons/people/person_checkmark.js +6 -1
- package/dist/icons/people/person_circle.js +8 -1
- package/dist/icons/people/person_close.js +8 -1
- package/dist/icons/people/person_remove.js +6 -1
- package/dist/icons/people/person_slash.js +8 -1
- package/dist/icons/phone/index.js +14 -0
- package/dist/icons/phone/keypad.js +6 -1
- package/dist/icons/phone/phone.js +6 -1
- package/dist/icons/phone/phone_add.js +6 -1
- package/dist/icons/phone/phone_calling.js +6 -1
- package/dist/icons/phone/phone_check.js +6 -1
- package/dist/icons/phone/phone_close.js +6 -1
- package/dist/icons/phone/phone_decline.js +6 -1
- package/dist/icons/phone/phone_end.js +6 -0
- package/dist/icons/phone/phone_forwarded.js +6 -1
- package/dist/icons/phone/phone_hash.js +6 -1
- package/dist/icons/phone/phone_incoming.js +6 -1
- package/dist/icons/phone/phone_missed.js +6 -0
- package/dist/icons/phone/phone_outgoing.js +6 -1
- package/dist/icons/phone/phone_pause.js +6 -1
- package/dist/icons/phone/phone_slash.js +6 -1
- package/dist/icons/phone/voicemail.js +6 -1
- package/dist/icons/security/index.js +11 -0
- package/dist/icons/security/key.js +6 -1
- package/dist/icons/security/key_slash.js +6 -1
- package/dist/icons/security/lock.js +6 -1
- package/dist/icons/security/lock_circle.js +6 -1
- package/dist/icons/security/lock_open.js +6 -1
- package/dist/icons/security/lock_slash.js +6 -1
- package/dist/icons/security/shield.js +6 -1
- package/dist/icons/security/shield_checkmark.js +6 -1
- package/dist/icons/security/shield_lock.js +6 -1
- package/dist/icons/security/shield_slash.js +6 -1
- package/dist/icons/security/verified.js +6 -1
- package/dist/icons/shopping/basket.js +6 -1
- package/dist/icons/shopping/cart.js +6 -1
- package/dist/icons/shopping/cart_filled.js +6 -1
- package/dist/icons/shopping/coupon.js +6 -1
- package/dist/icons/shopping/coupon_cut.js +6 -1
- package/dist/icons/shopping/delivery.js +6 -1
- package/dist/icons/shopping/discount.js +6 -1
- package/dist/icons/shopping/gift.js +6 -1
- package/dist/icons/shopping/gift_bag.js +6 -1
- package/dist/icons/shopping/index.js +15 -0
- package/dist/icons/shopping/inventory.js +6 -1
- package/dist/icons/shopping/point_of_sale.js +6 -1
- package/dist/icons/shopping/shirt.js +6 -1
- package/dist/icons/shopping/tag.js +6 -1
- package/dist/icons/shopping/tag_diagonal.js +6 -1
- package/dist/icons/shopping/tote.js +6 -1
- package/dist/icons/special/index.js +4 -0
- package/dist/icons/special/upload_audio.js +11 -1
- package/dist/icons/special/upload_file.js +6 -1
- package/dist/icons/special/upload_image.js +8 -1
- package/dist/icons/special/upload_video.js +9 -1
- package/dist/icons/symbols/at.js +6 -1
- package/dist/icons/symbols/cc.js +6 -1
- package/dist/icons/symbols/cmd.js +6 -1
- package/dist/icons/symbols/facebook.js +6 -1
- package/dist/icons/symbols/google.js +9 -1
- package/dist/icons/symbols/hash.js +6 -1
- package/dist/icons/symbols/index.js +9 -0
- package/dist/icons/symbols/instagram.js +18 -1
- package/dist/icons/symbols/messenger.js +12 -1
- package/dist/icons/symbols/twitter.js +6 -1
- package/dist/icons/technology/battery.js +6 -1
- package/dist/icons/technology/battery_100.js +6 -1
- package/dist/icons/technology/battery_20.js +6 -1
- package/dist/icons/technology/battery_40.js +6 -1
- package/dist/icons/technology/battery_60.js +6 -1
- package/dist/icons/technology/battery_80.js +6 -1
- package/dist/icons/technology/battery_charging.js +6 -1
- package/dist/icons/technology/battery_slash.js +6 -1
- package/dist/icons/technology/devices.js +6 -1
- package/dist/icons/technology/floppy_disk.js +6 -1
- package/dist/icons/technology/index.js +17 -0
- package/dist/icons/technology/iphone.js +6 -1
- package/dist/icons/technology/laptop.js +6 -1
- package/dist/icons/technology/mobile.js +6 -1
- package/dist/icons/technology/monitor.js +6 -1
- package/dist/icons/technology/server.js +6 -1
- package/dist/icons/technology/sim_card.js +6 -1
- package/dist/icons/technology/usb_stick.js +6 -1
- package/dist/icons/text/align_center.js +6 -1
- package/dist/icons/text/align_justified.js +6 -1
- package/dist/icons/text/align_left.js +6 -1
- package/dist/icons/text/align_right.js +6 -1
- package/dist/icons/text/code_block.js +6 -1
- package/dist/icons/text/divider.js +6 -1
- package/dist/icons/text/footnote.js +8 -1
- package/dist/icons/text/indent_decrease.js +6 -1
- package/dist/icons/text/indent_increase.js +6 -1
- package/dist/icons/text/index.js +13 -0
- package/dist/icons/text/list_ordered.js +6 -1
- package/dist/icons/text/list_unordered.js +6 -1
- package/dist/icons/text/quote.js +6 -1
- package/dist/icons/text/table.js +6 -1
- package/dist/icons/time/alarm.js +6 -1
- package/dist/icons/time/alarm_checkmark.js +6 -1
- package/dist/icons/time/alarm_minus.js +6 -1
- package/dist/icons/time/alarm_plus.js +6 -1
- package/dist/icons/time/alarm_slash.js +6 -1
- package/dist/icons/time/alarm_snooze.js +6 -1
- package/dist/icons/time/calendar.js +6 -1
- package/dist/icons/time/calendar_add.js +6 -1
- package/dist/icons/time/calendar_checkmark.js +6 -1
- package/dist/icons/time/calendar_close.js +6 -1
- package/dist/icons/time/calendar_dates.js +6 -1
- package/dist/icons/time/calendar_minus.js +6 -1
- package/dist/icons/time/calendar_plus.js +6 -1
- package/dist/icons/time/calendar_scroll.js +8 -1
- package/dist/icons/time/clock.js +6 -1
- package/dist/icons/time/clock_history.js +6 -1
- package/dist/icons/time/index.js +19 -0
- package/dist/icons/time/stopwatch.js +6 -1
- package/dist/icons/time/timer.js +6 -1
- package/dist/icons/time/watch.js +6 -1
- package/dist/index.js +6 -1
- package/dist/types/attributes.js +1 -0
- package/dist/types/index.js +1 -0
- package/dist/{src/utils → utils}/date.d.ts +1 -1
- package/dist/utils/date.js +100 -1
- package/dist/utils/file.js +22 -1
- package/dist/utils/function.js +1 -1
- package/dist/utils/index.js +4 -0
- package/dist/utils/time.js +22 -1
- package/package.json +10 -3
- package/dist/components/media/audio-player/progress-bar.js +0 -4
- package/dist/emoji/emojis.json.js +0 -1
- package/dist/src/components/editor/plugins/marks/marks.d.ts +0 -1
- package/dist/src/components/editor/plugins/utils/utils.d.ts +0 -1
- package/dist/src/components/media/audio-player/progress-bar.d.ts +0 -14
- package/dist/src/styles/globals.css +0 -1
- /package/dist/{src/common → common}/colors.d.ts +0 -0
- /package/dist/{src/common → common}/date.d.ts +0 -0
- /package/dist/{src/common → common}/index.d.ts +0 -0
- /package/dist/{src/common → common}/styles.d.ts +0 -0
- /package/dist/{src/components → components}/actions/button/button.d.ts +0 -0
- /package/dist/{src/components → components}/actions/button/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/dropdown/dropdown.d.ts +0 -0
- /package/dist/{src/components → components}/actions/dropdown/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/rate/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/rate/rate.d.ts +0 -0
- /package/dist/{src/components → components}/actions/switch/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/switch/switch.d.ts +0 -0
- /package/dist/{src/components → components}/actions/toggle/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/toggle/toggle.d.ts +0 -0
- /package/dist/{src/components → components}/actions/upload/index.d.ts +0 -0
- /package/dist/{src/components → components}/actions/upload/upload.d.ts +0 -0
- /package/dist/{src/components → components}/actions/upload/validations.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/box/box.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/box/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/colors/colors.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/colors/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/hide/hide.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/hide/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/seconds_to_duration/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/seconds_to_duration/seconds_to_duration.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/time_ago/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/time_ago/time_ago.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/typography/display.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/typography/heading.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/typography/index.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/typography/paragraph.d.ts +0 -0
- /package/dist/{src/components → components}/atoms/typography/typography.d.ts +0 -0
- /package/dist/{src/components → components}/card/action/action.d.ts +0 -0
- /package/dist/{src/components → components}/card/action/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/audio/audio.d.ts +0 -0
- /package/dist/{src/components → components}/card/audio/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/card.d.ts +0 -0
- /package/dist/{src/components → components}/card/feature/feature.d.ts +0 -0
- /package/dist/{src/components → components}/card/feature/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/meeting/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/meeting/meeting.d.ts +0 -0
- /package/dist/{src/components → components}/card/person/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/person/person.d.ts +0 -0
- /package/dist/{src/components → components}/card/price/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/price/price.d.ts +0 -0
- /package/dist/{src/components → components}/card/regular/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/regular/regular.d.ts +0 -0
- /package/dist/{src/components → components}/card/styles.d.ts +0 -0
- /package/dist/{src/components → components}/card/video/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/video/video.d.ts +0 -0
- /package/dist/{src/components → components}/card/written/index.d.ts +0 -0
- /package/dist/{src/components → components}/card/written/written.d.ts +0 -0
- /package/dist/{src/components → components}/custom/courses_selection/courses_selection.d.ts +0 -0
- /package/dist/{src/components → components}/custom/courses_selection/index.d.ts +0 -0
- /package/dist/{src/components → components}/custom/index.d.ts +0 -0
- /package/dist/{src/components → components}/custom/users_selection/index.d.ts +0 -0
- /package/dist/{src/components → components}/custom/users_selection/users_selection.d.ts +0 -0
- /package/dist/{src/components → components}/editor/constants.d.ts +0 -0
- /package/dist/{src/components → components}/editor/context.d.ts +0 -0
- /package/dist/{src/components → components}/editor/editor.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-all.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-bottom.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-left.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-none.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-right.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/border-top.d.ts +0 -0
- /package/dist/{src/components → components}/editor/icons/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/navbar/alignment_dropdown.d.ts +0 -0
- /package/dist/{src/components → components}/editor/navbar/button_modal.d.ts +0 -0
- /package/dist/{src/components → components}/editor/navbar/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/navbar/navbar.d.ts +0 -0
- /package/dist/{src/components → components}/editor/navbar/style_dropdown.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/blockquote.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/blocks.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/buttons.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/dropdown-menu.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/image.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/list.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/media-popover.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/popover.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/qa.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/separator.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/table-cell.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/table-row.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/table.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/text.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/blocks/video.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/leafs/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/leafs/leafs.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/leafs/link.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/marks/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/utils/exitBreak.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/utils/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/utils/resetBlockType.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/utils/selectOnBackspace.d.ts +0 -0
- /package/dist/{src/components → components}/editor/plugins/utils/softBreak.d.ts +0 -0
- /package/dist/{src/components → components}/editor/simple_editor/index.d.ts +0 -0
- /package/dist/{src/components → components}/editor/simple_editor/navbar.d.ts +0 -0
- /package/dist/{src/components → components}/editor/simple_editor/plugins.d.ts +0 -0
- /package/dist/{src/components → components}/editor/styles/menu_button.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/animated_toast/animated_toast.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/animated_toast/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/badge/badge.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/badge/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/banner/banner.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/banner/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/chip/chip.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/chip/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/loader/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/loader/loader.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/notification/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/notification/notification.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/progress/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/progress/progress.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/toast/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/toast/toast.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/tooltip/index.d.ts +0 -0
- /package/dist/{src/components → components}/feedback/tooltip/tooltip.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/avatar.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/approved.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/busy.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/declined.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/default.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/focus.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/index.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/ispaid.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/locked.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/offline.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/online.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/icons/subscribed.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/avatar/index.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/icon/icon.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/icon/index.d.ts +0 -0
- /package/dist/{src/components → components}/iconography/index.d.ts +0 -0
- /package/dist/{src/components → components}/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/calendar/calendar.d.ts +0 -0
- /package/dist/{src/components → components}/input/calendar/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/checkbox/checkbox.d.ts +0 -0
- /package/dist/{src/components → components}/input/checkbox/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/date/date.d.ts +0 -0
- /package/dist/{src/components → components}/input/date/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/filter/filter.d.ts +0 -0
- /package/dist/{src/components → components}/input/filter/filter_option.d.ts +0 -0
- /package/dist/{src/components → components}/input/filter/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/radio/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/radio/radio.d.ts +0 -0
- /package/dist/{src/components → components}/input/search/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/search/search.d.ts +0 -0
- /package/dist/{src/components → components}/input/select/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/select/select.d.ts +0 -0
- /package/dist/{src/components → components}/input/text_area/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/text_area/text_area.d.ts +0 -0
- /package/dist/{src/components → components}/input/text_input/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/text_input/text_input.d.ts +0 -0
- /package/dist/{src/components → components}/input/time/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/time/time.d.ts +0 -0
- /package/dist/{src/components → components}/input/time_input/index.d.ts +0 -0
- /package/dist/{src/components → components}/input/time_input/time_input.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio/progress-bar.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-player/audio-player.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-player/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-playlist/audio-playlist.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-playlist/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-playlist/playlist-item.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-preview/audio-preview.d.ts +0 -0
- /package/dist/{src/components → components}/media/audio-preview/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/common.d.ts +0 -0
- /package/dist/{src/components → components}/media/constants.d.ts +0 -0
- /package/dist/{src/components → components}/media/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/video/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/video/video.d.ts +0 -0
- /package/dist/{src/components → components}/media/video-player/index.d.ts +0 -0
- /package/dist/{src/components → components}/media/video-player/playlist-item.d.ts +0 -0
- /package/dist/{src/components → components}/media/video-player/video.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/breadcrumb/breadcrumb.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/breadcrumb/index.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/index.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/inner/index.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/inner/inner.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/tabs/index.d.ts +0 -0
- /package/dist/{src/components → components}/navigation/tabs/tabs.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/accordion/accordion.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/accordion/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/calendar_date/calendar_date.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/calendar_date/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/carousel/card/card.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/carousel/card/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/carousel/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/comment/comment.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/comment/helpers.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/comment/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/discuss_post/discuss_post.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/discuss_post/helpers.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/discuss_post/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/drawer/drawer.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/drawer/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/message/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/message/message.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/modal/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/modal/modal.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/portal/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/portal/portal.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/post/index.d.ts +0 -0
- /package/dist/{src/components → components}/surfaces/post/post.d.ts +0 -0
- /package/dist/{src/components → components}/table/index.d.ts +0 -0
- /package/dist/{src/components → components}/table/table/index.d.ts +0 -0
- /package/dist/{src/components → components}/table/table/table.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_all.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_all_diagonal.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_both_downwards.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_both_upwards.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_left_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_left_double_alert.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_right_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_circle_right_double_alert.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_down_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_down_left_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_down_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_down_right_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_up_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_up_left_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_up_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_diagonal_up_right_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_down.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_down_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_down_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_left_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_left_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_left_curved.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_left_curved_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_right_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_right_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_right_curved.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_right_curved_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_up.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_up_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/arrow_up_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_down.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_down_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_down_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_down_double_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_left_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_left_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_left_double_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_right_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_right_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_right_double_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_scroll.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_up.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_up_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_up_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/chevron_up_double_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/forward_all.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/forward_all_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/forward_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/redo.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/redo_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/reply.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/reply_all.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/reply_all_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/reply_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/undo.d.ts +0 -0
- /package/dist/{src/icons → icons}/arrow/undo_bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/drag_indicator.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/eject.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/equalizer.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/fast_forward.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/fast_forward_30.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/fullscreen.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/headphones.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/library_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/library_delay.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/library_music.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/library_queue.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/microphone.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/musical_note.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/next.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/pause.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/pause_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/pause_solid.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/play.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/play_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/play_display.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/play_pause.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/play_solid.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/player_list.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/player_list_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/player_list_play.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/previous.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/radio.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/record.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/repeat.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/rewind.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/rewind_30.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/shuffle.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/sound_wave.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/stop.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/stop_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/subscriptions.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/theaters.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/tuner.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/volume.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/volume_high.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/volume_low.d.ts +0 -0
- /package/dist/{src/icons → icons}/audio_video/volume_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/aa_sansserif.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/aa_serif.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/anchor.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bible.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bold.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/book.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/book_open.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bookmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bookmark_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bookmark_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/bookmarks.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/books.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/box.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/briefcase.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/browse_activity.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/browser.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/browser_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/calculator.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/camera.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/camera_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/camera_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/checkmark_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/checkmark_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/checkmarks.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/circle_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/clear_text_style.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/close.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/close_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/close_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/copy.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/delete.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/detail.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/dot.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/download.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/download_arrow.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/droplet.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/ellipsis_horizontal.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/ellipsis_horizontal_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/ellipsis_vertical.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/ellipsis_vertical_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/emoticon_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/eye.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/eye_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/fingerprint.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/flag.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/flag_wave.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/flag_wave_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/flame.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/gauge.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/glasses.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/graduation_cap.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/hashmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/heart.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/heart_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/highlighter.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/home.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/image.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/inbox.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/ios_share.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/italic.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/layers.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/lightening.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/lightening_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/link.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/link_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/loudspeaker.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/maximize.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/menu.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/menu_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/menu_dots.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/microphone_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/minimize.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/minus_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/move_item.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/new.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/newspaper.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/node.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/note_pad.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/options.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/paint_brush.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/paperclip.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/paperclip_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/pencil.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/pencil_pad.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/plus_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/presentation.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/printer.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/profile.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/profile_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/pulse.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/qr_code.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/resize.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/scan.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/scissors.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/screenshot.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/search.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/select_item.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/settings.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/share.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/share_external.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/square.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/star.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/star_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/star_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/star_filled_half.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/star_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/sticker.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/strikethrough.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/subtask.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/tax.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/text_bg_color.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/text_color.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/textbox.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/thumbs_down.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/thumbs_up.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/thumbs_up_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/toggle_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/toggle_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/translate.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/trash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/trash_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/underline.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/upload.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/video.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/video_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/video_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/wrench.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/zoom_in.d.ts +0 -0
- /package/dist/{src/icons → icons}/basic/zoom_out.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/bar_chart.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/bar_chart_downward.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/bar_chart_downward_outline.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/bar_chart_upward.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/bar_chart_upward_outline.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/candlestick_chart.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/four_circles.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/legend_toggle.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_area.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_area_shaded.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_double.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_downward.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_node.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_outline.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_search.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_stars.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/line_chart_upward.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/pie_chart.d.ts +0 -0
- /package/dist/{src/icons → icons}/data/tree.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/mail.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/mail_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/mail_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/mail_send.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/send.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/send_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/send_schedule.d.ts +0 -0
- /package/dist/{src/icons → icons}/email/send_text.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/emoji_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/laughing.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/neutral.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/sad.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/shocked.d.ts +0 -0
- /package/dist/{src/icons → icons}/emoji/smile.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/clipboard_text.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_code.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_download.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_draft.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_gear.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_scan.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_shred.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_text.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/file_upload.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_arrow.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_cloud.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_gear.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_music.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_open.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/folder_zip.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/note.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/note_text.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/pdf.d.ts +0 -0
- /package/dist/{src/icons → icons}/file/photo.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/bitcoin.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/coins.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_face.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_member.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_outcome.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_scan.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_share.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/credit_card_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/currency_exchange.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/dollar.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/ethereum.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/paypass.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/strongbox.d.ts +0 -0
- /package/dist/{src/icons → icons}/finance/wallet.d.ts +0 -0
- /package/dist/{src/icons → icons}/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_bottom.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_center.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_middle.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_align_top.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_horizontal.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/block_vertical.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/edit_shape.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/elements.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/elements_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/elements_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/elements_masonry.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/frame.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/frame_stack.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_column_three.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_column_two.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_dynamic.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_frame.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_row_three.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_row_two.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_six.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/grid_small.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/iframe.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/kanban.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/layout.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/list.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/list_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/padding.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/page_break.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/rotate_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/rotate_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/ruler.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/segment.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/select_area.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/select_boundary.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/sidebar_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/sidebar_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/slides.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/slides_horizontal.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/slides_vertical.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/stack.d.ts +0 -0
- /package/dist/{src/icons → icons}/layout/text.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/atlas.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/compass.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/direction.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/direction_angled.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/globe.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/globe_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/location.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/location_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/map.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/marker.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/panorama.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin_arrow.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin_location.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin_question.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/pin_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/push_pin.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/push_pin_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/push_pin_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/radar.d.ts +0 -0
- /package/dist/{src/icons → icons}/maps/route.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/bubble.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/bubble_question.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/comment_text.d.ts +0 -0
- /package/dist/{src/icons → icons}/message/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/advertisement.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/atom.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/bone.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/brightness_high.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/brightness_low.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/contrast.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/crosshairs.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/crown.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/footprint.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/form.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/funnel.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/infinite.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/insert_button.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/light_bulb.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/moon.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/nut.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/planet.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/plus_thick.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/pocket.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/rocket.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/soup.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/sun.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/toy_horse.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/trophy.d.ts +0 -0
- /package/dist/{src/icons → icons}/misc/watercloset.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/alert_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/alert_octogon.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/alert_triangle.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/app_notification.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_alert.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_ring.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/bell_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/close_octogon.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/information.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/minus_octogon.d.ts +0 -0
- /package/dist/{src/icons → icons}/notifications/question_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/group.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/group_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/group_chat.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/group_remove.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/group_send.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/groups.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_remove.d.ts +0 -0
- /package/dist/{src/icons → icons}/people/person_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/keypad.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_calling.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_check.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_decline.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_end.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_forwarded.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_hash.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_incoming.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_missed.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_outgoing.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_pause.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/phone_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/phone/voicemail.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/key.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/key_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/lock.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/lock_circle.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/lock_open.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/lock_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/shield.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/shield_checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/shield_lock.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/shield_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/security/verified.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/basket.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/cart.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/cart_filled.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/coupon.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/coupon_cut.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/delivery.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/discount.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/gift.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/gift_bag.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/inventory.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/point_of_sale.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/shirt.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/tag.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/tag_diagonal.d.ts +0 -0
- /package/dist/{src/icons → icons}/shopping/tote.d.ts +0 -0
- /package/dist/{src/icons → icons}/special/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/special/upload_audio.d.ts +0 -0
- /package/dist/{src/icons → icons}/special/upload_file.d.ts +0 -0
- /package/dist/{src/icons → icons}/special/upload_image.d.ts +0 -0
- /package/dist/{src/icons → icons}/special/upload_video.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/at.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/cc.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/cmd.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/facebook.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/google.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/hash.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/instagram.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/messenger.d.ts +0 -0
- /package/dist/{src/icons → icons}/symbols/twitter.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_100.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_20.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_40.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_60.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_80.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_charging.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/battery_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/devices.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/floppy_disk.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/iphone.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/laptop.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/mobile.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/monitor.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/server.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/sim_card.d.ts +0 -0
- /package/dist/{src/icons → icons}/technology/usb_stick.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/align_center.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/align_justified.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/align_left.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/align_right.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/code_block.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/divider.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/footnote.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/indent_decrease.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/indent_increase.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/list_ordered.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/list_unordered.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/quote.d.ts +0 -0
- /package/dist/{src/icons → icons}/text/table.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm_checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm_slash.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/alarm_snooze.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_add.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_checkmark.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_close.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_dates.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_minus.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_plus.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/calendar_scroll.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/clock.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/clock_history.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/index.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/stopwatch.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/timer.d.ts +0 -0
- /package/dist/{src/icons → icons}/time/watch.d.ts +0 -0
- /package/dist/{src/index.d.ts → index.d.ts} +0 -0
- /package/dist/{src/types → types}/attributes.d.ts +0 -0
- /package/dist/{src/types → types}/index.d.ts +0 -0
- /package/dist/{src/utils → utils}/file.d.ts +0 -0
- /package/dist/{src/utils → utils}/function.d.ts +0 -0
- /package/dist/{src/utils → utils}/index.d.ts +0 -0
- /package/dist/{src/utils → utils}/time.d.ts +0 -0
|
@@ -1 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
export { ELEMENT_BLOCKQUOTE, ELEMENT_CODE_LINE, ELEMENT_CODE_SYNTAX, ELEMENT_DEFAULT, ELEMENT_H1, ELEMENT_H2, ELEMENT_H3, ELEMENT_H4, ELEMENT_H5, ELEMENT_H6, ELEMENT_HR, ELEMENT_IMAGE, ELEMENT_LI, ELEMENT_LIC, ELEMENT_LINK, ELEMENT_MEDIA, ELEMENT_MEDIA_EMBED, ELEMENT_MENTION, ELEMENT_MENTION_INPUT, ELEMENT_OL, ELEMENT_PARAGRAPH, ELEMENT_TABLE, ELEMENT_TD, ELEMENT_TH, ELEMENT_TODO_LI, ELEMENT_TR, ELEMENT_UL, MARK_BG_COLOR, MARK_BOLD, MARK_CODE, MARK_COLOR, MARK_FONT_FAMILY, MARK_FONT_SIZE, MARK_FONT_WEIGHT, MARK_HIGHLIGHT, MARK_ITALIC, MARK_KBD, MARK_SEARCH_HIGHLIGHT, MARK_STRIKETHROUGH, MARK_SUBSCRIPT, MARK_SUPERSCRIPT, MARK_UNDERLINE, } from '@udecode/plate';
|
|
2
|
+
export const ELEMENT_BUTTON = 'button';
|
|
3
|
+
export const ELEMENT_PAYWALL = 'paywall';
|
|
4
|
+
export const ELEMENT_QA = 'q-n-a';
|
|
5
|
+
export const ELEMENT_VIDEO = 'video';
|
|
6
|
+
export const BUTTON_LINK = 'button-link';
|
|
7
|
+
export const BUTTON_SUBSCRIBE = 'button-subscribe';
|
|
8
|
+
export const COLORS = [
|
|
9
|
+
'var(--color-turquoise-5)',
|
|
10
|
+
'var(--color-green-5)',
|
|
11
|
+
'var(--color-blue-5)',
|
|
12
|
+
'var(--color-purple-5)',
|
|
13
|
+
'var(--color-yellow-5)',
|
|
14
|
+
'var(--color-orange-5)',
|
|
15
|
+
'var(--color-red-5)',
|
|
16
|
+
];
|
|
17
|
+
export const PLACEHOLDER = 'This is a placeholder';
|
|
18
|
+
export const DEFAULT_CONTENT = [
|
|
19
|
+
{
|
|
20
|
+
children: [
|
|
21
|
+
{
|
|
22
|
+
text: '',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
type: 'p',
|
|
26
|
+
},
|
|
27
|
+
];
|
|
28
|
+
export const DEFAULT_Q_N_A = [
|
|
29
|
+
{
|
|
30
|
+
children: [
|
|
31
|
+
{
|
|
32
|
+
text: 'What is your question?',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
questionAnswerId: 'q-n-a-16d648b0-e7db-4365-af08-61833b59e29d',
|
|
36
|
+
type: ELEMENT_QA,
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
export const DEFAULT_IMAGE = [
|
|
40
|
+
{
|
|
41
|
+
type: 'img',
|
|
42
|
+
id: 1,
|
|
43
|
+
children: [
|
|
44
|
+
{
|
|
45
|
+
text: '',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
];
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const EditorContext = React.createContext({
|
|
3
|
+
commentInputLoader: () => React.createElement(React.Fragment, null),
|
|
4
|
+
commentLoader: () => React.createElement(React.Fragment, null),
|
|
5
|
+
handleVideoClick: () => undefined,
|
|
6
|
+
imageSrcLoader: async () => '',
|
|
7
|
+
videoTitleLoader: () => React.createElement(React.Fragment, null),
|
|
8
|
+
});
|
|
@@ -1,5 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { styled } from 'styled-components';
|
|
4
|
+
import { createPlugins, Plate, PlateContent } from '@udecode/plate';
|
|
5
|
+
import { PLACEHOLDER } from './constants';
|
|
6
|
+
import { EditorContext } from './context';
|
|
7
|
+
import { EditorBar } from './navbar/navbar';
|
|
8
|
+
import { plateUI } from './plugins/plate';
|
|
9
|
+
import { blocks } from './plugins/blocks/blocks';
|
|
10
|
+
import { leafs } from './plugins/leafs/leafs';
|
|
11
|
+
import { marks } from './plugins/marks/marks';
|
|
12
|
+
import { utils } from './plugins/utils/utils';
|
|
13
|
+
const plugins = createPlugins([...blocks, ...leafs, ...marks, ...utils], {
|
|
14
|
+
components: plateUI,
|
|
15
|
+
});
|
|
16
|
+
export const Editor = ({ commentInputLoader, commentLoader, editable, handleVideoClick, imageSrcLoader, onChange, previousContent, videoTitleLoader, }) => {
|
|
17
|
+
return (React.createElement(EditorContext.Provider, { value: {
|
|
18
|
+
commentInputLoader,
|
|
19
|
+
commentLoader,
|
|
20
|
+
handleVideoClick,
|
|
21
|
+
imageSrcLoader,
|
|
22
|
+
videoTitleLoader,
|
|
23
|
+
} },
|
|
24
|
+
React.createElement(Plate, { id: "main", initialValue: previousContent, onChange: onChange, plugins: plugins },
|
|
25
|
+
React.createElement(Wrapper, null,
|
|
26
|
+
editable && React.createElement(EditorBar, null),
|
|
27
|
+
React.createElement(PlateContent, { id: "main", autoFocus: true, placeholder: PLACEHOLDER, readOnly: !editable, spellCheck: true, onContextMenu: (e) => e.preventDefault(), onCopy: () => {
|
|
28
|
+
if ('clipboard' in navigator) {
|
|
29
|
+
return navigator.clipboard.writeText('');
|
|
30
|
+
}
|
|
31
|
+
} })))));
|
|
32
|
+
};
|
|
33
|
+
const Wrapper = styled.div `
|
|
3
34
|
* {
|
|
4
35
|
font-family: var(--font-inter);
|
|
5
36
|
outline: none;
|
|
@@ -71,4 +102,4 @@
|
|
|
71
102
|
max-width: 864px;
|
|
72
103
|
width: 100%;
|
|
73
104
|
margin: 0 auto;
|
|
74
|
-
`;
|
|
105
|
+
`;
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderAll = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6zm10 13h5a1 1 0 0 0 1-1v-5h-6v6zm-2-6H5v5a1 1 0 0 0 1 1h5v-6zm2-2h6V6a1 1 0 0 0-1-1h-5v6zm-2-6H6a1 1 0 0 0-1 1v5h6V5z" })));
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderBottom = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M13 5a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm-8 6a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm-2 7a1 1 0 1 1 2 0 1 1 0 0 0 1 1h12a1 1 0 0 0 1-1 1 1 0 1 1 2 0 3 3 0 0 1-3 3H6a3 3 0 0 1-3-3zm17-8a1 1 0 0 0-1 1v2a1 1 0 1 0 2 0v-2a1 1 0 0 0-1-1zM7 4a1 1 0 0 0-1-1 3 3 0 0 0-3 3 1 1 0 0 0 2 0 1 1 0 0 1 1-1 1 1 0 0 0 1-1zm11-1a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3z" })));
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderLeft = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M6 21a1 1 0 1 0 0-2 1 1 0 0 1-1-1V6a1 1 0 0 1 1-1 1 1 0 0 0 0-2 3 3 0 0 0-3 3v12a3 3 0 0 0 3 3zm7-16a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm6 6a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-5 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm4-17a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3zm-1 17a1 1 0 0 0 1 1 3 3 0 0 0 3-3 1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 0 0-1 1z" })));
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderNone = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M14 4a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm-9 7a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm14 0a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-6 10a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zM7 4a1 1 0 0 0-1-1 3 3 0 0 0-3 3 1 1 0 0 0 2 0 1 1 0 0 1 1-1 1 1 0 0 0 1-1zm11-1a1 1 0 1 0 0 2 1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3zM7 20a1 1 0 0 1-1 1 3 3 0 0 1-3-3 1 1 0 1 1 2 0 1 1 0 0 0 1 1 1 1 0 0 1 1 1zm11 1a1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 1 1 2 0 3 3 0 0 1-3 3z" })));
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderRight = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M13 5a1 1 0 1 0 0-2h-2a1 1 0 1 0 0 2h2zm-8 6a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm9 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zM6 3a1 1 0 0 1 0 2 1 1 0 0 0-1 1 1 1 0 0 1-2 0 3 3 0 0 1 3-3zm1 17a1 1 0 0 1-1 1 3 3 0 0 1-3-3 1 1 0 1 1 2 0 1 1 0 0 0 1 1 1 1 0 0 1 1 1zm11 1a1 1 0 1 1 0-2 1 1 0 0 0 1-1V6a1 1 0 0 0-1-1 1 1 0 1 1 0-2 3 3 0 0 1 3 3v12a3 3 0 0 1-3 3z" })));
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export const BorderTop = (props) => (React.createElement("svg", { viewBox: "0 0 24 24", height: "48", width: "48", focusable: "false", role: "img", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...props },
|
|
3
|
+
React.createElement("path", { d: "M3 6a1 1 0 0 0 2 0 1 1 0 0 1 1-1h12a1 1 0 0 1 1 1 1 1 0 1 0 2 0 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3zm2 5a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2zm14 0a1 1 0 1 1 2 0v2a1 1 0 1 1-2 0v-2zm-5 9a1 1 0 0 1-1 1h-2a1 1 0 1 1 0-2h2a1 1 0 0 1 1 1zm-8 1a1 1 0 1 0 0-2 1 1 0 0 1-1-1 1 1 0 1 0-2 0 3 3 0 0 0 3 3zm11-1a1 1 0 0 0 1 1 3 3 0 0 0 3-3 1 1 0 1 0-2 0 1 1 0 0 1-1 1 1 1 0 0 0-1 1z" })));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BorderAll } from './border-all';
|
|
2
|
+
export { BorderBottom } from './border-bottom';
|
|
3
|
+
export { BorderLeft } from './border-left';
|
|
4
|
+
export { BorderNone } from './border-none';
|
|
5
|
+
export { BorderRight } from './border-right';
|
|
6
|
+
export { BorderTop } from './border-top';
|
|
@@ -1 +1,97 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { setAlign } from '@udecode/plate';
|
|
3
|
+
import { useAlignDropdownMenu, useAlignDropdownMenuState, } from '@udecode/plate-alignment';
|
|
4
|
+
import { Dropdown } from '../../../components/actions/dropdown/dropdown';
|
|
5
|
+
import { AlignCenter } from '../../../icons/text/align_center';
|
|
6
|
+
import { AlignJustified } from '../../../icons/text/align_justified';
|
|
7
|
+
import { AlignLeft } from '../../../icons/text/align_left';
|
|
8
|
+
import { AlignRight } from '../../../icons/text/align_right';
|
|
9
|
+
import { PlayerListPlay } from '../../../icons/audio_video/player_list_play';
|
|
10
|
+
import { MenuButton } from '../styles/menu_button';
|
|
11
|
+
const items = [
|
|
12
|
+
{
|
|
13
|
+
value: 'left',
|
|
14
|
+
icon: AlignLeft,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
value: 'center',
|
|
18
|
+
icon: AlignCenter,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
value: 'right',
|
|
22
|
+
icon: AlignRight,
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
value: 'justify',
|
|
26
|
+
icon: AlignJustified,
|
|
27
|
+
},
|
|
28
|
+
];
|
|
29
|
+
export const AlignmentDropdown = ({ editorRef }) => {
|
|
30
|
+
const alignState = useAlignDropdownMenuState();
|
|
31
|
+
const { radioGroupProps } = useAlignDropdownMenu(alignState);
|
|
32
|
+
const current = radioGroupProps.value;
|
|
33
|
+
const IconValue = items.find((item) => item.value === radioGroupProps.value)?.icon ??
|
|
34
|
+
PlayerListPlay;
|
|
35
|
+
const handleAlign = (event) => {
|
|
36
|
+
const value = event.target?.getAttribute('data-value');
|
|
37
|
+
if (!value)
|
|
38
|
+
return;
|
|
39
|
+
setAlign(editorRef, {
|
|
40
|
+
value: value,
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
return (React.createElement(Dropdown, { onChange: handleAlign, offset: [0, 0], options: [
|
|
44
|
+
{
|
|
45
|
+
icon: (React.createElement(MenuButton, { "$active": current === 'left' },
|
|
46
|
+
React.createElement(AlignLeft, { size: 24, color: "grey-5" }))),
|
|
47
|
+
sx: 'gap: 0px; padding: 4px;',
|
|
48
|
+
value: 'left',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
icon: (React.createElement(MenuButton, { "$active": current === 'center' },
|
|
52
|
+
React.createElement(AlignCenter, { size: 24, color: "grey-5" }))),
|
|
53
|
+
sx: 'gap: 0px; padding: 4px;',
|
|
54
|
+
value: 'center',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
icon: (React.createElement(MenuButton, { "$active": current === 'right' },
|
|
58
|
+
React.createElement(AlignRight, { size: 24, color: "grey-5" }))),
|
|
59
|
+
sx: 'gap: 0px; padding: 4px;',
|
|
60
|
+
value: 'right',
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
icon: (React.createElement(MenuButton, { "$active": current === 'justify' },
|
|
64
|
+
React.createElement(AlignJustified, { size: 24, color: "grey-5" }))),
|
|
65
|
+
sx: 'gap: 0px; padding: 4px;',
|
|
66
|
+
value: 'justify',
|
|
67
|
+
},
|
|
68
|
+
], maintainState: false, trigger: React.createElement(IconValue, { size: 24, color: "grey-5" }) }));
|
|
69
|
+
};
|
|
70
|
+
// <AlignToolbarButton
|
|
71
|
+
// as="div"
|
|
72
|
+
// active={alignment === 'left' ? true : undefined}
|
|
73
|
+
// data-value="left"
|
|
74
|
+
// value="left"
|
|
75
|
+
// icon={<AlignLeft size={24} color="grey-5" />}
|
|
76
|
+
// />
|
|
77
|
+
// <AlignToolbarButton
|
|
78
|
+
// as="div"
|
|
79
|
+
// active={alignment === 'center' ? true : undefined}
|
|
80
|
+
// data-value="center"
|
|
81
|
+
// value="center"
|
|
82
|
+
// icon={<AlignCenter size={24} color="grey-5" />}
|
|
83
|
+
// />
|
|
84
|
+
// <AlignToolbarButton
|
|
85
|
+
// as="div"
|
|
86
|
+
// active={alignment === 'right' ? true : undefined}
|
|
87
|
+
// data-value="right"
|
|
88
|
+
// value="right"
|
|
89
|
+
// icon={<AlignRight size={24} color="grey-5" />}
|
|
90
|
+
// />
|
|
91
|
+
// <AlignToolbarButton
|
|
92
|
+
// as="div"
|
|
93
|
+
// active={alignment === 'justify' ? true : undefined}
|
|
94
|
+
// data-value="justify"
|
|
95
|
+
// value="justify"
|
|
96
|
+
// icon={<AlignJustified size={24} color="grey-5" />}
|
|
97
|
+
// />
|
|
@@ -1,13 +1,62 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { styled } from 'styled-components';
|
|
3
|
+
import { Box } from '../../../components/atoms/box/box';
|
|
4
|
+
import { Button } from '../../../components/actions/button/button';
|
|
5
|
+
import { H } from '../../../components/atoms/typography/heading';
|
|
6
|
+
import { Modal } from '../../../components/surfaces/modal/modal';
|
|
7
|
+
import { P } from '../../../components/atoms/typography/paragraph';
|
|
8
|
+
import { Radio } from '../../../components/input/radio';
|
|
9
|
+
import { Close } from '../../../icons/basic/close';
|
|
10
|
+
import { InsertButton } from '../../../icons/misc/insert_button';
|
|
11
|
+
import { MenuButton } from '../styles/menu_button';
|
|
12
|
+
import { BUTTON_SUBSCRIBE } from '../constants';
|
|
13
|
+
import { BUTTON_LINK } from '../constants';
|
|
14
|
+
export const ButtonModal = ({ onButtonInsert }) => {
|
|
15
|
+
const [buttonType, setButtonType] = React.useState();
|
|
16
|
+
const handleButtonInsert = () => {
|
|
17
|
+
buttonType && onButtonInsert(buttonType);
|
|
18
|
+
setButtonType(undefined);
|
|
19
|
+
};
|
|
20
|
+
return (React.createElement(Modal, null,
|
|
21
|
+
React.createElement(Modal.Trigger, null,
|
|
22
|
+
React.createElement(MenuButton, null,
|
|
23
|
+
React.createElement(InsertButton, { size: 24, color: "grey-5" }))),
|
|
24
|
+
React.createElement(Modal.Content, { sx: "border-radius: 16px; max-width: 782px; width: 100%; margin: 24px; padding: 0px;" },
|
|
25
|
+
React.createElement(Box, { "$dir": "column" },
|
|
26
|
+
React.createElement(Box, { "$align": "center", "$justify": "space-between", sx: "padding: 24px; box-shadow: var(--elevation-2);" },
|
|
27
|
+
React.createElement(Box, { "$align": "center", "$gap": 32 },
|
|
28
|
+
React.createElement(IconWrapper, null,
|
|
29
|
+
React.createElement(InsertButton, { size: 24, color: "hue-blue-1" })),
|
|
30
|
+
React.createElement(H, { "$bold": true, "$color": "hue-blue-1", "$fontSize": 20, "$lineHeight": 28 }, "Insert Button")),
|
|
31
|
+
React.createElement(Close, { size: 24, sx: "&:hover { cursor: pointer; border-radius: 50%; background-color: var(--color-grey-9); }" })),
|
|
32
|
+
React.createElement(Box, { "$dir": "column", "$gap": 24, sx: "padding: 24px 48px 24px 24px;" },
|
|
33
|
+
React.createElement(ButtonItem, { active: buttonType === BUTTON_SUBSCRIBE, description: "A button encouraging the reader to purchase a paid subscription to your community", onClick: () => setButtonType(BUTTON_SUBSCRIBE), title: "Subscribe Now" },
|
|
34
|
+
React.createElement(Button, { size: "small", sx: "width: 130px;" }, "Subscribe")),
|
|
35
|
+
React.createElement(ButtonItem, { active: buttonType === BUTTON_LINK, description: "A button that links to a URL", onClick: () => setButtonType(BUTTON_LINK), title: "Link Button" },
|
|
36
|
+
React.createElement(Button, { size: "small", sx: "width: 130px;" }, "Link"))),
|
|
37
|
+
React.createElement(Box, { "$padding": 24, "$gap": 16, sx: "padding: 24px; background-color: var(--color-white); border-top: 1px solid var(--color-grey-8);" },
|
|
38
|
+
React.createElement(Modal.Dismiss, null,
|
|
39
|
+
React.createElement(Button, { size: "small", sx: "flex: 1;", type: "outlined", onClick: () => setButtonType(undefined) }, "Cancel")),
|
|
40
|
+
React.createElement(Modal.Dismiss, null,
|
|
41
|
+
React.createElement(Button, { size: "small", sx: "flex: 1;", onClick: handleButtonInsert }, "Confirm")))))));
|
|
42
|
+
};
|
|
43
|
+
const IconWrapper = styled.div `
|
|
2
44
|
height: 48px;
|
|
3
45
|
width: 48px;
|
|
4
46
|
box-sizing: border-box;
|
|
5
47
|
padding: 12px;
|
|
6
48
|
border-radius: 8px;
|
|
7
49
|
background-color: var(--color-hue-blue-2);
|
|
8
|
-
|
|
50
|
+
`;
|
|
51
|
+
const ButtonItem = ({ active, children, description, onClick, title, }) => (React.createElement(Box, { "$dir": "column", onClick: onClick, sx: "border-radius: 16px; box-shadow: var(--elevation-2); cursor: pointer;" },
|
|
52
|
+
React.createElement(Box, { sx: `
|
|
9
53
|
padding: 24px;
|
|
10
54
|
background-color: var(--color-blue-10);
|
|
11
55
|
border-radius: 8px 8px 0px 0px;
|
|
12
56
|
border-bottom: 1px solid var(--color-grey-9);
|
|
13
|
-
`
|
|
57
|
+
` },
|
|
58
|
+
React.createElement(Radio, { checked: !!active, sx: "align-items: flex-start;", value: title }),
|
|
59
|
+
React.createElement(Box, { "$dir": "column" },
|
|
60
|
+
React.createElement(P, { "$semiBold": true }, title),
|
|
61
|
+
React.createElement(P, null, description))),
|
|
62
|
+
React.createElement(Box, { "$align": "center", "$justify": "center", sx: "border-radius: 0px 0px 8px 8px; padding: 24px;" }, children)));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EditorBar } from './navbar';
|
|
@@ -1,10 +1,176 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { styled } from 'styled-components';
|
|
3
|
+
import { getPluginType, insertNodes, insertTable, toggleNodeType, useLinkToolbarButton, useLinkToolbarButtonState, useListToolbarButton, useListToolbarButtonState, useMarkToolbarButton, useMarkToolbarButtonState, useEditorRef, useEditorState, } from '@udecode/plate';
|
|
4
|
+
import { Tooltip } from '../../../components/feedback/tooltip';
|
|
5
|
+
import { Bold } from '../../../icons/basic/bold';
|
|
6
|
+
import { FileCode } from '../../../icons/file/file_code';
|
|
7
|
+
import { Grid } from '../../../icons/layout/grid';
|
|
8
|
+
import { Headphones } from '../../../icons/audio_video/headphones';
|
|
9
|
+
import { Image } from '../../../icons/basic/image';
|
|
10
|
+
import { Italic } from '../../../icons/basic/italic';
|
|
11
|
+
import { Link } from '../../../icons/basic/link';
|
|
12
|
+
import { ListOrdered } from '../../../icons/text/list_ordered';
|
|
13
|
+
import { ListUnordered } from '../../../icons/text/list_unordered';
|
|
14
|
+
import { Quote } from '../../../icons/text/quote';
|
|
15
|
+
import { Redo } from '../../../icons/arrow/redo';
|
|
16
|
+
import { Strikethrough } from '../../../icons/basic/strikethrough';
|
|
17
|
+
import { Underline } from '../../../icons/basic/underline';
|
|
18
|
+
import { Undo } from '../../../icons/arrow/undo';
|
|
19
|
+
import { Video } from '../../../icons/basic/video';
|
|
20
|
+
import { ELEMENT_BLOCKQUOTE } from '../constants';
|
|
21
|
+
import { ELEMENT_BUTTON } from '../constants';
|
|
22
|
+
import { ELEMENT_OL } from '../constants';
|
|
23
|
+
import { ELEMENT_UL } from '../constants';
|
|
24
|
+
import { MARK_BOLD } from '../constants';
|
|
25
|
+
import { MARK_CODE } from '../constants';
|
|
26
|
+
import { MARK_ITALIC } from '../constants';
|
|
27
|
+
import { MARK_STRIKETHROUGH } from '../constants';
|
|
28
|
+
import { MARK_UNDERLINE } from '../constants';
|
|
29
|
+
import { StyleDropdown } from './style_dropdown';
|
|
30
|
+
import { AlignmentDropdown } from './alignment_dropdown';
|
|
31
|
+
import { ButtonModal } from './button_modal';
|
|
32
|
+
export const EditorBar = () => {
|
|
33
|
+
const editorRef = useEditorRef('main');
|
|
34
|
+
const stateEditor = useEditorState();
|
|
35
|
+
const audioRef = React.useRef(null);
|
|
36
|
+
const imageRef = React.useRef(null);
|
|
37
|
+
const videoRef = React.useRef(null);
|
|
38
|
+
const boldState = useMarkToolbarButtonState({ nodeType: MARK_BOLD });
|
|
39
|
+
const { props: { pressed: currBold, onClick: handleBold }, } = useMarkToolbarButton(boldState);
|
|
40
|
+
const italicState = useMarkToolbarButtonState({ nodeType: MARK_ITALIC });
|
|
41
|
+
const { props: { pressed: currItalic, onClick: handleItalic }, } = useMarkToolbarButton(italicState);
|
|
42
|
+
const strikethroughState = useMarkToolbarButtonState({
|
|
43
|
+
nodeType: MARK_STRIKETHROUGH,
|
|
44
|
+
});
|
|
45
|
+
const { props: { pressed: currStrikethrough, onClick: handleStrikethrough }, } = useMarkToolbarButton(strikethroughState);
|
|
46
|
+
const underlineState = useMarkToolbarButtonState({
|
|
47
|
+
nodeType: MARK_UNDERLINE,
|
|
48
|
+
});
|
|
49
|
+
const { props: { pressed: currUnderline, onClick: handleUnderline }, } = useMarkToolbarButton(underlineState);
|
|
50
|
+
const inlineCodeState = useMarkToolbarButtonState({ nodeType: MARK_CODE });
|
|
51
|
+
const { props: { pressed: currInlineCode, onClick: handleInlineCode }, } = useMarkToolbarButton(inlineCodeState);
|
|
52
|
+
const linkState = useLinkToolbarButtonState();
|
|
53
|
+
const { props: { pressed: currLink, onClick: handleLink }, } = useLinkToolbarButton(linkState);
|
|
54
|
+
const orderedListState = useListToolbarButtonState({ nodeType: ELEMENT_OL });
|
|
55
|
+
const { props: { pressed: currOrderedList, onClick: handleOrderedList }, } = useListToolbarButton(orderedListState);
|
|
56
|
+
const unorderedListState = useListToolbarButtonState({
|
|
57
|
+
nodeType: ELEMENT_UL,
|
|
58
|
+
});
|
|
59
|
+
const { props: { pressed: currUnorderedList, onClick: handleUnorderedList }, } = useListToolbarButton(unorderedListState);
|
|
60
|
+
const handleAudioChange = async (event) => {
|
|
61
|
+
const file = event.target?.files?.[0];
|
|
62
|
+
if (!file)
|
|
63
|
+
return;
|
|
64
|
+
/**
|
|
65
|
+
* TODO: Insert audio component
|
|
66
|
+
*/
|
|
67
|
+
};
|
|
68
|
+
const handleBlockquote = () => {
|
|
69
|
+
toggleNodeType(stateEditor, { activeType: ELEMENT_BLOCKQUOTE });
|
|
70
|
+
};
|
|
71
|
+
const handleButton = (type) => {
|
|
72
|
+
insertNodes(editorRef, [
|
|
73
|
+
{
|
|
74
|
+
type: getPluginType(editorRef, ELEMENT_BUTTON),
|
|
75
|
+
buttonType: type,
|
|
76
|
+
children: [
|
|
77
|
+
{
|
|
78
|
+
text: 'Subscribe',
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
]);
|
|
83
|
+
};
|
|
84
|
+
const handleRedo = () => editorRef.redo();
|
|
85
|
+
const handleUndo = () => editorRef.undo();
|
|
86
|
+
const handleVideoChange = async () => {
|
|
87
|
+
const files = videoRef.current?.files;
|
|
88
|
+
if (!files)
|
|
89
|
+
return;
|
|
90
|
+
/**
|
|
91
|
+
* TODO: Insert video component
|
|
92
|
+
*/
|
|
93
|
+
};
|
|
94
|
+
return (React.createElement(Wrapper, null,
|
|
95
|
+
React.createElement(Menu, { "aria-label": "editor-navigation" },
|
|
96
|
+
React.createElement(MenuSection, null,
|
|
97
|
+
React.createElement(Tooltip, { content: "Undo", place: "top" },
|
|
98
|
+
React.createElement(MenuButton, { "$active": false, onClick: handleUndo },
|
|
99
|
+
React.createElement(Undo, { size: 24, color: "grey-5" }))),
|
|
100
|
+
React.createElement(Tooltip, { content: "Redo", place: "top" },
|
|
101
|
+
React.createElement(MenuButton, { "$active": false, onClick: handleRedo },
|
|
102
|
+
React.createElement(Redo, { size: 24, color: "grey-5" })))),
|
|
103
|
+
React.createElement(Divider, null),
|
|
104
|
+
React.createElement(MenuSection, null,
|
|
105
|
+
React.createElement(StyleDropdown, { editorRef: editorRef })),
|
|
106
|
+
React.createElement(Divider, null),
|
|
107
|
+
React.createElement(MenuSection, null,
|
|
108
|
+
React.createElement(Tooltip, { content: "Bold", place: "top" },
|
|
109
|
+
React.createElement(MenuButton, { "$active": currBold, onClick: handleBold },
|
|
110
|
+
React.createElement(Bold, { size: 24, color: "grey-5" }))),
|
|
111
|
+
React.createElement(Tooltip, { content: "Italic", place: "top" },
|
|
112
|
+
React.createElement(MenuButton, { "$active": currItalic, onClick: handleItalic },
|
|
113
|
+
React.createElement(Italic, { size: 24, color: "grey-5" }))),
|
|
114
|
+
React.createElement(Tooltip, { content: "Underline", place: "top" },
|
|
115
|
+
React.createElement(MenuButton, { "$active": currUnderline, onClick: handleUnderline },
|
|
116
|
+
React.createElement(Underline, { size: 24, color: "grey-5" }))),
|
|
117
|
+
React.createElement(Tooltip, { content: "Strikethrough", place: "top" },
|
|
118
|
+
React.createElement(MenuButton, { "$active": currStrikethrough, onClick: handleStrikethrough },
|
|
119
|
+
React.createElement(Strikethrough, { size: 24, color: "grey-5" }))),
|
|
120
|
+
React.createElement(Tooltip, { content: "Inline code", place: "top" },
|
|
121
|
+
React.createElement(MenuButton, { "$active": currInlineCode, onClick: handleInlineCode },
|
|
122
|
+
React.createElement(FileCode, { size: 24, color: "grey-5" })))),
|
|
123
|
+
React.createElement(Divider, null),
|
|
124
|
+
React.createElement(MenuSection, null,
|
|
125
|
+
React.createElement(MenuButton, { "$active": false, as: "div" },
|
|
126
|
+
React.createElement(AlignmentDropdown, { editorRef: editorRef }))),
|
|
127
|
+
React.createElement(Divider, null),
|
|
128
|
+
React.createElement(MenuSection, null,
|
|
129
|
+
React.createElement(Tooltip, { content: "Link", place: "top" },
|
|
130
|
+
React.createElement(MenuButton, { "$active": currLink, onClick: handleLink },
|
|
131
|
+
React.createElement(Link, { size: 24, color: "grey-5" }))),
|
|
132
|
+
React.createElement(Tooltip, { content: "Image", place: "top" },
|
|
133
|
+
React.createElement(MenuButton, { "$active": false, as: "label" },
|
|
134
|
+
React.createElement("div", null,
|
|
135
|
+
React.createElement("input", { accept: "image/*", ref: imageRef, style: { display: 'none' }, type: "file" }),
|
|
136
|
+
React.createElement(Image, { size: 24, color: "grey-5" })))),
|
|
137
|
+
React.createElement(Tooltip, { content: "Video", place: "top" },
|
|
138
|
+
React.createElement(MenuButton, { "$active": false, as: "label", onChange: handleVideoChange },
|
|
139
|
+
React.createElement("div", { onClick: () => videoRef.current?.click() },
|
|
140
|
+
React.createElement("input", { accept: "video/*", ref: videoRef, style: { display: 'none' }, type: "file" }),
|
|
141
|
+
React.createElement(Video, { size: 24, color: "grey-5" })))),
|
|
142
|
+
React.createElement(Tooltip, { content: "Audio", place: "top" },
|
|
143
|
+
React.createElement(MenuButton, { "$active": false, as: "label", onChange: handleAudioChange },
|
|
144
|
+
React.createElement("div", { onClick: () => audioRef.current?.click() },
|
|
145
|
+
React.createElement("input", { accept: "audio/*", ref: audioRef, style: { display: 'none' }, type: "file" }),
|
|
146
|
+
React.createElement(Headphones, { size: 24, color: "grey-5" })))),
|
|
147
|
+
React.createElement(Tooltip, { content: "Blockquote", place: "top" },
|
|
148
|
+
React.createElement(MenuButton, { "$active": false, onClick: handleBlockquote },
|
|
149
|
+
React.createElement(Quote, { size: 24, color: "grey-5" }))),
|
|
150
|
+
React.createElement(Tooltip, { content: "Add a button", place: "top" },
|
|
151
|
+
React.createElement(ButtonModal, { onButtonInsert: handleButton }))),
|
|
152
|
+
React.createElement(Divider, null),
|
|
153
|
+
React.createElement(MenuSection, null,
|
|
154
|
+
React.createElement(Tooltip, { content: "Unordered List", place: "top" },
|
|
155
|
+
React.createElement(MenuButton, { "$active": currUnorderedList, onClick: handleUnorderedList },
|
|
156
|
+
React.createElement(ListUnordered, { size: 24, color: "grey-5" }))),
|
|
157
|
+
React.createElement(Tooltip, { content: "Ordered List", place: "top" },
|
|
158
|
+
React.createElement(MenuButton, { "$active": currOrderedList, onClick: handleOrderedList },
|
|
159
|
+
React.createElement(ListOrdered, { size: 24, color: "grey-5" }))),
|
|
160
|
+
React.createElement(Tooltip, { content: "Add a button", place: "top" },
|
|
161
|
+
React.createElement(MenuButton, { "$active": currOrderedList, onClick: () => {
|
|
162
|
+
insertTable(editorRef);
|
|
163
|
+
} },
|
|
164
|
+
React.createElement(Grid, { size: 24, color: "grey-5" })))))));
|
|
165
|
+
};
|
|
166
|
+
const Wrapper = styled.div `
|
|
2
167
|
position: sticky;
|
|
3
168
|
z-index: 2;
|
|
4
169
|
left: 0;
|
|
5
170
|
right: 0;
|
|
6
171
|
top: 0;
|
|
7
|
-
|
|
172
|
+
`;
|
|
173
|
+
const Menu = styled.nav `
|
|
8
174
|
display: flex;
|
|
9
175
|
gap: 12px;
|
|
10
176
|
justify-content: center;
|
|
@@ -13,13 +179,15 @@
|
|
|
13
179
|
margin: 0 auto;
|
|
14
180
|
padding: 14px 24px;
|
|
15
181
|
background-color: var(--color-white);
|
|
16
|
-
|
|
182
|
+
`;
|
|
183
|
+
const MenuSection = styled.div `
|
|
17
184
|
display: flex;
|
|
18
185
|
gap: 16px;
|
|
19
186
|
align-items: center;
|
|
20
187
|
width: fit-content;
|
|
21
188
|
flex-shrink: 0;
|
|
22
|
-
|
|
189
|
+
`;
|
|
190
|
+
export const MenuButton = styled.button `
|
|
23
191
|
padding: 2px;
|
|
24
192
|
border: none;
|
|
25
193
|
outline: none;
|
|
@@ -46,9 +214,10 @@
|
|
|
46
214
|
}
|
|
47
215
|
}
|
|
48
216
|
|
|
49
|
-
background-color: ${({$active
|
|
50
|
-
|
|
217
|
+
background-color: ${({ $active }) => $active ? 'var(--color-grey-9)' : 'transparent'};
|
|
218
|
+
`;
|
|
219
|
+
const Divider = styled.div `
|
|
51
220
|
width: 1px;
|
|
52
221
|
height: 28px;
|
|
53
222
|
background-color: var(--color-grey-9);
|
|
54
|
-
`;
|
|
223
|
+
`;
|