@sberbusiness/triplex-next 1.3.0 → 1.5.0

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 (435) hide show
  1. package/chunks/AlertProcessSpoiler-M7W9D-p3.js +39 -0
  2. package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
  3. package/chunks/Card.module-lZl8x0iL.js +17 -0
  4. package/chunks/Chip-DpSJGyYK.js +90 -0
  5. package/chunks/DropdownListItem-SqymKZn5.js +57 -0
  6. package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
  7. package/chunks/Footer.module-3tcvZGt3.js +9 -0
  8. package/chunks/FormFieldInput-BSxKZxcq.js +62 -0
  9. package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
  10. package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
  11. package/chunks/HeaderTitle.module-CEMLCR13.js +11 -0
  12. package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
  13. package/chunks/LightBoxContent-DTTxRVLQ.js +56 -0
  14. package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
  15. package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
  16. package/chunks/{ListItemControlsButton-Ms4q9wDe.js → ListItemControlsButton-AbCEipFe.js} +7 -7
  17. package/chunks/ListItemTail.module-CZYSMJRz.js +12 -0
  18. package/chunks/ListMasterFooter.module-Bw6BVPVj.js +10 -0
  19. package/chunks/ModalWindow.module-DGcF8-xJ.js +17 -0
  20. package/chunks/Notification.module-Cj_Pd4DQ.js +21 -0
  21. package/chunks/Overlay.module-BqJXvoeX.js +18 -0
  22. package/chunks/Page.module-DUQ6i8Ez.js +12 -0
  23. package/chunks/{RightBorderArrow-D6ZllSTT.js → RightBorderArrow-Co_RT8lZ.js} +14 -14
  24. package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
  25. package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
  26. package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.js → SuggestFieldMobileDropdownHint-nZwpz9Eo.js} +2 -2
  27. package/chunks/TableFooter.module-BF4P3QCw.js +13 -0
  28. package/chunks/TabsExtended.module-BciQYRi4.js +16 -0
  29. package/chunks/TabsLine.module-Cx0n_AdV.js +23 -0
  30. package/chunks/TooltipDesktop.module-DK06gaHe.js +19 -0
  31. package/chunks/TooltipMobileCloseButton-DTtQoE3B.js +20 -0
  32. package/chunks/{UploadZoneInput-Bkv3b0F5.js → UploadZoneInput-C2-_7DoS.js} +3 -3
  33. package/chunks/{utils-CVSz7tV_.js → utils-CFlJg-k1.js} +5 -5
  34. package/chunks/utils-CXhKCNyM.js +72 -0
  35. package/chunks/utils-CoHHiBA8.js +24 -0
  36. package/chunks/{utils-DWPj89gs.js → utils-D9w2Kvyk.js} +7 -7
  37. package/chunks/{utils-BZFu5eVD.js → utils-Dhi5F6Da.js} +8 -8
  38. package/chunks/vendor-9KVE23Ri.js +14839 -0
  39. package/components/AbstractTree/AbstractTreeNode.js +1 -1
  40. package/components/AccordionBase/protected/AccordionBase.js +1 -1
  41. package/components/Alert/AlertContext/AlertContext.js +9 -9
  42. package/components/Alert/AlertProcess/AlertProcess.js +3 -3
  43. package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
  44. package/components/Amount/Amount.js +23 -24
  45. package/components/AmountField/AmountField.js +11 -11
  46. package/components/Body/Body.js +25 -8
  47. package/components/Body/enums.js +5 -0
  48. package/components/Button/Button.js +45 -44
  49. package/components/Button/ButtonBase.js +1 -1
  50. package/components/Button/ButtonDropdown.js +54 -54
  51. package/components/Button/ButtonDropdownExtended.js +9 -9
  52. package/components/Button/ButtonIcon.js +13 -13
  53. package/components/Calendar/Calendar.js +183 -0
  54. package/components/Calendar/CalendarContext.js +22 -0
  55. package/components/Calendar/CalendarRange.js +28 -0
  56. package/components/Calendar/CalendarViewContext.js +8 -0
  57. package/components/Calendar/components/CalendarControls.js +98 -0
  58. package/components/Calendar/components/CalendarFooter.js +9 -0
  59. package/components/Calendar/components/CalendarTodayButton.js +31 -0
  60. package/components/Calendar/components/CalendarView.js +30 -0
  61. package/components/Calendar/components/CalendarViewDays.js +109 -0
  62. package/components/Calendar/components/CalendarViewItem.js +11 -0
  63. package/components/Calendar/components/CalendarViewMonths.js +64 -0
  64. package/components/Calendar/components/CalendarViewYears.js +64 -0
  65. package/components/Calendar/enums.js +7 -0
  66. package/components/Calendar/index.js +9 -0
  67. package/components/Calendar/utils.js +38 -0
  68. package/components/Card/CardAction.js +16 -16
  69. package/components/Card/CardStatic.js +3 -3
  70. package/components/Card/components/CardContent/CardContent.js +2 -2
  71. package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
  72. package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
  73. package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
  74. package/components/Card/components/CardMedia.js +2 -2
  75. package/components/Card/utils.js +1 -1
  76. package/components/CarouselExtended/CarouselExtended.js +2 -2
  77. package/components/Checkbox/Checkbox.js +20 -20
  78. package/components/Checkbox/CheckboxXGroup.js +13 -13
  79. package/components/Checkbox/CheckboxYGroup.js +2 -2
  80. package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
  81. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
  82. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
  83. package/components/Chip/Chip.js +5 -3
  84. package/components/Chip/ChipClearButton.js +16 -24
  85. package/components/Chip/ChipDropdownArrow.js +4 -4
  86. package/components/Chip/ChipIcon.js +1 -1
  87. package/components/Chip/ChipOptions.js +9 -9
  88. package/components/Chip/ChipSelect.js +2 -2
  89. package/components/Chip/ChipSort.js +55 -0
  90. package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
  91. package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
  92. package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
  93. package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
  94. package/components/Chip/ChipSuggest/index.js +7 -0
  95. package/components/Chip/ChipSuggest/types.js +2 -0
  96. package/components/Chip/index.js +9 -3
  97. package/components/ChipGroup/ChipGroup.js +10 -10
  98. package/components/Col/Col.js +146 -146
  99. package/components/CollapsableTree/components/CollapsableTreeNode.js +2 -2
  100. package/components/DateField/DateField.js +135 -0
  101. package/components/DateField/DateFieldContext.js +12 -0
  102. package/components/DateField/DateFieldTarget.js +60 -0
  103. package/components/DateField/constants.js +5 -0
  104. package/components/DateField/index.js +5 -0
  105. package/components/DateField/types.js +2 -0
  106. package/components/DateField/utils.js +23 -0
  107. package/components/DatePickerExtended/DatePickerExtended.js +136 -0
  108. package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
  109. package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
  110. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  111. package/components/DesignTokens/DesignTokensComponents.js +91 -70
  112. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +88 -62
  113. package/components/DesignTokens/DesignTokensCore.js +1 -1
  114. package/components/DesignTokens/components/Calendar.js +109 -0
  115. package/components/DesignTokens/components/Card.js +6 -3
  116. package/components/DesignTokens/components/Divider.js +4 -4
  117. package/components/DesignTokens/components/Island.js +1 -1
  118. package/components/DesignTokens/components/IslandAccordion.js +9 -0
  119. package/components/DesignTokens/components/LightBox.js +11 -0
  120. package/components/DesignTokens/components/Loader.js +13 -7
  121. package/components/DesignTokens/components/ModalWindow.js +11 -0
  122. package/components/DesignTokens/components/SMSInput.js +26 -0
  123. package/components/DesignTokens/components/StatusTracker.js +35 -0
  124. package/components/DesignTokens/components/Step.js +44 -0
  125. package/components/DesignTokens/components/index.js +127 -109
  126. package/components/Divider/Divider.js +18 -18
  127. package/components/Dropdown/desktop/DropdownDesktop.js +23 -23
  128. package/components/Dropdown/desktop/DropdownList.js +42 -41
  129. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  130. package/components/Dropdown/desktop/index.js +1 -1
  131. package/components/Dropdown/index.js +1 -1
  132. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  133. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  134. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  135. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  136. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  137. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  138. package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
  139. package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
  140. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  141. package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
  142. package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
  143. package/components/Ellipsis/Ellipsis.js +10 -10
  144. package/components/ExpandAnimation/ExpandAnimation.js +27 -27
  145. package/components/Footer/Footer.js +9 -20
  146. package/components/Footer/components/FooterDescription.js +2 -2
  147. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  148. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  149. package/components/FormField/FormField.js +22 -22
  150. package/components/FormField/components/FormFieldClear.js +14 -18
  151. package/components/FormField/components/FormFieldCounter.js +5 -5
  152. package/components/FormField/components/FormFieldDescription.js +6 -6
  153. package/components/FormField/components/FormFieldInput.js +4 -3
  154. package/components/FormField/components/FormFieldLabel.js +8 -8
  155. package/components/FormField/components/FormFieldMaskedInput.js +14 -18
  156. package/components/FormField/components/FormFieldPostfix.js +10 -10
  157. package/components/FormField/components/FormFieldPrefix.js +6 -6
  158. package/components/FormField/components/FormFieldTarget.js +17 -17
  159. package/components/FormField/components/FormFieldTextarea.js +36 -32
  160. package/components/FormField/index.js +1 -1
  161. package/components/Header/Header.js +15 -27
  162. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  163. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  164. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  165. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
  166. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  167. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  168. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  169. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  170. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
  171. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
  172. package/components/HelpBox/HelpBox.js +21 -21
  173. package/components/Island/Island.js +12 -16
  174. package/components/Island/components/IslandBody.js +2 -2
  175. package/components/Island/components/IslandFooter.js +6 -6
  176. package/components/Island/components/IslandHeader.js +4 -4
  177. package/components/Island/components/index.js +9 -0
  178. package/components/Island/index.js +7 -1
  179. package/components/Island/utils.js +1 -3
  180. package/components/IslandAccordion/IslandAccordion.js +31 -0
  181. package/components/IslandAccordion/IslandAccordionContext.js +16 -0
  182. package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
  183. package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
  184. package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
  185. package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
  186. package/components/IslandAccordion/components/index.js +11 -0
  187. package/components/IslandAccordion/index.js +13 -0
  188. package/components/LightBox/LightBox.js +105 -0
  189. package/components/LightBox/LightBoxContent.js +10 -0
  190. package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
  191. package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
  192. package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
  193. package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
  194. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
  195. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
  196. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
  197. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
  198. package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
  199. package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
  200. package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
  201. package/components/LightBox/index.js +7 -0
  202. package/components/Link/Link.js +12 -12
  203. package/components/List/List.js +7 -7
  204. package/components/List/ListSortable.js +1 -1
  205. package/components/List/components/ListEmptyState.js +2 -2
  206. package/components/List/components/ListItem.js +1 -1
  207. package/components/List/components/ListItemContent.js +3 -3
  208. package/components/List/components/ListItemControls.js +7 -7
  209. package/components/List/components/ListItemControlsButton.js +2 -2
  210. package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
  211. package/components/List/components/ListItemLoading.js +4 -4
  212. package/components/List/components/ListItemSelectable.js +5 -5
  213. package/components/List/components/ListItemTable.js +6 -6
  214. package/components/List/components/ListItemTailLeft.js +2 -2
  215. package/components/List/components/ListItemTailRight.js +2 -2
  216. package/components/List/components/ListSortableItem.js +2 -2
  217. package/components/List/components/ListSortableItemControls.js +8 -8
  218. package/components/List/components/ListSortableItemTarget.js +6 -6
  219. package/components/List/index.js +1 -1
  220. package/components/ListMaster/ListMaster.js +1 -1
  221. package/components/ListMaster/components/ListMasterBody.js +1 -1
  222. package/components/ListMaster/components/ListMasterChipGroup.js +9 -9
  223. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  224. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  225. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  226. package/components/ListMaster/components/ListMasterHeader.js +7 -7
  227. package/components/ListMaster/components/SelectionControls.js +3 -3
  228. package/components/Loader/LoaderMiddle/LoaderMiddle.js +13 -12
  229. package/components/Loader/LoaderSmall/LoaderSmall.js +9 -9
  230. package/components/LoaderScreen/LoaderScreen.js +19 -20
  231. package/components/Marker/Marker.js +2 -2
  232. package/components/Marker/utils.js +1 -1
  233. package/components/MarkerStatus/MarkerStatus.js +7 -7
  234. package/components/ModalWindow/ModalWindow.js +98 -0
  235. package/components/ModalWindow/components/ModalWindowBody.js +189 -0
  236. package/components/ModalWindow/components/ModalWindowClose.js +29 -0
  237. package/components/ModalWindow/components/ModalWindowContent.js +13 -0
  238. package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
  239. package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
  240. package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
  241. package/components/ModalWindow/index.js +17 -0
  242. package/components/MonthYearField/MonthYearField.js +66 -0
  243. package/components/MonthYearField/MonthYearFieldContext.js +9 -0
  244. package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
  245. package/components/MonthYearField/constants.js +5 -0
  246. package/components/MonthYearField/index.js +5 -0
  247. package/components/MonthYearField/types.js +2 -0
  248. package/components/MonthYearField/utils.js +22 -0
  249. package/components/Notification/Notification.js +3 -3
  250. package/components/Notification/NotificationGrouped.js +1 -1
  251. package/components/Notification/components/NotificationBody.js +1 -1
  252. package/components/Notification/components/NotificationBodyContent.js +1 -1
  253. package/components/Notification/components/NotificationBodyList.js +2 -2
  254. package/components/Notification/components/NotificationClose.js +1 -1
  255. package/components/Notification/components/NotificationFooter.js +1 -1
  256. package/components/Notification/components/NotificationGroupedFooter.js +2 -2
  257. package/components/Notification/components/NotificationHeader.js +1 -1
  258. package/components/Notification/components/NotificationIcon.js +1 -1
  259. package/components/Notification/components/NotificationTime.js +1 -1
  260. package/components/NumberField/NumberFieldInput.js +1 -1
  261. package/components/OrderedList/OrderedList.js +6 -6
  262. package/components/OrderedList/OrderedListItem.js +11 -11
  263. package/components/Overlay/Overlay.js +2 -2
  264. package/components/Overlay/OverlayMask.js +2 -2
  265. package/components/Overlay/OverlayPanel.js +2 -2
  266. package/components/Page/Page.js +13 -13
  267. package/components/Page/components/BodyPage.js +2 -2
  268. package/components/Page/components/FooterPage.js +35 -29
  269. package/components/Page/components/HeaderPage.js +22 -28
  270. package/components/Page/components/useStickyCornerRadius.js +32 -22
  271. package/components/Pagination/components/PaginationExtended.js +6 -6
  272. package/components/Pagination/components/PaginationNavigationButton.js +4 -4
  273. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  274. package/components/Pagination/components/PaginationPageButton.js +2 -2
  275. package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
  276. package/components/Pagination/components/PaginationSelect.js +12 -12
  277. package/components/Pagination/utils/paginationUtils.js +1 -1
  278. package/components/Radio/Radio.js +16 -16
  279. package/components/Radio/RadioXGroup.js +13 -13
  280. package/components/Radio/RadioYGroup.js +8 -8
  281. package/components/Row/Row.js +5 -5
  282. package/components/SMSInput/SMSInput.js +41 -0
  283. package/components/SMSInput/SMSInputContext.js +23 -0
  284. package/components/SMSInput/components/RefreshIcon.js +35 -0
  285. package/components/SMSInput/components/SMSInputInput.js +63 -0
  286. package/components/SMSInput/components/SMSInputRefresh.js +39 -0
  287. package/components/SMSInput/components/SMSInputSubmit.js +43 -0
  288. package/components/SMSInput/components/SMSInputTooltip.js +38 -0
  289. package/components/SMSInput/components/SubmitIcon.js +19 -0
  290. package/components/SMSInput/index.js +5 -0
  291. package/components/SMSInput/types.js +2 -0
  292. package/components/SegmentedControl/SegmentedControl.js +15 -15
  293. package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
  294. package/components/SelectExtendedField/SelectExtendedField.js +8 -8
  295. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
  296. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +20 -20
  297. package/components/SelectField/SelectField.js +1 -1
  298. package/components/Skeleton/Skeleton.js +6 -6
  299. package/components/Spoiler/Spoiler.js +75 -0
  300. package/components/Spoiler/index.js +5 -0
  301. package/components/StatusTracker/StatusTracker.js +45 -0
  302. package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
  303. package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
  304. package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
  305. package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
  306. package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
  307. package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
  308. package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
  309. package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
  310. package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
  311. package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
  312. package/components/StatusTracker/enums.js +6 -0
  313. package/components/StatusTracker/index.js +5 -0
  314. package/components/Step/Step.js +49 -0
  315. package/components/Step/enums.js +6 -0
  316. package/components/Step/index.js +9 -0
  317. package/components/Stepper/RightBorderArrow.js +1 -1
  318. package/components/Stepper/Stepper.js +54 -54
  319. package/components/Stepper/StepperExtended.js +2 -2
  320. package/components/Stepper/StepperStep.js +3 -3
  321. package/components/Stepper/StepperWrapper.js +5 -5
  322. package/components/Suggest/Suggest.js +99 -0
  323. package/components/Suggest/SuggestContext.js +29 -0
  324. package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
  325. package/components/Suggest/index.js +8 -0
  326. package/components/Suggest/types.js +2 -0
  327. package/components/SuggestField/SuggestField.js +11 -12
  328. package/components/SuggestField/SuggestFieldTarget.js +35 -32
  329. package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
  330. package/components/SuggestField/desktop/SuggestFieldDesktop.js +73 -72
  331. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
  332. package/components/SuggestField/index.js +1 -1
  333. package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
  334. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
  335. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
  336. package/components/SuggestField/mobile/index.js +1 -1
  337. package/components/SwipeableArea/SwipeableArea.js +13 -13
  338. package/components/Table/FilterPanel.js +3 -3
  339. package/components/Table/MasterTable.js +20 -20
  340. package/components/Table/NoColumns.js +2 -2
  341. package/components/Table/PaginationPanel.js +5 -5
  342. package/components/Table/TableBasic/TableBasic.js +33 -32
  343. package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
  344. package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
  345. package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
  346. package/components/Table/TableBasicSettings/TableBasicSettings.js +5 -5
  347. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
  348. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
  349. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +2 -2
  350. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
  351. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
  352. package/components/Table/TableFooter/TableFooter.js +2 -2
  353. package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
  354. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
  355. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
  356. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
  357. package/components/Table/TabsLinePanel.js +6 -6
  358. package/components/Table/TabsLinePanelLinks.js +2 -2
  359. package/components/Table/utils.js +1 -1
  360. package/components/Tabs/Tabs.js +14 -14
  361. package/components/TabsExtended/TabsExtended.js +3 -3
  362. package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
  363. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  364. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  365. package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
  366. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
  367. package/components/TabsExtended/utils.js +1 -1
  368. package/components/TabsLine/TabsLine.js +2 -2
  369. package/components/TabsLine/components/TabsLineDesktop.js +2 -2
  370. package/components/TabsLine/components/TabsLineDropdown.js +3 -3
  371. package/components/TabsLine/components/TabsLineItem.js +2 -2
  372. package/components/TabsLine/components/TabsLineMobile.js +10 -10
  373. package/components/Tag/Tag.js +17 -17
  374. package/components/TagGroup/TagGroup.js +8 -8
  375. package/components/TextField/TextField.js +1 -1
  376. package/components/TextareaField/TextareaField.js +18 -0
  377. package/components/TextareaField/index.js +5 -0
  378. package/components/TextareaField/types.js +2 -0
  379. package/components/ThemeProvider/ThemeProvider.js +6 -6
  380. package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
  381. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  382. package/components/Tooltip/components/common/TooltipLink.js +7 -7
  383. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  384. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  385. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  386. package/components/Tooltip/components/mobile/TooltipMobile.js +26 -30
  387. package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
  388. package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
  389. package/components/TreeView/TreeView.js +1 -1
  390. package/components/TreeView/components/TreeViewNode.js +1 -1
  391. package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
  392. package/components/Typography/Caption.js +13 -13
  393. package/components/Typography/Text.js +24 -24
  394. package/components/Typography/Title.js +15 -15
  395. package/components/Typography/index.js +15 -13
  396. package/components/Typography/utils.js +1 -1
  397. package/components/UnorderedList/UnorderedList.js +3 -3
  398. package/components/UnorderedList/UnorderedListItem.js +7 -7
  399. package/components/UploadZone/UploadZone.js +3 -3
  400. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  401. package/components/WindowResizeListener/WindowResizeListener.js +18 -0
  402. package/components/index.js +428 -366
  403. package/consts/DateConst.js +14 -0
  404. package/index.d.ts +1022 -60
  405. package/index.js +434 -372
  406. package/package.json +50 -1
  407. package/styles/triplex-next.css +501 -441
  408. package/types/DateTypes.js +2 -0
  409. package/utils/amountUtils.js +1 -1
  410. package/utils/focus/FocusTrapUtils.js +11 -0
  411. package/utils/scroll/scrollbar.js +14 -0
  412. package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
  413. package/chunks/Card.module-NgdHcwYS.js +0 -17
  414. package/chunks/Chip-XyednI9u.js +0 -87
  415. package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
  416. package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
  417. package/chunks/Footer.module-4a0n1yRR.js +0 -11
  418. package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
  419. package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
  420. package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
  421. package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
  422. package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
  423. package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
  424. package/chunks/Notification.module-MX1NZXsu.js +0 -21
  425. package/chunks/Overlay.module-B1IlIRoo.js +0 -18
  426. package/chunks/Page.module-Cwb_zvqj.js +0 -12
  427. package/chunks/TableFooter.module-D9_esv5A.js +0 -13
  428. package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
  429. package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
  430. package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
  431. package/chunks/utils-D8e1oAR3.js +0 -72
  432. package/chunks/utils-dyCpsmr1.js +0 -48
  433. package/chunks/vendor-CehxOAkM.js +0 -11907
  434. package/components/DesignTokens/components/Page.js +0 -9
  435. /package/components/{Island → Calendar}/types.js +0 -0
