@livetiles/reach-components-react 0.4.31 → 0.4.32
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/EventDetail.d.ts +6 -0
- package/EventItemPreviewContextProvider.d.ts +5 -0
- package/PageDetail.d.ts +6 -0
- package/PageItemPreviewContextProvider.d.ts +5 -0
- package/PageTableOfContents.d.ts +1 -0
- package/SharedItemDetailPreview.d.ts +25 -0
- package/en.async.esm.esm.js +1 -1
- package/index.d.ts +17 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +5 -5
- package/index.umd.js +11 -11
- package/package.json +1 -1
- package/NewsDetailPreview.d.ts +0 -7
package/EventDetail.d.ts
CHANGED
|
@@ -8,3 +8,9 @@ export interface EventDetailProps {
|
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const EventDetail: FC<EventDetailProps>;
|
|
11
|
+
export declare const EventDetailMainContent: FC<{
|
|
12
|
+
hideComments?: boolean;
|
|
13
|
+
hideLikes?: boolean;
|
|
14
|
+
onChannelClick?: (channel: string) => unknown;
|
|
15
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
16
|
+
}>;
|
package/PageDetail.d.ts
CHANGED
|
@@ -9,4 +9,10 @@ export interface PageDetailProps {
|
|
|
9
9
|
className?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare const PageDetail: FC<PageDetailProps>;
|
|
12
|
+
export declare const PageDetailMainContent: FC<{
|
|
13
|
+
hideComments?: boolean;
|
|
14
|
+
hideLikes?: boolean;
|
|
15
|
+
homeBreadcrumbTargetUrl?: string;
|
|
16
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
17
|
+
}>;
|
|
12
18
|
export declare const PageHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
package/PageTableOfContents.d.ts
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ItemResourceTypes } from '@livetiles/reach/util/common';
|
|
3
|
+
export interface SharedItemDetailPreviewProps {
|
|
4
|
+
itemId?: string;
|
|
5
|
+
versionId?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
hideLikes?: boolean;
|
|
8
|
+
hideComments?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const NewsDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
11
|
+
export declare const PageDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
12
|
+
export declare const EventDetailPreview: FC<SharedItemDetailPreviewProps>;
|
|
13
|
+
export declare type SharedItemContextProviders = {
|
|
14
|
+
PreviewContextProvider: React.ComponentType<{
|
|
15
|
+
itemId: string;
|
|
16
|
+
versionId?: string;
|
|
17
|
+
}>;
|
|
18
|
+
ContextProvider: React.ComponentType<{
|
|
19
|
+
itemId: string;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export declare function getProvider(resourceType: ItemResourceTypes): React.ComponentType<{
|
|
23
|
+
itemId: string;
|
|
24
|
+
versionId?: string;
|
|
25
|
+
}>;
|