@coorpacademy/components 11.4.5-alpha.37 → 11.4.5-alpha.38.37

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 (132) hide show
  1. package/es/atom/review-presentation/index.d.ts.map +1 -1
  2. package/es/atom/review-presentation/index.js +75 -18
  3. package/es/atom/review-presentation/index.js.map +1 -1
  4. package/es/atom/review-presentation/prop-types.d.ts +4 -0
  5. package/es/atom/review-presentation/prop-types.d.ts.map +1 -1
  6. package/es/atom/review-presentation/prop-types.js +2 -1
  7. package/es/atom/review-presentation/prop-types.js.map +1 -1
  8. package/es/atom/review-presentation/style.css +5 -14
  9. package/es/atom/select/index.d.ts +2 -0
  10. package/es/atom/select/index.d.ts.map +1 -1
  11. package/es/atom/select/index.js +26 -10
  12. package/es/atom/select/index.js.map +1 -1
  13. package/es/atom/select/style.css +6 -6
  14. package/es/atom/select/test.html +44 -0
  15. package/es/molecule/answer/index.d.ts.map +1 -1
  16. package/es/molecule/answer/index.js +6 -16
  17. package/es/molecule/answer/index.js.map +1 -1
  18. package/es/molecule/brand-form-group/index.d.ts +4 -0
  19. package/es/molecule/filters/filters-wrapper.d.ts +0 -1
  20. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  21. package/es/molecule/filters/filters-wrapper.js +5 -9
  22. package/es/molecule/filters/filters-wrapper.js.map +1 -1
  23. package/es/molecule/filters/index.d.ts +2 -1
  24. package/es/molecule/filters/index.d.ts.map +1 -1
  25. package/es/molecule/filters/index.js +3 -6
  26. package/es/molecule/filters/index.js.map +1 -1
  27. package/es/molecule/questions/drop-down/index.d.ts +0 -1
  28. package/es/molecule/questions/drop-down/index.d.ts.map +1 -1
  29. package/es/molecule/questions/drop-down/index.js +5 -9
  30. package/es/molecule/questions/drop-down/index.js.map +1 -1
  31. package/es/molecule/questions/qcm/index.d.ts +0 -1
  32. package/es/molecule/questions/qcm/index.d.ts.map +1 -1
  33. package/es/molecule/questions/qcm/index.js +5 -9
  34. package/es/molecule/questions/qcm/index.js.map +1 -1
  35. package/es/molecule/questions/qcm-drag/index.d.ts +1 -3
  36. package/es/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  37. package/es/molecule/questions/qcm-drag/index.js +5 -9
  38. package/es/molecule/questions/qcm-drag/index.js.map +1 -1
  39. package/es/molecule/questions/qcm-graphic/index.d.ts +0 -1
  40. package/es/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  41. package/es/molecule/questions/qcm-graphic/index.js +5 -9
  42. package/es/molecule/questions/qcm-graphic/index.js.map +1 -1
  43. package/es/molecule/questions/question-range/index.d.ts +0 -1
  44. package/es/molecule/questions/question-range/index.d.ts.map +1 -1
  45. package/es/molecule/questions/question-range/index.js +6 -10
  46. package/es/molecule/questions/question-range/index.js.map +1 -1
  47. package/es/molecule/questions/template/index.d.ts +2 -6
  48. package/es/molecule/questions/template/index.d.ts.map +1 -1
  49. package/es/molecule/questions/template/index.js +5 -9
  50. package/es/molecule/questions/template/index.js.map +1 -1
  51. package/es/molecule/setup-slide/index.d.ts +2 -0
  52. package/es/molecule/setup-slider/index.d.ts +2 -0
  53. package/es/organism/brand-form/index.d.ts +4 -0
  54. package/es/organism/user-preferences/index.d.ts +0 -1
  55. package/es/organism/user-preferences/index.d.ts.map +1 -1
  56. package/es/organism/user-preferences/index.js +5 -9
  57. package/es/organism/user-preferences/index.js.map +1 -1
  58. package/es/organism/wizard-contents/index.d.ts +4 -0
  59. package/es/template/back-office/brand-update/index.d.ts +8 -0
  60. package/es/template/back-office/brand-update/style.css +2 -2
  61. package/es/template/common/search-page/index.d.ts +2 -2
  62. package/es/template/common/search-page/index.d.ts.map +1 -1
  63. package/es/template/common/search-page/index.js +3 -6
  64. package/es/template/common/search-page/index.js.map +1 -1
  65. package/es/template/review-dashboard-skills/index.d.ts +4 -0
  66. package/lib/atom/review-presentation/index.d.ts.map +1 -1
  67. package/lib/atom/review-presentation/index.js +79 -18
  68. package/lib/atom/review-presentation/index.js.map +1 -1
  69. package/lib/atom/review-presentation/prop-types.d.ts +4 -0
  70. package/lib/atom/review-presentation/prop-types.d.ts.map +1 -1
  71. package/lib/atom/review-presentation/prop-types.js +2 -1
  72. package/lib/atom/review-presentation/prop-types.js.map +1 -1
  73. package/lib/atom/review-presentation/style.css +5 -14
  74. package/lib/atom/select/index.d.ts +2 -0
  75. package/lib/atom/select/index.d.ts.map +1 -1
  76. package/lib/atom/select/index.js +26 -10
  77. package/lib/atom/select/index.js.map +1 -1
  78. package/lib/atom/select/style.css +6 -6
  79. package/lib/atom/select/test.html +44 -0
  80. package/lib/molecule/answer/index.d.ts.map +1 -1
  81. package/lib/molecule/answer/index.js +6 -16
  82. package/lib/molecule/answer/index.js.map +1 -1
  83. package/lib/molecule/brand-form-group/index.d.ts +4 -0
  84. package/lib/molecule/filters/filters-wrapper.d.ts +0 -1
  85. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  86. package/lib/molecule/filters/filters-wrapper.js +5 -9
  87. package/lib/molecule/filters/filters-wrapper.js.map +1 -1
  88. package/lib/molecule/filters/index.d.ts +2 -1
  89. package/lib/molecule/filters/index.d.ts.map +1 -1
  90. package/lib/molecule/filters/index.js +3 -6
  91. package/lib/molecule/filters/index.js.map +1 -1
  92. package/lib/molecule/questions/drop-down/index.d.ts +0 -1
  93. package/lib/molecule/questions/drop-down/index.d.ts.map +1 -1
  94. package/lib/molecule/questions/drop-down/index.js +5 -9
  95. package/lib/molecule/questions/drop-down/index.js.map +1 -1
  96. package/lib/molecule/questions/qcm/index.d.ts +0 -1
  97. package/lib/molecule/questions/qcm/index.d.ts.map +1 -1
  98. package/lib/molecule/questions/qcm/index.js +5 -9
  99. package/lib/molecule/questions/qcm/index.js.map +1 -1
  100. package/lib/molecule/questions/qcm-drag/index.d.ts +1 -3
  101. package/lib/molecule/questions/qcm-drag/index.d.ts.map +1 -1
  102. package/lib/molecule/questions/qcm-drag/index.js +5 -9
  103. package/lib/molecule/questions/qcm-drag/index.js.map +1 -1
  104. package/lib/molecule/questions/qcm-graphic/index.d.ts +0 -1
  105. package/lib/molecule/questions/qcm-graphic/index.d.ts.map +1 -1
  106. package/lib/molecule/questions/qcm-graphic/index.js +5 -9
  107. package/lib/molecule/questions/qcm-graphic/index.js.map +1 -1
  108. package/lib/molecule/questions/question-range/index.d.ts +0 -1
  109. package/lib/molecule/questions/question-range/index.d.ts.map +1 -1
  110. package/lib/molecule/questions/question-range/index.js +6 -10
  111. package/lib/molecule/questions/question-range/index.js.map +1 -1
  112. package/lib/molecule/questions/template/index.d.ts +2 -6
  113. package/lib/molecule/questions/template/index.d.ts.map +1 -1
  114. package/lib/molecule/questions/template/index.js +5 -9
  115. package/lib/molecule/questions/template/index.js.map +1 -1
  116. package/lib/molecule/setup-slide/index.d.ts +2 -0
  117. package/lib/molecule/setup-slider/index.d.ts +2 -0
  118. package/lib/organism/brand-form/index.d.ts +4 -0
  119. package/lib/organism/user-preferences/index.d.ts +0 -1
  120. package/lib/organism/user-preferences/index.d.ts.map +1 -1
  121. package/lib/organism/user-preferences/index.js +5 -9
  122. package/lib/organism/user-preferences/index.js.map +1 -1
  123. package/lib/organism/wizard-contents/index.d.ts +4 -0
  124. package/lib/template/back-office/brand-update/index.d.ts +8 -0
  125. package/lib/template/back-office/brand-update/style.css +2 -2
  126. package/lib/template/common/search-page/index.d.ts +2 -2
  127. package/lib/template/common/search-page/index.d.ts.map +1 -1
  128. package/lib/template/common/search-page/index.js +3 -6
  129. package/lib/template/common/search-page/index.js.map +1 -1
  130. package/lib/template/review-dashboard-skills/index.d.ts +4 -0
  131. package/locales/en/global.json +0 -1
  132. package/package.json +2 -2
