@modul/mbui 0.0.20-beta-pv-53139-48074e41 → 0.0.20
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/index.d.ts +2 -2
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/index.ts +2 -2
- package/src/pages/payments/SmsSign/sms-sign.tsx +1 -61
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger
|
|
|
11
11
|
import { Button, buttonVariants, ButtonWidget } from './Button';
|
|
12
12
|
import { Audio } from './Audio';
|
|
13
13
|
import { cn } from './@/lib/utils';
|
|
14
|
-
import { Drawer, DrawerTrigger, DrawerClose, DrawerContent } from './Drawer';
|
|
14
|
+
import { Drawer, DrawerTrigger, DrawerClose, DrawerContent, DrawerTitle } from './Drawer';
|
|
15
15
|
import { Page } from './Page';
|
|
16
16
|
import { Chip } from './Chip';
|
|
17
17
|
import { InputField, InputLabel, InputMask } from './Input';
|
|
@@ -31,4 +31,4 @@ import { FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription
|
|
|
31
31
|
import { DigitKeyPad } from "./DigitKeyPad";
|
|
32
32
|
import { Badge, badgeVariants } from './Badge';
|
|
33
33
|
import { Toaster, toast } from './Toaster';
|
|
34
|
-
export { Tooltip, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, buttonVariants, InputField, InputLabel, Audio, cn, Icon, Drawer, DrawerTrigger, DrawerClose, DrawerContent, BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink, Page, Chip, Progress, Alert, Switch, Label, Textarea, SelectAccountCard, Form, FormLabel, FormField, FormItem, FormControl, FormDescription, FormMessage, Calendar, DatePicker, SelectAsync, InputMask, Select, AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, MessageTyping, FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses, Badge, badgeVariants, DigitKeyPad, ButtonWidget, Toaster, toast, };
|
|
34
|
+
export { Tooltip, Tabs, Slider, Popover, Logo, InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator, Collapsible, CollapsibleTrigger, CollapsibleContent, AccountCollapsible, AccountCollapsibleHeader, AccountCollapsibleTrigger, AccountCollapsibleContent, AccountCollapsibleContentItem, Button, buttonVariants, InputField, InputLabel, Audio, cn, Icon, Drawer, DrawerTrigger, DrawerTitle, DrawerClose, DrawerContent, BottomNavigation, BottomNavigationList, BottomNavigationListItem, BottomNavigationLink, Page, Chip, Progress, Alert, Switch, Label, Textarea, SelectAccountCard, Form, FormLabel, FormField, FormItem, FormControl, FormDescription, FormMessage, Calendar, DatePicker, SelectAsync, InputMask, Select, AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, MessageTyping, FavoritePaymentsList, FavoritePaymentsItem, FarvoritePaymentDescription, farvoriteLinkClasses, Badge, badgeVariants, DigitKeyPad, ButtonWidget, Toaster, toast, };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.toast = exports.Toaster = exports.ButtonWidget = exports.DigitKeyPad = exports.badgeVariants = exports.Badge = exports.farvoriteLinkClasses = exports.FarvoritePaymentDescription = exports.FavoritePaymentsItem = exports.FavoritePaymentsList = exports.MessageTyping = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescription = exports.AlertDialogTitle = exports.AlertDialogFooter = exports.AlertDialogHeader = exports.AlertDialogContent = exports.AlertDialogTrigger = exports.AlertDialog = exports.Select = exports.InputMask = void 0;
|
|
3
|
+
exports.DatePicker = exports.Calendar = exports.FormMessage = exports.FormDescription = exports.FormControl = exports.FormItem = exports.FormField = exports.FormLabel = exports.Form = exports.SelectAccountCard = exports.Textarea = exports.Label = exports.Switch = exports.Alert = exports.Progress = exports.Chip = exports.Page = exports.BottomNavigationLink = exports.BottomNavigationListItem = exports.BottomNavigationList = exports.BottomNavigation = exports.DrawerContent = exports.DrawerClose = exports.DrawerTitle = exports.DrawerTrigger = exports.Drawer = exports.Icon = exports.cn = exports.Audio = exports.InputLabel = exports.InputField = exports.buttonVariants = exports.Button = exports.AccountCollapsibleContentItem = exports.AccountCollapsibleContent = exports.AccountCollapsibleTrigger = exports.AccountCollapsibleHeader = exports.AccountCollapsible = exports.CollapsibleContent = exports.CollapsibleTrigger = exports.Collapsible = exports.InputOTPSeparator = exports.InputOTPSlot = exports.InputOTPGroup = exports.InputOTP = exports.Logo = exports.Popover = exports.Slider = exports.Tabs = exports.Tooltip = void 0;
|
|
4
|
+
exports.toast = exports.Toaster = exports.ButtonWidget = exports.DigitKeyPad = exports.badgeVariants = exports.Badge = exports.farvoriteLinkClasses = exports.FarvoritePaymentDescription = exports.FavoritePaymentsItem = exports.FavoritePaymentsList = exports.MessageTyping = exports.AlertDialogCancel = exports.AlertDialogAction = exports.AlertDialogDescription = exports.AlertDialogTitle = exports.AlertDialogFooter = exports.AlertDialogHeader = exports.AlertDialogContent = exports.AlertDialogTrigger = exports.AlertDialog = exports.Select = exports.InputMask = exports.SelectAsync = void 0;
|
|
5
5
|
const tslib_1 = require("tslib");
|
|
6
6
|
const Tooltip_1 = require("./Tooltip");
|
|
7
7
|
Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return Tooltip_1.Tooltip; } });
|
|
@@ -48,6 +48,7 @@ Object.defineProperty(exports, "Drawer", { enumerable: true, get: function () {
|
|
|
48
48
|
Object.defineProperty(exports, "DrawerTrigger", { enumerable: true, get: function () { return Drawer_1.DrawerTrigger; } });
|
|
49
49
|
Object.defineProperty(exports, "DrawerClose", { enumerable: true, get: function () { return Drawer_1.DrawerClose; } });
|
|
50
50
|
Object.defineProperty(exports, "DrawerContent", { enumerable: true, get: function () { return Drawer_1.DrawerContent; } });
|
|
51
|
+
Object.defineProperty(exports, "DrawerTitle", { enumerable: true, get: function () { return Drawer_1.DrawerTitle; } });
|
|
51
52
|
const Page_1 = require("./Page");
|
|
52
53
|
Object.defineProperty(exports, "Page", { enumerable: true, get: function () { return Page_1.Page; } });
|
|
53
54
|
const Chip_1 = require("./Chip");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,uCAAmC;AAwDlC,wFAxDQ,iBAAO,OAwDR;AAvDR,iCAA6B;AAwD5B,qFAxDQ,WAAI,OAwDR;AAvDL,qCAAiC;AAwDhC,uFAxDQ,eAAM,OAwDR;AAvDP,uCAAmC;AAwDlC,wFAxDQ,iBAAO,OAwDR;AAvDR,+DAAyB;AAwDxB,eAxDM,cAAI,CAwDN;AAvDL,2CAAsF;AAwDrF,yFAxDQ,oBAAQ,OAwDR;AACR,8FAzDkB,yBAAa,OAyDlB;AACb,6FA1DiC,wBAAY,OA0DjC;AACZ,kGA3D+C,6BAAiB,OA2D/C;AA1DlB,yDAK2B;AA0E1B,iGA9EA,mCAAgB,OA8EA;AAChB,qGA9EA,uCAAoB,OA8EA;AACpB,yGA9EA,2CAAwB,OA8EA;AACxB,qGA9EA,uCAAoB,OA8EA;AA5ErB,0DAA8B;AAmE7B,oBAAI;AAlEL,+CAAmF;AAoDlF,4FApDQ,yBAAW,OAoDR;AACX,mGArDqB,gCAAkB,OAqDrB;AAClB,mGAtDyC,gCAAkB,OAsDzC;AArDnB,+CAMsB;AAgDr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pC,yFAtDQ,mBAAQ,OAsDR;AArDT,+CAUsB;AA6DrB,4FAtEA,yBAAW,OAsEA;AACX,mGAtEA,gCAAkB,OAsEA;AAClB,mGAtEA,gCAAkB,OAsEA;AAClB,kGAtEA,+BAAiB,OAsEA;AACjB,kGAtEA,+BAAiB,OAsEA;AACjB,iGAtEA,8BAAgB,OAsEA;AAChB,uGAtEA,oCAAsB,OAsEA;AACtB,kGAtEA,+BAAiB,OAsEA;AACjB,kGAtEA,+BAAiB,OAsEA;AApElB,iCAAsC;AAqErC,8FArEQ,oBAAa,OAqER;AApEd,uDAAiI;AAqEhI,qGArEQ,sCAAoB,OAqER;AACpB,qGAtE8B,sCAAoB,OAsE9B;AACpB,4GAvEoD,6CAA2B,OAuEpD;AAC3B,qGAxEiF,sCAAoB,OAwEjF;AAvErB,+CAA2C;AA0E1C,4FA1EQ,yBAAW,OA0ER;AAzEZ,mCAA8C;AAuE7C,sFAvEQ,aAAK,OAuER;AACL,8FAxEe,qBAAa,OAwEf;AAvEd,uCAA0C;AA0EzC,wFA1EQ,iBAAO,OA0ER;AACP,sFA3EiB,eAAK,OA2EjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modul/mbui",
|
|
3
|
-
"version": "0.0.20
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"packageManager": "yarn@3.5.1",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
"@hookform/resolvers": "3.9.0",
|
|
25
25
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
26
26
|
"@radix-ui/react-alert-dialog": "1.1.1",
|
|
27
|
-
"@radix-ui/react-checkbox": "1.1.1",
|
|
28
27
|
"@radix-ui/react-collapsible": "1.1.0",
|
|
29
28
|
"@radix-ui/react-dropdown-menu": "2.1.1",
|
|
30
29
|
"@radix-ui/react-label": "2.1.0",
|
package/src/index.ts
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import { Button, buttonVariants, ButtonWidget } from './Button'
|
|
23
23
|
import { Audio } from './Audio'
|
|
24
24
|
import { cn } from './@/lib/utils'
|
|
25
|
-
import { Drawer, DrawerTrigger, DrawerClose, DrawerContent } from './Drawer'
|
|
25
|
+
import { Drawer, DrawerTrigger, DrawerClose, DrawerContent, DrawerTitle } from './Drawer'
|
|
26
26
|
import { Page } from './Page'
|
|
27
27
|
import { Chip } from './Chip'
|
|
28
28
|
import { InputField, InputLabel, InputMask } from './Input'
|
|
@@ -80,7 +80,7 @@ export {
|
|
|
80
80
|
Icon,
|
|
81
81
|
Drawer,
|
|
82
82
|
DrawerTrigger,
|
|
83
|
-
|
|
83
|
+
DrawerTitle,
|
|
84
84
|
DrawerClose,
|
|
85
85
|
DrawerContent,
|
|
86
86
|
BottomNavigation,
|
|
@@ -56,7 +56,7 @@ export const smsSignPage = () => {
|
|
|
56
56
|
<Close className="text-primary" />
|
|
57
57
|
</a>
|
|
58
58
|
</Page.Navbar>
|
|
59
|
-
|
|
59
|
+
<Page.Content className='flex flex-col'>
|
|
60
60
|
<h1 className="mt-[32px] mb-[16px] font-medium text-[20px] text-center leading-[1.2]">
|
|
61
61
|
Введите код из сообщения
|
|
62
62
|
<br />
|
|
@@ -85,66 +85,6 @@ export const smsSignPage = () => {
|
|
|
85
85
|
<Button className='mt-[32px] w-full'>Подтвердить</Button>
|
|
86
86
|
</div>
|
|
87
87
|
</form>
|
|
88
|
-
</Page.Content> */}
|
|
89
|
-
<Page.Content>
|
|
90
|
-
<Drawer
|
|
91
|
-
snapPoints={['148px', '355px', 1]}
|
|
92
|
-
activeSnapPoint={snap}
|
|
93
|
-
setActiveSnapPoint={setSnap}
|
|
94
|
-
>
|
|
95
|
-
<DrawerTrigger>
|
|
96
|
-
<Button variant="primary">Перевести</Button>
|
|
97
|
-
</DrawerTrigger>
|
|
98
|
-
<DrawerContent>
|
|
99
|
-
<DrawerTitle className="sr-only">Перевести</DrawerTitle>
|
|
100
|
-
<div className="px-[20px] pt-[8px]">
|
|
101
|
-
<p
|
|
102
|
-
className={cn('font-medium text-[12px] leading-[1.16] mb-[16px]', 'text-success', {
|
|
103
|
-
'text-critical': false,
|
|
104
|
-
})}
|
|
105
|
-
>
|
|
106
|
-
Отклонен, <time dateTime="">30 января 2024, 11:23</time>
|
|
107
|
-
</p>
|
|
108
|
-
<p className="font-medium text-[40px] leading-[1.1] mb-[16px]">3598,00 ₽</p>
|
|
109
|
-
<div className="space-y-[8px]">
|
|
110
|
-
<p className="">
|
|
111
|
-
<span className="text-light text-[12px] leading-[1.16]">Платёжное поручение:</span>{' '}
|
|
112
|
-
№91 от 01.01.2024
|
|
113
|
-
</p>
|
|
114
|
-
<p className="">
|
|
115
|
-
<span className="text-light text-[12px] leading-[1.16]">Со счёта:</span> Расчётный
|
|
116
|
-
счёт (•••• 4590)
|
|
117
|
-
</p>
|
|
118
|
-
<p className="">
|
|
119
|
-
<span className="text-light text-[12px] leading-[1.16]">На счёт:</span> Карточный
|
|
120
|
-
счёт (•••• 6416)
|
|
121
|
-
</p>
|
|
122
|
-
</div>
|
|
123
|
-
|
|
124
|
-
<hr
|
|
125
|
-
role="presentation"
|
|
126
|
-
className="my-[16px]"
|
|
127
|
-
/>
|
|
128
|
-
|
|
129
|
-
<Alert
|
|
130
|
-
variant="critical"
|
|
131
|
-
className="my-[16px]"
|
|
132
|
-
>
|
|
133
|
-
<Alert.Description>
|
|
134
|
-
Произошла ошибка при отправке в банк: Клиент не является владельцем счёта
|
|
135
|
-
</Alert.Description>
|
|
136
|
-
</Alert>
|
|
137
|
-
|
|
138
|
-
<Button>Повторить</Button>
|
|
139
|
-
|
|
140
|
-
<p className="mt-[32px]">
|
|
141
|
-
<span className="text-light">Назначение:</span>
|
|
142
|
-
<br />
|
|
143
|
-
Перевод между счетами. Без НДС
|
|
144
|
-
</p>
|
|
145
|
-
</div>
|
|
146
|
-
</DrawerContent>
|
|
147
|
-
</Drawer>
|
|
148
88
|
</Page.Content>
|
|
149
89
|
</Page>
|
|
150
90
|
)
|