@apexcura/ui-components 0.0.16-Beta27 → 0.0.16-Beta28
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 +4 -6
- package/dist/index.mjs +4 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -617,7 +617,7 @@ var icons = {
|
|
|
617
617
|
fill: "#D9363E"
|
|
618
618
|
}
|
|
619
619
|
)),
|
|
620
|
-
profile: /* @__PURE__ */ import_react13.default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react13.default.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ import_react13.default.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" }))
|
|
620
|
+
profile: /* @__PURE__ */ import_react13.default.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ import_react13.default.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050", stroke: "white" }), /* @__PURE__ */ import_react13.default.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050", stroke: "white" }))
|
|
621
621
|
};
|
|
622
622
|
|
|
623
623
|
// src/Components/Button.tsx
|
|
@@ -1083,11 +1083,9 @@ var import_antd17 = require("antd");
|
|
|
1083
1083
|
var DropDownGroup = (props) => {
|
|
1084
1084
|
const [selectedValue, setSelectedValue] = (0, import_react26.useState)({
|
|
1085
1085
|
firstValue: props.value.firstValue,
|
|
1086
|
-
secondValue: props.value.secondValue
|
|
1087
|
-
temp: ""
|
|
1086
|
+
secondValue: props.value.secondValue
|
|
1088
1087
|
});
|
|
1089
1088
|
const handleFirstChange = (value) => {
|
|
1090
|
-
console.log(selectedValue.temp);
|
|
1091
1089
|
const filterOption2 = props.firstOptions?.find(
|
|
1092
1090
|
(eachOption) => eachOption.value === value
|
|
1093
1091
|
);
|
|
@@ -1128,7 +1126,7 @@ var DropDownGroup = (props) => {
|
|
|
1128
1126
|
className: props.className,
|
|
1129
1127
|
filterOption: firstFilterOptions,
|
|
1130
1128
|
placeholder: props.firstPlaceholder,
|
|
1131
|
-
value:
|
|
1129
|
+
value: selectedValue.firstValue,
|
|
1132
1130
|
showSearch: true
|
|
1133
1131
|
}
|
|
1134
1132
|
), /* @__PURE__ */ import_react26.default.createElement("div", { style: { borderLeft: "1px solid gray" } }), /* @__PURE__ */ import_react26.default.createElement(
|
|
@@ -1139,7 +1137,7 @@ var DropDownGroup = (props) => {
|
|
|
1139
1137
|
options: props.secondOptions,
|
|
1140
1138
|
className: props.className,
|
|
1141
1139
|
filterOption: secondFilterOptions,
|
|
1142
|
-
placeholder:
|
|
1140
|
+
placeholder: selectedValue.secondValue,
|
|
1143
1141
|
value: props.value.secondValue,
|
|
1144
1142
|
showSearch: true
|
|
1145
1143
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -546,7 +546,7 @@ var icons = {
|
|
|
546
546
|
fill: "#D9363E"
|
|
547
547
|
}
|
|
548
548
|
)),
|
|
549
|
-
profile: /* @__PURE__ */ React12.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050" }), /* @__PURE__ */ React12.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050" }))
|
|
549
|
+
profile: /* @__PURE__ */ React12.createElement("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React12.createElement("path", { d: "M17 19.5C18.3411 19.5 19.5979 18.3735 19.2664 16.9062C19.1476 16.3806 18.9841 15.8647 18.7769 15.3645C18.2994 14.2119 17.5997 13.1646 16.7175 12.2825C15.8354 11.4003 14.7881 10.7006 13.6355 10.2231C12.4829 9.74572 11.2476 9.5 10 9.5C8.75244 9.5 7.5171 9.74572 6.36451 10.2231C5.21191 10.7006 4.16464 11.4003 3.28249 12.2825C2.40033 13.1646 1.70056 14.2119 1.22314 15.3645C1.01594 15.8647 0.852378 16.3806 0.733607 16.9062C0.402069 18.3735 1.65891 19.5 3 19.5L10 19.5H17Z", fill: "#505050", stroke: "white" }), /* @__PURE__ */ React12.createElement("circle", { cx: "10", cy: "6", r: "5.5", fill: "#505050", stroke: "white" }))
|
|
550
550
|
};
|
|
551
551
|
|
|
552
552
|
// src/Components/Button.tsx
|
|
@@ -1012,11 +1012,9 @@ import { Select as Select4 } from "antd";
|
|
|
1012
1012
|
var DropDownGroup = (props) => {
|
|
1013
1013
|
const [selectedValue, setSelectedValue] = useState7({
|
|
1014
1014
|
firstValue: props.value.firstValue,
|
|
1015
|
-
secondValue: props.value.secondValue
|
|
1016
|
-
temp: ""
|
|
1015
|
+
secondValue: props.value.secondValue
|
|
1017
1016
|
});
|
|
1018
1017
|
const handleFirstChange = (value) => {
|
|
1019
|
-
console.log(selectedValue.temp);
|
|
1020
1018
|
const filterOption2 = props.firstOptions?.find(
|
|
1021
1019
|
(eachOption) => eachOption.value === value
|
|
1022
1020
|
);
|
|
@@ -1057,7 +1055,7 @@ var DropDownGroup = (props) => {
|
|
|
1057
1055
|
className: props.className,
|
|
1058
1056
|
filterOption: firstFilterOptions,
|
|
1059
1057
|
placeholder: props.firstPlaceholder,
|
|
1060
|
-
value:
|
|
1058
|
+
value: selectedValue.firstValue,
|
|
1061
1059
|
showSearch: true
|
|
1062
1060
|
}
|
|
1063
1061
|
), /* @__PURE__ */ React25.createElement("div", { style: { borderLeft: "1px solid gray" } }), /* @__PURE__ */ React25.createElement(
|
|
@@ -1068,7 +1066,7 @@ var DropDownGroup = (props) => {
|
|
|
1068
1066
|
options: props.secondOptions,
|
|
1069
1067
|
className: props.className,
|
|
1070
1068
|
filterOption: secondFilterOptions,
|
|
1071
|
-
placeholder:
|
|
1069
|
+
placeholder: selectedValue.secondValue,
|
|
1072
1070
|
value: props.value.secondValue,
|
|
1073
1071
|
showSearch: true
|
|
1074
1072
|
}
|