@apexcura/ui-components 0.0.11-Beta155 → 0.0.11-Beta156

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.d.mts CHANGED
@@ -50,6 +50,8 @@ type ElementType = {
50
50
  element?: string;
51
51
  secondTextClassName?: string;
52
52
  iconsClassName?: string;
53
+ labelClassName?: string;
54
+ containerClassName?: string;
53
55
  };
54
56
 
55
57
  interface ElementExecuterProps$3 extends ElementType {
package/dist/index.d.ts CHANGED
@@ -50,6 +50,8 @@ type ElementType = {
50
50
  element?: string;
51
51
  secondTextClassName?: string;
52
52
  iconsClassName?: string;
53
+ labelClassName?: string;
54
+ containerClassName?: string;
53
55
  };
54
56
 
55
57
  interface ElementExecuterProps$3 extends ElementType {
package/dist/index.js CHANGED
@@ -618,7 +618,11 @@ var TableElement = (props) => {
618
618
  dataIndex: col.name,
619
619
  key: col.key
620
620
  }));
621
- return /* @__PURE__ */ import_react19.default.createElement(import_antd14.Table, { dataSource: tbody, columns, bordered: true, pagination: false, size: props.size && props.size });
621
+ const dataSource = tbody && tbody.map((row, index) => ({
622
+ ...row,
623
+ [thead && thead[0].key]: index + 1
624
+ }));
625
+ return /* @__PURE__ */ import_react19.default.createElement(import_antd14.Table, { dataSource, columns, bordered: true, pagination: false, size: props.size && props.size });
622
626
  };
623
627
 
624
628
  // src/Components/DatePicker.tsx
package/dist/index.mjs CHANGED
@@ -567,7 +567,11 @@ var TableElement = (props) => {
567
567
  dataIndex: col.name,
568
568
  key: col.key
569
569
  }));
570
- return /* @__PURE__ */ React18.createElement(Table2, { dataSource: tbody, columns, bordered: true, pagination: false, size: props.size && props.size });
570
+ const dataSource = tbody && tbody.map((row, index) => ({
571
+ ...row,
572
+ [thead && thead[0].key]: index + 1
573
+ }));
574
+ return /* @__PURE__ */ React18.createElement(Table2, { dataSource, columns, bordered: true, pagination: false, size: props.size && props.size });
571
575
  };
572
576
 
573
577
  // src/Components/DatePicker.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta155",
3
+ "version": "0.0.11-Beta156",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",