@nxgt/material 3.65.0 → 3.66.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 (110) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +4 -1
  3. package/dist/{alert-dialog-C0nGUSCP.js → alert-dialog-BgQDxcYh.js} +1 -1
  4. package/dist/{async-slice-CyansBvD.js → async-slice-BCZyWgGr.js} +48 -25
  5. package/dist/{background-qdnet2A5.js → background-D1gC4m2R.js} +1 -1
  6. package/dist/backgrounds.js +1 -1
  7. package/dist/{button-D5k3K-gM.js → button-2de_lrix.js} +1 -1
  8. package/dist/charts.js +3 -3
  9. package/dist/{chip-lWXIJkqo.js → chip-Cs0uEjpu.js} +2 -2
  10. package/dist/{code-editor-aXG4CdY-.js → code-editor-BYhBAfcc.js} +5 -5
  11. package/dist/code-editor.js +5 -5
  12. package/dist/{code-language-items-CsaXyApg.js → code-language-items-xhmbF6wA.js} +2 -2
  13. package/dist/components/components.css +2 -0
  14. package/dist/components/ui/layout/app-shell/activity-backdrop.css +4 -3
  15. package/dist/components/ui/primitives/tabs/tabs-nav-forced.css +27 -0
  16. package/dist/components/ui/primitives/toggle-group/toggle-group-segmented.css +10 -2
  17. package/dist/components/ui/primitives/toggle-group/toggle-group.css +5 -1
  18. package/dist/{components-DNcTvjlv.js → components-DYiyCe6v.js} +16868 -16636
  19. package/dist/components.js +28 -28
  20. package/dist/{compose-refs-DZ0iIVF-.js → compose-refs-G4J4kaUA.js} +1 -1
  21. package/dist/{dialog-DWNaxpa-.js → dialog-Co5oksU1.js} +4 -4
  22. package/dist/dnd.js +2 -2
  23. package/dist/{dropdown-menu-ChvAIQIW.js → dropdown-menu-DdzyvN76.js} +1 -1
  24. package/dist/editor.js +365 -365
  25. package/dist/{empty-state-CFLcVzKL.js → empty-state-CQ0CV0kA.js} +2 -2
  26. package/dist/{field-blur-CV9orzdJ.js → field-blur-B2y-bNYi.js} +1 -1
  27. package/dist/{field-blur-context-C8BX8IBy.js → field-blur-context-BZtwcPUV.js} +1 -1
  28. package/dist/{hooks-DilW-3jc.js → hooks-DjuYsY-j.js} +2 -2
  29. package/dist/hooks.js +2 -2
  30. package/dist/{hover-card-IeS_1RPH.js → hover-card-BeBVy6tB.js} +1 -1
  31. package/dist/i18n.js +3 -3
  32. package/dist/{icon-badge-Bf4SoA2i.js → icon-badge-DbYsbzwZ.js} +3 -3
  33. package/dist/{icon-button-l3dQTRrC.js → icon-button-Co6ttdv1.js} +1 -1
  34. package/dist/lib/components/ui/actions/index.d.ts +1 -0
  35. package/dist/lib/components/ui/actions/link/link.d.ts +1 -19
  36. package/dist/lib/components/ui/actions/share-button/index.d.ts +3 -0
  37. package/dist/lib/components/ui/actions/share-button/share-button.d.ts +17 -0
  38. package/dist/lib/components/ui/actions/share-button/share-or-copy.d.ts +17 -0
  39. package/dist/lib/components/ui/collections/dnd/index.d.ts +1 -1
  40. package/dist/lib/components/ui/display/enrolment-card/use-enrolment-card-labels.d.ts +1 -1
  41. package/dist/lib/components/ui/display/recovery-codes/use-recovery-codes-labels.d.ts +1 -1
  42. package/dist/lib/components/ui/display/recovery-codes-status/use-recovery-codes-status-labels.d.ts +1 -1
  43. package/dist/lib/components/ui/display/stat-card/partials/stat-card-link-parts.d.ts +7 -0
  44. package/dist/lib/components/ui/display/stat-card/stat-card.d.ts +6 -1
  45. package/dist/lib/components/ui/display/stat-card/types.d.ts +14 -0
  46. package/dist/lib/components/ui/feedback/step-up-dialog/use-step-up-labels.d.ts +1 -1
  47. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  48. package/dist/lib/components/ui/fields/number-field/number-control.d.ts +4 -1
  49. package/dist/lib/components/ui/fields/number-field/number-stepper.d.ts +5 -0
  50. package/dist/lib/components/ui/fields/verification-code/use-verification-labels.d.ts +1 -1
  51. package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +1 -1
  52. package/dist/lib/components/ui/primitives/link/link-component-provider.d.ts +1 -1
  53. package/dist/lib/components/ui/primitives/link/nav-current.d.ts +22 -0
  54. package/dist/lib/components/ui/primitives/link/router-link.d.ts +25 -0
  55. package/dist/lib/components/ui/primitives/tabs/index.d.ts +2 -0
  56. package/dist/lib/components/ui/primitives/tabs/internal.d.ts +2 -0
  57. package/dist/lib/components/ui/primitives/tabs/partials/tabs-nav-link.d.ts +22 -0
  58. package/dist/lib/components/ui/primitives/tabs/tab-param-url.d.ts +53 -0
  59. package/dist/lib/components/ui/primitives/tabs/tabs-nav.d.ts +22 -0
  60. package/dist/lib/components/ui/primitives/tabs/tabs-selectors.d.ts +8 -0
  61. package/dist/lib/components/ui/primitives/tabs/use-tab-param.d.ts +35 -0
  62. package/dist/lib/components/ui/primitives/tabs/use-tabs-overflow.d.ts +4 -1
  63. package/dist/lib/components/ui/primitives/toggle-group/index.d.ts +1 -0
  64. package/dist/lib/components/ui/primitives/toggle-group/segmented-nav-item.d.ts +20 -0
  65. package/dist/lib/components/ui/primitives/toggle-group/segmented-nav.d.ts +22 -0
  66. package/dist/lib/components/ui/primitives/toggle-group/toggle-group.d.ts +4 -3
  67. package/dist/lib/i18n/resources/en/en.d.ts +5 -0
  68. package/dist/lib/i18n/resources/en/material.json.d.ts +6 -1
  69. package/dist/lib/i18n/resources/fr/fr.d.ts +5 -0
  70. package/dist/lib/i18n/resources/fr/material.json.d.ts +6 -1
  71. package/dist/lib/i18n/resources/resources.d.ts +10 -0
  72. package/dist/lib/i18n/translator.d.ts +1 -1
  73. package/dist/lib.js +31 -54
  74. package/dist/main.js +42 -42
  75. package/dist/map.js +8 -8
  76. package/dist/material.css +1 -1
  77. package/dist/pdf-reader.js +1 -1
  78. package/dist/print.js +1 -1
  79. package/dist/{public-B-greXGt.js → public-AXwv1h3v.js} +10 -10
  80. package/dist/{rich-code-block-Cv6s59vB.js → rich-code-block-qSvkA5rI.js} +5 -5
  81. package/dist/{sortable-provider-DVmZcglU.js → sortable-provider-DPk-RVEU.js} +3 -3
  82. package/dist/{spinner-OQAweH2r.js → spinner-PdSk7zEs.js} +1 -1
  83. package/dist/theme-picker.js +2 -2
  84. package/dist/{theme-toggle-DPx44p6a.js → theme-toggle-CZQckLDd.js} +2 -2
  85. package/dist/{toggle-group-BkH23Jk4.js → toggle-group-DXXlqid2.js} +1 -1
  86. package/dist/{toolbar-items-CQ3S_XZw.js → toolbar-items-BmNYNaRB.js} +3 -3
  87. package/dist/{translate-material-BHL4g2UB.js → translate-material-BlCQ6AW9.js} +1 -1
  88. package/dist/{translator-BJsjXcAp.js → translator-ChpeKCO3.js} +8 -2
  89. package/dist/{typography-CwhEwPay.js → typography-C4JSRr2B.js} +1 -1
  90. package/dist/{use-chat-composer-R0vng5RU.js → use-chat-composer-OUa9akfM.js} +1725 -1719
  91. package/dist/{use-heading-spy-Brcn0l_J.js → use-heading-spy-K-HUp4o_.js} +4 -4
  92. package/dist/{use-material-translation-mY3U83TV.js → use-material-translation-DkE9J5NE.js} +1 -1
  93. package/dist/{use-return-focus-BQ413TNG.js → use-return-focus-KypnR7vv.js} +1 -1
  94. package/docs/components/README.md +3 -1
  95. package/docs/components/buttons-and-actions.md +29 -0
  96. package/docs/components/data-display.md +14 -1
  97. package/docs/components/form-fields.md +9 -1
  98. package/docs/components/primitives.md +209 -0
  99. package/docs/previews/buttons-actions-sharebutton.webp +0 -0
  100. package/docs/previews/primitives-segmentednav.webp +0 -0
  101. package/docs/previews/primitives-tabsnav.webp +0 -0
  102. package/docs/roadmap.md +2 -1
  103. package/docs/troubleshooting.md +26 -0
  104. package/lib/components/components.css +2 -0
  105. package/lib/components/ui/layout/app-shell/activity-backdrop.css +4 -3
  106. package/lib/components/ui/primitives/tabs/tabs-nav-forced.css +27 -0
  107. package/lib/components/ui/primitives/toggle-group/toggle-group-segmented.css +10 -2
  108. package/lib/components/ui/primitives/toggle-group/toggle-group.css +5 -1
  109. package/package.json +1 -1
  110. /package/dist/lib/{components/ui/collections/dnd → lib}/compose-refs.d.ts +0 -0
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-B-greXGt.js";
1
+ import { t as e } from "./public-AXwv1h3v.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,4 +1,4 @@
1
- import { i as e, t } from "./translate-material-BHL4g2UB.js";
1
+ import { i as e, t } from "./translate-material-BlCQ6AW9.js";
2
2
  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";
