@royaloperahouse/harmonic 0.1.0 → 0.1.1-b-test

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +607 -0
  2. package/README.md +8 -0
  3. package/dist/components/Typography/AltHeaders/AltHeaders.d.ts +4 -0
  4. package/dist/components/Typography/TextLink/TextLink.d.ts +5 -0
  5. package/dist/components/Typography/Typography.d.ts +11 -0
  6. package/dist/components/Typography/index.d.ts +3 -0
  7. package/dist/components/atoms/Account/Account.d.ts +2 -1
  8. package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +0 -1
  9. package/dist/components/atoms/Buttons/Primary/PrimaryButtonWrapper.style.d.ts +0 -1
  10. package/dist/components/atoms/Buttons/Secondary/SecondaryButtonWrapper.style.d.ts +0 -1
  11. package/dist/components/atoms/Dropdown/Dropdown.d.ts +2 -1
  12. package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +2 -1
  13. package/dist/components/atoms/Icons/SvgIcons/index.d.ts +0 -1
  14. package/dist/components/atoms/Logo/Logo.d.ts +2 -1
  15. package/dist/components/atoms/Radio/Radio.d.ts +2 -1
  16. package/dist/components/atoms/Radio2/Radio2.d.ts +0 -19
  17. package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +2 -1
  18. package/dist/components/atoms/Search/Search.d.ts +2 -1
  19. package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +2 -1
  20. package/dist/components/atoms/Stepper/Stepper.d.ts +2 -2
  21. package/dist/components/atoms/Tab/Tab.d.ts +2 -1
  22. package/dist/components/atoms/TextArea/TextArea.d.ts +5 -4
  23. package/dist/components/atoms/TextField/TextField.d.ts +0 -38
  24. package/dist/components/atoms/TextField/TextFieldLegacy.d.ts +3 -2
  25. package/dist/components/atoms/Tickbox2/Tickbox2.d.ts +0 -19
  26. package/dist/components/atoms/TypeTags/TypeTags.d.ts +2 -1
  27. package/dist/components/atoms/Typography/Typography.d.ts +8 -6
  28. package/dist/components/atoms/VideoControls/VideoControls.style.d.ts +2 -2
  29. package/dist/components/index.d.ts +3 -0
  30. package/dist/components/molecules/Basket/Basket.d.ts +2 -1
  31. package/dist/components/molecules/Cards/Cards.d.ts +2 -1
  32. package/dist/components/molecules/ContentSummary/ContentSummary.d.ts +2 -1
  33. package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
  34. package/dist/components/molecules/Information/InfoCta.d.ts +2 -2
  35. package/dist/components/molecules/Information/Information.style.d.ts +6 -3
  36. package/dist/components/molecules/NavTop/NavTop.d.ts +2 -1
  37. package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +3 -4
  38. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +5 -1
  39. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +3 -1
  40. package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +2 -1
  41. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +1 -0
  42. package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +2 -3
  43. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +2 -1
  44. package/dist/components/molecules/SearchBar/SearchBar.d.ts +2 -1
  45. package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +2 -1
  46. package/dist/components/molecules/Select/Select.d.ts +2 -1
  47. package/dist/components/molecules/Select/Select.style.d.ts +0 -1
  48. package/dist/components/molecules/Select2/Select2.d.ts +2 -2
  49. package/dist/components/molecules/Tabs/Tabs.d.ts +2 -1
  50. package/dist/components/molecules/UpsellCard/OfferText.d.ts +2 -1
  51. package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +2 -2
  52. package/dist/components/organisms/Navigation/Navigation.d.ts +2 -1
  53. package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +0 -1
  54. package/dist/harmonic.cjs.development.css +320 -0
  55. package/dist/harmonic.cjs.development.js +2502 -3394
  56. package/dist/harmonic.cjs.development.js.map +1 -1
  57. package/dist/harmonic.cjs.production.min.js +1 -1
  58. package/dist/harmonic.cjs.production.min.js.map +1 -1
  59. package/dist/harmonic.esm.js +2534 -3397
  60. package/dist/harmonic.esm.js.map +1 -1
  61. package/dist/helpers/arrays.d.ts +2 -6
  62. package/dist/index.d.ts +2 -2
  63. package/dist/styles/ThemeProvider.d.ts +2 -1
  64. package/dist/types/auxiliaryNav.d.ts +15 -15
  65. package/dist/types/buttonTypes.d.ts +2 -2
  66. package/dist/types/card.d.ts +3 -1
  67. package/dist/types/contactCard.d.ts +4 -1
  68. package/dist/types/creditListing.d.ts +1 -0
  69. package/dist/types/editorial.d.ts +4 -1
  70. package/dist/types/formTypes.d.ts +1 -1
  71. package/dist/types/image.d.ts +4 -1
  72. package/dist/types/impactHeader.d.ts +18 -18
  73. package/dist/types/index.d.ts +2 -1
  74. package/dist/types/information.d.ts +19 -13
  75. package/dist/types/navigation.d.ts +3 -4
  76. package/dist/types/quote.d.ts +3 -1
  77. package/dist/types/tableTypes.d.ts +2 -1
  78. package/dist/types/types.d.ts +36 -22
  79. package/dist/types/typography.d.ts +33 -3
  80. package/dist/types/upsell.d.ts +1 -2
  81. package/package.json +68 -47
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IDropdownProps } from '../../../types/types';
2
- declare const Dropdown: ({ title, titleLink, selected, options, onChange, iconName, isMobileBehaviour, withOptionsInMobile, withIcon, colorPrimary, }: IDropdownProps) => JSX.Element;
3
+ declare const Dropdown: ({ title, titleLink, selected, options, onChange, iconName, isMobileBehaviour, withOptionsInMobile, withIcon, colorPrimary, }: IDropdownProps) => React.JSX.Element;
3
4
  export default Dropdown;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { DirectionType, IconNameType } from '../../../../types/iconTypes';
