@cooperco/cooper-component-library 0.1.9 → 0.1.11

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.
Files changed (51) hide show
  1. package/dist/lib/component-lib.js +1957 -1839
  2. package/dist/lib/component-lib.umd.cjs +23 -23
  3. package/dist/lib/css/main.css +58 -0
  4. package/dist/lib/style.css +1 -1
  5. package/dist/types/App.vue.d.ts +1 -1
  6. package/dist/types/components/Accordion/Accordion.vue.d.ts +2 -27
  7. package/dist/types/components/Accordion/AccordionItem.vue.d.ts +4 -25
  8. package/dist/types/components/Accordion/AccordionListItem.vue.d.ts +1 -10
  9. package/dist/types/components/Accordion/AccordionTileItem.vue.d.ts +3 -12
  10. package/dist/types/components/CTA/CTA.vue.d.ts +1 -10
  11. package/dist/types/components/CarouselModule/CarouselModule.d.ts +1 -3
  12. package/dist/types/components/CarouselModule/CarouselModule.vue.d.ts +2 -25
  13. package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.d.ts +1 -2
  14. package/dist/types/components/ContainerCollectionModule/ContainerCollectionModule.vue.d.ts +2 -23
  15. package/dist/types/components/ContainerModule/ContainerModule.vue.d.ts +2 -27
  16. package/dist/types/components/ContentModule/ContentModule.vue.d.ts +2 -27
  17. package/dist/types/components/Footer/FooterCopyright/FooterCopyright.d.ts +8 -0
  18. package/dist/types/components/Footer/FooterCopyright/FooterCopyright.vue.d.ts +3 -0
  19. package/dist/types/components/Footer/FooterNavigation/FooterNavigation.d.ts +15 -0
  20. package/dist/types/components/Footer/FooterNavigation/FooterNavigation.vue.d.ts +3 -0
  21. package/dist/types/components/Footer/SocialMediaRef/SocialMediaRef.d.ts +4 -0
  22. package/dist/types/components/Footer/SocialMediaRef/SocialMediaRef.vue.d.ts +3 -0
  23. package/dist/types/components/Image/Image.vue.d.ts +2 -23
  24. package/dist/types/components/LogoCollectionModule/LogoCollectionModule.d.ts +1 -2
  25. package/dist/types/components/LogoCollectionModule/LogoCollectionModule.vue.d.ts +2 -23
  26. package/dist/types/components/NavigationElement/NavigationElement.d.ts +1 -0
  27. package/dist/types/components/NavigationElement/NavigationElement.vue.d.ts +1 -10
  28. package/dist/types/components/PrimaryNavigation/PrimaryNavigation.vue.d.ts +1 -10
  29. package/dist/types/components/SplitModule/SplitModule.vue.d.ts +2 -23
  30. package/dist/types/components/TestimonialModule/TestimonialModule.vue.d.ts +1 -10
  31. package/dist/types/components/TileCollectionModule/TileCollectionModule.vue.d.ts +2 -25
  32. package/dist/types/components/TileContent/TileContentIconTile.vue.d.ts +2 -25
  33. package/dist/types/components/TileContent/TileContentImageStackedAnimatedTile.vue.d.ts +1 -10
  34. package/dist/types/components/TileContent/TileContentImageTile.vue.d.ts +2 -25
  35. package/dist/types/components/TileContent/TileContentTextTile.vue.d.ts +2 -25
  36. package/dist/types/components/TileContent/TileContentVideoTile.vue.d.ts +2 -25
  37. package/dist/types/components/TileLabel/TileLabel.vue.d.ts +2 -25
  38. package/dist/types/components/Video/Video.vue.d.ts +2 -23
  39. package/dist/types/components/components.d.ts +3 -1
  40. package/dist/types/components/types.d.ts +3 -1
  41. package/dist/types/config/colorPalettes.d.ts +8 -1
  42. package/dist/types/config/defaultPassthrough/config.d.ts +3 -0
  43. package/dist/types/config/{defaultPassthrough.d.ts → defaultPassthrough/index.d.ts} +2 -34
  44. package/dist/types/config/defaultPassthrough/types.d.ts +51 -0
  45. package/dist/types/index.d.ts +3 -1
  46. package/dist/types/pages/index.vue.d.ts +1 -1
  47. package/dist/types/router.d.ts +1 -1
  48. package/dist/types/types.d.ts +2 -2
  49. package/package.json +2 -2
  50. package/dist/types/components/FooterNavigation/FooterNavigation.d.ts +0 -12
  51. package/dist/types/components/FooterNavigation/FooterNavigation.vue.d.ts +0 -12
