@coorpacademy/components 11.18.10 → 11.19.1-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/es/atom/title/types.d.ts +9 -0
  2. package/es/atom/title/types.d.ts.map +1 -0
  3. package/es/atom/title/types.js +2 -0
  4. package/es/atom/title/types.js.map +1 -0
  5. package/es/molecule/card/index.d.ts +1 -0
  6. package/es/molecule/card/index.d.ts.map +1 -1
  7. package/es/molecule/card/index.js +11 -10
  8. package/es/molecule/card/index.js.map +1 -1
  9. package/es/molecule/card/style.css +47 -5
  10. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  11. package/es/molecule/cm-popin/index.js +46 -9
  12. package/es/molecule/cm-popin/index.js.map +1 -1
  13. package/es/molecule/cm-popin/style.css +32 -0
  14. package/es/molecule/cm-popin/types.d.ts +31 -1
  15. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  16. package/es/molecule/cm-popin/types.js +13 -3
  17. package/es/molecule/cm-popin/types.js.map +1 -1
  18. package/es/molecule/dashboard/cards-list/index.d.ts +1 -0
  19. package/es/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  20. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
  21. package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  22. package/es/molecule/title-and-checkbox-wrapper/index.js +15 -3
  23. package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  24. package/es/organism/rewards-form/index.d.ts +45 -0
  25. package/es/organism/select-opponents/index.d.ts +67 -12
  26. package/es/organism/select-opponents/index.d.ts.map +1 -1
  27. package/es/organism/select-opponents/index.js +3 -3
  28. package/es/organism/select-opponents/index.js.map +1 -1
  29. package/es/organism/select-opponents/style.css +6 -0
  30. package/es/organism/select-opponents/types.d.ts +75 -14
  31. package/es/organism/select-opponents/types.d.ts.map +1 -1
  32. package/es/organism/select-opponents/types.js +2 -2
  33. package/es/organism/select-opponents/types.js.map +1 -1
  34. package/es/organism/title-and-input/index.d.ts +84 -29
  35. package/es/organism/title-and-input/index.d.ts.map +1 -1
  36. package/es/organism/title-and-input/types.d.ts +84 -29
  37. package/es/organism/title-and-input/types.d.ts.map +1 -1
  38. package/es/organism/wizard-contents/index.d.ts +45 -0
  39. package/es/template/app-player/loading/index.d.ts +19 -1
  40. package/es/template/app-player/player/index.d.ts +38 -2
  41. package/es/template/app-player/player/slides/index.d.ts +19 -1
  42. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  43. package/es/template/app-player/popin-correction/index.d.ts +19 -1
  44. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  45. package/es/template/app-player/popin-end/index.d.ts +20 -1
  46. package/es/template/app-player/popin-end/summary.d.ts +1 -0
  47. package/es/template/app-review/index.d.ts +19 -1
  48. package/es/template/app-review/index.d.ts.map +1 -1
  49. package/es/template/app-review/player/prop-types.d.ts +19 -1
  50. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  51. package/es/template/app-review/prop-types.d.ts +19 -1
  52. package/es/template/app-review/prop-types.d.ts.map +1 -1
  53. package/es/template/back-office/brand-update/index.d.ts +19 -1
  54. package/es/template/common/dashboard/index.d.ts +89 -1
  55. package/es/template/common/dashboard/index.d.ts.map +1 -1
  56. package/es/template/common/dashboard/index.js +6 -2
  57. package/es/template/common/dashboard/index.js.map +1 -1
  58. package/es/template/common/dashboard/style.css +5 -0
  59. package/es/template/common/search-page/index.d.ts +71 -0
  60. package/es/template/common/search-page/index.d.ts.map +1 -1
  61. package/es/template/common/search-page/index.js +8 -3
  62. package/es/template/common/search-page/index.js.map +1 -1
  63. package/es/template/common/search-page/style.css +5 -0
  64. package/es/template/external-course/index.d.ts +19 -1
  65. package/es/template/teams-dashboard/index.d.ts +1 -0
  66. package/es/variables/colors.css +1 -1
  67. package/lib/atom/title/types.d.ts +9 -0
  68. package/lib/atom/title/types.d.ts.map +1 -0
  69. package/lib/atom/title/types.js +2 -0
  70. package/lib/atom/title/types.js.map +1 -0
  71. package/lib/molecule/card/index.d.ts +1 -0
  72. package/lib/molecule/card/index.d.ts.map +1 -1
  73. package/lib/molecule/card/index.js +10 -8
  74. package/lib/molecule/card/index.js.map +1 -1
  75. package/lib/molecule/card/style.css +47 -5
  76. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  77. package/lib/molecule/cm-popin/index.js +48 -8
  78. package/lib/molecule/cm-popin/index.js.map +1 -1
  79. package/lib/molecule/cm-popin/style.css +32 -0
  80. package/lib/molecule/cm-popin/types.d.ts +31 -1
  81. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  82. package/lib/molecule/cm-popin/types.js +15 -3
  83. package/lib/molecule/cm-popin/types.js.map +1 -1
  84. package/lib/molecule/dashboard/cards-list/index.d.ts +1 -0
  85. package/lib/molecule/dashboard/cards-list/index.d.ts.map +1 -1
  86. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +45 -0
  87. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  88. package/lib/molecule/title-and-checkbox-wrapper/index.js +17 -3
  89. package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  90. package/lib/organism/rewards-form/index.d.ts +45 -0
  91. package/lib/organism/select-opponents/index.d.ts +67 -12
  92. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  93. package/lib/organism/select-opponents/index.js +3 -3
  94. package/lib/organism/select-opponents/index.js.map +1 -1
  95. package/lib/organism/select-opponents/style.css +6 -0
  96. package/lib/organism/select-opponents/types.d.ts +75 -14
  97. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  98. package/lib/organism/select-opponents/types.js +2 -2
  99. package/lib/organism/select-opponents/types.js.map +1 -1
  100. package/lib/organism/title-and-input/index.d.ts +84 -29
  101. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  102. package/lib/organism/title-and-input/types.d.ts +84 -29
  103. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  104. package/lib/organism/wizard-contents/index.d.ts +45 -0
  105. package/lib/template/app-player/loading/index.d.ts +19 -1
  106. package/lib/template/app-player/player/index.d.ts +38 -2
  107. package/lib/template/app-player/player/slides/index.d.ts +19 -1
  108. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  109. package/lib/template/app-player/popin-correction/index.d.ts +19 -1
  110. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  111. package/lib/template/app-player/popin-end/index.d.ts +20 -1
  112. package/lib/template/app-player/popin-end/summary.d.ts +1 -0
  113. package/lib/template/app-review/index.d.ts +19 -1
  114. package/lib/template/app-review/index.d.ts.map +1 -1
  115. package/lib/template/app-review/player/prop-types.d.ts +19 -1
  116. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  117. package/lib/template/app-review/prop-types.d.ts +19 -1
  118. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  119. package/lib/template/back-office/brand-update/index.d.ts +19 -1
  120. package/lib/template/common/dashboard/index.d.ts +89 -1
  121. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  122. package/lib/template/common/dashboard/index.js +6 -2
  123. package/lib/template/common/dashboard/index.js.map +1 -1
  124. package/lib/template/common/dashboard/style.css +5 -0
  125. package/lib/template/common/search-page/index.d.ts +71 -0
  126. package/lib/template/common/search-page/index.d.ts.map +1 -1
  127. package/lib/template/common/search-page/index.js +9 -3
  128. package/lib/template/common/search-page/index.js.map +1 -1
  129. package/lib/template/common/search-page/style.css +5 -0
  130. package/lib/template/external-course/index.d.ts +19 -1
  131. package/lib/template/teams-dashboard/index.d.ts +1 -0
  132. package/lib/variables/colors.css +1 -1
  133. package/locales/.mtslconfig.json +1 -0
  134. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -515,7 +515,18 @@ declare const propTypes: {
515
515
  quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
516
516
  content: PropTypes.Requireable<string>;
517
517
  mode: PropTypes.Requireable<string>;
518
- header: PropTypes.Requireable<string>;
518
+ header: PropTypes.Requireable<PropTypes.InferProps<{
519
+ title: PropTypes.Requireable<PropTypes.InferProps<{
520
+ title: PropTypes.Requireable<string>;
521
+ subtitle: PropTypes.Requireable<string>;
522
+ type: PropTypes.Requireable<string>;
523
+ 'data-name': PropTypes.Requireable<string>;
524
+ titleSize: PropTypes.Requireable<string>;
525
+ subtitleSize: PropTypes.Requireable<string>;
526
+ }>>;
527
+ headerIcon: PropTypes.Requireable<string>;
528
+ backgroundImage: PropTypes.Requireable<string>;
529
+ }>>;
519
530
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
520
531
  label: PropTypes.Requireable<string>;
521
532
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -563,6 +574,13 @@ declare const propTypes: {
563
574
  'data-name': PropTypes.Requireable<string>;
564
575
  requiredSelection: PropTypes.Requireable<boolean>;
565
576
  }> | null | undefined)[]>;
