@salutejs/plasma-new-hope 0.69.0-canary.1148.8507402029.0 → 0.69.0-canary.1148.8535928735.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (113) hide show
  1. package/cjs/components/Cell/Cell.js +7 -6
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +20 -0
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  5. package/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  6. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  7. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +13 -0
  8. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  9. package/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  10. package/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  11. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +13 -0
  12. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  13. package/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  14. package/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  15. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +13 -0
  16. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  17. package/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  18. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  19. package/cjs/index.js +7 -7
  20. package/es/components/Cell/Cell.js +7 -6
  21. package/es/components/Cell/Cell.js.map +1 -1
  22. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +16 -0
  23. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -0
  24. package/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  25. package/es/components/Cell/ui/CellTextbox/CellTextbox.styles.js.map +1 -0
  26. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +9 -0
  27. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js.map +1 -0
  28. package/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  29. package/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.js.map +1 -0
  30. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +9 -0
  31. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js.map +1 -0
  32. package/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  33. package/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js.map +1 -0
  34. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +9 -0
  35. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -0
  36. package/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  37. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.js.map +1 -0
  38. package/es/index.js +4 -4
  39. package/package.json +4 -4
  40. package/styled-components/cjs/components/Cell/Cell.js +7 -6
  41. package/styled-components/cjs/components/Cell/index.js +7 -7
  42. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +19 -0
  43. package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  44. package/styled-components/cjs/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +12 -0
  45. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +4 -8
  46. package/styled-components/cjs/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +12 -0
  47. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +4 -8
  48. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +12 -0
  49. package/styled-components/cjs/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +4 -8
  50. package/styled-components/es/components/Cell/Cell.js +7 -6
  51. package/styled-components/es/components/Cell/index.js +4 -4
  52. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +12 -0
  53. package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.js +2 -2
  54. package/styled-components/es/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.js +5 -0
  55. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextLabel.js → ui/CellTextboxLabel/CellTextboxLabel.styles.js} +3 -7
  56. package/styled-components/es/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.js +5 -0
  57. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextSubtitle.js → ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.js} +3 -7
  58. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +5 -0
  59. package/styled-components/es/components/Cell/{CellTextbox/ui/CellTextTitle.js → ui/CellTextboxTitle/CellTextboxTitle.styles.js} +3 -7
  60. package/types/components/Cell/Cell.d.ts +2 -2
  61. package/types/components/Cell/Cell.d.ts.map +1 -1
  62. package/types/components/Cell/Cell.types.d.ts +6 -1
  63. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  64. package/types/components/Cell/index.d.ts +5 -5
  65. package/types/components/Cell/index.d.ts.map +1 -1
  66. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -0
  67. package/types/components/Cell/ui/CellTextbox/CellTextbox.styles.d.ts.map +1 -0
  68. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts +33 -0
  69. package/types/components/Cell/ui/CellTextbox/CellTextbox.types.d.ts.map +1 -0
  70. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts +3 -0
  71. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.d.ts.map +1 -0
  72. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts +2 -0
  73. package/types/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.d.ts.map +1 -0
  74. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts +3 -0
  75. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.d.ts.map +1 -0
  76. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts +2 -0
  77. package/types/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.d.ts.map +1 -0
  78. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts +3 -0
  79. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -0
  80. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts +2 -0
  81. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.d.ts.map +1 -0
  82. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +9 -9
  83. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts.map +1 -1
  84. package/types/examples/plasma_web/components/Cell/Cell.d.ts +9 -9
  85. package/types/examples/plasma_web/components/Cell/Cell.d.ts.map +1 -1
  86. package/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -21
  87. package/cjs/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
  88. package/cjs/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
  89. package/cjs/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
  90. package/cjs/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
  91. package/cjs/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
  92. package/es/components/Cell/CellTextbox/CellTextbox.js +0 -17
  93. package/es/components/Cell/CellTextbox/CellTextbox.js.map +0 -1
  94. package/es/components/Cell/CellTextbox/CellTextbox.styles.js.map +0 -1
  95. package/es/components/Cell/CellTextbox/ui/CellTextLabel.js.map +0 -1
  96. package/es/components/Cell/CellTextbox/ui/CellTextSubtitle.js.map +0 -1
  97. package/es/components/Cell/CellTextbox/ui/CellTextTitle.js.map +0 -1
  98. package/styled-components/cjs/components/Cell/CellTextbox/CellTextbox.js +0 -20
  99. package/styled-components/es/components/Cell/CellTextbox/CellTextbox.js +0 -13
  100. package/types/components/Cell/CellTextbox/CellTextbox.d.ts.map +0 -1
  101. package/types/components/Cell/CellTextbox/CellTextbox.styles.d.ts.map +0 -1
  102. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts +0 -43
  103. package/types/components/Cell/CellTextbox/CellTextbox.types.d.ts.map +0 -1
  104. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts +0 -5
  105. package/types/components/Cell/CellTextbox/ui/CellTextLabel.d.ts.map +0 -1
  106. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts +0 -5
  107. package/types/components/Cell/CellTextbox/ui/CellTextSubtitle.d.ts.map +0 -1
  108. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts +0 -5
  109. package/types/components/Cell/CellTextbox/ui/CellTextTitle.d.ts.map +0 -1
  110. /package/styled-components/cjs/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
  111. /package/styled-components/es/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.types.js +0 -0
  112. /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.d.ts +0 -0
  113. /package/types/components/Cell/{CellTextbox → ui/CellTextbox}/CellTextbox.styles.d.ts +0 -0
