@coorpacademy/components 11.36.5-alpha.2 → 11.36.5

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 (220) hide show
  1. package/es/atom/button-link/index.d.ts +2 -0
  2. package/es/atom/button-link/index.d.ts.map +1 -1
  3. package/es/atom/button-link/index.js +6 -5
  4. package/es/atom/button-link/index.js.map +1 -1
  5. package/es/atom/button-link/types.d.ts +3 -0
  6. package/es/atom/button-link/types.d.ts.map +1 -1
  7. package/es/atom/button-link/types.js +3 -1
  8. package/es/atom/button-link/types.js.map +1 -1
  9. package/es/atom/button-menu/index.d.ts +2 -0
  10. package/es/atom/button-menu/index.d.ts.map +1 -1
  11. package/es/atom/button-menu/index.js +9 -3
  12. package/es/atom/button-menu/index.js.map +1 -1
  13. package/es/atom/button-menu/style.css +22 -0
  14. package/es/atom/button-menu/types.d.ts +5 -0
  15. package/es/atom/button-menu/types.d.ts.map +1 -1
  16. package/es/atom/button-menu/types.js +4 -2
  17. package/es/atom/button-menu/types.js.map +1 -1
  18. package/es/atom/checkbox-with-title/index.d.ts.map +1 -1
  19. package/es/atom/checkbox-with-title/index.js +2 -2
  20. package/es/atom/checkbox-with-title/index.js.map +1 -1
  21. package/es/atom/radio-with-title/index.d.ts +2 -0
  22. package/es/atom/radio-with-title/index.d.ts.map +1 -1
  23. package/es/atom/radio-with-title/types.d.ts +2 -0
  24. package/es/atom/radio-with-title/types.d.ts.map +1 -1
  25. package/es/atom/tag/index.d.ts +1 -1
  26. package/es/atom/tag/index.d.ts.map +1 -1
  27. package/es/atom/tag/index.js +3 -14
  28. package/es/atom/tag/index.js.map +1 -1
  29. package/es/atom/title/index.d.ts +2 -0
  30. package/es/molecule/bullet-point-menu-button/index.d.ts +1 -0
  31. package/es/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  32. package/es/molecule/bullet-point-menu-button/types.d.ts +1 -0
  33. package/es/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  34. package/es/molecule/button-menu-action/index.d.ts +5 -0
  35. package/es/molecule/button-menu-action/index.d.ts.map +1 -1
  36. package/es/molecule/button-menu-action/index.js +5 -2
  37. package/es/molecule/button-menu-action/index.js.map +1 -1
  38. package/es/molecule/button-menu-action/types.d.ts +9 -3
  39. package/es/molecule/button-menu-action/types.d.ts.map +1 -1
  40. package/es/molecule/button-menu-action/types.js +2 -1
  41. package/es/molecule/button-menu-action/types.js.map +1 -1
  42. package/es/molecule/cm-popin/types.d.ts +24 -0
  43. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  44. package/es/molecule/expandible-actionable-table/index.d.ts +4 -0
  45. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  46. package/es/molecule/expandible-actionable-table/types.d.ts +4 -0
  47. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  48. package/es/molecule/multi-filter-panel/index.js +2 -2
  49. package/es/molecule/multi-filter-panel/index.js.map +1 -1
  50. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  51. package/es/molecule/title-radio-wrapper/index.d.ts +2 -0
  52. package/es/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  53. package/es/molecule/title-radio-wrapper/types.d.ts +2 -0
  54. package/es/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  55. package/es/organism/content-skill-modal/index.d.ts +22 -0
  56. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  57. package/es/organism/content-skill-modal/types.d.ts +22 -0
  58. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  59. package/es/organism/filter-checkbox-and-search/index.d.ts +2 -2
  60. package/es/organism/filter-checkbox-and-search/index.js +5 -5
  61. package/es/organism/filter-checkbox-and-search/index.js.map +1 -1
  62. package/es/organism/header-with-actions/index.d.ts +3 -0
  63. package/es/organism/header-with-actions/index.d.ts.map +1 -1
  64. package/es/organism/header-with-actions/types.d.ts +3 -0
  65. package/es/organism/header-with-actions/types.d.ts.map +1 -1
  66. package/es/organism/icon-editor/index.d.ts +2 -0
  67. package/es/organism/icon-editor/index.d.ts.map +1 -1
  68. package/es/organism/icon-editor/types.d.ts +2 -0
  69. package/es/organism/icon-editor/types.d.ts.map +1 -1
  70. package/es/organism/list-items/index.d.ts +22 -0
  71. package/es/organism/mooc-header/index.d.ts +1 -0
  72. package/es/organism/mooc-header/index.d.ts.map +1 -1
  73. package/es/organism/mooc-header/index.js +7 -3
  74. package/es/organism/mooc-header/index.js.map +1 -1
  75. package/es/organism/mooc-header/style.css +7 -0
  76. package/es/organism/rewards-form/index.d.ts +2 -0
  77. package/es/organism/select-opponents/index.d.ts +2 -0
  78. package/es/organism/select-opponents/index.d.ts.map +1 -1
  79. package/es/organism/select-opponents/types.d.ts +2 -0
  80. package/es/organism/select-opponents/types.d.ts.map +1 -1
  81. package/es/organism/setup-header/index.d.ts +8 -0
  82. package/es/organism/title-and-input/index.d.ts +6 -0
  83. package/es/organism/title-and-input/index.d.ts.map +1 -1
  84. package/es/organism/title-and-input/types.d.ts +6 -0
  85. package/es/organism/title-and-input/types.d.ts.map +1 -1
  86. package/es/organism/wizard-contents/index.d.ts +10 -0
  87. package/es/template/app-player/loading/index.d.ts +24 -0
  88. package/es/template/app-player/player/index.d.ts +48 -0
  89. package/es/template/app-player/player/slides/index.d.ts +24 -0
  90. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  91. package/es/template/app-player/popin-correction/index.d.ts +24 -0
  92. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  93. package/es/template/app-player/popin-end/index.d.ts +24 -0
  94. package/es/template/app-review/index.d.ts +24 -0
  95. package/es/template/app-review/index.d.ts.map +1 -1
  96. package/es/template/app-review/player/prop-types.d.ts +24 -0
  97. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  98. package/es/template/app-review/prop-types.d.ts +24 -0
  99. package/es/template/app-review/prop-types.d.ts.map +1 -1
  100. package/es/template/back-office/brand-create/index.d.ts +8 -0
  101. package/es/template/back-office/brand-create/index.d.ts.map +1 -1
  102. package/es/template/back-office/brand-list/index.d.ts +8 -0
  103. package/es/template/back-office/brand-list/index.d.ts.map +1 -1
  104. package/es/template/back-office/brand-update/index.d.ts +89 -0
  105. package/es/template/back-office/dashboard-preview/index.d.ts +8 -0
  106. package/es/template/back-office/layout/index.d.ts +8 -0
  107. package/es/template/back-office/layout/index.d.ts.map +1 -1
  108. package/es/template/common/dashboard/index.d.ts +48 -0
  109. package/es/template/common/search-page/index.d.ts +24 -0
  110. package/es/template/external-course/index.d.ts +24 -0
  111. package/lib/atom/button-link/index.d.ts +2 -0
  112. package/lib/atom/button-link/index.d.ts.map +1 -1
  113. package/lib/atom/button-link/index.js +6 -5
  114. package/lib/atom/button-link/index.js.map +1 -1
  115. package/lib/atom/button-link/types.d.ts +3 -0
  116. package/lib/atom/button-link/types.d.ts.map +1 -1
  117. package/lib/atom/button-link/types.js +3 -1
  118. package/lib/atom/button-link/types.js.map +1 -1
  119. package/lib/atom/button-menu/index.d.ts +2 -0
  120. package/lib/atom/button-menu/index.d.ts.map +1 -1
  121. package/lib/atom/button-menu/index.js +9 -3
  122. package/lib/atom/button-menu/index.js.map +1 -1
  123. package/lib/atom/button-menu/style.css +22 -0
  124. package/lib/atom/button-menu/types.d.ts +5 -0
  125. package/lib/atom/button-menu/types.d.ts.map +1 -1
  126. package/lib/atom/button-menu/types.js +4 -2
  127. package/lib/atom/button-menu/types.js.map +1 -1
  128. package/lib/atom/checkbox-with-title/index.d.ts.map +1 -1
  129. package/lib/atom/checkbox-with-title/index.js +2 -2
  130. package/lib/atom/checkbox-with-title/index.js.map +1 -1
  131. package/lib/atom/radio-with-title/index.d.ts +2 -0
  132. package/lib/atom/radio-with-title/index.d.ts.map +1 -1
  133. package/lib/atom/radio-with-title/types.d.ts +2 -0
  134. package/lib/atom/radio-with-title/types.d.ts.map +1 -1
  135. package/lib/atom/tag/index.d.ts +1 -1
  136. package/lib/atom/tag/index.d.ts.map +1 -1
  137. package/lib/atom/tag/index.js +3 -14
  138. package/lib/atom/tag/index.js.map +1 -1
  139. package/lib/atom/title/index.d.ts +2 -0
  140. package/lib/molecule/bullet-point-menu-button/index.d.ts +1 -0
  141. package/lib/molecule/bullet-point-menu-button/index.d.ts.map +1 -1
  142. package/lib/molecule/bullet-point-menu-button/types.d.ts +1 -0
  143. package/lib/molecule/bullet-point-menu-button/types.d.ts.map +1 -1
  144. package/lib/molecule/button-menu-action/index.d.ts +5 -0
  145. package/lib/molecule/button-menu-action/index.d.ts.map +1 -1
  146. package/lib/molecule/button-menu-action/index.js +5 -2
  147. package/lib/molecule/button-menu-action/index.js.map +1 -1
  148. package/lib/molecule/button-menu-action/types.d.ts +9 -3
  149. package/lib/molecule/button-menu-action/types.d.ts.map +1 -1
  150. package/lib/molecule/button-menu-action/types.js +2 -1
  151. package/lib/molecule/button-menu-action/types.js.map +1 -1
  152. package/lib/molecule/cm-popin/types.d.ts +24 -0
  153. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  154. package/lib/molecule/expandible-actionable-table/index.d.ts +4 -0
  155. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  156. package/lib/molecule/expandible-actionable-table/types.d.ts +4 -0
  157. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  158. package/lib/molecule/multi-filter-panel/index.js.map +1 -1
  159. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  160. package/lib/molecule/title-radio-wrapper/index.d.ts +2 -0
  161. package/lib/molecule/title-radio-wrapper/index.d.ts.map +1 -1
  162. package/lib/molecule/title-radio-wrapper/types.d.ts +2 -0
  163. package/lib/molecule/title-radio-wrapper/types.d.ts.map +1 -1
  164. package/lib/organism/content-skill-modal/index.d.ts +22 -0
  165. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  166. package/lib/organism/content-skill-modal/types.d.ts +22 -0
  167. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  168. package/lib/organism/filter-checkbox-and-search/index.d.ts +2 -2
  169. package/lib/organism/filter-checkbox-and-search/index.js +5 -5
  170. package/lib/organism/filter-checkbox-and-search/index.js.map +1 -1
  171. package/lib/organism/header-with-actions/index.d.ts +3 -0
  172. package/lib/organism/header-with-actions/index.d.ts.map +1 -1
  173. package/lib/organism/header-with-actions/types.d.ts +3 -0
  174. package/lib/organism/header-with-actions/types.d.ts.map +1 -1
  175. package/lib/organism/icon-editor/index.d.ts +2 -0
  176. package/lib/organism/icon-editor/index.d.ts.map +1 -1
  177. package/lib/organism/icon-editor/types.d.ts +2 -0
  178. package/lib/organism/icon-editor/types.d.ts.map +1 -1
  179. package/lib/organism/list-items/index.d.ts +22 -0
  180. package/lib/organism/mooc-header/index.d.ts +1 -0
  181. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  182. package/lib/organism/mooc-header/index.js +7 -3
  183. package/lib/organism/mooc-header/index.js.map +1 -1
  184. package/lib/organism/mooc-header/style.css +7 -0
  185. package/lib/organism/rewards-form/index.d.ts +2 -0
  186. package/lib/organism/select-opponents/index.d.ts +2 -0
  187. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  188. package/lib/organism/select-opponents/types.d.ts +2 -0
  189. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  190. package/lib/organism/setup-header/index.d.ts +8 -0
  191. package/lib/organism/title-and-input/index.d.ts +6 -0
  192. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  193. package/lib/organism/title-and-input/types.d.ts +6 -0
  194. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  195. package/lib/organism/wizard-contents/index.d.ts +10 -0
  196. package/lib/template/app-player/loading/index.d.ts +24 -0
  197. package/lib/template/app-player/player/index.d.ts +48 -0
  198. package/lib/template/app-player/player/slides/index.d.ts +24 -0
  199. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  200. package/lib/template/app-player/popin-correction/index.d.ts +24 -0
  201. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  202. package/lib/template/app-player/popin-end/index.d.ts +24 -0
  203. package/lib/template/app-review/index.d.ts +24 -0
  204. package/lib/template/app-review/index.d.ts.map +1 -1
  205. package/lib/template/app-review/player/prop-types.d.ts +24 -0
  206. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  207. package/lib/template/app-review/prop-types.d.ts +24 -0
  208. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  209. package/lib/template/back-office/brand-create/index.d.ts +8 -0
  210. package/lib/template/back-office/brand-create/index.d.ts.map +1 -1
  211. package/lib/template/back-office/brand-list/index.d.ts +8 -0
  212. package/lib/template/back-office/brand-list/index.d.ts.map +1 -1
  213. package/lib/template/back-office/brand-update/index.d.ts +89 -0
  214. package/lib/template/back-office/dashboard-preview/index.d.ts +8 -0
  215. package/lib/template/back-office/layout/index.d.ts +8 -0
  216. package/lib/template/back-office/layout/index.d.ts.map +1 -1
  217. package/lib/template/common/dashboard/index.d.ts +48 -0
  218. package/lib/template/common/search-page/index.d.ts +24 -0
  219. package/lib/template/external-course/index.d.ts +24 -0
  220. package/package.json +2 -2
