@astral/ui 4.70.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 (153) hide show
  1. package/components/Accordion/styles.d.ts +1 -0
  2. package/components/Alert/styles.d.ts +2 -0
  3. package/components/AutoSaveIndicator/styles.d.ts +2 -0
  4. package/components/BottomDrawer/styles.d.ts +1 -0
  5. package/components/Chip/styles.d.ts +1 -0
  6. package/components/CodeField/styles.d.ts +1 -0
  7. package/components/CollapsibleTypography/CollapsibleTypography.d.ts +1 -0
  8. package/components/CollapsibleTypography/styles.d.ts +1 -0
  9. package/components/ConfirmAction/styles.d.ts +1 -0
  10. package/components/CopyTypography/styles.d.ts +1 -0
  11. package/components/CopyTypography/useLogic/useLogic.d.ts +1 -0
  12. package/components/DashboardSidebarPopover/styles.d.ts +1 -0
  13. package/components/DataGrid/Cell/Cell.js +5 -2
  14. package/components/DataGrid/Cell/constants.d.ts +1 -0
  15. package/components/DataGrid/Cell/constants.js +1 -0
  16. package/components/DataGrid/Cell/styles.d.ts +1 -0
  17. package/components/DataGrid/Cell/styles.js +4 -0
  18. package/components/DataGrid/Cell/useLogic/useLogic.d.ts +1 -0
  19. package/components/DataGrid/Cell/useLogic/useLogic.js +6 -2
  20. package/components/DataGrid/DataGrid.js +2 -2
  21. package/components/DataGrid/DataGridContext/DataGridContext.d.ts +1 -0
  22. package/components/DataGrid/DataGridContext/DataGridContext.js +1 -0
  23. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -1
  24. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +3 -1
  25. package/components/DataGrid/Row/styles.d.ts +1 -0
  26. package/components/DataGrid/types.d.ts +8 -0
  27. package/components/DataGridPagination/styles.d.ts +1 -0
  28. package/components/DataGridPaginationContainer/styles.d.ts +1 -0
  29. package/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -0
  30. package/components/Description/Description.d.ts +4 -0
  31. package/components/Description/Description.js +5 -2
  32. package/components/Description/Value/Value.d.ts +1 -1
  33. package/components/Description/Value/styles.d.ts +2 -0
  34. package/components/Description/constants.d.ts +1 -0
  35. package/components/Description/constants.js +1 -0
  36. package/components/Description/styles.js +4 -0
  37. package/components/DescriptionList/DescriptionList.d.ts +1 -1
  38. package/components/DescriptionList/DescriptionList.js +4 -3
  39. package/components/DescriptionList/styles.d.ts +2 -1
  40. package/components/DescriptionList/types.d.ts +2 -2
  41. package/components/Fieldset/styles.d.ts +2 -0
  42. package/components/Filename/styles.d.ts +1 -0
  43. package/components/FlowButton/styles.d.ts +1 -0
  44. package/components/JsonViewer/NodeValue/styles.d.ts +3 -0
  45. package/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -0
  46. package/components/MenuGroup/styles.d.ts +1 -0
  47. package/components/MenuOrganization/OrganizationButton/styles.d.ts +1 -0
  48. package/components/MenuOrganization/OrganizationGroup/styles.d.ts +1 -0
  49. package/components/MenuOrganization/styles.d.ts +1 -0
  50. package/components/MinimalisticPagination/styles.d.ts +1 -0
  51. package/components/NavMenu/Item/ItemButton/styles.d.ts +1 -0
  52. package/components/NewStepper/Step/Description/styles.d.ts +1 -0
  53. package/components/NewStepper/Step/Label/styles.d.ts +2 -0
  54. package/components/NotFoundPage/styles.d.ts +2 -0
  55. package/components/Notification/NotificationTemplate/styles.d.ts +2 -0
  56. package/components/NotificationList/ListItem/styles.d.ts +1 -0
  57. package/components/OverflowTypography/OverflowTypography.d.ts +1 -0
  58. package/components/OverflowTypography/styles.d.ts +2 -0
  59. package/components/PageContent/PageContentHeader/Title/styles.d.ts +1 -0
  60. package/components/PageHeader/HeaderContent/Description/styles.d.ts +1 -0
  61. package/components/PageHeader/Title/styles.d.ts +1 -0
  62. package/components/Pagination/PaginationItem/styles.d.ts +1 -0
  63. package/components/PinButton/styles.d.ts +1 -0
  64. package/components/ProductSwitcher/Content/styles.d.ts +1 -0
  65. package/components/Tree/TreeItem/styles.d.ts +2 -0
  66. package/components/Typography/Typography.d.ts +1 -0
  67. package/components/Typography/Typography.js +13 -4
  68. package/components/Typography/constants.d.ts +1 -0
  69. package/components/Typography/constants.js +2 -1
  70. package/components/Typography/styles.js +4 -0
  71. package/components/Typography/types.d.ts +4 -0
  72. package/components/WelcomeScreen/styles.d.ts +2 -0
  73. package/components/fileUploading/FileInfo/styles.d.ts +1 -0
  74. package/components/placeholders/Placeholder/styles.d.ts +2 -0
  75. package/hook-form/EditableText/EditingForm/styles.d.ts +1 -0
  76. package/hook-form/EditableText/styles.d.ts +1 -0
  77. package/node/components/Accordion/styles.d.ts +1 -0
  78. package/node/components/Alert/styles.d.ts +2 -0
  79. package/node/components/AutoSaveIndicator/styles.d.ts +2 -0
  80. package/node/components/BottomDrawer/styles.d.ts +1 -0
  81. package/node/components/Chip/styles.d.ts +1 -0
  82. package/node/components/CodeField/styles.d.ts +1 -0
  83. package/node/components/CollapsibleTypography/CollapsibleTypography.d.ts +1 -0
  84. package/node/components/CollapsibleTypography/styles.d.ts +1 -0
  85. package/node/components/ConfirmAction/styles.d.ts +1 -0
  86. package/node/components/CopyTypography/styles.d.ts +1 -0
  87. package/node/components/CopyTypography/useLogic/useLogic.d.ts +1 -0
  88. package/node/components/DashboardSidebarPopover/styles.d.ts +1 -0
  89. package/node/components/DataGrid/Cell/Cell.js +5 -2
  90. package/node/components/DataGrid/Cell/constants.d.ts +1 -0
  91. package/node/components/DataGrid/Cell/constants.js +1 -0
  92. package/node/components/DataGrid/Cell/styles.d.ts +1 -0
  93. package/node/components/DataGrid/Cell/styles.js +4 -0
  94. package/node/components/DataGrid/Cell/useLogic/useLogic.d.ts +1 -0
  95. package/node/components/DataGrid/Cell/useLogic/useLogic.js +5 -1
  96. package/node/components/DataGrid/DataGrid.js +2 -2
  97. package/node/components/DataGrid/DataGridContext/DataGridContext.d.ts +1 -0
  98. package/node/components/DataGrid/DataGridContext/DataGridContext.js +1 -0
  99. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -1
  100. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +3 -1
  101. package/node/components/DataGrid/Row/styles.d.ts +1 -0
  102. package/node/components/DataGrid/types.d.ts +8 -0
  103. package/node/components/DataGridPagination/styles.d.ts +1 -0
  104. package/node/components/DataGridPaginationContainer/styles.d.ts +1 -0
  105. package/node/components/DatePicker/DateCalendar/DateCalendarHead/styles.d.ts +1 -0
  106. package/node/components/Description/Description.d.ts +4 -0
  107. package/node/components/Description/Description.js +5 -2
  108. package/node/components/Description/Value/Value.d.ts +1 -1
  109. package/node/components/Description/Value/styles.d.ts +2 -0
  110. package/node/components/Description/constants.d.ts +1 -0
  111. package/node/components/Description/constants.js +1 -0
  112. package/node/components/Description/styles.js +4 -0
  113. package/node/components/DescriptionList/DescriptionList.d.ts +1 -1
  114. package/node/components/DescriptionList/DescriptionList.js +4 -3
  115. package/node/components/DescriptionList/styles.d.ts +2 -1
  116. package/node/components/DescriptionList/types.d.ts +2 -2
  117. package/node/components/Fieldset/styles.d.ts +2 -0
  118. package/node/components/Filename/styles.d.ts +1 -0
  119. package/node/components/FlowButton/styles.d.ts +1 -0
  120. package/node/components/JsonViewer/NodeValue/styles.d.ts +3 -0
  121. package/node/components/LegacyNotification/NotificationTemplate/styles.d.ts +2 -0
  122. package/node/components/MenuGroup/styles.d.ts +1 -0
  123. package/node/components/MenuOrganization/OrganizationButton/styles.d.ts +1 -0
  124. package/node/components/MenuOrganization/OrganizationGroup/styles.d.ts +1 -0
  125. package/node/components/MenuOrganization/styles.d.ts +1 -0
  126. package/node/components/MinimalisticPagination/styles.d.ts +1 -0
  127. package/node/components/NavMenu/Item/ItemButton/styles.d.ts +1 -0
  128. package/node/components/NewStepper/Step/Description/styles.d.ts +1 -0
  129. package/node/components/NewStepper/Step/Label/styles.d.ts +2 -0
  130. package/node/components/NotFoundPage/styles.d.ts +2 -0
  131. package/node/components/Notification/NotificationTemplate/styles.d.ts +2 -0
  132. package/node/components/NotificationList/ListItem/styles.d.ts +1 -0
  133. package/node/components/OverflowTypography/OverflowTypography.d.ts +1 -0
  134. package/node/components/OverflowTypography/styles.d.ts +2 -0
  135. package/node/components/PageContent/PageContentHeader/Title/styles.d.ts +1 -0
  136. package/node/components/PageHeader/HeaderContent/Description/styles.d.ts +1 -0
  137. package/node/components/PageHeader/Title/styles.d.ts +1 -0
  138. package/node/components/Pagination/PaginationItem/styles.d.ts +1 -0
  139. package/node/components/PinButton/styles.d.ts +1 -0
  140. package/node/components/ProductSwitcher/Content/styles.d.ts +1 -0
  141. package/node/components/Tree/TreeItem/styles.d.ts +2 -0
  142. package/node/components/Typography/Typography.d.ts +1 -0
  143. package/node/components/Typography/Typography.js +13 -4
  144. package/node/components/Typography/constants.d.ts +1 -0
  145. package/node/components/Typography/constants.js +2 -1
  146. package/node/components/Typography/styles.js +4 -0
  147. package/node/components/Typography/types.d.ts +4 -0
  148. package/node/components/WelcomeScreen/styles.d.ts +2 -0
  149. package/node/components/fileUploading/FileInfo/styles.d.ts +1 -0
  150. package/node/components/placeholders/Placeholder/styles.d.ts +2 -0
  151. package/node/hook-form/EditableText/EditingForm/styles.d.ts +1 -0
  152. package/node/hook-form/EditableText/styles.d.ts +1 -0
  153. package/package.json +1 -1
