37536 Commits

Author SHA1 Message Date
Tom Coleman
e688ff25e7
/server-channel => /storybook-server-channel 2021-11-11 19:05:05 +11:00
Tom Coleman
450ae4f6e3 Move the websocket channel to a specific path 2021-11-11 18:51:14 +11:00
Tom Coleman
2f1a732da0 Ensure we clear loading state if story is unchanged 2021-11-11 17:35:41 +11:00
Tom Coleman
67d6af1010 Try a "loading props" pattern for loading state 2021-11-11 17:17:25 +11:00
Sam Magura
4d2c8a5364 Upgrade from node-sass to sass in examples/angular-cli
The Angular example was using an outdated version of node-sass which
failed to build on my PC. I fixed this by upgrading to the latest
version of sass. I ran the example and verified that the Sass styles
were applied.
2021-11-10 21:04:14 -05:00
Michael Shilman
2581517d66 Emotion11 migration note 2021-11-11 09:51:23 +08:00
Thibaud Av
8704f84d29
feat(angular): add angularBuilderOptions to set some options
The goal is to be able to start sb without angularBrowserTarget to use styles
And also to allow nx to set BuilderOptions without `angularBuilderContext`
2021-11-10 19:32:08 +01:00
Thibaud Av
bc211615f4
feat(angular): add angularBuilderContext in angular builder 2021-11-10 19:32:07 +01:00
Thibaud Av
a032a60d31
refactor(angular): remove staticDir for angular-builder because it's deprecated
Use 'staticDirs' Storybook Configuration option instead (main.js)
2021-11-10 19:32:07 +01:00
Thibaud Av
f8b3a031a8
fix(angular) fix test for preset angular-cli 2021-11-10 19:32:07 +01:00
Thibaud Av
ed5912e308
feat(angular): split get webpack config in one per supported version 2021-11-10 19:32:07 +01:00
Thibaud Av
c988bb2cd6
fix(angular): do best effort to import ngcc 2021-11-10 19:32:07 +01:00
Thibaud Av
b9eaf4ba04
feat(angular): add getWebpackConfig for angular 12.2.x & 13.x.x
only work with angular storybook builder
2021-11-10 19:32:04 +01:00
Yann Braga
a8f5b017f6 more eslint fixes 2021-11-10 19:15:12 +01:00
Yann Braga
fb1e50f4f1 update eslint plugin and remove unecessary command 2021-11-10 18:50:58 +01:00
Yann Braga
02367e06e4 apply prefer-camel-case rule to all story files 2021-11-10 18:49:13 +01:00
Yann Braga
a95b34663f fix/disable eslint rules 2021-11-10 18:37:53 +01:00
Yann Braga
99c8ee6be7 apply eslint-plugin-storybook to all files 2021-11-10 18:37:05 +01:00
Yann Braga
3ba032e95a update eslint-plugin-storybook 2021-11-10 18:36:25 +01:00
Yann Braga
f97b4c2845 disable default-exports rules for storiesOf files 2021-11-10 18:35:31 +01:00
Michael Shilman
0d7a96574f Attempt to fix some linting errors 2021-11-11 00:22:27 +08:00
Michael Shilman
bee152f388 Upgrade eslint-plugin-storybook to official release 2021-11-11 00:21:29 +08:00
Tom Coleman
1eb8aa10da Merge remote-tracking branch 'origin/next' into 16048-v7-storyshots 2021-11-10 17:47:00 +11:00
Tom Coleman
2955e4a58a Ensure manager caching respects globals 2021-11-10 17:33:50 +11:00
Tom Coleman
b99370b952 Show nicer loading state for modernInlineRender 2021-11-10 15:53:21 +11:00
Michael Arestad
de6e5d6e52 Further refinement of Source 2021-11-09 16:29:13 -07:00
jonniebigodes
09dff904cc
Merge pull request #16652 from storybookjs/fix_links_docs
Chore: (Docs) Minor adjustments to the Docs
2021-11-09 23:23:38 +00:00
Michael Arestad
db4d01a72f Finessed Source loading state 2021-11-09 16:21:34 -07:00
jonniebigodes
076b81b241 API CLI adjustments and minor tweaks to the snippets 2021-11-09 23:18:56 +00:00
Michael Arestad
ec0f60d1a1 Added styles for SourceSkeleton 2021-11-09 13:54:16 -07:00
Michael Arestad
e7a2cea96a Remove unused component 2021-11-09 13:25:24 -07:00
Michael Arestad
49c92e108e Added styling for IconButtonSkeleton 2021-11-09 13:21:14 -07:00
Michael Shilman
48d7d6089b 6.4.0-beta.31 next.json version file 2021-11-10 03:01:46 +08:00
Michael Shilman
31e6798273 Update git head to 6.4.0-beta.31, update yarn.lock 2021-11-10 02:58:26 +08:00
Michael Shilman
17ef07b509 v6.4.0-beta.31 v6.4.0-beta.31 2021-11-10 02:54:58 +08:00
Michael Shilman
6ce882b4c0 Update root, peer deps, version.ts/json to 6.4.0-beta.31 [ci skip] 2021-11-10 02:45:45 +08:00
Michael Shilman
d078733251 6.4.0-beta.31 changelog 2021-11-10 02:45:24 +08:00
Michael Shilman
418c9bb93f
Merge pull request #16649 from storybookjs/16646-fix-static-dirs
Core: Fix `staticDirs` and `-s` conflict check
2021-11-10 02:44:10 +08:00
Michael Arestad
90d797808b Wrote HTML and CSS for loading states and improved ArgsTable loading state to match
* ArgsTable is now responsive
2021-11-09 11:09:41 -07:00
Michael Shilman
00b901f1c9 Oops 2021-11-10 01:37:14 +08:00
Michael Shilman
1f2a6fda88 CLI: Fix staticDirs and -s conflict check 2021-11-10 01:09:49 +08:00
Michael Shilman
abc637f7a1
Merge pull request #16636 from storybookjs/theinterned/fix-typo-in-server-readme
Fixes a small typo in storybook/server README
2021-11-09 22:31:42 +08:00
Michael Shilman
f5c1e0d0c6
Merge pull request #16645 from storybookjs/tech/add-node-gyp
Build: Add node-gyp for M1 macs
2021-11-09 22:31:03 +08:00
Norbert de Langen
23e7478f7e
improve 2021-11-09 12:59:30 +01:00
Norbert de Langen
d40a3613fc
add node gyp as a dep 2021-11-09 12:59:10 +01:00
Norbert de Langen
107a4e2cf1
test 2021-11-09 12:56:58 +01:00
Michael Shilman
677ade7873
Merge pull request #16613 from storybookjs/fix/16099-featureflag-emotion-alias
Core: Add feature flag to stop storybook from aliasing emotion
2021-11-09 19:06:53 +08:00
Norbert de Langen
4bb1250f90 fix review comments 2021-11-09 10:43:45 +01:00
Tom Coleman
3f27619676 Hooked up preparing story/docs views 2021-11-09 17:36:11 +11:00
Tom Coleman
b09fa6eec6 Show "Loading..." while switching between async stories 2021-11-09 17:36:11 +11:00