@sberbusiness/triplex-next 1.1.0 → 1.2.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 (347) hide show
  1. package/README.md +8 -8
  2. package/chunks/{AlertProcessSpoiler-Dp7FRT9y.js → AlertProcessSpoiler-B3Xzh0I2.js} +13 -13
  3. package/chunks/Card.module-Dh5vP2zv.js +17 -0
  4. package/chunks/DropdownListItem-B1GkU8rn.js +57 -0
  5. package/chunks/DropdownMobile.module-CYlB98Oc.js +21 -0
  6. package/chunks/Footer.module-Bk8QkaWN.js +11 -0
  7. package/chunks/{FormFieldInput-apk1b0w6.js → FormFieldInput-n8Ee4EcP.js} +23 -23
  8. package/chunks/HeaderLayoutSidebar.module-CDNHX5_G.js +9 -0
  9. package/chunks/HeaderTabs.module-yaGpurOU.js +9 -0
  10. package/chunks/HeaderTitle.module-XzB-YndL.js +9 -0
  11. package/chunks/{ListItemControlsButton-Cn3Vmrsn.js → ListItemControlsButton-BdtSkcyn.js} +10 -10
  12. package/chunks/ListItemTail.module-D_m5pMsh.js +12 -0
  13. package/chunks/ListMasterFooter.module-DXrsYZZo.js +10 -0
  14. package/chunks/Overlay.module-BghrPKKn.js +18 -0
  15. package/chunks/Page.module-D6xCdUbr.js +12 -0
  16. package/chunks/RightBorderArrow-BA2_2Ry3.js +146 -0
  17. package/chunks/SuggestFieldMobileDropdownHint-Dz-VDDoR.js +15 -0
  18. package/chunks/TableFooter.module-BzfTOGS_.js +13 -0
  19. package/chunks/TabsExtended.module-B3nvdhKr.js +16 -0
  20. package/chunks/TabsLine.module-Dlj__Yjk.js +23 -0
  21. package/chunks/TooltipDesktop.module-TiWl3v5C.js +19 -0
  22. package/chunks/{UploadZoneInput-R9729LZY.js → UploadZoneInput-CioKsqkV.js} +10 -10
  23. package/chunks/utils-B5p23Ple.js +26 -0
  24. package/chunks/utils-BtcCJ4_U.js +20 -0
  25. package/chunks/utils-D7E_PKCe.js +36 -0
  26. package/chunks/utils-DPXynVs1.js +72 -0
  27. package/chunks/utils-DjxtOr-n.js +48 -0
  28. package/chunks/vendor-CehxOAkM.js +11907 -0
  29. package/components/Alert/AlertContext/AlertContext.js +6 -6
  30. package/components/Alert/AlertProcess/AlertProcess.js +3 -3
  31. package/components/Alert/AlertProcess/components/AlertProcessSpoiler.js +2 -2
  32. package/components/Amount/Amount.js +37 -0
  33. package/components/Amount/index.js +5 -0
  34. package/components/AmountField/AmountBaseInputCore.js +46 -0
  35. package/components/AmountField/AmountBaseInputFormatter.js +57 -0
  36. package/components/AmountField/AmountBaseInputParser.js +110 -0
  37. package/components/AmountField/AmountField.js +76 -0
  38. package/components/AmountField/index.js +5 -0
  39. package/components/AmountField/utils.js +38 -0
  40. package/components/Body/Body.js +6 -6
  41. package/components/Button/Button.js +73 -72
  42. package/components/Button/ButtonBase.js +1 -1
  43. package/components/Button/ButtonDropdown.js +113 -127
  44. package/components/Button/ButtonDropdownExtended.js +2 -2
  45. package/components/Button/ButtonIcon.js +2 -2
  46. package/components/Card/CardAction.js +10 -10
  47. package/components/Card/CardStatic.js +3 -3
  48. package/components/Card/components/CardContent/CardContent.js +2 -2
  49. package/components/Card/components/CardContent/components/CardContentBody.js +2 -2
  50. package/components/Card/components/CardContent/components/CardContentFooter.js +2 -2
  51. package/components/Card/components/CardContent/components/CardContentHeader.js +2 -2
  52. package/components/Card/components/CardMedia.js +2 -2
  53. package/components/Card/utils.js +1 -1
  54. package/components/CarouselExtended/CarouselExtended.js +48 -0
  55. package/components/Checkbox/Checkbox.js +46 -30
  56. package/components/Checkbox/CheckboxXGroup.js +14 -14
  57. package/components/Checkbox/CheckboxYGroup.js +4 -4
  58. package/components/Checkbox/index.js +4 -6
  59. package/components/Chip/Chip.js +86 -0
  60. package/components/Chip/ChipClearButton.js +28 -0
  61. package/components/Chip/ChipDropdownArrow.js +18 -0
  62. package/components/Chip/ChipIcon.js +9 -0
  63. package/components/Chip/ChipOptions.js +27 -0
  64. package/components/Chip/enums.js +5 -0
  65. package/components/Chip/index.js +15 -0
  66. package/components/ChipGroup/ChipGroup.js +32 -0
  67. package/components/ChipGroup/index.js +5 -0
  68. package/components/Col/Col.js +142 -142
  69. package/components/DesignTokens/DesignTokenUtils.js +2 -2
  70. package/components/DesignTokens/DesignTokensComponents.js +89 -69
  71. package/components/DesignTokens/DesignTokensComponentsThemeDark.js +92 -77
  72. package/components/DesignTokens/components/Card.js +23 -20
  73. package/components/DesignTokens/components/Checkbox.js +32 -14
  74. package/components/DesignTokens/components/Chip.js +59 -0
  75. package/components/DesignTokens/components/Divider.js +9 -0
  76. package/components/DesignTokens/components/Dropdown.js +1 -1
  77. package/components/DesignTokens/components/DropdownList.js +2 -2
  78. package/components/DesignTokens/components/DropdownMobile.js +3 -3
  79. package/components/DesignTokens/components/FooterPage.js +3 -3
  80. package/components/DesignTokens/components/HeaderPage.js +4 -4
  81. package/components/DesignTokens/components/ListItemControlsButton.js +20 -5
  82. package/components/DesignTokens/components/Marker.js +20 -0
  83. package/components/DesignTokens/components/MarkerStatus.js +9 -0
  84. package/components/DesignTokens/components/Radio.js +22 -13
  85. package/components/DesignTokens/components/Stepper.js +71 -0
  86. package/components/DesignTokens/components/TableBasic.js +41 -0
  87. package/components/DesignTokens/components/Tabs.js +45 -15
  88. package/components/DesignTokens/components/TabsLine.js +32 -0
  89. package/components/DesignTokens/components/index.js +100 -79
  90. package/components/Divider/Divider.js +34 -0
  91. package/components/Divider/index.js +5 -0
  92. package/components/Dropdown/desktop/DropdownDesktop.js +52 -51
  93. package/components/Dropdown/desktop/DropdownList.js +66 -53
  94. package/components/Dropdown/desktop/DropdownListItem.js +2 -2
  95. package/components/Dropdown/desktop/index.js +9 -0
  96. package/components/Dropdown/index.js +33 -29
  97. package/components/Dropdown/mobile/DropdownMobile.js +2 -2
  98. package/components/Dropdown/mobile/DropdownMobileBody.js +2 -2
  99. package/components/Dropdown/mobile/DropdownMobileClose.js +2 -2
  100. package/components/Dropdown/mobile/DropdownMobileFooter.js +2 -2
  101. package/components/Dropdown/mobile/DropdownMobileHeader.js +2 -2
  102. package/components/Dropdown/mobile/DropdownMobileInner.js +2 -2
  103. package/components/Dropdown/mobile/DropdownMobileInput.js +9 -8
  104. package/components/Dropdown/mobile/DropdownMobileList.js +26 -17
  105. package/components/Dropdown/mobile/DropdownMobileListItem.js +2 -2
  106. package/components/Dropdown/mobile/DropdownMobileLoader.js +20 -0
  107. package/components/Dropdown/mobile/index.js +5 -3
  108. package/components/Ellipsis/Ellipsis.js +27 -0
  109. package/components/Ellipsis/index.js +5 -0
  110. package/components/ExpandAnimation/ExpandAnimation.js +72 -0
  111. package/components/Footer/Footer.js +3 -3
  112. package/components/Footer/components/FooterDescription.js +2 -2
  113. package/components/Footer/components/FooterDescriptionContent.js +2 -2
  114. package/components/Footer/components/FooterDescriptionControls.js +2 -2
  115. package/components/FormField/FormField.js +34 -33
  116. package/components/FormField/FormFieldContext.js +8 -7
  117. package/components/FormField/components/FormFieldClear.js +24 -20
  118. package/components/FormField/components/FormFieldCounter.js +5 -5
  119. package/components/FormField/components/FormFieldDescription.js +5 -5
  120. package/components/FormField/components/FormFieldInput.js +2 -2
  121. package/components/FormField/components/FormFieldLabel.js +14 -14
  122. package/components/FormField/components/FormFieldMaskedInput.js +12 -12
  123. package/components/FormField/components/FormFieldPostfix.js +6 -6
  124. package/components/FormField/components/FormFieldPrefix.js +7 -7
  125. package/components/FormField/components/FormFieldTarget.js +22 -22
  126. package/components/FormField/components/FormFieldTextarea.js +6 -6
  127. package/components/FormField/index.js +1 -1
  128. package/components/Header/Header.js +12 -12
  129. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebar.js +2 -2
  130. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarContent.js +2 -2
  131. package/components/Header/components/HeaderLayoutSidebar/HeaderLayoutSidebarSidebar.js +2 -2
  132. package/components/Header/components/HeaderSubheader/HeaderSubheader.js +6 -6
  133. package/components/Header/components/HeaderTabs/HeaderTabs.js +2 -2
  134. package/components/Header/components/HeaderTabs/HeaderTabsContent.js +2 -2
  135. package/components/Header/components/HeaderTabs/HeaderTabsControls.js +2 -2
  136. package/components/Header/components/HeaderTitle/HeaderTitle.js +2 -2
  137. package/components/Header/components/HeaderTitle/HeaderTitleContent.js +2 -2
  138. package/components/Header/components/HeaderTitle/HeaderTitleControls.js +2 -2
  139. package/components/HelpBox/HelpBox.js +94 -0
  140. package/components/Island/Island.js +25 -66
  141. package/components/Island/components/IslandBody.js +4 -4
  142. package/components/Island/components/IslandFooter.js +4 -4
  143. package/components/Island/components/IslandHeader.js +2 -2
  144. package/components/Island/enums.js +1 -3
  145. package/components/Island/index.js +4 -6
  146. package/components/Island/types.js +2 -0
  147. package/components/Island/utils.js +8 -0
  148. package/components/Link/Link.js +27 -27
  149. package/components/List/List.js +12 -20
  150. package/components/List/ListSortable.js +1 -1
  151. package/components/List/components/ListEmptyState.js +6 -6
  152. package/components/List/components/ListItem.js +1 -10
  153. package/components/List/components/ListItemContent.js +7 -7
  154. package/components/List/components/ListItemControls.js +7 -7
  155. package/components/List/components/ListItemControlsButton.js +2 -2
  156. package/components/List/components/ListItemControlsButtonDropdown.js +4 -2
  157. package/components/List/components/ListItemLoading.js +11 -9
  158. package/components/List/components/ListItemSelectable.js +5 -5
  159. package/components/List/components/ListItemTable.js +9 -9
  160. package/components/List/components/ListItemTailLeft.js +2 -2
  161. package/components/List/components/ListItemTailRight.js +2 -2
  162. package/components/List/components/ListSortableItem.js +2 -2
  163. package/components/List/components/ListSortableItemControls.js +2 -2
  164. package/components/List/components/ListSortableItemTarget.js +8 -8
  165. package/components/List/index.js +1 -1
  166. package/components/ListMaster/ListMaster.js +1 -1
  167. package/components/ListMaster/components/ListMasterBody.js +1 -1
  168. package/components/ListMaster/components/ListMasterChipGroup.js +5 -5
  169. package/components/ListMaster/components/ListMasterFooter.js +2 -2
  170. package/components/ListMaster/components/ListMasterFooterControls.js +2 -2
  171. package/components/ListMaster/components/ListMasterFooterDescription.js +2 -2
  172. package/components/ListMaster/components/ListMasterHeader.js +6 -6
  173. package/components/ListMaster/components/SelectionControls.js +3 -3
  174. package/components/Loader/LoaderMiddle/LoaderMiddle.js +5 -5
  175. package/components/Loader/LoaderSmall/LoaderSmall.js +24 -35
  176. package/components/LoaderWidget/LoaderWidget.js +15 -14
  177. package/components/Marker/Marker.js +20 -0
  178. package/components/Marker/enums.js +5 -0
  179. package/components/Marker/index.js +7 -0
  180. package/components/Marker/utils.js +6 -0
  181. package/components/MarkerStatus/MarkerStatus.js +36 -0
  182. package/components/MarkerStatus/index.js +5 -0
  183. package/components/OrderedList/OrderedList.js +25 -0
  184. package/components/OrderedList/OrderedListItem.js +27 -0
  185. package/components/OrderedList/index.js +7 -0
  186. package/components/OrderedList/types.js +2 -0
  187. package/components/Overlay/Overlay.js +2 -2
  188. package/components/Overlay/OverlayMask.js +2 -2
  189. package/components/Overlay/OverlayPanel.js +2 -2
  190. package/components/Page/Page.js +2 -2
  191. package/components/Page/components/BodyPage.js +2 -2
  192. package/components/Page/components/FooterPage.js +28 -31
  193. package/components/Page/components/HeaderPage.js +26 -29
  194. package/components/Page/components/useStickyCornerRadius.js +34 -0
  195. package/components/Pagination/components/PaginationExtended.js +3 -3
  196. package/components/Pagination/components/PaginationNavigationButton.js +5 -5
  197. package/components/Pagination/components/PaginationNavigationExtended.js +2 -2
  198. package/components/Pagination/components/PaginationPageButton.js +2 -2
  199. package/components/Pagination/components/PaginationPageEllipsis.js +3 -3
  200. package/components/Pagination/components/PaginationSelect.js +7 -7
  201. package/components/Pagination/utils/paginationUtils.js +1 -1
  202. package/components/Radio/Radio.js +29 -21
  203. package/components/Radio/RadioXGroup.js +10 -10
  204. package/components/Radio/RadioYGroup.js +5 -5
  205. package/components/Radio/index.js +4 -6
  206. package/components/Row/Row.js +6 -6
  207. package/components/SegmentedControl/SegmentedControl.js +36 -39
  208. package/components/SegmentedControl/SegmentedControlSegment.js +6 -6
  209. package/components/SelectExtendedField/SelectExtendedField.js +9 -9
  210. package/components/SelectExtendedField/components/SelectExtendedFieldDropdown.js +5 -2
  211. package/components/SelectExtendedField/components/SelectExtendedFieldDropdownDefault.js +22 -18
  212. package/components/SelectExtendedField/components/SelectExtendedFieldTarget.js +38 -37
  213. package/components/SelectField/SelectField.js +62 -0
  214. package/components/SelectField/index.js +5 -0
  215. package/components/Skeleton/Skeleton.js +11 -11
  216. package/components/Stepper/RightBorderArrow.js +7 -0
  217. package/components/Stepper/Stepper.js +103 -0
  218. package/components/Stepper/StepperExtended.js +26 -0
  219. package/components/Stepper/StepperExtendedContext.js +12 -0
  220. package/components/Stepper/StepperStep.js +88 -0
  221. package/components/Stepper/StepperStepIcon.js +23 -0
  222. package/components/Stepper/StepperWrapper.js +12 -0
  223. package/components/Stepper/enums.js +7 -0
  224. package/components/Stepper/index.js +11 -0
  225. package/components/SuggestField/SuggestField.js +64 -0
  226. package/components/SuggestField/SuggestFieldTarget.js +67 -0
  227. package/components/SuggestField/SuggestFieldTargetPostfix.js +28 -0
  228. package/components/SuggestField/desktop/SuggestFieldDesktop.js +196 -0
  229. package/components/SuggestField/desktop/SuggestFieldDesktopDropdown.js +76 -0
  230. package/components/SuggestField/desktop/index.js +7 -0
  231. package/components/SuggestField/desktop/types.js +2 -0
  232. package/components/SuggestField/index.js +17 -0
  233. package/components/SuggestField/mobile/SuggestFieldMobile.js +79 -0
  234. package/components/SuggestField/mobile/SuggestFieldMobileDropdown.js +94 -0
  235. package/components/SuggestField/mobile/SuggestFieldMobileDropdownHint.js +10 -0
  236. package/components/SuggestField/mobile/SuggestFieldMobileTarget.js +30 -0
  237. package/components/SuggestField/mobile/index.js +11 -0
  238. package/components/SuggestField/mobile/types.js +2 -0
  239. package/components/SuggestField/types.js +2 -0
  240. package/components/SwipeableArea/SwipeableArea.js +21 -21
  241. package/components/Table/FilterPanel.js +18 -0
  242. package/components/Table/MasterTable.js +49 -0
  243. package/components/Table/MasterTableContext.js +11 -0
  244. package/components/Table/NoColumns.js +17 -0
  245. package/components/Table/PaginationPanel.js +18 -0
  246. package/components/Table/TableBasic/TableBasic.js +51 -0
  247. package/components/Table/TableBasic/components/TableBasicBody.js +18 -0
  248. package/components/Table/TableBasic/components/TableBasicHeader.js +83 -0
  249. package/components/Table/TableBasic/components/TableBasicRow.js +53 -0
  250. package/components/Table/TableBasic/enums.js +8 -0
  251. package/components/Table/TableBasic/types.js +2 -0
  252. package/components/Table/TableBasicSettings/TableBasicSettings.js +58 -0
  253. package/components/Table/TableBasicSettings/components/ColumnSettings.js +20 -0
  254. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableList.js +24 -0
  255. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItem.js +25 -0
  256. package/components/Table/TableBasicSettings/components/ColumnSettingsSortableListItemTarget.js +29 -0
  257. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticList.js +17 -0
  258. package/components/Table/TableBasicSettings/components/ColumnSettingsStaticListItem.js +14 -0
  259. package/components/Table/TableBasicSettings/components/TableBasicSettingsBody.js +13 -0
  260. package/components/Table/TableBasicSettings/components/TableBasicSettingsFooter.js +13 -0
  261. package/components/Table/TableBasicSettings/components/TableBasicSettingsHeader.js +26 -0
  262. package/components/Table/TableFooter/TableFooter.js +14 -0
  263. package/components/Table/TableFooter/components/TableFooterSummary.js +19 -0
  264. package/components/Table/TableFooter/components/TableFooterSummaryAmount.js +18 -0
  265. package/components/Table/TableFooter/components/TableFooterSummarySelectAllButton.js +31 -0
  266. package/components/Table/TableFooter/components/TableFooterSummarySelectedCount.js +8 -0
  267. package/components/Table/TabsLinePanel.js +12 -0
  268. package/components/Table/TabsLinePanelLinks.js +14 -0
  269. package/components/Table/index.js +26 -0
  270. package/components/Table/utils.js +8 -0
  271. package/components/Tabs/Tabs.js +75 -0
  272. package/components/Tabs/index.js +5 -0
  273. package/components/TabsExtended/TabsExtended.js +37 -21
  274. package/components/TabsExtended/TabsExtendedContext.js +6 -4
  275. package/components/TabsExtended/components/TabsExtendedContent.js +19 -15
  276. package/components/TabsExtended/components/TabsExtendedDropdownWrapper.js +2 -2
  277. package/components/TabsExtended/components/TabsExtendedTab.js +2 -2
  278. package/components/TabsExtended/components/TabsExtendedTabButton.js +17 -15
  279. package/components/TabsExtended/components/TabsExtendedTabsWrapper.js +7 -7
  280. package/components/TabsExtended/components/index.js +15 -0
  281. package/components/TabsExtended/enums.js +2 -2
  282. package/components/TabsExtended/index.js +15 -3
  283. package/components/TabsExtended/utils.js +9 -0
  284. package/components/TabsLine/TabsLine.js +48 -0
  285. package/components/TabsLine/components/TabsLineDesktop.js +81 -0
  286. package/components/TabsLine/components/TabsLineDropdown.js +151 -0
  287. package/components/TabsLine/components/TabsLineItem.js +26 -0
  288. package/components/TabsLine/components/TabsLineMobile.js +21 -0
  289. package/components/TabsLine/components/index.js +11 -0
  290. package/components/TabsLine/index.js +13 -0
  291. package/components/TabsLine/types.js +2 -0
  292. package/components/TextField/TextField.js +1 -1
  293. package/components/ThemeProvider/ThemeProvider.js +1 -1
  294. package/components/ThemeProvider/components/ThemeProviderView.js +4 -4
  295. package/components/Tooltip/components/common/TooltipBody.js +2 -2
  296. package/components/Tooltip/components/common/TooltipLink.js +11 -11
  297. package/components/Tooltip/components/common/TooltipXButton.js +1 -1
  298. package/components/Tooltip/components/desktop/components/TooltipDesktopBase.js +2 -2
  299. package/components/Tooltip/components/desktop/components/TooltipDesktopTip.js +2 -2
  300. package/components/Tooltip/components/mobile/TooltipMobile.js +7 -7
  301. package/components/Typography/Caption.js +17 -17
  302. package/components/Typography/Text.js +20 -20
  303. package/components/Typography/Title.js +15 -15
  304. package/components/Typography/utils.js +1 -1
  305. package/components/UnorderedList/UnorderedList.js +25 -0
  306. package/components/UnorderedList/UnorderedListItem.js +27 -0
  307. package/components/UnorderedList/index.js +7 -0
  308. package/components/UnorderedList/types.js +2 -0
  309. package/components/UploadZone/UploadZone.js +3 -3
  310. package/components/UploadZone/components/UploadZoneInput.js +2 -2
  311. package/components/index.js +366 -275
  312. package/consts/AmountConst.js +10 -0
  313. package/consts/DataTestId.js +19 -0
  314. package/enums/EComponentSize.js +5 -0
  315. package/enums/index.js +7 -0
  316. package/index.d.ts +1029 -124
  317. package/index.js +361 -268
  318. package/package.json +69 -2
  319. package/styles/triplex-next.css +436 -354
  320. package/types/CoreTypes.js +2 -0
  321. package/utils/amountUtils.js +34 -0
  322. package/utils/classNameMaps.js +10 -0
  323. package/utils/html/AriaAttributes.js +11 -0
  324. package/utils/html/DataAttributes.js +11 -0
  325. package/utils/inputUtils.js +11 -0
  326. package/utils/isNullOrUndefined.js +5 -0
  327. package/utils/scroll.js +13 -0
  328. package/utils/stringUtils.js +13 -0
  329. package/chunks/Card.module-Ddt7TQ9Z.js +0 -17
  330. package/chunks/DropdownListItem-y6Rvj_dd.js +0 -56
  331. package/chunks/DropdownMobile.module-DrQkghxs.js +0 -19
  332. package/chunks/Footer.module-CKfl241m.js +0 -11
  333. package/chunks/HeaderLayoutSidebar.module-DTXnksBK.js +0 -9
  334. package/chunks/HeaderTabs.module-DVh6MotJ.js +0 -9
  335. package/chunks/HeaderTitle.module-DOeVL9zC.js +0 -9
  336. package/chunks/ListItemTail.module-BnbT61OM.js +0 -12
  337. package/chunks/ListMasterFooter.module-C6QFamKQ.js +0 -10
  338. package/chunks/Overlay.module-BTSQ5G6t.js +0 -18
  339. package/chunks/Page.module-DfMBQJob.js +0 -16
  340. package/chunks/TabsExtended.module-okOlTNQG.js +0 -13
  341. package/chunks/TabsExtendedUtils-NCwWiX7O.js +0 -23
  342. package/chunks/TooltipDesktop.module-DTbnIWo1.js +0 -19
  343. package/chunks/utils-B0khB-Lq.js +0 -36
  344. package/chunks/vendor-D-uL_icH.js +0 -5895
  345. package/components/Checkbox/enum.js +0 -5
  346. package/components/Radio/enum.js +0 -5
  347. package/components/TabsExtended/TabsExtendedUtils.js +0 -8
