@qiwi/pijma-mobile 1.140.1 → 1.141.2

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 (58) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/lib/es6/actions/Actions.js +1 -0
  3. package/lib/es6/alert/Alert.js +1 -0
  4. package/lib/es6/block-accordion/BlockAccordion.js +1 -0
  5. package/lib/es6/block-content/BlockContent.js +1 -0
  6. package/lib/es6/block-tabs/BlockTabs.js +2 -0
  7. package/lib/es6/breadcrumbs/Breadcrumbs.js +1 -0
  8. package/lib/es6/button/Button.js +1 -0
  9. package/lib/es6/checkbox/Checkbox.js +1 -0
  10. package/lib/es6/checkbox/CheckboxProps.d.ts +2 -1
  11. package/lib/es6/checkbox-field/CheckboxField.js +1 -0
  12. package/lib/es6/code-field/CodeField.js +1 -0
  13. package/lib/es6/content-suggest/ContentSuggest.js +1 -0
  14. package/lib/es6/drop-up/DropUp.js +2 -0
  15. package/lib/es6/footer-app/FooterApp.js +1 -0
  16. package/lib/es6/footer-nav/FooterNav.js +1 -0
  17. package/lib/es6/footer-out/FooterOut.js +1 -0
  18. package/lib/es6/glossary/Glossary.js +1 -0
  19. package/lib/es6/header/Header.js +1 -0
  20. package/lib/es6/header/HeaderMenu.js +1 -0
  21. package/lib/es6/input-modal/InputModal.js +2 -0
  22. package/lib/es6/link/BlockLink.js +2 -0
  23. package/lib/es6/link/FileLink.js +1 -0
  24. package/lib/es6/link/Link.js +1 -0
  25. package/lib/es6/link/SectionLink.js +2 -0
  26. package/lib/es6/list/List.js +1 -0
  27. package/lib/es6/logo-block-link/LogoBlockLink.js +1 -0
  28. package/lib/es6/logo-link/LogoLink.js +1 -0
  29. package/lib/es6/markdown/Markdown.js +2 -0
  30. package/lib/es6/menu/MenuCaption.js +1 -0
  31. package/lib/es6/menu/MenuContainer.js +1 -0
  32. package/lib/es6/menu/MenuItem.js +1 -0
  33. package/lib/es6/menu/MenuLink.js +2 -0
  34. package/lib/es6/modal/SimpleModal.js +1 -0
  35. package/lib/es6/nav-link/NavLink.js +1 -0
  36. package/lib/es6/notice/Notice.js +1 -0
  37. package/lib/es6/oops/Oops.js +1 -0
  38. package/lib/es6/pagination/Pagination.js +1 -0
  39. package/lib/es6/pagination/PaginationLink.js +1 -0
  40. package/lib/es6/password-field/PasswordField.js +1 -0
  41. package/lib/es6/phone-field/PhoneField.js +1 -0
  42. package/lib/es6/progress-bar/ProgressBar.js +1 -0
  43. package/lib/es6/radio-field/RadioField.js +1 -0
  44. package/lib/es6/rating/Rating.js +1 -0
  45. package/lib/es6/select-field/SelectField.js +2 -0
  46. package/lib/es6/status/Status.js +1 -0
  47. package/lib/es6/suggest-field/SuggestField.js +1 -0
  48. package/lib/es6/switch/Switch.js +1 -0
  49. package/lib/es6/switch-field/SwitchField.js +1 -0
  50. package/lib/es6/tabs/Tabs.js +2 -0
  51. package/lib/es6/text-area-field/TextAreaField.js +1 -0
  52. package/lib/es6/text-field/TextField.js +1 -0
  53. package/lib/es6/typography/Caption.js +1 -0
  54. package/lib/es6/typography/Heading.js +1 -0
  55. package/lib/es6/typography/Paragraph.js +1 -0
  56. package/lib/es6/typography/Text.js +1 -0
  57. package/lib/es6/typography/Title.js +1 -0
  58. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## @qiwi/pijma-mobile [1.141.2](https://github.com/qiwi/pijma/compare/@qiwi/pijma-mobile@1.141.1...@qiwi/pijma-mobile@1.141.2) (2022-03-23)
