@coorpacademy/components 11.9.3-alpha.25.24 → 11.9.3-alpha.30

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 (119) hide show
  1. package/es/atom/input-search/index.d.ts.map +1 -1
  2. package/es/atom/input-search/index.js +1 -0
  3. package/es/atom/input-search/index.js.map +1 -1
  4. package/es/atom/input-switch/index.d.ts +2 -0
  5. package/es/atom/input-switch/index.d.ts.map +1 -1
  6. package/es/atom/input-switch/index.js +25 -11
  7. package/es/atom/input-switch/index.js.map +1 -1
  8. package/es/atom/select/index.d.ts +1 -0
  9. package/es/atom/select/index.d.ts.map +1 -1
  10. package/es/atom/select/index.js +13 -8
  11. package/es/atom/select/index.js.map +1 -1
  12. package/es/molecule/brand-form-group/index.d.ts +8 -0
  13. package/es/molecule/cm-popin/types.d.ts +2 -0
  14. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  15. package/es/molecule/draggable-list/index.d.ts +2 -0
  16. package/es/molecule/filters/filters-wrapper.d.ts.map +1 -1
  17. package/es/molecule/filters/filters-wrapper.js +4 -1
  18. package/es/molecule/filters/filters-wrapper.js.map +1 -1
  19. package/es/molecule/filters/index.d.ts +2 -0
  20. package/es/molecule/filters/index.d.ts.map +1 -1
  21. package/es/molecule/filters/index.js +10 -3
  22. package/es/molecule/filters/index.js.map +1 -1
  23. package/es/molecule/setup-section/index.d.ts +2 -0
  24. package/es/molecule/setup-section/index.d.ts.map +1 -1
  25. package/es/molecule/setup-sections/index.d.ts +2 -0
  26. package/es/molecule/setup-slide/index.d.ts +3 -0
  27. package/es/molecule/setup-slider/index.d.ts +3 -0
  28. package/es/organism/brand-form/index.d.ts +8 -0
  29. package/es/organism/mooc-header/index.d.ts +0 -6
  30. package/es/organism/mooc-header/index.d.ts.map +1 -1
  31. package/es/organism/mooc-header/index.js +12 -71
  32. package/es/organism/mooc-header/index.js.map +1 -1
  33. package/es/organism/mooc-header/style.css +0 -46
  34. package/es/organism/user-preferences/index.d.ts +2 -0
  35. package/es/organism/wizard-contents/index.d.ts +8 -0
  36. package/es/template/activity/index.d.ts +12 -11
  37. package/es/template/activity/index.d.ts.map +1 -1
  38. package/es/template/activity/index.js +6 -3
  39. package/es/template/activity/index.js.map +1 -1
  40. package/es/template/app-player/loading/index.d.ts +2 -0
  41. package/es/template/app-player/player/index.d.ts +4 -0
  42. package/es/template/app-player/player/slides/index.d.ts +2 -0
  43. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  44. package/es/template/app-player/popin-correction/index.d.ts +2 -0
  45. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  46. package/es/template/app-player/popin-end/index.d.ts +2 -0
  47. package/es/template/app-review/index.d.ts +2 -0
  48. package/es/template/app-review/index.d.ts.map +1 -1
  49. package/es/template/app-review/player/prop-types.d.ts +2 -0
  50. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  51. package/es/template/app-review/prop-types.d.ts +2 -0
  52. package/es/template/app-review/prop-types.d.ts.map +1 -1
  53. package/es/template/back-office/brand-update/index.d.ts +18 -0
  54. package/es/template/common/dashboard/index.d.ts +2 -0
  55. package/es/template/common/search-page/index.d.ts +3 -0
  56. package/es/template/common/search-page/index.d.ts.map +1 -1
  57. package/es/template/common/search-page/index.js +6 -3
  58. package/es/template/common/search-page/index.js.map +1 -1
  59. package/es/template/teams-dashboard/index.d.ts +0 -2
  60. package/lib/atom/input-search/index.d.ts.map +1 -1
  61. package/lib/atom/input-search/index.js +1 -0
  62. package/lib/atom/input-search/index.js.map +1 -1
  63. package/lib/atom/input-switch/index.d.ts +2 -0
  64. package/lib/atom/input-switch/index.d.ts.map +1 -1
  65. package/lib/atom/input-switch/index.js +24 -11
  66. package/lib/atom/input-switch/index.js.map +1 -1
  67. package/lib/atom/select/index.d.ts +1 -0
  68. package/lib/atom/select/index.d.ts.map +1 -1
  69. package/lib/atom/select/index.js +13 -8
  70. package/lib/atom/select/index.js.map +1 -1
  71. package/lib/molecule/brand-form-group/index.d.ts +8 -0
  72. package/lib/molecule/cm-popin/types.d.ts +2 -0
  73. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  74. package/lib/molecule/draggable-list/index.d.ts +2 -0
  75. package/lib/molecule/filters/filters-wrapper.d.ts.map +1 -1
  76. package/lib/molecule/filters/filters-wrapper.js +4 -1
  77. package/lib/molecule/filters/filters-wrapper.js.map +1 -1
  78. package/lib/molecule/filters/index.d.ts +2 -0
  79. package/lib/molecule/filters/index.d.ts.map +1 -1
  80. package/lib/molecule/filters/index.js +9 -3
  81. package/lib/molecule/filters/index.js.map +1 -1
  82. package/lib/molecule/setup-section/index.d.ts +2 -0
  83. package/lib/molecule/setup-section/index.d.ts.map +1 -1
  84. package/lib/molecule/setup-sections/index.d.ts +2 -0
  85. package/lib/molecule/setup-slide/index.d.ts +3 -0
  86. package/lib/molecule/setup-slider/index.d.ts +3 -0
  87. package/lib/organism/brand-form/index.d.ts +8 -0
  88. package/lib/organism/mooc-header/index.d.ts +0 -6
  89. package/lib/organism/mooc-header/index.d.ts.map +1 -1
  90. package/lib/organism/mooc-header/index.js +11 -70
  91. package/lib/organism/mooc-header/index.js.map +1 -1
  92. package/lib/organism/mooc-header/style.css +0 -46
  93. package/lib/organism/user-preferences/index.d.ts +2 -0
  94. package/lib/organism/wizard-contents/index.d.ts +8 -0
  95. package/lib/template/activity/index.d.ts +12 -11
  96. package/lib/template/activity/index.d.ts.map +1 -1
  97. package/lib/template/activity/index.js +6 -3
  98. package/lib/template/activity/index.js.map +1 -1
  99. package/lib/template/app-player/loading/index.d.ts +2 -0
  100. package/lib/template/app-player/player/index.d.ts +4 -0
  101. package/lib/template/app-player/player/slides/index.d.ts +2 -0
  102. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  103. package/lib/template/app-player/popin-correction/index.d.ts +2 -0
  104. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  105. package/lib/template/app-player/popin-end/index.d.ts +2 -0
  106. package/lib/template/app-review/index.d.ts +2 -0
  107. package/lib/template/app-review/index.d.ts.map +1 -1
  108. package/lib/template/app-review/player/prop-types.d.ts +2 -0
  109. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  110. package/lib/template/app-review/prop-types.d.ts +2 -0
  111. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  112. package/lib/template/back-office/brand-update/index.d.ts +18 -0
  113. package/lib/template/common/dashboard/index.d.ts +2 -0
  114. package/lib/template/common/search-page/index.d.ts +3 -0
  115. package/lib/template/common/search-page/index.d.ts.map +1 -1
  116. package/lib/template/common/search-page/index.js +6 -3
  117. package/lib/template/common/search-page/index.js.map +1 -1
  118. package/lib/template/teams-dashboard/index.d.ts +0 -2
  119. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["mapWithIndex","map","convert","cap","Progression","props","legacyContext","mainTitle","mainSubtitle","recommendation","progressions","adaptiveAriaLabel","total","engines","themeFilter","loading","skin","GetSkinFromContext","onChange","themeFilterOnChange","handleClick","useCallback","e","stopPropagation","preventDefault","onClick","noop","handleSelectTheme","primary","get","loader","style","allProgressions","progression","index","omit","ref","coreProgression","core","themeSelect","isEmpty","options","selectBorder","select","recommendationSection","recommendationWrapper","title","subtitle","classnames","course","innerHTML","__html","courseTitle","cta","backgroundColor","default","headerProgression","wrapperCta","wrapperProgression","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","label","stars","number","arrayOf","EngineStars","bool","ProgressionItem","Select","func"],"sources":["../../../src/template/activity/index.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport map from 'lodash/fp/map';\nimport noop from 'lodash/fp/noop';\nimport omit from 'lodash/fp/omit';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport Button from '../../atom/button';\nimport Select from '../../atom/select';\nimport Loader from '../../atom/loader';\nimport ProgressionItem from './progression-item';\nimport EngineStars from './engine-stars';\nimport StarsSummary from './stars-summary';\nimport style from './style.css';\n\nconst mapWithIndex = map.convert({cap: false});\n\nconst Progression = (props, legacyContext) => {\n const {\n mainTitle,\n mainSubtitle,\n recommendation = {},\n progressions = [],\n adaptiveAriaLabel,\n total,\n engines = [],\n themeFilter = {},\n loading\n } = props;\n const skin = GetSkinFromContext(legacyContext);\n const {onChange: themeFilterOnChange} = themeFilter;\n\n const handleClick = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n const {onClick = noop} = recommendation;\n onClick(e);\n },\n [recommendation]\n );\n\n const handleSelectTheme = useCallback(\n e => {\n themeFilterOnChange && themeFilterOnChange(e);\n },\n [themeFilterOnChange]\n );\n\n const primary = get('common.primary', skin);\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n const allProgressions = mapWithIndex(\n (progression, index) => (\n <ProgressionItem\n {...omit(['ref'], progression)}\n key={`${index}-${progression.ref}`}\n adaptiveAriaLabel={adaptiveAriaLabel}\n />\n ),\n progressions\n );\n\n const coreProgression = (\n <div data-name=\"activityCore\" className={style.core}>\n {allProgressions}\n </div>\n );\n const themeSelect = !isEmpty(themeFilter.options) ? (\n <Select\n borderClassName={style.selectBorder}\n className={style.select}\n theme=\"thematiques\"\n options={themeFilter.options}\n onChange={handleSelectTheme}\n />\n ) : null;\n const recommendationSection = !isEmpty(recommendation) ? (\n <div className={style.recommendationWrapper}>\n <p className={style.recommendationSection}>{recommendation.title} </p>\n <p className={style.recommendationSection}>\n <span>{recommendation.subtitle} </span>\n <span\n className={classnames(style.course, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: recommendation.courseTitle}}\n />\n </p>\n <Button\n type=\"link\"\n onClick={handleClick}\n submitValue={recommendation.cta}\n style={{\n backgroundColor: primary\n }}\n className={style.cta}\n />\n </div>\n ) : null;\n\n return (\n <div className={style.default}>\n <div data-name=\"activity-header\" tabIndex={0}>\n <div className={style.mainTitle} tabIndex={0}>\n <span>{mainTitle}</span> {mainSubtitle}\n </div>\n <div className={style.headerProgression} tabIndex={0}>\n <div className={style.wrapperCta} tabIndex={0}>\n {themeSelect}\n {recommendationSection}\n </div>\n <StarsSummary engines={engines} total={total} />\n </div>\n </div>\n <div className={style.wrapperProgression} data-name=\"activityList\">\n {coreProgression}\n {loader}\n </div>\n </div>\n );\n};\n\nProgression.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nProgression.propTypes = {\n mainTitle: PropTypes.string.isRequired,\n mainSubtitle: PropTypes.string.isRequired,\n adaptiveAriaLabel: PropTypes.string,\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n stars: PropTypes.number.isRequired\n }).isRequired,\n engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),\n loading: PropTypes.bool.isRequired,\n progressions: PropTypes.arrayOf(\n PropTypes.shape({...ProgressionItem.propTypes, ref: PropTypes.string.isRequired})\n ),\n themeFilter: PropTypes.shape({\n options: Select.propTypes.options.isRequired,\n onChange: Select.propTypes.onChange\n }),\n recommendation: PropTypes.shape({\n cta: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n courseTitle: PropTypes.string.isRequired,\n onClick: PropTypes.func\n })\n};\n\nexport default Progression;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,YAAY,GAAGC,YAAA,CAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,CAArB;;AAEA,MAAMC,WAAW,GAAG,CAACC,KAAD,EAAQC,aAAR,KAA0B;EAC5C,MAAM;IACJC,SADI;IAEJC,YAFI;IAGJC,cAAc,GAAG,EAHb;IAIJC,YAAY,GAAG,EAJX;IAKJC,iBALI;IAMJC,KANI;IAOJC,OAAO,GAAG,EAPN;IAQJC,WAAW,GAAG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3B/C,QAAQ,EAAEwD,eAAA,CAAOZ,SAAP,CAAiB5C;EAFA,CAAhB,CAbS;EAiBtBT,cAAc,EAAEsD,kBAAA,CAAUG,KAAV,CAAgB;IAC9Bb,GAAG,EAAEU,kBAAA,CAAUC,MAAV,CAAiBC,UADQ;IAE9BnB,KAAK,EAAEiB,kBAAA,CAAUC,MAAV,CAAiBC,UAFM;IAG9BlB,QAAQ,EAAEgB,kBAAA,CAAUC,MAAV,CAAiBC,UAHG;IAI9Bb,WAAW,EAAEW,kBAAA,CAAUC,MAAV,CAAiBC,UAJA;IAK9BxC,OAAO,EAAEsC,kBAAA,CAAUY;EALW,CAAhB;AAjBM,CAAxB;eA0BevE,W"}
