@cedarjs/web 6.0.0 → 6.0.1-rc.6

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.
@@ -18,7 +18,7 @@ declare class FatalErrorBoundary extends React.Component<PropsFatalErrorBoundary
18
18
  hasError: boolean;
19
19
  error: Error;
20
20
  };
21
- render(): string | number | boolean | React.JSX.Element | Iterable<React.ReactNode> | React.PromiseLikeOfReactNode | null | undefined;
21
+ render(): string | number | boolean | Iterable<React.ReactNode> | React.PromiseLikeOfReactNode | React.JSX.Element | null | undefined;
22
22
  }
23
23
  export { FatalErrorBoundary };
24
24
  //# sourceMappingURL=FatalErrorBoundary.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/web",
3
- "version": "6.0.0",
3
+ "version": "6.0.1-rc.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/cedarjs/cedar.git",
@@ -81,7 +81,7 @@
81
81
  },
82
82
  "dependencies": {
83
83
  "@apollo/client": "3.14.1",
84
- "@cedarjs/server-store": "6.0.0",
84
+ "@cedarjs/server-store": "6.0.1-rc.6",
85
85
  "@dr.pogodin/react-helmet": "2.0.4",
86
86
  "@whatwg-node/fetch": "0.10.13",
87
87
  "apollo-upload-client": "18.0.1",
@@ -100,9 +100,9 @@
100
100
  "@babel/core": "^7.26.10",
101
101
  "@babel/plugin-transform-runtime": "7.29.7",
102
102
  "@babel/runtime": "7.29.7",
103
- "@cedarjs/auth": "6.0.0",
104
- "@cedarjs/framework-tools": "6.0.0",
105
- "@cedarjs/internal": "6.0.0",
103
+ "@cedarjs/auth": "6.0.1-rc.6",
104
+ "@cedarjs/framework-tools": "6.0.1-rc.6",
105
+ "@cedarjs/internal": "6.0.1-rc.6",
106
106
  "@rollup/plugin-babel": "6.1.0",
107
107
  "@testing-library/dom": "10.4.1",
108
108
  "@testing-library/jest-dom": "6.9.1",
@@ -120,7 +120,7 @@
120
120
  "vitest": "4.1.10"
121
121
  },
122
122
  "peerDependencies": {
123
- "@cedarjs/auth": "6.0.0",
123
+ "@cedarjs/auth": "6.0.1-rc.6",
124
124
  "react": "18.3.1",
125
125
  "react-dom": "18.3.1"
126
126
  },
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- interface RedwoodProviderProps {
3
- children: React.ReactNode;
4
- titleTemplate?: string;
5
- }
6
- export declare const RedwoodProvider: ({ children, titleTemplate, }: RedwoodProviderProps) => React.JSX.Element;
7
- declare global { }
8
- export {};
9
- //# sourceMappingURL=RedwoodProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedwoodProvider.d.ts","sourceRoot":"","sources":["../../src/components/RedwoodProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAKzB,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,eAAe,GAAI,8BAG7B,oBAAoB,sBAuBtB,CAAA;AAED,OAAO,CAAC,MAAM,CAAC,GAAE"}
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- import { Helmet, HelmetProvider } from "@dr.pogodin/react-helmet";
3
- const RedwoodProvider = ({
4
- children,
5
- titleTemplate
6
- }) => {
7
- const appTitle = globalThis.__REDWOOD__APP_TITLE;
8
- const template = () => {
9
- if (titleTemplate) {
10
- let template2 = titleTemplate.replace(/%AppTitle/g, appTitle);
11
- template2 = template2.replace(/%PageTitle/g, "%s");
12
- return template2;
13
- }
14
- return "";
15
- };
16
- if (RWJS_ENV.RWJS_EXP_STREAMING_SSR) {
17
- return /* @__PURE__ */ React.createElement(React.Fragment, null, children);
18
- }
19
- return /* @__PURE__ */ React.createElement(HelmetProvider, { context: globalThis.__REDWOOD__HELMET_CONTEXT }, /* @__PURE__ */ React.createElement(Helmet, { titleTemplate: template(), defaultTitle: appTitle }, /* @__PURE__ */ React.createElement("title", null, appTitle)), children);
20
- };
21
- export {
22
- RedwoodProvider
23
- };