@storybook/addon-interactions 6.5.0-alpha.23 → 6.5.0-alpha.27
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/Tool.d.ts +1 -0
- package/dist/ts3.4/components/Interaction/Interaction.d.ts +1 -0
- package/dist/ts3.4/components/MatcherResult.d.ts +1 -0
- package/dist/ts3.4/components/MethodCall.d.ts +1 -0
- package/dist/ts3.9/Tool.d.ts +1 -0
- package/dist/ts3.9/components/Interaction/Interaction.d.ts +1 -0
- package/dist/ts3.9/components/MatcherResult.d.ts +1 -0
- package/dist/ts3.9/components/MethodCall.d.ts +1 -0
- package/package.json +9 -9
- package/dist/cjs/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/cjs/typings.d.ts +0 -1
- package/dist/esm/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/esm/typings.d.ts +0 -1
- package/dist/modern/components/AccountForm/addon-interactions.stories.mdx +0 -33
- package/dist/modern/typings.d.ts +0 -1
package/dist/ts3.4/Tool.d.ts
CHANGED
package/dist/ts3.9/Tool.d.ts
CHANGED
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.27",
|
|
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.27",
|
|
45
|
+
"@storybook/api": "6.5.0-alpha.27",
|
|
46
|
+
"@storybook/components": "6.5.0-alpha.27",
|
|
47
|
+
"@storybook/core-common": "6.5.0-alpha.27",
|
|
48
|
+
"@storybook/core-events": "6.5.0-alpha.27",
|
|
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.27",
|
|
51
|
+
"@storybook/theming": "6.5.0-alpha.27",
|
|
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": "2532ee915bc340aa4e1ca0f13afe5bc190f9903e",
|
|
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.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'global';
|
|
@@ -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.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'global';
|
|
@@ -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.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'global';
|