@xylabs/react-webapp 6.3.9 → 6.3.11
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.
- package/dist/browser/components/Body.d.ts +13 -0
- package/dist/browser/components/Body.d.ts.map +1 -0
- package/dist/browser/components/Chrome.d.ts +18 -0
- package/dist/browser/components/Chrome.d.ts.map +1 -0
- package/dist/browser/components/Chrome.stories.d.ts +9 -0
- package/dist/browser/components/Chrome.stories.d.ts.map +1 -0
- package/dist/browser/components/ErrorPage.d.ts +9 -0
- package/dist/browser/components/ErrorPage.d.ts.map +1 -0
- package/dist/browser/components/NotFoundPage/Page.d.ts +6 -0
- package/dist/browser/components/NotFoundPage/Page.d.ts.map +1 -0
- package/dist/browser/components/NotFoundPage/Page.stories.d.ts +10 -0
- package/dist/browser/components/NotFoundPage/Page.stories.d.ts.map +1 -0
- package/dist/browser/components/NotFoundPage/index.d.ts +2 -0
- package/dist/browser/components/NotFoundPage/index.d.ts.map +1 -0
- package/dist/browser/components/Page.d.ts +13 -0
- package/dist/browser/components/Page.d.ts.map +1 -0
- package/dist/browser/components/index.d.ts +6 -0
- package/dist/browser/components/index.d.ts.map +1 -0
- package/dist/browser/components/lib/cssValues.d.ts +6 -0
- package/dist/browser/components/lib/cssValues.d.ts.map +1 -0
- package/dist/browser/components/lib/index.d.ts +2 -0
- package/dist/browser/components/lib/index.d.ts.map +1 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/package.json +15 -15
|
@@ -0,0 +1,13 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WebAppNavigationType } from '@xylabs/react-app-settings';
|
|
2
|
+
import type { FlexBoxProps } from '@xylabs/react-flexbox';
|
|
3
|
+
import type { ReactNode } from 'react';
|
|
4
|
+
export interface WebAppChromeProps extends FlexBoxProps {
|
|
5
|
+
appName: string;
|
|
6
|
+
appbar?: ReactNode;
|
|
7
|
+
errorBoundary?: boolean;
|
|
8
|
+
errorPage?: ReactNode;
|
|
9
|
+
footer?: ReactNode;
|
|
10
|
+
footerElevation?: number;
|
|
11
|
+
menuItems?: ReactNode;
|
|
12
|
+
navigationType?: WebAppNavigationType;
|
|
13
|
+
}
|
|
14
|
+
export declare const WebAppChrome: {
|
|
15
|
+
({ ref, appName, appbar, children, errorBoundary, errorPage, footer, footerElevation, menuItems, navigationType, ...props }: WebAppChromeProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=Chrome.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chrome.d.ts","sourceRoot":"","sources":["../../../src/components/Chrome.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAGtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAIzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,cAAc,CAAC,EAAE,oBAAoB,CAAA;CACtC;AAED,eAAO,MAAM,YAAY;iIAEtB,iBAAiB;;CAqCnB,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { WebAppChrome } from './Chrome.tsx';
|
|
3
|
+
declare const StorybookEntry: Meta<typeof WebAppChrome>;
|
|
4
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Chrome.tsx").WebAppChromeProps>;
|
|
5
|
+
declare const DefaultSideBar: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Chrome.tsx").WebAppChromeProps>;
|
|
6
|
+
declare const WithFixedSizePage: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("./Chrome.tsx").WebAppChromeProps>;
|
|
7
|
+
export { Default, DefaultSideBar, WithFixedSizePage, };
|
|
8
|
+
export default StorybookEntry;
|
|
9
|
+
//# sourceMappingURL=Chrome.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chrome.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Chrome.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAO1D,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAI3C,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,YAAY,CAAC,CAAA;AAwC9B,QAAA,MAAM,OAAO,4IAAoB,CAAA;AAGjC,QAAA,MAAM,cAAc,4IAAoB,CAAA;AAGxC,QAAA,MAAM,iBAAiB,4IAAoB,CAAA;AAG3C,OAAO,EACL,OAAO,EAAE,cAAc,EAAE,iBAAiB,GAC3C,CAAA;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react-vite';
|
|
2
|
+
import { NotFound } from '@xylabs/react-shared';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
declare const StorybookEntry: Meta<typeof NotFound>;
|
|
5
|
+
declare const Default: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react-vite").ReactRenderer, import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & import("@mui/material/OverridableComponent").CommonProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("@mui/material/OverridableComponent").CommonProps | keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & {
|
|
6
|
+
component?: React.ElementType;
|
|
7
|
+
}>;
|
|
8
|
+
export { Default };
|
|
9
|
+
export default StorybookEntry;
|
|
10
|
+
//# sourceMappingURL=Page.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Page.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/NotFoundPage/Page.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAW,MAAM,uBAAuB,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,QAAA,MAAM,cAAc,EAKf,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAA;AAM1B,QAAA,MAAM,OAAO;;EAAoB,CAAA;AAGjC,OAAO,EAAE,OAAO,EAAE,CAAA;AAElB,eAAe,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/NotFoundPage/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/react-webapp",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.11",
|
|
4
4
|
"description": "Common React library for all XY Labs projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utility",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"module": "dist/browser/index.mjs",
|
|
39
39
|
"types": "dist/browser/index.d.ts",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@xylabs/react-app-settings": "^6.3.
|
|
42
|
-
"@xylabs/react-appbar": "^6.3.
|
|
43
|
-
"@xylabs/react-async-effect": "^6.3.
|
|
44
|
-
"@xylabs/react-button": "^6.3.
|
|
45
|
-
"@xylabs/react-error": "^6.3.
|
|
46
|
-
"@xylabs/react-flexbox": "^6.3.
|
|
47
|
-
"@xylabs/react-pixel": "^6.3.
|
|
48
|
-
"@xylabs/react-shared": "^6.3.
|
|
41
|
+
"@xylabs/react-app-settings": "^6.3.11",
|
|
42
|
+
"@xylabs/react-appbar": "^6.3.11",
|
|
43
|
+
"@xylabs/react-async-effect": "^6.3.11",
|
|
44
|
+
"@xylabs/react-button": "^6.3.11",
|
|
45
|
+
"@xylabs/react-error": "^6.3.11",
|
|
46
|
+
"@xylabs/react-flexbox": "^6.3.11",
|
|
47
|
+
"@xylabs/react-pixel": "^6.3.11",
|
|
48
|
+
"@xylabs/react-shared": "^6.3.11",
|
|
49
49
|
"react-helmet": "^6.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"@storybook/react-vite": "^9.0.16",
|
|
55
55
|
"@types/react": "^19.1.8",
|
|
56
56
|
"@types/react-helmet": "^6.1.11",
|
|
57
|
-
"@xylabs/react-button": "^6.3.
|
|
58
|
-
"@xylabs/react-flexbox": "^6.3.
|
|
59
|
-
"@xylabs/react-link": "^6.3.
|
|
60
|
-
"@xylabs/react-pixel": "^6.3.
|
|
61
|
-
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.
|
|
62
|
-
"@xylabs/tsconfig-react": "^7.0.0-rc.
|
|
57
|
+
"@xylabs/react-button": "^6.3.11",
|
|
58
|
+
"@xylabs/react-flexbox": "^6.3.11",
|
|
59
|
+
"@xylabs/react-link": "^6.3.11",
|
|
60
|
+
"@xylabs/react-pixel": "^6.3.11",
|
|
61
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
|
|
62
|
+
"@xylabs/tsconfig-react": "^7.0.0-rc.24",
|
|
63
63
|
"knip": "^5.61.3",
|
|
64
64
|
"react": "^19.1.0",
|
|
65
65
|
"react-dom": "^19.1.0",
|