@qiwi/pijma-mobile 1.164.4 → 1.166.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 (113) hide show
  1. package/package.json +1 -1
  2. package/target/es5/actions/Actions.js +3 -2
  3. package/target/es5/alert/Alert.js +14 -5
  4. package/target/es5/alert-block/AlertBlock.js +11 -4
  5. package/target/es5/block-accordion/BlockAccordion.js +11 -4
  6. package/target/es5/block-content/BlockContent.js +9 -4
  7. package/target/es5/block-tabs/BlockTabs.js +18 -4
  8. package/target/es5/breadcrumbs/Breadcrumbs.js +8 -4
  9. package/target/es5/button/Button.js +3 -2
  10. package/target/es5/checkbox/Checkbox.js +3 -2
  11. package/target/es5/checkbox-field/CheckboxField.js +3 -2
  12. package/target/es5/code-field/CodeField.js +3 -2
  13. package/target/es5/content-suggest/ContentSuggest.js +5 -3
  14. package/target/es5/details/Details.js +13 -4
  15. package/target/es5/drop-up/DropUp.js +4 -3
  16. package/target/es5/footer-app/FooterApp.js +10 -5
  17. package/target/es5/footer-nav/FooterNav.js +8 -4
  18. package/target/es5/footer-out/FooterOut.js +10 -5
  19. package/target/es5/glossary/Glossary.js +11 -5
  20. package/target/es5/header/Header.js +12 -5
  21. package/target/es5/header/HeaderMenu.js +13 -3
  22. package/target/es5/hint/Hint.js +11 -4
  23. package/target/es5/input-modal/InputModal.js +1 -1
  24. package/target/es5/link/BlockLink.js +3 -2
  25. package/target/es5/link/FileLink.js +3 -2
  26. package/target/es5/link/Link.js +3 -2
  27. package/target/es5/link/SectionLink.js +3 -2
  28. package/target/es5/list/List.js +11 -4
  29. package/target/es5/logo-block-link/LogoBlockLink.js +3 -2
  30. package/target/es5/logo-link/LogoLink.js +3 -2
  31. package/target/es5/menu/MenuCaption.js +10 -5
  32. package/target/es5/menu/MenuContainer.js +10 -5
  33. package/target/es5/menu/MenuItem.js +2 -2
  34. package/target/es5/menu/MenuLink.js +3 -2
  35. package/target/es5/modal/SimpleModal.js +15 -4
  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 +14 -5
  39. package/target/es5/pagination/Pagination.js +14 -4
  40. package/target/es5/password-field/PasswordField.js +3 -2
  41. package/target/es5/phone-field/PhoneField.js +5 -3
  42. package/target/es5/progress-bar/ProgressBar.js +10 -4
  43. package/target/es5/radio-field/RadioField.js +3 -2
  44. package/target/es5/rating/Rating.js +13 -4
  45. package/target/es5/select-field/SelectField.js +5 -3
  46. package/target/es5/status/Status.js +12 -4
  47. package/target/es5/suggest-field/SuggestField.js +5 -3
  48. package/target/es5/switch/Switch.js +3 -2
  49. package/target/es5/switch-field/SwitchField.js +3 -2
  50. package/target/es5/tabs/Tabs.js +16 -5
  51. package/target/es5/text-area-field/TextAreaField.js +3 -2
  52. package/target/es5/text-field/TextField.js +3 -2
  53. package/target/es5/typography/Caption.js +12 -4
  54. package/target/es5/typography/Heading.js +14 -4
  55. package/target/es5/typography/Paragraph.js +16 -4
  56. package/target/es5/typography/Text.js +19 -4
  57. package/target/es5/typography/Title.js +14 -4
  58. package/target/es6/actions/Actions.js +2 -1
  59. package/target/es6/alert/Alert.js +3 -2
  60. package/target/es6/alert-block/AlertBlock.js +3 -2
  61. package/target/es6/block-accordion/BlockAccordion.js +3 -2
  62. package/target/es6/block-content/BlockContent.js +3 -2
  63. package/target/es6/block-tabs/BlockTabs.js +3 -2
  64. package/target/es6/breadcrumbs/Breadcrumbs.js +3 -2
  65. package/target/es6/button/Button.js +2 -1
  66. package/target/es6/checkbox/Checkbox.js +2 -1
  67. package/target/es6/checkbox-field/CheckboxField.js +2 -1
  68. package/target/es6/code-field/CodeField.js +2 -1
  69. package/target/es6/content-suggest/ContentSuggest.js +2 -1
  70. package/target/es6/details/Details.js +3 -2
  71. package/target/es6/drop-up/DropUp.js +2 -1
  72. package/target/es6/footer-app/FooterApp.js +3 -2
  73. package/target/es6/footer-nav/FooterNav.js +3 -2
  74. package/target/es6/footer-out/FooterOut.js +3 -2
  75. package/target/es6/glossary/Glossary.js +3 -2
  76. package/target/es6/header/Header.js +3 -2
  77. package/target/es6/header/HeaderMenu.js +3 -2
  78. package/target/es6/hint/Hint.js +3 -2
  79. package/target/es6/input-modal/InputModal.js +2 -1
  80. package/target/es6/link/BlockLink.js +2 -1
  81. package/target/es6/link/FileLink.js +2 -1
  82. package/target/es6/link/Link.js +2 -1
  83. package/target/es6/link/SectionLink.js +2 -1
  84. package/target/es6/list/List.js +3 -2
  85. package/target/es6/logo-block-link/LogoBlockLink.js +2 -1
  86. package/target/es6/logo-link/LogoLink.js +2 -1
  87. package/target/es6/menu/MenuCaption.js +3 -2
  88. package/target/es6/menu/MenuContainer.js +3 -2
  89. package/target/es6/menu/MenuItem.js +5 -3
  90. package/target/es6/menu/MenuLink.js +2 -1
  91. package/target/es6/modal/SimpleModal.js +3 -2
  92. package/target/es6/nav-link/NavLink.js +2 -1
  93. package/target/es6/notice/Notice.js +3 -2
  94. package/target/es6/oops/Oops.js +3 -2
  95. package/target/es6/pagination/Pagination.js +3 -2
  96. package/target/es6/password-field/PasswordField.js +2 -1
  97. package/target/es6/phone-field/PhoneField.js +2 -1
  98. package/target/es6/progress-bar/ProgressBar.js +3 -2
  99. package/target/es6/radio-field/RadioField.js +2 -1
  100. package/target/es6/rating/Rating.js +3 -2
  101. package/target/es6/select-field/SelectField.js +2 -1
  102. package/target/es6/status/Status.js +3 -2
  103. package/target/es6/suggest-field/SuggestField.js +2 -1
  104. package/target/es6/switch/Switch.js +2 -1
  105. package/target/es6/switch-field/SwitchField.js +2 -1
  106. package/target/es6/tabs/Tabs.js +3 -2
  107. package/target/es6/text-area-field/TextAreaField.js +2 -1
  108. package/target/es6/text-field/TextField.js +2 -1
  109. package/target/es6/typography/Caption.js +3 -2
  110. package/target/es6/typography/Heading.js +3 -2
  111. package/target/es6/typography/Paragraph.js +3 -2
  112. package/target/es6/typography/Text.js +3 -2
  113. package/target/es6/typography/Title.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qiwi/pijma-mobile",