@@ -11,7 +11,7 @@ var _Cell = /*#__PURE__*/require("./Cell.styles");
11
11
  var _Cell2 = /*#__PURE__*/require("./Cell.tokens");
12
12
  var _base = /*#__PURE__*/require("./variations/_view/base");
13
13
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
14
- var _CellTextbox = /*#__PURE__*/require("./CellTextbox/CellTextbox");
14
+ var _CellTextbox = /*#__PURE__*/require("./ui/CellTextbox/CellTextbox");
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
17
17
  var cellRoot = exports.cellRoot = function cellRoot(Root) {
@@ -33,19 +33,20 @@ var cellRoot = exports.cellRoot = function cellRoot(Root) {
33
33
  _ref$stretching = _ref.stretching,
34
34
  stretching = _ref$stretching === void 0 ? 'filled' : _ref$stretching;
35
35
  var stretchingClass = _Cell2.classes["".concat(stretching, "Stretching")];
36
+ var titleText = title || description;
37
+ var contentLeftDeprecated = contentLeft || content;
36
38
  return /*#__PURE__*/_react["default"].createElement(Root, {
37
39
  ref: outerRootRef,
38
40
  size: size,
39
41
  view: view,
40
42
  className: (0, _utils.cx)(stretchingClass, _Cell2.classes.cellRoot)
41
- }, contentLeft && /*#__PURE__*/_react["default"].createElement(_Cell.CellLeft, {
43
+ }, contentLeftDeprecated && /*#__PURE__*/_react["default"].createElement(_Cell.CellLeft, {
42
44
  align: alignContentLeft
43
- }, contentLeft), /*#__PURE__*/_react["default"].createElement(_Cell.CellContentWrapper, null, /*#__PURE__*/_react["default"].createElement(_Cell.CellContent, null, title || description || subtitle || label ? /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextbox, {
45
+ }, contentLeftDeprecated), /*#__PURE__*/_react["default"].createElement(_Cell.CellContentWrapper, null, /*#__PURE__*/_react["default"].createElement(_Cell.CellContent, null, titleText || subtitle || label ? /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextbox, {
44
46
  label: label,
45
- description: description,
46
- title: title,
47
+ title: titleText,
47
48
  subtitle: subtitle
48
- }) : children || content), contentRight && /*#__PURE__*/_react["default"].createElement(_Cell.CellRight, {
49
+ }) : children), contentRight && /*#__PURE__*/_react["default"].createElement(_Cell.CellRight, {
49
50
  align: alignContentRight
50
51
  }, contentRight)));
51
52
  });
