@choosemycompany/ui 0.18.0 → 0.19.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
@@ -1,4 +1,5 @@
1
1
  import { AlertStatus } from './CmcAlert';
2
+ import { BreadcrumbItem } from './CmcBreadcrumb';
2
3
  import { ButtonProp } from '../../cmcTypes';
3
4
  import { ButtonProp as ButtonProp_2 } from '../../../../../../../src/components/cmcTypes';
4
5
  import { ColumnDefinition } from './components/Molecules/CmcTable/CmcTable';
@@ -7,14 +8,13 @@ import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable
7
8
  import { ComponentOptionsMixin } from 'vue';
8
9
  import { ComponentProvideOptions } from 'vue';
9
10
  import { DefineComponent } from 'vue';
10
- import { ExtractPropTypes } from 'vue';
11
11
  import { PublicProps } from 'vue';
12
12
  import { Row } from './CmcTable.d.ts';
13
13
  import { Row as Row_2 } from '../../Molecules/CmcTable/CmcTable';
14
14
 
15
- declare const __VLS_component: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
15
+ declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
16
16
  click: () => any;
17
- }, string, PublicProps, Readonly<Props_2> & Readonly<{
17
+ }, string, PublicProps, Readonly<Props_3> & Readonly<{
18
18
  onClick?: (() => any) | undefined;
19
19
  }>, {
20
20
  loading: boolean;
@@ -28,7 +28,7 @@ declare const __VLS_component_2: DefineComponent<__VLS_Props_3, {}, {}, {}, {},
28
28
  gap: ButtonGroupGap;
29
29
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
30
30
 
31
- declare const __VLS_component_3: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
31
+ declare const __VLS_component_3: DefineComponent<Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_4> & Readonly<{}>, {
32
32
  color: string;
33
33
  level: HeadingLevels;
34
34
  margin: boolean;
@@ -72,7 +72,7 @@ declare type __VLS_Props_11 = {
72
72
  status?: Status;
73
73
  };
74
74
 
75
- declare type __VLS_Props_12 = Props_4;
75
+ declare type __VLS_Props_12 = Props_5;
76
76
 
77
77
  declare type __VLS_Props_13 = {
78
78
  itemsPerPage: number;
@@ -270,7 +270,18 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
270
270
 
271
271
  declare type BadgePillStatus = keyof typeof badgePillStatusOptions;
272
272
 
273
- declare const badgePillStatusOptions: Record<string, string>;
273
+ declare const badgePillStatusOptions: {
274
+ readonly orange: "orange";
275
+ readonly blue: "blue";
276
+ readonly white: "white";
277
+ };
278
+
279
+ declare type BadgePillVariant = keyof typeof badgePillVariantOptions;
280
+
281
+ declare const badgePillVariantOptions: {
282
+ readonly default: "default";
283
+ readonly outline: "outline";
284
+ };
274
285
 
275
286
  declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
276
287
 
@@ -314,33 +325,6 @@ export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
314
325
  onClick?: (() => any) | undefined;
315
326
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
316
327
 
317
- export declare const CmcAriane: DefineComponent<ExtractPropTypes<{
318
- items: {
319
- type: () => {
320
- label: string;
321
- active?: boolean;
322
- }[];
323
- default: () => never[];
324
- };
325
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
326
- navigate: (...args: any[]) => void;
327
- }, string, PublicProps, Readonly< ExtractPropTypes<{
328
- items: {
329
- type: () => {
330
- label: string;
331
- active?: boolean;
332
- }[];
333
- default: () => never[];
334
- };
335
- }>> & Readonly<{
336
- onNavigate?: ((...args: any[]) => any) | undefined;
337
- }>, {
338
- items: {
339
- label: string;
340
- active?: boolean;
341
- }[];
342
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
343
-
344
328
  export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
345
329
  "update:modelValue": (...args: any[]) => void;
346
330
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
@@ -354,7 +338,11 @@ export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {},
354
338
  autocompleteRef: HTMLDivElement;
355
339
  }, HTMLDivElement>;
356
340
 
357
- export declare const CmcBadgePill: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
341
+ export declare const CmcBadgePill: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_2> & Readonly<{}>, {
342
+ variant: BadgePillVariant;
343
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
344
+
345
+ export declare const CmcBreadcrumb: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
358
346
 
359
347
  export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
360
348
 
@@ -540,23 +528,28 @@ export declare const primaryTypeOptions: {
540
528
  };
541
529
 
542
530
  declare interface Props {
531
+ items: BreadcrumbItem[];
532
+ }
533
+
534
+ declare interface Props_2 {
543
535
  label: string;
544
536
  status: BadgePillStatus;
537
+ variant?: BadgePillVariant;
545
538
  }
546
539
 
547
- declare interface Props_2 extends Omit<ButtonProp_2, "text"> {
540
+ declare interface Props_3 extends Omit<ButtonProp_2, "text"> {
548
541
  kind?: ButtonKind;
549
542
  variant?: ButtonVariant;
550
543
  size?: ButtonSize;
551
544
  }
552
545
 
553
- declare interface Props_3 {
546
+ declare interface Props_4 {
554
547
  level: HeadingLevels;
555
548
  color?: string;
556
549
  margin?: boolean;
557
550
  }
558
551
 
559
- declare type Props_4<TRow extends Row = Row> = {
552
+ declare type Props_5<TRow extends Row = Row> = {
560
553
  rows?: TRow[];
561
554
  columns?: ColumnDefinition_2[];
562
555
  emptyText?: string;