kui-basic 1.1.63 → 1.1.64

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 (272) hide show
  1. package/package.json +4 -1
  2. package/Accordion/cjs/index.js +0 -8
  3. package/Accordion/cjs/index.js.map +0 -1
  4. package/Accordion/cjs/package.json +0 -6
  5. package/Accordion/index.d.ts +0 -20
  6. package/Accordion/index.js +0 -8
  7. package/Accordion/index.js.map +0 -1
  8. package/Accordion/package.json +0 -6
  9. package/AccordionDetails/cjs/index.js +0 -2
  10. package/AccordionDetails/cjs/index.js.map +0 -1
  11. package/AccordionDetails/cjs/package.json +0 -6
  12. package/AccordionDetails/index.d.ts +0 -12
  13. package/AccordionDetails/index.js +0 -2
  14. package/AccordionDetails/index.js.map +0 -1
  15. package/AccordionDetails/package.json +0 -6
  16. package/AccordionSummary/cjs/index.js +0 -21
  17. package/AccordionSummary/cjs/index.js.map +0 -1
  18. package/AccordionSummary/cjs/package.json +0 -6
  19. package/AccordionSummary/index.d.ts +0 -23
  20. package/AccordionSummary/index.js +0 -21
  21. package/AccordionSummary/index.js.map +0 -1
  22. package/AccordionSummary/package.json +0 -6
  23. package/AppBar/cjs/index.js +0 -21
  24. package/AppBar/cjs/index.js.map +0 -1
  25. package/AppBar/cjs/package.json +0 -6
  26. package/AppBar/index.d.ts +0 -16
  27. package/AppBar/index.js +0 -21
  28. package/AppBar/index.js.map +0 -1
  29. package/AppBar/package.json +0 -6
  30. package/Box/cjs/index.js +0 -15
  31. package/Box/cjs/index.js.map +0 -1
  32. package/Box/cjs/package.json +0 -6
  33. package/Box/index.d.ts +0 -25
  34. package/Box/index.js +0 -15
  35. package/Box/index.js.map +0 -1
  36. package/Box/package.json +0 -6
  37. package/Button/cjs/index.js +0 -21
  38. package/Button/cjs/index.js.map +0 -1
  39. package/Button/cjs/package.json +0 -6
  40. package/Button/index.d.ts +0 -63
  41. package/Button/index.js +0 -21
  42. package/Button/index.js.map +0 -1
  43. package/Button/package.json +0 -6
  44. package/Caption/cjs/index.js +0 -21
  45. package/Caption/cjs/index.js.map +0 -1
  46. package/Caption/cjs/package.json +0 -6
  47. package/Caption/index.d.ts +0 -78
  48. package/Caption/index.js +0 -21
  49. package/Caption/index.js.map +0 -1
  50. package/Caption/package.json +0 -6
  51. package/Checkbox/cjs/index.js +0 -21
  52. package/Checkbox/cjs/index.js.map +0 -1
  53. package/Checkbox/cjs/package.json +0 -6
  54. package/Checkbox/index.d.ts +0 -18
  55. package/Checkbox/index.js +0 -21
  56. package/Checkbox/index.js.map +0 -1
  57. package/Checkbox/package.json +0 -6
  58. package/CircularProgress/cjs/index.js +0 -8
  59. package/CircularProgress/cjs/index.js.map +0 -1
  60. package/CircularProgress/cjs/package.json +0 -6
  61. package/CircularProgress/index.d.ts +0 -19
  62. package/CircularProgress/index.js +0 -8
  63. package/CircularProgress/index.js.map +0 -1
  64. package/CircularProgress/package.json +0 -6
  65. package/Container/cjs/index.js +0 -8
  66. package/Container/cjs/index.js.map +0 -1
  67. package/Container/cjs/package.json +0 -6
  68. package/Container/index.d.ts +0 -12
  69. package/Container/index.js +0 -8
  70. package/Container/index.js.map +0 -1
  71. package/Container/package.json +0 -6
  72. package/Divider/cjs/index.js +0 -21
  73. package/Divider/cjs/index.js.map +0 -1
  74. package/Divider/cjs/package.json +0 -6
  75. package/Divider/index.d.ts +0 -14
  76. package/Divider/index.js +0 -21
  77. package/Divider/index.js.map +0 -1
  78. package/Divider/package.json +0 -6
  79. package/ErrorComponent/cjs/index.js +0 -21
  80. package/ErrorComponent/cjs/index.js.map +0 -1
  81. package/ErrorComponent/cjs/package.json +0 -6
  82. package/ErrorComponent/index.d.ts +0 -16
  83. package/ErrorComponent/index.js +0 -21
  84. package/ErrorComponent/index.js.map +0 -1
  85. package/ErrorComponent/package.json +0 -6
  86. package/Grid/cjs/index.js +0 -21
  87. package/Grid/cjs/index.js.map +0 -1
  88. package/Grid/cjs/package.json +0 -6
  89. package/Grid/index.d.ts +0 -51
  90. package/Grid/index.js +0 -21
  91. package/Grid/index.js.map +0 -1
  92. package/Grid/package.json +0 -6
  93. package/Heading/cjs/index.js +0 -21
  94. package/Heading/cjs/index.js.map +0 -1
  95. package/Heading/cjs/package.json +0 -6
  96. package/Heading/index.d.ts +0 -76
  97. package/Heading/index.js +0 -21
  98. package/Heading/index.js.map +0 -1
  99. package/Heading/package.json +0 -6
  100. package/IconButton/cjs/index.js +0 -8
  101. package/IconButton/cjs/index.js.map +0 -1
  102. package/IconButton/cjs/package.json +0 -6
  103. package/IconButton/index.d.ts +0 -14
  104. package/IconButton/index.js +0 -8
  105. package/IconButton/index.js.map +0 -1
  106. package/IconButton/package.json +0 -6
  107. package/Input/cjs/index.js +0 -21
  108. package/Input/cjs/index.js.map +0 -1
  109. package/Input/cjs/package.json +0 -6
  110. package/Input/index.d.ts +0 -31
  111. package/Input/index.js +0 -21
  112. package/Input/index.js.map +0 -1
  113. package/Input/package.json +0 -6
  114. package/InputFile/cjs/index.js +0 -21
  115. package/InputFile/cjs/index.js.map +0 -1
  116. package/InputFile/cjs/package.json +0 -6
  117. package/InputFile/index.d.ts +0 -17
  118. package/InputFile/index.js +0 -21
  119. package/InputFile/index.js.map +0 -1
  120. package/InputFile/package.json +0 -6
  121. package/InputMessage/cjs/index.js +0 -21
  122. package/InputMessage/cjs/index.js.map +0 -1
  123. package/InputMessage/cjs/package.json +0 -6
  124. package/InputMessage/index.d.ts +0 -19
  125. package/InputMessage/index.js +0 -21
  126. package/InputMessage/index.js.map +0 -1
  127. package/InputMessage/package.json +0 -6
  128. package/InputWithAdornments/cjs/index.js +0 -21
  129. package/InputWithAdornments/cjs/index.js.map +0 -1
  130. package/InputWithAdornments/cjs/package.json +0 -6
  131. package/InputWithAdornments/index.d.ts +0 -37
  132. package/InputWithAdornments/index.js +0 -21
  133. package/InputWithAdornments/index.js.map +0 -1
  134. package/InputWithAdornments/package.json +0 -6
  135. package/InputWithCountryDropdown/cjs/index.js +0 -21
  136. package/InputWithCountryDropdown/cjs/index.js.map +0 -1
  137. package/InputWithCountryDropdown/cjs/package.json +0 -6
  138. package/InputWithCountryDropdown/index.d.ts +0 -54
  139. package/InputWithCountryDropdown/index.js +0 -21
  140. package/InputWithCountryDropdown/index.js.map +0 -1
  141. package/InputWithCountryDropdown/package.json +0 -6
  142. package/InputWithMask/cjs/index.js +0 -13
  143. package/InputWithMask/cjs/index.js.map +0 -1
  144. package/InputWithMask/cjs/package.json +0 -6
  145. package/InputWithMask/index.d.ts +0 -42
  146. package/InputWithMask/index.js +0 -13
  147. package/InputWithMask/index.js.map +0 -1
  148. package/InputWithMask/package.json +0 -6
  149. package/LinearProgress/cjs/index.js +0 -8
  150. package/LinearProgress/cjs/index.js.map +0 -1
  151. package/LinearProgress/cjs/package.json +0 -6
  152. package/LinearProgress/index.d.ts +0 -20
  153. package/LinearProgress/index.js +0 -8
  154. package/LinearProgress/index.js.map +0 -1
  155. package/LinearProgress/package.json +0 -6
  156. package/MenuPanel/cjs/index.js +0 -21
  157. package/MenuPanel/cjs/index.js.map +0 -1
  158. package/MenuPanel/cjs/package.json +0 -6
  159. package/MenuPanel/index.d.ts +0 -31
  160. package/MenuPanel/index.js +0 -21
  161. package/MenuPanel/index.js.map +0 -1
  162. package/MenuPanel/package.json +0 -6
  163. package/Modal/cjs/index.js +0 -21
  164. package/Modal/cjs/index.js.map +0 -1
  165. package/Modal/cjs/package.json +0 -6
  166. package/Modal/index.d.ts +0 -24
  167. package/Modal/index.js +0 -21
  168. package/Modal/index.js.map +0 -1
  169. package/Modal/package.json +0 -6
  170. package/Popper/cjs/index.js +0 -8
  171. package/Popper/cjs/index.js.map +0 -1
  172. package/Popper/cjs/package.json +0 -6
  173. package/Popper/index.d.ts +0 -34
  174. package/Popper/index.js +0 -8
  175. package/Popper/index.js.map +0 -1
  176. package/Popper/package.json +0 -6
  177. package/PopperBase/cjs/index.js +0 -8
  178. package/PopperBase/cjs/index.js.map +0 -1
  179. package/PopperBase/cjs/package.json +0 -6
  180. package/PopperBase/index.d.ts +0 -40
  181. package/PopperBase/index.js +0 -8
  182. package/PopperBase/index.js.map +0 -1
  183. package/PopperBase/package.json +0 -6
  184. package/PopperWithPortal/cjs/index.js +0 -8
  185. package/PopperWithPortal/cjs/index.js.map +0 -1
  186. package/PopperWithPortal/cjs/package.json +0 -6
  187. package/PopperWithPortal/index.d.ts +0 -24
  188. package/PopperWithPortal/index.js +0 -8
  189. package/PopperWithPortal/index.js.map +0 -1
  190. package/PopperWithPortal/package.json +0 -6
  191. package/Radio/cjs/index.js +0 -15
  192. package/Radio/cjs/index.js.map +0 -1
  193. package/Radio/cjs/package.json +0 -6
  194. package/Radio/index.d.ts +0 -17
  195. package/Radio/index.js +0 -15
  196. package/Radio/index.js.map +0 -1
  197. package/Radio/package.json +0 -6
  198. package/ScrollTab/cjs/index.js +0 -22
  199. package/ScrollTab/cjs/index.js.map +0 -1
  200. package/ScrollTab/cjs/package.json +0 -6
  201. package/ScrollTab/index.d.ts +0 -3
  202. package/ScrollTab/index.js +0 -22
  203. package/ScrollTab/index.js.map +0 -1
  204. package/ScrollTab/package.json +0 -6
  205. package/Skeleton/cjs/index.js +0 -8
  206. package/Skeleton/cjs/index.js.map +0 -1
  207. package/Skeleton/cjs/package.json +0 -6
  208. package/Skeleton/index.d.ts +0 -12
  209. package/Skeleton/index.js +0 -8
  210. package/Skeleton/index.js.map +0 -1
  211. package/Skeleton/package.json +0 -6
  212. package/StaticPopper/cjs/index.js +0 -8
  213. package/StaticPopper/cjs/index.js.map +0 -1
  214. package/StaticPopper/cjs/package.json +0 -6
  215. package/StaticPopper/index.d.ts +0 -24
  216. package/StaticPopper/index.js +0 -8
  217. package/StaticPopper/index.js.map +0 -1
  218. package/StaticPopper/package.json +0 -6
  219. package/Switch/cjs/index.js +0 -21
  220. package/Switch/cjs/index.js.map +0 -1
  221. package/Switch/cjs/package.json +0 -6
  222. package/Switch/index.d.ts +0 -22
  223. package/Switch/index.js +0 -21
  224. package/Switch/index.js.map +0 -1
  225. package/Switch/package.json +0 -6
  226. package/Tab/cjs/index.js +0 -21
  227. package/Tab/cjs/index.js.map +0 -1
  228. package/Tab/cjs/package.json +0 -6
  229. package/Tab/index.d.ts +0 -27
  230. package/Tab/index.js +0 -21
  231. package/Tab/index.js.map +0 -1
  232. package/Tab/package.json +0 -6
  233. package/Tabs/cjs/index.js +0 -21
  234. package/Tabs/cjs/index.js.map +0 -1
  235. package/Tabs/cjs/package.json +0 -6
  236. package/Tabs/index.d.ts +0 -28
  237. package/Tabs/index.js +0 -21
  238. package/Tabs/index.js.map +0 -1
  239. package/Tabs/package.json +0 -6
  240. package/TabsPanel/cjs/index.js +0 -21
  241. package/TabsPanel/cjs/index.js.map +0 -1
  242. package/TabsPanel/cjs/package.json +0 -6
  243. package/TabsPanel/index.d.ts +0 -31
  244. package/TabsPanel/index.js +0 -21
  245. package/TabsPanel/index.js.map +0 -1
  246. package/TabsPanel/package.json +0 -6
  247. package/Text/cjs/index.js +0 -21
  248. package/Text/cjs/index.js.map +0 -1
  249. package/Text/cjs/package.json +0 -6
  250. package/Text/index.d.ts +0 -31
  251. package/Text/index.js +0 -21
  252. package/Text/index.js.map +0 -1
  253. package/Text/package.json +0 -6
  254. package/ToolBar/cjs/index.js +0 -8
  255. package/ToolBar/cjs/index.js.map +0 -1
  256. package/ToolBar/cjs/package.json +0 -6
  257. package/ToolBar/index.d.ts +0 -12
  258. package/ToolBar/index.js +0 -8
  259. package/ToolBar/index.js.map +0 -1
  260. package/ToolBar/package.json +0 -6
  261. package/Tooltip/cjs/index.js +0 -8
  262. package/Tooltip/cjs/index.js.map +0 -1
  263. package/Tooltip/cjs/package.json +0 -6
  264. package/Tooltip/index.d.ts +0 -38
  265. package/Tooltip/index.js +0 -8
  266. package/Tooltip/index.js.map +0 -1
  267. package/Tooltip/package.json +0 -6
  268. package/cjs/index.js +0 -21
  269. package/cjs/index.js.map +0 -1
  270. package/index.d.ts +0 -820
  271. package/index.js +0 -21
  272. package/index.js.map +0 -1
