Skip to content

Commit 12b2617

Browse files
committed
fix(ItemAction): icon size
1 parent 9ba64f3 commit 12b2617

File tree

8 files changed

+783
-630
lines changed

8 files changed

+783
-630
lines changed

.storybook/preview.jsx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,10 @@ export const parameters = {
4949
},
5050
docs: {},
5151
backgrounds: {
52-
default: 'transparent',
53-
values: [
54-
{ name: 'transparent', value: 'transparent' },
55-
{ name: 'gray', value: 'rgba(243,243,250, 1)' },
56-
],
52+
options: {
53+
transparent: { name: 'transparent', value: 'transparent' },
54+
gray: { name: 'gray', value: 'rgba(243,243,250, 1)' },
55+
},
5756
},
5857
actions: {
5958
// Disable only while the test runner is active
@@ -69,3 +68,9 @@ export const decorators = [
6968
),
7069
];
7170
export const tags = ['autodocs'];
71+
72+
export const initialGlobals = {
73+
backgrounds: {
74+
value: 'transparent',
75+
},
76+
};

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@
116116
"@size-limit/webpack": "^8.2.4",
117117
"@size-limit/webpack-why": "^8.2.4",
118118
"@statoscope/cli": "^5.20.1",
119-
"@storybook/addon-docs": "^9.1.2",
120-
"@storybook/addon-links": "^9.1.2",
121-
"@storybook/react-vite": "^9.1.2",
119+
"@storybook/addon-docs": "^10.0.0",
120+
"@storybook/addon-links": "^10.0.0",
121+
"@storybook/react-vite": "^10.0.0",
122122
"@swc/core": "^1.3.36",
123123
"@swc/jest": "^0.2.36",
124124
"@testing-library/dom": "^10.4.1",
@@ -147,7 +147,7 @@
147147
"eslint-plugin-jsx-a11y": "^6.10.2",
148148
"eslint-plugin-react": "^7.37.5",
149149
"eslint-plugin-react-hooks": "^5.2.0",
150-
"eslint-plugin-storybook": "^9.1.2",
150+
"eslint-plugin-storybook": "^10.0.0",
151151
"husky": "^6.0.0",
152152
"jest": "^29.7.0",
153153
"jest-environment-jsdom": "^29.7.0",
@@ -164,7 +164,7 @@
164164
"react-test-renderer": "^19.1.1",
165165
"rimraf": "^6.0.1",
166166
"size-limit": "^8.2.6",
167-
"storybook": "^9.1.2",
167+
"storybook": "^10.0.0",
168168
"storybook-addon-turbo-build": "^2.0.1",
169169
"styled-components": "^6.1.19",
170170
"swc-loader": "^0.2.6",
@@ -181,4 +181,4 @@
181181
"node": ">=22.14.0",
182182
"pnpm": "^10.0.0"
183183
}
184-
}
184+
}

0 commit comments

Comments
 (0)