577
+ items: PropTypes.Requireable<PropTypes.InferProps<{
578
+ type: PropTypes.Requireable<string>;
579
+ list: PropTypes.Requireable<PropTypes.InferProps<{
580
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
581
+ loading: PropTypes.Requireable<boolean>;
582
+ }>>;
583
+ }>>;
566
584
  }>>;
567
585
  };
568
586
  export default propTypes;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -519,7 +519,18 @@ declare const propTypes: {
519
519
  quitPopin: PropTypes.Requireable<PropTypes.InferProps<{
520
520
  content: PropTypes.Requireable<string>;
521
521
  mode: PropTypes.Requireable<string>;
522
- header: PropTypes.Requireable<string>;
522
+ header: PropTypes.Requireable<PropTypes.InferProps<{
523
+ title: PropTypes.Requireable<PropTypes.InferProps<{
524
+ title: PropTypes.Requireable<string>;
525
+ subtitle: PropTypes.Requireable<string>;
526
+ type: PropTypes.Requireable<string>;
527
+ 'data-name': PropTypes.Requireable<string>;
528
+ titleSize: PropTypes.Requireable<string>;
529
+ subtitleSize: PropTypes.Requireable<string>;
530
+ }>>;
531
+ headerIcon: PropTypes.Requireable<string>;
532
+ backgroundImage: PropTypes.Requireable<string>;
533
+ }>>;
523
534
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
524
535
  label: PropTypes.Requireable<string>;
525
536
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -567,6 +578,13 @@ declare const propTypes: {
567
578
  'data-name': PropTypes.Requireable<string>;
568
579
  requiredSelection: PropTypes.Requireable<boolean>;
569
580
  }> | null | undefined)[]>;
581
+ items: PropTypes.Requireable<PropTypes.InferProps<{
582
+ type: PropTypes.Requireable<string>;
583
+ list: PropTypes.Requireable<PropTypes.InferProps<{
584
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
585
+ loading: PropTypes.Requireable<boolean>;
586
+ }>>;
587
+ }>>;
570
588
  }>>;
