@nxgt/material 3.15.0 → 3.16.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/CHANGELOG.md +6 -0
- package/README.md +1 -1
- package/dist/{components-j0Iv8MZi.js → components-BOF9frx3.js} +1165 -1065
- package/dist/components.js +1 -1
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content-aside.types.d.ts +36 -0
- package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +15 -2
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +1 -0
- package/dist/main.js +1 -1
- package/dist/material.css +1 -1
- package/docs/components/navigation-and-layout.md +3 -0
- package/docs/guides/app-shell.md +52 -0
- package/docs/guides/theming.md +1 -0
- package/docs/troubleshooting.md +24 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.16.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1566](https://github.com/softistx/nxgt-material/pull/1566) [`b52e65b`](https://github.com/softistx/nxgt-material/commit/b52e65b85f4fa00830d3689a2d468cd0df71e62c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `ActivityContent` takes a side panel and a capped main column. `aside` (with `asideLabel` or `asideLabelledBy`, `asideSide`, `asideWidth`, `asideFrom`, `asideSticky`, `asideStack`, `asideClassName`) puts a named `complementary` landmark beside the content from `xl` (1280px; `lg` and `2xl` too) and stacks it after the content, or before it, on a narrower screen. The switch is CSS only, so the server's HTML and a phone's first paint are right, and the panel sticks under the app bar in `scroll="document"` and `scroll="container"`, scrolling inside itself and focusable only while it overflows ([#1551](https://github.com/softistx/nxgt-material/issues/1551)). `width="form" | "reading"` caps the main column at 48rem or 72ch, the panel right beside it with no gutter, and `width` works without a panel ([#1552](https://github.com/softistx/nxgt-material/issues/1552)). A screen without `aside` or `width` renders the same markup as before. `--nxgt-aside-width` sets the default panel width (20rem).
|
|
8
|
+
|
|
3
9
|
## 3.15.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -643,7 +643,7 @@ Not components: what the stylesheet gives any element.
|
|
|
643
643
|
|
|
644
644
|
| Preview | Component | What it does | @nxgt/material-vue |
|
|
645
645
|
| --- | --- | --- | --- |
|
|
646
|
-
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/navigation-layout-appshell.webp" width="120" alt="ActivityLayout"> | [`ActivityLayout`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/navigation-and-layout.md#activitylayout), `ActivityContent`, `AppSidebar`, `AppHeader`, `AppBreadcrumb`, `AppBreadcrumbItem`, `AppBreadcrumbSeparator` | App shell: sidebar built from `items`, a header with a mobile sheet, route breadcrumbs and a titled page; entries are real links, and `linkComponent` swaps the link; it draws the theme's background (Lavande's is the gradient), `backdrop` puts a `/backgrounds` preset behind it for one screen, and `backdrop={false}` draws a plain page. See the [app shell guide](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/guides/app-shell.md). | `ActivityLayout`, `ActivityContent`, `AppSidebar`, `AppHeader`, `AppBreadcrumb` |
|
|
646
|
+
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/navigation-layout-appshell.webp" width="120" alt="ActivityLayout"> | [`ActivityLayout`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/navigation-and-layout.md#activitylayout), `ActivityContent`, `AppSidebar`, `AppHeader`, `AppBreadcrumb`, `AppBreadcrumbItem`, `AppBreadcrumbSeparator` | App shell: sidebar built from `items`, a header with a mobile sheet, route breadcrumbs and a titled page; entries are real links, and `linkComponent` swaps the link; it draws the theme's background (Lavande's is the gradient), `backdrop` puts a `/backgrounds` preset behind it for one screen, and `backdrop={false}` draws a plain page. `ActivityContent` takes an `aside` side panel (beside the content from 1280px in CSS only, sticky under the app bar, a named `complementary` landmark, stacked below) and `width="form" \| "reading"` to cap the main column with the panel right beside it. See the [app shell guide](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/guides/app-shell.md). | `ActivityLayout`, `ActivityContent`, `AppSidebar`, `AppHeader`, `AppBreadcrumb` |
|
|
647
647
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/navigation-layout-accountmenu.webp" width="120" alt="AccountMenu"> | [`AccountMenu`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/navigation-and-layout.md#accountmenu) | The app bar's avatar menu: named after the account, the name and e-mail, the app's links, then an optional Theme choice (`themeChoice`) and a destructive Sign out with a busy state. | `AccountMenu` |
|
|
648
648
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/navigation-layout-authcard.webp" width="120" alt="AuthCard"> | [`AuthCard`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/navigation-and-layout.md#authcard) | The frame of a signed-out page: one `main`, a centred card whose title is the `h1` (focusable on an end state), a status or alert notice, a brand and toolbar row, safe-area padding. | `AuthCard` |
|
|
649
649
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/navigation-layout-sidebar.webp" width="120" alt="Sidebar"> | [`Sidebar`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/navigation-and-layout.md#sidebar), `SidebarHeader`, `SidebarContent`, `SidebarFooter`, `SidebarMenuItem`, `SidebarMenuLabel` | Collapsible navigation sidebar with icons, tooltips and active items. | `Sidebar` (same parts) |
|