@storybook/addon-interactions 6.5.0-alpha.28 → 6.5.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ts3.4/components/Subnav/Subnav.d.ts +1 -1
- package/dist/ts3.9/components/Subnav/Subnav.d.ts +1 -1
- package/package.json +9 -9
- package/dist/cjs/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/cjs/typings.d.js +0 -1
- package/dist/esm/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/esm/typings.d.js +0 -0
- package/dist/modern/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/modern/typings.d.js +0 -0
|
@@ -8,5 +8,5 @@ export interface SubnavProps {
|
|
|
8
8
|
storyFileName?: string;
|
|
9
9
|
onScrollToEnd?: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const StyledIconButton: import("@emotion
|
|
11
|
+
export declare const StyledIconButton: import("@storybook/theming/dist/ts3.9/_modules/@emotion-styled-base-types-index").StyledComponent<any, Pick<any, string | number | symbol>, import("@storybook/theming").Theme>;
|
|
12
12
|
export declare const Subnav: React.FC<SubnavProps>;
|
|
@@ -8,5 +8,5 @@ export interface SubnavProps {
|
|
|
8
8
|
storyFileName?: string;
|
|
9
9
|
onScrollToEnd?: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const StyledIconButton: import("@emotion
|
|
11
|
+
export declare const StyledIconButton: import("@storybook/theming/dist/ts3.9/_modules/@emotion-styled-base-types-index").StyledComponent<any, Pick<any, string | number | symbol>, import("@storybook/theming").Theme>;
|
|
12
12
|
export declare const Subnav: React.FC<SubnavProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/addon-interactions",
|
|
3
|
-
"version": "6.5.0-alpha.
|
|
3
|
+
"version": "6.5.0-alpha.31",
|
|
4
4
|
"description": "Automate, test and debug user interactions",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook-addons",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"prepare": "node ../../scripts/prepare.js"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@storybook/addons": "6.5.0-alpha.
|
|
45
|
-
"@storybook/api": "6.5.0-alpha.
|
|
46
|
-
"@storybook/components": "6.5.0-alpha.
|
|
47
|
-
"@storybook/core-common": "6.5.0-alpha.
|
|
48
|
-
"@storybook/core-events": "6.5.0-alpha.
|
|
44
|
+
"@storybook/addons": "6.5.0-alpha.31",
|
|
45
|
+
"@storybook/api": "6.5.0-alpha.31",
|
|
46
|
+
"@storybook/components": "6.5.0-alpha.31",
|
|
47
|
+
"@storybook/core-common": "6.5.0-alpha.31",
|
|
48
|
+
"@storybook/core-events": "6.5.0-alpha.31",
|
|
49
49
|
"@storybook/csf": "0.0.2--canary.87bc651.0",
|
|
50
|
-
"@storybook/instrumenter": "6.5.0-alpha.
|
|
51
|
-
"@storybook/theming": "6.5.0-alpha.
|
|
50
|
+
"@storybook/instrumenter": "6.5.0-alpha.31",
|
|
51
|
+
"@storybook/theming": "6.5.0-alpha.31",
|
|
52
52
|
"global": "^4.4.0",
|
|
53
53
|
"jest-mock": "^27.0.6",
|
|
54
54
|
"polished": "^4.0.5",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "6e124b7c457588818d07583ca576ec3c0995f809",
|
|
78
78
|
"sbmodern": "dist/modern/index.js",
|
|
79
79
|
"storybook": {
|
|
80
80
|
"displayName": "Interactions",
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Story } from '@storybook/addon-docs';
|
|
2
|
-
import { expect } from '@storybook/jest';
|
|
3
|
-
import { within, waitFor, fireEvent, userEvent } from '@storybook/testing-library';
|
|
4
|
-
|
|
5
|
-
import { AccountForm } from './AccountForm';
|
|
6
|
-
|
|
7
|
-
<Meta
|
|
8
|
-
title="Addons/Interactions/Mdx"
|
|
9
|
-
component={AccountForm}
|
|
10
|
-
parameters={{ layout: 'centered', theme: 'light' }}
|
|
11
|
-
argTypes={{
|
|
12
|
-
onSubmit: { action: true },
|
|
13
|
-
}}
|
|
14
|
-
/>
|
|
15
|
-
|
|
16
|
-
## AccountForm
|
|
17
|
-
|
|
18
|
-
<Canvas>
|
|
19
|
-
<Story
|
|
20
|
-
name="StandardEmailFilled"
|
|
21
|
-
args={{
|
|
22
|
-
passwordVerification: false,
|
|
23
|
-
}}
|
|
24
|
-
play={async (context) => {
|
|
25
|
-
const { args, canvasElement } = context
|
|
26
|
-
const canvas = within(canvasElement)
|
|
27
|
-
|
|
28
|
-
await userEvent.type(canvas.getByTestId('email'), 'username@email.com')
|
|
29
|
-
await userEvent.type(canvas.getByTestId('password1'), 'thepassword')
|
|
30
|
-
await userEvent.click(canvas.getByRole('button', { name: /create account/i }))
|
|
31
|
-
expect(args.onSubmit).not.toHaveBeenCalled()
|
|
32
|
-
}}/>
|
|
33
|
-
</Canvas>
|
package/dist/cjs/typings.d.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Story } from '@storybook/addon-docs';
|
|
2
|
-
import { expect } from '@storybook/jest';
|
|
3
|
-
import { within, waitFor, fireEvent, userEvent } from '@storybook/testing-library';
|
|
4
|
-
|
|
5
|
-
import { AccountForm } from './AccountForm';
|
|
6
|
-
|
|
7
|
-
<Meta
|
|
8
|
-
title="Addons/Interactions/Mdx"
|
|
9
|
-
component={AccountForm}
|
|
10
|
-
parameters={{ layout: 'centered', theme: 'light' }}
|
|
11
|
-
argTypes={{
|
|
12
|
-
onSubmit: { action: true },
|
|
13
|
-
}}
|
|
14
|
-
/>
|
|
15
|
-
|
|
16
|
-
## AccountForm
|
|
17
|
-
|
|
18
|
-
<Canvas>
|
|
19
|
-
<Story
|
|
20
|
-
name="StandardEmailFilled"
|
|
21
|
-
args={{
|
|
22
|
-
passwordVerification: false,
|
|
23
|
-
}}
|
|
24
|
-
play={async (context) => {
|
|
25
|
-
const { args, canvasElement } = context
|
|
26
|
-
const canvas = within(canvasElement)
|
|
27
|
-
|
|
28
|
-
await userEvent.type(canvas.getByTestId('email'), 'username@email.com')
|
|
29
|
-
await userEvent.type(canvas.getByTestId('password1'), 'thepassword')
|
|
30
|
-
await userEvent.click(canvas.getByRole('button', { name: /create account/i }))
|
|
31
|
-
expect(args.onSubmit).not.toHaveBeenCalled()
|
|
32
|
-
}}/>
|
|
33
|
-
</Canvas>
|
package/dist/esm/typings.d.js
DELETED
|
File without changes
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Story } from '@storybook/addon-docs';
|
|
2
|
-
import { expect } from '@storybook/jest';
|
|
3
|
-
import { within, waitFor, fireEvent, userEvent } from '@storybook/testing-library';
|
|
4
|
-
|
|
5
|
-
import { AccountForm } from './AccountForm';
|
|
6
|
-
|
|
7
|
-
<Meta
|
|
8
|
-
title="Addons/Interactions/Mdx"
|
|
9
|
-
component={AccountForm}
|
|
10
|
-
parameters={{ layout: 'centered', theme: 'light' }}
|
|
11
|
-
argTypes={{
|
|
12
|
-
onSubmit: { action: true },
|
|
13
|
-
}}
|
|
14
|
-
/>
|
|
15
|
-
|
|
16
|
-
## AccountForm
|
|
17
|
-
|
|
18
|
-
<Canvas>
|
|
19
|
-
<Story
|
|
20
|
-
name="StandardEmailFilled"
|
|
21
|
-
args={{
|
|
22
|
-
passwordVerification: false,
|
|
23
|
-
}}
|
|
24
|
-
play={async (context) => {
|
|
25
|
-
const { args, canvasElement } = context
|
|
26
|
-
const canvas = within(canvasElement)
|
|
27
|
-
|
|
28
|
-
await userEvent.type(canvas.getByTestId('email'), 'username@email.com')
|
|
29
|
-
await userEvent.type(canvas.getByTestId('password1'), 'thepassword')
|
|
30
|
-
await userEvent.click(canvas.getByRole('button', { name: /create account/i }))
|
|
31
|
-
expect(args.onSubmit).not.toHaveBeenCalled()
|
|
32
|
-
}}/>
|
|
33
|
-
</Canvas>
|
package/dist/modern/typings.d.js
DELETED
|
File without changes
|