@rocketui/vue 0.2.69 → 0.2.71-beta

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 (57) hide show
  1. package/dist/rocket-ui-vue.js +1692 -1388
  2. package/dist/rocket-ui-vue.umd.cjs +1 -1
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/Accordion/RAccordion.vue.d.ts +70 -0
  5. package/dist/types/components/Accordion/RAccordion.vue.d.ts.map +1 -0
  6. package/dist/types/components/Alert/RAlert.vue.d.ts +109 -0
  7. package/dist/types/components/Alert/RAlert.vue.d.ts.map +1 -0
  8. package/dist/types/components/Avatar/RAvatar.vue.d.ts +92 -0
  9. package/dist/types/components/Avatar/RAvatar.vue.d.ts.map +1 -0
  10. package/dist/types/components/Badge/RBadge.vue.d.ts +143 -0
  11. package/dist/types/components/Badge/RBadge.vue.d.ts.map +1 -0
  12. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts +50 -0
  13. package/dist/types/components/Breadcrumb/RBreadcrumb.vue.d.ts.map +1 -0
  14. package/dist/types/components/Button/RButton.vue.d.ts +193 -0
  15. package/dist/types/components/Button/RButton.vue.d.ts.map +1 -0
  16. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts +164 -0
  17. package/dist/types/components/Checkbox/RCheckbox.vue.d.ts.map +1 -0
  18. package/dist/types/components/Chips/RChip.vue.d.ts +132 -0
  19. package/dist/types/components/Chips/RChip.vue.d.ts.map +1 -0
  20. package/dist/types/components/Dropdown/RDropdown.vue.d.ts +442 -0
  21. package/dist/types/components/Dropdown/RDropdown.vue.d.ts.map +1 -0
  22. package/dist/types/components/Icon/RIcon.vue.d.ts +59 -0
  23. package/dist/types/components/Icon/RIcon.vue.d.ts.map +1 -0
  24. package/dist/types/components/ItemGroup/RItem.vue.d.ts +65 -0
  25. package/dist/types/components/ItemGroup/RItem.vue.d.ts.map +1 -0
  26. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts +123 -0
  27. package/dist/types/components/ItemGroup/RItemGroup.vue.d.ts.map +1 -0
  28. package/dist/types/components/Label/RLabel.vue.d.ts +68 -0
  29. package/dist/types/components/Label/RLabel.vue.d.ts.map +1 -0
  30. package/dist/types/components/Modal/RModal.vue.d.ts +208 -0
  31. package/dist/types/components/Modal/RModal.vue.d.ts.map +1 -0
  32. package/dist/types/components/Pagination/RPagination.vue.d.ts +110 -0
  33. package/dist/types/components/Pagination/RPagination.vue.d.ts.map +1 -0
  34. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts +34 -0
  35. package/dist/types/components/ProgressBar/RProgressbar.vue.d.ts.map +1 -0
  36. package/dist/types/components/Radio/RRadio.vue.d.ts +125 -0
  37. package/dist/types/components/Radio/RRadio.vue.d.ts.map +1 -0
  38. package/dist/types/components/Sidebar/RSidebar.vue.d.ts +53 -0
  39. package/dist/types/components/Sidebar/RSidebar.vue.d.ts.map +1 -0
  40. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts +113 -0
  41. package/dist/types/components/Snackbar/RSnackbar.vue.d.ts.map +1 -0
  42. package/dist/types/components/Switch/RSwitch.vue.d.ts +214 -0
  43. package/dist/types/components/Switch/RSwitch.vue.d.ts.map +1 -0
  44. package/dist/types/components/TabItem/RTabItem.vue.d.ts +155 -0
  45. package/dist/types/components/TabItem/RTabItem.vue.d.ts.map +1 -0
  46. package/dist/types/components/Tabs/RTabs.vue.d.ts +95 -0
  47. package/dist/types/components/Tabs/RTabs.vue.d.ts.map +1 -0
  48. package/dist/types/components/TextArea/RTextArea.vue.d.ts +171 -0
  49. package/dist/types/components/TextArea/RTextArea.vue.d.ts.map +1 -0
  50. package/dist/types/components/Textfield/RTextfield.vue.d.ts +293 -0
  51. package/dist/types/components/Textfield/RTextfield.vue.d.ts.map +1 -0
  52. package/dist/types/components/Tooltip/RTooltip.vue.d.ts +253 -0
  53. package/dist/types/components/Tooltip/RTooltip.vue.d.ts.map +1 -0
  54. package/dist/types/lib/main.d.ts +26 -0
  55. package/dist/types/lib/main.d.ts.map +1 -0
  56. package/package.json +3 -2
  57. package/dist/rocket-ui-vue.d.ts +0 -3325