@@ -41,6 +41,8 @@ declare const ContentSkillModalPropTypes: {
41
41
  customStyle: PropTypes.Requireable<{
42
42
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
43
43
  }>;
44
+ useTitle: PropTypes.Requireable<boolean>;
45
+ customLabelClassName: PropTypes.Requireable<string>;
44
46
  }>>;
45
47
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
46
48
  title: PropTypes.Requireable<string>;
@@ -193,6 +195,8 @@ declare const ContentSkillModalPropTypes: {
193
195
  customStyle: PropTypes.Requireable<{
194
196
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
195
197
  }>;
198
+ useTitle: PropTypes.Requireable<boolean>;
199
+ customLabelClassName: PropTypes.Requireable<string>;
196
200
  }> | PropTypes.InferProps<{
197
201
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
198
202
  type: PropTypes.Requireable<string>;
@@ -230,6 +234,8 @@ declare const ContentSkillModalPropTypes: {
230
234
  customStyle: PropTypes.Requireable<{
231
235
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
232
236
  }>;
237
+ useTitle: PropTypes.Requireable<boolean>;
238
+ customLabelClassName: PropTypes.Requireable<string>;
233
239
  }>>>;
234
240
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
235
241
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -256,9 +262,11 @@ declare const ContentSkillModalPropTypes: {
256
262
  customStyle: PropTypes.Requireable<{
257
263
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
258
264
  }>;
265
+ customLabelClassName: PropTypes.Requireable<string>;
259
266
  }> | null | undefined)[]>;
