@dgui/react-router-web 1.6.0-next.3 → 1.7.0-beta.2
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/README.md +71 -71
- package/dist/Components/RouterWebAppBar/index.js.map +1 -1
- package/dist/Components/RouterWebDrawer/index.js.map +1 -1
- package/dist/Components/RouterWebDrawerBar/index.js.map +1 -1
- package/dist/Components/RouterWebTab/index.js.map +1 -1
- package/dist/ReactRouterWebDigest.js +2 -2
- package/dist/ReactRouterWebDigest.js.map +1 -1
- package/dist/ReactWebDigest.js.map +1 -1
- package/dist/Types.d.ts +5 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +90 -90
package/README.md
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
<h1>
|
|
3
|
+
<a
|
|
4
|
+
href="https://gitlab.com/digested/dgui/"
|
|
5
|
+
>
|
|
6
|
+
@dgui/react-router-web
|
|
7
|
+
</a>
|
|
8
|
+
</h1>
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div align="center">
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
12
|
+
<a
|
|
13
|
+
href="https://commitizen.github.io/cz-cli/"
|
|
14
|
+
>
|
|
15
|
+
<img
|
|
16
|
+
alt="Commitizen Friendly"
|
|
17
|
+
src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?maxAge=2592000"
|
|
18
|
+
/>
|
|
19
|
+
</a>
|
|
20
|
+
<a
|
|
21
|
+
href="https://github.com/semantic-release/semantic-release"
|
|
22
|
+
>
|
|
23
|
+
<img
|
|
24
|
+
alt="Semantic Release"
|
|
25
|
+
src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?maxAge=2592000"
|
|
26
|
+
/>
|
|
27
|
+
</a>
|
|
28
28
|
</div>
|
|
29
29
|
|
|
30
30
|
<div align="center">
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
31
|
+
<a
|
|
32
|
+
href="https://gitlab.com/digested/dgui/-/commits/main"
|
|
33
|
+
>
|
|
34
|
+
<img
|
|
35
|
+
alt="Build Status"
|
|
36
|
+
src="https://gitlab.com/digested/dgui/badges/main/pipeline.svg"
|
|
37
|
+
/>
|
|
38
|
+
</a>
|
|
39
|
+
<a
|
|
40
|
+
href="https://digested.gitlab.io/dgui/coverage"
|
|
41
|
+
>
|
|
42
|
+
<img
|
|
43
|
+
alt="Coverage Report"
|
|
44
|
+
src="https://gitlab.com/digested/dgui/badges/master/coverage.svg"
|
|
45
|
+
/>
|
|
46
|
+
</a>
|
|
47
|
+
<a
|
|
48
|
+
href="https://www.npmjs.org/package/@dgui/react-router-web"
|
|
49
|
+
>
|
|
50
|
+
<img
|
|
51
|
+
alt="NPM Version"
|
|
52
|
+
src="http://img.shields.io/npm/v/@dgui/react-router-web.svg?maxAge=86400"
|
|
53
|
+
/>
|
|
54
|
+
</a>
|
|
55
|
+
<a
|
|
56
|
+
href="https://www.gnu.org/licenses/lgpl-3.0.html"
|
|
57
|
+
>
|
|
58
|
+
<img
|
|
59
|
+
alt="License"
|
|
60
|
+
src="https://img.shields.io/npm/l/@dgui/react-router-web.svg?maxAge=2592000"
|
|
61
|
+
/>
|
|
62
|
+
</a>
|
|
63
|
+
<a
|
|
64
|
+
href="https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgitlab.com%2Fdigested%2Fdgui.svg?type=shield"
|
|
65
|
+
>
|
|
66
|
+
<img
|
|
67
|
+
alt="FOSSA Status"
|
|
68
|
+
src="https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgitlab.com%2Fdigested%2Fdgui.svg?type=shield&maxAge=3600"
|
|
69
|
+
/>
|
|
70
|
+
</a>
|
|
71
|
+
<a
|
|
72
|
+
href="https://github.com/gajus/canonical"
|
|
73
|
+
>
|
|
74
|
+
<img
|
|
75
|
+
alt="Canonical Code Style"
|
|
76
|
+
src="https://img.shields.io/badge/code%20style-canonical-blue.svg?maxAge=2592000"
|
|
77
|
+
/>
|
|
78
|
+
</a>
|
|
79
79
|
</div>
|
|
80
80
|
<br />
|
|
81
81
|
<br />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebAppBar/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,gCAAoB,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAErD,6CAEyB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebAppBar/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,gCAAoB,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAErD,6CAEyB;AADvB,oGAAA,oBAAoB,OAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebDrawer/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,gCAAoB,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAErD,6CAEyB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebDrawer/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,gCAAoB,CAAC,WAAW,GAAG,iBAAiB,CAAC;AAErD,6CAEyB;AADvB,oGAAA,oBAAoB,OAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebDrawerBar/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,mCAAuB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAE3D,6CAEyB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebDrawerBar/index.tsx"],"names":[],"mappings":";;;AAAA,+CAEyB;AAEzB,mCAAuB,CAAC,WAAW,GAAG,oBAAoB,CAAC;AAE3D,6CAEyB;AADvB,oGAAA,uBAAuB,OAAW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebTab/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAGA,mEAImC;AACnC,+CAEyB;AAKzB,MAAM,YAAY,GAAoD,CAAC,EAGtE,EAAE,EAAE;QAHkE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/RouterWebTab/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAGA,mEAImC;AACnC,+CAEyB;AAKzB,MAAM,YAAY,GAAoD,CAAC,EAGtE,EAAE,EAAE;QAHkE,EACrE,QAAQ,OAET,EADI,KAAK,cAF6D,YAGtE,CADS;IAER,OAAO,CACL,uBAAC,6BAAiB,oBACZ,KAAK,cAET,wBAAC,8BAAQ,IACP,OAAO,EAAE,KAAK,CAAC,OAAO,aAEtB,uBAAC,iCAAW,IACV,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,EACF,uBAAC,kCAAY,IACX,KAAK,EAAE,KAAK,CAAC,KAAK,GAClB,EACD,QAAQ,IACA,IACO,CACrB,CAAC;AACJ,CAAC,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC;AAE1C,kBAAe,YAAY,CAAC"}
|
|
@@ -20,7 +20,7 @@ const react_router_shared_1 = require("@dgui/react-router-shared");
|
|
|
20
20
|
const react_router_web_shared_1 = require("@dgui/react-router-web-shared");
|
|
21
21
|
const react_1 = require("react");
|
|
22
22
|
const ReactRouterWebDigest = (_a) => {
|
|
23
|
-
var { children, router, tabIndex: givenTabIndex = 0 } = _a, rest = __rest(_a, ["children", "router", "tabIndex"]);
|
|
23
|
+
var { basename, children, router, tabIndex: givenTabIndex = 0 } = _a, rest = __rest(_a, ["basename", "children", "router", "tabIndex"]);
|
|
24
24
|
const defaultTab = (0, react_1.useMemo)(() => {
|
|
25
25
|
return givenTabIndex;
|
|
26
26
|
}, []);
|
|
@@ -29,7 +29,7 @@ const ReactRouterWebDigest = (_a) => {
|
|
|
29
29
|
}, [
|
|
30
30
|
defaultTab
|
|
31
31
|
]);
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(react_router_web_shared_1.ReactRouterWebProviders, { router: router, children: (0, jsx_runtime_1.jsx)(ReactWebDigest_1.default, Object.assign({}, rest, { tabIndex: givenTabIndex, children: (0, jsx_runtime_1.jsxs)(react_router_shared_1.DigestRoute, { children: [children, error404] }) })) }));
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(react_router_web_shared_1.ReactRouterWebProviders, { basename: basename, router: router, children: (0, jsx_runtime_1.jsx)(ReactWebDigest_1.default, Object.assign({}, rest, { tabIndex: givenTabIndex, children: (0, jsx_runtime_1.jsxs)(react_router_shared_1.DigestRoute, { children: [children, error404] }) })) }));
|
|
33
33
|
};
|
|
34
34
|
ReactRouterWebDigest.displayName = 'ReactRouterWebDigest';
|
|
35
35
|
exports.default = ReactRouterWebDigest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactRouterWebDigest.js","sourceRoot":"","sources":["../src/ReactRouterWebDigest.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAC0B;AAI1B,mEAGmC;AACnC,2EAEuC;AACvC,iCAGe;AAEf,MAAM,oBAAoB,GAAiD,CAAC,
|
|
1
|
+
{"version":3,"file":"ReactRouterWebDigest.js","sourceRoot":"","sources":["../src/ReactRouterWebDigest.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sEAC0B;AAI1B,mEAGmC;AACnC,2EAEuC;AACvC,iCAGe;AAEf,MAAM,oBAAoB,GAAiD,CAAC,EAM3E,EAAE,EAAE;QANuE,EAC1E,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EAAE,aAAa,GAAG,CAAC,OAE5B,EADI,IAAI,cALmE,8CAM3E,CADQ;IAEP,MAAM,UAAU,GAAG,IAAA,eAAO,EACxB,GAAG,EAAE;QACH,OAAO,aAAa,CAAC;IACvB,CAAC,EAED,EAAE,CACH,CAAC;IAEF,MAAM,QAAQ,GAAG,IAAA,eAAO,EACtB,GAAG,EAAE;QACH,OAAO,CACL,uBAAC,0BAAI,IACH,UAAU,EAAE,UAAU,GACtB,CACH,CAAC;IACJ,CAAC,EACD;QACE,UAAU;KACX,CACF,CAAC;IAEF,OAAO,CACL,uBAAC,iDAAuB,IACtB,QAAQ,EAAE,QAAQ,EAClB,MAAM,EAAE,MAAM,YAEd,uBAAC,wBAAc,oBACT,IAAI,IACR,QAAQ,EAAE,aAAa,YAEvB,wBAAC,iCAAW,eACT,QAAQ,EACR,QAAQ,IACG,IACC,GACO,CAC3B,CAAC;AACJ,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,kBAAe,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactWebDigest.js","sourceRoot":"","sources":["../src/ReactWebDigest.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+CAGyB;AACzB,iCAIe;AAEf,MAAM,cAAc,GAA2C,CAAC,EAK/D,EAAE,EAAE;QAL2D,
|
|
1
|
+
{"version":3,"file":"ReactWebDigest.js","sourceRoot":"","sources":["../src/ReactWebDigest.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+CAGyB;AACzB,iCAIe;AAEf,MAAM,cAAc,GAA2C,CAAC,EAK/D,EAAE,EAAE;QAL2D,EAC9D,QAAQ,EACR,WAAW,EAAE,cAAc,EAC3B,QAAQ,EAAE,aAAa,GAAG,CAAC,OAE5B,EADI,IAAI,cAJuD,uCAK/D,CADQ;IAEP,MAAM,QAAQ,GAAG,IAAA,cAAM,GAAgC,CAAC;IAExD,MAAM,eAAe,GAAG,IAAA,mBAAW,EACjC,CACE,QAAgB,EAChB,EAAE;QACF,IAAI,QAAQ,CAAC,OAAO,EAAE,CAAC;YACrB,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,CAAC;QAED,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,CAAC,QAAQ,CAAC,CAAC;QAC3B,CAAC;IACH,CAAC,EACD;QACE,cAAc;KACf,CACF,CAAC;IAEF,OAAO,CACL,uBAAC,0BAAqB,kBACpB,WAAW,EAAE,eAAe,EAC5B,QAAQ,EAAE,aAAa,IACnB,IAAI,cAEP,QAAQ,IACa,CACzB,CAAC;AACJ,CAAC,CAAC;AAEF,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAE9C,kBAAe,cAAc,CAAC"}
|
package/dist/Types.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { type ReactRouterWebDigestDrawer, type ReactRouterWebDigestTab } from '.';
|
|
2
2
|
import { type ReactRouterDigestAppBarProps, type ReactRouterDigestDrawerBarProps, type ReactRouterDigestDrawerProps, type ReactRouterDigestProps, type ReactRouterDigestTabProps } from '@dgui/react-router-shared';
|
|
3
|
+
import { type ReactRouterWebProvidersProps } from '@dgui/react-router-web-shared';
|
|
3
4
|
import { type ReactWebDigestAppBarProps, type ReactWebDigestDrawerBarProps, type ReactWebDigestDrawerProps, type ReactWebDigestProps, type ReactWebDigestTabProps } from '@dgui/react-web';
|
|
4
5
|
import { type ReactElement } from 'react';
|
|
5
|
-
export type ReactRouterWebDigestProps = ReactRouterDigestProps & ReactWebDigestProps & {
|
|
6
|
-
children: Array<ReactElement<typeof ReactRouterWebDigestDrawer>> | Array<ReactElement<typeof ReactRouterWebDigestTab>> | ReactElement<typeof ReactRouterWebDigestDrawer> | ReactElement<typeof ReactRouterWebDigestTab>;
|
|
7
|
-
};
|
|
8
6
|
export type ReactRouterWebDigestAppBarProps = ReactRouterDigestAppBarProps & ReactWebDigestAppBarProps & {};
|
|
9
|
-
export type ReactRouterWebDigestDrawerProps = ReactRouterDigestDrawerProps & ReactWebDigestDrawerProps & {};
|
|
10
7
|
export type ReactRouterWebDigestDrawerBarProps = ReactRouterDigestDrawerBarProps & ReactWebDigestDrawerBarProps & {};
|
|
8
|
+
export type ReactRouterWebDigestDrawerProps = ReactRouterDigestDrawerProps & ReactWebDigestDrawerProps & {};
|
|
9
|
+
export type ReactRouterWebDigestProps = Pick<ReactRouterWebProvidersProps, 'basename'> & ReactRouterDigestProps & ReactWebDigestProps & {
|
|
10
|
+
children: Array<ReactElement<typeof ReactRouterWebDigestDrawer>> | Array<ReactElement<typeof ReactRouterWebDigestTab>> | ReactElement<typeof ReactRouterWebDigestDrawer> | ReactElement<typeof ReactRouterWebDigestTab>;
|
|
11
|
+
};
|
|
11
12
|
export type ReactRouterWebDigestTabProps = ReactRouterDigestTabProps & ReactWebDigestTabProps & {
|
|
12
13
|
tabPath: string;
|
|
13
14
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ export { default as ReactRouterWebDigestDrawer } from './Components/RouterWebDra
|
|
|
3
3
|
export { default as ReactRouterWebDigestDrawerBar } from './Components/RouterWebDrawerBar';
|
|
4
4
|
export { default as ReactRouterWebDigestTab } from './Components/RouterWebTab';
|
|
5
5
|
export { default as ReactRouterWebDigest } from './ReactRouterWebDigest';
|
|
6
|
-
export * from './Types';
|
|
6
|
+
export type * from './Types';
|
|
7
7
|
export * from '@dgui/react-web';
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,5 @@ var RouterWebTab_1 = require("./Components/RouterWebTab");
|
|
|
28
28
|
Object.defineProperty(exports, "ReactRouterWebDigestTab", { enumerable: true, get: function () { return __importDefault(RouterWebTab_1).default; } });
|
|
29
29
|
var ReactRouterWebDigest_1 = require("./ReactRouterWebDigest");
|
|
30
30
|
Object.defineProperty(exports, "ReactRouterWebDigest", { enumerable: true, get: function () { return __importDefault(ReactRouterWebDigest_1).default; } });
|
|
31
|
-
__exportStar(require("./Types"), exports);
|
|
32
31
|
__exportStar(require("@dgui/react-web"), exports);
|
|
33
32
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,gEAEsC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,gEAEsC;AADpC,8IAAA,OAAO,OAA8B;AAEvC,gEAEsC;AADpC,8IAAA,OAAO,OAA8B;AAEvC,sEAEyC;AADvC,oJAAA,OAAO,OAAiC;AAE1C,0DAEmC;AADjC,wIAAA,OAAO,OAA2B;AAEpC,+DAEgC;AAD9B,6IAAA,OAAO,OAAwB;AAGjC,kDAAgC"}
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
2
|
+
"name": "@dgui/react-router-web",
|
|
3
|
+
"title": "Digested React GUI Web Router Components",
|
|
4
|
+
"license": "LGPL-3.0-or-later",
|
|
5
|
+
"version": "1.7.0-beta.2",
|
|
6
|
+
"private": false,
|
|
7
|
+
"description": "Web Router Components for a boilerplate React GUI",
|
|
8
|
+
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
9
|
+
"contributors": [
|
|
10
|
+
{
|
|
11
|
+
"name": "Connor Schlesiger",
|
|
12
|
+
"email": "connor@schlesiger.ca",
|
|
13
|
+
"position": "Initial and Lead Developer"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"main": "dist/index.js",
|
|
17
|
+
"types": "dist/index.d.ts",
|
|
18
|
+
"files": [
|
|
19
|
+
"dist/",
|
|
20
|
+
"COPYING.md",
|
|
21
|
+
"COPYING.LESSER.md"
|
|
22
|
+
],
|
|
23
|
+
"homepage": "https://gitlab.com/digested/dgui/tree/main/packages/react-router-web",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://gitlab.com/digested/dgui.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://gitlab.com/digested/dgui/issues"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "run-s clean:dist build:prod",
|
|
33
|
+
"build:prod": "tsc -p ./tsconfig.json",
|
|
34
|
+
"build:watch": "tsc -p ./tsconfig.json --watch --pretty --preserveWatchOutput",
|
|
35
|
+
"----------------------------------------------------------------": "",
|
|
36
|
+
"build:prod:config": "",
|
|
37
|
+
"---------------------------------------------------------------": "",
|
|
38
|
+
"lint": "run-p lint:es",
|
|
39
|
+
"lint:es": "eslint",
|
|
40
|
+
"clean": "run-s clean:dist clean:node_modules",
|
|
41
|
+
"clean:node_modules": "rimraf node_modules yarn.lock package-lock.json",
|
|
42
|
+
"clean:dist": "rimraf dist"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@digest/eslint-config-jest": "^4.13.0",
|
|
46
|
+
"@digest/eslint-config-react": "^4.13.0",
|
|
47
|
+
"@digest/eslint-config-typescript": "^4.13.0",
|
|
48
|
+
"@digest/jest-junit": "^4.13.0",
|
|
49
|
+
"@digest/jest-react": "^4.13.0",
|
|
50
|
+
"@digest/jest-typescript": "^4.13.0",
|
|
51
|
+
"@digest/typescript": "^4.13.0",
|
|
52
|
+
"@types/jest": "^29.5.14",
|
|
53
|
+
"@types/react": "^18.3.12",
|
|
54
|
+
"@types/react-test-renderer": "^18.3.0",
|
|
55
|
+
"cross-env": "^7.0.3",
|
|
56
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
57
|
+
"jest-environment-jsdom-global": "^4.0.0",
|
|
58
|
+
"npm-run-all": "^4.1.5",
|
|
59
|
+
"react": "^18.3.1",
|
|
60
|
+
"react-dom": "^18.3.1",
|
|
61
|
+
"react-modern-drawer": "^1.4.0",
|
|
62
|
+
"react-router": "^6.28.0",
|
|
63
|
+
"react-router-dom": "^6.28.0",
|
|
64
|
+
"react-test-renderer": "^18.3.1",
|
|
65
|
+
"rimraf": "^6.0.1",
|
|
66
|
+
"swiper": "^11.1.15"
|
|
67
|
+
},
|
|
68
|
+
"dependencies": {
|
|
69
|
+
"@dgui/react-router-shared": "1.7.0-beta.2",
|
|
70
|
+
"@dgui/react-router-web-shared": "1.7.0-beta.2",
|
|
71
|
+
"@dgui/react-web": "1.7.0-beta.2"
|
|
72
|
+
},
|
|
73
|
+
"peerDependencies": {
|
|
74
|
+
"react": "^18.0.0",
|
|
75
|
+
"react-dom": "^18.0.0",
|
|
76
|
+
"react-modern-drawer": "^1.0.0",
|
|
77
|
+
"react-router": "^6.0.0",
|
|
78
|
+
"react-router-dom": "^6.0.0",
|
|
79
|
+
"swiper": "^11.0.0"
|
|
80
|
+
},
|
|
81
|
+
"keywords": [
|
|
82
|
+
"digest",
|
|
83
|
+
"library",
|
|
84
|
+
"react",
|
|
85
|
+
"reactjs",
|
|
86
|
+
"react-dom",
|
|
87
|
+
"react-router",
|
|
88
|
+
"react-router-dom",
|
|
89
|
+
"typescript"
|
|
90
|
+
],
|
|
91
|
+
"gitHead": "bd8b2233f9e018cbcbbdd91641feb649cb3edb6d"
|
|
92
92
|
}
|