@soul-refiner/design-system 0.1.27 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/colors.js +135 -0
- package/dist/common/date.js +28 -0
- package/dist/common/index.js +3 -0
- package/dist/common/styles.js +63 -0
- package/dist/components/actions/button/button.js +233 -0
- package/dist/components/actions/button/button.stories.js +58 -0
- package/dist/components/actions/button/index.js +1 -0
- package/dist/components/actions/dropdown/dropdown.js +202 -0
- package/dist/components/actions/dropdown/dropdown.stories.js +99 -0
- package/dist/components/actions/dropdown/index.js +1 -0
- package/dist/components/actions/index.js +5 -0
- package/dist/components/actions/rate/index.js +1 -0
- package/dist/components/actions/rate/rate.js +45 -0
- package/dist/components/actions/rate/rate.stories.js +29 -0
- package/dist/components/actions/switch/index.js +1 -0
- package/dist/components/actions/switch/switch.js +71 -0
- package/dist/components/actions/switch/switch.stories.js +25 -0
- package/dist/components/actions/toggle/index.js +1 -0
- package/dist/components/actions/toggle/toggle.js +56 -0
- package/dist/components/actions/toggle/toggle.stories.js +20 -0
- package/dist/components/actions/upload/index.js +1 -0
- package/dist/components/actions/upload/upload.js +155 -0
- package/dist/components/actions/upload/upload.stories.js +58 -0
- package/dist/components/atoms/box/box.js +15 -0
- package/dist/components/atoms/box/box.stories.js +85 -0
- package/dist/components/atoms/box/index.js +1 -0
- package/dist/components/atoms/colors/colors.js +34 -0
- package/dist/components/atoms/colors/colors.stories.js +75 -0
- package/dist/components/atoms/colors/index.js +1 -0
- package/dist/components/atoms/index.js +2 -0
- package/dist/components/atoms/typography/display.js +9 -0
- package/dist/components/atoms/typography/heading.js +33 -0
- package/dist/components/atoms/typography/index.js +4 -0
- package/dist/components/atoms/typography/paragraph.js +16 -0
- package/dist/components/atoms/typography/typography.js +11 -0
- package/dist/components/atoms/typography/typography.stories.js +96 -0
- package/dist/components/card/action/action.js +51 -0
- package/dist/components/card/action/index.js +1 -0
- package/dist/components/card/audio/audio.js +100 -0
- package/dist/components/card/audio/index.js +1 -0
- package/dist/components/card/card.js +22 -0
- package/dist/components/card/card.stories.js +284 -0
- package/dist/components/card/feature/feature.js +168 -0
- package/dist/components/card/feature/index.js +1 -0
- package/dist/components/card/index.js +1 -0
- package/dist/components/card/person/index.js +1 -0
- package/dist/components/card/person/person.js +57 -0
- package/dist/components/card/price/index.js +1 -0
- package/dist/components/card/price/price.js +45 -0
- package/dist/components/card/regular/index.js +1 -0
- package/dist/components/card/regular/regular.js +30 -0
- package/dist/components/card/video/index.js +1 -0
- package/dist/components/card/video/video.js +92 -0
- package/dist/components/card/written/index.js +1 -0
- package/dist/components/card/written/written.js +101 -0
- package/dist/components/editor/constants.js +133 -0
- package/dist/components/editor/editor.js +73 -0
- package/dist/components/editor/editor.stories.js +16 -0
- package/dist/components/editor/index.js +1 -0
- package/dist/components/editor/navbar/alignment_dropdown.js +93 -0
- package/dist/components/editor/navbar/button_modal.js +55 -0
- package/dist/components/editor/navbar/index.js +1 -0
- package/dist/components/editor/navbar/navbar.js +205 -0
- package/dist/components/editor/navbar/style_dropdown.js +65 -0
- package/dist/components/editor/plate.js +27 -0
- package/dist/components/editor/plugins/blockquote.js +8 -0
- package/dist/components/editor/plugins/buttons.js +81 -0
- package/dist/components/editor/plugins/exitBreak.js +31 -0
- package/dist/components/editor/plugins/image.js +47 -0
- package/dist/components/editor/plugins/index.js +111 -0
- package/dist/components/editor/plugins/link.js +74 -0
- package/dist/components/editor/plugins/list.js +17 -0
- package/dist/components/editor/plugins/resetBlockType.js +22 -0
- package/dist/components/editor/plugins/selectOnBackspace.js +6 -0
- package/dist/components/editor/plugins/softBreak.js +14 -0
- package/dist/components/editor/plugins/text.js +81 -0
- package/dist/components/feedback/badge/badge.js +65 -0
- package/dist/components/feedback/badge/badge.stories.js +25 -0
- package/dist/components/feedback/badge/index.js +1 -0
- package/dist/components/feedback/banner/banner.js +76 -0
- package/dist/components/feedback/banner/banner.stories.js +33 -0
- package/dist/components/feedback/banner/index.js +1 -0
- package/dist/components/feedback/chip/chip.js +93 -0
- package/dist/components/feedback/chip/chip.stories.js +39 -0
- package/dist/components/feedback/chip/index.js +1 -0
- package/dist/components/feedback/index.js +7 -0
- package/dist/components/feedback/loader/index.js +1 -0
- package/dist/components/feedback/loader/loader.js +33 -0
- package/dist/components/feedback/loader/loader.stories.js +29 -0
- package/dist/components/feedback/notification/index.js +1 -0
- package/dist/components/feedback/notification/notification.js +71 -0
- package/dist/components/feedback/notification/notificition.stories.js +30 -0
- package/dist/components/feedback/progress/index.js +1 -0
- package/dist/components/feedback/progress/progress.js +86 -0
- package/dist/components/feedback/progress/progress.stories.js +32 -0
- package/dist/components/feedback/toast/index.js +1 -0
- package/dist/components/feedback/toast/toast.js +70 -0
- package/dist/components/feedback/toast/toast.stories.js +26 -0
- package/dist/components/feedback/tooltip/index.js +1 -0
- package/dist/components/feedback/tooltip/tooltip.js +25 -0
- package/dist/components/feedback/tooltip/tooltip.stories.js +43 -0
- package/dist/components/iconography/avatar/avatar.js +148 -0
- package/dist/components/iconography/avatar/avatar.stories.js +55 -0
- package/dist/components/iconography/avatar/icons/approved.js +5 -0
- package/dist/components/iconography/avatar/icons/busy.js +5 -0
- package/dist/components/iconography/avatar/icons/declined.js +5 -0
- package/dist/components/iconography/avatar/icons/default.js +3 -0
- package/dist/components/iconography/avatar/icons/focus.js +5 -0
- package/dist/components/iconography/avatar/icons/index.js +9 -0
- package/dist/components/iconography/avatar/icons/locked.js +5 -0
- package/dist/components/iconography/avatar/icons/offline.js +5 -0
- package/dist/components/iconography/avatar/icons/online.js +4 -0
- package/dist/components/iconography/avatar/icons/subscribed.js +9 -0
- package/dist/components/iconography/avatar/index.js +1 -0
- package/dist/components/iconography/icon/icon.js +9 -0
- package/dist/components/iconography/icon/icon.stories.js +113 -0
- package/dist/components/iconography/icon/index.js +1 -0
- package/dist/components/iconography/index.js +2 -0
- package/dist/components/index.js +9 -0
- package/dist/components/input/checkbox/checkbox.js +21 -0
- package/dist/components/input/checkbox/checkbox.stories.js +19 -0
- package/dist/components/input/checkbox/index.js +1 -0
- package/dist/components/input/date/date.js +516 -0
- package/dist/components/input/date/date.stories.js +30 -0
- package/dist/components/input/date/index.js +1 -0
- package/dist/components/input/filter/filter.js +194 -0
- package/dist/components/input/filter/filter.stories.js +30 -0
- package/dist/components/input/filter/index.js +1 -0
- package/dist/components/input/index.js +5 -0
- package/dist/components/input/radio/index.js +1 -0
- package/dist/components/input/radio/radio.js +77 -0
- package/dist/components/input/radio/radio.stories.js +34 -0
- package/dist/components/input/search/index.js +1 -0
- package/dist/components/input/search/search.js +136 -0
- package/dist/components/input/search/search.stories.js +50 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.js +105 -0
- package/dist/components/navigation/breadcrumb/breadcrumb.stories.js +37 -0
- package/dist/components/navigation/breadcrumb/index.js +1 -0
- package/dist/components/navigation/index.js +2 -0
- package/dist/components/navigation/tabs/index.js +1 -0
- package/dist/components/navigation/tabs/tabs.js +144 -0
- package/dist/components/navigation/tabs/tabs.stories.js +88 -0
- package/dist/components/surfaces/accordion/accordion.js +45 -0
- package/dist/components/surfaces/accordion/accordion.stories.js +16 -0
- package/dist/components/surfaces/accordion/index.js +1 -0
- package/dist/components/surfaces/comment/comment.js +126 -0
- package/dist/components/surfaces/comment/comment.stories.js +82 -0
- package/dist/components/surfaces/comment/helpers.js +38 -0
- package/dist/components/surfaces/comment/index.js +1 -0
- package/dist/components/surfaces/drawer/drawer.js +124 -0
- package/dist/components/surfaces/drawer/drawer.stories.js +77 -0
- package/dist/components/surfaces/drawer/index.js +1 -0
- package/dist/components/surfaces/index.js +5 -0
- package/dist/components/surfaces/message/index.js +1 -0
- package/dist/components/surfaces/message/message.js +43 -0
- package/dist/components/surfaces/message/message.stories.js +71 -0
- package/dist/components/surfaces/modal/index.js +1 -0
- package/dist/components/surfaces/modal/modal.js +100 -0
- package/dist/components/surfaces/modal/modal.stories.js +18 -0
- package/dist/components/table/index.js +1 -0
- package/dist/components/table/table/index.js +1 -0
- package/dist/components/table/table/table.js +183 -0
- package/dist/components/table/table/table.stories.js +45 -0
- package/dist/emoji/emojis.json +17577 -0
- package/dist/icons/arrow/arrow_all.js +6 -0
- package/dist/icons/arrow/arrow_all_diagonal.js +6 -0
- package/dist/icons/arrow/arrow_both_downwards.js +6 -0
- package/dist/icons/arrow/arrow_both_upwards.js +6 -0
- package/dist/icons/arrow/arrow_circle_left.js +6 -0
- package/dist/icons/arrow/arrow_circle_left_double.js +6 -0
- package/dist/icons/arrow/arrow_circle_left_double_alert.js +8 -0
- package/dist/icons/arrow/arrow_circle_right.js +6 -0
- package/dist/icons/arrow/arrow_circle_right_double.js +6 -0
- package/dist/icons/arrow/arrow_circle_right_double_alert.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_down_left.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_down_right.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_up_left.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_up_right.js +6 -0
- package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +6 -0
- package/dist/icons/arrow/arrow_down.js +6 -0
- package/dist/icons/arrow/arrow_down_bold.js +6 -0
- package/dist/icons/arrow/arrow_down_circle.js +6 -0
- package/dist/icons/arrow/arrow_left.js +6 -0
- package/dist/icons/arrow/arrow_left_bold.js +6 -0
- package/dist/icons/arrow/arrow_left_circle.js +6 -0
- package/dist/icons/arrow/arrow_left_curved.js +6 -0
- package/dist/icons/arrow/arrow_left_curved_circle.js +6 -0
- package/dist/icons/arrow/arrow_right.js +6 -0
- package/dist/icons/arrow/arrow_right_bold.js +6 -0
- package/dist/icons/arrow/arrow_right_circle.js +6 -0
- package/dist/icons/arrow/arrow_right_curved.js +6 -0
- package/dist/icons/arrow/arrow_right_curved_circle.js +6 -0
- package/dist/icons/arrow/arrow_up.js +6 -0
- package/dist/icons/arrow/arrow_up_bold.js +6 -0
- package/dist/icons/arrow/arrow_up_circle.js +6 -0
- package/dist/icons/arrow/chevron_down.js +6 -0
- package/dist/icons/arrow/chevron_down_circle.js +6 -0
- package/dist/icons/arrow/chevron_down_double.js +6 -0
- package/dist/icons/arrow/chevron_down_double_circle.js +6 -0
- package/dist/icons/arrow/chevron_left.js +6 -0
- package/dist/icons/arrow/chevron_left_circle.js +6 -0
- package/dist/icons/arrow/chevron_left_double.js +6 -0
- package/dist/icons/arrow/chevron_left_double_circle.js +6 -0
- package/dist/icons/arrow/chevron_right.js +6 -0
- package/dist/icons/arrow/chevron_right_circle.js +6 -0
- package/dist/icons/arrow/chevron_right_double.js +6 -0
- package/dist/icons/arrow/chevron_right_double_circle.js +6 -0
- package/dist/icons/arrow/chevron_scroll.js +6 -0
- package/dist/icons/arrow/chevron_up.js +6 -0
- package/dist/icons/arrow/chevron_up_circle.js +6 -0
- package/dist/icons/arrow/chevron_up_double.js +6 -0
- package/dist/icons/arrow/chevron_up_double_circle.js +6 -0
- package/dist/icons/arrow/forward_all.js +6 -0
- package/dist/icons/arrow/forward_all_bold.js +6 -0
- package/dist/icons/arrow/forward_bold.js +6 -0
- package/dist/icons/arrow/index.js +62 -0
- package/dist/icons/arrow/redo.js +6 -0
- package/dist/icons/arrow/redo_bold.js +6 -0
- package/dist/icons/arrow/reply.js +6 -0
- package/dist/icons/arrow/reply_all.js +6 -0
- package/dist/icons/arrow/reply_all_bold.js +6 -0
- package/dist/icons/arrow/reply_bold.js +6 -0
- package/dist/icons/arrow/undo.js +6 -0
- package/dist/icons/arrow/undo_bold.js +6 -0
- package/dist/icons/audio_video/drag_indicator.js +6 -0
- package/dist/icons/audio_video/eject.js +6 -0
- package/dist/icons/audio_video/equalizer.js +6 -0
- package/dist/icons/audio_video/fast_forward.js +6 -0
- package/dist/icons/audio_video/fast_forward_30.js +6 -0
- package/dist/icons/audio_video/fullscreen.js +6 -0
- package/dist/icons/audio_video/headphones.js +6 -0
- package/dist/icons/audio_video/index.js +38 -0
- package/dist/icons/audio_video/library_add.js +6 -0
- package/dist/icons/audio_video/library_delay.js +6 -0
- package/dist/icons/audio_video/library_music.js +6 -0
- package/dist/icons/audio_video/library_queue.js +6 -0
- package/dist/icons/audio_video/microphone.js +6 -0
- package/dist/icons/audio_video/musical_note.js +6 -0
- package/dist/icons/audio_video/next.js +6 -0
- package/dist/icons/audio_video/pause.js +6 -0
- package/dist/icons/audio_video/pause_circle.js +6 -0
- package/dist/icons/audio_video/play.js +6 -0
- package/dist/icons/audio_video/play_circle.js +6 -0
- package/dist/icons/audio_video/play_display.js +6 -0
- package/dist/icons/audio_video/play_pause.js +6 -0
- package/dist/icons/audio_video/play_solid.js +6 -0
- package/dist/icons/audio_video/player_list.js +6 -0
- package/dist/icons/audio_video/player_list_add.js +6 -0
- package/dist/icons/audio_video/player_list_play.js +6 -0
- package/dist/icons/audio_video/previous.js +6 -0
- package/dist/icons/audio_video/radio.js +6 -0
- package/dist/icons/audio_video/record.js +6 -0
- package/dist/icons/audio_video/repeat.js +6 -0
- package/dist/icons/audio_video/rewind.js +6 -0
- package/dist/icons/audio_video/rewind_30.js +6 -0
- package/dist/icons/audio_video/shuffle.js +6 -0
- package/dist/icons/audio_video/sound_wave.js +6 -0
- package/dist/icons/audio_video/stop.js +6 -0
- package/dist/icons/audio_video/stop_circle.js +6 -0
- package/dist/icons/audio_video/subscriptions.js +6 -0
- package/dist/icons/audio_video/tuner.js +6 -0
- package/dist/icons/audio_video/volume.js +6 -0
- package/dist/icons/audio_video/volume_high.js +6 -0
- package/dist/icons/audio_video/volume_low.js +6 -0
- package/dist/icons/audio_video/volume_slash.js +6 -0
- package/dist/icons/basic/aa_sansserif.js +7 -0
- package/dist/icons/basic/aa_serif.js +7 -0
- package/dist/icons/basic/anchor.js +8 -0
- package/dist/icons/basic/bible.js +6 -0
- package/dist/icons/basic/bold.js +6 -0
- package/dist/icons/basic/book.js +6 -0
- package/dist/icons/basic/book_open.js +6 -0
- package/dist/icons/basic/bookmark.js +6 -0
- package/dist/icons/basic/bookmark_add.js +6 -0
- package/dist/icons/basic/bookmark_slash.js +6 -0
- package/dist/icons/basic/bookmarks.js +6 -0
- package/dist/icons/basic/books.js +9 -0
- package/dist/icons/basic/box.js +6 -0
- package/dist/icons/basic/briefcase.js +6 -0
- package/dist/icons/basic/browse_activity.js +6 -0
- package/dist/icons/basic/browser.js +6 -0
- package/dist/icons/basic/browser_slash.js +6 -0
- package/dist/icons/basic/calculator.js +6 -0
- package/dist/icons/basic/camera.js +6 -0
- package/dist/icons/basic/camera_add.js +6 -0
- package/dist/icons/basic/camera_slash.js +6 -0
- package/dist/icons/basic/checkmark.js +6 -0
- package/dist/icons/basic/checkmark_circle.js +8 -0
- package/dist/icons/basic/checkmark_filled.js +6 -0
- package/dist/icons/basic/checkmarks.js +6 -0
- package/dist/icons/basic/circle.js +6 -0
- package/dist/icons/basic/circle_slash.js +8 -0
- package/dist/icons/basic/clear_text_style.js +6 -0
- package/dist/icons/basic/close.js +6 -0
- package/dist/icons/basic/close_circle.js +6 -0
- package/dist/icons/basic/close_filled.js +6 -0
- package/dist/icons/basic/copy.js +6 -0
- package/dist/icons/basic/delete.js +6 -0
- package/dist/icons/basic/detail.js +6 -0
- package/dist/icons/basic/dot.js +6 -0
- package/dist/icons/basic/download.js +6 -0
- package/dist/icons/basic/download_arrow.js +6 -0
- package/dist/icons/basic/droplet.js +8 -0
- package/dist/icons/basic/ellipsis_horizontal.js +6 -0
- package/dist/icons/basic/ellipsis_horizontal_circle.js +6 -0
- package/dist/icons/basic/ellipsis_vertical.js +6 -0
- package/dist/icons/basic/ellipsis_vertical_circle.js +6 -0
- package/dist/icons/basic/eye.js +6 -0
- package/dist/icons/basic/eye_slash.js +6 -0
- package/dist/icons/basic/fingerprint.js +6 -0
- package/dist/icons/basic/flag.js +6 -0
- package/dist/icons/basic/flag_wave.js +6 -0
- package/dist/icons/basic/flag_wave_filled.js +6 -0
- package/dist/icons/basic/flame.js +6 -0
- package/dist/icons/basic/gauge.js +6 -0
- package/dist/icons/basic/glasses.js +6 -0
- package/dist/icons/basic/graduation_cap.js +6 -0
- package/dist/icons/basic/hashmark.js +6 -0
- package/dist/icons/basic/heart.js +6 -0
- package/dist/icons/basic/heart_slash.js +6 -0
- package/dist/icons/basic/highlighter.js +6 -0
- package/dist/icons/basic/home.js +6 -0
- package/dist/icons/basic/image.js +6 -0
- package/dist/icons/basic/inbox.js +6 -0
- package/dist/icons/basic/index.js +128 -0
- package/dist/icons/basic/italic.js +6 -0
- package/dist/icons/basic/layers.js +6 -0
- package/dist/icons/basic/lightening.js +6 -0
- package/dist/icons/basic/lightening_slash.js +6 -0
- package/dist/icons/basic/link.js +6 -0
- package/dist/icons/basic/link_slash.js +6 -0
- package/dist/icons/basic/loudspeaker.js +6 -0
- package/dist/icons/basic/maximize.js +6 -0
- package/dist/icons/basic/menu.js +6 -0
- package/dist/icons/basic/menu_circle.js +6 -0
- package/dist/icons/basic/menu_dots.js +6 -0
- package/dist/icons/basic/microphone_slash.js +6 -0
- package/dist/icons/basic/minimize.js +6 -0
- package/dist/icons/basic/minus.js +6 -0
- package/dist/icons/basic/minus_circle.js +6 -0
- package/dist/icons/basic/move_item.js +6 -0
- package/dist/icons/basic/new.js +6 -0
- package/dist/icons/basic/newspaper.js +6 -0
- package/dist/icons/basic/note_pad.js +7 -0
- package/dist/icons/basic/options.js +6 -0
- package/dist/icons/basic/paint_brush.js +6 -0
- package/dist/icons/basic/paperclip.js +6 -0
- package/dist/icons/basic/paperclip_slash.js +6 -0
- package/dist/icons/basic/pencil.js +6 -0
- package/dist/icons/basic/pencil_pad.js +6 -0
- package/dist/icons/basic/plus.js +6 -0
- package/dist/icons/basic/plus_circle.js +6 -0
- package/dist/icons/basic/presentation.js +6 -0
- package/dist/icons/basic/printer.js +6 -0
- package/dist/icons/basic/profile.js +6 -0
- package/dist/icons/basic/pulse.js +6 -0
- package/dist/icons/basic/qr_code.js +6 -0
- package/dist/icons/basic/resize.js +8 -0
- package/dist/icons/basic/scan.js +6 -0
- package/dist/icons/basic/scissors.js +6 -0
- package/dist/icons/basic/screenshot.js +6 -0
- package/dist/icons/basic/search.js +6 -0
- package/dist/icons/basic/select_item.js +7 -0
- package/dist/icons/basic/settings.js +6 -0
- package/dist/icons/basic/share.js +6 -0
- package/dist/icons/basic/share_external.js +6 -0
- package/dist/icons/basic/square.js +6 -0
- package/dist/icons/basic/star.js +6 -0
- package/dist/icons/basic/star_circle.js +6 -0
- package/dist/icons/basic/star_filled.js +6 -0
- package/dist/icons/basic/star_filled_half.js +6 -0
- package/dist/icons/basic/star_slash.js +6 -0
- package/dist/icons/basic/sticker.js +6 -0
- package/dist/icons/basic/strikethrough.js +6 -0
- package/dist/icons/basic/subtask.js +7 -0
- package/dist/icons/basic/tax.js +9 -0
- package/dist/icons/basic/text_bg_color.js +6 -0
- package/dist/icons/basic/text_color.js +6 -0
- package/dist/icons/basic/textbox.js +6 -0
- package/dist/icons/basic/thumbs_down.js +6 -0
- package/dist/icons/basic/thumbs_up.js +6 -0
- package/dist/icons/basic/thumbs_up_filled.js +6 -0
- package/dist/icons/basic/toggle_left.js +6 -0
- package/dist/icons/basic/toggle_right.js +6 -0
- package/dist/icons/basic/translate.js +6 -0
- package/dist/icons/basic/trash.js +6 -0
- package/dist/icons/basic/trash_slash.js +6 -0
- package/dist/icons/basic/underline.js +6 -0
- package/dist/icons/basic/upload.js +6 -0
- package/dist/icons/basic/video.js +6 -0
- package/dist/icons/basic/video_add.js +7 -0
- package/dist/icons/basic/video_slash.js +6 -0
- package/dist/icons/basic/zoom_in.js +6 -0
- package/dist/icons/basic/zoom_out.js +6 -0
- package/dist/icons/data/bar_chart.js +6 -0
- package/dist/icons/data/bar_chart_downward.js +6 -0
- package/dist/icons/data/bar_chart_downward_outline.js +6 -0
- package/dist/icons/data/bar_chart_upward.js +6 -0
- package/dist/icons/data/bar_chart_upward_outline.js +6 -0
- package/dist/icons/data/candlestick_chart.js +6 -0
- package/dist/icons/data/four_circles.js +6 -0
- package/dist/icons/data/index.js +20 -0
- package/dist/icons/data/legend_toggle.js +6 -0
- package/dist/icons/data/line_chart.js +6 -0
- package/dist/icons/data/line_chart_area.js +6 -0
- package/dist/icons/data/line_chart_area_shaded.js +6 -0
- package/dist/icons/data/line_chart_double.js +6 -0
- package/dist/icons/data/line_chart_downward.js +6 -0
- package/dist/icons/data/line_chart_node.js +6 -0
- package/dist/icons/data/line_chart_outline.js +6 -0
- package/dist/icons/data/line_chart_search.js +6 -0
- package/dist/icons/data/line_chart_stars.js +6 -0
- package/dist/icons/data/line_chart_upward.js +6 -0
- package/dist/icons/data/pie_chart.js +7 -0
- package/dist/icons/data/tree.js +6 -0
- package/dist/icons/email/index.js +8 -0
- package/dist/icons/email/mail.js +6 -0
- package/dist/icons/email/mail_check.js +6 -0
- package/dist/icons/email/mail_minus.js +6 -0
- package/dist/icons/email/mail_send.js +6 -0
- package/dist/icons/email/send.js +6 -0
- package/dist/icons/email/send_close.js +6 -0
- package/dist/icons/email/send_schedule.js +6 -0
- package/dist/icons/email/send_text.js +6 -0
- package/dist/icons/file/clipboard.js +6 -0
- package/dist/icons/file/clipboard_check.js +6 -0
- package/dist/icons/file/clipboard_close.js +6 -0
- package/dist/icons/file/clipboard_minus.js +6 -0
- package/dist/icons/file/clipboard_plus.js +6 -0
- package/dist/icons/file/clipboard_text.js +6 -0
- package/dist/icons/file/file.js +6 -0
- package/dist/icons/file/file_add.js +6 -0
- package/dist/icons/file/file_check.js +6 -0
- package/dist/icons/file/file_close.js +6 -0
- package/dist/icons/file/file_code.js +6 -0
- package/dist/icons/file/file_download.js +6 -0
- package/dist/icons/file/file_draft.js +6 -0
- package/dist/icons/file/file_minus.js +6 -0
- package/dist/icons/file/file_plus.js +6 -0
- package/dist/icons/file/file_scan.js +6 -0
- package/dist/icons/file/file_shred.js +6 -0
- package/dist/icons/file/file_text.js +6 -0
- package/dist/icons/file/file_upload.js +6 -0
- package/dist/icons/file/folder.js +6 -0
- package/dist/icons/file/folder_add.js +6 -0
- package/dist/icons/file/folder_arrow.js +6 -0
- package/dist/icons/file/folder_check.js +6 -0
- package/dist/icons/file/folder_close.js +6 -0
- package/dist/icons/file/folder_cloud.js +6 -0
- package/dist/icons/file/folder_minus.js +6 -0
- package/dist/icons/file/folder_music.js +6 -0
- package/dist/icons/file/folder_open.js +6 -0
- package/dist/icons/file/folder_plus.js +6 -0
- package/dist/icons/file/folder_zip.js +6 -0
- package/dist/icons/file/index.js +34 -0
- package/dist/icons/file/note.js +6 -0
- package/dist/icons/file/note_text.js +6 -0
- package/dist/icons/file/pdf.js +6 -0
- package/dist/icons/file/photo.js +6 -0
- package/dist/icons/finance/bitcoin.js +6 -0
- package/dist/icons/finance/credit_card.js +6 -0
- package/dist/icons/finance/credit_card_add.js +6 -0
- package/dist/icons/finance/credit_card_face.js +6 -0
- package/dist/icons/finance/credit_card_outcome.js +6 -0
- package/dist/icons/finance/credit_card_scan.js +6 -0
- package/dist/icons/finance/credit_card_share.js +6 -0
- package/dist/icons/finance/credit_card_slash.js +6 -0
- package/dist/icons/finance/currency_exchange.js +6 -0
- package/dist/icons/finance/dollar.js +6 -0
- package/dist/icons/finance/ethereum.js +6 -0
- package/dist/icons/finance/index.js +14 -0
- package/dist/icons/finance/paypass.js +6 -0
- package/dist/icons/finance/strongbox.js +6 -0
- package/dist/icons/finance/wallet.js +6 -0
- package/dist/icons/index.js +21 -0
- package/dist/icons/layout/block_align_bottom.js +6 -0
- package/dist/icons/layout/block_align_center.js +6 -0
- package/dist/icons/layout/block_align_left.js +6 -0
- package/dist/icons/layout/block_align_middle.js +6 -0
- package/dist/icons/layout/block_align_right.js +6 -0
- package/dist/icons/layout/block_align_top.js +6 -0
- package/dist/icons/layout/block_horizontal.js +6 -0
- package/dist/icons/layout/block_vertical.js +6 -0
- package/dist/icons/layout/edit_shape.js +6 -0
- package/dist/icons/layout/elements.js +6 -0
- package/dist/icons/layout/elements_add.js +6 -0
- package/dist/icons/layout/elements_filled.js +6 -0
- package/dist/icons/layout/elements_masonry.js +6 -0
- package/dist/icons/layout/frame.js +6 -0
- package/dist/icons/layout/frame_stack.js +6 -0
- package/dist/icons/layout/grid.js +6 -0
- package/dist/icons/layout/grid_column_three.js +6 -0
- package/dist/icons/layout/grid_column_two.js +6 -0
- package/dist/icons/layout/grid_dynamic.js +6 -0
- package/dist/icons/layout/grid_frame.js +6 -0
- package/dist/icons/layout/grid_row_three.js +6 -0
- package/dist/icons/layout/grid_row_two.js +6 -0
- package/dist/icons/layout/grid_six.js +6 -0
- package/dist/icons/layout/grid_small.js +6 -0
- package/dist/icons/layout/iframe.js +6 -0
- package/dist/icons/layout/index.js +44 -0
- package/dist/icons/layout/kanban.js +6 -0
- package/dist/icons/layout/layout.js +6 -0
- package/dist/icons/layout/list.js +6 -0
- package/dist/icons/layout/list_filled.js +11 -0
- package/dist/icons/layout/padding.js +6 -0
- package/dist/icons/layout/page_break.js +6 -0
- package/dist/icons/layout/rotate_left.js +6 -0
- package/dist/icons/layout/rotate_right.js +6 -0
- package/dist/icons/layout/ruler.js +6 -0
- package/dist/icons/layout/segment.js +6 -0
- package/dist/icons/layout/select_area.js +6 -0
- package/dist/icons/layout/select_boundary.js +6 -0
- package/dist/icons/layout/sidebar_left.js +6 -0
- package/dist/icons/layout/sidebar_right.js +6 -0
- package/dist/icons/layout/slides.js +6 -0
- package/dist/icons/layout/slides_horizontal.js +6 -0
- package/dist/icons/layout/slides_vertical.js +11 -0
- package/dist/icons/layout/stack.js +6 -0
- package/dist/icons/layout/text.js +6 -0
- package/dist/icons/maps/atlas.js +6 -0
- package/dist/icons/maps/compass.js +6 -0
- package/dist/icons/maps/direction.js +6 -0
- package/dist/icons/maps/direction_angled.js +6 -0
- package/dist/icons/maps/globe.js +6 -0
- package/dist/icons/maps/globe_slash.js +6 -0
- package/dist/icons/maps/index.js +22 -0
- package/dist/icons/maps/location.js +6 -0
- package/dist/icons/maps/location_slash.js +6 -0
- package/dist/icons/maps/map.js +6 -0
- package/dist/icons/maps/marker.js +6 -0
- package/dist/icons/maps/panorama.js +6 -0
- package/dist/icons/maps/pin.js +6 -0
- package/dist/icons/maps/pin_arrow.js +6 -0
- package/dist/icons/maps/pin_location.js +6 -0
- package/dist/icons/maps/pin_plus.js +6 -0
- package/dist/icons/maps/pin_question.js +6 -0
- package/dist/icons/maps/pin_slash.js +6 -0
- package/dist/icons/maps/push_pin.js +6 -0
- package/dist/icons/maps/push_pin_filled.js +6 -0
- package/dist/icons/maps/push_pin_slash.js +6 -0
- package/dist/icons/maps/radar.js +6 -0
- package/dist/icons/maps/route.js +6 -0
- package/dist/icons/message/bubble.js +6 -0
- package/dist/icons/message/bubble_question.js +6 -0
- package/dist/icons/message/comment.js +6 -0
- package/dist/icons/message/comment_add.js +6 -0
- package/dist/icons/message/comment_check.js +6 -0
- package/dist/icons/message/comment_close.js +6 -0
- package/dist/icons/message/comment_minus.js +6 -0
- package/dist/icons/message/comment_text.js +6 -0
- package/dist/icons/message/index.js +8 -0
- package/dist/icons/misc/advertisement.js +6 -0
- package/dist/icons/misc/atom.js +6 -0
- package/dist/icons/misc/bone.js +6 -0
- package/dist/icons/misc/brightness_high.js +6 -0
- package/dist/icons/misc/brightness_low.js +6 -0
- package/dist/icons/misc/contrast.js +6 -0
- package/dist/icons/misc/crosshairs.js +6 -0
- package/dist/icons/misc/crown.js +6 -0
- package/dist/icons/misc/footprint.js +6 -0
- package/dist/icons/misc/form.js +6 -0
- package/dist/icons/misc/funnel.js +6 -0
- package/dist/icons/misc/index.js +25 -0
- package/dist/icons/misc/infinite.js +6 -0
- package/dist/icons/misc/insert_button.js +6 -0
- package/dist/icons/misc/light_bulb.js +6 -0
- package/dist/icons/misc/moon.js +6 -0
- package/dist/icons/misc/nut.js +6 -0
- package/dist/icons/misc/planet.js +6 -0
- package/dist/icons/misc/plus_thick.js +6 -0
- package/dist/icons/misc/pocket.js +6 -0
- package/dist/icons/misc/rocket.js +6 -0
- package/dist/icons/misc/soup.js +10 -0
- package/dist/icons/misc/sun.js +6 -0
- package/dist/icons/misc/toy_horse.js +6 -0
- package/dist/icons/misc/trophy.js +6 -0
- package/dist/icons/misc/watercloset.js +6 -0
- package/dist/icons/notifications/alert_circle.js +6 -0
- package/dist/icons/notifications/alert_octogon.js +6 -0
- package/dist/icons/notifications/alert_triangle.js +6 -0
- package/dist/icons/notifications/app_notification.js +6 -0
- package/dist/icons/notifications/bell.js +6 -0
- package/dist/icons/notifications/bell_alert.js +6 -0
- package/dist/icons/notifications/bell_checkmark.js +6 -0
- package/dist/icons/notifications/bell_minus.js +6 -0
- package/dist/icons/notifications/bell_plus.js +6 -0
- package/dist/icons/notifications/bell_ring.js +8 -0
- package/dist/icons/notifications/bell_slash.js +6 -0
- package/dist/icons/notifications/close_octogon.js +6 -0
- package/dist/icons/notifications/index.js +14 -0
- package/dist/icons/notifications/information.js +6 -0
- package/dist/icons/notifications/minus_octogon.js +6 -0
- package/dist/icons/notifications/question_circle.js +6 -0
- package/dist/icons/people/group.js +6 -0
- package/dist/icons/people/group_add.js +6 -0
- package/dist/icons/people/group_remove.js +6 -0
- package/dist/icons/people/groups.js +6 -0
- package/dist/icons/people/index.js +9 -0
- package/dist/icons/people/person.js +6 -0
- package/dist/icons/people/person_add.js +6 -0
- package/dist/icons/people/person_checkmark.js +6 -0
- package/dist/icons/people/person_circle.js +8 -0
- package/dist/icons/people/person_remove.js +6 -0
- package/dist/icons/phone/index.js +14 -0
- package/dist/icons/phone/keypad.js +6 -0
- package/dist/icons/phone/phone.js +6 -0
- package/dist/icons/phone/phone_add.js +6 -0
- package/dist/icons/phone/phone_calling.js +6 -0
- package/dist/icons/phone/phone_check.js +6 -0
- package/dist/icons/phone/phone_close.js +6 -0
- package/dist/icons/phone/phone_decline.js +6 -0
- package/dist/icons/phone/phone_end.js +6 -0
- package/dist/icons/phone/phone_forwarded.js +6 -0
- package/dist/icons/phone/phone_hash.js +6 -0
- package/dist/icons/phone/phone_incoming.js +6 -0
- package/dist/icons/phone/phone_missed.js +6 -0
- package/dist/icons/phone/phone_outgoing.js +6 -0
- package/dist/icons/phone/phone_pause.js +6 -0
- package/dist/icons/phone/phone_slash.js +6 -0
- package/dist/icons/phone/voicemail.js +6 -0
- package/dist/icons/security/index.js +11 -0
- package/dist/icons/security/key.js +6 -0
- package/dist/icons/security/key_slash.js +6 -0
- package/dist/icons/security/lock.js +6 -0
- package/dist/icons/security/lock_circle.js +6 -0
- package/dist/icons/security/lock_open.js +6 -0
- package/dist/icons/security/lock_slash.js +6 -0
- package/dist/icons/security/shield.js +6 -0
- package/dist/icons/security/shield_checkmark.js +6 -0
- package/dist/icons/security/shield_lock.js +6 -0
- package/dist/icons/security/shield_slash.js +6 -0
- package/dist/icons/security/verified.js +6 -0
- package/dist/icons/shopping/basket.js +6 -0
- package/dist/icons/shopping/cart.js +6 -0
- package/dist/icons/shopping/coupon.js +6 -0
- package/dist/icons/shopping/coupon_cut.js +6 -0
- package/dist/icons/shopping/delivery.js +6 -0
- package/dist/icons/shopping/discount.js +6 -0
- package/dist/icons/shopping/gift.js +6 -0
- package/dist/icons/shopping/gift_bag.js +6 -0
- package/dist/icons/shopping/index.js +14 -0
- package/dist/icons/shopping/inventory.js +6 -0
- package/dist/icons/shopping/point_of_sale.js +6 -0
- package/dist/icons/shopping/shirt.js +6 -0
- package/dist/icons/shopping/tag.js +6 -0
- package/dist/icons/shopping/tag_diagonal.js +6 -0
- package/dist/icons/shopping/tote.js +6 -0
- package/dist/icons/special/index.js +4 -0
- package/dist/icons/special/upload_audio.js +11 -0
- package/dist/icons/special/upload_file.js +6 -0
- package/dist/icons/special/upload_image.js +8 -0
- package/dist/icons/special/upload_video.js +9 -0
- package/dist/icons/symbols/at.js +6 -0
- package/dist/icons/symbols/cc.js +6 -0
- package/dist/icons/symbols/cmd.js +6 -0
- package/dist/icons/symbols/facebook.js +6 -0
- package/dist/icons/symbols/google.js +9 -0
- package/dist/icons/symbols/hash.js +6 -0
- package/dist/icons/symbols/index.js +9 -0
- package/dist/icons/symbols/instagram.js +18 -0
- package/dist/icons/symbols/messenger.js +12 -0
- package/dist/icons/symbols/twitter.js +6 -0
- package/dist/icons/technology/battery.js +6 -0
- package/dist/icons/technology/battery_100.js +6 -0
- package/dist/icons/technology/battery_20.js +6 -0
- package/dist/icons/technology/battery_40.js +6 -0
- package/dist/icons/technology/battery_60.js +6 -0
- package/dist/icons/technology/battery_80.js +6 -0
- package/dist/icons/technology/battery_charging.js +6 -0
- package/dist/icons/technology/battery_slash.js +6 -0
- package/dist/icons/technology/devices.js +6 -0
- package/dist/icons/technology/floppy_disk.js +6 -0
- package/dist/icons/technology/index.js +17 -0
- package/dist/icons/technology/iphone.js +6 -0
- package/dist/icons/technology/laptop.js +6 -0
- package/dist/icons/technology/mobile.js +6 -0
- package/dist/icons/technology/monitor.js +6 -0
- package/dist/icons/technology/server.js +6 -0
- package/dist/icons/technology/sim_card.js +6 -0
- package/dist/icons/technology/usb_stick.js +6 -0
- package/dist/icons/text/align_center.js +6 -0
- package/dist/icons/text/align_justified.js +6 -0
- package/dist/icons/text/align_left.js +6 -0
- package/dist/icons/text/align_right.js +6 -0
- package/dist/icons/text/indent_decrease.js +6 -0
- package/dist/icons/text/indent_increase.js +6 -0
- package/dist/icons/text/index.js +10 -0
- package/dist/icons/text/list_ordered.js +6 -0
- package/dist/icons/text/list_unordered.js +6 -0
- package/dist/icons/text/quote.js +6 -0
- package/dist/icons/text/table.js +6 -0
- package/dist/icons/time/alarm.js +6 -0
- package/dist/icons/time/alarm_checkmark.js +6 -0
- package/dist/icons/time/alarm_minus.js +6 -0
- package/dist/icons/time/alarm_plus.js +6 -0
- package/dist/icons/time/alarm_slash.js +6 -0
- package/dist/icons/time/alarm_snooze.js +6 -0
- package/dist/icons/time/calendar.js +6 -0
- package/dist/icons/time/calendar_add.js +6 -0
- package/dist/icons/time/calendar_checkmark.js +6 -0
- package/dist/icons/time/calendar_close.js +6 -0
- package/dist/icons/time/calendar_dates.js +6 -0
- package/dist/icons/time/calendar_minus.js +6 -0
- package/dist/icons/time/calendar_plus.js +6 -0
- package/dist/icons/time/calendar_scroll.js +8 -0
- package/dist/icons/time/clock.js +6 -0
- package/dist/icons/time/clock_history.js +6 -0
- package/dist/icons/time/index.js +19 -0
- package/dist/icons/time/stopwatch.js +6 -0
- package/dist/icons/time/timer.js +6 -0
- package/dist/icons/time/watch.js +6 -0
- package/dist/index.js +3 -0
- package/dist/types/attributes.js +1 -0
- package/dist/types/index.js +1 -0
- package/dist/utils/date.js +98 -0
- package/dist/utils/function.js +1 -0
- package/dist/utils/index.js +2 -0
- package/package.json +5 -4
- package/src/components/editor/editor.tsx +4 -0
- package/src/components/editor/plugins/text.tsx +16 -7
- package/tsconfig.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Monitor = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.99935 12.6667V13.3334H4.66602V14.6667H11.3327V13.3334H9.99935V12.6667H13.9993C14.7357 12.6667 15.3327 12.0698 15.3327 11.3334V2.66671C15.3327 1.93033 14.7357 1.33337 13.9993 1.33337H1.99935C1.26297 1.33337 0.666016 1.93033 0.666016 2.66671V11.3334C0.666016 12.0698 1.26297 12.6667 1.99935 12.6667H5.99935ZM13.9993 11.3334H1.99935V2.66671H13.9993V11.3334Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Server = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.334 1.33337H2.66732C1.93094 1.33337 1.33398 1.93033 1.33398 2.66671V5.33337V10.6667V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V10.6667V5.33337V2.66671C14.6673 1.93033 14.0704 1.33337 13.334 1.33337ZM2.66732 13.3334V10.6667H13.334V13.3334H2.66732ZM2.66732 5.33337H13.334V2.66671H2.66732V5.33337ZM2.66732 9.33337V6.66671H13.334V9.33337H2.66732ZM5.33398 7.33337H10.0007V8.66671H5.33398V7.33337ZM12.0007 4.00004C12.0007 4.36823 11.7022 4.66671 11.334 4.66671C10.9658 4.66671 10.6673 4.36823 10.6673 4.00004C10.6673 3.63185 10.9658 3.33337 11.334 3.33337C11.7022 3.33337 12.0007 3.63185 12.0007 4.00004ZM11.334 8.66671C11.7022 8.66671 12.0007 8.36823 12.0007 8.00004C12.0007 7.63185 11.7022 7.33337 11.334 7.33337C10.9658 7.33337 10.6673 7.63185 10.6673 8.00004C10.6673 8.36823 10.9658 8.66671 11.334 8.66671ZM12.0007 12C12.0007 12.3682 11.7022 12.6667 11.334 12.6667C10.9658 12.6667 10.6673 12.3682 10.6673 12C10.6673 11.6319 10.9658 11.3334 11.334 11.3334C11.7022 11.3334 12.0007 11.6319 12.0007 12Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const SimCard = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12.6667 0.666626H5.72386L2 4.39048V14C2 14.7363 2.59695 15.3333 3.33333 15.3333H12.6667C13.403 15.3333 14 14.7363 14 14V1.99996C14 1.26358 13.403 0.666626 12.6667 0.666626ZM3.33333 14V4.94277L6.27614 1.99996H12.6667V14H3.33333ZM10.6667 2.66663H12V6.66663H10.6667V2.66663ZM10 2.66663H8.66667V6.66663H10V2.66663ZM6.66667 2.66663H8V6.66663H6.66667V2.66663ZM6 4.66663H4.66667V7.33329H6V4.66663Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const USBStick = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.666016 11.3334H5.33268V12.6667H11.9993C13.8403 12.6667 15.3327 11.1743 15.3327 9.33337V6.66671C15.3327 4.82576 13.8403 3.33337 11.9993 3.33337H5.33268V4.66671H0.666016V11.3334ZM11.9993 11.3334H6.66602V4.66671H11.9993C13.1039 4.66671 13.9993 5.56214 13.9993 6.66671V9.33337C13.9993 10.4379 13.1039 11.3334 11.9993 11.3334ZM1.99935 6.00004V10H5.33268V6.00004H1.99935ZM4.66602 7.33337H2.66602V8.66671H4.66602V7.33337Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlignCenter = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6673 4.66671V3.33337H1.33398V4.66671H14.6673ZM12.6673 6.00004V7.33337H3.33398V6.00004H12.6673ZM14.6673 10V8.66671H1.33398V10H14.6673ZM12.6673 12.6667V11.3334H3.33398V12.6667H12.6673Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlignJustified = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6673 4.66671V3.33337H1.33398V4.66671H14.6673ZM14.6673 6.00004V7.33337H1.33398V6.00004H14.6673ZM14.6673 10V8.66671H1.33398V10H14.6673ZM14.6673 12.6667V11.3334H1.33398V12.6667H14.6673Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlignLeft = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6673 4.66671V3.33337H1.33398V4.66671H14.6673ZM10.6673 6.00004V7.33337H1.33398V6.00004H10.6673ZM14.6673 10V8.66671H1.33398V10H14.6673ZM10.6673 12.6667V11.3334H1.33398V12.6667H10.6673Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlignRight = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.6673 4.66671V3.33337H1.33398V4.66671H14.6673ZM14.6673 6.00004V7.33337H5.33398V6.00004H14.6673ZM14.6673 10V8.66671H1.33398V10H14.6673ZM14.6673 12.6667V11.3334H5.33398V12.6667H14.6673Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const IndentDecrease = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { d: "M3.33398 5.99996V10.6666L1.33398 8.33329L3.33398 5.99996ZM1.33398 14H14.6673V12.6666H1.33398V14ZM1.33398 3.99996H14.6673V2.66663H1.33398V3.99996ZM5.33398 7.33329H14.6673V5.99996H5.33398V7.33329ZM5.33398 10.6666H14.6673V9.33329H5.33398V10.6666Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const IndentIncrease = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { d: "M1.33398 6.00004V10L3.33398 8.00004L1.33398 6.00004ZM1.33398 12.6667H14.6673V11.3334H1.33398V12.6667ZM1.33398 4.66671H14.6673V3.33337H1.33398V4.66671ZM5.33398 7.33337H14.6673V6.00004H5.33398V7.33337ZM5.33398 10H14.6673V8.66671H5.33398V10Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { AlignCenter } from './align_center';
|
|
2
|
+
export { AlignJustified } from './align_justified';
|
|
3
|
+
export { AlignLeft } from './align_left';
|
|
4
|
+
export { AlignRight } from './align_right';
|
|
5
|
+
export { IndentDecrease } from './indent_decrease';
|
|
6
|
+
export { IndentIncrease } from './indent_increase';
|
|
7
|
+
export { ListOrdered } from './list_ordered';
|
|
8
|
+
export { ListUnordered } from './list_unordered';
|
|
9
|
+
export { Quote } from './quote';
|
|
10
|
+
export { Table } from './table';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const ListOrdered = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { d: "M5.33398 12.6667V11.3334H14.6673V12.6667H5.33398ZM1.33398 12.6667V11.3334L2.66732 10H1.33398V8.66673L4.00065 8.66671V10L2.66732 11.3334H4.00065V12.6667L1.33398 12.6667ZM5.33398 8.66673V7.3334H14.6673V8.66673H5.33398ZM2.66732 7.33335V4.66671L1.33398 4.66673V3.33337H4.00065V7.33337L2.66732 7.33335ZM5.33398 4.66673V3.3334H14.6673V4.66673H5.33398Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const ListUnordered = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.33398 3.99996C1.33398 4.73634 1.93094 5.33329 2.66732 5.33329C3.4037 5.33329 4.00065 4.73634 4.00065 3.99996C4.00065 3.26358 3.4037 2.66663 2.66732 2.66663C1.93094 2.66663 1.33398 3.26358 1.33398 3.99996ZM14.6673 3.33329V4.66663H5.33398V3.33329H14.6673ZM14.6673 8.66663V7.33329H5.33398V8.66663H14.6673ZM14.6673 12.6666V11.3333H5.33398V12.6666H14.6673ZM1.33398 12C1.33398 12.7363 1.93094 13.3333 2.66732 13.3333C3.4037 13.3333 4.00065 12.7363 4.00065 12C4.00065 11.2636 3.4037 10.6666 2.66732 10.6666C1.93094 10.6666 1.33398 11.2636 1.33398 12ZM2.66732 9.33329C1.93094 9.33329 1.33398 8.73634 1.33398 7.99996C1.33398 7.26358 1.93094 6.66663 2.66732 6.66663C3.4037 6.66663 4.00065 7.26358 4.00065 7.99996C4.00065 8.73634 3.4037 9.33329 2.66732 9.33329Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Quote = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { d: "M9.99935 7.33333H11.9993V5.33333H9.99935V7.33333ZM3.99935 7.33333H5.99935V5.33333H3.99935V7.33333ZM9.99935 11.3333L11.3327 8.66667H8.66602V4H13.3327V8.66667L11.9993 11.3333H9.99935ZM3.99935 11.3333L5.33268 8.66667H2.66602V4H7.33268V8.66667L5.99935 11.3333H3.99935Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Table = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.99935 2.66663H13.9993C14.7357 2.66663 15.3327 3.26358 15.3327 3.99996V12.6666C15.3327 13.403 14.7357 14 13.9993 14H5.99935H4.66602H1.99935C1.26297 14 0.666016 13.403 0.666016 12.6666V3.99996C0.666016 3.26358 1.26297 2.66663 1.99935 2.66663H4.66602H5.99935ZM4.66602 3.99996H1.99935V5.99996H4.66602V3.99996ZM5.99935 5.99996V3.99996H13.9993V5.99996H5.99935ZM4.66602 7.33329H1.99935V9.33329H4.66602V7.33329ZM5.99935 9.33329V7.33329H13.9993V9.33329H5.99935ZM4.66602 10.6666H1.99935V12.6666H4.66602V10.6666ZM5.99935 12.6666V10.6666H13.9993V12.6666H5.99935Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Alarm = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.13747 1.80475L3.19466 0.861938L0.861328 3.19527L1.80414 4.13808L4.13747 1.80475ZM11.8613 1.80475L12.8041 0.861938L15.1375 3.19527L14.1947 4.13808L11.8613 1.80475ZM7.9994 14.6667C4.3175 14.6667 1.33273 11.6819 1.33273 8.00001C1.33273 4.31811 4.3175 1.33334 7.9994 1.33334C11.6813 1.33334 14.6661 4.31811 14.6661 8.00001C14.6661 11.6819 11.6813 14.6667 7.9994 14.6667ZM7.9994 13.3333C10.9449 13.3333 13.3327 10.9455 13.3327 8.00001C13.3327 5.05449 10.9449 2.66668 7.9994 2.66668C5.05388 2.66668 2.66607 5.05449 2.66607 8.00001C2.66607 10.9455 5.05388 13.3333 7.9994 13.3333ZM11.3327 7.33334H8.66607V4.00001H7.33273V8.66668H11.3327V7.33334Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlarmCheckmark = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.19466 0.861938L4.13747 1.80475L1.80414 4.13808L0.861328 3.19527L3.19466 0.861938ZM12.8041 0.861938L11.8613 1.80475L14.1947 4.13808L15.1375 3.19527L12.8041 0.861938ZM7.9994 14.6667C4.3175 14.6667 1.33273 11.6819 1.33273 8.00001C1.33273 4.31811 4.3175 1.33334 7.9994 1.33334C11.6813 1.33334 14.6661 4.31811 14.6661 8.00001C14.6661 11.6819 11.6813 14.6667 7.9994 14.6667ZM7.9994 13.3333C10.9449 13.3333 13.3327 10.9455 13.3327 8.00001C13.3327 5.05449 10.9449 2.66668 7.9994 2.66668C5.05388 2.66668 2.66607 5.05449 2.66607 8.00001C2.66607 10.9455 5.05388 13.3333 7.9994 13.3333ZM10.1947 5.52861L7.33273 8.39053L5.80414 6.86194L4.86133 7.80475L7.33273 10.2762L11.1375 6.47141L10.1947 5.52861Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlarmMinus = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.19466 0.861938L4.13747 1.80475L1.80414 4.13808L0.861328 3.19527L3.19466 0.861938ZM12.8041 0.861938L11.8613 1.80475L14.1947 4.13808L15.1375 3.19527L12.8041 0.861938ZM7.9994 14.6667C4.3175 14.6667 1.33273 11.6819 1.33273 8.00001C1.33273 4.31811 4.3175 1.33334 7.9994 1.33334C11.6813 1.33334 14.6661 4.31811 14.6661 8.00001C14.6661 11.6819 11.6813 14.6667 7.9994 14.6667ZM7.9994 13.3333C10.9449 13.3333 13.3327 10.9455 13.3327 8.00001C13.3327 5.05449 10.9449 2.66668 7.9994 2.66668C5.05388 2.66668 2.66607 5.05449 2.66607 8.00001C2.66607 10.9455 5.05388 13.3333 7.9994 13.3333ZM5.33273 7.33334V8.66668H10.6661V7.33334H5.33273Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlarmPlus = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.13747 1.80475L3.19466 0.861938L0.861328 3.19527L1.80414 4.13808L4.13747 1.80475ZM11.8613 1.80475L12.8041 0.861938L15.1375 3.19527L14.1947 4.13808L11.8613 1.80475ZM1.33273 8.00001C1.33273 11.6819 4.3175 14.6667 7.9994 14.6667C11.6813 14.6667 14.6661 11.6819 14.6661 8.00001C14.6661 4.31811 11.6813 1.33334 7.9994 1.33334C4.3175 1.33334 1.33273 4.31811 1.33273 8.00001ZM13.3327 8.00001C13.3327 10.9455 10.9449 13.3333 7.9994 13.3333C5.05388 13.3333 2.66607 10.9455 2.66607 8.00001C2.66607 5.05449 5.05388 2.66668 7.9994 2.66668C10.9449 2.66668 13.3327 5.05449 13.3327 8.00001ZM7.33273 8.66668H5.33273V7.33334H7.33273V5.33334H8.66607V7.33334H10.6661V8.66668H8.66607V10.6667H7.33273V8.66668Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlarmSlash = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.55659 2.50001L0.861328 3.19527L1.80414 4.13808L2.4994 3.44282L2.83744 3.78085C1.89698 4.9301 1.33273 6.39916 1.33273 8.00001C1.33273 11.6819 4.3175 14.6667 7.9994 14.6667C9.60025 14.6667 11.0693 14.1024 12.2186 13.162L14.1947 15.1381L15.1375 14.1953L1.80414 0.861938L0.861328 1.80475L1.55659 2.50001ZM11.2698 12.2132L3.78616 4.72958C3.08412 5.6327 2.66607 6.76754 2.66607 8.00001C2.66607 10.9455 5.05388 13.3333 7.9994 13.3333C9.23187 13.3333 10.3667 12.9153 11.2698 12.2132ZM13.3327 8.00001C13.3327 8.74416 13.1803 9.45271 12.905 10.0962L13.905 11.0962C14.3911 10.171 14.6661 9.11762 14.6661 8.00001C14.6661 4.31811 11.6813 1.33334 7.9994 1.33334C6.88179 1.33334 5.82842 1.60835 4.90325 2.09439L5.90325 3.09438C6.54669 2.81908 7.25525 2.66668 7.9994 2.66668C10.9449 2.66668 13.3327 5.05449 13.3327 8.00001ZM11.8613 1.80475L12.8041 0.861938L15.1375 3.19527L14.1947 4.13808L11.8613 1.80475Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const AlarmSnooze = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.19466 0.861938L4.13747 1.80475L1.80414 4.13808L0.861328 3.19527L3.19466 0.861938ZM12.8041 0.861938L11.8613 1.80475L14.1947 4.13808L15.1375 3.19527L12.8041 0.861938ZM7.9994 14.6667C4.3175 14.6667 1.33273 11.6819 1.33273 8.00001C1.33273 4.31811 4.3175 1.33334 7.9994 1.33334C11.6813 1.33334 14.6661 4.31811 14.6661 8.00001C14.6661 11.6819 11.6813 14.6667 7.9994 14.6667ZM7.9994 13.3333C10.9449 13.3333 13.3327 10.9455 13.3327 8.00001C13.3327 5.05449 10.9449 2.66668 7.9994 2.66668C5.05388 2.66668 2.66607 5.05449 2.66607 8.00001C2.66607 10.9455 5.05388 13.3333 7.9994 13.3333ZM5.9994 5.33334V6.66668H8.08706L5.42039 10.6667H9.9994V9.33334H7.91174L10.5784 5.33334H5.9994Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Calendar = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.00065 4.00004H5.33398V3.33337H10.6673V4.00004H12.0007V3.33337H13.334V5.33337H2.66732V3.33337H4.00065V4.00004ZM2.66732 6.66671V13.3334H13.334V6.66671H2.66732ZM5.33398 2.00004H10.6673V1.33337H12.0007V2.00004H13.334C14.0704 2.00004 14.6673 2.59699 14.6673 3.33337V13.3334C14.6673 14.0698 14.0704 14.6667 13.334 14.6667H2.66732C1.93094 14.6667 1.33398 14.0698 1.33398 13.3334V3.33337C1.33398 2.59699 1.93094 2.00004 2.66732 2.00004H4.00065V1.33337H5.33398V2.00004Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarAdd = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.00065 4.00004H5.33398V3.33337H10.6673V4.00004H12.0007V3.33337H13.334V5.33337H2.66732V3.33337H4.00065V4.00004ZM2.66732 6.66671V13.3334H9.33398V14.6667H2.66732C1.93094 14.6667 1.33398 14.0698 1.33398 13.3334V3.33337C1.33398 2.59699 1.93094 2.00004 2.66732 2.00004H4.00065V1.33337H5.33398V2.00004H10.6673V1.33337H12.0007V2.00004H13.334C14.0704 2.00004 14.6673 2.59699 14.6673 3.33337V9.33337H13.334V6.66671H2.66732ZM11.334 14V12.6667H12.6673V11.3334H14.0007V12.6667H15.334V14H14.0007V15.3334H12.6673V14H11.334Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarCheckmark = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.33398 4.00004H4.00065V3.33337H2.66732V5.33337H13.334V3.33337H12.0007V4.00004H10.6673V3.33337H5.33398V4.00004ZM2.66732 13.3334V6.66671H13.334V13.3334H2.66732ZM10.6673 2.00004H5.33398V1.33337H4.00065V2.00004H2.66732C1.93094 2.00004 1.33398 2.59699 1.33398 3.33337V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V3.33337C14.6673 2.59699 14.0704 2.00004 13.334 2.00004H12.0007V1.33337H10.6673V2.00004ZM10.1959 7.52864L7.33398 10.3906L5.80539 8.86197L4.86258 9.80478L7.33398 12.2762L11.1387 8.47145L10.1959 7.52864Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarClose = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.33398 4.00004H4.00065V3.33337H2.66732V5.33337H13.334V3.33337H12.0007V4.00004H10.6673V3.33337H5.33398V4.00004ZM2.66732 13.3334V6.66671H13.334V13.3334H2.66732ZM10.6673 2.00004H5.33398V1.33337H4.00065V2.00004H2.66732C1.93094 2.00004 1.33398 2.59699 1.33398 3.33337V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V3.33337C14.6673 2.59699 14.0704 2.00004 13.334 2.00004H12.0007V1.33337H10.6673V2.00004ZM9.52925 7.52864L8.00065 9.05723L6.47206 7.52864L5.52925 8.47145L7.05784 10L5.52925 11.5286L6.47206 12.4714L8.00065 10.9428L9.52925 12.4714L10.4721 11.5286L8.94346 10L10.4721 8.47145L9.52925 7.52864Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarDates = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.33398 4.00004H4.00065V3.33337H2.66732V5.33337H13.334V3.33337H12.0007V4.00004H10.6673V3.33337H5.33398V4.00004ZM13.334 6.66671H2.66732V13.3334H13.334V6.66671ZM10.6673 2.00004H5.33398V1.33337H4.00065V2.00004H2.66732C1.93094 2.00004 1.33398 2.59699 1.33398 3.33337V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V3.33337C14.6673 2.59699 14.0704 2.00004 13.334 2.00004H12.0007V1.33337H10.6673V2.00004ZM4.66732 9.33337V8.00004H6.00065V9.33337H4.66732ZM7.33398 9.33337H8.66732V8.00004H7.33398V9.33337ZM11.334 9.33337H10.0007V8.00004H11.334V9.33337ZM4.66732 10.6667V12H6.00065V10.6667H4.66732ZM8.66732 12H7.33398V10.6667H8.66732V12Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarMinus = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.33398 4.00004H4.00065V3.33337H2.66732V5.33337H13.334V3.33337H12.0007V4.00004H10.6673V3.33337H5.33398V4.00004ZM2.66732 13.3334V6.66671H13.334V13.3334H2.66732ZM10.6673 2.00004H5.33398V1.33337H4.00065V2.00004H2.66732C1.93094 2.00004 1.33398 2.59699 1.33398 3.33337V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V3.33337C14.6673 2.59699 14.0704 2.00004 13.334 2.00004H12.0007V1.33337H10.6673V2.00004ZM5.33398 9.33337V10.6667H10.6673V9.33337H5.33398Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarPlus = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.00065 4.00004H5.33398V3.33337H10.6673V4.00004H12.0007V3.33337H13.334V5.33337H2.66732V3.33337H4.00065V4.00004ZM2.66732 6.66671V13.3334H13.334V6.66671H2.66732ZM5.33398 2.00004H10.6673V1.33337H12.0007V2.00004H13.334C14.0704 2.00004 14.6673 2.59699 14.6673 3.33337V13.3334C14.6673 14.0698 14.0704 14.6667 13.334 14.6667H2.66732C1.93094 14.6667 1.33398 14.0698 1.33398 13.3334V3.33337C1.33398 2.59699 1.93094 2.00004 2.66732 2.00004H4.00065V1.33337H5.33398V2.00004ZM5.33398 10.6667V9.33337H7.33398V7.33337H8.66732V9.33337H10.6673V10.6667H8.66732V12.6667H7.33398V10.6667H5.33398Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const CalendarScroll = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { d: "M6.35937 11.0666L8.00097 12.7086L9.64257 11.0666L8.95097 10.3834L8.00097 11.3334L7.05097 10.3834L6.35937 11.0666Z" }),
|
|
6
|
+
React.createElement("path", { d: "M6.35937 8.93347L7.05097 9.61667L8.00097 8.66667L8.95097 9.61667L9.64257 8.93347L8.00097 7.29187L6.35937 8.93347Z" }),
|
|
7
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.6673 2.00004H5.33398V1.33337H4.00065V2.00004H2.66732C1.93094 2.00004 1.33398 2.59699 1.33398 3.33337V13.3334C1.33398 14.0698 1.93094 14.6667 2.66732 14.6667H13.334C14.0704 14.6667 14.6673 14.0698 14.6673 13.3334V3.33337C14.6673 2.59699 14.0704 2.00004 13.334 2.00004H12.0007V1.33337H10.6673V2.00004ZM5.33398 4.00004H4.00065V3.33337H2.66732V5.33337H13.334V3.33337H12.0007V4.00004H10.6673V3.33337H5.33398V4.00004ZM2.66732 13.3334V6.66671H13.334V13.3334H2.66732Z" })));
|
|
8
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Clock = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.99935 15.3333C3.94926 15.3333 0.666016 12.05 0.666016 7.99996C0.666016 3.94987 3.94926 0.666626 7.99935 0.666626C12.0494 0.666626 15.3327 3.94987 15.3327 7.99996C15.3327 12.05 12.0494 15.3333 7.99935 15.3333ZM7.99935 14C11.3131 14 13.9993 11.3137 13.9993 7.99996C13.9993 4.68625 11.3131 1.99996 7.99935 1.99996C4.68564 1.99996 1.99935 4.68625 1.99935 7.99996C1.99935 11.3137 4.68564 14 7.99935 14ZM11.3327 7.33329H8.66602V3.99996H7.33268V8.66663H11.3327V7.33329Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const ClockHistory = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.33268 3.99996H3.40874C4.69579 2.52754 6.10549 1.99996 7.99935 1.99996C11.3131 1.99996 13.9993 4.68625 13.9993 7.99996C13.9993 11.3137 11.3131 14 7.99935 14C4.68564 14 1.99935 11.3137 1.99935 7.99996H0.666016C0.666016 12.05 3.94926 15.3333 7.99935 15.3333C12.0494 15.3333 15.3327 12.05 15.3327 7.99996C15.3327 3.94987 12.0494 0.666626 7.99935 0.666626C5.8571 0.666626 4.1574 1.27366 2.66602 2.83759V1.32743H1.33268V5.33329H5.33268V3.99996ZM11.3327 7.33329H8.66602V3.99996H7.33268V8.66663H11.3327V7.33329Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { Alarm } from './alarm';
|
|
2
|
+
export { AlarmCheckmark } from './alarm_checkmark';
|
|
3
|
+
export { AlarmMinus } from './alarm_minus';
|
|
4
|
+
export { AlarmPlus } from './alarm_plus';
|
|
5
|
+
export { AlarmSlash } from './alarm_slash';
|
|
6
|
+
export { AlarmSnooze } from './alarm_snooze';
|
|
7
|
+
export { Calendar } from './calendar';
|
|
8
|
+
export { CalendarAdd } from './calendar_add';
|
|
9
|
+
export { CalendarCheckmark } from './calendar_checkmark';
|
|
10
|
+
export { CalendarClose } from './calendar_close';
|
|
11
|
+
export { CalendarDates } from './calendar_dates';
|
|
12
|
+
export { CalendarMinus } from './calendar_minus';
|
|
13
|
+
export { CalendarPlus } from './calendar_plus';
|
|
14
|
+
export { CalendarScroll } from './calendar_scroll';
|
|
15
|
+
export { Clock } from './clock';
|
|
16
|
+
export { ClockHistory } from './clock_history';
|
|
17
|
+
export { Stopwatch } from './stopwatch';
|
|
18
|
+
export { Timer } from './timer';
|
|
19
|
+
export { Watch } from './watch';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Stopwatch = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.33333 2.70325V1.99996H6.66667V0.666626H9.33333V1.99996H8.66667V2.70325C9.82367 2.83115 10.8815 3.28802 11.7446 3.97827L12.8609 2.85706L13.8058 3.7978L12.6875 4.92098C13.5089 5.9475 14 7.24971 14 8.66663C14 11.9803 11.3137 14.6666 8 14.6666C4.68629 14.6666 2 11.9803 2 8.66663C2 5.57826 4.33337 3.03487 7.33333 2.70325ZM8 13.3333C10.5773 13.3333 12.6667 11.244 12.6667 8.66663C12.6667 6.0893 10.5773 3.99996 8 3.99996C5.42267 3.99996 3.33333 6.0893 3.33333 8.66663C3.33333 11.244 5.42267 13.3333 8 13.3333ZM8.66667 9.33329V5.33329H7.33333V9.33329H8.66667Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Timer = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.66602 4.66663V2.03658C11.666 2.36821 13.9993 4.91159 13.9993 7.99996C13.9993 11.3137 11.3131 14 7.99935 14C4.68564 14 1.99935 11.3137 1.99935 7.99996C1.99935 6.38247 2.64146 4.8684 3.76468 3.74936L2.82363 2.8048C1.45178 4.17155 0.666016 6.02434 0.666016 7.99996C0.666016 12.05 3.94926 15.3333 7.99935 15.3333C12.0494 15.3333 15.3327 12.05 15.3327 7.99996C15.3327 3.94987 12.0494 0.666626 7.99935 0.666626H7.33268V4.66663H8.66602ZM7.99935 6.66663C7.87991 6.66663 7.76414 6.68233 7.65399 6.71179L5.13742 4.19522L4.19461 5.13803L6.71118 7.6546C6.68172 7.76475 6.66602 7.88052 6.66602 7.99996C6.66602 8.73634 7.26297 9.33329 7.99935 9.33329C8.73573 9.33329 9.33268 8.73634 9.33268 7.99996C9.33268 7.26358 8.73573 6.66663 7.99935 6.66663Z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon } from 'components';
|
|
3
|
+
export const Watch = (props) => {
|
|
4
|
+
return (React.createElement(Icon, { ...props },
|
|
5
|
+
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.99935 0.666626H5.99935C5.7017 0.666626 5.4401 0.863944 5.35833 1.15015L4.56779 3.91705C3.40496 4.89539 2.66602 6.36138 2.66602 7.99996C2.66602 9.63854 3.40496 11.1045 4.56779 12.0829L5.35833 14.8498C5.4401 15.136 5.7017 15.3333 5.99935 15.3333H9.99935C10.297 15.3333 10.5586 15.136 10.6404 14.8498L11.4309 12.0829C12.4335 11.2393 13.121 10.0333 13.2914 8.66663H13.9993V7.33329H13.2914C13.121 5.96665 12.4335 4.76059 11.4309 3.91705L10.6404 1.15015C10.5586 0.863944 10.297 0.666626 9.99935 0.666626ZM7.99935 2.66663C8.62126 2.66663 9.21831 2.77307 9.77328 2.96874L9.49648 1.99996H6.50222L6.22542 2.96874C6.78038 2.77307 7.37744 2.66663 7.99935 2.66663ZM6.50222 14L6.22542 13.0312C6.78038 13.2268 7.37744 13.3333 7.99935 13.3333C8.62126 13.3333 9.21831 13.2268 9.77328 13.0312L9.49648 14H6.50222ZM11.9993 7.99996C11.9993 10.2091 10.2085 12 7.99935 12C5.79021 12 3.99935 10.2091 3.99935 7.99996C3.99935 5.79082 5.79021 3.99996 7.99935 3.99996C10.2085 3.99996 11.9993 5.79082 11.9993 7.99996ZM8.66602 7.33329H9.99935V8.66663H7.33268V5.33329H8.66602V7.33329Z" })));
|
|
6
|
+
};
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { THIS_MONTH, THIS_YEAR, CALENDAR_WEEKS } from 'common';
|
|
2
|
+
export const zeroPad = (value, length) => {
|
|
3
|
+
return `${value}`.padStart(length, '0');
|
|
4
|
+
};
|
|
5
|
+
export const getMonthDays = (month = THIS_MONTH, year = THIS_YEAR) => {
|
|
6
|
+
const MONTHS_WITH_30 = [4, 6, 9, 11];
|
|
7
|
+
const leapYear = year % 4 === 0;
|
|
8
|
+
return month === 2
|
|
9
|
+
? leapYear
|
|
10
|
+
? 29
|
|
11
|
+
: 28
|
|
12
|
+
: MONTHS_WITH_30.includes(month)
|
|
13
|
+
? 30
|
|
14
|
+
: 31;
|
|
15
|
+
};
|
|
16
|
+
export const getMonthFirstDay = (month = THIS_MONTH, year = THIS_YEAR) => {
|
|
17
|
+
return +new Date(`${year}-${zeroPad(month, 2)}-01`).getDay() + 1;
|
|
18
|
+
};
|
|
19
|
+
export const isDate = (date) => {
|
|
20
|
+
const isDate = Object.prototype.toString.call(date) === '[object Date]';
|
|
21
|
+
const isValidDate = date && !Number.isNaN(date.valueOf());
|
|
22
|
+
return isDate && isValidDate;
|
|
23
|
+
};
|
|
24
|
+
export const isSameMonth = (date, basedate = new Date()) => {
|
|
25
|
+
if (!(isDate(date) && isDate(basedate)))
|
|
26
|
+
return false;
|
|
27
|
+
const basedateMonth = +basedate.getMonth() + 1;
|
|
28
|
+
const basedateYear = basedate.getFullYear();
|
|
29
|
+
const dateMonth = +date.getMonth() + 1;
|
|
30
|
+
const dateYear = date.getFullYear();
|
|
31
|
+
return +basedateMonth === +dateMonth && +basedateYear === +dateYear;
|
|
32
|
+
};
|
|
33
|
+
export const isSameDay = (date, basedate = new Date()) => {
|
|
34
|
+
if (!(isDate(date) && isDate(basedate)))
|
|
35
|
+
return false;
|
|
36
|
+
const basedateDate = basedate.getDate();
|
|
37
|
+
const basedateMonth = +basedate.getMonth() + 1;
|
|
38
|
+
const basedateYear = basedate.getFullYear();
|
|
39
|
+
const dateDate = date.getDate();
|
|
40
|
+
const dateMonth = +date.getMonth() + 1;
|
|
41
|
+
const dateYear = date.getFullYear();
|
|
42
|
+
return (+basedateDate === +dateDate &&
|
|
43
|
+
+basedateMonth === +dateMonth &&
|
|
44
|
+
+basedateYear === +dateYear);
|
|
45
|
+
};
|
|
46
|
+
export const getDateISO = (date = new Date()) => {
|
|
47
|
+
if (!isDate(date))
|
|
48
|
+
return null;
|
|
49
|
+
return [
|
|
50
|
+
date.getFullYear(),
|
|
51
|
+
zeroPad(+date.getMonth() + 1, 2),
|
|
52
|
+
zeroPad(+date.getDate(), 2),
|
|
53
|
+
].join('-');
|
|
54
|
+
};
|
|
55
|
+
export const getPreviousMonth = (month, year) => {
|
|
56
|
+
const prevMonth = month > 1 ? month - 1 : 12;
|
|
57
|
+
const prevMonthYear = month > 1 ? year : year - 1;
|
|
58
|
+
return { month: prevMonth, year: prevMonthYear };
|
|
59
|
+
};
|
|
60
|
+
export const getNextMonth = (month, year) => {
|
|
61
|
+
const nextMonth = month < 12 ? month + 1 : 1;
|
|
62
|
+
const nextMonthYear = month < 12 ? year : year + 1;
|
|
63
|
+
return { month: nextMonth, year: nextMonthYear };
|
|
64
|
+
};
|
|
65
|
+
export const buildCalendar = (month = THIS_MONTH, year = THIS_YEAR) => {
|
|
66
|
+
const monthDays = getMonthDays(month, year);
|
|
67
|
+
const monthFirstDay = getMonthFirstDay(month, year);
|
|
68
|
+
const daysFromPrevMonth = monthFirstDay - 1;
|
|
69
|
+
const daysFromNextMonth = CALENDAR_WEEKS * 7 - (daysFromPrevMonth + monthDays);
|
|
70
|
+
const { month: prevMonth, year: prevMonthYear } = getPreviousMonth(month, year);
|
|
71
|
+
const { month: nextMonth, year: nextMonthYear } = getNextMonth(month, year);
|
|
72
|
+
const prevMonthDays = getMonthDays(prevMonth, prevMonthYear);
|
|
73
|
+
const prevMonthDates = [...new Array(daysFromPrevMonth)].map((n, index) => {
|
|
74
|
+
const day = index + 1 + (prevMonthDays - daysFromPrevMonth);
|
|
75
|
+
return [prevMonthYear, zeroPad(prevMonth, 2), zeroPad(day, 2)];
|
|
76
|
+
});
|
|
77
|
+
const thisMonthDates = [...new Array(monthDays)].map((n, index) => {
|
|
78
|
+
const day = index + 1;
|
|
79
|
+
return [year, zeroPad(month, 2), zeroPad(day, 2)];
|
|
80
|
+
});
|
|
81
|
+
const nextMonthDates = [...new Array(daysFromNextMonth)].map((n, index) => {
|
|
82
|
+
const day = index + 1;
|
|
83
|
+
return [nextMonthYear, zeroPad(nextMonth, 2), zeroPad(day, 2)];
|
|
84
|
+
});
|
|
85
|
+
return calendarIntoWeeks([
|
|
86
|
+
...prevMonthDates,
|
|
87
|
+
...thisMonthDates,
|
|
88
|
+
...nextMonthDates,
|
|
89
|
+
]);
|
|
90
|
+
};
|
|
91
|
+
export const calendarIntoWeeks = (calendar) => {
|
|
92
|
+
const res = [];
|
|
93
|
+
while (calendar.length > 0) {
|
|
94
|
+
const chunk = calendar.splice(0, 7);
|
|
95
|
+
res.push(chunk);
|
|
96
|
+
}
|
|
97
|
+
return res;
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const callAll = (...fns) => (...args) => fns.forEach((fn) => fn && fn(...args));
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soul-refiner/design-system",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"main": "
|
|
3
|
+
"version": "0.1.29",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org"
|
|
8
8
|
},
|
|
9
9
|
"include": [
|
|
10
|
-
"/
|
|
10
|
+
"/dist"
|
|
11
11
|
],
|
|
12
12
|
"sideEffects": [
|
|
13
13
|
"**/*.css"
|
|
14
14
|
],
|
|
15
|
-
"exports": "./
|
|
15
|
+
"exports": "./dist/index.ts",
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@storybook/addon-essentials": "^7.0.10",
|
|
18
18
|
"@storybook/addon-interactions": "^7.0.10",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"vite-tsconfig-paths": "^4.2.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
|
+
"build": "tsc --build .",
|
|
42
43
|
"format": "prettier --write .",
|
|
43
44
|
"lint": "yarn eslint ./**/*.{ts,tsx}",
|
|
44
45
|
"storybook": "storybook dev -p 6006",
|
|
@@ -12,10 +12,13 @@ export const ParagraphElement = React.forwardRef<
|
|
|
12
12
|
React.ElementRef<typeof PlateElement>,
|
|
13
13
|
PlateElementProps
|
|
14
14
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
15
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
15
16
|
return (
|
|
16
17
|
<PlateElement asChild ref={ref} {...props}>
|
|
17
18
|
<>
|
|
18
|
-
<P as="div"
|
|
19
|
+
<P as="div" $textAlign={textAlign}>
|
|
20
|
+
{children}
|
|
21
|
+
</P>
|
|
19
22
|
</>
|
|
20
23
|
</PlateElement>
|
|
21
24
|
);
|
|
@@ -31,10 +34,11 @@ export const HOneElement = React.forwardRef<
|
|
|
31
34
|
React.ElementRef<typeof PlateElement>,
|
|
32
35
|
PlateElementProps
|
|
33
36
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
37
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
34
38
|
return (
|
|
35
39
|
<PlateElement asChild ref={ref} {...props}>
|
|
36
40
|
<>
|
|
37
|
-
<H.One>{children}</H.One>
|
|
41
|
+
<H.One $textAlign={textAlign}>{children}</H.One>
|
|
38
42
|
</>
|
|
39
43
|
</PlateElement>
|
|
40
44
|
);
|
|
@@ -50,10 +54,11 @@ export const HTwoElement = React.forwardRef<
|
|
|
50
54
|
React.ElementRef<typeof PlateElement>,
|
|
51
55
|
PlateElementProps
|
|
52
56
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
57
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
53
58
|
return (
|
|
54
59
|
<PlateElement asChild ref={ref} {...props}>
|
|
55
60
|
<>
|
|
56
|
-
<H.Two>{children}</H.Two>
|
|
61
|
+
<H.Two $textAlign={textAlign}>{children}</H.Two>
|
|
57
62
|
</>
|
|
58
63
|
</PlateElement>
|
|
59
64
|
);
|
|
@@ -69,10 +74,11 @@ export const HThreeElement = React.forwardRef<
|
|
|
69
74
|
React.ElementRef<typeof PlateElement>,
|
|
70
75
|
PlateElementProps
|
|
71
76
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
77
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
72
78
|
return (
|
|
73
79
|
<PlateElement asChild ref={ref} {...props}>
|
|
74
80
|
<>
|
|
75
|
-
<H.Three>{children}</H.Three>
|
|
81
|
+
<H.Three $textAlign={textAlign}>{children}</H.Three>
|
|
76
82
|
</>
|
|
77
83
|
</PlateElement>
|
|
78
84
|
);
|
|
@@ -88,10 +94,11 @@ export const HFourElement = React.forwardRef<
|
|
|
88
94
|
React.ElementRef<typeof PlateElement>,
|
|
89
95
|
PlateElementProps
|
|
90
96
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
97
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
91
98
|
return (
|
|
92
99
|
<PlateElement asChild ref={ref} {...props}>
|
|
93
100
|
<>
|
|
94
|
-
<H.Four>{children}</H.Four>
|
|
101
|
+
<H.Four $textAlign={textAlign}>{children}</H.Four>
|
|
95
102
|
</>
|
|
96
103
|
</PlateElement>
|
|
97
104
|
);
|
|
@@ -107,10 +114,11 @@ export const HFiveElement = React.forwardRef<
|
|
|
107
114
|
React.ElementRef<typeof PlateElement>,
|
|
108
115
|
PlateElementProps
|
|
109
116
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
117
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
110
118
|
return (
|
|
111
119
|
<PlateElement asChild ref={ref} {...props}>
|
|
112
120
|
<>
|
|
113
|
-
<H.Five>{children}</H.Five>
|
|
121
|
+
<H.Five $textAlign={textAlign}>{children}</H.Five>
|
|
114
122
|
</>
|
|
115
123
|
</PlateElement>
|
|
116
124
|
);
|
|
@@ -126,10 +134,11 @@ export const HSixElement = React.forwardRef<
|
|
|
126
134
|
React.ElementRef<typeof PlateElement>,
|
|
127
135
|
PlateElementProps
|
|
128
136
|
>(({ children, ...props }: PlateRenderElementProps, ref) => {
|
|
137
|
+
const textAlign = (props as any)?.style?.textAlign;
|
|
129
138
|
return (
|
|
130
139
|
<PlateElement asChild ref={ref} {...props}>
|
|
131
140
|
<>
|
|
132
|
-
<H.Six>{children}</H.Six>
|
|
141
|
+
<H.Six $textAlign={textAlign}>{children}</H.Six>
|
|
133
142
|
</>
|
|
134
143
|
</PlateElement>
|
|
135
144
|
);
|
package/tsconfig.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"module": "ES6",
|
|
6
6
|
"jsx": "react",
|
|
7
7
|
"strict": true,
|
|
8
|
-
"noEmit": true,
|
|
9
8
|
"allowJs": false,
|
|
10
9
|
"moduleResolution": "node",
|
|
11
10
|
"esModuleInterop": true,
|
|
@@ -13,6 +12,7 @@
|
|
|
13
12
|
"forceConsistentCasingInFileNames": true,
|
|
14
13
|
"resolveJsonModule": true,
|
|
15
14
|
"baseUrl": "src",
|
|
15
|
+
"outDir": "dist",
|
|
16
16
|
"experimentalDecorators": true,
|
|
17
17
|
"rootDir": "./src",
|
|
18
18
|
"paths": {
|