@choosemycompany/ui 0.43.0 → 0.44.0

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
@@ -37,6 +37,7 @@ declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, Componen
37
37
  }>, {
38
38
  loading: boolean;
39
39
  type: ButtonType;
40
+ iconPosition: "left" | "right";
40
41
  disabled: boolean;
41
42
  kind: ButtonKind;
42
43
  variant: ButtonVariant;
@@ -47,9 +48,11 @@ declare const __VLS_component_10: DefineComponent<Props_8, {}, {}, {}, {}, Compo
47
48
  close: () => any;
48
49
  }, string, PublicProps, Readonly<Props_8> & Readonly<{
49
50
  onClose?: (() => any) | undefined;
50
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
51
+ }>, {
52
+ teleport: boolean;
53
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
51
54
 
52
- declare const __VLS_component_11: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
55
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
53
56
  pagination: boolean;
54
57
  navigation: boolean;
55
58
  slidesPerView: number | "auto";
@@ -257,6 +260,11 @@ declare type __VLS_Props_25 = {
257
260
  };
258
261
 
259
262
  declare type __VLS_Props_26 = {
263
+ options: FilterChipsOption[];
264
+ ariaLabel?: string;
265
+ };
266
+
267
+ declare type __VLS_Props_27 = {
260
268
  filterTypes: FilterTypeConfig[];
261
269
  filters: Filter[];
262
270
  title?: string;
@@ -266,7 +274,7 @@ declare type __VLS_Props_26 = {
266
274
  addFilterLabel?: string;
267
275
  };
268
276
 
269
- declare type __VLS_Props_27 = {
277
+ declare type __VLS_Props_28 = {
270
278
  navigation?: boolean;
271
279
  pagination?: boolean;
272
280
  slidesPerView?: number | "auto";
@@ -335,6 +343,10 @@ declare type __VLS_PublicProps_11 = {
335
343
  modelValue?: boolean;
336
344
  } & __VLS_Props_21;
337
345
 
346
+ declare type __VLS_PublicProps_12 = {
347
+ modelValue?: string | number;
348
+ } & __VLS_Props_26;
349
+
338
350
  declare type __VLS_PublicProps_2 = {
339
351
  modelValue?: boolean;
340
352
  } & __VLS_Props_4;
@@ -382,7 +394,7 @@ declare function __VLS_template_10(): {
382
394
  default?(_: {}): any;
383
395
  };
384
396
  refs: {};
385
- rootEl: HTMLDivElement;
397
+ rootEl: any;
386
398
  };
387
399
 
388
400
  declare function __VLS_template_11(): {
@@ -711,11 +723,20 @@ export declare const CmcDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {},
711
723
  yearPicker: boolean;
712
724
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
713
725
 
714
- export declare const CmcFilterModal: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
726
+ export declare const CmcFilterChips: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
727
+ "update:modelValue": (value: string | number) => any;
728
+ } & {
729
+ change: (value: string | number) => any;
730
+ }, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
731
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
732
+ onChange?: ((value: string | number) => any) | undefined;
733
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
734
+
735
+ export declare const CmcFilterModal: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
715
736
  close: () => any;
716
737
  apply: (filters: Filter[]) => any;
717
738
  erase: () => any;
718
- }, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
739
+ }, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
719
740
  onClose?: (() => any) | undefined;
720
741
  onApply?: ((filters: Filter[]) => any) | undefined;
721
742
  onErase?: (() => any) | undefined;
@@ -956,6 +977,11 @@ export declare interface Filter {
956
977
  dateValue?: Date | Date[] | null;
957
978
  }
958
979
 
980
+ export declare interface FilterChipsOption {
981
+ value: string | number;
982
+ label: string;
983
+ }
984
+
959
985
  export declare interface FilterTypeConfig {
960
986
  value: string;
961
987
  label: string;
@@ -1119,6 +1145,7 @@ declare type Props_7<TRow extends Row = Row> = {
1119
1145
 
1120
1146
  declare interface Props_8 {
1121
1147
  title: string;
1148
+ teleport?: boolean;
1122
1149
  }
1123
1150
 
1124
1151
  export declare interface RadioCardOption {