1344 Commits

Author SHA1 Message Date
Norbert de Langen
64ad28de9b Merge branch 'next' into dependabot/npm_and_yarn/react-resize-detector-4.0.2 2019-03-11 18:02:14 +01:00
Michael Shilman
aab869c4d8 v5.1.0-alpha.4 2019-03-11 22:29:26 +08:00
Norbert de Langen
58411bff77 CLEANUP 2019-03-11 10:48:02 +01:00
Norbert de Langen
e23a6b7656 FIX snapshots 2019-03-11 08:48:50 +01:00
Marais Rossouw
3b6c63c670
test: updated snapshots 2019-03-11 07:50:58 +10:00
Marais Rossouw
de471e8ee6
docs: use npm command for npm example 2019-03-11 07:40:22 +10:00
Norbert de Langen
18dd868a0a Merge branch 'next' into dependabot/npm_and_yarn/react-resize-detector-4.0.2 2019-03-10 00:41:51 +01:00
Norbert de Langen
3e6e61a064 FIX some issues I notices after the changes for the upgrade 2019-03-09 19:13:50 +01:00
Michael Shilman
978caa7450 v5.1.0-alpha.3 2019-03-09 23:25:09 +08:00
Norbert de Langen
0ef71374cf CHANGE the ui to make it work with the new version of react-resize-detector 2019-03-09 15:51:36 +01:00
Michael Shilman
d3ef9d6c78
Merge pull request #5983 from Armanio/fix/stories
fix(stories): `selectStory` correct behavior on call with one parameter
2019-03-09 22:15:47 +08:00
Arman Sargsyan
e198d3c00c fix(stories): selectStory correct behavior on call with one parameter
when in `selectStory` passed kind name will redirect on first story in needed kind
tests(stories): add test for call `selectStory` with only kind name
2019-03-09 15:49:30 +03:00
Norbert de Langen
12a9dc8215 Merge branch 'next' into dependabot/npm_and_yarn/react-resize-detector-4.0.2 2019-03-09 11:38:13 +01:00
Norbert de Langen
c21512e58b
Merge pull request #5902 from storybooks/dependabot/npm_and_yarn/react-16.8.4
Bump react from 16.8.3 to 16.8.4
2019-03-09 11:11:44 +01:00
dependabot[bot]
02a50729ee
Bump react from 16.8.3 to 16.8.4
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.8.3 to 16.8.4.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.8.4/packages/react)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-09 00:41:04 +00:00
Norbert de Langen
611e582ddb SYNC prettier printWidth with eslint && FIX resulting linting warnings 2019-03-09 01:21:02 +01:00
Michael Shilman
394cc91637 v5.1.0-alpha.2 2019-03-08 18:36:07 +08:00
Michael Shilman
04f1b79a97 Merge branch 'next' into 5831-add-corejs-to-everything 2019-03-08 11:28:55 +08:00
Tom Coleman
9c71efb3fe Add core JS dependencies across the stack where it was missing
For #5831
2019-03-08 11:40:29 +11:00
Michael Shilman
ed9b342742 v5.1.0-alpha.1 2019-03-07 22:13:18 +08:00
dependabot[bot]
a9b3a46810
Bump react-resize-detector from 3.4.0 to 4.0.2
Bumps [react-resize-detector](https://github.com/maslianok/react-resize-detector) from 3.4.0 to 4.0.2.
- [Release notes](https://github.com/maslianok/react-resize-detector/releases)
- [Commits](https://github.com/maslianok/react-resize-detector/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-06 05:21:52 +00:00
Michael Shilman
a05491b07a v5.1.0-alpha.0 2019-03-06 10:39:47 +08:00
Norbert de Langen
95b8cadc3a Merge branch 'next' into tech/upgrades
# 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/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
#	app/ember/package.json
#	examples/angular-cli/package.json
#	examples/cra-kitchen-sink/package.json
#	examples/cra-ts-kitchen-sink/package.json
#	examples/ember-cli/package.json
#	examples/mithril-kitchen-sink/package.json
#	examples/official-storybook/package.json
#	examples/riot-kitchen-sink/package.json
#	examples/vue-kitchen-sink/package.json
#	lib/core/package.json
#	yarn.lock
2019-03-05 22:48:38 +01:00
Michael Shilman
f2b625bab0 Merge master into next after 5.0.0 release 2019-03-06 02:08:02 +08:00
Norbert de Langen
b7140eff3d UPGRADE stuff 2019-03-05 13:37:27 +01:00
Norbert de Langen
d7417dec19 Merge branch 'next' into tech/upgrades
# Conflicts:
#	addons/knobs/package.json
#	yarn.lock
2019-03-05 10:56:25 +01:00
Michael Shilman
4878458dad
Merge pull request #5843 from storybooks/tech/improve-theme-creating
FIX base theme initialization and theme bootup
2019-03-05 09:29:00 +08:00
Tom Coleman
eeb024fa65 FIX Don't retain persisted UI state
For #5857
2019-03-05 12:05:07 +11:00
Tom Coleman
e5696dc489 Ensure the theme is insta-loaded from local storage 2019-03-05 11:27:24 +11:00
Tom Coleman
ddead74aef FIX the location of the default theme on state 2019-03-05 11:12:09 +11:00
Norbert de Langen
2aec10af70 ADD special case for barSelectedColor, since it should be using colorSecondary as fallback 2019-03-05 00:50:59 +01:00
Norbert de Langen
fac9ee3fd9 FIX incorrect optimization 2019-03-05 00:04:42 +01:00
Norbert de Langen
8b28b30163 FIX tests 2019-03-04 21:56:30 +01:00
Norbert de Langen
13b225727e OPTIMIZE so the theme doesn't update every story change 2019-03-04 21:06:20 +01:00
Norbert de Langen
dd3c382e1d REFACTOR change the theme that users import & set to be ThemeVars (was Theme)
This way the object easy much easier and more performant to serialise & less trickery is needed to make it work well
2019-03-04 21:05:01 +01:00
domyen
7cefc9faac Fix: SidebarItem feels "laggy" when clicked
@hypnosphi
2019-03-04 14:38:14 -05:00
Norbert de Langen
aa732cb609 Merge branch 'next' into tech/upgrades 2019-03-02 19:33:18 +01:00
Norbert de Langen
6489d0547f CLEANUP 2019-03-02 18:24:05 +01:00
Norbert de Langen
242e6111ec Merge branch 'next' into fix/theming-flash 2019-03-02 18:08:48 +01:00
Norbert de Langen
81770ccf14 FIX selectedPanel not being stored to persisted store 2019-03-01 17:14:06 +01:00
Norbert de Langen
f03d7e903e FIX theming bug 2019-03-01 17:10:10 +01:00
Norbert de Langen
7622f72ae3 MOVE setOptions to layout module
REMOVE merge from initial state
MOVE initial state of layout & ui to layout module
ADD merge of initial, restored to layout module
2019-03-01 16:22:42 +01:00
Norbert de Langen
16ff72322a IMPROVE the default size of panels when switching bottom and right (minimal panelsize & maximum main size) 2019-03-01 12:52:01 +01:00
Tom Coleman
27b04c5a1c Sort storiesHash so grouped keys appear together.
For #5518
2019-03-01 15:33:18 +11:00
Norbert de Langen
1ecf313c5c CHANGE the maxDepth of stringify in postMessage channel as part of the theme was getting lost
ADD telejson as stringifier & parser for persistence
CLEANUP state initialization
CHANGE initial state for shortcuts so it's not dependent on this.getState()
DEDUPLICATE merge util function
FIX unnecessary messages about transition & brand missing in theme
2019-02-28 22:55:48 +01:00
Norbert de Langen
9a5ccca75b FIX problem with loading empty localStorage to theme 2019-02-28 14:51:04 +01:00
Norbert de Langen
239d9f3285 Merge branch 'next' into fix/theming-flash
# Conflicts:
#	examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
2019-02-28 13:52:21 +01:00
Norbert de Langen
cd3105ee0f Merge branch 'next' into tech/upgrades
# Conflicts:
#	addons/jest/package.json
#	examples/angular-cli/package.json
#	lib/components/package.json
#	yarn.lock
2019-02-28 00:39:32 +01:00
Norbert de Langen
362a339e79 FIX the themeing flash & persist the theme into localstorage to prevent flashing upon reloading 2019-02-28 00:07:36 +01:00
Norbert de Langen
9f63c455b6 Merge branch 'next' into simplebar-scrollbars
# Conflicts:
#	examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
#	lib/components/src/tabs/__snapshots__/tabs.stories.storyshot
#	lib/ui/src/components/panel/__snapshots__/panel.stories.storyshot
#	lib/ui/src/components/sidebar/Sidebar.js
#	lib/ui/src/settings/__snapshots__/about.stories.storyshot
2019-02-27 22:59:48 +01:00