@coorpacademy/components 11.12.1 → 11.12.3-alpha.9

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 (156) hide show
  1. package/es/atom/drag-and-drop/index.d.ts +2 -0
  2. package/es/atom/drag-and-drop/index.d.ts.map +1 -1
  3. package/es/atom/drag-and-drop/index.js +26 -2
  4. package/es/atom/drag-and-drop/index.js.map +1 -1
  5. package/es/atom/drag-and-drop/style.css +21 -5
  6. package/es/atom/image-upload/index.d.ts +5 -1
  7. package/es/atom/image-upload/index.d.ts.map +1 -1
  8. package/es/atom/image-upload/index.js +8 -10
  9. package/es/atom/image-upload/index.js.map +1 -1
  10. package/es/atom/video-upload/index.d.ts +2 -0
  11. package/es/molecule/brand-form-group/index.d.ts +4 -0
  12. package/es/molecule/card/favorite.d.ts +14 -9
  13. package/es/molecule/card/favorite.d.ts.map +1 -1
  14. package/es/molecule/card/favorite.js +51 -65
  15. package/es/molecule/card/favorite.js.map +1 -1
  16. package/es/molecule/drag-and-drop-wrapper/index.d.ts +2 -0
  17. package/es/molecule/drag-and-drop-wrapper/style.css +1 -1
  18. package/es/molecule/expandable-item/index.d.ts +26 -0
  19. package/es/molecule/expandable-item/index.d.ts.map +1 -0
  20. package/es/molecule/expandable-item/index.js +51 -0
  21. package/es/molecule/expandable-item/index.js.map +1 -0
  22. package/es/molecule/expandable-item/style.css +129 -0
  23. package/es/molecule/expandable-list/index.d.ts +16 -0
  24. package/es/molecule/expandable-list/index.d.ts.map +1 -0
  25. package/es/molecule/expandable-list/index.js +34 -0
  26. package/es/molecule/expandable-list/index.js.map +1 -0
  27. package/es/molecule/expandable-list/style.css +25 -0
  28. package/es/molecule/hero/index.d.ts +2 -0
  29. package/es/molecule/hero/index.d.ts.map +1 -1
  30. package/es/molecule/hero/index.js +14 -4
  31. package/es/molecule/hero/index.js.map +1 -1
  32. package/es/molecule/hero/style.css +42 -0
  33. package/es/molecule/menu-links/index.d.ts +18 -0
  34. package/es/molecule/menu-links/index.d.ts.map +1 -0
  35. package/es/molecule/menu-links/index.js +43 -0
  36. package/es/molecule/menu-links/index.js.map +1 -0
  37. package/es/molecule/menu-links/style.css +87 -0
  38. package/es/molecule/privacy-policy-contact/index.d.ts +18 -0
  39. package/es/molecule/privacy-policy-contact/index.d.ts.map +1 -0
  40. package/es/molecule/privacy-policy-contact/index.js +31 -0
  41. package/es/molecule/privacy-policy-contact/index.js.map +1 -0
  42. package/es/molecule/privacy-policy-contact/style.css +37 -0
  43. package/es/molecule/privacy-policy-download/index.d.ts +30 -0
  44. package/es/molecule/privacy-policy-download/index.d.ts.map +1 -0
  45. package/es/molecule/privacy-policy-download/index.js +30 -0
  46. package/es/molecule/privacy-policy-download/index.js.map +1 -0
  47. package/es/molecule/privacy-policy-download/style.css +42 -0
  48. package/es/molecule/setup-slide/index.d.ts +2 -0
  49. package/es/molecule/setup-slider/index.d.ts +2 -0
  50. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  51. package/es/organism/brand-form/index.d.ts +4 -0
  52. package/es/organism/list-item/index.d.ts +1 -0
  53. package/es/organism/list-item/index.d.ts.map +1 -1
  54. package/es/organism/list-item/index.js +5 -3
  55. package/es/organism/list-item/index.js.map +1 -1
  56. package/es/organism/list-items/index.d.ts +4 -1
  57. package/es/organism/list-items/index.d.ts.map +1 -1
  58. package/es/organism/list-items/index.js +6 -3
  59. package/es/organism/list-items/index.js.map +1 -1
  60. package/es/organism/rewards-form/index.d.ts +2 -0
  61. package/es/organism/wizard-contents/index.d.ts +6 -0
  62. package/es/template/back-office/brand-update/index.d.ts +12 -0
  63. package/es/template/back-office/brand-update/index.js +2 -1
  64. package/es/template/back-office/brand-update/index.js.map +1 -1
  65. package/es/template/cockpit/jw-uploader/index.d.ts +2 -0
  66. package/es/template/common/privacy-policy-page/index.d.ts +59 -0
  67. package/es/template/common/privacy-policy-page/index.d.ts.map +1 -0
  68. package/es/template/common/privacy-policy-page/index.js +47 -0
  69. package/es/template/common/privacy-policy-page/index.js.map +1 -0
  70. package/es/template/common/privacy-policy-page/style.css +78 -0
  71. package/es/util/button-icons.d.ts +1 -0
  72. package/es/util/button-icons.d.ts.map +1 -1
  73. package/es/util/button-icons.js +3 -2
  74. package/es/util/button-icons.js.map +1 -1
  75. package/es/util/proptypes.d.ts.map +1 -1
  76. package/es/util/proptypes.js +2 -2
  77. package/es/util/proptypes.js.map +1 -1
  78. package/lib/atom/drag-and-drop/index.d.ts +2 -0
  79. package/lib/atom/drag-and-drop/index.d.ts.map +1 -1
  80. package/lib/atom/drag-and-drop/index.js +26 -2
  81. package/lib/atom/drag-and-drop/index.js.map +1 -1
  82. package/lib/atom/drag-and-drop/style.css +21 -5
  83. package/lib/atom/image-upload/index.d.ts +5 -1
  84. package/lib/atom/image-upload/index.d.ts.map +1 -1
  85. package/lib/atom/image-upload/index.js +8 -11
  86. package/lib/atom/image-upload/index.js.map +1 -1
  87. package/lib/atom/video-upload/index.d.ts +2 -0
  88. package/lib/molecule/brand-form-group/index.d.ts +4 -0
  89. package/lib/molecule/card/favorite.d.ts +14 -9
  90. package/lib/molecule/card/favorite.d.ts.map +1 -1
  91. package/lib/molecule/card/favorite.js +55 -65
  92. package/lib/molecule/card/favorite.js.map +1 -1
  93. package/lib/molecule/drag-and-drop-wrapper/index.d.ts +2 -0
  94. package/lib/molecule/drag-and-drop-wrapper/style.css +1 -1
  95. package/lib/molecule/expandable-item/index.d.ts +26 -0
  96. package/lib/molecule/expandable-item/index.d.ts.map +1 -0
  97. package/lib/molecule/expandable-item/index.js +66 -0
  98. package/lib/molecule/expandable-item/index.js.map +1 -0
  99. package/lib/molecule/expandable-item/style.css +129 -0
  100. package/lib/molecule/expandable-list/index.d.ts +16 -0
  101. package/lib/molecule/expandable-list/index.d.ts.map +1 -0
  102. package/lib/molecule/expandable-list/index.js +48 -0
  103. package/lib/molecule/expandable-list/index.js.map +1 -0
  104. package/lib/molecule/expandable-list/style.css +25 -0
  105. package/lib/molecule/hero/index.d.ts +2 -0
  106. package/lib/molecule/hero/index.d.ts.map +1 -1
  107. package/lib/molecule/hero/index.js +14 -4
  108. package/lib/molecule/hero/index.js.map +1 -1
  109. package/lib/molecule/hero/style.css +42 -0
  110. package/lib/molecule/menu-links/index.d.ts +18 -0
  111. package/lib/molecule/menu-links/index.d.ts.map +1 -0
  112. package/lib/molecule/menu-links/index.js +54 -0
  113. package/lib/molecule/menu-links/index.js.map +1 -0
  114. package/lib/molecule/menu-links/style.css +87 -0
  115. package/lib/molecule/privacy-policy-contact/index.d.ts +18 -0
  116. package/lib/molecule/privacy-policy-contact/index.d.ts.map +1 -0
  117. package/lib/molecule/privacy-policy-contact/index.js +44 -0
  118. package/lib/molecule/privacy-policy-contact/index.js.map +1 -0
  119. package/lib/molecule/privacy-policy-contact/style.css +37 -0
  120. package/lib/molecule/privacy-policy-download/index.d.ts +30 -0
  121. package/lib/molecule/privacy-policy-download/index.d.ts.map +1 -0
  122. package/lib/molecule/privacy-policy-download/index.js +41 -0
  123. package/lib/molecule/privacy-policy-download/index.js.map +1 -0
  124. package/lib/molecule/privacy-policy-download/style.css +42 -0
  125. package/lib/molecule/setup-slide/index.d.ts +2 -0
  126. package/lib/molecule/setup-slider/index.d.ts +2 -0
  127. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +2 -0
  128. package/lib/organism/brand-form/index.d.ts +4 -0
  129. package/lib/organism/list-item/index.d.ts +1 -0
  130. package/lib/organism/list-item/index.d.ts.map +1 -1
  131. package/lib/organism/list-item/index.js +5 -3
  132. package/lib/organism/list-item/index.js.map +1 -1
  133. package/lib/organism/list-items/index.d.ts +4 -1
  134. package/lib/organism/list-items/index.d.ts.map +1 -1
  135. package/lib/organism/list-items/index.js +6 -3
  136. package/lib/organism/list-items/index.js.map +1 -1
  137. package/lib/organism/rewards-form/index.d.ts +2 -0
  138. package/lib/organism/wizard-contents/index.d.ts +6 -0
  139. package/lib/template/back-office/brand-update/index.d.ts +12 -0
  140. package/lib/template/back-office/brand-update/index.js +2 -1
  141. package/lib/template/back-office/brand-update/index.js.map +1 -1
  142. package/lib/template/cockpit/jw-uploader/index.d.ts +2 -0
  143. package/lib/template/common/privacy-policy-page/index.d.ts +59 -0
  144. package/lib/template/common/privacy-policy-page/index.d.ts.map +1 -0
  145. package/lib/template/common/privacy-policy-page/index.js +61 -0
  146. package/lib/template/common/privacy-policy-page/index.js.map +1 -0
  147. package/lib/template/common/privacy-policy-page/style.css +78 -0
  148. package/lib/util/button-icons.d.ts +1 -0
  149. package/lib/util/button-icons.d.ts.map +1 -1
  150. package/lib/util/button-icons.js +2 -1
  151. package/lib/util/button-icons.js.map +1 -1
  152. package/lib/util/proptypes.d.ts.map +1 -1
  153. package/lib/util/proptypes.js +2 -2
  154. package/lib/util/proptypes.js.map +1 -1
  155. package/package.json +2 -2
  156. package/locales/.mtslconfig.json +0 -1
