@nxgt/material 3.10.1 → 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 (119) hide show
  1. package/CHANGELOG.md +76 -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-fqz7csN3.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-WaU4-T2c.js +117 -0
  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-Hj-Q9se9.js → illustration-BmQmvW_4.js} +36 -30
  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/state-frame/state-scene-illustration.d.ts +4 -2
  48. package/dist/lib/components/ui/feedback/typing-indicator/typing-indicator.d.ts +1 -1
  49. package/dist/lib/components/ui/fields/slider/split-slider-props.d.ts +1 -1
  50. package/dist/lib/components/ui/fields/slider/use-slider-control.d.ts +1 -1
  51. package/dist/lib/components/ui/overlays/dialog/dialog-variants.d.ts +1 -1
  52. package/dist/lib/components/ui/primitives/toggle/toggle.d.ts +1 -1
  53. package/dist/lib/components/ui/primitives/typography/typography.d.ts +17 -7
  54. package/dist/lib/components/ui/primitives/typography/typography.variants.d.ts +55 -0
  55. package/dist/lib/components/ui/selection/choice-group/use-choice-group-field.d.ts +2 -2
  56. package/dist/lib/i18n/translator.d.ts +1 -1
  57. package/dist/lib/illustrations/lazy-chunk.d.ts +9 -0
  58. package/dist/lib.js +2 -2
  59. package/dist/{line-path-BQeLQZ-P.js → line-path-C5pZGC49.js} +1 -1
  60. package/dist/main.js +29 -29
  61. package/dist/map.js +9 -9
  62. package/dist/material.css +1 -1
  63. package/dist/pdf-reader.js +1 -1
  64. package/dist/{plated-illustration-B7fcgOED.js → plated-illustration-iNO6KYTL.js} +9 -2
  65. package/dist/print.js +1 -1
  66. package/dist/{public-Cl4dLDHQ.js → public-B0Nq_yYV.js} +524 -524
  67. package/dist/{render-json-DyFYFIkZ.js → render-json-BOhvPnSv.js} +1 -1
  68. package/dist/{rich-code-block-C2Fp_FDU.js → rich-code-block-v7WmeZp9.js} +5 -5
  69. package/dist/{rich-text-viewer-LO1IZCWs.js → rich-text-viewer-W15XIwah.js} +2 -2
  70. package/dist/{skeleton-Bmp4gWAH.js → skeleton-DSdtr2qc.js} +1 -1
  71. package/dist/{sortable-provider-pVaEZzty.js → sortable-provider-CgDTolQR.js} +3 -3
  72. package/dist/{spinner-CsHcmcpF.js → spinner-BtSIYVrC.js} +3 -3
  73. package/dist/{state-scenes-Be9w_3an.js → state-scenes-BX03WmSu.js} +54 -41
  74. package/dist/styles.css +2 -0
  75. package/dist/theme-picker.js +3 -3
  76. package/dist/{theme-toggle-oU-fh6WE.js → theme-toggle-B2Pehdhn.js} +2 -2
  77. package/dist/{toggle-group-j8zaxEg1.js → toggle-group-BMJNcFAC.js} +1 -1
  78. package/dist/{toolbar-items-CqHvlTU8.js → toolbar-items-rUHdVqAq.js} +399 -398
  79. package/dist/{tooltip-rhbqNmr3.js → tooltip-CkttDIab.js} +1 -1
  80. package/dist/{translate-material-CGZljjp1.js → translate-material-Bd_KgfB8.js} +1 -1
  81. package/dist/{translator-DCYO4Ij3.js → translator-Dje8HrNz.js} +5 -5
  82. package/dist/{use-chat-composer-UHlGFSm0.js → use-chat-composer-Bt2ULsv6.js} +4172 -4172
  83. package/dist/{use-material-translation-DkxcLbLM.js → use-material-translation-B3V_bz-5.js} +1 -1
  84. package/dist/{utils-Bcd2Z3ea.js → utils-BLfntITJ.js} +14 -1
  85. package/docs/components/buttons-and-actions.md +64 -15
  86. package/docs/components/navigation-and-layout.md +1 -1
  87. package/docs/components/primitives.md +52 -10
  88. package/docs/guides/illustrations.md +12 -0
  89. package/docs/guides/theming.md +51 -0
  90. package/docs/previews/buttons-actions-button.webp +0 -0
  91. package/docs/previews/buttons-actions-iconbutton.webp +0 -0
  92. package/docs/previews/feedback-status-circularprogress.webp +0 -0
  93. package/docs/previews/feedback-status-hydrateloading.webp +0 -0
  94. package/docs/previews/feedback-status-notifications.webp +0 -0
  95. package/docs/previews/feedback-status-progress.webp +0 -0
  96. package/docs/previews/feedback-status-skeleton.webp +0 -0
  97. package/docs/previews/feedback-status-spinner.webp +0 -0
  98. package/docs/previews/feedback-status-typingindicator.webp +0 -0
  99. package/docs/previews/primitives-typography.webp +0 -0
  100. package/docs/roadmap.md +35 -4
  101. package/docs/troubleshooting.md +71 -2
  102. package/lib/components/base.css +21 -6
  103. package/lib/components/components.css +5 -2
  104. package/lib/components/type-scale.css +194 -0
  105. package/lib/components/ui/actions/button/button.css +156 -0
  106. package/lib/components/ui/actions/button-group/button-group-standard.css +131 -0
  107. package/lib/components/ui/actions/button-group/button-group.css +4 -1
  108. package/lib/components/ui/actions/icon-button/icon-button.css +115 -0
  109. package/lib/components/ui/actions/morph-fill.css +62 -0
  110. package/lib/styles.css +2 -0
  111. package/package.json +1 -1
  112. package/dist/button-DbfdITBB.js +0 -322
  113. package/dist/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
  114. package/dist/components/ui/actions/icon-button/icon-button-morph.css +0 -152
  115. package/dist/empty-state-BOZWBC5q.js +0 -98
  116. package/dist/escape-owner-CripBce_.js +0 -57
  117. package/dist/icon-button-DJcWpIhu.js +0 -319
  118. package/lib/components/ui/actions/icon-button/icon-button-morph-media.css +0 -65
  119. package/lib/components/ui/actions/icon-button/icon-button-morph.css +0 -152