@@ -70,6 +70,8 @@ declare namespace SetupSlider {
70
70
  modified: PropTypes.Requireable<boolean>;
71
71
  error: PropTypes.Requireable<boolean>;
72
72
  'aria-label': PropTypes.Requireable<string>;
73
+ selectId: PropTypes.Requireable<string>;
74
+ titleClassName: PropTypes.Requireable<string>;
73
75
  }> | PropTypes.InferProps<{
74
76
  type: PropTypes.Requireable<string>;
75
77
  title: PropTypes.Validator<string>;
@@ -129,6 +129,8 @@ declare namespace BrandForm {
129
129
  modified: PropTypes.Requireable<boolean>;
130
130
  error: PropTypes.Requireable<boolean>;
131
131
  'aria-label': PropTypes.Requireable<string>;
132
+ selectId: PropTypes.Requireable<string>;
133
+ titleClassName: PropTypes.Requireable<string>;
132
134
  }> | PropTypes.InferProps<{
133
135
  type: PropTypes.Requireable<string>;
134
136
  title: PropTypes.Validator<string>;
@@ -233,6 +235,8 @@ declare namespace BrandForm {
233
235
  modified: PropTypes.Requireable<boolean>;
234
236
  error: PropTypes.Requireable<boolean>;
235
237
  'aria-label': PropTypes.Requireable<string>;
238
+ selectId: PropTypes.Requireable<string>;
239
+ titleClassName: PropTypes.Requireable<string>;
236
240
  }> | PropTypes.InferProps<{
237
241
  type: PropTypes.Requireable<string>;
238
242
  title: PropTypes.Validator<string>;
@@ -19,7 +19,6 @@ declare namespace UserPreferences {
19
19
  requiredSelection: PropTypes.Requireable<boolean>;
20
20
  }> | null | undefined)[]>;
21
21
  const moreInfoAriaLabel: PropTypes.Requireable<string>;
22
- const groupAriaLabel: PropTypes.Requireable<string>;
23
22
  }
24
23
  }
