@sberbusiness/triplex-next 1.2.0 → 1.4.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 (407) hide show
  1. package/chunks/{AlertProcessSpoiler-B3Xzh0I2.js → AlertProcessSpoiler-BQv9QI6L.js} +10 -10
  2. package/chunks/Card.module-kTbr6OQy.js +17 -0
  3. package/chunks/Chip-G6cGXuGj.js +90 -0
  4. package/chunks/DropdownListItem-D2hzyBGc.js +57 -0
  5. package/chunks/DropdownMobile.module-Fa_t6vz1.js +21 -0
  6. package/chunks/Footer.module-B3uFxh54.js +9 -0
  7. package/chunks/FormFieldInput-CO7yZP0Q.js +62 -0
  8. package/chunks/HeaderLayoutSidebar.module-CGCy_cim.js +9 -0
  9. package/chunks/HeaderTabs.module-DMuNfILv.js +9 -0
  10. package/chunks/HeaderTitle.module-BHyH17ZI.js +11 -0
  11. package/chunks/IslandAccordion.module-7xAwgJVI.js +22 -0
  12. package/chunks/LightBoxContent-DmoszkOx.js +56 -0
  13. package/chunks/LightBoxControls.module-42gn-co3.js +16 -0
  14. package/chunks/LightBoxSideOverlayClose.module-B_oIB3rc.js +8 -0
  15. package/chunks/{ListItemControlsButton-BdtSkcyn.js → ListItemControlsButton-BoEiexyr.js} +6 -6
  16. package/chunks/ListItemTail.module-BB5TJPEc.js +12 -0
  17. package/chunks/ListMasterFooter.module-DxZ_nXDV.js +10 -0
  18. package/chunks/Notification.module-C-HCMpAz.js +21 -0
  19. package/chunks/Overlay.module-q-oPhooa.js +18 -0
  20. package/chunks/Page.module-DjGbJ-Uw.js +12 -0
  21. package/chunks/{RightBorderArrow-BA2_2Ry3.js → RightBorderArrow-BHW7rkmN.js} +15 -15
  22. package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
  23. package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
  24. package/chunks/{SuggestFieldMobileDropdownHint-Dz-VDDoR.js → SuggestFieldMobileDropdownHint-CMKMF0PQ.js} +2 -2
  25. package/chunks/TableFooter.module-DrRycaTr.js +13 -0
  26. package/chunks/TabsExtended.module-Be8qpZYz.js +16 -0
  27. package/chunks/TabsLine.module-DKAp48Sx.js +23 -0
  28. package/chunks/TooltipDesktop.module-D72ObNia.js +19 -0
  29. package/chunks/{UploadZoneInput-CioKsqkV.js → UploadZoneInput-pdhICY56.js} +9 -9
  30. package/chunks/utils-B7AjUpy-.js +20 -0
  31. package/chunks/utils-C-1ATq_g.js +24 -0
  32. package/chunks/{utils-D7E_PKCe.js → utils-C8a4iCV0.js} +5 -5
  33. package/chunks/{utils-B5p23Ple.js → utils-C9-tOm2Z.js} +7 -7
  34. package/chunks/{utils-DPXynVs1.js → utils-DwX2_kEA.js} +10 -10
  35. package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
  36. package/components/AbstractTree/AbstractTreeNode.js +50 -0
  37. package/components/AccordionBase/protected/AccordionBase.js +83 -0
  38. package/components/Alert/AlertContext/AlertContext.js +12 -12
  39. package/components/Alert/AlertProcess/AlertProcess.js +3 -3
  40. package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
  41. package/components/Amount/Amount.js +23 -24
  42. package/components/AmountField/AmountField.js +11 -11
  43. package/components/Body/Body.js +25 -8
  44. package/components/Body/enums.js +5 -0
  45. package/components/Button/Button.js +47 -46
  46. package/components/Button/ButtonBase.js +1 -1
  47. package/components/Button/ButtonDropdown.js +13 -13
  48. package/components/Button/ButtonDropdownExtended.js +5 -5
  49. package/components/Button/ButtonIcon.js +15 -19
  50. package/components/Button/enums.js +2 -3
  51. package/components/Button/index.js +9 -10
  52. package/components/Card/CardAction.js +10 -10
  53. package/components/Card/CardStatic.js +3 -3
  54. package/components/Card/components/CardContent/CardContent.js +2 -2
  55. package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
  56. package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
  57. package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
  58. package/components/Card/components/CardMedia.js +2 -2
  59. package/components/Card/utils.js +1 -1
  60. package/components/CarouselExtended/CarouselExtended.js +2 -2
  61. package/components/Checkbox/Checkbox.js +15 -15
  62. package/components/Checkbox/CheckboxXGroup.js +13 -13
  63. package/components/Checkbox/CheckboxYGroup.js +4 -4
  64. package/components/CheckboxTree/CheckboxTree.js +39 -0
  65. package/components/CheckboxTree/types.js +2 -0
  66. package/components/CheckboxTree/utils.js +22 -0
  67. package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
  68. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
  69. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
  70. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
  71. package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
  72. package/components/Chip/Chip.js +8 -83
  73. package/components/Chip/ChipClearButton.js +16 -24
  74. package/components/Chip/ChipDropdownArrow.js +9 -9
  75. package/components/Chip/ChipIcon.js +4 -4
  76. package/components/Chip/ChipOptions.js +6 -6
  77. package/components/Chip/ChipSelect.js +55 -0
  78. package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
  79. package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
  80. package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
  81. package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
  82. package/components/Chip/ChipSuggest/index.js +7 -0
  83. package/components/Chip/ChipSuggest/types.js +2 -0
  84. package/components/Chip/index.js +9 -5
  85. package/components/ChipGroup/ChipGroup.js +15 -15
  86. package/components/Col/Col.js +141 -141
  87. package/components/CollapsableTree/CollapsableTree.js +10 -0
  88. package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
  89. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  90. package/components/DesignTokens/DesignTokensComponents.js +61 -40
  91. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +60 -34
  92. package/components/DesignTokens/components/Card.js +6 -3
  93. package/components/DesignTokens/components/Island.js +1 -1
  94. package/components/DesignTokens/components/IslandAccordion.js +9 -0
  95. package/components/DesignTokens/components/LightBox.js +11 -0
  96. package/components/DesignTokens/components/Loader.js +13 -7
  97. package/components/DesignTokens/components/LoaderScreen.js +17 -0
  98. package/components/DesignTokens/components/Marker.js +4 -4
  99. package/components/DesignTokens/components/Notification.js +15 -0
  100. package/components/DesignTokens/components/SMSInput.js +26 -0
  101. package/components/DesignTokens/components/StatusTracker.js +35 -0
  102. package/components/DesignTokens/components/Step.js +44 -0
  103. package/components/DesignTokens/components/Tag.js +9 -0
  104. package/components/DesignTokens/components/index.js +81 -63
  105. package/components/Divider/Divider.js +21 -21
  106. package/components/Dropdown/desktop/DropdownDesktop.js +18 -18
  107. package/components/Dropdown/desktop/DropdownList.js +42 -41
  108. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  109. package/components/Dropdown/desktop/index.js +1 -1
  110. package/components/Dropdown/index.js +1 -1
  111. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  112. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  113. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  114. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  115. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  116. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  117. package/components/Dropdown/mobile/DropdownMobileInput.js +6 -6
  118. package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
  119. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  120. package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
  121. package/components/Ellipsis/Ellipsis.js +8 -8
  122. package/components/ExpandAnimation/ExpandAnimation.js +26 -26
  123. package/components/Footer/Footer.js +9 -20
  124. package/components/Footer/components/FooterDescription.js +2 -2
  125. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  126. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  127. package/components/FormField/FormField.js +21 -21
  128. package/components/FormField/components/FormFieldClear.js +9 -9
  129. package/components/FormField/components/FormFieldCounter.js +1 -1
  130. package/components/FormField/components/FormFieldDescription.js +5 -5
  131. package/components/FormField/components/FormFieldInput.js +4 -3
  132. package/components/FormField/components/FormFieldLabel.js +14 -14
  133. package/components/FormField/components/FormFieldMaskedInput.js +15 -15
  134. package/components/FormField/components/FormFieldPostfix.js +6 -6
  135. package/components/FormField/components/FormFieldPrefix.js +9 -9
  136. package/components/FormField/components/FormFieldTarget.js +22 -22
  137. package/components/FormField/components/FormFieldTextarea.js +32 -28
  138. package/components/FormField/index.js +1 -1
  139. package/components/Header/Header.js +15 -27
  140. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  141. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  142. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  143. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +2 -2
  144. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  145. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  146. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  147. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  148. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
  149. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
  150. package/components/HelpBox/HelpBox.js +13 -13
  151. package/components/Island/Island.js +12 -16
  152. package/components/Island/components/IslandBody.js +5 -5
  153. package/components/Island/components/IslandFooter.js +5 -5
  154. package/components/Island/components/IslandHeader.js +3 -3
  155. package/components/Island/components/index.js +9 -0
  156. package/components/Island/index.js +7 -1
  157. package/components/Island/utils.js +1 -3
  158. package/components/IslandAccordion/IslandAccordion.js +31 -0
  159. package/components/IslandAccordion/IslandAccordionContext.js +16 -0
  160. package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
  161. package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
  162. package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
  163. package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
  164. package/components/IslandAccordion/components/index.js +11 -0
  165. package/components/IslandAccordion/index.js +13 -0
  166. package/components/LightBox/LightBox.js +105 -0
  167. package/components/LightBox/LightBoxContent.js +10 -0
  168. package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
  169. package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
  170. package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
  171. package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
  172. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
  173. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
  174. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
  175. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
  176. package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
  177. package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
  178. package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
  179. package/components/LightBox/index.js +7 -0
  180. package/components/Link/Link.js +11 -11
  181. package/components/List/List.js +11 -11
  182. package/components/List/ListSortable.js +1 -1
  183. package/components/List/components/ListEmptyState.js +2 -2
  184. package/components/List/components/ListItem.js +1 -1
  185. package/components/List/components/ListItemContent.js +7 -7
  186. package/components/List/components/ListItemControls.js +6 -6
  187. package/components/List/components/ListItemControlsButton.js +2 -2
  188. package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
  189. package/components/List/components/ListItemLoading.js +7 -7
  190. package/components/List/components/ListItemSelectable.js +16 -16
  191. package/components/List/components/ListItemTable.js +7 -7
  192. package/components/List/components/ListItemTailLeft.js +2 -2
  193. package/components/List/components/ListItemTailRight.js +2 -2
  194. package/components/List/components/ListSortableItem.js +6 -6
  195. package/components/List/components/ListSortableItemControls.js +5 -5
  196. package/components/List/components/ListSortableItemTarget.js +4 -4
  197. package/components/List/index.js +1 -1
  198. package/components/ListMaster/ListMaster.js +1 -1
  199. package/components/ListMaster/components/ListMasterBody.js +1 -1
  200. package/components/ListMaster/components/ListMasterChipGroup.js +2 -2
  201. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  202. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  203. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  204. package/components/ListMaster/components/ListMasterHeader.js +11 -11
  205. package/components/ListMaster/components/SelectionControls.js +7 -7
  206. package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
  207. package/components/Loader/LoaderSmall/LoaderSmall.js +5 -5
  208. package/components/LoaderScreen/LoaderScreen.js +28 -0
  209. package/components/LoaderScreen/index.js +5 -0
  210. package/components/Marker/Marker.js +2 -2
  211. package/components/Marker/utils.js +1 -1
  212. package/components/MarkerStatus/MarkerStatus.js +32 -28
  213. package/components/Notification/Notification.js +40 -0
  214. package/components/Notification/NotificationGrouped.js +12 -0
  215. package/components/Notification/components/NotificationBody.js +19 -0
  216. package/components/Notification/components/NotificationBodyContent.js +8 -0
  217. package/components/Notification/components/NotificationBodyList.js +11 -0
  218. package/components/Notification/components/NotificationClose.js +14 -0
  219. package/components/Notification/components/NotificationFooter.js +8 -0
  220. package/components/Notification/components/NotificationGroupedFooter.js +11 -0
  221. package/components/Notification/components/NotificationHeader.js +8 -0
  222. package/components/Notification/components/NotificationIcon.js +8 -0
  223. package/components/Notification/components/NotificationTime.js +8 -0
  224. package/components/NumberField/NumberField.js +8 -0
  225. package/components/NumberField/NumberFieldInput.js +38 -0
  226. package/components/NumberField/index.js +5 -0
  227. package/components/NumberField/types.js +2 -0
  228. package/components/OrderedList/OrderedList.js +6 -6
  229. package/components/OrderedList/OrderedListItem.js +11 -11
  230. package/components/Overlay/Overlay.js +2 -2
  231. package/components/Overlay/OverlayMask.js +2 -2
  232. package/components/Overlay/OverlayPanel.js +2 -2
  233. package/components/Page/Page.js +13 -13
  234. package/components/Page/components/BodyPage.js +2 -2
  235. package/components/Page/components/FooterPage.js +35 -29
  236. package/components/Page/components/HeaderPage.js +22 -28
  237. package/components/Page/components/useStickyCornerRadius.js +32 -22
  238. package/components/Pagination/components/PaginationExtended.js +6 -6
  239. package/components/Pagination/components/PaginationNavigationButton.js +7 -7
  240. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  241. package/components/Pagination/components/PaginationPageButton.js +6 -6
  242. package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
  243. package/components/Pagination/components/PaginationSelect.js +7 -7
  244. package/components/Pagination/utils/paginationUtils.js +1 -1
  245. package/components/Radio/Radio.js +10 -10
  246. package/components/Radio/RadioXGroup.js +11 -11
  247. package/components/Radio/RadioYGroup.js +9 -9
  248. package/components/Row/Row.js +5 -5
  249. package/components/SMSInput/SMSInput.js +41 -0
  250. package/components/SMSInput/SMSInputContext.js +23 -0
  251. package/components/SMSInput/components/RefreshIcon.js +35 -0
  252. package/components/SMSInput/components/SMSInputInput.js +63 -0
  253. package/components/SMSInput/components/SMSInputRefresh.js +39 -0
  254. package/components/SMSInput/components/SMSInputSubmit.js +43 -0
  255. package/components/SMSInput/components/SMSInputTooltip.js +38 -0
  256. package/components/SMSInput/components/SubmitIcon.js +19 -0
  257. package/components/SMSInput/index.js +5 -0
  258. package/components/SMSInput/types.js +2 -0
  259. package/components/SegmentedControl/SegmentedControl.js +11 -11
  260. package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
  261. package/components/SelectExtendedField/SelectExtendedField.js +2 -2
  262. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
  263. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +4 -4
  264. package/components/SelectField/SelectField.js +1 -1
  265. package/components/Skeleton/Skeleton.js +10 -10
  266. package/components/Spoiler/Spoiler.js +75 -0
  267. package/components/Spoiler/index.js +5 -0
  268. package/components/StatusTracker/StatusTracker.js +45 -0
  269. package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
  270. package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
  271. package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
  272. package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
  273. package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
  274. package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
  275. package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
  276. package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
  277. package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
  278. package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
  279. package/components/StatusTracker/enums.js +6 -0
  280. package/components/StatusTracker/index.js +5 -0
  281. package/components/Step/Step.js +49 -0
  282. package/components/Step/enums.js +6 -0
  283. package/components/Step/index.js +9 -0
  284. package/components/Stepper/RightBorderArrow.js +1 -1
  285. package/components/Stepper/Stepper.js +7 -7
  286. package/components/Stepper/StepperExtended.js +5 -5
  287. package/components/Stepper/StepperStep.js +3 -3
  288. package/components/Stepper/StepperWrapper.js +5 -5
  289. package/components/Suggest/Suggest.js +99 -0
  290. package/components/Suggest/SuggestContext.js +29 -0
  291. package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
  292. package/components/Suggest/index.js +8 -0
  293. package/components/Suggest/types.js +2 -0
  294. package/components/SuggestField/SuggestField.js +11 -12
  295. package/components/SuggestField/SuggestFieldTarget.js +35 -32
  296. package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
  297. package/components/SuggestField/desktop/SuggestFieldDesktop.js +81 -80
  298. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
  299. package/components/SuggestField/index.js +1 -1
  300. package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
  301. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
  302. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
  303. package/components/SuggestField/mobile/index.js +1 -1
  304. package/components/SwipeableArea/SwipeableArea.js +17 -17
  305. package/components/Table/FilterPanel.js +3 -3
  306. package/components/Table/MasterTable.js +3 -3
  307. package/components/Table/NoColumns.js +6 -6
  308. package/components/Table/PaginationPanel.js +3 -3
  309. package/components/Table/TableBasic/TableBasic.js +33 -32
  310. package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
  311. package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
  312. package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
  313. package/components/Table/TableBasicSettings/TableBasicSettings.js +11 -11
  314. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +6 -6
  315. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
  316. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
  317. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
  318. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +10 -10
  319. package/components/Table/TableFooter/TableFooter.js +2 -2
  320. package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
  321. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
  322. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
  323. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
  324. package/components/Table/TabsLinePanel.js +6 -6
  325. package/components/Table/TabsLinePanelLinks.js +2 -2
  326. package/components/Table/utils.js +1 -1
  327. package/components/Tabs/Tabs.js +6 -6
  328. package/components/TabsExtended/TabsExtended.js +3 -3
  329. package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
  330. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  331. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  332. package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
  333. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
  334. package/components/TabsExtended/utils.js +1 -1
  335. package/components/TabsLine/TabsLine.js +2 -2
  336. package/components/TabsLine/components/TabsLineDesktop.js +2 -2
  337. package/components/TabsLine/components/TabsLineDropdown.js +4 -4
  338. package/components/TabsLine/components/TabsLineItem.js +2 -2
  339. package/components/TabsLine/components/TabsLineMobile.js +10 -10
  340. package/components/Tag/Tag.js +70 -0
  341. package/components/Tag/index.js +5 -0
  342. package/components/Tag/types.js +2 -0
  343. package/components/TagGroup/TagGroup.js +25 -0
  344. package/components/TagGroup/index.js +5 -0
  345. package/components/TagGroup/types.js +2 -0
  346. package/components/TextField/TextField.js +1 -1
  347. package/components/TextareaField/TextareaField.js +18 -0
  348. package/components/TextareaField/index.js +5 -0
  349. package/components/TextareaField/types.js +2 -0
  350. package/components/ThemeProvider/ThemeProvider.js +3 -3
  351. package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
  352. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  353. package/components/Tooltip/components/common/TooltipLink.js +16 -16
  354. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  355. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  356. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  357. package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
  358. package/components/TreeView/TreeView.js +88 -0
  359. package/components/TreeView/TreeViewAbstractNode.js +38 -0
  360. package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
  361. package/components/TreeView/TreeViewContext.js +30 -0
  362. package/components/TreeView/components/TreeViewGroup.js +6 -0
  363. package/components/TreeView/components/TreeViewNode.js +81 -0
  364. package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
  365. package/components/Typography/Caption.js +9 -9
  366. package/components/Typography/Text.js +30 -30
  367. package/components/Typography/Title.js +15 -15
  368. package/components/Typography/index.js +15 -13
  369. package/components/Typography/utils.js +1 -1
  370. package/components/UnorderedList/UnorderedList.js +3 -3
  371. package/components/UnorderedList/UnorderedListItem.js +7 -7
  372. package/components/UploadZone/UploadZone.js +3 -3
  373. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  374. package/components/WindowResizeListener/WindowResizeListener.js +18 -0
  375. package/components/index.js +418 -356
  376. package/helpers/less/z-indexes.less +3 -3
  377. package/index.d.ts +952 -88
  378. package/index.js +426 -364
  379. package/package.json +49 -5
  380. package/styles/triplex-next.css +472 -436
  381. package/utils/amountUtils.js +1 -1
  382. package/utils/focus/FocusTrapUtils.js +11 -0
  383. package/utils/scroll/scrollbar.js +14 -0
  384. package/chunks/Card.module-Dh5vP2zv.js +0 -17
  385. package/chunks/DropdownListItem-B1GkU8rn.js +0 -57
  386. package/chunks/DropdownMobile.module-CYlB98Oc.js +0 -21
  387. package/chunks/Footer.module-Bk8QkaWN.js +0 -11
  388. package/chunks/FormFieldInput-n8Ee4EcP.js +0 -63
  389. package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +0 -9
  390. package/chunks/HeaderTabs.module-yaGpurOU.js +0 -9
  391. package/chunks/HeaderTitle.module-XzB-YndL.js +0 -9
  392. package/chunks/ListItemTail.module-D_m5pMsh.js +0 -12
  393. package/chunks/ListMasterFooter.module-DXrsYZZo.js +0 -10
  394. package/chunks/Overlay.module-BghrPKKn.js +0 -18
  395. package/chunks/Page.module-D6xCdUbr.js +0 -12
  396. package/chunks/TableFooter.module-BzfTOGS_.js +0 -13
  397. package/chunks/TabsExtended.module-B3nvdhKr.js +0 -16
  398. package/chunks/TabsLine.module-Dlj__Yjk.js +0 -23
  399. package/chunks/TooltipDesktop.module-TiWl3v5C.js +0 -19
  400. package/chunks/utils-BtcCJ4_U.js +0 -20
  401. package/chunks/utils-DjxtOr-n.js +0 -48
  402. package/components/Chip/enums.js +0 -5
  403. package/components/DesignTokens/components/LoaderWidget.js +0 -17
  404. package/components/DesignTokens/components/Page.js +0 -9
  405. package/components/LoaderWidget/LoaderWidget.js +0 -29
  406. package/components/LoaderWidget/index.js +0 -5
  407. /package/components/{Island → AccordionBase}/types.js +0 -0
