@coorpacademy/components 10.28.2 → 10.28.3-alpha.3

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 (133) hide show
  1. package/es/molecule/review-correction-popin/index.d.ts.map +1 -1
  2. package/es/molecule/review-correction-popin/index.js +13 -5
  3. package/es/molecule/review-correction-popin/index.js.map +1 -1
  4. package/es/molecule/skill-card/index.native.d.ts +5 -0
  5. package/es/molecule/skill-card/index.native.d.ts.map +1 -0
  6. package/es/molecule/skill-card/index.native.js +82 -0
  7. package/es/molecule/skill-card/index.native.js.map +1 -0
  8. package/es/molecule/skill-card/prop-types.d.ts +14 -3
  9. package/es/molecule/skill-card/prop-types.d.ts.map +1 -1
  10. package/es/molecule/skill-card/prop-types.js +2 -1
  11. package/es/molecule/skill-card/prop-types.js.map +1 -1
  12. package/es/organism/review-no-skills/index.d.ts +11 -0
  13. package/es/organism/review-no-skills/index.d.ts.map +1 -0
  14. package/es/organism/review-no-skills/index.js +25 -0
  15. package/es/organism/review-no-skills/index.js.map +1 -0
  16. package/es/organism/review-no-skills/index.native.d.ts +5 -0
  17. package/es/organism/review-no-skills/index.native.d.ts.map +1 -0
  18. package/es/organism/review-no-skills/index.native.js +59 -0
  19. package/es/organism/review-no-skills/index.native.js.map +1 -0
  20. package/es/organism/review-no-skills/prop-types.d.ts +13 -0
  21. package/es/organism/review-no-skills/prop-types.d.ts.map +1 -0
  22. package/es/organism/review-no-skills/prop-types.js +8 -0
  23. package/es/organism/review-no-skills/prop-types.js.map +1 -0
  24. package/es/organism/review-no-skills/style.css +73 -0
  25. package/es/organism/review-skills/index.d.ts +5 -3
  26. package/es/organism/review-skills/index.d.ts.map +1 -1
  27. package/es/organism/review-skills/index.js +3 -60
  28. package/es/organism/review-skills/index.js.map +1 -1
  29. package/es/organism/review-skills/index.native.d.ts +5 -0
  30. package/es/organism/review-skills/index.native.d.ts.map +1 -0
  31. package/es/organism/review-skills/index.native.js +46 -0
  32. package/es/organism/review-skills/index.native.js.map +1 -0
  33. package/es/organism/review-skills/prop-types.d.ts +7 -28
  34. package/es/organism/review-skills/prop-types.d.ts.map +1 -1
  35. package/es/organism/review-skills/prop-types.js +4 -16
  36. package/es/organism/review-skills/prop-types.js.map +1 -1
  37. package/es/organism/review-skills/style.css +3 -106
  38. package/es/template/app-review/index.d.ts +7 -7
  39. package/es/template/app-review/index.js +1 -5
  40. package/es/template/app-review/index.js.map +1 -1
  41. package/es/template/app-review/index.native.d.ts.map +1 -1
  42. package/es/template/app-review/index.native.js +3 -1
  43. package/es/template/app-review/index.native.js.map +1 -1
  44. package/es/template/app-review/prop-types.d.ts +9 -9
  45. package/es/template/app-review/prop-types.d.ts.map +1 -1
  46. package/es/template/app-review/prop-types.js.map +1 -1
  47. package/es/template/app-review/skills/index.d.ts +6 -2
  48. package/es/template/app-review/skills/index.d.ts.map +1 -1
  49. package/es/template/app-review/skills/index.js +46 -2
  50. package/es/template/app-review/skills/index.js.map +1 -1
  51. package/es/template/app-review/skills/index.native.d.ts +3 -3
  52. package/es/template/app-review/skills/index.native.d.ts.map +1 -1
  53. package/es/template/app-review/skills/index.native.js +26 -176
  54. package/es/template/app-review/skills/index.native.js.map +1 -1
  55. package/es/template/app-review/skills/prop-types.d.ts +14 -38
  56. package/es/template/app-review/skills/prop-types.d.ts.map +1 -1
  57. package/es/template/app-review/skills/prop-types.js +10 -13
  58. package/es/template/app-review/skills/prop-types.js.map +1 -1
  59. package/es/template/app-review/skills/style.css +49 -0
  60. package/es/template/review-dashboard-skills/index.d.ts +7 -7
  61. package/es/template/review-dashboard-skills/index.js +1 -1
  62. package/es/template/review-dashboard-skills/index.js.map +1 -1
  63. package/lib/molecule/review-correction-popin/index.d.ts.map +1 -1
  64. package/lib/molecule/review-correction-popin/index.js +13 -5
  65. package/lib/molecule/review-correction-popin/index.js.map +1 -1
  66. package/lib/molecule/skill-card/index.native.d.ts +5 -0
  67. package/lib/molecule/skill-card/index.native.d.ts.map +1 -0
  68. package/lib/molecule/skill-card/index.native.js +95 -0
  69. package/lib/molecule/skill-card/index.native.js.map +1 -0
  70. package/lib/molecule/skill-card/prop-types.d.ts +14 -3
  71. package/lib/molecule/skill-card/prop-types.d.ts.map +1 -1
  72. package/lib/molecule/skill-card/prop-types.js +2 -1
  73. package/lib/molecule/skill-card/prop-types.js.map +1 -1
  74. package/lib/organism/review-no-skills/index.d.ts +11 -0
  75. package/lib/organism/review-no-skills/index.d.ts.map +1 -0
  76. package/lib/organism/review-no-skills/index.js +36 -0
  77. package/lib/organism/review-no-skills/index.js.map +1 -0
  78. package/lib/organism/review-no-skills/index.native.d.ts +5 -0
  79. package/lib/organism/review-no-skills/index.native.d.ts.map +1 -0
  80. package/lib/organism/review-no-skills/index.native.js +72 -0
  81. package/lib/organism/review-no-skills/index.native.js.map +1 -0
  82. package/lib/organism/review-no-skills/prop-types.d.ts +13 -0
  83. package/lib/organism/review-no-skills/prop-types.d.ts.map +1 -0
  84. package/lib/organism/review-no-skills/prop-types.js +17 -0
  85. package/lib/organism/review-no-skills/prop-types.js.map +1 -0
  86. package/lib/organism/review-no-skills/style.css +73 -0
  87. package/lib/organism/review-skills/index.d.ts +5 -3
  88. package/lib/organism/review-skills/index.d.ts.map +1 -1
  89. package/lib/organism/review-skills/index.js +3 -67
  90. package/lib/organism/review-skills/index.js.map +1 -1
  91. package/lib/organism/review-skills/index.native.d.ts +5 -0
  92. package/lib/organism/review-skills/index.native.d.ts.map +1 -0
  93. package/lib/organism/review-skills/index.native.js +57 -0
  94. package/lib/organism/review-skills/index.native.js.map +1 -0
  95. package/lib/organism/review-skills/prop-types.d.ts +7 -28
  96. package/lib/organism/review-skills/prop-types.d.ts.map +1 -1
  97. package/lib/organism/review-skills/prop-types.js +3 -19
  98. package/lib/organism/review-skills/prop-types.js.map +1 -1
  99. package/lib/organism/review-skills/style.css +3 -106
  100. package/lib/template/app-review/index.d.ts +7 -7
  101. package/lib/template/app-review/index.js +1 -5
  102. package/lib/template/app-review/index.js.map +1 -1
  103. package/lib/template/app-review/index.native.d.ts.map +1 -1
  104. package/lib/template/app-review/index.native.js +4 -1
  105. package/lib/template/app-review/index.native.js.map +1 -1
  106. package/lib/template/app-review/prop-types.d.ts +9 -9
  107. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  108. package/lib/template/app-review/prop-types.js.map +1 -1
  109. package/lib/template/app-review/skills/index.d.ts +6 -2
  110. package/lib/template/app-review/skills/index.d.ts.map +1 -1
  111. package/lib/template/app-review/skills/index.js +51 -1
  112. package/lib/template/app-review/skills/index.js.map +1 -1
  113. package/lib/template/app-review/skills/index.native.d.ts +3 -3
  114. package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
  115. package/lib/template/app-review/skills/index.native.js +28 -175
  116. package/lib/template/app-review/skills/index.native.js.map +1 -1
  117. package/lib/template/app-review/skills/prop-types.d.ts +14 -38
  118. package/lib/template/app-review/skills/prop-types.d.ts.map +1 -1
  119. package/lib/template/app-review/skills/prop-types.js +12 -17
  120. package/lib/template/app-review/skills/prop-types.js.map +1 -1
  121. package/lib/template/app-review/skills/style.css +49 -0
  122. package/lib/template/review-dashboard-skills/index.d.ts +7 -7
  123. package/lib/template/review-dashboard-skills/index.js +3 -3
  124. package/lib/template/review-dashboard-skills/index.js.map +1 -1
  125. package/package.json +2 -2
  126. package/es/template/app-review/skills/stories.d.ts +0 -1
  127. package/es/template/app-review/skills/stories.d.ts.map +0 -1
  128. package/es/template/app-review/skills/stories.js +0 -15
  129. package/es/template/app-review/skills/stories.js.map +0 -1
  130. package/lib/template/app-review/skills/stories.d.ts +0 -1
  131. package/lib/template/app-review/skills/stories.d.ts.map +0 -1
  132. package/lib/template/app-review/skills/stories.js +0 -16
  133. package/lib/template/app-review/skills/stories.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.js"],"names":[],"mappings":";AAgCA,gEAgDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/review-correction-popin/index.js"],"names":[],"mappings":";AAoCA,gEAmDC"}
