@sberbusiness/triplex-next 1.4.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 (396) hide show
  1. package/chunks/{AlertProcessSpoiler-BQv9QI6L.js → AlertProcessSpoiler-M7W9D-p3.js} +6 -6
  2. package/chunks/CalendarViewItem-Cs4qo2T0.js +105 -0
  3. package/chunks/Card.module-lZl8x0iL.js +17 -0
  4. package/chunks/{Chip-G6cGXuGj.js → Chip-DpSJGyYK.js} +10 -10
  5. package/chunks/{DropdownListItem-D2hzyBGc.js → DropdownListItem-SqymKZn5.js} +10 -10
  6. package/chunks/DropdownMobile.module-C_Jtpfxj.js +21 -0
  7. package/chunks/Footer.module-3tcvZGt3.js +9 -0
  8. package/chunks/{FormFieldInput-CO7yZP0Q.js → FormFieldInput-BSxKZxcq.js} +11 -11
  9. package/chunks/HeaderLayoutSidebar.module-DqrwTmWo.js +9 -0
  10. package/chunks/HeaderTabs.module-DegB0R8X.js +9 -0
  11. package/chunks/{HeaderTitle.module-BHyH17ZI.js → HeaderTitle.module-CEMLCR13.js} +2 -2
  12. package/chunks/IslandAccordion.module-DFvQwhSg.js +22 -0
  13. package/chunks/{LightBoxContent-DmoszkOx.js → LightBoxContent-DTTxRVLQ.js} +16 -16
  14. package/chunks/LightBoxControls.module-Dn4GtUtF.js +16 -0
  15. package/chunks/LightBoxSideOverlayClose.module-BUvFYJwr.js +8 -0
  16. package/chunks/{ListItemControlsButton-BoEiexyr.js → ListItemControlsButton-AbCEipFe.js} +10 -10
  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-BHW7rkmN.js → RightBorderArrow-Co_RT8lZ.js} +12 -12
  24. package/chunks/SMSInput.module-D1TiDw_A.js +16 -0
  25. package/chunks/StatusTracker.module-DetC6Udk.js +24 -0
  26. package/chunks/{SuggestFieldMobileDropdownHint-CMKMF0PQ.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-pdhICY56.js → UploadZoneInput-C2-_7DoS.js} +3 -3
  33. package/chunks/{utils-B7AjUpy-.js → utils-CFlJg-k1.js} +5 -5
  34. package/chunks/{utils-DwX2_kEA.js → utils-CXhKCNyM.js} +14 -14
  35. package/chunks/utils-CoHHiBA8.js +24 -0
  36. package/chunks/utils-D9w2Kvyk.js +36 -0
  37. package/chunks/{utils-C9-tOm2Z.js → utils-Dhi5F6Da.js} +9 -9
  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 +16 -16
  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 +8 -8
  45. package/components/AmountField/AmountField.js +2 -2
  46. package/components/Body/Body.js +3 -3
  47. package/components/Button/Button.js +18 -18
  48. package/components/Button/ButtonBase.js +1 -1
  49. package/components/Button/ButtonDropdown.js +54 -54
  50. package/components/Button/ButtonDropdownExtended.js +9 -9
  51. package/components/Button/ButtonIcon.js +13 -13
  52. package/components/Calendar/Calendar.js +183 -0
  53. package/components/Calendar/CalendarContext.js +22 -0
  54. package/components/Calendar/CalendarRange.js +28 -0
  55. package/components/Calendar/CalendarViewContext.js +8 -0
  56. package/components/Calendar/components/CalendarControls.js +98 -0
  57. package/components/Calendar/components/CalendarFooter.js +9 -0
  58. package/components/Calendar/components/CalendarTodayButton.js +31 -0
  59. package/components/Calendar/components/CalendarView.js +30 -0
  60. package/components/Calendar/components/CalendarViewDays.js +109 -0
  61. package/components/Calendar/components/CalendarViewItem.js +11 -0
  62. package/components/Calendar/components/CalendarViewMonths.js +64 -0
  63. package/components/Calendar/components/CalendarViewYears.js +64 -0
  64. package/components/Calendar/enums.js +7 -0
  65. package/components/Calendar/index.js +9 -0
  66. package/components/Calendar/types.js +2 -0
  67. package/components/Calendar/utils.js +38 -0
  68. package/components/Card/CardAction.js +14 -14
  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 +7 -7
  77. package/components/Checkbox/Checkbox.js +12 -12
  78. package/components/Checkbox/CheckboxXGroup.js +12 -12
  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 +2 -2
  83. package/components/Chip/Chip.js +2 -2
  84. package/components/Chip/ChipClearButton.js +7 -7
  85. package/components/Chip/ChipDropdownArrow.js +4 -4
  86. package/components/Chip/ChipIcon.js +1 -1
  87. package/components/Chip/ChipOptions.js +7 -7
  88. package/components/Chip/ChipSelect.js +2 -2
  89. package/components/Chip/ChipSort.js +55 -0
  90. package/components/Chip/ChipSuggest/ChipSuggest.js +2 -2
  91. package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +1 -1
  92. package/components/Chip/ChipSuggest/ChipSuggestTarget.js +1 -1
  93. package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +18 -18
  94. package/components/Chip/index.js +7 -5
  95. package/components/ChipGroup/ChipGroup.js +14 -14
  96. package/components/Col/Col.js +142 -142
  97. package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
  98. package/components/DateField/DateField.js +135 -0
  99. package/components/DateField/DateFieldContext.js +12 -0
  100. package/components/DateField/DateFieldTarget.js +60 -0
  101. package/components/DateField/constants.js +5 -0
  102. package/components/DateField/index.js +5 -0
  103. package/components/DateField/types.js +2 -0
  104. package/components/DateField/utils.js +23 -0
  105. package/components/DatePickerExtended/DatePickerExtended.js +136 -0
  106. package/components/DatePickerExtended/DatePickerExtendedContext.js +11 -0
  107. package/components/DatePickerExtended/DatePickerExtendedDropdown.js +63 -0
  108. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  109. package/components/DesignTokens/DesignTokensComponents.js +77 -70
  110. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +71 -64
  111. package/components/DesignTokens/DesignTokensCore.js +1 -1
  112. package/components/DesignTokens/components/Calendar.js +109 -0
  113. package/components/DesignTokens/components/Divider.js +4 -4
  114. package/components/DesignTokens/components/ModalWindow.js +11 -0
  115. package/components/DesignTokens/components/index.js +132 -126
  116. package/components/Divider/Divider.js +21 -21
  117. package/components/Dropdown/desktop/DropdownDesktop.js +17 -17
  118. package/components/Dropdown/desktop/DropdownList.js +2 -2
  119. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  120. package/components/Dropdown/desktop/index.js +1 -1
  121. package/components/Dropdown/index.js +1 -1
  122. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  123. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  124. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  125. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  126. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  127. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  128. package/components/Dropdown/mobile/DropdownMobileInput.js +2 -2
  129. package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
  130. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  131. package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
  132. package/components/Dropdown/mobile/DropdownMobileMaskedInput.js +11 -0
  133. package/components/Ellipsis/Ellipsis.js +8 -8
  134. package/components/ExpandAnimation/ExpandAnimation.js +21 -21
  135. package/components/Footer/Footer.js +1 -1
  136. package/components/Footer/components/FooterDescription.js +2 -2
  137. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  138. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  139. package/components/FormField/FormField.js +21 -21
  140. package/components/FormField/components/FormFieldClear.js +12 -16
  141. package/components/FormField/components/FormFieldCounter.js +5 -5
  142. package/components/FormField/components/FormFieldDescription.js +6 -6
  143. package/components/FormField/components/FormFieldInput.js +2 -2
  144. package/components/FormField/components/FormFieldLabel.js +10 -10
  145. package/components/FormField/components/FormFieldMaskedInput.js +25 -29
  146. package/components/FormField/components/FormFieldPostfix.js +6 -6
  147. package/components/FormField/components/FormFieldPrefix.js +5 -5
  148. package/components/FormField/components/FormFieldTarget.js +17 -17
  149. package/components/FormField/components/FormFieldTextarea.js +9 -9
  150. package/components/FormField/index.js +1 -1
  151. package/components/Header/Header.js +1 -1
  152. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  153. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  154. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  155. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
  156. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  157. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  158. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  159. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  160. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
  161. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
  162. package/components/HelpBox/HelpBox.js +9 -9
  163. package/components/Island/Island.js +2 -2
  164. package/components/Island/components/IslandBody.js +4 -4
  165. package/components/Island/components/IslandFooter.js +6 -6
  166. package/components/Island/components/IslandHeader.js +4 -4
  167. package/components/Island/utils.js +1 -1
  168. package/components/IslandAccordion/IslandAccordion.js +3 -3
  169. package/components/IslandAccordion/components/IslandAccordionContent.js +1 -1
  170. package/components/IslandAccordion/components/IslandAccordionFooter.js +2 -2
  171. package/components/IslandAccordion/components/IslandAccordionItem.js +3 -3
  172. package/components/LightBox/LightBox.js +16 -16
  173. package/components/LightBox/LightBoxContent.js +2 -2
  174. package/components/LightBox/LightBoxControls/LightBoxClose.js +2 -2
  175. package/components/LightBox/LightBoxControls/LightBoxControls.js +2 -2
  176. package/components/LightBox/LightBoxControls/LightBoxNext.js +2 -2
  177. package/components/LightBox/LightBoxControls/LightBoxPrev.js +2 -2
  178. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +2 -2
  179. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +2 -2
  180. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +2 -2
  181. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +1 -1
  182. package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +15 -15
  183. package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +1 -1
  184. package/components/Link/Link.js +20 -20
  185. package/components/List/List.js +7 -7
  186. package/components/List/ListSortable.js +1 -1
  187. package/components/List/components/ListEmptyState.js +2 -2
  188. package/components/List/components/ListItem.js +1 -1
  189. package/components/List/components/ListItemContent.js +7 -7
  190. package/components/List/components/ListItemControls.js +6 -6
  191. package/components/List/components/ListItemControlsButton.js +2 -2
  192. package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
  193. package/components/List/components/ListItemLoading.js +5 -5
  194. package/components/List/components/ListItemSelectable.js +10 -10
  195. package/components/List/components/ListItemTable.js +7 -7
  196. package/components/List/components/ListItemTailLeft.js +2 -2
  197. package/components/List/components/ListItemTailRight.js +2 -2
  198. package/components/List/components/ListSortableItem.js +10 -10
  199. package/components/List/components/ListSortableItemControls.js +7 -7
  200. package/components/List/components/ListSortableItemTarget.js +6 -6
  201. package/components/List/index.js +1 -1
  202. package/components/ListMaster/ListMaster.js +1 -1
  203. package/components/ListMaster/components/ListMasterBody.js +1 -1
  204. package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
  205. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  206. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  207. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  208. package/components/ListMaster/components/ListMasterHeader.js +6 -6
  209. package/components/ListMaster/components/SelectionControls.js +3 -3
  210. package/components/Loader/LoaderMiddle/LoaderMiddle.js +10 -10
  211. package/components/Loader/LoaderSmall/LoaderSmall.js +6 -6
  212. package/components/LoaderScreen/LoaderScreen.js +13 -13
  213. package/components/Marker/Marker.js +2 -2
  214. package/components/Marker/utils.js +1 -1
  215. package/components/MarkerStatus/MarkerStatus.js +12 -12
  216. package/components/ModalWindow/ModalWindow.js +98 -0
  217. package/components/ModalWindow/components/ModalWindowBody.js +189 -0
  218. package/components/ModalWindow/components/ModalWindowClose.js +29 -0
  219. package/components/ModalWindow/components/ModalWindowContent.js +13 -0
  220. package/components/ModalWindow/components/ModalWindowFooter.js +10 -0
  221. package/components/ModalWindow/components/ModalWindowHeader.js +13 -0
  222. package/components/ModalWindow/components/ModalWindowViewManager.js +45 -0
  223. package/components/ModalWindow/index.js +17 -0
  224. package/components/MonthYearField/MonthYearField.js +66 -0
  225. package/components/MonthYearField/MonthYearFieldContext.js +9 -0
  226. package/components/MonthYearField/MonthYearFieldTarget.js +59 -0
  227. package/components/MonthYearField/constants.js +5 -0
  228. package/components/MonthYearField/index.js +5 -0
  229. package/components/MonthYearField/types.js +2 -0
  230. package/components/MonthYearField/utils.js +22 -0
  231. package/components/Notification/Notification.js +3 -3
  232. package/components/Notification/NotificationGrouped.js +1 -1
  233. package/components/Notification/components/NotificationBody.js +1 -1
  234. package/components/Notification/components/NotificationBodyContent.js +1 -1
  235. package/components/Notification/components/NotificationBodyList.js +2 -2
  236. package/components/Notification/components/NotificationClose.js +1 -1
  237. package/components/Notification/components/NotificationFooter.js +1 -1
  238. package/components/Notification/components/NotificationGroupedFooter.js +2 -2
  239. package/components/Notification/components/NotificationHeader.js +1 -1
  240. package/components/Notification/components/NotificationIcon.js +1 -1
  241. package/components/Notification/components/NotificationTime.js +1 -1
  242. package/components/NumberField/NumberFieldInput.js +1 -1
  243. package/components/OrderedList/OrderedList.js +5 -5
  244. package/components/OrderedList/OrderedListItem.js +8 -8
  245. package/components/Overlay/Overlay.js +2 -2
  246. package/components/Overlay/OverlayMask.js +2 -2
  247. package/components/Overlay/OverlayPanel.js +2 -2
  248. package/components/Page/Page.js +2 -2
  249. package/components/Page/components/BodyPage.js +2 -2
  250. package/components/Page/components/FooterPage.js +2 -2
  251. package/components/Page/components/HeaderPage.js +2 -2
  252. package/components/Page/components/useStickyCornerRadius.js +1 -1
  253. package/components/Pagination/components/PaginationExtended.js +7 -7
  254. package/components/Pagination/components/PaginationNavigationButton.js +7 -7
  255. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  256. package/components/Pagination/components/PaginationPageButton.js +6 -6
  257. package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
  258. package/components/Pagination/components/PaginationSelect.js +8 -8
  259. package/components/Pagination/utils/paginationUtils.js +1 -1
  260. package/components/Radio/Radio.js +9 -9
  261. package/components/Radio/RadioXGroup.js +12 -12
  262. package/components/Radio/RadioYGroup.js +9 -9
  263. package/components/Row/Row.js +6 -6
  264. package/components/SMSInput/SMSInput.js +3 -3
  265. package/components/SMSInput/components/RefreshIcon.js +2 -2
  266. package/components/SMSInput/components/SMSInputInput.js +3 -3
  267. package/components/SMSInput/components/SMSInputRefresh.js +2 -2
  268. package/components/SMSInput/components/SMSInputSubmit.js +2 -2
  269. package/components/SMSInput/components/SMSInputTooltip.js +1 -1
  270. package/components/SegmentedControl/SegmentedControl.js +5 -5
  271. package/components/SegmentedControl/SegmentedControlSegment.js +8 -8
  272. package/components/SelectExtendedField/SelectExtendedField.js +11 -11
  273. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
  274. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +19 -19
  275. package/components/SelectField/SelectField.js +1 -1
  276. package/components/Skeleton/Skeleton.js +9 -9
  277. package/components/Spoiler/Spoiler.js +16 -16
  278. package/components/StatusTracker/StatusTracker.js +3 -3
  279. package/components/StatusTracker/components/StatusTrackerAlert.js +2 -2
  280. package/components/StatusTracker/components/StatusTrackerBody.js +2 -2
  281. package/components/StatusTracker/components/StatusTrackerButton.js +2 -2
  282. package/components/StatusTracker/components/StatusTrackerDescription.js +2 -2
  283. package/components/StatusTracker/components/StatusTrackerFooter.js +2 -2
  284. package/components/StatusTracker/components/StatusTrackerHeader.js +2 -2
  285. package/components/StatusTracker/components/StatusTrackerMedia.js +2 -2
  286. package/components/StatusTracker/components/StatusTrackerStatus.js +2 -2
  287. package/components/StatusTracker/components/StatusTrackerSum.js +2 -2
  288. package/components/StatusTracker/components/StatusTrackerTitle.js +2 -2
  289. package/components/Step/Step.js +7 -7
  290. package/components/Stepper/RightBorderArrow.js +1 -1
  291. package/components/Stepper/Stepper.js +56 -56
  292. package/components/Stepper/StepperExtended.js +2 -2
  293. package/components/Stepper/StepperStep.js +3 -3
  294. package/components/Stepper/StepperWrapper.js +3 -3
  295. package/components/Suggest/SuggestMobileDropdownContent.js +13 -13
  296. package/components/SuggestField/SuggestField.js +1 -1
  297. package/components/SuggestField/SuggestFieldTarget.js +1 -1
  298. package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
  299. package/components/SuggestField/desktop/SuggestFieldDesktop.js +16 -16
  300. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
  301. package/components/SuggestField/index.js +1 -1
  302. package/components/SuggestField/mobile/SuggestFieldMobile.js +2 -2
  303. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
  304. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
  305. package/components/SuggestField/mobile/index.js +1 -1
  306. package/components/SwipeableArea/SwipeableArea.js +20 -20
  307. package/components/Table/FilterPanel.js +3 -3
  308. package/components/Table/MasterTable.js +7 -7
  309. package/components/Table/NoColumns.js +6 -6
  310. package/components/Table/PaginationPanel.js +5 -5
  311. package/components/Table/TableBasic/TableBasic.js +2 -2
  312. package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
  313. package/components/Table/TableBasic/components/TableBasicHeader.js +2 -2
  314. package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
  315. package/components/Table/TableBasicSettings/TableBasicSettings.js +8 -8
  316. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +10 -10
  317. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
  318. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
  319. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
  320. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +2 -2
  321. package/components/Table/TableFooter/TableFooter.js +2 -2
  322. package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
  323. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +1 -1
  324. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +1 -1
  325. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
  326. package/components/Table/TabsLinePanel.js +2 -2
  327. package/components/Table/TabsLinePanelLinks.js +2 -2
  328. package/components/Table/utils.js +1 -1
  329. package/components/Tabs/Tabs.js +6 -6
  330. package/components/TabsExtended/TabsExtended.js +3 -3
  331. package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
  332. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  333. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  334. package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
  335. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
  336. package/components/TabsExtended/utils.js +1 -1
  337. package/components/TabsLine/TabsLine.js +2 -2
  338. package/components/TabsLine/components/TabsLineDesktop.js +2 -2
  339. package/components/TabsLine/components/TabsLineDropdown.js +3 -3
  340. package/components/TabsLine/components/TabsLineItem.js +2 -2
  341. package/components/TabsLine/components/TabsLineMobile.js +9 -9
  342. package/components/Tag/Tag.js +18 -18
  343. package/components/TagGroup/TagGroup.js +10 -10
  344. package/components/TextField/TextField.js +1 -1
  345. package/components/TextareaField/TextareaField.js +1 -1
  346. package/components/ThemeProvider/ThemeProvider.js +4 -4
  347. package/components/ThemeProvider/components/ThemeProviderView.js +3 -3
  348. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  349. package/components/Tooltip/components/common/TooltipLink.js +19 -19
  350. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  351. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  352. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  353. package/components/Tooltip/components/mobile/TooltipMobile.js +28 -32
  354. package/components/Tooltip/components/mobile/components/TooltipMobileCloseButton.js +6 -11
  355. package/components/Tooltip/components/mobile/components/TooltipMobileHeader.js +4 -4
  356. package/components/TreeView/TreeView.js +1 -1
  357. package/components/TreeView/components/TreeViewNode.js +1 -1
  358. package/components/Typography/Caption.js +13 -13
  359. package/components/Typography/Text.js +26 -26
  360. package/components/Typography/Title.js +17 -17
  361. package/components/Typography/utils.js +1 -1
  362. package/components/UnorderedList/UnorderedList.js +6 -6
  363. package/components/UnorderedList/UnorderedListItem.js +7 -7
  364. package/components/UploadZone/UploadZone.js +3 -3
  365. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  366. package/components/WindowResizeListener/WindowResizeListener.js +1 -1
  367. package/components/index.js +423 -413
  368. package/consts/DateConst.js +14 -0
  369. package/index.d.ts +284 -4
  370. package/index.js +432 -422
  371. package/package.json +18 -1
  372. package/styles/triplex-next.css +501 -472
  373. package/types/DateTypes.js +2 -0
  374. package/utils/amountUtils.js +1 -1
  375. package/chunks/Card.module-kTbr6OQy.js +0 -17
  376. package/chunks/DropdownMobile.module-Fa_t6vz1.js +0 -21
  377. package/chunks/Footer.module-B3uFxh54.js +0 -9
  378. package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +0 -9
  379. package/chunks/HeaderTabs.module-DMuNfILv.js +0 -9
  380. package/chunks/IslandAccordion.module-7xAwgJVI.js +0 -22
  381. package/chunks/LightBoxControls.module-42gn-co3.js +0 -16
  382. package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +0 -8
  383. package/chunks/ListItemTail.module-BB5TJPEc.js +0 -12
  384. package/chunks/ListMasterFooter.module-DxZ_nXDV.js +0 -10
  385. package/chunks/Notification.module-C-HCMpAz.js +0 -21
  386. package/chunks/Overlay.module-q-oPhooa.js +0 -18
  387. package/chunks/Page.module-DjGbJ-Uw.js +0 -12
  388. package/chunks/SMSInput.module-Ci4GRnk_.js +0 -16
  389. package/chunks/StatusTracker.module-zTyojoH4.js +0 -24
  390. package/chunks/TableFooter.module-DrRycaTr.js +0 -13
  391. package/chunks/TabsExtended.module-Be8qpZYz.js +0 -16
  392. package/chunks/TabsLine.module-DKAp48Sx.js +0 -23
  393. package/chunks/TooltipDesktop.module-D72ObNia.js +0 -19
  394. package/chunks/utils-C-1ATq_g.js +0 -24
  395. package/chunks/utils-C8a4iCV0.js +0 -36
  396. package/chunks/vendor-Ba_pyhza.js +0 -12036
