@gympass/yoga 7.37.2 → 7.39.1

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 (216) hide show
  1. package/cjs/AutoComplete/AutoComplete.theme.js +1 -1
  2. package/cjs/AutoComplete/web/AutoComplete.js +1 -1
  3. package/cjs/Avatar/native/Avatar.js +1 -1
  4. package/cjs/Avatar/native/Avatar.test.js +1 -1
  5. package/cjs/Avatar/web/Avatar.js +1 -1
  6. package/cjs/Avatar/web/AvatarCircle.js +1 -1
  7. package/cjs/Banner/native/Banner.test.js +1 -1
  8. package/cjs/Banner/web/Banner.js +1 -1
  9. package/cjs/Box/native/Box.test.js +1 -1
  10. package/cjs/Button/native/Button.test.js +1 -1
  11. package/cjs/Button/web/Button.js +1 -1
  12. package/cjs/Button/web/Icon.js +1 -1
  13. package/cjs/Card/Card.native.theme.js +9 -7
  14. package/cjs/Card/Card.theme.js +1 -1
  15. package/cjs/Card/Card.web.theme.js +8 -6
  16. package/cjs/Card/native/Card/Card.test.js +1 -1
  17. package/cjs/Card/native/EventCard/EventCard.test.js +1 -1
  18. package/cjs/Card/native/GymCard/CheckIn/CheckIn.test.js +1 -1
  19. package/cjs/Card/native/PlanCard/Actions.js +1 -1
  20. package/cjs/Card/native/PlanCard/Content.js +1 -1
  21. package/cjs/Card/native/PlanCard/PlanCard.js +1 -1
  22. package/cjs/Card/native/PlanCard/PlanCard.test.js +1 -1
  23. package/cjs/Card/web/Card/Card.js +1 -1
  24. package/cjs/Card/web/PlanCard/Actions.js +1 -1
  25. package/cjs/Card/web/PlanCard/Content.js +28 -32
  26. package/cjs/Card/web/PlanCard/PlanCard.js +1 -1
  27. package/cjs/Checkbox/native/Checkbox.test.js +1 -1
  28. package/cjs/Checkbox/native/Switch.test.js +1 -1
  29. package/cjs/Checkbox/web/Checkbox.js +1 -1
  30. package/cjs/Checkbox/web/Checkbox.test.js +1 -1
  31. package/cjs/Checkbox/web/Switch.js +1 -1
  32. package/cjs/Chips/native/Chips.test.js +1 -1
  33. package/cjs/Chips/web/Chips.js +1 -1
  34. package/cjs/Dialog/web/Content.js +1 -1
  35. package/cjs/Dialog/web/Dialog.js +1 -1
  36. package/cjs/Dialog/web/Footer.js +1 -1
  37. package/cjs/Dialog/web/Header.js +1 -1
  38. package/cjs/Divider/native/Divider.test.js +1 -1
  39. package/cjs/Dropdown/native/Backdrop.test.js +1 -1
  40. package/cjs/Dropdown/native/Dropdown.test.js +1 -1
  41. package/cjs/Dropdown/web/Dropdown.js +1 -1
  42. package/cjs/Dropdown/web/Dropdown.test.js +1 -1
  43. package/cjs/Feedback/web/Feedback.js +1 -1
  44. package/cjs/Heading/web/BackButton.js +1 -1
  45. package/cjs/Heading/web/RightButton.js +2 -2
  46. package/cjs/Heading/web/Title.js +1 -1
  47. package/cjs/Icon/Icon.js +1 -1
  48. package/cjs/Icon/native/Icon.test.js +1 -1
  49. package/cjs/Input/native/Email.test.js +1 -1
  50. package/cjs/Input/native/Input.test.js +1 -1
  51. package/cjs/Input/native/Number.test.js +1 -1
  52. package/cjs/Input/native/Password.test.js +1 -1
  53. package/cjs/Input/native/Tel.test.js +1 -1
  54. package/cjs/Input/web/Email.js +1 -1
  55. package/cjs/Input/web/Input.js +1 -1
  56. package/cjs/Input/web/Legend.js +1 -1
  57. package/cjs/Input/web/Number.js +1 -1
  58. package/cjs/Input/web/Password.js +1 -1
  59. package/cjs/Input/web/Tel.js +1 -1
  60. package/cjs/List/native/List.test.js +1 -1
  61. package/cjs/List/web/LinkItem.js +1 -1
  62. package/cjs/List/web/List.js +1 -1
  63. package/cjs/List/web/ListItem.js +1 -1
  64. package/cjs/Progress/native/Progress.test.js +1 -1
  65. package/cjs/Progress/web/Progress.js +1 -1
  66. package/cjs/RadioGroup/native/Button/RadioButton.test.js +1 -1
  67. package/cjs/RadioGroup/native/Radio/Radio.test.js +1 -1
  68. package/cjs/RadioGroup/native/RadioGroup.js +1 -1
  69. package/cjs/RadioGroup/native/RadioGroup.test.js +1 -1
  70. package/cjs/RadioGroup/web/Button/RadioButton.js +1 -1
  71. package/cjs/RadioGroup/web/Radio/Radio.js +1 -1
  72. package/cjs/RadioGroup/web/RadioGroup.js +1 -1
  73. package/cjs/Rating/native/Rating.test.js +1 -1
  74. package/cjs/Rating/web/Rating.js +1 -1
  75. package/cjs/Result/native/Result.test.js +1 -1
  76. package/cjs/Slider/native/Slider.test.js +1 -1
  77. package/cjs/Slider/web/Marker.js +1 -1
  78. package/cjs/Slider/web/Slider.js +1 -1
  79. package/cjs/Slider/web/Tooltip.js +1 -1
  80. package/cjs/Snackbar/native/Snackbar.test.js +1 -1
  81. package/cjs/Snackbar/web/Snackbar.js +1 -1
  82. package/cjs/Snackbar/web/Snackbar.test.js +6 -4
  83. package/cjs/Stepper/native/Stepper.test.js +1 -1
  84. package/cjs/Tag/native/Tag.test.js +1 -1
  85. package/cjs/Tag/web/Informative.js +1 -1
  86. package/cjs/Text/native/Text.test.js +1 -1
  87. package/cjs/TextArea/native/TextArea.test.js +1 -1
  88. package/cjs/TextArea/web/TextArea.js +1 -1
  89. package/cjs/Theme/Provider/Provider.js +1 -1
  90. package/cjs/Theme/helpers/themeReader/native/native.test.js +1 -1
  91. package/cjs/Theme/theme/theme.js +1 -1
  92. package/esm/AutoComplete/AutoComplete.theme.js +1 -1
  93. package/esm/AutoComplete/web/AutoComplete.js +1 -1
  94. package/esm/Avatar/native/Avatar.js +1 -1
  95. package/esm/Avatar/native/Avatar.test.js +10 -10
  96. package/esm/Avatar/native/AvatarCircle.js +1 -1
  97. package/esm/Avatar/web/Avatar.js +1 -1
  98. package/esm/Avatar/web/AvatarCircle.js +1 -1
  99. package/esm/Banner/native/Banner.js +1 -1
  100. package/esm/Banner/native/Banner.test.js +10 -10
  101. package/esm/Banner/web/Banner.js +1 -1
  102. package/esm/Box/native/Box.test.js +2 -2
  103. package/esm/Button/native/Button.js +1 -1
  104. package/esm/Button/native/Button.test.js +91 -91
  105. package/esm/Button/native/Icon.js +1 -1
  106. package/esm/Button/native/Link.js +1 -1
  107. package/esm/Button/native/Text.js +1 -1
  108. package/esm/Button/native/withTouchable.js +1 -1
  109. package/esm/Button/web/Button.js +1 -1
  110. package/esm/Button/web/Icon.js +1 -1
  111. package/esm/Card/Card.native.theme.js +9 -7
  112. package/esm/Card/Card.theme.js +1 -1
  113. package/esm/Card/Card.web.theme.js +8 -6
  114. package/esm/Card/native/Card/Card.js +1 -1
  115. package/esm/Card/native/Card/Card.test.js +2 -2
  116. package/esm/Card/native/EventCard/EventCard.js +1 -1
  117. package/esm/Card/native/EventCard/EventCard.test.js +11 -11
  118. package/esm/Card/native/GymCard/CheckIn/CheckIn.test.js +5 -5
  119. package/esm/Card/native/PlanCard/Actions.js +1 -1
  120. package/esm/Card/native/PlanCard/Content.js +16 -23
  121. package/esm/Card/native/PlanCard/PlanCard.js +1 -1
  122. package/esm/Card/native/PlanCard/PlanCard.test.js +6 -6
  123. package/esm/Card/web/Card/Card.js +1 -1
  124. package/esm/Card/web/PlanCard/Actions.js +1 -1
  125. package/esm/Card/web/PlanCard/Content.js +25 -30
  126. package/esm/Card/web/PlanCard/PlanCard.js +1 -1
  127. package/esm/Checkbox/native/Checkbox.js +1 -1
  128. package/esm/Checkbox/native/Checkbox.test.js +24 -24
  129. package/esm/Checkbox/native/Switch.test.js +9 -9
  130. package/esm/Checkbox/web/Checkbox.js +1 -1
  131. package/esm/Checkbox/web/Checkbox.test.js +1 -1
  132. package/esm/Checkbox/web/Switch.js +1 -1
  133. package/esm/Chips/native/Chips.js +1 -1
  134. package/esm/Chips/native/Chips.test.js +19 -10
  135. package/esm/Chips/web/Chips.js +1 -1
  136. package/esm/Dialog/web/Content.js +1 -1
  137. package/esm/Dialog/web/Dialog.js +1 -1
  138. package/esm/Dialog/web/Footer.js +1 -1
  139. package/esm/Dialog/web/Header.js +1 -1
  140. package/esm/Divider/native/Divider.test.js +4 -4
  141. package/esm/Dropdown/native/Backdrop.js +1 -1
  142. package/esm/Dropdown/native/Backdrop.test.js +4 -4
  143. package/esm/Dropdown/native/Dropdown.js +1 -1
  144. package/esm/Dropdown/native/Dropdown.test.js +11 -11
  145. package/esm/Dropdown/native/Options.ios.js +1 -1
  146. package/esm/Dropdown/web/Dropdown.js +1 -1
  147. package/esm/Dropdown/web/Dropdown.test.js +1 -1
  148. package/esm/Feedback/web/Feedback.js +1 -1
  149. package/esm/Heading/web/BackButton.js +1 -1
  150. package/esm/Heading/web/RightButton.js +2 -2
  151. package/esm/Heading/web/Title.js +1 -1
  152. package/esm/Icon/Icon.js +1 -1
  153. package/esm/Icon/native/Icon.test.js +6 -6
  154. package/esm/Input/native/Email.js +1 -1
  155. package/esm/Input/native/Email.test.js +2 -2
  156. package/esm/Input/native/Input.js +1 -1
  157. package/esm/Input/native/Input.test.js +23 -23
  158. package/esm/Input/native/Number.js +1 -1
  159. package/esm/Input/native/Number.test.js +2 -2
  160. package/esm/Input/native/Password.js +1 -1
  161. package/esm/Input/native/Password.test.js +14 -14
  162. package/esm/Input/native/Tel.js +1 -1
  163. package/esm/Input/native/Tel.test.js +2 -2
  164. package/esm/Input/web/Email.js +1 -1
  165. package/esm/Input/web/Input.js +1 -1
  166. package/esm/Input/web/Legend.js +1 -1
  167. package/esm/Input/web/Number.js +1 -1
  168. package/esm/Input/web/Password.js +1 -1
  169. package/esm/Input/web/Tel.js +1 -1
  170. package/esm/List/native/List.js +1 -1
  171. package/esm/List/native/List.test.js +8 -8
  172. package/esm/List/native/ListItem.js +1 -1
  173. package/esm/List/web/LinkItem.js +1 -1
  174. package/esm/List/web/List.js +1 -1
  175. package/esm/List/web/ListItem.js +1 -1
  176. package/esm/Progress/native/Progress.js +1 -1
  177. package/esm/Progress/native/Progress.test.js +18 -18
  178. package/esm/Progress/web/Progress.js +1 -1
  179. package/esm/RadioGroup/native/Button/RadioButton.js +1 -1
  180. package/esm/RadioGroup/native/Button/RadioButton.test.js +5 -3
  181. package/esm/RadioGroup/native/Radio/Radio.js +1 -1
  182. package/esm/RadioGroup/native/Radio/Radio.test.js +18 -8
  183. package/esm/RadioGroup/native/RadioGroup.js +1 -1
  184. package/esm/RadioGroup/native/RadioGroup.test.js +7 -5
  185. package/esm/RadioGroup/web/Button/RadioButton.js +1 -1
  186. package/esm/RadioGroup/web/Radio/Radio.js +1 -1
  187. package/esm/RadioGroup/web/RadioGroup.js +1 -1
  188. package/esm/Rating/native/Rating.js +1 -1
  189. package/esm/Rating/native/Rating.test.js +10 -10
  190. package/esm/Rating/web/Rating.js +1 -1
  191. package/esm/Result/native/Details.js +1 -1
  192. package/esm/Result/native/Result.test.js +6 -6
  193. package/esm/Result/native/Tags.js +1 -1
  194. package/esm/Result/native/TinyTextIcon.js +1 -1
  195. package/esm/Slider/native/Slider.js +1 -1
  196. package/esm/Slider/native/Slider.test.js +17 -10
  197. package/esm/Slider/web/Marker.js +1 -1
  198. package/esm/Slider/web/Slider.js +1 -1
  199. package/esm/Slider/web/Tooltip.js +1 -1
  200. package/esm/Snackbar/native/Snackbar.js +1 -1
  201. package/esm/Snackbar/native/Snackbar.test.js +13 -11
  202. package/esm/Snackbar/web/Snackbar.js +1 -1
  203. package/esm/Snackbar/web/Snackbar.test.js +6 -4
  204. package/esm/Stepper/native/Stepper.test.js +5 -3
  205. package/esm/Tag/native/Informative.js +1 -1
  206. package/esm/Tag/native/Tag.js +1 -1
  207. package/esm/Tag/native/Tag.test.js +14 -14
  208. package/esm/Tag/web/Informative.js +1 -1
  209. package/esm/Text/native/Text.test.js +30 -30
  210. package/esm/TextArea/native/TextArea.js +1 -1
  211. package/esm/TextArea/native/TextArea.test.js +2 -2
  212. package/esm/TextArea/web/TextArea.js +1 -1
  213. package/esm/Theme/Provider/Provider.js +1 -1
  214. package/esm/Theme/helpers/themeReader/native/native.test.js +5 -5
  215. package/esm/Theme/theme/theme.js +1 -1
  216. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { render, fireEvent, toJSON } from '@testing-library/react-native';
