@wow-two-beta/fe 0.0.49 → 0.0.51

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 (195) hide show
  1. package/dist/feedback/FeedbackBus.d.ts +154 -29
  2. package/dist/feedback/FeedbackBus.js +264 -27
  3. package/dist/feedback/FeedbackBus.js.map +1 -1
  4. package/dist/feedback/index.d.ts +1 -1
  5. package/dist/feedback/index.js +3 -1
  6. package/dist/foundation/dom/enums/ElementTag.d.ts +2 -0
  7. package/dist/foundation/dom/enums/ElementTag.js +3 -1
  8. package/dist/foundation/dom/enums/ElementTag.js.map +1 -1
  9. package/dist/index.js +404 -382
  10. package/dist/index.js.map +1 -1
  11. package/dist/presentation/actions/button/Button.variants.d.ts +12 -0
  12. package/dist/presentation/actions/button/Button.variants.js +18 -2
  13. package/dist/presentation/actions/button/Button.variants.js.map +1 -1
  14. package/dist/presentation/actions/button/Button.vue.d.ts +8 -1
  15. package/dist/presentation/actions/button/Button.vue.js +106 -58
  16. package/dist/presentation/actions/button/Button.vue.js.map +1 -1
  17. package/dist/presentation/actions/refreshButton/RefreshButton.vue.js.map +1 -1
  18. package/dist/presentation/display/badge/Badge.variants.d.ts +23 -1
  19. package/dist/presentation/display/badge/Badge.variants.js +18 -3
  20. package/dist/presentation/display/badge/Badge.variants.js.map +1 -1
  21. package/dist/presentation/display/badge/Badge.vue.d.ts +3 -0
  22. package/dist/presentation/display/badge/Badge.vue.js +10 -4
  23. package/dist/presentation/display/badge/Badge.vue.js.map +1 -1
  24. package/dist/presentation/display/carousel/Carousel.variants.d.ts +65 -0
  25. package/dist/presentation/display/carousel/Carousel.variants.js +56 -0
  26. package/dist/presentation/display/carousel/Carousel.variants.js.map +1 -0
  27. package/dist/presentation/display/carousel/Carousel.vue.d.ts +7 -0
  28. package/dist/presentation/display/carousel/Carousel.vue.js +7 -2
  29. package/dist/presentation/display/carousel/Carousel.vue.js.map +1 -1
  30. package/dist/presentation/display/carousel/CarouselContext.d.ts +10 -0
  31. package/dist/presentation/display/carousel/CarouselContext.js.map +1 -1
  32. package/dist/presentation/display/carousel/CarouselNext.vue.d.ts +6 -2
  33. package/dist/presentation/display/carousel/CarouselNext.vue.js +12 -4
  34. package/dist/presentation/display/carousel/CarouselNext.vue.js.map +1 -1
  35. package/dist/presentation/display/carousel/CarouselPrev.vue.d.ts +6 -2
  36. package/dist/presentation/display/carousel/CarouselPrev.vue.js +12 -4
  37. package/dist/presentation/display/carousel/CarouselPrev.vue.js.map +1 -1
  38. package/dist/presentation/display/carousel/CarouselViewport.vue.d.ts +13 -2
  39. package/dist/presentation/display/carousel/CarouselViewport.vue.js +54 -2
  40. package/dist/presentation/display/carousel/CarouselViewport.vue.js.map +1 -1
  41. package/dist/presentation/display/carousel/index.d.ts +1 -0
  42. package/dist/presentation/display/index.d.ts +1 -0
  43. package/dist/presentation/display/index.js +120 -108
  44. package/dist/presentation/display/index.js.map +1 -1
  45. package/dist/presentation/display/mediaCard/MediaCard.vue.d.ts +41 -0
  46. package/dist/presentation/display/mediaCard/MediaCard.vue.js +108 -0
  47. package/dist/presentation/display/mediaCard/MediaCard.vue.js.map +1 -0
  48. package/dist/presentation/display/mediaCard/MediaCard2.vue.js +5 -0
  49. package/dist/presentation/display/mediaCard/MediaCard2.vue.js.map +1 -0
  50. package/dist/presentation/display/mediaCard/index.d.ts +1 -0
  51. package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.d.ts +37 -0
  52. package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.js +72 -0
  53. package/dist/presentation/display/metaInlineText/MetaInlineItem.vue.js.map +1 -0
  54. package/dist/presentation/display/metaInlineText/MetaInlineItem2.vue.js +7 -0
  55. package/dist/presentation/display/metaInlineText/MetaInlineItem2.vue.js.map +1 -0
  56. package/dist/presentation/display/metaInlineText/index.d.ts +1 -0
  57. package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.d.ts +18 -0
  58. package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js +120 -0
  59. package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton.vue.js.map +1 -0
  60. package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js +5 -0
  61. package/dist/presentation/display/notificationCenterGroup/NotificationCenterButton2.vue.js.map +1 -0
  62. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.d.ts +11 -6
  63. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js +255 -61
  64. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroup.vue.js.map +1 -1
  65. package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.d.ts → NotificationCenterGroupItem.vue.d.ts} +13 -12
  66. package/dist/presentation/display/notificationCenterGroup/{NotificationItem.vue.js → NotificationCenterGroupItem.vue.js} +81 -58
  67. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem.vue.js.map +1 -0
  68. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js +5 -0
  69. package/dist/presentation/display/notificationCenterGroup/NotificationCenterGroupItem2.vue.js.map +1 -0
  70. package/dist/presentation/display/notificationCenterGroup/index.d.ts +6 -1
  71. package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.d.ts +1 -9
  72. package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js +165 -20
  73. package/dist/presentation/feedback/feedbackToastHost/FeedbackToastHost.vue.js.map +1 -1
  74. package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.d.ts +7 -0
  75. package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js +56 -0
  76. package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton.vue.js.map +1 -0
  77. package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js +5 -0
  78. package/dist/presentation/feedback/feedbackToastHost/RemindLaterButton2.vue.js.map +1 -0
  79. package/dist/presentation/feedback/index.js +9 -1
  80. package/dist/presentation/feedback/index.js.map +1 -1
  81. package/dist/presentation/feedback/toast/Toast.vue.d.ts +34 -8
  82. package/dist/presentation/feedback/toast/Toast.vue.js +290 -85
  83. package/dist/presentation/feedback/toast/Toast.vue.js.map +1 -1
  84. package/dist/presentation/feedback/toast/ToastContent.vue.d.ts +25 -0
  85. package/dist/presentation/feedback/toast/ToastContent.vue.js +78 -0
  86. package/dist/presentation/feedback/toast/ToastContent.vue.js.map +1 -0
  87. package/dist/presentation/feedback/toast/ToastContent2.vue.js +5 -0
  88. package/dist/presentation/feedback/toast/ToastContent2.vue.js.map +1 -0
  89. package/dist/presentation/feedback/toast/ToastRunningProgress.vue.d.ts +15 -0
  90. package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js +88 -0
  91. package/dist/presentation/feedback/toast/ToastRunningProgress.vue.js.map +1 -0
  92. package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js +5 -0
  93. package/dist/presentation/feedback/toast/ToastRunningProgress2.vue.js.map +1 -0
  94. package/dist/presentation/feedback/toast/ToastSurface.d.ts +8 -0
  95. package/dist/presentation/feedback/toast/ToastSurface.js +10 -0
  96. package/dist/presentation/feedback/toast/ToastSurface.js.map +1 -0
  97. package/dist/presentation/feedback/toast/index.d.ts +1 -0
  98. package/dist/presentation/feedback/toastHost/ToastContent.d.ts +3 -0
  99. package/dist/presentation/feedback/toastHost/ToastEntry.d.ts +12 -0
  100. package/dist/presentation/feedback/toastHost/ToastFocusExtensions.d.ts +2 -0
  101. package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js +11 -0
  102. package/dist/presentation/feedback/toastHost/ToastFocusExtensions.js.map +1 -0
  103. package/dist/presentation/feedback/toastHost/ToastGroup.d.ts +8 -0
  104. package/dist/presentation/feedback/toastHost/ToastGroupLatest.d.ts +10 -0
  105. package/dist/presentation/feedback/toastHost/ToastHost.vue.d.ts +55 -110
  106. package/dist/presentation/feedback/toastHost/ToastHost.vue.js +394 -399
  107. package/dist/presentation/feedback/toastHost/ToastHost.vue.js.map +1 -1
  108. package/dist/presentation/feedback/toastHost/ToastHost2.vue.js +4 -5
  109. package/dist/presentation/feedback/toastHost/ToastHostStore.d.ts +37 -0
  110. package/dist/presentation/feedback/toastHost/ToastHostStore.js +98 -0
  111. package/dist/presentation/feedback/toastHost/ToastHostStore.js.map +1 -0
  112. package/dist/presentation/feedback/toastHost/ToastHostStyles.d.ts +34 -0
  113. package/dist/presentation/feedback/toastHost/ToastHostStyles.js +44 -0
  114. package/dist/presentation/feedback/toastHost/ToastHostStyles.js.map +1 -0
  115. package/dist/presentation/feedback/toastHost/ToastNode.d.ts +3 -0
  116. package/dist/presentation/feedback/toastHost/ToastOptions.d.ts +72 -0
  117. package/dist/presentation/feedback/toastHost/ToastProgress.vue.d.ts +11 -0
  118. package/dist/presentation/feedback/toastHost/ToastProgress.vue.js +44 -0
  119. package/dist/presentation/feedback/toastHost/ToastProgress.vue.js.map +1 -0
  120. package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js +5 -0
  121. package/dist/presentation/feedback/toastHost/ToastProgress2.vue.js.map +1 -0
  122. package/dist/presentation/feedback/toastHost/ToastPromiseOptions.d.ts +12 -0
  123. package/dist/presentation/feedback/toastHost/ToastRing.vue.d.ts +14 -0
  124. package/dist/presentation/feedback/toastHost/ToastRing.vue.js +65 -0
  125. package/dist/presentation/feedback/toastHost/ToastRing.vue.js.map +1 -0
  126. package/dist/presentation/feedback/toastHost/ToastRing2.vue.js +5 -0
  127. package/dist/presentation/feedback/toastHost/ToastRing2.vue.js.map +1 -0
  128. package/dist/presentation/feedback/toastHost/ToastSeconds.vue.d.ts +9 -0
  129. package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js +56 -0
  130. package/dist/presentation/feedback/toastHost/ToastSeconds.vue.js.map +1 -0
  131. package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js +5 -0
  132. package/dist/presentation/feedback/toastHost/ToastSeconds2.vue.js.map +1 -0
  133. package/dist/presentation/feedback/toastHost/ToastSeverity.d.ts +3 -0
  134. package/dist/presentation/feedback/toastHost/UseResolvedToasts.d.ts +27 -0
  135. package/dist/presentation/feedback/toastHost/UseResolvedToasts.js +34 -0
  136. package/dist/presentation/feedback/toastHost/UseResolvedToasts.js.map +1 -0
  137. package/dist/presentation/feedback/toastHost/UseToastAnnouncer.d.ts +14 -0
  138. package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js +106 -0
  139. package/dist/presentation/feedback/toastHost/UseToastAnnouncer.js.map +1 -0
  140. package/dist/presentation/feedback/toastHost/UseToastCapacity.d.ts +34 -0
  141. package/dist/presentation/feedback/toastHost/UseToastCapacity.js +128 -0
  142. package/dist/presentation/feedback/toastHost/UseToastCapacity.js.map +1 -0
  143. package/dist/presentation/feedback/toastHost/UseToastClock.d.ts +44 -0
  144. package/dist/presentation/feedback/toastHost/UseToastClock.js +134 -0
  145. package/dist/presentation/feedback/toastHost/UseToastClock.js.map +1 -0
  146. package/dist/presentation/feedback/toastHost/UseToastCountdown.d.ts +26 -0
  147. package/dist/presentation/feedback/toastHost/UseToastCountdown.js +23 -0
  148. package/dist/presentation/feedback/toastHost/UseToastCountdown.js.map +1 -0
  149. package/dist/presentation/feedback/toastHost/UseToastEntries.d.ts +4 -0
  150. package/dist/presentation/feedback/toastHost/UseToastEntries.js +17 -0
  151. package/dist/presentation/feedback/toastHost/UseToastEntries.js.map +1 -0
  152. package/dist/presentation/feedback/toastHost/UseToastExits.d.ts +11 -0
  153. package/dist/presentation/feedback/toastHost/UseToastExits.js +52 -0
  154. package/dist/presentation/feedback/toastHost/UseToastExits.js.map +1 -0
  155. package/dist/presentation/feedback/toastHost/UseToastGroupMotion.d.ts +43 -0
  156. package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js +173 -0
  157. package/dist/presentation/feedback/toastHost/UseToastGroupMotion.js.map +1 -0
  158. package/dist/presentation/feedback/toastHost/UseToastHost.d.ts +10 -0
  159. package/dist/presentation/feedback/toastHost/UseToastHost.js +14 -0
  160. package/dist/presentation/feedback/toastHost/UseToastHost.js.map +1 -0
  161. package/dist/presentation/feedback/toastHost/UseToastHotkey.d.ts +20 -0
  162. package/dist/presentation/feedback/toastHost/UseToastHotkey.js +66 -0
  163. package/dist/presentation/feedback/toastHost/UseToastHotkey.js.map +1 -0
  164. package/dist/presentation/feedback/toastHost/UseToastPins.d.ts +26 -0
  165. package/dist/presentation/feedback/toastHost/UseToastPins.js +35 -0
  166. package/dist/presentation/feedback/toastHost/UseToastPins.js.map +1 -0
  167. package/dist/presentation/feedback/toastHost/UseToastStackMotion.d.ts +27 -0
  168. package/dist/presentation/feedback/toastHost/UseToastStackMotion.js +96 -0
  169. package/dist/presentation/feedback/toastHost/UseToastStackMotion.js.map +1 -0
  170. package/dist/presentation/feedback/toastHost/UseToastSwipe.d.ts +19 -0
  171. package/dist/presentation/feedback/toastHost/UseToastSwipe.js +173 -0
  172. package/dist/presentation/feedback/toastHost/UseToastSwipe.js.map +1 -0
  173. package/dist/presentation/feedback/toastHost/index.d.ts +8 -1
  174. package/dist/presentation/feedback/toastHost/index.js +7 -1
  175. package/dist/presentation/feedback/toastHost/index.js.map +1 -1
  176. package/dist/presentation/feedback/toastHost/styles.css +14 -2
  177. package/dist/presentation/layout/grid/Grid.variants.d.ts +7 -0
  178. package/dist/presentation/layout/grid/Grid.variants.js +4 -0
  179. package/dist/presentation/layout/grid/Grid.variants.js.map +1 -1
  180. package/dist/presentation/layout/grid/Grid.vue.d.ts +5 -0
  181. package/dist/presentation/layout/grid/Grid.vue.js +16 -4
  182. package/dist/presentation/layout/grid/Grid.vue.js.map +1 -1
  183. package/dist/presentation/layout/grid/index.d.ts +1 -1
  184. package/dist/presentation/layout/index.js +3 -1
  185. package/dist/presentation/nav/accountMenu/AccountMenu.vue.d.ts +1 -1
  186. package/dist/presentation/overlays/hoverCard/HoverCard.vue.d.ts +1 -1
  187. package/dist/presentation/overlays/popover/PopoverContent.vue.js +4 -4
  188. package/dist/presentation/overlays/popover/PopoverContent.vue.js.map +1 -1
  189. package/dist/presentation/overlays/tooltip/Tooltip.vue.d.ts +1 -1
  190. package/dist/presentation/overlays/tooltip/Tooltip.vue.js +8 -9
  191. package/dist/presentation/overlays/tooltip/Tooltip.vue.js.map +1 -1
  192. package/package.json +1 -1
  193. package/dist/presentation/display/notificationCenterGroup/NotificationItem.vue.js.map +0 -1
  194. package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js +0 -5
  195. package/dist/presentation/display/notificationCenterGroup/NotificationItem2.vue.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastContent2.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,15 @@
