@royaloperahouse/harmonic 0.9.3 → 0.10.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/TextField/TextField.style.d.ts +1 -1
- package/dist/components/molecules/Information/Information.style.d.ts +1 -1
- package/dist/components/molecules/Pagination/Pagination.d.ts +10 -3
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +3 -3
- package/dist/components/molecules/Pagination/components/NavButtonOrLink.d.ts +4 -0
- package/dist/components/molecules/Pagination/components/PageLinkOrButton.d.ts +4 -0
- package/dist/components/molecules/Pagination/components/index.d.ts +2 -0
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +1 -1
- package/dist/components/molecules/Table/Table.style.d.ts +1 -8
- package/dist/components/molecules/Table/components/DataCells.d.ts +7 -0
- package/dist/components/molecules/Table/components/HeaderCells.d.ts +7 -0
- package/dist/harmonic.cjs.development.js +197 -145
- 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 +197 -145
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/pagination.d.ts +9 -0
- package/dist/types/tableTypes.d.ts +8 -25
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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
|
|
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
|
|
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").
|
|
7
|
+
export declare const TextLinkPagination: import("styled-components").StyledComponent<({ children, size, color, className, bold, tag: Tag, ...props }: import("../../../types/typography").IBodyCopyHarmonicProps) => 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>;
|
|
@@ -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
|
|
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>;
|