@rocketui/vue 0.0.90 → 0.0.91

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.
Files changed (158) hide show
  1. package/dist/rocket-ui-vue.js +144 -145
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +77 -0
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +1 -0
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +42 -0
  6. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  7. package/dist/src/components/Accordion/accordion.spec.d.ts +2 -0
  8. package/dist/src/components/Accordion/accordion.spec.d.ts.map +1 -0
  9. package/dist/src/components/Alert/Alert.stories.d.ts +431 -0
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +1 -0
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +126 -0
  12. package/dist/src/components/Alert/RAlert.vue.d.ts.map +1 -0
  13. package/dist/src/components/Alert/alert.spec.d.ts +2 -0
  14. package/dist/src/components/Alert/alert.spec.d.ts.map +1 -0
  15. package/dist/src/components/Avatar/Avatar.stories.d.ts +68 -0
  16. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +1 -0
  17. package/dist/src/components/Avatar/RAvatar.vue.d.ts +111 -0
  18. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  19. package/dist/src/components/Avatar/avatar.spec.d.ts +2 -0
  20. package/dist/src/components/Avatar/avatar.spec.d.ts.map +1 -0
  21. package/dist/src/components/Badge/Badge.stories.d.ts +207 -0
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +1 -0
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +130 -0
  24. package/dist/src/components/Badge/RBadge.vue.d.ts.map +1 -0
  25. package/dist/src/components/Badge/badge.spec.d.ts +2 -0
  26. package/dist/src/components/Badge/badge.spec.d.ts.map +1 -0
  27. package/dist/src/components/Box/Box.stories.d.ts +158 -0
  28. package/dist/src/components/Box/Box.stories.d.ts.map +1 -0
  29. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +108 -0
  30. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
  31. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +41 -0
  32. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  33. package/dist/src/components/Button/Button.spec.d.ts +2 -0
  34. package/dist/src/components/Button/Button.spec.d.ts.map +1 -0
  35. package/dist/src/components/Button/Button.stories.d.ts +506 -0
  36. package/dist/src/components/Button/Button.stories.d.ts.map +1 -0
  37. package/dist/src/components/Button/RButton.vue.d.ts +189 -0
  38. package/dist/src/components/Button/RButton.vue.d.ts.map +1 -0
  39. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +86 -0
  40. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
  41. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +151 -0
  42. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  43. package/dist/src/components/Checkbox/checkbox.spec.d.ts +2 -0
  44. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +1 -0
  45. package/dist/src/components/Chips/Chip.stories.d.ts +467 -0
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +1 -0
  47. package/dist/src/components/Chips/RChip.vue.d.ts +141 -0
  48. package/dist/src/components/Chips/RChip.vue.d.ts.map +1 -0
  49. package/dist/src/components/Chips/chip.spec.d.ts +2 -0
  50. package/dist/src/components/Chips/chip.spec.d.ts.map +1 -0
  51. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +379 -0
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +311 -0
  54. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  55. package/dist/src/components/Dropdown/dropdown.spec.d.ts +2 -0
  56. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +1 -0
  57. package/dist/src/components/Icon/Icon.stories.d.ts +39 -0
  58. package/dist/src/components/Icon/Icon.stories.d.ts.map +1 -0
  59. package/dist/src/components/Icon/RIcon.vue.d.ts +62 -0
  60. package/dist/src/components/Icon/RIcon.vue.d.ts.map +1 -0
  61. package/dist/src/components/Icon/icon.spec.d.ts +2 -0
  62. package/dist/src/components/Icon/icon.spec.d.ts.map +1 -0
  63. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +202 -0
  64. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +1 -0
  65. package/dist/src/components/ItemGroup/RItem.vue.d.ts +78 -0
  66. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  67. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +148 -0
  68. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  69. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +2 -0
  70. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +1 -0
  71. package/dist/src/components/Label/Label.stories.d.ts +129 -0
  72. package/dist/src/components/Label/Label.stories.d.ts.map +1 -0
  73. package/dist/src/components/Label/RLabel.vue.d.ts +75 -0
  74. package/dist/src/components/Label/RLabel.vue.d.ts.map +1 -0
  75. package/dist/src/components/Modal/Modal.stories.d.ts +236 -0
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +1 -0
  77. package/dist/src/components/Modal/RModal.vue.d.ts +188 -0
  78. package/dist/src/components/Modal/RModal.vue.d.ts.map +1 -0
  79. package/dist/src/components/Modal/modal.spec.d.ts +2 -0
  80. package/dist/src/components/Modal/modal.spec.d.ts.map +1 -0
  81. package/dist/src/components/Pagination/Pagination.stories.d.ts +195 -0
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +1 -0
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +85 -0
  84. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +1 -0
  85. package/dist/src/components/Pagination/pagination.spec.d.ts +2 -0
  86. package/dist/src/components/Pagination/pagination.spec.d.ts.map +1 -0
  87. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +30 -0
  88. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +1 -0
  89. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +31 -0
  90. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  91. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +2 -0
  92. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +1 -0
  93. package/dist/src/components/Shared/Enums.d.ts +2 -0
  94. package/dist/src/components/Shared/Enums.d.ts.map +1 -0
  95. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +56 -0
  96. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  97. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +137 -0
  98. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +1 -0
  99. package/dist/src/components/Sidebar/sidebar.spec.d.ts +2 -0
  100. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +1 -0
  101. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +139 -0
  102. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  103. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +208 -0
  104. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
  105. package/dist/src/components/Snackbar/snackbar.spec.d.ts +2 -0
  106. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +1 -0
  107. package/dist/src/components/Switch/RSwitch.vue.d.ts +164 -0
  108. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +1 -0
  109. package/dist/src/components/Switch/Switch.stories.d.ts +94 -0
  110. package/dist/src/components/Switch/Switch.stories.d.ts.map +1 -0
  111. package/dist/src/components/Switch/switch.spec.d.ts +2 -0
  112. package/dist/src/components/Switch/switch.spec.d.ts.map +1 -0
  113. package/dist/src/components/TabItem/RTabItem.vue.d.ts +190 -0
  114. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  115. package/dist/src/components/TabItem/TabItem.spec.d.ts +2 -0
  116. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +1 -0
  117. package/dist/src/components/TabItem/TabItem.stories.d.ts +269 -0
  118. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +1 -0
  119. package/dist/src/components/TabItem/common.d.ts +7 -0
  120. package/dist/src/components/TabItem/common.d.ts.map +1 -0
  121. package/dist/src/components/Tabs/RTabs.vue.d.ts +105 -0
  122. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +1 -0
  123. package/dist/src/components/Tabs/Tabs.spec.d.ts +2 -0
  124. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +1 -0
  125. package/dist/src/components/Tabs/Tabs.stories.d.ts +172 -0
  126. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +1 -0
  127. package/dist/src/components/Tabs/types.d.ts +11 -0
  128. package/dist/src/components/Tabs/types.d.ts.map +1 -0
  129. package/dist/src/components/TextArea/RTextArea.vue.d.ts +151 -0
  130. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  131. package/dist/src/components/TextArea/TextArea.stories.d.ts +87 -0
  132. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +1 -0
  133. package/dist/src/components/TextArea/textarea.spec.d.ts +2 -0
  134. package/dist/src/components/TextArea/textarea.spec.d.ts.map +1 -0
  135. package/dist/src/components/Textfield/RTextfield.vue.d.ts +285 -0
  136. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  137. package/dist/src/components/Textfield/Textfield.stories.d.ts +375 -0
  138. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +1 -0
  139. package/dist/src/components/Textfield/textfield.spec.d.ts +2 -0
  140. package/dist/src/components/Textfield/textfield.spec.d.ts.map +1 -0
  141. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +337 -0
  142. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  143. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +429 -0
  144. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
  145. package/dist/src/components/Tooltip/popper.d.ts +29 -0
  146. package/dist/src/components/Tooltip/popper.d.ts.map +1 -0
  147. package/dist/src/components/Tooltip/tooltip.spec.d.ts +2 -0
  148. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +1 -0
  149. package/dist/src/directives/index.d.ts +5 -0
  150. package/dist/src/directives/index.d.ts.map +1 -0
  151. package/dist/src/lib/main.d.ts +25 -0
  152. package/dist/src/lib/main.d.ts.map +1 -0
  153. package/dist/src/main.d.ts +1 -0
  154. package/dist/src/main.d.ts.map +1 -0
  155. package/dist/src/shims.d.ts +9 -0
  156. package/dist/style.css +1 -1
  157. package/package.json +1 -1
  158. package/dist/rocket-ui-vue.d.ts +0 -2002
