@bigbinary/neeto-github-frontend 1.0.4 → 1.0.6

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
@@ -2360,7 +2360,7 @@ var _globalProps$organiza;
2360
2360
  var newInstallationParams = lib.stringify({
2361
2361
  integrator_id: globalProps === null || globalProps === void 0 || (_globalProps$organiza = globalProps.organization) === null || _globalProps$organiza === void 0 ? void 0 : _globalProps$organiza.id,
2362
2362
  integrator_type: "Organization",
2363
- redirect_path: "/projects"
2363
+ redirect_path: "/projects/new"
2364
2364
  });
2365
2365
  var NEW_INSTALLATION_URL = "/github_integrations/app_installations/new?".concat(newInstallationParams);
2366
2366
  var TROUBLESHOOT_URL = "https://render.com/docs/github#troubleshooting";
@@ -2450,10 +2450,11 @@ var NoRepositories = withT(function (_ref) {
2450
2450
  })));
2451
2451
  });
2452
2452
 
2453
- var RepositoryTile = withT(function (_ref) {
2454
- var t = _ref.t,
2455
- onConnect = _ref.onConnect,
2453
+ var RepositoryTile = function RepositoryTile(_ref) {
2454
+ var onConnect = _ref.onConnect,
2456
2455
  repository = _ref.repository;
2456
+ var _useTranslation = useTranslation(),
2457
+ t = _useTranslation.t;
2457
2458
  var id = repository.id,
2458
2459
  fullName = repository.fullName,
2459
2460
  isPrivate = repository.isPrivate,
@@ -2487,7 +2488,7 @@ var RepositoryTile = withT(function (_ref) {
2487
2488
  });
2488
2489
  }
2489
2490
  }, t("neetoGithub.connect")));
2490
- });
2491
+ };
2491
2492
 
2492
2493
  var List = withT(function (_ref) {
2493
2494
  var t = _ref.t,
@@ -2660,7 +2661,7 @@ var Repositories = function Repositories(_ref) {
2660
2661
  installationUrl = _ref.installationUrl,
2661
2662
  troubleshootUrl = _ref.troubleshootUrl;
2662
2663
  return /*#__PURE__*/React.createElement("div", {
2663
- className: "w-full space-y-6 2xl:max-w-4xl"
2664
+ className: "w-full space-y-6 2xl:max-w-7xl"
2664
2665
  }, /*#__PURE__*/React.createElement(Private, {
2665
2666
  isPublicRepoAllowed: isPublicRepoAllowed,
2666
2667
  installationUrl: installationUrl,
@@ -2697,7 +2698,7 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2697
2698
  initialFocusRef: initialFocusRef,
2698
2699
  isOpen: isOpen,
2699
2700
  onClose: onClose,
2700
- closeButton: false,
2701
+ className: "neeto-github-modal-pane-wrapper",
2701
2702
  size: "large"
2702
2703
  }, /*#__PURE__*/React.createElement(Pane.Header, null, /*#__PURE__*/React.createElement(Typography, {
2703
2704
  style: "h2"
@@ -2705,7 +2706,7 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2705
2706
  className: "mt-4",
2706
2707
  style: "body2"
2707
2708
  }, t("neetoGithub.modal.description"))), /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
2708
- className: "w-full 2xl:max-w-7xl"
2709
+ className: "w-full"
2709
2710
  }, /*#__PURE__*/React.createElement("div", {
2710
2711
  className: "flex flex-col-reverse 2xl:flex-row"
2711
2712
  }, /*#__PURE__*/React.createElement(Repositories, {
@@ -2723,5 +2724,10 @@ var NeetoGithubNanoModal = function NeetoGithubNanoModal(_ref) {
2723
2724
  })))));
2724
2725
  };
2725
2726
 
2727
+ var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
2728
+
2729
+ var css = ".width-calc{width:calc(100% - 82px)}.neeto-github-modal-pane-wrapper{width:min(75%,1280px)}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2NvbXBvbmVudHMvX3JlcG9zaXRvcnktdGlsZS5zY3NzIiwiYXBwL2phdmFzY3JpcHQvc3R5bGVzaGVldHMvYXBwbGljYXRpb24uc2NzcyIsImFwcC9qYXZhc2NyaXB0L3N0eWxlc2hlZXRzL2NvbXBvbmVudHMvX3BhbmUuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxZQUNFLHVCQ0NGLENDRkEsaUNBQ0UscUJES0YiLCJzb3VyY2VzQ29udGVudCI6WyIud2lkdGgtY2FsYyB7XG4gIHdpZHRoOiBjYWxjKDEwMCUgLSA4MnB4KTtcbn1cbiIsIi53aWR0aC1jYWxjIHtcbiAgd2lkdGg6IGNhbGMoMTAwJSAtIDgycHgpO1xufVxuXG4ubmVldG8tZ2l0aHViLW1vZGFsLXBhbmUtd3JhcHBlciB7XG4gIHdpZHRoOiBtaW4oNzUlLCAxMjgwcHgpO1xufSIsIi5uZWV0by1naXRodWItbW9kYWwtcGFuZS13cmFwcGVyIHtcbiAgd2lkdGg6IG1pbig3NSUsIDEyODBweCk7XG59XG4iXX0= */";
2730
+ n(css,{});
2731
+
2726
2732
  export { NeetoGithubNanoModal };
2727
2733
  //# sourceMappingURL=index.js.map