@coorpacademy/components 11.11.1-alpha.0 → 11.11.1-alpha.3

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 (232) hide show
  1. package/es/atom/input-search/index.d.ts.map +1 -1
  2. package/es/atom/input-search/index.js +1 -0
  3. package/es/atom/input-search/index.js.map +1 -1
  4. package/es/atom/input-switch/index.d.ts +2 -0
  5. package/es/atom/input-switch/index.d.ts.map +1 -1
  6. package/es/atom/input-switch/index.js +23 -11
  7. package/es/atom/input-switch/index.js.map +1 -1
  8. package/es/atom/select/index.d.ts +1 -0
  9. package/es/atom/select/index.d.ts.map +1 -1
  10. package/es/atom/select/index.js +13 -8
  11. package/es/atom/select/index.js.map +1 -1
  12. package/{lib/atom/review-header-step-item → es/atom/status-item}/index.d.ts +4 -4
  13. package/es/atom/status-item/index.d.ts.map +1 -0
  14. package/es/atom/status-item/index.js +104 -0
  15. package/es/atom/status-item/index.js.map +1 -0
  16. package/es/atom/status-item/index.native.d.ts +5 -0
  17. package/es/atom/status-item/index.native.d.ts.map +1 -0
  18. package/es/atom/{review-header-step-item → status-item}/index.native.js +2 -2
  19. package/es/atom/status-item/index.native.js.map +1 -0
  20. package/es/atom/{review-header-step-item → status-item}/style.css +47 -0
  21. package/es/atom/{review-header-step-item → status-item}/types.d.ts +5 -5
  22. package/es/atom/status-item/types.d.ts.map +1 -0
  23. package/es/atom/{review-header-step-item → status-item}/types.js +1 -1
  24. package/es/atom/status-item/types.js.map +1 -0
  25. package/es/atom/tooltip/index.d.ts +1 -3
  26. package/es/atom/tooltip/index.d.ts.map +1 -1
  27. package/es/atom/tooltip/index.js +7 -17
  28. package/es/atom/tooltip/index.js.map +1 -1
  29. package/es/atom/tooltip/style.css +2 -10
  30. package/es/globals.d.js.map +1 -1
  31. package/es/molecule/brand-form-group/index.d.ts +8 -0
  32. package/es/molecule/cm-popin/types.d.ts +2 -0
  33. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  34. package/es/molecule/draggable-list/index.d.ts +2 -0
  35. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  36. package/es/molecule/filters/filters-wrapper.js +4 -1
  37. package/es/molecule/filters/filters-wrapper.js.map +1 -1
  38. package/es/molecule/filters/index.d.ts +2 -0
  39. package/es/molecule/filters/index.d.ts.map +1 -1
  40. package/es/molecule/filters/index.js +10 -3
  41. package/es/molecule/filters/index.js.map +1 -1
  42. package/es/molecule/review-header-steps/index.js +2 -2
  43. package/es/molecule/review-header-steps/index.js.map +1 -1
  44. package/es/molecule/review-header-steps/prop-types.d.ts +2 -2
  45. package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  46. package/es/molecule/review-header-steps/prop-types.js +1 -1
  47. package/es/molecule/review-header-steps/prop-types.js.map +1 -1
  48. package/es/molecule/setup-section/index.d.ts +2 -0
  49. package/es/molecule/setup-section/index.d.ts.map +1 -1
  50. package/es/molecule/setup-sections/index.d.ts +2 -0
  51. package/es/molecule/setup-slide/index.d.ts +3 -0
  52. package/es/molecule/setup-slider/index.d.ts +3 -0
  53. package/es/organism/brand-form/index.d.ts +8 -0
  54. package/es/organism/mooc-header/index.d.ts.map +1 -1
  55. package/es/organism/mooc-header/index.js +4 -1
  56. package/es/organism/mooc-header/index.js.map +1 -1
  57. package/es/organism/review-header/index.native.js +1 -1
  58. package/es/organism/review-header/index.native.js.map +1 -1
  59. package/es/organism/review-header/types.d.ts +2 -2
  60. package/es/organism/review-header/types.d.ts.map +1 -1
  61. package/es/organism/review-header/types.js.map +1 -1
  62. package/es/organism/user-preferences/index.d.ts +2 -0
  63. package/es/organism/wizard-contents/index.d.ts +8 -0
  64. package/es/template/activity/index.d.ts +12 -11
  65. package/es/template/activity/index.d.ts.map +1 -1
  66. package/es/template/activity/index.js +6 -3
  67. package/es/template/activity/index.js.map +1 -1
  68. package/es/template/app-player/loading/index.d.ts +2 -0
  69. package/es/template/app-player/player/index.d.ts +4 -0
  70. package/es/template/app-player/player/slides/index.d.ts +2 -0
  71. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  72. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  73. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  74. package/es/template/app-player/popin-end/index.d.ts +2 -0
  75. package/es/template/app-review/index.d.ts +2 -0
  76. package/es/template/app-review/index.d.ts.map +1 -1
  77. package/es/template/app-review/player/prop-types.d.ts +2 -0
  78. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  79. package/es/template/app-review/prop-types.d.ts +2 -0
  80. package/es/template/app-review/prop-types.d.ts.map +1 -1
  81. package/es/template/back-office/brand-update/index.d.ts +18 -0
  82. package/es/template/common/dashboard/index.d.ts +2 -0
  83. package/es/template/common/search-page/index.d.ts +3 -0
  84. package/es/template/common/search-page/index.d.ts.map +1 -1
  85. package/es/template/common/search-page/index.js +6 -3
  86. package/es/template/common/search-page/index.js.map +1 -1
  87. package/lib/atom/input-search/index.d.ts.map +1 -1
  88. package/lib/atom/input-search/index.js +1 -0
  89. package/lib/atom/input-search/index.js.map +1 -1
  90. package/lib/atom/input-switch/index.d.ts +2 -0
  91. package/lib/atom/input-switch/index.d.ts.map +1 -1
  92. package/lib/atom/input-switch/index.js +22 -11
  93. package/lib/atom/input-switch/index.js.map +1 -1
  94. package/lib/atom/select/index.d.ts +1 -0
  95. package/lib/atom/select/index.d.ts.map +1 -1
  96. package/lib/atom/select/index.js +13 -8
  97. package/lib/atom/select/index.js.map +1 -1
  98. package/{es/atom/review-header-step-item → lib/atom/status-item}/index.d.ts +4 -4
  99. package/lib/atom/status-item/index.d.ts.map +1 -0
  100. package/lib/atom/{review-header-step-item → status-item}/index.js +50 -23
  101. package/lib/atom/status-item/index.js.map +1 -0
  102. package/lib/atom/status-item/index.native.d.ts +5 -0
  103. package/lib/atom/status-item/index.native.d.ts.map +1 -0
  104. package/lib/atom/{review-header-step-item → status-item}/index.native.js +2 -2
  105. package/lib/atom/status-item/index.native.js.map +1 -0
  106. package/lib/atom/{review-header-step-item → status-item}/style.css +47 -0
  107. package/lib/atom/{review-header-step-item → status-item}/types.d.ts +5 -5
  108. package/lib/atom/status-item/types.d.ts.map +1 -0
  109. package/lib/atom/{review-header-step-item → status-item}/types.js +1 -1
  110. package/lib/atom/status-item/types.js.map +1 -0
  111. package/lib/atom/tooltip/index.d.ts +1 -3
  112. package/lib/atom/tooltip/index.d.ts.map +1 -1
  113. package/lib/atom/tooltip/index.js +7 -18
  114. package/lib/atom/tooltip/index.js.map +1 -1
  115. package/lib/atom/tooltip/style.css +2 -10
  116. package/lib/globals.d.js.map +1 -1
  117. package/lib/molecule/brand-form-group/index.d.ts +8 -0
  118. package/lib/molecule/cm-popin/types.d.ts +2 -0
  119. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  120. package/lib/molecule/draggable-list/index.d.ts +2 -0
  121. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  122. package/lib/molecule/filters/filters-wrapper.js +4 -1
  123. package/lib/molecule/filters/filters-wrapper.js.map +1 -1
  124. package/lib/molecule/filters/index.d.ts +2 -0
  125. package/lib/molecule/filters/index.d.ts.map +1 -1
  126. package/lib/molecule/filters/index.js +9 -3
  127. package/lib/molecule/filters/index.js.map +1 -1
  128. package/lib/molecule/review-header-steps/index.js +2 -2
  129. package/lib/molecule/review-header-steps/index.js.map +1 -1
  130. package/lib/molecule/review-header-steps/prop-types.d.ts +2 -2
  131. package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  132. package/lib/molecule/review-header-steps/prop-types.js +1 -1
  133. package/lib/molecule/review-header-steps/prop-types.js.map +1 -1
  134. package/lib/molecule/setup-section/index.d.ts +2 -0
  135. package/lib/molecule/setup-section/index.d.ts.map +1 -1
  136. package/lib/molecule/setup-sections/index.d.ts +2 -0
  137. package/lib/molecule/setup-slide/index.d.ts +3 -0
  138. package/lib/molecule/setup-slider/index.d.ts +3 -0
  139. package/lib/organism/brand-form/index.d.ts +8 -0
  140. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  141. package/lib/organism/mooc-header/index.js +4 -1
  142. package/lib/organism/mooc-header/index.js.map +1 -1
  143. package/lib/organism/review-header/index.native.js +1 -1
  144. package/lib/organism/review-header/index.native.js.map +1 -1
  145. package/lib/organism/review-header/types.d.ts +2 -2
  146. package/lib/organism/review-header/types.d.ts.map +1 -1
  147. package/lib/organism/review-header/types.js.map +1 -1
  148. package/lib/organism/user-preferences/index.d.ts +2 -0
  149. package/lib/organism/wizard-contents/index.d.ts +8 -0
  150. package/lib/template/activity/index.d.ts +12 -11
  151. package/lib/template/activity/index.d.ts.map +1 -1
  152. package/lib/template/activity/index.js +6 -3
  153. package/lib/template/activity/index.js.map +1 -1
  154. package/lib/template/app-player/loading/index.d.ts +2 -0
  155. package/lib/template/app-player/player/index.d.ts +4 -0
  156. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  157. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  158. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  159. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  160. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  161. package/lib/template/app-review/index.d.ts +2 -0
  162. package/lib/template/app-review/index.d.ts.map +1 -1
  163. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  164. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  165. package/lib/template/app-review/prop-types.d.ts +2 -0
  166. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  167. package/lib/template/back-office/brand-update/index.d.ts +18 -0
  168. package/lib/template/common/dashboard/index.d.ts +2 -0
  169. package/lib/template/common/search-page/index.d.ts +3 -0
  170. package/lib/template/common/search-page/index.d.ts.map +1 -1
  171. package/lib/template/common/search-page/index.js +6 -3
  172. package/lib/template/common/search-page/index.js.map +1 -1
  173. package/locales/bs/global.json +0 -2
  174. package/locales/cs/global.json +0 -2
  175. package/locales/de/global.json +0 -2
  176. package/locales/en/global.json +8 -5
  177. package/locales/es/global.json +0 -2
  178. package/locales/et/global.json +0 -2
  179. package/locales/fr/global.json +0 -2
  180. package/locales/hr/global.json +0 -2
  181. package/locales/hu/global.json +0 -2
  182. package/locales/hy/global.json +0 -2
  183. package/locales/it/global.json +0 -2
  184. package/locales/ja/global.json +0 -2
  185. package/locales/ko/global.json +0 -2
  186. package/locales/nl/global.json +0 -2
  187. package/locales/pl/global.json +0 -2
  188. package/locales/pt/global.json +0 -2
  189. package/locales/ro/global.json +0 -2
  190. package/locales/ru/global.json +0 -2
  191. package/locales/sk/global.json +0 -2
  192. package/locales/th/global.json +0 -2
  193. package/locales/tl/global.json +0 -2
  194. package/locales/tr/global.json +0 -2
  195. package/locales/uk/global.json +0 -2
  196. package/locales/vi/global.json +0 -2
  197. package/locales/zh/global.json +0 -2
  198. package/locales/zh_TW/global.json +0 -2
  199. package/package.json +3 -3
  200. package/es/atom/battle-opponent/index.d.ts +0 -19
  201. package/es/atom/battle-opponent/index.d.ts.map +0 -1
  202. package/es/atom/battle-opponent/index.js +0 -52
  203. package/es/atom/battle-opponent/index.js.map +0 -1
  204. package/es/atom/battle-opponent/prop-types.d.ts +0 -19
  205. package/es/atom/battle-opponent/prop-types.d.ts.map +0 -1
  206. package/es/atom/battle-opponent/prop-types.js +0 -11
  207. package/es/atom/battle-opponent/prop-types.js.map +0 -1
  208. package/es/atom/battle-opponent/style.css +0 -126
  209. package/es/atom/review-header-step-item/index.d.ts.map +0 -1
  210. package/es/atom/review-header-step-item/index.js +0 -77
  211. package/es/atom/review-header-step-item/index.js.map +0 -1
  212. package/es/atom/review-header-step-item/index.native.d.ts +0 -5
  213. package/es/atom/review-header-step-item/index.native.d.ts.map +0 -1
  214. package/es/atom/review-header-step-item/index.native.js.map +0 -1
  215. package/es/atom/review-header-step-item/types.d.ts.map +0 -1
  216. package/es/atom/review-header-step-item/types.js.map +0 -1
  217. package/lib/atom/battle-opponent/index.d.ts +0 -19
  218. package/lib/atom/battle-opponent/index.d.ts.map +0 -1
  219. package/lib/atom/battle-opponent/index.js +0 -70
  220. package/lib/atom/battle-opponent/index.js.map +0 -1
  221. package/lib/atom/battle-opponent/prop-types.d.ts +0 -19
  222. package/lib/atom/battle-opponent/prop-types.d.ts.map +0 -1
  223. package/lib/atom/battle-opponent/prop-types.js +0 -20
  224. package/lib/atom/battle-opponent/prop-types.js.map +0 -1
  225. package/lib/atom/battle-opponent/style.css +0 -126
  226. package/lib/atom/review-header-step-item/index.d.ts.map +0 -1
  227. package/lib/atom/review-header-step-item/index.js.map +0 -1
  228. package/lib/atom/review-header-step-item/index.native.d.ts +0 -5
  229. package/lib/atom/review-header-step-item/index.native.d.ts.map +0 -1
  230. package/lib/atom/review-header-step-item/index.native.js.map +0 -1
  231. package/lib/atom/review-header-step-item/types.d.ts.map +0 -1
  232. package/lib/atom/review-header-step-item/types.js.map +0 -1
