@modul/mbui 0.0.16-beta-pv-53139-88618ef5 → 0.0.17-beta-pv-53151-c7f612b9
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/Alert/Alert.d.ts +15 -6
- package/dist/Alert/Alert.js +29 -18
- package/dist/Alert/Alert.js.map +1 -1
- package/dist/AlertDialog/AlertDialog.js +1 -1
- package/dist/AlertDialog/AlertDialog.js.map +1 -1
- package/dist/BottomNavigation/BottomNavigation.js +19 -1
- package/dist/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/Button/Button.d.ts +2 -2
- package/dist/Button/Button.js +15 -117
- package/dist/Button/Button.js.map +1 -1
- package/dist/Button/index.js.map +1 -1
- package/dist/Chip/Chip.js +0 -1
- package/dist/Chip/Chip.js.map +1 -1
- package/dist/Collapsible/AccountCollapsible.js +16 -1
- package/dist/Collapsible/AccountCollapsible.js.map +1 -1
- package/dist/DatePicker/DatePicker.js +4 -4
- package/dist/DatePicker/DatePicker.js.map +1 -1
- package/dist/Drawer/Drawer.js.map +1 -1
- package/dist/Form/Form.js +1 -1
- package/dist/Form/Form.js.map +1 -1
- package/dist/Icon/SvgIcon.js +1 -1
- package/dist/Icon/icons/ArrowLeft.js +2 -2
- package/dist/Icon/icons/ArrowLeft.js.map +1 -1
- package/dist/Icon/icons/ArrowRight.js +2 -2
- package/dist/Icon/icons/ArrowRight.js.map +1 -1
- package/dist/Icon/icons/Atm.js +2 -2
- package/dist/Icon/icons/Atm.js.map +1 -1
- package/dist/Icon/icons/Call.js +2 -2
- package/dist/Icon/icons/Call.js.map +1 -1
- package/dist/Icon/icons/Cancel.js +2 -2
- package/dist/Icon/icons/Cancel.js.map +1 -1
- package/dist/Icon/icons/Card.js +2 -2
- package/dist/Icon/icons/Card.js.map +1 -1
- package/dist/Icon/icons/Change.js +2 -2
- package/dist/Icon/icons/Change.js.map +1 -1
- package/dist/Icon/icons/Check.js +2 -2
- package/dist/Icon/icons/Check.js.map +1 -1
- package/dist/Icon/icons/CheckCircleSolid.js +2 -2
- package/dist/Icon/icons/CheckCircleSolid.js.map +1 -1
- package/dist/Icon/icons/Clock.js +2 -2
- package/dist/Icon/icons/Clock.js.map +1 -1
- package/dist/Icon/icons/ClockSolid.d.ts +4 -0
- package/dist/Icon/icons/ClockSolid.js +9 -0
- package/dist/Icon/icons/ClockSolid.js.map +1 -0
- package/dist/Icon/icons/Close.js +2 -2
- package/dist/Icon/icons/Close.js.map +1 -1
- package/dist/Icon/icons/Copy.js +2 -2
- package/dist/Icon/icons/Copy.js.map +1 -1
- package/dist/Icon/icons/Doc.js +2 -2
- package/dist/Icon/icons/Doc.js.map +1 -1
- package/dist/Icon/icons/Download.js +2 -2
- package/dist/Icon/icons/Download.js.map +1 -1
- package/dist/Icon/icons/DropdownSmall.d.ts +4 -0
- package/dist/Icon/icons/DropdownSmall.js +9 -0
- package/dist/Icon/icons/DropdownSmall.js.map +1 -0
- package/dist/Icon/icons/Edit.js +2 -2
- package/dist/Icon/icons/Edit.js.map +1 -1
- package/dist/Icon/icons/Favorite.js +2 -2
- package/dist/Icon/icons/Favorite.js.map +1 -1
- package/dist/Icon/icons/FavoriteSolid.js +2 -2
- package/dist/Icon/icons/FavoriteSolid.js.map +1 -1
- package/dist/Icon/icons/File.js +2 -2
- package/dist/Icon/icons/File.js.map +1 -1
- package/dist/Icon/icons/InfoSolid.js +2 -2
- package/dist/Icon/icons/InfoSolid.js.map +1 -1
- package/dist/Icon/icons/Link.js +2 -2
- package/dist/Icon/icons/Link.js.map +1 -1
- package/dist/Icon/icons/Logout.js +2 -2
- package/dist/Icon/icons/Logout.js.map +1 -1
- package/dist/Icon/icons/MailSend.js +2 -2
- package/dist/Icon/icons/MailSend.js.map +1 -1
- package/dist/Icon/icons/MapPin.js +2 -2
- package/dist/Icon/icons/MapPin.js.map +1 -1
- package/dist/Icon/icons/MapPinSolid.d.ts +4 -0
- package/dist/Icon/icons/MapPinSolid.js +9 -0
- package/dist/Icon/icons/MapPinSolid.js.map +1 -0
- package/dist/Icon/icons/Order.js +2 -2
- package/dist/Icon/icons/Order.js.map +1 -1
- package/dist/Icon/icons/Print.js +2 -2
- package/dist/Icon/icons/Print.js.map +1 -1
- package/dist/Icon/icons/Reload.js +2 -2
- package/dist/Icon/icons/Reload.js.map +1 -1
- package/dist/Icon/icons/Sbp.js +2 -2
- package/dist/Icon/icons/Sbp.js.map +1 -1
- package/dist/Icon/icons/SbpColored.js +9 -9
- package/dist/Icon/icons/SbpColored.js.map +1 -1
- package/dist/Icon/icons/Tariffs.js +2 -2
- package/dist/Icon/icons/Tariffs.js.map +1 -1
- package/dist/Icon/icons/Trash.js +2 -2
- package/dist/Icon/icons/Trash.js.map +1 -1
- package/dist/Icon/icons/User.js +2 -2
- package/dist/Icon/icons/User.js.map +1 -1
- package/dist/Icon/icons/UserEdit.js +2 -2
- package/dist/Icon/icons/UserEdit.js.map +1 -1
- package/dist/Icon/icons/Warning.js +2 -2
- package/dist/Icon/icons/Warning.js.map +1 -1
- package/dist/Icon/icons/Wheelchair.js +2 -2
- package/dist/Icon/icons/Wheelchair.js.map +1 -1
- package/dist/Icon/icons/index.d.ts +4 -1
- package/dist/Icon/icons/index.js +13 -7
- package/dist/Icon/icons/index.js.map +1 -1
- package/dist/Input/InputMask.js +22 -1
- package/dist/Input/InputMask.js.map +1 -1
- package/dist/Input-OTP/Input.js +0 -1
- package/dist/Input-OTP/Input.js.map +1 -1
- package/dist/Popover/Popover.js +23 -2
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/Progress/Progress.js +10 -2
- package/dist/Progress/Progress.js.map +1 -1
- package/dist/Select/SelectAccountCard.js +30 -4
- package/dist/Select/SelectAccountCard.js.map +1 -1
- package/dist/Select/SelectAsync.js +14 -3
- package/dist/Select/SelectAsync.js.map +1 -1
- package/dist/Select/SelectBase.js +14 -3
- package/dist/Select/SelectBase.js.map +1 -1
- package/dist/Slider/Slider.js +21 -5
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Switch/Switch.js +25 -11
- package/dist/Switch/Switch.js.map +1 -1
- package/dist/Tabs/Tabs.js +39 -9
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Textarea/Textarea.d.ts +1 -1
- package/dist/Textarea/Textarea.js +19 -2
- package/dist/Textarea/Textarea.js.map +1 -1
- package/dist/index.d.ts +3 -5
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
- package/src/@/config/index.ts +72 -72
- package/src/Alert/Alert.tsx +67 -24
- package/src/AlertDialog/AlertDialog.tsx +1 -2
- package/src/BottomNavigation/BottomNavigation.tsx +19 -1
- package/src/Button/Button.tsx +42 -139
- package/src/Button/index.ts +1 -1
- package/src/Chip/Chip.tsx +1 -2
- package/src/Collapsible/AccountCollapsible.tsx +17 -1
- package/src/DatePicker/DatePicker.tsx +4 -4
- package/src/Drawer/Drawer.tsx +1 -0
- package/src/Form/Form.tsx +4 -2
- package/src/Icon/SvgIcon.tsx +1 -1
- package/src/Icon/icons/ArrowLeft.tsx +2 -1
- package/src/Icon/icons/ArrowRight.tsx +4 -4
- package/src/Icon/icons/Atm.tsx +4 -4
- package/src/Icon/icons/Call.tsx +5 -5
- package/src/Icon/icons/Cancel.tsx +5 -5
- package/src/Icon/icons/Card.tsx +4 -4
- package/src/Icon/icons/Change.tsx +4 -4
- package/src/Icon/icons/Check.tsx +5 -5
- package/src/Icon/icons/CheckCircleSolid.tsx +5 -5
- package/src/Icon/icons/Clock.tsx +2 -1
- package/src/Icon/icons/ClockSolid.tsx +18 -0
- package/src/Icon/icons/Close.tsx +6 -6
- package/src/Icon/icons/Copy.tsx +5 -5
- package/src/Icon/icons/Doc.tsx +5 -5
- package/src/Icon/icons/Download.tsx +5 -5
- package/src/Icon/icons/DropdownSmall.tsx +20 -0
- package/src/Icon/icons/Edit.tsx +5 -5
- package/src/Icon/icons/Favorite.tsx +4 -4
- package/src/Icon/icons/FavoriteSolid.tsx +5 -5
- package/src/Icon/icons/File.tsx +5 -5
- package/src/Icon/icons/InfoSolid.tsx +6 -6
- package/src/Icon/icons/Link.tsx +5 -5
- package/src/Icon/icons/Logout.tsx +5 -5
- package/src/Icon/icons/MailSend.tsx +5 -5
- package/src/Icon/icons/MapPin.tsx +5 -5
- package/src/Icon/icons/MapPinSolid.tsx +18 -0
- package/src/Icon/icons/Order.tsx +5 -5
- package/src/Icon/icons/Print.tsx +5 -5
- package/src/Icon/icons/Reload.tsx +5 -4
- package/src/Icon/icons/Sbp.tsx +5 -5
- package/src/Icon/icons/SbpColored.tsx +19 -19
- package/src/Icon/icons/Tariffs.tsx +5 -4
- package/src/Icon/icons/Trash.tsx +5 -5
- package/src/Icon/icons/User.tsx +5 -5
- package/src/Icon/icons/UserEdit.tsx +4 -4
- package/src/Icon/icons/Warning.tsx +4 -4
- package/src/Icon/icons/Wheelchair.tsx +5 -5
- package/src/Icon/icons/index.ts +4 -1
- package/src/Input/InputMask.tsx +22 -1
- package/src/Input-OTP/Input.tsx +0 -1
- package/src/Popover/Popover.tsx +24 -2
- package/src/Progress/Progress.tsx +11 -3
- package/src/Select/Select.tsx +1 -1
- package/src/Select/SelectAccountCard.tsx +30 -9
- package/src/Select/SelectAsync.tsx +14 -8
- package/src/Select/SelectBase.tsx +14 -4
- package/src/Slider/Slider.tsx +21 -4
- package/src/Switch/Switch.tsx +25 -12
- package/src/Tabs/Tabs.tsx +41 -9
- package/src/Textarea/Textarea.tsx +30 -19
- package/src/assets/css/global.css +11 -6
- package/src/index.ts +3 -9
- package/dist/Badge/Badge.d.ts +0 -10
- package/dist/Badge/Badge.js +0 -52
- package/dist/Badge/Badge.js.map +0 -1
- package/dist/Badge/index.d.ts +0 -1
- package/dist/Badge/index.js +0 -7
- package/dist/Badge/index.js.map +0 -1
- package/dist/Checkbox/Checkbox.d.ts +0 -4
- package/dist/Checkbox/Checkbox.js +0 -35
- package/dist/Checkbox/Checkbox.js.map +0 -1
- package/dist/Checkbox/index.d.ts +0 -1
- package/dist/Checkbox/index.js +0 -6
- package/dist/Checkbox/index.js.map +0 -1
- package/src/Badge/Badge.tsx +0 -58
- package/src/Badge/index.ts +0 -1
- package/src/Checkbox/Checkbox.tsx +0 -44
- package/src/Checkbox/index.ts +0 -1
- package/src/Slider/slider.styl +0 -62
package/src/Button/Button.tsx
CHANGED
|
@@ -3,140 +3,43 @@ import { Slot } from '@radix-ui/react-slot'
|
|
|
3
3
|
import { cva, type VariantProps } from 'class-variance-authority'
|
|
4
4
|
import { cn } from '../@/lib/utils'
|
|
5
5
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
active:border-btn-primary-active
|
|
30
|
-
active:bg-btn-primary-active`,
|
|
31
|
-
secondary: `
|
|
32
|
-
text-btn-secondary
|
|
33
|
-
bg-btn-secondary
|
|
34
|
-
border-btn-secondary
|
|
35
|
-
hover:bg-btn-secondary-hover
|
|
36
|
-
hover:border-btn-secondary-hover
|
|
37
|
-
focus:bg-btn-secondary-focus
|
|
38
|
-
focus:border-btn-secondary-focus
|
|
39
|
-
active:bg-btn-secondary-active
|
|
40
|
-
active:border-btn-secondary-active`,
|
|
41
|
-
success: `
|
|
42
|
-
text-btn-success
|
|
43
|
-
bg-btn-success
|
|
44
|
-
border-btn-success
|
|
45
|
-
hover:bg-btn-success-hover
|
|
46
|
-
active:border-btn-success-active
|
|
47
|
-
focus:bg-btn-success-focus
|
|
48
|
-
focus:border-btn-success-focus
|
|
49
|
-
active:bg-btn-success-active
|
|
50
|
-
hover:border-btn-success-hover`,
|
|
51
|
-
primaryOutline: `
|
|
52
|
-
text-btn-primary-outline
|
|
53
|
-
bg-btn-primary-outline
|
|
54
|
-
border-btn-primary-outline
|
|
55
|
-
hover:text-btn-primary-outline-hover
|
|
56
|
-
hover:bg-btn-primary-outline-hover
|
|
57
|
-
hover:border-btn-primary-outline-hover
|
|
58
|
-
focus:text-btn-primary-outline-focus
|
|
59
|
-
focus:bg-btn-primary-outline-focus
|
|
60
|
-
focus:border-btn-primary-outline-focus
|
|
61
|
-
active:text-btn-primary-outline-active
|
|
62
|
-
active:bg-btn-primary-outline-active
|
|
63
|
-
active:border-btn-primary-outline-active`,
|
|
64
|
-
outline: `
|
|
65
|
-
text-btn-outline
|
|
66
|
-
border-[1px]
|
|
67
|
-
border-btn-outline
|
|
68
|
-
ring-[currentColor]`,
|
|
69
|
-
ghost: `
|
|
70
|
-
text-btn-ghost
|
|
71
|
-
bg-btn-ghost
|
|
72
|
-
border-transparent
|
|
73
|
-
hover:bg-btn-ghost-hover
|
|
74
|
-
focus:bg-btn-ghost-focus
|
|
75
|
-
active:bg-btn-ghost-active`,
|
|
76
|
-
widget: `
|
|
77
|
-
justify-start
|
|
78
|
-
h-[72px]
|
|
79
|
-
w-full p-[16px]
|
|
80
|
-
space-x-[16px]
|
|
81
|
-
text-left
|
|
82
|
-
rounded-md
|
|
83
|
-
shadow-md
|
|
84
|
-
border-transparent`,
|
|
85
|
-
},
|
|
86
|
-
size: {
|
|
87
|
-
lg: 'h-[52px] px-[32px] text-[16px] leading-[1.08] rounded-[4px]',
|
|
88
|
-
md: 'h-[44px] px-[24px] text-[14px] leading-[1.08] rounded-[4px]',
|
|
89
|
-
sm: 'h-[36px] px-[20px] text-[12px] leading-none rounded-[3px]',
|
|
90
|
-
xs: 'h-[28px] px-[12px] text-[11px] leading-none rounded-[2px]',
|
|
91
|
-
xxs: 'h-[20px] px-[8px] text-[9px] leading-none rounded-[2px]',
|
|
92
|
-
widget: `h-[72px] p-[16px]`
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
const buttonVariants = cva(buttonClasses.variant.base, {
|
|
97
|
-
variants: {
|
|
98
|
-
variant: {
|
|
99
|
-
primary: buttonClasses.variant.primary,
|
|
100
|
-
secondary: buttonClasses.variant.secondary,
|
|
101
|
-
success: buttonClasses.variant.success,
|
|
102
|
-
'primary-outline': buttonClasses.variant.primaryOutline,
|
|
103
|
-
outline: buttonClasses.variant.outline,
|
|
104
|
-
ghost: buttonClasses.variant.ghost,
|
|
105
|
-
widget: buttonClasses.variant.widget,
|
|
106
|
-
// link: 'text-primary underline-offset-4 hover:underline',
|
|
6
|
+
const buttonVariants = cva(
|
|
7
|
+
'inline-flex justify-center items-center border-[2px] disabled:opacity-[.24] focus-visible:ring ring-offset-1 font-medium whitespace-nowrap transition-colors focus-visible:outline-none disabled:pointer-events-none',
|
|
8
|
+
{
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
primary:
|
|
12
|
+
'text-btn-primary bg-btn-primary hover:bg-btn-primary-hover focus:bg-btn-primary-focus active:bg-btn-primary-active border-btn-primary hover:border-btn-primary-hover focus:border-btn-primary-focus active:border-btn-primary-active',
|
|
13
|
+
secondary:
|
|
14
|
+
'text-btn-secondary bg-btn-secondary hover:bg-btn-secondary-hover focus:bg-btn-secondary-focus active:bg-btn-secondary-active border-btn-secondary hover:border-btn-secondary-hover focus:border-btn-secondary-focus active:border-btn-secondary-active',
|
|
15
|
+
success:
|
|
16
|
+
'text-btn-success bg-btn-success hover:bg-btn-success-hover focus:bg-btn-success-focus active:bg-btn-success-active border-btn-success hover:border-btn-success-hover focus:border-btn-success-focus active:border-btn-success-active',
|
|
17
|
+
'primary-outline':
|
|
18
|
+
'text-btn-primary-outline hover:text-btn-primary-outline-hover focus:text-btn-primary-outline-focus active:text-btn-primary-outline-active bg-btn-primary-outline hover:bg-btn-primary-outline-hover focus:bg-btn-primary-outline-focus active:bg-btn-primary-outline-active border-btn-primary-outline hover:border-btn-primary-outline-hover focus:border-btn-primary-outline-focus active:border-btn-primary-outline-active',
|
|
19
|
+
outline: 'border-[1px] text-btn-outline border-btn-outline ring-[currentColor]',
|
|
20
|
+
ghost: 'text-btn-ghost bg-btn-ghost hover:bg-btn-ghost-hover focus:bg-btn-ghost-focus active:bg-btn-ghost-active border-transparent',
|
|
21
|
+
},
|
|
22
|
+
size: {
|
|
23
|
+
lg: 'h-[52px] px-[32px] text-[16px] leading-[1.08] rounded-[4px]',
|
|
24
|
+
md: 'h-[44px] px-[24px] text-[14px] leading-[1.08] rounded-[4px]',
|
|
25
|
+
sm: 'h-[36px] px-[20px] text-[12px] leading-none rounded-[3px]',
|
|
26
|
+
xs: 'h-[28px] px-[12px] text-[11px] leading-none rounded-[2px]',
|
|
27
|
+
xxs: 'h-[20px] px-[8px] text-[9px] leading-none rounded-[2px]',
|
|
28
|
+
},
|
|
107
29
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
widget: buttonClasses.size.widget,
|
|
112
|
-
sm: buttonClasses.size.sm,
|
|
113
|
-
xs: buttonClasses.size.xs,
|
|
114
|
-
xxs: buttonClasses.size.xxs,
|
|
30
|
+
defaultVariants: {
|
|
31
|
+
variant: 'primary',
|
|
32
|
+
size: 'md',
|
|
115
33
|
},
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
variant: 'primary',
|
|
119
|
-
size: 'md',
|
|
120
|
-
},
|
|
121
|
-
})
|
|
122
|
-
|
|
34
|
+
}
|
|
35
|
+
)
|
|
123
36
|
const textVariants = cva(
|
|
124
|
-
|
|
125
|
-
whitespace-nowrap
|
|
126
|
-
transition-colors
|
|
127
|
-
rounded-[.25em]
|
|
128
|
-
focus-visible:outline-current
|
|
129
|
-
disabled:opacity-[.24]
|
|
130
|
-
disabled:pointer-events-none`,
|
|
37
|
+
'inline-flex whitespace-nowrap transition-colors focus-visible:outline-current disabled:opacity-[.24] rounded-[.25em] disabled:pointer-events-none',
|
|
131
38
|
{
|
|
132
39
|
variants: {
|
|
133
40
|
variant: {
|
|
134
41
|
primary:
|
|
135
|
-
|
|
136
|
-
hover:text-primary-hover
|
|
137
|
-
focus:text-primary-focus
|
|
138
|
-
active:text-primary-active
|
|
139
|
-
disabled:pointer-events-none`,
|
|
42
|
+
'text-primary hover:text-primary-hover focus:text-primary-focus active:text-primary-active disabled:pointer-events-none',
|
|
140
43
|
},
|
|
141
44
|
},
|
|
142
45
|
defaultVariants: {
|
|
@@ -153,18 +56,18 @@ export interface ButtonProps
|
|
|
153
56
|
}
|
|
154
57
|
|
|
155
58
|
const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
59
|
+
({ className, variant, size, asText = false, asChild = false, ...props }, ref) => {
|
|
60
|
+
const Comp = asChild ? Slot : "button"
|
|
61
|
+
// @ts-ignore
|
|
62
|
+
const classes = asText ? textVariants<any>({ variant, className }) : buttonVariants({ variant, size, className });
|
|
63
|
+
return (
|
|
64
|
+
<Comp
|
|
65
|
+
className={cn(classes)}
|
|
66
|
+
ref={ref}
|
|
67
|
+
{...props}
|
|
68
|
+
/>
|
|
69
|
+
)
|
|
70
|
+
}
|
|
168
71
|
)
|
|
169
72
|
|
|
170
73
|
Button.displayName = 'Button'
|
package/src/Button/index.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {Button, buttonVariants} from './Button'
|
|
1
|
+
export { Button, buttonVariants } from './Button'
|
package/src/Chip/Chip.tsx
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react'
|
|
2
2
|
import { cva, type VariantProps } from 'class-variance-authority'
|
|
3
3
|
import { Slot } from '@radix-ui/react-slot'
|
|
4
4
|
import { cn } from '../@/lib/utils'
|
|
5
|
-
// import { cn } from "@/lib/utils" порешать с алиасами
|
|
6
5
|
|
|
7
6
|
const chipVariants = cva(
|
|
8
7
|
'inline-flex justify-center items-center border-[2px] disabled:opacity-[.24] rounded-full ring-offset-1 font-medium whitespace-nowrap transition-colors disabled:pointer-events-none',
|
|
@@ -28,6 +28,22 @@ const AccountCollapsibleHeader: FC<AccountCollapsibleHeaderProps> = ({ label })
|
|
|
28
28
|
</AccountCollapsibleTrigger>
|
|
29
29
|
)
|
|
30
30
|
}
|
|
31
|
+
|
|
32
|
+
const accountCollapsibleClasses = `
|
|
33
|
+
text-left
|
|
34
|
+
w-full
|
|
35
|
+
rounded-[4px]
|
|
36
|
+
px-[12px]
|
|
37
|
+
py-[16px]
|
|
38
|
+
bg-btn-secondary
|
|
39
|
+
border-btn-secondary
|
|
40
|
+
hover:bg-btn-secondary-hover
|
|
41
|
+
hover:border-btn-secondary-hover
|
|
42
|
+
focus:bg-btn-secondary-focus
|
|
43
|
+
focus:border-btn-secondary-focus
|
|
44
|
+
active:border-btn-secondary-active
|
|
45
|
+
active:bg-btn-secondary-active
|
|
46
|
+
`
|
|
31
47
|
const AccountCollapsibleContentItem: FC<AccountCollapsibleContentItemProps> = ({
|
|
32
48
|
children,
|
|
33
49
|
asChild = true,
|
|
@@ -38,7 +54,7 @@ const AccountCollapsibleContentItem: FC<AccountCollapsibleContentItemProps> = ({
|
|
|
38
54
|
return (
|
|
39
55
|
<Comp
|
|
40
56
|
className={cn(
|
|
41
|
-
|
|
57
|
+
accountCollapsibleClasses,
|
|
42
58
|
className
|
|
43
59
|
)}
|
|
44
60
|
{...props}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react'
|
|
2
2
|
import { format } from 'date-fns'
|
|
3
3
|
import { cn } from '../@/lib/utils'
|
|
4
|
-
import { Calendar } from '
|
|
5
|
-
import { Calendar as CalendarIcon } from '
|
|
6
|
-
import { Popover } from '
|
|
4
|
+
import { Calendar } from '../../src/Calendar'
|
|
5
|
+
import { Calendar as CalendarIcon } from '../../src/Icon'
|
|
6
|
+
import { Popover } from '../../src/Popover'
|
|
7
7
|
import { ru } from 'date-fns/locale'
|
|
8
8
|
|
|
9
|
-
const trigegrClasses = 'inline-flex items-center
|
|
9
|
+
const trigegrClasses = 'inline-flex items-center px-[12px] h-[44px] text-left border-input border rounded-sm'
|
|
10
10
|
|
|
11
11
|
interface IProps {
|
|
12
12
|
mode?: any;
|
package/src/Drawer/Drawer.tsx
CHANGED
package/src/Form/Form.tsx
CHANGED
|
@@ -2,9 +2,8 @@ import * as React from 'react'
|
|
|
2
2
|
import * as LabelPrimitive from '@radix-ui/react-label'
|
|
3
3
|
import { Slot } from '@radix-ui/react-slot'
|
|
4
4
|
import { Controller, ControllerProps, FieldPath, FieldValues, FormProvider, useFormContext } from 'react-hook-form'
|
|
5
|
-
|
|
6
5
|
import { cn } from '../@/lib/utils'
|
|
7
|
-
import { Label } from '
|
|
6
|
+
import { Label } from '../../src/Label'
|
|
8
7
|
|
|
9
8
|
const Form = FormProvider
|
|
10
9
|
|
|
@@ -74,6 +73,7 @@ const FormItem = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTMLDivEl
|
|
|
74
73
|
)
|
|
75
74
|
}
|
|
76
75
|
)
|
|
76
|
+
|
|
77
77
|
FormItem.displayName = 'FormItem'
|
|
78
78
|
|
|
79
79
|
const FormLabel = React.forwardRef<
|
|
@@ -91,6 +91,7 @@ const FormLabel = React.forwardRef<
|
|
|
91
91
|
/>
|
|
92
92
|
)
|
|
93
93
|
})
|
|
94
|
+
|
|
94
95
|
FormLabel.displayName = 'FormLabel'
|
|
95
96
|
|
|
96
97
|
const FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.ComponentPropsWithoutRef<typeof Slot>>(
|
|
@@ -108,6 +109,7 @@ const FormControl = React.forwardRef<React.ElementRef<typeof Slot>, React.Compon
|
|
|
108
109
|
)
|
|
109
110
|
}
|
|
110
111
|
)
|
|
112
|
+
|
|
111
113
|
FormControl.displayName = 'FormControl'
|
|
112
114
|
|
|
113
115
|
const FormDescription = React.forwardRef<HTMLParagraphElement, React.HTMLAttributes<HTMLParagraphElement>>(
|
package/src/Icon/SvgIcon.tsx
CHANGED
|
@@ -6,11 +6,12 @@ const SvgArrowLeft = (props: SVGProps<SVGSVGElement>) => (
|
|
|
6
6
|
width={24}
|
|
7
7
|
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
9
10
|
{...props}
|
|
10
11
|
>
|
|
11
12
|
<path
|
|
12
13
|
fill="currentColor"
|
|
13
|
-
d="M21.
|
|
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"
|
|
14
15
|
/>
|
|
15
16
|
</SvgIcon>
|
|
16
17
|
)
|
|
@@ -3,15 +3,15 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgArrowRight = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
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
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
package/src/Icon/icons/Atm.tsx
CHANGED
|
@@ -3,15 +3,15 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgAtm = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
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
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
package/src/Icon/icons/Call.tsx
CHANGED
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCall = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="M17.04 22.8a3.7 3.7 0 0 1-1.25-.22A25.46 25.46 0 0 1 1.42 8.2a3.7 3.7 0 0 1 .86-3.85l2.44-2.44a2.4 2.4 0 0 1 3.42 0l3.5 3.49a2.44 2.44 0 0 1 0 3.44l-1.2 1.19a6.5 6.5 0 0 0 3.53 3.53l1.2-1.2a2.49 2.49 0 0 1 3.44 0l3.48 3.49a2.43 2.43 0 0 1 0 3.44l-2.44 2.43a3.69 3.69 0 0 1-2.61 1.08ZM3.68 7.4A22.9 22.9 0 0 0 16.6 20.31a1.3 1.3 0 0 0 1.35-.3l2.43-2.43-3.48-3.53-1.79 1.75a1.2 1.2 0 0 1-1.23.28 9.02 9.02 0 0 1-5.98-5.98 1.2 1.2 0 0 1 .29-1.23l1.74-1.74-3.48-3.53-2.49 2.44a1.3 1.3 0 0 0-.3 1.34Z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgCall
|
|
18
|
+
export default SvgCall
|
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCancel = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="m12 22.8c-5.95 0-10.8-4.85-10.8-10.8s4.85-10.8 10.8-10.8 10.8 4.85 10.8 10.8-4.85 10.8-10.8 10.8zm0-19.2a8.4 8.4 0 0 0 0 16.8 8.4 8.4 0 0 0 0-16.8zm1.7 8.4 1.54-1.55a1.2 1.2 0 1 0 -1.7-1.69l-1.54 1.55-1.55-1.55a1.2 1.2 0 1 0 -1.69 1.7l1.55 1.54-1.55 1.55a1.2 1.2 0 1 0 1.7 1.69l1.54-1.55 1.55 1.55a1.2 1.2 0 1 0 1.69-1.7l-1.55-1.54z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgCancel
|
|
18
|
+
export default SvgCancel
|
package/src/Icon/icons/Card.tsx
CHANGED
|
@@ -3,15 +3,15 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCard = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="M20.4 3.6H3.6A2.4 2.4 0 0 0 1.2 6v12a2.4 2.4 0 0 0 2.4 2.4h16.8a2.4 2.4 0 0 0 2.4-2.4V6a2.4 2.4 0 0 0-2.4-2.4ZM3.6 6h16.8v2.4H3.6V6Zm16.8 12H3.6v-7.2h16.8V18Z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
@@ -3,15 +3,15 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgChange = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="m7.2 15.6v3.6c0 .66-.54 1.2-1.2 1.2h-3.6a1.2 1.2 0 0 1 -1.2-1.2c0-.66.54-1.2 1.2-1.2h.61a10.82 10.82 0 0 1 8.99-16.8c.66 0 1.2.54 1.2 1.2s-.54 1.2-1.2 1.2a8.4 8.4 0 0 0 -7.2 12.71v-.7c0-.67.54-1.2 1.2-1.2s1.2.53 1.2 1.2zm14.4-9.6c.66 0 1.2-.54 1.2-1.2s-.54-1.2-1.2-1.2h-3.6c-.66 0-1.2.54-1.2 1.2v3.6c0 .66.54 1.2 1.2 1.2s1.2-.54 1.2-1.2v-.7a8.4 8.4 0 0 1 -7.2 12.7c-.66 0-1.2.54-1.2 1.2s.54 1.2 1.2 1.2a10.82 10.82 0 0 0 8.99-16.8z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
package/src/Icon/icons/Check.tsx
CHANGED
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCheck = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="M8.4 19.2c-.31 0-.61-.12-.85-.35l-6-6a1.2 1.2 0 1 1 1.69-1.69l5.15 5.15L20.74 3.96a1.2 1.2 0 1 1 1.69 1.7l-13.2 13.2c-.22.22-.52.34-.83.34Z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgCheck
|
|
18
|
+
export default SvgCheck
|
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCheckCircleSolid = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="m12 1.2a10.8 10.8 0 1 0 0 21.6 10.8 10.8 0 0 0 0-21.6zm5.05 8.65-5.4 5.4c-.24.24-.54.35-.85.35s-.61-.12-.85-.35l-3-3a1.2 1.2 0 1 1 1.69-1.69l2.15 2.15 4.55-4.55a1.2 1.2 0 0 1 1.69 0c.47.47.49 1.22.02 1.7z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgCheckCircleSolid
|
|
18
|
+
export default SvgCheckCircleSolid
|
package/src/Icon/icons/Clock.tsx
CHANGED
|
@@ -6,11 +6,12 @@ const SvgClock = (props: SVGProps<SVGSVGElement>) => (
|
|
|
6
6
|
width={24}
|
|
7
7
|
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
+
viewBox="0 0 24 24"
|
|
9
10
|
{...props}
|
|
10
11
|
>
|
|
11
12
|
<path
|
|
12
13
|
fill="currentColor"
|
|
13
|
-
d="
|
|
14
|
+
d="m16.26 13.4-3.06-2.04v-4.16c0-.66-.54-1.2-1.2-1.2s-1.2.54-1.2 1.2v4.8c0 .42.22.8.54 1l3.6 2.4c.52.37 1.28.22 1.66-.34.37-.54.21-1.3-.34-1.66zm-4.26 9.4c-5.95 0-10.8-4.85-10.8-10.8s4.85-10.8 10.8-10.8 10.8 4.85 10.8 10.8-4.85 10.8-10.8 10.8zm0-19.2a8.4 8.4 0 0 0 0 16.8 8.4 8.4 0 0 0 0-16.8z"
|
|
14
15
|
/>
|
|
15
16
|
</SvgIcon>
|
|
16
17
|
)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react'
|
|
2
|
+
import type { SVGProps } from 'react'
|
|
3
|
+
import { SvgIcon } from '../SvgIcon'
|
|
4
|
+
const SvgClockSolid = (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="m12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm4.895 15.447c-.246.491-.843.695-1.342.447l-4-2c-.339-.169-.553-.515-.553-.894v-6c0-.553.447-1 1-1s1 .447 1 1v5.382l3.447 1.724c.494.247.695.847.448 1.341z"
|
|
15
|
+
/>
|
|
16
|
+
</SvgIcon>
|
|
17
|
+
)
|
|
18
|
+
export default SvgClockSolid
|
package/src/Icon/icons/Close.tsx
CHANGED
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgClose = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
|
-
fill="
|
|
14
|
-
d="
|
|
13
|
+
fill="currentColor"
|
|
14
|
+
d="m13.7 12 6.34-6.35a1.2 1.2 0 1 0-1.7-1.69L12 10.31 5.65 3.96a1.2 1.2 0 1 0-1.69 1.7L10.31 12l-6.35 6.35a1.2 1.2 0 1 0 1.7 1.69L12 13.69l6.35 6.35a1.2 1.2 0 1 0 1.69-1.7L13.69 12Z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgClose
|
|
18
|
+
export default SvgClose
|
package/src/Icon/icons/Copy.tsx
CHANGED
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgCopy = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="m13.2 22.8h-9.6a2.4 2.4 0 0 1 -2.4-2.4v-9.6a2.4 2.4 0 0 1 2.4-2.4h9.6a2.4 2.4 0 0 1 2.4 2.4v9.6a2.4 2.4 0 0 1 -2.4 2.4zm-9.6-12v9.6h9.6v-9.6zm19.2 2.4v-9.6a2.4 2.4 0 0 0 -2.4-2.4h-9.6a2.4 2.4 0 0 0 -2.4 2.4v1.2c0 .66.54 1.2 1.2 1.2s1.2-.54 1.2-1.2v-1.2h9.6v9.6h-1.2c-.66 0-1.2.54-1.2 1.2s.54 1.2 1.2 1.2h1.2a2.4 2.4 0 0 0 2.4-2.4z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgCopy
|
|
18
|
+
export default SvgCopy
|
package/src/Icon/icons/Doc.tsx
CHANGED
|
@@ -3,16 +3,16 @@ import type { SVGProps } from 'react'
|
|
|
3
3
|
import { SvgIcon } from '../SvgIcon'
|
|
4
4
|
const SvgDoc = (props: SVGProps<SVGSVGElement>) => (
|
|
5
5
|
<SvgIcon
|
|
6
|
-
width={
|
|
7
|
-
height={
|
|
6
|
+
width={24}
|
|
7
|
+
height={24}
|
|
8
8
|
fill="none"
|
|
9
|
-
viewBox="0 0
|
|
9
|
+
viewBox="0 0 24 24"
|
|
10
10
|
{...props}
|
|
11
11
|
>
|
|
12
12
|
<path
|
|
13
13
|
fill="currentColor"
|
|
14
|
-
d="
|
|
14
|
+
d="m20.05 6.35-4.8-4.8a1.24 1.24 0 0 0-.85-.35H6a2.4 2.4 0 0 0-2.4 2.4v16.8A2.4 2.4 0 0 0 6 22.8h12a2.4 2.4 0 0 0 2.4-2.4V7.2c0-.32-.13-.62-.35-.85Zm-2.54.85H14.4V4.1l3.1 3.1ZM6 20.4V3.6h6v3.6a2.4 2.4 0 0 0 2.4 2.4H18v10.8H6Zm9.6-7.2c0 .66-.54 1.2-1.2 1.2H9.6a1.2 1.2 0 0 1-1.2-1.2c0-.66.54-1.2 1.2-1.2h4.8c.66 0 1.2.54 1.2 1.2Zm-2.4 3.6c0 .66-.54 1.2-1.2 1.2H9.6a1.2 1.2 0 0 1-1.2-1.2c0-.66.54-1.2 1.2-1.2H12c.66 0 1.2.54 1.2 1.2Z"
|
|
15
15
|
/>
|
|
16
16
|
</SvgIcon>
|
|
17
17
|
)
|
|
18
|
-
export default SvgDoc
|
|
18
|
+
export default SvgDoc
|