@@ -1,29 +1,6 @@
1
1
  import { TileContentTextTile } from './TileContent';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TileContentTextTile>, {
3
- isProvider: boolean;
4
- alignment: string;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TileContentTextTile>, {
6
- isProvider: boolean;
7
- alignment: string;
8
- }>>>, {
2
+ declare const _default: import("vue").DefineComponent<TileContentTextTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentTextTile> & Readonly<{}>, {
9
3
  isProvider: boolean;
10
4
  alignment: "left" | "center" | "right";
11
- }, {}>;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
6
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,29 +1,6 @@
1
1
  import { TileContentVideoTile } from './TileContent';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TileContentVideoTile>, {
3
- isProvider: boolean;
4
- alignment: string;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TileContentVideoTile>, {
6
- isProvider: boolean;
7
- alignment: string;
8
- }>>>, {
2
+ declare const _default: import("vue").DefineComponent<TileContentVideoTile, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileContentVideoTile> & Readonly<{}>, {
9
3
  isProvider: boolean;
10
4
  alignment: "left" | "center" | "right";
11
- }, {}>;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
6
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,29 +1,6 @@
1
1
  import { TileLabel } from './TileLabel';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TileLabel>, {
3
- alignment: string;
4
- type: string;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TileLabel>, {
6
- alignment: string;
7
- type: string;
8
- }>>>, {
2
+ declare const _default: import("vue").DefineComponent<TileLabel, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TileLabel> & Readonly<{}>, {
9
3
  type: import("./TileLabel").TileLabelType;
10
4
  alignment: "left" | "right";
11
- }, {}>;
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
6
  export default _default;
13
- type __VLS_WithDefaults<P, D> = {
14
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
15
- default: D[K];
16
- }> : P[K];
17
- };
18
- type __VLS_Prettify<T> = {
19
- [K in keyof T]: T[K];
20
- } & {};
21
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToOption<T> = {
23
- [K in keyof T]-?: {} extends Pick<T, K> ? {
24
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
- } : {
26
- type: import('vue').PropType<T[K]>;
27
- required: true;
28
- };
29
- };
@@ -1,26 +1,5 @@
1
1
  import { Video } from './Video';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Video>, {
2
+ declare const _default: import("vue").DefineComponent<Video, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Video> & Readonly<{}>, {
3
3
  isEmbedded: boolean;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Video>, {
5
- isEmbedded: boolean;
6
- }>>>, {
7
- isEmbedded: boolean;
8
- }, {}>;
4
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
5
  export default _default;
10
- type __VLS_WithDefaults<P, D> = {
11
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
12
- default: D[K];
13
- }> : P[K];
14
- };
15
- type __VLS_Prettify<T> = {
16
- [K in keyof T]: T[K];
17
- } & {};
18
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
19
- type __VLS_TypePropsToOption<T> = {
20
- [K in keyof T]-?: {} extends Pick<T, K> ? {
21
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
22
- } : {
23
- type: import('vue').PropType<T[K]>;
24
- required: true;
25
- };
26
- };
@@ -7,7 +7,9 @@ export { default as ContainerModule } from './ContainerModule/ContainerModule.vu
7
7
  export { default as ContentModule } from './ContentModule/ContentModule.vue';
8
8
  export { default as ContainerCollectionModule } from './ContainerCollectionModule/ContainerCollectionModule.vue';
9
9
  export { default as CTA } from './CTA/CTA.vue';
10
- export { default as FooterNavigation } from './FooterNavigation/FooterNavigation.vue';
10
+ export { default as FooterNavigation } from './Footer/FooterNavigation/FooterNavigation.vue';
11
+ export { default as FooterCopyright } from './Footer/FooterCopyright/FooterCopyright.vue';
12
+ export { default as SocialMediaRef } from './Footer/SocialMediaRef/SocialMediaRef.vue';
11
13
  export { default as Image } from './Image/Image.vue';
12
14
  export { default as LogoCollectionModule } from './LogoCollectionModule/LogoCollectionModule.vue';
13
15
  export { default as NavigationElement } from './NavigationElement/NavigationElement.vue';
@@ -4,7 +4,9 @@ export type { ContainerModule as ContainerModuleType } from './ContainerModule/C
4
4
  export type { ContentModule as ContentModuleType } from './ContentModule/ContentModule';
5
5
  export type { ContainerCollectionModule as ContainerCollectionModuleType } from './ContainerCollectionModule/ContainerCollectionModule';
6
6
  export type { CTA as CTAType } from './CTA/CTA';
7
- export type { FooterNavigation as FooterNavigationType } from './FooterNavigation/FooterNavigation';
7
+ export type { FooterNavigation as FooterNavigationType } from './Footer/FooterNavigation/FooterNavigation';
8
+ export type { FooterCopyright as FooterCopyrightType } from './Footer/FooterCopyright/FooterCopyright';
9
+ export type { SocialMediaRef as SocialMediaRefType } from './Footer/SocialMediaRef/SocialMediaRef';
8
10
  export type { Image as ImageType } from './Image/Image';
9
11
  export type { LogoCollectionModule as LogoCollectionModuleType } from './LogoCollectionModule/LogoCollectionModule';
10
12
  export type { NavigationElement as NavigationElementType } from './NavigationElement/NavigationElement';
@@ -1,3 +1,4 @@
1
+ export declare let DEFAULT_COLOR: string;
1
2
  interface PaletteElements {
2
3
  bg?: string;
3
4
  copy?: string;
@@ -31,7 +32,7 @@ interface ColorPalette {
31
32
  tile: Tile;
32
33
  label: TileLabel;
33
34
  }
34
- export declare const COLOR_PALETTES: {
35
+ export declare const DEFAULT_PALETTES: {
35
36
  [key: string]: ColorPalette;
36
37
  };
37
38
  /**
@@ -52,8 +53,14 @@ export declare const COLOR_PALETTES: {
52
53
  * @param props Props from the component
53
54
  * @returns
54
55
  */
56
+ export declare let COLOR_PALETTES: {
57
+ [key: string]: ColorPalette;
58
+ };
55
59
  export declare const withColorPalette: (props: any) => {
56
60
  backgroundColor: string;
57
61
  palette: ColorPalette;
58
62
  };
63
+ export declare const overridePalette: (newPalette: {
64
+ [key: string]: ColorPalette;
65
+ }, defaultColor: string) => void;
59
66
  export {};
@@ -0,0 +1,3 @@
1
+ import { AccordionPtVariants, ContainerModulePtVariants, CTAPtVariants, GenericComponentPassthrough, Pt_Overrides } from './types';
2
+ export declare const PT_OVERRIDES: Pt_Overrides;
3
+ export declare const overridePassthrough: (identifier: keyof Pt_Overrides, override: GenericComponentPassthrough & AccordionPtVariants & CTAPtVariants & ContainerModulePtVariants) => void;
@@ -1,25 +1,11 @@
1
- import { ComponentPassthrough } from '../types';
2
- import { ContainerModulePassthrough } from '../components/ContainerModule/ContainerModule';
3
- import { AccordionItemPassthrough } from '../components/Accordion/AccordionItem';
4
- import { AccordionPassthrough } from '../components/Accordion/Accordion';
5
- import { CarouselPassthrough } from '../components/CarouselModule/CarouselModule';
6
- import { ContentModulePassthrough } from '../components/ContentModule/ContentModule';
7
- import { TestimonialModulePassthrough } from '../components/TestimonialModule/TestimonialModule';
8
- import { TileContentPassthrough } from '../components/TileContent/TileContent';
9
- import { CTAPassthrough } from '../components/CTA/CTA';
10
- import { TileLabelPassthrough } from '../components/TileLabel/TileLabel';
1
+ import { AccordionPtVariants, ContainerModulePtVariants, CTAPtVariants, GenericComponentPassthrough } from './types';
2
+ import { ComponentPassthrough } from '../../types';
11
3
  export declare const DEFAULT_PASSTHROUGH: ComponentPassthrough;
12
- interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough {
13
- }
14
4
  /**
15
5
  * TODO: Need to define the types for the passthroughs.
16
6
  * REMOVE eslint-disable once types are defined
17
7
  */
18
8
  export declare const combinePassthroughs: <PtType extends GenericComponentPassthrough, OverrideType extends GenericComponentPassthrough>(passthrough: PtType, overrides: OverrideType) => GenericComponentPassthrough;
19
- export interface AccordionPtVariants {
20
- List: AccordionPassthrough;
21
- Tile: AccordionPassthrough;
22
- }
23
9
  export declare const AccordionPt: AccordionPtVariants;
24
10
  export declare const AccordionItemPt: GenericComponentPassthrough;
25
11
  export declare const AccordionListItemPt: GenericComponentPassthrough;
@@ -40,18 +26,8 @@ export declare const CarouselModulePt: {
40
26
  };
41
27
  export declare const CarouselModuleAltPt: GenericComponentPassthrough;
42
28
  export declare const ContainerCollectionModulePt: GenericComponentPassthrough;
43
- export interface ContainerModulePtVariants {
44
- Hero: ContainerModulePassthrough;
45
- Centered: ContainerModulePassthrough;
46
- }
47
29
  export declare const ContainerModulePt: ContainerModulePtVariants;
48
30
  export declare const ContentModulePt: GenericComponentPassthrough;
49
- export interface CTAPtVariants {
50
- fill: CTAPassthrough;
51
- logo: CTAPassthrough;
52
- link: CTAPassthrough;
53
- outline: CTAPassthrough;
54
- }
55
31
  export declare const CTAPt: CTAPtVariants;
56
32
  export declare const FooterNavigationPt: GenericComponentPassthrough;
57
33
  export declare const ImagePt: GenericComponentPassthrough;
@@ -60,13 +36,6 @@ export declare const NavigationElementPt: GenericComponentPassthrough;
60
36
  export declare const PrimaryNavigationPt: GenericComponentPassthrough;
61
37
  export declare const SplitModulePt: GenericComponentPassthrough;
62
38
  export declare const TestimonialModulePt: GenericComponentPassthrough;
63
- export interface TileCollectionPtVariants {
64
- IconTile: ComponentPassthrough;
65
- ImageTile: ComponentPassthrough;
66
- VideoTile: ComponentPassthrough;
67
- TextTile: ComponentPassthrough;
68
- ImageStackedAnimatedTile: ComponentPassthrough;
69
- }
70
39
  export declare const TileCollectionModulePt: GenericComponentPassthrough;
71
40
  export declare const TileContentPt: {
72
41
  root: string;
@@ -93,4 +62,3 @@ export declare const TileLabelPt: {
93
62
  };
94
63
  };
95
64
  export declare const VideoPt: GenericComponentPassthrough;
96
- export {};
@@ -0,0 +1,51 @@
1
+ import { ComponentPassthrough } from '../../types';
2
+ import { ContainerModulePassthrough } from '../../components/ContainerModule/ContainerModule';
3
+ import { AccordionItemPassthrough } from '../../components/Accordion/AccordionItem';
4
+ import { AccordionPassthrough } from '../../components/Accordion/Accordion';
5
+ import { CarouselPassthrough } from '../../components/CarouselModule/CarouselModule';
6
+ import { ContentModulePassthrough } from '../../components/ContentModule/ContentModule';
7
+ import { TestimonialModulePassthrough } from '../../components/TestimonialModule/TestimonialModule';
8
+ import { TileContentPassthrough } from '../../components/TileContent/TileContent';
9
+ import { CTAPassthrough } from '../../components/CTA/CTA';
10
+ import { TileLabelPassthrough } from '../../components/TileLabel/TileLabel';
11
+ export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough {
12
+ }
13
+ export interface AccordionPtVariants {
14
+ List: AccordionPassthrough;
15
+ Tile: AccordionPassthrough;
16
+ }
17
+ export interface ContainerModulePtVariants {
18
+ Hero: ContainerModulePassthrough;
19
+ Centered: ContainerModulePassthrough;
20
+ }
21
+ export interface CTAPtVariants {
22
+ fill: CTAPassthrough;
23
+ logo: CTAPassthrough;
24
+ link: CTAPassthrough;
25
+ outline: CTAPassthrough;
26
+ }
27
+ export interface Pt_Overrides {
28
+ Accordion?: AccordionPtVariants;
29
+ AccordionListItem?: GenericComponentPassthrough;
30
+ AccordionTileItem?: GenericComponentPassthrough;
31
+ CarouselModule?: GenericComponentPassthrough;
32
+ ContainerModule?: ContainerModulePtVariants;
33
+ ContentModule?: GenericComponentPassthrough;
34
+ CTA?: CTAPtVariants;
35
+ FooterNavigation?: GenericComponentPassthrough;
36
+ Image?: GenericComponentPassthrough;
37
+ LogoCollectionModule?: GenericComponentPassthrough;
38
+ NavigationElement?: GenericComponentPassthrough;
39
+ PrimaryNavigation?: GenericComponentPassthrough;
40
+ SplitModule?: GenericComponentPassthrough;
41
+ TestimonialModule?: GenericComponentPassthrough;
42
+ TileCollectionModule?: GenericComponentPassthrough;
43
+ TileContent?: GenericComponentPassthrough;
44
+ TileContentIconTile?: GenericComponentPassthrough;
45
+ TileContentImageStackedAnimatedTile?: GenericComponentPassthrough;
46
+ TileContentImageTile?: GenericComponentPassthrough;
47
+ TileContentTextTile?: GenericComponentPassthrough;
48
+ TileContentVideoTile?: GenericComponentPassthrough;
49
+ TileLabel?: GenericComponentPassthrough;
50
+ Video?: GenericComponentPassthrough;
51
+ }
@@ -5,4 +5,6 @@ import './assets/css/theme.css';
5
5
  export * from './components/components';
6
6
  export * from './components/types';
7
7
  import initGlobalComponents from './init';
8
- export { initGlobalComponents };
8
+ import { overridePalette } from './config/colorPalettes';
9
+ import { overridePassthrough } from './config/defaultPassthrough/config';
10
+ export { initGlobalComponents, overridePalette, overridePassthrough };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  export declare const routes: {
2
2
  path: string;
3
- component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
3
+ component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
4
  }[];
5
5
  export declare const router: import("vue-router").Router;
@@ -4,8 +4,8 @@ export interface linkRef {
4
4
  page?: {
5
5
  slug: string;
6
6
  };
7
- ariaLabel: string;
8
- ariaDescription: string;
7
+ ariaLabel?: string;
8
+ ariaDescription?: string;
9
9
  anchor?: string;
10
10
  target?: string;
11
11
  }
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.9",
4
+ "version": "0.1.11",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -32,7 +32,7 @@
32
32
  "primevue": "^3.0.0",
33
33
  "tailwind-merge": "^2.4.0",
34
34
  "vite-plugin-turbosnap": "^1.0.3",
35
- "vue": "^3.0.0"
35
+ "vue": "^3.5.6"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@chromatic-com/storybook": "^1.6.1",
@@ -1,12 +0,0 @@
1
- import { socialMedia } from '../../types';
2
- import { Image } from '../Image/Image';
3
- import { NavigationElement } from '../NavigationElement/NavigationElement';
4
- export interface FooterNavigation {
5
- title?: string;
6
- logo?: Image;
7
- legalText?: string;
8
- textColor?: string;
9
- backgroundColor?: string;
10
- navigation?: NavigationElement[];
11
- socialMediaRef?: socialMedia[];
12
- }
@@ -1,12 +0,0 @@
1
- import { type FooterNavigation } from './FooterNavigation';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<FooterNavigation>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<FooterNavigation>>>, {}, {}>;
3
- export default _default;
4
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
5
- type __VLS_TypePropsToOption<T> = {
6
- [K in keyof T]-?: {} extends Pick<T, K> ? {
7
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
8
- } : {
9
- type: import('vue').PropType<T[K]>;
10
- required: true;
11
- };
12
- };