3
- "version": "1.164.4",
3
+ "version": "1.166.0",
4
4
  "type": "module",
5
5
  "main": "./target/es5/index.js",
6
6
  "module": "./target/es6/index.js",
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "Actions", {
8
8
  return Actions;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
13
  var _jsxruntime = require("react/jsx-runtime");
13
14
  var _pijmacore = require("@qiwi/pijma-core");
@@ -19,7 +20,7 @@ var Actions = function(props) {
19
20
  if (elements.length === 0) {
20
21
  return null;
21
22
  }
22
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
23
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, _extends._({}, (0, _pijmacore.getDataProps)(props), {
23
24
  width: 1,
24
25
  children: _react.Children.map(elements, function(child, key) {
25
26
  return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
@@ -29,6 +30,6 @@ var Actions = function(props) {
29
30
  children: child
30
31
  }, key);
31
32
  })
32
- });
33
+ }));
33
34
  };
34
35
  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/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -26,15 +28,22 @@ var AlertIconName = {
26
28
  failure: 'attention',
27
29
  general: 'info'
28
30
  };
29
- var Alert = function(param) {
30
- var _param_type = param.type, type = _param_type === void 0 ? 'general' : _param_type, text = param.text, action = param.action, onHide = param.onHide, onClick = param.onClick;
31
+ var Alert = function(_param) {
32
+ var _param_type = _param.type, type = _param_type === void 0 ? 'general' : _param_type, text = _param.text, action = _param.action, onHide = _param.onHide, onClick = _param.onClick, rest = _object_without_properties_loose._(_param, [
33
+ "type",
34
+ "text",
35
+ "action",
36
+ "onHide",
37
+ "onClick"
38
+ ]);
31
39
  return /*#__PURE__*/ (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._({
35
43
  minHeight: 14,
36
44
  justify: "flex-start",
37
- p: 4,
45
+ p: 4
46
+ }, (0, _pijmacore.getDataProps)(rest), {
38
47
  children: [
39
48
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
40
49
  mr: 3,
@@ -76,7 +85,7 @@ var Alert = function(param) {
76
85
  })
77
86
  }) : null
78
87
  ]
79
- });
88
+ }));
80
89
  }