260
267
  'data-name': PropTypes.Requireable<string>;
261
268
  'aria-label': PropTypes.Requireable<string>;
269
+ enableScroll: PropTypes.Requireable<boolean>;
262
270
  }>>>;
263
271
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
264
272
  ariaLabel: PropTypes.Requireable<string>;
@@ -269,6 +277,7 @@ declare const ContentSkillModalPropTypes: {
269
277
  type: PropTypes.Requireable<string>;
270
278
  primaryColor: PropTypes.Requireable<string>;
271
279
  closeOnClick: PropTypes.Requireable<boolean>;
280
+ enableScroll: PropTypes.Requireable<boolean>;
272
281
  }> | null | undefined>>;
273
282
  }>>;
274
283
  }> | PropTypes.InferProps<{
@@ -315,6 +324,7 @@ declare const ContentSkillModalPropTypes: {
315
324
  customStyle: PropTypes.Requireable<{
316
325
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
317
326
  }>;
327
+ customLabelClassName: PropTypes.Requireable<string>;
318
328
  }> | null | undefined)[]>;
319
329
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
320
330
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -362,6 +372,8 @@ declare const ContentSkillModalPropTypes: {
362
372
  customStyle: PropTypes.Requireable<{
363
373
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
364
374
  }>;
375
+ useTitle: PropTypes.Requireable<boolean>;
376
+ customLabelClassName: PropTypes.Requireable<string>;
365
377
  }> | PropTypes.InferProps<{
366
378
  componentType: PropTypes.Requireable<string>;
367
379
  'data-name': PropTypes.Requireable<string>;
@@ -392,6 +404,7 @@ declare const ContentSkillModalPropTypes: {
392
404
  customStyle: PropTypes.Requireable<{
393
405
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
394
406
  }>;
407
+ customLabelClassName: PropTypes.Requireable<string>;
395
408
  }> | null | undefined)[]>;
