@royaloperahouse/harmonic 0.8.0-c → 0.9.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 +1 -1
- package/README.GIT +278 -0
- package/README.md +43 -252
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/TextField/TextField.style.d.ts +1 -1
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +4 -5
- 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/PromoWithTitle/PromoWithTitle.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +0 -319
- package/dist/harmonic.cjs.development.js +92 -87
- 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 +100 -98
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -1
- package/dist/types/contactCard.d.ts +22 -8
- package/dist/types/types.d.ts +2 -11
- 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
|
}
|
|
@@ -429,8 +421,7 @@ export declare type IHotFilterItem = Pick<AnchorHTMLAttributes<HTMLAnchorElement
|
|
|
429
421
|
export declare type IHotFilterProps = {
|
|
430
422
|
items: IHotFilterItem[];
|
|
431
423
|
className?: string;
|
|
432
|
-
|
|
433
|
-
onSelect?: (index: number) => void;
|
|
424
|
+
defaultSelectedIndex?: number;
|
|
434
425
|
};
|
|
435
426
|
export interface ISponsorshipProps {
|
|
436
427
|
/**
|