2
+ import { render, fireEvent } from '@testing-library/react-native';
3
3
  import { Booking } from '@gympass/yoga-icons';
4
4
  import ThemeProvider from '../../Theme';
5
5
  import Button from '..';
@@ -9,37 +9,37 @@ describe('<Button />', function () {
9
9
  describe('Without props', function () {
10
10
  it('should match snapshot with default Button', function () {
11
11
  var _render = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, null))),
12
- container = _render.container;
12
+ toJSON = _render.toJSON;
13
13
 
14
- expect(toJSON(container)).toMatchSnapshot();
14
+ expect(toJSON()).toMatchSnapshot();
15
15
  });
16
16
  it('should match snapshot with text Button', function () {
17
17
  var _render2 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, null))),
18
- container = _render2.container;
18
+ toJSON = _render2.toJSON;
19
19
 
20
- expect(toJSON(container)).toMatchSnapshot();
20
+ expect(toJSON()).toMatchSnapshot();
21
21
  });
22
22
  it('should match snapshot with link Button', function () {
23
23
  var _render3 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Link, null))),
24
- container = _render3.container;
24
+ toJSON = _render3.toJSON;
25
25
 
26
- expect(toJSON(container)).toMatchSnapshot();
26
+ expect(toJSON()).toMatchSnapshot();
27
27
  });