@@ -12,19 +12,19 @@ Object.defineProperty(exports, "CellTextbox", {
12
12
  Object.defineProperty(exports, "CellTextboxLabel", {
13
13
  enumerable: true,
14
14
  get: function get() {
15
- return _CellTextLabel.CellTextboxLabel;
15
+ return _CellTextboxLabel.CellTextboxLabel;
16
16
  }
17
17
  });
18
18
  Object.defineProperty(exports, "CellTextboxSubtitle", {
19
19
  enumerable: true,
20
20
  get: function get() {
21
- return _CellTextSubtitle.CellTextboxSubtitle;
21
+ return _CellTextboxSubtitle.CellTextboxSubtitle;
22
22
  }
23
23
  });
24
24
  Object.defineProperty(exports, "CellTextboxTitle", {
25
25
  enumerable: true,
26
26
  get: function get() {
27
- return _CellTextTitle.CellTextboxTitle;
27
+ return _CellTextboxTitle.CellTextboxTitle;
28
28
  }
29
29
  });
30
30
  Object.defineProperty(exports, "cellClasses", {
@@ -51,9 +51,9 @@ Object.defineProperty(exports, "cellTokens", {
51
51
  return _Cell2.tokens;
52
52
  }
53
53
  });
54
- var _CellTextLabel = /*#__PURE__*/require("./CellTextbox/ui/CellTextLabel");
55
- var _CellTextTitle = /*#__PURE__*/require("./CellTextbox/ui/CellTextTitle");
56
- var _CellTextSubtitle = /*#__PURE__*/require("./CellTextbox/ui/CellTextSubtitle");
54
+ var _CellTextboxLabel = /*#__PURE__*/require("./ui/CellTextboxLabel/CellTextboxLabel");
55
+ var _CellTextboxTitle = /*#__PURE__*/require("./ui/CellTextboxTitle/CellTextboxTitle");
56
+ var _CellTextboxSubtitle = /*#__PURE__*/require("./ui/CellTextboxSubtitle/CellTextboxSubtitle");
57
57
  var _Cell = /*#__PURE__*/require("./Cell");
58
58
  var _Cell2 = /*#__PURE__*/require("./Cell.tokens");
59
- var _CellTextbox = /*#__PURE__*/require("./CellTextbox/CellTextbox");
59
+ var _CellTextbox = /*#__PURE__*/require("./ui/CellTextbox/CellTextbox");
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextbox = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxLabel = /*#__PURE__*/require("../CellTextboxLabel/CellTextboxLabel");
9
+ var _CellTextboxTitle = /*#__PURE__*/require("../CellTextboxTitle/CellTextboxTitle");
10
+ var _CellTextboxSubtitle = /*#__PURE__*/require("../CellTextboxSubtitle/CellTextboxSubtitle");
11
+ var _CellTextbox = /*#__PURE__*/require("./CellTextbox.styles");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ var CellTextbox = exports.CellTextbox = function CellTextbox(_ref) {
14
+ var label = _ref.label,
15
+ title = _ref.title,
16
+ subtitle = _ref.subtitle,
17
+ children = _ref.children;
18
+ return /*#__PURE__*/_react["default"].createElement(_CellTextbox.CellTextboxStyled, null, label || title || subtitle ? /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, label && /*#__PURE__*/_react["default"].createElement(_CellTextboxLabel.CellTextboxLabel, null, label), title && /*#__PURE__*/_react["default"].createElement(_CellTextboxTitle.CellTextboxTitle, null, title), subtitle && /*#__PURE__*/_react["default"].createElement(_CellTextboxSubtitle.CellTextboxSubtitle, null, subtitle)) : children);
19
+ };
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.CellTextboxStyled = void 0;
7
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
- var _Cell = /*#__PURE__*/require("../Cell.tokens");
8
+ var _Cell = /*#__PURE__*/require("../../Cell.tokens");
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
10
  var CellTextboxStyled = exports.CellTextboxStyled = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
- componentId: "plasma-new-hope__sc-1ts73cj-0"
11
+ componentId: "plasma-new-hope__sc-w4g41u-0"
12
12
  })(["display:flex;flex-direction:column;gap:var(", ");"], _Cell.tokens.cellTextboxGap);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxLabel = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxLabel = /*#__PURE__*/require("./CellTextboxLabel.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxLabel = exports.CellTextboxLabel = function CellTextboxLabel(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxLabel.StyledTextboxLabel, null, props.children);
12
+ };
@@ -3,14 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CellTextboxLabel = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
6
+ exports.StyledTextboxLabel = void 0;
8
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
9
8
  var _Cell = /*#__PURE__*/require("../../Cell.tokens");
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var StyledTextLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
12
- componentId: "plasma-new-hope__sc-1syy9dx-0"
13
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellLabelColor, _Cell.tokens.cellLabelFontSize, _Cell.tokens.cellLabelFontWeight, _Cell.tokens.cellLabelFontFamily, _Cell.tokens.cellLabelFontStyle, _Cell.tokens.cellLabelLineHeight, _Cell.tokens.cellLabelLetterSpacing);
14
- var CellTextboxLabel = exports.CellTextboxLabel = function CellTextboxLabel(props) {
15
- return /*#__PURE__*/_react["default"].createElement(StyledTextLabel, null, props.children);
16
- };
10
+ var StyledTextboxLabel = exports.StyledTextboxLabel = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-j0en77-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellLabelColor, _Cell.tokens.cellLabelFontSize, _Cell.tokens.cellLabelFontWeight, _Cell.tokens.cellLabelFontFamily, _Cell.tokens.cellLabelFontStyle, _Cell.tokens.cellLabelLineHeight, _Cell.tokens.cellLabelLetterSpacing);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxSubtitle = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxSubtitle = /*#__PURE__*/require("./CellTextboxSubtitle.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxSubtitle = exports.CellTextboxSubtitle = function CellTextboxSubtitle(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxSubtitle.StyledTextboxSubtitle, null, props.children);
12
+ };
@@ -3,14 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CellTextboxSubtitle = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
6
+ exports.StyledTextboxSubtitle = void 0;
8
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
9
8
  var _Cell = /*#__PURE__*/require("../../Cell.tokens");
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var StyledTextSubtitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
12
- componentId: "plasma-new-hope__sc-ulqa2a-0"
13
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellSubtitleColor, _Cell.tokens.cellSubtitleFontSize, _Cell.tokens.cellSubtitleFontWeight, _Cell.tokens.cellSubtitleFontFamily, _Cell.tokens.cellSubtitleFontStyle, _Cell.tokens.cellSubtitleLineHeight, _Cell.tokens.cellSubtitleLetterSpacing);
14
- var CellTextboxSubtitle = exports.CellTextboxSubtitle = function CellTextboxSubtitle(props) {
15
- return /*#__PURE__*/_react["default"].createElement(StyledTextSubtitle, null, props.children);
16
- };
10
+ var StyledTextboxSubtitle = exports.StyledTextboxSubtitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-lkssfu-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellSubtitleColor, _Cell.tokens.cellSubtitleFontSize, _Cell.tokens.cellSubtitleFontWeight, _Cell.tokens.cellSubtitleFontFamily, _Cell.tokens.cellSubtitleFontStyle, _Cell.tokens.cellSubtitleLineHeight, _Cell.tokens.cellSubtitleLetterSpacing);
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CellTextboxTitle = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _CellTextboxTitle = /*#__PURE__*/require("./CellTextboxTitle.styles");
9
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10
+ var CellTextboxTitle = exports.CellTextboxTitle = function CellTextboxTitle(props) {
11
+ return /*#__PURE__*/_react["default"].createElement(_CellTextboxTitle.StyledTextboxTitle, null, props.children);
12
+ };
@@ -3,14 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.CellTextboxTitle = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
6
+ exports.StyledTextboxTitle = void 0;
8
7
  var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