@@ -26,6 +26,7 @@ export declare const Summary: import("../styled").StyledComponent<import("../Typ
26
26
  component?: import("../Typography/types").ComponentProp | undefined;
27
27
  isUpperCase?: boolean | undefined;
28
28
  withoutCalt?: boolean | undefined;
29
+ isTabularNums?: boolean | undefined;
29
30
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
30
31
  theme?: import("@emotion/react").Theme | undefined;
31
32
  }, {}, {}>;
@@ -31,6 +31,7 @@ export declare const StyledTypography: import("../styled").StyledComponent<impor
31
31
  component?: import("../Typography/types").ComponentProp | undefined;
32
32
  isUpperCase?: boolean | undefined;
33
33
  withoutCalt?: boolean | undefined;
34
+ isTabularNums?: boolean | undefined;
34
35
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
35
36
  theme?: import("@emotion/react").Theme | undefined;
36
37
  }, {}, {}>;
@@ -41,6 +42,7 @@ export declare const Title: import("../styled").StyledComponent<import("../Typog
41
42
  component?: import("../Typography/types").ComponentProp | undefined;
42
43
  isUpperCase?: boolean | undefined;
43
44
  withoutCalt?: boolean | undefined;
45
+ isTabularNums?: boolean | undefined;
44
46
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
45
47
  theme?: import("@emotion/react").Theme | undefined;
46
48
  }, {}, {}>;
