@20minutes/tyr 2.7.4 → 2.7.5
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/dist/css/articlePage-mobile-critical.css +1 -1
- package/dist/css/articlePage-mobile-no-critical.css +1 -1
- package/dist/css/livePage-mobile-critical.css +1 -1
- package/dist/css/livePage-mobile-no-critical.css +1 -1
- package/dist/css/storyPage-mobile-critical.css +1 -1
- package/dist/css/storyPage-mobile-no-critical.css +1 -1
- package/dist/index.es.js +7200 -7193
- package/dist/index.umd.js +94 -94
- package/dist/js/ads.min.js +1 -1
- package/dist/js/main.min.js +2 -2
- package/dist/src/assets/main/trackLinks.d.ts +1 -0
- package/dist/src/components/molecules/Content/Content.d.ts +1 -0
- package/dist/src/helpers/ads/config/article.d.ts +1 -0
- package/dist/src/helpers/draftjsHtmlHelper.d.ts +3 -2
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export type ContentProps<T extends As = 'div'> = {
|
|
|
7
7
|
imgEndpoint?: string;
|
|
8
8
|
colorScheme?: ColorType;
|
|
9
9
|
disableLettering?: boolean;
|
|
10
|
+
subType?: string;
|
|
10
11
|
} & Omit<BoxProps<T>, 'content'>;
|
|
11
12
|
export declare const Content: React.FC<ContentProps>;
|
|
12
13
|
export default Content;
|
|
@@ -3,5 +3,6 @@ interface GenerateArticleAdsProps {
|
|
|
3
3
|
isPubstackAndVideo: boolean;
|
|
4
4
|
contentSubtype: string;
|
|
5
5
|
}
|
|
6
|
+
export declare const brandPublishing: string[];
|
|
6
7
|
export declare const generateArticleAdsConfig: ({ isPubstackAndVideo, contentSubtype, }: GenerateArticleAdsProps) => AdsPageConfig;
|
|
7
8
|
export {};
|
|
@@ -6,8 +6,9 @@ interface DraftToReactType {
|
|
|
6
6
|
imgEndpoint?: string;
|
|
7
7
|
withCmp?: boolean;
|
|
8
8
|
trimBr?: boolean;
|
|
9
|
+
subType?: string;
|
|
9
10
|
}
|
|
10
11
|
type DraftToHTMLType = DraftToReactType;
|
|
11
|
-
export declare const draftToHTML: ({ rawDraftContent, pageEndpoint, imgEndpoint, withCmp, trimBr, }: DraftToHTMLType) => string;
|
|
12
|
-
export declare const draftToReact: ({ rawDraftContent, pageEndpoint, imgEndpoint, withCmp, trimBr, }: DraftToReactType) => React.JSX.Element;
|
|
12
|
+
export declare const draftToHTML: ({ rawDraftContent, pageEndpoint, imgEndpoint, withCmp, trimBr, subType, }: DraftToHTMLType) => string;
|
|
13
|
+
export declare const draftToReact: ({ rawDraftContent, pageEndpoint, imgEndpoint, withCmp, trimBr, subType, }: DraftToReactType) => React.JSX.Element;
|
|
13
14
|
export {};
|