@coorpacademy/components 10.4.7 → 10.5.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 (247) hide show
  1. package/es/atom/autocomplete/style.css +4 -4
  2. package/es/atom/button/style.css +1 -1
  3. package/es/atom/catalog-section/style.css +1 -1
  4. package/es/atom/clue/style.css +2 -2
  5. package/es/atom/cta/style.css +1 -1
  6. package/es/atom/difficulty-level/style.css +1 -1
  7. package/es/atom/drag-and-drop/style.css +6 -5
  8. package/es/atom/input-checkbox/style.css +1 -1
  9. package/es/atom/input-doublestep/style.css +5 -5
  10. package/es/atom/input-html/input-preview.css +2 -2
  11. package/es/atom/input-html/style.css +2 -2
  12. package/es/atom/input-readonly/style.css +3 -3
  13. package/es/atom/input-search/style.css +1 -1
  14. package/es/atom/input-switch/style.css +2 -2
  15. package/es/atom/input-text/style.css +5 -5
  16. package/es/atom/input-textarea/style.css +5 -5
  17. package/es/atom/life/style.css +1 -1
  18. package/es/atom/notification/style.css +1 -1
  19. package/es/atom/radio-group/item.css +1 -1
  20. package/es/atom/resource-miniature/style.css +1 -1
  21. package/es/atom/select/style.css +7 -7
  22. package/es/atom/slide/style.css +1 -1
  23. package/es/molecule/add-to-my-list/style.css +3 -3
  24. package/es/molecule/audio/style.css +1 -1
  25. package/es/molecule/battle-request/style.css +4 -4
  26. package/es/molecule/brand-card/description.css +1 -1
  27. package/es/molecule/brand-card/style.css +2 -2
  28. package/es/molecule/brand-card-create/style.css +1 -1
  29. package/es/molecule/brand-create-form/style.css +6 -6
  30. package/es/molecule/brand-download-box/style.css +2 -2
  31. package/es/molecule/brand-tabs/style.css +1 -1
  32. package/es/molecule/brand-upload-box/style.css +2 -2
  33. package/es/molecule/breadcrumbs/style.css +3 -3
  34. package/es/molecule/card/customer.css +1 -1
  35. package/es/molecule/card/favorite.css +1 -1
  36. package/es/molecule/card/notification.css +1 -1
  37. package/es/molecule/card/style.css +1 -1
  38. package/es/molecule/card/test/fixtures.js +2 -0
  39. package/es/molecule/card/test/fixtures.js.map +1 -1
  40. package/es/molecule/card-content/style.css +4 -4
  41. package/es/molecule/card-with-button/style.css +2 -2
  42. package/es/molecule/cookie-banner/style.css +2 -2
  43. package/es/molecule/dashboard/cards-list/style.css +2 -2
  44. package/es/molecule/dashboard/news-list/style.css +2 -2
  45. package/es/molecule/dashboard/start-battle/style.css +4 -4
  46. package/es/molecule/discipline-cta/style.css +2 -2
  47. package/es/molecule/discipline-header/style.css +4 -4
  48. package/es/molecule/discipline-partners/style.css +2 -2
  49. package/es/molecule/drag-and-drop/common.css +1 -1
  50. package/es/molecule/drag-and-drop/overlay.css +1 -1
  51. package/es/molecule/drag-and-drop/style.css +1 -1
  52. package/es/molecule/drag-and-drop/upload-report.css +4 -4
  53. package/es/molecule/external-content-button/style.css +2 -2
  54. package/es/molecule/feedback/style.css +3 -3
  55. package/es/molecule/filters/filters-wapper.css +2 -2
  56. package/es/molecule/filters/style.css +2 -2
  57. package/es/molecule/forum/forum-comment/style.css +1 -1
  58. package/es/molecule/forum/forum-post/style.css +5 -5
  59. package/es/molecule/menu-list/style.css +1 -1
  60. package/es/molecule/message-popin/style.css +2 -2
  61. package/es/molecule/modal/style.css +2 -2
  62. package/es/molecule/module-card/style.css +2 -2
  63. package/es/molecule/news/style.css +3 -3
  64. package/es/molecule/notification-banner/style.css +3 -3
  65. package/es/molecule/pagination/style.css +1 -1
  66. package/es/molecule/payment-form/index.js +2 -2
  67. package/es/molecule/payment-form/index.js.map +1 -1
  68. package/es/molecule/pdf/style.css +2 -2
  69. package/es/molecule/popin/style.css +2 -2
  70. package/es/molecule/progress-bar/style.css +1 -1
  71. package/es/molecule/questions/free-text/style.css +1 -1
  72. package/es/molecule/questions/qcm/style.css +1 -1
  73. package/es/molecule/questions/qcm-drag/style.css +2 -2
  74. package/es/molecule/questions/qcm-graphic/style.css +1 -1
  75. package/es/molecule/questions/question-range/style.css +2 -2
  76. package/es/molecule/questions/template/style.css +1 -1
  77. package/es/molecule/resource-player/style.css +1 -1
  78. package/es/molecule/scope-content/style.css +6 -6
  79. package/es/molecule/scope-tabs/style.css +1 -1
  80. package/es/molecule/select-multiple/style.css +2 -2
  81. package/es/molecule/setup-cohort-item/style.css +1 -1
  82. package/es/molecule/setup-section/style.css +2 -2
  83. package/es/molecule/setup-sections/style.css +1 -1
  84. package/es/molecule/share/style.css +3 -3
  85. package/es/molecule/ssmenu-list/style.css +1 -1
  86. package/es/molecule/table/style.css +5 -5
  87. package/es/molecule/teams-popin/style.css +2 -2
  88. package/es/molecule/titled-checkbox/style.css +1 -1
  89. package/es/molecule/video-player/jwplayer.css +1 -1
  90. package/es/organism/accordion/part/style.css +1 -1
  91. package/es/organism/brand-analytics/analytics-popin.css +1 -0
  92. package/es/organism/brand-analytics/style.css +1 -1
  93. package/es/organism/brand-table/style.css +2 -2
  94. package/es/organism/brand-upload/style.css +2 -2
  95. package/es/organism/discussion/style.css +1 -1
  96. package/es/organism/get-the-app/style.css +1 -1
  97. package/es/organism/hero/style.css +1 -1
  98. package/es/organism/mooc-footer/style.css +2 -2
  99. package/es/organism/mooc-header/style.css +8 -8
  100. package/es/organism/playlist-translation/test/fixtures.js +15 -0
  101. package/es/organism/playlist-translation/test/fixtures.js.map +1 -0
  102. package/es/organism/popin/style.css +1 -0
  103. package/es/organism/sidebar/style.css +2 -2
  104. package/es/organism/user-preferences/style.css +1 -1
  105. package/es/template/activity/engine-stars.css +3 -3
  106. package/es/template/activity/progression-item.css +5 -4
  107. package/es/template/activity/stars-summary.css +2 -2
  108. package/es/template/activity/style.css +3 -3
  109. package/es/template/app-player/player/slides/footer/style.css +1 -1
  110. package/es/template/app-player/player/slides/header/learner.css +4 -4
  111. package/es/template/app-player/player/slides/header/microlearning.css +1 -1
  112. package/es/template/app-player/player/slides/style.css +9 -8
  113. package/es/template/app-player/popin-correction/style.css +3 -3
  114. package/es/template/app-player/popin-end/summary.css +4 -4
  115. package/es/template/app-player/popin-header/style.css +5 -5
  116. package/es/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  117. package/es/template/back-office/dashboard-preview/style.css +1 -1
  118. package/es/template/cockpit/jw-uploader/style.css +1 -0
  119. package/es/template/common/authors/style.css +5 -4
  120. package/es/template/common/layout.css +1 -1
  121. package/es/template/common/search-page/style.css +2 -1
  122. package/es/template/external-course/style.css +1 -1
  123. package/es/variables/fonts.css +1 -1
  124. package/lib/atom/autocomplete/style.css +4 -4
  125. package/lib/atom/button/style.css +1 -1
  126. package/lib/atom/catalog-section/style.css +1 -1
  127. package/lib/atom/clue/style.css +2 -2
  128. package/lib/atom/cta/style.css +1 -1
  129. package/lib/atom/difficulty-level/style.css +1 -1
  130. package/lib/atom/drag-and-drop/style.css +6 -5
  131. package/lib/atom/input-checkbox/style.css +1 -1
  132. package/lib/atom/input-doublestep/style.css +5 -5
  133. package/lib/atom/input-html/input-preview.css +2 -2
  134. package/lib/atom/input-html/style.css +2 -2
  135. package/lib/atom/input-readonly/style.css +3 -3
  136. package/lib/atom/input-search/style.css +1 -1
  137. package/lib/atom/input-switch/style.css +2 -2
  138. package/lib/atom/input-text/style.css +5 -5
  139. package/lib/atom/input-textarea/style.css +5 -5
  140. package/lib/atom/life/style.css +1 -1
  141. package/lib/atom/notification/style.css +1 -1
  142. package/lib/atom/radio-group/item.css +1 -1
  143. package/lib/atom/resource-miniature/style.css +1 -1
  144. package/lib/atom/select/style.css +7 -7
  145. package/lib/atom/slide/style.css +1 -1
  146. package/lib/molecule/add-to-my-list/style.css +3 -3
  147. package/lib/molecule/audio/style.css +1 -1
  148. package/lib/molecule/battle-request/style.css +4 -4
  149. package/lib/molecule/brand-card/description.css +1 -1
  150. package/lib/molecule/brand-card/style.css +2 -2
  151. package/lib/molecule/brand-card-create/style.css +1 -1
  152. package/lib/molecule/brand-create-form/style.css +6 -6
  153. package/lib/molecule/brand-download-box/style.css +2 -2
  154. package/lib/molecule/brand-tabs/style.css +1 -1
  155. package/lib/molecule/brand-upload-box/style.css +2 -2
  156. package/lib/molecule/breadcrumbs/style.css +3 -3
  157. package/lib/molecule/card/customer.css +1 -1
  158. package/lib/molecule/card/favorite.css +1 -1
  159. package/lib/molecule/card/notification.css +1 -1
  160. package/lib/molecule/card/style.css +1 -1
  161. package/lib/molecule/card/test/fixtures.js +3 -0
  162. package/lib/molecule/card/test/fixtures.js.map +1 -1
  163. package/lib/molecule/card-content/style.css +4 -4
  164. package/lib/molecule/card-with-button/style.css +2 -2
  165. package/lib/molecule/cookie-banner/style.css +2 -2
  166. package/lib/molecule/dashboard/cards-list/style.css +2 -2
  167. package/lib/molecule/dashboard/news-list/style.css +2 -2
  168. package/lib/molecule/dashboard/start-battle/style.css +4 -4
  169. package/lib/molecule/discipline-cta/style.css +2 -2
  170. package/lib/molecule/discipline-header/style.css +4 -4
  171. package/lib/molecule/discipline-partners/style.css +2 -2
  172. package/lib/molecule/drag-and-drop/common.css +1 -1
  173. package/lib/molecule/drag-and-drop/overlay.css +1 -1
  174. package/lib/molecule/drag-and-drop/style.css +1 -1
  175. package/lib/molecule/drag-and-drop/upload-report.css +4 -4
  176. package/lib/molecule/external-content-button/style.css +2 -2
  177. package/lib/molecule/feedback/style.css +3 -3
  178. package/lib/molecule/filters/filters-wapper.css +2 -2
  179. package/lib/molecule/filters/style.css +2 -2
  180. package/lib/molecule/forum/forum-comment/style.css +1 -1
  181. package/lib/molecule/forum/forum-post/style.css +5 -5
  182. package/lib/molecule/menu-list/style.css +1 -1
  183. package/lib/molecule/message-popin/style.css +2 -2
  184. package/lib/molecule/modal/style.css +2 -2
  185. package/lib/molecule/module-card/style.css +2 -2
  186. package/lib/molecule/news/style.css +3 -3
  187. package/lib/molecule/notification-banner/style.css +3 -3
  188. package/lib/molecule/pagination/style.css +1 -1
  189. package/lib/molecule/payment-form/index.js +2 -2
  190. package/lib/molecule/payment-form/index.js.map +1 -1
  191. package/lib/molecule/pdf/style.css +2 -2
  192. package/lib/molecule/popin/style.css +2 -2
  193. package/lib/molecule/progress-bar/style.css +1 -1
  194. package/lib/molecule/questions/free-text/style.css +1 -1
  195. package/lib/molecule/questions/qcm/style.css +1 -1
  196. package/lib/molecule/questions/qcm-drag/style.css +2 -2
  197. package/lib/molecule/questions/qcm-graphic/style.css +1 -1
  198. package/lib/molecule/questions/question-range/style.css +2 -2
  199. package/lib/molecule/questions/template/style.css +1 -1
  200. package/lib/molecule/resource-player/style.css +1 -1
  201. package/lib/molecule/scope-content/style.css +6 -6
  202. package/lib/molecule/scope-tabs/style.css +1 -1
  203. package/lib/molecule/select-multiple/style.css +2 -2
  204. package/lib/molecule/setup-cohort-item/style.css +1 -1
  205. package/lib/molecule/setup-section/style.css +2 -2
  206. package/lib/molecule/setup-sections/style.css +1 -1
  207. package/lib/molecule/share/style.css +3 -3
  208. package/lib/molecule/ssmenu-list/style.css +1 -1
  209. package/lib/molecule/table/style.css +5 -5
  210. package/lib/molecule/teams-popin/style.css +2 -2
  211. package/lib/molecule/titled-checkbox/style.css +1 -1
  212. package/lib/molecule/video-player/jwplayer.css +1 -1
  213. package/lib/organism/accordion/part/style.css +1 -1
  214. package/lib/organism/brand-analytics/analytics-popin.css +1 -0
  215. package/lib/organism/brand-analytics/style.css +1 -1
  216. package/lib/organism/brand-table/style.css +2 -2
  217. package/lib/organism/brand-upload/style.css +2 -2
  218. package/lib/organism/discussion/style.css +1 -1
  219. package/lib/organism/get-the-app/style.css +1 -1
  220. package/lib/organism/hero/style.css +1 -1
  221. package/lib/organism/mooc-footer/style.css +2 -2
  222. package/lib/organism/mooc-header/style.css +8 -8
  223. package/lib/organism/playlist-translation/test/fixtures.js +25 -0
  224. package/lib/organism/playlist-translation/test/fixtures.js.map +1 -0
  225. package/lib/organism/popin/style.css +1 -0
  226. package/lib/organism/sidebar/style.css +2 -2
  227. package/lib/organism/user-preferences/style.css +1 -1
  228. package/lib/template/activity/engine-stars.css +3 -3
  229. package/lib/template/activity/progression-item.css +5 -4
  230. package/lib/template/activity/stars-summary.css +2 -2
  231. package/lib/template/activity/style.css +3 -3
  232. package/lib/template/app-player/player/slides/footer/style.css +1 -1
  233. package/lib/template/app-player/player/slides/header/learner.css +4 -4
  234. package/lib/template/app-player/player/slides/header/microlearning.css +1 -1
  235. package/lib/template/app-player/player/slides/style.css +9 -8
  236. package/lib/template/app-player/popin-correction/style.css +3 -3
  237. package/lib/template/app-player/popin-end/summary.css +4 -4
  238. package/lib/template/app-player/popin-header/style.css +5 -5
  239. package/lib/template/back-office/dashboard-preview/dashboard-popin.css +1 -0
  240. package/lib/template/back-office/dashboard-preview/style.css +1 -1
  241. package/lib/template/cockpit/jw-uploader/style.css +1 -0
  242. package/lib/template/common/authors/style.css +5 -4
  243. package/lib/template/common/layout.css +1 -1
  244. package/lib/template/common/search-page/style.css +2 -1
  245. package/lib/template/external-course/style.css +1 -1
  246. package/lib/variables/fonts.css +1 -1
  247. package/package.json +2 -2
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .microLearninglabel {
51
- font-family: 'Open Sans';
51
+ font-family: 'Gilroy';
52
52
  font-size: 10px;
53
53
  font-weight: 800;
54
54
  color: lightBlack;
@@ -74,7 +74,7 @@
74
74
  margin-top: 5px;
75
75
  font-size: 17px;
76
76
  letter-spacing: 0;
77
- font-family: 'Open Sans';
77
+ font-family: 'Gilroy';
78
78
  overflow: hidden;
79
79
  user-select: none;
80
80
  }
