@sis-cc/dotstatsuite-visions 12.45.0 → 12.46.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/es/Logo/Logo.js
CHANGED
|
@@ -26,7 +26,9 @@ var Logo = function Logo(_ref) {
|
|
|
26
26
|
alt = _ref$alt === undefined ? 'logo' : _ref$alt,
|
|
27
27
|
_ref$maxHeight = _ref.maxHeight,
|
|
28
28
|
maxHeight = _ref$maxHeight === undefined ? 150 : _ref$maxHeight,
|
|
29
|
-
children = _ref.children
|
|
29
|
+
children = _ref.children,
|
|
30
|
+
_ref$fetchPriority = _ref.fetchPriority,
|
|
31
|
+
fetchPriority = _ref$fetchPriority === undefined ? 'auto' : _ref$fetchPriority;
|
|
30
32
|
|
|
31
33
|
var classes = useStyles();
|
|
32
34
|
return React.createElement(
|
|
@@ -36,7 +38,8 @@ var Logo = function Logo(_ref) {
|
|
|
36
38
|
className: cx(classes.logo, classes.alternativeBrowserLogo),
|
|
37
39
|
style: { maxHeight: maxHeight },
|
|
38
40
|
src: logo,
|
|
39
|
-
alt: alt
|
|
41
|
+
alt: alt,
|
|
42
|
+
fetchPriority: fetchPriority
|
|
40
43
|
}),
|
|
41
44
|
children
|
|
42
45
|
);
|
package/lib/Logo/Logo.js
CHANGED
|
@@ -43,7 +43,9 @@ var Logo = function Logo(_ref) {
|
|
|
43
43
|
alt = _ref$alt === undefined ? 'logo' : _ref$alt,
|
|
44
44
|
_ref$maxHeight = _ref.maxHeight,
|
|
45
45
|
maxHeight = _ref$maxHeight === undefined ? 150 : _ref$maxHeight,
|
|
46
|
-
children = _ref.children
|
|
46
|
+
children = _ref.children,
|
|
47
|
+
_ref$fetchPriority = _ref.fetchPriority,
|
|
48
|
+
fetchPriority = _ref$fetchPriority === undefined ? 'auto' : _ref$fetchPriority;
|
|
47
49
|
|
|
48
50
|
var classes = useStyles();
|
|
49
51
|
return _react2.default.createElement(
|
|
@@ -53,7 +55,8 @@ var Logo = function Logo(_ref) {
|
|
|
53
55
|
className: (0, _classnames2.default)(classes.logo, classes.alternativeBrowserLogo),
|
|
54
56
|
style: { maxHeight: maxHeight },
|
|
55
57
|
src: logo,
|
|
56
|
-
alt: alt
|
|
58
|
+
alt: alt,
|
|
59
|
+
fetchPriority: fetchPriority
|
|
57
60
|
}),
|
|
58
61
|
children
|
|
59
62
|
);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v12.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v12.46.0 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -8865,7 +8865,7 @@ if (true) {
|
|
|
8865
8865
|
/* 158 */
|
|
8866
8866
|
/***/ (function(module) {
|
|
8867
8867
|
|
|
8868
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"12.
|
|
8868
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"12.46.0","description":"Library of visual components","author":"OECD","homepage":"https://visions-qa.siscc.org/#o","license":"MIT","repository":"https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-visions","main":"lib/index.js","module":"es/index.js","engines":{"node":">=18"},"files":["css","es","lib","umd"],"scripts":{"peers":"install-peers --force-run","build":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-react-component --copy-files --no-demo && node scripts/doc && cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-demo","build:dev":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb build-react-component --copy-files --no-demo","clean":"nwb clean-module && nwb clean-demo","prepublishOnly":"npm run build","start":"cross-env NODE_OPTIONS=--openssl-legacy-provider nwb serve-react-demo","test":"jest","test:watch":"jest --watch --no-cache","lint":"eslint src/ --color","precommit":"lint-staged","transform":"npx jscodeshift -t scripts/transform-mui-imports.js demo/"},"dependencies":{"@hello-pangea/dnd":"^16.6.0","@react-hook/size":"^2.1.1","classnames":"^2.2.6","diacritics":"^1.3.0","isemail":"^3.2.0","prop-types":"^15.7.2","ramda":"^0.27.0","react-draggable":"4.4.5","react-error-boundary":"^4.0.10","react-virtualized":"^9.21.2"},"peerDependencies":{"@emotion/react":"^11","@emotion/styled":"^11","@mui/icons-material":"^5","@mui/material":"^5","@mui/styles":"^5","date-fns":"^1.30.1","numeral":"^2.0.6","react":"^18","react-dom":"^18"},"devDependencies":{"@babel/eslint-parser":"^7.5.4","@babel/plugin-syntax-dynamic-import":"^7.2.0","@cfaester/enzyme-adapter-react-18":"^0.7.0","@testing-library/jest-dom":"^5.16.5","@testing-library/react":"^14.0.0","babel-jest":"^24.8.0","babel-preset-react-app":"^9.0.0","cross-env":"^7.0.3","dox":"^0.9.0","eslint":"^8.39.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jsx-a11y":"^6.7.1","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","husky":"^2.7.0","identity-obj-proxy":"^3.0.0","install-peers-cli":"^2.2.0","jest":"^24.8.0","jss":"^10.10.0","jss-rtl":"^0.2.3","lint-staged":"^8.2.1","mutationobserver-shim":"^0.3.7","nwb":"0.23.0","prettier":"^2.8.8","pretty-quick":"^3.1.3","react-a11y":"^1.1.0","react-helmet":"^5.2.1","react-scrollable-anchor":"^0.6.1","react-syntax-highlighter":"^10.2.1","sanitize-html":"2.7.0","webpack":"^5.68.0","webpack-cli":"^4.9.2","webpack-dev-server":"^4.7.4"},"jest":{"verbose":true,"coverageDirectory":"coverage","collectCoverageFrom":["src/**/*.{js,jsx,ts,tsx}","!src/ScopeList/*.{js,jsx,ts,tsx}","!src/**/*.d.ts"],"setupFilesAfterEnv":["<rootDir>/tests/setup.js"],"testMatch":["**/tests/**/*.{spec,test}.{js,jsx,ts,tsx}","!**/tests/ScopeList.test.js"],"testEnvironment":"jsdom","transform":{"^.+\\.(js|jsx|ts|tsx)$":"<rootDir>/node_modules/babel-jest"},"transformIgnorePatterns":["[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$","^.+\\.module\\.(css|sass|scss)$"],"modulePaths":[],"moduleNameMapper":{"^react-native$":"react-native-web","^.+\\.module\\.(css|sass|scss)$":"identity-obj-proxy","\\.(jpg|jpeg|png)$":"identity-obj-proxy"},"moduleFileExtensions":["web.js","js","web.ts","ts","web.tsx","tsx","json","web.jsx","jsx","node"]},"babel":{"presets":["react-app"],"plugins":["@babel/plugin-syntax-dynamic-import"]},"eslintConfig":{"env":{"browser":true,"jest":true,"node":true,"es6":true},"extends":["eslint:recommended","plugin:react/recommended","plugin:jsx-a11y/recommended"],"parser":"@babel/eslint-parser","parserOptions":{"babelOptions":{"presets":[["babel-preset-react-app",false],"babel-preset-react-app/test"]},"ecmaFeatures":{"experimentalObjectRestSpread":true,"jsx":true},"sourceType":"module"},"plugins":["prettier","react","import","react-hooks","jsx-a11y"],"rules":{"no-console":"warn","no-unused-vars":"error","react/display-name":"off","react/prop-types":"off","react-hooks/rules-of-hooks":"error","react-hooks/exhaustive-deps":"warn","no-use-before-define":"error"}},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"husky":{"hooks":{"pre-commit":"lint-staged"}},"lint-staged":{"src/**/*.{js,css}":["prettier --write","git add","yarn lint"]},"prettier":{"endOfLine":"lf","useTabs":false,"printWidth":100,"tabWidth":2,"singleQuote":true,"trailingComma":"all","bracketSameLine":false,"bracketSpacing":true,"parser":"babel","semi":true,"arrowParens":"avoid"}};
|
|
8869
8869
|
|
|
8870
8870
|
/***/ }),
|
|
8871
8871
|
/* 159 */
|
|
@@ -63812,7 +63812,9 @@ var Logo_Logo = function Logo(_ref) {
|
|
|
63812
63812
|
alt = _ref$alt === undefined ? 'logo' : _ref$alt,
|
|
63813
63813
|
_ref$maxHeight = _ref.maxHeight,
|
|
63814
63814
|
maxHeight = _ref$maxHeight === undefined ? 150 : _ref$maxHeight,
|
|
63815
|
-
children = _ref.children
|
|
63815
|
+
children = _ref.children,
|
|
63816
|
+
_ref$fetchPriority = _ref.fetchPriority,
|
|
63817
|
+
fetchPriority = _ref$fetchPriority === undefined ? 'auto' : _ref$fetchPriority;
|
|
63816
63818
|
|
|
63817
63819
|
var classes = Logo_useStyles();
|
|
63818
63820
|
return react_default.a.createElement(
|
|
@@ -63822,7 +63824,8 @@ var Logo_Logo = function Logo(_ref) {
|
|
|
63822
63824
|
className: classnames_default()(classes.logo, classes.alternativeBrowserLogo),
|
|
63823
63825
|
style: { maxHeight: maxHeight },
|
|
63824
63826
|
src: logo,
|
|
63825
|
-
alt: alt
|
|
63827
|
+
alt: alt,
|
|
63828
|
+
fetchPriority: fetchPriority
|
|
63826
63829
|
}),
|
|
63827
63830
|
children
|
|
63828
63831
|
);
|