@rocketui/vue 0.3.0-alpha.1 → 0.3.0-alpha.2

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 (161) hide show
  1. package/dist/rocket-ui-vue.d.ts +3414 -0
  2. package/package.json +1 -1
  3. package/dist/src/components/Accordion/Accordion.stories.d.ts +0 -116
  4. package/dist/src/components/Accordion/Accordion.stories.d.ts.map +0 -1
  5. package/dist/src/components/Accordion/RAccordion.vue.d.ts +0 -70
  6. package/dist/src/components/Accordion/RAccordion.vue.d.ts.map +0 -1
  7. package/dist/src/components/Accordion/accordion.spec.d.ts +0 -2
  8. package/dist/src/components/Accordion/accordion.spec.d.ts.map +0 -1
  9. package/dist/src/components/Alert/Alert.stories.d.ts +0 -461
  10. package/dist/src/components/Alert/Alert.stories.d.ts.map +0 -1
  11. package/dist/src/components/Alert/RAlert.vue.d.ts +0 -109
  12. package/dist/src/components/Alert/RAlert.vue.d.ts.map +0 -1
  13. package/dist/src/components/Alert/alert.spec.d.ts +0 -2
  14. package/dist/src/components/Alert/alert.spec.d.ts.map +0 -1
  15. package/dist/src/components/Avatar/Avatar.stories.d.ts +0 -68
  16. package/dist/src/components/Avatar/Avatar.stories.d.ts.map +0 -1
  17. package/dist/src/components/Avatar/RAvatar.vue.d.ts +0 -92
  18. package/dist/src/components/Avatar/RAvatar.vue.d.ts.map +0 -1
  19. package/dist/src/components/Avatar/avatar.spec.d.ts +0 -2
  20. package/dist/src/components/Avatar/avatar.spec.d.ts.map +0 -1
  21. package/dist/src/components/Badge/Badge.stories.d.ts +0 -281
  22. package/dist/src/components/Badge/Badge.stories.d.ts.map +0 -1
  23. package/dist/src/components/Badge/RBadge.vue.d.ts +0 -143
  24. package/dist/src/components/Badge/RBadge.vue.d.ts.map +0 -1
  25. package/dist/src/components/Badge/badge.spec.d.ts +0 -2
  26. package/dist/src/components/Badge/badge.spec.d.ts.map +0 -1
  27. package/dist/src/components/Box/Box.stories.d.ts +0 -167
  28. package/dist/src/components/Box/Box.stories.d.ts.map +0 -1
  29. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -111
  30. package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts.map +0 -1
  31. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts +0 -50
  32. package/dist/src/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +0 -1
  33. package/dist/src/components/Button/Button.spec.d.ts +0 -2
  34. package/dist/src/components/Button/Button.spec.d.ts.map +0 -1
  35. package/dist/src/components/Button/Button.stories.d.ts +0 -553
  36. package/dist/src/components/Button/Button.stories.d.ts.map +0 -1
  37. package/dist/src/components/Button/RButton.vue.d.ts +0 -155
  38. package/dist/src/components/Button/RButton.vue.d.ts.map +0 -1
  39. package/dist/src/components/Checkbox/Checkbox.stories.d.ts +0 -88
  40. package/dist/src/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
  41. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts +0 -120
  42. package/dist/src/components/Checkbox/RCheckbox.vue.d.ts.map +0 -1
  43. package/dist/src/components/Checkbox/checkbox.spec.d.ts +0 -2
  44. package/dist/src/components/Checkbox/checkbox.spec.d.ts.map +0 -1
  45. package/dist/src/components/Chips/Chip.stories.d.ts +0 -547
  46. package/dist/src/components/Chips/Chip.stories.d.ts.map +0 -1
  47. package/dist/src/components/Chips/RChip.vue.d.ts +0 -132
  48. package/dist/src/components/Chips/RChip.vue.d.ts.map +0 -1
  49. package/dist/src/components/Chips/chip.spec.d.ts +0 -2
  50. package/dist/src/components/Chips/chip.spec.d.ts.map +0 -1
  51. package/dist/src/components/Dropdown/Dropdown.stories.d.ts +0 -690
  52. package/dist/src/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
  53. package/dist/src/components/Dropdown/RDropdown.vue.d.ts +0 -418
  54. package/dist/src/components/Dropdown/RDropdown.vue.d.ts.map +0 -1
  55. package/dist/src/components/Dropdown/dropdown.spec.d.ts +0 -2
  56. package/dist/src/components/Dropdown/dropdown.spec.d.ts.map +0 -1
  57. package/dist/src/components/Icon/Icon.stories.d.ts +0 -39
  58. package/dist/src/components/Icon/Icon.stories.d.ts.map +0 -1
  59. package/dist/src/components/Icon/RIcon.vue.d.ts +0 -59
  60. package/dist/src/components/Icon/RIcon.vue.d.ts.map +0 -1
  61. package/dist/src/components/Icon/icon.spec.d.ts +0 -2
  62. package/dist/src/components/Icon/icon.spec.d.ts.map +0 -1
  63. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts +0 -215
  64. package/dist/src/components/ItemGroup/ItemGroup.stories.d.ts.map +0 -1
  65. package/dist/src/components/ItemGroup/RItem.vue.d.ts +0 -65
  66. package/dist/src/components/ItemGroup/RItem.vue.d.ts.map +0 -1
  67. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts +0 -123
  68. package/dist/src/components/ItemGroup/RItemGroup.vue.d.ts.map +0 -1
  69. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts +0 -2
  70. package/dist/src/components/ItemGroup/itemgroup.spec.d.ts.map +0 -1
  71. package/dist/src/components/Label/Label.stories.d.ts +0 -133
  72. package/dist/src/components/Label/Label.stories.d.ts.map +0 -1
  73. package/dist/src/components/Label/RLabel.vue.d.ts +0 -68
  74. package/dist/src/components/Label/RLabel.vue.d.ts.map +0 -1
  75. package/dist/src/components/Modal/Modal.stories.d.ts +0 -343
  76. package/dist/src/components/Modal/Modal.stories.d.ts.map +0 -1
  77. package/dist/src/components/Modal/RModal.vue.d.ts +0 -183
  78. package/dist/src/components/Modal/RModal.vue.d.ts.map +0 -1
  79. package/dist/src/components/Modal/modal.spec.d.ts +0 -2
  80. package/dist/src/components/Modal/modal.spec.d.ts.map +0 -1
  81. package/dist/src/components/Pagination/Pagination.stories.d.ts +0 -243
  82. package/dist/src/components/Pagination/Pagination.stories.d.ts.map +0 -1
  83. package/dist/src/components/Pagination/RPagination.vue.d.ts +0 -110
  84. package/dist/src/components/Pagination/RPagination.vue.d.ts.map +0 -1
  85. package/dist/src/components/Pagination/pagination.spec.d.ts +0 -2
  86. package/dist/src/components/Pagination/pagination.spec.d.ts.map +0 -1
  87. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts +0 -30
  88. package/dist/src/components/ProgressBar/Progressbar.stories.d.ts.map +0 -1
  89. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts +0 -34
  90. package/dist/src/components/ProgressBar/RProgressbar.vue.d.ts.map +0 -1
  91. package/dist/src/components/ProgressBar/progressbar.spec.d.ts +0 -2
  92. package/dist/src/components/ProgressBar/progressbar.spec.d.ts.map +0 -1
  93. package/dist/src/components/Radio/RRadio.vue.d.ts +0 -66
  94. package/dist/src/components/Radio/RRadio.vue.d.ts.map +0 -1
  95. package/dist/src/components/Radio/Radio.stories.d.ts +0 -100
  96. package/dist/src/components/Radio/Radio.stories.d.ts.map +0 -1
  97. package/dist/src/components/Shared/Enums.d.ts +0 -2
  98. package/dist/src/components/Shared/Enums.d.ts.map +0 -1
  99. package/dist/src/components/Sidebar/RSidebar.vue.d.ts +0 -53
  100. package/dist/src/components/Sidebar/RSidebar.vue.d.ts.map +0 -1
  101. package/dist/src/components/Sidebar/Sidebar.stories.d.ts +0 -163
  102. package/dist/src/components/Sidebar/Sidebar.stories.d.ts.map +0 -1
  103. package/dist/src/components/Sidebar/sidebar.spec.d.ts +0 -2
  104. package/dist/src/components/Sidebar/sidebar.spec.d.ts.map +0 -1
  105. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts +0 -113
  106. package/dist/src/components/Snackbar/RSnackbar.vue.d.ts.map +0 -1
  107. package/dist/src/components/Snackbar/Snackbar.stories.d.ts +0 -224
  108. package/dist/src/components/Snackbar/Snackbar.stories.d.ts.map +0 -1
  109. package/dist/src/components/Snackbar/snackbar.spec.d.ts +0 -2
  110. package/dist/src/components/Snackbar/snackbar.spec.d.ts.map +0 -1
  111. package/dist/src/components/Switch/RSwitch.vue.d.ts +0 -135
  112. package/dist/src/components/Switch/RSwitch.vue.d.ts.map +0 -1
  113. package/dist/src/components/Switch/Switch.stories.d.ts +0 -102
  114. package/dist/src/components/Switch/Switch.stories.d.ts.map +0 -1
  115. package/dist/src/components/Switch/switch.spec.d.ts +0 -2
  116. package/dist/src/components/Switch/switch.spec.d.ts.map +0 -1
  117. package/dist/src/components/TabItem/RTabItem.vue.d.ts +0 -155
  118. package/dist/src/components/TabItem/RTabItem.vue.d.ts.map +0 -1
  119. package/dist/src/components/TabItem/TabItem.spec.d.ts +0 -2
  120. package/dist/src/components/TabItem/TabItem.spec.d.ts.map +0 -1
  121. package/dist/src/components/TabItem/TabItem.stories.d.ts +0 -290
  122. package/dist/src/components/TabItem/TabItem.stories.d.ts.map +0 -1
  123. package/dist/src/components/TabItem/common.d.ts +0 -7
  124. package/dist/src/components/TabItem/common.d.ts.map +0 -1
  125. package/dist/src/components/Tabs/RTabs.vue.d.ts +0 -95
  126. package/dist/src/components/Tabs/RTabs.vue.d.ts.map +0 -1
  127. package/dist/src/components/Tabs/Tabs.spec.d.ts +0 -2
  128. package/dist/src/components/Tabs/Tabs.spec.d.ts.map +0 -1
  129. package/dist/src/components/Tabs/Tabs.stories.d.ts +0 -181
  130. package/dist/src/components/Tabs/Tabs.stories.d.ts.map +0 -1
  131. package/dist/src/components/Tabs/types.d.ts +0 -11
  132. package/dist/src/components/Tabs/types.d.ts.map +0 -1
  133. package/dist/src/components/TextArea/RTextArea.vue.d.ts +0 -120
  134. package/dist/src/components/TextArea/RTextArea.vue.d.ts.map +0 -1
  135. package/dist/src/components/TextArea/TextArea.stories.d.ts +0 -89
  136. package/dist/src/components/TextArea/TextArea.stories.d.ts.map +0 -1
  137. package/dist/src/components/TextArea/textarea.spec.d.ts +0 -2
  138. package/dist/src/components/TextArea/textarea.spec.d.ts.map +0 -1
  139. package/dist/src/components/Textfield/RTextfield.vue.d.ts +0 -249
  140. package/dist/src/components/Textfield/RTextfield.vue.d.ts.map +0 -1
  141. package/dist/src/components/Textfield/Textfield.stories.d.ts +0 -459
  142. package/dist/src/components/Textfield/Textfield.stories.d.ts.map +0 -1
  143. package/dist/src/components/Textfield/textfield.spec.d.ts +0 -2
  144. package/dist/src/components/Textfield/textfield.spec.d.ts.map +0 -1
  145. package/dist/src/components/Tooltip/RTooltip.vue.d.ts +0 -264
  146. package/dist/src/components/Tooltip/RTooltip.vue.d.ts.map +0 -1
  147. package/dist/src/components/Tooltip/Tooltip.stories.d.ts +0 -482
  148. package/dist/src/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
  149. package/dist/src/components/Tooltip/popper.d.ts +0 -29
  150. package/dist/src/components/Tooltip/popper.d.ts.map +0 -1
  151. package/dist/src/components/Tooltip/tooltip.spec.d.ts +0 -2
  152. package/dist/src/components/Tooltip/tooltip.spec.d.ts.map +0 -1
  153. package/dist/src/directives/index.d.ts +0 -64
  154. package/dist/src/directives/index.d.ts.map +0 -1
  155. package/dist/src/lib/main.d.ts +0 -28
  156. package/dist/src/lib/main.d.ts.map +0 -1
  157. package/dist/src/main.d.ts +0 -1
  158. package/dist/src/main.d.ts.map +0 -1
  159. package/dist/src/shims.d.ts +0 -9
  160. package/dist/src/utils/helpers.d.ts +0 -2
  161. package/dist/src/utils/helpers.d.ts.map +0 -1
