@coorpacademy/components 11.32.42 → 11.32.44-alpha.55
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.
- package/es/atom/button-link/index.d.ts.map +1 -1
- package/es/atom/button-link/index.js +12 -6
- package/es/atom/button-link/index.js.map +1 -1
- package/es/atom/cta/index.js +2 -2
- package/es/atom/cta/index.js.map +1 -1
- package/es/atom/icon/index.d.ts +1 -0
- package/es/atom/icon/index.d.ts.map +1 -1
- package/es/atom/icon/index.js +8 -1
- package/es/atom/icon/index.js.map +1 -1
- package/es/atom/input-file-draggable/index.js +2 -2
- package/es/atom/input-file-draggable/index.js.map +1 -1
- package/es/atom/link/index.d.ts +2 -2
- package/es/atom/link/index.d.ts.map +1 -1
- package/es/atom/link/index.js +38 -46
- package/es/atom/link/index.js.map +1 -1
- package/es/atom/select-icon/index.d.ts +17 -0
- package/es/atom/select-icon/index.d.ts.map +1 -0
- package/es/atom/select-icon/index.js +93 -0
- package/es/atom/select-icon/index.js.map +1 -0
- package/es/atom/select-icon/style.css +73 -0
- package/es/molecule/banner/index.js +3 -3
- package/es/molecule/banner/index.js.map +1 -1
- package/es/molecule/certification-card/index.d.ts +4 -0
- package/es/molecule/certification-card/index.d.ts.map +1 -1
- package/es/molecule/certification-card/index.js +18 -12
- package/es/molecule/certification-card/index.js.map +1 -1
- package/es/molecule/certification-card/style.css +23 -7
- package/es/molecule/cm-popin/types.d.ts +14 -2
- package/es/molecule/cm-popin/types.d.ts.map +1 -1
- package/es/molecule/draggable-list/index.d.ts +12 -0
- package/es/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/es/molecule/progress-wrapper/index.js +22 -12
- package/es/molecule/progress-wrapper/index.js.map +1 -1
- package/es/molecule/progress-wrapper/style.css +1 -0
- package/es/organism/accordion/coorp-manager/part/index.js +2 -1
- package/es/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/es/organism/brand-learning-priorities/index.d.ts +12 -0
- package/es/organism/list-item/index.d.ts +16 -1
- package/es/organism/list-item/index.d.ts.map +1 -1
- package/es/organism/list-item/index.js +58 -9
- package/es/organism/list-item/index.js.map +1 -1
- package/es/organism/list-item/style.css +25 -11
- package/es/organism/list-items/index.d.ts +12 -0
- package/es/organism/mooc-header/index.d.ts.map +1 -1
- package/es/organism/mooc-header/index.js +2 -3
- package/es/organism/mooc-header/index.js.map +1 -1
- package/es/organism/sidebar/index.d.ts +28 -3
- package/es/organism/sidebar/index.d.ts.map +1 -1
- package/es/organism/sidebar/index.js +7 -3
- package/es/organism/sidebar/index.js.map +1 -1
- package/es/template/app-player/loading/index.d.ts +14 -2
- package/es/template/app-player/player/index.d.ts +28 -4
- package/es/template/app-player/player/slides/index.d.ts +14 -2
- package/es/template/app-player/player/slides/index.d.ts.map +1 -1
- package/es/template/app-player/popin-correction/index.d.ts +18 -6
- package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/es/template/app-player/popin-end/index.d.ts +16 -4
- package/es/template/app-player/popin-end/summary.d.ts +2 -2
- package/es/template/app-player/popin-header/index.d.ts +2 -2
- package/es/template/app-review/index.d.ts +14 -2
- package/es/template/app-review/index.d.ts.map +1 -1
- package/es/template/app-review/player/prop-types.d.ts +14 -2
- package/es/template/app-review/player/prop-types.d.ts.map +1 -1
- package/es/template/app-review/prop-types.d.ts +14 -2
- package/es/template/app-review/prop-types.d.ts.map +1 -1
- package/es/template/back-office/brand-update/index.d.ts +38 -2
- package/es/template/certification-detail/index.d.ts +2 -1
- package/es/template/certification-detail/index.d.ts.map +1 -1
- package/es/template/certification-detail/index.js +19 -6
- package/es/template/certification-detail/index.js.map +1 -1
- package/es/template/certification-detail/style.css +0 -1
- package/es/template/certifications/index.d.ts +6 -0
- package/es/template/certifications/index.d.ts.map +1 -1
- package/es/template/certifications/index.js +28 -12
- package/es/template/certifications/index.js.map +1 -1
- package/es/template/certifications/style.css +8 -1
- package/es/template/common/dashboard/index.d.ts +28 -4
- package/es/template/common/search-page/index.d.ts +14 -2
- package/es/template/external-course/index.d.ts +14 -2
- package/es/template/playlist-detail/index.d.ts.map +1 -1
- package/es/template/playlist-detail/index.js +15 -4
- package/es/template/playlist-detail/index.js.map +1 -1
- package/es/template/playlist-detail/style.css +0 -1
- package/es/template/skill-detail/index.d.ts +1 -1
- package/es/template/skill-detail/index.d.ts.map +1 -1
- package/es/template/skill-detail/index.js +20 -8
- package/es/template/skill-detail/index.js.map +1 -1
- package/es/variables/colors.d.ts +1 -0
- package/es/variables/colors.d.ts.map +1 -1
- package/es/variables/colors.js +1 -0
- package/es/variables/colors.js.map +1 -1
- package/lib/atom/button-link/index.d.ts.map +1 -1
- package/lib/atom/button-link/index.js +12 -6
- package/lib/atom/button-link/index.js.map +1 -1
- package/lib/atom/cta/index.js +2 -2
- package/lib/atom/cta/index.js.map +1 -1
- package/lib/atom/icon/index.d.ts +1 -0
- package/lib/atom/icon/index.d.ts.map +1 -1
- package/lib/atom/icon/index.js +12 -2
- package/lib/atom/icon/index.js.map +1 -1
- package/lib/atom/input-file-draggable/index.js.map +1 -1
- package/lib/atom/link/index.d.ts +2 -2
- package/lib/atom/link/index.d.ts.map +1 -1
- package/lib/atom/link/index.js +38 -47
- package/lib/atom/link/index.js.map +1 -1
- package/lib/atom/select-icon/index.d.ts +17 -0
- package/lib/atom/select-icon/index.d.ts.map +1 -0
- package/lib/atom/select-icon/index.js +111 -0
- package/lib/atom/select-icon/index.js.map +1 -0
- package/lib/atom/select-icon/style.css +73 -0
- package/lib/molecule/banner/index.js.map +1 -1
- package/lib/molecule/certification-card/index.d.ts +4 -0
- package/lib/molecule/certification-card/index.d.ts.map +1 -1
- package/lib/molecule/certification-card/index.js +18 -12
- package/lib/molecule/certification-card/index.js.map +1 -1
- package/lib/molecule/certification-card/style.css +23 -7
- package/lib/molecule/cm-popin/types.d.ts +14 -2
- package/lib/molecule/cm-popin/types.d.ts.map +1 -1
- package/lib/molecule/draggable-list/index.d.ts +12 -0
- package/lib/molecule/progress-wrapper/index.d.ts.map +1 -1
- package/lib/molecule/progress-wrapper/index.js +26 -13
- package/lib/molecule/progress-wrapper/index.js.map +1 -1
- package/lib/molecule/progress-wrapper/style.css +1 -0
- package/lib/organism/accordion/coorp-manager/part/index.js +3 -1
- package/lib/organism/accordion/coorp-manager/part/index.js.map +1 -1
- package/lib/organism/brand-learning-priorities/index.d.ts +12 -0
- package/lib/organism/list-item/index.d.ts +16 -1
- package/lib/organism/list-item/index.d.ts.map +1 -1
- package/lib/organism/list-item/index.js +56 -5
- package/lib/organism/list-item/index.js.map +1 -1
- package/lib/organism/list-item/style.css +25 -11
- package/lib/organism/list-items/index.d.ts +12 -0
- package/lib/organism/mooc-header/index.d.ts.map +1 -1
- package/lib/organism/mooc-header/index.js +2 -3
- package/lib/organism/mooc-header/index.js.map +1 -1
- package/lib/organism/sidebar/index.d.ts +28 -3
- package/lib/organism/sidebar/index.d.ts.map +1 -1
- package/lib/organism/sidebar/index.js +7 -3
- package/lib/organism/sidebar/index.js.map +1 -1
- package/lib/template/app-player/loading/index.d.ts +14 -2
- package/lib/template/app-player/player/index.d.ts +28 -4
- package/lib/template/app-player/player/slides/index.d.ts +14 -2
- package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-correction/index.d.ts +18 -6
- package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
- package/lib/template/app-player/popin-end/index.d.ts +16 -4
- package/lib/template/app-player/popin-end/summary.d.ts +2 -2
- package/lib/template/app-player/popin-header/index.d.ts +2 -2
- package/lib/template/app-review/index.d.ts +14 -2
- package/lib/template/app-review/index.d.ts.map +1 -1
- package/lib/template/app-review/player/prop-types.d.ts +14 -2
- package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
- package/lib/template/app-review/prop-types.d.ts +14 -2
- package/lib/template/app-review/prop-types.d.ts.map +1 -1
- package/lib/template/back-office/brand-update/index.d.ts +38 -2
- package/lib/template/certification-detail/index.d.ts +2 -1
- package/lib/template/certification-detail/index.d.ts.map +1 -1
- package/lib/template/certification-detail/index.js +18 -6
- package/lib/template/certification-detail/index.js.map +1 -1
- package/lib/template/certification-detail/style.css +0 -1
- package/lib/template/certifications/index.d.ts +6 -0
- package/lib/template/certifications/index.d.ts.map +1 -1
- package/lib/template/certifications/index.js +30 -14
- package/lib/template/certifications/index.js.map +1 -1
- package/lib/template/certifications/style.css +8 -1
- package/lib/template/common/dashboard/index.d.ts +28 -4
- package/lib/template/common/search-page/index.d.ts +14 -2
- package/lib/template/external-course/index.d.ts +14 -2
- package/lib/template/playlist-detail/index.d.ts.map +1 -1
- package/lib/template/playlist-detail/index.js +14 -4
- package/lib/template/playlist-detail/index.js.map +1 -1
- package/lib/template/playlist-detail/style.css +0 -1
- package/lib/template/skill-detail/index.d.ts +1 -1
- package/lib/template/skill-detail/index.d.ts.map +1 -1
- package/lib/template/skill-detail/index.js +19 -7
- package/lib/template/skill-detail/index.js.map +1 -1
- package/lib/variables/colors.d.ts +1 -0
- package/lib/variables/colors.d.ts.map +1 -1
- package/lib/variables/colors.js +1 -0
- package/lib/variables/colors.js.map +1 -1
- package/locales/bs/global.json +10 -8
- package/locales/cs/global.json +10 -8
- package/locales/de/global.json +10 -8
- package/locales/en/global.json +3 -1
- package/locales/es/global.json +10 -8
- package/locales/et/global.json +10 -8
- package/locales/fi/global.json +10 -8
- package/locales/fr/global.json +10 -8
- package/locales/hr/global.json +10 -8
- package/locales/hu/global.json +10 -8
- package/locales/hy/global.json +10 -8
- package/locales/it/global.json +10 -8
- package/locales/ja/global.json +10 -8
- package/locales/ko/global.json +10 -8
- package/locales/nl/global.json +10 -8
- package/locales/pl/global.json +10 -8
- package/locales/pt/global.json +10 -8
- package/locales/ro/global.json +10 -8
- package/locales/ru/global.json +10 -8
- package/locales/sk/global.json +10 -8
- package/locales/sl/global.json +10 -8
- package/locales/sv/global.json +10 -8
- package/locales/tl/global.json +8 -6
- package/locales/tr/global.json +10 -8
- package/locales/uk/global.json +10 -8
- package/locales/vi/global.json +10 -8
- package/locales/zh/global.json +10 -8
- package/locales/zh_TW/global.json +10 -8
- package/package.json +2 -2
|
@@ -194,6 +194,7 @@ declare namespace SlidesPlayer {
|
|
|
194
194
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
195
195
|
title: PropTypes.Validator<string>;
|
|
196
196
|
subtitle: PropTypes.Requireable<string>;
|
|
197
|
+
provider: PropTypes.Requireable<string>;
|
|
197
198
|
selected: PropTypes.Requireable<boolean>;
|
|
198
199
|
selectedColor: PropTypes.Requireable<string>;
|
|
199
200
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -246,6 +247,17 @@ declare namespace SlidesPlayer {
|
|
|
246
247
|
'aria-label': PropTypes.Requireable<string>;
|
|
247
248
|
contentType: PropTypes.Requireable<string>;
|
|
248
249
|
id: PropTypes.Requireable<string>;
|
|
250
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
251
|
+
iconName: PropTypes.Requireable<string>;
|
|
252
|
+
iconColor: PropTypes.Requireable<string>;
|
|
253
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
254
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
255
|
+
preset: PropTypes.Requireable<string>;
|
|
256
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
257
|
+
size: PropTypes.Requireable<number>;
|
|
258
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
259
|
+
}>>;
|
|
260
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
249
261
|
}> | null | undefined)[]>;
|
|
250
262
|
type: PropTypes.Requireable<string>;
|
|
251
263
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -343,11 +355,11 @@ declare namespace SlidesPlayer {
|
|
|
343
355
|
'aria-label': PropTypes.Requireable<string>;
|
|
344
356
|
title: PropTypes.Requireable<string>;
|
|
345
357
|
target: PropTypes.Requireable<string>;
|
|
346
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
347
358
|
hoverColor: PropTypes.Requireable<string>;
|
|
359
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
348
360
|
download: PropTypes.Requireable<boolean>;
|
|
349
361
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
350
|
-
|
|
362
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
351
363
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
352
364
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
353
365
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1ID;;uBAyBC;;;;;;;;;;;;;;;;;;;;;;;;;AArPD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;;gBAEC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlHD,oEAQC;;;;;;;;;AAgND;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
|
|
@@ -30,11 +30,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
|
|
37
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
38
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
39
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
40
40
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -79,11 +79,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
79
79
|
'data-name': PropTypes.Requireable<string>;
|
|
80
80
|
'aria-label': PropTypes.Requireable<string>;
|
|
81
81
|
target: PropTypes.Requireable<string>;
|
|
82
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
83
82
|
hoverColor: PropTypes.Requireable<string>;
|
|
83
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
84
84
|
download: PropTypes.Requireable<boolean>;
|
|
85
85
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
86
|
-
|
|
86
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
87
87
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
88
88
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
89
89
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -224,6 +224,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
224
224
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
225
225
|
title: PropTypes.Validator<string>;
|
|
226
226
|
subtitle: PropTypes.Requireable<string>;
|
|
227
|
+
provider: PropTypes.Requireable<string>;
|
|
227
228
|
selected: PropTypes.Requireable<boolean>;
|
|
228
229
|
selectedColor: PropTypes.Requireable<string>;
|
|
229
230
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -276,6 +277,17 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
276
277
|
'aria-label': PropTypes.Requireable<string>;
|
|
277
278
|
contentType: PropTypes.Requireable<string>;
|
|
278
279
|
id: PropTypes.Requireable<string>;
|
|
280
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
281
|
+
iconName: PropTypes.Requireable<string>;
|
|
282
|
+
iconColor: PropTypes.Requireable<string>;
|
|
283
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
284
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
285
|
+
preset: PropTypes.Requireable<string>;
|
|
286
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
287
|
+
size: PropTypes.Requireable<number>;
|
|
288
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
289
|
+
}>>;
|
|
290
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
279
291
|
}> | null | undefined)[]>;
|
|
280
292
|
type: PropTypes.Requireable<string>;
|
|
281
293
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -373,11 +385,11 @@ declare class PopinCorrection extends React.Component<any, any, any> {
|
|
|
373
385
|
'aria-label': PropTypes.Requireable<string>;
|
|
374
386
|
title: PropTypes.Requireable<string>;
|
|
375
387
|
target: PropTypes.Requireable<string>;
|
|
376
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
377
388
|
hoverColor: PropTypes.Requireable<string>;
|
|
389
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
378
390
|
download: PropTypes.Requireable<boolean>;
|
|
379
391
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
380
|
-
|
|
392
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
381
393
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
382
394
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
383
395
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
|
|
@@ -30,11 +30,11 @@ declare namespace PopinEnd {
|
|
|
30
30
|
'data-name': PropTypes.Requireable<string>;
|
|
31
31
|
'aria-label': PropTypes.Requireable<string>;
|
|
32
32
|
target: PropTypes.Requireable<string>;
|
|
33
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
34
33
|
hoverColor: PropTypes.Requireable<string>;
|
|
34
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
35
35
|
download: PropTypes.Requireable<boolean>;
|
|
36
36
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
37
|
-
|
|
37
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
38
38
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
39
39
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
40
40
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -324,6 +324,7 @@ declare namespace PopinEnd {
|
|
|
324
324
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
325
325
|
title: PropTypes.Validator<string>;
|
|
326
326
|
subtitle: PropTypes.Requireable<string>;
|
|
327
|
+
provider: PropTypes.Requireable<string>;
|
|
327
328
|
selected: PropTypes.Requireable<boolean>;
|
|
328
329
|
selectedColor: PropTypes.Requireable<string>;
|
|
329
330
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -376,6 +377,17 @@ declare namespace PopinEnd {
|
|
|
376
377
|
'aria-label': PropTypes.Requireable<string>;
|
|
377
378
|
contentType: PropTypes.Requireable<string>;
|
|
378
379
|
id: PropTypes.Requireable<string>;
|
|
380
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
381
|
+
iconName: PropTypes.Requireable<string>;
|
|
382
|
+
iconColor: PropTypes.Requireable<string>;
|
|
383
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
384
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
385
|
+
preset: PropTypes.Requireable<string>;
|
|
386
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
387
|
+
size: PropTypes.Requireable<number>;
|
|
388
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
389
|
+
}>>;
|
|
390
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
379
391
|
}> | null | undefined)[]>;
|
|
380
392
|
type: PropTypes.Requireable<string>;
|
|
381
393
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -473,11 +485,11 @@ declare namespace PopinEnd {
|
|
|
473
485
|
'aria-label': PropTypes.Requireable<string>;
|
|
474
486
|
title: PropTypes.Requireable<string>;
|
|
475
487
|
target: PropTypes.Requireable<string>;
|
|
476
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
477
488
|
hoverColor: PropTypes.Requireable<string>;
|
|
489
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
478
490
|
download: PropTypes.Requireable<boolean>;
|
|
479
491
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
480
|
-
|
|
492
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
481
493
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
482
494
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
483
495
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -36,11 +36,11 @@ declare namespace Summary {
|
|
|
36
36
|
'data-name': PropTypes.Requireable<string>;
|
|
37
37
|
'aria-label': PropTypes.Requireable<string>;
|
|
38
38
|
target: PropTypes.Requireable<string>;
|
|
39
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
40
39
|
hoverColor: PropTypes.Requireable<string>;
|
|
40
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
41
41
|
download: PropTypes.Requireable<boolean>;
|
|
42
42
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
43
|
-
|
|
43
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
44
44
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
45
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
46
46
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -66,11 +66,11 @@ declare namespace NextQuestionPart {
|
|
|
66
66
|
'data-name': PropTypes.Requireable<string>;
|
|
67
67
|
'aria-label': PropTypes.Requireable<string>;
|
|
68
68
|
target: PropTypes.Requireable<string>;
|
|
69
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
70
69
|
hoverColor: PropTypes.Requireable<string>;
|
|
70
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
71
71
|
download: PropTypes.Requireable<boolean>;
|
|
72
72
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
73
|
-
|
|
73
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
74
74
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
75
75
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
76
76
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -645,6 +645,7 @@ declare const AppReview: {
|
|
|
645
645
|
items: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
646
646
|
title: import("prop-types").Validator<string>;
|
|
647
647
|
subtitle: import("prop-types").Requireable<string>;
|
|
648
|
+
provider: import("prop-types").Requireable<string>;
|
|
648
649
|
selected: import("prop-types").Requireable<boolean>;
|
|
649
650
|
selectedColor: import("prop-types").Requireable<string>;
|
|
650
651
|
dataColumns: import("prop-types").Requireable<(import("prop-types").InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const AppReview: {
|
|
|
697
698
|
'aria-label': import("prop-types").Requireable<string>;
|
|
698
699
|
contentType: import("prop-types").Requireable<string>;
|
|
699
700
|
id: import("prop-types").Requireable<string>;
|
|
701
|
+
leftIcon: import("prop-types").Requireable<import("prop-types").InferProps<{
|
|
702
|
+
iconName: import("prop-types").Requireable<string>;
|
|
703
|
+
iconColor: import("prop-types").Requireable<string>;
|
|
704
|
+
backgroundColor: import("prop-types").Requireable<string>;
|
|
705
|
+
borderRadius: import("prop-types").Requireable<string>;
|
|
706
|
+
preset: import("prop-types").Requireable<string>;
|
|
707
|
+
gradientBackground: import("prop-types").Requireable<boolean>;
|
|
708
|
+
size: import("prop-types").Requireable<number>;
|
|
709
|
+
wrapperSize: import("prop-types").Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: import("prop-types").Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: import("prop-types").Requireable<string>;
|
|
702
714
|
itemType: import("prop-types").Requireable<string>;
|
|
@@ -794,11 +806,11 @@ declare const AppReview: {
|
|
|
794
806
|
'aria-label': import("prop-types").Requireable<string>;
|
|
795
807
|
title: import("prop-types").Requireable<string>;
|
|
796
808
|
target: import("prop-types").Requireable<string>;
|
|
797
|
-
skinHover: import("prop-types").Requireable<boolean>;
|
|
798
809
|
hoverColor: import("prop-types").Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: import("prop-types").Requireable<string>;
|
|
799
811
|
download: import("prop-types").Requireable<boolean>;
|
|
800
812
|
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
801
|
-
|
|
813
|
+
onMouseOver: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
802
814
|
onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>;
|
|
803
815
|
useButtonTag: import("prop-types").Requireable<boolean>;
|
|
804
816
|
style: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
|
|
@@ -645,6 +645,7 @@ declare const propTypes: {
|
|
|
645
645
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
646
646
|
title: PropTypes.Validator<string>;
|
|
647
647
|
subtitle: PropTypes.Requireable<string>;
|
|
648
|
+
provider: PropTypes.Requireable<string>;
|
|
648
649
|
selected: PropTypes.Requireable<boolean>;
|
|
649
650
|
selectedColor: PropTypes.Requireable<string>;
|
|
650
651
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -697,6 +698,17 @@ declare const propTypes: {
|
|
|
697
698
|
'aria-label': PropTypes.Requireable<string>;
|
|
698
699
|
contentType: PropTypes.Requireable<string>;
|
|
699
700
|
id: PropTypes.Requireable<string>;
|
|
701
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
702
|
+
iconName: PropTypes.Requireable<string>;
|
|
703
|
+
iconColor: PropTypes.Requireable<string>;
|
|
704
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
705
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
706
|
+
preset: PropTypes.Requireable<string>;
|
|
707
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
708
|
+
size: PropTypes.Requireable<number>;
|
|
709
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
710
|
+
}>>;
|
|
711
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
700
712
|
}> | null | undefined)[]>;
|
|
701
713
|
type: PropTypes.Requireable<string>;
|
|
702
714
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -794,11 +806,11 @@ declare const propTypes: {
|
|
|
794
806
|
'aria-label': PropTypes.Requireable<string>;
|
|
795
807
|
title: PropTypes.Requireable<string>;
|
|
796
808
|
target: PropTypes.Requireable<string>;
|
|
797
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
798
809
|
hoverColor: PropTypes.Requireable<string>;
|
|
810
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
799
811
|
download: PropTypes.Requireable<boolean>;
|
|
800
812
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
801
|
-
|
|
813
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
802
814
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
803
815
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
804
816
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
|
|
@@ -649,6 +649,7 @@ declare const propTypes: {
|
|
|
649
649
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
650
650
|
title: PropTypes.Validator<string>;
|
|
651
651
|
subtitle: PropTypes.Requireable<string>;
|
|
652
|
+
provider: PropTypes.Requireable<string>;
|
|
652
653
|
selected: PropTypes.Requireable<boolean>;
|
|
653
654
|
selectedColor: PropTypes.Requireable<string>;
|
|
654
655
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -701,6 +702,17 @@ declare const propTypes: {
|
|
|
701
702
|
'aria-label': PropTypes.Requireable<string>;
|
|
702
703
|
contentType: PropTypes.Requireable<string>;
|
|
703
704
|
id: PropTypes.Requireable<string>;
|
|
705
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
706
|
+
iconName: PropTypes.Requireable<string>;
|
|
707
|
+
iconColor: PropTypes.Requireable<string>;
|
|
708
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
709
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
710
|
+
preset: PropTypes.Requireable<string>;
|
|
711
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
712
|
+
size: PropTypes.Requireable<number>;
|
|
713
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
714
|
+
}>>;
|
|
715
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
704
716
|
}> | null | undefined)[]>;
|
|
705
717
|
type: PropTypes.Requireable<string>;
|
|
706
718
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -798,11 +810,11 @@ declare const propTypes: {
|
|
|
798
810
|
'aria-label': PropTypes.Requireable<string>;
|
|
799
811
|
title: PropTypes.Requireable<string>;
|
|
800
812
|
target: PropTypes.Requireable<string>;
|
|
801
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
802
813
|
hoverColor: PropTypes.Requireable<string>;
|
|
814
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
803
815
|
download: PropTypes.Requireable<boolean>;
|
|
804
816
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
805
|
-
|
|
817
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
806
818
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
807
819
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
808
820
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -368,6 +368,7 @@ declare namespace BrandUpdate {
|
|
|
368
368
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
369
369
|
title: PropTypes.Validator<string>;
|
|
370
370
|
subtitle: PropTypes.Requireable<string>;
|
|
371
|
+
provider: PropTypes.Requireable<string>;
|
|
371
372
|
selected: PropTypes.Requireable<boolean>;
|
|
372
373
|
selectedColor: PropTypes.Requireable<string>;
|
|
373
374
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -420,6 +421,17 @@ declare namespace BrandUpdate {
|
|
|
420
421
|
'aria-label': PropTypes.Requireable<string>;
|
|
421
422
|
contentType: PropTypes.Requireable<string>;
|
|
422
423
|
id: PropTypes.Requireable<string>;
|
|
424
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
425
|
+
iconName: PropTypes.Requireable<string>;
|
|
426
|
+
iconColor: PropTypes.Requireable<string>;
|
|
427
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
428
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
429
|
+
preset: PropTypes.Requireable<string>;
|
|
430
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
431
|
+
size: PropTypes.Requireable<number>;
|
|
432
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
433
|
+
}>>;
|
|
434
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
423
435
|
}> | null | undefined)[]>;
|
|
424
436
|
type: PropTypes.Requireable<string>;
|
|
425
437
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -804,6 +816,7 @@ declare namespace BrandUpdate {
|
|
|
804
816
|
}> | PropTypes.InferProps<{
|
|
805
817
|
title: PropTypes.Validator<string>;
|
|
806
818
|
subtitle: PropTypes.Requireable<string>;
|
|
819
|
+
provider: PropTypes.Requireable<string>;
|
|
807
820
|
selected: PropTypes.Requireable<boolean>;
|
|
808
821
|
selectedColor: PropTypes.Requireable<string>;
|
|
809
822
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -856,6 +869,17 @@ declare namespace BrandUpdate {
|
|
|
856
869
|
'aria-label': PropTypes.Requireable<string>;
|
|
857
870
|
contentType: PropTypes.Requireable<string>;
|
|
858
871
|
id: PropTypes.Requireable<string>;
|
|
872
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
873
|
+
iconName: PropTypes.Requireable<string>;
|
|
874
|
+
iconColor: PropTypes.Requireable<string>;
|
|
875
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
876
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
877
|
+
preset: PropTypes.Requireable<string>;
|
|
878
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
879
|
+
size: PropTypes.Requireable<number>;
|
|
880
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
881
|
+
}>>;
|
|
882
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
859
883
|
}> | PropTypes.InferProps<{
|
|
860
884
|
'aria-label': PropTypes.Requireable<string>;
|
|
861
885
|
id: PropTypes.Requireable<string>;
|
|
@@ -1022,6 +1046,7 @@ declare namespace BrandUpdate {
|
|
|
1022
1046
|
items: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
1023
1047
|
title: PropTypes.Validator<string>;
|
|
1024
1048
|
subtitle: PropTypes.Requireable<string>;
|
|
1049
|
+
provider: PropTypes.Requireable<string>;
|
|
1025
1050
|
selected: PropTypes.Requireable<boolean>;
|
|
1026
1051
|
selectedColor: PropTypes.Requireable<string>;
|
|
1027
1052
|
dataColumns: PropTypes.Requireable<(PropTypes.InferProps<{
|
|
@@ -1074,6 +1099,17 @@ declare namespace BrandUpdate {
|
|
|
1074
1099
|
'aria-label': PropTypes.Requireable<string>;
|
|
1075
1100
|
contentType: PropTypes.Requireable<string>;
|
|
1076
1101
|
id: PropTypes.Requireable<string>;
|
|
1102
|
+
leftIcon: PropTypes.Requireable<PropTypes.InferProps<{
|
|
1103
|
+
iconName: PropTypes.Requireable<string>;
|
|
1104
|
+
iconColor: PropTypes.Requireable<string>;
|
|
1105
|
+
backgroundColor: PropTypes.Requireable<string>;
|
|
1106
|
+
borderRadius: PropTypes.Requireable<string>;
|
|
1107
|
+
preset: PropTypes.Requireable<string>;
|
|
1108
|
+
gradientBackground: PropTypes.Requireable<boolean>;
|
|
1109
|
+
size: PropTypes.Requireable<number>;
|
|
1110
|
+
wrapperSize: PropTypes.Requireable<number>;
|
|
1111
|
+
}>>;
|
|
1112
|
+
editAsIcon: PropTypes.Requireable<boolean>;
|
|
1077
1113
|
}> | null | undefined)[]>;
|
|
1078
1114
|
type: PropTypes.Requireable<string>;
|
|
1079
1115
|
itemType: PropTypes.Requireable<string>;
|
|
@@ -1171,11 +1207,11 @@ declare namespace BrandUpdate {
|
|
|
1171
1207
|
'aria-label': PropTypes.Requireable<string>;
|
|
1172
1208
|
title: PropTypes.Requireable<string>;
|
|
1173
1209
|
target: PropTypes.Requireable<string>;
|
|
1174
|
-
skinHover: PropTypes.Requireable<boolean>;
|
|
1175
1210
|
hoverColor: PropTypes.Requireable<string>;
|
|
1211
|
+
hoverBackgroundColor: PropTypes.Requireable<string>;
|
|
1176
1212
|
download: PropTypes.Requireable<boolean>;
|
|
1177
1213
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1178
|
-
|
|
1214
|
+
onMouseOver: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1179
1215
|
onMouseLeave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
1180
1216
|
useButtonTag: PropTypes.Requireable<boolean>;
|
|
1181
1217
|
style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
|
|
@@ -27,8 +27,9 @@ declare namespace CertificationDetail {
|
|
|
27
27
|
}
|
|
28
28
|
namespace propTypes {
|
|
29
29
|
const title: PropTypes.Validator<string>;
|
|
30
|
+
const tag: PropTypes.Requireable<string>;
|
|
30
31
|
const certificationRef: PropTypes.Validator<string>;
|
|
31
|
-
const description: PropTypes.
|
|
32
|
+
const description: PropTypes.Validator<string>;
|
|
32
33
|
const logoUrl: PropTypes.Requireable<string>;
|
|
33
34
|
const metrics: PropTypes.Requireable<PropTypes.InferProps<{
|
|
34
35
|
progression: PropTypes.Requireable<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/certification-detail/index.js"],"names":[],"mappings":";AAgBA,4EAyHC"}
|
|
@@ -2,7 +2,7 @@ import _isNil from "lodash/fp/isNil";
|
|
|
2
2
|
import _round from "lodash/fp/round";
|
|
3
3
|
import _lowerCase from "lodash/fp/lowerCase";
|
|
4
4
|
import _compact from "lodash/fp/compact";
|
|
5
|
-
import React, { useCallback, useState, useMemo } from 'react';
|
|
5
|
+
import React, { useCallback, useEffect, useRef, useState, useMemo } from 'react';
|
|
6
6
|
import PropTypes from 'prop-types';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
8
|
import Markdown from 'markdown-to-jsx';
|
|
@@ -16,12 +16,12 @@ import AllCourses from '../skill-detail/all-courses';
|
|
|
16
16
|
import { ContinueLearningButton } from '../skill-detail';
|
|
17
17
|
import ProgressWrapper from '../../molecule/progress-wrapper';
|
|
18
18
|
import style from './style.css';
|
|
19
|
-
const DESCRIPTION_BREAKPOINT = 382;
|
|
20
19
|
|
|
21
20
|
const CertificationDetail = (props, context) => {
|
|
22
21
|
const {
|
|
23
22
|
certificationRef,
|
|
24
23
|
title,
|
|
24
|
+
tag,
|
|
25
25
|
description,
|
|
26
26
|
certificationCourses,
|
|
27
27
|
ongoingCoursesAvailable,
|
|
@@ -33,6 +33,7 @@ const CertificationDetail = (props, context) => {
|
|
|
33
33
|
diplomaUrl,
|
|
34
34
|
badgeUrl
|
|
35
35
|
} = props;
|
|
36
|
+
const descriptionRef = useRef(null);
|
|
36
37
|
const {
|
|
37
38
|
translate
|
|
38
39
|
} = context;
|
|
@@ -42,10 +43,21 @@ const CertificationDetail = (props, context) => {
|
|
|
42
43
|
stars,
|
|
43
44
|
totalModules
|
|
44
45
|
} = metrics;
|
|
46
|
+
const [isDescriptionTruncated, setIsDescriptionTruncated] = useState(false);
|
|
45
47
|
const [showMore, setShowMore] = useState(false);
|
|
46
48
|
const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);
|
|
49
|
+
useEffect(() => {
|
|
50
|
+
if (descriptionRef.current) {
|
|
51
|
+
const {
|
|
52
|
+
clientHeight = 0,
|
|
53
|
+
scrollHeight = 0
|
|
54
|
+
} = descriptionRef.current;
|
|
55
|
+
setIsDescriptionTruncated(scrollHeight > clientHeight);
|
|
56
|
+
}
|
|
57
|
+
}, [description]);
|
|
47
58
|
const Description = useCallback(() => {
|
|
48
59
|
return /*#__PURE__*/React.createElement("div", {
|
|
60
|
+
ref: descriptionRef,
|
|
49
61
|
className: classnames(style.description, !showMore && style.truncate)
|
|
50
62
|
}, /*#__PURE__*/React.createElement(Markdown, null, description));
|
|
51
63
|
}, [showMore, description]);
|
|
@@ -58,7 +70,7 @@ const CertificationDetail = (props, context) => {
|
|
|
58
70
|
}, !_isNil(onBackClick) ? /*#__PURE__*/React.createElement(ButtonLinkIcon, {
|
|
59
71
|
faIcon: "arrow-left",
|
|
60
72
|
"data-name": "back-button",
|
|
61
|
-
"aria-label":
|
|
73
|
+
"aria-label": translate('back'),
|
|
62
74
|
onClick: onBackClick,
|
|
63
75
|
className: style.backButton,
|
|
64
76
|
tooltipPlacement: "right"
|
|
@@ -70,10 +82,10 @@ const CertificationDetail = (props, context) => {
|
|
|
70
82
|
className: style.logo,
|
|
71
83
|
src: logoUrl
|
|
72
84
|
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Tag, {
|
|
73
|
-
label:
|
|
85
|
+
label: tag
|
|
74
86
|
}), /*#__PURE__*/React.createElement("div", {
|
|
75
87
|
className: style.title
|
|
76
|
-
}, title), description ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Description, null),
|
|
88
|
+
}, title), description ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Description, null), isDescriptionTruncated ? /*#__PURE__*/React.createElement("div", {
|
|
77
89
|
className: style.showMoreWrapper,
|
|
78
90
|
onClick: handleShowMore
|
|
79
91
|
}, translate(showMore ? 'Show less' : 'Show more'), /*#__PURE__*/React.createElement(Icon, {
|
|
@@ -116,8 +128,9 @@ CertificationDetail.contextTypes = {
|
|
|
116
128
|
};
|
|
117
129
|
CertificationDetail.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
118
130
|
title: PropTypes.string.isRequired,
|
|
131
|
+
tag: PropTypes.string,
|
|
119
132
|
certificationRef: PropTypes.string.isRequired,
|
|
120
|
-
description: PropTypes.string,
|
|
133
|
+
description: PropTypes.string.isRequired,
|
|
121
134
|
logoUrl: PropTypes.string,
|
|
122
135
|
metrics: PropTypes.shape({
|
|
123
136
|
progression: PropTypes.number,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["React","useCallback","useState","useMemo","PropTypes","classnames","Markdown","Provider","Tag","SelectOptionPropTypes","ButtonLinkIcon","Icon","CardsGrid","AllCourses","ContinueLearningButton","ProgressWrapper","style","DESCRIPTION_BREAKPOINT","CertificationDetail","props","context","certificationRef","title","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","translate","progression","mandatoryModules","stars","totalModules","showMore","setShowMore","handleShowMore","Description","truncate","completedModules","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","length","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","childContextTypes","propTypes","string","isRequired","shape","number","bool","onChange","func","options","arrayOf"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst DESCRIPTION_BREAKPOINT = 382;\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const {translate} = context;\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [showMore, setShowMore] = useState(false);\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label=\"Back\"\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={translate('certification')} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= DESCRIPTION_BREAKPOINT ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,IAAeC,WAAf,EAA4BC,QAA5B,EAAsCC,OAAtC,QAAoD,OAApD;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAOC,QAAP,MAAqB,iBAArB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,SAAQC,qBAAR,QAAoC,mBAApC;AACA,OAAOC,cAAP,MAA2B,6BAA3B;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,UAAP,MAAuB,6BAAvB;AACA,SAAQC,sBAAR,QAAqC,iBAArC;AACA,OAAOC,eAAP,MAA4B,iCAA5B;AACA,OAAOC,KAAP,MAAkB,aAAlB;AAEA,MAAMC,sBAAsB,GAAG,GAA/B;;AAEA,MAAMC,mBAAmB,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC9C,MAAM;IACJC,gBADI;IAEJC,KAFI;IAGJC,WAHI;IAIJC,oBAJI;IAKJC,uBALI;IAMJC,OANI;IAOJC,WAPI;IAQJC,uBARI;IASJC,OATI;IAUJC,O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CAAhB,CAfqB;EAmB9BkB,WAAW,EAAEvB,SAAS,CAAC+D,IAnBO;EAoB9BvC,uBAAuB,EAAExB,SAAS,CAAC+D;AApBL,CAAhC;AAuBA,eAAejD,mBAAf"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["React","useCallback","useEffect","useRef","useState","useMemo","PropTypes","classnames","Markdown","Provider","Tag","SelectOptionPropTypes","ButtonLinkIcon","Icon","CardsGrid","AllCourses","ContinueLearningButton","ProgressWrapper","style","CertificationDetail","props","context","certificationRef","title","tag","description","certificationCourses","ongoingCoursesAvailable","filters","onBackClick","onContinueLearningClick","metrics","logoUrl","diplomaUrl","badgeUrl","descriptionRef","translate","progression","mandatoryModules","stars","totalModules","isDescriptionTruncated","setIsDescriptionTruncated","showMore","setShowMore","handleShowMore","current","clientHeight","scrollHeight","Description","truncate","completedModules","backgroundContainer","container","backButton","ctaContainer","logoContainer","logo","showMoreWrapper","faSize","wrapperSize","contentStats","type","downloadUrl","contextTypes","skin","childContextTypes","propTypes","string","isRequired","shape","number","bool","onChange","func","options","arrayOf"],"sources":["../../../src/template/certification-detail/index.js"],"sourcesContent":["import React, {useCallback, useEffect, useRef, useState, useMemo} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {compact, lowerCase, round, isNil} from 'lodash/fp';\nimport Markdown from 'markdown-to-jsx';\nimport Provider from '../../atom/provider';\nimport Tag from '../../atom/tag';\nimport {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLinkIcon from '../../atom/button-link-icon';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport AllCourses from '../skill-detail/all-courses';\nimport {ContinueLearningButton} from '../skill-detail';\nimport ProgressWrapper from '../../molecule/progress-wrapper';\nimport style from './style.css';\n\nconst CertificationDetail = (props, context) => {\n const {\n certificationRef,\n title,\n tag,\n description,\n certificationCourses,\n ongoingCoursesAvailable,\n filters,\n onBackClick,\n onContinueLearningClick,\n metrics,\n logoUrl,\n diplomaUrl,\n badgeUrl\n } = props;\n const descriptionRef = useRef(null);\n const {translate} = context;\n\n const {progression, mandatoryModules, stars, totalModules} = metrics;\n\n const [isDescriptionTruncated, setIsDescriptionTruncated] = useState(false);\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n useEffect(() => {\n if (descriptionRef.current) {\n const {clientHeight = 0, scrollHeight = 0} = descriptionRef.current;\n setIsDescriptionTruncated(scrollHeight > clientHeight);\n }\n }, [description]);\n\n const Description = useCallback(() => {\n return (\n <div\n ref={descriptionRef}\n className={classnames(style.description, !showMore && style.truncate)}\n >\n <Markdown>{description}</Markdown>\n </div>\n );\n }, [showMore, description]);\n\n const completedModules = useMemo(\n () => round((mandatoryModules * progression) / 100),\n [mandatoryModules, progression]\n );\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container} data-name={certificationRef}>\n {!isNil(onBackClick) ? (\n <ButtonLinkIcon\n faIcon=\"arrow-left\"\n data-name=\"back-button\"\n aria-label={translate('back')}\n onClick={onBackClick}\n className={style.backButton}\n tooltipPlacement=\"right\"\n />\n ) : null}\n <div className={style.ctaContainer}>\n <div className={style.logoContainer}>\n <img className={style.logo} src={logoUrl} />\n </div>\n <div>\n <Tag label={tag} />\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {isDescriptionTruncated ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {translate(showMore ? 'Show less' : 'Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{faSize: 14, wrapperSize: 16}}\n />\n </div>\n ) : null}\n </>\n ) : null}\n <div className={style.contentStats}>\n <span>{`${totalModules} ${lowerCase(translate('modules'))}`}</span>\n </div>\n <ContinueLearningButton\n ongoingCoursesAvailable={ongoingCoursesAvailable}\n onClick={onContinueLearningClick}\n />\n </div>\n </div>\n <ProgressWrapper\n title={translate('your_progress')}\n subtitle={translate('certification_progress_wrapper_subtitle')}\n progression={progression}\n completedModules={completedModules}\n mandatoryModules={mandatoryModules}\n sections={compact([\n {\n type: 'diploma',\n downloadUrl: diplomaUrl\n },\n badgeUrl && {\n type: 'badge',\n downloadUrl: badgeUrl\n },\n {\n type: 'stars',\n stars\n }\n ])}\n />\n <AllCourses\n content={certificationCourses}\n filters={filters}\n data-name=\"certification-courses\"\n />\n </div>\n </div>\n );\n};\n\nCertificationDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nCertificationDetail.propTypes = {\n title: PropTypes.string.isRequired,\n tag: PropTypes.string,\n certificationRef: PropTypes.string.isRequired,\n description: PropTypes.string.isRequired,\n logoUrl: PropTypes.string,\n metrics: PropTypes.shape({\n progression: PropTypes.number,\n stars: PropTypes.number,\n mandatoryModules: PropTypes.number,\n totalModules: PropTypes.number\n }),\n diplomaUrl: PropTypes.string,\n badgeUrl: PropTypes.string,\n ongoingCoursesAvailable: PropTypes.bool,\n certificationCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n onBackClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default CertificationDetail;\n"],"mappings":";;;;AAAA,OAAOA,KAAP,IAAeC,WAAf,EAA4BC,SAA5B,EAAuCC,MAAvC,EAA+CC,QAA/C,EAAyDC,OAAzD,QAAuE,OAAvE;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAOC,QAAP,MAAqB,iBAArB;AACA,OAAOC,QAAP,MAAqB,qBAArB;AACA,OAAOC,GAAP,MAAgB,gBAAhB;AACA,SAAQC,qBAAR,QAAoC,mBAApC;AACA,OAAOC,cAAP,MAA2B,6BAA3B;AACA,OAAOC,IAAP,MAAiB,iBAAjB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,UAAP,MAAuB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