2
3
  export interface IStorybookIcon {
3
4
  iconName: IconNameType;
@@ -8,4 +9,4 @@ export interface IStorybookIcon {
8
9
  export interface IIconographyGridProps {
9
10
  iconsArray: IStorybookIcon[];
10
11
  }
11
- export declare function Iconography({ iconsArray }: IIconographyGridProps): JSX.Element;
12
+ export declare function Iconography({ iconsArray }: IIconographyGridProps): React.JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const IconLibrary: {
3
2
  AddToMyList: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
4
3
  Arrow: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ILogoProps } from '../../../types/types';
2
- declare const Logo: ({ id, dataRoh, urlLink, desktopImage, devicesImage, title, altText, }: ILogoProps) => JSX.Element;
3
+ declare const Logo: ({ id, dataRoh, urlLink, desktopImage, devicesImage, title, altText, }: ILogoProps) => React.JSX.Element;
3
4
  export default Logo;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { IRadioProps } from '../../../types/formTypes';
2
3
  /**
3
4
  * DEPRECATED. Use Radio2 instead
4
5
  */
5
- declare const Radio: ({ checked, error, label, onChange }: IRadioProps) => JSX.Element;
6
+ declare const Radio: ({ checked, error, label, onChange }: IRadioProps) => React.JSX.Element;
6
7
  export default Radio;
@@ -1,23 +1,4 @@
1
1
  import React from 'react';
2
2
  import { IRadio2Props } from '../../../types/formTypes';
3
- /**
4
- * A Radio component, that wraps around the native `<input type="radio"/>` element
5
- * and adds some extra styling, states and information around it (i.e. an error label,
6
- * error state).
7
- *
8
- * # Error state
9
- * An error label will be shown below the radio if the `error` prop exists.
10
- * Also radio will be rendered with a red border. An empty string can be passed to
11
- * render only error state without error message.
12
- *
13
- * # Light / Dark mode
14
- * The component can also adapt its styles for light / dark mode. If you want this component
15
- * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
16
- *
17
- * # Black box mode
18
- * If `blackBox` prop is true checked state will be styled as black box with white tick icon.
19
- * This style was used before as a default. Not preferred in new components.
20
- * This will be ignored if `darkMode` is true.
21
- */
22
3
  declare const Radio2: React.ForwardRefExoticComponent<IRadio2Props & React.RefAttributes<HTMLInputElement>>;
23
4
  export default Radio2;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IRotatorButtonsProps } from '../../../types/buttonTypes';
2
- declare const RotatorButtons: ({ onClickPrev, onClickNext, availablePrev, availableNext, }: IRotatorButtonsProps) => JSX.Element;
3
+ declare const RotatorButtons: ({ onClickPrev, onClickNext, availablePrev, availableNext, }: IRotatorButtonsProps) => React.JSX.Element;
3
4
  export default RotatorButtons;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISearchProps } from '../../../types/navigation';
