From f3d05c0fefaa7447bee65807fb1c20d2388a8b8f Mon Sep 17 00:00:00 2001 From: mebtte Date: Mon, 14 Aug 2023 23:00:02 +0800 Subject: [PATCH] feat: improve component select --- apps/pwa/src/components/file_select.tsx | 2 +- apps/pwa/src/components/input.tsx | 36 +- apps/pwa/src/components/label.tsx | 37 +- .../multiple_select/multiple_select.tsx | 2 +- apps/pwa/src/components/select/constants.ts | 7 +- apps/pwa/src/components/select/index.ts | 4 +- apps/pwa/src/components/select/options.tsx | 86 --- apps/pwa/src/components/select/select.tsx | 158 ++--- apps/pwa/src/components/select/style.scss | 15 + apps/pwa/src/components/textarea.tsx | 36 +- .../login/email_panel/setting_dialog.tsx | 33 +- apps/pwa/src/pages/player/header/search.tsx | 2 +- .../my_music/create_music_dialog/index.tsx | 24 +- .../pages/player/pages/setting/language.tsx | 25 +- apps/pwa/webpack/base.js | 4 +- package-lock.json | 550 ++++++++++++++++++ package.json | 3 + 17 files changed, 701 insertions(+), 323 deletions(-) delete mode 100644 apps/pwa/src/components/select/options.tsx create mode 100644 apps/pwa/src/components/select/style.scss diff --git a/apps/pwa/src/components/file_select.tsx b/apps/pwa/src/components/file_select.tsx index 5caa780c..709e6b18 100644 --- a/apps/pwa/src/components/file_select.tsx +++ b/apps/pwa/src/components/file_select.tsx @@ -60,7 +60,7 @@ function FileSelect({ }); return ( -