@nxgt/material 3.37.0 → 3.38.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.
Files changed (85) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -1
  3. package/dist/{async-slice-BNI_F0jz.js → async-slice-DqjtOYlO.js} +2 -2
  4. package/dist/{button-CB4nSAMd.js → button-D52ron-a.js} +1 -1
  5. package/dist/charts.js +3 -3
  6. package/dist/{chip-B6m3yagf.js → chip-0XYwSp9o.js} +1 -1
  7. package/dist/{code-editor-BdiufnpC.js → code-editor-BetIXpJ6.js} +4 -4
  8. package/dist/code-editor.js +4 -4
  9. package/dist/{code-language-items-v5Rnq425.js → code-language-items-C7prxl_7.js} +2 -2
  10. package/dist/components/components.css +2 -0
  11. package/dist/components/ui/collections/server-table/server-table-phone-row.css +189 -0
  12. package/dist/{components-mqgqmfvj.js → components-NoCZ44Ri.js} +20396 -20186
  13. package/dist/components.js +15 -15
  14. package/dist/{dialog-DR9rACzY.js → dialog-BCsT_aLo.js} +1 -1
  15. package/dist/dnd.js +1 -1
  16. package/dist/{dropdown-menu-CpSnRXd-.js → dropdown-menu-Crt5QvTr.js} +1 -1
  17. package/dist/editor.js +7 -7
  18. package/dist/{empty-state-DMr94lsF.js → empty-state-DFWq2CWB.js} +1 -1
  19. package/dist/hooks.js +2 -2
  20. package/dist/{i18n-provider-A4mI4vc1.js → i18n-provider-C0RBM8rH.js} +1 -1
  21. package/dist/i18n.js +5 -5
  22. package/dist/{icon-badge-DXEBeS1y.js → icon-badge-XBoBIt_R.js} +1 -1
  23. package/dist/lib/components/ui/collections/data-table/data-table-list-slots.d.ts +12 -0
  24. package/dist/lib/components/ui/collections/data-table/internal.d.ts +1 -0
  25. package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-list-bar.d.ts +11 -1
  26. package/dist/lib/components/ui/collections/data-table/select-checkbox.d.ts +9 -1
  27. package/dist/lib/components/ui/collections/filter/internal.d.ts +1 -0
  28. package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +10 -0
  29. package/dist/lib/components/ui/collections/server-table/partials/server-table-band.d.ts +13 -2
  30. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +6 -2
  31. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk.d.ts +10 -0
  32. package/dist/lib/components/ui/collections/server-table/partials/server-table-phone-row.d.ts +17 -0
  33. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  34. package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +2 -2
  35. package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +1 -1
  36. package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +18 -1
  37. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +20 -4
  38. package/dist/lib/components/ui/layout/app-shell/header-context.d.ts +10 -0
  39. package/dist/lib/components/ui/layout/app-shell/header-title.d.ts +5 -1
  40. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +21 -2
  41. package/dist/lib/components/ui/selection/chip-group-field/chip-group-columns.d.ts +3 -0
  42. package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.d.ts +28 -5
  43. package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.types.d.ts +17 -0
  44. package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-option.d.ts +7 -3
  45. package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-sections.d.ts +13 -0
  46. package/dist/lib/components/ui/selection/choice-group/choice-key-target.d.ts +1 -1
  47. package/dist/lib/components/ui/selection/choice-group/choice-press.d.ts +2 -0
  48. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +3 -1
  49. package/dist/lib/components/ui/selection/choice-group/use-choice-group.d.ts +2 -0
  50. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +11 -1
  51. package/dist/lib/i18n/resources/en/en.d.ts +1 -0
  52. package/dist/lib/i18n/resources/en/material.json.d.ts +2 -1
  53. package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
  54. package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -1
  55. package/dist/lib/i18n/resources/resources.d.ts +2 -0
  56. package/dist/lib/i18n/translator.d.ts +1 -1
  57. package/dist/lib.js +1 -1
  58. package/dist/main.js +21 -21
  59. package/dist/map.js +4 -4
  60. package/dist/material.css +1 -1
  61. package/dist/pdf-reader.js +1 -1
  62. package/dist/print.js +2 -2
  63. package/dist/{public-BdJCVnGS.js → public-CWIpzLzO.js} +6 -6
  64. package/dist/{rich-code-block-Bwhfhu7J.js → rich-code-block-C4aBv4cA.js} +4 -4
  65. package/dist/{sortable-provider-BshacF8v.js → sortable-provider-0uBi0zcP.js} +3 -2
  66. package/dist/{spinner-CKlDba5I.js → spinner-CuxEwO0d.js} +1 -1
  67. package/dist/{stored-language-CfQGHLq9.js → stored-language-D8aemZhx.js} +4 -2
  68. package/dist/theme-picker.js +2 -2
  69. package/dist/{theme-toggle--Zcf5AM8.js → theme-toggle-ik5nV1P5.js} +1 -1
  70. package/dist/{toolbar-items-B1W-uVHS.js → toolbar-items-C97E5HRa.js} +2 -2
  71. package/dist/{translate-material-xDh10aWZ.js → translate-material-B84ufMSF.js} +2 -2
  72. package/dist/{translator-BbOZntEF.js → translator-Bq8UHmvu.js} +1 -1
  73. package/dist/{use-chat-composer-C82hvxm4.js → use-chat-composer-DmDcEGp4.js} +2310 -2184
  74. package/dist/{use-heading-spy-DXYCeegh.js → use-heading-spy-BgG7Q47k.js} +1 -1
  75. package/dist/{use-material-translation-BK2YYCY3.js → use-material-translation-CiYhVc39.js} +2 -2
  76. package/docs/components/data-table-filter-and-lists.md +55 -2
  77. package/docs/components/navigation-and-layout.md +4 -2
  78. package/docs/components/selection-and-choice.md +67 -3
  79. package/docs/guides/app-shell.md +91 -2
  80. package/docs/guides/cards-and-tiles.md +5 -0
  81. package/docs/guides/i18n.md +1 -1
  82. package/docs/roadmap.md +5 -1
  83. package/lib/components/components.css +2 -0
  84. package/lib/components/ui/collections/server-table/server-table-phone-row.css +189 -0
  85. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-BdJCVnGS.js";
