@royaloperahouse/harmonic 0.9.2-a → 0.9.3-a

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.
@@ -7,4 +7,4 @@ export declare const Input: import("styled-components").StyledComponent<"input",
7
7
  export declare const ShowHideButton: import("styled-components").StyledComponent<"button", any, {}, never>;
8
8
  export declare const TextLabel: import("styled-components").StyledComponent<"div", any, Pick<ITextFieldProps, "darkMode">, never>;
9
9
  export declare const ErrorLabel: import("styled-components").StyledComponent<"div", any, Pick<ITextFieldProps, "darkMode">, never>;
10
- export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
10
+ export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, bold, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
@@ -1,4 +1,4 @@
1
1
  export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
2
2
  export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
3
3
  export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, Pick<import("../../../types/information").IInformationCTAProps, "theme" | "variant">, never>;
4
- export declare const InfoBodyWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
4
+ export declare const InfoBodyWrapper: import("styled-components").StyledComponent<({ children, size, color, className, bold, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
@@ -1,10 +1,17 @@
1
1
  import React from 'react';
2
- export interface PageData {
2
+ export declare type PageData = {
3
3
  currentPage: number;
4
4
  pageCount: number;
5
5
  baseUrl: string;
6
+ onPageChange?: never;
6
7
  className?: string;
7
- }
8
+ } | {
9
+ currentPage: number;
10
+ pageCount: number;
11
+ onPageChange: (page: number) => void;
12
+ baseUrl?: never;
13
+ className?: string;
14
+ };
8
15
  export declare const reducePages: (pages: number[], currentPage: number) => number[];
9
- declare const Pagination: ({ pageCount, currentPage, baseUrl, className }: PageData) => React.ReactElement;
16
+ declare const Pagination: ({ pageCount, currentPage, baseUrl, className, onPageChange }: PageData) => React.ReactElement;
10
17
  export default Pagination;
@@ -1,9 +1,9 @@
1
- export declare const MorePages: import("styled-components").StyledComponent<"span", any, {}, never>;
1
+ export declare const PageNav: import("styled-components").StyledComponent<"a", any, {}, never>;
2
2
  export declare const PaginationLink: import("styled-components").StyledComponent<"a", any, {}, never>;
3
+ export declare const MorePages: import("styled-components").StyledComponent<"span", any, {}, never>;
3
4
  export declare const PageNumberWrapper: import("styled-components").StyledComponent<"ol", any, {}, never>;
4
5
  export declare const LastPageItem: import("styled-components").StyledComponent<"li", any, {}, never>;
5
6
  export declare const PreviousPageItem: import("styled-components").StyledComponent<"li", any, {}, never>;
6
- export declare const TextLinkPagination: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {
7
+ export declare const TextLinkPagination: import("styled-components").StyledComponent<({ children, size, color, className, bold, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {
7
8
  active?: boolean | undefined;
8
9
  }, never>;
9
- export declare const PageNav: import("styled-components").StyledComponent<"a", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PaginationNavProps } from '../../../../types/pagination';
3
+ declare const NavButtonOrLink: React.FC<PaginationNavProps>;
4
+ export default NavButtonOrLink;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { PaginationNavProps } from '../../../../types/pagination';
3
+ declare const PageLinkOrButton: React.FC<PaginationNavProps>;
4
+ export default PageLinkOrButton;
@@ -0,0 +1,2 @@
1
+ export { default as NavButtonOrLink } from './NavButtonOrLink';
2
+ export { default as PageLinkOrButton } from './PageLinkOrButton';
@@ -4,5 +4,5 @@ export declare const PromoWithTitleImageWrapper: import("styled-components").Sty
4
4
  export declare const PromoWithTitleContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
5
5
  export declare const HarmonicHeaderWithWrapper: import("styled-components").StyledComponent<({ children, size, em, color, serif, hierarchy: Tag, className, }: import("../../../types/typography").IHarmonicHeaderProps) => import("react").JSX.Element, any, {}, never>;
6
6
  export declare const HarmonicSubtitleWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
7
- export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
7
+ export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, bold, ...props }: import("../../../types/typography").IGenericTypographyProps<HTMLParagraphElement>) => import("react").JSX.Element, any, {}, never>;
8
8
  export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
@@ -1,19 +1,12 @@
1
- import { Colors } from '../../../types/types';
2
1
  export declare const TableContainer: import("styled-components").StyledComponent<"table", any, {}, never>;
3
2
  export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
4
3
  export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
5
4
  export declare const TableHeader: import("styled-components").StyledComponent<"th", any, {
6
5
  columns: number;
7
- lineColor: Colors;
8
6
  }, never>;
9
7
  export declare const TableCell: import("styled-components").StyledComponent<"td", any, {
10
8
  columns: number;
11
- lineColor: Colors;
12
9
  }, never>;
13
- export declare const Pagination: import("styled-components").StyledComponent<"div", any, {}, never>;
14
- export declare const PageNumber: import("styled-components").StyledComponent<"button", any, {
15
- active?: string | undefined;
16
- }, never>;
17
- export declare const Next: import("styled-components").StyledComponent<"span", any, {}, never>;
10
+ export declare const PaginationWrapper: import("styled-components").StyledComponent<({ pageCount, currentPage, baseUrl, className, onPageChange }: import("../Pagination/Pagination").PageData) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>, any, {}, never>;
18
11
  export declare const ScrollButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
19
12
  export declare const AriaDescription: import("styled-components").StyledComponent<"span", any, {}, never>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { TableRowData } from '../../../../types/tableTypes';
3
+ declare const DataCells: React.FC<{
4
+ currentRows: TableRowData[];
5
+ columns: number;
6
+ }>;
7
+ export default DataCells;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface HeaderCellsProps {
3
+ headings: React.ReactNode[];
4
+ columns: number;
5
+ }
6
+ declare const HeaderCells: React.FC<HeaderCellsProps>;
7
+ export default HeaderCells;