@coorpacademy/components 11.32.11 → 11.32.12-alpha.0

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 (90) hide show
  1. package/es/atom/select/index.d.ts.map +1 -1
  2. package/es/atom/select/index.js +2 -1
  3. package/es/atom/select/index.js.map +1 -1
  4. package/es/atom/select/style.css +28 -0
  5. package/es/molecule/cm-popin/types.d.ts +1 -0
  6. package/es/molecule/cm-popin/types.d.ts.map +1 -1
  7. package/es/organism/cards-grid/index.d.ts +1 -0
  8. package/es/organism/cards-grid/index.js +6 -1
  9. package/es/organism/cards-grid/index.js.map +1 -1
  10. package/es/organism/cards-grid/style.css +0 -1
  11. package/es/template/app-player/loading/index.d.ts +1 -0
  12. package/es/template/app-player/player/index.d.ts +2 -0
  13. package/es/template/app-player/player/slides/index.d.ts +1 -0
  14. package/es/template/app-player/player/slides/index.d.ts.map +1 -1
  15. package/es/template/app-player/popin-correction/index.d.ts +1 -0
  16. package/es/template/app-player/popin-correction/index.d.ts.map +1 -1
  17. package/es/template/app-player/popin-end/index.d.ts +1 -0
  18. package/es/template/app-review/index.d.ts +1 -0
  19. package/es/template/app-review/index.d.ts.map +1 -1
  20. package/es/template/app-review/player/prop-types.d.ts +1 -0
  21. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  22. package/es/template/app-review/prop-types.d.ts +1 -0
  23. package/es/template/app-review/prop-types.d.ts.map +1 -1
  24. package/es/template/back-office/brand-update/index.d.ts +1 -0
  25. package/es/template/common/authors/index.d.ts +1 -0
  26. package/es/template/common/authors/index.d.ts.map +1 -1
  27. package/es/template/common/dashboard/index.d.ts +2 -0
  28. package/es/template/common/search-page/index.d.ts +2 -0
  29. package/es/template/external-course/index.d.ts +1 -0
  30. package/es/template/skill-detail/all-courses.css +89 -0
  31. package/es/template/skill-detail/all-courses.d.ts +77 -0
  32. package/es/template/skill-detail/all-courses.d.ts.map +1 -0
  33. package/es/template/skill-detail/all-courses.js +168 -0
  34. package/es/template/skill-detail/all-courses.js.map +1 -0
  35. package/es/template/skill-detail/continue-learning.css +21 -0
  36. package/es/template/skill-detail/continue-learning.d.ts +37 -0
  37. package/es/template/skill-detail/continue-learning.d.ts.map +1 -0
  38. package/es/template/skill-detail/continue-learning.js +40 -0
  39. package/es/template/skill-detail/continue-learning.js.map +1 -0
  40. package/es/template/skill-detail/index.d.ts +95 -0
  41. package/es/template/skill-detail/index.d.ts.map +1 -0
  42. package/es/template/skill-detail/index.js +219 -0
  43. package/es/template/skill-detail/index.js.map +1 -0
  44. package/es/template/skill-detail/style.css +163 -0
  45. package/lib/atom/select/index.d.ts.map +1 -1
  46. package/lib/atom/select/index.js +2 -1
  47. package/lib/atom/select/index.js.map +1 -1
  48. package/lib/atom/select/style.css +28 -0
  49. package/lib/molecule/cm-popin/types.d.ts +1 -0
  50. package/lib/molecule/cm-popin/types.d.ts.map +1 -1
  51. package/lib/organism/cards-grid/index.d.ts +1 -0
  52. package/lib/organism/cards-grid/index.js +6 -1
  53. package/lib/organism/cards-grid/index.js.map +1 -1
  54. package/lib/organism/cards-grid/style.css +0 -1
  55. package/lib/template/app-player/loading/index.d.ts +1 -0
  56. package/lib/template/app-player/player/index.d.ts +2 -0
  57. package/lib/template/app-player/player/slides/index.d.ts +1 -0
  58. package/lib/template/app-player/player/slides/index.d.ts.map +1 -1
  59. package/lib/template/app-player/popin-correction/index.d.ts +1 -0
  60. package/lib/template/app-player/popin-correction/index.d.ts.map +1 -1
  61. package/lib/template/app-player/popin-end/index.d.ts +1 -0
  62. package/lib/template/app-review/index.d.ts +1 -0
  63. package/lib/template/app-review/index.d.ts.map +1 -1
  64. package/lib/template/app-review/player/prop-types.d.ts +1 -0
  65. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  66. package/lib/template/app-review/prop-types.d.ts +1 -0
  67. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  68. package/lib/template/back-office/brand-update/index.d.ts +1 -0
  69. package/lib/template/common/authors/index.d.ts +1 -0
  70. package/lib/template/common/authors/index.d.ts.map +1 -1
  71. package/lib/template/common/dashboard/index.d.ts +2 -0
  72. package/lib/template/common/search-page/index.d.ts +2 -0
  73. package/lib/template/external-course/index.d.ts +1 -0
  74. package/lib/template/skill-detail/all-courses.css +89 -0
  75. package/lib/template/skill-detail/all-courses.d.ts +77 -0
  76. package/lib/template/skill-detail/all-courses.d.ts.map +1 -0
  77. package/lib/template/skill-detail/all-courses.js +187 -0
  78. package/lib/template/skill-detail/all-courses.js.map +1 -0
  79. package/lib/template/skill-detail/continue-learning.css +21 -0
  80. package/lib/template/skill-detail/continue-learning.d.ts +37 -0
  81. package/lib/template/skill-detail/continue-learning.d.ts.map +1 -0
  82. package/lib/template/skill-detail/continue-learning.js +52 -0
  83. package/lib/template/skill-detail/continue-learning.js.map +1 -0
  84. package/lib/template/skill-detail/index.d.ts +95 -0
  85. package/lib/template/skill-detail/index.d.ts.map +1 -0
  86. package/lib/template/skill-detail/index.js +241 -0
  87. package/lib/template/skill-detail/index.js.map +1 -0
  88. package/lib/template/skill-detail/style.css +163 -0
  89. package/locales/en/global.json +7 -0
  90. package/package.json +2 -2
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["React","useCallback","useState","PropTypes","convert","classnames","Provider","Select","SelectOptionPropTypes","ButtonLink","Icon","CardsGrid","style","AllCourses","ContinueLearning","ContinueLearningButton","props","context","hovered","setHovered","onClick","skin","translate","primarySkinColor","handleMouseOver","handleMouseLeave","width","borderRadius","backgroundColor","position","faIcon","name","color","size","contextTypes","childContextTypes","propTypes","func","SkillDetail","title","description","metrics","focused","availableForReview","ongoingCourses","skillIncludedCourses","filters","sorting","onBackClick","onReviewClick","onContinueLearningClick","score","content","questionsToReview","contentCompleted","showMore","setShowMore","handleShowMore","Description","truncate","ProgressBar","undefined","progressBarColor","inlineProgressValueStyle","progressBarWrapper","progress","backgroundContainer","container","backButtonWrapper","faSize","wrapperSize","ctaContainer","skillFocusBadge","length","showMoreWrapper","ctaWrapper","progressInformationsWrapper","progressTitle","skillCoursesAndQuestionsWrapper","skillInformation","skillInformationNumber","progressInformations","progressInformation","progressInformationNumber","string","isRequired","shape","number","bool","onChange","options","arrayOf"],"sources":["../../../src/template/skill-detail/index.js"],"sourcesContent":["import React, {useCallback, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport {convert} from 'css-color-function';\nimport classnames from 'classnames';\nimport {get} from 'lodash/fp';\nimport Provider from '../../atom/provider';\nimport Select, {SelectOptionPropTypes} from '../../atom/select';\nimport ButtonLink from '../../atom/button-link';\nimport Icon from '../../atom/icon';\nimport CardsGrid from '../../organism/cards-grid';\nimport style from './style.css';\nimport AllCourses from './all-courses';\nimport ContinueLearning from './continue-learning';\n\nconst ContinueLearningButton = (props, context) => {\n const [hovered, setHovered] = useState(false);\n const {onClick} = props;\n const {skin, translate} = context;\n const primarySkinColor = get('common.primary', skin);\n\n const handleMouseOver = useCallback(() => setHovered(true), [setHovered]);\n\n const handleMouseLeave = useCallback(() => setHovered(false), [setHovered]);\n\n return (\n <div onMouseOver={handleMouseOver} onMouseLeave={handleMouseLeave}>\n <ButtonLink\n label={translate('continue_learning')}\n type=\"primary\"\n customStyle={{\n width: 'fit-content',\n borderRadius: '12px',\n backgroundColor: hovered\n ? convert(`hsl(from ${primarySkinColor} h s calc(l*(1 - 0.08)))`)\n : primarySkinColor\n }}\n icon={{\n position: 'left',\n faIcon: {\n name: 'play',\n color: '#FFFFFF',\n size: 16\n }\n }}\n onClick={onClick}\n />\n </div>\n );\n};\n\nContinueLearningButton.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nContinueLearningButton.propTypes = {\n onClick: PropTypes.func\n};\n\nconst SkillDetail = (props, context) => {\n const {\n title,\n description,\n metrics,\n focused,\n availableForReview,\n ongoingCourses,\n skillIncludedCourses,\n filters,\n sorting,\n onBackClick,\n onReviewClick,\n onContinueLearningClick\n } = props;\n const {score, content, questionsToReview, contentCompleted = 0} = metrics;\n const {translate} = context;\n\n const [showMore, setShowMore] = useState(false);\n\n const handleShowMore = useCallback(() => setShowMore(!showMore), [setShowMore, showMore]);\n\n const Description = useCallback(() => {\n return (\n <div className={classnames(style.description, !showMore && style.truncate)}>\n {description}\n </div>\n );\n });\n\n const ProgressBar = useCallback(() => {\n if (score === undefined) return null;\n const progressBarColor = '#3EC483';\n const inlineProgressValueStyle = {\n backgroundColor: progressBarColor,\n width: `${score}%`\n };\n\n return (\n <div className={style.progressBarWrapper}>\n <div\n data-name=\"progress\"\n className={style.progress}\n style={inlineProgressValueStyle}\n role=\"progressbar\"\n />\n </div>\n );\n }, [score]);\n\n return (\n <div className={style.backgroundContainer}>\n <div className={style.container}>\n <div className={style.backButtonWrapper} onClick={onBackClick}>\n <Icon\n iconName=\"arrow-left\"\n size={{\n faSize: 14,\n wrapperSize: 14\n }}\n />\n </div>\n <div className={style.ctaContainer}>\n <div>\n {focused ? (\n <div className={style.skillFocusBadge}>\n <Icon\n iconName=\"bullseye-arrow\"\n backgroundColor=\"#DDD1FF\"\n size={{\n faSize: 10,\n wrapperSize: 16\n }}\n />\n {translate('skill_focus')}\n </div>\n ) : null}\n <div className={style.title}>{title}</div>\n {description ? (\n <>\n <Description />\n {description.length >= 226 ? (\n <div className={style.showMoreWrapper} onClick={handleShowMore}>\n {showMore ? translate('Show less') : translate('Show more')}\n <Icon\n iconName={showMore ? 'chevron-up' : 'chevron-down'}\n size={{\n faSize: 14,\n wrapperSize: 16\n }}\n />\n </div>\n ) : null}\n </>\n ) : null}\n </div>\n\n <div className={style.ctaWrapper}>\n <ButtonLink\n type=\"secondary\"\n onClick={onReviewClick}\n label={translate('review_this_skill')}\n disabled={!availableForReview}\n customStyle={{\n width: 'fit-content',\n borderRadius: '12px'\n }}\n />\n <ContinueLearningButton onClick={onContinueLearningClick} />\n </div>\n </div>\n <div className={style.progressInformationsWrapper}>\n <div className={style.progressTitle}>{translate('your_progress')}</div>\n <div className={style.skillCoursesAndQuestionsWrapper}>\n {content ? (\n <div className={style.skillInformation} data-name=\"skill-courses\">\n <span className={style.skillInformationNumber}>{content}</span>{' '}\n {translate('courses')}\n </div>\n ) : null}\n {questionsToReview ? (\n <div className={style.skillInformation} data-name=\"skill-questions\">\n <span className={style.skillInformationNumber}>{questionsToReview}</span>\n &nbsp;{translate('questions')}\n </div>\n ) : null}\n </div>\n <ProgressBar />\n <div className={style.progressInformations}>\n {content && (\n <>\n <div className={style.progressInformation} data-name=\"skill-completed-courses\">\n <span className={style.progressInformationNumber}>{contentCompleted}</span>\n {` ${translate('courses_completed')}`}\n </div>\n <div className={style.progressInformation} data-name=\"completed-percentage\">\n <span className={style.progressInformationNumber}>{score}%</span>\n </div>\n </>\n )}\n </div>\n </div>\n <ContinueLearning ongoingCourses={ongoingCourses} />\n <AllCourses\n skillIncludedCourses={skillIncludedCourses}\n filters={filters}\n sorting={sorting}\n />\n </div>\n </div>\n );\n};\n\nSkillDetail.contextTypes = {\n skin: Provider.childContextTypes.skin,\n translate: Provider.childContextTypes.translate\n};\n\nSkillDetail.propTypes = {\n title: PropTypes.string.isRequired,\n description: PropTypes.string,\n metrics: PropTypes.shape({\n score: PropTypes.number,\n content: PropTypes.number,\n questionsToReview: PropTypes.number,\n contentCompleted: PropTypes.number\n }),\n focused: PropTypes.bool,\n availableForReview: PropTypes.bool,\n ongoingCourses: PropTypes.shape(CardsGrid.propTypes),\n skillIncludedCourses: PropTypes.shape(CardsGrid.propTypes),\n filters: PropTypes.shape({\n onChange: PropTypes.func,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n }),\n sorting: PropTypes.shape(Select.propTypes),\n onBackClick: PropTypes.func,\n onReviewClick: PropTypes.func,\n onContinueLearningClick: PropTypes.func\n};\n\nexport default SkillDetail;\n"],"mappings":";AAAA,OAAOA,KAAP,IAAeC,WAAf,EAA4BC,QAA5B,QAA2C,OAA3C;AACA,OAAOC,SAAP,MAAsB,YAAtB;AACA,SAAQC,OAAR,QAAsB,oBA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,IAVR;EAWtB5C,cAAc,EAAEzC,SAAS,CAACmF,KAAV,CAAgB3E,SAAS,CAACyB,SAA1B,CAXM;EAYtBS,oBAAoB,EAAE1C,SAAS,CAACmF,KAAV,CAAgB3E,SAAS,CAACyB,SAA1B,CAZA;EAatBU,OAAO,EAAE3C,SAAS,CAACmF,KAAV,CAAgB;IACvBG,QAAQ,EAAEtF,SAAS,CAACkC,IADG;IAEvBqD,OAAO,EAAEvF,SAAS,CAACwF,OAAV,CAAkBxF,SAAS,CAACmF,KAAV,CAAgB9E,qBAAhB,CAAlB;EAFc,CAAhB,CAba;EAiBtBuC,OAAO,EAAE5C,SAAS,CAACmF,KAAV,CAAgB/E,MAAM,CAAC6B,SAAvB,CAjBa;EAkBtBY,WAAW,EAAE7C,SAAS,CAACkC,IAlBD;EAmBtBY,aAAa,EAAE9C,SAAS,CAACkC,IAnBH;EAoBtBa,uBAAuB,EAAE/C,SAAS,CAACkC;AApBb,CAAxB;AAuBA,eAAeC,WAAf"}
@@ -0,0 +1,163 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value tablet from breakpoints;
4
+ @value xtraLightGrey from colors;
5
+ @value cm_grey_100 from colors;
6
+ @value cm_grey_200 from colors;
7
+ @value cm_grey_400 from colors;
8
+
9
+ .textBase {
10
+ font-family: "Gilroy";
11
+ font-style: normal;
12
+ }
13
+
14
+ .backgroundContainer {
15
+ background-color: white;
16
+ min-height: 100%;
17
+ width: 100%;
18
+ }
19
+
20
+ .container {
21
+ composes: textBase;
22
+ background-color: white;
23
+ font-family: "Gilroy";
24
+ font-style: normal;
25
+ margin-top: 48px;
26
+ margin-bottom: 48px;
27
+ margin-left: auto;
28
+ margin-right: auto;
29
+ padding: 0 16px;
30
+ position: relative;
31
+ box-sizing: border-box;
32
+ min-height: 100%;
33
+ width: 100%;
34
+ max-width: calc(1080px + 40px);
35
+ }
36
+
37
+ .backButtonWrapper {
38
+ margin-bottom: 16px;
39
+ background-color: cm_grey_100;
40
+ border-radius: 8px;
41
+ width: fit-content;
42
+ padding: 8px;
43
+ cursor: pointer;
44
+ }
45
+
46
+ .ctaContainer {
47
+ display: flex;
48
+ width: 100%;
49
+ justify-content: space-between;
50
+ }
51
+
52
+ .skillFocusBadge {
53
+ display: flex;
54
+ height: 12px;
55
+ width: fit-content;
56
+ align-items: center;
57
+ background-color: #DDD1FF;
58
+ border-radius: 24px;
59
+ padding: 4px 8px;
60
+ font-size: 12px;
61
+ line-height: 16px;
62
+ font-weight: 600;
63
+ color: #3900D6;
64
+ margin-bottom: 16px;
65
+ }
66
+
67
+ .ctaWrapper,
68
+ .showMoreWrapper {
69
+ display: flex;
70
+ gap: 8px;
71
+ }
72
+
73
+ .showMoreWrapper {
74
+ align-items: center;
75
+ margin-top: 8px;
76
+ font-weight: 600;
77
+ cursor: pointer;
78
+ }
79
+
80
+ .title {
81
+ font-size: 24px;
82
+ font-weight: 700;
83
+ line-height: 32px;
84
+ }
85
+
86
+ .description {
87
+ margin-top: 8px;
88
+ max-width: 734px;
89
+ font-size: 14px;
90
+ font-weight: 500;
91
+ line-height: 20px;
92
+ color: cm_grey_400;
93
+ }
94
+
95
+ .truncate {
96
+ display: -webkit-box;
97
+ -webkit-line-clamp: 2;
98
+ -webkit-box-orient: vertical;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+ }
102
+
103
+ .progressInformationsWrapper {
104
+ margin-top: 40px;
105
+ background-color: xtraLightGrey;
106
+ border-radius: 16px;
107
+ padding: 24px;
108
+ }
109
+
110
+ .progressTitle {
111
+ font-size: 16px;
112
+ font-weight: 600;
113
+ line-height: 22px;
114
+ margin-bottom: 16px;
115
+ }
116
+
117
+ .skillCoursesAndQuestionsWrapper,
118
+ .progressInformations {
119
+ display: flex;
120
+ justify-content: space-between;
121
+ margin-bottom: 8px;
122
+ }
123
+
124
+ .skillInformation,
125
+ .progressInformation {
126
+ composes: textBase;
127
+ font-weight: 600;
128
+ font-size: 14px;
129
+ line-height: 20px;
130
+ color: cm_grey_400;
131
+ }
132
+
133
+ .skillInformationNumber,
134
+ .progressInformationNumber {
135
+ color: #000;
136
+ }
137
+
138
+ .progressBarWrapper {
139
+ position: relative;
140
+ left: 0;
141
+ width: 100%;
142
+ height: 4px;
143
+ border-radius: 2px;
144
+ overflow: hidden;
145
+ background-color: cm_grey_100;
146
+ margin: 16px 0;
147
+ }
148
+
149
+ .progress {
150
+ display: block;
151
+ height: 8px;
152
+ animation: progressbar 2s ease-in-out;
153
+ }
154
+
155
+ @media tablet {
156
+ .ctaContainer {
157
+ flex-direction: column;
158
+ }
159
+
160
+ .ctaWrapper {
161
+ margin-top: 32px;
162
+ }
163
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/select/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAuDA,qEA2LC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atom/select/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAwDA,qEAkMC"}
@@ -57,6 +57,7 @@ const themeStyle = {
57
57
  thematiques: _style.default.thematiques,
58
58
  player: _style.default.player,
59
59
  template: _style.default.template,
60
+ skillDetail: _style.default.skillDetail,
60
61
  coorpmanager: null
61
62
  };
62
63
 
@@ -167,7 +168,7 @@ const Select = (props, legacyContext) => {
167
168
  }, titleView, /*#__PURE__*/_react.default.createElement("span", {
168
169
  "data-testid": "select-span",
169
170
  "data-name": "select-span",
170
- className: (0, _classnames.default)(_style.default.selectSpan, (0, _includes.default)(theme, ['player', 'invalid', 'question', 'thematiques', 'template']) ? _style.default.noLabelCommon : null, borderClassName, isLongLabel ? _style.default.longLabel : null),
171
+ className: (0, _classnames.default)(_style.default.selectSpan, (0, _includes.default)(theme, ['player', 'invalid', 'question', 'thematiques', 'template', 'skillDetail']) ? _style.default.noLabelCommon : null, borderClassName, isLongLabel ? _style.default.longLabel : null),
171
172
  style: _extends({}, shouldUseSkinFontColor && {
172
173
  color
173
174
  })
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["themeStyle","filter","style","invalid","header","mooc","question","sort","thematiques","player","template","coorpmanager","ArrowView","shouldRender","isArrowUp","ariaLabel","arrowClass","arrowColor","props","useMemo","color","className","Select","legacyContext","name","options","optgroups","borderClassName","onChange","multiple","disabled","required","description","theme","modified","error","title","propTitle","ariaLabelledBy","skin","GetSkinFromContext","setIsArrowUp","useState","handleSelectOnFocus","useCallback","handleSelectOnBlur","selectOption","option","index","value","optionList","isEmpty","map","optgroup","label","i","titleView","selected","get","find","concat","flatMapDeep","selectedLabel","isSelectedInValidOption","getOr","validOption","handleChange","e","target","selectedOptions","black","isThemeOneOfQuestionTemplateOrPlayer","includes","shouldUseSkinFontColor","undefined","behaviorClassName","getClassState","default","composedClassName","classnames","unselected","labelSize","size","isLongLabel","selectWrapper","selectSpan","noLabelCommon","longLabel","selectedArrow","arrow","selectBox","SelectOptionPropTypes","PropTypes","string","isRequired","oneOfType","number","bool","SelectOptionGroupPropTypes","arrayOf","shape","contextTypes","Provider","childContextTypes","propTypes","func","oneOf","keys"],"sources":["../../../src/atom/select/index.js"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport concat from 'lodash/fp/concat';\nimport filter from 'lodash/fp/filter';\nimport find from 'lodash/fp/find';\nimport flatMapDeep from 'lodash/fp/flatMapDeep';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport includes from 'lodash/fp/includes';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport keys from 'lodash/fp/keys';\nimport map from 'lodash/fp/map';\nimport size from 'lodash/fp/size';\nimport {\n NovaCompositionNavigationArrowDown as ArrowDown,\n NovaCompositionNavigationArrowTop as ArrowUp\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetSkinFromContext} from '../provider';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst themeStyle = {\n filter: style.filter,\n invalid: style.invalid,\n header: style.header,\n mooc: style.mooc,\n question: style.question,\n sort: style.sort,\n thematiques: style.thematiques,\n player: style.player,\n template: style.template,\n coorpmanager: null\n};\n\nconst ArrowView = ({shouldRender, isArrowUp, ariaLabel, arrowClass, arrowColor}) => {\n const props = useMemo(\n () => ({\n ...(arrowColor &\n {\n color: arrowColor\n }),\n className: arrowClass\n }),\n [ariaLabel, arrowClass, arrowColor]\n );\n if (shouldRender) {\n return isArrowUp ? (\n <ArrowUp {...props} data-testid=\"select-arrow-up-icon\" />\n ) : (\n <ArrowDown {...props} data-testid=\"select-arrow-down-icon\" />\n );\n } else return null;\n};\n\nconst Select = (props, legacyContext) => {\n const {\n name,\n options = [],\n optgroups = [],\n className,\n borderClassName,\n onChange,\n multiple = false,\n disabled,\n required,\n description,\n theme,\n modified = false,\n error = false,\n title: propTitle,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy\n } = props;\n\n const skin = GetSkinFromContext(legacyContext);\n const title = useMemo(\n () => (propTitle ? `${propTitle}${required ? '*' : ''}` : null),\n [propTitle, required]\n );\n\n const [isArrowUp, setIsArrowUp] = useState(false);\n\n const handleSelectOnFocus = useCallback(() => setIsArrowUp(true), []);\n const handleSelectOnBlur = useCallback(() => setIsArrowUp(false), []);\n\n const selectOption = (option, index) => {\n return (\n <option key={index} value={option.value} className={style.selectOption}>\n {option.name}\n </option>\n );\n };\n\n const optionList = !isEmpty(options)\n ? options.map((option, index) => selectOption(option, index))\n : optgroups.map((optgroup, index) => {\n return (\n <optgroup key={index} label={optgroup.label}>\n {optgroup.options && optgroup.options.map((option, i) => selectOption(option, i))}\n </optgroup>\n );\n });\n\n const titleView = title ? <span className={style.title}>{title}</span> : null;\n\n const selected = useMemo(\n () =>\n multiple\n ? map(get('value'), filter({selected: true}, options))\n : get('value', find({selected: true}, concat(options, flatMapDeep('options', optgroups)))),\n [multiple, options, optgroups]\n );\n const selectedLabel = useMemo(\n () =>\n multiple\n ? map(get('name'), filter({selected: true}, options))\n : get('name', find({selected: true}, concat(options, flatMapDeep('options', optgroups)))),\n [multiple, options, optgroups]\n );\n\n const isSelectedInValidOption = useMemo(\n () =>\n theme === 'player' &&\n getOr(false, 'name', find({validOption: false, selected: true}, options)),\n [options, theme]\n );\n\n const handleChange = useMemo(\n () =>\n multiple\n ? e => {\n setIsArrowUp(false);\n onChange(map(get('value'), e.target.selectedOptions));\n }\n : e => {\n setIsArrowUp(false);\n onChange(e.target.value);\n },\n [onChange, multiple]\n );\n\n const black = useMemo(() => getOr('#14171A', 'common.black', skin), [skin]);\n const color = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const isThemeOneOfQuestionTemplateOrPlayer = useMemo(\n () => includes(theme, ['question', 'template', 'player']),\n [theme]\n );\n const shouldUseSkinFontColor = useMemo(\n () => !isSelectedInValidOption && selected && isThemeOneOfQuestionTemplateOrPlayer,\n [isSelectedInValidOption, selected, isThemeOneOfQuestionTemplateOrPlayer]\n );\n const arrowColor = selected ? color : undefined;\n\n const behaviorClassName = useMemo(\n () => getClassState(style.default, style.modified, style.error, modified, error),\n [error, modified]\n );\n const composedClassName = useMemo(\n () =>\n classnames(\n theme && theme !== 'coorpmanager' ? themeStyle[theme] : behaviorClassName,\n selected ? style.selected : style.unselected,\n className\n ),\n [behaviorClassName, className, selected, theme]\n );\n\n const labelSize = useMemo(() => size(selectedLabel), [selectedLabel]);\n\n const isLongLabel = useMemo(() => labelSize >= 65, [labelSize]);\n\n return (\n <div\n className={classnames(\n composedClassName,\n theme === 'coorpmanager' ? style.coorpmanager : null\n )}\n >\n <label\n data-testid=\"select-wrapper\"\n data-name=\"select-wrapper\"\n title={title}\n style={{\n ...(shouldUseSkinFontColor && {\n color\n })\n }}\n className={style.selectWrapper}\n >\n {titleView}\n <span\n data-testid=\"select-span\"\n data-name=\"select-span\"\n className={classnames(\n style.selectSpan,\n includes(theme, ['player', 'invalid', 'question', 'thematiques', 'template'])\n ? style.noLabelCommon\n : null,\n borderClassName,\n isLongLabel ? style.longLabel : null\n )}\n style={{\n ...(shouldUseSkinFontColor && {\n color\n })\n }}\n >\n {selectedLabel}\n </span>\n <ArrowView\n shouldRender={!multiple}\n isArrowUp={isArrowUp}\n ariaLabel={ariaLabel}\n arrowClass={shouldUseSkinFontColor ? style.selectedArrow : style.arrow}\n arrowColor={isThemeOneOfQuestionTemplateOrPlayer ? arrowColor : black}\n />\n <select\n {...(ariaLabelledBy ? {'aria-labelledby': ariaLabelledBy} : {})}\n {...(ariaLabel && !ariaLabelledBy ? {'aria-label': ariaLabel} : {})}\n {...(ariaLabel ? {title: ariaLabel} : {})}\n data-name=\"native-select\"\n className={style.selectBox}\n name={name}\n onChange={handleChange}\n value={selected}\n multiple={multiple}\n disabled={disabled}\n onClick={handleSelectOnFocus}\n onBlur={handleSelectOnBlur}\n // onBlur does not handle completely an out of bounds click\n // ex: select is Opened and a click is done outside, cancelling the select\n // that doesn't count as a Blur, so an onMouseLeave is needed\n onMouseLeave={handleSelectOnBlur}\n data-testid=\"native-select\"\n >\n {optionList}\n </select>\n </label>\n <div className={style.description}>{description}</div>\n </div>\n );\n};\n\nexport const SelectOptionPropTypes = {\n name: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n selected: PropTypes.bool,\n validOption: PropTypes.bool\n};\n\nexport const SelectOptionGroupPropTypes = {\n label: PropTypes.string.isRequired,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n};\n\nSelect.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSelect.propTypes = {\n title: PropTypes.string,\n name: PropTypes.string,\n className: PropTypes.string,\n borderClassName: PropTypes.string,\n disabled: PropTypes.bool,\n multiple: PropTypes.bool,\n description: PropTypes.string,\n required: PropTypes.bool,\n onChange: PropTypes.func,\n theme: PropTypes.oneOf(keys(themeStyle)),\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes)),\n optgroups: PropTypes.arrayOf(PropTypes.shape(SelectOptionGroupPropTypes)),\n modified: PropTypes.bool,\n error: PropTypes.bool,\n 'aria-label': PropTypes.string,\n 'aria-labelledby': PropTypes.string\n};\n\nexport default Select;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAIA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,UAAU,GAAG;EACjBC,MAAM,EAAEC,cAAA,CAAMD,MADG;EAEjBE,OAAO,EAAED,cAAA,CAAMC,OAFE;EAGjBC,MAAM,EAAEF,cAAA,CAAME,MAHG;EAIjBC,IAAI,EAAEH,cAAA,CAAMG,IAJK;EAKjBC,QAAQ,EAAEJ,cAAA,CAAMI,QALC;EAMjBC,IAAI,EAAEL,cAAA,CAAMK,IANK;EAOjBC,WAAW,EAAEN,cAAA,CAAMM,WAPF;EAQjBC,MAAM,EAAEP,cAAA,CAAMO,MARG;EASjBC,QAAQ,EAAER,cAAA,CAAMQ,QATC;EAUjBC,YAAY,EAAE;AAVG,CAAnB;;AAaA,MAAMC,SAAS,GAAG,CAAC;EAACC,YAAD;EAAeC,SAAf;EAA0BC,SAA1B;EAAqCC,UAArC;EAAiDC;AAAjD,CAAD,KAAkE;EAClF,MAAMC,KAAK,GAAG,IAAAC,cAAA,EACZ,mBACMF,UAAU,GACZ;IACEG,KAAK,EAAEH;EADT,CAFJ;IAKEI,SAAS,EAAEL;EALb,EADY,EAQZ,CAACD,SAAD,EAAYC,UAAZ,EAAwBC,UAAxB,CARY,CAAd;;EAUA,IAAIJ,YAAJ,EAAkB;IAChB,OAAOC,SAAS,gBACd,6BAAC,4CAAD,eAAaI,KAAb;MAAoB,eAAY;IAAhC,GADc,gBAGd,6BAAC,6CAAD,eAAeA,KAAf;MAAsB,eAAY;IAAlC,GAHF;EAKD,CAND,MAMO,OAAO,IAAP;AACR,CAlBD;;AAoBA,MAAMI,MAAM,GAAG,CAACJ,K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CAAUK,IALH;EAMjBpE,QAAQ,EAAE+D,kBAAA,CAAUK,IANH;EAOjBjE,WAAW,EAAE4D,kBAAA,CAAUC,MAPN;EAQjB9D,QAAQ,EAAE6D,kBAAA,CAAUK,IARH;EASjBrE,QAAQ,EAAEgE,kBAAA,CAAUa,IATH;EAUjBxE,KAAK,EAAE2D,kBAAA,CAAUc,KAAV,CAAgB,IAAAC,aAAA,EAAK3G,UAAL,CAAhB,CAVU;EAWjByB,OAAO,EAAEmE,kBAAA,CAAUO,OAAV,CAAkBP,kBAAA,CAAUQ,KAAV,CAAgBT,qBAAhB,CAAlB,CAXQ;EAYjBjE,SAAS,EAAEkE,kBAAA,CAAUO,OAAV,CAAkBP,kBAAA,CAAUQ,KAAV,CAAgBF,0BAAhB,CAAlB,CAZM;EAajBhE,QAAQ,EAAE0D,kBAAA,CAAUK,IAbH;EAcjB9D,KAAK,EAAEyD,kBAAA,CAAUK,IAdA;EAejB,cAAcL,kBAAA,CAAUC,MAfP;EAgBjB,mBAAmBD,kBAAA,CAAUC;AAhBZ,CAAnB;eAmBevE,M"}
1
+ {"version":3,"file":"index.js","names":["themeStyle","filter","style","invalid","header","mooc","question","sort","thematiques","player","template","skillDetail","coorpmanager","ArrowView","shouldRender","isArrowUp","ariaLabel","arrowClass","arrowColor","props","useMemo","color","className","Select","legacyContext","name","options","optgroups","borderClassName","onChange","multiple","disabled","required","description","theme","modified","error","title","propTitle","ariaLabelledBy","skin","GetSkinFromContext","setIsArrowUp","useState","handleSelectOnFocus","useCallback","handleSelectOnBlur","selectOption","option","index","value","optionList","isEmpty","map","optgroup","label","i","titleView","selected","get","find","concat","flatMapDeep","selectedLabel","isSelectedInValidOption","getOr","validOption","handleChange","e","target","selectedOptions","black","isThemeOneOfQuestionTemplateOrPlayer","includes","shouldUseSkinFontColor","undefined","behaviorClassName","getClassState","default","composedClassName","classnames","unselected","labelSize","size","isLongLabel","selectWrapper","selectSpan","noLabelCommon","longLabel","selectedArrow","arrow","selectBox","SelectOptionPropTypes","PropTypes","string","isRequired","oneOfType","number","bool","SelectOptionGroupPropTypes","arrayOf","shape","contextTypes","Provider","childContextTypes","propTypes","func","oneOf","keys"],"sources":["../../../src/atom/select/index.js"],"sourcesContent":["import React, {useCallback, useMemo, useState} from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport concat from 'lodash/fp/concat';\nimport filter from 'lodash/fp/filter';\nimport find from 'lodash/fp/find';\nimport flatMapDeep from 'lodash/fp/flatMapDeep';\nimport get from 'lodash/fp/get';\nimport getOr from 'lodash/fp/getOr';\nimport includes from 'lodash/fp/includes';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport keys from 'lodash/fp/keys';\nimport map from 'lodash/fp/map';\nimport size from 'lodash/fp/size';\nimport {\n NovaCompositionNavigationArrowDown as ArrowDown,\n NovaCompositionNavigationArrowTop as ArrowUp\n} from '@coorpacademy/nova-icons';\nimport Provider, {GetSkinFromContext} from '../provider';\nimport getClassState from '../../util/get-class-state';\nimport style from './style.css';\n\nconst themeStyle = {\n filter: style.filter,\n invalid: style.invalid,\n header: style.header,\n mooc: style.mooc,\n question: style.question,\n sort: style.sort,\n thematiques: style.thematiques,\n player: style.player,\n template: style.template,\n skillDetail: style.skillDetail,\n coorpmanager: null\n};\n\nconst ArrowView = ({shouldRender, isArrowUp, ariaLabel, arrowClass, arrowColor}) => {\n const props = useMemo(\n () => ({\n ...(arrowColor &\n {\n color: arrowColor\n }),\n className: arrowClass\n }),\n [ariaLabel, arrowClass, arrowColor]\n );\n if (shouldRender) {\n return isArrowUp ? (\n <ArrowUp {...props} data-testid=\"select-arrow-up-icon\" />\n ) : (\n <ArrowDown {...props} data-testid=\"select-arrow-down-icon\" />\n );\n } else return null;\n};\n\nconst Select = (props, legacyContext) => {\n const {\n name,\n options = [],\n optgroups = [],\n className,\n borderClassName,\n onChange,\n multiple = false,\n disabled,\n required,\n description,\n theme,\n modified = false,\n error = false,\n title: propTitle,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy\n } = props;\n\n const skin = GetSkinFromContext(legacyContext);\n const title = useMemo(\n () => (propTitle ? `${propTitle}${required ? '*' : ''}` : null),\n [propTitle, required]\n );\n\n const [isArrowUp, setIsArrowUp] = useState(false);\n\n const handleSelectOnFocus = useCallback(() => setIsArrowUp(true), []);\n const handleSelectOnBlur = useCallback(() => setIsArrowUp(false), []);\n\n const selectOption = (option, index) => {\n return (\n <option key={index} value={option.value} className={style.selectOption}>\n {option.name}\n </option>\n );\n };\n\n const optionList = !isEmpty(options)\n ? options.map((option, index) => selectOption(option, index))\n : optgroups.map((optgroup, index) => {\n return (\n <optgroup key={index} label={optgroup.label}>\n {optgroup.options && optgroup.options.map((option, i) => selectOption(option, i))}\n </optgroup>\n );\n });\n\n const titleView = title ? <span className={style.title}>{title}</span> : null;\n\n const selected = useMemo(\n () =>\n multiple\n ? map(get('value'), filter({selected: true}, options))\n : get('value', find({selected: true}, concat(options, flatMapDeep('options', optgroups)))),\n [multiple, options, optgroups]\n );\n const selectedLabel = useMemo(\n () =>\n multiple\n ? map(get('name'), filter({selected: true}, options))\n : get('name', find({selected: true}, concat(options, flatMapDeep('options', optgroups)))),\n [multiple, options, optgroups]\n );\n\n const isSelectedInValidOption = useMemo(\n () =>\n theme === 'player' &&\n getOr(false, 'name', find({validOption: false, selected: true}, options)),\n [options, theme]\n );\n\n const handleChange = useMemo(\n () =>\n multiple\n ? e => {\n setIsArrowUp(false);\n onChange(map(get('value'), e.target.selectedOptions));\n }\n : e => {\n setIsArrowUp(false);\n onChange(e.target.value);\n },\n [onChange, multiple]\n );\n\n const black = useMemo(() => getOr('#14171A', 'common.black', skin), [skin]);\n const color = useMemo(() => getOr('#00B0FF', 'common.primary', skin), [skin]);\n const isThemeOneOfQuestionTemplateOrPlayer = useMemo(\n () => includes(theme, ['question', 'template', 'player']),\n [theme]\n );\n const shouldUseSkinFontColor = useMemo(\n () => !isSelectedInValidOption && selected && isThemeOneOfQuestionTemplateOrPlayer,\n [isSelectedInValidOption, selected, isThemeOneOfQuestionTemplateOrPlayer]\n );\n const arrowColor = selected ? color : undefined;\n\n const behaviorClassName = useMemo(\n () => getClassState(style.default, style.modified, style.error, modified, error),\n [error, modified]\n );\n const composedClassName = useMemo(\n () =>\n classnames(\n theme && theme !== 'coorpmanager' ? themeStyle[theme] : behaviorClassName,\n selected ? style.selected : style.unselected,\n className\n ),\n [behaviorClassName, className, selected, theme]\n );\n\n const labelSize = useMemo(() => size(selectedLabel), [selectedLabel]);\n\n const isLongLabel = useMemo(() => labelSize >= 65, [labelSize]);\n\n return (\n <div\n className={classnames(\n composedClassName,\n theme === 'coorpmanager' ? style.coorpmanager : null\n )}\n >\n <label\n data-testid=\"select-wrapper\"\n data-name=\"select-wrapper\"\n title={title}\n style={{\n ...(shouldUseSkinFontColor && {\n color\n })\n }}\n className={style.selectWrapper}\n >\n {titleView}\n <span\n data-testid=\"select-span\"\n data-name=\"select-span\"\n className={classnames(\n style.selectSpan,\n includes(theme, [\n 'player',\n 'invalid',\n 'question',\n 'thematiques',\n 'template',\n 'skillDetail'\n ])\n ? style.noLabelCommon\n : null,\n borderClassName,\n isLongLabel ? style.longLabel : null\n )}\n style={{\n ...(shouldUseSkinFontColor && {\n color\n })\n }}\n >\n {selectedLabel}\n </span>\n <ArrowView\n shouldRender={!multiple}\n isArrowUp={isArrowUp}\n ariaLabel={ariaLabel}\n arrowClass={shouldUseSkinFontColor ? style.selectedArrow : style.arrow}\n arrowColor={isThemeOneOfQuestionTemplateOrPlayer ? arrowColor : black}\n />\n <select\n {...(ariaLabelledBy ? {'aria-labelledby': ariaLabelledBy} : {})}\n {...(ariaLabel && !ariaLabelledBy ? {'aria-label': ariaLabel} : {})}\n {...(ariaLabel ? {title: ariaLabel} : {})}\n data-name=\"native-select\"\n className={style.selectBox}\n name={name}\n onChange={handleChange}\n value={selected}\n multiple={multiple}\n disabled={disabled}\n onClick={handleSelectOnFocus}\n onBlur={handleSelectOnBlur}\n // onBlur does not handle completely an out of bounds click\n // ex: select is Opened and a click is done outside, cancelling the select\n // that doesn't count as a Blur, so an onMouseLeave is needed\n onMouseLeave={handleSelectOnBlur}\n data-testid=\"native-select\"\n >\n {optionList}\n </select>\n </label>\n <div className={style.description}>{description}</div>\n </div>\n );\n};\n\nexport const SelectOptionPropTypes = {\n name: PropTypes.string.isRequired,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n selected: PropTypes.bool,\n validOption: PropTypes.bool\n};\n\nexport const SelectOptionGroupPropTypes = {\n label: PropTypes.string.isRequired,\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes))\n};\n\nSelect.contextTypes = {\n skin: Provider.childContextTypes.skin\n};\n\nSelect.propTypes = {\n title: PropTypes.string,\n name: PropTypes.string,\n className: PropTypes.string,\n borderClassName: PropTypes.string,\n disabled: PropTypes.bool,\n multiple: PropTypes.bool,\n description: PropTypes.string,\n required: PropTypes.bool,\n onChange: PropTypes.func,\n theme: PropTypes.oneOf(keys(themeStyle)),\n options: PropTypes.arrayOf(PropTypes.shape(SelectOptionPropTypes)),\n optgroups: PropTypes.arrayOf(PropTypes.shape(SelectOptionGroupPropTypes)),\n modified: PropTypes.bool,\n error: PropTypes.bool,\n 'aria-label': PropTypes.string,\n 'aria-labelledby': PropTypes.string\n};\n\nexport default Select;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AAIA;;AACA;;AACA;;;;;;;;;;AAEA,MAAMA,UAAU,GAAG;EACjBC,MAAM,EAAEC,cAAA,CAAMD,MADG;EAEjBE,OAAO,EAAED,cAAA,CAAMC,OAFE;EAGjBC,MAAM,EAAEF,cAAA,CAAME,MAHG;EAIjBC,IAAI,EAAEH,cAAA,CAAMG,IAJK;EAKjBC,QAAQ,EAAEJ,cAAA,CAAMI,QALC;EAMjBC,IAAI,EAAEL,cAAA,CAAMK,IANK;EAOjBC,WAAW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hE,QAAQ,EAAE0D,kBAAA,CAAUK,IAbH;EAcjB9D,KAAK,EAAEyD,kBAAA,CAAUK,IAdA;EAejB,cAAcL,kBAAA,CAAUC,MAfP;EAgBjB,mBAAmBD,kBAAA,CAAUC;AAhBZ,CAAnB;eAmBevE,M"}
@@ -13,6 +13,7 @@
13
13
  @value transparent from colors;
14
14
  @value box_shadow_light_dark from colors;
15
15
  @value box_shadow_medium_dark from colors;
16
+ @value cm_grey_100 from colors;
16
17
  @value cm_blue_900 from colors;
17
18
  @value cm_grey_450 from colors;
18
19
 
@@ -634,3 +635,30 @@ div.player:hover span.selectSpan {
634
635
  height: 54px;
635
636
  max-width: 100%;
636
637
  }
638
+
639
+ /*
640
+ skillDetail
641
+ */
642
+
643
+ .skillDetail {
644
+ composes: no-label;
645
+ }
646
+
647
+ .skillDetail .selectWrapper {
648
+ height: 44px;
649
+ min-height: unset;
650
+ }
651
+
652
+ .skillDetail .selectSpan {
653
+ font-size: 15px;
654
+ height: 44px;
655
+ line-height: 44px;
656
+ padding: 0 40px 0 10px;
657
+ border-radius: 12px !important;
658
+ background-color: cm_grey_100 !important;
659
+ }
660
+
661
+ .skillDetail select {
662
+ border: none !important;
663
+ height: 44px !important;
664
+ }
@@ -74,6 +74,7 @@ declare const propTypes: {
74
74
  type: PropTypes.Requireable<string>;
75
75
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
76
76
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
77
+ justifyContent: PropTypes.Requireable<string>;
77
78
  loading: PropTypes.Requireable<boolean>;
78
79
  }> | PropTypes.InferProps<{
79
80
  'aria-label': PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/molecule/cm-popin/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAKnC,OAAO,IAAI,MAAM,iBAAiB,CAAC;AACnC,OAAO,EAAC,UAAU,EAAC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;QACZ,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,OAAO,GAAG,aAAa,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAC5D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC;QACzB,IAAI,EACA,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,GAChD,SAAS,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC,SAAS,CAAC,CAAC;KACtD,CAAC;IACF,IAAI,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC;CACpD,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -3,6 +3,7 @@ declare function CardsGrid(props: any): JSX.Element;
3
3
  declare namespace CardsGrid {
4
4
  namespace propTypes {
5
5
  const list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
6
+ const justifyContent: PropTypes.Requireable<string>;
6
7
  const loading: PropTypes.Requireable<boolean>;
7
8
  }
8
9
  }
@@ -20,6 +20,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
20
20
  function CardsGrid(props) {
21
21
  const {
22
22
  list = [],
23
+ justifyContent = 'center',
23
24
  loading = false
24
25
  } = props;
25
26
  const loader = loading ? /*#__PURE__*/_react.default.createElement("div", {
@@ -33,12 +34,16 @@ function CardsGrid(props) {
33
34
  }, /*#__PURE__*/_react.default.createElement(_card.default, cardProps));
34
35
  }, list);
35
36
  return /*#__PURE__*/_react.default.createElement("div", {
36
- className: _style.default.default
37
+ className: _style.default.default,
38
+ style: {
39
+ justifyContent
40
+ }
37
41
  }, cards, loader);
38
42
  }
39
43
 
40
44
  CardsGrid.propTypes = process.env.NODE_ENV !== "production" ? {
41
45
  list: _propTypes.default.arrayOf(_propTypes.default.shape(_card.default.propTypes)),
46
+ justifyContent: _propTypes.default.string,
42
47
  loading: _propTypes.default.bool
43
48
  } : {};
44
49
  var _default = CardsGrid;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["CardsGrid","props","list","loading","loader","style","cards","cardProps","card","key","default","propTypes","PropTypes","arrayOf","shape","Card","bool"],"sources":["../../../src/organism/cards-grid/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Card from '../../molecule/card';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nfunction CardsGrid(props) {\n const {list = [], loading = false} = props;\n\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n\n const cards = map(cardProps => {\n return (\n <div data-name=\"cardGrid\" className={style.card} key={cardProps.key}>\n <Card {...cardProps} />\n </div>\n );\n }, list);\n\n return (\n <div className={style.default}>\n {cards}\n {loader}\n </div>\n );\n}\n\nCardsGrid.propTypes = {\n list: PropTypes.arrayOf(PropTypes.shape(Card.propTypes)),\n loading: PropTypes.bool\n};\n\nexport default CardsGrid;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;AAEA,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;EACxB,MAAM;IAACC,IAAI,GAAG,EAAR;IAAYC,OAAO,GAAG;EAAtB,IAA+BF,KAArC;EAEA,MAAMG,MAAM,GAAGD,OAAO,gBACpB;IAAK,SAAS,EAAEE,cAAA,CAAMD;EAAtB,gBACE,6BAAC,eAAD,OADF,CADoB,GAIlB,IAJJ;EAMA,MAAME,KAAK,GAAG,mBAAIC,SAAS,IAAI;IAC7B,oBACE;MAAK,aAAU,UAAf;MAA0B,SAAS,EAAEF,cAAA,CAAMG,IAA3C;MAAiD,GAAG,EAAED,SAAS,CAACE;IAAhE,gBACE,6BAAC,aAAD,EAAUF,SAAV,CADF,CADF;EAKD,CANa,EAMXL,IANW,CAAd;EAQA,oBACE;IAAK,SAAS,EAAEG,cAAA,CAAMK;EAAtB,GACGJ,KADH,EAEGF,MAFH,CADF;AAMD;;AAEDJ,SAAS,CAACW,SAAV,2CAAsB;EACpBT,IAAI,EAAEU,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBC,aAAA,CAAKJ,SAArB,CAAlB,CADc;EAEpBR,OAAO,EAAES,kBAAA,CAAUI;AAFC,CAAtB;eAKehB,S"}
1
+ {"version":3,"file":"index.js","names":["CardsGrid","props","list","justifyContent","loading","loader","style","cards","cardProps","card","key","default","propTypes","PropTypes","arrayOf","shape","Card","string","bool"],"sources":["../../../src/organism/cards-grid/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport {map} from 'lodash/fp';\nimport Card from '../../molecule/card';\nimport Loader from '../../atom/loader';\nimport style from './style.css';\n\nfunction CardsGrid(props) {\n const {list = [], justifyContent = 'center', loading = false} = props;\n\n const loader = loading ? (\n <div className={style.loader}>\n <Loader />\n </div>\n ) : null;\n\n const cards = map(cardProps => {\n return (\n <div data-name=\"cardGrid\" className={style.card} key={cardProps.key}>\n <Card {...cardProps} />\n </div>\n );\n }, list);\n\n return (\n <div className={style.default} style={{justifyContent}}>\n {cards}\n {loader}\n </div>\n );\n}\n\nCardsGrid.propTypes = {\n list: PropTypes.arrayOf(PropTypes.shape(Card.propTypes)),\n justifyContent: PropTypes.string,\n loading: PropTypes.bool\n};\n\nexport default CardsGrid;\n"],"mappings":";;;;;;;AAAA;;AACA;;AAEA;;AACA;;AACA;;;;AAEA,SAASA,SAAT,CAAmBC,KAAnB,EAA0B;EACxB,MAAM;IAACC,IAAI,GAAG,EAAR;IAAYC,cAAc,GAAG,QAA7B;IAAuCC,OAAO,GAAG;EAAjD,IAA0DH,KAAhE;EAEA,MAAMI,MAAM,GAAGD,OAAO,gBACpB;IAAK,SAAS,EAAEE,cAAA,CAAMD;EAAtB,gBACE,6BAAC,eAAD,OADF,CADoB,GAIlB,IAJJ;EAMA,MAAME,KAAK,GAAG,mBAAIC,SAAS,IAAI;IAC7B,oBACE;MAAK,aAAU,UAAf;MAA0B,SAAS,EAAEF,cAAA,CAAMG,IAA3C;MAAiD,GAAG,EAAED,SAAS,CAACE;IAAhE,gBACE,6BAAC,aAAD,EAAUF,SAAV,CADF,CADF;EAKD,CANa,EAMXN,IANW,CAAd;EAQA,oBACE;IAAK,SAAS,EAAEI,cAAA,CAAMK,OAAtB;IAA+B,KAAK,EAAE;MAACR;IAAD;EAAtC,GACGI,KADH,EAEGF,MAFH,CADF;AAMD;;AAEDL,SAAS,CAACY,SAAV,2CAAsB;EACpBV,IAAI,EAAEW,kBAAA,CAAUC,OAAV,CAAkBD,kBAAA,CAAUE,KAAV,CAAgBC,aAAA,CAAKJ,SAArB,CAAlB,CADc;EAEpBT,cAAc,EAAEU,kBAAA,CAAUI,MAFN;EAGpBb,OAAO,EAAES,kBAAA,CAAUK;AAHC,CAAtB;eAMelB,S"}
@@ -13,7 +13,6 @@
13
13
  display: flex;
14
14
  align-content: flex-start;
15
15
  flex-wrap: wrap;
16
- justify-content: center;
17
16
  background-color: white;
18
17
  }
19
18
 
@@ -75,6 +75,7 @@ declare namespace PlayerLoading {
75
75
  type: PropTypes.Requireable<string>;
76
76
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
77
77
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
78
+ justifyContent: PropTypes.Requireable<string>;
78
79
  loading: PropTypes.Requireable<boolean>;
79
80
  }> | PropTypes.InferProps<{
80
81
  'aria-label': PropTypes.Requireable<string>;
@@ -126,6 +126,7 @@ declare namespace SlidePlayer {
126
126
  type: PropTypes.Requireable<string>;
127
127
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
128
128
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
129
+ justifyContent: PropTypes.Requireable<string>;
129
130
  loading: PropTypes.Requireable<boolean>;
130
131
  }> | PropTypes.InferProps<{
131
132
  'aria-label': PropTypes.Requireable<string>;
@@ -395,6 +396,7 @@ declare namespace SlidePlayer {
395
396
  type: PropTypes.Requireable<string>;
396
397
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
397
398
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
399
+ justifyContent: PropTypes.Requireable<string>;
398
400
  loading: PropTypes.Requireable<boolean>;
399
401
  }> | PropTypes.InferProps<{
400
402
  'aria-label': PropTypes.Requireable<string>;
@@ -132,6 +132,7 @@ declare namespace SlidesPlayer {
132
132
  type: PropTypes.Requireable<string>;
133
133
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
134
134
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
135
+ justifyContent: PropTypes.Requireable<string>;
135
136
  loading: PropTypes.Requireable<boolean>;
136
137
  }> | PropTypes.InferProps<{
137
138
  'aria-label': PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/template/app-player/player/slides/index.js"],"names":[],"mappings":";AA+aA,qEAkBC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA/GD,qEAaC"}
@@ -160,6 +160,7 @@ declare class PopinCorrection extends React.Component<any, any, any> {
160
160
  type: PropTypes.Requireable<string>;
161
161
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
162
162
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
163
+ justifyContent: PropTypes.Requireable<string>;
163
164
  loading: PropTypes.Requireable<boolean>;
164
165
  }> | PropTypes.InferProps<{
165
166
  'aria-label': 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"}
@@ -252,6 +252,7 @@ declare namespace PopinEnd {
252
252
  type: PropTypes.Requireable<string>;
253
253
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
254
254
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
255
+ justifyContent: PropTypes.Requireable<string>;
255
256
  loading: PropTypes.Requireable<boolean>;
256
257
  }> | PropTypes.InferProps<{
257
258
  'aria-label': PropTypes.Requireable<string>;
@@ -583,6 +583,7 @@ declare const AppReview: {
583
583
  type: import("prop-types").Requireable<string>;
584
584
  list: import("prop-types").Requireable<NonNullable<import("prop-types").InferProps<{
585
585
  list: import("prop-types").Requireable<(import("prop-types").InferProps<any> | null | undefined)[]>;
586
+ justifyContent: import("prop-types").Requireable<string>;
586
587
  loading: import("prop-types").Requireable<boolean>;
587
588
  }> | import("prop-types").InferProps<{
588
589
  'aria-label': 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"}
@@ -583,6 +583,7 @@ declare const propTypes: {
583
583
  type: PropTypes.Requireable<string>;
584
584
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
585
585
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
586
+ justifyContent: PropTypes.Requireable<string>;
586
587
  loading: PropTypes.Requireable<boolean>;
587
588
  }> | PropTypes.InferProps<{
588
589
  'aria-label': PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,iBAAiB,GAAG;IAC9B,MAAM,EAAE,WAAW,CAAC;IACpB,KAAK,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC/B,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -587,6 +587,7 @@ declare const propTypes: {
587
587
  type: PropTypes.Requireable<string>;
588
588
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
589
589
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
590
+ justifyContent: PropTypes.Requireable<string>;
590
591
  loading: PropTypes.Requireable<boolean>;
591
592
  }> | PropTypes.InferProps<{
592
593
  'aria-label': 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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -788,6 +788,7 @@ declare namespace BrandUpdate {
788
788
  type: PropTypes.Requireable<string>;
789
789
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
790
790
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
791
+ justifyContent: PropTypes.Requireable<string>;
791
792
  loading: PropTypes.Requireable<boolean>;
792
793
  }> | PropTypes.InferProps<{
793
794
  'aria-label': PropTypes.Requireable<string>;
@@ -3,6 +3,7 @@ declare class Authors extends React.Component<any, any, any> {
3
3
  static propTypes: {
4
4
  cards: PropTypes.Requireable<PropTypes.InferProps<{
5
5
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
6
+ justifyContent: PropTypes.Requireable<string>;
6
7
  loading: PropTypes.Requireable<boolean>;
7
8
  }>>;
8
9
  cardsTitle: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/authors/index.js"],"names":[],"mappings":";AASA;IACE;;;;;;;;;;;;;;;;;MAgBE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,sCAMC;IAJC;;MAEC;IAIH,4BAIC;IAED,sBA+EC;CACF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/template/common/authors/index.js"],"names":[],"mappings":";AASA;IACE;;;;;;;;;;;;;;;;;;MAgBE;IAEF;;;;;;;;;;;;;;;;;;;;;;;MAGE;IAEF,sCAMC;IAJC;;MAEC;IAIH,4BAIC;IAED,sBA+EC;CACF"}
@@ -76,6 +76,7 @@ declare namespace Dashboard {
76
76
  type: PropTypes.Requireable<string>;
77
77
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
78
78
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
79
+ justifyContent: PropTypes.Requireable<string>;
79
80
  loading: PropTypes.Requireable<boolean>;
80
81
  }> | PropTypes.InferProps<{
81
82
  'aria-label': PropTypes.Requireable<string>;
@@ -348,6 +349,7 @@ declare namespace Dashboard {
348
349
  type: PropTypes.Requireable<string>;
349
350
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
350
351
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
352
+ justifyContent: PropTypes.Requireable<string>;
351
353
  loading: PropTypes.Requireable<boolean>;
352
354
  }> | PropTypes.InferProps<{
353
355
  'aria-label': PropTypes.Requireable<string>;
@@ -79,6 +79,7 @@ declare namespace SearchPage {
79
79
  }>>;
80
80
  const cards: PropTypes.Requireable<PropTypes.InferProps<{
81
81
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
82
+ justifyContent: PropTypes.Requireable<string>;
82
83
  loading: PropTypes.Requireable<boolean>;
83
84
  }>>;
84
85
  const clearFilters: PropTypes.Requireable<PropTypes.InferProps<{
@@ -248,6 +249,7 @@ declare namespace SearchPage {
248
249
  type: PropTypes.Requireable<string>;
249
250
  list: PropTypes.Requireable<NonNullable<PropTypes.InferProps<{
250
251
  list: PropTypes.Requireable<(PropTypes.InferProps<any> | null | undefined)[]>;
252
+ justifyContent: PropTypes.Requireable<string>;
251
253
  loading: PropTypes.Requireable<boolean>;
252
254
  }> | PropTypes.InferProps<{
253
255
  'aria-label': PropTypes.Requireable<string>;