@sberbusiness/triplex-next 1.1.1 → 1.3.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 (399) hide show
  1. package/README.md +8 -8
  2. package/chunks/{AlertProcessSpoiler-Caa0745n.js → AlertProcessSpoiler-B91XiZ7K.js} +9 -9
  3. package/chunks/Card.module-NgdHcwYS.js +17 -0
  4. package/chunks/Chip-XyednI9u.js +87 -0
  5. package/chunks/DropdownListItem-g0mYNHIW.js +57 -0
  6. package/chunks/DropdownMobile.module-BBY44sVr.js +21 -0
  7. package/chunks/Footer.module-4a0n1yRR.js +11 -0
  8. package/chunks/{FormFieldInput-rV5ZVe9k.js → FormFieldInput-qaJqBTBV.js} +19 -19
  9. package/chunks/HeaderLayoutSidebar.module-BP0DyJae.js +9 -0
  10. package/chunks/HeaderTabs.module-CXcyvbb5.js +9 -0
  11. package/chunks/HeaderTitle.module-B-6xJFnf.js +9 -0
  12. package/chunks/{ListItemControlsButton-Ch-5PQYH.js → ListItemControlsButton-Ms4q9wDe.js} +10 -10
  13. package/chunks/ListItemTail.module-D5VudFCz.js +12 -0
  14. package/chunks/ListMasterFooter.module-DzXu5TSC.js +10 -0
  15. package/chunks/Notification.module-MX1NZXsu.js +21 -0
  16. package/chunks/Overlay.module-B1IlIRoo.js +18 -0
  17. package/chunks/Page.module-Cwb_zvqj.js +12 -0
  18. package/chunks/RightBorderArrow-D6ZllSTT.js +146 -0
  19. package/chunks/SuggestFieldMobileDropdownHint-Cc_fZLBH.js +15 -0
  20. package/chunks/TableFooter.module-D9_esv5A.js +13 -0
  21. package/chunks/TabsExtended.module--2PQhvJQ.js +16 -0
  22. package/chunks/TabsLine.module-CH_sqFyE.js +23 -0
  23. package/chunks/TooltipDesktop.module-D3cbaDX1.js +19 -0
  24. package/chunks/{UploadZoneInput-CXjerIVV.js → UploadZoneInput-Bkv3b0F5.js} +6 -6
  25. package/chunks/utils-BZFu5eVD.js +26 -0
  26. package/chunks/utils-CVSz7tV_.js +20 -0
  27. package/chunks/utils-D8e1oAR3.js +72 -0
  28. package/chunks/utils-DWPj89gs.js +36 -0
  29. package/chunks/utils-dyCpsmr1.js +48 -0
  30. package/chunks/vendor-CehxOAkM.js +11907 -0
  31. package/components/AbstractTree/AbstractTreeNode.js +50 -0
  32. package/components/AccordionBase/protected/AccordionBase.js +83 -0
  33. package/components/AccordionBase/types.js +2 -0
  34. package/components/Alert/AlertContext/AlertContext.js +9 -9
  35. package/components/Alert/AlertProcess/AlertProcess.js +3 -3
  36. package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
  37. package/components/Amount/Amount.js +37 -0
  38. package/components/Amount/index.js +5 -0
  39. package/components/AmountField/AmountBaseInputCore.js +46 -0
  40. package/components/AmountField/AmountBaseInputFormatter.js +57 -0
  41. package/components/AmountField/AmountBaseInputParser.js +110 -0
  42. package/components/AmountField/AmountField.js +76 -0
  43. package/components/AmountField/index.js +5 -0
  44. package/components/AmountField/utils.js +38 -0
  45. package/components/Body/Body.js +6 -6
  46. package/components/Button/Button.js +68 -67
  47. package/components/Button/ButtonBase.js +1 -1
  48. package/components/Button/ButtonDropdown.js +113 -127
  49. package/components/Button/ButtonDropdownExtended.js +9 -9
  50. package/components/Button/ButtonIcon.js +16 -20
  51. package/components/Button/enums.js +2 -3
  52. package/components/Button/index.js +9 -10
  53. package/components/Card/CardAction.js +16 -16
  54. package/components/Card/CardStatic.js +3 -3
  55. package/components/Card/components/CardContent/CardContent.js +2 -2
  56. package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
  57. package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
  58. package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
  59. package/components/Card/components/CardMedia.js +2 -2
  60. package/components/Card/utils.js +1 -1
  61. package/components/CarouselExtended/CarouselExtended.js +48 -0
  62. package/components/Checkbox/Checkbox.js +46 -30
  63. package/components/Checkbox/CheckboxXGroup.js +15 -15
  64. package/components/Checkbox/CheckboxYGroup.js +2 -2
  65. package/components/Checkbox/index.js +4 -6
  66. package/components/CheckboxTree/CheckboxTree.js +39 -0
  67. package/components/CheckboxTree/types.js +2 -0
  68. package/components/CheckboxTree/utils.js +22 -0
  69. package/components/CheckboxTreeExtended/CheckboxTreeExtended.js +13 -0
  70. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedArrow.js +52 -0
  71. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedCheckbox.js +39 -0
  72. package/components/CheckboxTreeExtended/components/CheckboxTreeExtendedNode.js +53 -0
  73. package/components/CheckboxTreeExtended/isStaticCheckboxTreeExtended.js +5 -0
  74. package/components/Chip/Chip.js +9 -0
  75. package/components/Chip/ChipClearButton.js +28 -0
  76. package/components/Chip/ChipDropdownArrow.js +18 -0
  77. package/components/Chip/ChipIcon.js +9 -0
  78. package/components/Chip/ChipOptions.js +27 -0
  79. package/components/Chip/ChipSelect.js +55 -0
  80. package/components/Chip/index.js +15 -0
  81. package/components/ChipGroup/ChipGroup.js +32 -0
  82. package/components/ChipGroup/index.js +5 -0
  83. package/components/Col/Col.js +141 -141
  84. package/components/CollapsableTree/CollapsableTree.js +10 -0
  85. package/components/CollapsableTree/components/CollapsableTreeNode.js +79 -0
  86. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  87. package/components/DesignTokens/DesignTokensComponents.js +95 -68
  88. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +98 -76
  89. package/components/DesignTokens/components/Card.js +23 -20
  90. package/components/DesignTokens/components/Checkbox.js +32 -14
  91. package/components/DesignTokens/components/Chip.js +59 -0
  92. package/components/DesignTokens/components/Divider.js +9 -0
  93. package/components/DesignTokens/components/Dropdown.js +1 -1
  94. package/components/DesignTokens/components/DropdownList.js +2 -2
  95. package/components/DesignTokens/components/DropdownMobile.js +3 -3
  96. package/components/DesignTokens/components/FooterPage.js +3 -3
  97. package/components/DesignTokens/components/HeaderPage.js +4 -4
  98. package/components/DesignTokens/components/ListItemControlsButton.js +20 -5
  99. package/components/DesignTokens/components/LoaderScreen.js +17 -0
  100. package/components/DesignTokens/components/Marker.js +20 -0
  101. package/components/DesignTokens/components/MarkerStatus.js +9 -0
  102. package/components/DesignTokens/components/Notification.js +15 -0
  103. package/components/DesignTokens/components/Radio.js +22 -13
  104. package/components/DesignTokens/components/Stepper.js +71 -0
  105. package/components/DesignTokens/components/TableBasic.js +41 -0
  106. package/components/DesignTokens/components/Tabs.js +45 -15
  107. package/components/DesignTokens/components/TabsLine.js +32 -0
  108. package/components/DesignTokens/components/Tag.js +9 -0
  109. package/components/DesignTokens/components/index.js +110 -83
  110. package/components/Divider/Divider.js +34 -0
  111. package/components/Divider/index.js +5 -0
  112. package/components/Dropdown/desktop/DropdownDesktop.js +52 -51
  113. package/components/Dropdown/desktop/DropdownList.js +66 -53
  114. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  115. package/components/Dropdown/desktop/index.js +9 -0
  116. package/components/Dropdown/index.js +33 -29
  117. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  118. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  119. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  120. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  121. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  122. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  123. package/components/Dropdown/mobile/DropdownMobileInput.js +9 -8
  124. package/components/Dropdown/mobile/DropdownMobileList.js +26 -17
  125. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  126. package/components/Dropdown/mobile/DropdownMobileLoader.js +20 -0
  127. package/components/Dropdown/mobile/index.js +5 -3
  128. package/components/Ellipsis/Ellipsis.js +27 -0
  129. package/components/Ellipsis/index.js +5 -0
  130. package/components/ExpandAnimation/ExpandAnimation.js +72 -0
  131. package/components/Footer/Footer.js +3 -3
  132. package/components/Footer/components/FooterDescription.js +2 -2
  133. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  134. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  135. package/components/FormField/FormField.js +36 -35
  136. package/components/FormField/FormFieldContext.js +8 -7
  137. package/components/FormField/components/FormFieldClear.js +24 -20
  138. package/components/FormField/components/FormFieldCounter.js +5 -5
  139. package/components/FormField/components/FormFieldDescription.js +9 -9
  140. package/components/FormField/components/FormFieldInput.js +2 -2
  141. package/components/FormField/components/FormFieldLabel.js +10 -10
  142. package/components/FormField/components/FormFieldMaskedInput.js +12 -12
  143. package/components/FormField/components/FormFieldPostfix.js +5 -5
  144. package/components/FormField/components/FormFieldPrefix.js +2 -2
  145. package/components/FormField/components/FormFieldTarget.js +17 -17
  146. package/components/FormField/components/FormFieldTextarea.js +6 -6
  147. package/components/FormField/index.js +1 -1
  148. package/components/Header/Header.js +12 -12
  149. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  150. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  151. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  152. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +5 -5
  153. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  154. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  155. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  156. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  157. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
  158. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
  159. package/components/HelpBox/HelpBox.js +94 -0
  160. package/components/Island/Island.js +25 -66
  161. package/components/Island/components/IslandBody.js +2 -2
  162. package/components/Island/components/IslandFooter.js +2 -2
  163. package/components/Island/components/IslandHeader.js +3 -3
  164. package/components/Island/enums.js +1 -3
  165. package/components/Island/index.js +4 -6
  166. package/components/Island/types.js +2 -0
  167. package/components/Island/utils.js +8 -0
  168. package/components/Link/Link.js +18 -18
  169. package/components/List/List.js +12 -20
  170. package/components/List/ListSortable.js +1 -1
  171. package/components/List/components/ListEmptyState.js +2 -2
  172. package/components/List/components/ListItem.js +1 -10
  173. package/components/List/components/ListItemContent.js +3 -3
  174. package/components/List/components/ListItemControls.js +8 -8
  175. package/components/List/components/ListItemControlsButton.js +2 -2
  176. package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
  177. package/components/List/components/ListItemLoading.js +9 -7
  178. package/components/List/components/ListItemSelectable.js +6 -6
  179. package/components/List/components/ListItemTable.js +9 -9
  180. package/components/List/components/ListItemTailLeft.js +2 -2
  181. package/components/List/components/ListItemTailRight.js +2 -2
  182. package/components/List/components/ListSortableItem.js +8 -8
  183. package/components/List/components/ListSortableItemControls.js +2 -2
  184. package/components/List/components/ListSortableItemTarget.js +6 -6
  185. package/components/List/index.js +1 -1
  186. package/components/ListMaster/ListMaster.js +1 -1
  187. package/components/ListMaster/components/ListMasterBody.js +1 -1
  188. package/components/ListMaster/components/ListMasterChipGroup.js +8 -8
  189. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  190. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  191. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  192. package/components/ListMaster/components/ListMasterHeader.js +7 -7
  193. package/components/ListMaster/components/SelectionControls.js +7 -7
  194. package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
  195. package/components/Loader/LoaderSmall/LoaderSmall.js +26 -37
  196. package/components/LoaderScreen/LoaderScreen.js +29 -0
  197. package/components/LoaderScreen/index.js +5 -0
  198. package/components/Marker/Marker.js +20 -0
  199. package/components/Marker/enums.js +5 -0
  200. package/components/Marker/index.js +7 -0
  201. package/components/Marker/utils.js +6 -0
  202. package/components/MarkerStatus/MarkerStatus.js +40 -0
  203. package/components/MarkerStatus/index.js +5 -0
  204. package/components/Notification/Notification.js +40 -0
  205. package/components/Notification/NotificationGrouped.js +12 -0
  206. package/components/Notification/components/NotificationBody.js +19 -0
  207. package/components/Notification/components/NotificationBodyContent.js +8 -0
  208. package/components/Notification/components/NotificationBodyList.js +11 -0
  209. package/components/Notification/components/NotificationClose.js +14 -0
  210. package/components/Notification/components/NotificationFooter.js +8 -0
  211. package/components/Notification/components/NotificationGroupedFooter.js +11 -0
  212. package/components/Notification/components/NotificationHeader.js +8 -0
  213. package/components/Notification/components/NotificationIcon.js +8 -0
  214. package/components/Notification/components/NotificationTime.js +8 -0
  215. package/components/NumberField/NumberField.js +8 -0
  216. package/components/NumberField/NumberFieldInput.js +38 -0
  217. package/components/NumberField/index.js +5 -0
  218. package/components/NumberField/types.js +2 -0
  219. package/components/OrderedList/OrderedList.js +25 -0
  220. package/components/OrderedList/OrderedListItem.js +27 -0
  221. package/components/OrderedList/index.js +7 -0
  222. package/components/OrderedList/types.js +2 -0
  223. package/components/Overlay/Overlay.js +2 -2
  224. package/components/Overlay/OverlayMask.js +2 -2
  225. package/components/Overlay/OverlayPanel.js +2 -2
  226. package/components/Page/Page.js +2 -2
  227. package/components/Page/components/BodyPage.js +2 -2
  228. package/components/Page/components/FooterPage.js +28 -31
  229. package/components/Page/components/HeaderPage.js +26 -29
  230. package/components/Page/components/useStickyCornerRadius.js +34 -0
  231. package/components/Pagination/components/PaginationExtended.js +3 -3
  232. package/components/Pagination/components/PaginationNavigationButton.js +1 -1
  233. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  234. package/components/Pagination/components/PaginationPageButton.js +2 -2
  235. package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
  236. package/components/Pagination/components/PaginationSelect.js +9 -9
  237. package/components/Pagination/utils/paginationUtils.js +1 -1
  238. package/components/Radio/Radio.js +30 -22
  239. package/components/Radio/RadioXGroup.js +13 -13
  240. package/components/Radio/RadioYGroup.js +7 -7
  241. package/components/Radio/index.js +4 -6
  242. package/components/Row/Row.js +10 -10
  243. package/components/SegmentedControl/SegmentedControl.js +39 -42
  244. package/components/SegmentedControl/SegmentedControlSegment.js +11 -11
  245. package/components/SelectExtendedField/SelectExtendedField.js +2 -2
  246. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
  247. package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
  248. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +37 -36
  249. package/components/SelectField/SelectField.js +62 -0
  250. package/components/SelectField/index.js +5 -0
  251. package/components/Skeleton/Skeleton.js +8 -8
  252. package/components/Stepper/RightBorderArrow.js +7 -0
  253. package/components/Stepper/Stepper.js +103 -0
  254. package/components/Stepper/StepperExtended.js +26 -0
  255. package/components/Stepper/StepperExtendedContext.js +12 -0
  256. package/components/Stepper/StepperStep.js +88 -0
  257. package/components/Stepper/StepperStepIcon.js +23 -0
  258. package/components/Stepper/StepperWrapper.js +12 -0
  259. package/components/Stepper/enums.js +7 -0
  260. package/components/Stepper/index.js +11 -0
  261. package/components/SuggestField/SuggestField.js +64 -0
  262. package/components/SuggestField/SuggestFieldTarget.js +67 -0
  263. package/components/SuggestField/SuggestFieldTargetPostfix.js +28 -0
  264. package/components/SuggestField/desktop/SuggestFieldDesktop.js +196 -0
  265. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +76 -0
  266. package/components/SuggestField/desktop/index.js +7 -0
  267. package/components/SuggestField/desktop/types.js +2 -0
  268. package/components/SuggestField/index.js +17 -0
  269. package/components/SuggestField/mobile/SuggestFieldMobile.js +79 -0
  270. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +94 -0
  271. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +10 -0
  272. package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +30 -0
  273. package/components/SuggestField/mobile/index.js +11 -0
  274. package/components/SuggestField/mobile/types.js +2 -0
  275. package/components/SuggestField/types.js +2 -0
  276. package/components/SwipeableArea/SwipeableArea.js +13 -13
  277. package/components/Table/FilterPanel.js +18 -0
  278. package/components/Table/MasterTable.js +49 -0
  279. package/components/Table/MasterTableContext.js +11 -0
  280. package/components/Table/NoColumns.js +17 -0
  281. package/components/Table/PaginationPanel.js +18 -0
  282. package/components/Table/TableBasic/TableBasic.js +51 -0
  283. package/components/Table/TableBasic/components/TableBasicBody.js +18 -0
  284. package/components/Table/TableBasic/components/TableBasicHeader.js +83 -0
  285. package/components/Table/TableBasic/components/TableBasicRow.js +53 -0
  286. package/components/Table/TableBasic/enums.js +8 -0
  287. package/components/Table/TableBasic/types.js +2 -0
  288. package/components/Table/TableBasicSettings/TableBasicSettings.js +58 -0
  289. package/components/Table/TableBasicSettings/components/ColumnSettings.js +20 -0
  290. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableList.js +24 -0
  291. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItem.js +25 -0
  292. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +29 -0
  293. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticList.js +17 -0
  294. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +14 -0
  295. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +13 -0
  296. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +13 -0
  297. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +26 -0
  298. package/components/Table/TableFooter/TableFooter.js +14 -0
  299. package/components/Table/TableFooter/components/TableFooterSummary.js +19 -0
  300. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +18 -0
  301. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +31 -0
  302. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +8 -0
  303. package/components/Table/TabsLinePanel.js +12 -0
  304. package/components/Table/TabsLinePanelLinks.js +14 -0
  305. package/components/Table/index.js +26 -0
  306. package/components/Table/utils.js +8 -0
  307. package/components/Tabs/Tabs.js +75 -0
  308. package/components/Tabs/index.js +5 -0
  309. package/components/TabsExtended/TabsExtended.js +37 -21
  310. package/components/TabsExtended/TabsExtendedContext.js +6 -4
  311. package/components/TabsExtended/components/TabsExtendedContent.js +19 -15
  312. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  313. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  314. package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -15
  315. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
  316. package/components/TabsExtended/components/index.js +15 -0
  317. package/components/TabsExtended/enums.js +2 -2
  318. package/components/TabsExtended/index.js +15 -3
  319. package/components/TabsExtended/utils.js +9 -0
  320. package/components/TabsLine/TabsLine.js +48 -0
  321. package/components/TabsLine/components/TabsLineDesktop.js +81 -0
  322. package/components/TabsLine/components/TabsLineDropdown.js +151 -0
  323. package/components/TabsLine/components/TabsLineItem.js +26 -0
  324. package/components/TabsLine/components/TabsLineMobile.js +21 -0
  325. package/components/TabsLine/components/index.js +11 -0
  326. package/components/TabsLine/index.js +13 -0
  327. package/components/TabsLine/types.js +2 -0
  328. package/components/Tag/Tag.js +70 -0
  329. package/components/Tag/index.js +5 -0
  330. package/components/Tag/types.js +2 -0
  331. package/components/TagGroup/TagGroup.js +25 -0
  332. package/components/TagGroup/index.js +5 -0
  333. package/components/TagGroup/types.js +2 -0
  334. package/components/TextField/TextField.js +1 -1
  335. package/components/ThemeProvider/ThemeProvider.js +1 -1
  336. package/components/ThemeProvider/components/ThemeProviderView.js +4 -4
  337. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  338. package/components/Tooltip/components/common/TooltipLink.js +11 -11
  339. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  340. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  341. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  342. package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
  343. package/components/TreeView/TreeView.js +88 -0
  344. package/components/TreeView/TreeViewAbstractNode.js +38 -0
  345. package/components/TreeView/TreeViewAbstractNodeUtils.js +112 -0
  346. package/components/TreeView/TreeViewContext.js +30 -0
  347. package/components/TreeView/components/TreeViewGroup.js +6 -0
  348. package/components/TreeView/components/TreeViewNode.js +81 -0
  349. package/components/Typography/Caption.js +12 -12
  350. package/components/Typography/Text.js +19 -19
  351. package/components/Typography/Title.js +11 -11
  352. package/components/Typography/utils.js +1 -1
  353. package/components/UnorderedList/UnorderedList.js +25 -0
  354. package/components/UnorderedList/UnorderedListItem.js +27 -0
  355. package/components/UnorderedList/index.js +7 -0
  356. package/components/UnorderedList/types.js +2 -0
  357. package/components/UploadZone/UploadZone.js +3 -3
  358. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  359. package/components/index.js +379 -278
  360. package/consts/AmountConst.js +10 -0
  361. package/consts/DataTestId.js +19 -0
  362. package/enums/EComponentSize.js +5 -0
  363. package/enums/index.js +7 -0
  364. package/helpers/less/z-indexes.less +3 -3
  365. package/index.d.ts +1235 -148
  366. package/index.js +368 -265
  367. package/package.json +85 -6
  368. package/styles/triplex-next.css +441 -354
  369. package/types/CoreTypes.js +2 -0
  370. package/utils/amountUtils.js +34 -0
  371. package/utils/classNameMaps.js +10 -0
  372. package/utils/html/AriaAttributes.js +11 -0
  373. package/utils/html/DataAttributes.js +11 -0
  374. package/utils/inputUtils.js +11 -0
  375. package/utils/isNullOrUndefined.js +5 -0
  376. package/utils/scroll.js +13 -0
  377. package/utils/stringUtils.js +13 -0
  378. package/chunks/Card.module-BRANBAxP.js +0 -17
  379. package/chunks/DropdownListItem-DIIAnvmw.js +0 -56
  380. package/chunks/DropdownMobile.module-BUeZuAYr.js +0 -19
  381. package/chunks/Footer.module-BFo05t5_.js +0 -11
  382. package/chunks/HeaderLayoutSidebar.module-CEqBuRNu.js +0 -9
  383. package/chunks/HeaderTabs.module-BEaVu2Hx.js +0 -9
  384. package/chunks/HeaderTitle.module-Db-1fcNm.js +0 -9
  385. package/chunks/ListItemTail.module-C5-4SAqt.js +0 -12
  386. package/chunks/ListMasterFooter.module-Dph-_lLg.js +0 -10
  387. package/chunks/Overlay.module-D6LEz1jT.js +0 -18
  388. package/chunks/Page.module-Ct9ky9ko.js +0 -16
  389. package/chunks/TabsExtended.module-CmU9j8zG.js +0 -13
  390. package/chunks/TabsExtendedUtils-CkAvE1fA.js +0 -23
  391. package/chunks/TooltipDesktop.module-KrPZMfQD.js +0 -19
  392. package/chunks/utils-bbbspEnw.js +0 -36
  393. package/chunks/vendor-D-uL_icH.js +0 -5895
  394. package/components/Checkbox/enum.js +0 -5
  395. package/components/DesignTokens/components/LoaderWidget.js +0 -17
  396. package/components/LoaderWidget/LoaderWidget.js +0 -28
  397. package/components/LoaderWidget/index.js +0 -5
  398. package/components/Radio/enum.js +0 -5
  399. package/components/TabsExtended/TabsExtendedUtils.js +0 -8