@@ -103,7 +103,7 @@
103
103
  align-items: center;
104
104
  font-size: 12px;
105
105
  width: 100%;
106
- font-family: 'Open Sans';
106
+ font-family: 'Gilroy';
107
107
  white-space: nowrap;
108
108
  overflow: hidden;
109
109
  text-overflow: ellipsis;
@@ -231,7 +231,7 @@
231
231
  }
232
232
 
233
233
  .contentTypeInfo {
234
- font-family: 'Open Sans';
234
+ font-family: 'Gilroy';
235
235
  font-size: 10px;
236
236
  font-weight: 700;
237
237
  }
@@ -105,7 +105,7 @@
105
105
  .lightButton{
106
106
  display: inline-block;
107
107
  box-sizing: border-box;
108
- font-family: 'Open Sans';
108
+ font-family: 'Gilroy';
109
109
  font-size: 13px;
110
110
  font-weight: 600;
111
111
  text-decoration: none;
@@ -129,7 +129,7 @@
129
129
 
130
130
  .level {
131
131
  text-align: center;
132
- font-family: 'Open Sans';
132
+ font-family: 'Gilroy';
133
133
  border: solid 1px #ffffff;
134
134
  color: white;
135
135
  padding: 0px 15px;
@@ -25,7 +25,7 @@
25
25
  display: flex;
26
26
  align-items: center;
27
27
  position: fixed;
28
- font-family: 'Open Sans';
28
+ font-family: 'Gilroy';
29
29
  top: 0;
30
30
  left: 0;
31
31
  right: 0;
@@ -49,7 +49,7 @@
49
49
  }
50
50
 
51
51
  .link {
52
- font-family: 'Open Sans';
52
+ font-family: 'Gilroy';
53
53
  font-weight: 600;
54
54
  font-size: 15px;
55
55
  text-decoration: none;
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  .title {
41
- font-family: 'Open Sans';
41
+ font-family: 'Gilroy';
42
42
  font-size: 19px;
43
43
  line-height: 20px;
44
44
  font-weight: 600;
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .showMore {
61
- font-family: 'Open Sans';
61
+ font-family: 'Gilroy';
62
62
  font-size: 14px;
63
63
  line-height: 20px;
64
64
  font-weight: bold;
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  .title {
23
- font-family: 'Open Sans';
23
+ font-family: 'Gilroy';
24
24
  font-size: 19px;
25
25
  font-weight: 600;
26
26
  color: dark;
@@ -35,7 +35,7 @@
35
35
  .more {
36
36
  width: 100%;
37
37
  background-color: xtraLightGrey;
38
- font-family: 'Open Sans';
38
+ font-family: 'Gilroy';
39
39
  font-weight: 600;
40
40
  color: medium;
41
41
  font-size: 17px;
@@ -135,7 +135,7 @@
135
135
  }
136
136
 
137
137
  .becomeText {
138
- font-family: Open Sans;
138
+ font-family: Gilroy;
139
139
  font-size: 24px;
140
140
  font-weight: normal;
141
141
  font-stretch: normal;
@@ -146,7 +146,7 @@
146
146
  }
147
147
 
148
148
  .challengeText {
149
- font-family: Open Sans;
149
+ font-family: Gilroy;
150
150
  font-size: 32px;
151
151
  font-weight: bold;
152
152
  font-stretch: normal;
@@ -164,7 +164,7 @@
164
164
  margin: 10px;
165
165
  background-color: battle;
166
166
  flex-grow: 0;
167
- font-family: Open Sans;
167
+ font-family: Gilroy;
168
168
  font-size: 16px;
169
169
  font-weight: bold;
170
170
  font-stretch: normal;
@@ -278,7 +278,7 @@
278
278
  }
279
279
 
280
280
  .challengeText {
281
- font-family: Open Sans;
281
+ font-family: Gilroy;
282
282
  font-size: 28px;
283
283
  padding-bottom: 20px;
284
284
  }
@@ -15,7 +15,7 @@
15
15
  display: block;
16
16
  text-transform: uppercase;
17
17
  color: white;
18
- font-family: "Open Sans";
18
+ font-family: "Gilroy";
19
19
  font-weight: 600;
20
20
  font-size: 13px;
21
21
  text-decoration: none;
@@ -31,7 +31,7 @@
31
31
  }
32
32
 
33
33
  .head a span span {
34
- font-family: "Open Sans";
34
+ font-family: "Gilroy";
35
35
  font-weight: 800;
36
36
  }
37
37
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  .title {
40
40
  display: block;
41
- font-family: "Open Sans";
41
+ font-family: "Gilroy";
42
42
  font-weight: 700;
43
43
  font-size: 20px;
44
44
  margin-bottom: 16px;
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  .desc {
49
- font-family: "Open Sans";
49
+ font-family: "Gilroy";
50
50
  font-size: 15px;
51
51
  color: black;
52
52
  letter-spacing: 0;
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  .desc a {
57
- font-family: Open Sans;
57
+ font-family: Gilroy;
58
58
  font-weight: 600;
59
59
  color: brand;
60
60
  text-decoration: none;
@@ -75,7 +75,7 @@
75
75
  transition: all time ease-in-out;
76
76
  cursor: pointer;
77
77
  order: 1;
78
- font-family: Open Sans;
78
+ font-family: Gilroy;
79
79
  font-weight: bold;
80
80
  text-align: left;
81
81
  color: brand;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .authorLink a {
17
- font-family: 'Open Sans';
17
+ font-family: 'Gilroy';
18
18
  font-weight: 600;
19
19
  text-decoration: none;
20
20
  font-size: 12px;
@@ -40,7 +40,7 @@
40
40
  }
41
41
 
42
42
  .authorName {
43
- font-family: 'Open Sans';
43
+ font-family: 'Gilroy';
44
44
  font-size: 14px;
45
45
  font-weight: 600;
46
46
  color: dark;
@@ -17,5 +17,5 @@
17
17
  .baseText {
18
18
  text-transform: none;
19
19
  color: dark;
20
- font-family: 'Open Sans';
20
+ font-family: 'Gilroy';
21
21
  }
@@ -18,7 +18,7 @@
18
18
  justify-content: center;
19
19
  text-transform: none;
20
20
  color: dark;
21
- font-family: 'Open Sans';
21
+ font-family: 'Gilroy';
22
22
  font-size: 16px;
23
23
  font-weight: bold;
24
24
  }
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .back {
20
- font-family: 'Open Sans';
20
+ font-family: 'Gilroy';
21
21
  font-size: 16px;
22
22
  color: dark;
23
23
  cursor: pointer;
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .or {
54
- font-family: 'Open Sans';
54
+ font-family: 'Gilroy';
55
55
  color: #797979;
56
56
  }
57
57
 
@@ -75,7 +75,7 @@
75
75
 
76
76
  .fileName {
77
77
  margin-left: 15px;
78
- font-family: 'Open Sans';
78
+ font-family: 'Gilroy';
79
79
  font-size: 16px;
80
80
  font-weight: bold;
81
81
  color: dark;
@@ -160,7 +160,7 @@
160
160
  }
161
161
 
162
162
  .message {
163
- font-family: 'Open Sans';
163
+ font-family: 'Gilroy';
164
164
  font-size: 16px;
165
165
  font-weight: bold;
166
166
  color: dark;
@@ -205,7 +205,7 @@
205
205
  display: block;
206
206
  word-wrap: break-word;
207
207
  padding: 3px 10px 5px;
208
- font-family: "Open Sans";
208
+ font-family: "Gilroy";
209
209
  font-size: 12px;
210
210
  font-weight: bold;
211
211
  }
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  .title {
45
- font-family: 'Open Sans';
45
+ font-family: 'Gilroy';
46
46
  font-size: 17px;
47
47
  font-weight: bold;
48
48
  color: black;
@@ -50,7 +50,7 @@
50
50
  }
51
51
 
52
52
  .description {
53
- font-family: 'Open Sans';
53
+ font-family: 'Gilroy';
54
54
  font-size: 14px;
55
55
  color: dark;
56
56
  padding: 0 16px 0 16px;
@@ -22,7 +22,7 @@
22
22
  .title {
23
23
  width: 100%;
24
24
  margin-bottom: 20px;
25
- font-family: 'Open Sans';
25
+ font-family: 'Gilroy';
26
26
  font-size: 25px;
27
27
  font-weight: bold;
28
28
  text-align: left;
@@ -38,7 +38,7 @@
38
38
  .description {
39
39
  width: 476px;
40
40
  margin-right: 32px;
41
- font-family: 'Open Sans';
41
+ font-family: 'Gilroy';
42
42
  font-size: 13px;
43
43
  letter-spacing: -0.1px;
44
44
  text-align: left;
@@ -47,7 +47,7 @@
47
47
 
48
48
  .mediaDescription {
49
49
  width: 341px;
50
- font-family: 'Open Sans';
50
+ font-family: 'Gilroy';
51
51
  font-size: 12px;
52
52
  padding-top: 4px;
53
53
  color: medium;
@@ -41,7 +41,7 @@
41
41
  margin: 0;
42
42
  margin-bottom: 10px;
43
43
  display: block;
44
- font-family: "Open Sans";
44
+ font-family: "Gilroy";
45
45
  font-size: 15px;
46
46
  font-weight: 700;
47
47
  text-transform: none;
@@ -53,7 +53,7 @@
53
53
  border-radius: 25px;
54
54
  color: dark;
55
55
  display: table;
56
- font-family: "Open Sans";
56
+ font-family: "Gilroy";
57
57
  font-size: 14px;
58
58
  font-weight: 400;
59
59
  margin: 0 auto;
@@ -14,7 +14,7 @@
14
14
  width: 100%;
15
15
  position: relative;
16
16
  z-index: 4;
17
- font-family: "Open Sans";
17
+ font-family: "Gilroy";
18
18
  background: xtraLightGrey;
19
19
  min-height: 50px;
20
20
  box-sizing: border-box;
@@ -58,7 +58,7 @@
58
58
  font-weight: 600;
59
59
  line-height: 50px;
60
60
  text-align: center;
61
- font-family: Open Sans;
61
+ font-family: Gilroy;
62
62
  position: relative;
63
63
  cursor: pointer;
64
64
  }
@@ -61,7 +61,7 @@
61
61
  border-radius: 3px;
62
62
  background-color: white;
63
63
  font-size: 14px;
64
- font-family: 'Open Sans';
64
+ font-family: 'Gilroy';
65
65
  white-space: pre-wrap;
66
66
  word-wrap: break-word;
67
67
  box-shadow: none;
@@ -61,12 +61,12 @@
61
61
  }
62
62
 
63
63
  .content {
64
- font-family: 'Open Sans';
64
+ font-family: 'Gilroy';
65
65
  width: 100%;
66
66
  }
67
67
 
68
68
  .author {
69
- font-family: Open Sans;
69
+ font-family: Gilroy;
70
70
  font-size: 13px;
71
71
  font-weight: bold;
72
72
  text-align: center;
@@ -77,7 +77,7 @@
77
77
 
78
78
  .date {
79
79
  color: color(medium lightness(80%));
80
- font-family: Open Sans;
80
+ font-family: Gilroy;
81
81
  font-size: 13px;
82
82
  padding-bottom: 8px;
83
83
  display: block;
@@ -95,7 +95,7 @@
95
95
  text-align: left;
96
96
  white-space: pre-wrap;
97
97
  word-wrap: break-word;
98
- font-family: Open Sans;
98
+ font-family: Gilroy;
99
99
  color: black;
100
100
  padding-bottom: 8px;
101
101
  display: block;
@@ -112,7 +112,7 @@
112
112
  transition: all time ease-in-out;
113
113
  cursor: pointer;
114
114
  order: 1;
115
- font-family: Open Sans;
115
+ font-family: Gilroy;
116
116
  font-weight: bold;
117
117
  text-align: left;
118
118
  color: brand;
@@ -52,7 +52,7 @@
52
52
  }
53
53
 
54
54
  .item > a {
55
- font-family: Open Sans;
55
+ font-family: Gilroy;
56
56
  font-size: 12px;
57
57
  color: dark;
58
58
  text-decoration: none;
@@ -27,7 +27,7 @@
27
27
  }
28
28
 
29
29
  .header {
30
- font-family: 'Open Sans';
30
+ font-family: 'Gilroy';
31
31
  font-size: 17px;
32
32
  font-weight: 700;
33
33
  color: dark;
@@ -41,7 +41,7 @@
41
41
  }
42
42
 
43
43
  .content {
44
- font-family: 'Open Sans';
44
+ font-family: 'Gilroy';
45
45
  font-size: 13px;
46
46
  font-weight: 400;
47
47
  color: dark;
@@ -12,7 +12,7 @@
12
12
 
13
13
  .modalWrapper {
14
14
  display: flex;
15
- font-family: "Open Sans";
15
+ font-family: "Gilroy";
16
16
  margin: auto;
17
17
  justify-content: center;
18
18
  align-items: center;
@@ -142,7 +142,7 @@
142
142
  }
143
143
 
144
144
  .choiceDescription {
145
- font-family: "Open Sans";
145
+ font-family: "Gilroy";
146
146
  display: flex;
147
147
  flex-direction: column;
148
148
  justify-content: center;
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .title {
29
- font-family: 'Open Sans';
29
+ font-family: 'Gilroy';
30
30
  font-size: 15px;
31
31
  font-weight: 700;
32
32
  color: black;
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  .level {
37
- font-family: 'Open Sans';
37
+ font-family: 'Gilroy';
38
38
  color: white;
39
39
  background-color: dark;
40
40
  text-transform: uppercase;
@@ -47,7 +47,7 @@
47
47
  }
48
48
 
49
49
  .title {
50
- font-family: 'Open Sans';
50
+ font-family: 'Gilroy';
51
51
  font-size: 19px;
52
52
  font-weight: 700;
53
53
  color: dark;
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  .date {
62
- font-family: 'Open Sans';
62
+ font-family: 'Gilroy';
63
63
  font-size: 14px;
64
64
  font-weight: 500;
65
65
  color: medium;
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  .description {
70
- font-family: 'Open Sans';
70
+ font-family: 'Gilroy';
71
71
  width: 100%;
72
72
  font-size: 17px;
73
73
  line-height: 20px;
@@ -25,7 +25,7 @@
25
25
  display: flex;
26
26
  align-items: center;
27
27
  position: fixed;
28
- font-family: 'Open Sans';
28
+ font-family: 'Gilroy';
29
29
  top: 0;
30
30
  left: 0;
31
31
  right: 0;
@@ -82,7 +82,7 @@
82
82
 
83
83
  .title {
84
84
  height: 15px;
85
- font-family: 'Open Sans';
85
+ font-family: 'Gilroy';
86
86
  font-size: 11px;
87
87
  font-weight: bold;
88
88
  font-stretch: normal;
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  .message {
95
- font-family: 'Open Sans';
95
+ font-family: 'Gilroy';
96
96
  font-size: 14px;
97
97
  font-weight: bold;
98
98
  font-stretch: normal;
@@ -12,7 +12,7 @@
12
12
 
13
13
  .value {
14
14
  display: inline-block;
15
- font-family: 'Open Sans';
15
+ font-family: 'Gilroy';
16
16
  font-size: 15px;
17
17
  font-weight: 600;
18
18
  color: dark;
@@ -34,11 +34,11 @@ class PaymentForm extends _react.default.Component {
34
34
  iconStyle: 'solid',
35
35
  color: '#546E7A',
36
36
  fontSize: '16px',
37
- fontFamily: '"Open Sans"',
37
+ fontFamily: 'Gilroy',
38
38
  '::placeholder': {
39
39
  color: '#546E7A',
40
40
  fontSize: '16px',
41
- fontFamily: '"Open Sans"'
41
+ fontFamily: 'Gilroy'
42
42
  }
43
43
  }
44
44
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/molecule/payment-form/index.js"],"names":["PaymentForm","React","Component","constructor","props","stripe","stripeInstance","stripeKeyPublic","handleCardNumberChange","bind","handleCardExpiryChange","handleCardCvcChange","handleSubmit","componentDidMount","elements","elementOptions","style","base","iconStyle","color","fontSize","fontFamily","cardNumber","create","cardExpiry","cardCvc","mount","on","componentWillUnmount","cardNumer","unmount","off","onSubscription","createToken","then","response","error","onCardNumberChange","onCardExpiryChange","onCardCvcChange","render","checkImage","cardsImage","cardOwnerEmail","securedPaymentImage","errors","warning","submitButtonEnabled","cardNumberHasError","cardExpiryHasError","cardCvcHasError","translate","context","paymentForm","acceptedCards","acceptedCardsCheck","acceptedCardsText","acceptedCardsImage","creditCardOwnerEmail","creditCardOwnerEmailSeparator","creditCardOwnerEmailText","paymentErrors","paymentWarning","securedPayment","securedPaymentText","cardBlock","invalidElement","subscriptionDisclaimer","subscribeButtonContainer","subscribeButton","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","func","bool"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WA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,MAAA,SAAS,EAAEpD,eAAMqD,eADnB;AAEE,MAAA,IAAI,EAAC,QAFP;AAGE,MAAA,OAAO,EAAE,KAAKzD,YAHhB;AAIE,MAAA,QAAQ,EAAE,CAACmC;AAJb,OAMGI,SAAS,CAAC,qBAAD,CANZ,CADF,CAlCF,CADF;AA+CD;;AAzKuC;;gBAApCnD,W,kBAoBkB;AACpBmD,EAAAA,SAAS,EAAEmB,kBAASC,iBAAT,CAA2BpB;AADlB,C;;AApBlBnD,W,CACGwE,S,2CAAY;AACjBjE,EAAAA,eAAe,EAAEkE,mBAAUC,MAAV,CAAiBC,UADjB;AAEjBrE,EAAAA,cAAc,EAAEmE,mBAAUG,IAAV,CAAeD,UAFd;AAGjB3C,EAAAA,cAAc,EAAEyC,mBAAUG,IAAV,CAAeD,UAHd;AAIjBlC,EAAAA,UAAU,EAAEgC,mBAAUC,MAAV,CAAiBC,UAJZ;AAKjBjC,EAAAA,UAAU,EAAE+B,mBAAUC,MAAV,CAAiBC,UALZ;AAMjBhC,EAAAA,cAAc,EAAE8B,mBAAUC,MANT;AAOjB9B,EAAAA,mBAAmB,EAAE6B,mBAAUC,MAPd;AAQjB7B,EAAAA,MAAM,EAAE4B,mBAAUC,MARD;AASjB5B,EAAAA,OAAO,EAAE2B,mBAAUC,MATF;AAUjBrC,EAAAA,kBAAkB,EAAEoC,mBAAUG,IAVb;AAWjB5B,EAAAA,kBAAkB,EAAEyB,mBAAUI,IAXb;AAYjBvC,EAAAA,kBAAkB,EAAEmC,mBAAUG,IAZb;AAajB3B,EAAAA,kBAAkB,EAAEwB,mBAAUI,IAbb;AAcjBtC,EAAAA,eAAe,EAAEkC,mBAAUG,IAdV;AAejB1B,EAAAA,eAAe,EAAEuB,mBAAUI,IAfV;AAgBjB9B,EAAAA,mBAAmB,EAAE0B,mBAAUI;AAhBd,C;eA2KN7E,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nclass PaymentForm extends React.Component {\n static propTypes = {\n stripeKeyPublic: PropTypes.string.isRequired,\n stripeInstance: PropTypes.func.isRequired,\n onSubscription: PropTypes.func.isRequired,\n checkImage: PropTypes.string.isRequired,\n cardsImage: PropTypes.string.isRequired,\n cardOwnerEmail: PropTypes.string,\n securedPaymentImage: PropTypes.string,\n errors: PropTypes.string,\n warning: PropTypes.string,\n onCardNumberChange: PropTypes.func,\n cardNumberHasError: PropTypes.bool,\n onCardExpiryChange: PropTypes.func,\n cardExpiryHasError: PropTypes.bool,\n onCardCvcChange: PropTypes.func,\n cardCvcHasError: PropTypes.bool,\n submitButtonEnabled: PropTypes.bool\n };\n\n static contextTypes = {\n translate: Provider.childContextTypes.translate\n };\n\n constructor(props) {\n super(props);\n this.stripe = props.stripeInstance ? props.stripeInstance(props.stripeKeyPublic) : null;\n this.handleCardNumberChange = this.handleCardNumberChange.bind(this);\n this.handleCardExpiryChange = this.handleCardExpiryChange.bind(this);\n this.handleCardCvcChange = this.handleCardCvcChange.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n componentDidMount() {\n if (this.stripe) {\n const elements = this.stripe.elements();\n\n const elementOptions = {\n style: {\n base: {\n iconStyle: 'solid',\n color: '#546E7A',\n fontSize: '16px',\n fontFamily: '\"Open Sans\"',\n '::placeholder': {\n color: '#546E7A',\n fontSize: '16px',\n fontFamily: '\"Open Sans\"'\n }\n }\n }\n };\n\n this.cardNumber = elements.create('cardNumber', elementOptions);\n this.cardExpiry = elements.create('cardExpiry', elementOptions);\n this.cardCvc = elements.create('cardCvc', elementOptions);\n\n this.cardNumber.mount('#card-number');\n this.cardExpiry.mount('#card-expiry');\n this.cardCvc.mount('#card-cvc');\n\n this.cardNumber.on('change', this.handleCardNumberChange);\n this.cardExpiry.on('change', this.handleCardExpiryChange);\n this.cardCvc.on('change', this.handleCardCvcChange);\n }\n }\n\n componentWillUnmount() {\n if (this.cardNumer) {\n this.cardNumber.unmount();\n this.cardNumber.off('change', this.handleCardNumberChange);\n }\n if (this.cardExpiry) {\n this.cardExpiry.unmount();\n this.cardExpiry.off('change', this.handleCardExpiryChange);\n }\n if (this.cardCvc) {\n this.cardCvc.unmount();\n this.cardCvc.off('change', this.handleCardCvcChange);\n }\n }\n\n handleSubmit() {\n const {onSubscription} = this.props;\n if (this.stripe) {\n return this.stripe.createToken(this.cardNumber).then(response => {\n return onSubscription(response);\n });\n }\n }\n\n handleCardNumberChange({error}) {\n const {onCardNumberChange = () => {}} = this.props;\n onCardNumberChange(error);\n }\n\n handleCardExpiryChange({error}) {\n const {onCardExpiryChange = () => {}} = this.props;\n onCardExpiryChange(error);\n }\n\n handleCardCvcChange({error}) {\n const {onCardCvcChange = () => {}} = this.props;\n onCardCvcChange(error);\n }\n\n render() {\n const {\n checkImage,\n cardsImage,\n cardOwnerEmail,\n securedPaymentImage,\n errors,\n warning,\n submitButtonEnabled,\n cardNumberHasError,\n cardExpiryHasError,\n cardCvcHasError\n } = this.props;\n\n const {translate} = this.context;\n\n return (\n <div className={style.paymentForm}>\n <div className={style.acceptedCards}>\n <img className={style.acceptedCardsCheck} src={checkImage} />\n <div className={style.acceptedCardsText}>{translate('accepted_cards')}</div>\n <img className={style.acceptedCardsImage} src={cardsImage} />\n </div>\n <div className={style.creditCardOwnerEmail}>\n <hr className={style.creditCardOwnerEmailSeparator} />\n <div className={style.creditCardOwnerEmailText}>{cardOwnerEmail}</div>\n <hr className={style.creditCardOwnerEmailSeparator} />\n </div>\n {errors ? <div className={style.paymentErrors}>-{errors}</div> : null}\n {warning ? <div className={style.paymentWarning}>-{warning}</div> : null}\n <div className={style.securedPayment}>\n <img className={style.securedPaymentImage} src={securedPaymentImage} />\n <div className={style.securedPaymentText}>{translate('secured_payment')}</div>\n </div>\n <div className={style.cardBlock}>\n <div\n className={`${style.cardNumber} ${cardNumberHasError && style.invalidElement}`}\n id=\"card-number\"\n />\n </div>\n <div className={style.cardBlock}>\n <div\n className={`${style.cardExpiry} ${cardExpiryHasError && style.invalidElement}`}\n id=\"card-expiry\"\n />\n <div\n className={`${style.cardCvc} ${cardCvcHasError && style.invalidElement}`}\n id=\"card-cvc\"\n />\n </div>\n <div className={style.subscriptionDisclaimer}>{translate('subscription_disclaimer')}</div>\n <div className={style.subscribeButtonContainer}>\n <button\n className={style.subscribeButton}\n type=\"button\"\n onClick={this.handleSubmit}\n disabled={!submitButtonEnabled}\n >\n {translate('payment_form_submit')}\n </button>\n </div>\n </div>\n );\n }\n}\n\nexport default PaymentForm;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/molecule/payment-form/index.js"],"names":["PaymentForm","React","Component","constructor","props","stripe","stripeInstance","stripeKeyPublic","handleCardNumberChange","bind","handleCardExpiryChange","handleCardCvcChange","handleSubmit","componentDidMount","elements","elementOptions","style","base","iconStyle","color","fontSize","fontFamily","cardNumber","create","cardExpiry","cardCvc","mount","on","componentWillUnmount","cardNumer","unmount","off","onSubscription","createToken","then","response","error","onCardNumberChange","onCardExpiryChange","onCardCvcChange","render","checkImage","cardsImage","cardOwnerEmail","securedPaymentImage","errors","warning","submitButtonEnabled","cardNumberHasError","cardExpiryHasError","cardCvcHasError","translate","context","paymentForm","acceptedCards","acceptedCardsCheck","acceptedCardsText","acceptedCardsImage","creditCardOwnerEmail","creditCardOwnerEmailSeparator","creditCardOwnerEmailText","paymentErrors","paymentWarning","securedPayment","securedPaymentText","cardBlock","invalidElement","subscriptionDisclaimer","subscribeButtonContainer","subscribeButton","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","func","bool"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAN,SAA0BC,eAAMC,SAAhC,CAA0C;AAwBxCC,EAAAA,WAAW,CAACC,KAAD,EAAQ;AACjB,UAAMA,KAAN;AACA,SAAKC,MAAL,GAAcD,KAAK,CAACE,cAAN,GAAuBF,KAAK,CAACE,cAAN,CAAqBF,KAAK,CAACG,eAA3B,CAAvB,GAAqE,IAAnF;AACA,SAAKC,sBA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kB;AACpBmD,EAAAA,SAAS,EAAEmB,kBAASC,iBAAT,CAA2BpB;AADlB,C;;AApBlBnD,W,CACGwE,S,2CAAY;AACjBjE,EAAAA,eAAe,EAAEkE,mBAAUC,MAAV,CAAiBC,UADjB;AAEjBrE,EAAAA,cAAc,EAAEmE,mBAAUG,IAAV,CAAeD,UAFd;AAGjB3C,EAAAA,cAAc,EAAEyC,mBAAUG,IAAV,CAAeD,UAHd;AAIjBlC,EAAAA,UAAU,EAAEgC,mBAAUC,MAAV,CAAiBC,UAJZ;AAKjBjC,EAAAA,UAAU,EAAE+B,mBAAUC,MAAV,CAAiBC,UALZ;AAMjBhC,EAAAA,cAAc,EAAE8B,mBAAUC,MANT;AAOjB9B,EAAAA,mBAAmB,EAAE6B,mBAAUC,MAPd;AAQjB7B,EAAAA,MAAM,EAAE4B,mBAAUC,MARD;AASjB5B,EAAAA,OAAO,EAAE2B,mBAAUC,MATF;AAUjBrC,EAAAA,kBAAkB,EAAEoC,mBAAUG,IAVb;AAWjB5B,EAAAA,kBAAkB,EAAEyB,mBAAUI,IAXb;AAYjBvC,EAAAA,kBAAkB,EAAEmC,mBAAUG,IAZb;AAajB3B,EAAAA,kBAAkB,EAAEwB,mBAAUI,IAbb;AAcjBtC,EAAAA,eAAe,EAAEkC,mBAAUG,IAdV;AAejB1B,EAAAA,eAAe,EAAEuB,mBAAUI,IAfV;AAgBjB9B,EAAAA,mBAAmB,EAAE0B,mBAAUI;AAhBd,C;eA2KN7E,W","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Provider from '../../atom/provider';\nimport style from './style.css';\n\nclass PaymentForm extends React.Component {\n static propTypes = {\n stripeKeyPublic: PropTypes.string.isRequired,\n stripeInstance: PropTypes.func.isRequired,\n onSubscription: PropTypes.func.isRequired,\n checkImage: PropTypes.string.isRequired,\n cardsImage: PropTypes.string.isRequired,\n cardOwnerEmail: PropTypes.string,\n securedPaymentImage: PropTypes.string,\n errors: PropTypes.string,\n warning: PropTypes.string,\n onCardNumberChange: PropTypes.func,\n cardNumberHasError: PropTypes.bool,\n onCardExpiryChange: PropTypes.func,\n cardExpiryHasError: PropTypes.bool,\n onCardCvcChange: PropTypes.func,\n cardCvcHasError: PropTypes.bool,\n submitButtonEnabled: PropTypes.bool\n };\n\n static contextTypes = {\n translate: Provider.childContextTypes.translate\n };\n\n constructor(props) {\n super(props);\n this.stripe = props.stripeInstance ? props.stripeInstance(props.stripeKeyPublic) : null;\n this.handleCardNumberChange = this.handleCardNumberChange.bind(this);\n this.handleCardExpiryChange = this.handleCardExpiryChange.bind(this);\n this.handleCardCvcChange = this.handleCardCvcChange.bind(this);\n this.handleSubmit = this.handleSubmit.bind(this);\n }\n\n componentDidMount() {\n if (this.stripe) {\n const elements = this.stripe.elements();\n\n const elementOptions = {\n style: {\n base: {\n iconStyle: 'solid',\n color: '#546E7A',\n fontSize: '16px',\n fontFamily: 'Gilroy',\n '::placeholder': {\n color: '#546E7A',\n fontSize: '16px',\n fontFamily: 'Gilroy'\n }\n }\n }\n };\n\n this.cardNumber = elements.create('cardNumber', elementOptions);\n this.cardExpiry = elements.create('cardExpiry', elementOptions);\n this.cardCvc = elements.create('cardCvc', elementOptions);\n\n this.cardNumber.mount('#card-number');\n this.cardExpiry.mount('#card-expiry');\n this.cardCvc.mount('#card-cvc');\n\n this.cardNumber.on('change', this.handleCardNumberChange);\n this.cardExpiry.on('change', this.handleCardExpiryChange);\n this.cardCvc.on('change', this.handleCardCvcChange);\n }\n }\n\n componentWillUnmount() {\n if (this.cardNumer) {\n this.cardNumber.unmount();\n this.cardNumber.off('change', this.handleCardNumberChange);\n }\n if (this.cardExpiry) {\n this.cardExpiry.unmount();\n this.cardExpiry.off('change', this.handleCardExpiryChange);\n }\n if (this.cardCvc) {\n this.cardCvc.unmount();\n this.cardCvc.off('change', this.handleCardCvcChange);\n }\n }\n\n handleSubmit() {\n const {onSubscription} = this.props;\n if (this.stripe) {\n return this.stripe.createToken(this.cardNumber).then(response => {\n return onSubscription(response);\n });\n }\n }\n\n handleCardNumberChange({error}) {\n const {onCardNumberChange = () => {}} = this.props;\n onCardNumberChange(error);\n }\n\n handleCardExpiryChange({error}) {\n const {onCardExpiryChange = () => {}} = this.props;\n onCardExpiryChange(error);\n }\n\n handleCardCvcChange({error}) {\n const {onCardCvcChange = () => {}} = this.props;\n onCardCvcChange(error);\n }\n\n render() {\n const {\n checkImage,\n cardsImage,\n cardOwnerEmail,\n securedPaymentImage,\n errors,\n warning,\n submitButtonEnabled,\n cardNumberHasError,\n cardExpiryHasError,\n cardCvcHasError\n } = this.props;\n\n const {translate} = this.context;\n\n return (\n <div className={style.paymentForm}>\n <div className={style.acceptedCards}>\n <img className={style.acceptedCardsCheck} src={checkImage} />\n <div className={style.acceptedCardsText}>{translate('accepted_cards')}</div>\n <img className={style.acceptedCardsImage} src={cardsImage} />\n </div>\n <div className={style.creditCardOwnerEmail}>\n <hr className={style.creditCardOwnerEmailSeparator} />\n <div className={style.creditCardOwnerEmailText}>{cardOwnerEmail}</div>\n <hr className={style.creditCardOwnerEmailSeparator} />\n </div>\n {errors ? <div className={style.paymentErrors}>-{errors}</div> : null}\n {warning ? <div className={style.paymentWarning}>-{warning}</div> : null}\n <div className={style.securedPayment}>\n <img className={style.securedPaymentImage} src={securedPaymentImage} />\n <div className={style.securedPaymentText}>{translate('secured_payment')}</div>\n </div>\n <div className={style.cardBlock}>\n <div\n className={`${style.cardNumber} ${cardNumberHasError && style.invalidElement}`}\n id=\"card-number\"\n />\n </div>\n <div className={style.cardBlock}>\n <div\n className={`${style.cardExpiry} ${cardExpiryHasError && style.invalidElement}`}\n id=\"card-expiry\"\n />\n <div\n className={`${style.cardCvc} ${cardCvcHasError && style.invalidElement}`}\n id=\"card-cvc\"\n />\n </div>\n <div className={style.subscriptionDisclaimer}>{translate('subscription_disclaimer')}</div>\n <div className={style.subscribeButtonContainer}>\n <button\n className={style.subscribeButton}\n type=\"button\"\n onClick={this.handleSubmit}\n disabled={!submitButtonEnabled}\n >\n {translate('payment_form_submit')}\n </button>\n </div>\n </div>\n );\n }\n}\n\nexport default PaymentForm;\n"],"file":"index.js"}
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .pdfDescription {
35
- font-family: 'Open Sans';
35
+ font-family: 'Gilroy';
36
36
  font-weight: 600;
37
37
  text-align: center;
38
38
  font-size: 12px;
@@ -72,7 +72,7 @@
72
72
  left: 0;
73
73
  right: 0;
74
74
  text-align: center;
75
- font-family: 'Open Sans';
75
+ font-family: 'Gilroy';
76
76
  font-size: 12px;
77
77
  font-weight: bold;
78
78
  color: inherit;
@@ -48,7 +48,7 @@
48
48
  }
49
49
 
50
50
  .header {
51
- font-family: 'Open Sans';
51
+ font-family: 'Gilroy';
52
52
  font-size: 24px;
53
53
  font-weight: bold;
54
54
  color: black;
@@ -57,7 +57,7 @@
57
57
  }
58
58
 
59
59
  .content {
60
- font-family: 'Open Sans';
60
+ font-family: 'Gilroy';
61
61
  font-size: 16px;
62
62
  font-weight: normal;
63
63
  color: black;