@coorpacademy/components 11.38.6-alpha.27 → 11.38.6-alpha.29

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 (161) hide show
  1. package/es/atom/input-search/index.d.ts +0 -2
  2. package/es/atom/input-search/index.d.ts.map +1 -1
  3. package/es/atom/input-search/index.js +13 -46
  4. package/es/atom/input-search/index.js.map +1 -1
  5. package/es/atom/input-search/style.css +0 -96
  6. package/es/molecule/card/customer.css +0 -3
  7. package/es/molecule/card/favorite.css +3 -3
  8. package/es/molecule/card/index.d.ts.map +1 -1
  9. package/es/molecule/card/index.js +27 -11
  10. package/es/molecule/card/index.js.map +1 -1
  11. package/es/molecule/card/notification.css +28 -12
  12. package/es/molecule/card/notification.d.ts.map +1 -1
  13. package/es/molecule/card/notification.js +24 -4
  14. package/es/molecule/card/notification.js.map +1 -1
  15. package/es/molecule/card/style.css +4 -53
  16. package/es/molecule/card-content/index.d.ts.map +1 -1
  17. package/es/molecule/card-content/index.js +59 -37
  18. package/es/molecule/card-content/index.js.map +1 -1
  19. package/es/molecule/card-content/style.css +27 -72
  20. package/es/molecule/cm-popin/types.d.ts +0 -2
  21. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  22. package/es/molecule/external-content-button/style.css +1 -0
  23. package/es/molecule/multi-filter-panel/index.d.ts +0 -2
  24. package/es/molecule/multi-filter-panel/index.d.ts.map +1 -1
  25. package/es/molecule/multi-filter-panel/prop-types.d.ts +0 -2
  26. package/es/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  27. package/es/molecule/search-form/index.d.ts +0 -5
  28. package/es/molecule/search-form/index.d.ts.map +1 -1
  29. package/es/molecule/search-form/index.js +16 -26
  30. package/es/molecule/search-form/index.js.map +1 -1
  31. package/es/molecule/search-form/style.css +6 -21
  32. package/es/organism/brand-table/index.d.ts +0 -2
  33. package/es/organism/content-skill-modal/index.d.ts +0 -4
  34. package/es/organism/content-skill-modal/index.d.ts.map +1 -1
  35. package/es/organism/content-skill-modal/types.d.ts +0 -4
  36. package/es/organism/content-skill-modal/types.d.ts.map +1 -1
  37. package/es/organism/filter-checkbox-and-search/index.d.ts +0 -2
  38. package/es/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  39. package/es/organism/filter-checkbox-and-search/props-types.d.ts +0 -2
  40. package/es/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  41. package/es/organism/list-items/index.d.ts +0 -2
  42. package/es/organism/mooc-header/index.d.ts +0 -14
  43. package/es/organism/mooc-header/index.d.ts.map +1 -1
  44. package/es/organism/mooc-header/index.js +12 -123
  45. package/es/organism/mooc-header/index.js.map +1 -1
  46. package/es/organism/mooc-header/style.css +8 -181
  47. package/es/template/app-player/loading/index.d.ts +0 -2
  48. package/es/template/app-player/player/index.d.ts +0 -4
  49. package/es/template/app-player/player/slides/index.d.ts +0 -2
  50. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  51. package/es/template/app-player/popin-correction/index.d.ts +0 -2
  52. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  53. package/es/template/app-player/popin-end/index.d.ts +0 -2
  54. package/es/template/app-review/index.d.ts +0 -2
  55. package/es/template/app-review/index.d.ts.map +1 -1
  56. package/es/template/app-review/player/prop-types.d.ts +0 -2
  57. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  58. package/es/template/app-review/prop-types.d.ts +0 -2
  59. package/es/template/app-review/prop-types.d.ts.map +1 -1
  60. package/es/template/back-office/brand-update/index.d.ts +0 -12
  61. package/es/template/common/dashboard/index.d.ts +0 -4
  62. package/es/template/common/search-page/index.d.ts +0 -2
  63. package/es/template/external-course/index.d.ts +0 -2
  64. package/es/util/check-is-mobile.d.ts +1 -1
  65. package/es/util/check-is-mobile.d.ts.map +1 -1
  66. package/es/util/check-is-mobile.js +2 -4
  67. package/es/util/check-is-mobile.js.map +1 -1
  68. package/es/util/external-content.d.ts +38 -4
  69. package/es/util/external-content.d.ts.map +1 -1
  70. package/es/util/external-content.js +27 -4
  71. package/es/util/external-content.js.map +1 -1
  72. package/es/util/icons.d.ts +8 -0
  73. package/es/util/icons.d.ts.map +1 -0
  74. package/es/util/icons.js +8 -0
  75. package/es/util/icons.js.map +1 -0
  76. package/es/variables/colors.d.ts +5 -0
  77. package/es/variables/colors.d.ts.map +1 -1
  78. package/es/variables/colors.js +6 -1
  79. package/es/variables/colors.js.map +1 -1
  80. package/lib/atom/input-search/index.d.ts +0 -2
  81. package/lib/atom/input-search/index.d.ts.map +1 -1
  82. package/lib/atom/input-search/index.js +13 -46
  83. package/lib/atom/input-search/index.js.map +1 -1
  84. package/lib/atom/input-search/style.css +0 -96
  85. package/lib/molecule/card/customer.css +0 -3
  86. package/lib/molecule/card/favorite.css +3 -3
  87. package/lib/molecule/card/index.d.ts.map +1 -1
  88. package/lib/molecule/card/index.js +26 -10
  89. package/lib/molecule/card/index.js.map +1 -1
  90. package/lib/molecule/card/notification.css +28 -12
  91. package/lib/molecule/card/notification.d.ts.map +1 -1
  92. package/lib/molecule/card/notification.js +23 -3
  93. package/lib/molecule/card/notification.js.map +1 -1
  94. package/lib/molecule/card/style.css +4 -53
  95. package/lib/molecule/card-content/index.d.ts.map +1 -1
  96. package/lib/molecule/card-content/index.js +58 -36
  97. package/lib/molecule/card-content/index.js.map +1 -1
  98. package/lib/molecule/card-content/style.css +27 -72
  99. package/lib/molecule/cm-popin/types.d.ts +0 -2
  100. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  101. package/lib/molecule/external-content-button/style.css +1 -0
  102. package/lib/molecule/multi-filter-panel/index.d.ts +0 -2
  103. package/lib/molecule/multi-filter-panel/index.d.ts.map +1 -1
  104. package/lib/molecule/multi-filter-panel/prop-types.d.ts +0 -2
  105. package/lib/molecule/multi-filter-panel/prop-types.d.ts.map +1 -1
  106. package/lib/molecule/search-form/index.d.ts +0 -5
  107. package/lib/molecule/search-form/index.d.ts.map +1 -1
  108. package/lib/molecule/search-form/index.js +17 -27
  109. package/lib/molecule/search-form/index.js.map +1 -1
  110. package/lib/molecule/search-form/style.css +6 -21
  111. package/lib/organism/brand-table/index.d.ts +0 -2
  112. package/lib/organism/content-skill-modal/index.d.ts +0 -4
  113. package/lib/organism/content-skill-modal/index.d.ts.map +1 -1
  114. package/lib/organism/content-skill-modal/types.d.ts +0 -4
  115. package/lib/organism/content-skill-modal/types.d.ts.map +1 -1
  116. package/lib/organism/filter-checkbox-and-search/index.d.ts +0 -2
  117. package/lib/organism/filter-checkbox-and-search/index.d.ts.map +1 -1
  118. package/lib/organism/filter-checkbox-and-search/props-types.d.ts +0 -2
  119. package/lib/organism/filter-checkbox-and-search/props-types.d.ts.map +1 -1
  120. package/lib/organism/list-items/index.d.ts +0 -2
  121. package/lib/organism/mooc-header/index.d.ts +0 -14
  122. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  123. package/lib/organism/mooc-header/index.js +12 -123
  124. package/lib/organism/mooc-header/index.js.map +1 -1
  125. package/lib/organism/mooc-header/style.css +8 -181
  126. package/lib/template/app-player/loading/index.d.ts +0 -2
  127. package/lib/template/app-player/player/index.d.ts +0 -4
  128. package/lib/template/app-player/player/slides/index.d.ts +0 -2
  129. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  130. package/lib/template/app-player/popin-correction/index.d.ts +0 -2
  131. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  132. package/lib/template/app-player/popin-end/index.d.ts +0 -2
  133. package/lib/template/app-review/index.d.ts +0 -2
  134. package/lib/template/app-review/index.d.ts.map +1 -1
  135. package/lib/template/app-review/player/prop-types.d.ts +0 -2
  136. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  137. package/lib/template/app-review/prop-types.d.ts +0 -2
  138. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  139. package/lib/template/back-office/brand-update/index.d.ts +0 -12
  140. package/lib/template/common/dashboard/index.d.ts +0 -4
  141. package/lib/template/common/search-page/index.d.ts +0 -2
  142. package/lib/template/external-course/index.d.ts +0 -2
  143. package/lib/util/check-is-mobile.d.ts +1 -1
  144. package/lib/util/check-is-mobile.d.ts.map +1 -1
  145. package/lib/util/check-is-mobile.js +2 -4
  146. package/lib/util/check-is-mobile.js.map +1 -1
  147. package/lib/util/external-content.d.ts +38 -4
  148. package/lib/util/external-content.d.ts.map +1 -1
  149. package/lib/util/external-content.js +28 -5
  150. package/lib/util/external-content.js.map +1 -1
  151. package/lib/util/icons.d.ts +8 -0
  152. package/lib/util/icons.d.ts.map +1 -0
  153. package/lib/util/icons.js +12 -0
  154. package/lib/util/icons.js.map +1 -0
  155. package/lib/variables/colors.d.ts +5 -0
  156. package/lib/variables/colors.d.ts.map +1 -1
  157. package/lib/variables/colors.js +6 -1
  158. package/lib/variables/colors.js.map +1 -1
  159. package/locales/en/global.json +5 -0
  160. package/locales/lt/global.json +24 -24
  161. package/package.json +2 -2
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAgB,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"}
@@ -1160,8 +1160,6 @@ declare const propTypes: {
1160
1160
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1161
1161
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1162
1162
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1163
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1164
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1165
1163
  theme: PropTypes.Requireable<string>;
1166
1164
  dataTestId: PropTypes.Requireable<string>;
1167
1165
  }>>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":";AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -282,8 +282,6 @@ declare namespace BrandUpdate {
282
282
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
283
283
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
284
284
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
285
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
286
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
287
285
  theme: PropTypes.Requireable<string>;
288
286
  dataTestId: PropTypes.Requireable<string>;
289
287
  }>>;
