@nxgt/material 3.92.0 → 3.94.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 +56 -0
- package/README.md +4 -3
- package/dist/{alert-dialog-Bz5PlYKp.js → alert-dialog-BaqK-rmd.js} +1 -1
- package/dist/{async-slice-veSVxKqt.js → async-slice-BfNpIJAH.js} +1 -1
- package/dist/{button-a3tH3pq4.js → button-CozGHXAv.js} +1 -1
- package/dist/{calculator-BtuKV3PK.js → calculator-BIx6cwgU.js} +10 -10
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-CyB9IhEq.js → calculator-segment-BsaxUtzL.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +3 -3
- package/dist/{chip-BwGvGx_S.js → chip-DMEUGYdC.js} +2 -2
- package/dist/{code-editor-BLkmEoCi.js → code-editor-BWfky-aN.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-DhAC_tCs.js → code-language-items-BUaNYJuw.js} +2 -2
- package/dist/components/components.css +1 -0
- package/dist/components/ui/widgets/event-calendar/event-calendar-backdrop.css +43 -0
- package/dist/{components-DX4aHtgP.js → components-CZpdAQMh.js} +19132 -18101
- package/dist/components.js +38 -38
- package/dist/{conversion-variant-C4t7aH9d.js → conversion-variant-aIBhul_U.js} +3 -3
- package/dist/{currency-field-D0UQb5pn.js → currency-field-IcEMAcAw.js} +5 -5
- package/dist/{dialog-vQMypIOm.js → dialog-H40HjqXN.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-B2ctUFti.js → dropdown-menu-CawkIlW8.js} +1 -1
- package/dist/editor.js +442 -442
- package/dist/{empty-state-Bs44jnWk.js → empty-state-sRVjgCis.js} +1 -1
- package/dist/{financial-variant-B5iZ3pYf.js → financial-variant-Bqo9-swy.js} +5 -5
- package/dist/{hooks-CJtRFDYD.js → hooks-BTj_WJm9.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-B8PYUsv_.js → hover-card-BZU1DWGY.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-YT98b2Vx.js → icon-badge-CXgvqMsM.js} +1 -1
- package/dist/{icon-button-BylI02aX.js → icon-button-B9WjQ3RO.js} +1 -1
- package/dist/{input-group-CiayHfBN.js → input-group-Df9vp2EZ.js} +1 -1
- package/dist/lib/components/ui/collections/day-grouped-list/index.d.ts +6 -0
- package/dist/lib/components/ui/display/entity-header/entity-metadata.d.ts +0 -5
- package/dist/lib/components/ui/display/entity-header/entity-stats.d.ts +2 -1
- package/dist/lib/components/ui/display/event-chip/event-chip-badges.d.ts +21 -0
- package/dist/lib/components/ui/display/event-chip/event-chip-content.d.ts +5 -7
- package/dist/lib/components/ui/display/event-chip/event-chip-title.d.ts +9 -0
- package/dist/lib/components/ui/display/event-chip/event-chip.classes.d.ts +9 -0
- package/dist/lib/components/ui/display/event-chip/event-chip.d.ts +15 -2
- package/dist/lib/components/ui/display/markdown/markdown.d.ts +2 -2
- package/dist/lib/components/ui/display/markdown/rehype-katex-classes.d.ts +21 -0
- package/dist/lib/components/ui/fields/attributes/attribute-values-form-field-set/attribute-values-form-field-set.d.ts +1 -1
- package/dist/lib/components/ui/fields/choice-list/choice-list-control.d.ts +1 -1
- package/dist/lib/components/ui/fields/choice-list/choice-list-field.d.ts +1 -1
- package/dist/lib/components/ui/fields/choice-list/choice-list-focus.d.ts +6 -3
- package/dist/lib/components/ui/fields/choice-list/choice-list-form-field.d.ts +2 -2
- package/dist/lib/components/ui/fields/choice-list/choice-list-names.d.ts +2 -0
- package/dist/lib/components/ui/fields/choice-list/choice-list.utils.d.ts +2 -0
- package/dist/lib/components/ui/fields/choice-list/index.d.ts +1 -1
- package/dist/lib/components/ui/fields/choice-list/partials/choice-row.d.ts +9 -3
- package/dist/lib/components/ui/fields/choice-list/types.d.ts +20 -0
- package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
- package/dist/lib/components/ui/fields/index.d.ts +1 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-preview.d.ts +6 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-syntax-help.d.ts +4 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-tabs.d.ts +13 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-field.d.ts +23 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/markdown-textarea-form-field.d.ts +3 -0
- package/dist/lib/components/ui/fields/markdown-textarea-field/use-text-value.d.ts +6 -0
- package/dist/lib/components/ui/layout/record-page/record-details.d.ts +6 -6
- package/dist/lib/components/ui/widgets/education/questions/index.d.ts +1 -1
- package/dist/lib/components/ui/widgets/education/questions/partials/question-hints.d.ts +9 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/question-reveal.d.ts +13 -0
- package/dist/lib/components/ui/widgets/education/questions/partials/rich-text.d.ts +17 -0
- package/dist/lib/components/ui/widgets/education/questions/types.d.ts +40 -1
- package/dist/lib/components/ui/widgets/event-calendar/backdrop.types.d.ts +75 -0
- package/dist/lib/components/ui/widgets/event-calendar/chrome.types.d.ts +12 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-context.d.ts +8 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-events.utils.d.ts +3 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar-shell.d.ts +1 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.backdrop.d.ts +38 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.badges.d.ts +14 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.labels.d.ts +14 -1
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.lanes.d.ts +9 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.read-only.d.ts +57 -0
- package/dist/lib/components/ui/widgets/event-calendar/event-calendar.resources.d.ts +6 -1
- package/dist/lib/components/ui/widgets/event-calendar/index.d.ts +2 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/all-day-bars.d.ts +14 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/backdrop-bands.d.ts +11 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/backdrop-bar.d.ts +11 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/backdrop-cell.d.ts +13 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/backdrop-row.d.ts +8 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/calendar-badge.d.ts +16 -0
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-cell.d.ts +4 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/month-day-parts.d.ts +12 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/resource-header.d.ts +2 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/span-event.d.ts +3 -1
- package/dist/lib/components/ui/widgets/event-calendar/partials/time-grid-header-day.d.ts +3 -6
- package/dist/lib/components/ui/widgets/event-calendar/partials/zone-corner.d.ts +10 -2
- package/dist/lib/components/ui/widgets/event-calendar/template.types.d.ts +7 -2
- package/dist/lib/components/ui/widgets/event-calendar/types.d.ts +25 -13
- package/dist/lib/components/ui/widgets/event-calendar/use-backdrops.d.ts +8 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-badges.d.ts +5 -0
- package/dist/lib/components/ui/widgets/event-calendar/use-event-calendar.d.ts +3 -2
- package/dist/lib/components/ui/widgets/event-calendar/use-month-day.d.ts +6 -1
- package/dist/lib/components/ui/widgets/event-calendar/use-time-column.d.ts +1 -0
- package/dist/lib/i18n/resources/en/en.d.ts +31 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +31 -0
- package/dist/lib/i18n/resources/fr/fr.d.ts +31 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +31 -0
- package/dist/lib/i18n/resources/resources.d.ts +62 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib.js +1 -1
- package/dist/main.js +54 -54
- package/dist/map.js +7 -7
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-DuoZieW9.js → percent-field-DrI4_J7x.js} +1 -1
- package/dist/{picker-surface-BKzM6TWN.js → picker-surface-D2aYI4v7.js} +4 -4
- package/dist/{popover-ukgGm5B6.js → popover-QQYPWzw6.js} +1 -1
- package/dist/{pos-types-BNXbls3v.js → pos-types-BIeZGGAs.js} +1 -1
- package/dist/{pos-variant-CZ3OZtPq.js → pos-variant-Cdn1AVoA.js} +4 -4
- package/dist/print.js +1 -1
- package/dist/{programmer-variant-DVu-pYhB.js → programmer-variant-CMBybkqw.js} +2 -2
- package/dist/{public-DtXwn8bx.js → public-CPxFxbi4.js} +9 -9
- package/dist/{rich-code-block-DUaSLxLT.js → rich-code-block-DKJ8eKzL.js} +5 -5
- package/dist/{scientific-variant-Ku9feVN1.js → scientific-variant-CXL1ayb7.js} +2 -2
- package/dist/{sortable-provider-DIb1HgZA.js → sortable-provider-BYqwwyr1.js} +2 -2
- package/dist/{spinner-CHWFXCfd.js → spinner-D7ol2n_-.js} +1 -1
- package/dist/{tabs-BideU0Rb.js → tabs-DyiFTy5g.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-DUQTEe1y.js → theme-toggle-QZ0bIrg9.js} +1 -1
- package/dist/{toolbar-items-azkXY5w2.js → toolbar-items-BpOEBsSt.js} +4 -4
- package/dist/{translate-material-d8Q5K5a_.js → translate-material-DlMetRSJ.js} +1 -1
- package/dist/{translator-CxyFsfO0.js → translator-VtzVrnLm.js} +58 -0
- package/dist/{use-chat-composer-FACltVyX.js → use-chat-composer-DQ2rTD_q.js} +17 -17
- package/dist/{use-heading-spy-DHd5TScW.js → use-heading-spy-17B5xa7B.js} +4 -4
- package/dist/{use-material-translation-DA5ECZfA.js → use-material-translation-Cx5u36V5.js} +1 -1
- package/dist/{use-return-focus-CAAvJ6p5.js → use-return-focus-S7g7q_Yn.js} +1 -1
- package/docs/README.md +1 -0
- package/docs/components/data-display.md +13 -7
- package/docs/components/data-table-filter-and-lists.md +3 -0
- package/docs/components/form-fields.md +77 -5
- package/docs/components/navigation-and-layout.md +1 -0
- package/docs/components/rich-widgets.md +87 -5
- package/docs/guides/csp.md +20 -8
- package/docs/guides/event-calendar.md +163 -0
- package/docs/guides/forms.md +3 -1
- package/docs/guides/i18n.md +3 -1
- package/docs/previews/data-display-entityheader.webp +0 -0
- package/docs/previews/data-display-eventchip.webp +0 -0
- package/docs/previews/form-fields-markdowntextareafield.webp +0 -0
- package/docs/previews/rich-widgets-eventcalendar.webp +0 -0
- package/docs/roadmap.md +12 -0
- package/docs/troubleshooting.md +22 -6
- package/lib/components/components.css +1 -0
- package/lib/components/ui/widgets/event-calendar/event-calendar-backdrop.css +43 -0
- package/package.json +1 -1
package/dist/pdf-reader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as e } from "./currency-field-
|
|
1
|
+
import { r as e } from "./currency-field-IcEMAcAw.js";
|
|
2
2
|
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region lib/components/ui/fields/percent-field/percent-field.tsx
|
|
4
4
|
function n({ min: n = 0, max: r = 100, step: i = 1, ...a }) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { r as t, t as n } from "./in-dialog-D61Yeaol.js";
|
|
3
|
-
import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, u as f } from "./use-return-focus-
|
|
4
|
-
import { i as p, o as m, r as h, t as g } from "./popover-
|
|
5
|
-
import { t as _ } from "./use-material-translation-
|
|
6
|
-
import { n as v, t as y } from "./icon-button-
|
|
3
|
+
import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, u as f } from "./use-return-focus-S7g7q_Yn.js";
|
|
4
|
+
import { i as p, o as m, r as h, t as g } from "./popover-QQYPWzw6.js";
|
|
5
|
+
import { t as _ } from "./use-material-translation-Cx5u36V5.js";
|
|
6
|
+
import { n as v, t as y } from "./icon-button-B9WjQ3RO.js";
|
|
7
7
|
import { t as b } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
8
8
|
import { i as x } from "./escape-owner-DpaP0lm1.js";
|
|
9
9
|
import * as S from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, r as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { i as r, r as i, t as a } from "./dist-DWZXlCZR.js";
|
|
4
|
-
import { S as o, d as s, f as c, l, p as u, u as d, x as f } from "./spinner-
|
|
4
|
+
import { S as o, d as s, f as c, l, p as u, u as d, x as f } from "./spinner-D7ol2n_-.js";
|
|
5
5
|
import { a as p, i as m, r as h } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { a as g, c as _, l as v, o as y, r as b, s as x, t as S } from "./in-dialog-D61Yeaol.js";
|
|
7
7
|
import { i as C } from "./escape-owner-DpaP0lm1.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-Cx5u36V5.js";
|
|
2
2
|
import { n as t } from "./calculator-context-BugcKuVG.js";
|
|
3
3
|
import { t as n } from "./calculator-announce-DRd2c6Dq.js";
|
|
4
4
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
3
|
-
import { t as n } from "./icon-button-
|
|
2
|
+
import { t } from "./use-material-translation-Cx5u36V5.js";
|
|
3
|
+
import { t as n } from "./icon-button-B9WjQ3RO.js";
|
|
4
4
|
import { n as r } from "./calculator-context-BugcKuVG.js";
|
|
5
|
-
import { a as i, n as a, r as o, t as s } from "./pos-types-
|
|
5
|
+
import { a as i, n as a, r as o, t as s } from "./pos-types-BIeZGGAs.js";
|
|
6
6
|
import { i as c, n as l, s as u } from "./key-layout-cR79xfGE.js";
|
|
7
7
|
import { n as d, t as f } from "./currency-B-r3ig11.js";
|
|
8
|
-
import { t as p } from "./calculator-segment-
|
|
8
|
+
import { t as p } from "./calculator-segment-BsaxUtzL.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 { ChevronDown as y, X as b } from "lucide-react";
|
package/dist/print.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as e, t } from "./translate-material-
|
|
1
|
+
import { i as e, t } from "./translate-material-DlMetRSJ.js";
|
|
2
2
|
import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useMemo as c, useState as l } from "react";
|
|
3
3
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
4
4
|
import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-Cx5u36V5.js";
|
|
2
2
|
import { t } from "./toggle-FeCCJqbg.js";
|
|
3
3
|
import { n } from "./calculator-context-BugcKuVG.js";
|
|
4
4
|
import { i as r, n as i, s as a } from "./key-layout-cR79xfGE.js";
|
|
5
5
|
import { t as o } from "./programmer-word-CNCF7DJF.js";
|
|
6
|
-
import { t as s } from "./calculator-segment-
|
|
6
|
+
import { t as s } from "./calculator-segment-BsaxUtzL.js";
|
|
7
7
|
import { useId as c, useState as l } from "react";
|
|
8
8
|
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
9
9
|
import { calculate as f, formatExpression as p, sessionOptions as m, toCanonical as h, tokenize as g } from "@nxgt/material-core/calculator";
|
|
@@ -3,25 +3,25 @@ import { n as t } from "./ui.utils-CAnKTCw5.js";
|
|
|
3
3
|
import { t as n } from "./utils-BLfntITJ.js";
|
|
4
4
|
import { o as r } from "./dist-DVRQkaTK.js";
|
|
5
5
|
import { i, n as a, r as o } from "./dist-DWZXlCZR.js";
|
|
6
|
-
import { o as s } from "./spinner-
|
|
6
|
+
import { o as s } from "./spinner-D7ol2n_-.js";
|
|
7
7
|
import { a as c, i as l, n as u } from "./dist-DHdUUM1w.js";
|
|
8
8
|
import { i as d } from "./dist-DOK3zo5C.js";
|
|
9
9
|
import { r as f, t as p } from "./in-dialog-D61Yeaol.js";
|
|
10
|
-
import { a as m, c as h, i as g, l as _, n as v, o as ee, r as y, s as b, t as te, u as ne } from "./use-return-focus-
|
|
11
|
-
import { c as x, d as S, f as C, i as w, l as T, n as E, o as D, t as re, u as O } from "./dropdown-menu-
|
|
12
|
-
import { a as k, b as ie, d as ae, f as oe, i as se, n as A, o as ce, r as le, s as j, t as M, u as ue, v as de } from "./toolbar-items-
|
|
10
|
+
import { a as m, c as h, i as g, l as _, n as v, o as ee, r as y, s as b, t as te, u as ne } from "./use-return-focus-S7g7q_Yn.js";
|
|
11
|
+
import { c as x, d as S, f as C, i as w, l as T, n as E, o as D, t as re, u as O } from "./dropdown-menu-CawkIlW8.js";
|
|
12
|
+
import { a as k, b as ie, d as ae, f as oe, i as se, n as A, o as ce, r as le, s as j, t as M, u as ue, v as de } from "./toolbar-items-BpOEBsSt.js";
|
|
13
13
|
import { t as fe } from "./dist-DkQbkF9T.js";
|
|
14
|
-
import { t as pe } from "./button-
|
|
15
|
-
import { t as N } from "./use-material-translation-
|
|
16
|
-
import { n as me, t as he } from "./icon-button-
|
|
14
|
+
import { t as pe } from "./button-CozGHXAv.js";
|
|
15
|
+
import { t as N } from "./use-material-translation-Cx5u36V5.js";
|
|
16
|
+
import { n as me, t as he } from "./icon-button-B9WjQ3RO.js";
|
|
17
17
|
import { t as ge } from "./useEvent-2fKq-6w8.js";
|
|
18
18
|
import { n as _e, t as ve } from "./toggle-group-CVMxEpWi.js";
|
|
19
19
|
import { i as ye } from "./escape-owner-DpaP0lm1.js";
|
|
20
20
|
import { n as be } from "./use-slice-reducer-BGkeGtML.js";
|
|
21
21
|
import { t as xe } from "./input-CC2joTjB.js";
|
|
22
22
|
import { r as Se } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
23
|
-
import { n as Ce, t as we } from "./empty-state-
|
|
24
|
-
import { r as Te, t as Ee, u as De } from "./dialog-
|
|
23
|
+
import { n as Ce, t as we } from "./empty-state-sRVjgCis.js";
|
|
24
|
+
import { r as Te, t as Ee, u as De } from "./dialog-H40HjqXN.js";
|
|
25
25
|
import { t as Oe } from "./client-only.utils-3nHNzCki.js";
|
|
26
26
|
import { t as ke } from "./use-scroll-away-PQRFZkT2.js";
|
|
27
27
|
import * as P from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as e } from "./spinner-
|
|
2
|
-
import { c as t, n, t as r } from "./dropdown-menu-
|
|
3
|
-
import { t as i } from "./use-material-translation-
|
|
4
|
-
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-
|
|
1
|
+
import { n as e } from "./spinner-D7ol2n_-.js";
|
|
2
|
+
import { c as t, n, t as r } from "./dropdown-menu-CawkIlW8.js";
|
|
3
|
+
import { t as i } from "./use-material-translation-Cx5u36V5.js";
|
|
4
|
+
import { a, i as o, n as s, o as c, t as l } from "./code-language-items-BUaNYJuw.js";
|
|
5
5
|
import { i as u, n as d, r as f, s as p } from "./dist-C3GR7kJd.js";
|
|
6
6
|
import { t as m } from "./code-block-spec-CGLKRhwD.js";
|
|
7
7
|
import { Suspense as h, lazy as g, useEffect as _, useRef as v, useState as y } from "react";
|
|
@@ -143,7 +143,7 @@ function M({ node: e, editor: t, updateAttributes: n, editable: r, wrap: a, onWr
|
|
|
143
143
|
}
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region lib/components/ui/widgets/editor/extensions/code/code-block-open.tsx
|
|
146
|
-
var N = g(() => import("./code-editor-
|
|
146
|
+
var N = g(() => import("./code-editor-BWfky-aN.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
|
|
147
147
|
function P() {
|
|
148
148
|
let { t: e } = i();
|
|
149
149
|
return /* @__PURE__ */ b("div", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-Cx5u36V5.js";
|
|
2
2
|
import { t } from "./toggle-FeCCJqbg.js";
|
|
3
3
|
import { n } from "./calculator-context-BugcKuVG.js";
|
|
4
4
|
import { i as r, o as i } from "./key-layout-cR79xfGE.js";
|
|
5
5
|
import { t as a } from "./standard-layout-BuSRr3TY.js";
|
|
6
|
-
import { t as o } from "./calculator-segment-
|
|
6
|
+
import { t as o } from "./calculator-segment-BsaxUtzL.js";
|
|
7
7
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { scientificOptions as l } from "@nxgt/material-core/calculator/scientific";
|
|
9
9
|
//#region lib/components/ui/widgets/calculator/variants/scientific/scientific-layout.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./dist-DVRQkaTK.js";
|
|
3
|
-
import { t as n } from "./use-material-translation-
|
|
4
|
-
import { t as r } from "./icon-button-
|
|
3
|
+
import { t as n } from "./use-material-translation-Cx5u36V5.js";
|
|
4
|
+
import { t as r } from "./icon-button-B9WjQ3RO.js";
|
|
5
5
|
import { t as i } from "./compose-refs-G4J4kaUA.js";
|
|
6
6
|
import a, { cloneElement as o, createContext as s, forwardRef as c, memo as l, useCallback as u, useContext as d, useEffect as f, useId as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _, useState as v } from "react";
|
|
7
7
|
import { jsx as y } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import { a as i, i as a, n as o, r as s, t as c } from "./dist-DWZXlCZR.js";
|
|
|
5
5
|
import { a as l, i as u, n as d, r as f, t as p } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { a as m, c as h, d as g, i as _, l as v, o as y, r as b, t as x, u as S } from "./floating-ui.dom-KkZSW8_E.js";
|
|
7
7
|
import { t as C } from "./dist-DkQbkF9T.js";
|
|
8
|
-
import { t as w } from "./use-material-translation-
|
|
8
|
+
import { t as w } from "./use-material-translation-Cx5u36V5.js";
|
|
9
9
|
import * as T from "react";
|
|
10
10
|
import { useLayoutEffect as E, useRef as D, useSyncExternalStore as O } from "react";
|
|
11
11
|
import { jsx as k, jsxs as A } from "react/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ import { n as t } from "./dist-DVRQkaTK.js";
|
|
|
3
3
|
import { i as n, r, t as i } from "./dist-DWZXlCZR.js";
|
|
4
4
|
import { a, i as o, r as s } from "./dist-DHdUUM1w.js";
|
|
5
5
|
import { i as c, n as l, r as u, t as d } from "./dist-DOK3zo5C.js";
|
|
6
|
-
import { t as f } from "./use-material-translation-
|
|
6
|
+
import { t as f } from "./use-material-translation-Cx5u36V5.js";
|
|
7
7
|
import * as p from "react";
|
|
8
8
|
import { createContext as m, useCallback as h, useContext as g, useEffect as ee, useLayoutEffect as _, useRef as v, useState as te } from "react";
|
|
9
9
|
import { Fragment as ne, jsx as y, jsxs as b } from "react/jsx-runtime";
|
package/dist/theme-picker.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { a as t, i as n, n as r, o as i, r as a, t as o } from "./bubble-input-CQwVSoU3.js";
|
|
3
3
|
import { a as s, r as c } from "./icon-sprites-CaYXzOL4.js";
|
|
4
|
-
import { t as l } from "./use-material-translation-
|
|
4
|
+
import { t as l } from "./use-material-translation-Cx5u36V5.js";
|
|
5
5
|
import { t as u } from "./use-theme-BCLireTd.js";
|
|
6
6
|
import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
|
|
7
|
-
import { t as p } from "./theme-toggle-
|
|
7
|
+
import { t as p } from "./theme-toggle-QZ0bIrg9.js";
|
|
8
8
|
import { n as m, t as h } from "./nxgt-theme-DA1IQe0O.js";
|
|
9
9
|
import { useContext as g } from "react";
|
|
10
10
|
import { jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./use-material-translation-
|
|
1
|
+
import { t as e } from "./use-material-translation-Cx5u36V5.js";
|
|
2
2
|
import { i as t } from "./theme-store-BdPp43cV.js";
|
|
3
3
|
import { n, t as r } from "./use-theme-BCLireTd.js";
|
|
4
4
|
import { r as i } from "./theme-context-Cofk6vgs.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { o as t, t as n } from "./dist-DVRQkaTK.js";
|
|
3
3
|
import { i as r, r as i } from "./dist-DWZXlCZR.js";
|
|
4
|
-
import { n as a } from "./spinner-
|
|
4
|
+
import { n as a } from "./spinner-D7ol2n_-.js";
|
|
5
5
|
import { a as o } from "./dist-DHdUUM1w.js";
|
|
6
6
|
import { i as s, n as c, r as l, t as u } from "./dist-DOK3zo5C.js";
|
|
7
7
|
import { t as d } from "./in-dialog-D61Yeaol.js";
|
|
8
|
-
import { A as f, M as p, N as m, b as h, d as g, f as _, i as v, j as y, l as b, n as x, o as S, r as C, t as w, u as T, y as ee } from "./dropdown-menu-
|
|
9
|
-
import { a as te, n as ne } from "./popover-
|
|
8
|
+
import { A as f, M as p, N as m, b as h, d as g, f as _, i as v, j as y, l as b, n as x, o as S, r as C, t as w, u as T, y as ee } from "./dropdown-menu-CawkIlW8.js";
|
|
9
|
+
import { a as te, n as ne } from "./popover-QQYPWzw6.js";
|
|
10
10
|
import { i as re, n as ie, r as ae, t as oe } from "./dist-BZe2evxL.js";
|
|
11
11
|
import { t as se } from "./warn-once-C_e47JM8.js";
|
|
12
|
-
import { t as ce } from "./use-material-translation-
|
|
12
|
+
import { t as ce } from "./use-material-translation-Cx5u36V5.js";
|
|
13
13
|
import * as E from "react";
|
|
14
14
|
import { createContext as D, useCallback as le, useContext as O, useEffect as k, useId as ue, useLayoutEffect as A, useMemo as j, useReducer as de, useRef as M, useState as N } from "react";
|
|
15
15
|
import { Fragment as P, jsx as F, jsxs as I } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-
|
|
1
|
+
import { a as e, l as t, r as n, s as r, t as i, u as a } from "./translator-VtzVrnLm.js";
|
|
2
2
|
import { createContext as o, useCallback as s, useContext as c, useEffect as l, useMemo as u, useRef as d, useState as f } from "react";
|
|
3
3
|
import { jsx as p } from "react/jsx-runtime";
|
|
4
4
|
//#region lib/i18n/material-resources-registry.ts
|
|
@@ -365,6 +365,17 @@ var r = {
|
|
|
365
365
|
hint: "Hint",
|
|
366
366
|
"show-hint": "Show hint",
|
|
367
367
|
"hide-hint": "Hide hint",
|
|
368
|
+
rich: {
|
|
369
|
+
hints: "Hints",
|
|
370
|
+
"show-next-hint": "Show hint {number} of {total}",
|
|
371
|
+
"hint-n": "Hint {number} of {total}",
|
|
372
|
+
"option-explanations": "About each answer",
|
|
373
|
+
references: "References",
|
|
374
|
+
"new-tab": "(external link)",
|
|
375
|
+
examples: "Examples",
|
|
376
|
+
"example-input": "Input",
|
|
377
|
+
"example-expected": "Expected"
|
|
378
|
+
},
|
|
368
379
|
correct: "Correct!",
|
|
369
380
|
incorrect: "Not quite",
|
|
370
381
|
unanswered: "Not answered",
|
|
@@ -1320,6 +1331,19 @@ var r = {
|
|
|
1320
1331
|
unit: "Unit",
|
|
1321
1332
|
"unit-named": "{label} unit"
|
|
1322
1333
|
},
|
|
1334
|
+
"markdown-textarea-field": {
|
|
1335
|
+
write: "Write",
|
|
1336
|
+
preview: "Preview",
|
|
1337
|
+
mode: "Editor mode",
|
|
1338
|
+
empty: "Nothing to preview",
|
|
1339
|
+
help: "Formatting help",
|
|
1340
|
+
"help-bold": "Bold",
|
|
1341
|
+
"help-list": "List",
|
|
1342
|
+
"help-code": "Code",
|
|
1343
|
+
"help-inline-math": "Math in a line",
|
|
1344
|
+
"help-block-math": "Math on its own line",
|
|
1345
|
+
"help-escape": "A literal dollar sign"
|
|
1346
|
+
},
|
|
1323
1347
|
"textarea-field": { count: "{count}/{max}" },
|
|
1324
1348
|
skeleton: { loading: "Loading" },
|
|
1325
1349
|
chip: {
|
|
@@ -1763,6 +1787,7 @@ var r = {
|
|
|
1763
1787
|
events: "{count, plural, one {# event} other {# events}}",
|
|
1764
1788
|
more: "+{count} more",
|
|
1765
1789
|
drag: "Drag event",
|
|
1790
|
+
label: "Event calendar",
|
|
1766
1791
|
add: "Add event",
|
|
1767
1792
|
resize: "Resize event",
|
|
1768
1793
|
"new-event": "New event",
|
|
@@ -1782,8 +1807,11 @@ var r = {
|
|
|
1782
1807
|
resource: "Resource",
|
|
1783
1808
|
lane: "Week",
|
|
1784
1809
|
"lane-all": "All weeks",
|
|
1810
|
+
cancelled: "Cancelled",
|
|
1811
|
+
"week-badge": "Week: {label}",
|
|
1785
1812
|
"time-zone": "Time zone: {zone}"
|
|
1786
1813
|
},
|
|
1814
|
+
"event-chip": { cancelled: "Cancelled" },
|
|
1787
1815
|
dnd: { drag: "Drag" },
|
|
1788
1816
|
"rich-text-editor": {
|
|
1789
1817
|
words: "words",
|
|
@@ -2209,6 +2237,7 @@ var r = {
|
|
|
2209
2237
|
"none-single": "Mark the correct {label}",
|
|
2210
2238
|
"none-multiple": "Mark at least one correct {label}",
|
|
2211
2239
|
blank: "Fill in every {label}",
|
|
2240
|
+
detail: "Explanation",
|
|
2212
2241
|
"text-required": "Enter the {label}"
|
|
2213
2242
|
},
|
|
2214
2243
|
"repeatable-group": {
|
|
@@ -3845,6 +3874,17 @@ var r = {
|
|
|
3845
3874
|
hint: "Indice",
|
|
3846
3875
|
"show-hint": "Afficher l’indice",
|
|
3847
3876
|
"hide-hint": "Masquer l’indice",
|
|
3877
|
+
rich: {
|
|
3878
|
+
hints: "Indices",
|
|
3879
|
+
"show-next-hint": "Afficher l’indice {number} sur {total}",
|
|
3880
|
+
"hint-n": "Indice {number} sur {total}",
|
|
3881
|
+
"option-explanations": "À propos de chaque réponse",
|
|
3882
|
+
references: "Références",
|
|
3883
|
+
"new-tab": "(lien externe)",
|
|
3884
|
+
examples: "Exemples",
|
|
3885
|
+
"example-input": "Entrée",
|
|
3886
|
+
"example-expected": "Attendu"
|
|
3887
|
+
},
|
|
3848
3888
|
correct: "Bonne réponse !",
|
|
3849
3889
|
incorrect: "Pas tout à fait",
|
|
3850
3890
|
unanswered: "Sans réponse",
|
|
@@ -4800,6 +4840,19 @@ var r = {
|
|
|
4800
4840
|
unit: "Unité",
|
|
4801
4841
|
"unit-named": "Unité de {label}"
|
|
4802
4842
|
},
|
|
4843
|
+
"markdown-textarea-field": {
|
|
4844
|
+
write: "Écrire",
|
|
4845
|
+
preview: "Aperçu",
|
|
4846
|
+
mode: "Mode de l'éditeur",
|
|
4847
|
+
empty: "Rien à prévisualiser",
|
|
4848
|
+
help: "Aide à la mise en forme",
|
|
4849
|
+
"help-bold": "Gras",
|
|
4850
|
+
"help-list": "Liste",
|
|
4851
|
+
"help-code": "Code",
|
|
4852
|
+
"help-inline-math": "Formule dans une ligne",
|
|
4853
|
+
"help-block-math": "Formule sur sa propre ligne",
|
|
4854
|
+
"help-escape": "Un signe dollar littéral"
|
|
4855
|
+
},
|
|
4803
4856
|
"textarea-field": { count: "{count}/{max}" },
|
|
4804
4857
|
skeleton: { loading: "Chargement" },
|
|
4805
4858
|
chip: {
|
|
@@ -5243,6 +5296,7 @@ var r = {
|
|
|
5243
5296
|
events: "{count, plural, one {# événement} other {# événements}}",
|
|
5244
5297
|
more: "+{count} de plus",
|
|
5245
5298
|
drag: "Déplacer l'événement",
|
|
5299
|
+
label: "Calendrier d'événements",
|
|
5246
5300
|
add: "Ajouter un événement",
|
|
5247
5301
|
resize: "Redimensionner l'événement",
|
|
5248
5302
|
"new-event": "Nouvel événement",
|
|
@@ -5262,8 +5316,11 @@ var r = {
|
|
|
5262
5316
|
resource: "Ressource",
|
|
5263
5317
|
lane: "Semaine",
|
|
5264
5318
|
"lane-all": "Toutes les semaines",
|
|
5319
|
+
cancelled: "Annulé",
|
|
5320
|
+
"week-badge": "Semaine : {label}",
|
|
5265
5321
|
"time-zone": "Fuseau horaire : {zone}"
|
|
5266
5322
|
},
|
|
5323
|
+
"event-chip": { cancelled: "Annulé" },
|
|
5267
5324
|
dnd: { drag: "Déplacer" },
|
|
5268
5325
|
"rich-text-editor": {
|
|
5269
5326
|
words: "mots",
|
|
@@ -5689,6 +5746,7 @@ var r = {
|
|
|
5689
5746
|
"none-single": "Indiquez la {label} juste",
|
|
5690
5747
|
"none-multiple": "Indiquez au moins une {label} juste",
|
|
5691
5748
|
blank: "Remplissez chaque {label}",
|
|
5749
|
+
detail: "Explication",
|
|
5692
5750
|
"text-required": "Saisissez la {label}"
|
|
5693
5751
|
},
|
|
5694
5752
|
"repeatable-group": {
|
|
@@ -4,28 +4,28 @@ import { t as n } from "./utils-BLfntITJ.js";
|
|
|
4
4
|
import { n as r } from "./use-shape-morph-BKA_R5P5.js";
|
|
5
5
|
import { n as i, o as a, t as o } from "./dist-DVRQkaTK.js";
|
|
6
6
|
import { i as s, n as c, r as l, t as u } from "./dist-DWZXlCZR.js";
|
|
7
|
-
import { _ as d, a as f, b as p, g as m, h, i as g, m as _, n as v, o as y, r as b, s as x, t as S, v as C, y as w } from "./spinner-
|
|
7
|
+
import { _ as d, a as f, b as p, g as m, h, i as g, m as _, n as v, o as y, r as b, s as x, t as S, v as C, y as w } from "./spinner-D7ol2n_-.js";
|
|
8
8
|
import { a as T, i as E, n as D, r as O, t as k } from "./dist-DHdUUM1w.js";
|
|
9
9
|
import { a as A, i as ee } from "./dist-DOK3zo5C.js";
|
|
10
10
|
import { i as j, n as M } from "./in-dialog-D61Yeaol.js";
|
|
11
|
-
import { c as N, l as P, n as te, r as F, t as ne } from "./alert-dialog-
|
|
11
|
+
import { c as N, l as P, n as te, r as F, t as ne } from "./alert-dialog-BaqK-rmd.js";
|
|
12
12
|
import { A as re, C as ie, D as ae, E as oe, O as se, S as I, T as ce, _ as le, a as ue, b as de, d as fe, f as pe, g as me, h as he, i as ge, k as _e, l as ve, m as ye, n as be, o as xe, p as Se, r as Ce, s as we, t as Te, u as Ee, v as De, w as Oe, x as ke, y as Ae } from "./floating-ui.dom-KkZSW8_E.js";
|
|
13
|
-
import { D as je, E as Me, N as Ne, O as Pe, c as Fe, d as Ie, f as Le, i as Re, k as ze, m as Be, n as Ve, o as He, p as Ue, t as We, u as Ge } from "./dropdown-menu-
|
|
13
|
+
import { D as je, E as Me, N as Ne, O as Pe, c as Fe, d as Ie, f as Le, i as Re, k as ze, m as Be, n as Ve, o as He, p as Ue, t as We, u as Ge } from "./dropdown-menu-CawkIlW8.js";
|
|
14
14
|
import { a as Ke, i as qe, n as Je } from "./field-blur-context-BLGgf_3z.js";
|
|
15
|
-
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./popover-
|
|
15
|
+
import { i as Ye, n as Xe, r as Ze, t as Qe } from "./popover-QQYPWzw6.js";
|
|
16
16
|
import { a as $e, i as et, n as tt, o as nt, t as rt } from "./bubble-input-CQwVSoU3.js";
|
|
17
|
-
import { d as it, n as at, r as ot, t as st } from "./tabs-
|
|
18
|
-
import { a as ct, n as lt, o as ut, s as dt, v as ft, y as pt } from "./toolbar-items-
|
|
17
|
+
import { d as it, n as at, r as ot, t as st } from "./tabs-DyiFTy5g.js";
|
|
18
|
+
import { a as ct, n as lt, o as ut, s as dt, v as ft, y as pt } from "./toolbar-items-BpOEBsSt.js";
|
|
19
19
|
import { t as mt } from "./dist-DkQbkF9T.js";
|
|
20
20
|
import { o as ht, s as gt, t as _t } from "./use-click-lock-Bwg_caHO.js";
|
|
21
21
|
import { a as vt, r as yt } from "./icon-sprites-CaYXzOL4.js";
|
|
22
22
|
import { t as bt } from "./warn-once-C_e47JM8.js";
|
|
23
|
-
import { r as xt, t as St } from "./button-
|
|
24
|
-
import { a as Ct } from "./translator-
|
|
23
|
+
import { r as xt, t as St } from "./button-CozGHXAv.js";
|
|
24
|
+
import { a as Ct } from "./translator-VtzVrnLm.js";
|
|
25
25
|
import { h as wt } from "./get-CTzJAwfc.js";
|
|
26
26
|
import { t as Tt } from "./isEmpty-F_g3jLf8.js";
|
|
27
|
-
import { t as L } from "./use-material-translation-
|
|
28
|
-
import { t as R } from "./icon-button-
|
|
27
|
+
import { t as L } from "./use-material-translation-Cx5u36V5.js";
|
|
28
|
+
import { t as R } from "./icon-button-B9WjQ3RO.js";
|
|
29
29
|
import { t as Et } from "./use-ssr-media-query-C6M5m8sf.js";
|
|
30
30
|
import { n as Dt, t as Ot } from "./typography-CYEquVeb.js";
|
|
31
31
|
import { n as kt, t as At } from "./util-4heV2LPI.js";
|
|
@@ -36,15 +36,15 @@ import { a as Bt } from "./toggle-group-CVMxEpWi.js";
|
|
|
36
36
|
import { n as Vt } from "./use-slice-reducer-BGkeGtML.js";
|
|
37
37
|
import { t as Ht } from "./browser-only-DQ94lWF8.js";
|
|
38
38
|
import { t as Ut } from "./compose-refs-G4J4kaUA.js";
|
|
39
|
-
import { n as Wt, r as Gt, t as Kt } from "./chip-
|
|
39
|
+
import { n as Wt, r as Gt, t as Kt } from "./chip-DMEUGYdC.js";
|
|
40
40
|
import { c as qt, o as Jt, r as Yt, s as Xt, t as Zt } from "./input-CC2joTjB.js";
|
|
41
|
-
import { i as Qt, n as $t, t as en } from "./input-group-
|
|
41
|
+
import { i as Qt, n as $t, t as en } from "./input-group-Df9vp2EZ.js";
|
|
42
42
|
import { t as tn } from "./text-field-BAdY-kpO.js";
|
|
43
43
|
import { r as nn } from "./use-csp-nonce-ZKs9k-ov.js";
|
|
44
|
-
import { t as rn } from "./empty-state-
|
|
44
|
+
import { t as rn } from "./empty-state-sRVjgCis.js";
|
|
45
45
|
import { t as an } from "./skeleton-DSdtr2qc.js";
|
|
46
|
-
import { l as on, n as sn, o as cn, r as ln, s as un, t as dn, u as fn } from "./dialog-
|
|
47
|
-
import { t as pn } from "./icon-badge-
|
|
46
|
+
import { l as on, n as sn, o as cn, r as ln, s as un, t as dn, u as fn } from "./dialog-H40HjqXN.js";
|
|
47
|
+
import { t as pn } from "./icon-badge-CXgvqMsM.js";
|
|
48
48
|
import { H as mn, V as hn, X as gn, bt as _n, it as vn, lt as yn, n as bn, t as xn, xt as Sn, yt as Cn } from "./dist-moutbfbd.js";
|
|
49
49
|
import { t as wn } from "./markdown-Dw_uH7j7.js";
|
|
50
50
|
import { r as Tn, t as En } from "./create-store-Dqp-PLLn.js";
|
|
@@ -11180,7 +11180,7 @@ var eS = (e = {}) => Tn({
|
|
|
11180
11180
|
let [{ default: t }, { lowlight: n }, { richCodeBlock: r }] = await Promise.all([
|
|
11181
11181
|
import("./dist-CRMFGjng.js"),
|
|
11182
11182
|
import("./lowlight-OtcjU2Sa.js"),
|
|
11183
|
-
import("./rich-code-block-
|
|
11183
|
+
import("./rich-code-block-DKJ8eKzL.js")
|
|
11184
11184
|
]);
|
|
11185
11185
|
return [r(t, {
|
|
11186
11186
|
lowlight: n,
|
|
@@ -23886,4 +23886,4 @@ function PL({ value: e, onSend: t, placeholder: n, disabled: r, isLoading: i, se
|
|
|
23886
23886
|
};
|
|
23887
23887
|
}
|
|
23888
23888
|
//#endregion
|
|
23889
|
-
export { rP as $,
|
|
23889
|
+
export { rP as $, bv as $n, yg as $r, PT as $t, zF as A, Ul as Ai, mb as An, x_ as Ar, dk as At, dF as B, Ps as Bi, Hy as Bn, r_ as Br, xD as Bt, GI as C, J as Ci, $b as Cn, M_ as Cr, Zk as Ct, rI as D, Yl as Di, gb as Dn, k_ as Dr, Ok as Dt, oI as E, Zl as Ei, xb as En, E_ as Er, Mk as Et, bF as F, Sl as Fi, Jy as Fn, u_ as Fr, AD as Ft, jP as G, oy as Gn, Qg as Gr, jE as Gt, oF as H, Cs as Hi, My as Hn, t_ as Hr, RE as Ht, _F as I, xl as Ii, Wy as In, d_ as Ir, ED as It, EP as J, wv as Jn, Wg as Jr, fE as Jt, AP as K, Qv as Kn, Jg as Kr, mE as Kt, hF as L, bl as Li, qy as Ln, l_ as Lr, DD as Lt, SF as M, Fl as Mi, Zy as Mn, S_ as Mr, zO as Mt, CF as N, Pl as Ni, Xy as Nn, v_ as Nr, kD as Nt, JF as O, ql as Oi, pb as On, C_ as Or, Tk as Ot, yF as P, Nl as Pi, Yy as Pn, g_ as Pr, jD as Pt, uP as Q, Sv as Qn, Sg as Qr, FT as Qt, fF as R, Hs as Ri, Gy as Rn, c_ as Rr, OD as Rt, qI as S, Xu as Si, nx as Sn, z_ as Sr, Qk as St, uI as T, eu as Ti, Pb as Tn, A_ as Tr, Ik as Tt, cF as U, gs as Ui, Ay as Un, e_ as Ur, FE as Ut, lF as V, zs as Vi, Vy as Vn, n_ as Vr, yD as Vt, sF as W, _s as Wi, ty as Wn, $g as Wr, PE as Wt, xP as X, Cv as Xn, zg as Xr, $ as Xt, SP as Y, Tv as Yn, Vg as Yr, dE as Yt, vP as Z, kv as Zn, Tg as Zr, IT as Zt, gL as _, Bf as _i, Kx as _n, F_ as _r, uA as _t, AL as a, ag as ai, LC as an, dv as ar, kj as at, sL as b, Rd as bi, px as bn, R_ as br, iA as bt, DL as c, Yh as ci, AC as cn, sv as cr, gj as ct, wL as d, Mh as di, vC as dn, q_ as dr, sj as dt, vg as ei, NT as en, gv as er, QN as et, SL as f, Z as fi, gC as fn, J_ as fr, tj as ft, bL as g, X as gi, Qx as gn, L_ as gr, hA as gt, xL as h, Qm as hi, eS as hn, B_ as hr, _A as ht, ML as i, lg as ii, UC as in, uv as ir, Aj as it, OF as j, Hl as ji, ob as jn, b_ as jr, $O as jt, GF as k, Wl as ki, hb as kn, T_ as kr, mk as kt, EL as l, Bh as li, DC as ln, av as lr, hj as lt, yL as m, dh as mi, dC as mn, K_ as mr, FA as mt, PL as n, fg as ni, AT as nn, mv as nr, sM as nt, kL as o, ng as oi, MC as on, fv as or, Oj as ot, vL as p, ph as pi, fC as pn, G_ as pr, ZA as pt, DP as q, Yv as qn, Gg as qr, pE as qt, jL as r, dg as ri, kT as rn, hv as rr, Bj as rt, OL as s, eg as si, jC as sn, ov as sr, Dj as st, NL as t, mg as ti, jT as tn, vv as tr, cM as tt, TL as u, Fh as ui, wC as un, Y_ as ur, fj as ut, _L as v, Vf as vi, Sx as vn, P_ as vr, lA as vt, WI as w, q as wi, Wb as wn, j_ as wr, Hk as wt, QI as x, ld as xi, ux as xn, N_ as xr, tA as xt, hL as y, Jd as yi, xx as yn, I_ as yr, cA as yt, uF as z, Is as zi, Ky as zn, a_ as zr, TD as zt };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { a as t, c as n, d as r, i, n as a, r as o, t as s, u as c } from "./alert-dialog-
|
|
3
|
-
import { a as l } from "./button-
|
|
4
|
-
import { i as u } from "./translate-material-
|
|
5
|
-
import { t as d } from "./use-material-translation-
|
|
2
|
+
import { a as t, c as n, d as r, i, n as a, r as o, t as s, u as c } from "./alert-dialog-BaqK-rmd.js";
|
|
3
|
+
import { a as l } from "./button-CozGHXAv.js";
|
|
4
|
+
import { i as u } from "./translate-material-DlMetRSJ.js";
|
|
5
|
+
import { t as d } from "./use-material-translation-Cx5u36V5.js";
|
|
6
6
|
import { _ as f, g as p, h as m, t as h, v as g, y as _ } from "./date.utils-JTEIo3mM.js";
|
|
7
7
|
import { useCallback as v, useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
8
8
|
import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, r as t } from "./dist-DVRQkaTK.js";
|
|
2
2
|
import { i as n, n as r, r as i, t as a } from "./dist-DWZXlCZR.js";
|
|
3
|
-
import { C as o, S as s, x as c } from "./spinner-
|
|
3
|
+
import { C as o, S as s, x as c } from "./spinner-D7ol2n_-.js";
|
|
4
4
|
import { a as l, i as u, r as d } from "./dist-DHdUUM1w.js";
|
|
5
5
|
import { c as f, i as p, l as m, o as h, r as g, s as ee } from "./in-dialog-D61Yeaol.js";
|
|
6
6
|
import { r as te } from "./escape-owner-DpaP0lm1.js";
|
package/docs/README.md
CHANGED
|
@@ -13,6 +13,7 @@ detail: every option, the second example, and the traps.
|
|
|
13
13
|
| [Calculator](guides/calculator.md) | You add an exact-decimal calculator with `@nxgt/material/calculator` (and `CalculatorField` with `@nxgt/material/calculator-field`): `Calculator`, the keyboard, the tape and memory, copy and paste, what is stored, feedback, sizing and accessibility |
|
|
14
14
|
| [Charts](guides/charts.md) | You draw charts with `@nxgt/material/charts`: each chart, the shared props, reference bands, thresholds and point tones, zoom and phone scroll, the keyboard, accessibility, theming the `--chart-1..5` tokens, and moving off the Nivo charts, removed in 3.0 |
|
|
15
15
|
| [Cards and tiles](guides/cards-and-tiles.md) | You want a `DataTable` as a list of cards or tiles: `layout`, `renderCard`, `renderTile`, the card's one link, selection, the sort control, columns by the list's width |
|
|
16
|
+
| [EventCalendar](guides/event-calendar.md) | You mark periods with `spans`, label days and weeks with `dayBadges` and `weekBadges`, colour events with `tone`, cancel them with `status`, or make them read-only with `readOnlyEvents` |
|
|
16
17
|
| [DataGrid](guides/data-grid.md) | You are building an editable grid: columns and editors, save modes and conflicts, resizing, hiding and reordering columns, paste, fill and series, undo, totals, long lists, phones, custom editors, CSP |
|
|
17
18
|
| [Code editor](guides/code-editor.md) | You want `CodeEditor` or `CodeDiff` in a theme preset or your own (`defineCodeTheme`), several themes on one page, Monaco bundled instead of the CDN, or the new `@nxgt/material/code-editor` import (the reader look, the view props, the `ref` handle and the file tabs are in the component's own page) |
|
|
18
19
|
| [i18n](guides/i18n.md) | You want the components in French, your own strings typed, or translated Zod messages |
|
|
@@ -1053,12 +1053,12 @@ import { Badge, EntityHeader } from '@nxgt/material/components';
|
|
|
1053
1053
|
| `headingLevel` | `1 \| 2 \| 3` | `1` | the title's heading level: pass `2` or `3` when the page already has its `h1` (a list title beside a detail header); the look does not change |
|
|
1054
1054
|
| `icon`, `status` | `ReactNode` | — | before and after the title; `icon` is decoration, shown in an `aria-hidden` badge, so put nothing meaningful or focusable there; for a control, use `leading` |
|
|
1055
1055
|
| `leading` | `ReactNode` | — | an interactive control at the band's start, such as a [Switcher](selection-and-choice.md#switcher) of either variant: drawn as it is, at its natural size (at most 18rem wide beside the title, from a 384px band; narrower, it takes the band's width), in the accessibility tree, with no badge and no `aria-hidden`; on a phone it takes the band's width above the title. **It replaces `icon` when both are given** (a development warning says so). Root `data-slot="entity-header-leading"` |
|
|
1056
|
-
| `metadata` | `{ label: string; value: ReactNode }[]` | `[]` | facts under the title, a description list: a muted label
|
|
1056
|
+
| `metadata` | `{ label: string; value: ReactNode }[]` | `[]` | facts under the title, a description list laid out as a grid of equal columns (as many as the width allows, one per 9.5rem at least): a small muted label above its value, no colon, a long value wraps inside its column; a link or a text button in a value keeps the text's height (its own `min-h-11` is dropped; on a touch pointer its 44px tap target is a hit area that adds no height), and a link in a value is drawn in the primary text colour (`text-primary-text`), not the prose link's info blue, and `nxgt-plain-link` still opts out |
|
|
1057
1057
|
| `stats` | `EntityStat[]` | `[]` | figures (counts, a mean) as compact `size="sm"` [StatCard](#statcard) tiles in a `StatCardGroup` (2×2 on a phone, a wrapping row beside) under the metadata; a `tone` paints a tile, `0` is a figure, an empty value drops the tile (see Stats below) |
|
|
1058
1058
|
| `actions` | `ResponsiveButtonProps[] \| ReactNode` | `[]` | an array becomes responsive buttons (icon-only on phones) |
|
|
1059
1059
|
| `surface` | `'card' \| 'none'` | `'card'` | `'none'` draws the header flat (no background, padding or shadow) for a header that sits directly on a page band or inside a surface of its own, so surfaces do not nest; the layout is unchanged |
|
|
1060
1060
|
|
|
1061
|
-
The root carries `data-slot="entity-header"`; the metadata is a `dl` with `data-slot="entity-metadata"` (a muted `dt` label
|
|
1061
|
+
The root carries `data-slot="entity-header"`; the metadata is a `dl` with `data-slot="entity-metadata"` (a muted `dt` label above its `dd` value in a grid cell, no colon), and the actions sit in `data-slot="entity-header-actions"` (absent when there are none). Inside an EntityHeader that replaces the old `summary-data` slot and its `Label:` text, so update a selector or a test that read "Label: value".
|
|
1062
1062
|
|
|
1063
1063
|
**Flat, on a page band.** `surface="none"` drops the header's own card; `className` still merges.
|
|
1064
1064
|
|
|
@@ -1607,9 +1607,14 @@ import { EventChip } from '@nxgt/material/components';
|
|
|
1607
1607
|
| `compact` | `boolean` | `false` | one line, the time before the title, for month cells |
|
|
1608
1608
|
| `continuesBefore`, `continuesAfter` | `boolean` | `false` | square edges for a multi-day event |
|
|
1609
1609
|
| `badge` | `{ label: string; tone?: Tone }` | — | a small tinted label after the title (neutral without a `tone`); cut with an ellipsis; in a box under 20px tall or 7rem wide it becomes a tone dot (its tooltip is the label) while the label stays in the chip's accessible name. `EventCalendar` sets it from `CalendarEvent.badge` |
|
|
1610
|
+
| `badges` | `{ label: string; tone?: Tone }[]` | — | further badges after `badge`, each with the same pill and tone-dot behaviour and each in the accessible name. `EventCalendar` sets it from `CalendarEvent.badges` |
|
|
1611
|
+
| `tone` | `Tone` | — | draws the chip in a tone of the library (or one your app declared) when it sets no `color`; a `color` wins |
|
|
1612
|
+
| `cancelled` | `boolean` | `false` | a muted chip with a dashed outline, the title struck through (`<del>`) and "Cancelled" in its accessible name (`material.event-chip.cancelled`, English and French) |
|
|
1610
1613
|
| `selected`, `disabled` | `boolean` | `false` | state |
|
|
1611
1614
|
|
|
1612
|
-
|
|
1615
|
+
The colour shows as a thin accent bar inset from the chip's edges (never a border of the chip); a cancelled chip fades it.
|
|
1616
|
+
|
|
1617
|
+
**Storybook:** `Data display/EventChip` · **Vue:** `EventChip` (`variant`, `endTime`: React only for now, #892; `badge`, `badges`, `tone`, `cancelled`: #2526, #2662)
|
|
1613
1618
|
|
|
1614
1619
|
---
|
|
1615
1620
|
|
|
@@ -1691,10 +1696,11 @@ The full `Markdown` (maths, diagrams and highlighted code) runs under a strict
|
|
|
1691
1696
|
nonce CSP with no `unsafe-inline`, no `unsafe-eval`, no `style-src-attr` and no
|
|
1692
1697
|
`img-src data:` (`img-src blob:` for the diagrams): wrap the app in `NonceProvider` and see the
|
|
1693
1698
|
[CSP guide](../guides/csp.md#markdown-katex-mermaid-and-code-under-a-strict-csp)
|
|
1694
|
-
(`Data display/Markdown > StrictCsp` plays it under that policy).
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1699
|
+
(`Data display/Markdown > StrictCsp` plays it under that policy). Server-rendered
|
|
1700
|
+
math included: KaTeX's inline `style` attributes become classes plus one
|
|
1701
|
+
`<style>` that takes the `NonceProvider` nonce, so math needs `NonceProvider`
|
|
1702
|
+
under a nonce policy. One thing is left: mermaid's mindmap and architecture
|
|
1703
|
+
diagrams add an un-nonced `<style>` to `<head>`. `math={false}` and
|
|
1698
1704
|
`mermaid={false}` stay for a restricted GFM-only mode.
|
|
1699
1705
|
|
|
1700
1706
|
Mermaid diagrams render in the browser only, after mount; on the server the
|
|
@@ -1727,6 +1727,9 @@ items go last under "No date". Pass `now` and `timeZone` from the server so the
|
|
|
1727
1727
|
headings match on hydration; an unknown `timeZone` falls back to the runtime's
|
|
1728
1728
|
with a warning in development. The split is also plain data:
|
|
1729
1729
|
`groupByDate` (re-exported by `@nxgt/material/components`, beside `groupByDay`).
|
|
1730
|
+
`useDayGroups({ items, getDate, … })` (options type `DayGroupsOptions`) returns the
|
|
1731
|
+
resolved groups (`ResolvedDayGroup[]`, each with its heading) for a custom layout,
|
|
1732
|
+
and `DAY_GROUP_ORDER` is the order of the buckets.
|
|
1730
1733
|
`calendarDateOf`, `formatCalendarDate` and `isValidTimeZone` are in
|
|
1731
1734
|
`@nxgt/material-core/day-math`.
|
|
1732
1735
|
|