@coorpacademy/components 11.38.3-alpha.19 → 11.38.3-alpha.21

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 (152) hide show
  1. package/es/atom/input-search/index.d.ts +2 -0
  2. package/es/atom/input-search/index.d.ts.map +1 -1
  3. package/es/atom/input-search/index.js +46 -13
  4. package/es/atom/input-search/index.js.map +1 -1
  5. package/es/atom/input-search/style.css +97 -0
  6. package/es/molecule/card/customer.css +3 -0
  7. package/es/molecule/card/favorite.d.ts.map +1 -1
  8. package/es/molecule/card/favorite.js +0 -5
  9. package/es/molecule/card/favorite.js.map +1 -1
  10. package/es/molecule/card/index.d.ts.map +1 -1
  11. package/es/molecule/card/index.js +11 -29
  12. package/es/molecule/card/index.js.map +1 -1
  13. package/es/molecule/card/notification.css +16 -39
  14. package/es/molecule/card/notification.d.ts.map +1 -1
  15. package/es/molecule/card/notification.js +4 -26
  16. package/es/molecule/card/notification.js.map +1 -1
  17. package/es/molecule/card/style.css +14 -16
  18. package/es/molecule/card-content/index.d.ts.map +1 -1
  19. package/es/molecule/card-content/index.js +36 -79
  20. package/es/molecule/card-content/index.js.map +1 -1
  21. package/es/molecule/card-content/style.css +24 -32
  22. package/es/molecule/cm-popin/types.d.ts +2 -0
  23. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  24. package/es/molecule/external-content-button/style.css +0 -1
  25. package/es/molecule/multi-filter-panel/index.d.ts +2 -0
  26. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  27. package/es/molecule/multi-filter-panel/prop-types.d.ts +2 -0
  28. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  29. package/es/molecule/search-form/index.d.ts +5 -0
  30. package/es/molecule/search-form/index.d.ts.map +1 -1
  31. package/es/molecule/search-form/index.js +26 -16
  32. package/es/molecule/search-form/index.js.map +1 -1
  33. package/es/molecule/search-form/style.css +21 -6
  34. package/es/organism/brand-table/index.d.ts +2 -0
  35. package/es/organism/content-skill-modal/index.d.ts +4 -0
  36. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  37. package/es/organism/content-skill-modal/types.d.ts +4 -0
  38. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  39. package/es/organism/filter-checkbox-and-search/index.d.ts +2 -0
  40. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  41. package/es/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  42. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  43. package/es/organism/list-items/index.d.ts +2 -0
  44. package/es/organism/mooc-header/index.d.ts +14 -0
  45. package/es/organism/mooc-header/index.d.ts.map +1 -1
  46. package/es/organism/mooc-header/index.js +132 -13
  47. package/es/organism/mooc-header/index.js.map +1 -1
  48. package/es/organism/mooc-header/style.css +184 -8
  49. package/es/template/app-player/loading/index.d.ts +2 -0
  50. package/es/template/app-player/player/index.d.ts +4 -0
  51. package/es/template/app-player/player/slides/index.d.ts +2 -0
  52. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  53. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  54. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  55. package/es/template/app-player/popin-end/index.d.ts +2 -0
  56. package/es/template/app-review/index.d.ts +2 -0
  57. package/es/template/app-review/index.d.ts.map +1 -1
  58. package/es/template/app-review/player/prop-types.d.ts +2 -0
  59. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  60. package/es/template/app-review/prop-types.d.ts +2 -0
  61. package/es/template/app-review/prop-types.d.ts.map +1 -1
  62. package/es/template/back-office/brand-update/index.d.ts +12 -0
  63. package/es/template/common/dashboard/index.d.ts +4 -0
  64. package/es/template/common/search-page/index.d.ts +2 -0
  65. package/es/template/external-course/index.d.ts +2 -0
  66. package/es/util/check-is-mobile.js +3 -2
  67. package/es/util/check-is-mobile.js.map +1 -1
  68. package/es/util/external-content.d.ts +4 -38
  69. package/es/util/external-content.d.ts.map +1 -1
  70. package/es/util/external-content.js +4 -33
  71. package/es/util/external-content.js.map +1 -1
  72. package/es/variables/colors.d.ts +0 -5
  73. package/es/variables/colors.d.ts.map +1 -1
  74. package/es/variables/colors.js +1 -6
  75. package/es/variables/colors.js.map +1 -1
  76. package/lib/atom/input-search/index.d.ts +2 -0
  77. package/lib/atom/input-search/index.d.ts.map +1 -1
  78. package/lib/atom/input-search/index.js +46 -13
  79. package/lib/atom/input-search/index.js.map +1 -1
  80. package/lib/atom/input-search/style.css +97 -0
  81. package/lib/molecule/card/customer.css +3 -0
  82. package/lib/molecule/card/favorite.d.ts.map +1 -1
  83. package/lib/molecule/card/favorite.js +0 -5
  84. package/lib/molecule/card/favorite.js.map +1 -1
  85. package/lib/molecule/card/index.d.ts.map +1 -1
  86. package/lib/molecule/card/index.js +10 -28
  87. package/lib/molecule/card/index.js.map +1 -1
  88. package/lib/molecule/card/notification.css +16 -39
  89. package/lib/molecule/card/notification.d.ts.map +1 -1
  90. package/lib/molecule/card/notification.js +3 -25
  91. package/lib/molecule/card/notification.js.map +1 -1
  92. package/lib/molecule/card/style.css +14 -16
  93. package/lib/molecule/card-content/index.d.ts.map +1 -1
  94. package/lib/molecule/card-content/index.js +34 -77
  95. package/lib/molecule/card-content/index.js.map +1 -1
  96. package/lib/molecule/card-content/style.css +24 -32
  97. package/lib/molecule/cm-popin/types.d.ts +2 -0
  98. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  99. package/lib/molecule/external-content-button/style.css +0 -1
  100. package/lib/molecule/multi-filter-panel/index.d.ts +2 -0
  101. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  102. package/lib/molecule/multi-filter-panel/prop-types.d.ts +2 -0
  103. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  104. package/lib/molecule/search-form/index.d.ts +5 -0
  105. package/lib/molecule/search-form/index.d.ts.map +1 -1
  106. package/lib/molecule/search-form/index.js +27 -17
  107. package/lib/molecule/search-form/index.js.map +1 -1
  108. package/lib/molecule/search-form/style.css +21 -6
  109. package/lib/organism/brand-table/index.d.ts +2 -0
  110. package/lib/organism/content-skill-modal/index.d.ts +4 -0
  111. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  112. package/lib/organism/content-skill-modal/types.d.ts +4 -0
  113. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  114. package/lib/organism/filter-checkbox-and-search/index.d.ts +2 -0
  115. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  116. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +2 -0
  117. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  118. package/lib/organism/list-items/index.d.ts +2 -0
  119. package/lib/organism/mooc-header/index.d.ts +14 -0
  120. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  121. package/lib/organism/mooc-header/index.js +132 -13
  122. package/lib/organism/mooc-header/index.js.map +1 -1
  123. package/lib/organism/mooc-header/style.css +184 -8
  124. package/lib/template/app-player/loading/index.d.ts +2 -0
  125. package/lib/template/app-player/player/index.d.ts +4 -0
  126. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  127. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  128. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  129. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  130. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  131. package/lib/template/app-review/index.d.ts +2 -0
  132. package/lib/template/app-review/index.d.ts.map +1 -1
  133. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  134. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  135. package/lib/template/app-review/prop-types.d.ts +2 -0
  136. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  137. package/lib/template/back-office/brand-update/index.d.ts +12 -0
  138. package/lib/template/common/dashboard/index.d.ts +4 -0
  139. package/lib/template/common/search-page/index.d.ts +2 -0
  140. package/lib/template/external-course/index.d.ts +2 -0
  141. package/lib/util/check-is-mobile.js +3 -2
  142. package/lib/util/check-is-mobile.js.map +1 -1
  143. package/lib/util/external-content.d.ts +4 -38
  144. package/lib/util/external-content.d.ts.map +1 -1
  145. package/lib/util/external-content.js +5 -34
  146. package/lib/util/external-content.js.map +1 -1
  147. package/lib/variables/colors.d.ts +0 -5
  148. package/lib/variables/colors.d.ts.map +1 -1
  149. package/lib/variables/colors.js +1 -6
  150. package/lib/variables/colors.js.map +1 -1
  151. package/locales/en/global.json +4 -4
  152. package/package.json +2 -2
