@nxgt/material 3.103.0 → 3.105.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 +50 -0
- package/README.md +5 -3
- package/dist/{alert-dialog-NFyAiSqc.js → alert-dialog-CK_47jfm.js} +1 -1
- package/dist/{async-slice-D35bX79S.js → async-slice-1ZNMiwyJ.js} +1 -1
- package/dist/{button-Be7GZzF9.js → button-YfEMZbRO.js} +1 -1
- package/dist/{calculator-BGy1Q7rn.js → calculator-BmYZId4c.js} +11 -11
- package/dist/calculator-field.js +6 -6
- package/dist/{calculator-segment-uixk6lBg.js → calculator-segment-DJ08DJ-n.js} +1 -1
- package/dist/calculator.js +1 -1
- package/dist/charts.js +819 -764
- package/dist/{chip-3rWebZEM.js → chip-DPj6e-3v.js} +2 -2
- package/dist/{code-editor-BqSVMfy-.js → code-editor-CZg3nLZO.js} +4 -4
- package/dist/code-editor.js +4 -4
- package/dist/{code-language-items-Cf2LJVg2.js → code-language-items-Nq1iOGId.js} +2 -2
- package/dist/components/ui/display/chip/chip-soft.css +27 -2
- package/dist/components/ui/primitives/collapsible/collapsible.css +9 -0
- package/dist/{components-D2liJ9Yu.js → components-Cn14BksP.js} +16922 -16630
- package/dist/components.js +38 -38
- package/dist/{conversion-variant-clFZ6ZMJ.js → conversion-variant-C-LPx5ek.js} +4 -4
- package/dist/{currency-field-CBFEVNM1.js → currency-field-DnsRIA80.js} +4 -4
- package/dist/{dialog-CrIIINTk.js → dialog-BKBsDGFc.js} +3 -3
- package/dist/dnd.js +1 -1
- package/dist/{dropdown-menu-BnfLWu8n.js → dropdown-menu-QMDbRidH.js} +1 -1
- package/dist/editor.js +8 -8
- package/dist/{empty-state-CuUaCPY7.js → empty-state-BLIJ6znY.js} +1 -1
- package/dist/{financial-variant-BY_VCUuk.js → financial-variant-Ws0Jp01H.js} +5 -5
- package/dist/{hooks-hHoZbL-4.js → hooks-C3vkQmzh.js} +2 -2
- package/dist/hooks.js +2 -2
- package/dist/{hover-card-Do2-uzlF.js → hover-card-Df649U6I.js} +1 -1
- package/dist/i18n.js +3 -3
- package/dist/{icon-badge-CHaVNEmb.js → icon-badge-Cma1qOOJ.js} +1 -1
- package/dist/{icon-button-BIAubLeJ.js → icon-button-CpKxV264.js} +1 -1
- package/dist/keypad.js +3 -3
- package/dist/lib/components/ui/actions/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/product-tile/index.d.ts +1 -0
- package/dist/lib/components/ui/actions/product-tile/product-tile-link.d.ts +16 -0
- package/dist/lib/components/ui/actions/product-tile/product-tile.d.ts +41 -0
- package/dist/lib/components/ui/collections/data-table/data-table-density.d.ts +1 -1
- package/dist/lib/components/ui/collections/data-table/partials/data-table-scroll-region.d.ts +4 -1
- package/dist/lib/components/ui/collections/data-table/partials/layouts/data-table-list-bar.d.ts +6 -3
- package/dist/lib/components/ui/collections/data-table/partials/layouts/list-bar-in-row.d.ts +2 -1
- package/dist/lib/components/ui/collections/data-table/types.d.ts +11 -8
- package/dist/lib/components/ui/collections/data-table/virtual-option.d.ts +9 -3
- package/dist/lib/components/ui/collections/filter/use-filter-field-config.d.ts +2 -0
- package/dist/lib/components/ui/collections/server-table/partials/server-table-passed-through.d.ts +1 -0
- package/dist/lib/components/ui/collections/server-table/types.d.ts +1 -1
- package/dist/lib/components/ui/display/chip/chip.variants.d.ts +5 -4
- 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/quantity-field/types.d.ts +1 -1
- package/dist/lib/components/ui/fields/quantity-stepper/index.d.ts +2 -0
- package/dist/lib/components/ui/fields/quantity-stepper/quantity-stepper-model.d.ts +9 -0
- package/dist/lib/components/ui/fields/quantity-stepper/quantity-stepper-value.d.ts +15 -0
- package/dist/lib/components/ui/fields/quantity-stepper/quantity-stepper.d.ts +9 -0
- package/dist/lib/components/ui/fields/quantity-stepper/quantity-stepper.types.d.ts +35 -0
- package/dist/lib/components/ui/fields/quantity-stepper/use-quantity-stepper.d.ts +28 -0
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-entries.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/app-sidebar-group.d.ts +8 -3
- package/dist/lib/components/ui/layout/app-shell/app-sidebar.d.ts +3 -1
- package/dist/lib/components/ui/layout/app-shell/types.d.ts +15 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout-phone-frames.d.ts +20 -0
- package/dist/lib/components/ui/layout/pane-layout/pane-layout.d.ts +8 -3
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-classes.d.ts +2 -2
- package/dist/lib/components/ui/layout/pane-layout/partials/pane-layout-context.d.ts +9 -0
- package/dist/lib/components/ui/layout/pane-layout/partials/use-pane-layout-state.d.ts +7 -2
- package/dist/lib/components/ui/layout/panel-card/panel-card.d.ts +3 -1
- package/dist/lib/components/ui/primitives/collapsible/collapsible.d.ts +9 -1
- package/dist/lib/components/ui/primitives/tabs/partials/tabs-list.d.ts +6 -1
- package/dist/lib/components/ui/primitives/tabs/tabs-classes.d.ts +1 -0
- package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.d.ts +8 -0
- package/dist/lib/components/ui/selection/chip-group-field/chip-group-field.types.d.ts +6 -0
- package/dist/lib/components/ui/selection/chip-group-field/partials/chip-group-reasons.d.ts +10 -0
- package/dist/lib/components/ui/selection/chip-group-field/partials/use-chip-rail.d.ts +12 -0
- package/dist/lib/components/ui/selection/choice-group/choice-group-root.d.ts +5 -2
- package/dist/lib/components/ui/widgets/native-charts/core/label-placement.d.ts +25 -0
- package/dist/lib/components/ui/widgets/native-charts/core/reference-geometry.d.ts +3 -2
- package/dist/lib/i18n/resources/en/en.d.ts +3 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/fr/fr.d.ts +3 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +4 -1
- package/dist/lib/i18n/resources/resources.d.ts +6 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/print/output/csv.d.ts +37 -0
- package/dist/lib/print/output/index.d.ts +1 -0
- package/dist/lib.js +1 -1
- package/dist/main.js +54 -54
- package/dist/map.js +8 -8
- package/dist/material.css +1 -1
- package/dist/pdf-reader.js +1 -1
- package/dist/{percent-field-DU8eIMD3.js → percent-field-sAq7BaxN.js} +2 -2
- package/dist/{picker-surface-XmA--JVI.js → picker-surface--6E-nvpU.js} +4 -4
- package/dist/{popover-D8iHiAbl.js → popover-bEB8I_-w.js} +1 -1
- package/dist/{pos-types-BEAY27Rm.js → pos-types-Cpdc4E33.js} +1 -1
- package/dist/{pos-variant-ClGI92Lt.js → pos-variant-ClMGu59I.js} +5 -5
- package/dist/print.js +146 -127
- package/dist/{programmer-variant-Boq2O8hB.js → programmer-variant-ChzgyA7x.js} +2 -2
- package/dist/{public-DOrXKmcL.js → public-BY8N5NDT.js} +9 -9
- package/dist/{rich-code-block-Djj2XE_u.js → rich-code-block-D2GiWuqD.js} +5 -5
- package/dist/{scientific-variant-BzF_aMQP.js → scientific-variant-31_93gcZ.js} +2 -2
- package/dist/{sortable-provider-DCZjsIIH.js → sortable-provider-DGiVn72t.js} +2 -2
- package/dist/{spinner-Cg0y_E_K.js → spinner-CEVomQ5K.js} +1 -1
- package/dist/{tabs-DpessV5s.js → tabs-B8MXBbPW.js} +14 -14
- package/dist/{text-field-Dxk9lAKM.js → text-field-DN88qD0Q.js} +1 -1
- package/dist/theme-picker.js +2 -2
- package/dist/{theme-toggle-B6Jl5Kfn.js → theme-toggle-C7pnu1Xh.js} +1 -1
- package/dist/{toolbar-items-Cs1XrZsH.js → toolbar-items-BDfoh8QB.js} +4 -4
- package/dist/{translate-material-Du0j0t97.js → translate-material-s_lxIV43.js} +1 -1
- package/dist/{translator-BVs4n0Fz.js → translator-Cgql9srO.js} +4 -2
- package/dist/{use-calculator-keyboard-BZ1CA4Ut.js → use-calculator-keyboard-DysnFK8m.js} +1 -1
- package/dist/{use-chat-composer-B4m3OEm1.js → use-chat-composer-xCcp9fVc.js} +2050 -1996
- package/dist/{use-heading-spy-CO3_AtY9.js → use-heading-spy-FIZlf9qj.js} +4 -4
- package/dist/{use-material-translation-uNc1FyC8.js → use-material-translation-xNzbSVgS.js} +1 -1
- package/dist/{use-return-focus-AfLRrUm-.js → use-return-focus-CW9KkDkp.js} +1 -1
- package/docs/README.md +1 -1
- package/docs/components/README.md +1 -0
- package/docs/components/buttons-and-actions.md +47 -0
- package/docs/components/data-display.md +2 -2
- package/docs/components/data-table-filter-and-lists.md +19 -6
- package/docs/components/form-fields.md +60 -7
- package/docs/components/navigation-and-layout.md +21 -3
- package/docs/components/primitives.md +44 -2
- package/docs/components/selection-and-choice.md +56 -1
- package/docs/guides/app-shell.md +22 -2
- package/docs/guides/cards-and-tiles.md +10 -0
- package/docs/guides/csp.md +4 -3
- package/docs/guides/data-grid.md +5 -4
- package/docs/guides/field-look-refined.md +2 -2
- package/docs/guides/keypad.md +9 -1
- package/docs/guides/printing.md +51 -1
- package/docs/previews/buttons-actions-producttile.webp +0 -0
- package/docs/previews/form-fields-quantitystepper.webp +0 -0
- package/docs/previews/navigation-layout-panelcard.webp +0 -0
- package/docs/roadmap.md +10 -10
- package/docs/troubleshooting.md +5 -4
- package/lib/components/ui/display/chip/chip-soft.css +27 -2
- package/lib/components/ui/primitives/collapsible/collapsible.css +9 -0
- package/lib/components/ui/widgets/calculator/calculator-keys.css +3 -0
- package/lib/components/ui/widgets/calculator/calculator.css +38 -7
- package/package.json +1 -1
|
@@ -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-xNzbSVgS.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-xNzbSVgS.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";
|
|
@@ -389,23 +389,23 @@ function $({ list: e, overflow: t }) {
|
|
|
389
389
|
}
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region lib/components/ui/primitives/tabs/partials/tabs-list.tsx
|
|
392
|
-
function Ne({ scrollButtons: n = "auto",
|
|
393
|
-
let
|
|
392
|
+
function Ne({ scrollButtons: n = "auto", fullWidth: r = !1, className: i, children: a, ref: o, ...s }) {
|
|
393
|
+
let c = n !== "none", l = B(), u = v(null), d = Z(u);
|
|
394
394
|
return /* @__PURE__ */ b(ne, { children: [/* @__PURE__ */ b(ge, {
|
|
395
395
|
ref: h((e) => {
|
|
396
|
-
|
|
397
|
-
}, [
|
|
396
|
+
u.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
|
|
397
|
+
}, [o]),
|
|
398
398
|
"data-slot": "tabs-list",
|
|
399
399
|
"data-pw": "tabs-list",
|
|
400
|
-
"data-scroll-buttons":
|
|
401
|
-
"data-overflow-left":
|
|
402
|
-
"data-overflow-right":
|
|
403
|
-
className: e(A[
|
|
404
|
-
...
|
|
405
|
-
children: [/* @__PURE__ */ y(t, { children:
|
|
406
|
-
}),
|
|
407
|
-
list:
|
|
408
|
-
overflow:
|
|
400
|
+
"data-scroll-buttons": c ? void 0 : "none",
|
|
401
|
+
"data-overflow-left": d.left ? "" : void 0,
|
|
402
|
+
"data-overflow-right": d.right ? "" : void 0,
|
|
403
|
+
className: e(A[l], r && l === "segmented" && "w-full [&>[role=tab]]:flex-1 [&>[role=tab]]:basis-0", c ? I : R, i),
|
|
404
|
+
...s,
|
|
405
|
+
children: [/* @__PURE__ */ y(t, { children: a }), /* @__PURE__ */ y(Q, { look: l })]
|
|
406
|
+
}), c && /* @__PURE__ */ y($, {
|
|
407
|
+
list: u,
|
|
408
|
+
overflow: d
|
|
409
409
|
})] });
|
|
410
410
|
}
|
|
411
411
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
2
|
import { t } from "./label-DR-zZyGQ.js";
|
|
3
3
|
import { t as n } from "./dist-DkQbkF9T.js";
|
|
4
|
-
import { t as r } from "./icon-button-
|
|
4
|
+
import { t as r } from "./icon-button-CpKxV264.js";
|
|
5
5
|
import { i, n as a } from "./field-blur-context-3rKussBQ.js";
|
|
6
6
|
import { t as o } from "./compose-refs-G4J4kaUA.js";
|
|
7
7
|
import { a as s, o as c, t as l } from "./input-CC2joTjB.js";
|
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, n, o as r, r as i, s as a, t as o } from "./bubble-input-BxI1WmNs.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-xNzbSVgS.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-C7pnu1Xh.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-xNzbSVgS.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-CEVomQ5K.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-QMDbRidH.js";
|
|
9
|
+
import { a as te, n as ne } from "./popover-bEB8I_-w.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-xNzbSVgS.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-Cgql9srO.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
|
|
@@ -1336,6 +1336,7 @@ var r = {
|
|
|
1336
1336
|
"unit-named": "{label} unit",
|
|
1337
1337
|
"use-typed": "Use “{unit}”"
|
|
1338
1338
|
},
|
|
1339
|
+
"quantity-stepper": { remove: "Remove {label}" },
|
|
1339
1340
|
"markdown-textarea-field": {
|
|
1340
1341
|
write: "Write",
|
|
1341
1342
|
preview: "Preview",
|
|
@@ -3137,7 +3138,7 @@ var r = {
|
|
|
3137
3138
|
modulo: "Modulo",
|
|
3138
3139
|
separator: "Argument separator",
|
|
3139
3140
|
answer: "Previous answer",
|
|
3140
|
-
"double-zero": "
|
|
3141
|
+
"double-zero": "00, double zero",
|
|
3141
3142
|
quantity: "Enter a quantity",
|
|
3142
3143
|
discount: "Enter a discount",
|
|
3143
3144
|
"add-line": "Add to ticket",
|
|
@@ -4885,6 +4886,7 @@ var r = {
|
|
|
4885
4886
|
"unit-named": "Unité de {label}",
|
|
4886
4887
|
"use-typed": "Utiliser « {unit} »"
|
|
4887
4888
|
},
|
|
4889
|
+
"quantity-stepper": { remove: "Retirer {label}" },
|
|
4888
4890
|
"markdown-textarea-field": {
|
|
4889
4891
|
write: "Écrire",
|
|
4890
4892
|
preview: "Aperçu",
|
|
@@ -6686,7 +6688,7 @@ var r = {
|
|
|
6686
6688
|
modulo: "Modulo",
|
|
6687
6689
|
separator: "Séparateur d’arguments",
|
|
6688
6690
|
answer: "Dernier résultat",
|
|
6689
|
-
"double-zero": "
|
|
6691
|
+
"double-zero": "00, double zéro",
|
|
6690
6692
|
quantity: "Saisir une quantité",
|
|
6691
6693
|
discount: "Saisir une remise",
|
|
6692
6694
|
"add-line": "Ajouter au ticket",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./utils-BLfntITJ.js";
|
|
2
|
-
import { t } from "./use-material-translation-
|
|
2
|
+
import { t } from "./use-material-translation-xNzbSVgS.js";
|
|
3
3
|
import { t as n } from "./useEvent-2fKq-6w8.js";
|
|
4
4
|
import { t as r } from "./useLatest-C2PnQEeD.js";
|
|
5
5
|
import { useCallback as i, useMemo as a, useRef as o, useState as s } from "react";
|