@@ -35,7 +35,9 @@ const Hero = (props, context) => {
35
35
  author,
36
36
  progress,
37
37
  onClick,
38
- submitValue
38
+ submitValue,
39
+ description,
40
+ mode = _cardContent.MODES.HERO
39
41
  } = props;
40
42
  const primaryColor = (0, _get2.default)('common.primary', skin);
41
43
  const cardStyle = (0, _classnames.default)(_style.default.hero, title ? null : _style.default.lazy);
@@ -51,12 +53,18 @@ const Hero = (props, context) => {
51
53
  backgroundColor: primaryColor,
52
54
  backgroundImage: image ? `url('${image}')` : 'none'
53
55
  }
54
- })), /*#__PURE__*/_react.default.createElement(_cardContent.default, {
56
+ })), mode === _cardContent.MODES.HERO ? /*#__PURE__*/_react.default.createElement(_cardContent.default, {
55
57
  mode: _cardContent.MODES.HERO,
56
58
  author: author,
57
59
  progress: progress,
58
60
  title: title
59
- }), /*#__PURE__*/_react.default.createElement("div", {
61
+ }) : /*#__PURE__*/_react.default.createElement("div", {
62
+ className: _style.default.infoWrapper
63
+ }, /*#__PURE__*/_react.default.createElement("h1", {
64
+ className: _style.default.title
65
+ }, title), /*#__PURE__*/_react.default.createElement("p", {
66
+ className: _style.default.description
67
+ }, description)), mode === _cardContent.MODES.HERO ? /*#__PURE__*/_react.default.createElement("div", {
60
68
  className: _style.default.heroButtonWrapper
61
69
  }, /*#__PURE__*/_react.default.createElement(_button.default, {
62
70
  type: "link",
@@ -67,7 +75,7 @@ const Hero = (props, context) => {
67
75
  style: {
68
76
  backgroundColor: primaryColor
69
77
  }
70
- })));
78
+ })) : null);
71
79
  };
