@apexcura/ui-components 0.0.15-Beta45 → 0.0.15-Beta47

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
@@ -14,6 +14,8 @@ type ElementType$1 = {
14
14
  disabled?: boolean;
15
15
  prefix?: React.ReactNode;
16
16
  type?: string;
17
+ firstValue?: string;
18
+ secondValue?: string;
17
19
  size?: SizeType;
18
20
  value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
19
21
  status?: "error" | "warning";
package/dist/index.d.ts CHANGED
@@ -14,6 +14,8 @@ type ElementType$1 = {
14
14
  disabled?: boolean;
15
15
  prefix?: React.ReactNode;
16
16
  type?: string;
17
+ firstValue?: string;
18
+ secondValue?: string;
17
19
  size?: SizeType;
18
20
  value?: string | number | boolean | any[] | null | object | undefined | any | UploadFile<any>[];
19
21
  status?: "error" | "warning";
package/dist/index.js CHANGED
@@ -217,11 +217,10 @@ var SelectElement = (props) => {
217
217
  allowClear: true,
218
218
  filterOption: filterOptions,
219
219
  showSearch: true,
220
- defaultValue: props.defaultValue,
221
220
  className: props.className,
222
221
  onChange: handleChange,
223
- value: props.value,
224
- mode: props.mode
222
+ mode: props.mode,
223
+ value: props.value
225
224
  }
226
225
  ));
227
226
  };
@@ -260,6 +259,7 @@ var RadioElement = (props) => {
260
259
  handleChange(option);
261
260
  },
262
261
  key: option.value,
262
+ value: option.value,
263
263
  disabled: isDisabled && selectedValue !== option.value,
264
264
  className: getButtonStyle(option),
265
265
  style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
@@ -1021,7 +1021,7 @@ var DropDownGroup = (props) => {
1021
1021
  className: props.className,
1022
1022
  filterOption: firstFilterOptions,
1023
1023
  placeholder: props.firstPlaceholder,
1024
- value: props.value,
1024
+ value: props.firstValue,
1025
1025
  showSearch: true
1026
1026
  }
1027
1027
  ), /* @__PURE__ */ import_react24.default.createElement("div", { style: { borderLeft: "1px solid gray", height: "33px" } }), /* @__PURE__ */ import_react24.default.createElement(
@@ -1033,7 +1033,7 @@ var DropDownGroup = (props) => {
1033
1033
  className: props.className,
1034
1034
  filterOption: secondFilterOptions,
1035
1035
  placeholder: props.secondPlaceholder,
1036
- value: props.value,
1036
+ value: props.secondValue,
1037
1037
  showSearch: true
1038
1038
  }
1039
1039
  )));
package/dist/index.mjs CHANGED
@@ -148,11 +148,10 @@ var SelectElement = (props) => {
148
148
  allowClear: true,
149
149
  filterOption: filterOptions,
150
150
  showSearch: true,
151
- defaultValue: props.defaultValue,
152
151
  className: props.className,
153
152
  onChange: handleChange,
154
- value: props.value,
155
- mode: props.mode
153
+ mode: props.mode,
154
+ value: props.value
156
155
  }
157
156
  ));
158
157
  };
@@ -191,6 +190,7 @@ var RadioElement = (props) => {
191
190
  handleChange(option);
192
191
  },
193
192
  key: option.value,
193
+ value: option.value,
194
194
  disabled: isDisabled && selectedValue !== option.value,
195
195
  className: getButtonStyle(option),
196
196
  style: { pointerEvents: isDisabled && selectedValue !== option.value ? "none" : "auto" }
@@ -952,7 +952,7 @@ var DropDownGroup = (props) => {
952
952
  className: props.className,
953
953
  filterOption: firstFilterOptions,
954
954
  placeholder: props.firstPlaceholder,
955
- value: props.value,
955
+ value: props.firstValue,
956
956
  showSearch: true
957
957
  }
958
958
  ), /* @__PURE__ */ React24.createElement("div", { style: { borderLeft: "1px solid gray", height: "33px" } }), /* @__PURE__ */ React24.createElement(
@@ -964,7 +964,7 @@ var DropDownGroup = (props) => {
964
964
  className: props.className,
965
965
  filterOption: secondFilterOptions,
966
966
  placeholder: props.secondPlaceholder,
967
- value: props.value,
967
+ value: props.secondValue,
968
968
  showSearch: true
969
969
  }
970
970
  )));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apexcura/ui-components",
3
- "version": "0.0.15-Beta45",
3
+ "version": "0.0.15-Beta47",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",