@consta/uikit 3.24.5 → 3.26.1

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 (428) hide show
  1. package/Attach/package.json +1 -1
  2. package/Attachment/package.json +1 -1
  3. package/Avatar/package.json +1 -1
  4. package/Badge/package.json +1 -1
  5. package/BasicSelectDeprecated/package.json +1 -1
  6. package/Breadcrumbs/package.json +1 -1
  7. package/BreadcrumbsCanary/package.json +1 -1
  8. package/Button/package.json +1 -1
  9. package/CHANGELOG.md +45 -35
  10. package/Calendar/package.json +1 -1
  11. package/Card/package.json +1 -1
  12. package/Checkbox/package.json +1 -1
  13. package/CheckboxGroup/package.json +1 -1
  14. package/CheckboxGroupCanary/package.json +1 -1
  15. package/ChoiceGroup/package.json +1 -1
  16. package/ChoiceGroupCanary/package.json +1 -1
  17. package/Collapse/package.json +1 -1
  18. package/CollapseGroup/package.json +1 -1
  19. package/Combobox/package.json +1 -1
  20. package/ComboboxDeprecated/package.json +1 -1
  21. package/ContextMenu/package.json +1 -1
  22. package/ContextMenuCanary/package.json +1 -1
  23. package/DatePickerCanary/package.json +1 -1
  24. package/DateTimeCanary/package.json +1 -1
  25. package/DragNDropField/package.json +1 -1
  26. package/EventInterceptor/package.json +1 -1
  27. package/FieldCaption/package.json +1 -1
  28. package/FieldGroup/es.js +1 -0
  29. package/FieldGroup/index.d.ts +1 -0
  30. package/FieldGroup/index.js +4 -0
  31. package/FieldGroup/package.json +9 -0
  32. package/FieldLabel/package.json +1 -1
  33. package/File/package.json +1 -1
  34. package/FileField/package.json +1 -1
  35. package/FileIcon/package.json +1 -1
  36. package/FileIconAvi/package.json +1 -1
  37. package/FileIconBmp/package.json +1 -1
  38. package/FileIconCsv/package.json +1 -1
  39. package/FileIconDoc/package.json +1 -1
  40. package/FileIconExe/package.json +1 -1
  41. package/FileIconGif/package.json +1 -1
  42. package/FileIconJpg/package.json +1 -1
  43. package/FileIconJson/package.json +1 -1
  44. package/FileIconLoading/package.json +1 -1
  45. package/FileIconMov/package.json +1 -1
  46. package/FileIconMp3/package.json +1 -1
  47. package/FileIconMp4/package.json +1 -1
  48. package/FileIconPdf/package.json +1 -1
  49. package/FileIconPng/package.json +1 -1
  50. package/FileIconPpt/package.json +1 -1
  51. package/FileIconRar/package.json +1 -1
  52. package/FileIconRtf/package.json +1 -1
  53. package/FileIconTiff/package.json +1 -1
  54. package/FileIconTxt/package.json +1 -1
  55. package/FileIconUndefined/package.json +1 -1
  56. package/FileIconWav/package.json +1 -1
  57. package/FileIconXls/package.json +1 -1
  58. package/FileIconZip/package.json +1 -1
  59. package/Grid/package.json +1 -1
  60. package/Header/package.json +1 -1
  61. package/Icon/package.json +1 -1
  62. package/IconAdd/package.json +1 -1
  63. package/IconAddToComparison/package.json +1 -1
  64. package/IconAlert/package.json +1 -1
  65. package/IconAlignBlocksLeft/package.json +1 -1
  66. package/IconAlignBlocksRight/package.json +1 -1
  67. package/IconAlignCenter/package.json +1 -1
  68. package/IconAlignJustify/package.json +1 -1
  69. package/IconAlignLeft/package.json +1 -1
  70. package/IconAlignRight/package.json +1 -1
  71. package/IconAllDone/package.json +1 -1
  72. package/IconArrowDown/package.json +1 -1
  73. package/IconArrowLeft/package.json +1 -1
  74. package/IconArrowRight/package.json +1 -1
  75. package/IconArrowUp/package.json +1 -1
  76. package/IconArtBrush/package.json +1 -1
  77. package/IconAttach/package.json +1 -1
  78. package/IconBackward/package.json +1 -1
  79. package/IconBag/package.json +1 -1
  80. package/IconBarrier/package.json +1 -1
  81. package/IconBento/package.json +1 -1
  82. package/IconBold/package.json +1 -1
  83. package/IconBook/package.json +1 -1
  84. package/IconBookmarkFilled/package.json +1 -1
  85. package/IconBookmarkStroked/package.json +1 -1
  86. package/IconCalculator/package.json +1 -1
  87. package/IconCalendar/package.json +1 -1
  88. package/IconCamera/package.json +1 -1
  89. package/IconCancel/package.json +1 -1
  90. package/IconCards/package.json +1 -1
  91. package/IconChat/package.json +1 -1
  92. package/IconCheck/package.json +1 -1
  93. package/IconClose/package.json +1 -1
  94. package/IconCollapse/package.json +1 -1
  95. package/IconColorFill/package.json +1 -1
  96. package/IconColorText/package.json +1 -1
  97. package/IconColumns/package.json +1 -1
  98. package/IconComment/package.json +1 -1
  99. package/IconConnection/package.json +1 -1
  100. package/IconCopy/package.json +1 -1
  101. package/IconCrown/package.json +1 -1
  102. package/IconCursorMouse/package.json +1 -1
  103. package/IconDataNull/package.json +1 -1
  104. package/IconDiamond/package.json +1 -1
  105. package/IconDinosaur/package.json +1 -1
  106. package/IconDisconnection/package.json +1 -1
  107. package/IconDocAdd/package.json +1 -1
  108. package/IconDocBlank/package.json +1 -1
  109. package/IconDocDelete/package.json +1 -1
  110. package/IconDocExport/package.json +1 -1
  111. package/IconDocFilled/package.json +1 -1
  112. package/IconDown/package.json +1 -1
  113. package/IconDownload/package.json +1 -1
  114. package/IconDrag/package.json +1 -1
  115. package/IconDraggable/package.json +1 -1
  116. package/IconDrillingRig/package.json +1 -1
  117. package/IconDrop/package.json +1 -1
  118. package/IconEdit/package.json +1 -1
  119. package/IconExit/package.json +1 -1
  120. package/IconExpand/package.json +1 -1
  121. package/IconEye/package.json +1 -1
  122. package/IconEyeClose/package.json +1 -1
  123. package/IconFacebook/package.json +1 -1
  124. package/IconFavorite/package.json +1 -1
  125. package/IconFilter/package.json +1 -1
  126. package/IconFitToDefault/package.json +1 -1
  127. package/IconFlagFilled/package.json +1 -1
  128. package/IconFlagStroked/package.json +1 -1
  129. package/IconFolders/package.json +1 -1
  130. package/IconForward/package.json +1 -1
  131. package/IconFunnel/package.json +1 -1
  132. package/IconGas/package.json +1 -1
  133. package/IconGeo/package.json +1 -1
  134. package/IconGrouping/package.json +1 -1
  135. package/IconHamburger/package.json +1 -1
  136. package/IconHand/package.json +1 -1
  137. package/IconHealth/package.json +1 -1
  138. package/IconHome/package.json +1 -1
  139. package/IconInComparison/package.json +1 -1
  140. package/IconInfo/package.json +1 -1
  141. package/IconInstagram/package.json +1 -1
  142. package/IconIntroduction/package.json +1 -1
  143. package/IconIpad/package.json +1 -1
  144. package/IconItalic/package.json +1 -1
  145. package/IconKebab/package.json +1 -1
  146. package/IconLaptop/package.json +1 -1
  147. package/IconLayers/package.json +1 -1
  148. package/IconLeaf/package.json +1 -1
  149. package/IconLightningBolt/package.json +1 -1
  150. package/IconLineAndBarChart/package.json +1 -1
  151. package/IconLink/package.json +1 -1
  152. package/IconList/package.json +1 -1
  153. package/IconListNumbered/package.json +1 -1
  154. package/IconLock/package.json +1 -1
  155. package/IconLogicalElement/package.json +1 -1
  156. package/IconMBU/package.json +1 -1
  157. package/IconMGRP/package.json +1 -1
  158. package/IconMLSP/package.json +1 -1
  159. package/IconMMP/package.json +1 -1
  160. package/IconMail/package.json +1 -1
  161. package/IconMap/package.json +1 -1
  162. package/IconMaxHeight/package.json +1 -1
  163. package/IconMaxWidth/package.json +1 -1
  164. package/IconMeatball/package.json +1 -1
  165. package/IconMic/package.json +1 -1
  166. package/IconMolecules/package.json +1 -1
  167. package/IconMoon/package.json +1 -1
  168. package/IconNodeEnd/package.json +1 -1
  169. package/IconNodeStart/package.json +1 -1
  170. package/IconNodeStep/package.json +1 -1
  171. package/IconNodes/package.json +1 -1
  172. package/IconOpenInNew/package.json +1 -1
  173. package/IconOperators/package.json +1 -1
  174. package/IconPanelBottom/package.json +1 -1
  175. package/IconPanelLeft/package.json +1 -1
  176. package/IconPanelRight/package.json +1 -1
  177. package/IconPanelTop/package.json +1 -1
  178. package/IconPaste/package.json +1 -1
  179. package/IconPause/package.json +1 -1
  180. package/IconPhone/package.json +1 -1
  181. package/IconPhoto/package.json +1 -1
  182. package/IconPicture/package.json +1 -1
  183. package/IconPlay/package.json +1 -1
  184. package/IconPressure/package.json +1 -1
  185. package/IconPriceLabel/package.json +1 -1
  186. package/IconProcessing/package.json +1 -1
  187. package/IconQuestion/package.json +1 -1
  188. package/IconQuote/package.json +1 -1
  189. package/IconRUO/package.json +1 -1
  190. package/IconRUS/package.json +1 -1
  191. package/IconRecord/package.json +1 -1
  192. package/IconRemove/package.json +1 -1
  193. package/IconRemoveFromComparison/package.json +1 -1
  194. package/IconReply/package.json +1 -1
  195. package/IconResize/package.json +1 -1
  196. package/IconRestart/package.json +1 -1
  197. package/IconRevert/package.json +1 -1
  198. package/IconRing/package.json +1 -1
  199. package/IconRouble/package.json +1 -1
  200. package/IconRuler/package.json +1 -1
  201. package/IconSave/package.json +1 -1
  202. package/IconScreen/package.json +1 -1
  203. package/IconSearch/package.json +1 -1
  204. package/IconSelect/package.json +1 -1
  205. package/IconSelectOpen/package.json +1 -1
  206. package/IconSendMessage/package.json +1 -1
  207. package/IconSettings/package.json +1 -1
  208. package/IconShape/package.json +1 -1
  209. package/IconShuffle/package.json +1 -1
  210. package/IconSmile/package.json +1 -1
  211. package/IconSortDown/package.json +1 -1
  212. package/IconSortDownCenter/package.json +1 -1
  213. package/IconSortUp/package.json +1 -1
  214. package/IconSortUpCenter/package.json +1 -1
  215. package/IconStop/package.json +1 -1
  216. package/IconStorage/package.json +1 -1
  217. package/IconStrikethrough/package.json +1 -1
  218. package/IconSun/package.json +1 -1
  219. package/IconTable/package.json +1 -1
  220. package/IconTable2/package.json +1 -1
  221. package/IconTarget/package.json +1 -1
  222. package/IconTeam/package.json +1 -1
  223. package/IconTechResponse/package.json +1 -1
  224. package/IconTest/package.json +1 -1
  225. package/IconThumbUp/package.json +1 -1
  226. package/IconTie/package.json +1 -1
  227. package/IconTop/package.json +1 -1
  228. package/IconTrash/package.json +1 -1
  229. package/IconType/package.json +1 -1
  230. package/IconUnderline/package.json +1 -1
  231. package/IconUnlock/package.json +1 -1
  232. package/IconUnsort/package.json +1 -1
  233. package/IconUnsortCenter/package.json +1 -1
  234. package/IconUpload/package.json +1 -1
  235. package/IconUser/package.json +1 -1
  236. package/IconVZD/package.json +1 -1
  237. package/IconVideo/package.json +1 -1
  238. package/IconVkontakte/package.json +1 -1
  239. package/IconWarning/package.json +1 -1
  240. package/IconWatch/package.json +1 -1
  241. package/IconWideScreen/package.json +1 -1
  242. package/IconWorld/package.json +1 -1
  243. package/IconWrench/package.json +1 -1
  244. package/IconYandexDzen/package.json +1 -1
  245. package/IconYoutube/package.json +1 -1
  246. package/Informer/package.json +1 -1
  247. package/LayoutCanary/package.json +1 -1
  248. package/Loader/package.json +1 -1
  249. package/MixCard/package.json +1 -1
  250. package/MixFocus/package.json +1 -1
  251. package/MixPopoverAnimate/package.json +1 -1
  252. package/MixPopoverArrow/package.json +1 -1
  253. package/MixSpace/package.json +1 -1
  254. package/MixVisuallyHidden/package.json +1 -1
  255. package/Modal/package.json +1 -1
  256. package/MultiComboboxDeprecated/package.json +1 -1
  257. package/Pagination/package.json +1 -1
  258. package/Popover/package.json +1 -1
  259. package/PortalWithTheme/package.json +1 -1
  260. package/ProgressLine/es.js +1 -0
  261. package/ProgressLine/index.d.ts +1 -0
  262. package/ProgressLine/index.js +4 -0
  263. package/ProgressLine/package.json +9 -0
  264. package/ProgressSpin/package.json +1 -1
  265. package/ProgressStepBarCanary/package.json +1 -1
  266. package/Radio/package.json +1 -1
  267. package/RadioGroup/package.json +1 -1
  268. package/Responses/package.json +1 -1
  269. package/Responses403/package.json +1 -1
  270. package/Responses404/package.json +1 -1
  271. package/Responses500/package.json +1 -1
  272. package/Responses503/package.json +1 -1
  273. package/ResponsesConnectionError/package.json +1 -1
  274. package/ResponsesDeleted/package.json +1 -1
  275. package/ResponsesEmptyBox/package.json +1 -1
  276. package/ResponsesEmptyPockets/package.json +1 -1
  277. package/ResponsesExit/package.json +1 -1
  278. package/ResponsesImage/package.json +1 -1
  279. package/ResponsesImage403/package.json +1 -1
  280. package/ResponsesImage404/package.json +1 -1
  281. package/ResponsesImage500/package.json +1 -1
  282. package/ResponsesImage503/package.json +1 -1
  283. package/ResponsesImageConnectionError/package.json +1 -1
  284. package/ResponsesImageDeleted/package.json +1 -1
  285. package/ResponsesImageEmptyBox/package.json +1 -1
  286. package/ResponsesImageEmptyPockets/package.json +1 -1
  287. package/ResponsesImageNothingFound/package.json +1 -1
  288. package/ResponsesImageSuccess/package.json +1 -1
  289. package/ResponsesNothingFound/package.json +1 -1
  290. package/ResponsesSuccess/package.json +1 -1
  291. package/Select/package.json +1 -1
  292. package/Sidebar/package.json +1 -1
  293. package/Skeleton/package.json +1 -1
  294. package/SliderCanary/package.json +1 -1
  295. package/SnackBar/package.json +1 -1
  296. package/Steps/package.json +1 -1
  297. package/StepsCanary/package.json +1 -1
  298. package/Switch/package.json +1 -1
  299. package/SwitchGroup/package.json +1 -1
  300. package/SwitchGroupCanary/package.json +1 -1
  301. package/Table/package.json +1 -1
  302. package/Tabs/package.json +1 -1
  303. package/TabsCanary/package.json +1 -1
  304. package/Tag/package.json +1 -1
  305. package/TagBase/package.json +1 -1
  306. package/Text/package.json +1 -1
  307. package/TextField/package.json +1 -1
  308. package/Theme/package.json +1 -1
  309. package/ThemeToggler/package.json +1 -1
  310. package/Timer/package.json +1 -1
  311. package/Tooltip/package.json +1 -1
  312. package/User/package.json +1 -1
  313. package/UserSelect/package.json +1 -1
  314. package/UserSelectDeprecated/package.json +1 -1
  315. package/__internal__/cjs-src/components/Button/Button.d.ts +1 -1
  316. package/__internal__/cjs-src/components/Button/Button.js +17 -1
  317. package/__internal__/cjs-src/components/Card/Card.d.ts +1 -0
  318. package/__internal__/cjs-src/components/Card/Card.js +2 -2
  319. package/__internal__/cjs-src/components/Combobox/Combobox.js +3 -4
  320. package/__internal__/cjs-src/components/Combobox/helpers.d.ts +2 -0
  321. package/__internal__/cjs-src/components/DatePickerCanary/helpers.js +3 -35
  322. package/__internal__/cjs-src/components/DateTimeCanary/DateTimeTypeTime/helpers.js +1 -1
  323. package/__internal__/cjs-src/components/EventInterceptor/propsHandlers/useTextFieldEventsHandler.d.ts +8 -1
  324. package/__internal__/cjs-src/components/FieldGroup/FieldGroup.css +5 -0
  325. package/__internal__/cjs-src/components/FieldGroup/FieldGroup.d.ts +10 -0
  326. package/__internal__/cjs-src/components/FieldGroup/FieldGroup.js +27 -0
  327. package/__internal__/cjs-src/components/FieldGroup/getForm.d.ts +2 -0
  328. package/__internal__/cjs-src/components/FieldGroup/getForm.js +29 -0
  329. package/__internal__/cjs-src/components/FieldGroup/types.d.ts +14 -0
  330. package/__internal__/cjs-src/components/FieldGroup/types.js +2 -0
  331. package/__internal__/cjs-src/components/ProgressLine/ProgressLine.css +67 -0
  332. package/__internal__/cjs-src/components/ProgressLine/ProgressLine.d.ts +3 -0
  333. package/__internal__/cjs-src/components/ProgressLine/ProgressLine.js +27 -0
  334. package/__internal__/cjs-src/components/ProgressLine/types.d.ts +10 -0
  335. package/__internal__/cjs-src/components/ProgressLine/types.js +5 -0
  336. package/__internal__/cjs-src/components/ProgressSpin/ProgressSpin.d.ts +1 -0
  337. package/__internal__/cjs-src/components/ProgressSpin/ProgressSpin.js +2 -1
  338. package/__internal__/cjs-src/components/Select/Select.js +3 -4
  339. package/__internal__/cjs-src/components/Select/helpers.d.ts +2 -0
  340. package/__internal__/cjs-src/components/SelectComponents/helpers.d.ts +0 -3
  341. package/__internal__/cjs-src/components/SelectComponents/helpers.js +1 -20
  342. package/__internal__/cjs-src/components/Sidebar/Sidebar.js +2 -2
  343. package/__internal__/cjs-src/components/SliderCanary/SliderCanary.js +19 -11
  344. package/__internal__/cjs-src/components/SliderCanary/SliderLine/SliderLine.css +2 -2
  345. package/__internal__/cjs-src/components/SliderCanary/SliderPoint/SliderPoint.css +2 -4
  346. package/__internal__/cjs-src/components/SliderCanary/useSlider/helper.d.ts +3 -2
  347. package/__internal__/cjs-src/components/SliderCanary/useSlider/helper.js +37 -14
  348. package/__internal__/cjs-src/components/SliderCanary/useSlider/useSlider.d.ts +1 -0
  349. package/__internal__/cjs-src/components/SliderCanary/useSlider/useSlider.js +32 -4
  350. package/__internal__/cjs-src/components/SliderCanary/useSliderStationing.d.ts +1 -1
  351. package/__internal__/cjs-src/components/SliderCanary/useSliderStationing.js +14 -3
  352. package/__internal__/cjs-src/components/TextField/TextField.js +13 -5
  353. package/__internal__/cjs-src/components/TextField/types.d.ts +7 -0
  354. package/__internal__/cjs-src/components/User/User.css +1 -0
  355. package/__internal__/cjs-src/components/UserSelect/UserSelect.js +3 -4
  356. package/__internal__/cjs-src/components/UserSelect/helpers.d.ts +2 -0
  357. package/__internal__/cjs-src/mixs/MixCard/MixCard.css +4 -0
  358. package/__internal__/cjs-src/mixs/MixCard/MixCard.d.ts +1 -0
  359. package/__internal__/src/components/Button/Button.d.ts +1 -1
  360. package/__internal__/src/components/Button/Button.js +17 -1
  361. package/__internal__/src/components/Card/Card.d.ts +1 -0
  362. package/__internal__/src/components/Card/Card.js +2 -2
  363. package/__internal__/src/components/Combobox/Combobox.js +4 -5
  364. package/__internal__/src/components/Combobox/helpers.d.ts +2 -0
  365. package/__internal__/src/components/DatePickerCanary/helpers.js +3 -35
  366. package/__internal__/src/components/DateTimeCanary/DateTimeTypeTime/helpers.js +1 -1
  367. package/__internal__/src/components/EventInterceptor/propsHandlers/useTextFieldEventsHandler.d.ts +8 -1
  368. package/__internal__/src/components/FieldGroup/FieldGroup.css +5 -0
  369. package/__internal__/src/components/FieldGroup/FieldGroup.d.ts +10 -0
  370. package/__internal__/src/components/FieldGroup/FieldGroup.js +24 -0
  371. package/__internal__/src/components/FieldGroup/getForm.d.ts +2 -0
  372. package/__internal__/src/components/FieldGroup/getForm.js +26 -0
  373. package/__internal__/src/components/FieldGroup/types.d.ts +14 -0
  374. package/__internal__/src/components/FieldGroup/types.js +0 -0
  375. package/__internal__/src/components/ProgressLine/ProgressLine.css +67 -0
  376. package/__internal__/src/components/ProgressLine/ProgressLine.d.ts +3 -0
  377. package/__internal__/src/components/ProgressLine/ProgressLine.js +24 -0
  378. package/__internal__/src/components/ProgressLine/types.d.ts +10 -0
  379. package/__internal__/src/components/ProgressLine/types.js +2 -0
  380. package/__internal__/src/components/ProgressSpin/ProgressSpin.d.ts +1 -0
  381. package/__internal__/src/components/ProgressSpin/ProgressSpin.js +2 -1
  382. package/__internal__/src/components/Select/Select.js +4 -5
  383. package/__internal__/src/components/Select/helpers.d.ts +2 -0
  384. package/__internal__/src/components/SelectComponents/helpers.d.ts +0 -3
  385. package/__internal__/src/components/SelectComponents/helpers.js +0 -18
  386. package/__internal__/src/components/Sidebar/Sidebar.js +2 -2
  387. package/__internal__/src/components/SliderCanary/SliderCanary.js +19 -11
  388. package/__internal__/src/components/SliderCanary/SliderLine/SliderLine.css +2 -2
  389. package/__internal__/src/components/SliderCanary/SliderPoint/SliderPoint.css +2 -4
  390. package/__internal__/src/components/SliderCanary/useSlider/helper.d.ts +3 -2
  391. package/__internal__/src/components/SliderCanary/useSlider/helper.js +37 -14
  392. package/__internal__/src/components/SliderCanary/useSlider/useSlider.d.ts +1 -0
  393. package/__internal__/src/components/SliderCanary/useSlider/useSlider.js +32 -4
  394. package/__internal__/src/components/SliderCanary/useSliderStationing.d.ts +1 -1
  395. package/__internal__/src/components/SliderCanary/useSliderStationing.js +15 -4
  396. package/__internal__/src/components/TextField/TextField.js +13 -5
  397. package/__internal__/src/components/TextField/types.d.ts +7 -0
  398. package/__internal__/src/components/User/User.css +1 -0
  399. package/__internal__/src/components/UserSelect/UserSelect.js +4 -5
  400. package/__internal__/src/components/UserSelect/helpers.d.ts +2 -0
  401. package/__internal__/src/mixs/MixCard/MixCard.css +4 -0
  402. package/__internal__/src/mixs/MixCard/MixCard.d.ts +1 -0
  403. package/createIcon/package.json +1 -1
  404. package/createResponsesImage/package.json +1 -1
  405. package/package.json +3 -1
  406. package/useBreakpoints/package.json +1 -1
  407. package/useChoiceGroup/package.json +1 -1
  408. package/useChoiceGroupIndexed/package.json +1 -1
  409. package/useClickOutside/package.json +1 -1
  410. package/useComponentSize/package.json +1 -1
  411. package/useDebounce/package.json +1 -1
  412. package/useFlag/package.json +1 -1
  413. package/useForkRef/package.json +1 -1
  414. package/useGlobalKeys/package.json +1 -1
  415. package/useHideElementsInLine/package.json +1 -1
  416. package/useKeys/package.json +1 -1
  417. package/useMutableRef/package.json +1 -1
  418. package/useOverflow/package.json +1 -1
  419. package/usePrevious/package.json +1 -1
  420. package/useRefs/package.json +1 -1
  421. package/useResizeObserved/package.json +1 -1
  422. package/useScrollElements/package.json +1 -1
  423. package/useScrollPosition/package.json +1 -1
  424. package/useSelect/package.json +1 -1
  425. package/useSortSteps/package.json +1 -1
  426. package/useThemeVars/package.json +1 -1
  427. package/useTimer/package.json +1 -1
  428. package/withTooltip/package.json +1 -1
