@qiwi/pijma-desktop 1.159.3 → 1.160.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 (115) hide show
  1. package/package.json +2 -2
  2. package/target/es5/actions/Actions.js +6 -4
  3. package/target/es5/alert/Alert.js +13 -5
  4. package/target/es5/alert-block/AlertBlock.js +11 -4
  5. package/target/es5/annotation/Annotation.js +8 -4
  6. package/target/es5/block-accordion/BlockAccordion.js +13 -5
  7. package/target/es5/block-content/BlockContent.js +9 -4
  8. package/target/es5/block-tabs/BlockTabs.js +18 -4
  9. package/target/es5/breadcrumbs/Breadcrumbs.js +8 -4
  10. package/target/es5/button/Button.js +3 -2
  11. package/target/es5/checkbox/Checkbox.js +3 -2
  12. package/target/es5/checkbox-field/CheckboxField.js +3 -2
  13. package/target/es5/code-field/CodeField.js +3 -2
  14. package/target/es5/content-suggest/ContentSuggest.js +3 -2
  15. package/target/es5/details/Details.js +13 -4
  16. package/target/es5/drop-down/DropDown.js +17 -4
  17. package/target/es5/footer-app/FooterApp.js +8 -4
  18. package/target/es5/footer-nav/FooterNav.js +8 -4
  19. package/target/es5/footer-out/FooterOut.js +10 -5
  20. package/target/es5/glossary/Glossary.js +9 -4
  21. package/target/es5/header/Header.js +3 -2
  22. package/target/es5/header-bank-card-link/HeaderBankCardLink.js +3 -2
  23. package/target/es5/header-drop-down/HeaderDropDown.js +12 -5
  24. package/target/es5/header-menu/HeaderMenu.js +2 -2
  25. package/target/es5/hint/Hint.js +12 -4
  26. package/target/es5/link/BlockLink.js +3 -2
  27. package/target/es5/link/FileLink.js +3 -2
  28. package/target/es5/link/Link.js +3 -2
  29. package/target/es5/link/SectionLink.js +3 -2
  30. package/target/es5/list/List.js +11 -4
  31. package/target/es5/logo-block-link/LogoBlockLink.js +3 -2
  32. package/target/es5/logo-link/LogoLink.js +3 -2
  33. package/target/es5/menu/MenuItem.js +4 -4
  34. package/target/es5/menu/MenuLink.js +3 -2
  35. package/target/es5/modal/SimpleModal.js +2 -2
  36. package/target/es5/nav-link/NavLink.js +3 -2
  37. package/target/es5/notice/Notice.js +10 -4
  38. package/target/es5/oops/Oops.js +12 -4
  39. package/target/es5/pagination/Pagination.js +15 -5
  40. package/target/es5/pagination/PaginationLink.js +3 -2
  41. package/target/es5/password-field/PasswordField.js +3 -2
  42. package/target/es5/phone-field/PhoneField.js +3 -2
  43. package/target/es5/progress-bar/ProgressBar.js +10 -4
  44. package/target/es5/radio-field/RadioField.js +3 -2
  45. package/target/es5/rating/Rating.js +13 -4
  46. package/target/es5/select-field/SelectField.js +2 -2
  47. package/target/es5/status/Status.js +12 -4
  48. package/target/es5/suggest-field/SuggestField.js +3 -2
  49. package/target/es5/switch/Switch.js +3 -2
  50. package/target/es5/switch-field/SwitchField.js +3 -2
  51. package/target/es5/tabs/Tabs.js +14 -4
  52. package/target/es5/text-area-field/TextAreaField.js +3 -2
  53. package/target/es5/text-field/TextField.js +3 -2
  54. package/target/es5/typography/Caption.js +12 -4
  55. package/target/es5/typography/Heading.js +14 -4
  56. package/target/es5/typography/Paragraph.js +16 -4
  57. package/target/es5/typography/Text.js +19 -4
  58. package/target/es5/typography/Title.js +14 -4
  59. package/target/es6/actions/Actions.js +4 -1
  60. package/target/es6/alert/Alert.js +3 -2
  61. package/target/es6/alert-block/AlertBlock.js +3 -2
  62. package/target/es6/annotation/Annotation.js +3 -2
  63. package/target/es6/block-accordion/BlockAccordion.js +3 -2
  64. package/target/es6/block-content/BlockContent.js +3 -2
  65. package/target/es6/block-tabs/BlockTabs.js +3 -2
  66. package/target/es6/breadcrumbs/Breadcrumbs.js +3 -2
  67. package/target/es6/button/Button.js +2 -1
  68. package/target/es6/checkbox/Checkbox.js +2 -1
  69. package/target/es6/checkbox-field/CheckboxField.js +2 -1
  70. package/target/es6/code-field/CodeField.js +2 -1
  71. package/target/es6/content-suggest/ContentSuggest.js +2 -1
  72. package/target/es6/details/Details.js +3 -2
  73. package/target/es6/drop-down/DropDown.js +3 -2
  74. package/target/es6/footer-app/FooterApp.js +3 -2
  75. package/target/es6/footer-nav/FooterNav.js +3 -2
  76. package/target/es6/footer-out/FooterOut.js +3 -2
  77. package/target/es6/glossary/Glossary.js +3 -2
  78. package/target/es6/header/Header.js +2 -1
  79. package/target/es6/header-bank-card-link/HeaderBankCardLink.js +2 -1
  80. package/target/es6/header-drop-down/HeaderDropDown.js +3 -2
  81. package/target/es6/header-menu/HeaderMenu.js +2 -1
  82. package/target/es6/hint/Hint.js +3 -2
  83. package/target/es6/link/BlockLink.js +2 -1
  84. package/target/es6/link/FileLink.js +2 -1
  85. package/target/es6/link/Link.js +2 -1
  86. package/target/es6/link/SectionLink.js +2 -1
  87. package/target/es6/list/List.js +3 -2
  88. package/target/es6/logo-block-link/LogoBlockLink.js +2 -1
  89. package/target/es6/logo-link/LogoLink.js +2 -1
  90. package/target/es6/menu/MenuItem.js +7 -4
  91. package/target/es6/menu/MenuLink.js +2 -1
  92. package/target/es6/modal/SimpleModal.js +2 -1
  93. package/target/es6/nav-link/NavLink.js +2 -1
  94. package/target/es6/notice/Notice.js +3 -2
  95. package/target/es6/oops/Oops.js +3 -2
  96. package/target/es6/pagination/Pagination.js +3 -2
  97. package/target/es6/pagination/PaginationLink.js +2 -1
  98. package/target/es6/password-field/PasswordField.js +2 -1
  99. package/target/es6/phone-field/PhoneField.js +2 -1
  100. package/target/es6/progress-bar/ProgressBar.js +3 -2
  101. package/target/es6/radio-field/RadioField.js +2 -1
  102. package/target/es6/rating/Rating.js +3 -2
  103. package/target/es6/select-field/SelectField.js +2 -1
  104. package/target/es6/status/Status.js +3 -2
  105. package/target/es6/suggest-field/SuggestField.js +2 -1
  106. package/target/es6/switch/Switch.js +2 -1
  107. package/target/es6/switch-field/SwitchField.js +2 -1
  108. package/target/es6/tabs/Tabs.js +3 -2
  109. package/target/es6/text-area-field/TextAreaField.js +2 -1
  110. package/target/es6/text-field/TextField.js +2 -1
  111. package/target/es6/typography/Caption.js +3 -2
  112. package/target/es6/typography/Heading.js +3 -2
  113. package/target/es6/typography/Paragraph.js +3 -2
  114. package/target/es6/typography/Text.js +3 -2
  115. package/target/es6/typography/Title.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qiwi/pijma-desktop",
