@coorpacademy/components 11.18.4-alpha.3 → 11.18.4

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 (89) hide show
  1. package/es/atom/picture-background/index.d.ts +1 -0
  2. package/es/atom/picture-background/index.js +10 -5
  3. package/es/atom/picture-background/index.js.map +1 -1
  4. package/es/molecule/card/index.d.ts.map +1 -1
  5. package/es/molecule/card/index.js +9 -10
  6. package/es/molecule/card/index.js.map +1 -1
  7. package/es/molecule/card/style.css +5 -41
  8. package/es/molecule/cm-popin/index.d.ts.map +1 -1
  9. package/es/molecule/cm-popin/index.js +9 -45
  10. package/es/molecule/cm-popin/index.js.map +1 -1
  11. package/es/molecule/cm-popin/style.css +0 -29
  12. package/es/molecule/cm-popin/types.d.ts +1 -31
  13. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  14. package/es/molecule/cm-popin/types.js +3 -13
  15. package/es/molecule/cm-popin/types.js.map +1 -1
  16. package/es/template/app-player/loading/index.d.ts +1 -19
  17. package/es/template/app-player/player/index.d.ts +2 -38
  18. package/es/template/app-player/player/slides/index.d.ts +1 -19
  19. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  20. package/es/template/app-player/popin-correction/index.d.ts +1 -19
  21. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  22. package/es/template/app-player/popin-end/index.d.ts +1 -19
  23. package/es/template/app-review/index.d.ts +1 -19
  24. package/es/template/app-review/index.d.ts.map +1 -1
  25. package/es/template/app-review/player/prop-types.d.ts +1 -19
  26. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  27. package/es/template/app-review/prop-types.d.ts +1 -19
  28. package/es/template/app-review/prop-types.d.ts.map +1 -1
  29. package/es/template/back-office/brand-update/index.d.ts +1 -19
  30. package/es/template/common/dashboard/index.d.ts +1 -89
  31. package/es/template/common/dashboard/index.d.ts.map +1 -1
  32. package/es/template/common/dashboard/index.js +2 -4
  33. package/es/template/common/dashboard/index.js.map +1 -1
  34. package/es/template/common/search-page/index.d.ts +0 -70
  35. package/es/template/common/search-page/index.d.ts.map +1 -1
  36. package/es/template/common/search-page/index.js +3 -8
  37. package/es/template/common/search-page/index.js.map +1 -1
  38. package/es/template/common/search-page/style.css +0 -5
  39. package/es/template/external-course/index.d.ts +1 -19
  40. package/es/variables/colors.css +1 -1
  41. package/lib/atom/picture-background/index.d.ts +1 -0
  42. package/lib/atom/picture-background/index.js +10 -5
  43. package/lib/atom/picture-background/index.js.map +1 -1
  44. package/lib/molecule/card/index.d.ts.map +1 -1
  45. package/lib/molecule/card/index.js +7 -9
  46. package/lib/molecule/card/index.js.map +1 -1
  47. package/lib/molecule/card/style.css +5 -41
  48. package/lib/molecule/cm-popin/index.d.ts.map +1 -1
  49. package/lib/molecule/cm-popin/index.js +8 -47
  50. package/lib/molecule/cm-popin/index.js.map +1 -1
  51. package/lib/molecule/cm-popin/style.css +0 -29
  52. package/lib/molecule/cm-popin/types.d.ts +1 -31
  53. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  54. package/lib/molecule/cm-popin/types.js +3 -15
  55. package/lib/molecule/cm-popin/types.js.map +1 -1
  56. package/lib/template/app-player/loading/index.d.ts +1 -19
  57. package/lib/template/app-player/player/index.d.ts +2 -38
  58. package/lib/template/app-player/player/slides/index.d.ts +1 -19
  59. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  60. package/lib/template/app-player/popin-correction/index.d.ts +1 -19
  61. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  62. package/lib/template/app-player/popin-end/index.d.ts +1 -19
  63. package/lib/template/app-review/index.d.ts +1 -19
  64. package/lib/template/app-review/index.d.ts.map +1 -1
  65. package/lib/template/app-review/player/prop-types.d.ts +1 -19
  66. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  67. package/lib/template/app-review/prop-types.d.ts +1 -19
  68. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  69. package/lib/template/back-office/brand-update/index.d.ts +1 -19
  70. package/lib/template/common/dashboard/index.d.ts +1 -89
  71. package/lib/template/common/dashboard/index.d.ts.map +1 -1
  72. package/lib/template/common/dashboard/index.js +2 -4
  73. package/lib/template/common/dashboard/index.js.map +1 -1
  74. package/lib/template/common/search-page/index.d.ts +0 -70
  75. package/lib/template/common/search-page/index.d.ts.map +1 -1
  76. package/lib/template/common/search-page/index.js +3 -9
  77. package/lib/template/common/search-page/index.js.map +1 -1
  78. package/lib/template/common/search-page/style.css +0 -5
  79. package/lib/template/external-course/index.d.ts +1 -19
  80. package/lib/variables/colors.css +1 -1
  81. package/package.json +2 -2
  82. package/es/atom/title/types.d.ts +0 -9
  83. package/es/atom/title/types.d.ts.map +0 -1
  84. package/es/atom/title/types.js +0 -2
  85. package/es/atom/title/types.js.map +0 -1
  86. package/lib/atom/title/types.d.ts +0 -9
  87. package/lib/atom/title/types.d.ts.map +0 -1
  88. package/lib/atom/title/types.js +0 -2
  89. package/lib/atom/title/types.js.map +0 -1
