@nxgt/material 3.99.0 → 3.100.1
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 +18 -0
- package/README.md +1 -1
- package/dist/{components-DPmZnTlW.js → components-BrZkSs3O.js} +3338 -3289
- package/dist/components.js +33 -33
- package/dist/lib/components/ui/feedback/toast/index.d.ts +1 -0
- package/dist/lib/components/ui/feedback/toast/use-scoped-toasts.d.ts +22 -0
- package/dist/main.js +49 -49
- package/docs/components/feedback-and-status.md +23 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.100.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#2824](https://github.com/softistx/nxgt-material/pull/2824) [`43f1c4a`](https://github.com/softistx/nxgt-material/commit/43f1c4a30f7dcbe9ab10bfa0c68e96f0c14b273b) Thanks [@SteveGT96](https://github.com/SteveGT96)! - `MarkdownTextareaField` and `MarkdownTextareaFormField`: the "Formatting help" summary and the Write / Preview tabs are now at least 44px high on every viewport (the summary was 16px, the tabs 40px), so a tap-target check passes without a consumer override.
|
|
8
|
+
|
|
9
|
+
- [#2828](https://github.com/softistx/nxgt-material/pull/2828) [`80e4bda`](https://github.com/softistx/nxgt-material/commit/80e4bdaec0d5ed49fc039646dcabef94a2aa49f5) Thanks [@SteveGT96](https://github.com/SteveGT96)! - Question: the reference links of a revealed question keep a 44px minimum tap target on phone, instead of an inline anchor about 37px tall.
|
|
10
|
+
|
|
11
|
+
## 3.100.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#2814](https://github.com/softistx/nxgt-material/pull/2814) [`f46e0e9`](https://github.com/softistx/nxgt-material/commit/f46e0e919e3c2f0549f3447c3c33d1fb34818f8c) Thanks [@SteveGT96](https://github.com/SteveGT96)! - feat(toast): add `useScopedToasts()`, the `toasts` API scoped to the component that calls it. Every toast it shows (`success`, `error`, `warning`, `info`, `loading`, `custom`, `promise`) is dismissed when the component unmounts, so an « Undo » action never outlives its page; `dismiss()` without an id takes down only that scope's toasts.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#2804](https://github.com/softistx/nxgt-material/pull/2804) [`54af413`](https://github.com/softistx/nxgt-material/commit/54af413f7fff29f6375a1e7202937be106add532) Thanks [@SteveGT96](https://github.com/SteveGT96)! - EventCalendar: the month view's weekend weekday headers keep the AA text contrast (they were drawn at 70% opacity and failed axe `color-contrast`); a lighter weight marks them instead. The cell of the 1st of a month, which shows "1 Mar", now has an accessible name that starts with that text (WCAG 2.5.3).
|
|
20
|
+
|
|
3
21
|
## 3.99.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -879,7 +879,7 @@ Not components: what the stylesheet gives any element.
|
|
|
879
879
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-spinner.webp" width="120" alt="Spinner"> | [`Spinner`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#spinner) | Loading spinner in several styles and colours. | `Spinner` |
|
|
880
880
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-loadingindicator.webp" width="120" alt="LoadingIndicator"> | [`LoadingIndicator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#loadingindicator) | Material 3 Expressive's loading indicator: a shape morphing while it turns, with no script. | — |
|
|
881
881
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-typingindicator.webp" width="120" alt="TypingIndicator"> | [`TypingIndicator`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#typingindicator) | Three dots in a wave, plain or as a chat bubble; still under reduced motion. | — |
|
|
882
|
-
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-toast.webp" width="120" alt="Toaster"> | [`Toaster`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#toast), `toast`, `toasts`, `Toast` | Sonner toasts on the M3 inverse snackbar surface, with a shape per tone, an X and an action (`ToastAction`) in the tone's inverse colour. `toasts` provides `success` / `error` / `warning` / `info` / `loading` presets and `promise` (loading, then done, in place). | `Toaster`, `toast`, `toasts`, `Toast` |
|
|
882
|
+
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-toast.webp" width="120" alt="Toaster"> | [`Toaster`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#toast), `toast`, `toasts`, `Toast` | Sonner toasts on the M3 inverse snackbar surface, with a shape per tone, an X and an action (`ToastAction`) in the tone's inverse colour. `toasts` provides `success` / `error` / `warning` / `info` / `loading` presets and `promise` (loading, then done, in place). `useScopedToasts()` is the same API, dismissed when the calling page unmounts. | `Toaster`, `toast`, `toasts`, `useScopedToasts`, `Toast` |
|
|
883
883
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-skeleton.webp" width="120" alt="Skeleton"> | [`Skeleton`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#skeleton), `SkeletonAvatar`, `SkeletonCard`, `SkeletonText`, `SkeletonTable` | Loading placeholder and ready-made shapes. | `Skeleton` (same parts) |
|
|
884
884
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-hydrateloading.webp" width="120" alt="HydrateLoading"> | [`HydrateLoading`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#hydrateloading) | Full-area spinner shown while hydrating. | `HydrateLoading` |
|
|
885
885
|
| <img src="https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/previews/feedback-status-notifications.webp" width="120" alt="Notifications"> | [`Notifications`](https://cdn.jsdelivr.net/npm/@nxgt/material@3/docs/components/feedback-and-status.md#notifications) | Notification centre as a bell popover, a side sheet (a full-screen sheet on a phone) or an inline panel: sticky Today / Yesterday / Earlier groups, tone icons and avatars, All / Unread counts, topics, search, mark read / dismiss, inline actions, skeleton and load more, two densities. | `Notifications` |
|