@bigbinary/neeto-github-frontend 1.0.14 → 1.0.16

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
@@ -339,7 +339,7 @@ var List = withT(function (_ref) {
339
339
  installationUrl = _ref.installationUrl,
340
340
  troubleshootUrl = _ref.troubleshootUrl;
341
341
  return /*#__PURE__*/React.createElement("div", {
342
- className: "neeto-ui-border-gray-300 h-72 neeto-ui-rounded-md m-0 flex flex-col items-center justify-center border border-solid p-0 2xl:h-96"
342
+ className: "neeto-ui-border-gray-300 neeto-ui-rounded-md m-0 flex h-80 flex-col items-center justify-center border border-solid p-0 2xl:h-96"
343
343
  }, isPresent(repositories) ? /*#__PURE__*/React.createElement(Scrollable, {
344
344
  className: "m-0 h-full w-full overflow-y-scroll p-0 shadow-inner"
345
345
  }, isPresent(filteredRepositories) ? filteredRepositories.map(function (repository, index) {
@@ -403,7 +403,7 @@ var Private = function Private(_ref) {
403
403
  };
404
404
  return /*#__PURE__*/React.createElement("div", {
405
405
  className: "connect-repo neeto-ui-rounded-md neeto-ui-border-gray-300 border border-solid px-8 py-7"
406
- }, /*#__PURE__*/React.createElement(Typography, {
406
+ }, isConnected && /*#__PURE__*/React.createElement(Typography, {
407
407
  className: "mb-2 pb-5 text-lg font-medium",
408
408
  style: "h2"
409
409
  }, t("neetoGithub.connectARepo")), isConnected ? /*#__PURE__*/React.createElement("div", {
@@ -2781,9 +2781,7 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
2781
2781
  _ref$projects = _ref.projects,
2782
2782
  projects = _ref$projects === void 0 ? [] : _ref$projects,
2783
2783
  _ref$title = _ref.title,
2784
- title = _ref$title === void 0 ? "" : _ref$title,
2785
- _ref$description = _ref.description,
2786
- description = _ref$description === void 0 ? "" : _ref$description;
2784
+ title = _ref$title === void 0 ? "" : _ref$title;
2787
2785
  var _useTranslation = useTranslation(),
2788
2786
  t = _useTranslation.t;
2789
2787
  var initialFocusRef = useRef(null);
@@ -2811,10 +2809,7 @@ var NeetoGithubNanoPane = function NeetoGithubNanoPane(_ref) {
2811
2809
  size: "large"
2812
2810
  }, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
2813
2811
  style: "h2"
2814
- }, isPresent(title) ? title : t("neetoGithub.modal.title")), /*#__PURE__*/React.createElement(Typography, {
2815
- className: "mt-4",
2816
- style: "body2"
2817
- }, isPresent(description) ? description : t("neetoGithub.modal.description"))), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement(NeetoGithubNanoContainer, {
2812
+ }, isPresent(title) ? title : t("neetoGithub.modal.title"))), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement(NeetoGithubNanoContainer, {
2818
2813
  installationUrl: installationUrl,
2819
2814
  isConnected: isConnected,
2820
2815
  isConnecting: isConnecting,