- ES7 property initializers are now used to set initial state in all components rather than
componentWillMount
- A lot of documentation to the README
- Deploy script to
./example
app which deploys to github pages
- Changed default export from
Dat
toDatGui
- Removed custom check box styling from
DatBoolean
component - Ensured sliders are the same height as number inputs
- Minor style changes for consistency
- Housekeeping in preparation for
v1.0.0
DatPresets
component - this allows you to set presets for your DatGUI component and switch between them easily
- Removed final reference to
reactcss
, this can be completely removed from dependencies now - Removed unnecessary arrow functions in some
setState
callbacks - Fixed bug where
DatNumber
input updates weren't updating sliders
DatColor
component - this allows color pickers, powered byreact-color
to be rendered for mutating colors- Added
example:promote
script for pushing development code up fromexample/src/dev
intosrc
- Example updated with
DatColor
included
DatSelect
component
- Example updated with
DatSelect
included
- Support for nested folders via
DatFolder
- Example
App.js
has been updated to include a nested folder example
- SCSS is now broken up into partials which align with the various components
- Added
DatFolder
component - Added this to the example
- Updated component files to use
.js
file extension rather than.jsx
- Removed
examples
directory and created singleexample
directory which is now powered bycreate-react-app
- Rewrote
webpack.config.js
so that it is compatible with Webpack v2 - Updated a bunch of dependencies in
package.json
- Separated out
Slider
component fromDatNumber
and also addedutils
file - Switched all event handlers in components to ES7 syntax
- Some code formatting
- Changed
build
directory todist
example
directorysrc/components/Slider.js
src/components/utils.js
src/style
directory.editorconfig
file.eslintrc.json
file.babelrc
filescripts
directory- A number of
npm
scripts topackage.json
- This change log!
- The build no longer creates minified files, can add these back if required but I think it's better for the user to perform this step in their own build pipeline
- ES5 examples, don't think many people are coding with React and ES5 nowadays