3
3
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
4
4
  import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
@@ -3,22 +3,22 @@ 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-OQAweH2r.js";
6
+ import { n as u, s as d } from "./spinner-PdSk7zEs.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 { a as h, c as g, i as _, l as v, n as y, o as b, r as x, s as ee, t as te, u as ne } from "./use-return-focus-BQ413TNG.js";
10
- import { c as S, d as C, f as w, i as T, l as re, n as ie, o as E, t as ae, u as D } from "./dropdown-menu-ChvAIQIW.js";
11
- import { S as oe, a as O, d as k, g as se, h as ce, i as le, m as ue, n as A, r as de, t as j, u as fe, w as pe } from "./toolbar-items-CQ3S_XZw.js";
12
- import { t as me } from "./button-D5k3K-gM.js";
13
- import { t as M } from "./use-material-translation-mY3U83TV.js";
14
- import { n as he, t as ge } from "./icon-button-l3dQTRrC.js";
9
+ import { a as h, c as g, i as _, l as v, n as y, o as b, r as x, s as ee, t as te, u as ne } from "./use-return-focus-KypnR7vv.js";
10
+ import { c as S, d as C, f as w, i as T, l as re, n as ie, o as E, t as ae, u as D } from "./dropdown-menu-DdzyvN76.js";
11
+ import { S as oe, a as O, d as k, g as se, h as ce, i as le, m as ue, n as A, r as de, t as j, u as fe, w as pe } from "./toolbar-items-BmNYNaRB.js";
12
+ import { t as me } from "./button-2de_lrix.js";
13
+ import { t as M } from "./use-material-translation-DkE9J5NE.js";
14
+ import { n as he, t as ge } from "./icon-button-Co6ttdv1.js";
15
15
  import { t as _e } from "./useEvent-2fKq-6w8.js";
