@xyo-network/react-webapp 4.4.3 → 4.4.4

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.
@@ -1,2 +1,35 @@
1
- export * from './components/index.ts';
2
- //# sourceMappingURL=index.d.ts.map
1
+ import { Breakpoint, ContainerProps } from '@mui/material';
2
+ import { FlexBoxProps } from '@xylabs/react-flexbox';
3
+ import React, { ReactNode, PropsWithChildren } from 'react';
4
+ import { WebAppChromeProps } from '@xylabs/react-webapp';
5
+
6
+ interface WebAppBodyProps extends FlexBoxProps {
7
+ breadcrumbs?: ReactNode;
8
+ disableBreadcrumbGutter?: boolean;
9
+ mobileScrollingBreakpoint?: Breakpoint;
10
+ spacing?: string | number;
11
+ variant?: 'scrollable' | 'fixed';
12
+ }
13
+ declare const WebAppBody: React.FC<WebAppBodyProps>;
14
+
15
+ interface XyoWebAppChromeProps extends WebAppChromeProps {
16
+ }
17
+ declare const XyoWebAppChrome: React.ForwardRefExoticComponent<XyoWebAppChromeProps & React.RefAttributes<HTMLDivElement>>;
18
+
19
+ interface WebAppPageProps extends WebAppBodyProps, FlexBoxProps {
20
+ container?: ContainerProps['maxWidth'] | 'none';
21
+ disableGutters?: boolean;
22
+ }
23
+ declare const WebAppPage: React.FC<PropsWithChildren<WebAppPageProps>>;
24
+ declare const FlexPage: React.FC<PropsWithChildren<WebAppPageProps>>;
25
+
26
+ interface WebAppErrorPageProps extends WebAppPageProps {
27
+ error?: Error;
28
+ }
29
+ declare const WebAppErrorPage: React.FC<WebAppErrorPageProps>;
30
+ declare const ErrorPage: React.FC<WebAppErrorPageProps>;
31
+
32
+ declare const WebAppNotFoundPage: React.FC<WebAppPageProps>;
33
+ declare const NotFoundPage: React.FC<WebAppPageProps>;
34
+
35
+ export { ErrorPage, FlexPage, NotFoundPage, WebAppBody, type WebAppBodyProps, WebAppErrorPage, type WebAppErrorPageProps, WebAppNotFoundPage, WebAppPage, type WebAppPageProps, XyoWebAppChrome, type XyoWebAppChromeProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-webapp",
3
- "version": "4.4.3",
3
+ "version": "4.4.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -51,25 +51,25 @@
51
51
  "@xylabs/react-flexbox": "^5.3.23",
52
52
  "@xylabs/react-pixel": "^5.3.23",
53
53
  "@xylabs/react-webapp": "^5.3.23",
54
- "@xyo-network/react-appbar": "^4.4.3",
55
- "@xyo-network/react-footer": "^4.4.3",
56
- "@xyo-network/react-shared": "^4.4.3",
54
+ "@xyo-network/react-appbar": "^4.4.4",
55
+ "@xyo-network/react-footer": "^4.4.4",
56
+ "@xyo-network/react-shared": "^4.4.4",
57
57
  "react": "^18.3.1",
58
58
  "react-dom": "^18.3.1",
59
59
  "react-helmet": "^6.1.0",
60
60
  "react-router-dom": "^7.1.5"
61
61
  },
62
62
  "devDependencies": {
63
- "@storybook/react": "^8.5.4",
63
+ "@storybook/react": "^8.5.5",
64
64
  "@types/react-helmet": "^6.1.11",
65
65
  "@xylabs/react-appbar": "^5.3.23",
66
66
  "@xylabs/react-button": "^5.3.23",
67
67
  "@xylabs/react-flexbox": "^5.3.23",
68
68
  "@xylabs/react-link": "^5.3.23",
69
69
  "@xylabs/react-pixel": "^5.3.23",
70
- "@xylabs/ts-scripts-yarn3": "^4.2.6",
71
- "@xylabs/tsconfig-react": "^4.2.6",
72
- "storybook": "^8.5.4",
70
+ "@xylabs/ts-scripts-yarn3": "^5.0.24",
71
+ "@xylabs/tsconfig-react": "^5.0.24",
72
+ "storybook": "^8.5.5",
73
73
  "typescript": "^5.7.3"
74
74
  },
