@wow-two-beta/fe 0.0.48 → 0.0.50
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/dist/feedback/FeedbackBus.d.ts +154 -29
- package/dist/feedback/FeedbackBus.js +264 -27
- package/dist/feedback/FeedbackBus.js.map +1 -1
- package/dist/feedback/index.d.ts +1 -1
- package/dist/feedback/index.js +3 -1
- package/dist/foundation/dom/enums/ElementTag.d.ts +2 -0
- package/dist/foundation/dom/enums/ElementTag.js +3 -1
- package/dist/foundation/dom/enums/ElementTag.js.map +1 -1
- package/dist/index.js +325 -312
- package/dist/index.js.map +1 -1
- package/dist/presentation/display/index.js +105 -102
- package/dist/presentation/display/index.js.map +1 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.d.ts +18 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js +120 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +11 -6
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js +255 -61
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js.map +1 -1
- package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.d.ts → NotificationCenterGroupItem.vue.d.ts} +13 -12
- package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.js → NotificationCenterGroupItem.vue.js} +81 -58
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js +5 -0
- package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js.map +1 -0
- package/dist/presentation/display/notificationCenterGroup/index.d.ts +6 -1
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +1 -9
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js +165 -20
- package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js.map +1 -1
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.d.ts +7 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js +56 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js.map +1 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js +5 -0
- package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js.map +1 -0
- package/dist/presentation/feedback/index.js +9 -1
- package/dist/presentation/feedback/index.js.map +1 -1
- package/dist/presentation/feedback/toast/Toast.vue.d.ts +34 -8
- package/dist/presentation/feedback/toast/Toast.vue.js +290 -85
- package/dist/presentation/feedback/toast/Toast.vue.js.map +1 -1
- package/dist/presentation/feedback/toast/ToastContent.vue.d.ts +25 -0
- package/dist/presentation/feedback/toast/ToastContent.vue.js +78 -0
- package/dist/presentation/feedback/toast/ToastContent.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastContent2.vue.js +5 -0
- package/dist/presentation/feedback/toast/ToastContent2.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.d.ts +15 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js +88 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js +5 -0
- package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js.map +1 -0
- package/dist/presentation/feedback/toast/ToastSurface.d.ts +8 -0
- package/dist/presentation/feedback/toast/ToastSurface.js +10 -0
- package/dist/presentation/feedback/toast/ToastSurface.js.map +1 -0
- package/dist/presentation/feedback/toast/index.d.ts +1 -0
- package/dist/presentation/feedback/toastHost/ToastContent.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/ToastEntry.d.ts +12 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.d.ts +2 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js +11 -0
- package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastGroup.d.ts +8 -0
- package/dist/presentation/feedback/toastHost/ToastGroupLatest.d.ts +10 -0
- package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +55 -110
- package/dist/presentation/feedback/toastHost/ToastHost.vue.js +394 -399
- package/dist/presentation/feedback/toastHost/ToastHost.vue.js.map +1 -1
- package/dist/presentation/feedback/toastHost/ToastHost2.vue.js +4 -5
- package/dist/presentation/feedback/toastHost/ToastHostStore.d.ts +37 -0
- package/dist/presentation/feedback/toastHost/ToastHostStore.js +98 -0
- package/dist/presentation/feedback/toastHost/ToastHostStore.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.d.ts +34 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.js +44 -0
- package/dist/presentation/feedback/toastHost/ToastHostStyles.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastNode.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/ToastOptions.d.ts +72 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.d.ts +11 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.js +44 -0
- package/dist/presentation/feedback/toastHost/ToastProgress.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastPromiseOptions.d.ts +12 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.d.ts +14 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.js +65 -0
- package/dist/presentation/feedback/toastHost/ToastRing.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastRing2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastRing2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.d.ts +9 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js +56 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js +5 -0
- package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js.map +1 -0
- package/dist/presentation/feedback/toastHost/ToastSeverity.d.ts +3 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.d.ts +27 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.js +34 -0
- package/dist/presentation/feedback/toastHost/UseResolvedToasts.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.d.ts +14 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js +106 -0
- package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.d.ts +34 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.js +128 -0
- package/dist/presentation/feedback/toastHost/UseToastCapacity.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.d.ts +44 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.js +134 -0
- package/dist/presentation/feedback/toastHost/UseToastClock.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.d.ts +26 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.js +23 -0
- package/dist/presentation/feedback/toastHost/UseToastCountdown.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.d.ts +4 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.js +17 -0
- package/dist/presentation/feedback/toastHost/UseToastEntries.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.d.ts +11 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.js +52 -0
- package/dist/presentation/feedback/toastHost/UseToastExits.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.d.ts +43 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js +173 -0
- package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.d.ts +10 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.js +14 -0
- package/dist/presentation/feedback/toastHost/UseToastHost.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.d.ts +20 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.js +66 -0
- package/dist/presentation/feedback/toastHost/UseToastHotkey.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.d.ts +26 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.js +35 -0
- package/dist/presentation/feedback/toastHost/UseToastPins.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.d.ts +27 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.js +96 -0
- package/dist/presentation/feedback/toastHost/UseToastStackMotion.js.map +1 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.d.ts +19 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.js +173 -0
- package/dist/presentation/feedback/toastHost/UseToastSwipe.js.map +1 -0
- package/dist/presentation/feedback/toastHost/index.d.ts +8 -1
- package/dist/presentation/feedback/toastHost/index.js +7 -1
- package/dist/presentation/feedback/toastHost/index.js.map +1 -1
- package/dist/presentation/feedback/toastHost/styles.css +14 -2
- package/dist/presentation/layout/grid/Grid.variants.d.ts +7 -0
- package/dist/presentation/layout/grid/Grid.variants.js +4 -0
- package/dist/presentation/layout/grid/Grid.variants.js.map +1 -1
- package/dist/presentation/layout/grid/Grid.vue.d.ts +5 -0
- package/dist/presentation/layout/grid/Grid.vue.js +16 -4
- package/dist/presentation/layout/grid/Grid.vue.js.map +1 -1
- package/dist/presentation/layout/grid/index.d.ts +1 -1
- package/dist/presentation/layout/index.js +3 -1
- package/dist/presentation/layout/navbar/Navbar.vue.js.map +1 -1
- package/dist/presentation/overlays/popover/PopoverContent.vue.js +4 -4
- package/dist/presentation/overlays/popover/PopoverContent.vue.js.map +1 -1
- package/dist/presentation/overlays/tooltip/Tooltip.vue.js +52 -63
- package/dist/presentation/overlays/tooltip/Tooltip.vue.js.map +1 -1
- package/package.json +1 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.js.map +0 -1
- package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js +0 -5
- package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js.map +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NoticePriority } from '../../../feedback';
|
|
2
2
|
import { OverlayPosition } from '../../../foundation/styles';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
export type ToastSeverity = NonNullable<ToastSimpleVariants['severity']>;
|
|
3
|
+
import { ToastSurface } from '../toast/ToastSurface';
|
|
4
|
+
import { ToastSeverity } from './ToastSeverity';
|
|
6
5
|
/** Defines how a toast shows the time left before it dismisses itself. */
|
|
7
6
|
export declare const ToastTimer: {
|
|
8
7
|
/** Refers to no countdown — the toast still expires on time. */
|
|
@@ -11,110 +10,44 @@ export declare const ToastTimer: {
|
|
|
11
10
|
readonly Bar: "bar";
|
|
12
11
|
/** Refers to a ring draining beside the close button. */
|
|
13
12
|
readonly Ring: "ring";
|
|
13
|
+
/** Refers to a ring around the close button, with a dim arc for elapsed time. */
|
|
14
|
+
readonly CloseRing: "closeRing";
|
|
14
15
|
/** Refers to the whole seconds left, counted beside the close button. */
|
|
15
16
|
readonly Seconds: "seconds";
|
|
16
17
|
};
|
|
17
18
|
export type ToastTimer = (typeof ToastTimer)[keyof typeof ToastTimer];
|
|
18
|
-
/**
|
|
19
|
-
export declare const
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
action?: ToastNode;
|
|
37
|
-
/**
|
|
38
|
-
* Sends a one-click report of the failure this toast shows; the toast renders a Report action that walks
|
|
39
|
-
* sending → reported (with the reference) → retry on failure. Pairs with `/reporting`'s `capture(error).send`.
|
|
40
|
-
*/
|
|
41
|
-
report?: ReportSend;
|
|
42
|
-
/** Shows the severity's own glyph when no `icon` is given. Default: the ToastHost's `showSeverityIcon`. */
|
|
43
|
-
showSeverityIcon?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Fully custom body — replaces the default `Toast` chrome (icon/title/description/close).
|
|
46
|
-
* Still animates + auto-dismisses; the content owns its close via the returned id.
|
|
47
|
-
*/
|
|
48
|
-
content?: ToastNode;
|
|
49
|
-
/**
|
|
50
|
-
* Fired when the toast is removed — auto-dismiss, close button, `dismiss(id)`, or `dismissAll()`.
|
|
51
|
-
* Not fired on a dedup-update. For undo cleanup / analytics.
|
|
52
|
-
*/
|
|
53
|
-
onDismiss?: () => void;
|
|
54
|
-
/** Deletes an explicitly retained notification; omitted for transient toasts. */
|
|
55
|
-
onDelete?: () => void;
|
|
56
|
-
/**
|
|
57
|
-
* Dedup key — a `toast` whose `key` is already showing updates that toast in place,
|
|
58
|
-
* refreshing its timer instead of stacking a duplicate.
|
|
59
|
-
*/
|
|
60
|
-
key?: string;
|
|
61
|
-
/** How this toast shows its time left. Default: the ToastHost's `timer`. */
|
|
62
|
-
timer?: ToastTimer;
|
|
63
|
-
/**
|
|
64
|
-
* Shows or hides this toast's countdown bar.
|
|
65
|
-
* @deprecated Use `timer` — `ToastTimer.Bar` or `ToastTimer.None`.
|
|
66
|
-
*/
|
|
67
|
-
progress?: boolean;
|
|
68
|
-
}
|
|
69
|
-
/** Content for a `toastHost.promise` phase — a title string, or a full partial options object. */
|
|
70
|
-
export type ToastContent = string | Partial<ToastOptions>;
|
|
71
|
-
/**
|
|
72
|
-
* Options for `toastHost.promise` — loading / success / error content
|
|
73
|
-
* (success + error may be a fn of the settled value).
|
|
74
|
-
*/
|
|
75
|
-
export interface ToastPromiseOptions<T> {
|
|
76
|
-
loading: ToastContent;
|
|
77
|
-
success: ToastContent | ((value: T) => ToastContent);
|
|
78
|
-
error: ToastContent | ((err: unknown) => ToastContent);
|
|
79
|
-
/** Auto-dismiss (ms) for the settled toast; defaults to the ToastHost's `defaultDuration`. */
|
|
80
|
-
duration?: number;
|
|
81
|
-
}
|
|
82
|
-
interface ToastEntry extends ToastOptions {
|
|
83
|
-
id: string;
|
|
84
|
-
/** Bumped on every `update` / dedup so the viewport can reset that toast's auto-dismiss timer. */
|
|
85
|
-
nonce: number;
|
|
86
|
-
}
|
|
87
|
-
type Listener = (toasts: ReadonlyArray<ToastEntry>) => void;
|
|
88
|
-
declare class ToastHostStore {
|
|
89
|
-
private items;
|
|
90
|
-
private listeners;
|
|
91
|
-
private idSeq;
|
|
92
|
-
toast(opts: ToastOptions): string;
|
|
93
|
-
/** Merges a patch into an existing toast (content + severity + duration), refreshing its timer. */
|
|
94
|
-
update(id: string, patch: Partial<ToastOptions>): void;
|
|
95
|
-
/** Shows a sticky loading toast; returns the full content-update and promise settlement chain. */
|
|
96
|
-
promise<T>(promise: Promise<T>, opts: ToastPromiseOptions<T>): Promise<T>;
|
|
97
|
-
dismiss(id: string): void;
|
|
98
|
-
dismissAll(): void;
|
|
99
|
-
subscribe(fn: Listener): () => void;
|
|
100
|
-
private emit;
|
|
101
|
-
}
|
|
102
|
-
export declare const toastHost: ToastHostStore;
|
|
103
|
-
/**
|
|
104
|
-
* The imperative toast API, bound to the app-wide store. A plain object — the
|
|
105
|
-
* store is a module singleton, so there is nothing per-instance to memoize.
|
|
106
|
-
*/
|
|
107
|
-
export declare function useToastHost(): {
|
|
108
|
-
toast: (opts: ToastOptions) => string;
|
|
109
|
-
update: (id: string, patch: Partial<ToastOptions>) => void;
|
|
110
|
-
promise: <T>(promise: Promise<T>, opts: ToastPromiseOptions<T>) => Promise<T>;
|
|
111
|
-
dismiss: (id: string) => void;
|
|
112
|
-
dismissAll: () => void;
|
|
19
|
+
/** Defines the entry and exit motion of a toast stack. */
|
|
20
|
+
export declare const ToastMotion: {
|
|
21
|
+
/** Refers to a horizontal slide in from the side of the selected corner. */
|
|
22
|
+
readonly SideSlide: "sideSlide";
|
|
23
|
+
/** Refers to a short move toward the selected top or bottom edge. */
|
|
24
|
+
readonly ShortSlide: "shortSlide";
|
|
25
|
+
/** Refers to a move by the card's height toward the selected top or bottom edge. */
|
|
26
|
+
readonly EdgeSlide: "edgeSlide";
|
|
27
|
+
/** Refers to a move toward the edge while scaling to full size. */
|
|
28
|
+
readonly SlideAndSettle: "slideAndSettle";
|
|
29
|
+
};
|
|
30
|
+
export type ToastMotion = (typeof ToastMotion)[keyof typeof ToastMotion];
|
|
31
|
+
/** Defines how a group shows a new arrival. */
|
|
32
|
+
export declare const ToastGroupMotion: {
|
|
33
|
+
/** Refers to a preview that passes over the stack and merges into its group. */
|
|
34
|
+
readonly Card: "card";
|
|
35
|
+
/** Refers to an in-place update whose count briefly glows. */
|
|
36
|
+
readonly Highlight: "highlight";
|
|
113
37
|
};
|
|
38
|
+
export type ToastGroupMotion = (typeof ToastGroupMotion)[keyof typeof ToastGroupMotion];
|
|
39
|
+
/** Defines props for the toast viewport. */
|
|
114
40
|
export interface ToastHostProps {
|
|
115
|
-
/**
|
|
41
|
+
/** The corner or centered edge the stack grows from. Defaults to top-right. */
|
|
116
42
|
readonly position?: OverlayPosition;
|
|
43
|
+
/** The entry and exit motion of the cards. Defaults to `ToastMotion.SideSlide`. */
|
|
44
|
+
readonly motion?: ToastMotion;
|
|
45
|
+
/** The motion a group shows for a new arrival. Defaults to `ToastGroupMotion.Highlight`. */
|
|
46
|
+
readonly groupMotion?: ToastGroupMotion;
|
|
47
|
+
/** The maximum number of cards shown at rest, subject to viewport height. Default 5. */
|
|
117
48
|
readonly max?: number;
|
|
49
|
+
/** The time cards take to slide together after an exit, in ms. Default 200. Set to 0 for an instant reflow. */
|
|
50
|
+
readonly moveDuration?: number;
|
|
118
51
|
/**
|
|
119
52
|
* The auto-dismiss delay in ms for a severity missing from `durations`; per-toast `duration` overrides.
|
|
120
53
|
* Default 5000. `Infinity` to disable.
|
|
@@ -125,32 +58,44 @@ export interface ToastHostProps {
|
|
|
125
58
|
* back to `defaultDuration`. Default `DefaultToastDurations` — errors stay 8 seconds. Replaces, never merges.
|
|
126
59
|
*/
|
|
127
60
|
readonly durations?: Readonly<Partial<Record<ToastSeverity, number>>>;
|
|
61
|
+
/** The display lifetime in ms per priority; unclassified notices count as Normal. */
|
|
62
|
+
readonly priorityDurations?: Readonly<Partial<Record<NoticePriority, number>>>;
|
|
63
|
+
/** The switch for holding the expiry clocks while the stack is hovered or focused. Default `true`. */
|
|
128
64
|
readonly canPauseOnHover?: boolean;
|
|
65
|
+
/** The default for showing Pin on timed cards; a toast's `canPin` overrides. Default `true`. */
|
|
66
|
+
readonly canPin?: boolean;
|
|
67
|
+
/** The space between cards, in px. Default 8. */
|
|
129
68
|
readonly gap?: number;
|
|
130
69
|
/**
|
|
131
|
-
*
|
|
132
|
-
* the expiry timer and restarts
|
|
133
|
-
*
|
|
134
|
-
* seconds. Default `ToastTimer.None`.
|
|
70
|
+
* The display each auto-dismissing toast shows its time left in; a toast's `timer` overrides. Every display
|
|
71
|
+
* pauses with the expiry timer and restarts on update. Pinned, sticky and running toasts show none. Reduced
|
|
72
|
+
* motion drops bars and rings. Custom `content` uses a bar for any visible timer. Default `ToastTimer.None`.
|
|
135
73
|
*/
|
|
136
74
|
readonly timer?: ToastTimer;
|
|
75
|
+
/** The switch for each severity's glyph on toasts given no `icon`; a toast's `showSeverityIcon` overrides. */
|
|
76
|
+
readonly showSeverityIcon?: boolean;
|
|
77
|
+
/** The card material; a toast's `surface` overrides. Default `ToastSurface.Solid`. */
|
|
78
|
+
readonly surface?: ToastSurface;
|
|
137
79
|
/**
|
|
138
|
-
*
|
|
139
|
-
*
|
|
80
|
+
* The key that moves focus to the card nearest the anchor, or `false` for none; Escape returns it. The stack's
|
|
81
|
+
* name includes it. Default `'F8'`.
|
|
140
82
|
*/
|
|
141
|
-
readonly
|
|
142
|
-
/** Shows each severity's glyph on toasts given no `icon`; a toast's `showSeverityIcon` overrides. Default `true`. */
|
|
143
|
-
readonly showSeverityIcon?: boolean;
|
|
83
|
+
readonly hotkey?: string | false;
|
|
144
84
|
}
|
|
145
85
|
declare const _default: import('vue').DefineComponent<ToastHostProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ToastHostProps> & Readonly<{}>, {
|
|
146
86
|
readonly position: OverlayPosition;
|
|
87
|
+
readonly surface: ToastSurface;
|
|
147
88
|
readonly max: number;
|
|
148
89
|
readonly gap: number;
|
|
149
90
|
readonly canPauseOnHover: boolean;
|
|
91
|
+
readonly canPin: boolean;
|
|
150
92
|
readonly timer: ToastTimer;
|
|
151
93
|
readonly showSeverityIcon: boolean;
|
|
94
|
+
readonly hotkey: string | false;
|
|
95
|
+
readonly motion: ToastMotion;
|
|
96
|
+
readonly groupMotion: ToastGroupMotion;
|
|
97
|
+
readonly moveDuration: number;
|
|
152
98
|
readonly defaultDuration: number;
|
|
153
99
|
readonly durations: Readonly<Partial<Record<ToastSeverity, number>>>;
|
|
154
|
-
readonly showProgress: boolean;
|
|
155
100
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
156
101
|
export default _default;
|