@@ -1,12 +1,25 @@
1
1
  import { __read, __spread } from "tslib";
2
- import { useCallback, useEffect, useRef, useState } from 'react';
2
+ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
3
3
  import { useComponentSize } from '../../../hooks/useComponentSize/useComponentSize';
4
4
  import { useMutableRef } from '../../../hooks/useMutableRef/useMutableRef';
5
5
  import { getActiveValue, getNewValue, getValidValue, getValueByPosition, isNotRangeParams, isRangeParams, trackPosition, } from './helper';
6
+ export var COUNT_STEPS = 250;
6
7
  export function useSlider(props) {
7
8
  var disabled = props.disabled, range = props.range, value = props.value, min = props.min, max = props.max, _a = props.step, step = _a === void 0 ? 1 : _a, onChange = props.onChange, onAfterChange = props.onAfterChange, sliderRef = props.sliderRef, buttonRefs = props.buttonRefs;
8
9
  var minValue = max > min ? min : 0;
9
10
  var maxValue = max > min ? max : 100;
11
+ var dragStepValue = useMemo(function () {
12
+ if (!Array.isArray(step)) {
13
+ if (step >= 1) {
14
+ var val = Math.abs((maxValue - minValue) / COUNT_STEPS);
15
+ if (val > step) {
16
+ return val - (val % step);
17
+ }
18
+ return Math.max(val, step);
19
+ }
20
+ }
21
+ return step;
22
+ }, [max, min, step]);
10
23
  var _b = __read(useState(value), 2), currentValue = _b[0], setCurrentValue = _b[1];
11
24
  var _c = __read(useState(null), 2), leftPopover = _c[0], setLeftPopover = _c[1];
12
25
  var _d = __read(useState(null), 2), rightPopover = _d[0], setRightPopover = _d[1];
@@ -71,6 +84,20 @@ export function useSlider(props) {
71
84
  }
72
85
  }