1
+ import { t as e } from "./public-CWIpzLzO.js";
2
2
  import { configurePdfReader as t } from "@nxgt/material-core/pdf-reader";
3
3
  export { e as PdfReader, t as configurePdfReader };
package/dist/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import { r as e } from "./i18n-provider-A4mI4vc1.js";
2
- import { t } from "./translate-material-xDh10aWZ.js";
1
+ import { r as e } from "./i18n-provider-C0RBM8rH.js";
2
+ import { t } from "./translate-material-B84ufMSF.js";
3
3
  import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useState as l } from "react";
4
4
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
5
5
  import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
@@ -6,18 +6,18 @@ import { c as i, i as a, l as o, n as s, o as c, s as l } from "./dist-lmHmz_bu.
6
6
  import { a as u, o as d } from "./tooltip-CkttDIab.js";
7
7
  import { i as f } from "./dist-C4wtXCjf.js";
8
8
  import { r as p, t as m } from "./in-dialog-Vwkyp-M5.js";
9
- import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-DR9rACzY.js";
10
- import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-CpSnRXd-.js";
11
- import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-B1W-uVHS.js";
12
- import { t as N } from "./use-material-translation-BK2YYCY3.js";
13
- import { t as _e } from "./button-CB4nSAMd.js";
9
+ import { C as h, D as g, E as _, O as v, S as y, T as b, _ as x, f as S, g as ee, k as te, r as ne, t as C, u as re, w } from "./dialog-BCsT_aLo.js";
10
+ import { c as T, d as ie, f as E, i as ae, l as oe, n as se, o as D, t as ce, u as O } from "./dropdown-menu-Crt5QvTr.js";
11
+ import { S as le, a as k, d as A, g as ue, h as de, i as fe, m as pe, n as j, r as me, t as M, u as he, w as ge } from "./toolbar-items-C97E5HRa.js";
12
+ import { t as N } from "./use-material-translation-CiYhVc39.js";
13
+ import { t as _e } from "./button-D52ron-a.js";
14
14
  import { n as ve, t as ye } from "./icon-button-CN9r5TNE.js";
15
15
  import { t as be } from "./useEvent-2fKq-6w8.js";
16
16
  import { n as xe, t as Se } from "./toggle-group-BMJNcFAC.js";
17
17
  import { o as Ce } from "./escape-owner-C4W_sOAU.js";
18
18
  import { n as we } from "./use-slice-reducer-BGkeGtML.js";
19
19
  import { r as Te } from "./use-csp-nonce-ZKs9k-ov.js";
