@coorpacademy/components 10.22.8 → 10.22.9

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 (69) hide show
  1. package/es/molecule/cm-popin/index.js +4 -2
  2. package/es/molecule/cm-popin/index.js.map +1 -1
  3. package/es/molecule/review-correction-popin/prop-types.js +0 -1
  4. package/es/molecule/review-correction-popin/prop-types.js.map +1 -1
  5. package/es/organism/review-congrats/style.css +1 -1
  6. package/es/organism/review-slide/index.js +184 -0
  7. package/es/organism/review-slide/index.js.map +1 -0
  8. package/es/organism/review-slide/prop-types.js +37 -0
  9. package/es/organism/review-slide/prop-types.js.map +1 -0
  10. package/es/organism/review-slide/style.css +171 -0
  11. package/es/organism/review-stacked-slides/index.js +81 -0
  12. package/es/organism/review-stacked-slides/index.js.map +1 -0
  13. package/es/organism/review-stacked-slides/prop-types.js +16 -0
  14. package/es/organism/review-stacked-slides/prop-types.js.map +1 -0
  15. package/es/organism/review-stacked-slides/style.css +179 -0
  16. package/es/template/app-review/index.js +7 -8
  17. package/es/template/app-review/index.js.map +1 -1
  18. package/es/template/app-review/index.native.js +6 -10
  19. package/es/template/app-review/index.native.js.map +1 -1
  20. package/es/template/app-review/player/index.js +36 -0
  21. package/es/template/app-review/player/index.js.map +1 -0
  22. package/es/template/app-review/{slides → player}/index.native.js +15 -13
  23. package/es/template/app-review/player/index.native.js.map +1 -0
  24. package/es/template/app-review/player/prop-types.js +12 -0
  25. package/es/template/app-review/player/prop-types.js.map +1 -0
  26. package/es/template/app-review/player/style.css +41 -0
  27. package/es/template/app-review/prop-types.js +3 -3
  28. package/es/template/app-review/prop-types.js.map +1 -1
  29. package/lib/molecule/cm-popin/index.js +4 -2
  30. package/lib/molecule/cm-popin/index.js.map +1 -1
  31. package/lib/molecule/review-correction-popin/prop-types.js +0 -1
  32. package/lib/molecule/review-correction-popin/prop-types.js.map +1 -1
  33. package/lib/organism/review-congrats/style.css +1 -1
  34. package/lib/organism/review-slide/index.js +206 -0
  35. package/lib/organism/review-slide/index.js.map +1 -0
  36. package/lib/organism/review-slide/prop-types.js +50 -0
  37. package/lib/organism/review-slide/prop-types.js.map +1 -0
  38. package/lib/organism/review-slide/style.css +171 -0
  39. package/lib/organism/review-stacked-slides/index.js +99 -0
  40. package/lib/organism/review-stacked-slides/index.js.map +1 -0
  41. package/lib/organism/review-stacked-slides/prop-types.js +30 -0
  42. package/lib/organism/review-stacked-slides/prop-types.js.map +1 -0
  43. package/lib/organism/review-stacked-slides/style.css +179 -0
  44. package/lib/template/app-review/index.js +6 -8
  45. package/lib/template/app-review/index.js.map +1 -1
  46. package/lib/template/app-review/index.native.js +6 -11
  47. package/lib/template/app-review/index.native.js.map +1 -1
  48. package/lib/template/app-review/player/index.js +51 -0
  49. package/lib/template/app-review/player/index.js.map +1 -0
  50. package/lib/template/app-review/{slides → player}/index.native.js +14 -12
  51. package/lib/template/app-review/player/index.native.js.map +1 -0
  52. package/lib/template/app-review/player/prop-types.js +25 -0
  53. package/lib/template/app-review/player/prop-types.js.map +1 -0
  54. package/lib/template/app-review/player/style.css +41 -0
  55. package/lib/template/app-review/prop-types.js +3 -3
  56. package/lib/template/app-review/prop-types.js.map +1 -1
  57. package/package.json +2 -2
  58. package/es/template/app-review/slides/index.js +0 -352
  59. package/es/template/app-review/slides/index.js.map +0 -1
  60. package/es/template/app-review/slides/index.native.js.map +0 -1
  61. package/es/template/app-review/slides/prop-types.js +0 -111
  62. package/es/template/app-review/slides/prop-types.js.map +0 -1
  63. package/es/template/app-review/slides/style.css +0 -409
  64. package/lib/template/app-review/slides/index.js +0 -385
  65. package/lib/template/app-review/slides/index.js.map +0 -1
  66. package/lib/template/app-review/slides/index.native.js.map +0 -1
  67. package/lib/template/app-review/slides/prop-types.js +0 -131
  68. package/lib/template/app-review/slides/prop-types.js.map +0 -1
  69. package/lib/template/app-review/slides/style.css +0 -409
