Norbert de Langen
1db2eedea5
UPGRADE graphql && REGEN yarn.lock to get rid of old versions of graphql
2019-04-18 11:00:06 +02:00
Norbert de Langen
ae9bb190cf
MOVE graphql addon to a tab type addon && ADD some loaders & plugins to manager config so it works
2019-04-18 11:00:05 +02:00
Michael Shilman
da66766ab9
v5.1.0-alpha.30
2019-04-18 09:18:21 +08:00
Norbert de Langen
d1d00bea76
Merge pull request #6529 from storybooks/dependabot/npm_and_yarn/react-redux-7.0.2
...
Bump react-redux from 6.0.1 to 7.0.2
2019-04-18 00:06:23 +02:00
Norbert de Langen
e12e433b8a
Merge pull request #6550 from storybooks/tech/use-api-over-channel-in-addon-storysource
...
MIGRATE addon-storysource from using channel to api
2019-04-18 00:05:45 +02:00
Norbert de Langen
5b11460c6a
CLEANUP channel should not be used in manager, just use api instead
2019-04-17 14:19:19 +02:00
Michael Shilman
9397813103
v5.1.0-alpha.29
2019-04-17 16:25:55 +08:00
Norbert de Langen
4d7b4f87ac
FIX snapshots
2019-04-16 16:55:41 +02:00
Gaëtan Maisse
0e95d62f76
chore: use named import/export instead of default ones in sb/components
...
Named exports enables better IDE integration and simplify a lot code refactoring
2019-04-16 13:44:35 +02:00
Gaëtan Maisse
223183cb74
refactor: remove @storybook/components
module declaration in addons
...
As `@storybook/components` is now in TS (and so export its types) there is no more need to declare it in `typings.d.ts` of addons written in TS
2019-04-16 13:44:35 +02: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
dependabot[bot]
998a00ac8f
Bump react-redux from 6.0.1 to 7.0.2
...
Bumps [react-redux](https://github.com/reduxjs/react-redux ) from 6.0.1 to 7.0.2.
- [Release notes](https://github.com/reduxjs/react-redux/releases )
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md )
- [Commits](https://github.com/reduxjs/react-redux/compare/v6.0.1...v7.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-16 06:39:07 +00: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
Norbert de Langen
4ca2f0446b
Merge pull request #6503 from Armanio/feat/a11y-filter-drop
...
feat(a11y): drop a11y filter on dbl click
2019-04-13 16:58:41 +02:00
Arman Sargsyan
b8cb3de4d3
feat(jest): use 'off' instead of 'removeListener' for unsubscribe the listener
2019-04-13 16:42:56 +03:00
Michael Shilman
17b8fe98b9
v5.1.0-alpha.26
2019-04-13 09:00:13 +08:00
Arman Sargsyan
034e1ecb19
feat(a11y): drop a11y filter on dbl click
2019-04-12 22:47:35 +03:00
Michael Shilman
eb7a36ff07
v5.1.0-alpha.25
2019-04-12 06:52:59 +08:00
Michael Shilman
59e4d06ad2
Merge pull request #6480 from storybooks/fix/addon-knobs-tab-sorting
...
Fix sorting of knobs Panels
2019-04-12 06:22:13 +08:00
Norbert de Langen
7563effa05
FIX snapshots
2019-04-11 22:43:42 +02: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
b327281569
Merge branch 'next' into pr/rafaelfbs/6347
2019-04-11 16:02:35 +02:00
Norbert de Langen
c67d046fb5
Merge pull request #6383 from storybooks/2531-storyshots-error-message
...
Improve storyshots loader error message
2019-04-11 15:23:09 +02:00
Norbert de Langen
78ea2d7aa2
Merge pull request #6486 from storybooks/fix/customParameters-on-preview-url
...
Fix/custom parameters on preview url
2019-04-11 15:22:06 +02:00
Norbert de Langen
544431ddb5
Merge pull request #6091 from storybooks/notes-panel
...
addon-notes: register as a panel or tab
2019-04-11 14:31:54 +02: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
Norbert de Langen
b115322018
MIGRATE knobs to use api.on over channel.on && REMOVE unneeded test
2019-04-11 11:26:17 +02:00
Norbert de Langen
5c74a029a9
REVERT removal of event firing upon knob being set from url state
2019-04-11 09:40:48 +02:00
Norbert de Langen
42b26cf9af
CHANGE the detection of existingKnob so it just checks the type & name matches
...
if the name AND type match, it's very likely the same knob, checking the value was slower & caused and issue for me
when loading the value from url the first time. Open to other solutions too.
2019-04-10 23:51:58 +02:00
Norbert de Langen
4addccc21a
FIX queryParams not being serialized
2019-04-10 23:51:58 +02:00
Norbert de Langen
463baabad6
IMPROVE setting of knob value in manager
2019-04-10 23:51:58 +02:00
Norbert de Langen
c2d8b8d930
CHANGE addon-knob to allow for setting of knob after loading from URL
2019-04-10 23:51:57 +02:00
Norbert de Langen
b55bc7f2af
CHANGE addon-knob so it sets queryParams to actual values instead of deleting them
...
This DOES NOT set them to the URL, they are STILL REMOVED as always from main URL.
2019-04-10 23:51:56 +02:00
Norbert de Langen
3870bd1707
CHANGE addon-knobs so it can read value of knob from url
2019-04-10 23:51:56 +02:00
Michael Shilman
0586f369f8
Update README.md
2019-04-10 08:38:20 +08:00
Michael Shilman
3a693183b6
Update README.md
2019-04-10 08:37:24 +08:00
Michael Shilman
93e668370e
Update README.md
2019-04-10 07:45:49 +08:00
Aaron Reisman
9840377f6f
Update README.md
2019-04-09 15:58:33 -07:00
Jami Suomalainen
fb6b098c06
Update addons-notes README with Vue example
2019-04-09 11:06:27 +02:00
Michael Shilman
ea8b7217c3
v5.1.0-alpha.24
2019-04-09 10:10:18 +08:00
Benoit Dion
fb10a78314
Merge branch 'next' into react-native/fix-notes
2019-04-08 07:35:36 -04:00
Michael Shilman
3cb0dd5af9
v5.1.0-alpha.23
2019-04-08 18:20:55 +08:00
Anton Savoskin
f8db8e5cbf
Merge branch 'next' into ts-migration/addon-jest
...
# Conflicts:
# addons/jest/package.json
2019-04-08 11:01:21 +07:00
Anton Savoskin
1147dda019
chore: improve code quality in addons/jest
2019-04-08 10:59:23 +07:00
Benoit Dion
e36d2f93e2
Merge with next
2019-04-07 15:39:23 -04:00
Michael Shilman
5466174b4d
Merge pull request #6405 from Armanio/fix/a11y-refactor
...
[addon: A11Y] use 'indeterminate' checkbox state for partial selected group
2019-04-05 22:33:43 +08:00