@choosemycompany/ui 0.17.3 → 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/assets/index.css +1 -1
- package/dist/index.d.ts +28 -39
- package/dist/index.js +383 -385
- package/dist/index.umd.js +6 -6
- package/package.json +1 -1
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<
|
|
15
|
+
declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
16
16
|
click: () => any;
|
|
17
|
-
}, string, PublicProps, 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<
|
|
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 =
|
|
75
|
+
declare type __VLS_Props_12 = Props_5;
|
|
76
76
|
|
|
77
77
|
declare type __VLS_Props_13 = {
|
|
78
78
|
itemsPerPage: number;
|
|
@@ -271,9 +271,16 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
|
271
271
|
declare type BadgePillStatus = keyof typeof badgePillStatusOptions;
|
|
272
272
|
|
|
273
273
|
declare const badgePillStatusOptions: {
|
|
274
|
-
readonly
|
|
275
|
-
readonly
|
|
276
|
-
readonly
|
|
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";
|
|
277
284
|
};
|
|
278
285
|
|
|
279
286
|
declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
|
|
@@ -318,33 +325,6 @@ export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, Comp
|
|
|
318
325
|
onClick?: (() => any) | undefined;
|
|
319
326
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
320
327
|
|
|
321
|
-
export declare const CmcAriane: DefineComponent<ExtractPropTypes<{
|
|
322
|
-
items: {
|
|
323
|
-
type: () => {
|
|
324
|
-
label: string;
|
|
325
|
-
active?: boolean;
|
|
326
|
-
}[];
|
|
327
|
-
default: () => never[];
|
|
328
|
-
};
|
|
329
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
330
|
-
navigate: (...args: any[]) => void;
|
|
331
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
332
|
-
items: {
|
|
333
|
-
type: () => {
|
|
334
|
-
label: string;
|
|
335
|
-
active?: boolean;
|
|
336
|
-
}[];
|
|
337
|
-
default: () => never[];
|
|
338
|
-
};
|
|
339
|
-
}>> & Readonly<{
|
|
340
|
-
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
341
|
-
}>, {
|
|
342
|
-
items: {
|
|
343
|
-
label: string;
|
|
344
|
-
active?: boolean;
|
|
345
|
-
}[];
|
|
346
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLElement>;
|
|
347
|
-
|
|
348
328
|
export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
349
329
|
"update:modelValue": (...args: any[]) => void;
|
|
350
330
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -358,7 +338,11 @@ export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
358
338
|
autocompleteRef: HTMLDivElement;
|
|
359
339
|
}, HTMLDivElement>;
|
|
360
340
|
|
|
361
|
-
export declare const CmcBadgePill: DefineComponent<
|
|
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>;
|
|
362
346
|
|
|
363
347
|
export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
364
348
|
|
|
@@ -544,23 +528,28 @@ export declare const primaryTypeOptions: {
|
|
|
544
528
|
};
|
|
545
529
|
|
|
546
530
|
declare interface Props {
|
|
531
|
+
items: BreadcrumbItem[];
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
declare interface Props_2 {
|
|
547
535
|
label: string;
|
|
548
536
|
status: BadgePillStatus;
|
|
537
|
+
variant?: BadgePillVariant;
|
|
549
538
|
}
|
|
550
539
|
|
|
551
|
-
declare interface
|
|
540
|
+
declare interface Props_3 extends Omit<ButtonProp_2, "text"> {
|
|
552
541
|
kind?: ButtonKind;
|
|
553
542
|
variant?: ButtonVariant;
|
|
554
543
|
size?: ButtonSize;
|
|
555
544
|
}
|
|
556
545
|
|
|
557
|
-
declare interface
|
|
546
|
+
declare interface Props_4 {
|
|
558
547
|
level: HeadingLevels;
|
|
559
548
|
color?: string;
|
|
560
549
|
margin?: boolean;
|
|
561
550
|
}
|
|
562
551
|
|
|
563
|
-
declare type
|
|
552
|
+
declare type Props_5<TRow extends Row = Row> = {
|
|
564
553
|
rows?: TRow[];
|
|
565
554
|
columns?: ColumnDefinition_2[];
|
|
566
555
|
emptyText?: string;
|