@desynova-digital/components 8.17.8 → 8.17.10
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/atoms/icon/icons.json +7 -0
- package/molecules/table/table.js +24 -1
- package/package.json +2 -2
package/atoms/icon/icons.json
CHANGED
|
@@ -1398,6 +1398,13 @@
|
|
|
1398
1398
|
],
|
|
1399
1399
|
"width": 7,
|
|
1400
1400
|
"height": 6
|
|
1401
|
+
},
|
|
1402
|
+
"download-icon": {
|
|
1403
|
+
"paths": [
|
|
1404
|
+
"M12 6L10.9425 4.9425L6.75 9.1275V0H5.25V9.1275L1.065 4.935L0 6L6 12L12 6Z"
|
|
1405
|
+
],
|
|
1406
|
+
"width": 12,
|
|
1407
|
+
"height": 12
|
|
1401
1408
|
}
|
|
1402
1409
|
}
|
|
1403
1410
|
}
|
package/molecules/table/table.js
CHANGED
|
@@ -870,7 +870,8 @@ var Table = function (_Component) {
|
|
|
870
870
|
isRefreshActivated = _props.isRefreshActivated,
|
|
871
871
|
isRefreshDotVisible = _props.isRefreshDotVisible,
|
|
872
872
|
showSearchBox = _props.showSearchBox,
|
|
873
|
-
pageDropdown = _props.pageDropdown
|
|
873
|
+
pageDropdown = _props.pageDropdown,
|
|
874
|
+
getTableData = _props.getTableData;
|
|
874
875
|
var _state = this.state,
|
|
875
876
|
nestedTable = _state.nestedTable,
|
|
876
877
|
searchedText = _state.searchedText;
|
|
@@ -1102,6 +1103,28 @@ var Table = function (_Component) {
|
|
|
1102
1103
|
handleUserIdFilterChange: this.props.handleUserIdFilterChange,
|
|
1103
1104
|
userIdsList: this.props.userIdsList
|
|
1104
1105
|
}) : null,
|
|
1106
|
+
_react2.default.createElement(
|
|
1107
|
+
"div",
|
|
1108
|
+
{ className: "refresh-section" },
|
|
1109
|
+
_react2.default.createElement(
|
|
1110
|
+
"div",
|
|
1111
|
+
{
|
|
1112
|
+
className: "" + (isRefreshActivated ? 'refresh-btn active' : 'refresh-btn'),
|
|
1113
|
+
onClick: function onClick() {
|
|
1114
|
+
return getTableData({ page: 1 }, false, true);
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
_react2.default.createElement(_button2.default, {
|
|
1118
|
+
display: "rounded",
|
|
1119
|
+
appearance: "cta",
|
|
1120
|
+
icon: "download-icon",
|
|
1121
|
+
width: 16,
|
|
1122
|
+
height: 16,
|
|
1123
|
+
iconWidth: 12,
|
|
1124
|
+
iconHeight: 12
|
|
1125
|
+
})
|
|
1126
|
+
)
|
|
1127
|
+
),
|
|
1105
1128
|
false && _react2.default.createElement(
|
|
1106
1129
|
"div",
|
|
1107
1130
|
{ className: "column-show-holder" },
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desynova-digital/components",
|
|
3
|
-
"version": "8.17.
|
|
3
|
+
"version": "8.17.10",
|
|
4
4
|
"description": "Components for Desynova Digital",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "desynova-digital",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": "desynova-digital",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@desynova-digital/tokens": "8.17.
|
|
10
|
+
"@desynova-digital/tokens": "8.17.10",
|
|
11
11
|
"prop-types": "^15.7.2",
|
|
12
12
|
"styled-components": "^4.3.2"
|
|
13
13
|
},
|