@nxgt/material 3.48.0 → 3.50.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 (120) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/README.md +3 -3
  3. package/dist/{async-slice-DlvKCKAa.js → async-slice-3loEtzUY.js} +2 -2
  4. package/dist/{button-yaltbQmC.js → button-BRUaHD8z.js} +81 -112
  5. package/dist/charts.js +144 -144
  6. package/dist/{chip-BqWbbr1b.js → chip-DneTrtNj.js} +56 -56
  7. package/dist/{code-editor-C9qBNoYb.js → code-editor-R_nPN_-d.js} +308 -308
  8. package/dist/code-editor.js +47 -47
  9. package/dist/{code-language-items-DAHtfQ7W.js → code-language-items-BKEUhQlF.js} +2 -2
  10. package/dist/components/components.css +1 -0
  11. package/dist/components/ui/actions/action-card/action-card-indicator.css +48 -0
  12. package/dist/components/ui/actions/action-card/action-card-modes.css +4 -1
  13. package/dist/components/ui/actions/action-card/action-card-tile.css +141 -0
  14. package/dist/components/ui/actions/action-card/action-card.css +33 -3
  15. package/dist/{components-Ox6FHmpx.js → components-D6xFLcoE.js} +17646 -17567
  16. package/dist/components.js +26 -27
  17. package/dist/{dialog-CCCcnTIx.js → dialog-S7dLsYRZ.js} +16 -16
  18. package/dist/dnd.js +1 -1
  19. package/dist/{dropdown-menu-Df8785nt.js → dropdown-menu-XLlxfDgq.js} +271 -272
  20. package/dist/editor.js +1028 -1028
  21. package/dist/{empty-state-DcF4TBzi.js → empty-state-Dsf6R-Zo.js} +37 -37
  22. package/dist/{escape-owner-C4W_sOAU.js → escape-owner-B9eCwjLw.js} +1 -1
  23. package/dist/{field-blur-CJHzVSh9.js → field-blur-5uRDFHvB.js} +1 -1
  24. package/dist/{field-blur-context-Cft9s7Hg.js → field-blur-context-Cwt4TuBq.js} +1 -1
  25. package/dist/hooks.js +4 -4
  26. package/dist/{hover-card-C0fw2kLK.js → hover-card-PHUgRSjJ.js} +24 -24
  27. package/dist/{i18n-provider-C0fB0sEL.js → i18n-provider-DPM_ALQ4.js} +1 -1
  28. package/dist/i18n.js +5 -5
  29. package/dist/{icon-badge-aJ22mKGh.js → icon-badge-Dh6-FNOF.js} +3 -3
  30. package/dist/{icon-button-CN9r5TNE.js → icon-button-DSC2-IAG.js} +118 -86
  31. package/dist/lib/components/ui/actions/action-card/action-card-semantics.d.ts +25 -2
  32. package/dist/lib/components/ui/actions/action-card/action-card.d.ts +18 -2
  33. package/dist/lib/components/ui/actions/action-card/partials/action-card-icon.d.ts +6 -0
  34. package/dist/lib/components/ui/actions/action-card/partials/action-card-meta.d.ts +15 -0
  35. package/dist/lib/components/ui/actions/action-card/partials/action-card-status.d.ts +6 -0
  36. package/dist/lib/components/ui/actions/action-card/partials/action-card-text.d.ts +20 -0
  37. package/dist/lib/components/ui/actions/action-card/partials/action-card-title-button.d.ts +14 -0
  38. package/dist/lib/components/ui/actions/action-card/partials/action-card-trail.d.ts +6 -0
  39. package/dist/lib/components/ui/actions/action-card/use-action-card-names.d.ts +22 -0
  40. package/dist/lib/components/ui/actions/action-card/use-reveal.d.ts +23 -0
  41. package/dist/lib/components/ui/actions/button/button.variants.d.ts +1 -1
  42. package/dist/lib/components/ui/actions/icon-button/icon-button-busy.d.ts +22 -0
  43. package/dist/lib/components/ui/actions/icon-button/icon-button-shape.d.ts +2 -0
  44. package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +7 -0
  45. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +1 -1
  46. package/dist/lib/components/ui/collections/filter/bar/partials/filter-quick-toggle.d.ts +3 -2
  47. package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +7 -1
  48. package/dist/lib/components/ui/collections/page-footer/page-footer.d.ts +6 -1
  49. package/dist/lib/components/ui/collections/row-menu/row-menu-trigger.d.ts +5 -2
  50. package/dist/lib/components/ui/collections/row-menu/row-menu.d.ts +1 -1
  51. package/dist/lib/components/ui/collections/server-table/index.d.ts +1 -1
  52. package/dist/lib/components/ui/collections/server-table/partials/server-table-empty-chips.d.ts +5 -3
  53. package/dist/lib/components/ui/collections/server-table/types-paging.d.ts +17 -0
  54. package/dist/lib/components/ui/collections/server-table/types.d.ts +3 -10
  55. package/dist/lib/components/ui/dates/duration-field/partials/use-duration-box.d.ts +1 -1
  56. package/dist/lib/components/ui/display/badge/badge.d.ts +1 -1
  57. package/dist/lib/components/ui/display/day-separator/day-separator.d.ts +1 -1
  58. package/dist/lib/components/ui/feedback/step-up-dialog/partials/step-up-body.d.ts +5 -3
  59. package/dist/lib/components/ui/feedback/step-up-dialog/partials/step-up-request-error.d.ts +15 -0
  60. package/dist/lib/components/ui/feedback/step-up-dialog/step-up-dialog.d.ts +6 -3
  61. package/dist/lib/components/ui/feedback/step-up-dialog/types.d.ts +12 -1
  62. package/dist/lib/components/ui/feedback/step-up-dialog/use-retry-focus.d.ts +27 -0
  63. package/dist/lib/components/ui/feedback/step-up-dialog/use-retry.d.ts +11 -0
  64. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  65. package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +20 -20
  66. package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +20 -20
  67. package/dist/lib/components/ui/fields/verification-code/use-settled-focus.d.ts +10 -0
  68. package/dist/lib/components/ui/layout/app-shell/route-transition.d.ts +1 -1
  69. package/dist/lib/components/ui/media/carousel/use-carousel-engine.d.ts +1 -1
  70. package/dist/lib/components/ui/media/media-player/engine/use-queue-actions.d.ts +1 -1
  71. package/dist/lib/components/ui/media/pdf-reader/pdf-reader.slice.d.ts +1 -1
  72. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +34 -34
  73. package/dist/lib/components/ui/widgets/chat/chat-message.variants.d.ts +2 -2
  74. package/dist/lib/components/ui/widgets/event-calendar/use-event-calendar.d.ts +1 -1
  75. package/dist/lib/i18n/resources/en/en.d.ts +1 -0
  76. package/dist/lib/i18n/resources/en/material.json.d.ts +2 -1
  77. package/dist/lib/i18n/resources/fr/fr.d.ts +1 -0
  78. package/dist/lib/i18n/resources/fr/material.json.d.ts +2 -1
  79. package/dist/lib/i18n/resources/resources.d.ts +2 -0
  80. package/dist/lib/i18n/translator.d.ts +1 -1
  81. package/dist/lib.js +1 -1
  82. package/dist/main.js +43 -44
  83. package/dist/map.js +79 -79
  84. package/dist/material.css +1 -1
  85. package/dist/nxgt-theme-ivgNca3z.js +37 -0
  86. package/dist/pdf-reader.js +1 -1
  87. package/dist/print.js +2 -2
  88. package/dist/{public-zVb_Nq_D.js → public-vxiijIJF.js} +82 -82
  89. package/dist/{rich-code-block-DMWZZJma.js → rich-code-block-BwvCXPqq.js} +52 -52
  90. package/dist/{sortable-provider-DstbgMVf.js → sortable-provider-D2pAFWQB.js} +218 -218
  91. package/dist/{tooltip-CkttDIab.js → spinner-BpVwI1ps.js} +503 -278
  92. package/dist/{stored-language-IaL1Ftn_.js → stored-language-Beyj2ult.js} +4 -2
  93. package/dist/theme-picker.js +45 -45
  94. package/dist/{theme-store-CSl51uNH.js → theme-store-BdPp43cV.js} +13 -13
  95. package/dist/{theme-toggle-CGW2_K54.js → theme-toggle-BTYRPkP4.js} +16 -16
  96. package/dist/themes.js +17 -17
  97. package/dist/{toggle-group-BMJNcFAC.js → toggle-group-BkH23Jk4.js} +11 -11
  98. package/dist/{toolbar-items-CsLGJMEJ.js → toolbar-items-CIMo4F9q.js} +421 -421
  99. package/dist/{translate-material-v9u-e7Kd.js → translate-material-DEUlaL_1.js} +2 -2
  100. package/dist/{translator-Dk4_qE6U.js → translator-CBgIb3zP.js} +1 -1
  101. package/dist/{use-chat-composer-Brcb5f7r.js → use-chat-composer-D8UAsX0f.js} +6228 -5999
  102. package/dist/{button-tones-BwuVvAmd.js → use-click-lock-BZYtTmVt.js} +37 -7
  103. package/dist/{use-heading-spy-DjKixjLm.js → use-heading-spy-C5LXtA8Z.js} +1 -1
  104. package/dist/{use-material-translation-DOkTaWK_.js → use-material-translation-DWWeeg-B.js} +2 -2
  105. package/dist/{use-theme-DMcyJ52N.js → use-theme-BCLireTd.js} +1 -1
  106. package/docs/components/buttons-and-actions.md +64 -5
  107. package/docs/components/data-table-filter-and-lists.md +30 -10
  108. package/docs/components/feedback-and-status.md +22 -3
  109. package/docs/components/form-fields.md +7 -0
  110. package/docs/guides/cards-and-tiles.md +60 -0
  111. package/docs/guides/server-lists-url.md +3 -2
  112. package/docs/roadmap.md +11 -0
  113. package/lib/components/components.css +1 -0
  114. package/lib/components/ui/actions/action-card/action-card-indicator.css +48 -0
  115. package/lib/components/ui/actions/action-card/action-card-modes.css +4 -1
  116. package/lib/components/ui/actions/action-card/action-card-tile.css +141 -0
  117. package/lib/components/ui/actions/action-card/action-card.css +33 -3
  118. package/package.json +1 -1
  119. package/dist/nxgt-theme-ZS945iMP.js +0 -37
  120. package/dist/spinner-C4CgDEYm.js +0 -229