81
90
  });
82
91
  };
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "AlertBlock", {
8
8
  return AlertBlock;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_wildcard._(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 = _object_without_properties_loose._(_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",
@@ -122,7 +129,7 @@ var AlertBlock = function(param) {
122
129
  }) : null
123
130
  ]
124
131
  })
125
- });
132
+ }));
126
133
  }
127
134
  });
128
135
  };
@@ -8,19 +8,26 @@ Object.defineProperty(exports, "BlockAccordion", {
8
8
  return BlockAccordion;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
15
17
  var _typography = require("../typography/index.js");
16
- var BlockAccordion = function(param) {
17
- var items = param.items, _param_tabIndex = param.tabIndex, tabIndex = _param_tabIndex === void 0 ? 0 : _param_tabIndex, opened = param.opened, onChange = param.onChange;
18
+ var BlockAccordion = function(_param) {
19
+ var items = _param.items, _param_tabIndex = _param.tabIndex, tabIndex = _param_tabIndex === void 0 ? 0 : _param_tabIndex, opened = _param.opened, onChange = _param.onChange, rest = _object_without_properties_loose._(_param, [
20
+ "items",
21
+ "tabIndex",
22
+ "opened",
23
+ "onChange"
24
+ ]);
18
25
  return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.AccordionControl, {
19
26
  items: items,
20
27
  opened: opened,
21
28
  onChange: onChange,
22
29
  children: function(renderProps) {
23
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
30
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, _extends._({}, (0, _pijmacore.getDataProps)(rest), {
24
31
  py: 2,
25
32
  children: renderProps.items.map(function(item, index) {
26
33
  return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Card, {
@@ -73,7 +80,7 @@ var BlockAccordion = function(param) {
73
80
  ]
74
81
  }, index);
75
82
  })
76
- });
83
+ }));
77
84
  }
78
85
  });
79
86
  };
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "BlockContent", {
8
8
  return BlockContent;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -16,12 +18,15 @@ var BlockContentIdent = {
16
18
  m: 4,
17
19
  l: 6
18
20
  };
19
- var BlockContent = function(param) {
20
- var _param_indent = param.indent, indent = _param_indent === void 0 ? 'm' : _param_indent, children = param.children;
21
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
21
+ var BlockContent = function(_param) {
22
+ var _param_indent = _param.indent, indent = _param_indent === void 0 ? 'm' : _param_indent, children = _param.children, rest = _object_without_properties_loose._(_param, [
23
+ "indent",
24
+ "children"
25
+ ]);
26
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, _extends._({}, (0, _pijmacore.getDataProps)(rest), {
22
27
  p: BlockContentIdent[indent],
23
28
  children: children
24
- });
29
+ }));
25
30
  };
26
31
  BlockContent.displayName = 'BlockContent';
