@hook-sdk/template 0.28.8 → 0.28.9
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 +41 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +41 -27
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2004,33 +2004,47 @@ function SessionExpiredBanner() {
|
|
|
2004
2004
|
localStorage.setItem(DISMISS_KEY, String(Date.now() + DISMISS_TTL_MS));
|
|
2005
2005
|
setShow(false);
|
|
2006
2006
|
}
|
|
2007
|
-
return /* @__PURE__ */ jsxs11(
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
"
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
children: "
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2007
|
+
return /* @__PURE__ */ jsxs11(
|
|
2008
|
+
"div",
|
|
2009
|
+
{
|
|
2010
|
+
role: "alert",
|
|
2011
|
+
className: "fixed top-0 inset-x-0 px-4 py-3 flex items-center justify-between gap-3 text-sm font-medium shadow-lg",
|
|
2012
|
+
style: {
|
|
2013
|
+
zIndex: 10001,
|
|
2014
|
+
backgroundColor: "#991b1b",
|
|
2015
|
+
color: "#ffffff"
|
|
2016
|
+
},
|
|
2017
|
+
children: [
|
|
2018
|
+
/* @__PURE__ */ jsxs11("span", { children: [
|
|
2019
|
+
/* @__PURE__ */ jsx17("strong", { className: "font-bold", children: "Sua sess\xE3o expirou." }),
|
|
2020
|
+
" Fa\xE7a login novamente para continuar."
|
|
2021
|
+
] }),
|
|
2022
|
+
/* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
|
|
2023
|
+
/* @__PURE__ */ jsx17(
|
|
2024
|
+
"button",
|
|
2025
|
+
{
|
|
2026
|
+
type: "button",
|
|
2027
|
+
onClick: dismiss,
|
|
2028
|
+
className: "px-3 py-1.5 rounded text-xs font-semibold",
|
|
2029
|
+
style: { backgroundColor: "#ffffff", color: "#991b1b" },
|
|
2030
|
+
children: "Fazer login"
|
|
2031
|
+
}
|
|
2032
|
+
),
|
|
2033
|
+
/* @__PURE__ */ jsx17(
|
|
2034
|
+
"button",
|
|
2035
|
+
{
|
|
2036
|
+
type: "button",
|
|
2037
|
+
onClick: dismiss,
|
|
2038
|
+
"aria-label": "Fechar",
|
|
2039
|
+
className: "px-2 py-1 text-xs",
|
|
2040
|
+
style: { color: "#ffffff" },
|
|
2041
|
+
children: "Fechar"
|
|
2042
|
+
}
|
|
2043
|
+
)
|
|
2044
|
+
] })
|
|
2045
|
+
]
|
|
2046
|
+
}
|
|
2047
|
+
);
|
|
2034
2048
|
}
|
|
2035
2049
|
|
|
2036
2050
|
// src/internal/EmailVerifyBanner.tsx
|