@nxgt/material 3.56.0 → 3.57.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 (54) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/{async-slice-CORlM_wu.js → async-slice-B3RMgJUn.js} +2 -2
  4. package/dist/{button-CdpVEza0.js → button-hnUZpzYu.js} +1 -1
  5. package/dist/charts.js +3 -3
  6. package/dist/{chip-C0yNYz9m.js → chip-kplPa8ZV.js} +2 -2
  7. package/dist/{code-editor-Bwzp2038.js → code-editor-Ba61Cd-g.js} +6 -6
  8. package/dist/code-editor.js +5 -5
  9. package/dist/{code-language-items-nP-pF7yH.js → code-language-items-CsDC4Ky4.js} +2 -2
  10. package/dist/{components-Dl2hVfzt.js → components-BgckuX2C.js} +2165 -2138
  11. package/dist/components.js +19 -19
  12. package/dist/{dialog-BVgsN9Ch.js → dialog-DS8O4Kkb.js} +4 -4
  13. package/dist/dnd.js +1 -1
  14. package/dist/{dropdown-menu-C8PBmMIa.js → dropdown-menu-CvVQJpsn.js} +1 -1
  15. package/dist/editor.js +9 -9
  16. package/dist/{empty-state-C5wfbbW9.js → empty-state-4gmbCkcw.js} +2 -2
  17. package/dist/{escape-owner-CYnfySUl.js → escape-owner-BJvicDmr.js} +1 -1
  18. package/dist/{field-blur-Nid7-bt_.js → field-blur-Cnjk0o9A.js} +1 -1
  19. package/dist/{field-blur-context-DxdIuHAY.js → field-blur-context-CYlx9KnB.js} +1 -1
  20. package/dist/hooks.js +2 -2
  21. package/dist/{hover-card-C_9jiwp1.js → hover-card-DW4XnExA.js} +2 -2
  22. package/dist/{i18n-provider-CLVZK6tQ.js → i18n-provider-DBr59j1p.js} +1 -1
  23. package/dist/i18n.js +5 -5
  24. package/dist/{icon-badge-Dcjg_SKJ.js → icon-badge-4FMy66AC.js} +3 -3
  25. package/dist/{icon-button-Bo-VuZ2n.js → icon-button-QF7smCoV.js} +1 -1
  26. package/dist/lib/components/ui/feedback/countdown-timer/countdown-ring.d.ts +7 -0
  27. package/dist/lib/components/ui/feedback/countdown-timer/countdown-timer.d.ts +7 -1
  28. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  29. package/dist/lib/i18n/resources/en/en.d.ts +1 -0
  30. package/dist/lib/i18n/resources/en/material.json.d.ts +2 -1
  31. package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
  32. package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -1
  33. package/dist/lib/i18n/resources/resources.d.ts +2 -0
  34. package/dist/lib/i18n/translator.d.ts +1 -1
  35. package/dist/lib.js +1 -1
  36. package/dist/main.js +25 -25
  37. package/dist/map.js +8 -8
  38. package/dist/pdf-reader.js +1 -1
  39. package/dist/print.js +2 -2
  40. package/dist/{public-BtKAthSs.js → public-DVZJVdxD.js} +9 -9
  41. package/dist/{rich-code-block-BZYZ6ewr.js → rich-code-block-DL5-9JIi.js} +5 -5
  42. package/dist/{sortable-provider-hUCwt69K.js → sortable-provider-DrpBwx75.js} +2 -2
  43. package/dist/{spinner-BmUXTzvJ.js → spinner-D4XGdse6.js} +1 -1
  44. package/dist/{stored-language-_OGPBCn0.js → stored-language-C89mti-z.js} +4 -2
  45. package/dist/theme-picker.js +2 -2
  46. package/dist/{theme-toggle-DdvEafno.js → theme-toggle-BFhqLmgx.js} +1 -1
  47. package/dist/{toolbar-items-DKfY_6AG.js → toolbar-items-SZ5pyAFz.js} +4 -4
  48. package/dist/{translate-material-DzBMPErh.js → translate-material-BkqnImND.js} +2 -2
  49. package/dist/{translator-BIVSiq4X.js → translator-B5fId5Rw.js} +1 -1
  50. package/dist/{use-chat-composer-DCQW2EJ8.js → use-chat-composer-BG5B4DGB.js} +16 -16
  51. package/dist/{use-heading-spy-Cr2C_Px8.js → use-heading-spy-51GQw8tH.js} +1 -1
  52. package/dist/{use-material-translation-C_bAxfvp.js → use-material-translation-BQOr4Oks.js} +2 -2
  53. package/docs/components/feedback-and-status.md +7 -2
  54. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @nxgt/material