571
589
  }>>;
572
590
  };
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -729,7 +729,18 @@ declare namespace BrandUpdate {
729
729
  export const popin: PropTypes.Requireable<PropTypes.InferProps<{
730
730
  content: PropTypes.Requireable<string>;
731
731
  mode: PropTypes.Requireable<string>;
732
- header: PropTypes.Requireable<string>;
732
+ header: PropTypes.Requireable<PropTypes.InferProps<{
733
+ title: PropTypes.Requireable<PropTypes.InferProps<{
734
+ title: PropTypes.Requireable<string>;
735
+ subtitle: PropTypes.Requireable<string>;
736
+ type: PropTypes.Requireable<string>;
737
+ 'data-name': PropTypes.Requireable<string>;
738
+ titleSize: PropTypes.Requireable<string>;
739
+ subtitleSize: PropTypes.Requireable<string>;
740
+ }>>;
741
+ headerIcon: PropTypes.Requireable<string>;
742
+ backgroundImage: PropTypes.Requireable<string>;
743
+ }>>;
733
744
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
734
745
  label: PropTypes.Requireable<string>;
735
746
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -777,6 +788,13 @@ declare namespace BrandUpdate {
777
788
  'data-name': PropTypes.Requireable<string>;
778
789
  requiredSelection: PropTypes.Requireable<boolean>;
779
790
  }> | null | undefined)[]>;
791
+ items: PropTypes.Requireable<PropTypes.InferProps<{
792
+ type: PropTypes.Requireable<string>;
793
+ list: PropTypes.Requireable<PropTypes.InferProps<{
794
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
795
+ loading: PropTypes.Requireable<boolean>;
796
+ }>>;
797
+ }>>;
780
798
  }>>;
781
799
  export const details: PropTypes.Requireable<PropTypes.InferProps<{
782
800
  key: PropTypes.Requireable<string>;
@@ -8,7 +8,18 @@ declare namespace Dashboard {
8
8
  cookie: PropTypes.Requireable<PropTypes.InferProps<{
9
9
  content: PropTypes.Requireable<string>;
10
10
  mode: PropTypes.Requireable<string>;
11
- header: PropTypes.Requireable<string>;
11
+ header: PropTypes.Requireable<PropTypes.InferProps<{
12
+ title: PropTypes.Requireable<PropTypes.InferProps<{
13
+ title: PropTypes.Requireable<string>;
14
+ subtitle: PropTypes.Requireable<string>;
15
+ type: PropTypes.Requireable<string>;
16
+ 'data-name': PropTypes.Requireable<string>;
17
+ titleSize: PropTypes.Requireable<string>;
18
+ subtitleSize: PropTypes.Requireable<string>;
19
+ }>>;
20
+ headerIcon: PropTypes.Requireable<string>;
21
+ backgroundImage: PropTypes.Requireable<string>;
22
+ }>>;
12
23
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
13
24
  label: PropTypes.Requireable<string>;
14
25
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -56,11 +67,88 @@ declare namespace Dashboard {
56
67
  'data-name': PropTypes.Requireable<string>;
57
68
  requiredSelection: PropTypes.Requireable<boolean>;
58
69
  }> | null | undefined)[]>;
70
+ items: PropTypes.Requireable<PropTypes.InferProps<{
71
+ type: PropTypes.Requireable<string>;
72
+ list: PropTypes.Requireable<PropTypes.InferProps<{
73
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
74
+ loading: PropTypes.Requireable<boolean>;
75
+ }>>;
76
+ }>>;
59
77
  }>>;
60
78
  'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
61
79
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
62
80
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
63
81
  }>>;
