@coorpacademy/components 11.30.1 → 11.32.1-alpha.16

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 (227) hide show
  1. package/es/atom/button-link/index.d.ts +1 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +21 -12
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +11 -1
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +1 -0
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/atom/chip/index.d.ts +37 -0
  10. package/es/atom/chip/index.d.ts.map +1 -0
  11. package/es/atom/chip/index.js +85 -0
  12. package/es/atom/chip/index.js.map +1 -0
  13. package/es/atom/chip/style.css +65 -0
  14. package/es/atom/chips/index.d.ts.map +1 -1
  15. package/es/atom/chips/index.js +1 -0
  16. package/es/atom/chips/index.js.map +1 -1
  17. package/es/atom/icon/index.js +2 -2
  18. package/es/atom/icon/index.js.map +1 -1
  19. package/es/molecule/base-modal/index.d.ts +33 -0
  20. package/es/molecule/base-modal/index.d.ts.map +1 -0
  21. package/es/molecule/base-modal/index.js +142 -0
  22. package/es/molecule/base-modal/index.js.map +1 -0
  23. package/es/molecule/base-modal/style.css +125 -0
  24. package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  25. package/es/molecule/bulk-progress-bar/index.js +6 -3
  26. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  27. package/es/molecule/cm-popin/types.d.ts +2 -0
  28. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  29. package/es/molecule/expandible-actionable-table/index.d.ts +1 -0
  30. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  31. package/es/molecule/expandible-actionable-table/types.d.ts +1 -0
  32. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  33. package/es/molecule/learner-skill-card/index.d.ts +23 -0
  34. package/es/molecule/learner-skill-card/index.d.ts.map +1 -0
  35. package/es/molecule/learner-skill-card/index.js +164 -0
  36. package/es/molecule/learner-skill-card/index.js.map +1 -0
  37. package/es/molecule/learner-skill-card/style.css +119 -0
  38. package/es/molecule/learning-profile-radar-chart/index.d.ts +1 -1
  39. package/es/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  40. package/es/molecule/learning-profile-radar-chart/index.js +16 -11
  41. package/es/molecule/learning-profile-radar-chart/index.js.map +1 -1
  42. package/es/molecule/learning-profile-radar-chart/types.d.ts +7 -1
  43. package/es/molecule/learning-profile-radar-chart/types.d.ts.map +1 -1
  44. package/es/molecule/learning-profile-radar-chart/types.js.map +1 -1
  45. package/es/molecule/questions/template/index.d.ts +1 -1
  46. package/es/molecule/quick-access-card/index.d.ts.map +1 -1
  47. package/es/molecule/quick-access-card/index.js +5 -1
  48. package/es/molecule/quick-access-card/index.js.map +1 -1
  49. package/es/molecule/skill-picker-modal/index.d.ts +23 -0
  50. package/es/molecule/skill-picker-modal/index.d.ts.map +1 -0
  51. package/es/molecule/skill-picker-modal/index.js +138 -0
  52. package/es/molecule/skill-picker-modal/index.js.map +1 -0
  53. package/es/molecule/skill-picker-modal/style.css +28 -0
  54. package/es/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  55. package/es/molecule/skills-chart-side-information-item/index.js +1 -1
  56. package/es/molecule/skills-chart-side-information-item/index.js.map +1 -1
  57. package/es/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  58. package/es/organism/list-items/index.d.ts +2 -0
  59. package/es/organism/setup-header/index.d.ts +4 -0
  60. package/es/organism/wizard-contents/index.d.ts +3 -0
  61. package/es/template/app-player/loading/index.d.ts +2 -0
  62. package/es/template/app-player/player/index.d.ts +4 -0
  63. package/es/template/app-player/player/slides/index.d.ts +2 -0
  64. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  65. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  66. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  67. package/es/template/app-player/popin-end/index.d.ts +2 -0
  68. package/es/template/app-review/index.d.ts +2 -0
  69. package/es/template/app-review/index.d.ts.map +1 -1
  70. package/es/template/app-review/player/prop-types.d.ts +2 -0
  71. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  72. package/es/template/app-review/prop-types.d.ts +2 -0
  73. package/es/template/app-review/prop-types.d.ts.map +1 -1
  74. package/es/template/back-office/brand-create/index.d.ts +4 -0
  75. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  76. package/es/template/back-office/brand-list/index.d.ts +4 -0
  77. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  78. package/es/template/back-office/brand-update/index.d.ts +11 -0
  79. package/es/template/back-office/dashboard-preview/index.d.ts +4 -0
  80. package/es/template/back-office/layout/index.d.ts +4 -0
  81. package/es/template/back-office/layout/index.d.ts.map +1 -1
  82. package/es/template/common/dashboard/index.d.ts +4 -0
  83. package/es/template/common/search-page/index.d.ts +2 -0
  84. package/es/template/external-course/index.d.ts +2 -0
  85. package/es/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  86. package/es/template/mobile-login/welcome/index.native.js +5 -1
  87. package/es/template/mobile-login/welcome/index.native.js.map +1 -1
  88. package/es/template/my-learning/index.d.ts +34 -0
  89. package/es/template/my-learning/index.d.ts.map +1 -0
  90. package/es/template/my-learning/index.js +354 -0
  91. package/es/template/my-learning/index.js.map +1 -0
  92. package/es/template/my-learning/style.css +179 -0
  93. package/es/variables/colors.d.ts +7 -7
  94. package/es/variables/colors.d.ts.map +1 -1
  95. package/es/variables/colors.js +2 -1
  96. package/es/variables/colors.js.map +1 -1
  97. package/es/variables/theme.native.d.ts.map +1 -1
  98. package/es/variables/theme.native.js +4 -1
  99. package/es/variables/theme.native.js.map +1 -1
  100. package/lib/atom/button-link/index.d.ts +1 -0
  101. package/lib/atom/button-link/index.d.ts.map +1 -1
  102. package/lib/atom/button-link/index.js +22 -12
  103. package/lib/atom/button-link/index.js.map +1 -1
  104. package/lib/atom/button-link/types.d.ts +11 -1
  105. package/lib/atom/button-link/types.d.ts.map +1 -1
  106. package/lib/atom/button-link/types.js +1 -0
  107. package/lib/atom/button-link/types.js.map +1 -1
  108. package/lib/atom/chip/index.d.ts +37 -0
  109. package/lib/atom/chip/index.d.ts.map +1 -0
  110. package/lib/atom/chip/index.js +109 -0
  111. package/lib/atom/chip/index.js.map +1 -0
  112. package/lib/atom/chip/style.css +65 -0
  113. package/lib/atom/chips/index.d.ts.map +1 -1
  114. package/lib/atom/chips/index.js +1 -0
  115. package/lib/atom/chips/index.js.map +1 -1
  116. package/lib/atom/icon/index.js +2 -2
  117. package/lib/atom/icon/index.js.map +1 -1
  118. package/lib/molecule/base-modal/index.d.ts +33 -0
  119. package/lib/molecule/base-modal/index.d.ts.map +1 -0
  120. package/lib/molecule/base-modal/index.js +158 -0
  121. package/lib/molecule/base-modal/index.js.map +1 -0
  122. package/lib/molecule/base-modal/style.css +125 -0
  123. package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  124. package/lib/molecule/bulk-progress-bar/index.js +7 -3
  125. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  126. package/lib/molecule/cm-popin/types.d.ts +2 -0
  127. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  128. package/lib/molecule/expandible-actionable-table/index.d.ts +1 -0
  129. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  130. package/lib/molecule/expandible-actionable-table/types.d.ts +1 -0
  131. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  132. package/lib/molecule/learner-skill-card/index.d.ts +23 -0
  133. package/lib/molecule/learner-skill-card/index.d.ts.map +1 -0
  134. package/lib/molecule/learner-skill-card/index.js +182 -0
  135. package/lib/molecule/learner-skill-card/index.js.map +1 -0
  136. package/lib/molecule/learner-skill-card/style.css +119 -0
  137. package/lib/molecule/learning-profile-radar-chart/index.d.ts +1 -1
  138. package/lib/molecule/learning-profile-radar-chart/index.d.ts.map +1 -1
  139. package/lib/molecule/learning-profile-radar-chart/index.js +16 -11
  140. package/lib/molecule/learning-profile-radar-chart/index.js.map +1 -1
  141. package/lib/molecule/learning-profile-radar-chart/types.d.ts +7 -1
  142. package/lib/molecule/learning-profile-radar-chart/types.d.ts.map +1 -1
  143. package/lib/molecule/learning-profile-radar-chart/types.js.map +1 -1
  144. package/lib/molecule/questions/template/index.d.ts +1 -1
  145. package/lib/molecule/quick-access-card/index.d.ts.map +1 -1
  146. package/lib/molecule/quick-access-card/index.js +7 -1
  147. package/lib/molecule/quick-access-card/index.js.map +1 -1
  148. package/lib/molecule/skill-picker-modal/index.d.ts +23 -0
  149. package/lib/molecule/skill-picker-modal/index.d.ts.map +1 -0
  150. package/lib/molecule/skill-picker-modal/index.js +156 -0
  151. package/lib/molecule/skill-picker-modal/index.js.map +1 -0
  152. package/lib/molecule/skill-picker-modal/style.css +28 -0
  153. package/lib/molecule/skills-chart-side-information-item/index.d.ts +1 -1
  154. package/lib/molecule/skills-chart-side-information-item/index.js +1 -1
  155. package/lib/molecule/skills-chart-side-information-item/index.js.map +1 -1
  156. package/lib/molecule/skills-chart-side-information-panel/index.d.ts +1 -1
  157. package/lib/organism/list-items/index.d.ts +2 -0
  158. package/lib/organism/setup-header/index.d.ts +4 -0
  159. package/lib/organism/wizard-contents/index.d.ts +3 -0
  160. package/lib/template/app-player/loading/index.d.ts +2 -0
  161. package/lib/template/app-player/player/index.d.ts +4 -0
  162. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  163. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  164. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  165. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  166. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  167. package/lib/template/app-review/index.d.ts +2 -0
  168. package/lib/template/app-review/index.d.ts.map +1 -1
  169. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  170. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  171. package/lib/template/app-review/prop-types.d.ts +2 -0
  172. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  173. package/lib/template/back-office/brand-create/index.d.ts +4 -0
  174. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  175. package/lib/template/back-office/brand-list/index.d.ts +4 -0
  176. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  177. package/lib/template/back-office/brand-update/index.d.ts +11 -0
  178. package/lib/template/back-office/dashboard-preview/index.d.ts +4 -0
  179. package/lib/template/back-office/layout/index.d.ts +4 -0
  180. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  181. package/lib/template/common/dashboard/index.d.ts +4 -0
  182. package/lib/template/common/search-page/index.d.ts +2 -0
  183. package/lib/template/external-course/index.d.ts +2 -0
  184. package/lib/template/mobile-login/welcome/index.native.d.ts.map +1 -1
  185. package/lib/template/mobile-login/welcome/index.native.js +7 -1
  186. package/lib/template/mobile-login/welcome/index.native.js.map +1 -1
  187. package/lib/template/my-learning/index.d.ts +34 -0
  188. package/lib/template/my-learning/index.d.ts.map +1 -0
  189. package/lib/template/my-learning/index.js +375 -0
  190. package/lib/template/my-learning/index.js.map +1 -0
  191. package/lib/template/my-learning/style.css +179 -0
  192. package/lib/variables/colors.d.ts +7 -7
  193. package/lib/variables/colors.d.ts.map +1 -1
  194. package/lib/variables/colors.js +2 -1
  195. package/lib/variables/colors.js.map +1 -1
  196. package/lib/variables/theme.native.d.ts.map +1 -1
  197. package/lib/variables/theme.native.js +4 -1
  198. package/lib/variables/theme.native.js.map +1 -1
  199. package/locales/bs/global.json +7 -1
  200. package/locales/cs/global.json +7 -1
  201. package/locales/de/global.json +7 -1
  202. package/locales/en/global.json +31 -0
  203. package/locales/es/global.json +6 -0
  204. package/locales/et/global.json +7 -1
  205. package/locales/fi/global.json +7 -1
  206. package/locales/fr/global.json +6 -0
  207. package/locales/hr/global.json +7 -1
  208. package/locales/hu/global.json +7 -1
  209. package/locales/hy/global.json +7 -1
  210. package/locales/it/global.json +6 -0
  211. package/locales/ja/global.json +7 -1
  212. package/locales/ko/global.json +7 -1
  213. package/locales/nl/global.json +6 -0
  214. package/locales/pl/global.json +7 -1
  215. package/locales/pt/global.json +7 -1
  216. package/locales/ro/global.json +7 -1
  217. package/locales/ru/global.json +7 -1
  218. package/locales/sk/global.json +7 -1
  219. package/locales/sl/global.json +7 -1
  220. package/locales/sv/global.json +7 -1
  221. package/locales/tl/global.json +7 -1
  222. package/locales/tr/global.json +7 -1
  223. package/locales/uk/global.json +7 -1
  224. package/locales/vi/global.json +7 -1
  225. package/locales/zh/global.json +7 -1
  226. package/locales/zh_TW/global.json +7 -1
  227. package/package.json +3 -3
