@royaloperahouse/chord 0.7.5 → 0.7.8

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.
@@ -1,9 +1,12 @@
1
1
  /// <reference types="react" />
2
- import { ITitleCTAProps } from '../../../types/navigation';
2
+ import { ITitleCTAProps, ITitleCTAGridItemProps } from '../../../types/navigation';
3
3
  export declare const TitleCTAGridWrapper: import("styled-components").StyledComponent<"div", any, ITitleCTAProps, never>;
4
- export declare const CTAGridWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
+ export declare const TitleCTAGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
5
+ export declare const TitleCTAGridItem: import("styled-components").StyledComponent<"div", any, ITitleCTAGridItemProps, never>;
5
6
  export declare const AnchorTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
6
7
  export declare const GridItemTitleWrapper: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
7
- export declare const ButtonsDesktopGridItem: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
8
+ export declare const ButtonsDesktopWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
8
9
  export declare const ButtonsMobileWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
10
  export declare const PrimaryButtonReverse: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/buttonTypes").IPrimaryButtonProps>, any, {}, never>;
11
+ export declare const MessageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
12
+ export declare const MessageWrapperMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -231,6 +231,16 @@ export interface ITitleCTAProps {
231
231
  * Boolean to determine if is sticky
232
232
  */
233
233
  sticky?: boolean;
234
+ /**
235
+ * Text in replacement of links
236
+ */
237
+ message?: string;
238
+ }
239
+ export interface ITitleCTAGridItemProps {
240
+ /**
241
+ * Text placed in the anchor bar component
242
+ */
243
+ title?: string;
234
244
  }
235
245
  export interface IAnchorTabsListProps {
236
246
  /**
@@ -412,6 +412,10 @@ export interface IAccordionProps {
412
412
  * Set if accordions are stacked
413
413
  */
414
414
  showLine?: boolean;
415
+ /**
416
+ * Set init open
417
+ */
418
+ initOpen?: boolean;
415
419
  }
416
420
  export interface IAccordionsProps {
417
421
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "0.7.5",
3
+ "version": "0.7.8",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",