@@ -8,18 +8,7 @@ declare namespace Dashboard {
8
8
  cookie: PropTypes.Requireable<PropTypes.InferProps<{
9
9
  content: PropTypes.Requireable<string>;
10
10
  mode: PropTypes.Requireable<string>;
11
- header: PropTypes.Requireable<PropTypes.InferProps<{
12
- title: PropTypes.Requireable<PropTypes.InferProps<{
13
- title: PropTypes.Requireable<string>;
14
- subtitle: PropTypes.Requireable<string>;
15
- type: PropTypes.Requireable<string>;
16
- 'data-name': PropTypes.Requireable<string>;
17
- titleSize: PropTypes.Requireable<string>;
18
- subtitleSize: PropTypes.Requireable<string>;
19
- }>>;
20
- headerIcon: PropTypes.Requireable<string>;
21
- backgroundImage: PropTypes.Requireable<string>;
22
- }>>;
11
+ header: PropTypes.Requireable<string>;
23
12
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
24
13
  label: PropTypes.Requireable<string>;
25
14
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -67,88 +56,11 @@ declare namespace Dashboard {
67
56
  'data-name': PropTypes.Requireable<string>;
68
57
  requiredSelection: PropTypes.Requireable<boolean>;
69
58
  }> | null | undefined)[]>;
70
- items: PropTypes.Requireable<PropTypes.InferProps<{
71
- type: PropTypes.Requireable<string>;
72
- list: PropTypes.Requireable<PropTypes.InferProps<{
73
- list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
74
- loading: PropTypes.Requireable<boolean>;
75
- }>>;
76
- }>>;
77
59
  }>>;
78
60
  'arrows-aria-label': PropTypes.Requireable<PropTypes.InferProps<{
79
61
  showMoreOnLeftAriaLabel: PropTypes.Requireable<string>;
80
62
  showMoreOnRightAriaLabel: PropTypes.Requireable<string>;
81
63
  }>>;