@@ -907,8 +905,6 @@ declare namespace BrandUpdate {
907
905
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
908
906
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
909
907
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
910
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
911
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
912
908
  theme: PropTypes.Requireable<string>;
913
909
  dataTestId: PropTypes.Requireable<string>;
914
910
  }>>;
@@ -2350,8 +2346,6 @@ declare namespace BrandUpdate {
2350
2346
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
2351
2347
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
2352
2348
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
2353
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
2354
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
2355
2349
  theme: PropTypes.Requireable<string>;
2356
2350
  dataTestId: PropTypes.Requireable<string>;
2357
2351
  }>>;
@@ -3007,8 +3001,6 @@ declare namespace BrandUpdate {
3007
3001
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3008
3002
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3009
3003
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3010
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3011
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3012
3004
  theme: PropTypes.Requireable<string>;
3013
3005
  dataTestId: PropTypes.Requireable<string>;
3014
3006
  }>>;
@@ -3186,8 +3178,6 @@ declare namespace BrandUpdate {
3186
3178
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3187
3179
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3188
3180
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3189
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3190
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3191
3181
  theme: PropTypes.Requireable<string>;
3192
3182
  dataTestId: PropTypes.Requireable<string>;
3193
3183
  }>>;
@@ -3211,8 +3201,6 @@ declare namespace BrandUpdate {
3211
3201
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
3212
3202
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
3213
3203
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
3214
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
3215
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
3216
3204
  theme: PropTypes.Requireable<string>;
3217
3205
  dataTestId: PropTypes.Requireable<string>;
3218
3206
  }>>;
@@ -651,8 +651,6 @@ declare namespace Dashboard {
651
651
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
652
652
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
653
653
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
654
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
655
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
656
654
  theme: PropTypes.Requireable<string>;
657
655
  dataTestId: PropTypes.Requireable<string>;
658
656
  }>>;
@@ -1461,8 +1459,6 @@ declare namespace Dashboard {
1461
1459
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
1462
1460
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1463
1461
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1464
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
1465
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
1466
1462
  theme: PropTypes.Requireable<string>;
1467
1463
  dataTestId: PropTypes.Requireable<string>;
1468
1464
  }>>;
@@ -832,8 +832,6 @@ declare namespace SearchPage {
832
832
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
833
833
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
834
834
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
835
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
836
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
837
835
  theme: PropTypes.Requireable<string>;
838
836
  dataTestId: PropTypes.Requireable<string>;
839
837
  }>>;
@@ -669,8 +669,6 @@ declare namespace ExternalCourse {
669
669
  onClear: PropTypes.Requireable<(...args: any[]) => any>;
670
670
  onFocus: PropTypes.Requireable<(...args: any[]) => any>;
671
671
  onBlur: PropTypes.Requireable<(...args: any[]) => any>;
672
- onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
673
- inputRef: PropTypes.Requireable<(...args: any[]) => any>;
674
672
  theme: PropTypes.Requireable<string>;
675
673
  dataTestId: PropTypes.Requireable<string>;
676
674
  }>>;