@@ -1,35 +1,35 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { t } from "./use-material-translation-DOkTaWK_.js";
3
- import { i as n } from "./escape-owner-C4W_sOAU.js";
2
+ import { t } from "./use-material-translation-DWWeeg-B.js";
3
+ import { i as n } from "./escape-owner-B9eCwjLw.js";
4
4
  import { a as r, c as i, i as a, n as o, o as s, r as c, t as l, u } from "./state-scenes-BX03WmSu.js";
5
- import { AlertCircle as d, Construction as f, FileQuestion as p, PackageOpen as m, Search as h, ShieldAlert as g, WifiOff as _ } from "lucide-react";
6
- import { Suspense as v } from "react";
7
- import { jsx as y, jsxs as b } from "react/jsx-runtime";
5
+ import { Suspense as d } from "react";
6
+ import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
+ import { AlertCircle as m, Construction as h, FileQuestion as g, PackageOpen as _, Search as v, ShieldAlert as y, WifiOff as b } from "lucide-react";
8
8
  import { STATE_ACCENT as x, STATE_ICON as S, stateCopy as C } from "@nxgt/material-core/states";
9
9
  //#region lib/components/ui/feedback/state-frame/state-icon.tsx
10
10
  var w = {
11
- "package-open": m,
12
- search: h,
13
- "file-question": p,
14
- "shield-alert": g,
15
- "alert-circle": d,
16
- "wifi-off": _,
17
- construction: f
11
+ "package-open": _,
12
+ search: v,
13
+ "file-question": g,
14
+ "shield-alert": y,
15
+ "alert-circle": m,
16
+ "wifi-off": b,
17
+ construction: h
18
18
  };