@@ -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
  }, {}, {}>;
@@ -34,6 +35,7 @@ export declare const IndicatorTypography: import("../styled").StyledComponent<im
34
35
  component?: import("../Typography/types").ComponentProp | undefined;
35
36
  isUpperCase?: boolean | undefined;
36
37
  withoutCalt?: boolean | undefined;
38
+ isTabularNums?: boolean | undefined;
37
39
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
38
40
  theme?: import("@emotion/react").Theme | undefined;
39
41
  }, {}, {}>;
@@ -18,6 +18,7 @@ export declare const HeaderTitle: import("../styled").StyledComponent<import("@m
18
18
  component?: import("../Typography/types").ComponentProp | undefined;
19
19
  isUpperCase?: boolean | undefined;
20
20
  withoutCalt?: boolean | undefined;
21
+ isTabularNums?: boolean | undefined;
21
22
  } & import("react").HTMLAttributes<HTMLParagraphElement>, {}, {}>;
22
23
  export declare const Body: import("../styled").StyledComponent<{
23
24
  theme?: import("@emotion/react").Theme | undefined;
@@ -22,6 +22,7 @@ export declare const AdornmentWrapper: import("../styled").StyledComponent<impor
22
22
  component?: import("../Typography/types").ComponentProp | undefined;
23
23
  isUpperCase?: boolean | undefined;
24
24
  withoutCalt?: boolean | undefined;
25
+ isTabularNums?: boolean | undefined;
25
26
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
26
27
  theme?: import("@emotion/react").Theme | undefined;
27
28
  }, {}, {}>;