9
8
  var _Cell = /*#__PURE__*/require("../../Cell.tokens");
10
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var StyledTextTitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
12
- componentId: "plasma-new-hope__sc-o4ebas-0"
13
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellTitleColor, _Cell.tokens.cellTitleFontSize, _Cell.tokens.cellTitleFontWeight, _Cell.tokens.cellTitleFontFamily, _Cell.tokens.cellTitleFontStyle, _Cell.tokens.cellTitleLineHeight, _Cell.tokens.cellTitleLetterSpacing);
14
- var CellTextboxTitle = exports.CellTextboxTitle = function CellTextboxTitle(props) {
15
- return /*#__PURE__*/_react["default"].createElement(StyledTextTitle, null, props.children);
16
- };
10
+ var StyledTextboxTitle = exports.StyledTextboxTitle = /*#__PURE__*/_styledComponents["default"].div.withConfig({
11
+ componentId: "plasma-new-hope__sc-3vis0m-0"
12
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], _Cell.tokens.cellTitleColor, _Cell.tokens.cellTitleFontSize, _Cell.tokens.cellTitleFontWeight, _Cell.tokens.cellTitleFontFamily, _Cell.tokens.cellTitleFontStyle, _Cell.tokens.cellTitleLineHeight, _Cell.tokens.cellTitleLetterSpacing);
@@ -4,7 +4,7 @@ import { base, CellLeft, CellRight, CellContentWrapper, CellContent } from './Ce
4
4
  import { classes } from './Cell.tokens';
