@nxgt/material 3.39.0 → 3.41.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 (83) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +3 -3
  3. package/dist/{async-slice-BtUexP2l.js → async-slice-Dj0tAKRI.js} +2 -2
  4. package/dist/{button-CCAYSsgh.js → button-CTsT_LqL.js} +1 -1
  5. package/dist/charts.js +1733 -1364
  6. package/dist/{chip-Corr637n.js → chip-DP7EyhtT.js} +1 -1
  7. package/dist/{code-editor-B8_ny_jT.js → code-editor-BWn0AXBf.js} +4 -4
  8. package/dist/code-editor.js +4 -4
  9. package/dist/{code-language-items-1E5Qmfzb.js → code-language-items-CCRuLYpA.js} +2 -2
  10. package/dist/components/components.css +1 -0
  11. package/dist/components/ui/widgets/native-charts/native-charts-reference.css +102 -0
  12. package/dist/{components-CTKlqX8g.js → components-BUFDh6nQ.js} +5261 -5133
  13. package/dist/components.js +15 -15
  14. package/dist/{dialog-DGlnqBbX.js → dialog-uQld1gKm.js} +1 -1
  15. package/dist/dnd.js +1 -1
  16. package/dist/{dropdown-menu-B-buMTGc.js → dropdown-menu-BA70o7HC.js} +1 -1
  17. package/dist/editor.js +7 -7
  18. package/dist/{empty-state-DKgPt475.js → empty-state-BzwyRX5J.js} +1 -1
  19. package/dist/hooks.js +2 -2
  20. package/dist/{i18n-provider-Bc7bdIRW.js → i18n-provider-DkeMr5bw.js} +1 -1
  21. package/dist/i18n.js +5 -5
  22. package/dist/{icon-badge-BzLsPW3c.js → icon-badge-D_z5BGbc.js} +1 -1
  23. package/dist/lib/charts/index.d.ts +3 -1
  24. package/dist/lib/components/ui/collections/server-table/bulk-action-targets.d.ts +18 -0
  25. package/dist/lib/components/ui/collections/server-table/bulk-action.d.ts +50 -3
  26. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +5 -3
  27. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +31 -0
  28. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-more.d.ts +24 -0
  29. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-notice.d.ts +16 -0
  30. package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-texts.d.ts +9 -0
  31. package/dist/lib/components/ui/collections/server-table/server-table.d.ts +1 -1
  32. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  33. package/dist/lib/components/ui/widgets/native-charts/core/point-tones.d.ts +17 -0
  34. package/dist/lib/components/ui/widgets/native-charts/core/reference-text.d.ts +30 -0
  35. package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +45 -0
  36. package/dist/lib/components/ui/widgets/native-charts/core/summary.d.ts +3 -0
  37. package/dist/lib/components/ui/widgets/native-charts/core/table.d.ts +7 -0
  38. package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +25 -0
  39. package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +18 -1
  40. package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +3 -0
  41. package/dist/lib/components/ui/widgets/native-charts/hooks/model-series.d.ts +3 -0
  42. package/dist/lib/components/ui/widgets/native-charts/hooks/model-tones.d.ts +19 -0
  43. package/dist/lib/components/ui/widgets/native-charts/hooks/use-chart-model.d.ts +3 -3
  44. package/dist/lib/components/ui/widgets/native-charts/index.d.ts +1 -1
  45. package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +26 -1
  46. package/dist/lib/components/ui/widgets/native-charts/line-chart/line-geometry.d.ts +4 -0
  47. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/reference-marks.d.ts +17 -0
  48. package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/tone-points.d.ts +11 -0
  49. package/dist/lib/components/ui/widgets/native-charts/partials/chart-tooltip.d.ts +3 -0
  50. package/dist/lib/i18n/resources/en/en.d.ts +22 -0
  51. package/dist/lib/i18n/resources/en/material.json.d.ts +22 -0
  52. package/dist/lib/i18n/resources/fr/fr.d.ts +22 -0
  53. package/dist/lib/i18n/resources/fr/material.json.d.ts +22 -0
  54. package/dist/lib/i18n/resources/resources.d.ts +44 -0
  55. package/dist/lib/i18n/translator.d.ts +1 -1
  56. package/dist/lib.js +1 -1
  57. package/dist/main.js +21 -21
  58. package/dist/map.js +4 -4
  59. package/dist/material.css +1 -1
  60. package/dist/pdf-reader.js +1 -1
  61. package/dist/print.js +2 -2
  62. package/dist/{public-CNlIuQOj.js → public-ib0sK0Hr.js} +6 -6
  63. package/dist/{rich-code-block-Jo0OLy0J.js → rich-code-block-D_PTTZWQ.js} +4 -4
  64. package/dist/{sortable-provider-DgIo378H.js → sortable-provider-CrS51nKB.js} +1 -1
  65. package/dist/{spinner-BTR8rVN9.js → spinner-DLd_IHev.js} +1 -1
  66. package/dist/{stored-language-Bbwcy-Pv.js → stored-language-B5SMR-W2.js} +44 -0
  67. package/dist/theme-picker.js +2 -2
  68. package/dist/{theme-toggle-DMZ_3HiG.js → theme-toggle-wJYmnwgu.js} +1 -1
  69. package/dist/{toolbar-items-D3SPTgXE.js → toolbar-items-BLjrk8uU.js} +2 -2
  70. package/dist/{translate-material-CRF13PON.js → translate-material-BYRDtSEk.js} +2 -2
  71. package/dist/{translator-D7AVZCfQ.js → translator-C-_M57ZA.js} +1 -1
  72. package/dist/{use-chat-composer-D3kvp8Fw.js → use-chat-composer-DrFgIE3T.js} +12 -12
  73. package/dist/{use-heading-spy-uyhOQV2O.js → use-heading-spy-wElRpO2G.js} +1 -1
  74. package/dist/{use-material-translation-kISeB-fY.js → use-material-translation-CFF73jk5.js} +2 -2
  75. package/docs/README.md +1 -1
  76. package/docs/components/data-table-filter-and-lists.md +59 -4
  77. package/docs/components/rich-widgets.md +6 -0
  78. package/docs/guides/charts.md +78 -2
  79. package/docs/guides/i18n.md +1 -1
  80. package/docs/roadmap.md +7 -0
  81. package/lib/components/components.css +1 -0
  82. package/lib/components/ui/widgets/native-charts/native-charts-reference.css +102 -0
  83. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./tooltip-CkttDIab.js";