396
409
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
397
410
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -464,6 +477,8 @@ declare const ContentSkillModalPropTypes: {
464
477
  customStyle: PropTypes.Requireable<{
465
478
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
466
479
  }>;
480
+ useTitle: PropTypes.Requireable<boolean>;
481
+ customLabelClassName: PropTypes.Requireable<string>;
467
482
  }>>;
468
483
  required: PropTypes.Requireable<boolean>;
469
484
  }> | null | undefined>>;
@@ -530,6 +545,8 @@ declare const ContentSkillModalPropTypes: {
530
545
  customStyle: PropTypes.Requireable<{
531
546
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
532
547
  }>;
548
+ useTitle: PropTypes.Requireable<boolean>;
549
+ customLabelClassName: PropTypes.Requireable<string>;
533
550
  }> | null | undefined)[]>;
534
551
  buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
535
552
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -568,6 +585,8 @@ declare const ContentSkillModalPropTypes: {
568
585
  customStyle: PropTypes.Requireable<{
569
586
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
570
587
  }>;
588
+ useTitle: PropTypes.Requireable<boolean>;
589
+ customLabelClassName: PropTypes.Requireable<string>;
571
590
  }>>>;
572
591
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
573
592
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -594,9 +613,11 @@ declare const ContentSkillModalPropTypes: {
594
613
  customStyle: PropTypes.Requireable<{
595
614
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
596
615
  }>;
616
+ customLabelClassName: PropTypes.Requireable<string>;
597
617
  }> | null | undefined)[]>;
598
618
  'data-name': PropTypes.Requireable<string>;
599
619
  'aria-label': PropTypes.Requireable<string>;
620
+ enableScroll: PropTypes.Requireable<boolean>;
600
621
  }>>>;
601
622
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
602
623
  ariaLabel: PropTypes.Requireable<string>;
@@ -607,6 +628,7 @@ declare const ContentSkillModalPropTypes: {
607
628
  type: PropTypes.Requireable<string>;
608
629
  primaryColor: PropTypes.Requireable<string>;
609
630
  closeOnClick: PropTypes.Requireable<boolean>;
631
+ enableScroll: PropTypes.Requireable<boolean>;
610
632
  }>>;
611
633
  }>>>;
612
634
  filters: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,SAAS,MAAM,eAAe,CAAC;AACtC,OAAkC,EAChC,qBAAqB,EACtB,MAAM,8CAA8C,CAAC;AAStD,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAI/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,UAAU,GAAG;IAChB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IACpD,OAAO,EAAE,qBAAqB,CAAC;IAC/B,KAAK,EAAE,UAAU,CAAC;CACnB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { WebContextValues } from '../../atom/provider/web-context';
3
3
  import { FilterCheckboxAndSearchProps } from './props-types';
4
- declare const FilterCheckboxAndSearch: {
4
+ declare const FilterCkeckboxAndSearch: {
5
5
  (props: FilterCheckboxAndSearchProps, context: WebContextValues): JSX.Element;
6
6
  propTypes: {
7
7
  title: import("prop-types").Requireable<string>;
@@ -39,5 +39,5 @@ declare const FilterCheckboxAndSearch: {
39
39
  translate: import("prop-types").Requireable<(...args: any[]) => any>;
40
40
  };
41
41
  };
42
- export default FilterCheckboxAndSearch;
42
+ export default FilterCkeckboxAndSearch;
43
43
  //# sourceMappingURL=index.d.ts.map
@@ -30,7 +30,7 @@ const CHECKBOX_TITLE_STYLE = {
30
30
  fontWeight: 'normal'
31
31
  };
32
32
  const INITIAL_VISIBLE_OPTIONS = 5;
33
- const FilterCheckboxAndSearch = (props, context) => {
33
+ const FilterCkeckboxAndSearch = (props, context) => {
34
34
  const {
35
35
  title,
36
36
  searchOptions,
@@ -99,7 +99,7 @@ const FilterCheckboxAndSearch = (props, context) => {
99
99
  customStyle: CHECKBOX_TITLE_STYLE
100
100
  }), /*#__PURE__*/React.createElement("p", {
101
101
  className: style.optionCount
102
- }, count)))), _size(options) > INITIAL_VISIBLE_OPTIONS ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ButtonLink, {
102
+ }, count)))), options.length > INITIAL_VISIBLE_OPTIONS ? /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ButtonLink, {
103
103
  label: showMore ? translate('Show less') : translate('Show more'),
104
104
  type: "text",
105
105
  icon: {
@@ -115,9 +115,9 @@ const FilterCheckboxAndSearch = (props, context) => {
115
115
  "data-testid": "filter-checkbox-and-search-show-button"
116
116
  })) : null);
117
117
  };