82
+ popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
83
+ content: PropTypes.Requireable<string>;
84
+ mode: PropTypes.Requireable<string>;
85
+ header: PropTypes.Requireable<PropTypes.InferProps<{
86
+ title: PropTypes.Requireable<PropTypes.InferProps<{
87
+ title: PropTypes.Requireable<string>;
88
+ subtitle: PropTypes.Requireable<string>;
89
+ type: PropTypes.Requireable<string>;
90
+ 'data-name': PropTypes.Requireable<string>;
91
+ titleSize: PropTypes.Requireable<string>;
92
+ subtitleSize: PropTypes.Requireable<string>;
93
+ }>>;
94
+ headerIcon: PropTypes.Requireable<string>;
95
+ backgroundImage: PropTypes.Requireable<string>;
96
+ }>>;
97
+ firstButton: PropTypes.Requireable<PropTypes.InferProps<{
98
+ label: PropTypes.Requireable<string>;
99
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
100
+ 'aria-label': PropTypes.Requireable<string>;
101
+ largeButton: PropTypes.Requireable<boolean>;
102
+ type: PropTypes.Requireable<string>;
103
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
104
+ }>>;
105
+ secondButton: PropTypes.Requireable<PropTypes.InferProps<{
106
+ label: PropTypes.Requireable<string>;
107
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
108
+ type: PropTypes.Requireable<string>;
109
+ 'aria-label': PropTypes.Requireable<string>;
110
+ largeButton: PropTypes.Requireable<boolean>;
111
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
112
+ }>>;
113
+ thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
114
+ label: PropTypes.Requireable<string>;
115
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
116
+ type: PropTypes.Requireable<string>;
117
+ 'aria-label': PropTypes.Requireable<string>;
118
+ largeButton: PropTypes.Requireable<boolean>;
119
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
120
+ }>>;
121
+ onClose: PropTypes.Requireable<(...args: any[]) => any>;
122
+ icon: PropTypes.Requireable<string>;
123
+ backgroundImageUrl: PropTypes.Requireable<string>;
124
+ descriptionText: PropTypes.Requireable<string>;
125
+ cookieTitle: PropTypes.Requireable<string>;
126
+ descriptionBtnTxt: PropTypes.Requireable<string>;
127
+ listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
128
+ title: PropTypes.Requireable<string>;
129
+ name: PropTypes.Requireable<string>;
130
+ id: PropTypes.Requireable<string>;
131
+ value: PropTypes.Requireable<boolean>;
132
+ disabled: PropTypes.Requireable<boolean>;
133
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
134
+ description: PropTypes.Requireable<string>;
135
+ 'aria-labelledby': PropTypes.Requireable<string>;
136
+ 'aria-label': PropTypes.Requireable<string>;
137
+ modified: PropTypes.Requireable<boolean>;
138
+ titlePosition: PropTypes.Requireable<string>;
139
+ theme: PropTypes.Requireable<string>;
140
+ details: PropTypes.Requireable<string>;
141
+ 'data-name': PropTypes.Requireable<string>;
142
+ requiredSelection: PropTypes.Requireable<boolean>;
143
+ }> | null | undefined)[]>;
144
+ items: PropTypes.Requireable<PropTypes.InferProps<{
145
+ type: PropTypes.Requireable<string>;
146
+ list: PropTypes.Requireable<PropTypes.InferProps<{
147
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
148
+ loading: PropTypes.Requireable<boolean>;
149
+ }>>;
150
+ }>>;
151
+ }>>;
64
152
  };
65
153
  }
66
154
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,oDA4CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,oDAkDC"}
@@ -30,6 +30,7 @@ const Dashboard = props => {
30
30
  hero,
31
31
  welcome,
32
32
  cookie,
33
+ popinWithCards,
33
34
  'arrows-aria-label': showMoreOnLeftOrRightAriaLabel
34
35
  } = props;
35
36
 
@@ -83,7 +84,9 @@ const Dashboard = props => {
83
84
  return /*#__PURE__*/React.createElement("div", {
84
85
  className: style.wrapper,
85
86
  "data-name": "dashboard"
86
- }, sectionsList, cookie ? /*#__PURE__*/React.createElement(CMPopin, cookie) : null);
87
+ }, sectionsList, cookie ? /*#__PURE__*/React.createElement(CMPopin, cookie) : null, popinWithCards ? /*#__PURE__*/React.createElement("div", {
88
+ className: style.popinWithCards
89
+ }, /*#__PURE__*/React.createElement(CMPopin, popinWithCards)) : null);
87
90
  };
