diff --git a/packages/core/package.json b/packages/core/package.json
index 95acc164..784a1362 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-core",
- "version": "0.0.79",
+ "version": "0.0.80",
"publishConfig": {
"access": "public"
},
diff --git a/packages/core/src/lib/index.ts b/packages/core/src/lib/index.ts
index 645bd7ea..be6100f4 100644
--- a/packages/core/src/lib/index.ts
+++ b/packages/core/src/lib/index.ts
@@ -50,6 +50,7 @@ export {
export {
ToastContainer,
+ ToastBanner,
provideToast,
useToast,
ToastVariant,
diff --git a/packages/core/src/lib/toast/context.ts b/packages/core/src/lib/toast/context.ts
index a7a828a9..444fc95a 100644
--- a/packages/core/src/lib/toast/context.ts
+++ b/packages/core/src/lib/toast/context.ts
@@ -62,7 +62,7 @@ export const createToastContext = (): ToastContext => {
const pause = () => setPaused(id, true);
const resume = () => setPaused(id, false);
const dismiss = () => remove(id);
- const { progress, unsubscribe } = pausableProgress({
+ const { unsubscribe } = pausableProgress({
isPaused,
totalDuration: ToastDuration,
onComplete: dismiss,
@@ -70,7 +70,6 @@ export const createToastContext = (): ToastContext => {
const toast = {
id,
- progress,
pause,
resume,
dismiss,
diff --git a/packages/core/src/lib/toast/toast-banner.svelte b/packages/core/src/lib/toast/toast-banner.svelte
index 5cd18cc7..3d630d95 100644
--- a/packages/core/src/lib/toast/toast-banner.svelte
+++ b/packages/core/src/lib/toast/toast-banner.svelte
@@ -2,7 +2,7 @@
+
+
+
+
+ {
+ console.log('Clicked close button');
+ }}
+ cx="max-w-[240px]"
+ />
+
+
+
+ {
+ console.log('Clicked close button');
+ }}
+ action={{
+ text: 'action',
+ handler: () => {
+ console.log('Clicked action');
+ },
+ }}
+ cx="max-w-[280px]"
+ />
+