28
28
  it('should match snapshot with default Button with Icon', function () {
29
29
  var _render4 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
30
30
  icon: Booking
31
31
  }))),
32
- container = _render4.container;
32
+ toJSON = _render4.toJSON;
33
33
 
34
- expect(toJSON(container)).toMatchSnapshot();
34
+ expect(toJSON()).toMatchSnapshot();
35
35
  });
36
36
  it('should match snapshot with text Button with Icon', function () {
37
37
  var _render5 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
38
38
  icon: Booking
39
39
  }))),
40
- container = _render5.container;
40
+ toJSON = _render5.toJSON;
41
41
 
42
- expect(toJSON(container)).toMatchSnapshot();
42
+ expect(toJSON()).toMatchSnapshot();
43
43
  });
44
44
  });
45
45
  describe('With inverted prop', function () {
@@ -47,44 +47,44 @@ describe('<Button />', function () {
47
47
  var _render6 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
48
48
  inverted: true
49
49
  }))),
50
- container = _render6.container;
50
+ toJSON = _render6.toJSON;
51
51
 
52
- expect(toJSON(container)).toMatchSnapshot();
52
+ expect(toJSON()).toMatchSnapshot();
53
53
  });
54
54
  it('should match snapshot with text Button', function () {
55
55
  var _render7 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
56
56
  inverted: true
57
57
  }))),
