@apexcura/ui-components 0.0.11-Beta227 → 0.0.11-Beta228

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.css CHANGED
@@ -338,9 +338,6 @@ video {
338
338
  .m-\[10px\] {
339
339
  margin: 10px;
340
340
  }
341
- .flex {
342
- display: flex;
343
- }
344
341
  .table {
345
342
  display: table;
346
343
  }
package/dist/index.js CHANGED
@@ -633,30 +633,14 @@ var ModelBody = (props) => {
633
633
 
634
634
  // src/Components/Model.tsx
635
635
  var ModelElement = (props) => {
636
+ console.log("props in model", props);
636
637
  return /* @__PURE__ */ import_react20.default.createElement(
637
638
  import_antd13.Modal,
638
639
  {
639
640
  open: props.model,
640
641
  onCancel: props.onCancel,
641
642
  footer: null,
642
- width: 850,
643
- title: /* @__PURE__ */ import_react20.default.createElement(
644
- "div",
645
- {
646
- style: {
647
- display: "flex",
648
- flexWrap: "wrap",
649
- padding: "20px",
650
- width: "full",
651
- margin: "-10px"
652
- }
653
- },
654
- Object.entries(props.selectedRecord).map(([key, value]) => {
655
- let name = props.thead && props.thead.filter((eachColumn) => eachColumn.key === key);
656
- console.log("name-------------", name);
657
- return /* @__PURE__ */ import_react20.default.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ import_react20.default.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, name && name), String(value));
658
- })
659
- )
643
+ width: 850
660
644
  },
661
645
  /* @__PURE__ */ import_react20.default.createElement(ModelBody, { ...props })
662
646
  );
package/dist/index.mjs CHANGED
@@ -582,30 +582,14 @@ var ModelBody = (props) => {
582
582
 
583
583
  // src/Components/Model.tsx
584
584
  var ModelElement = (props) => {
585
+ console.log("props in model", props);
585
586
  return /* @__PURE__ */ React19.createElement(
586
587
  Modal,
587
588
  {
588
589
  open: props.model,
589
590
  onCancel: props.onCancel,
590
591
  footer: null,
591
- width: 850,
592
- title: /* @__PURE__ */ React19.createElement(
593
- "div",
594
- {
595
- style: {
596
- display: "flex",
597
- flexWrap: "wrap",
598
- padding: "20px",
599
- width: "full",
600
- margin: "-10px"
601
- }
602
- },
603
- Object.entries(props.selectedRecord).map(([key, value]) => {
604
- let name = props.thead && props.thead.filter((eachColumn) => eachColumn.key === key);
605
- console.log("name-------------", name);
606
- return /* @__PURE__ */ React19.createElement("p", { style: { fontWeight: "200", padding: "10px" }, key }, /* @__PURE__ */ React19.createElement("span", { style: { color: "gray", paddingRight: "10px" } }, name && name), String(value));
607
- })
608
- )
592
+ width: 850
609
593
  },
610
594
  /* @__PURE__ */ React19.createElement(ModelBody, { ...props })
611
595
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.11-Beta227",
3
+ "version": "0.0.11-Beta228",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",