vanilla-jui 1.7.27 → 1.7.29

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/dist/index.d.ts CHANGED
@@ -739,7 +739,7 @@ interface TooltipProps extends Record<string, unknown> {
739
739
  declare function createTooltip(element: DOMReference, input?: TooltipProps): TooltipInstance;
740
740
  //#endregion
741
741
  //#region src/primitives/toast.d.ts
742
- type ToastTheme = 'info' | 'success' | 'warning' | 'error' | 'primary';
742
+ type ToastTheme = '' | 'info' | 'success' | 'warning' | 'error';
743
743
  interface ToastClassNames {
744
744
  container: string;
745
745
  toast: string;
@@ -755,7 +755,6 @@ interface ToastClassNames {
755
755
  success: string;
756
756
  warning: string;
757
757
  error: string;
758
- primary: string;
759
758
  }
760
759
  type ToastClassNameConfig = Partial<ToastClassNames>;
761
760
  interface ToastClassNameOptions {
@@ -793,9 +792,8 @@ declare const Toast: {
793
792
  disposers: Map<HTMLElement, () => void>;
794
793
  configure(options?: ToastClassNameOptions): ToastClassNameOptions;
795
794
  show: typeof show;
796
- success: (message?: string, options?: ToastOptions) => HTMLElement;
797
795
  info: (message?: string, options?: ToastOptions) => HTMLElement;
798
- primary: (message?: string, options?: ToastOptions) => HTMLElement;
796
+ success: (message?: string, options?: ToastOptions) => HTMLElement;
799
797
  warning: (message?: string, options?: ToastOptions) => HTMLElement;
800
798
  error: (message?: string, options?: ToastOptions) => HTMLElement;
801
799
  hide: typeof hide;