3
- import { t as n } from "./use-material-translation-kISeB-fY.js";
3
+ import { t as n } from "./use-material-translation-CFF73jk5.js";
4
4
  import { a as r } from "./button-tones-BwuVvAmd.js";
5
5
  import { t as i } from "./react-node-text-Crkpfpco.js";
6
6
  import { Check as a, X as o } from "lucide-react";
@@ -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 { a as n } from "./dist-lmHmz_bu.js";
4
- import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-B-buMTGc.js";
4
+ import { c as r, d as i, f as a, n as o, t as s } from "./dropdown-menu-BA70o7HC.js";
5
5
  import { a as c, i as l, n as u } from "./field-blur-context-Cft9s7Hg.js";
6
- import { a as d, d as f, r as p, t as m, u as h } from "./toolbar-items-D3SPTgXE.js";
6
+ import { a as d, d as f, r as p, t as m, u as h } from "./toolbar-items-BLjrk8uU.js";
7
7
  import { t as g } from "./is-production-GLw59WU8.js";
8
- import { t as _ } from "./use-material-translation-kISeB-fY.js";
9
- import { i as v, n as y, o as b, t as x } from "./code-language-items-1E5Qmfzb.js";
8
+ import { t as _ } from "./use-material-translation-CFF73jk5.js";
9
+ import { i as v, n as y, o as b, t as x } from "./code-language-items-CCRuLYpA.js";
10
10
  import { t as S } from "./useIsomorphicLayoutEffect-DfgAhWcH.js";
11
11
  import { n as C, t as w } from "./escape-owner-C4W_sOAU.js";
12
12
  import { t as T } from "./skeleton-DSdtr2qc.js";
@@ -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-D3SPTgXE.js";
4
- import { t as o } from "./use-material-translation-kISeB-fY.js";
5
- import { i as s, n as c, o as l } from "./code-language-items-1E5Qmfzb.js";
3
+ import { d as n, r, t as i, u as a } from "./toolbar-items-BLjrk8uU.js";
4
+ import { t as o } from "./use-material-translation-CFF73jk5.js";
5
+ import { i as s, n as c, o as l } from "./code-language-items-CCRuLYpA.js";
6
6
  import { r as u, t as d } from "./field-blur-CJHzVSh9.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-B8_ny_jT.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-BWn0AXBf.js";
12
12
  import { ChevronDown as k, ChevronUp as A, Columns2 as j } from "lucide-react";