@@ -0,0 +1,7 @@
1
+ import { OrderedList as t } from "./OrderedList.js";
2
+ import { OrderedListItem as o } from "./OrderedListItem.js";
3
+ export {
4
+ t as OrderedList,
5
+ o as OrderedListItem
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=types.js.map
@@ -1,10 +1,10 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import { useState as h } from "react";
3
- import { c as u } from "../../chunks/vendor-D-uL_icH.js";
3
+ import { c as u } from "../../chunks/vendor-CehxOAkM.js";
4
4
  import { OverlayBase as k } from "./OverlayBase.js";
5
5
  import { OverlayMask as B } from "./OverlayMask.js";
6
6
  import { OverlayPanel as M } from "./OverlayPanel.js";
7
- import { s as r } from "../../chunks/Overlay.module-D6LEz1jT.js";
7
+ import { s as r } from "../../chunks/Overlay.module-B1IlIRoo.js";
8
8
  const s = ({
9
9
  children: o,
10
10
  className: i,
@@ -1,7 +1,7 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import l from "react";
3
- import { c as t } from "../../chunks/vendor-D-uL_icH.js";
4
- import { s as a } from "../../chunks/Overlay.module-D6LEz1jT.js";
3
+ import { c as t } from "../../chunks/vendor-CehxOAkM.js";
4
+ import { s as a } from "../../chunks/Overlay.module-B1IlIRoo.js";
5
5
  const f = l.forwardRef(({ className: r, opened: s, ...e }, o) => /* @__PURE__ */ m(
6
6
  "div",
7
7
  {
@@ -1,8 +1,8 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import n from "react";
3
- import { c as d } from "../../chunks/vendor-D-uL_icH.js";
3
+ import { c as d } from "../../chunks/vendor-CehxOAkM.js";
4
4
  import { EOverlayDirection as r } from "./OverlayBase.js";
5
- import { s as e } from "../../chunks/Overlay.module-D6LEz1jT.js";
5
+ import { s as e } from "../../chunks/Overlay.module-B1IlIRoo.js";
6
6
  const P = n.forwardRef(
7
7
  ({
8
8
  children: s,
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import m from "react";
3
- import { c as s } from "../../chunks/vendor-D-uL_icH.js";
3
+ import { c as s } from "../../chunks/vendor-CehxOAkM.js";
4
4
  import { BodyPage as i } from "./components/BodyPage.js";
5
5
  import { HeaderPage as f } from "./components/HeaderPage.js";
6
6
  import { FooterPage as p } from "./components/FooterPage.js";
7
- import { s as d } from "../../chunks/Page.module-Ct9ky9ko.js";
7
+ import { s as d } from "../../chunks/Page.module-Cwb_zvqj.js";
8
8
  import "./components/enums.js";
9
9
  const g = Object.assign(
10
10
  m.forwardRef(function({ children: o, className: r, ...e }, a) {
@@ -1,8 +1,8 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
2
  import s from "react";
3
3
  import { Body as e } from "../../Body/Body.js";
4
- import { c as t } from "../../../chunks/vendor-D-uL_icH.js";
5
- import { s as f } from "../../../chunks/Page.module-Ct9ky9ko.js";
4
+ import { c as t } from "../../../chunks/vendor-CehxOAkM.js";
5
+ import { s as f } from "../../../chunks/Page.module-Cwb_zvqj.js";
6
6
  const d = s.forwardRef(({ className: o, ...r }, a) => /* @__PURE__ */ m(e, { className: t(f.bodyPage, o), ...r, ref: a }));
7
7
  d.displayName = "BodyPage";
8
8
  export {
@@ -1,39 +1,36 @@
1
- import { jsxs as k, jsx as s, Fragment as N } from "react/jsx-runtime";
2
- import S, { useState as p, useRef as P, useEffect as v } from "react";
3
- import { Footer as n } from "../../Footer/Footer.js";
4
- import { EFooterPageType as c } from "./enums.js";
5
- import { s as e } from "../../../chunks/Page.module-Ct9ky9ko.js";
6
- import { c as D } from "../../../chunks/vendor-D-uL_icH.js";
7
- const F = Object.assign(
8
- S.forwardRef(({ className: u, type: r, ...t }, i) => {
9
- const [l, g] = p(!1), a = P(null), o = r === c.SECOND && "sticky" in t ? t.sticky : !1;
10
- v(() => {
11
- if (!o || !a.current)
12
- return;
13
- const m = new IntersectionObserver(([d]) => g(!d.isIntersecting), { threshold: [0] });
14
- return m.observe(a.current), () => {
15
- m.disconnect();
16
- };
17
- }, [o]);
18
- const f = D(
19
- e.footerPage,
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import l, { useRef as u } from "react";
3
+ import { Footer as t } from "../../Footer/Footer.js";
4
+ import { EFooterPageType as f } from "./enums.js";
5
+ import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
6
+ import { c as a } from "../../../chunks/vendor-CehxOAkM.js";
7
+ import { useStickyCornerRadius as y } from "./useStickyCornerRadius.js";
8
+ import { Island as R } from "../../Island/Island.js";
9
+ import { EIslandType as g } from "../../Island/enums.js";
10
+ const I = Object.assign(
11
+ l.forwardRef(({ className: s, type: c = f.FIRST, ...i }, o) => {
12
+ const m = u(null);
13
+ y(m, "bottom");
14
+ const n = (e) => {
15
+ m.current = e, typeof o == "function" ? o(e) : o && (o.current = e);
16
+ }, d = a(s, p.footerPageTypeSecond);
17
+ return c === f.SECOND ? /* @__PURE__ */ r(
18
+ R,
20
19
  {
21
- [e.footerPageBackground]: r === c.SECOND,
22
- [e.footerPageSticky]: o,
23
- [e.footerPageStuck]: l && o && r === c.SECOND
24
- },
25
- u
26
- );
27
- return r === c.SECOND ? /* @__PURE__ */ k(N, { children: [
28
- /* @__PURE__ */ s("div", { className: f, ref: i, children: /* @__PURE__ */ s(n, { ...t }) }),
29
- /* @__PURE__ */ s("div", { ref: a, "aria-hidden": "true", className: e.observerTarget })
30
- ] }) : /* @__PURE__ */ s(n, { ref: i, className: f, ...t });
20
+ className: d,
21
+ type: g.TYPE_1,
22
+ borderRadius: 16,
23
+ paddingSize: 16,
24
+ ref: n,
25
+ children: /* @__PURE__ */ r(t, { ...i })
26
+ }
27
+ ) : /* @__PURE__ */ r(t, { ref: o, className: a(p.footerPageTypeFirst, s), ...i });
31
28
  }),
32
29
  {
33
- Description: n.Description
30
+ Description: t.Description
34
31
  }
35
32
  );
36
33
  export {
37
- F as FooterPage
34
+ I as FooterPage
38
35
  };
39
36
  //# sourceMappingURL=FooterPage.js.map
@@ -1,33 +1,30 @@
1
- import { jsxs as h, jsx as c, Fragment as S } from "react/jsx-runtime";
2
- import b, { useState as k, useRef as N, useEffect as P } from "react";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import c, { useRef as u } from "react";
3
3
  import { Header as e } from "../../Header/Header.js";
4
- import { EHeaderPageType as o } from "./enums.js";
5
- import { s as r } from "../../../chunks/Page.module-Ct9ky9ko.js";
6
- import { c as v } from "../../../chunks/vendor-D-uL_icH.js";
7
- const x = Object.assign(
8
- b.forwardRef(({ className: m, type: a, ...s }, n) => {
9
- const [f, l] = k(!1), i = N(null), t = a === o.SECOND && "sticky" in s ? s.sticky : !1;
10
- P(() => {
11
- if (!t || !i.current)
12
- return;
13
- const u = new IntersectionObserver(([g]) => l(!g.isIntersecting), { threshold: [0] });
14
- return u.observe(i.current), () => {
15
- u.disconnect();
16
- };
17
- }, [t]);
18
- const d = v(
19
- r.headerPage,
4
+ import { EHeaderPageType as i } from "./enums.js";
5
+ import { c as m } from "../../../chunks/vendor-CehxOAkM.js";
6
+ import { Island as y } from "../../Island/Island.js";
7
+ import { EIslandType as S } from "../../Island/enums.js";
8
+ import { useStickyCornerRadius as T } from "./useStickyCornerRadius.js";
9
+ import { s as p } from "../../../chunks/Page.module-Cwb_zvqj.js";
10
+ const H = Object.assign(
11
+ c.forwardRef(({ className: t, type: f = i.FIRST, ...s }, r) => {
12
+ const d = u(null);
13
+ T(d, "top");
14
+ const n = (a) => {
15
+ d.current = a, typeof r == "function" ? r(a) : r && (r.current = a);
16
+ }, l = m(t, p.headerPageTypeSecond);
17
+ return f === i.SECOND ? /* @__PURE__ */ o(
18
+ y,
20
19
  {
21
- [r.headerPageBackground]: a === o.SECOND,
22
- [r.headerPageSticky]: t,
23
- [r.headerPageStuck]: f && t && a === o.SECOND
24
- },
25
- m
26
- );
27
- return a === o.SECOND ? /* @__PURE__ */ h(S, { children: [
28
- /* @__PURE__ */ c("div", { ref: i, "aria-hidden": "true", className: r.observerTarget }),
29
- /* @__PURE__ */ c("div", { className: d, ref: n, children: /* @__PURE__ */ c(e, { ...s }) })
30
- ] }) : /* @__PURE__ */ c(e, { ref: n, className: d, ...s });
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 });
31
28
  }),
32
29
  {
33
30
  LayoutSidebar: e.LayoutSidebar,
@@ -37,6 +34,6 @@ const x = Object.assign(
37
34
  }
38
35
  );
39
36
  export {
40
- x as HeaderPage
37
+ H as HeaderPage
41
38
  };
42
39
  //# sourceMappingURL=HeaderPage.js.map
@@ -0,0 +1,34 @@
1
+ import { useEffect as y } from "react";
2
+ function g(n) {
3
+ let t = n;
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;
7
+ t = t.parentElement;
8
+ }
9
+ return window;
10
+ }
11
+ function R(n, t) {
12
+ y(() => {
13
+ const e = n.current;
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));
23
+ };
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);
28
+ };
29
+ }, [n, t]);
30
+ }
31
+ export {
32
+ R as useStickyCornerRadius
33
+ };
34
+ //# sourceMappingURL=useStickyCornerRadius.js.map
@@ -1,14 +1,14 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { c as d } from "../../../chunks/vendor-D-uL_icH.js";
2
+ import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
3
3
  import i from "react";
4
- const r = "paginationExtended__2f938382", s = {
4
+ const r = "paginationExtended__799e5e04", s = {
5
5
  paginationExtended: r
6
6
  }, x = i.forwardRef(
7
7
  ({ children: t, className: a, ...n }, e) => /* @__PURE__ */ o(
8
8
  "nav",
9
9
  {
10
10
  className: d(s.paginationExtended, a),
11
- "data-tx": "1.1.1",
11
+ "data-tx": "1.3.0",
12
12
  ...n,
13
13
  ref: e,
14
14
  children: t
@@ -4,7 +4,7 @@ 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__5b686b84", N = "directionIconNext__45d70aea", n = {
7
+ const g = "paginationNavigationButton__949b553a", N = "directionIconNext__d48e9336", n = {
8
8
  paginationNavigationButton: g,
9
9
  directionIconNext: N
10
10
  }, d = c.forwardRef(
@@ -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-D-uL_icH.js";
4
- const g = "paginationNavigationExtended__c2db3ef3", r = {
3
+ import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
4
+ const g = "paginationNavigationExtended__62c2b434", r = {
5
5
  paginationNavigationExtended: g
6
6
  }, s = e.forwardRef(
7
7
  ({ children: a, className: t, ...i }, n) => /* @__PURE__ */ o("ul", { className: d(r.paginationNavigationExtended, t), ...i, ref: n, children: a })
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import g from "react";
3
- import { c } from "../../../chunks/vendor-D-uL_icH.js";
4
- const s = "paginationPageButton__5bdcc541", u = "currentPage__6ea3eabf", a = {
3
+ import { c } from "../../../chunks/vendor-CehxOAkM.js";
4
+ const s = "paginationPageButton__c617376c", u = "currentPage__2ee526a7", a = {
5
5
  paginationPageButton: s,
6
6
  currentPage: u
7
7
  }, P = g.forwardRef(
@@ -1,10 +1,10 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { c as e } from "../../../chunks/vendor-D-uL_icH.js";
2
+ import { c as e } from "../../../chunks/vendor-CehxOAkM.js";
3
3
  import o from "react";
4
- const t = "pageEllipsis__9138b51b", r = {
4
+ const t = "pageEllipsis__9d1ab94e", 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,22 +1,22 @@
1
1
  import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
2
  import g, { useRef as S } from "react";
3
- import { f as x, c as N } from "../../../chunks/vendor-D-uL_icH.js";
3
+ import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
4
4
  import "../../Typography/Title.js";
5
- import { Text as b } from "../../Typography/Text.js";
5
+ import { Text as v } from "../../Typography/Text.js";
6
6
  import "../../Typography/Caption.js";
7
- import { ETextSize as v } from "../../Typography/enums.js";
8
- const _ = "paginationSelect__8cf380c1", h = "paginationSelectControl__8d8b1b76", c = {
9
- paginationSelect: _,
7
+ import { ETextSize as _ } from "../../Typography/enums.js";
8
+ const b = "paginationSelect__0232411f", h = "paginationSelectControl__f6feb388", o = {
9
+ paginationSelect: b,
10
10
  paginationSelectControl: h
11
11
  }, y = g.forwardRef(
12
- ({ paginationLabel: o, className: s, hidden: d, options: i, value: a, onChange: n }, m) => {
12
+ ({ paginationLabel: c, className: s, hidden: m, options: i, value: a, onChange: n }, d) => {
13
13
  const l = S(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
14
14
  const r = Number(e.target.value);
15
15
  Number.isNaN(r) || n == null || n(r);
16
16
  };
17
- return d ? null : /* @__PURE__ */ f("div", { className: N(c.paginationSelect, s), ref: m, children: [
18
- /* @__PURE__ */ t(b, { size: v.B3, id: l.current, children: o }),
19
- /* @__PURE__ */ t("div", { className: c.paginationSelectControl, children: /* @__PURE__ */ t(
17
+ return m ? null : /* @__PURE__ */ f("div", { className: N(o.paginationSelect, s), ref: d, children: [
18
+ /* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
19
+ /* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
20
20
  "select",
21
21
  {
22
22
  "aria-labelledby": l.current,
@@ -1,4 +1,4 @@
1
- import { h as R } from "../../../chunks/vendor-D-uL_icH.js";
1
+ import { j as R } from "../../../chunks/vendor-CehxOAkM.js";
2
2
  const m = -1, h = {
3
3
  // Создание массива чисел в заданном диапазоне с заданным шагом.
4
4
  generateRange: (n, i, e = 1) => n > i ? [] : R(n, i + 1, e),
@@ -1,26 +1,34 @@
1
- import { jsxs as b, jsx as c } from "react/jsx-runtime";
2
- import p from "react";
3
- import { ERadioSize as f } from "./enum.js";
4
- import { c as l } from "../../chunks/vendor-D-uL_icH.js";
5
- const N = "label__7d28710a", y = "md__1281fe1b", x = "lg__a7b75200", R = "nonempty__adc5081c", u = "disabled__05b5e731", I = "radio__73cf15b5", g = "radioIcon__d989b046", a = {
6
- label: N,
7
- md: y,
8
- lg: x,
9
- nonempty: R,
10
- disabled: u,
11
- radio: I,
12
- radioIcon: g
13
- }, h = p.forwardRef((n, t) => {
14
- const { children: o, className: i, disabled: e, labelAttributes: s, size: d = f.MD, ...r } = n, m = l(a.radio, i, a[d]), _ = l(
15
- a.label,
16
- a[d],
17
- { [a.disabled]: !!e, [a.nonempty]: !!o },
18
- s == null ? void 0 : s.className
1
+ import { jsxs as b, jsx as t } from "react/jsx-runtime";
2
+ import N from "react";
3
+ import { c as d } from "../../chunks/vendor-CehxOAkM.js";
4
+ import "../Typography/Title.js";
5
+ import { Text as x } from "../Typography/Text.js";
6
+ import "../Typography/Caption.js";
7
+ import { ETextSize as m } from "../Typography/enums.js";
8
+ import { EComponentSize as i } from "../../enums/EComponentSize.js";
9
+ import { createSizeToClassNameMap as z } from "../../utils/classNameMaps.js";
10
+ const y = "label__065c3332", T = "md__8cdbcdeb", M = "nonempty__736d5aec", u = "lg__4ede3efb", I = "disabled__51ecd7f5", R = "radio__9e4485f3", S = "radioIcon__d4af55e2", o = {
11
+ label: y,
12
+ md: T,
13
+ nonempty: M,
14
+ lg: u,
15
+ disabled: I,
16
+ radio: R,
17
+ radioIcon: S
18
+ }, g = {
19
+ [i.LG]: m.B2,
20
+ [i.MD]: m.B3
21
+ }, C = z(o), h = N.forwardRef((n, r) => {
22
+ const { children: a, className: l, disabled: c, labelAttributes: e, size: s = i.MD, ...p } = n, _ = d(o.radio, l, C[s]), f = d(
23
+ o.label,
24
+ o[s],
25
+ { [o.disabled]: !!c, [o.nonempty]: !!a },
26
+ e == null ? void 0 : e.className
19
27
  );
20
- return /* @__PURE__ */ b("label", { ...s, className: _, "data-tx": "1.1.1", children: [
21
- /* @__PURE__ */ c("input", { type: "radio", className: m, disabled: e, ...r, ref: t }),
22
- /* @__PURE__ */ c("span", { className: a.radioIcon }),
23
- o
28
+ return /* @__PURE__ */ b("label", { ...e, className: f, "data-tx": "1.3.0", children: [
29
+ /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: c, ...p, ref: r }),
30
+ /* @__PURE__ */ t("span", { className: o.radioIcon }),
31
+ a && /* @__PURE__ */ t(x, { size: g[s], children: a })
24
32
  ] });
25
33
  });
26
34
  h.displayName = "Radio";
@@ -1,17 +1,17 @@
1
- import { jsx as r } from "react/jsx-runtime";
2
- import { c as s } from "../../chunks/vendor-D-uL_icH.js";
3
- const _ = "radioXGroup__e5de6ada", c = "label__7d28710a", n = {
4
- radioXGroup: _,
5
- "indent-12": "indent-12__6b1b22c7",
6
- label: c,
7
- "indent-16": "indent-16__304f6117",
8
- "indent-20": "indent-20__1e5353ed",
9
- "indent-24": "indent-24__afb7e51c",
10
- "indent-28": "indent-28__25601fd3",
11
- "indent-32": "indent-32__bdc8238b"
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { c as r } from "../../chunks/vendor-CehxOAkM.js";
3
+ const s = "radioXGroup__eadecc9a", _ = "label__065c3332", n = {
4
+ radioXGroup: s,
5
+ "indent-12": "indent-12__7cc468c6",
6
+ label: _,
7
+ "indent-16": "indent-16__35fc33e9",
8
+ "indent-20": "indent-20__5ac03995",
9
+ "indent-24": "indent-24__4339e714",
10
+ "indent-28": "indent-28__99779caf",
11
+ "indent-32": "indent-32__89ac3ff3"
12
12
  }, l = (e) => {
13
- const { children: d, className: i, indent: o = 12, ...t } = e, a = s(n.radioXGroup, n[`indent-${o}`], i);
14
- return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: d });
13
+ const { children: i, className: o, indent: t = 12, ...d } = e, a = r(n.radioXGroup, n[`indent-${t}`], o);
14
+ return /* @__PURE__ */ c("div", { className: a, role: "radiogroup", ...d, children: i });
15
15
  };
16
16
  l.displayName = "RadioXGroup";
17
17
  export {
@@ -1,13 +1,13 @@
1
1
  import { jsx as c } from "react/jsx-runtime";
2
- import { c as d } from "../../chunks/vendor-D-uL_icH.js";
3
- const e = "radioYGroup__e433336d", p = {
4
- radioYGroup: e
5
- }, t = (o) => {
6
- const { children: r, className: s, ...a } = o, i = d(p.radioYGroup, s);
2
+ import { c as d } from "../../chunks/vendor-CehxOAkM.js";
3
+ const p = "radioYGroup__4069dfa1", t = {
4
+ radioYGroup: p
5
+ }, e = (o) => {
6
+ const { children: r, className: s, ...a } = o, i = d(t.radioYGroup, s);
7
7
  return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
8
8
  };
9
- t.displayName = "RadioYGroup";
9
+ e.displayName = "RadioYGroup";
10
10
  export {
11
- t as RadioYGroup
11
+ e as RadioYGroup
12
12
  };
13
13
  //# sourceMappingURL=RadioYGroup.js.map
@@ -1,11 +1,9 @@
1
1
  import { Radio as p } from "./Radio.js";
2
- import { RadioXGroup as i } from "./RadioXGroup.js";
3
- import { RadioYGroup as d } from "./RadioYGroup.js";
4
- import { ERadioSize as m } from "./enum.js";
2
+ import { RadioXGroup as d } from "./RadioXGroup.js";
3
+ import { RadioYGroup as f } from "./RadioYGroup.js";
5
4
  export {
6
- m as ERadioSize,
7
5
  p as Radio,
8
- i as RadioXGroup,
9
- d as RadioYGroup
6
+ d as RadioXGroup,
7
+ f as RadioYGroup
10
8
  };
11
9
  //# sourceMappingURL=index.js.map
@@ -1,14 +1,14 @@
1
- import { jsx as d } from "react/jsx-runtime";
2
- import { c as m } from "../../chunks/vendor-D-uL_icH.js";
3
- const c = "row__4e8abf51", e = "noPaddingBottom__bfbb4a0e", o = {
4
- row: c,
5
- noPaddingBottom: e
6
- }, i = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
7
- const a = m(n, o.row, { [o.noPaddingBottom]: !s });
8
- return /* @__PURE__ */ d("div", { className: a, ...r, children: t });
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { c as d } from "../../chunks/vendor-CehxOAkM.js";
3
+ const m = "row__988f01ae", i = "noPaddingBottom__57c02643", o = {
4
+ row: m,
5
+ noPaddingBottom: i
6
+ }, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
7
+ const a = d(n, o.row, { [o.noPaddingBottom]: !s });
8
+ return /* @__PURE__ */ c("div", { className: a, ...r, children: t });
9
9
  };
10
- i.displayName = "Row";
10
+ e.displayName = "Row";
11
11
  export {
12
- i as Row
12
+ e as Row
13
13
  };
14
14
  //# sourceMappingURL=Row.js.map
@@ -1,67 +1,64 @@
1
- import { ESegmentedControlTheme as o, ESegmentedControlSize as r, ESegmentedControlType as c } from "./enums.js";
2
- import { SegmentedControlSegment as N } from "./SegmentedControlSegment.js";
3
- import { jsx as l } from "react/jsx-runtime";
4
- import b from "react";
5
- import { c as L } from "../../chunks/vendor-D-uL_icH.js";
6
- import { SegmentedControlContext as R } from "./SegmentedControlContext.js";
7
- const h = "segmentedControl__5e183e89", x = "general1__780803e7", M = "secondary1__4d00a09b", T = "general2__95c58724", A = "secondary2__9e04350c", G = "sm__7102e945", D = "md__5e3475c9", O = "lg__460bba89", e = {
8
- segmentedControl: h,
9
- general1: x,
10
- secondary1: M,
11
- general2: T,
12
- secondary2: A,
1
+ import { ESegmentedControlTheme as o, ESegmentedControlType as m } from "./enums.js";
2
+ import { SegmentedControlSegment as y } from "./SegmentedControlSegment.js";
3
+ import { jsx as d } from "react/jsx-runtime";
4
+ import E from "react";
5
+ import { c as R } from "../../chunks/vendor-CehxOAkM.js";
6
+ import { SegmentedControlContext as T } from "./SegmentedControlContext.js";
7
+ import { createSizeToClassNameMap as h } from "../../utils/classNameMaps.js";
8
+ const x = "segmentedControl__79dada7d", L = "general1__518914e0", b = "secondary1__d24e02e3", A = "general2__05cad1b1", M = "secondary2__1c90502d", G = "sm__fd3555fc", O = "md__642147a0", j = "lg__79fd5d42", e = {
9
+ segmentedControl: x,
10
+ general1: L,
11
+ secondary1: b,
12
+ general2: A,
13
+ secondary2: M,
13
14
  sm: G,
14
- md: D,
15
- lg: O
16
- }, j = {
15
+ md: O,
16
+ lg: j
17
+ }, v = {
17
18
  [o.GENERAL_1]: e.general1,
18
19
  [o.GENERAL_2]: e.general2,
19
20
  [o.SECONDARY_1]: e.secondary1,
20
21
  [o.SECONDARY_2]: e.secondary2
21
- }, v = {
22
- [r.SM]: e.sm,
23
- [r.MD]: e.md,
24
- [r.LG]: e.lg
25
- }, z = Object.assign(
26
- b.forwardRef(
27
- ({ children: d, className: g, value: n, theme: _, type: a, size: i, disabled: C, onSelect: t, ...S }, f) => {
28
- const E = L(
22
+ }, z = h(e), D = Object.assign(
23
+ E.forwardRef(
24
+ ({ children: c, className: l, value: n, theme: g, type: r, size: _, disabled: i, onSelect: t, ...f }, C) => {
25
+ const p = R(
29
26
  e.segmentedControl,
30
- j[_],
31
- v[i],
32
- g
33
- ), p = ({
34
- selected: m,
27
+ v[g],
28
+ z[_],
29
+ l
30
+ ), S = ({
31
+ selected: a,
35
32
  value: s
36
33
  }) => {
37
- switch (a) {
38
- case c.SINGLE:
39
- m && t(s);
34
+ switch (r) {
35
+ case m.SINGLE:
36
+ a && t(s);
40
37
  break;
41
- case c.MULTIPLE:
42
- t(m ? [...n, s] : [...n].filter((y) => y !== s));
38
+ case m.MULTIPLE:
39
+ t(a ? [...n, s] : [...n].filter((N) => N !== s));
43
40
  }
44
41
  };
45
- return /* @__PURE__ */ l(
46
- R.Provider,
42
+ return /* @__PURE__ */ d(
43
+ T.Provider,
47
44
  {
48
45
  value: {
49
- type: a,
46
+ type: r,
50
47
  value: n,
51
- disabled: !!C,
52
- onSegmentSelect: p
48
+ disabled: !!i,
49
+ onSegmentSelect: S
53
50
  },
54
- children: /* @__PURE__ */ l("div", { className: E, ...S, "data-tx": "1.1.1", ref: f, children: d })
51
+ children: /* @__PURE__ */ d("div", { className: p, ...f, "data-tx": "1.3.0", ref: C, children: c })
55
52
  }
56
53
  );
57
54
  }
58
55
  ),
59
56
  {
60
- Segment: N
57
+ Segment: y
61
58
  }
62
59
  );
63
- z.displayName = "SegmentedControl";
60
+ D.displayName = "SegmentedControl";
64
61
  export {
65
- z as SegmentedControl
62
+ D as SegmentedControl
66
63
  };
67
64
  //# sourceMappingURL=SegmentedControl.js.map