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 #11

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
8ab7d12
3: Initial introduction of React
Sep 26, 2019
0b1986c
Merge branch 'master' into feature/3-create-react-version
Sep 26, 2019
6a0fad6
Quick: Update HTML with form `master`
Sep 26, 2019
a2fb0e0
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Sep 26, 2019
7c155c2
Quick: Remove unnecessary commented code
Sep 26, 2019
69d0fca
3: Extract 2 components as static (later, dynamic)
Sep 27, 2019
8e8c0d7
3: WIP: Break up `react/card` into components
Sep 27, 2019
4a000c2
3: WIP: Break up `react/card` into components
Sep 27, 2019
fec7817
Merge branch 'feature/3-create-react-version' of github.com:wesleyboa…
Sep 27, 2019
eeacbe0
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Sep 27, 2019
1744cb8
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Sep 28, 2019
bb29b1b
333: MIgrate disable/preview feature to React
Sep 29, 2019
c256c87
Quick: Migrate more `typedef` to `typedef.jsdoc`
Sep 29, 2019
ef7c10a
Quick: Rename JSDOc desc for `CLASSNAMES`
Sep 29, 2019
4a4e61e
3: Migrate `output` update features (and some tweaks)
Sep 29, 2019
e63f791
Quick: Rename props in `Toggle`
Sep 29, 2019
ae2d2f4
3: Quick: Fix markup typos made during conversion
Sep 29, 2019
03ea14f
Quick: Update TODOs
Sep 29, 2019
bfbb798
3: Add pos/neg class feature (and fix markup typo)
Sep 29, 2019
f2b0cc6
Quick: Notes and var rename: CLASSNAMES_2 → …_AI
Sep 30, 2019
8e7289f
Quick: Add new TODO for `element-input`
Sep 30, 2019
43fb275
Quick: Remove TODOs; move comments to markup
Sep 30, 2019
41d87fa
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Sep 30, 2019
bdb5c8e
Quick: Transfer markup changes to `react/card.js`
Sep 30, 2019
4e5c37b
3: Propogate classnames (and other props)
Sep 30, 2019
a922292
Quick: Prepend `TODO` to items in `TODO.md`
Sep 30, 2019
957c9e7
Quick: Convert to TODO's into NOTEs
Sep 30, 2019
8093856
3: Support `PropTypes` and "CustomTypes" (and…)
Sep 30, 2019
9f12fc5
3: Optional `onChange` for `select`s and `Toggle`
Sep 30, 2019
9c2fab2
Quick: Rename `…IsActive…` to `…PreviewToggle…`
Sep 30, 2019
5896552
Quick: Remove extra line
Sep 30, 2019
5920318
Quick: Add new TODO
Sep 30, 2019
9c81e8a
3: Fix: React ignorant of default DOM select value
Oct 1, 2019
6cbbe9d
Quick: Remove ineffectual `name` attribute
Oct 1, 2019
138fc50
Noop: Comment text formatting and move property
Oct 1, 2019
8cf3508
3: Support `onChange` for `AttributeInput`
Oct 1, 2019
3153508
Quick: Add TODO for using unique id for key
Oct 1, 2019
1bbb74a
3: Set prop default values during deconstruction
Oct 1, 2019
e6e2980
Noop: Add more text to comments
Oct 1, 2019
cb938ec
Quick: Rename `fieldAttrs` to `markupAttrs`
Oct 1, 2019
97c70e4
Quick: Support `markupAttrs` on `Card`
Oct 1, 2019
c88683b
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Oct 1, 2019
a1e33ae
Quick: Remove deprecated className (on React html)
Oct 1, 2019
bebf3ca
Noop: Document `markupAttrs` as wildcard props
Oct 1, 2019
e868c08
Noop: Reword from "HTML `id`" to "Markup `id`"
Oct 1, 2019
c50f85a
3: Have `ShapeInput` & `ElementInput` use `Select`
Oct 1, 2019
ad8cd53
Quick: Add ESLint for React and fix issues
Oct 1, 2019
4c52c04
Noop: Remove outdated TODO comments
Oct 1, 2019
dba7819
Quick: Add `ReactHelpers.getKey`
Oct 1, 2019
7b295d0
3: Get or make unique `key`s for `<option>`s
Oct 1, 2019
ba37389
Noop: Update TODO comments
Oct 1, 2019
aed0578
Merge branch 'feature/9-create-build-process' into feature/3-create-r…
Oct 6, 2019
4bceec4
3: Update React app for build process & vice-versa
Oct 8, 2019
db740e9
Quick: Cleanup `rollup.config.js`
Oct 8, 2019
15d006f
Quick: Add new TODOs for multiple `package.json`'s
Oct 8, 2019
2bd3f08
Quick: Add more TODOs
Oct 8, 2019
641a1df
Merge branch 'epic/1-compare-component-libraries' into feature/3-crea…
Oct 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
// SEE: https://rollupjs.org/guide/en/#babel
{
"plugins": [
["transform-inline-environment-variables", {
"include": [
"NODE_ENV"
]
}]
],
"presets": [
["@babel/env", {"modules": false }]
["@babel/env", {"modules": false }],
["@babel/preset-react", {"modules": false }]
]
}
3 changes: 2 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Supported Browsers

last 2 versions
# i.e. "defaults" as of 2019
> 0.5%, last 2 versions, Firefox ESR, not dead
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true
},
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"root": true
}
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- TODO: Migrate component styles to React components.
- TODO: Split project into packages:
- parent `package.json` (shared code)
- children `package.json`'s (app-specific code)
- TODO: Create test cases for each component.
- See [Testing Recipies #Rendering - React](https://reactjs.org/docs/testing-recipes.html#rendering)
Loading