Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: storybookjs/storybook
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8e470b79fc2cd6b187f04d47f3e2a56ab6191403
Choose a base ref
..
head repository: storybookjs/storybook
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f3e8952284de20928f10dd2af6a5078d39a61bf7
Choose a head ref
Showing with 1,559 additions and 1,302 deletions.
  1. +232 −92 .circleci/config.yml
  2. +91 −11 .github/workflows/trigger-circle-ci-workflow.yml
  3. +1 −0 .gitignore
  4. +5 −0 MIGRATION.md
  5. +3 −3 code/addons/actions/src/addArgsHelpers.ts
  6. +3 −3 code/addons/backgrounds/src/decorators/withBackground.ts
  7. +2 −5 code/addons/backgrounds/src/decorators/withGrid.ts
  8. +2 −2 code/addons/docs/src/DocsRenderer.tsx
  9. +2 −2 code/addons/interactions/src/preset/preview.ts
  10. +3 −3 code/addons/measure/src/withMeasure.ts
  11. +3 −3 code/addons/outline/src/withOutline.ts
  12. +3 −3 code/addons/storyshots/storyshots-core/src/frameworks/Loader.ts
  13. +2 −2 code/addons/storyshots/storyshots-core/src/frameworks/configure.ts
  14. +1 −1 code/frameworks/angular/src/client/config.ts
  15. +2 −2 code/frameworks/angular/src/client/decorateStory.test.ts
  16. +2 −1 code/frameworks/angular/src/client/decorators.test.ts
  17. +2 −2 code/frameworks/angular/src/client/public-api.ts
  18. +1 −1 code/frameworks/angular/src/client/render.ts
  19. +3 −2 code/frameworks/angular/src/client/types.ts
  20. +1 −1 code/frameworks/ember/src/client/preview/config.ts
  21. +2 −2 code/frameworks/ember/src/client/preview/index.ts
  22. +4 −4 code/frameworks/ember/src/client/preview/render.ts
  23. +4 −2 code/frameworks/ember/src/client/preview/types.ts
  24. +9 −9 code/lib/addons/src/hooks.ts
  25. +2 −1 code/lib/builder-vite/src/codegen-iframe-script.ts
  26. +2 −1 code/lib/builder-webpack5/templates/virtualModuleEntry.template.js
  27. +1 −1 code/lib/cli/src/project_types.ts
  28. +1 −1 code/lib/cli/src/repro-next.ts
  29. +36 −77 code/lib/cli/src/repro-templates.ts
  30. +2 −2 code/lib/cli/src/window.d.ts
  31. +8 −8 code/lib/client-api/src/ClientApi.ts
  32. +2 −2 code/lib/client-api/src/StoryStoreFacade.ts
  33. +2 −2 code/lib/core-client/README.md
  34. +3 −3 code/lib/core-client/src/PreviewWeb.mockdata.ts
  35. +44 −44 code/lib/core-client/src/start.test.ts
  36. +7 −13 code/lib/core-client/src/start.ts
  37. +1 −18 code/lib/core-server/src/utils/server-statics.ts
  38. +2 −2 code/lib/docs-tools/src/argTypes/enhanceArgTypes.ts
  39. +1 −1 code/lib/preview-web/README.md
  40. +18 −16 code/lib/preview-web/src/Preview.tsx
  41. +4 −4 code/lib/preview-web/src/PreviewWeb.integration.test.ts
  42. +3 −3 code/lib/preview-web/src/PreviewWeb.mockdata.ts
  43. +125 −123 code/lib/preview-web/src/PreviewWeb.test.ts
  44. +4 −485 code/lib/preview-web/src/PreviewWeb.tsx
  45. +488 −0 code/lib/preview-web/src/PreviewWithSelection.tsx
  46. +11 −0 code/lib/preview-web/src/SelectionStore.ts
  47. +2 −1 code/lib/preview-web/src/UrlStore.ts
  48. +24 −0 code/lib/preview-web/src/View.ts
  49. +12 −11 code/lib/preview-web/src/WebView.ts
  50. +2 −2 code/lib/preview-web/src/docs-context/DocsContext.ts
  51. +2 −2 code/lib/preview-web/src/docs-context/DocsContextProps.ts
  52. +2 −2 code/lib/preview-web/src/docs-context/DocsRenderFunction.ts
  53. +2 −1 code/lib/preview-web/src/index.ts
  54. +3 −3 code/lib/preview-web/src/render/Render.ts
  55. +2 −2 code/lib/preview-web/src/render/StandaloneDocsRender.test.ts
  56. +7 −4 code/lib/preview-web/src/render/StandaloneDocsRender.ts
  57. +2 −2 code/lib/preview-web/src/render/StoryRender.test.ts
  58. +11 −10 code/lib/preview-web/src/render/StoryRender.ts
  59. +2 −2 code/lib/preview-web/src/render/TemplateDocsRender.test.ts
  60. +7 −4 code/lib/preview-web/src/render/TemplateDocsRender.ts
  61. +2 −2 code/lib/store/src/StoryStore.test.ts
  62. +2 −2 code/lib/store/src/StoryStore.ts
  63. +3 −10 code/lib/store/src/args.ts
  64. +3 −3 code/lib/store/src/csf/composeConfigs.test.ts
  65. +5 −8 code/lib/store/src/csf/composeConfigs.ts
  66. +2 −2 code/lib/store/src/csf/normalizeComponentAnnotations.ts
  67. +2 −2 code/lib/store/src/csf/normalizeProjectAnnotations.ts
  68. +3 −3 code/lib/store/src/csf/normalizeStory.test.ts
  69. +2 −2 code/lib/store/src/csf/normalizeStory.ts
  70. +3 −3 code/lib/store/src/csf/prepareStory.test.ts
  71. +2 −2 code/lib/store/src/csf/prepareStory.ts
  72. +2 −2 code/lib/store/src/csf/processCSFFile.ts
  73. +2 −2 code/lib/store/src/csf/stepRunners.ts
  74. +4 −7 code/lib/store/src/csf/testing-utils/index.ts
  75. +3 −3 code/lib/store/src/decorators.test.ts
  76. +3 −3 code/lib/store/src/decorators.ts
  77. +2 −2 code/lib/store/src/inferArgTypes.ts
  78. +2 −2 code/lib/store/src/inferControls.ts
  79. +1 −1 code/lib/types/package.json
  80. +7 −3 code/lib/types/src/modules/addons.ts
  81. +3 −3 code/lib/types/src/modules/client-api.ts
  82. +1 −1 code/lib/types/src/modules/core-client.ts
  83. +2 −4 code/lib/types/src/modules/csf.ts
  84. +32 −27 code/lib/types/src/modules/store.ts
  85. +2 −1 code/package.json
  86. +11 −1 code/playwright.config.ts
  87. +1 −1 code/renderers/html/src/config.ts
  88. +2 −2 code/renderers/html/src/public-api.ts
  89. +7 −7 code/renderers/html/src/render.ts
  90. +7 −3 code/renderers/html/src/types.ts
  91. +1 −1 code/renderers/preact/src/config.ts
  92. +2 −2 code/renderers/preact/src/public-api.ts
  93. +12 −9 code/renderers/preact/src/render.tsx
  94. +3 −2 code/renderers/preact/src/types.ts
  95. +1 −1 code/renderers/react/src/config.ts
  96. +2 −2 code/renderers/react/src/docs/extractArgTypes.test.ts
  97. +2 −2 code/renderers/react/src/public-api.tsx
  98. +5 −5 code/renderers/react/src/render.tsx
  99. +2 −2 code/renderers/react/src/types.ts
  100. +1 −1 code/renderers/server/src/config.ts
  101. +2 −2 code/renderers/server/src/public-api.ts
  102. +7 −7 code/renderers/server/src/render.ts
  103. +3 −3 code/renderers/server/src/types.ts
  104. +1 −1 code/renderers/svelte/src/config.ts
  105. +3 −3 code/renderers/svelte/src/docs/sourceDecorator.ts
  106. +2 −2 code/renderers/svelte/src/public-api.ts
  107. +14 −14 code/renderers/svelte/src/render.ts
  108. +2 −2 code/renderers/svelte/src/types.ts
  109. +1 −1 code/renderers/vue/src/config.ts
  110. +2 −2 code/renderers/vue/src/public-api.ts
  111. +17 −17 code/renderers/vue/src/render.ts
  112. +3 −3 code/renderers/vue/src/types.ts
  113. +1 −1 code/renderers/vue3/src/config.ts
  114. +2 −2 code/renderers/vue3/src/public-api.ts
  115. +7 −7 code/renderers/vue3/src/render.ts
  116. +2 −2 code/renderers/vue3/src/types.ts
  117. +1 −1 code/renderers/web-components/src/config.ts
  118. +2 −2 code/renderers/web-components/src/public-api.ts
  119. +14 −13 code/renderers/web-components/src/render.ts
  120. +3 −3 code/renderers/web-components/src/types.ts
  121. +7 −2 code/ui/.storybook/main.ts
  122. +2 −2 code/ui/blocks/src/blocks/Canvas.tsx
  123. +2 −2 code/ui/blocks/src/blocks/Docs.tsx
  124. +2 −2 code/ui/blocks/src/blocks/DocsContainer.tsx
  125. +2 −2 code/ui/blocks/src/blocks/DocsContext.ts
  126. +2 −2 code/ui/blocks/src/blocks/Story.tsx
  127. +3 −3 code/ui/blocks/src/blocks/external/ExternalDocs.tsx
  128. +2 −2 code/ui/blocks/src/blocks/external/ExternalDocsContainer.tsx
  129. +2 −2 code/ui/blocks/src/blocks/external/ExternalDocsContext.ts
  130. +2 −4 code/ui/blocks/src/blocks/external/ExternalPreview.ts
  131. +3 −3 code/ui/blocks/src/blocks/useStory.ts
  132. +28 −9 code/yarn.lock
  133. +4 −5 docs/contribute/code.md
  134. +2 −2 docs/snippets/common/storybook-builder-api-preview-exports.ts.mdx
  135. +7 −8 scripts/get-template.ts
  136. +1 −1 scripts/next-repro-generators/generate-repros.ts
  137. +1 −1 scripts/next-repro-generators/utils/template.ts
  138. +0 −1 scripts/next-repro-generators/utils/types.ts
  139. +11 −6 scripts/task.ts
  140. +1 −3 scripts/tasks/e2e-tests.ts
  141. +2 −2 test-storybooks/external-docs/package.json
Loading