3
- "version": "1.159.3",
3
+ "version": "1.160.0",
4
4
  "type": "module",
5
5
  "main": "./target/es5/index.js",
6
6
  "module": "./target/es6/index.js",
@@ -39,7 +39,7 @@
39
39
  "target/es6/**/*"
40
40
  ],
41
41
  "dependencies": {
42
- "@qiwi/pijma-core": "1.158.0"
42
+ "@qiwi/pijma-core": "1.159.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@qiwi/pijma-infra": "1.11.0",
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "Actions", {
8
8
  return Actions;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  var _pijmaCore = require("@qiwi/pijma-core");
@@ -33,18 +34,19 @@ var Actions = function(props) {
33
34
  children: child
34
35
  }, key);
35
36
  });
37
+ var dataProps = (0, _pijmaCore.getDataProps)(props);
36
38
  if (props.vertical) {
37
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
39
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({}, dataProps, {
38
40
  display: "inline-block",
39
41
  maxWidth: 1,
40
42
  children: content
41
- });
43
+ }));
42
44
  }
43
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, {
45
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, _extends({}, dataProps, {
44
46
  display: "inline-flex",
45
47
  align: "center",
46
48
  maxWidth: 1,
47
49
  children: content
48
- });
50
+ }));
49
51
  };
50
52
  Actions.displayName = "Actions";
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "Alert", {
8
8
  return Alert;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -26,12 +28,18 @@ var AlertIconName = {
26
28
  failure: "attention",
27
29
  general: "info"
28
30
  };
29
- var Alert = function(param) {
30
- var _type = param.type, type = _type === void 0 ? "general" : _type, text = param.text, action = param.action, onHide = param.onHide, onClick = param.onClick;
31
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.AlertControl, {
31
+ var Alert = function(_param) /*#__PURE__*/ {
32
+ var _type = _param.type, type = _type === void 0 ? "general" : _type, text = _param.text, action = _param.action, onHide = _param.onHide, onClick = _param.onClick, rest = _objectWithoutPropertiesLoose(_param, [
33
+ "type",
34
+ "text",
35
+ "action",
36
+ "onHide",
37
+ "onClick"
38
+ ]);
39
+ return (0, _jsxRuntime.jsx)(_pijmaCore.AlertControl, {
32
40
  onHide: onHide,
33
41
  children: function(renderProps) {
34
- return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
42
+ return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
35
43
  minHeight: 16,
36
44
  py: 5,
37
45
  children: [
@@ -74,7 +82,7 @@ var Alert = function(param) {
74
82
  })
75
83
  }) : null
76
84
  ]
77
- });
85
+ }));
78
86
  }