82
- popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
83
- content: PropTypes.Requireable<string>;
84
- mode: PropTypes.Requireable<string>;
85
- header: PropTypes.Requireable<PropTypes.InferProps<{
86
- title: PropTypes.Requireable<PropTypes.InferProps<{
87
- title: PropTypes.Requireable<string>;
88
- subtitle: PropTypes.Requireable<string>;
89
- type: PropTypes.Requireable<string>;
90
- 'data-name': PropTypes.Requireable<string>;
91
- titleSize: PropTypes.Requireable<string>;
92
- subtitleSize: PropTypes.Requireable<string>;
93
- }>>;
94
- headerIcon: PropTypes.Requireable<string>;
95
- backgroundImage: PropTypes.Requireable<string>;
96
- }>>;
97
- firstButton: PropTypes.Requireable<PropTypes.InferProps<{
98
- label: PropTypes.Requireable<string>;
99
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
100
- 'aria-label': PropTypes.Requireable<string>;
101
- largeButton: PropTypes.Requireable<boolean>;
102
- type: PropTypes.Requireable<string>;
103
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
104
- }>>;
105
- secondButton: PropTypes.Requireable<PropTypes.InferProps<{
106
- label: PropTypes.Requireable<string>;
107
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
108
- type: PropTypes.Requireable<string>;
109
- 'aria-label': PropTypes.Requireable<string>;
110
- largeButton: PropTypes.Requireable<boolean>;
111
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
112
- }>>;
113
- thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
114
- label: PropTypes.Requireable<string>;
115
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
116
- type: PropTypes.Requireable<string>;
117
- 'aria-label': PropTypes.Requireable<string>;
118
- largeButton: PropTypes.Requireable<boolean>;
119
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
120
- }>>;
121
- onClose: PropTypes.Requireable<(...args: any[]) => any>;
122
- icon: PropTypes.Requireable<string>;
123
- backgroundImageUrl: PropTypes.Requireable<string>;
124
- descriptionText: PropTypes.Requireable<string>;
125
- cookieTitle: PropTypes.Requireable<string>;
126
- descriptionBtnTxt: PropTypes.Requireable<string>;
127
- listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
128
- title: PropTypes.Requireable<string>;
129
- name: PropTypes.Requireable<string>;
130
- id: PropTypes.Requireable<string>;
131
- value: PropTypes.Requireable<boolean>;
132
- disabled: PropTypes.Requireable<boolean>;
133
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
134
- description: PropTypes.Requireable<string>;
135
- 'aria-labelledby': PropTypes.Requireable<string>;
136
- 'aria-label': PropTypes.Requireable<string>;
137
- modified: PropTypes.Requireable<boolean>;
138
- titlePosition: PropTypes.Requireable<string>;
139
- theme: PropTypes.Requireable<string>;
140
- details: PropTypes.Requireable<string>;
141
- 'data-name': PropTypes.Requireable<string>;
142
- requiredSelection: PropTypes.Requireable<boolean>;
143
- }> | null | undefined)[]>;
144
- items: PropTypes.Requireable<PropTypes.InferProps<{
145
- type: PropTypes.Requireable<string>;
146
- list: PropTypes.Requireable<PropTypes.InferProps<{
147
- list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
148
- loading: PropTypes.Requireable<boolean>;
149
- }>>;
150
- }>>;
151
- }>>;
152
64
  };
153
65
  }
154
66
  import PropTypes from "prop-types";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,oDA8CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/dashboard/index.js"],"names":[],"mappings":";AAqBA,oDA4CC"}
@@ -49,7 +49,6 @@ const Dashboard = props => {
49
49
  hero,
50
50
  welcome,
51
51
  cookie,
52
- popinWithCards,
53
52
  'arrows-aria-label': showMoreOnLeftOrRightAriaLabel
54
53
  } = props;
55
54
 
@@ -103,7 +102,7 @@ const Dashboard = props => {
103
102
  return /*#__PURE__*/_react.default.createElement("div", {
104
103
  className: _style.default.wrapper,
105
104
  "data-name": "dashboard"
106
- }, sectionsList, cookie ? /*#__PURE__*/_react.default.createElement(_cmPopin.default, cookie) : null, popinWithCards ? /*#__PURE__*/_react.default.createElement(_cmPopin.default, popinWithCards) : null);
105
+ }, sectionsList, cookie ? /*#__PURE__*/_react.default.createElement(_cmPopin.default, cookie) : null);
107
106
  };
108
107
 
109
108
  Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
