@nxgt/material 3.96.0 → 3.96.2

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 (72) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{alert-dialog-CXrzx0_F.js → alert-dialog-VyVfYwzv.js} +1 -1
  3. package/dist/{async-slice-BU95-2E-.js → async-slice-jR8f-SJC.js} +1 -1
  4. package/dist/{button-BWrgbYzl.js → button-ClrQMe_S.js} +1 -1
  5. package/dist/{calculator-CSzocvaa.js → calculator-BVuQG9PG.js} +10 -10
  6. package/dist/calculator-field.js +6 -6
  7. package/dist/{calculator-segment-eqckz2Gh.js → calculator-segment-OI0rHAjA.js} +1 -1
  8. package/dist/calculator.js +1 -1
  9. package/dist/charts.js +3 -3
  10. package/dist/{chip-CXHTVFNy.js → chip-DzKhmUzo.js} +2 -2
  11. package/dist/{code-editor-jL17cLkd.js → code-editor-DV0TiySE.js} +4 -4
  12. package/dist/code-editor.js +4 -4
  13. package/dist/{code-language-items-CefP9Ag7.js → code-language-items-6o5SAVbP.js} +2 -2
  14. package/dist/{components-D4U2GkPU.js → components-B125euHt.js} +11334 -11295
  15. package/dist/components.js +24 -24
  16. package/dist/{conversion-variant-BQYmd3cd.js → conversion-variant-QaaNYhTr.js} +4 -4
  17. package/dist/{currency-field-BT6V3B9k.js → currency-field-Dj1mBZ9n.js} +4 -4
  18. package/dist/{dialog-CraDDyZ5.js → dialog-Bti9bn6a.js} +3 -3
  19. package/dist/dnd.js +1 -1
  20. package/dist/{dropdown-menu-BvCQYzou.js → dropdown-menu-B21gOpBE.js} +1 -1
  21. package/dist/editor.js +8 -8
  22. package/dist/{empty-state-BZ-z6vFF.js → empty-state-Dw-X-0aA.js} +1 -1
  23. package/dist/{financial-variant-CIeXbVuZ.js → financial-variant-DnHWDZ8t.js} +5 -5
  24. package/dist/{hooks-DnDZqwHK.js → hooks-ppNryrR_.js} +2 -2
  25. package/dist/hooks.js +2 -2
  26. package/dist/{hover-card-Dnaux56l.js → hover-card-tmyRjh2p.js} +1 -1
  27. package/dist/i18n.js +3 -3
  28. package/dist/{icon-badge-DoQcaVIt.js → icon-badge-DW6-PxOt.js} +1 -1
  29. package/dist/{icon-button-Cn1iJKLh.js → icon-button-DKpk5gLZ.js} +1 -1
  30. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  31. package/dist/lib/components/ui/fields/switch/use-switch-checked.d.ts +1 -1
  32. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +3 -1
  33. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.utils.d.ts +13 -0
  34. package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-badge.d.ts +1 -3
  35. package/dist/lib/i18n/resources/en/en.d.ts +2 -0
  36. package/dist/lib/i18n/resources/en/material.json.d.ts +3 -1
  37. package/dist/lib/i18n/resources/fr/fr.d.ts +2 -0
  38. package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -1
  39. package/dist/lib/i18n/resources/resources.d.ts +4 -0
  40. package/dist/lib/i18n/translator.d.ts +1 -1
  41. package/dist/lib.js +1 -1
  42. package/dist/main.js +28 -28
  43. package/dist/map.js +8 -8
  44. package/dist/material.css +1 -1
  45. package/dist/pdf-reader.js +1 -1
  46. package/dist/{percent-field-Cb1aKl2E.js → percent-field-DT4qNaCH.js} +2 -2
  47. package/dist/{picker-surface-GsabnsXj.js → picker-surface-Bc7jhjjV.js} +4 -4
  48. package/dist/{popover-ChQHl-f7.js → popover-C2AG-fER.js} +1 -1
  49. package/dist/{pos-types-D29gSY6o.js → pos-types-BXMMXwbI.js} +1 -1
  50. package/dist/{pos-variant-DqPKfqlj.js → pos-variant-DCf4-Val.js} +4 -4
  51. package/dist/print.js +1 -1
  52. package/dist/{programmer-variant-eUfpdy1g.js → programmer-variant-BnvZqPJs.js} +2 -2
  53. package/dist/{public-BZqEkG6p.js → public-BxLp7Qn8.js} +9 -9
  54. package/dist/{rich-code-block-LhH6kbbp.js → rich-code-block-C30r7TeB.js} +5 -5
  55. package/dist/{scientific-variant-Df2INIYv.js → scientific-variant-Z1vVCSJv.js} +2 -2
  56. package/dist/{sortable-provider-COpuXp55.js → sortable-provider-DZzc_tN2.js} +2 -2
  57. package/dist/{spinner-CJFQWd2O.js → spinner-BiGzIQFB.js} +1 -1
  58. package/dist/{tabs-D5YrKdgT.js → tabs-CzBz8Doo.js} +1 -1
  59. package/dist/{text-field-D8y_9TyA.js → text-field-bla3PUdk.js} +1 -1
  60. package/dist/theme-picker.js +2 -2
  61. package/dist/{theme-toggle-B6k9-nbm.js → theme-toggle-B7rO23w0.js} +1 -1
  62. package/dist/{toolbar-items-DSVVI5_f.js → toolbar-items-CBv3l8sn.js} +4 -4
  63. package/dist/{translate-material-B_3mzvSr.js → translate-material-9bYZA_nV.js} +1 -1
  64. package/dist/{translator-DcF9o74-.js → translator-B5RR8VyT.js} +6 -2
  65. package/dist/{use-chat-composer-DaD-HRc_.js → use-chat-composer-U7jZfdQN.js} +16 -16
  66. package/dist/{use-heading-spy-BrH2blon.js → use-heading-spy-De3zZEMX.js} +4 -4
  67. package/dist/{use-material-translation-CvL9XRpG.js → use-material-translation-DM4nCI16.js} +1 -1
  68. package/dist/{use-return-focus-Dl3XUhck.js → use-return-focus-CbTPRBcn.js} +1 -1
  69. package/docs/components/form-fields.md +1 -1
  70. package/docs/guides/app-shell.md +5 -0
  71. package/docs/guides/event-calendar.md +5 -1
  72. package/package.json +3 -3