27
32
  BlockContent.defaultProps = {
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "BlockTabs", {
8
8
  return BlockTabs;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -38,8 +40,20 @@ var FlexOverflow = (0, _pijmacore.styled)(_pijmacore.Flex)({
38
40
  FlexOverflow.displayName = 'FlexOverflow';
39
41
  var TabContent = (0, _pijmacore.styled)(_pijmacore.FlexItem)();
40
42
  TabContent.displayName = 'TabContent';
41
- var BlockTabs = function(param) {
42
- var items = param.items, _param_select = param.select, select = _param_select === void 0 ? 0 : _param_select, _param_tabIndex = param.tabIndex, tabIndex = _param_tabIndex === void 0 ? 0 : _param_tabIndex, _param_vertical = param.vertical, vertical = _param_vertical === void 0 ? false : _param_vertical, _param_centered = param.centered, centered = _param_centered === void 0 ? false : _param_centered, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub, _param_hr = param.hr, hr = _param_hr === void 0 ? true : _param_hr, _param_indent = param.indent, indent = _param_indent === void 0 ? 'm' : _param_indent, pt = param.pt, pb = param.pb, onChange = param.onChange;
43
+ var BlockTabs = function(_param) {
44
+ var items = _param.items, _param_select = _param.select, select = _param_select === void 0 ? 0 : _param_select, _param_tabIndex = _param.tabIndex, tabIndex = _param_tabIndex === void 0 ? 0 : _param_tabIndex, _param_vertical = _param.vertical, vertical = _param_vertical === void 0 ? false : _param_vertical, _param_centered = _param.centered, centered = _param_centered === void 0 ? false : _param_centered, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, _param_hr = _param.hr, hr = _param_hr === void 0 ? true : _param_hr, _param_indent = _param.indent, indent = _param_indent === void 0 ? 'm' : _param_indent, pt = _param.pt, pb = _param.pb, onChange = _param.onChange, rest = _object_without_properties_loose._(_param, [
45
+ "items",
46
+ "select",
47
+ "tabIndex",
48
+ "vertical",
49
+ "centered",
50
+ "stub",
51
+ "hr",
52
+ "indent",
53
+ "pt",
54
+ "pb",
55
+ "onChange"
56
+ ]);
43
57
  return stub ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Pos, {
44
58
  type: "relative",
45
59
  children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
@@ -106,7 +120,7 @@ var BlockTabs = function(param) {
106
120
  length: items.length,
107
121
  onChange: onChange,
108
122
  children: function(renderProps) {
109
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Pos, {
123
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Pos, _extends._({}, (0, _pijmacore.getDataProps)(rest), {
110
124
  type: "relative",
111
125
  children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Flex, {
112
126
  direction: "column",
@@ -171,7 +185,7 @@ var BlockTabs = function(param) {
171
185
  })
172
186
  ]
173
187
  })
174
- });
188
+ }));
175
189
  }
176
190
  });
177
191
  };
@@ -10,20 +10,24 @@ Object.defineProperty(exports, "Breadcrumbs", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/_/_extends");
12
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
13
14
  var _jsxruntime = require("react/jsx-runtime");
14
15
  var _pijmacore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interop_require_wildcard._(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 _param_children = param.children, children = _param_children === void 0 ? [] : _param_children, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub;
19
+ var Breadcrumbs = function(_param) {
20
+ var _param_children = _param.children, children = _param_children === void 0 ? [] : _param_children, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, rest = _object_without_properties_loose._(_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/_/_extends");
11
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
13
  var _jsxruntime = require("react/jsx-runtime");
13
14
  var _pijmacore = require("@qiwi/pijma-core");
@@ -102,7 +103,7 @@ var Button = function(props) {
102
103
  onBlur: props.onBlur,
103
104
  children: function(renderProps) {
104
105
  var _props_radius;
105
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Btn, {
106
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Btn, _extends._({}, (0, _pijmacore.getDataProps)(props), {
106
107
  disabled: props.disabled,
107
108
  type: props.type,
108
109
  width: !props.icon || props.text ? 1 : buttonSize[props.size],
@@ -183,7 +184,7 @@ var Button = function(props) {
183
184
  })
184
185
  })
185
186
  })
186
- });
187
+ }));
187
188
  }
188
189
  });
189
190
  };
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "Checkbox", {
8
8
  return Checkbox;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_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/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_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/_/_extends");
11
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
13
  var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
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/_/_extends");
11
12
  var _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
13
  var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
13
14
  var _jsxruntime = require("react/jsx-runtime");
@@ -39,8 +40,9 @@ var ContentSuggest = function(_param) {
39
40
  onCancel: props.onCancel,
40
41
  onSubmit: props.onSubmit,
41
42
  children: function(renderProps) {
42
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Pos, {
43
- type: "relative",
43
+ return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Pos, _extends._({
44
+ type: "relative"
45
+ }, (0, _pijmacore.getDataProps)(props), {
44
46
  children: [
45
47
  /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Box, {
46
48
  width: 1,
@@ -167,7 +169,7 @@ var ContentSuggest = function(_param) {
167
169
  }
168
170
  })
169
171
  ]
170
- });
172
+ }));
171
173
  }
172
174
  });
173
175
  };
@@ -8,7 +8,9 @@ Object.defineProperty(exports, "Details", {
8
8
  return Details;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -21,8 +23,15 @@ var bottomDots = {
21
23
  s: '5px',
22
24
  m: '7px'
23
25
  };
24
- var Details = function(param) {
25
- var children = param.children, dots = param.dots, titleWidth = param.titleWidth, contentWidth = param.contentWidth, _param_size = param.size, size = _param_size === void 0 ? 's' : _param_size, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub;
26
+ var Details = function(_param) {
27
+ var children = _param.children, dots = _param.dots, titleWidth = _param.titleWidth, contentWidth = _param.contentWidth, _param_size = _param.size, size = _param_size === void 0 ? 's' : _param_size, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, rest = _object_without_properties_loose._(_param, [
28
+ "children",
29
+ "dots",
30
+ "titleWidth",
31
+ "contentWidth",
32
+ "size",
33
+ "stub"
34
+ ]);
26
35
  return stub ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
27
36
  as: "dl",
28
37
  width: "100%",
@@ -97,7 +106,7 @@ var Details = function(param) {
97
106
  ]
98
107
  }, "" + i);
99
108
  })
100
- }) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
109
+ }) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, _extends._({}, (0, _pijmacore.getDataProps)(rest), {
101
110
  as: "dl",
102
111
  width: "100%",
103
112
  display: "table",
@@ -161,6 +170,6 @@ var Details = function(param) {
161
170
  }, i + "." + j);
162
171
  });
163
172
  })
164
- });
173
+ }));
165
174
  };
166
175
  Details.displayName = 'Details';
@@ -105,7 +105,7 @@ var DropUp = function(props) {
105
105
  right: 0,
106
106
  onKeyDown: props.onKeyDown
107
107
  }, dialogProps, {
108
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(FlexPosCard, {
108
+ children: /*#__PURE__*/ (0, _jsxruntime.jsxs)(FlexPosCard, _extends._({
109
109
  role: "document",
110
110
  display: "flex",
111
111
  direction: "column",
@@ -114,7 +114,8 @@ var DropUp = function(props) {
114
114
  bg: "#fff",
115
115
  type: "absolute",
116
116
  bottom: 0,
117
- s: "0px 0px 64px 0px rgba(0, 0, 0, 0.16)",
117
+ s: "0px 0px 64px 0px rgba(0, 0, 0, 0.16)"
118
+ }, (0, _pijmacore.getDataProps)(props), {
118
119
  children: [
119
120
  /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Pos, {
120
121
  zIndex: 1,
@@ -173,7 +174,7 @@ var DropUp = function(props) {
173
174
  children: props.footer
174
175
  }) : null
175
176
  ]
176
- })
177
+ }))
177
178
  }));
178
179
  }
179
180
  });
@@ -10,6 +10,7 @@ Object.defineProperty(exports, "FooterApp", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/_/_extends");
12
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
13
14
  var _jsxruntime = require("react/jsx-runtime");
14
15
  var _pijmacore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
@@ -49,12 +50,16 @@ var FooterAppLink = function(props) {
49
50
  });
50
51
  };
51
52
  FooterAppLink.displayName = 'FooterAppLink';
52
- var FooterApp = function(param) {
53
- var children = param.children, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub;
54
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Flex, {
53
+ var FooterApp = function(_param) {
54
+ var children = _param.children, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, rest = _object_without_properties_loose._(_param, [
55
+ "children",
56
+ "stub"
57
+ ]);
58
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Flex, _extends._({
55
59
  wrap: "wrap",
56
60
  width: 68,
57
- justify: "space-between",
61
+ justify: "space-between"
62
+ }, stub ? {} : (0, _pijmacore.getDataProps)(rest), {
58
63
  children: (stub ? new Array(3).fill(0) : children).map(function(item, i) {
59
64
  return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.FlexItem, {
60
65
  mt: i > 1 ? 3 : 0,
@@ -65,6 +70,6 @@ var FooterApp = function(param) {
65
70
  }, item))
66
71
  }, i);
67
72
  })
68
- });
73
+ }));
69
74
  };
70
75
  FooterApp.displayName = 'FooterApp';
@@ -10,13 +10,17 @@ Object.defineProperty(exports, "FooterNav", {
10
10
  });
11
11
  var _extends = require("@swc/helpers/_/_extends");
12
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
13
14
  var _jsxruntime = require("react/jsx-runtime");
14
15
  var _pijmacore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
16
17
  var _navlink = require("../nav-link/index.js");
17
- var FooterNav = function(param) {
18
- var _param_children = param.children, children = _param_children === void 0 ? [] : _param_children, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub;
19
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
18
+ var FooterNav = function(_param) {
19
+ var _param_children = _param.children, children = _param_children === void 0 ? [] : _param_children, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, rest = _object_without_properties_loose._(_param, [
20
+ "children",
21
+ "stub"
22
+ ]);
23
+ return /*#__PURE__*/ (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/_/_extends");
12
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
13
14
  var _jsxruntime = require("react/jsx-runtime");
14
15
  var _pijmacore = require("@qiwi/pijma-core");
15
16
  var _react = /*#__PURE__*/ _interop_require_default._(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, _param_stub = param.stub, stub = _param_stub === void 0 ? false : _param_stub;
69
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
70
- overflow: "hidden",
68
+ var FooterOut = function(_param) {
69
+ var children = _param.children, _param_stub = _param.stub, stub = _param_stub === void 0 ? false : _param_stub, rest = _object_without_properties_loose._(_param, [
70
+ "children",
71
+ "stub"
72
+ ]);
73
+ return /*#__PURE__*/ (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';
@@ -8,13 +8,18 @@ Object.defineProperty(exports, "Glossary", {
8
8
  return Glossary;
9
9
  }
10
10
  });
11
+ var _extends = require("@swc/helpers/_/_extends");
11
12
  var _interop_require_default = require("@swc/helpers/_/_interop_require_default");
13
+ var _object_without_properties_loose = require("@swc/helpers/_/_object_without_properties_loose");
12
14
  var _jsxruntime = require("react/jsx-runtime");
13
15
  var _pijmacore = require("@qiwi/pijma-core");
14
16
  var _react = /*#__PURE__*/ _interop_require_default._(require("react"));
15
17
  var _typography = require("../typography/index.js");
16
- var Glossary = function(param) {
17
- var children = param.children, stub = param.stub;
18
+ var Glossary = function(_param) {
19
+ var children = _param.children, stub = _param.stub, rest = _object_without_properties_loose._(_param, [
20
+ "children",
21
+ "stub"
22
+ ]);
18
23
  return stub ? /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
19
24
  as: "dl",
20
25
  children: children.map(function(item, i) {
@@ -54,8 +59,9 @@ var Glossary = function(param) {
54
59
  ]
55
60
  }, i);
56
61
  })
57
- }) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, {
58
- as: "dl",
62
+ }) : /*#__PURE__*/ (0, _jsxruntime.jsx)(_pijmacore.Box, _extends._({
63
+ as: "dl"
64
+ }, (0, _pijmacore.getDataProps)(rest), {
59
65
  children: children.map(function(item, i) {
60
66
  return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_pijmacore.Box, {
61
67
  mt: i === 0 ? undefined : 5,
@@ -92,6 +98,6 @@ var Glossary = function(param) {
92
98
  ]
93
99
  }, i);
94
100
  })
95
- });
101
+ }));
96
102
  };
97
103
  Glossary.displayName = 'Glossary';