58
- container = _render7.container;
58
+ toJSON = _render7.toJSON;
59
59
 
60
- expect(toJSON(container)).toMatchSnapshot();
60
+ expect(toJSON()).toMatchSnapshot();
61
61
  });
62
62
  it('should match snapshot with default Button with Icon', function () {
63
63
  var _render8 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
64
64
  inverted: true,
65
65
  icon: Booking
66
66
  }))),
67
- container = _render8.container;
67
+ toJSON = _render8.toJSON;
68
68
 
69
- expect(toJSON(container)).toMatchSnapshot();
69
+ expect(toJSON()).toMatchSnapshot();
70
70
  });
71
71
  it('should match snapshot with text Button with Icon', function () {
72
72
  var _render9 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
73
73
  inverted: true,
74
74
  icon: Booking
75
75
  }))),
76
- container = _render9.container;
76
+ toJSON = _render9.toJSON;
77
77
 
78
- expect(toJSON(container)).toMatchSnapshot();
78
+ expect(toJSON()).toMatchSnapshot();
79
79
  });
80
80
  it('should match snapshot with icon Button', function () {
81
81
  var _render10 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Icon, {
82
82
  icon: Booking,
83
83
  inverted: true
84
84
  }))),
85
- container = _render10.container;
85
+ toJSON = _render10.toJSON;
86
86
 
