@sberbusiness/triplex-next 1.3.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 (380) hide show
  1. package/chunks/AlertProcessSpoiler-BQv9QI6L.js +39 -0
  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-Ms4q9wDe.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-D6ZllSTT.js → RightBorderArrow-BHW7rkmN.js} +4 -4
  22. package/chunks/SMSInput.module-Ci4GRnk_.js +16 -0
  23. package/chunks/StatusTracker.module-zTyojoH4.js +24 -0
  24. package/chunks/{SuggestFieldMobileDropdownHint-Cc_fZLBH.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-Bkv3b0F5.js → UploadZoneInput-pdhICY56.js} +3 -3
  30. package/chunks/{utils-CVSz7tV_.js → utils-B7AjUpy-.js} +2 -2
  31. package/chunks/utils-C-1ATq_g.js +24 -0
  32. package/chunks/{utils-DWPj89gs.js → utils-C8a4iCV0.js} +6 -6
  33. package/chunks/{utils-BZFu5eVD.js → utils-C9-tOm2Z.js} +10 -10
  34. package/chunks/utils-DwX2_kEA.js +72 -0
  35. package/chunks/{vendor-CehxOAkM.js → vendor-Ba_pyhza.js} +5132 -5003
  36. package/components/AbstractTree/AbstractTreeNode.js +1 -1
  37. package/components/AccordionBase/protected/AccordionBase.js +1 -1
  38. package/components/Alert/AlertContext/AlertContext.js +14 -14
  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 +20 -21
  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 +42 -41
  46. package/components/Button/ButtonBase.js +1 -1
  47. package/components/Button/ButtonDropdown.js +2 -2
  48. package/components/Button/ButtonDropdownExtended.js +2 -2
  49. package/components/Button/ButtonIcon.js +9 -9
  50. package/components/Card/CardAction.js +16 -16
  51. package/components/Card/CardStatic.js +3 -3
  52. package/components/Card/components/CardContent/CardContent.js +2 -2
  53. package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
  54. package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
  55. package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
  56. package/components/Card/components/CardMedia.js +2 -2
  57. package/components/Card/utils.js +1 -1
  58. package/components/CarouselExtended/CarouselExtended.js +7 -7
  59. package/components/Checkbox/Checkbox.js +21 -21
  60. package/components/Checkbox/CheckboxXGroup.js +14 -14
  61. package/components/Checkbox/CheckboxYGroup.js +2 -2
  62. package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +1 -1
  63. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +1 -1
  64. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +3 -3
  65. package/components/Chip/Chip.js +5 -3
  66. package/components/Chip/ChipClearButton.js +16 -24
  67. package/components/Chip/ChipDropdownArrow.js +5 -5
  68. package/components/Chip/ChipIcon.js +1 -1
  69. package/components/Chip/ChipOptions.js +6 -6
  70. package/components/Chip/ChipSelect.js +2 -2
  71. package/components/Chip/ChipSuggest/ChipSuggest.js +21 -0
  72. package/components/Chip/ChipSuggest/ChipSuggestDropdown.js +85 -0
  73. package/components/Chip/ChipSuggest/ChipSuggestTarget.js +42 -0
  74. package/components/Chip/ChipSuggest/desktop/ChipSuggestDesktopDropdownField.js +81 -0
  75. package/components/Chip/ChipSuggest/index.js +7 -0
  76. package/components/Chip/index.js +7 -3
  77. package/components/ChipGroup/ChipGroup.js +13 -13
  78. package/components/Col/Col.js +135 -135
  79. package/components/CollapsableTree/components/CollapsableTreeNode.js +6 -6
  80. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  81. package/components/DesignTokens/DesignTokensComponents.js +54 -40
  82. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +59 -40
  83. package/components/DesignTokens/components/Card.js +6 -3
  84. package/components/DesignTokens/components/Island.js +1 -1
  85. package/components/DesignTokens/components/IslandAccordion.js +9 -0
  86. package/components/DesignTokens/components/LightBox.js +11 -0
  87. package/components/DesignTokens/components/Loader.js +13 -7
  88. package/components/DesignTokens/components/SMSInput.js +26 -0
  89. package/components/DesignTokens/components/StatusTracker.js +35 -0
  90. package/components/DesignTokens/components/Step.js +44 -0
  91. package/components/DesignTokens/components/index.js +76 -64
  92. package/components/Divider/Divider.js +21 -21
  93. package/components/Dropdown/desktop/DropdownDesktop.js +15 -15
  94. package/components/Dropdown/desktop/DropdownList.js +42 -41
  95. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  96. package/components/Dropdown/desktop/index.js +1 -1
  97. package/components/Dropdown/index.js +1 -1
  98. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  99. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  100. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  101. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  102. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  103. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  104. package/components/Dropdown/mobile/DropdownMobileInput.js +4 -4
  105. package/components/Dropdown/mobile/DropdownMobileList.js +2 -2
  106. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  107. package/components/Dropdown/mobile/DropdownMobileLoader.js +2 -2
  108. package/components/Ellipsis/Ellipsis.js +12 -12
  109. package/components/ExpandAnimation/ExpandAnimation.js +26 -26
  110. package/components/Footer/Footer.js +9 -20
  111. package/components/Footer/components/FooterDescription.js +2 -2
  112. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  113. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  114. package/components/FormField/FormField.js +9 -9
  115. package/components/FormField/components/FormFieldClear.js +10 -10
  116. package/components/FormField/components/FormFieldCounter.js +1 -1
  117. package/components/FormField/components/FormFieldDescription.js +4 -4
  118. package/components/FormField/components/FormFieldInput.js +4 -3
  119. package/components/FormField/components/FormFieldLabel.js +9 -9
  120. package/components/FormField/components/FormFieldMaskedInput.js +22 -22
  121. package/components/FormField/components/FormFieldPostfix.js +8 -8
  122. package/components/FormField/components/FormFieldPrefix.js +8 -8
  123. package/components/FormField/components/FormFieldTarget.js +11 -11
  124. package/components/FormField/components/FormFieldTextarea.js +32 -28
  125. package/components/FormField/index.js +1 -1
  126. package/components/Header/Header.js +15 -27
  127. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  128. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  129. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  130. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
  131. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  132. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  133. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  134. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  135. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +15 -7
  136. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +14 -6
  137. package/components/HelpBox/HelpBox.js +20 -20
  138. package/components/Island/Island.js +12 -16
  139. package/components/Island/components/IslandBody.js +4 -4
  140. package/components/Island/components/IslandFooter.js +3 -3
  141. package/components/Island/components/IslandHeader.js +4 -4
  142. package/components/Island/components/index.js +9 -0
  143. package/components/Island/index.js +7 -1
  144. package/components/Island/utils.js +1 -3
  145. package/components/IslandAccordion/IslandAccordion.js +31 -0
  146. package/components/IslandAccordion/IslandAccordionContext.js +16 -0
  147. package/components/IslandAccordion/components/IslandAccordionContent.js +12 -0
  148. package/components/IslandAccordion/components/IslandAccordionFooter.js +13 -0
  149. package/components/IslandAccordion/components/IslandAccordionItem.js +122 -0
  150. package/components/IslandAccordion/components/IslandAccordionTitle.js +21 -0
  151. package/components/IslandAccordion/components/index.js +11 -0
  152. package/components/IslandAccordion/index.js +13 -0
  153. package/components/LightBox/LightBox.js +105 -0
  154. package/components/LightBox/LightBoxContent.js +10 -0
  155. package/components/LightBox/LightBoxControls/LightBoxClose.js +53 -0
  156. package/components/LightBox/LightBoxControls/LightBoxControls.js +15 -0
  157. package/components/LightBox/LightBoxControls/LightBoxNext.js +58 -0
  158. package/components/LightBox/LightBoxControls/LightBoxPrev.js +58 -0
  159. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlay.js +106 -0
  160. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseDesktop.js +35 -0
  161. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayCloseMobile.js +27 -0
  162. package/components/LightBox/LightBoxSideOverlay/LightBoxSideOverlayLoader.js +21 -0
  163. package/components/LightBox/LightBoxTopOverlay/LightBoxTopOverlay.js +86 -0
  164. package/components/LightBox/LightBoxViewManager/LightBoxViewManager.js +63 -0
  165. package/components/LightBox/LightBoxViewManager/LightBoxViewManagerConsts.js +28 -0
  166. package/components/LightBox/index.js +7 -0
  167. package/components/Link/Link.js +21 -21
  168. package/components/List/List.js +8 -8
  169. package/components/List/ListSortable.js +1 -1
  170. package/components/List/components/ListEmptyState.js +2 -2
  171. package/components/List/components/ListItem.js +1 -1
  172. package/components/List/components/ListItemContent.js +7 -7
  173. package/components/List/components/ListItemControls.js +5 -5
  174. package/components/List/components/ListItemControlsButton.js +2 -2
  175. package/components/List/components/ListItemControlsButtonDropdown.js +2 -2
  176. package/components/List/components/ListItemLoading.js +7 -7
  177. package/components/List/components/ListItemSelectable.js +7 -7
  178. package/components/List/components/ListItemTable.js +4 -4
  179. package/components/List/components/ListItemTailLeft.js +2 -2
  180. package/components/List/components/ListItemTailRight.js +2 -2
  181. package/components/List/components/ListSortableItem.js +10 -10
  182. package/components/List/components/ListSortableItemControls.js +5 -5
  183. package/components/List/components/ListSortableItemTarget.js +5 -5
  184. package/components/List/index.js +1 -1
  185. package/components/ListMaster/ListMaster.js +1 -1
  186. package/components/ListMaster/components/ListMasterBody.js +1 -1
  187. package/components/ListMaster/components/ListMasterChipGroup.js +7 -7
  188. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  189. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  190. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  191. package/components/ListMaster/components/ListMasterHeader.js +11 -11
  192. package/components/ListMaster/components/SelectionControls.js +3 -3
  193. package/components/Loader/LoaderMiddle/LoaderMiddle.js +18 -17
  194. package/components/Loader/LoaderSmall/LoaderSmall.js +11 -11
  195. package/components/LoaderScreen/LoaderScreen.js +17 -18
  196. package/components/Marker/Marker.js +2 -2
  197. package/components/Marker/utils.js +1 -1
  198. package/components/MarkerStatus/MarkerStatus.js +13 -13
  199. package/components/Notification/Notification.js +3 -3
  200. package/components/Notification/NotificationGrouped.js +1 -1
  201. package/components/Notification/components/NotificationBody.js +1 -1
  202. package/components/Notification/components/NotificationBodyContent.js +1 -1
  203. package/components/Notification/components/NotificationBodyList.js +2 -2
  204. package/components/Notification/components/NotificationClose.js +1 -1
  205. package/components/Notification/components/NotificationFooter.js +1 -1
  206. package/components/Notification/components/NotificationGroupedFooter.js +2 -2
  207. package/components/Notification/components/NotificationHeader.js +1 -1
  208. package/components/Notification/components/NotificationIcon.js +1 -1
  209. package/components/Notification/components/NotificationTime.js +1 -1
  210. package/components/NumberField/NumberFieldInput.js +1 -1
  211. package/components/OrderedList/OrderedList.js +7 -7
  212. package/components/OrderedList/OrderedListItem.js +9 -9
  213. package/components/Overlay/Overlay.js +2 -2
  214. package/components/Overlay/OverlayMask.js +2 -2
  215. package/components/Overlay/OverlayPanel.js +2 -2
  216. package/components/Page/Page.js +13 -13
  217. package/components/Page/components/BodyPage.js +2 -2
  218. package/components/Page/components/FooterPage.js +35 -29
  219. package/components/Page/components/HeaderPage.js +22 -28
  220. package/components/Page/components/useStickyCornerRadius.js +32 -22
  221. package/components/Pagination/components/PaginationExtended.js +6 -6
  222. package/components/Pagination/components/PaginationNavigationButton.js +5 -5
  223. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  224. package/components/Pagination/components/PaginationPageButton.js +6 -6
  225. package/components/Pagination/components/PaginationPageEllipsis.js +2 -2
  226. package/components/Pagination/components/PaginationSelect.js +8 -8
  227. package/components/Pagination/utils/paginationUtils.js +1 -1
  228. package/components/Radio/Radio.js +16 -16
  229. package/components/Radio/RadioXGroup.js +12 -12
  230. package/components/Radio/RadioYGroup.js +9 -9
  231. package/components/Row/Row.js +5 -5
  232. package/components/SMSInput/SMSInput.js +41 -0
  233. package/components/SMSInput/SMSInputContext.js +23 -0
  234. package/components/SMSInput/components/RefreshIcon.js +35 -0
  235. package/components/SMSInput/components/SMSInputInput.js +63 -0
  236. package/components/SMSInput/components/SMSInputRefresh.js +39 -0
  237. package/components/SMSInput/components/SMSInputSubmit.js +43 -0
  238. package/components/SMSInput/components/SMSInputTooltip.js +38 -0
  239. package/components/SMSInput/components/SubmitIcon.js +19 -0
  240. package/components/SMSInput/index.js +5 -0
  241. package/components/SMSInput/types.js +2 -0
  242. package/components/SegmentedControl/SegmentedControl.js +14 -14
  243. package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
  244. package/components/SelectExtendedField/SelectExtendedField.js +7 -7
  245. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +1 -1
  246. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +8 -8
  247. package/components/SelectField/SelectField.js +1 -1
  248. package/components/Skeleton/Skeleton.js +10 -10
  249. package/components/Spoiler/Spoiler.js +75 -0
  250. package/components/Spoiler/index.js +5 -0
  251. package/components/StatusTracker/StatusTracker.js +45 -0
  252. package/components/StatusTracker/components/StatusTrackerAlert.js +18 -0
  253. package/components/StatusTracker/components/StatusTrackerBody.js +20 -0
  254. package/components/StatusTracker/components/StatusTrackerButton.js +16 -0
  255. package/components/StatusTracker/components/StatusTrackerDescription.js +24 -0
  256. package/components/StatusTracker/components/StatusTrackerFooter.js +28 -0
  257. package/components/StatusTracker/components/StatusTrackerHeader.js +22 -0
  258. package/components/StatusTracker/components/StatusTrackerMedia.js +11 -0
  259. package/components/StatusTracker/components/StatusTrackerStatus.js +12 -0
  260. package/components/StatusTracker/components/StatusTrackerSum.js +25 -0
  261. package/components/StatusTracker/components/StatusTrackerTitle.js +24 -0
  262. package/components/StatusTracker/enums.js +6 -0
  263. package/components/StatusTracker/index.js +5 -0
  264. package/components/Step/Step.js +49 -0
  265. package/components/Step/enums.js +6 -0
  266. package/components/Step/index.js +9 -0
  267. package/components/Stepper/RightBorderArrow.js +1 -1
  268. package/components/Stepper/Stepper.js +7 -7
  269. package/components/Stepper/StepperExtended.js +2 -2
  270. package/components/Stepper/StepperStep.js +3 -3
  271. package/components/Stepper/StepperWrapper.js +5 -5
  272. package/components/Suggest/Suggest.js +99 -0
  273. package/components/Suggest/SuggestContext.js +29 -0
  274. package/components/Suggest/SuggestMobileDropdownContent.js +96 -0
  275. package/components/Suggest/index.js +8 -0
  276. package/components/Suggest/types.js +2 -0
  277. package/components/SuggestField/SuggestField.js +11 -12
  278. package/components/SuggestField/SuggestFieldTarget.js +35 -32
  279. package/components/SuggestField/SuggestFieldTargetPostfix.js +1 -1
  280. package/components/SuggestField/desktop/SuggestFieldDesktop.js +81 -80
  281. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +1 -1
  282. package/components/SuggestField/index.js +1 -1
  283. package/components/SuggestField/mobile/SuggestFieldMobile.js +27 -26
  284. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +2 -2
  285. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +1 -1
  286. package/components/SuggestField/mobile/index.js +1 -1
  287. package/components/SwipeableArea/SwipeableArea.js +24 -24
  288. package/components/Table/FilterPanel.js +3 -3
  289. package/components/Table/MasterTable.js +18 -18
  290. package/components/Table/NoColumns.js +6 -6
  291. package/components/Table/PaginationPanel.js +3 -3
  292. package/components/Table/TableBasic/TableBasic.js +33 -32
  293. package/components/Table/TableBasic/components/TableBasicBody.js +2 -2
  294. package/components/Table/TableBasic/components/TableBasicHeader.js +19 -18
  295. package/components/Table/TableBasic/components/TableBasicRow.js +2 -2
  296. package/components/Table/TableBasicSettings/TableBasicSettings.js +11 -11
  297. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +2 -2
  298. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +2 -2
  299. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +7 -7
  300. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +2 -2
  301. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +5 -5
  302. package/components/Table/TableFooter/TableFooter.js +2 -2
  303. package/components/Table/TableFooter/components/TableFooterSummary.js +1 -1
  304. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +9 -9
  305. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +10 -21
  306. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +1 -1
  307. package/components/Table/TabsLinePanel.js +6 -6
  308. package/components/Table/TabsLinePanelLinks.js +2 -2
  309. package/components/Table/utils.js +1 -1
  310. package/components/Tabs/Tabs.js +15 -15
  311. package/components/TabsExtended/TabsExtended.js +3 -3
  312. package/components/TabsExtended/components/TabsExtendedContent.js +2 -2
  313. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  314. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  315. package/components/TabsExtended/components/TabsExtendedTabButton.js +2 -2
  316. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +2 -2
  317. package/components/TabsExtended/utils.js +1 -1
  318. package/components/TabsLine/TabsLine.js +2 -2
  319. package/components/TabsLine/components/TabsLineDesktop.js +2 -2
  320. package/components/TabsLine/components/TabsLineDropdown.js +3 -3
  321. package/components/TabsLine/components/TabsLineItem.js +2 -2
  322. package/components/TabsLine/components/TabsLineMobile.js +7 -7
  323. package/components/Tag/Tag.js +12 -12
  324. package/components/TagGroup/TagGroup.js +10 -10
  325. package/components/TextField/TextField.js +1 -1
  326. package/components/TextareaField/TextareaField.js +18 -0
  327. package/components/TextareaField/index.js +5 -0
  328. package/components/TextareaField/types.js +2 -0
  329. package/components/ThemeProvider/ThemeProvider.js +3 -3
  330. package/components/ThemeProvider/components/ThemeProviderView.js +1 -1
  331. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  332. package/components/Tooltip/components/common/TooltipLink.js +19 -19
  333. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  334. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  335. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  336. package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
  337. package/components/TreeView/TreeView.js +1 -1
  338. package/components/TreeView/components/TreeViewNode.js +1 -1
  339. package/components/Triggers/TriggerClickOnKeyDownEvent.js +15 -0
  340. package/components/Typography/Caption.js +17 -17
  341. package/components/Typography/Text.js +28 -28
  342. package/components/Typography/Title.js +11 -11
  343. package/components/Typography/index.js +15 -13
  344. package/components/Typography/utils.js +1 -1
  345. package/components/UnorderedList/UnorderedList.js +6 -6
  346. package/components/UnorderedList/UnorderedListItem.js +11 -11
  347. package/components/UploadZone/UploadZone.js +3 -3
  348. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  349. package/components/WindowResizeListener/WindowResizeListener.js +18 -0
  350. package/components/index.js +418 -366
  351. package/index.d.ts +740 -58
  352. package/index.js +424 -372
  353. package/package.json +33 -1
  354. package/styles/triplex-next.css +472 -441
  355. package/utils/amountUtils.js +1 -1
  356. package/utils/focus/FocusTrapUtils.js +11 -0
  357. package/utils/scroll/scrollbar.js +14 -0
  358. package/chunks/AlertProcessSpoiler-B91XiZ7K.js +0 -39
  359. package/chunks/Card.module-NgdHcwYS.js +0 -17
  360. package/chunks/Chip-XyednI9u.js +0 -87
  361. package/chunks/DropdownListItem-g0mYNHIW.js +0 -57
  362. package/chunks/DropdownMobile.module-BBY44sVr.js +0 -21
  363. package/chunks/Footer.module-4a0n1yRR.js +0 -11
  364. package/chunks/FormFieldInput-qaJqBTBV.js +0 -63
  365. package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +0 -9
  366. package/chunks/HeaderTabs.module-CXcyvbb5.js +0 -9
  367. package/chunks/HeaderTitle.module-B-6xJFnf.js +0 -9
  368. package/chunks/ListItemTail.module-D5VudFCz.js +0 -12
  369. package/chunks/ListMasterFooter.module-DzXu5TSC.js +0 -10
  370. package/chunks/Notification.module-MX1NZXsu.js +0 -21
  371. package/chunks/Overlay.module-B1IlIRoo.js +0 -18
  372. package/chunks/Page.module-Cwb_zvqj.js +0 -12
  373. package/chunks/TableFooter.module-D9_esv5A.js +0 -13
  374. package/chunks/TabsExtended.module--2PQhvJQ.js +0 -16
  375. package/chunks/TabsLine.module-CH_sqFyE.js +0 -23
  376. package/chunks/TooltipDesktop.module-D3cbaDX1.js +0 -19
  377. package/chunks/utils-D8e1oAR3.js +0 -72
  378. package/chunks/utils-dyCpsmr1.js +0 -48
  379. package/components/DesignTokens/components/Page.js +0 -9
  380. /package/components/{Island → Chip/ChipSuggest}/types.js +0 -0