@@ -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-D6xCdUbr.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-Ba_pyhza.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-DjGbJ-Uw.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 y(), () => {
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,14 +1,14 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { c as o } from "../../../chunks/vendor-Ba_pyhza.js";
3
3
  import i from "react";
4
- const r = "paginationExtended__a098f338", s = {
4
+ const r = "paginationExtended__7979df6c", s = {
5
5
  paginationExtended: r
6
6
  }, x = i.forwardRef(
7
- ({ children: t, className: a, ...n }, e) => /* @__PURE__ */ o(
7
+ ({ children: t, className: a, ...n }, e) => /* @__PURE__ */ d(
8
8
  "nav",
9
9
  {
10
- className: d(s.paginationExtended, a),
11
- "data-tx": "1.2.0",
10
+ className: o(s.paginationExtended, a),
11
+ "data-tx": "1.4.0",
12
12
  ...n,
13
13
  ref: e,
14
14
  children: t
@@ -1,15 +1,15 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import c from "react";
2
+ import r from "react";
3
3
  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__4e277988", N = "directionIconNext__f080585e", n = {
7
+ const g = "paginationNavigationButton__d18ce87c", N = "directionIconNext__4555aac3", n = {
8
8
  paginationNavigationButton: g,
9
9
  directionIconNext: N
10
- }, f = c.forwardRef(
10
+ }, d = r.forwardRef(
11
11
  ({ direction: i, ...a }, e) => {
12
- const r = i === s.BACK;
12
+ const c = i === s.BACK;
13
13
  return /* @__PURE__ */ t(
14
14
  p,
15
15
  {
@@ -17,13 +17,13 @@ const g = "paginationNavigationButton__4e277988", N = "directionIconNext__f08058
17
17
  shape: m.SQUIRCLE,
18
18
  ...a,
19
19
  ref: e,
20
- children: r ? /* @__PURE__ */ t(o, { paletteIndex: 5 }) : /* @__PURE__ */ t(o, { paletteIndex: 5, className: n.directionIconNext })
20
+ children: c ? /* @__PURE__ */ t(o, { paletteIndex: 5 }) : /* @__PURE__ */ t(o, { paletteIndex: 5, className: n.directionIconNext })
21
21
  }
22
22
  );
23
23
  }
24
24
  );
25
- f.displayName = "PaginationNavigationButton";
25
+ d.displayName = "PaginationNavigationButton";
26
26
  export {
27
- f as PaginationNavigationButton
27
+ d 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__b45b89a6", r = {
3
+ import { c as d } from "../../../chunks/vendor-Ba_pyhza.js";
4
+ const g = "paginationNavigationExtended__b95e2d3a", 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,11 +1,11 @@
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__d2028b65", u = "currentPage__51807c3f", a = {
3
+ import { c } from "../../../chunks/vendor-Ba_pyhza.js";
4
+ const s = "paginationPageButton__6e91ed4b", u = "currentPage__aefe3f07", a = {
5
5
  paginationPageButton: s,
6
6
  currentPage: u
7
7
  }, P = g.forwardRef(
8
- ({ isCurrent: t = !1, children: n, className: o, ...e }, i) => /* @__PURE__ */ r(
8
+ ({ isCurrent: t = !1, children: e, className: n, ...o }, i) => /* @__PURE__ */ r(
9
9
  "button",
10
10
  {
11
11
  className: c(
@@ -13,12 +13,12 @@ const s = "paginationPageButton__d2028b65", u = "currentPage__51807c3f", a = {
13
13
  {
14
14
  [a.currentPage]: t
15
15
  },
16
- o
16
+ n
17
17
  ),
18
18
  "aria-live": t ? "polite" : void 0,
19
- ...e,
19
+ ...o,
20
20
  ref: i,
21
- children: n
21
+ children: e
22
22
  }
23
23
  )
24
24
  );
@@ -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-Ba_pyhza.js";
3
3
  import o from "react";
4
- const t = "pageEllipsis__df36ec91", r = {
4
+ const t = "pageEllipsis__59df78ae", r = {
5
5
  pageEllipsis: t
6
6
  }, n = o.forwardRef(
7
- ({ children: s, className: i, ...a }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, i), ...a, ref: l, children: s })
7
+ ({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
8
8
  );
9
9
  n.displayName = "PaginationPageEllipsis";
10
10
  export {
@@ -1,18 +1,18 @@
1
1
  import { jsxs as g, jsx as t } from "react/jsx-runtime";
2
2
  import S, { useRef as f } from "react";
3
- import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
3
+ import { a as x, c as N } from "../../../chunks/vendor-Ba_pyhza.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 h = "paginationSelect__5ed26ede", b = "paginationSelectControl__1da96928", o = {
9
- paginationSelect: h,
10
- paginationSelectControl: b
8
+ const b = "paginationSelect__edb33000", h = "paginationSelectControl__4469791d", o = {
9
+ paginationSelect: b,
10
+ paginationSelectControl: h
11
11
  }, y = S.forwardRef(
12
- ({ paginationLabel: c, className: s, hidden: d, options: i, value: n, onChange: a }, m) => {
12
+ ({ paginationLabel: c, className: s, hidden: d, options: i, value: a, onChange: n }, m) => {
13
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) || a == null || a(r);
15
+ Number.isNaN(r) || n == null || n(r);
16
16
  };
17
17
  return d ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: m, children: [
18
18
  /* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
@@ -20,7 +20,7 @@ const h = "paginationSelect__5ed26ede", b = "paginationSelectControl__1da96928",
20
20
  "select",
21
21
  {
22
22
  "aria-labelledby": l.current,
23
- value: n !== void 0 ? String(n) : void 0,
23
+ value: a !== void 0 ? String(a) : 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 { j as R } from "../../../chunks/vendor-Ba_pyhza.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
1
  import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
2
  import N from "react";
3
- import { c as n } from "../../chunks/vendor-CehxOAkM.js";
3
+ import { c as m } from "../../chunks/vendor-Ba_pyhza.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 r } 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__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "lg__83b7b97e", I = "disabled__27af944a", R = "radio__4364936a", S = "radioIcon__30bea612", a = {
10
+ const y = "label__c3fe9303", T = "md__21a37875", M = "nonempty__6261ba27", u = "lg__1f2875fa", I = "disabled__be8cd257", R = "radio__dcefb078", S = "radioIcon__19939bac", a = {
11
11
  label: y,
12
12
  md: T,
13
13
  nonempty: M,
@@ -16,17 +16,17 @@ const y = "label__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "
16
16
  radio: R,
17
17
  radioIcon: S
18
18
  }, g = {
19
- [i.LG]: r.B2,
20
- [i.MD]: r.B3
21
- }, C = z(a), h = N.forwardRef((c, l) => {
22
- const { children: s, className: d, disabled: m, labelAttributes: o, size: e = i.MD, ...p } = c, _ = n(a.radio, d, C[e]), b = n(
19
+ [i.LG]: n.B2,
20
+ [i.MD]: n.B3
21
+ }, C = z(a), h = N.forwardRef((r, d) => {
22
+ const { children: s, className: l, disabled: c, labelAttributes: o, size: e = i.MD, ...p } = r, _ = m(a.radio, l, C[e]), b = m(
23
23
  a.label,
24
24
  a[e],
25
- { [a.disabled]: !!m, [a.nonempty]: !!s },
25
+ { [a.disabled]: !!c, [a.nonempty]: !!s },
26
26
  o == null ? void 0 : o.className
27
27
  );
28
- return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.2.0", children: [
29
- /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: m, ...p, ref: l }),
28
+ return /* @__PURE__ */ f("label", { ...o, className: b, "data-tx": "1.4.0", children: [
29
+ /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref: d }),
30
30
  /* @__PURE__ */ t("span", { className: a.radioIcon }),
31
31
  s && /* @__PURE__ */ t(x, { size: g[e], children: s })
32
32
  ] });
@@ -1,17 +1,17 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { c as s } from "../../chunks/vendor-CehxOAkM.js";
3
- const c = "radioXGroup__9d9ca041", _ = "label__8e78cb1e", e = {
2
+ import { c as s } from "../../chunks/vendor-Ba_pyhza.js";
3
+ const c = "radioXGroup__ecb24a83", _ = "label__c3fe9303", n = {
4
4
  radioXGroup: c,
5
- "indent-12": "indent-12__1e69ab43",
5
+ "indent-12": "indent-12__555c2369",
6
6
  label: _,
7
- "indent-16": "indent-16__97c632d6",
8
- "indent-20": "indent-20__1ff831ae",
9
- "indent-24": "indent-24__33ee0cf9",
10
- "indent-28": "indent-28__44eb9e4b",
11
- "indent-32": "indent-32__d563ae69"
12
- }, l = (n) => {
13
- const { children: d, className: i, indent: o = 12, ...t } = n, a = s(e.radioXGroup, e[`indent-${o}`], i);
14
- return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: d });
7
+ "indent-16": "indent-16__2708432f",
8
+ "indent-20": "indent-20__6cbab84c",
9
+ "indent-24": "indent-24__50f6ef8b",
10
+ "indent-28": "indent-28__ca1ff69f",
11
+ "indent-32": "indent-32__eecf987e"
12
+ }, l = (e) => {
13
+ const { children: i, className: o, indent: t = 12, ...d } = e, a = s(n.radioXGroup, n[`indent-${t}`], o);
14
+ return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...d, children: i });
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 e } from "../../chunks/vendor-CehxOAkM.js";
3
- const p = "radioYGroup__01e5a380", t = {
4
- radioYGroup: p
5
- }, d = (o) => {
6
- const { children: r, className: s, ...a } = o, i = e(t.radioYGroup, s);
7
- return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { c } from "../../chunks/vendor-Ba_pyhza.js";
3
+ const e = "radioYGroup__1f7e60dd", p = {
4
+ radioYGroup: e
5
+ }, t = (o) => {
6
+ const { children: r, className: s, ...a } = o, d = c(p.radioYGroup, s);
7
+ return /* @__PURE__ */ i("div", { className: d, role: "radiogroup", ...a, children: r });
8
8
  };
9
- d.displayName = "RadioYGroup";
9
+ t.displayName = "RadioYGroup";
10
10
  export {
11
- d as RadioYGroup
11
+ t as RadioYGroup
12
12
  };
13
13
  //# sourceMappingURL=RadioYGroup.js.map
@@ -1,11 +1,11 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import { c as m } from "../../chunks/vendor-CehxOAkM.js";
3
- const a = "row__6712f8b0", i = "noPaddingBottom__b361580c", o = {
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { c as m } from "../../chunks/vendor-Ba_pyhza.js";
3
+ const a = "row__19f39b2b", i = "noPaddingBottom__7c495d32", o = {
4
4
  row: a,
5
5
  noPaddingBottom: i
6
6
  }, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
7
- const c = m(n, o.row, { [o.noPaddingBottom]: !s });
8
- return /* @__PURE__ */ d("div", { className: c, ...r, children: t });
7
+ const d = m(n, o.row, { [o.noPaddingBottom]: !s });
8
+ return /* @__PURE__ */ c("div", { className: d, ...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-Ba_pyhza.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-Ci4GRnk_.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.4.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-Ba_pyhza.js";
3
+ import { s as o } from "../../../chunks/SMSInput.module-Ci4GRnk_.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-Ba_pyhza.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-CO7yZP0Q.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-Ci4GRnk_.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
@@ -0,0 +1,39 @@
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { c as u } from "../../../chunks/vendor-Ba_pyhza.js";
3
+ import { forwardRef as x, useContext as M, useMemo as N } from "react";
4
+ import "../../Button/Button.js";
5
+ import "../../Button/ButtonBase.js";
6
+ import { ButtonIcon as y } from "../../Button/ButtonIcon.js";
7
+ import "../../Button/ButtonDropdown.js";
8
+ import "../../Button/ButtonDropdownExtended.js";
9
+ import { EButtonIconShape as B } from "../../Button/enums.js";
10
+ import { SMSInputContext as z } from "../SMSInputContext.js";
11
+ import { RefreshIcon as D } from "./RefreshIcon.js";
12
+ import { s as m } from "../../../chunks/SMSInput.module-Ci4GRnk_.js";
13
+ const E = x(
14
+ ({ className: i, disabled: r, countdownTime: s, countdownTimeLeft: e, onClick: o, onRefresh: l, ...n }, f) => {
15
+ const { disabled: t, error: c, size: h, sizeClassName: I, tooltipId: S } = M(z), d = e > 0, a = t && !c || r || d, b = u(m.btnRefresh, I, i, {
16
+ [m.disabled]: a
17
+ }), C = N(() => e >= s || t || r ? 0 : (s - e) / s, [s, e, t, r]);
18
+ return /* @__PURE__ */ p(
19
+ y,
20
+ {
21
+ "aria-describedby": S,
22
+ className: b,
23
+ disabled: a,
24
+ onClick: (R) => {
25
+ l(), o == null || o(R);
26
+ },
27
+ ref: f,
28
+ shape: B.CIRCLE,
29
+ ...n,
30
+ children: /* @__PURE__ */ p(D, { percent: C || 0, size: h, disabled: !!(t || r) })
31
+ }
32
+ );
33
+ }
34
+ );
35
+ E.displayName = "SMSInputRefresh";
36
+ export {
37
+ E as SMSInputRefresh
38
+ };
39
+ //# sourceMappingURL=SMSInputRefresh.js.map