@speckle/ui-components 2.23.2 → 2.23.3

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.
@@ -3,7 +3,7 @@ import type { ToastNotification } from '../../helpers/global/toast';
3
3
  * Set up a new global toast manager/renderer (don't use this in multiple components that live at the same time)
4
4
  */
5
5
  export declare function useGlobalToastManager(): {
6
- currentNotification: import("vue").ComputedRef<{
6
+ currentNotifications: import("vue").ComputedRef<{
7
7
  title?: string | undefined;
8
8
  description?: string | undefined;
9
9
  type: import('../../helpers/global/toast').ToastNotificationType;
@@ -13,8 +13,10 @@ export declare function useGlobalToastManager(): {
13
13
  onClick?: ((e: MouseEvent) => void) | undefined;
14
14
  } | undefined;
15
15
  autoClose?: boolean | undefined;
16
- } | null>;
17
- dismiss: () => void;
16
+ id?: string | undefined;
17
+ }[]>;
18
+ dismiss: (notification: ToastNotification) => void;
19
+ dismissAll: () => void;
18
20
  };
19
21
  /**
20
22
  * Trigger global toast notifications
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@speckle/ui-components",
3
3
  "description": "Speckle theme UI components built with Vue 3 & Tailwind",
4
- "version": "2.23.2",
4
+ "version": "2.23.3",
5
5
  "scripts": {
6
6
  "dev:vite": "vite",
7
7
  "dev": "yarn storybook",
@@ -50,7 +50,7 @@
50
50
  "dependencies": {
51
51
  "@headlessui/vue": "^1.7.18",
52
52
  "@heroicons/vue": "^2.0.12",
53
- "@speckle/shared": "^2.23.2",
53
+ "@speckle/shared": "^2.23.3",
54
54
  "@storybook/test": "^8.1.10",
55
55
  "@vueuse/core": "^9.13.0",
56
56
  "lodash": "^4.0.0",
@@ -65,7 +65,7 @@
65
65
  "@babel/preset-env": "^7.21.5",
66
66
  "@babel/preset-react": "^7.18.6",
67
67
  "@rollup/plugin-typescript": "^11.1.0",
68
- "@speckle/tailwind-theme": "^2.23.2",
68
+ "@speckle/tailwind-theme": "^2.23.3",
69
69
  "@storybook/addon-essentials": "^8.1.10",
70
70
  "@storybook/addon-interactions": "^8.1.10",
71
71
  "@storybook/addon-links": "^8.1.10",