From dc8b92484bfead544916ca34079cfdc10107e698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20Dziewo=C5=84ski?= Date: Mon, 2 Oct 2023 10:09:25 +0200 Subject: [PATCH] chore: remove redundant type="button" from SfButton (#2990) --- apps/docs/components/hooks/usePagination.md | 6 +----- apps/preview/next/pages/examples/SfDrawer.tsx | 4 +--- apps/preview/next/pages/examples/SfModal.tsx | 5 +---- .../next/pages/showcases/Breadcrumbs/Breadcrumbs.tsx | 1 - .../showcases/Breadcrumbs/BreadcrumbsSeparator.tsx | 1 - .../showcases/Breadcrumbs/BreadcrumbsWithIcon.tsx | 1 - .../next/pages/showcases/Button/ButtonBlock.tsx | 6 +----- .../next/pages/showcases/Button/ButtonContent.tsx | 2 +- .../next/pages/showcases/Button/ButtonSizes.tsx | 12 +++--------- .../next/pages/showcases/Button/ButtonVariants.tsx | 12 +++--------- .../next/pages/showcases/Drawer/Placement.tsx | 4 +--- .../showcases/Drawer/TransitionAndCloseButton.tsx | 4 +--- .../showcases/FormFields/FormFieldsRequired.tsx | 2 +- .../next/pages/showcases/MegaMenu/BaseMegaMenu.tsx | 2 -- .../next/pages/showcases/Modal/ModalBasic.tsx | 10 +++------- .../next/pages/showcases/Modal/ModalTransition.tsx | 10 +++------- .../next/pages/showcases/NavbarTop/NavbarTop.tsx | 1 - .../NavbarTop/NavbarTopFilledSimpleMobile.tsx | 1 - .../next/pages/showcases/Pagination/Pagination.tsx | 2 -- .../next/pages/showcases/ProductCard/Details.tsx | 8 +++----- .../showcases/ProductCard/ProductCardHorizontal.tsx | 2 -- .../showcases/ProductCard/ProductCardVertical.tsx | 3 +-- .../next/pages/showcases/ProductSlider/Basic.tsx | 1 - .../pages/showcases/QuantitySelector/OutOfStock.tsx | 3 +-- .../showcases/QuantitySelector/QuantitySelector.tsx | 2 -- .../pages/showcases/QuantitySelector/Rounded.tsx | 2 -- .../pages/showcases/RatingForms/ProductRating.tsx | 2 +- .../RatingForms/ProductRatingWithReview.tsx | 2 +- apps/preview/nuxt/pages/examples/SfDrawer.vue | 2 +- apps/preview/nuxt/pages/examples/SfModal.vue | 2 +- .../nuxt/pages/showcases/Breadcrumbs/Breadcrumbs.vue | 1 - .../showcases/Breadcrumbs/BreadcrumbsSeparator.vue | 1 - .../showcases/Breadcrumbs/BreadcrumbsWithIcon.vue | 1 - .../nuxt/pages/showcases/Button/ButtonBlock.vue | 2 +- .../nuxt/pages/showcases/Button/ButtonContent.vue | 2 +- .../nuxt/pages/showcases/Button/ButtonSizes.vue | 6 +++--- .../nuxt/pages/showcases/Button/ButtonVariants.vue | 6 +++--- .../nuxt/pages/showcases/Drawer/Placement.vue | 2 +- .../showcases/Drawer/TransitionAndCloseButton.vue | 2 +- .../showcases/FormFields/FormFieldsRequired.vue | 2 +- .../nuxt/pages/showcases/MegaMenu/BaseMegaMenu.vue | 2 -- .../nuxt/pages/showcases/Modal/ModalBasic.vue | 6 +++--- .../nuxt/pages/showcases/Modal/ModalTransition.vue | 6 +++--- .../pages/showcases/NavbarTop/NavbarTopFilled.vue | 1 - .../NavbarTop/NavbarTopFilledSimpleMobile.vue | 1 - .../showcases/NavbarTop/NavbarTopSimpleMobile.vue | 2 +- .../nuxt/pages/showcases/Pagination/Pagination.vue | 2 -- .../nuxt/pages/showcases/ProductCard/Details.vue | 8 +++----- .../showcases/ProductCard/ProductCardHorizontal.vue | 2 -- .../showcases/ProductCard/ProductCardVertical.vue | 3 +-- .../nuxt/pages/showcases/ProductSlider/Basic.vue | 1 - .../pages/showcases/QuantitySelector/OutOfStock.vue | 4 ++-- .../showcases/QuantitySelector/QuantitySelector.vue | 2 -- .../pages/showcases/QuantitySelector/Rounded.vue | 2 -- .../pages/showcases/RatingForms/ProductRating.vue | 4 +--- .../RatingForms/ProductRatingWithReview.vue | 2 +- .../nuxt/pages/showcases/Search/SearchWithButton.vue | 5 +++-- .../nuxt/pages/showcases/Search/SearchWithIcon.vue | 11 ++++++----- 58 files changed, 64 insertions(+), 140 deletions(-) diff --git a/apps/docs/components/hooks/usePagination.md b/apps/docs/components/hooks/usePagination.md index c2afb86e4d..df46198945 100644 --- a/apps/docs/components/hooks/usePagination.md +++ b/apps/docs/components/hooks/usePagination.md @@ -29,7 +29,6 @@ function CustomPagination() { return (