118
- FilterCheckboxAndSearch.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
119
- FilterCheckboxAndSearch.contextTypes = {
118
+ FilterCkeckboxAndSearch.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
119
+ FilterCkeckboxAndSearch.contextTypes = {
120
120
  translate: Provider.childContextTypes.translate
121
121
  };
122
- export default FilterCheckboxAndSearch;
122
+ export default FilterCkeckboxAndSearch;
123
123
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","SearchForm","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","marginTop","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCheckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","label","_toString","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport SearchForm from '../../molecule/search-form';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n marginTop: '16px'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCheckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <SearchForm {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {size(options) > INITIAL_VISIBLE_OPTIONS ? (\n <div>\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nFilterCheckboxAndSearch.propTypes = propTypes;\n\nFilterCheckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCheckboxAndSearch;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,EAAEC,QAAQ,QAAO,OAAO;AAE3D,OAAOC,KAAK,MAAM,kBAAkB;AACpC,OAAOC,GAAG,MAAM,gBAAgB;AAChC,OAAOC,UAAU,MAAM,wBAAwB;AAC/C,OAAOC,UAAU,MAAM,4BAA4B;AACnD,OAAOC,QAAQ,IAAGC,uBAAuB,QAAO,qBAAqB;AAErE,OAAOC,iBAAiB,MAAM,gCAAgC;AAC9D,SAAQC,MAAM,QAAO,wBAAwB;AAC7C,OAAOC,KAAK,MAAM,aAAa;AAC/B,OAAOC,SAAS,MAAsC,eAAe;AAErE,MAAMC,kBAAkB,GAAG;EAACC,UAAU,EAAE,QAAQ;EAAEC,OAAO,EAAE;AAAC,CAAC;AAC7D,MAAMC,iBAAiB,GAAG;EACxBC,QAAQ,EAAE,MAAM;EAChBH,UAAU,EAAE,KAAK;EACjBI,UAAU,EAAE,QAAQ;EACpBC,SAAS,EAAE;AACb,CAAC;AACD,MAAMC,oBAAoB,GAAG;EAC3BC,WAAW,EAAE,MAAM;EACnBJ,QAAQ,EAAE,MAAM;EAChBC,UAAU,EAAE,QAAQ;EACpBJ,UAAU,EAAE;AACd,CAAC;AACD,MAAMQ,uBAAuB,GAAG,CAAC;AAEjC,MAAMC,uBAAuB,GAAGA,CAC9BC,KAAmC,EACnCC,OAAyB,KACtB;EACH,MAAM;IAACC,KAAK;IAAEC,aAAa;IAAEC,OAAO;IAAEC;EAAO,CAAC,GAAGL,KAAK;EACtD,MAA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AAS,CACxC,CACN,CAEA,CAAC,EACLvB,KAAA,CAAKR,OAAO,CAAC,GAAGP,uBAAuB,gBACtCvB,KAAA,CAAA2C,aAAA,2BACE3C,KAAA,CAAA2C,aAAA,CAACrC,UAAU;IACT0C,KAAK,EAAEhB,QAAQ,GAAGD,SAAS,CAAC,WAAW,CAAC,GAAGA,SAAS,CAAC,WAAW,CAAE;IAClEmB,IAAI,EAAC,MAAM;IACXmB,IAAI,EAAE;MACJC,QAAQ,EAAE,OAAO;MACjBC,MAAM,EAAE;QACNL,IAAI,EAAElC,QAAQ,GAAG,YAAY,GAAG,cAAc;QAC9CmB,IAAI,EAAE,EAAE;QACRqB,KAAK,EAAE7D,MAAM,CAAC8D;MAChB;IACF,CAAE;IACFnB,WAAW,EAAErC,iBAAkB;IAC/BoC,OAAO,EAAEb,cAAe;IACxB,eAAY;EAAwC,CACrD,CACE,CAAC,GACJ,IACD,CAAC;AAEV,CAAC;AAEDhB,uBAAuB,CAACX,SAAS,GAAA6D,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG/D,SAAS;AAE7CW,uBAAuB,CAACqD,YAAY,GAAG;EACrC9C,SAAS,EAAEvB,QAAQ,CAACsE,iBAAiB,CAAC/C;AACxC,CAAC;AAED,eAAeP,uBAAuB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","useCallback","useMemo","useState","Title","Tag","ButtonLink","SearchForm","Provider","GetTranslateFromContext","CheckboxWithTitle","COLORS","style","propTypes","CLEAR_BUTTON_STYLE","fontWeight","padding","SHOW_BUTTON_STYLE","fontSize","fontFamily","marginTop","CHECKBOX_TITLE_STYLE","marginRight","INITIAL_VISIBLE_OPTIONS","FilterCkeckboxAndSearch","props","context","title","searchOptions","onClear","options","translate","showMore","setShowMore","selectedFiltersCount","_pipe","_filter","selected","_size","hasSelectedFilters","handleShowMore","visibleOptions","slice","createElement","className","container","header","titleAndTagWrapper","label","_toString","type","size","clearButtonContainer","onClick","customStyle","search","optionsContainer","_isEmpty","emptySearchResult","map","value","count","index","key","optionRow","onChange","name","checked","optionCount","length","icon","position","faIcon","color","cm_grey_500","process","env","NODE_ENV","contextTypes","childContextTypes"],"sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport {filter, isEmpty, pipe, size, toString} from 'lodash/fp';\nimport Title from '../../atom/title';\nimport Tag from '../../atom/tag';\nimport ButtonLink from '../../atom/button-link';\nimport SearchForm from '../../molecule/search-form';\nimport Provider, {GetTranslateFromContext} from '../../atom/provider';\nimport {WebContextValues} from '../../atom/provider/web-context';\nimport CheckboxWithTitle from '../../atom/checkbox-with-title';\nimport {COLORS} from '../../variables/colors';\nimport style from './style.css';\nimport propTypes, {FilterCheckboxAndSearchProps} from './props-types';\n\nconst CLEAR_BUTTON_STYLE = {fontWeight: 'normal', padding: 0};\nconst SHOW_BUTTON_STYLE = {\n fontSize: '14px',\n fontWeight: '600',\n fontFamily: 'Gilroy',\n marginTop: '16px'\n};\nconst CHECKBOX_TITLE_STYLE = {\n marginRight: '16px',\n fontSize: '14px',\n fontFamily: 'Gilroy',\n fontWeight: 'normal'\n};\nconst INITIAL_VISIBLE_OPTIONS = 5;\n\nconst FilterCkeckboxAndSearch = (\n props: FilterCheckboxAndSearchProps,\n context: WebContextValues\n) => {\n const {title, searchOptions, onClear, options} = props;\n const translate = GetTranslateFromContext(context);\n const [showMore, setShowMore] = useState(false);\n const selectedFiltersCount = pipe(filter({selected: true}), size)(options);\n const hasSelectedFilters = selectedFiltersCount > 0;\n\n const handleShowMore = useCallback(() => {\n setShowMore(!showMore);\n }, [showMore]);\n\n const visibleOptions = useMemo(() => {\n return showMore ? options : options.slice(0, INITIAL_VISIBLE_OPTIONS);\n }, [options, showMore]);\n\n return (\n <div data-testid=\"filter-checkbox-and-search-container\" className={style.container}>\n <div className={style.header} data-testid=\"filter-checkbox-and-search-header\">\n <div\n className={style.titleAndTagWrapper}\n data-testid=\"filter-checkbox-and-searh-title-and-tag-wrapper\"\n >\n <Title title={title} />\n {hasSelectedFilters ? (\n <Tag label={toString(selectedFiltersCount)} type=\"info\" size=\"S\" />\n ) : null}\n </div>\n {hasSelectedFilters ? (\n <div className={style.clearButtonContainer}>\n <ButtonLink\n label={translate('clear')}\n type=\"text\"\n data-testid=\"filter-checkbox-and-search-clear-button\"\n onClick={onClear}\n customStyle={CLEAR_BUTTON_STYLE}\n />\n </div>\n ) : null}\n </div>\n {searchOptions ? (\n <div className={style.search}>\n <SearchForm {...searchOptions} />\n </div>\n ) : null}\n <div\n data-testid=\"filter-checkbox-and-search-options-container\"\n className={style.optionsContainer}\n >\n {isEmpty(visibleOptions) ? (\n <p\n className={style.emptySearchResult}\n data-testid=\"filter-checkbox-and-search-empty-message\"\n >\n No results... Try adjusting your search.\n </p>\n ) : (\n visibleOptions.map(({value, label, selected, count, onClick}, index) => (\n <div\n key={value}\n className={style.optionRow}\n data-testid={`filter-checkbox-and-search-option-row-${index}`}\n >\n <CheckboxWithTitle\n key={value}\n title={label}\n onChange={onClick}\n name={label}\n checked={selected}\n customStyle={CHECKBOX_TITLE_STYLE}\n />\n <p className={style.optionCount}>{count}</p>\n </div>\n ))\n )}\n </div>\n {options.length > INITIAL_VISIBLE_OPTIONS ? (\n <div>\n <ButtonLink\n label={showMore ? translate('Show less') : translate('Show more')}\n type=\"text\"\n icon={{\n position: 'right',\n faIcon: {\n name: showMore ? 'chevron-up' : 'chevron-down',\n size: 16,\n color: COLORS.cm_grey_500\n }\n }}\n customStyle={SHOW_BUTTON_STYLE}\n onClick={handleShowMore}\n data-testid=\"filter-checkbox-and-search-show-button\"\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nFilterCkeckboxAndSearch.propTypes = propTypes;\n\nFilterCkeckboxAndSearch.contextTypes = {\n translate: Provider.childContextTypes.translate\n};\n\nexport default FilterCkeckboxAndSearch;\n"],"mappings":";;;;;AAAA,OAAOA,KAAK,IAAGC,WAAW,EAAEC,OAAO,EAAEC,QAAQ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,QAAQ,GAAG,YAAY,GAAG,cAAc;QAC9CmB,IAAI,EAAE,EAAE;QACRsB,KAAK,EAAE9D,MAAM,CAAC+D;MAChB;IACF,CAAE;IACFpB,WAAW,EAAErC,iBAAkB;IAC/BoC,OAAO,EAAEb,cAAe;IACxB,eAAY;EAAwC,CACrD,CACE,CAAC,GACJ,IACD,CAAC;AAEV,CAAC;AAEDhB,uBAAuB,CAACX,SAAS,GAAA8D,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAGhE,SAAS;AAE7CW,uBAAuB,CAACsD,YAAY,GAAG;EACrC/C,SAAS,EAAEvB,QAAQ,CAACuE,iBAAiB,CAAChD;AACxC,CAAC;AAED,eAAeP,uBAAuB","ignoreList":[]}
@@ -49,6 +49,7 @@ declare const HeaderWithActions: {
49
49
  customStyle: import("prop-types").Requireable<{
50
50
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
51
51
  }>;
52
+ customLabelClassName: import("prop-types").Requireable<string>;
52
53
  }> | null | undefined)[]>;
53
54
  onClick: import("prop-types").Requireable<(...args: any[]) => any>;
54
55
  menuButtonClassName: import("prop-types").Requireable<string>;
@@ -90,6 +91,8 @@ declare const HeaderWithActions: {
90
91
  customStyle: import("prop-types").Requireable<{
91
92
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
92
93
  }>;
94
+ useTitle: import("prop-types").Requireable<boolean>;
95
+ customLabelClassName: import("prop-types").Requireable<string>;
93
96
  }> | null | undefined)[]>;
94
97
  };
95
98
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/index.tsx"],"names":[],"mappings":";AAQA,OAAmC,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAO3E,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/index.tsx"],"names":[],"mappings":";AAQA,OAAmC,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAO3E,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCvD,CAAC;AAIF,eAAe,iBAAiB,CAAC"}
@@ -48,6 +48,7 @@ declare const headerWithActionsPropTypes: {
48
48
  customStyle: PropTypes.Requireable<{
49
49
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
50
50
  }>;
51
+ customLabelClassName: PropTypes.Requireable<string>;
51
52
  }> | null | undefined)[]>;