@@ -1,2 +1,2 @@
1
- export function isMobile(userAgent: any, includeTablet?: boolean): boolean;
1
+ export function isMobile(userAgent: any): boolean;
2
2
  //# sourceMappingURL=check-is-mobile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-is-mobile.d.ts","sourceRoot":"","sources":["../../src/util/check-is-mobile.js"],"names":[],"mappings":"AAAO,2EAcN"}
1
+ {"version":3,"file":"check-is-mobile.d.ts","sourceRoot":"","sources":["../../src/util/check-is-mobile.js"],"names":[],"mappings":"AAAO,kDAWN"}
@@ -1,8 +1,6 @@
1
- export const isMobile = (userAgent, includeTablet = false) => {
1
+ export const isMobile = userAgent => {
2
2
  const isTouch = 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
3
- const isMobileScreen = window.innerWidth <= 640;
4
- const isTabletScreen = window.innerWidth <= 960 && window.innerWidth > 640;
5
- const isSmallScreen = includeTablet ? isMobileScreen || isTabletScreen : isMobileScreen;
3
+ const isSmallScreen = window.innerWidth <= 768;
6
4
  const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(userAgent);
7
5
  return isSmallScreen || isTouch && isMobileUserAgent;
8
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","includeTablet","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","isMobileScreen","innerWidth","isTabletScreen","isSmallScreen","isMobileUserAgent","test"],"sources":["../../src/util/check-is-mobile.js"],"sourcesContent":["export const isMobile = (userAgent, includeTablet = false) => {\n const isTouch =\n 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n\n const isMobileScreen = window.innerWidth <= 640;\n const isTabletScreen = window.innerWidth <= 960 && window.innerWidth > 640;\n\n const isSmallScreen = includeTablet ? isMobileScreen || isTabletScreen : isMobileScreen;\n\n const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(\n userAgent\n );\n\n return isSmallScreen || (isTouch && isMobileUserAgent);\n};\n"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,GAAGA,CAACC,SAAS,EAAEC,aAAa,GAAG,KAAK,KAAK;EAC5D,MAAMC,OAAO,GACX,cAAc,IAAIC,MAAM,IAAIC,SAAS,CAACC,cAAc,GAAG,CAAC,IAAID,SAAS,CAACE,gBAAgB,GAAG,CAAC;EAE5F,MAAMC,cAAc,GAAGJ,MAAM,CAACK,UAAU,IAAI,GAAG;EAC/C,MAAMC,cAAc,GAAGN,MAAM,CAACK,UAAU,IAAI,GAAG,IAAIL,MAAM,CAACK,UAAU,GAAG,GAAG;EAE1E,MAAME,aAAa,GAAGT,aAAa,GAAGM,cAAc,IAAIE,cAAc,GAAGF,cAAc;EAEvF,MAAMI,iBAAiB,GAAG,iEAAiE,CAACC,IAAI,CAC9FZ,SACF,CAAC;EAED,OAAOU,aAAa,IAAKR,OAAO,IAAIS,iBAAkB;AACxD,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"check-is-mobile.js","names":["isMobile","userAgent","isTouch","window","navigator","maxTouchPoints","msMaxTouchPoints","isSmallScreen","innerWidth","isMobileUserAgent","test"],"sources":["../../src/util/check-is-mobile.js"],"sourcesContent":["export const isMobile = userAgent => {\n const isTouch =\n 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;\n\n const isSmallScreen = window.innerWidth <= 768;\n\n const isMobileUserAgent = /Android|iPhone|iPad|iPod|Mobile|BlackBerry|IEMobile|Opera Mini/i.test(\n userAgent\n );\n\n return isSmallScreen || (isTouch && isMobileUserAgent);\n};\n"],"mappings":"AAAA,OAAO,MAAMA,QAAQ,GAAGC,SAAS,IAAI;EACnC,MAAMC,OAAO,GACX,cAAc,IAAIC,MAAM,IAAIC,SAAS,CAACC,cAAc,GAAG,CAAC,IAAID,SAAS,CAACE,gBAAgB,GAAG,CAAC;EAE5F,MAAMC,aAAa,GAAGJ,MAAM,CAACK,UAAU,IAAI,GAAG;EAE9C,MAAMC,iBAAiB,GAAG,iEAAiE,CAACC,IAAI,CAC9FT,SACF,CAAC;EAED,OAAOM,aAAa,IAAKL,OAAO,IAAIO,iBAAkB;AACxD,CAAC","ignoreList":[]}
@@ -4,24 +4,58 @@ export const EXTERNAL_COURSE_TYPES: string[];
4
4
  export namespace EXTERNAL_CONTENT_ICONS {
5
5
  namespace scorm {
6
6
  export { ScormIcon as icon };
7
- export const color: string;
7
+ export const color: "#FFB800";
8
8
  }
9
9
  namespace article {
10
10
  export { ArticleIcon as icon };
11
- const color_1: string;
11
+ const color_1: "#365FCD";
12
12
  export { color_1 as color };
13
13
  }
14
14
  namespace video {
15
15
  export { VideoIcon as icon };
16
- const color_2: string;
16
+ const color_2: "#E8335E";
17
17
  export { color_2 as color };
18
18
  }
19
19
  namespace podcast {
20
20
  export { PodcastIcon as icon };
21
- const color_3: string;
21
+ const color_3: "#432ba7";
22
22
  export { color_3 as color };
23
23
  }
24
24
  }
25
+ export namespace ICONS_TYPES {
26
+ export namespace scorm_1 {
27
+ const iconName: string;
28
+ const iconColor: "#FFB800";
29
+ }
30
+ export { scorm_1 as scorm };
31
+ export namespace article_1 {
32
+ const iconName_1: string;
33
+ export { iconName_1 as iconName };
34
+ const iconColor_1: "#365FCD";
35
+ export { iconColor_1 as iconColor };
36
+ }
37
+ export { article_1 as article };
38
+ export namespace video_1 {
39
+ const iconName_2: string;
40
+ export { iconName_2 as iconName };
41
+ const iconColor_2: "#E8335E";
42
+ export { iconColor_2 as iconColor };
43
+ }
44
+ export { video_1 as video };
45
+ export namespace podcast_1 {
46
+ const iconName_3: string;
47
+ export { iconName_3 as iconName };
48
+ const iconColor_3: "#432ba7";
49
+ export { iconColor_3 as iconColor };
50
+ }
51
+ export { podcast_1 as podcast };
52
+ export namespace chapter {
53
+ const iconName_4: string;
54
+ export { iconName_4 as iconName };
55
+ const iconColor_4: "#515161";
56
+ export { iconColor_4 as iconColor };
57
+ }
58
+ }
25
59
  import { NovaCompositionCoorpacademyScorm as ScormIcon } from "@coorpacademy/nova-icons";
26
60
  import { NovaCompositionCoorpacademyArticle as ArticleIcon } from "@coorpacademy/nova-icons";
27
61
  import { NovaCompositionCoorpacademyVideo as VideoIcon } from "@coorpacademy/nova-icons";
@@ -1 +1 @@
1
- {"version":3,"file":"external-content.d.ts","sourceRoot":"","sources":["../../src/util/external-content.js"],"names":[],"mappings":";AAQO,sDAA0F;AAEjG,6CAAqF"}
1
+ {"version":3,"file":"external-content.d.ts","sourceRoot":"","sources":["../../src/util/external-content.js"],"names":[],"mappings":";AASO,sDAA0F;AAEjG,6CAAqF"}
@@ -1,23 +1,46 @@
1
1
  import includes from 'lodash/fp/includes';
2
2
  import { NovaCompositionCoorpacademyScorm as ScormIcon, NovaCompositionCoorpacademyArticle as ArticleIcon, NovaCompositionCoorpacademyVideo as VideoIcon, NovaCompositionCoorpacademyMicrophone as PodcastIcon } from '@coorpacademy/nova-icons';
3
+ import { COLORS } from '../variables/colors';
3
4
  export const isExternalContent = type => includes(type, ['scorm', 'video', 'article', 'podcast']);
4
5
  export const EXTERNAL_COURSE_TYPES = ['podcast', 'video', 'interactive', 'document'];
5
6
  export const EXTERNAL_CONTENT_ICONS = {
6
7
  scorm: {
7
8
  icon: ScormIcon,
8
- color: '#FFB800'
9
+ color: COLORS.cm_yellow_scorm
9
10
  },
10
11
  article: {
11
12
  icon: ArticleIcon,
12
- color: '#365FCD'
13
+ color: COLORS.cm_bleu_article
13
14
  },
14
15
  video: {
15
16
  icon: VideoIcon,
16
- color: '#E8335E'
17
+ color: COLORS.cm_red_video
17
18
  },
18
19
  podcast: {
19
20
  icon: PodcastIcon,
20
- color: '#432ba7'
21
+ color: COLORS.cm_violet_podcast
22
+ }
23
+ };
24
+ export const ICONS_TYPES = {
25
+ scorm: {
26
+ iconName: 'rectangle-history',
27
+ iconColor: COLORS.cm_yellow_scorm
28
+ },
29
+ article: {
30
+ iconName: 'file-lines',
31
+ iconColor: COLORS.cm_bleu_article
32
+ },
33
+ video: {
34
+ iconName: 'circle-play',
35
+ iconColor: COLORS.cm_red_video
36
+ },
37
+ podcast: {
38
+ iconName: 'microphone-lines',
39
+ iconColor: COLORS.cm_violet_podcast
40
+ },
41
+ chapter: {
42
+ iconName: 'stopwatch',
43
+ iconColor: COLORS.neutral_500
21
44
  }
22
45
  };
23
46
  //# sourceMappingURL=external-content.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"external-content.js","names":["includes","NovaCompositionCoorpacademyScorm","ScormIcon","NovaCompositionCoorpacademyArticle","ArticleIcon","NovaCompositionCoorpacademyVideo","VideoIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","isExternalContent","type","EXTERNAL_COURSE_TYPES","EXTERNAL_CONTENT_ICONS","scorm","icon","color","article","video","podcast"],"sources":["../../src/util/external-content.js"],"sourcesContent":["import includes from 'lodash/fp/includes';\nimport {\n NovaCompositionCoorpacademyScorm as ScormIcon,\n NovaCompositionCoorpacademyArticle as ArticleIcon,\n NovaCompositionCoorpacademyVideo as VideoIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\n\nexport const isExternalContent = type => includes(type, ['scorm', 'video', 'article', 'podcast']);\n\nexport const EXTERNAL_COURSE_TYPES = ['podcast', 'video', 'interactive', 'document'];\n\nexport const EXTERNAL_CONTENT_ICONS = {\n scorm: {icon: ScormIcon, color: '#FFB800'},\n article: {icon: ArticleIcon, color: '#365FCD'},\n video: {icon: VideoIcon, color: '#E8335E'},\n podcast: {icon: PodcastIcon, color: '#432ba7'}\n};\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oBAAoB;AACzC,SACEC,gCAAgC,IAAIC,SAAS,EAC7CC,kCAAkC,IAAIC,WAAW,EACjDC,gCAAgC,IAAIC,SAAS,EAC7CC,qCAAqC,IAAIC,WAAW,QAC/C,0BAA0B;AAEjC,OAAO,MAAMC,iBAAiB,GAAGC,IAAI,IAAIV,QAAQ,CAACU,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEjG,OAAO,MAAMC,qBAAqB,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC;AAEpF,OAAO,MAAMC,sBAAsB,GAAG;EACpCC,KAAK,EAAE;IAACC,IAAI,EAAEZ,SAAS;IAAEa,KAAK,EAAE;EAAS,CAAC;EAC1CC,OAAO,EAAE;IAACF,IAAI,EAAEV,WAAW;IAAEW,KAAK,EAAE;EAAS,CAAC;EAC9CE,KAAK,EAAE;IAACH,IAAI,EAAER,SAAS;IAAES,KAAK,EAAE;EAAS,CAAC;EAC1CG,OAAO,EAAE;IAACJ,IAAI,EAAEN,WAAW;IAAEO,KAAK,EAAE;EAAS;AAC/C,CAAC","ignoreList":[]}
1
+ {"version":3,"file":"external-content.js","names":["includes","NovaCompositionCoorpacademyScorm","ScormIcon","NovaCompositionCoorpacademyArticle","ArticleIcon","NovaCompositionCoorpacademyVideo","VideoIcon","NovaCompositionCoorpacademyMicrophone","PodcastIcon","COLORS","isExternalContent","type","EXTERNAL_COURSE_TYPES","EXTERNAL_CONTENT_ICONS","scorm","icon","color","cm_yellow_scorm","article","cm_bleu_article","video","cm_red_video","podcast","cm_violet_podcast","ICONS_TYPES","iconName","iconColor","chapter","neutral_500"],"sources":["../../src/util/external-content.js"],"sourcesContent":["import includes from 'lodash/fp/includes';\nimport {\n NovaCompositionCoorpacademyScorm as ScormIcon,\n NovaCompositionCoorpacademyArticle as ArticleIcon,\n NovaCompositionCoorpacademyVideo as VideoIcon,\n NovaCompositionCoorpacademyMicrophone as PodcastIcon\n} from '@coorpacademy/nova-icons';\nimport {COLORS} from '../variables/colors';\n\nexport const isExternalContent = type => includes(type, ['scorm', 'video', 'article', 'podcast']);\n\nexport const EXTERNAL_COURSE_TYPES = ['podcast', 'video', 'interactive', 'document'];\n\nexport const EXTERNAL_CONTENT_ICONS = {\n scorm: {icon: ScormIcon, color: COLORS.cm_yellow_scorm},\n article: {icon: ArticleIcon, color: COLORS.cm_bleu_article},\n video: {icon: VideoIcon, color: COLORS.cm_red_video},\n podcast: {icon: PodcastIcon, color: COLORS.cm_violet_podcast}\n};\n\nexport const ICONS_TYPES = {\n scorm: {iconName: 'rectangle-history', iconColor: COLORS.cm_yellow_scorm},\n article: {iconName: 'file-lines', iconColor: COLORS.cm_bleu_article},\n video: {iconName: 'circle-play', iconColor: COLORS.cm_red_video},\n podcast: {iconName: 'microphone-lines', iconColor: COLORS.cm_violet_podcast},\n chapter: {iconName: 'stopwatch', iconColor: COLORS.neutral_500}\n};\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,oBAAoB;AACzC,SACEC,gCAAgC,IAAIC,SAAS,EAC7CC,kCAAkC,IAAIC,WAAW,EACjDC,gCAAgC,IAAIC,SAAS,EAC7CC,qCAAqC,IAAIC,WAAW,QAC/C,0BAA0B;AACjC,SAAQC,MAAM,QAAO,qBAAqB;AAE1C,OAAO,MAAMC,iBAAiB,GAAGC,IAAI,IAAIX,QAAQ,CAACW,IAAI,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;AAEjG,OAAO,MAAMC,qBAAqB,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,aAAa,EAAE,UAAU,CAAC;AAEpF,OAAO,MAAMC,sBAAsB,GAAG;EACpCC,KAAK,EAAE;IAACC,IAAI,EAAEb,SAAS;IAAEc,KAAK,EAAEP,MAAM,CAACQ;EAAe,CAAC;EACvDC,OAAO,EAAE;IAACH,IAAI,EAAEX,WAAW;IAAEY,KAAK,EAAEP,MAAM,CAACU;EAAe,CAAC;EAC3DC,KAAK,EAAE;IAACL,IAAI,EAAET,SAAS;IAAEU,KAAK,EAAEP,MAAM,CAACY;EAAY,CAAC;EACpDC,OAAO,EAAE;IAACP,IAAI,EAAEP,WAAW;IAAEQ,KAAK,EAAEP,MAAM,CAACc;EAAiB;AAC9D,CAAC;AAED,OAAO,MAAMC,WAAW,GAAG;EACzBV,KAAK,EAAE;IAACW,QAAQ,EAAE,mBAAmB;IAAEC,SAAS,EAAEjB,MAAM,CAACQ;EAAe,CAAC;EACzEC,OAAO,EAAE;IAACO,QAAQ,EAAE,YAAY;IAAEC,SAAS,EAAEjB,MAAM,CAACU;EAAe,CAAC;EACpEC,KAAK,EAAE;IAACK,QAAQ,EAAE,aAAa;IAAEC,SAAS,EAAEjB,MAAM,CAACY;EAAY,CAAC;EAChEC,OAAO,EAAE;IAACG,QAAQ,EAAE,kBAAkB;IAAEC,SAAS,EAAEjB,MAAM,CAACc;EAAiB,CAAC;EAC5EI,OAAO,EAAE;IAACF,QAAQ,EAAE,WAAW;IAAEC,SAAS,EAAEjB,MAAM,CAACmB;EAAW;AAChE,CAAC","ignoreList":[]}
@@ -0,0 +1,8 @@
1
+ export namespace ICONS_NAMES_MAP {
2
+ const scorm: string;
3
+ const video: string;
4
+ const article: string;
5
+ const podcast: string;
6
+ const course: string;
7
+ }
8
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/util/icons.js"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export const ICONS_NAMES_MAP = {
2
+ scorm: 'rectangle-history',
3
+ video: 'circle-play',
4
+ article: 'file-lines',
5
+ podcast: 'microphone-lines',
6
+ course: 'book-open'
7
+ };
8
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","names":["ICONS_NAMES_MAP","scorm","video","article","podcast","course"],"sources":["../../src/util/icons.js"],"sourcesContent":["export const ICONS_NAMES_MAP = {\n scorm: 'rectangle-history',\n video: 'circle-play',\n article: 'file-lines',\n podcast: 'microphone-lines',\n course: 'book-open'\n};\n"],"mappings":"AAAA,OAAO,MAAMA,eAAe,GAAG;EAC7BC,KAAK,EAAE,mBAAmB;EAC1BC,KAAK,EAAE,aAAa;EACpBC,OAAO,EAAE,YAAY;EACrBC,OAAO,EAAE,kBAAkB;EAC3BC,MAAM,EAAE;AACV,CAAC","ignoreList":[]}
@@ -20,11 +20,15 @@ export declare const COLORS: {
20
20
  readonly yellow_100: "#FFF9D1";
21
21
  readonly red_700: "#A30000";
22
22
  readonly red_100: "#FFD1D1";
23
+ readonly cm_violet_podcast: "#432ba7";
23
24
  readonly cm_turquoise_strong: "#1B7B88";
24
25
  readonly yellow_500: "#FFCE0A";
25
26
  readonly neutral_75: " #F4F4F5";
26
27
  readonly neutral_400: " #9999A8";
27
28
  readonly neutral_500: "#515161";
29
+ readonly cm_red_video: "#E8335E";
30
+ readonly cm_bleu_article: "#365FCD";
31
+ readonly cm_yellow_scorm: "#FFB800";
28
32
  readonly negative_700: "#B81400";
29
33
  readonly cm_orange_800: "#A32700";
30
34
  readonly purple_700: "#2B00A3";
@@ -34,6 +38,7 @@ export declare const COLORS: {
34
38
  readonly orange_100: "#FFDCD1";
35
39
  readonly cm_positive_500: "#35CC7F";
36
40
  readonly purple_500: "#4B0AFF";
41
+ readonly cm_grey_200: "#D7D7DA";
37
42
  };
38
43
  export declare type Colors = typeof COLORS;
39
44
  //# sourceMappingURL=colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/variables/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCT,CAAC;AAEX,oBAAY,MAAM,GAAG,OAAO,MAAM,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/variables/colors.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCT,CAAC;AAEX,oBAAY,MAAM,GAAG,OAAO,MAAM,CAAC"}
@@ -20,11 +20,15 @@ export const COLORS = {
20
20
  yellow_100: '#FFF9D1',
21
21
  red_700: '#A30000',
22
22
  red_100: '#FFD1D1',
23
+ cm_violet_podcast: '#432ba7',
23
24
  cm_turquoise_strong: '#1B7B88',
24
25
  yellow_500: '#FFCE0A',
25
26
  neutral_75: ' #F4F4F5',
26
27
  neutral_400: ' #9999A8',
27
28
  neutral_500: '#515161',
29
+ cm_red_video: '#E8335E',
30
+ cm_bleu_article: '#365FCD',
31
+ cm_yellow_scorm: '#FFB800',
28
32
  negative_700: '#B81400',
29
33
  cm_orange_800: '#A32700',
30
34
  purple_700: '#2B00A3',
@@ -33,6 +37,7 @@ export const COLORS = {
33
37
  pink_100: '#FAD6DE',
34
38
  orange_100: '#FFDCD1',
35
39
  cm_positive_500: '#35CC7F',
36
- purple_500: '#4B0AFF'
40
+ purple_500: '#4B0AFF',
41
+ cm_grey_200: '#D7D7DA'
37
42
  };
38
43
  //# sourceMappingURL=colors.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.js","names":["COLORS","cm_grey_100","negative","cm_negative_200","cm_positive_200","white","cm_blue_50","cm_grey_400","cm_grey_800","cm_grey_150","cm_primary_blue","cm_blue_700","primary_100","primary_600","cm_grey_500","cm_grey_700","cm_yellow_400","brand","yellow_700","yellow_100","red_700","red_100","cm_turquoise_strong","yellow_500","neutral_75","neutral_400","neutral_500","negative_700","cm_orange_800","purple_700","purple_100","turquoise_100","pink_100","orange_100","cm_positive_500","purple_500"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n cm_grey_100: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n cm_positive_200: '#05944F',\n white: '#FFFFFF',\n cm_blue_50: '#f1f6fe',\n cm_grey_400: '#9999A8',\n cm_grey_800: '#171721',\n cm_grey_150: '#E1E1E3',\n cm_primary_blue: '#0061FF',\n cm_blue_700: '#0042AD',\n primary_100: '#D6E6FF',\n primary_600: '#0051D6',\n cm_grey_500: '#9999A8',\n cm_grey_700: '#1D1D2B',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF',\n yellow_700: '#A38300',\n yellow_100: '#FFF9D1',\n red_700: '#A30000',\n red_100: '#FFD1D1',\n cm_turquoise_strong: '#1B7B88',\n yellow_500: '#FFCE0A',\n neutral_75: ' #F4F4F5',\n neutral_400: ' #9999A8',\n neutral_500: '#515161',\n negative_700: '#B81400',\n cm_orange_800: '#A32700',\n purple_700: '#2B00A3',\n purple_100: '#DDD1FF',\n turquoise_100: '#D9F4F7',\n pink_100: '#FAD6DE',\n orange_100: '#FFDCD1',\n cm_positive_500: '#35CC7F',\n purple_500: '#4B0AFF'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG;EACpBC,WAAW,EAAE,SAAS;EACtBC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAE,SAAS;EAChBC,UAAU,EAAE,SAAS;EACrBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,aAAa,EAAE,SAAS;EACxBC,KAAK,EAAE,SAAS;EAChBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;EAClBC,mBAAmB,EAAE,SAAS;EAC9BC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,UAAU;EACtBC,WAAW,EAAE,UAAU;EACvBC,WAAW,EAAE,SAAS;EACtBC,YAAY,EAAE,SAAS;EACvBC,aAAa,EAAE,SAAS;EACxBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,QAAQ,EAAE,SAAS;EACnBC,UAAU,EAAE,SAAS;EACrBC,eAAe,EAAE,SAAS;EAC1BC,UAAU,EAAE;AACd,CAAU","ignoreList":[]}
1
+ {"version":3,"file":"colors.js","names":["COLORS","cm_grey_100","negative","cm_negative_200","cm_positive_200","white","cm_blue_50","cm_grey_400","cm_grey_800","cm_grey_150","cm_primary_blue","cm_blue_700","primary_100","primary_600","cm_grey_500","cm_grey_700","cm_yellow_400","brand","yellow_700","yellow_100","red_700","red_100","cm_violet_podcast","cm_turquoise_strong","yellow_500","neutral_75","neutral_400","neutral_500","cm_red_video","cm_bleu_article","cm_yellow_scorm","negative_700","cm_orange_800","purple_700","purple_100","turquoise_100","pink_100","orange_100","cm_positive_500","purple_500","cm_grey_200"],"sources":["../../src/variables/colors.ts"],"sourcesContent":["export const COLORS = {\n cm_grey_100: '#EAEAEB',\n negative: '#ed3436',\n cm_negative_200: '#B81400',\n cm_positive_200: '#05944F',\n white: '#FFFFFF',\n cm_blue_50: '#f1f6fe',\n cm_grey_400: '#9999A8',\n cm_grey_800: '#171721',\n cm_grey_150: '#E1E1E3',\n cm_primary_blue: '#0061FF',\n cm_blue_700: '#0042AD',\n primary_100: '#D6E6FF',\n primary_600: '#0051D6',\n cm_grey_500: '#9999A8',\n cm_grey_700: '#1D1D2B',\n cm_yellow_400: '#bd7e00',\n brand: '#00B0FF',\n yellow_700: '#A38300',\n yellow_100: '#FFF9D1',\n red_700: '#A30000',\n red_100: '#FFD1D1',\n cm_violet_podcast: '#432ba7',\n cm_turquoise_strong: '#1B7B88',\n yellow_500: '#FFCE0A',\n neutral_75: ' #F4F4F5',\n neutral_400: ' #9999A8',\n neutral_500: '#515161',\n cm_red_video: '#E8335E',\n cm_bleu_article: '#365FCD',\n cm_yellow_scorm: '#FFB800',\n negative_700: '#B81400',\n cm_orange_800: '#A32700',\n purple_700: '#2B00A3',\n purple_100: '#DDD1FF',\n turquoise_100: '#D9F4F7',\n pink_100: '#FAD6DE',\n orange_100: '#FFDCD1',\n cm_positive_500: '#35CC7F',\n purple_500: '#4B0AFF',\n cm_grey_200: '#D7D7DA'\n} as const;\n\nexport type Colors = typeof COLORS;\n"],"mappings":"AAAA,OAAO,MAAMA,MAAM,GAAG;EACpBC,WAAW,EAAE,SAAS;EACtBC,QAAQ,EAAE,SAAS;EACnBC,eAAe,EAAE,SAAS;EAC1BC,eAAe,EAAE,SAAS;EAC1BC,KAAK,EAAE,SAAS;EAChBC,UAAU,EAAE,SAAS;EACrBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,eAAe,EAAE,SAAS;EAC1BC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,WAAW,EAAE,SAAS;EACtBC,aAAa,EAAE,SAAS;EACxBC,KAAK,EAAE,SAAS;EAChBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,OAAO,EAAE,SAAS;EAClBC,OAAO,EAAE,SAAS;EAClBC,iBAAiB,EAAE,SAAS;EAC5BC,mBAAmB,EAAE,SAAS;EAC9BC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,UAAU;EACtBC,WAAW,EAAE,UAAU;EACvBC,WAAW,EAAE,SAAS;EACtBC,YAAY,EAAE,SAAS;EACvBC,eAAe,EAAE,SAAS;EAC1BC,eAAe,EAAE,SAAS;EAC1BC,YAAY,EAAE,SAAS;EACvBC,aAAa,EAAE,SAAS;EACxBC,UAAU,EAAE,SAAS;EACrBC,UAAU,EAAE,SAAS;EACrBC,aAAa,EAAE,SAAS;EACxBC,QAAQ,EAAE,SAAS;EACnBC,UAAU,EAAE,SAAS;EACrBC,eAAe,EAAE,SAAS;EAC1BC,UAAU,EAAE,SAAS;EACrBC,WAAW,EAAE;AACf,CAAU","ignoreList":[]}
@@ -31,8 +31,6 @@ declare namespace Search {
31
31
  const onClear: PropTypes.Requireable<(...args: any[]) => any>;
32
32
  const onFocus: PropTypes.Requireable<(...args: any[]) => any>;
33
33
  const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
34
- const onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
35
- const inputRef: PropTypes.Requireable<(...args: any[]) => any>;
36
34
  const theme: PropTypes.Requireable<string>;
37
35
  const dataTestId: PropTypes.Requireable<string>;
38
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";AAiBA,iDAoFC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/input-search/index.js"],"names":[],"mappings":";AAYA,iDAkDC"}
@@ -13,10 +13,6 @@ var _style = _interopRequireDefault(require("./style.css"));
13
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
14
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
15
15
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
16
- const handleMouseDown = e => {
17
- e.preventDefault();
18
- e.stopPropagation();
19
- };
20
16
  const Search = props => {
21
17
  const {
22
18
  value,
@@ -25,53 +21,27 @@ const Search = props => {
25
21
  onClear = _noop2.default,
26
22
  onFocus,
27
23
  onBlur,
28
- onKeyDown,
29
- inputRef,
30
24
  theme = 'default',
31
25
  dataTestId
32
26
  } = props;
33
27
  const handleChange = (0, _react.useMemo)(() => e => onChange(e.target.value), [onChange]);
34
- const handleKeyDown = (0, _react.useMemo)(() => e => {
35
- if (onKeyDown) {
36
- onKeyDown(e);
37
- }
38
- }, [onKeyDown]);
39
- const isCoorpManager = theme === 'coorpmanager';
40
- const isMooc = theme === 'mooc';
41
- const isDefault = theme === 'default';
42
- const wrapperClass = (0, _classnames.default)({
43
- [_style.default.wrapperSearch]: isDefault,
44
- [_style.default.coorpmanager]: isCoorpManager,
45
- [_style.default.wrapperMooc]: isMooc
46
- });
47
- const wrapperParentClass = (0, _classnames.default)({
48
- [_style.default.wrapperMoocParent]: isMooc
49
- });
50
- const searchClass = (0, _classnames.default)({
51
- [_style.default.search]: true,
52
- [_style.default.moocSearch]: isMooc
53
- });
54
- const SearchIconComponent = isCoorpManager ? _novaIcons.NovaCompositionCoorpacademySearchThin : _novaIcons.NovaCompositionCoorpacademySearch;
55
- const showTitle = isCoorpManager;
56
- const showClearIcon = value && isCoorpManager;
28
+ const cmStyle = (0, _classnames.default)(_style.default.coorpmanager);
29
+ const isDefaultTheme = theme === 'default';
57
30
  return /*#__PURE__*/_react.default.createElement("div", {
58
- className: wrapperParentClass
59
- }, /*#__PURE__*/_react.default.createElement("div", {
60
- className: wrapperClass
31
+ className: isDefaultTheme ? _style.default.wrapperSearch : cmStyle
61
32
  }, /*#__PURE__*/_react.default.createElement("label", {
62
33
  htmlFor: "search",
63
34
  title: placeholder
64
- }, /*#__PURE__*/_react.default.createElement(SearchIconComponent, {
65
- className: _style.default.searchIcon,
66
- "data-name": "search-icon",
67
- onMouseDown: handleMouseDown
68
- }), showTitle ? /*#__PURE__*/_react.default.createElement("span", {
35
+ }, !isDefaultTheme ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySearchThin, {
36
+ className: _style.default.searchIcon
37
+ }) : /*#__PURE__*/_react.default.createElement(_novaIcons.NovaCompositionCoorpacademySearch, {
38
+ className: _style.default.searchIcon
39
+ }), !isDefaultTheme ? /*#__PURE__*/_react.default.createElement("span", {
69
40
  className: (0, _classnames.default)(_style.default.title, (0, _isEmpty2.default)(value) && _style.default.noValue)
70
41
  }, placeholder) : null), /*#__PURE__*/_react.default.createElement("input", {
71
- ref: inputRef,
72
42
  "data-name": "search-input",
73
43
  "data-testid": dataTestId,
74
- className: searchClass,
44
+ className: _style.default.search,
75
45
  "aria-label": placeholder,
76
46
  type: "text",
77
47
  name: "search",
@@ -82,12 +52,11 @@ const Search = props => {
82
52
  onInput: handleChange,
83
53
  onFocus: onFocus,
84
54
  onChange: _noop2.default,
85
- onBlur: onBlur,
86
- onKeyDown: handleKeyDown
87
- }), showClearIcon ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidStatusClose, {
55
+ onBlur: onBlur
56
+ }), value && !isDefaultTheme ? /*#__PURE__*/_react.default.createElement(_novaIcons.NovaSolidStatusClose, {
88
57
  onClick: onClear,
89
58
  className: _style.default.clearIcon
90
- }) : null));
59
+ }) : null);
91
60
  };
92
61
  Search.contextTypes = {
93
62
  skin: _provider.default.childContextTypes.skin
@@ -99,9 +68,7 @@ Search.propTypes = process.env.NODE_ENV !== "production" ? {
99
68
  onClear: _propTypes.default.func,
100
69
  onFocus: _propTypes.default.func,
101
70
  onBlur: _propTypes.default.func,
102
- onKeyDown: _propTypes.default.func,
103
- inputRef: _propTypes.default.func,
104
- theme: _propTypes.default.oneOf(['default', 'coorpmanager', 'mooc']),
71
+ theme: _propTypes.default.oneOf(['default', 'coorpmanager']),
105
72
  dataTestId: _propTypes.default.string
106
73
  } : {};
107
74
  var _default = exports.default = Search;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_novaIcons","_provider","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","handleMouseDown","preventDefault","stopPropagation","Search","props","value","placeholder","onChange","_noop2","onClear","onFocus","onBlur","onKeyDown","inputRef","theme","dataTestId","handleChange","useMemo","target","handleKeyDown","isCoorpManager","isMooc","isDefault","wrapperClass","classnames","style","wrapperSearch","coorpmanager","wrapperMooc","wrapperParentClass","wrapperMoocParent","searchClass","search","moocSearch","SearchIconComponent","CMSearchIcon","SearchIcon","showTitle","showClearIcon","createElement","className","htmlFor","title","searchIcon","onMouseDown","_isEmpty2","noValue","ref","type","name","id","onInput","NovaSolidStatusClose","onClick","clearIcon","contextTypes","skin","Provider","childContextTypes","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","func","oneOf","_default","exports"],"sources":["../../../src/atom/input-search/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademySearchThin as CMSearchIcon,\n NovaCompositionCoorpacademySearch as SearchIcon,\n NovaSolidStatusClose as CloseIcon\n} from '@coorpacademy/nova-icons';\nimport {noop, isEmpty} from 'lodash/fp';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst handleMouseDown = e => {\n e.preventDefault();\n e.stopPropagation();\n};\n\nconst Search = props => {\n const {\n value,\n placeholder,\n onChange = noop,\n onClear = noop,\n onFocus,\n onBlur,\n onKeyDown,\n inputRef,\n theme = 'default',\n dataTestId\n } = props;\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n\n const handleKeyDown = useMemo(\n () => e => {\n if (onKeyDown) {\n onKeyDown(e);\n }\n },\n [onKeyDown]\n );\n\n const isCoorpManager = theme === 'coorpmanager';\n const isMooc = theme === 'mooc';\n const isDefault = theme === 'default';\n\n const wrapperClass = classnames({\n [style.wrapperSearch]: isDefault,\n [style.coorpmanager]: isCoorpManager,\n [style.wrapperMooc]: isMooc\n });\n\n const wrapperParentClass = classnames({\n [style.wrapperMoocParent]: isMooc\n });\n\n const searchClass = classnames({\n [style.search]: true,\n [style.moocSearch]: isMooc\n });\n\n const SearchIconComponent = isCoorpManager ? CMSearchIcon : SearchIcon;\n const showTitle = isCoorpManager;\n const showClearIcon = value && isCoorpManager;\n\n return (\n <div className={wrapperParentClass}>\n <div className={wrapperClass}>\n <label htmlFor=\"search\" title={placeholder}>\n <SearchIconComponent\n className={style.searchIcon}\n data-name=\"search-icon\"\n onMouseDown={handleMouseDown}\n />\n {showTitle ? (\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {placeholder}\n </span>\n ) : null}\n </label>\n <input\n ref={inputRef}\n data-name=\"search-input\"\n data-testid={dataTestId}\n className={searchClass}\n aria-label={placeholder}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n title={placeholder}\n value={value}\n onInput={handleChange}\n onFocus={onFocus}\n onChange={noop}\n onBlur={onBlur}\n onKeyDown={handleKeyDown}\n />\n {showClearIcon ? <CloseIcon onClick={onClear} className={style.clearIcon} /> : null}\n </div>\n </div>\n );\n};\n\nSearch.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearch.propTypes = {\n value: PropTypes.string,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n onKeyDown: PropTypes.func,\n inputRef: PropTypes.func,\n theme: PropTypes.oneOf(['default', 'coorpmanager', 'mooc']),\n dataTestId: PropTypes.string\n};\n\nexport default Search;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAA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index.js","names":["_react","_interopRequireWildcard","require","_propTypes","_interopRequireDefault","_classnames","_novaIcons","_provider","_style","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Search","props","value","placeholder","onChange","_noop2","onClear","onFocus","onBlur","theme","dataTestId","handleChange","useMemo","target","cmStyle","classnames","style","coorpmanager","isDefaultTheme","createElement","className","wrapperSearch","htmlFor","title","NovaCompositionCoorpacademySearchThin","searchIcon","NovaCompositionCoorpacademySearch","_isEmpty2","noValue","search","type","name","id","onInput","NovaSolidStatusClose","onClick","clearIcon","contextTypes","skin","Provider","childContextTypes","propTypes","process","env","NODE_ENV","PropTypes","string","isRequired","func","oneOf","_default","exports"],"sources":["../../../src/atom/input-search/index.js"],"sourcesContent":["import React, {useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademySearchThin as CMSearchIcon,\n NovaCompositionCoorpacademySearch as SearchIcon,\n NovaSolidStatusClose as CloseIcon\n} from '@coorpacademy/nova-icons';\nimport {noop, isEmpty} from 'lodash/fp';\nimport Provider from '../provider';\nimport style from './style.css';\n\nconst Search = props => {\n const {\n value,\n placeholder,\n onChange = noop,\n onClear = noop,\n onFocus,\n onBlur,\n theme = 'default',\n dataTestId\n } = props;\n const handleChange = useMemo(() => e => onChange(e.target.value), [onChange]);\n const cmStyle = classnames(style.coorpmanager);\n const isDefaultTheme = theme === 'default';\n\n return (\n <div className={isDefaultTheme ? style.wrapperSearch : cmStyle}>\n <label htmlFor=\"search\" title={placeholder}>\n {!isDefaultTheme ? (\n <CMSearchIcon className={style.searchIcon} />\n ) : (\n <SearchIcon className={style.searchIcon} />\n )}\n {!isDefaultTheme ? (\n <span className={classnames(style.title, isEmpty(value) && style.noValue)}>\n {placeholder}\n </span>\n ) : null}\n </label>\n <input\n data-name=\"search-input\"\n data-testid={dataTestId}\n className={style.search}\n aria-label={placeholder}\n type=\"text\"\n name=\"search\"\n id=\"search\"\n placeholder={placeholder}\n title={placeholder}\n value={value}\n onInput={handleChange}\n onFocus={onFocus}\n onChange={noop}\n onBlur={onBlur}\n />\n {value && !isDefaultTheme ? (\n <CloseIcon onClick={onClear} className={style.clearIcon} />\n ) : null}\n </div>\n );\n};\n\nSearch.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearch.propTypes = {\n value: PropTypes.string,\n placeholder: PropTypes.string.isRequired,\n onChange: PropTypes.func,\n onClear: PropTypes.func,\n onFocus: PropTypes.func,\n onBlur: PropTypes.func,\n theme: PropTypes.oneOf(['default', 'coorpmanager']),\n dataTestId: PropTypes.string\n};\n\nexport default Search;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AAMA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAJ,sBAAA,CAAAF,OAAA;AAAgC,SAAAO,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAA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