Skip to content

Commit

Permalink
build(deps): Update storybook to 6.2.x (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonlenz committed May 12, 2021
1 parent fcc332b commit df062ec
Show file tree
Hide file tree
Showing 3 changed files with 1,388 additions and 1,247 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-react": "^7.10.4",
"@storybook/addon-essentials": "^6.1.5",
"@storybook/react": "^6.1.5",
"@storybook/addon-essentials": "^6.2.9",
"@storybook/react": "^6.2.9",
"@storybook/storybook-deployer": "^2.8.6",
"@testing-library/dom": "^7.22.3",
"@testing-library/jest-dom": "^5.3.0",
Expand Down Expand Up @@ -99,7 +99,7 @@
"eslint-plugin-react-hooks": "^4.0.0",
"eslint-plugin-security": "^1.4.0",
"file-loader": "^6.0.0",
"happo-plugin-storybook": "^2.5.3",
"happo-plugin-storybook": "^2.7.0",
"happo.io": "^6.0.0",
"husky": "^4.3.8",
"jest": "^26.1.0",
Expand Down
10 changes: 9 additions & 1 deletion src/components/forms/TimePicker/TimePicker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,19 @@ export const completeTimePicker = (argTypes): React.ReactElement => (
label="Appointment Time"
hint="hh:mm"
onChange={noop}
disabled={argTypes.disabled}
/>
</Form>
)

export const defaultTimePicker = (argTypes): React.ReactElement => (
<Form onSubmit={argTypes.onSubmit}>
<TimePicker id="appointment-time" name="appointment-time" onChange={noop} />
<TimePicker
id="appointment-time"
name="appointment-time"
onChange={noop}
disabled={argTypes.disabled}
/>
</Form>
)

Expand All @@ -55,6 +61,7 @@ export const withMinAndMaxTimes = (argTypes): React.ReactElement => (
minTime="9:00"
maxTime="17:00"
onChange={noop}
disabled={argTypes.disabled}
/>
</Form>
)
Expand All @@ -68,6 +75,7 @@ export const withDefaultValue = (argTypes): React.ReactElement => (
hint="hh:mm"
defaultValue="12:00"
onChange={noop}
disabled={argTypes.disabled}
/>
</Form>
)
Loading

0 comments on commit df062ec

Please sign in to comment.