@xyo-network/react-appbar 2.26.6 → 2.26.9
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/cjs/components/AppBar/Application.d.ts +1 -1
- package/dist/cjs/components/AppBar/Application.js +2 -2
- package/dist/cjs/components/Toolbar/Context/XyoLogoLinkEx.d.ts +1 -1
- package/dist/cjs/components/Toolbar/Context/XyoLogoLinkEx.js +2 -2
- package/dist/cjs/components/Toolbar/Context/XyoLogoLinkEx.js.map +1 -1
- package/dist/esm/components/AppBar/Application.d.ts +1 -1
- package/dist/esm/components/AppBar/Application.js +1 -1
- package/dist/esm/components/Toolbar/Context/XyoLogoLinkEx.d.ts +1 -1
- package/dist/esm/components/Toolbar/Context/XyoLogoLinkEx.js +1 -1
- package/dist/esm/components/Toolbar/Context/XyoLogoLinkEx.js.map +1 -1
- package/package.json +18 -16
- package/src/components/AppBar/Application.tsx +1 -1
- package/src/components/Toolbar/Context/XyoLogoLinkEx.tsx +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarProps } from '@mui/material';
|
|
2
|
-
import { AppBarExProps } from '@xylabs/react-
|
|
2
|
+
import { AppBarExProps } from '@xylabs/react-appbar';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
4
|
export interface ApplicationAppBarProps extends AppBarExProps {
|
|
5
5
|
contextToolbar?: ReactElement<ToolbarProps>;
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ApplicationAppBar = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
|
-
const
|
|
6
|
+
const react_appbar_1 = require("@xylabs/react-appbar");
|
|
7
7
|
const Toolbar_1 = require("../Toolbar");
|
|
8
8
|
const ApplicationAppBar = (_a) => {
|
|
9
9
|
var { systemToolbar, contextToolbar, responsive = true } = _a, props = tslib_1.__rest(_a, ["systemToolbar", "contextToolbar", "responsive"]);
|
|
10
|
-
return (0, jsx_runtime_1.jsx)(
|
|
10
|
+
return (0, jsx_runtime_1.jsx)(react_appbar_1.AppBarEx, Object.assign({ systemToolbar: systemToolbar !== null && systemToolbar !== void 0 ? systemToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.SystemToolbar, {}), contextToolbar: contextToolbar !== null && contextToolbar !== void 0 ? contextToolbar : (0, jsx_runtime_1.jsx)(Toolbar_1.ContextToolbar, {}), position: "sticky", responsive: responsive }, props));
|
|
11
11
|
};
|
|
12
12
|
exports.ApplicationAppBar = ApplicationAppBar;
|
|
13
13
|
//# sourceMappingURL=Application.js.map
|
|
@@ -4,13 +4,13 @@ exports.XyoLogoLinkEx = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
|
-
const react_common_1 = require("@xylabs/react-common");
|
|
8
7
|
const react_flexbox_1 = require("@xylabs/react-flexbox");
|
|
8
|
+
const react_link_1 = require("@xylabs/react-link");
|
|
9
9
|
const XyoLogo_1 = require("./XyoLogo");
|
|
10
10
|
const XyoLogoLinkEx = (_a) => {
|
|
11
11
|
var { to = '/', version = false } = _a, props = tslib_1.__rest(_a, ["to", "version"]);
|
|
12
12
|
const theme = (0, material_1.useTheme)();
|
|
13
|
-
return ((0, jsx_runtime_1.jsx)(
|
|
13
|
+
return ((0, jsx_runtime_1.jsx)(react_link_1.LinkEx, Object.assign({ to: to }, props, { children: (0, jsx_runtime_1.jsxs)(react_flexbox_1.FlexRow, Object.assign({ paddingX: "4px" }, { children: [(0, jsx_runtime_1.jsx)(XyoLogo_1.XyoLogo, { height: "40", width: "43" }), version ? ((0, jsx_runtime_1.jsx)(material_1.Typography, Object.assign({ position: "absolute", borderRadius: 1, right: 6, color: theme.palette.getContrastText(theme.palette.text.primary), bottom: 0, bgcolor: theme.palette.text.primary, paddingX: "2px", lineHeight: 1, variant: "caption", border: `1px ${theme.palette.getContrastText(theme.palette.primary.main)} solid` }, { children: typeof version === 'string' ? version : '2.0' }))) : null] })) })));
|
|
14
14
|
};
|
|
15
15
|
exports.XyoLogoLinkEx = XyoLogoLinkEx;
|
|
16
16
|
//# sourceMappingURL=XyoLogoLinkEx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoLogoLinkEx.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/XyoLogoLinkEx.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"XyoLogoLinkEx.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/XyoLogoLinkEx.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoD;AACpD,yDAA+C;AAC/C,mDAAwD;AAExD,uCAAmC;AAM5B,MAAM,aAAa,GAAiC,CAAC,EAAuC,EAAE,EAAE;QAA3C,EAAE,EAAE,GAAG,GAAG,EAAE,OAAO,GAAG,KAAK,OAAY,EAAP,KAAK,sBAArC,iBAAuC,CAAF;IAC/F,MAAM,KAAK,GAAG,IAAA,mBAAQ,GAAE,CAAA;IACxB,OAAO,CACL,uBAAC,mBAAM,kBAAC,EAAE,EAAE,EAAE,IAAM,KAAK,cACvB,wBAAC,uBAAO,kBAAC,QAAQ,EAAC,KAAK,iBACrB,uBAAC,iBAAO,IAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAG,EACjC,OAAO,CAAC,CAAC,CAAC,CACT,uBAAC,qBAAU,kBACT,QAAQ,EAAC,UAAU,EACnB,YAAY,EAAE,CAAC,EACf,KAAK,EAAE,CAAC,EACR,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAChE,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EACnC,QAAQ,EAAC,KAAK,EACd,UAAU,EAAE,CAAC,EACb,OAAO,EAAC,SAAS,EACjB,MAAM,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,gBAE/E,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,IACnC,CACd,CAAC,CAAC,CAAC,IAAI,KACA,IACH,CACV,CAAA;AACH,CAAC,CAAA;AAzBY,QAAA,aAAa,iBAyBzB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarProps } from '@mui/material';
|
|
2
|
-
import { AppBarExProps } from '@xylabs/react-
|
|
2
|
+
import { AppBarExProps } from '@xylabs/react-appbar';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
4
|
export interface ApplicationAppBarProps extends AppBarExProps {
|
|
5
5
|
contextToolbar?: ReactElement<ToolbarProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { AppBarEx } from '@xylabs/react-
|
|
2
|
+
import { AppBarEx } from '@xylabs/react-appbar';
|
|
3
3
|
import { ContextToolbar, SystemToolbar } from '../Toolbar';
|
|
4
4
|
export const ApplicationAppBar = ({ systemToolbar, contextToolbar, responsive = true, ...props }) => {
|
|
5
5
|
return _jsx(AppBarEx, { systemToolbar: systemToolbar ?? _jsx(SystemToolbar, {}), contextToolbar: contextToolbar ?? _jsx(ContextToolbar, {}), position: "sticky", responsive: responsive, ...props });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Typography, useTheme } from '@mui/material';
|
|
3
|
-
import { LinkEx } from '@xylabs/react-common';
|
|
4
3
|
import { FlexRow } from '@xylabs/react-flexbox';
|
|
4
|
+
import { LinkEx } from '@xylabs/react-link';
|
|
5
5
|
import { XyoLogo } from './XyoLogo';
|
|
6
6
|
export const XyoLogoLinkEx = ({ to = '/', version = false, ...props }) => {
|
|
7
7
|
const theme = useTheme();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoLogoLinkEx.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/XyoLogoLinkEx.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"XyoLogoLinkEx.js","sourceRoot":"","sources":["../../../../../src/components/Toolbar/Context/XyoLogoLinkEx.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAe,MAAM,oBAAoB,CAAA;AAExD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAMnC,MAAM,CAAC,MAAM,aAAa,GAAiC,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,EAAE;IACrG,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAA;IACxB,OAAO,CACL,KAAC,MAAM,IAAC,EAAE,EAAE,EAAE,KAAM,KAAK,YACvB,MAAC,OAAO,IAAC,QAAQ,EAAC,KAAK,aACrB,KAAC,OAAO,IAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAC,IAAI,GAAG,EACjC,OAAO,CAAC,CAAC,CAAC,CACT,KAAC,UAAU,IACT,QAAQ,EAAC,UAAU,EACnB,YAAY,EAAE,CAAC,EACf,KAAK,EAAE,CAAC,EACR,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,EAChE,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EACnC,QAAQ,EAAC,KAAK,EACd,UAAU,EAAE,CAAC,EACb,OAAO,EAAC,SAAS,EACjB,MAAM,EAAE,OAAO,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,YAE/E,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,GACnC,CACd,CAAC,CAAC,CAAC,IAAI,IACA,GACH,CACV,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -13,19 +13,21 @@
|
|
|
13
13
|
"@emotion/react": "^11.9.3",
|
|
14
14
|
"@emotion/styled": "^11.9.3",
|
|
15
15
|
"@mui/icons-material": "^5.8.4",
|
|
16
|
-
"@mui/material": "^5.8.
|
|
17
|
-
"@xylabs/react-
|
|
18
|
-
"@xylabs/react-
|
|
19
|
-
"@xylabs/react-
|
|
20
|
-
"@xylabs/react-
|
|
21
|
-
"@
|
|
22
|
-
"@
|
|
23
|
-
"@xyo-network/react-
|
|
24
|
-
"@xyo-network/react-
|
|
25
|
-
"@xyo-network/react-
|
|
26
|
-
"@xyo-network/react-
|
|
27
|
-
"@xyo-network/react-
|
|
28
|
-
"@xyo-network/react-
|
|
16
|
+
"@mui/material": "^5.8.7",
|
|
17
|
+
"@xylabs/react-appbar": "^2.14.5",
|
|
18
|
+
"@xylabs/react-button": "^2.14.5",
|
|
19
|
+
"@xylabs/react-common": "^2.14.5",
|
|
20
|
+
"@xylabs/react-flexbox": "^2.14.5",
|
|
21
|
+
"@xylabs/react-link": "^2.14.5",
|
|
22
|
+
"@xylabs/react-shared": "^2.14.5",
|
|
23
|
+
"@xyo-network/react-app-settings": "^2.26.9",
|
|
24
|
+
"@xyo-network/react-archive": "^2.26.9",
|
|
25
|
+
"@xyo-network/react-archivist-api": "^2.26.9",
|
|
26
|
+
"@xyo-network/react-auth": "^2.26.9",
|
|
27
|
+
"@xyo-network/react-network": "^2.26.9",
|
|
28
|
+
"@xyo-network/react-shared": "^2.26.9",
|
|
29
|
+
"@xyo-network/react-wallet": "^2.26.9",
|
|
30
|
+
"@xyo-network/wallet": "^2.21.14",
|
|
29
31
|
"react": "^18.2.0",
|
|
30
32
|
"react-dom": "^18.2.0",
|
|
31
33
|
"react-router-dom": "^6.3.0",
|
|
@@ -33,8 +35,8 @@
|
|
|
33
35
|
},
|
|
34
36
|
"description": "Common React library for all XYO projects that use React",
|
|
35
37
|
"devDependencies": {
|
|
36
|
-
"@babel/core": "^7.18.
|
|
37
|
-
"@babel/preset-env": "^7.18.
|
|
38
|
+
"@babel/core": "^7.18.6",
|
|
39
|
+
"@babel/preset-env": "^7.18.6",
|
|
38
40
|
"@storybook/react": "^6.5.9",
|
|
39
41
|
"@xylabs/tsconfig": "^1.0.14"
|
|
40
42
|
},
|
|
@@ -87,6 +89,6 @@
|
|
|
87
89
|
},
|
|
88
90
|
"sideEffects": false,
|
|
89
91
|
"types": "dist/esm/index.d.ts",
|
|
90
|
-
"version": "2.26.
|
|
92
|
+
"version": "2.26.9",
|
|
91
93
|
"packageManager": "yarn@3.1.1"
|
|
92
94
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolbarProps } from '@mui/material'
|
|
2
|
-
import { AppBarEx, AppBarExProps } from '@xylabs/react-
|
|
2
|
+
import { AppBarEx, AppBarExProps } from '@xylabs/react-appbar'
|
|
3
3
|
import { ReactElement } from 'react'
|
|
4
4
|
|
|
5
5
|
import { ContextToolbar, SystemToolbar } from '../Toolbar'
|