612 Commits

Author SHA1 Message Date
Norbert de Langen
c98a11a561
FIX tests && FIX snapshots 2018-10-23 14:32:23 +02:00
Norbert de Langen
3f6f69914b
FIX knobs select to actually support rich values 2018-10-23 09:49:34 +02:00
Michael Shilman
8fb0caa37e v4.0.0-rc.2 2018-10-22 21:39:03 +08:00
Michael Shilman
46d89b3e61 v4.0.0-rc.1 2018-10-18 09:54:01 +08:00
Norbert de Langen
3908fd3e00
FIX Proptype & add example 2018-10-17 15:11:26 +02:00
Michael Shilman
76b3c817a1 v4.0.0-rc.0 2018-10-15 23:39:49 +08:00
Michael Shilman
155afad695 v4.0.0-alpha.25 2018-10-13 17:36:43 +08:00
Filipp Riabchun
9fb1603d36
Merge pull request #4304 from jonmilner/master
add height and overflow fixes to addon panel styles
2018-10-13 11:08:07 +02:00
Filipp Riabchun
ea90cf618c
Merge branch 'master' into master 2018-10-13 01:07:14 +02:00
Norbert de Langen
ded247bef2
IMPROVE styling 2018-10-12 13:16:58 +02:00
Norbert de Langen
825d4ec53b
CHANGE knob/Date to a native datepicker 2018-10-12 11:06:28 +02:00
do7be
c51b1ebf53 fix Array value types to string 2018-10-10 10:48:10 +09:00
Jon Milner
711611d610 add height and overflow fixes to addon panel styles 2018-10-05 19:01:01 -04:00
Michael Shilman
bdc8120ab9 v4.0.0-alpha.24 2018-10-04 01:24:20 -07:00
Norbert de Langen
1717f9f4b9
Merge pull request #4222 from EloB/patch-1
Fix broken colorpicker for knobs
2018-09-27 08:51:30 +02:00
Michael Shilman
2ca9c34c4c v4.0.0-alpha.23 2018-09-25 15:40:49 -07:00
Pavan Kumar Sunkara
8c34f168cf Upgrade deps dealing with license issues 2018-09-25 23:08:33 +02:00
Pavan Kumar Sunkara
368cbc3efd Remove unneeded top level dependencies 2018-09-25 01:14:56 +02:00
Olle Bröms
ccfb1f116b Fix that colorpicker shows up on click 2018-09-24 15:50:13 +02:00
Michael Shilman
5112b52004 v4.0.0-alpha.22 2018-09-19 14:00:53 -07:00
Pavan Kumar Sunkara
84fd7939f7 Added publishConfig.access = public to all packages we are publishing 2018-09-19 18:24:32 +02:00
Connor Holyday
cae9d469f3
Fix new radio section of Readme 2018-09-11 23:20:02 +01:00
Michael Shilman
729607334c v4.0.0-alpha.21 2018-09-07 10:17:06 -07:00
Michael Shilman
620dc75db0 v4.0.0-alpha.20 2018-08-31 15:58:57 -07:00
Michael Shilman
caaf1aa090 v4.0.0-alpha.19 2018-08-31 14:46:16 -07:00
Norbert de Langen
8583e73251
UPGRADE to latest && FIX snapshots && FIX tests 2018-08-31 14:18:59 +02:00
Norbert de Langen
7a4454c8b0
UPGRADE to emotion 10 && UPGRADE universal-dotenv 2018-08-31 12:18:01 +02:00
Michael Shilman
324da43c22 v4.0.0-alpha.18 2018-08-25 13:57:15 -07:00
Michael Shilman
3a470c6ea8 v4.0.0-alpha.17 2018-08-24 11:40:14 -07:00
Norbert de Langen
a039c96426
Merge branch 'master' into babel-7
# Conflicts:
#	MIGRATION.md
#	addons/backgrounds/package.json
#	addons/events/package.json
#	addons/info/package.json
#	addons/info/src/__snapshots__/index.test.js.snap
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/links/package.json
#	addons/notes/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	app/angular/package.json
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react/package.json
#	app/vue/package.json
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/html-kitchen-sink/package.json
#	examples/marko-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/official-storybook/stories/__snapshots__/addon-info.stories.storyshot
#	examples/official-storybook/stories/__snapshots__/other-dirname.stories.storyshot
#	examples/polymer-cli/package.json
#	examples/vue-kitchen-sink/package.json
#	jest.config.js
#	lib/cli/package.json
#	lib/cli/test/snapshots/angular-cli/package.json
#	lib/cli/test/snapshots/marko/package.json
#	lib/cli/test/snapshots/meteor/package.json
#	lib/cli/test/snapshots/mithril/package.json
#	lib/cli/test/snapshots/polymer/package.json
#	lib/cli/test/snapshots/react/package.json
#	lib/cli/test/snapshots/react_project/package.json
#	lib/cli/test/snapshots/react_scripts/package.json
#	lib/cli/test/snapshots/sfc_vue/package.json
#	lib/cli/test/snapshots/update_package_organisations/package.json
#	lib/cli/test/snapshots/vue/package.json
#	lib/cli/test/snapshots/webpack_react/package.json
#	lib/codemod/package.json
#	lib/components/src/layout/__snapshots__/index.stories.storyshot
#	lib/core/package.json
#	lib/core/src/server/config/webpack.config.prod.js
#	package.json
#	yarn.lock
2018-08-15 00:01:36 +02:00
Michael Shilman
52f0bc687a v4.0.0-alpha.16 2018-08-06 22:25:51 +08:00
Norbert de Langen
935cefd27a
FIX linting issues after eslint upgrade (partial fix) 2018-08-05 17:57:17 +02:00
Norbert de Langen
947e9bad62
UPGRADE all minor dependencies 2018-08-04 00:41:08 +02:00
Michael Shilman
819ff14255 v4.0.0-alpha.15 2018-08-03 17:56:23 +08:00
Norbert de Langen
9e87a74bc9
Merge pull request #3922 from astrotim/addon-knobs-radios-horizontal
horizontal display for addon-knobs radios UI
2018-08-02 22:47:52 +02:00
igor-dv
6ee44ad4d5 Remove badges from the inner READMEs 2018-07-31 19:34:05 +03:00
Tim Holt
84c0de93f1 added horizontal styling for addon-knobs radios 2018-07-26 21:51:51 +10:00
t_hammb
4dbc6e2732 fixing addon type naming conventions. 2018-07-23 13:43:11 -07:00
t_hammb
1d0b2eaf2f updating snapshots to reflect radio button knob type addition. 2018-07-20 15:28:51 -07:00
t_hammb
912e9198e6 fixing errors from unsuccessful checks. 2018-07-19 14:14:09 -07:00
t_hammb
525bee5a07 fixing more errors and cleaning up code. 2018-07-18 11:28:29 -07:00
t_hammb
ac0394c215 fixing changes that needed to be made after PR was reviewed. 2018-07-18 11:13:21 -07:00
t_hammb
a805407623 adding information about radio button addon to documentation 2018-07-17 20:26:50 -07:00
Bryce Hammond
28a14d322f Add radio buttons knob type 2018-07-17 16:17:57 -07:00
Norbert de Langen
ba544ef8e1
Merge branch 'master' into babel-7
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/events/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/knobs/package.json
#	addons/links/package.json
#	addons/notes/package.json
#	addons/options/package.json
#	addons/storyshots/storyshots-core/package.json
#	addons/storyshots/storyshots-puppeteer/package.json
#	addons/storysource/package.json
#	addons/viewport/package.json
#	app/angular/package.json
#	app/html/package.json
#	app/marko/package.json
#	app/mithril/package.json
#	app/polymer/package.json
#	app/react/package.json
#	app/vue/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/html-kitchen-sink/package.json
#	examples/marko-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/vue-kitchen-sink/package.json
#	lib/cli/package.json
#	lib/cli/test/snapshots/angular-cli/package.json
#	lib/cli/test/snapshots/marko/package.json
#	lib/cli/test/snapshots/meteor/package.json
#	lib/cli/test/snapshots/mithril/package.json
#	lib/cli/test/snapshots/polymer/package.json
#	lib/cli/test/snapshots/react/package.json
#	lib/cli/test/snapshots/react_native/package.json
#	lib/cli/test/snapshots/react_native_scripts/package.json
#	lib/cli/test/snapshots/react_project/package.json
#	lib/cli/test/snapshots/react_scripts/package.json
#	lib/cli/test/snapshots/sfc_vue/package.json
#	lib/cli/test/snapshots/update_package_organisations/package.json
#	lib/cli/test/snapshots/vue/package.json
#	lib/cli/test/snapshots/webpack_react/package.json
#	lib/core/package.json
#	yarn.lock
2018-07-16 10:57:17 -07:00
Norbert de Langen
42a7769292
Merge pull request #3866 from IanVS/fix-knobs-for-older-react
Fix knobs for React < 16.3
2018-07-13 23:05:10 -07:00
Ian VanSchooten
1652d64635 Use shouldComponentUpdate instead of PureComponent
Because the `knob` object prop is being regenerated each time the
parent re-renders, we can’t use the shallow prop comparison that 
PureComponent does.  So this uses a `shouldComponentUpdate` instead,
which in most cases just compares the `knob.value` prop to see if it
has changed.  I don’t believe that the `name` is changed between
renders.  Same goes for number range configurations and array
separators.
2018-07-12 11:53:16 +02:00
Ian VanSchooten
554da3b295 Expand NumberType PropTypes
It seems that some were not being accounted for.
2018-07-12 11:47:25 +02:00
Michael Shilman
e5e1e3aff8 v4.0.0-alpha.14 2018-07-11 17:13:57 -07:00
Ian VanSchooten
cd544662bb Fix knobs for React < 16.3
The `getDerivedStateFromProps` lifecycle method was added in React 16.3,
and older versions of react won’t execute it.  Many of the knob components
were relying on this function to initialize component state, and so in
older versions of react state was undefined, and grabbing `value` would
blow up.

Most of the usages in these components were to memoize props, but that
can be handled more cleanly through the use of `PureComponent`, as 
mentioned in:
https://reactjs.org/blog/2018/06/07/you-probably-dont-need-derived-state.html#what-about-memoization
2018-07-10 12:34:25 +02:00