@choosemycompany/ui 0.3.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>;
@@ -31,6 +31,7 @@ declare type __VLS_Props = {
31
31
  kind: ButtonKind;
32
32
  variant: ButtonVariant;
33
33
  size: ButtonSize;
34
+ icon?: IconName;
34
35
  disabled: boolean;
35
36
  loading: boolean;
36
37
  };
@@ -53,6 +54,12 @@ declare type __VLS_Props_5 = {
53
54
  gap: ButtonGroupGap;
54
55
  };
55
56
 
57
+ declare type __VLS_Props_6 = {
58
+ currentPage: number;
59
+ totalItems: number;
60
+ itemsPerPage: number;
61
+ };
62
+
56
63
  declare function __VLS_template(): {
57
64
  attrs: Partial<{}>;
58
65
  slots: {
@@ -182,6 +189,12 @@ export declare const CmcIcon: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
182
189
  color: IconColor;
183
190
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
184
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
+
185
198
  export declare const CmcStatus: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
186
199
 
187
200
  export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
@@ -201,13 +214,13 @@ declare type IconColor = keyof typeof iconColorOptions;
201
214
 
202
215
  export declare const iconColorOptions: Record<string, string>;
203
216
 
204
- declare type IconName = keyof typeof iconsMap;
217
+ declare type IconName = keyof typeof iconNameOptions;
205
218
 
206
- declare type IconSize = keyof typeof iconSizeOptions;
219
+ export declare const iconNameOptions: Record<string, string>;
207
220
 
208
- export declare const iconSizeOptions: Record<string, number>;
221
+ declare type IconSize = keyof typeof iconSizeOptions;
209
222
 
210
- export declare const iconsMap: Record<string, string>;
223
+ export declare const iconSizeOptions: Record<string, string>;
211
224
 
212
225
  declare type Status = keyof typeof statusOptions;
213
226