ecomlab-components-next 0.1.159 → 0.1.162

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 (333) hide show
  1. package/dist/common/headers.js +2 -2
  2. package/dist/common/hooks/hooks.js +108 -0
  3. package/dist/common/hooks/useResetOnBaseURL.js +15 -0
  4. package/dist/common/img/icon-delete.svg +3 -0
  5. package/dist/common/img/icon-edit.svg +3 -0
  6. package/dist/common/img/noPhoto.png +0 -0
  7. package/dist/common/img/time_icon.svg +5 -0
  8. package/dist/common/img/view_icon.svg +5 -0
  9. package/dist/common/styles/svg_img.scss +290 -0
  10. package/dist/common/svg_img.js +238 -0
  11. package/dist/common/validationFunc.js +14 -0
  12. package/dist/components/ArticleComponent/Article.js +252 -0
  13. package/dist/components/ArticleComponent/Article.scss +289 -0
  14. package/dist/components/ArticleElements/ShortTileArticleBox/ShortTileArticleBox.stories.js +1 -1
  15. package/dist/components/ArticleMain/ArticleMain.js +451 -0
  16. package/dist/components/ArticleMain/ArticleMain.scss +220 -0
  17. package/dist/components/ArticleMain/img/table_icon.svg +3 -0
  18. package/dist/components/ArticleMain/img/tile-long_icon.svg +3 -0
  19. package/dist/components/ArticleMain/img/tile_icon.svg +3 -0
  20. package/dist/components/ButtonColumn/ButtonColumn.js +113 -0
  21. package/dist/components/ButtonColumn/ButtonColumn.scss +117 -0
  22. package/dist/components/ButtonColumn/img/column.svg +7 -0
  23. package/dist/components/ButtonCopy/ButtonCopy.js +37 -0
  24. package/dist/components/ButtonCopy/ButtonCopy.scss +43 -0
  25. package/dist/components/ButtonCopy/img/copy.svg +3 -0
  26. package/dist/components/ButtonExport/ButtonExport.js +83 -0
  27. package/dist/components/ButtonExport/ButtonExport.scss +111 -0
  28. package/dist/components/ButtonExport/img/export.svg +8 -0
  29. package/dist/components/ButtonExport/img/pdf.svg +12 -0
  30. package/dist/components/ButtonExport/img/xlc.svg +11 -0
  31. package/dist/components/ButtonUpload/ButtonUpload.js +24 -0
  32. package/dist/components/ButtonUpload/ButtonUpload.scss +45 -0
  33. package/dist/components/ButtonUpload/img/upload_icon.svg +8 -0
  34. package/dist/components/ConstructorComponents/Tariff/TariffPlan.js +8 -5
  35. package/dist/components/Page404/Page404.js +36 -0
  36. package/dist/components/Page404/Page404.scss +67 -0
  37. package/dist/components/Page404/img/banner-404.svg +16 -0
  38. package/dist/components/ShareComponent/ShareComponent.js +152 -0
  39. package/dist/components/ShareComponent/ShareComponent.scss +53 -0
  40. package/dist/components/ShareComponent/img/copy_icon.svg +5 -0
  41. package/dist/components/ShareComponent/img/facebook_icon.svg +5 -0
  42. package/dist/components/ShareComponent/img/linkedin_icon.svg +6 -0
  43. package/dist/components/ShareComponent/img/ok_icon.svg +5 -0
  44. package/dist/components/ShareComponent/img/share_icon.svg +5 -0
  45. package/dist/components/ShareComponent/img/tg_icon.svg +5 -0
  46. package/dist/components/ShareComponent/img/vk_icon.svg +5 -0
  47. package/dist/components/ShareComponent/img/whatsapp_icon.svg +5 -0
  48. package/dist/components/ShareComponent/img/x_icon.svg +5 -0
  49. package/dist/components/Table/TableBox/TableBox.stories.js +1 -1
  50. package/dist/components/TableInput/TableInput.js +103 -0
  51. package/dist/components/TableInput/TableInput.scss +35 -0
  52. package/dist/components/TableWithoutData/TableWithoutData.js +25 -0
  53. package/dist/components/TableWithoutData/TableWithoutData.scss +32 -0
  54. package/dist/components/TableWithoutData/img/doc_icon.png +0 -0
  55. package/dist/fonts/GolosText/GolosText-Black.ttf +0 -0
  56. package/dist/fonts/GolosText/GolosText-Bold.ttf +0 -0
  57. package/dist/fonts/GolosText/GolosText-ExtraBold.ttf +0 -0
  58. package/dist/fonts/GolosText/GolosText-Medium.ttf +0 -0
  59. package/dist/fonts/GolosText/GolosText-Regular.ttf +0 -0
  60. package/dist/fonts/GolosText/GolosText-SemiBold.ttf +0 -0
  61. package/dist/fonts/Inter/Inter-Bold.otf +0 -0
  62. package/dist/fonts/Inter/Inter-Light.otf +0 -0
  63. package/dist/fonts/Inter/Inter-Medium.otf +0 -0
  64. package/dist/fonts/Inter/Inter-Regular.ttf +0 -0
  65. package/dist/fonts/Montserrat/Montserrat-Black.ttf +0 -0
  66. package/dist/fonts/Montserrat/Montserrat-BlackItalic.ttf +0 -0
  67. package/dist/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
  68. package/dist/fonts/Montserrat/Montserrat-BoldItalic.ttf +0 -0
  69. package/dist/fonts/Montserrat/Montserrat-ExtraBold.ttf +0 -0
  70. package/dist/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf +0 -0
  71. package/dist/fonts/Montserrat/Montserrat-ExtraLight.ttf +0 -0
  72. package/dist/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf +0 -0
  73. package/dist/fonts/Montserrat/Montserrat-Italic.ttf +0 -0
  74. package/dist/fonts/Montserrat/Montserrat-Light.ttf +0 -0
  75. package/dist/fonts/Montserrat/Montserrat-LightItalic.ttf +0 -0
  76. package/dist/fonts/Montserrat/Montserrat-Medium.ttf +0 -0
  77. package/dist/fonts/Montserrat/Montserrat-MediumItalic.ttf +0 -0
  78. package/dist/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
  79. package/dist/fonts/Montserrat/Montserrat-SemiBold.ttf +0 -0
  80. package/dist/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf +0 -0
  81. package/dist/fonts/Montserrat/Montserrat-Thin.ttf +0 -0
  82. package/dist/fonts/Montserrat/Montserrat-ThinItalic.ttf +0 -0
  83. package/dist/fonts/Nunito_Sans/NunitoSans-Black.ttf +0 -0
  84. package/dist/fonts/Nunito_Sans/NunitoSans-BlackItalic.ttf +0 -0
  85. package/dist/fonts/Nunito_Sans/NunitoSans-Bold.ttf +0 -0
  86. package/dist/fonts/Nunito_Sans/NunitoSans-BoldItalic.ttf +0 -0
  87. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraBold.ttf +0 -0
  88. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraBoldItalic.ttf +0 -0
  89. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraLight.ttf +0 -0
  90. package/dist/fonts/Nunito_Sans/NunitoSans-ExtraLightItalic.ttf +0 -0
  91. package/dist/fonts/Nunito_Sans/NunitoSans-Italic.ttf +0 -0
  92. package/dist/fonts/Nunito_Sans/NunitoSans-Light.ttf +0 -0
  93. package/dist/fonts/Nunito_Sans/NunitoSans-LightItalic.ttf +0 -0
  94. package/dist/fonts/Nunito_Sans/NunitoSans-Regular.ttf +0 -0
  95. package/dist/fonts/Nunito_Sans/NunitoSans-SemiBold.ttf +0 -0
  96. package/dist/fonts/Nunito_Sans/NunitoSans-SemiBoldItalic.ttf +0 -0
  97. package/dist/fonts/Rubik/Rubik-Black.ttf +0 -0
  98. package/dist/fonts/Rubik/Rubik-BlackItalic.ttf +0 -0
  99. package/dist/fonts/Rubik/Rubik-Bold.ttf +0 -0
  100. package/dist/fonts/Rubik/Rubik-BoldItalic.ttf +0 -0
  101. package/dist/fonts/Rubik/Rubik-ExtraBold.ttf +0 -0
  102. package/dist/fonts/Rubik/Rubik-ExtraBoldItalic.ttf +0 -0
  103. package/dist/fonts/Rubik/Rubik-Italic.ttf +0 -0
  104. package/dist/fonts/Rubik/Rubik-Light.ttf +0 -0
  105. package/dist/fonts/Rubik/Rubik-LightItalic.ttf +0 -0
  106. package/dist/fonts/Rubik/Rubik-Medium.ttf +0 -0
  107. package/dist/fonts/Rubik/Rubik-MediumItalic.ttf +0 -0
  108. package/dist/fonts/Rubik/Rubik-Regular.ttf +0 -0
  109. package/dist/fonts/Rubik/Rubik-SemiBold.ttf +0 -0
  110. package/dist/fonts/Rubik/Rubik-SemiBoldItalic.ttf +0 -0
  111. package/dist/index.js +7 -0
  112. package/dist/main.js +14 -0
  113. package/dist/pages/_app.js +12 -0
  114. package/dist/pages/_document.js +12 -0
  115. package/dist/pages/index.js +92 -0
  116. package/dist/stories/Article/Article.scss +471 -0
  117. package/dist/stories/Article/ArticleElement.js +108 -0
  118. package/dist/stories/Article/ArticleStorybook.scss +6 -0
  119. package/dist/stories/Article/ArticleView.js +440 -0
  120. package/dist/stories/Article/ArticleView.stories.js +263 -0
  121. package/dist/stories/Article/Feedback/Feedback.js +58 -0
  122. package/dist/stories/Article/Feedback/Feedback.scss +86 -0
  123. package/dist/stories/Article/FormBtn/FormBtn.js +170 -0
  124. package/dist/stories/Article/FormBtn/FormBtn.scss +446 -0
  125. package/dist/stories/Article/FormBtn/img/clos_icon.svg +6 -0
  126. package/dist/stories/Article/FormBtn/img/close-icon.svg +3 -0
  127. package/dist/stories/Article/ImgArticle/ImgArticle.js +204 -0
  128. package/dist/stories/Article/ImgArticle/ImgArticle.scss +140 -0
  129. package/dist/stories/Article/ListOfContent/ListOfContent.js +41 -0
  130. package/dist/stories/Article/ListOfContent/ListOfContent.scss +83 -0
  131. package/dist/stories/Article/ListOfContent/ListOfContent.stories.js +66 -0
  132. package/dist/stories/Article/ListOfContent/img/time_icon.svg +3 -0
  133. package/dist/stories/Article/ListOfContent/img/view_icon.svg +3 -0
  134. package/dist/stories/Article/RecommendationList/RecommendationList.js +31 -0
  135. package/dist/stories/Article/RecommendationList/RecommendationList.scss +41 -0
  136. package/dist/stories/Article/TextArticle/TextArticle.js +129 -0
  137. package/dist/stories/Article/TextArticle/TextArticle.scss +43 -0
  138. package/dist/stories/Article/TitleText/TitleText.js +30 -0
  139. package/dist/stories/Article/TitleText/TitleText.scss +33 -0
  140. package/dist/stories/Article/YellowInformationBox/YellowInformationBox.js +30 -0
  141. package/dist/stories/Article/YellowInformationBox/YellowInformationBox.scss +46 -0
  142. package/dist/stories/Article/YellowInformationBox/img/bell.svg +9 -0
  143. package/dist/stories/Article/img/bell.svg +9 -0
  144. package/dist/stories/Article/img/btn-add-round.svg +4 -0
  145. package/dist/stories/Article/img/calendar_icon.svg +6 -0
  146. package/dist/stories/Article/img/close-round.svg +3 -0
  147. package/dist/stories/Article/img/close.svg +9 -0
  148. package/dist/stories/Article/img/copy_icon.svg +5 -0
  149. package/dist/stories/Article/img/info.svg +9 -0
  150. package/dist/stories/Article/img/ok_icon.svg +5 -0
  151. package/dist/stories/Article/img/share_icon.svg +5 -0
  152. package/dist/stories/Article/img/tg_icon.svg +5 -0
  153. package/dist/stories/Article/img/time_icon.svg +6 -0
  154. package/dist/stories/Article/img/view_icon.svg +6 -0
  155. package/dist/stories/Article/img/vk_icon.svg +5 -0
  156. package/dist/stories/Article/img/whatsapp_icon.svg +5 -0
  157. package/dist/stories/ArticleMainContainer/ArticleMainContainer.js +540 -0
  158. package/dist/stories/ArticleMainContainer/ArticleMainContainer.scss +377 -0
  159. package/dist/stories/ArticleMainContainer/ArticleMainContainer.stories.js +75 -0
  160. package/dist/stories/ArticleMainContainer/main/page.js +1 -0
  161. package/dist/stories/ArticleMinBox/ArticleMinBox.js +172 -0
  162. package/dist/stories/ArticleMinBox/ArticleMinBox.scss +38 -0
  163. package/dist/stories/ArticleMinBox/ArticleMinBox.stories.js +56 -0
  164. package/dist/stories/BasicSelection/BasicSelection.js +143 -0
  165. package/dist/stories/BasicSelection/BasicSelection.scss +97 -0
  166. package/dist/stories/BasicSelection/BasicSelection.stories.js +32 -0
  167. package/dist/stories/Breadcrumb/Breadcrumb.js +113 -0
  168. package/dist/stories/Breadcrumb/Breadcrumb.scss +92 -0
  169. package/dist/stories/Breadcrumb/Breadcrums.stories.js +31 -0
  170. package/dist/stories/Breadcrumb/img/drop-right.svg +3 -0
  171. package/dist/stories/Breadcrumb/img/home_icon.svg +5 -0
  172. package/dist/stories/ButtonBasic/ButtonBasic.js +70 -0
  173. package/dist/stories/ButtonBasic/ButtonBasic.scss +242 -0
  174. package/dist/stories/ButtonBasic/ButtonBasic.stories.js +60 -0
  175. package/dist/stories/Checkbox/Checkbox.js +70 -0
  176. package/dist/stories/Checkbox/Checkbox.scss +128 -0
  177. package/dist/stories/Checkbox/Checkbox.stories.js +49 -0
  178. package/dist/stories/Checkbox/img/check.svg +3 -0
  179. package/dist/stories/CheckboxToggle/CheckboxToggle.js +54 -0
  180. package/dist/stories/CheckboxToggle/CheckboxToggle.scss +117 -0
  181. package/dist/stories/CheckboxToggle/CheckboxToggle.stories.js +26 -0
  182. package/dist/stories/DropDownSelector/DownSelector.js +352 -0
  183. package/dist/stories/DropDownSelector/DownSelector.stories.js +161 -0
  184. package/dist/stories/DropDownSelector/DropdownSelector.scss +272 -0
  185. package/dist/stories/DropDownSelector/img/close_icon.svg +6 -0
  186. package/dist/stories/DropDownSelector/img/close_icon_disabled.svg +6 -0
  187. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.js +162 -0
  188. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.scss +475 -0
  189. package/dist/stories/InputDinamycPlaceholder/InputDinamycPlaceholder.stories.js +50 -0
  190. package/dist/stories/InputDinamycPlaceholder/img/close_grey.svg +5 -0
  191. package/dist/stories/InputDinamycPlaceholder/img/close_red.svg +5 -0
  192. package/dist/stories/InputDinamycPlaceholder/img/hide.svg +12 -0
  193. package/dist/stories/InputDinamycPlaceholder/img/info_tooltip.svg +12 -0
  194. package/dist/stories/InputDinamycPlaceholder/img/show.svg +3 -0
  195. package/dist/stories/InputDynamicWidth/InputDynamicWidth.js +85 -0
  196. package/dist/stories/InputDynamicWidth/InputDynamicWidth.scss +98 -0
  197. package/dist/stories/InputDynamicWidth/InputDynamicWidth.stories.js +32 -0
  198. package/dist/stories/InputDynamicWidth/img/close_icon.svg +3 -0
  199. package/dist/stories/InputDynamicWidth/img/search_icon.svg +6 -0
  200. package/dist/stories/LongTileArticleBox/LongTileArticleBox.js +168 -0
  201. package/dist/stories/LongTileArticleBox/LongTileArticleBox.scss +360 -0
  202. package/dist/stories/LongTileArticleBox/LongTileArticleBox.stories.js +39 -0
  203. package/dist/stories/LongTileArticleBox/img/arrow_blue.svg +6 -0
  204. package/dist/stories/LongTileArticleBox/img/calendar_icon.svg +6 -0
  205. package/dist/stories/LongTileArticleBox/img/copy_icon.svg +5 -0
  206. package/dist/stories/LongTileArticleBox/img/ok_icon.svg +5 -0
  207. package/dist/stories/LongTileArticleBox/img/share_icon.svg +5 -0
  208. package/dist/stories/LongTileArticleBox/img/tag_icon.svg +5 -0
  209. package/dist/stories/LongTileArticleBox/img/tg_icon.svg +5 -0
  210. package/dist/stories/LongTileArticleBox/img/time_icon.svg +6 -0
  211. package/dist/stories/LongTileArticleBox/img/view_icon.svg +6 -0
  212. package/dist/stories/LongTileArticleBox/img/vk_icon.svg +5 -0
  213. package/dist/stories/LongTileArticleBox/img/whatsapp_icon.svg +5 -0
  214. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.js +128 -0
  215. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.scss +124 -0
  216. package/dist/stories/ModalArticleAddElement/ModalArticleAddElement.stories.js +19 -0
  217. package/dist/stories/ModalBitrixForm/ModalBitrixForm.js +236 -0
  218. package/dist/stories/ModalBitrixForm/ModalBitrixForm.scss +167 -0
  219. package/dist/stories/ModalBitrixForm/ModalBitrixForm.stories.js +101 -0
  220. package/dist/stories/ModalBitrixForm/img/close_icon.svg +3 -0
  221. package/dist/stories/ModalBitrixForm/img/done_icon.svg +3 -0
  222. package/dist/stories/ModalBitrixForm/img/ozon.svg +9 -0
  223. package/dist/stories/ModalBitrixForm/img/ozon_bkg.svg +9 -0
  224. package/dist/stories/MultilevelSidebar/MultilevelSidebar.js +472 -0
  225. package/dist/stories/MultilevelSidebar/MultilevelSidebar.scss +237 -0
  226. package/dist/stories/MultilevelSidebar/MultilevelSidebar.stories.js +80 -0
  227. package/dist/stories/MultilevelSidebar/MultilevelSidebarStorybook.scss +7 -0
  228. package/dist/stories/MultilevelSidebar/img/drop.svg +3 -0
  229. package/dist/stories/MultilevelSidebar/img/settings.svg +4 -0
  230. package/dist/stories/NoArticles/NoArticles.js +29 -0
  231. package/dist/stories/NoArticles/NoArticles.scss +26 -0
  232. package/dist/stories/NoArticles/NoArticles.stories.js +20 -0
  233. package/dist/stories/NoArticles/img/banner.svg +266 -0
  234. package/dist/stories/Paginator/Paginator.js +254 -0
  235. package/dist/stories/Paginator/Paginator.scss +168 -0
  236. package/dist/stories/Paginator/Paginator.stories.js +56 -0
  237. package/dist/stories/Paginator/img/arrow_blue.svg +3 -0
  238. package/dist/stories/Paginator/img/arrow_next.svg +3 -0
  239. package/dist/stories/Paginator/img/arrow_prev.svg +3 -0
  240. package/dist/stories/ResultsFound/ResultsFound.js +269 -0
  241. package/dist/stories/ResultsFound/ResultsFound.scss +139 -0
  242. package/dist/stories/ResultsFound/ResultsFound.stories.js +25 -0
  243. package/dist/stories/ResultsFound/img/arrow_icon.svg +5 -0
  244. package/dist/stories/ResultsFound/img/no-data_img.svg +13 -0
  245. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.js +160 -0
  246. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.scss +827 -0
  247. package/dist/stories/ShortTileArticleBox/ShortTileArticleBox.stories.js +42 -0
  248. package/dist/stories/ShortTileArticleBox/img/arrow_blue.svg +6 -0
  249. package/dist/stories/ShortTileArticleBox/img/calendar_icon.svg +6 -0
  250. package/dist/stories/ShortTileArticleBox/img/copy_icon.svg +5 -0
  251. package/dist/stories/ShortTileArticleBox/img/ok_icon.svg +5 -0
  252. package/dist/stories/ShortTileArticleBox/img/share_icon.svg +5 -0
  253. package/dist/stories/ShortTileArticleBox/img/tag_icon.svg +5 -0
  254. package/dist/stories/ShortTileArticleBox/img/tg_icon.svg +5 -0
  255. package/dist/stories/ShortTileArticleBox/img/time_icon.svg +6 -0
  256. package/dist/stories/ShortTileArticleBox/img/view_icon.svg +6 -0
  257. package/dist/stories/ShortTileArticleBox/img/vk_icon.svg +5 -0
  258. package/dist/stories/ShortTileArticleBox/img/whatsapp_icon.svg +5 -0
  259. package/dist/stories/SliderCarousel/SliderCarousel.js +77 -0
  260. package/dist/stories/SliderCarousel/SliderCarousel.scss +85 -0
  261. package/dist/stories/SliderCarousel/SliderCarousel.stories.js +29 -0
  262. package/dist/stories/SliderCarousel/img/no_image.svg +3 -0
  263. package/dist/stories/Table/Filters/OptionsDate.js +208 -0
  264. package/dist/stories/Table/Filters/OptionsImage.js +92 -0
  265. package/dist/stories/Table/Filters/OptionsImage.scss +10 -0
  266. package/dist/stories/Table/Filters/OptionsList.js +244 -0
  267. package/dist/stories/Table/Filters/OptionsNumber.js +220 -0
  268. package/dist/stories/Table/Filters/OptionsNumber.scss +100 -0
  269. package/dist/stories/Table/Filters/OptionsText.js +165 -0
  270. package/dist/stories/Table/Filters/OptionsText.scss +71 -0
  271. package/dist/stories/Table/Filters/img/FilterDefault.js +26 -0
  272. package/dist/stories/Table/Filters/img/FilterReset.js +41 -0
  273. package/dist/stories/Table/Filters/img/dropFilters.png +0 -0
  274. package/dist/stories/Table/Filters/img/filterDefault.svg +3 -0
  275. package/dist/stories/Table/Filters/img/filter_blue.svg +3 -0
  276. package/dist/stories/Table/Filters/img/filter_blue_background.svg +5 -0
  277. package/dist/stories/Table/Filters/img/filter_reset.svg +7 -0
  278. package/dist/stories/Table/InputWithState/InputWithState.js +36 -0
  279. package/dist/stories/Table/RenderFiltersTh/RenderFiltersTh.js +140 -0
  280. package/dist/stories/Table/RenderTd/RenderTd.js +19 -0
  281. package/dist/stories/Table/RenderTh/RenderTh.js +112 -0
  282. package/dist/stories/Table/Table.js +1568 -0
  283. package/dist/stories/Table/Table.scss +1524 -0
  284. package/dist/stories/Table/Table.stories.js +83 -0
  285. package/dist/stories/Table/TableChartTd/TableChartTd.js +172 -0
  286. package/dist/stories/Table/TableChartTd/TableChartTd.scss +0 -0
  287. package/dist/stories/Table/TdDate/TdDate.js +36 -0
  288. package/dist/stories/Table/TdDate/TdDate.scss +0 -0
  289. package/dist/stories/Table/TdDate.js +34 -0
  290. package/dist/stories/Table/TypeTdImage.js +85 -0
  291. package/dist/stories/Table/img/Search.png +0 -0
  292. package/dist/stories/Table/img/SortArrow.js +12 -0
  293. package/dist/stories/Table/img/SortArrowUp.js +12 -0
  294. package/dist/stories/Table/img/SortTable.js +14 -0
  295. package/dist/stories/Table/img/close_icon.svg +7 -0
  296. package/dist/stories/Table/img/close_white.svg +3 -0
  297. package/dist/stories/Table/img/context-menu.svg +6 -0
  298. package/dist/stories/Table/img/contextMenuBtn.png +0 -0
  299. package/dist/stories/Table/img/delete_icon.svg +8 -0
  300. package/dist/stories/Table/img/dropFilters.png +0 -0
  301. package/dist/stories/Table/img/filter.png +0 -0
  302. package/dist/stories/Table/img/filterDefault.png +0 -0
  303. package/dist/stories/Table/img/filter_blue.svg +3 -0
  304. package/dist/stories/Table/img/filter_blue_background.svg +5 -0
  305. package/dist/stories/Table/img/imageNotFound.svg +3 -0
  306. package/dist/stories/Table/img/location.svg +3 -0
  307. package/dist/stories/Table/img/sort_arrow_down.svg +6 -0
  308. package/dist/stories/Table/img/sort_arrow_up.svg +4 -0
  309. package/dist/stories/Table/img/sort_table.svg +8 -0
  310. package/dist/stories/Table/svg_img.js +8 -0
  311. package/dist/stories/TableBox/TableBox.js +304 -0
  312. package/dist/stories/TableBox/TableBox.scss +418 -0
  313. package/dist/stories/TableBox/TableBox.stories.js +124 -0
  314. package/dist/stories/TableBox/img/delete_icon.svg +9 -0
  315. package/dist/stories/TableBox/img/forward_icon.svg +9 -0
  316. package/dist/stories/TableBox/img/more_icon.svg +10 -0
  317. package/dist/stories/TableBox/img_stories/tag_icon.svg +5 -0
  318. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.js +91 -0
  319. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.scss +124 -0
  320. package/dist/stories/TextareaDynamicPlaceholder/TextareaDynamicPlaceholder.stories.js +29 -0
  321. package/dist/stories/TitleContentEditable/TitleContentEditable.js +71 -0
  322. package/dist/stories/TitleContentEditable/TitleContentEditable.scss +69 -0
  323. package/dist/stories/TitleContentEditable/TitleContentEditable.stories.js +37 -0
  324. package/dist/stories/ViewSwitch/ViewSwitch.js +48 -0
  325. package/dist/stories/ViewSwitch/ViewSwitch.scss +135 -0
  326. package/dist/stories/ViewSwitch/ViewSwitch.stories.js +48 -0
  327. package/dist/stories/ViewSwitch/img/Chat.js +24 -0
  328. package/dist/stories/ViewSwitch/img/Table.js +21 -0
  329. package/dist/stories/ViewSwitch/img/Tile.js +20 -0
  330. package/dist/stories/ViewSwitch/img/TileLong.js +20 -0
  331. package/dist/styles/font.scss +93 -0
  332. package/dist/styles/globals.scss +66 -0
  333. package/package.json +1 -1
