@choosemycompany/ui 0.2.0 → 0.3.1

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.
package/dist/index.d.ts CHANGED
@@ -4,13 +4,13 @@ import { DefineComponent } from 'vue';
4
4
  import { PublicProps } from 'vue';
5
5
 
6
6
  declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
7
- click: (id: number) => any;
7
+ click: () => any;
8
8
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
9
- onClick?: ((id: number) => any) | undefined;
9
+ onClick?: (() => any) | undefined;
10
10
  }>, {
11
+ size: ButtonSize;
11
12
  kind: ButtonKind;
12
13
  variant: ButtonVariant;
13
- size: ButtonSize;
14
14
  disabled: boolean;
15
15
  loading: boolean;
16
16
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
@@ -23,10 +23,15 @@ declare const __VLS_component_4: DefineComponent<__VLS_Props_3, {}, {}, {}, {},
23
23
  status: Status;
24
24
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
25
25
 
26
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
27
+ gap: ButtonGroupGap;
28
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
29
+
26
30
  declare type __VLS_Props = {
27
31
  kind: ButtonKind;
28
32
  variant: ButtonVariant;
29
33
  size: ButtonSize;
34
+ icon?: IconName;
30
35
  disabled: boolean;
31
36
  loading: boolean;
32
37
  };
@@ -41,7 +46,18 @@ declare type __VLS_Props_3 = {
41
46
 
42
47
  declare type __VLS_Props_4 = {
43
48
  name: IconName;
44
- size?: IconsSize;
49
+ size?: IconSize;
50
+ color?: IconColor;
51
+ };
52
+
53
+ declare type __VLS_Props_5 = {
54
+ gap: ButtonGroupGap;
55
+ };
56
+
57
+ declare type __VLS_Props_6 = {
58
+ currentPage: number;
59
+ totalItems: number;
60
+ itemsPerPage: number;
45
61
  };
46
62
 
47
63
  declare function __VLS_template(): {
@@ -85,6 +101,15 @@ declare function __VLS_template_4(): {
85
101
  rootEl: HTMLDivElement;
86
102
  };
87
103
 
104
+ declare function __VLS_template_5(): {
105
+ attrs: Partial<{}>;
106
+ slots: {
107
+ default?(_: {}): any;
108
+ };
109
+ refs: {};
110
+ rootEl: HTMLDivElement;
111
+ };
112
+
88
113
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
89
114
 
90
115
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
@@ -93,6 +118,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
93
118
 
94
119
  declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
95
120
 
121
+ declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
122
+
96
123
  declare type __VLS_WithTemplateSlots<T, S> = T & {
97
124
  new (): {
98
125
  $slots: S;
@@ -117,6 +144,18 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
117
144
  };
118
145
  };
119
146
 
147
+ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
148
+ new (): {
149
+ $slots: S;
150
+ };
151
+ };
152
+
153
+ declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
154
+
155
+ declare const buttonGroupGapOptions: {
156
+ readonly medium: "medium";
157
+ };
158
+
120
159
  declare type ButtonKind = keyof typeof buttonKindOptions;
121
160
 
122
161
  export declare const buttonKindOptions: {
@@ -140,13 +179,22 @@ export declare const buttonVariantOptions: {
140
179
 
141
180
  export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
142
181
 
182
+ export declare const CmcButtonGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
183
+
143
184
  export declare const CmcHeading: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
144
185
 
145
186
  export declare const CmcIcon: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
146
187
  name: IconName;
147
- size: IconsSize;
188
+ size: IconSize;
189
+ color: IconColor;
148
190
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
149
191
 
192
+ export declare const CmcPagination: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
193
+ "update:currentPage": (page: number) => any;
194
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
195
+ "onUpdate:currentPage"?: ((page: number) => any) | undefined;
196
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
197
+
150
198
  export declare const CmcStatus: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
151
199
 
152
200
  export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
@@ -162,13 +210,17 @@ export declare const headingLevelOptions: {
162
210
 
163
211
  declare type HeadingLevels = keyof typeof headingLevelOptions;
164
212
 
165
- declare type IconName = keyof typeof iconsMap;
213
+ declare type IconColor = keyof typeof iconColorOptions;
214
+
215
+ export declare const iconColorOptions: Record<string, string>;
216
+
217
+ declare type IconName = keyof typeof iconNameOptions;
166
218
 
167
- export declare const iconsMap: Record<string, string>;
219
+ export declare const iconNameOptions: Record<string, string>;
168
220
 
169
- declare type IconsSize = keyof typeof iconsSizeOptions;
221
+ declare type IconSize = keyof typeof iconSizeOptions;
170
222
 
171
- export declare const iconsSizeOptions: Record<string, number>;
223
+ export declare const iconSizeOptions: Record<string, string>;
172
224
 
173
225
  declare type Status = keyof typeof statusOptions;
174
226