2
+
3
+
4
+
5
+
6
+
7
+ ### Dependencies
8
+
9
+ * **@qiwi/pijma-core:** upgraded to 1.144.0
10
+
11
+ ## @qiwi/pijma-mobile [1.141.1](https://github.com/qiwi/pijma/compare/@qiwi/pijma-mobile@1.141.0...@qiwi/pijma-mobile@1.141.1) (2022-03-22)
12
+
13
+
14
+
15
+
16
+
17
+ ### Dependencies
18
+
19
+ * **@qiwi/pijma-core:** upgraded to 1.143.1
20
+ * **@qiwi/pijma-infra:** upgraded to 1.4.0
21
+
22
+ # [1.141.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-mobile@1.140.1...@qiwi/pijma-mobile@1.141.0) (2022-02-25)
23
+
24
+
25
+ ### Features
26
+
27
+ * checkbox label as reactnode ([#469](https://github.com/qiwi/pijma/issues/469)) ([923e9fb](https://github.com/qiwi/pijma/commit/923e9fb6bebc41aa61d439be45068d0ceb000848))
28
+
1
29
  ## [1.140.1](https://github.com/qiwi/pijma/compare/@qiwi/pijma-mobile@1.140.0...@qiwi/pijma-mobile@1.140.1) (2022-01-19)
2
30
 
3
31
  # [1.140.0](https://github.com/qiwi/pijma/compare/@qiwi/pijma-mobile@1.139.3...@qiwi/pijma-mobile@1.140.0) (2021-12-23)
@@ -16,3 +16,4 @@ export const Actions = (props) => {
16
16
  }))
17
17
  });
18
18
  };
19
+ Actions.displayName = "Actions";
@@ -58,3 +58,4 @@ export const Alert = ({
58
58
  Alert.defaultProps = {
59
59
  type: "general"
60
60
  };
61
+ Alert.displayName = "Alert";
@@ -49,3 +49,4 @@ export const BlockAccordion = ({ items, tabIndex = 0, opened, onChange }) => /*
49
49
  BlockAccordion.defaultProps = {
50
50
  tabIndex: 0
51
51
  };
52
+ BlockAccordion.displayName = "BlockAccordion";
@@ -11,3 +11,4 @@ export const BlockContent = ({ indent = "m", children }) => /* @__PURE__ */ Reac
11
11
  BlockContent.defaultProps = {
12
12
  indent: "m"
13
13
  };
14
+ BlockContent.displayName = "BlockContent";
@@ -141,3 +141,5 @@ BlockTabs.defaultProps = {
141
141
  hr: true,
142
142
  indent: "m"
143
143
  };
144
+ FlexOverflow.displayName = "FlexOverflow", TabContent.displayName = "TabContent";
145
+ BlockTabs.displayName = "BlockTabs";
@@ -36,3 +36,4 @@ export const Breadcrumbs = ({
36
36
  mx: 2,
37
37
  display: "inline"
38
38
  }, "\u2022"), "\xAD") : null, /* @__PURE__ */ React.createElement(NavLink, __spreadValues({}, item)))));
39
+ Breadcrumbs.displayName = "Breadcrumbs";
@@ -183,3 +183,4 @@ export const Button = (props) => props.stub ? /* @__PURE__ */ React.createElemen
183
183
  })
184
184
  })
185
185
  });
186
+ Button.displayName = "Button";
@@ -36,3 +36,4 @@ Checkbox.defaultProps = {
36
36
  tabIndex: 0
37
37
  };
38
38
  export default Checkbox;
39
+ Checkbox.displayName = "Checkbox";
@@ -1,7 +1,8 @@
1
+ import { ReactNode } from 'react';
1
2
  export default interface CheckboxProps {
2
3
  disabled?: boolean;
3
4
  checked: boolean;
4
- label: string;
5
+ label: ReactNode;
5
6
  tabIndex?: number;
6
7
  description?: string;
7
8
  autoFocus?: boolean;
@@ -78,3 +78,4 @@ const CheckboxField = (props) => props.stub ? /* @__PURE__ */ React.createElemen
78
78
  })
79
79
  });
80
80
  export default CheckboxField;
81
+ CheckboxField.displayName = "CheckboxField";
@@ -88,3 +88,4 @@ export const CodeField = (_a) => {
88
88
  })) : null)
89
89
  });
90
90
  };
91
+ CodeField.displayName = "CodeField";
@@ -143,3 +143,4 @@ ContentSuggest.defaultProps = {
143
143
  equals: (a, b) => a === b
144
144
  };
145
145
  ContentSuggest.displayName = "ContentSuggest";