@@ -1,27 +1,27 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import t from "react";
3
- import { c } from "../../chunks/vendor-Ba_pyhza.js";
4
- const m = "ellipsisLineClamp__bc58c37a", r = "oneLine__bf828d37", e = {
5
- ellipsisLineClamp: m,
3
+ import { c as m } from "../../chunks/vendor-9KVE23Ri.js";
4
+ const c = "ellipsisLineClamp__8bb96110", r = "oneLine__8988aeed", e = {
5
+ ellipsisLineClamp: c,
6
6
  oneLine: r
7
- }, f = t.forwardRef(
7
+ }, L = t.forwardRef(
8
8
  ({ children: i, maxLines: s, className: l, ...n }, a) => {
9
- const o = c(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
9
+ const o = m(e.ellipsisLineClamp, { [e.oneLine]: s === 1 }, l);
10
10
  return /* @__PURE__ */ p(
11
11
  "div",
12
12
  {
13
13
  className: o,
14
14
  style: { "--ellipsis-line-clamp": s },
15
15
  ...n,
16
- "data-tx": "1.4.0",
16
+ "data-tx": "1.5.0",
17
17
  ref: a,
18
18
  children: i
19
19
  }
20
20
  );
21
21
  }
22
22
  );
23
- f.displayName = "Ellipsis";
23
+ L.displayName = "Ellipsis";
24
24
  export {
25
- f as Ellipsis
25
+ L as Ellipsis
26
26
  };
27
27
  //# sourceMappingURL=Ellipsis.js.map
@@ -1,47 +1,47 @@
1
1
  import { jsx as g } from "react/jsx-runtime";
2
- import N, { useRef as y } from "react";
3
- import { y as U, c as j } from "../../chunks/vendor-Ba_pyhza.js";
4
- const F = "expandAnimation__e4ff3b4b", I = {
2
+ import N, { useRef as E } from "react";
3
+ import { E as U, c as j } from "../../chunks/vendor-9KVE23Ri.js";
4
+ const F = "expandAnimation__61b1b3d6", I = {
5
5
  expandAnimation: F
6
6
  }, L = 300, M = N.forwardRef(
7
7
  ({
8
- children: A,
9
- className: E,
8
+ children: y,
9
+ className: A,
10
10
  expanded: v,
11
- animationTime: x = L,
11
+ animationTime: f = L,
12
12
  style: R,
13
- onStart: d,
13
+ onStart: l,
14
14
  onEnd: h,
15
15
  transitionProps: e,
16
16
  ..._
17
- }, u) => {
18
- const m = y({
17
+ }, x) => {
18
+ const m = E({
19
19
  entering: { height: void 0, overflow: "hidden" },
20
20
  entered: {},
21
21
  exiting: { height: 0, overflow: "hidden" },
22
22
  exited: { height: 0, overflow: "hidden", visibility: "hidden" },
23
23
  unmounted: {}
24
- }), l = y(null), w = (c) => {
25
- var f;
26
- l.current && (m.current.entering.height = l.current.scrollHeight), d == null || d(), (f = e == null ? void 0 : e.onEnter) == null || f.call(e, c);
24
+ }), d = E(null), w = (c) => {
25
+ var u;
26
+ d.current && (m.current.entering.height = d.current.scrollHeight), l == null || l(), (u = e == null ? void 0 : e.onEnter) == null || u.call(e, c);
27
27
  }, b = (c) => {
28
- var f;
29
- h == null || h(), (f = e == null ? void 0 : e.onEntered) == null || f.call(e, c);
28
+ var u;
29
+ h == null || h(), (u = e == null ? void 0 : e.onEntered) == null || u.call(e, c);
30
30
  }, H = () => {
31
31
  var c;
32
- l.current && (l.current.style.height = l.current.scrollHeight + "px", l.current.scrollHeight), d == null || d(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
32
+ d.current && (d.current.style.height = d.current.scrollHeight + "px", d.current.scrollHeight), l == null || l(), (c = e == null ? void 0 : e.onExit) == null || c.call(e);
33
33
  }, T = () => {
34
34
  var c;
35
35
  h == null || h(), (c = e == null ? void 0 : e.onExited) == null || c.call(e);
36
36
  }, D = (c) => {
37
- l.current = c, typeof u == "function" ? u(c) : u && (u.current = c);
37
+ d.current = c, typeof x == "function" ? x(c) : x && (x.current = c);
38
38
  };
39
39
  return /* @__PURE__ */ g(
40
40
  U,
41
41
  {
42
42
  in: v,
43
- timeout: x,
44
- nodeRef: l,
43
+ timeout: f,
44
+ nodeRef: d,
45
45
  ...e,
46
46
  onEnter: w,
47
47
  onEntered: b,
@@ -50,15 +50,15 @@ const F = "expandAnimation__e4ff3b4b", I = {
50
50
  children: (c) => /* @__PURE__ */ g(
51
51
  "div",
52
52
  {
53
- className: j(I.expandAnimation, E),
53
+ className: j(I.expandAnimation, A),
54
54
  style: {
55
- transitionDuration: x + "ms",
55
+ transitionDuration: f + "ms",
56
56
  ...m.current[c],
57
57
  ...R
58
58
  },
59
59
  ..._,
60
60
  ref: D,
61
- children: A
61
+ children: y
62
62
  }
63
63
  )
64
64
  }
@@ -5,7 +5,7 @@ import "./components/FooterDescriptionControls.js";
5
5
  import "./components/FooterDescriptionContent.js";
6
6
  const p = Object.assign(
7
7
  i.forwardRef(function({ children: o, ...t }, r) {
8
- return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.4.0", ref: r, children: o });
8
+ return /* @__PURE__ */ e("div", { ...t, "data-tx": "1.5.0", ref: r, children: o });
9
9
  }),
10
10
  {
11
11
  Description: m
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
2
2
  import s from "react";
3
3
  import { FooterDescriptionContent as n } from "./FooterDescriptionContent.js";
4
4
  import { FooterDescriptionControls as m } from "./FooterDescriptionControls.js";
5
- import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
6
- import { s as c } from "../../../chunks/Footer.module-B3uFxh54.js";
5
+ import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
6
+ import { s as c } from "../../../chunks/Footer.module-3tcvZGt3.js";
7
7
  const f = Object.assign(
8
8
  s.forwardRef(function({ children: o, className: t, ...r }, e) {
9
9
  return /* @__PURE__ */ i("div", { className: p(c.footerDescription, t), ...r, ref: e, children: o });
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import i from "react";
3
- import { c as m } from "../../../chunks/vendor-Ba_pyhza.js";
4
- import { s as n } from "../../../chunks/Footer.module-B3uFxh54.js";
3
+ import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { s as n } from "../../../chunks/Footer.module-3tcvZGt3.js";
5
5
  const a = i.forwardRef(
6
6
  ({ children: o, className: t, ...r }, e) => /* @__PURE__ */ s("div", { className: m(n.footerDescriptionContent, t), ...r, ref: e, children: o })
7
7
  );
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import i from "react";
3
- import { c as m } from "../../../chunks/vendor-Ba_pyhza.js";
4
- import { s as a } from "../../../chunks/Footer.module-B3uFxh54.js";
3
+ import { c as m } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { s as a } from "../../../chunks/Footer.module-3tcvZGt3.js";
5
5
  const p = i.forwardRef(
6
6
  ({ children: o, className: r, ...t }, s) => /* @__PURE__ */ e("div", { className: m(a.footerDescriptionControls, r), ...t, ref: s, children: o })
7
7
  );
@@ -1,45 +1,45 @@
1
- import { jsx as n } from "react/jsx-runtime";
1
+ import { jsx as f } from "react/jsx-runtime";
2
2
  import { useState as e } from "react";
3
3
  import { FormFieldContext as G } from "./FormFieldContext.js";
4
4
  import { TARGET_PADDING_X_DEFAULT as _ } from "./consts.js";
5
- import { c as I } from "../../chunks/vendor-Ba_pyhza.js";
5
+ import { c as I } from "../../chunks/vendor-9KVE23Ri.js";
6
6
  import { EFormFieldStatus as r } from "./enums.js";
7
7
  import { EComponentSize as N } from "../../enums/EComponentSize.js";
8
- const P = "formField__7d7fcf94", S = "disabled__b720611e", T = "active__242fb002", L = "error__5d66e340", u = "warning__38b847e0", i = {
8
+ const P = "formField__9b663218", S = "disabled__d9c8b710", T = "active__a5ccd37e", L = "error__ad946c43", u = "warning__c5b32e4f", i = {
9
9
  formField: P,
10
10
  disabled: S,
11
11
  active: T,
12
12
  error: L,
13
13
  warning: u,
14
- "size-sm": "size-sm__7540e812",
15
- "size-md": "size-md__c6a543db",
16
- "size-lg": "size-lg__1760a0c4"
14
+ "size-sm": "size-sm__deaa1bc1",
15
+ "size-md": "size-md__95eee05b",
16
+ "size-lg": "size-lg__640b521b"
17
17
  }, V = ({
18
18
  children: p,
19
19
  className: F,
20
20
  status: t = r.DEFAULT,
21
21
  onMouseEnter: s,
22
- onMouseLeave: o,
23
- style: x,
22
+ onMouseLeave: d,
23
+ style: b,
24
24
  size: c = N.LG,
25
- ...g
25
+ ...x
26
26
  }) => {
27
- const [a, h] = e(!1), [b, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [f, A] = e(_), [D, R] = e(!1), W = (d) => {
28
- l(!0), s == null || s(d);
29
- }, w = (d) => {
30
- l(!1), o == null || o(d);
27
+ const [a, g] = e(!1), [h, l] = e(!1), [v, z] = e(""), [m, E] = e(_), [n, A] = e(_), [D, R] = e(!1), W = (o) => {
28
+ l(!0), s == null || s(o);
29
+ }, w = (o) => {
30
+ l(!1), d == null || d(o);
31
31
  };
32
- return /* @__PURE__ */ n(
32
+ return /* @__PURE__ */ f(
33
33
  G.Provider,
34
34
  {
35
35
  value: {
36
36
  status: t,
37
37
  focused: a,
38
- hovered: b,
38
+ hovered: h,
39
39
  id: v,
40
40
  postfixWidth: m,
41
- prefixWidth: f,
42
- setFocused: h,
41
+ prefixWidth: n,
42
+ setFocused: g,
43
43
  setId: z,
44
44
  setPostfixWidth: E,
45
45
  setPrefixWidth: A,
@@ -47,7 +47,7 @@ const P = "formField__7d7fcf94", S = "disabled__b720611e", T = "active__242fb002
47
47
  valueExist: D,
48
48
  size: c
49
49
  },
50
- children: /* @__PURE__ */ n(
50
+ children: /* @__PURE__ */ f(
51
51
  "div",
52
52
  {
53
53
  className: I(
@@ -63,9 +63,9 @@ const P = "formField__7d7fcf94", S = "disabled__b720611e", T = "active__242fb002
63
63
  ),
64
64
  onMouseEnter: W,
65
65
  onMouseLeave: w,
66
- "data-tx": "1.4.0",
67
- style: { paddingLeft: f, paddingRight: m, ...x },
68
- ...g,
66
+ "data-tx": "1.5.0",
67
+ style: { paddingLeft: n, paddingRight: m, ...b },
68
+ ...x,
69
69
  children: p
70
70
  }
71
71
  )
@@ -1,30 +1,26 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import n, { useContext as p } from "react";
3
- import { CrossStrokeSrvIcon16 as F } from "@sberbusiness/icons-next";
4
- import { FormFieldContext as h } from "../FormFieldContext.js";
5
- import { EFormFieldStatus as C } from "../enums.js";
6
- import { c as u } from "../../../chunks/vendor-Ba_pyhza.js";
7
- import "../../Button/Button.js";
8
- import "../../Button/ButtonBase.js";
2
+ import n, { useContext as F } from "react";
3
+ import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
4
+ import { CrossStrokeSrvIcon16 as h } from "@sberbusiness/icons-next";
5
+ import { FormFieldContext as C } from "../FormFieldContext.js";
6
+ import { EFormFieldStatus as u } from "../enums.js";
9
7
  import { ButtonIcon as x } from "../../Button/ButtonIcon.js";
10
- import "../../Button/ButtonDropdown.js";
11
- import "../../Button/ButtonDropdownExtended.js";
12
- const _ = "formFieldClear__ab290d63", v = "hidden__1b4afecd", t = {
8
+ const _ = "formFieldClear__f91e6791", v = "hidden__f9efc227", t = {
13
9
  formFieldClear: _,
14
10
  hidden: v
15
11
  }, I = n.forwardRef(
16
- ({ className: m, onMouseDown: e, ...d }, l) => {
17
- const { status: a, focused: i, hovered: s, valueExist: c } = p(h), f = u(
12
+ ({ className: l, onMouseDown: e, ...d }, m) => {
13
+ const { status: s, focused: a, hovered: i, valueExist: f } = F(C), c = p(
18
14
  t.formFieldClear,
19
15
  "hoverable",
20
16
  {
21
- [t.hidden]: !c || a === C.DISABLED || !(i || s)
17
+ [t.hidden]: !f || s === u.DISABLED || !(a || i)
22
18
  },
23
- m
19
+ l
24
20
  );
25
- return /* @__PURE__ */ o(x, { className: f, onMouseDown: (r) => {
21
+ return /* @__PURE__ */ o(x, { className: c, onMouseDown: (r) => {
26
22
  r.preventDefault(), e == null || e(r);
27
- }, ...d, ref: l, children: /* @__PURE__ */ o(F, { paletteIndex: 5 }) });
23
+ }, ...d, ref: m, children: /* @__PURE__ */ o(h, { paletteIndex: 5 }) });
28
24
  }
29
25
  );
30
26
  I.displayName = "FormFieldClear";
@@ -1,16 +1,16 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { useContext as i, useEffect as m } from "react";
3
3
  import { FormFieldDescriptionContext as n } from "../FormFieldDescriptionContext.js";
4
- const s = "formFieldCounter__0e57c3a0", u = {
4
+ const s = "formFieldCounter__506f3b75", u = {
5
5
  formFieldCounter: s
6
- }, l = ({ children: e, ...o }) => {
6
+ }, f = ({ children: o, ...e }) => {
7
7
  const { setWithCounter: t } = i(n);
8
8
  return m(() => {
9
9
  t(!0);
10
- }, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...o, children: e });
10
+ }, []), /* @__PURE__ */ r("div", { className: u.formFieldCounter, ...e, children: o });
11
11
  };
12
- l.displayName = "FormFieldCounter";
12
+ f.displayName = "FormFieldCounter";
13
13
  export {
14
- l as FormFieldCounter
14
+ f as FormFieldCounter
15
15
  };
16
16
  //# sourceMappingURL=FormFieldCounter.js.map
@@ -1,16 +1,16 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { useState as n } from "react";
3
- import { c } from "../../../chunks/vendor-Ba_pyhza.js";
3
+ import { c } from "../../../chunks/vendor-9KVE23Ri.js";
4
4
  import { FormFieldDescriptionContext as m } from "../FormFieldDescriptionContext.js";
5
- const l = "formFieldDescription__37b5794f", p = "withCounter__b73c01a3", i = {
5
+ const l = "formFieldDescription__7a9c0a3a", p = "withCounter__43a7e78e", e = {
6
6
  formFieldDescription: l,
7
7
  withCounter: p
8
- }, d = ({ children: r, ...e }) => {
8
+ }, a = ({ children: i, ...r }) => {
9
9
  const [o, s] = n(!1);
10
- return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(i.formFieldDescription, { [i.withCounter]: o }), ...e, children: r }) });
10
+ return /* @__PURE__ */ t(m.Provider, { value: { withCounter: o, setWithCounter: s }, children: /* @__PURE__ */ t("div", { className: c(e.formFieldDescription, { [e.withCounter]: o }), ...r, children: i }) });
11
11
  };
12
- d.displayName = "FormFieldDescription";
12
+ a.displayName = "FormFieldDescription";
13
13
  export {
14
- d as FormFieldDescription
14
+ a as FormFieldDescription
15
15
  };
16
16
  //# sourceMappingURL=FormFieldDescription.js.map
@@ -1,8 +1,8 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../FormFieldContext.js";
4
- import "../../../chunks/vendor-Ba_pyhza.js";
5
- import { F as a } from "../../../chunks/FormFieldInput-CO7yZP0Q.js";
4
+ import "../../../chunks/vendor-9KVE23Ri.js";
5
+ import { F as a } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
6
6
  import "../enums.js";
7
7
  import "../../../utils/classNameMaps.js";
8
8
  export {
@@ -2,26 +2,26 @@ import { jsx as d } from "react/jsx-runtime";
2
2
  import p, { useContext as T, useState as g, useEffect as E } from "react";
3
3
  import { FormFieldContext as h } from "../FormFieldContext.js";
4
4
  import { TARGET_PADDING_X_DEFAULT as m } from "../consts.js";
5
- import { m as D, c as N } from "../../../chunks/vendor-Ba_pyhza.js";
5
+ import { o as D, c as N } from "../../../chunks/vendor-9KVE23Ri.js";
6
6
  import { EFormFieldStatus as y } from "../enums.js";
7
- const A = "formFieldLabel__cc7aa592", R = "floating__2a4fa279", S = "formFieldLabelText__09fde7f9", C = "disabled__b720611e", s = {
7
+ const A = "formFieldLabel__e47737a6", R = "floating__3154b5a5", S = "formFieldLabelText__c26e50f0", C = "disabled__d9c8b710", s = {
8
8
  formFieldLabel: A,
9
- "size-sm": "size-sm__7540e812",
10
- "size-md": "size-md__c6a543db",
11
- "size-lg": "size-lg__1760a0c4",
9
+ "size-sm": "size-sm__deaa1bc1",
10
+ "size-md": "size-md__95eee05b",
11
+ "size-lg": "size-lg__640b521b",
12
12
  floating: R,
13
13
  formFieldLabelText: S,
14
14
  disabled: C
15
15
  }, G = p.forwardRef(
16
- ({ children: f, className: r, style: c, floating: e, ...n }, F) => {
17
- const { status: _, focused: t, id: b, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
16
+ ({ children: f, className: r, style: b, floating: e, ...c }, n) => {
17
+ const { status: F, focused: t, id: _, prefixWidth: L, postfixWidth: x, size: i, valueExist: a } = T(h), [l, o] = g(!1);
18
18
  E(() => {
19
19
  !D(e) && e !== l ? o(e) : e !== l && o(t || a);
20
20
  }, [t, a, e, l]);
21
21
  const u = N(
22
22
  s.formFieldLabel,
23
23
  {
24
- [s.disabled]: _ === y.DISABLED,
24
+ [s.disabled]: F === y.DISABLED,
25
25
  [s.floating]: l,
26
26
  [s[`size-${i}`]]: i
27
27
  },
@@ -31,9 +31,9 @@ const A = "formFieldLabel__cc7aa592", R = "floating__2a4fa279", S = "formFieldLa
31
31
  left: L || m,
32
32
  // Правая позиция элемента. Когда label по-середине инпута, позиция учитывает иконки по краям, когда сверху, позиция на все ширину поля ввода.
33
33
  right: x || m,
34
- ...c
34
+ ...b
35
35
  };
36
- return /* @__PURE__ */ d("label", { className: u, ref: F, htmlFor: b, ...n, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
36
+ return /* @__PURE__ */ d("label", { className: u, ref: n, htmlFor: _, ...c, style: z, children: /* @__PURE__ */ d("span", { className: s.formFieldLabelText, children: f }) });
37
37
  }
38
38
  );
39
39
  G.displayName = "FormFieldLabel";
@@ -1,17 +1,17 @@
1
1
  import { jsxs as N, jsx as m } from "react/jsx-runtime";
2
- import { useState as O, useRef as A, useContext as B, useEffect as D, useCallback as U } from "react";
3
- import { c as F, n as q, o as p } from "../../../chunks/vendor-Ba_pyhza.js";
2
+ import { useState as O, useRef as q, useContext as A, useEffect as B, useCallback as D } from "react";
3
+ import { c as F, q as U, s as p } from "../../../chunks/vendor-9KVE23Ri.js";
4
4
  import { presets as G } from "./FormFieldMaskedInputPresets.js";
5
- import { s as H, F as J } from "../../../chunks/FormFieldInput-CO7yZP0Q.js";
5
+ import { s as H, F as J } from "../../../chunks/FormFieldInput-BSxKZxcq.js";
6
6
  import { FormFieldContext as K } from "../FormFieldContext.js";
7
- const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlaceholder__b0621a6f", X = "formFieldMaskedInput__8f7dcad2", l = {
7
+ const L = "formFieldMaskedInputWrapper__33b07a20", Q = "formFieldMaskedInputPlaceholder__82430410", X = "formFieldMaskedInput__63c10946", l = {
8
8
  formFieldMaskedInputWrapper: L,
9
9
  formFieldMaskedInputPlaceholder: Q,
10
- "size-sm": "size-sm__7540e812",
11
- "size-md": "size-md__c6a543db",
12
- "size-lg": "size-lg__1760a0c4",
10
+ "size-sm": "size-sm__deaa1bc1",
11
+ "size-md": "size-md__95eee05b",
12
+ "size-lg": "size-lg__640b521b",
13
13
  formFieldMaskedInput: X
14
- }, a = ({
14
+ }, c = ({
15
15
  className: I,
16
16
  forwardedRef: f,
17
17
  disabled: g,
@@ -23,8 +23,8 @@ const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlac
23
23
  value: s,
24
24
  ..._
25
25
  }) => {
26
- const [V, x] = O(""), c = A(!1), { valueExist: y, focused: z, size: k } = B(K);
27
- D(() => {
26
+ const [V, x] = O(""), a = q(!1), { valueExist: y, focused: z, size: k } = A(K);
27
+ B(() => {
28
28
  x((() => {
29
29
  let t = [];
30
30
  if (s) {
@@ -40,17 +40,17 @@ const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlac
40
40
  return t.join("");
41
41
  })());
42
42
  }, [s, o, i, u]);
43
- const T = U(
43
+ const b = D(
44
44
  (e) => {
45
45
  const { value: t } = e.target;
46
- c.current = !1, s !== t && (d == null || d(e));
46
+ a.current = !1, s !== t && (d == null || d(e));
47
47
  },
48
48
  [s, d]
49
- ), E = () => {
50
- c.current = !0;
51
- }, W = (e, t) => o === a.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === a.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
49
+ ), T = () => {
50
+ a.current = !0;
51
+ }, E = (e, t) => o === c.presets.masks.phone ? e.length ? P(t.rawValue) : e : o === c.presets.masks.swiftCode ? e.toUpperCase() : e, P = (e) => {
52
52
  let t = [];
53
- if (c.current) {
53
+ if (a.current) {
54
54
  let n = /^[78]((\D*\d)*)/;
55
55
  e = e.replace(n, "+7 ($1"), n = /^\d7/, e = e.replace(n, (r) => (t = Array.from("+7 (").map((Y, $) => $), `+7 (${r}`));
56
56
  } else (e === "7" || e === "8") && (e = "+7 (");
@@ -58,18 +58,14 @@ const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlac
58
58
  indexesOfPipedChars: t,
59
59
  value: p.conformToMask(e, o, { guide: !1, placeholderChar: i }).conformedValue
60
60
  };
61
- }, b = () => o === a.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, j = (e) => (t) => {
61
+ }, W = () => o === c.presets.masks.phone ? (s = P(s).value, s) : p.conformToMask(s, o, { guide: !1, placeholderChar: i }).conformedValue, j = (e) => (t) => {
62
62
  t && e(t), typeof f == "function" ? f(t) : f && (f.current = t);
63
63
  }, S = () => !y && !z || !s && M ? "" : V;
64
64
  return /* @__PURE__ */ N("div", { className: F(l.formFieldMaskedInputWrapper, l[`size-${k}`]), children: [
65
65
  /* @__PURE__ */ m(
66
66
  "input",
67
67
  {
68
- className: F(
69
- H.formFieldInput,
70
- l.formFieldMaskedInputPlaceholder,
71
- I
72
- ),
68
+ className: F(H.formFieldInput, l.formFieldMaskedInputPlaceholder, I),
73
69
  disabled: g,
74
70
  placeholder: S(),
75
71
  readOnly: !0,
@@ -79,7 +75,7 @@ const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlac
79
75
  }
80
76
  ),
81
77
  /* @__PURE__ */ m(
82
- q,
78
+ U,
83
79
  {
84
80
  className: F(l.formFieldMaskedInput, { [l.error]: !!_.error }, I),
85
81
  defaultValue: "",
@@ -87,19 +83,19 @@ const L = "formFieldMaskedInputWrapper__a2c0a493", Q = "formFieldMaskedInputPlac
87
83
  guide: !1,
88
84
  render: (e, t) => /* @__PURE__ */ m(J, { ...t, value: s, placeholder: M || "", ref: j(e) }),
89
85
  mask: o,
90
- onChange: T,
91
- onPaste: E,
86
+ onChange: b,
87
+ onPaste: T,
92
88
  placeholderChar: i,
93
- value: b(),
94
- pipe: W,
89
+ value: W(),
90
+ pipe: E,
95
91
  type: "text",
96
92
  ..._
97
93
  }
98
94
  )
99
95
  ] });
100
96
  };
101
- a.presets = G;
97
+ c.presets = G;
102
98
  export {
103
- a as FormFieldMaskedInput
99
+ c as FormFieldMaskedInput
104
100
  };
105
101
  //# sourceMappingURL=FormFieldMaskedInput.js.map
@@ -1,15 +1,15 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
- import d, { useContext as x, useRef as u, useEffect as a } from "react";
3
- import { FormFieldContext as F } from "../FormFieldContext.js";
4
- import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
5
- const P = "formFieldPostfix__9fa31efa", R = {
2
+ import d, { useContext as x, useRef as u, useEffect as F } from "react";
3
+ import { FormFieldContext as a } from "../FormFieldContext.js";
4
+ import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
5
+ const P = "formFieldPostfix__724f11b2", R = {
6
6
  formFieldPostfix: P
7
7
  }, _ = d.forwardRef(
8
8
  ({ children: s, className: f, ...i }, o) => {
9
- const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(F), e = u(), m = (t) => {
9
+ const r = p(R.formFieldPostfix, f), { postfixWidth: n, setPostfixWidth: c } = x(a), e = u(), m = (t) => {
10
10
  e.current = t, typeof o == "function" ? o(t) : o && (o.current = t);
11
11
  };
12
- return a(() => {
12
+ return F(() => {
13
13
  if (!e.current)
14
14
  return;
15
15
  const { width: t } = e.current.getBoundingClientRect();
@@ -1,12 +1,12 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import d, { useContext as x, useRef as u, useEffect as F } from "react";
3
3
  import { FormFieldContext as a } from "../FormFieldContext.js";
4
- import { c as p } from "../../../chunks/vendor-Ba_pyhza.js";
5
- const P = "formFieldPrefix__95f1c407", R = {
4
+ import { c as p } from "../../../chunks/vendor-9KVE23Ri.js";
5
+ const P = "formFieldPrefix__56941cb8", R = {
6
6
  formFieldPrefix: P
7
7
  }, _ = d.forwardRef(
8
- ({ children: o, className: f, ...i }, r) => {
9
- const s = p(R.formFieldPrefix, f), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
8
+ ({ children: o, className: i, ...f }, r) => {
9
+ const s = p(R.formFieldPrefix, i), { prefixWidth: n, setPrefixWidth: c } = x(a), t = u(), m = (e) => {
10
10
  t.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
11
11
  };
12
12
  return F(() => {
@@ -14,7 +14,7 @@ const P = "formFieldPrefix__95f1c407", R = {
14
14
  return;
15
15
  const { width: e } = t.current.getBoundingClientRect();
16
16
  e !== n && c(e);
17
- }), /* @__PURE__ */ l("span", { className: s, ref: m, ...i, children: o });
17
+ }), /* @__PURE__ */ l("span", { className: s, ref: m, ...f, children: o });
18
18
  }
19
19
  );
20
20
  _.displayName = "FormFieldPrefix";
@@ -1,24 +1,24 @@
1
1
  import { jsx as I } from "react/jsx-runtime";
2
2
  import x, { useContext as E, useRef as T, useEffect as m } from "react";
3
3
  import { FormFieldContext as B } from "../FormFieldContext.js";
4
- import { c as S, a as A } from "../../../chunks/vendor-Ba_pyhza.js";
5
- import { EFormFieldStatus as d } from "../enums.js";
6
- const L = "formFieldTarget__8ca0e86d", N = "placeholder__58ee63a8", R = "disabled__b720611e", o = {
4
+ import { c as S, a as A } from "../../../chunks/vendor-9KVE23Ri.js";
5
+ import { EFormFieldStatus as a } from "../enums.js";
6
+ const L = "formFieldTarget__3cc57b0d", N = "placeholder__c8780486", R = "disabled__d9c8b710", o = {
7
7
  formFieldTarget: L,
8
8
  placeholder: N,
9
9
  disabled: R,
10
- "size-sm": "size-sm__7540e812",
11
- "size-md": "size-md__c6a543db",
12
- "size-lg": "size-lg__1760a0c4"
10
+ "size-sm": "size-sm__deaa1bc1",
11
+ "size-md": "size-md__95eee05b",
12
+ "size-lg": "size-lg__640b521b"
13
13
  }, y = x.forwardRef((F, _) => {
14
- const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...g } = F, { status: r, setFocused: f, setId: t, setValueExist: u, size: h } = E(B), b = S(o.formFieldTarget, p, o[`size-${h}`], {
15
- [o.disabled]: r === d.DISABLED,
16
- [o.placeholder]: !!n && !s && r !== d.DISABLED
17
- }), a = T(e || A("formFieldTarget_"));
14
+ const { className: p, id: e, onBlur: l, onFocus: i, placeholder: n, children: s, ...b } = F, { status: r, setFocused: f, setId: t, setValueExist: u, size: g } = E(B), h = S(o.formFieldTarget, p, o[`size-${g}`], {
15
+ [o.disabled]: r === a.DISABLED,
16
+ [o.placeholder]: !!n && !s && r !== a.DISABLED
17
+ }), d = T(e || A("formFieldTarget_"));
18
18
  m(() => {
19
- t(a.current);
19
+ t(d.current);
20
20
  }, [t]), m(() => {
21
- e && (a.current = e, t(a.current));
21
+ e && (d.current = e, t(d.current));
22
22
  }, [e, t]), m(() => {
23
23
  u(!!s);
24
24
  }, [u, s]);
@@ -30,13 +30,13 @@ const L = "formFieldTarget__8ca0e86d", N = "placeholder__58ee63a8", R = "disable
30
30
  return /* @__PURE__ */ I(
31
31
  "div",
32
32
  {
33
- ...g,
34
- className: b,
35
- "aria-disabled": r === d.DISABLED,
36
- id: a.current,
33
+ ...b,
34
+ className: h,
35
+ "aria-disabled": r === a.DISABLED,
36
+ id: d.current,
37
37
  onFocus: D,
38
38
  onBlur: z,
39
- tabIndex: r === d.DISABLED ? -1 : 0,
39
+ tabIndex: r === a.DISABLED ? -1 : 0,
40
40
  ref: _,
41
41
  children: s || n
42
42
  }