@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
@@ -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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "3.39.0",
3
+ "version": "3.41.0",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"