88
91
 
89
92
  Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -91,7 +94,8 @@ Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
91
94
  welcome: Hero.propTypes.welcome,
92
95
  sections: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.shape(BattleRequestList.propTypes), PropTypes.shape(CardsList.propTypes), PropTypes.shape(NewsList.propTypes), PropTypes.shape(StartBattle.propTypes), PropTypes.shape(ReviewBanner.propTypes)])),
93
96
  cookie: PropTypes.shape(CMPopin.propTypes),
94
- 'arrows-aria-label': CardsList.propTypes['arrows-aria-label']
97
+ 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],
98
+ popinWithCards: PropTypes.shape(CMPopin.propTypes)
95
99
  } : {};
96
100
  export default Dashboard;
97
101
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","Slide","HeroCard","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin","ReviewBanner","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","cookie","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label']\n};\nexport default Dashboard;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,MAA8B,iDAA9B;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,QAAP,MAAqB,uCAArB;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,YAAP,MAAyB,2CAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,gBAAGX,KAAK,CAACY,IAAN,CAAW,SAASD,IAAT,CAAc;EA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roCard","BattleRequestList","CardsList","NewsList","StartBattle","CMPopin","ReviewBanner","style","Hero","memo","hero","welcome","propTypes","shape","Dashboard","props","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,KAAP,MAAkB,qBAAlB;AACA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,iBAAP,MAA8B,iDAA9B;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,QAAP,MAAqB,uCAArB;AACA,OAAOC,WAAP,MAAwB,0CAAxB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,YAAP,MAAyB,2CAAzB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,IAAI,gBAAGX,KAAK,CAACY,IAAN,CAAW,SAASD,IAAT,CAAc;EAACE,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEJ,KAAK,CAACG;EAAtB,GAA6BA,IAAI,gBAAG,oBAAC,QAAD,EAAcA,IAAd,CAAH,gBAA4B,oBAAC,KAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;AAIAH,IAAI,CAACI,SAAL,2CAAiB;EACfF,IAAI,E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 }
19
+
15
20
  @media tablet {
16
21
  .hero {
17
22
  height: 200px;
@@ -144,6 +144,7 @@ declare namespace SearchPage {
144
144
  badgeCategory: PropTypes.Requireable<string>;
145
145
  badgeLabel: PropTypes.Requireable<string>;
146
146
  theme: PropTypes.Requireable<string>;
147
+ disabledContent: PropTypes.Requireable<string>;
147
148
  'aria-label': PropTypes.Requireable<string>;
148
149
  'background-aria-label': PropTypes.Requireable<string>;
149
150
  'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
@@ -176,6 +177,76 @@ declare namespace SearchPage {
176
177
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
177
178
  const filterGroupAriaLabel: PropTypes.Requireable<string>;
178
179
  const sortAriaLabel: PropTypes.Requireable<string>;
180
+ const popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
181
+ content: PropTypes.Requireable<string>;
182
+ mode: PropTypes.Requireable<string>;
183
+ header: PropTypes.Requireable<PropTypes.InferProps<{
184
+ title: PropTypes.Requireable<PropTypes.InferProps<{
185
+ title: PropTypes.Requireable<string>;
186
+ subtitle: PropTypes.Requireable<string>;
187
+ type: PropTypes.Requireable<string>;
188
+ 'data-name': PropTypes.Requireable<string>;
189
+ titleSize: PropTypes.Requireable<string>;
190
+ subtitleSize: PropTypes.Requireable<string>;
191
+ }>>;
192
+ headerIcon: PropTypes.Requireable<string>;
193
+ backgroundImage: PropTypes.Requireable<string>;
194
+ }>>;
195
+ firstButton: PropTypes.Requireable<PropTypes.InferProps<{
196
+ label: PropTypes.Requireable<string>;
197
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
198
+ 'aria-label': PropTypes.Requireable<string>;
199
+ largeButton: PropTypes.Requireable<boolean>;
200
+ type: PropTypes.Requireable<string>;
201
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
202
+ }>>;
203
+ secondButton: PropTypes.Requireable<PropTypes.InferProps<{
204
+ label: PropTypes.Requireable<string>;
205
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
206
+ type: PropTypes.Requireable<string>;
207
+ 'aria-label': PropTypes.Requireable<string>;
208
+ largeButton: PropTypes.Requireable<boolean>;
209
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
210
+ }>>;
211
+ thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
212
+ label: PropTypes.Requireable<string>;
213
+ handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
214
+ type: PropTypes.Requireable<string>;
215
+ 'aria-label': PropTypes.Requireable<string>;
216
+ largeButton: PropTypes.Requireable<boolean>;
217
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
218
+ }>>;
219
+ onClose: PropTypes.Requireable<(...args: any[]) => any>;
220
+ icon: PropTypes.Requireable<string>;
221
+ backgroundImageUrl: PropTypes.Requireable<string>;
222
+ descriptionText: PropTypes.Requireable<string>;
223
+ cookieTitle: PropTypes.Requireable<string>;
224
+ descriptionBtnTxt: PropTypes.Requireable<string>;
225
+ listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
226
+ title: PropTypes.Requireable<string>;
227
+ name: PropTypes.Requireable<string>;
228
+ id: PropTypes.Requireable<string>;
229
+ value: PropTypes.Requireable<boolean>;
230
+ disabled: PropTypes.Requireable<boolean>;
231
+ onChange: PropTypes.Requireable<(...args: any[]) => any>;
232
+ description: PropTypes.Requireable<string>;
233
+ 'aria-labelledby': PropTypes.Requireable<string>;
234
+ 'aria-label': PropTypes.Requireable<string>;
235
+ modified: PropTypes.Requireable<boolean>;
236
+ titlePosition: PropTypes.Requireable<string>;
237
+ theme: PropTypes.Requireable<string>;
238
+ details: PropTypes.Requireable<string>;
239
+ 'data-name': PropTypes.Requireable<string>;
240
+ requiredSelection: PropTypes.Requireable<boolean>;
241
+ }> | null | undefined)[]>;
242
+ items: PropTypes.Requireable<PropTypes.InferProps<{
243
+ type: PropTypes.Requireable<string>;
244
+ list: PropTypes.Requireable<PropTypes.InferProps<{
245
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
246
+ loading: PropTypes.Requireable<boolean>;
247
+ }>>;
248
+ }>>;
249
+ }>>;
179
250
  }