20
- import { n as Ee, t as De } from "./empty-state-DMr94lsF.js";
20
+ import { n as Ee, t as De } from "./empty-state-DFWq2CWB.js";
21
21
  import { t as Oe } from "./client-only.utils-3nHNzCki.js";
22
22
  import { t as ke } from "./use-scroll-away-PQRFZkT2.js";
23
23
  import { ArrowLeft as Ae, BookOpenText as je, ChevronDown as Me, ChevronLeft as Ne, ChevronRight as Pe, ChevronUp as Fe, Download as Ie, Eraser as Le, FileText as Re, FileWarning as ze, FileX2 as Be, Highlighter as Ve, KeyRound as He, LayoutGrid as Ue, List as We, Loader2 as Ge, Maximize as Ke, MessageSquareText as qe, Minimize as Je, MoreVertical as Ye, MousePointer2 as Xe, MoveHorizontal as Ze, PanelLeft as Qe, Pen as $e, PencilLine as et, Printer as tt, RotateCw as nt, Search as rt, StickyNote as it, Type as at, Underline as ot, Undo2 as st, Volume2 as ct, X as lt, XIcon as ut, ZoomIn as dt, ZoomOut as ft } from "lucide-react";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./tooltip-CkttDIab.js";
2
- import { c as t, n, t as r } from "./dropdown-menu-CpSnRXd-.js";
3
- import { t as i } from "./use-material-translation-BK2YYCY3.js";
4
- import { a, i as o, n as s, o as c, t as l } from "./code-language-items-v5Rnq425.js";
2
+ import { c as t, n, t as r } from "./dropdown-menu-Crt5QvTr.js";
3
+ import { t as i } from "./use-material-translation-CiYhVc39.js";
4
+ import { a, i as o, n as s, o as c, t as l } from "./code-language-items-C7prxl_7.js";
5
5
  import { i as u, n as d, r as f, s as p } from "./dist-C3GR7kJd.js";
6
6
  import { t as m } from "./code-block-spec-CGLKRhwD.js";
7
7
  import { Check as h, ChevronDown as g, Copy as _, Maximize2 as v, WrapText as y } from "lucide-react";
