@apexcura/ui-components 0.0.13-Beta81 → 0.0.13-Beta83

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
@@ -891,26 +891,12 @@ var FileUpload = (props) => {
891
891
  var import_react27 = __toESM(require("react"));
892
892
  var import_antd20 = require("antd");
893
893
  var TabsElement = (props) => {
894
- console.log(props);
895
894
  const handleChange = (key) => {
896
895
  if (props.onChange) {
897
896
  props.onChange(props.options?.find((eachOption) => eachOption.key === key));
898
897
  }
899
898
  };
900
- return /* @__PURE__ */ import_react27.default.createElement(
901
- import_antd20.Tabs,
902
- {
903
- className: props.containerClassName,
904
- onChange: handleChange,
905
- items: props.options?.map((item, i) => {
906
- const id = String(i + 1);
907
- return {
908
- label: item.label,
909
- key: id
910
- };
911
- })
912
- }
913
- );
899
+ return /* @__PURE__ */ import_react27.default.createElement(import_antd20.Tabs, { className: props.containerClassName, items: props.options, onChange: handleChange });
914
900
  };
915
901
  // Annotate the CommonJS export names for ESM import in node:
916
902
  0 && (module.exports = {
package/dist/index.mjs CHANGED
@@ -834,26 +834,12 @@ var FileUpload = (props) => {
834
834
  import React27 from "react";
835
835
  import { Tabs } from "antd";
836
836
  var TabsElement = (props) => {
837
- console.log(props);
838
837
  const handleChange = (key) => {
839
838
  if (props.onChange) {
840
839
  props.onChange(props.options?.find((eachOption) => eachOption.key === key));
841
840
  }
842
841
  };
843
- return /* @__PURE__ */ React27.createElement(
844
- Tabs,
845
- {
846
- className: props.containerClassName,
847
- onChange: handleChange,
848
- items: props.options?.map((item, i) => {
849
- const id = String(i + 1);
850
- return {
851
- label: item.label,
852
- key: id
853
- };
854
- })
855
- }
856
- );
842
+ return /* @__PURE__ */ React27.createElement(Tabs, { className: props.containerClassName, items: props.options, onChange: handleChange });
857
843
  };
858
844
  export {
859
845
  AddMoreTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.13-Beta81",
3
+ "version": "0.0.13-Beta83",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",