16
- import { n as ve, t as ye } from "./toggle-group-BkH23Jk4.js";
16
+ import { n as ve, t as ye } from "./toggle-group-DXXlqid2.js";
17
17
  import { i as be } from "./escape-owner-DpaP0lm1.js";
18
18
  import { n as xe } from "./use-slice-reducer-BGkeGtML.js";
19
- import { f as Se, r as Ce, t as we, u as Te } from "./dialog-DWNaxpa-.js";
19
+ import { f as Se, r as Ce, t as we, u as Te } from "./dialog-Co5oksU1.js";
20
20
  import { r as Ee } from "./use-csp-nonce-ZKs9k-ov.js";
21
- import { n as De, t as Oe } from "./empty-state-CFLcVzKL.js";
21
+ import { n as De, t as Oe } from "./empty-state-CQ0CV0kA.js";
22
22
  import { t as ke } from "./client-only.utils-3nHNzCki.js";
23
23
  import { t as Ae } from "./use-scroll-away-PQRFZkT2.js";
24
24
  import * as N from "react";
@@ -1,7 +1,7 @@
1
- import { r as e } from "./spinner-OQAweH2r.js";
2
- import { c as t, n, t as r } from "./dropdown-menu-ChvAIQIW.js";
3
- import { t as i } from "./use-material-translation-mY3U83TV.js";
4
- import { a, i as o, n as s, o as c, t as l } from "./code-language-items-CsaXyApg.js";
1
+ import { r as e } from "./spinner-PdSk7zEs.js";
2
+ import { c as t, n, t as r } from "./dropdown-menu-DdzyvN76.js";
3
+ import { t as i } from "./use-material-translation-DkE9J5NE.js";
4
+ import { a, i as o, n as s, o as c, t as l } from "./code-language-items-xhmbF6wA.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-aXG4CdY-.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
146
+ var N = g(() => import("./code-editor-BYhBAfcc.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,8 +1,8 @@
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-mY3U83TV.js";
4
- import { t as r } from "./icon-button-l3dQTRrC.js";
5
- import { t as i } from "./compose-refs-DZ0iIVF-.js";
3
+ import { t as n } from "./use-material-translation-DkE9J5NE.js";
4
+ import { t as r } from "./icon-button-Co6ttdv1.js";
5
+ import { t as i } from "./compose-refs-G4J4kaUA.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";
8
8
  import { createPortal as b, unstable_batchedUpdates as x } from "react-dom";
@@ -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-mY3U83TV.js";
6
+ import { t as w } from "./use-material-translation-DkE9J5NE.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";
@@ -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-mY3U83TV.js";
4
+ import { t as l } from "./use-material-translation-DkE9J5NE.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-DPx44p6a.js";
7
+ import { t as p } from "./theme-toggle-CZQckLDd.js";
8
8
  import { n as m, t as h } from "./nxgt-theme-DA1IQe0O.js";
9
9
  import { useContext as g } from "react";
10
10
  import { jsx as _, jsxs as v } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- import { t as e } from "./use-material-translation-mY3U83TV.js";
1
+ import { t as e } from "./use-material-translation-DkE9J5NE.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";
5
- import { n as a, t as o } from "./toggle-group-BkH23Jk4.js";
5
+ import { n as a, t as o } from "./toggle-group-DXXlqid2.js";
6
6
  import { useContext as s, useEffect as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
8
8
  import { Monitor as d, Moon as f, Sun as p } from "lucide-react";
@@ -66,4 +66,4 @@ function m({ className: t, ...n }) {
66
66
  });
67
67
  }
68
68
  //#endregion
69
- export { l as i, p as n, m as r, f as t };
69
+ export { l as a, d as i, p as n, m as r, f as t };
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { o as t, r as n, t as r } from "./dist-DVRQkaTK.js";
3
3
  import { a as i, c as a, i as o, l as s, r as c, s as l } from "./dist-lmHmz_bu.js";
4
- import { C as u, S as d, d as f, f as p, m, p as h, r as g, u as _ } from "./spinner-OQAweH2r.js";
4
+ import { C as u, S as d, d as f, f as p, m, p as h, r as g, u as _ } from "./spinner-PdSk7zEs.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 ne } from "./in-dialog-Vwkyp-M5.js";
7
- 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-ChvAIQIW.js";
7
+ 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-DdzyvN76.js";
8
8
  import { a as ve, n as ye, r as be, t as xe } from "./dist-B7RjY7SL.js";
9
9
  import { t as Se } from "./warn-once-C_e47JM8.js";
10
- import { t as Ce } from "./use-material-translation-mY3U83TV.js";
10
+ import { t as Ce } from "./use-material-translation-DkE9J5NE.js";
11
11
  import { i as we } from "./escape-owner-DpaP0lm1.js";
12
12
  import * as E from "react";
13
13
  import { createContext as D, useCallback as Te, useContext as O, useEffect as k, useId as Ee, useLayoutEffect as A, useMemo as j, useReducer as De, useRef as M, useState as N } from "react";
@@ -1,4 +1,4 @@
1
- import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-BJsjXcAp.js";
1
+ import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-ChpeKCO3.js";
2
2
  import { createContext as o, useCallback as s, useContext as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
3
3
  import { jsx as p } from "react/jsx-runtime";
4
4
  //#region lib/i18n/material-resources-registry.ts
@@ -1278,7 +1278,9 @@ var r = {
1278
1278
  },
1279
1279
  "number-field": {
1280
1280
  decrease: "Decrease",
1281
- increase: "Increase"
1281
+ increase: "Increase",
1282
+ "decrease-named": "Decrease {label}",
1283
+ "increase-named": "Increase {label}"
1282
1284
  },
1283
1285
  "textarea-field": { count: "{count}/{max}" },
1284
1286
  skeleton: { loading: "Loading" },
@@ -1325,6 +1327,7 @@ var r = {
1325
1327
  "page-failed-title": "This page could not be loaded",
1326
1328
  "back-to-start": "Back to the start"
1327
1329
  },
1330
+ share: { share: "Share" },
1328
1331
  "language-switcher": { label: "Language" },
1329
1332
  "email-field": {
1330
1333
  invalid: "Enter a valid email",
@@ -4182,7 +4185,9 @@ var r = {
4182
4185
  },
4183
4186
  "number-field": {
4184
4187
  decrease: "Diminuer",
4185
- increase: "Augmenter"
4188
+ increase: "Augmenter",
4189
+ "decrease-named": "Diminuer {label}",
4190
+ "increase-named": "Augmenter {label}"
4186
4191
  },
4187
4192
  "textarea-field": { count: "{count}/{max}" },
4188
4193
  skeleton: { loading: "Chargement" },
@@ -4229,6 +4234,7 @@ var r = {
4229
4234
  "page-failed-title": "Cette page n’a pas pu être chargée",
4230
4235
  "back-to-start": "Retour au début"
4231
4236
  },
4237
+ share: { share: "Partager" },
4232
4238
  "language-switcher": { label: "Langue" },
4233
4239
  "email-field": {
4234
4240
  invalid: "Saisissez un e-mail valide",
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DVRQkaTK.js";
3
- import { n } from "./spinner-OQAweH2r.js";
3
+ import { n } from "./spinner-PdSk7zEs.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/primitives/typography/typography.variants.ts
6
6
  var i = [