@@ -24,9 +24,13 @@ const buildKlfButton = klf => {
24
24
  className: style.klfButton
25
25
  }))), /*#__PURE__*/React.createElement("div", {
26
26
  className: style.toolTip
27
- }, /*#__PURE__*/React.createElement("div", {
28
- className: style.tooltipText
29
- }, klf.tooltip)));
27
+ }, /*#__PURE__*/React.createElement("span", {
28
+ className: style.tooltipText // eslint-disable-next-line react/no-danger
29
+ ,
30
+ dangerouslySetInnerHTML: {
31
+ __html: klf.tooltip
32
+ }
33
+ })));
30
34
  };
31
35
 
32
36
  const ReviewCorrectionPopin = props => {
@@ -75,8 +79,12 @@ const ReviewCorrectionPopin = props => {
75
79
  "aria-label": information.label
76
80
  }, information.label)), /*#__PURE__*/React.createElement("span", {
77
81
  className: style.message,
78
- "aria-label": information.message
79
- }, information.message))), /*#__PURE__*/React.createElement("div", {
82
+ "aria-label": information.message // eslint-disable-next-line react/no-danger
83
+ ,
84
+ dangerouslySetInnerHTML: {
85
+ __html: information.message
86
+ }
87
+ }))), /*#__PURE__*/React.createElement("div", {
80
88
  className: type === 'right' ? style.actions : style.actionsWrong
81
89
  }, cta, /*#__PURE__*/React.createElement("div", {
82
90
  className: style.nextQuestionContainer
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","classnames","NovaCompositionCoorpacademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","ButtonLink","style","propTypes","buildKlfButton","klf","klfButtonProps","icon","position","type","klfContainer","klfButtonContainer","klfButton","toolTip","tooltipText","tooltip","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","wrong","Icon","wrapper","popin","correctionSection","iconCircle","iconRight","iconWrong","feedbackSection","labelContainer","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton"],"sources":["../../../src/molecule/review-correction-popin/index.js"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst buildKlfButton = klf => {\n const klfButtonProps = {\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n };\n\n return (\n <div className={style.klfContainer}>\n <div className={style.klfButtonContainer}>\n <ButtonLink {...klfButtonProps} className={style.klfButton} />\n </div>\n <div className={style.toolTip}>\n <div className={style.tooltipText}>{klf.tooltip}</div>\n </div>\n </div>\n );\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? buildKlfButton(klf) : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper}>\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel} aria-label=\"result\">\n <span aria-label={resultLabel}>{resultLabel}</span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} aria-label=\"answer-information\">\n <div className={style.labelContainer}>\n <span className={style.label} aria-label={information.label}>\n {information.label}\n </span>\n </div>\n <span className={style.message} aria-label={information.message}>\n {information.message}\n </span>\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer}>\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = propTypes;\n\nexport default ReviewCorrectionPopin;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SACEC,gCAAg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ademyCheck","RightIcon","NovaSolidStatusClose","WrongIcon","ButtonLink","style","propTypes","buildKlfButton","klf","klfButtonProps","icon","position","type","klfContainer","klfButtonContainer","klfButton","toolTip","tooltipText","__html","tooltip","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","wrong","Icon","wrapper","popin","correctionSection","iconCircle","iconRight","iconWrong","feedbackSection","labelContainer","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton"],"sources":["../../../src/molecule/review-correction-popin/index.js"],"sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst buildKlfButton = klf => {\n const klfButtonProps = {\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n };\n\n return (\n <div className={style.klfContainer}>\n <div className={style.klfButtonContainer}>\n <ButtonLink {...klfButtonProps} className={style.klfButton} />\n </div>\n <div className={style.toolTip}>\n <span\n className={style.tooltipText}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: klf.tooltip}}\n />\n </div>\n </div>\n );\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? buildKlfButton(klf) : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper}>\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel} aria-label=\"result\">\n <span aria-label={resultLabel}>{resultLabel}</span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} aria-label=\"answer-information\">\n <div className={style.labelContainer}>\n <span className={style.label} aria-label={information.label}>\n {information.label}\n </span>\n </div>\n <span\n className={style.message}\n aria-label={information.message}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: information.message}}\n />\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer}>\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = propTypes;\n\nexport default ReviewCorrectionPopin;\n"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AACA,SACEC,gCAAgC,IAAIC,SADtC,EAEEC,oBAAoB,IAAIC,SAF1B,QAGO,0BAHP;AAIA,OAAOC,UAAP,MAAuB,wBAAvB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,cAAc,GAAGC,GAAG,IAAI;EAC5B,MAAMC,cAAc,gBACfD,GADe;IAElBE,IAAI,EAAE;MACJC,QAAQ,EAAE,MADN;MAEJC,IAAI,EAAE;IAFF,CAFY;IAMlBA,IAAI,EAAE;EANY,EAApB;;EASA,oBACE;IAAK,SAAS,EAAEP,KAAK,CAACQ;EAAtB,gBACE;IAAK,SAAS,EAAER,KAAK,CAACS;EAAtB,gBACE,oBAAC,UAAD,eAAgBL,cAAhB;IAAgC,SAAS,EAAEJ,KAAK,CAACU;EAAjD,GADF,CADF,eAIE;IAAK,SAAS,EAAEV,KAAK,CAACW;EAAtB,gBACE;IACE,SAAS,EAAEX,KAAK,CAACY,WADnB,CAEE;IAFF;IAGE,uBAAuB,EAAE;MAACC,MAAM,EAAEV,GAAG,CAACW;IAAb;EAH3B,EADF,CAJF,CADF;AAcD,CAxBD;;AA0BA,MAAMC,qBAAqB,GAAGC,KAAK,IAAI;EACr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,eAME;IACE,SAAS,EAAElC,KAAK,CAACmC,OADnB;IAEE,cAAYlB,WAAW,CAACkB,OAF1B,CAGE;IAHF;IAIE,uBAAuB,EAAE;MAACtB,MAAM,EAAEI,WAAW,CAACkB;IAArB;EAJ3B,EANF,CADF,CATF,eAwBE;IAAK,SAAS,EAAE5B,IAAI,KAAK,OAAT,GAAmBP,KAAK,CAACoC,OAAzB,GAAmCpC,KAAK,CAACqC;EAAzD,GACGhB,GADH,eAEE;IAAK,SAAS,EAAErB,KAAK,CAACsC;EAAtB,gBACE,oBAAC,UAAD,eAAgBlB,uBAAhB;IAAyC,SAAS,EAAEpB,KAAK,CAACuC;EAA1D,GADF,CAFF,CAxBF,CADF,CADF;AAmCD,CAnDD;;AAqDAxB,qBAAqB,CAACd,SAAtB,2CAAkCA,SAAlC;AAEA,eAAec,qBAAf"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SkillCardProps } from './prop-types';
3
+ declare const SkillCard: (props: SkillCardProps) => JSX.Element | null;
4
+ export default SkillCard;
5
+ //# sourceMappingURL=index.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/index.native.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAyC5C,QAAA,MAAM,SAAS,UAAW,cAAc,uBAkCvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,82 @@
1
+ import React, { useState, useEffect } from 'react';
2
+ import { View, Pressable, StyleSheet, Text } from 'react-native';
3
+ import { NovaCompositionNavigationArrowRight as ArrowRight } from '@coorpacademy/nova-icons';
4
+ import { useTemplateContext } from '../../template/app-review/template-context';
5
+
6
+ const createStyleSheet = theme => StyleSheet.create({
7
+ skill: {
8
+ display: 'flex',
9
+ flexDirection: 'row',
10
+ overflow: 'hidden',
11
+ alignItems: 'center',
12
+ height: 118,
13
+ borderRadius: 8,
14
+ backgroundColor: theme.colors.gray.lighter,
15
+ marginTop: theme.spacing.micro,
16
+ marginBottom: theme.spacing.micro,
17
+ padding: theme.spacing.base
18
+ },
19
+ skillTexts: {
20
+ flex: 1,
21
+ flexDirection: 'column'
22
+ },
23
+ skillTitle: {
24
+ fontSize: 18,
25
+ fontWeight: '600',
26
+ lineHeight: 22,
27
+ color: theme.colors.text.primary,
28
+ marginBottom: theme.spacing.tiny
29
+ },
30
+ skillInfo: {
31
+ fontSize: 12,
32
+ lineHeight: 16,
33
+ color: theme.colors.gray.medium
34
+ }
35
+ });
36
+
37
+ const SkillCard = props => {
38
+ const templateContext = useTemplateContext();
39
+ const [styleSheet, setStylesheet] = useState(null);
40
+ const {
41
+ theme
42
+ } = templateContext;
43
+ const {
44
+ skillTitle,
45
+ skillAriaLabel,
46
+ reviseLabel,
47
+ reviseAriaLabel,
48
+ onClick,
49
+ buttonAriaLabel
50
+ } = props;
51
+ useEffect(() => {
52
+ const _stylesheet = createStyleSheet(theme);
53
+
54
+ setStylesheet(_stylesheet);
55
+ }, [theme]);
56
+
57
+ if (!styleSheet) {
58
+ return null;
59
+ }
60
+
61
+ return /*#__PURE__*/React.createElement(Pressable, {
62
+ style: styleSheet.skill,
63
+ onPress: onClick,
64
+ accessibilityRole: "button",
65
+ accessibilityLabel: buttonAriaLabel
66
+ }, /*#__PURE__*/React.createElement(View, {
67
+ style: styleSheet.skillTexts
68
+ }, /*#__PURE__*/React.createElement(Text, {
69
+ style: styleSheet.skillTitle,
70
+ accessibilityLabel: skillAriaLabel || skillTitle
71
+ }, skillTitle), /*#__PURE__*/React.createElement(Text, {
72
+ style: styleSheet.skillInfo,
73
+ accessibilityLabel: reviseAriaLabel
74
+ }, reviseLabel)), /*#__PURE__*/React.createElement(ArrowRight, {
75
+ color: "#ededed",
76
+ height: 20,
77
+ width: 20
78
+ }));
79
+ };
80
+
81
+ export default SkillCard;
82
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","Pressable","StyleSheet","Text","NovaCompositionNavigationArrowRight","ArrowRight","useTemplateContext","createStyleSheet","theme","create","skill","display","flexDirection","overflow","alignItems","height","borderRadius","backgroundColor","colors","gray","lighter","marginTop","spacing","micro","marginBottom","padding","base","skillTexts","flex","skillTitle","fontSize","fontWeight","lineHeight","color","text","primary","tiny","skillInfo","medium","SkillCard","props","templateContext","styleSheet","setStylesheet","skillAriaLabel","reviseLabel","reviseAriaLabel","onClick","buttonAriaLabel","_stylesheet"],"sources":["../../../src/molecule/skill-card/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, Pressable, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {NovaCompositionNavigationArrowRight as ArrowRight} from '@coorpacademy/nova-icons';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport {SkillCardProps} from './prop-types';\n\ntype StyleSheetType = {\n skill: ViewStyle;\n skillTexts: TextStyle;\n skillTitle: TextStyle;\n skillInfo: TextStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n skill: {\n display: 'flex',\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 118,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.lighter,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro,\n padding: theme.spacing.base\n },\n skillTexts: {\n flex: 1,\n flexDirection: 'column'\n },\n skillTitle: {\n fontSize: 18,\n fontWeight: '600',\n lineHeight: 22,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n skillInfo: {\n fontSize: 12,\n lineHeight: 16,\n color: theme.colors.gray.medium\n }\n });\n\nconst SkillCard = (props: SkillCardProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n const {skillTitle, skillAriaLabel, reviseLabel, reviseAriaLabel, onClick, buttonAriaLabel} =\n props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <Pressable\n style={styleSheet.skill}\n onPress={onClick}\n accessibilityRole=\"button\"\n accessibilityLabel={buttonAriaLabel}\n >\n <View style={styleSheet.skillTexts}>\n <Text style={styleSheet.skillTitle} accessibilityLabel={skillAriaLabel || skillTitle}>\n {skillTitle}\n </Text>\n <Text style={styleSheet.skillInfo} accessibilityLabel={reviseAriaLabel}>\n {reviseLabel}\n </Text>\n </View>\n <ArrowRight color=\"#ededed\" height={20} width={20} />\n </Pressable>\n );\n};\n\nexport default SkillCard;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,IAAR,EAAcC,SAAd,EAAyBC,UAAzB,EAAqCC,IAArC,QAAsE,cAAtE;AACA,SAAQC,mCAAmC,IAAIC,UAA/C,QAAgE,0BAAhE;AACA,SAAQC,kBAAR,QAAiC,4CAAjC;;AAWA,MAAMC,gBAAgB,GAAIC,KAAD,IACvBN,UAAU,CAACO,MAAX,CAAkB;EAChBC,KAAK,EAAE;IACLC,OAAO,EAAE,MADJ;IAELC,aAAa,EAAE,KAFV;IAGLC,QAAQ,EAAE,QAHL;IAILC,UAAU,EAAE,QAJP;IAKLC,MAAM,EAAE,GALH;IAMLC,YAAY,EAAE,CANT;IAOLC,eAAe,EAAET,KAAK,CAACU,MAAN,CAAaC,IAAb,CAAkBC,OAP9B;IAQLC,SAAS,EAAEb,KAAK,CAACc,OAAN,CAAcC,KARpB;IASLC,YAAY,EAAEhB,KAAK,CAACc,OAAN,CAAcC,KATvB;IAULE,OAAO,EAAEjB,KAAK,CAACc,OAAN,CAAcI;EAVlB,CADS;EAahBC,UAAU,EAAE;IACVC,IAAI,EAAE,CADI;IAEVhB,aAAa,EAAE;EAFL,CAbI;EAiBhBiB,UAAU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M,KAAK,EAAEa,UAAU,CAACL,SAAxB;IAAmC,kBAAkB,EAAES;EAAvD,GACGD,WADH,CAJF,CANF,eAcE,oBAAC,UAAD;IAAY,KAAK,EAAC,SAAlB;IAA4B,MAAM,EAAE,EAApC;IAAwC,KAAK,EAAE;EAA/C,EAdF,CADF;AAkBD,CAlCD;;AAoCA,eAAeN,SAAf"}
@@ -1,4 +1,5 @@
1
- declare const _default: {
1
+ import PropTypes from 'prop-types';
2
+ declare const propTypes: {
2
3
  'aria-label': PropTypes.Requireable<string>;
3
4
  skillTitle: PropTypes.Requireable<string>;
4
5
  skillAriaLabel: PropTypes.Requireable<string>;
@@ -9,6 +10,16 @@ declare const _default: {
9
10
  isCustom: PropTypes.Requireable<boolean>;
10
11
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
11
12
  };
12
- export default _default;
13
- import PropTypes from "prop-types";
13
+ export default propTypes;
14
+ export declare type SkillCardProps = {
15
+ 'aria-label': string;
16
+ skillTitle: string;
17
+ skillAriaLabel: string;
18
+ buttonLabel: string;
19
+ buttonAriaLabel: string;
20
+ reviseLabel: string;
21
+ reviseAriaLabel: string;
22
+ isCustom: boolean;
23
+ onClick: () => void;
24
+ };
14
25
  //# sourceMappingURL=prop-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/prop-types.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/molecule/skill-card/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;;;;;;;CAUd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,cAAc,GAAG;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import PropTypes from 'prop-types';
2
- export default {
2
+ const propTypes = {
3
3
  'aria-label': PropTypes.string,
4
4
  skillTitle: PropTypes.string,
5
5
  skillAriaLabel: PropTypes.string,
@@ -10,4 +10,5 @@ export default {
10
10
  isCustom: PropTypes.bool,
11
11
  onClick: PropTypes.func
12
12
  };
13
+ export default propTypes;
13
14
  //# sourceMappingURL=prop-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.js","names":["PropTypes","string","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","bool","onClick","func"],"sources":["../../../src/molecule/skill-card/prop-types.js"],"sourcesContent":["import PropTypes from 'prop-types';\n\nexport default {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n buttonLabel: PropTypes.string,\n buttonAriaLabel: PropTypes.string,\n reviseLabel: PropTypes.string,\n reviseAriaLabel: PropTypes.string,\n isCustom: PropTypes.bool,\n onClick: PropTypes.func\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,eAAe;EACb,cAAcA,SAAS,CAACC,MADX;EAEbC,UAAU,EAAEF,SAAS,CAACC,MAFT;EAGbE,cAAc,EAAEH,SAAS,CAACC,MAHb;EAIbG,WAAW,EAAEJ,SAAS,CAACC,MAJV;EAKbI,eAAe,EAAEL,SAAS,CAACC,MALd;EAMbK,WAAW,EAAEN,SAAS,CAACC,MANV;EAObM,eAAe,EAAEP,SAAS,CAACC,MAPd;EAQbO,QAAQ,EAAER,SAAS,CAACS,IARP;EASbC,OAAO,EAAEV,SAAS,CAACW;AATN,CAAf"}
1
+ {"version":3,"file":"prop-types.js","names":["PropTypes","propTypes","string","skillTitle","skillAriaLabel","buttonLabel","buttonAriaLabel","reviseLabel","reviseAriaLabel","isCustom","bool","onClick","func"],"sources":["../../../src/molecule/skill-card/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n 'aria-label': PropTypes.string,\n skillTitle: PropTypes.string,\n skillAriaLabel: PropTypes.string,\n buttonLabel: PropTypes.string,\n buttonAriaLabel: PropTypes.string,\n reviseLabel: PropTypes.string,\n reviseAriaLabel: PropTypes.string,\n isCustom: PropTypes.bool,\n onClick: PropTypes.func\n};\n\nexport default propTypes;\n\nexport type SkillCardProps = {\n 'aria-label': string;\n skillTitle: string;\n skillAriaLabel: string;\n buttonLabel: string;\n buttonAriaLabel: string;\n reviseLabel: string;\n reviseAriaLabel: string;\n isCustom: boolean;\n onClick: () => void;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,MAAMC,SAAS,GAAG;EAChB,cAAcD,SAAS,CAACE,MADR;EAEhBC,UAAU,EAAEH,SAAS,CAACE,MAFN;EAGhBE,cAAc,EAAEJ,SAAS,CAACE,MAHV;EAIhBG,WAAW,EAAEL,SAAS,CAACE,MAJP;EAKhBI,eAAe,EAAEN,SAAS,CAACE,MALX;EAMhBK,WAAW,EAAEP,SAAS,CAACE,MANP;EAOhBM,eAAe,EAAER,SAAS,CAACE,MAPX;EAQhBO,QAAQ,EAAET,SAAS,CAACU,IARJ;EAShBC,OAAO,EAAEX,SAAS,CAACY;AATH,CAAlB;AAYA,eAAeX,SAAf"}
@@ -0,0 +1,11 @@
1
+ export default ReviewNoSkills;
2
+ declare function ReviewNoSkills({ titleNoSkills, textNoSkills, iconSkillAriaLabel }: {
3
+ titleNoSkills: any;
4
+ textNoSkills: any;
5
+ iconSkillAriaLabel: any;
6
+ }): JSX.Element;
7
+ declare namespace ReviewNoSkills {
8
+ export { propTypes };
9
+ }
10
+ import propTypes from "./prop-types";
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-no-skills/index.js"],"names":[],"mappings":";AAKA;;;;gBAQC"}
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import { NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision } from '@coorpacademy/nova-icons';
3
+ import style from './style.css';
4
+ import propTypes from './prop-types';
5
+
6
+ const ReviewNoSkills = ({
7
+ titleNoSkills,
8
+ textNoSkills,
9
+ iconSkillAriaLabel
10
+ }) => {
11
+ return /*#__PURE__*/React.createElement("div", {
12
+ className: style.noSkillsContainer
13
+ }, /*#__PURE__*/React.createElement("div", {
14
+ className: style.titleNoSkills
15
+ }, titleNoSkills), /*#__PURE__*/React.createElement("div", {
16
+ className: style.textNoSkills
17
+ }, " ", textNoSkills), /*#__PURE__*/React.createElement(EmptyStateHomeRevision, {
18
+ className: style.imgNoSkills,
19
+ "aria-label": iconSkillAriaLabel
20
+ }));
21
+ };
22
+
23
+ ReviewNoSkills.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
24
+ export default ReviewNoSkills;
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["React","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","style","propTypes","ReviewNoSkills","titleNoSkills","textNoSkills","iconSkillAriaLabel","noSkillsContainer","imgNoSkills"],"sources":["../../../src/organism/review-no-skills/index.js"],"sourcesContent":["import React from 'react';\nimport {NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision} from '@coorpacademy/nova-icons';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ReviewNoSkills = ({titleNoSkills, textNoSkills, iconSkillAriaLabel}) => {\n return (\n <div className={style.noSkillsContainer}>\n <div className={style.titleNoSkills}>{titleNoSkills}</div>\n <div className={style.textNoSkills}> {textNoSkills}</div>\n <EmptyStateHomeRevision className={style.imgNoSkills} aria-label={iconSkillAriaLabel} />\n </div>\n );\n};\n\nReviewNoSkills.propTypes = propTypes;\n\nexport default ReviewNoSkills;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAAQC,iDAAiD,IAAIC,sBAA7D,QAA0F,0BAA1F;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,cAAc,GAAG,CAAC;EAACC,aAAD;EAAgBC,YAAhB;EAA8BC;AAA9B,CAAD,KAAuD;EAC5E,oBACE;IAAK,SAAS,EAAEL,KAAK,CAACM;EAAtB,gBACE;IAAK,SAAS,EAAEN,KAAK,CAACG;EAAtB,GAAsCA,aAAtC,CADF,eAEE;IAAK,SAAS,EAAEH,KAAK,CAACI;EAAtB,QAAsCA,YAAtC,CAFF,eAGE,oBAAC,sBAAD;IAAwB,SAAS,EAAEJ,KAAK,CAACO,WAAzC;IAAsD,cAAYF;EAAlE,EAHF,CADF;AAOD,CARD;;AAUAH,cAAc,CAACD,SAAf,2CAA2BA,SAA3B;AAEA,eAAeC,cAAf"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { NoSkillsProps } from './prop-types';
3
+ declare const ReviewNoSkills: (props: NoSkillsProps) => JSX.Element | null;
4
+ export default ReviewNoSkills;
5
+ //# sourceMappingURL=index.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/organism/review-no-skills/index.native.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAC,aAAa,EAAC,MAAM,cAAc,CAAC;AA8B3C,QAAA,MAAM,cAAc,UAAW,aAAa,uBAyB3C,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,59 @@
1
+ import React, { useState, useEffect } from 'react';
2
+ import { StyleSheet, Text, View } from 'react-native';
3
+ import { NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision } from '@coorpacademy/nova-icons';
4
+ import { useTemplateContext } from '../../template/app-review/template-context';
5
+
6
+ const createStyleSheet = theme => StyleSheet.create({
7
+ subtitle: {
8
+ fontSize: theme.fontSize.xlarge,
9
+ color: theme.colors.text.primary,
10
+ marginBottom: theme.spacing.tiny
11
+ },
12
+ text: {
13
+ fontSize: 16,
14
+ lineHeight: 22,
15
+ color: theme.colors.text.primary,
16
+ opacity: 0.7,
17
+ marginBottom: theme.spacing.base
18
+ },
19
+ noSkillsImage: {
20
+ flex: 1,
21
+ alignSelf: 'center',
22
+ width: 320,
23
+ height: 300
24
+ }
25
+ });
26
+
27
+ const ReviewNoSkills = props => {
28
+ const {
29
+ titleNoSkills,
30
+ textNoSkills,
31
+ iconSkillAriaLabel
32
+ } = props;
33
+ const templateContext = useTemplateContext();
34
+ const [styleSheet, setStylesheet] = useState(null);
35
+ const {
36
+ theme
37
+ } = templateContext;
38
+ useEffect(() => {
39
+ const _stylesheet = createStyleSheet(theme);
40
+
41
+ setStylesheet(_stylesheet);
42
+ }, [theme]);
43
+
44
+ if (!styleSheet) {
45
+ return null;
46
+ }
47
+
48
+ return /*#__PURE__*/React.createElement(View, null, /*#__PURE__*/React.createElement(Text, {
49
+ style: styleSheet.subtitle
50
+ }, titleNoSkills), /*#__PURE__*/React.createElement(Text, {
51
+ style: styleSheet.text
52
+ }, textNoSkills), /*#__PURE__*/React.createElement(EmptyStateHomeRevision, {
53
+ style: styleSheet.noSkillsImage,
54
+ iconSkillAriaLabel: iconSkillAriaLabel
55
+ }));
56
+ };
57
+
58
+ export default ReviewNoSkills;
59
+ //# sourceMappingURL=index.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.js","names":["React","useState","useEffect","StyleSheet","Text","View","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","useTemplateContext","createStyleSheet","theme","create","subtitle","fontSize","xlarge","color","colors","text","primary","marginBottom","spacing","tiny","lineHeight","opacity","base","noSkillsImage","flex","alignSelf","width","height","ReviewNoSkills","props","titleNoSkills","textNoSkills","iconSkillAriaLabel","templateContext","styleSheet","setStylesheet","_stylesheet"],"sources":["../../../src/organism/review-no-skills/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {StyleSheet, Text, View, ViewStyle, TextStyle} from 'react-native';\nimport {NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision} from '@coorpacademy/nova-icons';\nimport {Theme} from '../../variables/theme.native';\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {NoSkillsProps} from './prop-types';\n\ntype StyleSheetType = {\n subtitle: TextStyle;\n text: TextStyle;\n noSkillsImage: ViewStyle;\n};\n\nconst createStyleSheet = (theme: Theme): StyleSheetType =>\n StyleSheet.create({\n subtitle: {\n fontSize: theme.fontSize.xlarge,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.tiny\n },\n text: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary,\n opacity: 0.7,\n marginBottom: theme.spacing.base\n },\n noSkillsImage: {\n flex: 1,\n alignSelf: 'center',\n width: 320,\n height: 300\n }\n });\n\nconst ReviewNoSkills = (props: NoSkillsProps) => {\n const {titleNoSkills, textNoSkills, iconSkillAriaLabel} = props;\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {theme} = templateContext;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(theme);\n setStylesheet(_stylesheet);\n }, [theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View>\n <Text style={styleSheet.subtitle}>{titleNoSkills}</Text>\n <Text style={styleSheet.text}>{textNoSkills}</Text>\n <EmptyStateHomeRevision\n style={styleSheet.noSkillsImage}\n iconSkillAriaLabel={iconSkillAriaLabel}\n />\n </View>\n );\n};\n\nexport default ReviewNoSkills;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,UAAR,EAAoB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;;EAED,oBACE,oBAAC,IAAD,qBACE,oBAAC,IAAD;IAAM,KAAK,EAAEA,UAAU,CAACxB;EAAxB,GAAmCoB,aAAnC,CADF,eAEE,oBAAC,IAAD;IAAM,KAAK,EAAEI,UAAU,CAACnB;EAAxB,GAA+BgB,YAA/B,CAFF,eAGE,oBAAC,sBAAD;IACE,KAAK,EAAEG,UAAU,CAACX,aADpB;IAEE,kBAAkB,EAAES;EAFtB,EAHF,CADF;AAUD,CAzBD;;AA2BA,eAAeJ,cAAf"}
@@ -0,0 +1,13 @@
1
+ import PropTypes from 'prop-types';
2
+ declare const propTypes: {
3
+ titleNoSkills: PropTypes.Validator<string>;
4
+ textNoSkills: PropTypes.Validator<string>;
5
+ iconSkillAriaLabel: PropTypes.Validator<string>;
6
+ };
7
+ export default propTypes;
8
+ export declare type NoSkillsProps = {
9
+ titleNoSkills: string;
10
+ textNoSkills: string;
11
+ iconSkillAriaLabel: string;
12
+ };
13
+ //# sourceMappingURL=prop-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-no-skills/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,QAAA,MAAM,SAAS;;;;CAId,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,aAAa,GAAG;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,MAAM,CAAC;CAC5B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import PropTypes from 'prop-types';
2
+ const propTypes = {
3
+ titleNoSkills: PropTypes.string.isRequired,
4
+ textNoSkills: PropTypes.string.isRequired,
5
+ iconSkillAriaLabel: PropTypes.string.isRequired
6
+ };
7
+ export default propTypes;
8
+ //# sourceMappingURL=prop-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prop-types.js","names":["PropTypes","propTypes","titleNoSkills","string","isRequired","textNoSkills","iconSkillAriaLabel"],"sources":["../../../src/organism/review-no-skills/prop-types.ts"],"sourcesContent":["import PropTypes from 'prop-types';\n\nconst propTypes = {\n titleNoSkills: PropTypes.string.isRequired,\n textNoSkills: PropTypes.string.isRequired,\n iconSkillAriaLabel: PropTypes.string.isRequired\n};\n\nexport default propTypes;\n\nexport type NoSkillsProps = {\n titleNoSkills: string;\n textNoSkills: string;\n iconSkillAriaLabel: string;\n};\n"],"mappings":"AAAA,OAAOA,SAAP,MAAsB,YAAtB;AAEA,MAAMC,SAAS,GAAG;EAChBC,aAAa,EAAEF,SAAS,CAACG,MAAV,CAAiBC,UADhB;EAEhBC,YAAY,EAAEL,SAAS,CAACG,MAAV,CAAiBC,UAFf;EAGhBE,kBAAkB,EAAEN,SAAS,CAACG,MAAV,CAAiBC;AAHrB,CAAlB;AAMA,eAAeH,SAAf"}
@@ -0,0 +1,73 @@
1
+ @value breakpoints: "../../variables/breakpoints.css";
2
+ @value tablet from breakpoints;
3
+ @value mobile from breakpoints;
4
+ @value colors: "../../variables/colors.css";
5
+ @value cm_blue_900 from colors;
6
+ @value cm_grey_400 from colors;
7
+
8
+ .textBase {
9
+ color: cm_blue_900;
10
+ font-family: "Gilroy";
11
+ font-style: normal;
12
+ user-select: none;
13
+ }
14
+
15
+ .noSkillsContainer {
16
+ margin-top: 56px;
17
+ display: flex;
18
+ flex-direction: column;
19
+ align-items: center;
20
+ justify-content: center;
21
+ position: relative;
22
+ }
23
+
24
+ .titleNoSkills {
25
+ composes: textBase;
26
+ font-weight: 10;
27
+ font-size: 28px;
28
+ line-height: 36px;
29
+ text-align: center;
30
+ }
31
+
32
+ .textNoSkills {
33
+ color: cm_grey_400;
34
+ font-family: "Gilroy";
35
+ font-size: 20px;
36
+ line-height: 28px;
37
+ margin-top: 8px;
38
+ text-align: center;
39
+ user-select: none;
40
+ width: 493px;
41
+ }
42
+
43
+ .imgNoSkills {
44
+ height: 361px;
45
+ margin-top: 48px;
46
+ width: 361px;
47
+ }
48
+
49
+ @media tablet {
50
+ .titleNoSkills, .textNoSkills {
51
+ width: 90%;
52
+ }
53
+
54
+ .imgNoSkills {
55
+ max-width: 361px;
56
+ max-height: 361px;
57
+ width: 100%;
58
+ height: 100%;
59
+ }
60
+ }
61
+
62
+ @media mobile {
63
+ .titleNoSkills,
64
+ .textNoSkills {
65
+ width: 85%;
66
+ }
67
+
68
+ .imgNoSkills {
69
+ margin-top: 33px;
70
+ width: 85%;
71
+ height: auto;
72
+ }
73
+ }
@@ -1,6 +1,8 @@
1
- export default ReviewSkills;
2
- declare function ReviewSkills(props: any): JSX.Element;
3
- declare namespace ReviewSkills {
1
+ export default ReviewListSkills;
2
+ declare function ReviewListSkills({ listSkills }: {
3
+ listSkills: any;
4
+ }): JSX.Element;
5
+ declare namespace ReviewListSkills {
4
6
  export { propTypes };
5
7
  }
6
8
  import propTypes from "./prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-skills/index.js"],"names":[],"mappings":";AAqCA,uDAqCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/review-skills/index.js"],"names":[],"mappings":";AAMA;;gBAaC"}
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
- import isEmpty from 'lodash/fp/isEmpty';
3
2
  import map from 'lodash/fp/map';
4
- import { NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision, NovaCompositionCoorpacademyInformationIcon as InformationIcon } from '@coorpacademy/nova-icons';
5
- import Loader from '../../atom/loader';
6
3
  import SkillCard from '../../molecule/skill-card';
7
4
  import style from './style.css';
8
- import propTypes, { ListSkillsPropTypes, NoSkillsPropTypes } from './prop-types';
5
+ import propTypes from './prop-types';
9
6
 
10
7
  const ReviewListSkills = ({
11
8
  listSkills
@@ -22,60 +19,6 @@ const ReviewListSkills = ({
22
19
  }, listSkills));
23
20
  };
24
21
 
25
- const ReviewNoSkills = ({
26
- titleNoSkills,
27
- textNoSkills,
28
- iconSkillAriaLabel
29
- }) => {
30
- return /*#__PURE__*/React.createElement("div", {
31
- className: style.noSkillsContainer
32
- }, /*#__PURE__*/React.createElement("div", {
33
- className: style.titleNoSkills
34
- }, titleNoSkills), /*#__PURE__*/React.createElement("div", {
35
- className: style.textNoSkills
36
- }, " ", textNoSkills), /*#__PURE__*/React.createElement(EmptyStateHomeRevision, {
37
- className: style.imgNoSkills,
38
- "aria-label": iconSkillAriaLabel
39
- }));
40
- };
41
-
42
- const ReviewSkills = props => {
43
- const {
44
- 'aria-label': ariaLabel,
45
- title,
46
- listSkills,
47
- titleNoSkills,
48
- textNoSkills,
49
- iconSkillAriaLabel,
50
- isLoading = false,
51
- isLoadingAriaLabel
52
- } = props;
53
- return /*#__PURE__*/React.createElement("div", {
54
- className: style.containerReviewSkill,
55
- "aria-label": ariaLabel
56
- }, /*#__PURE__*/React.createElement("div", {
57
- className: style.title
58
- }, title, /*#__PURE__*/React.createElement(InformationIcon, {
59
- className: style.informationIcon,
60
- width: 12,
61
- height: 12
62
- })), isLoading ? /*#__PURE__*/React.createElement("div", {
63
- className: style.loaderContainer
64
- }, /*#__PURE__*/React.createElement(Loader, {
65
- className: style.loader,
66
- theme: "default",
67
- "aria-label": isLoadingAriaLabel
68
- })) : /*#__PURE__*/React.createElement("div", null, !isEmpty(listSkills) ? /*#__PURE__*/React.createElement(ReviewListSkills, {
69
- listSkills: listSkills
70
- }) : /*#__PURE__*/React.createElement(ReviewNoSkills, {
71
- titleNoSkills: titleNoSkills,
72
- textNoSkills: textNoSkills,
73
- iconSkillAriaLabel: iconSkillAriaLabel
74
- })));
75
- };
76
-
77
- ReviewListSkills.propTypes = process.env.NODE_ENV !== "production" ? ListSkillsPropTypes : {};
78
- ReviewNoSkills.propTypes = process.env.NODE_ENV !== "production" ? NoSkillsPropTypes : {};
79
- ReviewSkills.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
80
- export default ReviewSkills;
22
+ ReviewListSkills.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
23
+ export default ReviewListSkills;
81
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["React","isEmpty","map","NovaCompositionCoorpacademyEmptyStateHomeRevision","EmptyStateHomeRevision","NovaCompositionCoorpacademyInformationIcon","InformationIcon","Loader","SkillCard","style","propTypes","ListSkillsPropTypes","NoSkillsPropTypes","ReviewListSkills","listSkills","listSkillsContainer","convert","cap","skillCard","key","skillCardContainer","ReviewNoSkills","titleNoSkills","textNoSkills","iconSkillAriaLabel","noSkillsContainer","imgNoSkills","ReviewSkills","props","ariaLabel","title","isLoading","isLoadingAriaLabel","containerReviewSkill","informationIcon","loaderContainer","loader"],"sources":["../../../src/organism/review-skills/index.js"],"sourcesContent":["import React from 'react';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport map from 'lodash/fp/map';\nimport {\n NovaCompositionCoorpacademyEmptyStateHomeRevision as EmptyStateHomeRevision,\n NovaCompositionCoorpacademyInformationIcon as InformationIcon\n} from '@coorpacademy/nova-icons';\nimport Loader from '../../atom/loader';\nimport SkillCard from '../../molecule/skill-card';\nimport style from './style.css';\nimport propTypes, {ListSkillsPropTypes, NoSkillsPropTypes} from './prop-types';\n\nconst ReviewListSkills = ({listSkills}) => {\n return (\n <div className={style.listSkillsContainer}>\n {listSkills &&\n map.convert({cap: false})((skillCard, key) => {\n return (\n <div className={style.skillCardContainer} key={`step-${key}`}>\n <SkillCard {...skillCard} />\n </div>\n );\n }, listSkills)}\n </div>\n );\n};\n\nconst ReviewNoSkills = ({titleNoSkills, textNoSkills, iconSkillAriaLabel}) => {\n return (\n <div className={style.noSkillsContainer}>\n <div className={style.titleNoSkills}>{titleNoSkills}</div>\n <div className={style.textNoSkills}> {textNoSkills}</div>\n <EmptyStateHomeRevision className={style.imgNoSkills} aria-label={iconSkillAriaLabel} />\n </div>\n );\n};\n\nconst ReviewSkills = props => {\n const {\n 'aria-label': ariaLabel,\n title,\n listSkills,\n titleNoSkills,\n textNoSkills,\n iconSkillAriaLabel,\n isLoading = false,\n isLoadingAriaLabel\n } = props;\n\n return (\n <div className={style.containerReviewSkill} aria-label={ariaLabel}>\n <div className={style.title}>\n {title}\n <InformationIcon className={style.informationIcon} width={12} height={12} />\n </div>\n {isLoading ? (\n <div className={style.loaderContainer}>\n <Loader className={style.loader} theme=\"default\" aria-label={isLoadingAriaLabel} />\n </div>\n ) : (\n <div>\n {!isEmpty(listSkills) ? (\n <ReviewListSkills listSkills={listSkills} />\n ) : (\n <ReviewNoSkills\n titleNoSkills={titleNoSkills}\n textNoSkills={textNoSkills}\n iconSkillAriaLabel={iconSkillAriaLabel}\n />\n )}\n </div>\n )}\n </div>\n );\n};\n\nReviewListSkills.propTypes = ListSkillsPropTypes;\nReviewNoSkills.propTypes = NoSkillsPropTypes;\nReviewSkills.propTypes = propTypes;\n\nexport default ReviewSkills;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,OAAP,MAAoB,mBAApB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,SACEC,iDAAiD,IAAIC,sBADvD,EAEEC,0CAA0C,IAAIC,eAFhD,QAGO,0BAHP;AAIA,OAAOC,MAAP,MAAmB,mBAAnB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,IAAmBC,mBAAnB,EAAwCC,iBAAxC,QAAgE,cAAhE;;AAEA,MAAMC,gBAAgB,GAAG,CAAC;EAACC;AAAD,CAAD,KAAkB;EACzC,oBACE;IAAK,SAAS,EAAEL,KAAK,CAACM;EAAtB,GACGD,UAAU,IACTZ,GAAG,CAACc,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EAA0B,CAACC,SAAD,EAAYC,GAAZ,KAAoB;IAC5C,oBACE;MAAK,SAAS,EAAEV,KAAK,CAACW,kBAAtB;MAA0C,GAAG,EAAG,QAAOD,GAAI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,aAAa,EAAEQ,aADjB;IAEE,YAAY,EAAEC,YAFhB;IAGE,kBAAkB,EAAEC;EAHtB,EAJJ,CAVJ,CADF;AAyBD,CArCD;;AAuCAX,gBAAgB,CAACH,SAAjB,2CAA6BC,mBAA7B;AACAU,cAAc,CAACX,SAAf,2CAA2BE,iBAA3B;AACAe,YAAY,CAACjB,SAAb,2CAAyBA,SAAzB;AAEA,eAAeiB,YAAf"}
1
+ {"version":3,"file":"index.js","names":["React","map","SkillCard","style","propTypes","ReviewListSkills","listSkills","listSkillsContainer","convert","cap","skillCard","key","skillCardContainer"],"sources":["../../../src/organism/review-skills/index.js"],"sourcesContent":["import React from 'react';\nimport map from 'lodash/fp/map';\nimport SkillCard from '../../molecule/skill-card';\nimport style from './style.css';\nimport propTypes from './prop-types';\n\nconst ReviewListSkills = ({listSkills}) => {\n return (\n <div className={style.listSkillsContainer}>\n {listSkills &&\n map.convert({cap: false})((skillCard, key) => {\n return (\n <div className={style.skillCardContainer} key={`step-${key}`}>\n <SkillCard {...skillCard} />\n </div>\n );\n }, listSkills)}\n </div>\n );\n};\n\nReviewListSkills.propTypes = propTypes;\n\nexport default ReviewListSkills;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,GAAP,MAAgB,eAAhB;AACA,OAAOC,SAAP,MAAsB,2BAAtB;AACA,OAAOC,KAAP,MAAkB,aAAlB;AACA,OAAOC,SAAP,MAAsB,cAAtB;;AAEA,MAAMC,gBAAgB,GAAG,CAAC;EAACC;AAAD,CAAD,KAAkB;EACzC,oBACE;IAAK,SAAS,EAAEH,KAAK,CAACI;EAAtB,GACGD,UAAU,IACTL,GAAG,CAACO,OAAJ,CAAY;IAACC,GAAG,EAAE;EAAN,CAAZ,EAA0B,CAACC,SAAD,EAAYC,GAAZ,KAAoB;IAC5C,oBACE;MAAK,SAAS,EAAER,KAAK,CAACS,kBAAtB;MAA0C,GAAG,EAAG,QAAOD,GAAI;IAA3D,gBACE,oBAAC,SAAD,EAAeD,SAAf,CADF,CADF;EAKD,CAND,EAMGJ,UANH,CAFJ,CADF;AAYD,CAbD;;AAeAD,gBAAgB,CAACD,SAAjB,2CAA6BA,SAA7B;AAEA,eAAeC,gBAAf"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ReviewSkills } from './prop-types';
3
+ declare const ReviewListSkills: (props: ReviewSkills) => JSX.Element;
4
+ export default ReviewListSkills;
5
+ //# sourceMappingURL=index.native.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/organism/review-skills/index.native.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,cAAc,CAAC;AAoC1C,QAAA,MAAM,gBAAgB,UAAW,YAAY,gBAI5C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}