3031 Commits

Author SHA1 Message Date
Gert Hengeveld
1a4efe1a5e Fix single story hoisting at the root. 2020-11-11 20:21:20 +01:00
Michael Shilman
caaff96189 Update git head to 6.1.0-beta.7 2020-11-11 07:46:15 +08:00
Michael Shilman
640fdeed83 v6.1.0-beta.7 2020-11-11 07:39:40 +08:00
Michael Shilman
04096b29de
Merge pull request #13070 from storybookjs/fix-search-safari
UI: Fix search field styling in Safari 13
2020-11-11 07:25:38 +08:00
Gert Hengeveld
9f50330a6e Only listen to the Escape key. 2020-11-10 20:25:24 +01:00
Tom Coleman
2339098f16 Fix search field styling in Safari 2020-11-10 21:22:03 +11:00
Michael Shilman
aa43879c3e Update git head to 6.1.0-beta.6 2020-11-09 23:12:21 +08:00
Michael Shilman
08dbe0ffd9 v6.1.0-beta.6 2020-11-09 23:06:05 +08:00
Tomastomaslol
57c83c9e53 Merge branch 'next' of https://github.com/storybookjs/storybook into 12324_zoom_buttons_in_docs_do_not_work 2020-11-09 17:30:43 +11:00
Michael Shilman
4fd9e4ff75
Merge pull request #13036 from storybookjs/search-styling-tweaks
Search styling tweaks
2020-11-08 20:45:22 +08:00
domyen
1020cdd2cb minor adjustment for multiline sidebar roots 2020-11-07 14:36:01 -05:00
domyen
8021a677dc adjustments for compactness and button size 2020-11-07 14:18:27 -05:00
Michael Shilman
0e1afcd97d Update git head to 6.1.0-beta.5 2020-11-08 00:38:20 +08:00
Michael Shilman
7bd2ae0482 v6.1.0-beta.5 2020-11-08 00:28:46 +08:00
domyen
2986446ce9 add space above back button in recently opened 2020-11-07 10:38:15 -05:00
Gert Hengeveld
e4d1c5a94f Collapse single story components if their names match. 2020-11-07 11:23:02 +01:00
domyen
a5e84d46fc make keyboard shortcut all caps 2020-11-06 10:42:56 -05:00
domyen
0060fa104e more obvious ui copy 2020-11-06 10:36:44 -05:00
domyen
e9663174ba change root spacing 2020-11-06 10:35:54 -05:00
Michael Shilman
078e802d5a Update git head to 6.1.0-beta.4 2020-11-06 21:42:40 +08:00
Michael Shilman
7caa9a5724 v6.1.0-beta.4 2020-11-06 21:36:16 +08:00
Michael Shilman
59b61d3196 Merge branch 'next' into 13000-sidebar-rfcs 2020-11-06 21:10:08 +08:00
Gert Hengeveld
793ca8064b Add missing prop. 2020-11-06 11:03:13 +01:00
Gert Hengeveld
bb5a215f55 Add missing property. 2020-11-06 09:58:56 +01:00
Michael Shilman
2993379841 Update git head to 6.1.0-beta.3 2020-11-06 09:11:04 +08:00
Michael Shilman
2e11de3045 v6.1.0-beta.3 2020-11-06 09:05:18 +08:00
Michael Shilman
cb40094e2e
Merge pull request #13019 from storybookjs/12425/minor-webpack-upgrade
Bump webpack to 4.41.24
2020-11-06 08:01:18 +08:00
Gert Hengeveld
da337235ab Add back button to recently viewed list, with keyboard shortcut. 2020-11-05 23:52:30 +01:00
Gert Hengeveld
99bff118d0
Update lib/ui/src/components/sidebar/SearchResults.tsx
Co-authored-by: Dominic Nguyen <dom@hichroma.com>
2020-11-05 23:12:51 +01:00
Gert Hengeveld
080f3351d4
Update lib/ui/src/components/sidebar/SearchResults.tsx
Co-authored-by: Dominic Nguyen <dom@hichroma.com>
2020-11-05 23:12:45 +01:00
Gert Hengeveld
e4dd534109 Highlight a node when it gets expanded or collapsed. 2020-11-05 21:47:49 +01:00
Gert Hengeveld
8a30b98b7e Fix highlighting prev/next node after collapsing and reopening a node. 2020-11-05 21:10:48 +01:00
Gert Hengeveld
44e6a4508e Highlight parent instead of closing it right away, and fix closing descendants. 2020-11-05 21:08:39 +01:00
domyen
ff25d7f2f4 change icon for addon panel orientation button 2020-11-05 14:29:54 -05:00
Gert Hengeveld
e3303e62cd Remove focus from expand/collapse all buttons when using arrow keys to navigate the tree. 2020-11-05 17:01:30 +01:00
Gert Hengeveld
fda2d9172b Keep currently selected item in history when clearing it. 2020-11-05 16:35:58 +01:00
Gert Hengeveld
e4aafbcb9f Show 'no results' message when query yields nothing. 2020-11-05 16:09:20 +01:00
Norbert de Langen
e9708b526a
minor webpack upgrade 2020-11-05 09:43:05 +01:00
Michael Shilman
530f8c64db Update git head to 6.1.0-beta.2 2020-11-04 17:10:36 +08:00
Michael Shilman
c67dac2e08 v6.1.0-beta.2 2020-11-04 17:02:51 +08:00
Gaëtan Maisse
28eb52414f
refactor: improve typings of Provider 2020-11-03 19:11:57 +01:00
Michael Shilman
3e940800a8 Update git head to 6.1.0-beta.1 2020-11-03 15:33:05 +08:00
Michael Shilman
763c233efc v6.1.0-beta.1 2020-11-03 15:27:28 +08:00
Teimur Gasanov
9a62daeeda chore: do not listen when api is undefined 2020-11-03 10:53:01 +06:00
Gaëtan Maisse
89d0ed9b7d
Apply solution discussed in monthly meeting:
- Set `react` and `react-dom` as peerDeps for all `lib` packages needing them
- Set `react` and `react-dom` as peerDeps + optional tag for all `addon` packages needing them
- Set `react` and `react-dom` as regular deps for all non react apps
- Remove `react` and `react-dom` from root `package.json`
- Set a fixed version of `react` in all examples

Also:
- Use "^16.8.0 || ^17.0.0" version range as some packages need React Hooks
2020-11-02 20:49:31 +01:00
Gaëtan Maisse
0c0a4dcb5c
Merge branch 'next' into tech/move-react-and-react-dom-to-peer-deps 2020-11-02 20:15:29 +01:00
Michael Shilman
9c2c6da232 Update git head to 6.1.0-beta.0 2020-11-03 02:34:25 +08:00
Michael Shilman
807eccd605 v6.1.0-beta.0 2020-11-03 02:28:12 +08:00
Teimur Gasanov
0fc885b6b9 feat: add support for expand/collapse shortcuts 2020-11-02 14:46:28 +06:00
Gaëtan Maisse
eaa9410a4d
Move react and react-dom to peer deps
`react` and `react-dom` should always be peer dependencies of packages that provide react components to ensure that there's a single instance of those.

Plus, all packages depending on a package with `react` as peerDep should also have it as peerDeps (transitive peer dependencies) or as deps.

Finally, packages in `examples/*` are "end" packages using Storybook so they must provide `react` and `react-dom` in their deps/devDeps
2020-11-02 08:08:48 +01:00