@visns-studio/visns-components 4.10.18 → 4.10.20

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/package.json CHANGED
@@ -76,7 +76,7 @@
76
76
  "react-dom": "^17.0.0 || ^18.0.0"
77
77
  },
78
78
  "name": "@visns-studio/visns-components",
79
- "version": "4.10.18",
79
+ "version": "4.10.20",
80
80
  "description": "Various packages to assist in the development of our Custom Applications.",
81
81
  "main": "src/index.js",
82
82
  "files": [
@@ -16,6 +16,7 @@ import {
16
16
  ChevronRight,
17
17
  Circle,
18
18
  CircleFill,
19
+ CirclePlus,
19
20
  CloudDownload,
20
21
  Minus,
21
22
  ArrowBack,
@@ -432,6 +433,7 @@ function Field({
432
433
  />
433
434
  );
434
435
  case 'canvas':
436
+ console.info('a');
435
437
  return canvasUrl ? (
436
438
  <div
437
439
  onClick={() => setCanvasPopupOpen(true)}
@@ -1511,7 +1513,7 @@ function Field({
1511
1513
  </tr>
1512
1514
  </thead>
1513
1515
  <tbody>
1514
- {tableRadioRows.map((row) => (
1516
+ {tableRadioRows.map((row, rowKey) => (
1515
1517
  <tr
1516
1518
  key={`table-radio-row-${settings.id}-${row.id}`}
1517
1519
  >
@@ -1524,7 +1526,7 @@ function Field({
1524
1526
  </td>
1525
1527
  {tableRadioColumns.map((cell, cellKey) => (
1526
1528
  <td
1527
- key={`table-radio-cell-${settings.id}-${row.id}-${cell.id}`}
1529
+ key={`table-radio-cell-${settings.id}-${row.id}-${cell.id}-${cellKey}-${rowKey}`}
1528
1530
  style={{
1529
1531
  textAlign:
1530
1532
  tableRadioColumns[cellKey]
@@ -202,7 +202,6 @@ const GenericDynamic = ({
202
202
 
203
203
  useEffect(() => {
204
204
  if (canvasSaveCounter > 0) {
205
- console.info(activeForm);
206
205
  handleSaveForm(false);
207
206
  }
208
207
  }, [canvasSaveCounter]);
@@ -4,6 +4,11 @@
4
4
  "id": "humanBody",
5
5
  "label": "Human Body",
6
6
  "url": "https://d16lktya8ojp5z.cloudfront.net/adelphi/images/body-diagram.png"
7
+ },
8
+ {
9
+ "id": "car",
10
+ "label": "Car",
11
+ "url": "https://d16lktya8ojp5z.cloudfront.net/adelphi/images/car-diagram.png"
7
12
  }
8
13
  ]
9
14
  }