79
87
  });
80
88
  };
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "AlertBlock", {
8
8
  return AlertBlock;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
@@ -53,8 +55,13 @@ var AlertBlockIcon = {
53
55
  bg: "#fff"
54
56
  }
55
57
  };
56
- var AlertBlock = function(param) {
57
- var children = param.children, icon = param.icon, type = param.type, onHide = param.onHide;
58
+ var AlertBlock = function(_param) {
59
+ var children = _param.children, icon = _param.icon, type = _param.type, onHide = _param.onHide, rest = _objectWithoutPropertiesLoose(_param, [
60
+ "children",
61
+ "icon",
62
+ "type",
63
+ "onHide"
64
+ ]);
58
65
  var iconComponent = /*#__PURE__*/ (0, _react.isValidElement)(icon) ? icon : icon === undefined ? /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Pos, {
59
66
  type: "relative",
60
67
  children: [
@@ -82,7 +89,7 @@ var AlertBlock = function(param) {
82
89
  return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.AlertBlockControl, {
83
90
  onHide: onHide,
84
91
  children: function(renderProps) {
85
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Block, {
92
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Block, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
86
93
  bg: AlertBlockBackground[type],
87
94
  children: /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.FlexPos, {
88
95
  display: "flex",
@@ -120,7 +127,7 @@ var AlertBlock = function(param) {
120
127
  }) : null
121
128
  ]
122
129
  })
123
- });
130
+ }));
124
131
  }
