Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

feat: add button loading state and right arrow icon, #163 #200

Merged
merged 5 commits into from
May 3, 2022

Conversation

SarahHouben
Copy link
Member

Fixes: #163

TSIA
Screenshot 2022-05-03 at 12 23 30

Untitled.mov

@SarahHouben SarahHouben requested a review from a team May 3, 2022 14:34
Copy link
Member

@diondiondion diondiondion left a comment

Choose a reason for hiding this comment

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

Thanks Sarah, this looks great 🙏

I just left a few comments, and if you could add a little storybook story for accessibility testing that'd be great. :)

And while the Button tests are very spotty at the moment, it would probably still be a good idea to add a test for the accessible attributes and test content of the loading state. I just noticed that there's a slight risk that the loading text will be smushed together with the button label for the accessible label, e.g. "NextLoading…". Have to make sure that doesn't happen.

src/Button/README.stories.mdx Outdated Show resolved Hide resolved
src/Button/index.js Outdated Show resolved Hide resolved
src/Button/index.js Outdated Show resolved Hide resolved
src/Button/index.js Outdated Show resolved Hide resolved
src/Icon/iconMap.js Show resolved Hide resolved
@SarahHouben SarahHouben merged commit 3dc590a into master May 3, 2022
@SarahHouben SarahHouben deleted the 163-button-loading-button branch May 3, 2022 16:12
5app-Machine added a commit that referenced this pull request May 3, 2022
# [14.12.0](v14.11.0...v14.12.0) (2022-05-03)

### Features

* add button loading state and right arrow icon, [#163](#163) ([#200](#200)) ([3dc590a](3dc590a))
@5app-Machine
Copy link
Contributor

🎉 This PR is included in version 14.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Add loading state to Button component
3 participants