@urbanos/react-discovery-ui 2.1.45 → 2.1.47
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/README.md
CHANGED
|
@@ -116,3 +116,9 @@ export default class App extends Component {
|
|
|
116
116
|
```
|
|
117
117
|
|
|
118
118
|
# Trigger a build
|
|
119
|
+
|
|
120
|
+
The primary way to promote react-discovery-ui code to a production environment is to produce an npmjs release (i.e. publish it to npmjs). Previously (before 2026)
|
|
121
|
+
this was triggered by creating a GitHub Release, which ran a GitHub Actions workflow. Currently in 2026 this is being done by publishing from the local environment
|
|
122
|
+
with npmjs credentials. See the publish target in the Makefile for details.
|
|
123
|
+
|
|
124
|
+
In the future we should re-enable the previous GitHub Actions flow by generating a new npm access token and storing it as the npm_token secret in the GitHub repository settings.
|
|
@@ -68,9 +68,13 @@ var DataTable = function DataTable(_ref) {
|
|
|
68
68
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
69
69
|
style: {
|
|
70
70
|
height: '400px',
|
|
71
|
-
|
|
71
|
+
overflow: 'auto'
|
|
72
72
|
}
|
|
73
|
-
}, /*#__PURE__*/_react.default.createElement("table",
|
|
73
|
+
}, /*#__PURE__*/_react.default.createElement("table", {
|
|
74
|
+
style: {
|
|
75
|
+
minWidth: "".concat(columns.length * 120, "px")
|
|
76
|
+
}
|
|
77
|
+
}, /*#__PURE__*/_react.default.createElement("thead", null, table.getHeaderGroups().map(function (headerGroup) {
|
|
74
78
|
return /*#__PURE__*/_react.default.createElement("tr", {
|
|
75
79
|
key: headerGroup.id
|
|
76
80
|
}, headerGroup.headers.map(function (header) {
|
|
@@ -30,6 +30,19 @@
|
|
|
30
30
|
#data-view-table {
|
|
31
31
|
color: $almost-black;
|
|
32
32
|
|
|
33
|
+
table {
|
|
34
|
+
table-layout: fixed;
|
|
35
|
+
width: 100%;
|
|
36
|
+
border-collapse: collapse;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
th, td {
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
text-overflow: ellipsis;
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
padding: 7px 5px;
|
|
44
|
+
}
|
|
45
|
+
|
|
33
46
|
.table-header {
|
|
34
47
|
background-color: $header-grey;
|
|
35
48
|
text-align: left;
|