@@ -111,8 +110,7 @@ Dashboard.propTypes = process.env.NODE_ENV !== "production" ? {
111
110
  welcome: Hero.propTypes.welcome,
112
111
  sections: _propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.shape(_battleRequestList.default.propTypes), _propTypes.default.shape(_cardsList.default.propTypes), _propTypes.default.shape(_newsList.default.propTypes), _propTypes.default.shape(_startBattle.default.propTypes), _propTypes.default.shape(_reviewBanner.default.propTypes)])),
113
112
  cookie: _propTypes.default.shape(_cmPopin.default.propTypes),
114
- 'arrows-aria-label': _cardsList.default.propTypes['arrows-aria-label'],
115
- popinWithCards: _propTypes.default.shape(_cmPopin.default.propTypes)
113
+ 'arrows-aria-label': _cardsList.default.propTypes['arrows-aria-label']
116
114
  } : {};
117
115
  var _default = Dashboard;
118
116
  exports.default = _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","popinWithCards","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","ReviewBanner","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n popinWithCards,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n {popinWithCards ? <CMPopin {...popinWithCards} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\n 'arrows-aria-label': CardsList.propTypes['arrows-aria-label'],\n popinWithCards: PropTypes.shape(CMPopin.propTypes)\n};\nexport default Dashboard;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,IAAI,gBAAGC,cAAA,CAAMC,IAAN,CAAW,SAASF,IAAT,CAAc;EAACG,IAAD;EAAOC;AAAP,CAAd,EAA+B;EACrD,oBAAO;IAAK,SAAS,EAAEC,cAAA,CAAMF;EAAtB,GAA6BA,IAAI,gBAAG,6BAAC,aAAD,EAAcA,IAAd,CAAH,gBAA4B,6BAAC,cAAD,EAAWC,OAAX,CAA7D,CAAP;AACD,CAFY,CAAb;;AAIAJ,IAAI,CAACM,SAAL,2CAAiB;EACfH,IAAI,EAAEI,kBAAA,CAAUC,KAAV,CAAgBC,aAAA,CAASH,SAAzB,CADS;EAEfF,OAAO,EAAEG,kBAAA,CAAUC,KAAV,CAAgBE,cAAA,CAAMJ,SAAtB;AAFM,CAAjB;;AAKA,MAAMK,SAAS,GAAGC,KAAK,IAAI;EACzB,MAAM;IACJC,QAAQ,GAAG,EADP;IAEJV,IAFI;IAGJC,OAHI;IAIJU,MAJI;IAKJC,cALI;IAMJ,qBAAqBC;EANjB,IAOFJ,KAPJ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D,CADF;AAOD,CA9CD;;AAgDAJ,SAAS,CAACL,SAAV,2CAAsB;EACpBH,IAAI,EAAEH,IAAI,CAACM,SAAL,CAAeH,IADD;EAEpBC,OAAO,EAAEJ,IAAI,CAACM,SAAL,CAAeF,OAFJ;EAGpBS,QAAQ,EAAEN,kBAAA,CAAUoB,OAAV,CACRpB,kBAAA,CAAUqB,SAAV,CAAoB,CAClBrB,kBAAA,CAAUC,KAAV,CAAgBqB,0BAAA,CAAkBvB,SAAlC,CADkB,EAElBC,kBAAA,CAAUC,KAAV,CAAgBsB,kBAAA,CAAUxB,SAA1B,CAFkB,EAGlBC,kBAAA,CAAUC,KAAV,CAAgBuB,iBAAA,CAASzB,SAAzB,CAHkB,EAIlBC,kBAAA,CAAUC,KAAV,CAAgBwB,oBAAA,CAAY1B,SAA5B,CAJkB,EAKlBC,kBAAA,CAAUC,KAAV,CAAgByB,qBAAA,CAAa3B,SAA7B,CALkB,CAApB,CADQ,CAHU;EAYpBQ,MAAM,EAAEP,kBAAA,CAAUC,KAAV,CAAgB0B,gBAAA,CAAQ5B,SAAxB,CAZY;EAapB,qBAAqBwB,kBAAA,CAAUxB,SAAV,CAAoB,mBAApB,CAbD;EAcpBS,cAAc,EAAER,kBAAA,CAAUC,KAAV,CAAgB0B,gBAAA,CAAQ5B,SAAxB;AAdI,CAAtB;eAgBeK,S"}
