@coorpacademy/components 10.6.1 → 10.8.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 (67) hide show
  1. package/es/atom/button-link/index.js +10 -3
  2. package/es/atom/button-link/index.js.map +1 -1
  3. package/es/atom/tag/index.js +1 -1
  4. package/es/atom/tag/index.js.map +1 -1
  5. package/es/molecule/cockpit-popin/test/fixtures.js +17 -0
  6. package/es/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  7. package/es/molecule/course-section/style.css +2 -2
  8. package/es/molecule/dashboard/review-banner/test/fixtures.js +13 -0
  9. package/es/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  10. package/es/molecule/review-correction-popin/index.js +103 -0
  11. package/es/molecule/review-correction-popin/index.js.map +1 -0
  12. package/es/molecule/review-correction-popin/style.css +315 -0
  13. package/es/molecule/review-correction-popin/test/fixtures/right.js +17 -0
  14. package/es/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  15. package/es/molecule/review-correction-popin/test/fixtures/wrong.js +19 -0
  16. package/es/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  17. package/es/molecule/review-correction-popin/test/fixtures.js +15 -0
  18. package/es/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  19. package/es/molecule/search/test/fixtures.js +15 -0
  20. package/es/molecule/search/test/fixtures.js.map +1 -0
  21. package/es/organism/list-items/index.js +2 -2
  22. package/es/organism/list-items/index.js.map +1 -1
  23. package/es/organism/wizard-contents/index.js +2 -2
  24. package/es/organism/wizard-contents/index.js.map +1 -1
  25. package/es/template/back-office/brand-list/index.js +16 -3
  26. package/es/template/back-office/brand-list/index.js.map +1 -1
  27. package/es/template/back-office/brand-list/style.css +11 -5
  28. package/es/template/back-office/brand-list/test/fixtures/default.js +3 -3
  29. package/es/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  30. package/es/template/back-office/brand-list/test/fixtures/rh.js +23 -1
  31. package/es/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  32. package/es/util/button-icons.js +2 -1
  33. package/es/util/button-icons.js.map +1 -1
  34. package/lib/atom/button-link/index.js +11 -3
  35. package/lib/atom/button-link/index.js.map +1 -1
  36. package/lib/atom/tag/index.js +1 -1
  37. package/lib/atom/tag/index.js.map +1 -1
  38. package/lib/molecule/cockpit-popin/test/fixtures.js +28 -0
  39. package/lib/molecule/cockpit-popin/test/fixtures.js.map +1 -0
  40. package/lib/molecule/course-section/style.css +2 -2
  41. package/lib/molecule/dashboard/review-banner/test/fixtures.js +22 -0
  42. package/lib/molecule/dashboard/review-banner/test/fixtures.js.map +1 -0
  43. package/lib/molecule/review-correction-popin/index.js +116 -0
  44. package/lib/molecule/review-correction-popin/index.js.map +1 -0
  45. package/lib/molecule/review-correction-popin/style.css +315 -0
  46. package/lib/molecule/review-correction-popin/test/fixtures/right.js +22 -0
  47. package/lib/molecule/review-correction-popin/test/fixtures/right.js.map +1 -0
  48. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js +24 -0
  49. package/lib/molecule/review-correction-popin/test/fixtures/wrong.js.map +1 -0
  50. package/lib/molecule/review-correction-popin/test/fixtures.js +25 -0
  51. package/lib/molecule/review-correction-popin/test/fixtures.js.map +1 -0
  52. package/lib/molecule/search/test/fixtures.js +25 -0
  53. package/lib/molecule/search/test/fixtures.js.map +1 -0
  54. package/lib/organism/list-items/index.js +2 -2
  55. package/lib/organism/list-items/index.js.map +1 -1
  56. package/lib/organism/wizard-contents/index.js +2 -2
  57. package/lib/organism/wizard-contents/index.js.map +1 -1
  58. package/lib/template/back-office/brand-list/index.js +17 -3
  59. package/lib/template/back-office/brand-list/index.js.map +1 -1
  60. package/lib/template/back-office/brand-list/style.css +11 -5
  61. package/lib/template/back-office/brand-list/test/fixtures/default.js +3 -3
  62. package/lib/template/back-office/brand-list/test/fixtures/default.js.map +1 -1
  63. package/lib/template/back-office/brand-list/test/fixtures/rh.js +23 -1
  64. package/lib/template/back-office/brand-list/test/fixtures/rh.js.map +1 -1
  65. package/lib/util/button-icons.js +1 -0
  66. package/lib/util/button-icons.js.map +1 -1
  67. package/package.json +2 -2
