From 1723f41ea8eac942328369080e479516d64475d7 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 12 Nov 2022 13:56:05 -0800 Subject: [PATCH] Migrate icons. --- .../image-icon-tab/iconGroups.json | 15 ---- .../icons/arrowc_rotate_anticlockwise.svg | 90 ------------------- .../assets/icons/arrowc_rotate_clockwise.svg | 90 ------------------- .../assets/icons/arrowc_turn_left.svg | 90 ------------------- .../assets/icons/arrowc_turn_right.svg | 90 ------------------- .../assets/icons/clock-svgrepo-com.svg | 80 ----------------- packages/mindplot/assets/icons/funy_angel.svg | 70 --------------- packages/mindplot/assets/icons/hard_cd.svg | 60 ------------- .../mindplot/assets/icons/hard_computer.svg | 11 --- .../mindplot/assets/icons/hard_controller.svg | 15 ---- .../assets/icons/hard_driver_disk.svg | 16 ---- .../mindplot/assets/icons/hard_microphone.svg | 10 --- .../mindplot/assets/icons/hard_printer.svg | 48 ---------- .../mindplot/assets/icons/hard_webcam.svg | 23 ----- packages/mindplot/assets/icons/mail_edit.svg | 51 ----------- .../mindplot/assets/icons/mail_envelop.svg | 10 --- packages/mindplot/assets/icons/mail_list.svg | 66 -------------- .../mindplot/assets/icons/mail_mailbox.svg | 11 --- .../src/components/model/SvgIconFamily.json | 28 +----- .../components/persistence/iconToEmoji.json | 17 +++- .../test/unit/export/expected/welcome.mm | 10 +-- .../test/unit/export/expected/welcome.wxml | 4 +- 22 files changed, 21 insertions(+), 884 deletions(-) delete mode 100644 packages/mindplot/assets/icons/arrowc_rotate_anticlockwise.svg delete mode 100644 packages/mindplot/assets/icons/arrowc_rotate_clockwise.svg delete mode 100644 packages/mindplot/assets/icons/arrowc_turn_left.svg delete mode 100644 packages/mindplot/assets/icons/arrowc_turn_right.svg delete mode 100644 packages/mindplot/assets/icons/clock-svgrepo-com.svg delete mode 100644 packages/mindplot/assets/icons/funy_angel.svg delete mode 100644 packages/mindplot/assets/icons/hard_cd.svg delete mode 100644 packages/mindplot/assets/icons/hard_computer.svg delete mode 100644 packages/mindplot/assets/icons/hard_controller.svg delete mode 100644 packages/mindplot/assets/icons/hard_driver_disk.svg delete mode 100644 packages/mindplot/assets/icons/hard_microphone.svg delete mode 100644 packages/mindplot/assets/icons/hard_printer.svg delete mode 100644 packages/mindplot/assets/icons/hard_webcam.svg delete mode 100644 packages/mindplot/assets/icons/mail_edit.svg delete mode 100644 packages/mindplot/assets/icons/mail_envelop.svg delete mode 100644 packages/mindplot/assets/icons/mail_list.svg delete mode 100644 packages/mindplot/assets/icons/mail_mailbox.svg diff --git a/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json b/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json index 15d62831..071f7330 100644 --- a/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json +++ b/packages/editor/src/components/action-widget/pane/icon-picker/image-icon-tab/iconGroups.json @@ -21,14 +21,7 @@ "task_50", "task_75", "task_100", - "hard_cd", - "hard_computer", - "hard_controller", - "hard_driver_disk", "hard_ipod", - "hard_printer", - "hard_webcam", - "hard_microphone", "things_address_book", "things_wrench", "things_pin", @@ -72,14 +65,6 @@ "soft_folder_explore", "soft_rss", "soft_penguin", - "arrowc_rotate_anticlockwise", - "arrowc_rotate_clockwise", - "arrowc_turn_left", - "arrowc_turn_right", - "mail_envelop", - "mail_mailbox", - "mail_edit", - "mail_list", "flag_blue", "flag_green", "flag_orange", diff --git a/packages/mindplot/assets/icons/arrowc_rotate_anticlockwise.svg b/packages/mindplot/assets/icons/arrowc_rotate_anticlockwise.svg deleted file mode 100644 index 15b0a6d2..00000000 --- a/packages/mindplot/assets/icons/arrowc_rotate_anticlockwise.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/arrowc_rotate_clockwise.svg b/packages/mindplot/assets/icons/arrowc_rotate_clockwise.svg deleted file mode 100644 index e47d5574..00000000 --- a/packages/mindplot/assets/icons/arrowc_rotate_clockwise.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/arrowc_turn_left.svg b/packages/mindplot/assets/icons/arrowc_turn_left.svg deleted file mode 100644 index dd71b3f6..00000000 --- a/packages/mindplot/assets/icons/arrowc_turn_left.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/arrowc_turn_right.svg b/packages/mindplot/assets/icons/arrowc_turn_right.svg deleted file mode 100644 index 239c8858..00000000 --- a/packages/mindplot/assets/icons/arrowc_turn_right.svg +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/clock-svgrepo-com.svg b/packages/mindplot/assets/icons/clock-svgrepo-com.svg deleted file mode 100644 index 2dbb9d68..00000000 --- a/packages/mindplot/assets/icons/clock-svgrepo-com.svg +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/funy_angel.svg b/packages/mindplot/assets/icons/funy_angel.svg deleted file mode 100644 index 6e6dcdf6..00000000 --- a/packages/mindplot/assets/icons/funy_angel.svg +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_cd.svg b/packages/mindplot/assets/icons/hard_cd.svg deleted file mode 100644 index 7e1e2eac..00000000 --- a/packages/mindplot/assets/icons/hard_cd.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_computer.svg b/packages/mindplot/assets/icons/hard_computer.svg deleted file mode 100644 index c140b67f..00000000 --- a/packages/mindplot/assets/icons/hard_computer.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_controller.svg b/packages/mindplot/assets/icons/hard_controller.svg deleted file mode 100644 index c1328cfc..00000000 --- a/packages/mindplot/assets/icons/hard_controller.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_driver_disk.svg b/packages/mindplot/assets/icons/hard_driver_disk.svg deleted file mode 100644 index f874d69d..00000000 --- a/packages/mindplot/assets/icons/hard_driver_disk.svg +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_microphone.svg b/packages/mindplot/assets/icons/hard_microphone.svg deleted file mode 100644 index e3f74e26..00000000 --- a/packages/mindplot/assets/icons/hard_microphone.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_printer.svg b/packages/mindplot/assets/icons/hard_printer.svg deleted file mode 100644 index bc6c56a8..00000000 --- a/packages/mindplot/assets/icons/hard_printer.svg +++ /dev/null @@ -1,48 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/hard_webcam.svg b/packages/mindplot/assets/icons/hard_webcam.svg deleted file mode 100644 index 1ada323d..00000000 --- a/packages/mindplot/assets/icons/hard_webcam.svg +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/mail_edit.svg b/packages/mindplot/assets/icons/mail_edit.svg deleted file mode 100644 index 5cee8370..00000000 --- a/packages/mindplot/assets/icons/mail_edit.svg +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/mail_envelop.svg b/packages/mindplot/assets/icons/mail_envelop.svg deleted file mode 100644 index dc5316c9..00000000 --- a/packages/mindplot/assets/icons/mail_envelop.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/mail_list.svg b/packages/mindplot/assets/icons/mail_list.svg deleted file mode 100644 index 33e152ee..00000000 --- a/packages/mindplot/assets/icons/mail_list.svg +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/mindplot/assets/icons/mail_mailbox.svg b/packages/mindplot/assets/icons/mail_mailbox.svg deleted file mode 100644 index 540d99b1..00000000 --- a/packages/mindplot/assets/icons/mail_mailbox.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/packages/mindplot/src/components/model/SvgIconFamily.json b/packages/mindplot/src/components/model/SvgIconFamily.json index 918049fe..e0963cb8 100644 --- a/packages/mindplot/src/components/model/SvgIconFamily.json +++ b/packages/mindplot/src/components/model/SvgIconFamily.json @@ -45,15 +45,7 @@ { "id": "hard", "icons": [ - "hard_cd", - "hard_computer", - "hard_controller", - "hard_driver_disk", - "hard_ipod", - "hard_mouse", - "hard_printer", - "hard_webcam", - "hard_microphone" + "hard_ipod" ] }, { @@ -78,24 +70,6 @@ "soft_penguin" ] }, - { - "id": "arrowc", - "icons": [ - "arrowc_rotate_anticlockwise", - "arrowc_rotate_clockwise", - "arrowc_turn_left", - "arrowc_turn_right" - ] - }, - { - "id": "mail", - "icons": [ - "mail_envelop", - "mail_mailbox", - "mail_edit", - "mail_list" - ] - }, { "id": "flag", "icons": [ diff --git a/packages/mindplot/src/components/persistence/iconToEmoji.json b/packages/mindplot/src/components/persistence/iconToEmoji.json index a114aa95..faa6ee2b 100644 --- a/packages/mindplot/src/components/persistence/iconToEmoji.json +++ b/packages/mindplot/src/components/persistence/iconToEmoji.json @@ -69,5 +69,20 @@ "thumb_thumb_down": "๐Ÿ‘Ž", "thumb_thumb_up": "๐Ÿ‘", "tick_tick": "โœ…", - "tick_cross": "โŽ" + "tick_cross": "โŽ", + "arrowc_rotate_anticlockwise": "โ†ช๏ธ", + "arrowc_rotate_clockwise": "โ†ฉ๏ธ", + "arrowc_turn_left": "โฌ…๏ธ", + "arrowc_turn_right": "โžก๏ธ", + "mail_envelop": "โœ‰๏ธ", + "mail_mailbox": "๐Ÿ“ซ", + "mail_edit": "๐Ÿ“ง", + "mail_list": "๐Ÿ—’๏ธ", + "hard_cd": "๐Ÿ’ฟ", + "hard_computer": "๐Ÿ–ฅ๏ธ", + "hard_controller": "๐ŸŽฎ", + "hard_driver_disk": "๐Ÿ’พ", + "hard_printer": "๐Ÿ–จ๏ธ", + "hard_webcam": "๐Ÿ“ท", + "hard_microphone": "๐ŸŽค" } \ No newline at end of file diff --git a/packages/mindplot/test/unit/export/expected/welcome.mm b/packages/mindplot/test/unit/export/expected/welcome.mm index 5549b7da..7f3b385b 100644 --- a/packages/mindplot/test/unit/export/expected/welcome.mm +++ b/packages/mindplot/test/unit/export/expected/welcome.mm @@ -11,7 +11,6 @@ - @@ -40,9 +39,7 @@ - - - + @@ -56,7 +53,6 @@ - @@ -65,9 +61,7 @@ - - - + \ No newline at end of file diff --git a/packages/mindplot/test/unit/export/expected/welcome.wxml b/packages/mindplot/test/unit/export/expected/welcome.wxml index 41b30219..cf04d762 100644 --- a/packages/mindplot/test/unit/export/expected/welcome.wxml +++ b/packages/mindplot/test/unit/export/expected/welcome.wxml @@ -1,3 +1,3 @@ \ No newline at end of file +Follow the link !]]> \ No newline at end of file