@itcase/ui 1.1.8 → 1.1.10

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 (616) hide show
  1. package/dist/{Accordion-CqPVnTKh.js → Accordion-CXvqu97t.js} +5 -7
  2. package/dist/{Avatar-diLCwtnd.js → Avatar-JAaLGdYj.js} +6 -24
  3. package/dist/Badge-DPM6qrjA.js +62 -0
  4. package/dist/Breadcrumbs-BZpYBM5A.js +88 -0
  5. package/dist/Button-CyO_Wl49.js +96 -0
  6. package/dist/Caption-DDh0VFPJ.js +25 -0
  7. package/dist/Card-DKmhFMCS.js +28 -0
  8. package/dist/Cell-D3aJx_C0.js +65 -0
  9. package/dist/Checkbox-BqTMHeES.js +86 -0
  10. package/dist/Chips-DhyDHpu7.js +69 -0
  11. package/dist/Choice-cgCRlPk0.js +98 -0
  12. package/dist/Code-DkWVSDOy.js +273 -0
  13. package/dist/ContextMenuItem-DjDhhmjF.js +46 -0
  14. package/dist/DadataHintField-QzDwYdF1.js +1103 -0
  15. package/dist/DatePicker-BFLpftbJ.js +14104 -0
  16. package/dist/{Divider-BlBwMHgl.js → Divider-D0TEKxHr.js} +1 -1
  17. package/dist/{Dot-C3R1y59u.js → Dot-Bc0Ly45H.js} +1 -1
  18. package/dist/Drawer-CgJX3Utw.js +139 -0
  19. package/dist/DropdownItem-DOBsvnrL.js +155 -0
  20. package/dist/{FlexItem-DzNgFIa0.js → FlexItem-DHmKl6e7.js} +3 -3
  21. package/dist/{GridRow-Cc-rz56R.js → GridRow-DUnumam2.js} +1 -1
  22. package/dist/{Group-fbVPmr8W.js → Group-C2kJKhWJ.js} +3 -2
  23. package/dist/{Icon-Dn2eEZvb.js → Icon-C1j6rkeI.js} +5 -20
  24. package/dist/Image-Bz4Fo3eB.js +65 -0
  25. package/dist/Input-CYMKQ0qF.js +133 -0
  26. package/dist/InputPassword-Aff74Atr.js +110 -0
  27. package/dist/Label-CD6o__-D.js +85 -0
  28. package/dist/{Link-ByBzBRDH.js → Link-CbCqej5B.js} +8 -58
  29. package/dist/ListItem-Dgx1_Igi.js +46 -0
  30. package/dist/Loader-BUgSIcId.js +53 -0
  31. package/dist/Logo-DsOEX4uk.js +30 -0
  32. package/dist/Menu-89epjC8r.js +34 -0
  33. package/dist/MenuItem-DvpftOnP.js +81 -0
  34. package/dist/{ModalLoader-DJVKhIZR.js → ModalLoader-CushfGnC.js} +2 -2
  35. package/dist/{NotificationList-CJyEnxWw.js → NotificationList-D_NNtwS1.js} +9 -4
  36. package/dist/Overlay-C4gCb0sL.js +25 -0
  37. package/dist/Pagination-0sADvbwj.js +86 -0
  38. package/dist/Radio-DFeWsO4E.js +87 -0
  39. package/dist/RangeSlider-BPFVikab.js +50 -0
  40. package/dist/Response-C5_yetym.js +74 -0
  41. package/dist/Scrollbar-DrRNpn12.js +27 -0
  42. package/dist/SearchResult-C0kjGm-o.js +120 -0
  43. package/dist/Segmented-C56XBzTH.js +91 -0
  44. package/dist/SiteMenuButton-Do8ZNCkl.js +58 -0
  45. package/dist/Swiper-BYPes9JY.js +5115 -0
  46. package/dist/Switch-0BHqovLA.js +12 -0
  47. package/dist/SwitchField-W4_o97BR.js +98 -0
  48. package/dist/TabGroup-DRiFyK3Z.js +144 -0
  49. package/dist/{Text-BcGbRc14.js → Text-edtauAM6.js} +3 -2
  50. package/dist/Textarea-Cie6SPyp.js +96 -0
  51. package/dist/Tile-CQ5L7pja.js +52 -0
  52. package/dist/Title-BUN57fWw.js +84 -0
  53. package/dist/Tooltip-jT5A43he.js +108 -0
  54. package/dist/Video-0z4mNz4P.js +18 -0
  55. package/dist/Wrapper-CJTkVfsd.js +45 -0
  56. package/dist/_tslib-S-VPg1Cw.js +56 -0
  57. package/dist/cjs/{Accordion-DcZ9P5kP.js → Accordion-Dx0BRqhi.js} +6 -8
  58. package/dist/cjs/{Avatar-DQ5fNpnO.js → Avatar-C2xK87qB.js} +6 -24
  59. package/dist/cjs/Badge-BvJTwXqB.js +69 -0
  60. package/dist/cjs/Breadcrumbs-PHMiEJZH.js +96 -0
  61. package/dist/cjs/{Button-3GkRq8Pv.js → Button-D7ctQMni.js} +10 -14
  62. package/dist/cjs/Caption-f-OM1D-G.js +31 -0
  63. package/dist/cjs/Card-C5uctOQL.js +34 -0
  64. package/dist/cjs/Cell-B2BMVPlV.js +71 -0
  65. package/dist/cjs/Checkbox-C1HH9ut8.js +93 -0
  66. package/dist/cjs/Chips-DkUdk6Zs.js +76 -0
  67. package/dist/cjs/Choice-CJqMvK5I.js +106 -0
  68. package/dist/cjs/Code-ByEr4h2R.js +280 -0
  69. package/dist/cjs/ContextMenuItem-DocbJZKp.js +53 -0
  70. package/dist/cjs/DadataHintField-DQHPRLs0.js +1111 -0
  71. package/dist/cjs/DatePicker-7Ugf6hQ1.js +14128 -0
  72. package/dist/cjs/{Divider-CIYsHYud.js → Divider-doetVRw0.js} +1 -1
  73. package/dist/cjs/{Dot-vDSigHDs.js → Dot-CKWexdtn.js} +1 -1
  74. package/dist/cjs/Drawer-BGZBaR2Q.js +146 -0
  75. package/dist/cjs/DropdownItem-BVxf7bPs.js +163 -0
  76. package/dist/cjs/{FlexItem-BnORv6q3.js → FlexItem-2KlvlTJY.js} +3 -3
  77. package/dist/cjs/{GridRow-mzs0CkNG.js → GridRow-OxLsh_2P.js} +1 -1
  78. package/dist/cjs/{Group-4zWTDvKx.js → Group-C9BxTKs-.js} +3 -2
  79. package/dist/cjs/{Icon-UBahY607.js → Icon-D1v73UhR.js} +6 -21
  80. package/dist/cjs/Image-CCx6QWZj.js +71 -0
  81. package/dist/cjs/Input-BqKlyvEt.js +141 -0
  82. package/dist/cjs/InputPassword-saMz6m0X.js +117 -0
  83. package/dist/cjs/Label-C2Whza8M.js +92 -0
  84. package/dist/cjs/{Link-BoShjCEw.js → Link-3qPujNn9.js} +10 -61
  85. package/dist/cjs/ListItem-CvMoKXM-.js +53 -0
  86. package/dist/cjs/Loader-CK9zQAPl.js +60 -0
  87. package/dist/cjs/Logo-YADZn1N4.js +36 -0
  88. package/dist/cjs/Menu-BNe1i3Z7.js +40 -0
  89. package/dist/cjs/MenuItem-BRQoOa-K.js +89 -0
  90. package/dist/cjs/{ModalLoader-4mmV5G4E.js → ModalLoader-1f8MYsLV.js} +4 -4
  91. package/dist/cjs/{NotificationList-DnI8DqyE.js → NotificationList-ydXfdUwy.js} +10 -5
  92. package/dist/cjs/Overlay-18bnPZPd.js +31 -0
  93. package/dist/cjs/Pagination-D8EHefOz.js +94 -0
  94. package/dist/cjs/Radio-DRXdBBWU.js +94 -0
  95. package/dist/cjs/RangeSlider-Dy53bTyY.js +57 -0
  96. package/dist/cjs/Response-De79pGs5.js +82 -0
  97. package/dist/cjs/Scrollbar-DOujlQOb.js +33 -0
  98. package/dist/cjs/SearchResult-DFG3pyeM.js +129 -0
  99. package/dist/cjs/Segmented-D0ISlz9H.js +99 -0
  100. package/dist/cjs/SiteMenuButton-Ca46xAzk.js +65 -0
  101. package/dist/cjs/Swiper-oPcqfskQ.js +5122 -0
  102. package/dist/cjs/Switch-K1p9h3aF.js +19 -0
  103. package/dist/cjs/SwitchField-xk1JORBl.js +108 -0
  104. package/dist/cjs/TabGroup-DEEcVLO0.js +153 -0
  105. package/dist/cjs/{Text-D7Aq1i5R.js → Text-CgYNdSwY.js} +3 -2
  106. package/dist/cjs/Textarea-WIGhhrgu.js +103 -0
  107. package/dist/cjs/Tile-gAqZGMv7.js +58 -0
  108. package/dist/cjs/Title-C3lN-EvU.js +91 -0
  109. package/dist/cjs/Tooltip-DasmzIDY.js +116 -0
  110. package/dist/cjs/Video-B_xqvgag.js +24 -0
  111. package/dist/cjs/Wrapper-DravIzND.js +51 -0
  112. package/dist/cjs/_tslib-CKiUdo7p.js +59 -0
  113. package/dist/cjs/components/Accordion/Accordion.interface.d.ts +26 -24
  114. package/dist/cjs/components/Accordion.js +9 -20
  115. package/dist/cjs/components/Avatar/Avatar.d.ts +0 -10
  116. package/dist/cjs/components/Avatar/Avatar.interface.d.ts +14 -29
  117. package/dist/cjs/components/Avatar.js +10 -24
  118. package/dist/cjs/components/Badge/Badge.d.ts +10 -0
  119. package/dist/cjs/components/Badge/Badge.interface.d.ts +32 -0
  120. package/dist/cjs/components/Badge/index.d.ts +1 -0
  121. package/dist/cjs/components/Badge.js +10 -193
  122. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
  123. package/dist/cjs/components/Breadcrumbs/Breadcrumbs.interface.d.ts +71 -0
  124. package/dist/cjs/components/Breadcrumbs/BreadcrumbsItem.d.ts +8 -0
  125. package/dist/cjs/components/Breadcrumbs/index.d.ts +3 -0
  126. package/dist/cjs/components/Breadcrumbs.js +9 -23
  127. package/dist/cjs/components/Button/Button.interface.d.ts +15 -17
  128. package/dist/cjs/components/Button.js +9 -20
  129. package/dist/cjs/components/Caption/Caption.d.ts +3 -0
  130. package/dist/cjs/components/Caption/Caption.interface.d.ts +21 -0
  131. package/dist/cjs/components/Caption/index.d.ts +1 -0
  132. package/dist/cjs/components/Caption.js +8 -184
  133. package/dist/cjs/components/Card/Card.d.ts +13 -0
  134. package/dist/cjs/components/Card/Card.interface.d.ts +29 -0
  135. package/dist/cjs/components/Card/index.d.ts +1 -0
  136. package/dist/cjs/components/Card.js +14 -270
  137. package/dist/cjs/components/Cell/Cell.d.ts +9 -0
  138. package/dist/cjs/components/Cell/Cell.interface.d.ts +61 -0
  139. package/dist/cjs/components/Cell/index.d.ts +1 -0
  140. package/dist/cjs/components/Cell.js +19 -412
  141. package/dist/cjs/components/Checkbox/Checkbox.d.ts +9 -0
  142. package/dist/cjs/components/Checkbox/Checkbox.interface.d.ts +57 -0
  143. package/dist/cjs/components/Checkbox/index.d.ts +1 -0
  144. package/dist/cjs/components/Checkbox.js +14 -157
  145. package/dist/cjs/components/Chips/Chips.d.ts +9 -0
  146. package/dist/cjs/components/Chips/Chips.interface.d.ts +42 -0
  147. package/dist/cjs/components/Chips/index.d.ts +1 -0
  148. package/dist/cjs/components/Chips.js +10 -380
  149. package/dist/cjs/components/Choice/Choice.d.ts +5 -0
  150. package/dist/cjs/components/Choice/Choice.interface.d.ts +55 -0
  151. package/dist/cjs/components/Choice/index.d.ts +1 -0
  152. package/dist/cjs/components/Choice.js +19 -336
  153. package/dist/cjs/components/Code/Code.d.ts +22 -0
  154. package/dist/cjs/components/Code/Code.interface.d.ts +33 -0
  155. package/dist/cjs/components/Code/index.d.ts +1 -0
  156. package/dist/cjs/components/Code.js +8 -427
  157. package/dist/cjs/components/ContextMenu/ContextMenu.d.ts +8 -0
  158. package/dist/cjs/components/ContextMenu/ContextMenu.interface.d.ts +36 -0
  159. package/dist/cjs/components/ContextMenu/ContextMenuItem.d.ts +3 -0
  160. package/dist/cjs/components/ContextMenu/index.d.ts +3 -0
  161. package/dist/cjs/components/ContextMenu.js +10 -21
  162. package/dist/cjs/components/CookiesWarning.js +10 -21
  163. package/dist/cjs/components/DadataHintField/DadataHintField.d.ts +3 -0
  164. package/dist/cjs/components/DadataHintField/DadataHintField.interface.d.ts +14 -0
  165. package/dist/cjs/components/DadataHintField/index.d.ts +1 -0
  166. package/dist/cjs/components/DadataHintField.js +9 -1182
  167. package/dist/cjs/components/DatePicker/DatePicker.d.ts +3 -0
  168. package/dist/cjs/components/DatePicker/DatePicker.interface.d.ts +48 -0
  169. package/dist/cjs/components/DatePicker/index.d.ts +1 -0
  170. package/dist/cjs/components/DatePicker.js +19 -14082
  171. package/dist/cjs/components/Divider/Divider.interface.d.ts +2 -0
  172. package/dist/cjs/components/Divider.js +2 -2
  173. package/dist/cjs/components/Dot/Dot.interface.d.ts +4 -3
  174. package/dist/cjs/components/Dot.js +2 -2
  175. package/dist/cjs/components/Drawer/Drawer.d.ts +3 -0
  176. package/dist/cjs/components/Drawer/Drawer.interface.d.ts +16 -0
  177. package/dist/cjs/components/Drawer/index.d.ts +1 -0
  178. package/dist/cjs/components/Drawer.js +5 -279
  179. package/dist/cjs/components/Dropdown/Dropdown.d.ts +10 -0
  180. package/dist/cjs/components/Dropdown/Dropdown.interface.d.ts +73 -0
  181. package/dist/cjs/components/Dropdown/DropdownItem.d.ts +10 -0
  182. package/dist/cjs/components/Dropdown/index.d.ts +3 -0
  183. package/dist/cjs/components/Dropdown.js +7 -11
  184. package/dist/cjs/components/Flex/Flex.interface.d.ts +28 -26
  185. package/dist/cjs/components/Flex.js +2 -2
  186. package/dist/cjs/components/FormField/ChoiceField.d.ts +8 -0
  187. package/dist/cjs/components/FormField/FormField.d.ts +9 -0
  188. package/dist/cjs/components/FormField/FormFiled.interface.d.ts +77 -0
  189. package/dist/cjs/components/FormField/PasswordField.d.ts +9 -0
  190. package/dist/cjs/components/FormField/SelectField.d.ts +9 -0
  191. package/dist/cjs/components/FormField/SwitchField.d.ts +8 -0
  192. package/dist/cjs/components/FormField/index.d.ts +6 -0
  193. package/dist/cjs/components/FormField.js +21 -33
  194. package/dist/cjs/components/Grid/Grid.interface.d.ts +11 -8
  195. package/dist/cjs/components/Grid.js +2 -2
  196. package/dist/cjs/components/Group/Group.interface.d.ts +19 -19
  197. package/dist/cjs/components/Group.js +2 -2
  198. package/dist/cjs/components/Icon/Icon.interface.d.ts +25 -32
  199. package/dist/cjs/components/Icon.js +8 -19
  200. package/dist/cjs/components/Image/Image.d.ts +3 -0
  201. package/dist/cjs/components/Image/Image.interface.d.ts +34 -0
  202. package/dist/cjs/components/Image/index.d.ts +1 -0
  203. package/dist/cjs/components/Image.js +8 -467
  204. package/dist/cjs/components/Input/Input.d.ts +5 -0
  205. package/dist/cjs/components/Input/Input.interface.d.ts +53 -0
  206. package/dist/cjs/components/Input/index.d.ts +1 -0
  207. package/dist/cjs/components/Input.js +8 -223
  208. package/dist/cjs/components/InputMask/Input.d.ts +5 -0
  209. package/dist/cjs/components/InputMask/Input.interface.d.ts +53 -0
  210. package/dist/cjs/components/InputMask/index.d.ts +1 -0
  211. package/dist/cjs/components/InputMask.js +124 -210
  212. package/dist/cjs/components/InputPassword/InputPassword.d.ts +10 -0
  213. package/dist/cjs/components/InputPassword/InputPassword.interface.d.ts +52 -0
  214. package/dist/cjs/components/InputPassword/index.d.ts +1 -0
  215. package/dist/cjs/components/InputPassword.js +19 -245
  216. package/dist/cjs/components/Label/Label.d.ts +9 -0
  217. package/dist/cjs/components/Label/Label.interface.d.ts +58 -0
  218. package/dist/cjs/components/Label/index.d.ts +1 -0
  219. package/dist/cjs/components/Label.js +12 -630
  220. package/dist/cjs/components/LanguageSelector.js +8 -19
  221. package/dist/cjs/components/Link/Link.interface.d.ts +4 -3
  222. package/dist/cjs/components/Link.js +3 -2
  223. package/dist/cjs/components/List/List.d.ts +3 -0
  224. package/dist/cjs/components/List/List.interface.d.ts +28 -0
  225. package/dist/cjs/components/List/ListItem.d.ts +3 -0
  226. package/dist/cjs/components/List/index.d.ts +3 -0
  227. package/dist/cjs/components/List.js +5 -11
  228. package/dist/cjs/components/Loader/Loader.d.ts +4 -0
  229. package/dist/cjs/components/Loader/Loader.interface.d.ts +30 -0
  230. package/dist/cjs/components/Loader/index.d.ts +1 -0
  231. package/dist/cjs/components/Loader.js +10 -143
  232. package/dist/cjs/components/Logo/Logo.d.ts +3 -0
  233. package/dist/cjs/components/Logo/Logo.interface.d.ts +17 -0
  234. package/dist/cjs/components/Logo/index.d.ts +1 -0
  235. package/dist/cjs/components/Logo.js +10 -162
  236. package/dist/cjs/components/Menu/Menu.d.ts +8 -0
  237. package/dist/cjs/components/Menu/Menu.interface.d.ts +20 -0
  238. package/dist/cjs/components/Menu/index.d.ts +1 -0
  239. package/dist/cjs/components/Menu.js +12 -183
  240. package/dist/cjs/components/MenuItem/MenuItem.d.ts +11 -0
  241. package/dist/cjs/components/MenuItem/MenuItem.interface.d.ts +65 -0
  242. package/dist/cjs/components/MenuItem/index.d.ts +1 -0
  243. package/dist/cjs/components/MenuItem.js +16 -671
  244. package/dist/cjs/components/Modal.js +5 -7
  245. package/dist/cjs/components/Notification/Notification.interface.d.ts +13 -13
  246. package/dist/cjs/components/Notification.js +4 -13
  247. package/dist/cjs/components/Overlay/Overlay.d.ts +3 -0
  248. package/dist/cjs/components/Overlay/Overlay.interface.d.ts +10 -0
  249. package/dist/cjs/components/Overlay/index.d.ts +1 -0
  250. package/dist/cjs/components/Overlay.js +8 -184
  251. package/dist/cjs/components/Pagination/Pagination.d.ts +13 -0
  252. package/dist/cjs/components/Pagination/Pagination.interface.d.ts +46 -0
  253. package/dist/cjs/components/Pagination/index.d.ts +1 -0
  254. package/dist/cjs/components/Pagination.js +17 -356
  255. package/dist/cjs/components/Panel/Panel.d.ts +7 -0
  256. package/dist/cjs/components/Panel/Panel.interface.d.ts +56 -0
  257. package/dist/cjs/components/Panel/index.d.ts +1 -0
  258. package/dist/cjs/components/Panel.js +112 -0
  259. package/dist/cjs/components/Radio/Radio.d.ts +10 -0
  260. package/dist/cjs/components/Radio/Radio.interface.d.ts +53 -0
  261. package/dist/cjs/components/Radio/index.d.ts +1 -0
  262. package/dist/cjs/components/Radio.js +14 -258
  263. package/dist/cjs/components/RangeSlider/RangeSlider.d.ts +3 -0
  264. package/dist/cjs/components/RangeSlider/RangeSlider.interface.d.ts +28 -0
  265. package/dist/cjs/components/RangeSlider/index.d.ts +1 -0
  266. package/dist/cjs/components/RangeSlider.js +13 -287
  267. package/dist/cjs/components/Response/Response.d.ts +4 -0
  268. package/dist/cjs/components/Response/Response.interface.d.ts +64 -0
  269. package/dist/cjs/components/Response/index.d.ts +1 -0
  270. package/dist/cjs/components/Response.js +21 -234
  271. package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.d.ts +8 -0
  272. package/dist/cjs/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +18 -0
  273. package/dist/cjs/components/ScrollOnDrag/index.d.ts +1 -0
  274. package/dist/cjs/components/ScrollOnDrag.js +41 -186
  275. package/dist/cjs/components/Scrollbar/Scrollbar.d.ts +8 -0
  276. package/dist/cjs/components/Scrollbar/Scrollbar.interface.d.ts +10 -0
  277. package/dist/cjs/components/Scrollbar/index.d.ts +1 -0
  278. package/dist/cjs/components/Scrollbar.js +6 -66
  279. package/dist/cjs/components/Search/Search.interface.d.ts +69 -0
  280. package/dist/cjs/components/Search/SearchInput.d.ts +5 -0
  281. package/dist/cjs/components/Search/SearchResult.d.ts +4 -0
  282. package/dist/cjs/components/Search/index.d.ts +3 -0
  283. package/dist/cjs/components/Search.js +10 -21
  284. package/dist/cjs/components/Segmented/Segmented.d.ts +5 -0
  285. package/dist/cjs/components/Segmented/Segmented.interface.d.ts +42 -0
  286. package/dist/cjs/components/Segmented/index.d.ts +1 -0
  287. package/dist/cjs/components/Segmented.js +14 -226
  288. package/dist/cjs/components/Select.js +156 -209
  289. package/dist/cjs/components/SiteMenu/SiteMenu.d.ts +3 -0
  290. package/dist/cjs/components/SiteMenu/SiteMenu.interface.d.ts +23 -0
  291. package/dist/cjs/components/SiteMenu/SiteMenuButton.d.ts +3 -0
  292. package/dist/cjs/components/SiteMenu/index.d.ts +3 -0
  293. package/dist/cjs/components/SiteMenu.js +10 -21
  294. package/dist/cjs/components/Swiper/Swiper.d.ts +9 -0
  295. package/dist/cjs/components/Swiper/Swiper.interface.d.ts +58 -0
  296. package/dist/cjs/components/Swiper/index.d.ts +1 -0
  297. package/dist/cjs/components/Swiper.js +11 -5644
  298. package/dist/cjs/components/Switch/Switch.d.ts +4 -0
  299. package/dist/cjs/components/Switch/Switch.interface.d.ts +10 -0
  300. package/dist/cjs/components/Switch/index.d.ts +1 -0
  301. package/dist/cjs/components/Switch.js +5 -100
  302. package/dist/cjs/components/Tab/Tab.d.ts +11 -0
  303. package/dist/cjs/components/Tab/Tab.interface.d.ts +79 -0
  304. package/dist/cjs/components/Tab/TabGroup.d.ts +3 -0
  305. package/dist/cjs/components/Tab/index.d.ts +3 -0
  306. package/dist/cjs/components/Tab.js +8 -22
  307. package/dist/cjs/components/Text/Text.interface.d.ts +5 -4
  308. package/dist/cjs/components/Text.js +2 -2
  309. package/dist/cjs/components/Textarea/Textarea.d.ts +9 -0
  310. package/dist/cjs/components/Textarea/Textarea.interface.d.ts +44 -0
  311. package/dist/cjs/components/Textarea/index.d.ts +1 -0
  312. package/dist/cjs/components/Textarea.js +8 -202
  313. package/dist/cjs/components/Tile/Tile.d.ts +9 -0
  314. package/dist/cjs/components/Tile/Tile.interface.d.ts +37 -0
  315. package/dist/cjs/components/Tile/index.d.ts +1 -0
  316. package/dist/cjs/components/Tile.js +11 -555
  317. package/dist/cjs/components/Title/Title.d.ts +9 -0
  318. package/dist/cjs/components/Title/Title.interface.d.ts +42 -0
  319. package/dist/cjs/components/Title/index.d.ts +1 -0
  320. package/dist/cjs/components/Title.js +12 -390
  321. package/dist/cjs/components/Tooltip/Tooltip.d.ts +5 -0
  322. package/dist/cjs/components/Tooltip/Tooltip.interface.d.ts +44 -0
  323. package/dist/cjs/components/Tooltip/index.d.ts +1 -0
  324. package/dist/cjs/components/Tooltip.js +13 -440
  325. package/dist/cjs/components/Video/Video.d.ts +3 -0
  326. package/dist/cjs/components/Video/Video.interface.d.ts +15 -0
  327. package/dist/cjs/components/Video/index.d.ts +1 -0
  328. package/dist/cjs/components/Video.js +7 -163
  329. package/dist/cjs/components/Wrapper/Wrapper.d.ts +9 -0
  330. package/dist/cjs/components/Wrapper/Wrapper.interface.d.ts +20 -0
  331. package/dist/cjs/components/Wrapper/index.d.ts +1 -0
  332. package/dist/cjs/components/Wrapper.js +8 -425
  333. package/dist/cjs/components/index.d.ts +2 -2
  334. package/dist/cjs/components.js +138 -163
  335. package/dist/cjs/constants.js +0 -2
  336. package/dist/cjs/{floating-ui.dom-C34fOuI9.js → floating-ui.dom-CW7i9VDu.js} +60 -22
  337. package/dist/cjs/hooks/styleAttributes.interface.d.ts +36 -18
  338. package/dist/cjs/{jsx-runtime-BCmQOGxJ.js → jsx-runtime-BBxmckJR.js} +20 -6
  339. package/dist/cjs/types/componentProps/alignment.d.ts +1 -1
  340. package/dist/cjs/types/componentProps/appearanceKeys.d.ts +1 -1
  341. package/dist/cjs/types/componentProps/fill.d.ts +1 -1
  342. package/dist/cjs/types/componentProps/itemColor.d.ts +1 -1
  343. package/dist/cjs/types/componentProps/overflow.d.ts +1 -0
  344. package/dist/cjs/types/componentProps/sizeInterface.d.ts +1 -1
  345. package/dist/cjs/types/componentProps/stateKeys.d.ts +1 -0
  346. package/dist/cjs/types/index.d.ts +3 -3
  347. package/dist/components/Accordion/Accordion.interface.d.ts +26 -24
  348. package/dist/components/Accordion.js +9 -20
  349. package/dist/components/Avatar/Avatar.d.ts +0 -10
  350. package/dist/components/Avatar/Avatar.interface.d.ts +14 -29
  351. package/dist/components/Avatar.js +10 -24
  352. package/dist/components/Badge/Badge.d.ts +10 -0
  353. package/dist/components/Badge/Badge.interface.d.ts +32 -0
  354. package/dist/components/Badge/index.d.ts +1 -0
  355. package/dist/components/Badge.js +8 -189
  356. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
  357. package/dist/components/Breadcrumbs/Breadcrumbs.interface.d.ts +71 -0
  358. package/dist/components/Breadcrumbs/BreadcrumbsItem.d.ts +8 -0
  359. package/dist/components/Breadcrumbs/index.d.ts +3 -0
  360. package/dist/components/Breadcrumbs.js +9 -23
  361. package/dist/components/Button/Button.interface.d.ts +15 -17
  362. package/dist/components/Button.js +9 -20
  363. package/dist/components/Caption/Caption.d.ts +3 -0
  364. package/dist/components/Caption/Caption.interface.d.ts +21 -0
  365. package/dist/components/Caption/index.d.ts +1 -0
  366. package/dist/components/Caption.js +7 -181
  367. package/dist/components/Card/Card.d.ts +13 -0
  368. package/dist/components/Card/Card.interface.d.ts +29 -0
  369. package/dist/components/Card/index.d.ts +1 -0
  370. package/dist/components/Card.js +13 -267
  371. package/dist/components/Cell/Cell.d.ts +9 -0
  372. package/dist/components/Cell/Cell.interface.d.ts +61 -0
  373. package/dist/components/Cell/index.d.ts +1 -0
  374. package/dist/components/Cell.js +18 -409
  375. package/dist/components/Checkbox/Checkbox.d.ts +9 -0
  376. package/dist/components/Checkbox/Checkbox.interface.d.ts +57 -0
  377. package/dist/components/Checkbox/index.d.ts +1 -0
  378. package/dist/components/Checkbox.js +12 -153
  379. package/dist/components/Chips/Chips.d.ts +9 -0
  380. package/dist/components/Chips/Chips.interface.d.ts +42 -0
  381. package/dist/components/Chips/index.d.ts +1 -0
  382. package/dist/components/Chips.js +8 -376
  383. package/dist/components/Choice/Choice.d.ts +5 -0
  384. package/dist/components/Choice/Choice.interface.d.ts +55 -0
  385. package/dist/components/Choice/index.d.ts +1 -0
  386. package/dist/components/Choice.js +17 -332
  387. package/dist/components/Code/Code.d.ts +22 -0
  388. package/dist/components/Code/Code.interface.d.ts +33 -0
  389. package/dist/components/Code/index.d.ts +1 -0
  390. package/dist/components/Code.js +7 -424
  391. package/dist/components/ContextMenu/ContextMenu.d.ts +8 -0
  392. package/dist/components/ContextMenu/ContextMenu.interface.d.ts +36 -0
  393. package/dist/components/ContextMenu/ContextMenuItem.d.ts +3 -0
  394. package/dist/components/ContextMenu/index.d.ts +3 -0
  395. package/dist/components/ContextMenu.js +10 -21
  396. package/dist/components/CookiesWarning.js +10 -21
  397. package/dist/components/DadataHintField/DadataHintField.d.ts +3 -0
  398. package/dist/components/DadataHintField/DadataHintField.interface.d.ts +14 -0
  399. package/dist/components/DadataHintField/index.d.ts +1 -0
  400. package/dist/components/DadataHintField.js +8 -1178
  401. package/dist/components/DatePicker/DatePicker.d.ts +3 -0
  402. package/dist/components/DatePicker/DatePicker.interface.d.ts +48 -0
  403. package/dist/components/DatePicker/index.d.ts +1 -0
  404. package/dist/components/DatePicker.js +18 -14062
  405. package/dist/components/Divider/Divider.interface.d.ts +2 -0
  406. package/dist/components/Divider.js +2 -2
  407. package/dist/components/Dot/Dot.interface.d.ts +4 -3
  408. package/dist/components/Dot.js +2 -2
  409. package/dist/components/Drawer/Drawer.d.ts +3 -0
  410. package/dist/components/Drawer/Drawer.interface.d.ts +16 -0
  411. package/dist/components/Drawer/index.d.ts +1 -0
  412. package/dist/components/Drawer.js +4 -276
  413. package/dist/components/Dropdown/Dropdown.d.ts +10 -0
  414. package/dist/components/Dropdown/Dropdown.interface.d.ts +73 -0
  415. package/dist/components/Dropdown/DropdownItem.d.ts +10 -0
  416. package/dist/components/Dropdown/index.d.ts +3 -0
  417. package/dist/components/Dropdown.js +7 -11
  418. package/dist/components/Flex/Flex.interface.d.ts +28 -26
  419. package/dist/components/Flex.js +2 -2
  420. package/dist/components/FormField/ChoiceField.d.ts +8 -0
  421. package/dist/components/FormField/FormField.d.ts +9 -0
  422. package/dist/components/FormField/FormFiled.interface.d.ts +77 -0
  423. package/dist/components/FormField/PasswordField.d.ts +9 -0
  424. package/dist/components/FormField/SelectField.d.ts +9 -0
  425. package/dist/components/FormField/SwitchField.d.ts +8 -0
  426. package/dist/components/FormField/index.d.ts +6 -0
  427. package/dist/components/FormField.js +16 -28
  428. package/dist/components/Grid/Grid.interface.d.ts +11 -8
  429. package/dist/components/Grid.js +2 -2
  430. package/dist/components/Group/Group.interface.d.ts +19 -19
  431. package/dist/components/Group.js +2 -2
  432. package/dist/components/Icon/Icon.interface.d.ts +25 -32
  433. package/dist/components/Icon.js +8 -19
  434. package/dist/components/Image/Image.d.ts +3 -0
  435. package/dist/components/Image/Image.interface.d.ts +34 -0
  436. package/dist/components/Image/index.d.ts +1 -0
  437. package/dist/components/Image.js +7 -464
  438. package/dist/components/Input/Input.d.ts +5 -0
  439. package/dist/components/Input/Input.interface.d.ts +53 -0
  440. package/dist/components/Input/index.d.ts +1 -0
  441. package/dist/components/Input.js +6 -219
  442. package/dist/components/InputMask/Input.d.ts +5 -0
  443. package/dist/components/InputMask/Input.interface.d.ts +53 -0
  444. package/dist/components/InputMask/index.d.ts +1 -0
  445. package/dist/components/InputMask.js +125 -210
  446. package/dist/components/InputPassword/InputPassword.d.ts +10 -0
  447. package/dist/components/InputPassword/InputPassword.interface.d.ts +52 -0
  448. package/dist/components/InputPassword/index.d.ts +1 -0
  449. package/dist/components/InputPassword.js +17 -241
  450. package/dist/components/Label/Label.d.ts +9 -0
  451. package/dist/components/Label/Label.interface.d.ts +58 -0
  452. package/dist/components/Label/index.d.ts +1 -0
  453. package/dist/components/Label.js +10 -626
  454. package/dist/components/LanguageSelector.js +8 -19
  455. package/dist/components/Link/Link.interface.d.ts +4 -3
  456. package/dist/components/Link.js +3 -2
  457. package/dist/components/List/List.d.ts +3 -0
  458. package/dist/components/List/List.interface.d.ts +28 -0
  459. package/dist/components/List/ListItem.d.ts +3 -0
  460. package/dist/components/List/index.d.ts +3 -0
  461. package/dist/components/List.js +5 -11
  462. package/dist/components/Loader/Loader.d.ts +4 -0
  463. package/dist/components/Loader/Loader.interface.d.ts +30 -0
  464. package/dist/components/Loader/index.d.ts +1 -0
  465. package/dist/components/Loader.js +8 -139
  466. package/dist/components/Logo/Logo.d.ts +3 -0
  467. package/dist/components/Logo/Logo.interface.d.ts +17 -0
  468. package/dist/components/Logo/index.d.ts +1 -0
  469. package/dist/components/Logo.js +9 -159
  470. package/dist/components/Menu/Menu.d.ts +8 -0
  471. package/dist/components/Menu/Menu.interface.d.ts +20 -0
  472. package/dist/components/Menu/index.d.ts +1 -0
  473. package/dist/components/Menu.js +11 -180
  474. package/dist/components/MenuItem/MenuItem.d.ts +11 -0
  475. package/dist/components/MenuItem/MenuItem.interface.d.ts +65 -0
  476. package/dist/components/MenuItem/index.d.ts +1 -0
  477. package/dist/components/MenuItem.js +14 -667
  478. package/dist/components/Modal.js +5 -7
  479. package/dist/components/Notification/Notification.interface.d.ts +13 -13
  480. package/dist/components/Notification.js +4 -13
  481. package/dist/components/Overlay/Overlay.d.ts +3 -0
  482. package/dist/components/Overlay/Overlay.interface.d.ts +10 -0
  483. package/dist/components/Overlay/index.d.ts +1 -0
  484. package/dist/components/Overlay.js +7 -181
  485. package/dist/components/Pagination/Pagination.d.ts +13 -0
  486. package/dist/components/Pagination/Pagination.interface.d.ts +46 -0
  487. package/dist/components/Pagination/index.d.ts +1 -0
  488. package/dist/components/Pagination.js +16 -351
  489. package/dist/components/Panel/Panel.d.ts +7 -0
  490. package/dist/components/Panel/Panel.interface.d.ts +56 -0
  491. package/dist/components/Panel/index.d.ts +1 -0
  492. package/dist/components/Panel.js +105 -0
  493. package/dist/components/Radio/Radio.d.ts +10 -0
  494. package/dist/components/Radio/Radio.interface.d.ts +53 -0
  495. package/dist/components/Radio/index.d.ts +1 -0
  496. package/dist/components/Radio.js +12 -254
  497. package/dist/components/RangeSlider/RangeSlider.d.ts +3 -0
  498. package/dist/components/RangeSlider/RangeSlider.interface.d.ts +28 -0
  499. package/dist/components/RangeSlider/index.d.ts +1 -0
  500. package/dist/components/RangeSlider.js +12 -283
  501. package/dist/components/Response/Response.d.ts +4 -0
  502. package/dist/components/Response/Response.interface.d.ts +64 -0
  503. package/dist/components/Response/index.d.ts +1 -0
  504. package/dist/components/Response.js +19 -229
  505. package/dist/components/ScrollOnDrag/ScrollOnDrag.d.ts +8 -0
  506. package/dist/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +18 -0
  507. package/dist/components/ScrollOnDrag/index.d.ts +1 -0
  508. package/dist/components/ScrollOnDrag.js +41 -185
  509. package/dist/components/Scrollbar/Scrollbar.d.ts +8 -0
  510. package/dist/components/Scrollbar/Scrollbar.interface.d.ts +10 -0
  511. package/dist/components/Scrollbar/index.d.ts +1 -0
  512. package/dist/components/Scrollbar.js +5 -64
  513. package/dist/components/Search/Search.interface.d.ts +69 -0
  514. package/dist/components/Search/SearchInput.d.ts +5 -0
  515. package/dist/components/Search/SearchResult.d.ts +4 -0
  516. package/dist/components/Search/index.d.ts +3 -0
  517. package/dist/components/Search.js +10 -21
  518. package/dist/components/Segmented/Segmented.d.ts +5 -0
  519. package/dist/components/Segmented/Segmented.interface.d.ts +42 -0
  520. package/dist/components/Segmented/index.d.ts +1 -0
  521. package/dist/components/Segmented.js +12 -222
  522. package/dist/components/Select.js +156 -209
  523. package/dist/components/SiteMenu/SiteMenu.d.ts +3 -0
  524. package/dist/components/SiteMenu/SiteMenu.interface.d.ts +23 -0
  525. package/dist/components/SiteMenu/SiteMenuButton.d.ts +3 -0
  526. package/dist/components/SiteMenu/index.d.ts +3 -0
  527. package/dist/components/SiteMenu.js +10 -21
  528. package/dist/components/Swiper/Swiper.d.ts +9 -0
  529. package/dist/components/Swiper/Swiper.interface.d.ts +58 -0
  530. package/dist/components/Swiper/index.d.ts +1 -0
  531. package/dist/components/Swiper.js +10 -5641
  532. package/dist/components/Switch/Switch.d.ts +4 -0
  533. package/dist/components/Switch/Switch.interface.d.ts +10 -0
  534. package/dist/components/Switch/index.d.ts +1 -0
  535. package/dist/components/Switch.js +4 -97
  536. package/dist/components/Tab/Tab.d.ts +11 -0
  537. package/dist/components/Tab/Tab.interface.d.ts +79 -0
  538. package/dist/components/Tab/TabGroup.d.ts +3 -0
  539. package/dist/components/Tab/index.d.ts +3 -0
  540. package/dist/components/Tab.js +8 -22
  541. package/dist/components/Text/Text.interface.d.ts +5 -4
  542. package/dist/components/Text.js +2 -2
  543. package/dist/components/Textarea/Textarea.d.ts +9 -0
  544. package/dist/components/Textarea/Textarea.interface.d.ts +44 -0
  545. package/dist/components/Textarea/index.d.ts +1 -0
  546. package/dist/components/Textarea.js +6 -198
  547. package/dist/components/Tile/Tile.d.ts +9 -0
  548. package/dist/components/Tile/Tile.interface.d.ts +37 -0
  549. package/dist/components/Tile/index.d.ts +1 -0
  550. package/dist/components/Tile.js +10 -552
  551. package/dist/components/Title/Title.d.ts +9 -0
  552. package/dist/components/Title/Title.interface.d.ts +42 -0
  553. package/dist/components/Title/index.d.ts +1 -0
  554. package/dist/components/Title.js +10 -386
  555. package/dist/components/Tooltip/Tooltip.d.ts +5 -0
  556. package/dist/components/Tooltip/Tooltip.interface.d.ts +44 -0
  557. package/dist/components/Tooltip/index.d.ts +1 -0
  558. package/dist/components/Tooltip.js +11 -436
  559. package/dist/components/Video/Video.d.ts +3 -0
  560. package/dist/components/Video/Video.interface.d.ts +15 -0
  561. package/dist/components/Video/index.d.ts +1 -0
  562. package/dist/components/Video.js +6 -160
  563. package/dist/components/Wrapper/Wrapper.d.ts +9 -0
  564. package/dist/components/Wrapper/Wrapper.interface.d.ts +20 -0
  565. package/dist/components/Wrapper/index.d.ts +1 -0
  566. package/dist/components/Wrapper.js +7 -422
  567. package/dist/components/index.d.ts +2 -2
  568. package/dist/components.js +63 -88
  569. package/dist/constants.js +0 -1
  570. package/dist/css/components/Button/Button.css +50 -55
  571. package/dist/css/components/Drawer/Drawer.css +24 -19
  572. package/dist/css/components/Dropdown/Dropdown.css +52 -45
  573. package/dist/css/components/Icon/Icon.css +9 -39
  574. package/dist/css/components/Link/Link.css +22 -0
  575. package/dist/css/components/Pagination/Pagination.css +2 -0
  576. package/dist/css/components/Panel/Panel.css +107 -0
  577. package/dist/css/components/Swiper/Swiper.css +2 -2
  578. package/dist/{floating-ui.dom-BQ7wiYTi.js → floating-ui.dom-B080ZrCv.js} +60 -22
  579. package/dist/hooks/styleAttributes.interface.d.ts +36 -18
  580. package/dist/{jsx-runtime-ClDdVO4Q.js → jsx-runtime-C2uP7l8s.js} +20 -6
  581. package/dist/stories/Button.stories.js +0 -16
  582. package/dist/stories/Cell.stories.js +0 -11
  583. package/dist/stories/DatePicker.stories.js +0 -6
  584. package/dist/stories/Icon.stories.js +2 -17
  585. package/dist/stories/Search-input.stories.js +0 -10
  586. package/dist/stories/Select.stories.js +0 -10
  587. package/dist/types/componentProps/alignment.d.ts +1 -1
  588. package/dist/types/componentProps/appearanceKeys.d.ts +1 -1
  589. package/dist/types/componentProps/fill.d.ts +1 -1
  590. package/dist/types/componentProps/itemColor.d.ts +1 -1
  591. package/dist/types/componentProps/overflow.d.ts +1 -0
  592. package/dist/types/componentProps/sizeInterface.d.ts +1 -1
  593. package/dist/types/componentProps/stateKeys.d.ts +1 -0
  594. package/dist/types/index.d.ts +3 -3
  595. package/package.json +39 -36
  596. package/dist/Breadcrumbs-B79kOtMG.js +0 -619
  597. package/dist/Button-B7vbiqrJ.js +0 -100
  598. package/dist/ContextMenuItem-BPqsjmSA.js +0 -204
  599. package/dist/DropdownItem-Dgf0LRhx.js +0 -644
  600. package/dist/ListItem-Cf8r3w8t.js +0 -479
  601. package/dist/SearchResult-erxB06IL.js +0 -530
  602. package/dist/SelectField-CpQMWXaC.js +0 -571
  603. package/dist/SiteMenuButton-BFmti8pF.js +0 -181
  604. package/dist/TabGroup-CjmtgOMw.js +0 -1071
  605. package/dist/cjs/Breadcrumbs-HubY1qZQ.js +0 -629
  606. package/dist/cjs/ContextMenuItem-DmbSoGn1.js +0 -213
  607. package/dist/cjs/DropdownItem-Bl-Ghc_6.js +0 -653
  608. package/dist/cjs/ListItem-MrHApmF3.js +0 -488
  609. package/dist/cjs/SearchResult-bTwR5A-g.js +0 -540
  610. package/dist/cjs/SelectField-BJTu7BXO.js +0 -583
  611. package/dist/cjs/SiteMenuButton-BGi0gR1z.js +0 -190
  612. package/dist/cjs/TabGroup-DIWmGIp2.js +0 -1081
  613. package/dist/cjs/constants/componentProps/strokeColor.js +0 -7
  614. package/dist/cjs/types/componentProps/strokeColor.d.ts +0 -1
  615. package/dist/constants/componentProps/strokeColor.js +0 -3
  616. package/dist/types/componentProps/strokeColor.d.ts +0 -1
