@tripian/react 6.0.50 → 6.0.51

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/index.js CHANGED
@@ -75488,7 +75488,7 @@ var OpenedHours = function (_a) {
75488
75488
  var date = planDate ? (0, moment_1.default)(planDate).format('ddd') : (0, moment_1.default)().format('ddd');
75489
75489
  var findToday = hours === null || hours === void 0 ? void 0 : hours.find(function (hour) { return hour.day === date; });
75490
75490
  return (react_1.default.createElement("div", { className: OpenedHours_scss_1.default.openedHours },
75491
- react_1.default.createElement("div", null, showHours ? hours.map(function (h, i) { return react_1.default.createElement(exports.HourItem, { key: "".concat(h.day, "-").concat(i), hour: h, lineHeight: "35px" }); }) : react_1.default.createElement(exports.HourItem, { hour: findToday || hours[0] })),
75491
+ react_1.default.createElement("div", { className: OpenedHours_scss_1.default.hourContent }, showHours ? hours.map(function (h, i) { return react_1.default.createElement(exports.HourItem, { key: "".concat(h.day, "-").concat(i), hour: h, lineHeight: "35px" }); }) : react_1.default.createElement(exports.HourItem, { hour: findToday || hours[0] })),
75492
75492
  react_1.default.createElement("div", { className: OpenedHours_scss_1.default.exploreButton, role: "button", tabIndex: 0, onKeyPress: function () { }, onClick: function () { return setShowHours(!showHours); } }, showHours ? 'Close' : 'Explore')));
75493
75493
  };
75494
75494
  exports.default = OpenedHours;
@@ -75499,7 +75499,7 @@ exports.default = OpenedHours;
75499
75499
  /***/ (function(module, exports, __webpack_require__) {
75500
75500
 
75501
75501
  // extracted by mini-css-extract-plugin
75502
- module.exports = {"openedHours":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__openedHours--2aBMP","hourItem":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__hourItem--UgCwA","day":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__day--2myKO","clock":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__clock--2YPBt","exploreButton":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__exploreButton--1kGGI"};
75502
+ module.exports = {"openedHours":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__openedHours--2aBMP","hourContent":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__hourContent--L-tp8","hourItem":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__hourItem--UgCwA","day":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__day--2myKO","clock":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__clock--2YPBt","exploreButton":"components-PoiInfo-PoiInfoText-OpenedHours-OpenedHours__exploreButton--1kGGI"};
75503
75503
 
75504
75504
  /***/ }),
75505
75505
  /* 767 */