patternfly-react
patternfly-react copied to clipboard
feat(Timestamp): create component
trafficstars
What: Closes #7729
Still to-do:
- [ ] Add classes (currently commented out the line that imports Timestamp styles)
- [ ] Add tests
- [ ] Possibly refactor some examples to utilize checkbox/select modifiers (i.e. the "Basic formats" example could use a single timestamp, and just have checkboxes/select menus for users to tinker with different prop values)
Additional issues:
Preview: https://patternfly-react-pr-7815.surge.sh
A11y report: https://patternfly-react-pr-7815-a11y.surge.sh
Looks awesome to me! 2 things:
- Looks like we're missing the
__textclass on thetimeelement. I'm assuming because that isn't showing up in react-styles since the class doesn't have any styles from core? In those instances, I believe what we do is hardcode the class so that it's there and we can reference it if we need without introducing a new class, but maybe one of the react devs can verify if that's still the case. I missed this comment earlier. Yeas @mcoker is correct and it looks like you already made the update.
Your changes have been released in:
- [email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- [email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- @patternfly/[email protected]
- [email protected]
Thanks for your contribution! :tada: