@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.
- package/CHANGELOG.md +3 -0
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/TextField/TextField.style.d.ts +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/Card/Card.style.d.ts +1 -1
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
- package/dist/components/molecules/Information/Information.style.d.ts +1 -1
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +1 -1
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +2 -2
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +2 -2
- package/dist/components/molecules/SkipToMain/SkipToMain.d.ts +20 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +6 -0
- package/dist/components/molecules/SkipToMain/index.d.ts +2 -0
- package/dist/components/molecules/index.d.ts +2 -1
- package/dist/components/organisms/Navigation/Navigation.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +6765 -6663
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +6782 -6680
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/navigation.d.ts +4 -0
- package/dist/types/types.d.ts +10 -0
- package/package.json +1 -1
|
@@ -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
|
/**
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
+
}
|