cozy-bar 32.0.0 → 33.0.0
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 +9 -60
- package/dist/components/AppsMenu/AppsMenuContent.js +34 -14
- package/dist/components/AppsMenu/components/AppItem.js +26 -9
- package/dist/components/AppsMenu/components/AppItemPlaceholder.js +9 -2
- package/dist/components/AppsMenu/components/EntrypointItem.js +25 -7
- package/dist/components/AppsMenu/components/ShortcutItem.js +26 -8
- package/dist/components/AppsMenu/helper.js +15 -8
- package/dist/components/AppsMenu/index.js +40 -16
- package/dist/components/Banner.js +22 -9
- package/dist/components/Bar.js +83 -39
- package/dist/components/Bar.spec.jsx +9 -9
- package/dist/components/BarCenter.js +4 -0
- package/dist/components/BarComponent.js +69 -49
- package/dist/components/BarLeft.js +4 -0
- package/dist/components/BarProvider.js +38 -25
- package/dist/components/BarRight.js +4 -0
- package/dist/components/BarRoutes.js +10 -3
- package/dist/components/BarSearch.js +4 -0
- package/dist/components/UserMenu/UserMenuContent.js +54 -22
- package/dist/components/UserMenu/components/AvatarMyself.js +10 -3
- package/dist/components/UserMenu/helpers.js +50 -28
- package/dist/components/UserMenu/index.js +41 -16
- package/dist/components/helpers.js +13 -4
- package/dist/components/useI18n.js +12 -3
- package/dist/components/utils/ButtonCozyHome.js +17 -5
- package/dist/components/utils/ButtonCozyHome.spec.jsx +5 -3
- package/dist/components/utils/HelpLink.js +17 -6
- package/dist/components/utils/IconCozyHome.js +12 -3
- package/dist/components/utils/SearchButton.js +17 -4
- package/dist/dom.js +32 -11
- package/dist/index.js +9 -11
- package/dist/index.spec.jsx +3 -3
- package/dist/lib/logger.js +10 -2
- package/dist/proptypes/index.js +7 -2
- package/dist/queries.js +11 -4
- package/dist/styles/navigation_item.css +1 -1
- package/dist/styles/user-menu.styl +2 -2
- package/dist/stylesheet.css +1 -1
- package/package.json +22 -40
- package/CHANGELOG.md +0 -493
- package/dist/components/BarTheme.js +0 -23
- package/dist/locales/de.json +0 -45
- package/dist/locales/it.json +0 -45
- package/dist/locales/ja.json +0 -45
- package/dist/locales/nl_NL.json +0 -45
- package/dist/locales/pl.json +0 -45
- package/dist/locales/sq.json +0 -45
- package/dist/locales/zh_CN.json +0 -45
|
@@ -1,21 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = void 0;
|
|
9
|
+
|
|
8
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
9
12
|
var _reactRouterDom = require("react-router-dom");
|
|
13
|
+
|
|
10
14
|
var _Icon = _interopRequireDefault(require("cozy-ui/transpiled/react/Icon"));
|
|
15
|
+
|
|
11
16
|
var _IconButton = _interopRequireDefault(require("cozy-ui/transpiled/react/IconButton"));
|
|
17
|
+
|
|
12
18
|
var _Magnifier = _interopRequireDefault(require("cozy-ui/transpiled/react/Icons/Magnifier"));
|
|
13
|
-
|
|
14
|
-
function
|
|
19
|
+
|
|
20
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
21
|
+
|
|
22
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
23
|
+
|
|
15
24
|
var SearchButton = function SearchButton() {
|
|
16
25
|
var navigate = (0, _reactRouterDom.useNavigate)();
|
|
26
|
+
|
|
17
27
|
var _useLocation = (0, _reactRouterDom.useLocation)(),
|
|
18
|
-
|
|
28
|
+
pathname = _useLocation.pathname;
|
|
29
|
+
|
|
19
30
|
var goToSearch = (0, _react.useCallback)(function () {
|
|
20
31
|
navigate("/search?returnPath=".concat(pathname));
|
|
21
32
|
}, [navigate, pathname]);
|
|
@@ -25,4 +36,6 @@ var SearchButton = function SearchButton() {
|
|
|
25
36
|
icon: _Magnifier.default
|
|
26
37
|
}));
|
|
27
38
|
};
|
|
28
|
-
|
|
39
|
+
|
|
40
|
+
var _default = SearchButton;
|
|
41
|
+
exports.default = _default;
|
package/dist/dom.js
CHANGED
|
@@ -4,14 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getUserActionRequired = exports.getDefaultIcon = exports.getAppSlug = exports.getAppNamePrefix = exports.getAppName = exports.APP_SELECTOR = void 0;
|
|
7
|
-
var APP_SELECTOR =
|
|
7
|
+
var APP_SELECTOR = '[role=application]'; // return an empty object by default to avoid checking existance
|
|
8
|
+
|
|
9
|
+
exports.APP_SELECTOR = APP_SELECTOR;
|
|
8
10
|
|
|
9
|
-
// return an empty object by default to avoid checking existance
|
|
10
11
|
var getAppNodeDataSet = function getAppNodeDataSet() {
|
|
11
12
|
var appNode = document.querySelector(APP_SELECTOR);
|
|
12
13
|
if (!appNode || !appNode.dataset) return {};
|
|
13
14
|
return appNode.dataset;
|
|
14
15
|
};
|
|
16
|
+
|
|
15
17
|
var getCozyData = function getCozyData() {
|
|
16
18
|
var dataset = getAppNodeDataSet();
|
|
17
19
|
if (!dataset.cozy) return {
|
|
@@ -19,9 +21,11 @@ var getCozyData = function getCozyData() {
|
|
|
19
21
|
};
|
|
20
22
|
return JSON.parse(dataset.cozy);
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
|
|
25
|
+
var getDefaultIcon = function getDefaultIcon() {
|
|
23
26
|
var cozy = getCozyData();
|
|
24
27
|
var dataset = getAppNodeDataSet();
|
|
28
|
+
|
|
25
29
|
if (cozy.app.icon) {
|
|
26
30
|
return cozy.app.icon;
|
|
27
31
|
} else if (dataset.cozyIconPath) {
|
|
@@ -30,29 +34,43 @@ var getDefaultIcon = exports.getDefaultIcon = function getDefaultIcon() {
|
|
|
30
34
|
return 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7';
|
|
31
35
|
}
|
|
32
36
|
};
|
|
33
|
-
|
|
37
|
+
|
|
38
|
+
exports.getDefaultIcon = getDefaultIcon;
|
|
39
|
+
|
|
40
|
+
var getAppName = function getAppName() {
|
|
34
41
|
var cozy = getCozyData();
|
|
35
42
|
var dataset = getAppNodeDataSet();
|
|
36
43
|
return cozy.app.name || dataset.cozyAppName || null;
|
|
37
44
|
};
|
|
38
|
-
|
|
45
|
+
|
|
46
|
+
exports.getAppName = getAppName;
|
|
47
|
+
|
|
48
|
+
var getAppNamePrefix = function getAppNamePrefix() {
|
|
39
49
|
var cozy = getCozyData();
|
|
40
50
|
var dataset = getAppNodeDataSet();
|
|
41
51
|
return cozy.app.prefix || dataset.cozyAppNamePrefix || null;
|
|
42
52
|
};
|
|
43
|
-
|
|
53
|
+
|
|
54
|
+
exports.getAppNamePrefix = getAppNamePrefix;
|
|
55
|
+
|
|
56
|
+
var getAppSlug = function getAppSlug() {
|
|
44
57
|
var cozy = getCozyData();
|
|
45
58
|
var dataset = getAppNodeDataSet();
|
|
46
59
|
return cozy.app.slug || dataset.cozyAppSlug || null;
|
|
47
60
|
};
|
|
48
|
-
|
|
61
|
+
|
|
62
|
+
exports.getAppSlug = getAppSlug;
|
|
63
|
+
|
|
64
|
+
var getUserActionRequired = function getUserActionRequired() {
|
|
49
65
|
var meta = document.querySelector('meta[name=user-action-required]');
|
|
50
66
|
var data = meta && meta.dataset;
|
|
67
|
+
|
|
51
68
|
if (data) {
|
|
52
69
|
var title = data.title,
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
70
|
+
code = data.code,
|
|
71
|
+
detail = data.detail,
|
|
72
|
+
links = data.links;
|
|
73
|
+
|
|
56
74
|
if (code) {
|
|
57
75
|
// we suppose that at least code will always exist
|
|
58
76
|
return {
|
|
@@ -63,5 +81,8 @@ var getUserActionRequired = exports.getUserActionRequired = function getUserActi
|
|
|
63
81
|
};
|
|
64
82
|
}
|
|
65
83
|
}
|
|
84
|
+
|
|
66
85
|
return undefined;
|
|
67
|
-
};
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
exports.getUserActionRequired = getUserActionRequired;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
@@ -46,22 +47,19 @@ Object.defineProperty(exports, "BarSearch", {
|
|
|
46
47
|
return _BarSearch.BarSearch;
|
|
47
48
|
}
|
|
48
49
|
});
|
|
49
|
-
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function get() {
|
|
52
|
-
return _BarTheme.BarTheme;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
exports.version = void 0;
|
|
50
|
+
|
|
56
51
|
require("cozy-search/dist/stylesheet.css");
|
|
52
|
+
|
|
57
53
|
var _BarComponent = require("./components/BarComponent");
|
|
54
|
+
|
|
58
55
|
var _BarLeft = require("./components/BarLeft");
|
|
56
|
+
|
|
59
57
|
var _BarRight = require("./components/BarRight");
|
|
58
|
+
|
|
60
59
|
var _BarCenter = require("./components/BarCenter");
|
|
61
|
-
|
|
60
|
+
|
|
62
61
|
var _BarSearch = require("./components/BarSearch");
|
|
62
|
+
|
|
63
63
|
var _BarRoutes = require("./components/BarRoutes");
|
|
64
|
-
var _BarProvider = _interopRequireDefault(require("./components/BarProvider"));
|
|
65
|
-
/* global __VERSION__ */
|
|
66
64
|
|
|
67
|
-
var
|
|
65
|
+
var _BarProvider = _interopRequireDefault(require("./components/BarProvider"));
|
package/dist/index.spec.jsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
1
|
import { render, screen } from '@testing-library/react'
|
|
2
|
+
import React from 'react'
|
|
3
3
|
|
|
4
4
|
import { BarComponent, BarProvider, BarLeft } from './index'
|
|
5
5
|
import { BarLike } from '../test/lib/BarLike'
|
|
6
6
|
|
|
7
7
|
jest.mock('cozy-client', () => ({
|
|
8
|
-
...
|
|
8
|
+
...jest.requireActual('cozy-client'),
|
|
9
9
|
useQuery: jest.fn().mockReturnValue({ data: [], fetchStatus: 'loaded' }),
|
|
10
10
|
RealTimeQueries: () => null,
|
|
11
11
|
useInstanceInfo: jest.fn().mockReturnValue({
|
|
@@ -16,7 +16,7 @@ jest.mock('cozy-client', () => ({
|
|
|
16
16
|
})
|
|
17
17
|
}))
|
|
18
18
|
|
|
19
|
-
describe('The bar library', function() {
|
|
19
|
+
describe('The bar library', function () {
|
|
20
20
|
beforeEach(() => {
|
|
21
21
|
// Set up our document body
|
|
22
22
|
document.body.innerHTML =
|
package/dist/lib/logger.js
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.default = void 0;
|
|
8
|
-
|
|
9
|
+
|
|
9
10
|
var _minilog2 = _interopRequireDefault(require("@cozy/minilog"));
|
|
11
|
+
|
|
10
12
|
var _lodash = _interopRequireDefault(require("lodash.set"));
|
|
13
|
+
|
|
14
|
+
var _cozyFlags = _interopRequireDefault(require("cozy-flags"));
|
|
15
|
+
|
|
11
16
|
(0, _lodash.default)(window, "cozy.debug.flagship", function () {
|
|
12
17
|
return (0, _cozyFlags.default)('flagship.debug', true);
|
|
13
18
|
});
|
|
14
19
|
var minilog = window.minilog || _minilog2.default;
|
|
15
20
|
var logger = minilog('cozy-bar');
|
|
21
|
+
|
|
16
22
|
if (!(0, _cozyFlags.default)('bar.debug')) {
|
|
17
23
|
minilog.suggest.deny('cozy-bar', 'info');
|
|
18
24
|
}
|
|
19
|
-
|
|
25
|
+
|
|
26
|
+
var _default = logger;
|
|
27
|
+
exports.default = _default;
|
package/dist/proptypes/index.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
exports.appShape = void 0;
|
|
9
|
+
|
|
8
10
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
9
|
-
|
|
11
|
+
|
|
12
|
+
var appShape = _propTypes.default.shape({
|
|
10
13
|
slug: _propTypes.default.string.isRequired,
|
|
11
14
|
name: _propTypes.default.string.isRequired,
|
|
12
15
|
namePrefix: _propTypes.default.string,
|
|
@@ -15,4 +18,6 @@ var appShape = exports.appShape = _propTypes.default.shape({
|
|
|
15
18
|
links: _propTypes.default.shape({
|
|
16
19
|
icon: _propTypes.default.string.isRequired
|
|
17
20
|
})
|
|
18
|
-
});
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
exports.appShape = appShape;
|
package/dist/queries.js
CHANGED
|
@@ -4,11 +4,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.buildAppsQuery = void 0;
|
|
7
|
+
|
|
7
8
|
var _cozyClient = _interopRequireWildcard(require("cozy-client"));
|
|
8
|
-
|
|
9
|
-
function
|
|
9
|
+
|
|
10
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
+
|
|
12
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
+
|
|
10
14
|
var defaultFetchPolicy = _cozyClient.default.fetchPolicies.olderThan(60 * 60 * 1000);
|
|
11
|
-
|
|
15
|
+
|
|
16
|
+
var buildAppsQuery = function buildAppsQuery() {
|
|
12
17
|
return {
|
|
13
18
|
definition: function definition() {
|
|
14
19
|
return (0, _cozyClient.Q)('io.cozy.apps');
|
|
@@ -18,4 +23,6 @@ var buildAppsQuery = exports.buildAppsQuery = function buildAppsQuery() {
|
|
|
18
23
|
fetchPolicy: defaultFetchPolicy
|
|
19
24
|
}
|
|
20
25
|
};
|
|
21
|
-
};
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
exports.buildAppsQuery = buildAppsQuery;
|
package/dist/stylesheet.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cozy-bar",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.0",
|
|
4
4
|
"description": "cozy-bar.js library, a small lib provided by cozy-stack to inject the Cozy-bar component into each app",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Cozy Cloud <contact@cozycloud.cc> (https://cozy.io/)",
|
|
@@ -9,46 +9,31 @@
|
|
|
9
9
|
],
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/cozy/cozy-
|
|
12
|
+
"url": "https://github.com/cozy/cozy-libs.git",
|
|
13
|
+
"directory": "packages/cozy-bar"
|
|
13
14
|
},
|
|
14
|
-
"homepage": "https://github.com/cozy/cozy-bar",
|
|
15
|
+
"homepage": "https://github.com/cozy/cozy-libs/packages/cozy-bar",
|
|
15
16
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/cozy/cozy-
|
|
17
|
+
"url": "https://github.com/cozy/cozy-libs/issues"
|
|
17
18
|
},
|
|
18
19
|
"license": "MIT",
|
|
19
20
|
"scripts": {
|
|
20
|
-
"build": "
|
|
21
|
+
"build": "yarn build:clean && babel --extensions .js,.jsx --ignore '**/*.spec.jsx','**/*.spec.js' ./src -d ./dist --copy-files",
|
|
22
|
+
"build:clean": "rm -rf ./dist",
|
|
23
|
+
"build:watch": "yarn build --watch",
|
|
21
24
|
"prepublishOnly": "yarn build",
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"lint
|
|
26
|
-
"prebuild": "npm-run-all clean",
|
|
27
|
-
"prewatch": "npm-run-all clean",
|
|
28
|
-
"tx": "tx pull --all || true",
|
|
29
|
-
"test": "jest",
|
|
30
|
-
"start": "yarn build --watch"
|
|
25
|
+
"test": "jest --config=./jest.config.js",
|
|
26
|
+
"test:watch": "yarn test --watchAll",
|
|
27
|
+
"start": "yarn build:watch",
|
|
28
|
+
"lint": "cd ../.. && yarn eslint --ext js,jsx,ts packages/cozy-bar"
|
|
31
29
|
},
|
|
32
30
|
"devDependencies": {
|
|
33
|
-
"@babel/cli": "7.
|
|
34
|
-
"@babel/
|
|
35
|
-
"@babel/helper-builder-react-jsx": "^7.27.1",
|
|
36
|
-
"@babel/helper-builder-react-jsx-experimental": "^7.12.11",
|
|
37
|
-
"@babel/helper-define-map": "^7.18.6",
|
|
38
|
-
"@babel/helper-hoist-variables": "^7.24.7",
|
|
39
|
-
"@babel/helper-regex": "^7.10.5",
|
|
40
|
-
"@babel/polyfill": "^7.10.4",
|
|
31
|
+
"@babel/cli": "7.16.8",
|
|
32
|
+
"@babel/core": "7.16.12",
|
|
41
33
|
"@cozy/minilog": "^1.0.0",
|
|
42
|
-
"@testing-library/jest-dom": "
|
|
43
|
-
"@testing-library/react": "
|
|
44
|
-
"babel-
|
|
45
|
-
"babel-loader": "^8.1.0",
|
|
46
|
-
"babel-plugin-css-modules-transform": "^1.6.2",
|
|
47
|
-
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
48
|
-
"babel-plugin-inline-json-import": "^0.3.2",
|
|
49
|
-
"babel-plugin-module-resolver": "^4.0.0",
|
|
50
|
-
"babel-plugin-transform-define": "^2.0.0",
|
|
51
|
-
"babel-preset-cozy-app": "^2.8.1",
|
|
34
|
+
"@testing-library/jest-dom": "5.17.0",
|
|
35
|
+
"@testing-library/react": "12.1.5",
|
|
36
|
+
"babel-preset-cozy-app": "^2.8.4",
|
|
52
37
|
"cozy-client": "^60.21.0",
|
|
53
38
|
"cozy-dataproxy-lib": "^4.1.0",
|
|
54
39
|
"cozy-device-helper": "2.6.0",
|
|
@@ -59,20 +44,16 @@
|
|
|
59
44
|
"cozy-search": "^0.24.0",
|
|
60
45
|
"cozy-ui": "^138.1.0",
|
|
61
46
|
"cozy-ui-plus": "^6.0.0",
|
|
62
|
-
"eslint-config-cozy-app": "2.0.0",
|
|
63
47
|
"identity-obj-proxy": "3.0.0",
|
|
64
|
-
"jest": "
|
|
65
|
-
"npm-run-all": "4.1.5",
|
|
48
|
+
"jest": "30.3.0",
|
|
66
49
|
"react": "18.0.0",
|
|
67
50
|
"react-dom": "18.0.0",
|
|
68
51
|
"react-router-dom": "6.14.2",
|
|
69
|
-
"
|
|
70
|
-
"stylint": "^2.0.0",
|
|
71
|
-
"stylus": "0.57.0",
|
|
72
|
-
"stylus-config-cozy-app": "^0.1.0",
|
|
52
|
+
"stylus": "^0.64.0",
|
|
73
53
|
"twake-i18n": "^0.3.0"
|
|
74
54
|
},
|
|
75
55
|
"dependencies": {
|
|
56
|
+
"classnames": "^2.5.1",
|
|
76
57
|
"lodash.set": "^4.3.2",
|
|
77
58
|
"prop-types": "15.7.2"
|
|
78
59
|
},
|
|
@@ -91,5 +72,6 @@
|
|
|
91
72
|
"react-dom": "^16 || ^17 || ^18",
|
|
92
73
|
"react-router-dom": ">=6.14.2",
|
|
93
74
|
"twake-i18n": ">=0.3.0"
|
|
94
|
-
}
|
|
75
|
+
},
|
|
76
|
+
"gitHead": "0b2044b5f5c315d85ff78297cc893539555b330f"
|
|
95
77
|
}
|