125
132
  });
126
133
  };
@@ -8,19 +8,23 @@ Object.defineProperty(exports, "Annotation", {
8
8
  return Annotation;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
15
- var Annotation = function(param) {
16
- var children = param.children;
17
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Card, {
17
+ var Annotation = function(_param) /*#__PURE__*/ {
18
+ var children = _param.children, rest = _objectWithoutPropertiesLoose(_param, [
19
+ "children"
20
+ ]);
21
+ return (0, _jsxRuntime.jsx)(_pijmaCore.Card, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
18
22
  px: 11,
19
23
  pt: 11,
20
24
  pb: 12,
21
25
  r: 10,
22
26
  b: "solid 1px #e6e6e6",
23
27
  children: children
24
- });
28
+ }));
25
29
  };
26
30
  Annotation.displayName = "Annotation";
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "BlockAccordion", {
8
8
  return BlockAccordion;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -18,14 +20,20 @@ var BlockAccordionIndent = {
18
20
  m: 11,
19
21
  l: 17
20
22
  };
21
- var BlockAccordion = function(param) {
22
- var items = param.items, _indent = param.indent, indent = _indent === void 0 ? "m" : _indent, _tabIndex = param.tabIndex, tabIndex = _tabIndex === void 0 ? 0 : _tabIndex, opened = param.opened, onChange = param.onChange;
23
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.AccordionControl, {
23
+ var BlockAccordion = function(_param) /*#__PURE__*/ {
24
+ var items = _param.items, _indent = _param.indent, indent = _indent === void 0 ? "m" : _indent, _tabIndex = _param.tabIndex, tabIndex = _tabIndex === void 0 ? 0 : _tabIndex, opened = _param.opened, onChange = _param.onChange, rest = _objectWithoutPropertiesLoose(_param, [
25
+ "items",
26
+ "indent",
27
+ "tabIndex",
28
+ "opened",
29
+ "onChange"
30
+ ]);
31
+ return (0, _jsxRuntime.jsx)(_pijmaCore.AccordionControl, {
24
32
  items: items,
25
33
  opened: opened,
26
34
  onChange: onChange,
27
35
  children: function(renderProps) {
28
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
36
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
29
37
  py: 3,
30
38
  children: renderProps.items.map(function(item, index) {
31
39
  return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Card, {
@@ -78,7 +86,7 @@ var BlockAccordion = function(param) {
78
86
  ]
79
87
  }, index);
80
88
  })
81
- });
89
+ }));
82
90
  }
83
91
  });
84
92
  };
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "BlockContent", {
8
8
  return BlockContent;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -17,12 +19,15 @@ var BlockContentIdent = {
17
19
  m: "44px 44px 48px",
18
20
  l: "44px 68px 48px"
19
21
  };
20
- var BlockContent = function(param) {
21
- var _indent = param.indent, indent = _indent === void 0 ? "m" : _indent, children = param.children;
22
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
22
+ var BlockContent = function(_param) /*#__PURE__*/ {
23
+ var _indent = _param.indent, indent = _indent === void 0 ? "m" : _indent, children = _param.children, rest = _objectWithoutPropertiesLoose(_param, [
24
+ "indent",
25
+ "children"
26
+ ]);
27
+ return (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
23
28
  p: BlockContentIdent[indent],
24
29
  children: children
25
- });
30
+ }));
26
31
  };
27
32
  BlockContent.displayName = "BlockContent";
