@cooperco/cooper-component-library 0.1.33 → 0.1.35
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/lib/component-lib.js +1136 -1129
- package/dist/lib/component-lib.umd.cjs +18 -18
- package/dist/lib/css/main.css +1 -1
- package/dist/lib/style.css +1 -1
- package/dist/types/components/CTA/CTA.d.ts +1 -1
- package/dist/types/components/CTA/LinkWrapper.vue.d.ts +27 -0
- package/dist/types/components/ContentModule/ContentModule.d.ts +8 -8
- package/dist/types/components/ContentModule/ContentModule.vue.d.ts +2 -2
- package/dist/types/components/NavigationElement/NavigationElement.d.ts +1 -1
- package/dist/types/components/TileCollectionModule/TileCollectionModule.d.ts +1 -1
- package/dist/types/components/TileContent/TileContent.d.ts +1 -1
- package/dist/types/config/defaultPassthrough/index.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
to?: string | undefined;
|
|
3
|
+
href?: string | undefined;
|
|
4
|
+
external?: boolean | undefined;
|
|
5
|
+
target?: string | undefined;
|
|
6
|
+
rel?: string | undefined;
|
|
7
|
+
ariaLabel?: string | undefined;
|
|
8
|
+
ariaDescribedby?: string | undefined;
|
|
9
|
+
class?: string | undefined;
|
|
10
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
+
to?: string | undefined;
|
|
12
|
+
href?: string | undefined;
|
|
13
|
+
external?: boolean | undefined;
|
|
14
|
+
target?: string | undefined;
|
|
15
|
+
rel?: string | undefined;
|
|
16
|
+
ariaLabel?: string | undefined;
|
|
17
|
+
ariaDescribedby?: string | undefined;
|
|
18
|
+
class?: string | undefined;
|
|
19
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
20
|
+
default?(_: {}): any;
|
|
21
|
+
}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -7,24 +7,24 @@ export interface ContentModulePassthrough extends ComponentPassthrough {
|
|
|
7
7
|
logo?: string;
|
|
8
8
|
subHeadline?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
10
|
+
export declare enum contentModuleAlignmentEnum {
|
|
11
|
+
Left = "left",
|
|
12
|
+
Center = "center",
|
|
13
|
+
Right = "right",
|
|
14
|
+
Inline = "inline"
|
|
15
|
+
}
|
|
16
16
|
export interface ContentModule extends Component {
|
|
17
17
|
__typename?: 'ContentModule';
|
|
18
18
|
headline?: string;
|
|
19
19
|
subHeadline?: string;
|
|
20
|
-
|
|
20
|
+
bodyCopy?: string;
|
|
21
21
|
ctas?: CTA[];
|
|
22
22
|
textColor?: string;
|
|
23
23
|
backgroundColor?: string;
|
|
24
24
|
pt?: ContentModulePassthrough;
|
|
25
25
|
logo?: Image;
|
|
26
26
|
isHero?: boolean;
|
|
27
|
-
alignment?:
|
|
27
|
+
alignment?: contentModuleAlignmentEnum;
|
|
28
28
|
isChild?: boolean;
|
|
29
29
|
isProvider?: boolean;
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ContentModule } from './ContentModule';
|
|
1
|
+
import { ContentModule, contentModuleAlignmentEnum } from './ContentModule';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<ContentModule, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContentModule> & Readonly<{}>, {
|
|
3
3
|
isHero: boolean;
|
|
4
|
-
alignment:
|
|
4
|
+
alignment: contentModuleAlignmentEnum;
|
|
5
5
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
6
|
export default _default;
|
|
@@ -5,7 +5,7 @@ export interface NavigationElementPt extends ComponentPassthrough {
|
|
|
5
5
|
export interface NavigationElement extends Component {
|
|
6
6
|
elementType?: 'header' | 'footer';
|
|
7
7
|
title?: string;
|
|
8
|
-
|
|
8
|
+
link?: linkRef;
|
|
9
9
|
htmlRef?: string;
|
|
10
10
|
subNavigation?: NavigationElement[];
|
|
11
11
|
class?: string;
|
|
@@ -5,7 +5,7 @@ import { TileLabelType } from '../TileLabel/TileLabel';
|
|
|
5
5
|
export interface TileCollection extends Component {
|
|
6
6
|
__typename?: 'TileCollectionModule';
|
|
7
7
|
headline: string;
|
|
8
|
-
|
|
8
|
+
bodyCopy?: string;
|
|
9
9
|
modules: TileContent[];
|
|
10
10
|
textColor?: string;
|
|
11
11
|
backgroundColor?: string;
|
package/dist/types/types.d.ts
CHANGED