@@ -0,0 +1,36 @@
1
+ import { jsxs as k, jsx as r } from "react/jsx-runtime";
2
+ import { Marker as S } from "../Marker/Marker.js";
3
+ import { c as p } from "../../chunks/vendor-CehxOAkM.js";
4
+ import { s as l } from "../../chunks/utils-BtcCJ4_U.js";
5
+ import { ETextSize as o } from "../Typography/enums.js";
6
+ import { Text as u } from "../Typography/Text.js";
7
+ import { EComponentSize as e } from "../../enums/EComponentSize.js";
8
+ import { createSizeToClassNameMap as d } from "../../utils/classNameMaps.js";
9
+ const x = "markerStatus__68b5f264", _ = "markerContainer__aea8d55c", T = "markerStatusDescription__ee72d699", f = "md__3a9cdd4c", C = "markerStatusText__17faaa01", M = "lg__977daca1", a = {
10
+ markerStatus: x,
11
+ markerContainer: _,
12
+ markerStatusDescription: T,
13
+ md: f,
14
+ markerStatusText: C,
15
+ lg: M
16
+ }, N = {
17
+ [e.MD]: o.B4,
18
+ [e.LG]: o.B3
19
+ }, D = d(a), y = ({
20
+ children: c,
21
+ className: i,
22
+ description: s,
23
+ status: m,
24
+ size: t = e.MD
25
+ }) => {
26
+ const n = p(a.markerStatus, D[t], l[m], i);
27
+ return /* @__PURE__ */ k("div", { className: n, "data-tx": "1.2.0", children: [
28
+ /* @__PURE__ */ r("div", { className: a.markerContainer, children: /* @__PURE__ */ r(S, { status: m, size: t }) }),
29
+ /* @__PURE__ */ r(u, { size: N[t], className: a.markerStatusText, children: c }),
30
+ s && /* @__PURE__ */ r("div", { className: a.markerStatusDescription, children: s })
31
+ ] });
32
+ };
33
+ export {
34
+ y as MarkerStatus
35
+ };
36
+ //# sourceMappingURL=MarkerStatus.js.map
@@ -0,0 +1,5 @@
1
+ import { MarkerStatus as a } from "./MarkerStatus.js";
2
+ export {
3
+ a as MarkerStatus
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,25 @@
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import d from "react";
3
+ import { c as o } from "../../chunks/vendor-CehxOAkM.js";
4
+ import { OrderedListItem as i } from "./OrderedListItem.js";
5
+ const m = "orderedList__9271e922", a = {
6
+ orderedList: m
7
+ }, c = Object.assign(
8
+ d.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ s(
9
+ "ol",
10
+ {
11
+ className: o(a.orderedList, e),
12
+ ...r,
13
+ "data-tx": "1.2.0",
14
+ ref: t
15
+ }
16
+ )),
17
+ {
18
+ Item: i
19
+ }
20
+ );
21
+ c.displayName = "OrderedList";
22
+ export {
23
+ c as OrderedList
24
+ };
25
+ //# sourceMappingURL=OrderedList.js.map
@@ -0,0 +1,27 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import m from "react";
3
+ import { c as s } from "../../chunks/vendor-CehxOAkM.js";
4
+ import "../Typography/Title.js";
5
+ import { Text as i } from "../Typography/Text.js";
6
+ import "../Typography/Caption.js";
7
+ import { ETextSize as d } from "../Typography/enums.js";
8
+ const a = "orderedListItem__b202595c", p = {
9
+ orderedListItem: a
10
+ }, c = m.forwardRef(
11
+ ({ className: t, ...e }, r) => /* @__PURE__ */ o(
12
+ i,
13
+ {
14
+ className: s(p.orderedListItem, t),
15
+ size: d.B3,
16
+ tag: "li",
17
+ ...e,
18
+ "data-tx": "1.2.0",
19
+ ref: r
20
+ }
21
+ )
22
+ );
23
+ c.displayName = "OrderedListItem";
24
+ export {
25
+ c as OrderedListItem
26
+ };
27
+ //# sourceMappingURL=OrderedListItem.js.map
@@ -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-BTSQ5G6t.js";
7
+ import { s as r } from "../../chunks/Overlay.module-BghrPKKn.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-BTSQ5G6t.js";
3
+ import { c as t } from "../../chunks/vendor-CehxOAkM.js";
4
+ import { s as a } from "../../chunks/Overlay.module-BghrPKKn.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-BTSQ5G6t.js";
5
+ import { s as e } from "../../chunks/Overlay.module-BghrPKKn.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-DfMBQJob.js";
7
+ import { s as d } from "../../chunks/Page.module-D6xCdUbr.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-DfMBQJob.js";
4
+ import { c as t } from "../../../chunks/vendor-CehxOAkM.js";
5
+ import { s as f } from "../../../chunks/Page.module-D6xCdUbr.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-DfMBQJob.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-D6xCdUbr.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-DfMBQJob.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-D6xCdUbr.js";
10
+ const H = Object.assign(
11
+ c.forwardRef(({ className: t, type: f = i.FIRST, ...s }, r) => {
12
+ const d = u(null);
13
+ T(d, "top");
14
+ const n = (a) => {
15
+ d.current = a, typeof r == "function" ? r(a) : r && (r.current = a);
16
+ }, l = m(t, p.headerPageTypeSecond);
17
+ return f === i.SECOND ? /* @__PURE__ */ o(
18
+ y,
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__93fa2f4b", s = {
4
+ const r = "paginationExtended__a098f338", 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.0",
11
+ "data-tx": "1.2.0",
12
12
  ...n,
13
13
  ref: e,
14
14
  children: t
@@ -3,11 +3,11 @@ import c from "react";
3
3
  import { ButtonIcon as p } from "../../Button/ButtonIcon.js";
4
4
  import { EButtonIconShape as m } from "../../Button/enums.js";
5
5
  import { EPaginationNavigationIconDirection as s } from "../enums.js";
6
- import o from "@sberbusiness/icons-next/CaretleftStrokeSrvIcon24";
7
- const g = "paginationNavigationButton__aefd53cb", N = "directionIconNext__d0331238", n = {
6
+ import { CaretleftStrokeSrvIcon24 as o } from "@sberbusiness/icons-next";
7
+ const g = "paginationNavigationButton__4e277988", N = "directionIconNext__f080585e", n = {
8
8
  paginationNavigationButton: g,
9
9
  directionIconNext: N
10
- }, d = c.forwardRef(
10
+ }, f = c.forwardRef(
11
11
  ({ direction: i, ...a }, e) => {
12
12
  const r = i === s.BACK;
13
13
  return /* @__PURE__ */ t(
@@ -22,8 +22,8 @@ const g = "paginationNavigationButton__aefd53cb", N = "directionIconNext__d03312
22
22
  );
23
23
  }
24
24
  );
25
- d.displayName = "PaginationNavigationButton";
25
+ f.displayName = "PaginationNavigationButton";
26
26
  export {
27
- d as PaginationNavigationButton
27
+ f as PaginationNavigationButton
28
28
  };
29
29
  //# sourceMappingURL=PaginationNavigationButton.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import e from "react";
3
- import { c as d } from "../../../chunks/vendor-D-uL_icH.js";
4
- const g = "paginationNavigationExtended__fc2d372a", r = {
3
+ import { c as d } from "../../../chunks/vendor-CehxOAkM.js";
4
+ const g = "paginationNavigationExtended__b45b89a6", 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__eaddcd68", u = "currentPage__2c5e95c4", a = {
3
+ import { c } from "../../../chunks/vendor-CehxOAkM.js";
4
+ const s = "paginationPageButton__d2028b65", u = "currentPage__51807c3f", 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__8ba3bc74", r = {
4
+ const t = "pageEllipsis__df36ec91", r = {
5
5
  pageEllipsis: t
6
6
  }, n = o.forwardRef(
7
- ({ children: s, className: a, ...i }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, a), ...i, ref: l, children: s })
7
+ ({ children: s, className: i, ...a }, l) => /* @__PURE__ */ p("span", { className: e(r.pageEllipsis, i), ...a, ref: l, children: s })
8
8
  );
9
9
  n.displayName = "PaginationPageEllipsis";
10
10
  export {
@@ -1,20 +1,20 @@
1
- import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
- import g, { useRef as S } from "react";
3
- import { f as x, c as N } from "../../../chunks/vendor-D-uL_icH.js";
1
+ import { jsxs as g, jsx as t } from "react/jsx-runtime";
2
+ import S, { useRef as f } from "react";
3
+ import { a as x, c as N } from "../../../chunks/vendor-CehxOAkM.js";
4
4
  import "../../Typography/Title.js";
5
5
  import { Text as v } from "../../Typography/Text.js";
6
6
  import "../../Typography/Caption.js";
7
7
  import { ETextSize as _ } from "../../Typography/enums.js";
8
- const h = "paginationSelect__47a62f36", b = "paginationSelectControl__353ad334", o = {
8
+ const h = "paginationSelect__5ed26ede", b = "paginationSelectControl__1da96928", o = {
9
9
  paginationSelect: h,
10
10
  paginationSelectControl: b
11
- }, y = g.forwardRef(
11
+ }, y = S.forwardRef(
12
12
  ({ paginationLabel: c, className: s, hidden: d, options: i, value: n, onChange: a }, m) => {
13
- const l = S(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
13
+ const l = f(`Pagination-${x()}`), p = i && i.length > 0 ? i : [10, 20, 50, 100], u = (e) => {
14
14
  const r = Number(e.target.value);
15
15
  Number.isNaN(r) || a == null || a(r);
16
16
  };
17
- return d ? null : /* @__PURE__ */ f("div", { className: N(o.paginationSelect, s), ref: m, children: [
17
+ return d ? null : /* @__PURE__ */ g("div", { className: N(o.paginationSelect, s), ref: m, children: [
18
18
  /* @__PURE__ */ t(v, { size: _.B3, id: l.current, children: c }),
19
19
  /* @__PURE__ */ t("div", { className: o.paginationSelectControl, children: /* @__PURE__ */ t(
20
20
  "select",
@@ -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__a228ac39", y = "md__99c5e64f", x = "lg__9bd8c338", R = "nonempty__479eb95e", u = "disabled__0c07e456", I = "radio__02eaf8bf", g = "radioIcon__7f2be5d4", 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(
1
+ import { jsxs as f, jsx as t } from "react/jsx-runtime";
2
+ import N from "react";
3
+ import { c as n } 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 r } 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__8e78cb1e", T = "md__8280a700", M = "nonempty__9b65a847", u = "lg__83b7b97e", I = "disabled__27af944a", R = "radio__4364936a", S = "radioIcon__30bea612", a = {
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]: r.B2,
20
+ [i.MD]: r.B3
21
+ }, C = z(a), h = N.forwardRef((c, l) => {
22
+ const { children: s, className: d, disabled: m, labelAttributes: o, size: e = i.MD, ...p } = c, _ = n(a.radio, d, C[e]), b = n(
15
23
  a.label,
16
- a[d],
17
- { [a.disabled]: !!e, [a.nonempty]: !!o },
18
- s == null ? void 0 : s.className
24
+ a[e],
25
+ { [a.disabled]: !!m, [a.nonempty]: !!s },
26
+ o == null ? void 0 : o.className
19
27
  );
20
- return /* @__PURE__ */ b("label", { ...s, className: _, "data-tx": "1.1.0", 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__ */ f("label", { ...o, className: b, "data-tx": "1.2.0", children: [
29
+ /* @__PURE__ */ t("input", { type: "radio", className: _, disabled: m, ...p, ref: l }),
30
+ /* @__PURE__ */ t("span", { className: a.radioIcon }),
31
+ s && /* @__PURE__ */ t(x, { size: g[e], children: s })
24
32
  ] });
25
33
  });
26
34
  h.displayName = "Radio";
@@ -1,16 +1,16 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { c as s } from "../../chunks/vendor-D-uL_icH.js";
3
- const c = "radioXGroup__b5727c09", _ = "label__a228ac39", n = {
2
+ import { c as s } from "../../chunks/vendor-CehxOAkM.js";
3
+ const c = "radioXGroup__9d9ca041", _ = "label__8e78cb1e", e = {
4
4
  radioXGroup: c,
5
- "indent-12": "indent-12__e8fd8ebf",
5
+ "indent-12": "indent-12__1e69ab43",
6
6
  label: _,
7
- "indent-16": "indent-16__1a5d9f91",
8
- "indent-20": "indent-20__b9096aeb",
9
- "indent-24": "indent-24__2c389c32",
10
- "indent-28": "indent-28__752184a6",
11
- "indent-32": "indent-32__af1075cf"
12
- }, l = (e) => {
13
- const { children: d, className: i, indent: o = 12, ...t } = e, a = s(n.radioXGroup, n[`indent-${o}`], i);
7
+ "indent-16": "indent-16__97c632d6",
8
+ "indent-20": "indent-20__1ff831ae",
9
+ "indent-24": "indent-24__33ee0cf9",
10
+ "indent-28": "indent-28__44eb9e4b",
11
+ "indent-32": "indent-32__d563ae69"
12
+ }, l = (n) => {
13
+ const { children: d, className: i, indent: o = 12, ...t } = n, a = s(e.radioXGroup, e[`indent-${o}`], i);
14
14
  return /* @__PURE__ */ r("div", { className: a, role: "radiogroup", ...t, children: d });
15
15
  };
16
16
  l.displayName = "RadioXGroup";
@@ -1,10 +1,10 @@
1
- import { jsx as i } from "react/jsx-runtime";
2
- import { c as e } from "../../chunks/vendor-D-uL_icH.js";
3
- const p = "radioYGroup__300812ec", t = {
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { c as e } from "../../chunks/vendor-CehxOAkM.js";
3
+ const p = "radioYGroup__01e5a380", t = {
4
4
  radioYGroup: p
5
5
  }, d = (o) => {
6
- const { children: r, className: s, ...a } = o, c = e(t.radioYGroup, s);
7
- return /* @__PURE__ */ i("div", { className: c, role: "radiogroup", ...a, children: r });
6
+ const { children: r, className: s, ...a } = o, i = e(t.radioYGroup, s);
7
+ return /* @__PURE__ */ c("div", { className: i, role: "radiogroup", ...a, children: r });
8
8
  };
9
9
  d.displayName = "RadioYGroup";
10
10
  export {
@@ -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,11 +1,11 @@
1
- import { jsx as c } from "react/jsx-runtime";
2
- import { c as d } from "../../chunks/vendor-D-uL_icH.js";
3
- const m = "row__e936ac25", i = "noPaddingBottom__af38257c", o = {
4
- row: m,
1
+ import { jsx as d } from "react/jsx-runtime";
2
+ import { c as m } from "../../chunks/vendor-CehxOAkM.js";
3
+ const a = "row__6712f8b0", i = "noPaddingBottom__b361580c", o = {
4
+ row: a,
5
5
  noPaddingBottom: i
6
6
  }, e = ({ children: t, className: n, paddingBottom: s = !0, ...r }) => {
7
- const a = d(n, o.row, { [o.noPaddingBottom]: !s });
8
- return /* @__PURE__ */ c("div", { className: a, ...r, children: t });
7
+ const c = m(n, o.row, { [o.noPaddingBottom]: !s });
8
+ return /* @__PURE__ */ d("div", { className: c, ...r, children: t });
9
9
  };
10
10
  e.displayName = "Row";
11
11
  export {