Skip to content

Add hover style & flippable prop to Timepicker and Datepicker #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 29, 2016

Conversation

donnieberg
Copy link
Contributor

@donnieberg donnieberg commented Jun 27, 2016

No description provided.

@tweettypography tweettypography temporarily deployed to design-system-react-com-pr-353 June 27, 2016 20:09 Inactive
@donnieberg donnieberg changed the title Add hover/focus style to Timepicker and Datepicker Add hover style to Timepicker and Datepicker Jun 27, 2016
@donnieberg
Copy link
Contributor Author

@tweettypography I'm going to add one more feature here, so please hold off on merging for now.

@tweettypography tweettypography temporarily deployed to design-system-react-com-pr-353 June 28, 2016 00:51 Inactive
@donnieberg
Copy link
Contributor Author

Ok, it's good to go :)


storiesOf(TIME_PICKER, module)
.addDecorator(getStory => <div className="slds-p-around--medium">{getStory()}</div>)
.add('Base', () => getTimepicker({ stepInMinutes: 30, onDateChange: handleDateChange }))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this custom handleDateChange method you can actually just write onDateChange: action('onDateChange') to log your events in Storybook.

@donnieberg donnieberg changed the title Add hover style to Timepicker and Datepicker Add hover style & flippable prop to Timepicker and Datepicker Jun 28, 2016
@tweettypography tweettypography temporarily deployed to design-system-react-com-pr-353 June 28, 2016 17:08 Inactive
@tweettypography tweettypography temporarily deployed to design-system-react-com-pr-353 June 29, 2016 17:04 Inactive
@donnieberg
Copy link
Contributor Author

@tweettypography I made the flippable prop not default to true anymore. Would you please review again?

@donnieberg
Copy link
Contributor Author

actually.. let me bump the version and add this note to the changelog :)

@donnieberg
Copy link
Contributor Author

Okie doke, good to go!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants