@nxgt/material 3.79.1 → 3.81.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 +94 -0
- package/README.md +48 -8
- package/dist/{alert-dialog-653apk3f.js → alert-dialog-DOZ0SfQs.js} +1 -1
- package/dist/{async-slice-CXLbQuOc.js → async-slice-BfVokA46.js} +1 -1
- package/dist/{button-3op3rtZh.js → button-CSKUtMI3.js} +2 -2
- package/dist/{calculator-KqIMBXSh.js → calculator-Cv00UQgR.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-BlJE1LaS.js → calculator-segment-CwnC2cV_.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-MuKDwtkG.js → chip-BGn0V6Pt.js} +3 -3
- package/dist/{code-editor-Bp2RrdNx.js → code-editor-B25-mWhb.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-B7WR5ua_.js → code-language-items-oRjtO3qV.js} +2 -2
- package/dist/components/base-content.css +11 -0
- package/dist/components/components.css +5 -0
- package/dist/components/ui/actions/fab/fab-dock.css +19 -6
- package/dist/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
- package/dist/components/ui/display/tube-cap/tube-cap.css +87 -0
- package/dist/components/ui/layout/app-search/app-search.css +62 -0
- package/dist/components/ui/layout/app-shell/activity-backdrop.css +10 -2
- package/dist/components/ui/layout/app-shell/app-header.css +108 -0
- package/dist/components/ui/layout/navigation-toolbar/navigation-toolbar.css +43 -0
- package/dist/{components-CTyNC_zW.js → components-B00kDHzJ.js} +23101 -18734
- package/dist/components.js +37 -37
- package/dist/{conversion-variant-BDFAxqe9.js → conversion-variant-wZd-G6xR.js} +3 -3
- package/dist/{currency-field-DWHB5oms.js → currency-field-DizBTAat.js} +4 -4
- package/dist/{date.utils-DUvqcjan.js → date.utils-JTEIo3mM.js} +98 -98
- package/dist/{dialog-Bm5LvVlB.js → dialog-B-3s-oXt.js} +3 -3
- package/dist/dnd.js +2 -2
- package/dist/{dropdown-menu-xlZ6NYUA.js → dropdown-menu-C6rcYGB9.js} +1 -1
- package/dist/editor.js +19 -19
- package/dist/{empty-state-C0kviQdW.js → empty-state-CSkghnD9.js} +1 -1
- package/dist/{financial-variant-CggTpad2.js → financial-variant-igpGRbGw.js} +5 -5
- package/dist/{hooks-Dg94jPRq.js → hooks-DvIsom2p.js} +2 -2
- package/dist/hooks.js +9 -8
- package/dist/{hover-card-B1g55Hi6.js → hover-card-DuaVVKMb.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-BcW66bRk.js → icon-badge-3ThP6EOl.js} +1 -1
- package/dist/{icon-button-Cogxy1cy.js → icon-button-4PKlaI1g.js} +2 -2
- package/dist/lib/components/ui/actions/button/button-tones.d.ts +17 -16
- package/dist/lib/components/ui/collections/day-grouped-list/day-grouped-list.d.ts +6 -1
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +2 -0
- package/dist/lib/components/ui/collections/server-table/types-states.d.ts +5 -1
- package/dist/lib/components/ui/display/index.d.ts +1 -0
- package/dist/lib/components/ui/display/tube-cap/index.d.ts +2 -0
- package/dist/lib/components/ui/display/tube-cap/tube-cap.d.ts +27 -0
- package/dist/lib/components/ui/display/tube-cap/tube-cap.kinds.d.ts +7 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-row.d.ts +3 -1
- package/dist/lib/components/ui/fields/repeatable-group/partials/repeatable-group-rows.d.ts +2 -1
- package/dist/lib/components/ui/fields/repeatable-group/repeatable-group.d.ts +1 -1
- package/dist/lib/components/ui/fields/repeatable-group/types.d.ts +7 -0
- package/dist/lib/components/ui/layout/app-bar/top-app-bar.d.ts +18 -3
- package/dist/lib/components/ui/layout/app-search/app-search-bar.d.ts +11 -0
- package/dist/lib/components/ui/layout/app-search/app-search.types.d.ts +47 -0
- package/dist/lib/components/ui/layout/app-search/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-search/partials/on-phone.d.ts +2 -0
- package/dist/lib/components/ui/layout/app-search/partials/phone-search.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-search/partials/pill-search.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-search/pill-form.d.ts +18 -0
- package/dist/lib/components/ui/layout/app-search/search-panel.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-search/search-results.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-search/search-shortcut.d.ts +15 -0
- package/dist/lib/components/ui/layout/app-search/search-view.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-search/use-pill-panel.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-search/use-search-text.d.ts +8 -0
- package/dist/lib/components/ui/layout/app-shell/activity-app-bar.d.ts +35 -0
- package/dist/lib/components/ui/layout/app-shell/activity-chrome.d.ts +26 -3
- package/dist/lib/components/ui/layout/app-shell/activity-column-props.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +10 -2
- package/dist/lib/components/ui/layout/app-shell/activity-layout-navigation.types.d.ts +94 -0
- package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +8 -1
- package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +2 -1
- package/dist/lib/components/ui/layout/app-shell/activity-rails.d.ts +16 -0
- package/dist/lib/components/ui/layout/app-shell/activity-sidebar-lane.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-shell/activity-top-nav.d.ts +11 -0
- package/dist/lib/components/ui/layout/app-shell/activity-two-level-lane.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/app-back.d.ts +22 -0
- package/dist/lib/components/ui/layout/app-shell/app-header-row.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-shell/app-header.d.ts +33 -1
- package/dist/lib/components/ui/layout/app-shell/app-shell.utils.d.ts +8 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-entries.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-label-item.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/bottom-chrome.d.ts +13 -0
- package/dist/lib/components/ui/layout/app-shell/header-title.d.ts +18 -2
- package/dist/lib/components/ui/layout/app-shell/header.utils.d.ts +37 -0
- package/dist/lib/components/ui/layout/app-shell/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/app-shell/navigation-parts.d.ts +38 -0
- package/dist/lib/components/ui/layout/app-shell/navigation.utils.d.ts +36 -0
- package/dist/lib/components/ui/layout/app-shell/page-title-scope.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +12 -1
- package/dist/lib/components/ui/layout/app-shell/shell-scroll.d.ts +32 -0
- package/dist/lib/components/ui/layout/app-shell/sticky-offset.d.ts +8 -0
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +14 -0
- package/dist/lib/components/ui/layout/app-shell/use-focus-while-hidden.d.ts +9 -0
- package/dist/lib/components/ui/layout/app-shell/use-header-height.d.ts +12 -0
- package/dist/lib/components/ui/layout/app-shell/use-header-scroll.d.ts +19 -0
- package/dist/lib/components/ui/layout/app-shell/use-shell-header.d.ts +20 -0
- package/dist/lib/components/ui/layout/auth-card/auth-card-split.d.ts +14 -0
- package/dist/lib/components/ui/layout/auth-card/auth-card.d.ts +13 -1
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid-context.d.ts +21 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.d.ts +9 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.state.d.ts +30 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.tiles.d.ts +8 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.types.d.ts +50 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-grid.utils.d.ts +70 -0
- package/dist/lib/components/ui/layout/dashboard-grid/dashboard-tile.d.ts +7 -0
- package/dist/lib/components/ui/layout/dashboard-grid/index.d.ts +4 -0
- package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-announcer.d.ts +6 -0
- package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-edit-bar.d.ts +11 -0
- package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-move-buttons.d.ts +9 -0
- package/dist/lib/components/ui/layout/dashboard-grid/partials/dashboard-toolbar.d.ts +7 -0
- package/dist/lib/components/ui/layout/dashboard-grid/use-dashboard-grid.d.ts +21 -0
- package/dist/lib/components/ui/layout/dashboard-grid/use-dashboard-moves.d.ts +22 -0
- package/dist/lib/components/ui/layout/doc/doc-context.d.ts +2 -0
- package/dist/lib/components/ui/layout/doc/doc.d.ts +5 -0
- package/dist/lib/components/ui/layout/doc/index.d.ts +1 -1
- package/dist/lib/components/ui/layout/doc/partials/doc-embedded-bar.d.ts +9 -0
- package/dist/lib/components/ui/layout/doc/partials/doc-embedded.d.ts +8 -0
- package/dist/lib/components/ui/layout/doc/use-doc.d.ts +9 -1
- package/dist/lib/components/ui/layout/editor-layout/editor-layout.d.ts +14 -0
- package/dist/lib/components/ui/layout/editor-layout/editor-layout.types.d.ts +31 -0
- package/dist/lib/components/ui/layout/editor-layout/index.d.ts +4 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-body.d.ts +11 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-canvas.d.ts +8 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-context.d.ts +12 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-start.d.ts +8 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/editor-layout-triggers.d.ts +10 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/use-editor-layout-names.d.ts +8 -0
- package/dist/lib/components/ui/layout/editor-layout/partials/use-editor-layout-state.d.ts +21 -0
- package/dist/lib/components/ui/layout/index.d.ts +9 -0
- package/dist/lib/components/ui/layout/landing/index.d.ts +6 -0
- package/dist/lib/components/ui/layout/landing/landing-layout.d.ts +15 -0
- package/dist/lib/components/ui/layout/landing/landing-layout.types.d.ts +27 -0
- package/dist/lib/components/ui/layout/landing/landing-section.d.ts +12 -0
- package/dist/lib/components/ui/layout/landing/landing-section.types.d.ts +32 -0
- package/dist/lib/components/ui/layout/landing/landing.classes.d.ts +20 -0
- package/dist/lib/components/ui/layout/landing/partials/landing-header.d.ts +11 -0
- package/dist/lib/components/ui/layout/landing/partials/landing-section-intro.d.ts +13 -0
- package/dist/lib/components/ui/layout/landing/partials/site-footer-group.d.ts +8 -0
- package/dist/lib/components/ui/layout/landing/site-footer.d.ts +13 -0
- package/dist/lib/components/ui/layout/landing/site-footer.types.d.ts +29 -0
- package/dist/lib/components/ui/layout/list-details-layout/internal.d.ts +2 -0
- package/dist/lib/components/ui/layout/list-details-layout/list-details-layout.d.ts +9 -17
- package/dist/lib/components/ui/layout/list-details-layout/partials/history-mark.d.ts +2 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-context.d.ts +17 -1
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-history.d.ts +8 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-inspector.d.ts +21 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-layout.types.d.ts +47 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-resizer.d.ts +9 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-root.d.ts +3 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/list-details-trigger.d.ts +13 -4
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-inspector-focus.d.ts +8 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-details-param.d.ts +26 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-details-state.d.ts +15 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-list-width.d.ts +16 -0
- package/dist/lib/components/ui/layout/list-details-layout/partials/use-pane-focus.d.ts +6 -4
- package/dist/lib/components/ui/layout/navigation-bar/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/navigation-bar/internal.d.ts +4 -0
- package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.classes.d.ts +14 -0
- package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.d.ts +35 -0
- package/dist/lib/components/ui/layout/navigation-bar/navigation-bar.utils.d.ts +19 -0
- package/dist/lib/components/ui/layout/navigation-bar/partials/bar-badge.d.ts +5 -0
- package/dist/lib/components/ui/layout/navigation-bar/partials/bar-entry.d.ts +12 -0
- package/dist/lib/components/ui/layout/navigation-bar/partials/navigation-bar-item.d.ts +22 -0
- package/dist/lib/components/ui/layout/navigation-bar/partials/navigation-bar-more.d.ts +24 -0
- package/dist/lib/components/ui/layout/navigation-bar/use-nav-bar-inset.d.ts +12 -0
- package/dist/lib/components/ui/layout/navigation-drawer/index.d.ts +5 -0
- package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.classes.d.ts +9 -0
- package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.d.ts +45 -0
- package/dist/lib/components/ui/layout/navigation-drawer/navigation-drawer.utils.d.ts +14 -0
- package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-body.d.ts +3 -0
- package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-item.d.ts +20 -0
- package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-modal.d.ts +17 -0
- package/dist/lib/components/ui/layout/navigation-drawer/partials/navigation-drawer-section.d.ts +15 -0
- package/dist/lib/components/ui/layout/navigation-rail/index.d.ts +3 -0
- package/dist/lib/components/ui/layout/navigation-rail/navigation-rail-panel.d.ts +26 -0
- package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.classes.d.ts +23 -0
- package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.d.ts +42 -1
- package/dist/lib/components/ui/layout/navigation-rail/navigation-rail.utils.d.ts +4 -0
- package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-body.d.ts +3 -0
- package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-item.d.ts +20 -0
- package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-panel-item.d.ts +7 -0
- package/dist/lib/components/ui/layout/navigation-rail/partials/navigation-rail-toggle.d.ts +7 -0
- package/dist/lib/components/ui/layout/navigation-rail/use-rail-expanded.d.ts +13 -0
- package/dist/lib/components/ui/layout/navigation-toolbar/index.d.ts +2 -0
- package/dist/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.classes.d.ts +20 -0
- package/dist/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.d.ts +51 -0
- package/dist/lib/components/ui/layout/navigation-toolbar/partials/navigation-toolbar-item.d.ts +25 -0
- package/dist/lib/components/ui/layout/navigation-toolbar/partials/navigation-toolbar-more.d.ts +3 -0
- package/dist/lib/components/ui/layout/pane-layout/internal.d.ts +3 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +16 -2
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-classes.d.ts +7 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +13 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/use-pane-layout-state.d.ts +16 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/use-pane-narrow.d.ts +6 -0
- package/dist/lib/components/ui/layout/responsive-grid/index.d.ts +4 -1
- package/dist/lib/components/ui/layout/responsive-grid/responsive-grid-item.d.ts +19 -0
- package/dist/lib/components/ui/layout/responsive-grid/responsive-grid-spans.d.ts +19 -0
- package/dist/lib/components/ui/layout/responsive-grid/responsive-grid.d.ts +24 -2
- package/dist/lib/components/ui/layout/responsive-grid/responsive-grid.utils.d.ts +12 -0
- package/dist/lib/components/ui/layout/settings-layout/index.d.ts +2 -0
- package/dist/lib/components/ui/layout/settings-layout/partials/settings-link.d.ts +7 -0
- package/dist/lib/components/ui/layout/settings-layout/partials/settings-list.d.ts +11 -0
- package/dist/lib/components/ui/layout/settings-layout/partials/settings-page.d.ts +5 -0
- package/dist/lib/components/ui/layout/settings-layout/settings-layout.d.ts +10 -0
- package/dist/lib/components/ui/layout/settings-layout/settings-layout.types.d.ts +33 -0
- package/dist/lib/components/ui/layout/settings-layout/settings-layout.utils.d.ts +13 -0
- package/dist/lib/components/ui/layout/thread-layout/thread-layout-classes.d.ts +17 -0
- package/dist/lib/components/ui/layout/thread-layout/thread-layout-parts.d.ts +14 -0
- package/dist/lib/components/ui/layout/thread-layout/thread-layout-stepper.d.ts +11 -0
- package/dist/lib/components/ui/layout/thread-layout/thread-layout.d.ts +30 -3
- package/dist/lib/components/ui/layout/top-nav/index.d.ts +5 -0
- package/dist/lib/components/ui/layout/top-nav/partials/top-nav-item.d.ts +23 -0
- package/dist/lib/components/ui/layout/top-nav/partials/top-nav-menu.d.ts +22 -0
- package/dist/lib/components/ui/layout/top-nav/top-nav.classes.d.ts +10 -0
- package/dist/lib/components/ui/layout/top-nav/top-nav.d.ts +34 -0
- package/dist/lib/components/ui/layout/top-nav/top-nav.utils.d.ts +10 -0
- package/dist/lib/components/ui/media/galleries/gallery.d.ts +1 -1
- package/dist/lib/components/ui/media/galleries/lightbox-gallery.d.ts +1 -1
- package/dist/lib/components/ui/media/galleries/mini-gallery.d.ts +1 -1
- package/dist/lib/components/ui/overlays/dialog/dialog-parts.d.ts +1 -1
- package/dist/lib/components/ui/overlays/sheet/sheet-parts.d.ts +5 -0
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-balance.d.ts +4 -0
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.d.ts +3 -1
- package/dist/lib/components/ui/selection/choice-card-group/choice-card-group.types.d.ts +7 -0
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-body.d.ts +5 -1
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-parts.d.ts +2 -1
- package/dist/lib/components/ui/selection/sortable-list/partials/sortable-list-row-props.d.ts +8 -5
- package/dist/lib/components/ui/selection/sortable-list/partials/use-owed-focus.d.ts +10 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list-context.d.ts +2 -0
- package/dist/lib/components/ui/selection/sortable-list/sortable-list.keyboard.d.ts +1 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-context.d.ts +3 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-shell.d.ts +15 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-template.d.ts +9 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.d.ts +7 -3
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.template.d.ts +41 -0
- package/dist/lib/components/ui/widgets/event-calendar/index.d.ts +1 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-date-nav.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-lane-toggle.d.ts +5 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/time-grid-header-template.d.ts +7 -0
- package/dist/lib/components/ui/widgets/event-calendar/template.types.d.ts +73 -0
- package/dist/lib/components/ui/widgets/event-calendar/types.d.ts +2 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-chip-event.d.ts +1 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-drawn-events.d.ts +4 -3
- package/dist/lib/components/ui/widgets/event-calendar/use-template-calendar.d.ts +18 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-template-lane.d.ts +17 -0
- package/dist/lib/components/ui/widgets/kanban/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/kanban/kanban-context.d.ts +5 -2
- package/dist/lib/components/ui/widgets/kanban/kanban.d.ts +11 -2
- package/dist/lib/components/ui/widgets/kanban/kanban.slice.d.ts +32 -0
- package/dist/lib/components/ui/widgets/kanban/kanban.utils.d.ts +9 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-card-preview.d.ts +3 -1
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-column.d.ts +6 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-move-to.d.ts +13 -0
- package/dist/lib/components/ui/widgets/kanban/partials/kanban-phone-tabs.d.ts +10 -0
- package/dist/lib/components/ui/widgets/kanban/types.d.ts +7 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban-board-keys.d.ts +7 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban-item-actions.d.ts +5 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban-phone-column.d.ts +18 -0
- package/dist/lib/components/ui/widgets/kanban/use-kanban.d.ts +6 -1
- package/dist/lib/hooks/index.d.ts +1 -0
- package/dist/lib/i18n/resources/en/en.d.ts +52 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +54 -2
- package/dist/lib/i18n/resources/fr/fr.d.ts +52 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +54 -2
- package/dist/lib/i18n/resources/resources.d.ts +104 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +2 -2
- package/dist/main.js +53 -52
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field--WIXV5dX.js → percent-field-QwU1l2Q4.js} +1 -1
- package/dist/{picker-surface-CV09H7Nb.js → picker-surface-CiTycWgV.js} +4 -4
- package/dist/{popover-Cd7DkND4.js → popover-YmbzbKQG.js} +1 -1
- package/dist/{pos-types-DKCkOTYy.js → pos-types-BFrapNmx.js} +1 -1
- package/dist/{pos-variant-GrUfbTTP.js → pos-variant-CctfqieO.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-eKJNKENL.js → programmer-variant-Dd0YOixn.js} +2 -2
- package/dist/{public-y6g4ddxd.js → public-CshR_aW7.js} +10 -10
- package/dist/{rich-code-block-CRQ0iyLb.js → rich-code-block-BuJLDoBu.js} +5 -5
- package/dist/{scientific-variant-2y3UxAAU.js → scientific-variant-CjErQxuZ.js} +2 -2
- package/dist/{sortable-provider-DdiI3Fwk.js → sortable-provider-DU2nvpFc.js} +3 -3
- package/dist/{spinner-C1QIewWv.js → spinner-DH1mm8hH.js} +2 -2
- package/dist/{tabs-KGKvve3y.js → tabs-Um0SFyf1.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-C_VeiiCm.js → theme-toggle-C-Ih4uQU.js} +1 -1
- package/dist/{toolbar-items-D310xDuM.js → toolbar-items-BoEY5bkt.js} +4 -4
- package/dist/{translate-material-BypJJ1l5.js → translate-material-D4rn5UaQ.js} +1 -1
- package/dist/{translator-DJkf4J7t.js → translator-CcEgQ-H7.js} +112 -4
- package/dist/{use-chat-composer-BFhRMHcX.js → use-chat-composer-BBF1BI_s.js} +47 -43
- package/dist/{use-click-lock-BZYtTmVt.js → use-click-lock-Bwg_caHO.js} +14 -14
- package/dist/{use-heading-spy-DJR8YYm6.js → use-heading-spy-BgyA6SJl.js} +19 -19
- package/dist/{use-material-translation-CD6QoVal.js → use-material-translation-DYrfV_JJ.js} +1 -1
- package/dist/{use-return-focus-Cevw_6yq.js → use-return-focus-C_Qz_yTk.js} +1 -1
- package/docs/README.md +1 -0
- package/docs/components/data-display.md +40 -8
- package/docs/components/data-table-filter-and-lists.md +7 -3
- package/docs/components/form-fields.md +1 -0
- package/docs/components/media-and-files.md +1 -0
- package/docs/components/navigation-and-layout.md +946 -28
- package/docs/components/overlays-and-menus.md +11 -5
- package/docs/components/rich-widgets.md +111 -1
- package/docs/components/selection-and-choice.md +49 -10
- package/docs/guides/app-shell.md +641 -2
- package/docs/guides/forms.md +7 -0
- package/docs/guides/helpers.md +23 -0
- package/docs/guides/i18n.md +13 -1
- package/docs/guides/layouts.md +215 -0
- package/docs/guides/ssr.md +1 -1
- package/docs/guides/theming.md +7 -7
- package/docs/previews/data-display-tubecap.webp +0 -0
- package/docs/previews/navigation-layout-appshell-page-ground.webp +0 -0
- package/docs/previews/navigation-layout-appshell.webp +0 -0
- package/docs/previews/navigation-layout-authcard-split.webp +0 -0
- package/docs/previews/navigation-layout-authcard.webp +0 -0
- package/docs/previews/navigation-layout-dashboardgrid.webp +0 -0
- package/docs/previews/navigation-layout-editorlayout.webp +0 -0
- package/docs/previews/navigation-layout-landinglayout.webp +0 -0
- package/docs/previews/navigation-layout-panelayout.webp +0 -0
- package/docs/previews/navigation-layout-settingslayout.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout-pages.webp +0 -0
- package/docs/previews/navigation-layout-threadlayout.webp +0 -0
- package/docs/previews/selection-choice-sortablelist.webp +0 -0
- package/docs/roadmap.md +12 -2
- package/docs/troubleshooting.md +50 -2
- package/lib/components/base-content.css +11 -0
- package/lib/components/components.css +5 -0
- package/lib/components/ui/actions/fab/fab-dock.css +19 -6
- package/lib/components/ui/collections/data-table/data-table-items-tiles.css +27 -1
- package/lib/components/ui/display/tube-cap/tube-cap.css +87 -0
- package/lib/components/ui/layout/app-search/app-search.css +62 -0
- package/lib/components/ui/layout/app-shell/activity-backdrop.css +10 -2
- package/lib/components/ui/layout/app-shell/app-header.css +108 -0
- package/lib/components/ui/layout/navigation-toolbar/navigation-toolbar.css +43 -0
- package/lib/themes/ambre.css +1 -1
- package/lib/themes/ardoise.css +1 -1
- package/lib/themes/bleumono.css +1 -1
- package/lib/themes/bluemoon.css +1 -1
- package/lib/themes/corail.css +2 -2
- package/lib/themes/foret.css +1 -1
- package/lib/themes/lavande.css +1 -1
- package/lib/themes/menthe.css +2 -2
- package/lib/themes/ocean.css +1 -1
- package/lib/themes/pink.css +2 -2
- package/lib/themes/prune.css +1 -1
- package/lib/themes/sable.css +1 -1
- package/lib/themes/slate.css +1 -1
- package/lib/themes/teal.css +2 -2
- package/package.json +2 -2
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* FabDock: the bottom-end corner, 16px in (24px from 840px wide, M3's
|
|
2
|
-
* medium window), above the home indicator
|
|
3
|
-
*
|
|
2
|
+
* medium window), above the home indicator, above a docked bar that sets
|
|
3
|
+
* --nxgt-media-dock and above a bottom navigation bar (--nxgt-nav-bar);
|
|
4
|
+
* --nxgt-bottom-chrome is the two together. The bar's room holds the
|
|
5
|
+
* safe area, so the dock clears the taller of the two, not their sum. `contained` places it in its
|
|
6
|
+
* positioned parent.
|
|
4
7
|
* While a FabMenu in it is open, a light scrim covers the page (contained:
|
|
5
8
|
* the pane) behind the pills. The menu is modal, so the whole page is inert
|
|
6
9
|
* either way. */
|
|
@@ -11,8 +14,13 @@
|
|
|
11
14
|
inset-inline-end: var(--fab-dock-gap);
|
|
12
15
|
inset-block-end: calc(
|
|
13
16
|
var(--fab-dock-gap) +
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
max(
|
|
18
|
+
env(safe-area-inset-bottom, 0px),
|
|
19
|
+
var(
|
|
20
|
+
--nxgt-bottom-chrome,
|
|
21
|
+
calc(var(--nxgt-nav-bar, 0px) + var(--nxgt-media-dock, 0px))
|
|
22
|
+
)
|
|
23
|
+
)
|
|
16
24
|
);
|
|
17
25
|
z-index: 40;
|
|
18
26
|
display: flex;
|
|
@@ -33,8 +41,13 @@
|
|
|
33
41
|
padding: var(--fab-dock-gap);
|
|
34
42
|
padding-block-end: calc(
|
|
35
43
|
var(--fab-dock-gap) +
|
|
36
|
-
|
|
37
|
-
|
|
44
|
+
max(
|
|
45
|
+
env(safe-area-inset-bottom, 0px),
|
|
46
|
+
var(
|
|
47
|
+
--nxgt-bottom-chrome,
|
|
48
|
+
calc(var(--nxgt-nav-bar, 0px) + var(--nxgt-media-dock, 0px))
|
|
49
|
+
)
|
|
50
|
+
)
|
|
38
51
|
);
|
|
39
52
|
}
|
|
40
53
|
@media (min-width: 840px) {
|
|
@@ -65,8 +65,34 @@
|
|
|
65
65
|
) {
|
|
66
66
|
outline-offset: -2px;
|
|
67
67
|
}
|
|
68
|
-
/* The checkbox
|
|
68
|
+
/* The checkbox sits on the tile's title row (#2391): its centre on the
|
|
69
|
+
* title's first line (1rem at 1.4, so 0.7rem under the tile's padding), not
|
|
70
|
+
* the tile's middle, which a multi-line tile moves down to the body text.
|
|
71
|
+
* The 36px box (44px on a coarse pointer) then starts at the padding minus
|
|
72
|
+
* the half-box plus the half-line. The tile's content starts at the top so
|
|
73
|
+
* the title is where the box expects it. */
|
|
74
|
+
[data-slot="data-table-tiles"]
|
|
75
|
+
> [data-slot="data-table-item"]:not(:has([data-slot="data-table-record"])) {
|
|
76
|
+
align-content: start;
|
|
77
|
+
}
|
|
69
78
|
[data-slot="data-table-tiles"] [data-slot="data-table-item-select"] {
|
|
79
|
+
inset-block-start: 0.325rem;
|
|
80
|
+
}
|
|
81
|
+
[data-slot="data-table-tiles"][data-density="compact"]
|
|
82
|
+
[data-slot="data-table-item-select"] {
|
|
83
|
+
inset-block-start: 0.075rem;
|
|
84
|
+
}
|
|
85
|
+
@media (pointer: coarse) {
|
|
86
|
+
[data-slot="data-table-tiles"] [data-slot="data-table-item-select"],
|
|
87
|
+
[data-slot="data-table-tiles"][data-density="compact"]
|
|
88
|
+
[data-slot="data-table-item-select"] {
|
|
89
|
+
inset-block-start: 0.075rem;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/* A record row is one dense line: its box stays centred on it. */
|
|
93
|
+
[data-slot="data-table-tiles"]
|
|
94
|
+
> [data-slot="data-table-item"]:has([data-slot="data-table-record"])
|
|
95
|
+
[data-slot="data-table-item-select"] {
|
|
70
96
|
inset-block-start: 50%;
|
|
71
97
|
translate: 0 -50%;
|
|
72
98
|
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* TubeCap: a specimen tube's chip. The cap colours are the international tube
|
|
2
|
+
* convention, so they are fixed values, not theme tokens: the same in light
|
|
3
|
+
* and dark and in every theme. The swatch carries no text; the name beside it
|
|
4
|
+
* keeps the theme's foreground (AA by the theme), and a hairline in the
|
|
5
|
+
* foreground colour keeps a black or pale cap visible on either scheme. */
|
|
6
|
+
@layer components {
|
|
7
|
+
.nxgt-tube-cap {
|
|
8
|
+
--tube-cap: oklch(0.92 0 0);
|
|
9
|
+
--tube-cap-size: 1.75rem;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
gap: 0.5rem;
|
|
13
|
+
max-inline-size: 100%;
|
|
14
|
+
min-inline-size: 0;
|
|
15
|
+
padding: 0.25rem 0.625rem 0.25rem 0.25rem;
|
|
16
|
+
border: 1px solid var(--border);
|
|
17
|
+
border-radius: 9999px;
|
|
18
|
+
background: var(--card, var(--background));
|
|
19
|
+
color: var(--foreground);
|
|
20
|
+
font-size: 0.875rem;
|
|
21
|
+
line-height: 1.25;
|
|
22
|
+
}
|
|
23
|
+
.nxgt-tube-cap[data-size="sm"] {
|
|
24
|
+
--tube-cap-size: 1.25rem;
|
|
25
|
+
font-size: 0.8125rem;
|
|
26
|
+
}
|
|
27
|
+
.nxgt-tube-cap[data-size="lg"] {
|
|
28
|
+
--tube-cap-size: 2.5rem;
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
}
|
|
31
|
+
.nxgt-tube-cap[data-kind="edta"] {
|
|
32
|
+
--tube-cap: oklch(0.62 0.13 300);
|
|
33
|
+
}
|
|
34
|
+
.nxgt-tube-cap[data-kind="heparin"] {
|
|
35
|
+
--tube-cap: oklch(0.62 0.17 145);
|
|
36
|
+
}
|
|
37
|
+
.nxgt-tube-cap[data-kind="citrate"] {
|
|
38
|
+
--tube-cap: oklch(0.8 0.1 230);
|
|
39
|
+
}
|
|
40
|
+
.nxgt-tube-cap[data-kind="esr"] {
|
|
41
|
+
--tube-cap: oklch(0.22 0 0);
|
|
42
|
+
}
|
|
43
|
+
.nxgt-tube-cap[data-kind="serum"] {
|
|
44
|
+
--tube-cap: oklch(0.55 0.21 27);
|
|
45
|
+
}
|
|
46
|
+
.nxgt-tube-cap[data-kind="gel"] {
|
|
47
|
+
--tube-cap: oklch(0.82 0.15 85);
|
|
48
|
+
}
|
|
49
|
+
.nxgt-tube-cap[data-kind="fluoride"] {
|
|
50
|
+
--tube-cap: oklch(0.68 0.01 260);
|
|
51
|
+
}
|
|
52
|
+
.nxgt-tube-cap[data-kind="trace"] {
|
|
53
|
+
--tube-cap: oklch(0.45 0.18 262);
|
|
54
|
+
}
|
|
55
|
+
.nxgt-tube-cap [data-slot="tube-cap-swatch"] {
|
|
56
|
+
flex: none;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
inline-size: var(--tube-cap-size);
|
|
59
|
+
block-size: var(--tube-cap-size);
|
|
60
|
+
border-radius: 9999px;
|
|
61
|
+
background: var(--tube-cap);
|
|
62
|
+
box-shadow: 0 0 0 1px
|
|
63
|
+
color-mix(in oklab, var(--foreground) 45%, transparent);
|
|
64
|
+
forced-color-adjust: none;
|
|
65
|
+
}
|
|
66
|
+
.nxgt-tube-cap [data-slot="tube-cap-text"] {
|
|
67
|
+
display: inline-flex;
|
|
68
|
+
flex-wrap: wrap;
|
|
69
|
+
align-items: baseline;
|
|
70
|
+
column-gap: 0.5rem;
|
|
71
|
+
min-inline-size: 0;
|
|
72
|
+
overflow-wrap: anywhere;
|
|
73
|
+
}
|
|
74
|
+
.nxgt-tube-cap [data-slot="tube-cap-label"] {
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
}
|
|
77
|
+
.nxgt-tube-cap [data-slot="tube-cap-volume"],
|
|
78
|
+
.nxgt-tube-cap [data-slot="tube-cap-accession"] {
|
|
79
|
+
color: var(--muted-foreground);
|
|
80
|
+
font-variant-numeric: tabular-nums;
|
|
81
|
+
}
|
|
82
|
+
.nxgt-tube-cap [data-slot="tube-cap-action"] {
|
|
83
|
+
display: inline-flex;
|
|
84
|
+
flex: none;
|
|
85
|
+
margin-inline-start: 0.125rem;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* The app bar's search (app-search-bar.tsx, search-view.tsx). One source for
|
|
2
|
+
* the sizes: --nxgt-search-h is the pill's height, 2.75rem in the bar and
|
|
3
|
+
* 3rem (a 48px target) in the phone's full-screen view; the back arrow, the
|
|
4
|
+
* phone's button and the field read it. The pill is a filled, fully rounded
|
|
5
|
+
* field box: no border at rest, the field box's focus ring when focused.
|
|
6
|
+
* Classes in the `components` layer: a utility passed as `className` wins. */
|
|
7
|
+
@layer components {
|
|
8
|
+
.nxgt-search-bar {
|
|
9
|
+
--nxgt-search-h: 2.75rem;
|
|
10
|
+
}
|
|
11
|
+
.nxgt-search-button {
|
|
12
|
+
--nxgt-search-h: 3rem;
|
|
13
|
+
}
|
|
14
|
+
.nxgt-search-view {
|
|
15
|
+
--nxgt-search-h: 3rem;
|
|
16
|
+
}
|
|
17
|
+
.nxgt-search-pill {
|
|
18
|
+
--nxgt-field-radius: calc(var(--nxgt-search-h) / 2);
|
|
19
|
+
}
|
|
20
|
+
.nxgt-search-pill [data-slot="input-group"] {
|
|
21
|
+
height: var(--nxgt-search-h);
|
|
22
|
+
border-color: transparent;
|
|
23
|
+
background-color: var(--muted);
|
|
24
|
+
}
|
|
25
|
+
.nxgt-search-pill [data-slot="input-group"]:focus-within {
|
|
26
|
+
background-color: var(--background);
|
|
27
|
+
}
|
|
28
|
+
/* The bar's pill: grows to a comfortable width and gives way to the title. */
|
|
29
|
+
.nxgt-search-bar {
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
gap: 0.5rem;
|
|
33
|
+
flex: 0 1 28rem;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
}
|
|
36
|
+
.nxgt-search-form {
|
|
37
|
+
flex: 1 1 auto;
|
|
38
|
+
min-width: 0;
|
|
39
|
+
}
|
|
40
|
+
.nxgt-search-button {
|
|
41
|
+
flex: none;
|
|
42
|
+
}
|
|
43
|
+
.nxgt-search-view-row {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: 0.5rem;
|
|
47
|
+
padding: 0.5rem;
|
|
48
|
+
padding-top: max(0.5rem, env(safe-area-inset-top));
|
|
49
|
+
padding-left: max(0.5rem, env(safe-area-inset-left));
|
|
50
|
+
padding-right: max(0.5rem, env(safe-area-inset-right));
|
|
51
|
+
}
|
|
52
|
+
.nxgt-search-view-back {
|
|
53
|
+
flex: none;
|
|
54
|
+
}
|
|
55
|
+
.nxgt-search-view-results {
|
|
56
|
+
min-height: 0;
|
|
57
|
+
overflow-y: auto;
|
|
58
|
+
overscroll-behavior: contain;
|
|
59
|
+
padding: 0.5rem 1rem;
|
|
60
|
+
padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -82,8 +82,16 @@
|
|
|
82
82
|
--nxgt-backdrop-height: calc(
|
|
83
83
|
100dvh -
|
|
84
84
|
var(--nxgt-backdrop-top) -
|
|
85
|
-
max(
|
|
86
|
-
|
|
85
|
+
max(
|
|
86
|
+
max(0.5rem, env(safe-area-inset-bottom)),
|
|
87
|
+
calc(
|
|
88
|
+
0.5rem +
|
|
89
|
+
var(
|
|
90
|
+
--nxgt-bottom-chrome,
|
|
91
|
+
calc(var(--nxgt-nav-bar, 0px) + var(--nxgt-media-dock, 0px))
|
|
92
|
+
)
|
|
93
|
+
)
|
|
94
|
+
)
|
|
87
95
|
);
|
|
88
96
|
position: sticky;
|
|
89
97
|
top: var(--nxgt-backdrop-top);
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/* The app bar's variants (app-header.tsx). A medium or large bar is a first row
|
|
2
|
+
* (the small bar) and a headline row under it. `--nxgt-header-progress` (0
|
|
3
|
+
* expanded, 1 collapsed) is set on the bar by use-header-scroll.ts as the shell
|
|
4
|
+
* scrolls; unset (the server, a bar outside the shell) it is 0, the expanded
|
|
5
|
+
* bar. Scoped to the bar's `data-variant`: the default small bar is untouched. */
|
|
6
|
+
[data-slot="app-header"][data-variant="medium"] {
|
|
7
|
+
--nxgt-header-extra: 5rem;
|
|
8
|
+
}
|
|
9
|
+
[data-slot="app-header"][data-variant="large"] {
|
|
10
|
+
--nxgt-header-extra: 8rem;
|
|
11
|
+
}
|
|
12
|
+
/* The bar's height now: the row, and the headline's share still showing. */
|
|
13
|
+
[data-slot="app-header"][data-variant] {
|
|
14
|
+
--nxgt-header-h: var(--nxgt-header-height);
|
|
15
|
+
}
|
|
16
|
+
[data-slot="app-header"]:is([data-variant="medium"], [data-variant="large"]) {
|
|
17
|
+
--nxgt-header-h: calc(
|
|
18
|
+
var(--nxgt-header-height) +
|
|
19
|
+
var(--nxgt-header-extra) *
|
|
20
|
+
(1 - var(--nxgt-header-progress, 0))
|
|
21
|
+
);
|
|
22
|
+
height: var(--nxgt-header-h);
|
|
23
|
+
}
|
|
24
|
+
[data-slot="app-header-headline"] {
|
|
25
|
+
min-height: 0;
|
|
26
|
+
opacity: clamp(0, calc(1 - var(--nxgt-header-progress, 0) * 1.6), 1);
|
|
27
|
+
transform: translateY(calc(var(--nxgt-header-progress, 0) * -0.75rem));
|
|
28
|
+
}
|
|
29
|
+
/* Not collapsing: the headline stays. */
|
|
30
|
+
[data-slot="app-header"]:not([data-collapsible])
|
|
31
|
+
[data-slot="app-header-headline"] {
|
|
32
|
+
opacity: 1;
|
|
33
|
+
transform: none;
|
|
34
|
+
}
|
|
35
|
+
/* The copy of the title in the small row appears once the headline is going. */
|
|
36
|
+
[data-slot="app-header-collapsed-title"] {
|
|
37
|
+
opacity: clamp(0, calc((var(--nxgt-header-progress, 0) - 0.5) * 2), 1);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Hide on scroll: the bar slides up under the gutter, and out of the tab order
|
|
41
|
+
* (`inert`, set with data-hidden). A bar in a contained shell is in the flow,
|
|
42
|
+
* so it also gives its room back. */
|
|
43
|
+
[data-slot="app-header"][data-variant] {
|
|
44
|
+
transition: transform 200ms ease;
|
|
45
|
+
}
|
|
46
|
+
[data-slot="app-header"][data-hidden] {
|
|
47
|
+
transform: translateY(calc(-100% - 1rem - env(safe-area-inset-top, 0px)));
|
|
48
|
+
}
|
|
49
|
+
[data-slot="activity-layout"][data-scroll="container"]
|
|
50
|
+
[data-slot="app-header"][data-hidden] {
|
|
51
|
+
margin-bottom: calc(-1 * var(--nxgt-header-h) - 0.5rem);
|
|
52
|
+
}
|
|
53
|
+
@media (prefers-reduced-motion: reduce) {
|
|
54
|
+
[data-slot="app-header"][data-variant] {
|
|
55
|
+
transition: none;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* Tabs: a row of one size under the bar, stuck to it (app-header.tsx). The bar
|
|
60
|
+
* is that much taller; while it hides on scroll it slides up by everything but
|
|
61
|
+
* the tabs, which stay pinned at the top of the window. */
|
|
62
|
+
[data-slot="app-header"] {
|
|
63
|
+
--nxgt-header-tabs: 3rem;
|
|
64
|
+
}
|
|
65
|
+
[data-slot="app-header"][data-tabs]:is(
|
|
66
|
+
[data-variant="medium"],
|
|
67
|
+
[data-variant="large"]
|
|
68
|
+
) {
|
|
69
|
+
height: calc(var(--nxgt-header-h) + var(--nxgt-header-tabs));
|
|
70
|
+
}
|
|
71
|
+
[data-slot="app-header"][data-tabs][data-hidden] {
|
|
72
|
+
transform: translateY(calc(var(--nxgt-header-tabs) - 100%));
|
|
73
|
+
}
|
|
74
|
+
[data-slot="activity-layout"][data-scroll="container"]
|
|
75
|
+
[data-slot="app-header"][data-tabs][data-hidden] {
|
|
76
|
+
margin-bottom: calc(-1 * var(--nxgt-header-h));
|
|
77
|
+
}
|
|
78
|
+
/* The headline's bottom padding goes with the collapse when tabs close the bar,
|
|
79
|
+
* else it would keep 1rem the tabs have no room for. */
|
|
80
|
+
[data-slot="app-header"][data-tabs] [data-slot="app-header-headline"] {
|
|
81
|
+
padding-bottom: calc(1rem * (1 - var(--nxgt-header-progress, 0)));
|
|
82
|
+
}
|
|
83
|
+
[data-slot="app-header"][data-tabs]:not([data-collapsible])
|
|
84
|
+
[data-slot="app-header-headline"] {
|
|
85
|
+
padding-bottom: 1rem;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/* The bar's whole height on the layout root (ActivityLayout sets data-header and
|
|
89
|
+
* data-header-tabs on it: nothing restyles the page from a descendant), for the sticky panels
|
|
90
|
+
* (sticky-offset.ts): worked out here from the bar's variant and tabs so the
|
|
91
|
+
* server's first paint is right; use-header-height.ts then replaces it with the
|
|
92
|
+
* measured height (a custom row, a wrapped tab bar). */
|
|
93
|
+
[data-slot="activity-layout"] {
|
|
94
|
+
--nxgt-header-total: calc(
|
|
95
|
+
var(--nxgt-header-height, 4rem) +
|
|
96
|
+
var(--nxgt-header-total-extra, 0rem) +
|
|
97
|
+
var(--nxgt-header-total-tabs, 0rem)
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
[data-slot="activity-layout"][data-header="medium"] {
|
|
101
|
+
--nxgt-header-total-extra: 5rem;
|
|
102
|
+
}
|
|
103
|
+
[data-slot="activity-layout"][data-header="large"] {
|
|
104
|
+
--nxgt-header-total-extra: 8rem;
|
|
105
|
+
}
|
|
106
|
+
[data-slot="activity-layout"][data-header-tabs] {
|
|
107
|
+
--nxgt-header-total-tabs: 3rem;
|
|
108
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* The navigation toolbar: the floating Toolbar's pill (its tokens, shadow and
|
|
2
|
+
* the slide away, toolbar.css and toolbar-variants.css, are used as they are)
|
|
3
|
+
* holding navigation links instead of actions. What differs: it is fixed at
|
|
4
|
+
* the bottom centre, an item is a 48px link at every pointer, and the current
|
|
5
|
+
* page (data-active, beside aria-current) takes the pressed look of toolbar-selected.css. Sizes
|
|
6
|
+
* are mirrored in navigation-toolbar.classes.ts. */
|
|
7
|
+
@layer components {
|
|
8
|
+
.nxgt-toolbar.nxgt-nav-toolbar {
|
|
9
|
+
--nxgt-nav-toolbar-gap: 1rem;
|
|
10
|
+
--tb-item: 3rem;
|
|
11
|
+
--tb-icon: 1.5rem;
|
|
12
|
+
position: fixed;
|
|
13
|
+
inset-inline: 0;
|
|
14
|
+
/* A docked media bar sits above the pill (its bottom is --nxgt-nav-bar). */
|
|
15
|
+
bottom: calc(
|
|
16
|
+
env(safe-area-inset-bottom, 0px) +
|
|
17
|
+
var(--nxgt-nav-toolbar-gap)
|
|
18
|
+
);
|
|
19
|
+
z-index: 30;
|
|
20
|
+
margin-inline: auto;
|
|
21
|
+
max-width: calc(100% - 1rem);
|
|
22
|
+
}
|
|
23
|
+
.nxgt-nav-toolbar .nxgt-toolbar-item {
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
26
|
+
.nxgt-nav-toolbar .nxgt-toolbar-item[data-active],
|
|
27
|
+
.nxgt-nav-toolbar .nxgt-toolbar-item[data-active]:is(:hover, :active) {
|
|
28
|
+
background: var(--tb-on);
|
|
29
|
+
color: var(--tb-on-fg);
|
|
30
|
+
}
|
|
31
|
+
/* Reduced motion: it snaps away instead of sliding. */
|
|
32
|
+
@media (prefers-reduced-motion: reduce) {
|
|
33
|
+
.nxgt-toolbar.nxgt-nav-toolbar {
|
|
34
|
+
transition: none;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
@media (forced-colors: active) {
|
|
38
|
+
.nxgt-nav-toolbar .nxgt-toolbar-item[data-active] {
|
|
39
|
+
outline: 2px solid Highlight;
|
|
40
|
+
outline-offset: -2px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|