@forge-connect/react 1.0.11 → 1.0.12
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.cjs +19 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -2
- package/dist/index.js.map +1 -1
- package/dist/styles.css +45 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -926,7 +926,7 @@ function MatricaWalletEntry() {
|
|
|
926
926
|
className: "fc-btn fc-btn-wallet",
|
|
927
927
|
onClick: () => loginWithOAuth("matrica"),
|
|
928
928
|
children: [
|
|
929
|
-
/* @__PURE__ */ jsx6(
|
|
929
|
+
/* @__PURE__ */ jsx6(SvgIcon, { svg: info.icon, className: "fc-oauth-icon" }),
|
|
930
930
|
/* @__PURE__ */ jsx6("span", { className: "fc-wallet-name", children: info.label }),
|
|
931
931
|
/* @__PURE__ */ jsx6("span", { className: "fc-badge-preferred", children: "Brings wallets" })
|
|
932
932
|
]
|
|
@@ -1470,7 +1470,8 @@ function LoginModal() {
|
|
|
1470
1470
|
config.appearance.termsUrl && /* @__PURE__ */ jsx9("a", { href: config.appearance.termsUrl, target: "_blank", rel: "noopener noreferrer", className: "fc-legal-link", children: "Terms" }),
|
|
1471
1471
|
config.appearance.termsUrl && config.appearance.privacyUrl && " and ",
|
|
1472
1472
|
config.appearance.privacyUrl && /* @__PURE__ */ jsx9("a", { href: config.appearance.privacyUrl, target: "_blank", rel: "noopener noreferrer", className: "fc-legal-link", children: "Privacy Policy" })
|
|
1473
|
-
] })
|
|
1473
|
+
] }),
|
|
1474
|
+
/* @__PURE__ */ jsx9(NomuPill, {})
|
|
1474
1475
|
] })
|
|
1475
1476
|
}
|
|
1476
1477
|
) });
|
|
@@ -1587,6 +1588,22 @@ function OAuthLoadingView() {
|
|
|
1587
1588
|
/* @__PURE__ */ jsx9("button", { type: "button", className: "fc-btn fc-btn-secondary", style: { marginTop: "16px" }, onClick: () => setModalStep("method-select"), children: "Cancel" })
|
|
1588
1589
|
] });
|
|
1589
1590
|
}
|
|
1591
|
+
var NOMU_LOGO = '<svg viewBox="0 0 466 115" fill="currentColor" xmlns="http://www.w3.org/2000/svg" aria-label="Nomu"><path d="M86.1037 1.64399C89.2226 2.96692 92.9067 6.05804 94.8954 8.90299C101.195 17.9195 103.263 31.5362 105.652 42.3487C108.921 57.1343 113.078 73.2835 111.843 88.981C111.25 96.5118 107.934 104.178 100.485 106.907C78.5857 114.928 68.4753 94.3605 55.5778 81.0755C54.0151 79.4657 49.9264 75.4498 48.017 74.7242C45.1699 73.6431 46.4243 77.2266 46.9038 78.6202C48.9075 84.4342 52.7842 89.1608 55.1111 94.4333C58.2322 101.506 56.3335 109.491 48.9353 112.563C38.6837 116.818 24.7051 108.932 18.1076 100.994C9.79754 90.9975 3.49328 72.2174 1.14497 59.3049C-1.5908 44.2668 -0.458383 24.9194 16.2003 18.5938C32.7091 12.3216 46.9723 35.7212 56.8964 45.2451C58.5169 46.8013 61.9677 50.9392 63.3912 46.949C64.6285 43.4833 63.6652 36.0102 63.4983 32.0543C62.9845 19.8418 61.3918 -1.3144 79.4334 0.0641835C81.3279 0.209749 84.3483 0.899043 86.1015 1.64399H86.1037Z"/><path d="M198.265 10.0303C208.463 15.8037 214.843 26.2244 217.82 37.2467C220.237 46.1968 221.048 56.7482 219.807 66.1799C216.628 90.3223 200.149 109.849 174.493 110.988C157.695 111.733 139.746 105.682 131.472 90.1896C118.984 66.8071 137.597 43.8678 152.329 27.1128C164.501 13.2691 178.368 -1.23604 198.265 10.0303ZM175.364 41.9176C169.771 38.1072 164.25 44.1996 162.46 49.0803C159.339 57.5916 160.988 72.0346 172.766 71.1591C180.16 70.609 181.427 61.1108 181.02 55.2047C180.752 51.3451 178.7 44.1867 175.364 41.9155V41.9176Z"/><path d="M324.975 3.83292C329.706 5.77236 335.978 13.6051 338.509 17.8479C348.347 34.3438 351.002 53.6547 350.321 73.0085C349.884 85.4008 348.086 102.122 337.415 109.993C321.938 121.407 304.25 107.993 308.199 89.9711C308.681 87.7705 309.725 85.6213 310.52 83.5555C311.913 79.9293 311.83 74.2415 310.92 70.2556C310.903 70.1807 310.614 69.4079 310.483 68.9476C309.62 65.8737 307.548 61.6908 303.712 63.5468C302.409 64.1783 300.839 66.2162 299.022 67.096C292.491 70.2577 283.616 65.5697 280.37 59.4559C279.444 57.707 277.958 52.7728 276.322 51.9444C274.342 50.9425 273.617 52.8948 273.09 54.4382C271.587 58.8437 271.701 66.5394 273.096 71.2232C273.957 74.1088 275.809 76.866 276.92 79.6103C281.115 89.9733 285.647 107.621 270.934 111.791C262.391 114.212 256.003 109.961 250.756 103.888C231.165 81.2072 230.598 47.9049 244.878 21.7289C250.014 12.3142 256.371 6.06777 268.012 6.30967C275.396 6.4638 279.829 10.469 283.241 16.5442C285.532 20.62 287.7 25.1582 290.905 28.7995C293.204 31.4111 296.462 34.0398 299.778 31.2077C303.727 27.8362 305.846 18.0876 308.505 13.2219C311.802 7.18948 317.203 0.649749 324.973 3.83292H324.975Z"/><path d="M452.977 13.4681C459.921 19.2693 464.095 29.0907 465.288 37.8695C468.466 61.282 454.854 98.4611 432.55 109.468C421.31 115.015 406.192 112.904 394.569 109.445C375.919 103.894 364.978 87.4109 363.803 68.2841C362.775 51.5612 371.925 30.2787 381.817 17.15C388.977 7.64763 404.21 11.5072 408.836 21.3243C411.705 27.4124 409.059 30.8824 406.488 36.0436C430.727 62.0334 432.463 57.1377 431.208 47.5453C429.772 36.5723 421.213 13.8256 437.17 9.58065C442.973 8.03724 448.492 9.72193 452.977 13.4681Z"/></svg>';
|
|
1592
|
+
function NomuPill() {
|
|
1593
|
+
return /* @__PURE__ */ jsx9("div", { className: "fc-nomu-wrap", children: /* @__PURE__ */ jsxs8(
|
|
1594
|
+
"a",
|
|
1595
|
+
{
|
|
1596
|
+
href: "https://www.nomu.dev/",
|
|
1597
|
+
target: "_blank",
|
|
1598
|
+
rel: "noopener noreferrer",
|
|
1599
|
+
className: "fc-nomu-pill",
|
|
1600
|
+
children: [
|
|
1601
|
+
/* @__PURE__ */ jsx9("span", { children: "Powered by" }),
|
|
1602
|
+
/* @__PURE__ */ jsx9(SvgIcon, { svg: NOMU_LOGO, className: "fc-nomu-logo" })
|
|
1603
|
+
]
|
|
1604
|
+
}
|
|
1605
|
+
) });
|
|
1606
|
+
}
|
|
1590
1607
|
function SuccessView() {
|
|
1591
1608
|
return /* @__PURE__ */ jsxs8("div", { className: "fc-success", children: [
|
|
1592
1609
|
/* @__PURE__ */ jsx9("div", { className: "fc-success-icon", children: /* @__PURE__ */ jsxs8("svg", { viewBox: "0 0 52 52", className: "fc-success-check", children: [
|