@@ -22,6 +22,7 @@ declare namespace BrandUpdate {
22
22
  seeMyPlatform: PropTypes.Requireable<PropTypes.InferProps<{
23
23
  type: PropTypes.Requireable<string>;
24
24
  label: PropTypes.Requireable<string>;
25
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
25
26
  'aria-label': PropTypes.Requireable<string>;
26
27
  'data-name': PropTypes.Requireable<string>;
27
28
  'data-testid': PropTypes.Requireable<string>;
@@ -42,6 +43,7 @@ declare namespace BrandUpdate {
42
43
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
43
44
  type: PropTypes.Requireable<string>;
44
45
  label: PropTypes.Requireable<string>;
46
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
45
47
  'aria-label': PropTypes.Requireable<string>;
46
48
  'data-name': PropTypes.Requireable<string>;
47
49
  'data-testid': PropTypes.Requireable<string>;
@@ -62,6 +64,7 @@ declare namespace BrandUpdate {
62
64
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
63
65
  type: PropTypes.Requireable<string>;
64
66
  label: PropTypes.Requireable<string>;
67
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
65
68
  'aria-label': PropTypes.Requireable<string>;
66
69
  'data-name': PropTypes.Requireable<string>;
67
70
  'data-testid': PropTypes.Requireable<string>;
@@ -82,6 +85,7 @@ declare namespace BrandUpdate {
82
85
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
83
86
  type: PropTypes.Requireable<string>;
84
87
  label: PropTypes.Requireable<string>;
88
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
85
89
  'aria-label': PropTypes.Requireable<string>;
86
90
  'data-name': PropTypes.Requireable<string>;
87
91
  'data-testid': PropTypes.Requireable<string>;
@@ -308,6 +312,7 @@ declare namespace BrandUpdate {
308
312
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
309
313
  type: PropTypes.Requireable<string>;
310
314
  label: PropTypes.Requireable<string>;
315
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
311
316
  'aria-label': PropTypes.Requireable<string>;
312
317
  'data-name': PropTypes.Requireable<string>;
313
318
  'data-testid': PropTypes.Requireable<string>;
@@ -439,6 +444,7 @@ declare namespace BrandUpdate {
439
444
  componentType: PropTypes.Requireable<string>;
440
445
  type: PropTypes.Requireable<string>;
441
446
  label: PropTypes.Requireable<string>;
447
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
442
448
  'aria-label': PropTypes.Requireable<string>;
443
449
  'data-name': PropTypes.Requireable<string>;
444
450
  'data-testid': PropTypes.Requireable<string>;
@@ -546,6 +552,7 @@ declare namespace BrandUpdate {
546
552
  componentType: PropTypes.Requireable<string>;
547
553
  type: PropTypes.Requireable<string>;
548
554
  label: PropTypes.Requireable<string>;
555
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
549
556
  'aria-label': PropTypes.Requireable<string>;
550
557
  'data-name': PropTypes.Requireable<string>;
551
558
  'data-testid': PropTypes.Requireable<string>;
@@ -605,6 +612,7 @@ declare namespace BrandUpdate {
605
612
  firstButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
606
613
  type: PropTypes.Requireable<string>;
607
614
  label: PropTypes.Requireable<string>;
615
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
608
616
  'aria-label': PropTypes.Requireable<string>;
609
617
  'data-name': PropTypes.Requireable<string>;
610
618
  'data-testid': PropTypes.Requireable<string>;
@@ -625,6 +633,7 @@ declare namespace BrandUpdate {
625
633
  secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
626
634
  type: PropTypes.Requireable<string>;
627
635
  label: PropTypes.Requireable<string>;
636
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
628
637
  'aria-label': PropTypes.Requireable<string>;
629
638
  'data-name': PropTypes.Requireable<string>;
630
639
  'data-testid': PropTypes.Requireable<string>;
@@ -785,6 +794,7 @@ declare namespace BrandUpdate {
785
794
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
786
795
  type: PropTypes.Requireable<string>;
787
796
  label: PropTypes.Requireable<string>;
797
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
788
798
  'aria-label': PropTypes.Requireable<string>;
789
799
  'data-name': PropTypes.Requireable<string>;
790
800
  'data-testid': PropTypes.Requireable<string>;
@@ -916,6 +926,7 @@ declare namespace BrandUpdate {
916
926
  componentType: PropTypes.Requireable<string>;
917
927
  type: PropTypes.Requireable<string>;
918
928
  label: PropTypes.Requireable<string>;
929
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
919
930
  'aria-label': PropTypes.Requireable<string>;
920
931
  'data-name': PropTypes.Requireable<string>;
921
932
  'data-testid': PropTypes.Requireable<string>;
@@ -6,6 +6,7 @@ declare const _default: {
6
6
  seeMyPlatform: PropTypes.Requireable<PropTypes.InferProps<{
7
7
  type: PropTypes.Requireable<string>;
8
8
  label: PropTypes.Requireable<string>;
9
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
10
  'aria-label': PropTypes.Requireable<string>;
10
11
  'data-name': PropTypes.Requireable<string>;
11
12
  'data-testid': PropTypes.Requireable<string>;
@@ -26,6 +27,7 @@ declare const _default: {
26
27
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
27
28
  type: PropTypes.Requireable<string>;
28
29
  label: PropTypes.Requireable<string>;
30
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
29
31
  'aria-label': PropTypes.Requireable<string>;
30
32
  'data-name': PropTypes.Requireable<string>;
31
33
  'data-testid': PropTypes.Requireable<string>;
@@ -46,6 +48,7 @@ declare const _default: {
46
48
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
47
49
  type: PropTypes.Requireable<string>;
48
50
  label: PropTypes.Requireable<string>;
51
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
49
52
  'aria-label': PropTypes.Requireable<string>;
50
53
  'data-name': PropTypes.Requireable<string>;
51
54
  'data-testid': PropTypes.Requireable<string>;
@@ -66,6 +69,7 @@ declare const _default: {
66
69
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
67
70
  type: PropTypes.Requireable<string>;
68
71
  label: PropTypes.Requireable<string>;
72
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
69
73
  'aria-label': PropTypes.Requireable<string>;
70
74
  'data-name': PropTypes.Requireable<string>;
71
75
  'data-testid': PropTypes.Requireable<string>;
@@ -7,6 +7,7 @@ declare function createLayout(Template: any): {
7
7
  seeMyPlatform: PropTypes.Requireable<PropTypes.InferProps<{
8
8
  type: PropTypes.Requireable<string>;
9
9
  label: PropTypes.Requireable<string>;
10
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
11
  'aria-label': PropTypes.Requireable<string>;
11
12
  'data-name': PropTypes.Requireable<string>;
12
13
  'data-testid': PropTypes.Requireable<string>;
@@ -27,6 +28,7 @@ declare function createLayout(Template: any): {
27
28
  logOut: PropTypes.Requireable<PropTypes.InferProps<{
28
29
  type: PropTypes.Requireable<string>;
29
30
  label: PropTypes.Requireable<string>;
31
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
32
  'aria-label': PropTypes.Requireable<string>;
31
33
  'data-name': PropTypes.Requireable<string>;
32
34
  'data-testid': PropTypes.Requireable<string>;
@@ -47,6 +49,7 @@ declare function createLayout(Template: any): {
47
49
  globalAnalytics: PropTypes.Requireable<PropTypes.InferProps<{
48
50
  type: PropTypes.Requireable<string>;
49
51
  label: PropTypes.Requireable<string>;
52
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
50
53
  'aria-label': PropTypes.Requireable<string>;
51
54
  'data-name': PropTypes.Requireable<string>;
52
55
  'data-testid': PropTypes.Requireable<string>;
@@ -67,6 +70,7 @@ declare function createLayout(Template: any): {
67
70
  platformList: PropTypes.Requireable<PropTypes.InferProps<{
68
71
  type: PropTypes.Requireable<string>;
69
72
  label: PropTypes.Requireable<string>;
73
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
70
74
  'aria-label': PropTypes.Requireable<string>;
71
75
  'data-name': PropTypes.Requireable<string>;
72
76
  'data-testid': PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/back-office/layout/index.js"],"names":[],"mappings":";AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBC"}
@@ -82,6 +82,7 @@ declare namespace Dashboard {
82
82
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
83
83
  type: PropTypes.Requireable<string>;
84
84
  label: PropTypes.Requireable<string>;
85
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
85
86
  'aria-label': PropTypes.Requireable<string>;
86
87
  'data-name': PropTypes.Requireable<string>;
87
88
  'data-testid': PropTypes.Requireable<string>;
@@ -213,6 +214,7 @@ declare namespace Dashboard {
213
214
  componentType: PropTypes.Requireable<string>;
214
215
  type: PropTypes.Requireable<string>;
215
216
  label: PropTypes.Requireable<string>;
217
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
216
218
  'aria-label': PropTypes.Requireable<string>;
217
219
  'data-name': PropTypes.Requireable<string>;
218
220
  'data-testid': PropTypes.Requireable<string>;
@@ -352,6 +354,7 @@ declare namespace Dashboard {
352
354
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
353
355
  type: PropTypes.Requireable<string>;
354
356
  label: PropTypes.Requireable<string>;
357
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
355
358
  'aria-label': PropTypes.Requireable<string>;
356
359
  'data-name': PropTypes.Requireable<string>;
357
360
  'data-testid': PropTypes.Requireable<string>;
@@ -483,6 +486,7 @@ declare namespace Dashboard {
483
486
  componentType: PropTypes.Requireable<string>;
484
487
  type: PropTypes.Requireable<string>;
485
488
  label: PropTypes.Requireable<string>;
489
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
486
490
  'aria-label': PropTypes.Requireable<string>;
487
491
  'data-name': PropTypes.Requireable<string>;
488
492
  'data-testid': PropTypes.Requireable<string>;
@@ -254,6 +254,7 @@ declare namespace SearchPage {
254
254
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
255
255
  type: PropTypes.Requireable<string>;
256
256
  label: PropTypes.Requireable<string>;
257
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
257
258
  'aria-label': PropTypes.Requireable<string>;
258
259
  'data-name': PropTypes.Requireable<string>;
259
260
  'data-testid': PropTypes.Requireable<string>;
@@ -385,6 +386,7 @@ declare namespace SearchPage {
385
386
  componentType: PropTypes.Requireable<string>;
386
387
  type: PropTypes.Requireable<string>;
387
388
  label: PropTypes.Requireable<string>;
389
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
388
390
  'aria-label': PropTypes.Requireable<string>;
389
391
  'data-name': PropTypes.Requireable<string>;
390
392
  'data-testid': PropTypes.Requireable<string>;
@@ -99,6 +99,7 @@ declare namespace ExternalCourse {
99
99
  buttonLink: PropTypes.Requireable<PropTypes.InferProps<{
100
100
  type: PropTypes.Requireable<string>;
101
101
  label: PropTypes.Requireable<string>;
102
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
102
103
  'aria-label': PropTypes.Requireable<string>;
103
104
  'data-name': PropTypes.Requireable<string>;
104
105
  'data-testid': PropTypes.Requireable<string>;
@@ -230,6 +231,7 @@ declare namespace ExternalCourse {
230
231
  componentType: PropTypes.Requireable<string>;
231
232
  type: PropTypes.Requireable<string>;
232
233
  label: PropTypes.Requireable<string>;
234
+ content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
233
235
  'aria-label': PropTypes.Requireable<string>;
234
236
  'data-name': PropTypes.Requireable<string>;
235
237
  'data-testid': PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":";AA8KA,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,KAAK,uBAuI5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"names":[],"mappings":";AAiLA,oBAAY,KAAK,GAAG;IAClB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,yBAAyB,EAAE,MAAM,IAAI,CAAC;IACtC,OAAO,EAAE;QACP,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,cAAc,EAAE,MAAM,CAAC;QACvB,SAAS,EAAE,MAAM,CAAC;QAClB,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,QAAA,MAAM,OAAO,UAAW,KAAK,uBAuI5B,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -19,12 +19,18 @@ var _templateContext = require("../../app-review/template-context");
19
19
 
20
20
  var _index2 = _interopRequireDefault(require("../../../atom/text/index.native"));
21
21
 
22
+ var _colors = require("../../../variables/colors");
23
+
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
25
 
24
26
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
27
 
26
28
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
29
 
30
+ const {
31
+ cm_primary_blue
32
+ } = _colors.COLORS;
33
+
28
34
  const createStyleSheet = theme => _reactNative.StyleSheet.create({
29
35
  wrapper: {
30
36
  top: 0,
@@ -244,7 +250,7 @@ const Welcome = props => {
244
250
  }, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
245
251
  style: [styleSheet.gradients, translateGradients.animatedStyle]
246
252
  }, /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
247
- colors: ['#0061FF', '#fff'],
253
+ colors: [cm_primary_blue, '#fff'],
248
254
  locations: [0, 0.95],
249
255
  style: styleSheet.gradient
250
256
  }), /*#__PURE__*/_react.default.createElement(_reactNativeLinearGradient.default, {
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["createStyleSheet","theme","StyleSheet","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","useTemplateContext","styleSheet","setStylesheet","useState","translateGradients","useTranslateY","fromValue","toValue","duration","delay","translateContent","fadeInContent","useAnimateProp","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","useRef","Animated","Value","current","interpolateScale","interpolate","inputRange","outputRange","useEffect","_stylesheet","start","animatedScale","timing","useNativeDriver","animatedStyle","scale"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle;\n mailIcon: ViewStyle;\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n },\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n },\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useRef<Animated.Value>(new Animated.Value(0)).current;\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={['#0061FF', '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#2199AB', '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AAKA;;AACA;;AACA;;AAEA;;;;;;;;AA4BA,MAAMA,gBAAgB,GAAIC,KAAD,IACvBC,uBAAA,CAAWC,MAAX,CAAkB;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CADE;IAEPC,MAAM,EAAE,CAFD;IAGPC,IAAI,EAAE,CAHC;IAIPC,KAAK,EAAE,CAJA;IAKPC,IAAI,EAAE,CALC;IAMPC,cAAc,EAAE,cANT;IAOPC,UAAU,EAAE,QAP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AU,CAACZ;EAAnD,gBACE,6BAAC,eAAD;IAAM,KAAK,EAAEY,UAAU,CAACX;EAAxB,GAAoCK,OAAO,CAACL,SAA5C,CADF,eAEE,6BAAC,eAAD;IAAM,KAAK,EAAEW,UAAU,CAACV;EAAxB,GAAkCI,OAAO,CAACJ,OAA1C,CAFF,CAnBF,CAJF,CA3BF,CADF;AA2DD,CAvID;;eAyIeE,O"}
1
+ {"version":3,"file":"index.native.js","names":["cm_primary_blue","COLORS","createStyleSheet","theme","StyleSheet","create","wrapper","top","bottom","left","right","flex","justifyContent","alignItems","paddingHorizontal","content","width","gradients","position","gradient","opacity","transform","rotate","gradient2","animatedLogoWrapper","animatedLogo","height","logo","padding","logoBG","backgroundColor","title","color","fontWeight","fontSize","lineHeight","paddingVertical","description","actions","buttons","button","marginVertical","flexDirection","borderRadius","overflow","ctaQrCode","colors","cta","ctaQrCodeText","marginLeft","qrCodeIcon","fill","ctaReceiveMail","ctaReceiveMailText","mailIcon","help","titleHelp","ctaHelp","textDecorationLine","Welcome","props","locales","onDemoPress","onQRCodeButtonPress","onHelpPress","onReceiveEmailButtonPress","useTemplateContext","styleSheet","setStylesheet","useState","translateGradients","useTranslateY","fromValue","toValue","duration","delay","translateContent","fadeInContent","useAnimateProp","property","fadeOutStartLogo","fadeInFinalLogo","scaleAnim","useRef","Animated","Value","current","interpolateScale","interpolate","inputRange","outputRange","useEffect","_stylesheet","start","animatedScale","timing","useNativeDriver","animatedStyle","scale"],"sources":["../../../../src/template/mobile-login/welcome/index.native.tsx"],"sourcesContent":["import React, {useEffect, useRef, useState} from 'react';\nimport {Animated, StyleSheet, TextStyle, View, ViewStyle} from 'react-native';\nimport LinearGradient from 'react-native-linear-gradient';\nimport {\n NovaCompositionCoorpacademyLogoCoorp as LogoCoorp,\n NovaCompositionCoorpacademyQrCode as QrCodeIcon,\n NovaCompositionCoorpacademyEmail as MailIcon\n} from '@coorpacademy/nova-icons';\nimport {useAnimateProp, useTranslateY} from '@coorpacademy/react-native-animation';\nimport Touchable from '../../../hoc/touchable/index.native';\nimport {useTemplateContext} from '../../app-review/template-context';\nimport {Theme} from '../../../variables/theme.native';\nimport Text from '../../../atom/text/index.native';\nimport {COLORS} from '../../../variables/colors';\n\nconst {cm_primary_blue} = COLORS;\n\ntype StyleSheetType = {\n wrapper: ViewStyle;\n animatedLogoWrapper: ViewStyle;\n animatedLogo: ViewStyle;\n logo: ViewStyle;\n logoBG: ViewStyle;\n content: ViewStyle;\n gradients: ViewStyle;\n gradient: ViewStyle;\n gradient2: ViewStyle;\n title: TextStyle;\n description: TextStyle;\n actions: ViewStyle;\n buttons: ViewStyle;\n button: ViewStyle;\n qrCodeIcon: ViewStyle;\n mailIcon: ViewStyle;\n ctaQrCode: ViewStyle;\n ctaQrCodeText: TextStyle;\n ctaReceiveMail: ViewStyle;\n ctaReceiveMailText: TextStyle;\n help: ViewStyle;\n titleHelp: TextStyle;\n ctaHelp: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n wrapper: {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n flex: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n paddingHorizontal: 24\n },\n content: {\n width: '100%',\n alignItems: 'flex-start'\n },\n gradients: {\n position: 'absolute',\n top: 400,\n bottom: 400,\n left: 0,\n right: 0,\n flex: 1\n },\n gradient: {\n position: 'absolute',\n top: -730,\n bottom: 0,\n left: -380,\n right: -380,\n opacity: 1,\n transform: [{rotate: '35deg'}]\n },\n gradient2: {\n position: 'absolute',\n top: -630,\n bottom: -200,\n left: -300,\n right: -400,\n opacity: 0.6,\n transform: [{rotate: '-35deg'}]\n },\n animatedLogoWrapper: {\n alignItems: 'center'\n },\n animatedLogo: {\n position: 'absolute',\n width: 77,\n height: 100\n },\n logo: {\n padding: 100\n },\n logoBG: {\n backgroundColor: '#fff',\n top: 20,\n width: 60,\n height: 60\n },\n title: {\n color: '#1D1D2B',\n fontWeight: '600',\n fontSize: 28,\n lineHeight: 36,\n paddingVertical: 8\n },\n description: {\n color: '#1D1D2B',\n fontWeight: '400',\n fontSize: 17,\n lineHeight: 24,\n paddingVertical: 8\n },\n actions: {\n width: '100%'\n },\n buttons: {\n paddingVertical: 20,\n alignItems: 'center'\n },\n button: {\n paddingVertical: 12,\n marginVertical: 4,\n width: '100%',\n flexDirection: 'row',\n justifyContent: 'center',\n borderRadius: 12,\n alignItems: 'center',\n overflow: 'hidden'\n },\n ctaQrCode: {\n backgroundColor: theme.colors.cta\n },\n ctaQrCodeText: {\n marginLeft: 8,\n color: '#fff',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n qrCodeIcon: {\n fill: '#fff',\n height: 14,\n width: 14\n },\n ctaReceiveMail: {\n backgroundColor: '#eaeaeb'\n },\n ctaReceiveMailText: {\n marginLeft: 8,\n color: '#1D1D2B',\n fontWeight: '700',\n fontSize: 14,\n lineHeight: 24\n },\n mailIcon: {\n fill: '#1D1D2B',\n height: 12,\n width: 16\n },\n help: {\n flexDirection: 'row',\n justifyContent: 'center'\n },\n titleHelp: {\n color: '#9999A8'\n },\n ctaHelp: {\n marginLeft: 5,\n textDecorationLine: 'underline',\n color: '#9999A8'\n }\n });\n\nexport type Props = {\n onDemoPress: () => void;\n onHelpPress: () => void;\n onQRCodeButtonPress: () => void;\n onReceiveEmailButtonPress: () => void;\n locales: {\n title: string;\n description: string;\n ctaQrCode: string;\n ctaReceiveMail: string;\n titleHelp: string;\n ctaHelp: string;\n };\n};\n\nconst Welcome = (props: Props) => {\n const {locales, onDemoPress, onQRCodeButtonPress, onHelpPress, onReceiveEmailButtonPress} = props;\n const {theme} = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n\n const translateGradients = useTranslateY({\n fromValue: 0,\n toValue: -200,\n duration: 300,\n delay: 750\n });\n\n const translateContent = useTranslateY({\n fromValue: 170,\n toValue: 0,\n duration: 450,\n delay: 750\n });\n\n const fadeInContent = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 650,\n delay: 750\n });\n\n const fadeOutStartLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 1,\n toValue: 0,\n duration: 450,\n delay: 1000\n });\n\n const fadeInFinalLogo = useAnimateProp({\n property: 'opacity',\n fromValue: 0,\n toValue: 1,\n duration: 250,\n delay: 900\n });\n\n const scaleAnim = useRef<Animated.Value>(new Animated.Value(0)).current;\n const interpolateScale = scaleAnim.interpolate({\n inputRange: [0, 0.4, 0.5, 0.6, 1],\n outputRange: [1, 1.7, 1.7, 1.7, 1]\n });\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n useEffect(() => {\n fadeInContent.start();\n fadeInFinalLogo.start();\n fadeOutStartLogo.start();\n translateContent.start();\n translateGradients.start();\n\n const animatedScale = Animated.timing(scaleAnim, {\n toValue: 1,\n duration: 1000,\n useNativeDriver: true\n });\n\n animatedScale.start();\n\n // on mount only\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (!styleSheet) {\n return null;\n }\n return (\n <Animated.View style={[styleSheet.wrapper, translateContent.animatedStyle]} testID=\"welcome\">\n <Animated.View style={[styleSheet.gradients, translateGradients.animatedStyle]}>\n <LinearGradient\n colors={[cm_primary_blue, '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient}\n />\n <LinearGradient\n colors={['#2199AB', '#fff']}\n locations={[0, 0.95]}\n style={styleSheet.gradient2}\n />\n </Animated.View>\n\n <Touchable onLongPress={onDemoPress} style={styleSheet.logo}>\n <Animated.View\n style={[styleSheet.animatedLogoWrapper, {transform: [{scale: interpolateScale}]}]}\n >\n <Animated.View style={[styleSheet.logoBG, fadeInFinalLogo.animatedStyle]} />\n <Animated.View style={[styleSheet.animatedLogo, fadeInFinalLogo.animatedStyle]}>\n <LogoCoorp fill=\"#0061FF\" />\n </Animated.View>\n <Animated.View style={[styleSheet.animatedLogo, fadeOutStartLogo.animatedStyle]}>\n <LogoCoorp fill=\"#fff\" />\n </Animated.View>\n </Animated.View>\n </Touchable>\n <Animated.View style={[styleSheet.content, fadeInContent.animatedStyle]}>\n <Text style={styleSheet.title}>{locales.title}</Text>\n <Text style={styleSheet.description}>{locales.description}</Text>\n\n <View style={styleSheet.actions}>\n <View style={styleSheet.buttons}>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaQrCode]}\n onPress={onQRCodeButtonPress}\n testID=\"qr-code-button\"\n >\n <QrCodeIcon style={styleSheet.qrCodeIcon} />\n <Text style={styleSheet.ctaQrCodeText}>{locales.ctaQrCode}</Text>\n </Touchable>\n <Touchable\n style={[styleSheet.button, styleSheet.ctaReceiveMail]}\n onPress={onReceiveEmailButtonPress}\n testID=\"receive-email-button\"\n >\n <MailIcon style={styleSheet.mailIcon} />\n <Text style={styleSheet.ctaReceiveMailText}>{locales.ctaReceiveMail}</Text>\n </Touchable>\n </View>\n <Touchable onPress={onHelpPress} style={styleSheet.help}>\n <Text style={styleSheet.titleHelp}>{locales.titleHelp}</Text>\n <Text style={styleSheet.ctaHelp}>{locales.ctaHelp}</Text>\n </Touchable>\n </View>\n </Animated.View>\n </Animated.View>\n );\n};\n\nexport default Welcome;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AAKA;;AACA;;AACA;;AAEA;;AACA;;;;;;;;AAEA,MAAM;EAACA;AAAD,IAAoBC,cAA1B;;AA4BA,MAAMC,gBAAgB,GAAIC,KAAD,IACvBC,uBAAA,CAAWC,MAAX,CAAkB;EAChBC,OAAO,EAAE;IACPC,GAAG,EAAE,CADE;IAEPC,MAAM,EAAE,CAFD;IAGPC,IAAI,EAAE,CAHC;IAIPC,KAAK,EAAE,CAJA;IAKPC,IAAI,EAAE,CALC;IAMPC,cAAc,EAAE,cANT;IAOPC,UAAU,EAAE,QAPL;IAQPC,iBAAiB,EAAE;EARZ,CADO;EAWhBC,OAAO,EAAE;IACPC,KAAK,EAAE,MADA;IAEPH,UAAU,EAA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ACL,SAA5C,CADF,eAEE,6BAAC,eAAD;IAAM,KAAK,EAAEW,UAAU,CAACV;EAAxB,GAAkCI,OAAO,CAACJ,OAA1C,CAFF,CAnBF,CAJF,CA3BF,CADF;AA2DD,CAvID;;eAyIeE,O"}
@@ -0,0 +1,34 @@
1
+ export default MyLearning;
2
+ declare function MyLearning(props: any, context: any): JSX.Element;
3
+ declare namespace MyLearning {
4
+ namespace contextTypes {
5
+ const translate: PropTypes.Requireable<(...args: any[]) => any>;
6
+ }
7
+ namespace propTypes {
8
+ const skills: PropTypes.Requireable<(string | null | undefined)[]>;
9
+ const selectedSkills: PropTypes.Requireable<(string | null | undefined)[]>;
10
+ const skillsStats: PropTypes.Requireable<{
11
+ [x: string]: PropTypes.InferProps<{
12
+ score: PropTypes.Requireable<number>;
13
+ courses: PropTypes.Requireable<number>;
14
+ coursesCompleted: PropTypes.Requireable<number>;
15
+ questionsAnswered: PropTypes.Requireable<number>;
16
+ learningHours: PropTypes.Requireable<number>;
17
+ }> | null | undefined;
18
+ }>;
19
+ const skillsFilters: PropTypes.Requireable<{
20
+ [x: string]: PropTypes.InferProps<{
21
+ review: any;
22
+ }> | null | undefined;
23
+ }>;
24
+ const skillsLocales: PropTypes.Requireable<{
25
+ [x: string]: string | null | undefined;
26
+ }>;
27
+ const isLoading: PropTypes.Requireable<boolean>;
28
+ const onSkillFocusConfirm: PropTypes.Requireable<(...args: any[]) => any>;
29
+ const onReviewSkill: PropTypes.Requireable<(...args: any[]) => any>;
30
+ const onExploreSkill: PropTypes.Requireable<(...args: any[]) => any>;
31
+ }
32
+ }
33
+ import PropTypes from "prop-types";
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/my-learning/index.js"],"names":[],"mappings":";AAuGA,mEAyRC"}