From 475cdccef50dd24152b9f304e5b85bd192a7bcd0 Mon Sep 17 00:00:00 2001 From: alyonurchick1 Date: Mon, 5 Aug 2024 22:39:32 +0300 Subject: [PATCH] Feat/reestor --- .../Layout/__stand__/Layout.use.stand.mdx | 3 --- .../__stand__/Notifications.dev.stand.mdx | 22 +------------------ .../TileMenu/__stand__/TileMenu.dev.stand.mdx | 12 +--------- 3 files changed, 2 insertions(+), 35 deletions(-) diff --git a/src/components/Layout/__stand__/Layout.use.stand.mdx b/src/components/Layout/__stand__/Layout.use.stand.mdx index fdca693..1412383 100644 --- a/src/components/Layout/__stand__/Layout.use.stand.mdx +++ b/src/components/Layout/__stand__/Layout.use.stand.mdx @@ -35,7 +35,6 @@ const tiles: TileMenuListDefaultItem[] = [ { label: 'Портал', description: 'Сводная информация обо мне и подразделении, новости компании', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', }, ... ]; @@ -44,7 +43,6 @@ const notifications: NotificationsListDefaultItem[] = [ { label: 'Иванов Иван Иванович', description: 'Добавил файлы в проект, план/факт по расчету предварительные', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', date: new Date(2021, 10, 12, 13, 57, 0), read: false, badges: [ @@ -193,7 +191,6 @@ const RowCenterRight = () => ( diff --git a/src/components/Notifications/__stand__/Notifications.dev.stand.mdx b/src/components/Notifications/__stand__/Notifications.dev.stand.mdx index 8a52396..123eade 100644 --- a/src/components/Notifications/__stand__/Notifications.dev.stand.mdx +++ b/src/components/Notifications/__stand__/Notifications.dev.stand.mdx @@ -54,7 +54,6 @@ export const items: NotificationsDefaultItem[] = [ { label: 'Иванов Иван Иванович', description: 'Добавил файлы в проект, план/факт по расчету предварительные', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', date: new Date(2021, 10, 12, 13, 57, 0), read: false, badges: [ @@ -143,12 +142,10 @@ const itemsBasic: NotificationsListDefaultItem[] = [ { label: 'Один человек', description: 'Принёс краску', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', }, { label: 'Другой человек', description: 'Покрасил забор', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', }, ]; @@ -194,12 +191,10 @@ const itemsBasic: NotificationsListDefaultItem[] = [ { label: 'Один человек', description: 'Принёс краску', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', }, { label: 'Другой человек', description: 'Покрасил забор', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', }, ]; @@ -245,25 +240,21 @@ const itemsDate: NotificationsListDefaultItem[] = [ { label: 'Первое уведомление', description: 'Привет, мир', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', date: new Date(2021, 10, 12, 13, 57, 0), }, { label: 'Второе уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', date: new Date(2021, 10, 12, 13, 57, 0), }, { label: 'Третее уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', date: new Date(), }, { label: 'Четвёртое уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', date: new Date(), }, ]; @@ -310,25 +301,21 @@ const itemsGroups: NotificationsListDefaultItem[] = [ { label: 'Первое уведомление', description: 'Привет, мир', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', group: 'important', }, { label: 'Второе уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', group: 'not', }, { label: 'Третее уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', group: 'not', }, { label: 'Четвёртое уведомление', description: 'Пока-пока', - image: 'https://avatars.githubusercontent.com/u/12581569?s=40&v=4', group: 'important', }, ]; @@ -511,12 +498,7 @@ const date = new Date(2021, 10, 12, 13, 57, 0); export const NotificationsItemExampleBasic = () => { return ( - + ); }; ``` @@ -538,7 +520,6 @@ export const NotificationsItemExampleBadges = () => ( { { - return ( - - ); + return ; }; ``` @@ -72,13 +66,11 @@ export const TileMenuItemExampleBasic = () => { @@ -116,7 +108,6 @@ const items: TileMenuListDefaultItem[] = [ { title: 'Портал', description: 'Сводная информация обо мне и подразделении, новости компании', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', }, // и так далее ]; @@ -229,7 +220,6 @@ const items: TileMenuListDefaultItem[] = [ { title: 'Портал', description: 'Сводная информация обо мне и подразделении, новости компании', - image: 'https://avatars.githubusercontent.com/u/13190808?v=4', }, // и так далее ];