@@ -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 {};
@@ -5,12 +5,10 @@ import { CalendarEventBadge } from '../types.js';
5
5
  * and, hidden visually, its text. The container that names it (a button, a
6
6
  * cell) holds the label in its own name.
7
7
  */
8
- export declare function CalendarBadge({ badge, slot, dot, wrap, className, }: {
8
+ export declare function CalendarBadge({ badge, slot, dot, className, }: {
9
9
  badge: CalendarEventBadge;
10
10
  /** The `data-slot` of the pill; the dot adds `-dot`. */
11
11
  slot: string;
12
12
  dot?: boolean;
13
- /** The label may take two lines instead of one clipped (a narrow corner). */
14
- wrap?: boolean;
15
13
  className?: string;
16
14
  }): import("react").JSX.Element;
@@ -1872,6 +1872,8 @@ export declare const en: {
1872
1872
  cancelled: string;
1873
1873
  "week-badge": string;
1874
1874
  "time-zone": string;
1875
+ from: string;
1876
+ until: string;
1875
1877
  };
1876
1878
  "event-chip": {
1877
1879
  cancelled: string;
@@ -1861,7 +1861,9 @@ declare const _default: {
1861
1861
  "lane-all": "All weeks",
1862
1862
  "cancelled": "Cancelled",
1863
1863
  "week-badge": "Week: {label}",
1864
- "time-zone": "Time zone: {zone}"
1864
+ "time-zone": "Time zone: {zone}",
1865
+ "from": "From {time}",
1866
+ "until": "Until {time}"
1865
1867
  },
1866
1868
  "event-chip": {
1867
1869
  "cancelled": "Cancelled"
@@ -1872,6 +1872,8 @@ export declare const fr: {
1872
1872
  cancelled: string;
1873
1873
  "week-badge": string;
1874
1874
  "time-zone": string;
1875
+ from: string;
1876
+ until: string;
1875
1877
  };
1876
1878
  "event-chip": {
1877
1879
  cancelled: string;
@@ -1861,7 +1861,9 @@ declare const _default: {
1861
1861
  "lane-all": "Toutes les semaines",
1862
1862
  "cancelled": "Annulé",
1863
1863
  "week-badge": "Semaine : {label}",
1864
- "time-zone": "Fuseau horaire : {zone}"
1864
+ "time-zone": "Fuseau horaire : {zone}",
1865
+ "from": "À partir de {time}",
1866
+ "until": "Jusqu’à {time}"
1865
1867
  },
1866
1868
  "event-chip": {
1867
1869
  "cancelled": "Annulé"
@@ -1870,6 +1870,8 @@ export declare const resources: {
1870
1870
  cancelled: string;
1871
1871
  "week-badge": string;
1872
1872
  "time-zone": string;
1873
+ from: string;
1874
+ until: string;
1873
1875
  };
1874
1876
  "event-chip": {
1875
1877
  cancelled: string;
@@ -5461,6 +5463,8 @@ export declare const resources: {
5461
5463
  cancelled: string;
5462
5464
  "week-badge": string;
5463
5465
  "time-zone": string;
5466
+ from: string;
5467
+ until: string;
5464
5468
  };
5465
5469
  "event-chip": {
5466
5470
  cancelled: string;