Skip to content
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

Feature/3 create react version #14

Conversation

wesleyboar-fka-iosulfur
Copy link
Collaborator

Resolves issue #3.

Wesley B added 30 commits October 9, 2019 15:04
I.e. `npm install --save-dev rollup-plugin-postcss`
Also, allow `groupLabel` in `OptionList` to generate more reliable ID.
I.e. Integrate `rollup-plugin-postcss`
- `tagName`
- `className`
- `fieldClassName`
Seems ineffectual, but only because of an implicit display as flex item.
- Extract `c-toggle` component.
- Distinguish card sub-components from extracted modular components.
- Remove duplicate application of `markupAttrs`.
- Add `react/components/README.md`.
Wesley B added 25 commits October 16, 2019 17:28
- Rename `page--index` to `page--react|plain|index`.
- Split NPM script `build:styles` into `plain` and `shared`.
- Update `plain.html` markup.
- Add `plain`-specific `c-media-output` styles.
Keep using `data-value` for `plain/`.
- Do not preserve filename comment for file that has only comments.
- Add preserved filename comment for file that has styles.
- Add TODO to directly add class names.
- Add new service `markup` with function `joinClassnames`.
- Update `Gallery` to directly add class names.
- Remove TODO for this task.
- Add unused class `c-card__attr` for consistency.
- Add TODO for `joinClassNames` service.
- Use `joinClassNames` service liberally.
- Use `defaultProps` for `(c|…ClassName` values.
- Move around some attributes in markup.
- Use `tagName: TagName = React.Fragment` in props deconstruction.
- Use `tagAttrs` to only apply `className` if `props.tagName` exists.
- In markup, move `className` next to `id` if there is space.
- Use one `childClassName` instead of many `className`'s.
- Update JSDoc to explain when a `props.(c|…C)lassName` is additional.
- Use `joinClassNames` where it should be used (forgot in last commit).
- Move around markup attribtues to read more easily.
- Use service consistently.
- Add `console.debug` to log using provided ID, also.
- Update TODO for it to consider how to further simplify or abstract.
@wesleyboar-fka-iosulfur wesleyboar-fka-iosulfur merged commit bc8d546 into epic/1-compare-component-libraries Oct 19, 2019
@wesleyboar-fka-iosulfur wesleyboar-fka-iosulfur deleted the feature/3-create-react-version branch October 19, 2019 17:21
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.

1 participant