1
+ {"version":3,"file":"index.js","names":["Hero","React","memo","hero","welcome","style","propTypes","PropTypes","shape","HeroCard","Slide","Dashboard","props","sections","cookie","showMoreOnLeftOrRightAriaLabel","buildSectionComponent","section","type","buildSection","index","sectionView","sectionsList","key","map","wrapper","arrayOf","oneOfType","BattleRequestList","CardsList","NewsList","StartBattle","ReviewBanner","CMPopin"],"sources":["../../../../src/template/common/dashboard/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Slide from '../../../atom/slide';\nimport HeroCard from '../../../molecule/hero';\nimport BattleRequestList from '../../../molecule/dashboard/battle-request-list';\nimport CardsList from '../../../molecule/dashboard/cards-list';\nimport NewsList from '../../../molecule/dashboard/news-list';\nimport StartBattle from '../../../molecule/dashboard/start-battle';\nimport CMPopin from '../../../molecule/cm-popin';\nimport ReviewBanner from '../../../molecule/dashboard/review-banner';\nimport style from './style.css';\n\nconst Hero = React.memo(function Hero({hero, welcome}) {\n return <div className={style.hero}>{hero ? <HeroCard {...hero} /> : <Slide {...welcome} />}</div>;\n});\n\nHero.propTypes = {\n hero: PropTypes.shape(HeroCard.propTypes),\n welcome: PropTypes.shape(Slide.propTypes)\n};\n\nconst Dashboard = props => {\n const {\n sections = [],\n hero,\n welcome,\n cookie,\n 'arrows-aria-label': showMoreOnLeftOrRightAriaLabel\n } = props;\n\n const buildSectionComponent = section => {\n const {type} = section;\n switch (type) {\n case 'hero':\n return <Hero hero={hero} welcome={welcome} />;\n case 'battleRequests':\n return <BattleRequestList {...section} />;\n case 'cards':\n return <CardsList {...section} arrows-aria-label={showMoreOnLeftOrRightAriaLabel} />;\n case 'news':\n return <NewsList {...section} />;\n case 'battle':\n return <StartBattle {...section} />;\n case 'review':\n return <ReviewBanner {...section} />;\n default:\n return null;\n }\n };\n\n const buildSection = (section, index) => {\n const sectionView = buildSectionComponent(section);\n\n return <div key={index}>{sectionView}</div>;\n };\n\n const sectionsList = [{type: 'hero', key: 'hero'}, ...sections].map(section => (\n <div key={section.key}>{buildSection(section)}</div>\n ));\n return (\n <div className={style.wrapper} data-name=\"dashboard\">\n {sectionsList}\n {cookie ? <CMPopin {...cookie} /> : null}\n </div>\n );\n};\n\nDashboard.propTypes = {\n hero: Hero.propTypes.hero,\n welcome: Hero.propTypes.welcome,\n sections: PropTypes.arrayOf(\n PropTypes.oneOfType([\n PropTypes.shape(BattleRequestList.propTypes),\n PropTypes.shape(CardsList.propTypes),\n PropTypes.shape(NewsList.propTypes),\n PropTypes.shape(StartBattle.propTypes),\n PropTypes.shape(ReviewBanner.propTypes)\n ])\n ),\n cookie: PropTypes.shape(CMPopin.propTypes),\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AAUC,KAAV,CAAgBwB,qBAAA,CAAa1B,SAA7B,CALkB,CAApB,CADQ,CAHU;EAYpBQ,MAAM,EAAEP,kBAAA,CAAUC,KAAV,CAAgByB,gBAAA,CAAQ3B,SAAxB,CAZY;EAapB,qBAAqBuB,kBAAA,CAAUvB,SAAV,CAAoB,mBAApB;AAbD,CAAtB;eAeeK,S"}
@@ -125,76 +125,6 @@ declare namespace SearchPage {
125
125
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
126
126
  const filterGroupAriaLabel: PropTypes.Requireable<string>;
127
127
  const sortAriaLabel: PropTypes.Requireable<string>;
128
- const popinWithCards: PropTypes.Requireable<PropTypes.InferProps<{
129
- content: PropTypes.Requireable<string>;
130
- mode: PropTypes.Requireable<string>;
131
- header: PropTypes.Requireable<PropTypes.InferProps<{
132
- title: PropTypes.Requireable<PropTypes.InferProps<{
133
- title: PropTypes.Requireable<string>;
134
- subtitle: PropTypes.Requireable<string>;
135
- type: PropTypes.Requireable<string>;
136
- 'data-name': PropTypes.Requireable<string>;
137
- titleSize: PropTypes.Requireable<string>;
138
- subtitleSize: PropTypes.Requireable<string>;
139
- }>>;
140
- headerIcon: PropTypes.Requireable<string>;
141
- backgroundImage: PropTypes.Requireable<string>;
142
- }>>;
143
- firstButton: PropTypes.Requireable<PropTypes.InferProps<{
144
- label: PropTypes.Requireable<string>;
145
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
146
- 'aria-label': PropTypes.Requireable<string>;
147
- largeButton: PropTypes.Requireable<boolean>;
148
- type: PropTypes.Requireable<string>;
149
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
150
- }>>;
151
- secondButton: PropTypes.Requireable<PropTypes.InferProps<{
152
- label: PropTypes.Requireable<string>;
153
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
154
- type: PropTypes.Requireable<string>;
155
- 'aria-label': PropTypes.Requireable<string>;
156
- largeButton: PropTypes.Requireable<boolean>;
157
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
158
- }>>;
159
- thirdButton: PropTypes.Requireable<PropTypes.InferProps<{
160
- label: PropTypes.Requireable<string>;
161
- handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
162
- type: PropTypes.Requireable<string>;
163
- 'aria-label': PropTypes.Requireable<string>;
164
- largeButton: PropTypes.Requireable<boolean>;
165
- customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
166
- }>>;
167
- onClose: PropTypes.Requireable<(...args: any[]) => any>;
168
- icon: PropTypes.Requireable<string>;
169
- backgroundImageUrl: PropTypes.Requireable<string>;
170
- descriptionText: PropTypes.Requireable<string>;
171
- cookieTitle: PropTypes.Requireable<string>;
172
- descriptionBtnTxt: PropTypes.Requireable<string>;
173
- listBtnSwicth: PropTypes.Requireable<(PropTypes.InferProps<{
174
- title: PropTypes.Requireable<string>;
175
- name: PropTypes.Requireable<string>;
176
- id: PropTypes.Requireable<string>;
177
- value: PropTypes.Requireable<boolean>;
178
- disabled: PropTypes.Requireable<boolean>;
179
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
180
- description: PropTypes.Requireable<string>;
181
- 'aria-labelledby': PropTypes.Requireable<string>;
182
- 'aria-label': PropTypes.Requireable<string>;
183
- modified: PropTypes.Requireable<boolean>;
184
- titlePosition: PropTypes.Requireable<string>;
185
- theme: PropTypes.Requireable<string>;
186
- details: PropTypes.Requireable<string>;
187
- 'data-name': PropTypes.Requireable<string>;
188
- requiredSelection: PropTypes.Requireable<boolean>;
189
- }> | null | undefined)[]>;
190
- items: PropTypes.Requireable<PropTypes.InferProps<{
191
- type: PropTypes.Requireable<string>;
192
- list: PropTypes.Requireable<PropTypes.InferProps<{
193
- list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
194
- loading: PropTypes.Requireable<boolean>;
195
- }>>;
196
- }>>;
197
- }>>;
198
128
  }
199
129
  }