73
86
  }, []);
87
+ var onSliderClick = function (e) {
88
+ if (isNotRangeParams(props)) {
89
+ var positionValue = getValueByPosition({ x: e.pageX, y: e.pageY }, sliderRef, minValue, maxValue, step);
90
+ var newValue = getNewValue(positionValue, currentValue, dragStepValue, min, max, activeButton.current);
91
+ if (newValue !== value) {
92
+ setCurrentValue(newValue);
93
+ setTooltipPosition(getActiveValue(newValue, 0), 0);
94
+ onChange === null || onChange === void 0 ? void 0 : onChange({
95
+ e: e,
96
+ value: newValue
97
+ });
98
+ }
99
+ }
100
+ };
74
101
  var onKeyPress = useCallback(function (event, typeButton) {
75
102
  if (!disabled && typeof typeButton === 'number' && typeof currentValue !== 'undefined') {
76
103
  var stepIncrement_1 = !Array.isArray(step) ? step || 1 : 1;
@@ -148,8 +175,8 @@ export function useSlider(props) {
148
175
  return value;
149
176
  }
150
177
  var position = trackPosition(nativeEvent);
151
- var positionValue = getValueByPosition(position, sliderRef, minValue, maxValue);
152
- return getNewValue(positionValue, currentValue, step, min, max, activeButton.current);
178
+ var positionValue = getValueByPosition(position, sliderRef, minValue, maxValue, step);
179
+ return getNewValue(positionValue, currentValue, dragStepValue, min, max, activeButton.current);
153
180
  };
154
181
  var onFocus = function (e, button) {
155
182
  activeButton.current = button;
@@ -160,8 +187,8 @@ export function useSlider(props) {
160
187
  var position = changePosition(event);
161
188
  var oldValue = getActiveValue(currentValue, button);
162
189
  var newValue = getActiveValue(position, button);
190
+ setCurrentValue(position);
163
191
  if (oldValue !== newValue) {
164
- setCurrentValue(position);
165
192
  onAfterChange === null || onAfterChange === void 0 ? void 0 : onAfterChange({ e: event, value: position });
166
193
  }
167
194
  }
@@ -199,6 +226,7 @@ export function useSlider(props) {
199
226
  onKeyPress: onKeyPress,
200
227
  onFocus: onFocus,
201
228
  handlePress: handlePress,
229
+ onSliderClick: onSliderClick,
202
230
  activeButton: activeButton.current,
203
231
  popoverPosition: [leftPopover, rightPopover],
204
232
  currentValue: Array.isArray(currentValue) ? currentValue : [currentValue]
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Line, PropView } from './helper';
3
- declare type UseSliderStationing = (value: number | [number, number] | undefined, min: number, max: number, view: PropView, range: boolean | undefined, step: number | number[] | undefined, buttonRefs: [React.RefObject<HTMLButtonElement>, React.RefObject<HTMLButtonElement>], sliderLineRef: React.RefObject<HTMLDivElement>) => {
3
+ declare type UseSliderStationing = (value: number | [number, number] | undefined, min: number, max: number, view: PropView, range: boolean | undefined, step: number | number[] | undefined, buttonRefs: [React.RefObject<HTMLButtonElement>, React.RefObject<HTMLButtonElement>], sliderLineRef: React.RefObject<HTMLButtonElement | HTMLDivElement>) => {
4
4
  lineSizes: Line[];
5
5
  buttonPositions: number[];
6
6
  };
@@ -1,5 +1,6 @@
1
1
  import { __read, __spread } from "tslib";
2
- import { useCallback, useEffect, useState } from 'react';
2
+ import { useCallback, useEffect, useMemo, useState } from 'react';
3
+ import { COUNT_STEPS } from './useSlider/useSlider';
3
4
  export var getSteps = function (step, min, max) {
4
5
  var stepsArray = [];
5
6
  var size = min;
@@ -26,6 +27,16 @@ export var useSliderStationing = function (value, min, max, view, range, step, b
26
27
  if (step === void 0) { step = 1; }
27
28
  var _a = __read(useState([]), 2), lineSizes = _a[0], setLineSizes = _a[1];
28
29
  var _b = __read(useState([]), 2), buttonPositions = _b[0], setButtonPositions = _b[1];
30
+ var calcualtedStep = useMemo(function () {
31
+ if (!Array.isArray(step)) {
32
+ var val = Math.abs((max - min) / COUNT_STEPS);
33
+ if (val > step) {
34
+ return val - (val % step);
35
+ }
36
+ return Math.max(val, step);
37
+ }
38
+ return step;
39
+ }, [max, min, step]);
29
40
  var calculateLines = function () {
30
41
  var sizesArray = [];
31
42
  var absoluteSize = Math.abs(max - min);
@@ -59,8 +70,8 @@ export var useSliderStationing = function (value, min, max, view, range, step, b
59
70
  });
60
71
  }
61
72
  }
62
- else if (typeof step !== 'undefined') {
63
- getSteps(step, min, max).forEach(function (stepSize) {
73
+ else if (typeof calcualtedStep !== 'undefined') {
74
+ getSteps(calcualtedStep, min, max).forEach(function (stepSize) {
64
75
  sizesArray.push({
65
76
  width: (Math.abs(stepSize.max - stepSize.min) * 100) / absoluteSize,
66
77
  active: (typeof value === 'number' || Array.isArray(value)) &&
@@ -111,7 +122,7 @@ export var useSliderStationing = function (value, min, max, view, range, step, b
111
122
  useEffect(function () {
112
123
  setLineSizes(calculateLines());
113
124
  setButtonPositions(calculateButtonPositions());
114
- }, [value, min, max, range, step, view]);
125
+ }, [value, min, max, range, calcualtedStep, view]);
115
126
  return {
116
127
  lineSizes: lineSizes,
117
128
  buttonPositions: buttonPositions
@@ -24,9 +24,11 @@ export var cnTextField = cn(COMPONENT_NAME);
24
24
  export function TextFieldRender(props, ref) {
25
25
  var textFieldRef = React.useRef(null);
26
26
  var inputRef = React.useRef(null);
27
- var _a = usePropsHandler(COMPONENT_NAME, props, textFieldRef), className = _a.className, _b = _a.type, type = _b === void 0 ? 'text' : _b, value = _a.value, onChange = _a.onChange, id = _a.id, name = _a.name, rows = _a.rows, cols = _a.cols, minRows = _a.minRows, maxRows = _a.maxRows, inputRefProp = _a.inputRef, maxLength = _a.maxLength, disabled = _a.disabled, _c = _a.size, size = _c === void 0 ? textFieldPropSizeDefault : _c, _d = _a.view, view = _d === void 0 ? textFieldPropViewDefault : _d, _e = _a.form, form = _e === void 0 ? textFieldPropFormDefault : _e, state = _a.state, status = _a.status, _f = _a.width, width = _f === void 0 ? textFieldPropWidthDefault : _f, onBlur = _a.onBlur, onFocus = _a.onFocus, _g = _a.autoFocus, autoFocus = _g === void 0 ? false : _g, placeholder = _a.placeholder, leftSide = _a.leftSide, rightSide = _a.rightSide, autoComplete = _a.autoComplete, withClearButton = _a.withClearButton, max = _a.max, min = _a.min, readOnly = _a.readOnly, required = _a.required, _h = _a.step, step = _h === void 0 ? 1 : _h, tabIndex = _a.tabIndex, ariaLabel = _a.ariaLabel, label = _a.label, inputContainerRef = _a.inputContainerRef, _j = _a.labelPosition, labelPosition = _j === void 0 ? 'top' : _j, caption = _a.caption, iconSizeProp = _a.iconSize, focused = _a.focused, onClick = _a.onClick, otherProps = __rest(_a, ["className", "type", "value", "onChange", "id", "name", "rows", "cols", "minRows", "maxRows", "inputRef", "maxLength", "disabled", "size", "view", "form", "state", "status", "width", "onBlur", "onFocus", "autoFocus", "placeholder", "leftSide", "rightSide", "autoComplete", "withClearButton", "max", "min", "readOnly", "required", "step", "tabIndex", "ariaLabel", "label", "inputContainerRef", "labelPosition", "caption", "iconSize", "focused", "onClick"]);
28
- var _k = __read(useFlag(autoFocus), 2), focus = _k[0], setFocus = _k[1];
29
- var _l = __read(useFlag(false), 2), passwordVisible = _l[0], setPasswordVisuble = _l[1];
27
+ var _a = usePropsHandler(COMPONENT_NAME, props, textFieldRef), className = _a.className, _b = _a.type, type = _b === void 0 ? 'text' : _b, value = _a.value, onChange = _a.onChange, id = _a.id, name = _a.name, rows = _a.rows, cols = _a.cols, minRows = _a.minRows, maxRows = _a.maxRows, inputRefProp = _a.inputRef, maxLength = _a.maxLength, disabled = _a.disabled, _c = _a.size, size = _c === void 0 ? textFieldPropSizeDefault : _c, _d = _a.view, view = _d === void 0 ? textFieldPropViewDefault : _d, _e = _a.form, form = _e === void 0 ? textFieldPropFormDefault : _e, state = _a.state, status = _a.status, _f = _a.width, width = _f === void 0 ? textFieldPropWidthDefault : _f, onBlur = _a.onBlur, onFocus = _a.onFocus, _g = _a.autoFocus, autoFocus = _g === void 0 ? false : _g, placeholder = _a.placeholder, leftSide = _a.leftSide, rightSide = _a.rightSide, autoComplete = _a.autoComplete, withClearButton = _a.withClearButton, _h = _a.incrementButtons, incrementButtons = _h === void 0 ? true : _h, max = _a.max, min = _a.min, readOnly = _a.readOnly, required = _a.required, _j = _a.step, step = _j === void 0 ? 1 : _j, tabIndex = _a.tabIndex, ariaLabel = _a.ariaLabel, label = _a.label, inputContainerRef = _a.inputContainerRef, _k = _a.labelPosition, labelPosition = _k === void 0 ? 'top' : _k, caption = _a.caption, iconSizeProp = _a.iconSize, focused = _a.focused, onClick = _a.onClick,
28
+ // onkey props
29
+ onKeyDownProp = _a.onKeyDown, onKeyDownCapture = _a.onKeyDownCapture, onKeyPress = _a.onKeyPress, onKeyPressCapture = _a.onKeyPressCapture, onKeyUp = _a.onKeyUp, onKeyUpCapture = _a.onKeyUpCapture, otherProps = __rest(_a, ["className", "type", "value", "onChange", "id", "name", "rows", "cols", "minRows", "maxRows", "inputRef", "maxLength", "disabled", "size", "view", "form", "state", "status", "width", "onBlur", "onFocus", "autoFocus", "placeholder", "leftSide", "rightSide", "autoComplete", "withClearButton", "incrementButtons", "max", "min", "readOnly", "required", "step", "tabIndex", "ariaLabel", "label", "inputContainerRef", "labelPosition", "caption", "iconSize", "focused", "onClick", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture"]);
30
+ var _l = __read(useFlag(autoFocus), 2), focus = _l[0], setFocus = _l[1];
31
+ var _m = __read(useFlag(false), 2), passwordVisible = _m[0], setPasswordVisuble = _m[1];
30
32
  var valueRef = useMutableRef(value);
31
33
  var onClickRef = useMutableRef(onClick);
32
34
  var onChangeRef = useMutableRef(onChange);
@@ -46,7 +48,7 @@ export function TextFieldRender(props, ref) {
46
48
  var handleChange = useCallback(function (e) {
47
49
  var _a;
48
50
  !disabled && ((_a = onChangeRef.current) === null || _a === void 0 ? void 0 : _a.call(onChangeRef, { e: e, id: id, name: name, value: e.target.value || null }));
49
- }, [id, name]);
51
+ }, [id, name, disabled]);
50
52
  var handleBlur = function (e) {
51
53
  setFocus.off();
52
54
  onBlur === null || onBlur === void 0 ? void 0 : onBlur(e);
@@ -69,12 +71,18 @@ export function TextFieldRender(props, ref) {
69
71
  readOnly: readOnly,
70
72
  tabIndex: tabIndex,
71
73
  name: name,
74
+ onKeyDownCapture: onKeyDownCapture,
75
+ onKeyPress: onKeyPress,
76
+ onKeyPressCapture: onKeyPressCapture,
77
+ onKeyUp: onKeyUp,
78
+ onKeyUpCapture: onKeyUpCapture,
72
79
  'id': id ? id.toString() : '',
73
80
  'aria-label': ariaLabel
74
81
  };
75
82
  var Eye = passwordVisible ? IconEyeClose : IconEye;
76
83
  var onKeyDown = function (e) {
77
84
  var flag = getIncrementFlag(e);
85
+ onKeyDownProp === null || onKeyDownProp === void 0 ? void 0 : onKeyDownProp(e);
78
86
  if (type === 'number' && typeof flag === 'boolean' && !disabled) {
79
87
  e.preventDefault();
80
88
  onChange === null || onChange === void 0 ? void 0 : onChange({
@@ -143,7 +151,7 @@ export function TextFieldRender(props, ref) {
143
151
  type: leftSideIsString ? 'string' : 'icon'
144
152
  }), title: typeof leftSide === 'string' ? leftSide : undefined }, leftSideIsString ? (leftSide) : (React.createElement(LeftIcon, { className: cnTextField('Icon'), size: iconSize })))),
145
153
  textarea ? (React.createElement(TextAreaAutoSize, __assign({}, commonProps, textareaProps))) : (React.createElement("input", __assign({}, commonProps, inputProps))),
146
- type === 'number' && (React.createElement("div", { className: cnTextField('Counter') },
154
+ type === 'number' && incrementButtons && (React.createElement("div", { className: cnTextField('Counter') },
147
155
  React.createElement("button", { onFocus: handleFocus, onClick: function (e) { return changeNumberValue(e, true); }, type: "button", className: cnTextField('CounterButton') },
148
156
  React.createElement(IconSelectOpen, { size: "xs" })),
149
157
  React.createElement("button", { onFocus: handleFocus, onClick: function (e) { return changeNumberValue(e, false); }, type: "button", className: cnTextField('CounterButton') },
@@ -62,6 +62,7 @@ export declare type TextFieldProps<TYPE extends string> = PropsWithHTMLAttribute
62
62
  width?: TextFieldPropWidth;
63
63
  onFocus?: React.FocusEventHandler<HTMLElement>;
64
64
  onBlur?: React.FocusEventHandler<HTMLElement>;
65
+ incrementButtons?: boolean;
65
66
  autoFocus?: boolean;
66
67
  placeholder?: string;
67
68
  leftSide?: string | IconComponent;
@@ -83,5 +84,11 @@ export declare type TextFieldProps<TYPE extends string> = PropsWithHTMLAttribute
83
84
  caption?: string;
84
85
  labelPosition?: 'top' | 'left';
85
86
  focused?: boolean;
87
+ onKeyDownCapture?: React.KeyboardEventHandler;
88
+ onKeyPress?: React.KeyboardEventHandler;
89
+ onKeyPressCapture?: React.KeyboardEventHandler;
90
+ onKeyUp?: React.KeyboardEventHandler;
91
+ onKeyUpCapture?: React.KeyboardEventHandler;
92
+ onKeyDown?: React.KeyboardEventHandler;
86
93
  }, HTMLDivElement> & TextFieldPropsTextareaType<TYPE> & TextFieldPropRightSide<TYPE>;
87
94
  export declare type TextFieldComponent = <TYPE extends string>(props: TextFieldProps<TYPE> & React.RefAttributes<HTMLElement>) => React.ReactElement | null;
@@ -80,6 +80,7 @@
80
80
  .User-Info {
81
81
  display: -webkit-box;
82
82
  overflow: hidden;
83
+ word-wrap: break-word;
83
84
  -webkit-line-clamp: 1;
84
85
  -webkit-box-orient: vertical;
85
86
  }
@@ -8,7 +8,7 @@ import { IconSelect } from '../../icons/IconSelect/IconSelect';
8
8
  import { cnMixFocus } from '../../mixs/MixFocus/MixFocus';
9
9
  import { usePropsHandler } from '../EventInterceptor/usePropsHandler';
10
10
  import { cnSelect } from '../SelectComponents/cnSelect';
11
- import { defaultlabelForCreate, defaultLabelForEmptyItems, defaultlabelForNotFound, getInputWidth, getSelectDropdownForm, } from '../SelectComponents/helpers';
11
+ import { defaultlabelForCreate, defaultLabelForEmptyItems, defaultlabelForNotFound, getInputWidth, } from '../SelectComponents/helpers';
12
12
  import { SelectContainer } from '../SelectComponents/SelectContainer/SelectContainer';
13
13
  import { SelectDropdown } from '../SelectComponents/SelectDropdown/SelectDropdown';
14
14
  import { defaultPropForm, defaultPropSize, defaultPropView } from '../SelectComponents/types';
@@ -21,7 +21,7 @@ function UserSelectRender(props, ref) {
21
21
  var controlInnerRef = useRef(null);
22
22
  var helperInputFakeElement = useRef(null);
23
23
  var controlRef = useRef(null);
24
- var _a = usePropsHandler(COMPONENT_NAME, withDefaultGetters(props), controlRef), placeholder = _a.placeholder, onBlur = _a.onBlur, onFocus = _a.onFocus, items = _a.items, onChange = _a.onChange, value = _a.value, disabled = _a.disabled, ariaLabel = _a.ariaLabel, id = _a.id, isLoading = _a.isLoading, required = _a.required, _b = _a.dropdownRef, dropdownRef = _b === void 0 ? defaultDropdownRef : _b, _c = _a.form, form = _c === void 0 ? defaultPropForm : _c, _d = _a.view, view = _d === void 0 ? defaultPropView : _d, _e = _a.size, size = _e === void 0 ? defaultPropSize : _e, dropdownClassName = _a.dropdownClassName, name = _a.name, _f = _a.groups, groups = _f === void 0 ? [] : _f, getItemKey = _a.getItemKey, getItemLabel = _a.getItemLabel, getItemSubLabel = _a.getItemSubLabel, getItemAvatarUrl = _a.getItemAvatarUrl, getItemGroupKey = _a.getItemGroupKey, getItemDisabled = _a.getItemDisabled, getGroupKey = _a.getGroupKey, getGroupLabel = _a.getGroupLabel, renderItem = _a.renderItem, renderValueProp = _a.renderValue, onCreate = _a.onCreate, inputRefProp = _a.inputRef, _g = _a.labelForNotFound, labelForNotFound = _g === void 0 ? defaultlabelForNotFound : _g, _h = _a.labelForCreate, labelForCreate = _h === void 0 ? defaultlabelForCreate : _h, _j = _a.labelForEmptyItems, labelForEmptyItems = _j === void 0 ? defaultLabelForEmptyItems : _j, _k = _a.multiple, multiple = _k === void 0 ? false : _k, searchFunction = _a.searchFunction, style = _a.style, restProps = __rest(_a, ["placeholder", "onBlur", "onFocus", "items", "onChange", "value", "disabled", "ariaLabel", "id", "isLoading", "required", "dropdownRef", "form", "view", "size", "dropdownClassName", "name", "groups", "getItemKey", "getItemLabel", "getItemSubLabel", "getItemAvatarUrl", "getItemGroupKey", "getItemDisabled", "getGroupKey", "getGroupLabel", "renderItem", "renderValue", "onCreate", "inputRef", "labelForNotFound", "labelForCreate", "labelForEmptyItems", "multiple", "searchFunction", "style"]);
24
+ var _a = usePropsHandler(COMPONENT_NAME, withDefaultGetters(props), controlRef), placeholder = _a.placeholder, onBlur = _a.onBlur, onFocus = _a.onFocus, items = _a.items, onChange = _a.onChange, value = _a.value, disabled = _a.disabled, ariaLabel = _a.ariaLabel, id = _a.id, isLoading = _a.isLoading, required = _a.required, _b = _a.dropdownRef, dropdownRef = _b === void 0 ? defaultDropdownRef : _b, _c = _a.form, form = _c === void 0 ? defaultPropForm : _c, _d = _a.view, view = _d === void 0 ? defaultPropView : _d, _e = _a.size, size = _e === void 0 ? defaultPropSize : _e, dropdownClassName = _a.dropdownClassName, name = _a.name, _f = _a.groups, groups = _f === void 0 ? [] : _f, getItemKey = _a.getItemKey, getItemLabel = _a.getItemLabel, getItemSubLabel = _a.getItemSubLabel, getItemAvatarUrl = _a.getItemAvatarUrl, getItemGroupKey = _a.getItemGroupKey, getItemDisabled = _a.getItemDisabled, getGroupKey = _a.getGroupKey, getGroupLabel = _a.getGroupLabel, renderItem = _a.renderItem, renderValueProp = _a.renderValue, onCreate = _a.onCreate, inputRefProp = _a.inputRef, _g = _a.labelForNotFound, labelForNotFound = _g === void 0 ? defaultlabelForNotFound : _g, _h = _a.labelForCreate, labelForCreate = _h === void 0 ? defaultlabelForCreate : _h, _j = _a.labelForEmptyItems, labelForEmptyItems = _j === void 0 ? defaultLabelForEmptyItems : _j, _k = _a.multiple, multiple = _k === void 0 ? false : _k, searchFunction = _a.searchFunction, style = _a.style, _l = _a.dropdownForm, dropdownForm = _l === void 0 ? 'default' : _l, restProps = __rest(_a, ["placeholder", "onBlur", "onFocus", "items", "onChange", "value", "disabled", "ariaLabel", "id", "isLoading", "required", "dropdownRef", "form", "view", "size", "dropdownClassName", "name", "groups", "getItemKey", "getItemLabel", "getItemSubLabel", "getItemAvatarUrl", "getItemGroupKey", "getItemDisabled", "getGroupKey", "getGroupLabel", "renderItem", "renderValue", "onCreate", "inputRef", "labelForNotFound", "labelForCreate", "labelForEmptyItems", "multiple", "searchFunction", "style", "dropdownForm"]);
25
25
  var searchFunctionDefault = function (item, searchValue) {
26
26
  var searchOfLabel = searchCompare(searchValue, getItemLabel(item));
27
27
  if (searchOfLabel) {
@@ -29,7 +29,7 @@ function UserSelectRender(props, ref) {
29
29
  }
30
30
  return searchCompare(searchValue, getItemSubLabel(item));
31
31
  };
32
- var _l = useSelect({
32
+ var _m = useSelect({
33
33
  items: items,
34
34
  groups: groups,
35
35
  value: value,
@@ -47,8 +47,7 @@ function UserSelectRender(props, ref) {
47
47
  onFocus: onFocus,
48
48
  onCreate: onCreate,
49
49
  searchFunction: searchFunction || searchFunctionDefault
50
- }), getKeyProps = _l.getKeyProps, getOptionProps = _l.getOptionProps, isOpen = _l.isOpen, visibleItems = _l.visibleItems, isFocused = _l.isFocused, handleInputFocus = _l.handleInputFocus, handleInputBlur = _l.handleInputBlur, handleToggleDropdown = _l.handleToggleDropdown, inputRef = _l.inputRef, handleInputClick = _l.handleInputClick, handleInputChange = _l.handleInputChange, searchValue = _l.searchValue, clearValue = _l.clearValue, getHandleRemoveValue = _l.getHandleRemoveValue, notFound = _l.notFound, hasItems = _l.hasItems;
51
- var dropdownForm = getSelectDropdownForm(form);
50
+ }), getKeyProps = _m.getKeyProps, getOptionProps = _m.getOptionProps, isOpen = _m.isOpen, visibleItems = _m.visibleItems, isFocused = _m.isFocused, handleInputFocus = _m.handleInputFocus, handleInputBlur = _m.handleInputBlur, handleToggleDropdown = _m.handleToggleDropdown, inputRef = _m.inputRef, handleInputClick = _m.handleInputClick, handleInputChange = _m.handleInputChange, searchValue = _m.searchValue, clearValue = _m.clearValue, getHandleRemoveValue = _m.getHandleRemoveValue, notFound = _m.notFound, hasItems = _m.hasItems;
52
51
  var renderItemDefault = function (props) {
53
52
  var item = props.item, active = props.active, hovered = props.hovered, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
54
53
  return (React.createElement(UserSelectItem, { label: getItemLabel(item), subLabel: getItemSubLabel(item), avatarUrl: getItemAvatarUrl(item), active: active, hovered: hovered, size: size, indent: dropdownForm === 'round' ? 'increased' : 'normal', onClick: onClick, onMouseEnter: onMouseEnter, disable: getItemDisabled(item), multiple: multiple }));
@@ -38,6 +38,7 @@ export declare type UserSelectProps<ITEM = DefaultItem, GROUP = DefaultGroup, MU
38
38
  form?: PropForm;
39
39
  size?: Exclude<PropSize, 'xs'>;
40
40
  view?: PropView;
41
+ dropdownForm?: 'default' | 'brick' | 'round';
41
42
  placeholder?: string;
42
43
  ariaLabel?: string;
43
44
  dropdownClassName?: string;
@@ -108,6 +109,7 @@ export declare function withDefaultGetters<ITEM = DefaultItem, GROUP = DefaultGr
108
109
  form?: "default" | "round" | "brick" | "brickDefault" | "defaultBrick" | "clearRound" | "roundClear" | "clearDefault" | "defaultClear" | "brickClear" | "clearBrick" | "clearClear" | undefined;
109
110
  size?: "s" | "m" | "l" | undefined;
110
111
  view?: "default" | "clear" | undefined;
112
+ dropdownForm?: "default" | "round" | "brick" | undefined;
111
113
  placeholder?: string | undefined;
112
114
  ariaLabel?: string | undefined;
113
115
  dropdownClassName?: string | undefined;
@@ -8,6 +8,10 @@
8
8
  box-shadow: var(--shadow-group);
9
9
  }
10
10
 
11
+ .MixCard_border {
12
+ border: var(--control-border-width) solid var(--color-bg-border);
13
+ }
14
+
11
15
  .MixCard_form_round,
12
16
  .MixCard_form_square {
13
17
  border-radius: var(--border-radius);
@@ -6,6 +6,7 @@ declare const cardStatus: readonly ["alert", "success", "warning"];
6
6
  declare type CardStatus = typeof cardStatus[number] | string;
7
7
  declare type Props = {
8
8
  shadow?: boolean;
9
+ border?: boolean;
9
10
  verticalSpace?: Size;
10
11
  horizontalSpace?: Size;
11
12
  form?: FormMap;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/createIcon",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/createResponsesImage",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "keywords": [
5
5
  "ui-kit",
6
6
  "design-system",
@@ -50,6 +50,7 @@
50
50
  "DragNDropField",
51
51
  "EventInterceptor",
52
52
  "FieldCaption",
53
+ "FieldGroup",
53
54
  "FieldLabel",
54
55
  "File",
55
56
  "FileField",
@@ -278,6 +279,7 @@
278
279
  "Pagination",
279
280
  "Popover",
280
281
  "PortalWithTheme",
282
+ "ProgressLine",
281
283
  "ProgressSpin",
282
284
  "ProgressStepBarCanary",
283
285
  "Radio",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useBreakpoints",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useChoiceGroup",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useChoiceGroupIndexed",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useClickOutside",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useComponentSize",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useDebounce",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useFlag",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useForkRef",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useGlobalKeys",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useHideElementsInLine",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useKeys",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useMutableRef",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useOverflow",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/usePrevious",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useRefs",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useResizeObserved",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useScrollElements",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useScrollPosition",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useSelect",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useSortSteps",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useThemeVars",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/useTimer",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@consta/uikit/withTooltip",
3
- "version": "3.24.5",
3
+ "version": "3.26.1",
4
4
  "main": "index.js",
5
5
  "module": "es.js",
6
6
  "sideEffects": [