@moubing/bing-ui 0.8.0 → 0.8.2
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 +6246 -6011
- package/dist/bing-ui.umd.js +47 -47
- package/dist/components/BingAppSwitcherTransition/BingAppSwitcherTransition.vue.d.ts +1 -1
- package/dist/components/BingCarouselTransition/BingCarouselTransition.vue.d.ts +1 -1
- package/dist/components/BingDeckTransition/BingDeckTransition.vue.d.ts +1 -1
- package/dist/components/BingDropDown/BingDropDown.vue.d.ts +1 -1
- package/dist/components/BingImagePreview/BingImagePreview.vue.d.ts +1 -1
- package/dist/components/BingInput/BingInput.types.d.ts +1 -1
- package/dist/components/BingSortableList/BingSortableList.vue.d.ts +2 -2
- package/dist/components/BingTabs/BingTabs.vue.d.ts +1 -1
- package/dist/components/BingTooltip/BingTooltip.vue.d.ts +2 -2
- package/dist/motion/optionDetailMotion.d.ts +21 -0
- package/package.json +1 -1
|
@@ -11,10 +11,10 @@ declare const __VLS_base: import('vue').DefineComponent<BingAppSwitcherTransitio
|
|
|
11
11
|
"onUpdate:modelValue"?: ((value: BingTabValue) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
items: import('./BingAppSwitcherTransition.types').BingAppSwitcherTransitionItem[];
|
|
14
15
|
ariaLabel: string;
|
|
15
16
|
modelValue: BingTabValue;
|
|
16
17
|
respectReducedMotion: boolean;
|
|
17
|
-
items: import('./BingAppSwitcherTransition.types').BingAppSwitcherTransitionItem[];
|
|
18
18
|
loop: boolean;
|
|
19
19
|
showTabs: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -11,10 +11,10 @@ declare const __VLS_base: import('vue').DefineComponent<BingCarouselTransitionPr
|
|
|
11
11
|
"onUpdate:modelValue"?: ((value: BingTabValue) => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
disabled: boolean;
|
|
14
|
+
items: import('./BingCarouselTransition.types').BingCarouselTransitionItem[];
|
|
14
15
|
ariaLabel: string;
|
|
15
16
|
modelValue: BingTabValue;
|
|
16
17
|
respectReducedMotion: boolean;
|
|
17
|
-
items: import('./BingCarouselTransition.types').BingCarouselTransitionItem[];
|
|
18
18
|
loop: boolean;
|
|
19
19
|
showTabs: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_base: import('vue').DefineComponent<BingDeckTransitionProps,
|
|
|
12
12
|
"onUpdate:modelValue"?: ((value: BingTabValue) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
14
|
disabled: boolean;
|
|
15
|
+
items: import('./BingDeckTransition.types').BingDeckTransitionItem[];
|
|
15
16
|
modelValue: BingTabValue;
|
|
16
17
|
respectReducedMotion: boolean;
|
|
17
|
-
items: import('./BingDeckTransition.types').BingDeckTransitionItem[];
|
|
18
18
|
loop: boolean;
|
|
19
19
|
showControls: boolean;
|
|
20
20
|
controlLabel: string;
|
|
@@ -19,6 +19,7 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BingDr
|
|
|
19
19
|
"onAfter-leave"?: (() => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
trigger: import('./BingDropDown.types').BingDropDownTrigger;
|
|
22
|
+
placement: BingDropDownPlacement;
|
|
22
23
|
size: import('./BingDropDown.types').BingDropDownSize;
|
|
23
24
|
block: boolean;
|
|
24
25
|
ariaLabel: string;
|
|
@@ -28,7 +29,6 @@ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<BingDr
|
|
|
28
29
|
glassOpacity: number;
|
|
29
30
|
glassSaturation: number;
|
|
30
31
|
loop: boolean;
|
|
31
|
-
placement: BingDropDownPlacement;
|
|
32
32
|
closeOnOutside: boolean;
|
|
33
33
|
panelClass: string;
|
|
34
34
|
closeOnEscape: boolean;
|
|
@@ -13,13 +13,13 @@ declare const __VLS_export: import('vue').DefineComponent<BingImagePreviewProps,
|
|
|
13
13
|
onDownload?: ((payload: import('./BingImagePreview.types').BingImagePreviewDownloadPayload) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
zIndex: number;
|
|
16
|
+
items: import('./BingImagePreview.types').BingImagePreviewItem[];
|
|
16
17
|
ariaLabel: string;
|
|
17
18
|
modelValue: boolean;
|
|
18
19
|
glass: boolean;
|
|
19
20
|
glassBlur: string | number;
|
|
20
21
|
glassOpacity: number;
|
|
21
22
|
glassSaturation: number;
|
|
22
|
-
items: import('./BingImagePreview.types').BingImagePreviewItem[];
|
|
23
23
|
loop: boolean;
|
|
24
24
|
closeOnEsc: boolean;
|
|
25
25
|
lockScroll: boolean;
|
|
@@ -13,7 +13,7 @@ export interface BingInputProps {
|
|
|
13
13
|
readonly?: boolean;
|
|
14
14
|
/** 搜索输入默认开启,其他类型默认关闭;可显式覆盖。 */
|
|
15
15
|
clearable?: boolean;
|
|
16
|
-
/** 默认开启约 90ms
|
|
16
|
+
/** 默认开启约 90ms 的光标位移过渡,组词时跟随原生选区焦点端;不能可靠定位时保留原生光标。 */
|
|
17
17
|
smoothCaret?: boolean;
|
|
18
18
|
icon?: Component;
|
|
19
19
|
iconLabel?: string;
|
|
@@ -27,10 +27,10 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
|
|
|
27
27
|
}>, {
|
|
28
28
|
disabled: boolean;
|
|
29
29
|
order: BingSortableListKey[];
|
|
30
|
-
|
|
30
|
+
items: any[];
|
|
31
31
|
duration: number;
|
|
32
|
+
ariaLabel: string;
|
|
32
33
|
keyboard: boolean;
|
|
33
|
-
items: any[];
|
|
34
34
|
flip: boolean;
|
|
35
35
|
itemKey: import('./BingSortableList.types').BingSortableListItemKey<any>;
|
|
36
36
|
axis: import('./BingSortableList.types').BingSortableListAxis;
|
|
@@ -19,6 +19,7 @@ declare const __VLS_base: import('vue').DefineComponent<BingTabsProps, {}, {}, {
|
|
|
19
19
|
"onUpdate:modelValue"?: ((value: BingTabValue) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
disabled: boolean;
|
|
22
|
+
items: BingTabItem[];
|
|
22
23
|
variant: import('./BingTabs.types').BingTabsVariant;
|
|
23
24
|
size: import('./BingTabs.types').BingTabsSize;
|
|
24
25
|
block: boolean;
|
|
@@ -26,7 +27,6 @@ declare const __VLS_base: import('vue').DefineComponent<BingTabsProps, {}, {}, {
|
|
|
26
27
|
modelValue: BingTabValue;
|
|
27
28
|
respectReducedMotion: boolean;
|
|
28
29
|
smoothScroll: import('../..').SmoothScrollValue;
|
|
29
|
-
items: BingTabItem[];
|
|
30
30
|
activation: import('./BingTabs.types').BingTabsActivation;
|
|
31
31
|
loop: boolean;
|
|
32
32
|
animated: boolean;
|
|
@@ -26,6 +26,8 @@ declare const __VLS_base: import('vue').DefineComponent<BingTooltipProps, BingTo
|
|
|
26
26
|
maxWidth: string | number;
|
|
27
27
|
zIndex: number;
|
|
28
28
|
id: string;
|
|
29
|
+
placement: BingTooltipPlacement;
|
|
30
|
+
align: BingTooltipAlign;
|
|
29
31
|
ariaLabel: string;
|
|
30
32
|
offset: number;
|
|
31
33
|
glass: boolean;
|
|
@@ -33,8 +35,6 @@ declare const __VLS_base: import('vue').DefineComponent<BingTooltipProps, BingTo
|
|
|
33
35
|
glassOpacity: number;
|
|
34
36
|
glassSaturation: number;
|
|
35
37
|
interactive: boolean;
|
|
36
|
-
placement: BingTooltipPlacement;
|
|
37
|
-
align: BingTooltipAlign;
|
|
38
38
|
openDelay: number;
|
|
39
39
|
closeDelay: number;
|
|
40
40
|
viewportPadding: number;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface DetailPanelSnapshot {
|
|
2
|
+
height: number;
|
|
3
|
+
left: number;
|
|
4
|
+
top: number;
|
|
5
|
+
width: number;
|
|
6
|
+
}
|
|
7
|
+
export interface DetailPanelTarget {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
placement: 'left' | 'right';
|
|
11
|
+
}
|
|
12
|
+
export declare function getOptionDetailSnapshot(detailPanel: HTMLElement | null): DetailPanelSnapshot | undefined;
|
|
13
|
+
export declare function moveOptionDetailPanel({ panel: detailPanel, content, getTarget, animateContent, previousSnapshot, reducedMotion, onComplete, }: {
|
|
14
|
+
panel: HTMLElement | null;
|
|
15
|
+
content: HTMLElement | null;
|
|
16
|
+
getTarget: () => DetailPanelTarget | null;
|
|
17
|
+
animateContent?: boolean;
|
|
18
|
+
previousSnapshot?: DetailPanelSnapshot;
|
|
19
|
+
reducedMotion?: boolean;
|
|
20
|
+
onComplete?: () => void;
|
|
21
|
+
}): DetailPanelTarget | undefined;
|