@jobber/components 6.107.2 → 6.107.3-TAYLORdat-ce88606.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.
|
@@ -2,8 +2,10 @@ import React from "react";
|
|
|
2
2
|
export interface DataTableFooterProps extends React.HTMLAttributes<HTMLTableSectionElement> {
|
|
3
3
|
readonly children: React.ReactNode;
|
|
4
4
|
/**
|
|
5
|
-
* Number of columns to span across.
|
|
5
|
+
* Number of columns to span across. When provided, children are wrapped in a
|
|
6
|
+
* single cell that spans all columns. When omitted, children are rendered
|
|
7
|
+
* directly, allowing custom row/cell structures.
|
|
6
8
|
*/
|
|
7
|
-
readonly colSpan
|
|
9
|
+
readonly colSpan?: number;
|
|
8
10
|
}
|
|
9
|
-
export declare function DataTableFooter({ children, className,
|
|
11
|
+
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
|
|
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
|
|
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
|
@@ -6716,6 +6716,8 @@ a._7BLGtYNuJOU-.zgRx3ehZ2z8-:hover {
|
|
|
6716
6716
|
.thJ-CSoe0ps- {
|
|
6717
6717
|
padding: 8px 16px;
|
|
6718
6718
|
padding: var(--space-small) var(--space-base);
|
|
6719
|
+
border-top: 1px solid hsl(200, 13%, 87%);
|
|
6720
|
+
border-top: var(--border-base) solid var(--color-border);
|
|
6719
6721
|
}
|
|
6720
6722
|
|
|
6721
6723
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "6.107.
|
|
3
|
+
"version": "6.107.3-TAYLORdat-ce88606.3+ce88606f3",
|
|
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": "
|
|
541
|
+
"gitHead": "ce88606f3c5a7cd2e5583068ddabc243fa162fa0"
|
|
542
542
|
}
|