@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 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-D-wmh-pM.js';
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 CoreToasterProps } from '@servicetitan/hammer-react';
2
- export type ToasterProps = CoreToasterProps;
3
- export declare const Toaster: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
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<Partial<coreToastProps> & {
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-D-wmh-pM.js';
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';
@@ -0,0 +1,3 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ declare const Shadow: ({ children, ...rest }: ComponentPropsWithoutRef<"div">) => import("react/jsx-runtime").JSX.Element;
3
+ export default Shadow;