@cooperco/cooper-component-library 0.1.2 → 0.1.3
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 +239 -237
- package/dist/lib/component-lib.umd.cjs +16 -16
- package/dist/types/components/Accordion/AccordionItem.d.ts +3 -3
- package/dist/types/components/CTA/CTA.d.ts +2 -2
- package/dist/types/components/TileContent/TileContent.d.ts +2 -2
- package/dist/types/config/defaultPassthrough.d.ts +1 -1
- package/dist/types/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ export interface AccordionItemPassthrough extends ComponentPassthrough {
|
|
|
8
8
|
export interface AccordionItem extends Component {
|
|
9
9
|
__typename?: 'AccordionItem';
|
|
10
10
|
itemNumber?: number;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
headline?: string;
|
|
12
|
+
bodyCopy?: string;
|
|
13
13
|
pt?: AccordionItemPassthrough;
|
|
14
14
|
isFirst?: boolean;
|
|
15
15
|
isLast?: boolean;
|
|
@@ -19,5 +19,5 @@ export interface AccordionItem extends Component {
|
|
|
19
19
|
isListType?: boolean;
|
|
20
20
|
openAccordionIndex?: number | null;
|
|
21
21
|
toggleAccordion?: (index: number) => void;
|
|
22
|
-
|
|
22
|
+
image?: Image;
|
|
23
23
|
}
|
|
@@ -2,7 +2,7 @@ import { Component, URLRef } from '../../types';
|
|
|
2
2
|
import { Image } from '../Image/Image';
|
|
3
3
|
export interface CTAPassthrough {
|
|
4
4
|
logo?: string;
|
|
5
|
-
|
|
5
|
+
headline?: string;
|
|
6
6
|
}
|
|
7
7
|
export interface CTA extends Component {
|
|
8
8
|
__typename?: 'CTA';
|
|
@@ -11,7 +11,7 @@ export interface CTA extends Component {
|
|
|
11
11
|
color?: string;
|
|
12
12
|
textColor?: string;
|
|
13
13
|
buttonType: 'fill' | 'outline' | 'link' | 'logo';
|
|
14
|
-
|
|
14
|
+
logo?: Image | string;
|
|
15
15
|
pt?: CTAPassthrough;
|
|
16
16
|
ariaLabel: string;
|
|
17
17
|
anchor?: string;
|
|
@@ -20,8 +20,8 @@ export interface TileContentPassthrough extends ComponentPassthrough {
|
|
|
20
20
|
export interface TileContent extends Component {
|
|
21
21
|
__typename?: 'TileContent';
|
|
22
22
|
index?: number;
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
image?: Image;
|
|
24
|
+
video?: Video;
|
|
25
25
|
headline?: string;
|
|
26
26
|
subheadline?: string;
|
|
27
27
|
description?: string;
|
|
@@ -27,7 +27,7 @@ export declare const AccordionTileItemPt: GenericComponentPassthrough;
|
|
|
27
27
|
export declare const CarouselModulePt: {
|
|
28
28
|
headline: string | undefined;
|
|
29
29
|
root: string;
|
|
30
|
-
|
|
30
|
+
bodyCopy: string;
|
|
31
31
|
container: string;
|
|
32
32
|
previousbutton: string;
|
|
33
33
|
nextbutton: string;
|
package/dist/types/types.d.ts
CHANGED