@nxgt/material 3.73.0 → 3.74.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 (96) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +3 -1
  3. package/dist/{alert-dialog-A8K8zai1.js → alert-dialog-BfO_ri-N.js} +1 -1
  4. package/dist/{async-slice-B8933IHY.js → async-slice-roMAJVzG.js} +1 -1
  5. package/dist/{button-C8moFnIT.js → button-DgenqmpS.js} +1 -1
  6. package/dist/charts.js +3 -3
  7. package/dist/{chip-B6AY1E91.js → chip-CiDczNxO.js} +2 -2
  8. package/dist/{code-editor-DQZIKL54.js → code-editor-CohlhFsA.js} +5 -5
  9. package/dist/code-editor.js +5 -5
  10. package/dist/{code-language-items-8VL0aMKG.js → code-language-items-Cs8GLYDp.js} +2 -2
  11. package/dist/components/ui/display/seat-ring/seat-ring.css +26 -0
  12. package/dist/components/ui/feedback/feedback.css +2 -0
  13. package/dist/components/ui/feedback/moment/moment.css +22 -0
  14. package/dist/{components-Cvp2F9uk.js → components-y18qSFzl.js} +14136 -13891
  15. package/dist/components.js +28 -28
  16. package/dist/{dialog-WuLTwxkr.js → dialog-AGsB3bv4.js} +4 -4
  17. package/dist/dnd.js +1 -1
  18. package/dist/{dropdown-menu-tadySeGH.js → dropdown-menu-CzR6JP31.js} +1 -1
  19. package/dist/editor.js +10 -10
  20. package/dist/{empty-state-ZYiFSSBQ.js → empty-state-DjHGMp5F.js} +2 -2
  21. package/dist/{field-blur-BYR0yE5L.js → field-blur-CdASxjL7.js} +1 -1
  22. package/dist/{field-blur-context-bEhByoK-.js → field-blur-context-kZ4SD7xu.js} +1 -1
  23. package/dist/{hooks-GpwD8iDu.js → hooks-Dqq8O3Az.js} +2 -2
  24. package/dist/hooks.js +2 -2
  25. package/dist/{hover-card-BowaI_ra.js → hover-card-BPKqte4a.js} +1 -1
  26. package/dist/i18n.js +3 -3
  27. package/dist/{icon-badge-B1B0Lg02.js → icon-badge-B9uvDoyY.js} +3 -3
  28. package/dist/{icon-button-BbGU17cb.js → icon-button-Cr-DyDGg.js} +1 -1
  29. package/dist/lib/components/ui/collections/filter/bar/filter-bar-classes.d.ts +2 -2
  30. package/dist/lib/components/ui/collections/filter/bar/filter-bar-view.d.ts +1 -1
  31. package/dist/lib/components/ui/collections/filter/facets/filter-facets.d.ts +1 -1
  32. package/dist/lib/components/ui/collections/filter/query/types.d.ts +6 -0
  33. package/dist/lib/components/ui/collections/filter/query/view-types.d.ts +1 -0
  34. package/dist/lib/components/ui/collections/filter/sections/chips/filter-chip-body.d.ts +1 -1
  35. package/dist/lib/components/ui/collections/filter/sections/filter-search.d.ts +1 -0
  36. package/dist/lib/components/ui/collections/filter/sections/filter-sections-classes.d.ts +8 -0
  37. package/dist/lib/components/ui/collections/server-table/partials/server-table-empty-page.d.ts +4 -0
  38. package/dist/lib/components/ui/collections/server-table/types.d.ts +7 -1
  39. package/dist/lib/components/ui/display/highlighted-text/highlight-ranges.d.ts +11 -0
  40. package/dist/lib/components/ui/display/highlighted-text/highlighted-text.d.ts +16 -0
  41. package/dist/lib/components/ui/display/highlighted-text/index.d.ts +2 -0
  42. package/dist/lib/components/ui/display/index.d.ts +1 -0
  43. package/dist/lib/components/ui/display/list-tile/list-tile.d.ts +10 -1
  44. package/dist/lib/components/ui/display/list-tile/partials/list-tile-box.d.ts +16 -0
  45. package/dist/lib/components/ui/display/list-tile/partials/list-tile-classes.d.ts +3 -1
  46. package/dist/lib/components/ui/display/list-tile/partials/list-tile-line.d.ts +1 -1
  47. package/dist/lib/components/ui/display/list-tile/partials/list-tile-row.d.ts +1 -1
  48. package/dist/lib/components/ui/display/seat-ring/types.d.ts +6 -0
  49. package/dist/lib/components/ui/feedback/index.d.ts +1 -0
  50. package/dist/lib/components/ui/feedback/moment/index.d.ts +1 -0
  51. package/dist/lib/components/ui/feedback/moment/moment-body.d.ts +9 -0
  52. package/dist/lib/components/ui/feedback/moment/moment.d.ts +33 -0
  53. package/dist/lib/components/ui/fields/choice-list/choice-list-control.d.ts +17 -0
  54. package/dist/lib/components/ui/fields/choice-list/choice-list-focus.d.ts +7 -0
  55. package/dist/lib/components/ui/fields/contacts/placeholders.d.ts +1 -1
  56. package/dist/lib/components/ui/overlays/command/command-dialog.d.ts +8 -1
  57. package/dist/lib/i18n/resources/en/en.d.ts +4 -0
  58. package/dist/lib/i18n/resources/en/material.json.d.ts +5 -1
  59. package/dist/lib/i18n/resources/fr/fr.d.ts +4 -0
  60. package/dist/lib/i18n/resources/fr/material.json.d.ts +5 -1
  61. package/dist/lib/i18n/resources/resources.d.ts +8 -0
  62. package/dist/lib/i18n/translator.d.ts +1 -1
  63. package/dist/lib.js +1 -1
  64. package/dist/main.js +42 -42
  65. package/dist/map.js +8 -8
  66. package/dist/material.css +1 -1
  67. package/dist/pdf-reader.js +1 -1
  68. package/dist/print.js +1 -1
  69. package/dist/{public-CFj2qn7l.js → public-DC9VQw4Z.js} +9 -9
  70. package/dist/{rich-code-block-B7Teg7-e.js → rich-code-block-DBSL9zEN.js} +5 -5
  71. package/dist/{sortable-provider-DU2zp_jn.js → sortable-provider-C4tk5esY.js} +2 -2
  72. package/dist/{spinner-C5Kb6MWu.js → spinner-B2MubVWb.js} +1 -1
  73. package/dist/theme-picker.js +2 -2
  74. package/dist/{theme-toggle-B1JZg7mU.js → theme-toggle-BInlu21G.js} +1 -1
  75. package/dist/{toolbar-items-m_1FTFPQ.js → toolbar-items-CRJSx1MU.js} +3 -3
  76. package/dist/{translate-material-D1ndrd7a.js → translate-material-pVlPJ1v4.js} +1 -1
  77. package/dist/{translator-CtEC_AQa.js → translator-BoYCward.js} +10 -2
  78. package/dist/{typography-prQHb3gI.js → typography-B6YMbCge.js} +1 -1
  79. package/dist/{use-chat-composer-BAoUsyKN.js → use-chat-composer-Cn6yaeO0.js} +16 -16
  80. package/dist/{use-heading-spy-Bzj5mIUZ.js → use-heading-spy-B_Z4ArDh.js} +4 -4
  81. package/dist/{use-material-translation-C6H0B4kE.js → use-material-translation-CIS2n3RB.js} +1 -1
  82. package/dist/{use-return-focus-CkUX1HFl.js → use-return-focus-DNQtADAR.js} +1 -1
  83. package/docs/components/data-display.md +58 -5
  84. package/docs/components/data-table-filter-and-lists.md +8 -3
  85. package/docs/components/feedback-and-status.md +40 -0
  86. package/docs/components/form-fields.md +9 -2
  87. package/docs/components/overlays-and-menus.md +2 -1
  88. package/docs/guides/i18n.md +4 -1
  89. package/docs/guides/theming.md +4 -0
  90. package/docs/previews/data-display-highlightedtext.webp +0 -0
  91. package/docs/roadmap.md +1 -0
  92. package/docs/troubleshooting.md +4 -2
  93. package/lib/components/ui/display/seat-ring/seat-ring.css +26 -0
  94. package/lib/components/ui/feedback/feedback.css +2 -0
  95. package/lib/components/ui/feedback/moment/moment.css +22 -0
  96. package/package.json +2 -2
