From 24193ae84df0876e52054b0bf760786fe591aed0 Mon Sep 17 00:00:00 2001 From: Uriy Korotovskikh Date: Fri, 29 Sep 2023 16:22:53 +0400 Subject: [PATCH] migrate statements list to new ui-kit #121 --- index.html | 9 -- package-lock.json | 12 +-- .../SocialLinks/SocialLinks.module.scss | 29 ------ .../common/SocialLinks/SocialLinks.tsx | 52 ---------- src/components/common/SocialLinks/index.ts | 7 -- src/components/common/index.ts | 1 - .../login/RegisterForm/RegisterForm.tsx | 2 +- .../CreateOrdersPanel/CreateOrdersPanel.tsx | 3 +- .../PriceChangeIndicator.module.scss | 9 -- .../PriceChangeIndicator.tsx | 47 --------- .../market/PriceChangeIndicator/index.ts | 6 -- src/components/market/index.ts | 1 - src/constants/common/socialLinks.ts | 13 +++ .../shared/components/Footer/Footer.tsx | 3 +- .../PriceChangeIndicator.tsx | 54 ++++++++++ .../components/PriceChangeIndicator/styles.ts | 20 ++++ .../components/SocialLinks/SocialLinks.tsx | 50 ++++++++++ .../shared/components/SocialLinks/styles.ts | 35 +++++++ src/features/shared/index.ts | 2 + .../statementsList/components/ListItem.tsx | 49 +++++++++ ...mentsListItemInfo.tsx => ListItemInfo.tsx} | 23 ++--- .../components/StatementsList.module.scss | 60 ----------- .../components/StatementsList.tsx | 26 ++--- .../components/StatementsListItem.tsx | 62 ------------ .../components/StatementsListTable.tsx | 99 ++++++++----------- .../components/TagsSelector.tsx | 44 +++++++++ ...mentsListTextFilter.tsx => TextFilter.tsx} | 32 +++--- .../statementsList/components/overrides.ts | 42 ++++++++ .../statementsList/components/styles.ts | 11 +++ src/styles/globalStyles.ts | 24 +++++ 30 files changed, 436 insertions(+), 391 deletions(-) delete mode 100644 src/components/common/SocialLinks/SocialLinks.module.scss delete mode 100644 src/components/common/SocialLinks/SocialLinks.tsx delete mode 100644 src/components/common/SocialLinks/index.ts delete mode 100644 src/components/market/PriceChangeIndicator/PriceChangeIndicator.module.scss delete mode 100644 src/components/market/PriceChangeIndicator/PriceChangeIndicator.tsx delete mode 100644 src/components/market/PriceChangeIndicator/index.ts create mode 100644 src/features/shared/components/PriceChangeIndicator/PriceChangeIndicator.tsx create mode 100644 src/features/shared/components/PriceChangeIndicator/styles.ts create mode 100644 src/features/shared/components/SocialLinks/SocialLinks.tsx create mode 100644 src/features/shared/components/SocialLinks/styles.ts create mode 100644 src/features/statementsList/components/ListItem.tsx rename src/features/statementsList/components/{StatementsListItemInfo.tsx => ListItemInfo.tsx} (64%) delete mode 100644 src/features/statementsList/components/StatementsList.module.scss delete mode 100644 src/features/statementsList/components/StatementsListItem.tsx create mode 100644 src/features/statementsList/components/TagsSelector.tsx rename src/features/statementsList/components/{StatementsListTextFilter.tsx => TextFilter.tsx} (53%) create mode 100644 src/features/statementsList/components/overrides.ts create mode 100644 src/features/statementsList/components/styles.ts create mode 100644 src/styles/globalStyles.ts diff --git a/index.html b/index.html index ba81a3f4..e2263f7e 100644 --- a/index.html +++ b/index.html @@ -84,15 +84,6 @@ rel="preconnect" href="https://fonts.gstatic.com" /> - -