2
- declare const Search: ({ selected, onClick, colorPrimary }: ISearchProps) => JSX.Element;
3
+ declare const Search: ({ selected, onClick, colorPrimary }: ISearchProps) => React.JSX.Element;
3
4
  export default Search;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISectionSplitterProps } from '../../../types/types';
2
- declare const SectionSplitter: ({ fullWidth }: ISectionSplitterProps) => JSX.Element;
3
+ declare const SectionSplitter: ({ fullWidth }: ISectionSplitterProps) => React.JSX.Element;
3
4
  export default SectionSplitter;
@@ -1,7 +1,7 @@
1
1
  import { ReactElement } from 'react';
2
2
  import { IStepperProps } from '../../../types/formTypes';
3
3
  /**
4
- * A chord Stepper component, used similarly to an HTML input type number.
4
+ * A harmonic Stepper component, used similarly to an HTML input type number.
5
5
  *
6
6
  * The buttons are clickable but not keyboard focusable
7
7
  *
@@ -36,7 +36,7 @@ import { IStepperProps } from '../../../types/formTypes';
36
36
  * Example:
37
37
  *
38
38
  * ```tsx
39
- * import { Stepper } from '@royaloperahouse/chord'
39
+ * import { Stepper } from '@royaloperahouse/harmonic'
40
40
  *
41
41
  * <div>
42
42
  * <p>How How many seas must a white dove sail before she sleeps in the sand?</p>
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ITabProps } from '../../../types/types';
2
- declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, withIcon, withTextInMobile, colorPrimary, }: ITabProps) => JSX.Element;
3
+ declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, withIcon, withTextInMobile, colorPrimary, }: ITabProps) => React.JSX.Element;
3
4
  export default Tab;
@@ -1,11 +1,12 @@
1
+ import React from 'react';
1
2
  import { ITextAreaProps } from '../../../types/formTypes';
2
3
  /**
3
- * An HTML textarea component for Chord.
4
+ * An HTML textarea component for Harmonic.
4
5
  *
5
6
  * Control the height and width of the component with `height` and `width`.
6
7
  *
7
8
  * The TextArea can also be used as the direct child of a
8
- * Chord Grid component, in which case you can control the width and
9
+ * Harmonic Grid component, in which case you can control the width and
9
10
  * horizontal position by specifying GridItem props.
10
11
  *
11
12
  * If a fixed pixel width is specified it will take precedence over the
@@ -26,7 +27,7 @@ import { ITextAreaProps } from '../../../types/formTypes';
26
27
  * Example of use as a GridItem:
27
28
  *
28
29
  * ```tsx
29
- * import {Grid, TextArea} from '@royaloperahouse/chord';
30
+ * import {Grid, TextArea} from '@royaloperahouse/harmonic';
30
31
  *
31
32
  * <Grid>
32
33
  * <TextArea
@@ -40,5 +41,5 @@ import { ITextAreaProps } from '../../../types/formTypes';
40
41
  * </Grid>
41
42
  * ```
42
43
  */
43
- declare const TextArea: ({ label, error, width, darkMode, height, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, maxLength, tabIndex, ...textareaProps }: ITextAreaProps) => JSX.Element;
44
+ declare const TextArea: ({ label, error, width, darkMode, height, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, maxLength, tabIndex, ...textareaProps }: ITextAreaProps) => React.JSX.Element;
44
45
  export default TextArea;
