@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.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("div", { role: "alert", className: "fixed top-0 inset-x-0 bg-red-600 text-white px-4 py-2 flex items-center justify-between gap-3 text-sm shadow", style: { zIndex: 10001 }, children: [
2008
- /* @__PURE__ */ jsxs11("span", { children: [
2009
- /* @__PURE__ */ jsx17("strong", { children: "Sua sess\xE3o expirou." }),
2010
- " Fa\xE7a login novamente para continuar."
2011
- ] }),
2012
- /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
2013
- /* @__PURE__ */ jsx17(
2014
- "button",
2015
- {
2016
- type: "button",
2017
- onClick: dismiss,
2018
- className: "px-3 py-1 bg-white text-red-700 rounded text-xs font-medium hover:bg-red-50",
2019
- children: "Fazer login"
2020
- }
2021
- ),
2022
- /* @__PURE__ */ jsx17(
2023
- "button",
2024
- {
2025
- type: "button",
2026
- onClick: dismiss,
2027
- "aria-label": "Fechar",
2028
- className: "px-2 py-1 text-white/80 hover:text-white text-xs",
2029
- children: "Fechar"
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