@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.
Files changed (87) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +1 -1
  3. package/dist/{alert-dialog-D4r0Kn9h.js → alert-dialog-CXrzx0_F.js} +1 -1
  4. package/dist/{async-slice-Bx438UlG.js → async-slice-BU95-2E-.js} +1 -1
  5. package/dist/{button-Z_xcg10A.js → button-BWrgbYzl.js} +1 -1
  6. package/dist/{calculator-BfIBMiFX.js → calculator-CSzocvaa.js} +10 -10
  7. package/dist/calculator-field.js +6 -6
  8. package/dist/{calculator-segment-DQE1EFdw.js → calculator-segment-eqckz2Gh.js} +1 -1
  9. package/dist/calculator.js +1 -1
  10. package/dist/charts.js +3 -3
  11. package/dist/{chip-Bb9SM3Ly.js → chip-CXHTVFNy.js} +2 -2
  12. package/dist/{code-editor-Cw-dOrn2.js → code-editor-jL17cLkd.js} +4 -4
  13. package/dist/code-editor.js +4 -4
  14. package/dist/{code-language-items-BVfxGKiv.js → code-language-items-CefP9Ag7.js} +2 -2
  15. package/dist/{components-DXCfO95n.js → components-CrglpttC.js} +11630 -11514
  16. package/dist/components.js +24 -24
  17. package/dist/{conversion-variant-Ciii9Rbh.js → conversion-variant-BQYmd3cd.js} +4 -4
  18. package/dist/{currency-field-DipsI0Bv.js → currency-field-BT6V3B9k.js} +4 -4
  19. package/dist/{dialog-CFuONiW5.js → dialog-CraDDyZ5.js} +3 -3
  20. package/dist/dnd.js +1 -1
  21. package/dist/{dropdown-menu-BvtBDoSD.js → dropdown-menu-BvCQYzou.js} +1 -1
  22. package/dist/editor.js +8 -8
  23. package/dist/{empty-state-n2zb23YG.js → empty-state-BZ-z6vFF.js} +1 -1
  24. package/dist/{financial-variant-CTXTLbE_.js → financial-variant-CIeXbVuZ.js} +5 -5
  25. package/dist/{hooks-zyRsvilJ.js → hooks-DnDZqwHK.js} +2 -2
  26. package/dist/hooks.js +2 -2
  27. package/dist/{hover-card-BJ15hu7B.js → hover-card-Dnaux56l.js} +1 -1
  28. package/dist/i18n.js +3 -3
  29. package/dist/{icon-badge-B2ns44Cz.js → icon-badge-DoQcaVIt.js} +1 -1
  30. package/dist/{icon-button-BG438okX.js → icon-button-Cn1iJKLh.js} +1 -1
  31. package/dist/lib/components/ui/collections/row-menu/coarse-items.d.ts +2 -0
  32. package/dist/lib/components/ui/dates/picker-trigger/typed-box.d.ts +1 -1
  33. package/dist/lib/components/ui/dates/picker-trigger/use-typed-value.d.ts +4 -2
  34. package/dist/lib/components/ui/display/entity-header/entity-header.d.ts +23 -5
  35. package/dist/lib/components/ui/display/entity-header/partials/entity-header-actions.d.ts +7 -2
  36. package/dist/lib/components/ui/display/entity-header/partials/entity-header-body.d.ts +3 -1
  37. package/dist/lib/components/ui/display/entity-header/partials/entity-header-icon.d.ts +1 -2
  38. package/dist/lib/components/ui/display/entity-header/partials/entity-header-layout.d.ts +21 -7
  39. package/dist/lib/components/ui/display/entity-header/partials/entity-header-more.d.ts +8 -0
  40. package/dist/lib/components/ui/display/entity-header/partials/entity-header-split.d.ts +16 -0
  41. package/dist/lib/components/ui/display/entity-header/partials/entity-header-start.d.ts +3 -1
  42. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  43. package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +1 -1
  44. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +3 -1
  45. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +13 -0
  46. package/dist/lib/i18n/resources/en/en.d.ts +3 -0
  47. package/dist/lib/i18n/resources/en/material.json.d.ts +3 -0
  48. package/dist/lib/i18n/resources/fr/fr.d.ts +3 -0
  49. package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -0
  50. package/dist/lib/i18n/resources/resources.d.ts +6 -0
  51. package/dist/lib/i18n/translator.d.ts +1 -1
  52. package/dist/lib.js +1 -1
  53. package/dist/main.js +28 -28
  54. package/dist/map.js +8 -8
  55. package/dist/material.css +1 -1
  56. package/dist/pdf-reader.js +1 -1
  57. package/dist/{percent-field-Cjc_3pP0.js → percent-field-Cb1aKl2E.js} +2 -2
  58. package/dist/{picker-surface-Cr2n42qv.js → picker-surface-GsabnsXj.js} +4 -4
  59. package/dist/{popover-XBAX2Shp.js → popover-ChQHl-f7.js} +1 -1
  60. package/dist/{pos-types-BFVWeJki.js → pos-types-D29gSY6o.js} +1 -1
  61. package/dist/{pos-variant-DWB8Bc12.js → pos-variant-DqPKfqlj.js} +4 -4
  62. package/dist/print.js +1 -1
  63. package/dist/{programmer-variant-B-wPnDeX.js → programmer-variant-eUfpdy1g.js} +2 -2
  64. package/dist/{public-D1bH-KPQ.js → public-BZqEkG6p.js} +9 -9
  65. package/dist/{rich-code-block-DP2RT7pV.js → rich-code-block-LhH6kbbp.js} +5 -5
  66. package/dist/{scientific-variant-BP08Mo0g.js → scientific-variant-Df2INIYv.js} +2 -2
  67. package/dist/{sortable-provider-CHGZrS0f.js → sortable-provider-COpuXp55.js} +2 -2
  68. package/dist/{spinner-rk8J5y9O.js → spinner-CJFQWd2O.js} +1 -1
  69. package/dist/{tabs-nuYLggwC.js → tabs-D5YrKdgT.js} +1 -1
  70. package/dist/{text-field-DOndWDT5.js → text-field-D8y_9TyA.js} +1 -1
  71. package/dist/theme-picker.js +2 -2
  72. package/dist/{theme-toggle-5waw9Wk8.js → theme-toggle-B6k9-nbm.js} +1 -1
  73. package/dist/{toolbar-items-Bo-nMzKJ.js → toolbar-items-DSVVI5_f.js} +4 -4
  74. package/dist/{translate-material-H5GMStyF.js → translate-material-B_3mzvSr.js} +1 -1
  75. package/dist/{translator-gdpQeToI.js → translator-DcF9o74-.js} +2 -0
  76. package/dist/{use-chat-composer-DEd6GM2N.js → use-chat-composer-DaD-HRc_.js} +16 -16
  77. package/dist/{use-heading-spy-n_wPa5jC.js → use-heading-spy-BrH2blon.js} +4 -4
  78. package/dist/{use-material-translation-BW5HZMwt.js → use-material-translation-CvL9XRpG.js} +1 -1
  79. package/dist/{use-return-focus-BC4sGh1b.js → use-return-focus-Dl3XUhck.js} +1 -1
  80. package/docs/components/data-display.md +35 -9
  81. package/docs/components/date-and-time.md +7 -4
  82. package/docs/components/form-fields.md +1 -1
  83. package/docs/guides/app-shell.md +5 -0
  84. package/docs/previews/data-display-entityheader.webp +0 -0
  85. package/docs/roadmap.md +1 -0
  86. package/docs/troubleshooting.md +15 -0
  87. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * The switch's real state, for tinting the row: `checked` when controlled,
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. Hidden on
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 {};
@@ -1333,6 +1333,9 @@ export declare const en: {
1333
1333
  "color-field": {
1334
1334
  open: string;
1335
1335
  };
1336
+ "entity-header": {
1337
+ more: string;
1338
+ };
1336
1339
  toolbar: {
1337
1340
  more: string;
1338
1341
  back: string;
@@ -1323,6 +1323,9 @@ declare const _default: {
1323
1323
  "color-field": {
1324
1324
  "open": "Pick a color"
1325
1325
  },
1326
+ "entity-header": {
1327
+ "more": "More"
1328
+ },
1326
1329
  "toolbar": {
1327
1330
  "more": "More",
1328
1331
  "back": "Back"
@@ -1333,6 +1333,9 @@ export declare const fr: {
1333
1333
  "color-field": {
1334
1334
  open: string;
1335
1335
  };
1336
+ "entity-header": {
1337
+ more: string;
1338
+ };
1336
1339
  toolbar: {
1337
1340
  more: string;
1338
1341
  back: string;
@@ -1323,6 +1323,9 @@ declare const _default: {
1323
1323
  "color-field": {
1324
1324
  "open": "Choisir une couleur"
1325
1325
  },
1326
+ "entity-header": {
1327
+ "more": "Plus"
1328
+ },
1326
1329
  "toolbar": {
1327
1330
  "more": "Plus",
1328
1331
  "back": "Retour"
@@ -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;