@rocketui/vue 0.1.25 → 0.2.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.
Files changed (158) hide show
  1. package/dist/rocket-ui-vue.d.ts +2999 -0
  2. package/dist/rocket-ui-vue.js +795 -709
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +12 -12
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -79
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -41
  9. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  10. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  11. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  12. package/dist/src/components/Alert/Alert.stories.d.ts +0 -455
  13. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  14. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -105
  15. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  16. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  17. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  18. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  19. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  20. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  21. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  22. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  23. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  24. package/dist/src/components/Badge/Badge.stories.d.ts +0 -220
  25. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  26. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -109
  27. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  28. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  29. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  30. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  31. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  35. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  36. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  37. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  38. package/dist/src/components/Button/Button.stories.d.ts +0 -541
  39. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  40. package/dist/src/components/Button/RButton.vue.d.ts +0 -149
  41. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  45. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  46. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  47. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  48. package/dist/src/components/Chips/Chip.stories.d.ts +0 -499
  49. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  50. package/dist/src/components/Chips/RChip.vue.d.ts +0 -117
  51. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  52. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  53. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  54. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -485
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -289
  57. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  58. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  59. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  60. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  61. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  62. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  63. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  64. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  65. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  66. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -75
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  71. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  72. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  73. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  74. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  75. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  76. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  77. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  78. package/dist/src/components/Modal/Modal.stories.d.ts +0 -322
  79. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  80. package/dist/src/components/Modal/RModal.vue.d.ts +0 -171
  81. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  82. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  83. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  84. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -171
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -54
  87. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  88. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  89. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  90. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  91. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  92. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  93. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  94. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  95. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  96. package/dist/src/components/Shared/Enums.d.ts +0 -2
  97. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  98. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -49
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  100. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -159
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  102. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  104. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  106. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  108. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  110. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -127
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  112. package/dist/src/components/Switch/Switch.stories.d.ts +0 -96
  113. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  114. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  115. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  116. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -148
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  118. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  120. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -288
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  122. package/dist/src/components/TabItem/common.d.ts +0 -7
  123. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  124. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  126. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  128. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -186
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  130. package/dist/src/components/Tabs/types.d.ts +0 -11
  131. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  132. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  134. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  136. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  137. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  138. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -241
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  140. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -451
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  142. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  143. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  144. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -252
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  146. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -458
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  148. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  149. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  150. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  152. package/dist/src/directives/index.d.ts +0 -5
  153. package/dist/src/directives/index.d.ts.map +0 -1
  154. package/dist/src/lib/main.d.ts +0 -25
  155. package/dist/src/lib/main.d.ts.map +0 -1
  156. package/dist/src/main.d.ts +0 -1
  157. package/dist/src/main.d.ts.map +0 -1
  158. package/dist/src/shims.d.ts +0 -9
