@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.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)(
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
"
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
children: "
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
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
|