52
53
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
53
54
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -89,6 +90,8 @@ declare const headerWithActionsPropTypes: {
89
90
  customStyle: PropTypes.Requireable<{
90
91
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
91
92
  }>;
93
+ useTitle: PropTypes.Requireable<boolean>;
94
+ customLabelClassName: PropTypes.Requireable<string>;
92
95
  }> | null | undefined)[]>;
93
96
  };
94
97
  export default headerWithActionsPropTypes;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/header-with-actions/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAuC,EACrC,0BAA0B,EAC3B,MAAM,+CAA+C,CAAC;AACvD,OAA4B,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AASlF,QAAA,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAc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;;CAc/B,CAAC;AAEF,eAAe,0BAA0B,CAAC;AAE1C,aAAK,QAAQ,GAAG;IACd,KAAK,EAAE,WAAW,GAAG,iBAAiB,GAAG,OAAO,GAAG,UAAU,CAAC;IAC9D,IAAI,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,aAAK,eAAe,GAAG;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF,aAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,SAAS,GAAG,OAAO,GAAG,YAAY,CAAC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACnC,WAAW,EAAE,gBAAgB,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,QAAQ,CAAC;IACd,UAAU,EAAE,eAAe,CAAC;IAC5B,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,qBAAqB,CAAC,EAAE,0BAA0B,CAAC;CACpD,CAAC;AAEF,oBAAY,6BAA6B,GAAG;IAAC,KAAK,EAAE,sBAAsB,CAAA;CAAC,CAAC"}