@@ -1,409 +0,0 @@
1
- @value colors: "../../../variables/colors.css";
2
- @value black from colors;
3
- @value white from colors;
4
- @value cm_blue_900 from colors;
5
- @value cm_grey_400 from colors;
6
- @value breakpoints: "../../../variables/breakpoints.css";
7
- @value mobile from breakpoints;
8
- @value tablet from breakpoints;
9
-
10
- .slidesRevisionContainer {
11
- position: relative;
12
- display: flex;
13
- flex-direction: column;
14
- /* --- ie11 fallback --- */
15
- height: 100%;
16
- /* --------------------- */
17
- height: min-content;
18
- min-height: 832px;
19
- }
20
-
21
- /*
22
- mozilla specific styling
23
- - supports min-content but it calculates dynamic
24
- flex child height differently than chromium browsers
25
- */
26
- @supports (-moz-appearance:none) {
27
- div.slidesRevisionContainer {
28
- height: 100%;
29
- }
30
- }
31
-
32
- .fontBase {
33
- font-family: "Gilroy";
34
- user-select: none;
35
- }
36
-
37
- .stackedSlidesYAxisOverflowContainer {
38
- width: 100%;
39
- padding-top: 20px;
40
- height: 100%;
41
- min-height: 870px;
42
- /* --- ie11 fallback --- */
43
- overflow-y: hidden;
44
- /* --------------------- */
45
- overflow-y: clip;
46
- overflow-x: visible;
47
- display: flex;
48
- justify-content: center;
49
- flex-grow: 1;
50
- }
51
-
52
- .stackedSlidesContainer {
53
- position: relative;
54
- padding-top: 20px;
55
- height: 788px;
56
- max-width: 1240px;
57
- width: 85%;
58
- align-self: center;
59
- }
60
-
61
- .reviewHeaderContainer {
62
- width: 100%;
63
- }
64
-
65
- .congrats {
66
- width: 100%;
67
- height: 100%;
68
- min-height: 832px;
69
- position: absolute;
70
- }
71
-
72
- .playerBackground {
73
- position: absolute;
74
- display: block;
75
- height: 100%;
76
- min-height: 120vh;
77
- top: 0;
78
- left: 0;
79
- }
80
-
81
- .slideBase {
82
- box-shadow: 0px 4px 58px rgba(0, 0, 0, 0.05);
83
- background: white;
84
- height: 706px;
85
- border-radius: 24px;
86
- overflow: hidden;
87
- position: absolute;
88
-
89
- align-items: center;
90
- display: flex;
91
- flex-direction: column;
92
- justify-content: flex-start;
93
- transition: transform 0.5s ease-in;
94
- pointer-events: none;
95
- }
96
-
97
-
98
- .position0 {
99
- z-index: 50;
100
- width: 100%;
101
- transform: translate(0, 0);
102
- transition: transform 0.5s ease-in;
103
- }
104
-
105
- .slideBase.position0 {
106
- pointer-events: auto;
107
- }
108
-
109
- .position1 {
110
- z-index: 45;
111
- width: 98%;
112
- transform: translate(0.8%, -8px);
113
- transition: transform 0.5s ease-in;
114
- }
115
-
116
- .position2 {
117
- z-index: 40;
118
- width: 96%;
119
- transform: translate(1.6%, -16px);
120
- transition: transform 0.5s ease-in;
121
- }
122
-
123
- .position3 {
124
- z-index: 35;
125
- width: 94%;
126
- transform: translate(2.4%, -24px);
127
- transition: transform 0.5 ease-in;
128
- }
129
-
130
- .position4 {
131
- z-index: 30;
132
- width: 92%;
133
- transform: translate(3.2%, -32px);
134
- transition: transform 0.5 ease-in;
135
- }
136
-
137
- @keyframes slideOutHideAndSlideIn {
138
- 0% {
139
- width: 100%;
140
- z-index: 55;
141
- transform: translate(0, 0);
142
- }
143
- 50% {
144
- width: 100%;
145
- z-index: 50;
146
- transform: translate(0, 1000px);
147
- opacity: 1;
148
- }
149
- 51% {
150
- z-index: 30;
151
- opacity: 0;
152
- }
153
- 100% {
154
- z-index: 30;
155
- transform: translate(3.2%, -32px);
156
- opacity: 0;
157
- }
158
- }
159
-
160
- @keyframes slideOutAndIn {
161
- 0% {
162
- z-index: 55;
163
- transform: translate(0, 0);
164
- }
165
- 50% {
166
- width: 100%;
167
- z-index: 50;
168
- transform: translate(0, 1000px);
169
- }
170
- 60% {
171
- width: 92%;
172
- z-index: 30;
173
- transform: translate(3.2%, 900px);
174
- }
175
- 100% {
176
- z-index: 30;
177
- width: 92%;
178
- transform: translate(3.2%, -32px);
179
- }
180
- }
181
-
182
- .slideOutHideAndIn {
183
- pointer-events: none;
184
- animation: slideOutHideAndSlideIn 3s ease forwards;
185
- }
186
-
187
- .slideOutAndIn {
188
- pointer-events: none;
189
- animation: slideOutAndIn 3s ease forwards;
190
- }
191
-
192
- .hiddenSlide {
193
- display: none;
194
- }
195
-
196
-
197
- .slideContentContainer {
198
- margin-top: 15px;
199
- height: 563px;
200
- display: flex;
201
- justify-items: center;
202
- align-items: center;
203
- flex-direction: column;
204
- overflow-y: auto;
205
- position: relative;
206
- }
207
-
208
- /* ie fallback */
209
- _:-ms-fullscreen, :root .slideContentContainer {
210
- width: 100%;
211
- }
212
-
213
- .validateButtonWrapper {
214
- position: absolute;
215
- bottom: 64px;
216
- background-color: black;
217
- border-radius: 7px;
218
- min-width: 250px;
219
- width: min-content;
220
- }
221
-
222
- /* ie fallback */
223
- _:-ms-fullscreen, :root .validateButtonWrapper {
224
- width: 300px;
225
- left: 40%;
226
- right: 40%;
227
- }
228
-
229
- .answerContainer {
230
- width: 95%;
231
- display: flex;
232
- justify-content: center;
233
- height: 100%;
234
- /*
235
- To break wrappers layout (to enclose large answers in the scroll bar), works like
236
- display: contents for this use case but w ie11 support
237
- */
238
- display: grid;
239
- }
240
-
241
- .question {
242
- composes: fontBase;
243
- font-size: 20px;
244
- font-weight: bold;
245
- color: cm_blue_900;
246
- text-align: center;
247
- margin: 24px 0 4px;
248
- max-width: 70%;
249
- width: 100%;
250
- padding: 0 9px;
251
- box-sizing: border-box;
252
- }
253
-
254
- .questionOrigin {
255
- composes: fontBase;
256
- font-size: 15px;
257
- color: cm_blue_900;
258
- margin-top: 49px;
259
- text-align: center;
260
- }
261
-
262
- .questionOrigin:empty:after {
263
- content: "\a0";
264
- }
265
-
266
- .help {
267
- composes: fontBase;
268
- font-size: 15px;
269
- color: cm_grey_400;
270
- flex-grow: 0.1;
271
- margin: 4px 0 10px;
272
- text-align: center;
273
- max-width: 70%;
274
- width: 100%;
275
- }
276
-
277
- /* to keep the content space even if the help label is empty */
278
- .help:empty:after {
279
- content: "\a0";
280
- }
281
-
282
- @keyframes popInAnimation {
283
- from {
284
- transform: translate3d(0, 200px, 0);
285
- }
286
- to {
287
- transform: translate3d(0, -40px, 0);
288
- }
289
- }
290
-
291
- .correctionPopinWrapper {
292
- position: absolute;
293
- bottom: 0px;
294
- border-radius: 7px;
295
- margin: 0 15px;
296
- width: 95%;
297
- animation: popInAnimation 0.5s ease-out forwards;
298
- }
299
-
300
- /* ie fallback */
301
- _:-ms-fullscreen, :root .correctionPopinWrapper {
302
- left: 15px;
303
- }
304
-
305
- @keyframes popOutAnimation {
306
- from {
307
- transform: translate3d(0, -40px, 0);
308
- }
309
- to {
310
- transform: translate3d(0, 200px, 0);
311
- }
312
- }
313
-
314
- .hiddenCorrectionPopinWrapper {
315
- composes: correctionPopinWrapper;
316
- animation: popOutAnimation 0.5s ease-out forwards;
317
- }
318
-
319
- .validateButton {
320
- color: white;
321
- transition: opacity 0.25s ease-in;
322
- }
323
-
324
- .validateButton:hover {
325
- opacity: 0.8;
326
- }
327
-
328
- @keyframes slideOut {
329
- 0% {}
330
- 90% {
331
- transform: translate(0, 1000px);
332
- }
333
- 100% {
334
- transform: scale(0);
335
- }
336
- }
337
-
338
- .endReview {
339
- pointer-events: none;
340
- animation: slideOut 2.5s ease forwards;
341
- }
342
-
343
- @media tablet {
344
- .stackedSlidesContainer {
345
- height: 638px;
346
- max-width: 960px;
347
- }
348
-
349
- .slideBase {
350
- height: 606px;
351
- }
352
-
353
- .slideContentContainer {
354
- height: 473px;
355
- }
356
-
357
-
358
- @keyframes popInAnimation {
359
- from {
360
- transform: translate3d(0, 400px, 0);
361
- }
362
- to {
363
- transform: translate3d(0, -40px, 0);
364
- }
365
- }
366
-
367
- @keyframes popOutAnimation {
368
- from {
369
- transform: translate3d(0, -40px, 0);
370
- }
371
- to {
372
- transform: translate3d(0, 400px, 0);
373
- }
374
- }
375
- }
376
-
377
- @media mobile {
378
- .stackedSlidesContainer {
379
- height: 670px;
380
- max-width: 335px;
381
- }
382
-
383
- .slideBase {
384
- height: 654px;
385
- }
386
-
387
- .slideContentContainer {
388
- height: 511px;
389
- }
390
-
391
-
392
- @keyframes popInAnimation {
393
- from {
394
- transform: translate3d(0, 500px, 0);
395
- }
396
- to {
397
- transform: translate3d(0, -40px, 0);
398
- }
399
- }
400
-
401
- @keyframes popOutAnimation {
402
- from {
403
- transform: translate3d(0, -40px, 0);
404
- }
405
- to {
406
- transform: translate3d(0, 500px, 0);
407
- }
408
- }
409
- }