5
5
  import { base as viewCSS } from './variations/_view/base';
6
6
  import { base as sizeCSS } from './variations/_size/base';
7
- import { CellTextbox } from './CellTextbox/CellTextbox';
7
+ import { CellTextbox } from './ui/CellTextbox/CellTextbox';
8
8
  export var cellRoot = function cellRoot(Root) {
9
9
  return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
10
10
  var size = _ref.size,
@@ -24,19 +24,20 @@ export var cellRoot = function cellRoot(Root) {
24
24
  _ref$stretching = _ref.stretching,
25
25
  stretching = _ref$stretching === void 0 ? 'filled' : _ref$stretching;
26
26
  var stretchingClass = classes["".concat(stretching, "Stretching")];
27
+ var titleText = title || description;
28
+ var contentLeftDeprecated = contentLeft || content;
27
29
  return /*#__PURE__*/React.createElement(Root, {
28
30
  ref: outerRootRef,
29
31
  size: size,
30
32
  view: view,
31
33
  className: cx(stretchingClass, classes.cellRoot)
32
- }, contentLeft && /*#__PURE__*/React.createElement(CellLeft, {
34
+ }, contentLeftDeprecated && /*#__PURE__*/React.createElement(CellLeft, {
33
35
  align: alignContentLeft
34
- }, contentLeft), /*#__PURE__*/React.createElement(CellContentWrapper, null, /*#__PURE__*/React.createElement(CellContent, null, title || description || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox, {
36
+ }, contentLeftDeprecated), /*#__PURE__*/React.createElement(CellContentWrapper, null, /*#__PURE__*/React.createElement(CellContent, null, titleText || subtitle || label ? /*#__PURE__*/React.createElement(CellTextbox, {
35
37
  label: label,
36
- description: description,
37
- title: title,
38
+ title: titleText,
38
39
  subtitle: subtitle
39
- }) : children || content), contentRight && /*#__PURE__*/React.createElement(CellRight, {
40
+ }) : children), contentRight && /*#__PURE__*/React.createElement(CellRight, {
40
41
  align: alignContentRight
41
42
  }, contentRight)));
42
43
  });
@@ -1,6 +1,6 @@
1
- export { CellTextboxLabel } from './CellTextbox/ui/CellTextLabel';
2
- export { CellTextboxTitle } from './CellTextbox/ui/CellTextTitle';
3
- export { CellTextboxSubtitle } from './CellTextbox/ui/CellTextSubtitle';
1
+ export { CellTextboxLabel } from './ui/CellTextboxLabel/CellTextboxLabel';
2
+ export { CellTextboxTitle } from './ui/CellTextboxTitle/CellTextboxTitle';
3
+ export { CellTextboxSubtitle } from './ui/CellTextboxSubtitle/CellTextboxSubtitle';
4
4
  export { cellRoot, cellConfig } from './Cell';
5
5
  export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
6
- export { CellTextbox } from './CellTextbox/CellTextbox';
6
+ export { CellTextbox } from './ui/CellTextbox/CellTextbox';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { CellTextboxLabel } from '../CellTextboxLabel/CellTextboxLabel';
3
+ import { CellTextboxTitle } from '../CellTextboxTitle/CellTextboxTitle';
4
+ import { CellTextboxSubtitle } from '../CellTextboxSubtitle/CellTextboxSubtitle';
5
+ import { CellTextboxStyled } from './CellTextbox.styles';
6
+ export var CellTextbox = function CellTextbox(_ref) {
7
+ var label = _ref.label,
8
+ title = _ref.title,
9
+ subtitle = _ref.subtitle,
10
+ children = _ref.children;
11
+ return /*#__PURE__*/React.createElement(CellTextboxStyled, null, label || title || subtitle ? /*#__PURE__*/React.createElement(React.Fragment, null, label && /*#__PURE__*/React.createElement(CellTextboxLabel, null, label), title && /*#__PURE__*/React.createElement(CellTextboxTitle, null, title), subtitle && /*#__PURE__*/React.createElement(CellTextboxSubtitle, null, subtitle)) : children);
12
+ };
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { tokens } from '../Cell.tokens';
2
+ import { tokens } from '../../Cell.tokens';
3
3
  export var CellTextboxStyled = /*#__PURE__*/styled.div.withConfig({
4
- componentId: "plasma-new-hope__sc-1ts73cj-0"
4
+ componentId: "plasma-new-hope__sc-w4g41u-0"
5
5
  })(["display:flex;flex-direction:column;gap:var(", ");"], tokens.cellTextboxGap);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { StyledTextboxLabel } from './CellTextboxLabel.styles';
3
+ export var CellTextboxLabel = function CellTextboxLabel(props) {
4
+ return /*#__PURE__*/React.createElement(StyledTextboxLabel, null, props.children);
5
+ };
@@ -1,9 +1,5 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens';
4
- var StyledTextLabel = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-1syy9dx-0"
6
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellLabelColor, tokens.cellLabelFontSize, tokens.cellLabelFontWeight, tokens.cellLabelFontFamily, tokens.cellLabelFontStyle, tokens.cellLabelLineHeight, tokens.cellLabelLetterSpacing);
7
- export var CellTextboxLabel = function CellTextboxLabel(props) {
8
- return /*#__PURE__*/React.createElement(StyledTextLabel, null, props.children);
9
- };
3
+ export var StyledTextboxLabel = /*#__PURE__*/styled.div.withConfig({
4
+ componentId: "plasma-new-hope__sc-j0en77-0"
5
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellLabelColor, tokens.cellLabelFontSize, tokens.cellLabelFontWeight, tokens.cellLabelFontFamily, tokens.cellLabelFontStyle, tokens.cellLabelLineHeight, tokens.cellLabelLetterSpacing);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { StyledTextboxSubtitle } from './CellTextboxSubtitle.styles';
3
+ export var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
4
+ return /*#__PURE__*/React.createElement(StyledTextboxSubtitle, null, props.children);
5
+ };
@@ -1,9 +1,5 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens';
4
- var StyledTextSubtitle = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-ulqa2a-0"
6
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellSubtitleColor, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontWeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontStyle, tokens.cellSubtitleLineHeight, tokens.cellSubtitleLetterSpacing);
7
- export var CellTextboxSubtitle = function CellTextboxSubtitle(props) {
8
- return /*#__PURE__*/React.createElement(StyledTextSubtitle, null, props.children);
9
- };
3
+ export var StyledTextboxSubtitle = /*#__PURE__*/styled.div.withConfig({
4
+ componentId: "plasma-new-hope__sc-lkssfu-0"
5
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellSubtitleColor, tokens.cellSubtitleFontSize, tokens.cellSubtitleFontWeight, tokens.cellSubtitleFontFamily, tokens.cellSubtitleFontStyle, tokens.cellSubtitleLineHeight, tokens.cellSubtitleLetterSpacing);
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { StyledTextboxTitle } from './CellTextboxTitle.styles';
3
+ export var CellTextboxTitle = function CellTextboxTitle(props) {
4
+ return /*#__PURE__*/React.createElement(StyledTextboxTitle, null, props.children);
5
+ };
@@ -1,9 +1,5 @@
1
- import React from 'react';
2
1
  import styled from 'styled-components';
3
2
  import { tokens } from '../../Cell.tokens';
4
- var StyledTextTitle = /*#__PURE__*/styled.div.withConfig({
5
- componentId: "plasma-new-hope__sc-o4ebas-0"
6
- })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellTitleColor, tokens.cellTitleFontSize, tokens.cellTitleFontWeight, tokens.cellTitleFontFamily, tokens.cellTitleFontStyle, tokens.cellTitleLineHeight, tokens.cellTitleLetterSpacing);
7
- export var CellTextboxTitle = function CellTextboxTitle(props) {
8
- return /*#__PURE__*/React.createElement(StyledTextTitle, null, props.children);
9
- };
3
+ export var StyledTextboxTitle = /*#__PURE__*/styled.div.withConfig({
4
+ componentId: "plasma-new-hope__sc-3vis0m-0"
5
+ })(["color:var(", ");font-size:var(", ");font-weight:var(", ");font-family:var(", ");font-style:var(", ");line-height:var(", ");letter-spacing:var(", ");"], tokens.cellTitleColor, tokens.cellTitleFontSize, tokens.cellTitleFontWeight, tokens.cellTitleFontFamily, tokens.cellTitleFontStyle, tokens.cellTitleLineHeight, tokens.cellTitleLetterSpacing);
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import { RootProps } from '../../engines';
3
3
  import type { CellProps } from './Cell.types';
