@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
@@ -1,36 +1,42 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import l, { useRef as u } from "react";
3
- import { Footer as t } from "../../Footer/Footer.js";
4
- import { EFooterPageType as f } from "./enums.js";
5
- import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
6
- import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
7
- import { useStickyCornerRadius as y } from "./useStickyCornerRadius.js";
8
- import { Island as R } from "../../Island/Island.js";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import F, { useRef as R } from "react";
3
+ import { c as T } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { Footer as s } from "../../Footer/Footer.js";
5
+ import { EFooterPageType as i } from "./enums.js";
6
+ import { useStickyCornerRadius as d } from "./useStickyCornerRadius.js";
7
+ import { Island as y } from "../../Island/Island.js";
9
8
  import { EIslandType as g } from "../../Island/enums.js";
10
- const I = Object.assign(
11
- l.forwardRef(({ className: s, type: c = f.FIRST, ...i }, o) => {
12
- const m = u(null);
13
- y(m, "bottom");
14
- const n = (e) => {
15
- m.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
16
- }, d = a(s, p.footerPageTypeSecond);
17
- return c === f.SECOND ? /* @__PURE__ */ r(
18
- R,
19
- {
20
- className: d,
21
- type: g.TYPE_1,
22
- borderRadius: 16,
23
- paddingSize: 16,
24
- ref: n,
25
- children: /* @__PURE__ */ r(t, { ...i })
26
- }
27
- ) : /* @__PURE__ */ r(t, { ref: o, className: a(p.footerPageTypeFirst, s), ...i });
28
- }),
9
+ import "../../Island/components/IslandBody.js";
10
+ import "../../Island/components/IslandHeader.js";
11
+ import "../../Island/components/IslandFooter.js";
12
+ import { s as c } from "../../../chunks/Page.module-DUQ6i8Ez.js";
13
+ const w = Object.assign(
14
+ F.forwardRef(
15
+ ({ className: m, type: r, size: n, sticky: f, ...p }, o) => {
16
+ const a = R(null);
17
+ d(a, "bottom", r === i.FIRST && f);
18
+ const l = (t) => {
19
+ a.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
20
+ }, u = T(m, c.footerPageTypeFirst, {
21
+ [c.sticky]: r === i.FIRST && f
22
+ });
23
+ return r === i.FIRST ? /* @__PURE__ */ e(
24
+ y,
25
+ {
26
+ className: u,
27
+ type: g.TYPE_1,
28
+ ref: l,
29
+ size: n,
30
+ children: /* @__PURE__ */ e(s, { ...p })
31
+ }
32
+ ) : /* @__PURE__ */ e(s, { ref: o, className: m, ...p });
33
+ }
34
+ ),
29
35
  {
30
- Description: t.Description
36
+ Description: s.Description
31
37
  }
32
38
  );
33
39
  export {
34
- I as FooterPage
40
+ w as FooterPage
35
41
  };
36
42
  //# sourceMappingURL=FooterPage.js.map
@@ -1,31 +1,25 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import c, { useRef as u } from "react";
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import T, { useRef as R } from "react";
3
3
  import { Header as e } from "../../Header/Header.js";
4
- import { EHeaderPageType as i } from "./enums.js";
5
- import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
6
- import { Island as y } from "../../Island/Island.js";
7
- import { EIslandType as S } from "../../Island/enums.js";
8
- import { useStickyCornerRadius as T } from "./useStickyCornerRadius.js";
9
- import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
10
- const H = Object.assign(
11
- c.forwardRef(({ className: t, type: f = i.FIRST, ...s }, r) => {
12
- const d = u(null);
13
- T(d, "top");
14
- const n = (a) => {
15
- d.current = a, typeof r == "function" ? r(a) : r && (r.current = a);
16
- }, l = m(t, p.headerPageTypeSecond);
17
- return f === i.SECOND ? /* @__PURE__ */ o(
18
- y,
19
- {
20
- className: l,
21
- type: S.TYPE_1,
22
- borderRadius: 16,
23
- paddingSize: 16,
24
- ref: n,
25
- children: /* @__PURE__ */ o(e, { ...s })
26
- }
27
- ) : /* @__PURE__ */ o(e, { ref: r, className: m(p.headerPageTypeFirst, t), ...s });
28
- }),
4
+ import { EHeaderPageType as t } from "./enums.js";
5
+ import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
6
+ import { Island as S } from "../../Island/Island.js";
7
+ import { EIslandType as y } from "../../Island/enums.js";
8
+ import { useStickyCornerRadius as b } from "./useStickyCornerRadius.js";
9
+ import { s as i } from "../../../chunks/Page.module-DUQ6i8Ez.js";
10
+ const j = Object.assign(
11
+ T.forwardRef(
12
+ ({ className: m, type: a, size: n, sticky: d, ...f }, r) => {
13
+ const l = R(null);
14
+ b(l, "top", a === t.FIRST && d);
15
+ const c = (o) => {
16
+ l.current = o, typeof r == "function" ? r(o) : r && (r.current = o);
17
+ }, u = p(m, i.headerPageTypeFirst, {
18
+ [i.sticky]: a === t.FIRST && d
19
+ });
20
+ return a === t.FIRST ? /* @__PURE__ */ s(S, { className: u, type: y.TYPE_1, size: n, ref: c, children: /* @__PURE__ */ s(e, { ...f }) }) : /* @__PURE__ */ s(e, { ref: r, className: p(i.headerPageTypeSecond, m), ...f });
21
+ }
22
+ ),
29
23
  {
30
24
  LayoutSidebar: e.LayoutSidebar,
31
25
  Subhead: e.Subhead,
@@ -34,6 +28,6 @@ const H = Object.assign(
34
28
  }
35
29
  );
36
30
  export {
37
- H as HeaderPage
31
+ j as HeaderPage
38
32
  };
39
33
  //# sourceMappingURL=HeaderPage.js.map
@@ -1,34 +1,44 @@
1
- import { useEffect as y } from "react";
2
- function g(n) {
3
- let t = n;
1
+ import { useEffect as v } from "react";
2
+ function E(i) {
3
+ let t = i;
4
4
  for (; t && t !== document.documentElement; ) {
5
- const c = getComputedStyle(t).overflowY;
6
- if (/(auto|scroll|overlay)/.test(c) && t.scrollHeight > t.clientHeight) return t;
5
+ const e = getComputedStyle(t).overflowY;
6
+ if (/(auto|scroll|overlay)/.test(e) && t.scrollHeight > t.clientHeight) return t;
7
7
  t = t.parentElement;
8
8
  }
9
9
  return window;
10
10
  }
11
- function R(n, t) {
12
- y(() => {
13
- const e = n.current;
11
+ function L(i, t, c = !0) {
12
+ v(() => {
13
+ const e = i.current;
14
14
  if (!e) return;
15
- const c = 16, w = t === "top" ? "--r-top" : "--r-bottom", i = getComputedStyle(e), f = t === "top" ? i.top : i.bottom, l = parseFloat(f || "0") || 0, r = g(e);
16
- let o = 0;
17
- const a = () => {
18
- o = 0;
19
- const m = e.getBoundingClientRect(), d = r === window ? { top: 0, bottom: window.innerHeight } : r.getBoundingClientRect(), v = t === "top" ? m.top - (d.top + l) : d.bottom - l - m.bottom, p = Math.max(0, Math.min(c, v));
20
- e.style.setProperty(w, `${p}px`), p <= 0.5 ? e.dataset.stuck = "true" : delete e.dataset.stuck;
21
- }, s = () => {
22
- o || (o = requestAnimationFrame(a));
15
+ const u = t === "top" ? "--r-top" : "--r-bottom";
16
+ if (!c) {
17
+ e.style.removeProperty(u), delete e.dataset.stuck;
18
+ return;
19
+ }
20
+ const p = 24;
21
+ let d = 0, r = 0, s = window, l = null;
22
+ const m = () => {
23
+ r = 0;
24
+ const o = e.getBoundingClientRect(), n = s === window ? { top: 0, bottom: window.innerHeight } : s.getBoundingClientRect(), g = t === "top" ? o.top - (n.top + d) : n.bottom - d - o.bottom, f = Math.max(0, Math.min(p, g));
25
+ e.style.setProperty(u, `${f}px`), f <= 0.5 ? e.dataset.stuck = "true" : delete e.dataset.stuck;
26
+ }, a = () => {
27
+ r || (r = requestAnimationFrame(m));
28
+ }, y = () => {
29
+ const o = getComputedStyle(e), n = t === "top" ? o.top : o.bottom;
30
+ d = parseFloat(n || "0") || 0, s = E(e), l = s === window ? window : s, m(), l.addEventListener("scroll", a, { passive: !0 }), window.addEventListener("resize", a), window.addEventListener("transitionend", w);
31
+ }, w = (o) => {
32
+ o.target && o.target instanceof HTMLElement && o.target.classList && o.propertyName === "transform" && Array.from(o.target.classList).some(
33
+ (n) => n.includes("lightBoxSideOverlayContent")
34
+ ) && m();
23
35
  };
24
- a();
25
- const u = r === window ? window : r;
26
- return u.addEventListener("scroll", s, { passive: !0 }), window.addEventListener("resize", s), () => {
27
- u.removeEventListener("scroll", s), window.removeEventListener("resize", s), o && cancelAnimationFrame(o);
36
+ return setTimeout(y, 100), () => {
37
+ l && l.removeEventListener("scroll", a), window.removeEventListener("resize", a), window.removeEventListener("transitionend", w), r && cancelAnimationFrame(r);
28
38
  };
29
- }, [n, t]);
39
+ }, [i, t, c]);
30
40
  }
31
41
  export {
32
- R as useStickyCornerRadius
42
+ L as useStickyCornerRadius
33
43
  };
34
44
  //# sourceMappingURL=useStickyCornerRadius.js.map
@@ -1,17 +1,17 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
2
+ import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
3
3
  import i from "react";
4
- const r = "paginationExtended__799e5e04", s = {
4
+ const r = "paginationExtended__ac3aa172", s = {
5
5
  paginationExtended: r
6
6
  }, x = i.forwardRef(
7
- ({ children: t, className: a, ...n }, e) => /* @__PURE__ */ o(
7
+ ({ children: a, className: t, ...n }, e) => /* @__PURE__ */ o(
8
8
  "nav",
9
9
  {
10
- className: d(s.paginationExtended, a),
11
- "data-tx": "1.3.0",
10
+ className: d(s.paginationExtended, t),
11
+ "data-tx": "1.5.0",
12
12
  ...n,
13
13
  ref: e,
14
- children: t
14
+ children: a
15
15
  }
16
16
  )
17
17
  );
@@ -4,10 +4,10 @@ import { ButtonIcon as p } from "../../Button/ButtonIcon.js";
4
4
  import { EButtonIconShape as m } from "../../Button/enums.js";
5
5
  import { EPaginationNavigationIconDirection as s } from "../enums.js";
6
6
  import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
7
- const g = "paginationNavigationButton__949b553a", N = "directionIconNext__d48e9336", n = {
7
+ const g = "paginationNavigationButton__a0d90f1f", N = "directionIconNext__317bcaf4", n = {
8
8
  paginationNavigationButton: g,
9
9
  directionIconNext: N
10
- }, d = c.forwardRef(
10
+ }, f = c.forwardRef(
11
11
  ({ direction: i, ...a }, e) => {
12
12
  const r = i === s.BACK;
13
13
  return /* @__PURE__ */ t(
@@ -22,8 +22,8 @@ const g = "paginationNavigationButton__949b553a", N = "directionIconNext__d48e93
22
22
  );
23
23
  }
24
24
  );
25
- d.displayName = "PaginationNavigationButton";
25
+ f.displayName = "PaginationNavigationButton";
26
26
  export {
27
- d as PaginationNavigationButton
27
+ f as PaginationNavigationButton
28
28
  };
29
29
  //# sourceMappingURL=PaginationNavigationButton.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import e from "react";
3
- import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
4
- const g = "paginationNavigationExtended__62c2b434", r = {
3
+ import { c as d } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ const g = "paginationNavigationExtended__4295512f", r = {
5
5
  paginationNavigationExtended: g
6
6
  }, s = e.forwardRef(
7
7
  ({ children: a, className: t, ...i }, n) => /* @__PURE__ */ o("ul", { className: d(r.paginationNavigationExtended, t), ...i, ref: n, children: a })
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import g from "react";
3
- import { c } from "../../../chunks/vendor-CehxOAkM.js";
4
- const s = "paginationPageButton__c617376c", u = "currentPage__2ee526a7", a = {
3
+ import { c } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ const s = "paginationPageButton__78f7775b", u = "currentPage__5bf93383", a = {
5
5
  paginationPageButton: s,
6
6
  currentPage: u
7
7
  }, P = g.forwardRef(
@@ -1,10 +1,10 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { c as e } from "../../../chunks/vendor-CehxOAkM.js";
2
+ import { c as e } from "../../../chunks/vendor-9KVE23Ri.js";
3
3
  import o from "react";
4
- const t = "pageEllipsis__9d1ab94e", r = {
4
+ const t = "pageEllipsis__334d9c52", r = {
5
5
  pageEllipsis: t
6
6
  }, n = o.forwardRef(
7
- ({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
7
+ ({ children: s, className: i, ...a }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, i), ...a, ref: l, children: s })
8
8
  );
9
9
  n.displayName = "PaginationPageEllipsis";
10
10
  export {
@@ -1,26 +1,26 @@
1
- import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
- import g, { useRef as S } from "react";
3
- import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
1
+ import { jsxs as g, jsx as t } from "react/jsx-runtime";
2
+ import S, { useRef as f } from "react";
3
+ import { a as x, c as N } from "../../../chunks/vendor-9KVE23Ri.js";
4
4
  import "../../Typography/Title.js";
5
5
  import { Text as v } from "../../Typography/Text.js";
6
6
  import "../../Typography/Caption.js";
7
7
  import { ETextSize as _ } from "../../Typography/enums.js";
8
- const b = "paginationSelect__0232411f", h = "paginationSelectControl__f6feb388", o = {
9
- paginationSelect: b,
10
- paginationSelectControl: h
11
- }, y = g.forwardRef(
12
- ({ paginationLabel: c, className: s, hidden: m, options: i, value: a, onChange: n }, d) => {
13
- const l = S(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
8
+ const h = "paginationSelect__810e373f", b = "paginationSelectControl__e37341a8", o = {
9
+ paginationSelect: h,
10
+ paginationSelectControl: b
11
+ }, y = S.forwardRef(
12
+ ({ paginationLabel: c, className: s, hidden: m, options: i, value: n, onChange: a }, d) => {
13
+ const l = f(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
14
14
  const r = Number(e.target.value);
15
- Number.isNaN(r) || n == null || n(r);
15
+ Number.isNaN(r) || a == null || a(r);
16
16
  };
17
- return m ? null : /* @__PURE__ */ f("div", { className: N(o.paginationSelect, s), ref: d, children: [
17
+ return m ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: d, children: [
18
18
  /* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
19
19
  /* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
20
20
  "select",
21
21
  {
22
22
  "aria-labelledby": l.current,
23
- value: a !== void 0 ? String(a) : void 0,
23
+ value: n !== void 0 ? String(n) : void 0,
24
24
  onChange: u,
25
25
  children: p.map((e) => /* @__PURE__ */ t("option", { value: e, children: e }, e))
26
26
  }
@@ -1,4 +1,4 @@
1
- import { j as R } from "../../../chunks/vendor-CehxOAkM.js";
1
+ import { k as R } from "../../../chunks/vendor-9KVE23Ri.js";
2
2
  const m = -1, h = {
3
3
  // Создание массива чисел в заданном диапазоне с заданным шагом.
4
4
  generateRange: (n, i, e = 1) => n > i ? [] : R(n, i + 1, e),
@@ -1,13 +1,13 @@
1
- import { jsxs as b, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
2
  import N from "react";
3
- import { c as d } from "../../chunks/vendor-CehxOAkM.js";
3
+ import { c as m } from "../../chunks/vendor-9KVE23Ri.js";
4
4
  import "../Typography/Title.js";
5
5
  import { Text as x } from "../Typography/Text.js";
6
6
  import "../Typography/Caption.js";
7
- import { ETextSize as m } from "../Typography/enums.js";
7
+ import { ETextSize as n } from "../Typography/enums.js";
8
8
  import { EComponentSize as i } from "../../enums/EComponentSize.js";
9
9
  import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
10
- const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "lg__4ede3efb", I = "disabled__51ecd7f5", R = "radio__9e4485f3", S = "radioIcon__d4af55e2", o = {
10
+ const y = "label__fdbef6e9", T = "md__6df6a75c", M = "nonempty__79d265f3", u = "lg__37b5609e", I = "disabled__76a4de7e", R = "radio__cad79ab3", S = "radioIcon__1ed8bd7a", a = {
11
11
  label: y,
12
12
  md: T,
13
13
  nonempty: M,
@@ -16,19 +16,19 @@ const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "
16
16
  radio: R,
17
17
  radioIcon: S
18
18
  }, g = {
19
- [i.LG]: m.B2,
20
- [i.MD]: m.B3
21
- }, C = z(o), h = N.forwardRef((n, r) => {
22
- const { children: a, className: l, disabled: c, labelAttributes: e, size: s = i.MD, ...p } = n, _ = d(o.radio, l, C[s]), f = d(
23
- o.label,
24
- o[s],
25
- { [o.disabled]: !!c, [o.nonempty]: !!a },
26
- e == null ? void 0 : e.className
19
+ [i.LG]: n.B2,
20
+ [i.MD]: n.B3
21
+ }, C = z(a), h = N.forwardRef((c, r) => {
22
+ const { children: e, className: l, disabled: d, labelAttributes: o, size: s = i.MD, ...p } = c, _ = m(a.radio, l, C[s]), b = m(
23
+ a.label,
24
+ a[s],
25
+ { [a.disabled]: !!d, [a.nonempty]: !!e },
26
+ o == null ? void 0 : o.className
27
27
  );
28
- return /* @__PURE__ */ b("label", { ...e, className: f, "data-tx": "1.3.0", children: [
29
- /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref: r }),
30
- /* @__PURE__ */ t("span", { className: o.radioIcon }),
31
- a && /* @__PURE__ */ t(x, { size: g[s], children: a })
28
+ return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.5.0", children: [
29
+ /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: d, ...p, ref: r }),
30
+ /* @__PURE__ */ t("span", { className: a.radioIcon }),
31
+ e && /* @__PURE__ */ t(x, { size: g[s], children: e })
32
32
  ] });
33
33
  });
34
34
  h.displayName = "Radio";
@@ -1,17 +1,17 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as r } from "../../chunks/vendor-CehxOAkM.js";
3
- const s = "radioXGroup__eadecc9a", _ = "label__065c3332", n = {
4
- radioXGroup: s,
5
- "indent-12": "indent-12__7cc468c6",
6
- label: _,
7
- "indent-16": "indent-16__35fc33e9",
8
- "indent-20": "indent-20__5ac03995",
9
- "indent-24": "indent-24__4339e714",
10
- "indent-28": "indent-28__99779caf",
11
- "indent-32": "indent-32__89ac3ff3"
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { c as s } from "../../chunks/vendor-9KVE23Ri.js";
3
+ const _ = "radioXGroup__8a2cdbd6", c = "label__fdbef6e9", n = {
4
+ radioXGroup: _,
5
+ "indent-12": "indent-12__65f17236",
6
+ label: c,
7
+ "indent-16": "indent-16__8e998d3f",
8
+ "indent-20": "indent-20__a42925ad",
9
+ "indent-24": "indent-24__0c64fcb7",
10
+ "indent-28": "indent-28__aa79a964",
11
+ "indent-32": "indent-32__2b02a86e"
12
12
  }, l = (e) => {
13
- const { children: i, className: o, indent: t = 12, ...d } = e, a = r(n.radioXGroup, n[`indent-${t}`], o);
14
- return /* @__PURE__ */ c("div", { className: a, role: "radiogroup", ...d, children: i });
13
+ const { children: d, className: a, indent: i = 12, ...o } = e, t = s(n.radioXGroup, n[`indent-${i}`], a);
14
+ return /* @__PURE__ */ r("div", { className: t, role: "radiogroup", ...o, children: d });
15
15
  };
16
16
  l.displayName = "RadioXGroup";
17
17
  export {
@@ -1,13 +1,13 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as d } from "../../chunks/vendor-CehxOAkM.js";
3
- const p = "radioYGroup__4069dfa1", t = {
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { c as i } from "../../chunks/vendor-9KVE23Ri.js";
3
+ const p = "radioYGroup__0e7e0c6c", t = {
4
4
  radioYGroup: p
5
- }, e = (o) => {
6
- const { children: r, className: s, ...a } = o, i = d(t.radioYGroup, s);
7
- return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
5
+ }, d = (o) => {
6
+ const { children: r, className: s, ...a } = o, c = i(t.radioYGroup, s);
7
+ return /* @__PURE__ */ e("div", { className: c, role: "radiogroup", ...a, children: r });
8
8
  };
9
- e.displayName = "RadioYGroup";
9
+ d.displayName = "RadioYGroup";
10
10
  export {
11
- e as RadioYGroup
11
+ d as RadioYGroup
12
12
  };
13
13
  //# sourceMappingURL=RadioYGroup.js.map
@@ -1,11 +1,11 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as d } from "../../chunks/vendor-CehxOAkM.js";
3
- const m = "row__988f01ae", i = "noPaddingBottom__57c02643", o = {
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { c as a } from "../../chunks/vendor-9KVE23Ri.js";
3
+ const m = "row__a07f9fc2", i = "noPaddingBottom__c7f95bd6", o = {
4
4
  row: m,
5
5
  noPaddingBottom: i
6
6
  }, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
7
- const a = d(n, o.row, { [o.noPaddingBottom]: !s });
8
- return /* @__PURE__ */ c("div", { className: a, ...r, children: t });
7
+ const c = a(n, o.row, { [o.noPaddingBottom]: !s });
8
+ return /* @__PURE__ */ d("div", { className: c, ...r, children: t });
9
9
  };
10
10
  e.displayName = "Row";
11
11
  export {
@@ -0,0 +1,41 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { c as C } from "../../chunks/vendor-9KVE23Ri.js";
3
+ import { useState as e } from "react";
4
+ import { SMSInputContext as h } from "./SMSInputContext.js";
5
+ import { SMSInputInput as N } from "./components/SMSInputInput.js";
6
+ import { SMSInputRefresh as x } from "./components/SMSInputRefresh.js";
7
+ import { SMSInputSubmit as T } from "./components/SMSInputSubmit.js";
8
+ import { SMSInputTooltip as v } from "./components/SMSInputTooltip.js";
9
+ import { s as r } from "../../chunks/SMSInput.module-D1TiDw_A.js";
10
+ import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
11
+ const y = z(r), t = (i) => {
12
+ const { children: m, className: p, code: a, disabled: n, error: S, onChangeCode: l, onSubmitCode: u, size: o, ...d } = i, [c, I] = e(!0), [f, b] = e(), M = C(r.smsInput, p);
13
+ return /* @__PURE__ */ s(
14
+ h.Provider,
15
+ {
16
+ value: {
17
+ code: a,
18
+ disabled: !!n,
19
+ disabledSubmit: c,
20
+ error: !!S,
21
+ onChangeCode: l,
22
+ onSubmitCode: u,
23
+ setDisabledSubmit: I,
24
+ setTooltipId: b,
25
+ size: o,
26
+ sizeClassName: y[o],
27
+ tooltipId: f
28
+ },
29
+ children: /* @__PURE__ */ s("div", { className: M, ...d, "data-tx": "1.5.0", children: m })
30
+ }
31
+ );
32
+ };
33
+ t.displayName = "SMSInput";
34
+ t.Tooltip = v;
35
+ t.Refresh = x;
36
+ t.Input = N;
37
+ t.Submit = T;
38
+ export {
39
+ t as SMSInput
40
+ };
41
+ //# sourceMappingURL=SMSInput.js.map
@@ -0,0 +1,23 @@
1
+ import e from "react";
2
+ import { EComponentSize as t } from "../../enums/EComponentSize.js";
3
+ const o = {
4
+ code: "",
5
+ disabled: !1,
6
+ disabledSubmit: !0,
7
+ error: !1,
8
+ onChangeCode: () => {
9
+ },
10
+ onSubmitCode: () => {
11
+ },
12
+ setDisabledSubmit: () => {
13
+ },
14
+ setTooltipId: () => {
15
+ },
16
+ size: t.LG,
17
+ sizeClassName: "",
18
+ tooltipId: void 0
19
+ }, a = e.createContext(o);
20
+ export {
21
+ a as SMSInputContext
22
+ };
23
+ //# sourceMappingURL=SMSInputContext.js.map
@@ -0,0 +1,35 @@
1
+ import { jsxs as i, jsx as s } from "react/jsx-runtime";
2
+ import { c as P } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import { s as o } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
4
+ import { EComponentSize as u } from "../../../enums/EComponentSize.js";
5
+ const r = "M2 10c0-4.42 3.58-8 8-8 2.52 0 4.77 1.16 6.24 3H13.5c-.56 0-1 .44-1 1 0 .55.44 1 1 1h5c.55 0 1-.45 1-1V1c0-.56-.45-1-1-1-.56 0-1 .44-1 1v2.38A10.02 10.02 0 0 0 10 0C4.47 0 0 4.47 0 10c0 5.52 4.47 10 10 10 5.52 0 10-4.48 10-10 0-.56-.45-1-1-1-.56 0-1 .44-1 1 0 4.41-3.59 8-8 8-4.42 0-8-3.59-8-8", d = "M27 16c0 .81-.09 1.61-.27 2.39a10.9 10.9 0 0 1-1.54 3.65c-.41.62-.88 1.2-1.42 1.73-.53.54-1.11 1.01-1.73 1.42a10.906 10.906 0 0 1-3.65 1.54c-.78.18-1.58.27-2.39.27q-1.23 0-2.4-.27a10.9 10.9 0 0 1-3.65-1.54c-.62-.41-1.2-.88-1.73-1.42-.54-.53-1.01-1.11-1.42-1.73a10.906 10.906 0 0 1-1.54-3.65C5.08 17.61 5 16.81 5 16c0-.82.08-1.62.26-2.4A10.9 10.9 0 0 1 6.8 9.95c.41-.62.88-1.2 1.42-1.73.53-.54 1.11-1.01 1.73-1.42a10.906 10.906 0 0 1 3.65-1.54C14.38 5.08 15.18 5 16 5a11.1 11.1 0 0 1 2.93.39c.44.12.86.27 1.27.44.47.19.93.42 1.37.68.39.23.75.47 1.1.74.4.31.78.64 1.14 1 .06.06.12.13.19.2V6c0-.57.44-1 1-1s1 .43 1 1v5c0 .66-.34 1-1 1h-5c-.56 0-1-.44-1-1 0-.57.44-1 1-1h2.7c-.1-.12-.21-.23-.31-.34-.3-.3-.61-.58-.95-.83-.28-.21-.57-.41-.88-.59a8.753 8.753 0 0 0-3-1.11C17.05 7.04 16.53 7 16 7c-.69 0-1.35.07-2 .22-.52.11-1.02.27-1.51.48-.5.21-.97.47-1.42.76a9 9 0 0 0-2.61 2.61c-.29.45-.55.92-.76 1.42-.21.49-.37.99-.48 1.51A8.8 8.8 0 0 0 7 16c0 .68.07 1.34.22 1.99.11.52.27 1.02.48 1.51.21.5.47.97.76 1.42q.51.78 1.17 1.44c.45.44.92.83 1.44 1.17.45.29.92.55 1.42.76.49.21.99.37 1.51.48a8.803 8.803 0 0 0 3.99 0c.52-.11 1.02-.27 1.51-.48.5-.21.97-.47 1.42-.76a9 9 0 0 0 2.61-2.61c.29-.45.55-.92.76-1.42.21-.49.37-.99.48-1.51.15-.65.23-1.31.23-1.99 0-.57.44-1 1-1s1 .43 1 1", v = Math.PI / 180, e = Math.PI * 2, M = (c) => (c = c % 360, c = c < 0 ? 360 + c : c, c * v), n = M(-8), h = M(-19), m = h < n ? e - (n - h) : h - n, p = (c, t) => Math.round(c * Math.cos(t) * 1e3) / 1e3, f = (c, t) => Math.round(c * Math.sin(t) * 1e3) / 1e3, w = (c, t, a, l) => "M" + c + " " + t + // Смещаем перо в центр окружности.
6
+ "L" + // Рисуем горизонтальную линию вправо в начало сектора.
7
+ (c + p(a, n)) + // Координата X начала дуги.
8
+ " " + (t + f(a, n)) + // Координата Y начала дуги.
9
+ "A" + // Рисуем дугу.
10
+ a + // Радиус окружности дуги по оси X.
11
+ " " + a + // Радиус окружности дуги по оси Y.
12
+ " 0 " + // Смещение центра по оси X.
13
+ (l > 0.5 ? "1" : "0") + // Флаг отрисовки длинной дуги (если 0 то короткой).
14
+ " 1 " + // Рисовать по часовой стрелке.
15
+ (c + p(a, (n + l * m) % e)) + // Координата X конца дуги.
16
+ " " + (t + f(a, (n + l * m) % e)) + // Координата Y конца дуги.
17
+ "Z", C = (c) => {
18
+ const t = Math.round(Math.min(c.percent, 0.999) * 1e3) / 1e3, a = P({
19
+ [o.disabled]: c.disabled,
20
+ [o.empty]: !c.disabled
21
+ });
22
+ return c.size === u.LG ? /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 32 32", focusable: "false", children: [
23
+ /* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(16, 16, 18, t) }) }),
24
+ /* @__PURE__ */ s("path", { className: a, d }),
25
+ /* @__PURE__ */ s("path", { className: o.full, d, clipPath: `url(#clipFront${t})` })
26
+ ] }) : /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20", focusable: "false", children: [
27
+ /* @__PURE__ */ s("clipPath", { id: `clipFront${t}`, children: /* @__PURE__ */ s("path", { d: w(10, 10, 14, t) }) }),
28
+ /* @__PURE__ */ s("path", { className: a, d: r }),
29
+ /* @__PURE__ */ s("path", { className: o.full, d: r, clipPath: `url(#clipFront${t})` })
30
+ ] });
31
+ };
32
+ export {
33
+ C as RefreshIcon
34
+ };
35
+ //# sourceMappingURL=RefreshIcon.js.map
@@ -0,0 +1,63 @@
1
+ import { jsxs as d, jsx as r, Fragment as g } from "react/jsx-runtime";
2
+ import { c as _ } from "../../../chunks/vendor-9KVE23Ri.js";
3
+ import v, { useContext as M } from "react";
4
+ import { FormField as T } from "../../FormField/FormField.js";
5
+ import { FormFieldDescription as j } from "../../FormField/components/FormFieldDescription.js";
6
+ import { FormFieldCounter as y } from "../../FormField/components/FormFieldCounter.js";
7
+ import "../../FormField/components/FormFieldLabel.js";
8
+ import "../../FormField/components/FormFieldClear.js";
9
+ import "../../FormField/components/FormFieldTarget.js";
10
+ import { F as z } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
11
+ import "../../FormField/components/FormFieldMaskedInput.js";
12
+ import "../../FormField/components/FormFieldPostfix.js";
13
+ import "../../FormField/components/FormFieldPrefix.js";
14
+ import "../../FormField/components/FormFieldTextarea.js";
15
+ import { EFormFieldStatus as s } from "../../FormField/enums.js";
16
+ import { FormGroup as A } from "../../FormGroup/FormGroup.js";
17
+ import { SMSInputContext as L } from "../SMSInputContext.js";
18
+ import { s as O } from "../../../chunks/SMSInput.module-D1TiDw_A.js";
19
+ import { EVENT_KEY_CODES as k } from "../../../utils/keyboard.js";
20
+ const w = new RegExp(/^[0-9]*$/), B = v.forwardRef(
21
+ ({ className: u, counter: o, description: l, disabled: f, maxLength: c = 8, onChange: e, onKeyDown: m, placeholder: F, ...E }, S) => {
22
+ const {
23
+ code: p,
24
+ disabled: C,
25
+ disabledSubmit: h,
26
+ error: x,
27
+ onChangeCode: I,
28
+ onSubmitCode: N,
29
+ size: R,
30
+ sizeClassName: a
31
+ } = M(L), b = C || f, D = _(O.input, a, u);
32
+ let i = s.DEFAULT;
33
+ return b && (i = s.DISABLED), x && (i = s.ERROR), /* @__PURE__ */ d(A, { children: [
34
+ /* @__PURE__ */ r(T, { className: a, onKeyDown: (t) => {
35
+ t.keyCode === k.ENTER && !h && N(p), m == null || m(t);
36
+ }, size: R, status: i, children: /* @__PURE__ */ r(
37
+ z,
38
+ {
39
+ autoComplete: "off",
40
+ className: D,
41
+ maxLength: c,
42
+ onChange: (t) => {
43
+ const n = t.target.value;
44
+ w.test(n) && (I(n), e == null || e(t));
45
+ },
46
+ placeholder: F,
47
+ ref: S,
48
+ value: p,
49
+ ...E
50
+ }
51
+ ) }),
52
+ /* @__PURE__ */ r(j, { children: l || o ? /* @__PURE__ */ d(g, { children: [
53
+ l,
54
+ o ? /* @__PURE__ */ r(y, { children: o }) : null
55
+ ] }) : null })
56
+ ] });
57
+ }
58
+ );
59
+ B.displayName = "SMSInputInput";
60
+ export {
61
+ B as SMSInputInput
62
+ };
63
+ //# sourceMappingURL=SMSInputInput.js.map