@@ -24,6 +24,7 @@ export declare const FieldLabel: import("../styled").StyledComponent<import("../
24
24
  component?: import("../Typography/types").ComponentProp | undefined;
25
25
  isUpperCase?: boolean | undefined;
26
26
  withoutCalt?: boolean | undefined;
27
+ isTabularNums?: boolean | undefined;
27
28
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
28
29
  theme?: import("@emotion/react").Theme | undefined;
29
30
  }, {}, {}>;
@@ -30,6 +30,7 @@ export declare const CollapsibleTypography: import("react").ForwardRefExoticComp
30
30
  component?: import("../Typography/types").ComponentProp | undefined;
31
31
  isUpperCase?: boolean | undefined;
32
32
  withoutCalt?: boolean | undefined;
33
+ isTabularNums?: boolean | undefined;
33
34
  } & import("react").HTMLAttributes<HTMLParagraphElement> & {
34
35
  children?: import("react").ReactNode;
35
36
  } & import("react").RefAttributes<HTMLElement>>;
@@ -15,6 +15,7 @@ export declare const Wrapper: import("../styled").StyledComponent<import("../Typ
15
15
  component?: import("../Typography/types").ComponentProp | undefined;
16
16
  isUpperCase?: boolean | undefined;
17
17
  withoutCalt?: boolean | undefined;
18
+ isTabularNums?: boolean | undefined;
18
19
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
19
20
  theme?: import("@emotion/react").Theme | undefined;
20
21
  } & CollapsibleTypographyWrapperProps, {}, {}>;