@@ -9,14 +9,12 @@
9
9
  @value lightBlack from colors;
10
10
  @value xtraLightGrey from colors;
11
11
  @value white from colors;
12
- @value cm_grey_200 from colors;
13
12
 
14
- /*
15
13
  .microLearningCardInfo {
16
14
  flex: 1 0 auto;
17
- } */
15
+ }
18
16
 
19
- /* .microLearningIcon {
17
+ .microLearningIcon {
20
18
  display: flex;
21
19
  flex-direction: column;
22
20
  align-self: center;
@@ -28,9 +26,9 @@
28
26
  flex-direction: column;
29
27
  align-self: center;
30
28
  margin-top: 35px;
31
- } */
29
+ }
32
30
 
33
- /* .timerIcon {
31
+ .timerIcon {
34
32
  height: 40px;
35
33
  width: 40px;
36
34
  }
@@ -38,18 +36,18 @@
38
36
  .coorpmanager .timerIcon {
39
37
  height: 30px;
40
38
  width: 30px;
41
- } */
39
+ }
42
40
 
43
- /* .microLearningIcon svg {
41
+ .microLearningIcon svg {
44
42
  background:white;
45
43
  border-radius: 50%;
46
44
  margin: 0 auto;
47
45
  padding: 3px;
48
46
  box-sizing: content-box;
49
47
  color: lightBlack;
50
- } */
48
+ }
51
49
 
