@meduza/ui-kit-2 0.0.1 → 0.1.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/README.md +7 -179
- package/dist/BookmarkButton/BookmarkButton.stories.d.ts +10 -0
- package/dist/BookmarkButton/BookmarkButton.types.d.ts +6 -0
- package/dist/BookmarkButton/index.d.ts +3 -0
- package/dist/Button/Button.stories.d.ts +10 -0
- package/dist/Button/Button.types.d.ts +2 -2
- package/dist/CardTitle/CardTitle.stories.d.ts +10 -0
- package/dist/CardTitle/CardTitle.types.d.ts +8 -0
- package/dist/CardTitle/index.d.ts +3 -0
- package/dist/ChapterBlock/ChapterBlock.stories.d.ts +10 -0
- package/dist/ChapterBlock/ChapterBlock.types.d.ts +7 -0
- package/dist/ChapterBlock/index.d.ts +3 -0
- package/dist/Cover/Cover.stories.d.ts +10 -0
- package/dist/Cover/Cover.types.d.ts +4 -0
- package/dist/Cover/index.d.ts +3 -0
- package/dist/DocumentItemsCount/DocumentItemsCount.stories.d.ts +10 -0
- package/dist/DocumentItemsCount/DocumentItemsCount.types.d.ts +7 -0
- package/dist/DocumentItemsCount/index.d.ts +3 -0
- package/dist/DotsOnImage/DotsOnImage.stories.d.ts +10 -0
- package/dist/DotsOnImage/DotsOnImage.types.d.ts +42 -0
- package/dist/DotsOnImage/index.d.ts +3 -0
- package/dist/Dropdown/Dropdown.stories.d.ts +10 -0
- package/dist/Dropdown/Dropdown.types.d.ts +6 -0
- package/dist/Dropdown/index.d.ts +4 -0
- package/dist/EmbedBlock/EmbedBlock.d.ts +3 -0
- package/dist/EmbedBlock/EmbedBlock.stories.d.ts +10 -0
- package/dist/EmbedBlock/EmbedBlock.types.d.ts +5 -0
- package/dist/EmbedBlock/IframeBlock.d.ts +3 -0
- package/dist/EmbedBlock/index.d.ts +3 -0
- package/dist/GroupedBlock/GroupedBlock.stories.d.ts +10 -0
- package/dist/GroupedBlock/GroupedBlock.types.d.ts +4 -0
- package/dist/GroupedBlock/index.d.ts +3 -0
- package/dist/HalfBlock/HalfBlock.stories.d.ts +10 -0
- package/dist/HalfBlock/HalfBlock.types.d.ts +4 -0
- package/dist/HalfBlock/index.d.ts +3 -0
- package/dist/Image/Image.stories.d.ts +10 -0
- package/dist/Image/Image.types.d.ts +38 -0
- package/dist/Image/RenderPicture.d.ts +4 -0
- package/dist/Image/index.d.ts +3 -0
- package/dist/ImportantLead/ImportantLead.stories.d.ts +10 -0
- package/dist/ImportantLead/ImportantLead.types.d.ts +4 -0
- package/dist/ImportantLead/index.d.ts +3 -0
- package/dist/Lazy/Lazy.stories.d.ts +10 -0
- package/dist/Lazy/Lazy.types.d.ts +5 -0
- package/dist/Lazy/index.d.ts +3 -0
- package/dist/ListBlock/ListBlock.stories.d.ts +10 -0
- package/dist/ListBlock/ListBlock.types.d.ts +4 -0
- package/dist/ListBlock/index.d.ts +3 -0
- package/dist/MaterialNote/MaterialNote.stories.d.ts +10 -0
- package/dist/MaterialNote/MaterialNote.types.d.ts +12 -0
- package/dist/MaterialNote/index.d.ts +3 -0
- package/dist/MaterialTitle/MaterialTitle.stories.d.ts +10 -0
- package/dist/MaterialTitle/MaterialTitle.types.d.ts +4 -0
- package/dist/MaterialTitle/index.d.ts +5 -0
- package/dist/MediaCaption/MediaCaption.stories.d.ts +10 -0
- package/dist/MediaCaption/MediaCaption.types.d.ts +5 -0
- package/dist/MediaCaption/index.d.ts +3 -0
- package/dist/Meta/Meta.stories.d.ts +10 -0
- package/dist/Meta/Meta.types.d.ts +18 -0
- package/dist/Meta/MetaContainer.d.ts +3 -0
- package/dist/Meta/index.d.ts +3 -0
- package/dist/MetaItem/MetaItem.stories.d.ts +10 -0
- package/dist/MetaItem/MetaItem.types.d.ts +7 -0
- package/dist/MetaItem/index.d.ts +3 -0
- package/dist/MetaItemLive/MetaItemLive.stories.d.ts +10 -0
- package/dist/MetaItemLive/MetaItemLive.types.d.ts +3 -0
- package/dist/MetaItemLive/index.d.ts +3 -0
- package/dist/Popover/Popover.stories.d.ts +10 -0
- package/dist/Popover/Popover.types.d.ts +5 -0
- package/dist/Popover/index.d.ts +3 -0
- package/dist/QuoteBlock/QuoteBlock.stories.d.ts +10 -0
- package/dist/QuoteBlock/QuoteBlock.types.d.ts +6 -0
- package/dist/QuoteBlock/index.d.ts +3 -0
- package/dist/RawHtmlBlock/RawHtmlBlock.stories.d.ts +10 -0
- package/dist/RawHtmlBlock/RawHtmlBlock.types.d.ts +9 -0
- package/dist/RawHtmlBlock/index.d.ts +3 -0
- package/dist/RelatedBlock/RelatedBlock.stories.d.ts +10 -0
- package/dist/RelatedBlock/RelatedBlock.types.d.ts +4 -0
- package/dist/RelatedBlock/index.d.ts +3 -0
- package/dist/RenderBlocks/RenderBlocks.stories.d.ts +10 -0
- package/dist/RenderBlocks/RenderBlocks.types.d.ts +10 -0
- package/dist/RenderBlocks/index.d.ts +3 -0
- package/dist/RichTitle/RichTitle.stories.d.ts +10 -0
- package/dist/RichTitle/RichTitle.types.d.ts +4 -0
- package/dist/RichTitle/index.d.ts +3 -0
- package/dist/SimpleBlock/SimpleBlock.stories.d.ts +10 -0
- package/dist/SimpleBlock/SimpleBlock.types.d.ts +4 -0
- package/dist/SimpleBlock/index.d.ts +3 -0
- package/dist/SimpleTitle/SimpleTitle.stories.d.ts +10 -0
- package/dist/SimpleTitle/SimpleTitle.types.d.ts +4 -0
- package/dist/SimpleTitle/index.d.ts +3 -0
- package/dist/SourceBlock/SourceBlock.stories.d.ts +10 -0
- package/dist/SourceBlock/SourceBlock.types.d.ts +4 -0
- package/dist/SourceBlock/index.d.ts +3 -0
- package/dist/Spoiler/Spoiler.stories.d.ts +10 -0
- package/dist/Spoiler/Spoiler.types.d.ts +4 -0
- package/dist/Spoiler/index.d.ts +3 -0
- package/dist/SvgSymbol/SvgSymbol.stories.d.ts +10 -0
- package/dist/SvgSymbol/SvgSymbol.types.d.ts +8 -0
- package/dist/SvgSymbol/icons.d.ts +157 -0
- package/dist/SvgSymbol/index.d.ts +3 -0
- package/dist/Switcher/Switcher.stories.d.ts +10 -0
- package/dist/Switcher/Switcher.types.d.ts +12 -0
- package/dist/Switcher/index.d.ts +3 -0
- package/dist/Table/Table.stories.d.ts +10 -0
- package/dist/Table/Table.types.d.ts +25 -0
- package/dist/Table/index.d.ts +3 -0
- package/dist/Tag/Tag.stories.d.ts +10 -0
- package/dist/Tag/Tag.types.d.ts +12 -0
- package/dist/Tag/index.d.ts +3 -0
- package/dist/Timestamp/Timestamp.stories.d.ts +10 -0
- package/dist/Timestamp/Timestamp.types.d.ts +5 -0
- package/dist/Timestamp/index.d.ts +4 -0
- package/dist/Toolbar/Toolbar.stories.d.ts +10 -0
- package/dist/Toolbar/Toolbar.types.d.ts +5 -0
- package/dist/Toolbar/index.d.ts +3 -0
- package/dist/ToolbarButton/ToolbarButton.stories.d.ts +10 -0
- package/dist/ToolbarButton/ToolbarButton.types.d.ts +9 -0
- package/dist/ToolbarButton/index.d.ts +3 -0
- package/dist/_storybook/PreviewWrapper/index.d.ts +6 -0
- package/dist/constants.d.ts +22 -0
- package/dist/index.d.ts +37 -0
- package/dist/ui-kit-2.cjs.development.css +36 -0
- package/dist/ui-kit-2.cjs.development.js +2187 -39
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +2139 -32
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/utils/BlockContext.d.ts +8 -0
- package/dist/utils/DangerousHtml.d.ts +8 -0
- package/dist/utils/makeClassName.d.ts +1 -1
- package/dist/utils/makeStyleContext.d.ts +2 -0
- package/dist/utils/toCamel.d.ts +1 -0
- package/package.json +29 -13
- package/src/BookmarkButton/BookmarkButton.module.css +50 -0
- package/src/BookmarkButton/BookmarkButton.stories.module.css +5 -0
- package/src/BookmarkButton/BookmarkButton.stories.tsx +39 -0
- package/src/BookmarkButton/BookmarkButton.test.tsx +20 -0
- package/src/BookmarkButton/BookmarkButton.types.ts +6 -0
- package/src/BookmarkButton/index.tsx +37 -0
- package/src/Button/Button.stories.module.css +30 -0
- package/src/Button/Button.stories.tsx +87 -0
- package/src/Button/Button.test.tsx +42 -0
- package/src/Button/Button.types.ts +1 -3
- package/src/Button/index.tsx +2 -2
- package/src/CardTitle/CardTitle.module.css +52 -0
- package/src/CardTitle/CardTitle.stories.module.css +5 -0
- package/src/CardTitle/CardTitle.stories.tsx +36 -0
- package/src/CardTitle/CardTitle.test.tsx +20 -0
- package/src/CardTitle/CardTitle.types.ts +8 -0
- package/src/CardTitle/index.tsx +24 -0
- package/src/CardTitle/mock.json +8 -0
- package/src/ChapterBlock/ChapterBlock.module.css +70 -0
- package/src/ChapterBlock/ChapterBlock.stories.module.css +5 -0
- package/src/ChapterBlock/ChapterBlock.stories.tsx +36 -0
- package/src/ChapterBlock/ChapterBlock.test.tsx +20 -0
- package/src/ChapterBlock/ChapterBlock.types.ts +7 -0
- package/src/ChapterBlock/index.tsx +31 -0
- package/src/ChapterBlock/mock.json +5 -0
- package/src/Cover/Cover.module.css +5 -0
- package/src/Cover/Cover.stories.module.css +5 -0
- package/src/Cover/Cover.stories.tsx +34 -0
- package/src/Cover/Cover.test.tsx +20 -0
- package/src/Cover/Cover.types.ts +4 -0
- package/src/Cover/index.tsx +89 -0
- package/src/DocumentItemsCount/DocumentItemsCount.module.css +18 -0
- package/src/DocumentItemsCount/DocumentItemsCount.stories.module.css +5 -0
- package/src/DocumentItemsCount/DocumentItemsCount.stories.tsx +34 -0
- package/src/DocumentItemsCount/DocumentItemsCount.test.tsx +20 -0
- package/src/DocumentItemsCount/DocumentItemsCount.types.ts +6 -0
- package/src/DocumentItemsCount/index.tsx +54 -0
- package/src/DotsOnImage/DotsOnImage.module.css +56 -0
- package/src/DotsOnImage/DotsOnImage.stories.module.css +9 -0
- package/src/DotsOnImage/DotsOnImage.stories.tsx +37 -0
- package/src/DotsOnImage/DotsOnImage.test.tsx +19 -0
- package/src/DotsOnImage/DotsOnImage.types.ts +46 -0
- package/src/DotsOnImage/index.tsx +79 -0
- package/src/DotsOnImage/mock.json +75 -0
- package/src/Dropdown/Dropdown.module.css +82 -0
- package/src/Dropdown/Dropdown.stories.module.css +5 -0
- package/src/Dropdown/Dropdown.stories.tsx +55 -0
- package/src/Dropdown/Dropdown.test.tsx +20 -0
- package/src/Dropdown/Dropdown.types.ts +5 -0
- package/src/Dropdown/index.tsx +35 -0
- package/src/EmbedBlock/EmbedBlock.module.css +351 -0
- package/src/EmbedBlock/EmbedBlock.stories.module.css +5 -0
- package/src/EmbedBlock/EmbedBlock.stories.tsx +39 -0
- package/src/EmbedBlock/EmbedBlock.test.tsx +20 -0
- package/src/EmbedBlock/EmbedBlock.tsx +236 -0
- package/src/EmbedBlock/EmbedBlock.types.ts +5 -0
- package/src/EmbedBlock/IframeBlock.tsx +86 -0
- package/src/EmbedBlock/index.tsx +16 -0
- package/src/EmbedBlock/mock.json +89 -0
- package/src/GroupedBlock/GroupedBlock.module.css +94 -0
- package/src/GroupedBlock/GroupedBlock.stories.module.css +5 -0
- package/src/GroupedBlock/GroupedBlock.stories.tsx +34 -0
- package/src/GroupedBlock/GroupedBlock.test.tsx +20 -0
- package/src/GroupedBlock/GroupedBlock.types.ts +4 -0
- package/src/GroupedBlock/index.tsx +67 -0
- package/src/HalfBlock/HalfBlock.module.css +88 -0
- package/src/HalfBlock/HalfBlock.stories.module.css +5 -0
- package/src/HalfBlock/HalfBlock.stories.tsx +34 -0
- package/src/HalfBlock/HalfBlock.test.tsx +20 -0
- package/src/HalfBlock/HalfBlock.types.ts +4 -0
- package/src/HalfBlock/index.tsx +53 -0
- package/src/Image/Image.module.css +78 -0
- package/src/Image/Image.stories.module.css +5 -0
- package/src/Image/Image.stories.tsx +47 -0
- package/src/Image/Image.test.tsx +33 -0
- package/src/Image/Image.types.ts +40 -0
- package/src/Image/RenderPicture.tsx +70 -0
- package/src/Image/index.tsx +101 -0
- package/src/Image/mock.json +49 -0
- package/src/ImportantLead/ImportantLead.module.css +64 -0
- package/src/ImportantLead/ImportantLead.stories.module.css +5 -0
- package/src/ImportantLead/ImportantLead.stories.tsx +34 -0
- package/src/ImportantLead/ImportantLead.test.tsx +20 -0
- package/src/ImportantLead/ImportantLead.types.ts +4 -0
- package/src/ImportantLead/index.tsx +35 -0
- package/src/Lazy/Lazy.module.css +9 -0
- package/src/Lazy/Lazy.stories.module.css +5 -0
- package/src/Lazy/Lazy.stories.tsx +48 -0
- package/src/Lazy/Lazy.test.tsx +20 -0
- package/src/Lazy/Lazy.types.ts +4 -0
- package/src/Lazy/index.tsx +41 -0
- package/src/ListBlock/ListBlock.module.css +163 -0
- package/src/ListBlock/ListBlock.stories.module.css +5 -0
- package/src/ListBlock/ListBlock.stories.tsx +34 -0
- package/src/ListBlock/ListBlock.test.tsx +20 -0
- package/src/ListBlock/ListBlock.types.ts +4 -0
- package/src/ListBlock/index.tsx +33 -0
- package/src/MaterialNote/MaterialNote.module.css +139 -0
- package/src/MaterialNote/MaterialNote.stories.module.css +5 -0
- package/src/MaterialNote/MaterialNote.stories.tsx +36 -0
- package/src/MaterialNote/MaterialNote.test.tsx +20 -0
- package/src/MaterialNote/MaterialNote.types.ts +12 -0
- package/src/MaterialNote/index.tsx +30 -0
- package/src/MaterialNote/mock.json +18 -0
- package/src/MaterialTitle/MaterialTitle.module.css +33 -0
- package/src/MaterialTitle/MaterialTitle.stories.module.css +13 -0
- package/src/MaterialTitle/MaterialTitle.stories.tsx +52 -0
- package/src/MaterialTitle/MaterialTitle.test.tsx +20 -0
- package/src/MaterialTitle/MaterialTitle.types.ts +3 -0
- package/src/MaterialTitle/index.tsx +20 -0
- package/src/MediaCaption/MediaCaption.module.css +85 -0
- package/src/MediaCaption/MediaCaption.stories.module.css +5 -0
- package/src/MediaCaption/MediaCaption.stories.tsx +37 -0
- package/src/MediaCaption/MediaCaption.test.tsx +20 -0
- package/src/MediaCaption/MediaCaption.types.ts +5 -0
- package/src/MediaCaption/index.tsx +35 -0
- package/src/Meta/Meta.module.css +106 -0
- package/src/Meta/Meta.stories.module.css +7 -0
- package/src/Meta/Meta.stories.tsx +69 -0
- package/src/Meta/Meta.test.tsx +20 -0
- package/src/Meta/Meta.types.ts +19 -0
- package/src/Meta/MetaContainer.tsx +148 -0
- package/src/Meta/index.tsx +32 -0
- package/src/MetaItem/MetaItem.module.css +104 -0
- package/src/MetaItem/MetaItem.stories.module.css +5 -0
- package/src/MetaItem/MetaItem.stories.tsx +34 -0
- package/src/MetaItem/MetaItem.test.tsx +20 -0
- package/src/MetaItem/MetaItem.types.ts +6 -0
- package/src/MetaItem/index.tsx +26 -0
- package/src/MetaItemLive/MetaItemLive.module.css +124 -0
- package/src/MetaItemLive/MetaItemLive.stories.module.css +5 -0
- package/src/MetaItemLive/MetaItemLive.stories.tsx +34 -0
- package/src/MetaItemLive/MetaItemLive.test.tsx +20 -0
- package/src/MetaItemLive/MetaItemLive.types.ts +3 -0
- package/src/MetaItemLive/index.tsx +25 -0
- package/src/Popover/Popover.module.css +134 -0
- package/src/Popover/Popover.stories.module.css +5 -0
- package/src/Popover/Popover.stories.tsx +55 -0
- package/src/Popover/Popover.test.tsx +20 -0
- package/src/Popover/Popover.types.ts +4 -0
- package/src/Popover/index.tsx +78 -0
- package/src/QuoteBlock/QuoteBlock.module.css +79 -0
- package/src/QuoteBlock/QuoteBlock.stories.module.css +7 -0
- package/src/QuoteBlock/QuoteBlock.stories.tsx +36 -0
- package/src/QuoteBlock/QuoteBlock.test.tsx +20 -0
- package/src/QuoteBlock/QuoteBlock.types.ts +6 -0
- package/src/QuoteBlock/index.tsx +24 -0
- package/src/QuoteBlock/mock.json +6 -0
- package/src/RawHtmlBlock/RawHtmlBlock.stories.module.css +5 -0
- package/src/RawHtmlBlock/RawHtmlBlock.stories.tsx +34 -0
- package/src/RawHtmlBlock/RawHtmlBlock.test.tsx +20 -0
- package/src/RawHtmlBlock/RawHtmlBlock.types.ts +9 -0
- package/src/RawHtmlBlock/index.tsx +57 -0
- package/src/RelatedBlock/RelatedBlock.module.css +129 -0
- package/src/RelatedBlock/RelatedBlock.stories.module.css +5 -0
- package/src/RelatedBlock/RelatedBlock.stories.tsx +34 -0
- package/src/RelatedBlock/RelatedBlock.test.tsx +20 -0
- package/src/RelatedBlock/RelatedBlock.types.ts +4 -0
- package/src/RelatedBlock/index.tsx +45 -0
- package/src/RenderBlocks/RenderBlocks.stories.module.css +5 -0
- package/src/RenderBlocks/RenderBlocks.stories.tsx +34 -0
- package/src/RenderBlocks/RenderBlocks.test.tsx +20 -0
- package/src/RenderBlocks/RenderBlocks.types.ts +10 -0
- package/src/RenderBlocks/index.tsx +125 -0
- package/src/RichTitle/RichTitle.module.css +85 -0
- package/src/RichTitle/RichTitle.stories.module.css +5 -0
- package/src/RichTitle/RichTitle.stories.tsx +34 -0
- package/src/RichTitle/RichTitle.test.tsx +20 -0
- package/src/RichTitle/RichTitle.types.ts +4 -0
- package/src/RichTitle/index.tsx +32 -0
- package/src/SimpleBlock/FootnoteLink.css +34 -0
- package/src/SimpleBlock/SimpleBlock.module.css +393 -0
- package/src/SimpleBlock/SimpleBlock.stories.module.css +5 -0
- package/src/SimpleBlock/SimpleBlock.stories.tsx +34 -0
- package/src/SimpleBlock/SimpleBlock.test.tsx +20 -0
- package/src/SimpleBlock/SimpleBlock.types.ts +4 -0
- package/src/SimpleBlock/index.tsx +47 -0
- package/src/SimpleTitle/SimpleTitle.module.css +33 -0
- package/src/SimpleTitle/SimpleTitle.stories.module.css +5 -0
- package/src/SimpleTitle/SimpleTitle.stories.tsx +34 -0
- package/src/SimpleTitle/SimpleTitle.test.tsx +20 -0
- package/src/SimpleTitle/SimpleTitle.types.ts +4 -0
- package/src/SimpleTitle/index.tsx +29 -0
- package/src/SourceBlock/SourceBlock.module.css +110 -0
- package/src/SourceBlock/SourceBlock.stories.module.css +5 -0
- package/src/SourceBlock/SourceBlock.stories.tsx +34 -0
- package/src/SourceBlock/SourceBlock.test.tsx +20 -0
- package/src/SourceBlock/SourceBlock.types.ts +4 -0
- package/src/SourceBlock/index.tsx +44 -0
- package/src/Spoiler/Spoiler.module.css +177 -0
- package/src/Spoiler/Spoiler.stories.module.css +8 -0
- package/src/Spoiler/Spoiler.stories.tsx +36 -0
- package/src/Spoiler/Spoiler.test.tsx +20 -0
- package/src/Spoiler/Spoiler.types.ts +4 -0
- package/src/Spoiler/index.tsx +81 -0
- package/src/Spoiler/mock.json +49 -0
- package/src/SvgSymbol/SvgSymbol.module.css +240 -0
- package/src/SvgSymbol/SvgSymbol.stories.module.css +127 -0
- package/src/SvgSymbol/SvgSymbol.stories.tsx +95 -0
- package/src/SvgSymbol/SvgSymbol.test.tsx +21 -0
- package/src/SvgSymbol/SvgSymbol.types.ts +57 -0
- package/src/SvgSymbol/icons.ts +217 -0
- package/src/SvgSymbol/index.tsx +32 -0
- package/src/Switcher/Switcher.module.css +159 -0
- package/src/Switcher/Switcher.stories.module.css +28 -0
- package/src/Switcher/Switcher.stories.tsx +68 -0
- package/src/Switcher/Switcher.test.tsx +43 -0
- package/src/Switcher/Switcher.types.ts +16 -0
- package/src/Switcher/index.tsx +53 -0
- package/src/Table/Table.module.css +300 -0
- package/src/Table/Table.stories.module.css +5 -0
- package/src/Table/Table.stories.tsx +36 -0
- package/src/Table/Table.test.tsx +20 -0
- package/src/Table/Table.types.ts +26 -0
- package/src/Table/index.tsx +76 -0
- package/src/Table/mock.json +301 -0
- package/src/Tag/Tag.module.css +115 -0
- package/src/Tag/Tag.stories.module.css +5 -0
- package/src/Tag/Tag.stories.tsx +53 -0
- package/src/Tag/Tag.test.tsx +20 -0
- package/src/Tag/Tag.types.ts +14 -0
- package/src/Tag/index.tsx +33 -0
- package/src/Timestamp/Timestamp.module.css +6 -0
- package/src/Timestamp/Timestamp.stories.module.css +5 -0
- package/src/Timestamp/Timestamp.stories.tsx +34 -0
- package/src/Timestamp/Timestamp.test.tsx +20 -0
- package/src/Timestamp/Timestamp.types.ts +5 -0
- package/src/Timestamp/index.tsx +40 -0
- package/src/Toolbar/Toolbar.module.css +134 -0
- package/src/Toolbar/Toolbar.stories.module.css +5 -0
- package/src/Toolbar/Toolbar.stories.tsx +89 -0
- package/src/Toolbar/Toolbar.test.tsx +20 -0
- package/src/Toolbar/Toolbar.types.ts +4 -0
- package/src/Toolbar/index.tsx +28 -0
- package/src/ToolbarButton/ToolbarButton.module.css +97 -0
- package/src/ToolbarButton/ToolbarButton.stories.module.css +5 -0
- package/src/ToolbarButton/ToolbarButton.stories.tsx +36 -0
- package/src/ToolbarButton/ToolbarButton.test.tsx +20 -0
- package/src/ToolbarButton/ToolbarButton.types.ts +19 -0
- package/src/ToolbarButton/index.tsx +34 -0
- package/src/_storybook/PreviewWrapper/PreviewWrapper.module.css +117 -0
- package/src/_storybook/PreviewWrapper/index.tsx +23 -0
- package/src/constants.ts +24 -0
- package/src/index.tsx +38 -0
- package/src/utils/BlockContext.ts +7 -0
- package/src/utils/DangerousHtml.tsx +79 -0
- package/src/utils/makeClassName.ts +1 -1
- package/src/utils/makeStyleContext.ts +13 -0
- package/src/utils/toCamel.ts +2 -0
- package/LICENSE +0 -21
- package/src/global.d.ts +0 -4
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
@import '../vars.css';
|
|
2
|
+
|
|
3
|
+
.root {
|
|
4
|
+
display: block;
|
|
5
|
+
|
|
6
|
+
margin: 18px 0 15px;
|
|
7
|
+
padding: 12px 11px 13px;
|
|
8
|
+
|
|
9
|
+
color: #000;
|
|
10
|
+
border-left: 4px solid $gold;
|
|
11
|
+
border-radius: 2px 8px 8px 2px;
|
|
12
|
+
background-color: $platinum;
|
|
13
|
+
|
|
14
|
+
font-size: 16px;
|
|
15
|
+
line-height: 20px;
|
|
16
|
+
|
|
17
|
+
@media $portraitTablet {
|
|
18
|
+
margin-top: 25px;
|
|
19
|
+
margin-bottom: 25px;
|
|
20
|
+
padding: 18px 16px 12px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.root:hover,
|
|
25
|
+
.root:visited {
|
|
26
|
+
background-color: #ededed;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.root blockquote {
|
|
30
|
+
margin: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.root a {
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
|
|
36
|
+
color: inherit;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.text {
|
|
40
|
+
font-family: $secondaryFont;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.text p {
|
|
44
|
+
margin: 0;
|
|
45
|
+
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
line-height: 22px;
|
|
48
|
+
|
|
49
|
+
@media $portraitTablet {
|
|
50
|
+
font-size: 18px;
|
|
51
|
+
line-height: 26px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.root p + p {
|
|
56
|
+
margin-top: 12px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.root footer {
|
|
60
|
+
margin-top: 12px;
|
|
61
|
+
padding-top: 10px;
|
|
62
|
+
|
|
63
|
+
border-top: 1px solid #d6d6d6;
|
|
64
|
+
|
|
65
|
+
@media $portraitTablet {
|
|
66
|
+
margin-top: 18px;
|
|
67
|
+
padding-top: 12px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.origin {
|
|
72
|
+
letter-spacing: 1px;
|
|
73
|
+
text-transform: uppercase;
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
|
|
76
|
+
color: #292929;
|
|
77
|
+
|
|
78
|
+
font-family: $secondaryFont;
|
|
79
|
+
font-size: 16px;
|
|
80
|
+
font-weight: bold;
|
|
81
|
+
font-style: normal;
|
|
82
|
+
line-height: 22px;
|
|
83
|
+
|
|
84
|
+
@media $portraitTablet {
|
|
85
|
+
font-size: 18px;
|
|
86
|
+
line-height: 26px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.center {
|
|
91
|
+
max-width: 650px;
|
|
92
|
+
margin-right: auto;
|
|
93
|
+
margin-left: auto;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* VISIBILITY */
|
|
97
|
+
|
|
98
|
+
.mobile {
|
|
99
|
+
@media $mobile {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.desktop {
|
|
105
|
+
display: none;
|
|
106
|
+
|
|
107
|
+
@media $mobile {
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { SourceBlock } from './'
|
|
4
|
+
import { PreviewWrapper } from '../_storybook/PreviewWrapper'
|
|
5
|
+
import styles from './SourceBlock.stories.module.css'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: 'Main / SourceBlock',
|
|
9
|
+
component: SourceBlock,
|
|
10
|
+
parameters: {
|
|
11
|
+
themeWrapperSideBySide: true
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const Example: React.FC = () => {
|
|
16
|
+
return (
|
|
17
|
+
<>
|
|
18
|
+
<div className={styles.root}>
|
|
19
|
+
<SourceBlock />
|
|
20
|
+
</div>
|
|
21
|
+
</>
|
|
22
|
+
)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export const Default: React.FC = () => (
|
|
26
|
+
<>
|
|
27
|
+
<PreviewWrapper theme="light">
|
|
28
|
+
<Example />
|
|
29
|
+
</PreviewWrapper>
|
|
30
|
+
<PreviewWrapper theme="dark">
|
|
31
|
+
<Example />
|
|
32
|
+
</PreviewWrapper>
|
|
33
|
+
</>
|
|
34
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { render } from '@testing-library/react'
|
|
3
|
+
|
|
4
|
+
import { SourceBlock } from './'
|
|
5
|
+
import { SourceBlockProps } from './SourceBlock.types'
|
|
6
|
+
import styles from './SourceBlock.module.css'
|
|
7
|
+
|
|
8
|
+
describe('Source Block', () => {
|
|
9
|
+
let props: SourceBlockProps
|
|
10
|
+
|
|
11
|
+
const renderComponent = () => render(<SourceBlock {...props} />)
|
|
12
|
+
|
|
13
|
+
it('should have root style', () => {
|
|
14
|
+
const { getByTestId } = renderComponent()
|
|
15
|
+
|
|
16
|
+
const sourceBlock = getByTestId('source-block')
|
|
17
|
+
|
|
18
|
+
expect(sourceBlock).toHaveClass(styles.root)
|
|
19
|
+
})
|
|
20
|
+
})
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { SourceBlockProps } from './SourceBlock.types'
|
|
3
|
+
|
|
4
|
+
import makeClassName from '../utils/makeClassName'
|
|
5
|
+
import makeStyleContext from '../utils/makeStyleContext'
|
|
6
|
+
import DangerousHTML from '../utils/DangerousHtml'
|
|
7
|
+
|
|
8
|
+
import styles from './SourceBlock.module.css'
|
|
9
|
+
|
|
10
|
+
export const SourceBlock: React.FC<SourceBlockProps> = ({
|
|
11
|
+
block: { only_on: onlyOn, quote, origin, url },
|
|
12
|
+
styleContext
|
|
13
|
+
}) => {
|
|
14
|
+
let classNames: (string[] | string | boolean)[][] = [
|
|
15
|
+
[styles.root, true],
|
|
16
|
+
[styles[onlyOn], true]
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
if (styleContext) {
|
|
20
|
+
classNames = makeStyleContext(classNames, styleContext, styles)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<blockquote
|
|
25
|
+
data-testid="source-block"
|
|
26
|
+
cite={url}
|
|
27
|
+
className={makeClassName(classNames)}
|
|
28
|
+
>
|
|
29
|
+
<a
|
|
30
|
+
className={styles.text}
|
|
31
|
+
href={url}
|
|
32
|
+
target="_blank"
|
|
33
|
+
rel="noopener noreferrer"
|
|
34
|
+
>
|
|
35
|
+
{quote.map((item, index) => (
|
|
36
|
+
<DangerousHTML key={index} html={item.data} tagName="p" />
|
|
37
|
+
))}
|
|
38
|
+
<footer>
|
|
39
|
+
<cite className={styles.origin}>{origin}</cite>
|
|
40
|
+
</footer>
|
|
41
|
+
</a>
|
|
42
|
+
</blockquote>
|
|
43
|
+
)
|
|
44
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
@import '../vars.css';
|
|
2
|
+
|
|
3
|
+
.root {
|
|
4
|
+
width: 100%;
|
|
5
|
+
margin: $gapMedium 0;
|
|
6
|
+
padding: 21px 0 22px;
|
|
7
|
+
|
|
8
|
+
border-top: 3px solid rgba(0, 0, 0, 0.1);
|
|
9
|
+
border-bottom: 3px solid rgba(0, 0, 0, 0.1);
|
|
10
|
+
|
|
11
|
+
@media $mobile {
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-flow: column nowrap;
|
|
14
|
+
|
|
15
|
+
margin: 25px auto 20px;
|
|
16
|
+
padding: 20px 0;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.root:last-child {
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.root:first-child {
|
|
25
|
+
margin-top: 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.header {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-flow: column nowrap;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.header h3 {
|
|
35
|
+
margin-top: 0;
|
|
36
|
+
margin-bottom: 18px;
|
|
37
|
+
|
|
38
|
+
font-family: $secondaryFont;
|
|
39
|
+
font-size: 21px;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
line-height: 26px;
|
|
42
|
+
|
|
43
|
+
@media $mobile {
|
|
44
|
+
margin-bottom: 20px;
|
|
45
|
+
|
|
46
|
+
font-size: 28px;
|
|
47
|
+
line-height: 34px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.body {
|
|
52
|
+
display: none;
|
|
53
|
+
|
|
54
|
+
width: 100%;
|
|
55
|
+
margin-right: auto;
|
|
56
|
+
margin-left: auto;
|
|
57
|
+
padding-bottom: 13px;
|
|
58
|
+
|
|
59
|
+
@media $mobile {
|
|
60
|
+
order: 2;
|
|
61
|
+
|
|
62
|
+
padding-top: 25px;
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.spoiled {
|
|
68
|
+
min-height: auto;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.spoiled .body {
|
|
72
|
+
display: block;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.footer {
|
|
76
|
+
position: static;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.spoiled .footer {
|
|
80
|
+
position: sticky;
|
|
81
|
+
z-index: 10;
|
|
82
|
+
bottom: 0;
|
|
83
|
+
|
|
84
|
+
margin-right: -20px;
|
|
85
|
+
margin-left: -20px;
|
|
86
|
+
padding: 12px 20px 20px;
|
|
87
|
+
|
|
88
|
+
animation: spoilerSticky 500ms ease both;
|
|
89
|
+
|
|
90
|
+
background-image: linear-gradient( 180deg, rgba(255, 255, 255, 0) 0%, #fff 64% );
|
|
91
|
+
|
|
92
|
+
@media $mobile {
|
|
93
|
+
position: static;
|
|
94
|
+
|
|
95
|
+
margin-right: 0;
|
|
96
|
+
margin-left: 0;
|
|
97
|
+
padding: 0;
|
|
98
|
+
|
|
99
|
+
animation: none;
|
|
100
|
+
|
|
101
|
+
background-image: none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.spoiled .footer::after {
|
|
106
|
+
position: absolute;
|
|
107
|
+
z-index: -1;
|
|
108
|
+
top: 100%;
|
|
109
|
+
right: 0;
|
|
110
|
+
left: 0;
|
|
111
|
+
|
|
112
|
+
height: 16px;
|
|
113
|
+
|
|
114
|
+
content: '';
|
|
115
|
+
|
|
116
|
+
background-color: #fff;
|
|
117
|
+
|
|
118
|
+
@media $mobile {
|
|
119
|
+
content: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.spoiled .footer svg {
|
|
124
|
+
transform: rotate(180deg) translateY(1px);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.center {
|
|
128
|
+
@media $mobile {
|
|
129
|
+
max-width: 980px;
|
|
130
|
+
margin-right: auto;
|
|
131
|
+
margin-left: auto;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.full {
|
|
136
|
+
max-width: 980px;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.default {
|
|
140
|
+
max-width: 650px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
@keyframes spoilerSticky {
|
|
144
|
+
0% {
|
|
145
|
+
transform: translateY(62px);
|
|
146
|
+
}
|
|
147
|
+
50% {
|
|
148
|
+
transform: translateY(-16px);
|
|
149
|
+
}
|
|
150
|
+
100% {
|
|
151
|
+
transform: translateY(0);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-gdpr-panel='true'] .spoiled .footer {
|
|
156
|
+
bottom: 45px;
|
|
157
|
+
|
|
158
|
+
@media $mobile {
|
|
159
|
+
bottom: 46px;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
/* VISIBILITY */
|
|
164
|
+
|
|
165
|
+
.mobile {
|
|
166
|
+
@media $mobile {
|
|
167
|
+
display: none;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.desktop {
|
|
172
|
+
display: none;
|
|
173
|
+
|
|
174
|
+
@media $mobile {
|
|
175
|
+
display: block;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { Spoiler } from './'
|
|
4
|
+
import { PreviewWrapper } from '../_storybook/PreviewWrapper'
|
|
5
|
+
import styles from './Spoiler.stories.module.css'
|
|
6
|
+
|
|
7
|
+
import mock from './mock.json'
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: 'Main / Spoiler',
|
|
11
|
+
component: Spoiler,
|
|
12
|
+
parameters: {
|
|
13
|
+
themeWrapperSideBySide: true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const Example: React.FC = () => {
|
|
18
|
+
return (
|
|
19
|
+
<>
|
|
20
|
+
<div className={styles.root}>
|
|
21
|
+
<Spoiler block={mock} />
|
|
22
|
+
</div>
|
|
23
|
+
</>
|
|
24
|
+
)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export const Default: React.FC = () => (
|
|
28
|
+
<>
|
|
29
|
+
<PreviewWrapper theme="light">
|
|
30
|
+
<Example />
|
|
31
|
+
</PreviewWrapper>
|
|
32
|
+
<PreviewWrapper theme="dark">
|
|
33
|
+
<Example />
|
|
34
|
+
</PreviewWrapper>
|
|
35
|
+
</>
|
|
36
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
import { render } from '@testing-library/react'
|
|
3
|
+
|
|
4
|
+
import { Spoiler } from './'
|
|
5
|
+
import { SpoilerProps } from './Spoiler.types'
|
|
6
|
+
import styles from './Spoiler.module.css'
|
|
7
|
+
|
|
8
|
+
describe('Spoiler', () => {
|
|
9
|
+
let props: SpoilerProps
|
|
10
|
+
|
|
11
|
+
const renderComponent = () => render(<Spoiler {...props} />)
|
|
12
|
+
|
|
13
|
+
it('should have root style', () => {
|
|
14
|
+
const { getByTestId } = renderComponent()
|
|
15
|
+
|
|
16
|
+
const spoiler = getByTestId('spoiler')
|
|
17
|
+
|
|
18
|
+
expect(spoiler).toHaveClass(styles.root)
|
|
19
|
+
})
|
|
20
|
+
})
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React, { useState, useRef } from 'react'
|
|
2
|
+
import { SpoilerProps } from './Spoiler.types'
|
|
3
|
+
|
|
4
|
+
import makeClassName from '../utils/makeClassName'
|
|
5
|
+
import makeStyleContext from '../utils/makeStyleContext'
|
|
6
|
+
import postMessage from '../utils/postMessage'
|
|
7
|
+
|
|
8
|
+
import { RenderBlocks } from '../RenderBlocks'
|
|
9
|
+
import { Button } from '../Button'
|
|
10
|
+
import { SvgSymbol } from '../SvgSymbol'
|
|
11
|
+
|
|
12
|
+
import styles from './Spoiler.module.css'
|
|
13
|
+
|
|
14
|
+
export const Spoiler: React.FC<SpoilerProps> = ({
|
|
15
|
+
block: {
|
|
16
|
+
display,
|
|
17
|
+
button,
|
|
18
|
+
only_on: onlyOn,
|
|
19
|
+
btn_title: buttonTitle,
|
|
20
|
+
title,
|
|
21
|
+
blocks
|
|
22
|
+
},
|
|
23
|
+
styleContext
|
|
24
|
+
}) => {
|
|
25
|
+
const [spoiled, setSpoiled] = useState(false)
|
|
26
|
+
const ref = useRef(null)
|
|
27
|
+
|
|
28
|
+
const handleButtonClick = (): void => {
|
|
29
|
+
setSpoiled(!spoiled)
|
|
30
|
+
|
|
31
|
+
if (spoiled) {
|
|
32
|
+
postMessage('closeSpoiler', 'click')
|
|
33
|
+
const rect = ref.current.getBoundingClientRect()
|
|
34
|
+
if (rect.top < 0) {
|
|
35
|
+
ref.current.scrollIntoView({ behavior: 'smooth' })
|
|
36
|
+
}
|
|
37
|
+
} else {
|
|
38
|
+
postMessage('openSpoiler', 'click')
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
let classNames: (string[] | string | boolean)[][] = [
|
|
43
|
+
[styles.root, true],
|
|
44
|
+
[styles[onlyOn], !!onlyOn],
|
|
45
|
+
[styles[display], !!display && styles[display]],
|
|
46
|
+
[[styles.spoiled], !!spoiled]
|
|
47
|
+
]
|
|
48
|
+
|
|
49
|
+
if (styleContext) {
|
|
50
|
+
classNames = makeStyleContext(classNames, styleContext, styles)
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const buttonCollapse = button ? button.collapse : 'Свернуть'
|
|
54
|
+
const buttonExpande = button ? button.expand : buttonTitle
|
|
55
|
+
|
|
56
|
+
return (
|
|
57
|
+
<div ref={ref} className={makeClassName(classNames)} data-testid="spoiler">
|
|
58
|
+
<div className={styles.header}>{title && <h3>{title}</h3>}</div>
|
|
59
|
+
<div className={styles.body}>
|
|
60
|
+
{blocks.map(item => (
|
|
61
|
+
<RenderBlocks
|
|
62
|
+
key={item.id}
|
|
63
|
+
block={item}
|
|
64
|
+
styleContext={styleContext}
|
|
65
|
+
/>
|
|
66
|
+
))}
|
|
67
|
+
</div>
|
|
68
|
+
<div className={styles.footer}>
|
|
69
|
+
<Button
|
|
70
|
+
size="default"
|
|
71
|
+
theme="gray"
|
|
72
|
+
onClick={(): void => handleButtonClick()}
|
|
73
|
+
styleContext="isInSpoiler"
|
|
74
|
+
>
|
|
75
|
+
{spoiled ? buttonCollapse : buttonExpande}
|
|
76
|
+
<SvgSymbol icon="arrow" />
|
|
77
|
+
</Button>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
)
|
|
81
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "spoiler",
|
|
3
|
+
"title": "Фигуранты дела против Сергея Фургала",
|
|
4
|
+
"btn_title": "Обвиняемые и свидетели ",
|
|
5
|
+
"blocks": [
|
|
6
|
+
{
|
|
7
|
+
"type": "p",
|
|
8
|
+
"data": "<strong>Сергей Фургал</strong> — бывший губернатор Хабаровского края, арестован 9 июля,<a href=\"https://sledcom.ru/news/item/1480569/\" target=\"_blank\" rel=\"noopener\"> обвиняется</a> в организации убийств Евгения Зори, Олега Булатова и покушении на убийство Александра Смольского. По<a href=\"https://sledcom.ru/news/item/1483339/\" target=\"_blank\" rel=\"noopener\"> данным СК</a>, в 2004 году вместе с Николаем Мистрюковым он уже задерживался в качестве подозреваемого в убийстве Зори, но в 2004 году уголовное преследование Фургала было прекращено.",
|
|
9
|
+
"length": 362,
|
|
10
|
+
"id": "0-2199ee878d0e85daac2c80f8a94960476225226bcb9d4fe446e462d97e3acfa9"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"type": "p",
|
|
14
|
+
"data": "<strong>Николай Мистрюков</strong> — бывший деловой партнер Фургала и партнер его жены, Ларисы Стародубовой. Находился в СИЗО с 19 ноября до 10 сентября, ключевой свидетель обвинения, признал вину и переведен под домашний арест.",
|
|
15
|
+
"length": 211,
|
|
16
|
+
"id": "1-6cf50ace63107cf021c5c49c8536776435d470c872a37b11bf32e04a83859157"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "p",
|
|
20
|
+
"data": "<strong>Владимир Першин</strong> — бывший сотрудник уголовного розыска Хабаровска, осужденный в 2016 году за вымогательство. Еще один ключевой свидетель обвинения. ",
|
|
21
|
+
"length": 147,
|
|
22
|
+
"id": "2-39a95b2b3b5f5bb8dbd23576941020b54b4f5bfade9eac192aa48cc007ec25df"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "p",
|
|
26
|
+
"data": "<strong>Андрей Карепов</strong> — бывший сотрудник Фургала. Задержан 19 ноября, находится в СИЗО. Вину не признает. В конце августа, как сообщала его защита, был избит по дороге в следственный комитет. Избившие его люди требовали дать показания на Фургала. ",
|
|
27
|
+
"length": 240,
|
|
28
|
+
"id": "3-eae115529aa63044c041ba6bd17e99bb204c985b56ecb9bcfbcc95050c273892"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"type": "p",
|
|
32
|
+
"data": "<strong>Марат Кадыров</strong> — контролер аэропорта Менделеево на дальневосточном острове Кунашир. Задержан 19 ноября, обвиняется в том, что кинул гранату в гараж предпринимателя Александра Смольского. ",
|
|
33
|
+
"length": 186,
|
|
34
|
+
"id": "4-0b88a13469d697137b070feaa4914cc37f85dda4cab4dedf6767fb34a632c6ec"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "p",
|
|
38
|
+
"data": "<strong>Андрей Палей</strong> — предприниматель. Задержан 19 ноября. Обвиняется в убийстве Евгения Зори и Олега Булатова.",
|
|
39
|
+
"length": 104,
|
|
40
|
+
"id": "5-7f14330e3b1672618cecb7720806d0d075a6bead118925f711318689f3d9e06b"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"button": {
|
|
44
|
+
"expand": "Обвиняемые и свидетели ",
|
|
45
|
+
"collapse": "Свернуть"
|
|
46
|
+
},
|
|
47
|
+
"display": "default",
|
|
48
|
+
"id": "4-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
|
49
|
+
}
|