@sis-cc/dotstatsuite-visions 10.21.0 → 10.21.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/es/CollapseButtons/Item.js +1 -1
- package/es/CollapseButtons/Paper.js +6 -2
- package/lib/CollapseButtons/Item.js +1 -1
- package/lib/CollapseButtons/Paper.js +6 -2
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +9 -5
- package/umd/@sis-cc/dotstatsuite-visions.min.js +3 -3
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
|
@@ -16,12 +16,16 @@ var useStyles = makeStyles(function (theme) {
|
|
|
16
16
|
display: 'flex',
|
|
17
17
|
flexDirection: 'column',
|
|
18
18
|
columnCount: 'unset'
|
|
19
|
+
},
|
|
20
|
+
view: {
|
|
21
|
+
columnCount: 3,
|
|
22
|
+
columnFill: 'balance'
|
|
19
23
|
}
|
|
20
24
|
};
|
|
21
25
|
});
|
|
22
26
|
|
|
23
27
|
var CustomPaper = function CustomPaper(_ref) {
|
|
24
|
-
var _cx;
|
|
28
|
+
var _cx, _cx2;
|
|
25
29
|
|
|
26
30
|
var isMobileView = _ref.isMobileView,
|
|
27
31
|
children = _ref.children;
|
|
@@ -36,7 +40,7 @@ var CustomPaper = function CustomPaper(_ref) {
|
|
|
36
40
|
},
|
|
37
41
|
React.createElement(
|
|
38
42
|
Grid,
|
|
39
|
-
{
|
|
43
|
+
{ className: cx(classes.view, (_cx2 = {}, _cx2[classes.mobileView] = isMobileView, _cx2)) },
|
|
40
44
|
children
|
|
41
45
|
)
|
|
42
46
|
);
|
|
@@ -37,12 +37,16 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
37
37
|
display: 'flex',
|
|
38
38
|
flexDirection: 'column',
|
|
39
39
|
columnCount: 'unset'
|
|
40
|
+
},
|
|
41
|
+
view: {
|
|
42
|
+
columnCount: 3,
|
|
43
|
+
columnFill: 'balance'
|
|
40
44
|
}
|
|
41
45
|
};
|
|
42
46
|
});
|
|
43
47
|
|
|
44
48
|
var CustomPaper = function CustomPaper(_ref) {
|
|
45
|
-
var _cx;
|
|
49
|
+
var _cx, _cx2;
|
|
46
50
|
|
|
47
51
|
var isMobileView = _ref.isMobileView,
|
|
48
52
|
children = _ref.children;
|
|
@@ -57,7 +61,7 @@ var CustomPaper = function CustomPaper(_ref) {
|
|
|
57
61
|
},
|
|
58
62
|
_react2.default.createElement(
|
|
59
63
|
_Grid2.default,
|
|
60
|
-
{
|
|
64
|
+
{ className: (0, _classnames2.default)(classes.view, (_cx2 = {}, _cx2[classes.mobileView] = isMobileView, _cx2)) },
|
|
61
65
|
children
|
|
62
66
|
)
|
|
63
67
|
);
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v10.21.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v10.21.1 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -6697,7 +6697,7 @@ function removeClassName(el
|
|
|
6697
6697
|
/* 119 */
|
|
6698
6698
|
/***/ (function(module) {
|
|
6699
6699
|
|
|
6700
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.21.
|
|
6700
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.21.1","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":">=14"},"files":["css","es","lib","umd"],"scripts":{"build":"nwb build-react-component --copy-files --no-demo && node scripts/doc && nwb build-demo","build:dev":"nwb build-react-component --copy-files --no-demo","clean":"nwb clean-module && nwb clean-demo","prepublishOnly":"npm run build","start":"nwb serve-react-demo","test":"jest","test:watch":"jest --watch --no-cache","lint":"eslint src/ --color","precommit":"lint-staged"},"dependencies":{"@react-hook/size":"^2.1.1","classnames":"^2.2.6","date-fns":"^1.30.1","isemail":"^3.2.0","numeral":"^2.0.6","prop-types":"^15.7.2","ramda":"^0.27.0","react-beautiful-dnd":"^13.0.0","react-draggable":"^4.4.5","react-error-boundary":"^4.0.10","react-virtualized":"^9.21.2"},"peerDependencies":{"@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"^8.x","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","@material-ui/core":"^4","@material-ui/icons":"^4","@sis-cc/dotstatsuite-sdmxjs":"*","@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","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","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":"^18","react-a11y":"^1.1.0","react-dom":"^18","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-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"}};
|
|
6701
6701
|
|
|
6702
6702
|
/***/ }),
|
|
6703
6703
|
/* 120 */
|
|
@@ -43072,7 +43072,7 @@ var Item_Item = function Item(_ref) {
|
|
|
43072
43072
|
|
|
43073
43073
|
return react_default.a.createElement(
|
|
43074
43074
|
esm_Grid_Grid,
|
|
43075
|
-
{
|
|
43075
|
+
{ className: classes.paperItem },
|
|
43076
43076
|
react_default.a.createElement(
|
|
43077
43077
|
esm_Button_Button,
|
|
43078
43078
|
{
|
|
@@ -43159,12 +43159,16 @@ var Paper_useStyles = styles_makeStyles(function (theme) {
|
|
|
43159
43159
|
display: 'flex',
|
|
43160
43160
|
flexDirection: 'column',
|
|
43161
43161
|
columnCount: 'unset'
|
|
43162
|
+
},
|
|
43163
|
+
view: {
|
|
43164
|
+
columnCount: 3,
|
|
43165
|
+
columnFill: 'balance'
|
|
43162
43166
|
}
|
|
43163
43167
|
};
|
|
43164
43168
|
});
|
|
43165
43169
|
|
|
43166
43170
|
var Paper_CustomPaper = function CustomPaper(_ref) {
|
|
43167
|
-
var _cx;
|
|
43171
|
+
var _cx, _cx2;
|
|
43168
43172
|
|
|
43169
43173
|
var isMobileView = _ref.isMobileView,
|
|
43170
43174
|
children = _ref.children;
|
|
@@ -43179,7 +43183,7 @@ var Paper_CustomPaper = function CustomPaper(_ref) {
|
|
|
43179
43183
|
},
|
|
43180
43184
|
react_default.a.createElement(
|
|
43181
43185
|
esm_Grid_Grid,
|
|
43182
|
-
{
|
|
43186
|
+
{ className: classnames_default()(classes.view, (_cx2 = {}, _cx2[classes.mobileView] = isMobileView, _cx2)) },
|
|
43183
43187
|
children
|
|
43184
43188
|
)
|
|
43185
43189
|
);
|