@@ -69,6 +69,8 @@ declare const IconEditor: {
69
69
  customStyle: import("prop-types").Requireable<{
70
70
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
71
71
  }>;
72
+ useTitle: import("prop-types").Requireable<boolean>;
73
+ customLabelClassName: import("prop-types").Requireable<string>;
72
74
  }>>;
73
75
  };
74
76
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/index.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAGtE,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,UAAU;YAAW,eAAe,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1E,CAAC;AAQF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/index.tsx"],"names":[],"mappings":";AAKA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAGtE,OAAkB,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,UAAU;YAAW,eAAe,iBAAiB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB1E,CAAC;AAQF,eAAe,UAAU,CAAC"}
@@ -66,6 +66,8 @@ declare const IconEditorPropTypes: {
66
66
  customStyle: PropTypes.Requireable<{
67
67
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
68
68
  }>;
69
+ useTitle: PropTypes.Requireable<boolean>;
70
+ customLabelClassName: PropTypes.Requireable<string>;
69
71
  }>>;
70
72
  };
71
73
  export default IconEditorPropTypes;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AAEnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/icon-editor/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mCAAmC,CAAC;AAEnE,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAE9C,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAC;AAEF,eAAe,mBAAmB,CAAC;AAEnC,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,gBAAgB,CAAC;IAC9B,SAAS,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;IAClD,UAAU,CAAC,EAAE,eAAe,CAAC;CAC9B,CAAC"}
@@ -50,6 +50,8 @@ declare namespace ListItems {
50
50
  customStyle: PropTypes.Requireable<{
51
51
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
52
52
  }>;
53
+ useTitle: PropTypes.Requireable<boolean>;
54
+ customLabelClassName: PropTypes.Requireable<string>;
53
55
  }>>;
54
56
  selectMultiple: PropTypes.Requireable<PropTypes.InferProps<{
55
57
  title: PropTypes.Requireable<string>;
@@ -202,6 +204,8 @@ declare namespace ListItems {
202
204
  customStyle: PropTypes.Requireable<{
203
205
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
204
206
  }>;
207
+ useTitle: PropTypes.Requireable<boolean>;
208
+ customLabelClassName: PropTypes.Requireable<string>;
205
209
  }> | PropTypes.InferProps<{
206
210
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
207
211
  type: PropTypes.Requireable<string>;
@@ -239,6 +243,8 @@ declare namespace ListItems {
239
243
  customStyle: PropTypes.Requireable<{
240
244
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
241
245
  }>;
246
+ useTitle: PropTypes.Requireable<boolean>;
247
+ customLabelClassName: PropTypes.Requireable<string>;
242
248
  }>>>;
243
249
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
244
250
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -265,9 +271,11 @@ declare namespace ListItems {
265
271
  customStyle: PropTypes.Requireable<{
266
272
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
267
273
  }>;
274
+ customLabelClassName: PropTypes.Requireable<string>;
268
275
  }> | null | undefined)[]>;
269
276
  'data-name': PropTypes.Requireable<string>;
270
277
  'aria-label': PropTypes.Requireable<string>;
278
+ enableScroll: PropTypes.Requireable<boolean>;
271
279
  }>>>;
272
280
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
273
281
  ariaLabel: PropTypes.Requireable<string>;
@@ -278,6 +286,7 @@ declare namespace ListItems {
278
286
  type: PropTypes.Requireable<string>;
279
287
  primaryColor: PropTypes.Requireable<string>;
280
288
  closeOnClick: PropTypes.Requireable<boolean>;
289
+ enableScroll: PropTypes.Requireable<boolean>;
281
290
  }> | null | undefined>>;
282
291
  }>>;
283
292
  }> | PropTypes.InferProps<{
@@ -324,6 +333,7 @@ declare namespace ListItems {
324
333
  customStyle: PropTypes.Requireable<{
325
334
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
326
335
  }>;
336
+ customLabelClassName: PropTypes.Requireable<string>;
327
337
  }> | null | undefined)[]>;
328
338
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
329
339
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -371,6 +381,8 @@ declare namespace ListItems {
371
381
  customStyle: PropTypes.Requireable<{
372
382
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
373
383
  }>;
384
+ useTitle: PropTypes.Requireable<boolean>;
385
+ customLabelClassName: PropTypes.Requireable<string>;
374
386
  }> | PropTypes.InferProps<{
375
387
  componentType: PropTypes.Requireable<string>;
376
388
  'data-name': PropTypes.Requireable<string>;
@@ -401,6 +413,7 @@ declare namespace ListItems {
401
413
  customStyle: PropTypes.Requireable<{
402
414
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
403
415
  }>;
416
+ customLabelClassName: PropTypes.Requireable<string>;
404
417
  }> | null | undefined)[]>;
