Skip to content

Commit

Permalink
Corrected circle button size (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
CandelR authored Feb 19, 2025
1 parent 93150f8 commit 1a587ca
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@internxt/ui",
"version": "0.0.20",
"version": "0.0.21",
"description": "Library of Internxt components",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/components/buttonCircle/CircleButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const CircleButton = ({
};

return (
<div className="relative w-12 h-12" data-circle-button={variant}>
<div className="relative w-11 h-11" data-circle-button={variant}>
<button
onClick={handleMainClick}
className={`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`CircleButton component > should not render dropdown toggle for cancel v
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="cancel"
>
<button
Expand All @@ -24,7 +24,7 @@ exports[`CircleButton component > should not render dropdown toggle for cancel v
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="cancel"
>
<button
Expand Down Expand Up @@ -99,7 +99,7 @@ exports[`CircleButton component > should not render dropdown toggle for warning
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand All @@ -117,7 +117,7 @@ exports[`CircleButton component > should not render dropdown toggle for warning
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand Down Expand Up @@ -192,7 +192,7 @@ exports[`CircleButton component > should render active default button correctly
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand All @@ -210,7 +210,7 @@ exports[`CircleButton component > should render active default button correctly
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -285,7 +285,7 @@ exports[`CircleButton component > should render active warning button correctly
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand All @@ -303,7 +303,7 @@ exports[`CircleButton component > should render active warning button correctly
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand Down Expand Up @@ -378,7 +378,7 @@ exports[`CircleButton component > should render button with children correctly 1
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand All @@ -400,7 +400,7 @@ exports[`CircleButton component > should render button with children correctly 1
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -479,7 +479,7 @@ exports[`CircleButton component > should render button with custom className cor
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand All @@ -497,7 +497,7 @@ exports[`CircleButton component > should render button with custom className cor
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -572,7 +572,7 @@ exports[`CircleButton component > should render button with custom indicator cor
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -605,7 +605,7 @@ exports[`CircleButton component > should render button with custom indicator cor
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -695,7 +695,7 @@ exports[`CircleButton component > should render button with dropdown correctly 1
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -728,7 +728,7 @@ exports[`CircleButton component > should render button with dropdown correctly 1
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -818,7 +818,7 @@ exports[`CircleButton component > should render button with warning indicator co
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand Down Expand Up @@ -851,7 +851,7 @@ exports[`CircleButton component > should render button with warning indicator co
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand Down Expand Up @@ -941,7 +941,7 @@ exports[`CircleButton component > should render cancel button correctly 1`] = `
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="cancel"
>
<button
Expand All @@ -959,7 +959,7 @@ exports[`CircleButton component > should render cancel button correctly 1`] = `
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="cancel"
>
<button
Expand Down Expand Up @@ -1034,7 +1034,7 @@ exports[`CircleButton component > should render default button correctly 1`] = `
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand All @@ -1052,7 +1052,7 @@ exports[`CircleButton component > should render default button correctly 1`] = `
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="default"
>
<button
Expand Down Expand Up @@ -1127,7 +1127,7 @@ exports[`CircleButton component > should render warning button correctly 1`] = `
"baseElement": <body>
<div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand All @@ -1145,7 +1145,7 @@ exports[`CircleButton component > should render warning button correctly 1`] = `
</body>,
"container": <div>
<div
class="relative w-12 h-12"
class="relative w-11 h-11"
data-circle-button="warning"
>
<button
Expand Down

0 comments on commit 1a587ca

Please sign in to comment.