@@ -1,224 +1,11 @@
1
- import React__default from 'react';
2
- import PropTypes from 'prop-types';
3
- import clsx from 'clsx';
4
- import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
1
+ export { I as Input, i as inputConfig } from '../Input-CYMKQ0qF.js';
2
+ import '../jsx-runtime-C2uP7l8s.js';
3
+ import 'react';
4
+ import 'clsx';
5
+ import '../hooks/useDeviceTargetClass.js';
5
6
  import 'lodash/castArray';
6
7
  import 'lodash/camelCase';
7
8
  import '../context/UIContext.js';
9
+ import 'prop-types';
8
10
  import '../hooks/useMediaQueries.js';
9
11
  import 'react-responsive';
10
-
11
- const inputConfig = {
12
- state: {},
13
- setState: newComponent => {
14
- inputConfig.state = newComponent;
15
- },
16
- appearance: {},
17
- setAppearance: newComponent => {
18
- inputConfig.appearance = newComponent;
19
- }
20
- };
21
- const Input = /*#__PURE__*/React__default.forwardRef(function Input(props, ref) {
22
- const {
23
- appearance,
24
- state,
25
- index,
26
- id,
27
- dataTestId,
28
- type,
29
- className,
30
- name,
31
- placeholder,
32
- isDisabled,
33
- value,
34
- onBlur,
35
- onChange,
36
- onFocus,
37
- onKeyDown
38
- } = props;
39
- const fillClass = useDeviceTargetClass(props, {
40
- prefix: 'fill_',
41
- propsKey: 'fill'
42
- });
43
- const fillDisabledClass = useDeviceTargetClass(props, {
44
- prefix: 'fill_disabled_',
45
- propsKey: 'fillDisabled'
46
- });
47
- const sizeClass = useDeviceTargetClass(props, {
48
- prefix: 'input_size_',
49
- propsKey: 'size'
50
- });
51
- const shapeClass = useDeviceTargetClass(props, {
52
- prefix: 'input_shape_',
53
- propsKey: 'shape'
54
- });
55
- const textSizeClass = useDeviceTargetClass(props, {
56
- prefix: 'text_size_',
57
- propsKey: 'textSize'
58
- });
59
- const textColorClass = useDeviceTargetClass(props, {
60
- prefix: 'text-color_',
61
- propsKey: 'textColor'
62
- });
63
- const textColorDisabledClass = useDeviceTargetClass(props, {
64
- prefix: 'text-color_disabled_',
65
- propsKey: 'textColor'
66
- });
67
- const caretClass = useDeviceTargetClass(props, {
68
- prefix: 'caret-color_',
69
- propsKey: 'caret'
70
- });
71
- const placeholderTextColorClass = useDeviceTargetClass(props, {
72
- prefix: 'placeholder-text-color_',
73
- propsKey: 'placeholderTextColor'
74
- });
75
- const placeholderTextColorDisabledClass = useDeviceTargetClass(props, {
76
- prefix: 'placeholder-text-color_disabled_',
77
- propsKey: 'placeholderTextColorDisabled'
78
- });
79
- const weightClass = useDeviceTargetClass(props, {
80
- prefix: 'text-weight_',
81
- propsKey: 'textWeight'
82
- });
83
- const borderWidthClass = useDeviceTargetClass(props, {
84
- prefix: 'border-width_',
85
- propsKey: 'borderWidth'
86
- });
87
- const borderWidthDisabledClass = useDeviceTargetClass(props, {
88
- prefix: 'border-width_disabled_',
89
- propsKey: 'borderWidthDisabled'
90
- });
91
- const borderColorClass = useDeviceTargetClass(props, {
92
- prefix: 'border-color_',
93
- propsKey: 'borderColor'
94
- });
95
- const borderColorDisabledClass = useDeviceTargetClass(props, {
96
- prefix: 'border-color_disabled_',
97
- propsKey: 'borderColorDisabled'
98
- });
99
- const widthClass = useDeviceTargetClass(props, {
100
- prefix: 'width_',
101
- propsKey: 'width'
102
- });
103
- return /*#__PURE__*/React__default.createElement("input", {
104
- className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, !isDisabled ? fillClass : fillDisabledClass, shapeClass || inputConfig.appearance[appearance]?.shape && `input_shape_${inputConfig.appearance[appearance].shape}`.replace(/([A-Z])/g, '-$1').toLowerCase(), textSizeClass || inputConfig.appearance[appearance]?.textSize && `text_size_${inputConfig.appearance[appearance].textSize}`.replace(/([A-Z])/g, '-$1').toLowerCase(), weightClass, widthClass, !isDisabled ? borderWidthClass : borderWidthDisabledClass, sizeClass || inputConfig.appearance[appearance]?.size && `input_size_${inputConfig.appearance[appearance].size}`.replace(/([A-Z])/g, '-$1').toLowerCase(), borderColorClass || inputConfig.appearance[appearance]?.borderColor && `border-color_${inputConfig.appearance[appearance].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), placeholderTextColorClass || inputConfig.appearance[appearance]?.placeholderTextColor && `placeholder-text-color_${inputConfig.appearance[appearance].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), textColorClass || inputConfig.appearance[appearance]?.textColor && `text-color_${inputConfig.appearance[appearance].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? borderColorClass || inputConfig.state[state]?.borderColor && `border-color_${inputConfig.state[state].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : borderColorDisabledClass || inputConfig.state[state]?.borderColor && `border-color_disabled_${inputConfig.state[state].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? placeholderTextColorClass || inputConfig.state[state]?.placeholderTextColor && `placeholder-text-color_${inputConfig.state[state].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : placeholderTextColorDisabledClass || inputConfig.state[state]?.placeholderTextColor && `placeholder-text-color_${inputConfig.state[state].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? textColorClass || inputConfig.state[state]?.textColor && `text-color_${inputConfig.state[state].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : textColorDisabledClass || inputConfig.state[state]?.textColor && `text-color_${inputConfig.state[state].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase()),
105
- "data-test-id": dataTestId || (name ? `${name}Input` : 'input'),
106
- disabled: isDisabled,
107
- id: id,
108
- index: index,
109
- placeholder: placeholder,
110
- ref: ref,
111
- type: type,
112
- value: value,
113
- onBlur: onBlur,
114
- onChange: onChange,
115
- onFocus: onFocus,
116
- onKeyDown: onKeyDown
117
- });
118
- });
119
- Input.propTypes = {
120
- checked: PropTypes.bool,
121
- className: PropTypes.string,
122
- id: PropTypes.string,
123
- isDisabled: PropTypes.bool,
124
- placeholder: PropTypes.string,
125
- type: PropTypes.string,
126
- value: PropTypes.string,
127
- onBlur: PropTypes.func,
128
- onChange: PropTypes.func,
129
- onKeyDown: PropTypes.func
130
- };
131
- Input.defaultProps = {
132
- size: 'm',
133
- type: 'text'
134
- };
135
- Input.__docgenInfo = {
136
- "description": "",
137
- "methods": [],
138
- "displayName": "Input",
139
- "props": {
140
- "size": {
141
- "defaultValue": {
142
- "value": "'m'",
143
- "computed": false
144
- },
145
- "required": false
146
- },
147
- "type": {
148
- "defaultValue": {
149
- "value": "'text'",
150
- "computed": false
151
- },
152
- "description": "",
153
- "type": {
154
- "name": "string"
155
- },
156
- "required": false
157
- },
158
- "checked": {
159
- "description": "",
160
- "type": {
161
- "name": "bool"
162
- },
163
- "required": false
164
- },
165
- "className": {
166
- "description": "",
167
- "type": {
168
- "name": "string"
169
- },
170
- "required": false
171
- },
172
- "id": {
173
- "description": "",
174
- "type": {
175
- "name": "string"
176
- },
177
- "required": false
178
- },
179
- "isDisabled": {
180
- "description": "",
181
- "type": {
182
- "name": "bool"
183
- },
184
- "required": false
185
- },
186
- "placeholder": {
187
- "description": "",
188
- "type": {
189
- "name": "string"
190
- },
191
- "required": false
192
- },
193
- "value": {
194
- "description": "",
195
- "type": {
196
- "name": "string"
197
- },
198
- "required": false
199
- },
200
- "onBlur": {
201
- "description": "",
202
- "type": {
203
- "name": "func"
204
- },
205
- "required": false
206
- },
207
- "onChange": {
208
- "description": "",
209
- "type": {
210
- "name": "func"
211
- },
212
- "required": false
213
- },
214
- "onKeyDown": {
215
- "description": "",
216
- "type": {
217
- "name": "func"
218
- },
219
- "required": false
220
- }
221
- }
222
- };
223
-
224
- export { Input, inputConfig };
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { IInputConfig, IInputProps } from './Input.interface';
3
+ declare const inputMaskConfig: IInputConfig;
4
+ declare const Input: React.ForwardRefExoticComponent<IInputProps & React.RefAttributes<HTMLDivElement>>;
5
+ export { Input, inputMaskConfig };
@@ -0,0 +1,53 @@
1
+ import { TypeStyleAttributes } from '../../hooks/styleAttributes.interface';
2
+ import { borderColorPropsType, borderWidthPropsType, fillPropsType, itemColorPropsType, shapePropsType, sizePropsType, textColorPropsType, textSizePropsType, textWeightPropsType, widthPropsType } from '../../types';
3
+ import { appearanceKeysDefaultType } from '../../types/componentProps/appearanceKeys';
4
+ import { stateKeysDefaultType } from '../../types/componentProps/stateKeys';
5
+ export interface IInputThemeColor {
6
+ borderColor?: borderColorPropsType;
7
+ borderColorDisabled?: borderColorPropsType;
8
+ borderWidth?: borderWidthPropsType;
9
+ borderWidthDisabled?: borderWidthPropsType;
10
+ caret?: itemColorPropsType;
11
+ fill?: fillPropsType;
12
+ fillDisabled?: fillPropsType;
13
+ placeholderTextColor?: textColorPropsType;
14
+ placeholderTextColorDisabled?: textColorPropsType;
15
+ shape?: shapePropsType;
16
+ size?: sizePropsType;
17
+ textColor?: textColorPropsType;
18
+ textSize?: textSizePropsType;
19
+ textWeight?: textWeightPropsType;
20
+ width?: widthPropsType;
21
+ }
22
+ type appearanceKeysType = appearanceKeysDefaultType & {};
23
+ type stateKeysType = stateKeysDefaultType & {};
24
+ export type inputStateType = {
25
+ [key in stateKeysType]?: IInputThemeColor;
26
+ };
27
+ export type inputAppearanceType = {
28
+ [key in appearanceKeysType]?: IInputThemeColor;
29
+ };
30
+ export interface IInputConfig {
31
+ state: inputStateType | undefined;
32
+ setState: (newComponent: inputStateType) => void;
33
+ appearance: inputAppearanceType | undefined;
34
+ setAppearance: (newComponent: inputAppearanceType) => void;
35
+ }
36
+ export interface IInputProps extends IInputThemeColor, TypeStyleAttributes {
37
+ appearance?: appearanceKeysType;
38
+ className?: string;
39
+ dataTestId?: number | string;
40
+ id?: number | string;
41
+ index?: number | string;
42
+ isDisabled?: boolean;
43
+ name?: string;
44
+ placeholder?: string;
45
+ state?: stateKeysType;
46
+ type?: string;
47
+ value?: string;
48
+ onBlur?: () => void;
49
+ onChange?: () => void;
50
+ onFocus?: () => void;
51
+ onKeyDown?: () => void;
52
+ }
53
+ export {};
@@ -0,0 +1 @@
1
+ export { Input, inputMaskConfig } from './Input';
@@ -1,224 +1,139 @@
1
- import React__default from 'react';
2
- import PropTypes from 'prop-types';
1
+ import { j as jsxRuntimeExports } from '../jsx-runtime-C2uP7l8s.js';
2
+ import React__default, { useMemo } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { useDeviceTargetClass } from '../hooks/useDeviceTargetClass.js';
5
5
  import 'lodash/castArray';
6
6
  import 'lodash/camelCase';
7
7
  import '../context/UIContext.js';
8
+ import 'prop-types';
8
9
  import '../hooks/useMediaQueries.js';
9
10
  import 'react-responsive';
10
11
 
11
- const inputMaskConfig = {
12
- state: {},
13
- setState: newComponent => {
14
- inputMaskConfig.state = newComponent;
15
- },
16
- appearance: {},
17
- setAppearance: newComponent => {
18
- inputMaskConfig.appearance = newComponent;
19
- }
12
+ var inputMaskConfig = {
13
+ state: undefined,
14
+ setState: function (newComponent) {
15
+ inputMaskConfig.state = newComponent;
16
+ },
17
+ appearance: undefined,
18
+ setAppearance: function (newComponent) {
19
+ inputMaskConfig.appearance = newComponent;
20
+ },
20
21
  };
21
- const Input = /*#__PURE__*/React__default.forwardRef(function Input(props, ref) {
22
- const {
23
- appearance,
24
- state,
25
- id,
26
- index,
27
- dataTestId,
28
- type,
29
- className,
30
- name,
31
- placeholder,
32
- isDisabled,
33
- value,
34
- onBlur,
35
- onChange,
36
- onFocus,
37
- onKeyDown
38
- } = props;
39
- const fillClass = useDeviceTargetClass(props, {
40
- prefix: 'fill_',
41
- propsKey: 'fill'
42
- });
43
- const fillDisabledClass = useDeviceTargetClass(props, {
44
- prefix: 'fill_disabled_',
45
- propsKey: 'fillDisabled'
46
- });
47
- const sizeClass = useDeviceTargetClass(props, {
48
- prefix: 'input_size_',
49
- propsKey: 'size'
50
- });
51
- const shapeClass = useDeviceTargetClass(props, {
52
- prefix: 'input_shape_',
53
- propsKey: 'shape'
54
- });
55
- const textSizeClass = useDeviceTargetClass(props, {
56
- prefix: 'text_size_',
57
- propsKey: 'textSize'
58
- });
59
- const textColorClass = useDeviceTargetClass(props, {
60
- prefix: 'text-color_',
61
- propsKey: 'textColor'
62
- });
63
- const textColorDisabledClass = useDeviceTargetClass(props, {
64
- prefix: 'text-color_disabled_',
65
- propsKey: 'textColor'
66
- });
67
- const caretClass = useDeviceTargetClass(props, {
68
- prefix: 'caret-color_',
69
- propsKey: 'caret'
70
- });
71
- const placeholderTextColorClass = useDeviceTargetClass(props, {
72
- prefix: 'placeholder-text-color_',
73
- propsKey: 'placeholderTextColor'
74
- });
75
- const placeholderTextColorDisabledClass = useDeviceTargetClass(props, {
76
- prefix: 'placeholder-text-color_disabled_',
77
- propsKey: 'placeholderTextColorDisabled'
78
- });
79
- const weightClass = useDeviceTargetClass(props, {
80
- prefix: 'text-weight_',
81
- propsKey: 'textWeight'
82
- });
83
- const borderWidthClass = useDeviceTargetClass(props, {
84
- prefix: 'border-width_',
85
- propsKey: 'borderWidth'
86
- });
87
- const borderWidthDisabledClass = useDeviceTargetClass(props, {
88
- prefix: 'border-width_disabled_',
89
- propsKey: 'borderWidthDisabled'
90
- });
91
- const borderColorClass = useDeviceTargetClass(props, {
92
- prefix: 'border-color_',
93
- propsKey: 'borderColor'
94
- });
95
- const borderColorDisabledClass = useDeviceTargetClass(props, {
96
- prefix: 'border-color_disabled_',
97
- propsKey: 'borderColorDisabled'
98
- });
99
- const widthClass = useDeviceTargetClass(props, {
100
- prefix: 'width_',
101
- propsKey: 'width'
102
- });
103
- return /*#__PURE__*/React__default.createElement("input", {
104
- className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, !isDisabled ? fillClass : fillDisabledClass, shapeClass || inputMaskConfig.appearance[appearance]?.shape && `input_shape_${inputMaskConfig.appearance[appearance].shape}`.replace(/([A-Z])/g, '-$1').toLowerCase(), textSizeClass || inputMaskConfig.appearance[appearance]?.textSize && `text_size_${inputMaskConfig.appearance[appearance].textSize}`.replace(/([A-Z])/g, '-$1').toLowerCase(), weightClass, widthClass, !isDisabled ? borderWidthClass : borderWidthDisabledClass, sizeClass || inputMaskConfig.appearance[appearance]?.size && `input_size_${inputMaskConfig.appearance[appearance].size}`.replace(/([A-Z])/g, '-$1').toLowerCase(), borderColorClass || inputMaskConfig.appearance[appearance]?.borderColor && `border-color_${inputMaskConfig.appearance[appearance].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), placeholderTextColorClass || inputMaskConfig.appearance[appearance]?.placeholderTextColor && `placeholder-text-color_${inputMaskConfig.appearance[appearance].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), textColorClass || inputMaskConfig.appearance[appearance]?.textColor && `text-color_${inputMaskConfig.appearance[appearance].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? borderColorClass || inputMaskConfig.state[state]?.borderColor && `border-color_${inputMaskConfig.state[state].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : borderColorDisabledClass || inputMaskConfig.state[state]?.borderColor && `border-color_disabled_${inputMaskConfig.state[state].borderColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? placeholderTextColorClass || inputMaskConfig.state[state]?.placeholderTextColor && `placeholder-text-color_${inputMaskConfig.state[state].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : placeholderTextColorDisabledClass || inputMaskConfig.state[state]?.placeholderTextColor && `placeholder-text-color_${inputMaskConfig.state[state].placeholderTextColor}`.replace(/([A-Z])/g, '-$1').toLowerCase(), !isDisabled ? textColorClass || inputMaskConfig.state[state]?.textColor && `text-color_${inputMaskConfig.state[state].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase() : textColorDisabledClass || inputMaskConfig.state[state]?.textColor && `text-color_${inputMaskConfig.state[state].textColor}`.replace(/([A-Z])/g, '-$1').toLowerCase()),
105
- type: type,
106
- id: id,
107
- index: index,
108
- ref: ref,
109
- disabled: isDisabled,
110
- placeholder: placeholder,
111
- "data-test-id": dataTestId || (name ? `${name}Input` : 'input'),
112
- value: value,
113
- onBlur: onBlur,
114
- onChange: onChange,
115
- onFocus: onFocus,
116
- onKeyDown: onKeyDown
117
- });
22
+ var Input = React__default.forwardRef(function Input(props, ref) {
23
+ var appearance = props.appearance, className = props.className, dataTestId = props.dataTestId, id = props.id, index = props.index, isDisabled = props.isDisabled, name = props.name, placeholder = props.placeholder, state = props.state, type = props.type, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
24
+ var fillClass = useDeviceTargetClass(props, {
25
+ prefix: 'fill_',
26
+ propsKey: 'fill',
27
+ });
28
+ var fillDisabledClass = useDeviceTargetClass(props, {
29
+ prefix: 'fill_disabled_',
30
+ propsKey: 'fillDisabled',
31
+ });
32
+ var sizeClass = useDeviceTargetClass(props, {
33
+ prefix: 'input_size_',
34
+ propsKey: 'size',
35
+ });
36
+ var shapeClass = useDeviceTargetClass(props, {
37
+ prefix: 'input_shape_',
38
+ propsKey: 'shape',
39
+ });
40
+ var textSizeClass = useDeviceTargetClass(props, {
41
+ prefix: 'text_size_',
42
+ propsKey: 'textSize',
43
+ });
44
+ var textColorClass = useDeviceTargetClass(props, {
45
+ prefix: 'text-color_',
46
+ propsKey: 'textColor',
47
+ });
48
+ var textColorDisabledClass = useDeviceTargetClass(props, {
49
+ prefix: 'text-color_disabled_',
50
+ propsKey: 'textColor',
51
+ });
52
+ var caretClass = useDeviceTargetClass(props, {
53
+ prefix: 'caret-color_',
54
+ propsKey: 'caret',
55
+ });
56
+ var placeholderTextColorClass = useDeviceTargetClass(props, {
57
+ prefix: 'placeholder-text-color_',
58
+ propsKey: 'placeholderTextColor',
59
+ });
60
+ var placeholderTextColorDisabledClass = useDeviceTargetClass(props, {
61
+ prefix: 'placeholder-text-color_disabled_',
62
+ propsKey: 'placeholderTextColorDisabled',
63
+ });
64
+ var weightClass = useDeviceTargetClass(props, {
65
+ prefix: 'text-weight_',
66
+ propsKey: 'textWeight',
67
+ });
68
+ var borderWidthClass = useDeviceTargetClass(props, {
69
+ prefix: 'border-width_',
70
+ propsKey: 'borderWidth',
71
+ });
72
+ var borderWidthDisabledClass = useDeviceTargetClass(props, {
73
+ prefix: 'border-width_disabled_',
74
+ propsKey: 'borderWidthDisabled',
75
+ });
76
+ var borderColorClass = useDeviceTargetClass(props, {
77
+ prefix: 'border-color_',
78
+ propsKey: 'borderColor',
79
+ });
80
+ var borderColorDisabledClass = useDeviceTargetClass(props, {
81
+ prefix: 'border-color_disabled_',
82
+ propsKey: 'borderColorDisabled',
83
+ });
84
+ var widthClass = useDeviceTargetClass(props, {
85
+ prefix: 'width_',
86
+ propsKey: 'width',
87
+ });
88
+ var appearanceConfig = useMemo(function () { return appearance && inputMaskConfig.appearance && inputMaskConfig.appearance[appearance]; }, [appearance, inputMaskConfig]);
89
+ var stateConfig = useMemo(function () { return state && inputMaskConfig.state && inputMaskConfig.state[state]; }, [state, inputMaskConfig]);
90
+ return (jsxRuntimeExports.jsx("input", { className: clsx(className, 'input', type === 'number' && 'input_type_number', (textSizeClass || textColorClass || weightClass) && 'text', caretClass, !isDisabled ? fillClass : fillDisabledClass, shapeClass ||
91
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.shape) &&
92
+ "input_shape_".concat(appearanceConfig.shape).replace(/([A-Z])/g, '-$1').toLowerCase()), textSizeClass ||
93
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize) &&
94
+ "text_size_".concat(appearanceConfig.textSize).replace(/([A-Z])/g, '-$1').toLowerCase()), weightClass, widthClass, !isDisabled ? borderWidthClass : borderWidthDisabledClass, sizeClass ||
95
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.size) &&
96
+ "input_size_".concat(appearanceConfig.size).replace(/([A-Z])/g, '-$1').toLowerCase()), borderColorClass ||
97
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.borderColor) &&
98
+ "border-color_".concat(appearanceConfig.borderColor)
99
+ .replace(/([A-Z])/g, '-$1')
100
+ .toLowerCase()), placeholderTextColorClass ||
101
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.placeholderTextColor) &&
102
+ "placeholder-text-color_".concat(appearanceConfig.placeholderTextColor)
103
+ .replace(/([A-Z])/g, '-$1')
104
+ .toLowerCase()), textColorClass ||
105
+ ((appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor) &&
106
+ "text-color_".concat(appearanceConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase()), !isDisabled
107
+ ? borderColorClass ||
108
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.borderColor) &&
109
+ "border-color_".concat(stateConfig.borderColor).replace(/([A-Z])/g, '-$1').toLowerCase())
110
+ : borderColorDisabledClass ||
111
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.borderColor) &&
112
+ "border-color_disabled_".concat(stateConfig.borderColor)
113
+ .replace(/([A-Z])/g, '-$1')
114
+ .toLowerCase()), !isDisabled
115
+ ? placeholderTextColorClass ||
116
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.placeholderTextColor) &&
117
+ "placeholder-text-color_".concat(stateConfig.placeholderTextColor)
118
+ .replace(/([A-Z])/g, '-$1')
119
+ .toLowerCase())
120
+ : placeholderTextColorDisabledClass ||
121
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.placeholderTextColor) &&
122
+ "placeholder-text-color_".concat(stateConfig.placeholderTextColor)
123
+ .replace(/([A-Z])/g, '-$1')
124
+ .toLowerCase()), !isDisabled
125
+ ? textColorClass ||
126
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.textColor) &&
127
+ "text-color_".concat(stateConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase())
128
+ : textColorDisabledClass ||
129
+ ((stateConfig === null || stateConfig === void 0 ? void 0 : stateConfig.textColor) &&
130
+ "text-color_".concat(stateConfig.textColor).replace(/([A-Z])/g, '-$1').toLowerCase())), type: type, id: String(id), index: index,
131
+ // @ts-expect-error
132
+ ref: ref, disabled: isDisabled, placeholder: placeholder, "data-test-id": dataTestId || (name ? "".concat(name, "Input") : 'input'), value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }));
118
133
  });