@@ -1,42 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ITextFieldProps } from '../../../types/formTypes';
3
- /**
4
- * A text field component, that wraps around the native `<input />` element
5
- * and adds some extra states and information around it (i.e. a text and an error labels,
6
- * error state, show/hide button for password field).
7
- *
8
- * # Label
9
- * You can use this component just like you would use a regular `<input />` element,
10
- * just with the extra `label` prop, to set the label of the content. For example:
11
- * ```tsx
12
- * <TextField label="This is a label" />
13
- * ```
14
- *
15
- * # Error state
16
- * An error label will be shown below the text input field if the `error` prop exists.
17
- * Also input will be rendered with a red border. An empty string can be passed to
18
- * render only error state without error message.
19
- *
20
- * # Password mode
21
- * If type `password` provided this will be rendered with the `Show/Hide` button over the input field.
22
- * Clicking on that changes type to `text` and back to `password`.
23
- *
24
- * # Light / Dark mode
25
- * The component can also adapt its styles for light / dark mode. If you want this component
26
- * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
27
- * ```tsx
28
- * <div>
29
- * <WhiteBackgroundContainer>
30
- * <TextField label="..." />
31
- * </WhiteBackgroundContainer>
32
- * <BlackBackgroundContainer>
33
- * <TextField darkMode label="..." />
34
- * </BlackBackgroundContainer>
35
- * <BlueBackgroundContainer>
36
- * <TextField darkMode label="..." />
37
- * </BlueBackgroundContainer>
38
- * </div>
39
- * ```
40
- */
41
3
  declare const TextField: React.ForwardRefExoticComponent<ITextFieldProps & React.RefAttributes<HTMLInputElement>>;
42
4
  export default TextField;
@@ -1,10 +1,11 @@
1
+ import React from 'react';
1
2
  import { ITextFieldProps } from '../../../types/formTypes';
2
3
  /**
3
4
  * @deprecated
4
5
  *
5
6
  * # IMPORTANT
6
7
  * Please use the `<TextField />` component instead of this component if possible.
7
- * This component was introduced due to incompatibilities between versions of the Chord library.
8
+ * This component was introduced due to incompatibilities between versions of the Harmonic library.
8
9
  * */
9
- declare const TextFieldLegacy: ({ label, error, darkMode, width, ...inputProps }: ITextFieldProps) => JSX.Element;
10
+ declare const TextFieldLegacy: ({ label, error, darkMode, width, ...inputProps }: ITextFieldProps) => React.JSX.Element;
10
11
  export default TextFieldLegacy;
@@ -1,23 +1,4 @@
1
1
  import React from 'react';
2
2
  import { ITickbox2Props } from '../../../types/formTypes';
3
- /**
4
- * A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
5
- * and adds some extra styling, states and information around it (i.e. an error label,
6
- * error state).
7
- *
8
- * # Error state
9
- * An error label will be shown below the tickbox if the `error` prop exists.
10
- * Also tickbox will be rendered with a red border. An empty string can be passed to
11
- * render only error state without error message.
12
- *
13
- * # Light / Dark mode
14
- * The component can also adapt its styles for light / dark mode. If you want this component
15
- * to be rendered on a dark / coloured background, you can use the `darkMode` prop.
16
- *
17
- * # Black box mode
18
- * If `blackBox` prop is true checked state will be styled as black box with white tick icon.
19
- * This style was used before as a default. Not preferred in new components.
20
- * This will be ignored if `darkMode` is true.
21
- */
22
3
  declare const Tickbox2: React.ForwardRefExoticComponent<ITickbox2Props & React.RefAttributes<HTMLInputElement>>;
23
4
  export default Tickbox2;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ITypeTagsProps } from '../../../types/types';
2
- declare const TypeTags: ({ list }: ITypeTagsProps) => JSX.Element;
3
+ declare const TypeTags: ({ list }: ITypeTagsProps) => React.JSX.Element;
3
4
  export default TypeTags;
@@ -1,7 +1,9 @@
1
+ import React from 'react';
2
+ import './Typography.css';
1
3
  import { IAltHeaderProps, IBodyTextProps, IHeaderProps, IOverlineProps, IStyledTag, ISubtitleProps } from '../../../types/typography';
