@cooperco/cooper-component-library 0.1.63 → 0.1.64

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.
@@ -0,0 +1,23 @@
1
+ import { Component, ComponentPassthrough } from '../../types';
2
+ import { CTA } from '../CTA/CTA';
3
+ export interface HelloBarData {
4
+ active: boolean;
5
+ mobileCollapsed?: string;
6
+ fullCopy?: string;
7
+ cta?: CTA;
8
+ }
9
+ export interface HelloBarPassthrough extends ComponentPassthrough {
10
+ root?: string;
11
+ container?: string;
12
+ content?: string;
13
+ mobileCollapsed?: string;
14
+ fullCopy?: string;
15
+ cta?: string;
16
+ toggle?: string;
17
+ }
18
+ export interface HelloBar extends Component {
19
+ __typename?: 'HelloBar';
20
+ helloBarData?: HelloBarData;
21
+ pt?: HelloBarPassthrough;
22
+ onSegmentCTAClick?: (type: string, label: string, url: string, section: string) => void;
23
+ }
@@ -0,0 +1,3 @@
1
+ import { HelloBar } from './HelloBar';
2
+ declare const _default: import("vue").DefineComponent<HelloBar, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HelloBar> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
3
+ export default _default;
@@ -24,3 +24,4 @@ export { default as TileContentVideoTile } from './TileContent/TileContentVideoT
24
24
  export { default as TileContentImageStackedAnimatedTile } from './TileContent/TileContentImageStackedAnimatedTile.vue';
25
25
  export { default as Video } from './Video/Video.vue';
26
26
  export { default as AnimationWrapper } from './AnimationWrapper/AnimationWrapper.vue';
27
+ export { default as HelloBar } from './HelloBar/HelloBar.vue';
@@ -18,3 +18,4 @@ export type { TileCollection as TileCollectionModuleType } from './TileCollectio
18
18
  export type { TileContent as TileContentType } from './TileContent/TileContent';
19
19
  export type { Video as VideoType } from './Video/Video';
20
20
  export type { AnimationWrapper as AnimationWrapperType } from './AnimationWrapper/AnimationWrapper';
21
+ export type { HelloBar as HelloBarType } from './HelloBar/HelloBar';
@@ -1,5 +1,6 @@
1
1
  import { AccordionPtVariants, ContainerModulePtVariants, CTAPtVariants, GenericComponentPassthrough } from './types';
2
2
  import { ComponentPassthrough } from '../../types';
3
+ import { HelloBarPassthrough } from '../../components/HelloBar/HelloBar';
3
4
  export declare const DEFAULT_PASSTHROUGH: ComponentPassthrough;
4
5
  /**
5
6
  * TODO: Need to define the types for the passthroughs.
@@ -65,3 +66,4 @@ export declare const TileLabelPt: {
65
66
  };
66
67
  };
67
68
  export declare const VideoPt: GenericComponentPassthrough;
69
+ export declare const HelloBarPt: HelloBarPassthrough;
@@ -8,7 +8,8 @@ import { TestimonialModulePassthrough } from '../../components/TestimonialModule
8
8
  import { TileContentPassthrough } from '../../components/TileContent/TileContent';
9
9
  import { CTAPassthrough } from '../../components/CTA/CTA';
10
10
  import { TileLabelPassthrough } from '../../components/TileLabel/TileLabel';
11
- export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough {
11
+ import { HelloBarPassthrough } from '../../components/HelloBar/HelloBar';
12
+ export interface GenericComponentPassthrough extends ComponentPassthrough, TileLabelPassthrough, AccordionPassthrough, AccordionItemPassthrough, CarouselPassthrough, ContainerModulePassthrough, ContentModulePassthrough, CTAPassthrough, TestimonialModulePassthrough, TileContentPassthrough, HelloBarPassthrough {
12
13
  }
13
14
  export interface AccordionPtVariants {
14
15
  List: AccordionPassthrough;
@@ -33,6 +34,7 @@ export interface Pt_Overrides {
33
34
  ContentModule?: GenericComponentPassthrough;
34
35
  CTA?: CTAPtVariants;
35
36
  FooterNavigation?: GenericComponentPassthrough;
37
+ HelloBar?: HelloBarPassthrough;
36
38
  Image?: GenericComponentPassthrough;
37
39
  LogoCollectionModule?: GenericComponentPassthrough;
38
40
  NavigationElement?: GenericComponentPassthrough;
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.63",
4
+ "version": "0.1.64",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"