@royaloperahouse/chord 0.7.26 → 0.7.27

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,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { IContactCardProps } from '../../../types/types';
2
+ import { IContactCardProps } from '../../../types/contactCard';
3
3
  declare const ContactCard: FunctionComponent<IContactCardProps>;
4
4
  export default ContactCard;
@@ -1,5 +1,6 @@
1
+ import { IContactCardWrapperProps } from '../../../types/contactCard';
1
2
  export declare const ContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const Wrapper: import("styled-components").StyledComponent<"div", any, IContactCardWrapperProps, never>;
3
4
  export declare const AddressWrapperDesktop: import("styled-components").StyledComponent<"div", any, {}, never>;
4
5
  export declare const AddressWrapperMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
5
6
  export declare const DetailsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,45 @@
1
+ import { StyledProps } from 'styled-components';
2
+ export interface IContactCardProps {
3
+ /**
4
+ * Name
5
+ */
6
+ name: string;
7
+ /**
8
+ * Description
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Email
13
+ */
14
+ email?: string;
15
+ /**
16
+ * Phone number
17
+ */
18
+ phone?: string;
19
+ /**
20
+ * Website
21
+ */
22
+ website?: string;
23
+ /**
24
+ * Address string
25
+ */
26
+ address?: string;
27
+ /**
28
+ * Set visibility of the top border
29
+ */
30
+ hideTopBorder?: boolean;
31
+ /**
32
+ * Set visibility of the top border
33
+ */
34
+ hideBottomBorder?: boolean;
35
+ }
36
+ export interface IContactCardWrapperProps extends StyledProps<any> {
37
+ /**
38
+ * Set visibility of the top border
39
+ */
40
+ hideTopBorder: boolean;
41
+ /**
42
+ * Set visibility of the bottom border
43
+ */
44
+ hideBottomBorder: boolean;
45
+ }
@@ -455,29 +455,3 @@ export interface IAnnouncementBannerProps {
455
455
  */
456
456
  icon: 'Info' | 'Clock' | 'Location' | 'Reminder' | 'Star';
457
457
  }
458
- export interface IContactCardProps {
459
- /**
460
- * Name
461
- */
462
- name: string;
463
- /**
464
- * Description
465
- */
466
- description?: string;
467
- /**
468
- * Email
469
- */
470
- email?: string;
471
- /**
472
- * Phone number
473
- */
474
- phone?: string;
475
- /**
476
- * Website
477
- */
478
- website?: string;
479
- /**
480
- * Address string
481
- */
482
- address?: string;
483
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/chord",
3
- "version": "0.7.26",
3
+ "version": "0.7.27",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",