@@ -0,0 +1,116 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+
6
+ var _react = _interopRequireDefault(require("react"));
7
+
8
+ var _classnames = _interopRequireDefault(require("classnames"));
9
+
10
+ var _propTypes = _interopRequireDefault(require("prop-types"));
11
+
12
+ var _novaIcons = require("@coorpacademy/nova-icons");
13
+
14
+ var _buttonLink = _interopRequireDefault(require("../../atom/button-link"));
15
+
16
+ var _style = _interopRequireDefault(require("./style.css"));
17
+
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
+
20
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
21
+
22
+ const buildKlfButton = klf => {
23
+ const klfButtonProps = _extends(_extends({}, klf), {}, {
24
+ icon: {
25
+ position: 'left',
26
+ type: 'key'
27
+ },
28
+ type: 'primary'
29
+ });
30
+
31
+ return /*#__PURE__*/_react.default.createElement("div", {
32
+ className: _style.default.klfContainer
33
+ }, /*#__PURE__*/_react.default.createElement("div", {
34
+ className: _style.default.klfButtonContainer
35
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, _extends({}, klfButtonProps, {
36
+ className: _style.default.klfButton
37
+ }))), /*#__PURE__*/_react.default.createElement("div", {
38
+ className: _style.default.toolTip
39
+ }, /*#__PURE__*/_react.default.createElement("div", {
40
+ className: _style.default.tooltipText
41
+ }, klf.tooltip)));
42
+ };
43
+
44
+ const ReviewCorrectionPopin = props => {
45
+ const {
46
+ information,
47
+ resultLabel,
48
+ type,
49
+ klf,
50
+ next
51
+ } = props;
52
+
53
+ const nextQuestionButtonProps = _extends(_extends({}, next), {}, {
54
+ type: 'primary'
55
+ });
56
+
57
+ const cta = type === 'wrong' ? buildKlfButton(klf) : null;
58
+ const ICONS = {
59
+ right: _novaIcons.NovaCompositionCoorpacademyCheck,
60
+ wrong: _novaIcons.NovaSolidStatusClose
61
+ };
62
+ const Icon = ICONS[type];
63
+ return /*#__PURE__*/_react.default.createElement("div", {
64
+ className: _style.default.wrapper
65
+ }, /*#__PURE__*/_react.default.createElement("div", {
66
+ className: (0, _classnames.default)(_style.default.popin, type === 'right' ? _style.default.right : _style.default.wrong)
67
+ }, /*#__PURE__*/_react.default.createElement("div", {
68
+ className: _style.default.correctionSection
69
+ }, /*#__PURE__*/_react.default.createElement("div", {
70
+ className: _style.default.iconCircle
71
+ }, /*#__PURE__*/_react.default.createElement(Icon, {
72
+ className: type === 'right' ? _style.default.iconRight : _style.default.iconWrong
73
+ })), /*#__PURE__*/_react.default.createElement("div", {
74
+ className: _style.default.resultLabel,
75
+ "aria-label": "result"
76
+ }, /*#__PURE__*/_react.default.createElement("span", {
77
+ "aria-label": resultLabel
78
+ }, resultLabel))), /*#__PURE__*/_react.default.createElement("div", {
79
+ className: _style.default.feedbackSection
80
+ }, /*#__PURE__*/_react.default.createElement("div", {
81
+ className: _style.default.information,
82
+ "aria-label": "answer-information"
83
+ }, /*#__PURE__*/_react.default.createElement("span", {
84
+ className: _style.default.label,
85
+ "aria-label": information.label
86
+ }, information.label), /*#__PURE__*/_react.default.createElement("span", {
87
+ className: _style.default.message,
88
+ "aria-label": information.message
89
+ }, information.message))), /*#__PURE__*/_react.default.createElement("div", {
90
+ className: type === 'right' ? _style.default.actions : _style.default.actionsWrong
91
+ }, cta, /*#__PURE__*/_react.default.createElement("div", {
92
+ className: _style.default.nextQuestionContainer
93
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, _extends({}, nextQuestionButtonProps, {
94
+ className: _style.default.nextQuestionButton
95
+ }))))));
96
+ };
97
+
98
+ ReviewCorrectionPopin.propTypes = process.env.NODE_ENV !== "production" ? {
99
+ type: _propTypes.default.oneOf(['right', 'wrong']),
100
+ resultLabel: _propTypes.default.string,
101
+ information: _propTypes.default.shape({
102
+ label: _propTypes.default.string,
103
+ message: _propTypes.default.string
104
+ }),
105
+ next: _propTypes.default.shape({
106
+ label: _propTypes.default.string,
107
+ onClick: _propTypes.default.func
108
+ }),
109
+ klf: _propTypes.default.shape({
110
+ label: _propTypes.default.string,
111
+ onClick: _propTypes.default.func
112
+ })
113
+ } : {};
114
+ var _default = ReviewCorrectionPopin;
115
+ exports.default = _default;
116
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/molecule/review-correction-popin/index.js"],"names":["buildKlfButton","klf","klfButtonProps","icon","position","type","style","klfContainer","klfButtonContainer","klfButton","toolTip","tooltipText","tooltip","ReviewCorrectionPopin","props","information","resultLabel","next","nextQuestionButtonProps","cta","ICONS","right","RightIcon","wrong","WrongIcon","Icon","wrapper","popin","correctionSection","iconCircle","iconRight","iconWrong","feedbackSection","label","message","actions","actionsWrong","nextQuestionContainer","nextQuestionButton","propTypes","PropTypes","oneOf","string","shape","onClick","func"],"mappings":"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","sourcesContent":["import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {\n NovaCompositionCoorpacademyCheck as RightIcon,\n NovaSolidStatusClose as WrongIcon\n} from '@coorpacademy/nova-icons';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst buildKlfButton = klf => {\n const klfButtonProps = {\n ...klf,\n icon: {\n position: 'left',\n type: 'key'\n },\n type: 'primary'\n };\n\n return (\n <div className={style.klfContainer}>\n <div className={style.klfButtonContainer}>\n <ButtonLink {...klfButtonProps} className={style.klfButton} />\n </div>\n <div className={style.toolTip}>\n <div className={style.tooltipText}>{klf.tooltip}</div>\n </div>\n </div>\n );\n};\n\nconst ReviewCorrectionPopin = props => {\n const {information, resultLabel, type, klf, next} = props;\n\n const nextQuestionButtonProps = {\n ...next,\n type: 'primary'\n };\n\n const cta = type === 'wrong' ? buildKlfButton(klf) : null;\n\n const ICONS = {\n right: RightIcon,\n wrong: WrongIcon\n };\n const Icon = ICONS[type];\n\n return (\n <div className={style.wrapper}>\n <div className={classnames(style.popin, type === 'right' ? style.right : style.wrong)}>\n <div className={style.correctionSection}>\n <div className={style.iconCircle}>\n <Icon className={type === 'right' ? style.iconRight : style.iconWrong} />\n </div>\n <div className={style.resultLabel} aria-label=\"result\">\n <span aria-label={resultLabel}>{resultLabel}</span>\n </div>\n </div>\n <div className={style.feedbackSection}>\n <div className={style.information} aria-label=\"answer-information\">\n <span className={style.label} aria-label={information.label}>\n {information.label}\n </span>\n <span className={style.message} aria-label={information.message}>\n {information.message}\n </span>\n </div>\n </div>\n <div className={type === 'right' ? style.actions : style.actionsWrong}>\n {cta}\n <div className={style.nextQuestionContainer}>\n <ButtonLink {...nextQuestionButtonProps} className={style.nextQuestionButton} />\n </div>\n </div>\n </div>\n </div>\n );\n};\n\nReviewCorrectionPopin.propTypes = {\n type: PropTypes.oneOf(['right', 'wrong']),\n resultLabel: PropTypes.string,\n information: PropTypes.shape({\n label: PropTypes.string,\n message: PropTypes.string\n }),\n next: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n klf: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default ReviewCorrectionPopin;\n"],"file":"index.js"}
@@ -0,0 +1,315 @@
1
+ @value colors: "../../variables/colors.css";
2
+ @value breakpoints: "../../variables/breakpoints.css";
3
+ @value tablet from breakpoints;
4
+ @value mobile from breakpoints;
5
+ @value white from colors;
6
+ @value cm_positive_100 from colors;
7
+ @value cm_negative_100 from colors;
8
+ @value cm_primary_blue from colors;
9
+ @value cm_blue_900 from colors;
10
+
11
+ .wrapper {
12
+ width: 100%;
13
+ height: auto;
14
+ font-family: Gilroy;
15
+ color: white;
16
+ display: flex;
17
+ justify-content: center;
18
+ overflow: visible;
19
+ padding: 0px;
20
+ }
21
+
22
+ .popin {
23
+ width: 100%;
24
+ padding: 40px;
25
+ border-radius: 16px;
26
+ display: flex;
27
+ flex-direction: row;
28
+ align-items: center;
29
+ }
30
+
31
+ .right {
32
+ background-color: cm_positive_100;
33
+ box-shadow: 0px 0px 68px rgba(cm_positive_100, 0.4);
34
+ }
35
+
36
+ .wrong {
37
+ background-color: cm_negative_100;
38
+ box-shadow: 0px 0px 68px rgba(cm_negative_100, 0.4);
39
+ }
40
+
41
+ .correctionSection {
42
+ flex: 0 1 auto;
43
+ min-width: 187px;
44
+ display: flex;
45
+ align-content: center;
46
+ align-items: center;
47
+ }
48
+
49
+ .feedbackSection {
50
+ display: flex;
51
+ margin: 0 23px;
52
+ flex-direction: row;
53
+ align-items: center;
54
+ justify-content: left;
55
+ flex: 1 1 100%;
56
+ }
57
+
58
+ .iconCircle {
59
+ width: 52px;
60
+ min-width: 52px;
61
+ height: 52px;
62
+ min-height: 52px;
63
+ background: white;
64
+ opacity: 0.7;
65
+ border-radius: 50%;
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ .icon {
70
+ width: 24px;
71
+ height: 24px;
72
+ padding: 14px 0 0 14px;
73
+ }
74
+
75
+ .iconRight {
76
+ composes: icon;
77
+ color: cm_positive_100;
78
+ }
79
+
80
+ .iconWrong {
81
+ composes: icon;
82
+ color: cm_negative_100;
83
+ }
84
+
85
+ .resultLabel {
86
+ margin-left: 12px;
87
+ font-weight: 900;
88
+ font-size: 24px;
89
+ line-height: 24px;
90
+ hyphens: auto;
91
+ -ms-word-break: break-word;
92
+ word-break: break-word;
93
+ }
94
+
95
+ .information {
96
+ display: block;
97
+ flex-direction: column;
98
+ }
99
+
100
+ .information .label {
101
+ width: 140px;
102
+ height: 25px;
103
+ padding: 4px 8px;
104
+ background: rgba(255, 255, 255, 0.3);
105
+ border-radius: 56px;
106
+ font-style: normal;
107
+ font-weight: 900;
108
+ font-size: 14px;
109
+ line-height: 17px;
110
+ display: flex;
111
+ align-items: center;
112
+ justify-content: center;
113
+ hyphens: auto;
114
+ -ms-word-break: break-word;
115
+ word-break: break-word;
116
+ }
117
+
118
+ .information .message {
119
+ display: block;
120
+ margin-top: 4px;
121
+ }
122
+
123
+ .actions {
124
+ flex: 0 1 auto;
125
+ min-width: 138px;
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: flex-end;
129
+ }
130
+
131
+ .actionsWrong {
132
+ composes: actions;
133
+ min-width: 345px;
134
+ flex: 0 1 auto;
135
+ }
136
+
137
+ .toolTip {
138
+ visibility: hidden;
139
+ opacity: 0;
140
+ transition: opacity 0.8s;
141
+ position: absolute;
142
+ width: 273px;
143
+ border-radius: 15px;
144
+ background-color: white;
145
+ right: 17.5%;
146
+ top: -64px;
147
+ }
148
+
149
+ .toolTip::before {
150
+ content: '';
151
+ display: inline-block;
152
+ visibility: hidden;
153
+ opacity: 0;
154
+ width: 15px;
155
+ height: 15px;
156
+ transform: rotate(-45deg);
157
+ transition: opacity 0.8s;
158
+ background-color: white;
159
+ position: inherit;
160
+ bottom: -7px;
161
+ left: 129px;
162
+ }
163
+
164
+ .tooltipText {
165
+ display: inline-block;
166
+ margin: 16px;
167
+ border-radius: 3px;
168
+ word-wrap: break-word;
169
+ color: cm_blue_900;
170
+ max-width: 241px;
171
+ overflow: hidden;
172
+ text-align: center;
173
+ font-size: 16px;
174
+ }
175
+
176
+ .klfContainer {
177
+ overflow: visible;
178
+ width: calc(55% - 16px);
179
+ margin-right: 16px;
180
+ }
181
+
182
+ .klfButtonContainer:hover ~ .toolTip {
183
+ visibility: visible;
184
+ opacity: 1;
185
+ }
186
+
187
+ .klfButtonContainer:hover ~ .toolTip::before {
188
+ visibility: visible;
189
+ opacity: 1;
190
+ }
191
+
192
+ .klfButtonContainer {
193
+ width: 100%;
194
+ margin-right: 16px;
195
+ }
196
+
197
+ .klfButton {
198
+ background: rgba(255, 255, 255, 0.1);
199
+ color: white;
200
+ }
201
+
202
+ .klfButton:hover {
203
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), rgba(255, 255, 255, 0.1)
204
+ }
205
+
206
+ .nextQuestionContainer {
207
+ width: 100%;
208
+ }
209
+
210
+ .actionsWrong .nextQuestionContainer {
211
+ width: 45%;
212
+ }
213
+
214
+ .nextQuestionButton {
215
+ background: white;
216
+ color: cm_primary_blue;
217
+ }
218
+
219
+ .nextQuestionButton:hover {
220
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.07), rgba(0, 0, 0, 0.07)), #FFFFFF;
221
+ }
222
+
223
+ @media tablet {
224
+ .resultLabel {
225
+ display: none;
226
+ }
227
+
228
+ .correctionSection {
229
+ min-width: 60px;
230
+ }
231
+
232
+ .actions {
233
+ width: 25%;
234
+ }
235
+
236
+ .actionsWrong {
237
+ width: 47%;
238
+ }
239
+
240
+ .toolTip {
241
+ width: 250px;
242
+ right: 25%;
243
+ }
244
+ }
245
+
246
+ @media mobile {
247
+ .popin {
248
+ width: 100%;
249
+ min-height: 100px;
250
+ padding: 32px;
251
+ flex-direction: column;
252
+ display: block;
253
+ }
254
+
255
+ .popin > div {
256
+ min-width: auto;
257
+ width: 100%;
258
+ }
259
+
260
+ .correctionSection {
261
+ justify-content: center;
262
+ margin-bottom: 32px;
263
+ }
264
+
265
+ .resultLabel {
266
+ display: block;
267
+ text-align: left;
268
+ width: calc(100% - 52px);
269
+ }
270
+
271
+ .feedbackSection {
272
+ margin: 0;
273
+ width: 100%;
274
+ display: block;
275
+ }
276
+
277
+ .information .message {
278
+ margin: 8px 0 32px 0;
279
+ }
280
+
281
+ .actions {
282
+ width: 100%;
283
+ }
284
+
285
+ .actionsWrong {
286
+ width: 100%;
287
+ flex-direction: column;
288
+ align-items: center;
289
+ }
290
+
291
+ .actionsWrong .nextQuestionContainer {
292
+ width: 100%;
293
+ }
294
+
295
+ .klfContainer {
296
+ width: 100%;
297
+ margin: 0 0 8px 0;
298
+ position: relative;
299
+ }
300
+
301
+ .klfButtonContainer {
302
+ margin: 0;
303
+ }
304
+
305
+ .toolTip {
306
+ width: 106%;
307
+ right: -3%;
308
+ top: auto;
309
+ bottom: 52px;
310
+ }
311
+
312
+ .tooltipText {
313
+ max-width: none;
314
+ }
315
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'right',
8
+ resultLabel: 'CORRECT ANSWER',
9
+ information: {
10
+ label: 'Key learning factor',
11
+ message: '17 frustrated software engineers grappling with the complexities of software development.'
12
+ },
13
+ next: {
14
+ label: 'Next Question',
15
+ 'aria-label': 'next question button',
16
+ 'data-name': 'next-question-button',
17
+ onClick: () => console.log('Next Question')
18
+ }
19
+ }
20
+ };
21
+ exports.default = _default;
22
+ //# sourceMappingURL=right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/right.js"],"names":["props","type","resultLabel","information","label","message","next","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,gBAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,qBADI;AAEXC,MAAAA,OAAO,EACL;AAHS,KAHR;AAQLC,IAAAA,IAAI,EAAE;AACJF,MAAAA,KAAK,EAAE,eADH;AAEJ,oBAAc,sBAFV;AAGJ,mBAAa,sBAHT;AAIJG,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAJX;AARD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'right',\n resultLabel: 'CORRECT ANSWER',\n information: {\n label: 'Key learning factor',\n message:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n 'aria-label': 'next question button',\n 'data-name': 'next-question-button',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"right.js"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.default = void 0;
5
+ var _default = {
6
+ props: {
7
+ type: 'wrong',
8
+ resultLabel: 'WRONG ANSWER',
9
+ information: {
10
+ label: 'Correct Answer',
11
+ message: 'Corporate lawyers trying to understand software.'
12
+ },
13
+ klf: {
14
+ label: 'Key learning factor',
15
+ tooltip: '17 frustrated software engineers grappling with the complexities of software development.'
16
+ },
17
+ next: {
18
+ label: 'Next Question',
19
+ onClick: () => console.log('Next Question')
20
+ }
21
+ }
22
+ };
23
+ exports.default = _default;
24
+ //# sourceMappingURL=wrong.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/molecule/review-correction-popin/test/fixtures/wrong.js"],"names":["props","type","resultLabel","information","label","message","klf","tooltip","next","onClick","console","log"],"mappings":";;;;eAAe;AACbA,EAAAA,KAAK,EAAE;AACLC,IAAAA,IAAI,EAAE,OADD;AAELC,IAAAA,WAAW,EAAE,cAFR;AAGLC,IAAAA,WAAW,EAAE;AACXC,MAAAA,KAAK,EAAE,gBADI;AAEXC,MAAAA,OAAO,EAAE;AAFE,KAHR;AAOLC,IAAAA,GAAG,EAAE;AACHF,MAAAA,KAAK,EAAE,qBADJ;AAEHG,MAAAA,OAAO,EACL;AAHC,KAPA;AAYLC,IAAAA,IAAI,EAAE;AACJJ,MAAAA,KAAK,EAAE,eADH;AAEJK,MAAAA,OAAO,EAAE,MAAMC,OAAO,CAACC,GAAR,CAAY,eAAZ;AAFX;AAZD;AADM,C","sourcesContent":["export default {\n props: {\n type: 'wrong',\n resultLabel: 'WRONG ANSWER',\n information: {\n label: 'Correct Answer',\n message: 'Corporate lawyers trying to understand software.'\n },\n klf: {\n label: 'Key learning factor',\n tooltip:\n '17 frustrated software engineers grappling with the complexities of software development.'\n },\n next: {\n label: 'Next Question',\n onClick: () => console.log('Next Question')\n }\n }\n};\n"],"file":"wrong.js"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _right = _interopRequireDefault(require("./fixtures/right"));
12
+
13
+ var _wrong = _interopRequireDefault(require("./fixtures/wrong"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
+
17
+ (0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {
18
+ t.pass();
19
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
20
+ t.not(value, undefined, `PropType for "Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
21
+ });
22
+ });
23
+ (0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', _renderComponent.default, _.default, _right.default);
24
+ (0, _ava.default)('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', _renderComponent.default, _.default, _wrong.default);
25
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/review-correction-popin/test/fixtures.js"],"names":["t","pass","MoleculeReviewCorrectionPopin","propTypes","value","key","not","undefined","renderComponentMacro","fixtureRight","fixtureWrong"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,wEAAL,EAA+EA,CAAC,IAAI;AAClFA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAA8BC,SAAtC,EAAiD,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAC/DL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,kEAAiEF,GAAI,mEAA9F;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,uEAAL,EAA8EG,wBAA9E,EAAoGN,SAApG,EAAmIO,cAAnI;AACA,kBAAK,uEAAL,EAA8ED,wBAA9E,EAAoGN,SAApG,EAAmIQ,cAAnI","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeReviewCorrectionPopin from '..';\nimport fixtureRight from './fixtures/right';\nimport fixtureWrong from './fixtures/wrong';\n\ntest('Molecule › MoleculeReviewCorrectionPopin > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeReviewCorrectionPopin.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeReviewCorrectionPopin.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeReviewCorrectionPopin › Right › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureRight);\ntest('Molecule › MoleculeReviewCorrectionPopin › Wrong › should be rendered', renderComponentMacro, MoleculeReviewCorrectionPopin, fixtureWrong);\n"],"file":"fixtures.js"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ var _ava = _interopRequireDefault(require("ava"));
4
+
5
+ var _forEach = _interopRequireDefault(require("lodash/forEach"));
6
+
7
+ var _renderComponent = _interopRequireDefault(require("../../../test/helpers/render-component"));
8
+
9
+ var _ = _interopRequireDefault(require(".."));
10
+
11
+ var _default = _interopRequireDefault(require("./fixtures/default"));
12
+
13
+ var _withValue = _interopRequireDefault(require("./fixtures/with-value"));
14
+
15
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
16
+
17
+ (0, _ava.default)('Molecule › MoleculeSearch > should have valid propTypes', t => {
18
+ t.pass();
19
+ (0, _forEach.default)(_.default.propTypes, (value, key) => {
20
+ t.not(value, undefined, `PropType for "Molecule.MoleculeSearch.propTypes.${key}" may not be undefined. Did you mistype the propTypes definition?`);
21
+ });
22
+ });
23
+ (0, _ava.default)('Molecule › MoleculeSearch › Default › should be rendered', _renderComponent.default, _.default, _default.default);
24
+ (0, _ava.default)('Molecule › MoleculeSearch › WithValue › should be rendered', _renderComponent.default, _.default, _withValue.default);
25
+ //# sourceMappingURL=fixtures.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/molecule/search/test/fixtures.js"],"names":["t","pass","MoleculeSearch","propTypes","value","key","not","undefined","renderComponentMacro","fixtureDefault","fixtureWithValue"],"mappings":";;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,kBAAK,yDAAL,EAAgEA,CAAC,IAAI;AACnEA,EAAAA,CAAC,CAACC,IAAF;AACA,wBAAQC,UAAeC,SAAvB,EAAkC,CAACC,KAAD,EAAQC,GAAR,KAAgB;AAChDL,IAAAA,CAAC,CAACM,GAAF,CAAMF,KAAN,EAAaG,SAAb,EAAyB,mDAAkDF,GAAI,mEAA/E;AACD,GAFD;AAGD,CALD;AAOA,kBAAK,0DAAL,EAAiEG,wBAAjE,EAAuFN,SAAvF,EAAuGO,gBAAvG;AACA,kBAAK,4DAAL,EAAmED,wBAAnE,EAAyFN,SAAzF,EAAyGQ,kBAAzG","sourcesContent":["import test from 'ava';\nimport forEach from 'lodash/forEach';\nimport renderComponentMacro from '../../../test/helpers/render-component';\nimport MoleculeSearch from '..';\nimport fixtureDefault from './fixtures/default';\nimport fixtureWithValue from './fixtures/with-value';\n\ntest('Molecule › MoleculeSearch > should have valid propTypes', t => {\n t.pass();\n forEach(MoleculeSearch.propTypes, (value, key) => {\n t.not(value, undefined, `PropType for \"Molecule.MoleculeSearch.propTypes.${key}\" may not be undefined. Did you mistype the propTypes definition?`);\n });\n});\n\ntest('Molecule › MoleculeSearch › Default › should be rendered', renderComponentMacro, MoleculeSearch, fixtureDefault);\ntest('Molecule › MoleculeSearch › WithValue › should be rendered', renderComponentMacro, MoleculeSearch, fixtureWithValue);\n"],"file":"fixtures.js"}
@@ -26,7 +26,7 @@ const ListItems = ({
26
26
  const itemsView = items.map((item, index) => /*#__PURE__*/_react.default.createElement("li", {
27
27
  key: item.id,
28
28
  className: _style.default.item,
29
- "data-name": `custom-playlist-${index}`
29
+ "data-name": `content-${index}`
30
30
  }, /*#__PURE__*/_react.default.createElement(_listItem.default, item)));
31
31
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
32
32
  className: _style.default.header
@@ -41,7 +41,7 @@ const ListItems = ({
41
41
  }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, buttonLink))), /*#__PURE__*/_react.default.createElement("ul", {
42
42
  className: _style.default.list,
43
43
  "aria-label": ariaLabel,
44
- "data-name": 'custom-playlist-list'
44
+ "data-name": 'content-list'
45
45
  }, itemsView));
46
46
  };
47
47
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,mBAAkBC,KAAM;AAA7E,kBACE,6BAAC,iBAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEG,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAMT;AAAtB,kBACE,6BAAC,cAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAES,eAAME;AAAtB,kBACE,6BAAC,mBAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEQ,eAAMG,IAArB;AAA2B,kBAAYT,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACc,SAAV,2CAAsB;AACpB,gBAAcC,mBAAUC,MADJ;AAEpBd,EAAAA,UAAU,EAAEa,mBAAUE,KAAV,CAAgBC,oBAAWJ,SAA3B,CAFQ;AAGpBX,EAAAA,KAAK,EAAEY,mBAAUI,OAAV,CAAkBJ,mBAAUE,KAAV,CAAgBG,kBAASN,SAAzB,CAAlB,CAHa;AAIpBb,EAAAA,KAAK,EAAEc,mBAAUC;AAJG,CAAtB;eAOehB,S","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`custom-playlist-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'custom-playlist-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../src/organism/list-items/index.js"],"names":["ListItems","title","buttonLink","items","ariaLabel","itemsView","map","item","index","id","style","header","buttonCreate","list","propTypes","PropTypes","string","shape","ButtonLink","arrayOf","ListItem"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;AAEA,MAAMA,SAAS,GAAG,CAAC;AAACC,EAAAA,KAAD;AAAQC,EAAAA,UAAR;AAAoBC,EAAAA,KAApB;AAA2B,gBAAcC;AAAzC,CAAD,KAAyD;AACzE,QAAMC,SAAS,GAAGF,KAAK,CAACG,GAAN,CAAU,CAACC,IAAD,EAAOC,KAAP,kBAC1B;AAAI,IAAA,GAAG,EAAED,IAAI,CAACE,EAAd;AAAkB,IAAA,SAAS,EAAEC,eAAMH,IAAnC;AAAyC,iBAAY,WAAUC,KAAM;AAArE,kBACE,6BAAC,iBAAD,EAAcD,IAAd,CADF,CADgB,CAAlB;AAMA,sBACE,uDACE;AAAK,IAAA,SAAS,EAAEG,eAAMC;AAAtB,kBACE;AAAK,IAAA,SAAS,EAAED,eAAMT;AAAtB,kBACE,6BAAC,cAAD;AAAO,IAAA,KAAK,EAAEA,KAAd;AAAqB,IAAA,IAAI,EAAE,YAA3B;AAAyC,iBAAW;AAApD,IADF,CADF,eAIE;AAAK,IAAA,SAAS,EAAES,eAAME;AAAtB,kBACE,6BAAC,mBAAD,EAAgBV,UAAhB,CADF,CAJF,CADF,eASE;AAAI,IAAA,SAAS,EAAEQ,eAAMG,IAArB;AAA2B,kBAAYT,SAAvC;AAAkD,iBAAW;AAA7D,KACGC,SADH,CATF,CADF;AAeD,CAtBD;;AAwBAL,SAAS,CAACc,SAAV,2CAAsB;AACpB,gBAAcC,mBAAUC,MADJ;AAEpBd,EAAAA,UAAU,EAAEa,mBAAUE,KAAV,CAAgBC,oBAAWJ,SAA3B,CAFQ;AAGpBX,EAAAA,KAAK,EAAEY,mBAAUI,OAAV,CAAkBJ,mBAAUE,KAAV,CAAgBG,kBAASN,SAAzB,CAAlB,CAHa;AAIpBb,EAAAA,KAAK,EAAEc,mBAAUC;AAJG,CAAtB;eAOehB,S","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport style from './style.css';\n\nconst ListItems = ({title, buttonLink, items, 'aria-label': ariaLabel}) => {\n const itemsView = items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} />\n </li>\n ));\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n <ul className={style.list} aria-label={ariaLabel} data-name={'content-list'}>\n {itemsView}\n </ul>\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"file":"index.js"}
@@ -49,7 +49,7 @@ const buildHeader = (wizardHeader, steps) => {
49
49
  className: _style.default.header
50
50
  }, /*#__PURE__*/_react.default.createElement(_buttonLinkIconOnly.default, buttonCloseIcon), /*#__PURE__*/_react.default.createElement("div", {
51
51
  className: _style.default.headerTitle,
52
- "data-name": 'custom-playlist-title'
52
+ "data-name": 'content-title'
53
53
  }, title)), /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
54
54
  steps: steps
55
55
  }));
@@ -139,7 +139,7 @@ const WizardContents = props => {
139
139
  const footerActionView = buildActionZone(previousStep, nextStep, 'footer');
140
140
  return /*#__PURE__*/_react.default.createElement("div", {
141
141
  className: _style.default.container,
142
- "data-name": "custom-playlist-summary"
142
+ "data-name": "content-summary"
143
143
  }, /*#__PURE__*/_react.default.createElement("div", {
144
144
  className: _style.default.leftSection
145
145
  }, headerView, /*#__PURE__*/_react.default.createElement("div", {