@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.
- package/CHANGELOG.md +5 -0
- package/dist/chord.cjs.development.js +37 -16
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +37 -16
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/molecules/ContactCard/ContactCard.d.ts +1 -1
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +2 -1
- package/dist/types/contactCard.d.ts +45 -0
- package/dist/types/types.d.ts +0 -26
- package/package.json +1 -1
|
@@ -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,
|
|
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
|
+
}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
-
}
|