@skbkontur/react-ui 0.0.0-30619a873c → 0.0.0-32550fb571

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 (935) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  3. package/cjs/components/Button/Button.d.ts +0 -1
  4. package/cjs/components/Button/Button.js +2 -2
  5. package/cjs/components/Button/Button.js.map +1 -1
  6. package/cjs/components/Button/__creevey__/Button.creevey.mts +251 -0
  7. package/cjs/components/Calendar/DayCellView.styles.js +1 -17
  8. package/cjs/components/Calendar/DayCellView.styles.js.map +1 -1
  9. package/cjs/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  10. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  11. package/cjs/components/ComboBox/ComboBox.d.ts +12 -3
  12. package/cjs/components/ComboBox/ComboBox.js +18 -2
  13. package/cjs/components/ComboBox/ComboBox.js.map +1 -1
  14. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  15. package/cjs/components/CurrencyInput/CurrencyInput.d.ts +1 -1
  16. package/cjs/components/CurrencyInput/CurrencyInput.js.map +1 -1
  17. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  18. package/cjs/components/DateInput/DateInput.d.ts +2 -2
  19. package/cjs/components/DateInput/DateInput.js +7 -1
  20. package/cjs/components/DateInput/DateInput.js.map +1 -1
  21. package/cjs/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  22. package/cjs/components/DatePicker/DatePicker.d.ts +10 -1
  23. package/cjs/components/DatePicker/DatePicker.js +37 -4
  24. package/cjs/components/DatePicker/DatePicker.js.map +1 -1
  25. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  26. package/cjs/components/Dropdown/Dropdown.d.ts +4 -2
  27. package/cjs/components/Dropdown/Dropdown.js +12 -8
  28. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  29. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  30. package/cjs/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  31. package/cjs/components/DropdownMenu/DropdownMenu.js +5 -1
  32. package/cjs/components/DropdownMenu/DropdownMenu.js.map +1 -1
  33. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  34. package/cjs/components/FxInput/FxInput.d.ts +2 -0
  35. package/cjs/components/FxInput/FxInput.js +7 -1
  36. package/cjs/components/FxInput/FxInput.js.map +1 -1
  37. package/cjs/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
  38. package/cjs/components/FxInput/FxInputRestoreBtn.js +5 -1
  39. package/cjs/components/FxInput/FxInputRestoreBtn.js.map +1 -1
  40. package/cjs/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  41. package/cjs/components/GlobalLoader/GlobalLoader.d.ts +1 -0
  42. package/cjs/components/GlobalLoader/GlobalLoader.js +6 -2
  43. package/cjs/components/GlobalLoader/GlobalLoader.js.map +1 -1
  44. package/cjs/components/Group/Group.js +24 -7
  45. package/cjs/components/Group/Group.js.map +1 -1
  46. package/cjs/components/Group/__creevey__/Group.creevey.mts +19 -0
  47. package/cjs/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  48. package/cjs/components/Input/Input.d.ts +23 -2
  49. package/cjs/components/Input/Input.js +135 -19
  50. package/cjs/components/Input/Input.js.map +1 -1
  51. package/cjs/components/Input/__creevey__/Input.creevey.mts +239 -0
  52. package/cjs/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  53. package/cjs/components/Link/Link.js +26 -9
  54. package/cjs/components/Link/Link.js.map +1 -1
  55. package/cjs/components/Link/Link.styles.d.ts +4 -4
  56. package/cjs/components/Link/Link.styles.js +4 -5
  57. package/cjs/components/Link/Link.styles.js.map +1 -1
  58. package/cjs/components/Link/__creevey__/Link.creevey.mts +162 -0
  59. package/cjs/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  60. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js +78 -70
  61. package/cjs/components/MaskedInput/ColorableInputElement/ColorableInputElement.js.map +1 -1
  62. package/cjs/components/MaskedInput/MaskedInput.d.ts +1 -1
  63. package/cjs/components/MaskedInput/MaskedInput.js +3 -0
  64. package/cjs/components/MaskedInput/MaskedInput.js.map +1 -1
  65. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  66. package/cjs/components/MenuItem/MenuItem.js +23 -23
  67. package/cjs/components/MenuItem/MenuItem.js.map +1 -1
  68. package/cjs/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
  69. package/cjs/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
  70. package/cjs/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
  71. package/cjs/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  72. package/cjs/components/Modal/Modal.js +7 -10
  73. package/cjs/components/Modal/Modal.js.map +1 -1
  74. package/cjs/components/Modal/Modal.styles.d.ts +4 -1
  75. package/cjs/components/Modal/Modal.styles.js +68 -31
  76. package/cjs/components/Modal/Modal.styles.js.map +1 -1
  77. package/cjs/components/Modal/ModalClose.js +7 -2
  78. package/cjs/components/Modal/ModalClose.js.map +1 -1
  79. package/cjs/components/Modal/ModalContext.d.ts +3 -3
  80. package/cjs/components/Modal/ModalContext.js.map +1 -1
  81. package/cjs/components/Modal/ModalFooter.js +2 -2
  82. package/cjs/components/Modal/ModalFooter.js.map +1 -1
  83. package/cjs/components/Modal/ModalHeader.js +1 -1
  84. package/cjs/components/Modal/ModalHeader.js.map +1 -1
  85. package/cjs/components/Modal/__creevey__/Modal.creevey.mts +295 -0
  86. package/cjs/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  87. package/cjs/components/PasswordInput/PasswordInput.d.ts +7 -3
  88. package/cjs/components/PasswordInput/PasswordInput.js +35 -9
  89. package/cjs/components/PasswordInput/PasswordInput.js.map +1 -1
  90. package/cjs/components/PasswordInput/PasswordInput.styles.js +2 -1
  91. package/cjs/components/PasswordInput/PasswordInput.styles.js.map +1 -1
  92. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
  93. package/cjs/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  94. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  95. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  96. package/cjs/components/Select/Select.d.ts +3 -6
  97. package/cjs/components/Select/Select.js +11 -10
  98. package/cjs/components/Select/Select.js.map +1 -1
  99. package/cjs/components/Select/__creevey__/Select.creevey.mts +293 -0
  100. package/cjs/components/Select/tids.d.ts +5 -0
  101. package/cjs/components/Select/tids.js +5 -0
  102. package/cjs/components/Select/tids.js.map +1 -0
  103. package/cjs/components/SidePage/SidePage.d.ts +1 -0
  104. package/cjs/components/SidePage/SidePage.js +12 -1
  105. package/cjs/components/SidePage/SidePage.js.map +1 -1
  106. package/cjs/components/SidePage/SidePage.styles.d.ts +8 -1
  107. package/cjs/components/SidePage/SidePage.styles.js +83 -26
  108. package/cjs/components/SidePage/SidePage.styles.js.map +1 -1
  109. package/cjs/components/SidePage/SidePageCloseButton.d.ts +6 -1
  110. package/cjs/components/SidePage/SidePageCloseButton.js +14 -2
  111. package/cjs/components/SidePage/SidePageCloseButton.js.map +1 -1
  112. package/cjs/components/SidePage/SidePageHeader.d.ts +0 -1
  113. package/cjs/components/SidePage/SidePageHeader.js +11 -7
  114. package/cjs/components/SidePage/SidePageHeader.js.map +1 -1
  115. package/cjs/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
  116. package/cjs/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  117. package/cjs/components/Switcher/Switcher.js +2 -2
  118. package/cjs/components/Switcher/Switcher.js.map +1 -1
  119. package/cjs/components/Switcher/Switcher.styles.d.ts +1 -0
  120. package/cjs/components/Switcher/Switcher.styles.js +20 -1
  121. package/cjs/components/Switcher/Switcher.styles.js.map +1 -1
  122. package/cjs/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  123. package/cjs/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  124. package/cjs/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  125. package/cjs/components/Toast/Toast.d.ts +6 -2
  126. package/cjs/components/Toast/Toast.js +9 -2
  127. package/cjs/components/Toast/Toast.js.map +1 -1
  128. package/cjs/components/Toast/ToastStatic.d.ts +2 -2
  129. package/cjs/components/Toast/ToastStatic.js +15 -5
  130. package/cjs/components/Toast/ToastStatic.js.map +1 -1
  131. package/cjs/components/Toast/ToastView.d.ts +1 -0
  132. package/cjs/components/Toast/ToastView.js +4 -2
  133. package/cjs/components/Toast/ToastView.js.map +1 -1
  134. package/cjs/components/Toast/ToastView.styles.js +4 -4
  135. package/cjs/components/Toast/ToastView.styles.js.map +1 -1
  136. package/cjs/components/Toast/__creevey__/Toast.creevey.mts +77 -0
  137. package/cjs/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  138. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  139. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  140. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  141. package/cjs/index.d.ts +0 -3
  142. package/cjs/index.js +0 -3
  143. package/cjs/index.js.map +1 -1
  144. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
  145. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js +72 -0
  146. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
  147. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
  148. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js +51 -0
  149. package/cjs/internal/ClearCrossIcon/ClearCrossIcon.styles.js.map +1 -0
  150. package/cjs/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
  151. package/cjs/internal/ClearCrossIcon/CrossIcon.js +15 -0
  152. package/cjs/internal/ClearCrossIcon/CrossIcon.js.map +1 -0
  153. package/cjs/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
  154. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  155. package/cjs/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
  156. package/cjs/internal/CustomComboBox/ComboBoxView.js +13 -3
  157. package/cjs/internal/CustomComboBox/ComboBoxView.js.map +1 -1
  158. package/cjs/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
  159. package/cjs/internal/CustomComboBox/CustomComboBox.js +20 -9
  160. package/cjs/internal/CustomComboBox/CustomComboBox.js.map +1 -1
  161. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
  162. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js +13 -1
  163. package/cjs/internal/CustomComboBox/CustomComboBoxReducer.js.map +1 -1
  164. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  165. package/cjs/internal/CustomComboBox/tids.d.ts +3 -0
  166. package/cjs/internal/CustomComboBox/tids.js +3 -0
  167. package/cjs/internal/CustomComboBox/tids.js.map +1 -0
  168. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  169. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  170. package/cjs/internal/InputLikeText/InputLikeText.d.ts +7 -2
  171. package/cjs/internal/InputLikeText/InputLikeText.js +90 -43
  172. package/cjs/internal/InputLikeText/InputLikeText.js.map +1 -1
  173. package/cjs/internal/Menu/Menu.d.ts +2 -1
  174. package/cjs/internal/Menu/Menu.js +4 -2
  175. package/cjs/internal/Menu/Menu.js.map +1 -1
  176. package/cjs/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  177. package/cjs/internal/Popup/Popup.js +4 -6
  178. package/cjs/internal/Popup/Popup.js.map +1 -1
  179. package/cjs/internal/PopupMenu/PopupMenu.d.ts +5 -5
  180. package/cjs/internal/PopupMenu/PopupMenu.js +15 -11
  181. package/cjs/internal/PopupMenu/PopupMenu.js.map +1 -1
  182. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  183. package/cjs/internal/PopupMenu/tids.d.ts +4 -0
  184. package/cjs/internal/PopupMenu/tids.js +4 -0
  185. package/cjs/internal/PopupMenu/tids.js.map +1 -0
  186. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
  187. package/cjs/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
  188. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  189. package/cjs/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  190. package/cjs/internal/ThemeShowcase/VariablesCollector.js +2 -0
  191. package/cjs/internal/ThemeShowcase/VariablesCollector.js.map +1 -1
  192. package/cjs/internal/ZIndex/ZIndex.d.ts +1 -1
  193. package/cjs/internal/ZIndex/ZIndex.js +18 -6
  194. package/cjs/internal/ZIndex/ZIndex.js.map +1 -1
  195. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  196. package/cjs/internal/themes/BasicLightTheme.d.ts +5 -1209
  197. package/cjs/internal/themes/BasicLightTheme.js +2 -2530
  198. package/cjs/internal/themes/BasicLightTheme.js.map +1 -1
  199. package/cjs/internal/themes/BasicTheme.d.ts +1231 -0
  200. package/cjs/internal/themes/BasicTheme.js +2587 -0
  201. package/cjs/internal/themes/BasicTheme.js.map +1 -0
  202. package/cjs/internal/themes/DarkTheme5_0.d.ts +1 -0
  203. package/cjs/internal/themes/DarkTheme5_0.js +562 -0
  204. package/cjs/internal/themes/DarkTheme5_0.js.map +1 -0
  205. package/cjs/internal/themes/DarkTheme5_1.d.ts +1 -0
  206. package/cjs/internal/themes/DarkTheme5_1.js +41 -0
  207. package/cjs/internal/themes/DarkTheme5_1.js.map +1 -0
  208. package/cjs/internal/themes/LightTheme5_0.d.ts +1 -0
  209. package/cjs/internal/themes/LightTheme5_0.js +9 -0
  210. package/cjs/internal/themes/LightTheme5_0.js.map +1 -0
  211. package/cjs/internal/themes/LightTheme5_1.d.ts +1 -0
  212. package/cjs/internal/themes/LightTheme5_1.js +41 -0
  213. package/cjs/internal/themes/LightTheme5_1.js.map +1 -0
  214. package/cjs/lib/ModalStack.d.ts +1 -0
  215. package/cjs/lib/ModalStack.js +6 -4
  216. package/cjs/lib/ModalStack.js.map +1 -1
  217. package/cjs/lib/delay.d.ts +1 -0
  218. package/cjs/lib/delay.js +3 -0
  219. package/cjs/lib/delay.js.map +1 -0
  220. package/cjs/lib/mergeRefs.d.ts +23 -0
  221. package/cjs/lib/mergeRefs.js +76 -0
  222. package/cjs/lib/mergeRefs.js.map +1 -0
  223. package/cjs/lib/theming/Theme.d.ts +4 -3
  224. package/cjs/lib/theming/Theme.js +1 -1
  225. package/cjs/lib/theming/Theme.js.map +1 -1
  226. package/cjs/lib/theming/ThemeContext.d.ts +1 -1
  227. package/cjs/lib/theming/ThemeContext.js +2 -2
  228. package/cjs/lib/theming/ThemeContext.js.map +1 -1
  229. package/cjs/lib/theming/ThemeFactory.d.ts +9 -0
  230. package/cjs/lib/theming/ThemeFactory.js +28 -9
  231. package/cjs/lib/theming/ThemeFactory.js.map +1 -1
  232. package/cjs/lib/theming/ThemeHelpers.d.ts +55 -8
  233. package/cjs/lib/theming/ThemeHelpers.js +94 -22
  234. package/cjs/lib/theming/ThemeHelpers.js.map +1 -1
  235. package/cjs/lib/theming/ThemeVersions.d.ts +25 -0
  236. package/cjs/lib/theming/ThemeVersions.js +58 -0
  237. package/cjs/lib/theming/ThemeVersions.js.map +1 -0
  238. package/cjs/lib/theming/themes/DarkTheme.d.ts +3 -1
  239. package/cjs/lib/theming/themes/DarkTheme.js +6 -4
  240. package/cjs/lib/theming/themes/DarkTheme.js.map +1 -1
  241. package/cjs/lib/theming/themes/LightTheme.d.ts +3 -1
  242. package/cjs/lib/theming/themes/LightTheme.js +6 -4
  243. package/cjs/lib/theming/themes/LightTheme.js.map +1 -1
  244. package/cjs/lib/theming/themes/LightThemeMobile.d.ts +1 -1
  245. package/cjs/lib/theming/useTheme.d.ts +1 -1
  246. package/cjs/lib/typeGuards.d.ts +1 -0
  247. package/cjs/lib/typeGuards.js +6 -0
  248. package/cjs/lib/typeGuards.js.map +1 -0
  249. package/cjs/lib/utils.d.ts +21 -17
  250. package/cjs/lib/utils.js +20 -23
  251. package/cjs/lib/utils.js.map +1 -1
  252. package/components/Autocomplete/__creevey__/Autocomplete.creevey.mts +239 -0
  253. package/components/Button/Button/Button.js +2 -3
  254. package/components/Button/Button/Button.js.map +1 -1
  255. package/components/Button/Button.d.ts +0 -1
  256. package/components/Button/__creevey__/Button.creevey.mts +251 -0
  257. package/components/Calendar/DayCellView.styles/DayCellView.styles.js +1 -1
  258. package/components/Calendar/DayCellView.styles/DayCellView.styles.js.map +1 -1
  259. package/components/Calendar/__creevey__/Calendar.creevey.mts +74 -0
  260. package/components/Checkbox/__creevey__/Checkbox.creevey.mts +243 -0
  261. package/components/ComboBox/ComboBox/ComboBox.js +4 -3
  262. package/components/ComboBox/ComboBox/ComboBox.js.map +1 -1
  263. package/components/ComboBox/ComboBox.d.ts +12 -3
  264. package/components/ComboBox/__creevey__/ComboBox.creevey.mts +541 -0
  265. package/components/CurrencyInput/CurrencyInput/CurrencyInput.js.map +1 -1
  266. package/components/CurrencyInput/CurrencyInput.d.ts +1 -1
  267. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.mts +81 -0
  268. package/components/DateInput/DateInput/DateInput.js +4 -1
  269. package/components/DateInput/DateInput/DateInput.js.map +1 -1
  270. package/components/DateInput/DateInput.d.ts +2 -2
  271. package/components/DateInput/__creevey__/DateInput.creevey.mts +156 -0
  272. package/components/DatePicker/DatePicker/DatePicker.js +29 -5
  273. package/components/DatePicker/DatePicker/DatePicker.js.map +1 -1
  274. package/components/DatePicker/DatePicker.d.ts +10 -1
  275. package/components/DatePicker/__creevey__/DatePicker.creevey.mts +209 -0
  276. package/components/Dropdown/Dropdown/Dropdown.js +12 -11
  277. package/components/Dropdown/Dropdown/Dropdown.js.map +1 -1
  278. package/components/Dropdown/Dropdown.d.ts +4 -2
  279. package/components/Dropdown/__creevey__/Dropdown.creevey.mts +184 -0
  280. package/components/DropdownMenu/DropdownMenu/DropdownMenu.js +1 -0
  281. package/components/DropdownMenu/DropdownMenu/DropdownMenu.js.map +1 -1
  282. package/components/DropdownMenu/DropdownMenu.d.ts +2 -0
  283. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.mts +263 -0
  284. package/components/FxInput/FxInput/FxInput.js +3 -2
  285. package/components/FxInput/FxInput/FxInput.js.map +1 -1
  286. package/components/FxInput/FxInput.d.ts +2 -0
  287. package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js +1 -1
  288. package/components/FxInput/FxInputRestoreBtn/FxInputRestoreBtn.js.map +1 -1
  289. package/components/FxInput/FxInputRestoreBtn.d.ts +2 -0
  290. package/components/FxInput/__creevey__/FxInput.creevey.mts +21 -0
  291. package/components/GlobalLoader/GlobalLoader/GlobalLoader.js +13 -5
  292. package/components/GlobalLoader/GlobalLoader/GlobalLoader.js.map +1 -1
  293. package/components/GlobalLoader/GlobalLoader.d.ts +1 -0
  294. package/components/Group/Group/Group.js +4 -10
  295. package/components/Group/Group/Group.js.map +1 -1
  296. package/components/Group/__creevey__/Group.creevey.mts +19 -0
  297. package/components/Hint/__creevey__/Hint.creevey.mts +68 -0
  298. package/components/Input/Input/Input.js +124 -15
  299. package/components/Input/Input/Input.js.map +1 -1
  300. package/components/Input/Input.d.ts +23 -2
  301. package/components/Input/__creevey__/Input.creevey.mts +239 -0
  302. package/components/Kebab/__creevey__/Kebab.creevey.mts +147 -0
  303. package/components/Link/Link/Link.js +25 -1
  304. package/components/Link/Link/Link.js.map +1 -1
  305. package/components/Link/Link.styles/Link.styles.js +4 -4
  306. package/components/Link/Link.styles/Link.styles.js.map +1 -1
  307. package/components/Link/Link.styles.d.ts +4 -4
  308. package/components/Link/__creevey__/Link.creevey.mts +162 -0
  309. package/components/Loader/__creevey__/Loader.creevey.mts +35 -0
  310. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js +54 -55
  311. package/components/MaskedInput/ColorableInputElement/ColorableInputElement/ColorableInputElement.js.map +1 -1
  312. package/components/MaskedInput/MaskedInput/MaskedInput.js.map +1 -1
  313. package/components/MaskedInput/MaskedInput.d.ts +1 -1
  314. package/components/MaskedInput/__creevey__/MaskedInput.creevey.mts +216 -0
  315. package/components/MenuItem/MenuItem/MenuItem.js +41 -35
  316. package/components/MenuItem/MenuItem/MenuItem.js.map +1 -1
  317. package/components/MiniModal/__docs__/MiniModalBody.mdx +3 -1
  318. package/components/MiniModal/__docs__/MiniModalFooter.mdx +3 -1
  319. package/components/MiniModal/__docs__/MiniModalHeader.mdx +4 -1
  320. package/components/MiniModal/getMiniModalTheme.d.ts +1 -1
  321. package/components/Modal/Modal/Modal.js +4 -16
  322. package/components/Modal/Modal/Modal.js.map +1 -1
  323. package/components/Modal/Modal.styles/Modal.styles.js +40 -31
  324. package/components/Modal/Modal.styles/Modal.styles.js.map +1 -1
  325. package/components/Modal/Modal.styles.d.ts +4 -1
  326. package/components/Modal/ModalClose/ModalClose.js +3 -1
  327. package/components/Modal/ModalClose/ModalClose.js.map +1 -1
  328. package/components/Modal/ModalContext/ModalContext.js.map +1 -1
  329. package/components/Modal/ModalContext.d.ts +3 -3
  330. package/components/Modal/ModalFooter/ModalFooter.js +2 -2
  331. package/components/Modal/ModalFooter/ModalFooter.js.map +1 -1
  332. package/components/Modal/ModalHeader/ModalHeader.js +1 -1
  333. package/components/Modal/ModalHeader/ModalHeader.js.map +1 -1
  334. package/components/Modal/__creevey__/Modal.creevey.mts +295 -0
  335. package/components/Paging/__creevey__/Paging.creevey.mts +97 -0
  336. package/components/PasswordInput/PasswordInput/PasswordInput.js +30 -10
  337. package/components/PasswordInput/PasswordInput/PasswordInput.js.map +1 -1
  338. package/components/PasswordInput/PasswordInput.d.ts +7 -3
  339. package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js +1 -1
  340. package/components/PasswordInput/PasswordInput.styles/PasswordInput.styles.js.map +1 -1
  341. package/components/PasswordInput/__creevey__/PasswordInput.creevey.mts +46 -0
  342. package/components/Radio/__creevey__/Radio.creevey.mts +28 -0
  343. package/components/RadioGroup/__creevey__/RadioGroup.creevey.mts +86 -0
  344. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.mts +247 -0
  345. package/components/Select/Select/Select.js +3 -5
  346. package/components/Select/Select/Select.js.map +1 -1
  347. package/components/Select/Select.d.ts +3 -6
  348. package/components/Select/__creevey__/Select.creevey.mts +293 -0
  349. package/components/Select/tids/package.json +6 -0
  350. package/components/Select/tids/tids.js +5 -0
  351. package/components/Select/tids/tids.js.map +1 -0
  352. package/components/Select/tids.d.ts +5 -0
  353. package/components/SidePage/SidePage/SidePage.js +20 -8
  354. package/components/SidePage/SidePage/SidePage.js.map +1 -1
  355. package/components/SidePage/SidePage.d.ts +1 -0
  356. package/components/SidePage/SidePage.styles/SidePage.styles.js +48 -26
  357. package/components/SidePage/SidePage.styles/SidePage.styles.js.map +1 -1
  358. package/components/SidePage/SidePage.styles.d.ts +8 -1
  359. package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js +6 -2
  360. package/components/SidePage/SidePageCloseButton/SidePageCloseButton.js.map +1 -1
  361. package/components/SidePage/SidePageCloseButton.d.ts +6 -1
  362. package/components/SidePage/SidePageHeader/SidePageHeader.js +13 -5
  363. package/components/SidePage/SidePageHeader/SidePageHeader.js.map +1 -1
  364. package/components/SidePage/SidePageHeader.d.ts +0 -1
  365. package/components/SidePage/__creevey__/SidePage.creevey.mts +421 -0
  366. package/components/Sticky/__creevey__/Sticky.creevey.mts +98 -0
  367. package/components/Switcher/Switcher/Switcher.js +10 -6
  368. package/components/Switcher/Switcher/Switcher.js.map +1 -1
  369. package/components/Switcher/Switcher.styles/Switcher.styles.js +4 -1
  370. package/components/Switcher/Switcher.styles/Switcher.styles.js.map +1 -1
  371. package/components/Switcher/Switcher.styles.d.ts +1 -0
  372. package/components/Switcher/__creevey__/Switcher.creevey.mts +24 -0
  373. package/components/Tabs/__creevey__/Tabs.creevey.mts +239 -0
  374. package/components/Textarea/__creevey__/Textarea.creevey.mts +177 -0
  375. package/components/Toast/Toast/Toast.js +14 -9
  376. package/components/Toast/Toast/Toast.js.map +1 -1
  377. package/components/Toast/Toast.d.ts +6 -2
  378. package/components/Toast/ToastStatic/ToastStatic.js +5 -5
  379. package/components/Toast/ToastStatic/ToastStatic.js.map +1 -1
  380. package/components/Toast/ToastStatic.d.ts +2 -2
  381. package/components/Toast/ToastView/ToastView.js +2 -1
  382. package/components/Toast/ToastView/ToastView.js.map +1 -1
  383. package/components/Toast/ToastView.d.ts +1 -0
  384. package/components/Toast/ToastView.styles/ToastView.styles.js +2 -2
  385. package/components/Toast/ToastView.styles/ToastView.styles.js.map +1 -1
  386. package/components/Toast/__creevey__/Toast.creevey.mts +77 -0
  387. package/components/Toggle/__creevey__/Toggle.creevey.mts +87 -0
  388. package/components/TokenInput/__creevey__/TokenInput.creevey.mts +414 -0
  389. package/components/Tooltip/__creevey__/Tooltip.creevey.mts +533 -0
  390. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.mts +131 -0
  391. package/index.d.ts +0 -3
  392. package/index.js +0 -3
  393. package/index.js.map +1 -1
  394. package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js +63 -0
  395. package/internal/ClearCrossIcon/ClearCrossIcon/ClearCrossIcon.js.map +1 -0
  396. package/internal/ClearCrossIcon/ClearCrossIcon/package.json +6 -0
  397. package/internal/ClearCrossIcon/ClearCrossIcon.d.ts +9 -0
  398. package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js +21 -0
  399. package/internal/ClearCrossIcon/ClearCrossIcon.styles/ClearCrossIcon.styles.js.map +1 -0
  400. package/internal/ClearCrossIcon/ClearCrossIcon.styles/package.json +6 -0
  401. package/internal/ClearCrossIcon/ClearCrossIcon.styles.d.ts +8 -0
  402. package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js +22 -0
  403. package/internal/ClearCrossIcon/CrossIcon/CrossIcon.js.map +1 -0
  404. package/internal/ClearCrossIcon/CrossIcon/package.json +6 -0
  405. package/internal/ClearCrossIcon/CrossIcon.d.ts +3 -0
  406. package/internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.mts +44 -0
  407. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.mts +48 -0
  408. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js +12 -5
  409. package/internal/CustomComboBox/ComboBoxView/ComboBoxView.js.map +1 -1
  410. package/internal/CustomComboBox/ComboBoxView.d.ts +6 -2
  411. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js +17 -5
  412. package/internal/CustomComboBox/CustomComboBox/CustomComboBox.js.map +1 -1
  413. package/internal/CustomComboBox/CustomComboBox.d.ts +7 -5
  414. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js +15 -1
  415. package/internal/CustomComboBox/CustomComboBoxReducer/CustomComboBoxReducer.js.map +1 -1
  416. package/internal/CustomComboBox/CustomComboBoxReducer.d.ts +4 -0
  417. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.mts +30 -0
  418. package/internal/CustomComboBox/tids/package.json +6 -0
  419. package/internal/CustomComboBox/tids/tids.js +3 -0
  420. package/internal/CustomComboBox/tids/tids.js.map +1 -0
  421. package/internal/CustomComboBox/tids.d.ts +3 -0
  422. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.mts +25 -0
  423. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.mts +83 -0
  424. package/internal/InputLikeText/InputLikeText/InputLikeText.js +65 -9
  425. package/internal/InputLikeText/InputLikeText/InputLikeText.js.map +1 -1
  426. package/internal/InputLikeText/InputLikeText.d.ts +7 -2
  427. package/internal/Menu/Menu/Menu.js +6 -3
  428. package/internal/Menu/Menu/Menu.js.map +1 -1
  429. package/internal/Menu/Menu.d.ts +2 -1
  430. package/internal/Menu/__creevey__/Menu.creevey.mts +90 -0
  431. package/internal/Popup/Popup/Popup.js +15 -20
  432. package/internal/Popup/Popup/Popup.js.map +1 -1
  433. package/internal/PopupMenu/PopupMenu/PopupMenu.js +4 -5
  434. package/internal/PopupMenu/PopupMenu/PopupMenu.js.map +1 -1
  435. package/internal/PopupMenu/PopupMenu.d.ts +5 -5
  436. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.mts +37 -0
  437. package/internal/PopupMenu/tids/package.json +6 -0
  438. package/internal/PopupMenu/tids/tids.js +4 -0
  439. package/internal/PopupMenu/tids/tids.js.map +1 -0
  440. package/internal/PopupMenu/tids.d.ts +4 -0
  441. package/internal/ThemePlayground/__creevey__/Theme5_0.creevey.mts +36 -0
  442. package/internal/ThemePlayground/__creevey__/Theme5_0.stories.d.ts +4 -0
  443. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.mts +68 -0
  444. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js +2 -0
  445. package/internal/ThemeShowcase/VariablesCollector/VariablesCollector.js.map +1 -1
  446. package/internal/ThemeShowcase/VariablesCollector.d.ts +1 -1
  447. package/internal/ZIndex/ZIndex/ZIndex.js +12 -14
  448. package/internal/ZIndex/ZIndex/ZIndex.js.map +1 -1
  449. package/internal/ZIndex/ZIndex.d.ts +1 -1
  450. package/internal/ZIndex/__creevey__/ZIndex.creevey.mts +228 -0
  451. package/internal/themes/BasicLightTheme/BasicLightTheme.js +5 -3351
  452. package/internal/themes/BasicLightTheme/BasicLightTheme.js.map +1 -1
  453. package/internal/themes/BasicLightTheme.d.ts +5 -1209
  454. package/internal/themes/BasicTheme/BasicTheme.js +3432 -0
  455. package/internal/themes/BasicTheme/BasicTheme.js.map +1 -0
  456. package/internal/themes/BasicTheme/package.json +6 -0
  457. package/internal/themes/BasicTheme.d.ts +1231 -0
  458. package/internal/themes/DarkTheme5_0/DarkTheme5_0.js +409 -0
  459. package/internal/themes/DarkTheme5_0/DarkTheme5_0.js.map +1 -0
  460. package/internal/themes/DarkTheme5_0/package.json +6 -0
  461. package/internal/themes/DarkTheme5_0.d.ts +1 -0
  462. package/internal/themes/DarkTheme5_1/DarkTheme5_1.js +52 -0
  463. package/internal/themes/DarkTheme5_1/DarkTheme5_1.js.map +1 -0
  464. package/internal/themes/DarkTheme5_1/package.json +6 -0
  465. package/internal/themes/DarkTheme5_1.d.ts +1 -0
  466. package/internal/themes/LightTheme5_0/LightTheme5_0.js +14 -0
  467. package/internal/themes/LightTheme5_0/LightTheme5_0.js.map +1 -0
  468. package/internal/themes/LightTheme5_0/package.json +6 -0
  469. package/internal/themes/LightTheme5_0.d.ts +1 -0
  470. package/internal/themes/LightTheme5_1/LightTheme5_1.js +52 -0
  471. package/internal/themes/LightTheme5_1/LightTheme5_1.js.map +1 -0
  472. package/internal/themes/LightTheme5_1/package.json +6 -0
  473. package/internal/themes/LightTheme5_1.d.ts +1 -0
  474. package/lib/ModalStack/ModalStack.js +8 -8
  475. package/lib/ModalStack/ModalStack.js.map +1 -1
  476. package/lib/ModalStack.d.ts +1 -0
  477. package/lib/delay/delay.js +6 -0
  478. package/lib/delay/delay.js.map +1 -0
  479. package/lib/delay/package.json +6 -0
  480. package/lib/delay.d.ts +1 -0
  481. package/lib/mergeRefs/mergeRefs.js +68 -0
  482. package/lib/mergeRefs/mergeRefs.js.map +1 -0
  483. package/lib/mergeRefs/package.json +6 -0
  484. package/lib/mergeRefs.d.ts +23 -0
  485. package/lib/theming/Theme/Theme.js +2 -1
  486. package/lib/theming/Theme/Theme.js.map +1 -1
  487. package/lib/theming/Theme.d.ts +4 -3
  488. package/lib/theming/ThemeContext/ThemeContext.js +2 -2
  489. package/lib/theming/ThemeContext/ThemeContext.js.map +1 -1
  490. package/lib/theming/ThemeContext.d.ts +1 -1
  491. package/lib/theming/ThemeFactory/ThemeFactory.js +21 -7
  492. package/lib/theming/ThemeFactory/ThemeFactory.js.map +1 -1
  493. package/lib/theming/ThemeFactory.d.ts +9 -0
  494. package/lib/theming/ThemeHelpers/ThemeHelpers.js +85 -18
  495. package/lib/theming/ThemeHelpers/ThemeHelpers.js.map +1 -1
  496. package/lib/theming/ThemeHelpers.d.ts +55 -8
  497. package/lib/theming/ThemeVersions/ThemeVersions.js +50 -0
  498. package/lib/theming/ThemeVersions/ThemeVersions.js.map +1 -0
  499. package/lib/theming/ThemeVersions/package.json +6 -0
  500. package/lib/theming/ThemeVersions.d.ts +25 -0
  501. package/lib/theming/themes/DarkTheme/DarkTheme.js +5 -4
  502. package/lib/theming/themes/DarkTheme/DarkTheme.js.map +1 -1
  503. package/lib/theming/themes/DarkTheme.d.ts +3 -1
  504. package/lib/theming/themes/LightTheme/LightTheme.js +5 -4
  505. package/lib/theming/themes/LightTheme/LightTheme.js.map +1 -1
  506. package/lib/theming/themes/LightTheme.d.ts +3 -1
  507. package/lib/theming/themes/LightThemeMobile.d.ts +1 -1
  508. package/lib/theming/useTheme.d.ts +1 -1
  509. package/lib/typeGuards/package.json +6 -0
  510. package/lib/typeGuards/typeGuards.js +5 -0
  511. package/lib/typeGuards/typeGuards.js.map +1 -0
  512. package/lib/typeGuards.d.ts +1 -0
  513. package/lib/utils/utils.js +13 -21
  514. package/lib/utils/utils.js.map +1 -1
  515. package/lib/utils.d.ts +21 -17
  516. package/package.json +7 -6
  517. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js +0 -239
  518. package/cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.js.map +0 -1
  519. package/cjs/components/Button/__creevey__/Button.creevey.js +0 -250
  520. package/cjs/components/Button/__creevey__/Button.creevey.js.map +0 -1
  521. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js +0 -74
  522. package/cjs/components/Calendar/__creevey__/Calendar.creevey.js.map +0 -1
  523. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js +0 -242
  524. package/cjs/components/Checkbox/__creevey__/Checkbox.creevey.js.map +0 -1
  525. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js +0 -540
  526. package/cjs/components/ComboBox/__creevey__/ComboBox.creevey.js.map +0 -1
  527. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js +0 -81
  528. package/cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.js.map +0 -1
  529. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js +0 -155
  530. package/cjs/components/DateInput/__creevey__/DateInput.creevey.js.map +0 -1
  531. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js +0 -209
  532. package/cjs/components/DatePicker/__creevey__/DatePicker.creevey.js.map +0 -1
  533. package/cjs/components/DateRangePicker/DateRangePicker.d.ts +0 -27
  534. package/cjs/components/DateRangePicker/DateRangePicker.js +0 -481
  535. package/cjs/components/DateRangePicker/DateRangePicker.js.map +0 -1
  536. package/cjs/components/DateRangePicker/DateRangePicker.md +0 -298
  537. package/cjs/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
  538. package/cjs/components/DateRangePicker/DateRangePicker.styles.js +0 -42
  539. package/cjs/components/DateRangePicker/DateRangePicker.styles.js.map +0 -1
  540. package/cjs/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
  541. package/cjs/components/DateRangePicker/DateRangePickerContext.js +0 -33
  542. package/cjs/components/DateRangePicker/DateRangePickerContext.js.map +0 -1
  543. package/cjs/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
  544. package/cjs/components/DateRangePicker/DateRangePickerField.js +0 -98
  545. package/cjs/components/DateRangePicker/DateRangePickerField.js.map +0 -1
  546. package/cjs/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
  547. package/cjs/components/DateRangePicker/DateRangePickerSeparator.js +0 -3
  548. package/cjs/components/DateRangePicker/DateRangePickerSeparator.js.map +0 -1
  549. package/cjs/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
  550. package/cjs/components/DateRangePicker/DateRangePickerTheme.js +0 -30
  551. package/cjs/components/DateRangePicker/DateRangePickerTheme.js.map +0 -1
  552. package/cjs/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
  553. package/cjs/components/DateRangePicker/MobileDateRangePicker.js +0 -59
  554. package/cjs/components/DateRangePicker/MobileDateRangePicker.js.map +0 -1
  555. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
  556. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js +0 -19
  557. package/cjs/components/DateRangePicker/MobileDateRangePicker.styles.js.map +0 -1
  558. package/cjs/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
  559. package/cjs/components/DateRangePicker/index.d.ts +0 -1
  560. package/cjs/components/DateRangePicker/index.js +0 -1
  561. package/cjs/components/DateRangePicker/index.js.map +0 -1
  562. package/cjs/components/DateRangePicker/locale/index.d.ts +0 -4
  563. package/cjs/components/DateRangePicker/locale/index.js +0 -12
  564. package/cjs/components/DateRangePicker/locale/index.js.map +0 -1
  565. package/cjs/components/DateRangePicker/locale/locales/en.d.ts +0 -2
  566. package/cjs/components/DateRangePicker/locale/locales/en.js +0 -7
  567. package/cjs/components/DateRangePicker/locale/locales/en.js.map +0 -1
  568. package/cjs/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
  569. package/cjs/components/DateRangePicker/locale/locales/ru.js +0 -7
  570. package/cjs/components/DateRangePicker/locale/locales/ru.js.map +0 -1
  571. package/cjs/components/DateRangePicker/locale/types.d.ts +0 -5
  572. package/cjs/components/DateRangePicker/locale/types.js +0 -1
  573. package/cjs/components/DateRangePicker/locale/types.js.map +0 -1
  574. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js +0 -184
  575. package/cjs/components/Dropdown/__creevey__/Dropdown.creevey.js.map +0 -1
  576. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js +0 -262
  577. package/cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.js.map +0 -1
  578. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js +0 -21
  579. package/cjs/components/FxInput/__creevey__/FxInput.creevey.js.map +0 -1
  580. package/cjs/components/Group/__creevey__/Group.creevey.js +0 -19
  581. package/cjs/components/Group/__creevey__/Group.creevey.js.map +0 -1
  582. package/cjs/components/Hint/__creevey__/Hint.creevey.js +0 -68
  583. package/cjs/components/Hint/__creevey__/Hint.creevey.js.map +0 -1
  584. package/cjs/components/Input/__creevey__/Input.creevey.js +0 -239
  585. package/cjs/components/Input/__creevey__/Input.creevey.js.map +0 -1
  586. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js +0 -146
  587. package/cjs/components/Kebab/__creevey__/Kebab.creevey.js.map +0 -1
  588. package/cjs/components/Link/__creevey__/Link.creevey.js +0 -161
  589. package/cjs/components/Link/__creevey__/Link.creevey.js.map +0 -1
  590. package/cjs/components/Loader/__creevey__/Loader.creevey.js +0 -34
  591. package/cjs/components/Loader/__creevey__/Loader.creevey.js.map +0 -1
  592. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js +0 -219
  593. package/cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.js.map +0 -1
  594. package/cjs/components/Modal/__creevey__/Modal.creevey.js +0 -258
  595. package/cjs/components/Modal/__creevey__/Modal.creevey.js.map +0 -1
  596. package/cjs/components/Paging/__creevey__/Paging.creevey.js +0 -97
  597. package/cjs/components/Paging/__creevey__/Paging.creevey.js.map +0 -1
  598. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js +0 -38
  599. package/cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.js.map +0 -1
  600. package/cjs/components/Radio/__creevey__/Radio.creevey.js +0 -27
  601. package/cjs/components/Radio/__creevey__/Radio.creevey.js.map +0 -1
  602. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js +0 -85
  603. package/cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.js.map +0 -1
  604. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js +0 -247
  605. package/cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.js.map +0 -1
  606. package/cjs/components/Select/__creevey__/Select.creevey.js +0 -284
  607. package/cjs/components/Select/__creevey__/Select.creevey.js.map +0 -1
  608. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js +0 -313
  609. package/cjs/components/SidePage/__creevey__/SidePage.creevey.js.map +0 -1
  610. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js +0 -98
  611. package/cjs/components/Sticky/__creevey__/Sticky.creevey.js.map +0 -1
  612. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js +0 -24
  613. package/cjs/components/Switcher/__creevey__/Switcher.creevey.js.map +0 -1
  614. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js +0 -238
  615. package/cjs/components/Tabs/__creevey__/Tabs.creevey.js.map +0 -1
  616. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js +0 -176
  617. package/cjs/components/Textarea/__creevey__/Textarea.creevey.js.map +0 -1
  618. package/cjs/components/Toast/__creevey__/Toast.creevey.js +0 -54
  619. package/cjs/components/Toast/__creevey__/Toast.creevey.js.map +0 -1
  620. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js +0 -87
  621. package/cjs/components/Toggle/__creevey__/Toggle.creevey.js.map +0 -1
  622. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js +0 -413
  623. package/cjs/components/TokenInput/__creevey__/TokenInput.creevey.js.map +0 -1
  624. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js +0 -534
  625. package/cjs/components/Tooltip/__creevey__/Tooltip.creevey.js.map +0 -1
  626. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js +0 -130
  627. package/cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.js.map +0 -1
  628. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js +0 -47
  629. package/cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.js.map +0 -1
  630. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js +0 -30
  631. package/cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.js.map +0 -1
  632. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js +0 -25
  633. package/cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.js.map +0 -1
  634. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js +0 -83
  635. package/cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.js.map +0 -1
  636. package/cjs/internal/Menu/__creevey__/Menu.creevey.js +0 -90
  637. package/cjs/internal/Menu/__creevey__/Menu.creevey.js.map +0 -1
  638. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js +0 -37
  639. package/cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.js.map +0 -1
  640. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js +0 -68
  641. package/cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.js.map +0 -1
  642. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js +0 -228
  643. package/cjs/internal/ZIndex/__creevey__/ZIndex.creevey.js.map +0 -1
  644. package/cjs/internal/themes/BasicDarkTheme.d.ts +0 -293
  645. package/cjs/internal/themes/BasicDarkTheme.js +0 -607
  646. package/cjs/internal/themes/BasicDarkTheme.js.map +0 -1
  647. package/cjs/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
  648. package/cjs/lib/theming/themes/DarkTheme2022_0.js +0 -5
  649. package/cjs/lib/theming/themes/DarkTheme2022_0.js.map +0 -1
  650. package/cjs/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
  651. package/cjs/lib/theming/themes/LightTheme2022_0.js +0 -5
  652. package/cjs/lib/theming/themes/LightTheme2022_0.js.map +0 -1
  653. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js +0 -506
  654. package/components/Autocomplete/__creevey__/Autocomplete.creevey/Autocomplete.creevey.js.map +0 -1
  655. package/components/Autocomplete/__creevey__/Autocomplete.creevey/package.json +0 -6
  656. package/components/Button/__creevey__/Button.creevey/Button.creevey.js +0 -396
  657. package/components/Button/__creevey__/Button.creevey/Button.creevey.js.map +0 -1
  658. package/components/Button/__creevey__/Button.creevey/package.json +0 -6
  659. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js +0 -138
  660. package/components/Calendar/__creevey__/Calendar.creevey/Calendar.creevey.js.map +0 -1
  661. package/components/Calendar/__creevey__/Calendar.creevey/package.json +0 -6
  662. package/components/Calendar/__creevey__/Calendar.creevey.d.ts +0 -1
  663. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js +0 -487
  664. package/components/Checkbox/__creevey__/Checkbox.creevey/Checkbox.creevey.js.map +0 -1
  665. package/components/Checkbox/__creevey__/Checkbox.creevey/package.json +0 -6
  666. package/components/Checkbox/__creevey__/Checkbox.creevey.d.ts +0 -1
  667. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js +0 -1043
  668. package/components/ComboBox/__creevey__/ComboBox.creevey/ComboBox.creevey.js.map +0 -1
  669. package/components/ComboBox/__creevey__/ComboBox.creevey/package.json +0 -6
  670. package/components/ComboBox/__creevey__/ComboBox.creevey.d.ts +0 -1
  671. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js +0 -114
  672. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/CurrencyInput.creevey.js.map +0 -1
  673. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey/package.json +0 -6
  674. package/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts +0 -1
  675. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js +0 -367
  676. package/components/DateInput/__creevey__/DateInput.creevey/DateInput.creevey.js.map +0 -1
  677. package/components/DateInput/__creevey__/DateInput.creevey/package.json +0 -6
  678. package/components/DateInput/__creevey__/DateInput.creevey.d.ts +0 -1
  679. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js +0 -395
  680. package/components/DatePicker/__creevey__/DatePicker.creevey/DatePicker.creevey.js.map +0 -1
  681. package/components/DatePicker/__creevey__/DatePicker.creevey/package.json +0 -6
  682. package/components/DatePicker/__creevey__/DatePicker.creevey.d.ts +0 -1
  683. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js +0 -365
  684. package/components/DateRangePicker/DateRangePicker/DateRangePicker.js.map +0 -1
  685. package/components/DateRangePicker/DateRangePicker/package.json +0 -6
  686. package/components/DateRangePicker/DateRangePicker.d.ts +0 -27
  687. package/components/DateRangePicker/DateRangePicker.md +0 -298
  688. package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js +0 -23
  689. package/components/DateRangePicker/DateRangePicker.styles/DateRangePicker.styles.js.map +0 -1
  690. package/components/DateRangePicker/DateRangePicker.styles/package.json +0 -6
  691. package/components/DateRangePicker/DateRangePicker.styles.d.ts +0 -9
  692. package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js +0 -3
  693. package/components/DateRangePicker/DateRangePickerContext/DateRangePickerContext.js.map +0 -1
  694. package/components/DateRangePicker/DateRangePickerContext/package.json +0 -6
  695. package/components/DateRangePicker/DateRangePickerContext.d.ts +0 -28
  696. package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js +0 -86
  697. package/components/DateRangePicker/DateRangePickerField/DateRangePickerField.js.map +0 -1
  698. package/components/DateRangePicker/DateRangePickerField/package.json +0 -6
  699. package/components/DateRangePicker/DateRangePickerField.d.ts +0 -7
  700. package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js +0 -4
  701. package/components/DateRangePicker/DateRangePickerSeparator/DateRangePickerSeparator.js.map +0 -1
  702. package/components/DateRangePicker/DateRangePickerSeparator/package.json +0 -6
  703. package/components/DateRangePicker/DateRangePickerSeparator.d.ts +0 -2
  704. package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js +0 -21
  705. package/components/DateRangePicker/DateRangePickerTheme/DateRangePickerTheme.js.map +0 -1
  706. package/components/DateRangePicker/DateRangePickerTheme/package.json +0 -6
  707. package/components/DateRangePicker/DateRangePickerTheme.d.ts +0 -3
  708. package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js +0 -48
  709. package/components/DateRangePicker/MobileDateRangePicker/MobileDateRangePicker.js.map +0 -1
  710. package/components/DateRangePicker/MobileDateRangePicker/package.json +0 -6
  711. package/components/DateRangePicker/MobileDateRangePicker.d.ts +0 -7
  712. package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js +0 -11
  713. package/components/DateRangePicker/MobileDateRangePicker.styles/MobileDateRangePicker.styles.js.map +0 -1
  714. package/components/DateRangePicker/MobileDateRangePicker.styles/package.json +0 -6
  715. package/components/DateRangePicker/MobileDateRangePicker.styles.d.ts +0 -4
  716. package/components/DateRangePicker/__docs__/DateRangePicker.mdx +0 -109
  717. package/components/DateRangePicker/index/index.js +0 -1
  718. package/components/DateRangePicker/index/index.js.map +0 -1
  719. package/components/DateRangePicker/index/package.json +0 -6
  720. package/components/DateRangePicker/index.d.ts +0 -1
  721. package/components/DateRangePicker/locale/index/index.js +0 -8
  722. package/components/DateRangePicker/locale/index/index.js.map +0 -1
  723. package/components/DateRangePicker/locale/index/package.json +0 -6
  724. package/components/DateRangePicker/locale/index.d.ts +0 -4
  725. package/components/DateRangePicker/locale/locales/en/en.js +0 -6
  726. package/components/DateRangePicker/locale/locales/en/en.js.map +0 -1
  727. package/components/DateRangePicker/locale/locales/en/package.json +0 -6
  728. package/components/DateRangePicker/locale/locales/en.d.ts +0 -2
  729. package/components/DateRangePicker/locale/locales/ru/package.json +0 -6
  730. package/components/DateRangePicker/locale/locales/ru/ru.js +0 -6
  731. package/components/DateRangePicker/locale/locales/ru/ru.js.map +0 -1
  732. package/components/DateRangePicker/locale/locales/ru.d.ts +0 -2
  733. package/components/DateRangePicker/locale/package.json +0 -6
  734. package/components/DateRangePicker/locale/types/package.json +0 -6
  735. package/components/DateRangePicker/locale/types/types.js +0 -1
  736. package/components/DateRangePicker/locale/types/types.js.map +0 -1
  737. package/components/DateRangePicker/locale/types.d.ts +0 -5
  738. package/components/DateRangePicker/package.json +0 -6
  739. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js +0 -417
  740. package/components/Dropdown/__creevey__/Dropdown.creevey/Dropdown.creevey.js.map +0 -1
  741. package/components/Dropdown/__creevey__/Dropdown.creevey/package.json +0 -6
  742. package/components/Dropdown/__creevey__/Dropdown.creevey.d.ts +0 -1
  743. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js +0 -534
  744. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/DropdownMenu.creevey.js.map +0 -1
  745. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey/package.json +0 -6
  746. package/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts +0 -1
  747. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js +0 -62
  748. package/components/FxInput/__creevey__/FxInput.creevey/FxInput.creevey.js.map +0 -1
  749. package/components/FxInput/__creevey__/FxInput.creevey/package.json +0 -6
  750. package/components/FxInput/__creevey__/FxInput.creevey.d.ts +0 -1
  751. package/components/Group/__creevey__/Group.creevey/Group.creevey.js +0 -48
  752. package/components/Group/__creevey__/Group.creevey/Group.creevey.js.map +0 -1
  753. package/components/Group/__creevey__/Group.creevey/package.json +0 -6
  754. package/components/Group/__creevey__/Group.creevey.d.ts +0 -1
  755. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js +0 -127
  756. package/components/Hint/__creevey__/Hint.creevey/Hint.creevey.js.map +0 -1
  757. package/components/Hint/__creevey__/Hint.creevey/package.json +0 -6
  758. package/components/Hint/__creevey__/Hint.creevey.d.ts +0 -1
  759. package/components/Input/__creevey__/Input.creevey/Input.creevey.js +0 -517
  760. package/components/Input/__creevey__/Input.creevey/Input.creevey.js.map +0 -1
  761. package/components/Input/__creevey__/Input.creevey/package.json +0 -6
  762. package/components/Input/__creevey__/Input.creevey.d.ts +0 -1
  763. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js +0 -278
  764. package/components/Kebab/__creevey__/Kebab.creevey/Kebab.creevey.js.map +0 -1
  765. package/components/Kebab/__creevey__/Kebab.creevey/package.json +0 -6
  766. package/components/Kebab/__creevey__/Kebab.creevey.d.ts +0 -1
  767. package/components/Link/__creevey__/Link.creevey/Link.creevey.js +0 -238
  768. package/components/Link/__creevey__/Link.creevey/Link.creevey.js.map +0 -1
  769. package/components/Link/__creevey__/Link.creevey/package.json +0 -6
  770. package/components/Link/__creevey__/Link.creevey.d.ts +0 -1
  771. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js +0 -129
  772. package/components/Loader/__creevey__/Loader.creevey/Loader.creevey.js.map +0 -1
  773. package/components/Loader/__creevey__/Loader.creevey/package.json +0 -6
  774. package/components/Loader/__creevey__/Loader.creevey.d.ts +0 -1
  775. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js +0 -405
  776. package/components/MaskedInput/__creevey__/MaskedInput.creevey/MaskedInput.creevey.js.map +0 -1
  777. package/components/MaskedInput/__creevey__/MaskedInput.creevey/package.json +0 -6
  778. package/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts +0 -1
  779. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js +0 -565
  780. package/components/Modal/__creevey__/Modal.creevey/Modal.creevey.js.map +0 -1
  781. package/components/Modal/__creevey__/Modal.creevey/package.json +0 -6
  782. package/components/Modal/__creevey__/Modal.creevey.d.ts +0 -1
  783. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js +0 -190
  784. package/components/Paging/__creevey__/Paging.creevey/Paging.creevey.js.map +0 -1
  785. package/components/Paging/__creevey__/Paging.creevey/package.json +0 -6
  786. package/components/Paging/__creevey__/Paging.creevey.d.ts +0 -1
  787. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js +0 -83
  788. package/components/PasswordInput/__creevey__/PasswordInput.creevey/PasswordInput.creevey.js.map +0 -1
  789. package/components/PasswordInput/__creevey__/PasswordInput.creevey/package.json +0 -6
  790. package/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts +0 -1
  791. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js +0 -56
  792. package/components/Radio/__creevey__/Radio.creevey/Radio.creevey.js.map +0 -1
  793. package/components/Radio/__creevey__/Radio.creevey/package.json +0 -6
  794. package/components/Radio/__creevey__/Radio.creevey.d.ts +0 -1
  795. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js +0 -167
  796. package/components/RadioGroup/__creevey__/RadioGroup.creevey/RadioGroup.creevey.js.map +0 -1
  797. package/components/RadioGroup/__creevey__/RadioGroup.creevey/package.json +0 -6
  798. package/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts +0 -1
  799. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js +0 -488
  800. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/ScrollContainer.creevey.js.map +0 -1
  801. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey/package.json +0 -6
  802. package/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts +0 -1
  803. package/components/Select/__creevey__/Select.creevey/Select.creevey.js +0 -541
  804. package/components/Select/__creevey__/Select.creevey/Select.creevey.js.map +0 -1
  805. package/components/Select/__creevey__/Select.creevey/package.json +0 -6
  806. package/components/Select/__creevey__/Select.creevey.d.ts +0 -1
  807. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js +0 -697
  808. package/components/SidePage/__creevey__/SidePage.creevey/SidePage.creevey.js.map +0 -1
  809. package/components/SidePage/__creevey__/SidePage.creevey/package.json +0 -6
  810. package/components/SidePage/__creevey__/SidePage.creevey.d.ts +0 -1
  811. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js +0 -215
  812. package/components/Sticky/__creevey__/Sticky.creevey/Sticky.creevey.js.map +0 -1
  813. package/components/Sticky/__creevey__/Sticky.creevey/package.json +0 -6
  814. package/components/Sticky/__creevey__/Sticky.creevey.d.ts +0 -1
  815. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js +0 -58
  816. package/components/Switcher/__creevey__/Switcher.creevey/Switcher.creevey.js.map +0 -1
  817. package/components/Switcher/__creevey__/Switcher.creevey/package.json +0 -6
  818. package/components/Switcher/__creevey__/Switcher.creevey.d.ts +0 -1
  819. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js +0 -391
  820. package/components/Tabs/__creevey__/Tabs.creevey/Tabs.creevey.js.map +0 -1
  821. package/components/Tabs/__creevey__/Tabs.creevey/package.json +0 -6
  822. package/components/Tabs/__creevey__/Tabs.creevey.d.ts +0 -1
  823. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js +0 -404
  824. package/components/Textarea/__creevey__/Textarea.creevey/Textarea.creevey.js.map +0 -1
  825. package/components/Textarea/__creevey__/Textarea.creevey/package.json +0 -6
  826. package/components/Textarea/__creevey__/Textarea.creevey.d.ts +0 -1
  827. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js +0 -70
  828. package/components/Toast/__creevey__/Toast.creevey/Toast.creevey.js.map +0 -1
  829. package/components/Toast/__creevey__/Toast.creevey/package.json +0 -6
  830. package/components/Toast/__creevey__/Toast.creevey.d.ts +0 -1
  831. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js +0 -195
  832. package/components/Toggle/__creevey__/Toggle.creevey/Toggle.creevey.js.map +0 -1
  833. package/components/Toggle/__creevey__/Toggle.creevey/package.json +0 -6
  834. package/components/Toggle/__creevey__/Toggle.creevey.d.ts +0 -1
  835. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js +0 -635
  836. package/components/TokenInput/__creevey__/TokenInput.creevey/TokenInput.creevey.js.map +0 -1
  837. package/components/TokenInput/__creevey__/TokenInput.creevey/package.json +0 -6
  838. package/components/TokenInput/__creevey__/TokenInput.creevey.d.ts +0 -1
  839. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js +0 -1171
  840. package/components/Tooltip/__creevey__/Tooltip.creevey/Tooltip.creevey.js.map +0 -1
  841. package/components/Tooltip/__creevey__/Tooltip.creevey/package.json +0 -6
  842. package/components/Tooltip/__creevey__/Tooltip.creevey.d.ts +0 -1
  843. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js +0 -277
  844. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/TooltipMenu.creevey.js.map +0 -1
  845. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey/package.json +0 -6
  846. package/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts +0 -1
  847. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js +0 -78
  848. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/CloseButtonIcon.creevey.js.map +0 -1
  849. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey/package.json +0 -6
  850. package/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts +0 -1
  851. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js +0 -58
  852. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/ComboBoxView.creevey.js.map +0 -1
  853. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey/package.json +0 -6
  854. package/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts +0 -1
  855. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js +0 -41
  856. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/FileUploaderFile.creevey.js.map +0 -1
  857. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey/package.json +0 -6
  858. package/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts +0 -1
  859. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js +0 -199
  860. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/HideBodyVerticalScroll.creevey.js.map +0 -1
  861. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey/package.json +0 -6
  862. package/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts +0 -1
  863. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js +0 -196
  864. package/internal/Menu/__creevey__/Menu.creevey/Menu.creevey.js.map +0 -1
  865. package/internal/Menu/__creevey__/Menu.creevey/package.json +0 -6
  866. package/internal/Menu/__creevey__/Menu.creevey.d.ts +0 -1
  867. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js +0 -69
  868. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/PopupMenu.creevey.js.map +0 -1
  869. package/internal/PopupMenu/__creevey__/PopupMenu.creevey/package.json +0 -6
  870. package/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts +0 -1
  871. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js +0 -145
  872. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/ThemeProvider.creevey.js.map +0 -1
  873. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey/package.json +0 -6
  874. package/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts +0 -1
  875. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js +0 -550
  876. package/internal/ZIndex/__creevey__/ZIndex.creevey/ZIndex.creevey.js.map +0 -1
  877. package/internal/ZIndex/__creevey__/ZIndex.creevey/package.json +0 -6
  878. package/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts +0 -1
  879. package/internal/themes/BasicDarkTheme/BasicDarkTheme.js +0 -646
  880. package/internal/themes/BasicDarkTheme/BasicDarkTheme.js.map +0 -1
  881. package/internal/themes/BasicDarkTheme/package.json +0 -6
  882. package/internal/themes/BasicDarkTheme.d.ts +0 -293
  883. package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js +0 -3
  884. package/lib/theming/themes/DarkTheme2022_0/DarkTheme2022_0.js.map +0 -1
  885. package/lib/theming/themes/DarkTheme2022_0/package.json +0 -6
  886. package/lib/theming/themes/DarkTheme2022_0.d.ts +0 -1
  887. package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js +0 -3
  888. package/lib/theming/themes/LightTheme2022_0/LightTheme2022_0.js.map +0 -1
  889. package/lib/theming/themes/LightTheme2022_0/package.json +0 -6
  890. package/lib/theming/themes/LightTheme2022_0.d.ts +0 -1
  891. /package/{cjs/components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → components/Autocomplete/__creevey__/Autocomplete.creevey.d.mts} +0 -0
  892. /package/{cjs/components/Button/__creevey__/Button.creevey.d.ts → components/Button/__creevey__/Button.creevey.d.mts} +0 -0
  893. /package/{cjs/components/Calendar/__creevey__/Calendar.creevey.d.ts → components/Calendar/__creevey__/Calendar.creevey.d.mts} +0 -0
  894. /package/{cjs/components/Checkbox/__creevey__/Checkbox.creevey.d.ts → components/Checkbox/__creevey__/Checkbox.creevey.d.mts} +0 -0
  895. /package/{cjs/components/ComboBox/__creevey__/ComboBox.creevey.d.ts → components/ComboBox/__creevey__/ComboBox.creevey.d.mts} +0 -0
  896. /package/{cjs/components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.ts → components/CurrencyInput/__creevey__/CurrencyInput.creevey.d.mts} +0 -0
  897. /package/{cjs/components/DateInput/__creevey__/DateInput.creevey.d.ts → components/DateInput/__creevey__/DateInput.creevey.d.mts} +0 -0
  898. /package/{cjs/components/DatePicker/__creevey__/DatePicker.creevey.d.ts → components/DatePicker/__creevey__/DatePicker.creevey.d.mts} +0 -0
  899. /package/{cjs/components/Dropdown/__creevey__/Dropdown.creevey.d.ts → components/Dropdown/__creevey__/Dropdown.creevey.d.mts} +0 -0
  900. /package/{cjs/components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.ts → components/DropdownMenu/__creevey__/DropdownMenu.creevey.d.mts} +0 -0
  901. /package/{cjs/components/FxInput/__creevey__/FxInput.creevey.d.ts → components/FxInput/__creevey__/FxInput.creevey.d.mts} +0 -0
  902. /package/{cjs/components/Group/__creevey__/Group.creevey.d.ts → components/Group/__creevey__/Group.creevey.d.mts} +0 -0
  903. /package/{cjs/components/Hint/__creevey__/Hint.creevey.d.ts → components/Hint/__creevey__/Hint.creevey.d.mts} +0 -0
  904. /package/{cjs/components/Input/__creevey__/Input.creevey.d.ts → components/Input/__creevey__/Input.creevey.d.mts} +0 -0
  905. /package/{cjs/components/Kebab/__creevey__/Kebab.creevey.d.ts → components/Kebab/__creevey__/Kebab.creevey.d.mts} +0 -0
  906. /package/{cjs/components/Link/__creevey__/Link.creevey.d.ts → components/Link/__creevey__/Link.creevey.d.mts} +0 -0
  907. /package/{cjs/components/Loader/__creevey__/Loader.creevey.d.ts → components/Loader/__creevey__/Loader.creevey.d.mts} +0 -0
  908. /package/{cjs/components/MaskedInput/__creevey__/MaskedInput.creevey.d.ts → components/MaskedInput/__creevey__/MaskedInput.creevey.d.mts} +0 -0
  909. /package/{cjs/components/Modal/__creevey__/Modal.creevey.d.ts → components/Modal/__creevey__/Modal.creevey.d.mts} +0 -0
  910. /package/{cjs/components/Paging/__creevey__/Paging.creevey.d.ts → components/Paging/__creevey__/Paging.creevey.d.mts} +0 -0
  911. /package/{cjs/components/PasswordInput/__creevey__/PasswordInput.creevey.d.ts → components/PasswordInput/__creevey__/PasswordInput.creevey.d.mts} +0 -0
  912. /package/{cjs/components/Radio/__creevey__/Radio.creevey.d.ts → components/Radio/__creevey__/Radio.creevey.d.mts} +0 -0
  913. /package/{cjs/components/RadioGroup/__creevey__/RadioGroup.creevey.d.ts → components/RadioGroup/__creevey__/RadioGroup.creevey.d.mts} +0 -0
  914. /package/{cjs/components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.ts → components/ScrollContainer/__creevey__/ScrollContainer.creevey.d.mts} +0 -0
  915. /package/{cjs/components/Select/__creevey__/Select.creevey.d.ts → components/Select/__creevey__/Select.creevey.d.mts} +0 -0
  916. /package/{cjs/components/SidePage/__creevey__/SidePage.creevey.d.ts → components/SidePage/__creevey__/SidePage.creevey.d.mts} +0 -0
  917. /package/{cjs/components/Sticky/__creevey__/Sticky.creevey.d.ts → components/Sticky/__creevey__/Sticky.creevey.d.mts} +0 -0
  918. /package/{cjs/components/Switcher/__creevey__/Switcher.creevey.d.ts → components/Switcher/__creevey__/Switcher.creevey.d.mts} +0 -0
  919. /package/{cjs/components/Tabs/__creevey__/Tabs.creevey.d.ts → components/Tabs/__creevey__/Tabs.creevey.d.mts} +0 -0
  920. /package/{cjs/components/Textarea/__creevey__/Textarea.creevey.d.ts → components/Textarea/__creevey__/Textarea.creevey.d.mts} +0 -0
  921. /package/{cjs/components/Toast/__creevey__/Toast.creevey.d.ts → components/Toast/__creevey__/Toast.creevey.d.mts} +0 -0
  922. /package/{cjs/components/Toggle/__creevey__/Toggle.creevey.d.ts → components/Toggle/__creevey__/Toggle.creevey.d.mts} +0 -0
  923. /package/{cjs/components/TokenInput/__creevey__/TokenInput.creevey.d.ts → components/TokenInput/__creevey__/TokenInput.creevey.d.mts} +0 -0
  924. /package/{cjs/components/Tooltip/__creevey__/Tooltip.creevey.d.ts → components/Tooltip/__creevey__/Tooltip.creevey.d.mts} +0 -0
  925. /package/{cjs/components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.ts → components/TooltipMenu/__creevey__/TooltipMenu.creevey.d.mts} +0 -0
  926. /package/{cjs/internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.ts → internal/ClearCrossIcon/__creevey__/ClearCrossIcon.creevey.d.mts} +0 -0
  927. /package/{cjs/internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.ts → internal/CloseButtonIcon/__creevey__/CloseButtonIcon.creevey.d.mts} +0 -0
  928. /package/{cjs/internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.ts → internal/CustomComboBox/__creevey__/ComboBoxView.creevey.d.mts} +0 -0
  929. /package/{cjs/internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.ts → internal/FileUploaderControl/__creevey__/FileUploaderFile.creevey.d.mts} +0 -0
  930. /package/{cjs/internal/Menu/__creevey__/Menu.creevey.d.ts → internal/HideBodyVerticalScroll/__creevey__/HideBodyVerticalScroll.creevey.d.mts} +0 -0
  931. /package/{cjs/internal/PopupMenu/__creevey__/PopupMenu.creevey.d.ts → internal/Menu/__creevey__/Menu.creevey.d.mts} +0 -0
  932. /package/{cjs/internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.ts → internal/PopupMenu/__creevey__/PopupMenu.creevey.d.mts} +0 -0
  933. /package/{cjs/internal/ZIndex/__creevey__/ZIndex.creevey.d.ts → internal/ThemePlayground/__creevey__/Theme5_0.creevey.d.mts} +0 -0
  934. /package/{components/Autocomplete/__creevey__/Autocomplete.creevey.d.ts → internal/ThemePlayground/__creevey__/ThemeProvider.creevey.d.mts} +0 -0
  935. /package/{components/Button/__creevey__/Button.creevey.d.ts → internal/ZIndex/__creevey__/ZIndex.creevey.d.mts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["React","PropTypes","isIE11","isEdge","isButton","CommonWrapper","cx","rootNode","isInputLike","styles","getFirstChild","children","Array","isArray","getLastChild","numberOfChildren","Children","count","getButtonCorners","isFirstChild","isLastChild","borderTopRightRadius","borderBottomRightRadius","borderTopLeftRadius","borderBottomLeftRadius","borderRadius","passCornersIfButton","child","firstChild","lastChild","corners","cloneElement","_extends","props","GroupDataTids","root","Group","_class","_Group","_React$Component","apply","arguments","_inheritsLoose","_proto","prototype","render","_this","style","width","childrenArray","toArray","createElement","rootNodeRef","setRootNode","className","map","_cx","_cx2","isValidElement","isWidthInPercent","Boolean","toString","includes","modifiedChild","fixed","stretch","stretchFallback","item","itemFirst","Component","__KONTUR_REACT_UI__","displayName","propTypes","oneOfType","number","string"],"sources":["Group.tsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { isIE11, isEdge } from '../../lib/client';\nimport { isButton } from '../Button';\nimport { CommonWrapper, CommonProps } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { rootNode, TSetRootNode } from '../../lib/rootNode';\nimport { isInputLike } from '../../lib/utils';\n\nimport { styles } from './Group.styles';\n\nexport interface GroupProps extends CommonProps {\n /** Задает длину компонента Group. */\n width?: React.CSSProperties['width'];\n}\n\ninterface GroupChildProps {\n width?: React.CSSProperties['width'];\n corners?: number;\n}\n\nconst getFirstChild = (children: React.ReactNode) => {\n if (!Array.isArray(children)) {\n return children;\n }\n\n return children?.[0] as React.ReactNode;\n};\n\nconst getLastChild = (children: React.ReactNode) => {\n if (!Array.isArray(children)) {\n return children;\n }\n\n const numberOfChildren = React.Children.count(children);\n\n return children?.[numberOfChildren - 1] as React.ReactNode;\n};\n\nexport const getButtonCorners = (isFirstChild: boolean, isLastChild: boolean): React.CSSProperties => {\n if (isFirstChild && isLastChild) {\n return {};\n }\n\n if (isFirstChild) {\n return {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n };\n }\n\n if (isLastChild) {\n return {\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n };\n }\n\n return {\n borderRadius: 0,\n };\n};\n\nconst passCornersIfButton = (child: React.ReactNode, firstChild: React.ReactNode, lastChild: React.ReactNode) => {\n const corners = getButtonCorners(child === firstChild, child === lastChild);\n if (isButton(child)) {\n return React.cloneElement(child, { corners: { ...corners, ...child.props.corners } });\n }\n if (isInputLike(child)) {\n return React.cloneElement(child, { corners: { ...corners, ...child.props.corners } });\n }\n\n return child;\n};\n\nexport const GroupDataTids = {\n root: 'Group__root',\n} as const;\n\n/**\n * Компонент `Group` используется для создания логически сгруппированных элементов, выровненных по горизонтали.\n *\n * Длина контейнера настраивается с помощью пропа `width`.\n */\n@rootNode\nexport class Group extends React.Component<GroupProps> {\n public static __KONTUR_REACT_UI__ = 'Group';\n public static displayName = 'Group';\n\n private setRootNode!: TSetRootNode;\n\n public static propTypes = {\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n };\n\n public render() {\n const style: React.CSSProperties = {\n width: this.props.width,\n };\n\n const childrenArray = React.Children.toArray(this.props.children);\n const firstChild = getFirstChild(childrenArray);\n const lastChild = getLastChild(childrenArray);\n\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...this.props}>\n <span data-tid={GroupDataTids.root} className={styles.root()} style={style}>\n {React.Children.map(childrenArray, (child) => {\n if (!child || !React.isValidElement<GroupChildProps>(child)) {\n return null;\n }\n\n const isWidthInPercent = Boolean(child.props.width && child.props.width.toString().includes('%'));\n\n const modifiedChild = passCornersIfButton(child, firstChild, lastChild);\n\n const isFirstChild = child === firstChild;\n\n return (\n <div\n className={cx({\n [styles.fixed()]: !isWidthInPercent,\n [styles.stretch()]: isWidthInPercent,\n [styles.stretchFallback()]: Boolean(isWidthInPercent && this.props.width && (isIE11 || isEdge)),\n })}\n >\n <div\n className={cx({\n [styles.item()]: true,\n [styles.itemFirst()]: isFirstChild,\n })}\n >\n {modifiedChild}\n </div>\n </div>\n );\n })}\n </span>\n </CommonWrapper>\n );\n }\n}\n"],"mappings":"mJAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;;AAElC,SAASC,MAAM,EAAEC,MAAM,QAAQ,kBAAkB;AACjD,SAASC,QAAQ,QAAQ,WAAW;AACpC,SAASC,aAAa,QAAqB,8BAA8B;AACzE,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,QAAQ,QAAsB,oBAAoB;AAC3D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AAM,CAAC2D,SAAS,CAAC,CAAC,IAAGjD,YAAY,EAAAsC,IAAA;YACnC,CAAE;;UAEFM;UACE;UACF,CAAC;;MAEV,CAAC;MACG;MACO,CAAC;;EAEpB,CAAC,QAAA3B,KAAA,GAvDwBpC,KAAK,CAACqE,SAAS,GAAA/B,MAAA,CAC1BgC,mBAAmB,GAAG,OAAO,EAAAhC,MAAA,CAC7BiC,WAAW,GAAG,OAAO,EAAAjC,MAAA,CAIrBkC,SAAS,GAAG,EACxBxB,KAAK,EAAE/C,SAAS,CAACwE,SAAS,CAAC,CAACxE,SAAS,CAACyE,MAAM,EAAEzE,SAAS,CAAC0E,MAAM,CAAC,CAAC,CAClE,CAAC,EAAArC,MAAA,MAAAD,MAAA","ignoreList":[]}
1
+ {"version":3,"names":["React","PropTypes","isIE11","isEdge","CommonWrapper","cx","rootNode","isButton","isAutocomplete","isCurrencyInput","isDropdown","isDropdownMenu","isFxInput","isInput","isPasswordInput","isSelect","styles","getFirstChild","children","Array","isArray","getLastChild","numberOfChildren","Children","count","getButtonCorners","isFirstChild","isLastChild","borderTopRightRadius","borderBottomRightRadius","borderTopLeftRadius","borderBottomLeftRadius","borderRadius","tryPassCorners","child","firstChild","lastChild","corners","cloneElement","_extends","props","GroupDataTids","root","Group","_class","_Group","_React$Component","apply","arguments","_inheritsLoose","_proto","prototype","render","_this","style","width","childrenArray","toArray","createElement","rootNodeRef","setRootNode","className","map","_cx","_cx2","isValidElement","isWidthInPercent","Boolean","toString","includes","modifiedChild","fixed","stretch","stretchFallback","item","itemFirst","Component","__KONTUR_REACT_UI__","displayName","propTypes","oneOfType","number","string"],"sources":["Group.tsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nimport { isIE11, isEdge } from '../../lib/client';\nimport { CommonWrapper, CommonProps } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { rootNode, TSetRootNode } from '../../lib/rootNode';\nimport {\n isButton,\n isAutocomplete,\n isCurrencyInput,\n isDropdown,\n isDropdownMenu,\n isFxInput,\n isInput,\n isPasswordInput,\n isSelect,\n} from '../../lib/utils';\n\nimport { styles } from './Group.styles';\n\nexport interface GroupProps extends CommonProps {\n /** Задает длину компонента Group. */\n width?: React.CSSProperties['width'];\n}\n\ninterface GroupChildProps {\n width?: React.CSSProperties['width'];\n corners?: number;\n}\n\nconst getFirstChild = (children: React.ReactNode) => {\n if (!Array.isArray(children)) {\n return children;\n }\n\n return children?.[0] as React.ReactNode;\n};\n\nconst getLastChild = (children: React.ReactNode) => {\n if (!Array.isArray(children)) {\n return children;\n }\n\n const numberOfChildren = React.Children.count(children);\n\n return children?.[numberOfChildren - 1] as React.ReactNode;\n};\n\nexport const getButtonCorners = (isFirstChild: boolean, isLastChild: boolean): React.CSSProperties => {\n if (isFirstChild && isLastChild) {\n return {};\n }\n\n if (isFirstChild) {\n return {\n borderTopRightRadius: 0,\n borderBottomRightRadius: 0,\n };\n }\n\n if (isLastChild) {\n return {\n borderTopLeftRadius: 0,\n borderBottomLeftRadius: 0,\n };\n }\n\n return {\n borderRadius: 0,\n };\n};\n\nconst tryPassCorners = (child: React.ReactNode, firstChild: React.ReactNode, lastChild: React.ReactNode) => {\n const corners = getButtonCorners(child === firstChild, child === lastChild);\n\n if (\n isButton(child) ||\n isInput(child) ||\n isFxInput(child) ||\n isAutocomplete(child) ||\n isPasswordInput(child) ||\n isCurrencyInput(child) ||\n isSelect(child) ||\n isDropdown(child) ||\n isDropdownMenu(child)\n ) {\n return React.cloneElement<(typeof child)['props']>(child, { corners: { ...corners, ...child.props.corners } });\n }\n\n return child;\n};\n\nexport const GroupDataTids = {\n root: 'Group__root',\n} as const;\n\n/**\n * Компонент `Group` используется для создания логически сгруппированных элементов, выровненных по горизонтали.\n *\n * Длина контейнера настраивается с помощью пропа `width`.\n */\n@rootNode\nexport class Group extends React.Component<GroupProps> {\n public static __KONTUR_REACT_UI__ = 'Group';\n public static displayName = 'Group';\n\n private setRootNode!: TSetRootNode;\n\n public static propTypes = {\n width: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n };\n\n public render() {\n const style: React.CSSProperties = {\n width: this.props.width,\n };\n\n const childrenArray = React.Children.toArray(this.props.children);\n const firstChild = getFirstChild(childrenArray);\n const lastChild = getLastChild(childrenArray);\n\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...this.props}>\n <span data-tid={GroupDataTids.root} className={styles.root()} style={style}>\n {React.Children.map(childrenArray, (child) => {\n if (!child || !React.isValidElement<GroupChildProps>(child)) {\n return null;\n }\n\n const isWidthInPercent = Boolean(child.props.width && child.props.width.toString().includes('%'));\n\n const modifiedChild = tryPassCorners(child, firstChild, lastChild);\n\n const isFirstChild = child === firstChild;\n\n return (\n <div\n className={cx({\n [styles.fixed()]: !isWidthInPercent,\n [styles.stretch()]: isWidthInPercent,\n [styles.stretchFallback()]: Boolean(isWidthInPercent && this.props.width && (isIE11 || isEdge)),\n })}\n >\n <div\n className={cx({\n [styles.item()]: true,\n [styles.itemFirst()]: isFirstChild,\n })}\n >\n {modifiedChild}\n </div>\n </div>\n );\n })}\n </span>\n </CommonWrapper>\n );\n }\n}\n"],"mappings":"mJAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,SAAS,MAAM,YAAY;;AAElC,SAASC,MAAM,EAAEC,MAAM,QAAQ,kBAAkB;AACjD,SAASC,aAAa,QAAqB,8BAA8B;AACzE,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,QAAQ,QAAsB,oBAAoB;AAC3D;EACEC,QAAQ;EACRC,cAAc;EACdC,eAAe;EACfC,UAAU;EACVC,cAAc;EACdC,SAAS;EACTC,OAAO;EACPC,eAAe;EACfC,QAAQ;AACH,iBAAiB;;AAExB,SAASC,MAAM,QAAQ,gBAAgB;;;;;;;;;;;;AAYvC,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,QAAyB,EAAK;EACnD,IAAI,CAACC,KAAK,CAACC,OAAO,CAACF,QAAQ,CAAC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B,KAAA,GAvDwB3C,KAAK,CAAC4E,SAAS,GAAA/B,MAAA,CAC1BgC,mBAAmB,GAAG,OAAO,EAAAhC,MAAA,CAC7BiC,WAAW,GAAG,OAAO,EAAAjC,MAAA,CAIrBkC,SAAS,GAAG,EACxBxB,KAAK,EAAEtD,SAAS,CAAC+E,SAAS,CAAC,CAAC/E,SAAS,CAACgF,MAAM,EAAEhF,SAAS,CAACiF,MAAM,CAAC,CAAC,CAClE,CAAC,EAAArC,MAAA,MAAAD,MAAA","ignoreList":[]}
@@ -0,0 +1,19 @@
1
+ import { story, kind, test } from 'creevey';
2
+
3
+ kind('Group', () => {
4
+ story('SimpleGroupWithInputAndButton', () => {
5
+ test('plain', async (context) => {
6
+ await context.matchImage(await context.takeScreenshot(), 'plain');
7
+ });
8
+
9
+ test('focused input', async (context) => {
10
+ await context.webdriver
11
+ .actions({
12
+ bridge: true,
13
+ })
14
+ .click(context.webdriver.findElement({ css: 'input' }))
15
+ .perform();
16
+ await context.matchImage(await context.takeScreenshot(), 'focused input');
17
+ });
18
+ });
19
+ });
@@ -0,0 +1,68 @@
1
+ import { story, kind, test } from 'creevey';
2
+
3
+ import { delay } from '../../../lib/delay';
4
+
5
+ kind('Hint', () => {
6
+ story('SetManualAndOpenedPropOnClick', () => {
7
+ test('click on hint', async (context) => {
8
+ await context.webdriver
9
+ .actions()
10
+ .click(context.webdriver.findElement({ css: '#main' }))
11
+ .perform();
12
+ await delay(1000);
13
+ await context.matchImage(await context.webdriver.takeScreenshot(), 'click on hint');
14
+ });
15
+ });
16
+
17
+ story('WithSVGIcon', ({ setStoryParameters }) => {
18
+ setStoryParameters({
19
+ skip: {
20
+ 'internal logic being tested and not something UI related': {
21
+ in: [
22
+ 'chromeDark',
23
+ 'chrome8px',
24
+ 'firefox8px',
25
+ 'firefox',
26
+ 'firefoxFlat8px',
27
+ 'firefoxDark',
28
+ 'ie118px',
29
+ 'ie11',
30
+ 'ie11Dark',
31
+ ],
32
+ },
33
+ },
34
+ });
35
+
36
+ test('idle', async (context) => {
37
+ await context.matchImage(await context.takeScreenshot(), 'idle');
38
+ });
39
+
40
+ test('hover', async (context) => {
41
+ await context.webdriver
42
+ .actions()
43
+ .move({
44
+ origin: context.webdriver.findElement({ css: '[data-tid="icon"]' }),
45
+ })
46
+ .perform();
47
+ await delay(1000);
48
+ await context.matchImage(await context.webdriver.takeScreenshot(), 'open');
49
+ });
50
+ });
51
+ story('top bottom center', ({ setStoryParameters }) => {
52
+ setStoryParameters({
53
+ skip: { "themes don't affect logic": { in: /^(?!\bchrome2022\b)/ } },
54
+ });
55
+ });
56
+ story('HintNearScreenEdge', ({ setStoryParameters }) => {
57
+ setStoryParameters({
58
+ captureElement: 'body',
59
+ skip: { 'no themes': { in: /^(?!\b(chrome2022|firefox2022)\b)/ } },
60
+ });
61
+ });
62
+
63
+ story('HintWithoutPortal', () => {
64
+ test('opened', async (context) => {
65
+ await context.matchImage(await context.webdriver.takeScreenshot(), 'open');
66
+ });
67
+ });
68
+ });
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/esm/extends";
2
2
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
3
3
  import _createClass from "@babel/runtime/helpers/esm/createClass";
