@micromag/screen-ranking 0.2.401 → 0.2.406
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.
- package/es/index.js +19 -15
- package/lib/index.js +19 -15
- package/package.json +12 -12
package/es/index.js
CHANGED
|
@@ -31,6 +31,7 @@ var propTypes = {
|
|
|
31
31
|
background: PropTypes$1.backgroundElement,
|
|
32
32
|
callToAction: PropTypes$1.callToAction,
|
|
33
33
|
current: PropTypes.bool,
|
|
34
|
+
active: PropTypes.bool,
|
|
34
35
|
transitions: PropTypes$1.transitions,
|
|
35
36
|
transitionStagger: PropTypes.number,
|
|
36
37
|
type: PropTypes.string,
|
|
@@ -45,6 +46,7 @@ var defaultProps = {
|
|
|
45
46
|
background: null,
|
|
46
47
|
callToAction: null,
|
|
47
48
|
current: true,
|
|
49
|
+
active: true,
|
|
48
50
|
transitions: null,
|
|
49
51
|
transitionStagger: 75,
|
|
50
52
|
type: null,
|
|
@@ -62,6 +64,7 @@ var RankingScreen = function RankingScreen(_ref) {
|
|
|
62
64
|
background = _ref.background,
|
|
63
65
|
callToAction = _ref.callToAction,
|
|
64
66
|
current = _ref.current,
|
|
67
|
+
active = _ref.active,
|
|
65
68
|
transitions = _ref.transitions,
|
|
66
69
|
transitionStagger = _ref.transitionStagger,
|
|
67
70
|
type = _ref.type,
|
|
@@ -202,7 +205,8 @@ var RankingScreen = function RankingScreen(_ref) {
|
|
|
202
205
|
background: background,
|
|
203
206
|
width: width,
|
|
204
207
|
height: height,
|
|
205
|
-
playing: backgroundPlaying
|
|
208
|
+
playing: backgroundPlaying,
|
|
209
|
+
shouldLoad: current || active
|
|
206
210
|
}) : null, /*#__PURE__*/React.createElement(Container, {
|
|
207
211
|
width: width,
|
|
208
212
|
height: height
|
|
@@ -286,8 +290,8 @@ var definition = {
|
|
|
286
290
|
type: 'screen',
|
|
287
291
|
group: {
|
|
288
292
|
label: defineMessage({
|
|
289
|
-
|
|
290
|
-
|
|
293
|
+
id: "cGItoy",
|
|
294
|
+
defaultMessage: [{
|
|
291
295
|
"type": 0,
|
|
292
296
|
"value": "List"
|
|
293
297
|
}]
|
|
@@ -295,8 +299,8 @@ var definition = {
|
|
|
295
299
|
order: 8
|
|
296
300
|
},
|
|
297
301
|
title: defineMessage({
|
|
298
|
-
|
|
299
|
-
|
|
302
|
+
id: "17BMn2",
|
|
303
|
+
defaultMessage: [{
|
|
300
304
|
"type": 0,
|
|
301
305
|
"value": "Ranking"
|
|
302
306
|
}]
|
|
@@ -309,8 +313,8 @@ var definition = {
|
|
|
309
313
|
type: 'screen-layout',
|
|
310
314
|
defaultValue: 'side',
|
|
311
315
|
label: defineMessage({
|
|
312
|
-
|
|
313
|
-
|
|
316
|
+
id: "4iBXj2",
|
|
317
|
+
defaultMessage: [{
|
|
314
318
|
"type": 0,
|
|
315
319
|
"value": "Layout"
|
|
316
320
|
}]
|
|
@@ -327,8 +331,8 @@ var definition = {
|
|
|
327
331
|
}
|
|
328
332
|
},
|
|
329
333
|
label: defineMessage({
|
|
330
|
-
|
|
331
|
-
|
|
334
|
+
id: "sESmah",
|
|
335
|
+
defaultMessage: [{
|
|
332
336
|
"type": 0,
|
|
333
337
|
"value": "Entries"
|
|
334
338
|
}]
|
|
@@ -337,8 +341,8 @@ var definition = {
|
|
|
337
341
|
name: 'ascending',
|
|
338
342
|
type: 'toggle',
|
|
339
343
|
label: defineMessage({
|
|
340
|
-
|
|
341
|
-
|
|
344
|
+
id: "9DhYaZ",
|
|
345
|
+
defaultMessage: [{
|
|
342
346
|
"type": 0,
|
|
343
347
|
"value": "Ascending"
|
|
344
348
|
}]
|
|
@@ -350,8 +354,8 @@ var definition = {
|
|
|
350
354
|
textStyle: 'heading1'
|
|
351
355
|
},
|
|
352
356
|
label: defineMessage({
|
|
353
|
-
|
|
354
|
-
|
|
357
|
+
id: "UdrdRF",
|
|
358
|
+
defaultMessage: [{
|
|
355
359
|
"type": 0,
|
|
356
360
|
"value": "Numbers style"
|
|
357
361
|
}]
|
|
@@ -360,8 +364,8 @@ var definition = {
|
|
|
360
364
|
name: 'background',
|
|
361
365
|
type: 'background',
|
|
362
366
|
label: defineMessage({
|
|
363
|
-
|
|
364
|
-
|
|
367
|
+
id: "+MPZRu",
|
|
368
|
+
defaultMessage: [{
|
|
365
369
|
"type": 0,
|
|
366
370
|
"value": "Background"
|
|
367
371
|
}]
|
package/lib/index.js
CHANGED
|
@@ -52,6 +52,7 @@ var propTypes = {
|
|
|
52
52
|
background: core.PropTypes.backgroundElement,
|
|
53
53
|
callToAction: core.PropTypes.callToAction,
|
|
54
54
|
current: PropTypes__default["default"].bool,
|
|
55
|
+
active: PropTypes__default["default"].bool,
|
|
55
56
|
transitions: core.PropTypes.transitions,
|
|
56
57
|
transitionStagger: PropTypes__default["default"].number,
|
|
57
58
|
type: PropTypes__default["default"].string,
|
|
@@ -66,6 +67,7 @@ var defaultProps = {
|
|
|
66
67
|
background: null,
|
|
67
68
|
callToAction: null,
|
|
68
69
|
current: true,
|
|
70
|
+
active: true,
|
|
69
71
|
transitions: null,
|
|
70
72
|
transitionStagger: 75,
|
|
71
73
|
type: null,
|
|
@@ -83,6 +85,7 @@ var RankingScreen = function RankingScreen(_ref) {
|
|
|
83
85
|
background = _ref.background,
|
|
84
86
|
callToAction = _ref.callToAction,
|
|
85
87
|
current = _ref.current,
|
|
88
|
+
active = _ref.active,
|
|
86
89
|
transitions = _ref.transitions,
|
|
87
90
|
transitionStagger = _ref.transitionStagger,
|
|
88
91
|
type = _ref.type,
|
|
@@ -223,7 +226,8 @@ var RankingScreen = function RankingScreen(_ref) {
|
|
|
223
226
|
background: background,
|
|
224
227
|
width: width,
|
|
225
228
|
height: height,
|
|
226
|
-
playing: backgroundPlaying
|
|
229
|
+
playing: backgroundPlaying,
|
|
230
|
+
shouldLoad: current || active
|
|
227
231
|
}) : null, /*#__PURE__*/React__default["default"].createElement(Container__default["default"], {
|
|
228
232
|
width: width,
|
|
229
233
|
height: height
|
|
@@ -307,8 +311,8 @@ var definition = {
|
|
|
307
311
|
type: 'screen',
|
|
308
312
|
group: {
|
|
309
313
|
label: reactIntl.defineMessage({
|
|
310
|
-
|
|
311
|
-
|
|
314
|
+
id: "cGItoy",
|
|
315
|
+
defaultMessage: [{
|
|
312
316
|
"type": 0,
|
|
313
317
|
"value": "List"
|
|
314
318
|
}]
|
|
@@ -316,8 +320,8 @@ var definition = {
|
|
|
316
320
|
order: 8
|
|
317
321
|
},
|
|
318
322
|
title: reactIntl.defineMessage({
|
|
319
|
-
|
|
320
|
-
|
|
323
|
+
id: "17BMn2",
|
|
324
|
+
defaultMessage: [{
|
|
321
325
|
"type": 0,
|
|
322
326
|
"value": "Ranking"
|
|
323
327
|
}]
|
|
@@ -330,8 +334,8 @@ var definition = {
|
|
|
330
334
|
type: 'screen-layout',
|
|
331
335
|
defaultValue: 'side',
|
|
332
336
|
label: reactIntl.defineMessage({
|
|
333
|
-
|
|
334
|
-
|
|
337
|
+
id: "4iBXj2",
|
|
338
|
+
defaultMessage: [{
|
|
335
339
|
"type": 0,
|
|
336
340
|
"value": "Layout"
|
|
337
341
|
}]
|
|
@@ -348,8 +352,8 @@ var definition = {
|
|
|
348
352
|
}
|
|
349
353
|
},
|
|
350
354
|
label: reactIntl.defineMessage({
|
|
351
|
-
|
|
352
|
-
|
|
355
|
+
id: "sESmah",
|
|
356
|
+
defaultMessage: [{
|
|
353
357
|
"type": 0,
|
|
354
358
|
"value": "Entries"
|
|
355
359
|
}]
|
|
@@ -358,8 +362,8 @@ var definition = {
|
|
|
358
362
|
name: 'ascending',
|
|
359
363
|
type: 'toggle',
|
|
360
364
|
label: reactIntl.defineMessage({
|
|
361
|
-
|
|
362
|
-
|
|
365
|
+
id: "9DhYaZ",
|
|
366
|
+
defaultMessage: [{
|
|
363
367
|
"type": 0,
|
|
364
368
|
"value": "Ascending"
|
|
365
369
|
}]
|
|
@@ -371,8 +375,8 @@ var definition = {
|
|
|
371
375
|
textStyle: 'heading1'
|
|
372
376
|
},
|
|
373
377
|
label: reactIntl.defineMessage({
|
|
374
|
-
|
|
375
|
-
|
|
378
|
+
id: "UdrdRF",
|
|
379
|
+
defaultMessage: [{
|
|
376
380
|
"type": 0,
|
|
377
381
|
"value": "Numbers style"
|
|
378
382
|
}]
|
|
@@ -381,8 +385,8 @@ var definition = {
|
|
|
381
385
|
name: 'background',
|
|
382
386
|
type: 'background',
|
|
383
387
|
label: reactIntl.defineMessage({
|
|
384
|
-
|
|
385
|
-
|
|
388
|
+
id: "+MPZRu",
|
|
389
|
+
defaultMessage: [{
|
|
386
390
|
"type": 0,
|
|
387
391
|
"value": "Background"
|
|
388
392
|
}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-ranking",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.406",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -49,16 +49,16 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
|
-
"@micromag/core": "^0.2.
|
|
53
|
-
"@micromag/data": "^0.2.
|
|
54
|
-
"@micromag/element-background": "^0.2.
|
|
55
|
-
"@micromag/element-call-to-action": "^0.2.
|
|
56
|
-
"@micromag/element-container": "^0.2.
|
|
57
|
-
"@micromag/element-heading": "^0.2.
|
|
58
|
-
"@micromag/element-layout": "^0.2.
|
|
59
|
-
"@micromag/element-scroll": "^0.2.
|
|
60
|
-
"@micromag/element-text": "^0.2.
|
|
61
|
-
"@micromag/transforms": "^0.2.
|
|
52
|
+
"@micromag/core": "^0.2.405",
|
|
53
|
+
"@micromag/data": "^0.2.405",
|
|
54
|
+
"@micromag/element-background": "^0.2.406",
|
|
55
|
+
"@micromag/element-call-to-action": "^0.2.405",
|
|
56
|
+
"@micromag/element-container": "^0.2.405",
|
|
57
|
+
"@micromag/element-heading": "^0.2.405",
|
|
58
|
+
"@micromag/element-layout": "^0.2.405",
|
|
59
|
+
"@micromag/element-scroll": "^0.2.405",
|
|
60
|
+
"@micromag/element-text": "^0.2.405",
|
|
61
|
+
"@micromag/transforms": "^0.2.405",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "5e1a6de73674624b0cb3f9701140ea8850e6f35e"
|
|
72
72
|
}
|