1327 Commits

Author SHA1 Message Date
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
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
Norbert de Langen
93ecc72d7a FIX some tabs issues 2019-02-27 20:39:15 +01:00
Norbert de Langen
502d5ec512 FIX snapshots 2019-02-27 17:32:24 +01:00
Norbert de Langen
79d2cd11d0 REFACTOR no scroller around Tabs content, instead force scroll on child
This I hacky, I know but we need to scroll over content, without the Actionbar component, that should stick.

I'd like to refactor the Tabs component so it can render ActionBar independently, but that a bigger overhaul,
then I feel comfortable with at the moment.

Most of our addons will show a custom scrollbar now, but it's a manual process, the addon rendering is taking control
over scrolling.

Instead I'd like tabs to be in control of scrolling, but that's currently not feasable with how ActionBar works.
2019-02-27 17:31:00 +01:00
Norbert de Langen
03c9b04900 CLEANUP no double scrolling in Sidebar 2019-02-27 17:05:55 +01:00
domyen
bd4db1c8d9 Adjust position of Notifications UI on desktop and mobile 2019-02-26 15:40:41 -05:00
domyen
87b4d85e84 Re-add custom styling for Sidebar scrollbar 2019-02-26 11:50:43 -05:00
Norbert de Langen
4272193fd1 FIX stories & snapshots 2019-02-26 15:28:00 +01:00
Norbert de Langen
958988ff26 CLEANUP unnecessary [title]s 2019-02-26 15:23:03 +01:00
Norbert de Langen
60b3d11c79 CHANGE location of notifications from sidebar to layout 2019-02-26 15:22:06 +01:00
Norbert de Langen
e237b6b25a Merge branch 'next' into 5421-notifications-styling 2019-02-26 14:08:16 +01:00
Norbert de Langen
7406a7d761 FIX ScrollArea component to have vertical & horizontal mode
CLEANUP the Tabs component, it no longer has a scroll prop
ADD custom scrollbar to Tabs component when absolute
FIX bar component to only have horizontal scrolling
2019-02-26 13:09:37 +01:00
Michael Shilman
b8b2f79ed7
Merge pull request #5758 from storybooks/options-back-compat
Addon-options back compat
2019-02-26 19:45:13 +08:00
Norbert de Langen
4460f52d46 Merge branch 'next' into simplebar-scrollbars
# Conflicts:
#	examples/official-storybook/tests/__snapshots__/storyshots.test.js.snap
2019-02-26 11:00:55 +01:00
Michael Shilman
ad9a2db80e Fix deprecated url/name options 2019-02-26 15:06:37 +08:00
Michael Shilman
124bd37998 Merge branch 'next' into options-back-compat 2019-02-26 14:04:15 +08:00
Michael Shilman
1234a02c1b
Merge pull request #5756 from storybooks/5620-loading-state
Added `STORIES_CONFIGURED` and use to drive loading state
2019-02-26 10:52:11 +08:00
Norbert de Langen
e80ffec87a FIX alignment when text only 2019-02-26 01:40:11 +01:00