75
75
  "publishConfig": {
@@ -1,13 +0,0 @@
1
- import type { Breakpoint } from '@mui/material';
2
- import type { FlexBoxProps } from '@xylabs/react-flexbox';
3
- import type { ReactNode } from 'react';
4
- import React from 'react';
5
- export interface WebAppBodyProps extends FlexBoxProps {
6
- breadcrumbs?: ReactNode;
7
- disableBreadcrumbGutter?: boolean;
8
- mobileScrollingBreakpoint?: Breakpoint;
9
- spacing?: string | number;
10
- variant?: 'scrollable' | 'fixed';
11
- }
12
- export declare const WebAppBody: React.FC<WebAppBodyProps>;
13
- //# sourceMappingURL=Body.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../src/components/Body.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,MAAM,OAAO,CAAA;AA+DzB,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,yBAAyB,CAAC,EAAE,UAAU,CAAA;IACtC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAA;CACjC;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyBhD,CAAA"}
@@ -1,6 +0,0 @@
1
- import { type WebAppChromeProps } from '@xylabs/react-webapp';
2
- import React from 'react';
3
- export interface XyoWebAppChromeProps extends WebAppChromeProps {
4
- }
5
- export declare const XyoWebAppChrome: React.ForwardRefExoticComponent<XyoWebAppChromeProps & React.RefAttributes<HTMLDivElement>>;
6
- //# sourceMappingURL=Chrome.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chrome.d.ts","sourceRoot":"","sources":["../../../src/components/Chrome.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAG3E,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;CAAG;AAElE,eAAO,MAAM,eAAe,6FAe3B,CAAA"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { WebAppPageProps } from './Page.tsx';
3
- export interface WebAppErrorPageProps extends WebAppPageProps {
4
- error?: Error;
5
- }
6
- export declare const WebAppErrorPage: React.FC<WebAppErrorPageProps>;
7
- /** @deprecated use WebAppErrorPage instead */
8
- export declare const ErrorPage: React.FC<WebAppErrorPageProps>;
9
- //# sourceMappingURL=ErrorPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorPage.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAGjD,MAAM,WAAW,oBAAqB,SAAQ,eAAe;IAC3D,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAQ1D,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,SAAS,gCAAkB,CAAA"}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { WebAppPageProps } from '../Page.tsx';
3
- export declare const WebAppNotFoundPage: React.FC<WebAppPageProps>;
4
- /** @deprecated use WebAppNotFoundPage instead */
5
- export declare const NotFoundPage: React.FC<WebAppPageProps>;
6
- //# sourceMappingURL=Page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../../src/components/NotFoundPage/Page.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAGlD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAIxD,CAAA;AAED,kDAAkD;AAClD,eAAO,MAAM,YAAY,2BAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './Page.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NotFoundPage/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
@@ -1,13 +0,0 @@
1
- import type { ContainerProps } from '@mui/material';
2
- import type { FlexBoxProps } from '@xylabs/react-flexbox';
3
- import type { PropsWithChildren } from 'react';
4
- import React from 'react';
5
- import type { WebAppBodyProps } from './Body.tsx';
6
- export interface WebAppPageProps extends WebAppBodyProps, FlexBoxProps {
7
- container?: ContainerProps['maxWidth'] | 'none';
8
- disableGutters?: boolean;
9
- }
10
- export declare const WebAppPage: React.FC<PropsWithChildren<WebAppPageProps>>;
11
- /** @deprecated use WebAppPagePage instead */
12
- export declare const FlexPage: React.FC<PropsWithChildren<WebAppPageProps>>;
13
- //# sourceMappingURL=Page.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../src/components/Page.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAGnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AAIzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAwBjD,MAAM,WAAW,eAAgB,SAAQ,eAAe,EAAE,YAAY;IACpE,SAAS,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,MAAM,CAAA;IAC/C,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,eAAe,CAAC,CA0DnE,CAAA;AAED,6CAA6C;AAC7C,eAAO,MAAM,QAAQ,8CAAa,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './Body.tsx';
2
- export * from './Chrome.tsx';
3
- export * from './ErrorPage.tsx';
4
- export * from './NotFoundPage/index.ts';
5
- export * from './Page.tsx';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,YAAY,CAAA"}
@@ -1,6 +0,0 @@
1
- import type { CSSProperties } from 'react';
2
- export declare const scrollableWrap: CSSProperties;
3
- export declare const fixedWrap: CSSProperties;
4
- export declare const scrollableContent: CSSProperties;
5
- export declare const fixedContent: CSSProperties;
6
- //# sourceMappingURL=cssValues.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cssValues.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/cssValues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,eAAO,MAAM,cAAc,EAAE,aAGnB,CAAA;AAEV,eAAO,MAAM,SAAS,EAAE,aAGd,CAAA;AAGV,eAAO,MAAM,iBAAiB,EAAE,aAAyC,CAAA;AAEzE,eAAO,MAAM,YAAY,EAAE,aAA8C,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './cssValues.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}