1
+ {"version":3,"file":"index.js","names":["mapWithIndex","map","convert","cap","Progression","props","legacyContext","mainTitle","mainSubtitle","recommendation","progressions","adaptiveAriaLabel","total","engines","themeFilter","loading","ariaLabel","skin","GetSkinFromContext","onChange","themeFilterOnChange","handleClick","useCallback","e","stopPropagation","preventDefault","onClick","noop","handleSelectTheme","primary","get","loader","style","allProgressions","progression","index","omit","ref","coreProgression","core","themeSelect","isEmpty","options","selectBorder","select","recommendationSection","recommendationWrapper","title","subtitle","classnames","course","innerHTML","__html","courseTitle","cta","backgroundColor","default","headerProgression","wrapperCta","wrapperProgression","contextTypes","Provider","childContextTypes","propTypes","PropTypes","string","isRequired","shape","label","stars","number","arrayOf","EngineStars","bool","ProgressionItem","Select","func"],"sources":["../../../src/template/activity/index.js"],"sourcesContent":["import React, {useCallback} from 'react';\nimport get from 'lodash/fp/get';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport map from 'lodash/fp/map';\nimport noop from 'lodash/fp/noop';\nimport omit from 'lodash/fp/omit';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Provider, {GetSkinFromContext} from '../../atom/provider';\nimport Button from '../../atom/button';\nimport Select from '../../atom/select';\nimport Loader from '../../atom/loader';\nimport ProgressionItem from './progression-item';\nimport EngineStars from './engine-stars';\nimport StarsSummary from './stars-summary';\nimport style from './style.css';\n\nconst mapWithIndex = map.convert({cap: false});\n\nconst Progression = (props, legacyContext) => {\n const {\n mainTitle,\n mainSubtitle,\n recommendation = {},\n progressions = [],\n adaptiveAriaLabel,\n total,\n engines = [],\n themeFilter = {},\n loading,\n 'aria-label': ariaLabel\n } = props;\n const skin = GetSkinFromContext(legacyContext);\n const {onChange: themeFilterOnChange} = themeFilter;\n\n const handleClick = useCallback(\n e => {\n e.stopPropagation();\n e.preventDefault();\n const {onClick = noop} = recommendation;\n onClick(e);\n },\n [recommendation]\n );\n\n const handleSelectTheme = useCallback(\n e => {\n themeFilterOnChange && themeFilterOnChange(e);\n },\n [themeFilterOnChange]\n );\n\n const primary = get('common.primary', skin);\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n const allProgressions = mapWithIndex(\n (progression, index) => (\n <ProgressionItem\n {...omit(['ref'], progression)}\n key={`${index}-${progression.ref}`}\n adaptiveAriaLabel={adaptiveAriaLabel}\n />\n ),\n progressions\n );\n\n const coreProgression = (\n <div data-name=\"activityCore\" className={style.core}>\n {allProgressions}\n </div>\n );\n const themeSelect = !isEmpty(themeFilter.options) ? (\n <Select\n borderClassName={style.selectBorder}\n className={style.select}\n theme=\"thematiques\"\n options={themeFilter.options}\n onChange={handleSelectTheme}\n aria-label={ariaLabel}\n />\n ) : null;\n const recommendationSection = !isEmpty(recommendation) ? (\n <div className={style.recommendationWrapper}>\n <p className={style.recommendationSection}>{recommendation.title} </p>\n <p className={style.recommendationSection}>\n <span>{recommendation.subtitle} </span>\n <span\n className={classnames(style.course, style.innerHTML)}\n // eslint-disable-next-line react/no-danger\n dangerouslySetInnerHTML={{__html: recommendation.courseTitle}}\n />\n </p>\n <Button\n type=\"link\"\n onClick={handleClick}\n submitValue={recommendation.cta}\n style={{\n backgroundColor: primary\n }}\n className={style.cta}\n />\n </div>\n ) : null;\n\n return (\n <div className={style.default}>\n <div data-name=\"activity-header\" tabIndex={0}>\n <div className={style.mainTitle} tabIndex={0}>\n <span>{mainTitle}</span> {mainSubtitle}\n </div>\n <div className={style.headerProgression} tabIndex={0}>\n <div className={style.wrapperCta} tabIndex={0}>\n {themeSelect}\n {recommendationSection}\n </div>\n <StarsSummary engines={engines} total={total} />\n </div>\n </div>\n <div className={style.wrapperProgression} data-name=\"activityList\">\n {coreProgression}\n {loader}\n </div>\n </div>\n );\n};\n\nProgression.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nProgression.propTypes = {\n mainTitle: PropTypes.string.isRequired,\n mainSubtitle: PropTypes.string.isRequired,\n adaptiveAriaLabel: PropTypes.string,\n total: PropTypes.shape({\n label: PropTypes.string.isRequired,\n stars: PropTypes.number.isRequired\n }).isRequired,\n engines: PropTypes.arrayOf(PropTypes.shape(EngineStars.propTypes)),\n loading: PropTypes.bool.isRequired,\n progressions: PropTypes.arrayOf(\n PropTypes.shape({...ProgressionItem.propTypes, ref: PropTypes.string.isRequired})\n ),\n themeFilter: PropTypes.shape({\n options: Select.propTypes.options.isRequired,\n onChange: Select.propTypes.onChange\n }),\n recommendation: PropTypes.shape({\n cta: PropTypes.string.isRequired,\n title: PropTypes.string.isRequired,\n subtitle: PropTypes.string.isRequired,\n courseTitle: PropTypes.string.isRequired,\n onClick: PropTypes.func\n }),\n 'aria-label': PropTypes.string\n};\n\nexport default Progression;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,YAAY,GAAGC,YAAA,CAAIC,OAAJ,CAAY;EAACC,GAAG,EAAE;AAAN,CAAZ,CAArB;;AAEA,MAAMC,WAAW,GAAG,CAACC,KAAD,EAAQC,aAAR,KAA0B;EAC5C,MAAM;IACJC,SADI;IAEJC,YAFI;IAGJC,cAAc,GAAG,EAHb;IAIJC,YAAY,GAAG,EAJX;IAKJC,iBALI;IAMJC,KANI;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AgB;IAC3BzB,OAAO,EAAEiC,eAAA,CAAOZ,SAAP,CAAiBrB,OAAjB,CAAyBwB,UADP;IAE3B/C,QAAQ,EAAEwD,eAAA,CAAOZ,SAAP,CAAiB5C;EAFA,CAAhB,CAbS;EAiBtBV,cAAc,EAAEuD,kBAAA,CAAUG,KAAV,CAAgB;IAC9Bb,GAAG,EAAEU,kBAAA,CAAUC,MAAV,CAAiBC,UADQ;IAE9BnB,KAAK,EAAEiB,kBAAA,CAAUC,MAAV,CAAiBC,UAFM;IAG9BlB,QAAQ,EAAEgB,kBAAA,CAAUC,MAAV,CAAiBC,UAHG;IAI9Bb,WAAW,EAAEW,kBAAA,CAAUC,MAAV,CAAiBC,UAJA;IAK9BxC,OAAO,EAAEsC,kBAAA,CAAUY;EALW,CAAhB,CAjBM;EAwBtB,cAAcZ,kBAAA,CAAUC;AAxBF,CAAxB;eA2Be7D,W"}
@@ -46,6 +46,8 @@ declare namespace PlayerLoading {
46
46
  disabled: PropTypes.Requireable<boolean>;
47
47
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
48
48
  description: PropTypes.Requireable<string>;
49
+ 'aria-labelledby': PropTypes.Requireable<string>;
50
+ 'aria-label': PropTypes.Requireable<string>;
49
51
  modified: PropTypes.Requireable<boolean>;
50
52
  titlePosition: PropTypes.Requireable<string>;
51
53
  theme: PropTypes.Requireable<string>;
@@ -95,6 +95,8 @@ declare namespace SlidePlayer {
95
95
  disabled: PropTypes.Requireable<boolean>;
96
96
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
97
97
  description: PropTypes.Requireable<string>;
98
+ 'aria-labelledby': PropTypes.Requireable<string>;
99
+ 'aria-label': PropTypes.Requireable<string>;
98
100
  modified: PropTypes.Requireable<boolean>;
99
101
  titlePosition: PropTypes.Requireable<string>;
100
102
  theme: PropTypes.Requireable<string>;
@@ -146,6 +148,8 @@ declare namespace SlidePlayer {
146
148
  disabled: PropTypes.Requireable<boolean>;
147
149
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
148
150
  description: PropTypes.Requireable<string>;
151
+ 'aria-labelledby': PropTypes.Requireable<string>;
152
+ 'aria-label': PropTypes.Requireable<string>;
149
153
  modified: PropTypes.Requireable<boolean>;
150
154
  titlePosition: PropTypes.Requireable<string>;
151
155
  theme: PropTypes.Requireable<string>;
@@ -103,6 +103,8 @@ declare namespace SlidesPlayer {
103
103
  disabled: PropTypes.Requireable<boolean>;
104
104
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
105
105
  description: PropTypes.Requireable<string>;
106
+ 'aria-labelledby': PropTypes.Requireable<string>;
107
+ 'aria-label': PropTypes.Requireable<string>;
106
108
  modified: PropTypes.Requireable<boolean>;
107
109
  titlePosition: PropTypes.Requireable<string>;
108
110
  theme: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AAgZA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1HD;;uBAUC;;;;;;;;;;;;;;;;;;;;;;;AAnOD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;gBAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhHpF,oEAQC;;;;;;;;;AA6MD;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AAgZA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1HD;;uBAUC;;;;;;;;;;;;;;;;;;;;;;;AAnOD;;;gBAaC;;;;;;;;;;;;;AAyDD;;;gBAAoF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAhHpF,oEAQC;;;;;;;;;AA6MD;;gBAiBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -129,6 +129,8 @@ declare class PopinCorrection extends React.Component<any, any, any> {
129
129
  disabled: PropTypes.Requireable<boolean>;
130
130
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
131
131
  description: PropTypes.Requireable<string>;
132
+ 'aria-labelledby': PropTypes.Requireable<string>;
133
+ 'aria-label': PropTypes.Requireable<string>;
132
134
  modified: PropTypes.Requireable<boolean>;
133
135
  titlePosition: PropTypes.Requireable<string>;
134
136
  theme: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/app-player/popin-correction/index.js"],"names":[],"mappings":";AAmGA;IACE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAmBE;IAEF;;;;;;;;;;;;;;;;;;;;;;MAEE;IAEF,wBAIC;IAFC;;MAA0B;IAkB5B,gCAEC;IAhBD,0BAEC;IAED,kBAQC;IALC,gCAIE;IAIF,aAAsB;IAGxB,sBAsEC;CACF"}
@@ -170,6 +170,8 @@ declare namespace PopinEnd {
170
170
  disabled: PropTypes.Requireable<boolean>;
171
171
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
172
172
  description: PropTypes.Requireable<string>;
173
+ 'aria-labelledby': PropTypes.Requireable<string>;
174
+ 'aria-label': PropTypes.Requireable<string>;
173
175
  modified: PropTypes.Requireable<boolean>;
174
176
  titlePosition: PropTypes.Requireable<string>;
175
177
  theme: PropTypes.Requireable<string>;
@@ -548,6 +548,8 @@ declare const AppReview: {
548
548
  disabled: import("prop-types").Requireable<boolean>;
549
549
  onChange: import("prop-types").Requireable<(...args: any[]) => any>;
550
550
  description: import("prop-types").Requireable<string>;
551
+ 'aria-labelledby': import("prop-types").Requireable<string>;
552
+ 'aria-label': import("prop-types").Requireable<string>;
551
553
  modified: import("prop-types").Requireable<boolean>;
552
554
  titlePosition: import("prop-types").Requireable<string>;
553
555
  theme: import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -548,6 +548,8 @@ declare const propTypes: {
548
548
  disabled: PropTypes.Requireable<boolean>;
549
549
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
550
550
  description: PropTypes.Requireable<string>;
551
+ 'aria-labelledby': PropTypes.Requireable<string>;
552
+ 'aria-label': PropTypes.Requireable<string>;
551
553
  modified: PropTypes.Requireable<boolean>;
552
554
  titlePosition: PropTypes.Requireable<string>;
553
555
  theme: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,kCAAkC,CAAC;AAC9D,OAAgC,EAC9B,mBAAmB,EACpB,MAAM,8CAA8C,CAAC;AAEtD,OAA8B,EAAC,WAAW,EAAC,MAAM,uCAAuC,CAAC;AAEzF,OAA+B,EAC7B,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,CAAC;IACxB,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -552,6 +552,8 @@ declare const propTypes: {
552
552
  disabled: PropTypes.Requireable<boolean>;
553
553
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
554
554
  description: PropTypes.Requireable<string>;
555
+ 'aria-labelledby': PropTypes.Requireable<string>;
556
+ 'aria-label': PropTypes.Requireable<string>;
555
557
  modified: PropTypes.Requireable<boolean>;
556
558
  titlePosition: PropTypes.Requireable<string>;
557
559
  theme: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,c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AAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -188,6 +188,8 @@ declare namespace BrandUpdate {
188
188
  disabled: PropTypes.Requireable<boolean>;
189
189
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
190
190
  description: PropTypes.Requireable<string>;
191
+ 'aria-labelledby': PropTypes.Requireable<string>;
192
+ 'aria-label': PropTypes.Requireable<string>;
191
193
  modified: PropTypes.Requireable<boolean>;
192
194
  titlePosition: PropTypes.Requireable<string>;
193
195
  theme: PropTypes.Requireable<string>;
@@ -241,6 +243,7 @@ declare namespace BrandUpdate {
241
243
  modified: PropTypes.Requireable<boolean>;
242
244
  error: PropTypes.Requireable<boolean>;
243
245
  'aria-label': PropTypes.Requireable<string>;
246
+ 'aria-labelledby': PropTypes.Requireable<string>;
244
247
  }> | PropTypes.InferProps<{
245
248
  type: PropTypes.Requireable<string>;
246
249
  title: PropTypes.Validator<string>;
@@ -320,6 +323,8 @@ declare namespace BrandUpdate {
320
323
  disabled: PropTypes.Requireable<boolean>;
321
324
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
322
325
  description: PropTypes.Requireable<string>;
326
+ 'aria-labelledby': PropTypes.Requireable<string>;
327
+ 'aria-label': PropTypes.Requireable<string>;
323
328
  modified: PropTypes.Requireable<boolean>;
324
329
  titlePosition: PropTypes.Requireable<string>;
325
330
  theme: PropTypes.Requireable<string>;
@@ -356,6 +361,7 @@ declare namespace BrandUpdate {
356
361
  modified: PropTypes.Requireable<boolean>;
357
362
  error: PropTypes.Requireable<boolean>;
358
363
  'aria-label': PropTypes.Requireable<string>;
364
+ 'aria-labelledby': PropTypes.Requireable<string>;
359
365
  }> | PropTypes.InferProps<{
360
366
  type: PropTypes.Requireable<string>;
361
367
  title: PropTypes.Validator<string>;
@@ -460,6 +466,8 @@ declare namespace BrandUpdate {
460
466
  disabled: PropTypes.Requireable<boolean>;
461
467
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
462
468
  description: PropTypes.Requireable<string>;
469
+ 'aria-labelledby': PropTypes.Requireable<string>;
470
+ 'aria-label': PropTypes.Requireable<string>;
463
471
  modified: PropTypes.Requireable<boolean>;
464
472
  titlePosition: PropTypes.Requireable<string>;
465
473
  theme: PropTypes.Requireable<string>;
@@ -834,6 +842,8 @@ declare namespace BrandUpdate {
834
842
  disabled: PropTypes.Requireable<boolean>;
835
843
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
836
844
  description: PropTypes.Requireable<string>;
845
+ 'aria-labelledby': PropTypes.Requireable<string>;
846
+ 'aria-label': PropTypes.Requireable<string>;
837
847
  modified: PropTypes.Requireable<boolean>;
838
848
  titlePosition: PropTypes.Requireable<string>;
839
849
  theme: PropTypes.Requireable<string>;
@@ -887,6 +897,7 @@ declare namespace BrandUpdate {
887
897
  modified: PropTypes.Requireable<boolean>;
888
898
  error: PropTypes.Requireable<boolean>;
889
899
  'aria-label': PropTypes.Requireable<string>;
900
+ 'aria-labelledby': PropTypes.Requireable<string>;
890
901
  }> | PropTypes.InferProps<{
891
902
  type: PropTypes.Requireable<string>;
892
903
  title: PropTypes.Validator<string>;
@@ -966,6 +977,8 @@ declare namespace BrandUpdate {
966
977
  disabled: PropTypes.Requireable<boolean>;
967
978
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
968
979
  description: PropTypes.Requireable<string>;
980
+ 'aria-labelledby': PropTypes.Requireable<string>;
981
+ 'aria-label': PropTypes.Requireable<string>;
969
982
  modified: PropTypes.Requireable<boolean>;
970
983
  titlePosition: PropTypes.Requireable<string>;
971
984
  theme: PropTypes.Requireable<string>;
@@ -1002,6 +1015,7 @@ declare namespace BrandUpdate {
1002
1015
  modified: PropTypes.Requireable<boolean>;
1003
1016
  error: PropTypes.Requireable<boolean>;
1004
1017
  'aria-label': PropTypes.Requireable<string>;
1018
+ 'aria-labelledby': PropTypes.Requireable<string>;
1005
1019
  }> | PropTypes.InferProps<{
1006
1020
  type: PropTypes.Requireable<string>;
1007
1021
  title: PropTypes.Validator<string>;
@@ -1106,6 +1120,8 @@ declare namespace BrandUpdate {
1106
1120
  disabled: PropTypes.Requireable<boolean>;
1107
1121
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
1108
1122
  description: PropTypes.Requireable<string>;
1123
+ 'aria-labelledby': PropTypes.Requireable<string>;
1124
+ 'aria-label': PropTypes.Requireable<string>;
1109
1125
  modified: PropTypes.Requireable<boolean>;
1110
1126
  titlePosition: PropTypes.Requireable<string>;
1111
1127
  theme: PropTypes.Requireable<string>;
@@ -1561,6 +1577,8 @@ declare namespace BrandUpdate {
1561
1577
  disabled: PropTypes.Requireable<boolean>;
1562
1578
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
1563
1579
  description: PropTypes.Requireable<string>;
1580
+ 'aria-labelledby': PropTypes.Requireable<string>;
1581
+ 'aria-label': PropTypes.Requireable<string>;
1564
1582
  modified: PropTypes.Requireable<boolean>;
1565
1583
  titlePosition: PropTypes.Requireable<string>;
1566
1584
  theme: PropTypes.Requireable<string>;
@@ -47,6 +47,8 @@ declare namespace Dashboard {
47
47
  disabled: PropTypes.Requireable<boolean>;
48
48
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
49
49
  description: PropTypes.Requireable<string>;
50
+ 'aria-labelledby': PropTypes.Requireable<string>;
51
+ 'aria-label': PropTypes.Requireable<string>;
50
52
  modified: PropTypes.Requireable<boolean>;
51
53
  titlePosition: PropTypes.Requireable<string>;
52
54
  theme: PropTypes.Requireable<string>;
@@ -67,6 +67,7 @@ declare namespace SearchPage {
67
67
  modified: PropTypes.Requireable<boolean>;
68
68
  error: PropTypes.Requireable<boolean>;
69
69
  'aria-label': PropTypes.Requireable<string>;
70
+ 'aria-labelledby': PropTypes.Requireable<string>;
70
71
  }>>;
71
72
  onSearch: PropTypes.Requireable<(...args: any[]) => any>;
72
73
  onToggleFilters: PropTypes.Requireable<(...args: any[]) => any>;
@@ -74,6 +75,7 @@ declare namespace SearchPage {
74
75
  moreSortAriaLabel: PropTypes.Requireable<string>;
75
76
  moreFilterAriaLabel: PropTypes.Requireable<string>;
76
77
  filterGroupAriaLabel: PropTypes.Requireable<string>;
78
+ sortAriaLabel: PropTypes.Requireable<string>;
77
79
  }>>;
78
80
  const cards: PropTypes.Requireable<PropTypes.InferProps<{
79
81
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
@@ -111,6 +113,7 @@ declare namespace SearchPage {
111
113
  const moreSortAriaLabel: PropTypes.Requireable<string>;
112
114
  const moreFilterAriaLabel: PropTypes.Requireable<string>;
113
115
  const filterGroupAriaLabel: PropTypes.Requireable<string>;
116
+ const sortAriaLabel: PropTypes.Requireable<string>;
114
117
  }
115
118
  }
116
119
  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,mEAsDC"}
@@ -37,7 +37,8 @@ const SearchPage = (props, context) => {
37
37
  recommendations,
38
38
  moreSortAriaLabel,
39
39
  moreFilterAriaLabel,
40
- filterGroupAriaLabel
40
+ filterGroupAriaLabel,
41
+ sortAriaLabel
41
42
  } = props;
42
43
  const {
43
44
  skin
@@ -59,7 +60,8 @@ const SearchPage = (props, context) => {
59
60
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_filters.default, _extends({}, searchFilters, {
60
61
  moreSortAriaLabel: moreSortAriaLabel,
61
62
  moreFilterAriaLabel: moreFilterAriaLabel,
62
- filterGroupAriaLabel: filterGroupAriaLabel
63
+ filterGroupAriaLabel: filterGroupAriaLabel,
64
+ sortAriaLabel: sortAriaLabel
63
65
  })), /*#__PURE__*/_react.default.createElement("div", {
64
66
  "data-name": "searchResult",
65
67
  className: _style.default.cardsWrapper
@@ -81,7 +83,8 @@ SearchPage.propTypes = process.env.NODE_ENV !== "production" ? {
81
83
  recommendations: _propTypes.default.shape(_cardsList.default.propTypes),
82
84
  moreSortAriaLabel: _propTypes.default.string,
83
85
  moreFilterAriaLabel: _propTypes.default.string,
84
- filterGroupAriaLabel: _propTypes.default.string
86
+ filterGroupAriaLabel: _propTypes.default.string,
87
+ sortAriaLabel: _propTypes.default.string
85
88
  } : {};
86
89
  var _default = SearchPage;
87
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","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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AEY,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","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,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,KAAV,CAAgBC,gBAAA,CAAQJ,SAAxB,CAHM;EAIrBtB,KAAK,EAAEuB,kBAAA,CAAUE,KAAV,CAAgBE,kBAAA,CAAUL,SAA1B,CAJc;EAKrBpB,YAAY,EAAEqB,kBAAA,CAAUE,KAAV,CAAgBG,eAAA,CAAON,SAAvB,CALO;EAMrBnB,eAAe,EAAEoB,kBAAA,CAAUE,KAAV,CAAgBI,kBAAA,CAAUP,SAA1B,CANI;EAOrBlB,iBAAiB,EAAEmB,kBAAA,CAAUC,MAPR;EAQrBnB,mBAAmB,EAAEkB,kBAAA,CAAUC,MARV;EASrBlB,oBAAoB,EAAEiB,kBAAA,CAAUC,MATX;EAUrBjB,aAAa,EAAEgB,kBAAA,CAAUC;AAVJ,CAAvB;eAae7B,U"}
@@ -13,8 +13,6 @@ declare namespace TeamsDashboard {
13
13
  href: PropTypes.Requireable<string>;
14
14
  'aria-label': PropTypes.Requireable<string>;
15
15
  'button-aria-label': PropTypes.Requireable<string>;
16
- toolTipText: PropTypes.Requireable<string>;
17
- closeToolTipInformationTextAriaLabel: PropTypes.Requireable<string>;
18
16
  }>>;
19
17
  const platformLinks: PropTypes.Requireable<(PropTypes.InferProps<{
20
18
  submitValue: PropTypes.Requireable<PropTypes.ReactNodeLike>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coorpacademy/components",
3
- "version": "11.9.3-alpha.25.24+9237e0cf4",
3
+ "version": "11.9.3-alpha.30+f917e45c8",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -56,7 +56,7 @@
56
56
  "Soualmi Djamel <djamel.soualmi@coorpacademy.com>"
57
57
  ],
58
58
  "dependencies": {
59
- "@coorpacademy/nova-icons": "4.1.3-alpha.25.182+9237e0cf4",
59
+ "@coorpacademy/nova-icons": "4.1.2",
60
60
  "@coorpacademy/react-native-animation": "1.0.3",
61
61
  "@jwplayer/jwplayer-react": "^1.1.0",
62
62
  "@types/react": "^17.0.50",
@@ -161,5 +161,5 @@
161
161
  "last 2 versions",
162
162
  "IE 11"
163
163
  ],
164
- "gitHead": "9237e0cf4a3596e9281bfdf384123efa5ca83fad"
164
+ "gitHead": "f917e45c855b7dd85985f2b15fbe4d15ca754015"
165
165
  }