2
- export declare const StyledTag: ({ tag, typography, children, level }: IStyledTag) => JSX.Element;
3
- export declare const AltHeader: ({ semanticLevel, level, children }: IAltHeaderProps) => JSX.Element;
4
- export declare const BodyText: ({ level, children, tag }: IBodyTextProps) => JSX.Element;
5
- export declare const Header: ({ semanticLevel, level, children }: IHeaderProps) => JSX.Element;
6
- export declare const Overline: ({ level, children, tag }: IOverlineProps) => JSX.Element;
7
- export declare const Subtitle: ({ level, children, tag }: ISubtitleProps) => JSX.Element;
4
+ export declare const StyledTag: ({ tag, typography, children, level }: IStyledTag) => React.JSX.Element;
5
+ export declare const AltHeader: ({ semanticLevel, level, children }: IAltHeaderProps) => React.JSX.Element;
6
+ export declare const BodyText: ({ level, children, tag }: IBodyTextProps) => React.JSX.Element;
7
+ export declare const Header: ({ semanticLevel, level, children }: IHeaderProps) => React.JSX.Element;
8
+ export declare const Overline: ({ level, children, tag }: IOverlineProps) => React.JSX.Element;
9
+ export declare const Subtitle: ({ level, children, tag }: ISubtitleProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- declare type withDeviceVolume = {
1
+ declare type WithDeviceVolume = {
2
2
  volumeHidden?: boolean;
3
3
  };
4
4
  declare const VideoPlayButton: import("styled-components").StyledComponent<"button", any, {}, never>;
@@ -8,6 +8,6 @@ declare const VideoControlsInnerWrapper: import("styled-components").StyledCompo
8
8
  declare const LeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
9
  declare const VideoVolume: import("styled-components").StyledComponent<"input", any, {}, never>;
10
10
  declare const VideoMute: import("styled-components").StyledComponent<"button", any, {}, never>;
11
- declare const VolumeControlsWrapper: import("styled-components").StyledComponent<"div", any, withDeviceVolume, never>;
11
+ declare const VolumeControlsWrapper: import("styled-components").StyledComponent<"div", any, WithDeviceVolume, never>;
12
12
  declare const StoryBookWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
13
13
  export { VideoPlayButton, VideoControlsWrapper, VideoVolume, VideoMute, VolumeControlsWrapper, StoryBookWrapper, VideoFullscreenButton, LeftWrapper, VideoControlsInnerWrapper, };
@@ -1,6 +1,9 @@
1
+ import { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './Typography';
2
+ import TextLinkHarmonic from './Typography/TextLink/TextLink';
1
3
  import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
2
4
  import { AnchorTabBar, Footer, LiveChat, Navigation, StickyBar, TitleWithCTA, UpsellSection } from './organisms';
3
5
  import { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls } from './molecules';
4
6
  import ThemeProvider from '../styles/ThemeProvider';
5
7
  import GlobalStyles from '../styles/GlobalStyles';
8
+ export { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, TextLinkHarmonic, };
6
9
  export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, Quote, LiveChat, VideoControls, VideoWithControls, };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IBasketProps } from '../../../types/navigation';
2
- declare const Basket: ({ text, expiryTime, link, selected, numItems, numVirtualItems, onClick, colorPrimary, }: IBasketProps) => JSX.Element;
3
+ declare const Basket: ({ text, expiryTime, link, selected, numItems, numVirtualItems, onClick, colorPrimary, }: IBasketProps) => React.JSX.Element;
3
4
  export default Basket;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ICardsProps } from '../../../types/card';
2
- declare const Cards: ({ cards, size }: ICardsProps) => JSX.Element;
3
+ declare const Cards: ({ cards, size }: ICardsProps) => React.JSX.Element;
3
4
  export default Cards;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IContentSummaryProps } from '../../../types/editorial';
2
- declare const ContentSummary: ({ title, subtitle, bodyText, link, image, largeTitle, showImage, truncate, fullyClickable, baseSemanticLevel, }: IContentSummaryProps) => JSX.Element;
3
+ declare const ContentSummary: ({ title, subtitle, bodyText, link, image, largeTitle, showImage, truncate, fullyClickable, baseSemanticLevel, }: IContentSummaryProps) => React.JSX.Element;
3
4
  export default ContentSummary;
