@salutejs/plasma-new-hope 0.320.1-canary.1913.14457152885.0 → 0.320.1-canary.1913.14480249004.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 (132) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.js +2 -2
  2. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  3. package/cjs/components/Combobox/ComboboxNew/Combobox.js +2 -2
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  5. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  6. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  7. package/cjs/components/Typography/Body/Body.css +1 -1
  8. package/cjs/components/Typography/Typography.js +3 -2
  9. package/cjs/components/Typography/Typography.js.map +1 -1
  10. package/cjs/components/Typography/Typography.styles.js +1 -1
  11. package/cjs/components/Typography/Typography.styles.js.map +1 -1
  12. package/cjs/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_ysh8u6.css} +1 -1
  13. package/cjs/components/Typography/tokens.js +2 -1
  14. package/cjs/components/Typography/tokens.js.map +1 -1
  15. package/cjs/index.css +1 -1
  16. package/emotion/cjs/components/Autocomplete/Autocomplete.js +2 -2
  17. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +2 -2
  18. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  19. package/emotion/cjs/components/Typography/Typography.js +3 -2
  20. package/emotion/cjs/components/Typography/Typography.styles.js +1 -1
  21. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +3 -0
  22. package/emotion/cjs/components/Typography/tokens.js +2 -1
  23. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  24. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +13 -12
  25. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  26. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  27. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +13 -12
  28. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  29. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  30. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +13 -12
  31. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  32. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  33. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +13 -12
  34. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  35. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +9 -4
  36. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +3 -0
  37. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +3 -0
  38. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +3 -0
  39. package/emotion/es/components/Autocomplete/Autocomplete.js +2 -2
  40. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +2 -2
  41. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  42. package/emotion/es/components/Typography/Typography.js +3 -2
  43. package/emotion/es/components/Typography/Typography.styles.js +1 -1
  44. package/emotion/es/components/Typography/Typography.template-doc.mdx +3 -0
  45. package/emotion/es/components/Typography/tokens.js +2 -1
  46. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  47. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +13 -12
  48. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  49. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  50. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +13 -12
  51. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  52. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  53. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +13 -12
  54. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  55. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  56. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +13 -12
  57. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  58. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +9 -4
  59. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +3 -0
  60. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +3 -0
  61. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +3 -0
  62. package/es/components/Autocomplete/Autocomplete.js +2 -2
  63. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  64. package/es/components/Combobox/ComboboxNew/Combobox.js +2 -2
  65. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  66. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  67. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  68. package/es/components/Typography/Body/Body.css +1 -1
  69. package/es/components/Typography/Typography.js +3 -2
  70. package/es/components/Typography/Typography.js.map +1 -1
  71. package/es/components/Typography/Typography.styles.js +1 -1
  72. package/es/components/Typography/Typography.styles.js.map +1 -1
  73. package/es/components/Typography/{Typography.styles_c0qunc.css → Typography.styles_ysh8u6.css} +1 -1
  74. package/es/components/Typography/tokens.js +2 -1
  75. package/es/components/Typography/tokens.js.map +1 -1
  76. package/es/index.css +1 -1
  77. package/package.json +3 -3
  78. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +2 -2
  79. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +2 -2
  80. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  81. package/styled-components/cjs/components/Typography/Typography.js +3 -2
  82. package/styled-components/cjs/components/Typography/Typography.styles.js +1 -1
  83. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +3 -0
  84. package/styled-components/cjs/components/Typography/tokens.js +2 -1
  85. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +2 -1
  86. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +2 -1
  87. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  88. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +2 -1
  89. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +2 -1
  90. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  91. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +2 -1
  92. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +2 -1
  93. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  94. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +2 -1
  95. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +2 -1
  96. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  97. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +9 -4
  98. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +3 -0
  99. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +3 -0
  100. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +3 -0
  101. package/styled-components/es/components/Autocomplete/Autocomplete.js +2 -2
  102. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +2 -2
  103. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  104. package/styled-components/es/components/Typography/Typography.js +3 -2
  105. package/styled-components/es/components/Typography/Typography.styles.js +1 -1
  106. package/styled-components/es/components/Typography/Typography.template-doc.mdx +3 -0
  107. package/styled-components/es/components/Typography/tokens.js +2 -1
  108. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +2 -1
  109. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +2 -1
  110. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -1
  111. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +2 -1
  112. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +2 -1
  113. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +1 -1
  114. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +2 -1
  115. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +2 -1
  116. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -1
  117. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +2 -1
  118. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +2 -1
  119. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +1 -1
  120. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +9 -4
  121. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +3 -0
  122. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +3 -0
  123. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +3 -0
  124. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  125. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  126. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  127. package/types/components/Typography/Typography.d.ts.map +1 -1
  128. package/types/components/Typography/Typography.styles.d.ts.map +1 -1
  129. package/types/components/Typography/Typography.types.d.ts +4 -0
  130. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  131. package/types/components/Typography/tokens.d.ts +1 -0
  132. package/types/components/Typography/tokens.d.ts.map +1 -1