@@ -552,6 +552,8 @@ declare const propTypes: {
552
552
  disabled: PropTypes.Requireable<boolean>;
553
553
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
554
554
  description: PropTypes.Requireable<string>;
555
+ 'aria-labelledby': PropTypes.Requireable<string>;
556
+ 'aria-label': PropTypes.Requireable<string>;
555
557
  modified: PropTypes.Requireable<boolean>;
556
558
  titlePosition: PropTypes.Requireable<string>;
557
559
  theme: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -188,6 +188,8 @@ declare namespace BrandUpdate {
188
188
  disabled: PropTypes.Requireable<boolean>;
189
189
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
190
190
  description: PropTypes.Requireable<string>;
191
+ 'aria-labelledby': PropTypes.Requireable<string>;
192
+ 'aria-label': PropTypes.Requireable<string>;
191
193
  modified: PropTypes.Requireable<boolean>;
192
194
  titlePosition: PropTypes.Requireable<string>;
193
195
  theme: PropTypes.Requireable<string>;
@@ -241,6 +243,7 @@ declare namespace BrandUpdate {
241
243
  modified: PropTypes.Requireable<boolean>;
242
244
  error: PropTypes.Requireable<boolean>;
243
245
  'aria-label': PropTypes.Requireable<string>;
246
+ 'aria-labelledby': PropTypes.Requireable<string>;
244
247
  }> | PropTypes.InferProps<{
245
248
  type: PropTypes.Requireable<string>;
246
249
  title: PropTypes.Validator<string>;
@@ -320,6 +323,8 @@ declare namespace BrandUpdate {
320
323
  disabled: PropTypes.Requireable<boolean>;
321
324
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
322
325
  description: PropTypes.Requireable<string>;
326
+ 'aria-labelledby': PropTypes.Requireable<string>;
327
+ 'aria-label': PropTypes.Requireable<string>;
323
328
  modified: PropTypes.Requireable<boolean>;
324
329
  titlePosition: PropTypes.Requireable<string>;
325
330
  theme: PropTypes.Requireable<string>;
@@ -356,6 +361,7 @@ declare namespace BrandUpdate {
356
361
  modified: PropTypes.Requireable<boolean>;
357
362
  error: PropTypes.Requireable<boolean>;
358
363
  'aria-label': PropTypes.Requireable<string>;
364
+ 'aria-labelledby': PropTypes.Requireable<string>;
359
365
  }> | PropTypes.InferProps<{
360
366
  type: PropTypes.Requireable<string>;
361
367
  title: PropTypes.Validator<string>;
@@ -460,6 +466,8 @@ declare namespace BrandUpdate {
460
466
  disabled: PropTypes.Requireable<boolean>;
461
467
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
462
468
  description: PropTypes.Requireable<string>;
469
+ 'aria-labelledby': PropTypes.Requireable<string>;
470
+ 'aria-label': PropTypes.Requireable<string>;
463
471
  modified: PropTypes.Requireable<boolean>;
464
472
  titlePosition: PropTypes.Requireable<string>;
465
473
  theme: PropTypes.Requireable<string>;
@@ -834,6 +842,8 @@ declare namespace BrandUpdate {
834
842
  disabled: PropTypes.Requireable<boolean>;
835
843
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
836
844
  description: PropTypes.Requireable<string>;
845
+ 'aria-labelledby': PropTypes.Requireable<string>;
846
+ 'aria-label': PropTypes.Requireable<string>;
837
847
  modified: PropTypes.Requireable<boolean>;
838
848
  titlePosition: PropTypes.Requireable<string>;
839
849
  theme: PropTypes.Requireable<string>;
@@ -887,6 +897,7 @@ declare namespace BrandUpdate {
887
897
  modified: PropTypes.Requireable<boolean>;
888
898
  error: PropTypes.Requireable<boolean>;
889
899
  'aria-label': PropTypes.Requireable<string>;
900
+ 'aria-labelledby': PropTypes.Requireable<string>;
890
901
  }> | PropTypes.InferProps<{
891
902
  type: PropTypes.Requireable<string>;
892
903
  title: PropTypes.Validator<string>;
@@ -966,6 +977,8 @@ declare namespace BrandUpdate {
966
977
  disabled: PropTypes.Requireable<boolean>;
967
978
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
968
979
  description: PropTypes.Requireable<string>;
980
+ 'aria-labelledby': PropTypes.Requireable<string>;
981
+ 'aria-label': PropTypes.Requireable<string>;
969
982
  modified: PropTypes.Requireable<boolean>;
970
983
  titlePosition: PropTypes.Requireable<string>;
971
984
  theme: PropTypes.Requireable<string>;
@@ -1002,6 +1015,7 @@ declare namespace BrandUpdate {
1002
1015
  modified: PropTypes.Requireable<boolean>;
1003
1016
  error: PropTypes.Requireable<boolean>;
1004
1017
  'aria-label': PropTypes.Requireable<string>;
1018
+ 'aria-labelledby': PropTypes.Requireable<string>;
1005
1019
  }> | PropTypes.InferProps<{
1006
1020
  type: PropTypes.Requireable<string>;
1007
1021
  title: PropTypes.Validator<string>;
@@ -1106,6 +1120,8 @@ declare namespace BrandUpdate {
1106
1120
  disabled: PropTypes.Requireable<boolean>;
1107
1121
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
1108
1122
  description: PropTypes.Requireable<string>;
1123
+ 'aria-labelledby': PropTypes.Requireable<string>;
1124
+ 'aria-label': PropTypes.Requireable<string>;
1109
1125
  modified: PropTypes.Requireable<boolean>;
1110
1126
  titlePosition: PropTypes.Requireable<string>;
1111
1127
  theme: PropTypes.Requireable<string>;
@@ -1590,6 +1606,8 @@ declare namespace BrandUpdate {
1590
1606
  disabled: PropTypes.Requireable<boolean>;
1591
1607
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
1592
1608
  description: PropTypes.Requireable<string>;
1609
+ 'aria-labelledby': PropTypes.Requireable<string>;
1610
+ 'aria-label': PropTypes.Requireable<string>;
1593
1611
  modified: PropTypes.Requireable<boolean>;
1594
1612
  titlePosition: PropTypes.Requireable<string>;
1595
1613
  theme: PropTypes.Requireable<string>;
@@ -47,6 +47,8 @@ declare namespace Dashboard {
47
47
  disabled: PropTypes.Requireable<boolean>;
48
48
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
49
49
  description: PropTypes.Requireable<string>;
50
+ 'aria-labelledby': PropTypes.Requireable<string>;
51
+ 'aria-label': PropTypes.Requireable<string>;
50
52
  modified: PropTypes.Requireable<boolean>;
51
53
  titlePosition: PropTypes.Requireable<string>;
52
54
  theme: PropTypes.Requireable<string>;
@@ -67,6 +67,7 @@ declare namespace SearchPage {
67
67
  modified: PropTypes.Requireable<boolean>;
68
68
  error: PropTypes.Requireable<boolean>;
69
69
  'aria-label': PropTypes.Requireable<string>;
70
+ 'aria-labelledby': PropTypes.Requireable<string>;
70
71
  }>>;
71
72
  onSearch: PropTypes.Requireable<(...args: any[]) => any>;
72
73
  onToggleFilters: PropTypes.Requireable<(...args: any[]) => any>;
@@ -74,6 +75,7 @@ declare namespace SearchPage {
74
75
  moreSortAriaLabel: PropTypes.Requireable<string>;
75
76
  moreFilterAriaLabel: PropTypes.Requireable<string>;
76
77
  filterGroupAriaLabel: PropTypes.Requireable<string>;
78
+ sortAriaLabel: PropTypes.Requireable<string>;
77
79
  }>>;
78
80
  const cards: PropTypes.Requireable<PropTypes.InferProps<{
79
81
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
@@ -111,6 +113,7 @@ declare namespace SearchPage {
111
113
  const moreSortAriaLabel: PropTypes.Requireable<string>;
112
114
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
113
115
  const filterGroupAriaLabel: PropTypes.Requireable<string>;
116
+ const sortAriaLabel: PropTypes.Requireable<string>;
114
117
  }
115
118
  }
116
119
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAoDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAsDC"}
@@ -37,7 +37,8 @@ const SearchPage = (props, context) => {
37
37
  recommendations,
38
38
  moreSortAriaLabel,
39
39
  moreFilterAriaLabel,
40
- filterGroupAriaLabel
40
+ filterGroupAriaLabel,
41
+ sortAriaLabel
41
42
  } = props;
42
43
  const {
43
44
  skin
@@ -59,7 +60,8 @@ const SearchPage = (props, context) => {
59
60
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_filters.default, _extends({}, searchFilters, {
60
61
  moreSortAriaLabel: moreSortAriaLabel,
61
62
  moreFilterAriaLabel: moreFilterAriaLabel,
62
- filterGroupAriaLabel: filterGroupAriaLabel
63
+ filterGroupAriaLabel: filterGroupAriaLabel,
64
+ sortAriaLabel: sortAriaLabel
63
65
  })), /*#__PURE__*/_react.default.createElement("div", {
64
66
  "data-name": "searchResult",
65
67
  className: _style.default.cardsWrapper
@@ -81,7 +83,8 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
81
83
  recommendations: _propTypes.default.shape(_cardsList.default.propTypes),
82
84
  moreSortAriaLabel: _propTypes.default.string,
83
85
  moreFilterAriaLabel: _propTypes.default.string,
84
- filterGroupAriaLabel: _propTypes.default.string
86
+ filterGroupAriaLabel: _propTypes.default.string,
87
+ sortAriaLabel: _propTypes.default.string
85
88
  } : {};
86
89
  var _default = SearchPage;
87
90
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;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EuB,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAQJ,SAAxB,CAHM;EAIrBrB,KAAK,EAAEsB,kBAAA,CAAUE,KAAV,CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBnB,YAAY,EAAEoB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBlB,eAAe,EAAEmB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBjB,iBAAiB,EAAEkB,kBAAA,CAAUC,MAPR;EAQrBlB,mBAAmB,EAAEiB,kBAAA,CAAUC,MARV;EASrBjB,oBAAoB,EAAEgB,kBAAA,CAAUC;AATX,CAAvB;eAYe5B,U"}
1
+ {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel,\n sortAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n sortAriaLabel={sortAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string,\n sortAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC,mBARI;IASJC,oBATI;IAUJC;EAVI,IAWFX,KAXJ;EAaA,MAAM;IAACY;EAAD,IAASX,OAAf;EACA,MAAMY,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQP,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,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,SAAvB,CALO;EAMrBnB,eAAe,EAAEoB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBlB,iBAAiB,EAAEmB,kBAAA,CAAUC,MAPR;EAQrBnB,mBAAmB,EAAEkB,kBAAA,CAAUC,MARV;EASrBlB,oBAAoB,EAAEiB,kBAAA,CAAUC,MATX;EAUrBjB,aAAa,EAAEgB,kBAAA,CAAUC;AAVJ,CAAvB;eAae7B,U"}
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "* Obavezna polja",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Pitanje {{headerStepValue}}",
85
- "current_question": "Pitanje {{headerStepValue}} je trenutno pitanje",
86
84
  "correct_question": "Pitanje {{headerStepValue}} je tačno",
87
85
  "incorrect_question": "Pitanje {{headerStepValue}} je netačno",
88
86
  "not_answered_question": "Pitanje {{headerStepValue}} još nije odgovoreno"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Otázka {{headerStepValue}}",
85
- "current_question": "Otázka {{headerStepValue}} je aktuální otázka",
86
84
  "correct_question": "Otázka {{headerStepValue}} je správná",
87
85
  "incorrect_question": "Otázka {{headerStepValue}} je nesprávná",
88
86
  "not_answered_question": "Otázka {{headerStepValue}} zatím není zodpovězena"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Frage {{headerStepValue}}",
85
- "current_question": "Frage {{headerStepValue}} ist die aktuelle Frage",
86
84
  "correct_question": "Frage {{headerStepValue}} ist richtig",
87
85
  "incorrect_question": "Frage {{headerStepValue}} ist falsch",
88
86
  "not_answered_question": "Frage {{headerStepValue}} ist noch nicht beantwortet"
@@ -81,10 +81,13 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Question {{headerStepValue}}",
85
- "current_question": "Question {{headerStepValue}} is the current question",
86
- "correct_question": "Question {{headerStepValue}} is correct",
87
- "incorrect_question": "Question {{headerStepValue}} is incorrect",
88
- "not_answered_question": "Question {{headerStepValue}} is not answered yet"
84
+ "correct_question": "{{current}}question {{headerStepValue}} is correct",
85
+ "incorrect_question": "{{current}}question {{headerStepValue}} is incorrect",
86
+ "not_answered_question": "{{current}}question {{headerStepValue}} is not answered yet"
87
+ },
88
+ "bulk_import": {
89
+ "errors_number": "bulk import errors number is {{bulkImportErrorsNumber}}",
90
+ "valid_scorm": "scorm file is valid",
91
+ "invalid_scorm": "scorm file is not valid"
89
92
  }
90
93
  }
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Pregunta {{headerStepValue}}",
85
- "current_question": "Pregunta {{headerStepValue}} es la pregunta actual",
86
84
  "correct_question": "La pregunta {{headerStepValue}} es correcta",
87
85
  "incorrect_question": "La pregunta {{headerStepValue}} es incorrecta",
88
86
  "not_answered_question": "La pregunta {{headerStepValue}} aún no ha sido respondida"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Kohustuslikud väljad",
82
82
  "something_went_wrong": "Oih! Midagi läks viltu.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Küsimus {{headerStepValue}}",
85
- "current_question": "Küsimus {{headerStepValue}} on praegune küsimus",
86
84
  "correct_question": "Küsimus {{headerStepValue}} on õige",
87
85
  "incorrect_question": "Küsimus {{headerStepValue}} on vale",
88
86
  "not_answered_question": "Küsimusele {{headerStepValue}} pole veel vastust"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "* Champs obligatoires",
82
82
  "something_went_wrong": "Oh Snap! Quelque chose a mal tourné.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Question {{headerStepValue}}",
85
- "current_question": "La question {{headerStepValue}} est la question actuelle",
86
84
  "correct_question": "La question {{headerStepValue}} est correcte",
87
85
  "incorrect_question": "La question {{headerStepValue}} est incorrecte",
88
86
  "not_answered_question": "La question {{headerStepValue}} n'a pas encore de réponse"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Obavezna polja",
82
82
  "something_went_wrong": "Ajoj! Nešto je otišlo ukrivo.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Pitanje {{headerStepValue}}",
85
- "current_question": "Pitanje {{headerStepValue}} je trenutno pitanje",
86
84
  "correct_question": "Pitanje {{headerStepValue}} je točno",
87
85
  "incorrect_question": "Pitanje {{headerStepValue}} je netočno",
88
86
  "not_answered_question": "Na pitanje {{headerStepValue}} još nije odgovoreno"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Kérdés {{headerStepValue}}",
85
- "current_question": "Az {{headerStepValue}} kérdés az aktuális kérdés",
86
84
  "correct_question": "Az {{headerStepValue}} kérdés helyes",
87
85
  "incorrect_question": "Az {{headerStepValue}} kérdés helytelen",
88
86
  "not_answered_question": "Az {{headerStepValue}} kérdésre még nincs válasz"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Պարտադիր դաշտեր",
82
82
  "something_went_wrong": "Վա՜յ: Ինչ որ բան այնպես չգնաց.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Հարց {{headerStepValue}}",
85
- "current_question": "{{headerStepValue}} հարցը ընթացիկ հարցն է",
86
84
  "correct_question": "{{headerStepValue}} հարցը ճիշտ է",
87
85
  "incorrect_question": "Հարցը {{headerStepValue}} սխալ է",
88
86
  "not_answered_question": "Հարցին {{headerStepValue}} դեռ պատասխանված չէ"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Domanda {{headerStepValue}}",
85
- "current_question": "La domanda {{headerStepValue}} è la domanda attuale",
86
84
  "correct_question": "La domanda {{headerStepValue}} è corretta",
87
85
  "incorrect_question": "La domanda {{headerStepValue}} non è corretta",
88
86
  "not_answered_question": "La domanda {{headerStepValue}} non ha ancora ricevuto risposta"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "質問 {{headerStepValue}}",
85
- "current_question": "質問 {{headerStepValue}} が現在の質問です",
86
84
  "correct_question": "問題 {{headerStepValue}} は正解です",
87
85
  "incorrect_question": "質問 {{headerStepValue}} は不正解です",
88
86
  "not_answered_question": "質問 {{headerStepValue}} はまだ回答されていません"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "질문 {{headerStepValue}}",
85
- "current_question": "질문 {{headerStepValue}}이 현재 질문입니다.",
86
84
  "correct_question": "질문 {{headerStepValue}}이 맞습니다.",
87
85
  "incorrect_question": "질문 {{headerStepValue}}이 올바르지 않습니다.",
88
86
  "not_answered_question": "질문 {{headerStepValue}}은 아직 답변되지 않았습니다."
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Vraag {{headerStepValue}}",
85
- "current_question": "Vraag {{headerStepValue}} is de huidige vraag",
86
84
  "correct_question": "Vraag {{headerStepValue}} is juist",
87
85
  "incorrect_question": "Vraag {{headerStepValue}} is onjuist",
88
86
  "not_answered_question": "Vraag {{headerStepValue}} is nog niet beantwoord"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Pytanie {{headerStepValue}}",
85
- "current_question": "Pytanie {{headerStepValue}} jest aktualnym pytaniem",
86
84
  "correct_question": "Pytanie {{headerStepValue}} jest poprawne",
87
85
  "incorrect_question": "Pytanie {{headerStepValue}} jest nieprawidłowe",
88
86
  "not_answered_question": "Na pytanie {{headerStepValue}} nie ma jeszcze odpowiedzi"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Pergunta {{headerStepValue}}",
85
- "current_question": "A pergunta {{headerStepValue}} é a pergunta atual",
86
84
  "correct_question": "A questão {{headerStepValue}} está correta",
87
85
  "incorrect_question": "A pergunta {{headerStepValue}} está incorreta",
88
86
  "not_answered_question": "A pergunta {{headerStepValue}} ainda não foi respondida"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Întrebare {{headerStepValue}}",
85
- "current_question": "Întrebarea {{headerStepValue}} este întrebarea curentă",
86
84
  "correct_question": "Întrebarea {{headerStepValue}} este corectă",
87
85
  "incorrect_question": "Întrebarea {{headerStepValue}} este incorectă",
88
86
  "not_answered_question": "Întrebarea {{headerStepValue}} nu a primit încă răspuns"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Обязательные поля",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Вопрос {{headerStepValue}}",
85
- "current_question": "Вопрос {{headerStepValue}} — текущий вопрос",
86
84
  "correct_question": "Вопрос {{headerStepValue}} правильный",
87
85
  "incorrect_question": "Вопрос {{headerStepValue}} неверен",
88
86
  "not_answered_question": "На вопрос {{headerStepValue}} пока нет ответа"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Povinné polia",
82
82
  "something_went_wrong": "Och! Niečo sa pokazilo.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Otázka {{headerStepValue}}",
85
- "current_question": "Otázka {{headerStepValue}} je aktuálna otázka",
86
84
  "correct_question": "Otázka {{headerStepValue}} je správna",
87
85
  "incorrect_question": "Otázka {{headerStepValue}} je nesprávna",
88
86
  "not_answered_question": "Otázka {{headerStepValue}} zatiaľ nie je zodpovedaná"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*ข้อมูลที่จำเป็นต้องกรอก",
82
82
  "something_went_wrong": "อ้าว! มีสิ่งผิดปกติ",
83
83
  "review_header_step_item": {
84
- "aria_label": "คำถามข้อที่ {{headerStepValue}}",
85
- "current_question": "คำถามข้อที่ {{headerStepValue}} คือคำถามปัจจุบัน",
86
84
  "correct_question": "คำถามข้อที่ {{headerStepValue}} ถูกต้อง",
87
85
  "incorrect_question": "คำถามข้อที่ {{headerStepValue}} ไม่ถูกต้อง",
88
86
  "not_answered_question": "คำถามข้อที่ {{headerStepValue}} ยังไม่ได้ตอบ"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "* Mga patlang na ipinag-uutos",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Tanong {{headerStepValue}}",
85
- "current_question": "Tanong {{headerStepValue}} ang kasalukuyang tanong",
86
84
  "correct_question": "Tama ang tanong na {{headerStepValue}}",
87
85
  "incorrect_question": "Ang tanong na {{headerStepValue}} ay hindi tama",
88
86
  "not_answered_question": "Ang tanong na {{headerStepValue}} ay hindi pa nasasagot"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Soru {{headerStepValue}}",
85
- "current_question": "Soru {{headerStepValue}} şu anki soru",
86
84
  "correct_question": "{{headerStepValue}} sorusu doğru",
87
85
  "incorrect_question": "{{headerStepValue}} sorusu yanlış",
88
86
  "not_answered_question": "{{headerStepValue}} sorusu henüz cevaplanmadı"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Питання {{headerStepValue}}",
85
- "current_question": "Питання {{headerStepValue}} є поточним питанням",
86
84
  "correct_question": "Питання {{headerStepValue}} правильне",
87
85
  "incorrect_question": "Питання {{headerStepValue}} некоректне",
88
86
  "not_answered_question": "На запитання {{headerStepValue}} ще немає відповіді"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "Câu hỏi {{headerStepValue}}",
85
- "current_question": "Câu hỏi {{headerStepValue}} là câu hỏi hiện tại",
86
84
  "correct_question": "Câu {{headerStepValue}} đúng không",
87
85
  "incorrect_question": "Câu {{headerStepValue}} sai",
88
86
  "not_answered_question": "Câu hỏi {{headerStepValue}} chưa có câu trả lời"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "问题{{headerStepValue}}",
85
- "current_question": "问题 {{headerStepValue}} 是当前问题",
86
84
  "correct_question": "问题{{headerStepValue}}是正确的",
87
85
  "incorrect_question": "问题 {{headerStepValue}} 不正确",
88
86
  "not_answered_question": "问题 {{headerStepValue}} 尚未回答"
@@ -81,8 +81,6 @@
81
81
  "mandatory_fields": "*Mandatory fields",
82
82
  "something_went_wrong": "Oh Snap! Something went wrong.",
83
83
  "review_header_step_item": {
84
- "aria_label": "問題{{headerStepValue}}",
85
- "current_question": "問題 {{headerStepValue}} 是當前問題",
86
84
  "correct_question": "問題{{headerStepValue}}是正確的",
87
85
  "incorrect_question": "問題 {{headerStepValue}} 不正確",
88
86
  "not_answered_question": "問題 {{headerStepValue}} 尚未回答"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.11.1-alpha.0+60f4f52e0",
3
+ "version": "11.11.1-alpha.3+aa35174e3",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -56,7 +56,7 @@
56
56
  "Soualmi Djamel <djamel.soualmi@coorpacademy.com>"
57
57
  ],
58
58
  "dependencies": {
59
- "@coorpacademy/nova-icons": "4.1.3",
59
+ "@coorpacademy/nova-icons": "4.1.4-alpha.13+aa35174e3",
60
60
  "@coorpacademy/react-native-animation": "1.0.3",
61
61
  "@jwplayer/jwplayer-react": "^1.1.0",
62
62
  "@types/react": "^17.0.50",
@@ -162,5 +162,5 @@
162
162
  "last 2 versions",
163
163
  "IE 11"
164
164
  ],
165
- "gitHead": "60f4f52e073288c04a677ac41a94fa0991e4d5ab"
165
+ "gitHead": "aa35174e39a4e08dd12521c2436094191f0ee354"
166
166
  }
@@ -1,19 +0,0 @@
1
- /// <reference types="react" />
2
- import { WebContextValues } from '../provider/web-context';
3
- import { BattleOpponentProps } from './prop-types';
4
- declare const BattleOpponent: {
5
- ({ isAlreadyEngaged, isRandom, userAvatarSrc, onClick, displayName, tooltipText }: BattleOpponentProps, legacyContext: WebContextValues): JSX.Element;
6
- propTypes: {
7
- isAlreadyEngaged: import("prop-types").Requireable<boolean>;
8
- isRandom: import("prop-types").Requireable<boolean>;
9
- userAvatarSrc: import("prop-types").Requireable<string>;
10
- onClick: import("prop-types").Requireable<(...args: any[]) => any>;
11
- displayName: import("prop-types").Requireable<string>;
12
- tooltipText: import("prop-types").Requireable<string>;
13
- };
14
- contextTypes: {
15
- translate: import("prop-types").Requireable<(...args: any[]) => any>;
16
- };
17
- };
18
- export default BattleOpponent;
19
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/battle-opponent/index.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,gBAAgB,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAkB,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAG5D,QAAA,MAAM,cAAc;uFAQf,mBAAmB,iBACP,gBAAgB;;;;;;;;;;;;CAsChC,CAAC;AAQF,eAAe,cAAc,CAAC"}
@@ -1,52 +0,0 @@
1
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
-
3
- import React, { useMemo } from 'react';
4
- import classnames from 'classnames';
5
- import { NovaCompositionNavigationArrowRight as ArrowRight } from '@coorpacademy/nova-icons';
6
- import ToolTip from '../tooltip';
7
- import Provider, { GetTranslateFromContext } from '../provider';
8
- import propTypes from './prop-types';
9
- import style from './style.css';
10
-
11
- const BattleOpponent = ({
12
- isAlreadyEngaged,
13
- isRandom,
14
- userAvatarSrc,
15
- onClick,
16
- displayName,
17
- tooltipText
18
- }, legacyContext) => {
19
- const translate = GetTranslateFromContext(legacyContext);
20
- const wrapperClassnames = useMemo(() => classnames(style.card, style['opponent-card'], isRandom ? style.random : null), [isRandom]);
21
- const displayNameClassnames = useMemo(() => classnames(style.name, isAlreadyEngaged ? style.alreadyEngaged : null), [isAlreadyEngaged]);
22
- return /*#__PURE__*/React.createElement("div", _extends({}, !isAlreadyEngaged && {
23
- onClick
24
- }, {
25
- className: wrapperClassnames,
26
- "data-testid": "battle-opponent-wrapper"
27
- }), /*#__PURE__*/React.createElement("div", {
28
- className: style.avatar
29
- }, isRandom ? null : /*#__PURE__*/React.createElement("img", {
30
- src: userAvatarSrc,
31
- "aria-hidden": "true"
32
- })), /*#__PURE__*/React.createElement("p", {
33
- className: displayNameClassnames
34
- }, " ", displayName), isAlreadyEngaged ? /*#__PURE__*/React.createElement(ToolTip, {
35
- fontSize: 12,
36
- iconSize: "big",
37
- TooltipContent: tooltipText,
38
- closeToolTipInformationTextAriaLabel: translate('Press the escape key to close the information text'),
39
- iconContainerClassName: style.infoIconTooltip
40
- }) : /*#__PURE__*/React.createElement(ArrowRight, {
41
- className: style.rightArrow,
42
- width: 16,
43
- height: 16
44
- }));
45
- };
46
-
47
- BattleOpponent.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
48
- BattleOpponent.contextTypes = {
49
- translate: Provider.childContextTypes.translate
50
- };
51
- export default BattleOpponent;
52
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","names":["React","useMemo","classnames","NovaCompositionNavigationArrowRight","ArrowRight","ToolTip","Provider","GetTranslateFromContext","propTypes","style","BattleOpponent","isAlreadyEngaged","isRandom","userAvatarSrc","onClick","displayName","tooltipText","legacyContext","translate","wrapperClassnames","card","random","displayNameClassnames","name","alreadyEngaged","avatar","infoIconTooltip","rightArrow","contextTypes","childContextTypes"],"sources":["../../../src/atom/battle-opponent/index.tsx"],"sourcesContent":["import React, {useMemo} from 'react';\nimport classnames from 'classnames';\nimport {NovaCompositionNavigationArrowRight as ArrowRight} from '@coorpacademy/nova-icons';\nimport ToolTip from '../tooltip';\nimport Provider, {GetTranslateFromContext} from '../provider';\nimport {WebContextValues} from '../provider/web-context';\nimport propTypes, {BattleOpponentProps} from './prop-types';\nimport style from './style.css';\n\nconst BattleOpponent = (\n {\n isAlreadyEngaged,\n isRandom,\n userAvatarSrc,\n onClick,\n displayName,\n tooltipText\n }: BattleOpponentProps,\n legacyContext: WebContextValues\n) => {\n const translate: Required<WebContextValues>['translate'] = GetTranslateFromContext(legacyContext);\n const wrapperClassnames = useMemo(\n () => classnames(style.card, style['opponent-card'], isRandom ? style.random : null),\n [isRandom]\n );\n\n const displayNameClassnames = useMemo(\n () => classnames(style.name, isAlreadyEngaged ? style.alreadyEngaged : null),\n [isAlreadyEngaged]\n );\n\n return (\n <div\n {...(!isAlreadyEngaged && {onClick})}\n className={wrapperClassnames}\n data-testid=\"battle-opponent-wrapper\"\n >\n <div className={style.avatar}>\n {isRandom ? null : <img src={userAvatarSrc} aria-hidden=\"true\" />}\n </div>\n <p className={displayNameClassnames}> {displayName}</p>\n {isAlreadyEngaged ? (\n <ToolTip\n fontSize={12}\n iconSize=\"big\"\n TooltipContent={tooltipText}\n closeToolTipInformationTextAriaLabel={translate(\n 'Press the escape key to close the information text'\n )}\n iconContainerClassName={style.infoIconTooltip}\n />\n ) : (\n <ArrowRight className={style.rightArrow} width={16} height={16} />\n )}\n </div>\n );\n};\n\nBattleOpponent.propTypes = propTypes;\n\nBattleOpponent.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default BattleOpponent;\n"],"mappings":";;AAAA,OAAOA,KAAP,IAAeC,OAAf,QAA6B,OAA7B;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SAAQC,mCAAmC,IAAIC,UAA/C,QAAgE,0BAAhE;AACA,OAAOC,OAAP,MAAoB,YAApB;AACA,OAAOC,QAAP,IAAkBC,uBAAlB,QAAgD,aAAhD;AAEA,OAAOC,SAAP,MAA6C,cAA7C;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,cAAc,GAAG,CACrB;EACEC,gBADF;EAEEC,QAFF;EAGEC,aAHF;EAIEC,OAJF;EAKEC,WALF;EAMEC;AANF,CADqB,EASrBC,aATqB,KAUlB;EACH,MAAMC,SAAkD,GAAGX,uBAAuB,CAACU,aAAD,CAAlF;EACA,MAAME,iBAAiB,GAAGlB,OAAO,CAC/B,MAAMC,UAAU,CAACO,KAAK,CAACW,IAAP,EAAaX,KAAK,CAAC,eAAD,CAAlB,EAAqCG,QAAQ,GAAGH,KAAK,CAACY,MAAT,GAAkB,IAA/D,CADe,EAE/B,CAACT,QAAD,CAF+B,CAAjC;EAKA,MAAMU,qBAAqB,GAAGrB,OAAO,CACnC,MAAM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