@moubing/bing-ui 0.2.0 → 0.2.1
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/bing-ui.css +1 -1
- package/dist/bing-ui.es.js +1932 -1875
- package/dist/bing-ui.umd.js +7 -7
- package/dist/components/BingDropDown/BingDropDown.types.d.ts +1 -0
- package/dist/components/BingDropDown/BingDropDown.vue.d.ts +1 -0
- package/dist/components/BingToast/BingToast.service.d.ts +0 -8
- package/dist/components/BingToast/BingToast.types.d.ts +3 -4
- package/dist/components/BingToast/BingToast.vue.d.ts +0 -4
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BingDr
|
|
|
30
30
|
placement: BingDropDownPlacement;
|
|
31
31
|
closeOnOutside: boolean;
|
|
32
32
|
open: boolean | null;
|
|
33
|
+
panelClass: string;
|
|
33
34
|
closeOnEscape: boolean;
|
|
34
35
|
autoFocus: boolean;
|
|
35
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
@@ -11,10 +11,6 @@ export declare const bingToastItems: import('vue').Ref<{
|
|
|
11
11
|
order: number;
|
|
12
12
|
ariaLabel?: string | undefined;
|
|
13
13
|
closeAriaLabel: string;
|
|
14
|
-
glass?: boolean | undefined;
|
|
15
|
-
glassBlur?: string | number | undefined;
|
|
16
|
-
glassOpacity?: number | undefined;
|
|
17
|
-
glassSaturation?: number | undefined;
|
|
18
14
|
}[], BingToastItem[] | {
|
|
19
15
|
id: string;
|
|
20
16
|
type: BingToastType;
|
|
@@ -27,10 +23,6 @@ export declare const bingToastItems: import('vue').Ref<{
|
|
|
27
23
|
order: number;
|
|
28
24
|
ariaLabel?: string | undefined;
|
|
29
25
|
closeAriaLabel: string;
|
|
30
|
-
glass?: boolean | undefined;
|
|
31
|
-
glassBlur?: string | number | undefined;
|
|
32
|
-
glassOpacity?: number | undefined;
|
|
33
|
-
glassSaturation?: number | undefined;
|
|
34
26
|
}[]>;
|
|
35
27
|
export declare const activeBingToastViewportId: import('vue').Ref<string | undefined, string | undefined>;
|
|
36
28
|
export declare function pauseBingToastTimer(id: string | number): void;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BingGlassEffectProps } from '../../utils/glass';
|
|
2
1
|
export declare const BING_TOAST_POSITIONS: readonly ["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right"];
|
|
3
2
|
export declare const BING_TOAST_POSITION_ALIASES: readonly ["top-center", "bottom-center"];
|
|
4
3
|
export declare const BING_TOAST_POSITION_OPTIONS: readonly ["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "top-center", "bottom-center"];
|
|
@@ -7,7 +6,7 @@ export type BingToastPosition = (typeof BING_TOAST_POSITION_OPTIONS)[number];
|
|
|
7
6
|
export type BingToastViewportPosition = BingToastPosition | 'all';
|
|
8
7
|
export type BingToastType = 'default' | 'success' | 'error' | 'loading' | 'warning' | 'info';
|
|
9
8
|
export type BingToastInput = string | BingToastOptions;
|
|
10
|
-
export interface BingToastOptions
|
|
9
|
+
export interface BingToastOptions {
|
|
11
10
|
id?: string | number;
|
|
12
11
|
title?: string;
|
|
13
12
|
message?: string;
|
|
@@ -18,7 +17,7 @@ export interface BingToastOptions extends BingGlassEffectProps {
|
|
|
18
17
|
ariaLabel?: string;
|
|
19
18
|
closeAriaLabel?: string;
|
|
20
19
|
}
|
|
21
|
-
export interface BingToastItem
|
|
20
|
+
export interface BingToastItem {
|
|
22
21
|
id: string;
|
|
23
22
|
type: BingToastType;
|
|
24
23
|
title?: string;
|
|
@@ -31,7 +30,7 @@ export interface BingToastItem extends BingGlassEffectProps {
|
|
|
31
30
|
ariaLabel?: string;
|
|
32
31
|
closeAriaLabel: string;
|
|
33
32
|
}
|
|
34
|
-
export interface BingToastProps
|
|
33
|
+
export interface BingToastProps {
|
|
35
34
|
viewportPosition?: BingToastViewportPosition;
|
|
36
35
|
zIndex?: number;
|
|
37
36
|
offset?: string | number;
|
|
@@ -7,10 +7,6 @@ declare const __VLS_export: import('vue').DefineComponent<BingToastProps, {}, {}
|
|
|
7
7
|
gap: string | number;
|
|
8
8
|
width: string | number;
|
|
9
9
|
zIndex: number;
|
|
10
|
-
glass: boolean;
|
|
11
|
-
glassBlur: string | number;
|
|
12
|
-
glassOpacity: number;
|
|
13
|
-
glassSaturation: number;
|
|
14
10
|
max: number;
|
|
15
11
|
offset: string | number;
|
|
16
12
|
viewportPosition: import('./BingToast.types').BingToastViewportPosition;
|