180
251
  }
181
252
  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,mEAsDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAWA,mEA4DC"}
@@ -10,6 +10,7 @@ import Button from '../../../atom/button';
10
10
  import Filters from '../../../molecule/filters';
11
11
  import CardsGrid from '../../../organism/cards-grid';
12
12
  import CardsList from '../../../molecule/dashboard/cards-list';
13
+ import CMPopin from '../../../molecule/cm-popin';
13
14
  import style from './style.css';
14
15
 
15
16
  const SearchPage = (props, context) => {
@@ -23,7 +24,8 @@ const SearchPage = (props, context) => {
23
24
  moreSortAriaLabel,
24
25
  moreFilterAriaLabel,
25
26
  filterGroupAriaLabel,
26
- sortAriaLabel
27
+ sortAriaLabel,
28
+ popinWithCards
27
29
  } = props;
28
30
  const {
29
31
  skin
@@ -55,7 +57,9 @@ const SearchPage = (props, context) => {
55
57
  }, /*#__PURE__*/React.createElement("div", {
56
58
  className: style.title,
57
59
  role: "status"
58
- }, title), cardsView));
60
+ }, title), cardsView), popinWithCards ? /*#__PURE__*/React.createElement("div", {
61
+ className: style.popinWithCards
62
+ }, /*#__PURE__*/React.createElement(CMPopin, popinWithCards)) : null);
59
63
  };
60
64
 
61
65
  SearchPage.contextTypes = {
@@ -71,7 +75,8 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
71
75
  moreSortAriaLabel: PropTypes.string,
72
76
  moreFilterAriaLabel: PropTypes.string,
73
77
  filterGroupAriaLabel: PropTypes.string,
74
- sortAriaLabel: PropTypes.string
78
+ sortAriaLabel: PropTypes.string,
79
+ popinWithCards: PropTypes.shape(CMPopin.propTypes)
75
80
  } : {};
76
81
  export default SearchPage;
