@nxgt/material 3.10.2 → 3.11.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 (107) hide show
  1. package/CHANGELOG.md +70 -0
  2. package/README.md +4 -4
  3. package/dist/{async-slice-DDjaJY_F.js → async-slice-4qbER86I.js} +1 -1
  4. package/dist/button-BNjw-pnE.js +327 -0
  5. package/dist/button-group-context-CaP0X5p_.js +5 -0
  6. package/dist/{button-tones-BgZJ1tkD.js → button-tones-BwuVvAmd.js} +9 -1
  7. package/dist/{callout-view-DdJPdFrP.js → callout-view-C6voDS00.js} +1 -1
  8. package/dist/charts.js +5 -5
  9. package/dist/{chip-DpySRqCy.js → chip-DLgQTJBZ.js} +4 -4
  10. package/dist/{code-editor-BiA14xua.js → code-editor-BZbaYLvo.js} +8 -8
  11. package/dist/code-editor.js +7 -7
  12. package/dist/{code-language-items-C_dJ6GVs.js → code-language-items-BT5BO5w6.js} +2 -2
  13. package/dist/components/base.css +21 -6
  14. package/dist/components/components.css +5 -2
  15. package/dist/components/type-scale.css +194 -0
  16. package/dist/components/ui/actions/button/button.css +156 -0
  17. package/dist/components/ui/actions/button-group/button-group-standard.css +131 -0
  18. package/dist/components/ui/actions/button-group/button-group.css +4 -1
  19. package/dist/components/ui/actions/icon-button/icon-button.css +115 -0
  20. package/dist/components/ui/actions/morph-fill.css +62 -0
  21. package/dist/{components-BkF9N-Yx.js → components-1GK7YIhY.js} +14685 -14688
  22. package/dist/components.js +23 -23
  23. package/dist/{dialog-CkIYpJXk.js → dialog-BQp5IdFl.js} +147 -147
  24. package/dist/dnd.js +1 -1
  25. package/dist/{dropdown-menu-BC5Tbhb9.js → dropdown-menu-BsH9W_3C.js} +3 -3
  26. package/dist/editor-viewer.js +1 -1
  27. package/dist/editor.js +13 -13
  28. package/dist/{empty-state-SeAg2TOX.js → empty-state-WaU4-T2c.js} +5 -5
  29. package/dist/escape-owner-C4W_sOAU.js +116 -0
  30. package/dist/{field-blur-DPLsMufs.js → field-blur-CJHzVSh9.js} +1 -1
  31. package/dist/{field-blur-context-1ZwJgsHE.js → field-blur-context-Cft9s7Hg.js} +2 -2
  32. package/dist/{hover-card-Cox-tPDz.js → hover-card-C0fw2kLK.js} +72 -71
  33. package/dist/i18n.js +12 -12
  34. package/dist/{icon-badge-q3Ve8gra.js → icon-badge-DUAq9f7H.js} +4 -4
  35. package/dist/icon-button-ifTpXt0A.js +355 -0
  36. package/dist/{illustration-BfHRpVzM.js → illustration-BmQmvW_4.js} +1 -1
  37. package/dist/illustrations.js +2 -2
  38. package/dist/lib/components/ui/actions/button/button-tones.d.ts +16 -0
  39. package/dist/lib/components/ui/actions/button/button.d.ts +13 -0
  40. package/dist/lib/components/ui/actions/button/button.variants.d.ts +4 -3
  41. package/dist/lib/components/ui/actions/button-group/button-group-context.d.ts +16 -0
  42. package/dist/lib/components/ui/actions/button-group/button-group-reset.d.ts +13 -0
  43. package/dist/lib/components/ui/actions/button-group/button-group.d.ts +19 -2
  44. package/dist/lib/components/ui/actions/icon-button/icon-button-shape.d.ts +3 -2
  45. package/dist/lib/components/ui/actions/icon-button/icon-button.d.ts +18 -4
  46. package/dist/lib/components/ui/actions/icon-button/icon-button.variants.d.ts +34 -4
  47. package/dist/lib/components/ui/feedback/typing-indicator/typing-indicator.d.ts +1 -1
  48. package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +1 -1
  49. package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +1 -1
  50. package/dist/lib/components/ui/overlays/dialog/dialog-variants.d.ts +1 -1
  51. package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +1 -1
  52. package/dist/lib/components/ui/primitives/typography/typography.d.ts +17 -7
  53. package/dist/lib/components/ui/primitives/typography/typography.variants.d.ts +55 -0
  54. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +2 -2
  55. package/dist/lib/i18n/translator.d.ts +1 -1
  56. package/dist/lib.js +2 -2
  57. package/dist/{line-path-BQeLQZ-P.js → line-path-C5pZGC49.js} +1 -1
  58. package/dist/main.js +29 -29
  59. package/dist/map.js +9 -9
  60. package/dist/material.css +1 -1
  61. package/dist/pdf-reader.js +1 -1
  62. package/dist/print.js +1 -1
  63. package/dist/{public-CtpsxV4I.js → public-B0Nq_yYV.js} +524 -524
  64. package/dist/{render-json-DyFYFIkZ.js → render-json-BOhvPnSv.js} +1 -1
  65. package/dist/{rich-code-block-C2Fp_FDU.js → rich-code-block-v7WmeZp9.js} +5 -5
  66. package/dist/{rich-text-viewer-LO1IZCWs.js → rich-text-viewer-W15XIwah.js} +2 -2
  67. package/dist/{skeleton-Bmp4gWAH.js → skeleton-DSdtr2qc.js} +1 -1
  68. package/dist/{sortable-provider-pVaEZzty.js → sortable-provider-CgDTolQR.js} +3 -3
  69. package/dist/{spinner-CsHcmcpF.js → spinner-BtSIYVrC.js} +3 -3
  70. package/dist/{state-scenes-SGNyZjTz.js → state-scenes-BX03WmSu.js} +1 -1
  71. package/dist/styles.css +2 -0
  72. package/dist/theme-picker.js +3 -3
  73. package/dist/{theme-toggle-oU-fh6WE.js → theme-toggle-B2Pehdhn.js} +2 -2
  74. package/dist/{toggle-group-j8zaxEg1.js → toggle-group-BMJNcFAC.js} +1 -1
  75. package/dist/{toolbar-items-CqHvlTU8.js → toolbar-items-rUHdVqAq.js} +399 -398
  76. package/dist/{tooltip-rhbqNmr3.js → tooltip-CkttDIab.js} +1 -1
  77. package/dist/{translate-material-CGZljjp1.js → translate-material-Bd_KgfB8.js} +1 -1
  78. package/dist/{translator-DCYO4Ij3.js → translator-Dje8HrNz.js} +5 -5
  79. package/dist/{use-chat-composer-nWWfVyrK.js → use-chat-composer-Bt2ULsv6.js} +4172 -4172
  80. package/dist/{use-material-translation-DkxcLbLM.js → use-material-translation-B3V_bz-5.js} +1 -1
  81. package/dist/{utils-Bcd2Z3ea.js → utils-BLfntITJ.js} +14 -1
  82. package/docs/components/buttons-and-actions.md +64 -15
  83. package/docs/components/navigation-and-layout.md +1 -1
  84. package/docs/components/primitives.md +52 -10
  85. package/docs/guides/theming.md +51 -0
  86. package/docs/previews/buttons-actions-button.webp +0 -0
  87. package/docs/previews/buttons-actions-iconbutton.webp +0 -0
  88. package/docs/previews/primitives-typography.webp +0 -0
  89. package/docs/roadmap.md +35 -4
  90. package/docs/troubleshooting.md +58 -2
  91. package/lib/components/base.css +21 -6
  92. package/lib/components/components.css +5 -2
  93. package/lib/components/type-scale.css +194 -0
  94. package/lib/components/ui/actions/button/button.css +156 -0
  95. package/lib/components/ui/actions/button-group/button-group-standard.css +131 -0
  96. package/lib/components/ui/actions/button-group/button-group.css +4 -1
  97. package/lib/components/ui/actions/icon-button/icon-button.css +115 -0
  98. package/lib/components/ui/actions/morph-fill.css +62 -0
  99. package/lib/styles.css +2 -0
  100. package/package.json +1 -1
  101. package/dist/button-DbfdITBB.js +0 -322
  102. package/dist/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
  103. package/dist/components/ui/actions/icon-button/icon-button-morph.css +0 -152
  104. package/dist/escape-owner-CripBce_.js +0 -57
  105. package/dist/icon-button-DJcWpIhu.js +0 -319
  106. package/lib/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
  107. package/lib/components/ui/actions/icon-button/icon-button-morph.css +0 -152
