From 241eb0c9a5744df54e5e8a21bef5c66e6ce35c90 Mon Sep 17 00:00:00 2001 From: doryan04 Date: Tue, 30 Jan 2024 23:52:06 +0400 Subject: [PATCH] ADDED: icon component CHANGED: in everything, where use icons (except switch and checkbox), change from icon-font to Icon component --- .idea/workspace.xml | 63 ++++-- app/components/checkboxes.tsx | 28 +-- app/components/icon-buttons.tsx | 2 +- app/components/radios.tsx | 2 +- app/components/switches.tsx | 78 +++---- app/layout.tsx | 6 + dist/output.css | 2 +- dist/styles/styles.css | 2 +- .../button-layout.tsx | 0 .../button.types.ts | 0 src/primitive-components/button/button.tsx | 13 +- .../checkbox-layout/check-box-skeleton.tsx | 32 +++ .../checkbox-layout/checkbox-layout.types.ts | 7 + .../checkbox-skeleton/check-box-skeleton.tsx | 34 --- .../checkbox/checkbox.tsx | 16 +- src/primitive-components/fab/fab.tsx | 37 +++- .../icon-button/icon-button.tsx | 37 ++-- src/primitive-components/icon/icon.tsx | 48 +++++ src/primitive-components/icon/icon.types.ts | 11 + .../material-you-components.tsx | 3 +- src/primitive-components/radio/radio.tsx | 2 +- src/primitive-components/switch/switch.tsx | 2 +- .../text-field/text-field.tsx | 16 +- .../text-field/text-field.types.ts | 8 + src/styles/button.css | 29 ++- src/styles/button.css.map | 2 +- src/styles/button.sass | 33 +-- src/styles/checkbox.css | 17 +- src/styles/checkbox.css.map | 2 +- src/styles/checkbox.sass | 17 +- src/styles/fabs.css | 20 +- src/styles/fabs.css.map | 2 +- src/styles/fonts.css | 26 +-- src/styles/fonts.css.map | 2 +- src/styles/fonts.sass | 80 ++------ src/styles/generics.css | 194 +++++++++++------- src/styles/generics.css.map | 2 +- src/styles/generics.sass | 1 + src/styles/icon-button.css | 34 ++- src/styles/icon-button.css.map | 2 +- src/styles/icon-button.sass | 35 ++-- src/styles/icon.css | 69 +++++++ src/styles/icon.css.map | 1 + src/styles/icon.sass | 19 ++ src/styles/mixins/m3-mixins.sass | 5 +- 45 files changed, 612 insertions(+), 429 deletions(-) rename src/primitive-components/{button-skeleton => button-layout}/button-layout.tsx (100%) rename src/primitive-components/{button-skeleton => button-layout}/button.types.ts (100%) create mode 100644 src/primitive-components/checkbox-layout/check-box-skeleton.tsx create mode 100644 src/primitive-components/checkbox-layout/checkbox-layout.types.ts delete mode 100644 src/primitive-components/checkbox-skeleton/check-box-skeleton.tsx create mode 100644 src/primitive-components/icon/icon.tsx create mode 100644 src/primitive-components/icon/icon.types.ts create mode 100644 src/primitive-components/text-field/text-field.types.ts create mode 100644 src/styles/icon.css create mode 100644 src/styles/icon.css.map create mode 100644 src/styles/icon.sass diff --git a/.idea/workspace.xml b/.idea/workspace.xml index cf3a36f..4743d53 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,30 +4,49 @@