77
82
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","childContextTypes","propTypes","string","shape"],"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,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,OAAP,MAAoB,2BAApB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,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,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;EAEA,MAAME,mBAAmB,GAAG,SAAQP,eAAR,IAA2B,IAA3B,gBAAkC,oBAAC,SAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMQ,SAAS,GAAG,SAAQX,KAAK,CAACY,IAAd,iBAChB,8CACE;IAAK,SAAS,EAAElB,KAAK,CAACmB;EAAtB,gBACE;IAAK,SAAS,EAAEnB,KAAK,CAACoB;EAAtB,GAAqCb,cAAr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,EAAElB,SAAS,CAACiC,MATX;EAUrBd,aAAa,EAAEnB,SAAS,CAACiC;AAVJ,CAAvB;AAaA,eAAe1B,UAAf"}
1
+ {"version":3,"file":"index.js","names":["React","PropTypes","Provider","Button","Filters","CardsGrid","CardsList","CMPopin","style","SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","popinWithCards","skin","defaultColor","recommendationsView","cardsView","list","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","childContextTypes","propTypes","string","shape"],"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 CMPopin from '../../../molecule/cm-popin';\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 popinWithCards\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 {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\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 popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,SAAP,MAAsB,YAAtB;AAEA,OAAOC,QAAP,MAAqB,wBAArB;AACA,OAAOC,MAAP,MAAmB,sBAAnB;AACA,OAAOC,OAAP,MAAoB,2BAApB;AACA,OAAOC,SAAP,MAAsB,8BAAtB;AACA,OAAOC,SAAP,MAAsB,wCAAtB;AACA,OAAOC,OAAP,MAAoB,4BAApB;AACA,OAAOC,KAAP,MAAkB,aAAlB;;AAEA,MAAMC,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,aAVI;IAWJC;EAXI,IAYFZ,KAZJ;EAcA,MAAM;IAACa;EAAD,IAASZ,OAAf;;EACA,MAAMa,YAAY,GAAG,OAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;;EAEA,MA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,CAAC+B,SAAxB,CAHM;EAIrBrB,KAAK,EAAEb,SAAS,CAACoC,KAAV,CAAgBhC,SAAS,CAAC8B,SAA1B,CAJc;EAKrBnB,YAAY,EAAEf,SAAS,CAACoC,KAAV,CAAgBlC,MAAM,CAACgC,SAAvB,CALO;EAMrBlB,eAAe,EAAEhB,SAAS,CAACoC,KAAV,CAAgB/B,SAAS,CAAC6B,SAA1B,CANI;EAOrBjB,iBAAiB,EAAEjB,SAAS,CAACmC,MAPR;EAQrBjB,mBAAmB,EAAElB,SAAS,CAACmC,MARV;EASrBhB,oBAAoB,EAAEnB,SAAS,CAACmC,MATX;EAUrBf,aAAa,EAAEpB,SAAS,CAACmC,MAVJ;EAWrBd,cAAc,EAAErB,SAAS,CAACoC,KAAV,CAAgB9B,OAAO,CAAC4B,SAAxB;AAXK,CAAvB;AAcA,eAAe1B,UAAf"}
@@ -50,6 +50,11 @@
50
50
  color: black;
51
51
  }
52
52
 
