next 15.2.0-canary.70 → 15.2.0-canary.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of next might be problematic. Click here for more details.

Files changed (285) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +2 -2
  3. package/dist/build/swc/index.js +1 -1
  4. package/dist/build/utils.js +20 -12
  5. package/dist/build/utils.js.map +1 -1
  6. package/dist/build/webpack-config.js +2 -2
  7. package/dist/client/app-bootstrap.js +1 -1
  8. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.d.ts +2 -2
  9. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
  10. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
  11. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.d.ts +1 -1
  12. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
  13. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
  14. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.d.ts +3 -3
  15. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
  16. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
  17. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
  18. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
  19. package/dist/client/components/react-dev-overlay/ui/dev-overlay.d.ts +1 -1
  20. package/dist/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
  21. package/dist/client/index.js +1 -1
  22. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +2 -2
  23. package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
  24. package/dist/compiled/next-server/app-page.runtime.dev.js +2 -2
  25. package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
  26. package/dist/compiled/next-server/server.runtime.prod.js +2 -2
  27. package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
  28. package/dist/esm/build/index.js +2 -2
  29. package/dist/esm/build/swc/index.js +1 -1
  30. package/dist/esm/build/utils.js +20 -12
  31. package/dist/esm/build/utils.js.map +1 -1
  32. package/dist/esm/build/webpack-config.js +2 -2
  33. package/dist/esm/client/app-bootstrap.js +1 -1
  34. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
  35. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
  36. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
  37. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
  38. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
  39. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
  40. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
  41. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
  42. package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
  43. package/dist/esm/client/index.js +1 -1
  44. package/dist/esm/export/index.js +4 -1
  45. package/dist/esm/export/index.js.map +1 -1
  46. package/dist/esm/export/worker.js +5 -2
  47. package/dist/esm/export/worker.js.map +1 -1
  48. package/dist/esm/server/base-server.js +11 -11
  49. package/dist/esm/server/base-server.js.map +1 -1
  50. package/dist/esm/server/config-shared.js +1 -1
  51. package/dist/esm/server/config-shared.js.map +1 -1
  52. package/dist/esm/server/config.js +1 -1
  53. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  54. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  55. package/dist/esm/server/lib/app-info-log.js +1 -1
  56. package/dist/esm/server/lib/start-server.js +1 -1
  57. package/dist/export/index.js +4 -1
  58. package/dist/export/index.js.map +1 -1
  59. package/dist/export/worker.js +5 -2
  60. package/dist/export/worker.js.map +1 -1
  61. package/dist/server/base-server.js +11 -11
  62. package/dist/server/base-server.js.map +1 -1
  63. package/dist/server/config-shared.js +1 -1
  64. package/dist/server/config-shared.js.map +1 -1
  65. package/dist/server/config.js +1 -1
  66. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  67. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  68. package/dist/server/lib/app-info-log.js +1 -1
  69. package/dist/server/lib/start-server.js +1 -1
  70. package/dist/telemetry/anonymous-meta.js +1 -1
  71. package/dist/telemetry/events/session-stopped.js +2 -2
  72. package/dist/telemetry/events/version.js +2 -2
  73. package/package.json +16 -16
  74. package/dist/build/analysis/get-page-static-info.test.d.ts +0 -1
  75. package/dist/build/normalize-catchall-routes.test.d.ts +0 -1
  76. package/dist/build/webpack/loaders/metadata/resolve-route-data.test.d.ts +0 -1
  77. package/dist/build/webpack/plugins/next-types-plugin/index.test.d.ts +0 -1
  78. package/dist/bundles/cssnano-simple/cssnano-preset-simple.test.d.ts +0 -1
  79. package/dist/client/components/is-next-router-error.test.d.ts +0 -1
  80. package/dist/client/components/navigation.test.d.ts +0 -1
  81. package/dist/client/components/promise-queue.test.d.ts +0 -1
  82. package/dist/client/components/react-dev-overlay/server/get-next-error-feedback-middleware.test.d.ts +0 -1
  83. package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.d.ts +0 -7
  84. package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -83
  85. package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
  86. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.d.ts +0 -6
  87. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -55
  88. package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
  89. package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.d.ts +0 -7
  90. package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -106
  91. package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
  92. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.d.ts +0 -9
  93. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -135
  94. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
  95. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.d.ts +0 -13
  96. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -129
  97. package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
  98. package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.d.ts +0 -8
  99. package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -65
  100. package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
  101. package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.d.ts +0 -9
  102. package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -83
  103. package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
  104. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.d.ts +0 -10
  105. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -100
  106. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
  107. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.test.d.ts +0 -1
  108. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.d.ts +0 -6
  109. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -88
  110. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
  111. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.d.ts +0 -9
  112. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -119
  113. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
  114. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.d.ts +0 -7
  115. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -58
  116. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
  117. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.d.ts +0 -7
  118. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -56
  119. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
  120. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.d.ts +0 -7
  121. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -60
  122. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
  123. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.d.ts +0 -7
  124. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -56
  125. package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
  126. package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.d.ts +0 -10
  127. package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -83
  128. package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
  129. package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.d.ts +0 -7
  130. package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -56
  131. package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
  132. package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.d.ts +0 -12
  133. package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -137
  134. package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
  135. package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.d.ts +0 -7
  136. package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -61
  137. package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
  138. package/dist/client/components/react-dev-overlay/ui/container/errors.stories.d.ts +0 -9
  139. package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -258
  140. package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
  141. package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.d.ts +0 -8
  142. package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -79
  143. package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
  144. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.d.ts +0 -8
  145. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -72
  146. package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
  147. package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.d.ts +0 -6
  148. package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -118
  149. package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
  150. package/dist/client/components/react-dev-overlay/ui/utils/cx.test.d.ts +0 -1
  151. package/dist/client/components/react-dev-overlay/ui/utils/parse-url-from-text.test.d.ts +0 -1
  152. package/dist/client/components/react-dev-overlay/utils/css.test.d.ts +0 -1
  153. package/dist/client/components/react-dev-overlay/utils/webpack-module-path.test.d.ts +0 -1
  154. package/dist/client/components/redirect.test.d.ts +0 -1
  155. package/dist/client/components/router-reducer/apply-router-state-patch-to-tree.test.d.ts +0 -1
  156. package/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.test.d.ts +0 -1
  157. package/dist/client/components/router-reducer/compute-changed-path.test.d.ts +0 -1
  158. package/dist/client/components/router-reducer/create-href-from-url.test.d.ts +0 -1
  159. package/dist/client/components/router-reducer/create-initial-router-state.test.d.ts +0 -1
  160. package/dist/client/components/router-reducer/create-router-cache-key.test.d.ts +0 -1
  161. package/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.test.d.ts +0 -1
  162. package/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.test.d.ts +0 -1
  163. package/dist/client/components/router-reducer/get-segment-value.test.d.ts +0 -1
  164. package/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.test.d.ts +0 -1
  165. package/dist/client/components/router-reducer/invalidate-cache-by-router-state.test.d.ts +0 -1
  166. package/dist/client/components/router-reducer/is-navigating-to-new-root-layout.test.d.ts +0 -1
  167. package/dist/client/components/router-reducer/reducers/find-head-in-cache.test.d.ts +0 -1
  168. package/dist/client/components/router-reducer/should-hard-navigate.test.d.ts +0 -1
  169. package/dist/diagnostics/build-diagnostics.test.d.ts +0 -1
  170. package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -51
  171. package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
  172. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -27
  173. package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
  174. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -74
  175. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
  176. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -95
  177. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
  178. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -73
  179. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
  180. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -29
  181. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
  182. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -43
  183. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
  184. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -56
  185. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
  186. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -60
  187. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
  188. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -79
  189. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
  190. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -26
  191. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
  192. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -24
  193. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
  194. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -28
  195. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
  196. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -24
  197. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
  198. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -39
  199. package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
  200. package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -24
  201. package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
  202. package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -85
  203. package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
  204. package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -29
  205. package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
  206. package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -218
  207. package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
  208. package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -43
  209. package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
  210. package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -36
  211. package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
  212. package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -90
  213. package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
  214. package/dist/experimental/testing/server/config-testing-utils.test.d.ts +0 -1
  215. package/dist/experimental/testing/server/middleware-testing-utils.test.d.ts +0 -1
  216. package/dist/lib/batcher.test.d.ts +0 -1
  217. package/dist/lib/find-config.test.d.ts +0 -1
  218. package/dist/lib/format-server-error.test.d.ts +0 -1
  219. package/dist/lib/load-custom-routes.test.d.ts +0 -1
  220. package/dist/lib/metadata/is-metadata-route.test.d.ts +0 -1
  221. package/dist/lib/metadata/resolve-metadata.test.d.ts +0 -1
  222. package/dist/lib/metadata/resolvers/resolve-opengraph.test.d.ts +0 -1
  223. package/dist/lib/metadata/resolvers/resolve-title.test.d.ts +0 -1
  224. package/dist/lib/metadata/resolvers/resolve-url.test.d.ts +0 -1
  225. package/dist/lib/typescript/writeConfigurationDefaults.test.d.ts +0 -1
  226. package/dist/server/after/after-context.test.d.ts +0 -1
  227. package/dist/server/after/awaiter.test.d.ts +0 -1
  228. package/dist/server/app-render/action-handler.test.d.ts +0 -1
  229. package/dist/server/app-render/csrf-protection.test.d.ts +0 -1
  230. package/dist/server/app-render/postponed-state.test.d.ts +0 -1
  231. package/dist/server/app-render/types.test.d.ts +0 -1
  232. package/dist/server/base-http/web.test.d.ts +0 -1
  233. package/dist/server/config.test.d.ts +0 -1
  234. package/dist/server/dev/log-requests.test.d.ts +0 -1
  235. package/dist/server/dev/parse-version-info.test.d.ts +0 -1
  236. package/dist/server/lib/experimental/create-env-definitions.test.d.ts +0 -1
  237. package/dist/server/lib/i18n-provider.test.d.ts +0 -1
  238. package/dist/server/lib/incremental-cache/shared-revalidate-timings.test.d.ts +0 -1
  239. package/dist/server/lib/interception-routes.test.d.ts +0 -1
  240. package/dist/server/lib/mock-request.test.d.ts +0 -1
  241. package/dist/server/lib/patch-fetch.test.d.ts +0 -1
  242. package/dist/server/lib/router-utils/build-data-route.test.d.ts +0 -1
  243. package/dist/server/lib/router-utils/build-prefetch-segment-data-route.test.d.ts +0 -1
  244. package/dist/server/lib/router-utils/decode-path-params.test.d.ts +0 -1
  245. package/dist/server/lib/to-route.test.d.ts +0 -1
  246. package/dist/server/lib/utils.test.d.ts +0 -1
  247. package/dist/server/load-manifest.test.d.ts +0 -1
  248. package/dist/server/node-polyfill-crypto.test.d.ts +0 -1
  249. package/dist/server/normalizers/absolute-filename-normalizer.test.d.ts +0 -1
  250. package/dist/server/normalizers/request/base-path.test.d.ts +0 -1
  251. package/dist/server/normalizers/request/next-data.test.d.ts +0 -1
  252. package/dist/server/normalizers/request/prefetch-rsc.test.d.ts +0 -1
  253. package/dist/server/normalizers/request/prefix.test.d.ts +0 -1
  254. package/dist/server/normalizers/request/segment-prefix-rsc.test.d.ts +0 -1
  255. package/dist/server/normalizers/request/suffix.test.d.ts +0 -1
  256. package/dist/server/resume-data-cache/resume-data-cache.test.d.ts +0 -1
  257. package/dist/server/route-matcher-managers/default-route-matcher-manager.test.d.ts +0 -1
  258. package/dist/server/route-matcher-providers/app-page-route-matcher-provider.test.d.ts +0 -1
  259. package/dist/server/route-matcher-providers/app-route-route-matcher-provider.test.d.ts +0 -1
  260. package/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.test.d.ts +0 -1
  261. package/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.test.d.ts +0 -1
  262. package/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.test.d.ts +0 -1
  263. package/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.test.d.ts +0 -1
  264. package/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.test.d.ts +0 -1
  265. package/dist/server/route-matcher-providers/pages-api-route-matcher-provider.test.d.ts +0 -1
  266. package/dist/server/route-matcher-providers/pages-route-matcher-provider.test.d.ts +0 -1
  267. package/dist/server/server-utils.test.d.ts +0 -1
  268. package/dist/server/web/spec-extension/adapters/headers.test.d.ts +0 -1
  269. package/dist/server/web/spec-extension/adapters/request-cookies.test.d.ts +0 -1
  270. package/dist/server/web/utils.test.d.ts +0 -1
  271. package/dist/server/web/web-on-close.test.d.ts +0 -1
  272. package/dist/shared/lib/deep-freeze.test.d.ts +0 -1
  273. package/dist/shared/lib/get-hostname.test.d.ts +0 -1
  274. package/dist/shared/lib/normalized-asset-prefix.test.d.ts +0 -1
  275. package/dist/shared/lib/page-path/normalize-page-path.test.d.ts +0 -1
  276. package/dist/shared/lib/router/adapters.test.d.ts +0 -1
  277. package/dist/shared/lib/router/utils/app-paths.test.d.ts +0 -1
  278. package/dist/shared/lib/router/utils/is-dynamic.test.d.ts +0 -1
  279. package/dist/shared/lib/router/utils/parse-relative-url.test.d.ts +0 -1
  280. package/dist/shared/lib/router/utils/prepare-destination.test.d.ts +0 -1
  281. package/dist/shared/lib/router/utils/route-regex.test.d.ts +0 -1
  282. package/dist/shared/lib/server-reference-info.test.d.ts +0 -1
  283. package/dist/telemetry/post-telemetry-payload.test.d.ts +0 -1
  284. package/dist/trace/report/index.test.d.ts +0 -1
  285. package/dist/trace/trace.test.d.ts +0 -1