2
2
 
3
+ ## 3.57.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1954](https://github.com/softistx/nxgt-material/pull/1954) [`a56bc58`](https://github.com/softistx/nxgt-material/commit/a56bc58262e9d8347397281a756cbed8e7d43553) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `CountdownTimer` now says its warning state in words and an icon, not by tone alone: past `warningAt` it shows a clock icon and "Little time left" (`material.countdown-timer.warning`; fr "Il reste peu de temps"), and the threshold announcement includes the phrase. Pass `warningText="…"` to change the words or `warningText={false}` to hide the icon and phrase and keep the previous look. Additive; the clock, ring and the other tones are unchanged.
8
+
3
9
  ## 3.56.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -711,7 +711,7 @@ Not components: what the stylesheet gives any element.
711
711
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-progress.webp" width="120" alt="Progress"> | [`Progress`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#progress), `CircularProgress`, `ProgressField` | Material 3 Expressive linear bar and circular ring (flat or wavy, eight tones, buffer and stop dot), and a labelled progress field. | `Progress`, `CircularProgress`, `ProgressField` |
712
712
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-scrollprogress.webp" width="120" alt="ScrollProgress"> | [`ScrollProgress`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#scrollprogress) | Hairline that tracks window or a scrollable `target` (`react-use` `useWindowScroll` / `useScroll`). `DocProgress` composes it. | `ScrollProgress` |
713
713
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-stepdots.webp" width="120" alt="StepDots"> | [`StepDots`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#stepdots) | Segmented step progress, each step coloured by its state (done, correct, incorrect, flagged), optionally clickable. | — |
714
- | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-countdowntimer.webp" width="120" alt="CountdownTimer"> | [`CountdownTimer`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#countdowntimer) | Countdown clock with an emptying ring, amber then red as time runs out; announced only at its thresholds. | — |
714
+ | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-countdowntimer.webp" width="120" alt="CountdownTimer"> | [`CountdownTimer`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#countdowntimer) | Countdown clock with an emptying ring, amber then red as time runs out, with an icon and words in the warning; announced only at its thresholds. | — |
715
715
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-spinner.webp" width="120" alt="Spinner"> | [`Spinner`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#spinner) | Loading spinner in several styles and colours. | `Spinner` |
716
716
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-loadingindicator.webp" width="120" alt="LoadingIndicator"> | [`LoadingIndicator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#loadingindicator) | Material 3 Expressive's loading indicator: a shape morphing while it turns, with no script. | — |
717
717
  | <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-typingindicator.webp" width="120" alt="TypingIndicator"> | [`TypingIndicator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#typingindicator) | Three dots in a wave, plain or as a chat bubble; still under reduced motion. | — |
@@ -1,5 +1,5 @@
1
- import { i as e, r as t, t as n } from "./stored-language-_OGPBCn0.js";
2
- import { r } from "./translator-BIVSiq4X.js";
1
+ import { i as e, r as t, t as n } from "./stored-language-C89mti-z.js";
2
+ import { r } from "./translator-B5fId5Rw.js";
3
3
  import { t as i } from "./_baseIsEqual-C6ksIHya.js";
4
4
  import { useMemo as a } from "react";
5
5
  import { asyncThunkCreator as o, buildCreateSlice as s } from "@reduxjs/toolkit";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./is-production-GLw59WU8.js";
3
3
  import { n, t as r } from "./dist-DVRQkaTK.js";
4
- import { n as i, r as a, t as o } from "./spinner-BmUXTzvJ.js";
4
+ import { n as i, r as a, t as o } from "./spinner-D4XGdse6.js";
5
5
  import { a as s, i as c, n as l, o as u, s as d, t as f } from "./use-click-lock-BZYtTmVt.js";
6
6
  import { t as p } from "./button-group-context-CaP0X5p_.js";