25
24
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/user-preferences/index.js"],"names":[],"mappings":";AAoCA,0DAeC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/user-preferences/index.js"],"names":[],"mappings":";AAoCA,0DAaC"}
@@ -59,23 +59,19 @@ Settings.propTypes = process.env.NODE_ENV !== "production" ? _extends({}, _input
59
59
  const UserPreferences = props => {
60
60
  const {
61
61
  preferences = [],
62
- moreInfoAriaLabel,
63
- groupAriaLabel
62
+ moreInfoAriaLabel
64
63
  } = props;
65
- return /*#__PURE__*/_react.default.createElement("form", null, /*#__PURE__*/_react.default.createElement("div", {
66
- className: _style.default.preferences,
67
- role: "group",
68
- "aria-label": groupAriaLabel
64
+ return /*#__PURE__*/_react.default.createElement("div", {
65
+ className: _style.default.preferences
69
66
  }, (0, _map2.default)(settings => /*#__PURE__*/_react.default.createElement(Settings, _extends({}, settings, {
70
67
  key: settings.label,
71
68
  moreInfoAriaLabel: moreInfoAriaLabel
72
- })), preferences)));
69
+ })), preferences));
73
70
  };
74
71
 
75
72
  UserPreferences.propTypes = process.env.NODE_ENV !== "production" ? {
76
73
  preferences: _propTypes.default.arrayOf(_propTypes.default.shape(Settings.propTypes)),
77
- moreInfoAriaLabel: _propTypes.default.string,
78
- groupAriaLabel: _propTypes.default.string
74
+ moreInfoAriaLabel: _propTypes.default.string
79
75
  } : {};
80
76
  var _default = UserPreferences;
