@ballistix.digital/react-components 0.4.58 → 0.4.60

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 CHANGED
@@ -1358,12 +1358,12 @@ 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: "mt-8 flow-root" }, { children: jsx("div", __assign({ className: "-mx-4 -my-2 sm:-mx-6 lg:-mx-8" }, { children: jsxs("div", __assign({ className: "inline-block min-w-full py-2 align-middle" }, { children: [jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0" }, { children: [jsx("thead", { 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, header.column.getCanSort() && 'cursor-pointer'), onClick: header.column.getToggleSortingHandler() }, { children: [header.isPlaceholder
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: "mt-8 flow-root" }, { children: jsx("div", __assign({ className: "" }, { children: jsxs("div", __assign({ className: "inline-block min-w-full py-2 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
1365
1365
  : styles$7.sortIndicator.isNotSorted) }, { children: jsx(ChevronDownIcon, { className: toClassName(styles$7.sortIndicator.icon.container, header.column.getIsSorted() === 'asc' &&
1366
- '-scale-100'), "aria-hidden": "true" }) })))] }), header.id)); }) }, headerGroup.id)); }) }), !isLoading && (jsx("tbody", __assign({ className: styles$7.body.table.body.container }, { children: table === null || table === void 0 ? void 0 : table.getRowModel().rows.map(function (row, index) {
1366
+ '-scale-100'), "aria-hidden": "true" }) })))] }), header.id)); }) }, headerGroup.id)); }) })), !isLoading && (jsx("tbody", __assign({ className: "border" }, { children: table === null || table === void 0 ? void 0 : table.getRowModel().rows.map(function (row, index) {
1367
1367
  var _a;
1368
1368
  return (jsx("tr", __assign({ className: toClassName(styles$7.body.table.body.row, ((_a = config.options) === null || _a === void 0 ? void 0 : _a.isStriped) &&
1369
1369
  index % 2 === 0 &&
@@ -1382,7 +1382,7 @@ var styles$7 = {
1382
1382
  head: '',
1383
1383
  body: {
1384
1384
  container: 'flex flex-col',
1385
- wrapper: '-my-2 -mx-4 sm:-mx-6 lg:-mx-8',
1385
+ wrapper: '-my-2',
1386
1386
  content: '',
1387
1387
  styleWrapper: 'overflow-scroll w-screen md:w-auto md:overflow-auto pr-12 md:pr-0',
1388
1388
  table: {
@@ -1394,7 +1394,7 @@ var styles$7 = {
1394
1394
  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',
1395
1395
  },
1396
1396
  body: {
1397
- container: 'divide-y divide-gray-200',
1397
+ container: 'divide-y divide-gray-200 border-t',
1398
1398
  row: '',
1399
1399
  cell: 'whitespace-nowrap py-4 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',
package/dist/index.js CHANGED
@@ -1368,12 +1368,12 @@ 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: "mt-8 flow-root" }, { children: jsxRuntime.jsx("div", __assign({ className: "-mx-4 -my-2 sm:-mx-6 lg:-mx-8" }, { children: jsxRuntime.jsxs("div", __assign({ className: "inline-block min-w-full py-2 align-middle" }, { children: [jsxRuntime.jsxs("table", __assign({ className: "min-w-full border-separate border-spacing-0" }, { children: [jsxRuntime.jsx("thead", { 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, header.column.getCanSort() && 'cursor-pointer'), onClick: header.column.getToggleSortingHandler() }, { children: [header.isPlaceholder
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: "mt-8 flow-root" }, { children: jsxRuntime.jsx("div", __assign({ className: "" }, { children: jsxRuntime.jsxs("div", __assign({ className: "inline-block min-w-full py-2 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
1375
1375
  : styles$7.sortIndicator.isNotSorted) }, { children: jsxRuntime.jsx(solid.ChevronDownIcon, { className: toClassName(styles$7.sortIndicator.icon.container, header.column.getIsSorted() === 'asc' &&
1376
- '-scale-100'), "aria-hidden": "true" }) })))] }), header.id)); }) }, headerGroup.id)); }) }), !isLoading && (jsxRuntime.jsx("tbody", __assign({ className: styles$7.body.table.body.container }, { children: table === null || table === void 0 ? void 0 : table.getRowModel().rows.map(function (row, index) {
1376
+ '-scale-100'), "aria-hidden": "true" }) })))] }), header.id)); }) }, headerGroup.id)); }) })), !isLoading && (jsxRuntime.jsx("tbody", __assign({ className: "border" }, { children: table === null || table === void 0 ? void 0 : table.getRowModel().rows.map(function (row, index) {
1377
1377
  var _a;
1378
1378
  return (jsxRuntime.jsx("tr", __assign({ className: toClassName(styles$7.body.table.body.row, ((_a = config.options) === null || _a === void 0 ? void 0 : _a.isStriped) &&
1379
1379
  index % 2 === 0 &&
@@ -1392,7 +1392,7 @@ var styles$7 = {
1392
1392
  head: '',
1393
1393
  body: {
1394
1394
  container: 'flex flex-col',
1395
- wrapper: '-my-2 -mx-4 sm:-mx-6 lg:-mx-8',
1395
+ wrapper: '-my-2',
1396
1396
  content: '',
1397
1397
  styleWrapper: 'overflow-scroll w-screen md:w-auto md:overflow-auto pr-12 md:pr-0',
1398
1398
  table: {
@@ -1404,7 +1404,7 @@ var styles$7 = {
1404
1404
  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',
1405
1405
  },
1406
1406
  body: {
1407
- container: 'divide-y divide-gray-200',
1407
+ container: 'divide-y divide-gray-200 border-t',
1408
1408
  row: '',
1409
1409
  cell: 'whitespace-nowrap py-4 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',
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "email": "info@ballistix.digital",
8
8
  "url": "https://ballistix.digital"
9
9
  },
10
- "version": "0.4.58",
10
+ "version": "0.4.60",
11
11
  "private": false,
12
12
  "main": "dist/index.js",
13
13
  "module": "dist/index.esm.js",