diff --git a/packages/components/toast/src/stories/FromDialog.vue b/packages/components/toast/src/stories/FromDialog.vue
index 327ec0340..6ee591176 100644
--- a/packages/components/toast/src/stories/FromDialog.vue
+++ b/packages/components/toast/src/stories/FromDialog.vue
@@ -1,9 +1,12 @@
diff --git a/packages/components/toast/src/stories/Toast.stories.ts b/packages/components/toast/src/stories/Toast.stories.ts
index 1da296f88..a97d7c02e 100644
--- a/packages/components/toast/src/stories/Toast.stories.ts
+++ b/packages/components/toast/src/stories/Toast.stories.ts
@@ -51,20 +51,20 @@ export const Controlled: Story = {
}),
}
-// export const FromDialog: Story = {
-// args: {
-// template: 'FromDialog',
-// },
-// render: (args: any) => ({
-// components: { OkuToastComponent },
-// setup() {
-// return { args }
-// },
-// template: `
-//
-// `,
-// }),
-// }
+export const FromDialog: Story = {
+ args: {
+ template: 'FromDialog',
+ },
+ render: (args: any) => ({
+ components: { OkuToastComponent },
+ setup() {
+ return { args }
+ },
+ template: `
+
+ `,
+ }),
+}
export const Promise: Story = {
args: {
diff --git a/packages/components/toast/src/stories/ToastDemo.vue b/packages/components/toast/src/stories/ToastDemo.vue
index 2a94b7eed..047ca8691 100644
--- a/packages/components/toast/src/stories/ToastDemo.vue
+++ b/packages/components/toast/src/stories/ToastDemo.vue
@@ -7,6 +7,7 @@ import Animated from './Animated.vue'
import Cypress from './Cypress.vue'
import Chromatic from './Chromatic.vue'
import Styled from './Styled.vue'
+import FromDialog from './FromDialog.vue'
withDefaults(defineProps(), {})
const VIEWPORT_PADDING = '20px'
@@ -25,10 +26,10 @@ export interface IToastProps {
-
-
+
@@ -216,15 +217,15 @@ export interface IToastProps {
}
[data-swipe="end"][data-swipe-direction="left"] {
- animation-name: slideRight;
+ animation-name: slideLeft;
}
[data-swipe="end"][data-swipe-direction="up"] {
- animation-name: slideRight;
+ animation-name: slideUp;
}
[data-swipe="end"][data-swipe-direction="down"] {
- animation-name: slideRight;
+ animation-name: slideDown;
}
.chromatic-viewport {
diff --git a/packages/components/toast/src/stories/toast.css b/packages/components/toast/src/stories/toast.css
index 55cade8d6..f9a4bef3b 100644
--- a/packages/components/toast/src/stories/toast.css
+++ b/packages/components/toast/src/stories/toast.css
@@ -157,15 +157,15 @@
}
[data-swipe="end"][data-swipe-direction="left"] {
- animation-name: slideRight;
+ animation-name: slideLeft;
}
[data-swipe="end"][data-swipe-direction="up"] {
- animation-name: slideRight;
+ animation-name: slideUp;
}
[data-swipe="end"][data-swipe-direction="down"] {
- animation-name: slideRight;
+ animation-name: slideDown;
}
.chromatic-viewport {