@ballistix.digital/react-components 0.4.60 → 0.4.62
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/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1358,7 +1358,7 @@ var TableList2 = function (props) {
|
|
|
1358
1358
|
onChange && onChange(state);
|
|
1359
1359
|
}
|
|
1360
1360
|
}, [onChange, state]);
|
|
1361
|
-
return (jsxs("div", __assign({ className: styles$7.container }, { children: [jsx("div", __assign({ className: styles$7.head }, { children: head && head(state) })), jsx("div", __assign({ className: "" }, { children: jsx("div", __assign({ className: "
|
|
1361
|
+
return (jsxs("div", __assign({ className: styles$7.container }, { children: [jsx("div", __assign({ className: styles$7.head }, { children: head && head(state) })), jsx("div", __assign({ className: "" }, { children: jsx("div", __assign({ className: "flow-root" }, { children: jsx("div", __assign({ className: "overflow-scroll" }, { children: jsxs("div", __assign({ className: "inline-block min-w-full align-middle" }, { children: [jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0 " }, { children: [jsx("thead", __assign({ className: "" }, { children: table === null || table === void 0 ? void 0 : table.getHeaderGroups().map(function (headerGroup) { return (jsx("tr", { children: headerGroup.headers.map(function (header) { return (jsxs("th", __assign({ colSpan: header.colSpan, className: toClassName(styles$7.body.table.head.cell, 'border-b', header.column.getCanSort() && 'cursor-pointer'), onClick: header.column.getToggleSortingHandler() }, { children: [header.isPlaceholder
|
|
1362
1362
|
? null
|
|
1363
1363
|
: flexRender(header.column.columnDef.header, header.getContext()), header.column.getCanSort() && (jsx("span", __assign({ className: toClassName(styles$7.sortIndicator.container, header.column.getIsSorted()
|
|
1364
1364
|
? styles$7.sortIndicator.isSorted
|
|
@@ -1396,7 +1396,7 @@ var styles$7 = {
|
|
|
1396
1396
|
body: {
|
|
1397
1397
|
container: 'divide-y divide-gray-200 border-t',
|
|
1398
1398
|
row: '',
|
|
1399
|
-
cell: 'whitespace-nowrap py-
|
|
1399
|
+
cell: 'whitespace-nowrap py-2.5 px-3 text-sm text-gray-500',
|
|
1400
1400
|
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6',
|
|
1401
1401
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600',
|
|
1402
1402
|
},
|
package/dist/index.js
CHANGED
|
@@ -1368,7 +1368,7 @@ var TableList2 = function (props) {
|
|
|
1368
1368
|
onChange && onChange(state);
|
|
1369
1369
|
}
|
|
1370
1370
|
}, [onChange, state]);
|
|
1371
|
-
return (jsxRuntime.jsxs("div", __assign({ className: styles$7.container }, { children: [jsxRuntime.jsx("div", __assign({ className: styles$7.head }, { children: head && head(state) })), jsxRuntime.jsx("div", __assign({ className: "" }, { children: jsxRuntime.jsx("div", __assign({ className: "
|
|
1371
|
+
return (jsxRuntime.jsxs("div", __assign({ className: styles$7.container }, { children: [jsxRuntime.jsx("div", __assign({ className: styles$7.head }, { children: head && head(state) })), jsxRuntime.jsx("div", __assign({ className: "" }, { children: jsxRuntime.jsx("div", __assign({ className: "flow-root" }, { children: jsxRuntime.jsx("div", __assign({ className: "overflow-scroll" }, { children: jsxRuntime.jsxs("div", __assign({ className: "inline-block min-w-full align-middle" }, { children: [jsxRuntime.jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0 " }, { children: [jsxRuntime.jsx("thead", __assign({ className: "" }, { children: table === null || table === void 0 ? void 0 : table.getHeaderGroups().map(function (headerGroup) { return (jsxRuntime.jsx("tr", { children: headerGroup.headers.map(function (header) { return (jsxRuntime.jsxs("th", __assign({ colSpan: header.colSpan, className: toClassName(styles$7.body.table.head.cell, 'border-b', header.column.getCanSort() && 'cursor-pointer'), onClick: header.column.getToggleSortingHandler() }, { children: [header.isPlaceholder
|
|
1372
1372
|
? null
|
|
1373
1373
|
: reactTable.flexRender(header.column.columnDef.header, header.getContext()), header.column.getCanSort() && (jsxRuntime.jsx("span", __assign({ className: toClassName(styles$7.sortIndicator.container, header.column.getIsSorted()
|
|
1374
1374
|
? styles$7.sortIndicator.isSorted
|
|
@@ -1406,7 +1406,7 @@ var styles$7 = {
|
|
|
1406
1406
|
body: {
|
|
1407
1407
|
container: 'divide-y divide-gray-200 border-t',
|
|
1408
1408
|
row: '',
|
|
1409
|
-
cell: 'whitespace-nowrap py-
|
|
1409
|
+
cell: 'whitespace-nowrap py-2.5 px-3 text-sm text-gray-500',
|
|
1410
1410
|
checkbox: 'absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500 sm:left-6',
|
|
1411
1411
|
indicator: 'absolute inset-y-0 left-0 w-0.5 bg-primary-600',
|
|
1412
1412
|
},
|