@nxgt/material 3.38.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.
- package/CHANGELOG.md +23 -0
- package/README.md +3 -3
- package/dist/{async-slice-DqjtOYlO.js → async-slice-Dj0tAKRI.js} +2 -2
- package/dist/{button-D52ron-a.js → button-CTsT_LqL.js} +1 -1
- package/dist/charts.js +1733 -1364
- package/dist/{chip-0XYwSp9o.js → chip-DP7EyhtT.js} +1 -1
- package/dist/{code-editor-BetIXpJ6.js → code-editor-BWn0AXBf.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-C7prxl_7.js → code-language-items-CCRuLYpA.js} +2 -2
- package/dist/components/components.css +1 -0
- package/dist/components/ui/widgets/native-charts/native-charts-reference.css +102 -0
- package/dist/{components-NoCZ44Ri.js → components-BUFDh6nQ.js} +16216 -15813
- package/dist/components.js +15 -15
- package/dist/{dialog-BCsT_aLo.js → dialog-uQld1gKm.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-Crt5QvTr.js → dropdown-menu-BA70o7HC.js} +1 -1
- package/dist/editor.js +7 -7
- package/dist/{empty-state-DFWq2CWB.js → empty-state-BzwyRX5J.js} +1 -1
- package/dist/hooks.js +2 -2
- package/dist/{i18n-provider-C0RBM8rH.js → i18n-provider-DkeMr5bw.js} +1 -1
- package/dist/i18n.js +5 -5
- package/dist/{icon-badge-XBoBIt_R.js → icon-badge-D_z5BGbc.js} +1 -1
- package/dist/lib/charts/index.d.ts +3 -1
- package/dist/lib/components/ui/collections/server-table/bulk-action-targets.d.ts +18 -0
- package/dist/lib/components/ui/collections/server-table/bulk-action.d.ts +50 -3
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-buttons.d.ts +5 -3
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-focus.d.ts +31 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-more.d.ts +24 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-notice.d.ts +16 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-bulk-texts.d.ts +9 -0
- package/dist/lib/components/ui/collections/server-table/server-table.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-content.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-popover.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-field/date-field-sheet-entry.d.ts +3 -2
- package/dist/lib/components/ui/dates/date-field/date-field-surface.d.ts +1 -1
- package/dist/lib/components/ui/dates/date-field/date-field-typed.d.ts +3 -3
- package/dist/lib/components/ui/dates/date-field/date-field.d.ts +23 -2
- package/dist/lib/components/ui/dates/date-field/use-typed-date.d.ts +3 -1
- package/dist/lib/components/ui/dates/date-field/use-zoned-content.d.ts +36 -0
- package/dist/lib/components/ui/dates/date-range-field/date-range-field.types.d.ts +1 -1
- package/dist/lib/components/ui/dates/picker-popover/hero-text.d.ts +1 -0
- package/dist/lib/components/ui/dates/picker-trigger/floating-clock.d.ts +7 -0
- package/dist/lib/components/ui/dates/picker-trigger/typed-day.d.ts +8 -0
- package/dist/lib/components/ui/dates/picker-trigger/use-zoned-date-props.d.ts +38 -0
- package/dist/lib/components/ui/dates/picker-trigger/use-zoned-value.d.ts +20 -0
- package/dist/lib/components/ui/dates/picker-trigger/zoned-bounds.d.ts +16 -0
- package/dist/lib/components/ui/dates/picker-trigger/zoned-matchers.d.ts +8 -0
- package/dist/lib/components/ui/dates/time-field/time-field.d.ts +14 -1
- package/dist/lib/components/ui/dates/time-field/time-form-field.d.ts +5 -1
- package/dist/lib/components/ui/dates/time-field/time-string-field.d.ts +3 -2
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/primitives/segmented-input/segment-date-time.d.ts +13 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-defs.d.ts +6 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-floating.d.ts +11 -0
- package/dist/lib/components/ui/primitives/segmented-input/segment-part.d.ts +19 -0
- package/dist/lib/components/ui/widgets/native-charts/core/point-tones.d.ts +17 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-text.d.ts +30 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference.d.ts +45 -0
- package/dist/lib/components/ui/widgets/native-charts/core/summary.d.ts +3 -0
- package/dist/lib/components/ui/widgets/native-charts/core/table.d.ts +7 -0
- package/dist/lib/components/ui/widgets/native-charts/core/types.d.ts +25 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/chart-model-types.d.ts +18 -1
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-parts.d.ts +3 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-series.d.ts +3 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/model-tones.d.ts +19 -0
- package/dist/lib/components/ui/widgets/native-charts/hooks/use-chart-model.d.ts +3 -3
- package/dist/lib/components/ui/widgets/native-charts/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-chart-types.d.ts +26 -1
- package/dist/lib/components/ui/widgets/native-charts/line-chart/line-geometry.d.ts +4 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/reference-marks.d.ts +17 -0
- package/dist/lib/components/ui/widgets/native-charts/line-chart/partials/tone-points.d.ts +11 -0
- package/dist/lib/components/ui/widgets/native-charts/partials/chart-tooltip.d.ts +3 -0
- package/dist/lib/i18n/resources/en/en.d.ts +23 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +23 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +23 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +23 -0
- package/dist/lib/i18n/resources/resources.d.ts +46 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/lib/zoned-floating.d.ts +30 -0
- package/dist/lib/lib/zoned-instant.d.ts +16 -0
- package/dist/lib/lib/zoned.d.ts +11 -4
- package/dist/lib.js +1 -1
- package/dist/main.js +21 -21
- package/dist/map.js +4 -4
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/print.js +2 -2
- package/dist/{public-CWIpzLzO.js → public-ib0sK0Hr.js} +6 -6
- package/dist/{rich-code-block-C4aBv4cA.js → rich-code-block-D_PTTZWQ.js} +4 -4
- package/dist/{sortable-provider-0uBi0zcP.js → sortable-provider-CrS51nKB.js} +1 -1
- package/dist/{spinner-CuxEwO0d.js → spinner-DLd_IHev.js} +1 -1
- package/dist/{stored-language-D8aemZhx.js → stored-language-B5SMR-W2.js} +46 -0
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-ik5nV1P5.js → theme-toggle-wJYmnwgu.js} +1 -1
- package/dist/{toolbar-items-C97E5HRa.js → toolbar-items-BLjrk8uU.js} +2 -2
- package/dist/{translate-material-B84ufMSF.js → translate-material-BYRDtSEk.js} +2 -2
- package/dist/{translator-Bq8UHmvu.js → translator-C-_M57ZA.js} +1 -1
- package/dist/{use-chat-composer-DmDcEGp4.js → use-chat-composer-DrFgIE3T.js} +12 -12
- package/dist/{use-heading-spy-BgG7Q47k.js → use-heading-spy-wElRpO2G.js} +1 -1
- package/dist/{use-material-translation-CiYhVc39.js → use-material-translation-CFF73jk5.js} +2 -2
- package/docs/README.md +1 -1
- package/docs/components/data-table-filter-and-lists.md +59 -4
- package/docs/components/date-and-time.md +77 -3
- package/docs/components/rich-widgets.md +6 -0
- package/docs/guides/charts.md +78 -2
- package/docs/guides/forms.md +2 -2
- package/docs/guides/i18n.md +3 -2
- package/docs/roadmap.md +7 -0
- package/docs/troubleshooting.md +9 -1
- package/lib/components/components.css +1 -0
- package/lib/components/ui/widgets/native-charts/native-charts-reference.css +102 -0
- package/package.json +2 -2
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
9
|
-
import { i as v, n as y, o as b, t as x } from "./code-language-items-
|
|
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";
|
package/dist/code-editor.js
CHANGED
|
@@ -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-
|
|
4
|
-
import { t as o } from "./use-material-translation-
|
|
5
|
-
import { i as s, n as c, o as l } from "./code-language-items-
|
|
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-
|
|
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-
|
|
2
|
-
import { t as n } from "./use-material-translation-
|
|
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
|
+
}
|