Skip to content

Commit 7c82e6b

Browse files
committed
meta: bump the storybook group with 4 updates
1 parent e753dd2 commit 7c82e6b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+288
-751
lines changed

packages/ui-components/.storybook/preview.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { withThemeByDataAttribute } from '@storybook/addon-themes';
2-
import type { Preview, ReactRenderer } from '@storybook/react';
2+
import type { Preview, ReactRenderer } from '@storybook/react-webpack5';
33

44
import { NotificationProvider } from '#ui/Providers/NotificationProvider';
55

@@ -10,8 +10,11 @@ import '#ui/styles/index.css';
1010
const preview: Preview = {
1111
parameters: {
1212
chromatic: { modes: STORYBOOK_MODES },
13-
viewport: { defaultViewport: 'large', viewports: STORYBOOK_SIZES },
13+
viewport: {
14+
options: STORYBOOK_SIZES,
15+
},
1416
},
17+
1518
decorators: [
1619
Story => (
1720
<NotificationProvider>
@@ -27,6 +30,13 @@ const preview: Preview = {
2730
// this can be removed, since `withThemeByDataAttribute`
2831
// will return the same type that is accepted by `Preview`
2932
] as Preview['decorators'],
33+
34+
initialGlobals: {
35+
viewport: {
36+
value: 'large',
37+
isRotated: false,
38+
},
39+
},
3040
};
3141

3242
export default preview;

packages/ui-components/__design__/colors.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
export const Colors: StoryObj = {
44
render: () => (

packages/ui-components/__design__/effects.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
export const H1Special: StoryObj = {
44
render: () => <h1 className="special">Special H1</h1>,

packages/ui-components/__design__/font-family.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
export const FontFamily: StoryObj = {
44
render: () => (

packages/ui-components/__design__/list.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
export const OrderedLists: StoryObj = {
44
render: () => (

packages/ui-components/__design__/node-logos.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
import { JsWhite, Nodejs } from '#ui/Icons/Logos';
44

packages/ui-components/__design__/platform-logos.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
import {
44
Docker,

packages/ui-components/__design__/social-logos.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
import {
44
Bluesky,

packages/ui-components/__design__/table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
const tableData = [
44
['Data 1', 'Data 2', 'Data 3'],

packages/ui-components/__design__/text.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Meta as MetaObj, StoryObj } from '@storybook/react';
1+
import type { Meta as MetaObj, StoryObj } from '@storybook/react-webpack5';
22

33
export const Anchor: StoryObj = {
44
render: () => (

0 commit comments

Comments
 (0)