@@ -1,6 +1,6 @@
1
1
  import { Rt as e, Vt as t, ct as n, et as r, j as i, k as a, ot as o, x as s, z as c } from "./dist-moutbfbd.js";
2
2
  import { Z as l } from "./youtube-node-OWSNlYCc.js";
3
- import { t as u } from "./callout-view-DdJPdFrP.js";
3
+ import { t as u } from "./callout-view-C6voDS00.js";
4
4
  import { r as d, t as f } from "./headless-extensions-CvmdhANJ.js";
5
5
  import p from "react";
6
6
  import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { t as e } from "./tooltip-rhbqNmr3.js";
2
- import { c as t, n, t as r } from "./dropdown-menu-BC5Tbhb9.js";
3
- import { t as i } from "./use-material-translation-DkxcLbLM.js";
4
- import { a, i as o, n as s, o as c, t as l } from "./code-language-items-C_dJ6GVs.js";
1
+ import { t as e } from "./tooltip-CkttDIab.js";
2
+ import { c as t, n, t as r } from "./dropdown-menu-BsH9W_3C.js";
3
+ import { t as i } from "./use-material-translation-B3V_bz-5.js";
4
+ import { a, i as o, n as s, o as c, t as l } from "./code-language-items-BT5BO5w6.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 { Check as h, ChevronDown as g, Copy as _, Maximize2 as v, WrapText as y } from "lucide-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 = x(() => import("./code-editor-BiA14xua.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
146
+ var N = x(() => import("./code-editor-BZbaYLvo.js").then((e) => e.n).then((e) => ({ default: e.CodeEditor })));
147
147
  function P() {
148
148
  let { t: e } = i();
149
149
  return /* @__PURE__ */ T("div", {
@@ -1,9 +1,9 @@
1
1
  import { r as e } from "./rolldown-runtime-BFFgcFxR.js";
2
- import { t } from "./utils-Bcd2Z3ea.js";
2
+ import { t } from "./utils-BLfntITJ.js";
3
3
  import { B as n, E as r, I as i, Q as a, U as o, Z as s, c, d as l, m as u } from "./youtube-node-OWSNlYCc.js";
4
4
  import { r as d, t as f } from "./lib-CEU1EE-D.js";
5
5
  import { a as p, c as ee, i as m, l as h, o as g, s as _, t as v, u as y } from "./headless-extensions-CvmdhANJ.js";
6
- import { n as b, t as x } from "./render-json-DyFYFIkZ.js";
6
+ import { n as b, t as x } from "./render-json-BOhvPnSv.js";
7
7
  import { t as S } from "./markdown-engine-Do-jxF--.js";
8
8
  import { Fragment as C, jsx as w, jsxs as T } from "react/jsx-runtime";
9
9
  //#region lib/components/ui/widgets/editor/viewer/parse-markdown.ts
@@ -1,4 +1,4 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
1
+ import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { jsx as t } from "react/jsx-runtime";
3
3
  //#region lib/components/ui/feedback/skeleton/skeleton.tsx
4
4
  function n({ className: n, ...r }) {
@@ -1,7 +1,7 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
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-DkxcLbLM.js";
4
- import { t as r } from "./icon-button-DJcWpIhu.js";
3
+ import { t as n } from "./use-material-translation-B3V_bz-5.js";
4
+ import { t as r } from "./icon-button-ifTpXt0A.js";
5
5
  import { t as i } from "./compose-refs-DZ0iIVF-.js";
6
6
  import { GripVertical as a } from "lucide-react";
7
7
  import o, { cloneElement as s, createContext as c, forwardRef as l, memo as u, useCallback as d, useContext as f, useEffect as p, useLayoutEffect as m, useMemo as h, useReducer as g, useRef as _, useState as v } from "react";
@@ -1,6 +1,6 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
2
- import { o as t } from "./tooltip-rhbqNmr3.js";
3
- import { t as n } from "./use-material-translation-DkxcLbLM.js";
1
+ import { t as e } from "./utils-BLfntITJ.js";
2
+ import { o as t } from "./tooltip-CkttDIab.js";
3
+ import { t as n } from "./use-material-translation-B3V_bz-5.js";
4
4
  import { jsx as r } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/feedback/spinner/spinner.tsx
6
6
  var i = t("transition-all duration-500", {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
1
+ import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { t } from "./is-production-GLw59WU8.js";
3
3
  import { createContext as n, createElement as r, lazy as i, useContext as a, useMemo as o } from "react";
4
4
  import { jsx as s } from "react/jsx-runtime";
package/dist/styles.css CHANGED
@@ -15,6 +15,8 @@
15
15
  /* Motion tokens (--nxgt-motion-*, ease-spatial-*; generated) and corner tokens (--nxgt-shape-corner-*). */
16
16
  @import "./components/motion.css";
17
17
  @import "./components/shape-tokens.css";
18
+ /* The type scale (text-title-md, text-title-md-em…; --text-<role>-<size>*): lib/components/type-scale.css. */
19
+ @import "./components/type-scale.css";
18
20
  /* The animation API (animate-fade-in-up, animate-duration-300…): lib/components/animations/index.css. */
19
21
  @import "./components/animations/index.css";
20
22
  /* The base layer: elements (base.css), then editor content and the form grid. */
@@ -1,10 +1,10 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
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-B7BVd9fX.js";
3
- import { t as s } from "./use-material-translation-DkxcLbLM.js";
3
+ import { t as s } from "./use-material-translation-B3V_bz-5.js";
4
4
  import { n as c, r as l } from "./icon-sprites-FxHyqyhg.js";
5
5
  import { t as u } from "./use-theme-DMcyJ52N.js";
6
6
  import { a as d, r as f } from "./theme-context-Cofk6vgs.js";
7
- import { t as p } from "./theme-toggle-oU-fh6WE.js";
7
+ import { t as p } from "./theme-toggle-B2Pehdhn.js";
8
8
  import { n as m, t as h } from "./nxgt-theme-ZS945iMP.js";
9
9
  import { Check as g } from "lucide-react";
10
10
  import { useContext as _ } from "react";
@@ -1,8 +1,8 @@
1
- import { t as e } from "./use-material-translation-DkxcLbLM.js";
1
+ import { t as e } from "./use-material-translation-B3V_bz-5.js";
2
2
  import { i as t } from "./theme-store-CSl51uNH.js";
3
3
  import { n, t as r } from "./use-theme-DMcyJ52N.js";
4
4
  import { r as i } from "./theme-context-Cofk6vgs.js";
5
- import { n as a, t as o } from "./toggle-group-j8zaxEg1.js";
5
+ import { n as a, t as o } from "./toggle-group-BMJNcFAC.js";
6
6
  import { Monitor as s, Moon as c, Sun as l } from "lucide-react";
7
7
  import { useContext as u, useEffect as d } from "react";
8
8
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./utils-Bcd2Z3ea.js";
1
+ import { t as e } from "./utils-BLfntITJ.js";
2
2
  import { n as t } from "./dist-DVRQkaTK.js";
3
3
  import { a as n, n as r, t as i } from "./dist-B7RjY7SL.js";
4
4
  import { t as a } from "./has-text-content-Ds2dkHX_.js";