@@ -101,6 +101,32 @@
101
101
  border-style: dashed;
102
102
  background: transparent;
103
103
  }
104
+ /* Out: dimmed, the name struck through, the avatar greyed, and the word
105
+ * "Out" written under the name, so colour and opacity are never the only cue. */
106
+ .nxgt-seat-ring [data-out] {
107
+ background: color-mix(in oklab, var(--muted) 60%, transparent);
108
+ border-color: var(--border);
109
+ }
110
+ .nxgt-seat-ring [data-out] [data-slot="seat-ring-avatar"] {
111
+ opacity: 0.55;
112
+ filter: grayscale(1);
113
+ }
114
+ .nxgt-seat-ring [data-out] [data-slot="seat-ring-label"] {
115
+ color: var(--muted-foreground);
116
+ text-decoration: line-through;
117
+ text-decoration-thickness: 2px;
118
+ }
119
+ .nxgt-seat-ring [data-slot="seat-ring-out"] {
120
+ padding-inline: 0.375rem;
121
+ border: 1px solid currentColor;
122
+ border-radius: 9999px;
123
+ color: var(--muted-foreground);
124
+ font-size: 0.6875rem;
125
+ font-weight: 600;
126
+ line-height: 1.25rem;
127
+ text-transform: uppercase;
128
+ letter-spacing: 0.04em;
129
+ }
104
130
  .nxgt-seat-ring [data-highlighted] {
105
131
  border-color: var(--primary-indicator, var(--primary));
106
132
  box-shadow: 0 0 0 2px var(--primary-indicator, var(--primary));
@@ -1,4 +1,6 @@
1
1
  @import "./spinner/spinner.css";
2
+ /* Moment: the full-screen announcement. */
3
+ @import "./moment/moment.css";
2
4
  /* Illustration: the classes of the state scenes (EmptyState, ErrorState, @nxgt/material/illustrations). */
3
5
  @import "./state-frame/illustration.css";
4
6
  @import "./progress/progress.css";
@@ -0,0 +1,22 @@
1
+ /* Moment: a full-screen one-off announcement. The surface is the tone's
2
+ * container (the `data-tone` channel), the text the foreground colour, so it
3
+ * reads at AA in light and dark. It fades in and its picture pops in (the
4
+ * keyframes are dialog.css's `nxgt-fade-in` and the `nxgt-pop` of styles.css);
5
+ * under prefers-reduced-motion reduced-motion.css ends both at once (the
6
+ * content carries `data-slot`). */
7
+ @layer components {
8
+ .nxgt-moment {
9
+ background-color: var(--nxgt-tone-container, var(--background));
10
+ color: var(--foreground);
11
+ }
12
+ .nxgt-moment[data-state="open"] {
13
+ animation: nxgt-fade-in 240ms var(--nxgt-ease-effects) backwards;
14
+ }
15
+ .nxgt-moment[data-state="closed"] {
16
+ animation: nxgt-fade-out 160ms var(--nxgt-ease-emphasized-accelerate) both;
17
+ }
18
+ .nxgt-moment[data-state="open"] [data-slot="moment-illustration"] {
19
+ animation: nxgt-pop 520ms var(--nxgt-ease-emphasized-decelerate) 80ms
20
+ backwards;
21
+ }
22
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxgt/material",
3
- "version": "3.73.0",
3
+ "version": "3.74.0",
4
4
  "license": "MIT",
5
5
  "bugs": {
6
6
  "email": "stevegires@gmail.com"
@@ -459,7 +459,7 @@
459
459
  "@fontsource-variable/inter": "^5",
460
460
  "@fortawesome/fontawesome-free": "7.3.1",
461
461
  "@nxgt/material-testing": "0.0.0",
462
- "@nxgt/playwright": "^0.9.7",
462
+ "@nxgt/playwright": "^0.11.0",
463
463
  "@react-leaflet/core": "^3.0.0",
464
464
  "@react-pdf/renderer": "^4.9.0",
465
465
  "@storybook/addon-a11y": "10.6.0",