4
4
  import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose";
5
- var _excluded = ["onMouseEnter", "onMouseLeave", "onMouseOver", "onKeyDown", "onKeyPress", "onValueChange", "width", "error", "role", "warning", "leftIcon", "rightIcon", "borderless", "value", "align", "type", "mask", "maskChar", "alwaysShowMask", "size", "placeholder", "selectAllOnFocus", "disabled", "onUnexpectedInput", "prefix", "suffix", "formatChars", "corners", "aria-describedby", "aria-controls", "aria-label", "element"];
5
+ var _excluded = ["onMouseEnter", "onMouseLeave", "onMouseOver", "onKeyDown", "onKeyPress", "onValueChange", "width", "error", "role", "warning", "leftIcon", "rightIcon", "borderless", "value", "align", "type", "mask", "maskChar", "alwaysShowMask", "size", "placeholder", "selectAllOnFocus", "disabled", "onUnexpectedInput", "prefix", "suffix", "formatChars", "corners", "aria-describedby", "aria-controls", "aria-label", "element", "showClearIcon"];
6
6
  var _class, _Input; // TODO: Enable this rule in functional components.
7
7
  import invariant from 'invariant';
8
8
  import React from 'react';
@@ -15,9 +15,11 @@ import { InternalMaskedInput } from "../../../internal/InternalMaskedInput";
15
15
  import { ThemeContext } from "../../../lib/theming/ThemeContext";
