@tableslayer/ui 0.1.8 → 0.1.9

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.
@@ -29,6 +29,7 @@
29
29
  };
30
30
 
31
31
  export const addToast = helpers.addToast;
32
+ export const removeToast = helpers.removeToast;
32
33
  </script>
33
34
 
34
35
  <script lang="ts">
@@ -1,5 +1,6 @@
1
1
  import type { ToastDataProps } from './types';
2
2
  export declare const addToast: (props: import("@melt-ui/svelte").AddToastProps<ToastDataProps>) => import("@melt-ui/svelte").Toast<ToastDataProps>;
3
+ export declare const removeToast: (id: string) => void;
3
4
  declare const Toast: import("svelte").Component<Record<string, never>, {}, "">;
4
5
  type Toast = ReturnType<typeof Toast>;
5
6
  export default Toast;
@@ -1,3 +1,3 @@
1
- export { default as Toast, addToast } from './Toast.svelte';
1
+ export { default as Toast, addToast, removeToast } from './Toast.svelte';
2
2
  export * from './toastCookie';
3
3
  export * from './types';
@@ -1,5 +1,5 @@
1
1
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2
2
  // @ts-nocheck https://github.com/sveltejs/svelte/issues/7304
3
- export { default as Toast, addToast } from './Toast.svelte';
3
+ export { default as Toast, addToast, removeToast } from './Toast.svelte';
4
4
  export * from './toastCookie';
5
5
  export * from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tableslayer/ui",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "license": "FSL-1.1-ALv2",
5
5
  "repository": {
6
6
  "type": "git",