@@ -0,0 +1,24 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as i } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import "../../Typography/Title.js";
4
+ import { Text as m } from "../../Typography/Text.js";
5
+ import "../../Typography/Caption.js";
6
+ import { ETextSize as p, EFontType as c } from "../../Typography/enums.js";
7
+ import { s as a } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
8
+ const D = (r) => {
9
+ const { children: t, className: s, ...o } = r;
10
+ return /* @__PURE__ */ e(
11
+ m,
12
+ {
13
+ type: c.SECONDARY,
14
+ size: p.B3,
15
+ className: i(a.statusTrackerDescription, s),
16
+ ...o,
17
+ children: t
18
+ }
19
+ );
20
+ };
21
+ export {
22
+ D as StatusTrackerDescription
23
+ };
24
+ //# sourceMappingURL=StatusTrackerDescription.js.map
@@ -0,0 +1,28 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import c from "react";
3
+ import { c as i } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { s as r } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
5
+ import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
6
+ import { StatusTrackerButton as p } from "./StatusTrackerButton.js";
7
+ const u = Object.assign(
8
+ c.forwardRef(function({ children: t, className: o, ...a }, s) {
9
+ return /* @__PURE__ */ e(
10
+ "div",
11
+ {
12
+ className: i(r.statusTrackerChild, r.statusTrackerFooterWrapper, o),
13
+ ...a,
14
+ ref: s,
15
+ children: t
16
+ }
17
+ );
18
+ }),
19
+ {
20
+ Button: p,
21
+ Description: m
22
+ }
23
+ );
24
+ u.displayName = "StatusTrackerFooter";
25
+ export {
26
+ u as StatusTrackerFooter
27
+ };
28
+ //# sourceMappingURL=StatusTrackerFooter.js.map
@@ -0,0 +1,22 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import { c as i } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { StatusTrackerDescription as m } from "./StatusTrackerDescription.js";
5
+ import { StatusTrackerTitle as c } from "./StatusTrackerTitle.js";
6
+ import { StatusTrackerSum as u } from "./StatusTrackerSum.js";
7
+ import { s as f } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
8
+ const p = Object.assign(
9
+ o.forwardRef(function({ children: r, className: t, ...a }, e) {
10
+ return /* @__PURE__ */ s("div", { className: i(f.statusTrackerChild, t), ...a, ref: e, children: r });
11
+ }),
12
+ {
13
+ Title: c,
14
+ Sum: u,
15
+ Description: m
16
+ }
17
+ );
18
+ p.displayName = "StatusTrackerHeader";
19
+ export {
20
+ p as StatusTrackerHeader
21
+ };
22
+ //# sourceMappingURL=StatusTrackerHeader.js.map
@@ -0,0 +1,11 @@
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import { s as o } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
4
+ const d = (s) => {
5
+ const { children: r, className: t, ...a } = s;
6
+ return /* @__PURE__ */ e("div", { className: c(o.statusTrackerChild, t), ...a, children: r });
7
+ };
8
+ export {
9
+ d as StatusTrackerMedia
10
+ };
11
+ //# sourceMappingURL=StatusTrackerMedia.js.map
@@ -0,0 +1,12 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import { s as m } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
4
+ import { MarkerStatus as c } from "../../MarkerStatus/MarkerStatus.js";
5
+ const f = (s) => {
6
+ const { children: t, className: r, ...a } = s;
7
+ return /* @__PURE__ */ o(c, { className: e(m.statusTrackerStatus, r), ...a, children: t });
8
+ };
9
+ export {
10
+ f as StatusTrackerStatus
11
+ };
12
+ //# sourceMappingURL=StatusTrackerStatus.js.map
@@ -0,0 +1,25 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import { Title as i } from "../../Typography/Title.js";
4
+ import "../../Typography/Text.js";
5
+ import "../../Typography/Caption.js";
6
+ import { ETitleSize as a, EFontWeightTitle as p } from "../../Typography/enums.js";
7
+ import { Amount as c } from "../../Amount/Amount.js";
8
+ import { s as l } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
9
+ const g = (r) => {
10
+ const { className: o, amountProps: m, ...s } = r;
11
+ return /* @__PURE__ */ t(
12
+ i,
13
+ {
14
+ weight: p.SEMIBOLD,
15
+ size: a.H1,
16
+ className: e(l.statusTrackerSum, o),
17
+ ...s,
18
+ children: /* @__PURE__ */ t(c, { ...m })
19
+ }
20
+ );
21
+ };
22
+ export {
23
+ g as StatusTrackerSum
24
+ };
25
+ //# sourceMappingURL=StatusTrackerSum.js.map
@@ -0,0 +1,24 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { c as o } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import { Title as m } from "../../Typography/Title.js";
4
+ import "../../Typography/Text.js";
5
+ import "../../Typography/Caption.js";
6
+ import { ETitleSize as a, EFontWeightTitle as l } from "../../Typography/enums.js";
7
+ import { s as c } from "../../../chunks/StatusTracker.module-DetC6Udk.js";
8
+ const g = (t) => {
9
+ const { children: r, className: e, ...s } = t;
10
+ return /* @__PURE__ */ i(
11
+ m,
12
+ {
13
+ weight: l.BOLD,
14
+ size: a.H3,
15
+ className: o(c.statusTrackerTitle, e),
16
+ ...s,
17
+ children: r
18
+ }
19
+ );
20
+ };
21
+ export {
22
+ g as StatusTrackerTitle
23
+ };
24
+ //# sourceMappingURL=StatusTrackerTitle.js.map
@@ -0,0 +1,6 @@
1
+ var o = /* @__PURE__ */ ((d) => (d.DRAFT = "draft", d.WAITING = "waiting", d.WARNING = "warning", d.REJECTED = "rejected", d.APPROVED = "approved", d))(o || {}), D = /* @__PURE__ */ ((d) => (d.TOP = "top", d.MIDDLE = "middle", d.BOTTOM = "bottom", d))(D || {});
2
+ export {
3
+ o as EStatusTrackerType,
4
+ D as EVerticalAlign
5
+ };
6
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1,5 @@
1
+ import { StatusTracker as a } from "./StatusTracker.js";
2
+ export {
3
+ a as StatusTracker
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,49 @@
1
+ import { jsxs as g, jsx as i } from "react/jsx-runtime";
2
+ import { useRef as u } from "react";
3
+ import { EStepStatus as o, EStepPosition as e } from "./enums.js";
4
+ import { ETooltipAlign as n, ETooltipSize as _ } from "../Tooltip/enums.js";
5
+ import { Tooltip as a } from "../Tooltip/Tooltip.js";
6
+ import "../Typography/Title.js";
7
+ import { Text as S } from "../Typography/Text.js";
8
+ import "../Typography/Caption.js";
9
+ import { EFontWeightText as D, ETextSize as N } from "../Typography/enums.js";
10
+ import { c as A } from "../../chunks/vendor-9KVE23Ri.js";
11
+ const R = "step__5a55b579", b = "done__13ee1e4f", x = "warning__af3b18cc", h = "active__00d6288c", v = "error__a4f5a4ba", w = "disabled__00d3e95f", t = {
12
+ step: R,
13
+ default: "default__5d80d639",
14
+ done: b,
15
+ warning: x,
16
+ active: h,
17
+ error: v,
18
+ disabled: w
19
+ }, L = {
20
+ [o.DEFAULT]: t.default,
21
+ [o.ACTIVE]: t.active,
22
+ [o.WARNING]: t.warning,
23
+ [o.ERROR]: t.error,
24
+ [o.DONE]: t.done,
25
+ [o.DISABLED]: t.disabled
26
+ }, y = {
27
+ [e.XFirst]: n.START,
28
+ [e.Default]: n.CENTER,
29
+ [e.XLast]: n.END
30
+ }, G = (r, s) => s === 0 ? e.XFirst : s + 1 === r ? e.XLast : e.Default, z = ({
31
+ children: r,
32
+ className: s,
33
+ step: p,
34
+ status: d,
35
+ position: f = e.Default,
36
+ ...m
37
+ }) => {
38
+ const l = u(null), T = y[f], E = A(t.step, L[d], s), c = () => /* @__PURE__ */ i("div", { ref: l, className: E, ...m, children: /* @__PURE__ */ i(S, { size: N.B1, weight: D.SEMIBOLD, children: p }) });
39
+ return r ? /* @__PURE__ */ g(a, { size: _.SM, toggleType: "hover", alignTip: T, targetRef: l, children: [
40
+ /* @__PURE__ */ i(a.Target, { children: c() }),
41
+ /* @__PURE__ */ i(a.Body, { children: r })
42
+ ] }) : c();
43
+ };
44
+ z.displayName = "Step";
45
+ export {
46
+ z as Step,
47
+ G as calcPosition
48
+ };
49
+ //# sourceMappingURL=Step.js.map
@@ -0,0 +1,6 @@
1
+ var D = /* @__PURE__ */ ((r) => (r.DEFAULT = "default", r.DONE = "done", r.ACTIVE = "active", r.ERROR = "error", r.WARNING = "warning", r.DISABLED = "disabled", r))(D || {}), a = /* @__PURE__ */ ((r) => (r.Default = "Default", r.XFirst = "XFirst", r.XLast = "XLast", r))(a || {});
2
+ export {
3
+ a as EStepPosition,
4
+ D as EStepStatus
5
+ };
6
+ //# sourceMappingURL=enums.js.map
@@ -0,0 +1,9 @@
1
+ import { Step as e, calcPosition as p } from "./Step.js";
2
+ import { EStepPosition as r, EStepStatus as S } from "./enums.js";
3
+ export {
4
+ r as EStepPosition,
5
+ S as EStepStatus,
6
+ e as Step,
7
+ p as calcPosition
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { R as m } from "../../chunks/RightBorderArrow-D6ZllSTT.js";
2
+ import { R as m } from "../../chunks/RightBorderArrow-Co_RT8lZ.js";
3
3
  import "./enums.js";
4
4
  export {
5
5
  m as RightBorderArrow
@@ -1,91 +1,91 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { useState as D, useRef as N, useEffect as v } from "react";
3
- import { StepperExtended as C } from "./StepperExtended.js";
4
- import { StepperWrapper as G } from "./StepperWrapper.js";
5
- import { StepperStep as H } from "./StepperStep.js";
6
- import { CarouselExtended as X } from "../CarouselExtended/CarouselExtended.js";
7
- import { ButtonIcon as _ } from "../Button/ButtonIcon.js";
8
- import { CaretrightStrokeSrvIcon24 as $, CaretleftStrokeSrvIcon24 as q } from "@sberbusiness/icons-next";
9
- import { EScreenWidth as F } from "../../helpers/breakpoints.js";
10
- import { scrollSmoothHorizontally as g } from "../../utils/scroll.js";
11
- import { c as i } from "../../chunks/vendor-CehxOAkM.js";
12
- import { EStepperSize as l } from "./enums.js";
13
- const J = "stepper__056733b3", K = "stepperCarousel__b6858248", O = "buttonPrev__7a042fce", Q = "buttonNext__27309b20", T = "sm__1cdb49d1", U = "md__10bbebd3", V = "lg__4f65836c", n = {
14
- stepper: J,
15
- stepperCarousel: K,
16
- buttonPrev: O,
17
- buttonNext: Q,
18
- sm: T,
19
- md: U,
20
- lg: V
21
- }, R = (p) => {
22
- switch (p) {
23
- case l.LG:
2
+ import { useState as G, useRef as v, useEffect as C } from "react";
3
+ import { StepperExtended as _ } from "./StepperExtended.js";
4
+ import { StepperWrapper as H } from "./StepperWrapper.js";
5
+ import { StepperStep as X } from "./StepperStep.js";
6
+ import { CarouselExtended as $ } from "../CarouselExtended/CarouselExtended.js";
7
+ import { ButtonIcon as R } from "../Button/ButtonIcon.js";
8
+ import { CaretrightStrokeSrvIcon24 as q, CaretleftStrokeSrvIcon24 as F } from "@sberbusiness/icons-next";
9
+ import { EScreenWidth as J } from "../../helpers/breakpoints.js";
10
+ import { scrollSmoothHorizontally as S } from "../../utils/scroll.js";
11
+ import { c as i } from "../../chunks/vendor-9KVE23Ri.js";
12
+ import { EStepperSize as a } from "./enums.js";
13
+ const K = "stepper__94ad66fb", O = "sm__8b29a980", Q = "md__8ab08d06", T = "lg__e25e45ca", U = "stepperCarousel__be926ce2", V = "buttonPrev__0ae5084c", Y = "buttonNext__5f7946bf", n = {
14
+ stepper: K,
15
+ sm: O,
16
+ md: Q,
17
+ lg: T,
18
+ stepperCarousel: U,
19
+ buttonPrev: V,
20
+ buttonNext: Y
21
+ }, p = (m) => {
22
+ switch (m) {
23
+ case a.LG:
24
24
  return n.lg;
25
- case l.MD:
25
+ case a.MD:
26
26
  return n.md;
27
- case l.SM:
27
+ case a.SM:
28
28
  return n.sm;
29
29
  }
30
30
  }, P = ({
31
- className: p,
32
- steps: S,
33
- size: a = l.SM,
34
- selectedStepId: c,
31
+ className: m,
32
+ steps: h,
33
+ size: c = a.SM,
34
+ selectedStepId: l,
35
35
  ...E
36
36
  }) => {
37
- const [b, w] = D({ stepNext: 0, stepPrev: 0 }), m = N(null), h = N({}), B = i(n.stepper, p), M = S.findIndex((e) => e.id === c), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
38
- _,
37
+ const [b, w] = G({ stepNext: 0, stepPrev: 0 }), u = v(null), x = v({}), B = i(n.stepper, p(c), m), M = h.findIndex((e) => e.id === l), I = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
38
+ R,
39
39
  {
40
- className: i(n.buttonPrev, R(a)),
40
+ className: i(n.buttonPrev, p(c)),
41
41
  ...t,
42
42
  "aria-label": "Прокрутить назад",
43
- children: /* @__PURE__ */ s(q, { className: i(n.buttonPrevIcon), paletteIndex: 5 })
43
+ children: /* @__PURE__ */ s(F, { className: i(n.buttonPrevIcon), paletteIndex: 5 })
44
44
  }
45
45
  ), W = ({ hidden: e, ...t }) => e ? null : /* @__PURE__ */ s(
46
- _,
46
+ R,
47
47
  {
48
- className: i(n.buttonNext, R(a)),
48
+ className: i(n.buttonNext, p(c)),
49
49
  ...t,
50
50
  "aria-label": "Прокрутить вперёд",
51
- children: /* @__PURE__ */ s($, { className: i(n.buttonNextIcon), paletteIndex: 5 })
51
+ children: /* @__PURE__ */ s(q, { className: i(n.buttonNextIcon), paletteIndex: 5 })
52
52
  }
53
53
  );
54
- v(() => {
55
- const { current: e } = m;
54
+ C(() => {
55
+ const { current: e } = u;
56
56
  if (e) {
57
57
  const t = e.getBoundingClientRect().width * 0.3;
58
58
  w({ stepNext: t, stepPrev: t });
59
59
  }
60
60
  }, []);
61
61
  const L = (e, t, r, o) => {
62
- r > 0 && (t.nextElementSibling && (r -= o - t.nextElementSibling.getBoundingClientRect().right), g(e, Math.ceil(r)));
62
+ r > 0 && (t.nextElementSibling && (r -= o - t.nextElementSibling.getBoundingClientRect().right), S(e, Math.ceil(r)));
63
63
  }, k = (e, t, r, o) => {
64
- r < 0 && (t.previousElementSibling && (r -= o - t.previousElementSibling.getBoundingClientRect().left), g(e, Math.floor(r)));
64
+ r < 0 && (t.previousElementSibling && (r -= o - t.previousElementSibling.getBoundingClientRect().left), S(e, Math.floor(r)));
65
65
  }, y = (e, t) => {
66
- t && g(e, t);
66
+ t && S(e, t);
67
67
  }, A = (e, t) => {
68
- const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: u, right: x, width: z } = t.getBoundingClientRect(), f = r + j / 2, d = u + z / 2;
69
- window.matchMedia(`(max-width: ${F.SM_MAX})`).matches ? y(e, d - f) : f > d ? k(e, t, u - r - 32, u) : f < d && L(e, t, x - o + 32, x);
68
+ const { left: r, right: o, width: j } = e.getBoundingClientRect(), { left: f, right: N, width: D } = t.getBoundingClientRect(), g = r + j / 2, d = f + D / 2;
69
+ window.matchMedia(`(max-width: ${J.SM_MAX})`).matches ? y(e, d - g) : g > d ? k(e, t, f - r - 32, f) : g < d && L(e, t, N - o + 32, N);
70
70
  };
71
- return v(() => {
72
- if (c) {
73
- const { current: e } = m, t = h.current[c];
71
+ return C(() => {
72
+ if (l) {
73
+ const { current: e } = u, t = x.current[l];
74
74
  e && t && A(e, t);
75
75
  }
76
- }, [c]), /* @__PURE__ */ s(
77
- X,
76
+ }, [l]), /* @__PURE__ */ s(
77
+ $,
78
78
  {
79
- className: i(n.stepperCarousel),
79
+ className: i(n.stepperCarousel, p(c)),
80
80
  buttonPrev: I,
81
81
  buttonNext: W,
82
82
  stepPrev: b.stepPrev,
83
83
  stepNext: b.stepNext,
84
- ref: m,
85
- children: /* @__PURE__ */ s(C, { className: B, selectedStepId: c, size: a, ...E, children: S.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
86
- C.Step,
84
+ ref: u,
85
+ children: /* @__PURE__ */ s(_, { className: B, selectedStepId: l, size: c, ...E, children: h.map(({ label: e, ...t }, r) => /* @__PURE__ */ s(
86
+ _.Step,
87
87
  {
88
- forwardedRef: (o) => h.current[t.id] = o,
88
+ forwardedRef: (o) => x.current[t.id] = o,
89
89
  ...t,
90
90
  isInActiveStep: r > M,
91
91
  children: e
@@ -95,8 +95,8 @@ const J = "stepper__056733b3", K = "stepperCarousel__b6858248", O = "buttonPrev_
95
95
  }
96
96
  );
97
97
  };
98
- P.Wrapper = G;
99
- P.Step = H;
98
+ P.Wrapper = H;
99
+ P.Step = X;
100
100
  export {
101
101
  P as Stepper
102
102
  };
@@ -3,8 +3,8 @@ import { EStepperSize as a } from "./enums.js";
3
3
  import { StepperExtendedContext as i } from "./StepperExtendedContext.js";
4
4
  import { StepperWrapper as x } from "./StepperWrapper.js";
5
5
  import { StepperStep as f } from "./StepperStep.js";
6
- import { c as E } from "../../chunks/vendor-CehxOAkM.js";
7
- const b = "stepperExtended__3da3b556", h = {
6
+ import { c as E } from "../../chunks/vendor-9KVE23Ri.js";
7
+ const b = "stepperExtended__4b848bf0", h = {
8
8
  stepperExtended: b
9
9
  }, t = ({
10
10
  children: r,
@@ -4,8 +4,8 @@ import { StepperStepIcon as q } from "./StepperStepIcon.js";
4
4
  import { isKey as A } from "../../utils/keyboard.js";
5
5
  import { StepperExtendedContext as D } from "./StepperExtendedContext.js";
6
6
  import { EFocusSource as s } from "../../enums/EFocusSource.js";
7
- import { c as C } from "../../chunks/vendor-CehxOAkM.js";
8
- import { s as t, R as F } from "../../chunks/RightBorderArrow-D6ZllSTT.js";
7
+ import { c as C } from "../../chunks/vendor-9KVE23Ri.js";
8
+ import { s as t, R as F } from "../../chunks/RightBorderArrow-Co_RT8lZ.js";
9
9
  import { EStepperSize as h, EStepperStepType as j } from "./enums.js";
10
10
  const H = ({
11
11
  children: x,
@@ -72,7 +72,7 @@ const H = ({
72
72
  ...G,
73
73
  ref: P,
74
74
  children: [
75
- /* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.3.0", children: [
75
+ /* @__PURE__ */ I("div", { className: t.content, "data-tx": "1.5.0", children: [
76
76
  g && U(),
77
77
  x
78
78
  ] }),
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { c as a } from "../../chunks/vendor-CehxOAkM.js";
3
- const o = "stepperWrapper__9f568bd7", c = {
4
- stepperWrapper: o
2
+ import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
3
+ const c = "stepperWrapper__7bf77bc7", o = {
4
+ stepperWrapper: c
5
5
  }, W = ({ children: p, className: r, ...e }) => {
6
- const s = a(c.stepperWrapper, r);
7
- return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.3.0", children: p });
6
+ const s = a(o.stepperWrapper, r);
7
+ return /* @__PURE__ */ t("div", { className: s, ...e, "data-tx": "1.5.0", children: p });
8
8
  };
9
9
  export {
10
10
  W as StepperWrapper
@@ -0,0 +1,99 @@
1
+ import { SuggestContext as J } from "./SuggestContext.js";
2
+ import { jsx as l } from "react/jsx-runtime";
3
+ import N, { useState as m, useId as Q, useRef as d, useCallback as r, useEffect as x } from "react";
4
+ import { isKey as T } from "../../utils/keyboard.js";
5
+ const U = ({
6
+ children: C,
7
+ value: n,
8
+ options: D,
9
+ size: W,
10
+ placeholder: I,
11
+ noOptionsText: L,
12
+ loading: O,
13
+ dropdownListLoading: A,
14
+ tooltipOpen: P,
15
+ clearInputOnFocus: _,
16
+ onKeyDown: e,
17
+ onSelect: g,
18
+ onFilter: R,
19
+ onScrollEnd: j,
20
+ ...k
21
+ }, s) => {
22
+ const [i, f] = m((n == null ? void 0 : n.label) || ""), [z, B] = m(), [o, a] = m(!1), F = Q(), p = d(null), S = d(null), u = d(() => {
23
+ }), c = d(() => {
24
+ }), M = r(
25
+ (t) => {
26
+ i !== t && f(t);
27
+ },
28
+ [i]
29
+ );
30
+ u.current = M, x(() => {
31
+ u.current((n == null ? void 0 : n.label) || "");
32
+ }, [n]);
33
+ const b = r(
34
+ (t = (n == null ? void 0 : n.label) || "") => {
35
+ u.current(t), B(void 0), a(!1);
36
+ },
37
+ [n]
38
+ );
39
+ c.current = b, x(() => {
40
+ const t = (h) => {
41
+ var w, E;
42
+ !((w = p.current) != null && w.contains(h.target)) && !((E = S.current) != null && E.contains(h.target)) && c.current();
43
+ };
44
+ if (o)
45
+ return document.addEventListener("mousedown", t), () => {
46
+ document.removeEventListener("mousedown", t);
47
+ };
48
+ }, [o]);
49
+ const q = r(
50
+ (t) => {
51
+ o === !0 && T(t.code, "ESCAPE") && c.current(), e == null || e(t);
52
+ },
53
+ [o, e]
54
+ ), G = r(
55
+ (t) => {
56
+ c.current((t == null ? void 0 : t.label) || ""), g(t);
57
+ },
58
+ [g]
59
+ ), H = r(
60
+ (t) => {
61
+ f(t), R(t);
62
+ },
63
+ [R]
64
+ );
65
+ return /* @__PURE__ */ l("div", { onKeyDown: q, ...k, ref: (t) => {
66
+ p.current = t, typeof s == "function" ? s(t) : s && (s.current = t);
67
+ }, children: /* @__PURE__ */ l(
68
+ J.Provider,
69
+ {
70
+ value: {
71
+ value: n,
72
+ options: D,
73
+ placeholder: I,
74
+ noOptionsText: L,
75
+ loading: O,
76
+ dropdownListLoading: A,
77
+ tooltipOpen: P,
78
+ clearInputOnFocus: _,
79
+ onSelect: G,
80
+ onFilter: H,
81
+ onScrollEnd: j,
82
+ inputValue: i,
83
+ setInputValue: f,
84
+ activeDescendant: z,
85
+ dropdownOpen: o,
86
+ setDropdownOpen: a,
87
+ closeDropdown: b,
88
+ dropdownListId: F,
89
+ suggestRef: p,
90
+ dropdownRef: S
91
+ },
92
+ children: C
93
+ }
94
+ ) });
95
+ }, K = N.forwardRef(U);
96
+ export {
97
+ K as Suggest
98
+ };
99
+ //# sourceMappingURL=Suggest.js.map
@@ -0,0 +1,29 @@
1
+ import e, { useContext as t } from "react";
2
+ const n = e.createContext({
3
+ value: void 0,
4
+ options: [],
5
+ inputValue: "",
6
+ onSelect: () => {
7
+ },
8
+ onFilter: () => {
9
+ },
10
+ setInputValue: () => {
11
+ },
12
+ activeDescendant: void 0,
13
+ dropdownOpen: !1,
14
+ setDropdownOpen: () => {
15
+ },
16
+ closeDropdown: () => {
17
+ },
18
+ dropdownListId: "",
19
+ suggestRef: { current: null },
20
+ dropdownRef: { current: null }
21
+ });
22
+ function r() {
23
+ return t(n);
24
+ }
25
+ export {
26
+ n as SuggestContext,
27
+ r as useSuggestContext
28
+ };
29
+ //# sourceMappingURL=SuggestContext.js.map