@nxgt/material 3.52.0 → 3.54.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 (136) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +5 -4
  3. package/dist/{async-slice-BGtmF3K5.js → async-slice-DDSsekfm.js} +2 -2
  4. package/dist/{button-Ct0KRBsN.js → button-Ct8DSLVv.js} +1 -1
  5. package/dist/charts.js +1064 -932
  6. package/dist/{chip-Ca1SEd70.js → chip-BzoNsd-W.js} +2 -2
  7. package/dist/{code-editor-DtwRhK8B.js → code-editor-DsLQeiZc.js} +6 -6
  8. package/dist/code-editor.js +5 -5
  9. package/dist/{code-language-items-CEclGxhA.js → code-language-items-4zXlIEZ0.js} +2 -2
  10. package/dist/components/components.css +1 -5
  11. package/dist/components/theme-tokens.css +19 -15
  12. package/dist/components/ui/actions/action-card/action-card-tile.css +11 -2
  13. package/dist/components/ui/collections/data-table/data-table-items-record.css +27 -0
  14. package/dist/components/ui/collections/data-table/index.css +14 -0
  15. package/dist/components/ui/overlays/dialog/dialog.css +2 -1
  16. package/dist/components/ui/overlays/popover/popover.css +3 -2
  17. package/dist/{components-CzELzsOi.js → components-DFG2mgsM.js} +14052 -13890
  18. package/dist/components.js +26 -26
  19. package/dist/{dialog-BIy04Hpd.js → dialog-DwPmwmA3.js} +4 -4
  20. package/dist/dnd.js +1 -1
  21. package/dist/draw-animate.js +1 -1
  22. package/dist/{dropdown-menu-B0Kd8x3G.js → dropdown-menu-CDN6Nqx6.js} +1 -1
  23. package/dist/editor.js +9 -9
  24. package/dist/{empty-state-CKxORwFE.js → empty-state-Bb9W9did.js} +2 -2
  25. package/dist/{escape-owner-BGKjiglh.js → escape-owner-DI_lg2ID.js} +1 -1
  26. package/dist/{field-blur-Dz1zPaYK.js → field-blur-BcJH8H9B.js} +1 -1
  27. package/dist/{field-blur-context-1T6GkSNc.js → field-blur-context-Dg1nwWOV.js} +1 -1
  28. package/dist/hooks.js +2 -2
  29. package/dist/{hover-card-BwQ9IRxa.js → hover-card-Qse4gnop.js} +2 -2
  30. package/dist/i18n-provider-DlVPS58N.js +79 -0
  31. package/dist/i18n.js +5 -5
  32. package/dist/{icon-badge-D5Ns7ndZ.js → icon-badge-DVPBQOKe.js} +3 -3
  33. package/dist/{icon-button-VzdqY_Tv.js → icon-button-C3wDxsh6.js} +12 -12
  34. package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +17 -1
  35. package/dist/lib/components/ui/actions/action-card/action-card.d.ts +16 -2
  36. package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +6 -2
  37. package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +15 -1
  38. package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +2 -1
  39. package/dist/lib/components/ui/collections/data-grid/columns/column-codec.d.ts +3 -3
  40. package/dist/lib/components/ui/collections/data-grid/columns/column-edit.d.ts +5 -5
  41. package/dist/lib/components/ui/collections/data-grid/columns/row-meta.d.ts +24 -0
  42. package/dist/lib/components/ui/collections/data-grid/grid-meta.d.ts +19 -6
  43. package/dist/lib/components/ui/collections/data-table/data-table.d.ts +1 -1
  44. package/dist/lib/components/ui/collections/data-table/layout-types.d.ts +27 -0
  45. package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-context.d.ts +2 -0
  46. package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-item-row.d.ts +8 -0
  47. package/dist/lib/components/ui/collections/data-table/types.d.ts +1 -1
  48. package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +7 -2
  49. package/dist/lib/components/ui/collections/server-table/partials/server-table-band-classes.d.ts +5 -0
  50. package/dist/lib/components/ui/display/list-tile/internal.d.ts +1 -0
  51. package/dist/lib/components/ui/display/list-tile/partials/list-tile-dense-text.d.ts +28 -0
  52. package/dist/lib/components/ui/feedback/toast/toast-text.d.ts +7 -0
  53. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  54. package/dist/lib/components/ui/forms/index.d.ts +2 -0
  55. package/dist/lib/components/ui/forms/use-fast-form.d.ts +25 -0
  56. package/dist/lib/components/ui/forms/use-focus-on-refusal.d.ts +14 -0
  57. package/dist/lib/components/ui/layout/app-shell/activity-content-aside.d.ts +3 -1
  58. package/dist/lib/components/ui/layout/app-shell/activity-content.d.ts +10 -1
  59. package/dist/lib/components/ui/selection/switcher/partials/switcher-tooltip.d.ts +10 -2
  60. package/dist/lib/components/ui/selection/switcher/partials/switcher-trigger.d.ts +3 -1
  61. package/dist/lib/components/ui/selection/switcher/switcher.d.ts +1 -1
  62. package/dist/lib/components/ui/selection/switcher/types.d.ts +7 -0
  63. package/dist/lib/components/ui/widgets/native-charts/core/reference-text.d.ts +14 -6
  64. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +57 -10
  65. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +13 -5
  66. package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +3 -2
  67. package/dist/lib/components/ui/widgets/native-charts/index.d.ts +1 -1
  68. package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +6 -1
  69. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/reference-marks.d.ts +1 -1
  70. package/dist/lib/i18n/material-resources-registry.d.ts +21 -0
  71. package/dist/lib/i18n/resources/en/en.d.ts +4 -0
  72. package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
  73. package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
  74. package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
  75. package/dist/lib/i18n/resources/resources.d.ts +8 -0
  76. package/dist/lib/i18n/translator.d.ts +1 -1
  77. package/dist/lib.js +1 -1
  78. package/dist/main.js +43 -43
  79. package/dist/map.js +8 -8
  80. package/dist/material.css +1 -1
  81. package/dist/pdf-reader.js +1 -1
  82. package/dist/print.js +2 -2
  83. package/dist/{public-D-J3nZFm.js → public-BoVE0ffh.js} +9 -9
  84. package/dist/{rich-code-block-Ig0ERAa2.js → rich-code-block-DAUM7Yh_.js} +5 -5
  85. package/dist/{sortable-provider-DfPkSN90.js → sortable-provider-BLXsGE_0.js} +2 -2
  86. package/dist/{spinner-KQb3YuR_.js → spinner-Rg4PnBPH.js} +1 -1
  87. package/dist/{stored-language-Cb9FMEwk.js → stored-language-B1lJMPbR.js} +10 -2
  88. package/dist/styles.css +1 -0
  89. package/dist/theme-picker.js +2 -2
  90. package/dist/{theme-toggle-BY-SpsFV.js → theme-toggle-jVdxF_mc.js} +1 -1
  91. package/dist/{toolbar-items-30w9rG5h.js → toolbar-items-BFY_hns5.js} +4 -4
  92. package/dist/{translate-material-BPl8TQLg.js → translate-material-q-JNxP1m.js} +2 -2
  93. package/dist/{translator-BnQXtpSZ.js → translator-BU1o3_l9.js} +1 -1
  94. package/dist/{use-chat-composer-BSKJRYMB.js → use-chat-composer-DGbDuIUa.js} +3758 -3716
  95. package/dist/{use-heading-spy-BgXA8uz6.js → use-heading-spy-CP63sAcS.js} +1 -1
  96. package/dist/{use-material-translation-ByM3gD9R.js → use-material-translation-nNF8fUXz.js} +2 -2
  97. package/dist/use-shape-morph-DXdy2X5g.js +35 -0
  98. package/docs/components/buttons-and-actions.md +30 -1
  99. package/docs/components/data-table-filter-and-lists.md +2 -2
  100. package/docs/components/navigation-and-layout.md +2 -1
  101. package/docs/components/rich-widgets.md +2 -1
  102. package/docs/components/selection-and-choice.md +21 -1
  103. package/docs/guides/app-shell.md +22 -0
  104. package/docs/guides/cards-and-tiles.md +40 -4
  105. package/docs/guides/charts.md +30 -2
  106. package/docs/guides/data-grid.md +80 -3
  107. package/docs/guides/forms.md +35 -0
  108. package/docs/guides/i18n.md +6 -2
  109. package/docs/guides/theming.md +8 -0
  110. package/docs/roadmap.md +85 -684
  111. package/docs/troubleshooting.md +36 -0
  112. package/lib/components/components.css +1 -5
  113. package/lib/components/theme-tokens.css +19 -15
  114. package/lib/components/ui/actions/action-card/action-card-tile.css +11 -2
  115. package/lib/components/ui/collections/data-table/data-table-items-record.css +27 -0
  116. package/lib/components/ui/collections/data-table/index.css +14 -0
  117. package/lib/components/ui/overlays/dialog/dialog.css +2 -1
  118. package/lib/components/ui/overlays/popover/popover.css +3 -2
  119. package/lib/styles.css +1 -0
  120. package/lib/themes/ambre.css +8 -6
  121. package/lib/themes/ardoise.css +8 -6
  122. package/lib/themes/bleumono.css +8 -6
  123. package/lib/themes/bluemoon.css +8 -6
  124. package/lib/themes/corail.css +8 -6
  125. package/lib/themes/foret.css +8 -6
  126. package/lib/themes/lavande.css +8 -6
  127. package/lib/themes/menthe.css +8 -6
  128. package/lib/themes/ocean.css +8 -6
  129. package/lib/themes/pink.css +8 -6
  130. package/lib/themes/prune.css +8 -6
  131. package/lib/themes/sable.css +8 -6
  132. package/lib/themes/slate.css +8 -6
  133. package/lib/themes/teal.css +8 -6
  134. package/package.json +4 -4
  135. package/dist/i18n-provider-BFNrM0Qu.js +0 -45
  136. package/dist/use-shape-morph-BKA_R5P5.js +0 -35
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-D-J3nZFm.js";
1
+ import { t as e } from "./public-BoVE0ffh.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-BFNrM0Qu.js";
2
- import { t } from "./translate-material-BPl8TQLg.js";
1
+ import { r as e } from "./i18n-provider-DlVPS58N.js";
2
+ import { t } from "./translate-material-q-JNxP1m.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";
@@ -3,21 +3,21 @@ import { n as t } from "./ui.utils-CAnKTCw5.js";
3
3
  import { t as n } from "./utils-BLfntITJ.js";