7
7
  import { t as m } from "./has-text-content-Ds2dkHX_.js";
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 "./use-material-translation-C_bAxfvp.js";
5
- import { t as i } from "./button-CdpVEza0.js";
4
+ import { t as r } from "./use-material-translation-BQOr4Oks.js";
5
+ import { t as i } from "./button-hnUZpzYu.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-C0yNYz9m.js";
9
+ import { t as d } from "./chip-kplPa8ZV.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 { r as t } from "./spinner-BmUXTzvJ.js";
2
+ import { r as t } from "./spinner-D4XGdse6.js";
3
3
  import { s as n } from "./use-click-lock-BZYtTmVt.js";
4
- import { t as r } from "./use-material-translation-C_bAxfvp.js";
4
+ import { t as r } from "./use-material-translation-BQOr4Oks.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";
@@ -2,13 +2,13 @@ import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
2
  import { t } from "./utils-BLfntITJ.js";
3
3
  import { t as n } from "./is-production-GLw59WU8.js";
4
4
  import { a as r } from "./dist-lmHmz_bu.js";
5
- import { c as i, d as a, f as o, n as s, t as c } from "./dropdown-menu-C8PBmMIa.js";
6
- import { a as l, i as u, n as d } from "./field-blur-context-DxdIuHAY.js";
7
- import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-DKfY_6AG.js";
8
- import { t as _ } from "./use-material-translation-C_bAxfvp.js";
9
- import { i as v, n as y, o as b, t as x } from "./code-language-items-nP-pF7yH.js";
5
+ import { c as i, d as a, f as o, n as s, t as c } from "./dropdown-menu-CvVQJpsn.js";
6
+ import { a as l, i as u, n as d } from "./field-blur-context-CYlx9KnB.js";
7
+ import { a as f, d as p, r as m, t as h, u as g } from "./toolbar-items-SZ5pyAFz.js";
8
+ import { t as _ } from "./use-material-translation-BQOr4Oks.js";
9
+ import { i as v, n as y, o as b, t as x } from "./code-language-items-CsDC4Ky4.js";
10
10
  import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
11
- import { n as C, t as w } from "./escape-owner-CYnfySUl.js";
11
+ import { n as C, t as w } from "./escape-owner-BJvicDmr.js";
12
12
  import { t as T } from "./skeleton-DSdtr2qc.js";
13
13
  import { t as E } from "./react-node-text-Crkpfpco.js";
14
14
  import D, { memo as O, useCallback as ee, useEffect as k, useId as A, useImperativeHandle as j, useMemo as M, useRef as N, useState as P } from "react";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { a as t } from "./dist-lmHmz_bu.js";
3
- import { d as n, r, t as i, u as a } from "./toolbar-items-DKfY_6AG.js";
4
- import { t as o } from "./use-material-translation-C_bAxfvp.js";
5
- import { i as s, n as c, o as l } from "./code-language-items-nP-pF7yH.js";
6
- import { r as u, t as d } from "./field-blur-Nid7-bt_.js";
3
+ import { d as n, r, t as i, u as a } from "./toolbar-items-SZ5pyAFz.js";
4
+ import { t as o } from "./use-material-translation-BQOr4Oks.js";
5
+ import { i as s, n as c, o as l } from "./code-language-items-CsDC4Ky4.js";
6
+ import { r as u, t as d } from "./field-blur-Cnjk0o9A.js";
7
7
  import { t as f } from "./skeleton-DSdtr2qc.js";
8
8
  import { t as p } from "./live-status-BGPaN8r8.js";
9
9
  import { t as m } from "./use-mobile-BDro060N.js";
10
10
  import { t as h } from "./react-node-text-Crkpfpco.js";
11
- import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-Bwzp2038.js";
11
+ import { a as g, c as _, d as v, f as y, i as b, l as x, m as S, o as C, p as w, r as T, s as E, t as D, u as O } from "./code-editor-Ba61Cd-g.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";
14
14
  import { ChevronDown as F, ChevronUp as I, Columns2 as L } from "lucide-react";
@@ -1,5 +1,5 @@
1
- import { d as e, f as t } from "./dropdown-menu-C8PBmMIa.js";
2
- import { t as n } from "./use-material-translation-C_bAxfvp.js";
1
+ import { d as e, f as t } from "./dropdown-menu-CvVQJpsn.js";
2
+ import { t as n } from "./use-material-translation-BQOr4Oks.js";
3
3
  import { t as r } from "./live-status-BGPaN8r8.js";
4
4
  import { useEffect as i, useRef as a, useState as o } from "react";
5
5
  import { jsx as s } from "react/jsx-runtime";