@nxgt/material 3.26.1 → 3.28.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 +28 -0
- package/README.md +2 -2
- package/dist/{async-slice-gAbGnQT8.js → async-slice-DmhasXmq.js} +2 -2
- package/dist/{button-Cr9GIIj4.js → button-BjIg_Lz6.js} +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-s11lOfxB.js → chip-DIBIDUZH.js} +1 -1
- package/dist/{code-editor-DGIjL8Hr.js → code-editor-2EU-q9FV.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-DCOQnaCo.js → code-language-items-C_UeMQMm.js} +2 -2
- package/dist/components/ui/display/chip/chip-parts.css +19 -0
- package/dist/{components-BEN2FVD-.js → components-Cl3Zyoe-.js} +15000 -14487
- package/dist/components.js +26 -26
- package/dist/{dialog-Crvg-MN5.js → dialog-LtXwv6N3.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-B71aggp0.js → dropdown-menu-ppMPD12c.js} +1 -1
- package/dist/editor.js +7 -7
- package/dist/{empty-state-8LddxMU4.js → empty-state-X_nikpBS.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-BDi9-6DO.js → i18n-provider-BfyDgd2o.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-DG7wLnHh.js → icon-badge-oLBh3Mlk.js} +1 -1
- package/dist/lib/components/ui/collections/facet-group/facet-group.d.ts +1 -1
- package/dist/lib/components/ui/collections/facet-group/types.d.ts +2 -0
- package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +11 -1
- package/dist/lib/components/ui/collections/filter/bar/{filter-bar.d.ts → filter-bar-view.d.ts} +2 -2
- package/dist/lib/components/ui/collections/filter/bar/partials/filter-clear-all.d.ts +2 -2
- package/dist/lib/components/ui/collections/filter/bar/partials/filter-quick-pill.d.ts +4 -1
- package/dist/lib/components/ui/collections/filter/bar/partials/filter-quick-toggle.d.ts +3 -0
- package/dist/lib/components/ui/collections/filter/bar/partials/filter-scope-list.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/bar/partials/filter-scope-pill.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/bar/partials/use-quick-condition.d.ts +19 -0
- package/dist/lib/components/ui/collections/filter/bar/partials/use-quick-pill.d.ts +30 -0
- package/dist/lib/components/ui/collections/filter/bar/use-filter-bar-wiring.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/editors/boolean-editor.d.ts +3 -2
- package/dist/lib/components/ui/collections/filter/editors/checkbox-editor.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/editors/switch-editor.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +2 -2
- package/dist/lib/components/ui/collections/filter/filter-bar-url.d.ts +51 -0
- package/dist/lib/components/ui/collections/filter/index.d.ts +2 -0
- package/dist/lib/components/ui/collections/filter/internal.d.ts +3 -1
- package/dist/lib/components/ui/collections/filter/query/filter-results-status.d.ts +4 -1
- package/dist/lib/components/ui/collections/filter/query/types.d.ts +21 -3
- package/dist/lib/components/ui/collections/{server-table → filter/query}/use-answer-wait.d.ts +3 -1
- package/dist/lib/components/ui/collections/filter/query/use-apply-now.d.ts +6 -0
- package/dist/lib/components/ui/collections/filter/query/use-defaults.d.ts +15 -0
- package/dist/lib/components/ui/collections/filter/query/use-field-error.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-options.d.ts +14 -0
- package/dist/lib/components/ui/collections/filter/query/use-filter-query-value.d.ts +2 -0
- package/dist/lib/components/ui/collections/filter/query/use-filter-query.d.ts +6 -2
- package/dist/lib/components/ui/collections/filter/query/use-filter-url-query.d.ts +52 -0
- package/dist/lib/components/ui/collections/filter/query/use-refusal-announcement.d.ts +10 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/condition-panel.d.ts +2 -1
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-chip-body.d.ts +4 -2
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-chip-list.d.ts +3 -2
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-default-chip.d.ts +14 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-default-group.d.ts +16 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-default-parts.d.ts +12 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/filter-error-parts.d.ts +22 -0
- package/dist/lib/components/ui/collections/filter/sections/chips/use-control-description.d.ts +13 -0
- package/dist/lib/components/ui/collections/filter/sections/filter-facet-section.d.ts +5 -0
- package/dist/lib/components/ui/collections/filter/sections/filter-search.d.ts +4 -3
- package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +8 -0
- package/dist/lib/components/ui/collections/filter/sections/renderers/choice-facet.d.ts +1 -1
- package/dist/lib/components/ui/collections/filter/sections/use-filter-shortcuts.d.ts +4 -3
- package/dist/lib/components/ui/collections/server-table/partials/server-table-empty-chips.d.ts +1 -1
- package/dist/lib/components/ui/collections/server-table/types.d.ts +13 -1
- package/dist/lib/components/ui/collections/server-table/use-filter-params.d.ts +5 -4
- package/dist/lib/components/ui/collections/server-table/use-table-answer.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +2 -2
- package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +11 -0
- package/dist/lib/components/ui/layout/app-shell/backdrop-layer.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/shapes-clear-content.d.ts +24 -0
- package/dist/lib/components/ui/layout/app-shell/theme-backdrop.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/use-keep-shapes-inside.d.ts +4 -3
- package/dist/lib/components/ui/layout/app-shell/watch-content.d.ts +10 -1
- package/dist/lib/components/ui/layout/auth-card/auth-card-backdrop.d.ts +4 -2
- package/dist/lib/components/ui/layout/auth-card/auth-card.d.ts +4 -2
- package/dist/lib/i18n/resources/en/en.d.ts +11 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +11 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +11 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +11 -0
- package/dist/lib/i18n/resources/resources.d.ts +22 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +43 -43
- package/dist/map.js +4 -4
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-QUiFLEoj.js → public-BeM7-x-m.js} +6 -6
- package/dist/{rich-code-block-CjD54THr.js → rich-code-block-B4TIjZRA.js} +4 -4
- package/dist/{sortable-provider-DYnyzfgR.js → sortable-provider-Dcsw0pgW.js} +1 -1
- package/dist/{spinner-CJtTRNAX.js → spinner-1Ia6Akhy.js} +1 -1
- package/dist/{stored-language-ClkfkueV.js → stored-language-DoWMr969.js} +22 -0
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-ufQL3SO6.js → theme-toggle-GlKtdgYz.js} +1 -1
- package/dist/{toolbar-items-DlioFgpM.js → toolbar-items-C1GdN9P9.js} +2 -2
- package/dist/{translate-material-O-uasx3u.js → translate-material-BneuBHXZ.js} +2 -2
- package/dist/{translator-C0uxN1Nh.js → translator-D88BbpXZ.js} +1 -1
- package/dist/{use-chat-composer-DzVO5mwz.js → use-chat-composer-beyfZPBD.js} +12 -12
- package/dist/{use-heading-spy-BHCVdJfr.js → use-heading-spy-BN0yeBod.js} +1 -1
- package/dist/{use-material-translation-B4Frk3vC.js → use-material-translation-Cqcwkuur.js} +2 -2
- package/docs/components/data-table-filter-and-lists.md +184 -3
- package/docs/components/navigation-and-layout.md +1 -1
- package/docs/guides/app-shell.md +38 -0
- package/docs/guides/backgrounds.md +5 -0
- package/docs/guides/i18n.md +7 -0
- package/docs/guides/server-lists-url.md +114 -1
- package/docs/roadmap.md +16 -0
- package/docs/troubleshooting.md +73 -5
- package/lib/components/ui/display/chip/chip-parts.css +19 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.28.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1588](https://github.com/softistx/nxgt-material/pull/1588) [`2c6e7d0`](https://github.com/softistx/nxgt-material/commit/2c6e7d07faec1ae2f77f22ffbdd3710d6676d632) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `FilterBar`, the filter bar bound to the URL, for a feed or a list that is no table ([#1559](https://github.com/softistx/nxgt-material/issues/1559)): `<FilterBar model params onParamsChange resultCount />` reads its query from the search params and writes it back (the `reset` params dropped, the page's other params kept, the `locked` conditions never written), with the search, the chips, "Clear all", the announced count and the phone sheet of `ServerTable`'s band, and a `widens` field as a toggle. It takes `codec` (`keepKnownValues`, `encoding`), `defaults`, and every prop of `Filter variant="bar"` (`searchApply`, `searchMinLength`...) except the query. `useFilterUrlQuery` is the binding as a hook; `ServerTable` now uses it, so the two share one URL path (no change in behaviour).
|
|
8
|
+
|
|
9
|
+
- [#1607](https://github.com/softistx/nxgt-material/pull/1607) [`e405fbe`](https://github.com/softistx/nxgt-material/commit/e405fbefc20d972b1cacdc6910d6f8063474f2de) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A field's `default` is shown ([#1556](https://github.com/softistx/nxgt-material/issues/1556), [#1557](https://github.com/softistx/nxgt-material/issues/1557)): `Filter`, `FilterBar` and `ServerTable`'s `filter` take `defaults` (the values of the `default: 'page'` fields, the loader's own). A defaulted value is uncounted and has no ✕: a select or multi-select reads as a dashed hint chip, "Status: Active, Upcoming · Default", a button named "Status: Active, Upcoming, default value. Change" that opens the editor on the default; a quick pill reads it too; a switch or checkbox quick toggle is pressed and marked "Default", and pressing it writes an explicit "No" (`mine=0`); the facets panel and the phone sheet show the default values checked with "Default" beside the title (new `hint` prop on `FacetGroup`). The URL, `query`, the count, the announcement and "Clear all" are unchanged: choosing a value replaces the default, "Clear all" returns to it. Choosing or changing a value writes an explicit choice. New keys `material.filter.default.*` (en, fr). Core: `isQuickOn` and `quickToggleEvent` take `defaults`, new `defaultHints` and `fieldDefault`.
|
|
10
|
+
|
|
11
|
+
- [#1573](https://github.com/softistx/nxgt-material/pull/1573) [`6d482ae`](https://github.com/softistx/nxgt-material/commit/6d482ae6aa1767e5c3df492858c19db243c93e6c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A switch or checkbox filter field takes `off?: 'remove' | 'no'` ([#1558](https://github.com/softistx/nxgt-material/issues/1558)). `off: 'remove'` makes a narrowing switch such as "Only unassigned" mean nothing when off: its editor is one switch with no Yes/No, on is counted and has a chip, off writes nothing to the URL, and an old `f=x:is:0` link on it is silently dropped. `'no'` is the default and changes nothing; `widens: true` implies `'remove'`, and `widens` with `off: 'no'` throws in `defineFilterModel`. `booleanOff(field)` answers `'remove'` for it.
|
|
12
|
+
|
|
13
|
+
- [#1616](https://github.com/softistx/nxgt-material/pull/1616) [`08b438f`](https://github.com/softistx/nxgt-material/commit/08b438f72d532f73368c7288022b28bdab8f2d7e) Thanks [@SteveGT96](https://github.com/SteveGT96)! - A scope field, a refused condition's error state and a list without a search box ([#1555](https://github.com/softistx/nxgt-material/issues/1555), [#1562](https://github.com/softistx/nxgt-material/issues/1562), [#1563](https://github.com/softistx/nxgt-material/issues/1563)). `scope: true` (with a `default` and a single-value type; excludes `widens`) marks a value the user changes but never clears, such as the period: a leading pill that always shows its value (in the bar, on a phone too, where a tap opens the sheet on its section; `ServerTable`'s band, and as the facets panel's and the phone sheet's first section), with no ✕, chip, "Add filter" entry or count; "Clear all" and `withoutFilters` keep it, and `isFiltered` ignores it. `Filter`, `FilterBar` and `ServerTable`'s `filter` take `errors` (a server's message per field id): every control (chip, pill, switch or checkbox toggle, default chip) reads "Invalid" in the error tone, described by the message, the editor and the facets section show it, and the live region tells it. `defineFilterModel({ search: false })` renders no search box in the bar, the facets panel or the sheet, sends `/` to the first quick filter, and leaves the search param to the page. New keys `material.filter.error.*` (en, fr).
|
|
14
|
+
|
|
15
|
+
`addable: false` ([#1640](https://github.com/softistx/nxgt-material/issues/1640)) marks a field only a link sets: parsed, chipped with its ✕ and cleared by "Clear all" like any filter, but never in "Add filter", the quick filters, or the phone sheet and facets unless it has a value.
|
|
16
|
+
|
|
17
|
+
Core: `isKeptField` (a widening or a scope field), `isScope`, `isAddable`, `isAddableField`, `isScopeField`, `fieldErrors`, `model.search.enabled`; `sheetTriggerCount` leaves a scope out, `quickFields` and `bandQuickFields` lead with it, `addMenuFields` never lists it.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#1586](https://github.com/softistx/nxgt-material/pull/1586) [`a69bbcd`](https://github.com/softistx/nxgt-material/commit/a69bbcdc3850c3ef022053c77eebe1e4fb3a4911) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Docs: the server lists guide explains field defaults (`default`, `defaults`) resolved in the loader.
|
|
22
|
+
- Updated dependencies [[`e405fbe`](https://github.com/softistx/nxgt-material/commit/e405fbefc20d972b1cacdc6910d6f8063474f2de), [`03dc4a9`](https://github.com/softistx/nxgt-material/commit/03dc4a91bb427616df727a2c63e33c5f0e1db5a2), [`6d482ae`](https://github.com/softistx/nxgt-material/commit/6d482ae6aa1767e5c3df492858c19db243c93e6c), [`08b438f`](https://github.com/softistx/nxgt-material/commit/08b438f72d532f73368c7288022b28bdab8f2d7e)]:
|
|
23
|
+
- @nxgt/material-core@0.36.0
|
|
24
|
+
|
|
25
|
+
## 3.27.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- [#1650](https://github.com/softistx/nxgt-material/pull/1650) [`3ea0c07`](https://github.com/softistx/nxgt-material/commit/3ea0c079c4fdf2ef9beddd3dd559368ee47839cb) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `ActivityLayout` and `AuthCard` take `keepClear="gaps"` ([#1637](https://github.com/softistx/nxgt-material/issues/1637)), an opt-in mode of the backdrop's keep-clear pass for a dense page. A glyph (shape or icon) now stays when its whole box fits in a gap of 24px or more between two surfaces (a card, a list, a table), with 4px to spare from each; it is still dropped when it meets text, a control or the inside of a surface. `keepClear` is `boolean | 'gaps'` and stays `true` by default, which keeps today's behaviour unchanged. `ActivityLayout` also takes `keepClear={false}`, as `AuthCard` does: the content is then not measured (the layer's edge and the header band still drop a glyph). Boxes are still read first and written in one frame, with the 150 ms fade. See the app shell guide, "Keep the backdrop clear of the content", and the troubleshooting entry "The backdrop shapes disappeared between the cards".
|
|
30
|
+
|
|
3
31
|
## 3.26.1
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -633,7 +633,7 @@ Not components: what the stylesheet gives any element.
|
|
|
633
633
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-listempty.webp" width="120" alt="ListEmpty"> | [`ListEmpty`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#listempty) | A list's empty page: nothing yet (a title, or a scene, a line and an action), or nothing matches with what narrows it and a way out (a button or a link); its title is an `h2` (`headingLevel`). | `ListEmpty` |
|
|
634
634
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-datagrid.webp" width="120" alt="DataGrid"> | [`DataGrid`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#datagrid) | An editable grid over `DataTable`'s columns: spreadsheet keys, a selected range, editors for text, numbers (with codes such as "abs"), options, dates and checkboxes, or your own; paste from Excel or Sheets, a fill handle that continues series, resizable, hideable and reorderable columns, undo, totals, and saving per cell, per row or in a batch with versions and conflicts ([guide](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/guides/data-grid.md)). Long grids render only what is in view; on a phone it is a list of rows that open a panel. | — (later) |
|
|
635
635
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-daygroupedlist.webp" width="120" alt="DayGroupedList"> | [`DayGroupedList`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#daygroupedlist), `groupByDay` | A list split by day — Today, Yesterday, This week, Earlier — under headings that stick while their items scroll. | — (later) |
|
|
636
|
-
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-filter.webp" width="120" alt="Filter"> | [`Filter`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#filter), `FilterProvider`, `FilterContent`, `FilterChips`, `FilterPresets`, `FilterSheetTrigger` · `FilterFormField` | Schema-driven filters with chips, presets, validation, and URL or storage persistence, and a query-driven `variant="bar"` / `"facets"` (quick filters, locked conditions, a phone sheet, a URL codec for a loader; `bandDensity="compact"` as on `ServerTable`)
|
|
636
|
+
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-filter.webp" width="120" alt="Filter"> | [`Filter`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#filter), `FilterProvider`, `FilterContent`, `FilterChips`, `FilterPresets`, `FilterSheetTrigger`, `FilterBar`, `useFilterUrlQuery` · `FilterFormField` | Schema-driven filters with chips, presets, validation, and URL or storage persistence, and a query-driven `variant="bar"` / `"facets"` (quick filters, locked conditions, a phone sheet, a URL codec for a loader; `bandDensity="compact"` as on `ServerTable`), and `FilterBar`, the same bar bound to the URL for a feed or list without a table (`useFilterUrlQuery` is its hook, also `ServerTable`'s), a field `default` shown as an uncounted hint chip (a button that opens the editor on the default), a pressed toggle or checked values with a "Default" word (`defaults` prop), a `scope` field as a leading pill kept by "Clear all", a server refusal shown on the chip (`errors`) and a model with `search: false`; the filter bar's "Filters (N)" (`FilterSheetTrigger`) can be placed inside a `ServerTable` (its actions). | `Filter`, `FilterProvider`, `FilterContent`, `FilterChips`, `FilterPresets`, `FilterSheetTrigger`, `FilterFormField`; `FilterBar`, `useFilterUrlQuery`: — (later, #1569) |
|
|
637
637
|
| — | [`FilterInline`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#filterinline-filterpopover-filterdialog-filtersheet-filterdrawer), `FilterPopover`, `FilterDialog`, `FilterSheet`, `FilterDrawer` | The filter panel shown inline, or in a popover, dialog, sheet or drawer. | `FilterInline`, `FilterPopover`, `FilterDialog`, `FilterSheet`, `FilterDrawer` |
|
|
638
638
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-facetgroup.webp" width="120" alt="FacetGroup"> | [`FacetGroup`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#facetgroup) | A collapsible facet: a header button with the title, a count Badge of the active values, Clear and a chevron, over the values (typically a `CheckboxGroup` with counts). | `FacetGroup` |
|
|
639
639
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/data-table-filter-lists-pagination.webp" width="120" alt="Pagination"> | [`Pagination`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/data-table-filter-and-lists.md#pagination), `PaginationContent`, `PaginationItem`, `PaginationFirst`, `PaginationLast`, `PaginationLink`, `PaginationBar`, `paginationItems`… | Pagination primitives, with first / last links. `PaginationBar` adds a sibling window with ellipses. | `Pagination` (parts), `PaginationFirst`, `PaginationLast`, `PaginationLink`, `PaginationBar`, `paginationItems` |
|
|
@@ -645,7 +645,7 @@ Not components: what the stylesheet gives any element.
|
|
|
645
645
|
|
|
646
646
|
| Preview | Component | What it does | @nxgt/material-vue |
|
|
647
647
|
| --- | --- | --- | --- |
|
|
648
|
-
| <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. It paints the tinted page ground (`--ground`, `bg-ground`) under the content, with the sidebar and the app bar flat on `--background` and the cards on `bg-card` (`--ground: var(--background)` opts out). `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` |
|
|
648
|
+
| <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, and `keepClear="gaps"` lets its glyphs sit in the gaps between surfaces of a dense page. It paints the tinted page ground (`--ground`, `bg-ground`) under the content, with the sidebar and the app bar flat on `--background` and the cards on `bg-card` (`--ground: var(--background)` opts out). `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` |
|
|
649
649
|
| <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` |
|
|
650
650
|
| <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, an optional backdrop (the theme's by default) that keeps clear of the card. | `AuthCard` |
|
|
651
651
|
| <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) |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, r as t, t as n } from "./stored-language-
|
|
2
|
-
import { r } from "./translator-
|
|
1
|
+
import { i as e, r as t, t as n } from "./stored-language-DoWMr969.js";
|
|
2
|
+
import { r } from "./translator-D88BbpXZ.js";
|
|
3
3
|
import { t as i } from "./_baseIsEqual-C6ksIHya.js";
|
|
4
4
|
import { useMemo as a } from "react";
|
|
5
5
|
import { asyncThunkCreator as o, buildCreateSlice as s } from "@reduxjs/toolkit";
|
|
@@ -2,7 +2,7 @@ import { t as e } from "./utils-BLfntITJ.js";
|
|
|
2
2
|
import { n as t, t as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { o as r, t as i } from "./tooltip-CkttDIab.js";
|
|
4
4
|
import { t as a } from "./is-production-GLw59WU8.js";
|
|
5
|
-
import { t as o } from "./spinner-
|
|
5
|
+
import { t as o } from "./spinner-1Ia6Akhy.js";
|
|
6
6
|
import { a as s, i as c, r as l, t as u } from "./button-tones-BwuVvAmd.js";
|
|
7
7
|
import { t as d } from "./button-group-context-CaP0X5p_.js";
|
|
8
8
|
import { t as f } from "./has-text-content-Ds2dkHX_.js";
|
package/dist/charts.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./ui.utils-CAnKTCw5.js";
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import { t as r } from "./button-
|
|
3
|
+
import { t as n } from "./use-material-translation-Cqcwkuur.js";
|
|
4
|
+
import { t as r } from "./button-BjIg_Lz6.js";
|
|
5
5
|
import { t as i } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
6
6
|
import { i as a, n as o, r as s, t as c } from "./util-4heV2LPI.js";
|
|
7
7
|
import { t as l } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
|
|
8
8
|
import { t as u } from "./warn-once-C_e47JM8.js";
|
|
9
|
-
import { t as d } from "./chip-
|
|
9
|
+
import { t as d } from "./chip-DIBIDUZH.js";
|
|
10
10
|
import { c as f, d as p, f as m, i as h, o as g, p as _, s as v, t as y } from "./line-path-C5pZGC49.js";
|
|
11
11
|
import { t as b } from "./live-status-BGPaN8r8.js";
|
|
12
12
|
import { t as x } from "./linear-G97mfnKF.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./tooltip-CkttDIab.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
3
|
+
import { t as n } from "./use-material-translation-Cqcwkuur.js";
|
|
4
4
|
import { a as r } from "./button-tones-BwuVvAmd.js";
|
|
5
5
|
import { t as i } from "./react-node-text-Crkpfpco.js";
|
|
6
6
|
import { Check as a, X as o } from "lucide-react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
|
|
2
2
|
import { t } from "./utils-BLfntITJ.js";
|
|
3
3
|
import { a as n } from "./dist-lmHmz_bu.js";
|
|
4
|
-
import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-
|
|
4
|
+
import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-ppMPD12c.js";
|
|
5
5
|
import { a as c, i as l, n as u } from "./field-blur-context-Cft9s7Hg.js";
|
|
6
|
-
import { a as d, d as f, r as p, t as m, u as h } from "./toolbar-items-
|
|
6
|
+
import { a as d, d as f, r as p, t as m, u as h } from "./toolbar-items-C1GdN9P9.js";
|
|
7
7
|
import { t as g } from "./is-production-GLw59WU8.js";
|
|
8
|
-
import { t as _ } from "./use-material-translation-
|
|
9
|
-
import { i as v, n as y, o as b, t as x } from "./code-language-items-
|
|
8
|
+
import { t as _ } from "./use-material-translation-Cqcwkuur.js";
|
|
9
|
+
import { i as v, n as y, o as b, t as x } from "./code-language-items-C_UeMQMm.js";
|
|
10
10
|
import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
|
|
11
11
|
import { n as C, t as w } from "./escape-owner-C4W_sOAU.js";
|
|
12
12
|
import { t as T } from "./skeleton-DSdtr2qc.js";
|
package/dist/code-editor.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { a as t } from "./dist-lmHmz_bu.js";
|
|
3
|
-
import { d as n, r, t as i, u as a } from "./toolbar-items-
|
|
4
|
-
import { t as o } from "./use-material-translation-
|
|
5
|
-
import { i as s, n as c, o as l } from "./code-language-items-
|
|
3
|
+
import { d as n, r, t as i, u as a } from "./toolbar-items-C1GdN9P9.js";
|
|
4
|
+
import { t as o } from "./use-material-translation-Cqcwkuur.js";
|
|
5
|
+
import { i as s, n as c, o as l } from "./code-language-items-C_UeMQMm.js";
|
|
6
6
|
import { r as u, t as d } from "./field-blur-CJHzVSh9.js";
|
|
7
7
|
import { t as f } from "./skeleton-DSdtr2qc.js";
|
|
8
8
|
import { t as p } from "./live-status-BGPaN8r8.js";
|
|
9
9
|
import { t as m } from "./use-mobile-BDro060N.js";
|
|
10
10
|
import { t as h } from "./react-node-text-Crkpfpco.js";
|
|
11
|
-
import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-
|
|
11
|
+
import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-2EU-q9FV.js";
|
|
12
12
|
import { ChevronDown as k, ChevronUp as A, Columns2 as j } from "lucide-react";
|
|
13
13
|
import { useEffect as M, useRef as N, useState as P } from "react";
|
|
14
14
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, f as t } from "./dropdown-menu-
|
|
2
|
-
import { t as n } from "./use-material-translation-
|
|
1
|
+
import { d as e, f as t } from "./dropdown-menu-ppMPD12c.js";
|
|
2
|
+
import { t as n } from "./use-material-translation-Cqcwkuur.js";
|
|
3
3
|
import { t as r } from "./live-status-BGPaN8r8.js";
|
|
4
4
|
import { useEffect as i, useRef as a, useState as o } from "react";
|
|
5
5
|
import { jsx as s } from "react/jsx-runtime";
|
|
@@ -82,6 +82,25 @@
|
|
|
82
82
|
background: color-mix(in oklab, var(--foreground) 4%, transparent);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
/* A dashed chip in the error tone (a refused filter): the line and the
|
|
86
|
+
* text take the tone, dashed or selected, hover and focus included. */
|
|
87
|
+
.nxgt-chip[data-dashed][data-tone="error"] {
|
|
88
|
+
--chip-tone: var(--error-text);
|
|
89
|
+
border-color: color-mix(in oklab, var(--error-text) 60%, var(--background));
|
|
90
|
+
color: var(--error-text);
|
|
91
|
+
}
|
|
92
|
+
.nxgt-chip[data-dashed][data-tone="error"]:not([data-selected]):is(
|
|
93
|
+
:hover,
|
|
94
|
+
:focus-visible
|
|
95
|
+
) {
|
|
96
|
+
color: var(--error-text);
|
|
97
|
+
border-color: var(--error-text);
|
|
98
|
+
background: color-mix(in oklab, var(--error-text) 6%, transparent);
|
|
99
|
+
}
|
|
100
|
+
.nxgt-chip[data-dashed][data-tone="error"][data-selected] {
|
|
101
|
+
background: color-mix(in oklab, var(--error-text) 8%, var(--background));
|
|
102
|
+
}
|
|
103
|
+
|
|
85
104
|
.nxgt-chip[data-tone="neutral"] {
|
|
86
105
|
--chip-tone: var(--muted-foreground);
|
|
87
106
|
}
|