@apexcura/ui-components 0.0.14-Beta42 → 0.0.14-Beta43

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
@@ -72,6 +72,7 @@ var TextElement = (props) => {
72
72
  placeholder: props.placeholder,
73
73
  allowClear: true,
74
74
  id: props.name,
75
+ value: props.value,
75
76
  prefix: props.prefix,
76
77
  type: props.type,
77
78
  status: props.status,
@@ -131,8 +132,7 @@ var NumberElement = (props) => {
131
132
  {
132
133
  placeholder: props.placeholder,
133
134
  addonBefore: props.addonBefore,
134
- allowClear: true,
135
- defaultValue: props.defaultValue,
135
+ value: props.value,
136
136
  disabled: props.disabled,
137
137
  id: props.name,
138
138
  prefix: props.prefix,
@@ -435,7 +435,9 @@ var ButtonElement = (props) => {
435
435
  tempDiv.innerHTML = prevSvgContent;
436
436
  const svgElement = tempDiv.querySelector("svg");
437
437
  const paths = svgElement?.querySelectorAll("path");
438
- paths?.forEach((path) => path.removeAttribute("fill"));
438
+ paths?.forEach((path, index) => {
439
+ path.removeAttribute("fill");
440
+ });
439
441
  return tempDiv.innerHTML;
440
442
  });
441
443
  }
package/dist/index.mjs CHANGED
@@ -13,6 +13,7 @@ var TextElement = (props) => {
13
13
  placeholder: props.placeholder,
14
14
  allowClear: true,
15
15
  id: props.name,
16
+ value: props.value,
16
17
  prefix: props.prefix,
17
18
  type: props.type,
18
19
  status: props.status,
@@ -72,8 +73,7 @@ var NumberElement = (props) => {
72
73
  {
73
74
  placeholder: props.placeholder,
74
75
  addonBefore: props.addonBefore,
75
- allowClear: true,
76
- defaultValue: props.defaultValue,
76
+ value: props.value,
77
77
  disabled: props.disabled,
78
78
  id: props.name,
79
79
  prefix: props.prefix,
@@ -376,7 +376,9 @@ var ButtonElement = (props) => {
376
376
  tempDiv.innerHTML = prevSvgContent;
377
377
  const svgElement = tempDiv.querySelector("svg");
378
378
  const paths = svgElement?.querySelectorAll("path");
379
- paths?.forEach((path) => path.removeAttribute("fill"));
379
+ paths?.forEach((path, index) => {
380
+ path.removeAttribute("fill");
381
+ });
380
382
  return tempDiv.innerHTML;
381
383
  });
382
384
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.14-Beta42",
3
+ "version": "0.0.14-Beta43",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",