28
33
  BlockContent.defaultProps = {
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "BlockTabs", {
8
8
  return BlockTabs;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -49,8 +51,20 @@ var FlexOverflow = (0, _pijmaCore.styled)(_pijmaCore.Flex)({
49
51
  FlexOverflow.displayName = "FlexOverflow";
50
52
  var TabContent = (0, _pijmaCore.styled)(_pijmaCore.FlexItem)();
51
53
  TabContent.displayName = "TabContent";
52
- var BlockTabs = function(param) {
53
- var items = param.items, _select = param.select, select = _select === void 0 ? 0 : _select, _tabIndex = param.tabIndex, tabIndex = _tabIndex === void 0 ? 0 : _tabIndex, _vertical = param.vertical, vertical = _vertical === void 0 ? false : _vertical, _centered = param.centered, centered = _centered === void 0 ? false : _centered, _stub = param.stub, stub = _stub === void 0 ? false : _stub, _hr = param.hr, hr = _hr === void 0 ? true : _hr, _indent = param.indent, indent = _indent === void 0 ? "m" : _indent, pt = param.pt, pb = param.pb, onChange = param.onChange;
54
+ var BlockTabs = function(_param) {
55
+ var items = _param.items, _select = _param.select, select = _select === void 0 ? 0 : _select, _tabIndex = _param.tabIndex, tabIndex = _tabIndex === void 0 ? 0 : _tabIndex, _vertical = _param.vertical, vertical = _vertical === void 0 ? false : _vertical, _centered = _param.centered, centered = _centered === void 0 ? false : _centered, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, _hr = _param.hr, hr = _hr === void 0 ? true : _hr, _indent = _param.indent, indent = _indent === void 0 ? "m" : _indent, pt = _param.pt, pb = _param.pb, onChange = _param.onChange, rest = _objectWithoutPropertiesLoose(_param, [
56
+ "items",
57
+ "select",
58
+ "tabIndex",
59
+ "vertical",
60
+ "centered",
61
+ "stub",
62
+ "hr",
63
+ "indent",
64
+ "pt",
65
+ "pb",
66
+ "onChange"
67
+ ]);
54
68
  return stub ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Pos, {
55
69
  type: "relative",
56
70
  children: /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
@@ -117,7 +131,7 @@ var BlockTabs = function(param) {
117
131
  length: items.length,
118
132
  onChange: onChange,
119
133
  children: function(renderProps) {
120
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Pos, {
134
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Pos, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
121
135
  type: "relative",
122
136
  children: /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Flex, {
123
137
  direction: "column",
@@ -182,7 +196,7 @@ var BlockTabs = function(param) {
182
196
  })
183
197
  ]
184
198
  })
185
- });
199
+ }));
186
200
  }
187
201
  });
188
202
  };
@@ -10,20 +10,24 @@ Object.defineProperty(exports, "Breadcrumbs", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/lib/_extends.js").default;
12
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _pijmaCore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
16
17
  var _navLink = require("../nav-link/index.js");
17
18
  var _typography = require("../typography/index.js");
18
- var Breadcrumbs = function(param) {
19
- var _children = param.children, children = _children === void 0 ? [] : _children, _stub = param.stub, stub = _stub === void 0 ? false : _stub;
19
+ var Breadcrumbs = function(_param) {
20
+ var _children = _param.children, children = _children === void 0 ? [] : _children, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, rest = _objectWithoutPropertiesLoose(_param, [
21
+ "children",
22
+ "stub"
23
+ ]);
20
24
  return stub ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
21
25
  maxWidth: 12,
22
26
  width: 1,
23
27
  children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_navLink.NavLink, {
24
28
  stub: true
25
29
  })
26
- }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)(_typography.Paragraph, {
30
+ }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)(_typography.Paragraph, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
27
31
  size: "s",
28
32
  color: "support",
29
33
  children: children.map(function(item, i) {
@@ -44,6 +48,6 @@ var Breadcrumbs = function(param) {
44
48
  ]
45
49
  }, i);
46
50
  })
47
- });
51
+ }));
48
52
  };
