@everymatrix/casino-engagement-suite-tournament 1.46.0 → 1.46.1

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 (54) hide show
  1. package/dist/casino-engagement-suite-tournament/casino-engagement-suite-tournament.esm.js +1 -1
  2. package/dist/casino-engagement-suite-tournament/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-tournament/p-2dc46ff5.js +2 -0
  4. package/dist/casino-engagement-suite-tournament/{p-0f4e94ab.entry.js → p-e969a6a6.entry.js} +1 -1
  5. package/dist/casino-engagement-suite-tournament/p-ecf7465a.js +1 -0
  6. package/dist/cjs/casino-engagement-suite-progress-bar_3.cjs.entry.js +2 -2
  7. package/dist/cjs/casino-engagement-suite-tournament-81cbca40.js +733 -0
  8. package/dist/cjs/casino-engagement-suite-tournament.cjs.js +2 -2
  9. package/dist/cjs/{index-16d5d7c3.js → index-6f030cde.js} +28 -43
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.css +101 -68
  13. package/dist/collection/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.js +168 -313
  14. package/dist/collection/shared/GradientRoundedButton.js +1 -1
  15. package/dist/collection/shared/renderBar.js +2 -2
  16. package/dist/collection/shared/renders.dialog.js +49 -0
  17. package/dist/collection/shared/renders.js +8 -0
  18. package/dist/collection/shared/renders.page.js +117 -0
  19. package/dist/collection/shared/renders.tab.js +30 -0
  20. package/dist/collection/shared/renders.util.js +18 -0
  21. package/dist/collection/utils/api.apdater.js +2 -2
  22. package/dist/collection/utils/bussiness.js +38 -0
  23. package/dist/collection/utils/message.js +63 -0
  24. package/dist/collection/utils/translations.js +8 -9
  25. package/dist/collection/utils/types.js +5 -5
  26. package/dist/collection/utils/util.date.js +1 -1
  27. package/dist/collection/utils/utils.js +6 -2
  28. package/dist/esm/casino-engagement-suite-progress-bar_3.entry.js +2 -2
  29. package/dist/esm/casino-engagement-suite-tournament-65c77450.js +731 -0
  30. package/dist/esm/casino-engagement-suite-tournament.js +3 -3
  31. package/dist/esm/{index-3962add4.js → index-224e880a.js} +29 -43
  32. package/dist/esm/index.js +2 -2
  33. package/dist/esm/loader.js +3 -3
  34. package/dist/stencil.config.dev.js +2 -0
  35. package/dist/types/components/casino-engagement-suite-tournament/casino-engagement-suite-tournament.d.ts +27 -52
  36. package/dist/types/components.d.ts +16 -0
  37. package/dist/types/shared/GradientRoundedButton.d.ts +1 -1
  38. package/dist/types/shared/renderBar.d.ts +1 -1
  39. package/dist/types/shared/renders.d.ts +6 -0
  40. package/dist/types/shared/renders.dialog.d.ts +2 -0
  41. package/dist/types/shared/renders.page.d.ts +2 -0
  42. package/dist/types/shared/renders.tab.d.ts +3 -0
  43. package/dist/types/shared/renders.util.d.ts +2 -0
  44. package/dist/types/utils/api.apdater.d.ts +1 -1
  45. package/dist/types/utils/bussiness.d.ts +32 -0
  46. package/dist/types/utils/message.d.ts +17 -0
  47. package/dist/types/utils/translations.d.ts +8 -9
  48. package/dist/types/utils/types.d.ts +14 -5
  49. package/dist/types/utils/utils.d.ts +1 -0
  50. package/package.json +1 -1
  51. package/dist/casino-engagement-suite-tournament/p-1bf11325.js +0 -2
  52. package/dist/casino-engagement-suite-tournament/p-5df3ac81.js +0 -1
  53. package/dist/cjs/casino-engagement-suite-tournament-1b738bb2.js +0 -560
  54. package/dist/esm/casino-engagement-suite-tournament-d8471680.js +0 -558
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-16d5d7c3.js');
5
+ const index = require('./index-6f030cde.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["casino-engagement-suite-progress-bar_3.cjs",[[1,"casino-engagement-suite-tournament",{"language":[1],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"leaderboardsInit":[16],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isActionJoinPending":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"time":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
22
+ return index.bootstrapLazy([["casino-engagement-suite-progress-bar_3.cjs",[[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"leaderboardsInit":[16],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isActionJoinPending":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"time":[32],"newIdList":[32]},[[8,"message","handleEvent"]],{"newIdList":["checkNewIdList"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'casino-engagement-suite-tournament';
24
- const BUILD = /* casino-engagement-suite-tournament */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: false };
24
+ const BUILD = /* casino-engagement-suite-tournament */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.20.0 | MIT Licensed | https://stenciljs.com
@@ -286,13 +286,6 @@ var h = (nodeName, vnodeData, ...children) => {
286
286
  }
287
287
  }
288
288
  }
289
- if (typeof nodeName === "function") {
290
- return nodeName(
291
- vnodeData === null ? {} : vnodeData,
292
- vNodeChildren,
293
- vdomFnUtils
294
- );
295
- }
296
289
  const vnode = newVNode(nodeName, null);
297
290
  vnode.$attrs$ = vnodeData;
298
291
  if (vNodeChildren.length > 0) {
@@ -327,36 +320,6 @@ var newVNode = (tag, text) => {
327
320
  };
328
321
  var Host = {};
329
322
  var isHost = (node) => node && node.$tag$ === Host;
330
- var vdomFnUtils = {
331
- forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
332
- map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)
333
- };
334
- var convertToPublic = (node) => ({
335
- vattrs: node.$attrs$,
336
- vchildren: node.$children$,
337
- vkey: node.$key$,
338
- vname: node.$name$,
339
- vtag: node.$tag$,
340
- vtext: node.$text$
341
- });
342
- var convertToPrivate = (node) => {
343
- if (typeof node.vtag === "function") {
344
- const vnodeData = { ...node.vattrs };
345
- if (node.vkey) {
346
- vnodeData.key = node.vkey;
347
- }
348
- if (node.vname) {
349
- vnodeData.name = node.vname;
350
- }
351
- return h(node.vtag, vnodeData, ...node.vchildren || []);
352
- }
353
- const vnode = newVNode(node.vtag, node.vtext);
354
- vnode.$attrs$ = node.vattrs;
355
- vnode.$children$ = node.vchildren;
356
- vnode.$key$ = node.vkey;
357
- vnode.$name$ = node.vname;
358
- return vnode;
359
- };
360
323
  var parsePropertyValue = (propValue, propType) => {
361
324
  if (propValue != null && !isComplexType(propValue)) {
362
325
  if (propType & 4 /* Boolean */) {
@@ -1245,6 +1208,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1245
1208
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`
1246
1209
  );
1247
1210
  }
1211
+ const elm = hostRef.$hostElement$ ;
1248
1212
  const oldVal = hostRef.$instanceValues$.get(propName);
1249
1213
  const flags = hostRef.$flags$;
1250
1214
  const instance = hostRef.$lazyInstance$ ;
@@ -1254,6 +1218,18 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1254
1218
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1255
1219
  hostRef.$instanceValues$.set(propName, newVal);
1256
1220
  if (instance) {
1221
+ if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1222
+ const watchMethods = cmpMeta.$watchers$[propName];
1223
+ if (watchMethods) {
1224
+ watchMethods.map((watchMethodName) => {
1225
+ try {
1226
+ instance[watchMethodName](newVal, oldVal, propName);
1227
+ } catch (e) {
1228
+ consoleError(e, elm);
1229
+ }
1230
+ });
1231
+ }
1232
+ }
1257
1233
  if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1258
1234
  scheduleUpdate(hostRef, false);
1259
1235
  }
@@ -1265,7 +1241,10 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1265
1241
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1266
1242
  var _a, _b;
1267
1243
  const prototype = Cstr.prototype;
1268
- if (cmpMeta.$members$ || BUILD.watchCallback ) {
1244
+ if (cmpMeta.$members$ || (cmpMeta.$watchers$ || Cstr.watchers)) {
1245
+ if (Cstr.watchers && !cmpMeta.$watchers$) {
1246
+ cmpMeta.$watchers$ = Cstr.watchers;
1247
+ }
1269
1248
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1270
1249
  members.map(([memberName, [memberFlags]]) => {
1271
1250
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
@@ -1348,6 +1327,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1348
1327
  throw new Error(`Constructor for "${cmpMeta.$tagName$}#${hostRef.$modeName$}" was not found`);
1349
1328
  }
1350
1329
  if (!Cstr.isProxied) {
1330
+ {
1331
+ cmpMeta.$watchers$ = Cstr.watchers;
1332
+ }
1351
1333
  proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
1352
1334
  Cstr.isProxied = true;
1353
1335
  }
@@ -1363,6 +1345,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1363
1345
  {
1364
1346
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1365
1347
  }
1348
+ {
1349
+ hostRef.$flags$ |= 128 /* isWatchReady */;
1350
+ }
1366
1351
  endNewInstance();
1367
1352
  fireConnectedCallback(hostRef.$lazyInstance$);
1368
1353
  } else {
@@ -1490,6 +1475,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1490
1475
  let hasSlotRelocation = false;
1491
1476
  lazyBundles.map((lazyBundle) => {
1492
1477
  lazyBundle[1].map((compactMeta) => {
1478
+ var _a2;
1493
1479
  const cmpMeta = {
1494
1480
  $flags$: compactMeta[0],
1495
1481
  $tagName$: compactMeta[1],
@@ -1508,6 +1494,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1508
1494
  {
1509
1495
  cmpMeta.$attrsToReflect$ = [];
1510
1496
  }
1497
+ {
1498
+ cmpMeta.$watchers$ = (_a2 = compactMeta[4]) != null ? _a2 : {};
1499
+ }
1511
1500
  const tagName = cmpMeta.$tagName$;
1512
1501
  const HostElement = class extends HTMLElement {
1513
1502
  // StencilLazyHost
@@ -1591,9 +1580,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1591
1580
  }
1592
1581
  endBootstrap();
1593
1582
  };
1594
-
1595
- // src/runtime/fragment.ts
1596
- var Fragment = (_, children) => children;
1597
1583
  var addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
1598
1584
  if (listeners) {
1599
1585
  listeners.map(([flags, name, method]) => {
@@ -1631,7 +1617,6 @@ var hostListenerOpts = (flags) => supportsListenerOptions ? {
1631
1617
  // src/runtime/nonce.ts
1632
1618
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1633
1619
 
1634
- exports.Fragment = Fragment;
1635
1620
  exports.Host = Host;
1636
1621
  exports.bootstrapLazy = bootstrapLazy;
1637
1622
  exports.createEvent = createEvent;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-1b738bb2.js');
6
- require('./index-16d5d7c3.js');
5
+ const casinoEngagementSuiteTournament = require('./casino-engagement-suite-tournament-81cbca40.js');
6
+ require('./index-6f030cde.js');
7
7
 
8
8
 
9
9
 
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-16d5d7c3.js');
5
+ const index = require('./index-6f030cde.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["casino-engagement-suite-progress-bar_3.cjs",[[1,"casino-engagement-suite-tournament",{"language":[1],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"leaderboardsInit":[16],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isActionJoinPending":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"time":[32]},[[8,"message","handleEvent"]]],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
11
+ return index.bootstrapLazy([["casino-engagement-suite-progress-bar_3.cjs",[[1,"casino-engagement-suite-tournament",{"language":[1],"show":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"device":[1],"leaderboardsInit":[16],"tab":[32],"locale":[32],"tournamentItem":[32],"tournamentList":[32],"leaderboards":[32],"isActionJoinPending":[32],"isDialogOpen":[32],"isShowInfo":[32],"page":[32],"tournamentInDialog":[32],"dialog":[32],"time":[32],"newIdList":[32]},[[8,"message","handleEvent"]],{"newIdList":["checkNewIdList"],"tournamentList":["syncBarState"],"show":["showPropWatcher"]}],[1,"casino-engagement-suite-progress-bar",{"value":[2],"disabled":[4],"hidePercent":[4,"hide-percent"],"indeterminate":[4],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"limitStylingAppends":[32]}],[4,"general-styling-wrapper",{"clientStyling":[1,"client-styling"],"clientStylingUrl":[1,"client-styling-url"],"translationUrl":[1,"translation-url"],"targetTranslations":[16]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -1,59 +1,3 @@
1
- .GradientRounded {
2
- display: block;
3
- background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
4
- color: rgba(30, 22, 56, 1);
5
-
6
- position: relative;
7
- border-radius: 16px;
8
-
9
- &.Hollow {
10
- background: rgba(30, 22, 56, 1);
11
- color: #FFFFFF;
12
- &::before {
13
- content: "";
14
- position: absolute;
15
- inset: 0;
16
- border-radius: 15px;
17
- border: 1px solid transparent;
18
- background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;
19
- -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
20
- mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
21
- -webkit-mask-composite: destination-out;
22
- mask-composite: exclude;
23
- }
24
-
25
- }
26
- }
27
-
28
- .GradientRoundedButton {
29
- border: none;
30
- padding: 7px;
31
-
32
- height: 32px;
33
- width: 100%;
34
-
35
- font-size: 14px;
36
- font-weight: 700;
37
- line-height: 17.07px;
38
- text-align: center;
39
-
40
- transition: .5s opacity;
41
-
42
- cursor: pointer;
43
- &.Pending {
44
- cursor: not-allowed;
45
- opacity: .3;
46
- }
47
-
48
- &.Hollow {
49
-
50
- span {
51
- background: -webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);
52
- -webkit-background-clip: text;
53
- -webkit-text-fill-color: transparent;
54
- }
55
- }
56
- }
57
1
  .Wrapper {
58
2
  height: 100%;
59
3
  position: relative;
@@ -61,8 +5,11 @@
61
5
  display: flex;
62
6
  background-color: var(--emw--color-background, hsl(254, 44%, 15%));
63
7
  flex-direction: column;
64
- border-radius: 8px;
65
- overflow: hidden;
8
+ border-radius: 24px;
9
+ overflow-y: auto;
10
+ }
11
+ .Wrapper.Mobile {
12
+ border-radius: 16px;
66
13
  }
67
14
 
68
15
  .WrapperContent {
@@ -73,20 +20,25 @@
73
20
  filter: brightness(53.3333333333%);
74
21
  }
75
22
 
23
+ .Wrapper.Mobile .WrapperBar {
24
+ padding: 20px 8px 8px;
25
+ }
26
+
76
27
  .WrapperBar {
77
28
  display: flex;
78
29
  width: 100%;
79
- padding: 12px 8px 8px;
30
+ padding: 32px 20px 20px;
80
31
  }
81
32
 
82
33
  .WrapperBarLeft, .WrapperBarRight {
83
34
  cursor: pointer;
35
+ z-index: 1;
84
36
  }
85
37
 
86
38
  .WrapperBarMiddle {
87
39
  flex-grow: 1;
88
40
  text-align: center;
89
- font-size: 16px;
41
+ font-size: var(--emw--font-size-medium, 16px);
90
42
  line-height: 16px;
91
43
  font-weight: 500;
92
44
  color: var(--emw--color-secondary, rgb(187, 185, 195));
@@ -94,7 +46,7 @@
94
46
 
95
47
  :host {
96
48
  display: block;
97
- font-size: 12px;
49
+ font-size: var(--emw--font-size-x-small, 12px);
98
50
  font-family: Inter;
99
51
  }
100
52
 
@@ -102,8 +54,12 @@
102
54
  margin: 24px 0;
103
55
  padding: 0 20px;
104
56
  }
57
+ .Row:first-child {
58
+ margin: 0;
59
+ }
105
60
 
106
61
  .LeaderboardsItem {
62
+ position: relative;
107
63
  margin: 10px 0;
108
64
  border: 1px solid rgb(64, 57, 86);
109
65
  border-radius: 16px;
@@ -111,6 +67,9 @@
111
67
  .LeaderboardsItem.Hollow {
112
68
  border-color: transparent;
113
69
  }
70
+ .LeaderboardsItem:first-child {
71
+ margin-top: 0;
72
+ }
114
73
 
115
74
  .LeaderboardsItemContainer {
116
75
  padding-top: 16px;
@@ -128,12 +87,12 @@
128
87
  .TimeContainer .Time {
129
88
  display: flex;
130
89
  justify-content: space-between;
131
- font-size: 11px;
90
+ font-size: var(--emw--font-size-x-small, 12px);
132
91
  align-items: center;
133
92
  color: var(--emw--color-secondary, rgb(187, 185, 195));
134
93
  }
135
94
  .TimeContainer .Time button {
136
- font-size: 12px;
95
+ font-size: var(--emw--font-size-x-small, 12px);
137
96
  height: 20px;
138
97
  padding: 0;
139
98
  }
@@ -178,7 +137,7 @@
178
137
  display: flex;
179
138
  justify-content: space-between;
180
139
  justify-content: start;
181
- font-size: 12px;
140
+ font-size: var(--emw--font-size-x-small, 12px);
182
141
  margin-bottom: -1px;
183
142
  }
184
143
  .Tabs > div {
@@ -192,7 +151,7 @@
192
151
  }
193
152
 
194
153
  .Title {
195
- font-size: 16px;
154
+ font-size: var(--emw--font-size-medium, 16px);
196
155
  font-weight: 700;
197
156
  line-height: 19.5px;
198
157
  text-align: left;
@@ -282,6 +241,34 @@
282
241
  color: var(--emw--color-primary, rgb(255, 214, 47));
283
242
  }
284
243
 
244
+ .LeaderboardLabels {
245
+ position: absolute;
246
+ top: -6px;
247
+ right: 18px;
248
+ display: flex;
249
+ gap: 4px;
250
+ }
251
+
252
+ .LeaderboardLabel {
253
+ width: 30px;
254
+ height: 15px;
255
+ background: var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));
256
+ border-radius: var(--emw--border-radius-x-small, 2px);
257
+ display: inline-flex;
258
+ padding: 0 2px;
259
+ align-items: center;
260
+ justify-content: center;
261
+ }
262
+ .LeaderboardLabel span {
263
+ display: inline-block;
264
+ text-transform: uppercase;
265
+ font-size: var(--emw--font-size-3x-small, 7px);
266
+ line-height: 7px;
267
+ font-weight: var(--emw--font-weight-bold, 700);
268
+ font-family: var(--emw--font-family-secondary, "Montserrat", sans-serif);
269
+ color: var(--emw--color-background, #1E1638);
270
+ }
271
+
285
272
  .Games {
286
273
  margin: 24px 0;
287
274
  padding: 0 20px;
@@ -322,7 +309,7 @@ dialog > div {
322
309
 
323
310
  .DialogContentUnjoinTitle {
324
311
  font-family: Montserrat;
325
- font-size: 20px;
312
+ font-size: var(--emw--font-size-large, 20px);
326
313
  font-weight: 600;
327
314
  line-height: 24.38px;
328
315
  text-align: center;
@@ -337,7 +324,7 @@ dialog > div {
337
324
  padding: 32px;
338
325
  padding-top: 10px;
339
326
  color: var(--emw--color-secondary, rgb(187, 185, 195));
340
- font-size: 14px;
327
+ font-size: var(--emw--font-size-small, 14px);
341
328
  }
342
329
 
343
330
  .PageConfirmContainer {
@@ -353,7 +340,7 @@ dialog > div {
353
340
  gap: 20px;
354
341
  }
355
342
  .PageConfirm .Title {
356
- font-size: 20px;
343
+ font-size: var(--emw--font-size-large, 20px);
357
344
  text-align: center;
358
345
  }
359
346
  .PageConfirm .Description {
@@ -371,4 +358,50 @@ dialog > div {
371
358
  display: flex;
372
359
  flex-direction: column;
373
360
  gap: 10px;
361
+ }
362
+
363
+ .GradientRounded {
364
+ display: block;
365
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%);
366
+ color: rgb(30, 22, 56);
367
+ position: relative;
368
+ border-radius: 16px;
369
+ }
370
+ .GradientRounded.Hollow {
371
+ background: rgb(30, 22, 56);
372
+ color: #FFFFFF;
373
+ }
374
+ .GradientRounded.Hollow::before {
375
+ content: "";
376
+ position: absolute;
377
+ inset: 0;
378
+ border-radius: 15px;
379
+ border: 1px solid transparent;
380
+ background: linear-gradient(98.25deg, #FF9400 22.48%, #FEF746 131.02%, #FFE24A 131.9%) border-box;
381
+ -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
382
+ mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
383
+ -webkit-mask-composite: destination-out;
384
+ mask-composite: exclude;
385
+ }
386
+
387
+ .GradientRoundedButton {
388
+ border: none;
389
+ padding: 7px;
390
+ height: 32px;
391
+ width: 100%;
392
+ font-size: var(--emw--font-size-small, 14px);
393
+ font-weight: 700;
394
+ line-height: 17.07px;
395
+ text-align: center;
396
+ transition: 0.5s opacity;
397
+ cursor: pointer;
398
+ }
399
+ .GradientRoundedButton.Pending {
400
+ cursor: not-allowed;
401
+ opacity: 0.3;
402
+ }
403
+ .GradientRoundedButton.Hollow span {
404
+ background: -webkit-linear-gradient(98.25deg, rgb(255, 148, 0) 22.48%, rgb(254, 247, 70) 131.02%, rgb(255, 226, 74) 131.9%);
405
+ -webkit-background-clip: text;
406
+ -webkit-text-fill-color: transparent;
374
407
  }