52
- /* .microLearninglabel {
50
+ .microLearninglabel {
53
51
  font-family: 'Gilroy';
54
52
  font-size: 10px;
55
53
  font-weight: 800;
@@ -59,16 +57,14 @@
59
57
 
60
58
  .coorpmanager .microLearninglabel {
61
59
  font-size: 6px;
62
- } */
60
+ }
63
61
 
64
62
  .infoWrapper {
65
63
  display: flex;
66
- gap: 4px;
67
64
  flex-direction: column;
68
65
  position: relative;
69
- justify-content: flex-end;
70
- padding-left: 16px;
71
- padding-right: 16px;
66
+ justify-content: center;
67
+ padding: 0 16px;
72
68
  width: 100%;
73
69
  box-sizing: border-box;
74
70
  }
@@ -159,6 +155,7 @@
159
155
 
160
156
  .infoWrapper.card {
161
157
  height: 100%;
158
+ justify-content: flex-end;
162
159
  }
163
160
 
164
161
  .infoWrapper.empty {
@@ -180,9 +177,11 @@
180
177
  }
181
178
 
182
179
  .adaptiveIcon {
180
+ font-size: 5px;
183
181
  width: 25px;
184
- height: 20px;
182
+ height: 25px;
185
183
  color: lightBlack;
184
+ margin-right: 5px;
186
185
  }
187
186
 
188
187
  .iconWrapper {
@@ -216,7 +215,7 @@
216
215
  border-radius: 2px;
217
216
  overflow: hidden;
218
217
  margin: 16px auto;
219
- background: cm_grey_200;
218
+ background: light;
220
219
  }
221
220
 
222
221
  .coorpmanager .progressWrapper {
@@ -232,10 +231,14 @@
232
231
  margin: 0 auto;
233
232
  }
234
233
 