16
16
  import { CommonWrapper } from "../../../internal/CommonWrapper";
17
17
  import { cx } from "../../../lib/theming/Emotion";
18
- import { rootNode } from "../../../lib/rootNode";
18
+ import { getRootNode, rootNode } from "../../../lib/rootNode";
19
19
  import { createPropsGetter } from "../../../lib/createPropsGetter";
20
20
  import { FocusControlWrapper } from "../../../internal/FocusControlWrapper";
21
+ import { ClearCrossIcon } from "../../../internal/ClearCrossIcon/ClearCrossIcon";
22
+ import { catchUnreachableWarning } from "../../../lib/typeGuards";
21
23
  import { styles } from "../Input.styles";
22
24
  import { InputLayout } from "../InputLayout/InputLayout";
23
25
  import { PolyfillPlaceholder } from "../InputLayout/PolyfillPlaceholder";
@@ -43,8 +45,25 @@ export var maskErrorMessage = function maskErrorMessage(type, allowedTypes) {
43
45
  return "\"" + i + "\"";
44
46
  }).join(', ') + ".";
45
47
  };
48
+ export var calculateClearCrossShowedState = function calculateClearCrossShowedState(_ref) {
49
+ var showClearIcon = _ref.showClearIcon,
50
+ notEmptyValue = _ref.notEmptyValue,
51
+ focused = _ref.focused,
52
+ hovered = _ref.hovered;
53
+ switch (showClearIcon) {
54
+ case 'always':
55
+ return notEmptyValue;
56
+ case 'auto':
57
+ return Boolean((focused || hovered) && notEmptyValue);
58
+ case 'never':
59
+ return false;
60
+ default:
61
+ return catchUnreachableWarning(showClearIcon, false);
62
+ }
63
+ };
46
64
  export var InputDataTids = {
47
- root: 'Input__root'
65
+ root: 'Input__root',
66
+ clearCross: 'Input__clearCross'
48
67
  };
