@coorpacademy/components 11.19.2-alpha.14 → 11.19.2-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 (72) hide show
  1. package/es/atom/title/style.css +1 -1
  2. package/es/molecule/card/index.d.ts.map +1 -1
  3. package/es/molecule/card/index.js +2 -6
  4. package/es/molecule/card/index.js.map +1 -1
  5. package/es/molecule/card/style.css +2 -2
  6. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  7. package/es/molecule/cm-popin/index.js +3 -20
  8. package/es/molecule/cm-popin/index.js.map +1 -1
  9. package/es/molecule/cm-popin/style.css +0 -26
  10. package/es/molecule/title-and-checkbox-wrapper/index.d.ts +46 -0
  11. package/es/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  12. package/es/molecule/title-and-checkbox-wrapper/index.js +15 -3
  13. package/es/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  14. package/es/organism/rewards-form/index.d.ts +46 -0
  15. package/es/organism/select-opponents/index.d.ts +82 -26
  16. package/es/organism/select-opponents/index.d.ts.map +1 -1
  17. package/es/organism/select-opponents/index.js +3 -3
  18. package/es/organism/select-opponents/index.js.map +1 -1
  19. package/es/organism/select-opponents/style.css +6 -0
  20. package/es/organism/select-opponents/types.d.ts +90 -28
  21. package/es/organism/select-opponents/types.d.ts.map +1 -1
  22. package/es/organism/select-opponents/types.js +2 -2
  23. package/es/organism/select-opponents/types.js.map +1 -1
  24. package/es/organism/title-and-input/index.d.ts +82 -26
  25. package/es/organism/title-and-input/index.d.ts.map +1 -1
  26. package/es/organism/title-and-input/types.d.ts +82 -26
  27. package/es/organism/title-and-input/types.d.ts.map +1 -1
  28. package/es/organism/wizard-contents/index.d.ts +46 -0
  29. package/es/template/common/dashboard/index.d.ts.map +1 -1
  30. package/es/template/common/dashboard/index.js.map +1 -1
  31. package/es/template/common/dashboard/style.css +0 -4
  32. package/es/template/common/search-page/index.d.ts.map +1 -1
  33. package/es/template/common/search-page/index.js +2 -4
  34. package/es/template/common/search-page/index.js.map +1 -1
  35. package/es/template/common/search-page/style.css +0 -4
  36. package/lib/atom/title/style.css +1 -1
  37. package/lib/molecule/card/index.d.ts.map +1 -1
  38. package/lib/molecule/card/index.js +2 -6
  39. package/lib/molecule/card/index.js.map +1 -1
  40. package/lib/molecule/card/style.css +2 -2
  41. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  42. package/lib/molecule/cm-popin/index.js +3 -24
  43. package/lib/molecule/cm-popin/index.js.map +1 -1
  44. package/lib/molecule/cm-popin/style.css +0 -26
  45. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts +46 -0
  46. package/lib/molecule/title-and-checkbox-wrapper/index.d.ts.map +1 -1
  47. package/lib/molecule/title-and-checkbox-wrapper/index.js +17 -3
  48. package/lib/molecule/title-and-checkbox-wrapper/index.js.map +1 -1
  49. package/lib/organism/rewards-form/index.d.ts +46 -0
  50. package/lib/organism/select-opponents/index.d.ts +82 -26
  51. package/lib/organism/select-opponents/index.d.ts.map +1 -1
  52. package/lib/organism/select-opponents/index.js +3 -3
  53. package/lib/organism/select-opponents/index.js.map +1 -1
  54. package/lib/organism/select-opponents/style.css +6 -0
  55. package/lib/organism/select-opponents/types.d.ts +90 -28
  56. package/lib/organism/select-opponents/types.d.ts.map +1 -1
  57. package/lib/organism/select-opponents/types.js +2 -2
  58. package/lib/organism/select-opponents/types.js.map +1 -1
  59. package/lib/organism/title-and-input/index.d.ts +82 -26
  60. package/lib/organism/title-and-input/index.d.ts.map +1 -1
  61. package/lib/organism/title-and-input/types.d.ts +82 -26
  62. package/lib/organism/title-and-input/types.d.ts.map +1 -1
  63. package/lib/organism/wizard-contents/index.d.ts +46 -0
  64. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  65. package/lib/template/common/dashboard/index.js.map +1 -1
  66. package/lib/template/common/dashboard/style.css +0 -4
  67. package/lib/template/common/search-page/index.d.ts.map +1 -1
  68. package/lib/template/common/search-page/index.js +2 -8
  69. package/lib/template/common/search-page/index.js.map +1 -1
  70. package/lib/template/common/search-page/style.css +0 -4
  71. package/locales/.mtslconfig.json +1 -0
  72. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","popinWithCards","skin","defaultColor","nodeRef","useRef","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList","CMPopin"],"sources":["../../../../src/template/common/search-page/index.js"],"sourcesContent":["import React, {useRef} 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 CMPopin from '../../../molecule/cm-popin';\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 sortAriaLabel,\n popinWithCards\n } = props;\n const {skin} = context;\n const defaultColor = getOr('#00B0FF', 'common.primary', skin);\n const nodeRef = useRef(null);\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 sortAriaLabel={sortAriaLabel}\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 {popinWithCards ? (\n <div className={style.popinWithCards} ref={nodeRef}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\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 sortAriaLabel: PropTypes.string,\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;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,oBATI;IAUJC,aAVI;IAWJC;EAXI,IAYFZ,KAZJ;EAaA,MAAM;IAACa;EAAD,IAASZ,OAAf;EACA,MAAMa,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EACA,MAAME,OAAO,GAAG,IAAAC,aAAA,EAAO,IAAP,CAAhB;EACA,MAAMC,mBAAmB,GAAG,uBAAQV,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMW,SAAS,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CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBvB,YAAY,EAAEwB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBtB,eAAe,EAAEuB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBrB,iBAAiB,EAAEsB,kBAAA,CAAUC,MAPR;EAQrBtB,mBAAmB,EAAEqB,kBAAA,CAAUC,MARV;EASrBrB,oBAAoB,EAAEoB,kBAAA,CAAUC,MATX;EAUrBpB,aAAa,EAAEmB,kBAAA,CAAUC,MAVJ;EAWrBnB,cAAc,EAAEkB,kBAAA,CAAUE,KAAV,CAAgBK,gBAAA,CAAQR,SAAxB;AAXK,CAAvB;eAce9B,U"}
1
+ {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","popinWithCards","skin","defaultColor","recommendationsView","cardsView","list","style","noresults","noresultstxt","clear","background","cardsWrapper","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","shape","Filters","CardsGrid","Button","CardsList","CMPopin"],"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 CMPopin from '../../../molecule/cm-popin';\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 sortAriaLabel,\n popinWithCards\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 sortAriaLabel={sortAriaLabel}\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 {popinWithCards ? (\n <div className={style.popinWithCards}>\n <CMPopin {...popinWithCards} />\n </div>\n ) : null}\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 sortAriaLabel: PropTypes.string,\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\n\nexport default SearchPage;\n"],"mappings":";;;;;;;;;AAAA;;AACA;;AAEA;;AACA;;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,oBATI;IAUJC,aAVI;IAWJC;EAX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AAuB;EACrBtB,cAAc,EAAEuB,kBAAA,CAAUC,MADL;EAErB3B,KAAK,EAAE0B,kBAAA,CAAUC,MAFI;EAGrB1B,aAAa,EAAEyB,kBAAA,CAAUE,KAAV,CAAgBC,gBAAA,CAAQJ,SAAxB,CAHM;EAIrBvB,KAAK,EAAEwB,kBAAA,CAAUE,KAAV,CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBrB,YAAY,EAAEsB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBpB,eAAe,EAAEqB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBnB,iBAAiB,EAAEoB,kBAAA,CAAUC,MAPR;EAQrBpB,mBAAmB,EAAEmB,kBAAA,CAAUC,MARV;EASrBnB,oBAAoB,EAAEkB,kBAAA,CAAUC,MATX;EAUrBlB,aAAa,EAAEiB,kBAAA,CAAUC,MAVJ;EAWrBjB,cAAc,EAAEgB,kBAAA,CAAUE,KAAV,CAAgBK,gBAAA,CAAQR,SAAxB;AAXK,CAAvB;eAce5B,U"}
@@ -17,10 +17,6 @@
17
17
  background: white;
18
18
  }
19
19
 
20
- /* .hidden {
21
- display: none;
22
- } */
23
-
24
20
  .noresults {
25
21
  font-family: "Gilroy";
26
22
  border-top: solid 1px xtraLightGrey;
@@ -0,0 +1 @@
1
+ {"ignore_dirs":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.19.2-alpha.14+8f59eb9f6",
3
+ "version": "11.19.2-alpha.3+5ef02240f",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -168,5 +168,5 @@
168
168
  "last 2 versions",
169
169
  "IE 11"
170
170
  ],
171
- "gitHead": "8f59eb9f6000d1e54fd5f38827193fddc030f905"
171
+ "gitHead": "5ef02240fdf81238d78c9bbfb79196cb246c5573"
172
172
  }