generated from timelessco/react-components-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
test(avatar): added avatar image loading/error tests #27
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/timelessco/renderlesskit-react-tailwind/i52h9p3ct |
navin-moorthy
added a commit
that referenced
this pull request
Jan 7, 2021
* test(avatar): added avatar image loading/error tests (#27) * feat(avatar): initial avatar api * feat(avatar): added badge & fallback support both * chore: remove rfc file * chore: remove extra div layer * chore: types refactor & export all types * feat(avatar): added initial AvatarGroup * feat(avatar): added AvatarGroup component * refactor(avatar): extracted out AvatarImage * chore: added tooltip storybook to avatar * test(avatar): added test for avatar component * test(avatar): added test for AvatarGroup * style(avatar): match avatar size with figma file * chore(avatar): fix avatar icon prop * feat(avatar): added responsive badges and statuses * test(avatar): added avatar image load tests * chore: cleanups * test: added common test utils (#29) * test: added a11y test util * chore: test naming change * test: improved & extracted out mockImage * feat(variant): ✨ add before variant * feat(stack): ✨ stack with other variants * feat(variants): ✨ add missing variants with proper variant order * refactor(variants): ✨ use the base variants in the themes with pseudo classes * chore: theme css fixes * refactor(variants): ♻️ simplify config file * refactor(override): ♻️ remove overrides & fix tests * refactor(config): ♻️ remove attention seeking comments Co-authored-by: Anurag Hazra <[email protected]>
navin-moorthy
added a commit
that referenced
this pull request
Jan 18, 2021
* feat(context): ✨ add themecontext exp * feat(theme): ✨ finish theme provider experiment * chore: remove themeType file and added ts types for extend * test: fixed all tests * feat(theme): ✨ provide ocx through context by getting the properties generated * build(theme): 👷 fix build error & variant override issue * feat: added typescript support for extended theme values * feat(theme): ✨ add support for overridding pseudo variants aswell * feat(cli): ✨ add a cli for generating tailwind propertie npx https://gist.github.com/navin-moorthy/3f9dabd6b6c3aa0f8808a15883df7737 * fix(cli): 🐛 fix cli silent bug in window because of unix command * refactor(theme): ♻️ update types for theme file * feat(variant): ✨ add base `lib` variant (#32) * test(avatar): added avatar image loading/error tests (#27) * feat(avatar): initial avatar api * feat(avatar): added badge & fallback support both * chore: remove rfc file * chore: remove extra div layer * chore: types refactor & export all types * feat(avatar): added initial AvatarGroup * feat(avatar): added AvatarGroup component * refactor(avatar): extracted out AvatarImage * chore: added tooltip storybook to avatar * test(avatar): added test for avatar component * test(avatar): added test for AvatarGroup * style(avatar): match avatar size with figma file * chore(avatar): fix avatar icon prop * feat(avatar): added responsive badges and statuses * test(avatar): added avatar image load tests * chore: cleanups * test: added common test utils (#29) * test: added a11y test util * chore: test naming change * test: improved & extracted out mockImage * feat(variant): ✨ add before variant * feat(stack): ✨ stack with other variants * feat(variants): ✨ add missing variants with proper variant order * refactor(variants): ✨ use the base variants in the themes with pseudo classes * chore: theme css fixes * refactor(variants): ♻️ simplify config file * refactor(override): ♻️ remove overrides & fix tests * refactor(config): ♻️ remove attention seeking comments Co-authored-by: Anurag Hazra <[email protected]> * feat(button): ✨ improved the button with latest design * fix(scripts): 🐛 remove scripts * build(purge): 💚 add purge to the storybook * Improved storybook performance & migrate to forwardRefSimple (#33) * chore: improved storybook performance * chore: migrate rest of the components to forwardRefAsSimple * chore: added jsdoc comments in forwardRefWithAsSimple * build(purge): 💚 fix storybook missing styles * feat: added support for typesafe theming (#34) * feat: added support for typesafe theming * chore: global namespace instead of local, migrated all components to use getThemeValue * chore: added MergeTheme utility * feat: added theme preset support (#35) * feat: theme presert support for end users * chore: use generics to get the tailwind type from userland * chore: resolve default tailwindconfig from userland * feat: improved preset support * chore: fix test utils render types * chore: added tailwind default autocomplete support in preset * chore: migrate components to forwardRefWithAs * build(purge): 💚 update purge & improve variant generation * style(tag): matched tag styles to figma file * chore(deps): ⬆️ update deps & refactor storybook preview * test(icon): added test for Icon (#36) * test(icon): added tests for icon * chore: update snapshots * test: removed snapshot tests * build(styles): 💚 fix build by moving tailwind css to src Co-authored-by: Navin <[email protected]> Co-authored-by: Anurag <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.