@meduza/ui-kit-2 0.8.606 → 0.8.607

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.
Files changed (132) hide show
  1. package/package.json +1 -1
  2. package/src/Meta/Meta.module.css +5 -0
  3. package/dist/AnnouncementInText/AnnouncementInText.types.d.ts +0 -4
  4. package/dist/AnnouncementInText/index.d.ts +0 -3
  5. package/dist/BookmarkButton/BookmarkButton.types.d.ts +0 -6
  6. package/dist/BookmarkButton/index.d.ts +0 -3
  7. package/dist/Button/Button.d.ts +0 -3
  8. package/dist/Button/Button.types.d.ts +0 -16
  9. package/dist/Button/ButtonLoader.d.ts +0 -2
  10. package/dist/Button/index.d.ts +0 -2
  11. package/dist/CardTitle/CardTitle.types.d.ts +0 -11
  12. package/dist/CardTitle/index.d.ts +0 -3
  13. package/dist/ChapterBlock/ChapterBlock.types.d.ts +0 -8
  14. package/dist/ChapterBlock/index.d.ts +0 -3
  15. package/dist/Cover/Cover.types.d.ts +0 -24
  16. package/dist/Cover/index.d.ts +0 -3
  17. package/dist/DocumentItemsCount/DocumentItemsCount.types.d.ts +0 -6
  18. package/dist/DocumentItemsCount/index.d.ts +0 -3
  19. package/dist/DonatesTeaser/DonatesTeaser.types.d.ts +0 -4
  20. package/dist/DonatesTeaser/index.d.ts +0 -3
  21. package/dist/DotsOnImage/DotsOnImage.types.d.ts +0 -46
  22. package/dist/DotsOnImage/index.d.ts +0 -3
  23. package/dist/Dropdown/Dropdown.types.d.ts +0 -5
  24. package/dist/Dropdown/index.d.ts +0 -4
  25. package/dist/EmbedBlock/EmbedBlock.d.ts +0 -3
  26. package/dist/EmbedBlock/EmbedBlock.types.d.ts +0 -12
  27. package/dist/EmbedBlock/EmbedGif.d.ts +0 -3
  28. package/dist/EmbedBlock/IframeBlock.d.ts +0 -3
  29. package/dist/EmbedBlock/index.d.ts +0 -3
  30. package/dist/Footnote/Footnote.types.d.ts +0 -5
  31. package/dist/Footnote/index.d.ts +0 -3
  32. package/dist/GroupedBlock/GroupedBlock.types.d.ts +0 -4
  33. package/dist/GroupedBlock/index.d.ts +0 -3
  34. package/dist/HalfBlock/HalfBlock.types.d.ts +0 -4
  35. package/dist/HalfBlock/index.d.ts +0 -3
  36. package/dist/Image/Image.types.d.ts +0 -35
  37. package/dist/Image/RenderPicture.d.ts +0 -4
  38. package/dist/Image/index.d.ts +0 -3
  39. package/dist/ImportantLead/ImportantLead.types.d.ts +0 -4
  40. package/dist/ImportantLead/index.d.ts +0 -3
  41. package/dist/Lazy/Lazy.types.d.ts +0 -4
  42. package/dist/Lazy/index.d.ts +0 -3
  43. package/dist/ListBlock/ListBlock.types.d.ts +0 -9
  44. package/dist/ListBlock/index.d.ts +0 -3
  45. package/dist/MaterialNote/MaterialNote.types.d.ts +0 -13
  46. package/dist/MaterialNote/index.d.ts +0 -3
  47. package/dist/MaterialTitle/MaterialTitle.types.d.ts +0 -4
  48. package/dist/MaterialTitle/index.d.ts +0 -5
  49. package/dist/MediaCaption/MediaCaption.types.d.ts +0 -5
  50. package/dist/MediaCaption/index.d.ts +0 -3
  51. package/dist/Meta/Meta.mock.d.ts +0 -12
  52. package/dist/Meta/Meta.types.d.ts +0 -20
  53. package/dist/Meta/MetaContainer.d.ts +0 -3
  54. package/dist/Meta/index.d.ts +0 -3
  55. package/dist/MetaItem/MetaItem.types.d.ts +0 -7
  56. package/dist/MetaItem/index.d.ts +0 -3
  57. package/dist/MetaItemLive/MetaItemLive.types.d.ts +0 -3
  58. package/dist/MetaItemLive/index.d.ts +0 -3
  59. package/dist/Popover/Popover.types.d.ts +0 -5
  60. package/dist/Popover/index.d.ts +0 -3
  61. package/dist/QuoteBlock/QuoteBlock.types.d.ts +0 -6
  62. package/dist/QuoteBlock/index.d.ts +0 -3
  63. package/dist/RawHtmlBlock/RawHtmlBlock.types.d.ts +0 -18
  64. package/dist/RawHtmlBlock/index.d.ts +0 -3
  65. package/dist/RelatedBlock/RelatedBlock.types.d.ts +0 -17
  66. package/dist/RelatedBlock/index.d.ts +0 -3
  67. package/dist/RelatedBook/RelatedBook.mock.d.ts +0 -65
  68. package/dist/RelatedBook/RelatedBook.types.d.ts +0 -4
  69. package/dist/RelatedBook/index.d.ts +0 -3
  70. package/dist/RelatedRichBlock/RelatedRichBlock.types.d.ts +0 -4
  71. package/dist/RelatedRichBlock/index.d.ts +0 -3
  72. package/dist/RenderBlocks/RenderBlocks.types.d.ts +0 -12
  73. package/dist/RenderBlocks/index.d.ts +0 -3
  74. package/dist/RichTitle/RichTitle.types.d.ts +0 -12
  75. package/dist/RichTitle/index.d.ts +0 -3
  76. package/dist/SensitiveBlock/SensitiveBlock.types.d.ts +0 -15
  77. package/dist/SensitiveBlock/index.d.ts +0 -3
  78. package/dist/ShopRelatedBlock/ShopRelatedBlock.types.d.ts +0 -4
  79. package/dist/ShopRelatedBlock/index.d.ts +0 -3
  80. package/dist/SimpleBlock/SimpleBlock.types.d.ts +0 -5
  81. package/dist/SimpleBlock/index.d.ts +0 -3
  82. package/dist/SimpleTitle/SimpleTitle.types.d.ts +0 -9
  83. package/dist/SimpleTitle/index.d.ts +0 -3
  84. package/dist/SourceBlock/SourceBlock.types.d.ts +0 -15
  85. package/dist/SourceBlock/index.d.ts +0 -3
  86. package/dist/Spoiler/Spoiler.types.d.ts +0 -4
  87. package/dist/Spoiler/index.d.ts +0 -3
  88. package/dist/SvgSymbol/SvgSymbol.types.d.ts +0 -8
  89. package/dist/SvgSymbol/icons.d.ts +0 -182
  90. package/dist/SvgSymbol/index.d.ts +0 -3
  91. package/dist/Switcher/Switcher.types.d.ts +0 -12
  92. package/dist/Switcher/index.d.ts +0 -3
  93. package/dist/Table/Table.types.d.ts +0 -25
  94. package/dist/Table/index.d.ts +0 -3
  95. package/dist/Tag/Tag.types.d.ts +0 -12
  96. package/dist/Tag/index.d.ts +0 -3
  97. package/dist/Timestamp/Timestamp.types.d.ts +0 -5
  98. package/dist/Timestamp/index.d.ts +0 -4
  99. package/dist/Toolbar/Toolbar.d.ts +0 -3
  100. package/dist/Toolbar/Toolbar.types.d.ts +0 -7
  101. package/dist/Toolbar/ToolbarItem.d.ts +0 -3
  102. package/dist/Toolbar/index.d.ts +0 -2
  103. package/dist/ToolbarButton/ToolbarButton.types.d.ts +0 -10
  104. package/dist/ToolbarButton/index.d.ts +0 -3
  105. package/dist/Tooltip/Tooltip.d.ts +0 -3
  106. package/dist/Tooltip/Tooltip.types.d.ts +0 -8
  107. package/dist/Tooltip/TooltipFooter.d.ts +0 -3
  108. package/dist/Tooltip/index.d.ts +0 -2
  109. package/dist/VersesBlock/VersesBlock.types.d.ts +0 -9
  110. package/dist/VersesBlock/index.d.ts +0 -3
  111. package/dist/constants.d.ts +0 -41
  112. package/dist/index.d.ts +0 -45
  113. package/dist/types.d.ts +0 -20
  114. package/dist/ui-kit-2.cjs.development.js +0 -2877
  115. package/dist/ui-kit-2.cjs.development.js.map +0 -1
  116. package/dist/ui-kit-2.cjs.production.min.js +0 -2
  117. package/dist/ui-kit-2.cjs.production.min.js.map +0 -1
  118. package/dist/ui-kit-2.esm.js +0 -2823
  119. package/dist/ui-kit-2.esm.js.map +0 -1
  120. package/dist/ui-kit-game.css +0 -7084
  121. package/dist/ui-kit.css +0 -7084
  122. package/dist/utils/BlockContext.d.ts +0 -8
  123. package/dist/utils/DangerousHtml.d.ts +0 -8
  124. package/dist/utils/capitalizeFirstLetter.d.ts +0 -1
  125. package/dist/utils/converCase.d.ts +0 -2
  126. package/dist/utils/generateGradient.d.ts +0 -2
  127. package/dist/utils/getElementPositionRelativeToViewport.d.ts +0 -2
  128. package/dist/utils/makeClassName.d.ts +0 -3
  129. package/dist/utils/makeStyleContext.d.ts +0 -3
  130. package/dist/utils/pluralize.d.ts +0 -2
  131. package/dist/utils/postMessage.d.ts +0 -2
  132. package/dist/utils/viewportSize.d.ts +0 -6
