@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 CHANGED
@@ -2115,33 +2115,47 @@ function SessionExpiredBanner() {
2115
2115
  localStorage.setItem(DISMISS_KEY, String(Date.now() + DISMISS_TTL_MS));
2116
2116
  setShow(false);
2117
2117
  }
2118
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("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: [
2119
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { children: [
2120
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("strong", { children: "Sua sess\xE3o expirou." }),
2121
- " Fa\xE7a login novamente para continuar."
2122
- ] }),
2123
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex items-center gap-2", children: [
2124
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2125
- "button",
2126
- {
2127
- type: "button",
2128
- onClick: dismiss,
2129
- className: "px-3 py-1 bg-white text-red-700 rounded text-xs font-medium hover:bg-red-50",
2130
- children: "Fazer login"
2131
- }
2132
- ),
2133
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2134
- "button",
2135
- {
2136
- type: "button",
2137
- onClick: dismiss,
2138
- "aria-label": "Fechar",
2139
- className: "px-2 py-1 text-white/80 hover:text-white text-xs",
2140
- children: "Fechar"
2141
- }
2142
- )
2143
- ] })
2144
- ] });
2118
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
2119
+ "div",
2120
+ {
2121
+ role: "alert",
2122
+ className: "fixed top-0 inset-x-0 px-4 py-3 flex items-center justify-between gap-3 text-sm font-medium shadow-lg",
2123
+ style: {
2124
+ zIndex: 10001,
2125
+ backgroundColor: "#991b1b",
2126
+ color: "#ffffff"
2127
+ },
2128
+ children: [
2129
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { children: [
2130
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("strong", { className: "font-bold", children: "Sua sess\xE3o expirou." }),
2131
+ " Fa\xE7a login novamente para continuar."
2132
+ ] }),
2133
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex items-center gap-2", children: [
2134
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2135
+ "button",
2136
+ {
2137
+ type: "button",
2138
+ onClick: dismiss,
2139
+ className: "px-3 py-1.5 rounded text-xs font-semibold",
2140
+ style: { backgroundColor: "#ffffff", color: "#991b1b" },
2141
+ children: "Fazer login"
2142
+ }
2143
+ ),
2144
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
2145
+ "button",
2146
+ {
2147
+ type: "button",
2148
+ onClick: dismiss,
2149
+ "aria-label": "Fechar",
2150
+ className: "px-2 py-1 text-xs",
2151
+ style: { color: "#ffffff" },
2152
+ children: "Fechar"
2153
+ }
2154
+ )
2155
+ ] })
2156
+ ]
2157
+ }
2158
+ );
2145
2159
  }
2146
2160
 
2147
2161
  // src/internal/EmailVerifyBanner.tsx