87
- expect(container).toMatchSnapshot();
87
+ expect(toJSON()).toMatchSnapshot();
88
88
  });
89
89
  });
90
90
  describe('With small prop', function () {
@@ -92,35 +92,35 @@ describe('<Button />', function () {
92
92
  var _render11 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
93
93
  small: true
94
94
  }))),
95
- container = _render11.container;
95
+ toJSON = _render11.toJSON;
96
96
 
97
- expect(toJSON(container)).toMatchSnapshot();
97
+ expect(toJSON()).toMatchSnapshot();
98
98
  });
99
99
  it('should match snapshot with text Button', function () {
100
100
  var _render12 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
101
101
  small: true
102
102
  }))),
103
- container = _render12.container;
103
+ toJSON = _render12.toJSON;
104
104
 
105
- expect(toJSON(container)).toMatchSnapshot();
105
+ expect(toJSON()).toMatchSnapshot();
106
106
  });
107
107
  it('should match snapshot with default Button with Icon', function () {
108
108
  var _render13 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
109
109
  small: true,
110
110
  icon: Booking
111
111
  }))),
112
- container = _render13.container;
112
+ toJSON = _render13.toJSON;
113
113
 
114
- expect(toJSON(container)).toMatchSnapshot();
114
+ expect(toJSON()).toMatchSnapshot();
115
115
  });
116
116
  it('should match snapshot with text Button with Icon', function () {
117
117
  var _render14 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
118
118
  small: true,
119
119
  icon: Booking
120
120
  }))),
121
- container = _render14.container;
121
+ toJSON = _render14.toJSON;
122
122
 
123
- expect(toJSON(container)).toMatchSnapshot();
123
+ expect(toJSON()).toMatchSnapshot();
124
124
  });
125
125
  });
126
126
  describe('With full prop', function () {
@@ -128,35 +128,35 @@ describe('<Button />', function () {
128
128
  var _render15 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
129
129
  full: true
130
130
  }))),
131
- container = _render15.container;
131
+ toJSON = _render15.toJSON;
132
132
 
133
- expect(toJSON(container)).toMatchSnapshot();
133
+ expect(toJSON()).toMatchSnapshot();
134
134
  });
135
135
  it('should match snapshot with text Button', function () {
136
136
  var _render16 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
137
137
  full: true
138
138
  }))),
139
- container = _render16.container;
139
+ toJSON = _render16.toJSON;
140
140
 
141
- expect(toJSON(container)).toMatchSnapshot();
141
+ expect(toJSON()).toMatchSnapshot();
142
142
  });
143
143
  it('should match snapshot with default Button with Icon', function () {
144
144
  var _render17 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
145
145
  full: true,
146
146
  icon: Booking
147
147
  }))),
148
- container = _render17.container;
148
+ toJSON = _render17.toJSON;
149
149
 
150
- expect(toJSON(container)).toMatchSnapshot();
150
+ expect(toJSON()).toMatchSnapshot();
151
151
  });
152
152
  it('should match snapshot with text Button with Icon', function () {
153
153
  var _render18 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
154
154
  full: true,
155
155
  icon: Booking
156
156
  }))),
157
- container = _render18.container;
157
+ toJSON = _render18.toJSON;
158
158
 
159
- expect(toJSON(container)).toMatchSnapshot();
159
+ expect(toJSON()).toMatchSnapshot();
160
160
  });
161
161
  });
162
162
  describe('With large prop', function () {
@@ -165,9 +165,9 @@ describe('<Button />', function () {
165
165
  icon: Booking,
166
166
  large: true
167
167
  }))),
168
- container = _render19.container;
168
+ toJSON = _render19.toJSON;
169
169
 
170
- expect(container).toMatchSnapshot();
170
+ expect(toJSON()).toMatchSnapshot();
171
171
  });
172
172
  });
173
173
  });
@@ -177,52 +177,52 @@ describe('<Button />', function () {
177
177
  var _render20 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
178
178
  secondary: true
179
179
  }))),
180
- container = _render20.container;
180
+ toJSON = _render20.toJSON;
181
181
 
182
- expect(toJSON(container)).toMatchSnapshot();
182
+ expect(toJSON()).toMatchSnapshot();
183
183
  });
184
184
  it('should match snapshot with text Button', function () {
185
185
  var _render21 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
186
186
  secondary: true
187
187
  }))),
188
- container = _render21.container;
188
+ toJSON = _render21.toJSON;
189
189
 
190
- expect(toJSON(container)).toMatchSnapshot();
190
+ expect(toJSON()).toMatchSnapshot();
191
191
  });
192
192
  it('should match snapshot with link Button', function () {
193
193
  var _render22 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Link, {
194
194
  secondary: true
195
195
  }))),
