@skiddph/prui 0.5.0 → 0.6.0
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/app/app.d.ts +9 -4
- package/dist/app.js +1 -1
- package/dist/chunks/{auth-shell-B-YOvTD2.js → auth-shell-CW2XMz2G.js} +302 -280
- package/dist/index.js +1 -1
- package/dist/prui-utilities.css +1 -1
- package/dist/prui.css +87 -26
- package/dist/theme/base.css +86 -25
- package/package.json +1 -1
package/dist/app/app.d.ts
CHANGED
|
@@ -75,13 +75,18 @@ export interface AppProps {
|
|
|
75
75
|
/** A pathname (e.g. "/") on which every nav group starts expanded. */
|
|
76
76
|
expandAllOn?: string;
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Shell arrangement (A/B/C also work collapsed on mobile via the rail):
|
|
79
79
|
* - "A" full-height sidebar, header inside the content column (default)
|
|
80
|
-
* - "B" full-width header,
|
|
81
|
-
* - "C" full-width header
|
|
82
|
-
*
|
|
80
|
+
* - "B" full-width header, sidebar below it
|
|
81
|
+
* - "C" full-width header PLUS a sidebar header row (topbar height,
|
|
82
|
+
* sidebar width), nav below that; the combination of A and B
|
|
83
|
+
* - "D" facebook style: full-width topbar, centered sticky embedded
|
|
84
|
+
* sidebar beside stacked cards (page scroll, sidebar not fixed left)
|
|
85
|
+
* A, B and C are collapsible to an icon rail (desktop and mobile).
|
|
83
86
|
*/
|
|
84
87
|
layoutType?: "A" | "B" | "C" | "D";
|
|
88
|
+
/** Content of the layout-C sidebar header; defaults to the brand. */
|
|
89
|
+
sidebarHeader?: React.ReactNode;
|
|
85
90
|
/** Prominent action slot pinned to the sidebar bottom (e.g. layout D). */
|
|
86
91
|
sidebarFooter?: React.ReactNode;
|
|
87
92
|
children?: React.ReactNode;
|
package/dist/app.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Link as e, NavLink as t, Navigate as o, Outlet as r, Route as p, Routes as u } from "react-router-dom";
|
|
2
|
-
import { A as m, a as P, b as S, c as l, C as h, F as n, R as M, S as R, d as g, e as A, f, g as c, h as d, i as k, r as v, s as N, j as T, k as b, u as w } from "./chunks/auth-shell-
|
|
2
|
+
import { A as m, a as P, b as S, c as l, C as h, F as n, R as M, S as R, d as g, e as A, f, g as c, h as d, i as k, r as v, s as N, j as T, k as b, u as w } from "./chunks/auth-shell-CW2XMz2G.js";
|
|
3
3
|
export {
|
|
4
4
|
m as App,
|
|
5
5
|
P as AppShell,
|