@soul-refiner/design-system 2.5.0-alpha.7 → 2.5.0-alpha.8
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 +1 -135
- package/dist/common/date.js +1 -28
- package/dist/common/styles.js +30 -59
- package/dist/components/actions/button/button.js +38 -118
- package/dist/components/actions/dropdown/dropdown.js +22 -169
- package/dist/components/actions/rate/rate.js +5 -47
- package/dist/components/actions/switch/switch.js +6 -31
- package/dist/components/actions/toggle/toggle.js +7 -25
- package/dist/components/actions/upload/upload.js +10 -146
- package/dist/components/actions/upload/validations.js +1 -143
- package/dist/components/atoms/box/box.js +12 -16
- package/dist/components/atoms/hide/hide.js +1 -9
- package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +1 -27
- package/dist/components/atoms/time_ago/time_ago.js +2 -31
- package/dist/components/atoms/typography/display.js +6 -10
- package/dist/components/atoms/typography/heading.js +7 -35
- package/dist/components/atoms/typography/paragraph.js +12 -16
- package/dist/components/atoms/typography/typography.js +8 -10
- package/dist/components/card/action/action.js +9 -32
- package/dist/components/card/audio/audio.js +8 -49
- package/dist/components/card/card.js +2 -25
- package/dist/components/card/feature/feature.js +15 -77
- package/dist/components/card/meeting/meeting.js +9 -93
- package/dist/components/card/person/person.js +7 -30
- package/dist/components/card/price/price.js +11 -45
- package/dist/components/card/regular/regular.js +6 -17
- package/dist/components/card/styles.js +3 -5
- package/dist/components/card/video/video.js +8 -48
- package/dist/components/card/written/written.js +8 -48
- package/dist/components/custom/courses_selection/courses_selection.js +13 -95
- package/dist/components/custom/users_selection/users_selection.js +13 -77
- package/dist/components/editor/constants.js +1 -49
- package/dist/components/editor/context.js +1 -8
- package/dist/components/editor/editor.js +3 -34
- package/dist/components/editor/icons/border-all.js +1 -3
- package/dist/components/editor/icons/border-bottom.js +1 -3
- package/dist/components/editor/icons/border-left.js +1 -3
- package/dist/components/editor/icons/border-none.js +1 -3
- package/dist/components/editor/icons/border-right.js +1 -3
- package/dist/components/editor/icons/border-top.js +1 -3
- package/dist/components/editor/navbar/alignment_dropdown.js +1 -97
- package/dist/components/editor/navbar/button_modal.js +3 -52
- package/dist/components/editor/navbar/navbar.js +7 -176
- package/dist/components/editor/navbar/style_dropdown.js +1 -72
- package/dist/components/editor/plugins/blocks/blockquote.js +1 -8
- package/dist/components/editor/plugins/blocks/blocks.js +1 -55
- package/dist/components/editor/plugins/blocks/buttons.js +8 -62
- package/dist/components/editor/plugins/blocks/dropdown-menu.js +2 -62
- package/dist/components/editor/plugins/blocks/image.js +1 -53
- package/dist/components/editor/plugins/blocks/list.js +2 -11
- package/dist/components/editor/plugins/blocks/media-popover.js +1 -34
- package/dist/components/editor/plugins/blocks/plate-button.js +1 -37
- package/dist/components/editor/plugins/blocks/popover.js +2 -11
- package/dist/components/editor/plugins/blocks/qa.js +3 -68
- package/dist/components/editor/plugins/blocks/resizable.js +2 -37
- package/dist/components/editor/plugins/blocks/separator.js +2 -19
- package/dist/components/editor/plugins/blocks/table-cell.js +1 -38
- package/dist/components/editor/plugins/blocks/table-row.js +1 -7
- package/dist/components/editor/plugins/blocks/table.js +1 -93
- package/dist/components/editor/plugins/blocks/text.js +1 -82
- package/dist/components/editor/plugins/blocks/video.js +1 -33
- package/dist/components/editor/plugins/leafs/leafs.js +1 -39
- package/dist/components/editor/plugins/leafs/link.js +4 -45
- package/dist/components/editor/plugins/marks/marks.js +1 -12
- package/dist/components/editor/plugins/plate.js +1 -44
- package/dist/components/editor/plugins/utils/exitBreak.js +1 -36
- package/dist/components/editor/plugins/utils/resetBlockType.js +1 -24
- package/dist/components/editor/plugins/utils/selectOnBackspace.js +1 -8
- package/dist/components/editor/plugins/utils/softBreak.js +1 -14
- package/dist/components/editor/plugins/utils/utils.js +1 -12
- package/dist/components/editor/simple_editor/navbar.js +4 -106
- package/dist/components/editor/simple_editor/plugins.js +1 -102
- package/dist/components/editor/simple_editor/simple_editor.js +5 -59
- package/dist/components/editor/styles/menu_button.js +4 -5
- package/dist/components/feedback/animated_toast/animated_toast.js +4 -24
- package/dist/components/feedback/badge/badge.js +8 -48
- package/dist/components/feedback/banner/banner.js +8 -53
- package/dist/components/feedback/chip/chip.js +9 -73
- package/dist/components/feedback/loader/loader.js +10 -24
- package/dist/components/feedback/notification/notification.js +8 -52
- package/dist/components/feedback/progress/progress.js +15 -68
- package/dist/components/feedback/toast/toast.js +9 -48
- package/dist/components/feedback/tooltip/tooltip.js +2 -26
- package/dist/components/iconography/avatar/avatar.js +23 -138
- package/dist/components/iconography/avatar/icons/approved.js +1 -5
- package/dist/components/iconography/avatar/icons/busy.js +1 -5
- package/dist/components/iconography/avatar/icons/declined.js +1 -5
- package/dist/components/iconography/avatar/icons/default.js +1 -4
- package/dist/components/iconography/avatar/icons/focus.js +1 -5
- package/dist/components/iconography/avatar/icons/ispaid.js +1 -8
- package/dist/components/iconography/avatar/icons/locked.js +1 -5
- package/dist/components/iconography/avatar/icons/offline.js +1 -5
- package/dist/components/iconography/avatar/icons/online.js +1 -4
- package/dist/components/iconography/avatar/icons/subscribed.js +1 -9
- package/dist/components/iconography/icon/icon.js +4 -10
- package/dist/components/input/calendar/calendar.js +14 -137
- package/dist/components/input/checkbox/checkbox.js +7 -16
- package/dist/components/input/date/date.js +14 -236
- package/dist/components/input/filter/filter.js +19 -210
- package/dist/components/input/filter/filter_option.js +10 -44
- package/dist/components/input/radio/radio.js +8 -38
- package/dist/components/input/search/search.js +20 -77
- package/dist/components/input/select/select.js +7 -19
- package/dist/components/input/text_area/text_area.js +16 -52
- package/dist/components/input/text_input/text_input.js +29 -103
- package/dist/components/input/time/time.js +4 -39
- package/dist/components/input/time_input/time_input.js +2 -9
- package/dist/components/media/audio/progress-bar.js +4 -27
- package/dist/components/media/audio-player/audio-player.js +3 -77
- package/dist/components/media/audio-playlist/audio-playlist.js +10 -52
- package/dist/components/media/audio-playlist/playlist-item.js +5 -37
- package/dist/components/media/audio-preview/audio-preview.js +7 -74
- package/dist/components/media/constants.js +1 -4
- package/dist/components/media/video/video.js +1 -32
- package/dist/components/media/video-player/playlist-item.js +6 -33
- package/dist/components/media/video-player/video.js +21 -168
- package/dist/components/navigation/breadcrumb/breadcrumb.js +12 -58
- package/dist/components/navigation/inner/inner.js +14 -122
- package/dist/components/navigation/tabs/tabs.js +21 -121
- package/dist/components/surfaces/accordion/accordion.js +6 -42
- package/dist/components/surfaces/calendar_date/calendar_date.js +11 -31
- package/dist/components/surfaces/carousel/card/card.js +8 -47
- package/dist/components/surfaces/comment/comment.js +21 -137
- package/dist/components/surfaces/comment/helpers.js +1 -26
- package/dist/components/surfaces/discuss_post/discuss_post.js +21 -112
- package/dist/components/surfaces/discuss_post/helpers.js +1 -11
- package/dist/components/surfaces/drawer/drawer.js +8 -67
- package/dist/components/surfaces/message/message.js +5 -31
- package/dist/components/surfaces/modal/modal.js +9 -92
- package/dist/components/surfaces/portal/portal.js +2 -26
- package/dist/components/surfaces/post/post.js +20 -151
- package/dist/components/table/table/table.js +30 -113
- package/dist/emoji/emojis.json.js +1 -0
- package/dist/icons/arrow/arrow_all.js +1 -6
- package/dist/icons/arrow/arrow_all_diagonal.js +1 -6
- package/dist/icons/arrow/arrow_both_downwards.js +1 -6
- package/dist/icons/arrow/arrow_both_upwards.js +1 -6
- package/dist/icons/arrow/arrow_circle_left.js +1 -6
- package/dist/icons/arrow/arrow_circle_left_double.js +1 -6
- package/dist/icons/arrow/arrow_circle_left_double_alert.js +1 -8
- package/dist/icons/arrow/arrow_circle_right.js +1 -6
- package/dist/icons/arrow/arrow_circle_right_double.js +1 -6
- package/dist/icons/arrow/arrow_circle_right_double_alert.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_down_left.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_down_right.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_up_left.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_up_right.js +1 -6
- package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +1 -6
- package/dist/icons/arrow/arrow_down.js +1 -6
- package/dist/icons/arrow/arrow_down_bold.js +1 -6
- package/dist/icons/arrow/arrow_down_circle.js +1 -6
- package/dist/icons/arrow/arrow_left.js +1 -6
- package/dist/icons/arrow/arrow_left_bold.js +1 -6
- package/dist/icons/arrow/arrow_left_circle.js +1 -6
- package/dist/icons/arrow/arrow_left_curved.js +1 -6
- package/dist/icons/arrow/arrow_left_curved_circle.js +1 -6
- package/dist/icons/arrow/arrow_right.js +1 -6
- package/dist/icons/arrow/arrow_right_bold.js +1 -6
- package/dist/icons/arrow/arrow_right_circle.js +1 -6
- package/dist/icons/arrow/arrow_right_curved.js +1 -6
- package/dist/icons/arrow/arrow_right_curved_circle.js +1 -6
- package/dist/icons/arrow/arrow_up.js +1 -6
- package/dist/icons/arrow/arrow_up_bold.js +1 -6
- package/dist/icons/arrow/arrow_up_circle.js +1 -6
- package/dist/icons/arrow/chevron_down.js +1 -6
- package/dist/icons/arrow/chevron_down_circle.js +1 -6
- package/dist/icons/arrow/chevron_down_double.js +1 -6
- package/dist/icons/arrow/chevron_down_double_circle.js +1 -6
- package/dist/icons/arrow/chevron_left.js +1 -6
- package/dist/icons/arrow/chevron_left_circle.js +1 -6
- package/dist/icons/arrow/chevron_left_double.js +1 -6
- package/dist/icons/arrow/chevron_left_double_circle.js +1 -6
- package/dist/icons/arrow/chevron_right.js +1 -6
- package/dist/icons/arrow/chevron_right_circle.js +1 -6
- package/dist/icons/arrow/chevron_right_double.js +1 -6
- package/dist/icons/arrow/chevron_right_double_circle.js +1 -6
- package/dist/icons/arrow/chevron_scroll.js +1 -6
- package/dist/icons/arrow/chevron_up.js +1 -6
- package/dist/icons/arrow/chevron_up_circle.js +1 -6
- package/dist/icons/arrow/chevron_up_double.js +1 -6
- package/dist/icons/arrow/chevron_up_double_circle.js +1 -6
- package/dist/icons/arrow/forward_all.js +1 -6
- package/dist/icons/arrow/forward_all_bold.js +1 -6
- package/dist/icons/arrow/forward_bold.js +1 -6
- package/dist/icons/arrow/redo.js +1 -6
- package/dist/icons/arrow/redo_bold.js +1 -6
- package/dist/icons/arrow/reply.js +1 -6
- package/dist/icons/arrow/reply_all.js +1 -6
- package/dist/icons/arrow/reply_all_bold.js +1 -6
- package/dist/icons/arrow/reply_bold.js +1 -6
- package/dist/icons/arrow/undo.js +1 -6
- package/dist/icons/arrow/undo_bold.js +1 -6
- package/dist/icons/audio_video/drag_indicator.js +1 -6
- package/dist/icons/audio_video/eject.js +1 -6
- package/dist/icons/audio_video/equalizer.js +1 -6
- package/dist/icons/audio_video/fast_forward.js +1 -6
- package/dist/icons/audio_video/fast_forward_30.js +1 -6
- package/dist/icons/audio_video/fullscreen.js +1 -6
- package/dist/icons/audio_video/headphones.js +1 -6
- package/dist/icons/audio_video/library_add.js +1 -6
- package/dist/icons/audio_video/library_music.js +1 -6
- package/dist/icons/audio_video/microphone.js +1 -6
- package/dist/icons/audio_video/musical_note.js +1 -6
- package/dist/icons/audio_video/next.js +1 -6
- package/dist/icons/audio_video/pause.js +1 -6
- package/dist/icons/audio_video/pause_circle.js +1 -6
- package/dist/icons/audio_video/pause_solid.js +1 -6
- package/dist/icons/audio_video/play.js +1 -6
- package/dist/icons/audio_video/play_circle.js +1 -6
- package/dist/icons/audio_video/play_display.js +1 -6
- package/dist/icons/audio_video/play_pause.js +1 -6
- package/dist/icons/audio_video/play_solid.js +1 -6
- package/dist/icons/audio_video/player_list.js +1 -6
- package/dist/icons/audio_video/player_list_add.js +1 -6
- package/dist/icons/audio_video/player_list_play.js +1 -6
- package/dist/icons/audio_video/previous.js +1 -6
- package/dist/icons/audio_video/radio.js +1 -6
- package/dist/icons/audio_video/record.js +1 -6
- package/dist/icons/audio_video/repeat.js +1 -6
- package/dist/icons/audio_video/rewind.js +1 -6
- package/dist/icons/audio_video/rewind_30.js +1 -6
- package/dist/icons/audio_video/shuffle.js +1 -6
- package/dist/icons/audio_video/sound_wave.js +1 -6
- package/dist/icons/audio_video/stop.js +1 -6
- package/dist/icons/audio_video/stop_circle.js +1 -6
- package/dist/icons/audio_video/subscriptions.js +1 -6
- package/dist/icons/audio_video/theaters.js +1 -6
- package/dist/icons/audio_video/tuner.js +1 -6
- package/dist/icons/audio_video/volume.js +1 -6
- package/dist/icons/audio_video/volume_high.js +1 -6
- package/dist/icons/audio_video/volume_low.js +1 -6
- package/dist/icons/audio_video/volume_slash.js +1 -6
- package/dist/icons/basic/aa_sansserif.js +1 -7
- package/dist/icons/basic/aa_serif.js +1 -7
- package/dist/icons/basic/anchor.js +1 -8
- package/dist/icons/basic/bible.js +1 -6
- package/dist/icons/basic/bold.js +1 -6
- package/dist/icons/basic/book.js +1 -6
- package/dist/icons/basic/book_open.js +1 -6
- package/dist/icons/basic/bookmark.js +1 -6
- package/dist/icons/basic/bookmark_add.js +1 -6
- package/dist/icons/basic/bookmark_slash.js +1 -6
- package/dist/icons/basic/bookmarks.js +1 -6
- package/dist/icons/basic/books.js +1 -9
- package/dist/icons/basic/box.js +1 -6
- package/dist/icons/basic/briefcase.js +1 -6
- package/dist/icons/basic/browse_activity.js +1 -6
- package/dist/icons/basic/browser.js +1 -6
- package/dist/icons/basic/browser_slash.js +1 -6
- package/dist/icons/basic/calculator.js +1 -6
- package/dist/icons/basic/camera.js +1 -6
- package/dist/icons/basic/camera_add.js +1 -6
- package/dist/icons/basic/camera_slash.js +1 -6
- package/dist/icons/basic/checkmark.js +1 -6
- package/dist/icons/basic/checkmark_circle.js +1 -8
- package/dist/icons/basic/checkmark_filled.js +1 -6
- package/dist/icons/basic/checkmarks.js +1 -6
- package/dist/icons/basic/circle.js +1 -6
- package/dist/icons/basic/circle_slash.js +1 -8
- package/dist/icons/basic/clear_text_style.js +1 -6
- package/dist/icons/basic/close.js +1 -6
- package/dist/icons/basic/close_circle.js +1 -6
- package/dist/icons/basic/close_filled.js +1 -6
- package/dist/icons/basic/copy.js +1 -6
- package/dist/icons/basic/delete.js +1 -6
- package/dist/icons/basic/detail.js +1 -6
- package/dist/icons/basic/dot.js +1 -6
- package/dist/icons/basic/download.js +1 -6
- package/dist/icons/basic/download_arrow.js +1 -6
- package/dist/icons/basic/droplet.js +1 -8
- package/dist/icons/basic/ellipsis_horizontal.js +1 -6
- package/dist/icons/basic/ellipsis_horizontal_circle.js +1 -6
- package/dist/icons/basic/ellipsis_vertical.js +1 -6
- package/dist/icons/basic/ellipsis_vertical_circle.js +1 -6
- package/dist/icons/basic/emoticon_add.js +1 -6
- package/dist/icons/basic/eye.js +1 -6
- package/dist/icons/basic/eye_slash.js +1 -6
- package/dist/icons/basic/fingerprint.js +1 -6
- package/dist/icons/basic/flag.js +1 -6
- package/dist/icons/basic/flag_wave.js +1 -6
- package/dist/icons/basic/flag_wave_filled.js +1 -6
- package/dist/icons/basic/flame.js +1 -6
- package/dist/icons/basic/gauge.js +1 -6
- package/dist/icons/basic/glasses.js +1 -6
- package/dist/icons/basic/graduation_cap.js +1 -6
- package/dist/icons/basic/hashmark.js +1 -6
- package/dist/icons/basic/heart.js +1 -6
- package/dist/icons/basic/heart_slash.js +1 -6
- package/dist/icons/basic/highlighter.js +1 -6
- package/dist/icons/basic/home.js +1 -6
- package/dist/icons/basic/image.js +1 -6
- package/dist/icons/basic/inbox.js +1 -6
- package/dist/icons/basic/ios_share.js +1 -6
- package/dist/icons/basic/italic.js +1 -6
- package/dist/icons/basic/layers.js +1 -6
- package/dist/icons/basic/lightening.js +1 -6
- package/dist/icons/basic/lightening_slash.js +1 -6
- package/dist/icons/basic/link.js +1 -6
- package/dist/icons/basic/link_slash.js +1 -6
- package/dist/icons/basic/loudspeaker.js +1 -6
- package/dist/icons/basic/maximize.js +1 -6
- package/dist/icons/basic/menu.js +1 -6
- package/dist/icons/basic/menu_circle.js +1 -6
- package/dist/icons/basic/menu_dots.js +1 -6
- package/dist/icons/basic/microphone_slash.js +1 -6
- package/dist/icons/basic/minimize.js +1 -6
- package/dist/icons/basic/minus.js +1 -6
- package/dist/icons/basic/minus_circle.js +1 -6
- package/dist/icons/basic/move_item.js +1 -6
- package/dist/icons/basic/new.js +1 -6
- package/dist/icons/basic/newspaper.js +1 -6
- package/dist/icons/basic/node.js +1 -6
- package/dist/icons/basic/note_pad.js +1 -7
- package/dist/icons/basic/options.js +1 -6
- package/dist/icons/basic/paint_brush.js +1 -6
- package/dist/icons/basic/paperclip.js +1 -6
- package/dist/icons/basic/paperclip_slash.js +1 -6
- package/dist/icons/basic/pencil.js +1 -6
- package/dist/icons/basic/pencil_pad.js +1 -6
- package/dist/icons/basic/plus.js +1 -6
- package/dist/icons/basic/plus_circle.js +1 -6
- package/dist/icons/basic/presentation.js +1 -6
- package/dist/icons/basic/printer.js +1 -6
- package/dist/icons/basic/profile.js +1 -6
- package/dist/icons/basic/profile_check.js +1 -6
- package/dist/icons/basic/pulse.js +1 -6
- package/dist/icons/basic/qr_code.js +1 -6
- package/dist/icons/basic/resize.js +1 -8
- package/dist/icons/basic/scan.js +1 -6
- package/dist/icons/basic/scissors.js +1 -6
- package/dist/icons/basic/screenshot.js +1 -6
- package/dist/icons/basic/search.js +1 -6
- package/dist/icons/basic/select_item.js +1 -7
- package/dist/icons/basic/settings.js +1 -6
- package/dist/icons/basic/share.js +1 -6
- package/dist/icons/basic/share_external.js +1 -6
- package/dist/icons/basic/square.js +1 -6
- package/dist/icons/basic/star.js +1 -6
- package/dist/icons/basic/star_circle.js +1 -6
- package/dist/icons/basic/star_filled.js +1 -6
- package/dist/icons/basic/star_filled_half.js +1 -6
- package/dist/icons/basic/star_slash.js +1 -6
- package/dist/icons/basic/sticker.js +1 -6
- package/dist/icons/basic/strikethrough.js +1 -6
- package/dist/icons/basic/subtask.js +1 -7
- package/dist/icons/basic/tax.js +1 -9
- package/dist/icons/basic/text_bg_color.js +1 -6
- package/dist/icons/basic/text_color.js +1 -6
- package/dist/icons/basic/textbox.js +1 -6
- package/dist/icons/basic/thumbs_down.js +1 -6
- package/dist/icons/basic/thumbs_up.js +1 -6
- package/dist/icons/basic/thumbs_up_filled.js +1 -6
- package/dist/icons/basic/toggle_left.js +1 -6
- package/dist/icons/basic/toggle_right.js +1 -6
- package/dist/icons/basic/translate.js +1 -6
- package/dist/icons/basic/trash.js +1 -6
- package/dist/icons/basic/trash_slash.js +1 -6
- package/dist/icons/basic/underline.js +1 -6
- package/dist/icons/basic/upload.js +1 -6
- package/dist/icons/basic/video.js +1 -6
- package/dist/icons/basic/video_add.js +1 -7
- package/dist/icons/basic/video_slash.js +1 -6
- package/dist/icons/basic/wrench.js +1 -6
- package/dist/icons/basic/zoom_in.js +1 -6
- package/dist/icons/basic/zoom_out.js +1 -6
- package/dist/icons/data/bar_chart.js +1 -6
- package/dist/icons/data/bar_chart_downward.js +1 -6
- package/dist/icons/data/bar_chart_downward_outline.js +1 -6
- package/dist/icons/data/bar_chart_upward.js +1 -6
- package/dist/icons/data/bar_chart_upward_outline.js +1 -6
- package/dist/icons/data/candlestick_chart.js +1 -6
- package/dist/icons/data/four_circles.js +1 -6
- package/dist/icons/data/legend_toggle.js +1 -6
- package/dist/icons/data/line_chart.js +1 -6
- package/dist/icons/data/line_chart_area.js +1 -6
- package/dist/icons/data/line_chart_area_shaded.js +1 -6
- package/dist/icons/data/line_chart_double.js +1 -6
- package/dist/icons/data/line_chart_downward.js +1 -6
- package/dist/icons/data/line_chart_node.js +1 -6
- package/dist/icons/data/line_chart_outline.js +1 -6
- package/dist/icons/data/line_chart_search.js +1 -6
- package/dist/icons/data/line_chart_stars.js +1 -6
- package/dist/icons/data/line_chart_upward.js +1 -6
- package/dist/icons/data/pie_chart.js +1 -7
- package/dist/icons/data/tree.js +1 -6
- package/dist/icons/email/mail.js +1 -6
- package/dist/icons/email/mail_check.js +1 -6
- package/dist/icons/email/mail_minus.js +1 -6
- package/dist/icons/email/mail_send.js +1 -6
- package/dist/icons/email/send.js +1 -6
- package/dist/icons/email/send_close.js +1 -6
- package/dist/icons/email/send_schedule.js +1 -6
- package/dist/icons/email/send_text.js +1 -6
- package/dist/icons/emoji/emoji_add.js +1 -6
- package/dist/icons/emoji/laughing.js +1 -6
- package/dist/icons/emoji/neutral.js +1 -6
- package/dist/icons/emoji/sad.js +1 -6
- package/dist/icons/emoji/shocked.js +1 -6
- package/dist/icons/emoji/smile.js +1 -6
- package/dist/icons/file/clipboard.js +1 -6
- package/dist/icons/file/clipboard_check.js +1 -6
- package/dist/icons/file/clipboard_close.js +1 -6
- package/dist/icons/file/clipboard_minus.js +1 -6
- package/dist/icons/file/clipboard_plus.js +1 -6
- package/dist/icons/file/clipboard_text.js +1 -6
- package/dist/icons/file/file.js +1 -6
- package/dist/icons/file/file_add.js +1 -6
- package/dist/icons/file/file_check.js +1 -6
- package/dist/icons/file/file_close.js +1 -6
- package/dist/icons/file/file_code.js +1 -6
- package/dist/icons/file/file_download.js +1 -6
- package/dist/icons/file/file_draft.js +1 -6
- package/dist/icons/file/file_gear.js +1 -7
- package/dist/icons/file/file_minus.js +1 -6
- package/dist/icons/file/file_plus.js +1 -6
- package/dist/icons/file/file_scan.js +1 -6
- package/dist/icons/file/file_shred.js +1 -6
- package/dist/icons/file/file_text.js +1 -6
- package/dist/icons/file/file_upload.js +1 -6
- package/dist/icons/file/folder.js +1 -6
- package/dist/icons/file/folder_add.js +1 -6
- package/dist/icons/file/folder_arrow.js +1 -6
- package/dist/icons/file/folder_check.js +1 -6
- package/dist/icons/file/folder_close.js +1 -6
- package/dist/icons/file/folder_cloud.js +1 -6
- package/dist/icons/file/folder_gear.js +1 -7
- package/dist/icons/file/folder_minus.js +1 -6
- package/dist/icons/file/folder_music.js +1 -6
- package/dist/icons/file/folder_open.js +1 -6
- package/dist/icons/file/folder_plus.js +1 -6
- package/dist/icons/file/folder_zip.js +1 -6
- package/dist/icons/file/note.js +1 -6
- package/dist/icons/file/note_text.js +1 -6
- package/dist/icons/file/pdf.js +1 -6
- package/dist/icons/file/photo.js +1 -6
- package/dist/icons/finance/bitcoin.js +1 -6
- package/dist/icons/finance/coins.js +1 -10
- package/dist/icons/finance/credit_card.js +1 -6
- package/dist/icons/finance/credit_card_add.js +1 -6
- package/dist/icons/finance/credit_card_face.js +1 -6
- package/dist/icons/finance/credit_card_member.js +1 -6
- package/dist/icons/finance/credit_card_outcome.js +1 -6
- package/dist/icons/finance/credit_card_scan.js +1 -6
- package/dist/icons/finance/credit_card_share.js +1 -6
- package/dist/icons/finance/credit_card_slash.js +1 -6
- package/dist/icons/finance/currency_exchange.js +1 -6
- package/dist/icons/finance/dollar.js +1 -6
- package/dist/icons/finance/ethereum.js +1 -6
- package/dist/icons/finance/paypass.js +1 -6
- package/dist/icons/finance/strongbox.js +1 -6
- package/dist/icons/finance/wallet.js +1 -6
- package/dist/icons/index.js +1 -22
- package/dist/icons/layout/block_align_bottom.js +1 -6
- package/dist/icons/layout/block_align_center.js +1 -6
- package/dist/icons/layout/block_align_left.js +1 -6
- package/dist/icons/layout/block_align_middle.js +1 -6
- package/dist/icons/layout/block_align_right.js +1 -6
- package/dist/icons/layout/block_align_top.js +1 -6
- package/dist/icons/layout/block_horizontal.js +1 -6
- package/dist/icons/layout/block_vertical.js +1 -6
- package/dist/icons/layout/edit_shape.js +1 -6
- package/dist/icons/layout/elements.js +1 -6
- package/dist/icons/layout/elements_add.js +1 -6
- package/dist/icons/layout/elements_filled.js +1 -6
- package/dist/icons/layout/elements_masonry.js +1 -6
- package/dist/icons/layout/frame.js +1 -6
- package/dist/icons/layout/frame_stack.js +1 -6
- package/dist/icons/layout/grid.js +1 -6
- package/dist/icons/layout/grid_column_three.js +1 -6
- package/dist/icons/layout/grid_column_two.js +1 -6
- package/dist/icons/layout/grid_dynamic.js +1 -6
- package/dist/icons/layout/grid_frame.js +1 -6
- package/dist/icons/layout/grid_row_three.js +1 -6
- package/dist/icons/layout/grid_row_two.js +1 -6
- package/dist/icons/layout/grid_six.js +1 -6
- package/dist/icons/layout/grid_small.js +1 -6
- package/dist/icons/layout/iframe.js +1 -6
- package/dist/icons/layout/kanban.js +1 -6
- package/dist/icons/layout/layout.js +1 -6
- package/dist/icons/layout/list.js +1 -6
- package/dist/icons/layout/list_filled.js +1 -11
- package/dist/icons/layout/padding.js +1 -6
- package/dist/icons/layout/page_break.js +1 -6
- package/dist/icons/layout/rotate_left.js +1 -6
- package/dist/icons/layout/rotate_right.js +1 -6
- package/dist/icons/layout/ruler.js +1 -6
- package/dist/icons/layout/segment.js +1 -6
- package/dist/icons/layout/select_area.js +1 -6
- package/dist/icons/layout/select_boundary.js +1 -6
- package/dist/icons/layout/sidebar_left.js +1 -6
- package/dist/icons/layout/sidebar_right.js +1 -6
- package/dist/icons/layout/slides.js +1 -6
- package/dist/icons/layout/slides_horizontal.js +1 -6
- package/dist/icons/layout/slides_vertical.js +1 -11
- package/dist/icons/layout/stack.js +1 -6
- package/dist/icons/layout/text.js +1 -6
- package/dist/icons/maps/atlas.js +1 -6
- package/dist/icons/maps/compass.js +1 -6
- package/dist/icons/maps/direction.js +1 -6
- package/dist/icons/maps/direction_angled.js +1 -6
- package/dist/icons/maps/globe.js +1 -6
- package/dist/icons/maps/globe_slash.js +1 -6
- package/dist/icons/maps/location.js +1 -6
- package/dist/icons/maps/location_slash.js +1 -6
- package/dist/icons/maps/map.js +1 -6
- package/dist/icons/maps/marker.js +1 -6
- package/dist/icons/maps/panorama.js +1 -6
- package/dist/icons/maps/pin.js +1 -6
- package/dist/icons/maps/pin_arrow.js +1 -6
- package/dist/icons/maps/pin_location.js +1 -6
- package/dist/icons/maps/pin_plus.js +1 -6
- package/dist/icons/maps/pin_question.js +1 -6
- package/dist/icons/maps/pin_slash.js +1 -6
- package/dist/icons/maps/push_pin.js +1 -6
- package/dist/icons/maps/push_pin_filled.js +1 -6
- package/dist/icons/maps/push_pin_slash.js +1 -6
- package/dist/icons/maps/radar.js +1 -6
- package/dist/icons/maps/route.js +1 -6
- package/dist/icons/message/bubble.js +1 -6
- package/dist/icons/message/bubble_question.js +1 -6
- package/dist/icons/message/comment.js +1 -6
- package/dist/icons/message/comment_add.js +1 -6
- package/dist/icons/message/comment_check.js +1 -6
- package/dist/icons/message/comment_close.js +1 -6
- package/dist/icons/message/comment_minus.js +1 -6
- package/dist/icons/message/comment_text.js +1 -6
- package/dist/icons/misc/advertisement.js +1 -6
- package/dist/icons/misc/atom.js +1 -6
- package/dist/icons/misc/bone.js +1 -6
- package/dist/icons/misc/brightness_high.js +1 -6
- package/dist/icons/misc/brightness_low.js +1 -6
- package/dist/icons/misc/contrast.js +1 -6
- package/dist/icons/misc/crosshairs.js +1 -6
- package/dist/icons/misc/crown.js +1 -6
- package/dist/icons/misc/footprint.js +1 -6
- package/dist/icons/misc/form.js +1 -6
- package/dist/icons/misc/funnel.js +1 -6
- package/dist/icons/misc/infinite.js +1 -6
- package/dist/icons/misc/insert_button.js +1 -6
- package/dist/icons/misc/light_bulb.js +1 -6
- package/dist/icons/misc/moon.js +1 -6
- package/dist/icons/misc/nut.js +1 -6
- package/dist/icons/misc/planet.js +1 -6
- package/dist/icons/misc/plus_thick.js +1 -6
- package/dist/icons/misc/pocket.js +1 -6
- package/dist/icons/misc/rocket.js +1 -6
- package/dist/icons/misc/soup.js +1 -10
- package/dist/icons/misc/sun.js +1 -6
- package/dist/icons/misc/toy_horse.js +1 -6
- package/dist/icons/misc/trophy.js +1 -6
- package/dist/icons/misc/watercloset.js +1 -6
- package/dist/icons/notifications/alert_circle.js +1 -6
- package/dist/icons/notifications/alert_octogon.js +1 -6
- package/dist/icons/notifications/alert_triangle.js +1 -6
- package/dist/icons/notifications/app_notification.js +1 -6
- package/dist/icons/notifications/bell.js +1 -6
- package/dist/icons/notifications/bell_alert.js +1 -6
- package/dist/icons/notifications/bell_checkmark.js +1 -6
- package/dist/icons/notifications/bell_minus.js +1 -6
- package/dist/icons/notifications/bell_plus.js +1 -6
- package/dist/icons/notifications/bell_ring.js +1 -8
- package/dist/icons/notifications/bell_slash.js +1 -6
- package/dist/icons/notifications/information.js +1 -6
- package/dist/icons/notifications/minus_octogon.js +1 -6
- package/dist/icons/notifications/question_circle.js +1 -6
- package/dist/icons/people/group.js +1 -6
- package/dist/icons/people/group_add.js +1 -6
- package/dist/icons/people/group_chat.js +1 -8
- package/dist/icons/people/group_remove.js +1 -6
- package/dist/icons/people/group_send.js +1 -7
- package/dist/icons/people/groups.js +1 -6
- package/dist/icons/people/person.js +1 -6
- package/dist/icons/people/person_add.js +1 -6
- package/dist/icons/people/person_checkmark.js +1 -6
- package/dist/icons/people/person_circle.js +1 -8
- package/dist/icons/people/person_close.js +1 -8
- package/dist/icons/people/person_remove.js +1 -6
- package/dist/icons/people/person_slash.js +1 -8
- package/dist/icons/phone/keypad.js +1 -6
- package/dist/icons/phone/phone.js +1 -6
- package/dist/icons/phone/phone_add.js +1 -6
- package/dist/icons/phone/phone_calling.js +1 -6
- package/dist/icons/phone/phone_check.js +1 -6
- package/dist/icons/phone/phone_close.js +1 -6
- package/dist/icons/phone/phone_decline.js +1 -6
- package/dist/icons/phone/phone_forwarded.js +1 -6
- package/dist/icons/phone/phone_hash.js +1 -6
- package/dist/icons/phone/phone_incoming.js +1 -6
- package/dist/icons/phone/phone_outgoing.js +1 -6
- package/dist/icons/phone/phone_pause.js +1 -6
- package/dist/icons/phone/phone_slash.js +1 -6
- package/dist/icons/phone/voicemail.js +1 -6
- package/dist/icons/security/key.js +1 -6
- package/dist/icons/security/key_slash.js +1 -6
- package/dist/icons/security/lock.js +1 -6
- package/dist/icons/security/lock_circle.js +1 -6
- package/dist/icons/security/lock_open.js +1 -6
- package/dist/icons/security/lock_slash.js +1 -6
- package/dist/icons/security/shield.js +1 -6
- package/dist/icons/security/shield_checkmark.js +1 -6
- package/dist/icons/security/shield_lock.js +1 -6
- package/dist/icons/security/shield_slash.js +1 -6
- package/dist/icons/security/verified.js +1 -6
- package/dist/icons/shopping/basket.js +1 -6
- package/dist/icons/shopping/cart.js +1 -6
- package/dist/icons/shopping/cart_filled.js +1 -6
- package/dist/icons/shopping/coupon.js +1 -6
- package/dist/icons/shopping/coupon_cut.js +1 -6
- package/dist/icons/shopping/delivery.js +1 -6
- package/dist/icons/shopping/discount.js +1 -6
- package/dist/icons/shopping/gift.js +1 -6
- package/dist/icons/shopping/gift_bag.js +1 -6
- package/dist/icons/shopping/inventory.js +1 -6
- package/dist/icons/shopping/point_of_sale.js +1 -6
- package/dist/icons/shopping/shirt.js +1 -6
- package/dist/icons/shopping/tag.js +1 -6
- package/dist/icons/shopping/tag_diagonal.js +1 -6
- package/dist/icons/shopping/tote.js +1 -6
- package/dist/icons/special/upload_audio.js +1 -11
- package/dist/icons/special/upload_file.js +1 -6
- package/dist/icons/special/upload_image.js +1 -8
- package/dist/icons/special/upload_video.js +1 -9
- package/dist/icons/symbols/at.js +1 -6
- package/dist/icons/symbols/cc.js +1 -6
- package/dist/icons/symbols/cmd.js +1 -6
- package/dist/icons/symbols/facebook.js +1 -6
- package/dist/icons/symbols/google.js +1 -9
- package/dist/icons/symbols/hash.js +1 -6
- package/dist/icons/symbols/instagram.js +1 -18
- package/dist/icons/symbols/messenger.js +1 -12
- package/dist/icons/symbols/twitter.js +1 -6
- package/dist/icons/technology/battery.js +1 -6
- package/dist/icons/technology/battery_100.js +1 -6
- package/dist/icons/technology/battery_20.js +1 -6
- package/dist/icons/technology/battery_40.js +1 -6
- package/dist/icons/technology/battery_60.js +1 -6
- package/dist/icons/technology/battery_80.js +1 -6
- package/dist/icons/technology/battery_charging.js +1 -6
- package/dist/icons/technology/battery_slash.js +1 -6
- package/dist/icons/technology/devices.js +1 -6
- package/dist/icons/technology/floppy_disk.js +1 -6
- package/dist/icons/technology/iphone.js +1 -6
- package/dist/icons/technology/laptop.js +1 -6
- package/dist/icons/technology/mobile.js +1 -6
- package/dist/icons/technology/monitor.js +1 -6
- package/dist/icons/technology/server.js +1 -6
- package/dist/icons/technology/sim_card.js +1 -6
- package/dist/icons/technology/usb_stick.js +1 -6
- package/dist/icons/text/align_center.js +1 -6
- package/dist/icons/text/align_justified.js +1 -6
- package/dist/icons/text/align_left.js +1 -6
- package/dist/icons/text/align_right.js +1 -6
- package/dist/icons/text/code_block.js +1 -6
- package/dist/icons/text/divider.js +1 -6
- package/dist/icons/text/footnote.js +1 -8
- package/dist/icons/text/indent_decrease.js +1 -6
- package/dist/icons/text/indent_increase.js +1 -6
- package/dist/icons/text/list_ordered.js +1 -6
- package/dist/icons/text/list_unordered.js +1 -6
- package/dist/icons/text/quote.js +1 -6
- package/dist/icons/text/table.js +1 -6
- package/dist/icons/time/alarm.js +1 -6
- package/dist/icons/time/alarm_checkmark.js +1 -6
- package/dist/icons/time/alarm_minus.js +1 -6
- package/dist/icons/time/alarm_plus.js +1 -6
- package/dist/icons/time/alarm_slash.js +1 -6
- package/dist/icons/time/alarm_snooze.js +1 -6
- package/dist/icons/time/calendar.js +1 -6
- package/dist/icons/time/calendar_add.js +1 -6
- package/dist/icons/time/calendar_checkmark.js +1 -6
- package/dist/icons/time/calendar_close.js +1 -6
- package/dist/icons/time/calendar_dates.js +1 -6
- package/dist/icons/time/calendar_minus.js +1 -6
- package/dist/icons/time/calendar_plus.js +1 -6
- package/dist/icons/time/calendar_scroll.js +1 -8
- package/dist/icons/time/clock.js +1 -6
- package/dist/icons/time/clock_history.js +1 -6
- package/dist/icons/time/stopwatch.js +1 -6
- package/dist/icons/time/timer.js +1 -6
- package/dist/icons/time/watch.js +1 -6
- package/dist/index.js +1 -6
- package/dist/{components → src/components}/editor/plugins/blocks/plate-button.d.ts +4 -4
- package/dist/{components → src/components}/editor/plugins/blocks/resizable.d.ts +1 -1
- package/dist/src/components/editor/plugins/marks/marks.d.ts +1 -0
- package/dist/{components → src/components}/editor/plugins/plate.d.ts +2 -2
- package/dist/src/components/editor/plugins/utils/utils.d.ts +1 -0
- package/dist/{components → src/components}/editor/simple_editor/simple_editor.d.ts +1 -1
- package/dist/src/styles/globals.css +1 -0
- package/dist/{utils → src/utils}/date.d.ts +1 -1
- package/dist/utils/date.js +1 -100
- package/dist/utils/file.js +1 -22
- package/dist/utils/function.js +1 -1
- package/dist/utils/time.js +1 -22
- package/package.json +5 -12
- package/dist/common/index.js +0 -3
- package/dist/components/actions/button/index.js +0 -1
- package/dist/components/actions/dropdown/index.js +0 -1
- package/dist/components/actions/index.js +0 -6
- package/dist/components/actions/rate/index.js +0 -1
- package/dist/components/actions/switch/index.js +0 -1
- package/dist/components/actions/toggle/index.js +0 -1
- package/dist/components/actions/upload/index.js +0 -1
- package/dist/components/atoms/box/index.js +0 -1
- package/dist/components/atoms/colors/colors.js +0 -36
- package/dist/components/atoms/colors/index.js +0 -1
- package/dist/components/atoms/hide/index.js +0 -1
- package/dist/components/atoms/index.js +0 -5
- package/dist/components/atoms/seconds_to_duration/index.js +0 -1
- package/dist/components/atoms/time_ago/index.js +0 -1
- package/dist/components/atoms/typography/index.js +0 -4
- package/dist/components/card/action/index.js +0 -1
- package/dist/components/card/audio/index.js +0 -1
- package/dist/components/card/feature/index.js +0 -1
- package/dist/components/card/index.js +0 -1
- package/dist/components/card/meeting/index.js +0 -1
- package/dist/components/card/person/index.js +0 -1
- package/dist/components/card/price/index.js +0 -1
- package/dist/components/card/regular/index.js +0 -1
- package/dist/components/card/video/index.js +0 -1
- package/dist/components/card/written/index.js +0 -1
- package/dist/components/custom/courses_selection/index.js +0 -1
- package/dist/components/custom/index.js +0 -2
- package/dist/components/custom/users_selection/index.js +0 -1
- package/dist/components/editor/icons/index.js +0 -6
- package/dist/components/editor/index.js +0 -2
- package/dist/components/editor/navbar/index.js +0 -1
- package/dist/components/editor/plugins/blocks/index.js +0 -1
- package/dist/components/editor/plugins/index.js +0 -4
- package/dist/components/editor/plugins/leafs/index.js +0 -1
- package/dist/components/editor/plugins/marks/index.js +0 -1
- package/dist/components/editor/plugins/marks/marks.d.ts +0 -1
- package/dist/components/editor/plugins/utils/index.js +0 -1
- package/dist/components/editor/plugins/utils/utils.d.ts +0 -1
- package/dist/components/editor/simple_editor/index.js +0 -1
- package/dist/components/feedback/animated_toast/index.js +0 -1
- package/dist/components/feedback/badge/index.js +0 -1
- package/dist/components/feedback/banner/index.js +0 -1
- package/dist/components/feedback/chip/index.js +0 -1
- package/dist/components/feedback/index.js +0 -8
- package/dist/components/feedback/loader/index.js +0 -1
- package/dist/components/feedback/notification/index.js +0 -1
- package/dist/components/feedback/progress/index.js +0 -1
- package/dist/components/feedback/toast/index.js +0 -1
- package/dist/components/feedback/tooltip/index.js +0 -1
- package/dist/components/iconography/avatar/icons/index.js +0 -10
- package/dist/components/iconography/avatar/index.js +0 -1
- package/dist/components/iconography/icon/index.js +0 -1
- package/dist/components/iconography/index.js +0 -2
- package/dist/components/index.js +0 -12
- package/dist/components/input/calendar/index.js +0 -1
- package/dist/components/input/checkbox/index.js +0 -1
- package/dist/components/input/date/index.js +0 -1
- package/dist/components/input/filter/index.js +0 -1
- package/dist/components/input/index.js +0 -11
- package/dist/components/input/radio/index.js +0 -1
- package/dist/components/input/search/index.js +0 -1
- package/dist/components/input/select/index.js +0 -1
- package/dist/components/input/text_area/index.js +0 -1
- package/dist/components/input/text_input/index.js +0 -1
- package/dist/components/input/time/index.js +0 -1
- package/dist/components/input/time_input/index.js +0 -1
- package/dist/components/media/audio/index.js +0 -1
- package/dist/components/media/audio-player/index.js +0 -1
- package/dist/components/media/audio-playlist/index.js +0 -1
- package/dist/components/media/audio-preview/index.js +0 -1
- package/dist/components/media/common.js +0 -1
- package/dist/components/media/index.js +0 -5
- package/dist/components/media/video/index.js +0 -1
- package/dist/components/media/video-player/index.js +0 -1
- package/dist/components/navigation/breadcrumb/index.js +0 -1
- package/dist/components/navigation/index.js +0 -3
- package/dist/components/navigation/inner/index.js +0 -1
- package/dist/components/navigation/tabs/index.js +0 -1
- package/dist/components/surfaces/accordion/index.js +0 -1
- package/dist/components/surfaces/calendar_date/index.js +0 -1
- package/dist/components/surfaces/carousel/card/index.js +0 -1
- package/dist/components/surfaces/carousel/index.js +0 -1
- package/dist/components/surfaces/comment/index.js +0 -1
- package/dist/components/surfaces/discuss_post/index.js +0 -1
- package/dist/components/surfaces/drawer/index.js +0 -1
- package/dist/components/surfaces/index.js +0 -10
- package/dist/components/surfaces/message/index.js +0 -1
- package/dist/components/surfaces/modal/index.js +0 -1
- package/dist/components/surfaces/portal/index.js +0 -1
- package/dist/components/surfaces/post/index.js +0 -1
- package/dist/components/table/index.js +0 -1
- package/dist/components/table/table/index.js +0 -1
- package/dist/emoji/emojis.json +0 -17577
- package/dist/icons/arrow/index.js +0 -62
- package/dist/icons/audio_video/index.js +0 -40
- package/dist/icons/audio_video/library_delay.js +0 -6
- package/dist/icons/audio_video/library_queue.js +0 -6
- package/dist/icons/basic/index.js +0 -133
- package/dist/icons/data/index.js +0 -20
- package/dist/icons/email/index.js +0 -8
- package/dist/icons/emoji/index.js +0 -6
- package/dist/icons/file/index.js +0 -36
- package/dist/icons/finance/index.js +0 -16
- package/dist/icons/layout/index.js +0 -44
- package/dist/icons/maps/index.js +0 -22
- package/dist/icons/message/index.js +0 -8
- package/dist/icons/misc/index.js +0 -25
- package/dist/icons/notifications/close_octogon.js +0 -6
- package/dist/icons/notifications/index.js +0 -14
- package/dist/icons/people/index.js +0 -13
- package/dist/icons/phone/index.js +0 -14
- package/dist/icons/phone/phone_end.js +0 -6
- package/dist/icons/phone/phone_missed.js +0 -6
- package/dist/icons/security/index.js +0 -11
- package/dist/icons/shopping/index.js +0 -15
- package/dist/icons/special/index.js +0 -4
- package/dist/icons/symbols/index.js +0 -9
- package/dist/icons/technology/index.js +0 -17
- package/dist/icons/text/index.js +0 -13
- package/dist/icons/time/index.js +0 -19
- package/dist/types/attributes.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/utils/index.js +0 -4
- /package/dist/{common → src/common}/colors.d.ts +0 -0
- /package/dist/{common → src/common}/date.d.ts +0 -0
- /package/dist/{common → src/common}/index.d.ts +0 -0
- /package/dist/{common → src/common}/styles.d.ts +0 -0
- /package/dist/{components → src/components}/actions/button/button.d.ts +0 -0
- /package/dist/{components → src/components}/actions/button/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/dropdown/dropdown.d.ts +0 -0
- /package/dist/{components → src/components}/actions/dropdown/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/rate/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/rate/rate.d.ts +0 -0
- /package/dist/{components → src/components}/actions/switch/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/switch/switch.d.ts +0 -0
- /package/dist/{components → src/components}/actions/toggle/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/toggle/toggle.d.ts +0 -0
- /package/dist/{components → src/components}/actions/upload/index.d.ts +0 -0
- /package/dist/{components → src/components}/actions/upload/upload.d.ts +0 -0
- /package/dist/{components → src/components}/actions/upload/validations.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/box/box.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/box/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/colors/colors.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/colors/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/hide/hide.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/hide/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/seconds_to_duration/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/seconds_to_duration/seconds_to_duration.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/time_ago/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/time_ago/time_ago.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/typography/display.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/typography/heading.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/typography/index.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/typography/paragraph.d.ts +0 -0
- /package/dist/{components → src/components}/atoms/typography/typography.d.ts +0 -0
- /package/dist/{components → src/components}/card/action/action.d.ts +0 -0
- /package/dist/{components → src/components}/card/action/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/audio/audio.d.ts +0 -0
- /package/dist/{components → src/components}/card/audio/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/card.d.ts +0 -0
- /package/dist/{components → src/components}/card/feature/feature.d.ts +0 -0
- /package/dist/{components → src/components}/card/feature/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/meeting/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/meeting/meeting.d.ts +0 -0
- /package/dist/{components → src/components}/card/person/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/person/person.d.ts +0 -0
- /package/dist/{components → src/components}/card/price/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/price/price.d.ts +0 -0
- /package/dist/{components → src/components}/card/regular/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/regular/regular.d.ts +0 -0
- /package/dist/{components → src/components}/card/styles.d.ts +0 -0
- /package/dist/{components → src/components}/card/video/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/video/video.d.ts +0 -0
- /package/dist/{components → src/components}/card/written/index.d.ts +0 -0
- /package/dist/{components → src/components}/card/written/written.d.ts +0 -0
- /package/dist/{components → src/components}/custom/courses_selection/courses_selection.d.ts +0 -0
- /package/dist/{components → src/components}/custom/courses_selection/index.d.ts +0 -0
- /package/dist/{components → src/components}/custom/index.d.ts +0 -0
- /package/dist/{components → src/components}/custom/users_selection/index.d.ts +0 -0
- /package/dist/{components → src/components}/custom/users_selection/users_selection.d.ts +0 -0
- /package/dist/{components → src/components}/editor/constants.d.ts +0 -0
- /package/dist/{components → src/components}/editor/context.d.ts +0 -0
- /package/dist/{components → src/components}/editor/editor.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-all.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-bottom.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-left.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-none.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-right.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/border-top.d.ts +0 -0
- /package/dist/{components → src/components}/editor/icons/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/navbar/alignment_dropdown.d.ts +0 -0
- /package/dist/{components → src/components}/editor/navbar/button_modal.d.ts +0 -0
- /package/dist/{components → src/components}/editor/navbar/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/navbar/navbar.d.ts +0 -0
- /package/dist/{components → src/components}/editor/navbar/style_dropdown.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/blockquote.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/blocks.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/buttons.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/dropdown-menu.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/image.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/list.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/media-popover.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/popover.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/qa.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/separator.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/table-cell.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/table-row.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/table.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/text.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/blocks/video.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/leafs/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/leafs/leafs.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/leafs/link.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/marks/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/utils/exitBreak.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/utils/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/utils/resetBlockType.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/utils/selectOnBackspace.d.ts +0 -0
- /package/dist/{components → src/components}/editor/plugins/utils/softBreak.d.ts +0 -0
- /package/dist/{components → src/components}/editor/simple_editor/index.d.ts +0 -0
- /package/dist/{components → src/components}/editor/simple_editor/navbar.d.ts +0 -0
- /package/dist/{components → src/components}/editor/simple_editor/plugins.d.ts +0 -0
- /package/dist/{components → src/components}/editor/styles/menu_button.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/animated_toast/animated_toast.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/animated_toast/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/badge/badge.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/badge/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/banner/banner.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/banner/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/chip/chip.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/chip/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/loader/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/loader/loader.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/notification/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/notification/notification.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/progress/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/progress/progress.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/toast/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/toast/toast.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/tooltip/index.d.ts +0 -0
- /package/dist/{components → src/components}/feedback/tooltip/tooltip.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/avatar.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/approved.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/busy.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/declined.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/default.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/focus.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/index.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/ispaid.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/locked.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/offline.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/online.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/icons/subscribed.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/avatar/index.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/icon/icon.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/icon/index.d.ts +0 -0
- /package/dist/{components → src/components}/iconography/index.d.ts +0 -0
- /package/dist/{components → src/components}/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/calendar/calendar.d.ts +0 -0
- /package/dist/{components → src/components}/input/calendar/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/checkbox/checkbox.d.ts +0 -0
- /package/dist/{components → src/components}/input/checkbox/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/date/date.d.ts +0 -0
- /package/dist/{components → src/components}/input/date/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/filter/filter.d.ts +0 -0
- /package/dist/{components → src/components}/input/filter/filter_option.d.ts +0 -0
- /package/dist/{components → src/components}/input/filter/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/radio/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/radio/radio.d.ts +0 -0
- /package/dist/{components → src/components}/input/search/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/search/search.d.ts +0 -0
- /package/dist/{components → src/components}/input/select/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/select/select.d.ts +0 -0
- /package/dist/{components → src/components}/input/text_area/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/text_area/text_area.d.ts +0 -0
- /package/dist/{components → src/components}/input/text_input/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/text_input/text_input.d.ts +0 -0
- /package/dist/{components → src/components}/input/time/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/time/time.d.ts +0 -0
- /package/dist/{components → src/components}/input/time_input/index.d.ts +0 -0
- /package/dist/{components → src/components}/input/time_input/time_input.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio/progress-bar.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-player/audio-player.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-player/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-playlist/audio-playlist.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-playlist/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-playlist/playlist-item.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-preview/audio-preview.d.ts +0 -0
- /package/dist/{components → src/components}/media/audio-preview/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/common.d.ts +0 -0
- /package/dist/{components → src/components}/media/constants.d.ts +0 -0
- /package/dist/{components → src/components}/media/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/video/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/video/video.d.ts +0 -0
- /package/dist/{components → src/components}/media/video-player/index.d.ts +0 -0
- /package/dist/{components → src/components}/media/video-player/playlist-item.d.ts +0 -0
- /package/dist/{components → src/components}/media/video-player/video.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/breadcrumb/breadcrumb.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/breadcrumb/index.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/index.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/inner/index.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/inner/inner.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/tabs/index.d.ts +0 -0
- /package/dist/{components → src/components}/navigation/tabs/tabs.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/accordion/accordion.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/accordion/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/calendar_date/calendar_date.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/calendar_date/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/carousel/card/card.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/carousel/card/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/carousel/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/comment/comment.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/comment/helpers.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/comment/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/discuss_post/discuss_post.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/discuss_post/helpers.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/discuss_post/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/drawer/drawer.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/drawer/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/message/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/message/message.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/modal/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/modal/modal.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/portal/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/portal/portal.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/post/index.d.ts +0 -0
- /package/dist/{components → src/components}/surfaces/post/post.d.ts +0 -0
- /package/dist/{components → src/components}/table/index.d.ts +0 -0
- /package/dist/{components → src/components}/table/table/index.d.ts +0 -0
- /package/dist/{components → src/components}/table/table/table.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_all.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_all_diagonal.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_both_downwards.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_both_upwards.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_left_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_left_double_alert.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_right_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_circle_right_double_alert.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_down_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_down_left_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_down_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_down_right_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_up_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_up_left_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_up_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_diagonal_up_right_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_down.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_down_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_down_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_left_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_left_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_left_curved.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_left_curved_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_right_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_right_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_right_curved.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_right_curved_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_up.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_up_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/arrow_up_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_down.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_down_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_down_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_down_double_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_left_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_left_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_left_double_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_right_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_right_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_right_double_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_scroll.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_up.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_up_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_up_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/chevron_up_double_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/forward_all.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/forward_all_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/forward_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/redo.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/redo_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/reply.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/reply_all.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/reply_all_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/reply_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/undo.d.ts +0 -0
- /package/dist/{icons → src/icons}/arrow/undo_bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/drag_indicator.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/eject.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/equalizer.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/fast_forward.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/fast_forward_30.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/fullscreen.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/headphones.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/library_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/library_delay.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/library_music.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/library_queue.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/microphone.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/musical_note.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/next.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/pause.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/pause_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/pause_solid.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/play.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/play_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/play_display.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/play_pause.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/play_solid.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/player_list.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/player_list_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/player_list_play.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/previous.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/radio.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/record.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/repeat.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/rewind.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/rewind_30.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/shuffle.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/sound_wave.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/stop.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/stop_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/subscriptions.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/theaters.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/tuner.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/volume.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/volume_high.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/volume_low.d.ts +0 -0
- /package/dist/{icons → src/icons}/audio_video/volume_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/aa_sansserif.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/aa_serif.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/anchor.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bible.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bold.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/book.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/book_open.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bookmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bookmark_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bookmark_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/bookmarks.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/books.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/box.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/briefcase.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/browse_activity.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/browser.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/browser_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/calculator.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/camera.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/camera_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/camera_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/checkmark_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/checkmark_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/checkmarks.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/circle_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/clear_text_style.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/close.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/close_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/close_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/copy.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/delete.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/detail.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/dot.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/download.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/download_arrow.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/droplet.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/ellipsis_horizontal.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/ellipsis_horizontal_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/ellipsis_vertical.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/ellipsis_vertical_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/emoticon_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/eye.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/eye_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/fingerprint.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/flag.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/flag_wave.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/flag_wave_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/flame.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/gauge.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/glasses.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/graduation_cap.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/hashmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/heart.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/heart_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/highlighter.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/home.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/image.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/inbox.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/ios_share.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/italic.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/layers.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/lightening.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/lightening_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/link.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/link_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/loudspeaker.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/maximize.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/menu.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/menu_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/menu_dots.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/microphone_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/minimize.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/minus_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/move_item.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/new.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/newspaper.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/node.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/note_pad.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/options.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/paint_brush.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/paperclip.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/paperclip_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/pencil.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/pencil_pad.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/plus_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/presentation.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/printer.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/profile.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/profile_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/pulse.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/qr_code.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/resize.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/scan.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/scissors.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/screenshot.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/search.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/select_item.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/settings.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/share.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/share_external.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/square.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/star.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/star_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/star_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/star_filled_half.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/star_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/sticker.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/strikethrough.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/subtask.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/tax.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/text_bg_color.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/text_color.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/textbox.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/thumbs_down.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/thumbs_up.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/thumbs_up_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/toggle_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/toggle_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/translate.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/trash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/trash_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/underline.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/upload.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/video.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/video_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/video_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/wrench.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/zoom_in.d.ts +0 -0
- /package/dist/{icons → src/icons}/basic/zoom_out.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/bar_chart.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/bar_chart_downward.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/bar_chart_downward_outline.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/bar_chart_upward.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/bar_chart_upward_outline.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/candlestick_chart.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/four_circles.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/legend_toggle.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_area.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_area_shaded.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_double.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_downward.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_node.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_outline.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_search.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_stars.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/line_chart_upward.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/pie_chart.d.ts +0 -0
- /package/dist/{icons → src/icons}/data/tree.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/mail.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/mail_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/mail_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/mail_send.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/send.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/send_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/send_schedule.d.ts +0 -0
- /package/dist/{icons → src/icons}/email/send_text.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/emoji_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/laughing.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/neutral.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/sad.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/shocked.d.ts +0 -0
- /package/dist/{icons → src/icons}/emoji/smile.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/clipboard_text.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_code.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_download.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_draft.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_gear.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_scan.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_shred.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_text.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/file_upload.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_arrow.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_cloud.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_gear.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_music.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_open.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/folder_zip.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/note.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/note_text.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/pdf.d.ts +0 -0
- /package/dist/{icons → src/icons}/file/photo.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/bitcoin.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/coins.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_face.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_member.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_outcome.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_scan.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_share.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/credit_card_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/currency_exchange.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/dollar.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/ethereum.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/paypass.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/strongbox.d.ts +0 -0
- /package/dist/{icons → src/icons}/finance/wallet.d.ts +0 -0
- /package/dist/{icons → src/icons}/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_bottom.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_center.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_middle.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_align_top.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_horizontal.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/block_vertical.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/edit_shape.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/elements.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/elements_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/elements_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/elements_masonry.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/frame.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/frame_stack.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_column_three.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_column_two.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_dynamic.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_frame.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_row_three.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_row_two.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_six.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/grid_small.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/iframe.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/kanban.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/layout.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/list.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/list_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/padding.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/page_break.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/rotate_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/rotate_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/ruler.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/segment.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/select_area.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/select_boundary.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/sidebar_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/sidebar_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/slides.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/slides_horizontal.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/slides_vertical.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/stack.d.ts +0 -0
- /package/dist/{icons → src/icons}/layout/text.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/atlas.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/compass.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/direction.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/direction_angled.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/globe.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/globe_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/location.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/location_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/map.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/marker.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/panorama.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin_arrow.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin_location.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin_question.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/pin_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/push_pin.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/push_pin_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/push_pin_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/radar.d.ts +0 -0
- /package/dist/{icons → src/icons}/maps/route.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/bubble.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/bubble_question.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/comment_text.d.ts +0 -0
- /package/dist/{icons → src/icons}/message/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/advertisement.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/atom.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/bone.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/brightness_high.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/brightness_low.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/contrast.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/crosshairs.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/crown.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/footprint.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/form.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/funnel.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/infinite.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/insert_button.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/light_bulb.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/moon.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/nut.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/planet.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/plus_thick.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/pocket.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/rocket.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/soup.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/sun.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/toy_horse.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/trophy.d.ts +0 -0
- /package/dist/{icons → src/icons}/misc/watercloset.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/alert_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/alert_octogon.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/alert_triangle.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/app_notification.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_alert.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_ring.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/bell_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/close_octogon.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/information.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/minus_octogon.d.ts +0 -0
- /package/dist/{icons → src/icons}/notifications/question_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/group.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/group_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/group_chat.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/group_remove.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/group_send.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/groups.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_remove.d.ts +0 -0
- /package/dist/{icons → src/icons}/people/person_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/keypad.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_calling.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_check.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_decline.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_end.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_forwarded.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_hash.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_incoming.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_missed.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_outgoing.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_pause.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/phone_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/phone/voicemail.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/key.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/key_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/lock.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/lock_circle.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/lock_open.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/lock_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/shield.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/shield_checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/shield_lock.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/shield_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/security/verified.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/basket.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/cart.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/cart_filled.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/coupon.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/coupon_cut.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/delivery.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/discount.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/gift.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/gift_bag.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/inventory.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/point_of_sale.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/shirt.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/tag.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/tag_diagonal.d.ts +0 -0
- /package/dist/{icons → src/icons}/shopping/tote.d.ts +0 -0
- /package/dist/{icons → src/icons}/special/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/special/upload_audio.d.ts +0 -0
- /package/dist/{icons → src/icons}/special/upload_file.d.ts +0 -0
- /package/dist/{icons → src/icons}/special/upload_image.d.ts +0 -0
- /package/dist/{icons → src/icons}/special/upload_video.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/at.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/cc.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/cmd.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/facebook.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/google.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/hash.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/instagram.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/messenger.d.ts +0 -0
- /package/dist/{icons → src/icons}/symbols/twitter.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_100.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_20.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_40.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_60.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_80.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_charging.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/battery_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/devices.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/floppy_disk.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/iphone.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/laptop.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/mobile.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/monitor.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/server.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/sim_card.d.ts +0 -0
- /package/dist/{icons → src/icons}/technology/usb_stick.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/align_center.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/align_justified.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/align_left.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/align_right.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/code_block.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/divider.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/footnote.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/indent_decrease.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/indent_increase.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/list_ordered.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/list_unordered.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/quote.d.ts +0 -0
- /package/dist/{icons → src/icons}/text/table.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm_checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm_slash.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/alarm_snooze.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_add.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_checkmark.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_close.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_dates.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_minus.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_plus.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/calendar_scroll.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/clock.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/clock_history.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/index.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/stopwatch.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/timer.d.ts +0 -0
- /package/dist/{icons → src/icons}/time/watch.d.ts +0 -0
- /package/dist/{index.d.ts → src/index.d.ts} +0 -0
- /package/dist/{types → src/types}/attributes.d.ts +0 -0
- /package/dist/{types → src/types}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/file.d.ts +0 -0
- /package/dist/{utils → src/utils}/function.d.ts +0 -0
- /package/dist/{utils → src/utils}/index.d.ts +0 -0
- /package/dist/{utils → src/utils}/time.d.ts +0 -0
|
@@ -1,62 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { useCallback, useState } from 'react';
|
|
4
|
-
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
5
|
-
import { cn, createPrimitiveElement, withCn, withProps, withRef, withVariants, } from '@udecode/cn';
|
|
6
|
-
import { cva } from 'class-variance-authority';
|
|
7
|
-
import { ChevronRight } from '../../../../icons/arrow/chevron_right';
|
|
8
|
-
import { Checkmark } from '../../../../icons/basic/checkmark';
|
|
9
|
-
export const DropdownMenu = DropdownMenuPrimitive.Root;
|
|
10
|
-
export const DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
11
|
-
export const DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
12
|
-
export const DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
13
|
-
export const DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
14
|
-
export const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
15
|
-
export const DropdownMenuSubTrigger = withRef(({ className, inset, children, ...props }, ref) => (React.createElement(DropdownMenuPrimitive.SubTrigger, { ref: ref, className: cn('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent', 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50', inset && 'pl-8', className), ...props },
|
|
16
|
-
children,
|
|
17
|
-
React.createElement(ChevronRight, { className: "ml-auto h-4 w-4" }))));
|
|
18
|
-
export const DropdownMenuSubContent = withCn(DropdownMenuPrimitive.SubContent, 'z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2');
|
|
19
|
-
const DropdownMenuContentVariants = withProps(DropdownMenuPrimitive.Content, {
|
|
20
|
-
sideOffset: 4,
|
|
21
|
-
className: cn('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2'),
|
|
22
|
-
});
|
|
23
|
-
export const DropdownMenuContent = withRef(({ ...props }, ref) => (React.createElement(DropdownMenuPrimitive.Portal, null,
|
|
24
|
-
React.createElement(DropdownMenuContentVariants, { ref: ref, ...props }))));
|
|
25
|
-
const menuItemVariants = cva(cn('relative flex h-9 cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors', 'focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50'), {
|
|
26
|
-
variants: {
|
|
27
|
-
inset: {
|
|
28
|
-
true: 'pl-8',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
});
|
|
32
|
-
export const DropdownMenuItem = withVariants(DropdownMenuPrimitive.Item, menuItemVariants, ['inset']);
|
|
33
|
-
export const DropdownMenuCheckboxItem = withRef(({ className, children, ...props }, ref) => (React.createElement(DropdownMenuPrimitive.CheckboxItem, { ref: ref, className: cn('relative flex select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', 'cursor-pointer', className), ...props },
|
|
34
|
-
React.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" },
|
|
35
|
-
React.createElement(DropdownMenuPrimitive.ItemIndicator, null,
|
|
36
|
-
React.createElement(Checkmark, { className: "h-4 w-4" }))),
|
|
37
|
-
children)));
|
|
38
|
-
export const DropdownMenuRadioItem = withRef(({ className, children, hideIcon, ...props }, ref) => (React.createElement(DropdownMenuPrimitive.RadioItem, { ref: ref, className: cn('relative flex select-none items-center rounded-sm pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', 'h-9 cursor-pointer px-2 data-[state=checked]:bg-accent data-[state=checked]:text-accent-foreground', className), ...props },
|
|
39
|
-
!hideIcon && (React.createElement("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center" },
|
|
40
|
-
React.createElement(DropdownMenuPrimitive.ItemIndicator, null,
|
|
41
|
-
React.createElement(Checkmark, { className: "h-4 w-4" })))),
|
|
42
|
-
children)));
|
|
43
|
-
const dropdownMenuLabelVariants = cva(cn('select-none px-2 py-1.5 text-sm font-semibold'), {
|
|
44
|
-
variants: {
|
|
45
|
-
inset: {
|
|
46
|
-
true: 'pl-8',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
export const DropdownMenuLabel = withVariants(DropdownMenuPrimitive.Label, dropdownMenuLabelVariants, ['inset']);
|
|
51
|
-
export const DropdownMenuSeparator = withCn(DropdownMenuPrimitive.Separator, '-mx-1 my-1 h-px bg-muted');
|
|
52
|
-
export const DropdownMenuShortcut = withCn(createPrimitiveElement('span'), 'ml-auto text-xs tracking-widest opacity-60');
|
|
53
|
-
export const useOpenState = () => {
|
|
54
|
-
const [open, setOpen] = useState(false);
|
|
55
|
-
const onOpenChange = useCallback((_value = !open) => {
|
|
56
|
-
setOpen(_value);
|
|
57
|
-
}, [open]);
|
|
58
|
-
return {
|
|
59
|
-
open,
|
|
60
|
-
onOpenChange,
|
|
61
|
-
};
|
|
62
|
-
};
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var React=require("react"),DropdownMenuPrimitive=require("@radix-ui/react-dropdown-menu"),cn=require("@udecode/cn"),classVarianceAuthority=require("class-variance-authority"),chevron_right=require("../../../../icons/arrow/chevron_right.js"),checkmark=require("../../../../icons/basic/checkmark.js");function _interopNamespaceCompat(n){var a;return n&&"object"==typeof n&&"default"in n?n:(a=Object.create(null),n&&Object.keys(n).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(n,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return n[e]}}))}),a.default=n,Object.freeze(a))}var React__namespace=_interopNamespaceCompat(React),DropdownMenuPrimitive__namespace=_interopNamespaceCompat(DropdownMenuPrimitive);const DropdownMenu=DropdownMenuPrimitive__namespace.Root,DropdownMenuTrigger=DropdownMenuPrimitive__namespace.Trigger,DropdownMenuPortal=DropdownMenuPrimitive__namespace.Portal,DropdownMenuContentVariants=(cn.withRef(({className:e,inset:t,children:n,...a},o)=>React__namespace.createElement(DropdownMenuPrimitive__namespace.SubTrigger,{ref:o,className:cn.cn("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent","data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...a},n,React__namespace.createElement(chevron_right.ChevronRight,{className:"ml-auto h-4 w-4"}))),cn.withCn(DropdownMenuPrimitive__namespace.SubContent,"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"),cn.withProps(DropdownMenuPrimitive__namespace.Content,{sideOffset:4,className:cn.cn("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2")})),DropdownMenuContent=cn.withRef(({...e},t)=>React__namespace.createElement(DropdownMenuPrimitive__namespace.Portal,null,React__namespace.createElement(DropdownMenuContentVariants,{ref:t,...e}))),menuItemVariants=classVarianceAuthority.cva(cn.cn("relative flex h-9 cursor-pointer select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors","focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"),{variants:{inset:{true:"pl-8"}}}),DropdownMenuCheckboxItem=(cn.withVariants(DropdownMenuPrimitive__namespace.Item,menuItemVariants,["inset"]),cn.withRef(({className:e,children:t,...n},a)=>React__namespace.createElement(DropdownMenuPrimitive__namespace.CheckboxItem,{ref:a,className:cn.cn("relative flex select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50","cursor-pointer",e),...n},React__namespace.createElement("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement(DropdownMenuPrimitive__namespace.ItemIndicator,null,React__namespace.createElement(checkmark.Checkmark,{className:"h-4 w-4"}))),t))),dropdownMenuLabelVariants=(cn.withRef(({className:e,children:t,hideIcon:n,...a},o)=>React__namespace.createElement(DropdownMenuPrimitive__namespace.RadioItem,{ref:o,className:cn.cn("relative flex select-none items-center rounded-sm pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50","h-9 cursor-pointer px-2 data-[state=checked]:bg-accent data-[state=checked]:text-accent-foreground",e),...a},!n&&React__namespace.createElement("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},React__namespace.createElement(DropdownMenuPrimitive__namespace.ItemIndicator,null,React__namespace.createElement(checkmark.Checkmark,{className:"h-4 w-4"}))),t)),classVarianceAuthority.cva(cn.cn("select-none px-2 py-1.5 text-sm font-semibold"),{variants:{inset:{true:"pl-8"}}}));cn.withVariants(DropdownMenuPrimitive__namespace.Label,dropdownMenuLabelVariants,["inset"]),cn.withCn(DropdownMenuPrimitive__namespace.Separator,"-mx-1 my-1 h-px bg-muted"),cn.withCn(cn.createPrimitiveElement("span"),"ml-auto text-xs tracking-widest opacity-60"),exports.DropdownMenu=DropdownMenu,exports.DropdownMenuCheckboxItem=DropdownMenuCheckboxItem,exports.DropdownMenuContent=DropdownMenuContent,exports.DropdownMenuPortal=DropdownMenuPortal,exports.DropdownMenuTrigger=DropdownMenuTrigger;
|
|
@@ -1,53 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { cn, withRef } from '@udecode/cn';
|
|
3
|
-
import { PlateElement, withHOC } from '@udecode/plate-common';
|
|
4
|
-
import { ELEMENT_IMAGE, Image, useMediaState } from '@udecode/plate-media';
|
|
5
|
-
import { ResizableProvider } from '@udecode/plate-resizable';
|
|
6
|
-
import { Resizable } from './resizable';
|
|
7
|
-
import { ResizeHandle } from './resizable';
|
|
8
|
-
import { EditorContext } from '../../context';
|
|
9
|
-
import { MediaPopover } from './media-popover';
|
|
10
|
-
import { mediaResizeHandleVariants } from './resizable';
|
|
11
|
-
export const ImageElement = withHOC(ResizableProvider, withRef(({ className, children, element, nodeProps, ...props }, ref) => {
|
|
12
|
-
const { imageSrcLoader } = React.useContext(EditorContext);
|
|
13
|
-
const { readOnly, focused, selected, align = 'center' } = useMediaState();
|
|
14
|
-
const { id, url, ...restElement } = element;
|
|
15
|
-
const [src, setSrc] = React.useState(null);
|
|
16
|
-
React.useEffect(() => {
|
|
17
|
-
(async () => {
|
|
18
|
-
if (!id || !imageSrcLoader)
|
|
19
|
-
return;
|
|
20
|
-
const source = await imageSrcLoader(id);
|
|
21
|
-
if (source)
|
|
22
|
-
setSrc(source);
|
|
23
|
-
})();
|
|
24
|
-
}, [id, imageSrcLoader]);
|
|
25
|
-
if (!src && !!url) {
|
|
26
|
-
return (React.createElement(MediaPopover, { pluginKey: ELEMENT_IMAGE },
|
|
27
|
-
React.createElement(PlateElement, { ref: ref, element: element, className: cn('py-2.5', className), ...props },
|
|
28
|
-
React.createElement("figure", { className: "group relative m-0", contentEditable: false },
|
|
29
|
-
React.createElement(Resizable, { align: align, options: {
|
|
30
|
-
align,
|
|
31
|
-
readOnly,
|
|
32
|
-
} },
|
|
33
|
-
React.createElement(ResizeHandle, { options: { direction: 'left' }, className: mediaResizeHandleVariants({ direction: 'left' }) }),
|
|
34
|
-
React.createElement(Image, { className: cn('block w-full max-w-full cursor-pointer object-cover px-0', 'rounded-sm', focused && selected && 'ring-2 ring-ring ring-offset-2'), alt: "", ...nodeProps }),
|
|
35
|
-
React.createElement(ResizeHandle, { options: { direction: 'right' }, className: mediaResizeHandleVariants({
|
|
36
|
-
direction: 'right',
|
|
37
|
-
}) }))),
|
|
38
|
-
children)));
|
|
39
|
-
}
|
|
40
|
-
return (React.createElement(MediaPopover, { pluginKey: ELEMENT_IMAGE },
|
|
41
|
-
React.createElement(PlateElement, { ref: ref, className: cn('py-2.5', className), element: restElement, ...props },
|
|
42
|
-
!src ? null : (React.createElement("figure", { className: "group relative m-0", contentEditable: false },
|
|
43
|
-
React.createElement(Resizable, { align: align, options: {
|
|
44
|
-
align,
|
|
45
|
-
readOnly,
|
|
46
|
-
} },
|
|
47
|
-
React.createElement(ResizeHandle, { options: { direction: 'left' }, className: mediaResizeHandleVariants({ direction: 'left' }) }),
|
|
48
|
-
React.createElement(Image, { className: cn('block w-full max-w-full cursor-pointer object-cover px-0', 'rounded-sm', focused && selected && 'ring-2 ring-ring ring-offset-2'), alt: "", ...nodeProps, src: src }),
|
|
49
|
-
React.createElement(ResizeHandle, { options: { direction: 'right' }, className: mediaResizeHandleVariants({
|
|
50
|
-
direction: 'right',
|
|
51
|
-
}) })))),
|
|
52
|
-
children)));
|
|
53
|
-
}));
|
|
1
|
+
"use strict";var React=require("react"),cn=require("@udecode/cn"),plateCommon=require("@udecode/plate-common"),plateMedia=require("@udecode/plate-media"),plateResizable=require("@udecode/plate-resizable"),resizable=require("./resizable.js"),context=require("../../context.js"),mediaPopover=require("./media-popover.js");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const ImageElement=plateCommon.withHOC(plateResizable.ResizableProvider,cn.withRef(({className:e,children:a,element:t,nodeProps:l,...i},r)=>{const n=React__default.default.useContext(context.EditorContext)["imageSrcLoader"];var{readOnly:c,focused:d,selected:o,align:s="center"}=plateMedia.useMediaState();const{id:u,url:m,...f}=t,[p,_]=React__default.default.useState(null);return React__default.default.useEffect(()=>{(async()=>{var e;u&&n&&(e=await n(u))&&_(e)})()},[u,n]),!p&&m?React__default.default.createElement(mediaPopover.MediaPopover,{pluginKey:plateMedia.ELEMENT_IMAGE},React__default.default.createElement(plateCommon.PlateElement,{ref:r,element:t,className:cn.cn("py-2.5",e),...i},React__default.default.createElement("figure",{className:"group relative m-0",contentEditable:!1},React__default.default.createElement(resizable.Resizable,{align:s,options:{align:s,readOnly:c}},React__default.default.createElement(resizable.ResizeHandle,{options:{direction:"left"},className:resizable.mediaResizeHandleVariants({direction:"left"})}),React__default.default.createElement(plateMedia.Image,{className:cn.cn("block w-full max-w-full cursor-pointer object-cover px-0","rounded-sm",d&&o&&"ring-2 ring-ring ring-offset-2"),alt:"",...l}),React__default.default.createElement(resizable.ResizeHandle,{options:{direction:"right"},className:resizable.mediaResizeHandleVariants({direction:"right"})}))),a)):React__default.default.createElement(mediaPopover.MediaPopover,{pluginKey:plateMedia.ELEMENT_IMAGE},React__default.default.createElement(plateCommon.PlateElement,{ref:r,className:cn.cn("py-2.5",e),element:f,...i},p?React__default.default.createElement("figure",{className:"group relative m-0",contentEditable:!1},React__default.default.createElement(resizable.Resizable,{align:s,options:{align:s,readOnly:c}},React__default.default.createElement(resizable.ResizeHandle,{options:{direction:"left"},className:resizable.mediaResizeHandleVariants({direction:"left"})}),React__default.default.createElement(plateMedia.Image,{className:cn.cn("block w-full max-w-full cursor-pointer object-cover px-0","rounded-sm",d&&o&&"ring-2 ring-ring ring-offset-2"),alt:"",...l,src:p}),React__default.default.createElement(resizable.ResizeHandle,{options:{direction:"right"},className:resizable.mediaResizeHandleVariants({direction:"right"})}))):null,a))}));exports.ImageElement=ImageElement;
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import { PlateElement } from '@udecode/plate';
|
|
3
|
-
import { styled } from 'styled-components';
|
|
4
|
-
export const ListElement = ({ children, variant = 'ul', ...props }) => {
|
|
5
|
-
const Element = variant;
|
|
6
|
-
return (React.createElement(PlateElement, { asChild: true, ...props },
|
|
7
|
-
React.createElement(React.Fragment, null,
|
|
8
|
-
React.createElement(Element, null, React.Children.map(children, (child) => (React.createElement(Li, null, child)))))));
|
|
9
|
-
};
|
|
10
|
-
const Li = styled.li `
|
|
1
|
+
"use strict";var React=require("react"),plate=require("@udecode/plate"),styled=require("styled-components");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const ListElement=({children:e,variant:t="ul",...a})=>{return React__default.default.createElement(plate.PlateElement,{asChild:!0,...a},React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(t,null,React__default.default.Children.map(e,e=>React__default.default.createElement(Li,null,e)))))},Li=styled.styled.li`
|
|
11
2
|
margin: 16px 0px;
|
|
12
3
|
padding-left: 8px;
|
|
13
4
|
|
|
14
5
|
&::marker {
|
|
15
6
|
color: var(--color-grey-4);
|
|
16
7
|
}
|
|
17
|
-
`;
|
|
8
|
+
`;exports.ListElement=ListElement;
|
|
@@ -1,34 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { isSelectionExpanded, useEditorSelector, useElement, useRemoveNodeButton, } from '@udecode/plate-common';
|
|
3
|
-
import { floatingMediaActions, useFloatingMediaSelectors, } from '@udecode/plate-media';
|
|
4
|
-
import { useReadOnly, useSelected } from 'slate-react';
|
|
5
|
-
import { Button } from './plate-button';
|
|
6
|
-
import { Popover } from './popover';
|
|
7
|
-
import { PopoverAnchor } from './popover';
|
|
8
|
-
import { PopoverContent } from './popover';
|
|
9
|
-
import { Link, Trash } from 'lucide-react';
|
|
10
|
-
export function MediaPopover({ children }) {
|
|
11
|
-
const readOnly = useReadOnly();
|
|
12
|
-
const selected = useSelected();
|
|
13
|
-
const selectionCollapsed = useEditorSelector((editor) => !isSelectionExpanded(editor), []);
|
|
14
|
-
const isOpen = !readOnly && selected && selectionCollapsed;
|
|
15
|
-
const isEditing = useFloatingMediaSelectors().isEditing();
|
|
16
|
-
useEffect(() => {
|
|
17
|
-
if (!isOpen && isEditing) {
|
|
18
|
-
floatingMediaActions.isEditing(false);
|
|
19
|
-
}
|
|
20
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
21
|
-
}, [isOpen]);
|
|
22
|
-
const element = useElement();
|
|
23
|
-
const { props: buttonProps } = useRemoveNodeButton({ element });
|
|
24
|
-
if (readOnly)
|
|
25
|
-
return React.createElement(React.Fragment, null, children);
|
|
26
|
-
return (React.createElement(Popover, { open: isOpen, modal: false },
|
|
27
|
-
React.createElement(PopoverAnchor, null, children),
|
|
28
|
-
React.createElement(PopoverContent, { className: "w-auto p-1", onOpenAutoFocus: (e) => e.preventDefault() }, isEditing ? (React.createElement("div", { className: "flex w-[330px] flex-col" },
|
|
29
|
-
React.createElement("div", { className: "flex items-center" },
|
|
30
|
-
React.createElement("div", { className: "flex items-center pl-3 text-muted-foreground" },
|
|
31
|
-
React.createElement(Link, { className: "h-4 w-4" }))))) : (React.createElement("div", { className: "box-content flex h-9 items-center gap-1" },
|
|
32
|
-
React.createElement(Button, { variant: "ghost", size: "sms", ...buttonProps },
|
|
33
|
-
React.createElement(Trash, { className: "h-4 w-4" })))))));
|
|
34
|
-
}
|
|
1
|
+
"use strict";var React=require("react"),plateCommon=require("@udecode/plate-common"),plateMedia=require("@udecode/plate-media"),slateReact=require("slate-react"),plateButton=require("./plate-button.js"),popover=require("./popover.js"),lucideReact=require("lucide-react");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);function MediaPopover({children:e}){var t=slateReact.useReadOnly(),a=slateReact.useSelected(),l=plateCommon.useEditorSelector(e=>!plateCommon.isSelectionExpanded(e),[]);const o=!t&&a&&l,c=plateMedia.useFloatingMediaSelectors().isEditing();React.useEffect(()=>{!o&&c&&plateMedia.floatingMediaActions.isEditing(!1)},[o]);a=plateCommon.useElement(),l=plateCommon.useRemoveNodeButton({element:a}).props;return t?React__default.default.createElement(React__default.default.Fragment,null,e):React__default.default.createElement(popover.Popover,{open:o,modal:!1},React__default.default.createElement(popover.PopoverAnchor,null,e),React__default.default.createElement(popover.PopoverContent,{className:"w-auto p-1",onOpenAutoFocus:e=>e.preventDefault()},c?React__default.default.createElement("div",{className:"flex w-[330px] flex-col"},React__default.default.createElement("div",{className:"flex items-center"},React__default.default.createElement("div",{className:"flex items-center pl-3 text-muted-foreground"},React__default.default.createElement(lucideReact.Link,{className:"h-4 w-4"})))):React__default.default.createElement("div",{className:"box-content flex h-9 items-center gap-1"},React__default.default.createElement(plateButton.Button,{variant:"ghost",size:"sms",...l},React__default.default.createElement(lucideReact.Trash,{className:"h-4 w-4"})))))}exports.MediaPopover=MediaPopover;
|
|
@@ -1,37 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
3
|
-
import { cn, withRef } from '@udecode/cn';
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
5
|
-
export const buttonVariants = cva('inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', {
|
|
6
|
-
variants: {
|
|
7
|
-
variant: {
|
|
8
|
-
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
|
|
9
|
-
destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90',
|
|
10
|
-
outline: 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',
|
|
11
|
-
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
|
12
|
-
ghost: 'hover:bg-accent hover:text-accent-foreground',
|
|
13
|
-
link: 'text-primary underline-offset-4 hover:underline',
|
|
14
|
-
inlineLink: 'text-base text-primary underline underline-offset-4',
|
|
15
|
-
},
|
|
16
|
-
size: {
|
|
17
|
-
default: 'h-10 px-4 py-2',
|
|
18
|
-
xs: 'h-8 rounded-md px-3',
|
|
19
|
-
sm: 'h-9 rounded-md px-3',
|
|
20
|
-
sms: 'h-9 w-9 rounded-md px-0',
|
|
21
|
-
lg: 'h-11 rounded-md px-8',
|
|
22
|
-
icon: 'h-10 w-10',
|
|
23
|
-
none: '',
|
|
24
|
-
},
|
|
25
|
-
isMenu: {
|
|
26
|
-
true: 'h-auto w-full cursor-pointer justify-start',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
defaultVariants: {
|
|
30
|
-
variant: 'default',
|
|
31
|
-
size: 'default',
|
|
32
|
-
},
|
|
33
|
-
});
|
|
34
|
-
export const Button = withRef(({ className, isMenu, variant, size, asChild = false, ...props }, ref) => {
|
|
35
|
-
const Comp = asChild ? Slot : 'button';
|
|
36
|
-
return (React.createElement(Comp, { className: cn(buttonVariants({ isMenu, variant, size, className })), ref: ref, ...props }));
|
|
37
|
-
});
|
|
1
|
+
"use strict";var React=require("react"),reactSlot=require("@radix-ui/react-slot"),cn=require("@udecode/cn"),classVarianceAuthority=require("class-variance-authority");function _interopNamespaceCompat(r){var n;return r&&"object"==typeof r&&"default"in r?r:(n=Object.create(null),r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),n.default=r,Object.freeze(n))}var React__namespace=_interopNamespaceCompat(React);const buttonVariants=classVarianceAuthority.cva("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",inlineLink:"text-base text-primary underline underline-offset-4"},size:{default:"h-10 px-4 py-2",xs:"h-8 rounded-md px-3",sm:"h-9 rounded-md px-3",sms:"h-9 w-9 rounded-md px-0",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",none:""},isMenu:{true:"h-auto w-full cursor-pointer justify-start"}},defaultVariants:{variant:"default",size:"default"}}),Button=cn.withRef(({className:e,isMenu:t,variant:r,size:n,asChild:a=!1,...i},o)=>{a=a?reactSlot.Slot:"button";return React__namespace.createElement(a,{className:cn.cn(buttonVariants({isMenu:t,variant:r,size:n,className:e})),ref:o,...i})});exports.Button=Button,exports.buttonVariants=buttonVariants;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
|
-
import { cn, withRef } from '@udecode/cn';
|
|
5
|
-
import { cva } from 'class-variance-authority';
|
|
6
|
-
export const Popover = PopoverPrimitive.Root;
|
|
7
|
-
export const PopoverTrigger = PopoverPrimitive.Trigger;
|
|
8
|
-
export const PopoverAnchor = PopoverPrimitive.Anchor;
|
|
9
|
-
export const popoverVariants = cva('w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 print:hidden');
|
|
10
|
-
export const PopoverContent = withRef(({ className, style, align = 'center', sideOffset = 4, ...props }, ref) => (React.createElement(PopoverPrimitive.Portal, null,
|
|
11
|
-
React.createElement(PopoverPrimitive.Content, { ref: ref, align: align, sideOffset: sideOffset, className: cn(popoverVariants(), className), style: { zIndex: 1000, ...style }, ...props }))));
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var React=require("react"),PopoverPrimitive=require("@radix-ui/react-popover"),cn=require("@udecode/cn"),classVarianceAuthority=require("class-variance-authority");function _interopNamespaceCompat(o){var a;return o&&"object"==typeof o&&"default"in o?o:(a=Object.create(null),o&&Object.keys(o).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(o,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return o[e]}}))}),a.default=o,Object.freeze(a))}var React__namespace=_interopNamespaceCompat(React),PopoverPrimitive__namespace=_interopNamespaceCompat(PopoverPrimitive);const Popover=PopoverPrimitive__namespace.Root,PopoverAnchor=PopoverPrimitive__namespace.Anchor,popoverVariants=classVarianceAuthority.cva("w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 print:hidden"),PopoverContent=cn.withRef(({className:e,style:t,align:o="center",sideOffset:a=4,...r},n)=>React__namespace.createElement(PopoverPrimitive__namespace.Portal,null,React__namespace.createElement(PopoverPrimitive__namespace.Content,{ref:n,align:o,sideOffset:a,className:cn.cn(popoverVariants(),e),style:{zIndex:1e3,...t},...r})));exports.Popover=Popover,exports.PopoverAnchor=PopoverAnchor,exports.PopoverContent=PopoverContent,exports.popoverVariants=popoverVariants;
|
|
@@ -1,36 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { createPluginFactory, PlateElement, } from '@udecode/plate';
|
|
3
|
-
import { styled } from 'styled-components';
|
|
4
|
-
import { ELEMENT_QA } from '../../constants';
|
|
5
|
-
import { EditorContext } from '../../context';
|
|
6
|
-
import { Button } from '../../../../components/actions/button/button';
|
|
7
|
-
import { Box } from '../../../../components/atoms/box/box';
|
|
8
|
-
import { HideButRender } from '../../../../components/atoms/hide';
|
|
9
|
-
import { H } from '../../../../components/atoms/typography/heading';
|
|
10
|
-
import { ChevronDown } from '../../../../icons/arrow/chevron_down';
|
|
11
|
-
import { ChevronUp } from '../../../../icons/arrow/chevron_up';
|
|
12
|
-
import { Filter } from '../../../../components/input';
|
|
13
|
-
export const QuestionAnswerElement = React.forwardRef(({ children, element, ...props }, ref) => {
|
|
14
|
-
const { questionAnswerId } = element;
|
|
15
|
-
const [filter, setFilter] = React.useState('ALL_ANSWERS');
|
|
16
|
-
const { commentInputLoader: CommentInput, commentLoader: Comments } = React.useContext(EditorContext);
|
|
17
|
-
const [showAnswers, setShowAnswers] = React.useState(false);
|
|
18
|
-
const handleFilter = (event) => {
|
|
19
|
-
const value = event.target.getAttribute('data-value');
|
|
20
|
-
if (filter === value) {
|
|
21
|
-
setFilter('ALL_ANSWERS');
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
setFilter(value);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
return (React.createElement(PlateElement, { asChild: true, element: element, ref: ref, ...props },
|
|
28
|
-
React.createElement(React.Fragment, null,
|
|
29
|
-
React.createElement(Question, null,
|
|
30
|
-
React.createElement(H, { as: "p", "$fontSize": 18, "$lineHeight": 26, "$mediumBold": true }, children)),
|
|
31
|
-
React.createElement(Box, { "$dir": "column", "$gap": 'medium', sx: "padding: 8px 24px;", ...{ contentEditable: false } },
|
|
32
|
-
React.createElement(Box, { sx: "width: 100%;", "$justify": "space-between" },
|
|
33
|
-
React.createElement(Button, { as: "div", icon: showAnswers ? (React.createElement(ChevronUp, { color: "grey-3" })) : (React.createElement(ChevronDown, { color: "grey-3" })), onClick: () => setShowAnswers((prev) => !prev), size: "small", sx: `
|
|
1
|
+
"use strict";var React=require("react"),plate=require("@udecode/plate"),styled=require("styled-components"),constants=require("../../constants.js"),context=require("../../context.js"),button=require("../../../actions/button/button.js"),box=require("../../../atoms/box/box.js"),hide=require("../../../atoms/hide/hide.js"),heading=require("../../../atoms/typography/heading.js"),chevron_down=require("../../../../icons/arrow/chevron_down.js"),chevron_up=require("../../../../icons/arrow/chevron_up.js"),filter=(require("../../../input/checkbox/checkbox.js"),require("../../../input/date/date.js"),require("../../../input/filter/filter.js"));function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("../../../input/radio/radio.js"),require("../../../input/search/search.js"),require("../../../input/select/select.js"),require("../../../input/text_area/text_area.js"),require("../../../input/text_input/text_input.js"),require("../../../input/calendar/calendar.js"),require("../../../input/time/time.js"),require("@mui/x-date-pickers/LocalizationProvider"),require("@mui/x-date-pickers/AdapterDateFnsV3"),require("@mui/x-date-pickers/TimeField");var React__default=_interopDefaultCompat(React);const QuestionAnswerElement=React__default.default.forwardRef(({children:e,element:t,...r},a)=>{var n=t["questionAnswerId"];const[l,o]=React__default.default.useState("ALL_ANSWERS");var{commentInputLoader:u,commentLoader:i}=React__default.default.useContext(context.EditorContext);const[s,d]=React__default.default.useState(!1);return React__default.default.createElement(plate.PlateElement,{asChild:!0,element:t,ref:a,...r},React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(Question,null,React__default.default.createElement(heading.H,{as:"p",$fontSize:18,$lineHeight:26,$mediumBold:!0},e)),React__default.default.createElement(box.Box,{$dir:"column",$gap:"medium",sx:"padding: 8px 24px;",contentEditable:!1},React__default.default.createElement(box.Box,{sx:"width: 100%",$justify:"space-between"},React__default.default.createElement(button.Button,{as:"div",icon:s?React__default.default.createElement(chevron_up.ChevronUp,{color:"grey-3"}):React__default.default.createElement(chevron_down.ChevronDown,{color:"grey-3"}),onClick:()=>d(e=>!e),size:"small",sx:`
|
|
34
2
|
width: fit-content;
|
|
35
3
|
flex-direction: row-reverse;
|
|
36
4
|
color: var(--color-grey-5);
|
|
@@ -38,43 +6,10 @@ export const QuestionAnswerElement = React.forwardRef(({ children, element, ...p
|
|
|
38
6
|
&:not(:hover) svg {
|
|
39
7
|
fill: var(--color-grey-3);
|
|
40
8
|
}
|
|
41
|
-
`,
|
|
42
|
-
showAnswers && (React.createElement(Filter, { label: "All Answers", sx: "padding: 1px 4px; & > * { color: var(--color-grey-5); }", optionOnChange: handleFilter, options: [
|
|
43
|
-
{
|
|
44
|
-
label: 'MeetingAnswers ',
|
|
45
|
-
value: 'MEETING_ANSWERS',
|
|
46
|
-
sublabel: 'Show only answers from member of your meeting',
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
label: 'My answers',
|
|
50
|
-
value: 'MY_ANSWERS',
|
|
51
|
-
sublabel: 'Show only your answers',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
label: 'Most Relevant',
|
|
55
|
-
value: 'MOST_RELEVANT',
|
|
56
|
-
sublabel: 'Show the most engaging answers first',
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
label: 'All answers',
|
|
60
|
-
value: 'ALL_ANSWERS',
|
|
61
|
-
sublabel: "Anyone who's ever answered",
|
|
62
|
-
},
|
|
63
|
-
], isRadio: true, optionShowClose: false, resetGraphic: true, triggerType: "outlined" }))),
|
|
64
|
-
React.createElement(HideButRender, { show: showAnswers },
|
|
65
|
-
React.createElement(Comments, { questionAnswerId: questionAnswerId, filterType: filter })),
|
|
66
|
-
React.createElement(CommentInput, { questionAnswerId: questionAnswerId, onComment: () => setShowAnswers(true) })))));
|
|
67
|
-
});
|
|
68
|
-
const Question = styled.div `
|
|
9
|
+
`,type:"text",contentEditable:!1},s?"Hide answers":"Show answers"),s&&React__default.default.createElement(filter.Filter,{label:"All Answers",sx:"padding: 1px 4px; & > * { color: var(--color-grey-5); }",optionOnChange:e=>{e=e.target.getAttribute("data-value");l===e?o("ALL_ANSWERS"):o(e)},options:[{label:"MeetingAnswers ",value:"MEETING_ANSWERS",sublabel:"Show only answers from member of your meeting"},{label:"My answers",value:"MY_ANSWERS",sublabel:"Show only your answers"},{label:"Most Relevant",value:"MOST_RELEVANT",sublabel:"Show the most engaging answers first"},{label:"All answers",value:"ALL_ANSWERS",sublabel:"Anyone who's ever answered"}],isRadio:!0,optionShowClose:!1,resetGraphic:!0,triggerType:"outlined"})),React__default.default.createElement(hide.HideButRender,{show:s},React__default.default.createElement(i,{questionAnswerId:n,filterType:l})),React__default.default.createElement(u,{questionAnswerId:n,onComment:()=>d(!0)}))))}),Question=styled.styled.div`
|
|
69
10
|
margin-bottom: 8px;
|
|
70
11
|
padding: 16px;
|
|
71
12
|
border-left: 8px solid var(--color-hue-blue-1);
|
|
72
13
|
border-radius: 8px;
|
|
73
14
|
background-color: var(--color-hue-blue-3);
|
|
74
|
-
|
|
75
|
-
export const createQAPlugin = createPluginFactory({
|
|
76
|
-
key: ELEMENT_QA,
|
|
77
|
-
type: ELEMENT_QA,
|
|
78
|
-
isElement: true,
|
|
79
|
-
component: QuestionAnswerElement,
|
|
80
|
-
});
|
|
15
|
+
`,createQAPlugin=plate.createPluginFactory({key:constants.ELEMENT_QA,type:constants.ELEMENT_QA,isElement:!0,component:QuestionAnswerElement});exports.QuestionAnswerElement=QuestionAnswerElement,exports.createQAPlugin=createQAPlugin;
|
|
@@ -1,37 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { cn, withRef, withVariants } from '@udecode/cn';
|
|
4
|
-
import { Resizable as ResizablePrimitive, ResizeHandle as ResizeHandlePrimitive, } from '@udecode/plate-resizable';
|
|
5
|
-
import { cva } from 'class-variance-authority';
|
|
6
|
-
export const mediaResizeHandleVariants = cva(cn('top-0 flex w-6 select-none flex-col justify-center', "after:flex after:h-16 after:w-[3px] after:rounded-[6px] after:bg-ring after:opacity-0 after:content-['_'] group-hover:after:opacity-100"), {
|
|
7
|
-
variants: {
|
|
8
|
-
direction: {
|
|
9
|
-
left: '-left-3 -ml-3 pl-3',
|
|
10
|
-
right: '-right-3 -mr-3 items-end pr-3',
|
|
11
|
-
},
|
|
12
|
-
},
|
|
13
|
-
});
|
|
14
|
-
const resizeHandleVariants = cva(cn('absolute z-40'), {
|
|
15
|
-
variants: {
|
|
16
|
-
direction: {
|
|
17
|
-
left: 'h-full cursor-col-resize',
|
|
18
|
-
right: 'h-full cursor-col-resize',
|
|
19
|
-
top: 'w-full cursor-row-resize',
|
|
20
|
-
bottom: 'w-full cursor-row-resize',
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
});
|
|
24
|
-
const ResizeHandleVariants = withVariants(ResizeHandlePrimitive, resizeHandleVariants, ['direction']);
|
|
25
|
-
export const ResizeHandle = withRef((props, ref) => (React.createElement(ResizeHandleVariants, { ref: ref, direction: props.options?.direction, ...props })));
|
|
26
|
-
const resizableVariants = cva('', {
|
|
27
|
-
variants: {
|
|
28
|
-
align: {
|
|
29
|
-
left: 'mr-auto',
|
|
30
|
-
center: 'mx-auto',
|
|
31
|
-
right: 'ml-auto',
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
});
|
|
35
|
-
export const Resizable = withVariants(ResizablePrimitive, resizableVariants, [
|
|
36
|
-
'align',
|
|
37
|
-
]);
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var React=require("react"),cn=require("@udecode/cn"),plateResizable=require("@udecode/plate-resizable"),classVarianceAuthority=require("class-variance-authority");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const mediaResizeHandleVariants=classVarianceAuthority.cva(cn.cn("top-0 flex w-6 select-none flex-col justify-center","after:flex after:h-16 after:w-[3px] after:rounded-[6px] after:bg-ring after:opacity-0 after:content-['_'] group-hover:after:opacity-100"),{variants:{direction:{left:"-left-3 -ml-3 pl-3",right:"-right-3 -mr-3 items-end pr-3"}}}),resizeHandleVariants=classVarianceAuthority.cva(cn.cn("absolute z-40"),{variants:{direction:{left:"h-full cursor-col-resize",right:"h-full cursor-col-resize",top:"w-full cursor-row-resize",bottom:"w-full cursor-row-resize"}}}),ResizeHandleVariants=cn.withVariants(plateResizable.ResizeHandle,resizeHandleVariants,["direction"]),ResizeHandle=cn.withRef((e,a)=>React__default.default.createElement(ResizeHandleVariants,{ref:a,direction:e.options?.direction,...e})),resizableVariants=classVarianceAuthority.cva("",{variants:{align:{left:"mr-auto",center:"mx-auto",right:"ml-auto"}}}),Resizable=cn.withVariants(plateResizable.Resizable,resizableVariants,["align"]);exports.Resizable=Resizable,exports.ResizeHandle=ResizeHandle,exports.mediaResizeHandleVariants=mediaResizeHandleVariants;
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { withProps, withVariants } from '@udecode/cn';
|
|
4
|
-
import { cva } from 'class-variance-authority';
|
|
5
|
-
const separatorVariants = cva('shrink-0 bg-border', {
|
|
6
|
-
variants: {
|
|
7
|
-
orientation: {
|
|
8
|
-
horizontal: 'h-[1px] w-full',
|
|
9
|
-
vertical: 'h-full w-[1px]',
|
|
10
|
-
},
|
|
11
|
-
},
|
|
12
|
-
defaultVariants: {
|
|
13
|
-
orientation: 'horizontal',
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
export const Separator = withVariants(withProps(SeparatorPrimitive.Root, {
|
|
17
|
-
orientation: 'horizontal',
|
|
18
|
-
decorative: true,
|
|
19
|
-
}), separatorVariants);
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";var SeparatorPrimitive=require("@radix-ui/react-separator"),cn=require("@udecode/cn"),classVarianceAuthority=require("class-variance-authority");function _interopNamespaceCompat(a){var t;return a&&"object"==typeof a&&"default"in a?a:(t=Object.create(null),a&&Object.keys(a).forEach(function(r){var e;"default"!==r&&(e=Object.getOwnPropertyDescriptor(a,r),Object.defineProperty(t,r,e.get?e:{enumerable:!0,get:function(){return a[r]}}))}),t.default=a,Object.freeze(t))}var SeparatorPrimitive__namespace=_interopNamespaceCompat(SeparatorPrimitive);const separatorVariants=classVarianceAuthority.cva("shrink-0 bg-border",{variants:{orientation:{horizontal:"h-[1px] w-full",vertical:"h-full w-[1px]"}},defaultVariants:{orientation:"horizontal"}}),Separator=cn.withVariants(cn.withProps(SeparatorPrimitive__namespace.Root,{orientation:"horizontal",decorative:!0}),separatorVariants);exports.Separator=Separator;
|
|
@@ -1,38 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { cn, withProps, withRef } from '@udecode/cn';
|
|
3
|
-
import { PlateElement } from '@udecode/plate-common';
|
|
4
|
-
import { useTableCellElement, useTableCellElementResizable, useTableCellElementResizableState, useTableCellElementState, } from '@udecode/plate-table';
|
|
5
|
-
import { ResizeHandle } from './resizable';
|
|
6
|
-
export const TableCellElement = withRef(({ children, className, style, hideBorder, isHeader, ...props }, ref) => {
|
|
7
|
-
const { element } = props;
|
|
8
|
-
const { colIndex, rowIndex, readOnly, selected, hovered, hoveredLeft, rowSize, borders, isSelectingCell, colSpan, } = useTableCellElementState();
|
|
9
|
-
const { props: cellProps } = useTableCellElement({ element: props.element });
|
|
10
|
-
const resizableState = useTableCellElementResizableState({
|
|
11
|
-
colIndex,
|
|
12
|
-
rowIndex,
|
|
13
|
-
colSpan,
|
|
14
|
-
});
|
|
15
|
-
const { rightProps, bottomProps, leftProps, hiddenLeft } = useTableCellElementResizable(resizableState);
|
|
16
|
-
const Cell = isHeader ? 'th' : 'td';
|
|
17
|
-
return (React.createElement(PlateElement, { ref: ref, asChild: true, className: cn('relative h-full overflow-visible border-none bg-background p-0', hideBorder && 'before:border-none', element.background ? 'bg-[--cellBackground]' : 'bg-background', !hideBorder &&
|
|
18
|
-
cn(isHeader && 'text-left [&_>_*]:m-0', 'before:h-full before:w-full', selected && 'before:z-10 before:bg-muted', "before:absolute before:box-border before:select-none before:content-['']", borders &&
|
|
19
|
-
cn(borders.bottom?.size &&
|
|
20
|
-
`before:border-b before:border-b-border`, borders.right?.size && `before:border-r before:border-r-border`, borders.left?.size && `before:border-l before:border-l-border`, borders.top?.size && `before:border-t before:border-t-border`)), className), ...cellProps, ...props, style: {
|
|
21
|
-
'--cellBackground': element.background,
|
|
22
|
-
...style,
|
|
23
|
-
} },
|
|
24
|
-
React.createElement(Cell, null,
|
|
25
|
-
React.createElement("div", { className: "relative z-20 box-border h-full px-3 py-2", style: {
|
|
26
|
-
minHeight: rowSize,
|
|
27
|
-
} }, children),
|
|
28
|
-
!isSelectingCell && (React.createElement("div", { className: "group absolute top-0 h-full w-full select-none", contentEditable: false, suppressContentEditableWarning: true }, !readOnly && (React.createElement(React.Fragment, null,
|
|
29
|
-
React.createElement(ResizeHandle, { ...rightProps, className: "-top-3 right-[-5px] w-[10px]" }),
|
|
30
|
-
React.createElement(ResizeHandle, { ...bottomProps, className: "bottom-[-5px] h-[10px]" }),
|
|
31
|
-
!hiddenLeft && (React.createElement(ResizeHandle, { ...leftProps, className: "-top-3 left-[-5px] w-[10px]" })),
|
|
32
|
-
hovered && (React.createElement("div", { className: cn('absolute -top-3 z-30 h-[calc(100%_+_12px)] w-1 bg-ring', 'right-[-1.5px]') })),
|
|
33
|
-
hoveredLeft && (React.createElement("div", { className: cn('absolute -top-3 z-30 h-[calc(100%_+_12px)] w-1 bg-ring', 'left-[-1.5px]') })))))))));
|
|
34
|
-
});
|
|
35
|
-
TableCellElement.displayName = 'TableCellElement';
|
|
36
|
-
export const TableCellHeaderElement = withProps(TableCellElement, {
|
|
37
|
-
isHeader: true,
|
|
38
|
-
});
|
|
1
|
+
"use strict";var React=require("react"),cn=require("@udecode/cn"),plateCommon=require("@udecode/plate-common"),plateTable=require("@udecode/plate-table"),resizable=require("./resizable.js");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const TableCellElement=cn.withRef(({children:e,className:l,style:t,hideBorder:a,isHeader:r,...o},n)=>{var b=o["element"],{colIndex:d,rowIndex:c,readOnly:s,selected:u,hovered:f,hoveredLeft:i,rowSize:m,borders:p,isSelectingCell:_,colSpan:E}=plateTable.useTableCellElementState(),g=plateTable.useTableCellElement({element:o.element})["props"],d=plateTable.useTableCellElementResizableState({colIndex:d,rowIndex:c,colSpan:E}),{rightProps:c,bottomProps:E,leftProps:d,hiddenLeft:h}=plateTable.useTableCellElementResizable(d),x=r?"th":"td";return React__default.default.createElement(plateCommon.PlateElement,{ref:n,asChild:!0,className:cn.cn("relative h-full overflow-visible border-none bg-background p-0",a&&"before:border-none",b.background?"bg-[--cellBackground]":"bg-background",!a&&cn.cn(r&&"text-left [&_>_*]:m-0","before:h-full before:w-full",u&&"before:z-10 before:bg-muted","before:absolute before:box-border before:select-none before:content-['']",p&&cn.cn(p.bottom?.size&&"before:border-b before:border-b-border",p.right?.size&&"before:border-r before:border-r-border",p.left?.size&&"before:border-l before:border-l-border",p.top?.size&&"before:border-t before:border-t-border")),l),...g,...o,style:{"--cellBackground":b.background,...t}},React__default.default.createElement(x,null,React__default.default.createElement("div",{className:"relative z-20 box-border h-full px-3 py-2",style:{minHeight:m}},e),!_&&React__default.default.createElement("div",{className:"group absolute top-0 h-full w-full select-none",contentEditable:!1,suppressContentEditableWarning:!0},!s&&React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(resizable.ResizeHandle,{...c,className:"-top-3 right-[-5px] w-[10px]"}),React__default.default.createElement(resizable.ResizeHandle,{...E,className:"bottom-[-5px] h-[10px]"}),!h&&React__default.default.createElement(resizable.ResizeHandle,{...d,className:"-top-3 left-[-5px] w-[10px]"}),f&&React__default.default.createElement("div",{className:cn.cn("absolute -top-3 z-30 h-[calc(100%_+_12px)] w-1 bg-ring","right-[-1.5px]")}),i&&React__default.default.createElement("div",{className:cn.cn("absolute -top-3 z-30 h-[calc(100%_+_12px)] w-1 bg-ring","left-[-1.5px]")})))))}),TableCellHeaderElement=(TableCellElement.displayName="TableCellElement",cn.withProps(TableCellElement,{isHeader:!0}));exports.TableCellElement=TableCellElement,exports.TableCellHeaderElement=TableCellHeaderElement;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { cn, withRef } from '@udecode/cn';
|
|
3
|
-
import { PlateElement } from '@udecode/plate-common';
|
|
4
|
-
export const TableRowElement = withRef(({ hideBorder, children, ...props }, ref) => {
|
|
5
|
-
return (React.createElement(PlateElement, { asChild: true, ref: ref, className: cn('h-full', hideBorder && 'border-none'), ...props },
|
|
6
|
-
React.createElement("tr", null, children)));
|
|
7
|
-
});
|
|
1
|
+
"use strict";var React=require("react"),cn=require("@udecode/cn"),plateCommon=require("@udecode/plate-common");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const TableRowElement=cn.withRef(({hideBorder:e,children:t,...a},l)=>React__default.default.createElement(plateCommon.PlateElement,{asChild:!0,ref:l,className:cn.cn("h-full",e&&"border-none"),...a},React__default.default.createElement("tr",null,t)));exports.TableRowElement=TableRowElement;
|
|
@@ -1,93 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { cn, withRef } from '@udecode/cn';
|
|
3
|
-
import { isSelectionExpanded, PlateElement, useEditorRef, useEditorSelector, useElement, useRemoveNodeButton, withHOC, } from '@udecode/plate-common';
|
|
4
|
-
import { mergeTableCells, TableProvider, unmergeTableCells, useTableBordersDropdownMenuContentState, useTableElement, useTableElementState, useTableMergeState, } from '@udecode/plate-table';
|
|
5
|
-
import { useReadOnly, useSelected } from 'slate-react';
|
|
6
|
-
import { PopoverAnchor } from '@radix-ui/react-popover';
|
|
7
|
-
import { Combine, Trash, Ungroup } from 'lucide-react';
|
|
8
|
-
import { Button } from './plate-button';
|
|
9
|
-
import { DropdownMenu } from './dropdown-menu';
|
|
10
|
-
import { DropdownMenuCheckboxItem } from './dropdown-menu';
|
|
11
|
-
import { DropdownMenuContent } from './dropdown-menu';
|
|
12
|
-
import { DropdownMenuPortal } from './dropdown-menu';
|
|
13
|
-
import { DropdownMenuTrigger } from './dropdown-menu';
|
|
14
|
-
import { Popover } from './popover';
|
|
15
|
-
import { PopoverContent } from './popover';
|
|
16
|
-
import { popoverVariants } from './popover';
|
|
17
|
-
import { Separator } from './separator';
|
|
18
|
-
import { BorderAll } from '../../icons';
|
|
19
|
-
import { BorderBottom } from '../../icons';
|
|
20
|
-
import { BorderLeft } from '../../icons';
|
|
21
|
-
import { BorderNone } from '../../icons';
|
|
22
|
-
import { BorderRight } from '../../icons';
|
|
23
|
-
import { BorderTop } from '../../icons';
|
|
24
|
-
export const TableBordersDropdownMenuContent = withRef((props, ref) => {
|
|
25
|
-
const { getOnSelectTableBorder, hasOuterBorders, hasBottomBorder, hasLeftBorder, hasNoBorders, hasRightBorder, hasTopBorder, } = useTableBordersDropdownMenuContentState();
|
|
26
|
-
return (React.createElement(DropdownMenuContent, { ref: ref, className: cn('min-w-[220px]'), side: "right", align: "start", sideOffset: 0, ...props },
|
|
27
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasBottomBorder, onCheckedChange: getOnSelectTableBorder('bottom') },
|
|
28
|
-
React.createElement(BorderBottom, { className: "mr-2 h-4 w-4" }),
|
|
29
|
-
React.createElement("div", null, "Bottom Border")),
|
|
30
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasTopBorder, onCheckedChange: getOnSelectTableBorder('top') },
|
|
31
|
-
React.createElement(BorderTop, { className: "mr-2 h-4 w-4" }),
|
|
32
|
-
React.createElement("div", null, "Top Border")),
|
|
33
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasLeftBorder, onCheckedChange: getOnSelectTableBorder('left') },
|
|
34
|
-
React.createElement(BorderLeft, { className: "mr-2 h-4 w-4" }),
|
|
35
|
-
React.createElement("div", null, "Left Border")),
|
|
36
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasRightBorder, onCheckedChange: getOnSelectTableBorder('right') },
|
|
37
|
-
React.createElement(BorderRight, { className: "mr-2 h-4 w-4" }),
|
|
38
|
-
React.createElement("div", null, "Right Border")),
|
|
39
|
-
React.createElement(Separator, null),
|
|
40
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasNoBorders, onCheckedChange: getOnSelectTableBorder('none') },
|
|
41
|
-
React.createElement(BorderNone, { className: "mr-2 h-4 w-4" }),
|
|
42
|
-
React.createElement("div", null, "No Border")),
|
|
43
|
-
React.createElement(DropdownMenuCheckboxItem, { checked: hasOuterBorders, onCheckedChange: getOnSelectTableBorder('outer') },
|
|
44
|
-
React.createElement(BorderAll, { className: "mr-2 h-4 w-4" }),
|
|
45
|
-
React.createElement("div", null, "Outside Borders"))));
|
|
46
|
-
});
|
|
47
|
-
export const TableFloatingToolbar = withRef(({ children, ...props }, ref) => {
|
|
48
|
-
const element = useElement();
|
|
49
|
-
const { props: buttonProps } = useRemoveNodeButton({ element });
|
|
50
|
-
const selectionCollapsed = useEditorSelector((editor) => !isSelectionExpanded(editor), []);
|
|
51
|
-
const readOnly = useReadOnly();
|
|
52
|
-
const selected = useSelected();
|
|
53
|
-
const editor = useEditorRef();
|
|
54
|
-
const collapsed = !readOnly && selected && selectionCollapsed;
|
|
55
|
-
const open = !readOnly && selected;
|
|
56
|
-
const { canMerge, canUnmerge } = useTableMergeState();
|
|
57
|
-
const mergeContent = canMerge && (React.createElement(Button, { contentEditable: false, variant: "ghost", isMenu: true, onClick: () => mergeTableCells(editor) },
|
|
58
|
-
React.createElement(Combine, { className: "mr-2 h-4 w-4" }),
|
|
59
|
-
"Merge"));
|
|
60
|
-
const unmergeButton = canUnmerge && (React.createElement(Button, { contentEditable: false, variant: "ghost", isMenu: true, onClick: () => unmergeTableCells(editor) },
|
|
61
|
-
React.createElement(Ungroup, { className: "mr-2 h-4 w-4" }),
|
|
62
|
-
"Unmerge"));
|
|
63
|
-
const bordersContent = collapsed && (React.createElement(React.Fragment, null,
|
|
64
|
-
React.createElement(DropdownMenu, { modal: false },
|
|
65
|
-
React.createElement(DropdownMenuTrigger, { asChild: true },
|
|
66
|
-
React.createElement(Button, { variant: "ghost", isMenu: true },
|
|
67
|
-
React.createElement(BorderAll, { className: "mr-2 h-4 w-4" }),
|
|
68
|
-
"Borders")),
|
|
69
|
-
React.createElement(DropdownMenuPortal, null,
|
|
70
|
-
React.createElement(TableBordersDropdownMenuContent, null))),
|
|
71
|
-
React.createElement(Button, { contentEditable: false, variant: "ghost", isMenu: true, ...buttonProps },
|
|
72
|
-
React.createElement(Trash, { className: "mr-2 h-4 w-4" }),
|
|
73
|
-
"Delete")));
|
|
74
|
-
return (React.createElement(Popover, { open: open, modal: false },
|
|
75
|
-
React.createElement(PopoverAnchor, { asChild: true }, children),
|
|
76
|
-
(canMerge || canUnmerge || collapsed) && (React.createElement(PopoverContent, { ref: ref, className: cn(popoverVariants(), 'flex w-[220px] flex-col gap-1 p-1'), onOpenAutoFocus: (e) => e.preventDefault(), ...props },
|
|
77
|
-
unmergeButton,
|
|
78
|
-
mergeContent,
|
|
79
|
-
bordersContent))));
|
|
80
|
-
});
|
|
81
|
-
export const TableElement = withHOC(TableProvider, withRef(({ className, children, ...props }, ref) => {
|
|
82
|
-
const { colSizes, isSelectingCell, minColumnWidth, marginLeft } = useTableElementState();
|
|
83
|
-
const { props: tableProps, colGroupProps } = useTableElement();
|
|
84
|
-
return (React.createElement(TableFloatingToolbar, null,
|
|
85
|
-
React.createElement("div", { style: { paddingLeft: marginLeft } },
|
|
86
|
-
React.createElement(PlateElement, { ref: ref, asChild: true, className: cn('my-4 ml-px mr-0 table h-px w-full table-fixed border-collapse', isSelectingCell && '[&_*::selection]:bg-none', className), ...tableProps, ...props },
|
|
87
|
-
React.createElement("table", null,
|
|
88
|
-
React.createElement("colgroup", { ...colGroupProps }, colSizes.map((width, index) => (React.createElement("col", { key: index, style: {
|
|
89
|
-
minWidth: minColumnWidth,
|
|
90
|
-
width: width || undefined,
|
|
91
|
-
} })))),
|
|
92
|
-
React.createElement("tbody", { className: "min-w-full" }, children))))));
|
|
93
|
-
}));
|
|
1
|
+
"use strict";var React=require("react"),cn=require("@udecode/cn"),plateCommon=require("@udecode/plate-common"),plateTable=require("@udecode/plate-table"),slateReact=require("slate-react"),PopoverPrimitive=require("@radix-ui/react-popover"),lucideReact=require("lucide-react"),plateButton=require("./plate-button.js"),dropdownMenu=require("./dropdown-menu.js"),popover=require("./popover.js"),separator=require("./separator.js"),borderAll=require("../../icons/border-all.js"),borderBottom=require("../../icons/border-bottom.js"),borderLeft=require("../../icons/border-left.js"),borderNone=require("../../icons/border-none.js"),borderRight=require("../../icons/border-right.js"),borderTop=require("../../icons/border-top.js");function _interopDefaultCompat(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var React__default=_interopDefaultCompat(React);const TableBordersDropdownMenuContent=cn.withRef((e,t)=>{var{getOnSelectTableBorder:a,hasOuterBorders:l,hasBottomBorder:r,hasLeftBorder:o,hasNoBorders:n,hasRightBorder:d,hasTopBorder:u}=plateTable.useTableBordersDropdownMenuContentState();return React__default.default.createElement(dropdownMenu.DropdownMenuContent,{ref:t,className:cn.cn("min-w-[220px]"),side:"right",align:"start",sideOffset:0,...e},React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:r,onCheckedChange:a("bottom")},React__default.default.createElement(borderBottom.BorderBottom,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"Bottom Border")),React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:u,onCheckedChange:a("top")},React__default.default.createElement(borderTop.BorderTop,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"Top Border")),React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:o,onCheckedChange:a("left")},React__default.default.createElement(borderLeft.BorderLeft,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"Left Border")),React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:d,onCheckedChange:a("right")},React__default.default.createElement(borderRight.BorderRight,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"Right Border")),React__default.default.createElement(separator.Separator,null),React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:n,onCheckedChange:a("none")},React__default.default.createElement(borderNone.BorderNone,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"No Border")),React__default.default.createElement(dropdownMenu.DropdownMenuCheckboxItem,{checked:l,onCheckedChange:a("outer")},React__default.default.createElement(borderAll.BorderAll,{className:"mr-2 h-4 w-4"}),React__default.default.createElement("div",null,"Outside Borders")))}),TableFloatingToolbar=cn.withRef(({children:e,...t},a)=>{var l=plateCommon.useElement(),l=plateCommon.useRemoveNodeButton({element:l})["props"],r=plateCommon.useEditorSelector(e=>!plateCommon.isSelectionExpanded(e),[]),o=slateReact.useReadOnly(),n=slateReact.useSelected();const d=plateCommon.useEditorRef();var r=!o&&n&&r,o=!o&&n,{canMerge:n,canUnmerge:u}=plateTable.useTableMergeState(),c=n&&React__default.default.createElement(plateButton.Button,{contentEditable:!1,variant:"ghost",isMenu:!0,onClick:()=>plateTable.mergeTableCells(d)},React__default.default.createElement(lucideReact.Combine,{className:"mr-2 h-4 w-4"}),"Merge"),m=u&&React__default.default.createElement(plateButton.Button,{contentEditable:!1,variant:"ghost",isMenu:!0,onClick:()=>plateTable.unmergeTableCells(d)},React__default.default.createElement(lucideReact.Ungroup,{className:"mr-2 h-4 w-4"}),"Unmerge"),l=r&&React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(dropdownMenu.DropdownMenu,{modal:!1},React__default.default.createElement(dropdownMenu.DropdownMenuTrigger,{asChild:!0},React__default.default.createElement(plateButton.Button,{variant:"ghost",isMenu:!0},React__default.default.createElement(borderAll.BorderAll,{className:"mr-2 h-4 w-4"}),"Borders")),React__default.default.createElement(dropdownMenu.DropdownMenuPortal,null,React__default.default.createElement(TableBordersDropdownMenuContent,null))),React__default.default.createElement(plateButton.Button,{contentEditable:!1,variant:"ghost",isMenu:!0,...l},React__default.default.createElement(lucideReact.Trash,{className:"mr-2 h-4 w-4"}),"Delete"));return React__default.default.createElement(popover.Popover,{open:o,modal:!1},React__default.default.createElement(PopoverPrimitive.PopoverAnchor,{asChild:!0},e),(n||u||r)&&React__default.default.createElement(popover.PopoverContent,{ref:a,className:cn.cn(popover.popoverVariants(),"flex w-[220px] flex-col gap-1 p-1"),onOpenAutoFocus:e=>e.preventDefault(),...t},m,c,l))}),TableElement=plateCommon.withHOC(plateTable.TableProvider,cn.withRef(({className:e,children:t,...a},l)=>{const{colSizes:r,isSelectingCell:o,minColumnWidth:n,marginLeft:d}=plateTable.useTableElementState();var{props:u,colGroupProps:c}=plateTable.useTableElement();return React__default.default.createElement(TableFloatingToolbar,null,React__default.default.createElement("div",{style:{paddingLeft:d}},React__default.default.createElement(plateCommon.PlateElement,{ref:l,asChild:!0,className:cn.cn("my-4 ml-px mr-0 table h-px w-full table-fixed border-collapse",o&&"[&_*::selection]:bg-none",e),...u,...a},React__default.default.createElement("table",null,React__default.default.createElement("colgroup",{...c},r.map((e,t)=>React__default.default.createElement("col",{key:t,style:{minWidth:n,width:e||void 0}}))),React__default.default.createElement("tbody",{className:"min-w-full"},t)))))}));exports.TableBordersDropdownMenuContent=TableBordersDropdownMenuContent,exports.TableElement=TableElement,exports.TableFloatingToolbar=TableFloatingToolbar;
|