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.
- package/dist/bin/next +1 -1
- package/dist/build/index.js +2 -2
- package/dist/build/swc/index.js +1 -1
- package/dist/build/utils.js +20 -12
- package/dist/build/utils.js.map +1 -1
- package/dist/build/webpack-config.js +2 -2
- package/dist/client/app-bootstrap.js +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.d.ts +2 -2
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.d.ts +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.d.ts +3 -3
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.d.ts +1 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
- package/dist/client/index.js +1 -1
- package/dist/compiled/next-server/app-page-experimental.runtime.dev.js +2 -2
- package/dist/compiled/next-server/app-page-experimental.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/app-page.runtime.dev.js +2 -2
- package/dist/compiled/next-server/app-page.runtime.dev.js.map +1 -1
- package/dist/compiled/next-server/server.runtime.prod.js +2 -2
- package/dist/compiled/next-server/server.runtime.prod.js.map +1 -1
- package/dist/esm/build/index.js +2 -2
- package/dist/esm/build/swc/index.js +1 -1
- package/dist/esm/build/utils.js +20 -12
- package/dist/esm/build/utils.js.map +1 -1
- package/dist/esm/build/webpack-config.js +2 -2
- package/dist/esm/client/app-bootstrap.js +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js +8 -5
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js +2 -2
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js +7 -18
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-bottom-stack/index.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.js.map +1 -1
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.js.map +1 -1
- package/dist/esm/client/index.js +1 -1
- package/dist/esm/export/index.js +4 -1
- package/dist/esm/export/index.js.map +1 -1
- package/dist/esm/export/worker.js +5 -2
- package/dist/esm/export/worker.js.map +1 -1
- package/dist/esm/server/base-server.js +11 -11
- package/dist/esm/server/base-server.js.map +1 -1
- package/dist/esm/server/config-shared.js +1 -1
- package/dist/esm/server/config-shared.js.map +1 -1
- package/dist/esm/server/config.js +1 -1
- package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/esm/server/lib/app-info-log.js +1 -1
- package/dist/esm/server/lib/start-server.js +1 -1
- package/dist/export/index.js +4 -1
- package/dist/export/index.js.map +1 -1
- package/dist/export/worker.js +5 -2
- package/dist/export/worker.js.map +1 -1
- package/dist/server/base-server.js +11 -11
- package/dist/server/base-server.js.map +1 -1
- package/dist/server/config-shared.js +1 -1
- package/dist/server/config-shared.js.map +1 -1
- package/dist/server/config.js +1 -1
- package/dist/server/dev/hot-reloader-turbopack.js +1 -1
- package/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/dist/server/lib/app-info-log.js +1 -1
- package/dist/server/lib/start-server.js +1 -1
- package/dist/telemetry/anonymous-meta.js +1 -1
- package/dist/telemetry/events/session-stopped.js +2 -2
- package/dist/telemetry/events/version.js +2 -2
- package/package.json +16 -16
- package/dist/build/analysis/get-page-static-info.test.d.ts +0 -1
- package/dist/build/normalize-catchall-routes.test.d.ts +0 -1
- package/dist/build/webpack/loaders/metadata/resolve-route-data.test.d.ts +0 -1
- package/dist/build/webpack/plugins/next-types-plugin/index.test.d.ts +0 -1
- package/dist/bundles/cssnano-simple/cssnano-preset-simple.test.d.ts +0 -1
- package/dist/client/components/is-next-router-error.test.d.ts +0 -1
- package/dist/client/components/navigation.test.d.ts +0 -1
- package/dist/client/components/promise-queue.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/server/get-next-error-feedback-middleware.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -55
- package/dist/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -106
- package/dist/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -135
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.d.ts +0 -13
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -129
- package/dist/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -65
- package/dist/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.d.ts +0 -10
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -100
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -88
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -119
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -58
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -60
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.d.ts +0 -10
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -83
- package/dist/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -56
- package/dist/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.d.ts +0 -12
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -137
- package/dist/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.d.ts +0 -7
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -61
- package/dist/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.d.ts +0 -9
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -258
- package/dist/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -79
- package/dist/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.d.ts +0 -8
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -72
- package/dist/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.d.ts +0 -6
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -118
- package/dist/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
- package/dist/client/components/react-dev-overlay/ui/utils/cx.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/ui/utils/parse-url-from-text.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/utils/css.test.d.ts +0 -1
- package/dist/client/components/react-dev-overlay/utils/webpack-module-path.test.d.ts +0 -1
- package/dist/client/components/redirect.test.d.ts +0 -1
- package/dist/client/components/router-reducer/apply-router-state-patch-to-tree.test.d.ts +0 -1
- package/dist/client/components/router-reducer/clear-cache-node-data-for-segment-path.test.d.ts +0 -1
- package/dist/client/components/router-reducer/compute-changed-path.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-href-from-url.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-initial-router-state.test.d.ts +0 -1
- package/dist/client/components/router-reducer/create-router-cache-key.test.d.ts +0 -1
- package/dist/client/components/router-reducer/fill-cache-with-new-subtree-data.test.d.ts +0 -1
- package/dist/client/components/router-reducer/fill-lazy-items-till-leaf-with-head.test.d.ts +0 -1
- package/dist/client/components/router-reducer/get-segment-value.test.d.ts +0 -1
- package/dist/client/components/router-reducer/invalidate-cache-below-flight-segmentpath.test.d.ts +0 -1
- package/dist/client/components/router-reducer/invalidate-cache-by-router-state.test.d.ts +0 -1
- package/dist/client/components/router-reducer/is-navigating-to-new-root-layout.test.d.ts +0 -1
- package/dist/client/components/router-reducer/reducers/find-head-in-cache.test.d.ts +0 -1
- package/dist/client/components/router-reducer/should-hard-navigate.test.d.ts +0 -1
- package/dist/diagnostics/build-diagnostics.test.d.ts +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js +0 -51
- package/dist/esm/client/components/react-dev-overlay/ui/components/call-stack-frame/call-stack-frame.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js +0 -27
- package/dist/esm/client/components/react-dev-overlay/ui/components/code-frame/code-frame.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js +0 -74
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js +0 -95
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/dev-tools-indicator.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js +0 -73
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/dev-tools-indicator/next-logo.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js +0 -29
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/environment-name-label/environment-name-label.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js +0 -43
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-message/error-message.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js +0 -56
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-layout/error-overlay-layout.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js +0 -60
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-nav/error-overlay-nav.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js +0 -79
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-pagination/error-overlay-pagination.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js +0 -26
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/copy-stack-trace-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/docs-link-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js +0 -28
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/error-overlay-toolbar.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-overlay-toolbar/nodejs-inspector-button.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js +0 -39
- package/dist/esm/client/components/react-dev-overlay/ui/components/errors/error-type-label/error-type-label.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js +0 -24
- package/dist/esm/client/components/react-dev-overlay/ui/components/terminal/terminal.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js +0 -85
- package/dist/esm/client/components/react-dev-overlay/ui/components/version-staleness-info/version-staleness-info.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js +0 -29
- package/dist/esm/client/components/react-dev-overlay/ui/container/build-error.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js +0 -218
- package/dist/esm/client/components/react-dev-overlay/ui/container/errors.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js +0 -43
- package/dist/esm/client/components/react-dev-overlay/ui/container/root-layout-missing-tags-error.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js +0 -36
- package/dist/esm/client/components/react-dev-overlay/ui/container/runtime-error/component-stack-pseudo-html.stories.js.map +0 -1
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js +0 -90
- package/dist/esm/client/components/react-dev-overlay/ui/dev-overlay.stories.js.map +0 -1
- package/dist/experimental/testing/server/config-testing-utils.test.d.ts +0 -1
- package/dist/experimental/testing/server/middleware-testing-utils.test.d.ts +0 -1
- package/dist/lib/batcher.test.d.ts +0 -1
- package/dist/lib/find-config.test.d.ts +0 -1
- package/dist/lib/format-server-error.test.d.ts +0 -1
- package/dist/lib/load-custom-routes.test.d.ts +0 -1
- package/dist/lib/metadata/is-metadata-route.test.d.ts +0 -1
- package/dist/lib/metadata/resolve-metadata.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-opengraph.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-title.test.d.ts +0 -1
- package/dist/lib/metadata/resolvers/resolve-url.test.d.ts +0 -1
- package/dist/lib/typescript/writeConfigurationDefaults.test.d.ts +0 -1
- package/dist/server/after/after-context.test.d.ts +0 -1
- package/dist/server/after/awaiter.test.d.ts +0 -1
- package/dist/server/app-render/action-handler.test.d.ts +0 -1
- package/dist/server/app-render/csrf-protection.test.d.ts +0 -1
- package/dist/server/app-render/postponed-state.test.d.ts +0 -1
- package/dist/server/app-render/types.test.d.ts +0 -1
- package/dist/server/base-http/web.test.d.ts +0 -1
- package/dist/server/config.test.d.ts +0 -1
- package/dist/server/dev/log-requests.test.d.ts +0 -1
- package/dist/server/dev/parse-version-info.test.d.ts +0 -1
- package/dist/server/lib/experimental/create-env-definitions.test.d.ts +0 -1
- package/dist/server/lib/i18n-provider.test.d.ts +0 -1
- package/dist/server/lib/incremental-cache/shared-revalidate-timings.test.d.ts +0 -1
- package/dist/server/lib/interception-routes.test.d.ts +0 -1
- package/dist/server/lib/mock-request.test.d.ts +0 -1
- package/dist/server/lib/patch-fetch.test.d.ts +0 -1
- package/dist/server/lib/router-utils/build-data-route.test.d.ts +0 -1
- package/dist/server/lib/router-utils/build-prefetch-segment-data-route.test.d.ts +0 -1
- package/dist/server/lib/router-utils/decode-path-params.test.d.ts +0 -1
- package/dist/server/lib/to-route.test.d.ts +0 -1
- package/dist/server/lib/utils.test.d.ts +0 -1
- package/dist/server/load-manifest.test.d.ts +0 -1
- package/dist/server/node-polyfill-crypto.test.d.ts +0 -1
- package/dist/server/normalizers/absolute-filename-normalizer.test.d.ts +0 -1
- package/dist/server/normalizers/request/base-path.test.d.ts +0 -1
- package/dist/server/normalizers/request/next-data.test.d.ts +0 -1
- package/dist/server/normalizers/request/prefetch-rsc.test.d.ts +0 -1
- package/dist/server/normalizers/request/prefix.test.d.ts +0 -1
- package/dist/server/normalizers/request/segment-prefix-rsc.test.d.ts +0 -1
- package/dist/server/normalizers/request/suffix.test.d.ts +0 -1
- package/dist/server/resume-data-cache/resume-data-cache.test.d.ts +0 -1
- package/dist/server/route-matcher-managers/default-route-matcher-manager.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/app-page-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/app-route-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/pages-api-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/route-matcher-providers/pages-route-matcher-provider.test.d.ts +0 -1
- package/dist/server/server-utils.test.d.ts +0 -1
- package/dist/server/web/spec-extension/adapters/headers.test.d.ts +0 -1
- package/dist/server/web/spec-extension/adapters/request-cookies.test.d.ts +0 -1
- package/dist/server/web/utils.test.d.ts +0 -1
- package/dist/server/web/web-on-close.test.d.ts +0 -1
- package/dist/shared/lib/deep-freeze.test.d.ts +0 -1
- package/dist/shared/lib/get-hostname.test.d.ts +0 -1
- package/dist/shared/lib/normalized-asset-prefix.test.d.ts +0 -1
- package/dist/shared/lib/page-path/normalize-page-path.test.d.ts +0 -1
- package/dist/shared/lib/router/adapters.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/app-paths.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/is-dynamic.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/parse-relative-url.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/prepare-destination.test.d.ts +0 -1
- package/dist/shared/lib/router/utils/route-regex.test.d.ts +0 -1
- package/dist/shared/lib/server-reference-info.test.d.ts +0 -1
- package/dist/telemetry/post-telemetry-payload.test.d.ts +0 -1
- package/dist/trace/report/index.test.d.ts +0 -1
- package/dist/trace/trace.test.d.ts +0 -1
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { CallStack } from './call-stack';
|
3
|
-
declare const meta: Meta<typeof CallStack>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof CallStack>;
|
6
|
-
export declare const SingleFrame: Story;
|
7
|
-
export declare const MultipleFrames: Story;
|
@@ -1,106 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
MultipleFrames: null,
|
7
|
-
SingleFrame: null,
|
8
|
-
default: null
|
9
|
-
});
|
10
|
-
function _export(target, all) {
|
11
|
-
for(var name in all)Object.defineProperty(target, name, {
|
12
|
-
enumerable: true,
|
13
|
-
get: all[name]
|
14
|
-
});
|
15
|
-
}
|
16
|
-
_export(exports, {
|
17
|
-
MultipleFrames: function() {
|
18
|
-
return MultipleFrames;
|
19
|
-
},
|
20
|
-
SingleFrame: function() {
|
21
|
-
return SingleFrame;
|
22
|
-
},
|
23
|
-
default: function() {
|
24
|
-
return _default;
|
25
|
-
}
|
26
|
-
});
|
27
|
-
const _callstack = require("./call-stack");
|
28
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
29
|
-
const meta = {
|
30
|
-
component: _callstack.CallStack,
|
31
|
-
parameters: {
|
32
|
-
layout: 'fullscreen',
|
33
|
-
backgrounds: {
|
34
|
-
default: 'background-100-dark'
|
35
|
-
}
|
36
|
-
},
|
37
|
-
decorators: [
|
38
|
-
_withshadowportal.withShadowPortal
|
39
|
-
]
|
40
|
-
};
|
41
|
-
const _default = meta;
|
42
|
-
const frame = {
|
43
|
-
originalStackFrame: {
|
44
|
-
file: './app/page.tsx',
|
45
|
-
methodName: 'MyComponent',
|
46
|
-
arguments: [],
|
47
|
-
lineNumber: 10,
|
48
|
-
column: 5,
|
49
|
-
ignored: false
|
50
|
-
},
|
51
|
-
sourceStackFrame: {
|
52
|
-
file: './app/page.tsx',
|
53
|
-
methodName: 'MyComponent',
|
54
|
-
arguments: [],
|
55
|
-
lineNumber: 10,
|
56
|
-
column: 5
|
57
|
-
},
|
58
|
-
originalCodeFrame: 'export default function MyComponent() {',
|
59
|
-
error: false,
|
60
|
-
reason: null,
|
61
|
-
external: false,
|
62
|
-
ignored: false
|
63
|
-
};
|
64
|
-
const ignoredFrame = {
|
65
|
-
...frame,
|
66
|
-
ignored: true
|
67
|
-
};
|
68
|
-
const SingleFrame = {
|
69
|
-
args: {
|
70
|
-
frames: [
|
71
|
-
frame
|
72
|
-
]
|
73
|
-
}
|
74
|
-
};
|
75
|
-
const MultipleFrames = {
|
76
|
-
args: {
|
77
|
-
frames: [
|
78
|
-
frame,
|
79
|
-
{
|
80
|
-
...frame,
|
81
|
-
originalStackFrame: {
|
82
|
-
...frame.originalStackFrame,
|
83
|
-
methodName: 'ParentComponent',
|
84
|
-
lineNumber: 5
|
85
|
-
}
|
86
|
-
},
|
87
|
-
{
|
88
|
-
...frame,
|
89
|
-
originalStackFrame: {
|
90
|
-
...frame.originalStackFrame,
|
91
|
-
methodName: 'GrandparentComponent',
|
92
|
-
lineNumber: 1
|
93
|
-
}
|
94
|
-
},
|
95
|
-
...Array(5).fill(ignoredFrame)
|
96
|
-
]
|
97
|
-
}
|
98
|
-
};
|
99
|
-
|
100
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
101
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
102
|
-
Object.assign(exports.default, exports);
|
103
|
-
module.exports = exports.default;
|
104
|
-
}
|
105
|
-
|
106
|
-
//# sourceMappingURL=call-stack.stories.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../../../../../../../src/client/components/react-dev-overlay/ui/components/errors/call-stack/call-stack.stories.tsx"],"sourcesContent":["import type { Meta, StoryObj } from '@storybook/react'\nimport { CallStack } from './call-stack'\nimport { withShadowPortal } from '../../../storybook/with-shadow-portal'\n\nconst meta: Meta<typeof CallStack> = {\n component: CallStack,\n parameters: {\n layout: 'fullscreen',\n backgrounds: {\n default: 'background-100-dark',\n },\n },\n decorators: [withShadowPortal],\n}\n\nexport default meta\ntype Story = StoryObj<typeof CallStack>\n\nconst frame = {\n originalStackFrame: {\n file: './app/page.tsx',\n methodName: 'MyComponent',\n arguments: [],\n lineNumber: 10,\n column: 5,\n ignored: false,\n },\n sourceStackFrame: {\n file: './app/page.tsx',\n methodName: 'MyComponent',\n arguments: [],\n lineNumber: 10,\n column: 5,\n },\n originalCodeFrame: 'export default function MyComponent() {',\n error: false,\n reason: null,\n external: false,\n ignored: false,\n}\n\nconst ignoredFrame = {\n ...frame,\n ignored: true,\n}\n\nexport const SingleFrame: Story = {\n args: {\n frames: [frame],\n },\n}\n\nexport const MultipleFrames: Story = {\n args: {\n frames: [\n frame,\n {\n ...frame,\n originalStackFrame: {\n ...frame.originalStackFrame,\n methodName: 'ParentComponent',\n lineNumber: 5,\n },\n },\n {\n ...frame,\n originalStackFrame: {\n ...frame.originalStackFrame,\n methodName: 'GrandparentComponent',\n lineNumber: 1,\n },\n },\n ...Array(5).fill(ignoredFrame),\n ],\n },\n}\n"],"names":["MultipleFrames","SingleFrame","meta","component","CallStack","parameters","layout","backgrounds","default","decorators","withShadowPortal","frame","originalStackFrame","file","methodName","arguments","lineNumber","column","ignored","sourceStackFrame","originalCodeFrame","error","reason","external","ignoredFrame","args","frames","Array","fill"],"mappings":";;;;;;;;;;;;;;;;IAoDaA,cAAc;eAAdA;;IANAC,WAAW;eAAXA;;IA/Bb,OAAmB;eAAnB;;;2BAd0B;kCACO;AAEjC,MAAMC,OAA+B;IACnCC,WAAWC,oBAAS;IACpBC,YAAY;QACVC,QAAQ;QACRC,aAAa;YACXC,SAAS;QACX;IACF;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeR;AAGf,MAAMS,QAAQ;IACZC,oBAAoB;QAClBC,MAAM;QACNC,YAAY;QACZC,WAAW,EAAE;QACbC,YAAY;QACZC,QAAQ;QACRC,SAAS;IACX;IACAC,kBAAkB;QAChBN,MAAM;QACNC,YAAY;QACZC,WAAW,EAAE;QACbC,YAAY;QACZC,QAAQ;IACV;IACAG,mBAAmB;IACnBC,OAAO;IACPC,QAAQ;IACRC,UAAU;IACVL,SAAS;AACX;AAEA,MAAMM,eAAe;IACnB,GAAGb,KAAK;IACRO,SAAS;AACX;AAEO,MAAMjB,cAAqB;IAChCwB,MAAM;QACJC,QAAQ;YAACf;SAAM;IACjB;AACF;AAEO,MAAMX,iBAAwB;IACnCyB,MAAM;QACJC,QAAQ;YACNf;YACA;gBACE,GAAGA,KAAK;gBACRC,oBAAoB;oBAClB,GAAGD,MAAMC,kBAAkB;oBAC3BE,YAAY;oBACZE,YAAY;gBACd;YACF;YACA;gBACE,GAAGL,KAAK;gBACRC,oBAAoB;oBAClB,GAAGD,MAAMC,kBAAkB;oBAC3BE,YAAY;oBACZE,YAAY;gBACd;YACF;eACGW,MAAM,GAAGC,IAAI,CAACJ;SAClB;IACH;AACF"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { DevToolsIndicator } from './dev-tools-indicator';
|
3
|
-
declare const meta: Meta<typeof DevToolsIndicator>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof DevToolsIndicator>;
|
6
|
-
export declare const StaticRoute: Story;
|
7
|
-
export declare const DynamicRoute: Story;
|
8
|
-
export declare const SingleError: Story;
|
9
|
-
export declare const MultipleErrors: Story;
|
@@ -1,135 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
DynamicRoute: null,
|
7
|
-
MultipleErrors: null,
|
8
|
-
SingleError: null,
|
9
|
-
StaticRoute: null,
|
10
|
-
default: null
|
11
|
-
});
|
12
|
-
function _export(target, all) {
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
14
|
-
enumerable: true,
|
15
|
-
get: all[name]
|
16
|
-
});
|
17
|
-
}
|
18
|
-
_export(exports, {
|
19
|
-
DynamicRoute: function() {
|
20
|
-
return DynamicRoute;
|
21
|
-
},
|
22
|
-
MultipleErrors: function() {
|
23
|
-
return MultipleErrors;
|
24
|
-
},
|
25
|
-
SingleError: function() {
|
26
|
-
return SingleError;
|
27
|
-
},
|
28
|
-
StaticRoute: function() {
|
29
|
-
return StaticRoute;
|
30
|
-
},
|
31
|
-
default: function() {
|
32
|
-
return _default;
|
33
|
-
}
|
34
|
-
});
|
35
|
-
const _jsxruntime = require("react/jsx-runtime");
|
36
|
-
const _devtoolsindicator = require("./dev-tools-indicator");
|
37
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
38
|
-
const meta = {
|
39
|
-
component: _devtoolsindicator.DevToolsIndicator,
|
40
|
-
parameters: {
|
41
|
-
layout: 'centered'
|
42
|
-
},
|
43
|
-
argTypes: {
|
44
|
-
position: {
|
45
|
-
control: 'select',
|
46
|
-
options: [
|
47
|
-
'top-left',
|
48
|
-
'top-right',
|
49
|
-
'bottom-left',
|
50
|
-
'bottom-right'
|
51
|
-
],
|
52
|
-
defaultValue: 'bottom-left'
|
53
|
-
}
|
54
|
-
},
|
55
|
-
decorators: [
|
56
|
-
_withshadowportal.withShadowPortal,
|
57
|
-
// Test for high z-index
|
58
|
-
(Story)=>/*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
|
59
|
-
style: {
|
60
|
-
position: 'fixed',
|
61
|
-
top: 0,
|
62
|
-
left: 0,
|
63
|
-
width: '100%',
|
64
|
-
height: '100%',
|
65
|
-
zIndex: 9999,
|
66
|
-
display: 'flex',
|
67
|
-
alignItems: 'center',
|
68
|
-
justifyContent: 'center',
|
69
|
-
background: 'linear-gradient(135deg, rgba(230,240,255,0.8) 0%, rgba(200,220,255,0.6) 100%)'
|
70
|
-
},
|
71
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(Story, {})
|
72
|
-
})
|
73
|
-
]
|
74
|
-
};
|
75
|
-
const _default = meta;
|
76
|
-
// Mock version info for stories
|
77
|
-
const mockVersionInfo = {
|
78
|
-
installed: '15.1.2',
|
79
|
-
staleness: 'stale-major'
|
80
|
-
};
|
81
|
-
const state = {
|
82
|
-
nextId: 1,
|
83
|
-
buildError: null,
|
84
|
-
errors: [],
|
85
|
-
refreshState: {
|
86
|
-
type: 'idle'
|
87
|
-
},
|
88
|
-
disableDevIndicator: false,
|
89
|
-
rootLayoutMissingTags: [],
|
90
|
-
versionInfo: mockVersionInfo,
|
91
|
-
notFound: false,
|
92
|
-
staticIndicator: true,
|
93
|
-
debugInfo: {
|
94
|
-
devtoolsFrontendUrl: undefined
|
95
|
-
}
|
96
|
-
};
|
97
|
-
const StaticRoute = {
|
98
|
-
args: {
|
99
|
-
errorCount: 0,
|
100
|
-
state,
|
101
|
-
setIsErrorOverlayOpen: ()=>{}
|
102
|
-
}
|
103
|
-
};
|
104
|
-
const DynamicRoute = {
|
105
|
-
args: {
|
106
|
-
errorCount: 0,
|
107
|
-
state: {
|
108
|
-
...state,
|
109
|
-
staticIndicator: false
|
110
|
-
},
|
111
|
-
setIsErrorOverlayOpen: ()=>{}
|
112
|
-
}
|
113
|
-
};
|
114
|
-
const SingleError = {
|
115
|
-
args: {
|
116
|
-
errorCount: 1,
|
117
|
-
state,
|
118
|
-
setIsErrorOverlayOpen: ()=>{}
|
119
|
-
}
|
120
|
-
};
|
121
|
-
const MultipleErrors = {
|
122
|
-
args: {
|
123
|
-
errorCount: 3,
|
124
|
-
state,
|
125
|
-
setIsErrorOverlayOpen: ()=>{}
|
126
|
-
}
|
127
|
-
};
|
128
|
-
|
129
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
130
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
131
|
-
Object.assign(exports.default, exports);
|
132
|
-
module.exports = exports.default;
|
133
|
-
}
|
134
|
-
|
135
|
-
//# 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":["DynamicRoute","MultipleErrors","SingleError","StaticRoute","meta","component","DevToolsIndicator","parameters","layout","argTypes","position","control","options","defaultValue","decorators","withShadowPortal","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","args","errorCount","setIsErrorOverlayOpen"],"mappings":";;;;;;;;;;;;;;;;;;IAyEaA,YAAY;eAAZA;;IAmBAC,cAAc;eAAdA;;IARAC,WAAW;eAAXA;;IAnBAC,WAAW;eAAXA;;IAtBb,OAAmB;eAAnB;;;;mCA1CkC;kCACD;AAIjC,MAAMC,OAAuC;IAC3CC,WAAWC,oCAAiB;IAC5BC,YAAY;QACVC,QAAQ;IACV;IACAC,UAAU;QACRC,UAAU;YACRC,SAAS;YACTC,SAAS;gBAAC;gBAAY;gBAAa;gBAAe;aAAe;YACjEC,cAAc;QAChB;IACF;IACAC,YAAY;QACVC,kCAAgB;QAChB,wBAAwB;QACxB,CAACC,sBACC,qBAACC;gBACCC,OAAO;oBACLR,UAAU;oBACVS,KAAK;oBACLC,MAAM;oBACNC,OAAO;oBACPC,QAAQ;oBACRC,QAAQ;oBACRC,SAAS;oBACTC,YAAY;oBACZC,gBAAgB;oBAChBC,YACE;gBACJ;0BAEA,cAAA,qBAACX;;KAGN;AACH;MAEA,WAAeZ;AAGf,gCAAgC;AAChC,MAAMwB,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;AAEO,MAAMzC,cAAqB;IAChC0C,MAAM;QACJC,YAAY;QACZf;QACAgB,uBAAuB,KAAO;IAChC;AACF;AAEO,MAAM/C,eAAsB;IACjC6C,MAAM;QACJC,YAAY;QACZf,OAAO;YACL,GAAGA,KAAK;YACRU,iBAAiB;QACnB;QACAM,uBAAuB,KAAO;IAChC;AACF;AAEO,MAAM7C,cAAqB;IAChC2C,MAAM;QACJC,YAAY;QACZf;QACAgB,uBAAuB,KAAO;IAChC;AACF;AAEO,MAAM9C,iBAAwB;IACnC4C,MAAM;QACJC,YAAY;QACZf;QACAgB,uBAAuB,KAAO;IAChC;AACF"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { NextLogo } from './next-logo';
|
3
|
-
declare const meta: Meta<typeof NextLogo>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof NextLogo>;
|
6
|
-
export declare const NoIssues: Story;
|
7
|
-
export declare const SingleIssue: Story;
|
8
|
-
export declare const MultipleIssues: Story;
|
9
|
-
export declare const ManyIssues: Story;
|
10
|
-
export declare const Building: Story;
|
11
|
-
export declare const BuildingWithError: Story;
|
12
|
-
export declare const Rendering: Story;
|
13
|
-
export declare const RenderingWithError: Story;
|
@@ -1,129 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Building: null,
|
7
|
-
BuildingWithError: null,
|
8
|
-
ManyIssues: null,
|
9
|
-
MultipleIssues: null,
|
10
|
-
NoIssues: null,
|
11
|
-
Rendering: null,
|
12
|
-
RenderingWithError: null,
|
13
|
-
SingleIssue: null,
|
14
|
-
default: null
|
15
|
-
});
|
16
|
-
function _export(target, all) {
|
17
|
-
for(var name in all)Object.defineProperty(target, name, {
|
18
|
-
enumerable: true,
|
19
|
-
get: all[name]
|
20
|
-
});
|
21
|
-
}
|
22
|
-
_export(exports, {
|
23
|
-
Building: function() {
|
24
|
-
return Building;
|
25
|
-
},
|
26
|
-
BuildingWithError: function() {
|
27
|
-
return BuildingWithError;
|
28
|
-
},
|
29
|
-
ManyIssues: function() {
|
30
|
-
return ManyIssues;
|
31
|
-
},
|
32
|
-
MultipleIssues: function() {
|
33
|
-
return MultipleIssues;
|
34
|
-
},
|
35
|
-
NoIssues: function() {
|
36
|
-
return NoIssues;
|
37
|
-
},
|
38
|
-
Rendering: function() {
|
39
|
-
return Rendering;
|
40
|
-
},
|
41
|
-
RenderingWithError: function() {
|
42
|
-
return RenderingWithError;
|
43
|
-
},
|
44
|
-
SingleIssue: function() {
|
45
|
-
return SingleIssue;
|
46
|
-
},
|
47
|
-
default: function() {
|
48
|
-
return _default;
|
49
|
-
}
|
50
|
-
});
|
51
|
-
const _nextlogo = require("./next-logo");
|
52
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
53
|
-
const meta = {
|
54
|
-
component: _nextlogo.NextLogo,
|
55
|
-
parameters: {
|
56
|
-
layout: 'centered'
|
57
|
-
},
|
58
|
-
args: {
|
59
|
-
onClick: ()=>console.log('Clicked!')
|
60
|
-
},
|
61
|
-
decorators: [
|
62
|
-
_withshadowportal.withShadowPortal
|
63
|
-
]
|
64
|
-
};
|
65
|
-
const _default = meta;
|
66
|
-
const NoIssues = {
|
67
|
-
args: {
|
68
|
-
issueCount: 0,
|
69
|
-
isDevBuilding: false,
|
70
|
-
isDevRendering: false
|
71
|
-
}
|
72
|
-
};
|
73
|
-
const SingleIssue = {
|
74
|
-
args: {
|
75
|
-
issueCount: 1,
|
76
|
-
isDevBuilding: false,
|
77
|
-
isDevRendering: false
|
78
|
-
}
|
79
|
-
};
|
80
|
-
const MultipleIssues = {
|
81
|
-
args: {
|
82
|
-
issueCount: 5,
|
83
|
-
isDevBuilding: false,
|
84
|
-
isDevRendering: false
|
85
|
-
}
|
86
|
-
};
|
87
|
-
const ManyIssues = {
|
88
|
-
args: {
|
89
|
-
issueCount: 99,
|
90
|
-
isDevBuilding: false,
|
91
|
-
isDevRendering: false
|
92
|
-
}
|
93
|
-
};
|
94
|
-
const Building = {
|
95
|
-
args: {
|
96
|
-
issueCount: 0,
|
97
|
-
isDevBuilding: true,
|
98
|
-
isDevRendering: false
|
99
|
-
}
|
100
|
-
};
|
101
|
-
const BuildingWithError = {
|
102
|
-
args: {
|
103
|
-
issueCount: 1,
|
104
|
-
isDevBuilding: true,
|
105
|
-
isDevRendering: false
|
106
|
-
}
|
107
|
-
};
|
108
|
-
const Rendering = {
|
109
|
-
args: {
|
110
|
-
issueCount: 0,
|
111
|
-
isDevBuilding: false,
|
112
|
-
isDevRendering: true
|
113
|
-
}
|
114
|
-
};
|
115
|
-
const RenderingWithError = {
|
116
|
-
args: {
|
117
|
-
issueCount: 1,
|
118
|
-
isDevBuilding: false,
|
119
|
-
isDevRendering: true
|
120
|
-
}
|
121
|
-
};
|
122
|
-
|
123
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
124
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
125
|
-
Object.assign(exports.default, exports);
|
126
|
-
module.exports = exports.default;
|
127
|
-
}
|
128
|
-
|
129
|
-
//# 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":["Building","BuildingWithError","ManyIssues","MultipleIssues","NoIssues","Rendering","RenderingWithError","SingleIssue","meta","component","NextLogo","parameters","layout","args","onClick","console","log","decorators","withShadowPortal","issueCount","isDevBuilding","isDevRendering"],"mappings":";;;;;;;;;;;;;;;;;;;;;;IAkDaA,QAAQ;eAARA;;IAQAC,iBAAiB;eAAjBA;;IAhBAC,UAAU;eAAVA;;IARAC,cAAc;eAAdA;;IAhBAC,QAAQ;eAARA;;IAgDAC,SAAS;eAATA;;IAQAC,kBAAkB;eAAlBA;;IAhDAC,WAAW;eAAXA;;IAXb,OAAmB;eAAnB;;;0BAdyB;kCACQ;AAEjC,MAAMC,OAA8B;IAClCC,WAAWC,kBAAQ;IACnBC,YAAY;QACVC,QAAQ;IACV;IACAC,MAAM;QACJC,SAAS,IAAMC,QAAQC,GAAG,CAAC;IAC7B;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeV;AAGR,MAAMJ,WAAkB;IAC7BS,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMd,cAAqB;IAChCM,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMlB,iBAAwB;IACnCU,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMnB,aAAoB;IAC/BW,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMrB,WAAkB;IAC7Ba,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMpB,oBAA2B;IACtCY,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMhB,YAAmB;IAC9BQ,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF;AAEO,MAAMf,qBAA4B;IACvCO,MAAM;QACJM,YAAY;QACZC,eAAe;QACfC,gBAAgB;IAClB;AACF"}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { EnvironmentNameLabel } from './environment-name-label';
|
3
|
-
declare const meta: Meta<typeof EnvironmentNameLabel>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof EnvironmentNameLabel>;
|
6
|
-
export declare const Server: Story;
|
7
|
-
export declare const Prerender: Story;
|
8
|
-
export declare const Cache: Story;
|
@@ -1,65 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
Cache: null,
|
7
|
-
Prerender: null,
|
8
|
-
Server: null,
|
9
|
-
default: null
|
10
|
-
});
|
11
|
-
function _export(target, all) {
|
12
|
-
for(var name in all)Object.defineProperty(target, name, {
|
13
|
-
enumerable: true,
|
14
|
-
get: all[name]
|
15
|
-
});
|
16
|
-
}
|
17
|
-
_export(exports, {
|
18
|
-
Cache: function() {
|
19
|
-
return Cache;
|
20
|
-
},
|
21
|
-
Prerender: function() {
|
22
|
-
return Prerender;
|
23
|
-
},
|
24
|
-
Server: function() {
|
25
|
-
return Server;
|
26
|
-
},
|
27
|
-
default: function() {
|
28
|
-
return _default;
|
29
|
-
}
|
30
|
-
});
|
31
|
-
const _environmentnamelabel = require("./environment-name-label");
|
32
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
33
|
-
const meta = {
|
34
|
-
component: _environmentnamelabel.EnvironmentNameLabel,
|
35
|
-
parameters: {
|
36
|
-
layout: 'centered'
|
37
|
-
},
|
38
|
-
decorators: [
|
39
|
-
_withshadowportal.withShadowPortal
|
40
|
-
]
|
41
|
-
};
|
42
|
-
const _default = meta;
|
43
|
-
const Server = {
|
44
|
-
args: {
|
45
|
-
environmentName: 'Server'
|
46
|
-
}
|
47
|
-
};
|
48
|
-
const Prerender = {
|
49
|
-
args: {
|
50
|
-
environmentName: 'Prerender'
|
51
|
-
}
|
52
|
-
};
|
53
|
-
const Cache = {
|
54
|
-
args: {
|
55
|
-
environmentName: 'Cache'
|
56
|
-
}
|
57
|
-
};
|
58
|
-
|
59
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
60
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
61
|
-
Object.assign(exports.default, exports);
|
62
|
-
module.exports = exports.default;
|
63
|
-
}
|
64
|
-
|
65
|
-
//# 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":["Cache","Prerender","Server","meta","component","EnvironmentNameLabel","parameters","layout","decorators","withShadowPortal","args","environmentName"],"mappings":";;;;;;;;;;;;;;;;;IA2BaA,KAAK;eAALA;;IANAC,SAAS;eAATA;;IANAC,MAAM;eAANA;;IAHb,OAAmB;eAAnB;;;sCAXqC;kCACJ;AAEjC,MAAMC,OAA0C;IAC9CC,WAAWC,0CAAoB;IAC/BC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGR,MAAMD,SAAgB;IAC3BQ,MAAM;QACJC,iBAAiB;IACnB;AACF;AAEO,MAAMV,YAAmB;IAC9BS,MAAM;QACJC,iBAAiB;IACnB;AACF;AAEO,MAAMX,QAAe;IAC1BU,MAAM;QACJC,iBAAiB;IACnB;AACF"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { ErrorMessage } from './error-message';
|
3
|
-
declare const meta: Meta<typeof ErrorMessage>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof ErrorMessage>;
|
6
|
-
export declare const ShortString: Story;
|
7
|
-
export declare const LongString: Story;
|
8
|
-
export declare const SuperLongString: Story;
|
9
|
-
export declare const ReactNode: Story;
|
@@ -1,83 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
3
|
-
value: true
|
4
|
-
});
|
5
|
-
0 && (module.exports = {
|
6
|
-
LongString: null,
|
7
|
-
ReactNode: null,
|
8
|
-
ShortString: null,
|
9
|
-
SuperLongString: null,
|
10
|
-
default: null
|
11
|
-
});
|
12
|
-
function _export(target, all) {
|
13
|
-
for(var name in all)Object.defineProperty(target, name, {
|
14
|
-
enumerable: true,
|
15
|
-
get: all[name]
|
16
|
-
});
|
17
|
-
}
|
18
|
-
_export(exports, {
|
19
|
-
LongString: function() {
|
20
|
-
return LongString;
|
21
|
-
},
|
22
|
-
ReactNode: function() {
|
23
|
-
return ReactNode;
|
24
|
-
},
|
25
|
-
ShortString: function() {
|
26
|
-
return ShortString;
|
27
|
-
},
|
28
|
-
SuperLongString: function() {
|
29
|
-
return SuperLongString;
|
30
|
-
},
|
31
|
-
default: function() {
|
32
|
-
return _default;
|
33
|
-
}
|
34
|
-
});
|
35
|
-
const _jsxruntime = require("react/jsx-runtime");
|
36
|
-
const _errormessage = require("./error-message");
|
37
|
-
const _withshadowportal = require("../../../storybook/with-shadow-portal");
|
38
|
-
const meta = {
|
39
|
-
component: _errormessage.ErrorMessage,
|
40
|
-
parameters: {
|
41
|
-
layout: 'fullscreen'
|
42
|
-
},
|
43
|
-
decorators: [
|
44
|
-
_withshadowportal.withShadowPortal
|
45
|
-
]
|
46
|
-
};
|
47
|
-
const _default = meta;
|
48
|
-
const ShortString = {
|
49
|
-
args: {
|
50
|
-
errorMessage: 'A simple error message'
|
51
|
-
}
|
52
|
-
};
|
53
|
-
const LongString = {
|
54
|
-
args: {
|
55
|
-
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 "
|
56
|
-
}
|
57
|
-
};
|
58
|
-
const SuperLongString = {
|
59
|
-
args: {
|
60
|
-
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)
|
61
|
-
}
|
62
|
-
};
|
63
|
-
const ReactNode = {
|
64
|
-
args: {
|
65
|
-
errorMessage: /*#__PURE__*/ (0, _jsxruntime.jsxs)("span", {
|
66
|
-
children: [
|
67
|
-
"An error message with ",
|
68
|
-
/*#__PURE__*/ (0, _jsxruntime.jsx)("strong", {
|
69
|
-
children: "formatted"
|
70
|
-
}),
|
71
|
-
" content"
|
72
|
-
]
|
73
|
-
})
|
74
|
-
}
|
75
|
-
};
|
76
|
-
|
77
|
-
if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {
|
78
|
-
Object.defineProperty(exports.default, '__esModule', { value: true });
|
79
|
-
Object.assign(exports.default, exports);
|
80
|
-
module.exports = exports.default;
|
81
|
-
}
|
82
|
-
|
83
|
-
//# 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":["LongString","ReactNode","ShortString","SuperLongString","meta","component","ErrorMessage","parameters","layout","decorators","withShadowPortal","args","errorMessage","repeat","span","strong"],"mappings":";;;;;;;;;;;;;;;;;;IAqBaA,UAAU;eAAVA;;IAwBAC,SAAS;eAATA;;IA9BAC,WAAW;eAAXA;;IAqBAC,eAAe;eAAfA;;IAxBb,OAAmB;eAAnB;;;;8BAX6B;kCACI;AAEjC,MAAMC,OAAkC;IACtCC,WAAWC,0BAAY;IACvBC,YAAY;QACVC,QAAQ;IACV;IACAC,YAAY;QAACC,kCAAgB;KAAC;AAChC;MAEA,WAAeN;AAGR,MAAMF,cAAqB;IAChCS,MAAM;QACJC,cAAc;IAChB;AACF;AAEO,MAAMZ,aAAoB;IAC/BW,MAAM;QACJC,cAAe;IAUjB;AACF;AAEO,MAAMT,kBAAyB;IACpCQ,MAAM;QACJC,cACE,mPAAmPC,MAAM,CACvP;IAEN;AACF;AAEO,MAAMZ,YAAmB;IAC9BU,MAAM;QACJC,4BACE,sBAACE;;gBAAK;8BACkB,qBAACC;8BAAO;;gBAAkB;;;IAGtD;AACF"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
2
|
-
import { ErrorOverlayLayout } from './error-overlay-layout';
|
3
|
-
declare const meta: Meta<typeof ErrorOverlayLayout>;
|
4
|
-
export default meta;
|
5
|
-
type Story = StoryObj<typeof ErrorOverlayLayout>;
|
6
|
-
export declare const Default: Story;
|
7
|
-
export declare const Turbopack: Story;
|
8
|
-
export declare const NoErrorCode: Story;
|
9
|
-
export declare const WithLongFooterMessage: Story;
|
10
|
-
export declare const WithShortFooterMessage: Story;
|