@@ -1,135 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, type HTMLAttributes, type InputHTMLAttributes, type LabelHTMLAttributes } from 'vue';
2
- export interface Props {
3
- /**
4
- * id of the checkbox
5
- * @type {HTMLAttributes['id']}
6
- * @default ''
7
- * @example
8
- * <Checkbox id="checkbox" />
9
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id
10
- */
11
- id: HTMLAttributes['id'];
12
- /**
13
- * Input checked state
14
- * @type InputHTMLAttributes['checked']
15
- * @default false
16
- * @example
17
- * <Checkbox modelValue="true" />
18
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#checked
19
- */
20
- modelValue?: InputHTMLAttributes['checked'];
21
- /**
22
- * Input disabled state
23
- * @type InputHTMLAttributes['disabled']
24
- * @default false
25
- * @example
26
- * <Checkbox disabled="true" />
27
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
28
- */
29
- disabled?: InputHTMLAttributes['disabled'];
30
- /**
31
- * label of the checkbox
32
- * @type LabelHTMLAttributes['label']
33
- * @default ''
34
- * @example
35
- * <Checkbox label="Checkbox" />
36
- * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
37
- */
38
- label?: LabelHTMLAttributes['for'];
39
- /**
40
- * Hint text
41
- * @type string
42
- * @default ''
43
- * @example
44
- * <Checkbox hint="This is a hint" />
45
- */
46
- hint?: string;
47
- /**
48
- * Error message
49
- * @type string
50
- * @default ''
51
- * @example
52
- * <Checkbox errorMsg="This is an error" />
53
- */
54
- errorMsg?: string;
55
- /**
56
- * Size of the checkbox
57
- * @type 'small' | 'medium' | 'large'
58
- * @default 'medium'
59
- * @example
60
- * <Checkbox size="small" />
61
- */
62
- size?: 'small' | 'medium' | 'large';
63
- /**
64
- * Hide the hint and error message
65
- * @type {boolean}
66
- * @default false
67
- * @example
68
- * <Checkbox hideDetails />
69
- */
70
- hideDetails?: boolean;
71
- /**
72
- * Reverse the order of the checkbox and the label
73
- * @type {boolean}
74
- * @default false
75
- * @example
76
- * <Checkbox reverse />
77
- */
78
- reverse?: boolean;
79
- /**
80
- * Name of the checkbox
81
- * @type {string}
82
- * @default ''
83
- * @example
84
- * <Checkbox name="checkbox" />
85
- */
86
- name?: string;
87
- }
88
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
89
- id: string;
90
- modelValue: boolean;
91
- size: string;
92
- disabled: boolean;
93
- label: string;
94
- hint: string;
95
- errorMsg: string;
96
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
97
- "update:modelValue": (...args: any[]) => void;
98
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
99
- id: string;
100
- modelValue: boolean;
101
- size: string;
102
- disabled: boolean;
103
- label: string;
104
- hint: string;
105
- errorMsg: string;
106
- }>>> & {
107
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
108
- }, {
109
- size: "small" | "medium" | "large";
110
- label: string;
111
- disabled: boolean | "true" | "false";
112
- id: string | undefined;
113
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
114
- errorMsg: string;
115
- hint: string;
116
- }, {}>;
117
- export default _default;
118
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
119
- declare type __VLS_TypePropsToRuntimeProps<T> = {
120
- [K in keyof T]-?: {} extends Pick<T, K> ? {
121
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
122
- } : {
123
- type: PropType<T[K]>;
124
- required: true;
125
- };
126
- };
127
- declare type __VLS_WithDefaults<P, D> = {
128
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
129
- default: D[K];
130
- }> : P[K];
131
- };
132
- declare type __VLS_Prettify<T> = {
133
- [K in keyof T]: T[K];
134
- } & {};
135
- //# sourceMappingURL=RSwitch.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/RSwitch.vue"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAKzB,MAAM,KAAK,CAAA;AACZ,OAAO,cAAc,CAAA;AAErB,MAAM,WAAW,KAAK;IACpB;;;;;;;OAOG;IACH,EAAE,EAAE,cAAc,CAAC,IAAI,CAAC,CAAA;IAExB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,mBAAmB,CAAC,SAAS,CAAC,CAAA;IAE3C;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC,CAAA;IAE1C;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAC,KAAK,CAAC,CAAA;IAElC;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IAEnC;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiMD,wBAOG;AACH,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,102 +0,0 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
2
- import type { Meta, StoryObj } from '@storybook/vue3';
3
- declare const SwitchStory: Meta<DefineComponent<{
4
- name: {
5
- type: PropType<string>;
6
- };
7
- size: {
8
- type: PropType<"small" | "medium" | "large">;
9
- default: string;
10
- };
11
- reverse: {
12
- type: PropType<boolean>;
13
- };
14
- label: {
15
- type: PropType<string>;
16
- default: string;
17
- };
18
- disabled: {
19
- type: PropType<boolean | "true" | "false">;
20
- default: boolean;
21
- };
22
- id: {
23
- type: PropType<string | undefined>;
24
- required: true;
25
- default: string;
26
- };
27
- modelValue: {
28
- type: PropType<any[] | Set<any> | (boolean | "true" | "false")>;
29
- default: boolean;
30
- };
31
- errorMsg: {
32
- type: PropType<string>;
33
- default: string;
34
- };
35
- hint: {
36
- type: PropType<string>;
37
- default: string;
38
- };
39
- hideDetails: {
40
- type: PropType<boolean>;
41
- };
42
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
43
- "update:modelValue": (...args: any[]) => void;
44
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
45
- name: {
46
- type: PropType<string>;
47
- };
48
- size: {
49
- type: PropType<"small" | "medium" | "large">;
50
- default: string;
51
- };
52
- reverse: {
53
- type: PropType<boolean>;
54
- };
55
- label: {
56
- type: PropType<string>;
57
- default: string;
58
- };
59
- disabled: {
60
- type: PropType<boolean | "true" | "false">;
61
- default: boolean;
62
- };
63
- id: {
64
- type: PropType<string | undefined>;
65
- required: true;
66
- default: string;
67
- };
68
- modelValue: {
69
- type: PropType<any[] | Set<any> | (boolean | "true" | "false")>;
70
- default: boolean;
71
- };
72
- errorMsg: {
73
- type: PropType<string>;
74
- default: string;
75
- };
76
- hint: {
77
- type: PropType<string>;
78
- default: string;
79
- };
80
- hideDetails: {
81
- type: PropType<boolean>;
82
- };
83
- }>> & {
84
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
85
- }, {
86
- size: "small" | "medium" | "large";
87
- label: string;
88
- disabled: boolean | "true" | "false";
89
- id: string | undefined;
90
- modelValue: any[] | Set<any> | (boolean | "true" | "false");
91
- errorMsg: string;
92
- hint: string;
93
- }, {}>>;
94
- export default SwitchStory;
95
- declare type Story = StoryObj<typeof SwitchStory>;
96
- export declare const Overview: Story;
97
- export declare const Small: Story;
98
- export declare const Medium: Story;
99
- export declare const Large: Story;
100
- export declare const WithError: Story;
101
- export declare const Reverse: Story;
102
- //# sourceMappingURL=Switch.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Switch.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.stories.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAsBrD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgBO,CAAA;AAExB,eAAe,WAAW,CAAA;AAE1B,aAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAA;AAEzC,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAKpB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAKnB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=switch.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"switch.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/switch.spec.ts"],"names":[],"mappings":""}
@@ -1,155 +0,0 @@
1
- import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
- import { type TabItemVariant, TabItemVariants } from './common';
3
- export interface IProps {
4
- /**
5
- * Id of the tab item
6
- * @type string | number
7
- * @default ''
8
- * @example
9
- * <TabItem id="1" />
10
- */
11
- id: string | number;
12
- /**
13
- * Variant of the tab item
14
- * @type TabItemVariant
15
- * @default TabItemVariants.DEFAULT
16
- * @example
17
- * <TabItem variant="default" />
18
- */
19
- variant?: TabItemVariant;
20
- /**
21
- * Label of the tab item
22
- * @type string
23
- * @default ''
24
- * @example
25
- * <TabItem label="Label" />
26
- */
27
- label?: string;
28
- /**
29
- * prependIcon of the tab item
30
- * @type string
31
- * @default ''
32
- * @example
33
- * <TabItem prependIcon="prependIcon" />
34
- */
35
- prependIcon?: string;
36
- /**
37
- * appendIcon of the tab item
38
- * @type string
39
- * @default ''
40
- * @example
41
- * <TabItem appendIcon="appendIcon" />
42
- */
43
- appendIcon?: string;
44
- /**
45
- * Disabled state of the tab item
46
- * @type ButtonHTMLAttributes['disabled']
47
- * @default false
48
- * @example
49
- * <TabItem disabled />
50
- */
51
- disabled?: boolean;
52
- /**
53
- * Model value of the tab item
54
- * @type string | number
55
- * @default ''
56
- * @example
57
- * <TabItem v-model="model" />
58
- */
59
- modelValue?: string | number;
60
- /**
61
- * Tile state of the tab item
62
- * @type boolean
63
- * @default false
64
- * @example
65
- * <TabItem tile />
66
- */
67
- tile?: boolean;
68
- /**
69
- * Block state of the tab item
70
- * @type boolean
71
- * @default false
72
- * @example
73
- * <TabItem block />
74
- */
75
- block?: boolean;
76
- /**
77
- * Color of the tab item
78
- * @type string
79
- * @default ''
80
- * @example
81
- * <TabItem color="" />
82
- */
83
- color?: string;
84
- }
85
- declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
86
- label: string;
87
- variant: TabItemVariants;
88
- prependIcon: string;
89
- appendIcon: string;
90
- disabled: boolean;
91
- modelValue: string;
92
- tile: boolean;
93
- block: boolean;
94
- color: string;
95
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
96
- "update:modelValue": (...args: any[]) => void;
97
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
98
- label: string;
99
- variant: TabItemVariants;
100
- prependIcon: string;
101
- appendIcon: string;
102
- disabled: boolean;
103
- modelValue: string;
104
- tile: boolean;
105
- block: boolean;
106
- color: string;
107
- }>>> & {
108
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
109
- }, {
110
- label: string;
111
- variant: TabItemVariant;
112
- disabled: boolean;
113
- prependIcon: string;
114
- appendIcon: string;
115
- block: boolean;
116
- modelValue: string | number;
117
- color: string;
118
- tile: boolean;
119
- }, {}>, {
120
- prepend?(_: {
121
- active: boolean;
122
- disabled: boolean;
123
- }): any;
124
- default?(_: {
125
- label: string;
126
- }): any;
127
- append?(_: {
128
- active: boolean;
129
- disabled: boolean;
130
- }): any;
131
- }>;
132
- export default _default;
133
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
134
- declare type __VLS_TypePropsToRuntimeProps<T> = {
135
- [K in keyof T]-?: {} extends Pick<T, K> ? {
136
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
137
- } : {
138
- type: PropType<T[K]>;
139
- required: true;
140
- };
141
- };
142
- declare type __VLS_WithDefaults<P, D> = {
143
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
144
- default: D[K];
145
- }> : P[K];
146
- };
147
- declare type __VLS_Prettify<T> = {
148
- [K in keyof T]: T[K];
149
- } & {};
150
- declare type __VLS_WithTemplateSlots<T, S> = T & {
151
- new (): {
152
- $slots: S;
153
- };
154
- };
155
- //# sourceMappingURL=RTabItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RTabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/RTabItem.vue"],"names":[],"mappings":"AAIA,OAAO,gBAAgB,CAAA;AACvB,OAAO,EAAE,KAAK,cAAc,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/D,MAAM,WAAW,MAAM;IACrB;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IAEnB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,cAAc,CAAA;IAExB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE5B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IAEf;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuMD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=TabItem.spec.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TabItem.spec.d.ts","sourceRoot":"","sources":["../../../../src/components/TabItem/TabItem.spec.ts"],"names":[],"mappings":""}