@@ -0,0 +1,827 @@
1
+ @import url('../../styles/font.scss');
2
+ @import url('../../styles/globals.scss');
3
+
4
+ .tile-short {
5
+ max-width: 342px;
6
+ width: 100%;
7
+ min-width: 280px;
8
+
9
+ .link-blue {
10
+ display: flex;
11
+ align-items: center;
12
+ width: 100%;
13
+ justify-content: flex-end;
14
+ gap: 8px;
15
+ color: #4285F4;
16
+ font-family: Inter;
17
+ font-size: 12px;
18
+ font-style: normal;
19
+ font-weight: 600;
20
+ line-height: 22px;
21
+ }
22
+
23
+ .article-min {
24
+ display: flex;
25
+ flex-direction: column;
26
+ flex-shrink: 1;
27
+ width: 100%;
28
+ border: 2px solid #F0F2F4;
29
+ //overflow: hidden;
30
+ // padding: 12px 12px 12px;
31
+ border-radius: 10px;
32
+ //aspect-ratio: 1/2;
33
+ min-height: 473px;
34
+ justify-content: space-between;
35
+
36
+ &:hover {
37
+ border: 2px solid #434C5B;
38
+
39
+ .content-box {
40
+ background-color: #F9FAFB;
41
+ }
42
+ }
43
+
44
+ .img-content {
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
48
+ padding: 16px;
49
+ height: calc(230px);
50
+ min-height: calc(230px);
51
+ background: #F0F2F4;
52
+ width: 100%;
53
+ margin-left: auto;
54
+ margin-right: auto;
55
+ aspect-ratio: 1/0.53;
56
+ position: relative;
57
+ border-radius: 8px 8px 0 0;
58
+
59
+ .img-box {
60
+ width: 100%;
61
+ height: 100%;
62
+ border: 5px solid #fff;
63
+ background-color: #fff;
64
+ border-radius: 10px;
65
+ overflow: hidden;
66
+ }
67
+
68
+ // border: 1px solid #AAAAAA;
69
+
70
+ .img-box {}
71
+
72
+
73
+
74
+ img {
75
+ display: inline-block;
76
+ max-width: 100%;
77
+ width: 100%;
78
+ height: 100%;
79
+ object-fit: contain;
80
+ border-radius: 8px;
81
+ }
82
+ }
83
+
84
+ .tag-box {
85
+ display: flex;
86
+ gap: 14px;
87
+ align-items: flex-start;
88
+ flex-wrap: nowrap;
89
+ min-height: 16px;
90
+ overflow: hidden;
91
+
92
+ .tag {
93
+ gap: 4px;
94
+ white-space: nowrap;
95
+ align-items: center;
96
+ font-size: 12px;
97
+ color: #9959FC;
98
+ font-family: "Golos Text";
99
+ font-size: 14px;
100
+ font-style: normal;
101
+ font-weight: 500;
102
+ line-height: 16px;
103
+ overflow: hidden;
104
+ text-overflow: ellipsis;
105
+ }
106
+ }
107
+
108
+ .content-box {
109
+ padding: 16px;
110
+ height: 100%;
111
+ display: flex;
112
+ flex-direction: column;
113
+ justify-content: space-between;
114
+ gap: 8px;
115
+ background-color: #fff;
116
+ border-radius: 8px;
117
+
118
+ .title {
119
+ color: #2B2B46;
120
+ font-family: "Golos Text";
121
+ font-size: 20px;
122
+ font-style: normal;
123
+ font-weight: 600;
124
+ line-height: 24px;
125
+ display: -webkit-box;
126
+ -webkit-line-clamp: 2; // количество строк
127
+ -webkit-box-orient: vertical;
128
+ overflow: hidden;
129
+ hyphens: auto;
130
+ min-height: 48px;
131
+
132
+ b {
133
+ background-color: #fdfd78;
134
+ }
135
+ }
136
+
137
+ .description-content {
138
+ margin-top: 2px;
139
+
140
+ .text_description {
141
+ color: #5D5D75;
142
+ font-family: "Golos Text";
143
+ font-size: 14px;
144
+ font-style: normal;
145
+ font-weight: 400;
146
+ line-height: 22px;
147
+ display: -webkit-box;
148
+ -webkit-line-clamp: 3;
149
+ -webkit-box-orient: vertical;
150
+ overflow: hidden;
151
+ hyphens: auto;
152
+ min-height: 66px;
153
+
154
+ b {
155
+ background-color: #fdfd78;
156
+ }
157
+
158
+ }
159
+
160
+ .btn-box {
161
+ display: none;
162
+ opacity: 0;
163
+ visibility: hidden;
164
+ // transition: 0.3s;
165
+ }
166
+ }
167
+
168
+ .text_grey {
169
+ // white-space: nowrap;
170
+ text-overflow: ellipsis;
171
+ overflow: hidden;
172
+ font-size: 14px;
173
+ font-size: 12px;
174
+ color: #AAAAAA;
175
+ overflow: hidden;
176
+ }
177
+
178
+ .top-box {
179
+ display: flex;
180
+ flex-direction: column;
181
+ gap: 12px;
182
+ }
183
+
184
+ .bottom-box {
185
+ display: flex;
186
+ flex-direction: column;
187
+ gap: 12px;
188
+ }
189
+
190
+
191
+ }
192
+
193
+ .text-and-info-box {
194
+ display: flex;
195
+ flex-direction: column;
196
+ gap: 17px;
197
+ width: 100%;
198
+
199
+ .top-info,
200
+ .bottom-info {
201
+ display: flex;
202
+ justify-content: space-between;
203
+ align-items: center;
204
+ width: 100%;
205
+
206
+ .author-box {
207
+ display: flex;
208
+ align-items: center;
209
+ gap: 8px;
210
+ }
211
+
212
+ .author-avatar {
213
+ display: flex;
214
+ align-items: center;
215
+ justify-content: center;
216
+ width: 24px;
217
+ height: 24px;
218
+ min-width: 24px;
219
+ background-color: #27BC62;
220
+ color: #FFF;
221
+ text-align: center;
222
+ font-family: NunitoSans;
223
+ border-radius: 50%;
224
+ font-size: 10px;
225
+ font-style: normal;
226
+ font-weight: 700;
227
+ line-height: 12px;
228
+ }
229
+
230
+ .text,
231
+ .text_grey {
232
+ display: -webkit-box;
233
+ -webkit-line-clamp: 2; // количество строк
234
+ -webkit-box-orient: vertical;
235
+ overflow: hidden;
236
+ word-break: break-word;
237
+ hyphens: auto;
238
+ color: #2B2B46;
239
+ font-family: "Golos Text";
240
+ font-size: 14px;
241
+ font-style: normal;
242
+ font-weight: 500;
243
+ line-height: 18px;
244
+ }
245
+ }
246
+
247
+ .top-info {
248
+
249
+ .text,
250
+ .text_grey {
251
+ color: #5D5D75;
252
+ font-family: "Golos Text";
253
+ font-size: 12px;
254
+ font-style: normal;
255
+ font-weight: 500;
256
+ line-height: 16px;
257
+
258
+ .author-avatar {
259
+ display: flex;
260
+ align-items: center;
261
+ justify-content: center;
262
+ width: 32px;
263
+ height: 32px;
264
+ min-width: 32px;
265
+ background-color: #27BC62;
266
+ color: #FFF;
267
+ text-align: center;
268
+ font-family: NunitoSans;
269
+ border-radius: 50%;
270
+ font-size: 12px;
271
+ font-style: normal;
272
+ font-weight: 700;
273
+ line-height: 12px;
274
+ }
275
+ }
276
+ }
277
+
278
+ .date-box,
279
+ .time-box,
280
+ .view-box {
281
+ display: flex;
282
+ align-items: center;
283
+ gap: 6px;
284
+
285
+ .icon-box {
286
+ display: flex;
287
+ align-items: center;
288
+ justify-content: center;
289
+ border-radius: 4px;
290
+ // border: 1px solid #EAECEA;
291
+ background-color: #fff;
292
+ }
293
+ }
294
+
295
+ .info-box {
296
+ display: flex;
297
+ align-items: end;
298
+ gap: 14px;
299
+
300
+
301
+
302
+ .text,
303
+ .text_grey {
304
+ white-space: nowrap;
305
+ color: #0B110B;
306
+ text-align: right;
307
+ font-family: NunitoSans;
308
+ font-size: 14px;
309
+ font-style: normal;
310
+ font-weight: 700;
311
+ line-height: 16px;
312
+
313
+ span {
314
+ color: #B4B8B4;
315
+ font-family: NunitoSans;
316
+ font-size: 14px;
317
+ font-style: normal;
318
+ font-weight: 300;
319
+ line-height: 16px;
320
+ }
321
+
322
+ .info-box {
323
+ display: flex;
324
+ flex-direction: column;
325
+ align-items: end;
326
+ gap: 4px;
327
+
328
+ .time-box,
329
+ .view-box {
330
+ display: flex;
331
+ align-items: center;
332
+ gap: 5px;
333
+
334
+ .icon-box {
335
+ display: flex;
336
+ align-items: center;
337
+ justify-content: center;
338
+ border-radius: 4px;
339
+ border: 1px solid #EAECEA;
340
+ width: 24px;
341
+ height: 24px;
342
+ }
343
+
344
+
345
+ }
346
+
347
+ }
348
+
349
+
350
+ }
351
+ }
352
+ }
353
+
354
+ .toolbar-bottom {
355
+ display: flex;
356
+ gap: 16px;
357
+ align-items: start;
358
+
359
+ .author {
360
+ display: flex;
361
+ justify-content: center;
362
+ align-items: center;
363
+ color: #888888;
364
+ font-size: 12px;
365
+ height: 23px;
366
+ min-height: 23px;
367
+ max-height: 23px;
368
+ white-space: nowrap;
369
+ }
370
+ }
371
+ }
372
+ }
373
+
374
+ @media (max-width: 1000px) {
375
+ .tile-short {
376
+ width: calc(50% - 15px);
377
+ min-width: 150px;
378
+
379
+ .article-min {
380
+ min-height: auto;
381
+
382
+ .img-content {
383
+ min-height: 160px;
384
+ height: 160px;
385
+ padding: 8px;
386
+ aspect-ratio: auto;
387
+ }
388
+
389
+ .tag-box {
390
+ .tag {}
391
+ }
392
+
393
+ .content-box {
394
+ padding: 8px;
395
+
396
+ .title {
397
+ font-size: 14px;
398
+ line-height: 20px;
399
+ -webkit-line-clamp: 2; // количество строк
400
+ min-height: 40px;
401
+ }
402
+ }
403
+
404
+ .text-and-info-box {
405
+
406
+ .top-info,
407
+ .bottom-info {
408
+ flex-direction: column;
409
+ align-items: flex-start;
410
+ }
411
+
412
+ .top-info {
413
+ gap: 4px;
414
+
415
+ .text,
416
+ .text_grey {
417
+ color: #5D5D75;
418
+ font-family: "Golos Text";
419
+ font-size: 12px;
420
+ font-style: normal;
421
+ font-weight: 500;
422
+ line-height: 16px;
423
+ }
424
+ }
425
+
426
+ .date-box,
427
+ .time-box,
428
+ .view-box {
429
+ display: flex;
430
+ align-items: center;
431
+ gap: 6px;
432
+
433
+ img {
434
+ width: 14px;
435
+ height: 14px;
436
+ }
437
+
438
+ .icon-box {
439
+ display: flex;
440
+ align-items: center;
441
+ justify-content: center;
442
+ border-radius: 4px;
443
+ // border: 1px solid #EAECEA;
444
+ background-color: #fff;
445
+ }
446
+ }
447
+
448
+ .info-box {
449
+ flex-direction: column;
450
+ gap: 4px;
451
+ width: 100%;
452
+ align-items: flex-start;
453
+
454
+ .text,
455
+ .text_grey {
456
+ white-space: nowrap;
457
+ color: #5D5D75;
458
+ font-family: "Golos Text";
459
+ font-size: 11px;
460
+ font-style: normal;
461
+ font-weight: 500;
462
+ line-height: 16px;
463
+
464
+ span {
465
+ color: #B4B8B4;
466
+ font-family: NunitoSans;
467
+ font-size: 14px;
468
+ font-style: normal;
469
+ font-weight: 300;
470
+ line-height: 16px;
471
+ }
472
+
473
+ .info-box {
474
+ display: flex;
475
+ flex-direction: column;
476
+ align-items: start;
477
+ gap: 4px;
478
+
479
+ .time-box,
480
+ .view-box {
481
+ display: flex;
482
+ align-items: center;
483
+ gap: 5px;
484
+
485
+ .icon-box {
486
+ display: flex;
487
+ align-items: center;
488
+ justify-content: center;
489
+ border-radius: 4px;
490
+ border: 1px solid #EAECEA;
491
+ width: 24px;
492
+ height: 24px;
493
+ }
494
+ }
495
+ }
496
+ }
497
+ }
498
+
499
+ .bottom-info {
500
+ .text_grey {
501
+ color: #2B2B46;
502
+ font-family: "Golos Text";
503
+ font-size: 12px;
504
+ font-style: normal;
505
+ font-weight: 500;
506
+ line-height: 16px;
507
+ white-space: wrap;
508
+ display: -webkit-box;
509
+ -webkit-line-clamp: 1; // количество строк
510
+ -webkit-box-orient: vertical;
511
+ overflow: hidden;
512
+ hyphens: auto;
513
+ }
514
+ }
515
+ }
516
+ }
517
+
518
+ }
519
+ }
520
+
521
+ @media (max-width: 430px) {
522
+ .tile-short {
523
+ width: calc(50% - 3px);
524
+ min-width: 146px;
525
+
526
+ .article-min {
527
+ min-height: auto;
528
+
529
+ .img-content {
530
+ min-height: 160px;
531
+ height: 160px;
532
+ padding: 8px;
533
+ aspect-ratio: auto;
534
+ }
535
+
536
+ .tag-box {
537
+ .tag {}
538
+ }
539
+
540
+ .content-box {
541
+ padding: 8px;
542
+
543
+ .title {
544
+ font-size: 14px;
545
+ line-height: 20px;
546
+ -webkit-line-clamp: 3; // количество строк
547
+ min-height: 60px;
548
+ }
549
+
550
+ .description-content {
551
+ display: none;
552
+
553
+ .text_description {}
554
+
555
+ .btn-box {}
556
+ }
557
+
558
+ .text_grey {}
559
+
560
+ .top-box {}
561
+ }
562
+
563
+ .text-and-info-box {
564
+
565
+ .top-info,
566
+ .bottom-info {
567
+ flex-direction: column;
568
+ align-items: flex-start;
569
+ }
570
+
571
+ .top-info {
572
+ gap: 4px;
573
+
574
+ .text,
575
+ .text_grey {
576
+ color: #5D5D75;
577
+ font-family: "Golos Text";
578
+ font-size: 12px;
579
+ font-style: normal;
580
+ font-weight: 500;
581
+ line-height: 16px;
582
+ }
583
+ }
584
+
585
+ .date-box,
586
+ .time-box,
587
+ .view-box {
588
+ display: flex;
589
+ align-items: center;
590
+ gap: 6px;
591
+
592
+ img {
593
+ width: 14px;
594
+ height: 14px;
595
+ }
596
+
597
+ .icon-box {
598
+ display: flex;
599
+ align-items: center;
600
+ justify-content: center;
601
+ border-radius: 4px;
602
+ // border: 1px solid #EAECEA;
603
+ background-color: #fff;
604
+ }
605
+ }
606
+
607
+ .info-box {
608
+ flex-direction: column;
609
+ gap: 4px;
610
+ width: 100%;
611
+ align-items: flex-start;
612
+
613
+ .text,
614
+ .text_grey {
615
+ white-space: nowrap;
616
+ color: #5D5D75;
617
+ font-family: "Golos Text";
618
+ font-size: 11px;
619
+ font-style: normal;
620
+ font-weight: 500;
621
+ line-height: 16px;
622
+
623
+ span {
624
+ color: #B4B8B4;
625
+ font-family: NunitoSans;
626
+ font-size: 14px;
627
+ font-style: normal;
628
+ font-weight: 300;
629
+ line-height: 16px;
630
+ }
631
+
632
+ .info-box {
633
+ display: flex;
634
+ flex-direction: column;
635
+ align-items: start;
636
+ gap: 4px;
637
+
638
+ .time-box,
639
+ .view-box {
640
+ display: flex;
641
+ align-items: center;
642
+ gap: 5px;
643
+
644
+ .icon-box {
645
+ display: flex;
646
+ align-items: center;
647
+ justify-content: center;
648
+ border-radius: 4px;
649
+ border: 1px solid #EAECEA;
650
+ width: 24px;
651
+ height: 24px;
652
+ }
653
+ }
654
+ }
655
+ }
656
+ }
657
+
658
+ .bottom-info {
659
+ .text_grey {
660
+ color: #2B2B46;
661
+ font-family: "Golos Text";
662
+ font-size: 12px;
663
+ font-style: normal;
664
+ font-weight: 500;
665
+ line-height: 16px;
666
+ white-space: wrap;
667
+ display: -webkit-box;
668
+ -webkit-line-clamp: 2; // количество строк
669
+ -webkit-box-orient: vertical;
670
+ overflow: hidden;
671
+ hyphens: auto;
672
+ min-height: 32px;
673
+ }
674
+ }
675
+ }
676
+ }
677
+ }
678
+ }
679
+
680
+ // @media (max-width: 430px) {
681
+ // .tile-short {
682
+ // .article-min {
683
+ // .img-content {
684
+ // aspect-ratio: auto;
685
+ // }
686
+
687
+ // .tag-box {
688
+ // .tag {}
689
+ // }
690
+
691
+ // .content-box {
692
+ // .title {
693
+ // font-size: 18px;
694
+ // }
695
+
696
+ // .description-content {
697
+ // margin-top: 2px;
698
+
699
+ // .text_description {}
700
+
701
+ // .btn-box {}
702
+ // }
703
+
704
+ // .text_grey {}
705
+
706
+ // .top-box {}
707
+ // }
708
+
709
+ // .bottom-box {}
710
+ // }
711
+
712
+ // .text-and-info-box {
713
+ // display: flex;
714
+ // flex-direction: column;
715
+ // gap: 17px;
716
+ // width: 100%;
717
+
718
+ // .top-info,
719
+ // .bottom-info {
720
+ // display: flex;
721
+ // justify-content: space-between;
722
+ // align-items: center;
723
+ // width: 100%;
724
+
725
+ // .text,
726
+ // .text_grey {
727
+ // white-space: nowrap;
728
+ // color: #2B2B46;
729
+ // font-family: "Golos Text";
730
+ // font-size: 14px;
731
+ // font-style: normal;
732
+ // font-weight: 500;
733
+ // line-height: 18px;
734
+ // }
735
+ // }
736
+
737
+ // .top-info {
738
+
739
+ // .text,
740
+ // .text_grey {
741
+ // color: #5D5D75;
742
+ // font-family: "Golos Text";
743
+ // font-size: 12px;
744
+ // font-style: normal;
745
+ // font-weight: 500;
746
+ // line-height: 16px;
747
+ // }
748
+ // }
749
+
750
+ // .date-box,
751
+ // .time-box,
752
+ // .view-box {
753
+ // display: flex;
754
+ // align-items: center;
755
+ // gap: 6px;
756
+
757
+ // .icon-box {
758
+ // display: flex;
759
+ // align-items: center;
760
+ // justify-content: center;
761
+ // border-radius: 4px;
762
+ // // border: 1px solid #EAECEA;
763
+ // background-color: #fff;
764
+ // }
765
+ // }
766
+
767
+ // .info-box {
768
+ // display: flex;
769
+ // align-items: end;
770
+ // gap: 14px;
771
+
772
+
773
+
774
+ // .text,
775
+ // .text_grey {
776
+ // white-space: nowrap;
777
+ // color: #0B110B;
778
+ // text-align: right;
779
+ // font-family: NunitoSans;
780
+ // font-size: 14px;
781
+ // font-style: normal;
782
+ // font-weight: 700;
783
+ // line-height: 16px;
784
+
785
+ // span {
786
+ // color: #B4B8B4;
787
+ // font-family: NunitoSans;
788
+ // font-size: 14px;
789
+ // font-style: normal;
790
+ // font-weight: 300;
791
+ // line-height: 16px;
792
+ // }
793
+
794
+ // .info-box {
795
+ // display: flex;
796
+ // flex-direction: column;
797
+ // align-items: end;
798
+ // gap: 4px;
799
+
800
+ // .time-box,
801
+ // .view-box {
802
+ // display: flex;
803
+ // align-items: center;
804
+ // gap: 5px;
805
+
806
+ // .icon-box {
807
+ // display: flex;
808
+ // align-items: center;
809
+ // justify-content: center;
810
+ // border-radius: 4px;
811
+ // border: 1px solid #EAECEA;
812
+ // width: 24px;
813
+ // height: 24px;
814
+ // }
815
+
816
+
817
+ // }
818
+
819
+ // }
820
+
821
+
822
+ // }
823
+ // }
824
+ // }
825
+
826
+ // }
827
+ // }