Skip to content

Commit 1ab9b43

Browse files
committed
update Badge component border radius and bump version to 0.10.0-alpha.14; refactor ContentSwitcher for conditional rendering; update Storybook dependencies
1 parent a6bf8e5 commit 1ab9b43

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@grandlinex/react-components",
3-
"version": "0.10.0-alpha.13",
3+
"version": "0.10.0-alpha.14",
44
"private": false,
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -25,12 +25,12 @@
2525
"@babel/preset-react": "7.24.7",
2626
"@babel/preset-typescript": "7.24.7",
2727
"@chromatic-com/storybook": "4.1.1",
28-
"@storybook/addon-docs": "9.1.5",
29-
"@storybook/addon-links": "9.1.5",
30-
"@storybook/addon-onboarding": "9.1.5",
31-
"@storybook/addon-themes": "9.1.5",
28+
"@storybook/addon-docs": "9.1.7",
29+
"@storybook/addon-links": "9.1.7",
30+
"@storybook/addon-onboarding": "9.1.7",
31+
"@storybook/addon-themes": "9.1.7",
3232
"@storybook/addon-webpack5-compiler-swc": "4.0.1",
33-
"@storybook/react-webpack5": "9.1.5",
33+
"@storybook/react-webpack5": "9.1.7",
3434
"@types/react": "19.1.2",
3535
"@types/react-dom": "19.1.2",
3636
"@typescript-eslint/eslint-plugin": "7.16.0",
@@ -46,7 +46,7 @@
4646
"eslint-plugin-prettier": "5.2.1",
4747
"eslint-plugin-react": "7.37.0",
4848
"eslint-plugin-react-hooks": "4.6.2",
49-
"eslint-plugin-storybook": "9.1.5",
49+
"eslint-plugin-storybook": "9.1.7",
5050
"gulp": "5.0.1",
5151
"gulp-concat": "2.6.1",
5252
"gulp-sass": "5.1.0",
@@ -56,7 +56,7 @@
5656
"prettier": "3.3.3",
5757
"sass": "1.79.4",
5858
"sass-loader": "16.0.2",
59-
"storybook": "9.1.5",
59+
"storybook": "9.1.7",
6060
"style-loader": "4.0.0",
6161
"ts-loader": "9.5.1",
6262
"ts-node": "10.9.2",

src/components/controlls/ContentSwitch/ContentSwitcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const ContentSwitcher = (props: ContentSwitcherProps) => {
131131
</div>
132132
),
133133
)}
134-
<div className="glx-content-switcher-end"> </div>
134+
{open !== null ? <div className="glx-content-switcher-end" /> : null}
135135
</div>
136136
</div>
137137
);

src/components/other/Badge/Badge.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
white-space: nowrap;
55
justify-content: center;
66
align-items: center;
7-
border-radius: 100px;
7+
border-radius: 8px;
88
background: $main-contrast;
99
button{
1010
border: none;

0 commit comments

Comments
 (0)