81
77
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Settings","props","label","description","moreInfoAriaLabel","settings","style","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","InputSwitch","PropTypes","string","isRequired","UserPreferences","preferences","groupAriaLabel","arrayOf","shape"],"sources":["../../../src/organism/user-preferences/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, moreInfoAriaLabel, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon\n height={16}\n width={16}\n className={style.infoIcon}\n aria-label={moreInfoAriaLabel}\n />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = [], moreInfoAriaLabel, groupAriaLabel} = props;\n\n return (\n <form>\n <div className={style.preferences} role=\"group\" aria-label={groupAriaLabel}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} moreInfoAriaLabel={moreInfoAriaLabel} />\n ),\n preferences\n )}\n </div>\n </form>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes)),\n moreInfoAriaLabel: PropTypes.string,\n groupAriaLabel: PropTypes.string\n};\n\nexport default UserPreferences;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;EACxB,MAAM;IAACC,KAAD;IAAQC,WAAR;IAAqBC;EAArB,IAAuDH,KAA7D;EAAA,MAAiDI,QAAjD,iCAA6DJ,KAA7D;;EACA,oBACE;IAAK,SAAS,EAAEK,cAAA,CAAMD;EAAtB,gBACE,6BAAC,oBAAD,EAAiBA,QAAjB,CADF,eAEE;IAAM,SAAS,EAAEC,cAAA,CAAMJ;EAAvB,GAA+BA,KAA/B,CAFF,EAGG,uBAAQC,WAAR,IAAuB,IAAvB,gBACC;IAAK,SAAS,EAAEG,cAAA,CAAMC;EAAtB,gBACE,6BAAC,qDAAD;IACE,MAAM,EAAE,EADV;IAEE,KAAK,EAAE,EAFT;IAGE,SAAS,EAAED,cAAA,CAAME,QAHnB;IAIE,cAAYJ;EAJd,EADF,eAOE;IAAK,SAAS,EAAEE,cAAA,CAAMG;EAAtB,gBACE;IAAK,SAAS,EAAEH,cAAA,CAAMI;EAAtB,GAAyCP,WAAzC,CADF,CAPF,CAJJ,CADF;AAmBD,CArBD;;AAuBAH,QAAQ,CAACW,SAAT,wDACKC,oBAAA,CAAYD,SADjB;EAEET,KAAK,EAAEW,kBAAA,CAAUC,MAAV,CAAiBC,UAF1B;EAGEZ,WAAW,EAAEU,kBAAA,CAAUC;AAHzB;;AAMA,MAAME,eAAe,GAAGf,KAAK,IAAI;EAC/B,MAAM;IAACgB,WAAW,GAAG,EAAf;IAAmBb,iBAAnB;IAAsCc;EAAtC,IAAwDjB,KAA9D;EAEA,oBACE,wDACE;IAAK,SAAS,EAAEK,cAAA,CAAMW,WAAtB;IAAmC,IAAI,EAAC,OAAxC;IAAgD,cAAYC;EAA5D,GACG,mBACCb,QAAQ,iBACN,6BAAC,QAAD,eAAcA,QAAd;IAAwB,GAAG,EAAEA,QAAQ,CAACH,KAAtC;IAA6C,iBAAiB,EAAEE;EAAhE,GAFH,EAICa,WAJD,CADH,CADF,CADF;AAYD,CAfD;;AAiBAD,eAAe,CAACL,SAAhB,2CAA4B;EAC1BM,WAAW,EAAEJ,kBAAA,CAAUM,OAAV,CAAkBN,kBAAA,CAAUO,KAAV,CAAgBpB,QAAQ,CAACW,SAAzB,CAAlB,CADa;EAE1BP,iBAAiB,EAAES,kBAAA,CAAUC,MAFH;EAG1BI,cAAc,EAAEL,kBAAA,CAAUC;AAHA,CAA5B;eAMeE,e"}
1
+ {"version":3,"file":"index.js","names":["Settings","props","label","description","moreInfoAriaLabel","settings","style","infoIconWrapper","infoIcon","showToolTip","descriptionLabel","propTypes","InputSwitch","PropTypes","string","isRequired","UserPreferences","preferences","arrayOf","shape"],"sources":["../../../src/organism/user-preferences/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map, isEmpty} from 'lodash/fp';\nimport {NovaCompositionCoorpacademyInformationIcon as InfoIcon} from '@coorpacademy/nova-icons';\nimport InputSwitch from '../../atom/input-switch';\nimport style from './style.css';\n\nconst Settings = props => {\n const {label, description, moreInfoAriaLabel, ...settings} = props;\n return (\n <div className={style.settings}>\n <InputSwitch {...settings} />\n <span className={style.label}>{label}</span>\n {isEmpty(description) ? null : (\n <div className={style.infoIconWrapper}>\n <InfoIcon\n height={16}\n width={16}\n className={style.infoIcon}\n aria-label={moreInfoAriaLabel}\n />\n <div className={style.showToolTip}>\n <div className={style.descriptionLabel}>{description}</div>\n </div>\n </div>\n )}\n </div>\n );\n};\n\nSettings.propTypes = {\n ...InputSwitch.propTypes,\n label: PropTypes.string.isRequired,\n description: PropTypes.string\n};\n\nconst UserPreferences = props => {\n const {preferences = [], moreInfoAriaLabel} = props;\n\n return (\n <div className={style.preferences}>\n {map(\n settings => (\n <Settings {...settings} key={settings.label} moreInfoAriaLabel={moreInfoAriaLabel} />\n ),\n preferences\n )}\n </div>\n );\n};\n\nUserPreferences.propTypes = {\n preferences: PropTypes.arrayOf(PropTypes.shape(Settings.propTypes)),\n moreInfoAriaLabel: PropTypes.string\n};\n\nexport default UserPreferences;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,QAAQ,GAAGC,KAAK,IAAI;EACxB,MAAM;IAACC,KAAD;IAAQC,WAAR;IAAqBC;EAArB,IAAuDH,KAA7D;EAAA,MAAiDI,QAAjD,iCAA6DJ,KAA7D;;EACA,oBACE;IAAK,SAAS,EAAEK,cAAA,CAAMD;EAAtB,gBACE,6BAAC,oBAAD,EAAiBA,QAAjB,CADF,eAEE;IAAM,SAAS,EAAEC,cAAA,CAAMJ;EAAvB,GAA+BA,KAA/B,CAFF,EAGG,uBAAQC,WAAR,IAAuB,IAAvB,gBACC;IAAK,SAAS,EAAEG,cAAA,CAAMC;EAAtB,gBACE,6BAAC,qDAAD;IACE,MAAM,EAAE,EADV;IAEE,KAAK,EAAE,EAFT;IAGE,SAAS,EAAED,cAAA,CAAME,QAHnB;IAIE,cAAYJ;EAJd,EADF,eAOE;IAAK,SAAS,EAAEE,cAAA,CAAMG;EAAtB,gBACE;IAAK,SAAS,EAAEH,cAAA,CAAMI;EAAtB,GAAyCP,WAAzC,CADF,CAPF,CAJJ,CADF;AAmBD,CArBD;;AAuBAH,QAAQ,CAACW,SAAT,wDACKC,oBAAA,CAAYD,SADjB;EAEET,KAAK,EAAEW,kBAAA,CAAUC,MAAV,CAAiBC,UAF1B;EAGEZ,WAAW,EAAEU,kBAAA,CAAUC;AAHzB;;AAMA,MAAME,eAAe,GAAGf,KAAK,IAAI;EAC/B,MAAM;IAACgB,WAAW,GAAG,EAAf;IAAmBb;EAAnB,IAAwCH,KAA9C;EAEA,oBACE;IAAK,SAAS,EAAEK,cAAA,CAAMW;EAAtB,GACG,mBACCZ,QAAQ,iBACN,6BAAC,QAAD,eAAcA,QAAd;IAAwB,GAAG,EAAEA,QAAQ,CAACH,KAAtC;IAA6C,iBAAiB,EAAEE;EAAhE,GAFH,EAICa,WAJD,CADH,CADF;AAUD,CAbD;;AAeAD,eAAe,CAACL,SAAhB,2CAA4B;EAC1BM,WAAW,EAAEJ,kBAAA,CAAUK,OAAV,CAAkBL,kBAAA,CAAUM,KAAV,CAAgBnB,QAAQ,CAACW,SAAzB,CAAlB,CADa;EAE1BP,iBAAiB,EAAES,kBAAA,CAAUC;AAFH,CAA5B;eAKeE,e"}
@@ -146,6 +146,8 @@ declare namespace WizardContents {
146
146
  modified: PropTypes.Requireable<boolean>;
147
147
  error: PropTypes.Requireable<boolean>;
148
148
  'aria-label': PropTypes.Requireable<string>;
149
+ selectId: PropTypes.Requireable<string>;
150
+ titleClassName: PropTypes.Requireable<string>;
149
151
  }> | PropTypes.InferProps<{
150
152
  type: PropTypes.Requireable<string>;
151
153
  title: PropTypes.Validator<string>;
@@ -250,6 +252,8 @@ declare namespace WizardContents {
250
252
  modified: PropTypes.Requireable<boolean>;
251
253
  error: PropTypes.Requireable<boolean>;
252
254
  'aria-label': PropTypes.Requireable<string>;
255
+ selectId: PropTypes.Requireable<string>;
256
+ titleClassName: PropTypes.Requireable<string>;
253
257
  }> | PropTypes.InferProps<{
254
258
  type: PropTypes.Requireable<string>;
255
259
  title: PropTypes.Validator<string>;
@@ -231,6 +231,8 @@ declare namespace BrandUpdate {
231
231
  modified: PropTypes.Requireable<boolean>;
232
232
  error: PropTypes.Requireable<boolean>;
233
233
  'aria-label': PropTypes.Requireable<string>;
234
+ selectId: PropTypes.Requireable<string>;
235
+ titleClassName: PropTypes.Requireable<string>;
234
236
  }> | PropTypes.InferProps<{
235
237
  type: PropTypes.Requireable<string>;
236
238
  title: PropTypes.Validator<string>;
@@ -335,6 +337,8 @@ declare namespace BrandUpdate {
335
337
  modified: PropTypes.Requireable<boolean>;
336
338
  error: PropTypes.Requireable<boolean>;
337
339
  'aria-label': PropTypes.Requireable<string>;
340
+ selectId: PropTypes.Requireable<string>;
341
+ titleClassName: PropTypes.Requireable<string>;
338
342
  }> | PropTypes.InferProps<{
339
343
  type: PropTypes.Requireable<string>;
340
344
  title: PropTypes.Validator<string>;
@@ -854,6 +858,8 @@ declare namespace BrandUpdate {
854
858
  modified: PropTypes.Requireable<boolean>;
855
859
  error: PropTypes.Requireable<boolean>;
856
860
  'aria-label': PropTypes.Requireable<string>;
861
+ selectId: PropTypes.Requireable<string>;
862
+ titleClassName: PropTypes.Requireable<string>;
857
863
  }> | PropTypes.InferProps<{
858
864
  type: PropTypes.Requireable<string>;
859
865
  title: PropTypes.Validator<string>;
@@ -958,6 +964,8 @@ declare namespace BrandUpdate {
958
964
  modified: PropTypes.Requireable<boolean>;
959
965
  error: PropTypes.Requireable<boolean>;
960
966
  'aria-label': PropTypes.Requireable<string>;
967
+ selectId: PropTypes.Requireable<string>;
968
+ titleClassName: PropTypes.Requireable<string>;
961
969
  }> | PropTypes.InferProps<{
962
970
  type: PropTypes.Requireable<string>;
963
971
  title: PropTypes.Validator<string>;
@@ -32,7 +32,7 @@
32
32
  }
33
33
 
34
34
  .left {
35
- width: 223px;
35
+ width: 248px;
36
36
  }
37
37
 
38
38
  .contentWrapper {
@@ -86,7 +86,7 @@
86
86
  height: 100%;
87
87
  overflow: scroll;
88
88
  z-index: 999;
89
- width: 16%;
89
+ min-width: 240px
90
90
  }
91
91
 
92
92
  .content {
@@ -58,13 +58,14 @@ declare namespace SearchPage {
58
58
  modified: PropTypes.Requireable<boolean>;
59
59
  error: PropTypes.Requireable<boolean>;
60
60
  'aria-label': PropTypes.Requireable<string>;
61
+ selectId: PropTypes.Requireable<string>;
62
+ titleClassName: PropTypes.Requireable<string>;
61
63
  }>>;
62
64
  onSearch: PropTypes.Requireable<(...args: any[]) => any>;
63
65
  onToggleFilters: PropTypes.Requireable<(...args: any[]) => any>;
64
66
  onToggleSorts: PropTypes.Requireable<(...args: any[]) => any>;
65
67
  moreSortAriaLabel: PropTypes.Requireable<string>;
66
68
  moreFilterAriaLabel: PropTypes.Requireable<string>;
67
- filterGroupAriaLabel: PropTypes.Requireable<string>;
68
69
  }>>;
69
70
  const cards: PropTypes.Requireable<PropTypes.InferProps<{
70
71
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
@@ -101,7 +102,6 @@ declare namespace SearchPage {
101
102
  }>>;
102
103
  const moreSortAriaLabel: PropTypes.Requireable<string>;
103
104
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
104
- const filterGroupAriaLabel: PropTypes.Requireable<string>;
105
105
  }
106
106
  }
107
107
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAoDC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAkDC"}
@@ -36,8 +36,7 @@ const SearchPage = (props, context) => {
36
36
  clearFilters,
37
37
  recommendations,
38
38
  moreSortAriaLabel,
39
- moreFilterAriaLabel,
40
- filterGroupAriaLabel
39
+ moreFilterAriaLabel
41
40
  } = props;
42
41
  const {
43
42
  skin
@@ -58,8 +57,7 @@ const SearchPage = (props, context) => {
58
57
  }))), recommendationsView) : /*#__PURE__*/_react.default.createElement(_cardsGrid.default, cards);
59
58
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_filters.default, _extends({}, searchFilters, {
60
59
  moreSortAriaLabel: moreSortAriaLabel,
61
- moreFilterAriaLabel: moreFilterAriaLabel,
62
- filterGroupAriaLabel: filterGroupAriaLabel
60
+ moreFilterAriaLabel: moreFilterAriaLabel
63
61
  })), /*#__PURE__*/_react.default.createElement("div", {
64
62
  "data-name": "searchResult",
65
63
  className: _style.default.cardsWrapper
@@ -80,8 +78,7 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
80
78
  clearFilters: _propTypes.default.shape(_button.default.propTypes),
81
79
  recommendations: _propTypes.default.shape(_cardsList.default.propTypes),
82
80
  moreSortAriaLabel: _propTypes.default.string,
83
- moreFilterAriaLabel: _propTypes.default.string,
84
- filterGroupAriaLabel: _propTypes.default.string
81
+ moreFilterAriaLabel: _propTypes.default.string
85
82
  } : {};
86
83
  var _default = SearchPage;
87
84
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel,\n filterGroupAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n filterGroupAriaLabel={filterGroupAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string,\n filterGroupAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC,mBARI;IASJC;EATI,IAUFV,KAVJ;EAYA,MAAM;IAACW;EAAD,IAASV,OAAf;EACA,MAAMW,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQN,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMO,SAAS,GAAG,uBAAQV,KAAK,CAACW,IAAd,iBAChB,uDACE;IAAK,SAAS,EAAEC,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,GAAqCb,cAArC,CADF,eAEE,6BAAC,eAAD,eACMC,YADN;IAEE,aAAU,iBAFZ;IAGE,SAAS,EAAEU,cAAA,CAAMG,KAHnB;IAIE,KAAK,EAAE;MAACC,UAAU,EAAER;IAAb,CAJT;IAKE,IAAI,EAAC;EALP,GAFF,CADF,EAWGC,mBAXH,CADgB,gBAehB,6BAAC,kBAAD,EAAeT,KAAf,CAfF;EAkBA,oBACE,uDACE,6BAAC,gBAAD,eACMD,aADN;IAEE,iBAAiB,EAAEK,iBAFrB;IAGE,mBAAmB,EAAEC,mBAHvB;IAIE,oBAAoB,EAAEC;EAJxB,GADF,eAOE;IAAK,aAAU,cAAf;IAA8B,SAAS,EAAEM,cAAA,CAAMK;EAA/C,gBACE;IAAK,SAAS,EAAEL,cAAA,CAAMd,KAAtB;IAA6B,IAAI,EAAC;EAAlC,GACGA,KADH,CADF,EAIGY,SAJH,CAPF,CADF;AAgBD,CApDD;;AAsDAf,UAAU,CAACuB,YAAX,GAA0B;EACxBX,IAAI,EAAEY,iBAAA,CAASC,iBAAT,CAA2Bb;AADT,CAA1B;AAIAZ,UAAU,CAAC0B,SAAX,2CAAuB;EACrBpB,cAAc,EAAEqB,kBAAA,CAAUC,MADL;EAErBzB,KAAK,EAAEwB,kBAAA,CAAUC,MAFI;EAGrBxB,aAAa,EAAEuB,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAQJ,SAAxB,CAHM;EAIrBrB,KAAK,EAAEsB,kBAAA,CAAUE,KAAV,CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBnB,YAAY,EAAEoB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBlB,eAAe,EAAEmB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBjB,iBAAiB,EAAEkB,kBAAA,CAAUC,MAPR;EAQrBlB,mBAAmB,EAAEiB,kBAAA,CAAUC,MARV;EASrBjB,oBAAoB,EAAEgB,kBAAA,CAAUC;AATX,CAAvB;eAYe5B,U"}
1
+ {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {getOr, isEmpty} from 'lodash/fp';\nimport Provider from '../../../atom/provider';\nimport Button from '../../../atom/button';\nimport Filters from '../../../molecule/filters';\nimport CardsGrid from '../../../organism/cards-grid';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport style from './style.css';\n\nconst SearchPage = (props, context) => {\n const {\n title,\n searchFilters,\n cards,\n noresultsfound,\n clearFilters,\n recommendations,\n moreSortAriaLabel,\n moreFilterAriaLabel\n } = props;\n\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n\n const recommendationsView = isEmpty(recommendations) ? null : <CardsList {...recommendations} />;\n\n const cardsView = isEmpty(cards.list) ? (\n <div>\n <div className={style.noresults}>\n <div className={style.noresultstxt}>{noresultsfound}</div>\n <Button\n {...clearFilters}\n data-name=\"searchPageClear\"\n className={style.clear}\n style={{background: defaultColor}}\n type=\"link\"\n />\n </div>\n {recommendationsView}\n </div>\n ) : (\n <CardsGrid {...cards} />\n );\n\n return (\n <div>\n <Filters\n {...searchFilters}\n moreSortAriaLabel={moreSortAriaLabel}\n moreFilterAriaLabel={moreFilterAriaLabel}\n />\n <div data-name=\"searchResult\" className={style.cardsWrapper}>\n <div className={style.title} role=\"status\">\n {title}\n </div>\n {cardsView}\n </div>\n </div>\n );\n};\n\nSearchPage.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSearchPage.propTypes = {\n noresultsfound: PropTypes.string,\n title: PropTypes.string,\n searchFilters: PropTypes.shape(Filters.propTypes),\n cards: PropTypes.shape(CardsGrid.propTypes),\n clearFilters: PropTypes.shape(Button.propTypes),\n recommendations: PropTypes.shape(CardsList.propTypes),\n moreSortAriaLabel: PropTypes.string,\n moreFilterAriaLabel: PropTypes.string\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,UAAU,GAAG,CAACC,KAAD,EAAQC,OAAR,KAAoB;EACrC,MAAM;IACJC,KADI;IAEJC,aAFI;IAGJC,KAHI;IAIJC,cAJI;IAKJC,YALI;IAMJC,eANI;IAOJC,iBAPI;IAQJC;EARI,IASFT,KATJ;EAWA,MAAM;IAACU;EAAD,IAAST,OAAf;EACA,MAAMU,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQL,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMM,SAAS,GAAG,uBAAQT,KAAK,CAACU,IAAd,iBAChB,uDACE;IAAK,SAAS,EAAEC,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,GAAqCZ,cAArC,CADF,eAEE,6BAAC,eAAD,eACMC,YADN;IAEE,aAAU,iBAFZ;IAGE,SAAS,EAAES,cAAA,CAAMG,KAHnB;IAIE,KAAK,EAAE;MAACC,UAAU,EAAER;IAAb,CAJT;IAKE,IAAI,EAAC;EALP,GAFF,CADF,EAWGC,mBAXH,CADgB,gBAehB,6BAAC,kBAAD,EAAeR,KAAf,CAfF;EAkBA,oBACE,uDACE,6BAAC,gBAAD,eACMD,aADN;IAEE,iBAAiB,EAAEK,iBAFrB;IAGE,mBAAmB,EAAEC;EAHvB,GADF,eAME;IAAK,aAAU,cAAf;IAA8B,SAAS,EAAEM,cAAA,CAAMK;EAA/C,gBACE;IAAK,SAAS,EAAEL,cAAA,CAAMb,KAAtB;IAA6B,IAAI,EAAC;EAAlC,GACGA,KADH,CADF,EAIGW,SAJH,CANF,CADF;AAeD,CAlDD;;AAoDAd,UAAU,CAACsB,YAAX,GAA0B;EACxBX,IAAI,EAAEY,iBAAA,CAASC,iBAAT,CAA2Bb;AADT,CAA1B;AAIAX,UAAU,CAACyB,SAAX,2CAAuB;EACrBnB,cAAc,EAAEoB,kBAAA,CAAUC,MADL;EAErBxB,KAAK,EAAEuB,kBAAA,CAAUC,MAFI;EAGrBvB,aAAa,EAAEsB,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAQJ,SAAxB,CAHM;EAIrBpB,KAAK,EAAEqB,kBAAA,CAAUE,KAAV,CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBlB,YAAY,EAAEmB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBjB,eAAe,EAAEkB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBhB,iBAAiB,EAAEiB,kBAAA,CAAUC,MAPR;EAQrBjB,mBAAmB,EAAEgB,kBAAA,CAAUC;AARV,CAAvB;eAWe3B,U"}
@@ -12,21 +12,25 @@ declare namespace ReviewDashboardSkills {
12
12
  text: PropTypes.Requireable<string>;
13
13
  tooltipText: PropTypes.Requireable<string>;
14
14
  moreDetailsAreaLabel: PropTypes.Requireable<string>;
15
+ closeToolTipInformationTextAriaLabel: PropTypes.Requireable<string>;
15
16
  }>>;
16
17
  questions: PropTypes.Requireable<PropTypes.InferProps<{
17
18
  text: PropTypes.Requireable<string>;
18
19
  tooltipText: PropTypes.Requireable<string>;
19
20
  moreDetailsAreaLabel: PropTypes.Requireable<string>;
21
+ closeToolTipInformationTextAriaLabel: PropTypes.Requireable<string>;
20
22
  }>>;
21
23
  lifes: PropTypes.Requireable<PropTypes.InferProps<{
22
24
  text: PropTypes.Requireable<string>;
23
25
  tooltipText: PropTypes.Requireable<string>;
24
26
  moreDetailsAreaLabel: PropTypes.Requireable<string>;
27
+ closeToolTipInformationTextAriaLabel: PropTypes.Requireable<string>;
25
28
  }>>;
26
29
  allright: PropTypes.Requireable<PropTypes.InferProps<{
27
30
  text: PropTypes.Requireable<string>;
28
31
  tooltipText: PropTypes.Requireable<string>;
29
32
  moreDetailsAreaLabel: PropTypes.Requireable<string>;
33
+ closeToolTipInformationTextAriaLabel: PropTypes.Requireable<string>;
30
34
  }>>;
31
35
  }>>;
32
36
  }>>;
@@ -21,7 +21,6 @@
21
21
  "Delete": "Delete",
22
22
  "Draft": "Draft",
23
23
  "drop_down_icon": "Dropdown to open the list of available answers",
24
- "answer_the_question": "Answer the question",
25
24
  "Edit": "Edit",
26
25
  "external_content_article": "DOCUMENTS",
27
26
  "external_content_scorm": "ANIMATED RESOURCES",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.4.5-alpha.37+f4ec45843",
3
+ "version": "11.4.5-alpha.38.37+32e2f719e",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -160,5 +160,5 @@
160
160
  "last 2 versions",
161
161
  "IE 11"
162
162
  ],
163
- "gitHead": "f4ec458435d51c87edb3598e851e0a340400d5f3"
163
+ "gitHead": "32e2f719eb0228b9a42e5b51c7519a05090ea3d1"
164
164
  }