@xyo-network/react-webapp 2.41.33 → 2.41.35

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 (42) hide show
  1. package/dist/docs.json +36967 -271
  2. package/dist/{cjs → types}/components/Body.d.ts +0 -0
  3. package/dist/{cjs → types}/components/Body.d.ts.map +0 -0
  4. package/dist/{cjs → types}/components/Chrome.d.ts +0 -0
  5. package/dist/{cjs → types}/components/Chrome.d.ts.map +0 -0
  6. package/dist/{cjs → types}/components/ErrorPage.d.ts +0 -0
  7. package/dist/{cjs → types}/components/ErrorPage.d.ts.map +0 -0
  8. package/dist/{cjs → types}/components/NotFoundPage/Page.d.ts +0 -0
  9. package/dist/{cjs → types}/components/NotFoundPage/Page.d.ts.map +0 -0
  10. package/dist/{cjs → types}/components/NotFoundPage/index.d.ts +0 -0
  11. package/dist/{cjs → types}/components/NotFoundPage/index.d.ts.map +0 -0
  12. package/dist/{cjs → types}/components/Page.d.ts +0 -0
  13. package/dist/{cjs → types}/components/Page.d.ts.map +0 -0
  14. package/dist/{cjs → types}/components/index.d.ts +0 -0
  15. package/dist/{cjs → types}/components/index.d.ts.map +0 -0
  16. package/dist/{cjs → types}/components/lib/cssValues.d.ts +0 -0
  17. package/dist/{cjs → types}/components/lib/cssValues.d.ts.map +0 -0
  18. package/dist/{cjs → types}/components/lib/index.d.ts +0 -0
  19. package/dist/{cjs → types}/components/lib/index.d.ts.map +0 -0
  20. package/dist/{cjs → types}/index.d.ts +0 -0
  21. package/dist/{cjs → types}/index.d.ts.map +0 -0
  22. package/package.json +36 -12
  23. package/dist/esm/components/Body.d.ts +0 -12
  24. package/dist/esm/components/Body.d.ts.map +0 -1
  25. package/dist/esm/components/Chrome.d.ts +0 -14
  26. package/dist/esm/components/Chrome.d.ts.map +0 -1
  27. package/dist/esm/components/ErrorPage.d.ts +0 -6
  28. package/dist/esm/components/ErrorPage.d.ts.map +0 -1
  29. package/dist/esm/components/NotFoundPage/Page.d.ts +0 -6
  30. package/dist/esm/components/NotFoundPage/Page.d.ts.map +0 -1
  31. package/dist/esm/components/NotFoundPage/index.d.ts +0 -2
  32. package/dist/esm/components/NotFoundPage/index.d.ts.map +0 -1
  33. package/dist/esm/components/Page.d.ts +0 -13
  34. package/dist/esm/components/Page.d.ts.map +0 -1
  35. package/dist/esm/components/index.d.ts +0 -5
  36. package/dist/esm/components/index.d.ts.map +0 -1
  37. package/dist/esm/components/lib/cssValues.d.ts +0 -6
  38. package/dist/esm/components/lib/cssValues.d.ts.map +0 -1
  39. package/dist/esm/components/lib/index.d.ts +0 -2
  40. package/dist/esm/components/lib/index.d.ts.map +0 -1
  41. package/dist/esm/index.d.ts +0 -2
  42. package/dist/esm/index.d.ts.map +0 -1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -10,28 +10,52 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xylabs/react-button": "^2.15.8",
14
- "@xylabs/react-flexbox": "^2.15.8",
15
- "@xylabs/react-pixel": "^2.15.8",
16
- "@xylabs/react-shared": "^2.15.8",
17
- "@xyo-network/react-app-settings": "^2.41.33",
18
- "@xyo-network/react-appbar": "^2.41.33",
19
- "@xyo-network/react-footer": "^2.41.33",
20
- "@xyo-network/react-shared": "^2.41.33",
21
- "react-helmet": "^6.1.0"
13
+ "@xyo-network/react-app-settings": "^2.41.35",
14
+ "@xyo-network/react-appbar": "^2.41.35",
15
+ "@xyo-network/react-footer": "^2.41.35",
16
+ "@xyo-network/react-shared": "^2.41.35"
22
17
  },