@@ -1,7 +1,7 @@
1
1
  var c = Object.defineProperty;
2
2
  var d = (t, e, i) => e in t ? c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
3
3
  var s = (t, e, i) => d(t, typeof e != "symbol" ? e + "" : e, i);
4
- import { i as l } from "../../chunks/vendor-CehxOAkM.js";
4
+ import { i as l } from "../../chunks/vendor-Ba_pyhza.js";
5
5
  class u {
6
6
  constructor() {
7
7
  // Массив дочерних нод.
@@ -4,7 +4,7 @@ var o = (a, s, e) => l(a, typeof s != "symbol" ? s + "" : s, e);
4
4
  import { jsxs as O, Fragment as m, jsx as g } from "react/jsx-runtime";
5
5
  import h from "react";
6
6
  import { ExpandAnimation as f } from "../../ExpandAnimation/ExpandAnimation.js";
7
- import { a as u, c as x } from "../../../chunks/vendor-CehxOAkM.js";
7
+ import { a as u, c as x } from "../../../chunks/vendor-Ba_pyhza.js";
8
8
  class I extends h.Component {
9
9
  constructor(e) {
10
10
  super(e);
@@ -3,13 +3,13 @@ import x from "react";
3
3
  import { EAlertType as e } from "../EAlertType.js";
4
4
  import { alertTypeToClassNameMap as m } from "../AlertTypeUtils.js";
5
5
  import { Text as y } from "../../Typography/Text.js";
6
- import { EFontType as r, ETextSize as f } from "../../Typography/enums.js";
7
- import { SystemStrokeStsIcon16 as I, ErrorStrokeStsIcon16 as S, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
8
- import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
9
- const N = "alertContext__6fd00d51", _ = "alertContextText__7677c26a", E = "alertTypeError__21cadb04", C = "alertTypeInfo__802e847a", u = "alertTypeWarning__fb08ad45", A = "alertTypeSystem__c1241af3", n = {
10
- alertContext: N,
11
- alertContextText: _,
12
- alertTypeError: E,
6
+ import { EFontType as r, ETextSize as I } from "../../Typography/enums.js";
7
+ import { SystemStrokeStsIcon16 as f, ErrorStrokeStsIcon16 as S, WarningStrokeStsIcon16 as i, InfoStrokeStsIcon16 as R } from "@sberbusiness/icons-next";
8
+ import { c as N } from "../../../chunks/vendor-Ba_pyhza.js";
9
+ const _ = "alertContext__acd8f089", E = "alertContextText__bcc2c646", d = "alertTypeError__ced7c27f", C = "alertTypeInfo__3002ea3b", u = "alertTypeWarning__732e3a96", A = "alertTypeSystem__2c54c9e2", n = {
10
+ alertContext: _,
11
+ alertContextText: E,
12
+ alertTypeError: d,
13
13
  alertTypeInfo: C,
14
14
  alertTypeWarning: u,
15
15
  alertTypeSystem: A
@@ -22,7 +22,7 @@ const N = "alertContext__6fd00d51", _ = "alertContextText__7677c26a", E = "alert
22
22
  case e.ERROR:
23
23
  return /* @__PURE__ */ t(S, { paletteIndex: 1 });
24
24
  case e.SYSTEM:
25
- return /* @__PURE__ */ t(I, { paletteIndex: 4 });
25
+ return /* @__PURE__ */ t(f, { paletteIndex: 4 });
26
26
  }
27
27
  }, W = {
28
28
  [e.INFO]: r.INFO,
@@ -30,17 +30,17 @@ const N = "alertContext__6fd00d51", _ = "alertContextText__7677c26a", E = "alert
30
30
  [e.ERROR]: r.ERROR,
31
31
  [e.SYSTEM]: r.SECONDARY
32
32
  }, F = x.forwardRef(
33
- ({ children: o, className: l, type: a, renderIcon: s, ...p }, c) => /* @__PURE__ */ T(
33
+ ({ children: o, className: l, type: a, renderIcon: s, ...c }, p) => /* @__PURE__ */ T(
34
34
  "span",
35
35
  {
36
36
  role: "alert",
37
- className: d(n.alertContext, m[a](n), l),
38
- ...p,
39
- "data-tx": "1.3.0",
40
- ref: c,
37
+ className: N(n.alertContext, m[a](n), l),
38
+ ...c,
39
+ "data-tx": "1.4.0",
40
+ ref: p,
41
41
  children: [
42
42
  s || O(a),
43
- /* @__PURE__ */ t(y, { size: f.B4, type: W[a], className: n.alertContextText, children: o })
43
+ /* @__PURE__ */ t(y, { size: I.B4, type: W[a], className: n.alertContextText, children: o })
44
44
  ]
45
45
  }
46
46
  )
@@ -3,10 +3,10 @@ import P, { useState as n } from "react";
3
3
  import { EAlertType as t } from "../EAlertType.js";
4
4
  import { alertTypeToClassNameMap as k } from "../AlertTypeUtils.js";
5
5
  import { ButtonIcon as v } from "../../Button/ButtonIcon.js";
6
- import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-B91XiZ7K.js";
6
+ import { s as r, A as i } from "../../../chunks/AlertProcessSpoiler-BQv9QI6L.js";
7
7
  import { AlertProcessContext as R } from "./AlertProcessContext.js";
8
8
  import { CrossStrokeSrvIcon16 as E, DefaulticonStrokePrdIcon20 as T, SystemStrokeStsIcon20 as y, ErrorStrokeStsIcon20 as j, WarningStrokeStsIcon20 as w, InfoStrokeStsIcon20 as B } from "@sberbusiness/icons-next";
9
- import { c as C } from "../../../chunks/vendor-CehxOAkM.js";
9
+ import { c as C } from "../../../chunks/vendor-Ba_pyhza.js";
10
10
  const O = (o) => {
11
11
  switch (o) {
12
12
  case t.INFO:
@@ -38,7 +38,7 @@ const O = (o) => {
38
38
  d
39
39
  ),
40
40
  ...f,
41
- "data-tx": "1.3.0",
41
+ "data-tx": "1.4.0",
42
42
  ref: u,
43
43
  children: [
44
44
  /* @__PURE__ */ e("div", { className: r.themeIcon, children: l || O(a) }),
@@ -3,8 +3,8 @@ import "react";
3
3
  import "@sberbusiness/icons-next";
4
4
  import "../../../Button/ButtonIcon.js";
5
5
  import "../AlertProcessContext.js";
6
- import { A as l } from "../../../../chunks/AlertProcessSpoiler-B91XiZ7K.js";
7
- import "../../../../chunks/vendor-CehxOAkM.js";
6
+ import { A as l } from "../../../../chunks/AlertProcessSpoiler-BQv9QI6L.js";
7
+ import "../../../../chunks/vendor-Ba_pyhza.js";
8
8
  export {
9
9
  l as AlertProcessSpoiler
10
10
  };
@@ -1,37 +1,36 @@
1
- import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
- import { formatAmount as d } from "../../utils/amountUtils.js";
3
- import { c as A } from "../../chunks/vendor-CehxOAkM.js";
4
- const f = "amountAdaptive__0f4963ea", N = {
5
- amountAdaptive: f
6
- }, _ = 14, h = ({
1
+ import { jsxs as d, jsx as n } from "react/jsx-runtime";
2
+ import { formatAmount as u } from "../../utils/amountUtils.js";
3
+ import { c as f } from "../../chunks/vendor-Ba_pyhza.js";
4
+ const N = "adaptive__f029dbba", _ = {
5
+ adaptive: N
6
+ }, h = 14, v = ({
7
7
  className: o,
8
- value: m,
9
- fractionLength: r,
8
+ value: r,
9
+ fractionLength: s,
10
10
  currency: e,
11
- currencyTitle: s,
11
+ currencyTitle: m,
12
12
  adaptive: c,
13
13
  dataTestId: a,
14
14
  ...i
15
15
  }) => {
16
- let t = d(m, r);
17
- const p = A(
16
+ let t = u(r, s);
17
+ t[0] == "-" && (t = t.replace("-", "−"));
18
+ const p = () => [
19
+ " ",
20
+ /* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: m, children: e }, "currencyName")
21
+ ], l = f(
18
22
  {
19
- [N.amountAdaptive]: !!c && t.length >= _
23
+ [_.adaptive]: !!c && t.length >= h
20
24
  },
21
25
  o
22
26
  );
23
- t[0] == "-" && (t = t.replace("-", ""));
24
- const u = () => [
25
- " ",
26
- /* @__PURE__ */ n("span", { "data-test-id": a && `${a}__currencyName`, title: s, children: e }, "currencyName")
27
- ];
28
- return /* @__PURE__ */ l("span", { className: p, ...i, "data-tx": "1.3.0", children: [
27
+ return /* @__PURE__ */ d("span", { className: l, ...i, "data-tx": "1.4.0", children: [
29
28
  /* @__PURE__ */ n("span", { "data-test-id": a && `${a}__amount`, children: t }),
30
- e && u()
29
+ e && p()
31
30
  ] });
32
31
  };
33
- h.displayName = "Amount";
32
+ v.displayName = "Amount";
34
33
  export {
35
- h as Amount
34
+ v as Amount
36
35
  };
37
36
  //# sourceMappingURL=Amount.js.map
@@ -6,12 +6,12 @@ import { FormFieldDescription as T } from "../FormField/components/FormFieldDesc
6
6
  import { FormFieldLabel as V } from "../FormField/components/FormFieldLabel.js";
7
7
  import { FormFieldPostfix as D } from "../FormField/components/FormFieldPostfix.js";
8
8
  import { FormFieldClear as K } from "../FormField/components/FormFieldClear.js";
9
- import { F as j } from "../../chunks/FormFieldInput-qaJqBTBV.js";
10
- import { AmountBaseInputCore as A } from "./AmountBaseInputCore.js";
11
- import { setCaretPosition as L } from "../../utils/inputUtils.js";
12
- import { createPlaceholder as M, setFallbackCaret as g } from "./utils.js";
13
- const $ = "currency__ca53f7fe", b = {
14
- currency: $
9
+ import { F as b } from "../../chunks/FormFieldInput-CO7yZP0Q.js";
10
+ import { AmountBaseInputCore as j } from "./AmountBaseInputCore.js";
11
+ import { setCaretPosition as A } from "../../utils/inputUtils.js";
12
+ import { createPlaceholder as L, setFallbackCaret as g } from "./utils.js";
13
+ const M = "currency__67ab2406", $ = {
14
+ currency: M
15
15
  }, Z = R.forwardRef(
16
16
  ({
17
17
  label: f,
@@ -23,9 +23,9 @@ const $ = "currency__ca53f7fe", b = {
23
23
  fractionDigits: n = 2,
24
24
  ...F
25
25
  }, o) => {
26
- const u = F["data-test-id"], C = t.placeholder || M(n), a = y(null), e = y();
27
- e.current === void 0 && (e.current = new A(m, n)), x(() => {
28
- e.current && a.current == document.activeElement && L(a.current, Math.max(e.current.caret, 0));
26
+ const u = F["data-test-id"], C = t.placeholder || L(n), a = y(null), e = y();
27
+ e.current === void 0 && (e.current = new j(m, n)), x(() => {
28
+ e.current && a.current == document.activeElement && A(a.current, Math.max(e.current.caret, 0));
29
29
  }, [t.value]);
30
30
  const _ = () => e.current ? ((t.value != e.current.value || m != e.current.maxIntegerDigits || n != e.current.fractionDigits) && (e.current.maxIntegerDigits = m, e.current.fractionDigits = n, e.current.apply(t.value, t.value.length)), e.current.cache.formattedValue = e.current.formattedValue, e.current.formattedValue) : "", S = (r) => {
31
31
  if (!e.current) return;
@@ -44,7 +44,7 @@ const $ = "currency__ca53f7fe", b = {
44
44
  /* @__PURE__ */ d(I, { ...F, children: [
45
45
  f ? /* @__PURE__ */ l(V, { children: f }) : null,
46
46
  /* @__PURE__ */ l(
47
- j,
47
+ b,
48
48
  {
49
49
  ...t,
50
50
  ref: (r) => {
@@ -62,7 +62,7 @@ const $ = "currency__ca53f7fe", b = {
62
62
  ),
63
63
  /* @__PURE__ */ d(D, { children: [
64
64
  /* @__PURE__ */ l(K, { onClick: w }),
65
- h ? /* @__PURE__ */ l("span", { className: b.currency, "data-test-id": u && `${u}__unit`, children: h }) : null,
65
+ h ? /* @__PURE__ */ l("span", { className: $.currency, "data-test-id": u && `${u}__unit`, children: h }) : null,
66
66
  s || null
67
67
  ] })
68
68
  ] }),
@@ -1,12 +1,29 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import n from "react";
3
- import { c as t } from "../../chunks/vendor-CehxOAkM.js";
4
- const y = "body__15d00f25", c = "bodyInner__edae3e0c", d = {
5
- body: y,
6
- bodyInner: c
7
- }, m = n.forwardRef(({ children: e, className: r, ...s }, a) => /* @__PURE__ */ o("div", { className: t(d.body, r), ...s, "data-tx": "1.3.0", ref: a, children: /* @__PURE__ */ o("div", { className: d.bodyInner, children: e }) }));
8
- m.displayName = "Body";
2
+ import d from "react";
3
+ import { c as s } from "../../chunks/vendor-Ba_pyhza.js";
4
+ import { EBodyVerticalMargin as r } from "./enums.js";
5
+ const l = "body__bd83b958", y = "bodyInner__5467a77e", b = "verticalMargin24__bd0f7c5c", m = "verticalMargin16__87b54f81", a = {
6
+ body: l,
7
+ bodyInner: y,
8
+ verticalMargin24: b,
9
+ verticalMargin16: m
10
+ }, M = {
11
+ [r.LARGE]: a.verticalMargin24,
12
+ [r.SMALL]: a.verticalMargin16
13
+ }, v = d.forwardRef(
14
+ ({ children: i, className: t, verticalMargin: n = r.LARGE, ...c }, e) => /* @__PURE__ */ o(
15
+ "div",
16
+ {
17
+ className: s(a.body, t, M[n]),
18
+ ...c,
19
+ "data-tx": "1.4.0",
20
+ ref: e,
21
+ children: /* @__PURE__ */ o("div", { className: a.bodyInner, children: i })
22
+ }
23
+ )
24
+ );
25
+ v.displayName = "Body";
9
26
  export {
10
- m as Body
27
+ v as Body
11
28
  };
12
29
  //# sourceMappingURL=Body.js.map
@@ -0,0 +1,5 @@
1
+ var L = /* @__PURE__ */ ((r) => (r.LARGE = "large", r.SMALL = "small", r))(L || {});
2
+ export {
3
+ L as EBodyVerticalMargin
4
+ };
5
+ //# sourceMappingURL=enums.js.map
@@ -1,41 +1,42 @@
1
1
  import { jsxs as m, jsx as y } from "react/jsx-runtime";
2
2
  import k from "react";
3
- import { c as g } from "../../chunks/vendor-CehxOAkM.js";
3
+ import { c as p } from "../../chunks/vendor-Ba_pyhza.js";
4
4
  import { LoaderSmall as R } from "../Loader/LoaderSmall/LoaderSmall.js";
5
- import { ELoaderSmallTheme as u } from "../Loader/LoaderSmall/enum.js";
5
+ import { ELoaderSmallTheme as g } from "../Loader/LoaderSmall/enum.js";
6
6
  import "../Loader/LoaderMiddle/LoaderMiddle.js";
7
7
  import { ButtonBase as C } from "./ButtonBase.js";
8
8
  import { EButtonTheme as o } from "./enums.js";
9
- import { EComponentSize as s } from "../../enums/EComponentSize.js";
10
- const A = "general__d777ad8a", B = "expanded__0f9ec2f8", p = {
9
+ import { EComponentSize as d } from "../../enums/EComponentSize.js";
10
+ const A = "general__352d5337", B = "expanded__50b96a56", u = {
11
11
  general: A,
12
12
  expanded: B
13
- }, D = "secondary__6cb9db5d", T = "expanded__0f9ec2f8", b = {
13
+ }, D = "secondary__961a3c28", T = "expanded__50b96a56", b = {
14
14
  secondary: D,
15
15
  expanded: T
16
- }, G = "secondaryLight__dd9ab1a9", I = "expanded__0f9ec2f8", f = {
16
+ }, G = "secondaryLight__20282cb9", I = "expanded__50b96a56", x = {
17
17
  secondaryLight: G,
18
18
  expanded: I
19
- }, v = "danger__cdafe116", O = "expanded__0f9ec2f8", h = {
19
+ }, v = "danger__ae19eb3a", O = "expanded__50b96a56", h = {
20
20
  danger: v,
21
21
  expanded: O
22
- }, Y = "link__11e542de", x = {
23
- link: Y
24
- }, w = "button__5a21ca4b", z = "sm__76554eb1", M = "icon__869334b6", $ = "md__6e4c7cb9", j = "lg__4e890226", H = "block__924cbdf4", K = "content__3400a5b6", U = "loading__e2ab8adf", q = "loader__4e118552", F = "hidden__ec160c4e", e = {
22
+ }, Y = "link__0827d549", $ = "expanded__50b96a56", f = {
23
+ link: Y,
24
+ expanded: $
25
+ }, w = "button__d729a0e8", z = "sm__2720d538", M = "icon__e1bdf7a9", j = "md__95523687", H = "lg__1677cae0", K = "block__dbaf919a", U = "content__6f62233b", q = "loading__c2f82391", F = "loader__d887fb1a", J = "hidden__2efe2c8c", e = {
25
26
  button: w,
26
27
  sm: z,
27
28
  icon: M,
28
- md: $,
29
- lg: j,
30
- block: H,
31
- content: K,
32
- loading: U,
33
- loader: q,
34
- hidden: F
35
- }, J = (t, n) => {
29
+ md: j,
30
+ lg: H,
31
+ block: K,
32
+ content: U,
33
+ loading: q,
34
+ loader: F,
35
+ hidden: J
36
+ }, P = (t, n) => {
36
37
  switch (t) {
37
38
  case o.GENERAL:
38
- return { [p.general]: !0, [p.expanded]: n };
39
+ return { [u.general]: !0, [u.expanded]: n };
39
40
  case o.SECONDARY:
40
41
  return {
41
42
  [b.secondary]: !0,
@@ -43,8 +44,8 @@ const A = "general__d777ad8a", B = "expanded__0f9ec2f8", p = {
43
44
  };
44
45
  case o.SECONDARY_LIGHT:
45
46
  return {
46
- [f.secondaryLight]: !0,
47
- [f.expanded]: n
47
+ [x.secondaryLight]: !0,
48
+ [x.expanded]: n
48
49
  };
49
50
  case o.DANGER:
50
51
  return {
@@ -53,29 +54,29 @@ const A = "general__d777ad8a", B = "expanded__0f9ec2f8", p = {
53
54
  };
54
55
  case o.LINK:
55
56
  return {
56
- [x.link]: !0,
57
- [x.expanded]: n
57
+ [f.link]: !0,
58
+ [f.expanded]: n
58
59
  };
59
60
  }
60
- }, P = (t) => {
61
+ }, Q = (t) => {
61
62
  switch (t) {
62
- case s.LG:
63
+ case d.LG:
63
64
  return e.lg;
64
- case s.MD:
65
+ case d.MD:
65
66
  return e.md;
66
- case s.SM:
67
+ case d.SM:
67
68
  return e.sm;
68
69
  }
69
- }, Q = (t, n) => {
70
- const d = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? u.BRAND : u.NEUTRAL;
71
- return /* @__PURE__ */ y(R, { theme: d, size: n });
72
- }, V = k.forwardRef((t, n) => {
73
- const { children: d, className: N, disabled: c, theme: r, size: l = s.MD, block: L, loading: a, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = g(
70
+ }, V = (t, n) => {
71
+ const a = [o.SECONDARY, o.SECONDARY_LIGHT].includes(t) ? g.BRAND : g.NEUTRAL;
72
+ return /* @__PURE__ */ y(R, { theme: a, size: n });
73
+ }, W = k.forwardRef((t, n) => {
74
+ const { children: a, className: N, disabled: c, theme: r, size: l = d.MD, block: L, loading: s, icon: i, ...S } = t, { "aria-expanded": _ } = t, E = p(
74
75
  e.button,
75
- J(r, !!_),
76
- P(l),
77
- { [e.block]: !!L, [e.loading]: !!a },
78
- { [e.icon]: !!i && !d },
76
+ P(r, !!_),
77
+ Q(l),
78
+ { [e.block]: !!L, [e.loading]: !!s },
79
+ { [e.icon]: !!i && !a },
79
80
  // Классы для иконок, начало.
80
81
  "hoverable",
81
82
  {
@@ -85,16 +86,16 @@ const A = "general__d777ad8a", B = "expanded__0f9ec2f8", p = {
85
86
  // Классы для иконок, конец.
86
87
  N
87
88
  );
88
- return /* @__PURE__ */ m(C, { className: E, tabIndex: a ? -1 : void 0, disabled: c, ...S, ref: n, children: [
89
+ return /* @__PURE__ */ m(C, { className: E, tabIndex: s ? -1 : void 0, disabled: c, ...S, ref: n, children: [
89
90
  /* @__PURE__ */ m("span", { className: e.content, children: [
90
91
  i,
91
- d
92
+ a
92
93
  ] }),
93
- /* @__PURE__ */ y("div", { className: g(e.loader, !a && e.hidden), children: Q(r, l) })
94
+ /* @__PURE__ */ y("div", { className: p(e.loader, !s && e.hidden), children: V(r, l) })
94
95
  ] });
95
96
  });
96
- V.displayName = "Button";
97
+ W.displayName = "Button";
97
98
  export {
98
- V as Button
99
+ W as Button
99
100
  };
100
101
  //# sourceMappingURL=Button.js.map
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import e from "react";
3
- const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.3.0", ref: o }));
3
+ const r = e.forwardRef((t, o) => /* @__PURE__ */ a("button", { type: "button", ...t, "data-tx": "1.4.0", ref: o }));
4
4
  r.displayName = "ButtonBase";
5
5
  export {
6
6
  r as ButtonBase
@@ -3,7 +3,7 @@ import "./ButtonBase.js";
3
3
  import "./ButtonIcon.js";
4
4
  import { jsx as o, jsxs as N, Fragment as q } from "react/jsx-runtime";
5
5
  import F, { useRef as _, useState as V, createElement as M } from "react";
6
- import { c as f, a as J } from "../../chunks/vendor-CehxOAkM.js";
6
+ import { c as f, a as J } from "../../chunks/vendor-Ba_pyhza.js";
7
7
  import { ButtonDropdownExtended as y } from "./ButtonDropdownExtended.js";
8
8
  import { EButtonDotsTheme as u, EButtonTheme as d } from "./enums.js";
9
9
  import { DotshorizontalStrokeSrvIcon32 as Q, DotshorizontalStrokeSrvIcon20 as B, CaretdownStrokeSrvIcon24 as X, CaretdownStrokeSrvIcon20 as Z, CaretdownStrokeSrvIcon16 as $ } from "@sberbusiness/icons-next";
@@ -18,7 +18,7 @@ import { Text as ce } from "../Typography/Text.js";
18
18
  import { ETextSize as se } from "../Typography/enums.js";
19
19
  import { DropdownList as L } from "../Dropdown/desktop/DropdownList.js";
20
20
  import { EComponentSize as i } from "../../enums/EComponentSize.js";
21
- const le = "buttonDropdown__67356234", de = "block__924cbdf4", ie = "buttonDropdownTarget__650bb0be", me = "caretIcon__199e39d8", ue = "active__0c75e4ae", De = "buttonDropdownMenuItem__61342fac", n = {
21
+ const le = "buttonDropdown__025b9ea2", de = "block__dbaf919a", ie = "buttonDropdownTarget__7f03c16a", me = "caretIcon__00b977ec", ue = "active__0410ebaf", De = "buttonDropdownMenuItem__31df2b01", n = {
22
22
  buttonDropdown: le,
23
23
  block: de,
24
24
  buttonDropdownTarget: ie,
@@ -3,8 +3,8 @@ import { useRef as f, useState as C, useCallback as N, useEffect as R } from "re
3
3
  import { Dropdown as _ } from "../Dropdown/Dropdown.js";
4
4
  import { isKey as w } from "../../utils/keyboard.js";
5
5
  import { DropdownList as g } from "../Dropdown/desktop/DropdownList.js";
6
- import { c as A } from "../../chunks/vendor-CehxOAkM.js";
7
- const K = "buttonDropdownExtended__df325646", S = "buttonDropdownExtendedBlock__fc379e05", E = {
6
+ import { c as A } from "../../chunks/vendor-Ba_pyhza.js";
7
+ const K = "buttonDropdownExtended__471c326e", S = "buttonDropdownExtendedBlock__f13c5176", E = {
8
8
  buttonDropdownExtended: K,
9
9
  buttonDropdownExtendedBlock: S
10
10
  }, D = (s) => {
@@ -1,25 +1,25 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import u from "react";
3
- import { c as m } from "../../chunks/vendor-CehxOAkM.js";
3
+ import { c as m } from "../../chunks/vendor-Ba_pyhza.js";
4
4
  import { EButtonIconShape as c } from "./enums.js";
5
- const b = "buttonIcon__8507b62f", I = "circle__b3ec683c", p = "squircle__bba8dd3d", o = {
6
- buttonIcon: b,
7
- circle: I,
5
+ const I = "buttonIcon__216c0eb5", b = "circle__0b9e21a1", p = "squircle__c4c2b714", o = {
6
+ buttonIcon: I,
7
+ circle: b,
8
8
  squircle: p
9
- }, f = {
9
+ }, _ = {
10
10
  [c.SQUIRCLE]: o.squircle,
11
11
  [c.CIRCLE]: o.circle
12
- }, _ = u.forwardRef(
12
+ }, f = u.forwardRef(
13
13
  ({ className: e, disabled: t, shape: n = c.SQUIRCLE, active: s, ...r }, a) => {
14
- const l = m(o.buttonIcon, f[n], "hoverable", e, {
14
+ const l = m(o.buttonIcon, _[n], "hoverable", e, {
15
15
  active: !!s,
16
16
  disabled: !!t
17
17
  });
18
18
  return /* @__PURE__ */ i("button", { className: l, disabled: t, ...r, ref: a });
19
19
  }
20
20
  );
21
- _.displayName = "ButtonIcon";
21
+ f.displayName = "ButtonIcon";
22
22
  export {
23
- _ as ButtonIcon
23
+ f as ButtonIcon
24
24
  };
25
25
  //# sourceMappingURL=ButtonIcon.js.map
@@ -1,5 +1,5 @@
1
- var b = Object.defineProperty;
2
- var y = (c, i, e) => i in c ? b(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
1
+ var N = Object.defineProperty;
2
+ var y = (c, i, e) => i in c ? N(c, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[i] = e;
3
3
  var o = (c, i, e) => y(c, typeof i != "symbol" ? i + "" : i, e);
4
4
  import { jsx as R } from "react/jsx-runtime";
5
5
  import u from "react";
@@ -9,9 +9,9 @@ import { ECardRoundingSize as M, ECardTheme as w } from "./enums.js";
9
9
  import { EFocusSource as r } from "../../enums/EFocusSource.js";
10
10
  import { mapCardRoundingSizeToCssClass as x, mapCardThemeToCssClass as K } from "./utils.js";
11
11
  import { isKey as f } from "../../utils/keyboard.js";
12
- import { c as k } from "../../chunks/vendor-CehxOAkM.js";
13
- import { c as B } from "../../chunks/Card.module-NgdHcwYS.js";
14
- const O = "action__9c6aae7a", F = "selected__96fab4de", V = "focusVisible__f0bcc154", n = {
12
+ import { c as k } from "../../chunks/vendor-Ba_pyhza.js";
13
+ import { c as B } from "../../chunks/Card.module-kTbr6OQy.js";
14
+ const O = "action__a2b4210b", F = "selected__d176b229", V = "focusVisible__0fb99f00", a = {
15
15
  action: O,
16
16
  selected: F,
17
17
  focusVisible: V
@@ -38,16 +38,16 @@ class l extends u.Component {
38
38
  s == null || s(e), f(e.keyCode, "SPACE") ? (e.preventDefault(), this.handleToggle()) : f(e.keyCode, "ENTER") && this.handleToggle();
39
39
  });
40
40
  o(this, "handleFocus", (e) => {
41
- const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: a } = this.ref;
42
- s == null || s(e), !t && a === e.target && this.setState({ focusSource: r.KEYBOARD });
41
+ const { onFocus: s } = this.props, { focusSource: t } = this.state, { current: n } = this.ref;
42
+ s == null || s(e), !t && n === e.target && this.setState({ focusSource: r.KEYBOARD });
43
43
  });
44
44
  o(this, "handleBlur", (e) => {
45
45
  const { onBlur: s } = this.props, { current: t } = this.ref;
46
46
  s == null || s(e), t !== document.activeElement && t === e.target && this.setState({ focusSource: r.NONE });
47
47
  });
48
48
  o(this, "handleToggle", () => {
49
- const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: a, isSelected: d } = this.state;
50
- a ? e == null || e(!s) : this.setState(
49
+ const { toggle: e, selected: s, onToggle: t } = this.props, { isControlled: n, isSelected: d } = this.state;
50
+ n ? e == null || e(!s) : this.setState(
51
51
  (h) => ({ isSelected: !h.isSelected }),
52
52
  () => t == null ? void 0 : t(!d)
53
53
  );
@@ -62,7 +62,7 @@ class l extends u.Component {
62
62
  children: e,
63
63
  className: s,
64
64
  onClick: t,
65
- onMouseDown: a,
65
+ onMouseDown: n,
66
66
  onKeyDown: d,
67
67
  onFocus: h,
68
68
  onBlur: z,
@@ -72,21 +72,21 @@ class l extends u.Component {
72
72
  toggle: U,
73
73
  theme: S = w.GENERAL,
74
74
  ...C
75
- } = this.props, { isControlled: E, isSelected: g, focusSource: D } = this.state, N = k(
75
+ } = this.props, { isControlled: E, isSelected: b, focusSource: g } = this.state, D = k(
76
76
  B.card,
77
- n.action,
77
+ a.action,
78
78
  K[S],
79
79
  x[p],
80
80
  {
81
- [n.focusVisible]: D === r.KEYBOARD,
82
- [n.selected]: E ? !!m : g
81
+ [a.focusVisible]: g === r.KEYBOARD,
82
+ [a.selected]: E ? !!m : b
83
83
  },
84
84
  s
85
85
  );
86
86
  return /* @__PURE__ */ R(
87
87
  "div",
88
88
  {
89
- className: N,
89
+ className: D,
90
90
  tabIndex: 0,
91
91
  onClick: this.handleClick,
92
92
  onMouseDown: this.handleMouseDown,
@@ -96,7 +96,7 @@ class l extends u.Component {
96
96
  role: "button",
97
97
  ...C,
98
98
  ref: this.ref,
99
- "data-tx": "1.3.0",
99
+ "data-tx": "1.4.0",
100
100
  children: e
101
101
  }
102
102
  );
@@ -2,8 +2,8 @@ import { jsx as i } from "react/jsx-runtime";
2
2
  import { CardContent as s } from "./components/CardContent/CardContent.js";
3
3
  import { CardMedia as e } from "./components/CardMedia.js";
4
4
  import { mapCardRoundingSizeToCssClass as C, mapCardThemeToCssClass as p } from "./utils.js";
5
- import { c } from "../../chunks/vendor-CehxOAkM.js";
6
- import { c as n } from "../../chunks/Card.module-NgdHcwYS.js";
5
+ import { c } from "../../chunks/vendor-Ba_pyhza.js";
6
+ import { c as n } from "../../chunks/Card.module-kTbr6OQy.js";
7
7
  import { ECardRoundingSize as f, ECardTheme as l } from "./enums.js";
8
8
  const a = ({
9
9
  children: r,
@@ -21,7 +21,7 @@ const a = ({
21
21
  o
22
22
  ),
23
23
  ...d,
24
- "data-tx": "1.3.0",
24
+ "data-tx": "1.4.0",
25
25
  children: r
26
26
  }
27
27
  );
@@ -3,8 +3,8 @@ import { CardContentBody as C } from "./components/CardContentBody.js";
3
3
  import { CardContentHeader as i } from "./components/CardContentHeader.js";
4
4
  import { CardContentFooter as s } from "./components/CardContentFooter.js";
5
5
  import { ECardContentPaddingSize as t } from "../../enums.js";
6
- import { c as p } from "../../../../chunks/vendor-CehxOAkM.js";
7
- import { c as r } from "../../../../chunks/Card.module-NgdHcwYS.js";
6
+ import { c as p } from "../../../../chunks/vendor-Ba_pyhza.js";
7
+ import { c as r } from "../../../../chunks/Card.module-kTbr6OQy.js";
8
8
  const c = {
9
9
  [t.MD]: r.paddingMD,
10
10
  [t.SM]: r.paddingSM
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as d } from "../../../../../chunks/vendor-CehxOAkM.js";
3
- import { c as s } from "../../../../../chunks/Card.module-NgdHcwYS.js";
2
+ import { c as d } from "../../../../../chunks/vendor-Ba_pyhza.js";
3
+ import { c as s } from "../../../../../chunks/Card.module-kTbr6OQy.js";
4
4
  const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: d(s.cardContentBody, t), ...r, children: o });
5
5
  m.displayName = "CardContentBody";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { c as e } from "../../../../../chunks/vendor-CehxOAkM.js";
3
- import { c as s } from "../../../../../chunks/Card.module-NgdHcwYS.js";
2
+ import { c as e } from "../../../../../chunks/vendor-Ba_pyhza.js";
3
+ import { c as s } from "../../../../../chunks/Card.module-kTbr6OQy.js";
4
4
  const m = ({ children: o, className: t, ...r }) => /* @__PURE__ */ a("div", { className: e(s.cardContentFooter, t), ...r, children: o });
5
5
  m.displayName = "CardContentFooter";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { c as o } from "../../../../../chunks/vendor-CehxOAkM.js";
3
- import { c as d } from "../../../../../chunks/Card.module-NgdHcwYS.js";
2
+ import { c as o } from "../../../../../chunks/vendor-Ba_pyhza.js";
3
+ import { c as d } from "../../../../../chunks/Card.module-kTbr6OQy.js";
4
4
  const s = ({ children: r, className: a, ...e }) => /* @__PURE__ */ t("div", { className: o(d.cardContentHeader, a), ...e, children: r });
5
5
  s.displayName = "CardContentHeader";
6
6
  export {