13
13
  import { useEffect as M, 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 { d as e, f as t } from "./dropdown-menu-B-buMTGc.js";
2
- import { t as n } from "./use-material-translation-kISeB-fY.js";
1
+ import { d as e, f as t } from "./dropdown-menu-BA70o7HC.js";
2
+ import { t as n } from "./use-material-translation-CFF73jk5.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";
@@ -150,6 +150,7 @@
150
150
  @import "./ui/widgets/native-charts/native-charts-round.css";
151
151
  @import "./ui/widgets/native-charts/native-charts-heat.css";
152
152
  @import "./ui/widgets/native-charts/native-charts-points.css";
153
+ @import "./ui/widgets/native-charts/native-charts-reference.css";
153
154
  @import "./ui/widgets/native-charts/native-charts-zoom.css";
154
155
  /* The editor's documents: `.nxgt-prose`, shared with the viewer. */
155
156
  @import "./editor-prose.css";
@@ -0,0 +1,102 @@
1
+ /* A line chart's reference bands, threshold lines and toned points. Reached
2
+ * from components.css.
3
+ *
4
+ * A band is a wash across the plot, behind the lines: decorative, since its
5
+ * label (read aloud by the summary and listed under "View data") carries the
6
+ * meaning. A tone paints it with the tone itself at 12%; without one it is
7
+ * the foreground at 6%. Labels and threshold lines use the tone's text
8
+ * colour (4.5:1 on the card, both themes) or the foreground, and sit on a
9
+ * card-coloured halo so a line passing behind them does not cut the letters.
10
+ * A toned point is a ring round the value: a shape, never colour alone. */
11
+ .nxgt-chart-ref-band {
12
+ fill: var(--foreground);
13
+ opacity: 0.06;
14
+ }
15
+ .nxgt-chart-ref-band[data-tone] {
16
+ fill: var(--nxgt-tone);
17
+ opacity: 0.12;
18
+ }
19
+ .nxgt-chart-ref-line {
20
+ stroke: var(--nxgt-chart-axis);
21
+ stroke-width: 1.5;
22
+ stroke-dasharray: 6 4;
23
+ }
24
+ .nxgt-chart-ref-line[data-dash="false"] {
25
+ stroke-dasharray: none;
26
+ }
27
+ .nxgt-chart-ref-line[data-tone] {
28
+ stroke: var(--nxgt-tone-text);
29
+ }
30
+ .nxgt-chart-ref-label {
31
+ fill: var(--foreground);
32
+ font-size: 11px;
33
+ font-weight: 600;
34
+ paint-order: stroke;
35
+ stroke: var(--card);
36
+ stroke-width: 3px;
37
+ stroke-linejoin: round;
38
+ pointer-events: none;
39
+ }
40
+ .nxgt-chart-ref-label[data-tone] {
41
+ fill: var(--nxgt-tone-text);
42
+ }
43
+ .nxgt-chart[data-phone] .nxgt-chart-ref-label {
44
+ font-size: 10px;
45
+ }
46
+
47
+ .nxgt-chart-tone-ring {
48
+ fill: var(--card);
49
+ stroke: var(--nxgt-tone-text);
50
+ stroke-width: 2;
51
+ }
52
+ .nxgt-chart-tone-dot {
53
+ fill: var(--nxgt-tone-text);
54
+ }
55
+
56
+ /* The tone's word in the tooltip, with the ring the plot draws. */
57
+ .nxgt-chart-tip-tone {
58
+ display: inline-flex;
59
+ align-items: center;
60
+ gap: 4px;
61
+ color: var(--nxgt-tone-text);
62
+ font-size: 12px;
63
+ font-weight: 600;
64
+ }
65
+
66
+ /* Under "View data": the ranges and lines read as a list. */
67
+ .nxgt-chart-table-notes {
68
+ margin: 8px 0 0;
69
+ padding: 0;
70
+ list-style: none;
71
+ color: var(--muted-foreground);
72
+ font-size: 12px;
73
+ }
74
+
75
+ @media (forced-colors: active) {
76
+ .nxgt-chart-ref-band {
77
+ fill: Canvas;
78
+ stroke: GrayText;
79
+ stroke-width: 1;
80
+ stroke-dasharray: 2 3;
81
+ opacity: 1;
82
+ }
83
+ .nxgt-chart-ref-line,
84
+ .nxgt-chart-ref-line[data-tone] {
85
+ stroke: CanvasText;
86
+ }
87
+ .nxgt-chart-ref-label,
88
+ .nxgt-chart-ref-label[data-tone] {
89
+ fill: CanvasText;
90
+ stroke: Canvas;
91
+ }
92
+ .nxgt-chart-tone-ring {
93
+ fill: Canvas;
94
+ stroke: Highlight;
95
+ }
96
+ .nxgt-chart-tone-dot {
97
+ fill: Highlight;
98
+ }
99
+ .nxgt-chart-tip-tone {
100
+ color: CanvasText;
101
+ }
102
+ }