200
130
  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":";AAWA,mEA4DC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/search-page/index.js"],"names":[],"mappings":";AAUA,mEAsDC"}
@@ -21,8 +21,6 @@ var _cardsGrid = _interopRequireDefault(require("../../../organism/cards-grid"))
21
21
 
22
22
  var _cardsList = _interopRequireDefault(require("../../../molecule/dashboard/cards-list"));
23
23
 
24
- var _cmPopin = _interopRequireDefault(require("../../../molecule/cm-popin"));
25
-
26
24
  var _style = _interopRequireDefault(require("./style.css"));
27
25
 
28
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -40,8 +38,7 @@ const SearchPage = (props, context) => {
40
38
  moreSortAriaLabel,
41
39
  moreFilterAriaLabel,
42
40
  filterGroupAriaLabel,
43
- sortAriaLabel,
44
- popinWithCards
41
+ sortAriaLabel
45
42
  } = props;
46
43
  const {
47
44
  skin
@@ -71,9 +68,7 @@ const SearchPage = (props, context) => {
71
68
  }, /*#__PURE__*/_react.default.createElement("div", {
72
69
  className: _style.default.title,
73
70
  role: "status"
74
- }, title), cardsView), popinWithCards ? /*#__PURE__*/_react.default.createElement("div", {
75
- className: _style.default.popinWithCards
76
- }, /*#__PURE__*/_react.default.createElement(_cmPopin.default, popinWithCards)) : null);
71
+ }, title), cardsView));
77
72
  };