53
+ .popinWithCards {
54
+ position: relative;
55
+ z-index: 7;
56
+ }
57
+
53
58
  @media mobile {
54
59
  .cardsWrapper {
55
60
  padding: 5px 0;
@@ -25,7 +25,18 @@ declare namespace ExternalCourse {
25
25
  const closePopin: PropTypes.Requireable<PropTypes.InferProps<{
26
26
  content: PropTypes.Requireable<string>;
27
27
  mode: PropTypes.Requireable<string>;
28
- header: PropTypes.Requireable<string>;
28
+ header: PropTypes.Requireable<PropTypes.InferProps<{
29
+ title: PropTypes.Requireable<PropTypes.InferProps<{
30
+ title: PropTypes.Requireable<string>;
31
+ subtitle: PropTypes.Requireable<string>;
32
+ type: PropTypes.Requireable<string>;
33
+ 'data-name': PropTypes.Requireable<string>;
34
+ titleSize: PropTypes.Requireable<string>;
35
+ subtitleSize: PropTypes.Requireable<string>;
36
+ }>>;
37
+ headerIcon: PropTypes.Requireable<string>;
38
+ backgroundImage: PropTypes.Requireable<string>;
39
+ }>>;
29
40
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
30
41
  label: PropTypes.Requireable<string>;
31
42
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -73,6 +84,13 @@ declare namespace ExternalCourse {
73
84
  'data-name': PropTypes.Requireable<string>;
74
85
  requiredSelection: PropTypes.Requireable<boolean>;
75
86
  }> | null | undefined)[]>;
87
+ items: PropTypes.Requireable<PropTypes.InferProps<{
88
+ type: PropTypes.Requireable<string>;
89
+ list: PropTypes.Requireable<PropTypes.InferProps<{
90
+ list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
91
+ loading: PropTypes.Requireable<boolean>;
92
+ }>>;
93
+ }>>;
76
94
  }>>;
77
95
  }
78
96
  namespace contextTypes {
@@ -70,6 +70,7 @@ declare namespace TeamsDashboard {
70
70
  badgeCategory: PropTypes.Requireable<string>;
71
71
  badgeLabel: PropTypes.Requireable<string>;
72
72
  theme: PropTypes.Requireable<string>;
73
+ disabledContent: PropTypes.Requireable<string>;
73
74
  'aria-label': PropTypes.Requireable<string>;
74
75
  'background-aria-label': PropTypes.Requireable<string>;
75
76
  'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
@@ -73,7 +73,7 @@
73
73
  @value box_shadow_medium_dark: rgba(0, 0, 0, 0.2);
74
74
  @value box_shadow_orange_700: rgba(255, 84, 31, 0.15);
75
75
  @value light_blue: #ADC9F5;
76
-
76
+ @value negative_100: #FCDADA;
77
77
  @value go1_backgound: #144953;
78
78
  @value go1_primary: #D5FD42;
79
79
  @value go1_primary_hover: #BFE33B;
@@ -0,0 +1,9 @@
1
+ export declare type TitleProps = {
2
+ title: string;
3
+ subtitle: string;
4
+ type: 'page' | 'form-group';
5
+ 'data-name'?: string;
6
+ titleSize: 'standard' | 'medium' | 'small';
7
+ subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';
8
+ };
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/title/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,YAAY,EAAE,UAAU,GAAG,OAAO,GAAG,sBAAsB,GAAG,aAAa,CAAC;CAC7E,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":[],"sources":["../../../src/atom/title/types.ts"],"sourcesContent":["export type TitleProps = {\n title: string;\n subtitle: string;\n type: 'page' | 'form-group';\n 'data-name'?: string;\n titleSize: 'standard' | 'medium' | 'small';\n subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';\n};\n"],"mappings":""}
@@ -34,6 +34,7 @@ export const cardPropTypes: {
34
34
  badgeCategory: PropTypes.Requireable<string>;
35
35
  badgeLabel: PropTypes.Requireable<string>;
36
36
  theme: PropTypes.Requireable<string>;
37
+ disabledContent: PropTypes.Requireable<string>;
37
38
  'aria-label': PropTypes.Requireable<string>;
38
39
  'background-aria-label': PropTypes.Requireable<string>;
39
40
  'favorite-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/card/index.js"],"names":[],"mappings":";;;;;AAoPA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BE;;;AA1JF,uDAuHG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/card/index.js"],"names":[],"mappings":";;;;;AAuPA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BE;;;AA9JF,uDA0HG"}
@@ -161,6 +161,7 @@ const Card = /*#__PURE__*/(0, _react.memo)(function Card(props, context) {
161
161
  badgeCategory,
162
162
  badgeLabel,
163
163
  theme = 'default',
164
+ disabledContent,
164
165
  'aria-label': cardArialabel,
165
166
  'background-aria-label': backgroundAriaLabel,
166
167
  'favorite-aria-label': favoriteAriaLabel,
@@ -172,17 +173,17 @@ const Card = /*#__PURE__*/(0, _react.memo)(function Card(props, context) {
172
173
  } = props;
173
174
  const empty = (0, _isEmpty2.default)((0, _pick2.default)(['title', 'type', 'author', 'image'], props));
174
175
  const primaryColor = (0, _get2.default)('common.primary', skin);
175
- const whiteColor = (0, _get2.default)('common.white', skin);
176
176
  const cardStyle = (0, _classnames.default)(THEMES[theme], type === 'chapter' ? _style.default.chapter : _style.default.course, title ? null : _style.default.lazy, _style.default.grid, empty ? _style.default.empty : null);
177
177
  const disabled = hidden && (!isSelected || (0, _isUndefined2.default)(isSelected));
178
- const handleClick = (0, _react.useMemo)(() => e => !disabled && onClick(e), [disabled, onClick]);
179
- const lock = disabled ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidLoginLocked, {
178
+ const handleClick = (0, _react.useMemo)(() => e => onClick(e), [onClick]);
179
+ const lock = disabled ? /*#__PURE__*/_react.default.createElement("div", {
180
+ className: _style.default.lockContent
181
+ }, /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademyPadlock, {
180
182
  className: _style.default.lockIcon,
181
- style: {
182
- color: whiteColor
183
- },
184
- height: 40
185
- }) : null;
183
+ height: 48
184
+ }), /*#__PURE__*/_react.default.createElement("span", {
185
+ "aria-label": disabledArialabel
186
+ }, disabledContent)) : null;
186
187
  const inlineBadgeStyle = {
187
188
  color: primaryColor
188
189
  };
@@ -277,6 +278,7 @@ const cardPropTypes = {
277
278
  badgeCategory: _cardContent.default.propTypes.badgeCategory,
278
279
  badgeLabel: _cardContent.default.propTypes.badgeLabel,
279
280
  theme: _propTypes.default.oneOf((0, _keys2.default)(THEMES)),
281
+ disabledContent: _propTypes.default.string,
280
282
  'aria-label': _propTypes.default.string,
281
283
  'background-aria-label': _propTypes.default.string,
282
284
  'favorite-aria-label': _favorite.default.propTypes['aria-label'],