@flytedan/flytebot-design-system 0.20.0 → 0.21.0
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6612,7 +6612,7 @@ function ProfilePage({
|
|
|
6612
6612
|
// src/components/platform/SignInPage.tsx
|
|
6613
6613
|
var React42 = __toESM(require("react"), 1);
|
|
6614
6614
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6615
|
-
function SignInPage({ productName, onSignIn, continueAs }) {
|
|
6615
|
+
function SignInPage({ productName, onSignIn, continueAs, error }) {
|
|
6616
6616
|
const [signingIn, setSigningIn] = React42.useState(false);
|
|
6617
6617
|
const [resuming, setResuming] = React42.useState(false);
|
|
6618
6618
|
function handleSignIn() {
|
|
@@ -6698,6 +6698,7 @@ function SignInPage({ productName, onSignIn, continueAs }) {
|
|
|
6698
6698
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("h1", { className: "fd-h3", style: { color: "var(--navy)" }, children: productName }),
|
|
6699
6699
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("p", { className: "fd-body-sm fd-muted", style: { marginTop: "var(--s-4)" }, children: continueAs ? "Your session timed out, but you're likely still signed in" : "Sign in with your flytedesk workspace account" })
|
|
6700
6700
|
] }),
|
|
6701
|
+
error ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { role: "alert", style: { width: "100%" }, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Banner, { tone: "danger", title: error }) }) : null,
|
|
6701
6702
|
continueAs ? /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
|
|
6702
6703
|
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
|
|
6703
6704
|
Button,
|