@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.
Files changed (209) hide show
  1. package/dist/Alert/Alert.d.ts +15 -6
  2. package/dist/Alert/Alert.js +29 -18
  3. package/dist/Alert/Alert.js.map +1 -1
  4. package/dist/AlertDialog/AlertDialog.js +1 -1
  5. package/dist/AlertDialog/AlertDialog.js.map +1 -1
  6. package/dist/BottomNavigation/BottomNavigation.js +19 -1
  7. package/dist/BottomNavigation/BottomNavigation.js.map +1 -1
  8. package/dist/Button/Button.d.ts +2 -2
  9. package/dist/Button/Button.js +15 -117
  10. package/dist/Button/Button.js.map +1 -1
  11. package/dist/Button/index.js.map +1 -1
  12. package/dist/Chip/Chip.js +0 -1
  13. package/dist/Chip/Chip.js.map +1 -1
  14. package/dist/Collapsible/AccountCollapsible.js +16 -1
  15. package/dist/Collapsible/AccountCollapsible.js.map +1 -1
  16. package/dist/DatePicker/DatePicker.js +4 -4
  17. package/dist/DatePicker/DatePicker.js.map +1 -1
  18. package/dist/Drawer/Drawer.js.map +1 -1
  19. package/dist/Form/Form.js +1 -1
  20. package/dist/Form/Form.js.map +1 -1
  21. package/dist/Icon/SvgIcon.js +1 -1
  22. package/dist/Icon/icons/ArrowLeft.js +2 -2
  23. package/dist/Icon/icons/ArrowLeft.js.map +1 -1
  24. package/dist/Icon/icons/ArrowRight.js +2 -2
  25. package/dist/Icon/icons/ArrowRight.js.map +1 -1
  26. package/dist/Icon/icons/Atm.js +2 -2
  27. package/dist/Icon/icons/Atm.js.map +1 -1
  28. package/dist/Icon/icons/Call.js +2 -2
  29. package/dist/Icon/icons/Call.js.map +1 -1
  30. package/dist/Icon/icons/Cancel.js +2 -2
  31. package/dist/Icon/icons/Cancel.js.map +1 -1
  32. package/dist/Icon/icons/Card.js +2 -2
  33. package/dist/Icon/icons/Card.js.map +1 -1
  34. package/dist/Icon/icons/Change.js +2 -2
  35. package/dist/Icon/icons/Change.js.map +1 -1
  36. package/dist/Icon/icons/Check.js +2 -2
  37. package/dist/Icon/icons/Check.js.map +1 -1
  38. package/dist/Icon/icons/CheckCircleSolid.js +2 -2
  39. package/dist/Icon/icons/CheckCircleSolid.js.map +1 -1
  40. package/dist/Icon/icons/Clock.js +2 -2
  41. package/dist/Icon/icons/Clock.js.map +1 -1
  42. package/dist/Icon/icons/ClockSolid.d.ts +4 -0
  43. package/dist/Icon/icons/ClockSolid.js +9 -0
  44. package/dist/Icon/icons/ClockSolid.js.map +1 -0
  45. package/dist/Icon/icons/Close.js +2 -2
  46. package/dist/Icon/icons/Close.js.map +1 -1
  47. package/dist/Icon/icons/Copy.js +2 -2
  48. package/dist/Icon/icons/Copy.js.map +1 -1
  49. package/dist/Icon/icons/Doc.js +2 -2
  50. package/dist/Icon/icons/Doc.js.map +1 -1
  51. package/dist/Icon/icons/Download.js +2 -2
  52. package/dist/Icon/icons/Download.js.map +1 -1
  53. package/dist/Icon/icons/DropdownSmall.d.ts +4 -0
  54. package/dist/Icon/icons/DropdownSmall.js +9 -0
  55. package/dist/Icon/icons/DropdownSmall.js.map +1 -0
  56. package/dist/Icon/icons/Edit.js +2 -2
  57. package/dist/Icon/icons/Edit.js.map +1 -1
  58. package/dist/Icon/icons/Favorite.js +2 -2
  59. package/dist/Icon/icons/Favorite.js.map +1 -1
  60. package/dist/Icon/icons/FavoriteSolid.js +2 -2
  61. package/dist/Icon/icons/FavoriteSolid.js.map +1 -1
  62. package/dist/Icon/icons/File.js +2 -2
  63. package/dist/Icon/icons/File.js.map +1 -1
  64. package/dist/Icon/icons/InfoSolid.js +2 -2
  65. package/dist/Icon/icons/InfoSolid.js.map +1 -1
  66. package/dist/Icon/icons/Link.js +2 -2
  67. package/dist/Icon/icons/Link.js.map +1 -1
  68. package/dist/Icon/icons/Logout.js +2 -2
  69. package/dist/Icon/icons/Logout.js.map +1 -1
  70. package/dist/Icon/icons/MailSend.js +2 -2
  71. package/dist/Icon/icons/MailSend.js.map +1 -1
  72. package/dist/Icon/icons/MapPin.js +2 -2
  73. package/dist/Icon/icons/MapPin.js.map +1 -1
  74. package/dist/Icon/icons/MapPinSolid.d.ts +4 -0
  75. package/dist/Icon/icons/MapPinSolid.js +9 -0
  76. package/dist/Icon/icons/MapPinSolid.js.map +1 -0
  77. package/dist/Icon/icons/Order.js +2 -2
  78. package/dist/Icon/icons/Order.js.map +1 -1
  79. package/dist/Icon/icons/Print.js +2 -2
  80. package/dist/Icon/icons/Print.js.map +1 -1
  81. package/dist/Icon/icons/Reload.js +2 -2
  82. package/dist/Icon/icons/Reload.js.map +1 -1
  83. package/dist/Icon/icons/Sbp.js +2 -2
  84. package/dist/Icon/icons/Sbp.js.map +1 -1
  85. package/dist/Icon/icons/SbpColored.js +9 -9
  86. package/dist/Icon/icons/SbpColored.js.map +1 -1
  87. package/dist/Icon/icons/Tariffs.js +2 -2
  88. package/dist/Icon/icons/Tariffs.js.map +1 -1
  89. package/dist/Icon/icons/Trash.js +2 -2
  90. package/dist/Icon/icons/Trash.js.map +1 -1
  91. package/dist/Icon/icons/User.js +2 -2
  92. package/dist/Icon/icons/User.js.map +1 -1
  93. package/dist/Icon/icons/UserEdit.js +2 -2
  94. package/dist/Icon/icons/UserEdit.js.map +1 -1
  95. package/dist/Icon/icons/Warning.js +2 -2
  96. package/dist/Icon/icons/Warning.js.map +1 -1
  97. package/dist/Icon/icons/Wheelchair.js +2 -2
  98. package/dist/Icon/icons/Wheelchair.js.map +1 -1
  99. package/dist/Icon/icons/index.d.ts +4 -1
  100. package/dist/Icon/icons/index.js +13 -7
  101. package/dist/Icon/icons/index.js.map +1 -1
  102. package/dist/Input/InputMask.js +22 -1
  103. package/dist/Input/InputMask.js.map +1 -1
  104. package/dist/Input-OTP/Input.js +0 -1
  105. package/dist/Input-OTP/Input.js.map +1 -1
  106. package/dist/Popover/Popover.js +23 -2
  107. package/dist/Popover/Popover.js.map +1 -1
  108. package/dist/Progress/Progress.js +10 -2
  109. package/dist/Progress/Progress.js.map +1 -1
  110. package/dist/Select/SelectAccountCard.js +30 -4
  111. package/dist/Select/SelectAccountCard.js.map +1 -1
  112. package/dist/Select/SelectAsync.js +14 -3
  113. package/dist/Select/SelectAsync.js.map +1 -1
  114. package/dist/Select/SelectBase.js +14 -3
  115. package/dist/Select/SelectBase.js.map +1 -1
  116. package/dist/Slider/Slider.js +21 -5
  117. package/dist/Slider/Slider.js.map +1 -1
  118. package/dist/Switch/Switch.js +25 -11
  119. package/dist/Switch/Switch.js.map +1 -1
  120. package/dist/Tabs/Tabs.js +39 -9
  121. package/dist/Tabs/Tabs.js.map +1 -1
  122. package/dist/Textarea/Textarea.d.ts +1 -1
  123. package/dist/Textarea/Textarea.js +19 -2
  124. package/dist/Textarea/Textarea.js.map +1 -1
  125. package/dist/index.d.ts +3 -5
  126. package/dist/index.js +2 -8
  127. package/dist/index.js.map +1 -1
  128. package/package.json +1 -2
  129. package/src/@/config/index.ts +72 -72
  130. package/src/Alert/Alert.tsx +67 -24
  131. package/src/AlertDialog/AlertDialog.tsx +1 -2
  132. package/src/BottomNavigation/BottomNavigation.tsx +19 -1
  133. package/src/Button/Button.tsx +42 -139
  134. package/src/Button/index.ts +1 -1
  135. package/src/Chip/Chip.tsx +1 -2
  136. package/src/Collapsible/AccountCollapsible.tsx +17 -1
  137. package/src/DatePicker/DatePicker.tsx +4 -4
  138. package/src/Drawer/Drawer.tsx +1 -0
  139. package/src/Form/Form.tsx +4 -2
  140. package/src/Icon/SvgIcon.tsx +1 -1
  141. package/src/Icon/icons/ArrowLeft.tsx +2 -1
  142. package/src/Icon/icons/ArrowRight.tsx +4 -4
  143. package/src/Icon/icons/Atm.tsx +4 -4
  144. package/src/Icon/icons/Call.tsx +5 -5
  145. package/src/Icon/icons/Cancel.tsx +5 -5
  146. package/src/Icon/icons/Card.tsx +4 -4
  147. package/src/Icon/icons/Change.tsx +4 -4
  148. package/src/Icon/icons/Check.tsx +5 -5
  149. package/src/Icon/icons/CheckCircleSolid.tsx +5 -5
  150. package/src/Icon/icons/Clock.tsx +2 -1
  151. package/src/Icon/icons/ClockSolid.tsx +18 -0
  152. package/src/Icon/icons/Close.tsx +6 -6
  153. package/src/Icon/icons/Copy.tsx +5 -5
  154. package/src/Icon/icons/Doc.tsx +5 -5
  155. package/src/Icon/icons/Download.tsx +5 -5
  156. package/src/Icon/icons/DropdownSmall.tsx +20 -0
  157. package/src/Icon/icons/Edit.tsx +5 -5
  158. package/src/Icon/icons/Favorite.tsx +4 -4
  159. package/src/Icon/icons/FavoriteSolid.tsx +5 -5
  160. package/src/Icon/icons/File.tsx +5 -5
  161. package/src/Icon/icons/InfoSolid.tsx +6 -6
  162. package/src/Icon/icons/Link.tsx +5 -5
  163. package/src/Icon/icons/Logout.tsx +5 -5
  164. package/src/Icon/icons/MailSend.tsx +5 -5
  165. package/src/Icon/icons/MapPin.tsx +5 -5
  166. package/src/Icon/icons/MapPinSolid.tsx +18 -0
  167. package/src/Icon/icons/Order.tsx +5 -5
  168. package/src/Icon/icons/Print.tsx +5 -5
  169. package/src/Icon/icons/Reload.tsx +5 -4
  170. package/src/Icon/icons/Sbp.tsx +5 -5
  171. package/src/Icon/icons/SbpColored.tsx +19 -19
  172. package/src/Icon/icons/Tariffs.tsx +5 -4
  173. package/src/Icon/icons/Trash.tsx +5 -5
  174. package/src/Icon/icons/User.tsx +5 -5
  175. package/src/Icon/icons/UserEdit.tsx +4 -4
  176. package/src/Icon/icons/Warning.tsx +4 -4
  177. package/src/Icon/icons/Wheelchair.tsx +5 -5
  178. package/src/Icon/icons/index.ts +4 -1
  179. package/src/Input/InputMask.tsx +22 -1
  180. package/src/Input-OTP/Input.tsx +0 -1
  181. package/src/Popover/Popover.tsx +24 -2
  182. package/src/Progress/Progress.tsx +11 -3
  183. package/src/Select/Select.tsx +1 -1
  184. package/src/Select/SelectAccountCard.tsx +30 -9
  185. package/src/Select/SelectAsync.tsx +14 -8
  186. package/src/Select/SelectBase.tsx +14 -4
  187. package/src/Slider/Slider.tsx +21 -4
  188. package/src/Switch/Switch.tsx +25 -12
  189. package/src/Tabs/Tabs.tsx +41 -9
  190. package/src/Textarea/Textarea.tsx +30 -19
  191. package/src/assets/css/global.css +11 -6
  192. package/src/index.ts +3 -9
  193. package/dist/Badge/Badge.d.ts +0 -10
  194. package/dist/Badge/Badge.js +0 -52
  195. package/dist/Badge/Badge.js.map +0 -1
  196. package/dist/Badge/index.d.ts +0 -1
  197. package/dist/Badge/index.js +0 -7
  198. package/dist/Badge/index.js.map +0 -1
  199. package/dist/Checkbox/Checkbox.d.ts +0 -4
  200. package/dist/Checkbox/Checkbox.js +0 -35
  201. package/dist/Checkbox/Checkbox.js.map +0 -1
  202. package/dist/Checkbox/index.d.ts +0 -1
  203. package/dist/Checkbox/index.js +0 -6
  204. package/dist/Checkbox/index.js.map +0 -1
  205. package/src/Badge/Badge.tsx +0 -58
  206. package/src/Badge/index.ts +0 -1
  207. package/src/Checkbox/Checkbox.tsx +0 -44
  208. package/src/Checkbox/index.ts +0 -1
  209. package/src/Slider/slider.styl +0 -62