196
- container = _render22.container;
196
+ toJSON = _render22.toJSON;
197
197
 
198
- expect(toJSON(container)).toMatchSnapshot();
198
+ expect(toJSON()).toMatchSnapshot();
199
199
  });
200
200
  it('should match snapshot with default Button with Icon', function () {
201
201
  var _render23 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
202
202
  icon: Booking,
203
203
  secondary: true
204
204
  }))),
205
- container = _render23.container;
205
+ toJSON = _render23.toJSON;
206
206
 
207
- expect(toJSON(container)).toMatchSnapshot();
207
+ expect(toJSON()).toMatchSnapshot();
208
208
  });
209
209
  it('should match snapshot with text Button with Icon', function () {
210
210
  var _render24 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
211
211
  icon: Booking,
212
212
  secondary: true
213
213
  }))),
214
- container = _render24.container;
214
+ toJSON = _render24.toJSON;
215
215
 
216
- expect(toJSON(container)).toMatchSnapshot();
216
+ expect(toJSON()).toMatchSnapshot();
217
217
  });
218
218
  it('should match snapshot with icon Button with Icon', function () {
219
219
  var _render25 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Icon, {
220
220
  icon: Booking,
221
221
  secondary: true
222
222
  }))),
223
- container = _render25.container;
223
+ toJSON = _render25.toJSON;
224
224
 
225
- expect(toJSON(container)).toMatchSnapshot();
225
+ expect(toJSON()).toMatchSnapshot();
226
226
  });
227
227
  });
228
228
  describe('With inverted prop', function () {
@@ -231,18 +231,18 @@ describe('<Button />', function () {
231
231
  inverted: true,
232
232
  secondary: true
233
233
  }))),
234
- container = _render26.container;
234
+ toJSON = _render26.toJSON;
235
235
 
236
- expect(toJSON(container)).toMatchSnapshot();
236
+ expect(toJSON()).toMatchSnapshot();
237
237
  });
238
238
  it('should match snapshot with text Button', function () {
239
239
  var _render27 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
240
240
  inverted: true,
241
241
  secondary: true
242
242
  }))),
243
- container = _render27.container;
243
+ toJSON = _render27.toJSON;
244
244
 
245
- expect(toJSON(container)).toMatchSnapshot();
245
+ expect(toJSON()).toMatchSnapshot();
246
246
  });
247
247
  it('should match snapshot with default Button with Icon', function () {
248
248
  var _render28 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
@@ -250,9 +250,9 @@ describe('<Button />', function () {
250
250
  icon: Booking,
251
251
  secondary: true
252
252
  }))),
253
- container = _render28.container;
253
+ toJSON = _render28.toJSON;
254
254
 
255
- expect(toJSON(container)).toMatchSnapshot();
255
+ expect(toJSON()).toMatchSnapshot();
256
256
  });
257
257
  it('should match snapshot with text Button with Icon', function () {
258
258
  var _render29 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
@@ -260,9 +260,9 @@ describe('<Button />', function () {
260
260
  icon: Booking,
261
261
  secondary: true
262
262
  }))),
263
- container = _render29.container;
263
+ toJSON = _render29.toJSON;
264
264
 
265
- expect(toJSON(container)).toMatchSnapshot();
265
+ expect(toJSON()).toMatchSnapshot();
266
266
  });
267
267
  it('should match snapshot with icon Button with Icon', function () {
268
268
  var _render30 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Icon, {
@@ -270,9 +270,9 @@ describe('<Button />', function () {
270
270
  icon: Booking,
271
271
  secondary: true
272
272
  }))),
273
- container = _render30.container;
273
+ toJSON = _render30.toJSON;
274
274
 
275
- expect(toJSON(container)).toMatchSnapshot();
275
+ expect(toJSON()).toMatchSnapshot();
276
276
  });
277
277
  });
278
278
  describe('With small prop', function () {
@@ -281,18 +281,18 @@ describe('<Button />', function () {
281
281
  small: true,
282
282
  secondary: true
283
283
  }))),
284
- container = _render31.container;
284
+ toJSON = _render31.toJSON;
285
285
 
286
- expect(toJSON(container)).toMatchSnapshot();
286
+ expect(toJSON()).toMatchSnapshot();
287
287
  });
288
288
  it('should match snapshot with text Button', function () {
289
289
  var _render32 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
290
290
  small: true,
291
291
  secondary: true
292
292
  }))),
293
- container = _render32.container;
293
+ toJSON = _render32.toJSON;
294
294
 
295
- expect(toJSON(container)).toMatchSnapshot();
295
+ expect(toJSON()).toMatchSnapshot();
296
296
  });