@@ -25,7 +25,7 @@ const meta: Meta<typeof Radiobox> = {
25
25
  },
26
26
  },
27
27
  size: {
28
- options: ['m', 's'],
28
+ options: ['l', 'm', 's'],
29
29
  control: {
30
30
  type: 'radio',
31
31
  },
@@ -40,6 +40,7 @@ const meta: Meta<typeof Body> = {
40
40
  breakWord: true,
41
41
  bold: false,
42
42
  medium: false,
43
+ isNumeric: false,
43
44
  },
44
45
  };
45
46
 
@@ -48,10 +49,14 @@ export default meta;
48
49
  export const Default: StoryObj<typeof Body> = {
49
50
  render: (args) => {
50
51
  return (
51
- <Body {...args}>
52
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
53
- distinctio modi quo, provident quod.
54
- </Body>
52
+ <>
53
+ <Body {...args}>
54
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
55
+ distinctio modi quo, provident quod.
56
+ <br />
57
+ 1234567890
58
+ </Body>
59
+ </>
55
60
  );
56
61
  },
57
62
  };
@@ -40,6 +40,7 @@ const meta: Meta<typeof Dspl> = {
40
40
  breakWord: true,
41
41
  bold: false,
42
42
  medium: false,
43
+ isNumeric: false,
43
44
  },
44
45
  };
45
46
 
@@ -51,6 +52,8 @@ export const Default: StoryObj<typeof Dspl> = {
51
52
  <Dspl {...props}>
52
53
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
53
54
  distinctio modi quo, provident quod.
55
+ <br />
56
+ 1234567890
54
57
  </Dspl>
55
58
  );
56
59
  },
@@ -40,6 +40,7 @@ const meta: Meta<typeof Heading> = {
40
40
  breakWord: true,
41
41
  bold: false,
42
42
  medium: false,
43
+ isNumeric: false,
43
44
  },
44
45
  };
45
46
 
@@ -51,6 +52,8 @@ export const Default: StoryObj<typeof Heading> = {
51
52
  <Heading {...props}>
52
53
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
53
54
  distinctio modi quo, provident quod.
55
+ <br />
56
+ 1234567890
54
57
  </Heading>
55
58
  );
56
59
  },
@@ -40,6 +40,7 @@ const meta: Meta<typeof Text> = {
40
40
  breakWord: true,
41
41
  bold: false,
42
42
  medium: false,
43
+ isNumeric: false,
43
44
  },
44
45
  };
45
46
 
@@ -51,6 +52,8 @@ export const Default: StoryObj<typeof Text> = {
51
52
  <Text {...props}>
52
53
  Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium nesciunt nihil non ut animi
53
54
  distinctio modi quo, provident quod.
55
+ <br />
56
+ 1234567890
54
57
  </Text>
55
58
  );
56
59
  },
@@ -175,9 +175,9 @@ export var autocompleteRoot = function autocompleteRoot(Root) {
175
175
  hintText: String(hintText || ''),
176
176
  labelPlacement: labelPlacement,
177
177
  keepPlaceholder: keepPlaceholder,
178
- leftHelper: _StyledLeftHelper || (_StyledLeftHelper = /*#__PURE__*/React.createElement(StyledLeftHelper, {
178
+ leftHelper: leftHelper && (_StyledLeftHelper || (_StyledLeftHelper = /*#__PURE__*/React.createElement(StyledLeftHelper, {
179
179
  onClick: helperTextStopPropagation
180
- }, leftHelper))
180
+ }, leftHelper)))
181
181
  }, rest));
182
182
  }
183
183
  }, renderList && renderList(finalResults) || Boolean(finalResults.length) && /*#__PURE__*/React.createElement(Root, {
@@ -502,9 +502,9 @@ export var comboboxRoot = function comboboxRoot(Root) {
502
502
  textBefore: textBefore,
503
503
  textAfter: textAfter,
504
504
  onKeyDown: onKeyDown,
505
- leftHelper: _StyledLeftHelper || (_StyledLeftHelper = /*#__PURE__*/React.createElement(StyledLeftHelper, {
505
+ leftHelper: helperText && (_StyledLeftHelper || (_StyledLeftHelper = /*#__PURE__*/React.createElement(StyledLeftHelper, {
506
506
  onClick: helperTextStopPropagation
507
- }, helperText)),
507
+ }, helperText))),
508
508
  role: "combobox",
509
509
  "aria-autocomplete": "list",
510
510
  "aria-controls": "".concat(treeId, "_tree_level_1"),
@@ -135,7 +135,7 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
135
135
  className: withArrowInverse
136
136
  })),
137
137
  onKeyDown: onKeyDown,
