@oliasoft-open-source/react-ui-library 3.11.0-beta-14 → 3.11.0-beta-15

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.js CHANGED
@@ -60393,62 +60393,57 @@ const Table = (props) => {
60393
60393
  children: (provided) => {
60394
60394
  return /* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
60395
60395
  table: table2,
60396
- children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, {
60397
- children: /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
60398
- className: cx$2(
60399
- styles$a.table,
60400
- striped2 ? styles$a.striped : ""
60401
- ),
60402
- "data-testid": testId,
60403
- ref: provided.innerRef,
60404
- children: [
60405
- /* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
60406
- children: headers.map((row2, rowIndex) => {
60407
- return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60396
+ children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
60397
+ className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
60398
+ "data-testid": testId,
60399
+ ref: provided.innerRef,
60400
+ children: [
60401
+ /* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
60402
+ children: headers.map((row2, rowIndex) => {
60403
+ return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60404
+ rowIndex,
60405
+ isHeader: true,
60406
+ row: row2,
60407
+ columnCount,
60408
+ columnWidths,
60409
+ colSpan,
60410
+ hasRowActions: rowActions,
60411
+ columnAlignment,
60412
+ columnHeaderAlignments,
60413
+ draggableTable: draggable2
60414
+ }, `0_${rowIndex}`);
60415
+ })
60416
+ }),
60417
+ /* @__PURE__ */ jsxRuntime.exports.jsxs("tbody", {
60418
+ children: [
60419
+ rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(PublicDraggable, {
60420
+ draggableId: rowIndex + "",
60421
+ index: rowIndex,
60422
+ isDragDisabled: row2.noDrag,
60423
+ children: (provided2, snapshot) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60408
60424
  rowIndex,
60409
- isHeader: true,
60410
60425
  row: row2,
60411
60426
  columnCount,
60412
60427
  columnWidths,
60413
60428
  colSpan,
60414
60429
  hasRowActions: rowActions,
60415
60430
  columnAlignment,
60416
- columnHeaderAlignments,
60417
- draggableTable: draggable2
60418
- }, `0_${rowIndex}`);
60419
- })
60420
- }),
60421
- /* @__PURE__ */ jsxRuntime.exports.jsxs("tbody", {
60422
- children: [
60423
- rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(PublicDraggable, {
60424
- draggableId: rowIndex + "",
60425
- index: rowIndex,
60426
- isDragDisabled: row2.noDrag,
60427
- children: (provided2, snapshot) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60428
- rowIndex,
60429
- row: row2,
60430
- columnCount,
60431
- columnWidths,
60432
- colSpan,
60433
- hasRowActions: rowActions,
60434
- columnAlignment,
60435
- provided: provided2,
60436
- snapshot,
60437
- draggableTable: draggable2,
60438
- width: dimensions.width
60439
- }, `1_${rowIndex}`)
60440
- }, `index_${rowIndex}`)),
60441
- provided.placeholder
60442
- ]
60443
- }),
60444
- footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
60445
- colSpan: colSpan + 1,
60446
- pagination: footer2.pagination,
60447
- actions: footer2.actions,
60448
- content: footer2.content
60449
- })
60450
- ]
60451
- })
60431
+ provided: provided2,
60432
+ snapshot,
60433
+ draggableTable: draggable2,
60434
+ width: dimensions.width
60435
+ }, `1_${rowIndex}`)
60436
+ }, `index_${rowIndex}`)),
60437
+ provided.placeholder
60438
+ ]
60439
+ }),
60440
+ footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
60441
+ colSpan: colSpan + 1,
60442
+ pagination: footer2.pagination,
60443
+ actions: footer2.actions,
60444
+ content: footer2.content
60445
+ })
60446
+ ]
60452
60447
  })
60453
60448
  });
60454
60449
  }
@@ -60467,45 +60462,43 @@ const Table = (props) => {
60467
60462
  }),
60468
60463
  /* @__PURE__ */ jsxRuntime.exports.jsx(TableScrollWrapper, {
60469
60464
  table: table2,
60470
- children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsx(jsxRuntime.exports.Fragment, {
60471
- children: /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
60472
- className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
60473
- "data-testid": testId,
60474
- children: [
60475
- /* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
60476
- children: headers.map((row2, rowIndex) => {
60477
- return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60478
- rowIndex,
60479
- isHeader: true,
60480
- row: row2,
60481
- columnCount,
60482
- columnWidths,
60483
- colSpan,
60484
- hasRowActions: rowActions,
60485
- columnAlignment,
60486
- columnHeaderAlignments
60487
- }, `0_${rowIndex}`);
60488
- })
60489
- }),
60490
- /* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
60491
- children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60465
+ children: ({ visibleRows }) => /* @__PURE__ */ jsxRuntime.exports.jsxs("table", {
60466
+ className: cx$2(styles$a.table, striped2 ? styles$a.striped : ""),
60467
+ "data-testid": testId,
60468
+ children: [
60469
+ /* @__PURE__ */ jsxRuntime.exports.jsx("thead", {
60470
+ children: headers.map((row2, rowIndex) => {
60471
+ return /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60492
60472
  rowIndex,
60473
+ isHeader: true,
60493
60474
  row: row2,
60494
60475
  columnCount,
60495
60476
  columnWidths,
60496
60477
  colSpan,
60497
60478
  hasRowActions: rowActions,
60498
- columnAlignment
60499
- }, `1_${rowIndex}`))
60500
- }),
60501
- footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
60502
- colSpan,
60503
- pagination: footer2.pagination,
60504
- actions: footer2.actions,
60505
- content: footer2.content
60479
+ columnAlignment,
60480
+ columnHeaderAlignments
60481
+ }, `0_${rowIndex}`);
60506
60482
  })
60507
- ]
60508
- })
60483
+ }),
60484
+ /* @__PURE__ */ jsxRuntime.exports.jsx("tbody", {
60485
+ children: rows.slice(0, visibleRows).map((row2, rowIndex) => /* @__PURE__ */ jsxRuntime.exports.jsx(Row, {
60486
+ rowIndex,
60487
+ row: row2,
60488
+ columnCount,
60489
+ columnWidths,
60490
+ colSpan,
60491
+ hasRowActions: rowActions,
60492
+ columnAlignment
60493
+ }, `1_${rowIndex}`))
60494
+ }),
60495
+ footer2 && /* @__PURE__ */ jsxRuntime.exports.jsx(Footer, {
60496
+ colSpan,
60497
+ pagination: footer2.pagination,
60498
+ actions: footer2.actions,
60499
+ content: footer2.content
60500
+ })
60501
+ ]
60509
60502
  })
60510
60503
  })
60511
60504
  ]