@sis-cc/dotstatsuite-visions 10.5.1 → 10.5.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/es/ExpansionPanel/ExpansionPanel.js +5 -5
- package/es/ExpansionPanel/styles.js +11 -2
- package/lib/ExpansionPanel/ExpansionPanel.js +5 -5
- package/lib/ExpansionPanel/styles.js +11 -2
- package/package.json +1 -1
- package/umd/@sis-cc/dotstatsuite-visions.js +18 -9
- package/umd/@sis-cc/dotstatsuite-visions.min.js +3 -3
- package/umd/@sis-cc/dotstatsuite-visions.min.js.map +1 -1
|
@@ -14,7 +14,7 @@ import { withBlank } from '../utils';
|
|
|
14
14
|
import Tooltip from '../Tooltip';
|
|
15
15
|
|
|
16
16
|
var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
17
|
-
var _cx, _cx2;
|
|
17
|
+
var _cx, _cx2, _cx3, _cx4, _cx5;
|
|
18
18
|
|
|
19
19
|
var id = _ref.id,
|
|
20
20
|
topElementComponent = _ref.topElementComponent,
|
|
@@ -58,10 +58,10 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
58
58
|
AccordionSummary,
|
|
59
59
|
{
|
|
60
60
|
'data-testid': testId + '_panel',
|
|
61
|
-
className: classes.container,
|
|
61
|
+
className: cx(classes.container, (_cx2 = {}, _cx2[classes.moreFiltersContainer] = moreFilters, _cx2)),
|
|
62
62
|
classes: {
|
|
63
|
-
content: cx(classes.content, classes.ellipsis),
|
|
64
|
-
expandIcon: classes.iconSummaryPanel
|
|
63
|
+
content: cx(classes.content, classes.ellipsis, (_cx3 = {}, _cx3[classes.moreFiltersContent] = moreFilters, _cx3)),
|
|
64
|
+
expandIcon: cx(classes.iconSummaryPanel, (_cx4 = {}, _cx4[classes.moreFiltersExpandIcon] = moreFilters, _cx4))
|
|
65
65
|
},
|
|
66
66
|
expandIcon: React.createElement(ExpandMoreIcon, null),
|
|
67
67
|
'aria-controls': id,
|
|
@@ -110,7 +110,7 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
110
110
|
React.createElement(
|
|
111
111
|
AccordionDetails,
|
|
112
112
|
{
|
|
113
|
-
className: cx(classes.details, (
|
|
113
|
+
className: cx(classes.details, (_cx5 = {}, _cx5[classes.overflow] = overflow, _cx5[classes.height] = maxHeight, _cx5))
|
|
114
114
|
},
|
|
115
115
|
children
|
|
116
116
|
)
|
|
@@ -13,6 +13,9 @@ export var useStyles = makeStyles(function (theme) {
|
|
|
13
13
|
alignItems: 'flex-start',
|
|
14
14
|
padding: theme.spacing(0)
|
|
15
15
|
},
|
|
16
|
+
moreFiltersContainer: {
|
|
17
|
+
alignItems: 'flex-end'
|
|
18
|
+
},
|
|
16
19
|
ellipsis: {
|
|
17
20
|
whiteSpace: 'nowrap',
|
|
18
21
|
overflow: 'hidden',
|
|
@@ -24,6 +27,9 @@ export var useStyles = makeStyles(function (theme) {
|
|
|
24
27
|
alignContent: 'space-between',
|
|
25
28
|
margin: theme.spacing(0.5, 0) + ' !important'
|
|
26
29
|
},
|
|
30
|
+
moreFiltersContent: {
|
|
31
|
+
margin: theme.spacing(0, 0) + ' !important'
|
|
32
|
+
},
|
|
27
33
|
details: {
|
|
28
34
|
display: 'flex',
|
|
29
35
|
padding: theme.spacing(0),
|
|
@@ -58,6 +64,9 @@ export var useStyles = makeStyles(function (theme) {
|
|
|
58
64
|
padding: theme.spacing(0.5, 0.5),
|
|
59
65
|
margin: theme.spacing(0, 1, 0, 0)
|
|
60
66
|
},
|
|
67
|
+
moreFiltersExpandIcon: {
|
|
68
|
+
padding: theme.spacing(0, 0.5)
|
|
69
|
+
},
|
|
61
70
|
fullWidth: {
|
|
62
71
|
width: '100%'
|
|
63
72
|
},
|
|
@@ -73,8 +82,8 @@ export var useStyles = makeStyles(function (theme) {
|
|
|
73
82
|
title: {
|
|
74
83
|
padding: 0,
|
|
75
84
|
fontFamily: 'Roboto Slab, serif',
|
|
76
|
-
fontSize:
|
|
77
|
-
color: '
|
|
85
|
+
fontSize: 17,
|
|
86
|
+
color: theme.palette.grey['A700']
|
|
78
87
|
}
|
|
79
88
|
};
|
|
80
89
|
});
|
|
@@ -59,7 +59,7 @@ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj;
|
|
|
59
59
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
60
60
|
|
|
61
61
|
var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
62
|
-
var _cx, _cx2;
|
|
62
|
+
var _cx, _cx2, _cx3, _cx4, _cx5;
|
|
63
63
|
|
|
64
64
|
var id = _ref.id,
|
|
65
65
|
topElementComponent = _ref.topElementComponent,
|
|
@@ -103,10 +103,10 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
103
103
|
_AccordionSummary2.default,
|
|
104
104
|
{
|
|
105
105
|
'data-testid': testId + '_panel',
|
|
106
|
-
className: classes.container,
|
|
106
|
+
className: (0, _classnames2.default)(classes.container, (_cx2 = {}, _cx2[classes.moreFiltersContainer] = moreFilters, _cx2)),
|
|
107
107
|
classes: {
|
|
108
|
-
content: (0, _classnames2.default)(classes.content, classes.ellipsis),
|
|
109
|
-
expandIcon: classes.iconSummaryPanel
|
|
108
|
+
content: (0, _classnames2.default)(classes.content, classes.ellipsis, (_cx3 = {}, _cx3[classes.moreFiltersContent] = moreFilters, _cx3)),
|
|
109
|
+
expandIcon: (0, _classnames2.default)(classes.iconSummaryPanel, (_cx4 = {}, _cx4[classes.moreFiltersExpandIcon] = moreFilters, _cx4))
|
|
110
110
|
},
|
|
111
111
|
expandIcon: _react2.default.createElement(_ExpandMore2.default, null),
|
|
112
112
|
'aria-controls': id,
|
|
@@ -155,7 +155,7 @@ var CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
155
155
|
_react2.default.createElement(
|
|
156
156
|
_AccordionDetails2.default,
|
|
157
157
|
{
|
|
158
|
-
className: (0, _classnames2.default)(classes.details, (
|
|
158
|
+
className: (0, _classnames2.default)(classes.details, (_cx5 = {}, _cx5[classes.overflow] = overflow, _cx5[classes.height] = maxHeight, _cx5))
|
|
159
159
|
},
|
|
160
160
|
children
|
|
161
161
|
)
|
|
@@ -23,6 +23,9 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
23
23
|
alignItems: 'flex-start',
|
|
24
24
|
padding: theme.spacing(0)
|
|
25
25
|
},
|
|
26
|
+
moreFiltersContainer: {
|
|
27
|
+
alignItems: 'flex-end'
|
|
28
|
+
},
|
|
26
29
|
ellipsis: {
|
|
27
30
|
whiteSpace: 'nowrap',
|
|
28
31
|
overflow: 'hidden',
|
|
@@ -34,6 +37,9 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
34
37
|
alignContent: 'space-between',
|
|
35
38
|
margin: theme.spacing(0.5, 0) + ' !important'
|
|
36
39
|
},
|
|
40
|
+
moreFiltersContent: {
|
|
41
|
+
margin: theme.spacing(0, 0) + ' !important'
|
|
42
|
+
},
|
|
37
43
|
details: {
|
|
38
44
|
display: 'flex',
|
|
39
45
|
padding: theme.spacing(0),
|
|
@@ -68,6 +74,9 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
68
74
|
padding: theme.spacing(0.5, 0.5),
|
|
69
75
|
margin: theme.spacing(0, 1, 0, 0)
|
|
70
76
|
},
|
|
77
|
+
moreFiltersExpandIcon: {
|
|
78
|
+
padding: theme.spacing(0, 0.5)
|
|
79
|
+
},
|
|
71
80
|
fullWidth: {
|
|
72
81
|
width: '100%'
|
|
73
82
|
},
|
|
@@ -83,8 +92,8 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
83
92
|
title: {
|
|
84
93
|
padding: 0,
|
|
85
94
|
fontFamily: 'Roboto Slab, serif',
|
|
86
|
-
fontSize:
|
|
87
|
-
color: '
|
|
95
|
+
fontSize: 17,
|
|
96
|
+
color: theme.palette.grey['A700']
|
|
88
97
|
}
|
|
89
98
|
};
|
|
90
99
|
});
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @sis-cc/dotstatsuite-visions v10.5.
|
|
2
|
+
* @sis-cc/dotstatsuite-visions v10.5.2 - https://visions-qa.siscc.org/#o
|
|
3
3
|
* MIT Licensed
|
|
4
4
|
*/
|
|
5
5
|
(function webpackUniversalModuleDefinition(root, factory) {
|
|
@@ -6699,7 +6699,7 @@ function removeClassName(el
|
|
|
6699
6699
|
/* 121 */
|
|
6700
6700
|
/***/ (function(module) {
|
|
6701
6701
|
|
|
6702
|
-
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.5.
|
|
6702
|
+
module.exports = {"name":"@sis-cc/dotstatsuite-visions","version":"10.5.2","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"}};
|
|
6703
6703
|
|
|
6704
6704
|
/***/ }),
|
|
6705
6705
|
/* 122 */
|
|
@@ -48327,6 +48327,9 @@ var styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
48327
48327
|
alignItems: 'flex-start',
|
|
48328
48328
|
padding: theme.spacing(0)
|
|
48329
48329
|
},
|
|
48330
|
+
moreFiltersContainer: {
|
|
48331
|
+
alignItems: 'flex-end'
|
|
48332
|
+
},
|
|
48330
48333
|
ellipsis: {
|
|
48331
48334
|
whiteSpace: 'nowrap',
|
|
48332
48335
|
overflow: 'hidden',
|
|
@@ -48338,6 +48341,9 @@ var styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
48338
48341
|
alignContent: 'space-between',
|
|
48339
48342
|
margin: theme.spacing(0.5, 0) + ' !important'
|
|
48340
48343
|
},
|
|
48344
|
+
moreFiltersContent: {
|
|
48345
|
+
margin: theme.spacing(0, 0) + ' !important'
|
|
48346
|
+
},
|
|
48341
48347
|
details: {
|
|
48342
48348
|
display: 'flex',
|
|
48343
48349
|
padding: theme.spacing(0),
|
|
@@ -48372,6 +48378,9 @@ var styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
48372
48378
|
padding: theme.spacing(0.5, 0.5),
|
|
48373
48379
|
margin: theme.spacing(0, 1, 0, 0)
|
|
48374
48380
|
},
|
|
48381
|
+
moreFiltersExpandIcon: {
|
|
48382
|
+
padding: theme.spacing(0, 0.5)
|
|
48383
|
+
},
|
|
48375
48384
|
fullWidth: {
|
|
48376
48385
|
width: '100%'
|
|
48377
48386
|
},
|
|
@@ -48387,8 +48396,8 @@ var styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
48387
48396
|
title: {
|
|
48388
48397
|
padding: 0,
|
|
48389
48398
|
fontFamily: 'Roboto Slab, serif',
|
|
48390
|
-
fontSize:
|
|
48391
|
-
color: '
|
|
48399
|
+
fontSize: 17,
|
|
48400
|
+
color: theme.palette.grey['A700']
|
|
48392
48401
|
}
|
|
48393
48402
|
};
|
|
48394
48403
|
});
|
|
@@ -48409,7 +48418,7 @@ var styles_useStyles = styles_makeStyles(function (theme) {
|
|
|
48409
48418
|
|
|
48410
48419
|
|
|
48411
48420
|
var ExpansionPanel_CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
48412
|
-
var _cx, _cx2;
|
|
48421
|
+
var _cx, _cx2, _cx3, _cx4, _cx5;
|
|
48413
48422
|
|
|
48414
48423
|
var id = _ref.id,
|
|
48415
48424
|
topElementComponent = _ref.topElementComponent,
|
|
@@ -48453,10 +48462,10 @@ var ExpansionPanel_CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
48453
48462
|
esm_AccordionSummary_AccordionSummary,
|
|
48454
48463
|
{
|
|
48455
48464
|
'data-testid': testId + '_panel',
|
|
48456
|
-
className: classes.container,
|
|
48465
|
+
className: classnames_default()(classes.container, (_cx2 = {}, _cx2[classes.moreFiltersContainer] = moreFilters, _cx2)),
|
|
48457
48466
|
classes: {
|
|
48458
|
-
content: classnames_default()(classes.content, classes.ellipsis),
|
|
48459
|
-
expandIcon: classes.iconSummaryPanel
|
|
48467
|
+
content: classnames_default()(classes.content, classes.ellipsis, (_cx3 = {}, _cx3[classes.moreFiltersContent] = moreFilters, _cx3)),
|
|
48468
|
+
expandIcon: classnames_default()(classes.iconSummaryPanel, (_cx4 = {}, _cx4[classes.moreFiltersExpandIcon] = moreFilters, _cx4))
|
|
48460
48469
|
},
|
|
48461
48470
|
expandIcon: react_default.a.createElement(ExpandMore_default.a, null),
|
|
48462
48471
|
'aria-controls': id,
|
|
@@ -48505,7 +48514,7 @@ var ExpansionPanel_CustomExpansionPanel = function CustomExpansionPanel(_ref) {
|
|
|
48505
48514
|
react_default.a.createElement(
|
|
48506
48515
|
esm_AccordionDetails_AccordionDetails,
|
|
48507
48516
|
{
|
|
48508
|
-
className: classnames_default()(classes.details, (
|
|
48517
|
+
className: classnames_default()(classes.details, (_cx5 = {}, _cx5[classes.overflow] = overflow, _cx5[classes.height] = maxHeight, _cx5))
|
|
48509
48518
|
},
|
|
48510
48519
|
children
|
|
48511
48520
|
)
|