@aleph-alpha/ui-library 6.3.4 → 6.4.0
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/config.js +2 -1
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuSubContent.vue.d.ts +102 -2
- package/dist/system/components/UiDropdownMenu/UiDropdownMenuViewport.vue.d.ts +23 -0
- package/dist/system/components/UiDropdownMenu/menu-metrics.d.ts +4 -0
- package/dist/system/components/UiDropdownMenu/placeMobileSubmenu.d.ts +55 -0
- package/dist/system/components/UiDropdownMenu/types.d.ts +3 -0
- package/dist/system/components/UiDropdownMenu/useMobileSubmenuPlacement.d.ts +18 -0
- package/dist/system/components/UiFileUploadBox/UiFileUploadBox.vue.d.ts +2 -2
- package/dist/system/components/UiResizable/UiResizablePanel.vue.d.ts +2 -2
- package/dist/system/components/UiToggle/UiToggle.vue.d.ts +2 -1
- package/dist/system/components/UiToggle/types.d.ts +10 -2
- package/dist/system/components/UiToggleGroup/UiToggleGroupItem.vue.d.ts +5 -1
- package/dist/system/components/UiToggleGroup/types.d.ts +12 -2
- package/dist/system/components/core/dropdown-menu/DropdownMenuSubContent.vue.d.ts +2 -6
- package/dist/system/components/core/resizable/ResizablePanel.vue.d.ts +2 -2
- package/dist/system/components/core/toggle/Toggle.vue.d.ts +3 -1
- package/dist/system/components/core/toggle/index.d.ts +47 -2
- package/dist/system/components/core/toggle-group/ToggleGroup.vue.d.ts +3 -1
- package/dist/system/components/core/toggle-group/ToggleGroupItem.vue.d.ts +11 -1
- package/dist/system/components/core/toggle-group/context.d.ts +1 -0
- package/dist/system/components/core/toggle-group/index.d.ts +10 -2
- package/dist/system/lib.js +12660 -12479
- package/dist/system/patterns/UiFileUpload/UiFileUpload.vue.d.ts +2 -2
- package/dist/system/patterns/UiLayout/layout-shell.d.ts +171 -12
- package/dist/system/patterns/UiProfileCard/profile-card.d.ts +51 -1
- package/dist/system/patterns/UiTopBar/accessory-dropdown.d.ts +9 -4
- package/package.json +2 -2
- package/src/components/UiDropdownMenu/UiDropdownMenu.stories.ts +819 -31
- package/src/components/UiDropdownMenu/UiDropdownMenuContent.vue +4 -1
- package/src/components/UiDropdownMenu/UiDropdownMenuSubContent.vue +142 -1
- package/src/components/UiDropdownMenu/UiDropdownMenuSubTrigger.vue +28 -0
- package/src/components/UiDropdownMenu/UiDropdownMenuViewport.vue +171 -0
- package/src/components/UiDropdownMenu/__tests__/UiDropdownMenu.test.ts +326 -0
- package/src/components/UiDropdownMenu/__tests__/placeMobileSubmenu.test.ts +128 -0
- package/src/components/UiDropdownMenu/menu-metrics.ts +5 -0
- package/src/components/UiDropdownMenu/placeMobileSubmenu.ts +96 -0
- package/src/components/UiDropdownMenu/types.ts +3 -0
- package/src/components/UiDropdownMenu/useMobileSubmenuPlacement.ts +163 -0
- package/src/components/UiSnackbar/UiSnackbar.stories.ts +104 -32
- package/src/components/UiToggle/UiToggle.stories.ts +386 -261
- package/src/components/UiToggle/UiToggle.vue +2 -0
- package/src/components/UiToggle/__tests__/UiToggle.test.ts +63 -10
- package/src/components/UiToggle/types.ts +10 -2
- package/src/components/UiToggleGroup/UiToggleGroup.stories.ts +765 -30
- package/src/components/UiToggleGroup/UiToggleGroup.vue +2 -0
- package/src/components/UiToggleGroup/UiToggleGroupItem.vue +10 -1
- package/src/components/UiToggleGroup/__tests__/UiToggleGroup.test.ts +83 -4
- package/src/components/UiToggleGroup/types.ts +12 -2
- package/src/components/core/dropdown-menu/DropdownMenuContent.vue +1 -1
- package/src/components/core/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/src/components/core/dropdown-menu/DropdownMenuSubContent.vue +31 -20
- package/src/components/core/toggle/Toggle.vue +12 -5
- package/src/components/core/toggle/index.ts +47 -19
- package/src/components/core/toggle-group/ToggleGroup.vue +20 -4
- package/src/components/core/toggle-group/ToggleGroupItem.vue +36 -8
- package/src/components/core/toggle-group/context.ts +1 -0
- package/src/components/core/toggle-group/index.ts +10 -24
- package/src/patterns/UiDataTable/UiDataTableColumnFilter.vue +1 -1
- package/src/patterns/UiDataTable/UiDataTableFilterMenu.vue +1 -1
- package/src/patterns/UiProfileCard/UiProfileCard.stories.ts +13 -6
- package/src/patterns/UiTopBar/accessory-dropdown.ts +5 -3
|
@@ -17,11 +17,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('../../compo
|
|
|
17
17
|
keydown: (event: KeyboardEvent) => any;
|
|
18
18
|
error: (payload: import('../../components/UiFileUploadBox').UiFileUploadBoxErrorPayload) => any;
|
|
19
19
|
change: (event: Event) => any;
|
|
20
|
-
"update:files": (files: File[]) => any;
|
|
21
20
|
dragenter: (event: DragEvent) => any;
|
|
22
21
|
dragleave: (event: DragEvent) => any;
|
|
23
22
|
dragover: (event: DragEvent) => any;
|
|
24
23
|
drop: (event: DragEvent) => any;
|
|
24
|
+
"update:files": (files: File[]) => any;
|
|
25
25
|
pickerOpen: () => any;
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<import('../../components/UiFileUploadBox').UiFileUploadBoxProps> & Readonly<{
|
|
27
27
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
@@ -30,11 +30,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('../../compo
|
|
|
30
30
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
31
31
|
onError?: ((payload: import('../../components/UiFileUploadBox').UiFileUploadBoxErrorPayload) => any) | undefined;
|
|
32
32
|
onChange?: ((event: Event) => any) | undefined;
|
|
33
|
-
"onUpdate:files"?: ((files: File[]) => any) | undefined;
|
|
34
33
|
onDragenter?: ((event: DragEvent) => any) | undefined;
|
|
35
34
|
onDragleave?: ((event: DragEvent) => any) | undefined;
|
|
36
35
|
onDragover?: ((event: DragEvent) => any) | undefined;
|
|
37
36
|
onDrop?: ((event: DragEvent) => any) | undefined;
|
|
37
|
+
"onUpdate:files"?: ((files: File[]) => any) | undefined;
|
|
38
38
|
onPickerOpen?: (() => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
disabled: boolean;
|
|
@@ -811,8 +811,9 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
|
|
|
811
811
|
}, import('vue').PublicProps, {
|
|
812
812
|
disabled: boolean;
|
|
813
813
|
size: "default" | "sm" | "lg";
|
|
814
|
-
variant: "default" | "
|
|
814
|
+
variant: "default" | "ghost" | "outline";
|
|
815
815
|
active: boolean;
|
|
816
|
+
soft: boolean;
|
|
816
817
|
leftIcon: string;
|
|
817
818
|
rightIcon: string;
|
|
818
819
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -829,8 +830,9 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
|
|
|
829
830
|
}>, {}, {}, {}, {}, {
|
|
830
831
|
disabled: boolean;
|
|
831
832
|
size: "default" | "sm" | "lg";
|
|
832
|
-
variant: "default" | "
|
|
833
|
+
variant: "default" | "ghost" | "outline";
|
|
833
834
|
active: boolean;
|
|
835
|
+
soft: boolean;
|
|
834
836
|
leftIcon: string;
|
|
835
837
|
rightIcon: string;
|
|
836
838
|
}>;
|
|
@@ -846,8 +848,9 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
|
|
|
846
848
|
}, string, {
|
|
847
849
|
disabled: boolean;
|
|
848
850
|
size: "default" | "sm" | "lg";
|
|
849
|
-
variant: "default" | "
|
|
851
|
+
variant: "default" | "ghost" | "outline";
|
|
850
852
|
active: boolean;
|
|
853
|
+
soft: boolean;
|
|
851
854
|
leftIcon: string;
|
|
852
855
|
rightIcon: string;
|
|
853
856
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -955,7 +958,57 @@ export declare function renderShell(defaultOpen?: boolean, rows?: number, histor
|
|
|
955
958
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
956
959
|
}, import('vue').PublicProps, {
|
|
957
960
|
sideOffset: number;
|
|
958
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
961
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
962
|
+
viewportRef: ({
|
|
963
|
+
$: import('vue').ComponentInternalInstance;
|
|
964
|
+
$data: {};
|
|
965
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
966
|
+
$attrs: {
|
|
967
|
+
[x: string]: unknown;
|
|
968
|
+
};
|
|
969
|
+
$refs: {
|
|
970
|
+
[x: string]: unknown;
|
|
971
|
+
} & {
|
|
972
|
+
scrollEl: HTMLDivElement;
|
|
973
|
+
};
|
|
974
|
+
$slots: Readonly<{
|
|
975
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
976
|
+
}>;
|
|
977
|
+
$root: ComponentPublicInstance | null;
|
|
978
|
+
$parent: ComponentPublicInstance | null;
|
|
979
|
+
$host: Element | null;
|
|
980
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
981
|
+
$el: any;
|
|
982
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
983
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
984
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
985
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
986
|
+
created?: (() => void) | (() => void)[];
|
|
987
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
988
|
+
mounted?: (() => void) | (() => void)[];
|
|
989
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
990
|
+
updated?: (() => void) | (() => void)[];
|
|
991
|
+
activated?: (() => void) | (() => void)[];
|
|
992
|
+
deactivated?: (() => void) | (() => void)[];
|
|
993
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
994
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
995
|
+
destroyed?: (() => void) | (() => void)[];
|
|
996
|
+
unmounted?: (() => void) | (() => void)[];
|
|
997
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
998
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
999
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1000
|
+
};
|
|
1001
|
+
$forceUpdate: () => void;
|
|
1002
|
+
$nextTick: typeof import('vue').nextTick;
|
|
1003
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
1004
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
|
|
1005
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1006
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1007
|
+
$slots: {
|
|
1008
|
+
default?(_: {}): any;
|
|
1009
|
+
};
|
|
1010
|
+
}) | null;
|
|
1011
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
959
1012
|
P: {};
|
|
960
1013
|
B: {};
|
|
961
1014
|
D: {};
|
|
@@ -1826,8 +1879,9 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
|
|
|
1826
1879
|
}, import('vue').PublicProps, {
|
|
1827
1880
|
disabled: boolean;
|
|
1828
1881
|
size: "default" | "sm" | "lg";
|
|
1829
|
-
variant: "default" | "
|
|
1882
|
+
variant: "default" | "ghost" | "outline";
|
|
1830
1883
|
active: boolean;
|
|
1884
|
+
soft: boolean;
|
|
1831
1885
|
leftIcon: string;
|
|
1832
1886
|
rightIcon: string;
|
|
1833
1887
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -1844,8 +1898,9 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
|
|
|
1844
1898
|
}>, {}, {}, {}, {}, {
|
|
1845
1899
|
disabled: boolean;
|
|
1846
1900
|
size: "default" | "sm" | "lg";
|
|
1847
|
-
variant: "default" | "
|
|
1901
|
+
variant: "default" | "ghost" | "outline";
|
|
1848
1902
|
active: boolean;
|
|
1903
|
+
soft: boolean;
|
|
1849
1904
|
leftIcon: string;
|
|
1850
1905
|
rightIcon: string;
|
|
1851
1906
|
}>;
|
|
@@ -1861,8 +1916,9 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
|
|
|
1861
1916
|
}, string, {
|
|
1862
1917
|
disabled: boolean;
|
|
1863
1918
|
size: "default" | "sm" | "lg";
|
|
1864
|
-
variant: "default" | "
|
|
1919
|
+
variant: "default" | "ghost" | "outline";
|
|
1865
1920
|
active: boolean;
|
|
1921
|
+
soft: boolean;
|
|
1866
1922
|
leftIcon: string;
|
|
1867
1923
|
rightIcon: string;
|
|
1868
1924
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1970,7 +2026,57 @@ export declare function renderShellWith(contentTemplate: string, extraComponents
|
|
|
1970
2026
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
1971
2027
|
}, import('vue').PublicProps, {
|
|
1972
2028
|
sideOffset: number;
|
|
1973
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2029
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2030
|
+
viewportRef: ({
|
|
2031
|
+
$: import('vue').ComponentInternalInstance;
|
|
2032
|
+
$data: {};
|
|
2033
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
2034
|
+
$attrs: {
|
|
2035
|
+
[x: string]: unknown;
|
|
2036
|
+
};
|
|
2037
|
+
$refs: {
|
|
2038
|
+
[x: string]: unknown;
|
|
2039
|
+
} & {
|
|
2040
|
+
scrollEl: HTMLDivElement;
|
|
2041
|
+
};
|
|
2042
|
+
$slots: Readonly<{
|
|
2043
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
2044
|
+
}>;
|
|
2045
|
+
$root: ComponentPublicInstance | null;
|
|
2046
|
+
$parent: ComponentPublicInstance | null;
|
|
2047
|
+
$host: Element | null;
|
|
2048
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
2049
|
+
$el: any;
|
|
2050
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
2051
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2052
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
2053
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2054
|
+
created?: (() => void) | (() => void)[];
|
|
2055
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2056
|
+
mounted?: (() => void) | (() => void)[];
|
|
2057
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2058
|
+
updated?: (() => void) | (() => void)[];
|
|
2059
|
+
activated?: (() => void) | (() => void)[];
|
|
2060
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2061
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2062
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2063
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2064
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2065
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
2066
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
2067
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2068
|
+
};
|
|
2069
|
+
$forceUpdate: () => void;
|
|
2070
|
+
$nextTick: typeof import('vue').nextTick;
|
|
2071
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
2072
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
|
|
2073
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
2074
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
2075
|
+
$slots: {
|
|
2076
|
+
default?(_: {}): any;
|
|
2077
|
+
};
|
|
2078
|
+
}) | null;
|
|
2079
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
1974
2080
|
P: {};
|
|
1975
2081
|
B: {};
|
|
1976
2082
|
D: {};
|
|
@@ -2836,8 +2942,9 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
|
|
|
2836
2942
|
}, import('vue').PublicProps, {
|
|
2837
2943
|
disabled: boolean;
|
|
2838
2944
|
size: "default" | "sm" | "lg";
|
|
2839
|
-
variant: "default" | "
|
|
2945
|
+
variant: "default" | "ghost" | "outline";
|
|
2840
2946
|
active: boolean;
|
|
2947
|
+
soft: boolean;
|
|
2841
2948
|
leftIcon: string;
|
|
2842
2949
|
rightIcon: string;
|
|
2843
2950
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -2854,8 +2961,9 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
|
|
|
2854
2961
|
}>, {}, {}, {}, {}, {
|
|
2855
2962
|
disabled: boolean;
|
|
2856
2963
|
size: "default" | "sm" | "lg";
|
|
2857
|
-
variant: "default" | "
|
|
2964
|
+
variant: "default" | "ghost" | "outline";
|
|
2858
2965
|
active: boolean;
|
|
2966
|
+
soft: boolean;
|
|
2859
2967
|
leftIcon: string;
|
|
2860
2968
|
rightIcon: string;
|
|
2861
2969
|
}>;
|
|
@@ -2871,8 +2979,9 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
|
|
|
2871
2979
|
}, string, {
|
|
2872
2980
|
disabled: boolean;
|
|
2873
2981
|
size: "default" | "sm" | "lg";
|
|
2874
|
-
variant: "default" | "
|
|
2982
|
+
variant: "default" | "ghost" | "outline";
|
|
2875
2983
|
active: boolean;
|
|
2984
|
+
soft: boolean;
|
|
2876
2985
|
leftIcon: string;
|
|
2877
2986
|
rightIcon: string;
|
|
2878
2987
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -2980,7 +3089,57 @@ export declare function renderMobileShell(defaultOpen?: boolean, rows?: number,
|
|
|
2980
3089
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
2981
3090
|
}, import('vue').PublicProps, {
|
|
2982
3091
|
sideOffset: number;
|
|
2983
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
3092
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
3093
|
+
viewportRef: ({
|
|
3094
|
+
$: import('vue').ComponentInternalInstance;
|
|
3095
|
+
$data: {};
|
|
3096
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
3097
|
+
$attrs: {
|
|
3098
|
+
[x: string]: unknown;
|
|
3099
|
+
};
|
|
3100
|
+
$refs: {
|
|
3101
|
+
[x: string]: unknown;
|
|
3102
|
+
} & {
|
|
3103
|
+
scrollEl: HTMLDivElement;
|
|
3104
|
+
};
|
|
3105
|
+
$slots: Readonly<{
|
|
3106
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
3107
|
+
}>;
|
|
3108
|
+
$root: ComponentPublicInstance | null;
|
|
3109
|
+
$parent: ComponentPublicInstance | null;
|
|
3110
|
+
$host: Element | null;
|
|
3111
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3112
|
+
$el: any;
|
|
3113
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
3114
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3115
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
3116
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
3117
|
+
created?: (() => void) | (() => void)[];
|
|
3118
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
3119
|
+
mounted?: (() => void) | (() => void)[];
|
|
3120
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
3121
|
+
updated?: (() => void) | (() => void)[];
|
|
3122
|
+
activated?: (() => void) | (() => void)[];
|
|
3123
|
+
deactivated?: (() => void) | (() => void)[];
|
|
3124
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
3125
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
3126
|
+
destroyed?: (() => void) | (() => void)[];
|
|
3127
|
+
unmounted?: (() => void) | (() => void)[];
|
|
3128
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
3129
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
3130
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3131
|
+
};
|
|
3132
|
+
$forceUpdate: () => void;
|
|
3133
|
+
$nextTick: typeof import('vue').nextTick;
|
|
3134
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
3135
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
|
|
3136
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
3137
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
3138
|
+
$slots: {
|
|
3139
|
+
default?(_: {}): any;
|
|
3140
|
+
};
|
|
3141
|
+
}) | null;
|
|
3142
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
2984
3143
|
P: {};
|
|
2985
3144
|
B: {};
|
|
2986
3145
|
D: {};
|
|
@@ -288,7 +288,57 @@ export declare const PROFILE_CARD_COMPONENTS: {
|
|
|
288
288
|
escapeKeyDown: (event: KeyboardEvent) => any;
|
|
289
289
|
}, import('vue').PublicProps, {
|
|
290
290
|
sideOffset: number;
|
|
291
|
-
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
291
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
292
|
+
viewportRef: ({
|
|
293
|
+
$: import('vue').ComponentInternalInstance;
|
|
294
|
+
$data: {};
|
|
295
|
+
$props: Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>;
|
|
296
|
+
$attrs: {
|
|
297
|
+
[x: string]: unknown;
|
|
298
|
+
};
|
|
299
|
+
$refs: {
|
|
300
|
+
[x: string]: unknown;
|
|
301
|
+
} & {
|
|
302
|
+
scrollEl: HTMLDivElement;
|
|
303
|
+
};
|
|
304
|
+
$slots: Readonly<{
|
|
305
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
306
|
+
}>;
|
|
307
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
308
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
309
|
+
$host: Element | null;
|
|
310
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
311
|
+
$el: any;
|
|
312
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {
|
|
313
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
314
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
315
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
316
|
+
created?: (() => void) | (() => void)[];
|
|
317
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
318
|
+
mounted?: (() => void) | (() => void)[];
|
|
319
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
320
|
+
updated?: (() => void) | (() => void)[];
|
|
321
|
+
activated?: (() => void) | (() => void)[];
|
|
322
|
+
deactivated?: (() => void) | (() => void)[];
|
|
323
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
324
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
325
|
+
destroyed?: (() => void) | (() => void)[];
|
|
326
|
+
unmounted?: (() => void) | (() => void)[];
|
|
327
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
328
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
329
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
330
|
+
};
|
|
331
|
+
$forceUpdate: () => void;
|
|
332
|
+
$nextTick: typeof import('vue').nextTick;
|
|
333
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
334
|
+
} & Readonly<{}> & Omit<Readonly<{}> & Readonly<{}>, "scrollEl"> & import('vue').ShallowUnwrapRef<{
|
|
335
|
+
scrollEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
336
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
337
|
+
$slots: {
|
|
338
|
+
default?(_: {}): any;
|
|
339
|
+
};
|
|
340
|
+
}) | null;
|
|
341
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
292
342
|
P: {};
|
|
293
343
|
B: {};
|
|
294
344
|
D: {};
|
|
@@ -150,8 +150,9 @@ export declare const ACCESSORY_DROPDOWN_COMPONENTS: {
|
|
|
150
150
|
}, import('vue').PublicProps, {
|
|
151
151
|
disabled: boolean;
|
|
152
152
|
size: "default" | "sm" | "lg";
|
|
153
|
-
variant: "default" | "
|
|
153
|
+
variant: "default" | "ghost" | "outline";
|
|
154
154
|
active: boolean;
|
|
155
|
+
soft: boolean;
|
|
155
156
|
leftIcon: string;
|
|
156
157
|
rightIcon: string;
|
|
157
158
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -168,8 +169,9 @@ export declare const ACCESSORY_DROPDOWN_COMPONENTS: {
|
|
|
168
169
|
}>, {}, {}, {}, {}, {
|
|
169
170
|
disabled: boolean;
|
|
170
171
|
size: "default" | "sm" | "lg";
|
|
171
|
-
variant: "default" | "
|
|
172
|
+
variant: "default" | "ghost" | "outline";
|
|
172
173
|
active: boolean;
|
|
174
|
+
soft: boolean;
|
|
173
175
|
leftIcon: string;
|
|
174
176
|
rightIcon: string;
|
|
175
177
|
}>;
|
|
@@ -185,8 +187,9 @@ export declare const ACCESSORY_DROPDOWN_COMPONENTS: {
|
|
|
185
187
|
}, string, {
|
|
186
188
|
disabled: boolean;
|
|
187
189
|
size: "default" | "sm" | "lg";
|
|
188
|
-
variant: "default" | "
|
|
190
|
+
variant: "default" | "ghost" | "outline";
|
|
189
191
|
active: boolean;
|
|
192
|
+
soft: boolean;
|
|
190
193
|
leftIcon: string;
|
|
191
194
|
rightIcon: string;
|
|
192
195
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -215,7 +218,9 @@ export declare function accessoryDropdownState(): {
|
|
|
215
218
|
/**
|
|
216
219
|
* The accessibility toggle and the menu it opens. The trigger is a `UiToggle`
|
|
217
220
|
* bound to the same state as the menu, so the pressed look and the menu never
|
|
218
|
-
* disagree, and the chevron is a second signal rather than the only one.
|
|
221
|
+
* disagree, and the chevron is a second signal rather than the only one. It is
|
|
222
|
+
* `soft`, the fill meant for menu triggers: while the menu is open the trigger
|
|
223
|
+
* reads as lit up rather than as a second filled button beside it.
|
|
219
224
|
*/
|
|
220
225
|
export declare const ACCESSORY_DROPDOWN: string;
|
|
221
226
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aleph-alpha/ui-library",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/system/lib.js",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"vue-tsc": "^2.2.12",
|
|
89
89
|
"wait-on": "9.0.3",
|
|
90
90
|
"@aleph-alpha/eslint-config-frontend": "0.7.1",
|
|
91
|
-
"@aleph-alpha/prettier-config-frontend": "2.1.1",
|
|
92
91
|
"@aleph-alpha/storybook-addon-filters": "0.0.1",
|
|
93
92
|
"@aleph-alpha/storybook-addon-sidebar": "0.0.1",
|
|
93
|
+
"@aleph-alpha/prettier-config-frontend": "2.1.1",
|
|
94
94
|
"@aleph-alpha/storybook-addon-theming": "0.0.1",
|
|
95
95
|
"@aleph-alpha/tsconfig-frontend": "0.7.3"
|
|
96
96
|
},
|