900 Commits

Author SHA1 Message Date
Hypnosphi
b07a636af9 Fix useChannel tests 2019-06-30 01:36:33 +03:00
Michael Shilman
298866f737 v5.2.0-alpha.32 2019-06-29 11:26:23 +08:00
Michael Shilman
d6843e3e5e v5.2.0-alpha.31 2019-06-27 12:29:29 +08:00
Michael Shilman
e5e0aab372 v5.2.0-alpha.30 2019-06-25 20:18:51 +08:00
Norbert de Langen
3d138f2021 Merge branch 'next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	examples/dev-kits/package.json
#	examples/html-kitchen-sink/package.json
2019-06-19 14:32:50 +02:00
Norbert de Langen
fbee3cdd5f CHANGE versions again, sorry, CLI tests use published version, we should really fix that! 2019-06-13 00:50:44 +02:00
Norbert de Langen
3e8bf519f7 CHANGE version to 5.2.0-unreleased, to stop the update PR spam 2019-06-12 13:26:44 +02:00
Norbert de Langen
88c2a98ce5 Merge branch 'next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	examples/html-kitchen-sink/package.json
2019-06-07 14:12:45 +02:00
MIchael Shilman
c2dfa5bf3d Merge remote-tracking branch 'origin/master' into next 2019-06-05 16:46:17 -07:00
Michael Shilman
70d6fcdcbe v5.1.0-rc.5 2019-06-04 10:56:14 -07:00
Michael Shilman
bb3e7f71cd Github org rename to storybookjs 2019-06-03 11:06:42 -07:00
Michael Shilman
1317bb14fa v5.1.0-rc.4 2019-06-02 23:36:17 -07:00
Hypnosphi
2c114ede63 Replace REGISTER_SUBSCRIPTION with useEffect hook 2019-06-01 17:14:43 +02:00
Michael Shilman
a589ab3987 v5.1.0-rc.3 2019-05-29 23:15:58 -07:00
Michael Shilman
50bd4c3a86 v5.1.0-rc.2 2019-05-27 07:14:35 -07:00
Michael Shilman
aa5c224534 v5.1.0-rc.1 2019-05-24 17:56:28 -07:00
Norbert de Langen
3f5d71ba8d Merge branch 'next' into fix/knobs-in-eject-url 2019-05-23 14:03:05 +02:00
Michael Shilman
35ec834e89 v5.1.0-rc.0 2019-05-21 04:07:28 -07:00
Norbert de Langen
5994174b35
Upgrade lodash to latest (#6832)
Upgrade lodash to latest
2019-05-20 20:52:11 +02:00
Steph Meslin-Weber
d610259d8b deps(all): replace old lodash modularised dependencies with recent tree-shakeable ones, add restricted packages eslint rules to avoid lodash modularised usage in future 2019-05-20 11:47:50 +01:00
Leo Y. Li
72926660bd BUGFIX v5.1.x change breaks Boolean knob (#6366)
Use ES6 argument default value assignment to handle `undefined` case,
which is never wanted; this prevent `false` cast to empty string (bug).
2019-05-20 00:42:24 -04:00
Norbert de Langen
1b8eb42bb2 FIX issue where the customQueryParams weren't being applied to the eject iframe button 2019-05-18 12:48:31 +02:00
Michael Shilman
e14539f712 v5.1.0-beta.1 2019-05-16 13:57:31 +08:00
Michael Shilman
564b11785e v5.1.0-beta.0 2019-05-10 16:44:58 +08:00
Michael Shilman
d4922ad481 v5.1.0-alpha.40 2019-05-08 23:30:52 +08:00
Norbert de Langen
a2f9242f7f Merge branch 'next' into pr/Spy-Seth/6655
# Conflicts:
#	addons/actions/package.json
#	addons/backgrounds/package.json
#	addons/cssresources/package.json
#	addons/events/package.json
#	addons/google-analytics/package.json
#	addons/info/package.json
#	addons/jest/package.json
#	addons/notes/package.json
#	addons/ondevice-backgrounds/package.json
#	addons/ondevice-knobs/package.json
#	addons/ondevice-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
#	lib/addons/package.json
#	lib/api/package.json
#	lib/channel-postmessage/package.json
#	lib/channel-websocket/package.json
#	lib/components/package.json
#	lib/router/package.json
#	lib/ui/package.json
#	yarn.lock
2019-05-06 11:51:04 +02:00
Michael Shilman
d2039e026d v5.1.0-alpha.39 2019-05-02 14:34:07 +08:00
Michael Shilman
a718441923 v5.1.0-alpha.38 2019-05-02 12:29:56 +08:00
Michael Shilman
ccc1d42948 v5.1.0-alpha.37 2019-05-01 18:57:23 +08:00
Armand Abric
569b55379f Upgrade to core-js v3 2019-04-27 18:14:56 +02:00
Michael Shilman
dd97c370e7 v5.1.0-alpha.36 2019-04-27 13:09:34 +08:00
Michael Shilman
e20d20a263 v5.1.0-alpha.35 2019-04-27 01:28:15 +08:00
Norbert de Langen
f939e1417a just a few little linting issues fixed 2019-04-25 17:59:37 +02:00
Michael Shilman
694460c087 v5.1.0-alpha.34 2019-04-24 23:02:08 +08:00
Charles Lehnert
9f2706d290 Check for color knob value existence before applying uppercase 2019-04-23 17:40:24 -04:00
Michael Shilman
23268e4fec v5.1.0-alpha.33 2019-04-23 14:25:37 +08:00
Michael Shilman
fb2798685d v5.1.0-alpha.32 2019-04-22 11:15:33 +08:00
Michael Shilman
72d8523811 v5.1.0-alpha.31 2019-04-19 12:51:49 +08:00
Michael Shilman
da66766ab9 v5.1.0-alpha.30 2019-04-18 09:18:21 +08:00
Michael Shilman
9397813103 v5.1.0-alpha.29 2019-04-17 16:25:55 +08:00
Michael Shilman
2a55ee012f v5.1.0-alpha.28 2019-04-16 18:37:41 +08:00
Arman Sargsyan
b08786086e fix(knobs): add groupId for files knob 2019-04-16 10:30:21 +03:00
Benoit Dion
632eabd37c Safe navigator.userAgent access
`navigator.userAgent` is not defined in react-native
2019-04-15 20:32:13 -04:00
Michael Shilman
f506e15f54 v5.1.0-alpha.27 2019-04-14 09:17:47 +08:00
Michael Shilman
17b8fe98b9 v5.1.0-alpha.26 2019-04-13 09:00:13 +08:00
Michael Shilman
eb7a36ff07 v5.1.0-alpha.25 2019-04-12 06:52:59 +08:00
Benedikt D Valdez
7edfeb0ee2 Refactor sorting implementation to fix tests 2019-04-11 14:03:35 +00:00
Benedikt D Valdez
6ec3ebb1a0 Use DEFAULT_GROUP_ID and minor optimisation 2019-04-11 14:03:30 +00:00
Benedikt D Valdez
d10084a692 Fix sorting of knobs Panels
- Instead of sorting the array of groups, we now filter Other out of the array completely and append it to the end.
- Also updated the story in official-storybook that displays multiple knobs groups so that the ungrouped knob is at the beginning.

The previous implementation of moving the ungrouped knob panel to the end was not working as expected in Chrome. This only happened during development (running `start-storybook`) and only when the ungrouped knobs are defined before the other grouped ones. I think that is the reason this hasn’t been noticed before, since the official-storybook defined the ungrouped knobs last.

I found an inconsistency in how Chrome handles `Array.prototype.sort()` compared to the other major browsers. (relevant screenshot: https://d.pr/i/S9iChT+)
2019-04-11 14:03:26 +00:00
Norbert de Langen
ef93ffd3d1 FIX tests for knobmanager && FIX 3 year old bug where HMR of story would reset value to default && FIX storyshots 2019-04-11 11:27:44 +02:00