@@ -1,92 +0,0 @@
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
- online: boolean;
71
- src: string;
72
- alt: string;
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
@@ -1 +0,0 @@
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;AAGH,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=avatar.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/avatar.spec.ts"],"names":[],"mappings":""}
@@ -1,220 +0,0 @@
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" | "warning" | "error" | "neutral";
10
- hover: boolean;
11
- placement: "bottom" | "left" | "right";
12
- overlap: boolean;
13
- outside: boolean;
14
- animation: boolean;
15
- }> & Omit<{
16
- readonly class: string | string[];
17
- readonly variant: "primary" | "success" | "warning" | "error" | "neutral";
18
- readonly hover: boolean;
19
- readonly placement: "bottom" | "left" | "right";
20
- readonly overlap: boolean;
21
- readonly outside: boolean;
22
- readonly animation: boolean;
23
- onClick?: ((...args: any[]) => any) | undefined;
24
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
25
- class: {
26
- type: PropType<string | string[]>;
27
- default: string;
28
- };
29
- variant: {
30
- type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
31
- default: string;
32
- };
33
- hover: {
34
- type: PropType<boolean>;
35
- default: boolean;
36
- };
37
- placement: {
38
- type: PropType<"bottom" | "left" | "right">;
39
- default: string;
40
- };
41
- overlap: {
42
- type: PropType<boolean>;
43
- default: boolean;
44
- };
45
- outside: {
46
- type: PropType<boolean>;
47
- default: boolean;
48
- };
49
- animation: {
50
- type: PropType<boolean>;
51
- default: boolean;
52
- };
53
- }>> & {
54
- onClick?: ((...args: any[]) => any) | undefined;
55
- }, "class" | "variant" | "hover" | "placement" | "overlap" | "outside" | "animation">;
56
- $attrs: {
57
- [x: string]: unknown;
58
- };
59
- $refs: {
60
- [x: string]: unknown;
61
- };
62
- $slots: Readonly<{
63
- [name: string]: Slot<any> | undefined;
64
- }>;
65
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
66
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
67
- $emit: (event: "click", ...args: any[]) => void;
68
- $el: any;
69
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
70
- class: {
71
- type: PropType<string | string[]>;
72
- default: string;
73
- };
74
- variant: {
75
- type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
76
- default: string;
77
- };
78
- hover: {
79
- type: PropType<boolean>;
80
- default: boolean;
81
- };
82
- placement: {
83
- type: PropType<"bottom" | "left" | "right">;
84
- default: string;
85
- };
86
- overlap: {
87
- type: PropType<boolean>;
88
- default: boolean;
89
- };
90
- outside: {
91
- type: PropType<boolean>;
92
- default: boolean;
93
- };
94
- animation: {
95
- type: PropType<boolean>;
96
- default: boolean;
97
- };
98
- }>> & {
99
- onClick?: ((...args: any[]) => any) | undefined;
100
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
101
- click: (...args: any[]) => void;
102
- }, string, {
103
- class: string | string[];
104
- variant: "primary" | "success" | "warning" | "error" | "neutral";
105
- hover: boolean;
106
- placement: "bottom" | "left" | "right";
107
- overlap: boolean;
108
- outside: boolean;
109
- animation: boolean;
110
- }, {}, string, {}> & {
111
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
112
- created?: ((() => void) | (() => void)[]) | undefined;
113
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
114
- mounted?: ((() => void) | (() => void)[]) | undefined;
115
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
116
- updated?: ((() => void) | (() => void)[]) | undefined;
117
- activated?: ((() => void) | (() => void)[]) | undefined;
118
- deactivated?: ((() => void) | (() => void)[]) | undefined;
119
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
120
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
121
- destroyed?: ((() => void) | (() => void)[]) | undefined;
122
- unmounted?: ((() => void) | (() => void)[]) | undefined;
123
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
124
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
125
- 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;
126
- };
127
- $forceUpdate: () => void;
128
- $nextTick: typeof nextTick;
129
- $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;
130
- } & Readonly<ExtractPropTypes<{
131
- class: {
132
- type: PropType<string | string[]>;
133
- default: string;
134
- };
135
- variant: {
136
- type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
137
- default: string;
138
- };
139
- hover: {
140
- type: PropType<boolean>;
141
- default: boolean;
142
- };
143
- placement: {
144
- type: PropType<"bottom" | "left" | "right">;
145
- default: string;
146
- };
147
- overlap: {
148
- type: PropType<boolean>;
149
- default: boolean;
150
- };
151
- outside: {
152
- type: PropType<boolean>;
153
- default: boolean;
154
- };
155
- animation: {
156
- type: PropType<boolean>;
157
- default: boolean;
158
- };
159
- }>> & {
160
- onClick?: ((...args: any[]) => any) | undefined;
161
- } & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
162
- __isFragment?: undefined;
163
- __isTeleport?: undefined;
164
- __isSuspense?: undefined;
165
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
166
- class: {
167
- type: PropType<string | string[]>;
168
- default: string;
169
- };
170
- variant: {
171
- type: PropType<"primary" | "success" | "warning" | "error" | "neutral">;
172
- default: string;
173
- };
174
- hover: {
175
- type: PropType<boolean>;
176
- default: boolean;
177
- };
178
- placement: {
179
- type: PropType<"bottom" | "left" | "right">;
180
- default: string;
181
- };
182
- overlap: {
183
- type: PropType<boolean>;
184
- default: boolean;
185
- };
186
- outside: {
187
- type: PropType<boolean>;
188
- default: boolean;
189
- };
190
- animation: {
191
- type: PropType<boolean>;
192
- default: boolean;
193
- };
194
- }>> & {
195
- onClick?: ((...args: any[]) => any) | undefined;
196
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
197
- click: (...args: any[]) => void;
198
- }, string, {
199
- class: string | string[];
200
- variant: "primary" | "success" | "warning" | "error" | "neutral";
201
- hover: boolean;
202
- placement: "bottom" | "left" | "right";
203
- overlap: boolean;
204
- outside: boolean;
205
- animation: boolean;
206
- }, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
207
- $slots: {
208
- default?(_: {}): any;
209
- };
210
- })>;
211
- export default BadgeStory;
212
- declare type Story = StoryObj<typeof BadgeStory>;
213
- export declare const Overview: Story;
214
- export declare const Hover: Story;
215
- export declare const Bottom: Story;
216
- export declare const Left: Story;
217
- export declare const Overlap: Story;
218
- export declare const Outside: Story;
219
- export declare const WithAnimation: Story;
220
- //# sourceMappingURL=Badge.stories.d.ts.map
@@ -1 +0,0 @@
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;AA2BrD,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"}
@@ -1,109 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } 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 | string[];
52
- }
53
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
54
- variant: string;
55
- placement: string;
56
- overlap: boolean;
57
- hover: boolean;
58
- content: string;
59
- outside: boolean;
60
- animation: boolean;
61
- class: string;
62
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
63
- click: (...args: any[]) => void;
64
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
65
- variant: string;
66
- placement: string;
67
- overlap: boolean;
68
- hover: boolean;
69
- content: string;
70
- outside: boolean;
71
- animation: boolean;
72
- class: string;
73
- }>>> & {
74
- onClick?: ((...args: any[]) => any) | undefined;
75
- }, {
76
- class: string | string[];
77
- variant: "primary" | "success" | "warning" | "error" | "neutral";
78
- hover: boolean;
79
- placement: "bottom" | "left" | "right";
80
- overlap: boolean;
81
- outside: boolean;
82
- animation: boolean;
83
- }, {}>, {
84
- default?(_: {}): 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=RBadge.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/RBadge.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,CAAA;AAGpB,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,GAAG,MAAM,EAAE,CAAA;CAC1B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoHD,wBAAwG;AAGxG,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"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=badge.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"badge.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Badge/badge.spec.ts"],"names":[],"mappings":""}
@@ -1,167 +0,0 @@
1
- import { Property } from 'csstype';
2
- import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
3
- import type { Meta, StoryObj } from '@storybook/vue3';
4
- declare const BoxStory: Meta<{
5
- new (...args: any[]): {
6
- $: ComponentInternalInstance;
7
- $data: {};
8
- $props: Partial<{}> & Omit<{
9
- readonly is: string | undefined;
10
- readonly width?: Property.Width<string | number> | undefined;
11
- readonly height?: Property.Height<string | number> | undefined;
12
- readonly minWidth?: Property.MinWidth<string | number> | undefined;
13
- readonly minHeight?: Property.MinHeight<string | number> | undefined;
14
- readonly maxWidth?: Property.MaxWidth<string | number> | undefined;
15
- readonly maxHeight?: Property.MaxHeight<string | number> | undefined;
16
- readonly display?: Property.Display | undefined;
17
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
18
- is: {
19
- type: PropType<string | undefined>;
20
- required: true;
21
- };
22
- width: {
23
- type: PropType<Property.Width<string | number>>;
24
- };
25
- height: {
26
- type: PropType<Property.Height<string | number>>;
27
- };
28
- minWidth: {
29
- type: PropType<Property.MinWidth<string | number>>;
30
- };
31
- minHeight: {
32
- type: PropType<Property.MinHeight<string | number>>;
33
- };
34
- maxWidth: {
35
- type: PropType<Property.MaxWidth<string | number>>;
36
- };
37
- maxHeight: {
38
- type: PropType<Property.MaxHeight<string | number>>;
39
- };
40
- display: {
41
- type: PropType<Property.Display>;
42
- };
43
- }>>, never>;
44
- $attrs: {
45
- [x: string]: unknown;
46
- };
47
- $refs: {
48
- [x: string]: unknown;
49
- };
50
- $slots: Readonly<{
51
- [name: string]: Slot<any> | undefined;
52
- }>;
53
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
54
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
55
- $emit: (event: string, ...args: any[]) => void;
56
- $el: any;
57
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
58
- is: {
59
- type: PropType<string | undefined>;
60
- required: true;
61
- };
62
- width: {
63
- type: PropType<Property.Width<string | number>>;
64
- };
65
- height: {
66
- type: PropType<Property.Height<string | number>>;
67
- };
68
- minWidth: {
69
- type: PropType<Property.MinWidth<string | number>>;
70
- };
71
- minHeight: {
72
- type: PropType<Property.MinHeight<string | number>>;
73
- };
74
- maxWidth: {
75
- type: PropType<Property.MaxWidth<string | number>>;
76
- };
77
- maxHeight: {
78
- type: PropType<Property.MaxHeight<string | number>>;
79
- };
80
- display: {
81
- type: PropType<Property.Display>;
82
- };
83
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
84
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
85
- created?: ((() => void) | (() => void)[]) | undefined;
86
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
87
- mounted?: ((() => void) | (() => void)[]) | undefined;
88
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
89
- updated?: ((() => void) | (() => void)[]) | undefined;
90
- activated?: ((() => void) | (() => void)[]) | undefined;
91
- deactivated?: ((() => void) | (() => void)[]) | undefined;
92
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
93
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
94
- destroyed?: ((() => void) | (() => void)[]) | undefined;
95
- unmounted?: ((() => void) | (() => void)[]) | undefined;
96
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
97
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
98
- 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;
99
- };
100
- $forceUpdate: () => void;
101
- $nextTick: typeof nextTick;
102
- $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;
103
- } & Readonly<ExtractPropTypes<{
104
- is: {
105
- type: PropType<string | undefined>;
106
- required: true;
107
- };
108
- width: {
109
- type: PropType<Property.Width<string | number>>;
110
- };
111
- height: {
112
- type: PropType<Property.Height<string | number>>;
113
- };
114
- minWidth: {
115
- type: PropType<Property.MinWidth<string | number>>;
116
- };
117
- minHeight: {
118
- type: PropType<Property.MinHeight<string | number>>;
119
- };
120
- maxWidth: {
121
- type: PropType<Property.MaxWidth<string | number>>;
122
- };
123
- maxHeight: {
124
- type: PropType<Property.MaxHeight<string | number>>;
125
- };
126
- display: {
127
- type: PropType<Property.Display>;
128
- };
129
- }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
130
- __isFragment?: undefined;
131
- __isTeleport?: undefined;
132
- __isSuspense?: undefined;
133
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
134
- is: {
135
- type: PropType<string | undefined>;
136
- required: true;
137
- };
138
- width: {
139
- type: PropType<Property.Width<string | number>>;
140
- };
141
- height: {
142
- type: PropType<Property.Height<string | number>>;
143
- };
144
- minWidth: {
145
- type: PropType<Property.MinWidth<string | number>>;
146
- };
147
- minHeight: {
148
- type: PropType<Property.MinHeight<string | number>>;
149
- };
150
- maxWidth: {
151
- type: PropType<Property.MaxWidth<string | number>>;
152
- };
153
- maxHeight: {
154
- type: PropType<Property.MaxHeight<string | number>>;
155
- };
156
- display: {
157
- type: PropType<Property.Display>;
158
- };
159
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
160
- $slots: {
161
- default?(_: {}): any;
162
- };
163
- })>;
164
- export default BoxStory;
165
- declare type Story = StoryObj<typeof BoxStory>;
166
- export declare const Overview: Story;
167
- //# sourceMappingURL=Box.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Box.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Box/Box.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAoCrD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASO,CAAA;AAErB,eAAe,QAAQ,CAAA;AAEvB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA;AAEtC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAA"}