package/index.d.ts DELETED
@@ -1,820 +0,0 @@
1
- import * as React from 'react';
2
- import { HTMLInputTypeAttribute, ReactElement, SyntheticEvent, ReactNode, RefObject } from 'react';
3
-
4
- interface BrandColors {
5
- main: string
6
- pressed: string
7
- hover: string
8
- light: string
9
- background: string
10
- }
11
- interface ColorOption {
12
- fiftyP: string
13
- seventy: string
14
- sixty: string
15
- ten: string
16
- five: string
17
- }
18
- interface GreyColors {
19
- seventy: string
20
- sixty: string
21
- fiftyP: string
22
- fourty: string
23
- thirty: string
24
- fifteenB: string
25
- zero: string
26
- }
27
- interface BackgroundColors {
28
- light1: string
29
- light2: string
30
- light3: string
31
- light4: string
32
- }
33
-
34
- type PrimaryColorsType = {
35
- main: string
36
- pressed: string
37
- hover: string
38
- light: string
39
- light2: string
40
- }
41
-
42
- type SecondaryColorsType = {
43
- main: string
44
- gray60: string
45
- gray50: string
46
- gray40: string
47
- gray30: string
48
- gray15: string
49
- white: string
50
- light: string
51
- disabled: string
52
- }
53
-
54
- type BackgroundColorsType = {
55
- main: string
56
- light2: string
57
- light3: string
58
- }
59
-
60
- type SuccessColorsType = {
61
- green70: string
62
- green60: string
63
- main: string
64
- green10: string
65
- green5: string
66
- }
67
-
68
- type ErrorColorsType = {
69
- red70: string
70
- red60: string
71
- main: string
72
- red10: string
73
- red5: string
74
- }
75
-
76
- type InfoColorsType = {
77
- blue70: string
78
- blue60: string
79
- main: string
80
- blue10: string
81
- blue5: string
82
- }
83
-
84
- type PurpleColorsType = {
85
- purple70: string
86
- purple60: string
87
- main: string
88
- purple10: string
89
- purple5: string
90
- }
91
-
92
- type ColorsType = {
93
- primary: PrimaryColorsType
94
- secondary: SecondaryColorsType
95
- background: BackgroundColorsType
96
- success: SuccessColorsType
97
- error: ErrorColorsType
98
- info: InfoColorsType
99
- purple: PurpleColorsType
100
- }
101
-
102
- type ShadowsType = {
103
- shadow1: string
104
- shadow2: string
105
- shadow3: string
106
- shadow4: string
107
- }
108
-
109
- type BreakpointsType = {
110
- xxs: number
111
- xs: number
112
- sm: number
113
- md: number
114
- lg: number
115
- xl: number
116
- }
117
-
118
- type SettingsType = {
119
- spacing: number
120
- columns: number
121
- }
122
-
123
- type ThemeType = {
124
- palette: ColorsType
125
- shadows: ShadowsType
126
- breakpoints: BreakpointsType
127
- settings: SettingsType
128
- }
129
-
130
- type Palette = {
131
- brand: BrandColors
132
- green: ColorOption
133
- red: ColorOption
134
- blue: ColorOption
135
- purple: ColorOption
136
- grey: GreyColors
137
- background: BackgroundColors
138
- }
139
-
140
- type ThemeInterface = {
141
- palette: Palette
142
- shadows: ShadowsType
143
- breakpoints: BreakpointsType
144
- settings: SettingsType
145
- }
146
-
147
- declare const themeOld: ThemeType
148
- declare const theme: ThemeInterface
149
-
150
- type CaptionSizes = "xs" | "sm" | "s" | "m" | "l"
151
-
152
- type CaptionVariants = "default" | "high"
153
-
154
- type CaptionWeight = 300 | 400 | 500 | 600 | 700
155
-
156
- type CaptionAlign = "center" | "right" | "left"
157
-
158
- type CaptionColorGroups = keyof Palette
159
-
160
- type CaptionColors =
161
- | keyof GreyColors
162
- | keyof BrandColors
163
- | keyof ColorOption
164
- | keyof BackgroundColors
165
-
166
- interface CaptionProps
167
- extends React.DetailedHTMLProps<
168
- React.HTMLAttributes<HTMLParagraphElement>,
169
- HTMLParagraphElement
170
- >,
171
- React.AriaAttributes {
172
- size?: CaptionSizes
173
- weight?: CaptionWeight
174
- color?: CaptionColors
175
- disableUserSelect?: boolean
176
- align?: CaptionAlign
177
- colorGroup?: CaptionColorGroups
178
- variant?: CaptionVariants
179
- }
180
-
181
- type CaptionType = (props: CaptionProps) => React.ReactElement
182
-
183
- declare const Caption: CaptionType
184
-
185
- type ButtonThemes =
186
- | "primary"
187
- | "orange"
188
- | "orangeWithHoverLight"
189
- | "orangeWithBorder"
190
- | "white"
191
- | "whiteWithOrangeHover"
192
- | "whiteWithBrand"
193
- | "blur"
194
- | "blurDark"
195
- | "whiteWithGray"
196
- | "grayLightWithBorder"
197
- | "grayLight"
198
- | "grayDark"
199
- | "green"
200
- | "red"
201
- | "error"
202
- | "transparent"
203
- | "transparentLight"
204
- | "transparentWithBorder"
205
- | "transparentWithDarkBorder"
206
- | "transparentWithBoldBorder"
207
- | "backgroundLight"
208
- | "backgroundWithBorder"
209
-
210
- type ButtonSizes = "xs" | "s" | "m" | "l"
211
-
212
- type ButtonTypes = "button" | "submit"
213
-
214
- type ButtonBorder = "brand" | "lightGray" | "lightOrange"
215
-
216
- interface ButtonProps
217
- extends React.DetailedHTMLProps<
218
- React.ButtonHTMLAttributes<HTMLButtonElement>,
219
- HTMLButtonElement
220
- >,
221
- React.AriaAttributes {
222
- variant?: ButtonThemes
223
- size?: ButtonSizes
224
- type?: ButtonTypes
225
- fullWidth?: boolean
226
- endIcon?: React.ReactElement
227
- startIcon?: React.ReactElement
228
- disabled?: boolean
229
- isCircle?: boolean
230
- captionSize?: CaptionSizes
231
- captionWeight?: CaptionWeight
232
- disabledStyle?: string
233
- border?: ButtonBorder
234
- withoutChildrenWrapper?: boolean
235
- }
236
-
237
- type ButtonType = (props: ButtonProps) => React.ReactElement
238
-
239
- declare const Button: ButtonType
240
-
241
- interface CheckboxProps
242
- extends React.DetailedHTMLProps<
243
- React.InputHTMLAttributes<HTMLInputElement>,
244
- HTMLInputElement
245
- >,
246
- React.AriaAttributes {
247
- error?: any
248
- label?: React.ReactElement | string
249
- inputRef?: React.RefObject<HTMLInputElement>
250
- }
251
-
252
- type CheckboxType = (props: CheckboxProps) => React.ReactElement
253
-
254
- declare const Checkbox: CheckboxType
255
-
256
- interface DividerProps
257
- extends React.DetailedHTMLProps<
258
- React.HTMLAttributes<HTMLHRElement>,
259
- HTMLHRElement
260
- >,
261
- React.AriaAttributes {}
262
-
263
- type DividerType = (props: DividerProps) => React.ReactElement
264
-
265
- declare const Divider: DividerType
266
-
267
- type HeadingSizes = "hero" | "h1" | "h2" | "h3" | "h4"
268
-
269
- type HeadingColors = CaptionColors
270
-
271
- type HeadingColorGroups = CaptionColorGroups
272
-
273
- interface HeadingProps
274
- extends React.DetailedHTMLProps<
275
- React.HTMLAttributes<HTMLElement>,
276
- HTMLElement
277
- >,
278
- React.AriaAttributes {
279
- size?: HeadingSizes
280
- uppercase?: boolean
281
- disableUserSelect?: boolean
282
- color?: HeadingColors
283
- colorGroup?: HeadingColorGroups
284
- weight?: number
285
- align?: "center" | "right" | "left"
286
- }
287
-
288
- type HeadingType = (props: HeadingProps) => React.ReactElement
289
-
290
- declare const Heading: HeadingType
291
-
292
- type InputMessageVariant = "error" | "warning" | "success"
293
-
294
- interface InputMessageProps
295
- extends React.DetailedHTMLProps<
296
- React.HTMLAttributes<HTMLDivElement>,
297
- HTMLDivElement
298
- >,
299
- React.AriaAttributes {
300
- msg?: string
301
- variant?: InputMessageVariant
302
- }
303
-
304
- type InputMessageType = (props: InputMessageProps) => React.ReactElement
305
-
306
- declare const InputMessage: InputMessageType
307
-
308
- interface InputProps
309
- extends React.DetailedHTMLProps<
310
- React.InputHTMLAttributes<HTMLInputElement>,
311
- HTMLInputElement
312
- >,
313
- React.AriaAttributes {
314
- isTextArea?: boolean
315
- inputRef?: React.RefObject<HTMLInputElement | null>
316
- inputStyles?: string
317
- labelStyles?: string
318
- label?: string
319
- startIcon?: string | React.ReactElement | boolean
320
- endIcon?: string | React.ReactElement | boolean
321
- messageClassName?: string
322
- labelInlineStyles?: string
323
- message?: string | null
324
- messageVariant?: InputMessageVariant
325
- inputValue?: string | number | undefined
326
- type?: HTMLInputTypeAttribute
327
- }
328
-
329
- type InputType = (props: InputProps) => React.ReactElement
330
-
331
- declare const Input: InputType
332
-
333
- interface InputFileProps
334
- extends React.DetailedHTMLProps<
335
- React.InputHTMLAttributes<HTMLInputElement>,
336
- HTMLInputElement
337
- >,
338
- React.AriaAttributes {
339
- label?: string
340
- name?: string
341
- }
342
-
343
- type InputFileType = (props: InputFileProps) => React.ReactElement
344
-
345
- declare const InputFile: InputFileType
346
-
347
- interface InputWithAdornmentsProps extends InputProps {
348
- cornerLabel?: string
349
- }
350
-
351
- type InputWithAdornmentsType = (
352
- props: InputWithAdornmentsProps
353
- ) => React.ReactElement
354
-
355
- declare const InputWithAdornments: InputWithAdornmentsType
356
-
357
- type CountryItem = {
358
- name: string
359
- nameCode: string
360
- nameRus: string
361
- phoneCode: string
362
- mask: string
363
- }
364
-
365
- interface InputWithCountryDropdownProps
366
- extends InputWithAdornmentsProps {
367
- onSelectCountry?: (country: CountryItem) => void
368
- hiddenInputProps?: React.DetailedHTMLProps<
369
- React.InputHTMLAttributes<HTMLInputElement>,
370
- HTMLInputElement
371
- >
372
- }
373
-
374
- type InputWithCountryDropdownType = (
375
- props: InputWithCountryDropdownProps
376
- ) => React.ReactElement
377
-
378
- declare const InputWithCountryDropdown: InputWithCountryDropdownType
379
-
380
- interface InputWithMaskProps extends InputWithAdornmentsProps {
381
- mask?: string
382
- value?: string | number | undefined
383
- }
384
-
385
- type InputWithMaskType = (
386
- props: InputWithMaskProps
387
- ) => React.ReactElement
388
-
389
- declare const InputWithMask: InputWithMaskType
390
-
391
- type ModalSizes = "small" | "large"
392
-
393
- interface ModalProps
394
- extends React.DetailedHTMLProps<
395
- React.HTMLAttributes<HTMLDivElement>,
396
- HTMLDivElement
397
- > {
398
- isOpen?: boolean
399
- handleClose?: () => void
400
- title?: string
401
- size?: ModalSizes
402
- icon?: ReactElement
403
- isScrollable?: boolean
404
- description?: string
405
- }
406
-
407
- type ModalType = (props: ModalProps) => React.ReactElement
408
-
409
- declare const Modal: ModalType
410
-
411
- interface RadioProps
412
- extends React.DetailedHTMLProps<
413
- React.InputHTMLAttributes<HTMLInputElement>,
414
- HTMLInputElement
415
- >,
416
- React.AriaAttributes {
417
- label?: React.ReactElement | string
418
- inputRef?: React.RefObject<HTMLInputElement>
419
- }
420
-
421
- type RadioType = (props: RadioProps) => React.ReactElement
422
-
423
- declare const Radio: RadioType
424
-
425
- type SwitchSizes = "s" | "m" | "l"
426
-
427
- // @ts-ignore
428
- interface SwitchProps
429
- extends React.DetailedHTMLProps<
430
- React.InputHTMLAttributes<HTMLInputElement>,
431
- HTMLInputElement
432
- >,
433
- React.AriaAttributes {
434
- error?: any
435
- label?: React.ReactElement | string
436
- inputRef?: React.RefObject<HTMLInputElement>
437
- size?: SwitchSizes
438
- }
439
-
440
- type SwitchType = (props: SwitchProps) => React.ReactElement
441
-
442
- declare const Switch: SwitchType
443
-
444
- type TextSizes = "xs" | "s" | "m"
445
-
446
- type TextWeight = 400 | 500 | 600
447
-
448
- type TextColors =
449
- | "main"
450
- | "gray60"
451
- | "gray50"
452
- | "gray40"
453
- | "white"
454
- | "brand"
455
-
456
- interface TextProps
457
- extends React.DetailedHTMLProps<
458
- React.HTMLAttributes<HTMLParagraphElement>,
459
- HTMLParagraphElement
460
- >,
461
- React.AriaAttributes {
462
- size?: TextSizes
463
- weight?: TextWeight
464
- color?: TextColors
465
- disableUserSelect?: boolean
466
- }
467
-
468
- type TextType = (props: TextProps) => React.ReactElement
469
-
470
- declare const Text: TextType
471
-
472
- type ContainerType = (
473
- props: React.DetailedHTMLProps<
474
- React.HTMLAttributes<HTMLDivElement>,
475
- HTMLDivElement
476
- >
477
- ) => React.ReactElement
478
-
479
- declare const Container: ContainerType
480
-
481
- type GridJustify = "center" | "flex-start" | "flex-end" | "space-between"
482
-
483
- type GridAlignItems = "center" | "flex-start" | "flex-end"
484
-
485
- type GridDirections = "column" | "row"
486
-
487
- type GridWrap = "wrap" | "nowrap"
488
-
489
- type GridSizing =
490
- | 1
491
- | 2
492
- | 3
493
- | 4
494
- | 5
495
- | 6
496
- | 7
497
- | 8
498
- | 9
499
- | 10
500
- | 11
501
- | 12
502
- | "auto"
503
-
504
- interface GridProps
505
- extends React.DetailedHTMLProps<
506
- React.HTMLAttributes<HTMLDivElement>,
507
- HTMLDivElement
508
- >,
509
- React.AriaAttributes {
510
- spacing?: GridSizing
511
- item?: boolean
512
- container?: boolean
513
- justify?: GridJustify
514
- alignItems?: GridAlignItems
515
- alignContent?: GridAlignItems
516
- direction?: GridDirections
517
- wrap?: GridWrap
518
- xs?: GridSizing
519
- sm?: GridSizing
520
- md?: GridSizing
521
- lg?: GridSizing
522
- xl?: GridSizing
523
- }
524
-
525
- type GridType = (props: GridProps) => React.ReactElement
526
-
527
- declare const Grid: GridType
528
-
529
- type BoxSizing = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
530
-
531
- interface BoxProps
532
- extends React.DetailedHTMLProps<
533
- React.HTMLAttributes<HTMLDivElement>,
534
- HTMLDivElement
535
- >,
536
- React.AriaAttributes {
537
- mt?: BoxSizing
538
- mr?: BoxSizing
539
- ml?: BoxSizing
540
- mb?: BoxSizing
541
- pt?: BoxSizing
542
- pr?: BoxSizing
543
- pl?: BoxSizing
544
- pb?: BoxSizing
545
- }
546
-
547
- type BoxType = (props: BoxProps) => React.ReactElement
548
-
549
- declare const Box: BoxType
550
-
551
- interface AccordionProps
552
- extends Omit<
553
- React.DetailedHTMLProps<
554
- React.HTMLAttributes<HTMLDivElement>,
555
- HTMLDivElement
556
- >,
557
- "onChange"
558
- > {
559
- expanded?: boolean
560
- onChange?: (expanded: boolean) => void
561
- disabled?: boolean
562
- }
563
-
564
- type AccordionType = (props: AccordionProps) => React.ReactElement
565
-
566
- declare const Accordion: AccordionType
567
-
568
- interface AccordionSummaryProps
569
- extends React.DetailedHTMLProps<
570
- React.HTMLAttributes<HTMLDivElement>,
571
- HTMLDivElement
572
- >,
573
- React.AriaAttributes {
574
- detailsBlock?: React.RefObject<HTMLDivElement>
575
- expandIcon?: React.ReactElement | React.ReactElement[] | string
576
- contentStyles?: string
577
- expandedStyles?: string
578
- iconStyles?: string
579
- disabled?: boolean
580
- }
581
-
582
- type AccordionSummaryType = (
583
- props: AccordionSummaryProps
584
- ) => React.ReactElement
585
-
586
- declare const AccordionSummary: AccordionSummaryType
587
-
588
- type AccordionDetailsType = (
589
- props: React.DetailedHTMLProps<
590
- React.HTMLAttributes<HTMLDivElement>,
591
- HTMLDivElement
592
- >
593
- ) => React.ReactElement
594
-
595
- declare const AccordionDetails: AccordionDetailsType
596
-
597
- type SkeletonType = (
598
- props: React.DetailedHTMLProps<
599
- React.HTMLAttributes<HTMLSpanElement>,
600
- HTMLSpanElement
601
- >
602
- ) => React.ReactElement
603
-
604
- declare const Skeleton: SkeletonType
605
-
606
- interface AppBarProps
607
- extends React.DetailedHTMLProps<
608
- React.HTMLAttributes<HTMLElement>,
609
- HTMLElement
610
- >,
611
- React.AriaAttributes {
612
- isFixed?: boolean
613
- }
614
-
615
- type AppBarType = (props: AppBarProps) => React.ReactElement
616
-
617
- declare const AppBar: AppBarType
618
-
619
- type ToolBarType = (
620
- props: React.DetailedHTMLProps<
621
- React.HTMLAttributes<HTMLDivElement>,
622
- HTMLDivElement
623
- >
624
- ) => React.ReactElement
625
-
626
- declare const ToolBar: ToolBarType
627
-
628
- interface CircularProgressProps
629
- extends React.DetailedHTMLProps<
630
- React.HTMLAttributes<HTMLDivElement>,
631
- HTMLDivElement
632
- >,
633
- React.AriaAttributes {
634
- svgStyles?: string
635
- circleStyles?: string
636
- }
637
-
638
- type CircularProgressType = (
639
- props: CircularProgressProps
640
- ) => React.ReactElement
641
-
642
- declare const CircularProgress: CircularProgressType
643
-
644
- interface LinearProgressProps
645
- extends React.DetailedHTMLProps<
646
- React.HTMLAttributes<HTMLDivElement>,
647
- HTMLDivElement
648
- >,
649
- React.AriaAttributes {
650
- className?: string
651
- progressBarStyles?: string
652
- value?: number
653
- }
654
-
655
- type LinearProgressType = (
656
- props: LinearProgressProps
657
- ) => React.ReactElement
658
-
659
- declare const LinearProgress: LinearProgressType
660
-
661
- type TabChangeHandlerType = (
662
- e: SyntheticEvent<HTMLButtonElement>,
663
- value: number
664
- ) => void
665
-
666
- interface TabProps
667
- extends Omit<
668
- React.DetailedHTMLProps<
669
- React.ButtonHTMLAttributes<HTMLButtonElement>,
670
- HTMLButtonElement
671
- >,
672
- "onChange"
673
- > {
674
- selected?: boolean
675
- value?: number
676
- label: string | ReactNode
677
- onChange?: TabChangeHandlerType
678
- }
679
-
680
- type TabType = (props: TabProps) => React.ReactElement
681
-
682
- declare const Tab: TabType
683
-
684
- type TabsIndicatorPositions = "bottom" | "top"
685
-
686
- interface TabsProps
687
- extends Omit<
688
- React.DetailedHTMLProps<
689
- React.HTMLAttributes<HTMLDivElement>,
690
- HTMLDivElement
691
- >,
692
- "onChange"
693
- > {
694
- value: number
695
- onChange?: TabChangeHandlerType
696
- indicatorPos?: TabsIndicatorPositions
697
- }
698
-
699
- type TabsType = (props: TabsProps) => React.ReactElement
700
-
701
- declare const Tabs: TabsType
702
-
703
- interface TabsPanelProps
704
- extends Omit<
705
- React.DetailedHTMLProps<
706
- React.HTMLAttributes<HTMLDivElement>,
707
- HTMLDivElement
708
- >,
709
- "onChange"
710
- > {
711
- tabs: (string | ReactNode)[]
712
- tabPanels?: React.ReactNode[]
713
- paths?: string[]
714
- activeTab?: number
715
- onChange?: TabChangeHandlerType
716
- indicatorPos?: TabsIndicatorPositions
717
- }
718
-
719
- type TabsPanelType = (props: TabsPanelProps) => React.ReactElement
720
-
721
- declare const TabsPanel: TabsPanelType
722
-
723
- interface MenuPanelProps
724
- extends Omit<
725
- React.DetailedHTMLProps<
726
- React.HTMLAttributes<HTMLDivElement>,
727
- HTMLDivElement
728
- >,
729
- "onChange"
730
- > {
731
- tabs: string[]
732
- tabsId?: string[]
733
- activeTab?: number
734
- offset?: number
735
- onChange?: TabChangeHandlerType
736
- indicatorPos?: TabsIndicatorPositions
737
- }
738
-
739
- type MenuPanelType = (props: MenuPanelProps) => React.ReactElement
740
-
741
- declare const MenuPanel: MenuPanelType
742
-
743
- interface IconButtonProps
744
- extends React.DetailedHTMLProps<
745
- React.ButtonHTMLAttributes<HTMLButtonElement>,
746
- HTMLButtonElement
747
- >,
748
- React.AriaAttributes {}
749
-
750
- type IconButtonType = (props: IconButtonProps) => React.ReactElement
751
-
752
- declare const IconButton: IconButtonType
753
-
754
- type PopperPlacements =
755
- | "right"
756
- | "left"
757
- | "topStart"
758
- | "topMiddle"
759
- | "topEnd"
760
- | "bottomStart"
761
- | "bottomMiddle"
762
- | "bottomEnd"
763
-
764
- type PopperBaseProps = {
765
- open?: boolean
766
- placement?: PopperPlacements
767
- withArrow?: boolean
768
- spacing?: string
769
- className?: string
770
- withoutMobile?: boolean
771
- } & React.HTMLAttributes<HTMLDivElement>
772
-
773
- type PopperProps = {
774
- contentRef: RefObject<HTMLDivElement>
775
- } & PopperBaseProps
776
-
777
- type PopperSizeParams = {
778
- width: number
779
- height: number
780
- }
781
-
782
- declare const Popper: (props: PopperProps) => React.ReactElement
783
-
784
- type TooltipToggleMethods = "click" | "hover"
785
-
786
- interface TooltipProps
787
- extends Omit<React.HTMLAttributes<HTMLDivElement>, "content" | "onChange"> {
788
- onOpen?: () => void
789
- onClose?: () => void
790
- onChange?: (isOpen: boolean) => void
791
- content: ReactNode
792
- open?: boolean
793
- placement?: PopperPlacements
794
- withArrow?: boolean
795
- cursor?: "pointer" | "auto"
796
- spacing?: string
797
- toggleMethod?: TooltipToggleMethods
798
- withoutMobile?: boolean
799
- }
800
-
801
- type TooltipStylesProps = {
802
- cursor?: "pointer" | "auto"
803
- spacing?: string
804
- }
805
-
806
- declare const Tooltip: (props: TooltipProps) => React.ReactElement
807
-
808
- interface ErrorComponentProps
809
- extends React.DetailedHTMLProps<
810
- React.HTMLAttributes<HTMLDivElement>,
811
- HTMLDivElement
812
- >,
813
- React.AriaAttributes {
814
- message: string
815
- icon: ReactNode
816
- }
817
-
818
- declare const ErrorComponent: (props: ErrorComponentProps) => React.ReactElement
819
-
820
- export { Accordion, AccordionDetails, AccordionDetailsType, AccordionProps, AccordionSummary, AccordionSummaryProps, AccordionSummaryType, AccordionType, AppBar, AppBarProps, AppBarType, BackgroundColors, BackgroundColorsType, Box, BoxProps, BoxSizing, BoxType, BrandColors, BreakpointsType, Button, ButtonBorder, ButtonProps, ButtonSizes, ButtonThemes, ButtonType, ButtonTypes, Caption, CaptionAlign, CaptionColorGroups, CaptionColors, CaptionProps, CaptionSizes, CaptionType, CaptionVariants, CaptionWeight, Checkbox, CheckboxProps, CheckboxType, CircularProgress, CircularProgressType, ColorOption, ColorsType, Container, ContainerType, CountryItem, Divider, DividerProps, DividerType, ErrorColorsType, ErrorComponent, ErrorComponentProps, GreyColors, Grid, GridAlignItems, GridDirections, GridJustify, GridProps, GridSizing, GridType, GridWrap, Heading, HeadingColorGroups, HeadingColors, HeadingProps, HeadingSizes, HeadingType, IconButton, IconButtonProps, IconButtonType, InfoColorsType, Input, InputFile, InputFileProps, InputFileType, InputMessage, InputMessageProps, InputMessageType, InputMessageVariant, InputProps, InputType, InputWithAdornments, InputWithAdornmentsProps, InputWithAdornmentsType, InputWithCountryDropdown, InputWithCountryDropdownProps, InputWithCountryDropdownType, InputWithMask, InputWithMaskProps, InputWithMaskType, LinearProgress, LinearProgressType, MenuPanel, MenuPanelProps, MenuPanelType, Modal, ModalProps, ModalSizes, ModalType, Palette, Popper, PopperProps, PopperSizeParams, PrimaryColorsType, PurpleColorsType, Radio, RadioProps, RadioType, SecondaryColorsType, SettingsType, ShadowsType, Skeleton, SkeletonType, SuccessColorsType, Switch, SwitchProps, SwitchSizes, SwitchType, Tab, TabChangeHandlerType, TabProps, TabType, Tabs, TabsIndicatorPositions, TabsPanel, TabsPanelProps, TabsPanelType, TabsProps, TabsType, Text, TextColors, TextProps, TextSizes, TextType, TextWeight, ThemeInterface, ThemeType, ToolBar, ToolBarType, Tooltip, TooltipProps, TooltipStylesProps, TooltipToggleMethods, theme, themeOld };