@halo-dev/components 2.16.0 → 2.18.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/dist/components/avatar/Avatar.vue.d.ts +4 -30
- package/dist/components/avatar/AvatarGroup.stories.d.ts +8 -0
- package/dist/components/avatar/AvatarGroup.vue.d.ts +37 -0
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/interface.d.ts +12 -0
- package/dist/components/dialog/Dialog.vue.d.ts +1 -1
- package/dist/components/dropdown/index.d.ts +1 -1
- package/dist/components/tabs/index.d.ts +1 -1
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components.d.ts +10 -10
- package/dist/halo-components.es.js +2536 -2520
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +2 -2
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +60 -60
- package/dist/style.css +2 -2
- package/package.json +1 -1
|
@@ -1,40 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AvatarProps } from './interface';
|
|
2
2
|
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
src?: string | undefined;
|
|
5
|
-
alt?: string | undefined;
|
|
6
|
-
size?: Size | undefined;
|
|
7
|
-
width?: string | undefined;
|
|
8
|
-
height?: string | undefined;
|
|
9
|
-
circle?: boolean | undefined;
|
|
10
|
-
}>, {
|
|
11
|
-
src: undefined;
|
|
12
|
-
alt: undefined;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
|
|
13
4
|
size: string;
|
|
14
|
-
width: undefined;
|
|
15
|
-
height: undefined;
|
|
16
5
|
circle: boolean;
|
|
17
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
-
src?: string | undefined;
|
|
19
|
-
alt?: string | undefined;
|
|
20
|
-
size?: Size | undefined;
|
|
21
|
-
width?: string | undefined;
|
|
22
|
-
height?: string | undefined;
|
|
23
|
-
circle?: boolean | undefined;
|
|
24
|
-
}>, {
|
|
25
|
-
src: undefined;
|
|
26
|
-
alt: undefined;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
|
|
27
7
|
size: string;
|
|
28
|
-
width: undefined;
|
|
29
|
-
height: undefined;
|
|
30
8
|
circle: boolean;
|
|
31
9
|
}>>>, {
|
|
32
10
|
circle: boolean;
|
|
33
|
-
|
|
34
|
-
alt: string;
|
|
35
|
-
size: Size;
|
|
36
|
-
width: string;
|
|
37
|
-
height: string;
|
|
11
|
+
size: import('./interface').Size;
|
|
38
12
|
}, {}>;
|
|
39
13
|
export default _default;
|
|
40
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VAvatarGroup } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VAvatarGroup>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VAvatarGroup>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Circle: Story;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { AvatarGroupProps } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarGroupProps>, {
|
|
4
|
+
size: string;
|
|
5
|
+
circle: boolean;
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarGroupProps>, {
|
|
7
|
+
size: string;
|
|
8
|
+
circle: boolean;
|
|
9
|
+
}>>>, {
|
|
10
|
+
circle: boolean;
|
|
11
|
+
size: import('./interface').Size;
|
|
12
|
+
}, {}>, {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -1 +1,13 @@
|
|
|
1
|
+
import { InjectionKey } from 'vue';
|
|
2
|
+
|
|
1
3
|
export type Size = "lg" | "md" | "sm" | "xs";
|
|
4
|
+
export interface AvatarProps {
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
size?: Size;
|
|
8
|
+
width?: string;
|
|
9
|
+
height?: string;
|
|
10
|
+
circle?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export type AvatarGroupProps = Omit<AvatarProps, "src" | "alt">;
|
|
13
|
+
export declare const AvatarGroupContextInjectionKey: InjectionKey<AvatarGroupProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as VDropdown } from './Dropdown.vue';
|
|
2
|
-
export { default as VDropdownItem } from './DropdownItem.vue';
|
|
3
2
|
export { default as VDropdownDivider } from './DropdownDivider.vue';
|
|
3
|
+
export { default as VDropdownItem } from './DropdownItem.vue';
|
|
4
4
|
export { vClosePopper as VClosePopper, vClosePopper } from 'floating-vue';
|
|
5
5
|
export * from './symbols';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { vTooltip
|
|
1
|
+
export { vTooltip as VTooltip, vTooltip } from 'floating-vue';
|
package/dist/components.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from './components/avatar';
|
|
2
1
|
export * from './components/alert';
|
|
2
|
+
export * from './components/avatar';
|
|
3
3
|
export * from './components/button';
|
|
4
4
|
export * from './components/card';
|
|
5
|
+
export * from './components/description';
|
|
6
|
+
export * from './components/dialog';
|
|
7
|
+
export * from './components/dropdown';
|
|
8
|
+
export * from './components/empty';
|
|
9
|
+
export * from './components/entity';
|
|
5
10
|
export * from './components/header';
|
|
11
|
+
export * from './components/loading';
|
|
6
12
|
export * from './components/menu';
|
|
7
13
|
export * from './components/modal';
|
|
14
|
+
export * from './components/pagination';
|
|
8
15
|
export * from './components/space';
|
|
16
|
+
export * from './components/status';
|
|
17
|
+
export * from './components/switch';
|
|
9
18
|
export * from './components/tabs';
|
|
10
19
|
export * from './components/tag';
|
|
11
|
-
export * from './components/switch';
|
|
12
|
-
export * from './components/dialog';
|
|
13
|
-
export * from './components/pagination';
|
|
14
|
-
export * from './components/empty';
|
|
15
|
-
export * from './components/status';
|
|
16
|
-
export * from './components/entity';
|
|
17
20
|
export * from './components/toast';
|
|
18
|
-
export * from './components/loading';
|
|
19
|
-
export * from './components/dropdown';
|
|
20
21
|
export * from './components/tooltip';
|
|
21
|
-
export * from './components/description';
|