@modul/mbui 0.0.27-beta-webpack-559623b1 → 0.0.27-beta-webpack-305b06ab
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.
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/Input-OTP/Input.d.ts +2 -2
- package/dist/{index.js → main.js} +3 -3
- package/package.json +3 -1
- package/src/@/config/button.ts +77 -0
- package/src/@/config/index.ts +97 -0
- package/src/@/config/label.ts +89 -0
- package/src/@/lib/utils.ts +7 -0
- package/src/Alert/Alert.tsx +81 -0
- package/src/Alert/index.ts +1 -0
- package/src/AlertDialog/AlertDialog.tsx +137 -0
- package/src/AlertDialog/index.ts +13 -0
- package/src/Audio/Audio.styl +115 -0
- package/src/Audio/Audio.tsx +359 -0
- package/src/Audio/index.ts +4 -0
- package/src/Audio/types.ts +40 -0
- package/src/Badge/Badge.tsx +58 -0
- package/src/Badge/index.ts +1 -0
- package/src/Base/Input/Base.tsx +37 -0
- package/src/Base/Input/Input.tsx +42 -0
- package/src/Base/Input/index.ts +3 -0
- package/src/Base/Input/types.ts +11 -0
- package/src/Base/Links/TextLink.tsx +16 -0
- package/src/Base/Links/index.ts +3 -0
- package/src/BottomNavigation/BottomNavigation.tsx +62 -0
- package/src/BottomNavigation/index.ts +1 -0
- package/src/Button/Button.tsx +124 -0
- package/src/Button/ButtonWidget.tsx +67 -0
- package/src/Button/index.ts +2 -0
- package/src/Calendar/Calendar.tsx +61 -0
- package/src/Calendar/index.ts +1 -0
- package/src/Chat/MessageTyping.tsx +61 -0
- package/src/Chat/index.ts +1 -0
- package/src/Checkbox/Checkbox.tsx +28 -0
- package/src/Checkbox/index.ts +1 -0
- package/src/Chip/Chip.tsx +55 -0
- package/src/Chip/index.ts +1 -0
- package/src/Collapsible/AccountCollapsible.tsx +79 -0
- package/src/Collapsible/Collapsible.tsx +13 -0
- package/src/Collapsible/index.ts +8 -0
- package/src/DatePicker/DatePicker.tsx +41 -0
- package/src/DatePicker/index.ts +1 -0
- package/src/DigitKeyPad/DigitKeyPad.tsx +69 -0
- package/src/DigitKeyPad/index.ts +1 -0
- package/src/Drawer/Drawer.tsx +89 -0
- package/src/Drawer/index.ts +7 -0
- package/src/FavoritePyments/FavoritePaymentsList.tsx +40 -0
- package/src/FavoritePyments/index.ts +1 -0
- package/src/Form/Form.tsx +154 -0
- package/src/Form/index.ts +1 -0
- package/src/Icon/SvgIcon.tsx +32 -0
- package/src/Icon/icons/AddList.tsx +19 -0
- package/src/Icon/icons/AlertCircle.tsx +18 -0
- package/src/Icon/icons/AlertCircleSolid.tsx +18 -0
- package/src/Icon/icons/AlertDiamond.tsx +18 -0
- package/src/Icon/icons/AlertDiamondSolid.tsx +18 -0
- package/src/Icon/icons/AlertShield.tsx +18 -0
- package/src/Icon/icons/Android.tsx +18 -0
- package/src/Icon/icons/Apple.tsx +18 -0
- package/src/Icon/icons/Archive.tsx +18 -0
- package/src/Icon/icons/ArrowCircle.tsx +18 -0
- package/src/Icon/icons/ArrowDown.tsx +18 -0
- package/src/Icon/icons/ArrowLeft.tsx +18 -0
- package/src/Icon/icons/ArrowRight.tsx +18 -0
- package/src/Icon/icons/ArrowUp.tsx +18 -0
- package/src/Icon/icons/ArrowUpCorner.tsx +18 -0
- package/src/Icon/icons/ArrowsChange.tsx +18 -0
- package/src/Icon/icons/Atm.tsx +18 -0
- package/src/Icon/icons/Attach.tsx +18 -0
- package/src/Icon/icons/Bank.tsx +18 -0
- package/src/Icon/icons/Bold.tsx +18 -0
- package/src/Icon/icons/Bonus.tsx +18 -0
- package/src/Icon/icons/Building.tsx +18 -0
- package/src/Icon/icons/Calendar.tsx +18 -0
- package/src/Icon/icons/CalendarCancel.tsx +18 -0
- package/src/Icon/icons/Call.tsx +18 -0
- package/src/Icon/icons/CallEnd.tsx +18 -0
- package/src/Icon/icons/CallMissed.tsx +18 -0
- package/src/Icon/icons/Callback.tsx +18 -0
- package/src/Icon/icons/Camera.tsx +18 -0
- package/src/Icon/icons/Cancel.tsx +18 -0
- package/src/Icon/icons/CancelSolid.tsx +18 -0
- package/src/Icon/icons/Card.tsx +18 -0
- package/src/Icon/icons/CardLock.tsx +18 -0
- package/src/Icon/icons/CardRefill.tsx +18 -0
- package/src/Icon/icons/CardReissue.tsx +18 -0
- package/src/Icon/icons/CardScan.tsx +18 -0
- package/src/Icon/icons/CardToCard.tsx +18 -0
- package/src/Icon/icons/CardUnlock.tsx +18 -0
- package/src/Icon/icons/Change.tsx +18 -0
- package/src/Icon/icons/Chart.tsx +18 -0
- package/src/Icon/icons/Chat.tsx +18 -0
- package/src/Icon/icons/ChatSolid.tsx +18 -0
- package/src/Icon/icons/Check.tsx +18 -0
- package/src/Icon/icons/CheckCircle.tsx +18 -0
- package/src/Icon/icons/CheckCircleSolid.tsx +18 -0
- package/src/Icon/icons/CheckShield.tsx +20 -0
- package/src/Icon/icons/CheckSmall.tsx +18 -0
- package/src/Icon/icons/Checklist.tsx +18 -0
- package/src/Icon/icons/Circle.tsx +18 -0
- package/src/Icon/icons/Clock.tsx +18 -0
- package/src/Icon/icons/ClockSolid.tsx +18 -0
- package/src/Icon/icons/Close.tsx +18 -0
- package/src/Icon/icons/Coins.tsx +18 -0
- package/src/Icon/icons/Collapse.tsx +18 -0
- package/src/Icon/icons/Copy.tsx +18 -0
- package/src/Icon/icons/Cup.tsx +18 -0
- package/src/Icon/icons/CurrencyChange.tsx +18 -0
- package/src/Icon/icons/CurrencyTransfer.tsx +18 -0
- package/src/Icon/icons/Deposit.tsx +18 -0
- package/src/Icon/icons/Diamond.tsx +18 -0
- package/src/Icon/icons/Dislike.tsx +18 -0
- package/src/Icon/icons/DislikeSolid.tsx +18 -0
- package/src/Icon/icons/Doc.tsx +18 -0
- package/src/Icon/icons/DocCancel.tsx +18 -0
- package/src/Icon/icons/Dollar.tsx +18 -0
- package/src/Icon/icons/DoubleArrow.tsx +18 -0
- package/src/Icon/icons/DoubleTick.tsx +18 -0
- package/src/Icon/icons/Download.tsx +18 -0
- package/src/Icon/icons/Dropdown.tsx +18 -0
- package/src/Icon/icons/DropdownSmall.tsx +20 -0
- package/src/Icon/icons/DropdownSmallOld.tsx +20 -0
- package/src/Icon/icons/Dropup.tsx +18 -0
- package/src/Icon/icons/Edit.tsx +18 -0
- package/src/Icon/icons/Email.tsx +18 -0
- package/src/Icon/icons/Erase.tsx +16 -0
- package/src/Icon/icons/Excel.tsx +18 -0
- package/src/Icon/icons/Expand.tsx +18 -0
- package/src/Icon/icons/Eye.tsx +18 -0
- package/src/Icon/icons/EyeOff.tsx +18 -0
- package/src/Icon/icons/Favorite.tsx +18 -0
- package/src/Icon/icons/FavoriteSolid.tsx +18 -0
- package/src/Icon/icons/Fb.tsx +18 -0
- package/src/Icon/icons/FbCircle.tsx +18 -0
- package/src/Icon/icons/File.tsx +18 -0
- package/src/Icon/icons/FileAdd.tsx +18 -0
- package/src/Icon/icons/Files.tsx +18 -0
- package/src/Icon/icons/Filter.tsx +18 -0
- package/src/Icon/icons/Folder.tsx +18 -0
- package/src/Icon/icons/Geolocation.tsx +18 -0
- package/src/Icon/icons/Gift.tsx +18 -0
- package/src/Icon/icons/Globe.tsx +18 -0
- package/src/Icon/icons/Heart.tsx +18 -0
- package/src/Icon/icons/HeartSolid.tsx +18 -0
- package/src/Icon/icons/Help.tsx +18 -0
- package/src/Icon/icons/Home.tsx +18 -0
- package/src/Icon/icons/Housing.tsx +18 -0
- package/src/Icon/icons/Ig.tsx +18 -0
- package/src/Icon/icons/IgCircle.tsx +18 -0
- package/src/Icon/icons/Info.tsx +18 -0
- package/src/Icon/icons/InfoBook.tsx +18 -0
- package/src/Icon/icons/InfoSolid.tsx +18 -0
- package/src/Icon/icons/Italic.tsx +18 -0
- package/src/Icon/icons/Key.tsx +18 -0
- package/src/Icon/icons/Left.tsx +18 -0
- package/src/Icon/icons/Lightbulb.tsx +18 -0
- package/src/Icon/icons/Like.tsx +18 -0
- package/src/Icon/icons/LikeSolid.tsx +18 -0
- package/src/Icon/icons/Link.tsx +18 -0
- package/src/Icon/icons/Lock.tsx +18 -0
- package/src/Icon/icons/Logout.tsx +18 -0
- package/src/Icon/icons/MagicWand.tsx +18 -0
- package/src/Icon/icons/Mail.tsx +18 -0
- package/src/Icon/icons/MailSend.tsx +18 -0
- package/src/Icon/icons/Map.tsx +18 -0
- package/src/Icon/icons/MapPin.tsx +18 -0
- package/src/Icon/icons/MapPinSolid.tsx +18 -0
- package/src/Icon/icons/Menu.tsx +18 -0
- package/src/Icon/icons/Mic.tsx +18 -0
- package/src/Icon/icons/MicOff.tsx +18 -0
- package/src/Icon/icons/Minus.tsx +18 -0
- package/src/Icon/icons/MinusCircle.tsx +18 -0
- package/src/Icon/icons/MinusShort.tsx +18 -0
- package/src/Icon/icons/Moneybox.tsx +18 -0
- package/src/Icon/icons/More.tsx +18 -0
- package/src/Icon/icons/Move.tsx +18 -0
- package/src/Icon/icons/Newbie.tsx +20 -0
- package/src/Icon/icons/News.tsx +18 -0
- package/src/Icon/icons/Notes.tsx +18 -0
- package/src/Icon/icons/Notification.tsx +18 -0
- package/src/Icon/icons/Ok.tsx +18 -0
- package/src/Icon/icons/OkCircle.tsx +18 -0
- package/src/Icon/icons/Order.tsx +18 -0
- package/src/Icon/icons/OrderLoad.tsx +18 -0
- package/src/Icon/icons/OrderSend.tsx +18 -0
- package/src/Icon/icons/Pause.tsx +18 -0
- package/src/Icon/icons/PauseCircle.tsx +18 -0
- package/src/Icon/icons/Payment.tsx +18 -0
- package/src/Icon/icons/PhoneShake.tsx +18 -0
- package/src/Icon/icons/Play.tsx +18 -0
- package/src/Icon/icons/PlaySolid.tsx +18 -0
- package/src/Icon/icons/Plus.tsx +18 -0
- package/src/Icon/icons/PlusCircle.tsx +18 -0
- package/src/Icon/icons/Pos.tsx +18 -0
- package/src/Icon/icons/Print.tsx +18 -0
- package/src/Icon/icons/QrPay.tsx +18 -0
- package/src/Icon/icons/Redirect.tsx +18 -0
- package/src/Icon/icons/Refill.tsx +18 -0
- package/src/Icon/icons/Refund.tsx +18 -0
- package/src/Icon/icons/Reload.tsx +19 -0
- package/src/Icon/icons/Reply.tsx +18 -0
- package/src/Icon/icons/ReplyShape.tsx +18 -0
- package/src/Icon/icons/ReplyShapeSolid.tsx +18 -0
- package/src/Icon/icons/Request.tsx +18 -0
- package/src/Icon/icons/Right.tsx +18 -0
- package/src/Icon/icons/Route.tsx +18 -0
- package/src/Icon/icons/Ruble.tsx +18 -0
- package/src/Icon/icons/Sbp.tsx +18 -0
- package/src/Icon/icons/SbpColored.tsx +46 -0
- package/src/Icon/icons/Search.tsx +18 -0
- package/src/Icon/icons/Send.tsx +18 -0
- package/src/Icon/icons/Services.tsx +17 -0
- package/src/Icon/icons/Settings.tsx +17 -0
- package/src/Icon/icons/Share.tsx +18 -0
- package/src/Icon/icons/ShoppingCart.tsx +18 -0
- package/src/Icon/icons/Sign.tsx +18 -0
- package/src/Icon/icons/SlotMachine.tsx +18 -0
- package/src/Icon/icons/SortDown.tsx +18 -0
- package/src/Icon/icons/SortDownSolid.tsx +18 -0
- package/src/Icon/icons/SortUp.tsx +18 -0
- package/src/Icon/icons/SortUpSolid.tsx +18 -0
- package/src/Icon/icons/Stop.tsx +18 -0
- package/src/Icon/icons/Support.tsx +18 -0
- package/src/Icon/icons/Sync.tsx +18 -0
- package/src/Icon/icons/Table.tsx +18 -0
- package/src/Icon/icons/Tariffs.tsx +19 -0
- package/src/Icon/icons/Tg.tsx +18 -0
- package/src/Icon/icons/TgCircle.tsx +18 -0
- package/src/Icon/icons/Timeout.tsx +18 -0
- package/src/Icon/icons/Timer.tsx +18 -0
- package/src/Icon/icons/Transfer.tsx +17 -0
- package/src/Icon/icons/Trash.tsx +18 -0
- package/src/Icon/icons/TurnOff.tsx +18 -0
- package/src/Icon/icons/Twitter.tsx +18 -0
- package/src/Icon/icons/TwitterCircle.tsx +18 -0
- package/src/Icon/icons/Underline.tsx +18 -0
- package/src/Icon/icons/Unlink.tsx +18 -0
- package/src/Icon/icons/Unsorted.tsx +18 -0
- package/src/Icon/icons/UnsortedSolid.tsx +18 -0
- package/src/Icon/icons/Upload.tsx +18 -0
- package/src/Icon/icons/User.tsx +18 -0
- package/src/Icon/icons/UserAdd.tsx +18 -0
- package/src/Icon/icons/UserCard.tsx +18 -0
- package/src/Icon/icons/UserEdit.tsx +18 -0
- package/src/Icon/icons/UserQueue.tsx +18 -0
- package/src/Icon/icons/Viber.tsx +18 -0
- package/src/Icon/icons/ViberCircle.tsx +18 -0
- package/src/Icon/icons/ViewGrid.tsx +18 -0
- package/src/Icon/icons/ViewHorizontal.tsx +18 -0
- package/src/Icon/icons/ViewList.tsx +18 -0
- package/src/Icon/icons/ViewRows.tsx +18 -0
- package/src/Icon/icons/ViewVertical.tsx +18 -0
- package/src/Icon/icons/Vk.tsx +18 -0
- package/src/Icon/icons/VkCircle.tsx +18 -0
- package/src/Icon/icons/Wallet.tsx +17 -0
- package/src/Icon/icons/Warning.tsx +18 -0
- package/src/Icon/icons/WarningClean.tsx +18 -0
- package/src/Icon/icons/Whatsapp.tsx +18 -0
- package/src/Icon/icons/WhatsappCircle.tsx +18 -0
- package/src/Icon/icons/Wheelchair.tsx +18 -0
- package/src/Icon/icons/index.ts +209 -0
- package/src/Icon/index.ts +2 -0
- package/src/Input/Input.tsx +35 -0
- package/src/Input/InputMask.tsx +36 -0
- package/src/Input/index.ts +2 -0
- package/src/Input-OTP/Input.tsx +64 -0
- package/src/Input-OTP/index.ts +3 -0
- package/src/Label/Label.tsx +20 -0
- package/src/Label/index.ts +1 -0
- package/src/Logo/Logo.tsx +22 -0
- package/src/Logo/index.ts +3 -0
- package/src/Navbar/Navbar.tsx +21 -0
- package/src/Navbar/index.tsx +2 -0
- package/src/Page/Page.tsx +43 -0
- package/src/Page/index.ts +1 -0
- package/src/Popover/Popover.tsx +64 -0
- package/src/Popover/index.ts +5 -0
- package/src/Progress/Progress.tsx +31 -0
- package/src/Progress/index.ts +1 -0
- package/src/Select/Select.tsx +19 -0
- package/src/Select/SelectAccount.tsx +101 -0
- package/src/Select/SelectAccountCard.tsx +146 -0
- package/src/Select/SelectAsync.tsx +28 -0
- package/src/Select/SelectBase.tsx +54 -0
- package/src/Select/components/components.tsx +186 -0
- package/src/Select/components/index.tsx +15 -0
- package/src/Select/index.ts +5 -0
- package/src/Skeleton/Skeleton.tsx +25 -0
- package/src/Skeleton/index.ts +1 -0
- package/src/Slider/Slider.tsx +38 -0
- package/src/Slider/index.ts +4 -0
- package/src/Swipe2Show/Swipe2Show.tsx +71 -0
- package/src/Swipe2Show/index.ts +1 -0
- package/src/Switch/Switch.tsx +59 -0
- package/src/Switch/index.ts +1 -0
- package/src/Tabs/Tabs.tsx +106 -0
- package/src/Tabs/index.ts +1 -0
- package/src/Textarea/Textarea.tsx +35 -0
- package/src/Textarea/index.ts +1 -0
- package/src/Toaster/Toaster.tsx +71 -0
- package/src/Toaster/index.ts +1 -0
- package/src/assets/css/global.css +209 -0
- package/src/assets/fonts/Roboto-Italic.ttf +0 -0
- package/src/assets/fonts/Roboto-Italic.woff2 +0 -0
- package/src/assets/fonts/Roboto.ttf +0 -0
- package/src/assets/fonts/Roboto.woff2 +0 -0
- package/src/assets/images/logo/1c.svg +1 -0
- package/src/assets/images/logo/bank/emblem-white.svg +1 -0
- package/src/assets/images/logo/bank/emblem.svg +1 -0
- package/src/assets/images/logo/bank/logo-white.svg +1 -0
- package/src/assets/images/logo/bank/logo.svg +1 -0
- package/src/assets/images/logo/garant/emblem-white.svg +1 -0
- package/src/assets/images/logo/garant/emblem.svg +1 -0
- package/src/assets/images/logo/garant/logo-white.svg +1 -0
- package/src/assets/images/logo/garant/logo.svg +1 -0
- package/src/assets/images/logo/kassa/emblem-white.svg +1 -0
- package/src/assets/images/logo/kassa/emblem.svg +1 -0
- package/src/assets/images/logo/kassa/logo-white.svg +1 -0
- package/src/assets/images/logo/kassa/logo.svg +1 -0
- package/src/assets/images/logo/sbp-logo.svg +1 -0
- package/src/assets/images/statusbar.svg +1 -0
- package/src/index.ts +134 -0
- package/src/pages/payments/SmsSign/sms-sign.tsx +91 -0
- package/dist/@/config/button.d.ts +0 -78
- package/dist/@/config/index.d.ts +0 -223
- package/dist/@/config/index.js +0 -1
- package/dist/@/config/label.d.ts +0 -90
- package/dist/Alert/index.js +0 -1
- package/dist/AlertDialog/index.js +0 -21
- package/dist/Audio/index.js +0 -11
- package/dist/Badge/index.js +0 -1
- package/dist/Base/Input/Base.d.ts +0 -4
- package/dist/Base/Input/Input.d.ts +0 -4
- package/dist/Base/Input/index.d.ts +0 -2
- package/dist/Base/Input/index.js +0 -1
- package/dist/Base/Input/types.d.ts +0 -9
- package/dist/Base/Links/TextLink.d.ts +0 -4
- package/dist/Base/Links/index.d.ts +0 -2
- package/dist/Base/Links/index.js +0 -1
- package/dist/BottomNavigation/index.js +0 -11
- package/dist/Button/index.js +0 -11
- package/dist/Calendar/index.js +0 -1
- package/dist/Chat/index.js +0 -1
- package/dist/Checkbox/index.js +0 -11
- package/dist/Chip/index.js +0 -11
- package/dist/Collapsible/index.js +0 -11
- package/dist/DatePicker/index.js +0 -11
- package/dist/DigitKeyPad/index.js +0 -1
- package/dist/Drawer/index.js +0 -15
- package/dist/FavoritePyments/index.js +0 -1
- package/dist/Form/index.js +0 -11
- package/dist/Icon/icons/index.js +0 -1
- package/dist/Icon/index.js +0 -1
- package/dist/Input/index.js +0 -1
- package/dist/Input-OTP/index.js +0 -20
- package/dist/Label/index.js +0 -11
- package/dist/Logo/index.js +0 -1
- package/dist/Navbar/Navbar.d.ts +0 -6
- package/dist/Navbar/index.d.ts +0 -1
- package/dist/Navbar/index.js +0 -1
- package/dist/Page/index.js +0 -1
- package/dist/Popover/index.js +0 -11
- package/dist/Progress/index.js +0 -16
- package/dist/Select/components/index.js +0 -10
- package/dist/Select/index.js +0 -10
- package/dist/Skeleton/index.js +0 -1
- package/dist/Slider/index.js +0 -11
- package/dist/Swipe2Show/index.js +0 -1
- package/dist/Switch/index.js +0 -11
- package/dist/Tabs/index.js +0 -11
- package/dist/Textarea/index.js +0 -1
- package/dist/Toaster/index.js +0 -2
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import { Drawer as DrawerPrimitive } from 'vaul'
|
|
3
|
+
import { cn } from '../@/lib/utils'
|
|
4
|
+
import { useContext } from 'react'
|
|
5
|
+
|
|
6
|
+
const DrawerContext = React.createContext({direction: 'bottom', modal: false})
|
|
7
|
+
|
|
8
|
+
const Drawer = ({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) => {
|
|
9
|
+
return (
|
|
10
|
+
<DrawerContext.Provider value={{direction: props.direction, modal: props.modal}}>
|
|
11
|
+
<DrawerPrimitive.Root {...props} />
|
|
12
|
+
</DrawerContext.Provider>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
Drawer.displayName = 'Drawer'
|
|
17
|
+
|
|
18
|
+
const DrawerTrigger: typeof DrawerPrimitive.Trigger = DrawerPrimitive.Trigger
|
|
19
|
+
|
|
20
|
+
const DrawerPortal: typeof DrawerPrimitive.Portal = DrawerPrimitive.Portal
|
|
21
|
+
|
|
22
|
+
const DrawerClose : typeof DrawerPrimitive.Close = DrawerPrimitive.Close
|
|
23
|
+
|
|
24
|
+
const DrawerOverlay: typeof DrawerPrimitive.Overlay = DrawerPrimitive.Overlay
|
|
25
|
+
|
|
26
|
+
const DrawerTitle: typeof DrawerPrimitive.Title = React.forwardRef<
|
|
27
|
+
React.ElementRef<typeof DrawerPrimitive.Title>,
|
|
28
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Title>
|
|
29
|
+
>(({ className, ...props }, ref) => (
|
|
30
|
+
<DrawerPrimitive.Title
|
|
31
|
+
ref={ref}
|
|
32
|
+
className={cn(className)}
|
|
33
|
+
{...props}
|
|
34
|
+
/>
|
|
35
|
+
))
|
|
36
|
+
|
|
37
|
+
DrawerTitle.displayName = DrawerPrimitive.Title.displayName
|
|
38
|
+
|
|
39
|
+
const DrawerContent: typeof DrawerPrimitive.Content = React.forwardRef<
|
|
40
|
+
React.ElementRef<typeof DrawerPrimitive.Content>,
|
|
41
|
+
React.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>
|
|
42
|
+
>(({ className, children, ...props }, ref) => {
|
|
43
|
+
const {direction = 'bottom', modal = false} = useContext(DrawerContext)
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<DrawerPortal>
|
|
47
|
+
{modal && <DrawerOverlay className='z-50 fixed inset-0 bg-[--drawer-overlay-bg]' />}
|
|
48
|
+
<DrawerPrimitive.Content
|
|
49
|
+
ref={ref}
|
|
50
|
+
className={cn(
|
|
51
|
+
`z-50 fixed inset-x-0 flex flex-col bg-page shadow-[0_0_6px_6px_rgba(36,48,54,.08)] max-h-[calc(100dvh-var(--page-header-height))] container`,
|
|
52
|
+
direction === 'top' ? 'top-0 rounded-b-sm ' : 'bottom-0 rounded-t-sm',
|
|
53
|
+
className
|
|
54
|
+
)}
|
|
55
|
+
{...props}
|
|
56
|
+
>
|
|
57
|
+
{direction !== 'top' && (
|
|
58
|
+
<div className="pt-[4px] pb-[16px]">
|
|
59
|
+
<span className="block bg-[--cl-graphite-5] mx-auto rounded-full w-[36px] h-[5px]" />
|
|
60
|
+
</div>
|
|
61
|
+
)}
|
|
62
|
+
|
|
63
|
+
{children}
|
|
64
|
+
|
|
65
|
+
{direction === 'top' && (
|
|
66
|
+
<div className="pt-[24px] pb-[16px]">
|
|
67
|
+
<svg
|
|
68
|
+
className="mx-auto"
|
|
69
|
+
width="38"
|
|
70
|
+
height="10"
|
|
71
|
+
viewBox="0 0 38 10"
|
|
72
|
+
fill="none"
|
|
73
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
74
|
+
>
|
|
75
|
+
<path
|
|
76
|
+
d="M0 7.39774C0 8.68678 1.25226 9.60455 2.48147 9.21638L17.7955 4.38038C18.5794 4.13282 19.4206 4.13282 20.2045 4.38038L35.5185 9.21638C36.7477 9.60455 38 8.68678 38 7.39774C38 6.56568 37.4606 5.82966 36.6671 5.5791L20.2045 0.380377C19.4206 0.132817 18.5794 0.132817 17.7955 0.380377L1.33286 5.5791C0.539422 5.82966 0 6.56568 0 7.39774Z"
|
|
77
|
+
fill="var(--cl-graphite-5)"
|
|
78
|
+
/>
|
|
79
|
+
</svg>
|
|
80
|
+
</div>
|
|
81
|
+
)}
|
|
82
|
+
</DrawerPrimitive.Content>
|
|
83
|
+
</DrawerPortal>
|
|
84
|
+
)
|
|
85
|
+
})
|
|
86
|
+
|
|
87
|
+
DrawerContent.displayName = 'DrawerContent'
|
|
88
|
+
|
|
89
|
+
export { Drawer, DrawerTrigger, DrawerContent, DrawerTitle, DrawerClose }
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import React, { FC } from 'react'
|
|
2
|
+
|
|
3
|
+
const farvoriteLinkClasses: string = `
|
|
4
|
+
block
|
|
5
|
+
px-[20px]
|
|
6
|
+
py-[8px]
|
|
7
|
+
hover:bg-[--payments-list-item-hover]
|
|
8
|
+
focus-visible:bg-[--payments-list-item-focus]
|
|
9
|
+
active:bg-[--payments-list-item-active]
|
|
10
|
+
`
|
|
11
|
+
|
|
12
|
+
const FavoritePaymentsList: FC<{children: React.ReactNode}> = ({children}) => {
|
|
13
|
+
return <ul className="divide-y">{children}</ul>
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const FavoritePaymentsItem: FC<{children: React.ReactNode}> = ({children}) => {
|
|
17
|
+
return <li>{children}</li>
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface IProps {
|
|
21
|
+
name: string,
|
|
22
|
+
value: string,
|
|
23
|
+
purpose?: string
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const FarvoritePaymentDescription: FC<IProps> = ({name, value, purpose}) => {
|
|
27
|
+
return (
|
|
28
|
+
<>
|
|
29
|
+
<span className="flex">
|
|
30
|
+
<span className="truncate">{name}</span>
|
|
31
|
+
<span className="ml-auto font-medium shrink-0">{value}</span>
|
|
32
|
+
</span>
|
|
33
|
+
<span className="block mt-[8px] text-[12px] text-light truncate leading-[1.16]">
|
|
34
|
+
{purpose}
|
|
35
|
+
</span>
|
|
36
|
+
</>
|
|
37
|
+
)
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses} from './FavoritePaymentsList'
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import * as LabelPrimitive from '@radix-ui/react-label'
|
|
3
|
+
import { Slot } from '@radix-ui/react-slot'
|
|
4
|
+
import { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from 'react-hook-form'
|
|
5
|
+
import { cn } from '../@/lib/utils'
|
|
6
|
+
import { Label } from '../../src/Label'
|
|
7
|
+
|
|
8
|
+
const Form = FormProvider
|
|
9
|
+
|
|
10
|
+
type FormFieldContextValue<
|
|
11
|
+
TFieldValues extends FieldValues = FieldValues,
|
|
12
|
+
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>
|
|
13
|
+
> = {
|
|
14
|
+
name: TName
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const FormFieldContext = React.createContext<FormFieldContextValue>({} as FormFieldContextValue)
|
|
18
|
+
|
|
19
|
+
const FormField = <
|
|
20
|
+
TFieldValues extends FieldValues = FieldValues,
|
|
21
|
+
TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>
|
|
22
|
+
>({
|
|
23
|
+
...props
|
|
24
|
+
}: ControllerProps<TFieldValues, TName>) => {
|
|
25
|
+
return (
|
|
26
|
+
<FormFieldContext.Provider value={{ name: props.name }}>
|
|
27
|
+
<Controller {...props} />
|
|
28
|
+
</FormFieldContext.Provider>
|
|
29
|
+
)
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const useFormField = () => {
|
|
33
|
+
const fieldContext = React.useContext(FormFieldContext)
|
|
34
|
+
const itemContext = React.useContext(FormItemContext)
|
|
35
|
+
const { getFieldState, formState } = useFormContext()
|
|
36
|
+
|
|
37
|
+
const fieldState = getFieldState(fieldContext.name, formState)
|
|
38
|
+
|
|
39
|
+
if (!fieldContext) {
|
|
40
|
+
throw new Error('useFormField should be used within <FormField>')
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
const { id } = itemContext
|
|
44
|
+
|
|
45
|
+
return {
|
|
46
|
+
id,
|
|
47
|
+
name: fieldContext.name,
|
|
48
|
+
formItemId: `${id}-form-item`,
|
|
49
|
+
formDescriptionId: `${id}-form-item-description`,
|
|
50
|
+
formMessageId: `${id}-form-item-message`,
|
|
51
|
+
...fieldState,
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
type FormItemContextValue = {
|
|
56
|
+
id: string
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
const FormItemContext = React.createContext<FormItemContextValue>({} as FormItemContextValue)
|
|
60
|
+
|
|
61
|
+
const FormItem = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivElement>>(
|
|
62
|
+
({ className, ...props }, ref) => {
|
|
63
|
+
const id = React.useId()
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<FormItemContext.Provider value={{ id }}>
|
|
67
|
+
<div
|
|
68
|
+
ref={ref}
|
|
69
|
+
className={cn('space-y-2', className)}
|
|
70
|
+
{...props}
|
|
71
|
+
/>
|
|
72
|
+
</FormItemContext.Provider>
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
)
|
|
76
|
+
|
|
77
|
+
FormItem.displayName = 'FormItem'
|
|
78
|
+
|
|
79
|
+
const FormLabel = React.forwardRef<
|
|
80
|
+
React.ElementRef<typeof LabelPrimitive.Root>,
|
|
81
|
+
React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>
|
|
82
|
+
>(({ className, ...props }, ref) => {
|
|
83
|
+
const { error, formItemId } = useFormField()
|
|
84
|
+
|
|
85
|
+
return (
|
|
86
|
+
<Label
|
|
87
|
+
ref={ref}
|
|
88
|
+
className={cn(error && 'text-destructive', className)}
|
|
89
|
+
htmlFor={formItemId}
|
|
90
|
+
{...props}
|
|
91
|
+
/>
|
|
92
|
+
)
|
|
93
|
+
})
|
|
94
|
+
|
|
95
|
+
FormLabel.displayName = 'FormLabel'
|
|
96
|
+
|
|
97
|
+
const FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.ComponentPropsWithoutRef<typeof Slot>>(
|
|
98
|
+
({ ...props }, ref) => {
|
|
99
|
+
const { error, formItemId, formDescriptionId, formMessageId } = useFormField()
|
|
100
|
+
|
|
101
|
+
return (
|
|
102
|
+
<Slot
|
|
103
|
+
ref={ref}
|
|
104
|
+
id={formItemId}
|
|
105
|
+
aria-describedby={!error ? `${formDescriptionId}` : `${formDescriptionId} ${formMessageId}`}
|
|
106
|
+
aria-invalid={!!error}
|
|
107
|
+
{...props}
|
|
108
|
+
/>
|
|
109
|
+
)
|
|
110
|
+
}
|
|
111
|
+
)
|
|
112
|
+
|
|
113
|
+
FormControl.displayName = 'FormControl'
|
|
114
|
+
|
|
115
|
+
const FormDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(
|
|
116
|
+
({ className, ...props }, ref) => {
|
|
117
|
+
const { formDescriptionId } = useFormField()
|
|
118
|
+
|
|
119
|
+
return (
|
|
120
|
+
<p
|
|
121
|
+
ref={ref}
|
|
122
|
+
id={formDescriptionId}
|
|
123
|
+
className={cn('text-[0.8rem] text-light', className)}
|
|
124
|
+
{...props}
|
|
125
|
+
/>
|
|
126
|
+
)
|
|
127
|
+
}
|
|
128
|
+
)
|
|
129
|
+
FormDescription.displayName = 'FormDescription'
|
|
130
|
+
|
|
131
|
+
const FormMessage = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(
|
|
132
|
+
({ className, children, ...props }, ref) => {
|
|
133
|
+
const { error, formMessageId } = useFormField()
|
|
134
|
+
const body = error ? String(error?.message) : children
|
|
135
|
+
|
|
136
|
+
if (!body) {
|
|
137
|
+
return null
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return (
|
|
141
|
+
<p
|
|
142
|
+
ref={ref}
|
|
143
|
+
id={formMessageId}
|
|
144
|
+
className={cn('text-[0.8rem] font-medium text-destructive', className)}
|
|
145
|
+
{...props}
|
|
146
|
+
>
|
|
147
|
+
{body}
|
|
148
|
+
</p>
|
|
149
|
+
)
|
|
150
|
+
}
|
|
151
|
+
)
|
|
152
|
+
FormMessage.displayName = 'FormMessage'
|
|
153
|
+
|
|
154
|
+
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField } from './Form'
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
|
|
3
|
+
// const colors = {
|
|
4
|
+
// error: '#ef5350',
|
|
5
|
+
// info: '#03a9f4',
|
|
6
|
+
// warning: '#ff9800',
|
|
7
|
+
// }
|
|
8
|
+
|
|
9
|
+
// const sizes = {
|
|
10
|
+
// 'small': 20,
|
|
11
|
+
// 'large': 35,
|
|
12
|
+
// }
|
|
13
|
+
|
|
14
|
+
const size = 24
|
|
15
|
+
|
|
16
|
+
export interface SvgIconProps {
|
|
17
|
+
children: any,
|
|
18
|
+
color: string,
|
|
19
|
+
width: string | number,
|
|
20
|
+
height: string | number,
|
|
21
|
+
size: string | number,
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const SvgIcon = React.forwardRef<any, any>(function SvgIcon
|
|
25
|
+
({ children, color, height, size, width, ...props }, ref) {
|
|
26
|
+
return (
|
|
27
|
+
<svg {...props} color={color} height={size || height} width={size || width} ref={ref}>{children}</svg>
|
|
28
|
+
)
|
|
29
|
+
}
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
export { SvgIcon };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAddList = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M10 18H3c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h14c1.1 0 2 .9 2 2v5c0 .55-.45 1-1 1s-1-.45-1-1V4H3v12h7c.55 0 1 .45 1 1s-.45 1-1 1m9-3c0 .55-.45 1-1 1h-1v1c0 .55-.45 1-1 1s-1-.45-1-1v-1h-1c-.55 0-1-.45-1-1s.45-1 1-1h1v-1c0-.55.45-1 1-1s1 .45 1 1v1h1c.55 0 1 .45 1 1M9 7c0-.55.45-1 1-1h4c.55 0 1 .45 1 1s-.45 1-1 1h-4c-.55 0-1-.45-1-1m0 4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1s-.45 1-1 1h-3c-.55 0-1-.45-1-1M7.2 7c0 .66-.54 1.2-1.2 1.2S4.8 7.66 4.8 7 5.34 5.8 6 5.8s1.2.54 1.2 1.2m0 4c0 .66-.54 1.2-1.2 1.2s-1.2-.54-1.2-1.2.54-1.2 1.2-1.2 1.2.54 1.2 1.2"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
export default SvgAddList
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAlertCircle = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M8.8 14c0-.66.54-1.2 1.2-1.2s1.2.54 1.2 1.2-.54 1.2-1.2 1.2-1.2-.54-1.2-1.2M19 10c0-4.96-4.04-9-9-9s-9 4.04-9 9 4.04 9 9 9 9-4.04 9-9m-2 0c0 3.86-3.14 7-7 7s-7-3.14-7-7 3.14-7 7-7 7 3.14 7 7m-6 0V6c0-.55-.45-1-1-1s-1 .45-1 1v4c0 .55.45 1 1 1s1-.45 1-1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAlertCircle
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAlertCircleSolid = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M10 1a9 9 0 1 0 .001 18.001A9 9 0 0 0 10 1M9 6c0-.55.45-1 1-1s1 .45 1 1v4c0 .55-.45 1-1 1s-1-.45-1-1zm1 9.2c-.66 0-1.2-.54-1.2-1.2s.54-1.2 1.2-1.2 1.2.54 1.2 1.2-.54 1.2-1.2 1.2"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAlertCircleSolid
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAlertDiamond = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M10 19c-.53 0-1.04-.21-1.41-.59l-7-7.017a1.983 1.983 0 0 1 0-2.813l7-7.017c.75-.75 2.07-.75 2.83 0l7 7.017c.78.78.78 2.042 0 2.813l-7 7.016c-.38.38-.89.591-1.42.591m0-16.016-7 7.017 7 6.997 6.99-7.007zm0 11.211c.66 0 1.2-.54 1.2-1.2 0-.661-.54-1.202-1.2-1.202s-1.2.54-1.2 1.201c0 .66.54 1.201 1.2 1.201m1-5.205V5.987c0-.55-.45-1-1-1s-1 .45-1 1V8.99c0 .55.45 1.001 1 1.001s1-.45 1-1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAlertDiamond
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAlertDiamondSolid = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="m18.428 8.582-7.003-7.015c-.75-.76-2.071-.75-2.831 0L1.59 8.582c-.78.78-.78 2.042 0 2.812l7.004 7.016c.38.38.88.59 1.41.59s1.04-.21 1.41-.58l7.004-7.016c.78-.78.78-2.041.01-2.822M9.004 5.99c0-.55.45-1 1-1s1 .45 1 1v3.002c0 .55-.45 1.001-1 1.001s-1-.45-1-1zm1 8.206c-.66 0-1.2-.54-1.2-1.2 0-.661.54-1.202 1.2-1.202s1.2.54 1.2 1.201c0 .66-.54 1.201-1.2 1.201"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAlertDiamondSolid
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAlertShield = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M10 19c-.13 0-.25-.02-.37-.07C4 16.68 2 11.09 2 7V4c0-.55.45-1 1-1 1.88 0 2.69-.47 3.56-.97C7.39 1.55 8.34 1 10 1s2.6.54 3.44 1.03c.87.5 1.69.97 3.56.97.55 0 1 .45 1 1v3c0 4.09-2 9.68-7.63 11.93-.12.05-.24.07-.37.07M4 4.96V7c0 3.38 1.58 7.94 6 9.91 4.42-1.98 6-6.54 6-9.91V4.96c-1.76-.16-2.75-.73-3.56-1.2C11.68 3.32 11.13 3 10 3s-1.68.32-2.44.76c-.81.47-1.8 1.04-3.56 1.2m6 9.24c.66 0 1.2-.54 1.2-1.2s-.54-1.2-1.2-1.2-1.2.54-1.2 1.2.54 1.2 1.2 1.2M11 9V6c0-.55-.45-1-1-1s-1 .45-1 1v3c0 .55.45 1 1 1s1-.45 1-1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAlertShield
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAndroid = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M4 8v5c0 .55-.45 1-1 1s-1-.45-1-1V8c0-.55.45-1 1-1s1 .45 1 1m13-1c-.55 0-1 .45-1 1v5c0 .55.45 1 1 1s1-.45 1-1V8c0-.55-.45-1-1-1M5 15c0 .55.45 1 1 1h1v2c0 .55.45 1 1 1s1-.45 1-1v-2h2v2c0 .55.45 1 1 1s1-.45 1-1v-2h1c.55 0 1-.45 1-1V7H5zm9.9-9H5.1a5 5 0 0 1 2.42-3.34l-.47-.93a.505.505 0 0 1 .22-.67c.25-.12.55-.02.67.22l.49.98C8.93 2.1 9.45 2 10 2s1.07.1 1.56.26l.49-.98c.12-.25.42-.35.67-.22.25.12.35.42.22.67l-.47.93c1.24.7 2.14 1.91 2.43 3.34M8 4.5c0-.28-.22-.5-.5-.5s-.5.22-.5.5.22.5.5.5.5-.22.5-.5m4.97-.16a.51.51 0 0 0-.63-.32c-.26.08-.4.37-.32.63.09.26.37.4.63.32.27-.08.41-.37.32-.63"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAndroid
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgApple = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M17.67 15.026q-.433.945-1.025 1.741c-1.44 1.951-2.4 2.701-4.565 1.861-.608-.24-1.173-.35-1.685-.35-.534 0-1.11.12-1.728.35-1.675.64-2.635.71-4.598-1.91C2.864 15.105 2 12.804 2 10.713c0-1.97.8-3.791 2.56-4.782a4.9 4.9 0 0 1 2.336-.63c1.141 0 2.613.8 3.243.8.661 0 2.261-.96 3.754-.83 1.6.12 2.795.72 3.595 1.79-1.43.821-2.133 1.972-2.123 3.442.022 1.771 1.174 3.102 2.635 3.682-.107.29-.213.57-.33.84M12.964 3.871c-.832.92-1.845 1.461-2.944 1.38C9.765 3.262 11.728 1.11 13.98 1c.128 1.06-.288 2.05-1.014 2.871"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgApple
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArchive = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M17 2H3c-1.1 0-2 .9-2 2v2c0 1.1.9 2 2 2v8c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V8c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-2 14H5V8h10zm2-10H3V4h14zm-6 6H9c-.55 0-1-.45-1-1s.45-1 1-1h2c.55 0 1 .45 1 1s-.45 1-1 1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArchive
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowCircle = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M10 19c-4.96 0-9-4.04-9-9s4.04-9 9-9 9 4.04 9 9-4.04 9-9 9m0-16c-3.86 0-7 3.14-7 7s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7m3.71 6.29-3-3A.996.996 0 1 0 9.3 7.7L10.59 9H7c-.55 0-1 .45-1 1s.45 1 1 1h3.59L9.3 12.29a.996.996 0 1 0 1.41 1.41l3-3a.996.996 0 0 0 0-1.41"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowCircle
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowDown = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M15.705 11.29a1 1 0 0 0-1.412 0L11 14.58V3c0-.55-.45-1-1.001-1s-1.001.45-1.001 1v11.59L5.704 11.3a.998.998 0 0 0-1.411 1.41l5.005 5c.2.2.45.29.71.29.261 0 .511-.1.712-.29l5.005-5c.37-.39.37-1.03-.02-1.42"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowDown
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowLeft = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M21.6 12c0 .66-.54 1.2-1.2 1.2H6.5l3.95 3.95c.47.47.47 1.24 0 1.7-.48.46-1.21.47-1.7 0l-6-6a1.21 1.21 0 0 1 0-1.7l6-6a1.21 1.21 0 0 1 1.7 0c.47.47.47 1.24 0 1.7L6.5 10.8H20.4c.66 0 1.2.54 1.2 1.2Z"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowLeft
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowRight = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="m21.25 12.85-6 6c-.48.46-1.21.47-1.7 0a1.21 1.21 0 0 1 0-1.7l3.96-3.95H3.6A1.2 1.2 0 0 1 2.4 12c0-.66.54-1.2 1.2-1.2h13.9l-3.95-3.95a1.21 1.21 0 0 1 0-1.7 1.21 1.21 0 0 1 1.7 0l6 6c.47.47.47 1.24 0 1.7Z"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowRight
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowUp = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="m15.709 7.292-5.003-5a.997.997 0 0 0-1.41 0l-5.003 5a.997.997 0 1 0 1.41 1.41l3.292-3.29v11.59c0 .55.45 1 1 1s1.001-.45 1.001-1V5.412l3.292 3.29c.39.39 1.02.39 1.41 0 .4-.38.4-1.02.01-1.41"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowUp
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowUpCorner = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M16.007 15h-4.002a3.01 3.01 0 0 1-3.002-3V6.41l2.291 2.29a.997.997 0 1 0 1.411-1.41l-4.002-4a.997.997 0 0 0-1.41 0l-4.003 4A.997.997 0 1 0 4.7 8.7l2.292-2.29V12c0 2.76 2.241 5 5.003 5h4.002c.55 0 1-.45 1-1s-.44-1-.99-1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowUpCorner
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgArrowsChange = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={20}
|
|
7
|
+
height={20}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 20 20"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="m18.71 6.713-4 4c-.4.38-1.01.39-1.42 0-.39-.39-.39-1.03 0-1.42l2.3-2.29H2c-.55 0-1-.45-1-1s.45-1 1-1h13.59l-2.3-2.29c-.39-.39-.39-1.03 0-1.42s1.03-.39 1.42 0l4 4c.39.39.39 1.03 0 1.42m-.71 6.29H4.41l2.3-2.29c.39-.39.39-1.03 0-1.42s-1.03-.39-1.42 0l-4 4c-.39.39-.39 1.03 0 1.42l4 4c.4.38 1.01.39 1.42 0 .39-.39.39-1.03 0-1.42l-2.3-2.29H18c.55 0 1-.45 1-1s-.45-1-1-1"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgArrowsChange
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgAtm = (props: SVGProps<SVGSVGElement>) => (
|
|
5
|
+
<SvgIcon
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
|
+
fill="none"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
|
+
{...props}
|
|
11
|
+
>
|
|
12
|
+
<path
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="M20.4 2.4H3.6a2.4 2.4 0 0 0-2.4 2.4v4.8A2.4 2.4 0 0 0 3.6 12h1.2v7.2a2.4 2.4 0 0 0 2.4 2.4h9.6a2.4 2.4 0 0 0 2.4-2.4V12h1.2a2.4 2.4 0 0 0 2.4-2.4V4.8a2.4 2.4 0 0 0-2.4-2.4Zm-13.2 6h2.4v10.8H7.2V8.4Zm9.6 10.8H12V8.4h4.8v10.8Zm3.6-9.6h-1.2V7.2c0-.66-.54-1.2-1.2-1.2H6c-.66 0-1.2.54-1.2 1.2v2.4H3.6V4.8h16.8v4.8Zm-4.8 6v1.2c0 .66-.54 1.2-1.2 1.2a1.2 1.2 0 0 1-1.2-1.2v-1.2c0-.66.54-1.2 1.2-1.2.66 0 1.2.54 1.2 1.2Z"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgAtm
|