@rocketui/vue 0.0.91 → 0.0.92

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 +2007 -0
  2. package/dist/rocket-ui-vue.js +138 -139
  3. package/dist/rocket-ui-vue.umd.cjs +1 -1
  4. package/dist/style.css +1 -1
  5. package/package.json +2 -2
  6. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -77
  7. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  8. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -42
  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 -431
  13. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  14. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -126
  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 -111
  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 -207
  25. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  26. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -130
  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 -158
  31. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  32. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -108
  33. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  34. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -41
  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 -506
  39. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  40. package/dist/src/components/Button/RButton.vue.d.ts +0 -189
  41. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  42. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -86
  43. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  44. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -151
  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 -467
  49. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  50. package/dist/src/components/Chips/RChip.vue.d.ts +0 -141
  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 -379
  55. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  56. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -311
  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 -62
  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 -202
  67. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  68. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -78
  69. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  70. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -148
  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 -129
  75. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  76. package/dist/src/components/Label/RLabel.vue.d.ts +0 -75
  77. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  78. package/dist/src/components/Modal/Modal.stories.d.ts +0 -236
  79. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  80. package/dist/src/components/Modal/RModal.vue.d.ts +0 -188
  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 -195
  85. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  86. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -85
  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 -31
  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 -56
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  100. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -137
  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 -139
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  106. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -208
  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 -164
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  112. package/dist/src/components/Switch/Switch.stories.d.ts +0 -94
  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 -190
  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 -269
  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 -105
  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 -172
  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 -151
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  134. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -87
  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 -285
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  140. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -375
  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 -337
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  146. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -429
  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,111 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -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,207 +0,0 @@
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
@@ -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,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"}
@@ -1,130 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -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,158 +0,0 @@
1
- import { WidthProperty, HeightProperty, MinWidthProperty, MinHeightProperty, MaxWidthProperty, MaxHeightProperty } from 'csstype';
2
- import { ComponentInternalInstance, ExtractPropTypes, PropType, VNodeProps, AllowedComponentProps, ComponentCustomProps, 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<Readonly<ExtractPropTypes<{
9
- is: {
10
- type: PropType<string | undefined>;
11
- required: true;
12
- };
13
- width: {
14
- type: PropType<WidthProperty<string | number>>;
15
- };
16
- height: {
17
- type: PropType<HeightProperty<string | number>>;
18
- };
19
- minWidth: {
20
- type: PropType<MinWidthProperty<string | number>>;
21
- };
22
- minHeight: {
23
- type: PropType<MinHeightProperty<string | number>>;
24
- };
25
- maxWidth: {
26
- type: PropType<MaxWidthProperty<string | number>>;
27
- };
28
- maxHeight: {
29
- type: PropType<MaxHeightProperty<string | number>>;
30
- };
31
- display: {
32
- type: PropType<string>;
33
- };
34
- }>> & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>;
35
- $attrs: {
36
- [x: string]: unknown;
37
- };
38
- $refs: {
39
- [x: string]: unknown;
40
- };
41
- $slots: Readonly<{
42
- [name: string]: Slot | undefined;
43
- }>;
44
- $root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
45
- $parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
46
- $emit: (event: string, ...args: any[]) => void;
47
- $el: any;
48
- $options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
49
- is: {
50
- type: PropType<string | undefined>;
51
- required: true;
52
- };
53
- width: {
54
- type: PropType<WidthProperty<string | number>>;
55
- };
56
- height: {
57
- type: PropType<HeightProperty<string | number>>;
58
- };
59
- minWidth: {
60
- type: PropType<MinWidthProperty<string | number>>;
61
- };
62
- minHeight: {
63
- type: PropType<MinHeightProperty<string | number>>;
64
- };
65
- maxWidth: {
66
- type: PropType<MaxWidthProperty<string | number>>;
67
- };
68
- maxHeight: {
69
- type: PropType<MaxHeightProperty<string | number>>;
70
- };
71
- display: {
72
- type: PropType<string>;
73
- };
74
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & {
75
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
76
- created?: ((() => void) | (() => void)[]) | undefined;
77
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
78
- mounted?: ((() => void) | (() => void)[]) | undefined;
79
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
80
- updated?: ((() => void) | (() => void)[]) | undefined;
81
- activated?: ((() => void) | (() => void)[]) | undefined;
82
- deactivated?: ((() => void) | (() => void)[]) | undefined;
83
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
84
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
85
- destroyed?: ((() => void) | (() => void)[]) | undefined;
86
- unmounted?: ((() => void) | (() => void)[]) | undefined;
87
- renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
88
- renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
89
- 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;
90
- };
91
- $forceUpdate: () => void;
92
- $nextTick: typeof nextTick;
93
- $watch(source: string | Function, cb: Function, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
94
- } & Readonly<ExtractPropTypes<{
95
- is: {
96
- type: PropType<string | undefined>;
97
- required: true;
98
- };
99
- width: {
100
- type: PropType<WidthProperty<string | number>>;
101
- };
102
- height: {
103
- type: PropType<HeightProperty<string | number>>;
104
- };
105
- minWidth: {
106
- type: PropType<MinWidthProperty<string | number>>;
107
- };
108
- minHeight: {
109
- type: PropType<MinHeightProperty<string | number>>;
110
- };
111
- maxWidth: {
112
- type: PropType<MaxWidthProperty<string | number>>;
113
- };
114
- maxHeight: {
115
- type: PropType<MaxHeightProperty<string | number>>;
116
- };
117
- display: {
118
- type: PropType<string>;
119
- };
120
- }>> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties;
121
- __isFragment?: undefined;
122
- __isTeleport?: undefined;
123
- __isSuspense?: undefined;
124
- } & ComponentOptionsBase<Readonly<ExtractPropTypes<{
125
- is: {
126
- type: PropType<string | undefined>;
127
- required: true;
128
- };
129
- width: {
130
- type: PropType<WidthProperty<string | number>>;
131
- };
132
- height: {
133
- type: PropType<HeightProperty<string | number>>;
134
- };
135
- minWidth: {
136
- type: PropType<MinWidthProperty<string | number>>;
137
- };
138
- minHeight: {
139
- type: PropType<MinHeightProperty<string | number>>;
140
- };
141
- maxWidth: {
142
- type: PropType<MaxWidthProperty<string | number>>;
143
- };
144
- maxHeight: {
145
- type: PropType<MaxHeightProperty<string | number>>;
146
- };
147
- display: {
148
- type: PropType<string>;
149
- };
150
- }>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
151
- $slots: {
152
- default?(_: {}): any;
153
- };
154
- })>;
155
- export default BoxStory;
156
- declare type Story = StoryObj<typeof BoxStory>;
157
- export declare const Overview: Story;
158
- //# 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,CAAC;AAoCtD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GASO,CAAC;AAEtB,eAAe,QAAQ,CAAC;AAExB,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,eAAO,MAAM,QAAQ,EAAE,KAItB,CAAC"}