vanilla-jui 1.7.26 → 1.7.28
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 +2 -4
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/form.ts +1 -2
- package/src/css/gradient.css +64 -129
- package/src/css/themes/default/badge.css +5 -11
- package/src/css/themes/default/button.css +24 -36
- package/src/css/themes/default/captcha.css +2 -2
- package/src/css/themes/default/editor.css +13 -13
- package/src/css/themes/default/form.css +42 -63
- package/src/css/themes/default/menu.css +35 -89
- package/src/css/themes/default/tip.css +8 -8
- package/src/css/themes/default/toast.css +22 -18
- package/src/css/themes/default/tooltip.css +4 -4
- package/src/css/tokens.css +27 -25
- package/src/primitives/toast.ts +15 -18
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 = '
|
|
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
|
-
|
|
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;
|