49
53
  Breadcrumbs.displayName = "Breadcrumbs";
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "Button", {
8
8
  return Button;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  var _pijmaCore = require("@qiwi/pijma-core");
@@ -97,7 +98,7 @@ var Button = function(props) {
97
98
  onFocus: props.onFocus,
98
99
  onBlur: props.onBlur,
99
100
  children: function(renderProps) {
100
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Btn, {
101
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Btn, _extends({}, (0, _pijmaCore.getDataProps)(props), {
101
102
  disabled: props.disabled,
102
103
  type: props.type,
103
104
  width: !props.icon || props.text ? 1 : buttonSize[props.size],
@@ -180,7 +181,7 @@ var Button = function(props) {
180
181
  })
181
182
  })
182
183
  })
183
- });
184
+ }));
184
185
  }
185
186
  });
186
187
  };
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "Checkbox", {
8
8
  return Checkbox;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  var _pijmaCore = require("@qiwi/pijma-core");
@@ -18,7 +19,7 @@ var Checkbox = function(props) {
18
19
  checked: props.checked,
19
20
  onChange: props.onChange,
20
21
  children: function(renderProps) {
21
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.OptionField, {
22
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.OptionField, _extends({}, (0, _pijmaCore.getDataProps)(props), {
22
23
  tabIndex: props.tabIndex,
23
24
  onFocus: renderProps.onFocus,
24
25
  onBlur: renderProps.onBlur,
@@ -39,7 +40,7 @@ var Checkbox = function(props) {
39
40
  onMouseEnter: renderProps.onMouseEnter,
40
41
  onMouseLeave: renderProps.onMouseLeave
41
42
  })
42
- });
43
+ }));
43
44
  }
44
45
  });
45
46
  };
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "CheckboxField", {
8
8
  return CheckboxField;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
12
13
  var _jsxRuntime = require("react/jsx-runtime");
13
14
  var _pijmaCore = require("@qiwi/pijma-core");
@@ -62,7 +63,7 @@ var CheckboxField = function(props) {
62
63
  onFocus: props.onFocus,
63
64
  onBlur: props.onBlur,
64
65
  children: function(renderProps) {
65
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.OptionField, {
66
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.OptionField, _extends({}, (0, _pijmaCore.getDataProps)(props), {
66
67
  title: props.title,
67
68
  hint: props.hint,
68
69
  help: props.help,
@@ -98,7 +99,7 @@ var CheckboxField = function(props) {
98
99
  }
99
100
  }, index);
100
101
  })
101
- });
102
+ }));
102
103
  }
103
104
  });
104
105
  };
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "CodeField", {
8
8
  return CodeField;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
12
13
  var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
@@ -54,7 +55,7 @@ var CodeField = function(_param) {
54
55
  onBlur: props.onBlur,
55
56
  onReady: props.onReady,
56
57
  children: function(renderProps) {
57
- return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Box, {
58
+ return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.Box, _extends({}, (0, _pijmaCore.getDataProps)(props), {
58
59
  width: 1,
59
60
  minHeight: 12,
60
61
  children: [
@@ -105,7 +106,7 @@ var CodeField = function(_param) {
105
106
  })
106
107
  }) : null
107
108
  ]
108
- });
109
+ }));
109
110
  }
110
111
  });
111
112
  };
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "ContentSuggest", {
8
8
  return ContentSuggest;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
12
13
  var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
@@ -45,7 +46,7 @@ var ContentSuggest = function(_param) /*#__PURE__*/ {
45
46
  onSelect: renderProps.onItemSelect,
46
47
  onKeyDown: renderProps.onItemKeyDown,
47
48
  children: function(menuRenderProps) {
48
- return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.CardPos, {
49
+ return /*#__PURE__*/ (0, _jsxRuntime.jsxs)(_pijmaCore.CardPos, _extends({}, (0, _pijmaCore.getDataProps)(props), {
49
50
  type: "relative",
50
51
  ref: renderProps.containerRef,
51
52
  width: 1,
@@ -187,7 +188,7 @@ var ContentSuggest = function(_param) /*#__PURE__*/ {
187
188
  })
188
189
  })
189
190
  ]
190
- });
191
+ }));
191
192
  }