19
19
  function T({ kind: e }) {
20
20
  let t = w[S[e]];
21
- return /* @__PURE__ */ y(t, { "aria-hidden": "true" });
21
+ return /* @__PURE__ */ f(t, { "aria-hidden": "true" });
22
22
  }
23
23
  //#endregion
24
24
  //#region lib/components/ui/feedback/state-frame/state-scene-illustration.tsx
25
25
  function E({ scene: e, size: t }) {
26
- return /* @__PURE__ */ y("div", {
26
+ return /* @__PURE__ */ f("div", {
27
27
  "data-slot": "illustration",
28
28
  "data-scene": e,
29
29
  "data-size": t,
30
30
  "data-fallback": "",
31
31
  "aria-hidden": "true",
32
- children: /* @__PURE__ */ y(r, {
32
+ children: /* @__PURE__ */ f(r, {
33
33
  kind: l[e] ?? "empty",
34
34
  className: "h-full w-full"
35
35
  })
@@ -37,19 +37,19 @@ function E({ scene: e, size: t }) {
37
37
  }
38
38
  var D = a("illustration", async () => {
39
39
  let { Illustration: e } = await import("./illustration-B4_W-OUS.js").then((e) => e.n);
40
- return ({ scene: t, size: n }) => /* @__PURE__ */ y(e, {
40
+ return ({ scene: t, size: n }) => /* @__PURE__ */ f(e, {
41
41
  scene: t,
42
42
  size: n
43
43
  });
44
44
  }, E);
45
45
  function O({ scene: e, size: t }) {
46
- return /* @__PURE__ */ y(v, {
47
- fallback: /* @__PURE__ */ y("div", {
46
+ return /* @__PURE__ */ f(d, {
47
+ fallback: /* @__PURE__ */ f("div", {
48
48
  "data-slot": "illustration",
49
49
  "data-size": t,
50
50
  "aria-hidden": "true"
51
51
  }),
52
- children: /* @__PURE__ */ y(D, {
52
+ children: /* @__PURE__ */ f(D, {
53
53
  scene: e,
54
54
  size: t
55
55
  })
@@ -57,41 +57,41 @@ function O({ scene: e, size: t }) {
57
57
  }
58
58
  //#endregion
59
59
  //#region lib/components/ui/feedback/state-frame/state-frame.tsx
60
- function k({ kind: t, size: a = "default", illustration: l, icon: d, title: f, headingLevel: p, description: m, actions: h, className: g, children: _, ...v }) {
60
+ function k({ kind: t, size: a = "default", illustration: l, icon: d, title: m, headingLevel: h, description: g, actions: _, className: v, children: y, ...b }) {
61
61
  let S = a === "inline", C = a === "compact" || S, w = e("flex shrink-0 items-center justify-center rounded", s[x[t]], S ? "size-8 rounded-full [&_svg]:size-4" : C ? "size-10 [&_svg]:size-5" : "size-16 [&_svg]:size-7"), E = u(), D = l === !0 || c(l, E?.sets) ? c(l, E?.sets) ? l : o[t] : null, k = l == null && d == null && a === "default" ? i(E, o[t]) : void 0, A = S ? null : D ?? (k ? o[t] : null), j = null;
62
- return j = l === !1 ? null : A ? /* @__PURE__ */ y(O, {
62
+ return j = l === !1 ? null : A ? /* @__PURE__ */ f(O, {
63
63
  scene: A,
64
64
  size: C ? "sm" : "md"
65
- }) : l != null && l !== !0 && !c(l, E?.sets) ? l : d == null ? C ? /* @__PURE__ */ y("div", {
65
+ }) : l != null && l !== !0 && !c(l, E?.sets) ? l : d == null ? C ? /* @__PURE__ */ f("div", {
66
66
  className: w,
67
- children: /* @__PURE__ */ y(T, { kind: t })
68
- }) : /* @__PURE__ */ y(r, { kind: t }) : /* @__PURE__ */ y("div", {
67
+ children: /* @__PURE__ */ f(T, { kind: t })
68
+ }) : /* @__PURE__ */ f(r, { kind: t }) : /* @__PURE__ */ f("div", {
69
69
  className: w,
70
70
  children: d
71
- }), /* @__PURE__ */ b("div", {
71
+ }), /* @__PURE__ */ p("div", {
72
72
  "data-kind": t,
73
73
  "data-size": a,
74
- className: e("flex text-foreground", S ? "flex-row items-center gap-3 px-3 py-2.5 text-start" : "flex-col items-center justify-center text-center", !S && (C ? "gap-3 px-4 py-6" : "min-h-[22rem] gap-5 p-8"), g),
75
- ...v,
74
+ className: e("flex text-foreground", S ? "flex-row items-center gap-3 px-3 py-2.5 text-start" : "flex-col items-center justify-center text-center", !S && (C ? "gap-3 px-4 py-6" : "min-h-[22rem] gap-5 p-8"), v),
75
+ ...b,
76
76
  children: [
77
77
  j,
78
- (f != null || m != null) && /* @__PURE__ */ b("div", {
78
+ (m != null || g != null) && /* @__PURE__ */ p("div", {
79
79
  className: e("flex flex-col", S ? "min-w-0 flex-1 gap-0.5" : "max-w-sm gap-2"),
80
- children: [f != null && /* @__PURE__ */ y(n, {
81
- as: p ? `h${p}` : void 0,
80
+ children: [m != null && /* @__PURE__ */ f(n, {
81
+ as: h ? `h${h}` : void 0,
82
82
  variant: S ? "normal" : C ? "title-medium" : "headline-small",
83
83
  className: e("tracking-tight text-balance", S && "font-medium"),
84
- children: f
85
- }), m != null && /* @__PURE__ */ y(n, {
84
+ children: m
85
+ }), g != null && /* @__PURE__ */ f(n, {
86
86
  variant: S ? "body-small" : "body-medium",
87
87
  className: "text-pretty",
88
- children: m
88
+ children: g
89
89
  })]
90
90
  }),
91
- _,
92
- h != null && /* @__PURE__ */ y("div", {
91
+ y,
92
+ _ != null && /* @__PURE__ */ f("div", {
93
93
  className: e("flex flex-wrap items-center gap-2", S ? "shrink-0" : "mt-1 justify-center"),
94
- children: h
94
+ children: _
95
95
  })
96
96
  ]
97
97
  });
@@ -100,7 +100,7 @@ function k({ kind: t, size: a = "default", illustration: l, icon: d, title: f, h
100
100
  //#region lib/components/ui/feedback/empty-state/empty-state.tsx
101
101
  function A({ kind: e = "empty", size: n = "default", illustration: r, icon: i, title: a, description: o, action: s, ...c }) {
102
102
  let l = C(e, "empty-state"), { t: u } = t(), d = o ?? (a == null ? u(l.descriptionKey, l.description) : void 0);
103
- return /* @__PURE__ */ y(k, {
103
+ return /* @__PURE__ */ f(k, {
104
104
  "data-slot": "empty-state",
105
105
  "data-variant": e,
106
106
  kind: e,
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./dist-DVRQkaTK.js";
3
- import { o as n } from "./tooltip-CkttDIab.js";
3
+ import { n } from "./spinner-BpVwI1ps.js";
4
4
  import { t as r } from "./button-group-context-CaP0X5p_.js";
5
5
  import { jsx as i } from "react/jsx-runtime";
6
6
  //#region lib/components/ui/actions/button-group/button-group-reset.tsx
@@ -1,4 +1,4 @@
1
- import { t as e } from "./field-blur-context-Cft9s7Hg.js";
1
+ import { t as e } from "./field-blur-context-Cwt4TuBq.js";
2
2
  import { t } from "./useEvent-2fKq-6w8.js";
3
3
  import n, { useCallback as r, useEffect as i, useRef as a } from "react";
4
4
  import { jsx as o } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { l as t } from "./dist-lmHmz_bu.js";
3
- import { i as n } from "./escape-owner-C4W_sOAU.js";
3
+ import { i as n } from "./escape-owner-B9eCwjLw.js";
4
4
  import * as r from "react";
5
5
  import { createContext as i, use as a, useMemo as o } from "react";
6
6
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
package/dist/hooks.js CHANGED
@@ -1,8 +1,8 @@
1
- import { r as e } from "./i18n-provider-C0fB0sEL.js";
2
- import { a as t, i as n, o as r, r as i, s as a } from "./theme-store-CSl51uNH.js";
3
- import { n as o, t as s } from "./use-theme-DMcyJ52N.js";
1
+ import { r as e } from "./i18n-provider-DPM_ALQ4.js";
2
+ import { a as t, i as n, o as r, r as i, s as a } from "./theme-store-BdPp43cV.js";
3
+ import { n as o, t as s } from "./use-theme-BCLireTd.js";
4
4
  import { t as c } from "./number.utils-BG_eEt5g.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "./use-heading-spy-DjKixjLm.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "./use-heading-spy-C5LXtA8Z.js";
6
6
  import { r as h } from "./use-csp-nonce-ZKs9k-ov.js";
7
7
  import { t as g } from "./use-mobile-BDro060N.js";
8
8
  import { t as _ } from "./use-scroll-away-PQRFZkT2.js";
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { o as t } from "./dist-DVRQkaTK.js";
3
3
  import { a as n, c as r, i, l as a, s as o } from "./dist-lmHmz_bu.js";
4
- import { b as s, c, d as l, f as u, u as d, x as f } from "./tooltip-CkttDIab.js";
4
+ import { C as s, S as c, f as l, m as u, p as d, u as f } from "./spinner-BpVwI1ps.js";
5
5
  import { t as p } from "./in-dialog-Vwkyp-M5.js";
6
- import { o as m } from "./escape-owner-C4W_sOAU.js";
6
+ import { o as m } from "./escape-owner-B9eCwjLw.js";
7
7
  import * as h from "react";
8
8
  import { Activity as g } from "react";
9
9
  import { jsx as _ } from "react/jsx-runtime";
@@ -12,18 +12,18 @@ var v = Object.defineProperty, y = (e, t) => v(e, "name", {
12
12
  value: t,
13
13
  configurable: !0
14
14
  }), b, x = "HoverCard", [S, C] = r(x, [u]), w = u(), [T, E] = S(x), D = /* @__PURE__ */ y((e) => {
15
- let { __scopeHoverCard: t, children: r, open: i, defaultOpen: a, onOpenChange: o, openDelay: s = 700, closeDelay: c = 300 } = e, u = w(t), d = h.useRef(0), f = h.useRef(0), p = h.useRef(!1), m = h.useRef(!1), [g, v] = n({
15
+ let { __scopeHoverCard: t, children: r, open: i, defaultOpen: a, onOpenChange: o, openDelay: s = 700, closeDelay: c = 300 } = e, l = w(t), u = h.useRef(0), f = h.useRef(0), p = h.useRef(!1), m = h.useRef(!1), [g, v] = n({
16
16
  prop: i,
17
17
  defaultProp: a ?? !1,
18
18
  onChange: o,
19
19
  caller: x
20
20
  }), y = h.useCallback(() => {
21
- clearTimeout(f.current), d.current = window.setTimeout(() => v(!0), s);
21
+ clearTimeout(f.current), u.current = window.setTimeout(() => v(!0), s);
22
22
  }, [s, v]), b = h.useCallback(() => {
23
- clearTimeout(d.current), !p.current && !m.current && (f.current = window.setTimeout(() => v(!1), c));
23
+ clearTimeout(u.current), !p.current && !m.current && (f.current = window.setTimeout(() => v(!1), c));
24
24
  }, [c, v]), S = h.useCallback(() => v(!1), [v]);
25
25
  return h.useEffect(() => () => {
26
- clearTimeout(d.current), clearTimeout(f.current);
26
+ clearTimeout(u.current), clearTimeout(f.current);
27
27
  }, []), /* @__PURE__ */ _(T, {
28
28
  scope: t,
29
29
  open: g,
@@ -33,14 +33,14 @@ var v = Object.defineProperty, y = (e, t) => v(e, "name", {
33
33
  onDismiss: S,
34
34
  hasSelectionRef: p,
35
35
  isPointerDownOnContentRef: m,
36
- children: /* @__PURE__ */ _(l, {
37
- ...u,
36
+ children: /* @__PURE__ */ _(d, {
37
+ ...l,
38
38
  children: r
39
39
  })
40
40
  });
41
41
  }, "HoverCard"), O = "HoverCardTrigger", k = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ y(function(e, t) {
42
42
  let { __scopeHoverCard: n, ...r } = e, i = E(O, n);
43
- return /* @__PURE__ */ _(c, {
43
+ return /* @__PURE__ */ _(f, {
44
44
  asChild: !0,
45
45
  ...w(n),
46
46
  children: /* @__PURE__ */ _(a.a, {
@@ -61,7 +61,7 @@ var v = Object.defineProperty, y = (e, t) => v(e, "name", {
61
61
  forceMount: n,
62
62
  children: /* @__PURE__ */ _(i, {
63
63
  present: n || o.open,
64
- children: /* @__PURE__ */ _(s, {
64
+ children: /* @__PURE__ */ _(c, {
65
65
  asChild: !0,
66
66
  container: a,
67
67
  children: r
@@ -81,7 +81,7 @@ var v = Object.defineProperty, y = (e, t) => v(e, "name", {
81
81
  })
82
82
  });
83
83
  }, "HoverCardContent")), I = /* @__PURE__ */ h.forwardRef(/* @__PURE__ */ y(function(e, n) {
84
- let { __scopeHoverCard: r, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: s, onInteractOutside: c, ...l } = e, u = E(P, r), p = w(r), m = h.useRef(null), g = t(n, m), [v, x] = h.useState(!1);
84
+ let { __scopeHoverCard: r, onEscapeKeyDown: i, onPointerDownOutside: a, onFocusOutside: c, onInteractOutside: u, ...d } = e, f = E(P, r), p = w(r), m = h.useRef(null), g = t(n, m), [v, x] = h.useState(!1);
85
85
  return h.useEffect(() => {
86
86
  if (v) {
87
87
  let e = document.body;
@@ -92,35 +92,35 @@ var v = Object.defineProperty, y = (e, t) => v(e, "name", {
92
92
  }, [v]), h.useEffect(() => {
93
93
  if (m.current) {
94
94
  let e = /* @__PURE__ */ y(() => {
95
- x(!1), u.isPointerDownOnContentRef.current = !1, setTimeout(() => {
96
- document.getSelection()?.toString() !== "" && (u.hasSelectionRef.current = !0);
95
+ x(!1), f.isPointerDownOnContentRef.current = !1, setTimeout(() => {
96
+ document.getSelection()?.toString() !== "" && (f.hasSelectionRef.current = !0);
97
97
  });
98
98
  }, "handlePointerUp");
99
99
  return document.addEventListener("pointerup", e), () => {
100
- document.removeEventListener("pointerup", e), u.hasSelectionRef.current = !1, u.isPointerDownOnContentRef.current = !1;
100
+ document.removeEventListener("pointerup", e), f.hasSelectionRef.current = !1, f.isPointerDownOnContentRef.current = !1;
101
101
  };
102
102
  }
103
- }, [u.isPointerDownOnContentRef, u.hasSelectionRef]), h.useEffect(() => {
103
+ }, [f.isPointerDownOnContentRef, f.hasSelectionRef]), h.useEffect(() => {
104
104
  m.current && R(m.current).forEach((e) => e.setAttribute("tabindex", "-1"));
105
- }), /* @__PURE__ */ _(f, {
105
+ }), /* @__PURE__ */ _(s, {
106
106
  asChild: !0,
107
107
  disableOutsidePointerEvents: !1,
108
- onInteractOutside: c,
108
+ onInteractOutside: u,
109
109
  onEscapeKeyDown: i,
110
110
  onPointerDownOutside: a,
111
- onFocusOutside: o(s, (e) => {
111
+ onFocusOutside: o(c, (e) => {
112
112
  e.preventDefault();
113
113
  }),
114
- onDismiss: u.onDismiss,
115
- children: /* @__PURE__ */ _(d, {
114
+ onDismiss: f.onDismiss,
115
+ children: /* @__PURE__ */ _(l, {
116
116
  ...p,
117
- ...l,
118
- onPointerDown: o(l.onPointerDown, (e) => {
119
- e.currentTarget.contains(e.target) && x(!0), u.hasSelectionRef.current = !1, u.isPointerDownOnContentRef.current = !0;
117
+ ...d,
118
+ onPointerDown: o(d.onPointerDown, (e) => {
119
+ e.currentTarget.contains(e.target) && x(!0), f.hasSelectionRef.current = !1, f.isPointerDownOnContentRef.current = !0;
120
120
  }),
121
121
  ref: g,
122
122
  style: {
123
- ...l.style,
123
+ ...d.style,
124
124
  userSelect: v ? "text" : void 0,
125
125
  WebkitUserSelect: v ? "text" : void 0,
126
126
  "--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)",
@@ -1,4 +1,4 @@
1
- import { i as e, r as t, t as n } from "./stored-language-IaL1Ftn_.js";
1
+ import { i as e, r as t, t as n } from "./stored-language-Beyj2ult.js";
2
2
  import { createContext as r, useCallback as i, useContext as a, useMemo as o, useState as s } from "react";
3
3
  import { jsx as c } from "react/jsx-runtime";
4
4
  //#region lib/i18n/i18n-provider.tsx
package/dist/i18n.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { t as e } from "./is-production-GLw59WU8.js";
2
- import { a as t, i as n, n as r, r as i } from "./stored-language-IaL1Ftn_.js";
3
- import { n as a, r as o, t as s } from "./i18n-provider-C0fB0sEL.js";
4
- import { i as c, n as l, o as u, r as d, t as f } from "./translator-Dk4_qE6U.js";
2
+ import { a as t, i as n, n as r, r as i } from "./stored-language-Beyj2ult.js";
3
+ import { n as a, r as o, t as s } from "./i18n-provider-DPM_ALQ4.js";
4
+ import { i as c, n as l, o as u, r as d, t as f } from "./translator-CBgIb3zP.js";
5
5
  import { o as p, t as m } from "./merge-BCZE6HGq.js";
6
- import { t as h } from "./translate-material-v9u-e7Kd.js";
7
- import { t as g } from "./use-material-translation-DOkTaWK_.js";
6
+ import { t as h } from "./translate-material-DEUlaL_1.js";
7
+ import { t as g } from "./use-material-translation-DWWeeg-B.js";
8
8
  import { useCallback as _ } from "react";
9
9
  //#region lib/i18n/merge-resources.ts
10
10
  function v(e, t, n = "") {
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./utils-BLfntITJ.js";
2
- import { f as t } from "./dialog-CCCcnTIx.js";
3
- import { a as n, i as r, n as i } from "./field-blur-context-Cft9s7Hg.js";
4
- import { t as a } from "./icon-button-CN9r5TNE.js";
2
+ import { f as t } from "./dialog-S7dLsYRZ.js";
3
+ import { a as n, i as r, n as i } from "./field-blur-context-Cwt4TuBq.js";
4
+ import { t as a } from "./icon-button-DSC2-IAG.js";
5
5
  import { isValidElement as o, useId as s } from "react";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
7
  import { describedBy as u } from "@nxgt/material-core/described-by";