Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/flat-birds-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@storefront-ui/react': patch
'@storefront-ui/vue': patch
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, no - this changeset should contain major bump with breaking changes 😄

---

Adjustments to padding size for rounded variant of SfButton
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getSizeClasses = (size: SfButtonProps['size'], square: SfButtonProps['squa
case SfButtonSize.sm:
return [square ? 'p-1.5' : 'leading-5 text-sm py-1.5 px-3', 'gap-1.5'];
case SfButtonSize.lg:
return [square ? 'p-4' : 'py-3 leading-6 px-6', 'gap-3'];
return [square ? 'p-3' : 'py-3 leading-6 px-6', 'gap-3'];
default:
return [square ? 'p-2' : 'py-2 leading-6 px-4', 'gap-2'];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const sizeClasses = computed(() => {
case SfButtonSize.sm:
return [square.value ? 'p-1.5' : 'leading-5 text-sm py-1.5 px-3', 'gap-1.5'];
case SfButtonSize.lg:
return [square.value ? 'p-4' : 'py-3 leading-6 px-6', 'gap-3'];
return [square.value ? 'p-3' : 'py-3 leading-6 px-6', 'gap-3'];
default:
return [square.value ? 'p-2' : 'py-2 leading-6 px-4', 'gap-2'];
}
Expand Down