146
+ CardMenuItem.displayName = "CardMenuItem";
@@ -146,3 +146,5 @@ export const DropUp = (props) => /* @__PURE__ */ React.createElement(Modal, {
146
146
  width: 1
147
147
  }, props.footer) : null))
148
148
  });
149
+ FlexPosCard.displayName = "FlexPosCard";
150
+ contentTransitionVertical.displayName = "contentTransitionVertical", contentTransitionHorizontal.displayName = "contentTransitionHorizontal", backdropTransition.displayName = "backdropTransition", DropUp.displayName = "DropUp";
@@ -60,3 +60,4 @@ export const FooterApp = ({ children, stub = false }) => /* @__PURE__ */ React.c
60
60
  stub
61
61
  }, item))
62
62
  })));
63
+ FooterAppLink.displayName = "FooterAppLink", FooterApp.displayName = "FooterApp";
@@ -35,3 +35,4 @@ export const FooterNav = ({ children = [], stub = false }) => /* @__PURE__ */ Re
35
35
  py: 2.5,
36
36
  key: i
37
37
  }, /* @__PURE__ */ React.createElement(NavLink, __spreadValues({}, item))))));
38
+ FooterNav.displayName = "FooterNav";
@@ -73,3 +73,4 @@ export const FooterOut = ({ children, stub = false }) => /* @__PURE__ */ React.c
73
73
  }, /* @__PURE__ */ React.createElement(FooterOutLink, __spreadValues({
74
74
  stub
75
75
  }, item))))));
76
+ FooterOutLink.displayName = "FooterOutLink", FooterOut.displayName = "FooterOut";
@@ -55,3 +55,4 @@ export const Glossary = ({ children, stub }) => stub ? /* @__PURE__ */ React.cre
55
55
  size: "m",
56
56
  children: content
57
57
  })))))));
58
+ Glossary.displayName = "Glossary";
@@ -20,3 +20,4 @@ export const Header = ({ zIndex = 10002, active, children }) => /* @__PURE__ */
20
20
  transition: "all 100ms cubic-bezier(0.4, 0.0, 0.2, 1)",
21
21
  children
22
22
  })));
23
+ Header.displayName = "Header";
@@ -123,3 +123,4 @@ export const HeaderMenu = ({ show, zIndex = 9999, header, from, stub, onShow, on
123
123
  }, renderProps.children))
124
124
  }))
125
125
  });
126
+ contentTransitionTop.displayName = "contentTransitionTop", contentTransitionRight.displayName = "contentTransitionRight", contentTransitionBottom.displayName = "contentTransitionBottom", contentTransitionLeft.displayName = "contentTransitionLeft", HeaderMenu.displayName = "HeaderMenu";
@@ -114,3 +114,5 @@ const InputModal = (props) => /* @__PURE__ */ React.createElement(Modal, {
114
114
  })))
115
115
  });
116
116
  export default InputModal;
117
+ PosFlexCard.displayName = "PosFlexCard";
118
+ contentTransition.displayName = "contentTransition", InputModal.displayName = "InputModal";
@@ -33,3 +33,5 @@ export const BlockLink = (props) => /* @__PURE__ */ React.createElement(LinkCont
33
33
  })
34
34
  })
35
35
  });
36
+ BlockLnk.displayName = "BlockLnk";
37
+ BlockLink.displayName = "BlockLink";
@@ -42,3 +42,4 @@ export const FileLink = (props) => /* @__PURE__ */ React.createElement(LinkContr
42
42
  children: props.children
43
43
  })))
44
44
  });
45
+ FileLink.displayName = "FileLink";
@@ -67,3 +67,4 @@ export const Link = (props) => props.stub ? props.size === void 0 ? null : /* @_
67
67
  children: props.children
68
68
  })
69
69
  });
70
+ Link.displayName = "Link";
@@ -35,3 +35,5 @@ export const SectionLink = (props) => /* @__PURE__ */ React.createElement(LinkCo
35
35
  })
36
36
  })
37
37
  });
38
+ SectionLnk.displayName = "SectionLnk";
39
+ SectionLink.displayName = "SectionLink";
@@ -126,3 +126,4 @@ export const List = ({ stub = false, type, size = "m", children }) => /* @__PURE
126
126
  })) : typeof item === "string" ? /* @__PURE__ */ React.createElement(Paragraph, {
127
127
  size
128
128
  }, item) : item))));
129
+ List.displayName = "List";
@@ -173,3 +173,4 @@ export const LogoBlockLink = (_a) => {
173
173
  children: action
174
174
  }))) : null));
175
175
  };
176
+ LogoBlockLink.displayName = "LogoBlockLink";
@@ -88,3 +88,4 @@ export const LogoLink = (_a) => {
88
88
  children: description
89
89
  })) : null));
90
90
  };
91
+ LogoLink.displayName = "LogoLink";
@@ -128,3 +128,5 @@ export const Markdown = ({ size = "m", children }) => /* @__PURE__ */ React.crea
128
128
  }), {})
129
129
  }
130
130
  });
131
+ MarkdownBox.displayName = "MarkdownBox";
132
+ p.displayName = "p", img.displayName = "img", a.displayName = "a", h1.displayName = "h1", h2.displayName = "h2", h3.displayName = "h3", h4.displayName = "h4", strong.displayName = "strong", del.displayName = "del", li.displayName = "li", ul.displayName = "ul", ol.displayName = "ol", Markdown.displayName = "Markdown";
@@ -5,3 +5,4 @@ export const MenuCaption = ({ text }) => /* @__PURE__ */ React.createElement(Box
5
5
  px: 4,
6
6
  py: 2
7
7
  }, /* @__PURE__ */ React.createElement(Caption, null, text));
8
+ MenuCaption.displayName = "MenuCaption";
@@ -3,3 +3,4 @@ import { Box } from "@qiwi/pijma-core";
3
3
  export const MenuContainer = ({ children }) => /* @__PURE__ */ React.createElement(Box, {
4
4
  py: 2
5
5
  }, children);
6
+ MenuContainer.displayName = "MenuContainer";
@@ -139,3 +139,4 @@ export const MenuItem = forwardRef((_a, ref) => {
139
139
  name: "angle-right"
140
140
  })) : null));
141
141
  });
142
+ MenuItem.displayName = "MenuItem";
@@ -42,3 +42,5 @@ export const MenuLink = (props) => props.stub ? /* @__PURE__ */ React.createElem
42
42
  onMouseDown: renderProps.onMouseDown
43
43
  })
44
44
  });
45
+ MenuItemLnk.displayName = "MenuItemLnk";
46
+ MenuLink.displayName = "MenuLink";
@@ -111,3 +111,4 @@ const SimpleModal = (props) => props.stub ? /* @__PURE__ */ React.createElement(
111
111
  }) : null, props.children))))
112
112
  });
113
113
  export default SimpleModal;
114
+ contentTransition.displayName = "contentTransition", backdropTransition.displayName = "backdropTransition", SimpleModal.displayName = "SimpleModal";
@@ -37,3 +37,4 @@ export const NavLink = (props) => props.stub ? /* @__PURE__ */ React.createEleme
37
37
  children: props.children
38
38
  })
39
39
  });
40
+ NavLink.displayName = "NavLink";
@@ -14,3 +14,4 @@ export const Notice = ({ icon, title, children }) => /* @__PURE__ */ React.creat
14
14
  }) : null, children ? /* @__PURE__ */ React.createElement(Paragraph, {
15
15
  children
16
16
  }) : null)) : null);
17
+ Notice.displayName = "Notice";
@@ -44,3 +44,4 @@ export const Oops = ({ logo, error, title, content, footer }) => /* @__PURE__ */
44
44
  children: footer
45
45
  }) : footer
46
46
  }) : null));
47
+ Oops.displayName = "Oops";
@@ -63,3 +63,4 @@ Pagination.defaultProps = {
63
63
  count: 3,
64
64
  stub: false
65
65
  };
66
+ Pagination.displayName = "Pagination";
@@ -38,3 +38,4 @@ export const PaginationLink = (props) => /* @__PURE__ */ React.createElement(Lin
38
38
  PaginationLink.defaultProps = {
39
39
  width: 12
40
40
  };
41
+ PaginationLink.displayName = "PaginationLink";
@@ -50,3 +50,4 @@ PasswordField.defaultProps = {
50
50
  tabIndex: 0,
51
51
  viewed: true
52
52
  };
53
+ PasswordField.displayName = "PasswordField";
@@ -143,3 +143,4 @@ PhoneField.defaultProps = {
143
143
  tabIndex: 0,
144
144
  code: "ru"
145
145
  };
146
+ PhoneField.displayName = "PhoneField";
@@ -21,3 +21,4 @@ export const ProgressBar = ({
21
21
  minWidth: 4,
22
22
  r: 8
23
23
  }));
