From 49f07e2ba593829dd785993d485155a09289c598 Mon Sep 17 00:00:00 2001 From: Mikhail Golbakh Date: Fri, 2 Aug 2024 18:27:50 +0200 Subject: [PATCH] feat(libraries): add data-source (#242) --- public/locales/en/libraries-info.json | 3 ++- public/locales/ru/libraries-info.json | 3 ++- src/libs.mjs | 27 ++++++++++++++++++++++++--- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/public/locales/en/libraries-info.json b/public/locales/en/libraries-info.json index 1c47647e0e50..7a507445f5e7 100644 --- a/public/locales/en/libraries-info.json +++ b/public/locales/en/libraries-info.json @@ -29,5 +29,6 @@ "description_stylelint-config": "Stylelint configuration preset for Gravity UI projects.", "description_babel-preset": "Babel configuration preset for Gravity UI projects.", "description_browserslist-config": "Browserslist confugiration preset used in our services.", - "description_markdown-editor": "A powerful tool for working with Markdown, which combines WYSIWYG and Markup modes." + "description_markdown-editor": "A powerful tool for working with Markdown, which combines WYSIWYG and Markup modes.", + "description_data-source": "A wrapper around data fetching." } diff --git a/public/locales/ru/libraries-info.json b/public/locales/ru/libraries-info.json index 7d9a24c31320..7d1796c712a6 100644 --- a/public/locales/ru/libraries-info.json +++ b/public/locales/ru/libraries-info.json @@ -29,5 +29,6 @@ "description_stylelint-config": "Пресет настройки Stylelint для проектов Gravity UI.", "description_babel-preset": "Пресет настройки Babel для проектов Gravity UI.", "description_browserslist-config": "Пресет настройки Browserslist для проектов Gravity UI.", - "description_markdown-editor": "Мощный инструмент для работы с Markdown, который сочетает в себе режимы WYSIWYG и разметки." + "description_markdown-editor": "Мощный инструмент для работы с Markdown, который сочетает в себе режимы WYSIWYG и разметки.", + "description_data-source": "Библиотека-обертка над загрузкой данных." } \ No newline at end of file diff --git a/src/libs.mjs b/src/libs.mjs index 058296aa14af..d508da821345 100644 --- a/src/libs.mjs +++ b/src/libs.mjs @@ -19,10 +19,18 @@ export const libs = [ title: 'Markdown editor', primary: false, landing: false, - tags: ['markdown', 'prosemirror', 'wysiwyg', 'codemirror', 'yfm', 'diplodoc', 'gfm', 'react'], + tags: [ + 'markdown', + 'prosemirror', + 'wysiwyg', + 'codemirror', + 'yfm', + 'diplodoc', + 'gfm', + 'react', + ], storybookUrl: 'https://preview.gravity-ui.com/md-editor/', - readmeUrl: - 'https://raw.githubusercontent.com/gravity-ui/markdown-editor/main/README.md', + readmeUrl: 'https://raw.githubusercontent.com/gravity-ui/markdown-editor/main/README.md', changelogUrl: 'https://raw.githubusercontent.com/gravity-ui/markdown-editor/main/CHANGELOG.md', mainBranch: 'main', @@ -350,6 +358,19 @@ export const libs = [ changelogUrl: 'https://raw.githubusercontent.com/gravity-ui/i18n/main/CHANGELOG.md', mainBranch: 'main', }, + { + id: 'data-source', + githubId: 'gravity-ui/data-source', + npmId: '@gravity-ui/data-source', + title: 'Data Source', + primary: false, + landing: false, + tags: ['ui'], + storybookUrl: '', + readmeUrl: 'https://raw.githubusercontent.com/gravity-ui/data-source/main/README.md', + changelogUrl: 'https://raw.githubusercontent.com/gravity-ui/data-source/main/CHANGELOG.md', + mainBranch: 'main', + }, { id: 'eslint-config', githubId: 'gravity-ui/eslint-config',