@meduza/ui-kit-2 0.4.15 → 0.5.1
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/package.json +12 -7
- package/src/Cover/index.tsx +2 -10
- package/src/DocumentItemsCount/DocumentItemsCount.module.css +12 -1
- package/src/DocumentItemsCount/DocumentItemsCount.test.tsx +9 -2
- package/src/DocumentItemsCount/index.tsx +3 -3
- package/src/Footnote/Footnote.module.css +6 -46
- package/src/Footnote/Footnote.stories.tsx +9 -26
- package/src/Image/Image.module.css +0 -11
- package/src/Meta/Meta.module.css +0 -5
- package/src/Meta/Meta.stories.module.css +0 -16
- package/src/Meta/Meta.stories.tsx +4 -51
- package/src/Meta/MetaContainer.tsx +0 -8
- package/src/Popover/Popover.module.css +29 -47
- package/src/Popover/Popover.stories.tsx +1 -25
- package/src/Popover/index.tsx +21 -1
- package/src/RawHtmlBlock/index.tsx +5 -0
- package/src/RelatedRichBlock/RelatedRichBlock.module.css +1 -11
- package/src/RenderBlocks/index.tsx +1 -5
- package/src/RichTitle/RichTitle.module.css +6 -16
- package/src/ShopRelatedBlock/ShopRelatedBlock.module.css +210 -0
- package/src/ShopRelatedBlock/ShopRelatedBlock.stories.module.css +12 -0
- package/src/ShopRelatedBlock/ShopRelatedBlock.stories.tsx +52 -0
- package/src/ShopRelatedBlock/ShopRelatedBlock.test.tsx +20 -0
- package/src/ShopRelatedBlock/ShopRelatedBlock.types.ts +4 -0
- package/src/ShopRelatedBlock/index.tsx +120 -0
- package/src/ShopRelatedBlock/mock.json +153 -0
- package/src/SimpleBlock/SimpleBlock.types.ts +1 -0
- package/src/SimpleBlock/index.tsx +3 -1
- package/src/Tag/Tag.module.css +3 -8
- package/src/Tag/Tag.stories.tsx +3 -16
- package/src/Tag/Tag.types.ts +1 -7
- package/src/index.tsx +1 -1
- package/dist/AnnouncementInText/AnnouncementInText.types.d.ts +0 -4
- package/dist/AnnouncementInText/index.d.ts +0 -3
- package/dist/BookmarkButton/BookmarkButton.types.d.ts +0 -6
- package/dist/BookmarkButton/index.d.ts +0 -3
- package/dist/Button/Button.d.ts +0 -3
- package/dist/Button/Button.types.d.ts +0 -16
- package/dist/Button/ButtonLoader.d.ts +0 -2
- package/dist/Button/index.d.ts +0 -2
- package/dist/CardTitle/CardTitle.types.d.ts +0 -10
- package/dist/CardTitle/index.d.ts +0 -3
- package/dist/ChapterBlock/ChapterBlock.types.d.ts +0 -7
- package/dist/ChapterBlock/index.d.ts +0 -3
- package/dist/Cover/Cover.types.d.ts +0 -24
- package/dist/Cover/index.d.ts +0 -3
- package/dist/DocumentItemsCount/DocumentItemsCount.types.d.ts +0 -7
- package/dist/DocumentItemsCount/index.d.ts +0 -3
- package/dist/DonatesTeaser/DonatesTeaser.types.d.ts +0 -4
- package/dist/DonatesTeaser/index.d.ts +0 -3
- package/dist/DotsOnImage/DotsOnImage.types.d.ts +0 -46
- package/dist/DotsOnImage/index.d.ts +0 -3
- package/dist/Dropdown/Dropdown.types.d.ts +0 -6
- package/dist/Dropdown/index.d.ts +0 -4
- package/dist/EmbedBlock/EmbedBlock.d.ts +0 -3
- package/dist/EmbedBlock/EmbedBlock.types.d.ts +0 -12
- package/dist/EmbedBlock/EmbedGif.d.ts +0 -3
- package/dist/EmbedBlock/IframeBlock.d.ts +0 -3
- package/dist/EmbedBlock/index.d.ts +0 -3
- package/dist/Footnote/Footnote.types.d.ts +0 -5
- package/dist/Footnote/index.d.ts +0 -3
- package/dist/GroupedBlock/GroupedBlock.types.d.ts +0 -4
- package/dist/GroupedBlock/index.d.ts +0 -3
- package/dist/HalfBlock/HalfBlock.types.d.ts +0 -4
- package/dist/HalfBlock/index.d.ts +0 -3
- package/dist/Image/Image.types.d.ts +0 -35
- package/dist/Image/RenderPicture.d.ts +0 -4
- package/dist/Image/index.d.ts +0 -3
- package/dist/ImportantLead/ImportantLead.types.d.ts +0 -4
- package/dist/ImportantLead/index.d.ts +0 -3
- package/dist/Lazy/Lazy.types.d.ts +0 -5
- package/dist/Lazy/index.d.ts +0 -3
- package/dist/ListBlock/ListBlock.types.d.ts +0 -10
- package/dist/ListBlock/index.d.ts +0 -3
- package/dist/MaterialNote/MaterialNote.types.d.ts +0 -13
- package/dist/MaterialNote/index.d.ts +0 -3
- package/dist/MaterialTitle/MaterialTitle.types.d.ts +0 -4
- package/dist/MaterialTitle/index.d.ts +0 -5
- package/dist/MediaCaption/MediaCaption.types.d.ts +0 -5
- package/dist/MediaCaption/index.d.ts +0 -3
- package/dist/Meta/Meta.mock.d.ts +0 -12
- package/dist/Meta/Meta.types.d.ts +0 -19
- package/dist/Meta/MetaContainer.d.ts +0 -3
- package/dist/Meta/index.d.ts +0 -3
- package/dist/MetaItem/MetaItem.types.d.ts +0 -7
- package/dist/MetaItem/index.d.ts +0 -3
- package/dist/MetaItemLive/MetaItemLive.types.d.ts +0 -3
- package/dist/MetaItemLive/index.d.ts +0 -3
- package/dist/Popover/Popover.types.d.ts +0 -5
- package/dist/Popover/index.d.ts +0 -3
- package/dist/QuoteBlock/QuoteBlock.types.d.ts +0 -6
- package/dist/QuoteBlock/index.d.ts +0 -3
- package/dist/RawHtmlBlock/RawHtmlBlock.types.d.ts +0 -17
- package/dist/RawHtmlBlock/index.d.ts +0 -3
- package/dist/RelatedBlock/RelatedBlock.types.d.ts +0 -17
- package/dist/RelatedBlock/index.d.ts +0 -3
- package/dist/RelatedBook/RelatedBook.mock.d.ts +0 -65
- package/dist/RelatedBook/RelatedBook.types.d.ts +0 -4
- package/dist/RelatedBook/index.d.ts +0 -3
- package/dist/RelatedRichBlock/RelatedRichBlock.types.d.ts +0 -4
- package/dist/RelatedRichBlock/index.d.ts +0 -3
- package/dist/RenderBlocks/RenderBlocks.types.d.ts +0 -11
- package/dist/RenderBlocks/index.d.ts +0 -3
- package/dist/RichTitle/RichTitle.types.d.ts +0 -13
- package/dist/RichTitle/index.d.ts +0 -3
- package/dist/SensitiveBlock/SensitiveBlock.types.d.ts +0 -15
- package/dist/SensitiveBlock/index.d.ts +0 -3
- package/dist/SimpleBlock/SimpleBlock.types.d.ts +0 -4
- package/dist/SimpleBlock/index.d.ts +0 -3
- package/dist/SimpleTitle/SimpleTitle.types.d.ts +0 -9
- package/dist/SimpleTitle/index.d.ts +0 -3
- package/dist/SourceBlock/SourceBlock.types.d.ts +0 -15
- package/dist/SourceBlock/index.d.ts +0 -3
- package/dist/Spoiler/Spoiler.types.d.ts +0 -4
- package/dist/Spoiler/index.d.ts +0 -3
- package/dist/SvgSymbol/SvgSymbol.types.d.ts +0 -8
- package/dist/SvgSymbol/icons.d.ts +0 -167
- package/dist/SvgSymbol/index.d.ts +0 -3
- package/dist/Switcher/Switcher.types.d.ts +0 -12
- package/dist/Switcher/index.d.ts +0 -3
- package/dist/Table/Table.types.d.ts +0 -25
- package/dist/Table/index.d.ts +0 -3
- package/dist/Tag/Tag.types.d.ts +0 -12
- package/dist/Tag/index.d.ts +0 -3
- package/dist/Timestamp/Timestamp.types.d.ts +0 -5
- package/dist/Timestamp/index.d.ts +0 -4
- package/dist/Toolbar/Toolbar.d.ts +0 -3
- package/dist/Toolbar/Toolbar.types.d.ts +0 -8
- package/dist/Toolbar/ToolbarItem.d.ts +0 -3
- package/dist/Toolbar/index.d.ts +0 -2
- package/dist/ToolbarButton/ToolbarButton.types.d.ts +0 -10
- package/dist/ToolbarButton/index.d.ts +0 -3
- package/dist/Tooltip/Tooltip.d.ts +0 -3
- package/dist/Tooltip/Tooltip.types.d.ts +0 -8
- package/dist/Tooltip/TooltipFooter.d.ts +0 -3
- package/dist/Tooltip/index.d.ts +0 -2
- package/dist/constants.d.ts +0 -41
- package/dist/index.d.ts +0 -45
- package/dist/types.d.ts +0 -20
- package/dist/ui-kit-2.cjs.development.js +0 -2639
- package/dist/ui-kit-2.cjs.development.js.map +0 -1
- package/dist/ui-kit-2.cjs.production.min.js +0 -2
- package/dist/ui-kit-2.cjs.production.min.js.map +0 -1
- package/dist/ui-kit-2.esm.js +0 -2585
- package/dist/ui-kit-2.esm.js.map +0 -1
- package/dist/ui-kit.css +0 -6068
- package/dist/utils/BlockContext.d.ts +0 -8
- package/dist/utils/DangerousHtml.d.ts +0 -8
- package/dist/utils/capitalizeFirstLetter.d.ts +0 -1
- package/dist/utils/converCase.d.ts +0 -2
- package/dist/utils/generateGradient.d.ts +0 -2
- package/dist/utils/getElementPositionRelativeToViewport.d.ts +0 -2
- package/dist/utils/makeClassName.d.ts +0 -3
- package/dist/utils/makeStyleContext.d.ts +0 -3
- package/dist/utils/pluralize.d.ts +0 -2
- package/dist/utils/postMessage.d.ts +0 -2
- package/dist/utils/viewportSize.d.ts +0 -6
- package/src/.DS_Store +0 -0
- package/src/Meta/Meta.mock.ts +0 -19
- package/src/RelatedBook/RelatedBook.mock.ts +0 -68
- package/src/RelatedBook/RelatedBook.module.css +0 -210
- package/src/RelatedBook/RelatedBook.stories.module.css +0 -5
- package/src/RelatedBook/RelatedBook.stories.tsx +0 -35
- package/src/RelatedBook/RelatedBook.test.tsx +0 -20
- package/src/RelatedBook/RelatedBook.types.ts +0 -4
- package/src/RelatedBook/index.tsx +0 -68
package/src/Tag/Tag.stories.tsx
CHANGED
|
@@ -14,34 +14,21 @@ export default {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
const Example: React.FC = () => {
|
|
17
|
-
const tags: {
|
|
18
|
-
theme: TagThemes
|
|
19
|
-
size: TagSizes
|
|
20
|
-
title: string
|
|
21
|
-
color?: string
|
|
22
|
-
}[] = [
|
|
17
|
+
const tags: { theme: TagThemes; size: TagSizes; title: string }[] = [
|
|
23
18
|
{ theme: 'dark', size: 'small', title: 'Новости' },
|
|
24
19
|
{ theme: 'gold', size: 'small', title: 'Новости' },
|
|
25
20
|
{ theme: 'gray', size: 'small', title: 'Новости' },
|
|
26
21
|
{ theme: 'light', size: 'small', title: 'Новости' },
|
|
27
|
-
{ theme: 'custom', size: 'small', title: 'Новости', color: '250,0,255' },
|
|
28
22
|
{ theme: 'dark', size: 'large', title: 'Новости' },
|
|
29
23
|
{ theme: 'gold', size: 'large', title: 'Новости' },
|
|
30
24
|
{ theme: 'gray', size: 'large', title: 'Новости' },
|
|
31
|
-
{ theme: 'light', size: 'large', title: 'Новости' }
|
|
32
|
-
{ theme: 'custom', size: 'large', title: 'Новости', color: '250,0,255' }
|
|
25
|
+
{ theme: 'light', size: 'large', title: 'Новости' }
|
|
33
26
|
]
|
|
34
27
|
return (
|
|
35
28
|
<>
|
|
36
29
|
<div className={styles.root}>
|
|
37
30
|
{tags.map((tag) => (
|
|
38
|
-
<div
|
|
39
|
-
key={`tagSize-${tag.theme}-${tag.size}`}
|
|
40
|
-
style={
|
|
41
|
-
tag.color &&
|
|
42
|
-
({ '--tagColor': `rgb(${tag.color})` } as React.CSSProperties)
|
|
43
|
-
}
|
|
44
|
-
>
|
|
31
|
+
<div key={`tagSize-${tag.theme}-${tag.size}`}>
|
|
45
32
|
<Tag size={tag.size} theme={tag.theme} styleContext="rich">
|
|
46
33
|
{tag.title}
|
|
47
34
|
</Tag>
|
package/src/Tag/Tag.types.ts
CHANGED
|
@@ -2,13 +2,7 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
export type TagSizes = 'small' | 'large'
|
|
4
4
|
|
|
5
|
-
export type TagThemes =
|
|
6
|
-
| 'dark'
|
|
7
|
-
| 'gold'
|
|
8
|
-
| 'gray'
|
|
9
|
-
| 'light'
|
|
10
|
-
| 'custom'
|
|
11
|
-
| 'inherit'
|
|
5
|
+
export type TagThemes = 'dark' | 'gold' | 'gray' | 'light' | 'inherit'
|
|
12
6
|
|
|
13
7
|
export type TagStyleContexts = 'isInToolbar' | 'isInSpoiler' | 'isInDropdown'
|
|
14
8
|
|
package/src/index.tsx
CHANGED
|
@@ -40,7 +40,7 @@ export * from './Footnote'
|
|
|
40
40
|
export * from './RelatedRichBlock'
|
|
41
41
|
export * from './SensitiveBlock'
|
|
42
42
|
export * from './DonatesTeaser'
|
|
43
|
+
export * from './ShopRelatedBlock'
|
|
43
44
|
export * from './AnnouncementInText'
|
|
44
45
|
export * from './Tooltip'
|
|
45
|
-
export * from './RelatedBook'
|
|
46
46
|
// /* PLOP_INJECT_LINK */ //
|
package/dist/Button/Button.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type ButtonThemes = 'sand' | 'gold' | 'light' | 'gray' | 'ghost' | 'dark' | 'black' | 'red';
|
|
3
|
-
export type ButtonStates = 'isLoading' | 'isDefault';
|
|
4
|
-
export type ButtonSizes = 'auto' | 'default';
|
|
5
|
-
export type ButtonStyleContexts = 'isInToolbar' | 'isInSpoiler' | 'isInDropdown';
|
|
6
|
-
export type ButtonAppearance = 'isFancy' | 'isClassic';
|
|
7
|
-
export interface ButtonProps {
|
|
8
|
-
theme?: ButtonThemes;
|
|
9
|
-
appearance?: ButtonAppearance;
|
|
10
|
-
size?: ButtonSizes;
|
|
11
|
-
state?: ButtonStates;
|
|
12
|
-
styleContext?: ButtonStyleContexts;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
onClick?: () => void;
|
|
15
|
-
children: React.ReactNode | JSX.Element[] | JSX.Element;
|
|
16
|
-
}
|
package/dist/Button/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { OptimizedImageItem } from '../types';
|
|
2
|
-
export interface CoverProps {
|
|
3
|
-
block: {
|
|
4
|
-
only_on?: string;
|
|
5
|
-
data: {
|
|
6
|
-
blocks: any;
|
|
7
|
-
cover: {
|
|
8
|
-
credit?: string;
|
|
9
|
-
caption?: string;
|
|
10
|
-
cc: string;
|
|
11
|
-
urls: {
|
|
12
|
-
w325: OptimizedImageItem;
|
|
13
|
-
w600: OptimizedImageItem;
|
|
14
|
-
};
|
|
15
|
-
mobile_ratio: number;
|
|
16
|
-
gradients: {
|
|
17
|
-
text_rgb: string;
|
|
18
|
-
bg_rgb: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
styleContext?: string[] | string;
|
|
24
|
-
}
|
package/dist/Cover/index.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { OptimizedImageItem } from '../types';
|
|
3
|
-
export interface PopoverData {
|
|
4
|
-
title?: string;
|
|
5
|
-
body?: string;
|
|
6
|
-
id?: string;
|
|
7
|
-
align?: 'isTop' | 'isBottom';
|
|
8
|
-
side?: 'isLeft' | 'isRight';
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
show: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface SingleDot {
|
|
13
|
-
title?: string;
|
|
14
|
-
body: string;
|
|
15
|
-
id: string;
|
|
16
|
-
position: {
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
};
|
|
20
|
-
icon: {
|
|
21
|
-
type: string;
|
|
22
|
-
number?: string;
|
|
23
|
-
svg_string?: string;
|
|
24
|
-
color: string;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export interface DotsOnImageProps {
|
|
28
|
-
block: {
|
|
29
|
-
credit?: string;
|
|
30
|
-
caption?: string;
|
|
31
|
-
cc?: string;
|
|
32
|
-
display?: string;
|
|
33
|
-
optimized?: {
|
|
34
|
-
original?: string;
|
|
35
|
-
w325: OptimizedImageItem;
|
|
36
|
-
w520?: OptimizedImageItem;
|
|
37
|
-
w650?: OptimizedImageItem;
|
|
38
|
-
w980?: OptimizedImageItem;
|
|
39
|
-
w1335?: OptimizedImageItem;
|
|
40
|
-
};
|
|
41
|
-
width?: number;
|
|
42
|
-
height?: number;
|
|
43
|
-
lazy?: boolean;
|
|
44
|
-
dots: SingleDot[];
|
|
45
|
-
};
|
|
46
|
-
}
|
package/dist/Dropdown/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface EmbedGifProps {
|
|
3
|
-
gif: string;
|
|
4
|
-
mp4Url: string;
|
|
5
|
-
style: React.CSSProperties;
|
|
6
|
-
}
|
|
7
|
-
export interface EmbedBlockProps {
|
|
8
|
-
block: any;
|
|
9
|
-
styleContext?: string[] | string;
|
|
10
|
-
lang?: 'ru' | 'en';
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
package/dist/Footnote/index.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { OptimizedImageItem } from '../types';
|
|
2
|
-
export interface ImageProps {
|
|
3
|
-
alt?: string;
|
|
4
|
-
display?: string;
|
|
5
|
-
optimized?: {
|
|
6
|
-
original?: string;
|
|
7
|
-
w325: OptimizedImageItem;
|
|
8
|
-
w520?: OptimizedImageItem;
|
|
9
|
-
w650?: OptimizedImageItem;
|
|
10
|
-
w980?: OptimizedImageItem;
|
|
11
|
-
w1335?: OptimizedImageItem;
|
|
12
|
-
};
|
|
13
|
-
width?: number;
|
|
14
|
-
height?: number;
|
|
15
|
-
source?: string[];
|
|
16
|
-
lazy?: boolean;
|
|
17
|
-
ratio?: number;
|
|
18
|
-
fullscreen?: boolean;
|
|
19
|
-
styleContext?: string[] | string;
|
|
20
|
-
}
|
|
21
|
-
export interface PictureProps {
|
|
22
|
-
source?: string[];
|
|
23
|
-
optimized?: {
|
|
24
|
-
original?: string;
|
|
25
|
-
w325: OptimizedImageItem;
|
|
26
|
-
w520?: OptimizedImageItem;
|
|
27
|
-
w650?: OptimizedImageItem;
|
|
28
|
-
w980?: OptimizedImageItem;
|
|
29
|
-
w1335?: OptimizedImageItem;
|
|
30
|
-
};
|
|
31
|
-
alt?: string;
|
|
32
|
-
fallbackSource: string;
|
|
33
|
-
display: string;
|
|
34
|
-
onLoad: (boolean: any) => void;
|
|
35
|
-
}
|
package/dist/Image/index.d.ts
DELETED
package/dist/Lazy/index.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MaterialTitleProps } from './MaterialTitle.types';
|
|
3
|
-
export declare const Primary: React.FC<MaterialTitleProps>;
|
|
4
|
-
export declare const Secondary: React.FC<MaterialTitleProps>;
|
|
5
|
-
export declare const MaterialTitle: React.FC<MaterialTitleProps>;
|
package/dist/Meta/Meta.mock.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CallToActions } from '../types';
|
|
3
|
-
export interface MetaContainerProps {
|
|
4
|
-
block: any;
|
|
5
|
-
styleContext: string[] | string;
|
|
6
|
-
isRead: boolean | undefined;
|
|
7
|
-
isListened: boolean | undefined;
|
|
8
|
-
isInBookmarks: boolean | undefined;
|
|
9
|
-
bookmarkAction?: (service: CallToActions, place: string) => void;
|
|
10
|
-
lightBox?: () => void;
|
|
11
|
-
lang: 'ru' | 'en';
|
|
12
|
-
}
|
|
13
|
-
export interface MetaProps {
|
|
14
|
-
onlyOn?: string;
|
|
15
|
-
styleContext?: string[] | string;
|
|
16
|
-
hasSource?: boolean;
|
|
17
|
-
theme?: string;
|
|
18
|
-
children: React.ReactNode;
|
|
19
|
-
}
|
package/dist/Meta/index.d.ts
DELETED
package/dist/MetaItem/index.d.ts
DELETED
package/dist/Popover/index.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ImageProps } from '../Image/Image.types';
|
|
2
|
-
import { CallToActions, LightboxContext } from '../types';
|
|
3
|
-
export type lightBox = {
|
|
4
|
-
show: (image?: ImageProps['optimized'], alt?: ImageProps['alt']) => void;
|
|
5
|
-
hide: () => void;
|
|
6
|
-
visible: boolean;
|
|
7
|
-
};
|
|
8
|
-
export interface RawHtmlBlockProps {
|
|
9
|
-
block: any;
|
|
10
|
-
styleContext?: string[] | string;
|
|
11
|
-
isRead?: boolean | undefined;
|
|
12
|
-
isListened?: boolean | undefined;
|
|
13
|
-
isInBookmarks?: boolean | undefined;
|
|
14
|
-
bookmarkAction?: (service: CallToActions, place: string) => void;
|
|
15
|
-
lightBox?: LightboxContext | null | undefined;
|
|
16
|
-
lang?: 'ru' | 'en';
|
|
17
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface RelatedBlockProps {
|
|
2
|
-
block: {
|
|
3
|
-
data: {
|
|
4
|
-
title: string;
|
|
5
|
-
related: {
|
|
6
|
-
title: string;
|
|
7
|
-
second_title?: string;
|
|
8
|
-
layout: string;
|
|
9
|
-
url?: string;
|
|
10
|
-
full_url?: string;
|
|
11
|
-
id: string;
|
|
12
|
-
}[];
|
|
13
|
-
};
|
|
14
|
-
only_on?: string;
|
|
15
|
-
};
|
|
16
|
-
styleContext?: string[] | string;
|
|
17
|
-
}
|