23
18
  "peerDependencies": {
24
19
  "@mui/icons-material": "^5",
25
20
  "@mui/material": "^5",
26
21
  "@mui/styles": "^5",
22
+ "@xylabs/assert": "^2.6.15",
23
+ "@xylabs/pixel": "^1.4.9",
24
+ "@xylabs/react-button": "^2.15.9",
25
+ "@xylabs/react-flexbox": "^2.15.9",
26
+ "@xylabs/react-pixel": "^2.15.9",
27
+ "@xylabs/react-shared": "^2.15.9",
28
+ "async-mutex": "^0.4.0",
29
+ "axios": "^1.2.3",
30
+ "bowser": "^2.11.0",
31
+ "js-cookie": "^3.0.1",
32
+ "lodash": "^4.17.21",
33
+ "md5": "^2.3.0",
27
34
  "react": "^18.2.0",
28
35
  "react-dom": "^18.2.0",
36
+ "react-helmet": "^6.1.0",
29
37
  "react-icons": "^4.4.0",
30
38
  "react-router-dom": "^6.3.0"
31
39
  },
32
40
  "devDependencies": {
41
+ "@storybook/react": "^6.5.15",
33
42
  "@types/react-helmet": "^6.1.6",
34
- "@xylabs/ts-scripts-yarn3": "2.12.0"
43
+ "@xylabs/pixel": "^1.4.10",
44
+ "@xylabs/react-button": "^2.15.11",
45
+ "@xylabs/react-flexbox": "^2.15.11",
46
+ "@xylabs/react-link": "^2.15.11",
47
+ "@xylabs/react-pixel": "^2.15.11",
48
+ "@xylabs/react-shared": "^2.15.11",
49
+ "@xylabs/ts-scripts-yarn3": "2.12.25",
50
+ "async-mutex": "^0.4.0",
51
+ "axios": "^1.2.3",
52
+ "bowser": "^2.11.0",
53
+ "js-cookie": "^3.0.1",
54
+ "lodash": "^4.17.21",
55
+ "md5": "^2.3.0",
56
+ "randombytes": "^2.1.0",
57
+ "react-helmet": "^6.1.0",
58
+ "require-from-string": "^2.0.2"
35
59
  },
36
60
  "description": "Common React library for all XYO projects that use React",
37
61
  "browser": "dist/esm/index.js",
@@ -75,6 +99,6 @@
75
99
  "license": "yarn license-checker --exclude \"MIT, ISC, Apache-2.0, BSD, BSD-2-Clause, CC-BY-4.0, Unlicense, CC-BY-3.0, CC0-1.0\""
76
100
  },
77
101
  "sideEffects": false,
78
- "types": "dist/esm/index.d.ts",
79
- "version": "2.41.33"
102
+ "types": "dist/types/index.d.ts",
103
+ "version": "2.41.35"
80
104
  }
