@royaloperahouse/harmonic 0.7.1-h → 0.8.0

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;
@@ -13,8 +13,6 @@ declare type BaseProps = {
13
13
  onClick?: MouseEventHandler<HTMLAnchorElement>;
14
14
  /** Custom CSS classes */
15
15
  className?: string;
16
- /** Styled Components theme */
17
- theme?: unknown;
18
16
  };
19
17
  declare type IconProps = {
20
18
  /** Icon identifier */
@@ -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
  }
@@ -39,23 +39,9 @@ export interface IUpsellCardProps {
39
39
  */
40
40
  link?: EditorialLink;
41
41
  /**
42
- * Optional link for secondary CTA
43
- */
44
- secondaryLink?: EditorialLink;
45
- /**
46
- * If true, switch to stacked CTAs earlier than usual to avoid button text spanning
47
- * two lines. Useful when this component is rendered within in a narrow parent
48
- * such as as an item in the Upsell Section.
49
- */
50
- stackCtasEarly?: boolean;
51
- /**
52
- * Theme for primary CTA: Core, Stream, or Cinema
42
+ * Theme: Core, Stream, or Cinema
53
43
  */
54
44
  theme?: ThemeType;
55
- /**
56
- * Theme for secondary CTA: Core, Stream, or Cinema
57
- */
58
- secondaryTheme?: ThemeType;
59
45
  }
60
46
  export interface IUpsellCardsProps {
61
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.7.1-h",
3
+ "version": "0.8.0",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",