192
193
  });
193
194
  }
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "Details", {
8
8
  return Details;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/lib/_extends.js").default;
11
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
12
14
  var _jsxRuntime = require("react/jsx-runtime");
13
15
  var _pijmaCore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -23,8 +25,15 @@ var bottomDots = {
23
25
  m: "7px",
24
26
  l: "9px"
25
27
  };
26
- var Details = function(param) {
27
- var children = param.children, dots = param.dots, titleWidth = param.titleWidth, contentWidth = param.contentWidth, _size = param.size, size = _size === void 0 ? "m" : _size, _stub = param.stub, stub = _stub === void 0 ? false : _stub;
28
+ var Details = function(_param) {
29
+ var children = _param.children, dots = _param.dots, titleWidth = _param.titleWidth, contentWidth = _param.contentWidth, _size = _param.size, size = _size === void 0 ? "m" : _size, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, rest = _objectWithoutPropertiesLoose(_param, [
30
+ "children",
31
+ "dots",
32
+ "titleWidth",
33
+ "contentWidth",
34
+ "size",
35
+ "stub"
36
+ ]);
28
37
  return stub ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
29
38
  as: "dl",
30
39
  width: "100%",
@@ -99,7 +108,7 @@ var Details = function(param) {
99
108
  ]
100
109
  }, "" + i);
101
110
  })
102
- }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
111
+ }) : /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
103
112
  as: "dl",
104
113
  width: "100%",
105
114
  display: "table",
@@ -163,6 +172,6 @@ var Details = function(param) {
163
172
  }, i + "." + j);
164
173
  });
165
174
  })
166
- });
175
+ }));
167
176
  };
168
177
  Details.displayName = "Details";
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "DropDown", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/lib/_extends.js").default;
12
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _pijmaCore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -34,8 +35,20 @@ var Transition = function(props) {
34
35
  }));
35
36
  };
36
37
  Transition.displayName = "Transition";
37
- var DropDown = function(param) {
38
- var show = param.show, offset = param.offset, width = param.width, minWidth = param.minWidth, maxWidth = param.maxWidth, _rootClose = param.rootClose, rootClose = _rootClose === void 0 ? true : _rootClose, _stub = param.stub, stub = _stub === void 0 ? false : _stub, target = param.target, container = param.container, onHide = param.onHide, children = param.children;
38
+ var DropDown = function(_param) {
39
+ var show = _param.show, offset = _param.offset, width = _param.width, minWidth = _param.minWidth, maxWidth = _param.maxWidth, _rootClose = _param.rootClose, rootClose = _rootClose === void 0 ? true : _rootClose, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, target = _param.target, container = _param.container, onHide = _param.onHide, children = _param.children, rest = _objectWithoutPropertiesLoose(_param, [
40
+ "show",
41
+ "offset",
42
+ "width",
43
+ "minWidth",
44
+ "maxWidth",
45
+ "rootClose",
46
+ "stub",
47
+ "target",
48
+ "container",
49
+ "onHide",
50
+ "children"
51
+ ]);
39
52
  return stub ? /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
40
53
  display: "none",
41
54
  children: children
@@ -56,7 +69,7 @@ var DropDown = function(param) {
56
69
  ]
57
70
  },
58
71
  children: function(renderProps) {
59
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Pos, {
72
+ return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Pos, _extends({}, (0, _pijmaCore.getDataProps)(rest), {
60
73
  role: "listbox",
61
74
  type: "absolute",
62
75
  width: width,
@@ -67,7 +80,7 @@ var DropDown = function(param) {
67
80
  mt: offset,
68
81
  css: renderProps.props.style,
69
82
  children: children
70
- });
83
+ }));
71
84
  }
72
85
  });
73
86
  };
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "FooterApp", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/lib/_extends.js").default;
12
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _pijmaCore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -49,9 +50,12 @@ var FooterAppLink = function(props) {
49
50
  });