@@ -7,7 +7,7 @@ interface ContentSummaryProps {
7
7
  interface Clickable {
8
8
  clickable?: boolean;
9
9
  }
10
- export declare const BodyTextRelative: import("styled-components").StyledComponent<({ level, children, tag }: import("../../../types/typography").IBodyTextProps) => JSX.Element, any, {}, never>;
10
+ export declare const BodyTextRelative: import("styled-components").StyledComponent<({ level, children, tag }: import("../../../types/typography").IBodyTextProps) => import("react").JSX.Element, any, {}, never>;
11
11
  export declare const ContentSummaryWrapper: import("styled-components").StyledComponent<"article", any, Clickable, never>;
12
12
  export declare const ContentSummaryImageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
13
13
  export declare const ContentSummaryTextWrapper: import("styled-components").StyledComponent<"div", any, ContentSummaryProps, never>;
@@ -1,4 +1,4 @@
1
1
  import { FunctionComponent } from 'react';
2
- import { CTAProps } from '../../../types/information';
3
- export declare const InfoCta: FunctionComponent<CTAProps>;
2
+ import { IInformationCTAProps } from '../../../types/information';
3
+ export declare const InfoCta: FunctionComponent<IInformationCTAProps>;
4
4
  export default InfoCta;
@@ -1,10 +1,13 @@
1
- import { BackgroundColour, CtaVariant } from '../../../types/information';
1
+ import { IInformationBackgroundColour, IInformationCtaVariant } from '../../../types/information';
2
2
  export declare const InfoContent: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, {
5
- variant: CtaVariant;
5
+ variant: IInformationCtaVariant;
6
6
  infoThemed: boolean;
7
7
  }, never>;
8
8
  export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {
9
- background: BackgroundColour;
9
+ background: IInformationBackgroundColour;
10
+ }, never>;
11
+ export declare const InfoBodyWrapper: import("styled-components").StyledComponent<"div", any, {
12
+ background: IInformationBackgroundColour;
10
13
  }, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { INavTopProps } from '../../../types/navigation';
2
- declare const NavTop: ({ accountText, accountLink, accountIcon, accountOptions, onLink, basketText, basketExpiryUnixTimestamp, basketLink, basketNumItems, basketNumVirtualItems, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => JSX.Element;
3
+ declare const NavTop: ({ accountText, accountLink, accountIcon, accountOptions, onLink, basketText, basketExpiryUnixTimestamp, basketLink, basketNumItems, basketNumVirtualItems, onClickSearch, isShowSearch, colorPrimary, }: INavTopProps) => React.JSX.Element;
3
4
  export default NavTop;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { Colors } from '../../../../types';
3
- declare type withInversion = {
2
+ declare type WithInversion = {
4
3
  invert: boolean;
5
4
  theme: {
6
5
  colors: Colors;
@@ -11,11 +10,11 @@ declare const BrandingTextBody: import("styled-components").StyledComponent<"div
11
10
  declare const ComapctHeaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
12
11
  declare const ComapctHeaderGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
13
12
  declare const CompactHeaderAssetWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
14
- declare const CompactHeaderCopyWrapper: import("styled-components").StyledComponent<"div", any, withInversion, never>;
13
+ declare const CompactHeaderCopyWrapper: import("styled-components").StyledComponent<"div", any, WithInversion, never>;
15
14
  declare const CompactHeaderLogoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
16
15
  declare const CompactHeaderTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
17
16
  declare const CompactHeaderCTAWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
18
- declare const PrimaryButtonWithInversion: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../types/buttonTypes").IPrimaryButtonProps>, any, withInversion, never>;
17
+ declare const PrimaryButtonWithInversion: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../types/buttonTypes").IPrimaryButtonProps>, any, WithInversion, never>;
19
18
  declare const PlayButton: import("styled-components").StyledComponent<"button", any, {}, never>;
20
19
  declare const VideoControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
21
20
  declare const VideoVolume: import("styled-components").StyledComponent<"input", any, {}, never>;
@@ -1,3 +1,7 @@
1
+ import React from 'react';
1
2
  import { ICreditListing } from '../../../../types';
2
- declare const CreditListing: ({ roles }: ICreditListing) => JSX.Element;
3
+ export declare const getColumnSpanDesktop: (namesLength: number, charThreshold: number, peopleCount: number) => number;
4
+ declare const CreditListing: ({ roles, columnCount }: ICreditListing & {
5
+ columnCount?: number | undefined;
6
+ }) => React.JSX.Element;
3
7
  export default CreditListing;
@@ -1,5 +1,7 @@
1
1
  export declare const ReplacementWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const CreditListingWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const CreditListingWrapper: import("styled-components").StyledComponent<"div", any, {
3
+ columnCount: number;
4
+ }, never>;
3
5
  export declare const DescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
6
  export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
7
  export declare const CreditWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { IPeopleListing } from '../../../types/types';
2
- declare const PeopleListing: ({ roles }: IPeopleListing) => JSX.Element;
3
+ declare const PeopleListing: ({ roles }: IPeopleListing) => React.JSX.Element;
3
4
  export default PeopleListing;
@@ -4,3 +4,4 @@ export declare const HeadshotWrapper: import("styled-components").StyledComponen
4
4
  export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
5
  export declare const TextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
6
6
  export declare const PersonLink: import("styled-components").StyledComponent<"a", any, {}, never>;
7
+ export declare const ReplacementWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IEditorialGridProps } from '../../../types/editorial';
3
2
  import { IPromoWithTagsStyledProps } from '../../../types/promoWithTags';
4
3
  export declare const PromoWithTagsGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
@@ -13,8 +12,8 @@ export declare const ExtraContentWrapper: import("styled-components").StyledComp
13
12
  export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
14
13
  export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
15
14
  export declare const MobileTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
16
- export declare const PromoWithTagsTypeTags: import("styled-components").StyledComponent<({ list }: import("../../../types/types").ITypeTagsProps) => JSX.Element, any, {}, never>;
17
- export declare const PromoWithTagsHeader: import("styled-components").StyledComponent<({ semanticLevel, level, children }: import("../../../types/typography").IHeaderProps) => JSX.Element, any, {}, never>;
15
+ export declare const PromoWithTagsTypeTags: import("styled-components").StyledComponent<({ list }: import("../../../types/types").ITypeTagsProps) => import("react").JSX.Element, any, {}, never>;
16
+ export declare const PromoWithTagsHeader: import("styled-components").StyledComponent<({ semanticLevel, level, children }: import("../../../types/typography").IHeaderProps) => import("react").JSX.Element, any, {}, never>;
18
17
  export declare const PromoWithTagsTextLink: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/types").ITextLinkProps>, any, {}, never>;
19
18
  export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
20
19
  export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { IRadioGroupProps } from '../../../types/formTypes';
2
3
  /**
3
4
  * DEPRECATED. Use RadioGroup2 instead
4
5
  */
5
- declare const RadioGroup: ({ radios, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, columnStartSmallDevice, columnSpanSmallDevice, onChange, }: IRadioGroupProps) => JSX.Element;
6
+ declare const RadioGroup: ({ radios, columnStartDesktop, columnStartDevice, columnSpanDesktop, columnSpanDevice, columnStartSmallDevice, columnSpanSmallDevice, onChange, }: IRadioGroupProps) => React.JSX.Element;
6
7
  export default RadioGroup;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISearchBarProps } from '../../../types/navigation';
2
- declare const SearchBar: ({ onClick, onClose }: ISearchBarProps) => JSX.Element;
3
+ declare const SearchBar: ({ onClick, onClose }: ISearchBarProps) => React.JSX.Element;
3
4
  export default SearchBar;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISectionTitleProps } from '../../../types/types';
2
- declare const SectionTitle: ({ title, size, description, semanticLevel }: ISectionTitleProps) => JSX.Element;
3
+ declare const SectionTitle: ({ title, size, description, semanticLevel }: ISectionTitleProps) => React.JSX.Element;
3
4
  export default SectionTitle;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ISelectProps } from '../../../types/formTypes';
2
3
  /**
3
4
  * DEPRECATED. Use Select2 instead.
@@ -96,5 +97,5 @@ import { ISelectProps } from '../../../types/formTypes';
96
97
  * }
97
98
  * ```
98
99
  */
99
- declare function Select<T>({ label, options, onSelect, disabled, resetWhenOptionsUpdate, width, height, }: ISelectProps<T>): JSX.Element;
100
+ declare function Select<T>({ label, options, onSelect, disabled, resetWhenOptionsUpdate, width, height, }: ISelectProps<T>): React.JSX.Element;
100
101
  export default Select;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ISelectProps } from '../../../types/formTypes';
3
2
  export declare const ArrowIcon: import("styled-components").StyledComponent<import("react").MemoExoticComponent<({ className, color, iconName, title, direction, ariaLabel }: import("../../../types/iconTypes").IIconProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>>, any, {
4
3
  iconName: "DropdownArrow";
@@ -1,13 +1,13 @@
1
1
  import React, { FunctionComponent } from 'react';
2
2
  import { DropdownIndicatorProps } from 'react-select';
3
3
  import { ISelect2Props } from '../../../types/formTypes';
4
- export declare const DropdownIndicator: (props: DropdownIndicatorProps) => JSX.Element;
4
+ export declare const DropdownIndicator: (props: DropdownIndicatorProps) => React.JSX.Element;
5
5
  interface IWrapperProps extends Pick<ISelect2Props, 'label' | 'error' | 'width' | 'darkMode'> {
6
6
  children: React.ReactNode;
7
7
  }
8
8
  export declare const WrapperComponent: FunctionComponent<IWrapperProps>;
9
9
  /**
10
- * A Select2 component wraps react-select with Chord styling and additional elements like
10
+ * A Select2 component wraps react-select with Harmonic styling and additional elements like
11
11
  * text and error labels. This should be used just as usual react-select component.
12
12
  * Note: using some advanced opportunities of react-select may require additional styling.
13
13
  *
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { ITabsProps } from '../../../types/types';
2
- declare const Tabs: ({ items, onChange, onShowMenu, showMenu, colorPrimary }: ITabsProps) => JSX.Element;
3
+ declare const Tabs: ({ items, onChange, onShowMenu, showMenu, colorPrimary }: ITabsProps) => React.JSX.Element;
3
4
  export default Tabs;
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  import { IOfferTextProps } from '../../../types/upsell';
2
- export declare const OfferText: ({ title, description }: IOfferTextProps) => JSX.Element;
3
+ export declare const OfferText: ({ title, description }: IOfferTextProps) => React.JSX.Element;
@@ -1,12 +1,12 @@
1
1
  import { Colors } from '../../../types';
2
- declare type withColor = {
2
+ declare type WithColor = {
3
3
  theme: {
4
4
  color: Colors;
5
5
  };
6
6
  };
7
7
  export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
8
8
  export declare const PromoLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- export declare const PromoLabel: import("styled-components").StyledComponent<"div", any, withColor, never>;
9
+ export declare const PromoLabel: import("styled-components").StyledComponent<"div", any, WithColor, never>;
10
10
  export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
11
11
  export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
12
12
  export declare const OfferTextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { INavigationProps } from '../../../types/navigation';
2
- declare const Navigation: ({ dataNavTop, menuData, onSearch, onLink, logoLink, desktopLogoUrl, devicesLogoUrl, }: INavigationProps) => JSX.Element;
3
+ declare const Navigation: ({ dataNavTop, menuData, onSearch, onLink, logoLink, desktopLogoUrl, devicesLogoUrl, }: INavigationProps) => React.JSX.Element;
3
4
  export default Navigation;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ITitleCTAProps, ITitleCTAGridItemProps } from '../../../types/navigation';
3
2
  export declare const TitleCTAGridWrapper: import("styled-components").StyledComponent<"div", any, ITitleCTAProps, never>;
4
3
  export declare const TitleCTAGrid: import("styled-components").StyledComponent<"div", any, {}, never>;