@cooperco/cooper-component-library 0.1.58 → 0.1.60

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.
@@ -20,4 +20,5 @@ export interface AccordionItem extends Component {
20
20
  openAccordionIndex?: number | null;
21
21
  toggleAccordion?: (index: number) => void;
22
22
  image?: Image;
23
+ backgroundColor?: string;
23
24
  }
@@ -11,6 +11,7 @@ export interface CTA extends Component {
11
11
  link: linkRef;
12
12
  color?: string;
13
13
  textColor?: string;
14
+ backgroundColor?: string;
14
15
  buttonType: 'fill' | 'outline' | 'link' | 'logo';
15
16
  logo?: Image | string;
16
17
  pt?: CTAPassthrough;
@@ -26,4 +26,5 @@ export interface ContentModule extends Component {
26
26
  isHero?: boolean;
27
27
  alignment?: contentModuleAlignmentEnum;
28
28
  isChild?: boolean;
29
+ parentHasBackgroundImage?: boolean;
29
30
  }
@@ -2,5 +2,6 @@ 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
4
  alignment: contentModuleAlignmentEnum;
5
+ parentHasBackgroundImage: boolean;
5
6
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
7
  export default _default;
@@ -6,4 +6,5 @@ export interface FooterCopyright {
6
6
  logos?: Image[];
7
7
  addTextMargin?: boolean;
8
8
  isCenterAlign?: boolean;
9
+ backgroundColor?: string;
9
10
  }
@@ -9,6 +9,7 @@ export interface NavigationElement extends Component {
9
9
  htmlRef?: string;
10
10
  subNavigation?: NavigationElement[];
11
11
  dividerLine?: boolean;
12
+ backgroundColor?: string;
12
13
  class?: string;
13
14
  isChild?: boolean;
14
15
  pt?: NavigationElementPt;
@@ -28,6 +28,7 @@ export interface TileContent extends Component {
28
28
  ctas?: CTA[];
29
29
  textColor?: string;
30
30
  backgroundColor?: string;
31
+ parentBackgroundColor?: string;
31
32
  tileLabel?: TileLabel;
32
33
  tileLabelType?: TileLabelType;
33
34
  alignment?: 'left' | 'center' | 'right';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperco/cooper-component-library",
3
3
  "private": false,
4
- "version": "0.1.58",
4
+ "version": "0.1.60",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@chromatic-com/storybook": "^1.6.1",
41
- "@cooperco/contentful-cli-migrations": "^0.5.1",
41
+ "@cooperco/contentful-cli-migrations": "^0.5.2",
42
42
  "@eslint/js": "^9.4.0",
43
43
  "@storybook/addon-essentials": "^8.2.8",
44
44
  "@storybook/addon-interactions": "^8.2.8",
@@ -62,6 +62,7 @@
62
62
  "husky": "^9.1.4",
63
63
  "jsdom": "^24.1.0",
64
64
  "lint-staged": "^15.2.8",
65
+ "patch-package": "^8.0.0",
65
66
  "postcss": "^8.4.38",
66
67
  "prettier": "3.3.1",
67
68
  "storybook": "^8.2.8",
@@ -1,27 +0,0 @@
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
- };