138
- leftHelper: /*#__PURE__*/React.createElement(StyledLeftHelper, {
138
+ leftHelper: helperText && /*#__PURE__*/React.createElement(StyledLeftHelper, {
139
139
  onClick: helperTextStopPropagation
140
140
  }, helperText),
141
141
  role: "combobox",
@@ -1,5 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "medium", "color", "className", "style"];
2
+ var _excluded = ["size", "children", "breakWord", "noWrap", "bold", "medium", "color", "isNumeric", "className", "style"];
3
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -23,13 +23,14 @@ export var typographyRootCompose = function typographyRootCompose(defaultArgs) {
23
23
  bold = _props$bold === void 0 ? defaultArgs === null || defaultArgs === void 0 ? void 0 : defaultArgs.defaultBold : _props$bold,
24
24
  medium = props.medium,
25
25
  color = props.color,
26
+ isNumeric = props.isNumeric,
26
27
  className = props.className,
27
28
  style = props.style,
28
29
  rest = _objectWithoutProperties(props, _excluded);
29
30
  return /*#__PURE__*/React.createElement(Root, _extends({
30
31
  size: size,
31
32
  ref: ref,
32
- className: cx(noWrap && classes.typoWithNoWrap, breakWord && classes.typoWithBreakWord, bold && classes.typoBold, medium && classes.typoMedium, className),
33
+ className: cx(noWrap && classes.typoWithNoWrap, breakWord && classes.typoWithBreakWord, bold && classes.typoBold, medium && classes.typoMedium, isNumeric && classes.typoIsNumeric, className),
33
34
  style: _objectSpread(_objectSpread({
34
35
  color: color
35
36
  }, style), applySpacing(rest))
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { applyHyphens, applyHyphensNormal } from "../../mixins";
3
3
  import { classes, tokens } from "./tokens";
4
- export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", classes.typoBold, "{font-weight:var(", tokens.typoFontWeightBold, ");}&.", classes.typoMedium, "{font-weight:var(", tokens.typoFontWeightMedium, ");}&.", classes.typoWithNoWrap, "{white-space:nowrap;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2Vz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1xuICAgICAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnR5cG9Gb250V2VpZ2h0TWVkaXVtfSk7XG4gICAgfVxuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhOb1dyYXB9IHtcbiAgICAgICAgd2hpdGUtc3BhY2U6IG5vd3JhcDtcbiAgICB9XG5cbiAgICAke2FwcGx5SHlwaGVuc05vcm1hbH07XG5cbiAgICAmLiR7Y2xhc3Nlcy50eXBvV2l0aEJyZWFrV29yZH0ge1xuICAgICAgICAke2FwcGx5SHlwaGVuc307XG4gICAgfVxuYDtcbiJdfQ== */"));
4
+ export var base = /*#__PURE__*/css("font-family:var(", tokens.typoFontFamily, ");font-size:var(", tokens.typoFontSize, ");font-style:var(", tokens.typoFontStyle, ");letter-spacing:var(", tokens.typoFontLetterSpacing, ");line-height:var(", tokens.typoFontLineHeight, ");font-weight:var(", tokens.typoFontWeight, ");&.", classes.typoBold, "{font-weight:var(", tokens.typoFontWeightBold, ");}&.", classes.typoMedium, "{font-weight:var(", tokens.typoFontWeightMedium, ");}&.", classes.typoWithNoWrap, "{white-space:nowrap;}&.", classes.typoIsNumeric, "{font-variant-numeric:tabular-nums;}", applyHyphensNormal, ";&.", classes.typoWithBreakWord, "{", applyHyphens, ";};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVHlwb2dyYXBoeS9UeXBvZ3JhcGh5LnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UeXBvZ3JhcGh5L1R5cG9ncmFwaHkuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzI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M7XG4gICAgfVxuXG4gICAgJHthcHBseUh5cGhlbnNOb3JtYWx9O1xuXG4gICAgJi4ke2NsYXNzZXMudHlwb1dpdGhCcmVha1dvcmR9IHtcbiAgICAgICAgJHthcHBseUh5cGhlbnN9O1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -39,6 +39,9 @@ export function App() {
39
39
  }
40
40
  ```
41
41
 
42
+ ## Моноширинные числа
43
+ Если необходимо сделать числа моноширинным, то нужно установить свойство `inNumeric` в значении `true`.
44
+
42
45
  ## Состав
43
46
 
44
47
  ### Hero unit
@@ -2,7 +2,8 @@ export var classes = {
2
2
  typoWithNoWrap: 'with-no-wrap',
3
3
  typoWithBreakWord: 'with-break-word',
4
4
  typoBold: 'typography-bold',
5
- typoMedium: 'typography-medium'
5
+ typoMedium: 'typography-medium',
6
+ typoIsNumeric: 'typography-is-numeric'
6
7
  };
7
8
  export var tokens = {
8
9
  typoFontFamily: '--typo-font-family',