297
297
  it('should match snapshot with default Button with Icon', function () {
298
298
  var _render33 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
@@ -300,9 +300,9 @@ describe('<Button />', function () {
300
300
  icon: Booking,
301
301
  secondary: true
302
302
  }))),
303
- container = _render33.container;
303
+ toJSON = _render33.toJSON;
304
304
 
305
- expect(toJSON(container)).toMatchSnapshot();
305
+ expect(toJSON()).toMatchSnapshot();
306
306
  });
307
307
  it('should match snapshot with text Button with Icon', function () {
308
308
  var _render34 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
@@ -310,9 +310,9 @@ describe('<Button />', function () {
310
310
  icon: Booking,
311
311
  secondary: true
312
312
  }))),
313
- container = _render34.container;
313
+ toJSON = _render34.toJSON;
314
314
 
315
- expect(toJSON(container)).toMatchSnapshot();
315
+ expect(toJSON()).toMatchSnapshot();
316
316
  });
317
317
  });
318
318
  describe('With full prop', function () {
@@ -321,18 +321,18 @@ describe('<Button />', function () {
321
321
  full: true,
322
322
  secondary: true
323
323
  }))),
324
- container = _render35.container;
324
+ toJSON = _render35.toJSON;
325
325
 
326
- expect(toJSON(container)).toMatchSnapshot();
326
+ expect(toJSON()).toMatchSnapshot();
327
327
  });
328
328
  it('should match snapshot with text Button', function () {
329
329
  var _render36 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
330
330
  full: true,
331
331
  secondary: true
332
332
  }))),
333
- container = _render36.container;
333
+ toJSON = _render36.toJSON;
334
334
 
335
- expect(toJSON(container)).toMatchSnapshot();
335
+ expect(toJSON()).toMatchSnapshot();
336
336
  });
337
337
  it('should match snapshot with default Button with Icon', function () {
338
338
  var _render37 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
@@ -340,9 +340,9 @@ describe('<Button />', function () {
340
340
  icon: Booking,
341
341
  secondary: true
342
342
  }))),
343
- container = _render37.container;
343
+ toJSON = _render37.toJSON;
344
344
 
345
- expect(toJSON(container)).toMatchSnapshot();
345
+ expect(toJSON()).toMatchSnapshot();
346
346
  });
347
347
  it('should match snapshot with text Button with Icon', function () {
348
348
  var _render38 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
@@ -350,9 +350,9 @@ describe('<Button />', function () {
350
350
  icon: Booking,
351
351
  secondary: true
352
352
  }))),
353
- container = _render38.container;
353
+ toJSON = _render38.toJSON;
354
354
 
355
- expect(toJSON(container)).toMatchSnapshot();
355
+ expect(toJSON()).toMatchSnapshot();
356
356
  });
357
357
  });
358
358
  describe('With large prop', function () {
@@ -362,9 +362,9 @@ describe('<Button />', function () {
362
362
  icon: Booking,
363
363
  secondary: true
364
364
  }))),
365
- container = _render39.container;
365
+ toJSON = _render39.toJSON;
366
366
 
367
- expect(container).toMatchSnapshot();
367
+ expect(toJSON()).toMatchSnapshot();
368
368
  });
369
369
  });
370
370
  });
@@ -374,52 +374,52 @@ describe('<Button />', function () {
374
374
  var _render40 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
375
375
  disabled: true
376
376
  }))),
377
- container = _render40.container;
377
+ toJSON = _render40.toJSON;
378
378
 
379
- expect(toJSON(container)).toMatchSnapshot();
379
+ expect(toJSON()).toMatchSnapshot();
380
380
  });
381
381
  it('should match snapshot with text Button', function () {
382
382
  var _render41 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
383
383
  disabled: true
384
384
  }))),
385
- container = _render41.container;
385
+ toJSON = _render41.toJSON;
386
386
 
387
- expect(toJSON(container)).toMatchSnapshot();
387
+ expect(toJSON()).toMatchSnapshot();
388
388
  });
389
389
  it('should match snapshot with link Button', function () {
390
390
  var _render42 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Link, {
391
391
  disabled: true
392
392
  }))),
393
- container = _render42.container;
393
+ toJSON = _render42.toJSON;
394
394
 
395
- expect(toJSON(container)).toMatchSnapshot();
395
+ expect(toJSON()).toMatchSnapshot();
396
396
  });
397
397
  it('should match snapshot with default Button with Icon', function () {
398
398
  var _render43 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button, {
399
399
  disabled: true,
400
400
  icon: Booking
401
401
  }))),
402
- container = _render43.container;
402
+ toJSON = _render43.toJSON;
403
403
 
404
- expect(toJSON(container)).toMatchSnapshot();
404
+ expect(toJSON()).toMatchSnapshot();
405
405
  });
