ba-js-common-header 0.0.54 → 0.0.57
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.
|
@@ -14555,23 +14555,34 @@ function HotelFinder(props) {
|
|
|
14555
14555
|
})), /* @__PURE__ */ jsx("ul", __spreadProps(__spreadValues({
|
|
14556
14556
|
className: "mb-0 px-3 list-unstyled shadow"
|
|
14557
14557
|
}, getMenuProps()), {
|
|
14558
|
-
children: isOpen && inputHotels.map((hotel, index2) =>
|
|
14559
|
-
|
|
14560
|
-
|
|
14561
|
-
|
|
14562
|
-
|
|
14563
|
-
|
|
14564
|
-
|
|
14558
|
+
children: isOpen && inputHotels.map((hotel, index2) => {
|
|
14559
|
+
const disabled = hotel === noMatchHotel || hotel === selectedHotel;
|
|
14560
|
+
return /* @__PURE__ */ jsx("li", __spreadProps(__spreadValues(__spreadValues({
|
|
14561
|
+
className: "py-3 py-lg-2"
|
|
14562
|
+
}, getItemProps(__spreadValues({
|
|
14563
|
+
hotel,
|
|
14564
|
+
index: index2
|
|
14565
|
+
}, disabled && {
|
|
14566
|
+
disabled: true
|
|
14567
|
+
}))), disabled && {
|
|
14565
14568
|
style: {
|
|
14566
|
-
|
|
14567
|
-
|
|
14568
|
-
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
|
-
|
|
14572
|
-
|
|
14573
|
-
|
|
14574
|
-
|
|
14569
|
+
cursor: "default"
|
|
14570
|
+
}
|
|
14571
|
+
}), {
|
|
14572
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
14573
|
+
style: __spreadValues({
|
|
14574
|
+
display: "flex",
|
|
14575
|
+
justifyContent: "space-between",
|
|
14576
|
+
alignItems: "center"
|
|
14577
|
+
}, highlightedIndex === index2 && {
|
|
14578
|
+
backgroundColor: "#81bf8c"
|
|
14579
|
+
}),
|
|
14580
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
14581
|
+
children: hotel[0]
|
|
14582
|
+
}), hotel === selectedHotel && /* @__PURE__ */ jsx(commonThin.Tick, {})]
|
|
14583
|
+
})
|
|
14584
|
+
}), hotel[1]);
|
|
14585
|
+
})
|
|
14575
14586
|
})), /* @__PURE__ */ jsx(commonThin.Search, {
|
|
14576
14587
|
className: "hd-icon hd-icon-search"
|
|
14577
14588
|
}), /* @__PURE__ */ jsx(commonThin.Close, {
|