@royaloperahouse/harmonic 0.10.0-a → 0.10.1
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/README.GIT +278 -0
- package/README.md +43 -252
- package/dist/components/Typography/Typography.d.ts +2 -2
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/molecules/AnchorBar/AnchorBar.style.d.ts +1 -5
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +4 -5
- package/dist/components/organisms/Footer/Footer.style.d.ts +5 -4
- package/dist/harmonic.cjs.development.css +0 -322
- package/dist/harmonic.cjs.development.js +417 -258
- 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 +425 -269
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -1
- package/dist/types/anchorBar.d.ts +0 -2
- package/dist/types/contactCard.d.ts +22 -8
- package/dist/types/types.d.ts +16 -16
- package/dist/types/typography.d.ts +0 -4
- package/package.json +1 -1
|
@@ -1,12 +1,9 @@
|
|
|
1
|
+
import { StyledProps } from 'styled-components';
|
|
1
2
|
export interface IContactCardProps {
|
|
2
3
|
/**
|
|
3
|
-
*
|
|
4
|
+
* Name
|
|
4
5
|
*/
|
|
5
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
47
|
+
hideBottomBorder: boolean;
|
|
34
48
|
}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
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
|
}
|
|
@@ -478,18 +470,26 @@ export interface ITypeTagsProps {
|
|
|
478
470
|
list: string[];
|
|
479
471
|
}
|
|
480
472
|
export interface ITextOnlyProps {
|
|
481
|
-
/**
|
|
473
|
+
/**
|
|
474
|
+
* Text placed in the TextOnly component
|
|
475
|
+
*/
|
|
482
476
|
text: string;
|
|
483
|
-
/**
|
|
477
|
+
/**
|
|
478
|
+
* Set columnstart in Desktop
|
|
479
|
+
*/
|
|
484
480
|
columnStartDesktop?: number;
|
|
485
|
-
/**
|
|
481
|
+
/**
|
|
482
|
+
* Set columnSpan in Desktop
|
|
483
|
+
*/
|
|
486
484
|
columnSpanDesktop?: number;
|
|
487
|
-
/**
|
|
485
|
+
/**
|
|
486
|
+
* Set columnstart in Device
|
|
487
|
+
*/
|
|
488
488
|
columnStartDevice?: number;
|
|
489
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* Set columnSpam in Device
|
|
491
|
+
*/
|
|
490
492
|
columnSpanDevice?: number;
|
|
491
|
-
/** Custom CSS classes */
|
|
492
|
-
className?: string;
|
|
493
493
|
}
|
|
494
494
|
export declare type SectionTitleSize = 'small' | 'large';
|
|
495
495
|
export interface ISectionTitleProps {
|
|
@@ -25,10 +25,6 @@ export interface IGenericTypographyProps<T extends HTMLElement = HTMLParagraphEl
|
|
|
25
25
|
export interface IHarmonicHeaderProps extends IGenericTypographyProps {
|
|
26
26
|
hierarchy: HeaderHierarchy;
|
|
27
27
|
}
|
|
28
|
-
export interface IBodyCopyHarmonicProps extends IGenericTypographyProps {
|
|
29
|
-
/** HTML tag to use to render BodyCopy, by default p. */
|
|
30
|
-
tag?: React.ElementType;
|
|
31
|
-
}
|
|
32
28
|
export declare type TypographyLevel = 1 | 2 | 3 | 4 | 5 | 6;
|
|
33
29
|
export declare type AltHeaderLevel = 3 | 4 | 5 | 6;
|
|
34
30
|
export declare type BodyLevel = 1 | 2 | 3;
|