@geotab/zenith 1.20.0-beta.2 → 1.20.0-beta.3

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.
@@ -47,7 +47,7 @@ const SortableHeaderCell = ({ columnName, isSortedBy, sortDirection, title, tool
47
47
  sortDirection === columnSortDirection_1.ColumnSortDirection.Ascending
48
48
  ? "zen-sortable-column-button--dir-asc"
49
49
  : "zen-sortable-column-button--dir-desc"
50
- ]), title: iconTitle, "aria-label": iconTitle, onMouseDown: () => {
50
+ ]), title: iconTitle, "aria-label": iconTitle, onClick: () => {
51
51
  onSortChange({
52
52
  sortColumn: columnName,
53
53
  sortDirection: sortDirection === columnSortDirection_1.ColumnSortDirection.Ascending
@@ -80,6 +80,6 @@ const SortableHeaderCell = ({ columnName, isSortedBy, sortDirection, title, tool
80
80
  sortDirection === interfaces_1.ColumnSortDirection.Ascending
81
81
  ? "zen-sortable-column-button--dir-asc"
82
82
  : "zen-sortable-column-button--dir-desc"
83
- ]), title: iconTitle, "aria-label": iconTitle, onMouseDown: onHeaderClick, children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isMobile ? iconButton : null, (0, jsx_runtime_1.jsx)("div", { className: "zen-sortable-column-button__content zen-caption__content", children: title }), isMobile ? null : iconButton] }) }) }));
83
+ ]), title: iconTitle, "aria-label": iconTitle, onClick: onHeaderClick, children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isMobile ? iconButton : null, (0, jsx_runtime_1.jsx)("div", { className: "zen-sortable-column-button__content zen-caption__content", children: title }), isMobile ? null : iconButton] }) }) }));
84
84
  };
85
85
  exports.SortableHeaderCell = SortableHeaderCell;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "1.20.0-beta.2",
3
+ "version": "1.20.0-beta.3",
4
4
  "description": "Zenith components library on React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",