@royaloperahouse/harmonic 0.9.1-a → 0.9.2

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,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ThemeType } from '../../types';
3
3
  import './theme/fonts.css';
4
- import './theme/typography.css';
5
4
  interface HarmonicThemeProviderProps {
6
5
  theme: ThemeType;
7
6
  children: React.ReactNode;
@@ -1,12 +1,9 @@
1
+ import { StyledProps } from 'styled-components';
1
2
  export interface IContactCardProps {
2
3
  /**
3
- * Title
4
+ * Name
4
5
  */
5
- title: string;
6
- /**
7
- * Title suffix
8
- */
9
- titleSuffix?: string;
6
+ name: string;
10
7
  /**
11
8
  * Description
12
9
  */
@@ -28,7 +25,24 @@ export interface IContactCardProps {
28
25
  */
29
26
  address?: string;
30
27
  /**
31
- * The component's class name
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<{
37
+ hideTopBorder: boolean;
38
+ hideBottomBorder: boolean;
39
+ }> {
40
+ /**
41
+ * Set visibility of the top border
42
+ */
43
+ hideTopBorder: boolean;
44
+ /**
45
+ * Set visibility of the bottom border
32
46
  */
33
- className?: string;
47
+ hideBottomBorder: boolean;
34
48
  }
@@ -154,10 +154,6 @@ export interface ITabProps {
154
154
  * Additional CSS class names to apply to the navigation component.
155
155
  */
156
156
  className?: string;
157
- /**
158
- * The unique ID to assign to the link element.
159
- */
160
- tabLinkId?: string;
161
157
  /**
162
158
  * Defines the ARIA role of the element for accessibility purposes.
163
159
  */
@@ -225,11 +221,7 @@ export interface IDropdownProps {
225
221
  */
226
222
  ariaLabel?: string;
227
223
  /**
228
- * The unique ID to assign to the link element inside the tab.
229
- */
230
- tabLinkId?: string;
231
- /**
232
- * Defines if it is needed to trim the text of the Tab and add 3 dots in the end
224
+ * Defines if it is needed to trim the text of the Tab and add 3 dots in the end
233
225
  */
234
226
  trimTabText?: boolean;
235
227
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.9.1-a",
3
+ "version": "0.9.2",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",