50
51
  };
51
52
  FooterAppLink.displayName = "FooterAppLink";
52
- var FooterApp = function(param) {
53
- var children = param.children, _stub = param.stub, stub = _stub === void 0 ? false : _stub;
54
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, {
53
+ var FooterApp = function(_param) /*#__PURE__*/ {
54
+ var children = _param.children, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, rest = _objectWithoutPropertiesLoose(_param, [
55
+ "children",
56
+ "stub"
57
+ ]);
58
+ return (0, _jsxRuntime.jsx)(_pijmaCore.Flex, _extends({}, stub ? {} : (0, _pijmaCore.getDataProps)(rest), {
55
59
  children: (stub ? new Array(3).fill(0) : children).map(function(item, i) {
56
60
  return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.FlexItem, {
57
61
  width: 32,
@@ -62,6 +66,6 @@ var FooterApp = function(param) {
62
66
  }, item))
63
67
  }, i);
64
68
  })
65
- });
69
+ }));
66
70
  };
67
71
  FooterApp.displayName = "FooterApp";
@@ -10,13 +10,17 @@ Object.defineProperty(exports, "FooterNav", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/lib/_extends.js").default;
12
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _pijmaCore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
16
17
  var _navLink = require("../nav-link/index.js");
17
- var FooterNav = function(param) {
18
- var _children = param.children, children = _children === void 0 ? [] : _children, _stub = param.stub, stub = _stub === void 0 ? false : _stub;
19
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
18
+ var FooterNav = function(_param) /*#__PURE__*/ {
19
+ var _children = _param.children, children = _children === void 0 ? [] : _children, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, rest = _objectWithoutPropertiesLoose(_param, [
20
+ "children",
21
+ "stub"
22
+ ]);
23
+ return (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({}, stub ? {} : (0, _pijmaCore.getDataProps)(rest), {
20
24
  overflow: "hidden",
21
25
  children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, {
22
26
  wrap: "wrap",
@@ -43,6 +47,6 @@ var FooterNav = function(param) {
43
47
  }, i);
44
48
  })
45
49
  })
46
- });
50
+ }));
47
51
  };
48
52
  FooterNav.displayName = "FooterNav";
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "FooterOut", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/lib/_extends.js").default;
12
12
  var _interopRequireDefault = require("@swc/helpers/lib/_interop_require_default.js").default;
13
+ var _objectWithoutPropertiesLoose = require("@swc/helpers/lib/_object_without_properties_loose.js").default;
13
14
  var _jsxRuntime = require("react/jsx-runtime");
14
15
  var _pijmaCore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interopRequireDefault(require("react"));
@@ -64,10 +65,14 @@ var FooterOutLink = function(props) {
64
65
  });
65
66
  };
66
67
  FooterOutLink.displayName = "FooterOutLink";
67
- var FooterOut = function(param) {
68
- var children = param.children, _stub = param.stub, stub = _stub === void 0 ? false : _stub;
69
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Box, {
70
- overflow: "hidden",
68
+ var FooterOut = function(_param) /*#__PURE__*/ {
69
+ var children = _param.children, _stub = _param.stub, stub = _stub === void 0 ? false : _stub, rest = _objectWithoutPropertiesLoose(_param, [
70
+ "children",
71
+ "stub"
72
+ ]);
73
+ return (0, _jsxRuntime.jsx)(_pijmaCore.Box, _extends({
74
+ overflow: "hidden"
75
+ }, stub ? {} : (0, _pijmaCore.getDataProps)(rest), {
71
76
  children: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_pijmaCore.Flex, {
72
77
  wrap: "wrap",
73
78
  justify: "space-between",
@@ -84,6 +89,6 @@ var FooterOut = function(param) {
84
89
  }, i);
85
90
  })
86
91
  })
87
- });
92
+ }));
88
93
  };
89
94
  FooterOut.displayName = "FooterOut";