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
d351d878ad
Merge branch 'next' into ts-migration/babel-typescript
...
# Conflicts:
# .babelrc.js
# app/angular/src/client/preview/render.js
# package.json
# yarn.lock
2019-03-02 20:33:20 +01:00
Norbert de Langen
c2fc7ae483
Merge branch 'next' into react-native/use-core-for-server
...
# Conflicts:
# addons/actions/package.json
# addons/cssresources/package.json
# lib/core/package.json
# lib/ui/src/keyboard/keyCodes.ts
# yarn.lock
2019-03-02 19:40:45 +01: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
Norbert de Langen
f69e798be3
FIX visual alignment && FIX snapshots && FIX stories with API change
2019-02-26 00:54:29 +01:00
domyen
36fa253c28
Fix broken mobile scrolling for settings pages
2019-02-25 16:26:23 -05:00
Norbert de Langen
ca7481343b
CHANGE brandComponent to brandImage
...
For setting an image as the branding,
a undefined value will get you the default storybook logo (svg)
a null will remove the image, show the title as text
a string will show an image with the string as a src attribute
2019-02-25 19:53:59 +01:00
domyen
de59f6c1c8
Merge branch 'next' into simplebar-scrollbars
2019-02-25 13:45:40 -05:00
domyen
94d23b0c11
Remove unused dependency
2019-02-25 13:31:20 -05:00
domyen
c00fd9550b
Integrate ScrollArea
2019-02-25 13:27:49 -05:00