4
- export declare const cellRoot: (Root: RootProps<HTMLSelectElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLSelectElement>>;
4
+ export declare const cellRoot: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const cellConfig: {
6
6
  name: string;
7
7
  tag: string;
8
- layout: (Root: RootProps<HTMLSelectElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLSelectElement>>;
8
+ layout: (Root: RootProps<HTMLDivElement, CellProps>) => React.ForwardRefExoticComponent<CellProps & React.RefAttributes<HTMLDivElement>>;
9
9
  base: import("@linaria/core").LinariaClassName;
10
10
  variations: {
11
11
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,iBAAiB,EAAE,SAAS,CAAC,wFA0CjE,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA5CQ,UAAU,iBAAiB,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA6DrE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFAwC9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA1CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA2DlE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
2
+ import type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
3
3
  export declare type AlignProp = 'center' | 'top' | 'bottom';
4
4
  declare type CustomCellProps = {
5
5
  /**
@@ -40,6 +40,11 @@ declare type CustomCellProps = {
40
40
  * @deprecated
41
41
  */
42
42
  content?: ReactNode;
43
+ /**
44
+ * Свойство устарело, вместо этого нужно использовать title
45
+ * @deprecated
46
+ */
47
+ description?: string;
43
48
  };
44
49
  export declare type CellProps = CustomCellProps & CellTextboxProps;
45
50
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;CACvB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Cell.types.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,oBAAY,SAAS,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,aAAK,eAAe,GAAG;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAE9B;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
@@ -1,9 +1,9 @@
1
- export { CellTextboxLabel } from './CellTextbox/ui/CellTextLabel';
2
- export { CellTextboxTitle } from './CellTextbox/ui/CellTextTitle';
3
- export { CellTextboxSubtitle } from './CellTextbox/ui/CellTextSubtitle';
1
+ export { CellTextboxLabel } from './ui/CellTextboxLabel/CellTextboxLabel';
2
+ export { CellTextboxTitle } from './ui/CellTextboxTitle/CellTextboxTitle';
3
+ export { CellTextboxSubtitle } from './ui/CellTextboxSubtitle/CellTextboxSubtitle';
4
4
  export { cellRoot, cellConfig } from './Cell';
5
5
  export type { CellProps } from './Cell.types';
6
6
  export { tokens as cellTokens, classes as cellClasses } from './Cell.tokens';
7
- export { CellTextbox } from './CellTextbox/CellTextbox';
8
- export type { CellTextboxProps } from './CellTextbox/CellTextbox.types';
7
+ export { CellTextbox } from './ui/CellTextbox/CellTextbox';
8
+ export type { CellTextboxProps } from './ui/CellTextbox/CellTextbox.types';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAExE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AAE7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAE5D,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,CAmBnF,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB,oEAI7B,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { HTMLAttributes, ReactNode } from 'react';
2
+ declare type CustomTextboxProps = {
3
+ /**
4
+ * Слот для Title
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Слот для Subtitle
9
+ */
10
+ subtitle?: string;
11
+ /**
12
+ * Слот для Label
13
+ */
14
+ label?: string;
15
+ children?: never;
16
+ } | {
17
+ /**
18
+ * Слот для Title
19
+ */
20
+ title?: never;
21
+ /**
22
+ * Слот для Subtitle
23
+ */
24
+ subtitle?: never;
25
+ /**
26
+ * Слот для Label
27
+ */
28
+ label?: never;
29
+ children?: ReactNode;
30
+ };
31
+ export declare type CellTextboxProps = CustomTextboxProps & HTMLAttributes<HTMLDivElement>;
32
+ export {};
33
+ //# sourceMappingURL=CellTextbox.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextbox.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextbox/CellTextbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,aAAK,kBAAkB,GACjB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IAEjB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAER,oBAAY,gBAAgB,GAAG,kBAAkB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxLabel: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxLabel.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxLabel.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxLabel/CellTextboxLabel.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxSubtitle: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxSubtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAExE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxSubtitle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxSubtitle.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxSubtitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxSubtitle/CellTextboxSubtitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,oEAQjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React, { HTMLAttributes } from 'react';
2
+ export declare const CellTextboxTitle: React.FC<HTMLAttributes<HTMLDivElement>>;
3
+ //# sourceMappingURL=CellTextboxTitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI9C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAErE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const StyledTextboxTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ //# sourceMappingURL=CellTextboxTitle.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CellTextboxTitle.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oEAQ9B,CAAC"}
@@ -19,13 +19,13 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
19
19
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
20
20
  stretching?: "fixed" | "auto" | "filled" | undefined;
21
21
  content?: import("react").ReactNode;
22
- } & import("react").HTMLAttributes<HTMLDivElement> & {
23
- title?: import("react").ReactNode;
24
- subtitle?: import("react").ReactNode;
25
- label?: import("react").ReactNode;
26
- description?: import("react").ReactNode;
22
+ description?: string | undefined;
23
+ } & {
24
+ title?: string | undefined;
25
+ subtitle?: string | undefined;
26
+ label?: string | undefined;
27
27
  children?: undefined;
28
- } & import("react").RefAttributes<HTMLSelectElement>) | ({
28
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
29
29
  size?: string | undefined;
30
30
  view: string;
31
31
  contentLeft?: import("react").ReactNode;
@@ -34,12 +34,12 @@ export declare const Cell: import("react").FunctionComponent<import("../../../..
34
34
  alignContentRight?: import("../../../../components/Cell/Cell.types").AlignProp | undefined;
35
35
  stretching?: "fixed" | "auto" | "filled" | undefined;
36
36
  content?: import("react").ReactNode;
37
- } & import("react").HTMLAttributes<HTMLDivElement> & {
37
+ description?: string | undefined;
38
+ } & {
38
39
  title?: undefined;
39
40
  subtitle?: undefined;
40
41
  label?: undefined;
41
- description?: undefined;
42
42
  children?: import("react").ReactNode;
43
- } & import("react").RefAttributes<HTMLSelectElement>))>;
43
+ } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
44
44
  export { CellTextbox, CellTextboxLabel, CellTextboxSubtitle, CellTextboxTitle };
45
45
  //# sourceMappingURL=Cell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}
1
+ {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Cell/Cell.ts"],"names":[],"mappings":";AAAA,OAAO,EAEH,WAAW,EACX,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACnB,MAAM,6BAA6B,CAAC;AAMrC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAA0B,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,CAAC"}