@@ -10,6 +10,7 @@ export declare const StyledTypography: import("../styled").StyledComponent<impor
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 Wrapper: import("../styled").StyledComponent<import("../Typ
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
  }, {}, {}>;
@@ -16,6 +16,7 @@ export declare const useLogic: ({ children, copyPosition, copyText, isShowCopyTe
16
16
  component?: import("../../Typography/types").ComponentProp | undefined;
17
17
  isUpperCase?: boolean | undefined;
18
18
  withoutCalt?: boolean | undefined;
19
+ isTabularNums?: boolean | undefined;
19
20
  defaultChecked?: boolean | undefined;
20
21
  defaultValue?: string | number | readonly string[] | undefined;
21
22
  suppressContentEditableWarning?: boolean | undefined;
@@ -10,6 +10,7 @@ export declare const Title: 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
  }, {}, {}>;
@@ -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
  };
@@ -51,6 +51,7 @@ export declare const GroupedColumnLabel: import("../../styled").StyledComponent<
51
51
  component?: import("../../Typography/types").ComponentProp | undefined;
52
52
  isUpperCase?: boolean | undefined;
53
53
  withoutCalt?: boolean | undefined;
54
+ isTabularNums?: boolean | undefined;
54
55
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
55
56
  theme?: import("@emotion/react").Theme | undefined;
56
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>;
@@ -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
  }, {}, {}>;
@@ -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
  } & {
@@ -16,6 +16,7 @@ export declare const TargetTextWrapper: import("../styled").StyledComponent<impo
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
  }, {}, {}>;
@@ -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
  } & {
@@ -29,6 +29,7 @@ export declare const Content: import("../../styled").StyledComponent<import("../
29
29
  component?: import("../../Typography/types").ComponentProp | undefined;
30
30
  isUpperCase?: boolean | undefined;
31
31
  withoutCalt?: boolean | undefined;
32
+ isTabularNums?: boolean | undefined;
32
33
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
33
34
  theme?: import("@emotion/react").Theme | undefined;
34
35
  }, {}, {}>;
@@ -53,6 +54,7 @@ export declare const Title: import("../../styled").StyledComponent<import("../..
53
54
  component?: import("../../Typography/types").ComponentProp | undefined;
54
55
  isUpperCase?: boolean | undefined;
55
56
  withoutCalt?: boolean | undefined;
57
+ isTabularNums?: boolean | undefined;
56
58
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
57
59
  theme?: import("@emotion/react").Theme | undefined;
58
60
  }, {}, {}>;
@@ -6,6 +6,7 @@ export declare const Label: 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
  }, {}, {}>;
@@ -26,6 +26,7 @@ export declare const StyledTypography: import("../../styled/styled").StyledCompo
26
26
  component?: import("../../Typography/types").ComponentProp | undefined;
27
27
  isUpperCase?: boolean | undefined;
28
28
  withoutCalt?: boolean | undefined;
29
+ isTabularNums?: boolean | undefined;
29
30
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
30
31
  theme?: import("@emotion/react").Theme | undefined;
31
32
  } & {
@@ -6,6 +6,7 @@ export declare const Label: import("../../styled").StyledComponent<import("../..
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
  }, {}, {}>;
@@ -23,6 +23,7 @@ export declare const StyledTypography: import("../styled").StyledComponent<impor
23
23
  component?: import("../Typography/types").ComponentProp | undefined;
24
24
  isUpperCase?: boolean | undefined;
25
25
  withoutCalt?: boolean | undefined;
26
+ isTabularNums?: boolean | undefined;
26
27
  } & import("react").HTMLAttributes<HTMLParagraphElement> & import("react").RefAttributes<HTMLSpanElement> & {
27
28
  theme?: import("@emotion/react").Theme | undefined;
28
29
  }, {}, {}>;