From 091615b04eaeccef2d5f2d250bfde5c200298d10 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 27 Jun 2024 14:09:05 -1000 Subject: [PATCH] refactor: :recycle: Port all buttons to new UI library --- components/buttons/button-base.vue | 23 -------- components/buttons/button-mobile-navbar.vue | 6 +- components/buttons/button-primary.vue | 23 -------- components/buttons/button-secondary.vue | 22 ------- components/composer/composer.vue | 10 ++-- components/composer/file-uploader.vue | 6 +- components/errors/ErrorBoundary.vue | 10 ++-- components/settings/oidc.vue | 17 +++--- components/settings/profile-editor.vue | 11 ++-- components/sidebars/account-picker.vue | 8 +-- components/sidebars/navigation.vue | 12 ++-- .../social-elements/notes/note-content.vue | 4 +- .../social-elements/notifications/notif.vue | 13 ++-- components/social-elements/users/Account.vue | 18 +++--- packages/ui/components/buttons/button.vue | 4 +- packages/ui/demo/buttons-demo.vue | 59 +++++++++++++++---- pages/oauth/authorize.vue | 9 ++- pages/oauth/consent.vue | 7 +-- pages/oauth/reset.vue | 4 +- pages/register/index.vue | 9 ++- 20 files changed, 120 insertions(+), 155 deletions(-) delete mode 100644 components/buttons/button-base.vue delete mode 100644 components/buttons/button-primary.vue delete mode 100644 components/buttons/button-secondary.vue diff --git a/components/buttons/button-base.vue b/components/buttons/button-base.vue deleted file mode 100644 index 8df0d3c..0000000 --- a/components/buttons/button-base.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/buttons/button-mobile-navbar.vue b/components/buttons/button-mobile-navbar.vue index 36f1ab8..93effdd 100644 --- a/components/buttons/button-mobile-navbar.vue +++ b/components/buttons/button-mobile-navbar.vue @@ -1,12 +1,12 @@ - - \ No newline at end of file diff --git a/components/buttons/button-secondary.vue b/components/buttons/button-secondary.vue deleted file mode 100644 index 1eef94d..0000000 --- a/components/buttons/button-secondary.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - - \ No newline at end of file diff --git a/components/composer/composer.vue b/components/composer/composer.vue index ca6e1e2..4838ebf 100644 --- a/components/composer/composer.vue +++ b/components/composer/composer.vue @@ -34,12 +34,12 @@ - - {{ + {{ respondingType === "edit" ? "Edit!" : "Send!" - }} - + }} + @@ -47,8 +47,8 @@