@nxgt/material 3.37.0 → 3.39.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 (114) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/README.md +1 -1
  3. package/dist/{async-slice-BNI_F0jz.js → async-slice-BtUexP2l.js} +2 -2
  4. package/dist/{button-CB4nSAMd.js → button-CCAYSsgh.js} +1 -1
  5. package/dist/charts.js +3 -3
  6. package/dist/{chip-B6m3yagf.js → chip-Corr637n.js} +1 -1
  7. package/dist/{code-editor-BdiufnpC.js → code-editor-B8_ny_jT.js} +4 -4
  8. package/dist/code-editor.js +4 -4
  9. package/dist/{code-language-items-v5Rnq425.js → code-language-items-1E5Qmfzb.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-CTKlqX8g.js} +20201 -19716
  13. package/dist/components.js +15 -15
  14. package/dist/{dialog-DR9rACzY.js → dialog-DGlnqBbX.js} +1 -1
  15. package/dist/dnd.js +1 -1
  16. package/dist/{dropdown-menu-CpSnRXd-.js → dropdown-menu-B-buMTGc.js} +1 -1
  17. package/dist/editor.js +7 -7
  18. package/dist/{empty-state-DMr94lsF.js → empty-state-DKgPt475.js} +1 -1
  19. package/dist/hooks.js +2 -2
  20. package/dist/{i18n-provider-A4mI4vc1.js → i18n-provider-Bc7bdIRW.js} +1 -1
  21. package/dist/i18n.js +5 -5
  22. package/dist/{icon-badge-DXEBeS1y.js → icon-badge-BzLsPW3c.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/dates/date-field/date-field-content.d.ts +1 -1
  34. package/dist/lib/components/ui/dates/date-field/date-field-popover.d.ts +3 -1
  35. package/dist/lib/components/ui/dates/date-field/date-field-sheet-entry.d.ts +3 -2
  36. package/dist/lib/components/ui/dates/date-field/date-field-surface.d.ts +1 -1
  37. package/dist/lib/components/ui/dates/date-field/date-field-typed.d.ts +3 -3
  38. package/dist/lib/components/ui/dates/date-field/date-field.d.ts +23 -2
  39. package/dist/lib/components/ui/dates/date-field/use-typed-date.d.ts +3 -1
  40. package/dist/lib/components/ui/dates/date-field/use-zoned-content.d.ts +36 -0
  41. package/dist/lib/components/ui/dates/date-range-field/date-range-field.types.d.ts +1 -1
  42. package/dist/lib/components/ui/dates/picker-popover/hero-text.d.ts +1 -0
  43. package/dist/lib/components/ui/dates/picker-trigger/floating-clock.d.ts +7 -0
  44. package/dist/lib/components/ui/dates/picker-trigger/typed-day.d.ts +8 -0
  45. package/dist/lib/components/ui/dates/picker-trigger/use-zoned-date-props.d.ts +38 -0
  46. package/dist/lib/components/ui/dates/picker-trigger/use-zoned-value.d.ts +20 -0
  47. package/dist/lib/components/ui/dates/picker-trigger/zoned-bounds.d.ts +16 -0
  48. package/dist/lib/components/ui/dates/picker-trigger/zoned-matchers.d.ts +8 -0
  49. package/dist/lib/components/ui/dates/time-field/time-field.d.ts +14 -1
  50. package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -1
  51. package/dist/lib/components/ui/dates/time-field/time-string-field.d.ts +3 -2
  52. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  53. package/dist/lib/components/ui/layout/app-shell/activity-column.d.ts +2 -2
  54. package/dist/lib/components/ui/layout/app-shell/activity-layout.d.ts +1 -1
  55. package/dist/lib/components/ui/layout/app-shell/activity-layout.types.d.ts +18 -1
  56. package/dist/lib/components/ui/layout/app-shell/app-breadcrumb.d.ts +20 -4
  57. package/dist/lib/components/ui/layout/app-shell/header-context.d.ts +10 -0
  58. package/dist/lib/components/ui/layout/app-shell/header-title.d.ts +5 -1
  59. package/dist/lib/components/ui/layout/app-shell/page-title.d.ts +21 -2
  60. package/dist/lib/components/ui/primitives/segmented-input/segment-date-time.d.ts +13 -0
  61. package/dist/lib/components/ui/primitives/segmented-input/segment-defs.d.ts +6 -0
  62. package/dist/lib/components/ui/primitives/segmented-input/segment-floating.d.ts +11 -0
  63. package/dist/lib/components/ui/primitives/segmented-input/segment-part.d.ts +19 -0
  64. package/dist/lib/components/ui/selection/chip-group-field/chip-group-columns.d.ts +3 -0
  65. package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.d.ts +28 -5
  66. package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.types.d.ts +17 -0
  67. package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-option.d.ts +7 -3
  68. package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-sections.d.ts +13 -0
  69. package/dist/lib/components/ui/selection/choice-group/choice-key-target.d.ts +1 -1
  70. package/dist/lib/components/ui/selection/choice-group/choice-press.d.ts +2 -0
  71. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +3 -1
  72. package/dist/lib/components/ui/selection/choice-group/use-choice-group.d.ts +2 -0
  73. package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +11 -1
  74. package/dist/lib/i18n/resources/en/en.d.ts +2 -0
  75. package/dist/lib/i18n/resources/en/material.json.d.ts +3 -1
  76. package/dist/lib/i18n/resources/fr/fr.d.ts +2 -0
  77. package/dist/lib/i18n/resources/fr/material.json.d.ts +3 -1
  78. package/dist/lib/i18n/resources/resources.d.ts +4 -0
  79. package/dist/lib/i18n/translator.d.ts +1 -1
  80. package/dist/lib/lib/zoned-floating.d.ts +30 -0
  81. package/dist/lib/lib/zoned-instant.d.ts +16 -0
  82. package/dist/lib/lib/zoned.d.ts +11 -4
  83. package/dist/lib.js +1 -1
  84. package/dist/main.js +21 -21
  85. package/dist/map.js +4 -4
  86. package/dist/material.css +1 -1
  87. package/dist/pdf-reader.js +1 -1
  88. package/dist/print.js +2 -2
  89. package/dist/{public-BdJCVnGS.js → public-CNlIuQOj.js} +6 -6
  90. package/dist/{rich-code-block-Bwhfhu7J.js → rich-code-block-Jo0OLy0J.js} +4 -4
  91. package/dist/{sortable-provider-BshacF8v.js → sortable-provider-DgIo378H.js} +3 -2
  92. package/dist/{spinner-CKlDba5I.js → spinner-BTR8rVN9.js} +1 -1
  93. package/dist/{stored-language-CfQGHLq9.js → stored-language-Bbwcy-Pv.js} +6 -2
  94. package/dist/theme-picker.js +2 -2
  95. package/dist/{theme-toggle--Zcf5AM8.js → theme-toggle-DMZ_3HiG.js} +1 -1
  96. package/dist/{toolbar-items-B1W-uVHS.js → toolbar-items-D3SPTgXE.js} +2 -2
  97. package/dist/{translate-material-xDh10aWZ.js → translate-material-CRF13PON.js} +2 -2
  98. package/dist/{translator-BbOZntEF.js → translator-D7AVZCfQ.js} +1 -1
  99. package/dist/{use-chat-composer-C82hvxm4.js → use-chat-composer-D3kvp8Fw.js} +2310 -2184
  100. package/dist/{use-heading-spy-DXYCeegh.js → use-heading-spy-uyhOQV2O.js} +1 -1
  101. package/dist/{use-material-translation-BK2YYCY3.js → use-material-translation-kISeB-fY.js} +2 -2
  102. package/docs/components/data-table-filter-and-lists.md +55 -2
  103. package/docs/components/date-and-time.md +77 -3
  104. package/docs/components/navigation-and-layout.md +4 -2
  105. package/docs/components/selection-and-choice.md +67 -3
  106. package/docs/guides/app-shell.md +91 -2
  107. package/docs/guides/cards-and-tiles.md +5 -0
  108. package/docs/guides/forms.md +2 -2
  109. package/docs/guides/i18n.md +3 -2
  110. package/docs/roadmap.md +5 -1
  111. package/docs/troubleshooting.md +9 -1
  112. package/lib/components/components.css +2 -0
  113. package/lib/components/ui/collections/server-table/server-table-phone-row.css +189 -0
  114. package/package.json +2 -2
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-BdJCVnGS.js";
1
+ import { t as e } from "./public-CNlIuQOj.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-Bc7bdIRW.js";
2
+ import { t } from "./translate-material-CRF13PON.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-DGlnqBbX.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-B-buMTGc.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-D3SPTgXE.js";
12
+ import { t as N } from "./use-material-translation-kISeB-fY.js";
13
+ import { t as _e } from "./button-CCAYSsgh.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-DKgPt475.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-B-buMTGc.js";
3
+ import { t as i } from "./use-material-translation-kISeB-fY.js";
4
+ import { a, i as o, n as s, o as c, t as l } from "./code-language-items-1E5Qmfzb.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-B8_ny_jT.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-kISeB-fY.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-kISeB-fY.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": {
@@ -2221,6 +2222,7 @@ var t = {
2221
2222
  apply: "Apply",
2222
2223
  "no-range": "No dates yet",
2223
2224
  "type-date": "Type the date",
2225
+ "type-date-time": "Type the date and time",
2224
2226
  "type-range": "Type the dates",
2225
2227
  "select-date": "Select date",
2226
2228
  "select-dates": "Select dates",
@@ -4757,7 +4759,8 @@ var t = {
4757
4759
  error: "Impossible de charger la liste",
4758
4760
  "error-hint": "Vérifiez votre connexion, puis réessayez.",
4759
4761
  "bulk-action": "{label} ({count})",
4760
- "bulk-action-name": "{label} : {count, plural, one {# ligne} other {# lignes}}"
4762
+ "bulk-action-name": "{label} : {count, plural, one {# ligne} other {# lignes}}",
4763
+ "bulk-more": "Plus"
4761
4764
  },
4762
4765
  "list-empty": { clear: "Effacer la recherche et les filtres" },
4763
4766
  "data-grid": {
@@ -4967,6 +4970,7 @@ var t = {
4967
4970
  apply: "Appliquer",
4968
4971
  "no-range": "Aucune date",
4969
4972
  "type-date": "Saisir la date",
4973
+ "type-date-time": "Saisir la date et l’heure",
4970
4974
  "type-range": "Saisir les dates",
4971
4975
  "select-date": "Choisir la date",
4972
4976
  "select-dates": "Choisir les dates",
@@ -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-kISeB-fY.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-DMZ_3HiG.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-kISeB-fY.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-B-buMTGc.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-kISeB-fY.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-Bbwcy-Pv.js";
2
+ import { a as e, r as t } from "./translator-D7AVZCfQ.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-Bbwcy-Pv.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) {