@@ -0,0 +1,143 @@
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
+ /**
52
+ * Class of the Badge
53
+ * @type { string | string[] }
54
+ * @example
55
+ * <Badge class="text-red-500" />
56
+ */
57
+ class?: string | string[];
58
+ /**
59
+ * Content of the Badge
60
+ * @type { string }
61
+ * @example
62
+ * <Badge content="99+" />
63
+ */
64
+ content?: string;
65
+ /**
66
+ * Class of the content of the Badge
67
+ * @type { string | string[] }
68
+ * @example
69
+ * <Badge contentClass="text-red-500" />
70
+ */
71
+ contentClass?: string | string[];
72
+ /**
73
+ * Wrapper class of the Badge
74
+ * @type { string | string[] }
75
+ * @example
76
+ * <Badge wrapperClass="text-red-500" />
77
+ */
78
+ wrapperClass?: string | string[];
79
+ }
80
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
81
+ variant: string;
82
+ placement: string;
83
+ overlap: boolean;
84
+ hover: boolean;
85
+ content: string;
86
+ outside: boolean;
87
+ animation: boolean;
88
+ class: string;
89
+ contentClass: string;
90
+ wrapperClass: string;
91
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
92
+ click: (...args: any[]) => void;
93
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BadgeProps>, {
94
+ variant: string;
95
+ placement: string;
96
+ overlap: boolean;
97
+ hover: boolean;
98
+ content: string;
99
+ outside: boolean;
100
+ animation: boolean;
101
+ class: string;
102
+ contentClass: string;
103
+ wrapperClass: string;
104
+ }>>> & {
105
+ onClick?: ((...args: any[]) => any) | undefined;
106
+ }, {
107
+ class: string | string[];
108
+ content: string;
109
+ variant: "success" | "error" | "warning" | "primary" | "neutral";
110
+ placement: "right" | "bottom" | "left";
111
+ overlap: boolean;
112
+ hover: boolean;
113
+ outside: boolean;
114
+ animation: boolean;
115
+ contentClass: string | string[];
116
+ wrapperClass: string | string[];
117
+ }, {}>, {
118
+ default?(_: {}): any;
119
+ }>;
120
+ export default _default;
121
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
122
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
123
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
124
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
125
+ } : {
126
+ type: PropType<T[K]>;
127
+ required: true;
128
+ };
129
+ };
130
+ declare type __VLS_WithDefaults<P, D> = {
131
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
132
+ default: D[K];
133
+ }> : P[K];
134
+ };
135
+ declare type __VLS_Prettify<T> = {
136
+ [K in keyof T]: T[K];
137
+ } & {};
138
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
139
+ new (): {
140
+ $slots: S;
141
+ };
142
+ };
143
+ //# sourceMappingURL=RBadge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RBadge.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Badge/RBadge.vue"],"names":[],"mappings":"AAEA,OAAO,aAAa,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;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEzB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEhC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACjC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0HD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,50 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export interface BreadcrumbItem {
3
+ title: string;
4
+ to: string;
5
+ icon?: string;
6
+ onlyIcon?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ items: BreadcrumbItem[];
10
+ seperator?: string | undefined;
11
+ }>, {
12
+ items: () => BreadcrumbItem[];
13
+ seperator: string;
14
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
+ items: BreadcrumbItem[];
16
+ seperator?: string | undefined;
17
+ }>, {
18
+ items: () => BreadcrumbItem[];
19
+ seperator: string;
20
+ }>>>, {
21
+ items: BreadcrumbItem[];
22
+ seperator: string;
23
+ }, {}>, {
24
+ "item-icon"?(_: {}): any;
25
+ "custom-seperator"?(_: {}): any;
26
+ }>;
27
+ export default _default;
28
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ declare type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ declare type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
45
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
46
+ new (): {
47
+ $slots: S;
48
+ };
49
+ };
50
+ //# sourceMappingURL=RBreadcrumb.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Breadcrumb/RBreadcrumb.vue"],"names":[],"mappings":"AAEA,OAAO,kBAAkB,CAAA;AAIzB,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;;;;;;;;;;;;;;;;;;;;AAmKD,wBAAwG;AACxG,aAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,aAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,aAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,193 @@
1
+ import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
2
+ export declare type ButtonType = 'default' | 'text' | 'outline';
3
+ export declare type ButtonColor = 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
4
+ export declare type ButtonSize = 'small' | 'medium' | 'large';
5
+ export interface Props {
6
+ /**
7
+ * Variant of the Button
8
+ * @type { 'default' | 'text' | 'outline' | 'ghost'}
9
+ * @default 'default'
10
+ * @example
11
+ * <Button variant="default" />
12
+ */
13
+ variant?: ButtonType;
14
+ /**
15
+ * Color of the Button
16
+ * @type { 'primary' | 'secondary' | 'danger'}
17
+ * @default 'primary'
18
+ * @example
19
+ * <Button color="primary" />
20
+ */
21
+ color?: ButtonColor;
22
+ /**
23
+ * Loading state of the Button
24
+ * @type { boolean }
25
+ * @default false
26
+ * @example
27
+ * <Button loading />
28
+ */
29
+ loading?: boolean;
30
+ /**
31
+ * Disabled state of the Button
32
+ * @type { boolean }
33
+ * @default false
34
+ * @example
35
+ * <Button disabled />
36
+ */
37
+ disabled?: boolean;
38
+ /**
39
+ * Prepend icon of the Button
40
+ * @type { string }
41
+ * @default ''
42
+ * @example
43
+ * <Button prependIcon="icon" />
44
+ */
45
+ prependIcon?: string;
46
+ /**
47
+ * Append icon of the Button
48
+ * @type { string }
49
+ * @default ''
50
+ * @example
51
+ * <Button appendIcon="icon" />
52
+ */
53
+ appendIcon?: string;
54
+ /**
55
+ * Only icon state of the Button
56
+ * @type { boolean }
57
+ * @default false
58
+ * @example
59
+ * <Button icon />
60
+ */
61
+ icon?: boolean;
62
+ /**
63
+ * Size of the Button
64
+ * @type { 'small' | 'medium' | 'large' }
65
+ * @default 'medium'
66
+ * @example
67
+ * <Button size="small" />
68
+ */
69
+ size?: ButtonSize;
70
+ /**
71
+ * Height of the Button
72
+ * @type { string }
73
+ * @default ''
74
+ * @example
75
+ * <Button height="40" />
76
+ */
77
+ height?: string;
78
+ /**
79
+ * Block state of the Button
80
+ * @type { boolean }
81
+ * @default false
82
+ * @example
83
+ * <Button block />
84
+ */
85
+ block?: boolean;
86
+ /**
87
+ * Aria label for the button
88
+ * @type { string }
89
+ * @default ''
90
+ * @example
91
+ * <Button aria-label="Close dialog" />
92
+ */
93
+ ariaLabel?: string;
94
+ /**
95
+ * Aria pressed state for toggle buttons
96
+ * @type { boolean }
97
+ * @default undefined
98
+ * @example
99
+ * <Button :aria-pressed="isPressed" />
100
+ */
101
+ ariaPressed?: boolean;
102
+ /**
103
+ * Aria expanded state for buttons that control expandable elements
104
+ * @type { boolean }
105
+ * @default undefined
106
+ * @example
107
+ * <Button :aria-expanded="isExpanded" />
108
+ */
109
+ ariaExpanded?: boolean;
110
+ /**
111
+ * Aria controls - ID of the element this button controls
112
+ * @type { string }
113
+ * @default ''
114
+ * @example
115
+ * <Button aria-controls="menu-1" />
116
+ */
117
+ ariaControls?: string;
118
+ }
119
+ declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
120
+ variant: string;
121
+ loading: boolean;
122
+ disabled: boolean;
123
+ prependIcon: string;
124
+ appendIcon: string;
125
+ icon: boolean;
126
+ size: string;
127
+ height: string;
128
+ block: boolean;
129
+ ariaLabel: string;
130
+ ariaControls: string;
131
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
132
+ click: (...args: any[]) => void;
133
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
134
+ variant: string;
135
+ loading: boolean;
136
+ disabled: boolean;
137
+ prependIcon: string;
138
+ appendIcon: string;
139
+ icon: boolean;
140
+ size: string;
141
+ height: string;
142
+ block: boolean;
143
+ ariaLabel: string;
144
+ ariaControls: string;
145
+ }>>> & {
146
+ onClick?: ((...args: any[]) => any) | undefined;
147
+ }, {
148
+ height: string;
149
+ size: ButtonSize;
150
+ disabled: boolean;
151
+ variant: ButtonType;
152
+ block: boolean;
153
+ icon: boolean;
154
+ loading: boolean;
155
+ prependIcon: string;
156
+ appendIcon: string;
157
+ ariaLabel: string;
158
+ ariaControls: string;
159
+ }, {}>, {
160
+ prepend?(_: {
161
+ onlyIcon: boolean;
162
+ }): any;
163
+ default?(_: {
164
+ disabled: boolean;
165
+ }): any;
166
+ append?(_: {
167
+ onlyIcon: boolean;
168
+ }): any;
169
+ }>;
170
+ export default _default;
171
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
172
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
173
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
174
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
175
+ } : {
176
+ type: PropType<T[K]>;
177
+ required: true;
178
+ };
179
+ };
180
+ declare type __VLS_WithDefaults<P, D> = {
181
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
182
+ default: D[K];
183
+ }> : P[K];
184
+ };
185
+ declare type __VLS_Prettify<T> = {
186
+ [K in keyof T]: T[K];
187
+ } & {};
188
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
189
+ new (): {
190
+ $slots: S;
191
+ };
192
+ };
193
+ //# sourceMappingURL=RButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button/RButton.vue"],"names":[],"mappings":"AAEA,OAAO,cAAc,CAAA;AAIrB,oBAAY,UAAU,GAClB,SAAS,GACT,MAAM,GACN,SAAS,CAAA;AAEb,oBAAY,WAAW,GAAK,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;AAC/F,oBAAY,UAAU,GAAK,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;AACvD,MAAM,WAAW,KAAK;IACpB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;IAEpB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,WAAW,CAAA;IAEnB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,OAAO,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C,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,aAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,aAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,164 @@
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
+ * label of the checkbox
23
+ * @type {LabelHTMLAttributes['label']}
24
+ * @default ''
25
+ * @example
26
+ * <Checkbox label="Checkbox" />
27
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
28
+ */
29
+ label?: LabelHTMLAttributes['for'];
30
+ /**
31
+ * Input indeterminate state
32
+ * @type {InputHTMLAttributes['indeterminate']}
33
+ * @default false
34
+ * @example
35
+ * <Checkbox indeterminate="true" />
36
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate
37
+ */
38
+ indeterminate?: InputHTMLAttributes['indeterminate'];
39
+ /**
40
+ * Input disabled state
41
+ * @type {InputHTMLAttributes['disabled']}
42
+ * @default false
43
+ * @example
44
+ * <Checkbox disabled="true" />
45
+ * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#disabled
46
+ */
47
+ disabled?: InputHTMLAttributes['disabled'];
48
+ /**
49
+ * Hint text
50
+ * @type {string}
51
+ * @default ''
52
+ * @example
53
+ * <Checkbox hint="This is a hint" />
54
+ */
55
+ hint?: string;
56
+ /**
57
+ * Error message
58
+ * @type {string}
59
+ * @default ''
60
+ * @example
61
+ * <Checkbox errorMsg="This is an error" />
62
+ */
63
+ errorMsg?: string;
64
+ /**
65
+ * Hide the hint and error message
66
+ * @type {boolean}
67
+ * @default false
68
+ * @example
69
+ * <Checkbox hideDetails />
70
+ */
71
+ hideDetails?: boolean;
72
+ /**
73
+ * Whether the checkbox is required
74
+ * @type boolean
75
+ * @default false
76
+ * @example
77
+ * <Checkbox required />
78
+ */
79
+ required?: boolean;
80
+ /**
81
+ * Aria label for the checkbox
82
+ * @type string
83
+ * @default ''
84
+ * @example
85
+ * <Checkbox aria-label="Accept terms" />
86
+ */
87
+ ariaLabel?: string;
88
+ /**
89
+ * Name attribute for the checkbox
90
+ * @type string
91
+ * @default ''
92
+ * @example
93
+ * <Checkbox name="terms" />
94
+ */
95
+ name?: string;
96
+ /**
97
+ * Value attribute for the checkbox
98
+ * @type string | number | boolean
99
+ * @default ''
100
+ * @example
101
+ * <Checkbox value="1" />
102
+ */
103
+ value?: string | number | boolean;
104
+ }
105
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
106
+ id: string;
107
+ label: string;
108
+ indeterminate: boolean;
109
+ disabled: boolean;
110
+ hint: string;
111
+ errorMsg: string;
112
+ modelValue: boolean;
113
+ required: boolean;
114
+ ariaLabel: string;
115
+ name: string;
116
+ value: string;
117
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
118
+ "update:modelValue": (...args: any[]) => void;
119
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
120
+ id: string;
121
+ label: string;
122
+ indeterminate: boolean;
123
+ disabled: boolean;
124
+ hint: string;
125
+ errorMsg: string;
126
+ modelValue: boolean;
127
+ required: boolean;
128
+ ariaLabel: string;
129
+ name: string;
130
+ value: string;
131
+ }>>> & {
132
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
133
+ }, {
134
+ name: string;
135
+ required: boolean;
136
+ label: string;
137
+ disabled: boolean | "true" | "false";
138
+ ariaLabel: string;
139
+ id: string | undefined;
140
+ indeterminate: boolean;
141
+ modelValue: any[] | Set<any> | (boolean | "true" | "false");
142
+ hint: string;
143
+ errorMsg: string;
144
+ value: string | number | boolean;
145
+ }, {}>;
146
+ export default _default;
147
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
148
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
149
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
150
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
151
+ } : {
152
+ type: PropType<T[K]>;
153
+ required: true;
154
+ };
155
+ };
156
+ declare type __VLS_WithDefaults<P, D> = {
157
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
158
+ default: D[K];
159
+ }> : P[K];
160
+ };
161
+ declare type __VLS_Prettify<T> = {
162
+ [K in keyof T]: T[K];
163
+ } & {};
164
+ //# sourceMappingURL=RCheckbox.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/Checkbox/RCheckbox.vue"],"names":[],"mappings":"AAEA,OAAO,gBAAgB,CAA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