@dhis2-ui/table 10.0.0-alpha.6 → 10.0.0-alpha.8
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/build/cjs/data-table/__tests__/data-table-cell.test.js +26 -26
- package/build/cjs/data-table/__tests__/data-table-column-header/filter-handle.test.js +3 -3
- package/build/cjs/data-table/__tests__/data-table-column-header/sorter.test.js +2 -2
- package/build/cjs/data-table/__tests__/data-table-column-header.test.js +18 -18
- package/build/cjs/data-table/__tests__/data-table-row/expand-handle-cell.js +3 -3
- package/build/cjs/data-table/__tests__/data-table-row/expanded-row.test.js +6 -6
- package/build/cjs/data-table/__tests__/data-table-row.test.js +13 -13
- package/build/cjs/data-table/__tests__/data-table.test.js +11 -11
- package/build/cjs/data-table/data-table-cell.js +4 -10
- package/build/cjs/data-table/data-table-column-header/data-table-column-header.js +1 -4
- package/build/cjs/data-table/data-table-row/data-table-row.js +1 -4
- package/build/cjs/data-table/data-table.js +3 -8
- package/build/cjs/data-table/table-elements/__tests__/table-body.test.js +5 -5
- package/build/cjs/data-table/table-elements/__tests__/table-data-cell.test.js +19 -19
- package/build/cjs/data-table/table-elements/__tests__/table-foot.test.js +5 -5
- package/build/cjs/data-table/table-elements/__tests__/table-head.test.js +5 -5
- package/build/cjs/data-table/table-elements/__tests__/table-header-cell-action.test.js +6 -6
- package/build/cjs/data-table/table-elements/__tests__/table-header-cell.test.js +20 -20
- package/build/cjs/data-table/table-elements/__tests__/table-row.test.js +7 -7
- package/build/cjs/data-table/table-elements/__tests__/table-scroll-box.test.js +6 -6
- package/build/cjs/data-table/table-elements/__tests__/table-toolbar.test.js +7 -7
- package/build/cjs/data-table/table-elements/__tests__/table.test.js +8 -8
- package/build/cjs/data-table/table-elements/table-body.js +1 -4
- package/build/cjs/data-table/table-elements/table-data-cell/table-data-cell.js +4 -10
- package/build/cjs/data-table/table-elements/table-foot.js +1 -4
- package/build/cjs/data-table/table-elements/table-head.js +0 -3
- package/build/cjs/data-table/table-elements/table-header-cell/table-header-cell.js +5 -12
- package/build/cjs/data-table/table-elements/table-header-cell-action.js +1 -4
- package/build/cjs/data-table/table-elements/table-row.js +1 -4
- package/build/cjs/data-table/table-elements/table-scroll-box.js +3 -8
- package/build/cjs/data-table/table-elements/table-toolbar.js +2 -6
- package/build/cjs/data-table/table-elements/table.js +3 -8
- package/build/cjs/stacked-table/stacked-table-body.js +1 -4
- package/build/cjs/stacked-table/stacked-table-cell-head.js +2 -6
- package/build/cjs/stacked-table/stacked-table-cell.js +3 -6
- package/build/cjs/stacked-table/stacked-table-foot.js +1 -4
- package/build/cjs/stacked-table/stacked-table-head.js +1 -4
- package/build/cjs/stacked-table/stacked-table-row-head.js +1 -4
- package/build/cjs/stacked-table/stacked-table-row.js +1 -4
- package/build/cjs/stacked-table/stacked-table.js +1 -4
- package/build/cjs/stacked-table/stacked-table.test.js +3 -3
- package/build/cjs/table/table-body.js +1 -4
- package/build/cjs/table/table-cell-head.js +1 -4
- package/build/cjs/table/table-cell.js +1 -4
- package/build/cjs/table/table-foot.js +1 -4
- package/build/cjs/table/table-head.js +1 -4
- package/build/cjs/table/table-row-head.js +1 -4
- package/build/cjs/table/table-row.js +1 -4
- package/build/cjs/table/table.js +1 -4
- package/build/es/data-table/__tests__/data-table-cell.test.js +26 -26
- package/build/es/data-table/__tests__/data-table-column-header/filter-handle.test.js +3 -3
- package/build/es/data-table/__tests__/data-table-column-header/sorter.test.js +2 -2
- package/build/es/data-table/__tests__/data-table-column-header.test.js +18 -18
- package/build/es/data-table/__tests__/data-table-row/expand-handle-cell.js +3 -3
- package/build/es/data-table/__tests__/data-table-row/expanded-row.test.js +6 -6
- package/build/es/data-table/__tests__/data-table-row.test.js +13 -13
- package/build/es/data-table/__tests__/data-table.test.js +11 -11
- package/build/es/data-table/data-table-cell.js +4 -10
- package/build/es/data-table/data-table-column-header/data-table-column-header.js +1 -4
- package/build/es/data-table/data-table-row/data-table-row.js +1 -4
- package/build/es/data-table/data-table.js +3 -8
- package/build/es/data-table/table-elements/__tests__/table-body.test.js +5 -5
- package/build/es/data-table/table-elements/__tests__/table-data-cell.test.js +19 -19
- package/build/es/data-table/table-elements/__tests__/table-foot.test.js +5 -5
- package/build/es/data-table/table-elements/__tests__/table-head.test.js +5 -5
- package/build/es/data-table/table-elements/__tests__/table-header-cell-action.test.js +6 -6
- package/build/es/data-table/table-elements/__tests__/table-header-cell.test.js +20 -20
- package/build/es/data-table/table-elements/__tests__/table-row.test.js +7 -7
- package/build/es/data-table/table-elements/__tests__/table-scroll-box.test.js +6 -6
- package/build/es/data-table/table-elements/__tests__/table-toolbar.test.js +7 -7
- package/build/es/data-table/table-elements/__tests__/table.test.js +8 -8
- package/build/es/data-table/table-elements/table-body.js +1 -4
- package/build/es/data-table/table-elements/table-data-cell/table-data-cell.js +4 -10
- package/build/es/data-table/table-elements/table-foot.js +1 -4
- package/build/es/data-table/table-elements/table-head.js +0 -3
- package/build/es/data-table/table-elements/table-header-cell/table-header-cell.js +5 -12
- package/build/es/data-table/table-elements/table-header-cell-action.js +1 -4
- package/build/es/data-table/table-elements/table-row.js +1 -4
- package/build/es/data-table/table-elements/table-scroll-box.js +3 -8
- package/build/es/data-table/table-elements/table-toolbar.js +2 -6
- package/build/es/data-table/table-elements/table.js +3 -8
- package/build/es/stacked-table/stacked-table-body.js +1 -4
- package/build/es/stacked-table/stacked-table-cell-head.js +2 -6
- package/build/es/stacked-table/stacked-table-cell.js +3 -6
- package/build/es/stacked-table/stacked-table-foot.js +1 -4
- package/build/es/stacked-table/stacked-table-head.js +1 -4
- package/build/es/stacked-table/stacked-table-row-head.js +1 -4
- package/build/es/stacked-table/stacked-table-row.js +1 -4
- package/build/es/stacked-table/stacked-table.js +1 -4
- package/build/es/stacked-table/stacked-table.test.js +3 -3
- package/build/es/table/table-body.js +1 -4
- package/build/es/table/table-cell-head.js +1 -4
- package/build/es/table/table-cell.js +1 -4
- package/build/es/table/table-foot.js +1 -4
- package/build/es/table/table-head.js +1 -4
- package/build/es/table/table-row-head.js +1 -4
- package/build/es/table/table-row.js +1 -4
- package/build/es/table/table.js +1 -4
- package/package.json +7 -7
|
@@ -3,14 +3,15 @@ import { colors } from '@dhis2/ui-constants';
|
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { ContentWithTitle } from './content-with-title.js';
|
|
6
|
+
const defaultHeaderLabels = [];
|
|
6
7
|
export const StackedTableCell = _ref => {
|
|
7
8
|
let {
|
|
8
9
|
children,
|
|
9
10
|
className,
|
|
10
11
|
colSpan,
|
|
11
12
|
column,
|
|
12
|
-
dataTest,
|
|
13
|
-
headerLabels,
|
|
13
|
+
dataTest = 'dhis2-uicore-stackedtablecell',
|
|
14
|
+
headerLabels = defaultHeaderLabels,
|
|
14
15
|
hideTitle,
|
|
15
16
|
rowSpan,
|
|
16
17
|
title
|
|
@@ -39,8 +40,4 @@ StackedTableCell.propTypes = {
|
|
|
39
40
|
hideTitle: PropTypes.bool,
|
|
40
41
|
rowSpan: PropTypes.string,
|
|
41
42
|
title: PropTypes.string
|
|
42
|
-
};
|
|
43
|
-
StackedTableCell.defaultProps = {
|
|
44
|
-
dataTest: 'dhis2-uicore-stackedtablecell',
|
|
45
|
-
headerLabels: []
|
|
46
43
|
};
|
|
@@ -5,7 +5,7 @@ export const StackedTableFoot = _ref => {
|
|
|
5
5
|
let {
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
|
-
dataTest
|
|
8
|
+
dataTest = 'dhis2-uicore-stackedtablefoot'
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement("tfoot", {
|
|
11
11
|
"data-test": dataTest,
|
|
@@ -18,7 +18,4 @@ StackedTableFoot.propTypes = {
|
|
|
18
18
|
children: PropTypes.node,
|
|
19
19
|
className: PropTypes.string,
|
|
20
20
|
dataTest: PropTypes.string
|
|
21
|
-
};
|
|
22
|
-
StackedTableFoot.defaultProps = {
|
|
23
|
-
dataTest: 'dhis2-uicore-stackedtablefoot'
|
|
24
21
|
};
|
|
@@ -5,7 +5,7 @@ export const StackedTableHead = _ref => {
|
|
|
5
5
|
let {
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
|
-
dataTest
|
|
8
|
+
dataTest = 'dhis2-uicore-stackedtablehead'
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement("thead", {
|
|
11
11
|
"data-test": dataTest,
|
|
@@ -18,7 +18,4 @@ StackedTableHead.propTypes = {
|
|
|
18
18
|
children: PropTypes.node,
|
|
19
19
|
className: PropTypes.string,
|
|
20
20
|
dataTest: PropTypes.string
|
|
21
|
-
};
|
|
22
|
-
StackedTableHead.defaultProps = {
|
|
23
|
-
dataTest: 'dhis2-uicore-stackedtablehead'
|
|
24
21
|
};
|
|
@@ -5,7 +5,7 @@ export const StackedTableRowHead = _ref => {
|
|
|
5
5
|
let {
|
|
6
6
|
children,
|
|
7
7
|
className,
|
|
8
|
-
dataTest
|
|
8
|
+
dataTest = 'dhis2-uicore-stackedtablerowhead'
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement(StackedTableRow, {
|
|
11
11
|
className: className,
|
|
@@ -16,7 +16,4 @@ StackedTableRowHead.propTypes = {
|
|
|
16
16
|
children: PropTypes.node,
|
|
17
17
|
className: PropTypes.string,
|
|
18
18
|
dataTest: PropTypes.string
|
|
19
|
-
};
|
|
20
|
-
StackedTableRowHead.defaultProps = {
|
|
21
|
-
dataTest: 'dhis2-uicore-stackedtablerowhead'
|
|
22
19
|
};
|
|
@@ -9,7 +9,7 @@ export const StackedTableRow = _ref => {
|
|
|
9
9
|
let {
|
|
10
10
|
children,
|
|
11
11
|
className,
|
|
12
|
-
dataTest
|
|
12
|
+
dataTest = 'dhis2-uicore-stackedtablerow'
|
|
13
13
|
} = _ref;
|
|
14
14
|
return /*#__PURE__*/React.createElement("tr", {
|
|
15
15
|
"data-test": dataTest,
|
|
@@ -28,7 +28,4 @@ StackedTableRow.propTypes = {
|
|
|
28
28
|
children: PropTypes.node,
|
|
29
29
|
className: PropTypes.string,
|
|
30
30
|
dataTest: PropTypes.string
|
|
31
|
-
};
|
|
32
|
-
StackedTableRow.defaultProps = {
|
|
33
|
-
dataTest: 'dhis2-uicore-stackedtablerow'
|
|
34
31
|
};
|
|
@@ -7,7 +7,7 @@ export const StackedTable = _ref => {
|
|
|
7
7
|
let {
|
|
8
8
|
children,
|
|
9
9
|
className,
|
|
10
|
-
dataTest,
|
|
10
|
+
dataTest = 'dhis2-uicore-stackedtable',
|
|
11
11
|
headerLabels
|
|
12
12
|
} = _ref;
|
|
13
13
|
const contextHeaderLabels = extractHeaderLabels(children);
|
|
@@ -27,7 +27,4 @@ StackedTable.propTypes = {
|
|
|
27
27
|
dataTest: PropTypes.string,
|
|
28
28
|
/** Labels for columns. Use an empty string for a column without a header. */
|
|
29
29
|
headerLabels: PropTypes.arrayOf(PropTypes.string)
|
|
30
|
-
};
|
|
31
|
-
StackedTable.defaultProps = {
|
|
32
|
-
dataTest: 'dhis2-uicore-stackedtable'
|
|
33
30
|
};
|
|
@@ -76,7 +76,7 @@ describe('StackedTable', () => {
|
|
|
76
76
|
label: 'Incomplete'
|
|
77
77
|
}];
|
|
78
78
|
it('should add the headerLabels to each cell', () => {
|
|
79
|
-
const table = mount(
|
|
79
|
+
const table = mount(/*#__PURE__*/React.createElement(Table, {
|
|
80
80
|
headerLabels: headerLabels,
|
|
81
81
|
bodyLabels: bodyLabels
|
|
82
82
|
}));
|
|
@@ -90,7 +90,7 @@ describe('StackedTable', () => {
|
|
|
90
90
|
it('should not add empty header labels to the body cells', () => {
|
|
91
91
|
const emptyLabelIndex = 2;
|
|
92
92
|
const headerLabelsWithEmpty = [...headerLabels.slice(0, emptyLabelIndex), '', ...headerLabels.slice(emptyLabelIndex + 1)];
|
|
93
|
-
const table = mount(
|
|
93
|
+
const table = mount(/*#__PURE__*/React.createElement(Table, {
|
|
94
94
|
headerLabels: headerLabelsWithEmpty,
|
|
95
95
|
bodyLabels: bodyLabels
|
|
96
96
|
}));
|
|
@@ -107,7 +107,7 @@ describe('StackedTable', () => {
|
|
|
107
107
|
...originalHeaderLabel,
|
|
108
108
|
colSpan: `${colSpan}`
|
|
109
109
|
}, ...headerLabels.slice(indexWithColspan + colSpan)];
|
|
110
|
-
const table = mount(
|
|
110
|
+
const table = mount(/*#__PURE__*/React.createElement(Table, {
|
|
111
111
|
headerLabels: headerLabelsWithColspan,
|
|
112
112
|
bodyLabels: bodyLabels
|
|
113
113
|
}));
|
|
@@ -4,7 +4,7 @@ export const TableBody = _ref => {
|
|
|
4
4
|
let {
|
|
5
5
|
children,
|
|
6
6
|
className,
|
|
7
|
-
dataTest,
|
|
7
|
+
dataTest = 'dhis2-uicore-tablebody',
|
|
8
8
|
role
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement("tbody", {
|
|
@@ -13,9 +13,6 @@ export const TableBody = _ref => {
|
|
|
13
13
|
role: role
|
|
14
14
|
}, children);
|
|
15
15
|
};
|
|
16
|
-
TableBody.defaultProps = {
|
|
17
|
-
dataTest: 'dhis2-uicore-tablebody'
|
|
18
|
-
};
|
|
19
16
|
TableBody.propTypes = {
|
|
20
17
|
/** Should be `<TableRow>` components */
|
|
21
18
|
children: PropTypes.node,
|
|
@@ -12,7 +12,7 @@ export const TableCellHead = _ref => {
|
|
|
12
12
|
dense,
|
|
13
13
|
children,
|
|
14
14
|
className,
|
|
15
|
-
dataTest
|
|
15
|
+
dataTest = 'dhis2-uicore-tablecellhead'
|
|
16
16
|
} = _ref;
|
|
17
17
|
return /*#__PURE__*/React.createElement("th", {
|
|
18
18
|
colSpan: colSpan,
|
|
@@ -26,9 +26,6 @@ export const TableCellHead = _ref => {
|
|
|
26
26
|
id: tableCellHeadStyles.__hash
|
|
27
27
|
}, tableCellHeadStyles));
|
|
28
28
|
};
|
|
29
|
-
TableCellHead.defaultProps = {
|
|
30
|
-
dataTest: 'dhis2-uicore-tablecellhead'
|
|
31
|
-
};
|
|
32
29
|
TableCellHead.propTypes = {
|
|
33
30
|
children: PropTypes.node,
|
|
34
31
|
className: PropTypes.string,
|
|
@@ -12,7 +12,7 @@ export const TableCell = _ref => {
|
|
|
12
12
|
colSpan,
|
|
13
13
|
rowSpan,
|
|
14
14
|
dense,
|
|
15
|
-
dataTest
|
|
15
|
+
dataTest = 'dhis2-uicore-tablecell'
|
|
16
16
|
} = _ref;
|
|
17
17
|
return /*#__PURE__*/React.createElement("td", {
|
|
18
18
|
colSpan: colSpan,
|
|
@@ -26,9 +26,6 @@ export const TableCell = _ref => {
|
|
|
26
26
|
id: tableCellStyles.__hash
|
|
27
27
|
}, tableCellStyles));
|
|
28
28
|
};
|
|
29
|
-
TableCell.defaultProps = {
|
|
30
|
-
dataTest: 'dhis2-uicore-tablecell'
|
|
31
|
-
};
|
|
32
29
|
TableCell.propTypes = {
|
|
33
30
|
children: PropTypes.node,
|
|
34
31
|
className: PropTypes.string,
|
|
@@ -4,7 +4,7 @@ export const TableFoot = _ref => {
|
|
|
4
4
|
let {
|
|
5
5
|
children,
|
|
6
6
|
className,
|
|
7
|
-
dataTest,
|
|
7
|
+
dataTest = 'dhis2-uicore-tablefoot',
|
|
8
8
|
role
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement("tfoot", {
|
|
@@ -13,9 +13,6 @@ export const TableFoot = _ref => {
|
|
|
13
13
|
role: role
|
|
14
14
|
}, children);
|
|
15
15
|
};
|
|
16
|
-
TableFoot.defaultProps = {
|
|
17
|
-
dataTest: 'dhis2-uicore-tablefoot'
|
|
18
|
-
};
|
|
19
16
|
TableFoot.propTypes = {
|
|
20
17
|
/** Should be `<TableRow>` components */
|
|
21
18
|
children: PropTypes.node,
|
|
@@ -4,7 +4,7 @@ export const TableHead = _ref => {
|
|
|
4
4
|
let {
|
|
5
5
|
children,
|
|
6
6
|
className,
|
|
7
|
-
dataTest,
|
|
7
|
+
dataTest = 'dhis2-uicore-tablehead',
|
|
8
8
|
role
|
|
9
9
|
} = _ref;
|
|
10
10
|
return /*#__PURE__*/React.createElement("thead", {
|
|
@@ -13,9 +13,6 @@ export const TableHead = _ref => {
|
|
|
13
13
|
role: role
|
|
14
14
|
}, children);
|
|
15
15
|
};
|
|
16
|
-
TableHead.defaultProps = {
|
|
17
|
-
dataTest: 'dhis2-uicore-tablehead'
|
|
18
|
-
};
|
|
19
16
|
TableHead.propTypes = {
|
|
20
17
|
/** Should be `<TableRowHead>` components */
|
|
21
18
|
children: PropTypes.node,
|
|
@@ -6,7 +6,7 @@ export const TableRowHead = _ref => {
|
|
|
6
6
|
role,
|
|
7
7
|
children,
|
|
8
8
|
className,
|
|
9
|
-
dataTest,
|
|
9
|
+
dataTest = 'dhis2-uicore-tablerowhead',
|
|
10
10
|
suppressZebraStriping
|
|
11
11
|
} = _ref;
|
|
12
12
|
return /*#__PURE__*/React.createElement(TableRow, {
|
|
@@ -16,9 +16,6 @@ export const TableRowHead = _ref => {
|
|
|
16
16
|
role: role
|
|
17
17
|
}, children);
|
|
18
18
|
};
|
|
19
|
-
TableRowHead.defaultProps = {
|
|
20
|
-
dataTest: 'dhis2-uicore-tablerowhead'
|
|
21
|
-
};
|
|
22
19
|
TableRowHead.propTypes = {
|
|
23
20
|
/** Should be `<TableCellHead>` components */
|
|
24
21
|
children: PropTypes.node,
|
|
@@ -11,7 +11,7 @@ export const TableRow = _ref => {
|
|
|
11
11
|
role,
|
|
12
12
|
children,
|
|
13
13
|
className,
|
|
14
|
-
dataTest,
|
|
14
|
+
dataTest = 'dhis2-uicore-tablerow',
|
|
15
15
|
suppressZebraStriping,
|
|
16
16
|
...rest
|
|
17
17
|
} = _ref;
|
|
@@ -30,9 +30,6 @@ export const TableRow = _ref => {
|
|
|
30
30
|
id: tableRowStyles.__hash
|
|
31
31
|
}, tableRowStyles));
|
|
32
32
|
};
|
|
33
|
-
TableRow.defaultProps = {
|
|
34
|
-
dataTest: 'dhis2-uicore-tablerow'
|
|
35
|
-
};
|
|
36
33
|
TableRow.propTypes = {
|
|
37
34
|
/** Should be `<TableCell>` or `<TableCellHead>` components */
|
|
38
35
|
children: PropTypes.node,
|
package/build/es/table/table.js
CHANGED
|
@@ -9,7 +9,7 @@ export const Table = _ref => {
|
|
|
9
9
|
role,
|
|
10
10
|
children,
|
|
11
11
|
className,
|
|
12
|
-
dataTest,
|
|
12
|
+
dataTest = 'dhis2-uicore-table',
|
|
13
13
|
suppressZebraStriping
|
|
14
14
|
} = _ref;
|
|
15
15
|
return /*#__PURE__*/React.createElement(Provider, {
|
|
@@ -24,9 +24,6 @@ export const Table = _ref => {
|
|
|
24
24
|
id: tableStyles.__hash
|
|
25
25
|
}, tableStyles)));
|
|
26
26
|
};
|
|
27
|
-
Table.defaultProps = {
|
|
28
|
-
dataTest: 'dhis2-uicore-table'
|
|
29
|
-
};
|
|
30
27
|
Table.propTypes = {
|
|
31
28
|
/** Should be `<TableHead>`, `<TableBody>`, and `<TableFoot>` components */
|
|
32
29
|
children: PropTypes.node,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhis2-ui/table",
|
|
3
|
-
"version": "10.0.0-alpha.
|
|
3
|
+
"version": "10.0.0-alpha.8",
|
|
4
4
|
"description": "UI Table",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@dhis2/d2-i18n": "^1",
|
|
31
|
-
"react": "^16.13",
|
|
32
|
-
"react-dom": "^16.13",
|
|
31
|
+
"react": "^16.13 || ^18",
|
|
32
|
+
"react-dom": "^16.13 || ^18",
|
|
33
33
|
"styled-jsx": "^4"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@dhis2/prop-types": "^3.1.2",
|
|
37
|
-
"@dhis2/ui-constants": "10.0.0-alpha.
|
|
38
|
-
"@dhis2/ui-icons": "10.0.0-alpha.
|
|
37
|
+
"@dhis2/ui-constants": "10.0.0-alpha.8",
|
|
38
|
+
"@dhis2/ui-icons": "10.0.0-alpha.8",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
40
40
|
"prop-types": "^15.7.2"
|
|
41
41
|
},
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
],
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@dhis2/d2-i18n": "^1.1.0",
|
|
48
|
-
"react": "
|
|
49
|
-
"react-dom": "
|
|
48
|
+
"react": "^18.3.1",
|
|
49
|
+
"react-dom": "^18.3.1",
|
|
50
50
|
"styled-jsx": "^4.0.1"
|
|
51
51
|
},
|
|
52
52
|
"types": "types"
|