@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 3.96.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2768](https://github.com/softistx/nxgt-material/pull/2768) [`29d4777`](https://github.com/softistx/nxgt-material/commit/29d47778f35576538ddbabf71f140d08a503f9e3) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Fix(EventCalendar): the agenda (and the phone's agenda view) shows the `weekBadges` in the heading of each week, as the docs say, and a span that starts or ends mid-day shows its hours (or `From` / `Until` a time) instead of looking like a whole day. The week view's gutter badge stays on one line, clipped with its label as title, rather than wrapping.
8
+
9
+ - [#2767](https://github.com/softistx/nxgt-material/pull/2767) [`ed97aa7`](https://github.com/softistx/nxgt-material/commit/ed97aa71113bd28ae8d53008f652e396d4be0536) Thanks [@SteveGT96](https://github.com/SteveGT96)! - dependencies: katex 0.19, @hookform/resolvers 6; no API change.
10
+
11
+ ## 3.96.1
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2745](https://github.com/softistx/nxgt-material/pull/2745) [`9ed381a`](https://github.com/softistx/nxgt-material/commit/9ed381a22a7f9b704cd7a5d9a34b8b0a86195d52) Thanks [@SteveGT96](https://github.com/SteveGT96)! - fix(app-breadcrumb): the trail's first item (the home icon, or a text root) now starts on the content's left edge, in a right-to-left page the right edge, instead of sitting about 10px (4px for a text link) inside it by its own padding. It drops its start inset rather than pulling the trail out, so the link's box stays inside the column (clear of a rail, not clipped by a scroll container) and keeps its 44px hit area on a coarse pointer, and the focus ring. `AppBreadcrumb` in `@nxgt/material-vue` gets the same fix. A self-contained test that measured the home icon's position needs its numbers updated ([#2744](https://github.com/softistx/nxgt-material/issues/2744)).
16
+
17
+ - [#2764](https://github.com/softistx/nxgt-material/pull/2764) [`e95154a`](https://github.com/softistx/nxgt-material/commit/e95154a25e0b8102de70cd51a72a96e4c507fd56) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Docs: the `Switch` `plain` variant row no longer claims to drop a tint it never drew; the `useSwitchChecked` comment names the row's `data-checked`.
18
+
3
19
  ## 3.96.0
4
20
 
5
21
  ### Minor Changes
@@ -4,7 +4,7 @@ import { o as n } from "./dist-DVRQkaTK.js";
4
4
  import { r } from "./dist-DWZXlCZR.js";
5
5
  import { a as i } from "./dist-DHdUUM1w.js";
6
6
  import { t as a } from "./in-dialog-D61Yeaol.js";
7
- import { a as o, c as s, d as c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./use-return-focus-Dl3XUhck.js";
7
+ import { a as o, c as s, d as c, i as l, l as u, n as d, o as f, r as p, s as m, t as h, u as g } from "./use-return-focus-CbTPRBcn.js";
8
8
  import { i as _ } from "./escape-owner-DpaP0lm1.js";
9
9
  import * as v from "react";
10
10
  import { Fragment as y, isValidElement as b } from "react";
@@ -1,4 +1,4 @@
1
- import { l as e, r as t, s as n, u as r } from "./translator-DcF9o74-.js";
1
+ import { l as e, r as t, s as n, u as r } from "./translator-B5RR8VyT.js";
2
2
  import { t as i } from "./_baseIsEqual-C6ksIHya.js";
3
3
  import { useMemo as a } from "react";
4
4
  import { asyncThunkCreator as o, buildCreateSlice as s } from "@reduxjs/toolkit";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t, t as n } from "./dist-DVRQkaTK.js";
3
- import { n as r, t as i } from "./spinner-CJFQWd2O.js";
3
+ import { n as r, t as i } from "./spinner-BiGzIQFB.js";
4
4
  import { t as a } from "./dist-DkQbkF9T.js";
5
5
  import { a as o, i as s, n as c, o as l, s as u, t as d } from "./use-click-lock-Bwg_caHO.js";
6
6
  import { t as f } from "./is-production-GLw59WU8.js";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { d as t, n, r, t as i } from "./tabs-D5YrKdgT.js";
3
- import { t as a } from "./button-BWrgbYzl.js";
4
- import { t as o } from "./use-material-translation-CvL9XRpG.js";
5
- import { t as s } from "./icon-button-Cn1iJKLh.js";
2
+ import { d as t, n, r, t as i } from "./tabs-CzBz8Doo.js";
3
+ import { t as a } from "./button-ClrQMe_S.js";
4
+ import { t as o } from "./use-material-translation-DM4nCI16.js";
5
+ import { t as s } from "./icon-button-DKpk5gLZ.js";
6
6
  import { t as c } from "./copy-to-clipboard-Be5Ffvs_.js";
7
7
  import { t as l } from "./useEvent-2fKq-6w8.js";
8
8
  import { t as u } from "./useLatest-C2PnQEeD.js";
@@ -11,7 +11,7 @@ import { t as f } from "./skeleton-DSdtr2qc.js";
11
11
  import { t as p } from "./live-status-BGPaN8r8.js";
12
12
  import { n as m, t as h } from "./calculator-context-BugcKuVG.js";
13
13
  import { a as g, c as _, i as v, l as y, n as b, o as ee, r as te, s as ne } from "./calculator-announce-DRd2c6Dq.js";
14
- import { i as re, t as ie } from "./pos-types-D29gSY6o.js";
14
+ import { i as re, t as ie } from "./pos-types-BXMMXwbI.js";
15
15
  import { a as ae, r as oe } from "./key-layout-cR79xfGE.js";
16
16
  import { n as x, r as se, t as ce } from "./programmer-word-CNCF7DJF.js";
17
17
  import { t as le } from "./standard-layout-BuSRr3TY.js";
@@ -279,11 +279,11 @@ function Le({ helpId: e }) {
279
279
  //#endregion
280
280
  //#region lib/components/ui/widgets/calculator/variants/variant-loader.ts
281
281
  var Re = {
282
- scientific: () => import("./scientific-variant-Df2INIYv.js"),
283
- pos: () => import("./pos-variant-DqPKfqlj.js"),
284
- programmer: () => import("./programmer-variant-eUfpdy1g.js"),
285
- financial: () => import("./financial-variant-CIeXbVuZ.js"),
286
- conversion: () => import("./conversion-variant-BQYmd3cd.js")
282
+ scientific: () => import("./scientific-variant-Z1vVCSJv.js"),
283
+ pos: () => import("./pos-variant-DCf4-Val.js"),
284
+ programmer: () => import("./programmer-variant-BnvZqPJs.js"),
285
+ financial: () => import("./financial-variant-DnHWDZ8t.js"),
286
+ conversion: () => import("./conversion-variant-QaaNYhTr.js")
287
287
  }, B = "failed", V = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Set(), W = () => {
288
288
  for (let e of U) e();
289
289
  };
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./button-BWrgbYzl.js";
3
- import { t as n } from "./use-material-translation-CvL9XRpG.js";
4
- import { t as r } from "./icon-button-Cn1iJKLh.js";
5
- import { a as i, i as a, n as o, r as s, t as c } from "./picker-surface-GsabnsXj.js";
6
- import { r as l, t as u } from "./currency-field-BT6V3B9k.js";
2
+ import { t } from "./button-ClrQMe_S.js";
3
+ import { t as n } from "./use-material-translation-DM4nCI16.js";
4
+ import { t as r } from "./icon-button-DKpk5gLZ.js";
5
+ import { a as i, i as a, n as o, r as s, t as c } from "./picker-surface-Bc7jhjjV.js";
6
+ import { r as l, t as u } from "./currency-field-Dj1mBZ9n.js";
7
7
  import { r as d, t as f } from "./field-blur-DkiZOVNV.js";
8
- import { t as p } from "./calculator-CSzocvaa.js";
8
+ import { t as p } from "./calculator-BVuQG9PG.js";
9
9
  import { useId as m, useState as h } from "react";
10
10
  import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
11
11
  import { Calculator as y } from "lucide-react";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./use-material-translation-CvL9XRpG.js";
1
+ import { t as e } from "./use-material-translation-DM4nCI16.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  //#region lib/components/ui/widgets/calculator/partials/calculator-segment.tsx
4
4
  function n({ label: n, choices: r, value: i, nameKey: a, onChange: o }) {
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "./calculator-CSzocvaa.js";
1
+ import { n as e, t } from "./calculator-BVuQG9PG.js";
2
2
  export { e as CALCULATOR_VARIANTS, t as Calculator };
package/dist/charts.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { t as e } from "./ui.utils-CAnKTCw5.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./warn-once-C_e47JM8.js";
4
- import { t as r } from "./button-BWrgbYzl.js";
5
- import { t as i } from "./use-material-translation-CvL9XRpG.js";
4
+ import { t as r } from "./button-ClrQMe_S.js";
5
+ import { t as i } from "./use-material-translation-DM4nCI16.js";
6
6
  import { t as a } from "./use-ssr-media-query-C6M5m8sf.js";
7
7
  import { i as o, n as s, r as c, t as l } from "./util-4heV2LPI.js";
8
8
  import { t as u } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
9
- import { t as d } from "./chip-CXHTVFNy.js";
9
+ import { t as d } from "./chip-DzKhmUzo.js";
10
10
  import { c as f, d as p, f as m, i as h, o as g, p as _, s as v, t as y } from "./line-path-C5pZGC49.js";
11
11
  import { t as b } from "./live-status-BGPaN8r8.js";
12
12
  import { t as x } from "./linear-G97mfnKF.js";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { n as t } from "./spinner-CJFQWd2O.js";
2
+ import { n as t } from "./spinner-BiGzIQFB.js";
3
3
  import { s as n } from "./use-click-lock-Bwg_caHO.js";
4
- import { t as r } from "./use-material-translation-CvL9XRpG.js";
4
+ import { t as r } from "./use-material-translation-DM4nCI16.js";
5
5
  import { t as i } from "./react-node-text-Crkpfpco.js";
6
6
  import { cloneElement as a, isValidElement as o } from "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./dist-DWZXlCZR.js";
4
- import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-BvCQYzou.js";
4
+ import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-B21gOpBE.js";
5
5
  import { a as c, i as l, n as u } from "./field-blur-context-BLGgf_3z.js";
6
- import { a as d, o as f, r as p, s as m, t as h } from "./toolbar-items-DSVVI5_f.js";
6
+ import { a as d, o as f, r as p, s as m, t as h } from "./toolbar-items-CBv3l8sn.js";
7
7
  import { t as g } from "./is-production-GLw59WU8.js";
8
- import { t as _ } from "./use-material-translation-CvL9XRpG.js";
9
- import { i as v, n as y, o as b, t as x } from "./code-language-items-CefP9Ag7.js";
8
+ import { t as _ } from "./use-material-translation-DM4nCI16.js";
9
+ import { i as v, n as y, o as b, t as x } from "./code-language-items-6o5SAVbP.js";
10
10
  import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
11
11
  import { n as C, t as w } from "./escape-owner-DpaP0lm1.js";
12
12
  import { t as T } from "./skeleton-DSdtr2qc.js";
@@ -1,13 +1,13 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DWZXlCZR.js";
3
- import { o as n, r, s as i, t as a } from "./toolbar-items-DSVVI5_f.js";
4
- import { t as o } from "./use-material-translation-CvL9XRpG.js";
5
- import { i as s, n as c, o as l } from "./code-language-items-CefP9Ag7.js";
3
+ import { o as n, r, s as i, t as a } from "./toolbar-items-CBv3l8sn.js";
4
+ import { t as o } from "./use-material-translation-DM4nCI16.js";
5
+ import { i as s, n as c, o as l } from "./code-language-items-6o5SAVbP.js";
6
6
  import { t as u } from "./skeleton-DSdtr2qc.js";
7
7
  import { t as d } from "./live-status-BGPaN8r8.js";
8
8
  import { t as f } from "./use-mobile-BDro060N.js";
9
9
  import { t as p } from "./react-node-text-Crkpfpco.js";
10
- import { a as m, c as h, d as g, f as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, t as T, u as E } from "./code-editor-jL17cLkd.js";
10
+ import { a as m, c as h, d as g, f as _, i as v, l as y, m as b, o as x, p as S, r as C, s as w, t as T, u as E } from "./code-editor-DV0TiySE.js";
11
11
  import { r as D, t as O } from "./field-blur-DkiZOVNV.js";
12
12
  import { useEffect as k, useRef as A, useState as j } from "react";
13
13
  import { Fragment as M, jsx as N, jsxs as P } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { d as e, f as t } from "./dropdown-menu-BvCQYzou.js";
2
- import { t as n } from "./use-material-translation-CvL9XRpG.js";
1
+ import { d as e, f as t } from "./dropdown-menu-B21gOpBE.js";
2
+ import { t as n } from "./use-material-translation-DM4nCI16.js";
3
3
  import { t as r } from "./copy-to-clipboard-Be5Ffvs_.js";
4
4
  import { t as i } from "./live-status-BGPaN8r8.js";
5
5
  import { useEffect as a, useRef as o, useState as s } from "react";