24
+ ProgressBar.displayName = "ProgressBar";
@@ -79,3 +79,4 @@ const RadioField = (props) => props.stub ? /* @__PURE__ */ React.createElement(B
79
79
  })
80
80
  });
81
81
  export default RadioField;
82
+ RadioField.displayName = "RadioField";
@@ -52,3 +52,4 @@ Rating.defaultProps = {
52
52
  count: 5,
53
53
  stub: false
54
54
  };
55
+ Rating.displayName = "Rating";
@@ -96,3 +96,5 @@ export const SelectField = (props) => props.stub ? /* @__PURE__ */ React.createE
96
96
  }))))))
97
97
  })
98
98
  });
99
+ CardItem.displayName = "CardItem";
100
+ SelectField.displayName = "SelectField";
@@ -29,3 +29,4 @@ export const Status = ({ icon, title, actions, content, children }) => /* @__PUR
29
29
  mt: 2,
30
30
  children
31
31
  }) : null);
32
+ Status.displayName = "Status";
@@ -159,3 +159,4 @@ SuggestField.defaultProps = {
159
159
  equals: (a, b) => a === b
160
160
  };
161
161
  SuggestField.displayName = "SuggestField";
162
+ CardItem.displayName = "CardItem";
@@ -69,3 +69,4 @@ export const Switch = (props) => props.stub ? /* @__PURE__ */ React.createElemen
69
69
  Switch.defaultProps = {
70
70
  tabIndex: 0
71
71
  };
72
+ Switch.displayName = "Switch";
@@ -90,3 +90,4 @@ SwitchField.defaultProps = {
90
90
  tabIndex: 0
91
91
  };
92
92
  export default SwitchField;
93
+ SwitchField.displayName = "SwitchField";
@@ -91,3 +91,5 @@ Tabs.defaultProps = {
91
91
  centered: false,
92
92
  stub: false
93
93
  };
94
+ FlexOverflow.displayName = "FlexOverflow", TabContent.displayName = "TabContent";
95
+ Tabs.displayName = "Tabs";
@@ -37,3 +37,4 @@ export const TextAreaField = (props) => /* @__PURE__ */ React.createElement(Text
37
37
  TextAreaField.defaultProps = {
38
38
  tabIndex: 0
39
39
  };
40
+ TextAreaField.displayName = "TextAreaField";
@@ -51,3 +51,4 @@ export const TextField = (props) => props.stub ? /* @__PURE__ */ React.createEle
51
51
  TextField.defaultProps = {
52
52
  tabIndex: 0
53
53
  };
54
+ TextField.displayName = "TextField";
@@ -33,3 +33,4 @@ export const Caption = ({ color = "support", align, stub, clamp, children }) =>
33
33
  Caption.defaultProps = {
34
34
  color: "support"
35
35
  };
36
+ Caption.displayName = "Caption";
@@ -74,3 +74,4 @@ export const Heading = ({ tag, size, color = "default", align, stub, clamp, chil
74
74
  Heading.defaultProps = {
75
75
  color: "default"
76
76
  };
77
+ Heading.displayName = "Heading";
@@ -86,3 +86,4 @@ Paragraph.defaultProps = {
86
86
  compact: false,
87
87
  color: "default"
88
88
  };
89
+ Paragraph.displayName = "Paragraph";
@@ -86,3 +86,4 @@ export const Text = ({
86
86
  children
87
87
  })
88
88
  });
89
+ Text.displayName = "Text";
@@ -58,3 +58,4 @@ export const Title = ({ tag, size, color = "default", align, stub, clamp, childr
58
58
  Title.defaultProps = {
59
59
  color: "default"
60
60
  };
61
+ Title.displayName = "Title";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qiwi/pijma-mobile",
3
- "version": "1.140.1",
3
+ "version": "1.141.2",
4
4
  "main": "./lib/es6/index.js",
5
5
  "types": "./lib/es6/index.d.ts",
6
6
  "license": "MIT",
@@ -26,11 +26,11 @@
26
26
  "lib"
27
27
  ],
28
28
  "dependencies": {
29
- "@qiwi/pijma-core": "1.142.1",
29
+ "@qiwi/pijma-core": "1.144.0",
30
30
  "@qiwi/pijma-fonts": "1.0.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@qiwi/pijma-infra": "1.3.1"
33
+ "@qiwi/pijma-infra": "1.4.0"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",