235
- .contentTypeInfos {
236
- display: flex;
237
- align-items: center;
238
- gap: 8px;
234
+ .contentTypeInfo {
235
+ font-family: 'Gilroy';
236
+ font-size: 10px;
237
+ font-weight: 700;
238
+ }
239
+
240
+ .coorpmanager.externalContent .contentTypeInfo {
241
+ font-size: 6px;
239
242
  }
240
243
 
241
244
  .externalContent .cardInfo {
@@ -244,22 +247,11 @@
244
247
  overflow: hidden;
245
248
  }
246
249
 
247
- .externalContent.infoWrapper {
248
- padding-top: 50%;
249
- }
250
-
251
250
  .coorpmanager.externalContent .cardInfo {
252
251
  flex-grow: 2;
253
252
  max-height: 79px;
254
253
  }
255
254
 
256
- .cardInfo.cardCourseTitle {
257
- flex-grow: 0;
258
- display: flex;
259
- justify-content: flex-end;
260
- flex-direction: column;
261
- }
262
-
263
255
  @media mobile {
264
256
  .author {
265
257
  font-size: 12px;
@@ -648,6 +648,8 @@ declare const propTypes: {
648
648
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
649
649
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
650
650
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
651
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
652
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
651
653
  theme: PropTypes.Requireable<string>;
652
654
  dataTestId: PropTypes.Requireable<string>;
653
655
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC,MAAM,wBAAwB,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAClD,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAC,SAAS,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAE3D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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zB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -42,7 +42,6 @@
42
42
  }
43
43
 
44
44
  .title {
45
- text-transform: uppercase;
46
45
  font-family: 'Gilroy';
47
46
  font-size: 17px;
48
47
  font-weight: bold;
@@ -39,6 +39,8 @@ declare const MultiFilterPanel: {
39
39
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
40
40
  onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
41
41
  onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
42
+ onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
43
+ inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
42
44
  theme: import("prop-types").Requireable<string>;
43
45
  dataTestId: import("prop-types").Requireable<string>;
44
46
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/index.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAEjE,OAAkB,EAAC,qBAAqB,EAAqB,MAAM,cAAc,CAAC;AAqBlF,QAAA,MAAM,gBAAgB;YAAW,qBAAqB,WAAW,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDhF,CAAC;AAQF,eAAe,gBAAgB,CAAC"}
@@ -37,6 +37,8 @@ declare const propTypes: {
37
37
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
38
38
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
39
39
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
40
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
41
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
40
42
  theme: PropTypes.Requireable<string>;
41
43
  dataTestId: PropTypes.Requireable<string>;
42
44
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/multi-filter-panel/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAA4B,EAAC,eAAe,EAAC,MAAM,uCAAuC,CAAC;AAC3F,OAAyC,EACvC,4BAA4B,EAC7B,MAAM,uDAAuD,CAAC;AAE/D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAed,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,eAAe,CAAC;CAC1B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,UAAU,CAAC;IACjB,OAAO,EAAE,4BAA4B,CAAC;CACvC,CAAC;AAEF,oBAAY,kBAAkB,GAAG,gBAAgB,GAAG,oBAAoB,CAAC;AAEzE,oBAAY,qBAAqB,GAAG;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -8,6 +8,8 @@ declare namespace SearchForm {
8
8
  onReset: PropTypes.Requireable<(...args: any[]) => any>;
9
9
  onSearchFocus: PropTypes.Requireable<(...args: any[]) => any>;
10
10
  onSearchBlur: PropTypes.Requireable<(...args: any[]) => any>;
11
+ onSearchKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
12
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
11
13
  search: PropTypes.Requireable<PropTypes.InferProps<{
12
14
  value: PropTypes.Requireable<string>;
13
15
  placeholder: PropTypes.Validator<string>;
@@ -15,11 +17,14 @@ declare namespace SearchForm {
15
17
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
16
18
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
17
19
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
20
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
21
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
18
22
  theme: PropTypes.Requireable<string>;
19
23
  dataTestId: PropTypes.Requireable<string>;
20
24
  }>>;
21
25
  'search-reset-aria-label': PropTypes.Requireable<string>;
22
26
  dataTestId: PropTypes.Requireable<string>;
27
+ theme: PropTypes.Requireable<string>;
23
28
  };
24
29
  }
25
30
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/search-form/index.js"],"names":[],"mappings":";AAOA,mEA0CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/search-form/index.js"],"names":[],"mappings":";AAOA,mEAkEC"}
@@ -1,8 +1,8 @@
1
- import _get from "lodash/fp/get";
2
1
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
2
  import React, { useMemo } from 'react';
4
3
  import PropTypes from 'prop-types';
5
- import { NovaCompositionNavigationMore as ClearIcon } from '@coorpacademy/nova-icons';
4
+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
5
+ import classnames from 'classnames';
6
6
  import Search from '../../atom/input-search';
7
7
  import style from './style.css';
8
8
  const SearchForm = (props, context) => {
@@ -14,17 +14,23 @@ const SearchForm = (props, context) => {
14
14
  search,
15
15
  onSearchFocus,
16
16
  onSearchBlur,
17
+ onSearchKeyDown,
18
+ inputRef,
17
19
  'search-reset-aria-label': searchResetAriaLabel,
18
- dataTestId
20
+ dataTestId,
21
+ theme
19
22
  } = props;
20
23
  const handleSubmit = useMemo(() => evt => {
21
24
  evt.preventDefault();
22
25
  return onSubmit && onSubmit(evt);
23
26
  }, [onSubmit]);
24
- const {
25
- skin
26
- } = context;
27
- const dark = _get('common.dark', skin);
27
+ const handleReset = useMemo(() => evt => {
28
+ evt.preventDefault();
29
+ evt.stopPropagation();
30
+ return onReset && onReset(evt);
31
+ }, [onReset]);
32
+ const isMooc = theme === 'mooc';
33
+ const clearClassName = search.value ? classnames(style.wrapperClear, isMooc && style.wrapperClearMooc) : style.wrapperNoClear;
28
34
  return /*#__PURE__*/React.createElement("form", {
29
35
  className: style.form,
30
36
  action: action,
@@ -35,17 +41,18 @@ const SearchForm = (props, context) => {
35
41
  }, /*#__PURE__*/React.createElement(Search, _extends({}, search, {
36
42
  onFocus: onSearchFocus,
37
43
  onBlur: onSearchBlur,
38
- dataTestId: dataTestId
44
+ onKeyDown: onSearchKeyDown,
45
+ inputRef: inputRef,
46
+ dataTestId: dataTestId,
47
+ theme: theme
39
48
  })), /*#__PURE__*/React.createElement("div", {
40
49
  "data-name": "search-form-reset",
41
50
  "aria-label": searchResetAriaLabel,
42
- onClick: onReset,
43
- className: search.value ? style.wrapperClear : style.wrapperNoClear
44
- }, /*#__PURE__*/React.createElement(ClearIcon, {
45
- style: {
46
- color: dark
47
- },
48
- className: style.clear
51
+ onMouseDown: handleReset,
52
+ className: clearClassName
53
+ }, /*#__PURE__*/React.createElement(FontAwesomeIcon, {
54
+ icon: "xmark",
55
+ className: style.clearIcon
49
56
  })));
50
57
  };
51
58
  SearchForm.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -55,9 +62,12 @@ SearchForm.propTypes = process.env.NODE_ENV !== "production" ? {
55
62
  onReset: PropTypes.func,
56
63
  onSearchFocus: PropTypes.func,
57
64
  onSearchBlur: PropTypes.func,
65
+ onSearchKeyDown: PropTypes.func,
66
+ inputRef: PropTypes.func,
58
67
  search: PropTypes.shape(Search.propTypes),
59
68
  'search-reset-aria-label': PropTypes.string,
60
- dataTestId: PropTypes.string
69
+ dataTestId: PropTypes.string,
70
+ theme: PropTypes.string
61
71
  } : {};
62
72
  export default SearchForm;
63
73
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","useMemo","PropTypes","NovaCompositionNavigationMore","ClearIcon","Search","style","SearchForm","props","context","action","method","onSubmit","onReset","search","onSearchFocus","onSearchBlur","searchResetAriaLabel","dataTestId","handleSubmit","evt","preventDefault","skin","dark","_get","createElement","className","form","placeholder","_extends","onFocus","onBlur","onClick","value","wrapperClear","wrapperNoClear","color","clear","propTypes","process","env","NODE_ENV","string","func","shape"],"sources":["../../../src/molecule/search-form/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {get} from 'lodash/fp';\nimport {NovaCompositionNavigationMore as ClearIcon} from '@coorpacademy/nova-icons';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\n\nconst SearchForm = (props, context) => {\n const {\n action,\n method,\n onSubmit,\n onReset,\n search,\n onSearchFocus,\n onSearchBlur,\n 'search-reset-aria-label': searchResetAriaLabel,\n dataTestId\n } = props;\n const handleSubmit = useMemo(\n () => evt => {\n evt.preventDefault();\n return onSubmit && onSubmit(evt);\n },\n [onSubmit]\n );\n const {skin} = context;\n const dark = get('common.dark', skin);\n\n return (\n <form\n className={style.form}\n action={action}\n method={method}\n onSubmit={handleSubmit}\n data-name=\"searchForm\"\n aria-label={search.placeholder}\n >\n <Search {...search} onFocus={onSearchFocus} onBlur={onSearchBlur} dataTestId={dataTestId} />\n <div\n data-name=\"search-form-reset\"\n aria-label={searchResetAriaLabel}\n onClick={onReset}\n className={search.value ? style.wrapperClear : style.wrapperNoClear}\n >\n <ClearIcon style={{color: dark}} className={style.clear} />\n </div>\n </form>\n );\n};\n\nSearchForm.propTypes = {\n action: PropTypes.string,\n method: PropTypes.string,\n onSubmit: PropTypes.func,\n onReset: PropTypes.func,\n onSearchFocus: PropTypes.func,\n onSearchBlur: PropTypes.func,\n search: PropTypes.shape(Search.propTypes),\n 'search-reset-aria-label': PropTypes.string,\n dataTestId: PropTypes.string\n};\n\nexport default SearchForm;\n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3B,KAAK,CAAC4B,YAAY,GAAG5B,KAAK,CAAC6B;EAAe,gBAEpEnC,KAAA,CAAAyB,aAAA,CAACrB,SAAS;IAACE,KAAK,EAAE;MAAC8B,KAAK,EAAEb;IAAI,CAAE;IAACG,SAAS,EAAEpB,KAAK,CAAC+B;EAAM,CAAE,CACvD,CACD,CAAC;AAEX,CAAC;AAED9B,UAAU,CAAC+B,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACrB/B,MAAM,EAAER,SAAS,CAACwC,MAAM;EACxB/B,MAAM,EAAET,SAAS,CAACwC,MAAM;EACxB9B,QAAQ,EAAEV,SAAS,CAACyC,IAAI;EACxB9B,OAAO,EAAEX,SAAS,CAACyC,IAAI;EACvB5B,aAAa,EAAEb,SAAS,CAACyC,IAAI;EAC7B3B,YAAY,EAAEd,SAAS,CAACyC,IAAI;EAC5B7B,MAAM,EAAEZ,SAAS,CAAC0C,KAAK,CAACvC,MAAM,CAACiC,SAAS,CAAC;EACzC,yBAAyB,EAAEpC,SAAS,CAACwC,MAAM;EAC3CxB,UAAU,EAAEhB,SAAS,CAACwC;AACxB,CAAC;AAED,eAAenC,UAAU","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["React","useMemo","PropTypes","FontAwesomeIcon","classnames","Search","style","SearchForm","props","context","action","method","onSubmit","onReset","search","onSearchFocus","onSearchBlur","onSearchKeyDown","inputRef","searchResetAriaLabel","dataTestId","theme","handleSubmit","evt","preventDefault","handleReset","stopPropagation","isMooc","clearClassName","value","wrapperClear","wrapperClearMooc","wrapperNoClear","createElement","className","form","placeholder","_extends","onFocus","onBlur","onKeyDown","onMouseDown","icon","clearIcon","propTypes","process","env","NODE_ENV","string","func","shape"],"sources":["../../../src/molecule/search-form/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport {FontAwesomeIcon} from '@fortawesome/react-fontawesome';\nimport classnames from 'classnames';\nimport Search from '../../atom/input-search';\nimport style from './style.css';\n\nconst SearchForm = (props, context) => {\n const {\n action,\n method,\n onSubmit,\n onReset,\n search,\n onSearchFocus,\n onSearchBlur,\n onSearchKeyDown,\n inputRef,\n 'search-reset-aria-label': searchResetAriaLabel,\n dataTestId,\n theme\n } = props;\n const handleSubmit = useMemo(\n () => evt => {\n evt.preventDefault();\n return onSubmit && onSubmit(evt);\n },\n [onSubmit]\n );\n\n const handleReset = useMemo(\n () => evt => {\n evt.preventDefault();\n evt.stopPropagation();\n return onReset && onReset(evt);\n },\n [onReset]\n );\n\n const isMooc = theme === 'mooc';\n\n const clearClassName = search.value\n ? classnames(style.wrapperClear, isMooc && style.wrapperClearMooc)\n : style.wrapperNoClear;\n\n return (\n <form\n className={style.form}\n action={action}\n method={method}\n onSubmit={handleSubmit}\n data-name=\"searchForm\"\n aria-label={search.placeholder}\n >\n <Search\n {...search}\n onFocus={onSearchFocus}\n onBlur={onSearchBlur}\n onKeyDown={onSearchKeyDown}\n inputRef={inputRef}\n dataTestId={dataTestId}\n theme={theme}\n />\n <div\n data-name=\"search-form-reset\"\n aria-label={searchResetAriaLabel}\n onMouseDown={handleReset}\n className={clearClassName}\n >\n <FontAwesomeIcon icon=\"xmark\" className={style.clearIcon} />\n </div>\n </form>\n );\n};\n\nSearchForm.propTypes = {\n action: PropTypes.string,\n method: PropTypes.string,\n onSubmit: PropTypes.func,\n onReset: PropTypes.func,\n onSearchFocus: PropTypes.func,\n onSearchBlur: PropTypes.func,\n onSearchKeyDown: PropTypes.func,\n inputRef: PropTypes.func,\n search: PropTypes.shape(Search.propTypes),\n 'search-reset-aria-label': PropTypes.string,\n dataTestId: PropTypes.string,\n theme: PropTypes.string\n};\n\nexport default SearchForm;\n"],"mappings":";AAAA,OAAOA,KAAK,IAAGC,OAAO,QAAO,OAAO;AACpC,OAAOC,SAAS,MAAM,YAAY;AAClC,SAAQC,eAAe,QAAO,gCAAgC;AAC9D,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,MAAM,MAAM,yB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AAM,EAAEvB,YAAa;IACrBwB,SAAS,EAAEvB,eAAgB;IAC3BC,QAAQ,EAAEA,QAAS;IACnBE,UAAU,EAAEA,UAAW;IACvBC,KAAK,EAAEA;EAAM,EACd,CAAC,eACFrB,KAAA,CAAAiC,aAAA;IACE,aAAU,mBAAmB;IAC7B,cAAYd,oBAAqB;IACjCsB,WAAW,EAAEhB,WAAY;IACzBS,SAAS,EAAEN;EAAe,gBAE1B5B,KAAA,CAAAiC,aAAA,CAAC9B,eAAe;IAACuC,IAAI,EAAC,OAAO;IAACR,SAAS,EAAE5B,KAAK,CAACqC;EAAU,CAAE,CACxD,CACD,CAAC;AAEX,CAAC;AAEDpC,UAAU,CAACqC,SAAS,GAAAC,OAAA,CAAAC,GAAA,CAAAC,QAAA,oBAAG;EACrBrC,MAAM,EAAER,SAAS,CAAC8C,MAAM;EACxBrC,MAAM,EAAET,SAAS,CAAC8C,MAAM;EACxBpC,QAAQ,EAAEV,SAAS,CAAC+C,IAAI;EACxBpC,OAAO,EAAEX,SAAS,CAAC+C,IAAI;EACvBlC,aAAa,EAAEb,SAAS,CAAC+C,IAAI;EAC7BjC,YAAY,EAAEd,SAAS,CAAC+C,IAAI;EAC5BhC,eAAe,EAAEf,SAAS,CAAC+C,IAAI;EAC/B/B,QAAQ,EAAEhB,SAAS,CAAC+C,IAAI;EACxBnC,MAAM,EAAEZ,SAAS,CAACgD,KAAK,CAAC7C,MAAM,CAACuC,SAAS,CAAC;EACzC,yBAAyB,EAAE1C,SAAS,CAAC8C,MAAM;EAC3C5B,UAAU,EAAElB,SAAS,CAAC8C,MAAM;EAC5B3B,KAAK,EAAEnB,SAAS,CAAC8C;AACnB,CAAC;AAED,eAAezC,UAAU","ignoreList":[]}
@@ -1,3 +1,6 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value cm_grey_500 from colors;
3
+
1
4
  .form {
2
5
  display: flex;
3
6
  justify-content: flex-start;
@@ -8,6 +11,7 @@
8
11
  margin: 0;
9
12
  width: 100%;
10
13
  height: 100%;
14
+ position: relative;
11
15
  }
12
16
 
13
17
  .wrapperClear {
@@ -23,11 +27,22 @@
23
27
  display: none;
24
28
  }
25
29
 
26
- .clear {
27
- transform: rotate(45deg);
28
- width: 10px;
29
- height: 10px;
30
+ .clearIcon {
31
+ color: cm_grey_500;
32
+ width: 12px;
33
+ height: 14px;
34
+ }
35
+
36
+ .wrapperClearMooc {
30
37
  position: absolute;
31
- top: 0;
32
- left: 0;
38
+ right: 16px;
39
+ width: 14px;
40
+ height: 14px;
41
+ top: 50%;
42
+ transform: translateY(-50%);
43
+ cursor: pointer;
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ z-index: 2002;
33
48
  }
@@ -9,6 +9,8 @@ declare namespace BrandTable {
9
9
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
10
10
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
11
11
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
12
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
13
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
12
14
  theme: PropTypes.Requireable<string>;
13
15
  dataTestId: PropTypes.Requireable<string>;
14
16
  }>>;
@@ -493,6 +493,8 @@ declare const ContentSkillModal: {
493
493
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
494
494
  onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
495
495
  onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
496
+ onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
497
+ inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
496
498
  theme: import("prop-types").Requireable<string>;
497
499
  dataTestId: import("prop-types").Requireable<string>;
498
500
  }>>;
@@ -670,6 +672,8 @@ declare const ContentSkillModal: {
670
672
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
671
673
  onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
672
674
  onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
675
+ onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
676
+ inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
673
677
  theme: import("prop-types").Requireable<string>;
674
678
  dataTestId: import("prop-types").Requireable<string>;
675
679
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/content-skill-modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,OAAkB,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAE1D,QAAA,MAAM,iBAAiB;YAAW,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DvD,CAAC;AAQF,eAAe,iBAAiB,CAAC"}
@@ -490,6 +490,8 @@ declare const ContentSkillModalPropTypes: {
490
490
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
491
491
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
492
492
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
493
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
494
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
493
495
  theme: PropTypes.Requireable<string>;
494
496
  dataTestId: PropTypes.Requireable<string>;
495
497
  }>>;
@@ -667,6 +669,8 @@ declare const ContentSkillModalPropTypes: {
667
669
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
668
670
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
669
671
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
672
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
673
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
670
674
  theme: PropTypes.Requireable<string>;
671
675
  dataTestId: PropTypes.Requireable<string>;
672
676
  }>>;
@@ -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"}
@@ -21,6 +21,8 @@ declare const FilterCheckboxAndSearch: {
21
21
  onClear: import("prop-types").Requireable<(...args: any[]) => any>;
22
22
  onFocus: import("prop-types").Requireable<(...args: any[]) => any>;
23
23
  onBlur: import("prop-types").Requireable<(...args: any[]) => any>;
24
+ onKeyDown: import("prop-types").Requireable<(...args: any[]) => any>;
25
+ inputRef: import("prop-types").Requireable<(...args: any[]) => any>;
24
26
  theme: import("prop-types").Requireable<string>;
25
27
  dataTestId: import("prop-types").Requireable<string>;
26
28
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/index.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAC,gBAAgB,EAAC,MAAM,iCAAiC,CAAC;AAKjE,OAAkB,EAAC,4BAA4B,EAAC,MAAM,eAAe,CAAC;AAiBtE,QAAA,MAAM,uBAAuB;YACpB,4BAA4B,WAC1B,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiG1B,CAAC;AAQF,eAAe,uBAAuB,CAAC"}
@@ -17,6 +17,8 @@ declare const propTypes: {
17
17
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
18
18
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
19
19
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
20
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
21
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
20
22
  theme: PropTypes.Requireable<string>;
21
23
  dataTestId: PropTypes.Requireable<string>;
22
24
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;CAcd,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"props-types.d.ts","sourceRoot":"","sources":["../../../src/organism/filter-checkbox-and-search/props-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAGnC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;CAcd,CAAC;AAEF,oBAAY,8BAA8B,GAAG;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,aAAK,UAAU,GAAG;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,GAAG,cAAc,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,OAAO,EAAE,8BAA8B,EAAE,CAAC;CAC3C,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -499,6 +499,8 @@ declare namespace ListItems {
499
499
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
500
500
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
501
501
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
502
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
503
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
502
504
  theme: PropTypes.Requireable<string>;
503
505
  dataTestId: PropTypes.Requireable<string>;
504
506
  }>>;
@@ -17,6 +17,8 @@ declare class MoocHeader extends React.Component<any, any, any> {
17
17
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
18
18
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
19
19
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
20
+ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
21
+ inputRef: PropTypes.Requireable<(...args: any[]) => any>;
20
22
  theme: PropTypes.Requireable<string>;
21
23
  dataTestId: PropTypes.Requireable<string>;
22
24
  }>>;
@@ -146,11 +148,14 @@ declare class MoocHeader extends React.Component<any, any, any> {
146
148
  }>>;
147
149
  };
148
150
  constructor(props: any);
151
+ isMobile: boolean;
149
152
  state: {
150
153
  isSettingsOpen: boolean;
151
154
  isMenuOpen: boolean;
152
155
  isFocus: boolean;
153
156
  isToolTipOpen: boolean;
157
+ isClosing: boolean;
158
+ isClosingStep2: boolean;
154
159
  };
155
160
  handleSettingsToggle(): void;
156
161
  handleMenuToggle(): void;
@@ -166,7 +171,16 @@ declare class MoocHeader extends React.Component<any, any, any> {
166
171
  handleOnMouseOver(): void;
167
172
  handleOnMouseLeave(): void;
168
173
  handleKeyPress(event: any): void;
174
+ handleSearchKeyDown(event: any): void;
175
+ searchBarRef: any;
176
+ searchInputRef: any;
177
+ setSearchBarRef(ref: any): void;
178
+ setSearchInputRef(ref: any): void;
179
+ handleClickOutside(event: any): void;
180
+ handleTransitionEnd(event: any): void;
181
+ componentDidMount(): void;
169
182
  componentDidUpdate(prevProps: any, prevState: any, prevContext: any): void;
183
+ componentWillUnmount(): void;
170
184
  menuSettings: any;
171
185
  createMenuButtons: (items: any, primaryColor: any) => any;
172
186
  render(): JSX.Element | null;
@@ -1 +1 @@
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,6BAufC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/mooc-header/index.js"],"names":[],"mappings":";AAuBA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAsGE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,wBAiCC;IA/BC,kBAAiD;IACjD;;;;;;;MAOC;IA8FH,6BAIC;IAED,yBAGC;IAxBD,qCAQC;IAED,wBAGC;IAjBD,+BAEC;IA4BD,2BAiBC;IAED,0BAKC;IAED,sBAIC;IAED,qBAiBC;IAaD,yBAQC;IAED,0BAQC;IAED,0BAIC;IAED,2BAIC;IAED,iCAUC;IAED,sCAKC;IAvMC,kBAAwB;IACxB,oBAA0B;IA0B5B,gCAEC;IAED,kCAEC;IAED,qCAqBC;IAmFD,sCASC;IA5ID,0BAEC;IAED,2EASC;IAED,6BAEC;IAkCC,kBAAsB;IA8IxB,0DAaE;IAEF,6BA6iBC;CACF"}