@astral/ui 4.69.0 → 4.71.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 (305) hide show
  1. package/components/Accordion/styles.d.ts +1 -0
  2. package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
  3. package/components/ActionGroup/MainActions/styles.d.ts +2 -1
  4. package/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
  5. package/components/Alert/styles.d.ts +4 -1
  6. package/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
  7. package/components/AutoSaveIndicator/styles.d.ts +4 -1
  8. package/components/BottomDrawer/styles.d.ts +1 -0
  9. package/components/Button/Button.d.ts +2 -1
  10. package/components/Button/types.d.ts +4 -3
  11. package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
  12. package/components/CheckableTag/CheckableTag.d.ts +0 -1
  13. package/components/CheckableTag/CheckableTag.js +0 -1
  14. package/components/Chip/styles.d.ts +1 -0
  15. package/components/CodeField/styles.d.ts +1 -0
  16. package/components/CollapsibleTypography/CollapsibleTypography.d.ts +1 -0
  17. package/components/CollapsibleTypography/styles.d.ts +3 -1
  18. package/components/ConfirmAction/styles.d.ts +1 -0
  19. package/components/ConfirmDialog/styles.d.ts +2 -1
  20. package/components/CopyTypography/styles.d.ts +1 -0
  21. package/components/CopyTypography/useLogic/useLogic.d.ts +1 -0
  22. package/components/DashboardAlert/styles.d.ts +2 -1
  23. package/components/DashboardLayout/Container/styles.js +1 -1
  24. package/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  25. package/components/DashboardLayout/DashboardLayout.js +1 -1
  26. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
  27. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
  28. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
  29. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +6 -6
  30. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +8 -8
  31. package/{node/components → components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
  32. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
  33. package/{node/components → components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
  34. package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
  35. package/components/DashboardLayout/Header/styles.d.ts +2 -1
  36. package/components/DashboardLayout/Header/styles.js +1 -1
  37. package/components/DashboardLayout/index.d.ts +1 -0
  38. package/components/DashboardLayout/public.d.ts +1 -1
  39. package/components/DashboardSidebarButton/styles.d.ts +2 -1
  40. package/components/DashboardSidebarPopover/styles.d.ts +1 -0
  41. package/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
  42. package/components/DataGrid/Cell/Cell.js +5 -2
  43. package/components/DataGrid/Cell/constants.d.ts +1 -0
  44. package/components/DataGrid/Cell/constants.js +1 -0
  45. package/components/DataGrid/Cell/styles.d.ts +1 -0
  46. package/components/DataGrid/Cell/styles.js +4 -0
  47. package/components/DataGrid/Cell/useLogic/useLogic.d.ts +1 -0
  48. package/components/DataGrid/Cell/useLogic/useLogic.js +6 -2
  49. package/components/DataGrid/DataGrid.js +2 -2
  50. package/components/DataGrid/DataGridContext/DataGridContext.d.ts +1 -0
  51. package/components/DataGrid/DataGridContext/DataGridContext.js +1 -0
  52. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -1
  53. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +3 -1
  54. package/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
  55. package/components/DataGrid/Row/styles.d.ts +3 -1
  56. package/components/DataGrid/types.d.ts +8 -0
  57. package/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
  58. package/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
  59. package/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
  60. package/components/DataGridPagination/styles.d.ts +1 -0
  61. package/components/DataGridPaginationContainer/styles.d.ts +1 -0
  62. package/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -0
  63. package/components/DatePicker/styles.d.ts +2 -1
  64. package/components/Description/Description.d.ts +4 -0
  65. package/components/Description/Description.js +5 -2
  66. package/components/Description/Value/Value.d.ts +1 -1
  67. package/components/Description/Value/styles.d.ts +2 -0
  68. package/components/Description/constants.d.ts +1 -0
  69. package/components/Description/constants.js +1 -0
  70. package/components/Description/styles.js +4 -0
  71. package/components/DescriptionList/DescriptionList.d.ts +1 -1
  72. package/components/DescriptionList/DescriptionList.js +4 -3
  73. package/components/DescriptionList/styles.d.ts +2 -1
  74. package/components/DescriptionList/types.d.ts +2 -2
  75. package/components/Fieldset/styles.d.ts +2 -0
  76. package/components/Filename/styles.d.ts +1 -0
  77. package/components/FlowButton/styles.d.ts +3 -1
  78. package/components/IconButton/IconButton.d.ts +2 -1
  79. package/components/IconButton/styles.d.ts +2 -1
  80. package/components/JsonViewer/NodeValue/styles.d.ts +3 -0
  81. package/components/LegacyNotification/NotificationTemplate/styles.d.ts +4 -1
  82. package/components/MenuGroup/styles.d.ts +1 -0
  83. package/components/MenuOrganization/OrganizationButton/styles.d.ts +3 -1
  84. package/components/MenuOrganization/OrganizationGroup/styles.d.ts +1 -0
  85. package/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
  86. package/components/MenuOrganization/styles.d.ts +1 -0
  87. package/components/MinimalisticPagination/styles.d.ts +1 -0
  88. package/components/NavMenu/Item/ItemButton/styles.d.ts +1 -0
  89. package/components/NewStepper/Step/Description/styles.d.ts +1 -0
  90. package/components/NewStepper/Step/Label/styles.d.ts +2 -0
  91. package/components/NewStepper/Step/styles.d.ts +2 -1
  92. package/components/NotFoundPage/styles.d.ts +2 -0
  93. package/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
  94. package/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
  95. package/components/Notification/NotificationTemplate/styles.d.ts +4 -1
  96. package/components/NotificationList/ListItem/ListItem.js +1 -1
  97. package/components/NotificationList/ListItem/styles.d.ts +1 -0
  98. package/components/OverflowTypography/OverflowTypography.d.ts +1 -0
  99. package/components/OverflowTypography/styles.d.ts +2 -0
  100. package/components/PageContent/PageContentHeader/Title/styles.d.ts +1 -0
  101. package/components/PageHeader/HeaderContent/Description/styles.d.ts +1 -0
  102. package/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
  103. package/components/PageHeader/PageActions/PageActions.d.ts +1 -1
  104. package/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
  105. package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
  106. package/components/PageHeader/PageActions/styles.d.ts +2 -1
  107. package/components/PageHeader/Title/styles.d.ts +3 -1
  108. package/components/Pagination/PaginationItem/PaginationItem.js +1 -1
  109. package/components/Pagination/PaginationItem/styles.d.ts +3 -1
  110. package/components/PinButton/styles.d.ts +3 -1
  111. package/components/Product/styles.d.ts +2 -1
  112. package/components/ProductSwitcher/Content/styles.d.ts +1 -0
  113. package/components/Profile/styles.d.ts +2 -1
  114. package/components/SearchField/styles.d.ts +2 -1
  115. package/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
  116. package/components/Tag/styles.d.ts +2 -1
  117. package/components/Tree/TreeItem/styles.d.ts +4 -1
  118. package/components/Typography/Typography.d.ts +1 -0
  119. package/components/Typography/Typography.js +13 -4
  120. package/components/Typography/constants.d.ts +1 -0
  121. package/components/Typography/constants.js +2 -1
  122. package/components/Typography/styles.js +4 -0
  123. package/components/Typography/types.d.ts +4 -0
  124. package/components/WelcomeScreen/styles.d.ts +2 -0
  125. package/components/fileUploading/FileInfo/styles.d.ts +1 -0
  126. package/components/index.d.ts +1 -1
  127. package/components/placeholders/Placeholder/styles.d.ts +2 -0
  128. package/hook-form/EditableText/EditingForm/styles.d.ts +3 -1
  129. package/hook-form/EditableText/styles.d.ts +1 -0
  130. package/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
  131. package/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
  132. package/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
  133. package/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
  134. package/hook-form/FormWizard/Footer/styles.d.ts +2 -1
  135. package/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
  136. package/node/components/Accordion/styles.d.ts +1 -0
  137. package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +3 -2
  138. package/node/components/ActionGroup/MainActions/styles.d.ts +2 -1
  139. package/node/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +2 -1
  140. package/node/components/Alert/styles.d.ts +4 -1
  141. package/node/components/AutoSaveIndicator/ErrorState/styles.d.ts +2 -1
  142. package/node/components/AutoSaveIndicator/styles.d.ts +4 -1
  143. package/node/components/BottomDrawer/styles.d.ts +1 -0
  144. package/node/components/Button/Button.d.ts +2 -1
  145. package/node/components/Button/types.d.ts +4 -3
  146. package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +2 -1
  147. package/node/components/CheckableTag/CheckableTag.d.ts +0 -1
  148. package/node/components/CheckableTag/CheckableTag.js +0 -1
  149. package/node/components/Chip/styles.d.ts +1 -0
  150. package/node/components/CodeField/styles.d.ts +1 -0
  151. package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +1 -0
  152. package/node/components/CollapsibleTypography/styles.d.ts +3 -1
  153. package/node/components/ConfirmAction/styles.d.ts +1 -0
  154. package/node/components/ConfirmDialog/styles.d.ts +2 -1
  155. package/node/components/CopyTypography/styles.d.ts +1 -0
  156. package/node/components/CopyTypography/useLogic/useLogic.d.ts +1 -0
  157. package/node/components/DashboardAlert/styles.d.ts +2 -1
  158. package/node/components/DashboardLayout/Container/styles.js +6 -6
  159. package/node/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  160. package/node/components/DashboardLayout/DashboardLayout.js +1 -1
  161. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.js +5 -5
  162. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.js +1 -1
  163. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.js +1 -1
  164. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.d.ts +1 -1
  165. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/styles.js +12 -12
  166. package/{components → node/components/DashboardLayout}/DashboardSidebar/types.d.ts +1 -1
  167. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.js +3 -3
  168. package/{components → node/components/DashboardLayout}/DashboardSidebar/useLogic/useLogic.d.ts +2 -2
  169. package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/useLogic.js +7 -7
  170. package/node/components/DashboardLayout/Header/styles.d.ts +2 -1
  171. package/node/components/DashboardLayout/Header/styles.js +20 -20
  172. package/node/components/DashboardLayout/index.d.ts +1 -0
  173. package/node/components/DashboardLayout/public.d.ts +1 -1
  174. package/node/components/DashboardSidebarButton/styles.d.ts +2 -1
  175. package/node/components/DashboardSidebarPopover/styles.d.ts +1 -0
  176. package/node/components/DashboardSidebarSkeleton/DashboardSidebarSkeleton.js +1 -1
  177. package/node/components/DataGrid/Cell/Cell.js +5 -2
  178. package/node/components/DataGrid/Cell/constants.d.ts +1 -0
  179. package/node/components/DataGrid/Cell/constants.js +1 -0
  180. package/node/components/DataGrid/Cell/styles.d.ts +1 -0
  181. package/node/components/DataGrid/Cell/styles.js +4 -0
  182. package/node/components/DataGrid/Cell/useLogic/useLogic.d.ts +1 -0
  183. package/node/components/DataGrid/Cell/useLogic/useLogic.js +5 -1
  184. package/node/components/DataGrid/DataGrid.js +2 -2
  185. package/node/components/DataGrid/DataGridContext/DataGridContext.d.ts +1 -0
  186. package/node/components/DataGrid/DataGridContext/DataGridContext.js +1 -0
  187. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -1
  188. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +3 -1
  189. package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +2 -1
  190. package/node/components/DataGrid/Row/styles.d.ts +3 -1
  191. package/node/components/DataGrid/types.d.ts +8 -0
  192. package/node/components/DataGridActionCell/DataGridMainActions/Action/MainIconButton/styles.d.ts +2 -1
  193. package/node/components/DataGridActionCell/DataGridMainActions/Action/MobileMainButton/styles.d.ts +2 -1
  194. package/node/components/DataGridActionCell/SecondaryActionsButton/styles.d.ts +2 -1
  195. package/node/components/DataGridPagination/styles.d.ts +1 -0
  196. package/node/components/DataGridPaginationContainer/styles.d.ts +1 -0
  197. package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -0
  198. package/node/components/DatePicker/styles.d.ts +2 -1
  199. package/node/components/Description/Description.d.ts +4 -0
  200. package/node/components/Description/Description.js +5 -2
  201. package/node/components/Description/Value/Value.d.ts +1 -1
  202. package/node/components/Description/Value/styles.d.ts +2 -0
  203. package/node/components/Description/constants.d.ts +1 -0
  204. package/node/components/Description/constants.js +1 -0
  205. package/node/components/Description/styles.js +4 -0
  206. package/node/components/DescriptionList/DescriptionList.d.ts +1 -1
  207. package/node/components/DescriptionList/DescriptionList.js +4 -3
  208. package/node/components/DescriptionList/styles.d.ts +2 -1
  209. package/node/components/DescriptionList/types.d.ts +2 -2
  210. package/node/components/Fieldset/styles.d.ts +2 -0
  211. package/node/components/Filename/styles.d.ts +1 -0
  212. package/node/components/FlowButton/styles.d.ts +3 -1
  213. package/node/components/IconButton/IconButton.d.ts +2 -1
  214. package/node/components/IconButton/styles.d.ts +2 -1
  215. package/node/components/JsonViewer/NodeValue/styles.d.ts +3 -0
  216. package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +4 -1
  217. package/node/components/MenuGroup/styles.d.ts +1 -0
  218. package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +3 -1
  219. package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +1 -0
  220. package/node/components/MenuOrganization/OrganizationItem/styles.d.ts +2 -1
  221. package/node/components/MenuOrganization/styles.d.ts +1 -0
  222. package/node/components/MinimalisticPagination/styles.d.ts +1 -0
  223. package/node/components/NavMenu/Item/ItemButton/styles.d.ts +1 -0
  224. package/node/components/NewStepper/Step/Description/styles.d.ts +1 -0
  225. package/node/components/NewStepper/Step/Label/styles.d.ts +2 -0
  226. package/node/components/NewStepper/Step/styles.d.ts +2 -1
  227. package/node/components/NotFoundPage/styles.d.ts +2 -0
  228. package/node/components/Notification/NotificationStackContainer/NotificationStackContainer.js +1 -1
  229. package/node/components/Notification/NotificationStackContainer/styles.d.ts +2 -1
  230. package/node/components/Notification/NotificationTemplate/styles.d.ts +4 -1
  231. package/node/components/NotificationList/ListItem/ListItem.js +1 -1
  232. package/node/components/NotificationList/ListItem/styles.d.ts +1 -0
  233. package/node/components/OverflowTypography/OverflowTypography.d.ts +1 -0
  234. package/node/components/OverflowTypography/styles.d.ts +2 -0
  235. package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +1 -0
  236. package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +1 -0
  237. package/node/components/PageHeader/MobilePageActions/styles.d.ts +1 -1
  238. package/node/components/PageHeader/PageActions/PageActions.d.ts +1 -1
  239. package/node/components/PageHeader/PageActions/SecondaryActions/styles.d.ts +2 -1
  240. package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +2 -1
  241. package/node/components/PageHeader/PageActions/styles.d.ts +2 -1
  242. package/node/components/PageHeader/Title/styles.d.ts +3 -1
  243. package/node/components/Pagination/PaginationItem/PaginationItem.js +1 -1
  244. package/node/components/Pagination/PaginationItem/styles.d.ts +3 -1
  245. package/node/components/PinButton/styles.d.ts +3 -1
  246. package/node/components/Product/styles.d.ts +2 -1
  247. package/node/components/ProductSwitcher/Content/styles.d.ts +1 -0
  248. package/node/components/Profile/styles.d.ts +2 -1
  249. package/node/components/SearchField/styles.d.ts +2 -1
  250. package/node/components/StaticCalendar/StaticCalendarButton/styles.d.ts +2 -1
  251. package/node/components/Tag/styles.d.ts +2 -1
  252. package/node/components/Tree/TreeItem/styles.d.ts +4 -1
  253. package/node/components/Typography/Typography.d.ts +1 -0
  254. package/node/components/Typography/Typography.js +13 -4
  255. package/node/components/Typography/constants.d.ts +1 -0
  256. package/node/components/Typography/constants.js +2 -1
  257. package/node/components/Typography/styles.js +4 -0
  258. package/node/components/Typography/types.d.ts +4 -0
  259. package/node/components/WelcomeScreen/styles.d.ts +2 -0
  260. package/node/components/fileUploading/FileInfo/styles.d.ts +1 -0
  261. package/node/components/index.d.ts +1 -1
  262. package/node/components/placeholders/Placeholder/styles.d.ts +2 -0
  263. package/node/hook-form/EditableText/EditingForm/styles.d.ts +3 -1
  264. package/node/hook-form/EditableText/styles.d.ts +1 -0
  265. package/node/hook-form/FormFilters/FormFiltersDialog/ResetButton/styles.d.ts +2 -1
  266. package/node/hook-form/FormPageLayout/FormPageFooter/SecondaryActions/styles.d.ts +4 -2
  267. package/node/hook-form/FormPageLayout/FormPageFooter/styles.d.ts +2 -1
  268. package/node/hook-form/FormPageLayoutBase/FormMobileActions/styles.d.ts +2 -1
  269. package/node/hook-form/FormWizard/Footer/styles.d.ts +2 -1
  270. package/node/hook-form/FormWizardPageLayout/FormWizardFooter/styles.d.ts +2 -1
  271. package/package.json +1 -1
  272. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
  273. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
  274. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
  275. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
  276. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
  277. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
  278. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
  279. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
  280. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
  281. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
  282. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
  283. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
  284. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
  285. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
  286. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
  287. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
  288. /package/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
  289. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/DashboardSidebar.d.ts +0 -0
  290. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.d.ts +0 -0
  291. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/SidebarNav.js +0 -0
  292. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/constants.d.ts +0 -0
  293. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.d.ts +0 -0
  294. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/SidebarNav/index.js +0 -0
  295. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/constants.d.ts +0 -0
  296. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.d.ts +0 -0
  297. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/index.js +0 -0
  298. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/types.js +0 -0
  299. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.d.ts +0 -0
  300. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/index.js +0 -0
  301. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.d.ts +0 -0
  302. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/index.js +0 -0
  303. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/hooks/useCloseSidebarOnMobile/useCloseSidebarOnMobile.d.ts +0 -0
  304. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.d.ts +0 -0
  305. /package/node/components/{DashboardSidebar → DashboardLayout/DashboardSidebar}/useLogic/index.js +0 -0
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { dashboardSidebarClassnames } from '../DashboardSidebar/constants';
2
+ import { dashboardSidebarClassnames } from '../DashboardLayout/DashboardSidebar/constants';
3
3
  import { Skeleton } from '../Skeleton';
4
4
  import { classNames } from '../utils/classNames';
5
5
  import { ItemWrapper, ListWrapper, SkeletonDescription, Wrapper, } from './styles';
@@ -30,6 +30,9 @@ const cellContentCva = cva(dataGridCellClassnames.cellContent, {
30
30
  isActionColumn: {
31
31
  true: dataGridCellClassnames.actionColumn,
32
32
  },
33
+ isTabularNums: {
34
+ true: dataGridCellClassnames.tabularNums,
35
+ },
33
36
  },
34
37
  });
35
38
  const columnLabelCva = cva(dataGridCellClassnames.columnLabel, {
@@ -40,7 +43,7 @@ const columnLabelCva = cva(dataGridCellClassnames.columnLabel, {
40
43
  },
41
44
  });
42
45
  export const Cell = (props) => {
43
- const { formattedValue, hasStartAdornment, isActionColumn, label, hideTitleOnMobile, } = useLogic(props);
46
+ const { formattedValue, hasStartAdornment, isActionColumn, label, hideTitleOnMobile, isTabularNums, } = useLogic(props);
44
47
  const { className, startAdornment, row, cell, isDisabled, isHidePersonalData, isHideOnMobile, } = props;
45
48
  const { renderCell, align = 'left' } = cell;
46
49
  const hidePersonalDataClassname = useHidePersonalData({
@@ -51,7 +54,7 @@ export const Cell = (props) => {
51
54
  isDisabled,
52
55
  withStartAdornment: hasStartAdornment,
53
56
  align,
54
- })), ...getInertProps(isDisabled), children: [startAdornment && startAdornment, _jsxs(CellContent, { className: cellContentCva({ isActionColumn }), children: [_jsx(ColumnLabel, { variant: "caption", color: "textSecondary", className: columnLabelCva({
57
+ })), ...getInertProps(isDisabled), children: [startAdornment && startAdornment, _jsxs(CellContent, { className: cellContentCva({ isActionColumn, isTabularNums }), children: [_jsx(ColumnLabel, { variant: "caption", color: "textSecondary", className: columnLabelCva({
55
58
  hidden: hideTitleOnMobile || isActionColumn,
56
59
  }), children: label }), renderCell?.(row), !renderCell && (_jsx(OverflowTypography, { rowsCount: 2, tooltipProps: { className: hidePersonalDataClassname }, children: _jsx(_Fragment, { children: formattedValue }) }))] })] }));
57
60
  };
@@ -11,4 +11,5 @@ export declare const dataGridCellClassnames: {
11
11
  alignCenter: string;
12
12
  alignRight: string;
13
13
  grouped: string;
14
+ tabularNums: string;
14
15
  };
@@ -12,4 +12,5 @@ export const dataGridCellClassnames = {
12
12
  alignCenter: createUIKitClassname('data-grid__cell_align-center'),
13
13
  alignRight: createUIKitClassname('data-grid__cell_align-right'),
14
14
  grouped: createUIKitClassname('data-grid__cell_grouped'),
15
+ tabularNums: createUIKitClassname('data-grid__cell_tabular-nums'),
15
16
  };
@@ -10,6 +10,7 @@ export declare const ColumnLabel: import("../../styled").StyledComponent<import(
10
10
  component?: import("../../Typography/types").ComponentProp | undefined;
11
11
  isUpperCase?: boolean | undefined;
12
12
  withoutCalt?: boolean | undefined;
13
+ isTabularNums?: boolean | undefined;
13
14
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
14
15
  theme?: import("@emotion/react").Theme | undefined;
15
16
  }, {}, {}>;
@@ -83,6 +83,10 @@ export const ColumnLabel = styled(Typography) `
83
83
  export const CellContent = styled.div `
84
84
  min-width: 0;
85
85
 
86
+ &.${dataGridCellClassnames.tabularNums} {
87
+ font-feature-settings: "tnum" 1;
88
+ }
89
+
86
90
  ${({ theme }) => theme.breakpoints.down('sm')} {
87
91
  display: flex;
88
92
  flex-direction: column;
@@ -7,5 +7,6 @@ export declare const useLogic: <TData extends Record<string, unknown>>({ row, ce
7
7
  isActionColumn: boolean;
8
8
  label: string | undefined;
9
9
  hideTitleOnMobile: boolean | undefined;
10
+ isTabularNums: boolean | undefined;
10
11
  };
11
12
  export {};
@@ -1,6 +1,9 @@
1
- import { useMemo } from 'react';
1
+ import { useContext, useMemo } from 'react';
2
+ import { DataGridContext } from '../../DataGridContext';
2
3
  export const useLogic = ({ row, cell, emptyCellValue, startAdornment, }) => {
3
- const { format, field, label, hideTitleOnMobile } = cell;
4
+ const { isTabularNums: contextIsTabularNums } = useContext(DataGridContext);
5
+ const { format, field, label, hideTitleOnMobile, isTabularNums: cellIsTabularNums, } = cell;
6
+ const isTabularNums = cellIsTabularNums ?? contextIsTabularNums;
4
7
  const isValidValue = (value) => {
5
8
  return Boolean(value) || value === 0;
6
9
  };
@@ -21,5 +24,6 @@ export const useLogic = ({ row, cell, emptyCellValue, startAdornment, }) => {
21
24
  isActionColumn,
22
25
  label,
23
26
  hideTitleOnMobile,
27
+ isTabularNums,
24
28
  };
25
29
  };
@@ -50,7 +50,7 @@ const bodyCva = cva(dataGridClassnames.body, {
50
50
  export const DataGrid = (props) => {
51
51
  const { dataGridClassName, isDataGridDisabled, treeRenderConfig, headColumns, headProps, bodyProps, gridColumns, loaderProps, renderRows, isAllowHorizontalScroll, isHideHead, hasPinnedColumns, contentStateProps, rowHoverProps, containerRef, sections, isNoData, isMobile, mobileSkeletonProps, isLoading, containerCssVars, hasGroupedColumns, gridViewMode, } = useLogic(props);
52
52
  const { emptySymbol } = useContext(ConfigContext);
53
- const { columns, selectedRows = [], minDisplayRows = MIN_DISPLAY_ROWS_BY_DEFAULT, variant = Variant.Tree, footer, noDataPlaceholder, subrows, keyId, activeRowId, emptyCellValue = emptySymbol, onRowClick, noDataOptions, headPreAddon, } = props;
53
+ const { columns, selectedRows = [], minDisplayRows = MIN_DISPLAY_ROWS_BY_DEFAULT, variant = Variant.Tree, footer, noDataPlaceholder, subrows, keyId, activeRowId, emptyCellValue = emptySymbol, onRowClick, noDataOptions, headPreAddon, isTabularNums, } = props;
54
54
  const { moreButtonColumnPosition = 1, isVisibleCollapseButton = true } = subrows || {};
55
55
  const { isInitialExpanded = false, expandedLevel = EXPANDED_LEVEL_BY_DEFAULT, initialVisibleChildrenCount = INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT, } = treeRenderConfig || {};
56
56
  const Wrapper = isDataGridDisabled
@@ -89,7 +89,7 @@ export const DataGrid = (props) => {
89
89
  isDisabled: isDataGridDisabled,
90
90
  }), isDisabled: isDataGridDisabled, headProps: headProps, gridColumns: gridColumns, bodyProps: commonBodyProps, isNoData: isNoData }) }));
91
91
  };
92
- return (_jsx(DataGridContextProvider, { isLoading: isLoading, children: _jsxs(Container, { ref: containerRef, style: containerCssVars, className: classNames(dataGridClassName, dataGridCva({
92
+ return (_jsx(DataGridContextProvider, { isLoading: isLoading, isTabularNums: isTabularNums, children: _jsxs(Container, { ref: containerRef, style: containerCssVars, className: classNames(dataGridClassName, dataGridCva({
93
93
  isAllowHorizontalScroll,
94
94
  hasPinnedColumns,
95
95
  gridViewMode,
@@ -5,5 +5,6 @@ export type DataGridContextProps = {
5
5
  toggleOpenItems: (key: string) => void;
6
6
  toggleOpenMoreItems: (key: string) => void;
7
7
  isLoading?: boolean;
8
+ isTabularNums?: boolean;
8
9
  };
9
10
  export declare const DataGridContext: import("react").Context<DataGridContextProps>;
@@ -5,4 +5,5 @@ export const DataGridContext = createContext({
5
5
  toggleOpenItems: () => undefined,
6
6
  toggleOpenMoreItems: () => undefined,
7
7
  isLoading: false,
8
+ isTabularNums: false,
8
9
  });
@@ -1,7 +1,8 @@
1
1
  import { type ReactNode } from 'react';
2
2
  type DataGridContextProviderProps = {
3
3
  isLoading?: boolean;
4
+ isTabularNums?: boolean;
4
5
  children: ReactNode;
5
6
  };
6
- export declare const DataGridContextProvider: ({ isLoading, children, }: DataGridContextProviderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const DataGridContextProvider: ({ isLoading, isTabularNums, children, }: DataGridContextProviderProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export {};
@@ -5,7 +5,7 @@ const ROW_FLAGS_BY_DEFAULT = {
5
5
  isOpenedItems: true,
6
6
  iOpenedMoreItems: false,
7
7
  };
8
- export const DataGridContextProvider = ({ isLoading, children, }) => {
8
+ export const DataGridContextProvider = ({ isLoading, isTabularNums, children, }) => {
9
9
  const [openedItems, setOpenedItems] = useState({});
10
10
  const checkIsOpened = useCallback((key) => {
11
11
  if (openedItems[key]) {
@@ -44,6 +44,7 @@ export const DataGridContextProvider = ({ isLoading, children, }) => {
44
44
  toggleOpenItems,
45
45
  toggleOpenMoreItems,
46
46
  isLoading,
47
+ isTabularNums,
47
48
  }), [
48
49
  checkIsOpened,
49
50
  checkIsMoreOpened,
@@ -51,6 +52,7 @@ export const DataGridContextProvider = ({ isLoading, children, }) => {
51
52
  toggleOpenMoreItems,
52
53
  isLoading,
53
54
  openedItems,
55
+ isTabularNums,
54
56
  ]);
55
57
  return (_jsx(DataGridContext.Provider, { value: contextValue, children: children }));
56
58
  };
@@ -14,12 +14,13 @@ export declare const MoreButtonRow: import("../../../styled").StyledComponent<{
14
14
  $isShowConnector: boolean;
15
15
  $gridColumns: string;
16
16
  }, import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
17
- export declare const MoreButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
17
+ export declare const MoreButton: import("../../../styled").StyledComponent<Omit<import("../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
18
18
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
19
19
  loading?: boolean | undefined;
20
20
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
21
21
  component?: import("react").ElementType | undefined;
22
22
  selected?: boolean | undefined;
23
+ size?: "large" | "medium" | undefined;
23
24
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
24
25
  theme?: import("@emotion/react").Theme | undefined;
25
26
  } & {
@@ -20,12 +20,13 @@ export declare const CollapseCell: import("../../styled").StyledComponent<{
20
20
  theme?: import("@emotion/react").Theme | undefined;
21
21
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
22
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
- export declare const CollapseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
23
+ export declare const CollapseButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
24
24
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
25
25
  loading?: boolean | undefined;
26
26
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
27
27
  component?: import("react").ElementType | undefined;
28
28
  selected?: boolean | undefined;
29
+ size?: "large" | "medium" | undefined;
29
30
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
30
31
  theme?: import("@emotion/react").Theme | undefined;
31
32
  }, {}, {}>;
@@ -50,6 +51,7 @@ export declare const GroupedColumnLabel: import("../../styled").StyledComponent<
50
51
  component?: import("../../Typography/types").ComponentProp | undefined;
51
52
  isUpperCase?: boolean | undefined;
52
53
  withoutCalt?: boolean | undefined;
54
+ isTabularNums?: boolean | undefined;
53
55
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
54
56
  theme?: import("@emotion/react").Theme | undefined;
55
57
  }, {}, {}>;
@@ -177,6 +177,10 @@ export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow,
177
177
  * @default standard
178
178
  */
179
179
  gridViewMode?: 'full' | 'standard';
180
+ /**
181
+ * Включает моноширинный шрифт для чисел в таблице
182
+ */
183
+ isTabularNums?: boolean;
180
184
  };
181
185
  export type DataGridSort<TSortField> = {
182
186
  /**
@@ -279,6 +283,10 @@ export type DataGridSingleColumn<TData extends Record<string, CellValue>> = {
279
283
  * Скрывает заголовок колонки на мобильных устройствах
280
284
  */
281
285
  hideTitleOnMobile?: boolean;
286
+ /**
287
+ * Включает моноширинный шрифт для чисел в колонке
288
+ */
289
+ isTabularNums?: boolean;
282
290
  children?: never;
283
291
  };
284
292
  export type DataGridColumns<TData extends Record<string, CellValue>> = DataGridSingleColumn<TData> | DataGridGroupColumn<TData>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledIconButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledButton: import("../../../../styled").StyledComponent<Omit<import("../../../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledIconButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledIconButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -10,6 +10,7 @@ export declare const Range: import("../styled").StyledComponent<import("../Typog
10
10
  component?: import("../Typography/types").ComponentProp | undefined;
11
11
  isUpperCase?: boolean | undefined;
12
12
  withoutCalt?: boolean | undefined;
13
+ isTabularNums?: boolean | undefined;
13
14
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
14
15
  theme?: import("@emotion/react").Theme | undefined;
15
16
  }, {}, {}>;
@@ -6,6 +6,7 @@ export declare const Range: import("../styled").StyledComponent<import("../Typog
6
6
  component?: import("../Typography/types").ComponentProp | undefined;
7
7
  isUpperCase?: boolean | undefined;
8
8
  withoutCalt?: boolean | undefined;
9
+ isTabularNums?: boolean | undefined;
9
10
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
10
11
  theme?: import("@emotion/react").Theme | undefined;
11
12
  }, {}, {}>;
@@ -9,6 +9,7 @@ export declare const HeadText: import("../../../styled").StyledComponent<import(
9
9
  component?: import("../../../Typography/types").ComponentProp | undefined;
10
10
  isUpperCase?: boolean | undefined;
11
11
  withoutCalt?: boolean | undefined;
12
+ isTabularNums?: boolean | undefined;
12
13
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
13
14
  theme?: import("@emotion/react").Theme | undefined;
14
15
  }, {}, {}>;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const ConfirmButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const ConfirmButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -26,6 +26,10 @@ export type DescriptionProps = {
26
26
  * @default 'default'
27
27
  */
28
28
  direction?: 'default' | 'column' | 'row';
29
+ /**
30
+ * Включает моноширинные числа
31
+ */
32
+ isTabularNums?: boolean;
29
33
  };
30
34
  export declare const Description: {
31
35
  (props: DescriptionProps): import("react/jsx-runtime").JSX.Element;
@@ -17,12 +17,15 @@ const rootCva = cva(descriptionClassnames.root, {
17
17
  'space-between': descriptionClassnames.justifyContentSpaceBetween,
18
18
  start: descriptionClassnames.justifyContentStart,
19
19
  },
20
+ isTabularNums: {
21
+ true: descriptionClassnames.tabularNums,
22
+ },
20
23
  },
21
24
  });
22
25
  export const Description = (props) => {
23
26
  const { descriptionContextProviderProps, direction } = useLogic(props);
24
- const { justifyContent = 'start', component = 'dl', children, leader = false, } = props;
25
- return (_jsx(DescriptionContextProvider, { leader: leader, direction: direction, ...descriptionContextProviderProps, children: _jsx(Wrapper, { className: rootCva({ direction, justifyContent }), as: component, children: children }) }));
27
+ const { justifyContent = 'start', component = 'dl', children, leader = false, isTabularNums, } = props;
28
+ return (_jsx(DescriptionContextProvider, { leader: leader, direction: direction, ...descriptionContextProviderProps, children: _jsx(Wrapper, { className: rootCva({ direction, justifyContent, isTabularNums }), as: component, children: children }) }));
26
29
  };
27
30
  Description.Name = Name;
28
31
  Description.Value = Value;
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type TypographyProps } from '../../Typography';
3
- export type ValueProps = Pick<TypographyProps, 'color' | 'variant' | 'children'> & {
3
+ export type ValueProps = Pick<TypographyProps, 'color' | 'variant' | 'children' | 'isTabularNums'> & {
4
4
  /**
5
5
  * @example <Description.Item stub="нет значения">value</Description.Item>
6
6
  * Заглушка, отображающаяся, если нет значения
@@ -16,6 +16,7 @@ export declare const StyledTypography: import("../../styled").StyledComponent<im
16
16
  component?: import("../../Typography/types").ComponentProp | undefined;
17
17
  isUpperCase?: boolean | undefined;
18
18
  withoutCalt?: boolean | undefined;
19
+ isTabularNums?: boolean | undefined;
19
20
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
20
21
  theme?: import("@emotion/react").Theme | undefined;
21
22
  } & StyledTypographyProps, {}, {}>;
@@ -26,6 +27,7 @@ export declare const StyledCopyTypography: import("../../styled").StyledComponen
26
27
  component?: import("../../Typography/types").ComponentProp | undefined;
27
28
  isUpperCase?: boolean | undefined;
28
29
  withoutCalt?: boolean | undefined;
30
+ isTabularNums?: boolean | undefined;
29
31
  } & import("react").HTMLAttributes<HTMLParagraphElement> & {
30
32
  copyText?: string | undefined;
31
33
  copyPosition?: "left" | "right" | undefined;
@@ -8,4 +8,5 @@ export declare const descriptionClassnames: {
8
8
  justifyContentSpaceBetween: string;
9
9
  justifyContentStart: string;
10
10
  leader: string;
11
+ tabularNums: string;
11
12
  };
@@ -9,4 +9,5 @@ export const descriptionClassnames = {
9
9
  justifyContentSpaceBetween: createUIKitClassname('description_justify-content-space-between'),
10
10
  justifyContentStart: createUIKitClassname('description_justify-content-start'),
11
11
  leader: createUIKitClassname('description__leader'),
12
+ tabularNums: createUIKitClassname('description_tabular-nums'),
12
13
  };
@@ -8,6 +8,10 @@ export const Wrapper = styled.div `
8
8
 
9
9
  margin: 0;
10
10
 
11
+ &.${descriptionClassnames.tabularNums} {
12
+ font-feature-settings: "tnum" 1;
13
+ }
14
+
11
15
  &.${descriptionClassnames.directionColumn} {
12
16
  flex-direction: column;
13
17
  }
@@ -1,2 +1,2 @@
1
1
  import type { DescriptionListProps } from './types';
2
- export declare const DescriptionList: ({ items, variant: listVariant, title, direction, alignNameWidth, leader, ...props }: DescriptionListProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DescriptionList: ({ items, variant: listVariant, title, direction, alignNameWidth, leader, isTabularNums: listIsTabularNums, ...props }: DescriptionListProps) => import("react/jsx-runtime").JSX.Element;
@@ -24,7 +24,7 @@ const descriptionItem = cva(descriptionListClassnames.item, {
24
24
  },
25
25
  },
26
26
  });
27
- export const DescriptionList = ({ items, variant: listVariant = 'default', title, direction, alignNameWidth, leader, ...props }) => {
27
+ export const DescriptionList = ({ items, variant: listVariant = 'default', title, direction, alignNameWidth, leader, isTabularNums: listIsTabularNums, ...props }) => {
28
28
  const { descriptionItems, descriptionListStyles } = useLogic({
29
29
  items,
30
30
  alignNameWidth,
@@ -57,10 +57,11 @@ export const DescriptionList = ({ items, variant: listVariant = 'default', title
57
57
  return note;
58
58
  };
59
59
  const renderItem = (value, name, options) => {
60
- const { nameMaxWidth, note, ...restOptions } = options || {};
60
+ const { nameMaxWidth, note, isTabularNums: itemIsTabularNums, ...restOptions } = options || {};
61
+ const isTabularNums = itemIsTabularNums ?? listIsTabularNums;
61
62
  return (_jsxs(DescriptionWrapper, { className: descriptionItem({
62
63
  alignNameWidth: Boolean(alignNameWidth),
63
- }), children: [_jsxs(Description, { direction: direction, leader: leader, ...props, component: "div", children: [_jsx(StyledDescriptionName, { "$nameMaxWidth": nameMaxWidth, "$direction": direction, children: name }), render(value, restOptions)] }), note && renderNote(note)] }, `${name}:${value}`));
64
+ }), children: [_jsxs(Description, { direction: direction, leader: leader, isTabularNums: isTabularNums, ...props, component: "div", children: [_jsx(StyledDescriptionName, { "$nameMaxWidth": nameMaxWidth, "$direction": direction, children: name }), render(value, restOptions)] }), note && renderNote(note)] }, `${name}:${value}`));
64
65
  };
65
66
  return (_jsxs(Wrapper, { className: descriptionList({ variant: listVariant }), style: descriptionListStyles, children: [title && renderTitle(), descriptionItems.map((group, groupIndex) => (_jsx(ListWrapper, { "$direction": direction, "$hasDivider": groupIndex !== 0, "$variant": listVariant, children: group.map(({ name, value, options }) => renderItem(value, name, options)) }, groupIndex)))] }));
66
67
  };
@@ -20,7 +20,7 @@ export declare const ListWrapper: import("../styled").StyledComponent<{
20
20
  $variant?: DescriptionListVariant | undefined;
21
21
  $hasDivider: boolean;
22
22
  }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, {}>;
23
- export declare const StyledDescriptionValue: import("../styled").StyledComponent<Pick<import("../Typography").TypographyProps, "color" | "children" | "variant"> & {
23
+ export declare const StyledDescriptionValue: import("../styled").StyledComponent<Pick<import("../Typography").TypographyProps, "color" | "children" | "variant" | "isTabularNums"> & {
24
24
  stub?: import("react").ReactNode;
25
25
  canCopy?: boolean | undefined;
26
26
  copyPosition?: "left" | "right" | undefined;
@@ -42,6 +42,7 @@ export declare const Title: import("../styled").StyledComponent<import("../Typog
42
42
  component?: import("../Typography/types").ComponentProp | undefined;
43
43
  isUpperCase?: boolean | undefined;
44
44
  withoutCalt?: boolean | undefined;
45
+ isTabularNums?: boolean | undefined;
45
46
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
46
47
  theme?: import("@emotion/react").Theme | undefined;
47
48
  }, {}, {}>;
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { DescriptionProps } from '../Description';
3
3
  import type { ValueProps } from '../Description/Value';
4
- export type DescriptionOptions = Pick<ValueProps, 'canCopy' | 'copyPosition' | 'color' | 'copyText'> & {
4
+ export type DescriptionOptions = Pick<ValueProps, 'canCopy' | 'copyPosition' | 'color' | 'copyText' | 'isTabularNums'> & {
5
5
  nameMaxWidth?: string;
6
6
  /**
7
7
  * Вариант отображения Value в списке
@@ -23,7 +23,7 @@ export type DescriptionListItem = {
23
23
  options?: DescriptionOptions;
24
24
  };
25
25
  export type DescriptionListVariant = 'contained' | 'default';
26
- export type DescriptionListProps = Pick<DescriptionProps, 'justifyContent' | 'leader' | 'separator' | 'direction'> & {
26
+ export type DescriptionListProps = Pick<DescriptionProps, 'justifyContent' | 'leader' | 'separator' | 'direction' | 'isTabularNums'> & {
27
27
  /**
28
28
  * Список отображаемых "name: value"
29
29
  */
@@ -12,6 +12,7 @@ export declare const Title: import("../styled").StyledComponent<import("../Typog
12
12
  component?: import("../Typography/types").ComponentProp | undefined;
13
13
  isUpperCase?: boolean | undefined;
14
14
  withoutCalt?: boolean | undefined;
15
+ isTabularNums?: boolean | undefined;
15
16
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
16
17
  theme?: import("@emotion/react").Theme | undefined;
17
18
  }, {}, {}>;
@@ -22,6 +23,7 @@ export declare const Description: import("../styled").StyledComponent<import("..
22
23
  component?: import("../Typography/types").ComponentProp | undefined;
23
24
  isUpperCase?: boolean | undefined;
24
25
  withoutCalt?: boolean | undefined;
26
+ isTabularNums?: boolean | undefined;
25
27
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
26
28
  theme?: import("@emotion/react").Theme | undefined;
27
29
  }, {}, {}>;
@@ -14,6 +14,7 @@ export declare const StyledTypography: import("../styled").StyledComponent<impor
14
14
  component?: import("../Typography/types").ComponentProp | undefined;
15
15
  isUpperCase?: boolean | undefined;
16
16
  withoutCalt?: boolean | undefined;
17
+ isTabularNums?: boolean | undefined;
17
18
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
18
19
  theme?: import("@emotion/react").Theme | undefined;
19
20
  } & {
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -15,6 +16,7 @@ export declare const TargetTextWrapper: import("../styled").StyledComponent<impo
15
16
  component?: import("../Typography/types").ComponentProp | undefined;
16
17
  isUpperCase?: boolean | undefined;
17
18
  withoutCalt?: boolean | undefined;
19
+ isTabularNums?: boolean | undefined;
18
20
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
19
21
  theme?: import("@emotion/react").Theme | undefined;
20
22
  }, {}, {}>;
@@ -1,10 +1,11 @@
1
1
  import { type ElementType } from 'react';
2
2
  import { type ButtonProps } from '../Button';
3
3
  export type IconButtonProps<TComponent extends ElementType = ElementType> = ButtonProps<TComponent>;
4
- export declare const IconButton: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
4
+ export declare const IconButton: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
5
5
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
6
6
  loading?: boolean | undefined;
7
7
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
8
8
  component?: TComponent | undefined;
9
9
  selected?: boolean | undefined;
10
+ size?: "large" | "medium" | undefined;
10
11
  } & Omit<import("react").ComponentPropsWithRef<ElementType extends TComponent ? "button" : TComponent>, ""> & import("react").RefAttributes<HTMLButtonElement>) => import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | null;
@@ -1,10 +1,11 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
2
+ export declare const StyledButton: import("../styled").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
3
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
4
  loading?: boolean | undefined;
5
5
  color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
6
6
  component?: import("react").ElementType | undefined;
7
7
  selected?: boolean | undefined;
8
+ size?: "large" | "medium" | undefined;
8
9
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
9
10
  theme?: import("@emotion/react").Theme | undefined;
10
11
  }, {}, {}>;
@@ -343,6 +343,7 @@ export declare const Value: import("../../styled").StyledComponent<import("../..
343
343
  component?: import("../../Typography/types").ComponentProp | undefined;
344
344
  isUpperCase?: boolean | undefined;
345
345
  withoutCalt?: boolean | undefined;
346
+ isTabularNums?: boolean | undefined;
346
347
  } & import("react").HTMLAttributes<HTMLParagraphElement> & {
347
348
  children?: import("react").ReactNode;
348
349
  } & import("react").RefAttributes<HTMLElement> & {
@@ -357,6 +358,7 @@ export declare const CopyWrapper: import("../../styled").StyledComponent<import(
357
358
  component?: import("../../Typography/types").ComponentProp | undefined;
358
359
  isUpperCase?: boolean | undefined;
359
360
  withoutCalt?: boolean | undefined;
361
+ isTabularNums?: boolean | undefined;
360
362
  } & import("react").HTMLAttributes<HTMLParagraphElement> & {
361
363
  copyText?: string | undefined;
362
364
  copyPosition?: "left" | "right" | undefined;
@@ -1043,6 +1045,7 @@ export declare const GuidValue: import("../../styled").StyledComponent<import(".
1043
1045
  component?: import("../../Typography/types").ComponentProp | undefined;
1044
1046
  isUpperCase?: boolean | undefined;
1045
1047
  withoutCalt?: boolean | undefined;
1048
+ isTabularNums?: boolean | undefined;
1046
1049
  } & import("react").HTMLAttributes<HTMLParagraphElement> & {
1047
1050
  children?: import("react").ReactNode;
1048
1051
  } & {