49
68
 
50
69
  /**
@@ -68,13 +87,33 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
68
87
  }
69
88
  _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
70
89
  _this.getProps = createPropsGetter(Input.defaultProps);
90
+ _this.selectAllId = null;
91
+ _this.input = null;
92
+ _this.getClearCrossShowed = function (_ref2) {
93
+ var _this$input;
94
+ var focused = _ref2.focused,
95
+ hovered = _ref2.hovered,
96
+ hasInitialValue = _ref2.hasInitialValue;
97
+ if (_this.props.disabled) {
98
+ return false;
99
+ }
100
+ return calculateClearCrossShowedState({
101
+ showClearIcon: _this.getProps().showClearIcon,
102
+ notEmptyValue: Boolean(((_this$input = _this.input) == null ? void 0 : _this$input.value) || hasInitialValue),
103
+ focused: focused,
104
+ hovered: hovered
105
+ });
106
+ };
71
107
  _this.state = {
72
108
  needsPolyfillPlaceholder: needsPolyfillPlaceholder,
73
109
  blinking: false,
74
- focused: false
110
+ focused: false,
111
+ hovered: false,
112
+ clearCrossShowed: _this.getClearCrossShowed({
113
+ focused: false,
114
+ hasInitialValue: Boolean(_this.props.value || _this.props.defaultValue)
115
+ })
75
116
  };
76
- _this.selectAllId = null;
77
- _this.input = null;
78
117
 
79
118
  /**
80
119
  * Работает с типами `text`, `password`, `tel`, `search`, `url`
@@ -155,6 +194,7 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
155
194
  ariaControls = props['aria-controls'],
156
195
  ariaLabel = props['aria-label'],
157
196
  element = props.element,
197
+ showClearIcon = props.showClearIcon,
158
198
  rest = _objectWithoutPropertiesLoose(props, _excluded);
159
199
  var _this$state = _this.state,
160
200
  blinking = _this$state.blinking,
@@ -165,8 +205,8 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
165
205
  style: _extends({
166
206
  width: width
167
207
  }, corners),
168
- onMouseEnter: onMouseEnter,
169
- onMouseLeave: onMouseLeave,
208
+ onMouseEnter: _this.handleMouseEnter,
209
+ onMouseLeave: _this.handleMouseLeave,
170
210
  onMouseOver: onMouseOver
171
211
  };
172
212
  var inputProps = _extends({}, rest, {
@@ -192,10 +232,18 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
192
232
  React.createElement(FocusControlWrapper, {
193
233
  onBlurWhenDisabled: _this.resetFocus
194
234
  }, _this.getInput(inputProps));
235
+ var getRightIcon = function getRightIcon() {
236
+ return _this.state.clearCrossShowed ? /*#__PURE__*/
237
+ React.createElement(ClearCrossIcon, {
238
+ "data-tid": InputDataTids.clearCross,
239
+ size: size,
240
+ onClick: _this.handleClearInput
241
+ }) : rightIcon;
242
+ };
195
243
  return /*#__PURE__*/(
196
244
  React.createElement(InputLayout, {
197
245
  leftIcon: leftIcon,
198
- rightIcon: rightIcon,
246
+ rightIcon: getRightIcon(),
199
247
  prefix: prefix,
200
248
  suffix: suffix,
201
249
  labelProps: labelProps,
@@ -220,6 +268,17 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
220
268
  _this.input = element;
221
269
  }
222
270
  };
271
+ _this.handleClearInput = function () {
272
+ if (_this.input) {
273
+ _this.input.value = '';
274
+ }
275
+ _this.setState({
276
+ clearCrossShowed: false
277
+ });
278
+ if (_this.props.onValueChange) {
279
+ _this.props.onValueChange('');
280
+ }
281
+ };
223
282
  _this.handleChange = function (event) {
224
283
  if (needsPolyfillPlaceholder) {
225
284
  var fieldIsEmpty = event.target.value === '';
@@ -235,10 +294,44 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
235
294
  if (_this.props.onChange) {
236
295
  _this.props.onChange(event);
237
296
  }
297
+ _this.setState({
298
+ clearCrossShowed: _this.getClearCrossShowed({
299
+ focused: _this.state.focused,
300
+ hovered: _this.state.hovered
301
+ })
302
+ });
303
+ };
304
+ _this.handleMouseEnter = function (e) {
305
+ _this.setState({
306
+ hovered: true,
307
+ clearCrossShowed: _this.getClearCrossShowed({
308
+ focused: _this.state.focused,
309
+ hovered: true
310
+ })
311
+ });
312
+ if (_this.props.onMouseEnter) {
313
+ _this.props.onMouseEnter(e);
314
+ }
315
+ };
316
+ _this.handleMouseLeave = function (e) {
317
+ _this.setState({
318
+ hovered: false,
319
+ clearCrossShowed: _this.getClearCrossShowed({
320
+ focused: _this.state.focused,
321
+ hovered: false
322
+ })
323
+ });
324
+ if (_this.props.onMouseLeave) {
325
+ _this.props.onMouseLeave(e);
326
+ }
238
327
  };
239
328
  _this.handleFocus = function (event) {
240
329
  _this.setState({
241
- focused: true
330
+ focused: true,
331
+ clearCrossShowed: _this.getClearCrossShowed({
332
+ focused: true,
333
+ hovered: _this.state.hovered
334
+ })
242
335
  });
243
336
  if (_this.props.selectAllOnFocus) {
244
337
  _this.input && !isIE11 ? _this.selectAll() : _this.delaySelectAll();
@@ -285,8 +378,23 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
285
378
  });
286
379
  };
287
380
  _this.handleBlur = function (event) {
288
- _this.resetFocus();
289
- _this.props.onBlur == null || _this.props.onBlur(event);
381
+ var _getRootNode;
382
+ var showClearIcon = _this.props.showClearIcon;
383
+ if (showClearIcon && (_getRootNode = getRootNode(_this)) != null && _getRootNode.contains(event.relatedTarget)) {
384
+ _this.setState({
385
+ focused: false
386
+ });
387
+ } else {
388
+ var clearCrossShowed = _this.getClearCrossShowed({
389
+ focused: false,
390
+ hovered: _this.state.hovered
391
+ });
392
+ _this.setState({
393
+ focused: false,
394
+ clearCrossShowed: clearCrossShowed
395
+ });
396
+ _this.props.onBlur == null || _this.props.onBlur(event);
397
+ }
290
398
  };
291
399
  return _this;
292
400
  }