4
4
  import { o as r } from "./dist-DVRQkaTK.js";
5
5
  import { c as i, i as a, l as o, n as s, o as c, s as l } from "./dist-lmHmz_bu.js";
6
- import { n as u, s as d } from "./spinner-KQb3YuR_.js";
6
+ import { n as u, s as d } from "./spinner-Rg4PnBPH.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-BIy04Hpd.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-B0Kd8x3G.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-30w9rG5h.js";
12
- import { t as N } from "./use-material-translation-ByM3gD9R.js";
13
- import { t as _e } from "./button-Ct0KRBsN.js";
14
- import { n as ve, t as ye } from "./icon-button-VzdqY_Tv.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-DwPmwmA3.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-CDN6Nqx6.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-BFY_hns5.js";
12
+ import { t as N } from "./use-material-translation-nNF8fUXz.js";
13
+ import { t as _e } from "./button-Ct8DSLVv.js";
14
+ import { n as ve, t as ye } from "./icon-button-C3wDxsh6.js";
15
15
  import { t as be } from "./useEvent-2fKq-6w8.js";
16
16
  import { n as xe, t as Se } from "./toggle-group-BkH23Jk4.js";
17
- import { o as Ce } from "./escape-owner-BGKjiglh.js";
17
+ import { o as Ce } from "./escape-owner-DI_lg2ID.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-CKxORwFE.js";
20
+ import { n as Ee, t as De } from "./empty-state-Bb9W9did.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 * as P from "react";
@@ -1,7 +1,7 @@
1
- import { r as e } from "./spinner-KQb3YuR_.js";
2
- import { c as t, n, t as r } from "./dropdown-menu-B0Kd8x3G.js";
3
- import { t as i } from "./use-material-translation-ByM3gD9R.js";
4
- import { a, i as o, n as s, o as c, t as l } from "./code-language-items-CEclGxhA.js";
1
+ import { r as e } from "./spinner-Rg4PnBPH.js";
2
+ import { c as t, n, t as r } from "./dropdown-menu-CDN6Nqx6.js";
3
+ import { t as i } from "./use-material-translation-nNF8fUXz.js";
4
+ import { a, i as o, n as s, o as c, t as l } from "./code-language-items-4zXlIEZ0.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 { Suspense as h, lazy as g, useEffect as _, useRef as v, useState as y } from "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 = g(() => import("./code-editor-DtwRhK8B.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
146
+ var N = g(() => import("./code-editor-DsLQeiZc.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
147
147
  function P() {
148
148
  let { t: e } = i();
149
149
  return /* @__PURE__ */ b("div", {
@@ -1,7 +1,7 @@
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-ByM3gD9R.js";
4
- import { t as r } from "./icon-button-VzdqY_Tv.js";
3
+ import { t as n } from "./use-material-translation-nNF8fUXz.js";
4
+ import { t as r } from "./icon-button-C3wDxsh6.js";
5
5
  import { t as i } from "./compose-refs-DZ0iIVF-.js";
6
6
  import a, { cloneElement as o, createContext as s, forwardRef as c, memo as l, useCallback as u, useContext as d, useEffect as f, useId as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _, useState as v } from "react";
7
7
  import { jsx as y } from "react/jsx-runtime";
@@ -3,7 +3,7 @@ import { n as t, t as n } from "./utils-BLfntITJ.js";
3
3
  import { i as r, o as i } from "./dist-DVRQkaTK.js";
4
4
  import { a, c as o, i as s, l as c, n as l, o as u, r as d, s as f, t as p, u as m } from "./dist-lmHmz_bu.js";
5
5
  import { a as h, c as g, d as _, i as v, l as y, o as b, r as x, t as S, u as C } from "./floating-ui.dom-KkZSW8_E.js";
6
- import { t as w } from "./use-material-translation-ByM3gD9R.js";
6
+ import { t as w } from "./use-material-translation-nNF8fUXz.js";
7
7
  import * as T from "react";
8
8
  import { useLayoutEffect as E, useRef as D, useSyncExternalStore as O } from "react";
9
9
  import { jsx as k, jsxs as A } from "react/jsx-runtime";
@@ -2779,7 +2779,11 @@ var t = {
2779
2779
  },
2780
2780
  reference: {
2781
2781
  band: "{label}: {from} to {to}",
2782
- threshold: "{label}: {value}"
2782
+ threshold: "{label}: {value}",
2783
+ span: "{first} to {last}",
2784
+ range: "{from} to {to}",
2785
+ step: "{value} ({where})",
2786
+ steps: "{label}: {list}"
2783
2787
  },
2784
2788
  kind: {
2785
2789
  line: "line chart",
@@ -5615,7 +5619,11 @@ var t = {
5615
5619
  },
5616
5620
  reference: {
5617
5621
  band: "{label} : de {from} à {to}",
5618
- threshold: "{label} : {value}"
5622
+ threshold: "{label} : {value}",
5623
+ span: "de {first} à {last}",
5624
+ range: "de {from} à {to}",
5625
+ step: "{value} ({where})",
5626
+ steps: "{label} : {list}"
5619
5627
  },
5620
5628
  kind: {
5621
5629
  line: "graphique en courbes",
package/dist/styles.css CHANGED
@@ -57,6 +57,7 @@
57
57
  --color-background-light: --alpha(var(--background) / 30%);
58
58
  --color-foreground: var(--foreground);
59
59
  --color-card: var(--card);
60
+ --color-card-edge: var(--card-edge);
60
61
  --color-card-foreground: var(--card-foreground);
61
62
  --color-popover: var(--popover);
62
63
  --color-popover-foreground: var(--popover-foreground);
@@ -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
3
  import { a as s, r as c } from "./icon-sprites-CaYXzOL4.js";
4
- import { t as l } from "./use-material-translation-ByM3gD9R.js";
4
+ import { t as l } from "./use-material-translation-nNF8fUXz.js";
5
5
  import { t as u } from "./use-theme-BCLireTd.js";
6
6
  import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
7
- import { t as p } from "./theme-toggle-BY-SpsFV.js";
7
+ import { t as p } from "./theme-toggle-jVdxF_mc.js";
8
8
  import { n as m, t as h } from "./nxgt-theme-ivgNca3z.js";
9
9
  import { useContext as g } from "react";
10
10
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-ByM3gD9R.js";
1
+ import { t as e } from "./use-material-translation-nNF8fUXz.js";
2
2
  import { i as t } from "./theme-store-BdPp43cV.js";
3
3
  import { n, t as r } from "./use-theme-BCLireTd.js";
4
4
  import { r as i } from "./theme-context-Cofk6vgs.js";
@@ -2,13 +2,13 @@ import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./warn-once-C_e47JM8.js";
3
3
  import { o as n, r, t as i } from "./dist-DVRQkaTK.js";
4
4
  import { a, c as o, i as s, l as c, r as l, s as u } from "./dist-lmHmz_bu.js";
5
- import { C as d, S as f, d as p, f as m, m as h, p as g, r as _, u as v } from "./spinner-KQb3YuR_.js";
5
+ import { C as d, S as f, d as p, f as m, m as h, p as g, r as _, u as v } from "./spinner-Rg4PnBPH.js";
6
6
  import { i as y, n as b, r as x, t as S } from "./dist-C4wtXCjf.js";
7
7
  import { a as C, c as w, l as T, o as E, r as ee, s as te, t as ne } from "./in-dialog-Vwkyp-M5.js";
8
- import { A as re, M as ie, N as ae, b as oe, d as se, f as ce, i as le, j as ue, l as de, n as fe, o as pe, r as me, t as he, u as ge, y as _e } from "./dropdown-menu-B0Kd8x3G.js";
8
+ import { A as re, M as ie, N as ae, b as oe, d as se, f as ce, i as le, j as ue, l as de, n as fe, o as pe, r as me, t as he, u as ge, y as _e } from "./dropdown-menu-CDN6Nqx6.js";
9
9
  import { a as ve, n as ye, r as be, t as xe } from "./dist-B7RjY7SL.js";
10
- import { t as Se } from "./use-material-translation-ByM3gD9R.js";
11
- import { o as Ce } from "./escape-owner-BGKjiglh.js";
10
+ import { t as Se } from "./use-material-translation-nNF8fUXz.js";
11
+ import { o as Ce } from "./escape-owner-DI_lg2ID.js";
12
12
  import * as D from "react";
13
13
  import { createContext as O, useCallback as we, useContext as k, useEffect as A, useId as Te, useLayoutEffect as j, useMemo as M, useReducer as Ee, useRef as N, useState as P } from "react";
14
14
  import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import "./stored-language-Cb9FMEwk.js";
2
- import { a as e, r as t, t as n } from "./translator-BnQXtpSZ.js";
1
+ import "./stored-language-B1lJMPbR.js";
2
+ import { a as e, r as t, t as n } from "./translator-BU1o3_l9.js";
3
3
  //#region lib/i18n/translate-material.ts
4
4
  var r = /* @__PURE__ */ new WeakMap();
5
5
  function i(e) {
@@ -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-Cb9FMEwk.js";
2
+ import { a as t, i as n, r, t as i } from "./stored-language-B1lJMPbR.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) {