78
73
 
79
74
  SearchPage.contextTypes = {
@@ -89,8 +84,7 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
89
84
  moreSortAriaLabel: _propTypes.default.string,
90
85
  moreFilterAriaLabel: _propTypes.default.string,
91
86
  filterGroupAriaLabel: _propTypes.default.string,
92
- sortAriaLabel: _propTypes.default.string,
93
- popinWithCards: _propTypes.default.shape(_cmPopin.default.propTypes)
87
+ sortAriaLabel: _propTypes.default.string
94
88
  } : {};
95
89
  var _default = SearchPage;
96
90
  exports.default = _default;
@@ -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","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;EAXI,IAYFZ,KAZJ;EAcA,MAAM;IAACa;EAAD,IAASZ,OAAf;EACA,MAAMa,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQR,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMS,SAAS,GAAG,uBAAQZ,KAAK,CAACa,IAAd,iBAChB,uDACE;IAAK,SAAS,EAAEC,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,GAAqCf,cAArC,CADF,eAEE,6BAAC,eAAD,eACMC,YADN;IAEE,aAAU,iBAFZ;IAGE,SAAS,EAAEY,cAAA,CAAMG,KAHnB;IAIE,KAAK,E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V;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"}
1
+ {"version":3,"file":"index.js","names":["SearchPage","props","context","title","searchFilters","cards","noresultsfound","clearFilters","recommendations","moreSortAriaLabel","moreFilterAriaLabel","filterGroupAriaLabel","sortAriaLabel","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 sortAriaLabel\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 </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};\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,oBATI;IAUJC;EAVI,IAWFX,KAXJ;EAaA,MAAM;IAACY;EAAD,IAASX,OAAf;EACA,MAAMY,YAAY,GAAG,qBAAM,SAAN,EAAiB,gBAAjB,EAAmCD,IAAnC,CAArB;EAEA,MAAME,mBAAmB,GAAG,uBAAQP,eAAR,IAA2B,IAA3B,gBAAkC,6BAAC,kBAAD,EAAeA,eAAf,CAA9D;EAEA,MAAMQ,SAAS,GAAG,uBAAQX,KAAK,CAACY,IAAd,iBAChB,uDACE;IAAK,SAAS,EAAEC,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,GAAqCd,cAArC,CADF,eAEE,6BAAC,eAAD,eACMC,YADN;IAEE,aAAU,iBAFZ;IAGE,SAAS,EAAEW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UC;AAVJ,CAAvB;eAae7B,U"}
@@ -50,11 +50,6 @@
50
50
  color: black;
51
51
  }
52
52
 
