From 30d2614a915aa75a9e3383c4ce8de0d5a5b4f9b1 Mon Sep 17 00:00:00 2001 From: AlekseyShatohin Date: Wed, 5 Jun 2024 17:01:10 +0300 Subject: [PATCH 1/4] feat: custm-alert --- .../core/src/main/ts/icon/CircleBellIcon.tsx | 34 ++++++++ packages/core/src/main/ts/icon/Icon.md | 7 ++ packages/core/src/main/ts/icon/index.ts | 1 + .../src/main/ts/custom-alert/CustomAlert.md | 25 ++++++ .../src/main/ts/custom-alert/CustomAlert.tsx | 82 +++++++++++++++++++ .../desktop/src/main/ts/custom-alert/index.ts | 1 + .../src/main/ts/custom-alert/CustomAlert.md | 25 ++++++ .../src/main/ts/custom-alert/CustomAlert.tsx | 82 +++++++++++++++++++ .../mobile/src/main/ts/custom-alert/index.ts | 1 + 9 files changed, 258 insertions(+) create mode 100644 packages/core/src/main/ts/icon/CircleBellIcon.tsx create mode 100644 packages/desktop/src/main/ts/custom-alert/CustomAlert.md create mode 100644 packages/desktop/src/main/ts/custom-alert/CustomAlert.tsx create mode 100644 packages/desktop/src/main/ts/custom-alert/index.ts create mode 100644 packages/mobile/src/main/ts/custom-alert/CustomAlert.md create mode 100644 packages/mobile/src/main/ts/custom-alert/CustomAlert.tsx create mode 100644 packages/mobile/src/main/ts/custom-alert/index.ts diff --git a/packages/core/src/main/ts/icon/CircleBellIcon.tsx b/packages/core/src/main/ts/icon/CircleBellIcon.tsx new file mode 100644 index 000000000..ee7febcaa --- /dev/null +++ b/packages/core/src/main/ts/icon/CircleBellIcon.tsx @@ -0,0 +1,34 @@ +import React, { FC } from 'react' + +import { getDataProps } from '../dataProps' +import { Circle, Path, Svg } from '../primitive' + +export interface CircleBellIconProps { + size?: number + color?: string +} + +export const CircleBellIcon: FC = ({ size = 6, color = '#000', ...rest }) => ( + + + + + +) + +CircleBellIcon.displayName = 'CircleBellIcon' + +CircleBellIcon.defaultProps = { + size: 6, + color: '#000', +} diff --git a/packages/core/src/main/ts/icon/Icon.md b/packages/core/src/main/ts/icon/Icon.md index 9c91c9169..56f7ef10c 100644 --- a/packages/core/src/main/ts/icon/Icon.md +++ b/packages/core/src/main/ts/icon/Icon.md @@ -70,11 +70,18 @@ return ( setFeedIconActive(!feedIconActive)} > + + + diff --git a/packages/core/src/main/ts/icon/index.ts b/packages/core/src/main/ts/icon/index.ts index c99b56d77..5feef5dea 100644 --- a/packages/core/src/main/ts/icon/index.ts +++ b/packages/core/src/main/ts/icon/index.ts @@ -3,6 +3,7 @@ export * from './Icon' export * from './QuestionIcon' export * from './FilterIcon' export * from './FeedIcon' +export * from './CircleBellIcon' export * from './MobileAppIcon' diff --git a/packages/desktop/src/main/ts/custom-alert/CustomAlert.md b/packages/desktop/src/main/ts/custom-alert/CustomAlert.md new file mode 100644 index 000000000..26ac21eb1 --- /dev/null +++ b/packages/desktop/src/main/ts/custom-alert/CustomAlert.md @@ -0,0 +1,25 @@ +```jsx +} + bg="#EEE4FF" + onHide={() => null} +> + + + + Это QIWI Кошелек со счётом в тенге — пользуйтесь им как обычно. Кошелёк со счётом в рублях, долларах и + евро переехал на другой сайт. Чтобы проверить статус требования о возврате, перейдите на qiwiwallet.ru + + + +