Closed rohan-deshpande closed 7 years ago
omg <3
@rohan-deshpande thank you so so much, you are a hero!
Whoa thanks for the fast merge, I better update the readme!
Here's a pic of it in action inside my game engine
I already updated the readme, see above. Also, 1.0.2
is live on npm 🎉
Hey there! Awesome package man. I needed this for something I'm building and this served as an excellent starting point.
I started out with the aim to port as much of the original implementation as I could while following your patterns / ideas, here's a demo: https://rohan-deshpande.github.io/react-dat-gui/
As a result I've made a bunch of changes, here is my change log:
Release Notes
(2017-10-09)
v1.0.1
Changed
componentWillMount
(2017-10-09)
v1.0.0
Added
./example
app which deploys to github pagesChanged
Dat
toDatGui
(2017-10-08)
v0.0.21
Changed
DatBoolean
component(2017-10-08)
v0.0.20
Changed
v1.0.0
(2017-10-06)
v0.0.19
Added
DatPresets
component - this allows you to set presets for your DatGUI component and switch between them easilyChanged
reactcss
, this can be completely removed from dependencies nowsetState
callbacksDatNumber
input updates weren't updating sliders(2017-10-05)
v0.0.18
Added
DatColor
component - this allows color pickers, powered byreact-color
to be rendered for mutating colorsexample:promote
script for pushing development code up fromexample/src/dev
intosrc
Changed
DatColor
included(2017-10-04)
v0.0.17
Added
DatSelect
componentChanged
DatSelect
included(2017-10-03)
v0.0.16
Added
DatFolder
Changed
App.js
has been updated to include a nested folder example(2017-10-02)
v0.0.15
Changed
Added
DatFolder
component(2017-10-02)
v0.0.14
Changed
.js
file extension rather than.jsx
examples
directory and created singleexample
directory which is now powered bycreate-react-app
webpack.config.js
so that it is compatible with Webpack v2package.json
Slider
component fromDatNumber
and also addedutils
filebuild
directory todist
Added
example
directorysrc/components/Slider.js
src/components/utils.js
src/style
directory.editorconfig
file.eslintrc.json
file.babelrc
filescripts
directorynpm
scripts topackage.json
Removed
The repo has changed a bit as a result. I'm using
create-react-app
for thedev
andexample
apps now. The demo is something I whipped up quick because I couldn't find the source code to yours, it's now easily pushed to GItHub pages via an npm script. Would be happy to update back to what you had if you can make the source available. I'm thinking about doing one with threejs though.Let me know what you think of this, quite keen to get it merged back as there's a couple more features I'd like to add including local storage saving/loading and time travel.