406
406
  it('should match snapshot with text Button with Icon', function () {
407
407
  var _render44 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Text, {
408
408
  disabled: true,
409
409
  icon: Booking
410
410
  }))),
411
- container = _render44.container;
411
+ toJSON = _render44.toJSON;
412
412
 
413
- expect(toJSON(container)).toMatchSnapshot();
413
+ expect(toJSON()).toMatchSnapshot();
414
414
  });
415
415
  it('should match snapshot with icon Button with Icon', function () {
416
416
  var _render45 = render( /*#__PURE__*/React.createElement(ThemeProvider, null, /*#__PURE__*/React.createElement(Button.Icon, {
417
417
  disabled: true,
418
418
  icon: Booking
419
419
  }))),
420
- container = _render45.container;
420
+ toJSON = _render45.toJSON;
421
421
 
422
- expect(toJSON(container)).toMatchSnapshot();
422
+ expect(toJSON()).toMatchSnapshot();
423
423
  });
424
424
  });
425
425
  });
@@ -2,7 +2,7 @@ var _excluded = ["icon", "theme", "small", "pressed", "disabled", "inverted", "s
2
2
 
3
3
  var _templateObject;
4
4
 
5
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
6
 
7
7
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
8
 
@@ -1,6 +1,6 @@
1
1
  var _templateObject;
2
2
 
3
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
5
5
  function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
6
6
 
@@ -2,7 +2,7 @@ var _excluded = ["children", "disabled", "pressed", "small", "secondary", "inver
2
2
 
3
3
  var _templateObject, _templateObject2;
4
4
 
5
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
6
 
7
7
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
8
 
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["onPressIn", "onPressOut", "onChange", "onPress"];
2
2
 
3
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
@@ -1,6 +1,6 @@
1
1
  var _excluded = ["children", "onClick", "full", "disabled", "inverted", "small", "secondary", "icon"];
2
2
 
3
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
 
5
5
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
6
 
@@ -2,7 +2,7 @@ var _excluded = ["icon", "theme", "small"];
2
2
 
3
3
  var _templateObject;
4
4
 
5
- function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
5
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
6
6
 
7
7
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
8
8
 
@@ -1,25 +1,27 @@
1
1
  var CardNative = function CardNative(_ref) {
2
2
  var colors = _ref.colors,
3
- spacing = _ref.spacing;
3
+ spacing = _ref.spacing,
4
+ lineHeights = _ref.lineHeights;
4
5
  return {
5
6
  plan: {
6
7
  title: {
7
8
  margin: {
8
- top: spacing.xsmall,
9
- bottom: spacing.xsmall
10
- }
9
+ top: spacing.xxsmall,
10
+ bottom: spacing.xxsmall
11
+ },
12
+ lineHeight: lineHeights.medium
11
13
  },
12
14
  description: {
13
15
  color: colors.text.secondary
14
16
  },
15
17
  price: {
16
18
  margin: {
17
- bottom: spacing.xsmall
19
+ bottom: spacing.large
18
20
  }
19
21
  },
20
22
  list: {
21
23
  margin: {
22
- top: spacing.zero
24
+ top: spacing.large
23
25
  },
24
26
  item: {
25
27
  icon: {
@@ -36,7 +38,7 @@ var CardNative = function CardNative(_ref) {
36
38
  }
37
39
  },
38
40
  margin: {
39
- top: spacing.small
41
+ top: spacing.xxsmall
40
42
  }
41
43
  }
42
44
  }
@@ -56,7 +56,7 @@ var Card = function Card(_ref) {
56
56
  }
57
57
  },
58
58
  margin: {
59
- top: spacing.small
59
+ top: spacing.xxsmall
60
60
  }
61
61
  },
62
62
  list: {
@@ -1,20 +1,22 @@
1
1
  var CardWeb = function CardWeb(_ref) {
2
- var spacing = _ref.spacing;
2
+ var spacing = _ref.spacing,
3
+ lineHeights = _ref.lineHeights;
3
4
  return {
4
5
  plan: {
5
6
  title: {
6
7
  margin: {
7
- bottom: spacing.xxxsmall
8
- }
8
+ bottom: spacing.xxsmall
9
+ },
10
+ lineHeight: lineHeights.medium
9
11
  },
10
12
  price: {
11
13
  margin: {
12
- bottom: spacing.xlarge
14
+ bottom: spacing.large
13
15
  }
14
16
  },
15
17
  list: {
16
18
  margin: {
17
- top: spacing.small
19
+ top: spacing.large
18
20
  },
19
21
  item: {
20
22
  icon: {
@@ -31,7 +33,7 @@ var CardWeb = function CardWeb(_ref) {
31
33
  }
32
34
  },
33
35
  margin: {
34
- top: spacing.xlarge
36
+ top: spacing.xxsmall
35
37
  }
36
38
  }
37
39
  }