@@ -1,3 +1,3 @@
1
- import { t as e } from "./public-Cl4dLDHQ.js";
1
+ import { t as e } from "./public-B0Nq_yYV.js";
2
2
  import { configurePdfReader as t } from "@nxgt/material-core/pdf-reader";
3
3
  export { e as PdfReader, t as configurePdfReader };
@@ -6,7 +6,7 @@ import { buildIllustration as i } from "@nxgt/material-core/illustrations";
6
6
  import { platePath as a } from "@nxgt/material-core/illustrations/plates";
7
7
  //#region lib/illustrations/plated-illustration.tsx
8
8
  function o({ spec: o, idPrefix: s, base: c, edition: l }) {
9
- return /* @__PURE__ */ n(e, { node: t(() => i(o, {
9
+ let u = t(() => i(o, {
10
10
  idPrefix: s,
11
11
  spriteBase: c,
12
12
  plates: a,
@@ -16,7 +16,14 @@ function o({ spec: o, idPrefix: s, base: c, edition: l }) {
16
16
  s,
17
17
  c,
18
18
  l
19
- ]) });
19
+ ]);
20
+ return /* @__PURE__ */ n(e, { node: t(() => ({
21
+ ...u,
22
+ attrs: {
23
+ ...u.attrs,
24
+ "data-plated": ""
25
+ }
26
+ }), [u]) });
20
27
  }
21
28
  //#endregion
22
29
  export { o as default };
package/dist/print.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./i18n-provider-C6HhBw34.js";
2
- import { t } from "./translate-material-CGZljjp1.js";
2
+ import { t } from "./translate-material-Bd_KgfB8.js";
3
3
  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";
4
4
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
5
5
  import { resolvePdfFileName as f } from "@nxgt/material-core/pdf-file-name";