@proappstore/sdk 1.16.59 → 1.16.60
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/shell-css.d.ts +7 -5
- package/dist/shell-css.d.ts.map +1 -1
- package/dist/shell-css.js +17 -5
- package/dist/shell-css.js.map +1 -1
- package/dist/shell.css +10 -0
- package/dist/shell.js +4 -29
- package/dist/shell.js.map +1 -1
- package/package.json +1 -1
package/dist/shell-css.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ProShell's
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* ProShell's styles: the frame itself — wrapper, sticky topbar, main, footer,
|
|
3
|
+
* profile-menu items (#235) — and the resilience and feedback layer (#236):
|
|
4
|
+
* skip link, offline banner, toast region, error and loading fallbacks,
|
|
5
|
+
* PageHeader. Same model as navbar-css.ts: canonical tokens only (PAS-UI-001),
|
|
6
|
+
* mirrored by Tailwind classes on the elements, injected by ProShell at render
|
|
7
|
+
* so an app needs no configuration, and appended to dist/shell.css.
|
|
6
8
|
*/
|
|
7
|
-
export declare const SHELL_CSS = ".pas-skip-link:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}\n.pas-skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:1200;padding:.7rem 1rem;border:2px solid var(--accent);border-radius:10px;background:var(--paper);color:var(--ink);font-weight:600;text-decoration:none;outline:2px solid var(--accent);outline-offset:2px}\n.pas-main:focus{outline:none}\n.pas-offline{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .5rem .25rem 1rem;background:var(--panel);color:var(--ink);border-bottom:1px solid var(--line);border-left:3px solid var(--warning);font-size:.875rem}\n.pas-toast-region{position:fixed;bottom:1.25rem;left:50%;z-index:1100;display:flex;flex-direction:column;align-items:center;gap:.5rem;max-width:calc(100vw - 2rem);transform:translateX(-50%);pointer-events:none}\n.pas-toast{display:flex;align-items:center;gap:.75rem;padding:.25rem .25rem .25rem 1rem;background:var(--ink);color:var(--paper);border-left:3px solid var(--accent);border-radius:var(--radius,.75rem);box-shadow:0 8px 24px rgba(0,0,0,.3);font-size:.875rem;pointer-events:auto}\n.pas-toast[data-variant=\"success\"]{border-left-color:var(--success)}\n.pas-toast[data-variant=\"error\"]{border-left-color:var(--danger)}\n.pas-dismiss{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:1.1rem;line-height:1;cursor:pointer;opacity:.75}\n.pas-dismiss:hover{opacity:1}\n.pas-shell-loading{display:flex;flex:1;align-items:center;justify-content:center;padding:3rem 1rem}\n.pas-shell-error{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 1rem;text-align:center;color:var(--ink)}\n.pas-shell-error h1{margin:0;font-size:1.25rem}\n.pas-shell-error p{margin:0;max-width:32rem;color:var(--muted);font-size:.9rem}\n.pas-shell-error__retry{min-height:44px;padding:0 1.25rem;border:0;border-radius:10px;background:var(--accent);color:var(--paper);font:inherit;font-weight:600;cursor:pointer}\n.pas-page-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.75rem;margin:0 0 1.25rem}\n.pas-page-header__title{margin:0;color:var(--ink);font-size:1.5rem;font-weight:700;line-height:1.2}\n.pas-page-header__title:focus{outline:none}\n.pas-page-header__description{margin:.25rem 0 0;color:var(--muted);font-size:.9rem}\n.pas-dismiss:focus-visible,.pas-shell-error__retry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}\n";
|
|
9
|
+
export declare const SHELL_CSS = ".pas-shell{display:flex;flex-direction:column;min-height:100dvh}\n.pas-topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border-bottom:1px solid var(--line);background:var(--panel)}\n.pas-topbar__brand{display:flex;align-items:center;gap:.75rem}\n.pas-topbar__logo{color:var(--accent);font-size:1rem;font-weight:800;text-decoration:none}\n.pas-topbar__app{color:var(--muted);font-size:.85rem;font-weight:600}\n.pas-topbar__account{display:flex;align-items:center;gap:.5rem}\n.pas-main{display:flex;flex:1;flex-direction:column}\n.pas-footer{padding:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;text-align:center}\n.pas-footer__link{color:var(--accent);font-weight:600;text-decoration:none}\n.pas-menu-item{display:block;width:100%;padding:.5rem 1rem;border:0;background:none;color:var(--ink);font:inherit;font-size:.85rem;text-align:left;cursor:pointer}\n.pas-skip-link:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}\n.pas-skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:1200;padding:.7rem 1rem;border:2px solid var(--accent);border-radius:10px;background:var(--paper);color:var(--ink);font-weight:600;text-decoration:none;outline:2px solid var(--accent);outline-offset:2px}\n.pas-main:focus{outline:none}\n.pas-offline{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .5rem .25rem 1rem;background:var(--panel);color:var(--ink);border-bottom:1px solid var(--line);border-left:3px solid var(--warning);font-size:.875rem}\n.pas-toast-region{position:fixed;bottom:1.25rem;left:50%;z-index:1100;display:flex;flex-direction:column;align-items:center;gap:.5rem;max-width:calc(100vw - 2rem);transform:translateX(-50%);pointer-events:none}\n.pas-toast{display:flex;align-items:center;gap:.75rem;padding:.25rem .25rem .25rem 1rem;background:var(--ink);color:var(--paper);border-left:3px solid var(--accent);border-radius:var(--radius,.75rem);box-shadow:0 8px 24px rgba(0,0,0,.3);font-size:.875rem;pointer-events:auto}\n.pas-toast[data-variant=\"success\"]{border-left-color:var(--success)}\n.pas-toast[data-variant=\"error\"]{border-left-color:var(--danger)}\n.pas-dismiss{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:1.1rem;line-height:1;cursor:pointer;opacity:.75}\n.pas-dismiss:hover{opacity:1}\n.pas-shell-loading{display:flex;flex:1;align-items:center;justify-content:center;padding:3rem 1rem}\n.pas-shell-error{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:3rem 1rem;text-align:center;color:var(--ink)}\n.pas-shell-error h1{margin:0;font-size:1.25rem}\n.pas-shell-error p{margin:0;max-width:32rem;color:var(--muted);font-size:.9rem}\n.pas-shell-error__retry{min-height:44px;padding:0 1.25rem;border:0;border-radius:10px;background:var(--accent);color:var(--paper);font:inherit;font-weight:600;cursor:pointer}\n.pas-page-header{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:.75rem;margin:0 0 1.25rem}\n.pas-page-header__title{margin:0;color:var(--ink);font-size:1.5rem;font-weight:700;line-height:1.2}\n.pas-page-header__title:focus{outline:none}\n.pas-page-header__description{margin:.25rem 0 0;color:var(--muted);font-size:.9rem}\n.pas-dismiss:focus-visible,.pas-shell-error__retry:focus-visible{outline:2px solid var(--accent);outline-offset:2px}\n";
|
|
8
10
|
//# sourceMappingURL=shell-css.d.ts.map
|
package/dist/shell-css.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-css.d.ts","sourceRoot":"","sources":["../src/shell-css.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"shell-css.d.ts","sourceRoot":"","sources":["../src/shell-css.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,skHA8BrB,CAAC"}
|
package/dist/shell-css.js
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ProShell's
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* ProShell's styles: the frame itself — wrapper, sticky topbar, main, footer,
|
|
3
|
+
* profile-menu items (#235) — and the resilience and feedback layer (#236):
|
|
4
|
+
* skip link, offline banner, toast region, error and loading fallbacks,
|
|
5
|
+
* PageHeader. Same model as navbar-css.ts: canonical tokens only (PAS-UI-001),
|
|
6
|
+
* mirrored by Tailwind classes on the elements, injected by ProShell at render
|
|
7
|
+
* so an app needs no configuration, and appended to dist/shell.css.
|
|
6
8
|
*/
|
|
7
|
-
export const SHELL_CSS = `.pas-
|
|
9
|
+
export const SHELL_CSS = `.pas-shell{display:flex;flex-direction:column;min-height:100dvh}
|
|
10
|
+
.pas-topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border-bottom:1px solid var(--line);background:var(--panel)}
|
|
11
|
+
.pas-topbar__brand{display:flex;align-items:center;gap:.75rem}
|
|
12
|
+
.pas-topbar__logo{color:var(--accent);font-size:1rem;font-weight:800;text-decoration:none}
|
|
13
|
+
.pas-topbar__app{color:var(--muted);font-size:.85rem;font-weight:600}
|
|
14
|
+
.pas-topbar__account{display:flex;align-items:center;gap:.5rem}
|
|
15
|
+
.pas-main{display:flex;flex:1;flex-direction:column}
|
|
16
|
+
.pas-footer{padding:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;text-align:center}
|
|
17
|
+
.pas-footer__link{color:var(--accent);font-weight:600;text-decoration:none}
|
|
18
|
+
.pas-menu-item{display:block;width:100%;padding:.5rem 1rem;border:0;background:none;color:var(--ink);font:inherit;font-size:.85rem;text-align:left;cursor:pointer}
|
|
19
|
+
.pas-skip-link:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
|
|
8
20
|
.pas-skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:1200;padding:.7rem 1rem;border:2px solid var(--accent);border-radius:10px;background:var(--paper);color:var(--ink);font-weight:600;text-decoration:none;outline:2px solid var(--accent);outline-offset:2px}
|
|
9
21
|
.pas-main:focus{outline:none}
|
|
10
22
|
.pas-offline{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .5rem .25rem 1rem;background:var(--panel);color:var(--ink);border-bottom:1px solid var(--line);border-left:3px solid var(--warning);font-size:.875rem}
|
package/dist/shell-css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell-css.js","sourceRoot":"","sources":["../src/shell-css.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"shell-css.js","sourceRoot":"","sources":["../src/shell-css.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BxB,CAAC"}
|
package/dist/shell.css
CHANGED
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
.pas-nav__link[aria-current="page"]{color:var(--accent);background:var(--line)}
|
|
7
7
|
.pas-nav__toggle:focus-visible,.pas-nav__link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
|
|
8
8
|
@media (max-width:639px){.pas-nav{flex:0 0 auto;margin:0}.pas-nav__toggle{display:inline-flex}.pas-nav__list{display:none;position:absolute;top:calc(100% + .5rem);left:0;z-index:60;flex-direction:column;align-items:stretch;min-width:12rem;padding:.5rem;overflow:visible;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.12)}.pas-nav[data-open="true"] .pas-nav__list{display:flex}}
|
|
9
|
+
.pas-shell{display:flex;flex-direction:column;min-height:100dvh}
|
|
10
|
+
.pas-topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border-bottom:1px solid var(--line);background:var(--panel)}
|
|
11
|
+
.pas-topbar__brand{display:flex;align-items:center;gap:.75rem}
|
|
12
|
+
.pas-topbar__logo{color:var(--accent);font-size:1rem;font-weight:800;text-decoration:none}
|
|
13
|
+
.pas-topbar__app{color:var(--muted);font-size:.85rem;font-weight:600}
|
|
14
|
+
.pas-topbar__account{display:flex;align-items:center;gap:.5rem}
|
|
15
|
+
.pas-main{display:flex;flex:1;flex-direction:column}
|
|
16
|
+
.pas-footer{padding:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.75rem;text-align:center}
|
|
17
|
+
.pas-footer__link{color:var(--accent);font-weight:600;text-decoration:none}
|
|
18
|
+
.pas-menu-item{display:block;width:100%;padding:.5rem 1rem;border:0;background:none;color:var(--ink);font:inherit;font-size:.85rem;text-align:left;cursor:pointer}
|
|
9
19
|
.pas-skip-link:not(:focus){position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
|
|
10
20
|
.pas-skip-link:focus{position:fixed;top:.5rem;left:.5rem;z-index:1200;padding:.7rem 1rem;border:2px solid var(--accent);border-radius:10px;background:var(--paper);color:var(--ink);font-weight:600;text-decoration:none;outline:2px solid var(--accent);outline-offset:2px}
|
|
11
21
|
.pas-main:focus{outline:none}
|
package/dist/shell.js
CHANGED
|
@@ -91,7 +91,7 @@ export function ProShell({ app, children, appName, nav, renderNav, onNavigate, a
|
|
|
91
91
|
if (!user) {
|
|
92
92
|
return _jsx(GateScreen, { gate: "signed-out", app: app, appName: appName });
|
|
93
93
|
}
|
|
94
|
-
const profileMenu = (_jsx(ProfileMenu, { app: app, showThemeToggle: showThemeToggle, children: menuItems?.map((item, i) => (_jsx("button", { onClick: item.onClick,
|
|
94
|
+
const profileMenu = (_jsx(ProfileMenu, { app: app, showThemeToggle: showThemeToggle, children: menuItems?.map((item, i) => (_jsx("button", { type: "button", onClick: item.onClick, className: "pas-menu-item block w-full cursor-pointer border-0 bg-transparent px-4 py-2 text-left text-[0.85rem] text-[var(--ink)]", children: item.label }, i))) }));
|
|
95
95
|
// Client-side navigation goes through the shell, so it knows the route changed
|
|
96
96
|
// (scroll, focus, titles). Without onNavigate, items are plain links.
|
|
97
97
|
const navigate = onNavigate
|
|
@@ -120,35 +120,10 @@ export function ProShell({ app, children, appName, nav, renderNav, onNavigate, a
|
|
|
120
120
|
proBadge: subscription?.status === 'active' ? _jsx(ProBadge, {}) : null,
|
|
121
121
|
nav: navNode,
|
|
122
122
|
};
|
|
123
|
-
const topbar = renderTopbar ? renderTopbar(shellContext) : hideTopbar ? null : (_jsxs("header", {
|
|
124
|
-
const footer = renderFooter ? renderFooter(shellContext) : hideFooter ? null : (_jsxs("footer", {
|
|
123
|
+
const topbar = renderTopbar ? renderTopbar(shellContext) : hideTopbar ? null : (_jsxs("header", { className: "pas-topbar sticky top-0 z-50 flex items-center justify-between border-b border-[var(--line)] bg-[var(--panel)] px-4 py-2", children: [_jsxs("div", { className: "pas-topbar__brand flex items-center gap-3", children: [_jsx("a", { href: "https://proappstore.online", className: "pas-topbar__logo text-base font-extrabold text-[var(--accent)] no-underline", children: "Pro" }), appName && _jsx("span", { className: "pas-topbar__app text-[0.85rem] font-semibold text-[var(--muted)]", children: appName }), shellContext.proBadge] }), shellContext.nav, _jsxs("div", { className: "pas-topbar__account flex items-center gap-2", children: [shellContext.textSizeToggle, shellContext.profileMenu] })] }));
|
|
124
|
+
const footer = renderFooter ? renderFooter(shellContext) : hideFooter ? null : (_jsxs("footer", { className: "pas-footer border-t border-[var(--line)] p-4 text-center text-xs text-[var(--muted)]", children: ["Part of", ' ', _jsx("a", { href: "https://proappstore.online", className: "pas-footer__link font-semibold text-[var(--accent)] no-underline", children: "ProAppStore" })] }));
|
|
125
125
|
const loading = renderLoading ? renderLoading() : (_jsx("div", { className: "pas-shell-loading flex flex-1 items-center justify-center px-4 py-12", children: _jsx(Spinner, { size: 28 }) }));
|
|
126
126
|
// --- Ready: render app with topbar ---
|
|
127
|
-
return (_jsx(ProProvider, { app: app, children: _jsx(ToastProvider, { children: _jsxs("div", {
|
|
127
|
+
return (_jsx(ProProvider, { app: app, children: _jsx(ToastProvider, { children: _jsxs("div", { className: "pas-shell flex min-h-dvh flex-col", children: [_jsx(SkipLink, { mainRef: mainRef }), topbar, _jsx(OfflineBanner, {}), _jsx("main", { id: "main", ref: mainRef, tabIndex: -1, className: "pas-main flex flex-1 flex-col", children: _jsx(ShellErrorBoundary, { app: app, renderError: renderError, resetKey: currentPath, children: _jsx(Suspense, { fallback: loading, children: children }) }) }), footer] }) }) }));
|
|
128
128
|
}
|
|
129
|
-
const menuItemStyle = {
|
|
130
|
-
display: 'block', width: '100%', padding: '0.5rem 1rem',
|
|
131
|
-
background: 'none', border: 'none', textAlign: 'left',
|
|
132
|
-
fontSize: '0.85rem', cursor: 'pointer',
|
|
133
|
-
color: 'var(--ink)', fontFamily: 'inherit',
|
|
134
|
-
};
|
|
135
|
-
const styles = {
|
|
136
|
-
shell: { minHeight: '100dvh', display: 'flex', flexDirection: 'column' },
|
|
137
|
-
topbar: {
|
|
138
|
-
display: 'flex', alignItems: 'center', justifyContent: 'space-between',
|
|
139
|
-
padding: '0.5rem 1rem',
|
|
140
|
-
borderBottom: '1px solid var(--line)',
|
|
141
|
-
background: 'var(--panel)',
|
|
142
|
-
position: 'sticky', top: 0, zIndex: 50,
|
|
143
|
-
},
|
|
144
|
-
topbarLeft: { display: 'flex', alignItems: 'center', gap: '0.75rem' },
|
|
145
|
-
logoLink: { fontWeight: 800, fontSize: '1rem', color: 'var(--accent)', textDecoration: 'none' },
|
|
146
|
-
appName: { fontSize: '0.85rem', fontWeight: 600, color: 'var(--muted)' },
|
|
147
|
-
main: { flex: 1, display: 'flex', flexDirection: 'column' },
|
|
148
|
-
footer: {
|
|
149
|
-
padding: '1rem', textAlign: 'center', fontSize: '0.75rem',
|
|
150
|
-
color: 'var(--muted)',
|
|
151
|
-
borderTop: '1px solid var(--line)',
|
|
152
|
-
},
|
|
153
|
-
};
|
|
154
129
|
//# sourceMappingURL=shell.js.map
|
package/dist/shell.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../src/shell.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,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