119
- Input.propTypes = {
120
- id: PropTypes.string,
121
- className: PropTypes.string,
122
- placeholder: PropTypes.string,
123
- value: PropTypes.string,
124
- checked: PropTypes.bool,
125
- isDisabled: PropTypes.bool,
126
- onBlur: PropTypes.func,
127
- onChange: PropTypes.func,
128
- onKeyDown: PropTypes.func,
129
- type: PropTypes.string
130
- };
131
134
  Input.defaultProps = {
132
- size: 'm',
133
- type: 'text'
134
- };
135
- Input.__docgenInfo = {
136
- "description": "",
137
- "methods": [],
138
- "displayName": "Input",
139
- "props": {
140
- "size": {
141
- "defaultValue": {
142
- "value": "'m'",
143
- "computed": false
144
- },
145
- "required": false
146
- },
147
- "type": {
148
- "defaultValue": {
149
- "value": "'text'",
150
- "computed": false
151
- },
152
- "description": "",
153
- "type": {
154
- "name": "string"
155
- },
156
- "required": false
157
- },
158
- "id": {
159
- "description": "",
160
- "type": {
161
- "name": "string"
162
- },
163
- "required": false
164
- },
165
- "className": {
166
- "description": "",
167
- "type": {
168
- "name": "string"
169
- },
170
- "required": false
171
- },
172
- "placeholder": {
173
- "description": "",
174
- "type": {
175
- "name": "string"
176
- },
177
- "required": false
178
- },
179
- "value": {
180
- "description": "",
181
- "type": {
182
- "name": "string"
183
- },
184
- "required": false
185
- },
186
- "checked": {
187
- "description": "",
188
- "type": {
189
- "name": "bool"
190
- },
191
- "required": false
192
- },
193
- "isDisabled": {
194
- "description": "",
195
- "type": {
196
- "name": "bool"
197
- },
198
- "required": false
199
- },
200
- "onBlur": {
201
- "description": "",
202
- "type": {
203
- "name": "func"
204
- },
205
- "required": false
206
- },
207
- "onChange": {
208
- "description": "",
209
- "type": {
210
- "name": "func"
211
- },
212
- "required": false
213
- },
214
- "onKeyDown": {
215
- "description": "",
216
- "type": {
217
- "name": "func"
218
- },
219
- "required": false
220
- }
221
- }
135
+ size: 'm',
136
+ type: 'text',
222
137
  };
223
138
 
224
139
  export { Input, inputMaskConfig };
@@ -0,0 +1,10 @@
1
+ import { IInputPasswordConfig, IInputPasswordProps } from './InputPassword.interface';
2
+ declare const inputPasswordConfig: IInputPasswordConfig;
3
+ declare function InputPassword(props: IInputPasswordProps): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace InputPassword {
5
+ var defaultProps: {
6
+ size: string;
7
+ type: string;
8
+ };
9
+ }
10
+ export { InputPassword, inputPasswordConfig };