@@ -0,0 +1,126 @@
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } 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 const _default: __VLS_WithTemplateSlots<DefineComponent<{
53
+ type: {
54
+ type: PropType<"success" | "warning" | "info" | "error">;
55
+ required: true;
56
+ default: string;
57
+ };
58
+ title: {
59
+ type: PropType<string>;
60
+ required: true;
61
+ default: string;
62
+ };
63
+ variant: {
64
+ type: PropType<"outline" | "ghost" | "solid">;
65
+ default: string;
66
+ };
67
+ block: {
68
+ type: PropType<boolean>;
69
+ default: boolean;
70
+ };
71
+ description: {
72
+ type: PropType<string>;
73
+ default: string;
74
+ };
75
+ closable: {
76
+ type: PropType<boolean>;
77
+ default: boolean;
78
+ };
79
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "close"[], "close", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
80
+ type: {
81
+ type: PropType<"success" | "warning" | "info" | "error">;
82
+ required: true;
83
+ default: string;
84
+ };
85
+ title: {
86
+ type: PropType<string>;
87
+ required: true;
88
+ default: string;
89
+ };
90
+ variant: {
91
+ type: PropType<"outline" | "ghost" | "solid">;
92
+ default: string;
93
+ };
94
+ block: {
95
+ type: PropType<boolean>;
96
+ default: boolean;
97
+ };
98
+ description: {
99
+ type: PropType<string>;
100
+ default: string;
101
+ };
102
+ closable: {
103
+ type: PropType<boolean>;
104
+ default: boolean;
105
+ };
106
+ }>> & {
107
+ onClose?: ((...args: any[]) => any) | undefined;
108
+ }, {
109
+ type: "success" | "warning" | "info" | "error";
110
+ title: string;
111
+ variant: "outline" | "ghost" | "solid";
112
+ block: boolean;
113
+ description: string;
114
+ closable: boolean;
115
+ }>, {
116
+ "alert-icon"?(_: {}): any;
117
+ content?(_: {}): any;
118
+ "custom-close"?(_: {}): any;
119
+ }>;
120
+ export default _default;
121
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
122
+ new (): {
123
+ $slots: S;
124
+ };
125
+ };
126
+ //# 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,CAAC;AAIrB,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAE/C;;;;;;OAMG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IAExC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+LD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=alert.spec.d.ts.map
@@ -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">;
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
+ online: {
21
+ type: PropType<boolean>;
22
+ default: boolean;
23
+ };
24
+ alt: {
25
+ type: PropType<string>;
26
+ default: string;
27
+ };
28
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
29
+ size: {
30
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
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
+ online: {
46
+ type: PropType<boolean>;
47
+ default: boolean;
48
+ };
49
+ alt: {
50
+ type: PropType<string>;
51
+ default: string;
52
+ };
53
+ }>>, {
54
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
55
+ type: "image" | "text";
56
+ text: string;
57
+ src: string;
58
+ online: boolean;
59
+ alt: string;
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,CAAC;AAsBtD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASO,CAAC;AAEzB,eAAe,WAAW,CAAC;AAE3B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAE1C,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAKlB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAC"}
@@ -0,0 +1,111 @@
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } 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'
30
+ * @default '2xl'
31
+ * @example
32
+ * <Avatar size="xs" />
33
+ */
34
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
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<{
53
+ size: {
54
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
55
+ default: string;
56
+ };
57
+ type: {
58
+ type: PropType<"image" | "text">;
59
+ default: string;
60
+ };
61
+ text: {
62
+ type: PropType<string>;
63
+ default: string;
64
+ };
65
+ src: {
66
+ type: PropType<string>;
67
+ default: string;
68
+ };
69
+ online: {
70
+ type: PropType<boolean>;
71
+ default: boolean;
72
+ };
73
+ alt: {
74
+ type: PropType<string>;
75
+ default: string;
76
+ };
77
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
78
+ size: {
79
+ type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "2xl">;
80
+ default: string;
81
+ };
82
+ type: {
83
+ type: PropType<"image" | "text">;
84
+ default: string;
85
+ };
86
+ text: {
87
+ type: PropType<string>;
88
+ default: string;
89
+ };
90
+ src: {
91
+ type: PropType<string>;
92
+ default: string;
93
+ };
94
+ online: {
95
+ type: PropType<boolean>;
96
+ default: boolean;
97
+ };
98
+ alt: {
99
+ type: PropType<string>;
100
+ default: string;
101
+ };
102
+ }>>, {
103
+ size: "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
104
+ type: "image" | "text";
105
+ text: string;
106
+ src: string;
107
+ online: boolean;
108
+ alt: string;
109
+ }>;
110
+ export default _default;
111
+ //# 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,CAAC;AAItB,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAExB;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;IAEhD;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ID,wBAAkD"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=avatar.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/avatar.spec.ts"],"names":[],"mappings":""}
@@ -0,0 +1,207 @@
1
+ import { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, 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;
9
+ variant: "primary" | "success" | "warning" | "error" | "neutral";
10
+ hover: boolean;
11
+ placement: "bottom" | "left" | "right";
12
+ animation: boolean;
13
+ overlap: boolean;
14
+ outside: boolean;
15
+ }> & Omit<Readonly<ExtractPropTypes<{
16
+ class: {
17
+ type: PropType<string>;
18
+ default: string;
19
+ };
20
+ variant: {
21
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
22
+ default: string;
23
+ };
24
+ hover: {
25
+ type: PropType<boolean>;
26
+ default: boolean;
27
+ };
28
+ placement: {
29
+ type: PropType<"bottom" | "left" | "right">;
30
+ default: string;
31
+ };
32
+ animation: {
33
+ type: PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ overlap: {
37
+ type: PropType<boolean>;
38
+ default: boolean;
39
+ };
40
+ outside: {
41
+ type: PropType<boolean>;
42
+ default: boolean;
43
+ };
44
+ }>> & {
45
+ onClick?: ((...args: any[]) => any) | undefined;
46
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "class" | "variant" | "hover" | "placement" | "animation" | "overlap" | "outside">;
47
+ $attrs: {
48
+ [x: string]: unknown;
49
+ };
50
+ $refs: {
51
+ [x: string]: unknown;
52
+ };
53
+ $slots: Readonly<{
54
+ [name: string]: Slot | undefined;
55
+ }>;
56
+ $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
57
+ $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
58
+ $emit: (event: "click", ...args: any[]) => void;
59
+ $el: any;
60
+ $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
61
+ class: {
62
+ type: PropType<string>;
63
+ default: string;
64
+ };
65
+ variant: {
66
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
67
+ default: string;
68
+ };
69
+ hover: {
70
+ type: PropType<boolean>;
71
+ default: boolean;
72
+ };
73
+ placement: {
74
+ type: PropType<"bottom" | "left" | "right">;
75
+ default: string;
76
+ };
77
+ animation: {
78
+ type: PropType<boolean>;
79
+ default: boolean;
80
+ };
81
+ overlap: {
82
+ type: PropType<boolean>;
83
+ default: boolean;
84
+ };
85
+ outside: {
86
+ type: PropType<boolean>;
87
+ default: boolean;
88
+ };
89
+ }>> & {
90
+ onClick?: ((...args: any[]) => any) | undefined;
91
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], string, {
92
+ class: string;
93
+ variant: "primary" | "success" | "warning" | "error" | "neutral";
94
+ hover: boolean;
95
+ placement: "bottom" | "left" | "right";
96
+ animation: boolean;
97
+ overlap: boolean;
98
+ outside: boolean;
99
+ }> & {
100
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
101
+ created?: ((() => void) | (() => void)[]) | undefined;
102
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
103
+ mounted?: ((() => void) | (() => void)[]) | undefined;
104
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
105
+ updated?: ((() => void) | (() => void)[]) | undefined;
106
+ activated?: ((() => void) | (() => void)[]) | undefined;
107
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
108
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
109
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
110
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
111
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
112
+ renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
113
+ renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
114
+ errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
115
+ };
116
+ $forceUpdate: () => void;
117
+ $nextTick: typeof nextTick;
118
+ $watch(source: string | Function, cb: Function, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
119
+ } & Readonly<ExtractPropTypes<{
120
+ class: {
121
+ type: PropType<string>;
122
+ default: string;
123
+ };
124
+ variant: {
125
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
126
+ default: string;
127
+ };
128
+ hover: {
129
+ type: PropType<boolean>;
130
+ default: boolean;
131
+ };
132
+ placement: {
133
+ type: PropType<"bottom" | "left" | "right">;
134
+ default: string;
135
+ };
136
+ animation: {
137
+ type: PropType<boolean>;
138
+ default: boolean;
139
+ };
140
+ overlap: {
141
+ type: PropType<boolean>;
142
+ default: boolean;
143
+ };
144
+ outside: {
145
+ type: PropType<boolean>;
146
+ default: boolean;
147
+ };
148
+ }>> & {
149
+ onClick?: ((...args: any[]) => any) | undefined;
150
+ } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties;
151
+ __isFragment?: undefined;
152
+ __isTeleport?: undefined;
153
+ __isSuspense?: undefined;
154
+ } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
155
+ class: {
156
+ type: PropType<string>;
157
+ default: string;
158
+ };
159
+ variant: {
160
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
161
+ default: string;
162
+ };
163
+ hover: {
164
+ type: PropType<boolean>;
165
+ default: boolean;
166
+ };
167
+ placement: {
168
+ type: PropType<"bottom" | "left" | "right">;
169
+ default: string;
170
+ };
171
+ animation: {
172
+ type: PropType<boolean>;
173
+ default: boolean;
174
+ };
175
+ overlap: {
176
+ type: PropType<boolean>;
177
+ default: boolean;
178
+ };
179
+ outside: {
180
+ type: PropType<boolean>;
181
+ default: boolean;
182
+ };
183
+ }>> & {
184
+ onClick?: ((...args: any[]) => any) | undefined;
185
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", {
186
+ class: string;
187
+ variant: "primary" | "success" | "warning" | "error" | "neutral";
188
+ hover: boolean;
189
+ placement: "bottom" | "left" | "right";
190
+ animation: boolean;
191
+ overlap: boolean;
192
+ outside: boolean;
193
+ }> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
194
+ $slots: {
195
+ default?(_: {}): any;
196
+ };
197
+ })>;
198
+ export default BadgeStory;
199
+ declare type Story = StoryObj<typeof BadgeStory>;
200
+ export declare const Overview: Story;
201
+ export declare const Hover: Story;
202
+ export declare const Bottom: Story;
203
+ export declare const Left: Story;
204
+ export declare const Overlap: Story;
205
+ export declare const Outside: Story;
206
+ export declare const WithAnimation: Story;
207
+ //# 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,CAAC;AA4BtD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiBO,CAAC;AAExB,eAAe,UAAU,CAAC;AAE1B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAC;AAEzC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAK3B,CAAA"}
@@ -0,0 +1,130 @@
1
+ import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
+ export interface BadgeProps {
3
+ /**
4
+ * Variant of the Badge
5
+ * @type { 'primary' | 'success' | 'warning' | 'error' | 'neutral' }
6
+ * @default 'primary'
7
+ * @example
8
+ * <Badge variant="primary" />
9
+ */
10
+ variant?: 'primary' | 'success' | 'warning' | 'error' | 'neutral';
11
+ /**
12
+ * Placement of the Badge
13
+ * @type { 'right' | 'bottom' | 'left' }
14
+ * @default 'right'
15
+ * @example
16
+ * <Badge placement="right" />
17
+ */
18
+ placement?: 'right' | 'bottom' | 'left';
19
+ /**
20
+ * Overlap the Badge
21
+ * @type { boolean }
22
+ * @default false
23
+ * @example
24
+ * <Badge overlap />
25
+ */
26
+ overlap?: boolean;
27
+ /**
28
+ * Show the Badge on hover
29
+ * @type { boolean }
30
+ * @default false
31
+ * @example
32
+ * <Badge hover />
33
+ */
34
+ hover?: boolean;
35
+ /**
36
+ * Show the Badge outside
37
+ * @type { boolean }
38
+ * @default false
39
+ * @example
40
+ * <Badge outside />
41
+ */
42
+ outside?: boolean;
43
+ /**
44
+ * Show the Badge animation
45
+ * @type { boolean }
46
+ * @default false
47
+ * @example
48
+ * <Badge animation />
49
+ */
50
+ animation?: boolean;
51
+ class?: string;
52
+ }
53
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<{
54
+ class: {
55
+ type: PropType<string>;
56
+ default: string;
57
+ };
58
+ variant: {
59
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
60
+ default: string;
61
+ };
62
+ hover: {
63
+ type: PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ placement: {
67
+ type: PropType<"bottom" | "left" | "right">;
68
+ default: string;
69
+ };
70
+ animation: {
71
+ type: PropType<boolean>;
72
+ default: boolean;
73
+ };
74
+ overlap: {
75
+ type: PropType<boolean>;
76
+ default: boolean;
77
+ };
78
+ outside: {
79
+ type: PropType<boolean>;
80
+ default: boolean;
81
+ };
82
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "click"[], "click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
83
+ class: {
84
+ type: PropType<string>;
85
+ default: string;
86
+ };
87
+ variant: {
88
+ type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
89
+ default: string;
90
+ };
91
+ hover: {
92
+ type: PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ placement: {
96
+ type: PropType<"bottom" | "left" | "right">;
97
+ default: string;
98
+ };
99
+ animation: {
100
+ type: PropType<boolean>;
101
+ default: boolean;
102
+ };
103
+ overlap: {
104
+ type: PropType<boolean>;
105
+ default: boolean;
106
+ };
107
+ outside: {
108
+ type: PropType<boolean>;
109
+ default: boolean;
110
+ };
111
+ }>> & {
112
+ onClick?: ((...args: any[]) => any) | undefined;
113
+ }, {
114
+ class: string;
115
+ variant: "primary" | "success" | "warning" | "error" | "neutral";
116
+ hover: boolean;
117
+ placement: "bottom" | "left" | "right";
118
+ animation: boolean;
119
+ overlap: boolean;
120
+ outside: boolean;
121
+ }>, {
122
+ default?(_: {}): any;
123
+ }>;
124
+ export default _default;
125
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
126
+ new (): {
127
+ $slots: S;
128
+ };
129
+ };
130
+ //# sourceMappingURL=RBadge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/RBadge.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAC;AAGrB,MAAM,WAAW,UAAU;IACzB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IAEjE;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAA;IAEvC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+GD,wBAA8G;AAU9G,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=badge.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"badge.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/badge.spec.ts"],"names":[],"mappings":""}