53
- .popinWithCards {
54
- position: relative;
55
- z-index: 5;
56
- }
57
-
58
53
  @media mobile {
59
54
  .cardsWrapper {
60
55
  padding: 5px 0;
@@ -25,18 +25,7 @@ declare namespace ExternalCourse {
25
25
  const closePopin: PropTypes.Requireable<PropTypes.InferProps<{
26
26
  content: PropTypes.Requireable<string>;
27
27
  mode: PropTypes.Requireable<string>;
28
- header: PropTypes.Requireable<PropTypes.InferProps<{
29
- title: PropTypes.Requireable<PropTypes.InferProps<{
30
- title: PropTypes.Requireable<string>;
31
- subtitle: PropTypes.Requireable<string>;
32
- type: PropTypes.Requireable<string>;
33
- 'data-name': PropTypes.Requireable<string>;
34
- titleSize: PropTypes.Requireable<string>;
35
- subtitleSize: PropTypes.Requireable<string>;
36
- }>>;
37
- headerIcon: PropTypes.Requireable<string>;
38
- backgroundImage: PropTypes.Requireable<string>;
39
- }>>;
28
+ header: PropTypes.Requireable<string>;
40
29
  firstButton: PropTypes.Requireable<PropTypes.InferProps<{
41
30
  label: PropTypes.Requireable<string>;
42
31
  handleOnclick: PropTypes.Requireable<(...args: any[]) => any>;
@@ -84,13 +73,6 @@ declare namespace ExternalCourse {
84
73
  'data-name': PropTypes.Requireable<string>;
85
74
  requiredSelection: PropTypes.Requireable<boolean>;
86
75
  }> | null | undefined)[]>;
87
- items: PropTypes.Requireable<PropTypes.InferProps<{
88
- type: PropTypes.Requireable<string>;
89
- list: PropTypes.Requireable<PropTypes.InferProps<{
90
- list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
91
- loading: PropTypes.Requireable<boolean>;
92
- }>>;
93
- }>>;
94
76
  }>>;
95
77
  }
96
78
  namespace contextTypes {
@@ -72,7 +72,7 @@
72
72
  @value box_shadow_medium_dark: rgba(0, 0, 0, 0.2);
73
73
  @value box_shadow_orange_700: rgba(255, 84, 31, 0.15);
74
74
  @value light_blue: #ADC9F5;
75
- @value negative_100: #FCDADA;
75
+
76
76
  @value go1_backgound: #144953;
77
77
  @value go1_primary: #D5FD42;
78
78
  @value go1_primary_hover: #BFE33B;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.18.4-alpha.3+8677ead79",
3
+ "version": "11.18.4",
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": "8677ead79bbbde9f0e9221fad9b0b763d14b2e10"
171
+ "gitHead": "086a144d5a37de001ebd4fa82d48f00af5201757"
172
172
  }
@@ -1,9 +0,0 @@
1
- export declare type TitleProps = {
2
- title: string;
3
- subtitle: string;
4
- type: 'page' | 'form-group';
5
- 'data-name'?: string;
6
- titleSize: 'standard' | 'medium' | 'small';
7
- subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';
8
- };
9
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/title/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,YAAY,EAAE,UAAU,GAAG,OAAO,GAAG,sBAAsB,GAAG,aAAa,CAAC;CAC7E,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../../src/atom/title/types.ts"],"sourcesContent":["export type TitleProps = {\n title: string;\n subtitle: string;\n type: 'page' | 'form-group';\n 'data-name'?: string;\n titleSize: 'standard' | 'medium' | 'small';\n subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';\n};\n"],"mappings":""}
@@ -1,9 +0,0 @@
1
- export declare type TitleProps = {
2
- title: string;
3
- subtitle: string;
4
- type: 'page' | 'form-group';
5
- 'data-name'?: string;
6
- titleSize: 'standard' | 'medium' | 'small';
7
- subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';
8
- };
9
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/atom/title/types.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC3C,YAAY,EAAE,UAAU,GAAG,OAAO,GAAG,sBAAsB,GAAG,aAAa,CAAC;CAC7E,CAAC"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","names":[],"sources":["../../../src/atom/title/types.ts"],"sourcesContent":["export type TitleProps = {\n title: string;\n subtitle: string;\n type: 'page' | 'form-group';\n 'data-name'?: string;\n titleSize: 'standard' | 'medium' | 'small';\n subtitleSize: 'standard' | 'small' | 'small-without-margin' | 'extra-small';\n};\n"],"mappings":""}