@royaloperahouse/harmonic 0.15.0 → 0.16.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.
@@ -203,6 +203,10 @@ export interface INavigationProps {
203
203
  * Additional CSS class names to apply to the navigation component.
204
204
  */
205
205
  className?: string;
206
+ /**
207
+ * Defines which tag the button should skip to. Default: 'main-content'.
208
+ */
209
+ skipToId?: string;
206
210
  }
207
211
  export interface ISearchBarProps {
208
212
  /**
@@ -163,6 +163,10 @@ export interface ITabProps {
163
163
  * Defines if it is needed to trim the text of the Tab and add 3 dots in the end
164
164
  */
165
165
  trimText?: boolean;
166
+ /**
167
+ * data-testid string for easier testing
168
+ */
169
+ dataTestId?: string;
166
170
  /**
167
171
  * Boolean indicating if the Tab is open.
168
172
  */
@@ -723,3 +727,9 @@ export declare enum LinkTarget {
723
727
  */
724
728
  Blank = "_blank"
725
729
  }
730
+ export interface ISkipToMainProps {
731
+ /**
732
+ * Defines which tag the button should skip to.
733
+ */
734
+ skipToId?: string;
735
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",