@@ -370,8 +478,8 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
370
478
  (_this3$input = _this3.input) == null || _this3$input.setSelectionRange(start, end);
371
479
  }, 150);
372
480
  } else {
373
- var _this$input;
374
- (_this$input = this.input) == null || _this$input.setSelectionRange(start, end);
481
+ var _this$input2;
482
+ (_this$input2 = this.input) == null || _this$input2.setSelectionRange(start, end);
375
483
  }
376
484
  };
377
485
  _proto.render = function render() {
@@ -423,5 +531,6 @@ export var Input = rootNode(_class = (_Input = /*#__PURE__*/function (_React$Com
423
531
  }]);
424
532
  }(React.Component), _Input.__KONTUR_REACT_UI__ = 'Input', _Input.displayName = 'Input', _Input.defaultProps = {
425
533
  size: 'small',
426
- type: 'text'
534
+ type: 'text',
535
+ showClearIcon: 'never'
427
536
  }, _Input)) || _class;
@@ -1 +1 @@
1
- {"version":3,"names":["invariant","React","warning","globalObject","isEdge","isIE11","isKeyBackspace","isKeyDelete","someKeys","needsPolyfillPlaceholder","InternalMaskedInput","ThemeContext","CommonWrapper","cx","rootNode","createPropsGetter","FocusControlWrapper","styles","InputLayout","PolyfillPlaceholder","inputTypes","selectionAllowedTypes","selectionErrorMessage","type","allowedTypes","map","i","join","maskForbiddenTypes","maskAllowedTypes","filter","includes","maskErrorMessage","InputDataTids","root","Input","_class","_Input","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","state","blinking","focused","selectAllId","input","selectAll","_selectAll","delaySelectAll","_globalObject$request","requestAnimationFrame","setSelectionRange","value","cancelDelayedSelectAll","cancelAnimationFrame","cancelBlink","callback","blinkTimeout","clearTimeout","setState","getInput","inputProps","props","element","cloneElement","mask","canBeUsedWithMask","renderMaskedInput","createElement","renderMain","_cx","_cx2","onMouseEnter","onMouseLeave","onMouseOver","onKeyDown","onKeyPress","onValueChange","width","error","role","leftIcon","rightIcon","borderless","align","maskChar","alwaysShowMask","size","placeholder","selectAllOnFocus","disabled","onUnexpectedInput","prefix","suffix","formatChars","corners","ariaDescribedby","ariaControls","ariaLabel","rest","_objectWithoutPropertiesLoose","_excluded","_this$state","labelProps","className","theme","getSizeClassName","focus","hovering","blink","focusFallback","warningFallback","errorFallback","style","_extends","inputFocus","inputDisabled","onChange","handleChange","onFocus","handleFocus","handleKeyDown","handleKeyPress","onBlur","handleBlur","textAlign","ref","refInput","isMaskVisible","undefined","onBlurWhenDisabled","resetFocus","context","Boolean","defaultValue","event","fieldIsEmpty","target","e","isDeleteKey","currentTarget","repeat","handleUnexpectedInput","maxLength","handleMaskedValueChange","_inheritsLoose","_proto","prototype","outputMaskError","componentDidMount","componentDidUpdate","prevProps","componentWillUnmount","blur","getNode","_this2","offsetWidth","setTimeout","start","end","_globalObject$documen","_this$props$value","_this3","Error","document","activeElement","_this3$input","_this$input","render","_this4","Consumer","rootNodeRef","setRootNode","_cx3","_cx4","_cx5","sizeLarge","sizeLargeFallback","sizeMedium","sizeMediumFallback","sizeSmall","sizeSmallFallback","_createClass","key","get","_this$props","Component","__KONTUR_REACT_UI__","displayName"],"sources":["Input.tsx"],"sourcesContent":["// TODO: Enable this rule in functional components.\nimport invariant from 'invariant';\nimport React, { AriaAttributes, ClassAttributes, HTMLAttributes, ReactElement } from 'react';\nimport warning from 'warning';\nimport { globalObject, SafeTimer } from '@skbkontur/global-object';\n\nimport { isEdge, isIE11 } from '../../lib/client';\nimport { isKeyBackspace, isKeyDelete, someKeys } from '../../lib/events/keyboard/identifiers';\nimport { needsPolyfillPlaceholder } from '../../lib/needsPolyfillPlaceholder';\nimport { Nullable, Override } from '../../typings/utility-types';\nimport { InternalMaskedInput } from '../../internal/InternalMaskedInput';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme } from '../../lib/theming/Theme';\nimport { CommonProps, CommonWrapper, CommonWrapperRestProps } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { rootNode, TSetRootNode } from '../../lib/rootNode';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { SizeProp } from '../../lib/types/props';\nimport { FocusControlWrapper } from '../../internal/FocusControlWrapper';\n\nimport { InputElement, InputElementProps } from './Input.typings';\nimport { styles } from './Input.styles';\nimport { InputLayout } from './InputLayout/InputLayout';\nimport { PolyfillPlaceholder } from './InputLayout/PolyfillPlaceholder';\n\nexport const inputTypes = ['password', 'text', 'number', 'tel', 'search', 'time', 'date', 'url', 'email'] as const;\n\nexport type InputAlign = 'left' | 'center' | 'right';\nexport type InputType = (typeof inputTypes)[number];\nexport type InputIconType = React.ReactNode | (() => React.ReactNode);\n\nexport const selectionAllowedTypes: InputType[] = ['text', 'password', 'tel', 'search', 'url'];\nexport const selectionErrorMessage = (type: InputType, allowedTypes: InputType[] = selectionAllowedTypes) => {\n return `<Input />. Selection is not supported by the type \"${type}\". Types that support selection: ${allowedTypes\n .map((i) => `\"${i}\"`)\n .join(', ')}. Reason: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange.`;\n};\n\nexport const maskForbiddenTypes: InputType[] = ['number', 'date', 'time'];\nexport const maskAllowedTypes: InputType[] = inputTypes.filter((type) => {\n return !maskForbiddenTypes.includes(type);\n});\nexport const maskErrorMessage = (type: InputType, allowedTypes: InputType[] = maskAllowedTypes) => {\n return `<Input />. Prop \"mask\" does not support type \"${type}\". Supported types: ${allowedTypes\n .map((i) => `\"${i}\"`)\n .join(', ')}.`;\n};\n\nexport interface InputProps\n extends CommonProps,\n Pick<HTMLAttributes<unknown>, 'role'>,\n Pick<AriaAttributes, 'aria-describedby' | 'aria-controls' | 'aria-label'>,\n Override<\n React.InputHTMLAttributes<HTMLInputElement>,\n {\n /** Задает иконку слева.\n * При использовании `ReactNode` применяются дефолтные стили для иконки.\n * При использовании `() => ReactNode` применяются только стили для позиционирования. */\n leftIcon?: InputIconType;\n\n /** Добавляет иконку справа.\n * При использовании `ReactNode` применяются дефолтные стили для иконки.\n * При использовании `() => ReactNode` применяются только стили для позиционирования. */\n rightIcon?: InputIconType;\n\n /** Переводит контрол в состояние валидации \"ошибка\". */\n error?: boolean;\n\n /** Переводит контрол в состояние валидации \"предупреждение\". */\n warning?: boolean;\n\n /** Убирает обводку. */\n borderless?: boolean;\n\n /** Задает выравнивание контента. */\n align?: InputAlign;\n\n /** Задает паттерн маски. Доступен для типов `text`, `password`, `email`, `tel`, `search`, `url`\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n mask?: Nullable<string>;\n\n /** Устанавливает символ маски.\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n maskChar?: Nullable<string>;\n\n /** Задает словарь символов-регулярок для задания маски\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput.\n * @default { '9': '[0-9]', 'a': '[A-Za-z]', '*': '[A-Za-z0-9]' }. */\n formatChars?: Record<string, string>;\n\n /** Включает показ символов маски.\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n alwaysShowMask?: boolean;\n\n /** Задает размер. */\n size?: SizeProp;\n\n /** Задает функцию, которая вызывается при изменении значения в инпуте. */\n onValueChange?: (value: string) => void;\n\n /** @ignore */\n onMouseEnter?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** @ignore */\n onMouseLeave?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** @ignore */\n onMouseOver?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** Задает тип инпута. */\n type?: InputType;\n\n /** Задает значение. */\n value?: string;\n\n ///** */\n capture?: boolean;\n\n /** Устанавливает префикс `ReactNode` перед значением, но после иконки. */\n prefix?: React.ReactNode;\n\n /** Устанавливает суффикс `ReactNode` после значения, но перед правой иконкой. */\n suffix?: React.ReactNode;\n\n /** Определяет, нужно ли выделять введенное значение при фокусе. Работает с типами `text`, `password`, `tel`, `search`, `url`. [Документация](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange) */\n selectAllOnFocus?: boolean;\n\n /** Задает функцию для обработки ввода.\n * При неправильном вводе инпут по-умолчанию вспыхивает акцентным цветом.\n * Если `onUnexpectedInput` передан - вызывается переданный обработчик b вспыхивание можно вызвать публичным методом инстанса `blink()`.\n * @param {string} value - значение инпута. */\n onUnexpectedInput?: (value: string) => void;\n\n /** Устанавливает радиус скруглений углов.\n * @ignore */\n corners?: Partial<\n Pick<\n React.CSSProperties,\n 'borderTopRightRadius' | 'borderBottomRightRadius' | 'borderBottomLeftRadius' | 'borderTopLeftRadius'\n >\n >;\n\n /** Устанавливает элемент, заменяющий нативный input. Должен иметь пропы `InputElementProps` и тип `InputElement`. */\n element?: ReactElement<InputElementProps>;\n }\n > {}\n\nexport interface InputState {\n blinking: boolean;\n focused: boolean;\n needsPolyfillPlaceholder: boolean;\n}\n\nexport const InputDataTids = {\n root: 'Input__root',\n} as const;\n\ntype DefaultProps = Required<Pick<InputProps, 'size' | 'type'>>;\n\n/**\n * Поле ввода `Input` дает возможность указать значение с помощью клавиатуры.\n *\n * Используйте поле ввода для коротких текстовых или цифровых значений без предсказуемого формата.\n *\n * Если вводимое значение имеет определенный формат, используйте специальную версию поля:\n * * Поле с паролем PasswordInput.\n * * Поле с валютой CurrencyInput.\n * * Поле с маской MaskedInput.\n * * Автополе FxInput.\n *\n * Интерфейс пропсов наследуется от `React.InputHTMLAttributes<HTMLInputElement>`.\n */\n@rootNode\nexport class Input extends React.Component<InputProps, InputState> {\n public static __KONTUR_REACT_UI__ = 'Input';\n public static displayName = 'Input';\n\n public static defaultProps: DefaultProps = {\n size: 'small',\n type: 'text',\n };\n\n private getProps = createPropsGetter(Input.defaultProps);\n\n public state: InputState = {\n needsPolyfillPlaceholder,\n blinking: false,\n focused: false,\n };\n\n private selectAllId: number | null = null;\n private theme!: Theme;\n private blinkTimeout: SafeTimer;\n public input: HTMLInputElement | null = null;\n private setRootNode!: TSetRootNode;\n\n private outputMaskError() {\n warning(!(this.props.mask && this.canBeUsedWithMask), maskErrorMessage(this.getProps().type));\n }\n\n public componentDidMount() {\n this.outputMaskError();\n }\n\n public componentDidUpdate(prevProps: Readonly<InputProps>) {\n if (this.props.type !== prevProps.type || this.props.mask !== prevProps.mask) {\n this.outputMaskError();\n }\n }\n\n public componentWillUnmount() {\n if (this.blinkTimeout) {\n globalObject.clearTimeout(this.blinkTimeout);\n }\n this.cancelDelayedSelectAll();\n }\n\n /**\n * @public\n */\n public focus() {\n invariant(this.input, 'Cannot call \"focus\" because Input is not mounted');\n this.input.focus();\n }\n\n /**\n * @public\n */\n public blur() {\n invariant(this.input, 'Cannot call \"blur\" because Input is not mounted');\n this.input.blur();\n }\n\n /**\n * @public\n */\n public getNode() {\n return this.input;\n }\n\n /**\n * @public\n */\n public blink() {\n if (this.blinkTimeout) {\n this.cancelBlink(() => {\n // trigger reflow to restart animation\n // @see https://css-tricks.com/restart-css-animation/#article-header-id-0\n void (this.input && this.input.offsetWidth);\n this.blink();\n });\n return;\n }\n this.setState({ blinking: true }, () => {\n this.blinkTimeout = globalObject.setTimeout(this.cancelBlink, 150);\n });\n }\n\n /**\n * @public\n * @param {number} start\n * @param {number} end\n */\n public setSelectionRange(start: number, end: number) {\n // https://github.com/facebook/react/issues/7769\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n if (!selectionAllowedTypes.includes(this.getProps().type)) {\n warning(false, selectionErrorMessage(this.getProps().type));\n\n return;\n }\n\n if (!this.input) {\n throw new Error('Cannot call \"setSelectionRange\" on unmounted Input');\n }\n\n if (globalObject.document?.activeElement !== this.input) {\n this.focus();\n }\n if (this.props.mask && this.props.value && this.props.value?.length < this.props.mask.length) {\n globalObject.setTimeout(() => {\n this.input?.setSelectionRange(start, end);\n }, 150);\n } else {\n this.input?.setSelectionRange(start, end);\n }\n }\n\n public get isMaskVisible(): boolean {\n const { mask, alwaysShowMask } = this.props;\n const { focused } = this.state;\n return Boolean(mask && (focused || alwaysShowMask));\n }\n\n public render(): JSX.Element {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...this.getProps()}>\n {this.renderMain}\n </CommonWrapper>\n );\n }}\n </ThemeContext.Consumer>\n );\n }\n\n private get canBeUsedWithMask() {\n return maskForbiddenTypes.includes(this.getProps().type);\n }\n\n /**\n * Работает с типами `text`, `password`, `tel`, `search`, `url`\n * [Документация](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n * @public\n */\n public selectAll = (): void => this._selectAll();\n\n public delaySelectAll = (): number | null => {\n return (this.selectAllId = globalObject.requestAnimationFrame?.(this._selectAll) ?? null);\n };\n\n private _selectAll = (): void => {\n if (this.input) {\n this.setSelectionRange(0, this.input.value.length);\n }\n };\n\n private cancelDelayedSelectAll = (): void => {\n if (this.selectAllId) {\n globalObject.cancelAnimationFrame?.(this.selectAllId);\n this.selectAllId = null;\n }\n };\n\n private cancelBlink = (callback?: () => void): void => {\n if (this.blinkTimeout) {\n globalObject.clearTimeout(this.blinkTimeout);\n this.blinkTimeout = 0;\n if (this.state.blinking) {\n this.setState({ blinking: false }, callback);\n return;\n }\n }\n if (callback) {\n callback();\n }\n };\n\n private getInput = (inputProps: InputElementProps & ClassAttributes<HTMLInputElement>) => {\n if (this.props.element) {\n return React.cloneElement(this.props.element, inputProps);\n }\n\n return this.props.mask && !this.canBeUsedWithMask\n ? this.renderMaskedInput(inputProps, this.props.mask)\n : React.createElement('input', inputProps);\n };\n\n private renderMain = (props: CommonWrapperRestProps<InputProps>) => {\n const {\n onMouseEnter,\n onMouseLeave,\n onMouseOver,\n onKeyDown,\n onKeyPress,\n onValueChange,\n width,\n error,\n role,\n warning,\n leftIcon,\n rightIcon,\n borderless,\n value,\n align,\n type,\n mask,\n maskChar,\n alwaysShowMask,\n size,\n placeholder,\n selectAllOnFocus,\n disabled,\n onUnexpectedInput,\n prefix,\n suffix,\n formatChars,\n corners,\n 'aria-describedby': ariaDescribedby,\n 'aria-controls': ariaControls,\n 'aria-label': ariaLabel,\n element,\n ...rest\n } = props;\n\n const { blinking, focused } = this.state;\n\n const labelProps = {\n className: cx(styles.root(this.theme), this.getSizeClassName(), {\n [styles.focus(this.theme)]: focused && !warning && !error,\n [styles.hovering(this.theme)]: !focused && !disabled && !warning && !error && !borderless,\n [styles.blink(this.theme)]: blinking,\n [styles.borderless()]: borderless && !focused,\n [styles.disabled(this.theme)]: disabled,\n [styles.warning(this.theme)]: warning,\n [styles.error(this.theme)]: error,\n [styles.focusFallback(this.theme)]: focused && (isIE11 || isEdge),\n [styles.warningFallback(this.theme)]: warning && (isIE11 || isEdge),\n [styles.errorFallback(this.theme)]: error && (isIE11 || isEdge),\n }),\n 'aria-controls': ariaControls,\n style: { width, ...corners },\n onMouseEnter,\n onMouseLeave,\n onMouseOver,\n };\n\n const inputProps: InputElementProps & ClassAttributes<HTMLInputElement> = {\n ...rest,\n className: cx(styles.input(this.theme), {\n [styles.inputFocus(this.theme)]: focused,\n [styles.inputDisabled(this.theme)]: disabled,\n }),\n value,\n role,\n onChange: this.handleChange,\n onFocus: this.handleFocus,\n onKeyDown: this.handleKeyDown,\n onKeyPress: this.handleKeyPress,\n onBlur: this.handleBlur,\n style: { textAlign: align },\n ref: this.refInput,\n type,\n placeholder: !this.isMaskVisible && !needsPolyfillPlaceholder ? placeholder : undefined,\n disabled,\n 'aria-describedby': ariaDescribedby,\n 'aria-label': ariaLabel,\n };\n\n const input = (\n <FocusControlWrapper onBlurWhenDisabled={this.resetFocus}>{this.getInput(inputProps)}</FocusControlWrapper>\n );\n\n return (\n <InputLayout\n leftIcon={leftIcon}\n rightIcon={rightIcon}\n prefix={prefix}\n suffix={suffix}\n labelProps={labelProps}\n context={{ disabled: Boolean(disabled), focused, size }}\n >\n {input}\n {this.state.needsPolyfillPlaceholder && (\n <PolyfillPlaceholder\n isMaskVisible={this.isMaskVisible}\n value={value}\n defaultValue={this.props.defaultValue}\n align={align}\n >\n {placeholder}\n </PolyfillPlaceholder>\n )}\n </InputLayout>\n );\n };\n\n private renderMaskedInput(inputProps: React.InputHTMLAttributes<HTMLInputElement>, mask: string) {\n return (\n <InternalMaskedInput\n {...inputProps}\n mask={mask}\n maskChar={this.props.maskChar}\n alwaysShowMask={this.props.alwaysShowMask}\n formatChars={this.props.formatChars}\n onChange={this.props.onChange}\n onValueChange={this.handleMaskedValueChange}\n onUnexpectedInput={this.handleUnexpectedInput}\n />\n );\n }\n\n private getSizeClassName() {\n switch (this.getProps().size) {\n case 'large':\n return cx({\n [styles.sizeLarge(this.theme)]: true,\n [styles.sizeLargeFallback(this.theme)]: isIE11 || isEdge,\n });\n case 'medium':\n return cx({\n [styles.sizeMedium(this.theme)]: true,\n [styles.sizeMediumFallback(this.theme)]: isIE11 || isEdge,\n });\n case 'small':\n default:\n return cx({\n [styles.sizeSmall(this.theme)]: true,\n [styles.sizeSmallFallback(this.theme)]: isIE11 || isEdge,\n });\n }\n }\n\n private refInput = (element: HTMLInputElement | InternalMaskedInput | InputElement | null) => {\n if (element instanceof InternalMaskedInput || (element && 'input' in element)) {\n this.input = element.input;\n } else {\n this.input = element;\n }\n };\n\n private handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n if (needsPolyfillPlaceholder) {\n const fieldIsEmpty = event.target.value === '';\n if (this.state.needsPolyfillPlaceholder !== fieldIsEmpty) {\n this.setState({ needsPolyfillPlaceholder: fieldIsEmpty });\n }\n }\n\n if (this.props.onValueChange) {\n this.props.onValueChange(event.target.value);\n }\n\n if (this.props.onChange) {\n this.props.onChange(event);\n }\n };\n\n private handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {\n this.setState({\n focused: true,\n });\n\n if (this.props.selectAllOnFocus) {\n this.input && !isIE11 ? this.selectAll() : this.delaySelectAll();\n }\n\n if (this.props.onFocus) {\n this.props.onFocus(event);\n }\n };\n\n private handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {\n if (this.props.onKeyDown) {\n this.props.onKeyDown(e);\n }\n\n const isDeleteKey = someKeys(isKeyBackspace, isKeyDelete)(e);\n\n if (!e.currentTarget.value && isDeleteKey && !e.repeat) {\n this.handleUnexpectedInput();\n }\n };\n\n private handleKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (this.props.onKeyPress) {\n this.props.onKeyPress(event);\n }\n\n if (this.props.maxLength === event.currentTarget.value.length) {\n this.handleUnexpectedInput(event.currentTarget.value);\n }\n };\n\n private handleMaskedValueChange = (value: string) => {\n if (this.props.onValueChange) {\n this.props.onValueChange(value);\n }\n };\n\n private handleUnexpectedInput = (value: string = this.props.value || '') => {\n if (this.props.onUnexpectedInput) {\n this.props.onUnexpectedInput(value);\n } else {\n this.blink();\n }\n };\n\n private resetFocus = () => this.setState({ focused: false });\n\n private handleBlur = (event: React.FocusEvent<HTMLInputElement>) => {\n this.resetFocus();\n this.props.onBlur?.(event);\n };\n}\n"],"mappings":"0uBAAA;AACA,OAAOA,SAAS,MAAM,WAAW;AACjC,OAAOC,KAAK,MAAyE,OAAO;AAC5F,OAAOC,OAAO,MAAM,SAAS;AAC7B,SAASC,YAAY,QAAmB,0BAA0B;;AAElE,SAASC,MAAM,EAAEC,MAAM,QAAQ,kBAAkB;AACjD,SAASC,cAAc,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,uCAAuC;AAC7F,SAASC,wBAAwB,QAAQ,oCAAoC;;AAE7E,SAASC,mBAAmB,QAAQ,oCAAoC;AACxE,SAASC,YAAY,QAAQ,gCAAgC;;AAE7D,SAAsBC,aAAa,QAAgC,8BAA8B;AACjG,SAASC,EAAE,QAAQ,2BAA2B;AAC9C,SAASC,QAAQ,QAAsB,oBAAoB;AAC3D,SAASC,iBAAiB,QAAQ,6BAA6B;;AAE/D,SAASC,mBAAmB,QAAQ,oCAAoC;;;AAGxE,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,WAAW,QAAQ,2BAA2B;AACvD,SAASC,mBAAmB,QAAQ,mCAAmC;;AAEvE,OAAO,IAAMC,UAAU,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,CAAU;;;;;;AAMlH,OAAO,IAAMC,qBAAkC,GAAG,CAAC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,CAAC;AAC9F,OAAO,IAAMC,qBAAqB,GAAG,SAAxBA,qBAAqBA,CAAIC,IAAe,EAAEC,YAAyB,EA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ACd,CAAC,EAAAc,MAAA,MAAAD,MAAA","ignoreList":[]}
1
+ {"version":3,"names":["invariant","React","warning","globalObject","isEdge","isIE11","isKeyBackspace","isKeyDelete","someKeys","needsPolyfillPlaceholder","InternalMaskedInput","ThemeContext","CommonWrapper","cx","getRootNode","rootNode","createPropsGetter","FocusControlWrapper","ClearCrossIcon","catchUnreachableWarning","styles","InputLayout","PolyfillPlaceholder","inputTypes","selectionAllowedTypes","selectionErrorMessage","type","allowedTypes","map","i","join","maskForbiddenTypes","maskAllowedTypes","filter","includes","maskErrorMessage","calculateClearCrossShowedState","_ref","showClearIcon","notEmptyValue","focused","hovered","Boolean","InputDataTids","root","clearCross","Input","_class","_Input","_React$Component","_this","_len","arguments","length","args","Array","_key","call","apply","concat","getProps","defaultProps","selectAllId","input","getClearCrossShowed","_ref2","_this$input","hasInitialValue","props","disabled","value","state","blinking","clearCrossShowed","defaultValue","selectAll","_selectAll","delaySelectAll","_globalObject$request","requestAnimationFrame","setSelectionRange","cancelDelayedSelectAll","cancelAnimationFrame","cancelBlink","callback","blinkTimeout","clearTimeout","setState","getInput","inputProps","element","cloneElement","mask","canBeUsedWithMask","renderMaskedInput","createElement","renderMain","_cx","_cx2","onMouseEnter","onMouseLeave","onMouseOver","onKeyDown","onKeyPress","onValueChange","width","error","role","leftIcon","rightIcon","borderless","align","maskChar","alwaysShowMask","size","placeholder","selectAllOnFocus","onUnexpectedInput","prefix","suffix","formatChars","corners","ariaDescribedby","ariaControls","ariaLabel","rest","_objectWithoutPropertiesLoose","_excluded","_this$state","labelProps","className","theme","getSizeClassName","focus","hovering","blink","focusFallback","warningFallback","errorFallback","style","_extends","handleMouseEnter","handleMouseLeave","inputFocus","inputDisabled","onChange","handleChange","onFocus","handleFocus","handleKeyDown","handleKeyPress","onBlur","handleBlur","textAlign","ref","refInput","isMaskVisible","undefined","onBlurWhenDisabled","resetFocus","getRightIcon","onClick","handleClearInput","context","event","fieldIsEmpty","target","e","isDeleteKey","currentTarget","repeat","handleUnexpectedInput","maxLength","handleMaskedValueChange","_getRootNode","contains","relatedTarget","_inheritsLoose","_proto","prototype","outputMaskError","componentDidMount","componentDidUpdate","prevProps","componentWillUnmount","blur","getNode","_this2","offsetWidth","setTimeout","start","end","_globalObject$documen","_this$props$value","_this3","Error","document","activeElement","_this3$input","_this$input2","render","_this4","Consumer","rootNodeRef","setRootNode","_cx3","_cx4","_cx5","sizeLarge","sizeLargeFallback","sizeMedium","sizeMediumFallback","sizeSmall","sizeSmallFallback","_createClass","key","get","_this$props","Component","__KONTUR_REACT_UI__","displayName"],"sources":["Input.tsx"],"sourcesContent":["// TODO: Enable this rule in functional components.\nimport invariant from 'invariant';\nimport React, { AriaAttributes, ClassAttributes, HTMLAttributes, ReactElement } from 'react';\nimport warning from 'warning';\nimport { globalObject, SafeTimer } from '@skbkontur/global-object';\n\nimport { isEdge, isIE11 } from '../../lib/client';\nimport { isKeyBackspace, isKeyDelete, someKeys } from '../../lib/events/keyboard/identifiers';\nimport { needsPolyfillPlaceholder } from '../../lib/needsPolyfillPlaceholder';\nimport { Nullable, Override } from '../../typings/utility-types';\nimport { InternalMaskedInput } from '../../internal/InternalMaskedInput';\nimport { ThemeContext } from '../../lib/theming/ThemeContext';\nimport { Theme } from '../../lib/theming/Theme';\nimport { CommonProps, CommonWrapper, CommonWrapperRestProps } from '../../internal/CommonWrapper';\nimport { cx } from '../../lib/theming/Emotion';\nimport { getRootNode, rootNode, TSetRootNode } from '../../lib/rootNode';\nimport { createPropsGetter } from '../../lib/createPropsGetter';\nimport { SizeProp } from '../../lib/types/props';\nimport { FocusControlWrapper } from '../../internal/FocusControlWrapper';\nimport { ClearCrossIcon } from '../../internal/ClearCrossIcon/ClearCrossIcon';\nimport { catchUnreachableWarning } from '../../lib/typeGuards';\n\nimport { InputElement, InputElementProps } from './Input.typings';\nimport { styles } from './Input.styles';\nimport { InputLayout } from './InputLayout/InputLayout';\nimport { PolyfillPlaceholder } from './InputLayout/PolyfillPlaceholder';\n\nexport const inputTypes = ['password', 'text', 'number', 'tel', 'search', 'time', 'date', 'url', 'email'] as const;\n\nexport type InputAlign = 'left' | 'center' | 'right';\nexport type ShowClearIcon = 'auto' | 'always' | 'never';\nexport type InputType = (typeof inputTypes)[number];\nexport type InputIconType = React.ReactNode | (() => React.ReactNode);\n\nexport const selectionAllowedTypes: InputType[] = ['text', 'password', 'tel', 'search', 'url'];\nexport const selectionErrorMessage = (type: InputType, allowedTypes: InputType[] = selectionAllowedTypes) => {\n return `<Input />. Selection is not supported by the type \"${type}\". Types that support selection: ${allowedTypes\n .map((i) => `\"${i}\"`)\n .join(', ')}. Reason: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange.`;\n};\n\nexport const maskForbiddenTypes: InputType[] = ['number', 'date', 'time'];\nexport const maskAllowedTypes: InputType[] = inputTypes.filter((type) => {\n return !maskForbiddenTypes.includes(type);\n});\nexport const maskErrorMessage = (type: InputType, allowedTypes: InputType[] = maskAllowedTypes) => {\n return `<Input />. Prop \"mask\" does not support type \"${type}\". Supported types: ${allowedTypes\n .map((i) => `\"${i}\"`)\n .join(', ')}.`;\n};\nexport const calculateClearCrossShowedState = ({\n showClearIcon,\n notEmptyValue,\n focused,\n hovered,\n}: {\n showClearIcon: ShowClearIcon;\n notEmptyValue: boolean;\n focused?: boolean;\n hovered?: boolean;\n}): boolean => {\n switch (showClearIcon) {\n case 'always':\n return notEmptyValue;\n case 'auto':\n return Boolean((focused || hovered) && notEmptyValue);\n case 'never':\n return false;\n default:\n return catchUnreachableWarning(showClearIcon, false);\n }\n};\n\nexport interface InputProps\n extends CommonProps,\n Pick<HTMLAttributes<unknown>, 'role'>,\n Pick<AriaAttributes, 'aria-describedby' | 'aria-controls' | 'aria-label'>,\n Override<\n React.InputHTMLAttributes<HTMLInputElement>,\n {\n /** Показывать иконку очистки значения в непустом поле:\n * - `always` — всегда показывать иконку\n * - `auto` — показывать иконку при hover/focus\n * - `never` — не показывать иконку\n * При одновременной настройке `showClearIcon` и `rightIcon` показывается иконка очистки.\n * @default never */\n showClearIcon?: ShowClearIcon;\n\n /** Задает иконку слева.\n * При использовании `ReactNode` применяются дефолтные стили для иконки.\n * При использовании `() => ReactNode` применяются только стили для позиционирования. */\n leftIcon?: InputIconType;\n\n /** Добавляет иконку справа.\n * При использовании `ReactNode` применяются дефолтные стили для иконки.\n * При использовании `() => ReactNode` применяются только стили для позиционирования. */\n rightIcon?: InputIconType;\n\n /** Переводит контрол в состояние валидации \"ошибка\". */\n error?: boolean;\n\n /** Переводит контрол в состояние валидации \"предупреждение\". */\n warning?: boolean;\n\n /** Убирает обводку. */\n borderless?: boolean;\n\n /** Задает выравнивание контента. */\n align?: InputAlign;\n\n /** Задает паттерн маски. Доступен для типов `text`, `password`, `email`, `tel`, `search`, `url`\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n mask?: Nullable<string>;\n\n /** Устанавливает символ маски.\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n maskChar?: Nullable<string>;\n\n /** Задает словарь символов-регулярок для задания маски\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput.\n * @default { '9': '[0-9]', 'a': '[A-Za-z]', '*': '[A-Za-z0-9]' }. */\n formatChars?: Record<string, string>;\n\n /** Включает показ символов маски.\n * @deprecated Со следующей мажорной версии Input перестанет поддерживать маску. Используйте MaskedInput. */\n alwaysShowMask?: boolean;\n\n /** Задает размер. */\n size?: SizeProp;\n\n /** Задает функцию, которая вызывается при изменении значения в инпуте. */\n onValueChange?: (value: string) => void;\n\n /** @ignore */\n onMouseEnter?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** @ignore */\n onMouseLeave?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** @ignore */\n onMouseOver?: React.MouseEventHandler<HTMLLabelElement>;\n\n /** Задает тип инпута. */\n type?: InputType;\n\n /** Задает значение. */\n value?: string;\n\n ///** */\n capture?: boolean;\n\n /** Устанавливает префикс `ReactNode` перед значением, но после иконки. */\n prefix?: React.ReactNode;\n\n /** Устанавливает суффикс `ReactNode` после значения, но перед правой иконкой. */\n suffix?: React.ReactNode;\n\n /** Определяет, нужно ли выделять введенное значение при фокусе. Работает с типами `text`, `password`, `tel`, `search`, `url`. [Документация](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange) */\n selectAllOnFocus?: boolean;\n\n /** Задает функцию для обработки ввода.\n * При неправильном вводе инпут по-умолчанию вспыхивает акцентным цветом.\n * Если `onUnexpectedInput` передан - вызывается переданный обработчик b вспыхивание можно вызвать публичным методом инстанса `blink()`.\n * @param {string} value - значение инпута. */\n onUnexpectedInput?: (value: string) => void;\n\n /** Устанавливает радиус скруглений углов.\n * @ignore */\n corners?: Partial<\n Pick<\n React.CSSProperties,\n 'borderTopRightRadius' | 'borderBottomRightRadius' | 'borderBottomLeftRadius' | 'borderTopLeftRadius'\n >\n >;\n\n /** Устанавливает элемент, заменяющий нативный input. Должен иметь пропы `InputElementProps` и тип `InputElement`. */\n element?: ReactElement<InputElementProps>;\n }\n > {}\n\nexport interface InputState {\n blinking: boolean;\n focused: boolean;\n hovered: boolean;\n needsPolyfillPlaceholder: boolean;\n clearCrossShowed: boolean;\n}\n\nexport const InputDataTids = {\n root: 'Input__root',\n clearCross: 'Input__clearCross',\n} as const;\n\ntype DefaultProps = Required<Pick<InputProps, 'size' | 'type' | 'showClearIcon'>>;\n\n/**\n * Поле ввода `Input` дает возможность указать значение с помощью клавиатуры.\n *\n * Используйте поле ввода для коротких текстовых или цифровых значений без предсказуемого формата.\n *\n * Если вводимое значение имеет определенный формат, используйте специальную версию поля:\n * * Поле с паролем PasswordInput.\n * * Поле с валютой CurrencyInput.\n * * Поле с маской MaskedInput.\n * * Автополе FxInput.\n *\n * Интерфейс пропсов наследуется от `React.InputHTMLAttributes<HTMLInputElement>`.\n */\n@rootNode\nexport class Input extends React.Component<InputProps, InputState> {\n public static __KONTUR_REACT_UI__ = 'Input';\n public static displayName = 'Input';\n\n public static defaultProps: DefaultProps = {\n size: 'small',\n type: 'text',\n showClearIcon: 'never',\n };\n\n private getProps = createPropsGetter(Input.defaultProps);\n\n private selectAllId: number | null = null;\n private theme!: Theme;\n private blinkTimeout: SafeTimer;\n public input: HTMLInputElement | null = null;\n private setRootNode!: TSetRootNode;\n\n private getClearCrossShowed = ({\n focused,\n hovered,\n hasInitialValue,\n }: {\n focused?: boolean;\n hovered?: boolean;\n hasInitialValue?: boolean;\n }): boolean => {\n if (this.props.disabled) {\n return false;\n }\n return calculateClearCrossShowedState({\n showClearIcon: this.getProps().showClearIcon,\n notEmptyValue: Boolean(this.input?.value || hasInitialValue),\n focused,\n hovered,\n });\n };\n\n public state: InputState = {\n needsPolyfillPlaceholder,\n blinking: false,\n focused: false,\n hovered: false,\n clearCrossShowed: this.getClearCrossShowed({\n focused: false,\n hasInitialValue: Boolean(this.props.value || this.props.defaultValue),\n }),\n };\n\n private outputMaskError() {\n warning(!(this.props.mask && this.canBeUsedWithMask), maskErrorMessage(this.getProps().type));\n }\n\n public componentDidMount() {\n this.outputMaskError();\n }\n\n public componentDidUpdate(prevProps: Readonly<InputProps>) {\n if (this.props.type !== prevProps.type || this.props.mask !== prevProps.mask) {\n this.outputMaskError();\n }\n }\n\n public componentWillUnmount() {\n if (this.blinkTimeout) {\n globalObject.clearTimeout(this.blinkTimeout);\n }\n this.cancelDelayedSelectAll();\n }\n\n /**\n * @public\n */\n public focus() {\n invariant(this.input, 'Cannot call \"focus\" because Input is not mounted');\n this.input.focus();\n }\n\n /**\n * @public\n */\n public blur() {\n invariant(this.input, 'Cannot call \"blur\" because Input is not mounted');\n this.input.blur();\n }\n\n /**\n * @public\n */\n public getNode() {\n return this.input;\n }\n\n /**\n * @public\n */\n public blink() {\n if (this.blinkTimeout) {\n this.cancelBlink(() => {\n // trigger reflow to restart animation\n // @see https://css-tricks.com/restart-css-animation/#article-header-id-0\n void (this.input && this.input.offsetWidth);\n this.blink();\n });\n return;\n }\n this.setState({ blinking: true }, () => {\n this.blinkTimeout = globalObject.setTimeout(this.cancelBlink, 150);\n });\n }\n\n /**\n * @public\n * @param {number} start\n * @param {number} end\n */\n public setSelectionRange(start: number, end: number) {\n // https://github.com/facebook/react/issues/7769\n // https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange\n if (!selectionAllowedTypes.includes(this.getProps().type)) {\n warning(false, selectionErrorMessage(this.getProps().type));\n\n return;\n }\n\n if (!this.input) {\n throw new Error('Cannot call \"setSelectionRange\" on unmounted Input');\n }\n\n if (globalObject.document?.activeElement !== this.input) {\n this.focus();\n }\n if (this.props.mask && this.props.value && this.props.value?.length < this.props.mask.length) {\n globalObject.setTimeout(() => {\n this.input?.setSelectionRange(start, end);\n }, 150);\n } else {\n this.input?.setSelectionRange(start, end);\n }\n }\n\n public get isMaskVisible(): boolean {\n const { mask, alwaysShowMask } = this.props;\n const { focused } = this.state;\n return Boolean(mask && (focused || alwaysShowMask));\n }\n\n public render(): JSX.Element {\n return (\n <ThemeContext.Consumer>\n {(theme) => {\n this.theme = theme;\n return (\n <CommonWrapper rootNodeRef={this.setRootNode} {...this.getProps()}>\n {this.renderMain}\n </CommonWrapper>\n );\n }}\n </ThemeContext.Consumer>\n );\n }\n\n private get canBeUsedWithMask() {\n return maskForbiddenTypes.includes(this.getProps().type);\n }\n\n /**\n * Работает с типами `text`, `password`, `tel`, `search`, `url`\n * [Документация](https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange)\n * @public\n */\n public selectAll = (): void => this._selectAll();\n\n public delaySelectAll = (): number | null => {\n return (this.selectAllId = globalObject.requestAnimationFrame?.(this._selectAll) ?? null);\n };\n\n private _selectAll = (): void => {\n if (this.input) {\n this.setSelectionRange(0, this.input.value.length);\n }\n };\n\n private cancelDelayedSelectAll = (): void => {\n if (this.selectAllId) {\n globalObject.cancelAnimationFrame?.(this.selectAllId);\n this.selectAllId = null;\n }\n };\n\n private cancelBlink = (callback?: () => void): void => {\n if (this.blinkTimeout) {\n globalObject.clearTimeout(this.blinkTimeout);\n this.blinkTimeout = 0;\n if (this.state.blinking) {\n this.setState({ blinking: false }, callback);\n return;\n }\n }\n if (callback) {\n callback();\n }\n };\n\n private getInput = (inputProps: InputElementProps & ClassAttributes<HTMLInputElement>) => {\n if (this.props.element) {\n return React.cloneElement(this.props.element, inputProps);\n }\n\n return this.props.mask && !this.canBeUsedWithMask\n ? this.renderMaskedInput(inputProps, this.props.mask)\n : React.createElement('input', inputProps);\n };\n\n private renderMain = (props: CommonWrapperRestProps<InputProps>) => {\n const {\n onMouseEnter,\n onMouseLeave,\n onMouseOver,\n onKeyDown,\n onKeyPress,\n onValueChange,\n width,\n error,\n role,\n warning,\n leftIcon,\n rightIcon,\n borderless,\n value,\n align,\n type,\n mask,\n maskChar,\n alwaysShowMask,\n size,\n placeholder,\n selectAllOnFocus,\n disabled,\n onUnexpectedInput,\n prefix,\n suffix,\n formatChars,\n corners,\n 'aria-describedby': ariaDescribedby,\n 'aria-controls': ariaControls,\n 'aria-label': ariaLabel,\n element,\n showClearIcon,\n ...rest\n } = props;\n\n const { blinking, focused } = this.state;\n\n const labelProps = {\n className: cx(styles.root(this.theme), this.getSizeClassName(), {\n [styles.focus(this.theme)]: focused && !warning && !error,\n [styles.hovering(this.theme)]: !focused && !disabled && !warning && !error && !borderless,\n [styles.blink(this.theme)]: blinking,\n [styles.borderless()]: borderless && !focused,\n [styles.disabled(this.theme)]: disabled,\n [styles.warning(this.theme)]: warning,\n [styles.error(this.theme)]: error,\n [styles.focusFallback(this.theme)]: focused && (isIE11 || isEdge),\n [styles.warningFallback(this.theme)]: warning && (isIE11 || isEdge),\n [styles.errorFallback(this.theme)]: error && (isIE11 || isEdge),\n }),\n 'aria-controls': ariaControls,\n style: { width, ...corners },\n onMouseEnter: this.handleMouseEnter,\n onMouseLeave: this.handleMouseLeave,\n onMouseOver,\n };\n\n const inputProps: InputElementProps & ClassAttributes<HTMLInputElement> = {\n ...rest,\n className: cx(styles.input(this.theme), {\n [styles.inputFocus(this.theme)]: focused,\n [styles.inputDisabled(this.theme)]: disabled,\n }),\n value,\n role,\n onChange: this.handleChange,\n onFocus: this.handleFocus,\n onKeyDown: this.handleKeyDown,\n onKeyPress: this.handleKeyPress,\n onBlur: this.handleBlur,\n style: { textAlign: align },\n ref: this.refInput,\n type,\n placeholder: !this.isMaskVisible && !needsPolyfillPlaceholder ? placeholder : undefined,\n disabled,\n 'aria-describedby': ariaDescribedby,\n 'aria-label': ariaLabel,\n };\n\n const input = (\n <FocusControlWrapper onBlurWhenDisabled={this.resetFocus}>{this.getInput(inputProps)}</FocusControlWrapper>\n );\n\n const getRightIcon = () => {\n return this.state.clearCrossShowed ? (\n <ClearCrossIcon data-tid={InputDataTids.clearCross} size={size} onClick={this.handleClearInput} />\n ) : (\n rightIcon\n );\n };\n\n return (\n <InputLayout\n leftIcon={leftIcon}\n rightIcon={getRightIcon()}\n prefix={prefix}\n suffix={suffix}\n labelProps={labelProps}\n context={{ disabled: Boolean(disabled), focused, size }}\n >\n {input}\n {this.state.needsPolyfillPlaceholder && (\n <PolyfillPlaceholder\n isMaskVisible={this.isMaskVisible}\n value={value}\n defaultValue={this.props.defaultValue}\n align={align}\n >\n {placeholder}\n </PolyfillPlaceholder>\n )}\n </InputLayout>\n );\n };\n\n private renderMaskedInput(inputProps: React.InputHTMLAttributes<HTMLInputElement>, mask: string) {\n return (\n <InternalMaskedInput\n {...inputProps}\n mask={mask}\n maskChar={this.props.maskChar}\n alwaysShowMask={this.props.alwaysShowMask}\n formatChars={this.props.formatChars}\n onChange={this.props.onChange}\n onValueChange={this.handleMaskedValueChange}\n onUnexpectedInput={this.handleUnexpectedInput}\n />\n );\n }\n\n private getSizeClassName() {\n switch (this.getProps().size) {\n case 'large':\n return cx({\n [styles.sizeLarge(this.theme)]: true,\n [styles.sizeLargeFallback(this.theme)]: isIE11 || isEdge,\n });\n case 'medium':\n return cx({\n [styles.sizeMedium(this.theme)]: true,\n [styles.sizeMediumFallback(this.theme)]: isIE11 || isEdge,\n });\n case 'small':\n default:\n return cx({\n [styles.sizeSmall(this.theme)]: true,\n [styles.sizeSmallFallback(this.theme)]: isIE11 || isEdge,\n });\n }\n }\n\n private refInput = (element: HTMLInputElement | InternalMaskedInput | InputElement | null) => {\n if (element instanceof InternalMaskedInput || (element && 'input' in element)) {\n this.input = element.input;\n } else {\n this.input = element;\n }\n };\n\n private handleClearInput = () => {\n if (this.input) {\n this.input.value = '';\n }\n\n this.setState({ clearCrossShowed: false });\n\n if (this.props.onValueChange) {\n this.props.onValueChange('');\n }\n };\n\n private handleChange = (event: React.ChangeEvent<HTMLInputElement>) => {\n if (needsPolyfillPlaceholder) {\n const fieldIsEmpty = event.target.value === '';\n if (this.state.needsPolyfillPlaceholder !== fieldIsEmpty) {\n this.setState({ needsPolyfillPlaceholder: fieldIsEmpty });\n }\n }\n\n if (this.props.onValueChange) {\n this.props.onValueChange(event.target.value);\n }\n\n if (this.props.onChange) {\n this.props.onChange(event);\n }\n\n this.setState({\n clearCrossShowed: this.getClearCrossShowed({ focused: this.state.focused, hovered: this.state.hovered }),\n });\n };\n\n private handleMouseEnter = (e: React.MouseEvent<HTMLLabelElement, MouseEvent>) => {\n this.setState({\n hovered: true,\n clearCrossShowed: this.getClearCrossShowed({ focused: this.state.focused, hovered: true }),\n });\n if (this.props.onMouseEnter) {\n this.props.onMouseEnter(e);\n }\n };\n private handleMouseLeave = (e: React.MouseEvent<HTMLLabelElement, MouseEvent>) => {\n this.setState({\n hovered: false,\n clearCrossShowed: this.getClearCrossShowed({ focused: this.state.focused, hovered: false }),\n });\n if (this.props.onMouseLeave) {\n this.props.onMouseLeave(e);\n }\n };\n\n private handleFocus = (event: React.FocusEvent<HTMLInputElement>) => {\n this.setState({\n focused: true,\n clearCrossShowed: this.getClearCrossShowed({ focused: true, hovered: this.state.hovered }),\n });\n\n if (this.props.selectAllOnFocus) {\n this.input && !isIE11 ? this.selectAll() : this.delaySelectAll();\n }\n\n if (this.props.onFocus) {\n this.props.onFocus(event);\n }\n };\n\n private handleKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {\n if (this.props.onKeyDown) {\n this.props.onKeyDown(e);\n }\n\n const isDeleteKey = someKeys(isKeyBackspace, isKeyDelete)(e);\n\n if (!e.currentTarget.value && isDeleteKey && !e.repeat) {\n this.handleUnexpectedInput();\n }\n };\n\n private handleKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {\n if (this.props.onKeyPress) {\n this.props.onKeyPress(event);\n }\n\n if (this.props.maxLength === event.currentTarget.value.length) {\n this.handleUnexpectedInput(event.currentTarget.value);\n }\n };\n\n private handleMaskedValueChange = (value: string) => {\n if (this.props.onValueChange) {\n this.props.onValueChange(value);\n }\n };\n\n private handleUnexpectedInput = (value: string = this.props.value || '') => {\n if (this.props.onUnexpectedInput) {\n this.props.onUnexpectedInput(value);\n } else {\n this.blink();\n }\n };\n\n private resetFocus = () => this.setState({ focused: false });\n\n private handleBlur = (event: React.FocusEvent<HTMLInputElement>) => {\n const showClearIcon = this.props.showClearIcon;\n if (showClearIcon && getRootNode(this)?.contains(event.relatedTarget)) {\n this.setState({ focused: false });\n } else {\n const clearCrossShowed = this.getClearCrossShowed({ focused: false, hovered: this.state.hovered });\n this.setState({\n focused: false,\n clearCrossShowed,\n });\n this.props.onBlur?.(event);\n }\n };\n}\n"],"mappings":"2vBAAA;AACA,OAAOA,SAAS,MAAM,WAAW;AACjC,OAAOC,KAAK,MAAyE,OAAO;AAC5F,OAAOC,OAAO,MAAM,SAAS;AAC7B,SAASC,YAAY,QAAmB,0BAA0B;;AAElE,SAASC,MAAM,EAAEC,MAAM,QAAQ,kBAAkB;AACjD,SAASC,cAAc,EAAEC,WAAW,EAAEC,QAAQ,QAAQ,uCAAuC;AAC7F,SAASC,wBAAwB,QAAQ,oCAAoC;;AAE7E,SAASC,mBAAmB,QAAQ,oCAAoC;AACxE,SAASC,YAAY,QAAQ,gCAAgC;;AAE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