@@ -143,7 +143,7 @@ function M({ node: e, editor: t, updateAttributes: n, editable: r, wrap: a, onWr
143
143
  }
144
144
  //#endregion
145
145
  //#region lib/components/ui/widgets/editor/extensions/code/code-block-open.tsx
146
- var N = x(() => import("./code-editor-BdiufnpC.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
146
+ var N = x(() => import("./code-editor-BetIXpJ6.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
147
147
  function P() {
148
148
  let { t: e } = i();
149
149
  return /* @__PURE__ */ T("div", {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DVRQkaTK.js";
3
- import { t as n } from "./use-material-translation-BK2YYCY3.js";
3
+ import { t as n } from "./use-material-translation-CiYhVc39.js";
4
4
  import { t as r } from "./icon-button-CN9r5TNE.js";
5
5
  import { t as i } from "./compose-refs-DZ0iIVF-.js";
6
6
  import { GripVertical as a } from "lucide-react";
@@ -2545,7 +2545,8 @@ function lr({ id: n, data: r, disabled: i, asSlot: a = !1, className: o, style:
2545
2545
  let { attributes: l, listeners: u, setNodeRef: d, setActivatorNodeRef: f, transform: p, isDragging: m } = hn({
2546
2546
  id: n,
2547
2547
  data: r,
2548
- disabled: i
2548
+ disabled: i,
2549
+ attributes: c.role ? { role: c.role } : void 0
2549
2550
  });
2550
2551
  return /* @__PURE__ */ y(rr, {
2551
2552
  value: {
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { o as t } from "./tooltip-CkttDIab.js";
3
- import { t as n } from "./use-material-translation-BK2YYCY3.js";
3
+ import { t as n } from "./use-material-translation-CiYhVc39.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/feedback/spinner/spinner.tsx
6
6
  var i = t("transition-all duration-500", {
@@ -2011,7 +2011,8 @@ var t = {
2011
2011
  error: "Could not load the list",
2012
2012
  "error-hint": "Check your connection, then try again.",
2013
2013
  "bulk-action": "{label} ({count})",
2014
- "bulk-action-name": "{label} {count, plural, one {# row} other {# rows}}"
2014
+ "bulk-action-name": "{label} {count, plural, one {# row} other {# rows}}",
2015
+ "bulk-more": "More"
2015
2016
  },
2016
2017
  "list-empty": { clear: "Clear search and filters" },
2017
2018
  "data-grid": {
@@ -4757,7 +4758,8 @@ var t = {
4757
4758
  error: "Impossible de charger la liste",
4758
4759
  "error-hint": "Vérifiez votre connexion, puis réessayez.",
4759
4760
  "bulk-action": "{label} ({count})",
4760
- "bulk-action-name": "{label} : {count, plural, one {# ligne} other {# lignes}}"
4761
+ "bulk-action-name": "{label} : {count, plural, one {# ligne} other {# lignes}}",
4762
+ "bulk-more": "Plus"
4761
4763
  },
4762
4764
  "list-empty": { clear: "Effacer la recherche et les filtres" },
4763
4765
  "data-grid": {
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { a as t, i as n, n as r, o as i, r as a, t as o } from "./bubble-input-B7BVd9fX.js";
3
- import { t as s } from "./use-material-translation-BK2YYCY3.js";
3
+ import { t as s } from "./use-material-translation-CiYhVc39.js";
4
4
  import { a as c, r as l } from "./icon-sprites-CaYXzOL4.js";
5
5
  import { t as u } from "./use-theme-DMcyJ52N.js";
6
6
  import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
7
- import { t as p } from "./theme-toggle--Zcf5AM8.js";
7
+ import { t as p } from "./theme-toggle-ik5nV1P5.js";
8
8
  import { n as m, t as h } from "./nxgt-theme-ZS945iMP.js";
9
9
  import { Check as g } from "lucide-react";
10
10
  import { useContext as _ } from "react";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-BK2YYCY3.js";
1
+ import { t as e } from "./use-material-translation-CiYhVc39.js";
2
2
  import { i as t } from "./theme-store-CSl51uNH.js";
3
3
  import { n, t as r } from "./use-theme-DMcyJ52N.js";
4
4
  import { r as i } from "./theme-context-Cofk6vgs.js";
@@ -4,9 +4,9 @@ import { a as i, c as a, i as o, l as s, r as c, s as l } from "./dist-lmHmz_bu.
4
4
  import { b as u, c as d, d as f, f as p, l as m, t as h, u as g, x as _ } from "./tooltip-CkttDIab.js";
5
5
  import { i as v, n as y, r as b, t as x } from "./dist-C4wtXCjf.js";
6
6
  import { a as S, c as C, l as w, o as T, r as ee, s as te, t as E } from "./in-dialog-Vwkyp-M5.js";
7
- import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-CpSnRXd-.js";
7
+ import { A as ne, M as re, N as ie, b as ae, d as oe, f as se, i as ce, j as le, l as ue, n as de, o as fe, r as pe, t as me, u as he, y as ge } from "./dropdown-menu-Crt5QvTr.js";
8
8
  import { a as _e, n as ve, r as ye, t as be } from "./dist-B7RjY7SL.js";
9
- import { t as xe } from "./use-material-translation-BK2YYCY3.js";
9
+ import { t as xe } from "./use-material-translation-CiYhVc39.js";
10
10
  import { t as Se } from "./warn-once-C_e47JM8.js";
11
11
  import { o as Ce } from "./escape-owner-C4W_sOAU.js";
12
12
  import { ChevronLeft as we, ChevronRightIcon as Te, MoreVertical as Ee } from "lucide-react";
@@ -1,5 +1,5 @@
1
- import "./stored-language-CfQGHLq9.js";
2
- import { a as e, r as t } from "./translator-BbOZntEF.js";
1
+ import "./stored-language-D8aemZhx.js";
2
+ import { a as e, r as t } from "./translator-Bq8UHmvu.js";
3
3
  //#region lib/i18n/translate-material.ts
4
4
  function n(n, r, i, a) {
5
5
  if (n) for (let e of /* @__PURE__ */ new Set([n, n.split("-")[0]])) {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./is-production-GLw59WU8.js";
2
- import { a as t, i as n, r, t as i } from "./stored-language-CfQGHLq9.js";
2
+ import { a as t, i as n, r, t as i } from "./stored-language-D8aemZhx.js";
3
3
  import { t as a } from "./get-CTzJAwfc.js";
4
4
  //#region ../../node_modules/@formatjs/fast-memoize/index.js
5
5
  function o(e, t) {