@@ -1,95 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { DevToolsIndicator } from './dev-tools-indicator';
3
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
4
- const meta = {
5
- component: DevToolsIndicator,
6
- parameters: {
7
- layout: 'centered'
8
- },
9
- argTypes: {
10
- position: {
11
- control: 'select',
12
- options: [
13
- 'top-left',
14
- 'top-right',
15
- 'bottom-left',
16
- 'bottom-right'
17
- ],
18
- defaultValue: 'bottom-left'
19
- }
20
- },
21
- decorators: [
22
- withShadowPortal,
23
- // Test for high z-index
24
- (Story)=>/*#__PURE__*/ _jsx("div", {
25
- style: {
26
- position: 'fixed',
27
- top: 0,
28
- left: 0,
29
- width: '100%',
30
- height: '100%',
31
- zIndex: 9999,
32
- display: 'flex',
33
- alignItems: 'center',
34
- justifyContent: 'center',
35
- background: 'linear-gradient(135deg, rgba(230,240,255,0.8) 0%, rgba(200,220,255,0.6) 100%)'
36
- },
37
- children: /*#__PURE__*/ _jsx(Story, {})
38
- })
39
- ]
40
- };
41
- export default meta;
42
- // Mock version info for stories
43
- const mockVersionInfo = {
44
- installed: '15.1.2',
45
- staleness: 'stale-major'
46
- };
47
- const state = {
48
- nextId: 1,
49
- buildError: null,
50
- errors: [],
51
- refreshState: {
52
- type: 'idle'
53
- },
54
- disableDevIndicator: false,
55
- rootLayoutMissingTags: [],
56
- versionInfo: mockVersionInfo,
57
- notFound: false,
58
- staticIndicator: true,
59
- debugInfo: {
60
- devtoolsFrontendUrl: undefined
61
- }
62
- };
63
- export const StaticRoute = {
64
- args: {
65
- errorCount: 0,
66
- state,
67
- setIsErrorOverlayOpen: ()=>{}
68
- }
69
- };
70
- export const DynamicRoute = {
71
- args: {
72
- errorCount: 0,
73
- state: {
74
- ...state,
75
- staticIndicator: false
76
- },
77
- setIsErrorOverlayOpen: ()=>{}
78
- }
79
- };
80
- export const SingleError = {
81
- args: {
82
- errorCount: 1,
83
- state,
84
- setIsErrorOverlayOpen: ()=>{}
85
- }
86
- };
87
- export const MultipleErrors = {
88
- args: {
89
- errorCount: 3,
90
- state,
91
- setIsErrorOverlayOpen: ()=>{}
92
- }
93
- };
94
-
95
- //# sourceMappingURL=dev-tools-indicator.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { DevToolsIndicator } from './dev-tools-indicator'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\nimport type { VersionInfo } from '../../../../../../../server/dev/parse-version-info'\nimport type { OverlayState } from '../../../../shared'\n\nconst meta: Meta<typeof DevToolsIndicator> = {\n component: DevToolsIndicator,\n parameters: {\n layout: 'centered',\n },\n argTypes: {\n position: {\n control: 'select',\n options: ['top-left', 'top-right', 'bottom-left', 'bottom-right'],\n defaultValue: 'bottom-left',\n },\n },\n decorators: [\n withShadowPortal,\n // Test for high z-index\n (Story) => (\n <div\n style={{\n position: 'fixed',\n top: 0,\n left: 0,\n width: '100%',\n height: '100%',\n zIndex: 9999,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n background:\n 'linear-gradient(135deg, rgba(230,240,255,0.8) 0%, rgba(200,220,255,0.6) 100%)',\n }}\n >\n <Story />\n </div>\n ),\n ],\n}\n\nexport default meta\ntype Story = StoryObj<typeof DevToolsIndicator>\n\n// Mock version info for stories\nconst mockVersionInfo: VersionInfo = {\n installed: '15.1.2',\n staleness: 'stale-major',\n}\n\nconst state: OverlayState = {\n nextId: 1,\n buildError: null,\n errors: [],\n refreshState: { type: 'idle' },\n disableDevIndicator: false,\n rootLayoutMissingTags: [],\n versionInfo: mockVersionInfo,\n notFound: false,\n staticIndicator: true,\n debugInfo: { devtoolsFrontendUrl: undefined },\n}\n\nexport const StaticRoute: Story = {\n args: {\n errorCount: 0,\n state,\n setIsErrorOverlayOpen: () => {},\n },\n}\n\nexport const DynamicRoute: Story = {\n args: {\n errorCount: 0,\n state: {\n ...state,\n staticIndicator: false,\n },\n setIsErrorOverlayOpen: () => {},\n },\n}\n\nexport const SingleError: Story = {\n args: {\n errorCount: 1,\n state,\n setIsErrorOverlayOpen: () => {},\n },\n}\n\nexport const MultipleErrors: Story = {\n args: {\n errorCount: 3,\n state,\n setIsErrorOverlayOpen: () => {},\n },\n}\n"],"names":["DevToolsIndicator","withShadowPortal","meta","component","parameters","layout","argTypes","position","control","options","defaultValue","decorators","Story","div","style","top","left","width","height","zIndex","display","alignItems","justifyContent","background","mockVersionInfo","installed","staleness","state","nextId","buildError","errors","refreshState","type","disableDevIndicator","rootLayoutMissingTags","versionInfo","notFound","staticIndicator","debugInfo","devtoolsFrontendUrl","undefined","StaticRoute","args","errorCount","setIsErrorOverlayOpen","DynamicRoute","SingleError","MultipleErrors"],"mappings":";AACA,SAASA,iBAAiB,QAAQ,wBAAuB;AACzD,SAASC,gBAAgB,QAAQ,wCAAuC;AAIxE,MAAMC,OAAuC;IAC3CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,UAAU;QACRC,UAAU;YACRC,SAAS;YACTC,SAAS;gBAAC;gBAAY;gBAAa;gBAAe;aAAe;YACjEC,cAAc;QAChB;IACF;IACAC,YAAY;QACVV;QACA,wBAAwB;QACxB,CAACW,sBACC,KAACC;gBACCC,OAAO;oBACLP,UAAU;oBACVQ,KAAK;oBACLC,MAAM;oBACNC,OAAO;oBACPC,QAAQ;oBACRC,QAAQ;oBACRC,SAAS;oBACTC,YAAY;oBACZC,gBAAgB;oBAChBC,YACE;gBACJ;0BAEA,cAAA,KAACX;;KAGN;AACH;AAEA,eAAeV,KAAI;AAGnB,gCAAgC;AAChC,MAAMsB,kBAA+B;IACnCC,WAAW;IACXC,WAAW;AACb;AAEA,MAAMC,QAAsB;IAC1BC,QAAQ;IACRC,YAAY;IACZC,QAAQ,EAAE;IACVC,cAAc;QAAEC,MAAM;IAAO;IAC7BC,qBAAqB;IACrBC,uBAAuB,EAAE;IACzBC,aAAaX;IACbY,UAAU;IACVC,iBAAiB;IACjBC,WAAW;QAAEC,qBAAqBC;IAAU;AAC9C;AAEA,OAAO,MAAMC,cAAqB;IAChCC,MAAM;QACJC,YAAY;QACZhB;QACAiB,uBAAuB,KAAO;IAChC;AACF,EAAC;AAED,OAAO,MAAMC,eAAsB;IACjCH,MAAM;QACJC,YAAY;QACZhB,OAAO;YACL,GAAGA,KAAK;YACRU,iBAAiB;QACnB;QACAO,uBAAuB,KAAO;IAChC;AACF,EAAC;AAED,OAAO,MAAME,cAAqB;IAChCJ,MAAM;QACJC,YAAY;QACZhB;QACAiB,uBAAuB,KAAO;IAChC;AACF,EAAC;AAED,OAAO,MAAMG,iBAAwB;IACnCL,MAAM;QACJC,YAAY;QACZhB;QACAiB,uBAAuB,KAAO;IAChC;AACF,EAAC"}
@@ -1,73 +0,0 @@
1
- import { NextLogo } from './next-logo';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: NextLogo,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- args: {
9
- onClick: ()=>console.log('Clicked!')
10
- },
11
- decorators: [
12
- withShadowPortal
13
- ]
14
- };
15
- export default meta;
16
- export const NoIssues = {
17
- args: {
18
- issueCount: 0,
19
- isDevBuilding: false,
20
- isDevRendering: false
21
- }
22
- };
23
- export const SingleIssue = {
24
- args: {
25
- issueCount: 1,
26
- isDevBuilding: false,
27
- isDevRendering: false
28
- }
29
- };
30
- export const MultipleIssues = {
31
- args: {
32
- issueCount: 5,
33
- isDevBuilding: false,
34
- isDevRendering: false
35
- }
36
- };
37
- export const ManyIssues = {
38
- args: {
39
- issueCount: 99,
40
- isDevBuilding: false,
41
- isDevRendering: false
42
- }
43
- };
44
- export const Building = {
45
- args: {
46
- issueCount: 0,
47
- isDevBuilding: true,
48
- isDevRendering: false
49
- }
50
- };
51
- export const BuildingWithError = {
52
- args: {
53
- issueCount: 1,
54
- isDevBuilding: true,
55
- isDevRendering: false
56
- }
57
- };
58
- export const Rendering = {
59
- args: {
60
- issueCount: 0,
61
- isDevBuilding: false,
62
- isDevRendering: true
63
- }
64
- };
65
- export const RenderingWithError = {
66
- args: {
67
- issueCount: 1,
68
- isDevBuilding: false,
69
- isDevRendering: true
70
- }
71
- };
72
-
73
- //# sourceMappingURL=next-logo.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { NextLogo } from './next-logo'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof NextLogo> = {\n component: NextLogo,\n parameters: {\n layout: 'centered',\n },\n args: {\n onClick: () => console.log('Clicked!'),\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof NextLogo>\n\nexport const NoIssues: Story = {\n args: {\n issueCount: 0,\n isDevBuilding: false,\n isDevRendering: false,\n },\n}\n\nexport const SingleIssue: Story = {\n args: {\n issueCount: 1,\n isDevBuilding: false,\n isDevRendering: false,\n },\n}\n\nexport const MultipleIssues: Story = {\n args: {\n issueCount: 5,\n isDevBuilding: false,\n isDevRendering: false,\n },\n}\n\nexport const ManyIssues: Story = {\n args: {\n issueCount: 99,\n isDevBuilding: false,\n isDevRendering: false,\n },\n}\n\nexport const Building: Story = {\n args: {\n issueCount: 0,\n isDevBuilding: true,\n isDevRendering: false,\n },\n}\n\nexport const BuildingWithError: Story = {\n args: {\n issueCount: 1,\n isDevBuilding: true,\n isDevRendering: false,\n },\n}\n\nexport const Rendering: Story = {\n args: {\n issueCount: 0,\n isDevBuilding: false,\n isDevRendering: true,\n },\n}\n\nexport const RenderingWithError: Story = {\n args: {\n issueCount: 1,\n isDevBuilding: false,\n isDevRendering: true,\n },\n}\n"],"names":["NextLogo","withShadowPortal","meta","component","parameters","layout","args","onClick","console","log","decorators","NoIssues","issueCount","isDevBuilding","isDevRendering","SingleIssue","MultipleIssues","ManyIssues","Building","BuildingWithError","Rendering","RenderingWithError"],"mappings":"AACA,SAASA,QAAQ,QAAQ,cAAa;AACtC,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAA8B;IAClCC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,MAAM;QACJC,SAAS,IAAMC,QAAQC,GAAG,CAAC;IAC7B;IACAC,YAAY;QAACT;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMS,WAAkB;IAC7BL,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMC,cAAqB;IAChCT,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAME,iBAAwB;IACnCV,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMG,aAAoB;IAC/BX,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMI,WAAkB;IAC7BZ,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMK,oBAA2B;IACtCb,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMM,YAAmB;IAC9Bd,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC;AAED,OAAO,MAAMO,qBAA4B;IACvCf,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF,EAAC"}
@@ -1,29 +0,0 @@
1
- import { EnvironmentNameLabel } from './environment-name-label';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: EnvironmentNameLabel,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- decorators: [
9
- withShadowPortal
10
- ]
11
- };
12
- export default meta;
13
- export const Server = {
14
- args: {
15
- environmentName: 'Server'
16
- }
17
- };
18
- export const Prerender = {
19
- args: {
20
- environmentName: 'Prerender'
21
- }
22
- };
23
- export const Cache = {
24
- args: {
25
- environmentName: 'Cache'
26
- }
27
- };
28
-
29
- //# sourceMappingURL=environment-name-label.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { EnvironmentNameLabel } from './environment-name-label'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof EnvironmentNameLabel> = {\n component: EnvironmentNameLabel,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof EnvironmentNameLabel>\n\nexport const Server: Story = {\n args: {\n environmentName: 'Server',\n },\n}\n\nexport const Prerender: Story = {\n args: {\n environmentName: 'Prerender',\n },\n}\n\nexport const Cache: Story = {\n args: {\n environmentName: 'Cache',\n },\n}\n"],"names":["EnvironmentNameLabel","withShadowPortal","meta","component","parameters","layout","decorators","Server","args","environmentName","Prerender","Cache"],"mappings":"AACA,SAASA,oBAAoB,QAAQ,2BAA0B;AAC/D,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAA0C;IAC9CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,SAAgB;IAC3BC,MAAM;QACJC,iBAAiB;IACnB;AACF,EAAC;AAED,OAAO,MAAMC,YAAmB;IAC9BF,MAAM;QACJC,iBAAiB;IACnB;AACF,EAAC;AAED,OAAO,MAAME,QAAe;IAC1BH,MAAM;QACJC,iBAAiB;IACnB;AACF,EAAC"}
@@ -1,43 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ErrorMessage } from './error-message';
3
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
4
- const meta = {
5
- component: ErrorMessage,
6
- parameters: {
7
- layout: 'fullscreen'
8
- },
9
- decorators: [
10
- withShadowPortal
11
- ]
12
- };
13
- export default meta;
14
- export const ShortString = {
15
- args: {
16
- errorMessage: 'A simple error message'
17
- }
18
- };
19
- export const LongString = {
20
- args: {
21
- errorMessage: "\n Lorem ipsum dolor sit amet consectetur.\n Aliquet nulla ut fames eu posuere leo.\n Sed dolor lacus sit risus diam aliquam augue.\n Amet dictum donec scelerisque morbi aliquam volutpat.\n Sit nec sit faucibus elit id ultrices est.\n Nunc elementum fames at mattis nisi.\n Quisque lectus nec ultrices morbi aliquam vestibulum.\n Tempor quis volutpat urna proin.\n "
22
- }
23
- };
24
- export const SuperLongString = {
25
- args: {
26
- errorMessage: 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Praesentium molestiae, perspiciatis earum labore repudiandae aliquid atque soluta ullam. Quidem provident non at. Reprehenderit similique harum recusandae id est dolore temporibus!\n'.repeat(30)
27
- }
28
- };
29
- export const ReactNode = {
30
- args: {
31
- errorMessage: /*#__PURE__*/ _jsxs("span", {
32
- children: [
33
- "An error message with ",
34
- /*#__PURE__*/ _jsx("strong", {
35
- children: "formatted"
36
- }),
37
- " content"
38
- ]
39
- })
40
- }
41
- };
42
-
43
- //# sourceMappingURL=error-message.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorMessage } from './error-message'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof ErrorMessage> = {\n component: ErrorMessage,\n parameters: {\n layout: 'fullscreen',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorMessage>\n\nexport const ShortString: Story = {\n args: {\n errorMessage: 'A simple error message',\n },\n}\n\nexport const LongString: Story = {\n args: {\n errorMessage: `\n Lorem ipsum dolor sit amet consectetur.\n Aliquet nulla ut fames eu posuere leo.\n Sed dolor lacus sit risus diam aliquam augue.\n Amet dictum donec scelerisque morbi aliquam volutpat.\n Sit nec sit faucibus elit id ultrices est.\n Nunc elementum fames at mattis nisi.\n Quisque lectus nec ultrices morbi aliquam vestibulum.\n Tempor quis volutpat urna proin.\n `,\n },\n}\n\nexport const SuperLongString: Story = {\n args: {\n errorMessage:\n 'Lorem ipsum dolor sit, amet consectetur adipisicing elit. Praesentium molestiae, perspiciatis earum labore repudiandae aliquid atque soluta ullam. Quidem provident non at. Reprehenderit similique harum recusandae id est dolore temporibus!\\n'.repeat(\n 30\n ),\n },\n}\n\nexport const ReactNode: Story = {\n args: {\n errorMessage: (\n <span>\n An error message with <strong>formatted</strong> content\n </span>\n ),\n },\n}\n"],"names":["ErrorMessage","withShadowPortal","meta","component","parameters","layout","decorators","ShortString","args","errorMessage","LongString","SuperLongString","repeat","ReactNode","span","strong"],"mappings":";AACA,SAASA,YAAY,QAAQ,kBAAiB;AAC9C,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAAkC;IACtCC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,cAAqB;IAChCC,MAAM;QACJC,cAAc;IAChB;AACF,EAAC;AAED,OAAO,MAAMC,aAAoB;IAC/BF,MAAM;QACJC,cAAe;IAUjB;AACF,EAAC;AAED,OAAO,MAAME,kBAAyB;IACpCH,MAAM;QACJC,cACE,mPAAmPG,MAAM,CACvP;IAEN;AACF,EAAC;AAED,OAAO,MAAMC,YAAmB;IAC9BL,MAAM;QACJC,4BACE,MAACK;;gBAAK;8BACkB,KAACC;8BAAO;;gBAAkB;;;IAGtD;AACF,EAAC"}
@@ -1,56 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ErrorOverlayLayout } from './error-overlay-layout';
3
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
4
- const meta = {
5
- component: ErrorOverlayLayout,
6
- parameters: {
7
- layout: 'fullscreen'
8
- },
9
- decorators: [
10
- withShadowPortal
11
- ]
12
- };
13
- export default meta;
14
- export const Default = {
15
- args: {
16
- errorType: 'Build Error',
17
- errorMessage: 'Failed to compile',
18
- errorCode: 'E001',
19
- versionInfo: {
20
- installed: '15.0.0',
21
- staleness: 'fresh'
22
- },
23
- children: /*#__PURE__*/ _jsx("div", {
24
- style: {
25
- margin: '1rem'
26
- },
27
- children: "Module not found: Cannot find module './missing-module'"
28
- })
29
- }
30
- };
31
- export const Turbopack = {
32
- args: {
33
- ...Default.args,
34
- isTurbopack: true
35
- }
36
- };
37
- export const NoErrorCode = {
38
- args: {
39
- ...Default.args,
40
- errorCode: undefined
41
- }
42
- };
43
- export const WithLongFooterMessage = {
44
- args: {
45
- ...Default.args,
46
- footerMessage: 'This is a very long footer message that demonstrates how the footer handles lengthy text. It could contain important information about the error or additional context for debugging.'
47
- }
48
- };
49
- export const WithShortFooterMessage = {
50
- args: {
51
- ...Default.args,
52
- footerMessage: 'A brief error description.'
53
- }
54
- };
55
-
56
- //# sourceMappingURL=error-overlay-layout.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorOverlayLayout } from './error-overlay-layout'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof ErrorOverlayLayout> = {\n component: ErrorOverlayLayout,\n parameters: {\n layout: 'fullscreen',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorOverlayLayout>\n\nexport const Default: Story = {\n args: {\n errorType: 'Build Error',\n errorMessage: 'Failed to compile',\n errorCode: 'E001',\n versionInfo: {\n installed: '15.0.0',\n staleness: 'fresh',\n },\n children: (\n <div style={{ margin: '1rem' }}>\n Module not found: Cannot find module './missing-module'\n </div>\n ),\n },\n}\n\nexport const Turbopack: Story = {\n args: {\n ...Default.args,\n isTurbopack: true,\n },\n}\n\nexport const NoErrorCode: Story = {\n args: {\n ...Default.args,\n errorCode: undefined,\n },\n}\n\nexport const WithLongFooterMessage: Story = {\n args: {\n ...Default.args,\n footerMessage:\n 'This is a very long footer message that demonstrates how the footer handles lengthy text. It could contain important information about the error or additional context for debugging.',\n },\n}\n\nexport const WithShortFooterMessage: Story = {\n args: {\n ...Default.args,\n footerMessage: 'A brief error description.',\n },\n}\n"],"names":["ErrorOverlayLayout","withShadowPortal","meta","component","parameters","layout","decorators","Default","args","errorType","errorMessage","errorCode","versionInfo","installed","staleness","children","div","style","margin","Turbopack","isTurbopack","NoErrorCode","undefined","WithLongFooterMessage","footerMessage","WithShortFooterMessage"],"mappings":";AACA,SAASA,kBAAkB,QAAQ,yBAAwB;AAC3D,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAAwC;IAC5CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,UAAiB;IAC5BC,MAAM;QACJC,WAAW;QACXC,cAAc;QACdC,WAAW;QACXC,aAAa;YACXC,WAAW;YACXC,WAAW;QACb;QACAC,wBACE,KAACC;YAAIC,OAAO;gBAAEC,QAAQ;YAAO;sBAAG;;IAIpC;AACF,EAAC;AAED,OAAO,MAAMC,YAAmB;IAC9BX,MAAM;QACJ,GAAGD,QAAQC,IAAI;QACfY,aAAa;IACf;AACF,EAAC;AAED,OAAO,MAAMC,cAAqB;IAChCb,MAAM;QACJ,GAAGD,QAAQC,IAAI;QACfG,WAAWW;IACb;AACF,EAAC;AAED,OAAO,MAAMC,wBAA+B;IAC1Cf,MAAM;QACJ,GAAGD,QAAQC,IAAI;QACfgB,eACE;IACJ;AACF,EAAC;AAED,OAAO,MAAMC,yBAAgC;IAC3CjB,MAAM;QACJ,GAAGD,QAAQC,IAAI;QACfgB,eAAe;IACjB;AACF,EAAC"}
@@ -1,60 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ErrorOverlayNav } from './error-overlay-nav';
3
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
4
- const meta = {
5
- component: ErrorOverlayNav,
6
- parameters: {
7
- layout: 'fullscreen'
8
- },
9
- decorators: [
10
- withShadowPortal
11
- ]
12
- };
13
- export default meta;
14
- export const Default = {
15
- args: {
16
- runtimeErrors: [
17
- {
18
- id: 0,
19
- runtime: true,
20
- error: new Error('First error message'),
21
- frames: ()=>Promise.resolve([])
22
- },
23
- {
24
- id: 1,
25
- runtime: true,
26
- error: new Error('Second error message'),
27
- frames: ()=>Promise.resolve([])
28
- },
29
- {
30
- id: 2,
31
- runtime: true,
32
- error: new Error('Third error message'),
33
- frames: ()=>Promise.resolve([])
34
- }
35
- ],
36
- activeIdx: 1,
37
- versionInfo: {
38
- installed: '15.0.0',
39
- staleness: 'stale-major'
40
- }
41
- },
42
- parameters: {
43
- docs: {
44
- story: {
45
- inline: true
46
- }
47
- }
48
- },
49
- decorators: [
50
- (Story)=>// Offset the translateY applied to the floating header.
51
- /*#__PURE__*/ _jsx("div", {
52
- style: {
53
- paddingTop: 'var(--size-10_5)'
54
- },
55
- children: /*#__PURE__*/ _jsx(Story, {})
56
- })
57
- ]
58
- };
59
-
60
- //# sourceMappingURL=error-overlay-nav.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorOverlayNav } from './error-overlay-nav'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof ErrorOverlayNav> = {\n component: ErrorOverlayNav,\n parameters: {\n layout: 'fullscreen',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorOverlayNav>\n\nexport const Default: Story = {\n args: {\n runtimeErrors: [\n {\n id: 0,\n runtime: true,\n error: new Error('First error message'),\n frames: () => Promise.resolve([]),\n },\n {\n id: 1,\n runtime: true,\n error: new Error('Second error message'),\n frames: () => Promise.resolve([]),\n },\n {\n id: 2,\n runtime: true,\n error: new Error('Third error message'),\n frames: () => Promise.resolve([]),\n },\n ],\n activeIdx: 1,\n versionInfo: {\n installed: '15.0.0',\n staleness: 'stale-major',\n },\n },\n parameters: {\n docs: {\n story: { inline: true },\n },\n },\n decorators: [\n (Story) => (\n // Offset the translateY applied to the floating header.\n <div style={{ paddingTop: 'var(--size-10_5)' }}>\n <Story />\n </div>\n ),\n ],\n}\n"],"names":["ErrorOverlayNav","withShadowPortal","meta","component","parameters","layout","decorators","Default","args","runtimeErrors","id","runtime","error","Error","frames","Promise","resolve","activeIdx","versionInfo","installed","staleness","docs","story","inline","Story","div","style","paddingTop"],"mappings":";AACA,SAASA,eAAe,QAAQ,sBAAqB;AACrD,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAAqC;IACzCC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,UAAiB;IAC5BC,MAAM;QACJC,eAAe;YACb;gBACEC,IAAI;gBACJC,SAAS;gBACTC,OAAO,IAAIC,MAAM;gBACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;YAClC;YACA;gBACEN,IAAI;gBACJC,SAAS;gBACTC,OAAO,IAAIC,MAAM;gBACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;YAClC;YACA;gBACEN,IAAI;gBACJC,SAAS;gBACTC,OAAO,IAAIC,MAAM;gBACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;YAClC;SACD;QACDC,WAAW;QACXC,aAAa;YACXC,WAAW;YACXC,WAAW;QACb;IACF;IACAhB,YAAY;QACViB,MAAM;YACJC,OAAO;gBAAEC,QAAQ;YAAK;QACxB;IACF;IACAjB,YAAY;QACV,CAACkB,QACC,wDAAwD;0BACxD,KAACC;gBAAIC,OAAO;oBAAEC,YAAY;gBAAmB;0BAC3C,cAAA,KAACH;;KAGN;AACH,EAAC"}
@@ -1,79 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ErrorOverlayPagination } from './error-overlay-pagination';
3
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
4
- import { useState } from 'react';
5
- const meta = {
6
- component: ErrorOverlayPagination,
7
- parameters: {
8
- layout: 'centered'
9
- },
10
- decorators: [
11
- withShadowPortal
12
- ]
13
- };
14
- export default meta;
15
- // Mock errors for stories
16
- const mockErrors = [
17
- {
18
- id: 1,
19
- runtime: true,
20
- error: new Error('First error'),
21
- frames: ()=>Promise.resolve([])
22
- },
23
- {
24
- id: 2,
25
- runtime: true,
26
- error: new Error('Second error'),
27
- frames: ()=>Promise.resolve([])
28
- },
29
- {
30
- id: 3,
31
- runtime: true,
32
- error: new Error('Third error'),
33
- frames: ()=>Promise.resolve([])
34
- }
35
- ];
36
- export const SingleError = {
37
- render: function ErrorOverlayPaginationStory() {
38
- const [activeIdx, setActiveIdx] = useState(0);
39
- return /*#__PURE__*/ _jsx(ErrorOverlayPagination, {
40
- activeIdx: activeIdx,
41
- runtimeErrors: [
42
- mockErrors[0]
43
- ],
44
- onActiveIndexChange: setActiveIdx
45
- });
46
- }
47
- };
48
- export const MultipleErrors = {
49
- render: function ErrorOverlayPaginationStory() {
50
- const [activeIdx, setActiveIdx] = useState(1);
51
- return /*#__PURE__*/ _jsx(ErrorOverlayPagination, {
52
- activeIdx: activeIdx,
53
- runtimeErrors: mockErrors,
54
- onActiveIndexChange: setActiveIdx
55
- });
56
- }
57
- };
58
- export const LastError = {
59
- render: function ErrorOverlayPaginationStory() {
60
- const [activeIdx, setActiveIdx] = useState(2);
61
- return /*#__PURE__*/ _jsx(ErrorOverlayPagination, {
62
- activeIdx: activeIdx,
63
- runtimeErrors: mockErrors,
64
- onActiveIndexChange: setActiveIdx
65
- });
66
- }
67
- };
68
- export const VeryManyErrors = {
69
- render: function ErrorOverlayPaginationStory() {
70
- const [activeIdx, setActiveIdx] = useState(1233);
71
- return /*#__PURE__*/ _jsx(ErrorOverlayPagination, {
72
- activeIdx: activeIdx,
73
- runtimeErrors: Array(780).fill(mockErrors).flat(),
74
- onActiveIndexChange: setActiveIdx
75
- });
76
- }
77
- };
78
-
79
- //# sourceMappingURL=error-overlay-pagination.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorOverlayPagination } from './error-overlay-pagination'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\nimport { useState } from 'react'\n\nconst meta: Meta<typeof ErrorOverlayPagination> = {\n component: ErrorOverlayPagination,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorOverlayPagination>\n\n// Mock errors for stories\nconst mockErrors = [\n {\n id: 1,\n runtime: true as const,\n error: new Error('First error'),\n frames: () => Promise.resolve([]),\n },\n {\n id: 2,\n runtime: true as const,\n error: new Error('Second error'),\n frames: () => Promise.resolve([]),\n },\n {\n id: 3,\n runtime: true as const,\n error: new Error('Third error'),\n frames: () => Promise.resolve([]),\n },\n]\n\nexport const SingleError: Story = {\n render: function ErrorOverlayPaginationStory() {\n const [activeIdx, setActiveIdx] = useState(0)\n return (\n <ErrorOverlayPagination\n activeIdx={activeIdx}\n runtimeErrors={[mockErrors[0]]}\n onActiveIndexChange={setActiveIdx}\n />\n )\n },\n}\n\nexport const MultipleErrors: Story = {\n render: function ErrorOverlayPaginationStory() {\n const [activeIdx, setActiveIdx] = useState(1)\n return (\n <ErrorOverlayPagination\n activeIdx={activeIdx}\n runtimeErrors={mockErrors}\n onActiveIndexChange={setActiveIdx}\n />\n )\n },\n}\n\nexport const LastError: Story = {\n render: function ErrorOverlayPaginationStory() {\n const [activeIdx, setActiveIdx] = useState(2)\n return (\n <ErrorOverlayPagination\n activeIdx={activeIdx}\n runtimeErrors={mockErrors}\n onActiveIndexChange={setActiveIdx}\n />\n )\n },\n}\n\nexport const VeryManyErrors: Story = {\n render: function ErrorOverlayPaginationStory() {\n const [activeIdx, setActiveIdx] = useState(1233)\n return (\n <ErrorOverlayPagination\n activeIdx={activeIdx}\n runtimeErrors={Array(780).fill(mockErrors).flat()}\n onActiveIndexChange={setActiveIdx}\n />\n )\n },\n}\n"],"names":["ErrorOverlayPagination","withShadowPortal","useState","meta","component","parameters","layout","decorators","mockErrors","id","runtime","error","Error","frames","Promise","resolve","SingleError","render","ErrorOverlayPaginationStory","activeIdx","setActiveIdx","runtimeErrors","onActiveIndexChange","MultipleErrors","LastError","VeryManyErrors","Array","fill","flat"],"mappings":";AACA,SAASA,sBAAsB,QAAQ,6BAA4B;AACnE,SAASC,gBAAgB,QAAQ,wCAAuC;AACxE,SAASC,QAAQ,QAAQ,QAAO;AAEhC,MAAMC,OAA4C;IAChDC,WAAWJ;IACXK,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACN;KAAiB;AAChC;AAEA,eAAeE,KAAI;AAGnB,0BAA0B;AAC1B,MAAMK,aAAa;IACjB;QACEC,IAAI;QACJC,SAAS;QACTC,OAAO,IAAIC,MAAM;QACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;IAClC;IACA;QACEN,IAAI;QACJC,SAAS;QACTC,OAAO,IAAIC,MAAM;QACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;IAClC;IACA;QACEN,IAAI;QACJC,SAAS;QACTC,OAAO,IAAIC,MAAM;QACjBC,QAAQ,IAAMC,QAAQC,OAAO,CAAC,EAAE;IAClC;CACD;AAED,OAAO,MAAMC,cAAqB;IAChCC,QAAQ,SAASC;QACf,MAAM,CAACC,WAAWC,aAAa,GAAGlB,SAAS;QAC3C,qBACE,KAACF;YACCmB,WAAWA;YACXE,eAAe;gBAACb,UAAU,CAAC,EAAE;aAAC;YAC9Bc,qBAAqBF;;IAG3B;AACF,EAAC;AAED,OAAO,MAAMG,iBAAwB;IACnCN,QAAQ,SAASC;QACf,MAAM,CAACC,WAAWC,aAAa,GAAGlB,SAAS;QAC3C,qBACE,KAACF;YACCmB,WAAWA;YACXE,eAAeb;YACfc,qBAAqBF;;IAG3B;AACF,EAAC;AAED,OAAO,MAAMI,YAAmB;IAC9BP,QAAQ,SAASC;QACf,MAAM,CAACC,WAAWC,aAAa,GAAGlB,SAAS;QAC3C,qBACE,KAACF;YACCmB,WAAWA;YACXE,eAAeb;YACfc,qBAAqBF;;IAG3B;AACF,EAAC;AAED,OAAO,MAAMK,iBAAwB;IACnCR,QAAQ,SAASC;QACf,MAAM,CAACC,WAAWC,aAAa,GAAGlB,SAAS;QAC3C,qBACE,KAACF;YACCmB,WAAWA;YACXE,eAAeK,MAAM,KAAKC,IAAI,CAACnB,YAAYoB,IAAI;YAC/CN,qBAAqBF;;IAG3B;AACF,EAAC"}
@@ -1,26 +0,0 @@
1
- import { CopyStackTraceButton } from './copy-stack-trace-button';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: CopyStackTraceButton,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- decorators: [
9
- withShadowPortal
10
- ]
11
- };
12
- export default meta;
13
- export const WithStackTrace = {
14
- args: {
15
- error: new Error('Boom')
16
- }
17
- };
18
- export const WithoutStackTrace = {
19
- args: {
20
- error: Object.assign(new Error('Boom'), {
21
- stack: undefined
22
- })
23
- }
24
- };
25
-
26
- //# sourceMappingURL=copy-stack-trace-button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { CopyStackTraceButton } from './copy-stack-trace-button'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof CopyStackTraceButton> = {\n component: CopyStackTraceButton,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof CopyStackTraceButton>\n\nexport const WithStackTrace: Story = {\n args: {\n error: new Error('Boom'),\n },\n}\n\nexport const WithoutStackTrace: Story = {\n args: {\n error: Object.assign(new Error('Boom'), { stack: undefined }),\n },\n}\n"],"names":["CopyStackTraceButton","withShadowPortal","meta","component","parameters","layout","decorators","WithStackTrace","args","error","Error","WithoutStackTrace","Object","assign","stack","undefined"],"mappings":"AACA,SAASA,oBAAoB,QAAQ,4BAA2B;AAChE,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAA0C;IAC9CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,iBAAwB;IACnCC,MAAM;QACJC,OAAO,IAAIC,MAAM;IACnB;AACF,EAAC;AAED,OAAO,MAAMC,oBAA2B;IACtCH,MAAM;QACJC,OAAOG,OAAOC,MAAM,CAAC,IAAIH,MAAM,SAAS;YAAEI,OAAOC;QAAU;IAC7D;AACF,EAAC"}
@@ -1,24 +0,0 @@
1
- import { DocsLinkButton } from './docs-link-button';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: DocsLinkButton,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- decorators: [
9
- withShadowPortal
10
- ]
11
- };
12
- export default meta;
13
- export const WithDocsUrl = {
14
- args: {
15
- errorMessage: 'Learn more at https://nextjs.org/docs'
16
- }
17
- };
18
- export const WithoutDocsUrl = {
19
- args: {
20
- errorMessage: 'An error occurred without any documentation link'
21
- }
22
- };
23
-
24
- //# sourceMappingURL=docs-link-button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { DocsLinkButton } from './docs-link-button'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof DocsLinkButton> = {\n component: DocsLinkButton,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof DocsLinkButton>\n\nexport const WithDocsUrl: Story = {\n args: {\n errorMessage: 'Learn more at https://nextjs.org/docs',\n },\n}\n\nexport const WithoutDocsUrl: Story = {\n args: {\n errorMessage: 'An error occurred without any documentation link',\n },\n}\n"],"names":["DocsLinkButton","withShadowPortal","meta","component","parameters","layout","decorators","WithDocsUrl","args","errorMessage","WithoutDocsUrl"],"mappings":"AACA,SAASA,cAAc,QAAQ,qBAAoB;AACnD,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAAoC;IACxCC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,cAAqB;IAChCC,MAAM;QACJC,cAAc;IAChB;AACF,EAAC;AAED,OAAO,MAAMC,iBAAwB;IACnCF,MAAM;QACJC,cAAc;IAChB;AACF,EAAC"}
@@ -1,28 +0,0 @@
1
- import { ErrorOverlayToolbar } from './error-overlay-toolbar';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: ErrorOverlayToolbar,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- decorators: [
9
- withShadowPortal
10
- ]
11
- };
12
- export default meta;
13
- export const WithErrorAndDebugInfo = {
14
- args: {
15
- error: new Error('Test error with stack trace'),
16
- debugInfo: {
17
- devtoolsFrontendUrl: 'chrome-devtools://devtools/bundled/inspector.html'
18
- }
19
- }
20
- };
21
- export const WithErrorOnly = {
22
- args: {
23
- error: new Error('Test error without debug info'),
24
- debugInfo: undefined
25
- }
26
- };
27
-
28
- //# sourceMappingURL=error-overlay-toolbar.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { ErrorOverlayToolbar } from './error-overlay-toolbar'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof ErrorOverlayToolbar> = {\n component: ErrorOverlayToolbar,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof ErrorOverlayToolbar>\n\nexport const WithErrorAndDebugInfo: Story = {\n args: {\n error: new Error('Test error with stack trace'),\n debugInfo: {\n devtoolsFrontendUrl: 'chrome-devtools://devtools/bundled/inspector.html',\n },\n },\n}\n\nexport const WithErrorOnly: Story = {\n args: {\n error: new Error('Test error without debug info'),\n debugInfo: undefined,\n },\n}\n"],"names":["ErrorOverlayToolbar","withShadowPortal","meta","component","parameters","layout","decorators","WithErrorAndDebugInfo","args","error","Error","debugInfo","devtoolsFrontendUrl","WithErrorOnly","undefined"],"mappings":"AACA,SAASA,mBAAmB,QAAQ,0BAAyB;AAC7D,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAAyC;IAC7CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,wBAA+B;IAC1CC,MAAM;QACJC,OAAO,IAAIC,MAAM;QACjBC,WAAW;YACTC,qBAAqB;QACvB;IACF;AACF,EAAC;AAED,OAAO,MAAMC,gBAAuB;IAClCL,MAAM;QACJC,OAAO,IAAIC,MAAM;QACjBC,WAAWG;IACb;AACF,EAAC"}
@@ -1,24 +0,0 @@
1
- import { NodejsInspectorButton } from './nodejs-inspector-button';
2
- import { withShadowPortal } from '../../../storybook/with-shadow-portal';
3
- const meta = {
4
- component: NodejsInspectorButton,
5
- parameters: {
6
- layout: 'centered'
7
- },
8
- decorators: [
9
- withShadowPortal
10
- ]
11
- };
12
- export default meta;
13
- export const WithDevtoolsUrl = {
14
- args: {
15
- devtoolsFrontendUrl: 'chrome-devtools://devtools/bundled/inspector.html'
16
- }
17
- };
18
- export const WithoutDevtoolsUrl = {
19
- args: {
20
- devtoolsFrontendUrl: undefined
21
- }
22
- };
23
-
24
- //# sourceMappingURL=nodejs-inspector-button.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { NodejsInspectorButton } from './nodejs-inspector-button'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof NodejsInspectorButton> = {\n component: NodejsInspectorButton,\n parameters: {\n layout: 'centered',\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof NodejsInspectorButton>\n\nexport const WithDevtoolsUrl: Story = {\n args: {\n devtoolsFrontendUrl: 'chrome-devtools://devtools/bundled/inspector.html',\n },\n}\n\nexport const WithoutDevtoolsUrl: Story = {\n args: {\n devtoolsFrontendUrl: undefined,\n },\n}\n"],"names":["NodejsInspectorButton","withShadowPortal","meta","component","parameters","layout","decorators","WithDevtoolsUrl","args","devtoolsFrontendUrl","WithoutDevtoolsUrl","undefined"],"mappings":"AACA,SAASA,qBAAqB,QAAQ,4BAA2B;AACjE,SAASC,gBAAgB,QAAQ,wCAAuC;AAExE,MAAMC,OAA2C;IAC/CC,WAAWH;IACXI,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACL;KAAiB;AAChC;AAEA,eAAeC,KAAI;AAGnB,OAAO,MAAMK,kBAAyB;IACpCC,MAAM;QACJC,qBAAqB;IACvB;AACF,EAAC;AAED,OAAO,MAAMC,qBAA4B;IACvCF,MAAM;QACJC,qBAAqBE;IACvB;AACF,EAAC"}