@oub/fusion 0.3.28 → 0.3.30
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/fusion.js +1431 -1383
- package/dist/fusion.umd.cjs +2 -2
- package/dist/lib/components/common/card/FusionCard.d.ts +26 -0
- package/dist/lib/components/common/card/FusionCard.vue.d.ts +34 -18
- package/dist/lib/components/form/checkbox/FusionCheckbox.vue.d.ts +1 -0
- package/dist/lib/components/form/checkbox/FusionCheckboxGroup.vue.d.ts +1 -0
- package/dist/lib/components/form/password-input/FusionPasswordInput.vue.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type FusionCardVariant = "default" | "gradient" | "bg-only";
|
|
2
|
+
|
|
3
|
+
export type FusionCardBgVariantColour =
|
|
4
|
+
| "primary"
|
|
5
|
+
| "secondary"
|
|
6
|
+
| "info-default"
|
|
7
|
+
| "info-subtle"
|
|
8
|
+
| "success-default"
|
|
9
|
+
| "success-subtle"
|
|
10
|
+
| "warning-default"
|
|
11
|
+
| "warning-subtle"
|
|
12
|
+
| "danger-default"
|
|
13
|
+
| "danger-subtle"
|
|
14
|
+
| "brand-primary"
|
|
15
|
+
| "brand-secondary-default"
|
|
16
|
+
| "brand-secondary-subtle"
|
|
17
|
+
| "status-1"
|
|
18
|
+
| "status-2"
|
|
19
|
+
| "status-3"
|
|
20
|
+
| "status-4"
|
|
21
|
+
| "status-5"
|
|
22
|
+
| "status-6"
|
|
23
|
+
| "status-7"
|
|
24
|
+
| "neutral-100"
|
|
25
|
+
| "neutral-200"
|
|
26
|
+
| "neutral-300";
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FusionCardBgVariantColour, FusionCardVariant } from './FusionCard';
|
|
1
3
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
-
shadow: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
default: boolean;
|
|
5
|
-
};
|
|
6
|
-
hasBorder: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
4
|
variant: {
|
|
5
|
+
type: PropType<FusionCardVariant>;
|
|
11
6
|
default: string;
|
|
12
|
-
validator: (value: string) => boolean;
|
|
13
7
|
};
|
|
14
|
-
|
|
8
|
+
selectable: {
|
|
15
9
|
type: BooleanConstructor;
|
|
16
10
|
default: boolean;
|
|
17
11
|
};
|
|
@@ -19,13 +13,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
19
13
|
type: BooleanConstructor;
|
|
20
14
|
default: boolean;
|
|
21
15
|
};
|
|
22
|
-
|
|
16
|
+
disabled: {
|
|
23
17
|
type: BooleanConstructor;
|
|
24
18
|
default: boolean;
|
|
25
19
|
};
|
|
26
|
-
}>, {}, {}, {}, {
|
|
27
|
-
handleInteraction(event: Event): void;
|
|
28
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:selected"[], "update:selected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
20
|
shadow: {
|
|
30
21
|
type: BooleanConstructor;
|
|
31
22
|
default: boolean;
|
|
@@ -34,11 +25,23 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
34
25
|
type: BooleanConstructor;
|
|
35
26
|
default: boolean;
|
|
36
27
|
};
|
|
28
|
+
bgVariantColour: {
|
|
29
|
+
type: PropType<FusionCardBgVariantColour>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {
|
|
33
|
+
isDefault: () => boolean;
|
|
34
|
+
isBgOnly: () => boolean;
|
|
35
|
+
isSelectable: () => boolean;
|
|
36
|
+
bgClass: () => string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
handleInteraction: (event: Event) => void;
|
|
39
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "update:selected"[], "update:selected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
40
|
variant: {
|
|
41
|
+
type: PropType<FusionCardVariant>;
|
|
38
42
|
default: string;
|
|
39
|
-
validator: (value: string) => boolean;
|
|
40
43
|
};
|
|
41
|
-
|
|
44
|
+
selectable: {
|
|
42
45
|
type: BooleanConstructor;
|
|
43
46
|
default: boolean;
|
|
44
47
|
};
|
|
@@ -46,19 +49,32 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
46
49
|
type: BooleanConstructor;
|
|
47
50
|
default: boolean;
|
|
48
51
|
};
|
|
49
|
-
|
|
52
|
+
disabled: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
shadow: {
|
|
50
57
|
type: BooleanConstructor;
|
|
51
58
|
default: boolean;
|
|
52
59
|
};
|
|
60
|
+
hasBorder: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
bgVariantColour: {
|
|
65
|
+
type: PropType<FusionCardBgVariantColour>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
53
68
|
}>> & Readonly<{
|
|
54
69
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
55
70
|
}>, {
|
|
56
71
|
disabled: boolean;
|
|
57
72
|
selectable: boolean;
|
|
58
73
|
selected: boolean;
|
|
74
|
+
variant: FusionCardVariant;
|
|
59
75
|
shadow: boolean;
|
|
60
76
|
hasBorder: boolean;
|
|
61
|
-
|
|
77
|
+
bgVariantColour: FusionCardBgVariantColour;
|
|
62
78
|
}, {}, {
|
|
63
79
|
FusionDivider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
64
80
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -113,6 +113,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
113
113
|
}>, {}, {
|
|
114
114
|
checked: boolean;
|
|
115
115
|
}, {
|
|
116
|
+
hasLabel: () => boolean;
|
|
116
117
|
computedAriaDescribedBy: () => string | undefined;
|
|
117
118
|
stateClasses: () => {
|
|
118
119
|
disabled: boolean;
|
|
@@ -362,6 +362,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
362
362
|
}>, {}, {
|
|
363
363
|
checked: boolean;
|
|
364
364
|
}, {
|
|
365
|
+
hasLabel: () => boolean;
|
|
365
366
|
computedAriaDescribedBy: () => string | undefined;
|
|
366
367
|
stateClasses: () => {
|
|
367
368
|
disabled: boolean;
|