@spark-web/data-table 5.1.0 → 5.1.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @spark-web/data-table
|
|
2
2
|
|
|
3
|
+
## 5.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#737](https://github.com/brighte-labs/spark-web/pull/737)
|
|
8
|
+
[`43060b0`](https://github.com/brighte-labs/spark-web/commit/43060b0d1b9a97dbaff145c327d2426b0240bb1f)
|
|
9
|
+
Thanks [@jacobporci-brighte](https://github.com/jacobporci-brighte)! - added
|
|
10
|
+
spacing between sort icon and column header + added default sorting value
|
|
11
|
+
|
|
3
12
|
## 5.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -91,7 +91,10 @@ function DataTable(_ref) {
|
|
|
91
91
|
fontWeight: theme$1.typography.fontWeight.semibold,
|
|
92
92
|
textAlign: 'left',
|
|
93
93
|
textTransform: 'uppercase',
|
|
94
|
-
width: "".concat(header.getSize(), "px")
|
|
94
|
+
width: "".concat(header.getSize(), "px"),
|
|
95
|
+
svg: {
|
|
96
|
+
marginLeft: theme$1.spacing.xsmall
|
|
97
|
+
}
|
|
95
98
|
}),
|
|
96
99
|
onClick: header.column.getToggleSortingHandler(),
|
|
97
100
|
children: [header.isPlaceholder ? null : reactTable.flexRender(header.column.columnDef.header, header.getContext()), (_asc$desc = {
|
|
@@ -91,7 +91,10 @@ function DataTable(_ref) {
|
|
|
91
91
|
fontWeight: theme$1.typography.fontWeight.semibold,
|
|
92
92
|
textAlign: 'left',
|
|
93
93
|
textTransform: 'uppercase',
|
|
94
|
-
width: "".concat(header.getSize(), "px")
|
|
94
|
+
width: "".concat(header.getSize(), "px"),
|
|
95
|
+
svg: {
|
|
96
|
+
marginLeft: theme$1.spacing.xsmall
|
|
97
|
+
}
|
|
95
98
|
}),
|
|
96
99
|
onClick: header.column.getToggleSortingHandler(),
|
|
97
100
|
children: [header.isPlaceholder ? null : reactTable.flexRender(header.column.columnDef.header, header.getContext()), (_asc$desc = {
|
|
@@ -84,7 +84,10 @@ function DataTable(_ref) {
|
|
|
84
84
|
fontWeight: theme.typography.fontWeight.semibold,
|
|
85
85
|
textAlign: 'left',
|
|
86
86
|
textTransform: 'uppercase',
|
|
87
|
-
width: "".concat(header.getSize(), "px")
|
|
87
|
+
width: "".concat(header.getSize(), "px"),
|
|
88
|
+
svg: {
|
|
89
|
+
marginLeft: theme.spacing.xsmall
|
|
90
|
+
}
|
|
88
91
|
}),
|
|
89
92
|
onClick: header.column.getToggleSortingHandler(),
|
|
90
93
|
children: [header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext()), (_asc$desc = {
|