Tom Coleman
6fc05b5d53
Ensure we cope with missing websocket in production build
2021-11-04 22:42:58 +11:00
Tom Coleman
bdc0fb122b
Switch preview+server to use a websocket
2021-10-28 15:19:17 +11:00
Tomas Nygren
a2ead8c73a
make it possible to hide toolbar tools with configuration
2021-05-12 10:02:47 +10:00
Gaëtan Maisse
adc3121836
refactor: export Config
from addons
as it is used in a public function
...
Then use this interface in `core` to improve typings
2020-11-03 19:11:57 +01:00
Igor
9523755dd7
Try to fix typings
2020-06-08 00:39:25 +03:00
Igor
2e28fa7865
Expose addon title as a function in the interface + add number of knobs
2020-06-07 21:28:00 +03:00
Norbert de Langen
341fc2d90d
FIX linting
2020-03-27 20:04:50 +01:00
Norbert de Langen
8343c37192
IMPROVE typings of config
2020-03-03 10:29:11 +01:00
Norbert de Langen
2e90601234
Merge pull request #9965 from storybookjs/add-missing-deps
...
Misc: Add missing dependencies
2020-03-02 14:49:04 +01:00
Gaëtan Maisse
81e8e67805
chore(lib): add some missing dependencies
...
Used `npx @yarnpkg/doctor .` to have the list of all missing deps.
Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified)
2020-03-01 21:40:36 +01:00
Tom Coleman
c4a8c869a0
First part of refactor -- pull StoryRenderer
out of start.js
2020-02-20 21:41:03 +11:00
Norbert de Langen
b1500abff1
A few TS improvements I found whilst working on inception
2020-02-17 11:16:50 +01:00
Norbert de Langen
2d9831c5bb
FIX linting
2020-02-10 14:50:41 +01:00
Norbert de Langen
0b40c8c7ad
MIGRATE preview some more
2020-02-09 09:25:18 +01:00
Norbert de Langen
778b6d7205
ADD a setConfig option on lib/addons, to pass data/config into the manager directly VS via parameters
2019-09-30 22:43:52 +02:00
Norbert de Langen
9fb72175b7
FIX types
2019-07-08 23:55:35 +02:00
Jimmy Somsanith
f04b6e8191
Fix type
2019-06-14 22:40:07 +02:00
Jimmy Somsanith
7872247021
Fix type
2019-06-12 23:05:17 +02:00
Norbert de Langen
65f45cd152
ADD async ready method to channel && complete the roundtrip addon
2019-05-10 00:48:45 +02:00
Norbert de Langen
f939e1417a
just a few little linting issues fixed
2019-04-25 17:59:37 +02:00
Norbert de Langen
d19c4c74dc
FIX an issue with background tool && MIGRATE it to use the new Consumer with a non-pure filter
2019-03-13 23:55:55 +01:00
Norbert de Langen
c84b49e5a8
IMPROVE typing of lib/addon
2019-03-12 11:37:26 +01:00
Norbert de Langen
f893431a8d
Merge branch 'next' into tech/api-package
...
# Conflicts:
# addons/cssresources/src/register.tsx
# addons/notes/src/Panel.tsx
# addons/notes/src/giphy.tsx
# examples/official-storybook/stories/core/parameters.stories.js
# lib/api/src/init-provider-api.ts
# lib/api/src/lib/id.ts
# lib/api/src/modules/addons.ts
# lib/api/src/modules/layout.ts
# lib/api/src/modules/stories.ts
# lib/api/src/modules/url.ts
# lib/api/src/modules/versions.ts
# lib/api/src/store.ts
# lib/api/src/tests/id.test.js
# lib/api/src/tests/versions.test.js
# lib/client-api/src/client_api.js
# lib/client-logger/src/index.ts
# lib/router/package.json
# lib/router/src/tests/id.test.js
# lib/router/src/typings.d.ts
# lib/router/src/utils.ts
# lib/theming/src/themes/dark-syntax.ts
# lib/theming/src/themes/dark.ts
# lib/theming/src/themes/light-syntax.ts
# lib/theming/src/themes/light.ts
# lib/ui/package.json
# lib/ui/src/components/sidebar/treeview/utils.js
# lib/ui/src/containers/nav.js
# lib/ui/src/containers/preview.js
# lib/ui/src/core/context.js
# lib/ui/src/core/initial-state.js
# lib/ui/src/index.js
# lib/ui/src/libs/id.test.js
# lib/ui/src/settings/__snapshots__/shortcuts.stories.storyshot
# lib/ui/src/settings/about_page.js
# lib/ui/src/settings/shortcuts.stories.js
# lib/ui/src/settings/shortcuts_page.js
# yarn.lock
2019-03-06 16:45:13 +01:00
Tom Coleman
32cb90aacf
Panels are expected to set their own key
2019-02-18 12:46:02 +11:00
Norbert de Langen
0c3791db0d
SYNC prettier setting for line-length && FIX linting
2019-01-29 14:55:00 +01:00
Norbert de Langen
accb7ff476
REFACTOR context into it's own package && REFACTOR into typescript
2019-01-29 13:14:39 +01:00
Norbert de Langen
f26d263a60
CLEANUP
2019-01-28 13:22:42 +01:00
Norbert de Langen
65583e5671
CHANGE tslint config to no longer conflict with prettier && FIX a ton of linting issues on .ts
2019-01-24 15:55:01 +01:00
Norbert de Langen
007b722d77
Merge branch 'next' into ts-migration/improve-lib-addons-types
...
# Conflicts:
# lib/addons/src/index.ts
2019-01-17 15:23:04 +01:00
Dan Dean
4a3af3b58e
Add explicit return types to lib/addons
2019-01-10 19:56:14 -08:00
Norbert de Langen
f2fd91d802
FIX gap in layout && FIX lib/addons
2018-12-27 22:43:55 +01:00
Norbert de Langen
ad1651956a
Merge branch '5.0.0' into tech/overhaul-ui
...
# Conflicts:
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/backgrounds/src/__tests__/BackgroundPanel.js
# addons/backgrounds/src/__tests__/Swatch.js
# addons/cssresources/package.json
# addons/events/package.json
# addons/google-analytics/package.json
# addons/info/package.json
# addons/jest/package.json
# addons/knobs/package.json
# addons/knobs/src/components/__tests__/Panel.js
# addons/links/package.json
# addons/notes/package.json
# addons/notes/src/index.ts
# addons/notes/src/register.tsx
# addons/notes/src/typings.d.ts
# addons/storyshots/storyshots-core/package.json
# addons/viewport/package.json
# app/react/package.json
# docs/package.json
# docs/yarn.lock
# examples/cra-kitchen-sink/package.json
# examples/official-storybook/package.json
# examples/preact-kitchen-sink/package.json
# lib/addons/package.json
# lib/addons/src/index.js
# lib/channel-websocket/package.json
# lib/components/package.json
# lib/core/package.json
# lib/ui/package.json
# yarn.lock
2018-12-27 15:46:11 +01:00
Kai Röder
395f77674e
Use named imports
2018-12-23 02:59:20 +01:00
Kai Röder
6f6b119031
Renamed createChannel to mockChannel in storybook-mock-channel
2018-12-21 09:14:46 +01:00
Kai Röder
4beeba36bb
Fixed export issue in lib/addons
2018-12-21 08:16:57 +01:00
Kai Röder
fa2c957aa0
Rewrote @storybook/addons
2018-12-17 16:43:48 +01:00
igor-dv
385782898a
Unfinished things
2018-12-17 16:53:09 +02:00
Kai Röder
9d2f1fcf1b
WIP working on migration for @storybook/addons
2018-12-17 14:37:12 +01:00