72
80
 
73
81
  Hero.contextTypes = {
@@ -75,6 +83,8 @@ Hero.contextTypes = {
75
83
  };
76
84
  Hero.propTypes = process.env.NODE_ENV !== "production" ? {
77
85
  image: _propTypes.default.string,
86
+ mode: _propTypes.default.string,
87
+ description: _propTypes.default.string,
78
88
  title: _cardContent.default.propTypes.title,
79
89
  author: _cardContent.default.propTypes.author,
80
90
  progress: _cardContent.default.propTypes.progress,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Hero","props","context","skin","image","title","author","progress","onClick","submitValue","primaryColor","cardStyle","classnames","style","hero","lazy","imageWrapper","backgroundColor","backgroundImage","MODES","HERO","heroButtonWrapper","heroButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","CardContentInfo","Button"],"sources":["../../../src/molecule/hero/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Button from '../../atom/button';\nimport CardContentInfo, {MODES} from '../card-content';\nimport style from './style.css';\n\nconst Hero = (props, context) => {\n const {skin} = context;\n const {image, title, author, progress, onClick, submitValue} = props;\n\n const primaryColor = get('common.primary', skin);\n const cardStyle = classnames(style.hero, title ? null : style.lazy);\n\n return (\n <div className={cardStyle} data-name=\"hero\">\n <div className={style.imageWrapper}>\n <div\n data-name=\"cover\"\n className={style.image}\n style={{\n backgroundColor: primaryColor,\n backgroundImage: image ? `url('${image}')` : 'none'\n }}\n />\n </div>\n <CardContentInfo mode={MODES.HERO} author={author} progress={progress} title={title} />\n <div className={style.heroButtonWrapper}>\n <Button\n type=\"link\"\n data-name=\"hero-button\"\n onClick={onClick}\n submitValue={submitValue}\n className={style.heroButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n </div>\n );\n};\n\nHero.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nHero.propTypes = {\n image: PropTypes.string,\n title: CardContentInfo.propTypes.title,\n author: CardContentInfo.propTypes.author,\n progress: CardContentInfo.propTypes.progress,\n onClick: Button.propTypes.onClick,\n submitValue: Button.propTypes.submitValue\n};\n\nexport default Hero;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,IAAI,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC/B,MAAM;IAACC;EAAD,IAASD,OAAf;EACA,MAAM;IAACE,KAAD;IAAQC,KAAR;IAAeC,MAAf;IAAuBC,QAAvB;IAAiCC,OAAjC;IAA0CC;EAA1C,IAAyDR,KAA/D;EAEA,MAAMS,YAAY,GAAG,mBAAI,gBAAJ,EAAsBP,IAAtB,CAArB;EACA,MAAMQ,SAAS,GAAG,IAAAC,mBAAA,EAAWC,cAAA,CAAMC,IAAjB,EAAuBT,KAAK,GAAG,IAAH,GAAUQ,cAAA,CAAME,IAA5C,CAAlB;EAEA,oBACE;IAAK,SAAS,EAAEJ,SAAhB;IAA2B,aAAU;EAArC,gBACE;IAAK,SAAS,EAAEE,cAAA,CAAMG;EAAtB,gBACE;IACE,aAAU,OADZ;IAEE,SAAS,EAAEH,cAAA,CAAMT,KAFnB;IAGE,KAAK,EAAE;MACLa,eAAe,EAAEP,YADZ;MAELQ,eAAe,EAAEd,KAAK,GAAI,QAAOA,KAAM,IAAjB,GAAuB;IAFxC;EAHT,EADF,CADF,eAWE,6BAAC,oBAAD;IAAiB,IAAI,EAAEe,kBAAA,CAAMC,IAA7B;IAAmC,MAAM,EAAEd,MAA3C;IAAmD,QAAQ,EAAEC,QAA7D;IAAuE,KAAK,EAAEF;EAA9E,EAXF,eAYE;IAAK,SAAS,EAAEQ,cAAA,CAAMQ;EAAtB,gBACE,6BAAC,eAAD;IACE,IAAI,EAAC,MADP;IAEE,aAAU,aAFZ;IAGE,OAAO,EAAEb,OAHX;IAIE,WAAW,EAAEC,WAJf;IAKE,SAAS,EAAEI,cAAA,CAAMS,UALnB;IAME,KAAK,EAAE;MAACL,eAAe,EAAEP;IAAlB;EANT,EADF,CAZF,CADF;AAyBD,CAhCD;;AAkCAV,IAAI,CAACuB,YAAL,GAAoB;EAClBpB,IAAI,EAAEqB,iBAAA,CAASC,iBAAT,CAA2BtB;AADf,CAApB;AAIAH,IAAI,CAAC0B,SAAL,2CAAiB;EACftB,KAAK,EAAEuB,kBAAA,CAAUC,MADF;EAEfvB,KAAK,EAAEwB,oBAAA,CAAgBH,SAAhB,CAA0BrB,KAFlB;EAGfC,MAAM,EAAEuB,oBAAA,CAAgBH,SAAhB,CAA0BpB,MAHnB;EAIfC,QAAQ,EAAEsB,oBAAA,CAAgBH,SAAhB,CAA0BnB,QAJrB;EAKfC,OAAO,EAAEsB,eAAA,CAAOJ,SAAP,CAAiBlB,OALX;EAMfC,WAAW,EAAEqB,eAAA,CAAOJ,SAAP,CAAiBjB;AANf,CAAjB;eASeT,I"}
1
+ {"version":3,"file":"index.js","names":["Hero","props","context","skin","image","title","author","progress","onClick","submitValue","description","mode","MODES","HERO","primaryColor","cardStyle","classnames","style","hero","lazy","imageWrapper","backgroundColor","backgroundImage","infoWrapper","heroButtonWrapper","heroButton","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","CardContentInfo","Button"],"sources":["../../../src/molecule/hero/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Button from '../../atom/button';\nimport CardContentInfo, {MODES} from '../card-content';\nimport style from './style.css';\n\nconst Hero = (props, context) => {\n const {skin} = context;\n const {\n image,\n title,\n author,\n progress,\n onClick,\n submitValue,\n description,\n mode = MODES.HERO\n } = props;\n\n const primaryColor = get('common.primary', skin);\n const cardStyle = classnames(style.hero, title ? null : style.lazy);\n\n return (\n <div className={cardStyle} data-name=\"hero\">\n <div className={style.imageWrapper}>\n <div\n data-name=\"cover\"\n className={style.image}\n style={{\n backgroundColor: primaryColor,\n backgroundImage: image ? `url('${image}')` : 'none'\n }}\n />\n </div>\n {mode === MODES.HERO ? (\n <CardContentInfo mode={MODES.HERO} author={author} progress={progress} title={title} />\n ) : (\n <div className={style.infoWrapper}>\n <h1 className={style.title}>{title}</h1>\n <p className={style.description}>{description}</p>\n </div>\n )}\n {mode === MODES.HERO ? (\n <div className={style.heroButtonWrapper}>\n <Button\n type=\"link\"\n data-name=\"hero-button\"\n onClick={onClick}\n submitValue={submitValue}\n className={style.heroButton}\n style={{backgroundColor: primaryColor}}\n />\n </div>\n ) : null}\n </div>\n );\n};\n\nHero.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nHero.propTypes = {\n image: PropTypes.string,\n mode: PropTypes.string,\n description: PropTypes.string,\n title: CardContentInfo.propTypes.title,\n author: CardContentInfo.propTypes.author,\n progress: CardContentInfo.propTypes.progress,\n onClick: Button.propTypes.onClick,\n submitValue: Button.propTypes.submitValue\n};\n\nexport default Hero;\n"],"mappings":";;;;;;;AAAA;;AACA;;AACA;;AAEA;;AACA;;AACA;;AACA;;;;;;;;AAEA,MAAMA,IAAI,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EAC/B,MAAM;IAACC;EAAD,IAASD,OAAf;EACA,MAAM;IACJE,KADI;IAEJC,KAFI;IAGJC,MAHI;IAIJC,QAJI;IAKJC,OALI;IAMJC,WANI;IAOJC,WAPI;IAQJC,IAAI,GAAGC,kBAAA,CAAMC;EART,IASFZ,KATJ;EAWA,MAAMa,YAAY,GAAG,mBAAI,gBAAJ,EAAsBX,IAAtB,CAArB;EACA,MAAMY,SAAS,GAAG,IAAAC,mBAAA,EAAWC,cAAA,CAAMC,IAAjB,EAAuBb,KAAK,GAAG,IAAH,GAAUY,cAAA,CAAME,IAA5C,CAAlB;EAEA,oBACE;IAAK,SAAS,EAAEJ,SAAhB;IAA2B,aAAU;EAArC,gBACE;IAAK,SAAS,EAAEE,cAAA,CAAMG;EAAtB,gBACE;IACE,aAAU,OADZ;IAEE,SAAS,EAAEH,cAAA,CAAMb,KAFnB;IAGE,KAAK,EAAE;MACLiB,eAAe,EAAEP,YADZ;MAELQ,eAAe,EAAElB,KAAK,GAAI,QAAOA,KAAM,IAAjB,GAAuB;IAFxC;EAHT,EADF,CADF,EAWGO,IAAI,KAAKC,kBAAA,CAAMC,IAAf,gBACC,6BAAC,oBAAD;IAAiB,IAAI,EAAED,kBAAA,CAAMC,IAA7B;IAAmC,MAAM,EAAEP,MAA3C;IAAmD,QAAQ,EAAEC,QAA7D;IAAuE,KAAK,EAAEF;EAA9E,EADD,gBAGC;IAAK,SAAS,EAAEY,cAAA,CAAMM;EAAtB,gBACE;IAAI,SAAS,EAAEN,cAAA,CAAMZ;EAArB,GAA6BA,KAA7B,CADF,eAEE;IAAG,SAAS,EAAEY,cAAA,CAAMP;EAApB,GAAkCA,WAAlC,CAFF,CAdJ,EAmBGC,IAAI,KAAKC,kBAAA,CAAMC,IAAf,gBACC;IAAK,SAAS,EAAEI,cAAA,CAAMO;EAAtB,gBACE,6BAAC,eAAD;IACE,IAAI,EAAC,MADP;IAEE,aAAU,aAFZ;IAGE,OAAO,EAAEhB,OAHX;IAIE,WAAW,EAAEC,WAJf;IAKE,SAAS,EAAEQ,cAAA,CAAMQ,UALnB;IAME,KAAK,EAAE;MAACJ,eAAe,EAAEP;IAAlB;EANT,EADF,CADD,GAWG,IA9BN,CADF;AAkCD,CAlDD;;AAoDAd,IAAI,CAAC0B,YAAL,GAAoB;EAClBvB,IAAI,EAAEwB,iBAAA,CAASC,iBAAT,CAA2BzB;AADf,CAApB;AAIAH,IAAI,CAAC6B,SAAL,2CAAiB;EACfzB,KAAK,EAAE0B,kBAAA,CAAUC,MADF;EAEfpB,IAAI,EAAEmB,kBAAA,CAAUC,MAFD;EAGfrB,WAAW,EAAEoB,kBAAA,CAAUC,MAHR;EAIf1B,KAAK,EAAE2B,oBAAA,CAAgBH,SAAhB,CAA0BxB,KAJlB;EAKfC,MAAM,EAAE0B,oBAAA,CAAgBH,SAAhB,CAA0BvB,MALnB;EAMfC,QAAQ,EAAEyB,oBAAA,CAAgBH,SAAhB,CAA0BtB,QANrB;EAOfC,OAAO,EAAEyB,eAAA,CAAOJ,SAAP,CAAiBrB,OAPX;EAQfC,WAAW,EAAEwB,eAAA,CAAOJ,SAAP,CAAiBpB;AARf,CAAjB;eAWeT,I"}
@@ -156,3 +156,45 @@
156
156
  opacity: 0;
157
157
  }
158
158
  }
159
+
160
+ .infoWrapper {
161
+ display: flex;
162
+ flex-direction: column;
163
+ position: relative;
164
+ justify-content: center;
165
+ padding: 0 40px;
166
+ width: 100%;
167
+ box-sizing: border-box;
168
+ color: white;
169
+ align-self: center;
170
+ }
171
+
172
+ .title {
173
+ font-family: Gilroy;
174
+ font-size: 40px;
175
+ font-weight: 600;
176
+ line-height: 48px;
177
+ letter-spacing: 0px;
178
+ text-align: center;
179
+ overflow: hidden;
180
+ user-select: none;
181
+ margin: 0;
182
+ align-self: center;
183
+ }
184
+
185
+ .description {
186
+ text-align: center;
187
+ margin-top: 12px;
188
+ font-size: 17px;
189
+ font-family: Gilroy;
190
+ font-size: 16px;
191
+ font-weight: 400;
192
+ line-height: 24px;
193
+ letter-spacing: 0px;
194
+ overflow: hidden;
195
+ user-select: none;
196
+ max-width: 650px;
197
+ padding: 0;
198
+ margin: 0;
199
+ align-self: center;
200
+ }
@@ -0,0 +1,18 @@
1
+ export default MenuLinks;
2
+ declare function MenuLinks({ items, title }: {
3
+ items: any;
4
+ title: any;
5
+ }): JSX.Element;
6
+ declare namespace MenuLinks {
7
+ namespace propTypes {
8
+ const title: PropTypes.Requireable<string>;
9
+ const items: PropTypes.Requireable<(PropTypes.InferProps<{
10
+ text: PropTypes.Requireable<string>;
11
+ isSelected: PropTypes.Requireable<boolean>;
12
+ onclick: PropTypes.Requireable<(...args: any[]) => any>;
13
+ isShowMoreItem: PropTypes.Requireable<boolean>;
14
+ }> | null | undefined)[]>;
15
+ }
16
+ }
17
+ import PropTypes from "prop-types";
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/menu-links/index.js"],"names":[],"mappings":";AAKA;;;gBAwBC"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _classnames = _interopRequireDefault(require("classnames"));
11
+
12
+ var _style = _interopRequireDefault(require("./style.css"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ const MenuLinks = ({
17
+ items,
18
+ title
19
+ }) => {
20
+ return /*#__PURE__*/_react.default.createElement("div", {
21
+ className: _style.default.container
22
+ }, /*#__PURE__*/_react.default.createElement("h2", {
23
+ className: _style.default.title
24
+ }, title), /*#__PURE__*/_react.default.createElement("ul", {
25
+ className: _style.default.list,
26
+ "data-name": "menu-links"
27
+ }, items.map((item, index) => {
28
+ const {
29
+ onClick
30
+ } = item;
31
+ return /*#__PURE__*/_react.default.createElement("li", {
32
+ key: `menu-link-item-${index}`,
33
+ className: _style.default.item
34
+ }, /*#__PURE__*/_react.default.createElement("div", {
35
+ onClick: onClick,
36
+ className: item.isSelected ? _style.default.border : null
37
+ }), /*#__PURE__*/_react.default.createElement("span", {
38
+ className: (0, _classnames.default)(item.isShowMoreItem ? _style.default.showMoreItem : _style.default.itemText, item.isSelected ? _style.default.selectedItem : undefined)
39
+ }, item.text));
40
+ })));
41
+ };
42
+
43
+ MenuLinks.propTypes = process.env.NODE_ENV !== "production" ? {
44
+ title: _propTypes.default.string,
45
+ items: _propTypes.default.arrayOf(_propTypes.default.shape({
46
+ text: _propTypes.default.string,
47
+ isSelected: _propTypes.default.bool,
48
+ onclick: _propTypes.default.func,
49
+ isShowMoreItem: _propTypes.default.bool
50
+ }))
51
+ } : {};
52
+ var _default = MenuLinks;
53
+ exports.default = _default;
54
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["MenuLinks","items","title","styles","container","list","map","item","index","onClick","isSelected","border","classnames","isShowMoreItem","showMoreItem","itemText","selectedItem","undefined","text","propTypes","PropTypes","string","arrayOf","shape","bool","onclick","func"],"sources":["../../../src/molecule/menu-links/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport styles from './style.css';\n\nconst MenuLinks = ({items, title}) => {\n return (\n <div className={styles.container}>\n <h2 className={styles.title}>{title}</h2>\n <ul className={styles.list} data-name=\"menu-links\">\n {items.map((item, index) => {\n const {onClick} = item;\n return (\n <li key={`menu-link-item-${index}`} className={styles.item}>\n <div onClick={onClick} className={item.isSelected ? styles.border : null} />\n <span\n className={classnames(\n item.isShowMoreItem ? styles.showMoreItem : styles.itemText,\n item.isSelected ? styles.selectedItem : undefined\n )}\n >\n {item.text}\n </span>\n </li>\n );\n })}\n </ul>\n </div>\n );\n};\n\nMenuLinks.propTypes = {\n title: PropTypes.string,\n items: PropTypes.arrayOf(\n PropTypes.shape({\n text: PropTypes.string,\n isSelected: PropTypes.bool,\n onclick: PropTypes.func,\n isShowMoreItem: PropTypes.bool\n })\n )\n};\n\nexport default MenuLinks;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;EAACC,KAAD;EAAQC;AAAR,CAAD,KAAoB;EACpC,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAI,SAAS,EAAED,cAAA,CAAOD;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAI,SAAS,EAAEC,cAAA,CAAOE,IAAtB;IAA4B,aAAU;EAAtC,GACGJ,KAAK,CAACK,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,KAAiB;IAC1B,MAAM;MAACC;IAAD,IAAYF,IAAlB;IACA,oBACE;MAAI,GAAG,EAAG,kBAAiBC,KAAM,EAAjC;MAAoC,SAAS,EAAEL,cAAA,CAAOI;IAAtD,gBACE;MAAK,OAAO,EAAEE,OAAd;MAAuB,SAAS,EAAEF,IAAI,CAACG,UAAL,GAAkBP,cAAA,CAAOQ,MAAzB,GAAkC;IAApE,EADF,eAEE;MACE,SAAS,EAAE,IAAAC,mBAAA,EACTL,IAAI,CAACM,cAAL,GAAsBV,cAAA,CAAOW,YAA7B,GAA4CX,cAAA,CAAOY,QAD1C,EAETR,IAAI,CAACG,UAAL,GAAkBP,cAAA,CAAOa,YAAzB,GAAwCC,SAF/B;IADb,GAMGV,IAAI,CAACW,IANR,CAFF,CADF;EAaD,CAfA,CADH,CAFF,CADF;AAuBD,CAxBD;;AA0BAlB,SAAS,CAACmB,SAAV,2CAAsB;EACpBjB,KAAK,EAAEkB,kBAAA,CAAUC,MADG;EAEpBpB,KAAK,EAAEmB,kBAAA,CAAUE,OAAV,CACLF,kBAAA,CAAUG,KAAV,CAAgB;IACdL,IAAI,EAAEE,kBAAA,CAAUC,MADF;IAEdX,UAAU,EAAEU,kBAAA,CAAUI,IAFR;IAGdC,OAAO,EAAEL,kBAAA,CAAUM,IAHL;IAIdb,cAAc,EAAEO,kBAAA,CAAUI;EAJZ,CAAhB,CADK;AAFa,CAAtB;eAYexB,S"}
@@ -0,0 +1,87 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value mobile from breakpoints;
4
+ @value tablet from breakpoints;
5
+ @value cm_primary_blue from colors;
6
+ @value cm_grey_500 from colors;
7
+ @value cm_grey_800 from colors;
8
+
9
+ .container {
10
+ display: flex;
11
+ flex-direction: column;
12
+ align-items: flex-start;
13
+ padding: 40px 40px 40px 0px;
14
+ gap: 24px;
15
+ background: #FFFFFF;
16
+ border-radius: 10px;
17
+ /* Inside auto layout */
18
+ flex: none;
19
+ order: 0;
20
+ flex-grow: 0;
21
+ }
22
+
23
+ .title {
24
+ padding: 0px 0px 0px 40px;
25
+ margin: 0;
26
+ font-family: 'Gilroy';
27
+ font-style: normal;
28
+ font-weight: 600;
29
+ font-size: 24px;
30
+ line-height: 32px;
31
+ order: 0;
32
+ flex-grow: 0;
33
+ z-index: 0;
34
+ color: cm_grey_500;
35
+ }
36
+
37
+ .list {
38
+ list-style: none;
39
+ cursor: pointer;
40
+ margin: 0;
41
+ padding: 0;
42
+ }
43
+
44
+ .item {
45
+ display: flex;
46
+ flex-direction: row;
47
+ gap: 36px;
48
+ margin-bottom: 16px;
49
+ }
50
+
51
+ .itemText {
52
+ font-family: Gilroy;
53
+ font-size: 20px;
54
+ font-weight: 500;
55
+ line-height: 28px;
56
+ letter-spacing: 0px;
57
+ font-style: normal;
58
+ text-align: left;
59
+ margin: 0;
60
+ color: cm_grey_800;
61
+ }
62
+
63
+ .border {
64
+ width: 4px;
65
+ font-weight: inherit;
66
+ background-color: cm_primary_blue;
67
+ flex-shrink: 0;
68
+ min-width: 4px;
69
+ flex-basis: 4px;
70
+ }
71
+
72
+ .showMoreItem {
73
+ font-family: 'Gilroy';
74
+ font-style: normal;
75
+ font-weight: 200;
76
+ font-size: 24px;
77
+ line-height: 32px;
78
+ color: cm_primary_blue;
79
+ }
80
+
81
+ .selectedItem {
82
+ color: cm_primary_blue;
83
+ }
84
+
85
+ .item:hover{
86
+ text-decoration: underline;
87
+ }
@@ -0,0 +1,18 @@
1
+ /// <reference path="../../../src/globals.d.ts" />
2
+ export namespace ICONS {
3
+ export { ArrowIcon as arrow };
4
+ }
5
+ export default PrivacyPolicyContact;
6
+ import { NovaCompositionNavigationArrowDown as ArrowIcon } from "@coorpacademy/nova-icons";
7
+ declare function PrivacyPolicyContact({ title, content }: {
8
+ title: any;
9
+ content: any;
10
+ }): JSX.Element;
11
+ declare namespace PrivacyPolicyContact {
12
+ namespace propTypes {
13
+ const title: PropTypes.Requireable<string>;
14
+ const content: PropTypes.Requireable<string>;
15
+ }
16
+ }
17
+ import PropTypes from "prop-types";
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-contact/index.js"],"names":[],"mappings":";;;;;;AASA;;;gBAWC"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = exports.ICONS = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _novaIcons = require("@coorpacademy/nova-icons");
11
+
12
+ var _style = _interopRequireDefault(require("./style.css"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ const ICONS = {
17
+ arrow: _novaIcons.NovaCompositionNavigationArrowDown
18
+ };
19
+ exports.ICONS = ICONS;
20
+
21
+ const PrivacyPolicyContact = ({
22
+ title,
23
+ content
24
+ }) => {
25
+ return /*#__PURE__*/_react.default.createElement("div", {
26
+ className: _style.default.container
27
+ }, /*#__PURE__*/_react.default.createElement("h3", {
28
+ className: _style.default.title // eslint-disable-next-line react/no-danger
29
+ ,
30
+ dangerouslySetInnerHTML: {
31
+ __html: title
32
+ }
33
+ }), /*#__PURE__*/_react.default.createElement("p", {
34
+ className: _style.default.content
35
+ }, content));
36
+ };
37
+
38
+ PrivacyPolicyContact.propTypes = process.env.NODE_ENV !== "production" ? {
39
+ title: _propTypes.default.string,
40
+ content: _propTypes.default.string
41
+ } : {};
42
+ var _default = PrivacyPolicyContact;
43
+ exports.default = _default;
44
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["ICONS","arrow","ArrowIcon","PrivacyPolicyContact","title","content","styles","container","__html","propTypes","PropTypes","string"],"sources":["../../../src/molecule/privacy-policy-contact/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {NovaCompositionNavigationArrowDown as ArrowIcon} from '@coorpacademy/nova-icons';\nimport styles from './style.css';\n\nexport const ICONS = {\n arrow: ArrowIcon\n};\n\nconst PrivacyPolicyContact = ({title, content}) => {\n return (\n <div className={styles.container}>\n <h3\n className={styles.title}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: title}}\n />\n <p className={styles.content}>{content}</p>\n </div>\n );\n};\n\nPrivacyPolicyContact.propTypes = {\n title: PropTypes.string,\n content: PropTypes.string\n};\n\nexport default PrivacyPolicyContact;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;AAEO,MAAMA,KAAK,GAAG;EACnBC,KAAK,EAAEC;AADY,CAAd;;;AAIP,MAAMC,oBAAoB,GAAG,CAAC;EAACC,KAAD;EAAQC;AAAR,CAAD,KAAsB;EACjD,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IACE,SAAS,EAAED,cAAA,CAAOF,KADpB,CAEE;IAFF;IAGE,uBAAuB,EAAE;MAACI,MAAM,EAAEJ;IAAT;EAH3B,EADF,eAME;IAAG,SAAS,EAAEE,cAAA,CAAOD;EAArB,GAA+BA,OAA/B,CANF,CADF;AAUD,CAXD;;AAaAF,oBAAoB,CAACM,SAArB,2CAAiC;EAC/BL,KAAK,EAAEM,kBAAA,CAAUC,MADc;EAE/BN,OAAO,EAAEK,kBAAA,CAAUC;AAFY,CAAjC;eAKeR,oB"}
@@ -0,0 +1,37 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value mobile from breakpoints;
4
+ @value tablet from breakpoints;
5
+ @value cm_primary_blue from colors;
6
+ @value cm_grey_500 from colors;
7
+ @value cm_grey_400 from colors;
8
+ @value white from colors;
9
+
10
+ .container {
11
+ padding: 16px 14px;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ background-color: white;
16
+ }
17
+
18
+ .title {
19
+ font-family: Gilroy;
20
+ font-size: 16px;
21
+ font-weight: 400;
22
+ line-height: 24px;
23
+ letter-spacing: 0em;
24
+ text-align: center;
25
+ margin: 0;
26
+ }
27
+
28
+ .content {
29
+ font-family: Gilroy;
30
+ font-size: 14px;
31
+ font-style: italic;
32
+ font-weight: 400;
33
+ line-height: 22px;
34
+ letter-spacing: 0em;
35
+ text-align: center;
36
+ margin: 0;
37
+ }
@@ -0,0 +1,30 @@
1
+ export default PrivacyPolicyDownload;
2
+ declare function PrivacyPolicyDownload({ title, downloadButton, content }: {
3
+ title: any;
4
+ downloadButton: any;
5
+ content: any;
6
+ }): JSX.Element;
7
+ declare namespace PrivacyPolicyDownload {
8
+ namespace propTypes {
9
+ const title: PropTypes.Requireable<string>;
10
+ const content: PropTypes.Requireable<string>;
11
+ const downloadButton: PropTypes.Requireable<PropTypes.InferProps<{
12
+ color: any;
13
+ submitValue: PropTypes.Requireable<string>;
14
+ disabled: PropTypes.Requireable<boolean>;
15
+ isLinkDisabled: PropTypes.Requireable<boolean>;
16
+ href: PropTypes.Requireable<string>;
17
+ download: PropTypes.Requireable<boolean>;
18
+ target: PropTypes.Requireable<string>;
19
+ type: PropTypes.Requireable<string>;
20
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
22
+ className: PropTypes.Requireable<string>;
23
+ buttonContentClassName: PropTypes.Requireable<string>;
24
+ style: PropTypes.Requireable<PropTypes.InferProps<{}>>;
25
+ 'data-name': PropTypes.Requireable<string>;
26
+ }>>;
27
+ }
28
+ }
29
+ import PropTypes from "prop-types";
30
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/molecule/privacy-policy-download/index.js"],"names":[],"mappings":";AAKA;;;;gBAQC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _propTypes = _interopRequireDefault(require("prop-types"));
9
+
10
+ var _button = _interopRequireDefault(require("../../atom/button"));
11
+
12
+ var _style = _interopRequireDefault(require("./style.css"));
13
+
14
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
+
16
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
17
+
18
+ const PrivacyPolicyDownload = ({
19
+ title,
20
+ downloadButton,
21
+ content
22
+ }) => {
23
+ return /*#__PURE__*/_react.default.createElement("div", {
24
+ className: _style.default.container
25
+ }, /*#__PURE__*/_react.default.createElement("h3", {
26
+ className: _style.default.title
27
+ }, title), /*#__PURE__*/_react.default.createElement("p", {
28
+ className: _style.default.content
29
+ }, content), /*#__PURE__*/_react.default.createElement(_button.default, _extends({}, downloadButton, {
30
+ className: _style.default.downloadButton
31
+ })));
32
+ };
33
+
34
+ PrivacyPolicyDownload.propTypes = process.env.NODE_ENV !== "production" ? {
35
+ title: _propTypes.default.string,
36
+ content: _propTypes.default.string,
37
+ downloadButton: _propTypes.default.shape(_button.default.propTypes)
38
+ } : {};
39
+ var _default = PrivacyPolicyDownload;
40
+ exports.default = _default;
41
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["PrivacyPolicyDownload","title","downloadButton","content","styles","container","propTypes","PropTypes","string","shape","Button"],"sources":["../../../src/molecule/privacy-policy-download/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Button from '../../atom/button';\nimport styles from './style.css';\n\nconst PrivacyPolicyDownload = ({title, downloadButton, content}) => {\n return (\n <div className={styles.container}>\n <h3 className={styles.title}>{title}</h3>\n <p className={styles.content}>{content}</p>\n <Button {...downloadButton} className={styles.downloadButton} />\n </div>\n );\n};\n\nPrivacyPolicyDownload.propTypes = {\n title: PropTypes.string,\n content: PropTypes.string,\n downloadButton: PropTypes.shape(Button.propTypes)\n};\n\nexport default PrivacyPolicyDownload;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,qBAAqB,GAAG,CAAC;EAACC,KAAD;EAAQC,cAAR;EAAwBC;AAAxB,CAAD,KAAsC;EAClE,oBACE;IAAK,SAAS,EAAEC,cAAA,CAAOC;EAAvB,gBACE;IAAI,SAAS,EAAED,cAAA,CAAOH;EAAtB,GAA8BA,KAA9B,CADF,eAEE;IAAG,SAAS,EAAEG,cAAA,CAAOD;EAArB,GAA+BA,OAA/B,CAFF,eAGE,6BAAC,eAAD,eAAYD,cAAZ;IAA4B,SAAS,EAAEE,cAAA,CAAOF;EAA9C,GAHF,CADF;AAOD,CARD;;AAUAF,qBAAqB,CAACM,SAAtB,2CAAkC;EAChCL,KAAK,EAAEM,kBAAA,CAAUC,MADe;EAEhCL,OAAO,EAAEI,kBAAA,CAAUC,MAFa;EAGhCN,cAAc,EAAEK,kBAAA,CAAUE,KAAV,CAAgBC,eAAA,CAAOJ,SAAvB;AAHgB,CAAlC;eAMeN,qB"}
@@ -0,0 +1,42 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value mobile from breakpoints;
4
+ @value tablet from breakpoints;
5
+ @value cm_primary_blue from colors;
6
+ @value white from colors;
7
+ @value cm_grey_500 from colors;
8
+ @value cm_grey_400 from colors;
9
+
10
+ .container {
11
+ padding: 40px;
12
+ background-color: white;
13
+ }
14
+
15
+ .title {
16
+ font-family: Gilroy;
17
+ font-size: 24px;
18
+ font-weight: 600;
19
+ line-height: 32px;
20
+ letter-spacing: 0em;
21
+ text-align: left;
22
+ color: cm_grey_500;
23
+ margin: 0px 0px 8px 0px;
24
+
25
+ }
26
+
27
+ .content {
28
+ font-family: Gilroy;
29
+ font-size: 16px;
30
+ font-weight: 500;
31
+ line-height: 24px;
32
+ letter-spacing: 0px;
33
+ text-align: left;
34
+ color: cm_grey_400;
35
+ margin: 0px 0px 24px 0px;
36
+ }
37
+
38
+ .downloadButton {
39
+ height: 48px;
40
+ width: 152px;
41
+ border-radius: 10px;
42
+ }
@@ -105,6 +105,8 @@ declare namespace SetupSlide {
105
105
  modified: PropTypes.Requireable<boolean>;
106
106
  disabled: PropTypes.Requireable<boolean>;
107
107
  children: PropTypes.Requireable<(...args: any[]) => any>;
108
+ pdfButtonLabel: PropTypes.Requireable<string>;
109
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
108
110
  }> | PropTypes.InferProps<{
109
111
  type: PropTypes.Requireable<string>;
110
112
  title: PropTypes.Validator<string>;
@@ -118,6 +118,8 @@ declare namespace SetupSlider {
118
118
  modified: PropTypes.Requireable<boolean>;
119
119
  disabled: PropTypes.Requireable<boolean>;
120
120
  children: PropTypes.Requireable<(...args: any[]) => any>;
121
+ pdfButtonLabel: PropTypes.Requireable<string>;
122
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
121
123
  }> | PropTypes.InferProps<{
122
124
  type: PropTypes.Requireable<string>;
123
125
  title: PropTypes.Validator<string>;
@@ -65,6 +65,8 @@ declare namespace TitleAndCheckBoxWrapper {
65
65
  modified: PropTypes.Requireable<boolean>;
66
66
  disabled: PropTypes.Requireable<boolean>;
67
67
  children: PropTypes.Requireable<(...args: any[]) => any>;
68
+ pdfButtonLabel: PropTypes.Requireable<string>;
69
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
68
70
  }> | null | undefined)[]>;
69
71
  'data-name': PropTypes.Requireable<string>;
70
72
  }> | null | undefined>>;
@@ -178,6 +178,8 @@ declare namespace BrandForm {
178
178
  modified: PropTypes.Requireable<boolean>;
179
179
  disabled: PropTypes.Requireable<boolean>;
180
180
  children: PropTypes.Requireable<(...args: any[]) => any>;
181
+ pdfButtonLabel: PropTypes.Requireable<string>;
182
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
181
183
  }> | PropTypes.InferProps<{
182
184
  type: PropTypes.Requireable<string>;
183
185
  tabProps: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -296,6 +298,8 @@ declare namespace BrandForm {
296
298
  modified: PropTypes.Requireable<boolean>;
297
299
  disabled: PropTypes.Requireable<boolean>;
298
300
  children: PropTypes.Requireable<(...args: any[]) => any>;
301
+ pdfButtonLabel: PropTypes.Requireable<string>;
302
+ pdfButtonAriaLabel: PropTypes.Requireable<string>;
299
303
  }> | PropTypes.InferProps<{
300
304
  type: PropTypes.Requireable<string>;
301
305
  title: PropTypes.Validator<string>;
@@ -31,6 +31,7 @@ declare namespace ListItem {
31
31
  title: PropTypes.Validator<string>;
32
32
  order: PropTypes.Requireable<number>;
33
33
  'aria-label': PropTypes.Requireable<string>;
34
+ contentType: PropTypes.Requireable<string>;
34
35
  };
35
36
  }
36
37
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAQA,mDAqCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/list-item/index.js"],"names":[],"mappings":";AAQA,mDA4CC"}
@@ -27,7 +27,8 @@ const ListItem = props => {
27
27
  tags,
28
28
  title,
29
29
  order,
30
- 'aria-label': ariaLabel
30
+ 'aria-label': ariaLabel,
31
+ contentType
31
32
  } = props;
32
33
 
33
34
  const tagsView = _map2.default.convert({
@@ -42,7 +43,7 @@ const ListItem = props => {
42
43
 
43
44
  return /*#__PURE__*/_react.default.createElement("div", {
44
45
  className: _style.default.wrapper
45
- }, isPublished ? /*#__PURE__*/_react.default.createElement("div", {
46
+ }, isPublished && contentType === 'certification' ? /*#__PURE__*/_react.default.createElement("div", {
46
47
  className: _style.default.orderWrapper
47
48
  }, /*#__PURE__*/_react.default.createElement("div", {
48
49
  className: _style.default.order,
@@ -89,7 +90,8 @@ ListItem.propTypes = process.env.NODE_ENV !== "production" ? {
89
90
  })),
90
91
  title: _propTypes.default.string.isRequired,
91
92
  order: _propTypes.default.number,
92
- 'aria-label': _propTypes.default.string
93
+ 'aria-label': _propTypes.default.string,
94
+ contentType: _propTypes.default.string
93
95
  } : {};
94
96
  var _default = ListItem;
95
97
  exports.default = _default;