luna-one 3.1.506 → 3.1.508

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.
@@ -671,7 +671,7 @@ var VideoComponent = function VideoComponent(_ref) {
671
671
 
672
672
  useFocus(modalDeployed);
673
673
  return /*#__PURE__*/_react["default"].createElement("div", {
674
- className: "videoContainer"
674
+ className: "".concat(modalDeployed ? 'videoContainer videoContainer--deployed' : 'videoContainer')
675
675
  }, thumbnailContainer(video, thumbnail, hovering, modalDeployed, playing, deployModal, hideModal, setHovering, togglePlaying, image, content, variant, mouse, override), renderVideo(video, thumbnail, hovering, modalDeployed, playing, deployModal, hideModal, setHovering, togglePlaying, image, content, transcriptVisable, setTranscriptVisable, transcript, transcriptText, closeTranscript, videoProgress, setVideoProgress, override, setOverride, setVisible));
676
676
  };
677
677
 
@@ -2,7 +2,9 @@
2
2
 
3
3
  .videoContainer {
4
4
  width: 100%;
5
-
5
+ &--deployed {
6
+ z-index: 20;
7
+ }
6
8
  #video-modal:focus-within {
7
9
  outline: none;
8
10
  }
@@ -100,7 +100,9 @@ var Flyout = function Flyout(_ref) {
100
100
  authenticatedLinks = _ref.authenticatedLinks,
101
101
  exploreLabel = _ref.exploreLabel,
102
102
  _ref$signInBtnMethod = _ref.signInBtnMethod,
103
- signInBtnMethod = _ref$signInBtnMethod === void 0 ? function () {} : _ref$signInBtnMethod;
103
+ signInBtnMethod = _ref$signInBtnMethod === void 0 ? function () {} : _ref$signInBtnMethod,
104
+ _ref$signOutBtnMethod = _ref.signOutBtnMethod,
105
+ signOutBtnMethod = _ref$signOutBtnMethod === void 0 ? function () {} : _ref$signOutBtnMethod;
104
106
 
105
107
  var _useState = (0, _react.useState)(""),
106
108
  _useState2 = (0, _slicedToArray2["default"])(_useState, 2),
@@ -155,7 +157,10 @@ var Flyout = function Flyout(_ref) {
155
157
  className: "ter-flyout__logged-in-section--text-area--last-name"
156
158
  }, TIDdata === null || TIDdata === void 0 ? void 0 : TIDdata.lName)), /*#__PURE__*/_react["default"].createElement(Button, {
157
159
  className: "ter-button--secondary--2 ter-flyout__logout-btn",
158
- size: "sm"
160
+ size: "sm",
161
+ onClick: function onClick() {
162
+ signOutBtnMethod();
163
+ }
159
164
  }, signOutLabel || "Sign Out"));
160
165
  }
161
166
  };
@@ -579,7 +579,8 @@ var NavBar = function NavBar(props) {
579
579
  login: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.login,
580
580
  authenticated: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.authenticated,
581
581
  authenticatedLinks: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.authenticatedLinks,
582
- signInBtnMethod: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.signInBtnMethod
582
+ signInBtnMethod: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.signInBtnMethod,
583
+ signOutBtnMethod: sectorFlyoutData === null || sectorFlyoutData === void 0 ? void 0 : sectorFlyoutData.signOutBtnMethod
583
584
  }));
584
585
  };
585
586
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "luna-one",
3
- "version": "3.1.506",
3
+ "version": "3.1.508",
4
4
  "peerDependencies": {
5
5
  "react": "^17.0.2",
6
6
  "react-dom": "^17.0.2",