@@ -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 buttonClasses= {
7
- variant: {
8
- base: `
9
- inline-flex
10
- justify-center
11
- items-center
12
- font-medium
13
- border-[2px]
14
- whitespace-nowrap
15
- transition-colors
16
- ring-offset-1
17
- focus-visible:ring
18
- focus-visible:outline-none
19
- disabled:pointer-events-none
20
- disabled:opacity-[.24]`,
21
- primary: `
22
- text-btn-primary
23
- bg-btn-primary
24
- border-btn-primary
25
- hover:bg-btn-primary-hover
26
- hover:border-btn-primary-hover
27
- focus:bg-btn-primary-focus
28
- focus:border-btn-primary-focus
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
- size: {
109
- lg: buttonClasses.size.lg,
110
- md: buttonClasses.size.md,
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
- defaultVariants: {
118
- variant: 'primary',
119
- size: 'md',
120
- },
121
- })
122
-
34
+ }
35
+ )
123
36
  const textVariants = cva(
124
- `inline-flex
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
- `text-primary
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
- ({ className, variant, size, asText = false, asChild = false, ...props }, ref) => {
157
- const Comp = asChild ? Slot : 'button'
158
- // @ts-ignore
159
- const classes = asText ? textVariants<any>({ variant, className }) : buttonVariants({ variant, size, className })
160
- return (
161
- <Comp
162
- className={cn(classes)}
163
- ref={ref}
164
- {...props}
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'
@@ -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, { FC, PropsWithChildren } from '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
- 'text-left w-full rounded-[4px] px-[12px] py-[16px] 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',
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 '../Calendar'
5
- import { Calendar as CalendarIcon } from '../Icon'
6
- import { Popover } from '../Popover'
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 border-input px-[12px] border rounded-sm h-[44px] text-left'
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;
@@ -83,6 +83,7 @@ const DrawerContent = React.forwardRef<
83
83
  </DrawerPortal>
84
84
  )
85
85
  })
86
+
86
87
  DrawerContent.displayName = 'DrawerContent'
87
88
 
88
89
  export { Drawer, DrawerTrigger, DrawerContent, DrawerTitle, DrawerClose }
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 '../Label'
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>>(
@@ -11,7 +11,7 @@ import * as React from "react"
11
11
  // 'large': 35,
12
12
  // }
13
13
 
14
- const size = 20
14
+ const size = 24
15
15
 
16
16
  export interface SvgIconProps {
17
17
  children: any,
@@ -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.5 10.5H6.12l3.94-3.939A1.5 1.5 0 1 0 7.938 4.44l-6.5 6.5a1.5 1.5 0 0 0 0 2.121l6.5 6.5a1.5 1.5 0 1 0 2.12-2.121L6.121 13.5H21.5a1.5 1.5 0 1 0 0-3Z"
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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="m17.71 10.712-5 5c-.4.38-1.01.39-1.42 0-.39-.39-.39-1.03 0-1.42l3.3-3.29H3c-.55 0-1-.45-1-1s.45-1 1-1h11.59l-3.3-3.29c-.39-.39-.39-1.03 0-1.42s1.03-.39 1.42 0l5 5c.39.39.39 1.03 0 1.42"
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
  )
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M17 2H3c-1.1 0-2 .9-2 2v4c0 1.1.9 2 2 2h1v6c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2v-6h1c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 7h2v9H6zm8 9h-4V7h4zm3-8h-1V6c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1v2H3V4h14zm-4 5v1c0 .55-.45 1-1 1s-1-.45-1-1v-1c0-.55.45-1 1-1s1 .45 1 1"
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
  )
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M14.2 19c-.354 0-.705-.06-1.038-.18A21.22 21.22 0 0 1 1.182 6.836 3.09 3.09 0 0 1 1.9 3.625l2.03-2.033A2 2 0 0 1 5.357 1a2.01 2.01 0 0 1 1.43.594L9.7 4.5a2.03 2.03 0 0 1 0 2.866l-1 .992a5.4 5.4 0 0 0 2.942 2.942l1-.994a2.074 2.074 0 0 1 2.866 0l2.9 2.9a2.025 2.025 0 0 1 0 2.866l-2.03 2.028a3.07 3.07 0 0 1-2.178.9M3.064 6.16a19.08 19.08 0 0 0 10.777 10.776 1.08 1.08 0 0 0 1.122-.247l2.03-2.029-2.9-2.94-1.493 1.451a1 1 0 0 1-1.024.241A7.52 7.52 0 0 1 6.59 8.425 1 1 0 0 1 6.83 7.4l1.451-1.45-2.9-2.941-2.07 2.03a1.08 1.08 0 0 0-.247 1.121"
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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
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-7m1.41 7 1.29-1.29a.996.996 0 1 0-1.41-1.41L10 8.59 8.71 7.3A.996.996 0 1 0 7.3 8.71L8.59 10 7.3 11.29a.996.996 0 1 0 1.41 1.41L10 11.41l1.29 1.29a.996.996 0 1 0 1.41-1.41z"
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
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M17 3H3c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M3 5h14v2H3zm14 10H3V9h14z"
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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M6 13.003v3c0 .55-.45 1-1 1H2c-.55 0-1-.45-1-1s.45-1 1-1h.51a8.97 8.97 0 0 1-1.51-5c0-4.96 4.04-9 9-9 .55 0 1 .45 1 1s-.45 1-1 1c-3.86 0-7 3.14-7 7 0 1.29.35 2.52 1 3.59v-.59c0-.55.45-1 1-1s1 .45 1 1m12-8c.55 0 1-.45 1-1s-.45-1-1-1h-3c-.55 0-1 .45-1 1v3c0 .55.45 1 1 1s1-.45 1-1v-.59c.65 1.08 1 2.31 1 3.59 0 3.86-3.14 7-7 7-.55 0-1 .45-1 1s.45 1 1 1c4.96 0 9-4.04 9-9 0-1.81-.53-3.53-1.51-5z"
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
  )
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M7 16c-.26 0-.51-.1-.71-.29l-5-5A.996.996 0 1 1 2.7 9.3l4.29 4.29L17.28 3.3a.996.996 0 1 1 1.41 1.41l-11 11c-.18.19-.43.29-.69.29"
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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M10 1a9 9 0 1 0 .001 18.001A9 9 0 0 0 10 1m4.21 7.21-4.5 4.5c-.2.2-.45.29-.71.29s-.51-.1-.71-.29l-2.5-2.5A.996.996 0 1 1 7.2 8.8l1.79 1.79 3.79-3.79a.996.996 0 0 1 1.41 0c.39.39.41 1.02.02 1.41"
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
@@ -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="M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm4.9 15.45a1 1 0 0 1-1.35.44l-4-2A1 1 0 0 1 11 13V7a1 1 0 1 1 2 0v5.38l3.45 1.73c.5.24.7.84.45 1.34Z"
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
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
- fill="#777C87"
14
- d="m11.41 10 5.29-5.29a.996.996 0 1 0-1.41-1.41L10 8.59 4.71 3.3A.996.996 0 1 0 3.3 4.71L8.59 10 3.3 15.29a.996.996 0 1 0 1.41 1.41L10 11.41l5.29 5.29a.996.996 0 1 0 1.41-1.41z"
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
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="M11 19H3c-1.1 0-2-.9-2-2V9c0-1.1.9-2 2-2h8c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2M3 9v8h8V9zm16 2V3c0-1.1-.9-2-2-2H9c-1.1 0-2 .9-2 2v1c0 .55.45 1 1 1s1-.45 1-1V3h8v8h-1c-.55 0-1 .45-1 1s.45 1 1 1h1c1.1 0 2-.9 2-2"
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
@@ -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={20}
7
- height={20}
6
+ width={24}
7
+ height={24}
8
8
  fill="none"
9
- viewBox="0 0 20 20"
9
+ viewBox="0 0 24 24"
10
10
  {...props}
11
11
  >
12
12
  <path
13
13
  fill="currentColor"
14
- d="m16.71 5.29-4-4C12.52 1.11 12.27 1 12 1H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V6c0-.27-.11-.52-.29-.71M14.59 6H12V3.41zM5 17V3h5v3c0 1.1.9 2 2 2h3v9zm8-6c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1h4c.55 0 1 .45 1 1m-2 3c0 .55-.45 1-1 1H8c-.55 0-1-.45-1-1s.45-1 1-1h2c.55 0 1 .45 1 1"
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