405
418
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
406
419
  menuButtonClassName: PropTypes.Requireable<string>;
@@ -473,6 +486,8 @@ declare namespace ListItems {
473
486
  customStyle: PropTypes.Requireable<{
474
487
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
475
488
  }>;
489
+ useTitle: PropTypes.Requireable<boolean>;
490
+ customLabelClassName: PropTypes.Requireable<string>;
476
491
  }>>;
477
492
  required: PropTypes.Requireable<boolean>;
478
493
  }> | null | undefined>>;
@@ -539,6 +554,8 @@ declare namespace ListItems {
539
554
  customStyle: PropTypes.Requireable<{
540
555
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
541
556
  }>;
557
+ useTitle: PropTypes.Requireable<boolean>;
558
+ customLabelClassName: PropTypes.Requireable<string>;
542
559
  }> | null | undefined)[]>;
543
560
  buttonMenuAction: PropTypes.Requireable<PropTypes.InferProps<{
544
561
  button: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
@@ -577,6 +594,8 @@ declare namespace ListItems {
577
594
  customStyle: PropTypes.Requireable<{
578
595
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
579
596
  }>;
597
+ useTitle: PropTypes.Requireable<boolean>;
598
+ customLabelClassName: PropTypes.Requireable<string>;
580
599
  }>>>;
581
600
  menu: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
582
601
  buttons: PropTypes.Validator<(PropTypes.InferProps<{
@@ -603,9 +622,11 @@ declare namespace ListItems {
603
622
  customStyle: PropTypes.Requireable<{
604
623
  [x: string]: NonNullable<string | number | null | undefined> | null | undefined;
605
624
  }>;
625
+ customLabelClassName: PropTypes.Requireable<string>;
606
626
  }> | null | undefined)[]>;
607
627
  'data-name': PropTypes.Requireable<string>;
608
628
  'aria-label': PropTypes.Requireable<string>;
629
+ enableScroll: PropTypes.Requireable<boolean>;
609
630
  }>>>;
610
631
  menuWrapper: PropTypes.Requireable<PropTypes.InferProps<{
611
632
  ariaLabel: PropTypes.Requireable<string>;
@@ -616,6 +637,7 @@ declare namespace ListItems {
616
637
  type: PropTypes.Requireable<string>;
617
638
  primaryColor: PropTypes.Requireable<string>;
618
639
  closeOnClick: PropTypes.Requireable<boolean>;
640
+ enableScroll: PropTypes.Requireable<boolean>;
619
641
  }>>;
620
642
  };
621
643
  }
@@ -119,6 +119,7 @@ declare class MoocHeader extends React.Component<any, any, any> {
119
119
  }> | null | undefined)[]>;
120
120
  onMenuOpen: PropTypes.Requireable<(...args: any[]) => any>;
121
121
  onMenuClose: PropTypes.Requireable<(...args: any[]) => any>;
122
+ enableScroll: PropTypes.Requireable<boolean>;
122
123
  };
123
124
  static contextTypes: {
124
125
  translate: PropTypes.Requireable<(...args: any[]) => any>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/mooc-header/index.js"],"names":[],"mappings":";AAuBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAqGE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,wBAuBC;IArBC;;;;;MAKC;IAgDH,6BAIC;IAED,yBAGC;IAxBD,qCAQC;IAED,wBAGC;IAjBD,+BAEC;IA4BD,2BAKC;IAED,0BAKC;IAED,sBAIC;IAED,qBAIC;IAED,yBAQC;IAED,0BAQC;IAED,0BAIC;IAED,2BAIC;IAED,iCAUC;IA7GD,2EASC;IAGC,kBAAsB;IAmGxB,0DASE;IAEF,6BA+eC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/mooc-header/index.js"],"names":[],"mappings":";AAuBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsGE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,wBAuBC;IArBC;;;;;MAKC;IAgDH,6BAIC;IAED,yBAGC;IAxBD,qCAQC;IAED,wBAGC;IAjBD,+BAEC;IA4BD,2BAKC;IAED,0BAKC;IAED,sBAIC;IAED,qBAIC;IAED,yBAQC;IAED,0BAQC;IAED,0BAIC;IAED,2BAIC;IAED,iCAUC;IA7GD,2EASC;IAGC,kBAAsB;IAmGxB,0DAaE;IAEF,6BAifC;CACF"}
@@ -173,7 +173,8 @@ class MoocHeader extends React.Component {
173
173
  ...(item.selected && {
174
174
  color: primaryColor
175
175
  })
176
- }
176
+ },
177
+ customLabelClassName: style.buttonContentLabel
177
178
  }));
178
179
  };
179
180
  render() {
@@ -308,9 +309,11 @@ class MoocHeader extends React.Component {
308
309
  alignItems: 'flex-start'
309
310
  },
310
311
  closeOnClick: true,
312
+ enableScroll: true,
311
313
  menuWrapper: {
312
314
  customStyle: {
313
- top: '30px'
315
+ top: '30px',
316
+ maxWidth: 360
314
317
  }
315
318
  },
316
319
  menu: {
@@ -699,7 +702,8 @@ MoocHeader.propTypes = process.env.NODE_ENV !== "production" ? {
699
702
  })
700
703
  })),
701
704
  onMenuOpen: PropTypes.func,
702
- onMenuClose: PropTypes.func
705
+ onMenuClose: PropTypes.func,
706
+ enableScroll: PropTypes.bool
703
707
  } : {};
704
708
  export default MoocHeader;
705
709
  //# sourceMappingURL=index.js.map