@jobber/components 6.109.2 → 6.109.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.
@@ -1,9 +1,5 @@
1
1
  import React from "react";
2
2
  export interface DataTableFooterProps extends React.HTMLAttributes<HTMLTableSectionElement> {
3
3
  readonly children: React.ReactNode;
4
- /**
5
- * Number of columns to span across. This should match the number of columns in your table.
6
- */
7
- readonly colSpan: number;
8
4
  }
9
- export declare function DataTableFooter({ children, className, colSpan, ...props }: DataTableFooterProps): React.JSX.Element;
5
+ export declare function DataTableFooter({ children, className, ...props }: DataTableFooterProps): React.JSX.Element;
@@ -59,10 +59,8 @@ function DataTableContainer(props) {
59
59
  }
60
60
 
61
61
  function DataTableFooter(_a) {
62
- var { children, className, colSpan } = _a, props = tslib_es6.__rest(_a, ["children", "className", "colSpan"]);
63
- return (React.createElement("tfoot", Object.assign({}, props, { className: classnames(styles.footer, className) }),
64
- React.createElement("tr", null,
65
- React.createElement("td", { colSpan: colSpan }, children))));
62
+ var { children, className } = _a, props = tslib_es6.__rest(_a, ["children", "className"]);
63
+ return (React.createElement("tfoot", Object.assign({}, props, { className: classnames(styles.footer, className) }), children));
66
64
  }
67
65
 
68
66
  function DataTableHeader(props) {
@@ -57,10 +57,8 @@ function DataTableContainer(props) {
57
57
  }
58
58
 
59
59
  function DataTableFooter(_a) {
60
- var { children, className, colSpan } = _a, props = __rest(_a, ["children", "className", "colSpan"]);
61
- return (React__default.createElement("tfoot", Object.assign({}, props, { className: classnames(styles.footer, className) }),
62
- React__default.createElement("tr", null,
63
- React__default.createElement("td", { colSpan: colSpan }, children))));
60
+ var { children, className } = _a, props = __rest(_a, ["children", "className"]);
61
+ return (React__default.createElement("tfoot", Object.assign({}, props, { className: classnames(styles.footer, className) }), children));
64
62
  }
65
63
 
66
64
  function DataTableHeader(props) {
package/dist/styles.css CHANGED
@@ -6724,6 +6724,8 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
6724
6724
  .thJ-CSoe0ps- {
6725
6725
  padding: 8px 16px;
6726
6726
  padding: var(--space-small) var(--space-base);
6727
+ border-top: 1px solid hsl(200, 13%, 87%);
6728
+ border-top: var(--border-base) solid var(--color-border);
6727
6729
  }
6728
6730
 
6729
6731
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.109.2",
3
+ "version": "6.109.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -538,5 +538,5 @@
538
538
  "> 1%",
539
539
  "IE 10"
540
540
  ],
541
- "gitHead": "210d6b515ba31e1f62cfc7ef55633d733952cbd2"
541
+ "gitHead": "a264eabdc9059db7f7509827b44c4b3e545e3f25"
542
542
  }