@rocketui/vue 0.2.74 → 0.2.76
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/rocket-ui-vue.js +2 -1
- package/dist/rocket-ui-vue.umd.cjs +1 -1
- package/dist/src/components/Accordion/Accordion.stories.d.ts +116 -0
- package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/src/components/Accordion/RAccordion.vue.d.ts +70 -0
- package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +1 -0
- package/dist/src/components/Accordion/accordion.spec.d.ts +2 -0
- package/dist/src/components/Accordion/accordion.spec.d.ts.map +1 -0
- package/dist/src/components/Alert/Alert.stories.d.ts +461 -0
- package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/src/components/Alert/RAlert.vue.d.ts +109 -0
- package/dist/src/components/Alert/RAlert.vue.d.ts.map +1 -0
- package/dist/src/components/Alert/alert.spec.d.ts +2 -0
- package/dist/src/components/Alert/alert.spec.d.ts.map +1 -0
- package/dist/src/components/Avatar/Avatar.stories.d.ts +68 -0
- package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/src/components/Avatar/RAvatar.vue.d.ts +92 -0
- package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +1 -0
- package/dist/src/components/Avatar/avatar.spec.d.ts +2 -0
- package/dist/src/components/Avatar/avatar.spec.d.ts.map +1 -0
- package/dist/src/components/Badge/Badge.stories.d.ts +281 -0
- package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
- package/dist/src/components/Badge/RBadge.vue.d.ts +143 -0
- package/dist/src/components/Badge/RBadge.vue.d.ts.map +1 -0
- package/dist/src/components/Badge/badge.spec.d.ts +2 -0
- package/dist/src/components/Badge/badge.spec.d.ts.map +1 -0
- package/dist/src/components/Box/Box.stories.d.ts +167 -0
- package/dist/src/components/Box/Box.stories.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +111 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
- package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
- package/dist/src/components/Button/Button.spec.d.ts +2 -0
- package/dist/src/components/Button/Button.spec.d.ts.map +1 -0
- package/dist/src/components/Button/Button.stories.d.ts +553 -0
- package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/src/components/Button/RButton.vue.d.ts +155 -0
- package/dist/src/components/Button/RButton.vue.d.ts.map +1 -0
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts +88 -0
- package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +120 -0
- package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
- package/dist/src/components/Checkbox/checkbox.spec.d.ts +2 -0
- package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +1 -0
- package/dist/src/components/Chips/Chip.stories.d.ts +547 -0
- package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
- package/dist/src/components/Chips/RChip.vue.d.ts +132 -0
- package/dist/src/components/Chips/RChip.vue.d.ts.map +1 -0
- package/dist/src/components/Chips/chip.spec.d.ts +2 -0
- package/dist/src/components/Chips/chip.spec.d.ts.map +1 -0
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts +690 -0
- package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts +418 -0
- package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
- package/dist/src/components/Dropdown/dropdown.spec.d.ts +2 -0
- package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +1 -0
- package/dist/src/components/Icon/Icon.stories.d.ts +39 -0
- package/dist/src/components/Icon/Icon.stories.d.ts.map +1 -0
- package/dist/src/components/Icon/RIcon.vue.d.ts +59 -0
- package/dist/src/components/Icon/RIcon.vue.d.ts.map +1 -0
- package/dist/src/components/Icon/icon.spec.d.ts +2 -0
- package/dist/src/components/Icon/icon.spec.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +215 -0
- package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/RItem.vue.d.ts +65 -0
- package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
- package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +2 -0
- package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +1 -0
- package/dist/src/components/Label/Label.stories.d.ts +133 -0
- package/dist/src/components/Label/Label.stories.d.ts.map +1 -0
- package/dist/src/components/Label/RLabel.vue.d.ts +68 -0
- package/dist/src/components/Label/RLabel.vue.d.ts.map +1 -0
- package/dist/src/components/Modal/Modal.stories.d.ts +343 -0
- package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
- package/dist/src/components/Modal/RModal.vue.d.ts +183 -0
- package/dist/src/components/Modal/RModal.vue.d.ts.map +1 -0
- package/dist/src/components/Modal/modal.spec.d.ts +2 -0
- package/dist/src/components/Modal/modal.spec.d.ts.map +1 -0
- package/dist/src/components/Pagination/Pagination.stories.d.ts +243 -0
- package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
- package/dist/src/components/Pagination/RPagination.vue.d.ts +110 -0
- package/dist/src/components/Pagination/RPagination.vue.d.ts.map +1 -0
- package/dist/src/components/Pagination/pagination.spec.d.ts +2 -0
- package/dist/src/components/Pagination/pagination.spec.d.ts.map +1 -0
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +30 -0
- package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +1 -0
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
- package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts +2 -0
- package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +1 -0
- package/dist/src/components/Radio/RRadio.vue.d.ts +66 -0
- package/dist/src/components/Radio/RRadio.vue.d.ts.map +1 -0
- package/dist/src/components/Radio/Radio.stories.d.ts +100 -0
- package/dist/src/components/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/src/components/Shared/Enums.d.ts +2 -0
- package/dist/src/components/Shared/Enums.d.ts.map +1 -0
- package/dist/src/components/Sidebar/RSidebar.vue.d.ts +53 -0
- package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts +163 -0
- package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
- package/dist/src/components/Sidebar/sidebar.spec.d.ts +2 -0
- package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +1 -0
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +113 -0
- package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts +224 -0
- package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
- package/dist/src/components/Snackbar/snackbar.spec.d.ts +2 -0
- package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +1 -0
- package/dist/src/components/Switch/RSwitch.vue.d.ts +135 -0
- package/dist/src/components/Switch/RSwitch.vue.d.ts.map +1 -0
- package/dist/src/components/Switch/Switch.stories.d.ts +102 -0
- package/dist/src/components/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/src/components/Switch/switch.spec.d.ts +2 -0
- package/dist/src/components/Switch/switch.spec.d.ts.map +1 -0
- package/dist/src/components/TabItem/RTabItem.vue.d.ts +155 -0
- package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +1 -0
- package/dist/src/components/TabItem/TabItem.spec.d.ts +2 -0
- package/dist/src/components/TabItem/TabItem.spec.d.ts.map +1 -0
- package/dist/src/components/TabItem/TabItem.stories.d.ts +290 -0
- package/dist/src/components/TabItem/TabItem.stories.d.ts.map +1 -0
- package/dist/src/components/TabItem/common.d.ts +7 -0
- package/dist/src/components/TabItem/common.d.ts.map +1 -0
- package/dist/src/components/Tabs/RTabs.vue.d.ts +95 -0
- package/dist/src/components/Tabs/RTabs.vue.d.ts.map +1 -0
- package/dist/src/components/Tabs/Tabs.spec.d.ts +2 -0
- package/dist/src/components/Tabs/Tabs.spec.d.ts.map +1 -0
- package/dist/src/components/Tabs/Tabs.stories.d.ts +181 -0
- package/dist/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/src/components/Tabs/types.d.ts +11 -0
- package/dist/src/components/Tabs/types.d.ts.map +1 -0
- package/dist/src/components/TextArea/RTextArea.vue.d.ts +120 -0
- package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +1 -0
- package/dist/src/components/TextArea/TextArea.stories.d.ts +89 -0
- package/dist/src/components/TextArea/TextArea.stories.d.ts.map +1 -0
- package/dist/src/components/TextArea/textarea.spec.d.ts +2 -0
- package/dist/src/components/TextArea/textarea.spec.d.ts.map +1 -0
- package/dist/src/components/Textfield/RTextfield.vue.d.ts +249 -0
- package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
- package/dist/src/components/Textfield/Textfield.stories.d.ts +459 -0
- package/dist/src/components/Textfield/Textfield.stories.d.ts.map +1 -0
- package/dist/src/components/Textfield/textfield.spec.d.ts +2 -0
- package/dist/src/components/Textfield/textfield.spec.d.ts.map +1 -0
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts +264 -0
- package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +479 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/dist/src/components/Tooltip/popper.d.ts +29 -0
- package/dist/src/components/Tooltip/popper.d.ts.map +1 -0
- package/dist/src/components/Tooltip/tooltip.spec.d.ts +2 -0
- package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +1 -0
- package/dist/src/directives/index.d.ts +5 -0
- package/dist/src/directives/index.d.ts.map +1 -0
- package/dist/src/lib/main.d.ts +26 -0
- package/dist/src/lib/main.d.ts.map +1 -0
- package/dist/src/main.d.ts +1 -0
- package/dist/src/main.d.ts.map +1 -0
- package/dist/src/shims.d.ts +9 -0
- package/dist/src/utils/helpers.d.ts +2 -0
- package/dist/src/utils/helpers.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/rocket-ui-vue.d.ts +0 -3337
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* Type of the Alert
|
|
5
|
+
* @type 'success' | 'error' | 'warning' | 'info'
|
|
6
|
+
* @default 'info'
|
|
7
|
+
* @example
|
|
8
|
+
* <Alert type="success" />
|
|
9
|
+
*/
|
|
10
|
+
type: 'success' | 'error' | 'warning' | 'info';
|
|
11
|
+
/**
|
|
12
|
+
* Title of the Alert
|
|
13
|
+
* @type string
|
|
14
|
+
* @default ''
|
|
15
|
+
* @example
|
|
16
|
+
* <Alert title="Title" />
|
|
17
|
+
*/
|
|
18
|
+
title: string;
|
|
19
|
+
/**
|
|
20
|
+
* Variant of the Alert
|
|
21
|
+
* @type 'solid' | 'outline' | 'ghost'
|
|
22
|
+
* @default 'ghost'
|
|
23
|
+
* @example
|
|
24
|
+
* <Alert variant="ghost" />
|
|
25
|
+
*/
|
|
26
|
+
variant?: 'solid' | 'outline' | 'ghost';
|
|
27
|
+
/**
|
|
28
|
+
* Description of the Alert
|
|
29
|
+
* @type string
|
|
30
|
+
* @default ''
|
|
31
|
+
* @example
|
|
32
|
+
* <Alert description="Description" />
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Allow to close the Alert
|
|
37
|
+
* @type boolean
|
|
38
|
+
* @default true
|
|
39
|
+
* @example
|
|
40
|
+
* <Alert closable />
|
|
41
|
+
*/
|
|
42
|
+
closable?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Block appearance of the Alert
|
|
45
|
+
* @type boolean
|
|
46
|
+
* @default false
|
|
47
|
+
* @example
|
|
48
|
+
* <Alert block />
|
|
49
|
+
*/
|
|
50
|
+
block?: boolean;
|
|
51
|
+
}
|
|
52
|
+
declare function close(): void;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
54
|
+
type: string;
|
|
55
|
+
title: string;
|
|
56
|
+
variant: string;
|
|
57
|
+
description: string;
|
|
58
|
+
closable: boolean;
|
|
59
|
+
block: boolean;
|
|
60
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
61
|
+
close: (...args: any[]) => void;
|
|
62
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
63
|
+
type: string;
|
|
64
|
+
title: string;
|
|
65
|
+
variant: string;
|
|
66
|
+
description: string;
|
|
67
|
+
closable: boolean;
|
|
68
|
+
block: boolean;
|
|
69
|
+
}>>> & {
|
|
70
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
71
|
+
}, {
|
|
72
|
+
type: "success" | "error" | "warning" | "info";
|
|
73
|
+
title: string;
|
|
74
|
+
variant: "ghost" | "solid" | "outline";
|
|
75
|
+
block: boolean;
|
|
76
|
+
description: string;
|
|
77
|
+
closable: boolean;
|
|
78
|
+
}, {}>, {
|
|
79
|
+
"alert-icon"?(_: {}): any;
|
|
80
|
+
content?(_: {}): any;
|
|
81
|
+
"custom-close"?(_: {
|
|
82
|
+
close: typeof close;
|
|
83
|
+
slotClass: string;
|
|
84
|
+
}): any;
|
|
85
|
+
}>;
|
|
86
|
+
export default _default;
|
|
87
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
88
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
89
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
90
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
91
|
+
} : {
|
|
92
|
+
type: PropType<T[K]>;
|
|
93
|
+
required: true;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
97
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
98
|
+
default: D[K];
|
|
99
|
+
}> : P[K];
|
|
100
|
+
};
|
|
101
|
+
declare type __VLS_Prettify<T> = {
|
|
102
|
+
[K in keyof T]: T[K];
|
|
103
|
+
} & {};
|
|
104
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
105
|
+
new (): {
|
|
106
|
+
$slots: S;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=RAlert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RAlert.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/RAlert.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAIpB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAA;IAE9C;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAA;IAEvC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AA+BD,iBAAS,KAAK,SAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgLD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Alert/alert.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
+
declare const AvatarStory: Meta<DefineComponent<{
|
|
4
|
+
size: {
|
|
5
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl">;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
type: {
|
|
9
|
+
type: PropType<"image" | "text">;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
text: {
|
|
13
|
+
type: PropType<string>;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
src: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
alt: {
|
|
21
|
+
type: PropType<string>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
online: {
|
|
25
|
+
type: PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
29
|
+
size: {
|
|
30
|
+
type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl">;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
type: {
|
|
34
|
+
type: PropType<"image" | "text">;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
text: {
|
|
38
|
+
type: PropType<string>;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
src: {
|
|
42
|
+
type: PropType<string>;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
alt: {
|
|
46
|
+
type: PropType<string>;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
online: {
|
|
50
|
+
type: PropType<boolean>;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
54
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
55
|
+
type: "image" | "text";
|
|
56
|
+
text: string;
|
|
57
|
+
src: string;
|
|
58
|
+
alt: string;
|
|
59
|
+
online: boolean;
|
|
60
|
+
}, {}>>;
|
|
61
|
+
export default AvatarStory;
|
|
62
|
+
declare type Story = StoryObj<typeof AvatarStory>;
|
|
63
|
+
export declare const Overview: Story;
|
|
64
|
+
export declare const Image: Story;
|
|
65
|
+
export declare const Text: Story;
|
|
66
|
+
export declare const Anonymous: Story;
|
|
67
|
+
export declare const Online: Story;
|
|
68
|
+
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAsBrD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OASO,CAAA;AAExB,eAAe,WAAW,CAAA;AAE1B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAA"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
export interface IProps {
|
|
3
|
+
/**
|
|
4
|
+
* Type of the Avatar
|
|
5
|
+
* @type 'image' | 'text'
|
|
6
|
+
* @default 'image'
|
|
7
|
+
* @example
|
|
8
|
+
* <Avatar type="text" />
|
|
9
|
+
*/
|
|
10
|
+
type?: 'image' | 'text';
|
|
11
|
+
/**
|
|
12
|
+
* Source of the Avatar
|
|
13
|
+
* @type string
|
|
14
|
+
* @default ''
|
|
15
|
+
* @example
|
|
16
|
+
* <Avatar src="https://source.unsplash.com/random" />
|
|
17
|
+
*/
|
|
18
|
+
src?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Alt of the Avatar
|
|
21
|
+
* @type string
|
|
22
|
+
* @default 'Avatar'
|
|
23
|
+
* @example
|
|
24
|
+
* <Avatar alt="Avatar" />
|
|
25
|
+
*/
|
|
26
|
+
alt?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Size of the Avatar
|
|
29
|
+
* @type 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl'
|
|
30
|
+
* @default '2xl'
|
|
31
|
+
* @example
|
|
32
|
+
* <Avatar size="xs" />
|
|
33
|
+
*/
|
|
34
|
+
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
35
|
+
/**
|
|
36
|
+
* Show online status
|
|
37
|
+
* @type boolean
|
|
38
|
+
* @default false
|
|
39
|
+
* @example
|
|
40
|
+
* <Avatar online />
|
|
41
|
+
*/
|
|
42
|
+
online?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Text to show when type is text
|
|
45
|
+
* @type string
|
|
46
|
+
* @default ''
|
|
47
|
+
* @example
|
|
48
|
+
* <Avatar type="text" text="John Doe" />
|
|
49
|
+
*/
|
|
50
|
+
text?: string;
|
|
51
|
+
}
|
|
52
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
53
|
+
type: string;
|
|
54
|
+
size: string;
|
|
55
|
+
src: string;
|
|
56
|
+
alt: string;
|
|
57
|
+
online: boolean;
|
|
58
|
+
text: string;
|
|
59
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
|
|
60
|
+
type: string;
|
|
61
|
+
size: string;
|
|
62
|
+
src: string;
|
|
63
|
+
alt: string;
|
|
64
|
+
online: boolean;
|
|
65
|
+
text: string;
|
|
66
|
+
}>>>, {
|
|
67
|
+
size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
68
|
+
type: "image" | "text";
|
|
69
|
+
text: string;
|
|
70
|
+
src: string;
|
|
71
|
+
alt: string;
|
|
72
|
+
online: boolean;
|
|
73
|
+
}, {}>;
|
|
74
|
+
export default _default;
|
|
75
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
76
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
77
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
78
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
79
|
+
} : {
|
|
80
|
+
type: PropType<T[K]>;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
85
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
86
|
+
default: D[K];
|
|
87
|
+
}> : P[K];
|
|
88
|
+
};
|
|
89
|
+
declare type __VLS_Prettify<T> = {
|
|
90
|
+
[K in keyof T]: T[K];
|
|
91
|
+
} & {};
|
|
92
|
+
//# sourceMappingURL=RAvatar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RAvatar.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/RAvatar.vue"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAA;AAGrB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAEvB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,CAAA;IAEvD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;AA4ID,wBAMG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/avatar.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
3
|
+
declare const BadgeStory: Meta<{
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
class: string | string[];
|
|
9
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
10
|
+
hover: boolean;
|
|
11
|
+
placement: "bottom" | "left" | "right";
|
|
12
|
+
content: string;
|
|
13
|
+
overlap: boolean;
|
|
14
|
+
outside: boolean;
|
|
15
|
+
animation: boolean;
|
|
16
|
+
contentClass: string | string[];
|
|
17
|
+
wrapperClass: string | string[];
|
|
18
|
+
}> & Omit<{
|
|
19
|
+
readonly class: string | string[];
|
|
20
|
+
readonly variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
21
|
+
readonly hover: boolean;
|
|
22
|
+
readonly placement: "bottom" | "left" | "right";
|
|
23
|
+
readonly content: string;
|
|
24
|
+
readonly overlap: boolean;
|
|
25
|
+
readonly outside: boolean;
|
|
26
|
+
readonly animation: boolean;
|
|
27
|
+
readonly contentClass: string | string[];
|
|
28
|
+
readonly wrapperClass: string | string[];
|
|
29
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
31
|
+
class: {
|
|
32
|
+
type: PropType<string | string[]>;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
variant: {
|
|
36
|
+
type: PropType<"primary" | "success" | "error" | "warning" | "neutral">;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
hover: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
placement: {
|
|
44
|
+
type: PropType<"bottom" | "left" | "right">;
|
|
45
|
+
default: string;
|
|
46
|
+
};
|
|
47
|
+
content: {
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
overlap: {
|
|
52
|
+
type: PropType<boolean>;
|
|
53
|
+
default: boolean;
|
|
54
|
+
};
|
|
55
|
+
outside: {
|
|
56
|
+
type: PropType<boolean>;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
animation: {
|
|
60
|
+
type: PropType<boolean>;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
contentClass: {
|
|
64
|
+
type: PropType<string | string[]>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
wrapperClass: {
|
|
68
|
+
type: PropType<string | string[]>;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
73
|
+
}, "class" | "variant" | "hover" | "placement" | "content" | "overlap" | "outside" | "animation" | "contentClass" | "wrapperClass">;
|
|
74
|
+
$attrs: {
|
|
75
|
+
[x: string]: unknown;
|
|
76
|
+
};
|
|
77
|
+
$refs: {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
};
|
|
80
|
+
$slots: Readonly<{
|
|
81
|
+
[name: string]: Slot<any> | undefined;
|
|
82
|
+
}>;
|
|
83
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
84
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
85
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
86
|
+
$el: any;
|
|
87
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
88
|
+
class: {
|
|
89
|
+
type: PropType<string | string[]>;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
variant: {
|
|
93
|
+
type: PropType<"primary" | "success" | "error" | "warning" | "neutral">;
|
|
94
|
+
default: string;
|
|
95
|
+
};
|
|
96
|
+
hover: {
|
|
97
|
+
type: PropType<boolean>;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
placement: {
|
|
101
|
+
type: PropType<"bottom" | "left" | "right">;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
content: {
|
|
105
|
+
type: PropType<string>;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
overlap: {
|
|
109
|
+
type: PropType<boolean>;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
outside: {
|
|
113
|
+
type: PropType<boolean>;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
animation: {
|
|
117
|
+
type: PropType<boolean>;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
contentClass: {
|
|
121
|
+
type: PropType<string | string[]>;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
wrapperClass: {
|
|
125
|
+
type: PropType<string | string[]>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
}>> & {
|
|
129
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
130
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
131
|
+
click: (...args: any[]) => void;
|
|
132
|
+
}, string, {
|
|
133
|
+
class: string | string[];
|
|
134
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
135
|
+
hover: boolean;
|
|
136
|
+
placement: "bottom" | "left" | "right";
|
|
137
|
+
content: string;
|
|
138
|
+
overlap: boolean;
|
|
139
|
+
outside: boolean;
|
|
140
|
+
animation: boolean;
|
|
141
|
+
contentClass: string | string[];
|
|
142
|
+
wrapperClass: string | string[];
|
|
143
|
+
}, {}, string, {}> & {
|
|
144
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
145
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
146
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
147
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
148
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
149
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
150
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
151
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
152
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
153
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
154
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
155
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
156
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
157
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
158
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
159
|
+
};
|
|
160
|
+
$forceUpdate: () => void;
|
|
161
|
+
$nextTick: typeof nextTick;
|
|
162
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
163
|
+
} & Readonly<ExtractPropTypes<{
|
|
164
|
+
class: {
|
|
165
|
+
type: PropType<string | string[]>;
|
|
166
|
+
default: string;
|
|
167
|
+
};
|
|
168
|
+
variant: {
|
|
169
|
+
type: PropType<"primary" | "success" | "error" | "warning" | "neutral">;
|
|
170
|
+
default: string;
|
|
171
|
+
};
|
|
172
|
+
hover: {
|
|
173
|
+
type: PropType<boolean>;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
176
|
+
placement: {
|
|
177
|
+
type: PropType<"bottom" | "left" | "right">;
|
|
178
|
+
default: string;
|
|
179
|
+
};
|
|
180
|
+
content: {
|
|
181
|
+
type: PropType<string>;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
overlap: {
|
|
185
|
+
type: PropType<boolean>;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
outside: {
|
|
189
|
+
type: PropType<boolean>;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
animation: {
|
|
193
|
+
type: PropType<boolean>;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
contentClass: {
|
|
197
|
+
type: PropType<string | string[]>;
|
|
198
|
+
default: string;
|
|
199
|
+
};
|
|
200
|
+
wrapperClass: {
|
|
201
|
+
type: PropType<string | string[]>;
|
|
202
|
+
default: string;
|
|
203
|
+
};
|
|
204
|
+
}>> & {
|
|
205
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
206
|
+
} & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
207
|
+
__isFragment?: undefined;
|
|
208
|
+
__isTeleport?: undefined;
|
|
209
|
+
__isSuspense?: undefined;
|
|
210
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
211
|
+
class: {
|
|
212
|
+
type: PropType<string | string[]>;
|
|
213
|
+
default: string;
|
|
214
|
+
};
|
|
215
|
+
variant: {
|
|
216
|
+
type: PropType<"primary" | "success" | "error" | "warning" | "neutral">;
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
hover: {
|
|
220
|
+
type: PropType<boolean>;
|
|
221
|
+
default: boolean;
|
|
222
|
+
};
|
|
223
|
+
placement: {
|
|
224
|
+
type: PropType<"bottom" | "left" | "right">;
|
|
225
|
+
default: string;
|
|
226
|
+
};
|
|
227
|
+
content: {
|
|
228
|
+
type: PropType<string>;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
overlap: {
|
|
232
|
+
type: PropType<boolean>;
|
|
233
|
+
default: boolean;
|
|
234
|
+
};
|
|
235
|
+
outside: {
|
|
236
|
+
type: PropType<boolean>;
|
|
237
|
+
default: boolean;
|
|
238
|
+
};
|
|
239
|
+
animation: {
|
|
240
|
+
type: PropType<boolean>;
|
|
241
|
+
default: boolean;
|
|
242
|
+
};
|
|
243
|
+
contentClass: {
|
|
244
|
+
type: PropType<string | string[]>;
|
|
245
|
+
default: string;
|
|
246
|
+
};
|
|
247
|
+
wrapperClass: {
|
|
248
|
+
type: PropType<string | string[]>;
|
|
249
|
+
default: string;
|
|
250
|
+
};
|
|
251
|
+
}>> & {
|
|
252
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
253
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
254
|
+
click: (...args: any[]) => void;
|
|
255
|
+
}, string, {
|
|
256
|
+
class: string | string[];
|
|
257
|
+
variant: "primary" | "success" | "error" | "warning" | "neutral";
|
|
258
|
+
hover: boolean;
|
|
259
|
+
placement: "bottom" | "left" | "right";
|
|
260
|
+
content: string;
|
|
261
|
+
overlap: boolean;
|
|
262
|
+
outside: boolean;
|
|
263
|
+
animation: boolean;
|
|
264
|
+
contentClass: string | string[];
|
|
265
|
+
wrapperClass: string | string[];
|
|
266
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
267
|
+
$slots: {
|
|
268
|
+
default?(_: {}): any;
|
|
269
|
+
};
|
|
270
|
+
})>;
|
|
271
|
+
export default BadgeStory;
|
|
272
|
+
declare type Story = StoryObj<typeof BadgeStory>;
|
|
273
|
+
export declare const Overview: Story;
|
|
274
|
+
export declare const Hover: Story;
|
|
275
|
+
export declare const Bottom: Story;
|
|
276
|
+
export declare const Left: Story;
|
|
277
|
+
export declare const Overlap: Story;
|
|
278
|
+
export declare const Outside: Story;
|
|
279
|
+
export declare const WithAnimation: Story;
|
|
280
|
+
export declare const WithCustomContent: Story;
|
|
281
|
+
//# sourceMappingURL=Badge.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/Badge.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AA8BrD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBO,CAAA;AAEvB,eAAe,UAAU,CAAA;AAEzB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAExC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAA"}
|