@nxgt/material 3.95.1 → 3.96.1
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 +1 -1
- package/dist/{alert-dialog-D4r0Kn9h.js → alert-dialog-CXrzx0_F.js} +1 -1
- package/dist/{async-slice-Bx438UlG.js → async-slice-BU95-2E-.js} +1 -1
- package/dist/{button-Z_xcg10A.js → button-BWrgbYzl.js} +1 -1
- package/dist/{calculator-BfIBMiFX.js → calculator-CSzocvaa.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-DQE1EFdw.js → calculator-segment-eqckz2Gh.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-Bb9SM3Ly.js → chip-CXHTVFNy.js} +2 -2
- package/dist/{code-editor-Cw-dOrn2.js → code-editor-jL17cLkd.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-BVfxGKiv.js → code-language-items-CefP9Ag7.js} +2 -2
- package/dist/{components-DXCfO95n.js → components-CrglpttC.js} +11630 -11514
- package/dist/components.js +24 -24
- package/dist/{conversion-variant-Ciii9Rbh.js → conversion-variant-BQYmd3cd.js} +4 -4
- package/dist/{currency-field-DipsI0Bv.js → currency-field-BT6V3B9k.js} +4 -4
- package/dist/{dialog-CFuONiW5.js → dialog-CraDDyZ5.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-BvtBDoSD.js → dropdown-menu-BvCQYzou.js} +1 -1
- package/dist/editor.js +8 -8
- package/dist/{empty-state-n2zb23YG.js → empty-state-BZ-z6vFF.js} +1 -1
- package/dist/{financial-variant-CTXTLbE_.js → financial-variant-CIeXbVuZ.js} +5 -5
- package/dist/{hooks-zyRsvilJ.js → hooks-DnDZqwHK.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-BJ15hu7B.js → hover-card-Dnaux56l.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-B2ns44Cz.js → icon-badge-DoQcaVIt.js} +1 -1
- package/dist/{icon-button-BG438okX.js → icon-button-Cn1iJKLh.js} +1 -1
- package/dist/lib/components/ui/collections/row-menu/coarse-items.d.ts +2 -0
- package/dist/lib/components/ui/dates/picker-trigger/typed-box.d.ts +1 -1
- package/dist/lib/components/ui/dates/picker-trigger/use-typed-value.d.ts +4 -2
- package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +23 -5
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-actions.d.ts +7 -2
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-body.d.ts +3 -1
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-icon.d.ts +1 -2
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-layout.d.ts +21 -7
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-more.d.ts +8 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-split.d.ts +16 -0
- package/dist/lib/components/ui/display/entity-header/partials/entity-header-start.d.ts +3 -1
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +1 -1
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +13 -0
- package/dist/lib/i18n/resources/en/en.d.ts +3 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -0
- package/dist/lib/i18n/resources/resources.d.ts +6 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +28 -28
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-Cjc_3pP0.js → percent-field-Cb1aKl2E.js} +2 -2
- package/dist/{picker-surface-Cr2n42qv.js → picker-surface-GsabnsXj.js} +4 -4
- package/dist/{popover-XBAX2Shp.js → popover-ChQHl-f7.js} +1 -1
- package/dist/{pos-types-BFVWeJki.js → pos-types-D29gSY6o.js} +1 -1
- package/dist/{pos-variant-DWB8Bc12.js → pos-variant-DqPKfqlj.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-B-wPnDeX.js → programmer-variant-eUfpdy1g.js} +2 -2
- package/dist/{public-D1bH-KPQ.js → public-BZqEkG6p.js} +9 -9
- package/dist/{rich-code-block-DP2RT7pV.js → rich-code-block-LhH6kbbp.js} +5 -5
- package/dist/{scientific-variant-BP08Mo0g.js → scientific-variant-Df2INIYv.js} +2 -2
- package/dist/{sortable-provider-CHGZrS0f.js → sortable-provider-COpuXp55.js} +2 -2
- package/dist/{spinner-rk8J5y9O.js → spinner-CJFQWd2O.js} +1 -1
- package/dist/{tabs-nuYLggwC.js → tabs-D5YrKdgT.js} +1 -1
- package/dist/{text-field-DOndWDT5.js → text-field-D8y_9TyA.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-5waw9Wk8.js → theme-toggle-B6k9-nbm.js} +1 -1
- package/dist/{toolbar-items-Bo-nMzKJ.js → toolbar-items-DSVVI5_f.js} +4 -4
- package/dist/{translate-material-H5GMStyF.js → translate-material-B_3mzvSr.js} +1 -1
- package/dist/{translator-gdpQeToI.js → translator-DcF9o74-.js} +2 -0
- package/dist/{use-chat-composer-DEd6GM2N.js → use-chat-composer-DaD-HRc_.js} +16 -16
- package/dist/{use-heading-spy-n_wPa5jC.js → use-heading-spy-BrH2blon.js} +4 -4
- package/dist/{use-material-translation-BW5HZMwt.js → use-material-translation-CvL9XRpG.js} +1 -1
- package/dist/{use-return-focus-BC4sGh1b.js → use-return-focus-Dl3XUhck.js} +1 -1
- package/docs/components/data-display.md +35 -9
- package/docs/components/date-and-time.md +7 -4
- package/docs/components/form-fields.md +1 -1
- package/docs/guides/app-shell.md +5 -0
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/roadmap.md +1 -0
- package/docs/troubleshooting.md +15 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The switch's real state, for
|
|
2
|
+
* The switch's real state, for the row's `data-checked`: `checked` when controlled,
|
|
3
3
|
* else `defaultChecked` and what the switch reports as it toggles. The row
|
|
4
4
|
* used to read `value`, the submitted form value, which says nothing about it.
|
|
5
5
|
*/
|
|
@@ -50,7 +50,9 @@ export type AppBreadcrumbProps = {
|
|
|
50
50
|
* A route opts in by exporting `handle = { breadcrumb: (match) => ... }`;
|
|
51
51
|
* routes without one contribute nothing, so intermediate layouts stay out of
|
|
52
52
|
* the trail, and so does a crumb that renders `null`; with none left the trail
|
|
53
|
-
* is hidden. It starts with a home icon, or with `root`'s text link or custom icon link
|
|
53
|
+
* is hidden. It starts with a home icon, or with `root`'s text link or custom icon link;
|
|
54
|
+
* that first crumb's icon or text starts on the content's edge (its own start inset is
|
|
55
|
+
* dropped, so nothing leaves the column). Hidden on
|
|
54
56
|
* mobile, where there is no room for it.
|
|
55
57
|
*/
|
|
56
58
|
export declare function AppBreadcrumb({ root, className, ...props }: AppBreadcrumbProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { LinkProps } from 'react-router';
|
|
2
3
|
/**
|
|
3
4
|
* The `LinkProps` an `<li>` has no use for: React Router's own options and
|
|
@@ -11,4 +12,16 @@ export declare function splitLinkProps<P extends Partial<Pick<LinkProps, LinkOnl
|
|
|
11
12
|
link: Pick<P, LinkOnlyKey & keyof P>;
|
|
12
13
|
item: Omit<P, LinkOnlyKey>;
|
|
13
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* The crumbs of the matched routes' `handle.breadcrumb`. A route without one
|
|
17
|
+
* contributes nothing, and a crumb that renders null (or nothing) is left out
|
|
18
|
+
* with its separator, like `handle.title`; when none is left the trail is
|
|
19
|
+
* hidden.
|
|
20
|
+
*/
|
|
21
|
+
export declare function trailCrumbs<M extends {
|
|
22
|
+
handle: unknown;
|
|
23
|
+
}>(matches: M[]): {
|
|
24
|
+
match: M;
|
|
25
|
+
content: ReactNode;
|
|
26
|
+
}[];
|
|
14
27
|
export {};
|
|
@@ -1331,6 +1331,9 @@ export declare const resources: {
|
|
|
1331
1331
|
"color-field": {
|
|
1332
1332
|
open: string;
|
|
1333
1333
|
};
|
|
1334
|
+
"entity-header": {
|
|
1335
|
+
more: string;
|
|
1336
|
+
};
|
|
1334
1337
|
toolbar: {
|
|
1335
1338
|
more: string;
|
|
1336
1339
|
back: string;
|
|
@@ -4919,6 +4922,9 @@ export declare const resources: {
|
|
|
4919
4922
|
"color-field": {
|
|
4920
4923
|
open: string;
|
|
4921
4924
|
};
|
|
4925
|
+
"entity-header": {
|
|
4926
|
+
more: string;
|
|
4927
|
+
};
|
|
4922
4928
|
toolbar: {
|
|
4923
4929
|
more: string;
|
|
4924
4930
|
back: string;
|