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

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
@@ -975,8 +975,8 @@ var import_react24 = __toESM(require("react"));
975
975
  var import_antd17 = require("antd");
976
976
  var DropDownGroup = (props) => {
977
977
  const [selectedValue, setSelectedValue] = (0, import_react24.useState)({
978
- firstValue: {},
979
- secondValue: {},
978
+ firstValue: props.value.firstValue,
979
+ secondValue: props.value.secondValue,
980
980
  temp: ""
981
981
  });
982
982
  const handleFirstChange = (value) => {
@@ -1021,7 +1021,7 @@ var DropDownGroup = (props) => {
1021
1021
  className: props.className,
1022
1022
  filterOption: firstFilterOptions,
1023
1023
  placeholder: props.firstPlaceholder,
1024
- value: props.firstValue,
1024
+ value: props.value.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.secondValue,
1036
+ value: props.value.secondValue,
1037
1037
  showSearch: true
1038
1038
  }
1039
1039
  )));
package/dist/index.mjs CHANGED
@@ -906,8 +906,8 @@ import React24, { useState as useState7 } from "react";
906
906
  import { Select as Select4 } from "antd";
907
907
  var DropDownGroup = (props) => {
908
908
  const [selectedValue, setSelectedValue] = useState7({
909
- firstValue: {},
910
- secondValue: {},
909
+ firstValue: props.value.firstValue,
910
+ secondValue: props.value.secondValue,
911
911
  temp: ""
912
912
  });
913
913
  const handleFirstChange = (value) => {
@@ -952,7 +952,7 @@ var DropDownGroup = (props) => {
952
952
  className: props.className,
953
953
  filterOption: firstFilterOptions,
954
954
  placeholder: props.firstPlaceholder,
955
- value: props.firstValue,
955
+ value: props.value.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.secondValue,
967
+ value: props.value.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-Beta47",
3
+ "version": "0.0.15-Beta49",
4
4
  "description": "Apex cura React components library",
5
5
  "keywords": [
6
6
  "apex cura",