react-router 0.0.0-experimental-e067e5e52 → 0.0.0-experimental-567b27f71

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.
Files changed (76) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/development/{browser-Cloic07w.d.ts → browser-BUb__T3u.d.mts} +2 -1
  3. package/dist/{production/browser-Cloic07w.d.ts → development/browser-Bfn3xw9E.d.ts} +2 -1
  4. package/dist/development/{chunk-5UECWI5A.js → chunk-3KQWMVH5.js} +106 -109
  5. package/dist/{production/chunk-KMR3DDYK.js → development/chunk-FITK2GBN.js} +7 -7
  6. package/dist/development/{chunk-EZE2A5EE.mjs → chunk-MFSTD5J4.mjs} +305 -191
  7. package/dist/development/{chunk-SWPURLNP.mjs → chunk-T2TDL4ZI.mjs} +86 -50
  8. package/dist/development/{chunk-NQI6347W.js → chunk-XLC5DWBP.js} +361 -244
  9. package/dist/development/context-kw54iBKW.d.mts +1713 -0
  10. package/dist/development/dom-export.d.mts +3 -2
  11. package/dist/development/dom-export.d.ts +3 -2
  12. package/dist/development/dom-export.js +38 -29
  13. package/dist/development/dom-export.mjs +14 -5
  14. package/dist/{production/index-react-server-client-CFThihEp.d.mts → development/index-react-server-client-CmqQRyrG.d.mts} +51 -49
  15. package/dist/development/{index-react-server-client-CtMh0QTM.d.ts → index-react-server-client-CtQKvWuW.d.ts} +1114 -57
  16. package/dist/development/index-react-server-client.d.mts +3 -2
  17. package/dist/development/index-react-server-client.d.ts +3 -2
  18. package/dist/development/index-react-server-client.js +4 -4
  19. package/dist/development/index-react-server-client.mjs +2 -2
  20. package/dist/development/index-react-server.d.mts +297 -246
  21. package/dist/development/index-react-server.d.ts +297 -246
  22. package/dist/development/index-react-server.js +97 -21
  23. package/dist/development/index-react-server.mjs +97 -21
  24. package/dist/development/index.d.mts +12 -10
  25. package/dist/development/index.d.ts +12 -10
  26. package/dist/development/index.js +179 -143
  27. package/dist/development/index.mjs +3 -3
  28. package/dist/development/instrumentation-BYr6ff5D.d.ts +657 -0
  29. package/dist/development/lib/types/internal.d.mts +4 -4
  30. package/dist/development/lib/types/internal.d.ts +4 -4
  31. package/dist/development/lib/types/internal.js +1 -1
  32. package/dist/development/lib/types/internal.mjs +1 -1
  33. package/dist/development/{register-B86pZKib.d.ts → register-CTxsJBKQ.d.mts} +1 -1
  34. package/dist/development/{register-DA0Mb5jF.d.mts → register-CkcGwv27.d.ts} +1 -1
  35. package/dist/development/routeModules-BRrCYrSL.d.mts +1693 -0
  36. package/dist/development/routeModules-CA7kSxJJ.d.ts +1693 -0
  37. package/dist/{development/browser-JuMzyCK4.d.mts → production/browser-BUb__T3u.d.mts} +2 -1
  38. package/dist/production/{browser-JuMzyCK4.d.mts → browser-Bfn3xw9E.d.ts} +2 -1
  39. package/dist/production/{chunk-DMRAUID3.js → chunk-7CRO7VK3.js} +361 -244
  40. package/dist/production/{chunk-T33PNRK2.mjs → chunk-JCFT2HBB.mjs} +305 -191
  41. package/dist/{development/chunk-DGNRX45Q.js → production/chunk-ONKPUZLV.js} +7 -7
  42. package/dist/production/{chunk-T4I6FMSB.mjs → chunk-OZOQN5MO.mjs} +86 -50
  43. package/dist/production/{chunk-AHQTEAQI.js → chunk-Y4BW72NR.js} +106 -109
  44. package/dist/production/context-kw54iBKW.d.mts +1713 -0
  45. package/dist/production/dom-export.d.mts +3 -2
  46. package/dist/production/dom-export.d.ts +3 -2
  47. package/dist/production/dom-export.js +38 -29
  48. package/dist/production/dom-export.mjs +14 -5
  49. package/dist/{development/index-react-server-client-CFThihEp.d.mts → production/index-react-server-client-CmqQRyrG.d.mts} +51 -49
  50. package/dist/production/{index-react-server-client-CtMh0QTM.d.ts → index-react-server-client-CtQKvWuW.d.ts} +1114 -57
  51. package/dist/production/index-react-server-client.d.mts +3 -2
  52. package/dist/production/index-react-server-client.d.ts +3 -2
  53. package/dist/production/index-react-server-client.js +4 -4
  54. package/dist/production/index-react-server-client.mjs +2 -2
  55. package/dist/production/index-react-server.d.mts +297 -246
  56. package/dist/production/index-react-server.d.ts +297 -246
  57. package/dist/production/index-react-server.js +97 -21
  58. package/dist/production/index-react-server.mjs +97 -21
  59. package/dist/production/index.d.mts +12 -10
  60. package/dist/production/index.d.ts +12 -10
  61. package/dist/production/index.js +179 -143
  62. package/dist/production/index.mjs +3 -3
  63. package/dist/production/instrumentation-BYr6ff5D.d.ts +657 -0
  64. package/dist/production/lib/types/internal.d.mts +4 -4
  65. package/dist/production/lib/types/internal.d.ts +4 -4
  66. package/dist/production/lib/types/internal.js +1 -1
  67. package/dist/production/lib/types/internal.mjs +1 -1
  68. package/dist/production/{register-B86pZKib.d.ts → register-CTxsJBKQ.d.mts} +1 -1
  69. package/dist/production/{register-DA0Mb5jF.d.mts → register-CkcGwv27.d.ts} +1 -1
  70. package/dist/production/routeModules-BRrCYrSL.d.mts +1693 -0
  71. package/dist/production/routeModules-CA7kSxJJ.d.ts +1693 -0
  72. package/package.json +1 -1
  73. package/dist/development/instrumentation-C7Lh_MjH.d.ts +0 -3340
  74. package/dist/development/router-CFkT48p_.d.mts +0 -3340
  75. package/dist/production/instrumentation-C7Lh_MjH.d.ts +0 -3340
  76. package/dist/production/router-CFkT48p_.d.mts +0 -3340
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/**
2
- * react-router v0.0.0-experimental-e067e5e52
2
+ * react-router v0.0.0-experimental-567b27f71
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkDMRAUID3js = require('./chunk-DMRAUID3.js');
17
+ var _chunkXLC5DWBPjs = require('./chunk-XLC5DWBP.js');
18
18
 
19
19
  // lib/dom/ssr/hydration.tsx
20
20
  function getHydrationData({
@@ -29,12 +29,12 @@ function getHydrationData({
29
29
  ...state,
30
30
  loaderData: { ...state.loaderData }
31
31
  };
32
- let initialMatches = _chunkDMRAUID3js.matchRoutes.call(void 0, routes, location, basename);
32
+ let initialMatches = _chunkXLC5DWBPjs.matchRoutes.call(void 0, routes, location, basename);
33
33
  if (initialMatches) {
34
34
  for (let match of initialMatches) {
35
35
  let routeId = match.route.id;
36
36
  let routeInfo = getRouteInfo(routeId);
37
- if (_chunkDMRAUID3js.shouldHydrateRouteLoader.call(void 0,
37
+ if (_chunkXLC5DWBPjs.shouldHydrateRouteLoader.call(void 0,
38
38
  routeId,
39
39
  routeInfo.clientLoader,
40
40
  routeInfo.hasLoader,
@@ -112,7 +112,7 @@ function RSCDefaultRootErrorBoundaryImpl({
112
112
  }
113
113
  }
114
114
  );
115
- if (_chunkDMRAUID3js.isRouteErrorResponse.call(void 0, error)) {
115
+ if (_chunkXLC5DWBPjs.isRouteErrorResponse.call(void 0, error)) {
116
116
  return /* @__PURE__ */ _react2.default.createElement(
117
117
  ErrorWrapper,
118
118
  {
@@ -120,7 +120,7 @@ function RSCDefaultRootErrorBoundaryImpl({
120
120
  title: "Unhandled Thrown Response!"
121
121
  },
122
122
  /* @__PURE__ */ _react2.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
123
- _chunkDMRAUID3js.ENABLE_DEV_WARNINGS ? heyDeveloper : null
123
+ _chunkXLC5DWBPjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
124
124
  );
125
125
  }
126
126
  let errorInstance;
@@ -146,7 +146,7 @@ function RSCDefaultRootErrorBoundaryImpl({
146
146
  function RSCDefaultRootErrorBoundary({
147
147
  hasRootLayout
148
148
  }) {
149
- let error = _chunkDMRAUID3js.useRouteError.call(void 0, );
149
+ let error = _chunkXLC5DWBPjs.useRouteError.call(void 0, );
150
150
  if (hasRootLayout === void 0) {
151
151
  throw new Error("Missing 'hasRootLayout' prop");
152
152
  }