Michael Shilman
d597cdd048
v5.2.0-beta.2
2019-07-18 22:21:11 +08:00
Michael Shilman
cec7d5c282
v5.2.0-beta.1
2019-07-18 10:09:31 +08:00
Emilio Martinez
98265c72f1
Addon-knobs: select support for enum-like record types
2019-07-17 03:06:21 -07:00
Emilio Martinez
0ef6675250
Addon-knobs: add knobs types test cases
2019-07-17 02:22:53 -07:00
Emilio Martinez
4cfd2f4cac
Addon-knobs: improve types via generics and readonlyarray
2019-07-17 02:22:53 -07:00
Michael Shilman
fbf724f2a1
v5.2.0-beta.0
2019-07-15 20:49:44 +08:00
Michael Shilman
f3487c68e4
v5.2.0-alpha.44
2019-07-15 09:32:23 +08:00
Michael Shilman
2cbb9614f1
v5.2.0-alpha.43
2019-07-13 21:50:51 +08:00
Norbert de Langen
86655f304d
FIX typescript shenanigans
2019-07-13 14:22:33 +02:00
Norbert de Langen
a28e8a1712
Addon-knobs: fix knobs function return types ( #7391 )
...
Addon-knobs: fix knobs function return types
2019-07-13 11:22:55 +02:00
Michael Shilman
b6ae728039
v5.2.0-alpha.42
2019-07-12 11:35:45 +08:00
Emilio Martinez
20ef9e5887
Addon-knobs: organize type definitions a bit
2019-07-11 18:29:39 -07:00
Emilio Martinez
a74097701b
Addon-knobs: fix knobs function return types
...
Applies generics and conditional types to ensure a proper return value from each of the knob functions respectively.
2019-07-11 12:20:47 -07:00
indigolain
e5f3d4a2f0
Upgrade react-select dependency to version 3 for addon-knobs
2019-07-11 09:04:08 +09:00
Michael Shilman
9b21aea75b
v5.2.0-alpha.41
2019-07-11 08:01:54 +08:00
Michael Shilman
6a40b69ca1
Merge branch 'next' of github.com:storybookjs/storybook into next
2019-07-11 07:55:35 +08:00
Norbert de Langen
9b40bf9f9b
Fix TypeError on KnobManager channel ( #7341 )
...
Fix TypeError on KnobManager channel
2019-07-10 22:49:27 +02:00
Norbert de Langen
9571fe1572
Merge branch 'next' into preview-hooks
...
# Conflicts:
# addons/actions/package.json
# addons/events/package.json
# addons/events/src/index.ts
# addons/ondevice-notes/package.json
# dev-kits/addon-roundtrip/package.json
# examples/dev-kits/package.json
# examples/html-kitchen-sink/package.json
# lib/client-api/package.json
# lib/client-api/src/client_api.ts
# lib/client-api/src/typings.d.ts
# lib/client-api/tsconfig.json
# lib/ui/src/index.js
# yarn.lock
2019-07-10 16:08:11 +02:00
Michael Shilman
c41dafcbfe
v5.2.0-alpha.40
2019-07-10 21:13:10 +08:00
Michael Shilman
0c3a8cdc2f
Revert 98235fc57fcdd9e9e67ffd694b5e7af99313371a
2019-07-10 20:18:57 +08:00
Michael Shilman
3b17da4800
v5.2.0-alpha.39
2019-07-10 10:42:50 +08:00
Michael Shilman
5f6ce01af5
Addon-knobs: Fix select options types to allow string[] and null ( #7356 )
...
Addon-knobs: Fix select options types to allow string[] and null
2019-07-10 10:27:01 +08:00
Emilio Martinez
5620db2025
Addon-knobs: allow other primitive values and array options in select
2019-07-09 08:40:18 -07:00
fabianmarinog-turner
c8086e7e03
Removes underscore on this.channel
2019-07-08 19:23:42 -05:00
Norbert de Langen
9fb72175b7
FIX types
2019-07-08 23:55:35 +02:00
fabianmarinog-turner
52de8a1e62
Fixing typo in comment
2019-07-08 16:40:24 -05:00
fabianmarinog-turner
7f598b6204
Update KnobManager.ts
...
When Storybook is loaded the KnobManager channel can be undefined. Include this code to prevent `Uncaught TypeError: Cannot read property 'emit' of undefined` error.
2019-07-08 16:36:53 -05:00
Michael Shilman
30078af6de
v5.2.0-alpha.38
2019-07-09 02:35:11 +08:00
Norbert de Langen
fb4c35e49c
FIX linting after merge
2019-07-08 16:59:40 +02:00
Norbert de Langen
6c6a04ef1d
REMOVE the JS version of files after merge
2019-07-08 16:52:14 +02:00
Norbert de Langen
f10f346f31
FIX knobs/Color.tsx after merge
2019-07-08 15:44:13 +02:00
Norbert de Langen
c5c519a31d
Merge branch 'next' into upgrades
...
# Conflicts:
# addons/knobs/src/components/Panel.tsx
# addons/knobs/src/components/types/Checkboxes.js
# addons/knobs/src/components/types/Files.js
# addons/knobs/src/components/types/Options.js
2019-07-08 15:28:32 +02:00
Michael Shilman
41602a063a
Migrate @storybook/addon-knobs to typescript ( #7180 )
...
Migrate @storybook/addon-knobs to typescript
2019-07-08 14:14:38 +08:00
Michael Shilman
8d82c6a62b
v5.2.0-alpha.37
2019-07-08 13:04:50 +08:00
Emilio Martinez
7d1fe63a4d
Addon-knobs: add typings.d.ts to remove ts-ignore usage
2019-07-07 18:19:07 -07:00
Emilio Martinez
d8bbc68adc
Addon-knobs: fixes after rebase
2019-07-07 18:19:06 -07:00
Emilio Martinez
98235fc57f
Addon-knobs: migrate deprecated entrypoints to ts
2019-07-07 18:19:06 -07:00
Emilio Martinez
8a1219e0eb
Addon-knobs: migrate registration, manager and panels to ts
2019-07-07 18:19:05 -07:00
Emilio Martinez
c2470ce3ed
Addon-knobs: install missing related types and refactor
2019-07-07 18:19:05 -07:00
Emilio Martinez
754ec02628
Addon-knobs: migrate components
2019-07-07 18:19:04 -07:00
Emilio Martinez
dfbf5d9cb5
Addon-knobs: straight rename js => ts
...
This commit simply transitions the files from js to ts to make the commit history clearer afterwards. Expected not to type-check.
2019-07-07 18:19:04 -07:00
Norbert de Langen
ac0a42bec1
FIX linting
2019-07-07 00:42:18 +02:00
Michael Shilman
d3d83576de
Merge branch 'next' into pr/7197
2019-07-06 17:39:09 +08:00
Michael Shilman
65db79f6ec
v5.2.0-alpha.36
2019-07-05 18:14:20 +08:00
Hypnosphi
c8d437b789
Merge remote-tracking branch 'origin/next' into preview-hooks
...
# Conflicts:
# addons/actions/package.json
# addons/events/package.json
# addons/ondevice-notes/package.json
# dev-kits/addon-roundtrip/package.json
# examples/dev-kits/package.json
# examples/html-kitchen-sink/package.json
2019-07-04 19:42:22 +03:00
Norbert de Langen
3ae5d2c2d6
Merge branch 'next' into pr/andrefgneves/6793
2019-07-04 17:05:13 +02:00
Michael Shilman
b9d2ba2611
Addons: Disable option for addon tab ( #6923 )
...
feature request: disable option for addon tab
2019-07-04 12:35:23 +08:00
Michael Shilman
69ae9c7d54
v5.2.0-alpha.35
2019-07-03 00:22:17 +08:00
Norbert de Langen
d818852136
Merge branch 'next' into pr/andrefgneves/6793
...
# Conflicts:
# examples/official-storybook/stories/__snapshots__/addon-knobs.stories.storyshot
# examples/official-storybook/stories/addon-knobs.stories.js
2019-07-02 15:48:03 +02:00
Norbert de Langen
aab38d2389
Merge branch 'next' into preview-hooks
...
# Conflicts:
# addons/actions/package.json
# addons/events/package.json
# addons/ondevice-notes/package.json
# examples/dev-kits/package.json
# examples/html-kitchen-sink/package.json
2019-07-02 09:09:24 +02:00