@@ -1,4 +0,0 @@
1
- export interface RelatedBookProps {
2
- block: any;
3
- styleContext: any;
4
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { RelatedBookProps } from './RelatedBook.types';
3
- export declare const RelatedBook: React.FC<RelatedBookProps>;
@@ -1,4 +0,0 @@
1
- export interface RelatedRichBlockProps {
2
- block?: any;
3
- styleContext?: any;
4
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { RelatedRichBlockProps } from './RelatedRichBlock.types';
3
- export declare const RelatedRichBlock: React.FC<RelatedRichBlockProps>;
@@ -1,12 +0,0 @@
1
- import { CallToActions, LightboxContext } from '../types';
2
- export interface RenderBlocksProps {
3
- block: any;
4
- styleContext?: any;
5
- isRead?: boolean;
6
- isListened?: boolean;
7
- isInBookmarks?: boolean;
8
- bookmarkAction?: (service: CallToActions, place: string) => void;
9
- lightBox?: LightboxContext | null | undefined;
10
- lang?: 'ru' | 'en';
11
- type?: any;
12
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { RenderBlocksProps } from './RenderBlocks.types';
3
- export declare const RenderBlocks: React.FC<RenderBlocksProps>;
@@ -1,12 +0,0 @@
1
- export interface RichTitleProps {
2
- block: {
3
- only_on?: string;
4
- data: {
5
- featured?: boolean;
6
- first: string;
7
- second?: string;
8
- as?: keyof JSX.IntrinsicElements;
9
- };
10
- };
11
- styleContext?: string[] | string;
12
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { RichTitleProps } from './RichTitle.types';
3
- export declare const RichTitle: React.FC<RichTitleProps>;
@@ -1,15 +0,0 @@
1
- export interface SensitiveBlockProps {
2
- block: {
3
- id: string;
4
- title: string;
5
- blurred_image: string;
6
- button: {
7
- text: string;
8
- };
9
- item: any;
10
- credit?: string;
11
- caption?: string;
12
- cc: string;
13
- };
14
- styleContext?: string[];
15
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SensitiveBlockProps } from './SensitiveBlock.types';
3
- export declare const SensitiveBlock: React.FC<SensitiveBlockProps>;
@@ -1,4 +0,0 @@
1
- export interface ShopRelatedBlockProps {
2
- block?: any;
3
- styleContext?: any;
4
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ShopRelatedBlockProps } from './ShopRelatedBlock.types';
3
- export declare const ShopRelatedBlock: React.FC<ShopRelatedBlockProps>;
@@ -1,5 +0,0 @@
1
- export interface SimpleBlockProps {
2
- block: any;
3
- styleContext?: string[] | string;
4
- id?: string;
5
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SimpleBlockProps } from './SimpleBlock.types';
3
- export declare const SimpleBlock: React.FC<SimpleBlockProps>;
@@ -1,9 +0,0 @@
1
- export interface SimpleTitleProps {
2
- block: {
3
- data: {
4
- first: string;
5
- };
6
- only_on?: string;
7
- };
8
- styleContext?: string[] | string;
9
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SimpleTitleProps } from './SimpleTitle.types';
3
- export declare const SimpleTitle: React.FC<SimpleTitleProps>;
@@ -1,15 +0,0 @@
1
- export interface SourceBlockProps {
2
- block: {
3
- only_on?: string;
4
- data: {
5
- quote: {
6
- type: string;
7
- data: string;
8
- length: number;
9
- }[];
10
- origin: string;
11
- url: string;
12
- };
13
- };
14
- styleContext?: string[] | string;
15
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SourceBlockProps } from './SourceBlock.types';
3
- export declare const SourceBlock: React.FC<SourceBlockProps>;
@@ -1,4 +0,0 @@
1
- export interface SpoilerProps {
2
- block: any;
3
- styleContext?: string[] | string;
4
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SpoilerProps } from './Spoiler.types';
3
- export declare const Spoiler: React.FC<SpoilerProps>;
@@ -1,8 +0,0 @@
1
- export type SvgSymbolStyleContexts = 'isInFeature' | 'isInCard' | 'isInTopicBlockItem' | 'isInPageStatic' | 'isInMaterialMeta' | 'isInToolbar' | 'isInEpisodeBlock' | 'isInAudioPlayer' | 'isInAudioPanel' | 'isInPlaylist' | 'PodcastMaterial' | 'isInHeader' | 'isInProfile' | 'isInBookmark';
2
- export type Icons = 'meduzaLogo' | 'meduzaSymbol' | 'menu' | 'fb' | 'tw' | 'vk' | 'ok' | 'tg' | 'chat' | 'magic' | 'backward' | 'forward' | 'download' | 'episodeDownload' | 'play' | 'pause' | 'shareBookmark' | 'speedHalf' | 'speedThreeQuarters' | 'speedOne' | 'speedOneQuarter' | 'speedOneHalf' | 'speedTwo' | 'podcastBookmark' | 'reaction' | 'cross' | 'link' | 'search' | 'card' | 'podcast' | 'arrow' | 'brent' | 'user' | 'bookmark' | 'receipt' | 'read' | 'listened';
3
- export type Sizes = 'small' | 'normal' | 'medium' | 'large' | 'unset';
4
- export interface SvgSymbolProps {
5
- styleContext?: SvgSymbolStyleContexts;
6
- size?: Sizes;
7
- icon: Icons;
8
- }
@@ -1,182 +0,0 @@
1
- export declare const icons: {
2
- meduzaLogo: {
3
- width: number;
4
- height: number;
5
- content: string;
6
- };
7
- menu: {
8
- width: number;
9
- height: number;
10
- content: string;
11
- };
12
- fb: {
13
- width: number;
14
- height: number;
15
- content: string;
16
- };
17
- tw: {
18
- width: number;
19
- height: number;
20
- content: string;
21
- };
22
- vk: {
23
- width: number;
24
- height: number;
25
- content: string;
26
- };
27
- ok: {
28
- width: number;
29
- height: number;
30
- content: string;
31
- };
32
- tg: {
33
- width: number;
34
- height: number;
35
- content: string;
36
- };
37
- meduzaSymbol: {
38
- width: number;
39
- height: number;
40
- content: string;
41
- };
42
- backward: {
43
- width: number;
44
- height: number;
45
- content: string;
46
- };
47
- forward: {
48
- width: number;
49
- height: number;
50
- content: string;
51
- };
52
- download: {
53
- width: number;
54
- height: number;
55
- content: string;
56
- };
57
- episodeDownload: {
58
- width: number;
59
- height: number;
60
- content: string;
61
- };
62
- play: {
63
- width: number;
64
- height: number;
65
- content: string;
66
- };
67
- pause: {
68
- width: number;
69
- height: number;
70
- content: string;
71
- };
72
- speedHalf: {
73
- width: number;
74
- height: number;
75
- content: string;
76
- };
77
- speedThreeQuarters: {
78
- width: number;
79
- height: number;
80
- content: string;
81
- };
82
- speedOne: {
83
- width: number;
84
- height: number;
85
- content: string;
86
- };
87
- speedOneQuarter: {
88
- width: number;
89
- height: number;
90
- content: string;
91
- };
92
- speedOneHalf: {
93
- width: number;
94
- height: number;
95
- content: string;
96
- };
97
- speedTwo: {
98
- width: number;
99
- height: number;
100
- content: string;
101
- };
102
- podcastBookmark: {
103
- width: number;
104
- height: number;
105
- content: string;
106
- };
107
- reaction: {
108
- width: number;
109
- height: number;
110
- content: string;
111
- };
112
- cross: {
113
- width: number;
114
- height: number;
115
- content: string;
116
- };
117
- link: {
118
- width: number;
119
- height: number;
120
- content: string;
121
- };
122
- search: {
123
- width: number;
124
- height: number;
125
- content: string;
126
- };
127
- card: {
128
- width: number;
129
- height: number;
130
- content: string;
131
- };
132
- podcast: {
133
- width: number;
134
- height: number;
135
- content: string;
136
- };
137
- arrow: {
138
- width: number;
139
- height: number;
140
- content: string;
141
- };
142
- brent: {
143
- width: number;
144
- height: number;
145
- content: string;
146
- };
147
- user: {
148
- width: number;
149
- height: number;
150
- content: string;
151
- };
152
- bookmark: {
153
- width: number;
154
- height: number;
155
- content: string;
156
- };
157
- shareBookmark: {
158
- width: number;
159
- height: number;
160
- content: string;
161
- };
162
- receipt: {
163
- width: number;
164
- height: number;
165
- content: string;
166
- };
167
- read: {
168
- width: number;
169
- height: number;
170
- content: string;
171
- };
172
- listened: {
173
- width: number;
174
- height: number;
175
- content: string;
176
- };
177
- magic: {
178
- width: number;
179
- height: number;
180
- content: string;
181
- };
182
- };
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SvgSymbolProps } from './SvgSymbol.types';
3
- export declare const SvgSymbol: React.FC<SvgSymbolProps>;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export type SwitcherStyleContexts = 'isInLive' | 'isInPanel' | 'isInMenu';
3
- export type SwitcherThemes = 'light' | 'dark';
4
- export type SwitcherChildrenPositions = 'left' | 'right';
5
- export interface SwitcherProps {
6
- enabled: boolean;
7
- styleContext: SwitcherStyleContexts;
8
- onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
9
- theme?: SwitcherThemes;
10
- children: JSX.Element[] | JSX.Element;
11
- childrenPosition?: SwitcherChildrenPositions;
12
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { SwitcherProps } from './Switcher.types';
3
- export declare const Switcher: React.FC<SwitcherProps>;
@@ -1,25 +0,0 @@
1
- export interface Row {
2
- cells: {
3
- key: string;
4
- color?: string;
5
- val?: string;
6
- }[];
7
- key: string;
8
- }
9
- export interface TableProps {
10
- styleContext?: string | string[];
11
- block: {
12
- type: string;
13
- columns_widths: number[];
14
- display: string;
15
- id: string;
16
- options: {
17
- header: boolean;
18
- fixed_first_column?: boolean;
19
- num_fixed_columns: number;
20
- num_fixed_rows: number;
21
- };
22
- rows: Row[];
23
- table_credit?: string;
24
- };
25
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { TableProps } from './Table.types';
3
- export declare const Table: React.FC<TableProps>;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export type TagSizes = 'small' | 'large';
3
- export type TagThemes = 'dark' | 'gold' | 'gray' | 'light' | 'inherit' | 'custom';
4
- export type TagStyleContexts = 'isInToolbar' | 'isInSpoiler' | 'isInDropdown';
5
- export interface TagProps {
6
- children: React.ReactNode | JSX.Element[] | JSX.Element;
7
- styleContext?: string | string[];
8
- theme: TagThemes;
9
- size: TagSizes;
10
- onlyOn?: 'desktop' | 'mobile';
11
- correlation?: string;
12
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { TagProps } from './Tag.types';
3
- export declare const Tag: React.FC<TagProps>;
@@ -1,5 +0,0 @@
1
- export interface TimestampProps {
2
- publishedAt: number;
3
- type: 'fromNow' | 'format' | 'date';
4
- locale?: string;
5
- }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { TimestampProps } from './Timestamp.types';
3
- import 'dayjs/locale/ru';
4
- export declare const Timestamp: React.FC<TimestampProps>;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ToolbarProps } from './Toolbar.types';
3
- export declare const Toolbar: React.FC<ToolbarProps>;
@@ -1,7 +0,0 @@
1
- export interface ToolbarProps {
2
- styleContext?: string | string[];
3
- children: JSX.Element[] | JSX.Element;
4
- }
5
- export interface ToolbarItemProps {
6
- children: JSX.Element[] | JSX.Element;
7
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ToolbarItemProps } from './Toolbar.types';
3
- export declare const ToolbarItem: React.FC<ToolbarItemProps>;
@@ -1,2 +0,0 @@
1
- export { ToolbarItem } from './ToolbarItem';
2
- export { Toolbar } from './Toolbar';
@@ -1,10 +0,0 @@
1
- export type ToolbarButtonTypes = 'vk' | 'fb' | 'tw' | 'tg' | 'ok' | 'reaction' | 'pdf' | 'bookmark' | 'unblock' | 'cross';
2
- export interface ToolbarButtonProps {
3
- type: ToolbarButtonTypes;
4
- theme?: string;
5
- lang?: 'ru' | 'en';
6
- text?: string;
7
- icon?: 'shareBookmark';
8
- isActive?: boolean;
9
- onClick: (event: any, type: string) => void;
10
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { ToolbarButtonProps } from './ToolbarButton.types';
3
- export declare const ToolbarButton: React.FC<ToolbarButtonProps>;
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { TooltipProps } from './Tooltip.types';
3
- export declare const Tooltip: React.FC<TooltipProps>;
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export interface TooltipProps {
3
- children: React.ReactNode;
4
- position: ['left' | 'center', 'top' | 'bottom'];
5
- }
6
- export interface TooltipFooterProps {
7
- children: React.ReactNode;
8
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { TooltipFooterProps } from './Tooltip.types';
3
- export declare const TooltipFooter: React.FC<TooltipFooterProps>;
@@ -1,2 +0,0 @@
1
- export { Tooltip } from './Tooltip';
2
- export { TooltipFooter } from './TooltipFooter';
@@ -1,9 +0,0 @@
1
- export interface VersesBlockProps {
2
- block: {
3
- type: keyof JSX.IntrinsicElements;
4
- data: string[];
5
- length: number;
6
- only_on?: string;
7
- };
8
- styleContext?: string[] | string;
9
- }
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- import { VersesBlockProps } from './VersesBlock.types';
3
- export declare const VersesBlock: React.FC<VersesBlockProps>;
@@ -1,41 +0,0 @@
1
- export declare const MediaQuerySizes: {
2
- MOBILE: number;
3
- PORTRAIT_TABLET: number;
4
- LANDSCAPE_TABLET: number;
5
- DESKTOP: number;
6
- WIDE_DESKTOP: number;
7
- };
8
- export declare const imageBreakpoints: {
9
- 325: string;
10
- 520: string;
11
- 600: string;
12
- 650: string;
13
- 980: string;
14
- 1335: string;
15
- };
16
- export declare const imageConditionalKeys: {
17
- xs: number[];
18
- superFull: number[];
19
- full: number[];
20
- default: number[];
21
- narrow: number[];
22
- };
23
- export declare const SocialLabels: {
24
- ru: {
25
- tg: string;
26
- fb: string;
27
- tw: string;
28
- pdf: string;
29
- unblock: string;
30
- bookmark: string;
31
- reaction: string;
32
- };
33
- en: {
34
- tg: string;
35
- fb: string;
36
- tw: string;
37
- pdf: string;
38
- unblock: string;
39
- bookmark: string;
40
- };
41
- };
package/dist/index.d.ts DELETED
@@ -1,45 +0,0 @@
1
- export * from './Button';
2
- export * from './SvgSymbol';
3
- export * from './Switcher';
4
- export * from './Image';
5
- export * from './DotsOnImage';
6
- export * from './Lazy';
7
- export * from './Tag';
8
- export * from './Table';
9
- export * from './MediaCaption';
10
- export * from './MaterialNote';
11
- export * from './BookmarkButton';
12
- export * from './MaterialTitle';
13
- export * from './Dropdown';
14
- export * from './Toolbar';
15
- export * from './Popover';
16
- export * from './Meta';
17
- export * from './Timestamp';
18
- export * from './EmbedBlock';
19
- export * from './QuoteBlock';
20
- export * from './CardTitle';
21
- export * from './ChapterBlock';
22
- export * from './Cover';
23
- export * from './RenderBlocks';
24
- export * from './GroupedBlock';
25
- export * from './HalfBlock';
26
- export * from './RawHtmlBlock';
27
- export * from './ImportantLead';
28
- export * from './ListBlock';
29
- export * from './RelatedBlock';
30
- export * from './RichTitle';
31
- export * from './SimpleBlock';
32
- export * from './SimpleTitle';
33
- export * from './SourceBlock';
34
- export * from './Spoiler';
35
- export * from './MetaItem';
36
- export * from './MetaItemLive';
37
- export * from './DocumentItemsCount';
38
- export * from './ToolbarButton';
39
- export * from './Footnote';
40
- export * from './RelatedRichBlock';
41
- export * from './SensitiveBlock';
42
- export * from './DonatesTeaser';
43
- export * from './ShopRelatedBlock';
44
- export * from './AnnouncementInText';
45
- export * from './Tooltip';
package/dist/types.d.ts DELETED
@@ -1,20 +0,0 @@
1
- export interface OptimizedImageItem {
2
- '1x': string;
3
- '2x': string;
4
- '1x_webp': string;
5
- '2x_webp': string;
6
- }
7
- export type CallToActions = 'fb' | 'tw' | 'vk' | 'ok' | 'tg' | 'wp' | 'reaction' | 'pdf' | 'bookmark' | 'cross';
8
- export type LightboxImage = {
9
- original: string;
10
- w325: OptimizedImageItem;
11
- w520: OptimizedImageItem;
12
- w650: OptimizedImageItem;
13
- w980: OptimizedImageItem;
14
- w1335: OptimizedImageItem;
15
- };
16
- export interface LightboxContext {
17
- show: (image: LightboxImage, alt?: string) => void;
18
- hide: () => void;
19
- visible: boolean;
20
- }