@@ -1,12 +0,0 @@
1
- import { Breakpoint } from '@mui/material';
2
- import { FlexBoxProps } from '@xylabs/react-flexbox';
3
- import React, { ReactNode } from 'react';
4
- export interface WebAppBodyProps extends FlexBoxProps {
5
- breadcrumbs?: ReactNode;
6
- disableBreadcrumbGutter?: boolean;
7
- spacing?: string | number;
8
- mobileScrollingBreakpoint?: Breakpoint;
9
- variant?: 'scrollable' | 'fixed';
10
- }
11
- export declare const WebAppBody: React.FC<WebAppBodyProps>;
12
- //# 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,EAAE,UAAU,EAAU,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,YAAY,EAAwB,MAAM,uBAAuB,CAAA;AAC1E,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AA+DxC,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACnD,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,yBAAyB,CAAC,EAAE,UAAU,CAAA;IACtC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAA;CACjC;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAuBhD,CAAA"}
@@ -1,14 +0,0 @@
1
- import { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import { WebAppNavigationType } from '@xyo-network/react-app-settings';
3
- import { ReactNode } from 'react';
4
- export interface WebAppChromeProps extends FlexBoxProps {
5
- appName: string;
6
- footer?: ReactNode;
7
- appbar?: ReactNode;
8
- errorPage?: ReactNode;
9
- footerElevation?: number;
10
- navigationType?: WebAppNavigationType;
11
- menuItems?: ReactNode;
12
- }
13
- export declare const WebAppChrome: React.FC<WebAppChromeProps>;
14
- //# sourceMappingURL=Chrome.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Chrome.d.ts","sourceRoot":"","sources":["../../../src/components/Chrome.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAqC,MAAM,uBAAuB,CAAA;AACvF,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAItE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKjC,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,oBAAoB,CAAA;IACrC,SAAS,CAAC,EAAE,SAAS,CAAA;CACtB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmCpD,CAAA"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { WebAppPageProps } from './Page';
3
- export declare const WebAppErrorPage: React.FC<WebAppPageProps>;
4
- /** @deprecated use WebAppErrorPage instead */
5
- export declare const ErrorPage: import("react").FC<WebAppPageProps>;
6
- //# sourceMappingURL=ErrorPage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorPage.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorPage.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,QAAQ,CAAA;AAEpD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAOrD,CAAA;AAED,8CAA8C;AAC9C,eAAO,MAAM,SAAS,qCAAkB,CAAA"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { WebAppPageProps } from '../Page';
3
- export declare const WebAppNotFoundPage: React.FC<WebAppPageProps>;
4
- /** @deprecated use WebAppNotFoundPage instead */
5
- export declare const NotFoundPage: import("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":";AAEA,OAAO,EAAc,eAAe,EAAE,MAAM,SAAS,CAAA;AAErD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAIxD,CAAA;AAED,kDAAkD;AAClD,eAAO,MAAM,YAAY,qCAAqB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './Page';
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,QAAQ,CAAA"}
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { ContainerProps } from '@mui/material';
3
- import { FlexBoxProps } from '@xylabs/react-flexbox';
4
- import { WithChildren } from '@xylabs/react-shared';
5
- import { WebAppBodyProps } from './Body';
6
- export interface WebAppPageProps extends WebAppBodyProps, FlexBoxProps {
7
- container?: ContainerProps['maxWidth'] | 'none';
8
- disableGutters?: boolean;
9
- }
10
- export declare const WebAppPage: React.FC<WithChildren<WebAppPageProps>>;
11
- /** @deprecated use WebAppPagePage instead */
12
- export declare const FlexPage: import("react").FC<WithChildren<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,EAAa,cAAc,EAAU,MAAM,eAAe,CAAA;AACjE,OAAO,EAAE,YAAY,EAAe,MAAM,uBAAuB,CAAA;AAEjE,OAAO,EAAkB,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAInE,OAAO,EAAc,eAAe,EAAE,MAAM,QAAQ,CAAA;AAqBpD,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,YAAY,CAAC,eAAe,CAAC,CAuD9D,CAAA;AAED,6CAA6C;AAC7C,eAAO,MAAM,QAAQ,mDAAa,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './Chrome';
2
- export * from './ErrorPage';
3
- export * from './NotFoundPage';
4
- export * from './Page';
5
- //# 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,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA"}
@@ -1,6 +0,0 @@
1
- import { 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,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAErC,eAAO,MAAM,cAAc,EAAE,aAGnB,CAAA;AAEV,eAAO,MAAM,SAAS,EAAE,aAGd,CAAA;AAGV,eAAO,MAAM,iBAAiB,EAAE,aAEtB,CAAA;AAEV,eAAO,MAAM,YAAY,EAAE,aAEjB,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './cssValues';
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,aAAa,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './components';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}