diff --git a/extractedTranslations/en/translation.json b/extractedTranslations/en/translation.json index 9d308e7..ef9279d 100644 --- a/extractedTranslations/en/translation.json +++ b/extractedTranslations/en/translation.json @@ -1,89 +1,89 @@ { - "": "", - "123": "123", - "Admin panel": "", - "All": "", - "Article ratings coming soon!": "", - "Articles app": "", - "Articles not found": "", - "Back to list": "", - "Cancel": "", - "Choose country": "", - "Choose currency": "", - "Comments": "", - "Comments is loading": "", - "Create new article": "", - "Economics": "", - "Edit": "", - "Enter ": "", - "Enter comment text": "", - "Enter cooment text": "", - "Error while loading articles": "", - "Error with getting article data": "", - "Error with getting profile data": "", - "Exit": "", - "Here you can search and view articles on various topics": "", - "IT": "", - "Incorrect age": "", - "Incorrect country": "", - "Incorrect user data": "", - "Leave your feedback on the article, it will help improve the quality": "", - "No data": "", - "PROFILE PAGE": "", - "Profile": "", - "Rate the article": "", - "Read more": { - "": { - "": { - "": "" - } - } - }, - "Recommend": "", - "Save": "", - "Science": "", - "Search": "", - "Send": "", - "Server error": "", - "Sort by": "", - "Sorting by": "", - "Thanks for review!": "", - "Try to reload page": "", - "Welcome to the articles page!": "", - "You don`t have access to this page!": "", - "Your name": "", - "article_not_found": "", - "articles": "", - "articles page": "", - "articles_details": "", - "articles_details page": "", - "articles_detals": "", - "ascending": "", - "auth_form": "", - "auth_password": "", - "auth_username": "", - "by": "", - "comments": "", - "creation date": "", - "decrement": "", - "descending": "", - "exit": "", - "increment": "", - "login": "", - "login_error": "", - "name": "", - "no articles found": "", - "no comments": "", - "no profile found": "", - "read more": "", - "throw error": "throw error", - "views": "", - "Ваш отзыв": "", - "Главная страница": "", - "Закрыть": "", - "Обновить страницу": "", - "Отправить": "", - "Оценка статей скоро появится!": "", - "Произошла непредвиденная ошибка": "", - "Статьи не найдены": "" + "": "", + "123": "123", + "Admin panel": "", + "All": "", + "Article ratings coming soon!": "", + "Articles app": "", + "Articles not found": "", + "Back to list": "", + "Cancel": "", + "Choose country": "", + "Choose currency": "", + "Comments": "", + "Comments is loading": "", + "Create new article": "", + "Economics": "", + "Edit": "", + "Enter ": "", + "Enter comment text": "", + "Enter cooment text": "", + "Error while loading articles": "", + "Error with getting article data": "", + "Error with getting profile data": "", + "Exit": "", + "Here you can search and view articles on various topics": "", + "IT": "", + "Incorrect age": "", + "Incorrect country": "", + "Incorrect user data": "", + "Leave your feedback on the article, it will help improve the quality": "", + "No data": "", + "PROFILE PAGE": "", + "Profile": "", + "Rate the article": "", + "Read more": { + "": { + "": { + "": "" + } + } + }, + "Recommend": "", + "Save": "", + "Science": "", + "Search": "", + "Send": "", + "Server error": "", + "Sort by": "", + "Sorting by": "", + "Thanks for review!": "", + "Try to reload page": "", + "Welcome to the articles page!": "", + "You don`t have access to this page!": "", + "Your name": "", + "article_not_found": "", + "articles": "", + "articles page": "", + "articles_details": "", + "articles_details page": "", + "articles_detals": "", + "ascending": "", + "auth_form": "", + "auth_password": "", + "auth_username": "", + "by": "", + "comments": "", + "creation date": "", + "decrement": "", + "descending": "", + "exit": "", + "increment": "", + "login": "", + "login_error": "", + "name": "", + "no articles found": "", + "no comments": "", + "no profile found": "", + "read more": "", + "throw error": "throw error", + "views": "", + "Ваш отзыв": "", + "Главная страница": "", + "Закрыть": "", + "Обновить страницу": "", + "Отправить": "", + "Оценка статей скоро появится!": "", + "Произошла непредвиденная ошибка": "", + "Статьи не найдены": "" } diff --git a/src/shared/ui/redesigned/Text/Text.stories.tsx b/src/shared/ui/redesigned/Text/Text.stories.tsx index 712efbc..fd64be0 100644 --- a/src/shared/ui/redesigned/Text/Text.stories.tsx +++ b/src/shared/ui/redesigned/Text/Text.stories.tsx @@ -1,7 +1,7 @@ import React from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { ThemeDecorator } from '@/shared/config/storybook/ThemeDecorator/ThemeDecorator'; -import { Text, TextSize, TextTheme } from './Text'; +import { Text } from './Text'; import { Theme } from '@/shared/const/theme'; export default { @@ -41,26 +41,26 @@ export const Error = Template.bind({}); Error.args = { title: 'title title title', text: 'description description description', - theme: TextTheme.ERROR, + variant: 'error', }; export const sizeL = Template.bind({}); sizeL.args = { title: 'title title title', text: 'description description description', - size: TextSize.L, + size: 'l', }; export const sizeM = Template.bind({}); sizeM.args = { title: 'title title title', text: 'description description description', - size: TextSize.M, + size: 'm', }; export const sizeS = Template.bind({}); sizeS.args = { title: 'title title title', text: 'description description description', - size: TextSize.S, + size: 's', };