@servicetitan/anvil2 1.26.5 → 1.26.7
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.
- package/CHANGELOG.md +18 -0
- package/dist/Toast.js +1 -1
- package/dist/components/Toast/Toaster.d.ts +3 -9
- package/dist/components/Toast/toast.d.ts +1 -4
- package/dist/index.js +1 -1
- package/dist/internal/components/Shadow.d.ts +3 -0
- package/dist/{toast-D-wmh-pM.js → toast-BVHe-A2D.js} +369 -254
- package/dist/toast-BVHe-A2D.js.map +1 -0
- package/dist/toast.css +64 -52
- package/package.json +2 -2
- package/dist/toast-D-wmh-pM.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @servicetitan/anvil2
|
|
2
2
|
|
|
3
|
+
## 1.26.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1205](https://github.com/servicetitan/hammer/pull/1205) [`3783e76`](https://github.com/servicetitan/hammer/commit/3783e7665a49fc0ade86785c8338687081379e0d) Thanks [@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n)! - [Toast] Prevent ToastStack from blocking clicks
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`3783e76`](https://github.com/servicetitan/hammer/commit/3783e7665a49fc0ade86785c8338687081379e0d)]:
|
|
10
|
+
- @servicetitan/hammer-react@1.28.7
|
|
11
|
+
|
|
12
|
+
## 1.26.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#1202](https://github.com/servicetitan/hammer/pull/1202) [`ab5dd97`](https://github.com/servicetitan/hammer/commit/ab5dd97ce6b9fce66f4c13a3e1cb221c78bb94d9) Thanks [@w-a-t-s-o-n](https://github.com/w-a-t-s-o-n)! - [Toaster] Fix dead click bug
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`ab5dd97`](https://github.com/servicetitan/hammer/commit/ab5dd97ce6b9fce66f4c13a3e1cb221c78bb94d9)]:
|
|
19
|
+
- @servicetitan/hammer-react@1.28.6
|
|
20
|
+
|
|
3
21
|
## 1.26.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/Toast.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { T as Toaster, t as default, t as toast } from './toast-
|
|
1
|
+
export { T as Toaster, t as default, t as toast } from './toast-BVHe-A2D.js';
|
|
2
2
|
//# sourceMappingURL=Toast.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { ToasterProps as
|
|
2
|
-
export type ToasterProps =
|
|
3
|
-
export declare const Toaster: import('react').ForwardRefExoticComponent<
|
|
4
|
-
duration?: number | false;
|
|
5
|
-
focusKey?: string;
|
|
6
|
-
forceRender?: boolean;
|
|
7
|
-
id: string;
|
|
8
|
-
toastsBeforeStack?: number;
|
|
9
|
-
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { ToasterProps as HammerToasterProps } from '@servicetitan/hammer-react';
|
|
2
|
+
export type ToasterProps = Omit<HammerToasterProps, "disableEvents">;
|
|
3
|
+
export declare const Toaster: import('react').ForwardRefExoticComponent<ToasterProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -6,10 +6,7 @@ export declare const toast: {
|
|
|
6
6
|
success: (props: coreToastProps) => string;
|
|
7
7
|
warning: (props: coreToastProps) => string;
|
|
8
8
|
danger: (props: coreToastProps) => string;
|
|
9
|
-
update: (id: string, props: Omit<
|
|
10
|
-
id: string;
|
|
11
|
-
status?: import('@servicetitan/hammer-react/dist/components/Toast/Toast').ToastProps["status"];
|
|
12
|
-
}, "id">) => void;
|
|
9
|
+
update: (id: string, props: Omit<import('@servicetitan/hammer-react/dist/components/Toast/toast-methods').ToastUpdateProps, "id">) => void;
|
|
13
10
|
dismiss: (id?: string) => void;
|
|
14
11
|
promise: (promise: Promise<string>, toastConfig: {
|
|
15
12
|
loading: coreToastProps;
|
package/dist/index.js
CHANGED
|
@@ -44,7 +44,7 @@ export { T as Tab, a as TabButton, b as TabList, c as TabPanel } from './Tab-D9f
|
|
|
44
44
|
export { T as Text } from './Text-BnRrIF-W.js';
|
|
45
45
|
export { T as Textarea } from './Textarea-D0KstCG1.js';
|
|
46
46
|
export { T as TextField } from './TextField-3Va2A-t2.js';
|
|
47
|
-
export { T as Toaster, t as toast } from './toast-
|
|
47
|
+
export { T as Toaster, t as toast } from './toast-BVHe-A2D.js';
|
|
48
48
|
export { T as Tooltip, b as TooltipContent, a as TooltipTrigger } from './Tooltip-DRNywG91.js';
|
|
49
49
|
export { u as useAccessibleColor } from './useAccessibleColor-CR4Gw85S-D9BFnrDq.js';
|
|
50
50
|
export { u as useLinkStyles } from './Link-CL7Gc29S-LYooajNS.js';
|