@natoora-libs/drawer-menu 0.1.32 → 0.1.33-dev-doug-1
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/index.cjs +3 -3
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +27 -28
package/dist/index.cjs
CHANGED
|
@@ -27,8 +27,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
29
|
// src/index.ts
|
|
30
|
-
var
|
|
31
|
-
__export(
|
|
30
|
+
var index_exports = {};
|
|
31
|
+
__export(index_exports, {
|
|
32
32
|
LeftDrawer: () => LeftDrawer,
|
|
33
33
|
PinnedItems: () => PinnedItems,
|
|
34
34
|
featureNames: () => featureNames,
|
|
@@ -37,7 +37,7 @@ __export(src_exports, {
|
|
|
37
37
|
uiFeaturesAreEnabled: () => uiFeaturesAreEnabled,
|
|
38
38
|
useGetDrawerAppList: () => useGetDrawerAppList
|
|
39
39
|
});
|
|
40
|
-
module.exports = __toCommonJS(
|
|
40
|
+
module.exports = __toCommonJS(index_exports);
|
|
41
41
|
|
|
42
42
|
// src/components/LeftDrawer/LeftDrawer.tsx
|
|
43
43
|
var import_react2 = require("react");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
|
|
4
4
|
interface LeftDrawerProps {
|
|
@@ -17,13 +17,13 @@ interface LeftDrawerProps {
|
|
|
17
17
|
onLogout: () => void;
|
|
18
18
|
onTogglePinnedApp: (name: string, new_value: boolean) => void;
|
|
19
19
|
}
|
|
20
|
-
declare const LeftDrawer: ({ enabledFeatures, pinnedApps, open, user, reloadOnNavigate, handleClose, handleOpen, onLogout, onTogglePinnedApp, }: LeftDrawerProps) =>
|
|
20
|
+
declare const LeftDrawer: ({ enabledFeatures, pinnedApps, open, user, reloadOnNavigate, handleClose, handleOpen, onLogout, onTogglePinnedApp, }: LeftDrawerProps) => react.JSX.Element;
|
|
21
21
|
|
|
22
22
|
type PinnedItemsProps = {
|
|
23
23
|
enabledFeatures: string[];
|
|
24
24
|
pinnedApps: Record<string, boolean>;
|
|
25
25
|
};
|
|
26
|
-
declare const PinnedItems: ({ enabledFeatures, pinnedApps, }: PinnedItemsProps) =>
|
|
26
|
+
declare const PinnedItems: ({ enabledFeatures, pinnedApps, }: PinnedItemsProps) => react.JSX.Element;
|
|
27
27
|
|
|
28
28
|
interface DrawerAppChild {
|
|
29
29
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { ReactElement } from 'react';
|
|
3
3
|
|
|
4
4
|
interface LeftDrawerProps {
|
|
@@ -17,13 +17,13 @@ interface LeftDrawerProps {
|
|
|
17
17
|
onLogout: () => void;
|
|
18
18
|
onTogglePinnedApp: (name: string, new_value: boolean) => void;
|
|
19
19
|
}
|
|
20
|
-
declare const LeftDrawer: ({ enabledFeatures, pinnedApps, open, user, reloadOnNavigate, handleClose, handleOpen, onLogout, onTogglePinnedApp, }: LeftDrawerProps) =>
|
|
20
|
+
declare const LeftDrawer: ({ enabledFeatures, pinnedApps, open, user, reloadOnNavigate, handleClose, handleOpen, onLogout, onTogglePinnedApp, }: LeftDrawerProps) => react.JSX.Element;
|
|
21
21
|
|
|
22
22
|
type PinnedItemsProps = {
|
|
23
23
|
enabledFeatures: string[];
|
|
24
24
|
pinnedApps: Record<string, boolean>;
|
|
25
25
|
};
|
|
26
|
-
declare const PinnedItems: ({ enabledFeatures, pinnedApps, }: PinnedItemsProps) =>
|
|
26
|
+
declare const PinnedItems: ({ enabledFeatures, pinnedApps, }: PinnedItemsProps) => react.JSX.Element;
|
|
27
27
|
|
|
28
28
|
interface DrawerAppChild {
|
|
29
29
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@natoora-libs/drawer-menu",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.33-dev-doug-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"dev": "yalc publish && tsup --watch --onSuccess 'yalc push --changed'",
|
|
21
21
|
"build": "tsup",
|
|
22
|
-
"fix:all": "pnpm
|
|
22
|
+
"fix:all": "sh -c 'pnpm format && pnpm lint:fix; if [ $? -eq 0 ]; then echo \"No errors/warnings found\"; fi' && sh -c 'pnpm tsc --noEmit; if [ $? -eq 0 ]; then echo \"No TS errors found\"; fi'",
|
|
23
23
|
"format": "prettier --config ./.prettierrc.cjs --write \"./src/**/*.{js,ts,tsx}\"",
|
|
24
24
|
"lint": "eslint --config ./eslint.config.js \"./src/**/*.{js,ts,tsx}\"",
|
|
25
25
|
"lint:fix": "pnpm run lint --fix",
|
|
@@ -29,39 +29,38 @@
|
|
|
29
29
|
"test:coverage": "jest --coverage --coverageReporters=text-summary --maxWorkers=25% --logHeapUsage"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@natoora-libs/core": "0.2.
|
|
33
|
-
"tss-react": "^4.9.
|
|
32
|
+
"@natoora-libs/core": "0.2.70-dev-doug-2",
|
|
33
|
+
"tss-react": "^4.9.21"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@emotion/react": "^11.14.0",
|
|
37
|
-
"@emotion/styled": "^11.14.
|
|
38
|
-
"@mui/icons-material": "^7.3.
|
|
39
|
-
"@mui/material": "^7.3.
|
|
40
|
-
"@mui/x-data-grid": "^8.
|
|
41
|
-
"@mui/x-date-pickers": "^8.
|
|
42
|
-
"@testing-library/jest-dom": "^6.
|
|
37
|
+
"@emotion/styled": "^11.14.1",
|
|
38
|
+
"@mui/icons-material": "^7.3.11",
|
|
39
|
+
"@mui/material": "^7.3.11",
|
|
40
|
+
"@mui/x-data-grid": "^8.28.6",
|
|
41
|
+
"@mui/x-date-pickers": "^8.28.5",
|
|
42
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
43
43
|
"@testing-library/react": "16.3.0",
|
|
44
|
-
"@testing-library/user-event": "^14.
|
|
44
|
+
"@testing-library/user-event": "^14.6.1",
|
|
45
45
|
"@types/jest": "^30.0.0",
|
|
46
|
-
"@types/node": "^25.0
|
|
47
|
-
"@types/react": "^19.2.
|
|
48
|
-
"@types/react-dom": "^19.
|
|
49
|
-
"
|
|
50
|
-
"babel-jest": "^30.0.4",
|
|
46
|
+
"@types/node": "^25.9.0",
|
|
47
|
+
"@types/react": "^19.2.14",
|
|
48
|
+
"@types/react-dom": "^19.2.3",
|
|
49
|
+
"babel-jest": "^30.4.1",
|
|
51
50
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
52
|
-
"jest": "^30.
|
|
53
|
-
"jest-environment-jsdom": "^30.
|
|
54
|
-
"mdi-material-ui": "^7.9.
|
|
51
|
+
"jest": "^30.4.2",
|
|
52
|
+
"jest-environment-jsdom": "^30.4.1",
|
|
53
|
+
"mdi-material-ui": "^7.9.4",
|
|
55
54
|
"react": "19.2.6",
|
|
56
55
|
"react-dom": "19.2.6",
|
|
57
|
-
"react-hook-form": "^7.
|
|
58
|
-
"react-query": "^3.
|
|
59
|
-
"react-router": "^7.
|
|
60
|
-
"ts-jest": "^29.4.
|
|
61
|
-
"ts-loader": "^9.5.
|
|
62
|
-
"tsup": "8.
|
|
63
|
-
"typescript": "^5.
|
|
64
|
-
"yalc": "
|
|
56
|
+
"react-hook-form": "^7.75.0",
|
|
57
|
+
"react-query": "^3.39.3",
|
|
58
|
+
"react-router": "^7.18.2",
|
|
59
|
+
"ts-jest": "^29.4.9",
|
|
60
|
+
"ts-loader": "^9.5.7",
|
|
61
|
+
"tsup": "8.5.1",
|
|
62
|
+
"typescript": "^5.9.3",
|
|
63
|
+
"yalc": "1.0.0-pre.53"
|
|
65
64
|
},
|
|
66
65
|
"peerDependencies": {
|
|
67
66
|
"@emotion/react": "^11.14.0",
|
|
@@ -75,6 +74,6 @@
|
|
|
75
74
|
"react-dom": "19.2.6",
|
|
76
75
|
"react-hook-form": "^7.71.1",
|
|
77
76
|
"react-query": "^3.19.6",
|
|
78
|
-
"react-router": "^7.
|
|
77
|
+
"react-router": "^7.18.2"
|
|
79
78
|
}
|
|
80
79
|
}
|