@apexcura/ui-components 0.0.11-Beta195 → 0.0.11-Beta197

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
@@ -40,7 +40,7 @@ type ElementType = {
40
40
  primaryText?: string;
41
41
  secondaryText?: string;
42
42
  count?: number;
43
- icon?: React.JSX.Element;
43
+ icon?: string;
44
44
  placement?: string;
45
45
  profileImage?: string;
46
46
  buttonClassName?: string;
package/dist/index.d.ts CHANGED
@@ -40,7 +40,7 @@ type ElementType = {
40
40
  primaryText?: string;
41
41
  secondaryText?: string;
42
42
  count?: number;
43
- icon?: React.JSX.Element;
43
+ icon?: string;
44
44
  placement?: string;
45
45
  profileImage?: string;
46
46
  buttonClassName?: string;
package/dist/index.js CHANGED
@@ -397,7 +397,7 @@ var ButtonElement = (props) => {
397
397
  onClick: handleClick,
398
398
  className: `${props.className ? props.className : ""}`
399
399
  },
400
- props.icon && /* @__PURE__ */ import_react12.default.createElement("img", { src: props.img }),
400
+ props.icon && /* @__PURE__ */ import_react12.default.createElement("img", { src: props.icon }),
401
401
  props.label
402
402
  );
403
403
  };
@@ -614,7 +614,10 @@ var import_antd14 = require("antd");
614
614
  // src/Components/Model.tsx
615
615
  var import_react19 = __toESM(require("react"));
616
616
  var import_antd13 = require("antd");
617
- var ModelElement = (props, model) => /* @__PURE__ */ import_react19.default.createElement(import_antd13.Modal, { open: model }, /* @__PURE__ */ import_react19.default.createElement("p", null, "Model opened"));
617
+ var ModelElement = (props) => {
618
+ const { onCancel, model } = props;
619
+ return /* @__PURE__ */ import_react19.default.createElement(import_antd13.Modal, { open: model, onCancel }, /* @__PURE__ */ import_react19.default.createElement("p", null, "Model opened"));
620
+ };
618
621
 
619
622
  // src/Components/TableElement.tsx
620
623
  var TableElement = (props) => {
package/dist/index.mjs CHANGED
@@ -346,7 +346,7 @@ var ButtonElement = (props) => {
346
346
  onClick: handleClick,
347
347
  className: `${props.className ? props.className : ""}`
348
348
  },
349
- props.icon && /* @__PURE__ */ React11.createElement("img", { src: props.img }),
349
+ props.icon && /* @__PURE__ */ React11.createElement("img", { src: props.icon }),
350
350
  props.label
351
351
  );
352
352
  };
@@ -563,7 +563,10 @@ import { Table as Table2 } from "antd";
563
563
  // src/Components/Model.tsx
564
564
  import React18 from "react";
565
565
  import { Modal } from "antd";
566
- var ModelElement = (props, model) => /* @__PURE__ */ React18.createElement(Modal, { open: model }, /* @__PURE__ */ React18.createElement("p", null, "Model opened"));
566
+ var ModelElement = (props) => {
567
+ const { onCancel, model } = props;
568
+ return /* @__PURE__ */ React18.createElement(Modal, { open: model, onCancel }, /* @__PURE__ */ React18.createElement("p", null, "Model opened"));
569
+ };
567
570
 
568
571
  // src/Components/TableElement.tsx
569
572
  var TableElement = (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta195",
3
+ "version": "0.0.11-Beta197",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",