1
+ import { NoticeProgress } from '../../../feedback';
2
+ import { Severity } from '../../../foundation/styles';
3
+ /** Defines props for the running operation's progress bar. */
4
+ export interface ToastRunningProgressProps {
5
+ /** The running operation's progress. Omit `value` for indeterminate; `max` defaults to 1. */
6
+ readonly progress: NoticeProgress;
7
+ /** The severity palette of the fill. Default `neutral`. */
8
+ readonly severity?: Severity;
9
+ /** Draws the thinner bar of compact cards and group rows. */
10
+ readonly isCompact?: boolean;
11
+ }
12
+ declare const _default: import('vue').DefineComponent<ToastRunningProgressProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ToastRunningProgressProps> & Readonly<{}>, {
13
+ readonly severity: Severity;
14
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,88 @@
1
+ import { defineComponent, useAttrs, useId, computed, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, unref, normalizeStyle, toDisplayString, createCommentVNode } from "vue";
2
+ import { AriaAttribute } from "../../../foundation/dom/enums/AriaAttribute.js";
3
+ import { useLocale } from "../../../foundation/i18n/providers/LocaleContext.js";
4
+ import { cn } from "../../../foundation/styles/Cn.js";
5
+ import { Severity } from "../../../foundation/styles/enums/Severity.js";
6
+ const _hoisted_1 = ["data-toast-running-mode", "aria-valuemax", "aria-valuenow", "aria-labelledby", "aria-label", "aria-describedby"];
7
+ const _hoisted_2 = ["id"];
8
+ const FillClasses = {
9
+ [Severity.Neutral]: "bg-primary",
10
+ [Severity.Info]: "bg-info",
11
+ [Severity.Success]: "bg-success",
12
+ [Severity.Warning]: "bg-warning",
13
+ [Severity.Danger]: "bg-destructive"
14
+ };
15
+ const _sfc_main = /* @__PURE__ */ defineComponent({
16
+ ...{ name: "ToastRunningProgress", inheritAttrs: false },
17
+ __name: "ToastRunningProgress",
18
+ props: {
19
+ progress: {},
20
+ severity: { default: Severity.Neutral },
21
+ isCompact: { type: Boolean }
22
+ },
23
+ setup(__props) {
24
+ const props = __props;
25
+ const attrs = useAttrs();
26
+ const locale = useLocale();
27
+ const labelId = useId();
28
+ const labelledby = computed(() => attrs[AriaAttribute.LabelledBy]);
29
+ const rest = computed(() => {
30
+ const { class: _class, [AriaAttribute.LabelledBy]: _labelledby, ...others } = attrs;
31
+ return others;
32
+ });
33
+ const rootClasses = computed(() => cn("min-w-0", attrs.class));
34
+ const max = computed(() => {
35
+ const value = props.progress.max;
36
+ return typeof value === "number" && Number.isFinite(value) && value > 0 ? value : 1;
37
+ });
38
+ const now = computed(() => {
39
+ const value = props.progress.value;
40
+ return typeof value === "number" && !Number.isNaN(value) ? Math.min(max.value, Math.max(0, value)) : void 0;
41
+ });
42
+ const percent = computed(() => now.value === void 0 ? void 0 : now.value / max.value * 100);
43
+ const label = computed(() => props.progress.label || void 0);
44
+ const fallbackName = computed(() => label.value ?? locale.t("Toast.progress", void 0, "Progress"));
45
+ const trackClasses = computed(
46
+ () => cn("relative w-full overflow-hidden rounded-full bg-foreground/15", props.isCompact ? "h-0.5" : "h-1")
47
+ );
48
+ const fillClasses = computed(
49
+ () => cn(
50
+ "h-full rounded-full",
51
+ FillClasses[props.severity],
52
+ percent.value === void 0 ? "w-1/3 motion-safe:animate-[indeterminate_1.4s_ease-in-out_infinite]" : "motion-safe:transition-[width] motion-safe:duration-300 motion-safe:ease-out"
53
+ )
54
+ );
55
+ return (_ctx, _cache) => {
56
+ return openBlock(), createElementBlock("div", mergeProps({ "data-toast-running": "" }, rest.value, { class: rootClasses.value }), [
57
+ createElementVNode("div", {
58
+ role: "progressbar",
59
+ "data-toast-running-bar": "",
60
+ "data-toast-running-mode": percent.value === void 0 ? "indeterminate" : "determinate",
61
+ "aria-valuemin": 0,
62
+ "aria-valuemax": max.value,
63
+ "aria-valuenow": now.value,
64
+ "aria-labelledby": labelledby.value,
65
+ "aria-label": labelledby.value ? void 0 : fallbackName.value,
66
+ "aria-describedby": labelledby.value && label.value ? unref(labelId) : void 0,
67
+ class: normalizeClass(trackClasses.value)
68
+ }, [
69
+ createElementVNode("div", {
70
+ "data-toast-running-fill": "",
71
+ class: normalizeClass(fillClasses.value),
72
+ style: normalizeStyle(percent.value === void 0 ? void 0 : { width: `${percent.value}%` })
73
+ }, null, 6)
74
+ ], 10, _hoisted_1),
75
+ label.value ? (openBlock(), createElementBlock("div", {
76
+ key: 0,
77
+ id: unref(labelId),
78
+ "data-toast-running-label": "",
79
+ class: "mt-1 text-xs text-muted-foreground"
80
+ }, toDisplayString(label.value), 9, _hoisted_2)) : createCommentVNode("", true)
81
+ ], 16);
82
+ };
83
+ }
84
+ });
85
+ export {
86
+ _sfc_main as default
87
+ };
88
+ //# sourceMappingURL=ToastRunningProgress.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastRunningProgress.vue.js","sources":["../../../../src/presentation/feedback/toast/ToastRunningProgress.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { NoticeProgress } from '../../../feedback';\nimport { cn, Severity } from '../../../foundation/styles';\n\n/** Defines props for the running operation's progress bar. */\nexport interface ToastRunningProgressProps {\n /** The running operation's progress. Omit `value` for indeterminate; `max` defaults to 1. */\n readonly progress: NoticeProgress;\n\n /** The severity palette of the fill. Default `neutral`. */\n readonly severity?: Severity;\n\n /** Draws the thinner bar of compact cards and group rows. */\n readonly isCompact?: boolean;\n}\n\n/** @internal The fill colour per severity; the neutral bar uses the brand primary. */\nconst FillClasses: Record<Severity, string> = {\n [Severity.Neutral]: 'bg-primary',\n [Severity.Info]: 'bg-info',\n [Severity.Success]: 'bg-success',\n [Severity.Warning]: 'bg-warning',\n [Severity.Danger]: 'bg-destructive',\n};\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, useAttrs, useId } from 'vue';\n\nimport { AriaAttribute } from '../../../foundation/dom';\nimport { useLocale } from '../../../foundation/i18n';\n\n/**\n * Renders the progress of a running operation as a slim bar with an optional step label under it. Name the bar\n * with `aria-labelledby`; without it, `progress.label` does.\n */\ndefineOptions({ name: 'ToastRunningProgress', inheritAttrs: false });\n\nconst props = withDefaults(defineProps<ToastRunningProgressProps>(), { severity: Severity.Neutral });\n\nconst attrs = useAttrs();\nconst locale = useLocale();\nconst labelId = useId();\n\n/** The id of the element that names the bar — the toast's title. */\nconst labelledby = computed(() => attrs[AriaAttribute.LabelledBy] as string | undefined);\n\n/** The fallthrough attributes minus `class` and the one relocated to the bar. */\nconst rest = computed(() => {\n const { class: _class, [AriaAttribute.LabelledBy]: _labelledby, ...others } = attrs;\n return others;\n});\n\nconst rootClasses = computed(() => cn('min-w-0', attrs.class as string | undefined));\n\n/** The usable maximum — 1 when absent, zero, negative or not finite. */\nconst max = computed(() => {\n const value = props.progress.max;\n return typeof value === 'number' && Number.isFinite(value) && value > 0 ? value : 1;\n});\n\n/** The value kept inside 0–`max`; `undefined` (or `NaN`) is indeterminate. */\nconst now = computed(() => {\n const value = props.progress.value;\n return typeof value === 'number' && !Number.isNaN(value) ? Math.min(max.value, Math.max(0, value)) : undefined;\n});\n\nconst percent = computed(() => (now.value === undefined ? undefined : (now.value / max.value) * 100));\nconst label = computed(() => props.progress.label || undefined);\nconst fallbackName = computed(() => label.value ?? locale.t('Toast.progress', undefined, 'Progress'));\n\nconst trackClasses = computed(() =>\n cn('relative w-full overflow-hidden rounded-full bg-foreground/15', props.isCompact ? 'h-0.5' : 'h-1'),\n);\n\n/** The fill's classes; reduced motion keeps the indeterminate fill still, at a third of the track. */\nconst fillClasses = computed(() =>\n cn(\n 'h-full rounded-full',\n FillClasses[props.severity],\n percent.value === undefined\n ? 'w-1/3 motion-safe:animate-[indeterminate_1.4s_ease-in-out_infinite]'\n : 'motion-safe:transition-[width] motion-safe:duration-300 motion-safe:ease-out',\n ),\n);\n</script>\n\n<template>\n <div data-toast-running v-bind=\"rest\" :class=\"rootClasses\">\n <div\n role=\"progressbar\"\n data-toast-running-bar\n :data-toast-running-mode=\"percent === undefined ? 'indeterminate' : 'determinate'\"\n :aria-valuemin=\"0\"\n :aria-valuemax=\"max\"\n :aria-valuenow=\"now\"\n :aria-labelledby=\"labelledby\"\n :aria-label=\"labelledby ? undefined : fallbackName\"\n :aria-describedby=\"labelledby && label ? labelId : undefined\"\n :class=\"trackClasses\"\n >\n <div\n data-toast-running-fill\n :class=\"fillClasses\"\n :style=\"percent === undefined ? undefined : { width: `${percent}%` }\"\n />\n </div>\n <div v-if=\"label\" :id=\"labelId\" data-toast-running-label class=\"mt-1 text-xs text-muted-foreground\">\n {{ label }}\n </div>\n </div>\n</template>\n"],"names":["_createElementBlock","_mergeProps","_createElementVNode","_unref"],"mappings":";;;;;;;AAiBA,MAAM,cAAwC;AAAA,EAC5C,CAAC,SAAS,OAAO,GAAG;AAAA,EACpB,CAAC,SAAS,IAAI,GAAG;AAAA,EACjB,CAAC,SAAS,OAAO,GAAG;AAAA,EACpB,CAAC,SAAS,OAAO,GAAG;AAAA,EACpB,CAAC,SAAS,MAAM,GAAG;AACrB;;;;;;;;;;AAeA,UAAM,QAAQ;AAEd,UAAM,QAAQ,SAAA;AACd,UAAM,SAAS,UAAA;AACf,UAAM,UAAU,MAAA;AAGhB,UAAM,aAAa,SAAS,MAAM,MAAM,cAAc,UAAU,CAAuB;AAGvF,UAAM,OAAO,SAAS,MAAM;AAC1B,YAAM,EAAE,OAAO,QAAQ,CAAC,cAAc,UAAU,GAAG,aAAa,GAAG,OAAA,IAAW;AAC9E,aAAO;AAAA,IACT,CAAC;AAED,UAAM,cAAc,SAAS,MAAM,GAAG,WAAW,MAAM,KAA2B,CAAC;AAGnF,UAAM,MAAM,SAAS,MAAM;AACzB,YAAM,QAAQ,MAAM,SAAS;AAC7B,aAAO,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK,KAAK,QAAQ,IAAI,QAAQ;AAAA,IACpF,CAAC;AAGD,UAAM,MAAM,SAAS,MAAM;AACzB,YAAM,QAAQ,MAAM,SAAS;AAC7B,aAAO,OAAO,UAAU,YAAY,CAAC,OAAO,MAAM,KAAK,IAAI,KAAK,IAAI,IAAI,OAAO,KAAK,IAAI,GAAG,KAAK,CAAC,IAAI;AAAA,IACvG,CAAC;AAED,UAAM,UAAU,SAAS,MAAO,IAAI,UAAU,SAAY,SAAa,IAAI,QAAQ,IAAI,QAAS,GAAI;AACpG,UAAM,QAAQ,SAAS,MAAM,MAAM,SAAS,SAAS,MAAS;AAC9D,UAAM,eAAe,SAAS,MAAM,MAAM,SAAS,OAAO,EAAE,kBAAkB,QAAW,UAAU,CAAC;AAEpG,UAAM,eAAe;AAAA,MAAS,MAC5B,GAAG,iEAAiE,MAAM,YAAY,UAAU,KAAK;AAAA,IAAA;AAIvG,UAAM,cAAc;AAAA,MAAS,MAC3B;AAAA,QACE;AAAA,QACA,YAAY,MAAM,QAAQ;AAAA,QAC1B,QAAQ,UAAU,SACd,wEACA;AAAA,MAAA;AAAA,IACN;;0BAKAA,mBAsBM,OAtBNC,WAsBM,EAtBD,sBAAA,GAAA,GAA2B,KAAA,OAAI,EAAG,OAAO,YAAA,MAAA,CAAW,GAAA;AAAA,QACvDC,mBAiBM,OAAA;AAAA,UAhBJ,MAAK;AAAA,UACL,0BAAA;AAAA,UACC,2BAAyB,QAAA,UAAY,SAAS,kBAAA;AAAA,UAC9C,iBAAe;AAAA,UACf,iBAAe,IAAA;AAAA,UACf,iBAAe,IAAA;AAAA,UACf,mBAAiB,WAAA;AAAA,UACjB,cAAY,WAAA,QAAa,SAAY,aAAA;AAAA,UACrC,oBAAkB,WAAA,SAAc,cAAQC,MAAA,OAAA,IAAU;AAAA,UAClD,sBAAO,aAAA,KAAY;AAAA,QAAA;UAEpBD,mBAIE,OAAA;AAAA,YAHA,2BAAA;AAAA,YACC,sBAAO,YAAA,KAAW;AAAA,YAClB,sBAAO,QAAA,UAAY,SAAY,qBAAwB,QAAA,KAAO,IAAA,CAAA;AAAA,UAAA;;QAGxD,MAAA,sBAAXF,mBAEM,OAAA;AAAA;UAFa,IAAIG,MAAA,OAAA;AAAA,UAAS,4BAAA;AAAA,UAAyB,OAAM;AAAA,QAAA,mBAC1D,MAAA,KAAK,GAAA,GAAA,UAAA;;;;;"}
@@ -0,0 +1,5 @@
1
+ import _sfc_main from "./ToastRunningProgress.vue.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
5
+ //# sourceMappingURL=ToastRunningProgress2.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastRunningProgress2.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,8 @@
1
+ /** Defines the material a toast card is painted with. */
2
+ export declare const ToastSurface: {
3
+ /** Refers to the opaque popover fill. */
4
+ readonly Solid: "solid";
5
+ /** Refers to the translucent menu glass, which falls back to an opaque fill under reduced transparency. */
6
+ readonly Glass: "glass";
7
+ };
8
+ export type ToastSurface = (typeof ToastSurface)[keyof typeof ToastSurface];
@@ -0,0 +1,10 @@
1
+ const ToastSurface = {
2
+ /** Refers to the opaque popover fill. */
3
+ Solid: "solid",
4
+ /** Refers to the translucent menu glass, which falls back to an opaque fill under reduced transparency. */
5
+ Glass: "glass"
6
+ };
7
+ export {
8
+ ToastSurface
9
+ };
10
+ //# sourceMappingURL=ToastSurface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastSurface.js","sources":["../../../../src/presentation/feedback/toast/ToastSurface.ts"],"sourcesContent":["/** Defines the material a toast card is painted with. */\nexport const ToastSurface = {\n /** Refers to the opaque popover fill. */\n Solid: 'solid',\n /** Refers to the translucent menu glass, which falls back to an opaque fill under reduced transparency. */\n Glass: 'glass',\n} as const;\n\nexport type ToastSurface = (typeof ToastSurface)[keyof typeof ToastSurface];\n"],"names":[],"mappings":"AACO,MAAM,eAAe;AAAA;AAAA,EAE1B,OAAO;AAAA;AAAA,EAEP,OAAO;AACT;"}
@@ -1 +1,2 @@
1
1
  export { default as Toast, type ToastProps } from './Toast.vue';
2
+ export { ToastSurface } from './ToastSurface';
@@ -0,0 +1,3 @@
1
+ import { ToastOptions } from './ToastOptions';
2
+ /** Defines the content of a `toastHost.promise` phase — a title string, or a full partial options object. */
3
+ export type ToastContent = string | Partial<ToastOptions>;
@@ -0,0 +1,12 @@
1
+ import { ToastOptions } from './ToastOptions';
2
+ /** Represents a toast as the store holds it — the caller's options plus its identity and delivery order. */
3
+ export interface ToastEntry extends ToastOptions {
4
+ /** The toast's identity, assigned by the store. */
5
+ id: string;
6
+ /** The epoch milliseconds when the toast was first shown. */
7
+ createdAtMs: number;
8
+ /** Delivery order, including while the toast is exiting. */
9
+ sequence: number;
10
+ /** Bumped on every `update` / dedup so the viewport can reset that toast's auto-dismiss timer. */
11
+ nonce: number;
12
+ }
@@ -0,0 +1,2 @@
1
+ /** Reports whether an element's focus shows its ring — the keyboard's focus, as opposed to a pointer's. */
2
+ export declare function isFocusVisible(element: Element | null): boolean;
@@ -0,0 +1,11 @@
1
+ function isFocusVisible(element) {
2
+ try {
3
+ return element?.matches(":focus-visible") ?? false;
4
+ } catch {
5
+ return false;
6
+ }
7
+ }
8
+ export {
9
+ isFocusVisible
10
+ };
11
+ //# sourceMappingURL=ToastFocusExtensions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToastFocusExtensions.js","sources":["../../../../src/presentation/feedback/toastHost/ToastFocusExtensions.ts"],"sourcesContent":["/** Reports whether an element's focus shows its ring — the keyboard's focus, as opposed to a pointer's. */\nexport function isFocusVisible(element: Element | null): boolean {\n try {\n return element?.matches(':focus-visible') ?? false;\n } catch {\n // An engine without the selector cannot tell the two apart; keep the pointer behaviour.\n return false;\n }\n}\n"],"names":[],"mappings":"AACO,SAAS,eAAe,SAAkC;AAC/D,MAAI;AACF,WAAO,SAAS,QAAQ,gBAAgB,KAAK;AAAA,EAC/C,QAAQ;AAEN,WAAO;AAAA,EACT;AACF;"}
@@ -0,0 +1,8 @@
1
+ import { ToastGroupLatest } from './ToastGroupLatest';
2
+ /** Represents the live notices a single toast stands for. */
3
+ export interface ToastGroup {
4
+ /** The number of live notices in the group. */
5
+ readonly count: number;
6
+ /** The newest notice, previewed while the group merges. */
7
+ readonly latest: ToastGroupLatest;
8
+ }
@@ -0,0 +1,10 @@
1
+ import { ToastSeverity } from './ToastSeverity';
2
+ /** Represents the newest notice of a toast's group, as a plain-text preview. */
3
+ export interface ToastGroupLatest {
4
+ /** The newest notice's title, when it is plain text. */
5
+ readonly title?: string;
6
+ /** The newest notice's description, when it is plain text. */
7
+ readonly description?: string;
8
+ /** The newest notice's severity. */
9
+ readonly severity?: ToastSeverity;
10
+ }
@@ -1,8 +1,7 @@
1
- import { VNode } from 'vue';
1
+ import { NoticePriority } from '../../../feedback';
2
2
  import { OverlayPosition } from '../../../foundation/styles';
3
- import { ReportSend } from '../../../reporting';
4
- import { ToastSimpleVariants } from '../toastSimple/ToastSimple.variants';
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
- /** Provides the per-severity expiry a `ToastHost` starts from — an error stays long enough to read and report. */
19
- export declare const DefaultToastDurations: Readonly<Partial<Record<ToastSeverity, number>>>;
20
- /**
21
- * A renderable slice of a toast. These travel through the imperative
22
- * `toastHost.toast()` payload, not through a slot, so a caller who wants
23
- * markup builds it with `h()`.
24
- */
25
- export type ToastNode = string | VNode;
26
- export interface ToastOptions {
27
- title?: ToastNode;
28
- description?: ToastNode;
29
- icon?: ToastNode;
30
- severity?: ToastSeverity;
31
- /**
32
- * ms before auto-dismiss. Default: the ToastHost's `durations` entry for the severity, then its
33
- * `defaultDuration`. `Infinity` = sticky.
34
- */
35
- duration?: number;
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
- /** @deprecated Toasts always anchor top-right. Accepted for one release, without changing placement. */
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
- * How each auto-dismissing toast shows its time left; a toast's `timer` overrides. Every display pauses with
132
- * the expiry timer and restarts when the toast updates; sticky toasts show none, and reduced motion drops the
133
- * bar and the ring. Custom `content` has no close button to sit beside, so it takes the bar for a ring or
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
- * Shows a countdown bar along the bottom of each auto-dismissing toast.
139
- * @deprecated Use `timer` — `ToastTimer.Bar`.
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 showProgress?: boolean;
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;